« first day (1028 days earlier)      last day (4145 days later) » 

21:00
-1
Q: Javascript program gone wrong!

Abdul Latheefvar choice1 = prompt("Do you choose rock, paper or scissors?"); var choice2 = Math.random(); if (choice2 < 0.34) { choice2 = "rock"; } else if(choice2 <= 0.67) { choice2 = "paper"; } else { choice2 = "scissors"; } var compare = function(choice1, choice2) { if(choice1 === choice2) ...

user1596138
@Datsik I'd rather watch the ass volcano they did for an hour than that shit.
@Jhawins Good mood?
user1596138
Eh.
user1596138
A few years ago these people had to be careful what they did with kids even strictly for a movie . That wouldn't have been okay.
@Darkyen they are for my reefs. so yes, I have leds that emit between 6000K and 20000K - the ones I showed here are 10000K
user1125394
21:09
.horizon + .horizon {
  border-top: none;
}
user1125394
whot's dat?
user1125394
> E + F matches any F element immediately preceded by a sibling element E.
yea so that keeps double borders from appearing
user1125394
hmm I think it just border top all but first
Hey ppl
21:16
@Shmiddty See if this helps you: for(i=k=0;it[i++]=readline()||k<--i&&~print(it[3*i+k-k++%4*i>>2]););
counter strike really sucks when your team doesnt listen to you
fkin noobs
lol
I'm playing right now
@ScottDavies 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.
21:31
Oi indeed.
Is there a suggested way to normalize HTML whitespace in JS? Use case: to ensure :empty CSS selectors actually target something.
@Loktar Doc for the Box thing is on the way, nearly finished the custom 300 line esprima thingy to pull out all the required info: gist.github.com/BonsaiDen/609f53432ca7efd8f634
document.body.replace(/\s\/, '');
@SomeKittens Hmm, I was thinking something more intuitive; but if it just comes down to regex I'll bang something out.
that was a joke. Don't do that.
user1125394
jsfiddle.net/JJDQM < look how the e is a bit buggy, awesome font btw
21:37
@SomeKittens I know; that'll strip out all the whitespace.
But really; do any modern JS engines have whitespace normalization natively?
What do you mean by "modern JS engines"?
Let's see if this works...
But first I need an intermediary sentence...
Let's see if this works...
your mother is an intermediary sentence.
The answer is "no"
spam detection?
21:40
Yeah
why the intermediary sentence?
@SomeKittens Like V8 etc.
don't you want to catch shit like this?
It worked in the other room for a short sentence
@Bracketworks Those just implement the spec. (mostly)
21:40
@phenomnomnominal The chat splats together repeated messages
oh i see
you actually can't do it, that's cool!
@SomeKittens Right; the spec of which I know not as much as I apparently need ;-)
Oh god ... working with canvas is so painful ... y u so painful canvas?
Yeah
@OctavianDamiean what bit? the API?
21:41
Damn it...
@Zirak Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
oh yes...duh
Blagh; regex all the things!
Need some advice:
@OctavianDamiean Because it's a horrible abomination of an intermediate drawing API :(
@Directive Looks like we got scooped! http://techcrunch.com/2013/08/09/localon-launch/
user1125394
@OctavianDamiean you don't want d3?
21:42
@phenomnomnominal Well, yea.
Since it works on the DOM, it wouldn't work for rooms other than the one I ran it in
@cx d3 isn't the answer to everything...
@cx d3 isn't helpful for what I'm trying to do.
^^ old test account from my old job. Just used it as a joke earlier today, now antagonistic former employers are demanding I turn it back over. Should I? Do I have any obligation to?
21:44
Since it works on the DOM, it wouldn't work for rooms other than the one I ran it in
DAMN IT
!!should I write a library to abstract all the ugly parts of the drawing API?
@OctavianDamiean Absolutely not
user1125394
@Zirak this room is special
!!should I google for a library first?
@OctavianDamiean Certainly
21:45
u so smart
user1125394
empty.js
@OctavianDamiean omg omg use Canvas Query
projects.latimes.com/prop8/donation/8930 - No idea whether this is really Brendan Eich, but I just stumbled upon it.
@phenomnomnominal Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
DAMN IT
user1125394
the jquery for canvas?
@Zirak Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
@Zirak hey fuck you :)
SUCCESS!!!
21:47
lol
also,
@Zirak hey fuck you :)
@phenomnomnominal Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
21:48
:O
lol
@IvoWetzel Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
user1125394
the bot is running on @Zirak?
user1125394
seems so
@cx Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
21:48
@OctavianDamiean Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
user1125394
@Zirak that was n't spam
@Zirak should probably ignore anything less than 3 letters
seems so
@SomeKittens Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
There're no filters yet since it's in dev
@Zirak Suggestion, depending on the length of the message, increase the threshold, posting lol twice in a short amount of time is a very common thing I guess. Especially in this room
seems so
@SomeKittens Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
21:49
This funny.
user1125394
seems so
@phenomnomnominal Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
@cx Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
user1125394
stop
21:49
HAMMERTIME!
HAMMERTIME!
Aw, the bot doesn't yell at itself.
21:49
HAMMERZEIT!
HAMMERTIME!
user1125394
double bot
@CapricaSix Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
HAMMERZEIT!
@Zirak Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
HAMMERTIME!
@Zirak GET
@Zirak you could use some kind of bloom filter to make sure that even with small modifications it still triggers :)
@Zirak Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
Yeah @CapricaSix you suck
@phenomnomnominal Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
21:50
@IvoWetzel Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
Defining moments of this room:
@SomeKittens Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
21:51
olo
user1125394
there should be a punishment after 5 spam
@IvoWetzel Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
@phenomnomnominal Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
SHADDAHELLAP
@IvoWetzel Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
@phenomnomnominal Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
user1596138
21:51
what
regex gone wrong?
user1125394
what.
Okay I couldn't keep track of anything going on
For some weird reason...
step one: check who sent the message?
@Zirak I guess it should also throttle the amounts of @'s it sends to a given user, otherwise it will be easy to DoS
user1596138
21:52
How many times does it wait for?
I do, it selects user messages based on user-id
@phenomnomnominal WUUUUUUUUUT? U want him to do magic?!
I say something
I say something
user1125394
it's stopped
21:52
@IvoWetzel Only if a group of people are jerks
@Zirak What a perfect description of this room :P
Which is pretty likely in here :P
user1596138
@Zirak Well, that is the nature of the room ;)
Which is pretty likely in here :P
@OctavianDamiean Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
I'll find you!
user1596138
what
@SomeKittens Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
@Jhawins Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
@SomeKittens Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
@Jhawins Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
I'll break your pointers and snap your arrays!
Not even kidding.
user1596138
21:55
Hmm....
If I may ask that you don't DDoS me while I try and debug it
user1596138
Sorry :P
user1125394
!!color steelblue
user1125394
21:56
fav d3 color..
!!color bluesteel
@cx You went nuts on d3 didn't you?
@SomeKittens Oh yeah, ROBOT9000. That was a swell idea. The room's stagnant though
user1125394
21:56
@OctavianDamiean totally
Crap ... so late already.
Gotta go.
@Zirak Sad. Was the only IRC room I ever joined as a teen.
I'll repeat this
multiline message
in a few seconds
I'll repeat this
multiline message
in a few seconds
I'll repeat this
multiline message
in a few seconds
user1596138
21:59
@OctavianDamiean
@Jhawins Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
...what
user1596138
What the fuck??
@Zirak Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
@OctavianDamiean Please don't post the same thing more than once in a short period of time. If it's a question, try again in a few hours.
We spam, @Jhawins takes the shit. I like that concept.

« first day (1028 days earlier)      last day (4145 days later) »