« first day (1383 days earlier)      last day (3577 days later) » 

8:01 PM
3 messages moved to Trash can
 
if the code wasn't ~200 lines long I'd care more
 
1) promises replace callback soup. don't troll
2) I wasn't talking to you
3) I really wasn't talking to you
 
Dammit, the deer nuts are in the trashcan
 
@rlemon I'm unclear who you are talking to when you say "I wasn't talking to you", and I'm not clear why you think I (or someone else) is trolling?
 
> Promises were removed from node a while back. It uses callbacks now.
is not only false, it is grotesquely false.
and I wasn't talking to you before - and I'm going to continue that now.
have a nice day
 
8:05 PM
0
Q: Accessing promise's elements which are objects and not simple types

user3799365I have a study, which has multiple cases and multiple executionMessages. Also each case has multiple executionSteps. I am able to access the study, the case and even each case's executionSteps. I cannot figure out why I cannot access the complete executionMessages. By that I meant each executionM...

 
so?
node removed a broken promise implementation
there are many others out there you can use
Promises > callback soup
 
isnt that why we have bluebird?
 
@DavidManheim lol, that's quite old. It's far from what we call promises nowadays.
 
bluebird is one promise library
 
8:06 PM
@rlemon They removed promises. Are you suggesting I use a library? Which one? I'd be happy to figure out what to do to fix this
 
0.1 is like... what, 2-3 years?
 
bluebird is love
 
!!google bluebird npm
 
Got it, so I can use bluebird. Thanks for the eventual help.
 
8:07 PM
promises have been added in ES6, which node.js already supports in 0.11, I think?
 
Good golly miss molly
 
2
A: Native Support for Promises in Node.js

ChrisNode.js added native promise support since version 0.11.13. nvm install 0.11.12 nvm run 0.11.12 > Promise ReferenceError: Promise is not defined > console.log(process.versions.v8) 3.22.24.19 nvm install 0.11.13 nvm run 0.11.13 > Promise [Function: Promise] > console.log(process.versions.v8) 3.2...

@DavidManheim ^
 
yea I was pretty sure they were still native
but I still use BlueBird
 
@rlemon did you read his link?
 
I wasn't even talking to him before
I was fucking around with RUJordan
so no
 
8:08 PM
it was about an old promise implementation, removed in node.js 0.1
 
Are promises more of a standard, or just a personal preference?
 
ohh
 
yea.. lol
 
s/around with//
lawl he salty
 
8:09 PM
native promises (es6 promises) have been added since nodejs 0.11.13
 
sorry I dont wanna debug 200 lines of php brah
 
@NickDugger es6 includes promise specification
 
@FlorianMargaine specification?
Like, requirements for promise libs or it includes a promise lib?
 
promise/A+ is included in ES6
@SterlingArcher it includes a Promise object, with a then method and a couple of other stuff
 
Very cool
So we can play with the Promise proto mebbe?
 
8:11 PM
... it's available since chrome 32 too
Promise
function Promise() { [native code] }
 
!!> Promise
 
@SterlingArcher "function Promise() {\n [native code]\n}"
 
I'm confused -- if ES6 isn't out, how can chrome use it?
And how do you keep up with all this? Everyday I feel like more things come out and I have no idea
 
@SterlingArcher chrome and firefox support ES6 bits release after release
 
Do you learn all this from blogs by google or something?
I don't read tech blogs cause I don't know any good ones
 
8:16 PM
Chrome only has a small number of ES6 features implemented
 
I talk with people here
 
I think
 
@SterlingArcher for tech news, I'm subscribed to javascriptweekly.com and html5weekly.com
also, reddit
 
Subscribed!
Thanks :) I don't reddit though. I already waste too much time dicking around the internet
 
8:19 PM
!!> Promise
 
@rlemon "function Promise() {\n [native code]\n}"
 
noice, cap has promises
 
and am back up
 
8:35 PM
@RyanKinal But for the rest of you, it's the day which coincides with your expulsion from a uterus.
@Shmiddty Another half a decade
 
@Zirak i began my journey for a DSL
just to realize i had my own.
 
!!urban dsl
 
didn't knew its called DSL x>
 
Hi birthday boy!!
 
@Zirak except a dead badger in the mail
 
8:37 PM
@Shmiddty domain specific language
 
I know
 
my query parser for natural language in snapick is a HECK of a dsl :P
but the articles am reading makes it better :-)
 
@BadgerGirl hey, I actually got a package I'm supposed to pick up
 
@Zirak is it those 94 year old dangling nuts? :P
 
8:39 PM
> this means dick sucking lips
 
@Zirak From now on, I believe I'll call it "Uterexodus Day"
 
they must be past your knees by now
 
@RyanKinal hehehe
 
Or perhaps "Uterexpulsion Day"
 
8:40 PM
@SterlingArcher Here, maybe learn something old: document.designMode, document.createTreeWalker
(the two are unrelaterd to one another)
 
I just want to know more about document.createSkyWalker
 
@Zirak It might be a dead badger, don't open it
 
@BadgerGirl But...
 
I've actually heard of a TreeWalker before, but I forgot everything about it
 
8:43 PM
@BadgerGirl Better than opening a live Badger
That sucker would be angry
 
So a TreeWalker iterates nodes and makes an array of nodes? (A nodelist?)
 
TreeWalker says "don't worry bro, I'll walk them for you". You then call next (or whatever) whenever you want to get the next matching node.
 
document.createEnt
 
document.Other.createWight
 
8:46 PM
> Badger my ass it's probably just Millhouse
> ...It's a badger alright. Or possibly a griffin.
XD
 
@Zirak happy bday, sir.
SO sidebar will not be ignored.
 
@Zirak Congratulations on another year not pushed down the stairs by a resentful spouse!
4
 
@monners or another year surviving the fall...
 
Happy bday @Zirak :)
 
@canon Touché
 
8:59 PM
Sometimes I feel like pushing a specific coworker down the stairs...
 
Thank you one and all
 
@NickDugger Don't we all. Don't. We. All.
I am seriously feeling the pressure at work these days
Almost all my coworkers are on vacation, which leaves me having to deal with a lot of problems
 
happy hump day
 
I don't think the problems themselves are stressful.. I think it's mostly how we treat problems that makes me want to pull my hair out
 
I might die soon.
 
9:04 PM
I think that might actually be worse than my situation
 
Went out for some steaks, on the way back, passed by a pancake place.
 
It's a good kind of "I want to die" feeling though, ain't it?
 
It has the most awesome pancakes, there's everything that'll kill you...on a pancake.
Whipped cream, nutella, eggs, cheese, etc etc. You choose.
Had one with white chocolate, another with nutella. And then a milkshake.
That's after the steak. There's no way I'm waking up tomorrow
 
Awesome way to die, man
 
Towards the ending of Monty Python and the Meaning of Life? I'd pick death-by-pancakes over it.
 
9:08 PM
Would be a close call though. Who wouldn't die due to the uncertainty of knowing your favorite color?
 
African or European?
 
> You're welcome Kumar. Pancakes are fucking gaaaayyyy... -Wafflebot
XD
Good ol' wafflebot
 
-1
Q: Basic JS syntax error?

user3216221I'm primarily an server side developer and have weak understanding of Js. I'm trying to make a basic form that submits a hidden token to the server. The server gets fields such as the name field. But pretty sure that the token field isn't being generated. $(function() { $('form.require-validat...

oh oh, very bad title
 
that's brilliant
most expensive microcontroller project ever
 
@KendallFrey hehe, everyone's jamming their fingers into their ears, the dude on the right is all "whatever"
 
9:13 PM
@KendallFrey Think how much that cost in gasoline to play that song
 
heh
jamming
 
I've gotten addicted to racing recently
 
!!afk ping @Zirak with birthday wishes!
 
@KendallFrey dare I ask what you're racing?
Are you racing yourself?
 
Other cars, slownuts
 
9:15 PM
The sun, but it's sinking
 
That game looks lame
 
As it's racing around to come up behind you again
 
@Zirak gist.github.com/rlemon/3465aae0081cacbbaa6e rlemon is away from my pc for 5 days
incase I go down.
 
Happy birthday dear Zirak :-)
 
9:23 PM
:It's the President: :O
 
Thank you, president of some 3rd world country
 
Is there such thing as a 2nd world country?
inb4 canada
 
Ca--... ...lypso?
 
The Second World refers to the former Socialist, industrial states (formally the Eastern Bloc), mostly the territory and the influence of the Soviet Union. Following World War II, there were nineteen communist states, and after the fall of the Soviet Union, only five socialist states remained: China, Cuba, Laos, North Korea and Vietnam. Along with "First World" and "Third World", the term was used to divide the states of Earth into three broad categories. In other words, the concept of "Second World" was a construct of the Cold War and the term has largely fallen out of use since the revolutions...
holy shit there is
 
@Zirak Welcome. This is a high privilege for you. The day of your birthday. How many times should your ears be pulled?
 
9:27 PM
-2
Q: Passing arguments in a javascript function is not working

RahulI am bit unclear in understanding why this below piece of code is not showing the message box, http://jsfiddle.net/KendoDev/p8Mk2/ function findMax(var x, var y) { //alert("x is:" + x + " y is: " +y); var max = 0; if(x>y) max = x; else max = y; alert("max is...

so many answers...
 
I'd prefer 0, thank you
 
Ok then! Just a cake will suffice!
President is gonna sleep. Green.. err White House jobs await me tomorrow. May you be blessed your age*1000 Zirak. Good night everyone!
 
WHY WOULD YOU ENABLE HIM TO LIVE TO 94000 YEARS?!
 
> "will do you too" ~ my designer
PUNCTUATION, MAN! PUNCTUATION!!!
 
Plot twist: intentional
 
9:35 PM
lol
 
"too is a good friend of mine"
 
My assumption is that it was supposed to be "Will do. You too."
Two separate sentences
 
Your assumption is going to land you in a very awkward game of "just the tip" if you're not careful.
:P
 
:runs away:
 
You can run from the game, but the game always wins.
@jandy sorry. ^
 
9:39 PM
Anyway... I'm out for the night
!!afk home, food, beer, guitar... not necessarily in that order
 
@RyanKinal have a great night
 
Looks like something Tim Burton would do
 
anyone good with angular js who would like to work on something cool and be paid for it, for a few hours?\
 
@DanP. 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.
 
@DanP. no time, sorry
 
