[00:01] boltR has joined the channel
[00:01] elijah has joined the channel
[00:04] jimt has joined the channel
[00:05] brianseeders has joined the channel
[00:07] coltr has joined the channel
[00:07] EhevuTov_ has joined the channel
[00:08] Swizec has joined the channel
[00:09] jimt_ has joined the channel
[00:09] djbell has joined the channel
[00:11] mandric has joined the channel
[00:13] Nimphious: Woah wait.
[00:13] Nimphious: There's approximately 20x as many people in here compared to last time I came in.
[00:13] Nimphious: Must have been a net split...
[00:14] Nimphious: ACTION shrugs.
[00:14] devaholic: wat
[00:15] baoist has joined the channel
[00:17] [[zz]] has joined the channel
[00:18] ideaworks has left the channel
[00:20] maletor has joined the channel
[00:21] erichynds has joined the channel
[00:23] replore has joined the channel
[00:23] replore_ has joined the channel
[00:24] bikcmp has joined the channel
[00:24] bikcmp: hi all... i installed nodejs and nodejs-dev via apt on ubuntu
[00:24] bikcmp: what's the binary called?
[00:24] bikcmp: it's not "node".
[00:25] Dmitrijus: dpkg -L nodejs-dev?
[00:25] bikcmp: hm
[00:25] bikcmp: /usr/bin/node-waf
[00:25] bikcmp: jason@jason-HP-Mini-110-1000:~/webchat/webchat$ node-waf webchat.js
[00:25] bikcmp: Waf: Please run waf from a directory containing a file named "wscript" or run distclean
[00:25] zivester_ has joined the channel
[00:26] TheJH: bikcmp, waf is a build tool bundled with node
[00:26] reid has joined the channel
[00:26] bikcmp: hm.
[00:26] Dmitrijus: bikcmp: have you installed nodejs package? this package is complementary (provides build utilities and headers)
[00:26] bikcmp: yah
[00:27] mmalecki: try nodejs
[00:27] TheJH: bikcmp, it's /usr/bin/node , i think
[00:27] bikcmp: hm
[00:27] bikcmp: TheJH: not there when i asked, but when i reinstalled it's there
[00:27] TheJH: mmalecki, the ubuntu package contains /usr/bin/node
[00:27] bikcmp: thing is now my code doesn't work :P
[00:27] konobi: `hash -r`
[00:28] mmalecki: TheJH: so only fedora will rename it?
[00:28] mmalecki: awesome
[00:28] rmzg has joined the channel
[00:28] konobi: bikcmp: bash will cache binary names based on lookup paths... run `hash -r` to update what it thinks of the world
[00:29] bikcmp: konobi: i've found it, actually
[00:29] bikcmp: how would I install something?
[00:29] bikcmp: in the sense of like
[00:29] bikcmp: hm
[00:29] smathy: Fedora is so awesome - but literally, and not a good kinda awe.
[00:29] bikcmp: ReferenceError: jQuery is not defined
[00:29] konobi: node vs /usr/bin/node ?
[00:29] bikcmp: konobi: reinstalled it
[00:29] rchavik has joined the channel
[00:29] bikcmp: is there something like easy_install for node?
[00:29] konobi: npm
[00:30] bikcmp: does it have a ubuntu/debian package?
[00:30] bikcmp: The program 'npm' is currently not installed. You can install it by typing:
[00:30] bikcmp: sudo apt-get install mricron
[00:30] bikcmp: doubt that's it
[00:30] isaacs: bikcmp: noooo!!! don't do it
[00:30] isaacs: ircretary: inst bikcmp
[00:30] ircretary: bikcmp: `curl http://npmjs.org/install.sh | sh` (or, if there are permission issues, you can try: `curl http://npmjs.org/install.sh | sudo sh`)
[00:30] WarheadsSE: see npmjs.org
[00:30] bikcmp: isaacs:i didn't ;p
[00:30] isaacs: bikcmp: that gives you NPM, not npm
[00:30] TheJH: !@bikcmp mem NPM
[00:30] jhbot: bikcmp, NPM is not npm. and its name conflicts with npm. uninstall it. NPM is http://www.cabiatl.com/mricro/npm/
[00:31] isaacs: http://npmjs.org/doc/faq.html#If-npm-is-an-acronym-why-is-it-never-capitalized
[00:31] fbartho has joined the channel
[00:31] mynyml has joined the channel
[00:31] isaacs: konobi: sorry, missed your question in xmpp, and you dropped away
[00:31] isaacs: konobi: yes, once i finish node-tar.
[00:31] neilk_ has joined the channel
[00:32] jimt_ has joined the channel
[00:32] SubStack: it's up! http://testling.com
[00:33] isaacs: konobi: var t = new Tar; t.add("some-file.txt"); t.add("some/other/file.js"); t.pipe(gzip.Gzip()).pipe(fs.createWriteStream("files.tgz"))
[00:33] isaacs: SubStack++
[00:33] v8bot_: isaacs has given a beer to SubStack. SubStack now has 9 beers.
[00:33] isaacs: w00t!
[00:33] isaacs: all hail the glory of the release!!
[00:33] SubStack: hold off a bit on sharing though for the start
[00:33] bikcmp: node.js actually looks kinda cool. ;p
[00:33] SubStack: have to add some better rate-limiting code to take the spikes
[00:34] riven has joined the channel
[00:34] riven has joined the channel
[00:35] isaacs: SubStack: wow, large team means that you'll be able to run tests around 1/4th of all minutes in a month.
[00:35] airhorns has joined the channel
[00:37] SubStack: isaacs: well you can also run them in parallel
[00:37] isaacs: oiv
[00:37] isaacs: *oic
[00:37] isaacs: then you really ought to have a 100000 minute plan.
[00:37] isaacs: ie, "At least one test is running at all times"
[00:37] SubStack: but if you're running more tests than that we can set you up with a dedicated cluster
[00:37] isaacs: usually more
[00:37] isaacs: sure, that makes sense.
[00:37] te-brian: Latest node up was interesting... you guys definitely nerded out more than usual :)
[00:37] mmalecki: SubStack++
[00:37] v8bot_: mmalecki has given a beer to SubStack. SubStack now has 10 beers.
[00:39] isaacs: te-brian: i think substack and i are the more nerdy of the group, actually. mikeal and felixge seem more human, less robot.
[00:39] isaacs: there was no controlling influence
[00:40] neoesque has joined the channel
[00:40] martin_sunset has joined the channel
[00:40] te-brian: It got me to go look into the history of tar though...
[00:40] SubStack: isaacs: well if you have a dedicated cluster you can run as many tests as that cluster can handle
[00:40] SubStack: or something
[00:40] SubStack: pricing is hard
[00:40] SubStack: anyhow
[00:40] isaacs: te-brian: yeah, it's nuts.
[00:40] te-brian: :)
[00:41] SubStack: nerds among nerds
[00:47] cognominal has joined the channel
[00:49] nrajlich has joined the channel
[00:49] Me1000 has joined the channel
[00:49] bikcmp_ has joined the channel
[00:49] mmalecki: that reminded me, I really should add my surname spelling to that repo
[00:55] _unary has joined the channel
[00:55] cjm has joined the channel
[00:55] neurodrone has joined the channel
[00:55] walkah has joined the channel
[00:55] mbruce has joined the channel
[00:55] jsj has joined the channel
[00:55] Guest7669 has joined the channel
[00:55] metellus has joined the channel
[00:55] mikeric has joined the channel
[00:55] fzzzy has joined the channel
[00:55] martin_sunset has joined the channel
[00:55] neoesque has joined the channel
[00:55] riven has joined the channel
[00:55] neilk_ has joined the channel
[00:55] mynyml has joined the channel
[00:55] fbartho has joined the channel
[00:55] rchavik has joined the channel
[00:55] rmzg has joined the channel
[00:55] reid has joined the channel
[00:55] zivester_ has joined the channel
[00:55] replore_ has joined the channel
[00:55] replore has joined the channel
[00:55] erichynds has joined the channel
[00:55] [[zz]] has joined the channel
[00:55] baoist has joined the channel
[00:55] mandric has joined the channel
[00:55] Swizec has joined the channel
[00:55] EhevuTov_ has joined the channel
[00:55] brianseeders has joined the channel
[00:55] Guest98882 has joined the channel
[00:55] matyr has joined the channel
[00:55] jtrudeau has joined the channel
[00:55] AvianFlu has joined the channel
[00:55] te-brian has joined the channel
[00:55] stagas has joined the channel
[00:55] neerolyte has joined the channel
[00:55] springmeyer has joined the channel
[00:55] Wa has joined the channel
[00:55] tiagobutzke has joined the channel
[00:55] paul_k has joined the channel
[00:55] cnu has joined the channel
[00:55] bingomanatee_ has joined the channel
[00:55] BillyBreen has joined the channel
[00:55] freewil has joined the channel
[00:55] dthompso99 has joined the channel
[00:55] wadey_ has joined the channel
[00:55] Qbix1 has joined the channel
[00:55] ajpiano has joined the channel
[00:55] saikat has joined the channel
[00:55] Kunda has joined the channel
[00:55] eignerchris has joined the channel
[00:55] shykes_ has joined the channel
[00:55] amigojapan has joined the channel
[00:55] AphelionZ has joined the channel
[00:55] slloyd has joined the channel
[00:55] dshaw_1 has joined the channel
[00:55] sonnym has joined the channel
[00:55] shurane has joined the channel
[00:55] avih has joined the channel
[00:55] mmalecki has joined the channel
[00:55] mike5w3c has joined the channel
[00:55] enos_feedler has joined the channel
[00:55] cjheath has joined the channel
[00:55] jonaslund has joined the channel
[00:55] keeto has joined the channel
[00:55] briemens has joined the channel
[00:55] sirdancealot has joined the channel
[00:55] m00p has joined the channel
[00:55] shipit has joined the channel
[00:55] skm has joined the channel
[00:55] jsurfer has joined the channel
[00:55] stephank has joined the channel
[00:55] devongovett has joined the channel
[00:55] zemanel has joined the channel
[00:55] franciscallo has joined the channel
[00:55] r04r has joined the channel
[00:55] heavysixer has joined the channel
[00:55] githogori has joined the channel
[00:55] ksheurs has joined the channel
[00:55] maushu_ has joined the channel
[00:55] euforic has joined the channel
[00:55] dreamdust1 has joined the channel
[00:55] Circlefusion has joined the channel
[00:55] zpao has joined the channel
[00:55] zedas has joined the channel
[00:55] blup has joined the channel
[00:55] Sidnicious has joined the channel
[00:55] vidi has joined the channel
[00:55] mcluskydodallas has joined the channel
[00:55] xy has joined the channel
[00:55] zeade has joined the channel
[00:55] Bonuspunkt has joined the channel
[00:55] cafesofie has joined the channel
[00:55] hostsamurai has joined the channel
[00:55] Tobsn has joined the channel
[00:55] markdaws has joined the channel
[00:55] Corren has joined the channel
[00:55] chjj has joined the channel
[00:55] skunkape has joined the channel
[00:55] Mokona has joined the channel
[00:55] innociv has joined the channel
[00:55] patcito has joined the channel
[00:55] gigawatt has joined the channel
[00:55] bengrue has joined the channel
[00:55] versicolor has joined the channel
[00:55] joeytwiddle has joined the channel
[00:55] chrislorenz has joined the channel
[00:55] dnyy has joined the channel
[00:55] perezd has joined the channel
[00:55] ohtogo has joined the channel
[00:55] Carter has joined the channel
[00:55] CoinOpeBoy has joined the channel
[00:55] ryanj has joined the channel
[00:55] agnat has joined the channel
[00:55] StanlySoManly has joined the channel
[00:55] gr-eg has joined the channel
[00:55] strevat has joined the channel
[00:55] lightcap has joined the channel
[00:55] flagg0204 has joined the channel
[00:55] towski has joined the channel
[00:55] c4milo1 has joined the channel
[00:55] cce has joined the channel
[00:55] luke` has joined the channel
[00:55] n8ji has joined the channel
[00:55] trotter has joined the channel
[00:55] Dreamer3 has joined the channel
[00:55] zmbmartin has joined the channel
[00:55] kerx has joined the channel
[00:55] brianloveswords has joined the channel
[00:55] thisandagain has joined the channel
[00:55] caolanm has joined the channel
[00:55] The_Fly has joined the channel
[00:55] Shrink has joined the channel
[00:55] tjholowaychuk has joined the channel
[00:55] quijote has joined the channel
[00:55] pizthewiz has joined the channel
[00:55] alnewkirk has joined the channel
[00:55] VICODANAX has joined the channel
[00:55] jaminja has joined the channel
[00:55] odyniec has joined the channel
[00:55] igl1 has joined the channel
[00:55] deedubs has joined the channel
[00:55] ank has joined the channel
[00:55] localhost has joined the channel
[00:55] qbit has joined the channel
[00:55] Esteb has joined the channel
[00:55] ceej has joined the channel
[00:55] rudolfrck has joined the channel
[00:55] ircdearia has joined the channel
[00:55] onre_ has joined the channel
[00:55] criswell has joined the channel
[00:55] pandark_ has joined the channel
[00:55] schwab has joined the channel
[00:55] GeorgeJ has joined the channel
[00:55] ryanmcgrath has joined the channel
[00:55] meso has joined the channel
[00:55] Vennril has joined the channel
[00:55] bwinton has joined the channel
[00:55] bergelmir has joined the channel
[00:55] chrischris has joined the channel
[00:55] nail_ has joined the channel
[00:55] HardPhuck|AFK has joined the channel
[00:55] tmm1 has joined the channel
[00:55] ppcano has joined the channel
[00:55] matt_m has joined the channel
[00:55] pct has joined the channel
[00:55] Tobbe has joined the channel
[00:55] naquad has joined the channel
[00:55] joeyang has joined the channel
[00:55] anoop has joined the channel
[00:55] sechrist has joined the channel
[00:55] piscisaureus has joined the channel
[00:55] mape has joined the channel
[00:55] dingomanatee has joined the channel
[00:55] yuwang has joined the channel
[00:55] __main__ has joined the channel
[00:55] d4rk1ink has joined the channel
[00:55] hdon- has joined the channel
[00:55] racar has joined the channel
[00:55] `10` has joined the channel
[00:55] __class__ has joined the channel
[00:55] mrryanjohnston has joined the channel
[00:55] verdoc has joined the channel
[00:55] kloeri has joined the channel
[00:55] cjroebuc_ has joined the channel
[00:55] linkgoron has joined the channel
[00:55] dreamdust has joined the channel
[00:55] EvRide has joined the channel
[00:55] TheFuzzball has joined the channel
[00:55] paulwe has joined the channel
[00:55] tekky has joined the channel
[00:55] matt_c has joined the channel
[00:55] dhasenan_ has joined the channel
[00:55] micahjohnston has joined the channel
[00:55] McMAGIC--Copy has joined the channel
[00:55] ^robertj has joined the channel
[00:55] joshonth_ has joined the channel
[00:55] ultramagnus has joined the channel
[00:55] ej_ has joined the channel
[00:55] ktos has joined the channel
[00:55] tshpaper has joined the channel
[00:55] Daegalus has joined the channel
[00:55] purr has joined the channel
[00:55] cmeiklejohn has joined the channel
[00:55] up_the_irons has joined the channel
[00:55] mikeycgto has joined the channel
[00:55] gregmoreno has joined the channel
[00:55] AD7six has joined the channel
[00:55] tauren has joined the channel
[00:55] amiller has joined the channel
[00:55] tankpilot has joined the channel
[00:55] descipher has joined the channel
[00:55] DJBouche has joined the channel
[00:55] jn has joined the channel
[00:55] b52 has joined the channel
[00:55] scottschecter has joined the channel
[00:55] alindeman has joined the channel
[00:55] jamesd has joined the channel
[00:55] FMJaggy has joined the channel
[00:55] ejnahc has joined the channel
[00:55] Bodil has joined the channel
[00:55] tk has joined the channel
[00:55] silky has joined the channel
[00:55] azeroth_ has joined the channel
[00:55] stisti has joined the channel
[00:55] ben_alman has joined the channel
[00:55] nickaugust has joined the channel
[00:55] baudehlo has joined the channel
[00:55] eddict has joined the channel
[00:55] _th_n has joined the channel
[00:55] jpdery has joined the channel
[00:55] jackyyll has joined the channel
[00:55] brannig_an has joined the channel
[00:55] Twelve-60 has joined the channel
[00:55] SuMarDi has joined the channel
[00:55] f1gm3nt has joined the channel
[00:55] slaskis has joined the channel
[00:55] liberum has joined the channel
[00:55] phiggins has joined the channel
[00:55] Fuu has joined the channel
[00:55] davv3 has joined the channel
[00:55] strax has joined the channel
[00:55] przemoc has joined the channel
[00:55] marlun has joined the channel
[00:55] stalled has joined the channel
[00:55] wink_ has joined the channel
[00:55] MrNko has joined the channel
[00:55] gkatsev has joined the channel
[00:55] orospakr has joined the channel
[00:55] gf3 has joined the channel
[00:55] iivvoo has joined the channel
[00:55] elliottcable has joined the channel
[00:55] Draggor has joined the channel
[00:55] Sami_ZzZ has joined the channel
[00:55] blueadept has joined the channel
[00:55] jspiros has joined the channel
[00:55] ctide has joined the channel
[00:55] catshirt has joined the channel
[00:55] cconstantine has joined the channel
[00:55] hoodow has joined the channel
[00:55] callumacrae has joined the channel
[00:55] tmzt has joined the channel
[00:55] beve has joined the channel
[00:55] _sri has joined the channel
[00:55] al_ol has joined the channel
[00:55] mekwall has joined the channel
[00:55] onr has joined the channel
[00:55] tomb has joined the channel
[00:55] srijan4 has joined the channel
[00:55] necromancer has joined the channel
[00:55] OneOfOne has joined the channel
[00:55] dynacker has joined the channel
[00:55] tjgillies has joined the channel
[00:55] Astro has joined the channel
[00:55] TRUPPP has joined the channel
[00:55] RushPL has joined the channel
[00:55] dantalizing has joined the channel
[00:55] willwh has joined the channel
[00:55] kawaz_home has joined the channel
[00:55] Riton has joined the channel
[00:55] polyrhythmic has joined the channel
[00:55] T-Co has joined the channel
[00:55] iFire has joined the channel
[00:55] barodeur has joined the channel
[00:55] gerard0 has joined the channel
[00:55] SomeoneWeirdzzzz has joined the channel
[00:55] stelcheck1 has joined the channel
[00:55] shenlok has joined the channel
[00:55] jp323 has joined the channel
[00:55] lmatteis has joined the channel
[00:55] Bigblah has joined the channel
[00:55] TheNumb has joined the channel
[00:55] berasa has joined the channel
[00:55] rgmarcha_ has joined the channel
[00:55] owenb has joined the channel
[00:55] Lars_unique has joined the channel
[00:55] kei has joined the channel
[00:55] gaving has joined the channel
[00:55] a11235 has joined the channel
[00:55] xerox has joined the channel
[00:55] sstephenson has joined the channel
[00:55] mrkurt has joined the channel
[00:55] DrPizza has joined the channel
[00:55] Guest18468 has joined the channel
[00:55] whoops has joined the channel
[00:55] romainhuet has joined the channel
[00:55] Hosh has joined the channel
[00:55] matti has joined the channel
[00:55] franck34 has joined the channel
[00:55] aude has joined the channel
[00:55] depy has joined the channel
[00:55] mattp_ has joined the channel
[00:55] Andeye has joined the channel
[00:55] Isaiah has joined the channel
[00:55] Ezku has joined the channel
[00:55] beawesomeinstead has joined the channel
[00:55] jcarouth has joined the channel
[00:55] cbobo has joined the channel
[00:55] PhilK has joined the channel
[00:55] daleharvey has joined the channel
[00:55] stuf has joined the channel
[00:55] don_jones has joined the channel
[00:55] yorick has joined the channel
[00:55] jroes has joined the channel
[00:55] pquerna has joined the channel
[00:55] Guest37721 has joined the channel
[00:55] chunhao_ has joined the channel
[00:55] niftylettuce_ has joined the channel
[00:55] ag4ve has joined the channel
[00:55] clickmoon has joined the channel
[00:55] russfrank has joined the channel
[00:55] qmx has joined the channel
[00:55] nuba has joined the channel
[00:55] alexh has joined the channel
[00:55] stravid has joined the channel
[00:55] else has joined the channel
[00:55] MooGoo has joined the channel
[00:55] m4rcs has joined the channel
[00:55] zpao_ has joined the channel
[00:55] zamolxes has joined the channel
[00:55] niclone has joined the channel
[00:55] _mdp has joined the channel
[00:55] Bergle_1 has joined the channel
[00:55] arpunk has joined the channel
[00:55] trose has joined the channel
[00:55] ismell has joined the channel
[00:55] webben has joined the channel
[00:55] crodas has joined the channel
[00:55] eresair has joined the channel
[00:55] janne has joined the channel
[00:55] __directory has joined the channel
[00:55] DoNaLd` has joined the channel
[00:55] jakeskik has joined the channel
[00:55] tiglionabbit has joined the channel
[00:55] augustl has joined the channel
[00:55] chilts has joined the channel
[00:55] kimico has joined the channel
[00:55] lifty has joined the channel
[00:55] niluje has joined the channel
[00:55] enki has joined the channel
[00:55] swhit has joined the channel
[00:55] dcelix has joined the channel
[00:55] zinkem has joined the channel
[00:55] Ibuprofen has joined the channel
[00:55] sriley has joined the channel
[00:55] bradwright has joined the channel
[00:55] Marak has joined the channel
[00:55] Corey has joined the channel
[00:55] unlink has joined the channel
[00:55] mrtazz has joined the channel
[00:55] TheDeveloper_ has joined the channel
[00:55] halfhalo has joined the channel
[00:55] rachelderp has joined the channel
[00:55] daed has joined the channel
[00:55] FireFly has joined the channel
[00:55] sveisvei has joined the channel
[00:55] apoc has joined the channel
[00:55] SvenDowideit has joined the channel
[00:55] Glenjamin has joined the channel
[00:55] Gregor has joined the channel
[00:55] tim_smart|away has joined the channel
[00:55] Pilate has joined the channel
[00:55] ricepuddin has joined the channel
[00:55] bentruyman has joined the channel
[00:55] beejeebus-afk has joined the channel
[00:55] stylus has joined the channel
[00:55] lukstr has joined the channel
[00:55] ekes has joined the channel
[00:55] zed0_ has joined the channel
[00:55] morgabra has joined the channel
[00:55] framlin has joined the channel
[00:55] optixx has joined the channel
[00:55] korch has joined the channel
[00:55] pdm_ has joined the channel
[00:55] ivaldi has joined the channel
[00:55] coffeecup has joined the channel
[00:55] geoffeg has joined the channel
[00:55] m0 has joined the channel
[00:55] roger_raymond has joined the channel
[00:55] Clex has joined the channel
[00:55] royh has joined the channel
[00:55] digiwano has joined the channel
[00:55] krazyivan has joined the channel
[00:55] scoates has joined the channel
[00:55] Martz has joined the channel
[00:55] slpsys has joined the channel
[00:55] pkrumins has joined the channel
[00:55] izz_ has joined the channel
[00:55] arkx has joined the channel
[00:55] Newky has joined the channel
[00:55] ByteCrunch has joined the channel
[00:55] Guest54968 has joined the channel
[00:55] dleonardi has joined the channel
[00:55] SubStack has joined the channel
[00:55] konobi has joined the channel
[00:55] Ls_Away has joined the channel
[00:55] ivan` has joined the channel
[00:55] salazr_ has joined the channel
[00:55] JasonSmith has joined the channel
[00:55] olegp has joined the channel
[00:55] keyvan has joined the channel
[00:55] gwoo has joined the channel
[00:55] fson has joined the channel
[00:55] mediacoder has joined the channel
[00:55] hotspants has joined the channel
[00:55] llrcombs has joined the channel
[00:55] context has joined the channel
[00:55] chrisdickinson has joined the channel
[00:55] freeformz_ has joined the channel
[00:55] sorensen has joined the channel
[00:55] incredimike has joined the channel
[00:55] jsanford has joined the channel
[00:55] tanepiper has joined the channel
[00:55] yobi has joined the channel
[00:55] balgarath has joined the channel
[00:55] jeremyselier has joined the channel
[00:55] gdusbabek has joined the channel
[00:55] pradeepto has joined the channel
[00:55] ralph has joined the channel
[00:55] JP has joined the channel
[00:55] jvolkman has joined the channel
[00:55] chapel has joined the channel
[00:55] stride has joined the channel
[00:55] azend has joined the channel
[00:55] Ned_ has joined the channel
[00:55] forzan has joined the channel
[00:55] dscape has joined the channel
[00:55] thedjinn has joined the channel
[00:55] Kingdutch has joined the channel
[00:55] mde has joined the channel
[00:55] PuffTheMagic has joined the channel
[00:55] jesusabdullah has joined the channel
[00:55] skyler_brungardt has joined the channel
[00:55] visnup has joined the channel
[00:55] fearphage has joined the channel
[00:55] Lorentz has joined the channel
[00:55] maeldur has joined the channel
[00:55] Lingerance has joined the channel
[00:55] adnam has joined the channel
[00:55] tahu has joined the channel
[00:55] JKarsrud has joined the channel
[00:55] Tobias| has joined the channel
[00:55] mediaslave has joined the channel
[00:55] CIA-48 has joined the channel
[00:55] slajax has joined the channel
[00:55] RichardBronosky has joined the channel
[00:55] gaYak has joined the channel
[00:55] Industrial has joined the channel
[00:55] shachaf has joined the channel
[00:55] sstreza has joined the channel
[00:55] rektide has joined the channel
[00:55] mct has joined the channel
[00:55] robashton has joined the channel
[00:55] ollie has joined the channel
[00:55] rphillips has joined the channel
[00:55] tg has joined the channel
[00:55] swaj has joined the channel
[00:55] lukegb has joined the channel
[00:55] tuhoojabotti has joined the channel
[00:55] ncb000gt has joined the channel
[00:55] efoster has joined the channel
[00:55] Hamms has joined the channel
[00:55] omni5cience has joined the channel
[00:55] Nuck has joined the channel
[00:55] pzich has joined the channel
[00:55] wereHamster has joined the channel
[00:55] blissdev has joined the channel
[00:55] doffm has joined the channel
[00:55] maqr has joined the channel
[00:55] rhizmoe has joined the channel
[00:55] btipling has joined the channel
[00:55] paulbaumgart has joined the channel
[00:55] txxt has joined the channel
[00:55] killfill has joined the channel
[00:55] Nomon_ has joined the channel
[00:55] footyfish has joined the channel
[00:55] metadaddy has joined the channel
[00:55] wao has joined the channel
[00:55] Lartsa has joined the channel
[00:55] sugyan_ has joined the channel
[00:55] MikeW has joined the channel
[00:55] markatto has joined the channel
[00:55] jmoiron has joined the channel
[00:55] inimino has joined the channel
[00:55] jburkhart has joined the channel
[00:55] Sembiance has joined the channel
[00:55] nigelb has joined the channel
[00:55] bmaland has joined the channel
[00:55] meder has joined the channel
[00:55] khmer has joined the channel
[00:55] actonapp has joined the channel
[00:55] Aikar has joined the channel
[00:55] parse has joined the channel
[00:55] Karmalicious has joined the channel
[00:55] kaarlo has joined the channel
[00:55] andyl has joined the channel
[00:55] Dmitrijus has joined the channel
[00:55] apejens has joined the channel
[00:55] zhware_ has joined the channel
[00:55] maru_cc has joined the channel
[00:55] paulwe has joined the channel
[00:55] a11235_ has joined the channel
[00:55] gaving has joined the channel
[00:55] amigojapan has joined the channel
[00:55] sstephenson has joined the channel
[00:55] mrkurt has joined the channel
[00:55] DrPizza has joined the channel
[00:55] xerox has joined the channel
[00:56] boltR has joined the channel
[00:56] WarheadsSE has joined the channel
[00:56] kraft has joined the channel
[00:56] lyte has joined the channel
[00:56] lyte has joined the channel
[00:57] WarheadsSE: damn webchat..
[00:57] Druid_ has joined the channel
[00:57] WarheadsSE: SubStack: lol @ bbs.. plus, that endpoint is only about 10-15 minutes from my offices.
[00:57] JakeyChan has joined the channel
[00:58] jesster7 has joined the channel
[00:58] jesster7 has left the channel
[00:59] Sorella has joined the channel
[00:59] boltR has joined the channel
[00:59] Brent has joined the channel
[01:00] SubStack: WarheadsSE: you're in oak towne?
[01:00] htoothrot has joined the channel
[01:00] WarheadsSE: Nah, maybe thats the other close by nottingham?
[01:00] SubStack: hah wrong side of the planet
[01:00] zmbmartin has left the channel
[01:00] WarheadsSE: I'm PA side, not MD side, traceroutes can be so finnicky
[01:01] SubStack: ACTION is right near san francisco
[01:01] WarheadsSE: lmao
[01:01] WarheadsSE: comcast, fu.
[01:01] slickplaid has joined the channel
[01:02] WarheadsSE: or should i say shitting tracemap :p
[01:03] jacobolus has joined the channel
[01:03] WarheadsSE: I haven't been to Cali since.. 06?
[01:05] SubStack: there's a github party tonight down in the mission
[01:05] WarheadsSE: not near me after all :p
[01:07] RafaGarridoBR has joined the channel
[01:07] WarheadsSE: Never get any good dev parties out here on the east coast.
[01:07] WarheadsSE: 'cause all the VCs in Cali or NYC
[01:07] WarheadsSE: Hell even in NYC there aren't many
[01:07] LeCamarade has left the channel
[01:09] piscisaureus_ has joined the channel
[01:11] enmand: WarheadsSE, where on the east coast?
[01:11] zmbmartin has joined the channel
[01:12] WarheadsSE: closest major: Phila
[01:12] WarheadsSE: second closest, Baltimore/Wilmington
[01:13] neerolyte has joined the channel
[01:13] ritch has joined the channel
[01:14] WarheadsSE: I know I asked earlier, but probably not even noticed, anyone use/gas Growl ?
[01:14] Vennril has joined the channel
[01:14] ritch: Anyone know much about async tests in expresso?
[01:15] te-brian has joined the channel
[01:16] jimt has joined the channel
[01:16] gxdssoft has joined the channel
[01:16] saikat has joined the channel
[01:17] c4milo has joined the channel
[01:17] spathi^ has joined the channel
[01:17] joshgillies has joined the channel
[01:18] lyte has joined the channel
[01:18] lyte has joined the channel
[01:21] briandh has joined the channel
[01:24] Squeese has joined the channel
[01:24] jldbasa has joined the channel
[01:24] jaequery has joined the channel
[01:25] WarheadsSE: at least not anyone whos paying attention uses/knows what Growl even is :p
[01:25] [1]spathi has joined the channel
[01:27] ryan0x2 has joined the channel
[01:27] blup has joined the channel
[01:28] TooTallNate: WarheadsSE: OSX notifications?
[01:29] WarheadsSE: yes, they are on OSX too
[01:29] dreamdust has left the channel
[01:29] ditesh|cassini has joined the channel
[01:29] WarheadsSE: well really, they started there
[01:30] Renegade001 has joined the channel
[01:33] zmbmartin has left the channel
[01:33] rootslab has joined the channel
[01:33] rootslab: @isaacs are you there?
[01:33] isaacs: yessir
[01:33] rootslab: hi ;)
[01:33] isaacs: hello :)
[01:33] rootslab: I have replied to your post
[01:34] rootslab: thanks for your explanation, however ;)
[01:34] Yuezi has joined the channel
[01:34] CarterL has joined the channel
[01:35] isaacs: np
[01:35] isaacs: i see this.
[01:35] isaacs: you can't rely on the client calling pause and resume.
[01:35] isaacs: because you'er going to just pipe it to another filter.
[01:35] cafesofie has joined the channel
[01:36] rootslab: mm, yes
[01:36] isaacs: request.get("http://some-server.com/").pipe(new dropper(16)).pipe(zlib.Gzip()).pipe(whatever)
[01:36] isaacs: they might not even keep a reference to it
[01:36] rootslab: yes it's possible but not pretty
[01:36] isaacs: once you hand a buffer off, whether it's to a binding or an fs function or a .write() operation or a "data" event emission, it's *not your buffer* any more, and you're not allowed to touch it.
[01:37] isaacs: zero exceptions, unfortunately.
[01:37] rootslab: ha ha
[01:37] rootslab: ok
[01:37] sdwrage has joined the channel
[01:37] isaacs: i know, it's frustrating sometimes :)
[01:37] WarheadsSE: hmm, going to have to keep that in mind :p
[01:37] ritch has left the channel
[01:38] isaacs: rootslab: so, for the benchmark i was running, i think that dropper is just slightly faster because of the cases where i'm creating a new buffer rather than reusing the old one.
[01:39] isaacs: the difference is very slight.
[01:39] k1ttty has joined the channel
[01:39] rootslab: yes, but I thought that the difference is measurable
[01:39] rootslab: was
[01:40] rootslab: :D ah ah
[01:40] amigojapan has joined the channel
[01:40] isaacs: also, block-stream is somewhat optimized for the padded use-case.
[01:40] fbartho has joined the channel
[01:40] isaacs: when you set {nopad: true } it does some extra array juggling.
[01:41] isaacs: but i don't know if it's enough to account for the difference in time
[01:41] rootslab: But your approach is to slice or/and create new Buffer on every data emission ?
[01:42] rootslab: I try to see deeply at the code now
[01:43] isaacs: yeah, if the written buffer is exactly the right size, then i emit it, otherwise if it's too big, i slice it, or if it's too small (or if there's already an existing output copy created) then i copy it.
[01:43] d4rk1ink__: WarheadsSE: what are you trying to do with growl/notifier?
[01:43] isaacs: it'd be nice if there was some non-copy way to flatten multiple arrays into one, but i don't think there is, since buffers are always contiguous memory slices.
[01:44] WarheadsSE: d4rk1ink__: nothing, I've got about 90% of the GNTP spec running native in Node
[01:44] isaacs: rootslab: what you *could* do is detect cases where the collected up inputs are next to one another in the parent buffer, and treat them as one, but that's a bit magical.
[01:44] djbell has joined the channel
[01:44] WarheadsSE: Personal use really
[01:44] isaacs: and probably not worth it
[01:44] d4rk1ink__: WarheadsSE: ah I see
[01:44] boltR has joined the channel
[01:44] rootslab: ok, the same approach I have used, only I don't create a new Buffer every time
[01:44] WarheadsSE: just poking to see if there is any interest from anyone
[01:45] isaacs: once you emit it, it's not yours, though. no trespassing!
[01:45] rootslab: I understand!!
[01:46] rootslab: I thought at algorithm
[01:47] rootslab: the cases are the same, only ,as you are telling me, I have to use new buffer every time! i
[01:47] rootslab: ok? :D
[01:47] isaacs: rootslab: also, if you add that pause/resume bit, the speed savings goes away, and then some.
[01:47] isaacs: rootslab: like, double ;)
[01:47] isaacs: $ time node bench/dropper-pause.js >/dev/null
[01:47] isaacs: real 0m30.426s
[01:47] isaacs: user 0m0.179s
[01:47] isaacs: sys 0m0.034s
[01:47] rootslab: fro version 1 to 2
[01:47] rootslab: I have seen that
[01:48] rootslab: 50 %
[01:48] rootslab: it's true
[01:48] jimt has joined the channel
[01:49] isaacs: rootslab: i mean, it goes from 7.5s to 30s if you add the pause/resume step to keep the data from being corrupted
[01:49] isaacs: and i still get invalid data ;P
[01:49] rootslab: with my tests?
[01:50] rootslab: sorry, it's late here, :O
[01:50] rootslab: :)
[01:51] isaacs: no, with the nopad-thorough.js test.
[01:51] isaacs: i just replaced "block-stream.js" with "dropper"
[01:51] WarheadsSE: d4rk1ink__: if anyone ends up interested i might bother putting it on npm... but ohwell
[01:51] isaacs: so, the reason it's taking 30s is that it never finishes, so tap times it out, apparently.
[01:51] isaacs: but i'm still seeing this:
[01:51] isaacs: FOUND: xxxxxxxxxxxxxxxx
[01:51] isaacs: WANTED: aaaaaaaaaaaaaaaa
[01:51] elijah has joined the channel
[01:52] WarheadsSE has left the channel
[01:52] rootslab: It's weird
[01:52] rootslab: Try to take a look to my test
[01:53] elijah|home has joined the channel
[01:53] rootslab: If I run it with a delay fo secs, nothing happens, all ok
[01:54] piscisaureus has joined the channel
[01:54] elijah|home has joined the channel
[01:55] Emmanuel` has joined the channel
[01:55] rootslab: @isaacs, are you trying ?
[01:56] mikeric has joined the channel
[01:56] neerolyte has joined the channel
[01:57] DTrejo has joined the channel
[01:58] icewhite has joined the channel
[01:58] isaacs: rootslab: this is what i'm doing: https://github.com/isaacs/block-stream/tree/master/bench
[01:59] rootslab: yes I am running these tests
[02:01] DTrejo: ACTION has been making progress
[02:03] renaudsauvain has joined the channel
[02:03] tokuz has joined the channel
[02:04] trotter has joined the channel
[02:04] bikcmp has joined the channel
[02:04] kraft has joined the channel
[02:04] coltr has joined the channel
[02:05] perezd has joined the channel
[02:06] DTrejo: ACTION ran into a disk quote on his no.de machine o_o
[02:06] DTrejo: *quota
[02:07] cjm has joined the channel
[02:07] Corren has joined the channel
[02:08] a_suenami has joined the channel
[02:11] hotch has joined the channel
[02:11] ceej has joined the channel
[02:11] mAritz has joined the channel
[02:12] dnielF has joined the channel
[02:15] dnielF has left the channel
[02:15] heavysixer has joined the channel
[02:17] nroot7 has joined the channel
[02:19] rootslab: ok @isaacs, my approach is wrong for guarantee correct data emitting, I will try to do some code refactoring, and do it better than yours :D I'm joking ! ;) thanks
[02:21] rayfinkle has joined the channel
[02:21] spathi^ has joined the channel
[02:21] rayfinkle: any know which of the redis node modules is most mature?
[02:22] ryanmcgrath has joined the channel
[02:23] murilobr has joined the channel
[02:23] JakeyChan has joined the channel
[02:24] EhevuTov has joined the channel
[02:24] ryanrolds_w has joined the channel
[02:25] Vennril2 has joined the channel
[02:25] ryanrolds_w: Wish vows supported async teardown.
[02:25] AAA_awright: ... What's that?
[02:26] ctide: you mean the pull request that was opened 6 months ago?
[02:26] ctide: :(
[02:26] ryanrolds_w: Yeah, that one.
[02:26] willwhite has joined the channel
[02:27] ctide: i just don't use teardowns
[02:27] ryanrolds_w: If you're killing a child each test it would be really handy to not have to put setTimeouts between each test to make sure the previous test is dead and gone before you try to bind to the port again.
[02:27] schwab has joined the channel
[02:27] AvianFlu has joined the channel
[02:27] smathy has joined the channel
[02:28] ctide: i've mostly worked around it with batches and having tests that will try a few times, eventually fulfilling a promise
[02:28] ctide: but
[02:28] ctide: then you end up with dumb race conditions on slow machines
[02:28] tim_smart|away: rayfinkle: Which ones are you looking at?
[02:28] pekim has joined the channel
[02:29] rayfinkle: https://github.com/mranney/node_redis seems to be the one recommended on the node site
[02:29] rayfinkle: er on the red is site
[02:29] rayfinkle: sorry
[02:29] ryanrolds_w: I have resorted to putting a 5 sec timeout at the start of the tests that need to spawn the service. That gives the previous test time to teardown.
[02:30] ryanrolds_w: It hacky, but it works.
[02:30] stelcheck1 has left the channel
[02:30] hij1nx has joined the channel
[02:31] ryanrolds_w: What's annoying is a pretty obvious feature to have, and pull request has been waiting.
[02:34] sechrist: ACTION is hating debugging "socket.end called already"
[02:34] sechrist: fghasjahewhash
[02:36] AvianFlu: you should hit up isaacs
[02:36] joshgillies has joined the channel
[02:36] AvianFlu: hilariously, I thought this was #nodejitsu when I typed that
[02:37] jetienne has joined the channel
[02:38] dubenstein has joined the channel
[02:38] albertosh has joined the channel
[02:38] albertosh: Hello people
[02:39] ryanrolds_w: Hello
[02:39] albertosh: anyone here has ever successfully run socketbug?
[02:39] albertosh: i am having no luck :(
[02:40] m00p has joined the channel
[02:41] dubenstein has joined the channel
[02:42] perezd has joined the channel
[02:42] AvianFlu_ has joined the channel
[02:45] coltr: looking for a 3rd party module that provides a spec compliant http reverse proxy. I have found node-http-proxy (https://github.com/nodejitsu/node-http-proxy). Any other suggestions?
[02:49] jimt_ has joined the channel
[02:49] tim_smart: rayfinkle: You can also take a brief look at mine https://github.com/Tim-Smart/node-redis
[02:52] zemm has joined the channel
[02:52] infynyxx has joined the channel
[02:53] bombworm has joined the channel
[02:53] harthur has joined the channel
[02:54] jimt has joined the channel
[02:54] AphelionZ has joined the channel
[02:55] gavin_huang has joined the channel
[02:56] Emmanuel` has joined the channel
[02:56] Jarda has joined the channel
[02:58] jarek has joined the channel
[03:00] blueadept: anyone know how i can do this in jade? http://pastie.org/private/tfugvvbqe5stjvzqaplwqg
[03:01] foggy has joined the channel
[03:01] CoverSlide has joined the channel
[03:01] _th_n_ has joined the channel
[03:01] LuckySMack_ has joined the channel
[03:02] boccato has joined the channel
[03:03] blueadept: n/m, think i got it, its |
[03:03] jarek- has joined the channel
[03:04] vipaca has joined the channel
[03:04] vipaca has joined the channel
[03:04] kurmangazy has joined the channel
[03:06] foggy has joined the channel
[03:06] kurmangazy: if you are generating a lot of data, what is the correct way to write it to stdout?
[03:07] jarek has joined the channel
[03:08] albertosh: i am having no luck :(
[03:08] albertosh: anyone here has ever successfully run socketbug?
[03:12] nroot7 has joined the channel
[03:13] socketio\test\39 has joined the channel
[03:13] Qbix2 has joined the channel
[03:16] deedubs: what's the most efficient way to get v1 = 'POST' and v2 = '/posts' from a string 'POST /posts'
[03:17] Kunda has joined the channel
[03:18] vidi has joined the channel
[03:19] pid__ has joined the channel
[03:20] fangel has joined the channel
[03:21] vipaca has joined the channel
[03:21] vipaca has joined the channel
[03:22] kurmangazy: does anyone know the right way to do buffering for output?
[03:22] rayfinkle_ has joined the channel
[03:23] matyr has joined the channel
[03:25] joeyang has joined the channel
[03:27] shurane has joined the channel
[03:28] Cev has joined the channel
[03:28] deoxxa: deedubs: 'POST /posts'.split(/ /, 2)?
[03:29] deedubs: and assigning it to two vars?
[03:29] jtsnow has joined the channel
[03:29] deoxxa: vars = 'POST /posts'.split(/ /, 2);
[03:29] deedubs: ...
[03:29] deoxxa: vars[1] and vars[2]
[03:29] deoxxa: erm
[03:29] deoxxa: 0 and 1
[03:30] kurmangazy: it seems like file i/o in node is not simple
[03:30] lyte has joined the channel
[03:31] deedubs: deoxxa: was actually looking to see if node did destructuring
[03:31] AvianFlu_ has joined the channel
[03:32] deoxxa: you're actually asking if javascript does that
[03:32] deoxxa: and no, it doesn't (right now, in V8)
[03:33] deoxxa: it will Soon (TM)
[03:33] deedubs: great
[03:34] ej_ has joined the channel
[03:34] deedubs: i knew how to do it the roundabout way, was hoping for destruct;
[03:34] ej__ has joined the channel
[03:37] luke`_ has joined the channel
[03:38] Spion_ has joined the channel
[03:38] Guest32370 has joined the channel
[03:39] cjroebuck has joined the channel
[03:42] binaryjohn has joined the channel
[03:43] isaacs has joined the channel
[03:43] mbrevoort has joined the channel
[03:43] matyr has joined the channel
[03:44] Aria has joined the channel
[03:48] ktos has joined the channel
[03:48] ambroff has joined the channel
[03:49] pixel13 has joined the channel
[03:49] pixel13 has left the channel
[03:49] AAA_awright: deedubs: There's so much going on in V8land right now it's stupid to optimize your code like that. So long as you're not doing something stupid like re-reading the same file from disk every time you use it (knowing it hasn't changed) you're fine
[03:50] shanebo has joined the channel
[03:51] deedubs: wondering if destructuring in node is stupid. hrph
[03:52] Corren has joined the channel
[03:52] Aria has joined the channel
[03:58] avalanche123 has joined the channel
[03:58] metellus has joined the channel
[04:01] stagas has joined the channel
[04:04] Guest7669 has joined the channel
[04:04] jaminja has joined the channel
[04:04] jaminja has joined the channel
[04:06] djbell has joined the channel
[04:09] superjudge has joined the channel
[04:09] meso has joined the channel
[04:10] AvianFlu has joined the channel
[04:11] superjudge_ has joined the channel
[04:14] dgathright has joined the channel
[04:16] kurmangazy: Well, I was foolish for saying yesterday that sax-js was slow. It's not. I just didn't know that the pretty-print example was never meant to scale, because of how it's doing io.
[04:17] deedubs has joined the channel
[04:18] amiller has joined the channel
[04:19] vipaca has joined the channel
[04:19] vipaca has joined the channel
[04:19] briandh has joined the channel
[04:20] abraxas has joined the channel
[04:21] tk has joined the channel
[04:21] matyr has joined the channel
[04:23] k1ttty has joined the channel
[04:24] towski has joined the channel
[04:25] skunkape has joined the channel
[04:27] dennisjbell has joined the channel
[04:28] TheCode has joined the channel
[04:30] deedubs has joined the channel
[04:30] jtrudeau has joined the channel
[04:30] superjudge has joined the channel
[04:34] axisys has joined the channel
[04:35] HT has joined the channel
[04:36] davidascher has joined the channel
[04:38] jamescarr_ has joined the channel
[04:40] shipit has joined the channel
[04:41] jamescarr_: is there a way to convert a Date to a specific locale?
[04:41] _th_n_ has joined the channel
[04:43] Me1000 has joined the channel
[04:43] matehat has joined the channel
[04:45] OmidRaha has joined the channel
[04:45] OmidRaha has joined the channel
[04:48] martin_sunset has joined the channel
[04:49] constantx has joined the channel
[04:51] stagas has joined the channel
[05:00] lyte has joined the channel
[05:00] lyte has joined the channel
[05:02] SideSw|pe has joined the channel
[05:03] strevat has joined the channel
[05:04] random123 has joined the channel
[05:05] neilk_ has joined the channel
[05:07] githogori has joined the channel
[05:07] willwhite has joined the channel
[05:08] zeade has joined the channel
[05:10] cognominal has joined the channel
[05:12] fbartho has joined the channel
[05:14] wmage has joined the channel
[05:16] captain_morgan has joined the channel
[05:20] atiti has joined the channel
[05:20] elijah|home has joined the channel
[05:21] k1ttty has joined the channel
[05:21] vipaca has joined the channel
[05:21] vipaca has joined the channel
[05:22] Thomas`- has joined the channel
[05:28] boltR has joined the channel
[05:28] tk has joined the channel
[05:31] fangel has joined the channel
[05:34] constantx has joined the channel
[05:34] mayfield has joined the channel
[05:35] elijah|home has joined the channel
[05:36] saikat has joined the channel
[05:38] tiagobutzke has joined the channel
[05:40] jamescarr_: quiet
[05:40] _unary has joined the channel
[05:41] stagas has joined the channel
[05:41] Corren: indeed
[05:42] JakeyChan has joined the channel
[05:44] matyr has joined the channel
[05:44] vipaca has joined the channel
[05:44] vipaca has joined the channel
[05:49] nickadeemus2002 has joined the channel
[05:51] stagas has joined the channel
[05:52] Thomas`-: hi all. question: nodejs is already included with modern browsers?
[05:52] JSManiacs has joined the channel
[05:52] kurmangazy: no
[05:53] kurmangazy: it's for server-side javascript
[05:54] jetienne has joined the channel
[05:54] DennisRasmussen has joined the channel
[05:55] nickadeemus2002 has left the channel
[05:56] dubenstein has joined the channel
[05:56] Thomas`-: kurmangazy, is it possible to build a p2p chat client with nodejs and the socket.io addon?
[05:56] pixel13 has joined the channel
[05:57] Thomas`-: or would everything still be going through a central server
[05:57] Peniar has joined the channel
[05:57] pixel13 has left the channel
[05:57] kurmangazy: I don't think it would help you much in a client
[05:58] mraleph has joined the channel
[05:58] Thomas`-: i mean say i have a webpage i want 50-100 people to be able to chat via p2p so everyones a server and client. is that type of thing possible?
[05:58] pid_ has joined the channel
[05:59] micxer has joined the channel
[05:59] kurmangazy: I think that would violate the browser's security model
[06:00] kurmangazy: the browser only lets you talk to one domain
[06:01] Thomas`-: but in that case how come in can do ajax call to twitter or facebook etc
[06:01] jeremya_ has joined the channel
[06:02] madsleejensen has joined the channel
[06:02] kurmangazy: the js can talk to the domain that it came from, so I think it's because twitter and facebook is serving that js
[06:02] jeremya_: i'm having a weird issue with require. if I do 'npm install share' and then require('share'), it works. But if I then rm -rf node_modules/share; git clone http://github.com/josephg/ShareJS node_modules/share, require('share') breaks
[06:03] Thomas`-: ahh i get you
[06:03] jeremya_: ... hm, maybe because i need to 'npm install' in node_modules/share
[06:03] jeremya_: nope
[06:03] jeremya_: i still get "Cannot find module 'share'"
[06:04] jacobolus has joined the channel
[06:05] kurmangazy: I don't know what 'npm install' does, but there's an environment variable called NODE_PATH that tells node where to look
[06:06] jeremya_: https://gist.github.com/1294723
[06:06] jeremya_: hm
[06:08] kurmangazy: unfortunately, I haven't taken the time to study how npm works, but I know that if you put the directory in NODE_PATH, it will get found
[06:13] te-brian has joined the channel
[06:13] devongovett has joined the channel
[06:15] te-brian: Would love to get another opinion on https://github.com/cpsubrian/node-mvc as an express app structure. Been playing around with a number of different setups and I'm arriving at something I like.
[06:16] stagas has joined the channel
[06:17] tshpaper has joined the channel
[06:19] kurmangazy: are people running actual websites on node yet?
[06:19] jetienne has joined the channel
[06:19] tk has joined the channel
[06:21] kurmangazy: I would like to recreate drupal in node
[06:22] markatto has joined the channel
[06:23] n8ji-idle has joined the channel
[06:23] digman543 has joined the channel
[06:23] vipaca has joined the channel
[06:24] tiagobutzke has left the channel
[06:25] fzzzy has joined the channel
[06:26] jeremya_: aha, looks like it was my bad
[06:26] kickingvegas has joined the channel
[06:27] versicolor has joined the channel
[06:28] TomY has joined the channel
[06:30] Margle has joined the channel
[06:31] te-brian: kurmangazy: Why? (and I'm a Drupal dev)
[06:31] te-brian: kurmangazy: And .. yes to your original question.. but not me (yet) :)
[06:31] kurmangazy: I like drupal. that said, I only really know much about drupal and ASP.NET
[06:32] kurmangazy: so there could be something better out there
[06:33] fzzzy has joined the channel
[06:33] Ginlock has joined the channel
[06:33] te-brian: kurmangazy: I guess the reason I ask why is.. Drupal is Drupal.. if you like it .. use it. Its not going to be 'faster' on node.js vs. PHP .. if the application is the exact same.
[06:34] Ang3 has joined the channel
[06:34] kurmangazy: meaning that you'd have to rewrite the application to get the speed?
[06:34] te-brian: kurmangazy, At least not by much anyhow. Now.. taking Drupal CMS concepts and making a more natvie-feeling node.js version ... well... that would be something that would get a whole lotta' attention :)
[06:34] micxer82 has joined the channel
[06:34] LuckySMack_ has joined the channel
[06:35] kurmangazy: I think that's what I had in mind. like taking what's good about Drupal and trying to recreat in it node
[06:35] te-brian: kurmangazy, Yeah... if you are having problems with Drupal speed ... it means you must have all authenticate users .. and that is an application problem with Drupal .. not a language one
[06:35] onr: kurmangazy: bytecode caching works
[06:35] AAA_awright: kurmangazy: Drupal is one of the best CMSes there is for PHP but you don't want to recreate it, it still has a lot of awful concepts that will hold it back
[06:35] te-brian: kurmangazy, Because Drupal is blazing fast for anonymous users (with Varnish :)
[06:36] kurmangazy: all of the interesting (IMO) uses of Drupal require being authenticated
[06:36] JakeyChan has joined the channel
[06:36] Efazati has joined the channel
[06:36] te-brian: kurmangazy, ^^^ what AAA_awright said. The hole hook_ system is not right for node.js... a node.js CMS would revolve more around EventEmitter I would think
[06:37] kurmangazy: the reason it's fast for anonymous users is because it doesn't have to *do* anything, just serve the page from cache
[06:37] callumacrae has joined the channel
[06:37] AAA_awright: Not really... I have an entire music library organized by artist(s), album, and song, the songs of which you can request to be played on an Internet stream station
[06:37] AAA_awright: And comment on each of them, favorite songs, tag them by genre/melody/etc
[06:37] te-brian: kurmangazy, Yep. And I dunno for me who cares about 'interesting' when it comes to a CMS site. Its all about the $$$ and how best to meet your client's needs.
[06:38] saesh has joined the channel
[06:38] jeremya__ has joined the channel
[06:38] kurmangazy: AAA_awright: isn't that all basically static?
[06:38] AAA_awright: The big concept that you do _not_ want to replicate in Drupal is the concept of seperate nodes/users/comments/tags each getting their own blocks of IDs
[06:39] AAA_awright: kurmangazy: When you save the page, yeah
[06:39] te-brian: kurmangazy, You may want to check out http://calip.so/
[06:39] kurmangazy: everybody sees the same comments, so they get rendered once
[06:39] AAA_awright: Well, you get to see who's requested what song how many times
[06:39] te-brian: kurmangazy, It is a node.js 'Drupal' basically. I haven't used it yet tho
[06:39] AAA_awright: here, http://radiohyrule.com/ all Drupal
[06:40] AAA_awright: Oh, and files
[06:40] AAA_awright: Where Drupal has really screwed us over is the fact it manages its own files... Well we're using those files externally, as song audio files and as album art images
[06:41] AAA_awright: So we have filename fields and custom templates which substitute the filename into an
tag. It sucks.
[06:41] jaequery has joined the channel
[06:41] AAA_awright: kurmangazy: http://magnode.org/ is my project
[06:41] te-brian: AAA_awright, I don't mind a CMS managing files.. but I completely agree that how Drupal does it is sub-optmimal
[06:41] kurmangazy: hm.. I'll have to take a look at calipso.. I'm curious to see a node CMS
[06:42] AAA_awright: te-brian: If I could say "This is where the file is located", this being an arbritary point anywhere on the filesystem, that would be great, all Drupal does is cache the metadata
[06:42] kurmangazy: AAA_awright: I can't grasp what you're saying
[06:43] te-brian: AAA_awright, Yeah.. whenever I get around to more CMSy type node apps... I will likely use MongoDB GridFS ... store meta-data with the file itself :)
[06:43] AAA_awright: kurmangazy: Which part, the files or the Magnode?
[06:43] kurmangazy: magnode.org says: 502 Bad Gateway
[06:43] AAA_awright: oh. OH. I restarted the server yesterday >_>
[06:44] kurmangazy: AAA_awright: the problem you are having with drupal managing your files
[06:44] AAA_awright: kurmangazy: http://magnode.org/doc/en/
[06:44] Thomas`-: does Nodejs require vps / dedicated hosting to install?
[06:44] AAA_awright: kurmangazy: Also, try again
[06:45] te-brian: AAA_awright, magnode looks really cool ... at a glance....
[06:45] te-brian: AAA_awright, I like the 'why invent a whole new data-relationship spec' attitude :)
[06:45] kurmangazy: AAA_awright: this concept is a little hard to take in
[06:47] manningham has joined the channel
[06:47] kurmangazy: what is RDF, exactly?
[06:47] AAA_awright: kurmangazy: The idea is that Magnode is a framework that transforms data from one type to another, and you supply a number of "transforms" that can, well, transform the data to a format a step closer to the requested output type. So I can have data right from a database "content_blog" table, and have a transform that into "Blog post HTML Body", and another which transforms it into a "Themed HTML webpage"
[06:48] kurmangazy: it seems like a fast site. is that running in node?
[06:48] AAA_awright: Yeah
[06:48] AAA_awright: Well, it's got Nginx sitting in front of it too
[06:48] kurmangazy: is that an OOP thing?
[06:49] AAA_awright: kurmangazy: Like I describe in that documentation, RDF is a data model (not unlike DOM) that makes statements about resources, where a resource is anything identifible by a URI
[06:49] AAA_awright: So I can say, type blogpost
[06:49] AAA_awright: author AAA_awright
[06:49] AAA_awright: etc
[06:50] AAA_awright: And when I dereference that URI (request it from the web server), it transforms that resource into an HTML webpage.
[06:50] anoop has joined the channel
[06:50] AAA_awright: And the cool thing is you can embed RDF data in HTML, so the webpage I return can reproduce the very data used to construct the webpage.
[06:50] AAA_awright: VERY COOL
[06:50] kurmangazy: huh
[06:51] AAA_awright: For a blog post it might not be so cool, but imagine if you're publishing a data table
[06:52] AAA_awright: Or if there's an address embedded in the webpage, if the user agent understands what an http://www.w3.org/2006/vcard/ns#Vcard is, it can load that into an address book, for instance
[06:52] mike5w3c has joined the channel
[06:53] reid has joined the channel
[06:53] AAA_awright: You don't *have* to use RDF, you could use the transform process I describe for MongoDB, or maybe even a Drupal MySQL database, who knows. But RDF is _way_ more powerful
[06:54] Corren: rdf is what neo4j uses right
[06:54] kurmangazy: this is too much to take in right now
[06:54] AAA_awright: neo4j can store RDF but it doesn't have to, iirc
[06:54] AAA_awright: It's new, certainly
[06:54] AAA_awright: I'm really trying hard to write it in a way that's easy to understand
[06:55] ph^_ has joined the channel
[06:55] AAA_awright: That's going to mean the difference between adoption and "This is too new for me"
[06:55] AAA_awright: Though I don't think Node.js people have any problem with "too new"
[06:55] ivanfi has joined the channel
[06:55] AAA_awright: It's the same sort of plan that Drupal has, going after non-programmers, that's the issue
[06:55] kurmangazy: it's not your writing, it's just that my brain is not accepting new info at the moment
[06:56] kurmangazy: at least not *this much* :)
[06:56] apoc has joined the channel
[06:57] kurmangazy: I don't particularly care for the non-programmer side of drupal
[06:57] topaxi has joined the channel
[06:57] kurmangazy: I think it's a fun API to work with
[06:57] simenbrekken has joined the channel
[06:57] kurmangazy: you can do a lot with a little bit of code
[06:57] Thomas`-: small question.. is v8 packaged w/ Node.js code?
[06:58] kurmangazy: yeah Thomas`- it comes together
[06:58] AAA_awright: kurmangazy: Also the radio site I linked you to, we can't cache the main page, because it always contains the currently playing song, so I guess that counts as dynamic
[06:58] Thomas`-: ahh thanks
[06:59] kurmangazy: when I first downloaded node.js, I was like, how is such a new project already 12mb???
[07:00] Thomas`-: :)
[07:01] Ang3 has joined the channel
[07:01] kurmangazy: I judge an API based on what I can do divided by the amount I have to type to do it
[07:01] amigojapan has joined the channel
[07:02] kurmangazy: and the amount I have to remember
[07:02] Thomas`-: lol cool. do you have a website which is utilizing node.js?
[07:02] kurmangazy: who, me? no
[07:03] groom has joined the channel
[07:04] Thomas`-: damn, have a question about installing it
[07:05] kurmangazy: what do you mean by "nodes/users/comments/tags each getting their own blocks of IDs"?
[07:05] fangel has joined the channel
[07:09] emattias has joined the channel
[07:09] Druid_ has joined the channel
[07:09] beevi7 has joined the channel
[07:10] luke` has joined the channel
[07:11] stagas has joined the channel
[07:12] kurmangazy: think of an example of a nightmarish XML-parsing task
[07:13] mmalecki has joined the channel
[07:13] neerolyte has joined the channel
[07:13] mehlah has joined the channel
[07:16] Hasan has joined the channel
[07:16] cjheath has joined the channel
[07:18] stonebranch has joined the channel
[07:18] ablomen has joined the channel
[07:19] hwinkel has joined the channel
[07:20] Frippe has joined the channel
[07:20] Frippe has joined the channel
[07:21] vipaca has joined the channel
[07:21] caffine has joined the channel
[07:22] zackattack has joined the channel
[07:23] jbpros has joined the channel
[07:23] matyr has joined the channel
[07:23] burningdog has joined the channel
[07:24] amigojapan has joined the channel
[07:25] loob2 has joined the channel
[07:26] micxer has joined the channel
[07:28] tlynn has joined the channel
[07:31] mehlah has joined the channel
[07:35] Morkel has joined the channel
[07:35] arcanis has joined the channel
[07:35] [AD]Turbo has joined the channel
[07:35] DennisRasmussen has joined the channel
[07:36] [AD]Turbo: hi there
[07:37] bosphorus has joined the channel
[07:38] herbySk has joined the channel
[07:41] tylerstalder has joined the channel
[07:42] ^robertj has joined the channel
[07:43] gut4 has joined the channel
[07:43] bombworm has joined the channel
[07:47] AvianFlu has joined the channel
[07:47] `3rdEden has joined the channel
[07:48] thalll has joined the channel
[07:51] Qbix2 has joined the channel
[07:52] _kud has joined the channel
[07:53] aaronmcadam has joined the channel
[07:55] superjudge_ has joined the channel
[07:56] shipit_ has joined the channel
[07:56] lyte has joined the channel
[07:56] lyte has joined the channel
[07:56] ezmobius has joined the channel
[07:57] aaron_ has joined the channel
[07:59] JakeyChan_ has joined the channel
[07:59] aaronmcadam has joined the channel
[08:02] vipaca has joined the channel
[08:02] arcanis: is there a way to ask node.js to require a non-.js file ?
[08:02] arcanis: (which is a valid js file)
[08:03] Morkel_ has joined the channel
[08:04] bergie has joined the channel
[08:05] SamuraiJack has joined the channel
[08:05] ablomen: arcanis, use the full name of the file
[08:05] ablomen: require("./bla.nonjs"); << works for example
[08:07] Druid_ has joined the channel
[08:07] arcanis: oh, I've missed my previous tests
[08:07] arcanis: thanks
[08:07] gut4 has joined the channel
[08:07] phluffy has joined the channel
[08:09] markwubben has joined the channel
[08:09] Thomas`- has joined the channel
[08:09] neerolyte has joined the channel
[08:11] robhawkes has joined the channel
[08:11] secoif has joined the channel
[08:12] captain_morgan has joined the channel
[08:14] boehm has joined the channel
[08:15] mraleph has joined the channel
[08:18] chjj has joined the channel
[08:19] joshgillies has joined the channel
[08:21] vipaca has joined the channel
[08:22] JakeyChan has joined the channel
[08:26] sfoster has joined the channel
[08:27] joshuathayer_ has joined the channel
[08:29] meandi has joined the channel
[08:31] whitman has joined the channel
[08:31] _kud_ has joined the channel
[08:32] AvianFlu has joined the channel
[08:32] amiller has joined the channel
[08:32] raphdg has joined the channel
[08:33] towski has joined the channel
[08:34] Thomas`- has joined the channel
[08:34] jsurfer has joined the channel
[08:35] Manuel- has joined the channel
[08:36] mraleph has joined the channel
[08:37] aliem has joined the channel
[08:38] _kud has joined the channel
[08:39] gut4 has joined the channel
[08:39] Thomas`- has joined the channel
[08:40] blueadept: i have a forEach loop that is creating a list of duplicates for me that pushes the results off into a main array, but if i try to look at its contents, the forEach takes longer to complete. what's a good way of telling my callstack to wait until the array is built?
[08:41] vguerra has joined the channel
[08:42] nickadeemus2002 has joined the channel
[08:42] phongjalvn has joined the channel
[08:43] d0k has joined the channel
[08:45] blueadept: n/m, i guess i'll just have to use permanent storage i think
[08:45] kulor-uk has joined the channel
[08:47] Ang3 has joined the channel
[08:47] jhurliman has joined the channel
[08:48] sonnym has joined the channel
[08:51] jimt has joined the channel
[08:51] TomY has joined the channel
[08:52] Frippe_ has joined the channel
[08:57] briemens has joined the channel
[08:58] bergie has joined the channel
[08:58] sechrist: so with the buffer read/write types coming in .6, does that mean modules like binary are no longer needed
[08:58] _kud has joined the channel
[08:58] sechrist: and I can finally have a json-c-struct representation?
[08:58] sechrist: yey
[08:58] markwubben has joined the channel
[09:01] az_ordog_maga has joined the channel
[09:01] az_ordog_maga: aloha
[09:01] az_ordog_maga: anybody using node.js on the heroku?
[09:01] az_ordog_maga: what is the experience with this?
[09:01] elijah has joined the channel
[09:03] _kud_ has joined the channel
[09:03] bzinger has joined the channel
[09:04] _kud__ has joined the channel
[09:05] r04r has joined the channel
[09:05] martin_sunset: az_ordog_maga: Only played with it, but so far so good. Heroku in general is awesome though. For hardcore node hosting I would look at nodejitsu
[09:06] Tales_ has joined the channel
[09:06] _kud has joined the channel
[09:06] az_ordog_maga: i wanna be developing a facebook application based on node.js and i looking for the cloud service provider for this
[09:07] tokuzfunpi has joined the channel
[09:07] martin_sunset: az_ordog_maga: Start with heroku then.
[09:07] martin_sunset: Besides switching is dead easy
[09:08] adrianmg has joined the channel
[09:09] az_ordog_maga: nodejistu is simpathic but i havent experience with them
[09:09] wbednarski has joined the channel
[09:09] _kud_ has joined the channel
[09:10] adrianmg has left the channel
[09:10] martin_sunset: They are very helpful, I like those guys. For serious production use I would go with them. But as I said, switching is easy, and you have your first app in five minutes, so why not just try it out
[09:10] _kud__ has joined the channel
[09:11] az_ordog_maga: ok you make my today program:)
[09:12] jimt_ has joined the channel
[09:12] Thomas`- has joined the channel
[09:12] r04r has joined the channel
[09:13] martin_sunset: az_ordog_maga: Tat should have read up in instead of just in. Getting started is super easy.
[09:16] AvianFlu has joined the channel
[09:21] innociv has joined the channel
[09:21] stagas has joined the channel
[09:21] vipaca has joined the channel
[09:23] az_ordog_maga: what is yours recommends node9? nide? vim? emacs? sublime2?
[09:23] eldios has joined the channel
[09:25] Shrink has joined the channel
[09:25] Shrink has joined the channel
[09:28] _kud has joined the channel
[09:29] martin_sunset: az_ordog_maga: I use textmate on the mac
[09:29] skunkape: sublime2 on linux
[09:29] Thomas`- has joined the channel
[09:30] az_ordog_maga: im on winxp now
[09:32] skunkape: lol then either change or give up all hopes of becomming a ninja
[09:32] az_ordog_maga: real martial artist?:)
[09:33] mavin|gone has joined the channel
[09:33] mavin has joined the channel
[09:33] cosmincx has joined the channel
[09:34] sweb has joined the channel
[09:35] sweb: i'm newbie in node.js
[09:35] sweb: is it a services that install on server is that true ?
[09:35] SideSw|pe has joined the channel
[09:35] _kud_ has joined the channel
[09:36] caboc has joined the channel
[09:37] Efazati has joined the channel
[09:37] mc_greeny has joined the channel
[09:38] OmidRaha has joined the channel
[09:39] _kud has joined the channel
[09:41] maru_cc has joined the channel
[09:42] hij1nx has joined the channel
[09:43] superjudge has joined the channel
[09:43] mquin has joined the channel
[09:44] Xano has joined the channel
[09:44] JakeyChan_ has joined the channel
[09:44] JakeyChan has joined the channel
[09:48] JakeyChan has joined the channel
[09:49] SargoDarya_ has joined the channel
[09:50] SargoDarya_: Hey guys, does someone of you use railwayJS?
[09:50] rendar has joined the channel
[09:51] gut4 has joined the channel
[09:53] secoif has joined the channel
[09:53] _kud_ has joined the channel
[09:55] _kud__ has joined the channel
[09:55] __doc__ has joined the channel
[09:57] nicholasThompson has joined the channel
[09:57] _kud has joined the channel
[09:58] Thomas`- has joined the channel
[09:58] Thomas`- has joined the channel
[10:01] onre has joined the channel
[10:03] _kud has joined the channel
[10:05] _kud has joined the channel
[10:08] bao__ has joined the channel
[10:11] stagas has joined the channel
[10:11] SargoDarya_: Hm. So much guys here idling
[10:12] murilobr has joined the channel
[10:14] martin_sunset: Sweb: yes
[10:14] sweb: martin_sunset, and worked like a socket programming via javascript ?
[10:15] _kud_ has joined the channel
[10:18] uchuff has joined the channel
[10:20] martin_sunset: sweb: Check out nodes.org and socket.io, they explain node.js much better than I ever could
[10:21] martin_sunset: Nodejs.org damned iPad ....
[10:21] vipaca has joined the channel
[10:21] jomoho has joined the channel
[10:21] vipaca has joined the channel
[10:23] d4rk1ink_ has joined the channel
[10:24] Feherlofia has joined the channel
[10:26] bombworm has joined the channel
[10:27] SargoDarya_: martin_sunset: you're using irc on the iPad Oo?
[10:27] martin_sunset: SargoDarya: Yeah, it's perfect, colloquies is the app, 1.99
[10:28] lzskiss has joined the channel
[10:29] TheCode has joined the channel
[10:30] TheCode: is mongoose non-blocking?
[10:30] russfrank: TheCode: yes
[10:31] Feherlofia has joined the channel
[10:32] amigojapan has joined the channel
[10:32] TheCode: excellent!
[10:33] az_ordog_maga has joined the channel
[10:34] nicholasThompson: hi all. Question :) I have got Node (0.4.x) running on a server. This web server is special. It cant get to the internet ITSELF. I have SSH access to it though. This makes it hard to install NPM.
[10:35] nicholasThompson: I cant run the install.sh as it tries to grab the code from Git which wont work as it cant see the web.
[10:35] nicholasThompson: I downloadede the zip tarball and tried to "make", but I get errors as it tried to install "ronnjs" using node cli.js....
[10:36] nicholasThompson: is it enough for me to just download and install this manually? Is there a better way?
[10:37] nicholasThompson: could I just clone ronnjs into node_modules of the npm tarball?
[10:38] nicholasThompson: essentially I need a fully offline installer...
[10:39] russfrank: nicholasThompson: can the server ssh to a machine with internets?
[10:39] nicholasThompson: nope
[10:39] nicholasThompson: it accepts connections on 22 and 80... it can have no outgoing connections.
[10:40] nicholasThompson: I also have no controll to alter this rather annoying "security" feature....
[10:40] saikat has joined the channel
[10:40] fermion has joined the channel
[10:40] nicholasThompson: I managed to get node on there by just compiling the source.. that worked.
[10:41] another_syrio has joined the channel
[10:41] saschagehlich has joined the channel
[10:41] russfrank: you could use an ssh tunnel, a proxy server, and tsocks
[10:41] nicholasThompson: altternatively, is there an rpm for npm?
[10:41] nicholasThompson: ;)
[10:41] SargoDarya_: nicholasThompson: You want to use iptables
[10:42] JakeyChan_ has joined the channel
[10:42] russfrank: nicholasThompson: cant you just grab a tarball from git and scp that over
[10:42] russfrank: s/git/github
[10:42] adnasa has joined the channel
[10:42] saschagehlich: is anyone familiar with date.js?
[10:42] SargoDarya_: russfrank: That wouldn't help him much
[10:42] nicholasThompson: thats what I've done
[10:42] SargoDarya_: The machine doesn't have access
[10:42] nicholasThompson: I downloaded the tarball and SCP'd it over
[10:42] nicholasThompson: that bit works
[10:42] another_syrio: Hello all, I wanted to ask if it's possible that I'm losing data coming into stdin by a program that runs my node script by not resuming stdin/binding a data event on it?
[10:43] russfrank: oh npm is useless to you, nvm
[10:43] SargoDarya_: so npm install will probably fail with a server not found error
[10:43] russfrank: why are you asking this question
[10:43] nicholasThompson: when I "make" the make script tries to fetch ronnjs
[10:43] russfrank: haha
[10:43] russfrank: don't get npm just make a node_modules folder manually then scp over tarballs of whatever packages you need
[10:43] nicholasThompson: hmm
[10:43] nicholasThompson: actually maybe I dont need npm, yeah
[10:43] nicholasThompson: npm is only useful on the server you DEVELOP on for installing packages
[10:44] nicholasThompson: I could just bundle dependencies with my package and transfer that over?
[10:44] SargoDarya_: nicholasThompson: Smart idea would be to create a link on your local machine to the server, install npm on your local machine and get that symlink to the node_modules folder
[10:46] SargoDarya_: martin_sunset: Yea right. I remember having an app called Colloquy. I guess Colloquies is a spinoff?
[10:47] neilk_ has joined the channel
[10:48] martin_sunset: Yeah, looks like. It is definitely worth it, I used to run chat through air display on my iPad as third screen, but having a native app is so much better
[10:49] russfrank: martin_sunset: so did it take you the last 15 minutes or so to type that whole thing or what
[10:49] TheJH has joined the channel
[10:50] martin_sunset: russfrank: Have you ever used an iPad?
[10:50] dgathright has joined the channel
[10:50] russfrank: yes
[10:50] martin_sunset: russfrank: It's super fast to type, except for domain names
[10:52] martin_sunset: russfrank: And it's greatly for multitasking. Chat on the mac is too much of a distraction for me
[10:52] another_syrio: Anyone?
[10:56] saikat_ has joined the channel
[10:56] briemens has joined the channel
[10:58] secoif: other than async/step modules, any suggestions on what to use to control async nesting
[10:58] karmakillernz has joined the channel
[10:59] russfrank: secoif: no, use an async helper library
[10:59] EriksLV has joined the channel
[11:00] EriksLV: Hi!
[11:00] secoif: russfrank sorry, i was actually asking for recommendations on such a library
[11:00] Aikar has joined the channel
[11:00] russfrank: ahh
[11:00] russfrank: https://github.com/joyent/node/wiki/modules#wiki-async-flow
[11:01] russfrank: i like async
[11:01] EriksLV: I'm new to node.js
[11:01] mape: EriksLV: hey
[11:01] EriksLV: what is the best node.js/nosql combination out there?
[11:01] russfrank: node+monog
[11:01] russfrank: mongo
[11:01] mape: mongo and couch seems to have the best support module wise
[11:02] Druid_: offtopic: anyone used gridfs yet?
[11:02] EriksLV: will it be usable on small linode 512?
[11:02] russfrank: yes
[11:02] mape: depends on the data I guess
[11:02] russfrank: as always
[11:02] martin_sunset: EriksLV: Use mongohq.com solves a lot of potential problems
[11:03] EriksLV: thanks!
[11:03] secoif: EriksLV I'm currently building an app on top of mongoosejs and I've found it quite easy going
[11:04] EriksLV: ok, will check that too, thanks
[11:04] martin_sunset: EriksLV: +1 for mongoose, use it as well
[11:05] secoif: EriksLV mongoose gives you a model layer similar to ActiveRecord. I resisted using it for a long time, don't know why. It's really nice.
[11:05] martin_sunset: secoif: I like that it is superlightweight compared to the ruby solutions
[11:06] JakeyChan has joined the channel
[11:06] SargoDarya_: So, did anyone of you tried out RailwayJS?
[11:06] secoif: martin_sunset agreed, also got my eye on https://github.com/1602/jugglingdb/
[11:06] secoif: SargoDarya_ I've played around with it a bit
[11:07] SargoDarya_: Yea, exactly
[11:07] secoif: actually made by the same guy that did jugglingdb
[11:07] secoif: does
[11:07] SargoDarya_: I have some sort of problems with my models...
[11:07] secoif: like?
[11:07] SargoDarya_: It always generates the schema for my model inside of the db/schema.db instead of the app/models/modelname.js
[11:08] martin_sunset: secoif: Looks interesting.
[11:08] SargoDarya_: When trying to paste the model from the db/schema.db into the appropriate model I get model not found >.>
[11:08] SargoDarya_: martin_sunset: http://railwayjs.com/
[11:08] SargoDarya_: That's pretty awesome
[11:09] Guest75187 has joined the channel
[11:09] secoif: SargoDarya_ I'm not sure.
[11:09] secoif: sorry
[11:09] SargoDarya_: I really wonder why there's no real buzz around it already.
[11:09] martin_sunset: SargoDarya_: Thanks for the link, haven't heard of it but will try it out. Good that it uses express under the hood
[11:10] SargoDarya_: secoif: yah, no problem I guess I just have to debug it myself.
[11:10] tugal has joined the channel
[11:11] SargoDarya_: Have to work on some different plugins currently :/
[11:11] SargoDarya_: Multiple nested circular click menues >.>
[11:11] EriksLV: one more question: what's the best way to daemon'ize node.js servers?
[11:12] storrgie has joined the channel
[11:12] hkjels_ has joined the channel
[11:12] martin_sunset: Forever
[11:12] SargoDarya_: EriksLV: You could either run it in a screen (uargs) or there was a daemonize project. Gimme a second
[11:12] hkjels_: Anyone familiar with "expresso"? I wonder if I can test on stdout
[11:12] EriksLV: thanks SargoDarya_
[11:13] SargoDarya_: EriksLV: http://slashed.posterous.com/writing-daemons-in-javascript-with-nodejs-0
[11:14] SargoDarya_: hkjels_: expresso is apparently kind of dead afaik
[11:14] TheJH: !npm info expresso
[11:14] jhbot: expresso by TJ Holowaychuk, version 0.9.2: TDD framework, light-weight, fast, CI-friendly
[11:14] SargoDarya_: Wow, that's awesome
[11:14] martin_sunset: Railways looks really great.
[11:14] SargoDarya_: !npm info railway
[11:14] jhbot: railway by Anatoliy Chakkaev, version 0.1.8: RailwayJS - Ruby-on-Rails inspired MVC web framework, fully ExpressJS compatible
[11:15] hkjels_: Ohh. I was not aware. What is the new kid on the block then?
[11:15] martin_sunset: hkjels_: For testing?
[11:15] hkjels_: yes
[11:15] SargoDarya_: Well, I certainly will go the railway route I guess :D
[11:15] martin_sunset: hkjels_: vows hands down
[11:16] hkjels_: mvc? what?
[11:16] hkjels_: testing
[11:16] SargoDarya_: Apparently railway has integrated tests :> when scaffolding it automatically creates one for your controller
[11:17] martin_sunset: hkjels_: for testing vowsjs.org. You can write your tests in coffeescript.
[11:17] hkjels_: martin_sunset: k, thank you
[11:17] ph^ has joined the channel
[11:18] hkjels_: haven't quite understood the big deal with coffeescript though
[11:18] martin_sunset: hkjels_: it removes clutter, enhances productivity
[11:18] hkjels_: I like the more functional-like syntax, but it's still javascript
[11:19] SargoDarya_: Hm, I'm tempted to try out coffeescript. I guess it's good to have it on a resume besides C++, Java, PHP, ActionScript, XML.....
[11:19] TheJH: SargoDarya, how about coco?
[11:20] SargoDarya_: What the fuck is coco?!
[11:20] russfrank: try a totally new thing, coffeescript is just slightly nicer javascript
[11:20] martin_sunset: SargoDarya_: it's a 2 day learning curve, and people tend to love it.
[11:20] TheJH: !coco compile user <<< firstname: "Foo", lastname: "Bar"
[11:20] jhbot: user.firstname = "Foo"; user.lastname = "Bar";
[11:20] TheJH: SargoDarya, it's a coffeescript fork by satyr (matyr on irc)
[11:21] socketio\test\70 has joined the channel
[11:21] SargoDarya_: Hm, yea but not yet supported by railway. I'd try cs because you can even use it there
[11:21] TheJH: SargoDarya, what's railway?
[11:21] TheJH: !npm info railway
[11:21] jhbot: railway by Anatoliy Chakkaev, version 0.1.8: RailwayJS - Ruby-on-Rails inspired MVC web framework, fully ExpressJS compatible
[11:21] martin_sunset: Sarg
[11:22] SargoDarya_: I guess you're missing the o martin ;)
[11:22] vipaca has joined the channel
[11:22] TheJH: martin_sunset, "Sarg"? That's german for "coffin"...
[11:22] daglees has joined the channel
[11:22] vipaca has joined the channel
[11:22] SargoDarya_: TheJH: Actually it's pronounced the same way
[11:22] martin_sunset: Haha, complete typo, got distracted
[11:22] SargoDarya_: Sarg only with an o at the end
[11:23] SargoDarya_: That's how people remember my name beside of my white scary eyebrow >.>
[11:23] TheJH: SargoDarya, ...
[11:24] jhbot: 05ZOMBIE ALARM!
[11:24] tugal has joined the channel
[11:24] martin_sunset: Did anyone see the walking dead season openers?
[11:24] martin_sunset: Found it rather weak
[11:25] SargoDarya_: Usually if the first question a girl asks me is if my eyebrow is that she likes my eyebrow and if it's naturally white I tell her that her tits are nice and ask how much they'd cost.
[11:26] martin_sunset: Anyways, coffeescript and node.js are a killer combination, takes the best of ruby, python and JavaScript and molds it together
[11:26] magnetik has joined the channel
[11:28] pvgrif has joined the channel
[11:28] pvgrif: hi
[11:29] pvgrif: i see a tutorial on the web that tells you how to serve static files on 4.7
[11:29] pvgrif: has this changed?
[11:30] TheJH: pvgrif, I don't think so
[11:30] pvgrif: ok thanks
[11:30] magnetik_ has joined the channel
[11:31] dthompso99 has joined the channel
[11:31] mayfield has joined the channel
[11:33] gut4 has joined the channel
[11:34] bosphorus has joined the channel
[11:35] paul_k has joined the channel
[11:36] chia has joined the channel
[11:37] nickadeemus2002 has left the channel
[11:37] jamesd has joined the channel
[11:39] socketio\test\16 has joined the channel
[11:39] meandi2 has joined the channel
[11:41] rootslab has joined the channel
[11:43] adnasa has joined the channel
[11:44] _th_n_ has joined the channel
[11:44] Kunda has joined the channel
[11:45] pvgrif has left the channel
[11:49] cjroebuck has joined the channel
[11:49] Morkel has joined the channel
[11:49] Hasan has joined the channel
[11:49] Hasan1 has joined the channel
[11:51] Jippi has joined the channel
[11:53] bshumate has joined the channel
[11:53] bshumate has joined the channel
[11:55] mike5w3c has joined the channel
[11:55] scott_gonzalez has joined the channel
[11:57] superjudge_ has joined the channel
[12:03] Xano has joined the channel
[12:03] garrensmith has joined the channel
[12:05] _kud has joined the channel
[12:08] boehm has joined the channel
[12:10] ruiazn has joined the channel
[12:10] serapath has joined the channel
[12:13] swestcott has joined the channel
[12:14] brianseeders has joined the channel
[12:15] erichynds has joined the channel
[12:17] karmakillernz has joined the channel
[12:18] _kud has joined the channel
[12:18] pibi has joined the channel
[12:19] another__ has joined the channel
[12:21] TheJH: RAAAGE! "The mozilla error checker said it could be bad, so I figured it's my duty to change it."
[12:22] TheJH: meh
[12:22] TheJH: it's a *warning* and not an *error* for a reason
[12:22] TheJH: graah
[12:22] matyr has joined the channel
[12:23] vipaca has joined the channel
[12:24] SargoDarya_: Happens all to often... http://imgur.com/WRQBv
[12:24] jbpros has joined the channel
[12:26] Arckex has joined the channel
[12:27] TheJH: SargoDarya, :D
[12:28] coltr has joined the channel
[12:31] zmbmartin has joined the channel
[12:33] enmand has joined the channel
[12:34] Margle has joined the channel
[12:35] _kud has joined the channel
[12:37] Ezzo has joined the channel
[12:38] Ezzo has left the channel
[12:38] _kud has joined the channel
[12:40] k1ttty has joined the channel
[12:42] senorpedro has joined the channel
[12:42] senorpedro: hi
[12:42] ivanfi has left the channel
[12:43] avih has joined the channel
[12:43] zmbmartin: can I use .node_modules instead of node_modules for npm?
[12:43] AphelionZ has joined the channel
[12:43] replore_ has joined the channel
[12:43] replore has joined the channel
[12:49] neurodrone has joined the channel
[12:50] thinkt4nk has joined the channel
[12:51] scott_gonzalez has joined the channel
[12:53] rendar has joined the channel
[12:54] jstash has joined the channel
[12:55] garrensmith: zmbmartin: what do you mean?
[12:55] SargoDarya_: He wants to have the node_modules folder hidden...
[12:55] SargoDarya_: for whatever reason
[12:55] fumanchu182 has joined the channel
[12:55] spcshpopr8r has joined the channel
[12:56] zmbmartin: garrensmith: What SargoDarya_ said. It isn't a hude deal I was just wondering.
[12:56] avih has joined the channel
[12:56] garrensmith: zmbmartin: ok sorry no idea. I dont think so though. I think node looks in node_modules but not .node_modules
[12:57] fumanchu182 has joined the channel
[12:59] AaronMT has joined the channel
[13:01] briemens has joined the channel
[13:03] k1ttty has joined the channel
[13:03] Poetro has joined the channel
[13:03] Poetro has joined the channel
[13:04] krater has joined the channel
[13:04] jakehow has joined the channel
[13:05] another_syrio has joined the channel
[13:05] skm has joined the channel
[13:06] hellp has joined the channel
[13:06] krater has left the channel
[13:08] zmbmartin: garrensmith: no biggie thanks
[13:08] criswell has joined the channel
[13:11] smtlaissezfaire_ has joined the channel
[13:14] JmZ_ has joined the channel
[13:19] serapath has left the channel
[13:19] bradleymeck has joined the channel
[13:19] AlmostObsolete has joined the channel
[13:19] albertosh has joined the channel
[13:19] bradleymeck: is there a way to get the home folder of a user / reeval the ENV after using process.setuid?
[13:19] AlmostObsolete: I just created a pull request to add support for the HTTP PATCH verb: https://github.com/joyent/node/pull/1907
[13:20] AlmostObsolete: It's a truly tiny commit, what do you guys think, any chance it might make it?
[13:20] JasonJS has joined the channel
[13:20] superjudge has joined the channel
[13:21] TheJH: bradleymeck, for getting the home folder, usually parsing /etc/passwd works
[13:21] TheJH: bradleymeck, unless there's some network-based auth stuff...
[13:22] deedubs has joined the channel
[13:22] bradleymeck: thejh, yea... need to go to couch for some stuff, but thats not an issue, just dont want to deal / etc/passwd but if it works...
[13:23] swestcott has joined the channel
[13:23] davidsklar has joined the channel
[13:24] lazyshot has joined the channel
[13:25] Margle has joined the channel
[13:25] spicycode has joined the channel
[13:25] ksheurs has joined the channel
[13:26] fra000 has joined the channel
[13:26] Venom_X has joined the channel
[13:27] fly-away has joined the channel
[13:30] albertosh: hey guys one question
[13:30] albertosh: can i install socket.io on 0.4.13??
[13:30] albertosh: actually 0.4.13-pre
[13:32] TheJH: albertosh, should work
[13:32] albertosh: when i do npm install socket.io
[13:32] albertosh: it gives me a werid error :S
[13:32] `3rdEden: if it doesn't break, you can, if it does break you cant
[13:32] illinois has joined the channel
[13:32] albertosh: npm ERR! Failed unpacking /tmp/npm-1318944404982/1318944405025-0.628462664084509/tmp.tgz
[13:33] localhost has joined the channel
[13:33] ph^ has joined the channel
[13:34] deedubs has joined the channel
[13:36] sweb has left the channel
[13:36] TheJH: albertosh, please gist the full error
[13:37] ^: this is a valid nick? :D
[13:38] TheJH: meh, someone already registered it :(
[13:39] sixtus42 has joined the channel
[13:39] sixtus42: Anybody got an idea, why I get http://pastebin.com/Zu0MwWpm on arm?
[13:40] sixtus42: That's node v0.5.9
[13:40] daglees has joined the channel
[13:42] baudehlo has joined the channel
[13:45] colinclark has joined the channel
[13:46] pibi has left the channel
[13:46] jetienne has joined the channel
[13:47] aaronmcadam has joined the channel
[13:47] Aikar: zmbmartin: .node_modules in current directory? no, the one for ~/.node_modules? sure but shouldnt do that
[13:47] Aikar: zmbmartin: sudo chown -R $USER /usr/local
[13:48] Aikar: then npm install -g will not need sudo ever again
[13:48] jscheel has joined the channel
[13:48] jscheel has joined the channel
[13:48] Morkel has joined the channel
[13:48] thomblake has joined the channel
[13:48] sixtus42: Aikar: assuming a single user system
[13:48] thomblake has left the channel
[13:49] Aikar: sixtus42: a multi user sys admin should know better, then you can g+rwx instead and put everyone in that group :P
[13:49] sixtus42: Aikar: I just couldn't resist to comment on the "ever again" part
[13:49] devongovett has joined the channel
[13:49] fumanchu182 has joined the channel
[13:51] stonebranch has joined the channel
[13:51] matt_m has joined the channel
[13:51] mbrevoort has joined the channel
[13:52] silky has joined the channel
[13:54] matehat has joined the channel
[13:55] RORgasm has joined the channel
[13:56] heavysixer has joined the channel
[13:57] aaronmcadam has joined the channel
[13:57] tugal has joined the channel
[13:59] bronson has joined the channel
[13:59] CoinOpeBoy has joined the channel
[14:00] CarterL has joined the channel
[14:01] grekko has joined the channel
[14:04] netlemur has joined the channel
[14:07] burningdog_ has joined the channel
[14:07] CrisO has joined the channel
[14:08] aaronmcadam has joined the channel
[14:09] willwhite has joined the channel
[14:09] eldios has joined the channel
[14:10] cosmincx has joined the channel
[14:10] davidwalsh has joined the channel
[14:12] socketio\test\59 has joined the channel
[14:12] brianc has joined the channel
[14:13] gut4 has joined the channel
[14:15] Neil___ has joined the channel
[14:15] lmorchard has joined the channel
[14:16] whse has joined the channel
[14:16] shanebo has joined the channel
[14:18] catshirt has joined the channel
[14:20] vicapow has joined the channel
[14:20] magnetik__ has joined the channel
[14:21] nibblebot has joined the channel
[14:21] ohtogo has joined the channel
[14:21] Shrink has joined the channel
[14:21] Shrink has joined the channel
[14:22] ryanmcgrath has joined the channel
[14:24] slifty_corsair has joined the channel
[14:24] igl has joined the channel
[14:25] jroes: there any http request libs that will follow redirects?
[14:25] bradleymeck: npm info request
[14:26] CrisO has joined the channel
[14:28] cafesofie has joined the channel
[14:30] waheedi has joined the channel
[14:30] piscisaureus_ has joined the channel
[14:31] burningdog has joined the channel
[14:33] rchavik has joined the channel
[14:33] brimster_ has joined the channel
[14:34] aheckmann has joined the channel
[14:35] gpovver has joined the channel
[14:35] brimster_ has left the channel
[14:37] xetorthio has joined the channel
[14:37] adrianmg has joined the channel
[14:38] adrianmg has left the channel
[14:38] grekko has joined the channel
[14:38] jroes: thanks bradleymeck
[14:38] smtlaissezfaire has joined the channel
[14:40] rchavik has joined the channel
[14:40] Acek has joined the channel
[14:41] nnisi has joined the channel
[14:42] rchavik has joined the channel
[14:42] SargoDarya_: Just as a general question. What exactly are you using node for?
[14:42] pixel13 has joined the channel
[14:43] martin_sunset has joined the channel
[14:45] pixel13 has left the channel
[14:45] vipaca has joined the channel
[14:46] brianc: SargoDarya_: world domination
[14:47] SargoDarya_: damn, and I thought I'd be the only one. We should create a league of world dominators.
[14:47] brianc: SargoDarya_: building network-enabled phone monitoring application, web applications, some local scripting, and some web crawling automation
[14:48] jroes: hm, request doesn't seem to be following my res.redirect() from express
[14:48] SargoDarya_: Well, I wasn't kidding when I said that. I'm actually building a realtime game where you have to become the worlds most respected hacker.
[14:48] kevwil has joined the channel
[14:49] SargoDarya_: First time I use node, socket.io and HTML5
[14:49] SargoDarya_: currently writing a GUI Manager for canvas... shitload of work
[14:50] mandric has joined the channel
[14:51] Migaaresno has joined the channel
[14:51] robhawkes has joined the channel
[14:51] Destos has joined the channel
[14:52] Me1000 has joined the channel
[14:53] ayaz has joined the channel
[14:53] jakehow has joined the channel
[14:53] bergie has joined the channel
[14:54] EyePulp has joined the channel
[14:54] fatjonny has joined the channel
[14:54] hotch has joined the channel
[14:54] hashar has joined the channel
[14:55] hashar has left the channel
[14:55] joshthecoder has joined the channel
[14:56] randy- has joined the channel
[14:56] Iszak has joined the channel
[14:56] boltR has joined the channel
[14:56] Iszak: Do people think it's acceptable to use an argument e.g. --development to determine environment settings? or any other suggestions?
[14:57] jaequery has joined the channel
[14:57] Iszak: or maybe --env=foo
[14:57] TheNumb: Iszak: what people?
[14:57] Iszak: just people in the channel, just trying to figure out how to determine what environment to use.
[14:57] swestcott_ has joined the channel
[14:57] randy-_ has joined the channel
[14:58] TheNumb: Iszak: so, you should've said "Do you people [...]"
[14:58] TheNumb: (:
[14:58] Iszak: I could have, but I didn't.
[14:58] albertosh: how should i update from 0.4.9 to 0.4.12???
[14:58] albertosh: do i have to delete the previous version and reinstall?
[14:58] k1ttty has joined the channel
[14:58] Iszak: albertosh, how'd you install node.js? via a package manager?
[14:59] albertosh: no git and then make make install
[14:59] Iszak: you mean configure, make, make install
[14:59] albertosh: exactly
[14:59] Iszak: you should be able to just recompile it, but uninstalling shouldn't hurt, it's probably more safe that way.
[14:59] albertosh: ok, and the best way to uninstall it?
[15:00] Iszak: make unisntall
[15:00] albertosh: hmmm but i deleted the source
[15:00] albertosh: for 0.4.9
[15:00] Iszak: just rebuild it, it should be fine.
[15:00] albertosh: k
[15:00] albertosh: thanks
[15:00] albertosh: !
[15:00] Iszak: it's a mini release, if you have issues download the source and make uninstall (I think it's uninstall, may be remove)
[15:01] caffine has joined the channel
[15:02] OmidRaha has left the channel
[15:02] criswell has joined the channel
[15:02] coltr has joined the channel
[15:03] fra000 has left the channel
[15:03] jocafa has joined the channel
[15:05] Me1000 has joined the channel
[15:05] inpho has joined the channel
[15:05] gxdssoft has joined the channel
[15:05] burningdog has joined the channel
[15:07] figital has joined the channel
[15:07] NeCkEr has joined the channel
[15:07] peparid has joined the channel
[15:08] tek has joined the channel
[15:09] heavysixer has joined the channel
[15:10] jj0hns0n has joined the channel
[15:11] halfhalo has joined the channel
[15:11] TheJH has joined the channel
[15:12] albertosh has joined the channel
[15:12] halfhalo has joined the channel
[15:12] xy has joined the channel
[15:12] bradleymeck has joined the channel
[15:13] eignerchris has joined the channel
[15:13] Renegade001 has joined the channel
[15:15] peparid: hi, i'm trying to build a node module (c++) with cygwin but i cannot get node-waf to link the compiled object file. it complains about -lnode missing. should node even exist as that lib? could i link against the node.exe instead? how? here is the failed build log: http://pastebin.com/Sr4070LV
[15:16] gut4 has joined the channel
[15:17] sharkbird has left the channel
[15:18] another_syrio has joined the channel
[15:18] hij1nx has joined the channel
[15:18] kriszyp has joined the channel
[15:19] cjm has joined the channel
[15:19] joshkehn has joined the channel
[15:19] joshkehn has left the channel
[15:19] sharkbird has joined the channel
[15:21] malletjo has joined the channel
[15:21] murilobr has joined the channel
[15:21] SargoDarya_: peparid: afaik you shouldn't use cygwin
[15:22] isaacs has joined the channel
[15:22] SargoDarya_: Get yourself a virtual machine with one of the major linux distributions. Stuff will work better than in cygwin
[15:23] TheNumb: ...or buy a mac :P
[15:23] konobi: or solaris!
[15:23] TheNumb: konobi: or *BSD!
[15:23] martin_sunset: Solaris still around?
[15:23] TheNumb: martin_sunset: yeah?
[15:23] malletjo: hey folks, want to know (some basic JS stuff) if i have multiple nested callback ( e.g : function(err) { callback(err) } .. function(err) {�callback(err) } ... etc do i need to rename "err" to something unique each time or they use the "closer" err variable each time ?
[15:23] peparid: SargoDarya_: while that might be a solution, i'd rather have it in cygwin
[15:24] BillyBreen has joined the channel
[15:24] konobi: peparid: why not use the native windows version?
[15:24] aaronmcadam: malletjo: err will be local to the function, the closure
[15:24] martin_sunset: peparid: Cygwin is a huge pain in the a
[15:24] peparid: konobi: because the module i'm trying to compile wasn't ported to windows
[15:25] konobi: sounds like you're SOL =0)
[15:25] cyrilmengin has joined the channel
[15:26] peparid: it's just the linking error, that shouldn't be something that cannot be fixed
[15:26] malletjo: aaronmcadam, True don't know why i asked ;) thx
[15:27] jgornick has joined the channel
[15:27] okCPU has joined the channel
[15:28] garrensm_ has joined the channel
[15:28] Qbix1 has joined the channel
[15:29] kenperkins has joined the channel
[15:30] sonnym has joined the channel
[15:31] pizthewiz has joined the channel
[15:31] bronson has joined the channel
[15:32] tjholowaychuk has joined the channel
[15:33] skm has joined the channel
[15:33] gaving has joined the channel
[15:35] willwhite has joined the channel
[15:35] caolanm has joined the channel
[15:36] k1ttty has joined the channel
[15:37] mandric has joined the channel
[15:39] Spion has joined the channel
[15:39] Corren has joined the channel
[15:40] N0va` has joined the channel
[15:41] kenperkins: who here, if anyone, uses nginx to reverse proxy to node?
[15:41] SargoDarya_: meh, doesn't make any sense IMHO
[15:41] shanebo: kenperkins, my sys admin does
[15:41] Iszak: because nginx is probably faster at serving static files than node.js
[15:42] kenperkins: We get pretty consistent upstream time outs in production between nginx and node and we can't figure out why
[15:42] kenperkins: no errors in node logs
[15:42] knifed has joined the channel
[15:42] Iszak: that'd be because node.js is taking too long to respond to nginx I dare say.
[15:42] martin_sunset: Quick question, what is the recommended way to handle argument errors in NPm modules? Nothing, asserts, throwing Errors?
[15:42] isaacs: argument errors?
[15:43] mikl has joined the channel
[15:43] martin_sunset: Say a fuction of mine requires a name. Should I assume that the name exists or should I check this
[15:43] TheJH: martin_sunset, I'd say either assert or `if (...) throw new Error("message")` for sync code
[15:43] voodootikigod has joined the channel
[15:44] TheJH: martin_sunset, for async code, `if (...) return cb(new Error("message"))`
[15:44] jtsnow has joined the channel
[15:44] stephank has joined the channel
[15:44] martin_sunset: TheJH: Thx
[15:44] adambeynon has joined the channel
[15:45] piscisaureus__ has joined the channel
[15:47] SargoDarya_: Doesn't nginx interfere with socket.io?
[15:48] ritch has joined the channel
[15:48] ritch has left the channel
[15:48] heavysixer has joined the channel
[15:48] albertosh has joined the channel
[15:48] shanebo: SargoDarya_ yeah but I think there's a fix in nginx where you can recompile
[15:49] SargoDarya_: shanebo: having to recompile when deploying to a new server sucks. I have a one click deploy where I just define the new machine, what gets pushed to it and then it should be done
[15:49] alvaro_o has joined the channel
[15:50] Wa has joined the channel
[15:50] SargoDarya_: Having to compile nginx is not really an option
[15:50] level09 has joined the channel
[15:51] shanebo: SargoDarya_, well the only reason I can think of to run nginx and node is if you have different kins of apps on the same server
[15:51] shanebo: kins = kinds
[15:52] dgathright has joined the channel
[15:53] Danielpk: lol... http://criso.github.com/ChuckNorrisException/
[15:54] shanebo: hahahaha
[15:55] TheJH: CrisO, are you the author of that library?
[15:55] CrisO: Yup
[15:56] TheJH: CrisO, feature suggestion: remove ungaughtException handlers before throwing the nextTick error
[15:56] TheJH: *uncaughtException
[15:56] CrisO: good point
[15:56] TheJH: :D
[15:57] swestcott has joined the channel
[15:57] c4milo has joined the channel
[15:57] CrisO: if you try to use the .on('uncaught...') your program should *really* just fail anyhow.. cause You.don't.fuck.with.chuck.norris.
[15:58] kriszyp has joined the channel
[15:59] wink_: so who's gonna fork it and start the VinDieselException, we need a way for them to fight
[15:59] ph^ has joined the channel
[15:59] CrisO: haha
[15:59] swestcott_ has joined the channel
[16:00] gregeh has joined the channel
[16:01] gpovver has left the channel
[16:02] sixtus42 has left the channel
[16:03] jarek has joined the channel
[16:04] Cromulent has joined the channel
[16:04] DrHeiter23 has joined the channel
[16:05] DrHeiter23: Just cloned from git, ran ./configure and make install.. finished and I don't know where it installed to?
[16:05] dgathright has joined the channel
[16:06] bosphorus has joined the channel
[16:06] fzzzy has joined the channel
[16:06] OneOfOne: DrHeiter23: *probably* somewhere in /usr/local or just /usr
[16:06] OneOfOne: which node
[16:07] bEEEviz has joined the channel
[16:07] DrHeiter23: not seeing it in either of those places :/
[16:09] broofa has joined the channel
[16:10] _kud has joined the channel
[16:10] te-brian2 has joined the channel
[16:11] maletor has joined the channel
[16:11] OneOfOne: DrHeiter23: find / -name node
[16:11] OneOfOne: DrHeiter23: find /usr -name node
[16:12] jsurfer has joined the channel
[16:13] BrianTheCoder has joined the channel
[16:14] deedubs has joined the channel
[16:15] luke` has joined the channel
[16:16] luke`_ has joined the channel
[16:16] Destos has joined the channel
[16:16] boltR has joined the channel
[16:17] SargoDarya_: OneOfOne: everytime I read cmd /usr I have to think of the most commented code line ever from the bumblebee project
[16:17] erichynds has joined the channel
[16:18] Xano has joined the channel
[16:18] OneOfOne: SargoDarya_: hmm?
[16:18] OneOfOne: SargoDarya_: i don't get the reference
[16:18] SargoDarya_: OneOfOne: https://github.com/MrMEEE/bumblebee/commit/a047be85247755cdbe0acce6f1dafc8beb84f2ac
[16:19] Migaaresno has joined the channel
[16:19] SargoDarya_: In the install script he accidently added a space causing the whole /usr to be deleted
[16:19] peparid: soo, anyone here now with knowledge on how to build with cygwin? still have that question about the linking problem.
[16:20] OneOfOne: hahahaha
[16:20] SargoDarya_: The comments to the line are awesome
[16:22] devongovett has joined the channel
[16:24] tugal has joined the channel
[16:24] joemccann has joined the channel
[16:24] davidascher has joined the channel
[16:25] davidascher has joined the channel
[16:25] SargoDarya_: That ones mah favourite https://lh3.googleusercontent.com/-VX9rrZ_lkeE/TgrSHPuEK7I/AAAAAAAAAA8/6KJCohdP6r4/lazer.png
[16:26] joemccann: question: is there a strictly node-based load balancer out there?
[16:26] mcluskydodallas has joined the channel
[16:27] thalll has joined the channel
[16:28] tjholowaychuk has joined the channel
[16:28] Me1000 has joined the channel
[16:28] jtrudeau has joined the channel
[16:29] patrickgamer has joined the channel
[16:30] saesh has joined the channel
[16:30] stash_ has joined the channel
[16:30] kurokikaze has joined the channel
[16:31] kurokikaze: hello all
[16:31] kurokikaze: anyone fluent with Step here?
[16:31] colinclark has joined the channel
[16:32] wadey has joined the channel
[16:32] kurokikaze: I have trouble using it in parallel mode
[16:32] meandi has joined the channel
[16:32] hkjels has joined the channel
[16:32] vicapow has joined the channel
[16:33] DrHeiter23 has left the channel
[16:34] kennon has joined the channel
[16:34] jocafa: ok do they actually expect people to use the android emulator? it's *useless*
[16:34] kennon: Howdy
[16:35] ronnieboy has joined the channel
[16:36] slifty_corsair has joined the channel
[16:36] kennon: in node's http client library, are outgoing requests queued somehow? I'm having a situation where requests start to take longer and longer and longer to return
[16:37] wookiehangover has joined the channel
[16:37] kennon: when i restart my app, it's fast again but then it sloooows down linearly (i'm running express that fires off http client requests and passes through)
[16:37] sechrist: kennon: are you starting a lot of concurrent connections?
[16:37] burningdog has joined the channel
[16:37] TheJH: kennon, what node version?
[16:37] kennon: TheJH: v0.4.9
[16:38] TheJH: kennon, ah, then you have to specify that you want one new "Agent" per conenction. otherwise, you can have a maximum of 5 parallel connections to the same host
[16:38] TheJH: *connection
[16:38] kennon: TheJH: ahhh, how do i specify that?
[16:39] TheJH: !docs search http agent
[16:39] jhbot: truncated list:
[16:39] jhbot: section "http.request(options, callback)": http://nodejs.org/docs/latest/api/all.html#http.request
[16:39] jhbot: section "http.Agent": http://nodejs.org/docs/latest/api/all.html#http.Agent
[16:39] jhbot: section "http.globalAgent": http://nodejs.org/docs/latest/api/all.html#http.globalAgent
[16:39] kurokikaze: How can I preserve some info between steps in Step library (other from using variable outside scope)?
[16:39] TheJH: kennon, http://nodejs.org/docs/latest/api/all.html#http.Agent "Alternatively, you could just opt out of pooling entirely using agent:false:"
[16:39] markdaws has joined the channel
[16:40] b_erb has joined the channel
[16:40] Mokona has joined the channel
[16:40] joshmbrown has joined the channel
[16:40] kennon: TheJH: can i just do something like "agent.maxSockets = N" ?
[16:41] b_erb: i know it's rather scientific quibble, but i'm wondering whether node.js uses the proactor or reactor pattern. i read both papers and tent to proactor, whoever some sources only state reactor pattern. any thoughts?
[16:41] zemanel has joined the channel
[16:42] TheJH: !docs search maxsockets
[16:42] jhbot: section "http.globalAgent": http://nodejs.org/docs/latest/api/all.html#http.globalAgent
[16:42] jhbot: section "http.globalAgent": http://nodejs.org/docs/latest/api/all.html#http.globalAgent
[16:42] TheJH: kennon, seems so
[16:42] kennon: TheJH: thanks, trying now ...
[16:42] trebonian has joined the channel
[16:43] gsmcwhirter has joined the channel
[16:44] ixti has joined the channel
[16:44] JSManiacs has joined the channel
[16:45] kurokikaze: arrgh
[16:45] kurokikaze: the need to mix synchronous and asynchronous actions in node makes me want to ragequit development
[16:45] meandi has joined the channel
[16:45] smathy has joined the channel
[16:45] jgornick has joined the channel
[16:46] dubenstein has joined the channel
[16:48] perezd has joined the channel
[16:49] OneOfOne: kurokikaze: what sync actions you need?
[16:49] enmand has joined the channel
[16:49] kurokikaze: I have to send client a list of objects, some already loaded, some not
[16:50] kurokikaze: OneOfOne: I have trouble passing the object loading data to next step of the chain
[16:50] jj0hns0n has joined the channel
[16:51] stephank has joined the channel
[16:51] baudehlo: you're just not used to it.
[16:51] baudehlo: You'll get there.
[16:51] patcito has joined the channel
[16:51] baudehlo: Just send the next one at the end of your callback.
[16:52] Margle has joined the channel
[16:52] baudehlo: or if you really can't get used to it, use a flow control library
[16:52] luke` has joined the channel
[16:53] baudehlo: (or do what everyone else seems to do and write a flow control library *sigh*)
[16:53] kurokikaze: I use Step libraruy
[16:53] kurokikaze: it still frustrates me
[16:53] enmand_ has joined the channel
[16:53] kurokikaze: Like this: https://gist.github.com/5336a279d4303282bf85
[16:53] gxdssoft_ has joined the channel
[16:54] matehat has joined the channel
[16:55] towski has joined the channel
[16:56] baudehlo: I don't use flow control libraries so I have no idea what that's doing.
[16:56] gr-eg has joined the channel
[16:56] kurokikaze: So how can I solve my problem? load 7x7 elements and send them?
[16:57] Illusioneer has joined the channel
[16:57] icebox has joined the channel
[16:57] blup has joined the channel
[16:57] inph0 has joined the channel
[16:58] superjudge has joined the channel
[16:58] dgathright has joined the channel
[16:59] TooTallNate has joined the channel
[16:59] agnat_ has joined the channel
[16:59] `3rdEden has joined the channel
[17:00] kurokikaze: ...to hell with it, I'm going home )
[17:00] kickingvegas has joined the channel
[17:02] jgornick has joined the channel
[17:02] jj0hns0n has joined the channel
[17:02] markdaws has joined the channel
[17:02] zemanel has joined the channel
[17:03] kennon: TheJH: that did the trick!!!
[17:03] kennon: TheJH: thanks so much!!!
[17:04] Jippi has joined the channel
[17:05] harthur has joined the channel
[17:05] stephank has joined the channel
[17:05] StanlySoManly has joined the channel
[17:05] smtlaissezfaire has joined the channel
[17:06] slifty_corsair has joined the channel
[17:07] JasonJS has joined the channel
[17:10] mikl has joined the channel
[17:10] inpho has joined the channel
[17:11] postwait has joined the channel
[17:12] joemccann has joined the channel
[17:13] b_erb has left the channel
[17:16] tetrahedrix has joined the channel
[17:16] stagas has joined the channel
[17:16] r04r has joined the channel
[17:16] meandi has joined the channel
[17:16] fra000 has joined the channel
[17:16] tetrahedrix: Anyone can shield a question on Mongoose-Auth?
[17:18] colinclark has joined the channel
[17:19] springmeyer has joined the channel
[17:20] jtrudeau has joined the channel
[17:20] mraleph has joined the channel
[17:21] TheJH: CrisO, you're removind the listeners for uncaught exceptions too early, race condition
[17:22] Vennril has joined the channel
[17:22] fbartho has joined the channel
[17:24] jrogers has joined the channel
[17:26] neilk_ has joined the channel
[17:26] CrisO: for reals? I did a quick test and it seemed fine... I'll check it out later
[17:26] vidi has joined the channel
[17:26] EyePulp: anyone using mu or mu2 for mustache tempting?
[17:27] EyePulp: er, templating
[17:28] malletjo has joined the channel
[17:28] TheJH: CrisO, won't cause much problems
[17:28] TheJH: CrisO, but it's still an opportunity to re-attach the listener
[17:29] CrisO: You're talking about ... before the next event loop, right?
[17:29] CrisO: yeah
[17:30] fzzzy has joined the channel
[17:31] Morkel has joined the channel
[17:31] pickels has joined the channel
[17:31] ph^_ has joined the channel
[17:31] airhorns has joined the channel
[17:32] mikeric has joined the channel
[17:34] addisonj has joined the channel
[17:35] trotter has joined the channel
[17:35] whitman has joined the channel
[17:35] jhurliman has joined the channel
[17:36] DarkGrey has joined the channel
[17:36] BrianTheCoder_ has joined the channel
[17:37] Morkel has joined the channel
[17:37] franciscallo has joined the channel
[17:37] jsurfer has joined the channel
[17:39] mihar_ has left the channel
[17:39] heavysixer has joined the channel
[17:41] d0k has joined the channel
[17:41] simenbrekken has joined the channel
[17:43] VICODANAX has left the channel
[17:43] SargoDarya: evening guys
[17:43] slifty_corsair has joined the channel
[17:43] maletor has joined the channel
[17:44] V1 has joined the channel
[17:46] `3rdEden has joined the channel
[17:47] socialhack has joined the channel
[17:47] davemo has joined the channel
[17:48] balaa has joined the channel
[17:49] ayaz has joined the channel
[17:50] Illusioneer has left the channel
[17:50] Venom_X has joined the channel
[17:50] githogori has joined the channel
[17:51] dnyy has joined the channel
[17:51] Renegade001 has joined the channel
[17:51] ayaz` has joined the channel
[17:52] bradleymeck has joined the channel
[17:52] RylandAlmanza has joined the channel
[17:52] RylandAlmanza: I've been using a free shell from insomnia247.nl for my node.js projects. Because I don't have root access, I had to build everything from source and install locally (bin, lib, and include folders are in /home/ryland/programs.) Everything was working completely fine, so I left for about an hour. When I came back, I tried running npm install jade and it spit out: node: error while loading shared libraries: libm.so.2: cannot open share
[17:52] RylandAlmanza: d object file: No such file or directory. Now, everytime I try to do anything that involves running node, I get that same error. The provider of my shell says that he hasn't changed anything at all, so it must be a mistake on my part, but I can't figure it out. Does anyone know how to fix this?
[17:53] isaacs: RylandAlmanza: is LD_LIBRARY_PATH set?
[17:53] twist has joined the channel
[17:53] Aikar: oh album
[17:53] Aikar: mt
[17:54] isaacs: RylandAlmanza: Try running `unset LD_LIBRARY_PATH` and then see if it works.
[17:54] heavysixer has joined the channel
[17:54] dgathright_ has joined the channel
[17:55] RylandAlmanza: ok, I'll try in a second. I'm having a bit of trouble logging into my shell. Thanks for the quick reply!
[17:56] madsleejensen has joined the channel
[17:56] piscisaureus___ has joined the channel
[17:59] metellus has joined the channel
[18:00] technoweenie has joined the channel
[18:01] liar has joined the channel
[18:01] mike5w3c has joined the channel
[18:01] boltR has joined the channel
[18:01] shykes_ has joined the channel
[18:02] jgornick has joined the channel
[18:04] patrickgamer has left the channel
[18:04] eldios has joined the channel
[18:06] iammerrick has joined the channel
[18:06] Manuel- has joined the channel
[18:07] DrHeiter23 has joined the channel
[18:07] dgathright has joined the channel
[18:08] ceej has joined the channel
[18:08] luizlopes has joined the channel
[18:08] DrHeiter23: if I have something like var userInfo = {}; http.createServer(function(req,res){ userInfo.name= // data from req obj res.write( // data from req obj) },8000); will there be a new userInfo object for each request or is there one global one that will be shared between requests?
[18:09] iammerrick has left the channel
[18:09] technoweenie has left the channel
[18:10] matehat: It will be shared
[18:10] stisti has joined the channel
[18:10] ayaz` has joined the channel
[18:10] matehat: you would have to put the "var" declaration inside the responder function
[18:10] matehat: if you wanted a new one for every request
[18:10] DrHeiter23: ok that's what I thought
[18:10] DrHeiter23: thanks
[18:10] tilgovi has joined the channel
[18:10] tilgovi has joined the channel
[18:11] saikat has joined the channel
[18:11] digman543 has joined the channel
[18:11] eddyb has joined the channel
[18:12] eddyb: isaacs: http://pastebin.com/xjcmXJ8q
[18:12] eddyb: trying to install calip.so
[18:12] eddyb: looks like it's outdated or something
[18:12] isaacs: eddyb: you have an outdated version of npm
[18:12] isaacs: ircretary: inst eddyb
[18:12] ircretary: eddyb: `curl http://npmjs.org/install.sh | sh` (or, if there are permission issues, you can try: `curl http://npmjs.org/install.sh | sudo sh`)
[18:13] RylandAlmanza: isaacs: Thanks! It worked!
[18:13] DrHeiter23: can I use jquery in node or should I use http module to make a request?
[18:13] Cev has joined the channel
[18:13] eddyb: scripts/clean-old.sh: line 146: read: read error: 0: Input/output error
[18:13] eddyb: Is this OK?
[18:13] isaacs: RylandAlmanza: great! now figure out why that env is getting set in the first place. maybe a .bashrc or something
[18:13] eddyb: enter 'yes' or 'no'
[18:13] eddyb: or 'show' to see a list of files
[18:13] eddyb: what on earth?
[18:13] isaacs: eddyb: you have outdated npm 0.x files kicking around
[18:13] eddyb: crap
[18:14] eddyb: I need to remove it with apt-get
[18:14] isaacs: not sure what the io error is about
[18:14] isaacs: eddyb: yes, apt-get has never installed npm 0.x correctly
[18:14] topaxi has joined the channel
[18:14] matehat: DrHeiter23 : you should use http library, I don't think jquery works in Node.js
[18:14] RylandAlmanza: isaacs: You're right again! lol, it was setting it in my .bashrc file
[18:15] isaacs: RylandAlmanza: it's all that spyware i installed on your computer when you installed npm
[18:15] RylandAlmanza: Damn, I knew it!
[18:15] matehat: jquery is probably bound to the browser's XMLHttpRequest object
[18:15] isaacs: ;P
[18:15] joshkehn has joined the channel
[18:16] isaacs: DrHeiter23 matehat: or use request, which makes jquery http stuff look super clumsy by comparison
[18:16] creationix|work has joined the channel
[18:16] eddyb: yay, installing
[18:16] isaacs: someFile.pipe(request.put(someUrl)).pipe(responseStream)
[18:16] eddyb: isaacs: thanks
[18:16] isaacs: w00t
[18:16] joshkehn has left the channel
[18:16] tjholowaychuk: jquery http stuff is clumsy
[18:16] tjholowaychuk: it's terrible
[18:17] DrHeiter23: isaacs ok will look into it, just trying to make a request to some API's for json data and/or scrape some pages for data
[18:17] eddyb: /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.4.5/libstdc++.a(functexcept.o): relocation R_X86_64_32 against `std::bad_typeid::~bad_typeid()' can not be used when making a shared object; recompile with -fPIC
[18:17] eddyb: /usr/lib/gcc/x86_64-linux-gnu/4.4.5/libstdc++.a: could not read symbols: Bad value
[18:17] eddyb: what on earth
[18:18] eddyb: please don't tell me debian is playing hard to admin again
[18:19] Ang3 has joined the channel
[18:19] jtrudeau has joined the channel
[18:20] qbit: anyone have good experience with node-postgres?
[18:20] chrislorenz has joined the channel
[18:20] guillermo has joined the channel
[18:22] DTrejo has joined the channel
[18:22] Danielpk: Noob question... with Express can i render a single HTML and pass variable to it?
[18:22] matehat: DrHeiter23: yeah this lib pretty darn good: https://github.com/mikeal/request
[18:22] DTrejo: matehat++
[18:22] v8bot_: DTrejo has given a beer to matehat. matehat now has 1 beers.
[18:24] heavysixer has joined the channel
[18:24] qbit: I am attempting to insert lotss of rows via a for loop ( for stuff in array { query( 'insert blablaba' ) } ) - but it's only getting the first insert done.. and then calling it good
[18:24] OneOfOne: Danielpk: check jqtpl, or if you really need just 1 variable you can always do something like fs.readFile('file.html', 'utf-8', function(data) { res.end(data.replace('{var}', myvar)); });
[18:24] hij1nx has joined the channel
[18:24] fennec has joined the channel
[18:24] RylandAlmanza has left the channel
[18:24] cognominal_ has joined the channel
[18:26] micheil has joined the channel
[18:27] sub_pop has joined the channel
[18:27] level09 has joined the channel
[18:27] N0va` has joined the channel
[18:27] Ned_ has joined the channel
[18:28] Pr1sm has joined the channel
[18:28] gut4 has joined the channel
[18:28] matehat: qbit: I guess some real code is needed here
[18:28] Me1000 has joined the channel
[18:28] erichynds has joined the channel
[18:29] reid has joined the channel
[18:29] hydrozen has joined the channel
[18:30] harthur has joined the channel
[18:30] qbit: matehat: k
[18:31] maushu has joined the channel
[18:32] ryan0x2 has joined the channel
[18:32] Hasan has joined the channel
[18:33] okCPU: if i use a buffer to encode a string with Base64, am i async or blocking?
[18:34] rootslab has joined the channel
[18:36] matehat: considering you're using http://bit.ly/oPJZLf, it'd be blocking for the time encoding the string
[18:37] Danielpk: can i render plain HTML with jade? i getting a error when file is plain html..
[18:37] tjholowaychuk: Danielpk: plain html is not a template
[18:37] tjholowaychuk: there's no reason to use the view system
[18:37] tjholowaychuk: use res.sendfile or similar
[18:38] Danielpk: tjholowaychuk: how i set a var at template then?
[18:38] tjholowaychuk: then it's not plain html
[18:38] tjholowaychuk: :p
[18:38] d0k_ has joined the channel
[18:38] tjholowaychuk: and you use a template engine
[18:38] AvianFlu_ has joined the channel
[18:38] qbit: matehat: http://sprunge.us/XiFb
[18:39] Danielpk: tjholowaychuk: hehe, ok i using express + jade.. but for now i wont convert my html to haml coz i wanna just test..
[18:39] infynyxx has joined the channel
[18:39] tjholowaychuk: Danielpk well use one of the other alternatives like ejs, mustache, etc
[18:39] c4milo1 has joined the channel
[18:39] Danielpk: tjholowaychuk: i will take a look.
[18:39] Danielpk: thx.
[18:39] tjholowaychuk: https://github.com/paularmstrong/swig
[18:39] tjholowaychuk: or maybe that one
[18:40] tjholowaychuk: if you want django-like templates
[18:40] AphelionZ has joined the channel
[18:40] Danielpk: tjholowaychuk: it will work... thx ;)
[18:40] gregpascale has joined the channel
[18:41] jocafa1 has joined the channel
[18:42] infynyxx has left the channel
[18:42] martin_sunset has joined the channel
[18:42] eddyb: isaacs: any chance you can explain me wtf happens when I type npm install X
[18:42] OneOfOne: Danielpk: try jqtpl
[18:42] eddyb: ?
[18:42] ohtogo has joined the channel
[18:43] isaacs: eddyb: http://npmjs.org/doc/install.html
[18:43] isaacs: eddyb: start there
[18:43] Danielpk: OneOfOne: i working with Swig right now.. i will take a look at jqtpl latter.. thx for tip ;D
[18:43] OneOfOne: Danielpk: np, jqtpl is a port of the jquery templates and very straight forward, https://github.com/kof/node-jqtpl
[18:44] Danielpk: nice one.. i will try it later.
[18:44] heavysixer has joined the channel
[18:44] Danielpk: it is my first app with node.js. so all tips are welcome.
[18:45] eddyb: isaacs: so if I'm working inside a package directory, it does its thing there?
[18:45] isaacs: eddyb: yessir.
[18:45] isaacs: eddyb: if you're doing a local install
[18:45] trose: does node js have a default timeout for http requests? if so how can i change it?
[18:45] eddyb: ok, how does node-waf work?
[18:46] eddyb: http://code.google.com/p/waf/
[18:46] jebberjeb has joined the channel
[18:46] eddyb: so, like... scons but not scons?
[18:46] jebberjeb: mmm, scons
[18:47] NeCkEr has joined the channel
[18:47] mattpardee has joined the channel
[18:48] HT has joined the channel
[18:48] heavysixer has joined the channel
[18:48] captain_morgan has joined the channel
[18:48] OneOfOne: trose: http://stackoverflow.com/questions/3586760/how-do-i-set-a-timeout-for-client-http-connections-in-node-js
[18:49] eddyb: I'm helpless
[18:49] eddyb: https://github.com/springmeyer/node-zipfile
[18:49] trose: hmmm so the design of node.js means I shouldn't have a request open longer than the default 60sec... what would be a good way to run a child-process that may take a while (2-20 min) and write back to the page once the child-process is done?
[18:49] eddyb: how do I add -fPIC to that ^^?
[18:49] AvianFlu_ has joined the channel
[18:49] eddyb: because it doesn't compile as it is
[18:49] DTrejo: ACTION seeing if he can test tons of npm modules on a 128mb no.de machine :)
[18:50] DTrejo: ACTION nooo! out of memory
[18:50] trose: can i have the child process trigger an event when it's stdout stream is done?
[18:50] springmeyer: eddyb: hey
[18:50] eddyb: springmeyer: oh, this would be better
[18:50] eddyb: so, your thing doesn't compile on debian x64
[18:50] springmeyer: eddyb: can you gist the error you are seeing? (or just create an issue at github page)
[18:50] trose: OneOfOne, thanks any idea on my extension to that question above?
[18:50] eddyb: [3/3] cxx_link: build/default/src/_zipfile_1.o build/default/src/node_zipfile_1.o -> build/default/_zipfile.node
[18:50] eddyb: /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.4.5/libstdc++.a(functexcept.o): relocation R_X86_64_32 against `std::bad_typeid::~bad_typeid()' can not be used when making a shared object; recompile with -fPIC
[18:50] eddyb: /usr/lib/gcc/x86_64-linux-gnu/4.4.5/libstdc++.a: could not read symbols: Bad value
[18:50] eddyb: nah, it's just three lines
[18:51] springmeyer: hmm, k, one sec
[18:51] captain__ has joined the channel
[18:52] Dav_ has joined the channel
[18:52] qbit: can anyone else give me some suggestions on this: http://sprunge.us/XiFb - the client() call inside the for loop is inserting one row.. but that's it.
[18:53] springmeyer: eddyb: are you setting any custom CFLAGS or CXXFLAGS?
[18:53] eddyb: springmeyer: I was hoping to build a demo site with calip.so this evening
[18:53] maletor_ has joined the channel
[18:53] eddyb: springmeyer: heh, tried to, no effect
[18:53] fzzzy: qbit: maybe try not doing the next insert call until you get a callback from the first one being done
[18:53] eddyb: the error is with a fresh clone
[18:53] slifty has joined the channel
[18:53] idklol has joined the channel
[18:53] springmeyer: eddyb: CXXFLAGS should be respected
[18:54] springmeyer: export CXXFLAGS='-fPIC'
[18:54] springmeyer: make clean
[18:54] Carter has joined the channel
[18:54] springmeyer: ./configure && make
[18:54] storrgie has joined the channel
[18:54] matehat: qbit: sorry was out to get some coffee
[18:54] qbit: hurray coffee! :D
[18:54] matehat: :P
[18:54] eddyb: springmeyer: why isn't that by default?
[18:55] olivier has joined the channel
[18:55] springmeyer: eddyb: generally the only default flags for node c++ modules are the ones node-waf passing through
[18:55] matehat: I think the 'end' event is never called, maybe because it's not a query that returns rows. Have you tried firing the next insert in the callback or .query itself?
[18:55] springmeyer: eddyb: does it fix your problem?
[18:56] eddyb: nope, doesn't fix
[18:56] avian__ has joined the channel
[18:56] eddyb: 18:56:42 runner system command -> ['/usr/bin/g++', 'default/src/_zipfile_1.o', 'default/src/node_zipfile_1.o', '-o', '/home/admin/calipso/node_modules/zipfile/build/default/_zipfile.node', '../deps/libzip-0.10/lib/.libs/libzip.a', '-lz', '-shared', '-L/usr/lib']
[18:56] eddyb: springmeyer: well, can't node-waf be forced a bit?
[18:56] eddyb: because it doesn't build like this on debian
[18:57] springmeyer: eddyb: not sure what you mean
[18:57] springmeyer: eddyb: use LINKFLAGS if you want to pass something to the linker
[18:57] matehat: qbit: your first insert, is it in "geometries" or "layers"?
[18:57] springmeyer: -fPIC is a compile flag not a linker flag if I recall
[18:57] addisonj has joined the channel
[18:57] DrHeiter23: if I call res.end() but there's still async calls going that will eventually write to DB, will they still get a chance to finish even though I have already sent my http response to client?
[18:57] wink_ has joined the channel
[18:57] matehat: qbit: the only one you say you're getting
[18:58] captain_morgan has joined the channel
[18:58] qbit: well.. the insert into "layers" is working and on the "end' of that query -= i am inserting into geometries
[18:58] qbit: and one row is going into geometries
[18:58] qbit: but that is it
[18:58] eddyb: springmeyer: same error, but this time -fPIC gets picked up
[18:58] idklol: Is anyone here a pro at using Node.js?
[18:59] eddyb: oh, wait
[18:59] eddyb: XD
[18:59] eddyb: springmeyer: the error is in libstdc++
[18:59] eddyb: /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.4.5/libstdc++.a(functexcept.o): relocation R_X86_64_32 against `std::bad_typeid::~bad_typeid()' can not be used when making a shared object; recompile with -fPIC
[18:59] springmeyer: eddyb: I'm aware of that
[18:59] springmeyer: I think your c++ lib is messed up
[18:59] springmeyer: eddyb: have you been able to compile any other C++ apps?
[19:00] eddyb: didn't try
[19:00] eddyb: this is a debian server
[19:00] eddyb: The following packages have been kept back: aptitude cpp cpp-4.4 dselect g++ g++-4.4 gcc gcc-4.4 gcc-4.4-base ghostscript libalgorithm-diff-xs-perl libapt-pkg-perl libauthen-pam-perl libc-bin libc-dev-bin libc6 libc6-dev libcairo2 libdbd-mysql-perl libdbi-perl libdigest-sha1-perl libgcc1 libgtk2.0-0 libgtk2.0-bin libio-pty-perl libldap-2.4-2 liblocale-gettext-perl liblockfile1 libmpfr4 libncurses5 libncursesw5 libnet-ssleay-perl libpam-modules libperl5.
[19:00] eddyb: 10 libreadline5 libreadline6 librsvg2-2 libsnmp15 libstdc++6-4.4-dev libterm-readkey-perl libtext-charwidth-perl libtext-iconv-perl libv8-dev libwmf0.2-7 locales man-db mount ncurses-bin nodejs nodejs-dev perl perl-base perl-modules python python-minimal unixodbc usbutils
[19:01] eddyb: sorry. anyway, time to fix this
[19:01] eddyb: yeah, gcc4.4->gcc4.6 using dist-upgrade
[19:02] githogori has joined the channel
[19:03] olivier has left the channel
[19:03] jj0hns0n has joined the channel
[19:03] idea-squirrel has joined the channel
[19:04] hij1nx has joined the channel
[19:04] murvin has joined the channel
[19:05] matehat: qbit: can you try probing the client.queryQueue like here : https://gist.github.com/1296362
[19:05] cnu_ has joined the channel
[19:05] addisonj has joined the channel
[19:05] Cev has joined the channel
[19:06] kurmangazy has joined the channel
[19:06] eddyb: isaacs: random idea: npm with -g and no root access should call sudo on itself :)
[19:07] murvin: i have written a simple middleware : var myFun = function() { return function myFun(req, res, next) { console.log("myFun"); next(); } } and i use express to create server and add it.. app.use(myFun());
[19:09] captain__ has joined the channel
[19:09] murvin: but,.. wheneveri make the call to the server, each http request will run myFun twice. e.g. the output will be "myFun" "myCall" "myFun" why is like that?
[19:09] murvin: so strange.
[19:09] gut4 has joined the channel
[19:12] qbit: matehat: looks like it's client._queryQueue - also it's listing all the inserts
[19:12] Me1000 has joined the channel
[19:12] qbit: this time 3 made it in :P
[19:12] kurmangazy: so ncp is faster than `cp -r`?
[19:13] arcanis has joined the channel
[19:13] qbit: oh wait - that oculd have been from previous attempts
[19:13] djbell has joined the channel
[19:13] ed8t has joined the channel
[19:14] qbit: yeah - totally was from previous attempts
[19:14] gopelaez has joined the channel
[19:14] matehat: what version of node-postgres are you using? (you'll see it in package.json)
[19:15] eldios has joined the channel
[19:15] qbit: 0.5.8
[19:15] matehat: try updating to latest (0.6.1), maybe it'll fix the problem
[19:16] boltR has joined the channel
[19:18] eddyb: springmeyer: thanks, working
[19:18] eddyb: I mean, I updated
[19:18] qbit: crap - nope :P
[19:18] qbit: same issue
[19:18] eddyb: my libs are old
[19:18] kurmangazy: if you mmap() a file in node.js, are the page faults blocking? or has node found a way to make that non-blocking?
[19:18] springmeyer: eddyb: cool
[19:19] MatthewS has joined the channel
[19:19] fmeyer has joined the channel
[19:20] wink_: kurmangazy: if the mmap is not being threaded, its gonna block
[19:21] qbit: huh - removing the_geom makes it work
[19:21] qbit: crap
[19:22] kurmangazy: wink_: true. but I wonder if there's a way to use the thread pool to do it from javascript
[19:22] tjholowaychuk has joined the channel
[19:22] wink_: kurmangazy: surely, just do the mapped io in the thread pool and callback into js
[19:22] brianc: qbit: i have a bit of experience with node-postgres
[19:23] kurmangazy: wink_: but do you have to write this C/C++ extension yourself?
[19:23] wink_: BrianTheCoder: just a little though right ;>
[19:23] wink_: kurmangazy: in this instance, yeah probably, i dont think node wraps that up for you
[19:23] qbit: :P i would hope
[19:23] brianc: :)
[19:23] wink_: i hate when nick completion sucks ;>
[19:23] brianc: qbit: you still having an issue? v0.6.x of node-postgres is the first minor version to support node v0.5.x and above
[19:23] bradleymeck: wink_ any page fault should block the whole process i thought
[19:23] qbit: brianc: i am still having an issue
[19:23] knifed has joined the channel
[19:23] qbit: on 0.4.12
[19:23] brianc: qbit: v0.6.x of node-postgres is full backwards compatible with node v0.4.x
[19:24] qbit: k
[19:24] brianc: qbit: what's the issue?
[19:24] wink_: bradleymeck: oh, that'd be a bit of a bitch ;>
[19:24] kurmangazy: bradleymeck: if you have kernel-level threads, then it shouldn't block all the threads, right?
[19:24] qbit: seems that http://sprunge.us/XiFb the insert in the for loop is not working when i have a geometry in it
[19:24] qbit: works fine when i exclude the geometry data
[19:25] bradleymeck: kurmangazy, ideally no, but threads might be sharing memory within a mutex so idk
[19:25] qbit: ( data is removed from that paste :P )
[19:25] smtlaissezfaire_ has joined the channel
[19:25] paulwe has joined the channel
[19:25] bradleymeck: redhat's pdf on async page faults seems to talk about them and AIX descheduling the process while paging
[19:25] wink_: mmap(2) doesnt specify the page fault behavior
[19:26] brianc: qbit: what error are you receiving?
[19:26] qbit: brianc: none
[19:26] wink_: although the fact that: Memory mapped by mmap() is preserved across fork(2), with the same attributes.
[19:26] qbit: it will insert one row ( usually )
[19:26] socialhack has joined the channel
[19:26] qbit: and not spit errors
[19:26] wink_: that doesnt sound like good news
[19:26] qbit: if i remove the_geom from the query.. it works fine
[19:27] mikeric has joined the channel
[19:27] kurmangazy: wink_: if you're looking for the answer in man pages, it would probably be somewhere in the pthreads docs
[19:27] qbit: but - client._queryQueue lists everything like one would expect
[19:27] qbit: even with the_geom
[19:28] jetienne has joined the channel
[19:28] whse has joined the channel
[19:28] CrisO has joined the channel
[19:28] whse: Looks like ArchLinuxARM may have gotten the right settings for getting node to build correctly on ARM
[19:29] brianc: qbit: can you try adding a callback parameter to the queries in the for loop and see if the callback gets called?
[19:30] devaholic has joined the channel
[19:30] cjm has joined the channel
[19:31] randy- has joined the channel
[19:31] qbit: brianc: i did - gets called once
[19:32] brianc: qbit: the only thing I can think of is the st_geometryfromtext function is somehow making things act funny
[19:32] kurmangazy: I've thought about rewriting apt/synaptic to be more efficient. I think you could easily see a 10-100x speedup, so you could browse for packages without bogging down. node.js could throw in more benefits, but I think the I/O should be mmap'd, so that may defeat some of those benefits of node.js
[19:32] qbit: k
[19:32] brianc: qbit: after the first callback is called, the client._queryQueue contains the remaining queries, but not the dispatched on?
[19:32] wink_: kurmangazy: http://oss.oetiker.ch/rrdtool/forum.en.html#nabble-td5391727 looks like bradley might be correct if that guy is right
[19:32] qbit: mm - have to check
[19:32] brianc: s/on/one
[19:32] another_syrio has joined the channel
[19:33] V1 has joined the channel
[19:33] zmbmartin: When I enter the host in the mysql npm package do I just enter the ip address of the computer that has the mysql server? I am getting a error that my linode is not allowed to connect to that server.
[19:33] brianc: qbit: you might also try: `client.query("SELECT st_geometryfromtext($1, 4326)", function(err, res) { console.log(res) }")` in a loop to see what you get there
[19:33] jefftrudeau has joined the channel
[19:33] garrensmith has joined the channel
[19:33] Alexanderrrrrr has joined the channel
[19:34] brianc: qbit: in the code I just typed to you I included 1 too many quotation marks. apologies.
[19:34] creationix has left the channel
[19:34] Alexanderrrrrr: anyone else having trouble with npm.mape.me website. There aren't any packages shown (tested FF and Chrome)?
[19:34] boltR has joined the channel
[19:34] `3rdEden has joined the channel
[19:34] brianc: client.query("SELECT st_geometryfromtext($1, 4326)", function(err, res) { console.log(res); });
[19:34] qbit: k
[19:35] mape: Alexanderrrrrr: yeah I should just redirect that to search.npmjs.org
[19:35] whse: Alexanderrrrrr: nada.
[19:35] bradleymeck: wink_, kurmangazy : not the latest but, http://blogs.technet.com/b/askperf/archive/2008/06/10/the-basics-of-page-faults.aspx
[19:35] qbit: k, so the queue starts out with the # of rows i want to insert, and after the callback is called the queue length is -1
[19:35] qbit: will try to select the geom
[19:35] kurmangazy: wink_: it looks like no one answered that guy
[19:36] wink_: true, but it sure doesnt look good :P
[19:37] Alexanderrrrrr: mape: thank you
[19:37] martin_sunset has joined the channel
[19:38] kurmangazy: if there's anything the kernel could be doing better to help node.js, hopefully Linus will get on it
[19:38] brianc: qbit: also add `client.on('drain', function() { console.log('client drained. remaining: %d', client._queryQueue.length); });` <-- client should never drain if _queryQueue.length > 0
[19:39] brianc: qbit: final note...you're missing a closing parenthesis in your code example in the for loop query VALUES clause
[19:39] qbit: k
[19:39] StanlySoManly has joined the channel
[19:39] eddyb: ok, so, calipso is pretty useless from what I can see :S
[19:40] isaacs: pquerna: hey, are you using sax-js for anything?
[19:40] nadirvardar has joined the channel
[19:40] mikeric has joined the channel
[19:40] bradleymeck: kurmangazy built in async IO thats closer to device drivers :)
[19:41] kurmangazy: bradleymeck: I don't see anything in that windows article that specifically refers to kernel threads
[19:42] bradleymeck: process thread
[19:43] BillyBreen has joined the channel
[19:43] bradleymeck: s/process/program/
[19:43] Renegade001 has joined the channel
[19:43] keeto has joined the channel
[19:43] whse has left the channel
[19:43] kurmangazy: isaacs: I tried running the pretty-print example in sax-js on a large XML file and it started behaving pathologically. In my naivete about node.js, I blamed the parsing, but it's actually the way it's using sys.print() for output.
[19:44] n8ji has joined the channel
[19:44] isaacs: kurmangazy: i see
[19:44] kurmangazy: bradleymeck: that sounds to me like it's assuming there is only one program thread
[19:44] isaacs: can you be more specific about "pathologically"?
[19:44] bradleymeck: kurmangazy, i assume that program thread means the thread manager's idea of what a program is
[19:45] eddyb: really, do I have an option when it comes to node.js-based CMS?
[19:45] eddyb: it doesn't look like it
[19:45] kurmangazy: isaacs: It became extremely slow and used 100% of the cpu. I think the print()s were failing millions of times a second because the kernel buffer was full
[19:45] isaacs: i see
[19:45] harthur has joined the channel
[19:46] isaacs: kurmangazy: sax-js blows through the input pretty fast.
[19:46] isaacs: it's not doing a lot
[19:46] isaacs: kurmangazy: if you took out the sys.prints (or piped to a file or something) then it might be better.
[19:46] maushu has joined the channel
[19:47] kurmangazy: isaacs: I changed it to spool the output in one big string and do a fs.write() at the end, and it performs brilliantly. but even better would be to inter-leave input and output
[19:47] isaacs: kurmangazy: then just don't write so much at once :)
[19:47] isaacs: if you use the stream, you can stream from a long-running input to an output stream
[19:48] Me1000 has joined the channel
[19:48] isaacs: i guess you still need to listen to the opentag and text events and such
[19:48] sirdancealot has joined the channel
[19:49] kurmangazy: isaacs: huh? my understanding of node's apis is still rudimentary, but I think the problem is that each print() generates a syscall. so the script needs to do some sort of buffering
[19:49] tylerstalder has joined the channel
[19:49] jbpros has joined the channel
[19:49] whse has joined the channel
[19:49] mcluskydodallas has joined the channel
[19:49] TomY has joined the channel
[19:49] whse: Anyone ever seen this kinda of test failure? "AssertionError: "Sun, 14 Feb 2010 11:33.99993896484375:40 GMT" == "Sun, 14 Feb 2010 11:48:40 GMT""
[19:50] isaacs: kurmangazy: it depends on how big your xml file is
[19:50] isaacs: i guess
[19:50] zmbmartin has left the channel
[19:50] isaacs: whse: looks like you're asserting a date
[19:50] whse: we were building node 0.4.12 on ARM and only 1 test failed, which was that.
[19:50] whse: it was in the tests
[19:50] isaacs: orly
[19:50] isaacs: hm. seems odd.
[19:50] kurmangazy: isaacs: I'm sure that example wasn't really intended to scale. but it wasn't obvious to me.
[19:51] kurmangazy: isaacs: it definitely depends on the size of the XML file. that tiny one that's included doesn't trigger the problem in any significant way
[19:51] isaacs: ugh, this example is old
[19:52] baudehlo: I think you get similar problems if you just do console.log() in a loop.
[19:53] kurmangazy: isaacs: "if you took out the sys.prints (or piped to a file or something)" <-- actually, I was piping (or redirecting) to a file
[19:53] piscisaureus___ has joined the channel
[19:53] erichynds has joined the channel
[19:53] isaacs: i see
[19:53] isaacs: yeah, it should be using an input stream for the file, and piping to stdout
[19:53] isaacs: through a saxstream
[19:54] isaacs: or something
[19:54] tjholowaychuk has joined the channel
[19:54] Migaaresno has joined the channel
[19:54] isaacs: somehow so that the input file gets paused when the output can't be written fully
[19:54] isaacs: then resumed with the output drains
[19:54] kurmangazy: what's a saxstream? something yet-to-be-written?
[19:54] isaacs: kurmangazy: sax.SAXStream class
[19:54] isaacs: it's a proper event emitter
[19:54] kurmangazy: isaacs: right. that's exactly my thoughts.
[19:55] stagas has joined the channel
[19:55] isaacs: ss.on("opentag", function (tag) { ... })
[19:55] isaacs: ss = new SAXStream(); inputFile.pipe(ss)
[19:55] markwubben has joined the channel
[19:56] kurmangazy: isaacs: that only takes care of the input side of things
[19:56] isaacs: kurmangazy: right
[19:56] Determinist has joined the channel
[19:56] bradleymeck: kurmangazy, seems it varies according some posix guys, but most modern ones will only block 1 thread in the program
[19:57] kurmangazy: bradleymeck: that's what I was thinking/hoping would be true
[19:57] MatthewS has joined the channel
[19:57] bradleymeck: but its not guaranteed, and a significantly hard problem to work around in a single threaded situation
[19:58] kurmangazy: bradleymeck: I wouldn't expect a solution without multiple kernel threads
[19:58] maletor has joined the channel
[20:00] xicubed has joined the channel
[20:00] DTrejo has joined the channel
[20:01] pid_ has joined the channel
[20:01] eddyb: anyone knowing anything about calipso?
[20:01] eddyb: I can't get it to work properly
[20:02] Brandon_R has joined the channel
[20:02] Ang3 has joined the channel
[20:03] kurmangazy: isaacs: all you have to do to replicate the problem is to find a relatively large XML file and `node pretty-print.js file.xml > file_pretty.xml`
[20:03] Brandon_R: hi issacs
[20:03] Brandon_R: how's npm on windows
[20:04] perezd has joined the channel
[20:04] hwinkel1 has joined the channel
[20:06] randy- has joined the channel
[20:06] hij1nx has joined the channel
[20:07] zmbmartin has joined the channel
[20:07] whse: isaacs: it is failing test/simple/test-sys.js @ //Dates with properties
[20:07] bnoordhuis has joined the channel
[20:07] mc_greeny has joined the channel
[20:09] mmalecki has joined the channel
[20:10] stagas has joined the channel
[20:10] pquerna: isaacs: yes, node-elementreee uses it
[20:10] isaacs: pquerna: i just changed the way that namespace bindings are exposed, on version 0.3.0
[20:11] pquerna: Kami_: ^^
[20:11] isaacs: pquerna: the main difference is that there's a tag.ns object, which is the set of { prefix: "url" } bindings
[20:11] randy- has joined the channel
[20:11] isaacs: rather than having a "bindings" member that is a list of { prefix: [url, url, url] } stacks
[20:12] isaacs: Kami_: ^
[20:13] Kami_: pquerna, isaacs yeah, I just listened to the podcast today while cycling so I'm aware of it :P
[20:13] EriksLV has joined the channel
[20:13] isaacs: awesome!
[20:13] CIA-48: node: 03Ryan Dahl 07 * rd77ce4b 10/ (4 files in 3 dirs):
[20:13] CIA-48: node: Fixes #1860. Remove process.writeError
[20:13] CIA-48: node: Breaks a few tests in "make test-message" - http://git.io/DcE35A
[20:13] Kami_: isaacs, pquerna i'll look at the changes soon, thanks :)
[20:14] bnoordhuis has left the channel
[20:16] whse: isaacs: looks like that simple/test-sys.js is failing on Date.. just doing var value = new Date(); value.toString(); shows why:" 'undefined Feb 14 2010 07.1708727e-317:60:40 GMT-0500 (EST)' "
[20:16] isaacs: whse: what platform?
[20:16] caolanm has joined the channel
[20:16] whse: ARM
[20:17] isaacs: whse: looks like a v8 bug
[20:17] isaacs: i dunno
[20:17] dgathright has joined the channel
[20:18] whse: hmm interesting
[20:18] whse: this: new Date('Sun, 14 Feb 2010 11:48:40 GMT') is an error
[20:18] Morkel has joined the channel
[20:18] whse: but just var v = new Date(); v.toString() .. is not.
[20:19] linkgoron_ has joined the channel
[20:19] wink_: whse: what libc is your arm linux running?
[20:19] whse: lol, but a second toString breaks it !
[20:20] whse: gcc 4.6.1, glibc 2.14
[20:21] wink_: well that isnt it then :p, i've only ever seen uclibc running on arms
[20:22] whse: first use = works.. seoncd use, becomes unstable.
[20:23] owenb_ has joined the channel
[20:23] magnetik__ has joined the channel
[20:23] whse: ArchLinuxARM isn't as limited as most debian based ARM linuxes
[20:23] mmalecki: use Fedora ARM
[20:23] mmalecki: I've compiled node.js under it
[20:23] mmalecki: works just fine
[20:24] wink_: whse: you could always instrument v8 to see whats going on
[20:24] whse: mmalecki: I'd have to re-install a SHIT tone of arm plugs
[20:24] whse: wink_: greek to me, what?
[20:24] cjm has joined the channel
[20:24] jebberjeb has joined the channel
[20:24] kriszyp has joined the channel
[20:24] pizthewiz has joined the channel
[20:24] jaequery has joined the channel
[20:24] shanebo has joined the channel
[20:24] onre has joined the channel
[20:24] aliem has joined the channel
[20:24] kraft has joined the channel
[20:24] bikcmp has joined the channel
[20:24] Swizec has joined the channel
[20:24] descipher has joined the channel
[20:24] azeroth_ has joined the channel
[20:24] Bergle_1 has joined the channel
[20:24] a11235 has joined the channel
[20:24] CarterL has joined the channel
[20:25] wink_: whse: a bunch of printf's in the v8 source to figure out whats going wrong :p
[20:25] whse_ has joined the channel
[20:25] wink_: whse: a bunch of printf's in the v8 source to figure out whats going wrong :p
[20:26] whse_: egads, uhk
[20:26] zemanel has joined the channel
[20:26] maletor has joined the channel
[20:27] wink_: whse: run this from a shell: /lib/libc.so.6
[20:27] piscisaureus_ has joined the channel
[20:27] wink_: or ldd --version will work
[20:28] whse_: again.. 2.14
[20:28] jgornick has joined the channel
[20:29] Wizek has joined the channel
[20:29] wink_: well, time to instrument v8 then :p
[20:29] whse_: "Compiled by GNU CC version 4.6.1. Compiled on a Linux 2.6.39 system on 2011-07-01."
[20:29] whse_: probably something around http://marcorogers.com/blog/static/v8/doxygen/classv8_1_1Date.html
[20:30] wink_: yeah, thats definitely where i'd start looking
[20:31] davidascher has joined the channel
[20:31] NetRoY has joined the channel
[20:32] Kunda has joined the channel
[20:33] naquad has joined the channel
[20:34] whse_: which v8 version is node 0.4.12 run against
[20:36] vereteran has joined the channel
[20:36] ryah: whse_: node -e "console.log(process.versions.v8)"
[20:37] whse_: ty
[20:38] pfried has joined the channel
[20:38] pfried has left the channel
[20:40] hellp has joined the channel
[20:41] murvin: a general question.. I have a log server. and I send log using the ain2 logger module. Should I send log for every request immediately? or should I make my own queuing system to send logs in batch?
[20:41] EyePulp: anyone using mustache under node? The docs for the one I'm using seem at odds with the source. Just trying to get simple stuff working.
[20:42] dmwuw has joined the channel
[20:42] slifty_corsair has joined the channel
[20:44] whse_: 3.1.8.26 btw
[20:45] dreamdust has joined the channel
[20:46] whse_: isaacs: ryah : Interesting ~ although you might not have any issues - var a = new Date(); var b = new Date(); a.toString(); -- jibberish
[20:46] whse_: Definately something screwy in that objects.
[20:46] brianc: EyePulp: I'm using it
[20:47] brianc: EyePulp: what you trying to get working?
[20:48] ryah: whse_: ?
[20:48] ryah: % node
[20:48] ryah: > var a = new Date()
[20:48] ryah: > var b = new Date()
[20:48] ryah: > a.toString()
[20:48] ryah: 'Tue Oct 18 2011 13:48:23 GMT-0700 (PDT)'
[20:49] aguynamedben has joined the channel
[20:50] Cev_ has joined the channel
[20:51] whse_: http://pastie.org/private/s5kaw6g6d8yvazuthmdang example ryah
[20:53] lost|soul has joined the channel
[20:53] lost|soul: hi
[20:53] jhurliman: does anyone have recommendation for a cloud hosting service where i can deploy lots of small experimental node.js apps very quickly?
[20:53] brianc: jhurliman: linode
[20:53] jhurliman: thanks, i'll check it out
[20:53] lost|soul: i can't seem to install anything successfully via npm :(
[20:53] ryah: whse_: what version?
[20:54] whse_: node v0.4.12 v8 3.1.8.26
[20:54] whse_: on ARM
[20:54] whse_: gcc 4.6.1, glibc 2.14
[20:55] jhurliman: brianc, ideally, i'd like a PaaS provider with node support where i can push some code and it goes live without setting up my own software stack / deployment pipeline / etc. would linode fit that?
[20:55] brianc: jhurliman: no
[20:55] isaacs: jhurliman: you seen no.de? it's open to the public
[20:55] mraleph: whse_: try building debug build (or release build with opts disabled)
[20:55] jhurliman: isaacs, looking now
[20:56] mraleph: whse_: whats your cpu?
[20:56] mraleph: whse_: does it support vfp3?
[20:56] whse_: mraleph: armv5te, softfp
[20:57] whse_: we also built on a trimslice, and it had the same problem
[20:57] deedubs has joined the channel
[20:57] whse_: armv7-a cortex a8, w/ vfp3, neaon
[20:57] DrHeiter23: is there something I can use in node that's similar to php's "include" so I can cleanup my code a bit?
[20:57] mraleph: strange
[20:57] whse_: DrHeiter23: require
[20:57] _kud has joined the channel
[20:57] brianc: DrHeiter23: require
[20:57] whse_: mraleph: indeed.
[20:58] brianc: DrHeiter23: I suggest reading the documentation at nodejs.org if you haven't already done so
[20:58] whse_: the question I end up with is, I got a log if va_list mangling has changed after gcc 4.4 ..
[20:58] DrHeiter23: can it be used inside of a function? ok will do, though I had some trouble loading it earlier..kept going back to the home page
[20:59] ryah: whse_: strange
[20:59] whse_: ryah: agreed.
[20:59] liar has joined the channel
[20:59] ryah: whse_: can you strace it?
[20:59] whse_: forgive me, but.. how
[20:59] topaxi: DrHeiter23: read this ;) http://nodejs.org/docs/v0.4.12/api/modules.html
[21:00] brianc: whse_: http://linux.die.net/man/1/strace
[21:00] brianc: whse_: strace node .js
[21:01] whse_: ACTION yoinks strace
[21:01] adambeynon has joined the channel
[21:01] brianc: it's a pretty bodacious utility
[21:02] whse_: fwoosh goes my screen.
[21:02] coltr: rf111now
[21:03] spicycode has left the channel
[21:03] ryah: whse_: you should be able to output the stuff to a file
[21:03] sirdancealot has joined the channel
[21:04] whse_: doing so
[21:04] whse_: ~86k
[21:04] mraleph: my hypothesis would be that code for BinaryOpICs is somehow borked.
[21:05] mraleph: so it computes some strange things.
[21:05] mraleph: can you run some simple tests for me whse_?
[21:06] enos_feedler has joined the channel
[21:06] mraleph: let me gist a simple script
[21:07] whse_: ryah: et al: http://my.pogoplug.com/share/vArHUudFPhMW8MZGCEDcIA/
[21:07] whse_: node-v0.4.12-ARM-gcc-4.6.1-glibc-2.14.tgz
[21:07] whse_: contains strace.log & node.log
[21:07] fatjonny has joined the channel
[21:08] ohtogo has joined the channel
[21:08] whse_:
[21:08] Iszak has joined the channel
[21:09] addisonj has joined the channel
[21:09] whse_: have to go
[21:10] fangel has joined the channel
[21:11] mraleph: ah
[21:11] mraleph: it is sad the he went away
[21:11] maushu has joined the channel
[21:12] mraleph: https://gist.github.com/1296736 we should have started minimizing from that...
[21:12] CIA-48: libuv: 03Frank Denis 07 * re8a418e 10/ include/uv.h : Fix pasto: uv_udp_recv_start() receives a UDP datagram, it doesn't send data. - http://git.io/yROX-w
[21:12] strevat has joined the channel
[21:13] kulor-uk has joined the channel
[21:14] jhurliman: http://no.de/ is great. wondering if i'm going to receive a bill at the end of the month though now, hah :)
[21:16] boltR has joined the channel
[21:17] murvin: which one is more light weight? appending data to the local file system, or send UDP through socket to remote server?
[21:17] Iszak: Anyone know of a web spider and HTML parser for node.js?
[21:18] murvin: parse to json?
[21:18] murvin: i see there is a 'spider' moduel in npm
[21:19] springmeyer_ has joined the channel
[21:20] kylefox has joined the channel
[21:22] Iszak: murvin, yeah i know I can look through npm just wanted to know if there any recommended / proven means.
[21:24] brianc: Iszak: I don't know of a spider, but I've used jsdom for parsing for great good
[21:24] catshirt has joined the channel
[21:24] boltR has joined the channel
[21:24] TheJH: !@Iszak npm search spider
[21:24] jhbot: Iszak, package crawler: Crawler is a web spider written with Nodejs. It gives you the full power of jQuery on the server to parse a big number of pages as they are downloaded, asynchronously.
[21:24] jhbot: Iszak, package spider: Programmable spidering of web sites with node.js and jQuery
[21:24] jhbot: Iszak, package spider-tdd: Dead simple test-driven-development framework.
[21:25] murvin: Iszak: I have use jdom. it is good. but dunno about which spider is good..
[21:25] chia has joined the channel
[21:25] Iszak: yeah will take a look at jsdom
[21:26] Iszak: could I just not use a dom fragment and then query query select all..?
[21:26] another_syrio: Anyone can think of a reason to why when an external program runs node with a relative path (to the current folder a-la "node script.js"), the node process just hangs in there without running the script (the script seems to exist in the current directory) but everything (obviously) works with an exact path?
[21:27] mmalecki has joined the channel
[21:27] devongovett has joined the channel
[21:27] brianc: another_syrio: your external program's cwd isn't what you think?
[21:28] another_syrio: I added process.cwd() to the script and gave the external program the exact path and it's what I think it is..
[21:29] another_syrio: But shouldn't node just exit upon not finding the script?
[21:29] versicolor has joined the channel
[21:31] Renegade001 has joined the channel
[21:32] CIA-48: node: 03Ryan Dahl 07 * r5783a52 10/ (12 files in 3 dirs):
[21:32] CIA-48: node: Remove process.memoryUsage().vsize
[21:32] CIA-48: node: Not meaningful cross platform; unused. - http://git.io/knOhww
[21:33] aliem has joined the channel
[21:36] saesh has joined the channel
[21:37] _unary has joined the channel
[21:40] jgornick has joined the channel
[21:41] paulwe has joined the channel
[21:42] Sorella has joined the channel
[21:43] Carter has joined the channel
[21:43] jetienne has joined the channel
[21:44] kenperkins: ben you here?
[21:44] kenperkins: Ben Noordhuis that is
[21:44] joshgillies has joined the channel
[21:45] boltR has joined the channel
[21:45] jsurfer has joined the channel
[21:45] brianc has joined the channel
[21:48] mmalecki: kenperkins: he goes by bnoordhuis, but ht isn't here
[21:48] mmalecki: *he
[21:48] kenperkins: rgr
[21:48] kenperkins: how imminent is 0.6x stable?
[21:49] mmalecki: oh-way-too-close
[21:49] mmalecki: should be matter of few weeks, I think
[21:50] mjr_ has joined the channel
[21:50] lmorchard has joined the channel
[21:51] Arckex has joined the channel
[21:51] Aikar: the due date on GH was a few days ago :P
[21:52] Raul_ has joined the channel
[21:53] stelleg has joined the channel
[21:53] lost|soul has left the channel
[21:54] kenperkins: mmalecki: weeks is no imminent :)
[21:54] kenperkins: not rather
[21:54] kenperkins: ACTION has a memcached bug in production manifested 938 :P
[21:54] kenperkins: manifesting from 938 rather
[21:55] saikat has joined the channel
[21:55] kjhujoi has joined the channel
[21:55] ngs has joined the channel
[21:57] colinclark_ has joined the channel
[22:01] boltR has joined the channel
[22:02] CIA-48: node: 03Ryan Dahl 07 * rdbfc819 10/ (11 files in 3 dirs): Upgrade GYP to r1078 - http://git.io/BvTaeA
[22:03] bradleymeck has joined the channel
[22:03] colinclark has joined the channel
[22:04] DTrejo has joined the channel
[22:05] stagas has joined the channel
[22:05] jetienne has joined the channel
[22:06] TheJH: https://github.com/joyent/node/pull/1903 "+Edit: What's the problem anyway? There're no functional changes." goddamn, it looks bad as hell!
[22:06] TheJH: rage
[22:06] pandeiro has joined the channel
[22:08] boltR has joined the channel
[22:09] zackattack has joined the channel
[22:09] kjhujoi has left the channel
[22:12] versicolor has joined the channel
[22:13] coltr has joined the channel
[22:13] CIA-48: node: 03Ryan Dahl 07 * r6cc0c9e 10/ lib/net.js :
[22:13] CIA-48: node: Remove superfluous nextTick during server binding
[22:13] CIA-48: node: This breaks fork().send({}, server._handle) after server.listen() because
[22:13] CIA-48: node: server._handle is not set. - http://git.io/JOg9gQ
[22:13] another__ has joined the channel
[22:15] whse has joined the channel
[22:16] whse: ryah: any ideas on that strace?
[22:16] innociv_ has joined the channel
[22:16] whse: mmalecki: or you?
[22:17] brianc: TheJH: I like it when tj types 'lololol' at things
[22:17] ryah: whse: paste me the strace
[22:18] whse: I uploaded it and the node output n a tgz, but give me a few minutes..
[22:20] te-brian2 has joined the channel
[22:20] nerdy_ has joined the channel
[22:20] whse: grr.. too big to get out of my chromebooks ssh seesion.
[22:20] jscheel has joined the channel
[22:20] jscheel has joined the channel
[22:22] nroot7 has joined the channel
[22:22] mattp_ has joined the channel
[22:23] isaacs has joined the channel
[22:23] DrHeiter23 has left the channel
[22:24] nroot7: I have couple of rest end points in my node js application and I want them to authenticate before they service any request. Searching for this it seems one way could be that it return a 407 with some url to authenticate, get the cookie information and then redo the request. Is this the way its done ? Are there any node js gems for this already ?
[22:25] pieterv has joined the channel
[22:27] ppcano has joined the channel
[22:27] tjholowaychuk has joined the channel
[22:28] paulwe has joined the channel
[22:29] WarheadsSE has joined the channel
[22:30] WarheadsSE: ryah http://pastebin.com/zQmYQp0y
[22:30] brianseeders has joined the channel
[22:30] brianc: whse: is that pastebin of the strace for the entire test suite?
[22:31] whse: no, not the entire test auite.
[22:31] brianc: whse: TON of cacheflush calls in there
[22:32] brianc: whse: oh was this from the repl?
[22:32] brianc: whse: nevermind I'm dumb. shutting up now.
[22:32] whse: actually, no
[22:32] lyte has joined the channel
[22:32] lyte has joined the channel
[22:32] brianc: whse: yeah saw this after I asked: open("/media/local/pkgs/nodejs/src/node-v0.4.12/build/default/date.js", O_RDONLY|O_LARGEFILE) = 5
[22:33] whse: :p
[22:34] whse: turned off swap, same 86k size.
[22:34] whse: this arm plug only has 128MB of ram
[22:35] shykes_ has joined the channel
[22:35] zeade has joined the channel
[22:36] konobi: reminds me that I need to get node installed on my dreamplug
[22:37] whse: this is on a pogoplug pro, meaning: PLX oxnas 7820 750mhz dual core armv6, armv5te binary
[22:38] whse: but we got the same results on a trimslice armv7 cortex a8
[22:39] Lorentz: So anyone get nodejs working on a phone by now
[22:39] Lorentz: considering there's arm compiles
[22:39] enmand has joined the channel
[22:39] konobi: Lorentz: Palm WebOS
[22:42] amigojapan has joined the channel
[22:42] jellosea has joined the channel
[22:42] jellosea: is the var keyword required by node ?
[22:43] bradleymeck: jellosea its got the same semantics as javascript, if you dont use var you are talking about a global
[22:43] jellosea: okay thanks
[22:43] bradleymeck: Lorentz google "nodejs android" and it brings up several examples
[22:44] jesusabdullah: cool C:
[22:44] jesusabdullah: I mean, that you can run node on your droid now
[22:45] thepatr1ck has joined the channel
[22:45] thurmda1 has joined the channel
[22:47] murilobr has joined the channel
[22:47] mmalecki: I did it before it was cool
[22:49] jgornick has joined the channel
[22:49] hij1nx has joined the channel
[22:50] Xano has joined the channel
[22:52] Venom_X has joined the channel
[22:52] [[zz]] has joined the channel
[22:52] socketio\test\47 has joined the channel
[22:54] codepilot has joined the channel
[22:54] codepilot: in node 5.9 for windows, can I use binary extensions?
[22:55] codepilot: *0.5.9
[22:55] jamesd has joined the channel
[22:56] mmalecki: codepilot: no, but it's already in master, iirc
[22:57] codepilot: I'll git the master and try it out, thanks
[22:59] c4milo1 has joined the channel
[23:00] paul_k has joined the channel
[23:02] k1ttty has joined the channel
[23:03] AAA_awright has joined the channel
[23:03] bronson has joined the channel
[23:03] whse has joined the channel
[23:04] whse: so no ideas even with the strace huh guys
[23:04] Arckex has joined the channel
[23:05] sonnym has joined the channel
[23:06] brianc has joined the channel
[23:07] zemanel has joined the channel
[23:08] codepilot: master still has dlopen inside #ifdef __POSIX__, and so it doesn't get exported and no native extensions for windows
[23:09] codepilot: Am I looking in the wrong place, https://github.com/joyent/node/
[23:09] n8ji has joined the channel
[23:09] NetRoY has joined the channel
[23:10] jocafa: async unit testing hurts the brainmeats sometimes.
[23:12] CIA-48: node: 03Ryan Dahl 07 * rd9bc845 10/ test/simple/test-c-ares.js : Fix test-c-ares.js on Windows by disabling PTR test - http://git.io/2V1raA
[23:12] nibblebo_ has joined the channel
[23:15] boltR has joined the channel
[23:16] CarterL has joined the channel
[23:17] cafesofie has joined the channel
[23:18] devongovett has joined the channel
[23:19] dgathright has joined the channel
[23:19] mikeric has joined the channel
[23:19] erichynds has joined the channel
[23:19] jarek has joined the channel
[23:20] jacobolus has joined the channel
[23:20] Salve has joined the channel
[23:21] jocafa: anyone super handy with jasmine?
[23:21] SubStack: jocafa: better: http://testling.com/
[23:22] jocafa: tempting, but no can do with this project
[23:24] nibblebot has joined the channel
[23:24] Carter has joined the channel
[23:25] fzzzy has joined the channel
[23:30] qbit: has anyone experienced utf8string lobbing off the ends of really long strings?
[23:30] jm has joined the channel
[23:30] StanlySoManly has joined the channel
[23:31] jamesd has joined the channel
[23:32] hkjels_ has joined the channel
[23:39] zemanel has joined the channel
[23:40] jarek- has joined the channel
[23:43] JohnBeales has joined the channel
[23:44] cronopio has joined the channel
[23:45] fzzzy has joined the channel
[23:46] libScout has joined the channel
[23:50] hostsamurai has joined the channel
[23:50] Corren has joined the channel
[23:51] dreamdust has joined the channel
[23:51] Murph_ has joined the channel
[23:52] AvianFlu has joined the channel
[23:53] jhurliman: isaacs, is there any workaround to getting req.socket.remoteAddress working on no.de?
[23:53] isaacs: jhurliman: look at req.headers['x-forwarded-for']
[23:53] lsdafjklsd has joined the channel
[23:53] jhurliman: ty
[23:53] isaacs: jhurliman: it's behind a proxy
[23:54] SubStack: speaking of which!
[23:54] SubStack: I should hack on bouncy tonight
[23:54] isaacs: req.headers['x-forwarded-for'] = req.connection.remoteAddress || req.connection.socket.remoteAddress;
[23:54] isaacs: req.headers['x-forwarded-port'] = req.connection.remotePort || req.connection.socket.remotePort;
[23:54] isaacs: req.headers['x-forwarded-proto'] = req.connection.pair ? 'https' : 'http';
[23:54] DTrejo: SubStack: have you done a speed test vs node-http-proxy?
[23:54] SubStack: DTrejo: yes
[23:54] SubStack: bouncy is faster
[23:54] jesusabdullah: also demonstrated with http://whatismyip.nodejitsu.com with node-http-proxy
[23:54] DTrejo: cool
[23:54] SubStack: not by much but a little bit
[23:54] jesusabdullah: also, the fact that bouncy is faster is unsurprising
[23:54] apoc has joined the channel
[23:54] isaacs: SubStack: you add those x-forwarded-* headers by default now in bouncy, yes?
[23:54] DTrejo: b/c it is simpler?
[23:54] SubStack: isaacs: correct
[23:54] catshirt has joined the channel
[23:55] isaacs: SubStack: you should also add X-Real-IP
[23:55] jesusabdullah: Yeah DTrejo, bouncy works at the net module-level while http-proxy makes use of the http module
[23:55] SubStack: for whycome?
[23:55] isaacs: SubStack: which is basically x-forwarded-for, except if there's already an x-real-ip, you can trust it.
[23:55] SubStack: bouncy uses http too but only for parsing
[23:55] isaacs: SubStack: so that you can stack proxies, and found out who the real ip was.
[23:55] SubStack: aha
[23:55] isaacs: SubStack: since x-forwarded-for will be overwritten at each hop
[23:55] SubStack: excellent idea
[23:55] jesusabdullah: SubStack: Right!
[23:56] jesusabdullah: httpparser directly, right?
[23:56] isaacs: SubStack: otoh, you need to have a way to tell bouncy *not* to trust the request.headers['x-real-ip']
[23:56] jesusabdullah: hhttppbvd
[23:56] isaacs: SubStack: since you should only trust that once it comes into your app layer
[23:56] isaacs: or onto the network you control
[23:57] slifty has joined the channel
[23:57] SubStack: maybe that logic is best left to user code
[23:57] SubStack: trust networks
[23:57] SubStack: or just a list of known proxy forwarders
[23:57] isaacs: SubStack: i think the default should be to set x-real-ip if it's not already set.
[23:57] SubStack: k
[23:57] isaacs: SubStack: and then have your edge proxies do headers['x-real-ip'] = headers[x-forwarded-for]
[23:57] isaacs: SubStack: since it's easy to override.
[23:57] SubStack: right
[23:58] isaacs: SubStack: since people will send you requests with x-real-ip of something else, to be spooky and spoof the connection
[23:58] SubStack: makes sense
[23:59] isaacs: http proxying is really amazing. you start out with the intention of doing nothing that isn't absolutely necessary, and *still* end up with a giant pile of features.
[23:59] isaacs: if you're not careful, bouncy will be sending email before too long
[23:59] DTrejo: hehe