[00:00] Tobsn: why? [00:00] Tobsn: its working pretty well for me [00:00] justin_: disclaimer: i'm at rdio.... can't pay the royalties [00:00] Tobsn: i pay 5 bucks a month and i can download all the songs on my iphone [00:00] topfunky: can anyone recommend a good Javascript beautifier/indenter? I'm using http://github.com/einars/js-beautify and it does weird things to anonymous functions. [00:00] justin_: Tobsn: too many people use it for free [00:00] Tobsn: i thin kits pretty sweet [00:00] mape: ryah: but the neighbours don't seem to mind that other people work so they are playing some untz untz untz music right now [00:00] justin_: and they cost too much [00:00] Tobsn: justin_, not sure... all my friends use it at work etc. and most of them are subscribers [00:00] daleharvey: justin_: you work at rdio? [00:01] justin_: daleharvey: yeah [00:01] Tobsn: justin_, you heard what i ranted about hulu? those guys will not survive [00:01] justin_: hulu won't? [00:01] justin_: no, i didn't see that [00:01] Tobsn: yep [00:01] Tobsn: well [00:01] Tobsn: you know about hulu plus right? [00:01] justin_: hulu's backed by the industry [00:01] daleharvey: I thought this room was #node.js, not #awesomemusicstartups [00:01] justin_: yeah [00:01] Tobsn: so i got an invite the other day [00:01] Tobsn: i logged in [00:01] Tobsn: and directly subscrubed [00:01] Tobsn: for 9.99 a month [00:01] JimBastard_: all startups are just degenerative forms of node.js [00:01] justin_: Tobsn: me too [00:02] Tobsn: just to find out that the "this season" shows are all ABC shows you can already watch for free on ABC and the abc player on your ipad [00:02] Tobsn: and that its packed with commercials [00:02] justin_: yeah, it's pretty bad right now [00:02] Tobsn: i wrote them an angry mail wtf that shit is about [00:02] TS_ has joined the channel [00:02] brianleroux has joined the channel [00:02] Tobsn: because netflix is 8.99 a month and there are no ads and they have probably every fuckin movie ever made in their db [00:02] Tobsn: + last season shows [00:03] Tobsn: so they replied me back that they have to show ads or the subscription fee would be bigger [00:03] Tobsn: that was actually the moment where i went to my account and hit the cancel subscriotion link [00:03] Sembiance: Tobsn: maybe someone should make a netflix where they rent you audio CD's :) [00:03] justin_: Tobsn: yeah, hulu's advantage is the currently playing stuff, but they're not serving that on hulu plus :( [00:03] Tobsn: yep [00:03] Tobsn: it totally blows [00:03] justin_: i just want to get rid of comcast [00:04] justin_: but comcast owns part of nbc who owns part of hulu [00:04] Tobsn: esp the fact that they have 90% of ABC shows in their hulu plus area which i can watch for free on the ABC site [00:04] justin_: shouldn't that be illegal? [00:04] Tobsn: which makes absolutely no sense to me [00:04] Tobsn: idk [00:04] Tobsn: i think hulu was nice at the start [00:04] rsms: ryah: seems like net.js:896 is asking the dns module to lookup undefined -- my code does not check the input type. [00:04] Sembiance: the easier it is to get current shows on your TV, the easier it will be for you to cancel your cable. Comcast cannot allow that (because they are dumb) :) [00:04] Tobsn: and now they probably have some greedy new CEO whos all about making money and pleasing the stations [00:05] Tobsn: thing is, who really watches shows every week [00:05] Tobsn: i just let them run and catch up when the whole season is over [00:05] Tobsn: cause the one week wait + the summer breaks drive me nuts [00:05] Tobsn: look at happy town, pretty cool show - summy break after episode 8 [00:05] Sembiance: I kinda wish SciFi would come out as a Pay channel, like HBO/Showtime. I'd gladly pay to see new shows like Firefly, Stargate, Star Trek, etc. [00:05] Tobsn: thats just dumb [00:05] Sembiance: I like how I said 'new shows' but then named a bunch of old series rofl [00:06] Tobsn: Sembiance, you can just watch those on netflix [00:06] Tobsn: xbox + netflix = awesome. [00:06] Sembiance: Tobsn: I mean, I'm willing to FUND the creation of new ones :) [00:06] Tobsn: oh [00:06] Tobsn: haha [00:06] danielzilla has joined the channel [00:06] Tobsn: well, i think it gets harder and harder for those tv stations to fund such nerdy shows like firefly was [00:06] Sembiance: or a Dr. Horrible 2 :) [00:06] JimBastard_: ahh here we go, i found zalgo in javascripts [00:06] JimBastard_: http://www.eeemo.net/ [00:07] Tobsn: thats why jersey show season 2 started... [00:07] Tobsn: ;) [00:07] Tobsn: its cheaper and targets a bigger audience to have a bunch of complete losers jumping around in a rented beach house [00:08] Tobsn: i mean, think about it... the production costs are basically nada compared to star trek [00:08] Tobsn: like 10 seasons of a jersey show production are probably the same cost as one episode of star trek or firefly [00:09] Tobsn: .o( what i want to see is new eps of chin chan :P ) [00:09] MikhX has joined the channel [00:10] MikhX_ has joined the channel [00:10] SubStack: mape: you crazy! (nice stackvm ui!) [00:11] mape: :) [00:13] pkrumins: :D [00:18] rsms: ryah: finally found the problem -- the error lies in the test: a race condition occur when the client tries to connect to the server at the same time as the server starts listen()ing. Waiting for the server to start solves the problem in this case: http://gist.github.com/518263 [00:20] Wandrewvious has joined the channel [00:23] gormer has joined the channel [00:24] grantmichaels has joined the channel [00:28] jashkenas has joined the channel [00:33] ryah: rsms: oh - okay [00:33] rsms: ryah: I'll squash everything into one patch and send it over. just running a final test-all to be sure [00:33] ryah: rsms: okay [00:34] ryah: i'll do the "listening" ones in a different patch [00:34] rsms: ryah: okay. I'll gist my patches so you can spot the cracks. hold on [00:35] rsms: ryah: https://gist.github.com/3886345c4d36bf84e9f9 [00:36] rsms: ryah: that's only the patches to tests, not the dns stuff (I'll squash those into one in a minute) [00:36] mattly has joined the channel [00:36] ryah: fucking test/simple/test-dgram-unix-anon.js has a race condition [00:36] ryah: gr [00:36] rsms: :P [00:36] ryah: ACTION looks at mjr_  [00:37] MikhX has joined the channel [00:37] mjr_: uh oh [00:38] ehaas has joined the channel [00:38] mjr_: what's the race? [00:39] romainhuet has left the channel [00:39] mjr_: I guess you can tell me in a few minutes. [00:40] ehaas has left the channel [00:42] zemanel has joined the channel [00:43] ryah: mjr_: setTimeout [00:43] sztanphet has joined the channel [00:44] CIA-77: node: 03Ryan Dahl 07master * r3d551e5 10/ lib/fs.js : Close fd on readFile(emptyfile) - http://bit.ly/cwy04G [00:44] megan has joined the channel [00:45] rsms: ryah: squashed patch is wrapped up and ready. want it through mail or as a gist? [00:46] rsms: ryah: http://gist.github.com/raw/518293/nodejs-0001-lib-dgram.js-only-look-up-hostname-for-the-requested.patch -- let me know if you want it by mail instead. [00:47] ryah: rsms: i think i got it already? [00:48] ryah: or did you make other changes? [00:49] rsms: ryah: yeah, I made one small change: when passing a false value as the first argument to dns.lookup the callback is instantly invoked with its 2nd argument to null (as per contract in the test) [00:49] ryah: ok [00:49] creationix has joined the channel [00:50] [[zz]] has joined the channel [00:52] rsms: ryah: I've compared your squashed version to mine -- the only differences are that mine contain an updated version of the dns test and this addition (what I was talking about earlier w/ null addr) http://hunch.se/s/41/1dr80n2vy8cg8.png [00:55] khug has joined the channel [00:55] khug has left the channel [00:55] statico- has left the channel [00:55] rsms: justin_: are you "JustinSD"? [00:56] softdrink has joined the channel [00:56] rsms: justin_: oh... you're my colleagues enemy I see ;) [00:56] justin_: rsms: no, I don't know who JustinSD is [00:57] justin_: is JustinSD your colleagues enemy or your colleague? [00:57] rsms: justin_: ok (he's on the nodejs mailing list) [00:57] justin_: gotcha [00:57] rsms: justin_: you are, working for rdio ;) [00:57] brianleroux has joined the channel [00:57] justin_: yeah, we have a lot of enemies it seems [00:57] justin_: where's he at? [00:58] JimBastard_: nodenemies [00:58] JimBastard_: the greek god of javascript battles [00:58] CIA-77: node: 03Ryan Dahl 07master * r9395786 10/ (3 files in 2 dirs): Fix race conditions in tests - http://bit.ly/8YYXFd [00:58] CIA-77: node: 03Rasmus Andersson 07master * rfd3cd75 10/ (doc/api.markdown lib/dgram.js lib/dns.js): [00:58] CIA-77: node: [dgram] only look up hostname for the requested address family [00:58] CIA-77: node: - [lib/dns.js] dns.lookup takes a new optional argument "family" which [00:58] CIA-77: node: should be the integer 4, 6, dns.AF_INET or dns.AF_INET6. Passing a [00:58] CIA-77: node: non-false "family" argument makes c-ares explicitly look up addresses for [00:58] CIA-77: node: the specified family. [00:58] CIA-77: node: - [test/simple/test-c-ares.js] test explicit address family lookups - http://bit.ly/91XjUy [00:58] ryah: rsms: thanks [00:58] Tim_Smart has joined the channel [00:58] rsms: lol linebreaks in commits makes the irc party [00:59] rsms: ryah: thank _you_ [00:59] rauchg_: creationix: [00:59] rauchg_: see you in a bit [00:59] rauchg_: boom [00:59] creationix: :) [00:59] rsms: justin_: who's at where? (I work at Spotify) [01:00] justin_: rsms: i see, i misunderstood [01:00] charlesjolley- has joined the channel [01:00] rsms: justin_: :) [01:00] justin_: rsms: we're all friends i think [01:00] justin_: rsms: for now... [01:01] justin_: rsms: just stay on your side of the atlantic and we'll be fine ;) [01:01] rsms: justin_: haha. yeah. let's see what happens when Spotify enters the US... war, WAAAAR! ...or we'll all just hug each other and so on. [01:01] matt_c has joined the channel [01:02] Tim_Smart: rsms: Well there is already Grooveshark [01:02] Tim_Smart: I just purchased VIP for that the other day - only downside is all the flash [01:02] rsms: Tim_Smart: Way to much useless pixels imho ;P [01:02] rsms: s/much/many/ [01:02] Tim_Smart: And their iPhone app got rejected ;( [01:03] Tim_Smart: Another reason to jailbreak [01:03] rsms: Tim_Smart: oh... yeah, they are also on the grey side, legally speaking. [01:03] jb55: so I have this c++ library that uses libevent throughout.. I assume if I convert the libevent->libev calls and plop it in a node module, the library will then live in node.js's event loop, right? unless I'm missing something. [01:03] Tim_Smart: rsms: Yeah, sharks are always on the grey side. [01:03] matt_c: rdio seems interesting and a little more compact, definitely on the legal side and has mobile apps. It costs though. [01:03] wattz: who else is going to the node meetup in Alto? [01:04] rsms: Tim_Smart: I mean, you pay for the coffee in the coffee shop, right. So I guess you should pay people who make music also. [01:04] Tim_Smart: rsms: I'm VIP, so I am paying something [01:04] Blink7 has joined the channel [01:04] JimBastard_: things that should be free: music, code, sex. #bastardfacts [01:04] rsms: matt_c: yeah, Rdio is looking nice! It's not avail outside of the US yet though (afaik -- right justin_?!) [01:04] technoweenie has joined the channel [01:04] rsms: Tim_Smart: yeah, but I don't think you're paying the artists [01:05] wattz: i think i have an rdio account [01:05] wattz: got invited [01:05] rsms: JimBastard_: lol yeah, in a perfect world. [01:05] justin_: rsms: haha, yeah, just US and canada right now [01:05] matt_c: it's way harder than it should be to pay artists. I try to buy CDs directly from them whenever I can. [01:05] Tim_Smart: rsms: Not sure. I remember they did some negotiations with some agencies. Not sure on the conclusion there. [01:07] justin_: rsms: grooveshark has deals, but from what i understand they got screwed cause they operated illegally for so long [01:07] justin_: i don't think they're making enough to make it long-term with the deals they currently have [01:08] justin_: i don't know any of this [01:08] justin_: all hearsay [01:08] rsms: justin_: yeah, and thus them being in the "grey zone" :) [01:08] wattz: ok, so need input, johnny 5 style [01:09] wattz: i have a bunch of the basic system stuff neded for Bob (like waf, sorta) [01:09] wattz: need some syntax suggestions for the Builder/.js file [01:11] JimBastard_: hee hee [01:11] JimBastard_: what does it do wattz ? [01:11] wattz: >_> [01:11] wattz: well, waf kept fing on me [01:11] wattz: Jake was as system native as I would of liked [01:11] wattz: Bob is closer to Make [01:11] rsms: JimBastard_: wattz is recreating Microsoft Bob... not a pretty sight [01:11] overra has joined the channel [01:11] wattz: but you could use it for things like build/compressing js too [01:11] wattz: rsms: no no [01:12] wattz: my 3yr old named it [01:12] wattz: Bob the Builder [01:12] rsms: http://en.wikipedia.org/wiki/Microsoft_Bob [01:12] JimBastard_: i saw some fucked up build code on github http://github.com/Marak/Faker.js/blob/master/BUILD/BUILD.js [01:12] JimBastard_: http://github.com/Marak/data-behaviors/blob/master/Ted.js [01:12] JimBastard_: dude had this thing talking out the speakers and shit [01:12] wattz: lol [01:13] rsms: JimBastard_: OMGLOL as the kids text it — it uses OS X `say` [01:13] JimBastard_: http://github.com/Marak/javascript-fu/blob/master/BUILD/BUILD.js [01:13] wattz: Bob is in a private repo right now [01:13] JimBastard_: http://github.com/marak/say.js [01:13] JimBastard_: :p [01:13] JimBastard_: im the best codar evar [01:14] rsms: marak is funny [01:14] JimBastard_: _ _ _ _ _ _ [01:14] JimBastard_: | | | | |\ | [01:14] JimBastard_: |_|_| | | \| [01:15] joshbuddy has joined the channel [01:15] JimBastard_: '########::::'###::::'####:'##::::::: [01:15] JimBastard_: ##.....::::'## ##:::. ##:: ##::::::: [01:15] JimBastard_: ##::::::::'##:. ##::: ##:: ##::::::: [01:15] JimBastard_: ######:::'##:::. ##:: ##:: ##::::::: [01:15] JimBastard_: ##...:::: #########:: ##:: ##::::::: [01:15] JimBastard_: ##::::::: ##.... ##:: ##:: ##::::::: [01:15] JimBastard_: ##::::::: ##:::: ##:'####: ########: [01:15] JimBastard_: ..::::::::..:::::..::....::........:: [01:15] JimBastard_: there we go [01:15] wattz: so pastie/gist me some ideas on what you think would be a good syntax for a build program. [01:15] JimBastard_: ahahaha [01:15] rsms: *JimBastard_ connection reset by server* [01:15] JimBastard_: ahahahah [01:16] rsms: http://hunch.se/stuff/unicode-playlists-ftw.png ← speaking of asci artz [01:16] isaacs: i love that say's demo and license are WAY bigger than the actual code. [01:16] JimBastard_: win [01:16] wattz: awwww... [01:16] JimBastard_: isaacs: you gotta put that shit up or HN will yell at you [01:16] wattz: closure compiler is in java.. [01:16] JimBastard_: :-( [01:16] isaacs: hm. hn never yells at me. [01:16] rsms: wattz: seriously? your'e building a build program? [01:16] wattz: yeah [01:16] wattz: Bob the Builder. [01:17] Tobsn has joined the channel [01:17] JimBastard_: ill give you 50 internet dollars if you call it Microsoft Bob [01:17] isaacs: it just ignores me. [01:17] charlenopires has joined the channel [01:17] rsms: wattz: I've wrapped closurecompiler up into a node module, if ya interested [01:17] rsms: wattz: http://github.com/rsms/oui/blob/master/oui/builder/closurecompiler.js [01:17] aliem has joined the channel [01:17] wattz: c++? [01:17] rsms: wattz: it's slow (doh!), but it works [01:18] rsms: wattz: HTTP++ [01:18] wattz: :D [01:18] wattz: lol [01:18] jashkenas has left the channel [01:18] wattz: rsms: i just wasn't happy with other build programs is all [01:18] wattz: and Make is a pain in the ass [01:19] rsms: wattz: oh, uh... it's crazy old and uses promises. but hey, just rip it out and re-write it. it's childs play i guess. code is free [01:19] wattz: rsms: make? [01:19] rsms: wattz: yeah, but I freakin' promise you that you will only get headaches from trying to invent a new build program. sorry. [01:19] deepthawtz has joined the channel [01:20] wattz: rsms: you don't know me to well, lol [01:20] wattz: I love it [01:20] rsms: wattz: no, the closurecompile node module is very old. Uses an old node API which is long gone. [01:20] wattz: i program 24/7 if i could [01:20] wattz: ahh [01:20] wattz: yeah, not using that [01:20] Tim_Smart: rsms: Also http://github.com/Tim-Smart/node-closure [01:20] rsms: wattz: then improve waf where it needs to? [01:20] wattz: rsms: where's the fun in that? [01:20] wattz: :D [01:20] isaacs: ryah: "In the browser load JavaScript from a script tag is non-blocking" <-- not true [01:20] wattz: dude, im doing it for fun [01:21] rsms: Tim_Smart: wattz: _no way_ I install java on my machines. sorry. [01:21] wattz: just like my C++ mysql/node driver, my ImageMagick for V8 [01:21] isaacs: ryah: