« first day (1490 days earlier)      last day (3463 days later) » 

4:00 PM
the files on your disk would have the most latest version, it would be the branches and backhistory stored in the hidden folder
 
@Basj Sort of
Git has 3 "areas" where your files are kept (in a normal repository)
 
@SecondRikudo 2 I would understand, but why 3 ?
 
There's the working copy, there's what's called "the index" (which you add files to using git add), and theres "the repository", which you add things to with git commit
 
I'll try to see how it works
Windows users of git, would you use : git-scm.com/download/win ?
 
I just use Git-Bash when I code on Windows
 
4:02 PM
I'm using linux, but go with git bashh
 
@Basj Yes. That's one of the first things I install on new boxes.
 
It's the simplest.
 
@Basj what's wrong with the command line?
 
real shell on windows <3
 
@SomeGuy same.
 
4:03 PM
I just bash git.
 
I also use git bash on windows
 
If you want to get serious, conemu + git bash is a surprisingly useful env on windows.
 
PowerShell is actually very powerful, it runs on the CLR. It will run circles around bash. It's kind of like the Haskell of shells, it's very powerful in theory but no one actually uses it since everyone knows bash already and bash gets things done anyway.
 
it's my goto terminal as well
 
@BenjaminGruenbaum Powershell is too practical, we can't use it.
 
4:04 PM
Why?
 
I'll play with this!
Thanks everybody!
 
Bash is awful
 
It's thought out, reasonably designed, well documented, enterprise supported, and generally works.
 
I want to use ipython
 
That makes it completely unusable in any real life situations.
 
4:06 PM
@Basj Uh, if you're like, new, and not into command line, and on Windows, why not use GitHub's Git GUI?
 
@RoelvanUden Didn't like the look of it, too complex
 
Too.. complex? Really? How did that happen? I always think its too simplistic.
 
It reminds me of Visual Studio / Visual C++ : it wants to be good-looking, with GUI, etc. and at the end there are too many menus, etc.
I'd prefer command-line
@RoelvanUden maybe I'm speaking about something else, I don't remember
 
@Basj I was referring to this windows.github.com.
 
but I remember to have tester a GitHub GUI client some months ago, and did not like it
 
4:08 PM
@copy I do most of my scripting in Python anyway.
 
But preferring command line is just fine, if that's your thing. But since you were confused earlier, this GUI is, IMHO, a very gentle introduction into the world of Git
 
@RoelvanUden maybe I tried something else in the past
 
@BenjaminGruenbaum Same here
 
I'll have a try! Thanks everyone!
 
@SomeGuy That's pretty cool
 
4:09 PM
@SecondRikudo Thanks :D
I'm really excited about it
 
Canvas?
 
I like command line because I can type what I want, and get it, which is better IMO then scrolling through countless menus and icons, and spotting the one I want.
 
@SecondRikudo Yep
 
@SomeGuy Is the code available somewhere?
 
4:11 PM
Awesome
 
I'm still working on it, so it should look cooler when I'm done
 
I still need to understand the basics of canvas and the 2d context
I think it's an insanely powerful tool that I still don't have a grasp on.
 
@SecondRikudo It totally is.
It doesn't offer much in the way of batching yet, though, which is a little unusual.
 
Yeah, it is. And it's super simple too!
 
There are a few libs that provide a scenegraph on top of it, which is usually what you want for anything complex.
 
4:15 PM
@ssube I prefer learning the basics first, before attempting anything with a framework
I like to understand what a framework abstracts and what problems it tries to solve before using it.
 
@SecondRikudo Raw gfx vs scenegraphs are almost two completely different disciplines.
 
@SomeGuy Does the canvas clear itself on every frame, and you have to redraw?
 
