« first day (1084 days earlier)      last day (4089 days later) » 

15:01
@Loktar see it now ;-)
I saw it
looks cool
should animate!
@AbhishekHingnikar Hahaha, I waited for a while for it to increase in a subtle manner, until I checked for code that'd make it animate.
It turns out that I am 98% magical unicorn. And I say we know spells. So there.
Why is it subtle?
15:01
oh it does
@ChandanKumar 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.
haha wow @rlemon that is cool man
@Loktar now it does animate :D
i added a single line of css and almost 5 lines of jQuery to make it animated :$
and then we take a kick ass innovation to help a handicap and follow it up with this:
@rlemon they need to make a militarized vs
so you can eat in the humvee during battle
@Loktar lol
RETURN FIRE!!!!!
... yea just after I finish my fruit loops man... jesus, have some respect.
lol
these fruit loops are RED WHITE AND BLUE MURICA!
... because I ate all the yellow ones.
@Loktar yet no longer sanctioned by the government :P
15:05
These are military fruit loops! Still funded!
I've found one: File in Firefox. Not an ECMAScript function.
But didn't find any in Chrome.
@OctavianDamiean @Zirak we can be batman now.....
O_O
@rlemon I got to Level 10 in "You Can't Do Binary Under Pressure"! Bet you can't beat me.
@rlemon I got to level 10!
15:09
heh I prob cant binary with no pressure.
@rlemon Nice.
level 11 complete
@Shmiddty Nice! I was guessed my way to level 10
level 100 completre
Hmm.. just wrote a ternary operator, nested in a ternary operator, one branch of which returns an assignment statement.
15:12
wow
level 100
I did that too, wasnt too bad
This probably makes me a bad coder.
101 complete
ands were tripping me up
I hope you all realize by now that the level numbers are in binary.
/captainobvious
beat level 10 woo
15:14
... they start throwing in hex
I call bs
most of the questions so far I can beat just by looking at if it's an even number and if the last digit is a 1 or 0
binary 11100 in hex?
@nderscore yeah
@nderscore they start throwing in and/or/xor/not/etc
Aww, there's only like 4 levels.
Level 100 complete!
haha the hex kills me
15:16
yeah
I tried again, failed on level 2
just beat 11
Though I never got any hex, so I'm a little confused.
8421
hex starts on 110
15:16
just remember that @Retsam
thats what the binary vals mean
that is the value of the digits at that ordinal *
then its just quick basic math
That, and half the time you can just look at the parity.
15:17
^
yeah exactly
the conversion to hex is where it becomes difficult.
Yeah. I'm just confused why I got a "you win" screen before I hit that level.
@Retsam Me too :/
JS Injection game escape.alf.nu this is also pretty fun
LOL guys
check this out
Anyone actually look at old McDonalds characters? Who approved the design for Grimace? "This purple blobs design is amazing!!"
Mcdonalds responded
15:20
I did it guis
Speaking of binary, does anyone else count in binary on their fingers?
@gbsice 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.
ugh, McDonalds make me feel so jQuery
I can't eat it anymore
I used to do it just for the novelty, but I've actually hit the point where I occasionally do it out of habit, without thinking.
yeah im not going to eat it
I was lying to them
Im having a Gyro today :)
Although from time to time I do enjoy a big mac
15:22
that sounds nice, maybe i'll do greek
or maybe thai
greek!
we have this greek place.. the guy makes such amazing Tzatziki sauce
souvlaki
I get the urge for gyros at least once or twice a month
@eazimmerman yeah thats pretty good too
on a day like today, I want Pho
15:24
yea
thats what i'm thinking as well
panang curry sounds good
I just tried to find good greek places near my work and there are none
... have you guys ever clicked a link, read part of the site, and then forgotten where you got the link, or who sent it to you?
Maybe i am reposting this over 9000th time
Because that just happened to me.
15:24
but it sure is funny !
pho raw beef abd beef ball soup
yum yum yum
@rlemon yum!
@rlemon I'm a little jealous right now. Not gonna lie.
I'm getting mediocre Americanized "Chinese" food for lunch.
But hey, it's free
@AbhishekHingnikar this is the funny one
15:27
Hi everybody!
Any NodeJS lover here? Node room is empty!
Node is awesome. I don't know much about it, though.
I've been messing around with Node; it's pretty cool.
I want to show you a young project to get some feedback
It's a NodeJS module
@sgmonda Most of the room likes Node.
I say most because some may not have checked it out yet.
Guys, anyone here who uses nodejs?
15:30
Wat.
Deja vu.
WELCOME TO THE CONVERSATION
Well since you still love Grimace, let us help you out with that! DM us your mailing address and we'll send you some coupons
Should I talk shit about BMW now too?
might get a free car or something
@Loktar Worth a shot
Loving Node!
15:30
My company hosts a monthly NodeJS meeting with beer and pizza, so my interest in NodeJS might not be of the purest of motives :P
I quite often get Warning: Task "release" not found. ...
Or some other task
@SomeGuy It's hard to love JS and not love Node. It's JS without the awkward parts due to the browser.
Not much on the internet regarding that.
@Retsam You lucky bastard.
15:31
Here is my young project: http://sgmonda.github.io/stdio/
Any feedback is welcome
user3762851
0
Q: How to prevent closing of previously loaded colorbox upon displaying new colorbox which is displayed by clicking on a button from previous colorbox?