9:46 PM
:(
 
@SterlingArcher you're just mad because you know my quality of life is better ;)
Jelly much?
 
thanks @Loktar - good to know!
 
WHOA
we had an emergency at work today
 
@Seiyria np
 
9:58 PM
a tiny cute sparrow flew into the room next door, so we had to write javascript to remove it
 
Elders reacting to Twerking is hilarious
As is them reacting to Grind on Me
XD
@rlemon pft. In murica my quality of life is top notch
No drive by compliments here son
 
But there are drive bys
:p
 
Yeah, the best kind of all
 
The murder kill kind?
One word: Poutine
I win.
 
Actually I was more on the lines of drive by food ordering <.<
the fuck is poutine
murica has protein
close enough
 
10:01 PM
:O
!!wiki poutine
 
Poutine (/puːˈtiːn/; French: [putin], Quebec French:[put͡sɪn] ( )) is a common Canadian dish, originating in Quebec, made with french fries, topped with a light brown gravy-like sauce and cheese curds. This fast food dish can now be found across Canada, and is also found in some places in the northern United States and even the United Kingdom, where it is sometimes required to be described due to its exotic nature. It is sold in small "greasy spoon" type diners (commonly known as cantines or casse-croûtes in Quebec) and pubs, as well as by roadside fry wagons (commonly known as cabanes à patates...
 
cheese curds?
that doesn't sound too good, but gravy fries do
melted cheddar cheese would be better
 
Ew
Ask anyone
No it isn't at all.
Literally ruins the dish
 
I will think about this will I go home.
curds just sound nasty
 
Think similar to pizza mozerella
or, have you ever had "squeaky cheese" (colloquial)
!!afk going to get my new fish tank! booyah!
 
10:05 PM
@SterlingArcher I seriously can't imagine poutine with cheddar. That's too much flavour.
 
DAMN
I want some poutine so badly
the next time I go up to Vancouver or Victoria, I'm giving myself a poutine treat
anyone want to meet me in Vancouver RIGHT NOW?
 
I haven't had any really stunning poutine, mostly burger-joint meh stuff.
@rlemon Can you recommend a place with good poutine?
 
@KendallFrey rlemon is afk: going to get my new fish tank! booyah!
 
i know, stfu
 
are there poutine chains in Canada?
 
10:14 PM
@KendallFrey new york fries
canadian chain
best poutine
 
pootie chains
:s
another Canada-related question, is Calgary a nice place to visit for a day or is there nothing to do there?
 
Never been. If you like hockey, you can spend a few hours checking out a flames game
 
@Cereal I've been tempted to, but never got a NYF poutine.
@RalphWiggum I was in Alberta once, spent a day at the West Edmonton Mall.
I would love to see the Calgary Stampede someday.
 
I think I'll just spend the day getting drunk in Canada then
drunk + poutine
+ javascript
 
poutine.js
 
10:19 PM
man is being drunk overrated. I've been drunk twice (i have an exciting life). The nausea the day after negated all feelings the night before
 
@BenjaminGruenbaum I got the dead code analyzer built... gist.github.com/ircmaxell/ecef9b6f51d82ea0fd64 <-- It works :-P
 
@ircmaxell Building a JIT compiler from scratch?
 
I always regret getting drunk, but there's that brief period of time that I love it
 
@copy AOT... It doesn't really qualify as a JIT anymore... More of a "point it at a function, and it'll hand you back a compiled function"
especially since with the agressive optimizations it's not fast enough to be a JIT...
 
Oh, so it compiles without type feedback?
 
10:24 PM
it infers types, based on input and return type decoration
so you need to tell it the types of arguments and return values, and it figures out the rest
(or tries to)
 
Oh, neat
 
Basically, the goal is to compile as much as possible, but give up easily as well if code is "too dynamic"
but some mixed type will be supported (by forking the graph at nodes where the type may change)...
 
I like the idea of optimisation based on optional type annotations
Speed + type safety, I think this could get some people to actually use type annotations
But the idea doesn't seem popular
 
Yeah, this is a proof-of-concept
a recursive fibo(), I'm getting compiled speeds even with unoptimized C...
 
Actually, Cython is somewhat similar
It compiles Python (without much effect on performance), but also supports an extended syntax, which then can get compiled to faster code
 
10:39 PM
@ircmaxell nice
 
Well, it works as long as the loops aren't dependent upon user input ;-)
in those cases, I can't decide (otherwise I'd have solved the halting problem)
 
Not really
 
!!afk gnight
 
night
 
11:00 PM
Tillykke med dagen, @Zirak! (Danish birthday message).
 
11:12 PM
probably too late.. but you guys see you can change the dev console theme?
 
@Loktar Whaaaa?
 
@Loktar Which dev console?
 
11:29 PM
I have work to do
Thanks
 
@Cereal eh
@KendallFrey the fry shack places
but those are hit or miss.. umm. best poutine..
really the best poutine is the one you make yourself.
so they fucked up and didn't get my tank
but they had the same tank there - setup with shit in it. told them if they dropped $130 I'd take it
so they are cleaning it out right now. I gotta go back in a few minutes and pick it up
!!afk again..
 
thats the article I saw on it
sweet rlemon, got a deal!
 
11:48 PM
@Loktar Looks like it works on Opera too. Haven't actually downloaded the theme yet.
 
nice
 

« first day (1383 days earlier)      last day (3577 days later) »