(i.e., you won't miss much learning both simultaneously)
 
I clear it and then redraw
It doesn't clear itself
 
Ah yes, I see that you clear it manually on each loop
 
4:17 PM
If you want to get into using canvas, start with something like Pong
 
@SecondRikudo Have you checked out the canvas cheatsheet?
 
Super simple and you get familiar with the basics
 
I haven't, thanks!
 
Canvas is super fun to mess around with once you get the basics
 
@SomeGuy I think I'll do that
 
4:18 PM
Pong, side-scrolling animations (or side-scrolling platformers), and the like are great for playing with it.
 
jump right into procedural graphics!
 
Parallax or click-and-drag are also interesting.
@rlemon fractals ftw
 
@SecondRikudo Add Breakout to the list too
Another really simple game to make
 
kaboom
 
or if you want too much fun, you can write a raytracer with it: typescriptlang.org/Sample/raytracer/raytracer.html
 
4:20 PM
Its weird when I hear people talk about learning canvas, its more about learning/using js imo
 
well, there is the API
 
There isn't much to the Canvas API, but when beginning, you do have to get through that
 
but yea, it's more about the concepts of animation / game dev imo
 
@Loktar Getting good performance from a drawing API is a thing unto itself.
 
methinks it's just a matter of visualising the data you have on the canvas i.e. simply learning the API
 
4:21 PM
@rlemon yeah I agree
 
I haven't dealt with math and trigonometry in a long time, so I need to brush up on that
 
it's a good refersher
read @Loktar's blog
LOTS of good tips on canvas stuff
 
Yeah, @Loktar's blog is great
 
Link?
 
blushes
 
lol its got some random shit on it
 
Hahaha
 
o/
 
4:22 PM
That was too perfect
 
@Loktar's blog cured my loneliness
It also saved my friend from TB
 
yeah I remember when I half assed the TB curing script
had that crazy bug that accidently gave a small % HIV
 
jQuery.cure('TB');
 
I want to bear/bare @Loktar's future children
 
kills himself by driving a steak into his heart
 
4:24 PM
@SomeGuy One could say you got a steak through the heart
 
Hi guys
 
@Zirak Clearly we were on the same page there
 
@Zirak and you're to blame? hunny you give love... a bad name.
 
@SomeGuy Mmmmmmmmmmmmmmmm steak
I think you meant stake though .. :(
 
4:25 PM
Some things hit me
 
I'm trying this newsscroller although there's something wrong with it. The very last list item will always push itself under the first, i've been trying to edit but the reason it's not working correctly is probably because the calculator skips one list item width
 
Yeah, psh @SomeGuy, learn to spell
 
Could anyone take a look at it perhaps?
http://www.gcmingati.net/wordpress/wp-content/lab/jquery/newsticker/jq-liscroll/scrollanimate.html

It's the first scroller
 
an example of your failing code would be more helpful
 
4:26 PM
@Sippy Yeah. My bad, I guess. glares at Zirak
 
Well yea sure but
It's literally copy/paste what it says there
But that's no problem of course.
 
and there it works.
 
It doesn't
If you look at the first list item, you'll see the last under it
 
I don't
 
Oh?
I'll make a screenshot to make sure you know what I mean
 
4:27 PM
on his site, it works fine for me
 
@SomeGuy Kill him with a steak.
 
also, just as a comment, news scrollers like that are more often annoying than useful imo.
 
@rlemon +1, I don't read them. Too much effort.
 
@DavidH Hey I made something like that once
 
<marquee> polyfill.
 
4:30 PM
@BenjaminGruenbaum exactly.
all I think is geocities 1998 website
 
I should write a <marquee> polyfill :D
 
make sure to also include <blink>
 
@Meredith OMG I'M THE 1000000TH VISITOR!!!!
2
 
lol, searching for marquee on google has an easter egg
Wait, nvm, marquee still works on Chrome
 
4:31 PM
@Meredith I'll check it out now! @rlemon imgur.com/pcm4huw
 
that doesn't happen for me
looks fine in Chrome latest on Win7
 
That's what I see and happens on my page as well, maybe it's different if I show you my site?
 
are you sure you don't have a zoom set in the browser?
 
As in not 100% in the browser? Because it is. Also here's my page staging.zeeburgereiland.nl/test
 
4:33 PM
Works for me.
 
@Loktar I do
 
If you inspect element the bar
And look at the last List item, where do you see it?
Below it + not showing or?
 
@JanDvorak but you're an anomaly
:P
 
@Loktar am I?
 
Really though you shouldn't use marquees
 
4:34 PM
There's supposed to be 7 list items but it only does 6 and throws the 7th under the first
@Meredith I'm not sure how to do it otherwise, i'm basically not familiar with jquery in a advanced way.
 
you're the only one seeing that
 
So i'm kind of relying on plugins
 
it works for me and Sippy
 
I'll empty my cache I guess
 
anyone here ever have Chic-fila for breakfast?
 
4:36 PM
@DavidH You shouldn't show or hide content without user interaction
 
shit is deliciouuusss
 
@DavidH Have you checked why the styling is weird?
Try pausing the animation and looking at what's being applied in your browser.
Also, what is your browser?
 
Hm I guess Meredith, @ssube The width of the container div mask isn't as much.
Chrome latest.
It lacks the width of one extra li
Which it then pushes down, but i'll check again with an empty cache
 
Are any parents responsive/percent sized?
 
None
 
4:37 PM
it works perfectly for me as well, chrome latest win7
 
It's supposed to calculate the width
You guys see 7/7 lorem ipsums?
 
@Loktar I thought you were getting healthy/fit with us?
 
nah
well ish lol
 
I think I only saw 4 lorem ipsums
 
I'll show you what I see even with an empty cache
 
4:39 PM
!!weather lebanon
 
@rlemon Lebanon: 31.9999F (0C, 273.15K), scattered clouds
 
Speaking of weather I'm skipping class right now because I'm scared of the cold
 
woke up to a few inches of snow here
sucked.
 
Slow office pc's... This is what I get with an empty cache+incognito mode on the latest version of Chrome. The last two list items are just not added to the calculation of the ticker container. imgur.com/VWtMCmx
 
Yeah I don't understand how canada works
 
@Zirak hit 6 over and over again
:D
 
!!weather bellevue NE
 
@Loktar Bellevue: 17.2219F (-8.21C, 264.94K), sky is clear
 
!!weather gainesville fl
 
@Meredith Gainesville: 55.3999F (13C, 286.15K), sky is clear
 
4:46 PM
@Loktar How do you go outside
 
we're currently experiencing some unseasonably cold weather
@Meredith lol well I'm from northern MI originally
so I'm used to it
 
!!weather kitchener
 
@rlemon Kitchener: -3.0601C (270.09K), light shower snow
 
user1596138
!!weather fort wayne
 
@rlemon Kitchener: 0.6659C (273.816K), broken clouds
@Jhawins Herzliya: 21.04C (294.19K), Sky is Clear
@Jhawins Fort Wayne: 30.9739F (-0.57C, 272.58K), light snow
 
4:47 PM
@Zirak the api is shit
 
lol wth
 
it gives different results back to back
clicking the link, different as well
 
user1596138
I tried zip code
 
!!weather Kitchener
 
@rlemon Kitchener: -3.0601C (270.09K), light shower snow
 
4:47 PM
I have 2x -3 now and 1 0
 
user1596138
LOL
 
click on the link
says 1.5c
three different results... wth?
!!afk lunch
 
@rlemon ugh, I know, but I can't find anything decent that's also open
 
Let's just pretend that the first result is the correct one
 
mutibot uses something diff, I just asked mutilator what it is
but not sure if its worldwide, might just be US
ah weather underground I guess
its worldwide as well idk, not that the weather feature is a huge deal, lol I forgot we had one
> 10:47 < loktar> !w
10:47 < muti_bot> ADVISORY I Winter Weather AdvisoryII(US Severe Weather)II
10:47 < muti_bot> Bellevue, Nebraska Conditions: Clear; Temperature: -7�C (19.8�F); Humidity: 73%; Wind: 1.0mph/1.6km/h/ 0.4m/sVariable1.0
^ what mutibot returns for example
 
user1596138
4:59 PM
 
user1596138
Tool of the year ^ not only are you kissing miley cyrus you can't put your phone down
 
lol
 
You may have mentally undressed her
 
user1596138
Stupid facebook stuff. Idk what this is even about all I ever do is look at the pictures lol it reminds me of reading in grade school
 
^ I kissed my wife because she said I could get it
lol I called her up to my room to stop me from buying it
 
user1596138
5:01 PM
Wait wut why is that $170
 
> eh its a cool piece of gaming history, get one if you want just dont spend a crazy amt of money
@Jhawins its one of the games from the atari dig
> This game is one of the limited numbers recovered from the “OLD ALAMOGORDO LANDFILL”, also known as the “ATARI DUMP”. Purchaser will receive the game as portrayed in photo above, City property I.D. tag, the Certificate of Authenticity and a narrative with photos of the 1983 burial and the 2014 excavation proving the legend to be true. The seller does not represent that this item is operable; it was buried for 30 years. SOLD AS IS.
 
user1596138
Ohhhhhh
 
user1596138
The dig
 
I love how they say its not operable.. in all honesty it might still work
Atari games are resilient as hell
 
user1596138
That's cool
 
user1596138
5:03 PM
I have a few
 
yeah I thought so as well, esp because it comes iwth a cert of authenticity
the ET ones man.. those went for over 1k, the ones in the box
 
user1596138
Moon Patrol!!
 
haha thats a great game
hard as hell
 
user1596138
Dude it's so hard
 
fuck the 3 ball looking ships that make craters with their shots
 
user1596138
5:04 PM
I also have some really strange maze game type thing
 
user1596138
Hmm
 
user1596138
It's a massively complex game for atari
 
user1596138
There are so many different "rooms"
 
procedurally generated?
 
user1596138
ofc I got the tank battle one
 
5:05 PM
yeah same here, I actually have a ton of original atari games
 
user1596138
And basketball lol. Oh and frogger!!
 
hi
 
@221B Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
user1596138
Yeah I have the old Atari that they rereleased recently, it looks the same but it's like 4 times as heavy
 
user1596138
5:06 PM
And original controllers an shit
 
getting my physical game collection recorded
ataro 2600 games are my 2nd highest
 
user1596138
damn
 
I remember playing a shitload of atari ports from those CD-in-cereal-box promos
 
user1596138
Honestly tho I don't care to have the actual games. I am just as content with a "flash card" or whatever with an SD card.
 
user1596138
But I don't have one..
 
user1596138
5:09 PM
My grandpa sometimes plays the Atari so it stays at his house for now.
 
I have those as well
for my c64, virtual boy, vectrex
 
user1596138
Yea I got em for other stuff
 
really cool that people make them now
 
user1596138
I'm sure there is one for SNES that would be my original system
 
user1596138
My "game gate" is stuck closed tho lol
 
5:11 PM
yeah snes has one
 
@Loktar You don't own a single Xbox game? nice
 
maybe if you order a gamer crate
@KendallFrey fuck xbox! :P
the sections in yellow aren't done
I was too lazy to go downstairs and record my wii and wiiu games
 
Anyone know anything about adafruit? adafruit.com
mooaarrliigghhttttssss
 
nope looks cool
 
user1596138
 
user1596138
These articles are why people are so stupid in the world
 
#bigbrother
 
user1596138
> Even having encryption on a phone, such as the kind included on Apple Inc. ’s iPhone 6, doesn’t prevent this process.
 
I know some guys who work on the encryption for apple
 
user1596138
It's not like the "dirtboxes" even have access to the phone, they can only see communications that would be sent to a tower. This has been around for years I remember some students did it on a train
 
5:14 PM
once data leaves the device its basically up for grabs
 
user1596138
So I fail to see why mentioning filesystem encryption was necessary.. It doesn't have access to said filesystem at all whether it's encrypted or not.
 
well not completely, but....
 
user1596138
@221B lol right but your device woulkd basically have to go "connect to tower" -> "send tower my entire filesystem" -> "tell user to wait 6 hours because mobile data is slow"
 
user1596138
That would imply that the regular cell phone providers towers also have access to 100% of your information.
 
so wait you dont trust AT&T? lol
 
user1596138
5:16 PM
They could subpoena AT&T for the exact same data, and AT&T doesn't have to fly a plane and deceive to get the info because it is not sensitive info.
 
user1596138
@221B No I'm saying there's no reason "not to trust" anyone hahaha I know damn well my phone doesn't send my filesystem to the nearest cell tower lmfao
 
user1596138
For them to "steal your data" would mean that AT&T also steals the same data because the entire point is that the device just acts as normal, it thinks it is connecting to an average tower and is going to send normal information according to whatever protocols are used by that network.
 
user1596138
People are stupid. Fucking stupid.
 
xkcd reference
 
yea well, i accept that anything and everything is shared/stolen/brought to light
just dont slow networks
 
user1596138
@copy TIL
 
@221B That's what Bible predicted, too
 
user1596138
Nvm
 
haha
 
@rlemon Graybeard theme is horrible on the network tab
 
5:25 PM
@Zirak rlemon is afk: lunch
 
...just wanted to let you know
 
I don't think I ever heard someone say "It's dark" in the light.
 
Jesus knew about the NSA? Quick, someone tell Dan Brown.
 
@KendallFrey Those who don't realise their blindness, perhaps?
Very common for spiritual blindness
 
5:36 PM
Do blind people "see" dark?
 
Isn't that how it works?
 
Not afaik
 
Blind people don't see, so they don't see dark
 
I know someone blind, and she can see
 
Hey guys
 
5:37 PM
@Huko Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
There are varying degrees of blindness
 
I know what you mean, and it's difficult to grasp, but the "see" blind people use is different
 
JavaScript says I am not f***ing Java
 
@Huko ... what?
 
LOLmLOL
 
5:38 PM
go troll somewhere else
 
you doing what here :s
 
Discussing various things, including blindness and javascript
 
Ah, I see, really thats not trolling
 
@KendallFrey that's a hand
1 message moved to Trash can
 
5:44 PM
@JanDvorak I imagine so, but it's really convincing
 
If you're ever tempted to use the tools that go along with mongo, like mms, don't. Just don't.
 
user457812
Insert fist-shaking at the mention of mongo.
 
kicked
1 message moved to Trash can
 
Got in this morning, one of the dbas comes over to tell me mongo-load stopped responding (on ssh) and he had to bounce it.
We log into MMS and pull it up, and it's all like "nah bra, no data!"
Log into mongo itself, it's all good. As soon as we do that, the graphs magically recover.
 
user457812
I'm just learning Mongo stuff now because I'm on the stop-things-from-melting team
 
5:48 PM
same
guess how find().sortBy({id: -1}).limit(1) ends up being run on the db server?
 
user457812
I couldn't begin to guess. Don't know enough yet.
 
{$query: {}, $orderBy: {id: -1}}. Great way to page through all the documents in a collection, plus the part where they're loaded into memory so it can sort them.
If all goes well (and you have an index), the driver should stop after receiving the first document.
 
Unless it's a lazy collection, which it could well be
 
Limits apparently don't get passed on to the actual db, for some reason (might be the scala driver).
 
If the results are paged, it doesn't hurt that much
 
5:55 PM
The internet is officially broken photos-f.ak.instagram.com/hphotos-ak-xpa1/…
 
It doesn't break performance much, but takes about 40 minutes per 500k documents
Nothing else is really effected, since that particular query doesn't take the global lock.
 
umm... that's not good
 
@221B wurt
 
They also support regex in a query, which I'm not sure there's a legitimate use for.
I do know that a query with a regex in it ignores all indexes and will always scan the entire collection.
 
There's always a legitimate use for regex
 
5:59 PM
Which somehow didn't end up in memory, causing each query to take 5 seconds or so, and we were getting ~120 req/sec, and very quickly ran out of threads.
 

« first day (1490 days earlier)      last day (3463 days later) »