« first day (893 days earlier)      last day (4062 days later) » 

5:00 PM
It's alright
 
Ugh.
This dude, he tries to get so much rep from the canvas tag
look at this question
1
Q: How to handle multiple keypresses with canvas

JBuraceUsing something like: window.addEventListener("keydown", handleFn, true); How would I be able to handle multiple keypresses at the same time, for multiplayer use? Multiple people would be using one keyboard, so like the Q and P keys would be pressed at the same time to move different objects o...

 
This dude being you?
 
er, well not mine specifically
 
DAMN! Ninja'd
 
but his after mine
 
5:01 PM
Oh, haha
 
@Loktar Yea, I'll just down-vote him ...
 
hello guys, is this a good place to post a question on ExtJS?
 
@OctavianDamiean lol
well I don't mean that.. its just an annoying answer that he provided
 
Oh I meant yous. :D
 
it didn't really add any substance imo, however maybe it does to you guys and Im just being a bitch idk.
 
5:02 PM
@Prathap expect unicorns and kamehamehas but we will try to help
 
user2157210
@Darkyen unicorn hair magic wands to code with you mean
 
@Darkyen lol! here's the question I've posted on the website - stackoverflow.com/questions/15660870/…
 
@Nexxpresso -_- no
 
user2157210
@Darkyen rlemon invented it !
 
5:04 PM
@Nexxpresso We use butterflies, not wands.
 
@Prathap My advise: don't use it.
 
user2157210
@AmaanCheval maybe in india!
 
@Shmiddty I use if's for a reason in that example :P you don't want to only catch one key, you need to catch all of them
 
@Shmiddty Thanks. But why do you not recommend it?
 
@Prathap Because it's bloated and unmaintainable
@Loktar Yeah, I deleted my comment.
 
5:06 PM
same here
that was my complaint about the dudes answer above mine
if you start an answer with Yep, pretty much what Loktar said.
then why the fuck are you writing an answer? lol
 
@Shmiddty thanks, will bear that in mind
 
@Prathap I'd provide a short example of your json-structure
 
@Loktar anytime I'm in a situation like that, I edit the referenced answer to incorporate my insight. I don't get any rep but at least the answer isn't split.
 
i know i wouldn't dig through that string
 
user2157210
@Darkyen this invicita things ? worldofwatches.com/cust/hourlydeal.asp?d=0
 
5:10 PM
@GNi33 I have provided the JSON structure in the question. It's at the bottom.
 
user2157210
 
!!>{}.down = true
 
@Shmiddty "SyntaxError: Unexpected token ."
 
@Prathap that's exactly what i'm talking about
it's a huge string with lots and lots of stuff in it, all in one line
i wouldn't go over that string, i'd rather provide a small example of the structure, without all that content in it
 
@GNi33 yes, sorry about the formatting - the structure goes like this:
 
5:16 PM
5
A: How to handle multiple keypresses with canvas

LoktarThis is how I generally do it. First you need an array to hold the keystates. var keys=[]; Then setup your event listeners. // key events document.body.addEventListener("keydown", function (e) { keys[e.keyCode] = true; }); document.body.addEventListener("keyup", function (e) { keys[e....

great answer as always @Loktar!
 
@SimonSarris thanks :)
 
@Prathap no need to apologize, it was just a tip from my side to update the question
 
Are there any considerations for scope or compatibility when eval'ing code? I know eval should be avoided but in my case it can't, yet code which works with a script tag stops working when eval'd.
 
Has anybody used Ajax autocomplete for jquery?
 
@Loktar I posted what I'd do (and +1'd your answer)
 
5:18 PM
@Shmiddty lol I see that
a diff approach
 
...vim does ROT13!
 
@GNi33 Oh ok, thanks for the tip. The reason I put in the actual JSON file is for people to test it off the bat right away. And the string is long just so that it fills up enough space on the grid...
 
ggVGg?                          : rot13 whole file
ggg?G                           : rot13 whole file (quicker for large file)
:8 | normal VGg?                : rot13 from line 8
:normal 10GVGg?                 : rot13 from line 8
 
@Loktar I didn't read it, took Simons word it was good, +1 and bookmarked for later use.
 
^ Untested
 
5:19 PM
Does anyone know of any good resources to learn about regular expressions
 
haha ty @rlemon
I wasn't trying to even get rep :? but I like the biproduct I wont lie
lol mainly I was just complainign about MarkE's answer
 