PHPGeekI'm using PHP and smarty for my website. I'm displaying one colorbox. After displaying it I'm clicking on a button present within this colorbox to display new colorbox. I'm able to display the new colorbox but not able to prevent the preiously loaded colorbox from getting closed. I want to displa...

It is a NodeJS module to manage command-line input/output
Looks neat
@SomeGuy Yeah. If anyone is in the Indianapolis area, it's open to anyone. (It's not actually my company's thing, we just provide the meeting space)
The main feature is to parse command-line options in an easy way
15:33
Yeah. Seems like it could be useful.
(Again, knowing very little of Node)
@SomeGuy thanks!
@Retsam Oh, I meant to ask you if you had any more recommendations for stand-up comics! Demetri was awesome.
enter the konami code ^^
I hope it to be useful
15:34
@Shmiddty AGH
@Shmiddty Hahaha
@sgmonda Did you know you already have printf features in node (and chrome) ?
Try console.log("some %d thing", 3);
@dystroy Yeah, I know
So what's the point of stdio.printf ?
also, type declareVictory() into the console on that page.
15:36
@SomeGuy Hmm... unfortunately Dimitri Martin is pretty one-of-a-kind.
I'm not sure :-)
It is an old tiny function. Maybe I should remove it
<3 Demitri martin
@Retsam Yeah, he's quite unique.
Okay. So noone.
I remember there being another comedian who I found really funny, but I can't remember his name; I may have to do some looking when I get a chance.
15:37
@Eugene ... did you even bother to read the current conversation?
@Retsam Richard Pryor
Oh, heh. Apparently I didn't read the current conversation.
MY BAD
@RyanKinal 've been reading everything under my question and nothing usefull
t3h hungriez are setting in
@sgmonda In fact what might be useful would be a sprintf. Did you make one ?
15:39
Not at all like Dimitri Martin, but I do remember Gabriel Iglesias being pretty funny.
no because this module is focused on command-line input/output. Really its main feature is to parse command-line options
@Retsam Also hilarious, yes
I'd highly recommend Mitch Hedberg as well.
Anyway
!!afk lunch
@RyanKinal Apricots are people too dammit!
AND I WILL EAT THEM
!!afk smok
15:41
@Shmiddty Apricots are people too dammit!
@Zirak I guess I can write the !!afk command.
I guess.
hmm
That reminds me...besides Octavian, did anyone else say they want write access to the bot's repo? To be a maintainer?
@dystroy maybe you want a sprintf like this? nodejs.org/api/util.html#util_util_format_format
too much responsibility
15:42
meh, you can wing it like I do.
@sgmonda I didn't knew it, thanks
Banana is becoming a ugly nerd!
!!s/ a / an /
@Shmiddty Banana is becoming an ugly nerd! (source)
might as well make the insults in cockney english
u wot m8? i wil fok ur mum
u havin a laf?
!!insult rlemon
@Shmiddty So's yer mother!
15:49
!!coffee or cocoa
@eazimmerman Could not process input. Error: unexpected LOGIC on line 8
!!choose coffee or cocoa
@eazimmerman cocoa
@CapricaSix @rlemon i thought that the bot could do 'choose' without the keyword
!!coffee
15:54
@rlemon "undefined"
@Zirak you fucking around?
!!info coffee
@rlemon Command coffee, created by God, invoked 2 times
!!help coffee
@Zirak coffee: Forwards message to coffeescript code-eval
!!forget coffee
15:55
@rlemon You are not authorized to delete the command coffee
@SomeGuy Managed to figure out one of the comedians I was thinking of: Gary Gulman
sonofa
!!coco or coffee
@rlemon coffee
@Retsam Oh, yeah, I got one of his shows from the Humble Comedy Bundle. Planned on watching it soon
15:56
Oh, sweet. I bought that by accident.
ooohh
i'll just use the keywords from now on
!!choose CoffeeScript or CocoaScript
@eazimmerman CoffeeScript
@OctavianDamiean I got the party girl
16:16
@eazimmerman neither
so what do we want !!afk to do?
e.g. if someone pings you while you're afk, should the bot be all like "bitch they aren't here."
@Shmiddty yes, but put the bot's response to a delay. like once every 5 minutes or so
@eazimmerman should be simple enough
how do you cancel an afk?
the tricky part is going to be detecting pings.
it shouldn't be difficult to match the full username
I can ping @Zir and Zirak will be pinged.
16:21
cancelling an afk would just be another command !!afk or !!back or something.
And auto-detected, if a user posts a message after he declared himself to be afk?
...it searches SO?
@BenjaminGruenbaum Out of joy or bitterness?
@AwaisAmir 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.
16:24
@Zirak yes. It's like stack search.
@BenjaminGruenbaum worst idea ever.
@Shmiddty That's what I said, guy involved called me a "clown" lol, fun stuff.
I'm not sure I see what's so bad about it, though I can certainly see how it'd be misused. Elaborate?
@BenjaminGruenbaum Oh wow wtf
@BenjaminGruenbaum must have never tried to help someone who copy-pasted everything.
16:26
That's what development is, blind copy pasta - right jQuery joe?
Oh wait, we don't need jQuery Joe, we have @jAndy :P
@jAndy I just found out about this game. It's pretty cool. You just play it all the time. It's a lot of fun. But you lost it.
It has potential but most users won't learn anything.
@eazimmerman A what now?
flow~
or whatever it is called
Just saw the video example...that is horrible
16:36
@Zirak Haha
what's the difference between using that extension and using a browser to find an answer to the same question?
Because this is lazy copy-pasting
You don't even see the question
"lazy copy-pasting" is redundant
@eazimmerman no it's not, sometimes copy pasting is ok.
It brings blind copy-pasting to a new level!
16:37
Now when it's from a random SO answer and especially not when you don't know what the code does.
No versioning, no tests no nothing. There are ok ways to extract useful code, use an NPM module, a library, whatever.
@BenjaminGruenbaum How did you get to it?
@Zirak The !!afk command needs to IO.register("input", callback, thisObj) to check messages, right?
@Zirak i didn't realize it only shows the answer.
and the comments are hidden
@Zirak Computer Science HUJI (Hebrew University) students group. Someone posted it under "cool new startup" - I responded with "I want to cry" and he called me a clown. Fun stuff.
@Shmiddty yeppers. You can look at source/plugins/STOP.js for an example.
16:48
@Zirak for the command fun, the message object is the only argument?
7658
I should probably download the bot source or something, huh?
@Shmiddty IIRC yes
@Shmiddty It won't hurt, plus it's kinda fun to read because Zirak wrote it.
Hmm, yeah, I think that copy paste thing would be nice if it included the answer and all the comments as comments.
So, did most people solve the last 2 "You can't javascript" problems recursively?
16:52
@Retsam only the last one
the second to last didn't need it
iirc
@Jhawins Bss jst snppd an wt o a rnt abt hw th mjrty o m gnrtn (<28 ar "fckng rtds"
@Shmiddty Probably not. I just like recursion more than most normal people.
After some thought the 2nd to last could be solved recursively, but when someone says "turn an array into a value", I think reduce
@Zirak get her drunk and then ... play dungeon explorer with her.
16:54
Actually...I kinda put her in the dungeon
You free for a minute?
@Zirak Yes.
I got a little stuck on the file extension one because I was doing it with regex, and I'm never good at keeping track of js regex functions...
Though, lastIndexOf would have probably been a better solution.
user1596138
@SomeKittens > Somehow, Silicon Valley ended up in San Francisco, which is horribly expensive.
user1596138
Not really the right way to look at that. San Francisco is more expensive because silicon valley is there, no?
16:58
^^
@Retsam the test values were simple enough that i.split('.')[1] sufficed.
Yeah; they didn't give any multiple . examples which I thought was odd.
@Zirak Party girl?
Terraria
What is going on with Terraria?!
17:02
A lot of really weird shit
There are like 10 different tables
@Zirak Did you manage to find someone to take over the bot maintenance?
user1596138
^
Octavian seems to want in, but besides that, nope.
user1596138
I would help out, but I'm not sure what all "bot maintenance" entails.
I'd be up for it after my exams in Feb.
17:12
@Jhawins Replying to bug reports/feature requests & implementing them.
user1596138
@rlemon Hahahaha
user1596138
@BenjaminGruenbaum Why exactly? Obviously it encourages re-using code, which can be good and bad, but other than that?
I'd rock out with my ....
textbook over my lap.
user1596138
Nevermind. Didn't read quite all of it when I sent that.
17:16
@Jhawins It encourages copy-pasta instead of actually knowing what the code does or using a library which updates itself and works dependencies out. It just randomly picks code from SO answers, untested probably PoC and incorrect code.
user1596138
@Zirak I guess I am on here 12-7pm 5 days a week... If you need someone else (and you'd trust me with your baby) let me know.
user1596138
@Somekittens where are you from in upstate NY? I've been to pottersville/schroon lake area a few times. I've always wished I could live in the mountains like that.
user1596138
@BenjaminGruenbaum I understand now, I hadn't read through enough to see that it really just picks whatever.
user1596138
Flow automates the process of browsing through Q&A sites (like StackOverflow) and reading exhausting online documentation
user1596138
17:21
^ Those are basically required for good coding. And it supposedly automates them.
@Shmiddty What a good boy you are!
@Andrea 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.
I still like the user-made command more, though.
user1596138
@Shmiddty Awesome!!
it's not done yet
I still need to figure out message parsing (to get the invoking user name, the message, etc)
and how to send direct responses.
user1596138
17:24
@Shmiddty There's a direct message function of some sort already.
I know
@mustaine 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.
@user2738336 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
Yesterday I was just going through source code for Caprica trying to grasp how exactly everything works.
I have posted a backbone.js collections question here if anyone can take a look stackoverflow.com/questions/19186116/…
thanks
@AbhishekHingnikar your pen was picked
17:30
Just wondering, I have a script that checks to see if the username is taken. The $.ajax({ makes a get request to a php file, which echos taken if the name is taken, or blank if it's not taken. If I click the submit button, it will take me to that PHP file
Not sure why it's happening :/
If I click the back button, then it shows the original registeration page with the "Submission was successful" but by default it loads up the page where the username is being checked.
@Shmiddty Neat!
@Akari 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.
@Shmiddty console.log the argument, and look at source/plugins/welcome.js for replying to a user (replying to a message is directreply instead of reply, something like that)
Also, there're some utility functions already - if we want the afk messages to be persistent, you have bot.memory. Accessing a random array variable is shimmed already, arr.random()
And IO's input event should really be given a Message object, or at least have an input event on the bot.
17:46
yay Friday
@Zirak I'm not sure we care about persisting the afk messages
(or, at least, I don't care)
IO.register("input", function(msg){
    var msgBod = msg.content.toUpperCase();
    if(!~msgBod.indexOf("@")) return; // We only care about messages with pings.

    Object.keys(demAFKs).map(function(name){
        if (!!~msgBod.indexOf('@'+name)) respond(name, msg);
    });
});
@Ant 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.
@Zirak what does a Message look like?
Note that you get a bot.Message on commands/listeners. When you listen to register, you get the raw msgObj
(well, it's a single object in r#.e)
hellooooo
i have some promises questions, any body heerre
17:55
!!welcome Strawberry
@Strawberry 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
!!welcome CapricaSix
@CapricaSix 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
!!tell CapricaSix welcome CapricaSix
@CapricaSix 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
17:56
Nicely done.
So is callback hell the ONLY problem that the concept of Promises solves?
@Strawberry More like "Callback mild discomfort"
people like exaggerating to get karma on HN
user1596138
@Zirak new bot pic?
user1596138
fun: function(msg){
        // parse the message and stuff.
        var user = msg.get("user_name").toUpperCase(),
            afkMsg = msg.get("content");
something like that?
17:58
@SomeKittens Well, when you start modularizing code, the callbacks just become kind of crazy, because you're trying to bubble up the error to the top.
define "kind of crazy"
There's just so much layers of callbacks, unless I'm doing it wrong.

« first day (1084 days earlier)      last day (4089 days later) »