[05:52] nodelog has joined the channel
[05:54] Sn0w_thc has joined the channel
[05:57] jacter has joined the channel
[06:04] mhausenblas has joined the channel
[06:10] kohai: @kadirpekel: lazy man chat via herodot :) http://t.co/NSACcMa #nodejs (link: https://github.com/coffeemate/herodot/tree/master/examples/lazymanschat)
[06:12] jakeg has joined the channel
[06:12] Sn0w_thc has left the channel
[06:13] matwill_ has joined the channel
[06:14] NetRoY has joined the channel
[06:14] zeade has joined the channel
[06:16] kohai: @prabier: “@sebmade: Node.js: Step by Step | Nettuts+ http://t.co/Va9OhBl” great link. Node.js is getting high traction here, in the silicon valley. (link: http://net.tutsplus.com/sessions/node-js-step-by-step/)
[06:18] mendel_ has joined the channel
[06:18] htoothrot has joined the channel
[06:21] Yoric has joined the channel
[06:21] amerine has joined the channel
[06:22] davidbanham has joined the channel
[06:25] sechrist has joined the channel
[06:26] Fredderf has joined the channel
[06:26] MonsieurLu has joined the channel
[06:27] MonsieurLu has left the channel
[06:29] `3rdEden has joined the channel
[06:30] Misao-chan has joined the channel
[06:31] kohai: @tariquesani: Node.Js Using Mustache.Js For Templating http://zite.to/kqhUOV (link: http://blogs.lessthandot.com/index.php/WebDev/UIDevelopment/Javascript/node-js-using-mustache-js)
[06:36] kohai: @krzychukula: Node.js Tutorial: Blog http://ff.im/-FMAPo (link: http://krzychukula.blogspot.com/2011/06/nodejs-tutorial-blog.html)
[06:37] ph^ has joined the channel
[06:39] coreb has joined the channel
[06:39] groom has joined the channel
[06:42] meso has joined the channel
[06:42] lackac has joined the channel
[06:45] djcoin has joined the channel
[06:48] Sn0w_thc has joined the channel
[06:49] Sn0w_thc has left the channel
[06:49] pigmej has joined the channel
[06:49] neoesque has joined the channel
[06:51] mendel__ has joined the channel
[06:53] fangel has joined the channel
[06:54] emattias has joined the channel
[06:58] matjas has joined the channel
[06:58] dguttman has joined the channel
[07:00] andree has joined the channel
[07:02] ph^ has joined the channel
[07:03] idefine: is it possible to flush a response to the client (using expressjs)
[07:07] kohai: @dezmozz: it takes 22 minutes and 37.141 seconds to build #nodejs on d #amazon #ec2 32bit linux free instance
[07:08] confoocious has joined the channel
[07:10] CodyGray has joined the channel
[07:10] kuya: hi, does anyone use vows? im trying to use the async returning an event emitter stuff but i cant get it to work. im returning an EventEmitter like in the examples and i can see its getting run properly but vows complains. http://dpaste.com/554451/
[07:11] djazz has joined the channel
[07:13] JoESanche_z has joined the channel
[07:14] kuya: huh, copying the exact example into my tests works... why doesnt mine :/
[07:15] dgathright has joined the channel
[07:17] herbySk has joined the channel
[07:18] jacter has joined the channel
[07:18] DelvarWorld has joined the channel
[07:24] ager__ has joined the channel
[07:24] masylum has joined the channel
[07:26] jetienne has joined the channel
[07:27] romanb has joined the channel
[07:28] Emmanuel__ has joined the channel
[07:29] Emmanuel__ has joined the channel
[07:31] kohai: @iamedu: @azc0t Si quieres un interprete de js te recomiendo node.js es la onda
[07:31] hojberg has joined the channel
[07:31] framlin: kuya: are you sure, that "result" is part of context ... because f is a callback and this might be context therefor
[07:32] dall has joined the channel
[07:32] jhurliman has joined the channel
[07:33] dall: hi
[07:33] beausorensen has joined the channel
[07:33] swistak has joined the channel
[07:34] JoshC1 has joined the channel
[07:34] kohai: @mickaelmorier: WebSocket, Node.js + Redis en démo chez Instagram http://t.co/f7oF2o1 (link: http://demo.instagram.com/)
[07:35] kohai: @dezmozz: @vamsee no clue abt it sir..am happy its running :D http://122.248.247.36/ my hello world on #nodejs #amazon #ec2 :)
[07:35] bosphorus has joined the channel
[07:35] cronopio has joined the channel
[07:35] darshanshankar has joined the channel
[07:36] [AD]Turbo has joined the channel
[07:37] fangel has joined the channel
[07:37] [AD]Turbo: hi there
[07:37] andrewfff has joined the channel
[07:38] kuya: framlin: yea its slightly odd looking but its correct - besides i can see that success is emitted
[07:40] kohai: @BACuTPOH: Немного о C/C++ модулях к node.js http://t.co/Pu7kfvj (часть первая, для домохозяек). (link: http://dixel.blogspot.com/2011/06/nodejs-cc.html)
[07:42] ph^_ has joined the channel
[07:43] saurabhverma has joined the channel
[07:43] msucan has joined the channel
[07:43] kuya: framlin: see the output at the end of this one - its definatly firing everything correctly http://dpaste.com/554463/
[07:43] simenbrekken has joined the channel
[07:44] kuya: i bet i know the problem...
[07:44] kuya: its probably resolving *too* quickly!
[07:45] yozgrahame has joined the channel
[07:45] kuya: yup...
[07:45] uchuff has joined the channel
[07:46] SamuraiJack has joined the channel
[07:46] ditesh|cassini has joined the channel
[07:47] pdonald has joined the channel
[07:48] asabil has joined the channel
[07:48] sreeix_ has joined the channel
[07:49] pigmej: what's the recommended documentation engine for node?
[07:51] kohai: @obazoud: add documentation to statusdashboard #nodejs application. http://t.co/Ux7GDrN (link: https://github.com/obazoud/statusdashboard)
[07:51] ryan0x2 has joined the channel
[07:53] Multiply has joined the channel
[07:55] tshpaper has joined the channel
[07:56] tiglionabbit_ has joined the channel
[07:56] tiglionabbit_: hi
[07:56] kohai: @halfageekinfo: node.js Community Event March 1, 2011 - Cloud Analytics Screencast http://is.gd/ygqFIN #javascript (link: http://javascript.halfageek.info/2011/06/09/node-js-community-event-march-1-2011-cloud-analytics-screencast-2/)
[07:57] topaxi has joined the channel
[07:59] davidbanham has joined the channel
[08:01] andrewfff has joined the channel
[08:01] uchuff has joined the channel
[08:01] Xano has joined the channel
[08:01] ajpiaNOU has joined the channel
[08:03] JoshC1 has joined the channel
[08:04] adambeynon has joined the channel
[08:05] pen has joined the channel
[08:06] aliem has joined the channel
[08:07] jakeg has joined the channel
[08:08] kohai: @stebrennan: Node.js binaries for Windows. Very handy if you need that kind of thing :) http://t.co/udfguow (link: http://node-js.prcn.co.cc/#.TfhoWZNxyL8;twitter)
[08:10] saurabhverma has joined the channel
[08:11] jamey-uk has joined the channel
[08:13] freeformz has joined the channel
[08:14] adrianmg has joined the channel
[08:15] Bj_o_rn has joined the channel
[08:15] matty has joined the channel
[08:16] herbySk has joined the channel
[08:16] matwill has joined the channel
[08:17] jonaslund has joined the channel
[08:19] PhilK has joined the channel
[08:20] kohai: @xenyou: Nodeは解析も楽しい。今あるスキルを総動員してなお学ぶことがある。#nodejs
[08:21] thalll has joined the channel
[08:21] __doc__ has joined the channel
[08:22] ablomen has joined the channel
[08:23] gozala has joined the channel
[08:23] ewdafa has joined the channel
[08:23] naneau has joined the channel
[08:25] sfoster has joined the channel
[08:25] aliem has joined the channel
[08:27] [AD]Turbo has joined the channel
[08:28] Esteb has joined the channel
[08:29] jhurliman:
[08:29] jhurliman: sigh
[08:29] kohai: @AlbanSeurat: my next research - Comparing clojure and node.js for speed http://bit.ly/lV0GJw (link: http://www.dzone.com/links/rss/comparing_clojure_and_nodejs_for_speed.html)
[08:30] mjr_ has joined the channel
[08:30] Swizec has joined the channel
[08:30] andrewfff has joined the channel
[08:31] jeremyselier has joined the channel
[08:33] [AD]Turbo has joined the channel
[08:34] marvin_ has joined the channel
[08:34] Bj_o_rn has left the channel
[08:34] kohai: @neiltak: Finally got a chance to play with node.js in a bit more detail. Inspired some nice ideas.
[08:37] bzinger has joined the channel
[08:37] NetRoY has joined the channel
[08:38] markwubben has joined the channel
[08:39] stonebranch has joined the channel
[08:40] sreeix has joined the channel
[08:40] kohai: @JonnyHeavey: Researching node.js - interesting stuff
[08:42] andrewfff has joined the channel
[08:43] tiglionabbit__ has joined the channel
[08:44] Emmanuel__ has joined the channel
[08:47] rush_ has joined the channel
[08:48] dnjaramba has joined the channel
[08:48] rush_: Hi I am trying to install nodejs on Mac OS Tiger (10.4.11)... I have tried to compile from source and using ports. It has failed in both. Any suggestions?
[08:48] asabil has joined the channel
[08:48] xastey has joined the channel
[08:49] kohai: @marcwan: node.js shockingly cool, but still quite immature. Here's to hoping they don't ufck it up.
[08:49] tbassetto has joined the channel
[08:49] adambeynon has joined the channel
[08:49] charlesyin has joined the channel
[08:52] rush_: hello?
[08:52] aurynn has joined the channel
[08:53] tuhoojabotti: Hey
[08:53] tuhoojabotti: Suggestion: Use linux. :)
[08:53] jomoho has joined the channel
[08:54] aurynn: buy a Mac can also be a decent suggestion
[08:54] Druide_ has joined the channel
[08:54] tuhoojabotti: aurynn: He already has one?
[08:54] kohai: @GMouron: @MathildeLemee : Je serai assez interesse par un "feedback" sur ton experience avec #nodejs (ressources/docs utilisees en particulier)
[08:54] aurynn: tuhoojabotti, hm, that's less useful then
[08:54] tuhoojabotti: Indeed
[08:54] `3rdEden: rush_ you want us to guess what errors you had?
[08:55] `3rdEden: and supply you with random answers or can you post the output? :D
[08:55] tuhoojabotti: `3rdEden: Mac errors: "iSteve denies."
[08:55] AAA_awright: Who broke Socket.io within the last week
[08:55] `3rdEden: a mac does not error
[08:55] AAA_awright: It's like someone rebased upstream and pushed
[08:55] `3rdEden: ACTION raises hand
[08:55] AAA_awright: And then deleted the submodules
[08:55] `3rdEden: AAA_awright the current master of socket.io is the preview of Socket.IO 0.7
[08:56] saurabhverma has joined the channel
[08:56] kohai: @tastapod: Oh wow. #Coffeescript and #Nodejs. Oh wow.
[08:56] rush_: `3rdEden: thanks for the reply! _backtrace _backtrace_symbols not found
[08:56] `3rdEden: the whole log
[08:56] tuhoojabotti: rush_: Suggestion: install backtrace and backtrace_symbols
[08:56] `3rdEden: not just a snippet of of it..
[08:56] Yoric has joined the channel
[08:56] AAA_awright: `3rdEden: I can't find anything in the readme about how to use it, what about the client?
[08:56] tuhoojabotti: rush_: pastebin thank you.
[08:56] tuhoojabotti: for the log.
[08:56] `3rdEden: AAA_awright it's also in github master
[08:57] andrewff1 has joined the channel
[08:59] viz has joined the channel
[08:59] rush_: tuhoojabotti: thanks for the tip.. let me try
[09:00] tuhoojabotti: rush_: I have found out that doing what the output tells me to do tends to solve problems.
[09:00] kohai: @david_harvey: @tastapod Not drunk the Coffee yet ... too much excitement! #Coffeescript #Nodejs
[09:01] AAA_awright: `3rdEden: It doesn't contain the socket.io-client submodule, and so checking that out gives me the error SyntaxError: Unexpected token var
[09:01] AAA_awright: socket.io-client/lib/client-ws.js:81 which doesn't make any sense that's supposed to be for the browser...?
[09:02] `3rdEden: AAA_awright it's actually in the package.json
[09:02] `3rdEden: https://github.com/LearnBoost/Socket.IO-node/blob/master/package.json#L17
[09:02] AAA_awright: `3rdEden: What about it?
[09:02] `3rdEden: or are you talking about something else
[09:02] `3rdEden: im confused
[09:03] AAA_awright: npm shows the repository for that as git: git://github.com/LearnBoost/Socket.IO.git anyways
[09:03] `3rdEden: yes
[09:03] `3rdEden: thats probably good
[09:03] jacter1 has joined the channel
[09:03] `3rdEden: so you probably want to do a npm install .
[09:04] AAA_awright: I don't use npm
[09:04] `3rdEden: that you have to create the node_modules folder your self
[09:04] `3rdEden: and place the socket.io-client in there
[09:05] AAA_awright: I've done that, and I get the aforementioned error
[09:05] AAA_awright: wait hm, double checking the package I checked out
[09:05] AAA_awright: *repository
[09:06] rush_: tuhoojabotti: sure -- it seems that this is due to an undocumented glibc feature that is present in linux and not on bsd...
[09:06] AAA_awright: `3rdEden: What repository do I need for socket.io-client /
[09:06] AAA_awright: ?
[09:06] `3rdEden: https://github.com/LearnBoost/Socket.IO
[09:07] tuhoojabotti: rush_: Ah, linux<3
[09:07] `3rdEden: 0.7 is in the master
[09:07] rush_: tuhoojabotti: that would mean that nodejs will not compile on bsd systems?
[09:07] tuhoojabotti: hmm
[09:07] tuhoojabotti: wasn't it mac, now it's bsd?
[09:07] leahculver has joined the channel
[09:07] leahculver has joined the channel
[09:07] AAA_awright: In https://github.com/LearnBoost/Socket.IO ?
[09:07] AAA_awright: I can't find it
[09:08] aurynn: BSMac
[09:08] AAA_awright: Wait gm
[09:08] jhurliman has joined the channel
[09:08] AAA_awright: Oh I see, the paths changed
[09:08] jamesbroad has joined the channel
[09:08] tuhoojabotti: rush_: http://superuser.com/questions/262385/getting-node-js-0-4-2-to-build-install-on-freebsd-8-2-amd64 perhaps this helps?
[09:10] Shrink has joined the channel
[09:10] Shrink has joined the channel
[09:11] skm has joined the channel
[09:13] kohai: @ajlopez: Daily post: Links, News, Resources: Node.js (1) (English) http://bit.ly/kzzhpG (link: http://ajlopez.wordpress.com/2011/06/15/links-news-resources-node-js-1/)
[09:14] shafire has joined the channel
[09:14] rush_: tuhoojabotti: mm..thanks for your help... seems this is beyond me. my bad luck
[09:14] shafire: hi
[09:14] shafire: why i can't get it run async? :( --> http://pastie.org/private/vs7wraefrjfpd1byej5a
[09:15] tuhoojabotti: rush_: It's nice when the script on the front page works. :)
[09:15] rush_: yeah... maybe i should move to linux or get a new mac!
[09:15] tuhoojabotti: linux \o
[09:16] tuhoojabotti: rush_: Or get a real server! :D
[09:16] TheFuzzball has joined the channel
[09:16] aurynn: VMs!
[09:17] rush_: tuhoojabotti: thats an option - :) will have to sacrifice my nice textmate editor :)
[09:17] andrewfff has joined the channel
[09:17] rush_: tuhoojabotti: thanks again! have a nice day
[09:18] tuhoojabotti: No!
[09:18] tuhoojabotti: It's raining and I only have a scooter
[09:18] tuhoojabotti: But yeah, np.
[09:19] tuhoojabotti: I have 2 free shells and so on, it's good to be a finn :)
[09:19] Shrink has joined the channel
[09:19] Shinuza has joined the channel
[09:20] ehedenst has joined the channel
[09:20] rchavik has joined the channel
[09:22] shafire: tuhoojabotti: how is north europe?:)
[09:23] tuhoojabotti: shafire: Nice, you know Finland was the first country to add broadband connection as a national right?
[09:23] tuhoojabotti: ircing from work ♡
[09:24] shafire: but Lithuania was the first, who took the responsibility :-) everywhere in the country free internet :p
[09:25] tuhoojabotti: free as in free beer?
[09:25] tuhoojabotti: :3
[09:26] shafire: sorry
[09:26] shafire: it was estonia :D
[09:26] shafire: http://upload.wikimedia.org/wikipedia/commons/3/35/Wifi_accesspoint_in_tartu_estonia.jpg
[09:26] tuhoojabotti: estonia yeah
[09:26] ablomen has left the channel
[09:26] tuhoojabotti: there's free wifi in OULU!
[09:26] tuhoojabotti: (city in finland ;D)
[09:27] tuhoojabotti: But yeah, internet in Finland sucks, I want to move to Sweden. ;D
[09:27] shafire: "Estonia has the highest level of internet freedom in the world."
[09:27] shafire: :-)
[09:28] shafire: I am from Germany....
[09:28] tuhoojabotti: But south korea is the fastest
[09:28] tuhoojabotti: according to ookla
[09:28] tuhoojabotti: http://www.netindex.com/
[09:28] shafire: estonia has also internet voting
[09:29] tuhoojabotti: We had it for trial, and I think it failed.
[09:29] matty has joined the channel
[09:29] tuhoojabotti: finland is 22th on ooklas rating :P
[09:29] tuhoojabotti: germany 15th
[09:29] tuhoojabotti: on download
[09:29] shafire: so what? :D
[09:30] shafire: never mind
[09:30] Skola: anyone know of decent iterm2 color schemes?
[09:30] shafire: better slow internet and no censorship
[09:30] tuhoojabotti: shafire: Idk, I'm just chatting.
[09:30] tuhoojabotti: :P
[09:30] tuhoojabotti: If I do my work too fast, I'll get more work!
[09:30] shafire: could you help me in nodejs?
[09:31] shafire: http://pastie.org/private/vs7wraefrjfpd1byej5a
[09:31] shafire: how to get the functions called async? :S
[09:31] shafire: the result is independent from others
[09:31] andrewfff has joined the channel
[09:31] kohai: @fishrod: this has proven to be an excellent node.js and express tutorial. It has passed the half asleep and ready for bed test - http://t.co/j85ttSw (link: http://shapeshed.com/journal/creating-a-basic-site-with-node-and-express/)
[09:32] tuhoojabotti: shafire: I didn't get it.
[09:32] tuhoojabotti: :
[09:32] tuhoojabotti: :)*
[09:32] SubStack: shafire: you want the sorts to run on separate processes/threads?
[09:32] shafire: yes!
[09:32] hojberg has joined the channel
[09:32] tuhoojabotti: I don't do such
[09:32] tuhoojabotti: just problematic
[09:33] SubStack: in node you've just got one execution context to play with
[09:33] shafire: no threads?
[09:33] SubStack: but you can spawn processes and get them to talk to each other
[09:33] SubStack: there are threads behind the scenes but you'd have to use c++ to get at them
[09:33] tuhoojabotti: yeah
[09:33] SubStack: or you can use web workers
[09:33] kohai: @usi2011_chronos: @ippontech nous avons hésité entre Netty et #nodejs, finalement on a pris #nodejs pour le #challengeUSI2011
[09:34] tuhoojabotti: better /ignore kohai ALL
[09:34] Skola: : D
[09:34] tuhoojabotti: my regexp failed
[09:34] shafire: SubStack: i will try workers
[09:34] shafire: :)
[09:34] SubStack: https://github.com/pgriess/node-webworker
[09:36] kohai: @b_erb: @bse8128 Bei Erlang geht es um massive Parallelität, Verteilbarkeit und Fehlertoleranz, bei node.js um simples non-blocking I/O.
[09:36] shafire: or this? https://github.com/cramforce/node-worker
[09:36] markwubben has joined the channel
[09:36] shafire: kohai: achso :)
[09:36] rio{ has joined the channel
[09:37] SubStack: shafire: at a glance, node-webworker seems more up-to-date and polished
[09:38] kohai: @b_erb: @bse8128 Was Erlang und node.js verbindet? Ein event-driven Model und derzeit hip zu sein.
[09:38] adambeynon has joined the channel
[09:39] NuckingFuts: lol @ npm removing packages forcibly
[09:39] shafire: but then I need to listen on a port SubStack :(
[09:39] SubStack: hmmm maybe!
[09:39] tuhoojabotti: Nice nick, nick nice
[09:40] NuckingFuts: tuhoojabotti: eh?
[09:40] NuckingFuts: damnit
[09:40] NuckingFuts: npm failed to install :V
[09:40] NuckingFuts: Do I need to sudo this shit?
[09:40] NuckingFuts: :/
[09:40] tuhoojabotti: No
[09:40] tuhoojabotti: I don't think so, I sure don't.
[09:41] andrewfff has joined the channel
[09:41] NetRoY has joined the channel
[09:41] NuckingFuts: UGh
[09:41] cjm has joined the channel
[09:41] NuckingFuts: Then what dun fucked up?
[09:41] Skola: what error?
[09:42] tuhoojabotti: Yes, our balls are not crystal, neither magical.
[09:42] tuhoojabotti: paste log, thank you.
[09:43] NuckingFuts: npm ERR! error installing npm@1.0.11 Error: EACCES, Permission denied '/usr/local/lib/node_modules'
[09:43] tuhoojabotti: ah
[09:43] NuckingFuts: Says to run as sudo
[09:43] tuhoojabotti: yeah
[09:43] NuckingFuts: Guess I'll try that
[09:43] shafire: http://pastie.org/private/x018kezdqvcoytbcyotwq <-- is this correct english?
[09:43] NuckingFuts: Though I can't really pipe it into sudo
[09:43] tuhoojabotti: I installed node to my home
[09:43] tuhoojabotti: so I don't need to access root stuff.
[09:44] tuhoojabotti: shafire: Yes, but I'd drop the dots
[09:44] tuhoojabotti: instead a space would be nice.
[09:44] tuhoojabotti: like 20 000
[09:44] NuckingFuts: wat
[09:44] tuhoojabotti: also space before the ms
[09:44] tuhoojabotti: :P
[09:44] NuckingFuts: Oh right
[09:44] tuhoojabotti: but that's just me.
[09:44] NuckingFuts: Worldwide, dot means digit separator, huh?
[09:44] NuckingFuts: Not decimal point
[09:45] tuhoojabotti: I don't know, we use decimal ,
[09:45] tuhoojabotti: :3
[09:45] tuhoojabotti: which sucks.
[09:45] shafire: 1.000,00 EUR
[09:45] tuhoojabotti: yeah
[09:45] NuckingFuts: tuhoojabotti: In america, it's $1,000.00
[09:45] tuhoojabotti: but 1000,00 beats that :P
[09:45] tuhoojabotti: or 1000.00
[09:45] tuhoojabotti: but 10000 < 10 000
[09:45] Johan_____ has joined the channel
[09:45] tuhoojabotti: :P
[09:46] shafire: my mac is sorting numbers, cpu is at 100% :D
[09:46] shafire: lol
[09:46] tuhoojabotti: but whatever.
[09:46] NuckingFuts: shafire: Watch it catch on fire XD
[09:46] shafire: 120mb ram :o
[09:46] tuhoojabotti: food ->
[09:47] mc_greeny has joined the channel
[09:51] NuckingFuts: Hooray!
[09:51] NuckingFuts: Got NPM updated!
[09:51] NuckingFuts: And got RESTify loaded up in there
[09:52] NuckingFuts: I prefered the old NPM logging though
[09:52] NuckingFuts: I miss the colors
[09:53] ludde has left the channel
[09:53] kohai: @Nevajmywh: Interview de Ryan Dahl, cr�ateur de Node.js - Web Tambouille
[09:54] Skola: ./ignore kohai
[09:55] mattly has joined the channel
[09:57] _6502__ has joined the channel
[09:58] kohai: @rickmans: mySQL DBA: Building a realtime Feed with RabbitMQ Node.js AMQP and mySQL http://rickmans.me/WPvhW
[09:58] NuckingFuts: Ewwwww mySQL is for noooooooob
[09:58] NuckingFuts: *s
[09:58] _6502__: hello: url.parse("/foo?x=y").query is "x=y" or {"x":"y"}?
[09:59] _6502__: the documentation is fuzzy about that
[09:59] bnoordhuis has joined the channel
[10:00] andrewfff has joined the channel
[10:00] fcambus has joined the channel
[10:00] NuckingFuts: When in doubt, try it :P that's what I do lol
[10:01] _6502__: just tried and seems "x=y"
[10:01] _6502__: is there a parsing routine for standard query strings?
[10:01] igl has joined the channel
[10:01] NuckingFuts: Yessir, it's require('querystring').parse, IIRC
[10:02] NuckingFuts: Don't hold me to that though, I'm not sure on the name >_>
[10:02] _6502__: works, thanks :-)
[10:03] NuckingFuts: Fucking yeah! I can't believe I actually got that right!
[10:05] fermion has joined the channel
[10:08] sirdancealot has joined the channel
[10:08] mc_greeny has joined the channel
[10:08] hellp has joined the channel
[10:09] simenbrekken has joined the channel
[10:10] eldar has joined the channel
[10:13] NuckingFuts: ACTION dives head-first into RESTify
[10:13] gozala has joined the channel
[10:14] fyskij has joined the channel
[10:15] ph^ has joined the channel
[10:16] kohai: @rmat0n: @obazoud excellent ton app status dashboard ;-) et bien sûr #nodejs FTW
[10:17] kohai: @rtweed: It was fun presenting on node-mdb last night at #skillsmatter. Kept bang on time! :-) Met lots of great people. #nodejs #javascript
[10:18] mendel_: guys, why is https://github.com/indutny/node-spdy not more popular?
[10:18] tuhoojabotti: BETA
[10:18] mendel_: the concept of multiplexing a http connection is a great one right? or am I missing something
[10:19] tuhoojabotti: "Require node.js version - at least 0.5.0-pre"
[10:19] tuhoojabotti: there's your problem
[10:19] indutny: mendel_: it currently runs only on 0.5.0-pre branch and with latest openssl library
[10:19] indutny: tuhoojabotti: right
[10:19] tuhoojabotti: 2. build it
[10:19] tuhoojabotti: more problems :D
[10:19] mendel_: ok
[10:19] gausby has joined the channel
[10:20] kohai: @noodlehaus: @csanz for geeklist, what db/mapper do you use? and please do share your validation code #nodejs
[10:20] indutny: tuhoojabotti: mendel_: so first of all we'll need to wait for 0.5.0 branch (actually for 0.6.0, b/c 0.5.0 will be unstable)
[10:20] tuhoojabotti: Yeah.
[10:20] mendel_: oke, eager to try it out.. will use it on dev for now
[10:21] okuryu has joined the channel
[10:22] kohai: @nicholefoss: Official Node.js Job Board Pops Onto the Web http://t.co/NJZ8x0S (link: http://mashable.com/2011/03/23/node-job-board/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Mashable+%28Mashable%29)
[10:23] kohai: @tlarevo: Node.JS Help Sheet http://feedly.com/k/lk2uxE (link: http://www.quicklycode.com/cheatsheets/node-js-help-sheet?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+quicklycode+%28QuicklyCode+-+Cheatsheets+%26+programming+stuff%29)
[10:23] `3rdEden: node should just bundle the latest open ssl
[10:25] [AD]Turbo: `3rdEden, we want socket.io 0.7 out ;D
[10:25] `3rdEden: ACTION goes back to coding
[10:25] `3rdEden: ;D
[10:25] [AD]Turbo: :)
[10:26] `3rdEden: [AD]Turbo iknow iknow :9 but I can't work on it full time ;(
[10:26] riven has joined the channel
[10:26] [AD]Turbo: is Guille working on it fulltime?
[10:26] riven has joined the channel
[10:26] `3rdEden: I'm full time employed as front-end engineer not as nodejs developer
[10:26] indutny: `3rdEden: yep, I think it should
[10:27] tuhoojabotti: ACTION can't code @ work :/
[10:27] `3rdEden: [AD]Turbo guillermo can do what ever he wants, he's self employed
[10:27] `3rdEden: indutny it would speed up the adoption of SPDY
[10:27] tuhoojabotti: `3rdEden: I'm Website administrator summer intern.
[10:27] tuhoojabotti: ;D
[10:27] indutny: ACTION 's job is a node.js
[10:27] [AD]Turbo: I see
[10:27] indutny: `3rdEden: it would not just speed up, but will actually bring SPDY to node.js world
[10:28] shafire: now i am ready :)
[10:28] shafire: https://github.com/przytads/sorting-algorithms
[10:28] NuckingFuts: How much publicity do you think I would get if I coded an entire social network on nodejs in a matter of a month?
[10:29] NuckingFuts: And I'm not just talking any social network, I mean an art community like deviantART
[10:29] kohai: @victorkane: Hey Jade! http://j.mp/mncAjM My path of understanding into how #jade template engine is used in #express framework #nodejs (link: http://awebfactory.com.ar/node/473)
[10:29] NuckingFuts: Because I actually have a chance at this point XD
[10:29] tuhoojabotti: NuckingFuts: Why are you asking?
[10:29] `3rdEden: tuhoojabotti /me = jealous
[10:29] NuckingFuts: tuhoojabotti: Because that's what I'm doing, I'm just sorta curious hwo people would react XD
[10:30] tuhoojabotti: `3rdEden: I just have to add products and update infos on some webshop D:
[10:30] tuhoojabotti: NuckingFuts: Why?
[10:30] tuhoojabotti: Why would you do that :O
[10:30] NuckingFuts: tuhoojabotti: Because NodeJS is fucking great, because deviantART needs replacing, and because we want to launch in time for deviantART to release v8.
[10:30] NuckingFuts: We expect user outrage at v8
[10:31] NuckingFuts: So we plan to milk it.
[10:31] NuckingFuts: V8 is predicted to launch in Auguest
[10:31] tuhoojabotti: Why deviant art needs replacing? :3
[10:31] NuckingFuts: *August
[10:31] NuckingFuts: tuhoojabotti: Because it's badly managed, falling apart, and social networks cosntantly need a turnover.
[10:32] NuckingFuts: deviantART has lasted 11 years now
[10:32] tuhoojabotti: Well I haven't used it so yeah, I wouldn't know.
[10:32] NuckingFuts: Their chat client? 4,233 lines of JavaScript.
[10:32] riven has joined the channel
[10:32] `3rdEden: indutny but i doubt ryah wants that in the core
[10:32] tuhoojabotti: ;DD;
[10:32] NuckingFuts: No objects
[10:32] NuckingFuts: ALL flat functions on the window
[10:32] tuhoojabotti: Okay, I get it.
[10:32] indutny: `3rdEden: one sec, wait for nodejs-dev email
[10:33] NuckingFuts: with shit like "dAmn_getBorderBottomWidth"
[10:33] NuckingFuts: But there were no other border functions.
[10:33] tuhoojabotti: jquery<3
[10:33] NuckingFuts: JUST the bottom.
[10:33] pifantastic has joined the channel
[10:33] NuckingFuts: tuhoojabotti: seriously.
[10:33] `3rdEden: indutny +10!
[10:33] tuhoojabotti: what
[10:33] NuckingFuts: This chat client is from... 2004?
[10:33] tuhoojabotti: Yeah, I got your point, man!
[10:33] NuckingFuts: lol
[10:33] tuhoojabotti: Just get to work!
[10:33] NuckingFuts: tuhoojabotti: lol I am :P
[10:34] tuhoojabotti: So am i
[10:34] NuckingFuts: I've gotta wait on my peeps to design and code the site before I can implement my ExpressJS server
[10:34] tuhoojabotti: I wrote my own server *coolface*
[10:35] fermion has joined the channel
[10:35] NuckingFuts: lol
[10:35] monokrome: Using jade, can I provide a variable as an object's ID?
[10:35] NuckingFuts: tuhoojabotti: I did once too
[10:35] NuckingFuts: Then I found Express and scrapped it XD
[10:35] monokrome: I need to give an ID to a UL, which is the result of: 'album-' + album.name
[10:35] NuckingFuts: tuhoojabotti: Mine used a JSON object to store the pages instead of files
[10:35] tuhoojabotti: NuckingFuts: Mine used json from files, now it uses mysql!
[10:36] NuckingFuts: it was nested objects to emulate folder structures
[10:36] tuhoojabotti: lols
[10:36] NuckingFuts: tuhoojabotti: Fuck MySQL
[10:36] tuhoojabotti: :P
[10:36] NuckingFuts: I use MONGO!
[10:36] NuckingFuts: Mongo 4 life
[10:36] monokrome: :(
[10:36] tuhoojabotti: It seemed hard
[10:36] monokrome: Riak & PostgreSQL :D
[10:36] NuckingFuts: tuhoojabotti: It's really easy, once you get used to the lack of a UI
[10:36] tuhoojabotti: anyways
[10:36] NuckingFuts: It's really natural in JS
[10:36] DavidElias has joined the channel
[10:36] tuhoojabotti: Does express support HTTP code 418?
[10:36] NuckingFuts: Because it's all based on BSON
[10:36] tuhoojabotti: :3
[10:37] NuckingFuts: tuhoojabotti: Wuzzat? I'm a Teapot?
[10:37] tuhoojabotti: http://dev.tuhoojabotti.com/api/easter Indeed½
[10:37] tuhoojabotti: !*
[10:37] tuhoojabotti: (webkit/ff5)
[10:37] indutny: `3rdEden: catch it ;)
[10:37] NuckingFuts: tuhoojabottiDamn, I'm good tonight XD
[10:37] NuckingFuts: I actually got it right, and I was just kidding LMAO
[10:38] tuhoojabotti: lol it lags on FF5
[10:38] kohai: @csanz: super mini/tiny + simple short code generator #nodejs http://post.ly/2DRPm (link: http://csanz.posterous.com/super-minitiny-simple-short-code-generator-no)
[10:39] NuckingFuts: tuhoojabotti: wow. Is that 100% CSS?
[10:39] `3rdEden: indutny *refresh refresh refresh*
[10:39] NuckingFuts: For the text animation, that is
[10:39] indutny: everyone, please vote here if you are indifferent to NPN and SPDY in node.js : https://groups.google.com/forum/#!topic/nodejs-dev/TON-JVxm6Iw
[10:39] monokrome: I tried this: ul#music-album-{album.name}
[10:39] tuhoojabotti: NuckingFuts: Yes ofc.
[10:39] monokrome: but it doesn't parse the album.name part
[10:40] NuckingFuts: indutny: What're those?
[10:40] tuhoojabotti: wuts?
[10:40] NuckingFuts: Oh right SPEEDY
[10:40] indutny: NuckingFuts: yes
[10:40] tuhoojabotti: monokrome: That's bad css.
[10:40] monokrome: tuhoojabotti: That's because it's not CSS. Maybe you missed my question.
[10:41] AAA_awright: socket.send({ hello: 'world' }); completely fails for me in socket.io master
[10:41] monokrome: tuhoojabotti: I'm trying to use a variable inside of an element's ID in Jade
[10:41] AAA_awright: I'm receiving it as '[object Object]'
[10:41] AAA_awright: A string.
[10:41] kohai: @iblamefish: So far today, I've installed node.js 3 times.
[10:41] NuckingFuts: AAA_awright: lolwat of course it is
[10:41] `3rdEden: AAA_awright duh
[10:42] `3rdEden: AAA_awright socket.json.send
[10:42] `3rdEden: ;D
[10:42] AAA_awright: `3rdEden: That's pulled directly from the readme
[10:42] AAA_awright: `3rdEden: But thanks for the tip
[10:42] NuckingFuts: indutny: I am AGAINST SPDY in general.
[10:42] `3rdEden: I don't see it AAA_awright
[10:42] NuckingFuts: Because I feel that it is silly to replace HTTP at this point.
[10:42] FireFly has joined the channel
[10:42] AAA_awright: `3rdEden: https://github.com/LearnBoost/Socket.IO-node under "How to use"
[10:42] NuckingFuts: We should wait a few more years and build a brand-new protocol.
[10:43] NuckingFuts: ACTION shrugs
[10:43] `3rdEden: oooh the server AAA_awright i was looking at the client
[10:43] monokrome: I know that I can use this: ul(id='music-album-'+album.name)
[10:43] `3rdEden: NuckingFuts it's not a replacement
[10:43] monokrome: But I'd rather use the # syntax if applicable
[10:43] `3rdEden: it's an extension
[10:43] `3rdEden: and it can speed your browsing experiance with more 50%
[10:43] indutny: NuckingFuts: hm... while SPDY itself can have some cons, having NPN inside node.js will be quite interesting for implementing your own protocols
[10:43] AAA_awright: Well it should be the same on both sides right?
[10:43] AAA_awright: At least it _was_
[10:43] NuckingFuts: `3rdEden: My point exactly
[10:43] fayce has joined the channel
[10:43] NuckingFuts: It isn't needed yet
[10:44] NuckingFuts: We haven't hit the wall yet
[10:44] `3rdEden: yes it is
[10:44] `3rdEden: yes we have
[10:44] NuckingFuts: Not really
[10:44] tuhoojabotti: PISTONS!
[10:44] tuhoojabotti: (Sorry, that's Minecraft)
[10:44] `3rdEden: :D
[10:44] NuckingFuts: We need a better protocol
[10:44] NuckingFuts: tuhoojabotti: They didn't release that yet though :V
[10:44] `3rdEden: invent one
[10:44] `3rdEden: but untill than
[10:44] tuhoojabotti: NuckingFuts: video of wip
[10:44] `3rdEden: spdy will do
[10:44] NuckingFuts: `3rdEden: meh, too lazy. I'll let Google handle that.
[10:45] NuckingFuts: tuhoojabotti: ooooooh linky?
[10:45] DTrejo has joined the channel
[10:45] tuhoojabotti: http://www.youtube.com/watch?v=uZJr86d2IUo
[10:45] NuckingFuts: tuhoojabotti: Thanks :D
[10:45] tuhoojabotti: join #minecraft on IRCNet :P
[10:46] NuckingFuts: tuhoojabotti: Oh god that looks soooo useful
[10:47] tuhoojabotti: indee
[10:47] tuhoojabotti: d
[10:47] tuhoojabotti: look at the castle door system!
[10:47] tuhoojabotti: and join #minecraft @IRCNet :D
[10:47] charlesyin has joined the channel
[10:47] NuckingFuts: tuhoojabotti: I'm only am inute in still but holy shit
[10:47] AAA_awright: NuckingFuts: Were you the one talking about the DeviantArt chat? Who was that?
[10:47] NuckingFuts: AAA_awright: Ayup
[10:47] NuckingFuts: And deviantART is still going bye-bye
[10:48] NuckingFuts: If I succeed, which I hope I do :P
[10:48] AAA_awright: With what, exactly?
[10:48] AAA_awright: NuckingFuts: So I'
[10:48] AAA_awright: bah
[10:48] NuckingFuts: AAA_awright: I call it "fakooda"
[10:48] NuckingFuts: An art site with a state-of-the-art suggestion algorithm
[10:48] AAA_awright: NuckingFuts: So I'm writing a Node.js IRC client, that you can access at any time with your web browser, it stays connected
[10:48] NuckingFuts: And a tagging system that doesn't suck ass
[10:49] AAA_awright: NuckingFuts: You're doing a DA clone?
[10:49] NuckingFuts: AAA_awright: Not clone
[10:49] NuckingFuts: Not at all
[10:49] dipser has joined the channel
[10:49] AAA_awright: Well of course... When you start with a goal of cloning crap, you have no where else to go
[10:49] NuckingFuts: More an improvement. Looking at dA and saying "what went wrong"
[10:50] AAA_awright: NuckingFuts: How about adding some semantics to it, say, with RDF?
[10:50] NuckingFuts: tuhoojabotti: HOLY SHIT. I shat myself at the ending.
[10:50] tuhoojabotti: Good for you!
[10:50] NuckingFuts: AAA_awright: Might do Semantic HTML :S
[10:50] NuckingFuts: AAA_awright: well, actually
[10:50] NuckingFuts: Doesn't matter much on the AJAX'ed pages
[10:51] tuhoojabotti: My site is ajaxed
[10:51] tuhoojabotti: also works 100% with js off
[10:51] AAA_awright: NuckingFuts: Well, it does
[10:51] tuhoojabotti: http://dev.tuhoojabotti.com/index/#hello-world ;)
[10:51] NuckingFuts: AAA_awright: I'm building it on NodeJS with RESTify for the API, jQuery-based frontend, and ExpressJS for static pages
[10:51] AAA_awright: NuckingFuts: Contemplate storing data as RDF
[10:51] jonasen has joined the channel
[10:51] AAA_awright: It sounds really well suited for that application
[10:52] NuckingFuts: AAA_awright: What's RDF?
[10:52] AAA_awright: If you have lots of relationships to make
[10:52] tuhoojabotti: Rich Data Format!
[10:52] AAA_awright: Ha no
[10:52] NuckingFuts: AAA_awright: Data storage is gonna be in MongodDB
[10:52] tuhoojabotti: it's like RTF right?
[10:52] tuhoojabotti: :P
[10:52] AAA_awright: Resource Description Framework
[10:52] tuhoojabotti: Ok.
[10:52] AAA_awright: It's a data model that makes statements about resources
[10:52] NuckingFuts: AAA_awright: Can you toss me an example?
[10:52] AAA_awright: So I can say, http://example.com/art licensed-under public-domain
[10:53] NuckingFuts: AAA_awright: And how does this interact with HTML?
[10:53] AAA_awright: NuckingFuts: So RDF is the data model, and RDFa is one way of embedding RDF data inside HTML
[10:53] NuckingFuts: ah cool
[10:53] NuckingFuts: Yeah, I'll look into that
[10:53] AAA_awright: See http://www.w3.org/TR/rdf-primer/ and
[10:53] bkozal has joined the channel
[10:53] AAA_awright: And this http://www.w3.org/TR/xhtml-rdfa-primer/
[10:54] aurynn has left the channel
[10:54] AAA_awright: NuckingFuts: Actually, start with http://www.w3.org/TR/xhtml-rdfa-primer/ that's more relevant to you
[10:54] NuckingFuts: AAA_awright: Perhaps is there some way to do a meta-tag for it?
[10:54] jamey-uk: What do I have put on line 157 to get saveToDatabase() to actually run? I've just started using prototypes and am trying to get my head around closures, scope etc: http://pastebin.com/usAdKR9A
[10:54] AAA_awright: If I understand, that's what RDFa is
[10:54] tuhoojabotti: yeah
[10:55] NuckingFuts: AAA_awright: I was worried you might've meant it was a data storage mechanism. So I can pull from MongoDB and convert into RDFa?
[10:55] tuhoojabotti: didn't html5 introduce some micro-data format?
[10:55] AAA_awright: NuckingFuts: Yep
[10:55] NuckingFuts: tuhoojabotti: I'm thinking I'm gonna provide it in every format possible
[10:55] AAA_awright: Microformats are inferior to RDFa, RDFa allows for a wider variety of statements
[10:55] AAA_awright: Microformats is pretty much limited to common things like addresses and telephone numbers and whatnot
[10:55] NuckingFuts: Is there some way to use OAuth and REST?
[10:56] AAA_awright: But they both can be extracted into RDF
[10:56] tuhoojabotti: yeah
[10:56] AAA_awright: For Node.js? Of course
[10:56] NuckingFuts: I'm building on Restify
[10:56] AAA_awright: NuckingFuts: Have you started on this project at all?
[10:56] andrewfff has joined the channel
[10:56] tuhoojabotti: AAA_awright: Didn't microdata allowed to add custom data too?
[10:56] AAA_awright: tuhoojabotti: Maybe it does but I'm not familiar... I just know within the semantic web community, RDFa is king
[10:56] tuhoojabotti: :P
[10:57] NuckingFuts: AAA_awright: I've got two other people on this project with me, and they're doing the client design and HTML which I then get to tie in with an API (which I also make)
[10:57] NuckingFuts: We've got mockups
[10:57] NuckingFuts: And we've got research and figured out our data structures for what the API will spit out for most apges
[10:57] AAA_awright: NuckingFuts: I would encourage you to look at my CMS project that constructs webpages about RDF resources, http://magnode.org/
[10:57] AAA_awright: NuckingFuts: Replacing DA is something I've been interested in too
[10:58] dgathright has joined the channel
[10:58] NuckingFuts: AAA_awright: RDF will probably end up coming in my first update
[10:58] NuckingFuts: We're gonna be using ExpressJS and doing a basic site for now
[10:58] NuckingFuts: Since we want to launch in 2 months XD
[10:58] AAA_awright: NuckingFuts: Yeah this isn't going to do all that within 2 months, but I'll follow you
[10:59] AAA_awright: NuckingFuts: Do you have a mailing list or something?
[10:59] asdfsafdsa has joined the channel
[10:59] fairwinds has joined the channel
[10:59] NuckingFuts: AAA_awright: I have a personal twatter, fakooda still doesn't officially exist
[10:59] AAA_awright: NuckingFuts: Here subscribe to http://groups.google.com/group/magnode to know when I make a stable release
[10:59] NuckingFuts: We've got a host lined up :P
[10:59] NuckingFuts: Call me crazy, but I think it might be possible. I once programmed a whole site in a day.
[10:59] NuckingFuts: And I had never touched Wordpress before.
[10:59] AAA_awright: NuckingFuts: Also, think people can spell that name?
[11:00] NuckingFuts: And I hadn't touched PHP in years
[11:00] NuckingFuts: AAA_awright: I like to think it's about as good as deviantart :P
[11:00] AAA_awright: Me too, but that doesn't mean there's still room for improvement
[11:00] NuckingFuts: We haven't completely settled on it, it's sorta just a project name with its roots in "Fuck you, dA"
[11:00] NuckingFuts: ;)
[11:00] AAA_awright: HAHAHA
[11:01] bkozal has joined the channel
[11:01] pigmej: any recommended documentation generation tool ?
[11:01] kohai: @Propeople: Node.js Step by Step: Blogging Application - http://bit.ly/kO06V9 #coding #webdevelopment (link: http://net.tutsplus.com/tutorials/javascript-ajax/node-js-step-by-step-blogging-application/)
[11:02] mike5w3c has joined the channel
[11:02] NuckingFuts: AAA_awright: Yeah lol we sorta got pissy at dA when they kept pulling shit with their unreleased API
[11:02] NuckingFuts: They've been ignoring the dev community for a while
[11:02] kohai: @rem: @codepo8 aye, as was #jquery, and is today #nodejs and many, many others. IRC is good, and having web access: even better.
[11:02] NuckingFuts: And we recently found out that it's a disconnect between deviantTech and the middle management
[11:02] NuckingFuts: So programmers aren't happy with their managers
[11:03] Wizek has joined the channel
[11:03] NuckingFuts: So that never ends well :/
[11:03] AAA_awright: NuckingFuts: And what's with their servers too? Something like 1/15 pages fails to load
[11:03] AAA_awright: And it's seemingly random too
[11:03] NuckingFuts: AAA_awright: inorite. I hope NodeJS can solve that :D
[11:03] NuckingFuts: AAA_awright: So you use deviantART?
[11:04] kohai: @codeandbeyond: Links, news, Resources: Node.js (1), by @ajLopez => http://feedly.com/k/iqEZao - Excellent! (link: http://ajlopez.wordpress.com/2011/06/15/links-news-resources-node-js-1/)
[11:04] AAA_awright: NuckingFuts: Yes
[11:04] jamey-uk: What do I have put on line 157 to get saveToDatabase() to actually run? I get the error "TypeError: Object # has no method 'saveToDatabase'": http://pastebin.com/usAdKR9A
[11:04] AAA_awright: Mostly for browsing I look at maybe 200 works a day
[11:05] NuckingFuts: AAA_awright: Ah, I'm in it for the community and promotion of my design/user script work
[11:05] mendel_: indutny: you're the maintainer of node-spdy?
[11:05] indutny: mendel_: yes
[11:05] NuckingFuts: ACTION has gotten two Daily DEviations on there :D
[11:05] indutny: mendel_: as you can see :D https://github.com/indutny/node-spdy
[11:05] mendel_: I'm not that smart
[11:05] mendel_: ;)
[11:06] bergie has joined the channel
[11:06] tuhoojabotti: :D
[11:06] NuckingFuts: Aaaaanyways, sleep
[11:06] NuckingFuts: So nainai #Node.js
[11:06] tuhoojabotti: lol
[11:06] tuhoojabotti: 14:00 here
[11:06] mendel_: indutny: you've got a site running on spdy?
[11:06] AAA_awright: NuckingFuts: Oh yes?
[11:06] AAA_awright: NuckingFuts: Oh well cya then
[11:07] indutny: mendel_: not really :) but you can run example and test it locally
[11:07] NuckingFuts: God it's good to finally understand GNU Screen...
[11:07] fangel has joined the channel
[11:07] NuckingFuts: Seeya in 10 hours lol
[11:07] tuhoojabotti: lol
[11:07] NuckingFuts: Well, 8 hours
[11:07] NuckingFuts: So noon my time :P
[11:07] tuhoojabotti: screen<3
[11:07] NuckingFuts: tuhoojabotti: agreed
[11:07] mendel_: indutny: yeah, but hoped to see it live
[11:07] tuhoojabotti: screen_away.pl ♡
[11:07] `3rdEden: and i still think it should be written in C instead of js
[11:07] NuckingFuts: I feel like such a h4xx0r with my 4-pane screen shit
[11:07] indutny: mendel_: one sec, I'll run it on local machine
[11:08] `3rdEden: and i still think it should be written in C instead of js indutny*
[11:08] andrewfff has joined the channel
[11:08] mendel_: indutny: you've heard of localtunnel?
[11:08] AAA_awright: NuckingFuts: So you're on the west coast then
[11:08] kohai: @JsonGorman: can't seem to return a unix epoch timestamp in #nodejs why does date have no getTime() function??
[11:08] Skola: I feel like a sad haxor with my not-working-since-yesterday 27" inch screen
[11:08] AAA_awright: Too, then
[11:08] NuckingFuts: AAA_awright: yup, Modesto, California.
[11:08] NuckingFuts: Hooray for shitty city!
[11:08] AAA_awright: Arizona
[11:08] tuhoojabotti: Finland \o
[11:08] indutny: mendel_: https://donnerjack13589.dyndns.tv:8081/
[11:08] NuckingFuts: lawl finland
[11:08] AAA_awright: I should go to sleep
[11:09] AAA_awright: I SHOULD go to sleep but I want to make my IRC client work
[11:09] indutny: mendel_: I've heard of dynamic DNS :)
[11:09] tuhoojabotti: indutny: omg broken cert
[11:09] kohai: @BenjaminReid: @JsonGorman Oh, you workin' with #nodejs? Built anything yet?
[11:09] NuckingFuts: AAA_awright: I need to, or else my family will yell at me :P
[11:09] tuhoojabotti: AAA_awright: Tell me more.
[11:09] Shrink has joined the channel
[11:09] indutny: tuhoojabotti: should I buy a certificate for my dynamic dns domain? :D
[11:09] indutny: lol
[11:09] Shrink has joined the channel
[11:09] c4milo1 has joined the channel
[11:09] asdfsafdsa: AAA_awright: tell me more too
[11:09] tuhoojabotti: indutny: Yes ofc, but nice work.
[11:09] indutny: `3rdEden: yep, bat that's your pace
[11:09] mendel_: indutny: nice, I can see it workign @ chrome://net-internals/#spdy
[11:09] AAA_awright: tuhoojabotti: I'm writing a Node.js IRC client that stays connected in the background, and uses a web browser as a UI
[11:09] NuckingFuts: indutny: I've got a better url. peterlejeck.tk :D
[11:09] AAA_awright: For now
[11:10] NuckingFuts: Yay for free domains
[11:10] tuhoojabotti: I has tuhoojabotti.com :D
[11:10] tuhoojabotti: tuh.is doubled it's price. :/
[11:10] NuckingFuts: I'm too poor for domains
[11:10] AAA_awright: asdfsafdsa: And in the future I'll have an IRC bouncer and Quassel support too
[11:10] indutny: I've indutny.com
[11:10] `3rdEden: indutny ;D takes to much time ;(
[11:10] ShreeKavi has joined the channel
[11:10] indutny: but it's reserverd for my site as you can see
[11:10] tuhoojabotti: AAA_awright: websockets?
[11:10] mendel_: indutny: it's maybe a good idea to make this a live page and add it to your github project, just to confirm it's working ;)
[11:10] AAA_awright: But now I just want to get socket.io working >:( actually maybe it's my backend...
[11:10] AAA_awright: Yeah it is I think
[11:10] andrewff1 has joined the channel
[11:10] tuhoojabotti: AAA_awright: What we really need is SSH!
[11:11] tuhoojabotti: :P
[11:11] `3rdEden: AAA_awright: you should just use 0.6 instead of 0.7
[11:11] NuckingFuts: I want pleje.ck or nu.ck
[11:11] AAA_awright: `3rdEden: Eh I like cutting edge
[11:11] indutny: mendel_: of course, can you donate 10-20 $ so I'll be able to run server for at least 1 -2 months
[11:11] AAA_awright: `3rdEden: And it's my problem I'm sure
[11:11] NuckingFuts: But nope, .ck only registeres under .co.ck
[11:11] NuckingFuts: le sigh
[11:11] `3rdEden: AAA_awright cutting edge will probably cutting your wrists as well :D
[11:11] AAA_awright: I have seperate processes for the web browser and the IRC client
[11:11] mendel_: indutny: I will run it for you if you want
[11:11] AAA_awright: And they're talking in an endless loop for some reason
[11:11] ShreeKavi: Hi, anyone has a good suggestion for a node based collaborative whiteboard
[11:11] NuckingFuts: And I do't want a cock lodged in my name :P
[11:11] indutny: mendel_: that'll be great
[11:11] andrewff2 has joined the channel
[11:12] NuckingFuts: ACTION yawns and puts on some beirut to put him to sleep
[11:12] mendel_: indutny: if you want you can add a subdomain on your domain,forward that dns to my server
[11:12] mendel_: the only thing is that we won't have a proper certificate, but it will still demostrate that it's working
[11:13] tuhoojabotti: AAA_awright: web-ssh client would be cool
[11:13] Emmanuel__ has joined the channel
[11:13] tuhoojabotti: and useful
[11:13] indutny: mendel_: you can run it even on IP address, I don't think that domain actually matters
[11:13] AAA_awright: tuhoojabotti: I think that exists already
[11:13] tuhoojabotti: I haven't found a good one
[11:13] andrewff3 has joined the channel
[11:13] tuhoojabotti: TELL ME NOW
[11:13] tuhoojabotti: ;)
[11:13] AAA_awright: tuhoojabotti: But an SSH client for my Node.js IRC client would be cool
[11:13] mendel_: indutny: I will private msg u if ok
[11:14] rworth has joined the channel
[11:14] Emmanuel__ has joined the channel
[11:16] kohai: @JsonGorman: @ryah you'll know! how do i return a unix timestamp in #nodejs date has no getTime() function?
[11:16] andrewfff has joined the channel
[11:17] ckknight has joined the channel
[11:17] andrewff1 has joined the channel
[11:18] indutny: mendel_: that'll be ok
[11:18] temp01 has joined the channel
[11:19] andrewff2 has joined the channel
[11:19] swilson06: can anyone tell me what i need to do to get npm working for me? http://pastebin.com/yepbV3UQ
[11:20] andrewff3 has joined the channel
[11:21] crayzee has joined the channel
[11:21] andrewff5 has joined the channel
[11:22] ditesh|cassini has joined the channel
[11:22] crayzee: Is there a shorter/cleaner way to convert a string to base64 than: var b64 = new Buffer(myString).toString('base64'); ?
[11:23] ryanmcgrath has joined the channel
[11:23] kohai: @NuckChorris: Whose leg do I hafta hump around here to get a simple, secure session system? #nodejs
[11:24] Xano has joined the channel
[11:25] crayzee: Also, that doesn't seem to work quite right. It ignores any singular terminating \0
[11:25] NetRoY has joined the channel
[11:25] andrewfff has joined the channel
[11:25] level09: is there any performance gain if use node mysql module instead of php to run my db queries ?
[11:25] AAA_awright: `3rdEden: Yeah appearently it's Socket.io on the browser side which is send()ing the very messages sent to it
[11:26] AAA_awright: It send()s back the message for some reason
[11:26] AAA_awright: Which is wildly confusing to my server
[11:26] level09: `3rdEden: I have fixed my problem with the number and the scaling :D
[11:26] Shinuza: level09: what are you planning to do?
[11:26] eee_c has joined the channel
[11:27] crayzee: new Buffer("Hi").toString('base64') == new Buffer("Hi\0").toString('base64') == 'SGk='
[11:27] crayzee: new Buffer("Hi\0\0").toString('base64') == 'SGkA'
[11:27] level09: Shinuza: I have many php scripts that run on a cron job
[11:27] Shinuza: swilson06: did you do what npm suggests
[11:27] crayzee: Am I doing something wrong? Do I need to .toString('binary') or similar?
[11:28] andrewff1 has joined the channel
[11:28] Shinuza: crayzee: I know there's a module for base64, I don't know the buffer API well enough to help you :)
[11:29] level09: I want to rewrite them in node
[11:29] andrewff2 has joined the channel
[11:29] AAA_awright: crayzee: Hmm that is interesting
[11:29] AAA_awright: > Buffer("\0\0\0")
[11:29] AAA_awright:
[11:30] crayzee: AAA_awright, I thought so too
[11:30] AAA_awright: Buffer() appears to consume the trailing \0
[11:30] crayzee: AAA_awright, particularly interesting it's only the terminating \0 that is ignored
[11:30] bnoordhuis has joined the channel
[11:30] AAA_awright: ry why is Buffer misbehaving
[11:30] _jgr has joined the channel
[11:31] AAA_awright: It's not V8
[11:31] jamey-uk: https://gist.github.com/1026913 does anyone know why line 156 complains that the method saveToDatabase() does not exist?
[11:32] crayzee: ImageUpload.prototype.savetoDatabase = function() {
[11:32] roidrage: jamey-uk: because you called the method savetoDatabase in line 174
[11:32] crayzee: You're missing a captial T
[11:32] Shinuza: level09: then do all of it in node
[11:32] crayzee: jamey-uk, :)
[11:33] jamey-uk: :D
[11:33] xandrews has joined the channel
[11:33] jamey-uk: THANK YOU
[11:33] andrewfff has joined the channel
[11:33] jamey-uk: crayzee: that was stumping me for the last 20 minutes ;)
[11:34] level09: Shinuza: I cant do all, system is too complex :DD
[11:34] crayzee: :)
[11:34] maru_cc has joined the channel
[11:34] level09: but at least I will start migrating parts
[11:35] Shinuza: ain't there a task scheduler in node?
[11:35] bnoordhuis: AAA_awright: what do you mean, 'misbehaving'?
[11:35] bnoordhuis: Shinuza: no, node is single-threaded - but you can defer callbacks
[11:35] AAA_awright: bnoordhuis: See crayzee's plea and run Buffer("\0") in the REPL
[11:36] AAA_awright: Contrast to Buffer("\0\0")
[11:36] andrewff1 has joined the channel
[11:36] Shinuza: bnoordhuis: I know, I was thinking something like celery in python
[11:36] bnoordhuis: AAA_awright: you mean this? https://github.com/joyent/node/issues/297
[11:37] andrewff2 has joined the channel
[11:37] bnoordhuis: AAA_awright: oh, and this: https://github.com/joyent/node/issues/394
[11:37] AAA_awright: bnoordhuis: No
[11:38] charlesyin has joined the channel
[11:38] bnoordhuis: AAA_awright: then you'll need to explain it to me, i just joined the channel so i haven't followed the discussion
[11:38] AAA_awright: bnoordhuis: Not quite?
[11:38] jensn has joined the channel
[11:39] AAA_awright: bnoordhuis: Buffer("...\0\0\0") eats the trailing \0
[11:39] crayzee: AAA_awright, solved it
[11:39] `3rdEden: level09 good to know
[11:39] crayzee: AAA_awright, needed to do Buffer("\0",'binary')
[11:39] andrewff3 has joined the channel
[11:39] bnoordhuis: AAA_awright: an artifact of how strings in c and c++ work
[11:39] crayzee: Thanks bnoordhuis for the links
[11:40] bnoordhuis: crayzee: you're welcome :)
[11:41] andrewfff has joined the channel
[11:41] philhawksworth has joined the channel
[11:41] crayzee: I want to sign a string in Node.js and then verify it in a web browser - is there a recommended way of doing this? (I can use the crypto module in Node, but what do I use in browser that is compatible?)
[11:43] bnoordhuis: crayzee: google for 'hmac javascript', there are implementations out there
[11:43] indutny: crayzee: try to use sha1-hmac, seems to be available for browsers
[11:43] pen has joined the channel
[11:43] adambeynon has joined the channel
[11:43] crayzee: bnoordhuis, indutny thanks :)
[11:45] kohai: @rsung02138: Node.js is backwards http://zite.to/m2HRGa via @Ziteapp (link: http://blog.ankurgoyal.com/post/6433642218/node-js-is-backwards)
[11:46] andrewff1 has joined the channel
[11:47] andrewff2 has joined the channel
[11:47] ap3mantus has joined the channel
[11:47] _mql has joined the channel
[11:47] AAA_awright: bnoordhuis: I realize that much, but that's for newline-terminated strings only which Buffers are not
[11:48] Yoric has joined the channel
[11:48] AAA_awright: But whatever
[11:48] andrewff3 has joined the channel
[11:48] AAA_awright: ...newline?
[11:48] AAA_awright: Null-terminated strings
[11:48] _mql: hi.. is there a solid module for unescaping htmlentities?
[11:48] broofa has joined the channel
[11:49] _mql: i'm always running into encoding-troubles...
[11:49] fangel has joined the channel
[11:50] andrewff4 has joined the channel
[11:51] bosphorus has joined the channel
[11:51] gorekee has joined the channel
[11:52] andrewfff has joined the channel
[11:52] kohai: @Krishna__priya: @vinitasanthosh ഇതൊക്കെ വല്ല പച്ചക്കറീടെ ഇംഗ്ലീഷ് പേരാണോ? #nodejs, socket.io & jquery
[11:52] `3rdEden: y u do that kohai
[11:53] andrewff1 has joined the channel
[11:54] philhawksworth has left the channel
[11:54] andrewff2 has joined the channel
[11:55] indexzero has joined the channel
[11:57] andrewfff has joined the channel
[11:59] mc_greeny has joined the channel
[11:59] jtrudeau has joined the channel
[12:00] confoocious has joined the channel
[12:02] mc_greeny has joined the channel
[12:03] guy has joined the channel
[12:04] JoshC1 has joined the channel
[12:04] mike5w3c has joined the channel
[12:04] dipser has joined the channel
[12:06] seivan has joined the channel
[12:08] Shinuza1 has joined the channel
[12:11] swilson06: Shinuza: pretty much. instead of chmod -R $USER /usr/local, i just added the user to the staff group and did a chmod -R 775 /usr/local/lib/npm
[12:12] unlink has joined the channel
[12:12] unlink has joined the channel
[12:12] Emmanuel__ has joined the channel
[12:13] piscisaureus has joined the channel
[12:14] xandrews has joined the channel
[12:15] kohai: @ramanandc: #nodejs and #Amazon #AWS # EC2 http://t.co/fGWrI6l (link: https://github.com/bmizerany/swirl-node)
[12:16] kohai: @kadirpekel: herodot turns into a distributed event emitter, see per evet per channel basis event handling. http://t.co/Y4K5UU9 #nodejs /cc @hij1nx (link: https://github.com/coffeemate/herodot/blob/master/lib/herodot.coffee)
[12:17] kohai: @SkaKri: Node.js + socket.IO – pārdomas, komentāri, kritika, ieteikumi?
[12:18] kohai: @devseo: YUI Theater â Dav Glass: âYUI 3 and Node.js (Not Just For Web Pages) â (51 min.) - http://is.gd/seFcFW (link: http://feeds.yuiblog.com/~r/YahooUserInterfaceBlog/~3/a9enBX5-3a8/)
[12:18] Bradleymeck has joined the channel
[12:18] Bradleymeck_ has joined the channel
[12:19] asdfsafdsa: is there a node module that has a recursive version of jquery's extend function?
[12:19] mendel_: http://documentcloud.github.com/underscore/
[12:20] andrewfff has joined the channel
[12:20] asdfsafdsa: mendel: i was looking at that but not sure if it's recursive
[12:21] kohai: @aheritier: @obazoud ca ne marche pas avec du https ? #nodejs
[12:22] kohai: @fbrandel: just launched my #nodejs and #instagram experiment called instaport.me http://t.co/IET4WzA (link: http://instaport.me/)
[12:23] eee_c has joined the channel
[12:23] epopt37 has joined the channel
[12:23] bentruyman has joined the channel
[12:24] hellp has joined the channel
[12:25] sstreza has joined the channel
[12:26] kohai: @obazoud: @aheritier je n'ai pas codé le https pour l'instant, avec #nodejs c'est possible, pas sûr que le https soit dispo sur @Nodester
[12:26] mehlah has joined the channel
[12:27] fumanchu182 has joined the channel
[12:29] mbrevoort has joined the channel
[12:30] markwubben has joined the channel
[12:31] kawaz_air has joined the channel
[12:32] razvandme has joined the channel
[12:32] razvandme has left the channel
[12:32] razvandme has joined the channel
[12:32] kohai: @aheritier: @obazoud @Nodester implémenté :-) trop simple #nodejs
[12:33] razvandme: hello, how can I find the hostname of a nodejs server application?
[12:33] kohai: @Stormogulen: http://bit.ly/lusrvI NODE.JS IS BACKWARDS (link: http://blog.ankurgoyal.com/post/6433642218/node-js-is-backwards)
[12:34] kohai: @aheritier: @obazoud Faudrait que je gère les 301 et 302 maintenant ... #nodejs
[12:36] kruckenb has joined the channel
[12:37] kohai: @obazoud: @aheritier oui y a encore du taff :) n'hésites à faire des pull request #nodejs
[12:37] sirkitree has joined the channel
[12:39] zmbmartin has joined the channel
[12:40] _mql has left the channel
[12:40] seivan has joined the channel
[12:41] tiagoa has joined the channel
[12:42] saschagehlich has joined the channel
[12:42] bergie has joined the channel
[12:44] eee_c1 has joined the channel
[12:44] dyer has joined the channel
[12:44] CIA-92: node: 03Ryan Dahl 07master * r3d7d994 10/ (7 files in 5 dirs):
[12:44] CIA-92: node: Merge branch 'v0.4'
[12:44] CIA-92: node: Conflicts:
[12:44] CIA-92: node: doc/api/modules.markdown
[12:44] CIA-92: node: test/simple/test-crypto.js - http://bit.ly/mhBYmx
[12:44] dyer has joined the channel
[12:45] k1ttty has joined the channel
[12:45] boaz_ has joined the channel
[12:46] seivan_ has joined the channel
[12:46] Cheery has joined the channel
[12:46] kohai: @ebottabi: @mickael wanna merge xmpp with node.js to scale more, another proof that ejabberd is the way to go for xmpp
[12:46] Cheery: what does the eventloop system looks like in node.js sources?
[12:47] zmbmartin: any better vps places out there then linode or slicehost that someone would recommend?
[12:47] yenz: zmbmartin: lowendbox may be of use
[12:48] josephboyle has joined the channel
[12:49] kohai: @halfageekinfo: How To: install node.js with nvm http://is.gd/Yu6naC #javascript (link: http://javascript.halfageek.info/2011/06/08/how-to-install-node-js-with-nvm/)
[12:49] miccolis has joined the channel
[12:49] kohai: @obazoud: @aheritier pull request accepté :) #nodejs #github
[12:49] zmbmartin: yenz: I would love to pay less but I also worry about the "you get what you pay for" thing. But thanks for the link.
[12:52] stepheneb has joined the channel
[12:52] bosphorus has joined the channel
[12:52] remysharp has joined the channel
[12:52] Xano has joined the channel
[12:52] kohai: @lepnio: Il va falloir que je fasse du #nodejs, #playframework, #mongodb ... le weekend s'annonce bien rempli
[12:53] ph^_ has joined the channel
[12:53] yenz: zmbmartin: np
[12:53] ewdafa has joined the channel
[12:53] yenz: (i use linode, myself :)
[12:54] Shinuza1: me too
[12:54] Shinuza1: swilson06 it says you have to delete any remaining modules in your global npm dir
[12:54] mendel_ has joined the channel
[12:55] Shinuza1: if you do this it should work properly, the global version is conflicting with the one you are trying to install
[12:55] swilson06: yeah, i had a few issues :)
[12:55] swilson06: first, i cloned an old git
[12:55] swilson06: then everything pretty much worked
[12:56] swilson06: oh, and i also had to chmod -R 775 npm_modules
[12:56] ianward has joined the channel
[12:57] kohai: @obazoud: @lepnio n'écoute pas @Florian_elam ! #nodejs rocks !
[12:57] Shinuza1: brb
[12:57] saimon_ has joined the channel
[12:57] saimon_ has left the channel
[12:58] davidbanham has joined the channel
[12:58] AaronMT has joined the channel
[12:58] eee_c has joined the channel
[12:58] saimon_ has joined the channel
[12:58] shinuza has joined the channel
[12:59] saimon_: Hi all I'm running into some weird issue with npm: https://gist.github.com/23b74b02a576ea870f14
[12:59] saimon_: I found this: https://github.com/isaacs/npm/issues/617
[12:59] saimon_: but it wasn't much help...
[12:59] saimon_: :(
[13:01] bbttxu has joined the channel
[13:01] saimon_: nm...I cleaned out the cache uninstalled and it's working now
[13:02] tuhoojabotti: lols
[13:02] shinuza: :)
[13:02] shinuza: brb
[13:03] boaz_ has left the channel
[13:04] shinuza has joined the channel
[13:04] shinuza: oh my
[13:04] shinuza: ok so Adium sucks a lot for IRC
[13:05] shinuza: Colloquy is ugly
[13:05] shinuza: Limechat looks ok for now
[13:05] mapleman has joined the channel
[13:05] mahna has joined the channel
[13:05] fangel has joined the channel
[13:07] kohai: @obazoud: @Florian_elam @lepnio "A la fin c'est le javascript qui gagne!" #nodejs cc @NewsDuFront
[13:07] Destos has joined the channel
[13:07] sledge has joined the channel
[13:07] lukstr: shinuza: irssi
[13:08] davidsklar has joined the channel
[13:09] saimon_ has joined the channel
[13:09] tuhoojabotti: irssi \o ♡
[13:09] level09: have any 1 used node with mysql ?
[13:09] tuhoojabotti: level09: y
[13:09] shinuza: lukstr: I was certain someone would say that
[13:10] tuhoojabotti: shinuza: irssi<3
[13:10] level09: i see many modules, trying to find the best one
[13:10] shinuza: I'm not geek enough to use this
[13:10] shinuza: I'm trying hard tho
[13:10] shinuza: level09: read the api, read the code (optionnal)
[13:10] shinuza: enjoy
[13:10] tuhoojabotti: shinuza: What's so geek about it?
[13:10] level09: shinuza: you mean I dont need an extra module ?
[13:11] razvandme: how can i get the host name of a http server in node?!
[13:11] shinuza: level09: read the api of the module you are reviewing :p
[13:11] level09: shinuza: aah okay
[13:11] apanda has joined the channel
[13:11] level09: shinuza: that's why I'm asking, maybe someone has a recommendation on a specific module :P
[13:12] samBiotic has joined the channel
[13:12] shinuza: razvandme: process.env
[13:13] shinuza: tuhoojabotti: actually it's not that geek as it is, but I believe it gets geek when you make the best of it
[13:13] shinuza: e.g screen
[13:13] shinuza: + irssi
[13:13] replore_ has joined the channel
[13:13] shinuza: then it's awesome
[13:13] shinuza: I should try it sometime
[13:13] fumanchu182 has joined the channel
[13:13] tuhoojabotti: screen + irssi is just pure lust
[13:14] tuhoojabotti: ":D"
[13:14] shinuza: :)
[13:14] tuhoojabotti: with screen_away.pl + bitlbee for msn/fb etc.
[13:14] razvandme: shinuza: thanks, i was referring to the http server instance i'm creating (http.createserver {what is the hostname of the created http server instance}
[13:14] shinuza: oh
[13:15] eldar: hi! I'm trying to understand a bit more on concurrency in node. Given this piece of code http://pastebin.com/5ecUVDY7 my question is: Is it always guaranteed that first callback will be executed before the second one?
[13:15] mauritslamers_ has joined the channel
[13:15] shinuza: eldar: no
[13:15] Ezku\: eldar: of course not
[13:15] mauritslamers_: Question: I am trying to find a memory leak in my node app, but when using the profiler I don't see my own objects anywhere
[13:16] shinuza: It depends on how much time each I/O request would take
[13:16] mbrevoort has joined the channel
[13:16] mauritslamers_: anyone an idea?
[13:16] shinuza: if callback2 opens a 10kb file, and callback1 a 10tb file, obviously...
[13:16] eldar: shinuza, Ezku\ thanks, so there are no synchronisation built into that
[13:16] shinuza: eldar: no, but you can create a "continuation"
[13:17] colinclark has joined the channel
[13:17] shinuza: (major word abuse, whatever)
[13:17] bshumate has joined the channel
[13:17] bshumate has joined the channel
[13:17] eldar: hm, what kind of continuation? Something I can read on?
[13:17] shinuza: I think promise is more appropriate
[13:17] brianseeders has joined the channel
[13:18] shinuza: basically you say, I'll open these two files, and when they both return values I want to do this other thing
[13:18] mauritslamers_: the profiler info contains lots of (closure) stuff, which seems to be a self-referencing thing
[13:18] shinuza: mauritslamers_: what kind of app
[13:18] thomblake has joined the channel
[13:18] shinuza: do you have C++ node modules?
[13:18] mauritslamers_: server app
[13:19] mauritslamers_: shinuza: no
[13:19] mauritslamers_: but some of the things I use as frameworks do show up in some way
[13:19] saimon__ has joined the channel
[13:19] shinuza: your javascript is not supposed to leak
[13:19] tim_smart: tuhoojabotti: http://dl.dropbox.com/u/396394/screenshots/irssi.png
[13:19] mauritslamers_: I would expect so.... but still my server app ran out of memory after a week...
[13:20] shinuza: tim_smart: awesome :)
[13:20] shinuza: have you tried xmonad :->
[13:20] mauritslamers_: so now I am trying to find where I might have missed cleaning up properly... but the profiler doesn't help me a bit...
[13:20] shinuza: mauritslamers_: what is the stack
[13:20] shinuza: what modules are you depending on?
[13:21] jeremyselier has joined the channel
[13:21] tim_smart: shinuza: Nope
[13:21] xerox: tim_smart: the [2=2] [3=3] ... are particularly funny
[13:21] tim_smart: Awesome does the job
[13:21] mauritslamers_: shinuza: http://github.com/mauritslamers/Thoth -> only depending on node-mysql atm
[13:21] shinuza: Lua is weird tho, a lot less than Haskell too
[13:21] tuhoojabotti: tim_smart: eww, that's just a sacrilege
[13:22] tuhoojabotti: The default theme should never be touched!
[13:22] shinuza: :)
[13:22] tuhoojabotti: I only added nick colours and align
[13:22] tuhoojabotti: ofc trackbar.pl
[13:23] baoist has joined the channel
[13:23] eldar: shinuza, but promises look like some old thing that node doesn't support anymore?
[13:23] tim_smart: tuhoojabotti: My terminal colors + default theme = blindness
[13:23] jlecker has joined the channel
[13:23] davidbanham: tim_smart: Kiwi?
[13:23] tuhoojabotti: tim_smart: mac-terminal-default-colors?
[13:23] shinuza: eldar: I meant the concept of it, and it's not old
[13:23] tim_smart: davidbanham: Yeah
[13:23] shinuza: eldar: try to see if there are some modules to do that
[13:24] shinuza: mauritslamers_: I'd run a lot of queries in a controlled environment, I'm pretty sure node-mysql is the culprit
[13:24] asobrasil has joined the channel
[13:24] shinuza: also, level09 don't chose node-mysql ahah
[13:24] eldar: shinuza, yeah, I'll have a look, thanks
[13:24] davidbanham: tim_smart: Yay! Was wondering what timezone that screenshot was from.
[13:24] level09: shinuza: what do you mean ?
[13:24] level09: why not
[13:25] mauritslamers_: shinuza: thanks for the hint :)
[13:25] mauritslamers_: I wanted to switch to couchdb anyway
[13:25] mauritslamers_: just an extra push into the 'right' direction :)
[13:25] hij1nx has joined the channel
[13:25] shinuza: eldar: https://github.com/kriszyp/node-promise
[13:26] shinuza: level09: read upwards :p
[13:26] eldar: yeah, just found that one too!
[13:26] tim_smart: tuhoojabotti: Solarized: http://ethanschoonover.com/solarized
[13:26] c4milo has joined the channel
[13:27] mauritslamers_: shinuza: level09... do you have a link of what they used?
[13:27] shinuza: mauritslamers_: that's my assumption, but I didn't see node leaking in a ~month of intensive usage (at least the latest version)
[13:27] shinuza: so I'd say node-mysql is leaking
[13:27] kohai: @theprogrammer: Node Inspector - Node.js Debugger http://t.co/DsWu8UG <- video (link: http://www.youtube.com/watch?v=AOnK3NVnxL8&feature=share)
[13:27] tanepiper has joined the channel
[13:27] level09: I'm looking into dbslayer
[13:27] level09: developed by nytimes
[13:27] tuhoojabotti: tim_smart: I can't read that website.
[13:28] xerox: lol
[13:28] svnlto has joined the channel
[13:28] shinuza: eldar: tell me how it is :)
[13:28] shinuza: tuhoojabotti: color blind?
[13:28] kohai: @pbrooks: Has anyone used Node.js + Express for any serious projects? What are your thoughts about the two frameworks?
[13:28] tuhoojabotti: No
[13:28] mauritslamers_: shinuza: it is also the first time I encountered this issue... :)
[13:28] shinuza: tuhoojabotti: you are now!
[13:29] tuhoojabotti: it's the font
[13:29] tuhoojabotti: scribbles on this monitor
[13:29] Bogh has joined the channel
[13:29] shinuza: oh
[13:29] seivan has joined the channel
[13:29] tuhoojabotti: ctrl+a helped :D
[13:30] tuhoojabotti: http://edu.joroinen.fi/~jliik/images/logged_in_screen_irssi_firsttime.jpg this is how irssi should look
[13:30] tuhoojabotti: ;)
[13:31] brolin has joined the channel
[13:31] shinuza: into putty XD
[13:31] tuhoojabotti: puttytray on windows :D
[13:31] tim_smart: tuhoojabotti: irssi in putty >.> Not a good start.
[13:31] shinuza: xD
[13:31] tuhoojabotti: tim_smart: Well puttytray is the best ssh client I have found for windows
[13:31] razvandme: ok, so i'm using the url module, and parsing an url, but the host/hostname are not retrieved. Is this a bug?
[13:32] tim_smart: tuhoojabotti: Windows, not a good start :p
[13:32] eldar: shinuza, found this one https://github.com/coolaj86/futures looks more maintained
[13:32] tuhoojabotti: tim_smart: Too bad I can't choose the OS I work on.
[13:32] davidbanham: tuhoojabotti: "for windows" I think I have identified your problem.
[13:32] shinuza: razvandme: do you really have to do this
[13:32] tuhoojabotti: davidbanham: Yeah.
[13:32] sudhirjonathan has joined the channel
[13:32] tuhoojabotti: I'd love to use linux at work
[13:32] kohai: @masylum: Barcelona #nodejs meetup tomorrow @ Xing offices! Who is in?
[13:32] shinuza: razvandme: wait a sec
[13:32] tim_smart: tuhoojabotti: Yup
[13:33] MattJ has joined the channel
[13:33] tuhoojabotti: Even the server here is windows ;D
[13:33] razvandme: shinuza: what i'm doing?
[13:33] shinuza: tuhoojabotti: I've made it mandatory for me to be able to use whatever I want at work
[13:33] shinuza: otherwise I'd rather go elsewhere
[13:34] tuhoojabotti: shinuza: People here consider me lucky to have a job.
[13:34] tuhoojabotti: Summer jobs are rare here
[13:34] julienXX has joined the channel
[13:34] tuhoojabotti: hard to get
[13:34] shinuza: tuhoojabotti: where do you live?
[13:34] tuhoojabotti: Finland
[13:35] tuhoojabotti: (not that hard to find out)
[13:35] stepheneb has joined the channel
[13:35] tuhoojabotti: (i.e. tuhoojabotti.com (which is in my hostmask))
[13:35] tuhoojabotti: ;D
[13:35] bzinger_ has joined the channel
[13:35] JJMalina has joined the channel
[13:35] tim_smart: tuhoojabotti: Do you use vim, or gvim for windows?
[13:35] tuhoojabotti: tim_smart: Notepad++!
[13:36] Clex: Erk.
[13:36] tim_smart: Aw. I thought you being a irssi person and all.
[13:36] tuhoojabotti: I'm not a geek
[13:36] seivan_ has joined the channel
[13:36] devdazed has joined the channel
[13:36] shinuza: ahah
[13:36] tuhoojabotti: I like irssi, that's it.
[13:36] tim_smart: Geeks don't use vim, ninja's do.
[13:37] tuhoojabotti: masochists too
[13:37] bosphorus_ has joined the channel
[13:37] tuhoojabotti: ":D"
[13:37] devdazed: i hate that term
[13:37] BigWookie has joined the channel
[13:37] devdazed: "ninja"
[13:37] caike has joined the channel
[13:37] tim_smart: Masichist vim users never leave insert mode
[13:37] shinuza: razvandme: are you testing with the http module only?
[13:37] tim_smart: *masochist
[13:37] BigWookie: Hey, is there a storage module as easy as permafrost? ( with sqlite )
[13:37] shinuza: in this case you have the host in req.headers.host
[13:38] devdazed: every person ive met that refers to themself as a ninja is intermediate at best
[13:38] Bogh: is there a reference to V8 javascript language ?
[13:38] tim_smart: devdazed: I'm just an ordinary guy
[13:38] shinuza: Bogh: I don't think so :(
[13:38] tuhoojabotti: devdazed: So you're a guru?
[13:38] shinuza: tell me I'm wrong
[13:38] tim_smart: I have seen ninja's using vim though
[13:38] devdazed: i dont like any term like that
[13:39] devdazed: whatever happened to beginner, intermediate expert?
[13:39] devdazed: lol
[13:39] `3rdEden: Bogh checkout the wiki pages @ the repo
[13:39] shinuza: \o/
[13:39] Bogh: `3rdEden: k, thx
[13:39] `3rdEden: https://github.com/joyent/node/wiki/_pages
[13:39] Bogh: `3rdEden: nice :D
[13:39] BigWookie: i'm a wookie..
[13:40] devdazed: lol
[13:40] avalanche123 has joined the channel
[13:40] BigWookie: what now ninjas?
[13:40] shinuza: tuhoojabotti: Finland, awesome
[13:40] tuhoojabotti: shinuza: How come, you?
[13:40] shinuza: France
[13:40] tuhoojabotti: You french?
[13:41] shinuza: Yes
[13:41] devdazed: haha
[13:41] tuhoojabotti: b-but you don't seem crazy as the other frenchies I've seen. :3
[13:41] BigWookie: or is there a decent, tested, database wrapper that supports sqlite?
[13:41] Clex: Crazy how?
[13:41] shinuza: CRAZYYYY
[13:41] tuhoojabotti: ^
[13:42] shinuza: xD
[13:42] Clex: Oh. Like crazy.
[13:42] shinuza: `3rdEden: hum
[13:42] `3rdEden: hum?
[13:42] shinuza: the api links to the node api
[13:43] shinuza: not the v8 api, or am I missing something?
[13:43] _jgr has joined the channel
[13:43] `3rdEden: yes... thats on the site but the wiki different information
[13:43] shinuza: Clex is French too you know
[13:43] `3rdEden: like ECMA 5 Mozilla Features Implemented in V8
[13:43] shinuza: or lives in France
[13:44] tuhoojabotti: or just uses french host
[13:44] shinuza: `3rdEden: on moz-dev then?
[13:44] Clex: Know a bunch of stuff about "crazy frenchies".
[13:44] shinuza: You see, Mozilla made it very clear that they will devert from ECMA 262 and thus released different versions of their API with extended features
[13:45] shinuza: which should later be implemented in ECMA 5/Harmony
[13:45] shinuza: but Google never did that
[13:45] shinuza: So I'm doubtful whenever I type Object.keys or .reduce, etc...
[13:46] kohai: @withbreakpoints: Is JavaScript the future of the Web? - Node.js and the JavaScript Age http://bit.ly/iBiCs3 (link: http://metamarketsgroup.com/blog/node-js-and-the-javascript-age/)
[13:46] shinuza: It's not clear what set of feature they've implemented
[13:47] shinuza: maybe it's very well hidden too
[13:47] kohai: @david_harvey: Anyone with JavaScript chops, london-based, interested in joining me for a couple of weeks of work on a node.js project?
[13:48] kohai: @Mr_Nizzle: Node.js Step by Step: Blogging Application | Nettuts+ http://t.co/PREFOFk || Makes me think about hacking something like `Node.js on Rails` (link: http://net.tutsplus.com/tutorials/javascript-ajax/node-js-step-by-step-blogging-application/)
[13:48] samuelkadolph has joined the channel
[13:48] shinuza: Am I speaking too much?
[13:49] sudhirjonathan has joined the channel
[13:49] kriszyp has joined the channel
[13:49] tuhoojabotti: No
[13:49] tuhoojabotti: you're typing
[13:49] tuhoojabotti: Well I wouldn't know
[13:49] tuhoojabotti: I can't hear you.
[13:49] shinuza: >.<
[13:50] tuhoojabotti: dumb question -> dumb answer
[13:50] mikl has joined the channel
[13:50] mikl has joined the channel
[13:50] kohai: @jakescott: Most depended on Node.js packages http://t.co/4Gk6F8m (link: http://search.npmjs.org/)
[13:50] shinuza: you have a point
[13:50] xerox: may I have a point too
[13:50] bibabot: anyone knows any good nodejs cms project listings?
[13:51] altamic has joined the channel
[13:51] gleicon has joined the channel
[13:51] DavidElias has joined the channel
[13:51] tuhoojabotti: xerox: You can't have points, you make them.
[13:51] shinuza: bibabot: check out the wiki, I don't know if there are mature cms project
[13:51] shinuza: https://github.com/joyent/node/wiki/ECMA-5-Mozilla-Features-Implemented-in-V8 < good enough
[13:51] xerox: I want a point :(
[13:53] avalanche123 has joined the channel
[13:53] kohai: @phpbangla: Node.js Step by Step: Blogging Application:- SERVICE_DISCONTINUED|Service has been discontinued - see http://u.nu/unu-discontinued
[13:53] davidwalsh has joined the channel
[13:53] xerox: lol
[13:54] tuhoojabotti: Then make one.
[13:55] Swimming_bird has joined the channel
[13:56] bibabot: shinuza: thanks ... been there .. not really mature
[13:56] killfill: hi
[13:56] killfill: im trying to install npm, and im getting this: http://pastebin.com/YurGk0Dm
[13:57] killfill: its somehow expanding something with the content of a directory...
[13:57] killfill: why do i get this?...
[13:57] masylum: any nodejs developer from barcelona?
[13:57] kohai: @_iakkom: node.js is throwback to the yesteryears! #SivajiGanesanComputing :)
[13:58] EyePulp has joined the channel
[13:58] Clex: killfill: strange.
[13:59] kohai: @organicode: Nice! “@fbrandel: just launched my #nodejs and #instagram experiment called instaport.me http://t.co/3wQgPaX” (link: http://instaport.me/)
[13:59] killfill: yup, it worked ones.. but i needed to clean up, so reinstall it.
[13:59] Clex: killfill: try: wget http://npmjs.org/install.sh && md5sum install.sh
[13:59] Clex: I've got 6517d9fa6eb5fa322ca80c58f477fa76
[14:00] killfill: 6517d9fa6eb5fa322ca80c58f477fa76
[14:00] killfill: yup
[14:00] bentruyman has joined the channel
[14:00] Clex: So the file is not corrupted.
[14:01] Clex: tar: Failed to set default locale
[14:01] Clex: Looks definitly like a locale issue.
[14:02] Poetro has joined the channel
[14:02] tuhoojabotti: yeah
[14:02] killfill: i get that when loggin in to root directly... but when using just sudo, the locale issue disapear.
[14:02] tuhoojabotti: from the looks of it
[14:02] killfill: but it doesnt install neither.. :S
[14:02] Clex: Try "su -p".
[14:03] killfill: -p?.. hm.. im on freebsd.. whats -p?
[14:03] Clex: To preserve your environment.
[14:03] Clex: -m I guess
[14:04] killfill: same.. :S
[14:04] shinuza: ah good ol' locale failure :)
[14:04] Wizek: Is socketIO-s socket.emit supposed to work locally, and not transfer anything over the wire?
[14:04] Clex: What about the "tar" error ?
[14:04] killfill: tried with make install from a clean github checkout too
[14:04] killfill: tar error?
[14:04] samuelkadolph: Is there anyway to listen for the uncaughtException do something and then let node crash out like normal?
[14:05] Clex: "Failed to set default locale"
[14:05] jtsnow has joined the channel
[14:05] Yoric has joined the channel
[14:06] killfill: i dont think its the tar
[14:06] shinuza: curl maybe
[14:06] Clex: But it may be from the same locale issue.
[14:06] killfill: http://pastebin.com/00JK17Dy
[14:07] shinuza: samuelkadolph: you can do whatever you want in catch
[14:07] Clex: killfill: what gives you : env | egrep "^(LC|LANG)" ?
[14:07] shinuza: they throw another exception
[14:07] killfill: i tried to reset the my locale too.. with LANG=C
[14:07] killfill: now its LANG=C :)
[14:07] samuelkadolph: Can't use a try catch, I'm running a childprocess and when node crashes, it doesn't kill the childprocess
[14:07] strmpnk has joined the channel
[14:07] Clex: And before?
[14:08] boaz has joined the channel
[14:08] kohai: @NodeJSAtSO: Is there a good DAL or DAL/ORM for Node.js yet? http://bit.ly/kjNAb0 (link: http://stackoverflow.com/questions/6358655/is-there-a-good-dal-or-dal-orm-for-node-js-yet?utm_medium=twitter&utm_source=twitterfeed)
[14:08] ryanfitz has joined the channel
[14:08] killfill: hm.. actually its empty
[14:08] shinuza: samuelkadolph: is it supposed to crash?
[14:09] Clex: Then try LANG=en_US.UTF-8 curl http://npmjs.org/install.sh | sh
[14:09] shinuza: use you locale
[14:09] shinuza: +r
[14:09] samuelkadolph: shinuza: No but I can't control that with the code that opens the subprocess
[14:09] shinuza: fr_FR.UTF-8 if you are French :p
[14:09] shinuza: etc..
[14:09] slickplaid: Anyone familiar with running coffeescript programatically, ie - var c = require('coffee-script'); c.run(whatdoidohere?); ?
[14:10] Clex: What if I'm ashamed of being french? :p
[14:10] killfill: nope, same thing.
[14:10] jetienne has joined the channel
[14:10] systemfault: Clex: Then you use fr_CA.UTF-8 :P
[14:10] Clex: /o\
[14:10] killfill: i wonder where di my locale go.. but anyway.. you gys sure its a locale thing?..
[14:10] Clex: I'd rather be french systemfault. =)
[14:10] shinuza: systemfault: xD
[14:10] systemfault: :/
[14:10] shinuza: en_GB
[14:11] Clex: I'm really sorry systemfault, this is an accent issue I guess.
[14:11] shinuza: killfill: your file has weird chars in it
[14:11] shinuza: probably
[14:11] Clex: Canadians are nice on IRC.
[14:11] sioked has joined the channel
[14:11] shinuza: otherwise, try downloading it "by hand"
[14:11] kohai: @matthewcp: @Grafrajohn Currently working on node.js project and not using a framework. In C# I use VS unit tests. Can't write tests first in C# though!
[14:11] systemfault: Clex: French are as usual on IRC... (Arrogant :P )
[14:11] BigWookie has left the channel
[14:11] shinuza: i.e wget
[14:11] Clex: =)
[14:11] systemfault: Clex: j/k, not all of them
[14:12] killfill: shinuza: http://pastebin.com/yaHw7iqL minimatch.js doesnt look to contain any wired characters...
[14:13] Poetro1 has joined the channel
[14:13] shinuza: killfill: hum
[14:13] killfill: maybe there is something wired with node 0.4.8.. i just upgraded
[14:13] cbibler_ has joined the channel
[14:13] sudhirjonathan has joined the channel
[14:13] killfill: ill try with 0.4.7
[14:14] tuhoojabotti: wohoo
[14:14] tuhoojabotti: 45 mins
[14:14] shinuza: /\.viminfo(:?�|\.gstreamer-0\.10=K \.nautilus��"K\$$/:
[14:14] shinuza: this looks like the ENV var
[14:14] tuhoojabotti: corrupted!
[14:14] shinuza: killfill: try `env`
[14:15] kal-EL_ has joined the channel
[14:15] tuhoojabotti: shinuza: You're a genious
[14:15] shinuza: really?
[14:15] Clex: I thought he was french.
[14:15] shinuza: xD
[14:15] killfill: shinuza: my env doesnt contain 'viminfo'.. :P
[14:15] shinuza: meh
[14:15] killfill: Clex: i?.. nope im from chile.. :P
[14:16] tuhoojabotti: killfill: I guess you should do as told. :3
[14:16] Xano_ has joined the channel
[14:16] killfill: tuhoojabotti: as told?
[14:17] tuhoojabotti: 17:14 < shinuza> killfill: try `env`
[14:17] killfill: bash: svn=file:///home/svn/repos: No such file or directory ...
[14:17] shinuza: is that wrong? :p
[14:17] Clex: killfill: I'm also curious to see your env.
[14:18] CoverSlide has joined the channel
[14:19] killfill: http://pastebin.com/23p0jZP1 <--- thats my env..
[14:19] jtsnow has joined the channel
[14:19] Poetro has joined the channel
[14:19] Poetro has joined the channel
[14:19] JoseCabo has joined the channel
[14:20] Clex: That seems ok.
[14:20] JoseCabo: Good afternoon for everoneeee!
[14:20] tuhoojabotti: JoseCabo: Hoi<3
[14:20] Clex: I was hoping to find like a LC_ALL or somethin'.
[14:20] JoseCabo: hi tuhoojabotti
[14:21] kohai: @jmandia: Got node.JS running on my MacBook last night. Basic samples running but still fun.
[14:22] killfill: dont know whats happening..
[14:23] killfill: it always worked before.. :S
[14:24] Clex: killfill: then you should try to put some debug in install.sh and try to find exactly what command fails.
[14:26] Swimming_bird has joined the channel
[14:27] willwhite has joined the channel
[14:27] shinuza: killfill: I think the error is related to some ignore file somewhere
[14:27] kohai: @gridshore: Just published a new blog post about #nodejs. This time I create a presentation tool with nodejs: http://t.co/4qn77uI (link: http://www.gridshore.nl/2011/06/15/creating-presentations-with-node-js/)
[14:27] quackquack has joined the channel
[14:27] saimon_ has joined the channel
[14:28] pietern has joined the channel
[14:28] killfill: ignore file?
[14:28] shinuza: yes
[14:28] shinuza: the line I highlighted earlier is likely to be some ignore file
[14:28] JoseCabo: Hi, someone knows if exists a extension for make QT apps??¿¿
[14:29] mapleman has joined the channel
[14:30] saimon_ has joined the channel
[14:30] Poetro has joined the channel
[14:31] colinclark has joined the channel
[14:32] kohai: @sdboyer: #nodejs may be the only thing shiny enough to get bohemian rubyists to stop their unending circlejerk :P
[14:32] killfill: shinuza: its wired.. i think yesterday i clean up some dirs, wich included deleting .nautilus and that stuff.. that doesnt exist anymore.. dotn know where is it comming from.. :P
[14:32] Cheery: why node.js wraps libev instead of using it directly?
[14:32] fangel has joined the channel
[14:33] shinuza: try another clone killfill
[14:33] shinuza: Cheery: what do you mean?
[14:33] Cheery: shinuza: source code question, node.js builds its own event abstraction over libev.
[14:33] killfill: i should get a job as QA tester.. alwais get strange errors.. :P
[14:34] shinuza: Cheery: that's undergoing work for windows compatibility
[14:34] Tidwell has joined the channel
[14:34] kruckenb has joined the channel
[14:36] Cheery: shinuza: but why? libev works on windows as well according to nginx ppl. :/
[14:36] vipaca has joined the channel
[14:36] vipaca has joined the channel
[14:37] killfill: npoe.
[14:37] sivy has joined the channel
[14:37] brettgoulder has joined the channel
[14:37] shinuza: Cheery: I don't think so
[14:37] shinuza: or you mean, inside cygwin
[14:37] shinuza: which is not an acceptable response :)
[14:37] shinuza: Cheery: http://www.flickr.com/photos/jolicloud/5814875256/
[14:38] shinuza: excepts it's not libol but libuv now
[14:38] shinuza: killfill: so, what's up?
[14:39] baudehlo has joined the channel
[14:39] mynyml has joined the channel
[14:39] shinuza: I'm pretty sure you have a file somewhere containing .viminfo, and stuff
[14:40] dgathright has joined the channel
[14:40] piscisaureus: mraleph: ping
[14:40] shinuza: for some reason npm is trying to append this list with its own list and the encoding of your file is not right
[14:41] Poetro has joined the channel
[14:42] springmeyer has joined the channel
[14:42] kzh has joined the channel
[14:43] stepheneb has joined the channel
[14:44] Cheery has left the channel
[14:45] dgathright has joined the channel
[14:45] meat_popsicle has joined the channel
[14:45] killfill: hm..
[14:46] kzh has joined the channel
[14:46] killfill: https://github.com/isaacs/npm/blob/master/lib/utils/excludes.js#L104
[14:46] Poetro has joined the channel
[14:46] killfill: if i un-comment that file i see strange things
[14:46] ap3mantus has joined the channel
[14:47] killfill: see some files of my /usr/local/etc.. :(
[14:49] killfill: shinuza: look http://pastebin.com/KZnJnBBw
[14:49] ebryn has joined the channel
[14:50] Clex: killfill: in install.sh you can replace node=`which node 2>&1` by node=strace `which node 2>&1`
[14:50] Clex: Then you can see what files it opens.
[14:50] Clex: Damn. There's no strace on FreeBSD isn't it?
[14:50] JoseCabo: Someone knows a extension for make QT apps for node.js??¿¿
[14:52] fermion has joined the channel
[14:52] ryanmcgrath has joined the channel
[14:52] kohai: @Romeo_Manzur: conectando #ZendFramework + #ActiveMQ + #nodejs
[14:52] jakehow has joined the channel
[14:53] kawaz_air has joined the channel
[14:53] killfill: Clex: well its opening quite some file..
[14:53] killfill: s
[14:53] bbttxu has joined the channel
[14:54] Badababuba has joined the channel
[14:54] CoverSlide: strace uses procfs
[14:55] killfill: Clex: http://pastebin.com/MKnfb8q6
[14:55] killfill: looks wired (at least to me) its opening my open and /usr/local/etc ..
[14:55] killfill: looks wired (at least to me) its opening my home and /usr/local/etc ..
[14:55] kohai: @varunkumar: Node.js vs Java -- http://blog.maxant.co.uk/pebble/2011/05/22/1306092969466.html
[14:56] killfill: just at the end
[14:56] pixel13 has joined the channel
[14:56] stephank has joined the channel
[14:56] Xano has joined the channel
[14:56] Clex: Is there any strange stuff in /usr/home/killfill/npm/npm/.gitignore ?
[14:57] killfill: Clex: there are just two * wich i try to remove from the file
[14:57] killfill: tried to remove the file as well..
[14:58] throughnothing has joined the channel
[14:58] Clex: No, we're looking for a binary file here I think.
[14:58] sleek has joined the channel
[14:58] kawaz_air has joined the channel
[14:58] Clex: A binary file on which node.js tries to apply a regex.
[14:59] killfill: dont know how linux behaved, but at least on freebsd, i can cat a directory.. the outpub will be 'garbage' and inside you can see the name of the files.
[14:59] killfill: i think its trying to open a directory as a file
[14:59] Clex: You're maybe right.
[14:59] Dinosaurus has joined the channel
[15:00] shinuza: Clex: A binary file on which node.js tries to apply a regex. > Good point
[15:00] mauritslamers_: shinuza: found my memory leak :-) thanks for your help :)
[15:00] shinuza: mauritslamers_: so, was it node-mysql>
[15:00] shinuza: ?
[15:00] mauritslamers_: shinuza: it may be that there is another one in the node-mysql adapter, but this one was purely my own fault :)
[15:01] killfill: actually yes. if i 'more /ust/local/etc' i see similar results as the console.warn
[15:01] Clex: A read() on a directory file descriptor fails on Linux, but not on *BSD.
[15:01] mauritslamers_: my app keeps a session cache, but didn't destroy the session objects after timeout
[15:01] saschagehlich: `3rdEden: hey man
[15:01] Clex: So maybe a "if (isdir()) continue;" is missing.
[15:01] killfill: maybe i should modify
[15:01] killfill: yup
[15:01] `3rdEden: saschagehlich hi
[15:01] saschagehlich: do socket.io-clients (server-side) have a .close() event?
[15:01] `3rdEden: 0.6 or 0.7 saschagehlich
[15:01] saschagehlich: 0.6
[15:02] saschagehlich: lol 0.7 wtf
[15:02] Corren: how/if are you guys monitoring node with munin?
[15:02] `3rdEden: they have a _onDisconnect
[15:02] saschagehlich: but there is no way to "kick" clients?
[15:02] `3rdEden: saschagehlich some people are already toying with 0.7
[15:02] `3rdEden: saschagehlich not really
[15:02] saschagehlich: `3rdEden: maybe just close the client socket?
[15:02] `3rdEden: saschagehlich: you should send a kill message to the client and have the client kill it
[15:02] saschagehlich: `3rdEden: alright
[15:02] `3rdEden: saschagehlich polling transports ftw
[15:02] `3rdEden: ;D
[15:02] `3rdEden: + auto reconnect
[15:03] `3rdEden: so that wouldn't help that much
[15:03] saschagehlich: `3rdEden: so the clients have to do socket.close()?
[15:04] shinuza: mauritslamers_: oops :)
[15:04] `3rdEden: saschagehlich probalby in client.request.socket
[15:04] `3rdEden: saschagehlich but I'm not sure :p
[15:04] saschagehlich: grr okay i will try
[15:04] saschagehlich: thanks `3rdEden
[15:04] mauritslamers_: shinuza: indeed :)
[15:04] mauritslamers_: anyway: fixed now :)
[15:04] `3rdEden: saschagehlich not, ideal. iknow ;$
[15:05] shinuza: killfill: maybe there's a bug after all
[15:05] rauchg has joined the channel
[15:05] Clex: shinuza: I think so.
[15:06] Clex: killfill: try to spot any read() corresponding to a directory filesystem in your strace.
[15:06] CodyGray has joined the channel
[15:06] blueadept has joined the channel
[15:07] CodyGray has left the channel
[15:07] killfill: im was checking excludes.js to try to spot it..
[15:07] killfill: but damn got a meeting.
[15:07] killfill: well, maybe another aproach..
[15:08] killfill: it worked fine some time ago.. maybe i shold checkout git log... :P
[15:08] Clex: killfill: you've got some randomness when you "cat" a directory.
[15:08] shinuza: killfill: maybe you should file a bug
[15:08] Clex: It might come from here.
[15:08] killfill: last two commit looks suspicius?
[15:08] shinuza: with http://pastebin.com/KZnJnBBw and http://pastebin.com/yaHw7iqL
[15:08] blueadept has joined the channel
[15:09] killfill: Clex: if i cat a directory, its not a ramdim output. its the files, plus some kind of metadata.. dont really know the detail
[15:09] shinuza: it's trying to "cat" your home I guess
[15:09] shinuza: killfill: can you ls -a your home?
[15:09] Clex: Well on OpenBSD it's random binary data.
[15:09] _rain has joined the channel
[15:09] swilson06: what am i doing wrong here? http://pastebin.com/XvffLCPf
[15:09] niftylettuce has joined the channel
[15:10] swilson06: i installed connect and i can't use it...?
[15:10] Clex: Erw, It was actually.
[15:10] shinuza: swilson06: first you should avoid installing packages globally :)
[15:10] killfill: shinuza: nothing insteresting to see there.. really..
[15:11] shinuza: killfill: I'm just trying to find out if it contains .viminfo .nautilus, etc...
[15:11] killfill: nope, it doesnt..
[15:11] jslatts has joined the channel
[15:11] swilson06: shinuza: curious why?
[15:11] Corren: does anyone monitor node.js machines? if so, how
[15:11] killfill: well .viminfo yes, but not nauttilus
[15:11] shinuza: meh
[15:12] Dinosaurus: is there any good id3 reader/writer
[15:12] Dinosaurus: fer node
[15:12] sub_pop has joined the channel
[15:12] LowValueTarget has joined the channel
[15:12] killfill: could this be it? https://github.com/isaacs/npm/commit/bd38304591043e7045e7a6c521f7de8b2417b461
[15:12] Clex: killfill: what gives you "cat ~ > /tmp/homecat ; file /tmp/homecat"
[15:12] tmpvar has joined the channel
[15:13] killfill: /tmp/homecat: data
[15:13] trotter has joined the channel
[15:13] swilson06: odd, it works when i don't install globally.... guess that's why
[15:13] Clex: Well, that means it's binary.
[15:13] killfill: ok need to go sorry. meeting. thanks anyway!
[15:13] Clex: killfill: this is your bug.
[15:13] Clex: Have a nice meeting. :)
[15:13] gazumps has joined the channel
[15:14] shinuza: killfill: file a bug :P
[15:14] hybsch has joined the channel
[15:14] Clex: And tell your company to allow laptops + ssh during the meetings. :o
[15:14] gsmcwhirter has joined the channel
[15:14] Clex: I could be in a meeting right now.
[15:14] shinuza: Clex: http://news.ycombinator.com/item?id=2657131
[15:15] Clex: I just lurk HN, I don't even have an account. :p
[15:15] JoseCabo: there are any way (Extension?) for making a GUI using node?
[15:16] shinuza: Clex: meh, are you in Paris?
[15:16] shinuza: JoseCabo: QT bindings?
[15:16] kohai: @alltop_java: Creating presentations with Node.js http://bit.ly/mkEnDB (link: http://javablogs.com/Jump.action)
[15:16] CoverSlide has joined the channel
[15:17] Twelve-60 has joined the channel
[15:19] CrabDude has joined the channel
[15:19] flazz has joined the channel
[15:21] kohai: @radishapp: Oooh, a realtime @instagram API demo using Node.js and Redis strings/lists: http://t.co/Yp9D6rh http://t.co/B64ExU4 (link: https://github.com/asalant/Realtime-Demo)
[15:21] slpsys has joined the channel
[15:21] eee_c1 has joined the channel
[15:21] madari has joined the channel
[15:21] Clex: JoseCabo: you gave up on QT?
[15:21] Clex: shinuza: yup.
[15:21] Clex: :@
[15:21] Clex: QT sucks.
[15:21] RORgasm has joined the channel
[15:21] sharkbone has joined the channel
[15:21] niftylettuce has joined the channel
[15:21] kohai: @indutny: Check this out: http://j.mp/kXRQOW a live SPDY node.js server! /cc @eee_c @3rdEden (link: https://spdy.indutny.com/)
[15:21] shinuza: :D
[15:21] CIA-94 has joined the channel
[15:21] pjacobs has joined the channel
[15:21] Prgmrbill has joined the channel
[15:21] AAA_awright has joined the channel
[15:21] JJMalina has joined the channel
[15:21] htoothrot has joined the channel
[15:21] CoverSlide has joined the channel
[15:22] benatkin has joined the channel
[15:22] miloshadzic has joined the channel
[15:22] Clex: shinuza: is this the first meeting?
[15:22] mr-black has joined the channel
[15:22] ryanmcgrath has joined the channel
[15:22] shinuza: Clex: HN meeting yes
[15:22] shinuza: not the first Javascript meeting
[15:22] Aco- has joined the channel
[15:22] saschagehlich: rauchg: ping
[15:23] shinuza: there's one on the last wednesday of each month
[15:23] killfill: heh.. damn client is late 4 hours..
[15:23] Clex: Where is it?
[15:23] optixx has joined the channel
[15:23] killfill: who knows.. good things we are in the same building..
[15:23] Clex: killfill: =)
[15:24] polyrhythmic has joined the channel
[15:24] jamescarr__ has joined the channel
[15:24] tobmaster has joined the channel
[15:24] simenbrekken has joined the channel
[15:24] indutny: https://spdy.indutny.com/
[15:24] digiwano has joined the channel
[15:24] indutny: hey! can you try out this in chrome?
[15:24] FireFly has joined the channel
[15:24] indutny: I mean @everyone
[15:24] kawaz_air has joined the channel
[15:24] sth has joined the channel
[15:25] kohai: @alan_reid: working with node.js is a lot of fun
[15:25] slaskis: indutny: cool! you're finally done with it?
[15:25] febits has joined the channel
[15:25] slaskis: it works for me, that payload thing is that one of those server push things?
[15:25] kzh: I have a method that will return a random property value from an object: `rand.choice(obj)`
[15:25] kzh: The name comes from the python random module http://docs.python.org/library/random.html
[15:25] kzh: I want to alias it to a more JavaScript name, what do you think it should be?
[15:25] indutny: slaskis: it's very close to specification, thanks to eee_c1
[15:25] sethmcl has joined the channel
[15:26] fakewaffle has joined the channel
[15:26] indutny: slaskis: that server doesn't using server push
[15:26] slaskis: oh
[15:26] killfill: how do i revert a file with git?...
[15:26] indutny: slaskis: but it's implemented
[15:26] tbranyen: killfill: checkout
[15:26] Clex: killfill: git checkout
[15:26] kzh: `rand.propery(obj)`? or what about `rand.value(obj)` ?
[15:26] mikeal has joined the channel
[15:26] slaskis: because i get two requests in network, one that's a 'payload request' which only contains 'hello from server'
[15:26] killfill: ah :)
[15:26] Skola has joined the channel
[15:26] simenbrekken has joined the channel
[15:26] sstreza has joined the channel
[15:27] tbranyen: kzh: whats wrong with choice?
[15:27] indutny: slaskis: :)
[15:27] bagock has joined the channel
[15:27] indutny: slaskis: hello from server is body of POST request
[15:27] heavysixer has joined the channel
[15:27] Clex: Btw killfill you shouldn't call it a "revert", a revert is after a commit imho.
[15:27] htoothrot has joined the channel
[15:27] kriszyp has joined the channel
[15:28] highermath_away has joined the channel
[15:28] slaskis: indutny: haha, i missed that one (duh!)
[15:28] jetienne has joined the channel
[15:28] killfill: yah, sorry. im actually new to git.. :P
[15:28] kzh: tbranyen: idk, I guess nothing. py random also uses 'uniform(a, b)` for a random float... I have that as rand.uniform, but I was wondering if it should be rand.number or rand.float
[15:28] saschagehlich: rauchg: is there a way to kick a client from a socket.io server?
[15:29] mikeal: NodeConf SummerCamp tickets are still on sale http://www.nodeconf.com/summercamp.html
[15:29] kzh: If I am copying a module, then I guess, maybe I should keep the same naming conventions...
[15:29] ianward has joined the channel
[15:29] killfill: ok this is it: https://github.com/isaacs/npm/commit/9d8ea3f6730a1c08e776e7c61eb45e600624c99a
[15:30] kohai: @indutny: @ChromiumDev @paul_irish hey! check this out, a node.js SPDY server: https://spdy.indutny.com/ (Unrelated, but not spam :) )
[15:30] devdazed has joined the channel
[15:30] quackquack: Anyone know if the nodeconf video up yet?
[15:30] mikeal: it's not
[15:30] killfill: sure.. are its null, parseIgnoreFiles is opening the directory name.. :P
[15:30] mikeal: they are working on it
[15:30] mikeal: i promise :)
[15:31] quackquack: K, im just impatient i guess :P
[15:31] CrabDude: kohai: just curious, has anyone used SPDY for an API server or something like that yet?
[15:31] softdrink has joined the channel
[15:31] mikeal: same people did jsconf and nodeconf
[15:31] killfill: should i twit isaacs?.. :P
[15:31] mikeal: and gave us a great rate
[15:31] mikeal: but now they have a huge backlog
[15:31] CrabDude: i'd be curious to the speed increases
[15:31] killfill: Clex: you shold have the same problema on openbsd.. did you try lastes version of npm?
[15:31] harth has joined the channel
[15:31] philtor has joined the channel
[15:32] CoverSlide: induty has an spdy library for node
[15:33] Clex: I dont think node.js works on OpenBSD, sadly.
[15:33] madsleejensen has joined the channel
[15:33] CoverSlide: it's not officially supported i dont think
[15:34] guy has joined the channel
[15:34] CoverSlide: but i think it should still work
[15:34] mikeal: i would be surprised if you couldn't make node work on openbsd
[15:34] miccolis_ has joined the channel
[15:34] figital has joined the channel
[15:35] kohai: @plainJavaScript: node.js - JavaScript pass scope to another function - Stack Overflow: http://t.co/1XmLTzR via @addthis (link: http://stackoverflow.com/questions/6348852/javascript-pass-scope-to-another-function)
[15:35] Clex: It wasn't compiling last time I tried.
[15:35] sourcode has joined the channel
[15:35] CoverSlide: i would love for node to lose the python dependency though
[15:35] miccolis has joined the channel
[15:36] kenbolton has joined the channel
[15:36] CoverSlide: although i suppose since v8 needs scons, that won't happen
[15:36] ianward has joined the channel
[15:36] olegp has joined the channel
[15:36] kenbolton has left the channel
[15:37] roger_raymond has joined the channel
[15:37] killfill: did a new issue.
[15:37] leahculver_ has joined the channel
[15:37] jtsnow has joined the channel
[15:37] stalled has joined the channel
[15:37] Clex: CoverSlide: yeah, that's too bad. :/
[15:38] dguttman has joined the channel
[15:39] iammerrick has joined the channel
[15:41] abraham has joined the channel
[15:42] olegp has joined the channel
[15:44] mendel__ has joined the channel
[15:45] razvandme has left the channel
[15:45] newy has joined the channel
[15:45] ianward has joined the channel
[15:45] willwhite has joined the channel
[15:46] miccolis has joined the channel
[15:46] springmeyer has joined the channel
[15:47] fcambus has joined the channel
[15:48] springmeyer_ has joined the channel
[15:48] willwhite has joined the channel
[15:48] miccolis has joined the channel
[15:48] ianward1 has joined the channel
[15:48] amerine has joined the channel
[15:48] langworthy has joined the channel
[15:49] markwubben has joined the channel
[15:51] herbySk has joined the channel
[15:51] mikl has joined the channel
[15:51] mikl has joined the channel
[15:53] Yuffster_work has joined the channel
[15:53] pixel13 has joined the channel
[15:53] pixel13 has left the channel
[15:53] stepheneb has joined the channel
[15:53] unlink has joined the channel
[15:53] unlink has joined the channel
[15:53] bradleymeck__ has joined the channel
[15:54] jakehow has joined the channel
[15:54] klovadis has joined the channel
[15:55] mendel_: indutny: confirm: it's working here
[15:55] rabidewok has joined the channel
[15:55] indutny: mendel_: thanks! :)
[15:55] mendel_: indutny: I've got it running too, how do you proxy it?
[15:56] mendel_: I'm using nginx as proxy but that will probably not work with SPDY?
[15:56] indutny: mendel_: I'm not proxying it
[15:56] indutny: mendel_: I suppose, it won't work
[15:56] mendel_: so you're running it on port 80? ok
[15:56] indutny: mendel_: 443
[15:57] Skola has joined the channel
[15:57] dyer has joined the channel
[15:57] kohai: @garrett: @awafaa: Perhaps it might be better to make the backend work on node.js now? You'd definitely get lots of volunteers that way. (:
[15:57] kohai: @zackyap: Wow. Node.js is perfect for writing multiplayer games...
[15:57] kohai: @indutny: @igrigorik Check this out: https://spdy.indutny.com/ a live node.js SPDY server (with NPN SSL extensions)
[15:58] kohai: @tiagoandrereis: If you haven't tried nodejs I highly recommended it. #nodejs
[15:58] kohai: @jfroma: @ajlopez yes, }I was wondering yesterday why there are so many attempts of node.js like in .net and no one used rx
[15:59] indutny: ryah: oh, hope server will survive that slashdot attack :D
[15:59] ryah: Clex: truss?
[16:00] ryah: indutny: :)
[16:00] kohai: @AndrewLowther: I just got wholly confused, and thought "Why is @OX_Bex tweeting about node.js and SPDY?" then I saw @indutny has the same avatar
[16:00] democracy has joined the channel
[16:01] democracy: ACTION ***GENERAL STRIKE 6/15, 6/22, 6/29/11***SOLIDARITY***
[16:01] Clex: Yeah ryah, forgot about it.
[16:02] kohai: @Outsider__: Ankur Blogoyal | Node.js is backwards http://ff.im/-FOPDg (link: http://blog.ankurgoyal.com/post/6433642218/node-js-is-backwards)
[16:02] sctb has joined the channel
[16:02] fr0stbyte has joined the channel
[16:02] pquerna: indutny: it would be nice if it showeed you something differentif SPDY was used
[16:02] pquerna: (it looks like its the same page if http or spdy)
[16:03] indutny: pquerna: that's the feature :)
[16:03] indutny: pquerna: a transparent protocol switching
[16:03] CoverSlide: there's no spdy:// protocol?
[16:03] indutny: CoverSlide: SPDY is not a protocol , but a layer
[16:03] CoverSlide: oic
[16:03] indutny: CoverSlide: it's between TCP and HTTP
[16:03] isaacs has joined the channel
[16:04] c4milo: indutny: I should see just one connection in my inspector if it's using spdy?
[16:04] pquerna: indutny: well, i meant, if i view it in firefox, its the same as chrome, the only way i know its working is looking at net-internals... maybe on the page say, "Using SPDY: {Yes,No}"
[16:04] indutny: c4milo: nope, try about:net-internals instead
[16:04] yozgrahame has joined the channel
[16:04] pquerna: chrome://net-internals/#spdy
[16:04] indutny: pquerna: yeah, that'll be cool... let me see if I can do that
[16:05] sctb: Is there a way, given a file foo.js which contains variable and function declarations, to run 'node foo.js' and get a REPL with access to those definitions?
[16:05] samsonjs has joined the channel
[16:05] indutny: pquerna: hm.. there is no option for that now
[16:06] indutny: pquerna: thanks for a tip, I'll implement it soon
[16:06] pigmej: hm
[16:06] pigmej: how to disable cache lookups for dns module?
[16:06] slaskis: indutny: your server is down now?
[16:07] guy has left the channel
[16:07] pquerna: indutny: just like the IPv6 turtle page :)
[16:07] indutny: slaskis: is it? :)
[16:07] slaskis: hmm, i'm writing like yoda
[16:07] slaskis: seems like it
[16:07] indutny: slaskis: I don't think so, pquerna can you confirm that my server is down?
[16:08] pquerna: commercial spdy server? wtf
[16:08] pquerna: lets port this to C and pair it with libuv :)
[16:08] indutny: pquerna: heh :)
[16:08] aliem has joined the channel
[16:09] c4milo: indutny: do you know a java library to uses spdy to request pages?
[16:10] slaskis: indutny: strange, it works on another computer
[16:10] indutny: c4milo: nope, life is too short for java
[16:10] TheDahv has joined the channel
[16:10] slaskis: funny because it worked a few minutes ago
[16:10] c4milo: indutny: indeed haha
[16:10] indutny: slaskis: haha :) try opening incognito mode
[16:10] indutny: slaskis: if it'll work that's a broken connection
[16:10] indutny: so opening net-internals
[16:11] pquerna: "what cha gonna do when i replace your business modle with a C library?"
[16:11] indutny: and posting log to issues will be helpful
[16:11] indutny: pquerna: heh :) I'll be happy. I hadn't used google's C library b/c of gclient dependency
[16:12] indutny: slaskis: so any news?
[16:12] slaskis: indutny: yeah, it worked in incognito mode
[16:12] slaskis: indutny: sort off, no styles seems to load
[16:12] pquerna: yea, i'm just surprised by this strangeloop thing
[16:12] indutny: slaskis: that's very strange. Could you please open chrome://net-internals
[16:12] kohai: @gustavowt: #nodejs? esou me apaixonando.... iniciando #tdd com a ferramenta #expresso
[16:12] slaskis: woops now i got: ERR_SPDY_PROTOCOL_ERROR
[16:13] indutny: slaskis: and then request page and the press "Dump to text" and then post issue on github: https://github.com/indutny/node-spdy
[16:13] MrGoodbyte has joined the channel
[16:13] indutny: slaskis: that means that channel got dirty
[16:13] indutny: slaskis: strange that it hasn't reconnected in case
[16:13] theos has joined the channel
[16:14] slaskis: it seems to never close my connections, that first one is still there
[16:14] theos has left the channel
[16:14] hij1nx has joined the channel
[16:14] slaskis: but i don't know, maybe that's a spdy feature?
[16:14] BillyBreen has joined the channel
[16:14] indutny: slaskis: yep, it's using one connection for all stuff
[16:15] hij1nx has joined the channel
[16:15] slaskis: where is the request page?
[16:15] slaskis: on net-internals
[16:15] broofa has joined the channel
[16:15] heavysixer has joined the channel
[16:17] MrGoodbyte: hello everyone, I m having a problem with close event of socket.
[16:17] MrGoodbyte: http://pastebin.com/SrXt05iN
[16:17] MrGoodbyte: I test it with telnet
[16:18] MrGoodbyte: it's ok with data event but close event doesnt work when I kill telnet
[16:18] febits has joined the channel
[16:18] MrGoodbyte: Do I make it wrong?
[16:20] Dinosaurus has joined the channel
[16:20] Swimming_bird has joined the channel
[16:20] kohai: @habralenta: Node.JS / [Ссылка] Live SPDY сервер на node.js http://bit.ly/mp96QF (link: http://habrahabr.ru/blogs/nodejs/121918/)
[16:21] kohai: @CoffeeScript: @wardbell Node.js is supposed to run natively on Windows in just a few months, though. That should help a lot.
[16:22] kohai: @holyslon_news: Node.JS / [Ссылка] Live SPDY сервер на node.js: За последнюю неделю контрибьютерами проекта была добавлена подде... http://bit.ly/jyLWCV (link: http://habrahabr.ru/blogs/nodejs/121918/?utm_source=twitterfeed&utm_medium=twitter)
[16:24] matbee has joined the channel
[16:24] sctb has left the channel
[16:24] JoseCabo has joined the channel
[16:24] cadorn has joined the channel
[16:26] sudhirjonathan has joined the channel
[16:26] remysharp has joined the channel
[16:27] arpegius has joined the channel
[16:28] thoolihan has joined the channel
[16:28] matti has joined the channel
[16:28] matti has joined the channel
[16:28] nibblebot has joined the channel
[16:31] TheDahv has left the channel
[16:32] fizx has joined the channel
[16:33] kmiyashiro has joined the channel
[16:33] mjr_ has joined the channel
[16:33] quackquack: Is there middleware for compiling client coffeescript with express/connect?
[16:33] nathan has joined the channel
[16:34] thoolihan has joined the channel
[16:34] tiagoa: MrGoodbyte: what version you're using?
[16:34] kohai: @wesbos: new Node.js tutorial up. This one makes a slight at rails ;) http://bit.ly/iRVUkr (link: http://net.tutsplus.com/tutorials/javascript-ajax/node-js-step-by-step-blogging-application/)
[16:34] tiagoa: socket's verstion
[16:34] tiagoa: *version
[16:36] charlesyin has joined the channel
[16:37] saschagehlich has joined the channel
[16:37] eee_c has joined the channel
[16:37] pigmej: any way to do dns.resolve on remote dns ?
[16:38] __tosh has joined the channel
[16:40] monokrome: Hmm...
[16:40] monokrome: I think that I'm having a socket.io issue here... http://monokro.me
[16:40] CoverSlide: client coffeescript?
[16:40] monokrome: Does anyone see a music player? (It wont autoplay)
[16:40] quackquack: CoverSlide: i got it figured out
[16:41] mt3ck_: monokrome, works for me
[16:41] monokrome: http://paste.pocoo.org/show/408287/
[16:41] monokrome: mt3ck_: The audio player is showing?
[16:41] mt3ck_: flac mp3 and ogg open in new link but it plays
[16:41] mt3ck_: new tab*
[16:41] monokrome: Oh, there should be an audio player in the top right that plays the entire album
[16:41] mt3ck_: nope
[16:42] monokrome: Right, that's the issue :(
[16:42] monokrome: There's a bunch of Socket.IO errors going on
[16:42] mt3ck_: =*(
[16:42] mc_greeny has joined the channel
[16:43] perezd has joined the channel
[16:43] highermath_away has joined the channel
[16:43] highermath_away has joined the channel
[16:44] eresair has joined the channel
[16:44] Corren has joined the channel
[16:45] Murvin has joined the channel
[16:46] highermath_away has joined the channel
[16:46] highermath_away has joined the channel
[16:46] indutny: pquerna: and so we are! :)
[16:46] indutny: pquerna: checkout new https://spdy.indutny.com
[16:47] indutny: pquerna: tada! :)
[16:47] addisonj: hrm... so I just started an app in production, and it says that connect.session() is not designed for production... so... what should I be using
[16:47] jmoyers has joined the channel
[16:47] monokrome: I think that maybe nginx can't stream websockets properly? :/
[16:48] addisonj: thats correct monokrome
[16:48] addisonj: there is a patch somewhere that you can build with, but its apparently quite experimental
[16:49] samsonjs has joined the channel
[16:49] MrGoodbyte: tiagoa: I just installed the latest version of node.js on my ubuntu 11.04 I started to think that I m doing it wrong :\
[16:49] dguttman has joined the channel
[16:49] aperiodic has joined the channel
[16:49] samuelkadolph: nginx can only proxy with http/1.0
[16:49] tiagoa: and what is the socket's version?
[16:50] samuelkadolph: So no websockets
[16:50] kohai: @rstackhouse: @brianthecoder I was wondering on what your thoughts were regarding using node.js in a production setting.
[16:51] MrGoodbyte: by the way it's a simple net.socket server. I m kinda newbie in node.js but I dont think there is a different version for socket module?
[16:51] BigWookie has joined the channel
[16:51] MrGoodbyte: net module I mean
[16:51] monokrome: Still doesn't seem to work with a direct NodeJS server
[16:53] MrGoodbyte: tiagoa: you want me to put full source code on pastebin?
[16:53] SalmanPK has joined the channel
[16:53] monokrome: Hmm... It is using xhr-polling instead of websockets on the server :(
[16:54] tiagoa: please
[16:54] reid has joined the channel
[16:56] pengwynn has joined the channel
[16:56] svnlto has joined the channel
[16:56] kohai: @adamretter: @ndw Sure JavaScript is the new overlord and node.js etc look cool
[16:57] svnlto has joined the channel
[16:57] bergie has joined the channel
[16:57] monokrome: Does anyone see the audio player now? Trying to see if it's just me, or if everyone gets forced into xhr-polling :/ http://monokro.me
[16:58] monokrome: weird
[16:58] kohai: @brianthecoder: @rstackhouse I think @technoweenie is the main guy working on node.js at @github
[16:59] charlesyin has joined the channel
[16:59] monokrome: I bet the socket.io websocket requires I open some port
[17:00] kohai: @HNTweets: A Live SPDY server running on node.js server: http://bit.ly/mKFlet Comments: http://bit.ly/iIlar9 (link: https://spdy.indutny.com/)
[17:00] MrGoodbyte: tiagoa: http://pastebin.com/NmtnsMDB
[17:00] indutny: omg, I can't understand how it's resisting that DDoS attacks! :)
[17:00] kohai: @stephenpope: SPDY Server on Node.js - https://github.com/indutny/node-spdy
[17:01] MrGoodbyte: it's a really basic socket example
[17:01] MrGoodbyte: but I can't get close event work
[17:01] tjholowaychuk has joined the channel
[17:01] tiagoa: hm
[17:01] Cleer has joined the channel
[17:02] ryan0x2 has joined the channel
[17:02] tiagoa: do you don't receive an error from socket.io in console?
[17:03] mendel_: which socket.io version are you running
[17:03] mendel_: the master @ github isn't complete yet
[17:03] MrGoodbyte: I dont use socket.io framework
[17:03] mendel_: ok, just read the last couple lines
[17:03] mendel_: my bad
[17:03] MrGoodbyte: but I installed the latest one a few hours ago
[17:03] havenn has joined the channel
[17:03] tiagoa: than, use it
[17:03] tiagoa: try
[17:03] CoverSlide: indutny: how many hits are you getting?
[17:04] maru_cc has joined the channel
[17:04] monokrome: reverting back to xhr-polling should still not break my site though
[17:04] monokrome: hmm
[17:04] MrGoodbyte: I ll give it a shot of course but you know that I m trying to learn how to work with node.js
[17:04] monokrome: (especially since the exact same code works locally)
[17:04] eee_c1 has joined the channel
[17:04] MrGoodbyte: I just want to know why my code dont work
[17:05] indutny: CoverSlide: I've no logging in front of it, so I don't know... but it's on HN and one russian IT tech blog site, anyway that's load is much bigger than what I'd produced in local environment
[17:05] MrGoodbyte: I mean I cant see anything wrong in source code somehow my function has no effect on close event
[17:05] MrGoodbyte: that 's why I said I started to think that I m doing it wrong (:
[17:05] tiagoa: it works when you send a data (on('data'))?
[17:05] MrGoodbyte: yes
[17:06] samsonjs has joined the channel
[17:06] MrGoodbyte: I'm trying to port my task server to node.js from python while I'm learning node.js
[17:07] MrGoodbyte: Actually I have ported some of the codes and works fine
[17:07] MrGoodbyte: but I cannot handle connection closing
[17:08] pen has joined the channel
[17:09] dyer has joined the channel
[17:10] confoocious has joined the channel
[17:12] kriszyp has joined the channel
[17:12] raidfive has joined the channel
[17:14] monokrome: Do socket.io websockets use a different port?
[17:15] BigWookie has left the channel
[17:15] kohai: @abdintarkmani: @mikeloukides nice read http://t.co/x6dS37M #javascript with the development of node.js & HTML5 has a lot of potentials (link: http://radar.oreilly.com/2011/06/time-to-learn-javascript.html)
[17:15] monokrome: I've opened 80 and 843 (843 is for some SWF thing)
[17:15] monokrome: but still, I only get the xhr-polling backend
[17:16] MrGoodbyte has joined the channel
[17:17] aheckmann has joined the channel
[17:17] langworthy has joined the channel
[17:17] dnjaramba has joined the channel
[17:18] brianm_ has joined the channel
[17:18] KingJamool_ has joined the channel
[17:18] zmbmartin: tjholowaychuk: is connect-form async? When I upload a file the browser redirects before the upload and processing is done so the image doesn't load until I refresh again.
[17:18] Murvin: hi.. what should I do to keep my node running regardless my ssh terminal is off or not? Use screen?
[17:19] tjholowaychuk: zmbmartin yes, it's just a wrapper around node-formidable
[17:20] brianm_ has joined the channel
[17:20] monokrome: Murvin: I use 'forever'. It's pretty helpful :)
[17:20] xerox: monokrome: how does it handle programs that throw terminating exceptions right after the start
[17:20] xerox: for a reason or another
[17:21] herbySk has joined the channel
[17:22] namelessnotion has joined the channel
[17:22] msilverman2 has joined the channel
[17:22] monokrome: wtf. Firefox is using flashsocket, and Chrome is using xhr-polling
[17:23] malkomalko has joined the channel
[17:25] sayu has joined the channel
[17:25] fermion has joined the channel
[17:25] xerox: https://github.com/andreasgal/pdf.js
[17:25] xerox: wow?
[17:26] mikey_p: if it works that's pretty awesome
[17:26] zmbmartin: tjholowaychuk: so if I want to notify the client when the image is done processing is socket.io the way to go?
[17:26] tbranyen: mikey_p: well works is one thing... works well is another
[17:26] tbranyen: heh
[17:28] systemfault: Hmm, doesn't the SOP actually makes a js pdf viewer, useless?
[17:28] systemfault: (Even if it's a feat to have successfully written that)
[17:28] gkmngrgn has joined the channel
[17:29] dgathright has joined the channel
[17:29] Dinosaurus has joined the channel
[17:30] mjr_ has joined the channel
[17:30] msilverman2 has joined the channel
[17:31] liar has joined the channel
[17:33] dgathright_ has joined the channel
[17:33] abraham has joined the channel
[17:34] msilverm_ has joined the channel
[17:34] Skola has joined the channel
[17:34] pquerna: indutny: are you impementing v2 or v3 of the spdy spec?
[17:34] pyrony has joined the channel
[17:35] sreeix has joined the channel
[17:36] kohai: @WebStartupGroup: StartupNews: A Live SPDY server running on node.js server http://bit.ly/kBMIVb (link: https://spdy.indutny.com/)
[17:36] systemfault: Nice idea the sdpy server :D
[17:37] tahu has joined the channel
[17:38] tahu has joined the channel
[17:38] kohai: @welkaim: Creating presentations with Node.js « Gridshore http://t.co/zYzLXja via @feedly (link: http://www.gridshore.nl/2011/06/15/creating-presentations-with-node-js/)
[17:38] mikl has joined the channel
[17:38] mikl has joined the channel
[17:38] cognominal_ has joined the channel
[17:39] MrGoodbyte has joined the channel
[17:41] CodyGray has joined the channel
[17:41] quijote has joined the channel
[17:41] Yoric has joined the channel
[17:41] dnjaramba has joined the channel
[17:43] kohai: @dathanvp: mySQL DBA: Building a realtime Feed with RabbitMQ Node.js AMQ... http://t.co/kpBARLc #nodejs #amqp #rabbitmq #mysql #memcache #scale (link: http://mysqldba.blogspot.com/2011/06/building-realtime-feed-with-rabbitmq.html?spref=tw)
[17:43] kohai: @NodeJSAtSO: Horizontal scaling of node.js server instances on a single machine http://bit.ly/lwUQ5S (link: http://stackoverflow.com/questions/6361776/horizontal-scaling-of-node-js-server-instances-on-a-single-machine?utm_medium=twitter&utm_source=twitterfeed)
[17:43] trotter has joined the channel
[17:44] markwubben has joined the channel
[17:46] `3rdEden has joined the channel
[17:46] kohai: @kalimbahn: A Live SPDY server running on node.js server http://goo.gl/fb/BJlmX #hackernews #kalimba (link: http://feeds.feedburner.com/~r/Kalimba/~3/oLn-0jLXV0s/?utm_source=feedburner&utm_medium=twitter&utm_campaign=kalimbahn)
[17:46] luke` has joined the channel
[17:47] dgathright has joined the channel
[17:48] Marak has joined the channel
[17:48] qrux has joined the channel
[17:49] kohai: @orospakr: Slides form my #nodejs talk for #linuxsymposium: http://t.co/OzLU1A7 (link: http://orospakr.ca/stuff/nodejs_talk_ols2011/src/nodejs_talk.html)
[17:50] hij1nx has joined the channel
[17:50] AvianFlu has joined the channel
[17:51] harth has joined the channel
[17:51] iFire has joined the channel
[17:51] qrux has joined the channel
[17:53] kohai: @RobRobbins: Why does #jsctags error with the newest #nodejs? A implementation of with?
[17:55] tbassett has joined the channel
[17:55] Dinosaurus: can anyone see a reason why this would not be writing bytes correctly? https://gist.github.com/58bd7f3d7b22cc703da3
[17:56] Dinosaurus: it's ripping data from a tcp stream
[17:56] CodyGray has left the channel
[17:56] Dinosaurus: it writes the correct # of bytes
[17:56] Dinosaurus: but does not seem to match the original file
[17:56] Dinosaurus: and the songs have some distortions
[17:56] sayu: Hi, Can someone recommend some tutorials to learn node?
[17:57] Dinosaurus: you can test it by like "sudo node app.js wlan0"
[17:57] saschagehlich has joined the channel
[17:57] Dinosaurus: which will begin listening on your device
[17:58] Dinosaurus: and you can test it by playing a song from grooveshark.com
[17:58] tbranyen: Dinosaurus: like your nick
[17:58] srid has joined the channel
[17:58] srid has joined the channel
[17:58] fly-away has joined the channel
[17:58] Dinosaurus: thanks xD
[17:59] m00p has joined the channel
[17:59] Dinosaurus: i think it is me misunderstanding writestream
[18:00] broofa_ has joined the channel
[18:00] BigWookie has joined the channel
[18:01] BigWookie: :O why did npm change the installation dir, and what is the appropiate way to make it work with the latest node version
[18:01] tiglionabbit_ has joined the channel
[18:01] BigWookie: (global installation dir )
[18:01] Dinosaurus: npm install -g blah
[18:02] fly-away: hoi
[18:02] BigWookie: i know that, but the path changed from prefix/lib/node to prefix/lib/node_modules and that is not per default in the require.paths
[18:03] herbySk has joined the channel
[18:03] Dinosaurus: idk, i don't do global installs
[18:03] CIA-94: node: 03Mark Cavage 07v0.4 * r7c51275 10/ src/node_crypto.cc : Cleanup crypto verify to not print unnecessary errors - http://bit.ly/jHM4Ey
[18:04] Skola: If I were to present a commented/annotated piece of code on a blog, is there any way of presenting it _other than just the whole thing all at once_ that would benefit my readers?
[18:05] seangaffney has joined the channel
[18:05] Dinosaurus: o.o not sure what mean
[18:06] fly-away: hi
[18:06] telemachus: Skola: Depending on how long it was, I would tend to put code without comments then discussion - or maybe Docco?
[18:06] Skola: like chop it up in chunks or something like that
[18:06] Skola: I was thinking Docco
[18:06] fly-away: how can I parse html under nodejs?
[18:06] hij1nx has joined the channel
[18:06] wadey has joined the channel
[18:06] fly-away: into dom I mean
[18:06] Dinosaurus: use jquery ? :D
[18:06] telemachus: Skola: I find that pretty readable
[18:06] Skola: but I kinda rolled my own use of pygments
[18:06] CoverSlide: jsdom
[18:07] Skola: ofc I shouldn't reinvent the wheel
[18:07] saschagehlich has joined the channel
[18:07] fly-away: CoverSlide, is it fast?
[18:07] telemachus: fly-away: jsdom
[18:07] Skola: but the blog is also design oriented
[18:07] telemachus: ?
[18:07] Skola: so I'd like to come up with a site-wide solution that looks pretty
[18:07] Dinosaurus: in that case add some dropshadows
[18:07] CoverSlide: it's kinda the go-to library for your problem
[18:07] Skola: lol Dino
[18:07] Dinosaurus: some sweet gradients n stuff :d
[18:08] Skola: my site will have about 15 CSS rules
[18:08] Skola: kinda ascetic
[18:08] kohai: @kadirpekel: coffee stack with coffeegrind http://t.co/rDNp4mK #nodejs (link: https://github.com/twilson63/coffeegrind)
[18:09] unlink has joined the channel
[18:09] kohai: @AndrewLowther: @JoshNursing I may well do, my first experience was not a pleasant one, using the node.js beacon push api, which is written in coffee...
[18:09] Dinosaurus: i love getting twitter spammed in my face when i'm not on twitter
[18:09] Skola: kohai?
[18:09] Dinosaurus: ye
[18:09] Skola: (I can't see cus /ignore)
[18:09] Dinosaurus: ah good idea :D
[18:09] mahna: ignore++
[18:09] v8bot: mahna has given a beer to ignore. ignore now has 1 beers.
[18:10] kohai: @YCHackerNews: A Live SPDY server running on node.js server: Comments:
[18:10] mahna: whoops
[18:10] Skola: ignore++
[18:10] v8bot: ignore is getting too many beers. Don't let ignore get drunk!
[18:11] Murvin: hi.. i m using ab to load test my node.js . my unlimit opne files is 2500. but I can only do 1024 concurrent level for ab. if I change to 1025, it fails. is 1024 the max concurrent for ab? or how can I increase the max?
[18:11] jacobolus has joined the channel
[18:11] lukegalea: Murvin: I just wrote something in node to test.
[18:11] lukegalea: I'm pretty sure ab will fail before your node app ;)
[18:12] ewdafa has joined the channel
[18:12] Murvin: well. i try anything below 1024 concurrency, it works. ab can run and give a nice report. but if i do more than 1024 (even ulimit is higher than that), ab fails. lol
[18:13] topaxi has joined the channel
[18:13] Murvin: but I know node can do more than that. but just don't know how to make ab take more concurrent level.
[18:13] ebryn has joined the channel
[18:13] shinuza_ has joined the channel
[18:13] tomtomaso has joined the channel
[18:14] saurabhverma has joined the channel
[18:14] jbpros has joined the channel
[18:14] mendel_: indutny: your spdy test server is down
[18:14] mendel_: https://spdy.indutny.com/
[18:14] mendel_: too much traffic from YCHackerNews? :p
[18:15] kohai: @basav: Node.js From the Enterprise #Java Perspective http://zite.to/lZ27yi (link: http://blog.shinetech.com/?p=394)
[18:18] v0idless- has joined the channel
[18:18] kohai: @zeit_geist: still waiting for hipster OS -- the OS purpose-built for Node.js
[18:20] kohai: @newsyc20: A Live SPDY server running on node.js server https://spdy.indutny.com/ (http://bit.ly/lDhQeJ) (link: http://news.ycombinator.com/item?id=2657809)
[18:20] kohai: @jschairb: #lazytwitter re: node.js if I use express.js, am I doing it wrong?
[18:20] sioked has joined the channel
[18:21] kohai: @sogrady: no joy yet getting Calipso running on my no.de SmartMachine. though i at least managed to reset my node.js version.
[18:22] jhurliman has joined the channel
[18:23] matty_ has joined the channel
[18:24] adrianmg has joined the channel
[18:25] simenbrekken has joined the channel
[18:25] BigWookie: anyone seen this before node-expat.node: undefined symbol: ev_rt_now ?
[18:26] BigWookie: v0.5.0-pre
[18:26] Xano_ has joined the channel
[18:27] baudehlo: don't use v0.5
[18:27] caolanm has joined the channel
[18:28] Marak: BigWookie: try downgrading to the lastest stable node version?
[18:28] BigWookie: thought master is stable
[18:28] Marak: BigWookie: why would you think the HEAD release is stable?
[18:29] Marak: BigWookie: node uses even / odd versions, so 0.4.x is the stable branch
[18:29] BigWookie: because i'm naive?
[18:29] Marak: the release where everyone is checking in 0-day code is gonna not be stable by definition
[18:29] halfhalo: lies
[18:30] Marak: top of the morning to ya
[18:30] BigWookie: i would create a devel branch
[18:30] __tosh has joined the channel
[18:30] Marak: BigWookie: hold on i have something for this
[18:30] tmpvar: lol
[18:30] tmpvar: drum roll
[18:30] highermath_away has joined the channel
[18:30] highermath_away has joined the channel
[18:31] tosh has joined the channel
[18:31] Marak: BigWookie: http://i.imgur.com/CQhpA.png
[18:31] slickplaid: lol
[18:31] Marak: BigWookie: or better yet, http://i.imgur.com/Nz870.png ! :-p
[18:31] tmpvar: hah, thats what i thought you were going to use first
[18:31] AvianFlu has joined the channel
[18:31] mhausenblas has joined the channel
[18:32] BigWookie: xD If you read carefully i never complained ;)
[18:33] Marak: BigWookie: i'm just joshing with you :p
[18:33] Marak: BigWookie: i think we need to make it more clear that master isnt gonna be stable
[18:33] dmcquay has joined the channel
[18:33] Marak: lots of people hit that
[18:34] systemfault: node.js would need a repo service for popular distros..
[18:34] systemfault: Nobody likes to compile.
[18:34] systemfault: jetienne has been kind enough to make a PPA for ubuntu.. but nobody knows about it
[18:35] BigWookie: Marak: I fully understand you if few times a day an idiot runs in and asks why nothing works :P
[18:35] tmpvar: there are no idiots here
[18:35] tiagoa_ has joined the channel
[18:36] masylum_ has joined the channel
[18:37] Marak: except Calvin he's a retard
[18:37] BigWookie: xD
[18:37] Marak: Calvin: do you like cookies?
[18:37] Marak: ohh he's quiet today
[18:37] Skola: Calvin Calvin
[18:37] mattmoss has joined the channel
[18:37] Skola: Sup with him?
[18:37] Marak: !insult Calvin
[18:37] kohai: Calvin smells of elderberry wine!
[18:37] Calvin: Marak apostrophe's incorrectly in insults.
[18:37] CoverSlide: .. "I'm a retard"
[18:37] Calvin: 03"I'm a retard"
[18:37] Marak: .. "cake"
[18:37] Calvin: 03'cake'
[18:37] BigWookie: ROFL
[18:37] Skola: .. Calvin
[18:37] Calvin: ReferenceError: Calvin is not defined
[18:38] dnjaramba has joined the channel
[18:38] prettyrobots has joined the channel
[18:38] BigWookie: xD why do you insult calvin?
[18:38] Skola: y not? he's a ho
[18:39] hij1nx has joined the channel
[18:39] philippkueng has joined the channel
[18:39] MarkMenard has joined the channel
[18:39] kohai: @enotionz: Just got my Joyent Node.js smartmachine to play with. Now I need a project idea.
[18:39] BigWookie: should've looked before xD bot
[18:41] MarkMenard_ has joined the channel
[18:41] Xano_ has joined the channel
[18:42] OneBraveHog has joined the channel
[18:42] springmeyer has joined the channel
[18:43] Swimming_bird has joined the channel
[18:43] vikstrous has joined the channel
[18:43] kawaz has joined the channel
[18:45] philtor has joined the channel
[18:46] eldar has joined the channel
[18:47] BigWookie: downgraded to v 4.8 :) now it works, thanks
[18:48] dgathright has joined the channel
[18:49] copongcopong has joined the channel
[18:51] mraleph has joined the channel
[18:51] mraleph: piscisaureus: pong
[18:51] pietern has joined the channel
[18:51] kohai: @Super_Sid: After #XMPP im trying to find a favorite in #NodeJs or #EventMachine
[18:51] piscisaureus: mraleph: you are magic
[18:51] piscisaureus: how did you know i pinged you?
[18:51] mraleph: piscisaureus: in what sense?
[18:51] Skipants has joined the channel
[18:51] mraleph: piscisaureus: ah
[18:52] mraleph: I have a small bot that monitors the logs produced by Felix's bot for words like v8 and mraleph
[18:52] piscisaureus: hehe :-)
[18:52] piscisaureus: mraleph: but to the point, can you explain to me what 'MarkIndependent' does
[18:53] piscisaureus: I found the comment in v8.h rather confusing
[18:53] Skipants has joined the channel
[18:53] mkultra329 has joined the channel
[18:53] mraleph: non independent handles die only on major (full) collections
[18:53] piscisaureus: under what circumstances does this allow us to have a WeakCallback and still have the object scavenge-able
[18:53] montylounge has joined the channel
[18:53] BigWookie has left the channel
[18:54] piscisaureus: Is that the only difference?
[18:54] mraleph: independent handles can't participate in Object Groups
[18:54] iammerrick has joined the channel
[18:54] mraleph: but node does not use object groups API
[18:54] piscisaureus: ... which is a feature that I've never heard of ...
[18:54] mraleph: so yes it is the only difference
[18:55] piscisaureus: oh, cool
[18:55] jamesbroad has joined the channel
[18:55] mraleph: this is for the best that you've not heard about this evil API
[18:55] Skipants has joined the channel
[18:56] mraleph: so you should probably just mark all nodes ObjectWrap handles as independent
[18:56] piscisaureus: mraleph: for ObjectWrap we are not using that api at all any more. We kill them explicitly.
[18:56] piscisaureus: mraleph: but we need to solve this for buffers
[18:56] thalll has joined the channel
[18:57] mraleph: ok
[18:57] Skipants has joined the channel
[18:58] bradleymeck__: isaacs you about?
[18:58] piscisaureus: mraleph: is it possible to have a really efficient callback type (e.g. it does make gc to run twice etc) at the expense of not allowing heap access from the callback?
[18:58] piscisaureus: I mean, just call the callback whenever the heap slot gets freed or something like that?
[18:59] dmcquay_ has joined the channel
[18:59] mraleph: you mean weak callback?
[18:59] mraleph: yes
[18:59] mraleph: but that would require API rework.
[18:59] piscisaureus: what kind of rework?
[19:00] boaz has joined the channel
[19:00] 64MAAPMB2 has joined the channel
[19:00] adambeynon has joined the channel
[19:00] mraleph: well basically someone needs to introduce a weak callback that can't touch V8 at all.
[19:00] mraleph: it's not a rework but rather an extension.
[19:01] piscisaureus: mraleph: well you can't really prevent the user from touching v8. You just need to specify that it is not allowed.
[19:01] mraleph: yep that's what I meant
[19:01] piscisaureus: (just like you can't do that from the gc epilogue callback)
[19:01] jamescarr__ has joined the channel
[19:01] highermath_away has joined the channel
[19:01] highermath_away has joined the channel
[19:01] broofa has joined the channel
[19:02] philtor has joined the channel
[19:02] piscisaureus: mraleph: because usually what we want to do from the callback is just delete some C++ object
[19:02] mraleph: yeah
[19:02] piscisaureus: If I wanted to do that, where would I start?
[19:04] piscisaureus: Hooking into the code where heap slots are juggled seems to be rather invasive
[19:04] AAA_awright: bibabot: I'm working on one for RDF data, there's at least one other CMS project in progress
[19:04] highermath_away has joined the channel
[19:04] highermath_away has joined the channel
[19:05] mraleph: well global-handles.cc then look at how it interacts with garbage collection then fix it :-)
[19:05] gkmngrgn has joined the channel
[19:05] mraleph: it's pretty hairy
[19:05] piscisaureus: mraleph: I thought about having a separate list of "sparse" handles that do count as a gc root
[19:05] piscisaureus: after the mark phace we iterate over all the sparse handles and check whether they reference an unmarked object
[19:05] sinke has joined the channel
[19:06] mraleph: yep
[19:06] piscisaureus: if that's the case, dispose and call the callback
[19:06] sinke: hi noders :)
[19:06] mraleph: but that would basically replicate some of the functionality available in global-handles.cc :-)
[19:06] bibabot: AAA_awright: great .. anywhere i can see it?
[19:06] piscisaureus: mraleph: well
[19:07] piscisaureus: currently it seens that Weak handles take 2 rounds of gc to be cleaned up
[19:07] KingJamool_ has joined the channel
[19:07] eee_c has joined the channel
[19:07] mraleph: yep
[19:07] sinke: i have to process 10000 (thousand more less) client requests in a 5 seconds, should i do that with node.. im stuck on win2008 , node works just fine on it
[19:07] tbranyen: sinke: upgrade to linux
[19:08] sinke: tbranyen.. cant
[19:08] tuhoojabotti: mo
[19:08] tbranyen: sinke: i hate that word
[19:08] sinke: question is about node, not about os
[19:08] piscisaureus: mraleph: these hooks are all after the GC is completely done. So adding this fast-weak logic there would be no good, I want to have these callbacks made halfway in the gc, so we don't require two rounds
[19:08] tbranyen: well see... thats where you're wrong
[19:09] tbranyen: sinke: i dunno try out the latest node build that has libuv
[19:09] mraleph: piscisaureus: I understand that
[19:09] Skola: he's not on win08 voluntarily I'm guessing
[19:09] tbranyen: Skola: well yeah, but i'm assuming node would be used volunatarily
[19:09] Murvin: monokrome: what is "forever"? do u have the website that I can take a look?
[19:09] tbranyen: since nobody would demand to run node on windows
[19:09] sinke: i have to figure out how to do it on win08.. thats all :)
[19:09] tbranyen: i'd hope
[19:09] sinke: node works just fine on windows
[19:10] tbranyen: "just fine"
[19:10] tbranyen: it worked like shit last time i tried it in cygwin
[19:10] tbranyen: mingw is probably no better
[19:10] Skola: just windows doesn't work fine :[]
[19:10] sinke: Skola :)
[19:10] Skola: jaja I'm messing around :p
[19:10] sinke: i dont try it in cygwin.. is installed as win service
[19:10] mraleph: piscisaureus: basically what you want to do is to IdentifyWeakHandles and call callbacks immediately without doing additional round of processing to preserve weakly reachable objects
[19:11] mavin has joined the channel
[19:11] kohai: @zephrax: #nodejs #zombie if someone cannot install zombie using "NPM" try this solution https://github.com/assaf/zombie/issues/143
[19:11] mraleph: piscisaureus: might be a tad hard to do that from inside markcompact collector as objects have (temporararily) corrupted headers there but doable (in a hack and slash way).
[19:13] eazyigz has joined the channel
[19:13] ryan0x2_ has joined the channel
[19:13] Murvin: how to set the max % of CPU node can use?
[19:13] v0idless- has joined the channel
[19:13] Murvin: sometimes it will take up to 95%. which is kinda scary.
[19:14] Murvin: although no fail.
[19:14] eazyigz: Hi, can somebody recommend a good templating engine that I can create a simple analytics webpage with? I have tried CoffeeKup, but it has a bug in rendering html tables. I have looked at Mustache, HandleBars, Jade, etc., but am unsure which one will be the easiest
[19:14] darshanshankar has joined the channel
[19:14] Murvin: I use jqtpl
[19:14] jhurliman: eazyigz, my vote is with jade
[19:14] gf3: Jade
[19:14] Murvin: eazyigz: I use jqtpl
[19:14] coreb has joined the channel
[19:15] slaskis: eazyigz: i like ejs
[19:15] hellp has joined the channel
[19:15] eazyigz: Murvin: jqtpl doesn't have great documentation and examples
[19:15] eazyigz: jade does look very straightforward for a one-page thing I am building...
[19:16] piscisaureus: mraleph: what do you mean by "corrupted headers" -- what is corrupted exactly?
[19:16] Skola: Jade rox0rs jawohl
[19:16] slaskis: eazyigz: this one: https://github.com/visionmedia/ejs not the clunky embeddedjs.com one
[19:16] bloodsucker_ has joined the channel
[19:16] Skola: for a one page-something I'd def. go with jade
[19:16] Murvin: eazyigz: I agree. but the syntax is simplier than Jade. i feel...
[19:16] bloodsucker_: Hello to everybodyyyyyy
[19:17] idefine has joined the channel
[19:17] Skola has joined the channel
[19:17] Murvin: so, anyone know how to limit the % of CPU node can use?
[19:17] bloodsucker_: Murvin, 100%??
[19:18] bbrn has joined the channel
[19:18] JoseCabo: Murvin, 100% should could use.
[19:18] slaskis: Murvin: like http://cpulimit.sourceforge.net/ ?
[19:18] Lagnus has joined the channel
[19:18] JoseCabo: Murvin, ah, sorry, slaskis
[19:18] JoseCabo: Murvin, you should use cpulimit, yes.
[19:18] gozala has joined the channel
[19:19] Murvin: bloodsucker_: well. for massive requests, it will go up to 95% or something like that. I want to limit it to only take upto 80%. I don't mind the request processing time being a bit slow.
[19:19] jbergstroem: Murvin: use renice ?
[19:19] Murvin: JoseCabo: cpulimit?
[19:19] Murvin: let me take a look now
[19:19] mraleph: piscisaureus: well. the first words of the objects is a tagged pointer to a Map (aka hidden class) during normal execution
[19:19] mraleph: piscisaureus: but during marksweep gc we remove tag to indicate marked object
[19:19] JoseCabo: yes, Murvin cpulimut, you can adjust how many % of cpu could use a process.
[19:20] JoseCabo: sudo apt-get install cpulimit :P
[19:20] mraleph: piscisaureus: so everything goes BADABOOM if you use getters/setters that rely on properly tagged map pointer
[19:20] JoseCabo: and then man cpulimit or directly cpulimit without args for help.
[19:20] kohai: @Immunda: npm installer is silly; "it worked if it ends with ok" - "not ok"; still ends with ok. Pedantic? yes. #nodejs
[19:20] mendel_ has joined the channel
[19:20] mraleph: piscisaureus: Y U NO ASK THIS QUESTIONS IN PERSON? :-)
[19:21] piscisaureus: mraleph: yeah sorry. We had a quite extensive discussion about this after you went :-/
[19:21] Murvin: JoseCabo: Thanks a lot. :D
[19:21] adambeynon has joined the channel
[19:21] piscisaureus: mraleph: It would have helped, yeah
[19:21] broofa has joined the channel
[19:21] JoseCabo: You are welcome.
[19:21] jbergstroem: Murvin: not sure i see the problem. you're on multicore and that's just one cpu - right? what other processes get shunned while this takes 100%? renice it to low prio and the cpu scheduler will take care of that much better
[19:22] jbergstroem: s/cpu/core
[19:22] KingJamool_ has joined the channel
[19:22] mraleph: piscisaureus: I should have booked a train on monday. silly me.
[19:22] herbySk has joined the channel
[19:22] idefine: how can I handle a lost connection to mongodb from expressjs (currently a lost connection will crash the app), is there a better way to handle this and other issues, so that only the requests fail, not the entire app? Thanks.
[19:22] piscisaureus: mraleph: yeah, it's easy in hindsight. I should have booked a train on tuesday :-)
[19:23] pigmej has joined the channel
[19:23] mendel_: idefine: you're familiar with try/catch?
[19:23] Murvin: jbergstroem: I onlly run node.js on my server. However, my manager will freak out if I show him that node will take 95% CPU. although I know there is no problem at all. lol
[19:24] piscisaureus: mraleph: the discussions we had on sunday night made me realized how fucked up it is that not a single note contributor understands what's going on in the VM.
[19:24] piscisaureus: mraleph: so I'm going to spend time with it and make sure I get to know.
[19:24] Murvin: jberstroem: in fact, for production, if my program goes over 90% cpu, everyone will get email alert. lol i don't want this happen. :) but thanks for the advice ^^
[19:25] mraleph: piscisaureus: :-)
[19:25] jbergstroem: Murvin: 95% cpu for how long? a "ls -al" can just as well grab those 100% if conditions are met
[19:25] mraleph: piscisaureus: don't hesitate to ask :-)
[19:25] mendel_: Murvin: what are you using for that notification? monit?
[19:25] jbergstroem: murvin: i think you're measuring the wrong way here
[19:25] kawaz_air has joined the channel
[19:26] fson has joined the channel
[19:26] kriszyp has joined the channel
[19:27] sirkitree has joined the channel
[19:27] piscisaureus: mraleph: thanks :-). Understanding the gc process is kinda doable so far. I fear the optimizing compiler though.
[19:27] mraleph: :-)
[19:27] AAA_awright: bibabot: Of course, it's not even close to being stable yet, but http://magnode.org/
[19:28] mraleph: piscisaureus: http://youtu.be/Tpy_pYXSpPA
[19:28] idefine: mendel_: yes, are you recommending wrapping all my requests in try catch blocks....
[19:29] piscisaureus: mraleph: http://www.youtube.com/watch?v=GZobEFbCsuM
[19:29] patcito has joined the channel
[19:29] idefine: mendel_: is there anyway to catch errors that have bubbled up to some event emitted by express? (just speculating)
[19:30] hij1nx has joined the channel
[19:31] piscisaureus: mraleph: http://www.youtube.com/watch?v=q-wGMlSuX_c <-- better
[19:32] sinke has left the channel
[19:32] AvianFlu has joined the channel
[19:32] level09 has joined the channel
[19:32] tiglionabbit_ has joined the channel
[19:33] zackattack has joined the channel
[19:33] jbpros has joined the channel
[19:33] podman has joined the channel
[19:34] pifantastic has joined the channel
[19:34] zackattack has joined the channel
[19:35] BrianTheCoder has joined the channel
[19:35] podman: is the a preferred workflow for supporting both SSL and non SSL connections in one app using expressjs?
[19:36] mraleph: piscisaureus: ok I think that killed my work mood for the rest of the day :-)
[19:36] piscisaureus: mraleph: ah, the rest of the day :-)
[19:37] c4milo: idefine: process.on('uncaughtException', function (err) {
[19:37] c4milo: console.log('Caught exception: ' + err);
[19:37] c4milo: });
[19:37] c4milo: ?
[19:38] Murvin: 95% as long as I am running ab testing
[19:38] Murvin: and I m just use Top
[19:38] mraleph: piscisaureus: http://youtu.be/XHosLhPEN3k
[19:39] quackquack: tjholowaychuk: is there a way to use coffeescript in the place of javascript in Jade (following `-` and `=`)
[19:39] tjholowaychuk: quackquack who knows
[19:39] tjholowaychuk: not something im interested in
[19:39] idefine: c4milo: yes, while that that will prevent the app from crashing i'm no longer in the context of the request that just came in..so I wouldn't be able to send some kind of failed response to the server would I? Also, there isn't must detail about the error at that point is there?
[19:39] piscisaureus: :-)) :-))
[19:39] softdrink: ACTION can see tjholowaychuk foaming at the mouth now
[19:39] softdrink: ¬¬
[19:40] quackquack: ah, not a fan of coffeescript. o well
[19:40] podman: does it make sense to just put nginx in front of my node.js server as a reverse-proxy to easily support http and https connections?
[19:40] Murvin: tjholowaychuk: hey, I have sent you a message b4 about socket. and I found out there is a real problem with socket when doing http.request
[19:40] tjholowaychuk: Murvin ah i see
[19:40] softdrink: throwing nginx in front of node seems to be pretty popular. just an observation
[19:40] pixel13 has joined the channel
[19:41] tbranyen: softdrink: probably good for static stuff
[19:41] podman: softdrink: it does, although i'm not particularly sure why
[19:41] tmpvar: not good for websockets, unfortunately
[19:42] mendel_: node-http-proxy supports websickets right?
[19:42] tmpvar: yes
[19:42] shinuza has joined the channel
[19:42] dulanov has joined the channel
[19:43] dulanov has left the channel
[19:43] scott2449 has joined the channel
[19:43] telemachus: Skola: /win 4
[19:43] telemachus: grr
[19:44] huhlig-work has joined the channel
[19:44] podman: hmm, maybe i'll use node-http-proxy instead then
[19:44] podman: still seems like a lot of layers
[19:45] podman: load balancer -> node-http-proxy -> actual app
[19:45] supster has joined the channel
[19:45] podman: and yet another thing to monitor
[19:45] cryptix1 has joined the channel
[19:45] tmpvar: node-http-proxy does basic round-robin load balancing afaik
[19:45] c4milo: idefine: yes, there won't be context. And so you can't send any response back with that error because it was possible already sent it
[19:46] podman: i'm not actually going to use it as a load balancer though
[19:46] huhlig-work: can anyone tell me why this is crashing? http://pastebin.com/XDVLADLj
[19:46] podman: i'm using zeus
[19:46] bibabot: AAA_awright: .. what rdf are you using ? .. (i installed rfdstore via npm .. its not that i think!?)
[19:46] c4milo: idefine: what I usually do to catch exceptions and send back so nice message to the user is try/catch in the service layer (expressjs for me)
[19:47] AAA_awright: bibabot: I'm using my own libraries... I'm not aware of any other RDF packages
[19:47] kohai: @devko_de: Node.JS + Redis = Link Crawling | devko.de http://bit.ly/kz6Yr1 (link: http://www.devko.de/2011/06/15/node-js-redis-link-crawling/)
[19:47] idefine: c4milo: I too am using express, however, I'm not sure where you are placing your try catch? in each request?
[19:47] c4milo: idefine: I'll show you
[19:47] kzh has joined the channel
[19:48] podman: but this would seem to do the trick
[19:48] bibabot: AAA_awright: look at http://search.npmjs.org/ rdf there are a couple..
[19:48] podman: https://github.com/nodejitsu/node-http-proxy/blob/master/examples/proxy-https-to-https.js
[19:48] herbySk has joined the channel
[19:48] AAA_awright: Mhm
[19:48] stisti has joined the channel
[19:48] etaty has joined the channel
[19:48] idefine: ah, there is an app.error didn't know that first of all...should set that up first
[19:48] AAA_awright: bibabot: See https://github.com/Acubed/sparql-spin-js3 and https://github.com/Acubed/node-rdf
[19:49] podman: bah. my certs are probably going to expire soon. how annoying
[19:49] AAA_awright: I don't actually use SPARQL either, I use SPIN representations of SPARQl
[19:49] AAA_awright: bibabot: Are you familiar with RDF?
[19:49] charleyd has joined the channel
[19:50] etaty: there is a little problem with the instruction to install node.js (step 3a)
[19:50] c4milo: idefine: https://gist.github.com/1027940
[19:51] bibabot: AAA_awright: no.. not really..
[19:51] idefine: c4milo: would it not make sense to have each route actually be wrapped in a try catch block then?
[19:52] kmiyashiro has joined the channel
[19:53] wookiehangover has joined the channel
[19:53] c4milo: idefine: that works too
[19:53] etaty: because after installing npm and some modules in global, the node_modules directory will be in ~/local/node/lib/node_modules. But the default path go to ~/.node_modules | ~/.node_libraries | ~/local/node/lib/node
[19:53] steffkes has joined the channel
[19:54] c4milo: idefine: I don't know how it would perform though since the try/catch block involves much more code
[19:54] JoseCabo: etaty, what problem you have?
[19:55] JoseCabo: etaty, ah.
[19:55] idefine: c4milo: well, all i want is to make sure my entire app doesn't fail, just because one request went wrong, currently i'm using mongoose, and if the conneciton to my db is lost, the entire app dies
[19:55] sechrist has joined the channel
[19:55] philtor has joined the channel
[19:56] c4milo: idefine: yeah that should be fine along with process.on('uncaughtException', fn(){});
[19:56] c4milo: idefine: you can also use upstart or monit to keep your service up
[19:56] c4milo: idefine: or to respawn it
[19:57] etaty: it's not a problem but i think it will confuse the news users.
[19:57] c4milo: idefine: github.com/learnboost/cluster even will be helpful in this regard
[19:58] JoseCabo: etaty, anyway i install all npm modules in sudo dir.
[19:58] derp has joined the channel
[19:59] dyer has joined the channel
[19:59] dyer has joined the channel
[19:59] mscdex: node.js rules!
[19:59] mscdex: Calvin: do you work yet?
[19:59] Marak: !insult mscdex
[19:59] kohai: mscdex smells of elderberry wine!
[19:59] Calvin: mscdex named or will name their child Chord
[19:59] etaty: isaacs : will you make some standardization ? (put the npm global directory in the require.path of node.js)
[19:59] xerox: rule number 1: never talk about nodejs
[19:59] Marak: Calvin: How are you?
[19:59] mscdex: calvin!!!
[20:00] mscdex: i think he's partially borked
[20:00] mscdex: or something
[20:00] MooGoo: .talk hey whatup bro
[20:00] Calvin: whatup bro
[20:00] mscdex: !
[20:00] mscdex: that's no fun
[20:00] MooGoo: those nazis over at ##javascript were complaining
[20:00] MooGoo: I know :(
[20:00] mscdex: well who needs them?
[20:01] MooGoo: yo calvin fuck those guys
[20:01] Calvin: those requires, and then have all the money in the world the bullshits that I have after running cluster is coming soon, that will really help workflow fuck
[20:01] mscdex: hah
[20:01] mscdex: he's angry his workflow is going to improve
[20:02] mscdex: i hate when that happens
[20:02] CodyGray1 has joined the channel
[20:02] MooGoo: I cant get work done if I'm not angry as fuck
[20:02] CodyGray1 has left the channel
[20:02] MooGoo: it's the only way to code
[20:02] taf2: screw you
[20:02] MooGoo: !insult taf2
[20:02] Calvin: taf2 got eaten by the dogs he was taking care of
[20:02] MooGoo: interesting
[20:02] cafesofie has joined the channel
[20:03] vipaca has joined the channel
[20:04] montylounge has joined the channel
[20:04] etaty: JoseCabo: i wanted to avoid sudo ... now i need to do require.path.push()
[20:05] JoseCabo: I think the useof path.push() isn't recomended.
[20:05] JoseCabo: I think. etaty .
[20:06] dnjaramba has joined the channel
[20:06] mscdex: etaty: i think node looks in ./node_modules first
[20:07] tilgovi has joined the channel
[20:07] dans has joined the channel
[20:07] etaty: > console.log(require.paths) => [ '/home/valerian/.node_modules', '/home/valerian/.node_libraries', '/home/valerian/local/node/lib/node' ]
[20:08] idefine: c4milo: thanks, I check out those resources. Is there a better way to catch an error when mongoose has lost it's connection to mongodb? currently it's not bubbling this error up to any error handlers in my callbacks.
[20:08] dans: im having trouble installing expresso with npm, i get command not found: expresso
[20:09] c4milo: idefine: I don't know, better to ask guillermo rauch or someone from learnboost
[20:09] mscdex: etaty: right, but require looks in ./node_modules first iirc, it does that in the code for require itself
[20:09] systemfault: When I util.inherits from EventEmitter, do I need to call its constructor in the constructor?
[20:09] KingJamool_ has joined the channel
[20:09] mscdex: systemfault: you should
[20:09] mscdex: systemfault: just to be safe
[20:10] systemfault: I see a lot of example doing this.. but it seems that in node's own http client.. It doesn't :/
[20:10] systemfault: Ah ok
[20:10] xerox: what is the Correct Way to create an EventEmitter object
[20:10] xerox: tailored to ones' own needs
[20:10] mscdex: xerox: var ee = new EventEmitter(); ?
[20:11] mscdex: ee.emit('lol');
[20:11] malkomalko has joined the channel
[20:11] xerox: uuh
[20:11] xerox: I mean constructing the means to create new objects :x
[20:11] xerox: a constructor function, that is
[20:11] mscdex: xerox: you mean an existing object inheriting from EventEmitter?
[20:12] xerox: the node-irc library for example does function Client (..) { ...; process.EventEmitter.call(this) } and util.inherits(Client,process.EventEmitter)
[20:12] c4milo: xerox: http://nodejs.org/docs/v0.4.8/api/all.html#util.inherits
[20:12] xerox: which I would have never thought of
[20:12] xerox: !
[20:12] mscdex: xerox: yeah, except it's not process.EventEmitter anymore
[20:12] mendel_ has joined the channel
[20:12] xerox: what does that entail
[20:13] xerox: I want to make my objects respond to custom events and do stuff that a general EventEmitter doesn't do anyway
[20:13] huhlig-work: can someone tell me why node.js keeps getting a socket hang up exception from this code http://pastebin.com/3YD1aqVn ?
[20:13] xerox: c4milo: is there any document that explains why that is the way?
[20:13] mscdex: xerox: var EE = require('events').EventEmitter; function Client() { /* ... */ EE.call(this); } util.inherits(Client, EE);
[20:14] c4milo: xerox: is it enough the official documentation?
[20:14] mscdex: xerox: who is emitting the custom events?
[20:14] xerox: do you know why that is the way? or where I can read the answer?
[20:14] Skola has joined the channel
[20:14] c4milo: xerox: what don't you understand?
[20:14] xerox: c4milo: if you mean the Event module documentation on nodejs.org no
[20:14] xerox: it just says how EventEmitter works
[20:14] c4milo: xerox: I mean http://nodejs.org/docs/v0.4.8/api/all.html#util.inherits
[20:14] fizx has joined the channel
[20:15] xerox: ok
[20:15] c4milo: xerox: that's the way you can create objects that has the behavior of EventEmitter
[20:15] dans: im having trouble installing expresso with npm, i get 'command not found: expresso' - anyone else had this problem?
[20:15] xerox: I didn't click because I thought it was another very dry piece of docs, just telling you what the arguments of the function are :)
[20:15] isaacs: dans: npm install -g for cli scripts
[20:16] mendel_: dans: npm install expresso -g
[20:16] c4milo: xerox: basically, a) calling the super constructor (EventEmitter.call(this)) and b) copying over EventEmitter properties into your object (util.inherits.blabla)
[20:16] dans: thanks
[20:16] dans: why does it not say that in the docs then?
[20:16] mendel_: older npm
[20:16] xerox: c4milo: why does the code I was looking at do it at the end of the constructor function definition?
[20:17] isaacs: dans: npm 0.x was global-by-default
[20:17] dans: ah ok
[20:17] c4milo: xerox: what code?
[20:17] xerox: hang on
[20:17] isaacs: dans: you could also add "./node_modules/.bin" to your PATH env
[20:17] isaacs: dans: and then you'd find it if you were in the folder
[20:17] ph^ has joined the channel
[20:18] xerox: c4milo: https://github.com/martynsmith/node-irc/blob/master/lib/irc.js#L791
[20:18] xerox: c4milo: what stumped me and prompted me to ask here is that it uses self.addListener *before* the EE constructor call, and the util.inherits call
[20:18] xerox: I am definitely missing something!
[20:19] vipaca has joined the channel
[20:19] vipaca has joined the channel
[20:19] AvianFlu has joined the channel
[20:19] saschagehlich has joined the channel
[20:20] c4milo: xerox: well, that's an ugly piece of code
[20:20] dans: nah its fine, the -g param worked
[20:20] dans: thanks
[20:20] lackac has joined the channel
[20:20] v0idless- has joined the channel
[20:20] kriskowal has joined the channel
[20:21] crodas has joined the channel
[20:21] xerox: c4milo: ah so it is
[20:21] c4milo: xerox: it works because v8 uses JIT
[20:21] xerox: I would love to see a Nice piece of code or read a written explanation of how it is meant to be done
[20:21] shinuza has joined the channel
[20:21] c4milo: xerox: it isn't interpreted line by line
[20:21] c4milo: xerox: http://en.wikipedia.org/wiki/Just-in-time_compilation
[20:22] c4milo: xerox: tjholowaychuk writes pretty decent code
[20:22] xerox: just in time, pretty transparent
[20:22] xerox: ACTION adds github.com in front of that name
[20:22] xerox: newp.
[20:22] c4milo: xerox: https://github.com/visionmedia/
[20:24] copongcopong has joined the channel
[20:25] etaty: isaacs: can you comment about my messages (starting 40mn ago) ?
[20:26] crodas has joined the channel
[20:26] mendel_ has joined the channel
[20:27] cghobbs has joined the channel
[20:27] lukegalea has joined the channel
[20:27] fizx has joined the channel
[20:27] xerox: c4milo: can't find something relevant hmm
[20:28] dgathright has joined the channel
[20:28] xerox: oh maybe log
[20:28] xerox: https://github.com/visionmedia/log.js/blob/master/lib/log.js
[20:29] mendel_ has joined the channel
[20:30] idefine: c4milo: i think the error that I'd like to catch is actually a bug in the native mongodb driver, i think I should have a fix for that though, so that a notConnected error does bubble up.
[20:30] MarkMenard has joined the channel
[20:30] charleyd has joined the channel
[20:30] idefine: c4milo: thanks again for all the help, will definitely be implementing some of those in practice :)
[20:31] jscheel has joined the channel
[20:31] jscheel has joined the channel
[20:31] tmm1: isaacs: hey can you tag the 1.0.12 release on github
[20:32] isaacs: done
[20:32] erictj has joined the channel
[20:32] tmm1: thanks
[20:33] c4milo: idefine: you're welcome
[20:33] erictj has joined the channel
[20:34] idefine: c4milo: do you happen to know if it's possible to set a listener for errors thrown? kinda like process.on, except for something like that notConnected error? that way I can try and do a reconnect
[20:35] jscheel: hey guys, I'm having an issue with my express install on my production server. So, on my dev env, everything is fine, but as soon as I push to production, only the first level of static files are served. If any static file is in a subdir, it doesn't get treated as static
[20:35] ryanfitz has joined the channel
[20:36] c4milo: idefine: no that I know, what version of mongoose are you using?
[20:36] idefine: c4milo: 1.4.0, but this would have to be done in the native mongodb drivers
[20:37] c4milo: idefine: strange, i am using that version and I don't have that issue
[20:37] c4milo: idefine: do you have the link pointing to the issue?
[20:37] idefine: c4milo: you can survive a lost connection without process.on 'uncaughtexception' ?
[20:38] strmpnk has left the channel
[20:38] dmcquay has joined the channel
[20:38] puffpio has joined the channel
[20:38] c4milo: idefine: let me do that test hehe
[20:38] jscheel: tjholowaychuk: any idea what would cause express.static to only work one level deep?
[20:39] idefine: c4milo: in my test i do a query on a collection
[20:39] tjholowaychuk: jscheel can you gist the config?
[20:39] ezmobius has joined the channel
[20:39] jscheel: tjholowaychuk: https://gist.github.com/097950ec8a514f9d6c04
[20:40] jscheel: tjholowaychuk: app is deployed with capistrano
[20:40] isaacs_ has joined the channel
[20:40] tjholowaychuk: jscheel hmm looks totally fine to me
[20:41] tjholowaychuk: not sure from looking at that
[20:41] c4milo: idefine: I shut down my database and my service is still up, now I am going to run my tests
[20:41] KingJamool_ has joined the channel
[20:41] c4milo: ACTION cross fingers
[20:41] idefine: ok
[20:41] v0idless-_ has joined the channel
[20:41] c4milo: idefine: my tests failed but my service is still up
[20:41] eee_c has joined the channel
[20:42] idefine: c4milo: interesting
[20:42] bentruyman has joined the channel
[20:42] idefine: c4milo: can you gist your test?
[20:42] jscheel: tjholowaychuk: here's what is happening: https://gist.github.com/582bf9b9d051d03e92ea
[20:42] viz has joined the channel
[20:42] c4milo: idefine: oh I just run my tests they are a lot
[20:43] philippkueng has joined the channel
[20:43] adambeynon has joined the channel
[20:43] tjholowaychuk: jscheel GET /js/foo/test.js
[20:43] piscisaureus: mraleph: ... but IdentifyWeakHandles is only called by the mark-compactor. How does scavenge identify independent weak handles?
[20:44] idefine: c4milo: were any errors thrown? anything like: TypeError: Cannot read property 'documents' of null
[20:44] jscheel: tjholowaychuk: static just doesn't pick up on it, it falls down to the routing
[20:44] djcoin has joined the channel
[20:44] tjholowaychuk: your requests dont look right
[20:44] c4milo: idefine: ok, I start up my database again, my service is still up but I got an error:
[20:44] tjholowaychuk: you're missing /js
[20:44] c4milo: idefine: yes that one
[20:44] mraleph: piscisaureus: IdentifyNewSpaceWeakIndependentHandles
[20:44] jscheel: tjholowaychuk: oh, sorry, just a mistype,
[20:45] vipaca: Is there anyway to load ActiveRecord models into Node
[20:45] idefine: c4milo: not sure how your app survived that...sure you're listening for uncaughtexception anywhere?
[20:45] Keni has joined the channel
[20:45] jscheel: tjholowaychuk: mistype in my demo, it doesn't work on the server
[20:45] vipaca: I'm thinking maybe Rednode or something
[20:45] tjholowaychuk: jscheel not sure man
[20:45] tjholowaychuk: other than checking your requests and the files
[20:45] tjholowaychuk: should be fine
[20:45] vipaca: any thoughts?
[20:45] idefine: c4milo: checking to see if i have an old driver
[20:45] Swizec has joined the channel
[20:46] piscisaureus: mraleph: thanks. Adding that to my grep list :-)
[20:46] vipaca: or the ruby racer?
[20:46] quackquack: tjholowaychuk: would you suggest compiling Jade within helpers, or just using html
[20:46] quackquack: (assuming views use jade)
[20:46] c4milo: idefine: yes, I am using handling uncaughtexception
[20:47] tjholowaychuk: quackquack for helpers like creating lists?
[20:47] idefine: c4milo: ah ok, if you turn it off it should die, correct?
[20:47] tjholowaychuk: or select options n stuff?
[20:47] Keni: any suggestions on econnrefused at dns.js:74:15?
[20:47] quackquack: yeah
[20:47] tjholowaychuk: i would just use a js map/join
[20:47] c4milo: idefine: for sure
[20:47] jscheel: tjholowaychuk: ok, thanks man
[20:47] jscheel: so wierd
[20:47] hybsch has left the channel
[20:48] idefine: c4milo: ok, we are on the same page :), would it make sense for it to throw an error that you can catch? 'notConnected' ?
[20:48] DTrejo: Keni: means you could not connect to wherever you were trying to connect
[20:48] Keni: yes, but it connected to other places in the log
[20:48] pquerna: indutny: from fast to spdy in velocityconf...
[20:48] baudehlo has joined the channel
[20:49] c4milo: idefine: I'm not sure, I would have to look at this issue carefully
[20:49] Keni: npm-debug.log worked fine up to dns.js
[20:50] c4milo: idefine: since mongoose is the layer on top of the driver it would be possible as well that mongoose handles the reconnections
[20:50] c4milo: idefine: I mean, it makes sense
[20:50] idefine: c4milo: hmm, it seems like the latest native mongodb driver actually pushes this error to the callback properly
[20:51] Keni: Oh. Wrong. was merely analyzing. verbose url resolving [ 'http://registry.npmjs.org/', './vogue' ]
[20:51] idefine: c4milo: so it can be caught :)
[20:51] Keni: I've tried putting nameserver in resolve.config. What else to do?
[20:52] blup has joined the channel
[20:53] Keni: I've also put an exception in windows firewall for node, but can't figure out how to do that for npm
[20:53] c4milo: idefine: wait, the driver comes with mongoose, are you using a different version that the one that comes by default in mongoose?
[20:53] philippkueng has joined the channel
[20:53] idefine: c4milo: i think the one that ships with mongoose might be a little outdated, but checking that now
[20:54] jscheel: tjholowaychuk: huh, weird... apparently monit wasn't restarting processes, even thought it was saying that it was, so node was never restarting
[20:54] jscheel: tjholowaychuk: problem fixed
[20:54] tjholowaychuk: ah
[20:55] jscheel: tjholowaychuk: monit is the biggest load of crap, ugh
[20:55] idefine: c4milo: found the fix: https://github.com/christkv/node-mongodb-native/commit/903065c25092d4f9a83547bac106f5ef38b23cfa#lib/mongodb/collection.js
[20:55] copongcopong1 has joined the channel
[20:55] CIA-104 has joined the channel
[20:56] c4milo: idefine: how did you find it? hehe
[20:56] idefine: c4milo: mongoose in github isn't up to date with the latest mongodb driver: https://github.com/LearnBoost/mongoose/blob/master/support/node-mongodb-native/lib/mongodb/collection.js#L462
[20:56] puffpio has joined the channel
[20:57] c4milo: idefine: let's fill out an issue in mongoose then
[20:57] idefine: c4milo: on it :)
[20:58] c4milo: idefine: cool
[20:58] idefine: c4milo: are you on github? will make sure to reference you in post :)
[20:58] c4milo: idefine: my post?
[20:58] eazyigz has joined the channel
[20:58] c4milo: idefine: yes I am at github
[20:58] idefine: c4milo: in the issue
[20:59] eazyigz: I am using EJS with express. What do I need to do in order to serve static content in my .ejs file (css, js, img, etc.)?
[20:59] hermanjunge has joined the channel
[20:59] tjholowaychuk: eazyigz use urls like you normally would?
[21:00] eazyigz: do i need to use something other than express (like node-static)?
[21:00] yozgrahame has joined the channel
[21:00] tjholowaychuk: nope
[21:00] tjholowaychuk: app.use(express.static(__dirname + '/public'))
[21:01] m00p has joined the channel
[21:01] tiglionabbit has joined the channel
[21:01] eazyigz: tjholowaychuk: thanks
[21:02] herbySk has joined the channel
[21:03] tiglionabbit: hi. I'm working on a simple node app and I need to use a database. I looked at node-postgres and FastLegS -- I like the features in FastLegS that convert a dict into values to be inserted or updated, but I'm not sure how to do any complex queries with it, like a many-to-many
[21:04] OhMeadhbh has joined the channel
[21:04] adambeynon has left the channel
[21:04] tiglionabbit: also looked briefly at redis -- is there any convenient way to store a dict of data in redis? Do you have to expand it into individual fields?
[21:05] spaceinv1der: or encode into json
[21:05] perezd has joined the channel
[21:05] tiglionabbit: oh yeah I guess I could do that
[21:05] spaceinv1der: foo => "{bar: 1, baz: 2}"
[21:05] bajeczka has joined the channel
[21:05] S1kx: i have an express server that accesses my mongodb with the node-mongodb package, there are about 200-300 requests per second that all need to check for records in the database. would it make sense to expose a db object to the entire process or should i keep reopening connections on each request?
[21:06] tiglionabbit: I'm using backbone.js. It'd be pretty bad-ass to use it on the server-side too and have the urls coincide with redis records. Can you have slashes in redis keys?
[21:06] OhMeadhbh: @S1kx... in theory, a single db object could be used since node is single threaded.
[21:07] OhMeadhbh: s/could be used/is probably okay/
[21:07] tiglionabbit: depends what mongo is densigned for, and I think that is the way it's supposed to work yes
[21:08] tiglionabbit: do you guys actually find it more convenient to use redis and maintain many lists instead of using sql and making join tables?
[21:08] S1kx: OhMeadhbh: yep I was just wondering if the driver can properly handle a queue of queries, since I've had problems before with async postgres drivers since i had to wait until one command on the connection is completed before issueing another
[21:09] OhMeadhbh: hey nodesters.. anyone here using node-inspector? i really, really, really want to love it, but it seems to have a problem with node apps started with --debug-brk. anyone else run into this? (or better yet, find a solution?)
[21:09] tiglionabbit: anyone here use FastLegS?
[21:10] bronson has joined the channel
[21:11] erictj: @OhMeadhbh I use node-inspector with —debug-brk, seems to work okay
[21:11] OhMeadhbh: @S1kx - i would think it would, though i haven't looked too closely at it. i'm using the native driver (node-mongodb-native???) and there are definitely some limitations in terms of throughput, but so far it hasn't been that big of a deal for me.
[21:11] xerox: tjholowaychuk: is the chapter Inheriting from EventEmitter from your book relevant to today's node.js?
[21:11] tjholowaychuk: xerox cant remember
[21:11] OhMeadhbh: erictj - hmm. yeah. i was afraid of that.
[21:11] erictj: @Ohmeadhbh what's your specific problem?
[21:12] OhMeadhbh: fwiw... what my instance of node-inspector does is
[21:12] xerox: tjholowaychuk: it does exactly what you do in log.js let me find a link I am reading the epub version
[21:12] riven has joined the channel
[21:12] riven has joined the channel
[21:12] S1kx: OhMeadhbh: what kind of limitations have you run into?
[21:12] tjholowaychuk: xerox does what
[21:12] philippkueng has joined the channel
[21:12] OhMeadhbh: it works fine, but only lets you see the standard node libraries and the single file you started with
[21:12] xerox: tjholowaychuk: http://visionmedia.github.com/masteringnode/book.html
[21:12] OhMeadhbh: so if you do node --debug-brk app.js
[21:12] erictj: ahh, right.
[21:12] jj0hns0n has joined the channel
[21:12] OhMeadhbh: and app.js imports a bunch of modules, you can't see them until you step into them
[21:12] erictj: you need to find the calls to your specific library, break on those, then step into them
[21:13] erictj: right
[21:13] xerox: tjholowaychuk: those four lines of code in that paragraph (Inherithing From EventEmitter)
[21:13] OhMeadhbh: which basically means i can't use it to debug some of my constructors (*sad face*)
[21:13] xerox: well, 5
[21:13] tjholowaychuk: xerox: EventEmitter.call(this);?
[21:13] erictj: even when you step into their instantation lines?
[21:13] OhMeadhbh: @erictj - yeah. that's not going to work for my app
[21:13] xerox: tjholowaychuk: no
[21:13] erictj: suck
[21:14] erictj: yeah, that's an annoyance of mine as well for sure
[21:14] xerox: oh that line is not in the epub version
[21:14] xerox: so yes
[21:14] tjholowaychuk: xerox just tell me the code
[21:14] tjholowaychuk: lol
[21:14] tjholowaychuk: EventEmitter.call(this); is not needed anymore
[21:14] tjholowaychuk: though it should be IMO
[21:15] tjholowaychuk: the methods just do a check for ._events
[21:15] tjholowaychuk: or populate it to {}
[21:15] tjholowaychuk: each call
[21:15] OhMeadhbh: so.. blargh. i think i'm going to soon find myself digging into the v8 debugger code and/or node-inspector.
[21:15] xerox: the epub version is var EventEmitter = require('events').EventEmitter; function Dog(name) { this.name = name; } together with Dog.prototype.__proto__ = EventEmitter.prototype;
[21:15] OhMeadhbh: which is not how i wanted to spend my week
[21:15] xerox: the html version has got the EventEmitter.call(this); call right after the this.name = name
[21:15] tjholowaychuk: xerox: k?
[21:15] tjholowaychuk: nope you dont need that anymore
[21:15] huhlig has joined the channel
[21:15] tjholowaychuk: people were not inheriting correctly i guess
[21:15] fizx has joined the channel
[21:15] tjholowaychuk: so node changed it
[21:16] xerox: tjholowaychuk: excellent, that is exactly what I am trying to understand: how to inherit correctly to make my own emitters
[21:16] bnoordhuis has joined the channel
[21:17] huhlig: can anyone tell me why I am getting this error? http://pastebin.com/TQ2tZZCR from this code http://pastebin.com/3YD1aqVn
[21:17] tjholowaychuk: xerox EventEmitter.call(this); would be "correct"
[21:17] tjholowaychuk: but doesn't do anything anymore
[21:17] tmm1: is there a way to install npm to a specific prefix.. something like node cli.js install -g --prefix /opt
[21:18] xerox: tjholowaychuk: I guess I'll keep it there then
[21:18] tjholowaychuk: xerox nah nah
[21:18] tjholowaychuk: you dont need it, but i think node does it in a weird way
[21:18] tjholowaychuk: but i guess if it's easier for people then it's fine
[21:19] xerox: I have been unable to find where it says how to inherit properly from EE or whatever
[21:19] tjholowaychuk: just like how you would with anything else
[21:19] tjholowaychuk: typically you call the constructor function in context of "this"
[21:19] tjholowaychuk: to set up state
[21:19] tjholowaychuk: but that's not the case for EventEmitter because it handles that stuff on each method call
[21:20] huhlig: anyone?
[21:20] xerox: ok
[21:20] xerox: another thing is that some people get their EventEmitter object from require('event').EventEmitter, others from process.EventEmitter
[21:20] xerox: is there any difference?
[21:21] carpeliam has joined the channel
[21:21] bnoordhuis: huhlig: i wager one of the servers you're scraping closed the connection without sending a response
[21:21] xerox: *'events'
[21:21] huhlig: bnoordhuis: and so it crashes the server?
[21:21] Clex: Did you got yout point xerox?
[21:21] huhlig: *searches for exception handling
[21:21] Clex: *your
[21:21] xerox: Clex: haha no :(
[21:21] Clex: :( :( :(
[21:22] kriszyp has joined the channel
[21:22] philippkueng has joined the channel
[21:22] bnoordhuis: huhlig: you probably want to hook uncaughtException
[21:22] chad_burt has joined the channel
[21:23] bnoordhuis: huhlig: and listen to the abort and error events of the http requests
[21:23] huhlig: bnoordhuis: I dont know how honestly
[21:24] huhlig: im used to try/catch
[21:25] bnoordhuis: huhlig: try/catch won't work if the request is being dispatched asynchronously
[21:25] arpegius has joined the channel
[21:25] ewdafa has joined the channel
[21:25] bnoordhuis: huhlig: you'd write something like: req.on('error', function(err) { /* handle error */ });
[21:26] TheEmpath has joined the channel
[21:26] bnoordhuis: huhlig: though i don't think the error and abort listeners actually receive an error object
[21:27] huhlig: bnoordhuis can I pass that in the http.request call options at all?
[21:27] llrcombs: hey, check this out: http://search.npmjs.org/#/nttpd
[21:27] llrcombs: it runs like apache, but it works with NJS files
[21:27] llrcombs: USEFUL!
[21:28] bnoordhuis: huhlig: no, you need to operate on the object that http.request() returns
[21:28] huhlig: ok
[21:28] llrcombs: (and really new)
[21:28] etaty has joined the channel
[21:28] bnoordhuis: huhlig: but i might be giving you bad advice - error and aborted are not officially supported, i think
[21:28] huhlig: oh
[21:28] huhlig: bugger
[21:30] niftylettuce has joined the channel
[21:30] softdrink has joined the channel
[21:30] chad_burt: question - seems like most libraries I've seen using node don't worry about private/privileged vars on objects, just assigning everything to `this`. Is that becoming a best practice as opposed to protecting with closures?
[21:30] AvianFlu: chad_burt you should decide that based on your use case
[21:31] dmcquay_ has joined the channel
[21:31] AvianFlu: what everyone else does won't help you if you have some stuff that just really needs to be private class data
[21:31] tmpvar has joined the channel
[21:31] bnoordhuis: huhlig: and to complicate matters further - those events are part of the agent object now (in node master)
[21:31] ap3mantus has joined the channel
[21:31] bnoordhuis: huhlig: so probably best you forgot i said all that
[21:31] chrisdickinson: out of curiosity, is there a preferred sqlite3 binding for node? i see one from orlandov and one from developmentseed.
[21:31] SubStack: closed over data that is
[21:32] SubStack: classes suck
[21:32] huhlig: ok
[21:32] chad_burt: I hate answers like that :)
[21:32] huhlig: so how can I catch it dropping me and make it NOT crash the server
[21:32] AvianFlu: substack: excellent point
[21:32] OhMeadhbh has joined the channel
[21:32] AvianFlu: chad_burt ever heard the expression "given enough rope to hang yourself"?
[21:32] avalanche123 has joined the channel
[21:32] kmiyashiro: why do classes suck?
[21:32] chad_burt: oh yes. javascript seems to embody that sentiment
[21:33] AvianFlu: node is a pile of rope... whether you make a bridge or hang yourself is on you
[21:33] miccolis: chrisdickinson: for what it's worth we (developmentseed) are actively support ours
[21:33] bnoordhuis: huhlig: probably by hooking uncaughtException and pretending your nose bleeds
[21:33] SubStack: kmiyashiro: because they live at the top-level scope and you can't nest them closed over variables
[21:33] OhMeadhbh: anyone ever heard of colloquy kernel panicing a mac? man... MacOS X has gotten VERY fragile
[21:33] highermath_away has joined the channel
[21:33] highermath_away has joined the channel
[21:33] huhlig: bnoordhuis: how do I hook the exception. With the request.on('error', fn(){});?
[21:33] SubStack: first-class functions > classes
[21:34] mahna: huhlig: http://nodejs.org/docs/v0.4.8/api/http.html#http.request
[21:34] chrisdickinson: miccolis: cool -- thanks for the heads up.
[21:34] kmiyashiro: so... modules?
[21:34] bnoordhuis: huhlig: http://nodejs.org/docs/v0.4.8/api/process.html#process
[21:34] springmeyer has joined the channel
[21:34] huhlig: ...?
[21:35] bnoordhuis: huhlig: search for 'uncaughtException' on that page
[21:35] bnoordhuis: huhlig: it's a global exception catcher
[21:36] chrisdickinson: chad_burt: from what i've seen (and maybe from unabashed hope a bit), i'd say that python and javascript both subscribe to the "we're all adults here" idiom as regards private/protected variables
[21:36] Poetro has joined the channel
[21:36] chrisdickinson: it's possible to create private and protected variables, but i've rarely seen that it helps an api, personally.
[21:37] chad_burt: the difference I'm seeing is that in python there is a convention (supported by the tooling) for marking methods/attributes as not part of the public api
[21:37] chad_burt: _protected
[21:37] chrisdickinson: chad_burt: yeah -- i personally try to follow that convention in my javascript, too.
[21:38] chad_burt: I'm more concerned about making my code easy to use as opposed to preventing behavior
[21:38] llrcombs: chrisdickinson: plus, if you want access to a private variable in either language, you can modify the library
[21:39] chrisdickinson: llrcombs: yep. i've had this come up while writing unit tests a lot.
[21:39] SubStack: that is a silly convention
[21:39] llrcombs: chrisdickinson: hey, wanna try a bit of code?
[21:39] chrisdickinson: llrcombs: sure?
[21:39] chad_burt: Substack - better suggestion?
[21:39] llrcombs: http://search.npmjs.org/#/nttpd
[21:39] SubStack: if you start having to have _members just turn your api into a closure-based one instead of prototype
[21:39] llrcombs: I haven't written a readme yet, but I will
[21:39] llrcombs: basically, go to a dir and type nttpd
[21:40] chrisdickinson: SubStack: i don't like private variables. even if they do clean up my object as presented to Object.keys
[21:40] SubStack: why not?
[21:40] RC1140 has joined the channel
[21:40] huhlig: ok so why do all requests except the first time out
[21:40] SubStack: they're not "private" as such
[21:40] SubStack: they're scoped
[21:41] SubStack: and as a bonus, you get a new scope for each function you declare
[21:41] llrcombs: if you want, put https://github.com/11rcombs/nttpd/blob/master/test.njs somewhere in the dir
[21:41] chrisdickinson: llrcombs: it might be a bit, i'm on node 0.4.0 and i'm downloading 0.4.7
[21:41] mikeal has joined the channel
[21:41] SubStack: it's wonderfully consistent and simple
[21:41] llrcombs: ahh, alright
[21:41] perezd has joined the channel
[21:41] F1LT3R has joined the channel
[21:41] kzh has joined the channel
[21:41] CodyGray has joined the channel
[21:42] llrcombs: I usually require the latest version of node in my modules, as I don't really want to go back and test on other versions
[21:42] softdrink1 has joined the channel
[21:42] CrabDude has joined the channel
[21:42] chrisdickinson: hmm.
[21:43] podman has left the channel
[21:43] mscdex: llrcombs: well, generall stable "major" versions only receive bug fixes
[21:43] mscdex: s/generall/generally
[21:43] JoseCabo: bnoordhuis, hi
[21:43] perezd_ has joined the channel
[21:44] chrisdickinson: SubStack: either approach is fine, i'm sure -- a matter of taste, ultimately
[21:44] zmbmartin: how do I send a message to the client with socket.io after an event?
[21:44] stagas has joined the channel
[21:44] chrisdickinson: I like being able to subclass and extend, and to see everything that the parent class sees.
[21:45] llrcombs: chrisdickinson: if you already npm install'd it, npm update it now, I fixed a dependency
[21:46] bnoordhuis: JoseCabo: hi
[21:46] JoseCabo: bnoordhuis, i think was you who I was talking about my code last night
[21:47] JoseCabo: are you?
[21:47] bnoordhuis: JoseCabo: i was, i am
[21:47] Poetro has joined the channel
[21:48] tomtomaso has joined the channel
[21:48] JoseCabo: bnoordhuis, great!, I have news. if you remember my problem i was testing tonight my code in a newer, and unestable version, of node.js
[21:48] bnoordhuis: JoseCabo: you got it working?
[21:48] JoseCabo: so i did it... with the +- newer version. And... it worked! :D
[21:48] JoseCabo: seems to be a bug with 0.4.8 version
[21:49] bnoordhuis: well, glad you got it resolved
[21:49] JoseCabo: my code worked but not node-ogl code so i will continue "porting" my code to node-ogl orignal code
[21:49] llrcombs: zmbmartin: this.send(data);
[21:49] JoseCabo: So thanks bnoordhuis for all your help :-)
[21:50] jmoyers has joined the channel
[21:50] CodyGray has joined the channel
[21:50] CodyGray has left the channel
[21:50] zmbmartin: llrcombs: do I do socket.on 'connection' or ???
[21:50] stagas has joined the channel
[21:50] bnoordhuis: JoseCabo: you're welcome, glad to have been of help
[21:50] llrcombs: when do you want to send this?
[21:51] JoseCabo: anyway you know when aproximatelly node.js developer team will release node 0.4.9 or 0.5? or a release candidate?
[21:51] zmbmartin: llrcombs: after an photo is finished being uploaded and processed with imagemagick
[21:52] asobrasil has left the channel
[21:52] llrcombs: so in the function that does that, do client.send(data);
[21:52] llrcombs: you'll have to keep track of the client somehow
[21:52] eventualbuddha has joined the channel
[21:53] CodyGray1 has joined the channel
[21:53] CodyGray1 has left the channel
[21:54] bnoordhuis: JoseCabo: not really - the master is very much in flux right now
[21:54] JoseCabo: what means "very much in flux"?
[21:54] JoseCabo: sorry for my english level.
[21:54] JoseCabo: basically: "unstable"?
[21:54] bnoordhuis: JoseCabo: as in undergoing lots of changes
[21:54] bnoordhuis: JoseCabo: yes
[21:54] JoseCabo: oh, ok
[21:55] JoseCabo: the 0.4.8 is +- recent.
[21:55] hojberg has joined the channel
[21:55] zmbmartin: llrcombs: I am using express so my socket.io stuff is in the main app file and I am trying to do this in a controller. How do I pass the client around?
[21:55] copongcopong has joined the channel
[21:55] JoseCabo: so... i think the next version will come to the end of month
[21:55] JoseCabo: or new month
[21:55] highermath_away has joined the channel
[21:55] highermath_away has joined the channel
[21:56] llrcombs: zmbmartin: that's where It Gets Complicated. Personally, I stick the client in an array of clients and keep track of its key
[21:56] Bradleymeck has joined the channel
[21:56] bnoordhuis: JoseCabo: i think between now and six months is a reasonable estimate ;)
[21:57] JoseCabo: for 0.4.9 or 0.5??
[21:57] JoseCabo: omg, i think a bug fix will released "soon" xD
[21:57] zmbmartin: llrcombs: got any sample code I can peak at?
[21:57] llrcombs: JoseCabo: been reading Gruber?
[21:57] llrcombs: zmbmartin: yeah, but it's not quite applicable to this situation
[21:57] JoseCabo: llrcombs, what?
[21:57] quackquack has joined the channel
[21:58] llrcombs: the "soon" jokes are all over Daring Fireball
[21:58] f^ has joined the channel
[21:58] JoseCabo: llrcombs, sorry for my english level.
[21:58] llrcombs: like, Flash on mobile will be out of beta "soon", I'm sure
[21:59] mbrevoort: issacs: having an npm registration replication issue, wanted to see if you had any ideas
[21:59] CrabDude has left the channel
[22:00] CrabDude has joined the channel
[22:00] zmbmartin: llrcombs: I know but I like to see examples of things regardless. If you don't mind.
[22:01] llrcombs: sure, just a sec
[22:01] fakewaffle has joined the channel
[22:01] cjm has joined the channel
[22:01] llrcombs: http://rodgercombs.webhop.net/maps/server.js
[22:02] llrcombs: also interesting is how that's used: http://rodgercombs.webhop.net/maps/freenode/Node.js/true
[22:03] fakewaffle: im confused about sessions and cookies using express. anyone have any resources?
[22:04] tjholowaychuk: fakewaffle what part is confusing u?
[22:04] zmbmartin: llrcombs: thanks
[22:05] andrewfff has joined the channel
[22:05] ebryn has joined the channel
[22:05] llrcombs: welcome
[22:05] F1LT3R has joined the channel
[22:06] andrewfff has joined the channel
[22:06] fakewaffle: tjholowaychuk: im just getting started with it - so all of it? not sure where to begin. i am creating an auth component, so i would assume that is the authentication is successful, a cookie will be created for the user with a unique ID and express will store vars in memory?
[22:07] fakewaffle: "that is the" = "that if the", sorry
[22:07] xandrews has joined the channel
[22:07] tjholowaychuk: fakewaffle oh, well i mean sessions are more or less the same with any framework, connect supports multiple stores though
[22:08] tjholowaychuk: so you can use redis, memory, mongo etc
[22:08] fakewaffle: so, if i console.log(request.session) there are different values every request, obviously, just confused
[22:08] tactical has joined the channel
[22:08] tactical: hi. what is this channel about
[22:08] softdrink has joined the channel
[22:09] fakewaffle: tactical: http://nodejs.org !
[22:09] insin: notsureifserious.gif
[22:11] MeCooL has joined the channel
[22:11] MeCooL has left the channel
[22:11] tactical: so it's used for writing web servers
[22:11] tactical: why not just write them in a proper language
[22:11] MooGoo: indeed
[22:11] quackquack: such as?...
[22:11] tactical: C#
[22:11] MooGoo: tactials wisdom is unquestionable, time to shut this channel down
[22:11] quackquack: rofl
[22:11] MooGoo: you mean Java?
[22:12] quackquack: no, no. C#. its like java but without the cross-platform-ness
[22:13] MooGoo: but Java is a proper as a language cna get
[22:13] tactical: so you "createServer()", but what if that code has bugs?
[22:13] MooGoo: it's all about being proper
[22:13] slaskis: tactical: pretty sure that applies to all languages though?
[22:13] cghobbs: Does anyone have experience using calipso?
[22:13] MooGoo: Java doesnt have bugs
[22:13] tactical: if you wrote the server yourself, you could fix the bugs
[22:14] frodenius: if you have the source, you could fix the bug
[22:14] MooGoo: what if the CPU that is executing your code has hardware bugs?
[22:14] fakewaffle: i think we have an erlang troll
[22:14] frodenius: lol
[22:14] MooGoo: you should construct ur own cpu
[22:14] tactical: frodenius: not really
[22:14] frodenius: tactical㇀ wat
[22:14] frodenius: how so?
[22:14] tactical: unless you wrote it, you probably won't understand it
[22:14] tactical: let's be realistic
[22:15] frodenius: let's be realistic, if you cannot understand other peoples' code, why the heck are you writing a web server anyway
[22:15] jscheel: tactical: gonna take you for your word. You catch any exceptions that may be thrown. If all else fails and your server crashes, you should be monitoring it with something like monit, which will notice that it is down and restart the service
[22:15] fakewaffle: jscheel++
[22:15] v8bot: fakewaffle has given a beer to jscheel. jscheel now has 1 beers.
[22:16] kriskowal has joined the channel
[22:16] MooGoo: 1 beers eh
[22:16] MooGoo: sounds like a bug
[22:16] fakewaffle: loser
[22:16] slaskis: MooGoo: probably a bug in the createServer()
[22:16] MooGoo: probably should have written that bot in Java
[22:16] fakewaffle: lol
[22:16] jscheel: fakewaffle: grazie
[22:16] fakewaffle: v8bot--
[22:16] v8bot: fakewaffle has taken a beer from v8bot. v8bot now has 29 beers.
[22:16] fakewaffle: O.o
[22:16] MooGoo: wolw
[22:16] MooGoo: its hoarding all that shit
[22:16] mihar has joined the channel
[22:17] MooGoo: drunk ass bot
[22:17] fakewaffle: lol
[22:17] fakewaffle: take it all away!
[22:17] MooGoo: v8bot--
[22:17] v8bot: v8bot is getting too many beers. Don't let v8bot get drunk!
[22:17] MooGoo: ....
[22:17] DTrejo: v8bot--
[22:17] v8bot: v8bot is getting too many beers. Don't let v8bot get drunk!
[22:17] fakewaffle: i never understood that one...
[22:17] zmbmartin: llrcombs: I don't see how I access the client id to store in a array?
[22:17] tactical: i think something like "createServer" is too high a level of abstraction
[22:17] AvianFlu: !insult v8:
[22:17] kohai: v8: smells of elderberry wine!
[22:17] Calvin: says a prayer to jesus for v8:'s well being
[22:17] v8bot: kohai: SyntaxError: Unexpected identifier
[22:17] tactical: what next? "createProgram();"?
[22:17] DTrejo: !insult v8bot
[22:17] kohai: v8bot is like one of those callbacks that just won't fire.
[22:17] Calvin: v8bot thinks the sky's the limit even though there are footprints on the moon
[22:17] fakewaffle: lol @ elderberry
[22:17] jscheel: fakewaffle: it sees that you are taking them and starts to drink everything it can, before you can get your hands on it
[22:18] AvianFlu: !insult v8:\ console.log('Calvin sucks')
[22:18] kohai: v8:\ is an unsightly trouser stain!
[22:18] v8bot: kohai: SyntaxError: Unexpected token ILLEGAL
[22:18] Calvin: v8:\ console.log('Calvin sucks') does not understand the glory of getting ssh to work in fullscreen on your phonr
[22:18] v8bot: Calvin: SyntaxError: Unexpected token ILLEGAL
[22:18] Calvin: SyntaxError Unexpected
[22:18] frodenius: tactical㇀ then don't
[22:18] MooGoo: lol
[22:18] AvianFlu: !insult v8: console.log('Calvin sucks')
[22:18] kohai: v8: is like one of those callbacks that just won't fire.
[22:18] v8bot: kohai: SyntaxError: Unexpected identifier
[22:18] Calvin: v8: console.log('Calvin sucks') likes Wolverine the most out of all the X-People
[22:18] v8bot: Calvin: SyntaxError: Unexpected identifier
[22:18] Calvin: SyntaxError Unexpected
[22:18] frodenius: you can use socket streams as well
[22:18] MooGoo: nice
[22:18] MooGoo: one statement to abuse all the bots on the chan
[22:18] DTrejo: wtf is calvin?
[22:18] Calvin: wtf is design by contract is silly to replace it
[22:18] tactical: kids these days aren't being exposed to real programming
[22:18] fakewaffle: lol?
[22:18] MooGoo: truth
[22:18] AvianFlu: markov chain, DTrejo. markov chain.
[22:18] MooGoo: tactical++
[22:18] v8bot: MooGoo has given a beer to tactical. tactical now has 1 beers.
[22:19] AvianFlu: moogoo--
[22:19] v8bot: AvianFlu has taken a beer from moogoo. moogoo now has 1 beers.
[22:19] fakewaffle: v8bot--
[22:19] v8bot: fakewaffle has taken a beer from v8bot. v8bot now has 28 beers.
[22:19] frodenius: define 'real' programming?
[22:19] DTrejo: DTrejo++
[22:19] v8bot: DTrejo: Don't cheat! You can't give a beer to yourself.
[22:19] temp01 has joined the channel
[22:19] AvianFlu: DTrejo++
[22:19] v8bot: AvianFlu has given a beer to DTrejo. DTrejo now has 1 beers.
[22:19] DTrejo: AvianFlu++
[22:19] v8bot: DTrejo has given a beer to AvianFlu. AvianFlu now has 1 beers.
[22:19] fakewaffle: AvianFlu!
[22:19] DTrejo: it keeps losing my beers
[22:19] Calvin: moogoo++
[22:19] v8bot: moogoo is getting too many beers. Don't let moogoo get drunk!
[22:19] AvianFlu: sup fakewaffle
[22:19] fakewaffle: hi
[22:19] DTrejo: v8bot++
[22:19] v8bot: v8bot is getting too many beers. Don't let v8bot get drunk!
[22:19] tactical: "createServer()" is not real. real is "tcpSocket.Listen(); FireOffANewThreadForEachConnection();"
[22:19] ParadoxQuine has joined the channel
[22:19] frodenius: like that is any good
[22:19] MooGoo: are you sure that function name is descriptive enough?
[22:20] jscheel: ACTION prefers to write all servers in assembly
[22:20] fakewaffle: lol
[22:20] frodenius: thereIsOnlyOneThreadInJavascriptLetsDoThisServerEventBased();
[22:20] AvianFlu: movl $eax
[22:20] AvianFlu: my bad, movl $ebx,$eax
[22:20] MooGoo: my custom built CPU has an opcode for creating and running servers
[22:20] frodenius: lol
[22:20] idefine: does express do async rendering of templates?
[22:20] fakewaffle: jscheel: http://xkcd.com/378/
[22:20] jscheel: hah
[22:21] cghobbs has left the channel
[22:21] tactical: so what do you folks make with Node.js
[22:21] insin: hey guys, I just started using node, but I think there's a bug in createServer() - is there a version I can try in a proper language?
[22:21] frodenius: irc bots
[22:21] fakewaffle: frodenius++
[22:21] v8bot: fakewaffle has given a beer to frodenius. frodenius now has 0 beers.
[22:21] idefine: or, can you flush your content somehow?
[22:21] frodenius: wat
[22:22] frodenius: 0 beers? who took all my beer :(
[22:22] AvianFlu: frodenius++
[22:22] v8bot: frodenius is getting too many beers. Don't let frodenius get drunk!
[22:22] MooGoo: is there a node.java or node.c# out yet
[22:22] fakewaffle: it had rufees in it bro
[22:22] MooGoo: or node.asm
[22:22] AvianFlu: MooGoo: I made a node.js wrapper to the GHCi :D
[22:22] MooGoo: node.haskell
[22:22] tactical: do you really feel like you're programming when you use node.js?
[22:22] MooGoo: that sounds like a great project
[22:23] MooGoo: no
[22:23] AvianFlu: tactical: only for people who draw a distinction between 'programming' and 'scripting'
[22:23] insin: tactical: no, I just call createServer, sit back and sigh :-(
[22:23] AvianFlu: if somebody wants to use 'programming' generally, I'm not gonna argue with them
[22:23] Poetro has joined the channel
[22:23] coreb: isaacs: good job on supervisor, saves me annoying restarts while developing
[22:23] jscheel: tactical: currently? A mobile site that interfaces via tcp with a mono c# application which interfaces with legacy business objects in front of a msql server, in front of an oracle server. #dyingaslowandagonizingdeath
[22:23] fakewaffle: tactical: Integrated micropayments api mashup
[22:24] AvianFlu: but I know a C/asm dude who HATES when any scripting language is called 'programming'
[22:24] xerox: are "throw err" and "process.on('error', ...)" connected in any way?
[22:24] fakewaffle: tactical: also Geotag enabled aggregator using shockwave
[22:24] xerox: should one throw err, or emit('error', ...
[22:25] tactical: how many lines do these programs contain
[22:25] tactical: ?
[22:25] insin: 42
[22:25] fakewaffle: i made a web-based dating with streaming socket connection
[22:25] tactical: i mean, are they all 10 lines lnog
[22:25] tactical: long
[22:25] jscheel: xerox: process.on('uncaughtException', function(err){}) is a good way to have a final safety mechanism for catching errors that have been thrown but not caught
[22:25] NuckingFuts has joined the channel
[22:26] fakewaffle: tactical: what are you getting at?
[22:26] xerox: jscheel: are "throw err" errors and "process.emit('error', ..." errors the same things?
[22:26] tactical: are any Node.js programs long
[22:26] xerox: if not which ones does it catch?
[22:26] slaskis: tactical: mine are very long
[22:26] MooGoo: I write all my programs in one line
[22:27] insin: tjholowaychuk wrote a long one, but that was mostly because he put his name in a comment
[22:27] xerox: did I make the second one up? xD
[22:27] AvianFlu: MooGoo: s/in/on/ , don't front :D
[22:27] jscheel: xerox: throw err just says "there's been a problem". If that throw doesn't bubble up to a try catch statement somewhere, then process.on('UncaughtException'... will catch it.
[22:27] tjholowaychuk: insin: i what?
[22:27] dquiroz has joined the channel
[22:27] tactical: did you folks ever use MFC?
[22:28] xerox: jscheel: hmm ok
[22:28] insin: tjholowaychuk: " are any Node.js programs long" :)
[22:28] MooGoo: programs that are not written on punch cards are not real anyways
[22:29] fakewaffle: i want to create an iphone twitter app with node: where do i start?
[22:29] insin: very small, very powerful magnets or bust
[22:29] slaskis: fakewaffle: you start by jailbreaking your iphone
[22:30] fakewaffle: slaskis: i dont have an iphone though
[22:30] tactical: isn't that illegal
[22:31] MooGoo: is Objective C a real programing language?
[22:31] fakewaffle: no
[22:31] jscheel_ has joined the channel
[22:31] jscheel_ has joined the channel
[22:31] slaskis: fakewaffle: then that's a problem, maybe you can use this with xcode? https://github.com/TooTallNate/node-iOS
[22:32] coreb: so what'll be big news in 0.5.0?
[22:32] fakewaffle: a new number
[22:32] JoseCabo: coreb, +1
[22:32] Ian_Corne: +0.1.0 *
[22:32] Ian_Corne: :D
[22:32] slaskis: coreb: i think the biggest change is full windows support
[22:33] MooGoo: is windows a real operating system
[22:33] JoseCabo: MooGoo, good question.
[22:33] nibblebo_ has joined the channel
[22:33] coreb: ah, the funmen
[22:33] MooGoo: should nodejs really be supporting fake oses
[22:33] fakewaffle: v8bot--
[22:33] v8bot: fakewaffle has taken a beer from v8bot. v8bot now has 27 beers.
[22:33] S1kx has joined the channel
[22:33] fakewaffle: slowly!
[22:33] JoseCabo: MooGoo, if people is working in an weboperatingsystem.. why not with windows?
[22:33] JoseCabo: both are fake SO
[22:34] MooGoo: if an OS isnt somehow based on unix it is cleary not real
[22:34] JoseCabo: The work in Windows don't affect to other forks
[22:34] JoseCabo: omg xD
[22:35] coreb: it's a great decision to support windows
[22:35] Ian_Corne: bleh
[22:35] tactical: can you link me to a program written in node.js
[22:35] Ian_Corne: windows
[22:35] JoseCabo: I think node could compile in Windows but don't use Windows as a main platform. Use Linux, like now, for execute main platform.
[22:35] MooGoo: tactical www.microsoft.com
[22:35] MooGoo: I hear they program all their shit in nodejs
[22:35] JoseCabo: ??
[22:36] JoseCabo: who are they? MooGoo ?
[22:36] Ian_Corne: ..
[22:36] Calvin: 14undefined
[22:36] MooGoo: Bill Gates
[22:36] coreb: .NET is implemented in node.js
[22:36] JoseCabo: ...bill gates?
[22:36] Ian_Corne: hehe
[22:36] MooGoo: he wrote Windows in Node.js
[22:36] JoseCabo: coreb, .NEt?????
[22:36] tactical: i am serious
[22:36] MooGoo: just 3 lines
[22:36] highermath_away has joined the channel
[22:36] coreb: JoseCabo: didn't you know?
[22:36] JoseCabo: coreb, you are joking.
[22:36] JoseCabo: xD
[22:36] JoseCabo: i am sure.
[22:37] kmiyashiro has joined the channel
[22:37] MooGoo: node.NET
[22:37] systemfault: Noobs.. Windows is vbscript :/
[22:37] raidfive has joined the channel
[22:37] MooGoo: you mean QBasic
[22:37] tactical: just show me one prog
[22:37] zmbmartin: everytime a page refresh the client in socket.io gets a new sessionId? Is this right?
[22:37] JoseCabo: poor me
[22:37] JoseCabo: zmbmartin, logically yes.
[22:38] davidbanham has joined the channel
[22:38] JoseCabo: zmbmartin, it is a new connection
[22:38] frodenius: tactical㇀ node's shining star is http://transloadit.com/
[22:38] JoseCabo: frodenius, where SO are you now?
[22:38] JoseCabo: which SO are you right now??***
[22:38] frodenius: SO?
[22:38] jscheel: xerox: http://pastie.org/2074772
[22:38] liar has joined the channel
[22:38] JoseCabo: OS*
[22:39] frodenius: i'm a mac
[22:39] jscheel: xerox: run that and you will see how it works
[22:39] JoseCabo: oah.
[22:39] tactical: all node code is open source, right
[22:39] JoseCabo: Check your codification
[22:39] JoseCabo: check your mac... is broken (H)
[22:39] xerox: jscheel: hey
[22:40] frodenius: JoseCabo㇀ i think you don't have UTF-8
[22:40] JoseCabo: I am on Ubuntu, i only use utf8...
[22:40] xerox: jscheel: I see
[22:40] highermath_away has joined the channel
[22:40] highermath_away has joined the channel
[22:41] Destos has joined the channel
[22:41] davidbanham: tactical: Yep. https://github.com/joyent/node
[22:41] sechrist: lulzsec
[22:41] sechrist: bah
[22:41] randomnewblet has joined the channel
[22:41] JoseCabo: frodenius, i think you "print" a weird character when you use tab (or equivalent key in private mac system) for autocomplet name
[22:41] frodenius: well yes my irc application does that
[22:42] frodenius: it's a cjk stroke t
[22:42] JoseCabo: aj�
[22:42] spaceinv1der: 卐卐卐卐
[22:42] fwg has joined the channel
[22:42] spaceinv1der: utf8 nazi
[22:42] fwg has joined the channel
[22:42] JoseCabo: spaceinv1der, ��
[22:42] JoseCabo: !!*
[22:42] spaceinv1der: making sure everyone has it set up
[22:42] JoseCabo: xD
[22:43] JoseCabo: if someone can see this character: '�' is because it have the right codification.
[22:43] framlin has joined the channel
[22:43] spaceinv1der: ¡Hola!
[22:43] davidbanham: frodenius: Try LimeChat for OS X. It's pretty, and there's no encoding weirdness.
[22:43] JoseCabo: �Hola! spaceinv1der
[22:43] SethX has joined the channel
[22:43] spaceinv1der: irssi represent
[22:43] kmiyashiro: someone should write irc node awesome thing
[22:43] frodenius: well i am pretty sure i have no encoding weirdness either
[22:44] spetrea has joined the channel
[22:44] frodenius: fwg㇀ or do i
[22:44] xerox: kmiyashiro: I thought about that but writing the client part puts me off
[22:44] AvianFlu: !insult IRC
[22:44] kohai: IRC is like one of those callbacks that just won't fire.
[22:44] Calvin: Oh fuck you, IRC.
[22:44] fwg: frodenius㇀ nope
[22:44] JoseCabo: kmiyashiro, my bf and I are coding an webchat using node :P
[22:44] JoseCabo: isn't irc... but is better!
[22:44] JoseCabo: xd
[22:44] kmiyashiro: but that's webchat
[22:44] JoseCabo: kmiyashiro, better than irc!
[22:44] JoseCabo: xd
[22:44] kmiyashiro: can't sit in #node.js in webchat
[22:45] JoseCabo: ?
[22:45] davididas has joined the channel
[22:45] kmiyashiro: the irc channel
[22:45] fwg has left the channel
[22:45] systemfault: Wow... Lulzsec is playing with fire... They just DDOSed the CIA's website :/
[22:45] JoseCabo: omg.. omg omg... http://twitpic.com/5bwt4u the world end is near...
[22:45] jscheel: xerox: hmm, not 100% on what happens to the even loop after the uncaughtException though. I thought it would keep on trucking, but it looks like it doesn't act as a catch.
[22:45] DTrejoAFKarchive has joined the channel
[22:46] davidbanham: systemfault: Cue media outrage and action at a federal government level.
[22:46] systemfault: :/
[22:46] mikeal has joined the channel
[22:46] NuckingFuts: tjholowaychuk: How would I build an effective login system on ExpressJS?
[22:46] tjholowaychuk: NuckingFuts like you normally would
[22:47] metadaddy has joined the channel
[22:47] tjholowaychuk: form, sessions, etc
[22:47] zmbmartin: tjholowaychuk: is there a callback that I can use for when the req.form is finished?
[22:47] NuckingFuts: tjholowaychuk: Aye, how do I handle sessions though?
[22:47] tjholowaychuk: zmbmartin it's all in the docs/tests/source
[22:47] NuckingFuts: As in cookie-session shit
[22:47] tjholowaychuk: with the session middleware
[22:47] NuckingFuts: ACTION has the urge to eat cookies >_>
[22:47] tjholowaychuk: look at the auth example
[22:48] NuckingFuts: tjholowaychuk: Can I drop in my own auth system?
[22:48] xerox: jscheel: what do you mean? I think that if you add a setInterval the process would not finish since now you are catching anything
[22:48] tjholowaychuk: NuckingFuts of course
[22:48] fakewaffle: is there an app that can extract my documentation for api?
[22:49] heavysixer has joined the channel
[22:49] zmbmartin: tjholowaychuk: of connect-form or node-formidable?
[22:49] tjholowaychuk: zmbmartin connect-form
[22:49] JoseCabo: fakewaffle, can you explain? i could be interested in the same.
[22:50] Poetro has joined the channel
[22:50] jscheel: xerox: http://pastie.org/2074816
[22:50] fakewaffle: like phpdoc?
[22:50] xerox: jscheel: http://pastebin.com/uzjS1CyG
[22:51] carpeliam has joined the channel
[22:51] davidbanham: NuckingFuts: It's easier than you may think. Here's a code dump from my current app showing the guts of the login, logout, authentication, user creation and password change system.
[22:51] davidbanham: http://pastebin.com/JLUenV2r
[22:51] NuckingFuts: I'm using MongoDB for my database shit, should I use Mongo or add Redis to handle session stores?
[22:52] addisonj: fakewaffle, you take a look at this? https://github.com/visionmedia/dox
[22:52] davidbanham: NuckingFuts: That's a question I can't really answer. Don't know enough about Mongo. Redis is awesome and simple as hell, though.
[22:52] NuckingFuts: davidbanham: MongoDB is a great store system for long-term storage
[22:52] addisonj: NuckingFuts, mongo works jsut fine too
[22:53] addisonj: and you aren't going to loose much on performance honestly
[22:53] addisonj: if anything at all
[22:53] carpeliam: hey, is anybody using juggernaut? i was wondering if i can run juggernaut as part of my existing node app, do i really need to run juggernaut in a separate node instance?
[22:53] NuckingFuts: Things like user passwords and shit are great in it
[22:53] fakewaffle: addisonj: thanks man
[22:53] NuckingFuts: addisonj: Okay, that was my biggest fear.
[22:53] NuckingFuts: Thanks for that :D
[22:53] addisonj: NuckingFuts, for sessions stores, connect-mongodb
[22:53] davidbanham: NuckingFuts: Yeah I could identify it at 100m, but I don't know the ins and outs of it. Using Mongo for everything will probably make it simpler when you want to scale horizontally.
[22:53] addisonj: is the package you will want
[22:53] metadaddy has joined the channel
[22:54] tahu has joined the channel
[22:54] NuckingFuts: addisonj: I assume that's a middleware session store system built on mongo?
[22:54] addisonj: yep
[22:54] davidbanham: Incidentally, if anyone wants to take a look at that code I posted and tell me if I've done anything monumentally stupid with my crypto I'd appreciate it. http://pastebin.com/JLUenV2r
[22:55] NuckingFuts: I do SHA-256 hashes for my password stores
[22:55] NuckingFuts: Salted by the username
[22:55] brownies has joined the channel
[22:55] NuckingFuts: Thinking of adding another salt though too >_>
[22:55] addisonj: salts probably shouldn't be by username... use something semi random
[22:55] NuckingFuts: addisonj: Per-user or global?
[22:56] Sorella has joined the channel
[22:56] addisonj: NuckingFuts, here is a good technique, look at the way he does his user class, and it uses mongoose
[22:56] addisonj: https://github.com/alexyoung/nodepad/blob/master/models.js
[22:56] NuckingFuts: ewwwwwww mongoose
[22:57] NuckingFuts: ACTION vomits all over addisonj's shoes
[22:57] temp01 has joined the channel
[22:57] addisonj: well, however, you can take that technique and apply it elsewhere
[22:57] NuckingFuts: mongo-native :D
[22:57] addisonj: mongoose is nice... but API changes are sort of bugging me
[22:58] ben_alman: can anyone recommend a npm-module docs generator for JS source files?
[22:58] pengwynn has joined the channel
[22:58] addisonj: ben_alman, dox
[22:58] Bradleymeck has joined the channel
[22:58] Bradleymeck_ has joined the channel
[22:58] fizx has joined the channel
[22:59] NuckingFuts: addisonj: To me, it's too clunky, and not many people seem to actually have used it. The part that originally scared me about Mongo-native was the nested callbacks, but once I finally grasped scope back in Feburary, it wasn't nearly as bad.
[22:59] Utkarsh has joined the channel
[23:00] addisonj: i appreciate the built in validation, error handling, and scheme support, but yeah, to each his own
[23:00] fizx has joined the channel
[23:01] Melkor_ has joined the channel
[23:01] NuckingFuts: addisonj: I don't have much need for schemes, and I don't mind having to add an "if (err) throw err" line to each callback :P
[23:01] NuckingFuts: I design my databases carefully
[23:01] NuckingFuts: And validation is something I would probably handle myself anyways
[23:02] H2S04 has joined the channel
[23:04] erictj has joined the channel
[23:07] highermath_away has joined the channel
[23:07] highermath_away has joined the channel
[23:07] unlink has joined the channel
[23:07] replore_ has joined the channel
[23:08] devdazed has joined the channel
[23:08] devdazed has left the channel
[23:09] ryanfitz has joined the channel
[23:09] xerox: where do unhandled events go
[23:10] xerox: emitter.emit('purr')
[23:10] xerox: but there is not listener on 'purr'
[23:10] xerox: what happens?
[23:10] dingomanatee has joined the channel
[23:11] Ian_Corne: nothing?
[23:13] simenbrekken has joined the channel
[23:13] quackquack: are there any good client side validation javascript libraries?
[23:13] xerox: ah I see
[23:13] xerox: returns false
[23:13] xerox: that's helpful :)
[23:13] Ian_Corne: the emit returns false?
[23:13] xerox: yes
[23:13] xerox: > e.emit('hi')
[23:13] xerox: false
[23:13] Ian_Corne: and if something is listening, it returns true?
[23:13] xerox: > e.on('hi', function(){}); e.emit('hi')
[23:13] xerox: true
[23:14] Ian_Corne: kk :)
[23:14] xerox: pretty
[23:14] Ian_Corne: clean I guess :)
[23:14] CodyGray has joined the channel
[23:14] xerox: quackquack: jquery this or that? :|
[23:14] boogyman has joined the channel
[23:15] CodyGray has left the channel
[23:15] quackquack: xerox: yes. i know this isnt the jquery channel, but i figured people might know anyway :P
[23:15] wadey has joined the channel
[23:15] xerox: :)))
[23:16] boogyman: quackquack: there are a variations channels for a reason... speaking off-topic is unlikely to get you valuable resources/help
[23:16] insin: ACTION needs to get back to work on his forms/validation library which works in Node and on the client, but isn't that useful in either yet :-/
[23:18] mscdex: quackquack: i think there was a post on the mailing list about server/client side validation libs
[23:18] quackquack: kzh; mscdex: thank you, ill check those out
[23:19] STUPIDWIFI has joined the channel
[23:21] matty_ has joined the channel
[23:22] gozala has joined the channel
[23:26] gozala1 has joined the channel
[23:26] fmeyer has joined the channel
[23:27] nphase has joined the channel
[23:27] hassox has joined the channel
[23:27] Destos has joined the channel
[23:29] skm has joined the channel
[23:31] zivester has joined the channel
[23:31] adnam has joined the channel
[23:32] H2S04 has joined the channel
[23:33] gozala has joined the channel
[23:33] F1LT3R_ has joined the channel
[23:33] fayce_ has joined the channel
[23:34] Melkor__ has joined the channel
[23:35] coreb: are people using require-analyzer?
[23:35] bengl_ has joined the channel
[23:36] whoops_ has joined the channel
[23:36] throughn1thing has joined the channel
[23:37] pandark__ has joined the channel
[23:37] pdonald` has joined the channel
[23:37] josephboyle1 has joined the channel
[23:38] naneau- has joined the channel
[23:38] Wizek_ has joined the channel
[23:38] fizx has joined the channel
[23:38] PrgmrBill^ has joined the channel
[23:38] augustl_ has joined the channel
[23:38] RushPL has joined the channel
[23:39] zmack_ has joined the channel
[23:39] dnyy_ has joined the channel
[23:39] mileswu has joined the channel
[23:39] tswicegood_ has joined the channel
[23:40] insin| has joined the channel
[23:40] sikx2 has joined the channel
[23:40] [[zzz]] has joined the channel
[23:41] aliem has joined the channel
[23:41] _1marc has joined the channel
[23:41] clee_ has joined the channel
[23:41] _1marc: has anyone ran up against a 413 error in Node.JS?
[23:41] skm has joined the channel
[23:41] ByteCrunch has joined the channel
[23:42] leahculver__ has joined the channel
[23:43] _1marc: "413 Request Entity Too Large"
[23:44] arpegius has joined the channel
[23:44] _1marc: Ah! was because node.js is routed through nginx
[23:45] lior has joined the channel
[23:46] gozala has joined the channel
[23:48] jakob` has joined the channel
[23:48] Determinist has joined the channel
[23:48] AvianFlu: _lmarc: try node-http-proxy
[23:49] frodeniu1 has joined the channel
[23:49] davidbanham has joined the channel
[23:49] rchavik has joined the channel
[23:49] wookiehang0ver has joined the channel
[23:49] rchavik has joined the channel
[23:50] OhMeadhbh has joined the channel
[23:51] rogerraymond has joined the channel
[23:51] Leonidas_ has joined the channel
[23:51] frodenius has joined the channel
[23:52] __sorin__ has joined the channel
[23:53] ParadoxQuine: anyone have a recommendation of a good way to persist some data (a game state) between requests but not actually store it in a db or file (it's ok to delete it if all the users in the game session disconnect, for example)
[23:54] edude03 has joined the channel
[23:54] kersny has joined the channel
[23:55] isaacs has joined the channel
[23:55] maqr has joined the channel
[23:55] maqr has joined the channel
[23:55] MooGoo: this is node.js we are talking about...
[23:55] MooGoo: so....variables?
[23:56] brettgoulder has joined the channel
[23:57] freeformz has joined the channel
[23:58] mscdex: ParadoxQuine: yeah, i'd store it in memory in an object, array, etc
[23:59] mscdex: node.js rules!
[23:59] gozala has joined the channel
[23:59] juha___ has joined the channel
[23:59] Determinist has joined the channel
[23:59] igl has joined the channel
[23:59] yozgrahame has joined the channel
[23:59] mikey_p has joined the channel
[23:59] hdon- has joined the channel
[23:59] cjm has joined the channel
[23:59] copongcopong has joined the channel
[23:59] masylum has joined the channel
[23:59] niftylettuce has joined the channel
[23:59] mapleman1 has joined the channel
[23:59] apanda has joined the channel
[23:59] aliem has joined the channel
[23:59] Sorella has joined the channel
[23:59] carpeliam has joined the channel
[23:59] lackac has joined the channel
[23:59] cafesofie has joined the channel
[23:59] idefine has joined the channel
[23:59] mjr_ has joined the channel
[23:59] namelessnotion has joined the channel
[23:59] jslatts has joined the channel
[23:59] ckknight has joined the channel
[23:59] DTrejo has joined the channel
[23:59] sfoster has joined the channel
[23:59] uchuff has joined the channel
[23:59] Minos has joined the channel
[23:59] Croms has joined the channel
[23:59] yogurt_truck has joined the channel
[23:59] slloyd has joined the channel
[23:59] sid3k` has joined the channel
[23:59] taf2 has joined the channel
[23:59] apoc has joined the channel
[23:59] neshaug has joined the channel
[23:59] halfhalo has joined the channel
[23:59] sdboyer has joined the channel
[23:59] cinch has joined the channel
[23:59] NuckingFuts: Anybody care to explain how salts work to me? Or rather, how I use one? I know what they are, just not how I would use one.
[23:59] mrkurt has joined the channel
[23:59] sstephenson has joined the channel