« first day (1420 days earlier)      last day (3520 days later) » 

12:03 AM
Dear Netflix,
You suck!
Sincerely,
Update your damn shows!
 
user2620028
:(
 
user2620028
Netflix has always done well for me
 
where are you from?
us netflix has much better titles
 
user2620028
Illinois
 
user2620028
need a US vpn for your flix?
 
12:06 AM
nahh, you can get it
I'm just lazy
:P
 
user2620028
when i go overseas netflix is going to remain my primary tv..... soooo im leaving a comp here hooked up to high speed to act as my vpn lmao
 
Lets say I have two arrays of items that come back from the webserver, Users and Athletes. A User will have references to many athletes and an Athlete may belong to any number of users. When the data comes back, I plan to only have ids to references, (e.g. User object will have an array of Ids for the athletes that belong to them).
 
JSON
Nevermind
Yeah, ids sounds reasonable
 
I'm watching Kung Fu Panda, instead of working on my game
 
12:18 AM
@NickDugger Turn it off an start working on your game
Also, tell me what your game will be like
 
Nope, I love this movie
It's not gonna be anything special. I'm doing it more as a learning exercise
 
That's how I did my first game and it turned out awesome
 
I will have a method that will put athletes into an Athlete array on each User. Later on, I have an ajax method that occasionally polls for athlete statistics. If I update the mega Athlete array, those changes will be reflected in the referenced athletes from my users yes? Javascript handles references in this case rather than essentially copying the object when I put it in a User.Athlete array, yes?
 
Yes
 
I'm glad I had experience with pixel art, so it will at least be attractive.
I'm sure the gameplay will just be bland, though
I haven't even gotten that far. I'm still working on the basics of the engine
 
12:21 AM
Don't make it too easy, nobody cares about easy games
 
Agreed
 
Terrific. I was hoping this would be the case. I have the page being updated with Angular, and I want to really only have to concern myself with updating a single instance of any one Athlete.
 
VINDICATION
 
I feel like the most complicated thing I've half-tackled so far is my camera object. I'm still working on understanding it
 
12:23 AM
@CodeWarrior Huh? I just told you that you don't have to
 
@copy I have only got to update a single instance of an Athlete for the changes to be reflected on all of the referenced Athletes, right? That is what I am hoping for.
 
If it's the same object, yes
 
Oustanding
And now, I hate to ask and run, but I have to go pick up someone from school.
 
That's okay, as long as you pay your service fee
 
1.3 blowies
 
12:30 AM
So did ze Germans go to bed?
 
He must have an early bedtime.
 
probably european
 
Or he's 12, and his mommy sent him to bed with no dinner
 
Why can't I read Blob synchronously. Was the person who designed all this stupid?
 
Am working on the w3schools JQuery AJAX tutorial. Very newbie at it. Was wondering of opinions on this tutorial, and any recommended steps/tutorials to do after it.
 
12:39 AM
Opinions? w3schools sucks.
 
@aliteralmind your first mistake? Going to w3schools
 
So educate me.
 
jQuery docs are actually pretty good
 
12:43 AM
@aliteralmind Start with this gist.github.com/Zirak/3086939
 
Alright, movie is over. Gonna spend about an hour and a half on my game
 
@CapricaSix: I see the codecademy jquery tutorial: codecademy.com/tracks/jquery The codecademy link in the chat room is broken.
 
@aliteralmind CapricaSix is a bot
 
@NickDugger: A bot. Well. The rest of you humans I hope?
 
Sometimes
 
12:47 AM
I'm Kittens
 
I'm a box of butt plugs
 
@copy: Will take a look. Thanks.
 
Don't forget to tell your friends
 
@copy: ?
 
Show the link to your friends
 
12:49 AM
Tell your mom theres a new thumb in town who thinks he's a bat. Well, just tell her to watch her step
 
@copy: You wrote it? Or it's just good?
 
It's legendary
It will improve your life in general
 
Promises cured my idiocy
 
Make you a happy person, help you stop taking drugs
 
@copy What is it? A blob being only accessible asynchronously is not a novel concept, the assumption from the API designer there is that the blob will be large and idle the CPU while it's doing IO long enough that a better use of the CPU would be to background the work and let the CPU move on instead of idling waiting on the IO
 
12:55 AM
You're saying doing something on the Blob is IO or doing that blocks IO?
 
@copy retrieving usually - network or disk IO, if the Blob is in-process memory already, then making access asynchronous is helpful like inventing lead so you can cure lead poisoning
 
@copy: Read it. Seems pretty deep in the weeds, at least to my newbie mind. I'll come back to it after getting through some of the basics.
 
The API designer predicates that belief on the idea that a blob will be large enough to actually take otherwise useful time. Large-Object is right in the name, so it's not like the idea is out of left-field.
 
But the CPU can only do one thing at a time anyway, and these Blobs I'm talking about have nothing to do with IO
I just want to build a buffer which size I don't know beforehand. Blob has append for that, while ArrayBuffer doesn't
Also, lead poisoning?
 
@copy If retrieving them isn't pulling them from disk or network then yes, it's non-sense. But I am not a low-level person knowledgeable enough to understand how the efficiency is made - but there is efficiency being pulled out of pushing IO to some background state allowing other processing to continue as that's entirely how Node.JS works... I don't know the magical states of dissociation between IO and CPU time there or if it's just OS voodoo
 
1:04 AM
Yes, the asynchronous read operation probably splits a single large read up into many small ones
 
Seeing the code in the "2. Restructure code" section in this answer is helpful. AJAX function calls are like fractals or something.
 
this requestAnimationFrame nonsense is odd. I'm used to using an interval or timeout. Trying to do things the right way, though
 
@copy What language? ArrayBuffer probably means literal low level fixed pre-allocated contiguous memory section for an Array to be treated as a Buffer. Blob is usually a more high level concept altogether where the actual storage mechanism is less specific
 
@NickDugger You can work with setTimeout for starters, it's not that bad
@JimmyHoffa JavaScript
 
Seems that the requestAnimationFrame works similar, though. Seems easy enough. It just threw me off that it already defaults to ~60fps, or whatever the browser's spec is
> The number of callbacks is usually 60 times per second, but will generally match the display refresh rate in most web browsers as per W3C recommendation.
 
1:12 AM
Don't forget to not do logic inside of RAF
 
I wasn't, but that's good to know. I can imagine that it would murder my i3 lol
 
@aliteralmind w3fools.com w3schhols sucks
 
I also don't like it when people link to w3fools. It's a bit tacky these days
 
Who cares if its tacky, he's never read it
 
I'm still reading the SO answer, which is boggling my mind, but giving me a feel for it. About to start the codecademy tutorial.
 
1:34 AM
Cool, about to go educate myself as well. bbl. cya guys
 
1:49 AM
Why would my requestAnimationFrame only sometimes work? If I refresh, half of the time, something within the callback throws an error, but the other half of the time, it works just fine... Not sure why
 
@NickDugger I guess your surname isn't short for Debugger then.
 
I'm working on it :p
It got worse when I changed my forEach to a while
weird
nevermind, it's the same
So, I have an array of objects, each of with have a .draw() method. When I use requestAnimationFrame and loop through them and call each of their draw methods, that's when I get: undefined is not a function -- very strange. it only happens sometimes.
 
2:04 AM
room mode changed to Public: anyone may enter and talk
 
user2620028
Was i unable to talk previously?
 
Did you get banned?
 
2:22 AM
0
Q: requestAnimationFrame function within callback is undefined

Nick DuggerThis seems to be happening only about half of the time, which is why I find myself actually taking the time to write out a question. I have an array of objects, each of which contain a .draw(canvas) method, which "draws" that object to the canvas. You can see that the method clearly exists --...

 
user2620028
no. just noticed the room change to public
 
@AaronSiciliano when someone gets banned the room goes to private and everyone who isn't banned gets write access.
 
user2620028
gotcha
 
m59
2:45 AM
This is the most viewed of 4 questions that seem to be the same: stackoverflow.com/questions/16810913/…
I have the most solid implementation of that I've seen, so I want to post it. Should we cv the rest as duplicates to point to this one?
http://stackoverflow.com/questions/24866040/angular-directive-for-unique-username
http://stackoverflow.com/questions/25182192/how-to-check-name-uniqueness-in-angular-js
http://stackoverflow.com/questions/19029150/angular-custom-validation-unique-set-value-digest-already-in-progress
This is my dealy: jsbin.com/qidiw/4/edit
 
m59
3:38 AM
Well, I went for it.
the above posts - duplicate is marked
 
4:22 AM
hi, i was reading on retina display and new things introduced regarding favicons
i have a question: for favicons, i need to have images of 16x16, 32x32 etc for support in mobiles as well as desktop, isn't it possible to keep the largest size available and let the mobile's retina display scale it as per requirement
 
Hey everyone (especially m59) wanted to thank you for all the help this week!
 
buy him a bear
:v
 
That sound very unreasonable, a bear is probably going to kill him
 
small one ... cuddle-able
vin disel keeps a tiger, and vandam rode on a papa-size bear
i watched hannibal yesterday .. i regret it
 
I heard it was good, but haven't tried it yet
I disliked Dexter though, so maybe not
 
4:36 AM
that man was eating roasted human kidney .... it sucks
 
That's not bad ... per se
 
why? u like watching someone roast and eat human kidney in 720p
with an expression was like "i cooked it too good"
 
Maybe it's part of the character development
 
I'm with you, I watched it years ago and didn't get it. It wasn't scary or interesting really so much as just gross
 
@JanDvorak Another answer to your question: jsfiddle.net/somekittens/pf8pnvej
 
4:39 AM
!!urban gross
 
@blackbee [Gross](http://gross.urbanup.com/180678) 1. Something disgusting and inducing vomit
2. Something or someone lazy or incorrigible
3. stupid
4. Money made over a period of time
 
hmm is it possible to make a pie chart like this without the library? nvd3.org/examples/pie.html
 
with canvas maybe.
 
 
i feel like i am not doing anything!! ... one month of ruby on rails ..and my relationship with js is getting affected .. i don't like this at all
 
4:44 AM
Ruby isn't so bad
 
i am not saying its bad, but the hampering of my relationship is not good ...
i thought i was going to be a better developer in js and then move into node and angular .. but ...
 
Meh, node is very hyped and not really powerful
 
@grasshopper I'll give you a hint - what's the library written in?
 
5:00 AM
in JS
but I am not sure if just going in and copying and pasting their pie function will work
 
Why would you want to do that instead of just using the library
 
why is there no room for RoR in SO
 
because I can't use the library for just one chart
 
Sure you can
 
@grasshopper Don't copy/paste. Read, then write.
2
 
5:10 AM
My team would not let me for sure (I already asked).
great proverb @SomeKittensUx2666
 
hehe, I told a young grasshopper a proverb
I'M OLD
 
so i read and found this github.com/novus/nvd3/wiki/Models
 
5:30 AM
@copy ruby is just fine. It's the Rails which is the problem.
 
I can't judge Rails, just heard it gets shit done
 
@copy it's more a case of "it get shit done in the beginning"
 
Just ask Twitter
 
5:47 AM
Twitter? I barely knew her!
 
6:07 AM
ya, thats for sure, scaffolding is powerful
i have never developed so fast an website
 
you don't have to be twitter to start hitting issues
 
Twitter's the de facto example
 
Consider using 'dppx' units, as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (min-resolution: 144dpi), (-webkit-min-device-pixel-ratio: 1.5)
Why does this show in my console?
 
6:31 AM
yeah but it also happens to cause the "well, my site does not have multi-million concurrent users" argument be thrown at you
 
@user4010619 Can you explain your picture and why you use it ?
 
@RoyiNamir Apparently, to troll us.
 
Who is user4010619
Ah, someone registered as a nazzi
 
yeah, I saw
 
I saw that you saw after I posted xD
 
anyonehave suggestions for really solid d3 tutorial (video would be nice)
for pretty d3 not geocities d3
 
@rlemon Happy birthday.
 
!!mute 965090 7d
 
7:04 AM
room mode changed to Gallery: anyone may enter, but only approved users can talk
@FlorianMargaine Muted user 965090 for 7d
 
@ziGi no hard feelings, you're just perma-muted
 
7:21 AM
@FlorianMargaine what for?
Please don't renew mutes until proven deserved
 
@JanDvorak he's been muted many many many times, why should we always wait for him to fuck up before muting him?
 
@FlorianMargaine why not?
 
because it degrades the level of this room
 
he has been muted many many times, but how many of them were just renews?
 
I agree with Florian
 
7:22 AM
none afaik
 
@FlorianMargaine this one surely was
 
Whenever I see him active in this room, it tends to end in drama and him muted.
But that's just my observation
 
@Cerbrus That is precisely the fact.
Not just an observation.
 
@Cerbrus is it because he knows he will be muted?
 
@JanDvorak yep, and it's the first one. Gotta start somewhere :)
 
7:24 AM
See for example, he came here, didn't say anything and still the drama started!
 
If I knew I was gonna get muted, I'd try my best not to be
Aka, be on my best behaviour
Not exactly his style.
 
@AwalGarg then it's not his fault
@Cerbrus didn't he improve since he first came?
 
@JanDvorak It is, because of his past activities. If he hadn't done stupid things in the past, this would have been better.
 
Hard to say
 
@AwalGarg "God forgives, I don't"?
 
7:27 AM
@JanDvorak God doesn't keep forgiving, neither do I.
 
@AwalGarg God forgives if he sees the person improve
 
I don't believe in god.
 
@FlorianMargaine 965090(6d 23h)
 
@JanDvorak I am not God, sorry. And I don't believe in him. I put my opinion.
 
7:28 AM
!!unmute 965090
 
room mode changed to Public: anyone may enter and talk
@FlorianMargaine Unmuted user 965090
 
benjamin believes he can still do it right, let's trust him :)
 
I think you mean Jan
 
no, benjamin
 
Is it true that, JS keeps an array of methods to be called next
 
7:30 AM
@CustomizedName what?
in which context?
 
@CustomizedName: wut?
 
@CustomizedName Pretty much, yes
 
var hanoi = function(disc,src,aux,dst) {
    if (disc > 0) {
    hanoi(disc - 1,src,dst,aux);
    write("Move disc " + disc + " from " + src + " to " + dst + "<br />");
    hanoi(disc - 1,aux,src,dst);
    }
};

hanoi(3,"src","aux","dst");

/*
hanoi(3,"src","aux","dst");
    if (disc > 0) {
    hanoi(2,'src','dst','aux');
        if (disc > 0) {
        hanoi(1,'src','aux','dst');
            if (disc > 0) {
            hanoi(0,'src','dst','aux');
                END
            write("Move disc " + 1 + " from " + src + " to " + dst + "<br />");
 
Oh, in that case no
 
7:31 AM
I am not able to understand how it's calling " write("Move disc " + 1 + " from " + src + " to " + dst + "<br />");" when function reached END and there is no loop
 
It is like a queue so when you have ajax requests for example
whenever they return they are gonna be put in the queue for execution
so in this case it is still single-threaded
and no two callback functions can run at the same time
 
ahhh that makes kind of sense
so it's like first in last out
 
no
first in first out
but not really
because if there is callback it is executed after the currently running function
since it would have to wait otherwise quite a long time
 
Bonjourno
 
guys is the ui of the youtube homepage good?
 
7:41 AM
@ziGi I am going to try to find a simple example to understand control flow in JS
 
it is all too much white and all... but then it is youtube...
 
@AwalGarg - it's simple
And I think that's the point
 
ok
 
'morn
 
Morning @towc :)
 
7:50 AM
@rlemon still don't get how the extra whitespace makes a difference in the spacing between various li. It may change it's content, but html only puts 1 whitespace if there are more consecutive ones anyway, so adding or removing some at the end shouldn't make any difference, right?
 
@IanClark it is spelled bongiorno
 
@towc next lines matter. and so do tabs.
 
@ziGi buongiorno :P
@AwalGarg still: how does changing the content changes the spacing?
 
@towc fiddle?
 
you are right
 
7:57 AM
@ziGi :)
 
is it hard to learn Italian?
I have a friend there
he told me some words
 
I've never thought of it from an outsider perspective
 
which were easy to remember
 
@towc it is not a bug, it is the expected behavior. And setting font-size to 0 for the parent element is IMO the best option.
 
the grammar is quite complicated
 
7:58 AM
cause they sound like words from my language
@towc italian grammer is complicated :o
 
@ziGi :D
 
@ziGi mi piace programmare = I like programming
trust me, it's absurd, if you want to get precise
 
he said cazzo means dude
 
also @towc what do you mean by "changing the content changes the spacing"?
 

« first day (1420 days earlier)      last day (3520 days later) »