well, an answer like that from Loktar is an instant +1
2
 
I LOVE THIS ROOM
 
I always see preg_replace( lots of random non-alphanumeric characters ) and never know what the hell is going down
 
5:20 PM
// i am drunk but i am really emotional atm :-/
 
@rlemon cheers
 
dammit, it could be complete bullshit and I'd probably still upvote it :D
 
> tl;dr +1 because if you took the time to write it I can at least take the time to click on the little triangle.
2
 
@GNi33 haha
@Darkyen love you too bro.. although the rare occasion I get drunk I stay far away from chat rooms :P
 
:/ random invite to a room is always fun
@Loktar not me, i'm all up in the chats when i'm drunk. the arguments are more entertaining
 
5:21 PM
haha
 
> hrmm. i'm drunk. anything on netflix? nope... am I sober enough to game? nope... are there blue links on reddit yet? nope... SO Chat it is! (god I hope noob1992 is online)
 
@Loktar i should really make my occasions more rare...
 
@rlemon Never too drunk to game
 
on the topic of why rlemon owns a watch: because pulling out your phone while working out / running / biking / etc.. is a PITA and often leads to mishaps (drops, sweaty hands, misdials, etc).
so for the occasion I need to know the time, I have the option to wear a watch. I also own a nicer watch as well for dressy occasions. thats only because it makes me look like a bauce
@Shmiddty you sir have never seen a native american down 3/4 of a 40 of rum in an hour.
 
@Loktar well today is a festival usually enjoyed the most fooling around with friends on this side of the world
 
user2157210
5:28 PM
@Darkyen you asshole
 
sadly in this new city i only have 2 friends and those two are ugh :P
 
user2157210
I hate you
 
@Nexxpresso you tried smelling me ?
yuck :P i warned u not to ...
 
user2157210
I really like this watch but I cant buy it in germany .
 
@Nexxpresso use Amazon :P
 
user2157210
5:28 PM
only.com
 
user2157210
wont pay customs
 
yeaah
thaat watch made me pay 8000 customs
 
@rlemon But drunk gaming is more funner.
 
nice
 
5:30 PM
lol
 
@FlorianMargaine @FlorianMargaine you wont like what i say :D
so i will stay quite :3
 
@Shmiddty I did that once when I was younger in CoD2. Bad idea.
Got banned on so many servers ...
 
@OctavianDamiean Bahahaha.
 
@OctavianDamiean lol
 
user2157210
drunk gaming ftw
 
user2157210
5:31 PM
work done ..
 
!!Should I take a piss before or after I smoke?
 
@Shmiddty take a piss before
 
0
Q: Date formatter for javascript

David FregoliI just coded this formatter to format timestamps in javascript (I tied it to underscore for convenience), any remark? _.toDate = function(epoch, format, locale) { var date = new Date(epoch), format = format || 'dd/mm/YY', locale = locale || 'en' dow = {}; dow...

 
or even better, don't smoke at all...
 
@Shmiddty Depends if you want a piss-y fag or a fag-y piss
 
5:39 PM
@Darkyen "the most fooling around with friends"
fooling around in what way?
 
@Shmiddty I always go before hand, because it really doesn't matter as you should wash your hands after pissing and smoking - however in Canada it's cold often and I don't like holding my junk with cold hands.. so outside is always after bathroom.
@Zirak why are the weaselReplies answers all triples?
"no" is repeated 4 times
longer ones like "I'm not so sure anymore. It can go either way" are only in there once
are you trying to control answer probability with number of duplicate answers in the haystack?
 
@GNi33 google holi
and thanks for reminding me :'(
i am nearly tears since morning cause i fucking miss my friends
 
is that some "Festival of Colors" - stuff?
because that would be so awesome to attend once
 
@Darkyen dude, don't have friends. problem solved. be like me and get cats, fish, and e-friends.
 
5:48 PM
@GNi33 yeap
 
I feel lonely when SO chat goes down.
 
lol
 
@ThiefMaster Live your own life! :p
 
Google.com
 
5:54 PM
 
better way to find relavent apple apps then iOS Store
 
@FlorianMargaine Shooped. I can tell from the pixels
 
@FlorianMargaine Meanwhile In Canada....
 
@rlemon Now that I can get behind.
 
5:58 PM
I just can't bring myself to answer [javascript] questions anymore.
 

« first day (893 days earlier)      last day (4062 days later) »