[00:00] rajivn has joined the channel [00:05] [[zz]] has joined the channel [00:07] rajivn has joined the channel [00:07] rajivn has left the channel [00:08] Destos has joined the channel [00:08] dgathright has joined the channel [00:09] tim_smart has joined the channel [00:14] kimico has joined the channel [00:15] rajivn has joined the channel [00:18] gazumps856 has joined the channel [00:24] CStumph has joined the channel [00:25] jesusabdullah: piscisaureus_: Yeah, that issue and another one are both from platforms I no longer even have access to, much less an interest in running node on. If only all issues could be closed this way amirite? ;) [00:25] zackattack has joined the channel [00:26] piscisaureus_: j07esusabdullah01: oh I didn't notice that was both you :-0 [00:27] piscisaureus_: jesusabdullah: we just need to weed out the fixed and obsolete ones [00:28] fermion has joined the channel [00:30] skm has joined the channel [00:30] tilgovi has joined the channel [00:30] tilgovi has joined the channel [00:30] neoesque has joined the channel [00:34] mikeal has joined the channel [00:34] piscisaureus_: v8: require('vm').runInContext('', {}); [00:34] v8bot: piscisaureus_: ReferenceError: require is not defined [00:34] adnam has joined the channel [00:37] skm has joined the channel [00:40] ceej has joined the channel [00:40] Destos has joined the channel [00:41] charleyd has joined the channel [00:44] Nican has joined the channel [00:49] gavin_huang has joined the channel [00:50] igl1: http://www.youtube.com/watch?v=G7kFC6KSNVc [00:54] carpeliam has joined the channel [01:03] skoom has joined the channel [01:03] langworthy has joined the channel [01:03] muk_mb has joined the channel [01:04] abraxas has joined the channel [01:05] tbranyen: urgh kind of want to try out coffeescript [01:05] tbranyen: but at the same time [01:07] HammHetField has left the channel [01:07] ajpiaNOU has joined the channel [01:09] ngs has joined the channel [01:11] mundanity has joined the channel [01:12] cognominal has joined the channel [01:12] steveklabnik has joined the channel [01:12] steveklabnik has left the channel [01:15] necrodearia has joined the channel [01:15] Brandonn has joined the channel [01:16] tonymilne_ has joined the channel [01:17] tonymilne_ has joined the channel [01:17] bbttxu has joined the channel [01:18] tim_smart: tbranyen: I was a coffeescript support, but then after a while it annoyed me so I came back to ecmascript [01:18] tim_smart: supporter* [01:18] steveklabnik has joined the channel [01:19] tbranyen: tim_smart: yeah its just one of those things i dunno if not getting into makes me a laggard [01:19] Wa has joined the channel [01:19] steveklabnik: hey everyone! I'm on Arch linux, and it seems like the packages in the AUR for node are terribly broken. Anyone know anything about this? Should I just suck it up and compile from source? [01:19] tbranyen: steveklabnik: nope [01:19] tbranyen: steveklabnik: nodejs is in community now :) [01:19] steveklabnik: hmmm [01:19] steveklabnik: why doesnt pacman see it then? [01:19] tbranyen: sudo pacman -S nodejs [01:19] tim_smart: steveklabnik: compile from source is recommended in most situations [01:19] tbranyen: do you have the community repo added and sync'd? [01:20] tbranyen: tim_smart: not in arch [01:20] tbranyen: which has python3 [01:20] tbranyen: :-/ [01:20] tim_smart: ok [01:20] tbranyen: i'm an arch user, so i can speak to that :-p [01:20] tbranyen: steveklabnik: in your /etc/pacman.conf [01:20] steveklabnik: tbranyen: apparenyl i hadnt synched in two days, lemme chekc [01:20] steveklabnik: it says i do have community [01:20] blippedxd has joined the channel [01:20] tbranyen: you should have two lines that say [community] and Include = /etc/pacman.d/mirrorlist [01:21] steveklabnik: ... this box hasnt been turned on for six months, and so i recently upgraded EVERYTHING [01:21] steveklabnik: well there it goes. [01:21] tbranyen: woot [01:21] steveklabnik: thanks. :) [01:21] tbranyen: np [01:21] tbranyen: so pumped its in there now [01:21] tbranyen: so much AUR bs [01:21] steveklabnik: i should really just learn to always add the y. [01:21] tbranyen: no more* [01:21] steveklabnik: the AUR is bs. i mean, i love it and hate it. [01:21] tbranyen: yeah its great that its there [01:21] steveklabnik: also, the python2 thing is really chafing. [01:21] tbranyen: yeah haha [01:22] tbranyen: they just did some shit with perl too [01:22] tbranyen: i had a few things break [01:22] steveklabnik: like, i'm a rubyist. If _I_ think something is unstable... ;) [01:22] mark__ has joined the channel [01:22] tbranyen: well arch doesn't really tout itself as stable, just bleeding edge [01:23] mark__: Express is giving me a Hmac error but I have OpenSSL installed. [01:23] mark__: does anybody know what to do? [01:24] ditesh|cassini has joined the channel [01:24] tbranyen: urgh i need to pay mad bills, but i don't wanna! [01:24] steveklabnik: well, yeah... you know what i mean [01:25] tbranyen: steveklabnik: yeah i'm really careful with my server [01:25] tbranyen: because of that [01:25] mark__: "TypeError: Not a string or buffer" "Object.createHmac (crypto.js:103:21)" [01:25] steveklabnik: ugh, now npm failed to install. [01:25] steveklabnik: sometimes i think i should have just wiped this machine. :) [01:25] tbranyen: did you forget sudo? [01:25] steveklabnik: i think so. [01:26] steveklabnik: let's put it this way, i didnt type sudo, i just copy/pasted the shell script. [01:26] tbranyen: yeah it installs to directories that you shouldn't have perms to, by default [01:26] tbranyen: do curl ... | sudo sh [01:26] tbranyen: isaacs is weird about sudo [01:26] tbranyen: but then again all linux users are weird about something i suppose [01:26] steveklabnik: :) [01:27] AvianFlu has joined the channel [01:27] steveklabnik: sweet, all good. [01:27] steveklabnik: thanks. [01:28] mark__: anybody know anything about Hmac errors for Express? [01:28] marcello3d has joined the channel [01:31] tonymilne has joined the channel [01:31] wormphlegm has joined the channel [01:31] tim_smart: tbranyen: I set ~/.npmrc before installing npm [01:31] carpeliam has joined the channel [01:32] tim_smart: Then clone the repo and node cli.js install [01:32] tbranyen: tim_smart: do you localize it? [01:32] tim_smart: tbranyen: Yeah ~/local/* [01:32] steveklabnik has left the channel [01:32] tbranyen: i wouldn't mind trying that out some day [01:32] tbranyen: but for right now its just one more thing [01:32] tbranyen: next laptop i get i'll update my dotfiles to include that [01:34] tim_smart: I need to try arch for my next distro :) [01:35] tbranyen: after using it for three years i wouldn't use anything else [01:35] lukeco has joined the channel [01:37] mark__: does anybody have any clue on dealing with Hmac errors on Express? I'm trying to upgrade. And I do have openssl. [01:37] konobi: openssl headers? [01:38] mark__: its giving me an error "500 TypeError: Not a string or buffer at Object.createHmac (crypto.js:103:21)" [01:38] skript_ has joined the channel [01:39] mark__: I'm trying to upgrade from Node 0.2.3 to 0.4.7, and Express to 2.4 [01:39] mark__: I'm running on Cygwin and I used module N to upgrade. [01:41] googol has joined the channel [01:42] Validatorian: I'm using express with a jade template, how would I insert data from a redis call directly into the template, so it's there in the source (not added after load via javascript or something) [01:42] smtlaissezfaire has joined the channel [01:44] dshaw_ has joined the channel [01:44] Emmanuel_ has joined the channel [01:45] googol: I am looking for some help in embedding npm through the api interface, I am trying to make npm "safe" by over writing the build and run-script commands, this is my current attempt: https://gist.github.com/1062801 [01:54] te-brian has joined the channel [01:55] te-brian: Just getting into node and did some simple benchmarks. Literally "Hello World". Suprisingly both .html and .php (via nginx) beat .js. Does this make sense? Is node.js bound by diff hardware stats? [01:57] te-brian: php - 2563.72 trans/sec [01:57] te-brian: html - 4612.73 trans/sec [01:57] te-brian: node - 1495.64 trans/sec [01:57] cpolis has joined the channel [01:58] googol: te-brian: I am no expert in this part of node, but I do know that there is some over head with sending javascript strings, and that is why there are buffers [01:58] Alien__ has joined the channel [01:58] SubStack: te-brian: gist the tests [01:58] te-brian: sure one sec [02:02] avalanche123 has joined the channel [02:02] te-brian: Here ya go: https://gist.github.com/1062814 [02:02] te-brian: SubStack: files and results [02:05] Nican: I would like to know more about that too. [02:05] SubStack: interesting [02:05] te-brian: If I had apache installed I'd toss that in there [02:05] te-brian: but i dont [02:06] te-brian: I suppose I can.. not hard lol [02:07] SubStack: where node really shines is if you've got some i/o operation that takes ages and a lot of concurrent connections [02:07] te-brian: heres my first guess ... nginx multi-threads better? [02:07] te-brian: So as you say.. with 100% utilization it is prob faster... but toss in some db connections as such and then the results shoudl tip? [02:07] AvianFlu: are you testing node behind nginx? [02:07] te-brian: AvianFlu: No (asfaik) just hitting the port directly [02:08] AvianFlu: hmmm [02:08] Lorentz: devrim: It should tip, yes. [02:08] Lorentz: I'd serve static files over nginx anyway. [02:08] te-brian: Because.. for example I have 5 nginx workers in ps aux right now... [02:08] SubStack: I would guess that it would tip but results trump what I would suppose :p [02:08] te-brian: Where as only one node thread.. right? [02:09] SubStack: te-brian: node has 1 javascript thread but lots of threads behind the scenes in c++ land [02:09] te-brian: SubStack: Ahhh.. that part has always been a mystery to me. [02:10] anatoo has joined the channel [02:10] SubStack: since some c apis are just blocking and there's no way around it [02:10] bnoordhuis: what SubStack said and this: [02:10] bnoordhuis: file i/o can't be done reliably in an async manner [02:10] bnoordhuis: so it's delegated to the thread pool [02:10] te-brian: Intersting.. with -c 1 the results look quite different [02:11] te-brian: straight html still wins with 2216 req/sec [02:11] te-brian: Then node with 1300 req/sec [02:11] te-brian: and php is last with 900 req/sec [02:12] SubStack: php is plenty fast [02:12] SubStack: but it's php [02:12] SubStack: so there's thtat [02:12] AvianFlu: php will always have that funny smell to it regardless [02:12] te-brian: Heh [02:13] SubStack: of course javascript has its warts too but I can look past those more easily [02:13] AvianFlu: warts are one thing [02:13] te-brian: I'm finally learning proper php OOP ... though I already knew prototypes pretty well .. but it will be sad to leave true Classes behind [02:13] AvianFlu: a permanent stench is quite another [02:13] SubStack: ACTION doesn't care much for classes [02:13] te-brian: Though I guess things like backbone can help in that regard [02:14] SubStack: of course I learned javascript first when I was 11 [02:14] AvianFlu: functional programming FTW [02:14] te-brian: I'm easily swayed by public opinion lol .. and most of my circle likes objects [02:15] Lorentz: Eh, php is fine if you do it right [02:15] Lorentz: Just don't go around doing mysql_real_string_escape() etc. [02:16] t|f has joined the channel [02:20] abraxas: Which MySQL module do you guys use? The felixge one is nice, but there seems to be very little progress on it... [02:21] jameson has joined the channel [02:24] jacobolus has joined the channel [02:26] yoav1 has joined the channel [02:28] yoav1: i've got a for loop, where var i is increasing by 1 on each loop. in the for loop is a function with a callback that occurs after the for loop is completed.. referencing i in that callback is useless because it's always the last value of i. how do I pass the current value of i to the callback function? [02:28] jonmaim has joined the channel [02:28] jtsnow has joined the channel [02:29] mikeal has joined the channel [02:30] k1ttty has joined the channel [02:33] jesusabdullah: yoav1: Can you show us the code? [02:33] jesusabdullah: I can read code more betters [02:34] stepheneb has joined the channel [02:34] jesusabdullah: I mean, shouldn't for(i=0;i<10;i++) { cb(i); } work? [02:35] jesusabdullah: (seems to, with cb being console.log) [02:35] yoav1: i found the issue on stackoverflow, trying the solutions… http://stackoverflow.com/questions/5997296/add-additional-parameters-to-callback-function [02:36] jesusabdullah: yoav1: What about your particular piece of code? If you can gist or pastie it I can be a *lot* more help [02:36] jesusabdullah: and, I mean, I do want to help [02:36] jesusabdullah: Oh, I see what you mean [02:37] jesusabdullah: You have something like, for(i=0;i<10;i++) { cb(); } right? [02:37] jesusabdullah: Try something like, for(i=0;i<10;i++) { (function(i) { cb(); })(i); } [02:38] jesusabdullah: What you basically do is trap your particular i into a closure, inside which your callback can access from outside its own scope. Make sense? [02:39] jesusabdullah: Kinda-sorta? [02:41] yoav1: yes, but what if the callback function already expects an object from the event like an http response it's {options}, function(res) {}) [02:43] jesusabdullah: a) I don't know how that changes anything. b) You still haven't showed me your particular piece of code. [02:43] jesusabdullah: Please, just go to gist.github.com and paste your particular piece of code so I can stop speaking in generalities [02:43] rhdoenges has joined the channel [02:45] googol has joined the channel [02:47] yoav1: https://gist.github.com/1062836 [02:48] rhdoenges has joined the channel [02:49] CodyGray has joined the channel [02:49] CodyGray has left the channel [02:52] dittos has joined the channel [02:56] jesusabdullah: yoav1: https://gist.github.com/1062839 [02:56] jesusabdullah: BAM [02:58] jesusabdullah: yoav1: Lemme know if any of the comments need more explaining [02:58] tekky has joined the channel [02:59] jameson has joined the channel [03:04] dexter_e has joined the channel [03:04] yoav1: holy mother of moses [03:05] yoav1: that explains so much [03:06] mikeal has joined the channel [03:06] jesusabdullah: Does it? [03:06] jesusabdullah: Cool! [03:07] yoav1: i feel like reaching into my computer screen and giving you a piece of cake. [03:07] criswell has joined the channel [03:07] boehm has joined the channel [03:07] jesusabdullah: Thanks ^__^ [03:09] beriberikix: tmpvar: when passing a script into a jsdom.env, can the file be local? [03:09] jacobolus has joined the channel [03:11] vid_ has joined the channel [03:19] clifton has joined the channel [03:21] muk_mb: is TDD something the node.js community embraces? or more of a test-to-fix-bugs type mentality like alot of iOS/OSX devs? [03:22] coyo has joined the channel [03:22] coyo has joined the channel [03:23] systemfault has joined the channel [03:23] systemfault has joined the channel [03:25] CodyGray has joined the channel [03:25] Emmanuel_: muk_mb: I think many of us uses TDD [03:25] Emmanuel_: see jasmine-node for example [03:25] CodyGray has left the channel [03:26] muk_mb: jasmine and not vows? [03:27] te-brian: SubStack: For what its worth.. I set up cluster to try multi-thread performance ... an it now matches straight html on nginx [03:27] te-brian: 4325 reqs/sec [03:28] Prometheus: te-brian: how does the memory usage compare? [03:29] te-brian: Prometheus: Not really sure ... not set up at the moment to benchmark that .. and I'm hungry :) ... was mostly following up on my intial hello world results above [03:29] Prometheus: heh [03:29] te-brian: Prometheus: It confirms what I thought though.. that the multi-threaded workers of nginx are what cause the difference [03:30] te-brian: Prometheus: Now that my node.js has multiple workers.. its fast... as fast as flat html heh [03:30] kblake has joined the channel [03:30] te-brian: Prometheus: So much to learn... so little time [03:32] Prometheus: yup [03:33] ditesh|cassini has joined the channel [03:35] ekryski has joined the channel [03:40] sethetter has joined the channel [03:41] muk_mb: jasmine looks like it should be easy enough to work with, cool [03:44] tmpvar has joined the channel [03:46] mike5w3c has joined the channel [03:47] SubStack: te-brian: that's pretty groovy [03:48] rhdoenges has joined the channel [03:52] mediahack has joined the channel [03:53] ParadoxQuine has joined the channel [03:54] Wa has joined the channel [03:54] mykul has joined the channel [03:54] materialdesigner has joined the channel [03:56] siong1987 has joined the channel [03:59] cjm has joined the channel [04:01] muk_mb: hey, how come npm is trying to create new node_modules folders all over my project directories when I try to install things? [04:01] Emmanuel_: that's the new way [04:01] Emmanuel_: use -g to install the modules globally [04:01] muk_mb: oh [04:02] muk_mb: are we not supposed to be installing globally? [04:02] Emmanuel_: we are now [04:02] k1ttty_ has joined the channel [04:02] muk_mb: so node_modules should be part of my project folder? part of my git repo? [04:03] tbranyen: muk_mb: i don't commit my modules [04:03] tbranyen: as a preference [04:03] tbranyen: i have a setup script that npm install's everything in my package.json dependancies [04:03] muk_mb: tbranyen: so they're per-project, but git-ignored? [04:03] tbranyen: yup [04:03] rhdoenges: or just add the projects as submodules [04:03] tbranyen: why bother, when npm works fine? [04:04] tbranyen: and npm will handle dependancies and all that snazzy jazz [04:04] rhdoenges: speaking of snazzy jazz, there is now an `npm submodule` command in the npm git [04:04] rhdoenges: it installs your dependencies as git submodules in node_modules/ [04:05] rhdoenges: but it's really new, so it's kinda flakey atm. [04:05] tbranyen: seems like you would have a specific use case to need something like that [04:05] tbranyen: i dunno what that would be [04:05] rhdoenges: I like it, just cuz. [04:05] muk_mb: oh so I just need to npm-link my node modules, then I can just git-pull to update the various modules? [04:05] meso has joined the channel [04:05] tbranyen: rhdoenges: yeah i mean if you're big into git its great, but i still can't wrap my head around them completely [04:06] tbranyen: at least with npm i know its just installing to my node_modules folder and nothing is touching my git repo [04:06] rhdoenges: muk_mb: just do npm install locally or do what tbanyen suggested [04:06] rhdoenges: *tbranyen [04:07] tbranyen: banyan is my favorite seinfeld character [04:07] muk_mb: why did we do all this? sounds way more complicated than it used to be [04:07] muk_mb: seems like npm has changed every time I try to work on something [04:07] jacobolus has joined the channel [04:07] tbranyen: muk_mb: welcome to bleeding edge technology [04:07] rhdoenges: that's node.js for ya [04:07] rhdoenges: :D [04:07] muk_mb: oy [04:08] tbranyen: trying to figure out a way to share backbone routes with node.js [04:08] tbranyen: like for every route defined in my router, iterate and create an express route to match [04:08] tbranyen: that then does some wrapper logic to render the page [04:08] tbranyen: this is most likely a lost cause [04:08] darshanshankar has joined the channel [04:09] muk_mb: bah, globally-installed vows and node can't find it [04:10] tbranyen: muk_mb: you gotta export NODE_PATH [04:10] tbranyen: export NODE_PATH=/usr/local/lib/node [04:10] tbranyen: put that in your shell rc [04:11] muk_mb: NODE_PATH is already set to that [04:11] tbranyen: welp [04:11] tbranyen: i dunno why you are having so much trouble, might be best to get the latest stable node and the latest stable npm and try over [04:11] muk_mb: do I just need to nuke everything and install node/npm over again? [04:11] muk_mb: ok [04:14] rhdoenges: no, export NODE_PATH=/usr/local/lib/node_modules [04:16] cpolis has joined the channel [04:16] azeroth_ has joined the channel [04:17] Swizec has joined the channel [04:20] muk_mb: all the tests in "make test" aren't passing? [04:20] clifton has joined the channel [04:21] muk_mb: http://pastie.textmate.org/2161166 [04:21] akshatj_ has joined the channel [04:21] Skola has joined the channel [04:22] jacobolus has joined the channel [04:27] rhdoenges: hmm. [04:28] stelcheck: anyone is using nmod for package management? Seems like it is not working with git for some reason... [04:28] stelcheck: either it crashes if I feed an HTTPS url, or it fails ("latest version installation failed! due to missing") [04:32] dhasenan has joined the channel [04:38] KingJamool has joined the channel [04:44] secoif has joined the channel [04:47] Skola has joined the channel [04:49] keeto has joined the channel [04:52] mediahack has joined the channel [04:53] steffan has joined the channel [04:55] argmonster has joined the channel [04:56] dibber has joined the channel [04:56] argmonster has left the channel [04:58] yozgrahame has joined the channel [04:59] joshthecoder has joined the channel [05:00] JoshC1 has joined the channel [05:01] tayy_ has joined the channel [05:01] yozgrahame1 has joined the channel [05:01] sourcode has joined the channel [05:03] avalanche123 has joined the channel [05:03] fangel has joined the channel [05:03] nitram_macair has joined the channel [05:03] nitram_macair: is there a way to get a stable version of node js, not trunk? [05:04] k1ttty has joined the channel [05:07] jacter has joined the channel [05:07] tayy has joined the channel [05:08] dexter_e: yeah download the source of the version of your choice [05:10] Emmanuel_: nitram_macair: try v0.4.8 [05:11] Emmanuel_: oh, 0.4.9 is out [05:11] nitram_macair: anyone know if there is one that works with centos? [05:11] Emmanuel_: well, avoid v0.5.x [05:11] nitram_macair: having comiple issues. [05:11] ngs has joined the channel [05:11] wookiehangover has joined the channel [05:11] Emmanuel_: like what ? [05:12] Emmanuel_: prolly some missing packages in your distro [05:12] Emmanuel_: but I remember Centos is pretty outdated on... almost everything [05:13] nitram_macair: http://pastebin.com/Kd1kw9y3 [05:13] nitram_macair: i think is a glib problem [05:14] nitram_macair: thing is i see blogs with people getting it working [05:14] nitram_macair: just a few months ago [05:14] nitram_macair: were there any io changes recently? [05:20] zackattack has joined the channel [05:27] dvip has joined the channel [05:27] dvip: hello nodejs community [05:30] cafesofie has joined the channel [05:31] Prometheus: hi [05:32] dvip has joined the channel [05:33] dvip has left the channel [05:37] brancao has joined the channel [05:40] skm has joined the channel [05:42] bartt has joined the channel [05:43] muk_mb: how come Vows's watch mode only auto-runs tests when the test files themselves change? why not when the other files change? [05:45] cpolis has joined the channel [05:45] skm has joined the channel [05:46] dexter_e has joined the channel [05:51] nitram_macair has joined the channel [05:53] KingJamool has joined the channel [05:54] Vertice has joined the channel [05:54] Vertice has joined the channel [05:55] zackattack has joined the channel [05:55] kbni has joined the channel [05:55] mange has joined the channel [05:56] jonmaim has joined the channel [05:56] SamuraiJack has joined the channel [05:58] Validatorian: I'm using express with a jade template, how would I insert data from a redis call directly into the template, so it's there in the source (not added after load via javascript or something) [05:59] mercer has joined the channel [06:00] felixge has joined the channel [06:04] k1ttty has joined the channel [06:05] simenbrekken has joined the channel [06:05] stephank has joined the channel [06:06] mraleph has joined the channel [06:10] amerine has joined the channel [06:21] jvduf has joined the channel [06:21] Emmanuel_ has joined the channel [06:23] mape has joined the channel [06:24] eirikb has joined the channel [06:24] eirikb: Hello. Is it possible to run express in production mode without using environment variable? [06:25] gozala has joined the channel [06:25] unlink has joined the channel [06:25] unlink has joined the channel [06:28] febits[0] has joined the channel [06:28] rchavik has joined the channel [06:29] TomY has joined the channel [06:30] febits has joined the channel [06:31] `3rdEden has joined the channel [06:32] grekko has joined the channel [06:34] madsleejensen has joined the channel [06:34] gregoryigelmund has joined the channel [06:35] grekko has joined the channel [06:36] jvduf has joined the channel [06:37] grekko has joined the channel [06:45] atiti has joined the channel [06:47] Emmanuel_ has joined the channel [06:48] matwill has joined the channel [06:49] socketio\test\69 has joined the channel [06:49] sfragis has joined the channel [06:49] socketio\test\51 has joined the channel [06:51] groom has joined the channel [06:55] hij1nx has joined the channel [06:55] liar has joined the channel [06:55] Misao-chan has joined the channel [06:55] k1ttty_ has joined the channel [06:57] petrjanda has joined the channel [07:01] fangel has joined the channel [07:04] saurabhverma has joined the channel [07:06] djcoin has joined the channel [07:08] simenbrekken has joined the channel [07:09] nitram_macair: fyi compiling trunk fails on centos, but i checked out the 0.4.9 tag and it compiles [07:10] Lorentz: Might be good idea to paste in error messages, eh? [07:10] bergie has joined the channel [07:11] nitram_macair: http://pastebin.com/weUhCN7i [07:11] nitram_macair: pasted in lastnight [07:13] lakkris has joined the channel [07:15] mekwall: bah! I can't get bcrypt lib to work... its throwing undefined symbol: ev_rt_now [07:16] mekwall: seems demon.node is suffering from this as well... compatibility isseu with latest node.js? [07:17] coyo has joined the channel [07:17] coyo has joined the channel [07:17] siculars has joined the channel [07:19] CStumph has joined the channel [07:19] jonmaim has joined the channel [07:20] mike5w3c has joined the channel [07:21] djcoin has joined the channel [07:23] gozala has joined the channel [07:24] matwill has joined the channel [07:25] lakkris has joined the channel [07:25] JoESanche_z has joined the channel [07:26] topaxi has joined the channel [07:26] tobmastr has joined the channel [07:27] sgimeno has joined the channel [07:27] narayan82 has joined the channel [07:28] smtlaissezfaire has joined the channel [07:29] unomi has joined the channel [07:30] ivanfi has joined the channel [07:31] joshthecoder has joined the channel [07:36] JasonSmith has joined the channel [07:37] __tosh has joined the channel [07:37] TomY has joined the channel [07:40] dall has joined the channel [07:40] dall: hello [07:41] jonmaim has joined the channel [07:41] ablomen has joined the channel [07:42] Bj_o_rn has joined the channel [07:42] Bj_o_rn has left the channel [07:42] nitram_macair: hi [07:42] Wa has joined the channel [07:43] k1ttty has joined the channel [07:43] ay: /win 2 [07:44] tbassetto has joined the channel [07:46] tonymilne has left the channel [07:46] tmpvar has joined the channel [07:52] adambeynon has joined the channel [07:57] Druide_ has joined the channel [07:58] unomi has joined the channel [07:59] saurabhverma has joined the channel [08:02] jbergstroem: whatsup: http://code.google.com/p/v8/ :( [08:02] coyo has joined the channel [08:02] coyo has joined the channel [08:03] jbergstroem: oh, only when i'm logged in [08:04] StephenFalken has joined the channel [08:06] jvduf has joined the channel [08:07] CStumph has joined the channel [08:09] jacter has joined the channel [08:10] cosmincx has joined the channel [08:10] Esteb has joined the channel [08:11] markwubben has joined the channel [08:11] Aiden has joined the channel [08:11] secoif has joined the channel [08:11] pickels has joined the channel [08:16] julienXX has joined the channel [08:18] Sebastien-L has joined the channel [08:19] unomi has joined the channel [08:20] pickels has joined the channel [08:24] davidascher has joined the channel [08:28] jomoho has joined the channel [08:30] JKarsrud has joined the channel [08:31] tmpvar has joined the channel [08:36] tobmaster has joined the channel [08:36] gozala1 has joined the channel [08:38] CStumph has joined the channel [08:38] foobarfi1hter has joined the channel [08:38] Gather_ has joined the channel [08:38] yorick_ has joined the channel [08:38] bsutt_ has joined the channel [08:38] Jalava_ has joined the channel [08:38] _mdp_ has joined the channel [08:38] ptlo_ has joined the channel [08:38] aakour_ has joined the channel [08:41] boehm_ has joined the channel [08:41] shinuza has joined the channel [08:42] jtrally_ has joined the channel [08:42] jeremyselier has left the channel [08:42] jeremyselier has joined the channel [08:43] jeremyselier has joined the channel [08:43] kbni has joined the channel [08:43] cjm has joined the channel [08:44] simenbrekken has joined the channel [08:44] asabil has joined the channel [08:45] FredrIQ has joined the channel [08:45] tmpvar has joined the channel [08:47] jacobolus has joined the channel [08:47] FredrIQ has joined the channel [08:49] azariah4 has joined the channel [08:50] azariah4: Hello! In express I do res.header('Content-Disposition', 'attachment; filename=test.foo'); res.send(data); [08:50] jamescarr has joined the channel [08:50] azariah4: I see the header and correct response in firebug, but no download box appears in FF. anyone know how to make a file download box appear? [08:51] bzinger has joined the channel [08:52] herbySk has joined the channel [08:52] Emmanuel_: how do I add third party library with socketstream (ie: JS stuff I want the client to load, in my case a JQuery plugin) [08:52] Emmanuel_: the documentation says it is supposed to go to lib/client, but it does not get minified/sent to the client [08:52] keikubo has joined the channel [08:53] L_star has joined the channel [08:54] blup has joined the channel [08:56] skm has joined the channel [08:56] mikedeboer has joined the channel [08:58] sylvinus has joined the channel [09:02] jomoho has joined the channel [09:03] dsirijus has joined the channel [09:05] mykul has joined the channel [09:07] philhawksworth has joined the channel [09:08] philhawksworth has left the channel [09:09] markwubben has joined the channel [09:10] c0dd3r5 has joined the channel [09:10] c0dd3r5: morning all. [09:10] tuhoojabotti: mornin'' [09:10] c0dd3r5: does anyone know, with node binary modules, whether you can ship dual-architecture modules? [09:10] c0dd3r5: i.e. a package with 32 and 64-bit compiled .node libraries? [09:11] mykul has joined the channel [09:12] dnjaramba has joined the channel [09:14] dnjaramba has joined the channel [09:14] adrianmg has joined the channel [09:14] jetienne has joined the channel [09:14] __doc__ has joined the channel [09:15] christkv has joined the channel [09:16] azariah4: given a javascript buffer, how can I send it using express 'res.download' ? do I need to convert the buffer before sending it? [09:17] mike5w3c has joined the channel [09:18] c0dd3r5: Re. Module loading: https://github.com/ajaxorg/node-o3-xml/blob/master/lib/o3-xml/o3.js [09:19] c0dd3r5: that seems to be an especially ugly solution [09:20] reenignEesreveR has joined the channel [09:20] thalll has joined the channel [09:20] reenignEesreveR: has anyone used ajaxim? [09:20] MrTopf has joined the channel [09:21] micheil has joined the channel [09:27] simfa has joined the channel [09:30] Shrink has joined the channel [09:35] tk has joined the channel [09:39] dshaw_ has joined the channel [09:48] Fredderf_ has joined the channel [09:51] necrodearia has joined the channel [09:52] rauchg has joined the channel [09:54] sylvinus has joined the channel [09:59] sfoster has joined the channel [10:02] meso has joined the channel [10:02] matwill has joined the channel [10:05] Benjie has joined the channel [10:08] hellp has joined the channel [10:08] MattJ has joined the channel [10:10] foober has joined the channel [10:11] foober: Hi All. [10:11] socketio\test\75 has joined the channel [10:11] [AD]Turbo has joined the channel [10:11] Wizek has joined the channel [10:12] adrianmg has left the channel [10:13] hybsch has joined the channel [10:15] dshaw_ has joined the channel [10:18] k1ttty_ has joined the channel [10:18] Viehzeug has joined the channel [10:19] m00p has joined the channel [10:19] devaholic has joined the channel [10:20] level09 has joined the channel [10:23] thalll has joined the channel [10:27] yumike has joined the channel [10:32] FireFly|n900 has joined the channel [10:35] Viehzeug: hi, anybody here can help me with try/catch-errorhandling? [10:36] sounko has joined the channel [10:36] azariah4: alternatively, how would one go about sending a javascript buffer as a Content-Disposition = attachment using node.js? [10:39] akshatj has joined the channel [10:39] kbni has joined the channel [10:39] Emmanuel_: SocketStream is God [10:42] Vertice_ has joined the channel [10:42] Vertice_ has joined the channel [10:43] Skola: have there been known exploits for node? [10:44] tuhoojabotti: unescaped mysql usagE? [10:44] tuhoojabotti: :D [10:44] Skola: node-specific :[] [10:45] kbni: how could there be? [10:45] kbni: it seems very unlikely [10:47] tuhoojabotti: Skola: eval? :3 [10:47] tuhoojabotti: :D [10:50] ph^ has joined the channel [10:51] sylvinus has joined the channel [10:57] cryptix: hi, is somebody here into crypto? im trying to implement a hybrid encryption module but i cant get access to 'openssl rsautl' through the node.js crypto module it seems [10:57] davidvanleeuwen has joined the channel [11:00] Viehzeug: why can't i catch my exceptions :/ [11:00] Viehzeug: ? [11:01] tuhoojabotti: Viehzeug: My server runs fine without any catch :D [11:02] Viehzeug: tuhoojabotti :D .. I'm just writing my server.. but i don't get why i cant catch my exceptions [11:02] seivan has joined the channel [11:04] radiodario has joined the channel [11:07] Viehzeug: is there any way of exception handling when working asynchronous? is there some proper way to do that? [11:08] tuhoojabotti: onerror event? [11:08] tuhoojabotti: Some functiosn use that [11:08] tuhoojabotti: I guess [11:08] tuhoojabotti: I haven't looked into error handling yet ;D [11:09] tuhoojabotti: Because I write error free code. :3 [11:10] Viehzeug: Me too, but i would like to define some exception cases [11:10] fly-away has joined the channel [11:13] Yoric has joined the channel [11:18] akshatj_ has joined the channel [11:19] Viehzeug: tuhoojabotti on event works pretty good, thenks [11:19] Viehzeug: thanks* [11:19] tuhoojabotti: Np :P [11:19] tuhoojabotti: That was just a hunch [11:19] shinuza has joined the channel [11:20] dexter_e has joined the channel [11:22] jonaslund has joined the channel [11:24] jonaslund_ has joined the channel [11:24] mendel_: hmm [11:25] mendel_: I have var user= '#{JSON.stringify(userObject)}' in my jade file [11:25] mendel_: how do I unescape that json string? or even better, how do I parse the userObject itself? [11:25] mendel_: != doesn't work because var user= must be like that [11:25] mendel_: and parsing the object itself returns [Object object] [11:29] mendel_: ah... var user= '!{JSON.stringify(userObject)}' [11:30] Viehzeug: does anybody know a good tutorial on on-events //cc tuhoojabotti [11:32] tuhoojabotti: nodejs.org -> api [11:32] tuhoojabotti: :D [11:32] tuhoojabotti: or Google [11:33] marlun has joined the channel [11:33] Hadaka has joined the channel [11:36] saschagehlich has joined the channel [11:38] bnoordhuis has joined the channel [11:40] cognominal has joined the channel [11:41] McMAGIC-1Copy has joined the channel [11:42] sounko: anyone have a joyent smartmachine? [11:48] sethetter has joined the channel [11:48] sethetter has left the channel [11:51] sjbreen`` has joined the channel [11:52] arnee has joined the channel [11:57] neoesque has joined the channel [11:58] bnoordhuis: anyone with os x leopard here? [12:00] sjbreen`` has joined the channel [12:01] jetienne: sounko: i have one, failed to start it, so they took it away from me :( [12:01] jetienne: have=had [12:01] sounko: :( [12:01] sounko: i ordered one like 30 minutes ago and no emails or anything yet [12:01] sounko: confusing [12:01] sounko: don't really mind, just wondering if it's normal [12:03] Bj_o_rn has joined the channel [12:03] Bj_o_rn has left the channel [12:03] dall: hi bnoordhuis !!! :) [12:04] bnoordhuis: hi dall :) [12:04] dall: someone know a good guide to use express and mongodb ? [12:04] dall: bnoordhuis, how ar eyou? [12:04] dall: *are you [12:04] bnoordhuis: fine, thanks :) [12:04] bnoordhuis: working, that too [12:05] mikedeboer has joined the channel [12:05] dall: good...i'm searching a good guide to use node.js and mongo [12:06] sveimac has joined the channel [12:08] adam- has joined the channel [12:09] `3rdEden: bnoordhuis i got osx [12:09] `3rdEden: did you broke something ;)? [12:09] bnoordhuis: `3rdEden: os x leopard? or the special metal edition: os x def leppard? [12:10] sfoster has joined the channel [12:10] bnoordhuis: `3rdEden: no, but ryan did :) [12:10] `3rdEden: Mac OS X 'leopard' v 10.6.8 [12:10] JKarsrud: hmm, how can I see the parameters you can pass to express? [12:10] JKarsrud: snow LEOPARDZZ [12:10] `3rdEden: Doesn't ryah also use Mac leopard? [12:10] bnoordhuis: `3rdEden: https://github.com/joyent/node/issues/1242 <- have you seen this build failure? [12:11] `3rdEden: Yes [12:11] `3rdEden: I have [12:11] JKarsrud: ah, never mind [12:11] JKarsrud: express -h [12:11] bnoordhuis: still do? [12:11] `3rdEden: I updated openssl and it was gone [12:11] bnoordhuis: ah damn [12:11] giri has joined the channel [12:11] bnoordhuis: i want to verify the patch :-/ [12:12] `3rdEden: install mac osx in a vm :) [12:12] bnoordhuis: hah, i don't have a copy of os x [12:12] `3rdEden: The internet has many copys of those ;) [12:12] jonasen has joined the channel [12:12] bnoordhuis: yeah, well... mama raised me right [12:12] AvianFlu has joined the channel [12:13] `3rdEden: bnoordhuis rules are there to be broken [12:13] bnoordhuis: `3rdEden: do you know what version of openssl you were using at the time? [12:14] jetienne has joined the channel [12:14] `3rdEden: Can't remember sorry [12:15] `3rdEden: it't wasn't that old [12:15] Vertice has joined the channel [12:15] bnoordhuis: `3rdEden: ah, too bad [12:15] bnoordhuis: but thanks anyway :) [12:16] `3rdEden: I do have some resetted macs here [12:16] `3rdEden: I'll see if can install it on them without errors [12:17] jetienne has joined the channel [12:17] dall: guys....mongose or native ? [12:17] dall: mongoose [12:17] bnoordhuis: `3rdEden: sweet, thanks [12:19] okuryu has joined the channel [12:20] `3rdEden: 0.9.8r [12:24] bnoordhuis: `3rdEden: that's the one that causes the build failure? [12:24] `3rdEden: thats the one that is default installed [12:24] bnoordhuis: okay, i'll check that out [12:24] `3rdEden: can't reproduce the build failure [12:24] bnoordhuis: ah :( [12:25] `3rdEden: But If i remember correctly I only had that issue on my Mac book [12:25] `3rdEden: not on any of my iMacs [12:25] bnoordhuis: the plot thickens [12:28] pickels has joined the channel [12:30] micrypt_ has joined the channel [12:31] bbrandon has joined the channel [12:32] jonmaim has joined the channel [12:34] c4milo has joined the channel [12:37] deedubs has joined the channel [12:41] seivan has joined the channel [12:45] jbpros has joined the channel [12:47] sounko_ has joined the channel [12:52] micrypt has left the channel [12:55] AaronMT has joined the channel [12:57] atiti has joined the channel [12:59] leahculver has joined the channel [12:59] leahculver has joined the channel [13:01] seawise has joined the channel [13:03] squeese has joined the channel [13:04] Skola: anyone got a decent example of async file IO tests? [13:04] cjm has joined the channel [13:07] cognominal has joined the channel [13:08] Sebastien-L has joined the channel [13:10] dexter_e has joined the channel [13:10] hookdump has joined the channel [13:14] rohv has joined the channel [13:17] __tosh has joined the channel [13:18] leahculver has joined the channel [13:18] AAA_awright has joined the channel [13:20] zeade has joined the channel [13:21] bnoordhuis: Skola: test/simple/test-fs-*.js ? [13:22] crouchjay has joined the channel [13:26] secoif has joined the channel [13:27] unomi has joined the channel [13:29] squeese has joined the channel [13:32] anatoo has joined the channel [13:37] baudehlo has joined the channel [13:38] broofa has joined the channel [13:39] ianward has joined the channel [13:39] heavysixer has joined the channel [13:43] seivan has joined the channel [13:44] Poetro has joined the channel [13:44] jbpros has joined the channel [13:44] fermion has joined the channel [13:45] c4milo has joined the channel [13:49] dscape has joined the channel [13:49] Mrfloyd has joined the channel [13:50] eirikb has left the channel [13:53] \sega has joined the channel [13:54] CIA-110: node: 03koichik 07master * rbcf3c7d 10/ tools/doctool/markdown.js : [13:54] CIA-110: node: Fix doctool uses RegExp object as a Function [13:54] CIA-110: node: RegExp object is no longer Function. [13:54] CIA-110: node: http://code.google.com/p/v8/issues/detail?id=617 [13:54] CIA-110: node: Fixes #1262. - http://bit.ly/lbv6GP [13:55] christkv_ has joined the channel [13:57] CodyGray has joined the channel [13:57] CodyGray has left the channel [13:59] Charuru has joined the channel [13:59] felixge has joined the channel [13:59] felixge has joined the channel [14:00] marcello3d has joined the channel [14:00] Viehzeug_ has joined the channel [14:01] grekko has joined the channel [14:02] mendel_ has joined the channel [14:03] fly-away has joined the channel [14:04] mendel_: nodester downtime >= 9 hours [14:05] mendel_: #tweets about it: 1 [14:05] CodyGray has joined the channel [14:05] mendel_: popularity <= 0.1? [14:06] eirikurn has joined the channel [14:06] maushu has joined the channel [14:06] eirikb has joined the channel [14:07] eirikb: Thoughts: http://nipster.eirikb.no ? [14:07] systemfault has joined the channel [14:07] systemfault has joined the channel [14:07] marcello3d: eirikb: fork of nithub? [14:08] eirikb: Oh... damn [14:08] eirikb: :D [14:08] eirikb: NO [14:08] marcello3d: :) [14:09] eirikb: Haven't heard of it... Is the site down? [14:10] cryptix: sigh... why cant i get the crypto module to place nice with files encrypted by the openssl cli tool? [14:10] marcello3d: yea. sadly [14:10] marcello3d: duostack sucks :) [14:10] marcello3d: http://2.no.de/ here's the no.de version, but they suck to, so it goes down a lot [14:10] marcello3d: *too [14:10] marcello3d: (just restarted it now, so all the data is outdated) [14:11] jetienne: i think stagas wrote something like that [14:11] jetienne: stagas: are you around ? you had a github + score stuff no ? [14:11] marcello3d: eirikb: you seem to be missing some modules, thoguh? [14:11] maushu has joined the channel [14:11] marcello3d: oh, it's just sorted differently [14:11] eirikb: marcello3d: No idea. I had 2400 when I used require('npm')... but then I used registry instead and god 1800 [14:12] eirikb: got* [14:12] marcello3d: shrug [14:12] marcello3d: 2 day hack :) [14:13] eirikb: Nipster, or yours? [14:13] marcello3d: mine [14:13] marcello3d: feel free to rip out anything useful: https://github.com/marcello3d/nithub [14:13] eirikb: Oh [14:14] jetienne: http://hwknd.com/ from stagas but it appears offline [14:14] marcello3d: what's with node servers not being able to stay up? :) [14:14] jetienne: https://github.com/stagas/hwknd.com on github too :) [14:14] eirikb: I can probably host anywhere, don't need node really [14:15] jetienne: eirikb: how do you query github ? no need of auth ? [14:15] eirikb: jetienne: No need for auth [14:15] eirikb: First I used v2, but now I use v3 [14:16] eirikb: jetienne: This does the job: https://github.com/eirikb/nipster/blob/master/node_modules/rated.js [14:16] jetienne: i like pure browser stuff, it is so easy to host [14:16] marcello3d: ah, you don't use a database? [14:16] eirikb: Well I render with jade now, but using pure JSON should do the exact same result [14:16] eirikb: marcello3d: No need for that [14:17] marcello3d: I was tired of waiting 20 minutes every time I started the app for it to be useful :) [14:17] eirikb: It uses 1 second to start [14:17] marcello3d: you query registry and github in 1 second? [14:18] eirikb: No, I query registry in 1 second. Then I load the packages from packages.json and compare [14:18] marcello3d: oh I see, you save/load a big json file [14:19] eirikb: Yep. Good old serialization. Don't need anything more fancy. I can without any issues store everything in RAM, and I never need any querys [14:19] marcello3d: yea [14:19] Vladimir1 has joined the channel [14:20] eirikb: So if I want to host this statically I could just load the .json with ajax and load it into the datatables-plugin as pure JSON [14:20] devrim has joined the channel [14:20] marcello3d: right [14:20] eirikb: Hell, then I could even throw it out on a github-pages. And it would be even smaller to load (if I strip away unwanted properties) [14:21] marcello3d: how would you keep it up to date? [14:21] robi42 has joined the channel [14:21] eirikb: How would you keep it up to date in any other case? [14:22] eirikb: I could have a cron that updates against the github API once every second day or so, then automatically push to gh-pages [14:22] KingJamool has joined the channel [14:23] marcello3d: sounds good :) [14:23] marcello3d: looking forward to it [14:23] eirikb: :) [14:23] marcello3d: then I won't feel as guilty about nithub going down all the time [14:24] eirikb: Same for me really, I first threw it out on nodester, but now it's on dotcloud [14:24] [[zz]] has joined the channel [14:25] tdegrunt has joined the channel [14:25] marcello3d: dotcloud == duostack [14:25] koichik has joined the channel [14:25] marcello3d: right? [14:25] marcello3d: ya [14:25] eirikb: Yeah they bought it or something [14:26] eirikb: But having it statically on github would probably be nice [14:26] marcello3d: probably why my site is down ;) [14:26] eirikb: :D [14:26] marcello3d: they sent me an email about it a few months back but I couldn't be bothered, ya know? [14:26] eirikb: Well I have to go now. Awesome coming here to figure out my idea have been done long ago :/ Oh well. Bye [14:26] marcello3d: sorry :) [14:26] marcello3d: it's a good idea [14:26] eirikb: Haha it's ok. [14:26] marcello3d: there is at least one other implementation, too [14:26] marcello3d: take care [14:27] eirikb has left the channel [14:28] CIA-110: node: 03Ben Noordhuis 07master * rd6188bd 10/ doc/api/fs.markdown : [14:28] CIA-110: node: Document behaviour of the `encoding` parameter of fs.writeFile(). [14:28] CIA-110: node: Fixes #401. - http://bit.ly/ijvPw8 [14:31] maushu has joined the channel [14:32] m0s has joined the channel [14:34] blup: could someone help me with this error: TypeError: Expecting a function in instanceof check, but got function venue() {... [14:34] blup: expecting a function, but got a function instead.... :| [14:37] bnoordhuis: blup: gist? where do you get that error? [14:39] muk_mb: what is the editor-of-choice of the node community these days? [14:39] seivan has joined the channel [14:39] blup: bnoordhuis: didn't post one as its very specific.. The problem is with Backbone-relational, which checks if ( type instanceof Backbone.RelationalModel ), venue would be my model [14:40] AAA_awright_ has joined the channel [14:40] figital has joined the channel [14:41] FIQ has joined the channel [14:41] bnoordhuis: blup: it would seem that you need to pass in an object, not a bare function [14:41] marlun_ has joined the channel [14:42] blup: bnoordhuis: http://pastebin.com/7v1Gayg5 [14:43] bnoordhuis: blup: sorry, don't know what's causing that [14:43] blup: bnoordhuis: thanks anyways [14:43] jetienne has joined the channel [14:44] leahculver has joined the channel [14:45] pgte has joined the channel [14:46] _figital has joined the channel [14:46] clifton has joined the channel [14:46] davidascher has joined the channel [14:46] pgte: ./j #expensecat iarecats [14:46] MrTopf_ has joined the channel [14:46] bogomips2__ has joined the channel [14:49] jetienne: :) [14:49] jetienne: this is the issue with shared secret key [14:49] jetienne: now you are in trouble to change it [14:49] Yoric has joined the channel [14:49] sivy has joined the channel [14:49] remysharp has joined the channel [14:50] petrjanda has left the channel [14:52] tayy has joined the channel [14:53] Kingdutch has joined the channel [14:53] daglees has joined the channel [14:54] pgte has left the channel [14:56] niftylettuce has joined the channel [14:56] daglees has joined the channel [14:56] caolanm has joined the channel [14:57] [AD]Turbo has joined the channel [14:58] catb0t has joined the channel [15:01] systemfault has joined the channel [15:01] stagas: jetienne: my project is tracking twitter for new github project links of any language, so it's not very similar I guess :) [15:05] kawaz_home has joined the channel [15:06] hdon has joined the channel [15:08] CIA-110: node: 03Ben Noordhuis 07master * r8e0d788 10/ test/simple/test-buffer.js : [15:08] CIA-110: node: Test for #402: writing base64 at position > 0 should not mangle the result. [15:08] CIA-110: node: This is a regression test, the bug itself was fixed in v0.3.x. - http://bit.ly/iYIjde [15:08] Viehzeug has joined the channel [15:08] confoocious has joined the channel [15:08] confoocious has joined the channel [15:09] Badababuba has joined the channel [15:09] catb0t has joined the channel [15:10] wookiehangover has joined the channel [15:10] ragus has joined the channel [15:10] mapleman has joined the channel [15:12] perlmonkey2 has joined the channel [15:13] bbrandon has joined the channel [15:13] seawise_ has joined the channel [15:14] seawise_ has joined the channel [15:18] whitman has joined the channel [15:19] eliziario has joined the channel [15:20] catb0t has joined the channel [15:20] pHcF has joined the channel [15:24] CIA-110: node: 03Ben Noordhuis 07master * rbd0baf2 10/ src/platform_linux.cc : [15:24] CIA-110: node: Check that PR_SET_NAME is defined. [15:24] CIA-110: node: Avoids breaking the build with older (pre-2006) linux kernels. [15:24] CIA-110: node: Raises a JS exception if the script tries to assign to `process.title`. [15:24] CIA-110: node: Fixes #840. - http://bit.ly/j4Rfcj [15:24] c4milo has joined the channel [15:24] catb0t has joined the channel [15:24] mrmanager has joined the channel [15:24] catb0t has joined the channel [15:27] hogeo has joined the channel [15:28] hydrozen has joined the channel [15:31] hogeo has joined the channel [15:32] NeCkEr has joined the channel [15:33] mehlah has joined the channel [15:34] cmike007 has joined the channel [15:34] BruNeX: ACTION hi Ppl [15:34] BruNeX: ACTION hi Ppl [15:34] BruNeX: ACTION hi Ppl [15:34] BruNeX: ACTION hi Ppl [15:34] BruNeX: ACTION hi Ppl [15:36] tjholowaychuk has joined the channel [15:38] iFire has joined the channel [15:39] Destos has joined the channel [15:40] stepheneb has joined the channel [15:40] lukstr: tjholowaychuk: http://coffeekup.org/ [15:41] tjholowaychuk: whoop [15:42] btipling: can you auto install dependencies with a package.json? [15:42] catb0t has joined the channel [15:42] btipling: that is can I write a npm package definition which will install all of the required dependencies for my app? [15:42] jzacsh has joined the channel [15:42] d0k has joined the channel [15:44] ekryski has joined the channel [15:45] stephank has joined the channel [15:45] pandark_: btipling: Isn't that one of the thing npm was specially created for? [15:46] hippich_ has joined the channel [15:46] catb0t has joined the channel [15:47] leoju has joined the channel [15:49] mehlah has joined the channel [15:52] shinuza: btipling: https://github.com/isaacs/npm/blob/master/doc/json.md @ dependencies [15:56] slajax has joined the channel [15:59] sub_pop has joined the channel [16:01] davidcoallier has joined the channel [16:01] Beck has joined the channel [16:04] petrjanda has joined the channel [16:04] gozala has joined the channel [16:06] pandeiro has joined the channel [16:08] seivan has joined the channel [16:08] [[zz]] has joined the channel [16:08] ekryski has joined the channel [16:09] bronson has joined the channel [16:09] stephenallred has left the channel [16:13] colinclark has joined the channel [16:15] dscape: anyone here deployed haraka to cloudfoundry? [16:16] pifantastic has joined the channel [16:17] baudehlo: dscape: I have not. Have you tried? [16:18] dscape: trying right now [16:18] dscape: baudehlo: thing is they try to detect if it's a sinatra, node, etc app [16:18] baudehlo: I know someone tried heroku but it only supports web. [16:18] muk_mb: I would appreciate it if any of you had a look at my new project ( https://github.com/sgoodwin/Node.js-Demo ), specifically how I setup the model object in /lib and started testing it in /tests. Just want to make sure I'm doing it right so far [16:18] dscape: but because you need to run /usr/bin/hakara with the program as the arg [16:19] dscape: it fails [16:19] baudehlo: you *can* start it manually with node. [16:19] dscape: Staging Application: OK [16:19] grekko has joined the channel [16:19] baudehlo: HARAKA=/path/to/your/haraka/install node /path/to/haraka.js [16:19] dscape: Starting Application: ..........................Error 306: Error retrieving file 'logs/startup.log' [16:20] baudehlo: don't know if that helps though. [16:20] dscape: baudehlo: apparently in foundry you dont have shell access [16:20] dscape: you just say "deploy this directory" [16:20] baudehlo: how does it know what .js file to run? [16:20] dscape: no idea :) suppose it looks for index.js ? [16:21] baudehlo: ok [16:21] baudehlo: so create index.js with: [16:21] blup has joined the channel [16:21] baudehlo: process.env.HARAKA=__dirname; [16:21] CIA-110: node: 03koichik 07master * rc60cdcd 10/ (3 files in 2 dirs): [16:21] CIA-110: node: Fix net.Socket.connect argument parsing [16:21] CIA-110: node: Fixes #1251. - http://bit.ly/mo63Wj [16:22] baudehlo: require('path/haraka.js'); [16:22] baudehlo: should work. [16:22] tdegrunt has joined the channel [16:23] dscape: baudehlo: I'll try it out and let you know if it worked [16:23] hansek has joined the channel [16:23] mediahack has joined the channel [16:23] dscape: baudehlo: thank you [16:24] CIA-110: node: 03Ben Noordhuis 07master * r6c7ff06 10/ doc/api/path.markdown : [16:24] CIA-110: node: Document that `path.join()` and `path.resolve()` ignore non-string arguments. [16:24] CIA-110: node: Fixes #514. - http://bit.ly/jzyrCh [16:24] baudehlo: no problem. [16:24] hans-kristiankor has joined the channel [16:25] pandark_: http://protolol.com/post/6682734248 [16:25] catb0t has joined the channel [16:25] baudehlo: dscape: let me know if it works, cos same might apply to heroku too. [16:26] coreb has joined the channel [16:26] figital has joined the channel [16:26] tayy_ has joined the channel [16:27] gustavowt has joined the channel [16:27] CIA-110: node: 03Brett Kiefer 07v0.4 * r220e228 10/ deps/libev/wscript : [16:27] CIA-110: node: Fix issue 915 (Failed to find kqueue on FreeBSD) with the relevant portion of a [16:27] CIA-110: node: patch submitted to node.js dev [16:27] CIA-110: node: (http://groups.google.com/group/nodejs-dev/browse_thread/thread/3aaf7fe2ca390fdc) [16:27] CIA-110: node: by Davie Siegel. The issue is that event.h requires types.h on FreeBSD. This [16:27] CIA-110: node: rearranges some of the logic but looks like it should still be valid for Darwin. [16:27] CIA-110: node: - http://bit.ly/m8cCdX [16:30] prettyrobots has joined the channel [16:30] catb0t has joined the channel [16:31] mu_ has joined the channel [16:31] leahculver has joined the channel [16:31] catb0t has joined the channel [16:32] figital has joined the channel [16:32] robertfw has joined the channel [16:32] charleyd has joined the channel [16:33] jtsnow has joined the channel [16:35] pquerna: indutny: did you ever try a benchmark on https://github.com/joyent/node/pull/961 ? [16:35] Poetro has joined the channel [16:39] srid has joined the channel [16:39] srid has joined the channel [16:39] ceej has joined the channel [16:40] catb0t has joined the channel [16:40] beawesomeinstead has joined the channel [16:40] christoph_ has joined the channel [16:40] zined has joined the channel [16:41] kaarlo has joined the channel [16:41] slajax has joined the channel [16:41] unlink has joined the channel [16:41] unlink has joined the channel [16:42] ekryski has joined the channel [16:42] Kai` has joined the channel [16:43] eirikurn has joined the channel [16:43] sonnym has joined the channel [16:43] yozgrahame has joined the channel [16:44] bradwright has joined the channel [16:44] kblake has joined the channel [16:44] Leonidas has joined the channel [16:46] Hanse has joined the channel [16:46] Nomon has joined the channel [16:46] balaa has joined the channel [16:47] steffan has joined the channel [16:49] Mrfloyd has joined the channel [16:49] avalanche123 has joined the channel [16:49] hij1nx has joined the channel [16:49] thoolihan has joined the channel [16:50] CIA-110: node: 03Mariano Iglesias 07v0.4 * r075605f 10/ src/node.h : Adding missing v8 namespace to NODE_PSYMBOL - http://bit.ly/iM4pPT [16:51] CIA-110: node: 03Mariano Iglesias 07master * r8044a61 10/ src/node.h : Adding missing v8 namespace to NODE_PSYMBOL - http://bit.ly/jAcvJG [16:51] CIA-110: node: 03Paul Querna 07master * r29f4bf8 10/ (4 files in 3 dirs): Merge branch 'master' of github.com:joyent/node - http://bit.ly/lRjPvl [16:51] `3rdEden has joined the channel [16:52] CIA-110: node: 03Paul Querna 07master * rb68a720 10/ lib/fs.js : [16:52] CIA-110: node: Merge pull request #1033 from jhorstmann/patch-1 [16:52] CIA-110: node: Fixed a typo in a comment in fs.js: "realpatch" -> "realpath" - http://bit.ly/lphxXF [16:52] brianseeders has joined the channel [16:53] avalanche123 has joined the channel [16:53] dgathright has joined the channel [16:53] aliem has joined the channel [16:53] CIA-110: node: 03Jörn Horstmann 07v0.4 * r8cecc50 10/ lib/fs.js : Fixed a typo in a comment: "realpatch" -> "realpath" - http://bit.ly/mflHy1 [16:54] dshaw_ has joined the channel [16:55] sethetter has joined the channel [16:55] mediahack has joined the channel [16:56] matbee has joined the channel [16:58] hellp has joined the channel [16:58] m0s has joined the channel [16:58] saurabhverma has joined the channel [16:58] Aria has joined the channel [16:59] jborst has joined the channel [16:59] djcoin has joined the channel [16:59] grekko has joined the channel [17:00] ryanfitz has joined the channel [17:00] CIA-110: node: 03Joe Shaw 07master * rf8f7606 10/ doc/api/dgram.markdown : Fix a misnamed argument; multicastAddress -> multicastInterface. Closes #1237. - http://bit.ly/mN0YMn [17:00] Xano has joined the channel [17:01] CIA-110: node: 03Joe Shaw 07v0.4 * r7962eee 10/ doc/api/dgram.markdown : Fix a misnamed argument; multicastAddress -> multicastInterface. Closes #1237. - http://bit.ly/kdBrLL [17:03] leahculver has joined the channel [17:06] Skola: is there something known to make Vows spit out ✗ Errored » callback not fired [17:06] Skola: ? [17:06] Skola: my tests pass just fine, yet it still give this error for each of my tests [17:07] kkaefer has joined the channel [17:08] avalanche123 has joined the channel [17:10] indutny: pquerna: one sec [17:10] indutny: not really, I was busy :) [17:12] pquerna: okay [17:12] pquerna: i'll try play with it [17:12] pquerna: that patch + tls-psk are the only big tls ones around.. [17:13] indutny: pquerna: cool [17:13] indutny: feel free to ask me anything [17:14] pquerna: i might want to change it to make only the first tls write [17:14] pquerna: be 1400 [17:14] Poetro1 has joined the channel [17:15] pquerna: but this is a reasona to benchmark it :) [17:15] pquerna: if its bad, make the first one 1400, the rest normal [17:15] gkmngrgn has joined the channel [17:15] pquerna: also i wish someone like google would release a paper on the most common MTUs [17:16] indutny: :) [17:16] indutny: even with that patch [17:17] indutny: SS is pretty slow in node.js [17:17] indutny: SSL* [17:17] indutny: I dunno why [17:17] Skola: Calvin why? [17:17] Skola: :[ traitor [17:17] colinclark has joined the channel [17:17] pquerna: good reason to benchmark it anyways then [17:18] carpeliam has joined the channel [17:18] pquerna: no one has really looked at optimizing it [17:19] Schmallon has joined the channel [17:19] unomi: It seems a bit odd to me that it isn't more of a focus [17:20] unomi: don't all sites redirect to https almost as a matter of course these days? [17:20] pquerna: yes, but most people arent using node.js as their edge server there [17:20] pquerna: (yet) [17:21] unomi: thats fair [17:21] mu_: I was planning on running my app under https though :) [17:22] catb0t has joined the channel [17:22] srid has joined the channel [17:22] srid has joined the channel [17:22] AvianFlu has joined the channel [17:24] systemfault has joined the channel [17:24] systemfault has joined the channel [17:24] JKarsrud: how do you set express to run in production mode? [17:25] tjholowaychuk: JKarsrud NODE_ENV=production [17:25] ngs has joined the channel [17:25] JKarsrud: cool thanks :) [17:25] tjholowaychuk: or app.set('env', 'production') [17:25] tjholowaychuk: but ideally NODE_ENV [17:26] JKarsrud: ofc :) [17:26] catb0t has joined the channel [17:27] pifantastic has joined the channel [17:28] MooGoo: catb0t say something [17:28] MooGoo: .. 6 [17:28] catb0t: 136 [17:28] MooGoo: meh [17:28] catb0t: something obvious that was wrong say [17:29] levitz has joined the channel [17:30] zackattack has joined the channel [17:32] jonasen has joined the channel [17:32] gazumps has joined the channel [17:32] Hadaka has joined the channel [17:32] mediahack has joined the channel [17:33] muk_mb has joined the channel [17:33] muk_mb: Skola: I just had similar problems, can I see the test in question? [17:35] levitz has left the channel [17:36] ryanmcgrath has joined the channel [17:36] sechrist has joined the channel [17:38] sechrist: banned from #debian now, lovely. [17:39] neurone-2337 has joined the channel [17:41] Kingdutch: What'd you do [17:41] sechrist: I guess not using an irc bouncer is a crime [17:41] TooTallNate has joined the channel [17:41] sechrist: throughout the day I close my laptop lid and disconnect [17:41] Kingdutch: >.> [17:41] Kingdutch: some channels just have pricks as mods [17:41] sechrist: hahaha [17:42] systemfault: **cough**##C**cough** [17:42] sechrist: "You need to use IRSSI!" [17:42] ryanfitz has joined the channel [17:42] sechrist: "The client of the FUTURE!" [17:42] Kingdutch: No [17:42] sechrist: ahahahaha [17:42] Kingdutch: I'll use the client I damn well want to use [17:42] mediahack has joined the channel [17:42] Kingdutch: If I want to telnet into IRC [17:42] Kingdutch: you should respect that [17:42] sechrist: lmao [17:42] Kingdutch: Takes a lot more typing, but that's my problem, not yours [17:42] sechrist: Kingdutch++ [17:42] v8bot: sechrist has given a beer to Kingdutch. Kingdutch now has 1 beers. [17:43] CIA-110: node: 03Mariano Iglesias 07master * r02ebcd8 10/ src/node.h : Adding missing v8 namespace to NODE_PSYMBOL - http://bit.ly/j9jTz4 [17:43] CIA-110: node: 03Ben Noordhuis 07master * r20d7c47 10/ doc/api/path.markdown : [17:43] CIA-110: node: Document that `path.join()` and `path.resolve()` ignore non-string arguments. [17:43] CIA-110: node: Fixes #514. - http://bit.ly/jlrQcI [17:43] CIA-110: node: 03Jörn Horstmann 07master * rff50310 10/ lib/fs.js : Fixed a typo in a comment: "realpatch" -> "realpath" - http://bit.ly/jlcnL2 [17:43] CIA-110: node: 03Joe Shaw 07master * rf6fa20f 10/ doc/api/dgram.markdown : Fix a misnamed argument; multicastAddress -> multicastInterface. Closes #1237. - http://bit.ly/kpfjDe [17:43] Kingdutch: Woot : ) [17:43] Murvin has joined the channel [17:43] jesusabdullah: I am a fan of irssi [17:43] Kingdutch: Haven't had one of those all day [17:43] jesusabdullah: but I understand it's not for everybody [17:43] jobim: jesusabdullah: Same here. [17:43] Kingdutch: I've never seen irssi tbh [17:43] jesusabdullah: even though it SHOULD be because it's obviously the best irc client [17:43] Kingdutch: Used to use mIRC [17:43] Kingdutch: Now on x-caht [17:43] Kingdutch: x-chat* [17:43] Kingdutch: which takes up a lot less screen space [17:43] sechrist: I like the entire concept of irssi, except I actually like more color depth than terminals provide.. and thumbnails. [17:43] jesusabdullah: Give it a shot, Kingdutch. It's nifty. [17:43] systemfault: irssi alone is meh at best. [17:43] jesusabdullah: sechrist: BLOAT [17:43] jesusabdullah: systemfault: WHAT [17:44] Kingdutch: woa irssi actually calls itself the client of the future [17:44] Kingdutch: lol [17:44] sechrist: can I have something to where I can click a link in irssi and an x-forwarded window of the image pops up? [17:44] Kingdutch: I should write an IRC client in node.js [17:44] mediahack has joined the channel [17:44] Kingdutch: just for shiz ń giggle [17:44] systemfault: jesusabdullah: irssi shines with screen and ssh imho [17:44] Kingdutch: I actually did an IRc bot in Node.Js [17:44] jesusabdullah: Oh, yeah, that's true [17:44] systemfault: jesusabdullah: Alone.. it's.. just a console client, no real advantage to xchat. [17:44] sechrist: Wait, is anybody doing graphical enhancements of irssi with x-forwarding? [17:44] jesusabdullah: well, except that it's more awesome [17:44] systemfault: :D [17:44] jesusabdullah: sechrist: x-forwarding? [17:45] Murvin: hmm npm is quite slow today [17:45] rohv: Kingdutch: nice! I'm thinking about doing the same thing. :) [17:45] alessio_alex has joined the channel [17:45] sechrist: jesusabdullah: yeah the magic that lets you run remote guis on servers, and see and click them locally [17:45] jesusabdullah: Oh [17:45] sechrist: aka how I do my git merges [17:45] jesusabdullah: Yeah, people have totally done that [17:45] sechrist: meld ftw [17:45] jesusabdullah: well [17:46] mange has joined the channel [17:46] jesusabdullah: or at least, there's a graphically-enhanced irssi-ish client somewhere out there [17:46] jesusabdullah: I forget what it's called [17:46] jesusabdullah: and there are tons of ways to rock x forwarding [17:46] Kingdutch: rohv: My first Node.JS program, could probably use improvement: http://pastebin.com/qyLfj4rv [17:46] Xano has joined the channel [17:46] jesusabdullah: I see some of you are talking about writing an irc client for node. [17:47] jesusabdullah: Let me put in my $0.02. [17:47] jesusabdullah: First: Use https://github.com/martynsmith/node-irc [17:47] stalled has joined the channel [17:47] pickels_ has joined the channel [17:47] jesusabdullah: Second: Web-based, right? [17:47] jesusabdullah: Third: Please do this. :'( [17:47] Kingdutch: irssi looks too much like a console for me, as much as I like terminals it's not what you should use to IRC imo [17:47] Kingdutch: jesusabdullah: No, CLI based [17:47] Kingdutch: And why use node-irc [17:47] Kingdutch: I don't like modules [17:47] jesusabdullah: WHAT [17:47] Kingdutch: I like to do everything myself :X [17:48] jesusabdullah: WHAT [17:48] chjj: rof [17:48] chjj: l [17:48] Kingdutch: I know, it's tons more work, but makes me learn so much more [17:48] chjj: jesusabdullah is freaking out [17:48] jesusabdullah: Code reuse is a very important skill [17:48] Kingdutch: I learned more from the IRC RFC than I would ever learn from a library [17:48] Kingdutch: Well yeah [17:48] Kingdutch: And I can [17:48] jesusabdullah: and node-irc is a very well put together library [17:48] tmpvar has joined the channel [17:48] CIA-110: libuv: 03Ryan Dahl 07master * r736dd8b 10/ (config-mingw.mk config-unix.mk): [17:48] CIA-110: libuv: Remove -Wno-variadic-macros [17:48] CIA-110: libuv: Helps #63. [17:48] CIA-110: libuv: Fixes #80. - http://bit.ly/iP1y72 [17:48] Kingdutch: But not if I'm learning something new [17:48] jesusabdullah: Well, you're learning about code reuse ;) [17:48] Kingdutch: Seen way too many libraries that abstract so much I need to fight them [17:48] Kingdutch: >.> [17:48] sechrist: I like MacVim [17:49] sechrist: if there's a MacIrssi with hax like MacVim [17:49] sechrist: I'd use that shit [17:49] jesusabdullah: I like the api for node-irc actually [17:49] hide_ has joined the channel [17:49] jesusabdullah: it's quite nice [17:49] Kingdutch: And if I'm fighting the library I might as well get down 'n dirty [17:49] jesusabdullah: I promote node-irc because there is another node irc library called jsirc that has the problems you've described [17:50] willwhite has joined the channel [17:50] Kingdutch: Hmm libraries are still open to opinion [17:50] chjj: i understand kingdutch, i like the feeling of 0 dependencies, its a nice clean feeling [17:50] Kingdutch: And I just pasted my littel irc bot [17:50] janne has joined the channel [17:50] Kingdutch: Looking into creating a PHP like language at the moment [17:50] atiti_ has joined the channel [17:50] jesusabdullah: >_< [17:50] Kingdutch: Wel [17:50] Kingdutch: Well [17:50] Kingdutch: not PHP [17:50] chjj: nevermind, i dont understand kingdutch [17:50] _elek has joined the channel [17:50] Kingdutch: chjj: you actually did understand me [17:50] Kingdutch: I've switched topics [17:50] Kingdutch: :X [17:50] jesusabdullah: I am very much a fan of modules, especially with how easy npm makes it [17:50] chjj: ;p [17:51] MikhX has joined the channel [17:51] SubStack_ has joined the channel [17:51] maru_cc_ has joined the channel [17:51] jbergstr1em has joined the channel [17:51] lstoll_ has joined the channel [17:51] Kingdutch: Time for propaganda: I think the way we do HTML, PHP and JS is wrong [17:51] fson__ has joined the channel [17:51] PrgmrBill^ has joined the channel [17:51] chjj: yeah im weird with that too, i only use npm to publish stuff, everything else i install by hand [17:51] jesusabdullah: >_< [17:51] oscarkil1ed has joined the channel [17:51] mediacod1r has joined the channel [17:51] clee_ has joined the channel [17:51] vid___ has joined the channel [17:51] Atm0z has joined the channel [17:51] neurone-1337 has joined the channel [17:51] arkx_ has joined the channel [17:51] ekryski1 has joined the channel [17:51] Mrfloyd_ has joined the channel [17:51] rohv_ has joined the channel [17:51] bsutt has joined the channel [17:51] mikegerw1tz has joined the channel [17:51] jesusabdullah: My housemate is the other way. If it can be abstracted away, it becomes a module. [17:52] PierreM_ has joined the channel [17:52] jesusabdullah: Like, at all. [17:52] Sembiance has joined the channel [17:52] cryptix has joined the channel [17:52] seawise has joined the channel [17:52] MooGoo has joined the channel [17:52] svend_ has joined the channel [17:52] chjj: AHHHH [17:52] franck34 has joined the channel [17:52] whoops has joined the channel [17:52] WillB has joined the channel [17:52] Sebastien-L has joined the channel [17:52] AvianFlu has joined the channel [17:52] maushu has joined the channel [17:52] metadaddy has joined the channel [17:53] cjm has joined the channel [17:53] djcoin has joined the channel [17:53] Kingdutch: Netsplit lol [17:53] jesusabdullah: SOMETHING [17:54] Kingdutch: I guessed as much when I saw that many people join [17:54] Kingdutch: But yeah [17:54] Kingdutch: As I said [17:54] Kingdutch: The way we do HTML, PHP and JS is wrong [17:54] jesusabdullah: What do you mean by that? [17:54] ryanfitz has joined the channel [17:54] jesusabdullah: brb--I'll read up. [17:54] Kingdutch: I can send you a link to the rant on my blog or explain it briefly here :') [17:54] jesusabdullah: I'll read the link [17:54] chjj: explain briefly please [17:54] jesusabdullah: and write a scathing reply [17:55] jesusabdullah: (I kid, I kid) [17:55] jesusabdullah: (But I probably will disagree) [17:55] Kingdutch: Those two links [17:55] chjj: explain briefly please [17:55] chjj: ! [17:55] Kingdutch: Yeh let me type lol [17:55] chjj: k [17:55] gtramont1na has joined the channel [17:55] Kingdutch: With PHP at the moment we're moving to frameworks that implement OOP patterns and ways of working (think codeigniter, kohana etc.) [17:56] Kingdutch: Then we're using Javascript for the interactivity trying to cater to both search engines and people using htel atest browsers [17:56] chjj: ok, well php is wrong, and php does oo wrong [17:56] Kingdutch: Right, which I explain in a post ^ [17:56] Kingdutch: ^^ [17:57] seivan has joined the channel [17:57] Kingdutch: Anyway, euh we shouldn't be having to use nifty tricks to seperate logic from views and to be able to use OOP [17:57] Kingdutch: Since PHP was never made for OO programming [17:57] chjj: yes ^ [17:57] sechrist: PHP5 THOUGH! [17:57] sechrist: IT WORKS!!!111one [17:57] chjj: php5 is bad city [17:57] sechrist: IT HAS A GARBAGE COLLECTOR [17:57] tjholowaychuk: \php\is\sweet [17:57] Kingdutch: I think it's time for something new that by default enforces the separation of view and controller [17:58] sechrist: (a simple reference sweep GC, but a GC nonetheless!) [17:58] Kingdutch: And lets us use OOP to easily extend and overwrite certain functions [17:58] sechrist: Kingdutch: express [17:58] muk_mb1 has joined the channel [17:58] AvianFlu: I'm told there are still core php functions that will dump your database credentials on error [17:58] Kingdutch: While the server takes care of what should be enhanced with JS and what should be normal funcitonality [17:58] sechrist: Everything that uses Blue Jeans brand names in software is successful. [17:58] jesusabdullah: I saw an article the other day with the title, "Separation of Concerns is Bullshit" [17:58] sechrist: Express jeans are hawt [17:59] Lorentz has joined the channel [17:59] Kingdutch: I don't see myself writing websites usign express [17:59] jesusabdullah: Why not? [17:59] jamescarr has joined the channel [17:59] jesusabdullah: It's very nice [17:59] Kingdutch: For the simple fact that I have to worry myself with the delivery instead of the functionality [17:59] Kingdutch: I'm not saying it's very nice [17:59] jesusabdullah: what [17:59] Kingdutch: I'm not saying it's not very nice * [17:59] tjholowaychuk: that's what drupal etc is for [17:59] chjj: jesusabdullah's head is going to explode [18:00] jesusabdullah: What do you mean, delivery vs. functionality? [18:00] jbergstroem has left the channel [18:00] sechrist: In The Current State Of Node, you spend more time coding than writing content, as opposed to deploying a lamp stack, putting a LB in front of it, and having a nice blog. [18:00] jesusabdullah: I always think it's weird when people go for the stock http client when they could be using something like express [18:00] MrNibbles has joined the channel [18:00] Kingdutch: jesusabdullah: The separation of concerns is subject to opinion [18:00] jesusabdullah: I agree, definitely [18:00] leahculver has joined the channel [18:00] leahculver has joined the channel [18:00] chjj: good thing i like coding [18:00] sechrist: chjj++ [18:00] v8bot: sechrist has given a beer to chjj. chjj now has 4 beers. [18:01] hij1nx has joined the channel [18:01] Kingdutch: Well, jesusabdullah My problem with express is the fact that I need to be concerned with routes etc. [18:01] Kingdutch: I think [18:01] jesusabdullah: How else are you going to do that sort of thing? [18:01] tjholowaychuk: Drupal [18:01] chjj: concerned with routes? [18:01] towski has joined the channel [18:02] tjholowaychuk: Kingdutch if you want routes to be more like rails as far as config goes, you can abstract and do: app.get('/user/:id', user.show) [18:02] tjholowaychuk: etc [18:02] jesusabdullah: Also: Express has these features, but you can use it just like connect really, without invoking any of the extra toys, if you wish [18:02] Kingdutch: http://pastebin.com/NHgjGdkQ [18:02] Kingdutch: I want that to be possible [18:02] Kingdutch: Or something along those lines [18:03] Kingdutch: Where the default JS function alert would be called [18:03] tjholowaychuk: rails tried that [18:03] sivy has joined the channel [18:03] tjholowaychuk: and it failed [18:03] tjholowaychuk: let js be js [18:03] Kingdutch: And if not available a page would be loaded with the alert displayed in some other way [18:04] Kingdutch: Which means I just concern myself with the behaviour and the program (or server if you will) concerns itself with whether or not the client has JS and how to deliver that functionality [18:05] robertfw has joined the channel [18:05] jesusabdullah: I don't think that's quite the right way to do something like that, though I understand some of the motivations [18:06] Kingdutch: Well that's my biggest problem at the moment [18:06] tbassetto has joined the channel [18:06] Kingdutch: I know what I want [18:06] Kingdutch: Just not how to formulate it [18:06] jesusabdullah: You *may* find browserify interesting, then. It lets you use npm modules in the browser [18:06] Kingdutch: Plus, it doesn't quite work with html [18:06] AvianFlu: browserify ftw [18:07] tjholowaychuk: reality is css+html+js are _very_ coupled, so for now you have to live with that [18:07] jesusabdullah: You could probably *build* something like that with, say, dnode, browserify and/or harmony proxies [18:07] jesusabdullah: It's true, you can't really get around the fact that they're kinda entangled [18:07] Kingdutch: well thatd mess up search engines that dont support js [18:07] jesusabdullah: Is SEO really your biggest concern? [18:07] dnjaramba has joined the channel [18:08] Swizec has joined the channel [18:08] Kingdutch: No, but if you want to make a general usable framework then it should be because for many people it is [18:09] alessio_alex has joined the channel [18:09] jesusabdullah: I'd worry more about the features that make it "what you want" first, especially with regards to API, and then try to take care of issues like automatic noscript fallbacks, etc. [18:09] adambeynon has joined the channel [18:09] Kingdutch: That'd be a good approach [18:09] tjholowaychuk: Kingdutch that's a lot of work, even 8 year old frameworks like drupal still struggle with that [18:09] Kingdutch: But the write once deploy for everyone is pretty much a core feature [18:09] Kingdutch: tjholowaychuk: That's because frameworks like drupal try to do stuff like that using PHP [18:10] Kingdutch: which was never designed for the stuff they're trying to pull-off [18:10] tjholowaychuk: im not sure php was ever designed [18:10] Aria: It really wasn't. Totally organic, and it shows. [18:10] Kingdutch: My point exactly [18:10] chjj: php wasnt designed, things were just added, and added, and added [18:10] AvianFlu: it was originally a language for hobbyists, hence many problems making it THE LANGUAGE [18:11] jesusabdullah: Even if the language sucks, though, I feel like a "good" coder comfortable with the language should be able to work around these problems [18:11] jesusabdullah: in the case of php at least [18:11] Kingdutch: Anyway if you'd write more abstract code like the little hello world I pasted [18:11] stepheneb has joined the channel [18:11] Kingdutch: You could just write a new template for a mobile [18:11] Kingdutch: and let the server serve that up automatically if needed [18:11] Kingdutch: True [18:12] tjholowaychuk: easy with js, just toString() the server-side function [18:12] Kingdutch: Wait wut/ [18:12] Kingdutch: Wait wut?* [18:12] chjj: yeah, Function.prototype.toString can be fun [18:12] AvianFlu: yeah, it shows you the code of the function [18:12] Kingdutch: What'd I just mis? [18:12] AvianFlu: and you can change it [18:12] fattytuna has joined the channel [18:12] Kingdutch: miss* [18:12] AvianFlu: however, be careful [18:13] muk_mb has joined the channel [18:13] AvianFlu: cause it can go boom on you [18:13] chjj: v8: (function() { console.log('hello world'); }) + ''; [18:13] v8bot: chjj: "function () { console.log('hello world'); }" [18:13] tjholowaychuk: sucks we dont have toAST() or something [18:13] AvianFlu: chjj++ [18:13] v8bot: AvianFlu has given a beer to chjj. chjj now has 5 beers. [18:13] chjj: im getting beers left and right [18:13] AvianFlu: you get a beer for the implicit toString() [18:13] Kingdutch: ACTION is lost so he scurries off [18:14] Spion has joined the channel [18:14] Kingdutch: aaaah [18:14] Kingdutch: now I see it [18:14] Kingdutch: >.< lol [18:14] chjj: ah, toAST would be amazing [18:14] AvianFlu: hey substack, cough cough [18:14] natos has joined the channel [18:15] natos has left the channel [18:15] seawise_ has joined the channel [18:15] Squax has joined the channel [18:15] Viehzeug has joined the channel [18:15] jesusabdullah: I think he's asleep AvianFlu [18:15] jesusabdullah: He pulled a long night haxxing pretty sure [18:16] Me1000 has joined the channel [18:16] AvianFlu: irrelephant; just make sure to put the toAST() idea into his head [18:16] jesusabdullah: toAST() XD [18:16] jesusabdullah: cute [18:16] Squax: any socket.io experts about I'm having some problems with internet explorer? or can anyone point me to a wiki with common gotchas? [18:16] AvianFlu: you could call the module 'toast', LOL [18:16] AvianFlu: or node-toaster [18:17] jesusabdullah: indeed [18:17] systemfault has joined the channel [18:17] systemfault has joined the channel [18:17] te-brian has joined the channel [18:17] shimondoodkin has joined the channel [18:17] chjj: common gotchas with ie: 1. youre using ie, 2. youre not using another browser, 3. youre using ie [18:18] cafesofie has joined the channel [18:18] jesusabdullah: Squax: I'm no socket.io expert, but I can suggest this: What kinda errors are you seeing in the javascript console? [18:18] jesusabdullah: Actually, I saw newer versions of IE have a pretty nice js console [18:18] jesusabdullah: shitty js, nice console [18:19] chjj: ie doesnt give errors or stack traces, they jsut say, "cannot access property of null, or undefined, or zero, or..string? were not really sure" [18:19] jesusabdullah: ah [18:19] jesusabdullah: I see [18:19] matwill has joined the channel [18:19] Kingdutch: Am I stupid for asking what exactly toAST would do? [18:20] Squax: No errors, have a pretty light test at: http://50.19.224.180/index.html [18:20] chjj: give you the ast in an object probably [18:20] jesusabdullah: It would CLEARLY do what node-burrito does now [18:20] Kingdutch: Whatś the AST? [18:20] tjholowaychuk: Kingdutch give you an abstract syntax tree of the function's contents [18:20] Kingdutch: aaaah [18:20] chjj: abstract syntax tree [18:20] chjj: yueah [18:20] Kingdutch: http://pastebin.com/NHgjGdkQ [18:20] Kingdutch: how's that? [18:20] SubStack_: chjj, tjholowaychuk: https://github.com/substack/node-burrito [18:20] tjholowaychuk: native would be nice so you dont need a bunch of lame deps [18:20] Kingdutch: wait I fail [18:20] tjholowaychuk: no i know [18:20] tjholowaychuk: i dig it [18:20] jesusabdullah: shoulda named it toast, SubStizzy [18:21] tjholowaychuk: just wish js had it native [18:21] Kingdutch: I meant htis: http://pastebin.com/d32Hm8m9 [18:21] WrErase has joined the channel [18:21] robertfw has joined the channel [18:21] muk_mb1 has joined the channel [18:22] michael has joined the channel [18:22] jesusabdullah: SubStack_: There's coffee [18:23] Squax: hm, my problem seems to be a cross domain issue, I'm using a proxy, anyone know the correct workaround? [18:24] kakamba has joined the channel [18:24] bronson has joined the channel [18:24] jesusabdullah: moar proxies? [18:25] Kingdutch: jesusabdullah: any comment on http://pastebin.com/d32Hm8m9 = [18:25] chjj: Kingdutch should say he doesnt like node now, i want to see jesusabdullah go crazy [18:25] Kingdutch: ? [18:26] Kingdutch: lol [18:26] kakamba has left the channel [18:26] Kingdutch: chjj: My mom learned me not to lie :O [18:26] Kakamba has joined the channel [18:26] jesusabdullah: Kingdutch: what language is that? Surely not javascript [18:27] jesusabdullah: But, if it does what you want, I'd say go for it [18:27] Kingdutch: That's my invented stuff :') [18:27] jesusabdullah: Time to language write I guess, huh? [18:27] n2liquid has joined the channel [18:28] Kingdutch: jup [18:28] yhahn has joined the channel [18:28] chjj: so is `this` a pointer or is `->` how you access any member? [18:28] jesusabdullah: I do wonder, though, if you could write a similar edsl in js instead of having to write a new language [18:28] chjj: because if its the latter, i dont like! [18:28] Squax: ugh, turns out, it can connect using the public dns alright, but not by the same ip as the proxy [18:29] jesusabdullah: chjj: I assumed it was the latter. [18:29] chjj: yeah me too [18:29] jesusabdullah: Have you ever looked at R code? [18:29] Kingdutch: I assumed the same [18:29] jesusabdullah: I think R uses -> to access members [18:29] Kingdutch: but seeing as I'm pretty much just looking int owhat syntax should be used [18:29] Kingdutch: That's subject to change [18:29] Kingdutch: Hence why I asked for comments [18:29] jesusabdullah: but it gets crazier because in R, variable.names.look.like.this [18:30] Kingdutch: I don't like HTML too much, I want HBOX and VBOX with an OOP way to define behaviour [18:30] jesusabdullah: Kingdutch: Mine would be to try and write an edsl before you went all out with a totally new syntax [18:30] Kingdutch: Which is what I want to accomplish with this 'new' 'language' [18:31] arnee has joined the channel [18:31] Kingdutch: I'd have to figure out what exactly an embedded domain specific language is [18:31] Kingdutch: but yeah [18:31] FireFly|n900 has joined the channel [18:32] sfragis has joined the channel [18:32] jesusabdullah: Kingdutch: dsl is "domain specific language," meaning it's built with a specific purpose in mind [18:32] jesusabdullah: For example, R is a DSL for statistical computation [18:32] jesusabdullah: matlab is a DSL for linear algebra [18:32] jesusabdullah: and so on [18:32] Kingdutch: Right [18:33] Kingdutch: but in order to know what it should look like wouldn't you need like a sample program? [18:33] jtsnow has joined the channel [18:33] jesusabdullah: an EDSL is an "embedded DSL" meaning that it's implemented using the tools in a given general purpose language instead of inventing its own parser [18:33] jesusabdullah: and is "embedded" in another language runtime [18:33] Kingdutch: Ah [18:33] jesusabdullah: Often, these DSLs use method chains to do what they want, as an example [18:33] Kingdutch: So basically [18:34] fly-away has joined the channel [18:34] Kingdutch: Take the PHP syntax or something or maybe C++ would be better [18:34] CIA-110: node: 03Ryan Dahl 07master * r38f3bf6 10/ lib/net_uv.js : [18:34] CIA-110: node: net_uv: add isIP [18:34] CIA-110: node: Issue #1270: Doesn't completely pass test/simple/test-net-isip.js yet. - http://bit.ly/kDTGBb [18:34] Kingdutch: And implement that using node [18:34] Kingdutch: To receive the functionality I want? [18:34] jesusabdullah: More like, write some javascript until you have some js constructs that more or less do what you want [18:35] jesusabdullah: You're limited by valid javascript syntax, but I think js's syntax is flexible enough that you can do interesting things [18:35] jesusabdullah: I actually have an example of a javascript edsl [18:35] jesusabdullah: hold on [18:35] jesusabdullah: https://github.com/jed/fab [18:35] jesusabdullah: Look at the example code [18:35] jonaslund has joined the channel [18:35] jesusabdullah: I'm not saying fab has the "right idea" necessarily [18:36] jesusabdullah: but I *will* say that it really doesn't even look like js anymore, and yet it *is* javascript [18:36] stalled has joined the channel [18:36] jesusabdullah: It's a good example of what you can do within the confines of the language [18:36] systemfault: I had fun with EDSL with C++ :P [18:36] Kingdutch: I'll take a look at it :) [18:36] googol has joined the channel [18:36] jesusabdullah: systemfault: Oh? Tell me more! [18:37] jesusabdullah: Tell me more, tell me more! Was it love at first sight?? Tell me more, tell me more, did she put up a fight?? [18:37] traph has joined the channel [18:37] iFire` has joined the channel [18:37] systemfault: jesusabdullah: I just had fun with boost::proto [18:37] jesusabdullah: Summer lovin', havin' a blaast [18:37] jesusabdullah: ah, boost [18:37] jesusabdullah: boost scares me [18:37] jesusabdullah: like, not that it's bad [18:37] jesusabdullah: or anything [18:37] jesusabdullah: well, I should rephrase [18:38] jesusabdullah: c++ scares me [18:38] systemfault: It is :/ [18:38] jesusabdullah: and boost is kinda a big thing [18:38] Aria has joined the channel [18:38] Kingdutch: C++ is cool [18:38] Kingdutch: I'm no fan of boost [18:38] jesusabdullah: That's what the C stands for right?? "cool"? [18:38] systemfault: A lot of the good things in boost were brought to C++0x [18:38] Kingdutch: One of the causes of my library trauma [18:38] jesusabdullah: So, c++ is cool++ [18:39] jesusabdullah: I'd imagine that boost is both good and bad [18:39] Kingdutch: If I ned 1 thing from boost you usually need more [18:39] Kingdutch: =| [18:39] Kingdutch: It does have some nice shortcuts in there though [18:39] Kingdutch: To avoid all the platform dependant socket stuff e.g. [18:39] systemfault: ASIO.. right [18:39] jesusabdullah: My impression is that c++ is the sort of thing where with some of these libraries, you end up having to embrace the whole thing because of how it "wrangles in" the underlying language [18:40] jesusabdullah: Like, you just want the sweet boots but end up with the whole cowboy [18:40] systemfault: :P [18:40] Kingdutch: Ghehe [18:40] Kingdutch: That's not C++ though [18:40] Kingdutch: that's some of the libraries [18:40] Kingdutch: C++ in itself is a nice language and fun to do stuff with [18:41] ph^ has joined the channel [18:41] systemfault: C++ isn't that difficult when you leave the template metaprogramming aside :P [18:41] tjholowaychuk: and when people dont abuse operator overloading [18:41] topaxi has joined the channel [18:42] tjholowaychuk: or, just dont use it at all :D [18:42] jesusabdullah: But see, you're all just choosing a subset of the language to concern yourselves with [18:42] lukstr: tjholowaychuk: you would LOVE boost::spirit [18:42] systemfault: tjholowaychuk: Operator overloading is wonderful when used "when it should"... basically on value objects [18:42] jesusabdullah: They're just different approaches to the same problem: c++ is big. [18:42] tjholowaychuk: i hate that stuff. date.add(anotherDate) wont kill you [18:42] chjj: lol [18:42] materialdesigner has joined the channel [18:42] shinuza has joined the channel [18:42] systemfault: tjholowaychuk: Just unecessary verbose. [18:42] tjholowaychuk: ambiguity bites a lot more than typing a tiny bit more [18:43] jesusabdullah: That's why tj likes javascript, obviously: Absolutely no operator overloading. [18:43] lukstr: systemfault: you can never be too verbose :) [18:43] chjj: lol [18:43] tjholowaychuk: yeah i'll be pissed if/when we get that [18:43] jesusabdullah: You can always just write really short method names [18:43] jesusabdullah: d.a('2010/01/01') [18:43] chjj: ew [18:43] jesusabdullah: well, yeah [18:43] tjholowaychuk: if typing really is your bottleneck you're a machine [18:43] systemfault: a.add(b).mul(b.div(230)); [18:44] jesusabdullah: agreement [18:44] killfill: hi [18:44] jesusabdullah: a['+'](b)['*'](b['/'](230)) [18:44] systemfault: Operators are just cleaner when used properly.. [18:44] jesusabdullah: I like the way haskell does it [18:45] systemfault: Haskell++ [18:45] v8bot: systemfault has given a beer to Haskell. Haskell now has 2 beers. [18:45] jesusabdullah: Any function named entirely with symbols is automatically inline [18:45] AvianFlu: most things are pretty in haskell [18:45] killfill: anyone tried http://www.rafaljonca.org/d/nodejs-windows ?.. cannot make npm work.. [18:45] jesusabdullah: and you just write different functions for different types [18:45] jesusabdullah: <*> for example [18:45] jesusabdullah: whatever that does <_< [18:46] chjj: i tried to write some dom traversal methods like that once: el['>']('footer')[' ']('a'), then i dropped it 2 seconds later cause it looked like shit [18:46] jesusabdullah: XD [18:46] jesusabdullah: yeah [18:46] jesusabdullah: Maybe write another function: traverse(el,'>','footer',' ','a') [18:47] jesusabdullah: Not sure if that's better ;) [18:47] chjj: well at that point ill just write a selector engine [18:47] jsChr has joined the channel [18:47] jesusabdullah: Or even, Traverse(el)('>')('footer')('a') [18:47] gazumps has joined the channel [18:47] jesusabdullah: That look *okay* [18:47] chjj: the whole point of the other way was to access the traversal methods directly [18:47] jesusabdullah: I see. [18:47] chjj: instead of doing el.child('footer').descendant('a') etc [18:48] jesusabdullah: Yeah, that stuff's annoying [18:48] tjholowaychuk: that looks better [18:48] jesusabdullah: That it does [18:48] muk_mb1: hmm, people are talkin' in here, but not mongodb/redis channels, bummer [18:48] systemfault: tjholowaychuk has the soul of a Java programmer :) [18:48] chjj: yeah thats why i dropped the combinator way [18:49] nnMode has joined the channel [18:49] tjholowaychuk: pff [18:49] chjj: haha [18:49] jesusabdullah: You forgot the "script" [18:49] tjholowaychuk: i just like things to be simple [18:49] systemfault: Haha [18:49] jesusabdullah: I think I had a bad dream where I had to code in java <_> [18:49] muk_mb1: lol [18:49] jesusabdullah: I *almost* want java experience [18:49] jesusabdullah: because I've seen handy things *done* in java [18:49] AvianFlu: I used to have a recurring nightmare that involved java [18:49] systemfault: Dreaming of Java is NSFL [18:49] AvianFlu: then I stopped using eclipse [18:50] jesusabdullah: haha XD [18:50] mraleph has joined the channel [18:50] jesusabdullah: Yeah, I've also seen terrible things done with java [18:50] chjj: i was forced to learn java in cs, it was a nightmare [18:50] jesusabdullah: I think I'll learn clojure instead [18:50] jesusabdullah: eventually [18:50] chjj: i think i repressed it all by now [18:50] muk_mb1: jesusabdullah: we also got all kinds of useful science information out of human torture/experimentation, doesn't make it good :P [18:50] AvianFlu: I took AP Comp Sci in high school the last year it was still C++ :-P [18:50] jesusabdullah: True [18:50] m00p has joined the channel [18:50] jesusabdullah: My HS did not have programming [18:50] chjj: neither did mine [18:50] jesusabdullah: I could write basic on my calculator like a boss [18:51] darshanshankar has joined the channel [18:51] _fat has joined the channel [18:51] jesusabdullah: but I didn't really get into programming until college [18:51] jesusabdullah: Oh, I actually did take a java class [18:51] muk_mb1: good ol ti-83/89 programming [18:51] jesusabdullah: but it was CS101 [18:51] jesusabdullah: really terrible [18:51] AvianFlu: my first program was written in basic on an apple IIc I found in my attic when I was 9 [18:51] systemfault: Haha cool [18:51] chjj: people are always eager to teach java [18:51] jesusabdullah: Well [18:51] jesusabdullah: the problem with this class was [18:51] systemfault: Mine was.. basic on a TRS-80 :P [18:51] jesusabdullah: nobody in the class was ready for everything in java [18:51] jesusabdullah: so we learned the bare basics [18:51] robertfw: qbasic on some 386 dos [18:52] jesusabdullah: and the rest---all the io, for example---was "magic" [18:52] GicBash has joined the channel [18:52] jesusabdullah: "just write this, it's boilerplate" [18:52] jesusabdullah: "whaa---" [18:52] AvianFlu: yeah, I found a book on the BASIC interpreter before I turned on the comp, my first code ever was totally an infinite loop :P [18:52] jesusabdullah: Using something like ruby, python, javascript, or, well, anything you can just write console.log('hiworld') and have it run [18:52] jesusabdullah: would've been a lot better [18:53] AvianFlu: even C has easier IO than java [18:53] blkcat: java, eugh. [18:53] chjj: it would be interesting to see cs courses start at the lowest level and work their way up [18:53] chjj: start with raw op codes, move up to assembly, then c, etc [18:53] systemfault: Java has a million way to do IO.. [18:53] AvianFlu: my favorite 'hello world' is definitely x86 asm, I think it was ten lines XD [18:54] jesusabdullah: Ugh [18:54] jesusabdullah: that'd be painful [18:54] GicBash: i'm agree with you, AvianFlu, but java is crossplatform [18:54] jesusabdullah: So's javascript [18:54] jesusabdullah: and python [18:54] jesusabdullah: and ruby [18:54] muk_mb1: crossplatform = meh [18:54] GicBash: everything has good and bad side [18:54] AvianFlu: oh yeah, VM magic is always cool [18:54] systemfault: GicBash: In reality, it has never really been an advantage. [18:54] systemfault: Even Sun/Oracle stopped marketing Java for being crossplatform.. [18:55] GicBash: systemfault: what do you mean [18:55] leonh has joined the channel [18:55] jesusabdullah: I think it's an advantage, just not as big of one as people thought [18:55] systemfault: GicBash: I mean that being crossplatform is not really a selling point for Java. [18:55] jesusabdullah: because it's very difficult to make something truly "write once, run everywhere" [18:55] lukstr: C is crossplatform too :) [18:55] jesusabdullah: also, that^^ Most languages are "crossplatform" to a degree [18:56] systemfault: lukstr: You can't do anything interesting with C alone though :/ [18:56] GicBash: systemfault: yeah i'm agree with you but Java is a better than nothing [18:56] lukstr: systemfault: wat [18:56] jesusabdullah: I think java's VM/crossplatformness was more novel when it came out [18:56] systemfault: lukstr: To do anything interesting, you need to interact with the OS. [18:56] muk_mb1: systemfault: word [18:57] jesusabdullah: True [18:57] rauchg has joined the channel [18:57] systemfault: C itself doesn't support sockets... threads [18:57] systemfault: All these nice things are provided by the operating system. [18:57] lukstr: systemfault: sure, okay so I'll link to some widely used libraries that are cross platform [18:57] balaa has joined the channel [18:57] systemfault: lukstr: That's the way to go :) [18:59] lukstr: there are standard implementations for many things in C like there are in the JVM for each platform. [18:59] GicBash: systemfault: but that doesn't means that Java isn't a useful language now [18:59] lukstr: I don't buy into Java [18:59] GicBash: systemfault: for example HDFS that twitter works on [19:00] GicBash: now it's time for web 2.0 army: HTML5&CSS3&Javascript@server [19:00] systemfault: GicBash: Never said that java is not useful, Java(The JVM) is super fast. [19:01] lukstr: Java is just another layer of abstraction [19:01] lukstr: like all things [19:01] apanda has joined the channel [19:01] GicBash: systemfault: yeah i'm agree [19:01] bnoordhuis: so is c [19:01] bnoordhuis: so is assembler [19:01] lukstr: yes [19:01] systemfault: GicBash: The only thing that makes me cry about Java is how they literally fucked it with how they implemented generics. [19:01] systemfault: Type erasure was the worst idea EVER. [19:01] GicBash: systemfault:so do i [19:01] bnoordhuis: backwards compatibility [19:02] bnoordhuis: can't break all that wonderful 1.3. and 1.4 code [19:02] systemfault: bnoordhuis: Of course, we understand that :( [19:02] jesusabdullah: generics? [19:02] GicBash: systemfault:java is super fast even the twitter uses it [19:02] jesusabdullah: Oh, typestuffs [19:02] rajivn has joined the channel [19:02] jesusabdullah: It's true, the jvm is quite speedy [19:02] systemfault: But now, it fucks the language... and all the other languages that use the JVM (Clojure and Scala for example) [19:02] avalanche123 has joined the channel [19:02] jesusabdullah: I'm not a fan of java, really, but I do really like the jvm [19:03] GicBash: systemfault: who fucks the language??? [19:03] systemfault: GicBash: type erasure. [19:03] pHcF has joined the channel [19:03] chjj: you forgot JS, JS runs on the jvm! [19:03] chjj: :) [19:03] lukstr: ?! [19:03] GicBash: systemfault: i understand you :( [19:03] lukstr: ACTION slays chjj  [19:04] pt_tr has joined the channel [19:04] chjj: lol [19:04] systemfault: Haha [19:05] hippich has joined the channel [19:05] hippich has joined the channel [19:05] lukstr: GicBash: not sure HDFS is a good point to make [19:05] GicBash: lukstr: to make what ?? [19:05] threshold has joined the channel [19:05] lukstr: that java is fast? I t hought that's what you said one sec [19:06] systemfault: The JVM is super fast. [19:06] jesusabdullah: Actually, a lot of scientific code is written in java these days [19:06] jesusabdullah: that's how fast it is [19:06] lukstr: wasn [19:06] lukstr: jesusabdullah: heh, a lot of scientific code is _terrible_ [19:06] jesusabdullah: like, hard-core number-crunching stuff [19:06] jesusabdullah: This is also true. [19:07] chjj: well, they should write it in something else [19:07] chjj: solved [19:07] lukstr: I have heard awesome horror stories from an admin of an HPC [19:07] jesusabdullah: chjj: fortran? ;) [19:07] chjj: why not?! [19:07] lukstr: *HPC cluster [19:07] systemfault: C++ ! [19:07] bnoordhuis: still used a lot in academics (fortran, that is) [19:07] chjj: older than time itself [19:08] lukstr: java is probably popular because it's easy and works fairly well most of the time for most things [19:08] bnoordhuis: older than lisp even [19:08] jesusabdullah: Most science code is written either in c, c++, fortran or java [19:08] lukstr: it is definitely a swiss army knife of languages, but that comes with many costs [19:08] jesusabdullah: from what I know [19:08] systemfault: Java has the tooling.. seriously. [19:09] bnoordhuis: jesusabdullah: you'd be amazed at the amount of python code out there [19:09] systemfault: Tons of refactoring tools, IDEs that actually works... etc. [19:09] jesusabdullah: bnoordhuis: Oh, I know about the python code. It's how I got into python! [19:09] lukstr: and I don't think there exists an area of application that it dominates in. There will always be a better more specific tool [19:09] GicBash: what do you mean under "science code" [19:09] jesusabdullah: bnoordhuis: but the python code usually does the less intense stuff [19:09] jesusabdullah: GicBash: Modeling and simulation, and solving math problems [19:09] bnoordhuis: and hands off the hard bits to numpy [19:09] jesusabdullah: exactly [19:09] jesusabdullah: ^5 [19:10] jesusabdullah: I think python's biggest strength these days is numpy. <_< [19:10] GicBash: jesusabdullah: ok [19:10] jesusabdullah: THIS IS THE PART WHERE I SHOW YOU MY THESIS [19:10] lukstr: ACTION will read it [19:10] jesusabdullah: https://github.com/jesusabdullah/anisotropy [19:10] systemfault: python is slow though.. Not sure I'd use it for scientific computing :/ [19:10] GicBash: in russia institutes they write on A,B,C [19:10] GicBash: really old [19:10] bnoordhuis: systemfault: hence numpy [19:11] jesusabdullah: systemfault: This is true. However, the trick is to find the bottlenecks and toss in some trickery [19:11] jesusabdullah: systemfault: numpy is like 90% ctypes land [19:11] lukstr: jesusabdullah: you don't have a makefile? :( [19:11] chjj: jesusabdullah did show us his thesis alright [19:11] jesusabdullah: lukstr: A makefile? For what? [19:11] chjj: but pdf, wtf [19:11] lukstr: everything! [19:11] systemfault: jesusabdullah: Looks nice [19:11] lukstr: latex->pdf :P [19:11] jesusabdullah: lukstr: What's to build? There's no C code [19:11] jesusabdullah: Oh [19:11] jesusabdullah: I used to have one, it was annoying [19:12] jesusabdullah: better to just write a shell script [19:12] jesusabdullah: in my case, anyway [19:12] mercer has joined the channel [19:12] jesusabdullah: Always figured I'd learn make later [19:12] jesusabdullah: -heh- [19:12] Me1000 has joined the channel [19:12] GicBash has left the channel [19:13] jesusabdullah: Oh, systemfault, have you heard of cython? You add types to your python and it can compile it to machine code. It's pretty neat, gets you some nice gains in speed [19:13] jesusabdullah: Basically, the python tradeoff is speed vs. readability/hackability/etc [19:13] tmpvar has joined the channel [19:13] lukstr: (anyone here up to date with C++0x?) [19:13] jesusabdullah: Not me! [19:13] muk_mb has joined the channel [19:15] CIA-110: node: 03Niklas Fiekas 07master * ra3e5da0 10/ src/node_stdio.cc : Removed/Fixed TODO DRY - http://bit.ly/mkkH0D [19:15] systemfault: jesusabdullah: No, I did not :) [19:15] marcello3d: oh boy language wars in #node.js [19:16] chjj: wars? [19:16] systemfault: jesusabdullah: Is the lack of real multithreading a problem? [19:16] chjj: not wars [19:16] chjj: meaingful discussions [19:16] marcello3d: as soon as someone criticizes a language it's language wars :D [19:16] chjj: nonsense! [19:16] chjj: citicizing a language is very meaningful [19:17] chjj: besides, were only really criticizing java [19:17] jesusabdullah: systemfault: Yeah. Yeah it is. [19:17] chjj: and no ones on java's side [19:17] chjj: :) [19:17] marcello3d: java is awesome :D [19:17] chjj: rofl [19:17] chjj: *you* made it language wars [19:17] marcello3d: you criticized it :( [19:17] bnoordhuis: i don't hate java either [19:17] bnoordhuis: i hate the enterprise frameworks >:( [19:17] marcello3d: yea [19:17] jesusabdullah: From what I saw when I was more involved with the scipy people was that you had these different camps of people that wanted different things from python [19:17] jesusabdullah: science people want it to be faster, with better multithreading [19:17] marcello3d: I also hate that java applets have been ruined [19:18] CIA-110: node: 03koichik 07master * r04c9169 10/ test/simple/test-repl.js : [19:18] CIA-110: node: Fixes #1267. [19:18] CIA-110: node: Error message of JSON.parse() was changed. - http://bit.ly/kXnoId [19:18] jesusabdullah: web people often couldn't care less about speed, they just want a better django [19:18] chjj: you like java applets? [19:18] systemfault: Haha [19:18] systemfault: Applets :P [19:18] marcello3d: cause java applets were pretty much the only way to do cross-platform advanced UI/processing that runs on any browser (not anymore) [19:18] skript_ has joined the channel [19:19] systemfault: marcello3d: The 90's called, they want their lake applet back. [19:19] marcello3d: see what I mean? language wars :( [19:19] jesusabdullah: oh, and the core people are in some crazy world of their own [19:19] jesusabdullah: wrt python [19:19] unomi: any developmentseed ppl here? [19:19] jesusabdullah: they just talk all day about what "pythonic" means and come up with a bunch of ideas, half of which are honestly kinda crappy [19:19] Aiden has joined the channel [19:20] jesusabdullah: and when people with real-world concerns come in they get ignored [19:20] chjj: applets were npapi though, like any plugin, plguins are never the answer =/ [19:20] chjj: the better solution is to make the functionality native to the browser [19:20] marcello3d: which still doesn't exist properly today [19:20] jesusabdullah: "the gil is bad!" "the gil is pythonic! You're just not doing it right clearly" [19:20] jesusabdullah: idk, you can tell I'm a little bitter wrt the core community [19:20] robertfw has joined the channel [19:20] marcello3d: and certainly didn't exist in 2001 when I started devving them [19:21] sandstrom has joined the channel [19:21] sandstrom has left the channel [19:21] chjj: =/ [19:21] jesusabdullah: My only real "issue" with java applets is that I never really got the plugin action set up [19:22] jesusabdullah: so java applets say "missing plugin" for me and since they're pretty rare these days I'm just like, "FUCK IT" [19:22] systemfault: The loading times were bad.. [19:22] seawise has joined the channel [19:22] marcello3d: systemfault: agreed, terrible user experience [19:22] jesusabdullah: Ah, good ol' 56k [19:22] marcello3d: they improved a lot in plugin2 [19:22] jesusabdullah: My bird keeps eating my scabs D: [19:22] chjj: its the same reason i dont have flash installed, and have it disabled in chrome [19:22] chjj: bad city [19:22] marcello3d: but it's still pathetic [19:22] jesusabdullah: (from some road rash from when I dropped my bike last week) [19:23] systemfault: Well, the JVM startup time doesn't help the cause either. [19:23] marcello3d: systemfault: it's waaaay better nowadays :) [19:23] marcello3d: doesn't freeze your whole browser either, anymore [19:23] systemfault: I know, I know ;P [19:23] jesusabdullah: XD [19:23] fille has joined the channel [19:23] marcello3d: 2004 :D http://www.cs.unm.edu/~cello/livingescher/ [19:23] hellp has joined the channel [19:24] fille: hello [19:24] marcello3d: I wonder if these can be ported to processing.js [19:24] indutny: fille: hi! [19:24] fille: wondering how do i get index on a forEach [19:25] marcello3d: fille: add a second argument to the function [19:25] systemfault: fille: The second argument AFAIK [19:25] fille: [].forEach(function(o,index,) [19:25] fille: but returns 0 [19:25] systemfault: Yeah [19:25] marcello3d: the index starts at 0... [19:25] fille: yes but my array got like 10 obj ;( [19:26] systemfault: v8: [0,0,0,0,0].forEach(function(_, i) {console.log(i);}); [19:26] unomi: most array traversing functions use v,i,a afaik [19:26] systemfault: :( [19:26] unomi: value, index, array [19:26] fille: ok [19:26] marcello3d: v8: ['a','b','c'].forEach(function(item, index) { console.log(index+':'+item) }) [19:26] Vladimir1 has joined the channel [19:26] marcello3d: s]aw [19:27] AvianFlu: v8: 5 [19:27] v8bot: AvianFlu: 5 [19:27] systemfault: .. "Hello"; [19:27] Calvin: 03'Hello' [19:27] fille: header.children.forEach(function(cur,index,_) { [19:27] fille: console.log(index); [19:27] fille: this is my code [19:27] steffan has joined the channel [19:27] indutny: that should work [19:27] AvianFlu: v8: ['a','b','c'].forEach(function(item, index) { console.log(index+':'+item) }) [19:27] fille: getting 0 0 0 0 0 0 0 in output [19:27] marcello3d: broke it D: [19:27] fille: :( [19:28] indutny: v8: [3,4,5].forEach(function(_, i) {console.log(i);}); [19:28] indutny: heh [19:28] indutny: v8: 'test' [19:28] v8bot: indutny: "test" [19:28] marcello3d: fille: something is messed up then [19:28] marcello3d: v8: console.log('hello') [19:28] v8bot: marcello3d: "hello" [19:28] chjj: it doesnt let you spam [19:28] fille: marcello3d yes indeed [19:28] indutny: v8: [3,4,5].forEach [19:28] v8bot: indutny: function forEach() { [native cod… [19:29] indutny: v8: var r = [];[3,4,5].forEach(function(_, i) {r.push(i);});r [19:29] v8bot: indutny: [0,1,2] [19:29] te-brian: Is the overhead of express unavoidable in a "full-featured" node web-app. Did some quick benchmarking and express out the box got 320 reqs/sec vs. the 4200 reqs/sec of a simple "Hello World" app. [19:29] marcello3d: v8: var s = ''; ['a','b','c'].forEach(function(item, index) { s += '['+index+':'+item+']' }); s [19:29] v8bot: marcello3d: "[0:a][1:b][2:c]" [19:29] marcello3d: chjj: it should at least say so? :D [19:29] pquerna: te-brian: 320 or 3200? [19:29] fille: im not telling the trueth here [19:29] te-brian: pquerna: 320 :( [19:29] systemfault: fille: Oh noes! [19:29] pquerna: te-brian: something else is wrong then [19:30] leonh has joined the channel [19:30] pquerna: te-brian: can you show your example express app? what is it doing? do you have it in production mode? [19:30] te-brian: pquerna: Thats what I had to think.... whater simple routing is going on cant add that much overhead [19:30] marcello3d: it was a distraction! ambush! [19:30] chjj: te-brian: you might be able to optimize connect by removing the url parsing when its traversing the stack, the only difference being, urls wont be "hidden" for routed middleware [19:30] fille: thanks for all of yur time [19:30] te-brian: literally just the results of "express" [19:30] fille: my vps is under water right now :( in copenhagen [19:30] te-brian: pquerna: Fair enough.. its in dev mode.... [19:30] te-brian: pquerna: Let me see what the diff is [19:31] pquerna: try it in prod mode before too much panic() [19:31] te-brian: pquerna: No panic :) .. just experimenting.. learning [19:31] AvianFlu: lol pquerna... panic() [19:31] admc has joined the channel [19:31] pquerna: panic.. always panic. i don't hate my towel with me [19:33] indutny: v8: new Array(100).join(' pquerna ') [19:33] v8bot: indutny: " pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pquerna pq [Output truncated...] [19:33] indutny: hehe [19:33] AvianFlu: see? this is what happens when something tries to tell indutny 'no' [19:33] chjj: dont break v8, everyone always breaks it =/ [19:33] indutny: what's a difference of running express in prod mode? [19:33] vid_ has joined the channel [19:33] omni5cience_ has joined the channel [19:34] tjholowaychuk: indutny runs your production configuration, but the only core changes is the template caching [19:34] indutny: tjholowaychuk: ah [19:34] pquerna: right, and maybe template caching is what is slowing him down... but... 320 does seem low. [19:34] te-brian: pquerna: So production jumps it up to 1156 .. still notably slower ..but... understandably so I think [19:34] indutny: thanks [19:34] te-brian: pquerna: I assume the main slow-down in dev is logging? [19:34] pquerna: still seems low, but honestly i've not tried to optimize my own express app [19:34] chjj: pquerna, if template caching isnt enabled, yeah, expect it to be slow [19:35] pifantastic has joined the channel [19:35] indutny: NODE_ENV=production? [19:35] pquerna: (most of mine are talking to a cassandra cluster across 5 regions..so... express... anyways) [19:35] te-brian: pquerna: I should note that my "Hello World" app is using cluster. I assume with express's pids dir that it is multi-threaded? [19:35] chjj: that means the template engine is parsing and compiling templates every request, very slow [19:36] marcello3d: is NODE_ENV a convention deal, or does it affect node itself? [19:36] tjholowaychuk: te-brian what? [19:36] avalanche123 has joined the channel [19:36] tjholowaychuk: no [19:36] stagas: is this too weird? foo('bar').blah = 'lol' [19:36] tjholowaychuk: marcello3d just a convention [19:36] tjholowaychuk: used to be EXPRESS_ENV [19:37] marcello3d: socket.io seems to use it, too [19:37] tjholowaychuk: probably [19:37] vid_ has joined the channel [19:37] tjholowaychuk: beats setting like 15 env vars [19:37] tjholowaychuk: per project [19:38] te-brian: tjholowaychuk: Just getting into node .. so I figured why not mess around and siege various simple apps. Noticed that a simple hello world running via cluster was super fast (4200 reqs/sec) whereas the default app.js of express was really slow (300). Going into production jumped it up to 1156. Just trying to figure out where the overhead is coming from. Most likely I just need to dive into what the default app is doing a [19:38] te-brian: nd understand express a lot better. [19:38] tjholowaychuk: 4200 ? I get that for one process [19:38] indutny: 160 reqs/sec on rackspace 256 mb ram /cc pquerna tjholowaychuk [19:39] indutny: that's my slides app [19:39] te-brian: tjholowaychuk: I am on linode's smallest vps [19:39] te-brian: tjholowaychuk: 512 ram etc. [19:39] tjholowaychuk: te-brian in production express will cache the compiled templates [19:39] tjholowaychuk: in dev they will "reload" [19:39] tjholowaychuk: that's the only perf change express makes by default in production [19:39] te-brian: tjholowaychuk: Right.. whereas my hello world is literally just res.write('hello world');.... apples to oranges I expect. [19:39] leahculver has joined the channel [19:39] leahculver has joined the channel [19:40] tjholowaychuk: right [19:40] tjholowaychuk: add content-length [19:40] tjholowaychuk: or res.send('hello world') (does that for you) [19:40] tjholowaychuk: it'll be faster [19:40] te-brian: tjholowaychuk: Still beats the hell out of my 15 reqs/sec drupal sites .. lol [19:40] tjholowaychuk: haha ya [19:40] tjholowaychuk: i remember drupal with aggressive cache was still only like 600rps [19:41] te-brian: tjholowaychuk: If you have only anonymous traffic its fine... varnish ftw... but.. we have a lot of 'social' sites now and we need to move on to new technology :) [19:41] tjholowaychuk: yeah, we can't really cache anything in our app [19:41] indutny: hehe :) [19:42] te-brian: tjholowaychuk: We have a reasonably active site where we are jumping through 100s of hoops just to get page load under 2 seconds hah.... caching fully loaded objects and whanot .... getting a little rediculous... so we are going to refactor and node looks hot. Plus I already know js realyl well (no ruby learning curve). [19:43] tjholowaychuk: cool [19:43] vid_ has joined the channel [19:43] tjholowaychuk: should be easy enough to communicate between them via json or whatever [19:43] te-brian: tjholowaychuk: Its been fun jumping into all the great resources and blogs. Read more than a few of your articles. [19:43] dnunes has joined the channel [19:43] chjj: node is hott [19:44] foober: Hi All. Anyone use mysql with node.js with an SSL client connection? [19:44] fille has joined the channel [19:44] mange has joined the channel [19:44] te-brian: I think my biggest challenge will be Sphinx.. we have a really specific sphinx setup with special indexing queries and whatnot.. but the new app will most certainly be mongodb (about half our data is already in it). [19:45] te-brian: I heard about some schema-less lucene implementation.. forget the name tho [19:45] fille: hello [19:46] seawise has joined the channel [19:46] creationix has joined the channel [19:46] sandstrom has joined the channel [19:47] indutny: hello [19:47] steffkes has joined the channel [19:47] te-brian has joined the channel [19:47] levi501d has joined the channel [19:54] pquerna: someone needs to do a startup. Buildbot as a Service. [19:54] Kingdutch: Buildbot? [19:54] pquerna: maintain like 20 operating systems with buildbot or jenkins slaves. [19:54] indutny: pquerna: I better do slides : http://slides.indutny.com/ [19:54] pquerna: and maybe include some chef magic for installing dependencies. [19:54] indutny: hehe [19:55] foober: *smile* as if most anyone in this chat wouldn't already be at a startup...:^) [19:55] pquerna: well, some of those startups need to pivot :P [19:55] Kingdutch: I'm not in a startup yet [19:55] tanepiper has joined the channel [19:55] Kingdutch: Looking to get into one ^ [19:55] Kingdutch: ^^ [19:55] Kingdutch: Buildbot probably isn't my cup of soup though [19:55] shapeshed has joined the channel [19:55] foober: Advice: look carefully before jumping. [19:55] pquerna: http://buildbot.nodejs.org/waterfall [19:56] pquerna: advice: jump, repeatidly, I love(d) it [19:56] foober: Only if 12 hour days are a realistic chance for you. [19:56] pquerna: oh yeah, small details :) [19:57] Kingdutch: My parents started their own business [19:57] Kingdutch: So I know what it can bring [19:57] pquerna: my dad runs his own small business. its actually why i orignally stayed at bigcos. [19:57] squeese has joined the channel [19:58] pquerna: anyways, if someone could run a diverse-os builder as a service [19:58] pquerna: i'd pay [19:58] foober: The only real problem with working from home: if you work for yourself, the boss is always a B@#tard. [19:59] Skola: wish I could work from home as a dev [19:59] ff0000 has joined the channel [19:59] Skola: have worked from home as a designer [19:59] Skola: is absolutely kick-ass [19:59] avalanche123 has joined the channel [20:00] `3rdEden: Dear god, that waterfall is hideous [20:00] pquerna: yeah. i think its worth a thread on -dev soon. [20:00] foober: Okay, I admit, it's nice being able to work in a bathrobe. [20:00] pquerna: we need better osx builders. [20:01] pquerna: and win [20:01] `3rdEden: basically, everything [20:01] pquerna: well yeah. details. [20:01] ff0000 has joined the channel [20:01] Skola: foober ja or smoking a cigar outside in the sunshine at 10:00 eating breakfast [20:01] pquerna: and ideally build both v0.4 and master [20:02] foober: Blech! A cigar? Srsly? [20:03] Skola: for sure :[] [20:03] foober: Now, a nice glass of wine at sundown in the woods behind my house, with the birds going a mile a minute. *that* I could get behind. [20:04] te-brian: tjholowaychuk: Does express by default use multiple processes? (ala cluster) [20:04] tjholowaychuk: nope [20:04] Skola: foober that's absolutely fine as well :D [20:04] seawise_ has joined the channel [20:04] te-brian: tjholowaychuk: Ahh.... that makes more sense now [20:04] Skola: the woods behind your house.. [20:04] Skola: #$%@#%! jealous [20:04] pquerna: your house???!@#! jealous! [20:04] foober: It's easy to find, if you live in the boonies. [20:05] igl has joined the channel [20:05] AvianFlu: I live in SF and have a full backyard... it's almost worth the 6 douches I have to live with :-P [20:05] Skola: lol [20:05] ff0000 has joined the channel [20:05] foober: Oh...but my internet is pathetic. This chat pretty much soaks up all the bandwidth. [20:05] pquerna: +1, full backyards are worth roomates. [20:05] doki_pen has joined the channel [20:05] Locke23rus has joined the channel [20:05] AvianFlu: I'm also only 10 blocks from the ocean, another win (when it's not foggy) [20:05] Skola: foober I'll trade some bandwidth for a forest [20:06] foober: Hrm...does a wide count as a "douche"? Best to hope she doesn't log into this chat. [20:06] pquerna: AvianFlu: ah; I'm over in in Noe [20:06] tjholowaychuk: ACTION 1 minute walk to the ocean [20:06] Skola: 15 minute bikeride to the sea for me [20:06] AvianFlu: Luckily for me I live above the park and not down in the outer fogset! [20:06] foober: AvianFlu: I used to live in Mountain View. Miss the peninsula. [20:06] Skola: :[] [20:07] ff0000 has joined the channel [20:07] AvianFlu: it's nice here, although I'm from new york and sometimes miss being able to know what time of year it is just by going outside [20:07] foober: We're about to move to Poole, Dorset, so hopefully we'll be able to find a place close(ish) to the sea. If only I could hit the lottery. [20:07] chjj: AvianFlu: is there something supernatural going on there? youre at a different distance from the ocean when its foggy? [20:07] AvianFlu: no, there are two neighborhoods [20:08] foober: Avian: We ended up in the UK precisely because of the lack of seasons. When i tell folks here I left California, they always say "why?" [20:08] AvianFlu: one, the richmond, where I live, is north of the park and ~150ft above sea level [20:08] tmpvar has joined the channel [20:08] AvianFlu: the other, the sunset, is south of the park and lower [20:08] Skola: UK seasons, omg :S [20:08] AvianFlu: the sunset is always foggy [20:08] AvianFlu: so we call it the fogset [20:08] AvianFlu: up here, we can see the fog down the hill [20:09] AvianFlu: but most often, no fog [20:09] pquerna: uh huh [20:09] pquerna: everything west of twin peaks is land of the fog to me [20:09] yumike has joined the channel [20:09] Skola: I live about 4 meters under sea level :[ [20:09] foober: I remember taking the train from 4th/townsend south the Mountain view, and watching the fog roll over the hills the whole way down the peninsula. SF can be a bloody cold place in the summer. [20:09] Skola: so stop driving your goddamn hummers [20:09] AvianFlu: there have been at least half a dozen days where it's been 55 and drizzling here, and then when I get to the lower haight it's bright, sunny, and hot [20:09] Skola: or I'll be swimming ina couple of decades [20:10] foober: Skola: waterproof computers? A skuba-gear for the laptop? [20:10] AvianFlu: Skola: it won't be my fault, I ride a skateboard to work :-P [20:10] Skola: Thanks AvianFlu [20:11] foober: Skola: Still, you've got 100Mbps broadband until the water rises, yes? [20:11] bockmabe has joined the channel [20:11] Skola: yes :[] [20:11] te-brian: tjholowaychuk: Running my helloworld express app via cluster now 5787 reqs/sec .... very nice. Don't know if thats redundant though... Maybe express has a mode or setting I'm missing. [20:11] foober: *jealous* [20:11] Skola: and we're pretty good with keeping water out anyway [20:12] wormphlegm has joined the channel [20:12] Prometheus: te-brian: your hello world is safe from slashdot! [20:12] foober: That's what they said in New Orleans. [20:12] `3rdEden: ;D [20:12] Prometheus: *rimshot* [20:12] foober: Me, I'm moving to cliff-top. [20:12] te-brian: Prometheus: Now just to get the masses excited about it [20:12] alek_br has joined the channel [20:12] Prometheus: te-brian: I'll throw it on HN, maybe it'll stick [20:12] te-brian: Prometheus: I'm thinking viral youtube video [20:13] kersny has joined the channel [20:13] Prometheus: sounds like a plan [20:13] Skola: yeah but which country was called upon to fix the dikes etc? [20:13] Skola: exactly. ;[] [20:13] foober: I've always heard the dykes needed fixing. I just thought it was a sexist comment. [20:13] Skola: ;p [20:14] bnoordhuis: i was waiting for someone to say it [20:14] ryanj has joined the channel [20:14] Skola: I made sure I didn't make that mistake :p [20:14] foober: *evil grin* [20:14] `3rdEden: And we also generate our own land ;) [20:15] Skola: yes that's pretty epic [20:15] foober: Hey, makes sense. Here in the Uk land just gets more expensive. [20:15] Skola: I live on "generated" land [20:15] indutny: lets buy node.js island [20:15] indutny: anyone knows free island? [20:15] Aria: I hear Sealand isn't too occupied. [20:16] AvianFlu: indutny: I hear parts of antarctica are real nice this time of year... if you're deep underground [20:16] Skola: they're making some new ones @ Dubai [20:16] systemfault: Antarctica is for hipsters [20:16] foober: Gotta be big enough so I can build a runway to fly my 747 in. [20:16] temp02 has joined the channel [20:16] foober: If we're dreaming, dream big, right? [20:16] AvianFlu: let's go settle that giant island of plastic garbage that floats in the pacific [20:17] Skola: lol [20:17] foober: You can if you want...I'm dreaming of something like this: http://www.privateislandsonline.com/europe.htm [20:17] AvianFlu: I'm only half joking, some guy actually drew up a plan to do that [20:17] foober: Avian: at least it would serve a purpose...and would keep getting bigger. [20:18] Skola: got a link on that plastic "island" handy? [20:18] Skola: else I'll google it [20:18] AvianFlu: no but it should be easily googled [20:18] indutny: hehe :) [20:18] Skola: ;p [20:18] indutny: biggest problem will be a free wi-fi for everyone [20:18] indutny: we need to get internet from somewhere [20:19] Skola: we need our own satelite then [20:19] indutny: our own interne [20:19] indutny: internet* [20:19] patcito has joined the channel [20:19] indutny: royal node.js internet [20:19] indutny: who'll be a royal famility? [20:19] indutny: family [20:19] foober: Anyone with 1K or more checkins for node.js [20:19] indutny: king ryah [20:20] Skola: who wants to be the princess? [20:20] Skola: this will be very problematic: a lack of females [20:20] indutny: AvianFlu: may be you? ;) [20:20] BulletBob has joined the channel [20:20] slickplaid: I'm only female on the weekends [20:20] indutny: wasn't going to offend you [20:20] slickplaid: someone will have to take weekdays [20:20] AvianFlu: I'm already royalty, it would be a conflict of interest [20:20] indutny: hehe [20:20] dshaw_ has joined the channel [20:20] foober: Oh come on...there's 500 ppl in this chat, and no females? Count me out. [20:21] indutny: foober: you're female? [20:21] systemfault: fille sounds female :/ [20:21] indutny: fille: ? [20:21] systemfault: (fille means "girl" in french) [20:21] fille: fille? [20:21] Skola: haha [20:21] fille: i know [20:21] slickplaid: fille! [20:21] indutny: fille! [20:21] Skola: regardless of your gender, wanna be our princess? [20:21] indutny: v8: new Array(100000).join('fille! ') [20:21] slickplaid: hah [20:21] v8bot: indutny: "fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! fille! [Output truncated...] [20:21] foober: Not femail, at least last time I checked. [20:22] fille: swedish fille philipe filip Swedish [20:22] indutny: oh [20:22] fille: :P [20:22] indutny: anyway [20:22] indutny: we're searching for a princess [20:22] fille: sorry cant help u [20:22] slickplaid: i believe your princess is in another programming language [20:22] indutny: huh [20:22] fille: i need to change nick here [20:22] juha___: she's in the another castle [20:22] indutny: hahahahaha [20:22] fille: :D [20:22] foober: Me too. Let me know if you find more than one. [20:22] indutny: erlang [20:22] indutny: ? [20:22] slickplaid: rofl [20:23] indutny: or ruby? [20:23] indutny: or brainfuck? :D [20:23] Prometheus: total anarchy [20:23] slickplaid: ruby prolly the best bet [20:23] juha___: just to bring on the shitstorm, php [20:23] indutny: juha___-- [20:23] v8bot: indutny has taken a beer from juha___. juha___ now has -1 beers. [20:23] slickplaid: if there was diamond, i'd bet on that one [20:23] indutny: juha___: sorry, that won't happen [20:23] fille: the soup-select for node is really nice :D [20:23] juha___: indutny: NEVER TOUCH FINNS BEER [20:24] indutny: juha___: hahahahahaha [20:24] Skola: my gf volunteers for princess [20:24] Skola: but I will leave it at that before I see any 'tits or gtfo' [20:24] indutny: I'll get a sip of Guiness beer [20:24] sivy has joined the channel [20:24] foober: v8: new Array(5).join('Blech! ') [20:24] v8bot: foober: "Blech! Blech! Blech! Blech! " [20:24] `3rdEden: tits or gtfo [20:24] pekim has joined the channel [20:25] foober: Bloody cool. [20:25] eliziario has joined the channel [20:25] `3rdEden: Skola someone had to say it ;) [20:25] indutny: `3rdEden: you're married too, right? [20:25] `3rdEden: Nope [20:25] Skola: of course Eden [20:25] AvianFlu: v8: ~9 [20:25] indutny: ah [20:25] v8bot: AvianFlu: -10 [20:25] fille: v8: Msgbox('hi') [20:25] v8bot: fille: ReferenceError: Msgbox is not defined [20:25] fille: opps thats was VB script [20:25] indutny: fille-- [20:25] v8bot: indutny has taken a beer from fille. fille now has -1 beers. [20:25] fille: :P [20:25] slickplaid: tits or gtfo, the channel would be empty [20:25] fille: sniff [20:25] Skola: or not [20:26] Skola: :[] [20:26] juha___: girlfriend? [20:26] juha___: you mean your hand? [20:26] Skola: oh no the finn read it [20:26] BulletBob has joined the channel [20:26] foober: Oh come on. If there's not a few good pairs of man-tits here, I'm not an engineer..;^) [20:26] Skola: hahahahaha [20:26] CyberLemon has joined the channel [20:26] juha___: also, you should not mention this girlfriend to your wife [20:26] vid_ has joined the channel [20:27] juha___: btw. all of you are now breathing manually. [20:27] fille: how do i get more beer ? [20:28] Skola: fille+ [20:28] AvianFlu: fille++ [20:28] v8bot: AvianFlu has given a beer to fille. fille now has 0 beers. [20:28] fille: sniff [20:28] Skola: that [20:28] AvianFlu: so did somebody evil-regex-proof v8? [20:28] kkaefer: unomi: yes [20:28] foober: Night All. I'm off to visit juha__'s girlfriend. Don't tell my wife. [20:28] AvianFlu: I should say, "has that been done" [20:28] fille: just using split :P [20:28] stepheneb has joined the channel [20:28] kkaefer: unomi: what's up? [20:28] AvianFlu: v8: (/a(a?)+/).test('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') [20:28] v8bot: AvianFlu: true [20:29] tdegrunt has joined the channel [20:29] juha___: foober: tell her i said hi [20:29] AvianFlu: v8: ('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa').match(/a(a?)+/) [20:29] v8bot: AvianFlu: ["aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","a"] [20:29] unomi: kkaefer: Hi, was looking at your Bones work - looks nifty [20:29] foober: juha: Look! She's waving! [20:29] kkaefer: unomi: thanks [20:30] kkaefer: unfortunately it's severly lacking documentation ;) [20:30] fille: im so frustrated over surftown, the server hall is under water right now [20:30] kkaefer: unomi: feel free to ask anything if you're stuck [20:30] juha___: fille: atleast they're staying cool [20:30] fille: in copenhagen [20:30] foober: Wait, before I leave...any chance anyone has use mysql node.js with users that require SSL clients? [20:30] fille: loosing position and downtime on google :( [20:31] unomi: kkaefer: Thanks :) - currently I am just windowshopping tbh [20:31] unomi: kkaefer: I was going to ask if you had any 'full' demos? [20:32] kkaefer: unomi: https://github.com/mapbox/tilestream is built with bones [20:32] pquerna: spiceapps here? [20:32] pquerna: the https://github.com/spiceapps/slugr guy? [20:32] CyberLemon: Hello, is anybody known how to handle "Socket hang up" when remove server don't respond? In some requests (like increasing page view) I really do not need response - but Node.js quit with Socket hang up error ( [20:33] kkaefer: unomi: to test, copy ./test/fixtures/tiles/control_room.mbtiles into ./tiles [20:33] unomi: kkaefer: great - huge fan of json-schema models [20:33] necrodearia has joined the channel [20:33] unomi: been digging persevere2.0 but somewhat difficult to dance with in some scenarios [20:33] CyberLemon: *remote server, not remove )) [20:34] kkaefer: unomi: there are some other sites, but the repos aren't public [20:34] kkaefer: unomi: e.g. http://febp.newamerica.net/ [20:34] kkaefer: due to bones' architecture, most of the code is public anyway though [20:34] unomi: bones feels like a more 'agile' persevere2.0 contender - same niceties of json-schema + automagic REST [20:35] kkaefer: unomi: oh wait... that site isn't bones [20:35] kkaefer: unomi: to be fair, there are still a lot of issues, e.g. it currently loads all code on startup [20:36] unomi: I noticed that for the plugins commentary [20:36] unomi: still, these servers are all about being thin, so it is unlikely to amount to much [20:37] unomi: kkaefer: curious about the inline comments style - Dojo Docs? [20:38] kkaefer: unomi: we generally use docco [20:38] kkaefer: but the comments don't follow a particular style [20:40] unomi: mighty nice presentation you manage of your shop - too bad about the whole DC / on-location constraints [20:40] systemfault: Seems that twitters uses less and less rails every year [20:41] unomi: systemfault: finally got money to pay off the technical debt :p [20:41] systemfault: http://www.infoq.com/articles/twitter-java-use :P [20:41] systemfault: Haha [20:41] fille: i lost my self in the code again :( [20:42] fille: is it possible to add a callback on a [].forEach [20:42] systemfault: fille: You're already passing a callback :/ [20:42] chjj: what do you mean? [20:42] hij1nx has joined the channel [20:42] chjj: [].forEach takes a callback [20:42] kkaefer: unomi: thanks; we have a pretty nice office in DC though :) [20:43] unomi: fille: are you async'ing inside the forEach function? [20:43] fille: when the forEach is don [20:43] systemfault: fille: forEach is sync... [20:43] chjj: you need to do that yourself, write your own parallel foreach function [20:43] unomi: kkaefer: that may be, but I have a nice view of rice paddies from my shack in the middle of nowhere Thailand. [20:43] chjj: or do it by hand [20:43] kkaefer: heh [20:43] kkaefer: that's pretty hard to beat I guess [20:43] pquerna: indutny: the slides.io is neat. [20:43] fille: okej, reed that on stackowerflow [20:44] fille: i hoped that i could ignore it [20:44] indutny: pquerna: hehe [20:44] indutny: thanks [20:44] pquerna: indutny: not sure about the only interface being to double click on things to edit/turn off the editor [20:44] pquerna: i'd be okay wth a little chrome while in 'edit' mode [20:44] chjj: fille: var a = [1,2,3], i = a.length; a.forEach(function() { process.nextTick(function() { --i || done(); }); }); [20:44] chjj: where done is the callback [20:44] pquerna: but its a neat minimlistic experience :) [20:44] indutny: heh, let discuss that tomorrow [20:44] indutny: hehe :) [20:44] indutny: right [20:44] indutny: that's what I planned [20:45] fille: thanks i [20:45] catb0t has joined the channel [20:45] indutny: can you please contact me by email: fedor@indutny.com [20:45] fille: copy paste [20:45] indutny: if you've any questions or advices [20:45] fille: chjj :D [20:45] indutny: I'll reply tomorrow to them [20:45] pifantastic has joined the channel [20:46] sriley has joined the channel [20:48] supster has joined the channel [20:49] Poetro has joined the channel [20:50] gtramont1na has joined the channel [20:51] MooGoo: yo catb0t speak to me [20:51] catb0t: speak in here do [20:51] Poetro1 has joined the channel [20:51] robhawkes has joined the channel [20:51] Bwen has joined the channel [20:51] ff0000 has joined the channel [20:53] ff0000 has joined the channel [20:54] ekryski1: Anyone know if you can put images relative to the readme path for markdown? Doesn't appear to be working on Github. [20:54] davidascher has joined the channel [20:54] inimino: "speak in here do" was suprisingly apropos, catb0t [20:54] catb0t: suprisingly apropos, catb0t apropos [20:54] CIA-110: node: 03Adam Luikart 07master * r7f30f13 10/ (lib/path.js test/simple/test-path.js): [20:54] CIA-110: node: Update POSIX splitPathRe to allow control chars. Fixes #1230. [20:54] CIA-110: node: Use [\s\S] instead of . to match any char, including newlines. - http://bit.ly/lpHxNw [20:55] ff0000 has joined the channel [20:55] threshold has joined the channel [20:55] sandstrom has joined the channel [20:55] sandstrom has joined the channel [20:56] Kingdutch: Gah, aptana crashed :o [20:56] simenbrekken has joined the channel [20:56] systemfault: Eclipse.. what did you expect :P [20:56] Kingdutch: idk [20:56] systemfault: :( [20:56] Kingdutch: It kinda sucks [20:57] Kingdutch: I don't like Eclipse [20:57] binaryjohn has joined the channel [20:57] Kingdutch: but I like pretty much every ide based on it [20:57] Kingdutch: But installing Aptana and Flex and other ide's separate gives me 10 eclipse installs >.> [20:57] Kingdutch: [20:57] systemfault: http://www.html11.org/ ! [20:58] systemfault: When is IE going to support it? [20:58] systemfault: (The guy had a lot of time to waste...) [20:59] bingomanatee has joined the channel [21:00] bingomanatee: does anyone have a formula for decoding 16 bit packed binary data into signed integers in javascript? [21:00] systemfault: and are the future of pr0n [21:00] igl: :D [21:00] Kingdutch: No video for the vibration tag :( [21:00] igl: haha [21:01] mikedeboer has joined the channel [21:01] bnoordhuis: bingomanatee: Buffer([1,2,3,4]).readInt32(0, 'little'); [21:01] gazumps has joined the channel [21:01] bingomanatee: Thanks [21:02] Kingdutch: I don't see the use of HTML11 as a joke though =/ [21:02] Kingdutch: And if it's not a joke [21:02] boogyman has joined the channel [21:02] Kingdutch: I don't see the point overall [21:03] level09 has joined the channel [21:03] Kingdutch: + things like smell and taste can't be implemented yet [21:03] Kingdutch: We don't have smellyvision either [21:03] pquerna: bingomanatee: yes. [21:04] Aiden has joined the channel [21:04] pquerna: bingomanatee: https://github.com/joyent/node/blob/master/lib/buffer.js#L636-659 [21:06] Rob- has joined the channel [21:06] mange has joined the channel [21:07] tav_ has joined the channel [21:08] ekryski1: Anyone know if you can put images relative to the readme path for markdown?  Doesn't appear to be working on Github. [21:09] Tamo has joined the channel [21:10] Tamo: I keep getting fatal error: eio.h: No such file or directory [21:10] m0s has joined the channel [21:10] Tamo: I imagine it's quite common, but all the threads/pages I find on the subject dont really help [21:10] Tamo: "this is broken" etc [21:10] Tamo: Anyone care to share? :) [21:10] Tamo: Using unbuntu atm [21:13] Tamo: Its x86 too, everything else points to 64bit issues [21:14] MooGoo: you need a libeio dev package [21:14] FireFly|n900 has joined the channel [21:14] MooGoo: yum search libeio [21:14] MooGoo: er [21:14] MooGoo: fuck [21:14] MooGoo: apt-cache search libeio [21:15] Tamo: I have libgmp3-dev [21:15] Tamo: I'll try libeio-dev thanks [21:18] tincho_cipa has joined the channel [21:19] Tamo: Now just to find it, lol [21:20] ceej has joined the channel [21:21] hybsch has left the channel [21:22] langworthy has joined the channel [21:23] mc_greeny has joined the channel [21:26] NeCkEr has joined the channel [21:27] ragus: Anyone know how use sendfile()/vmsplice()/tee() in node.js? [21:27] davidcoallier has joined the channel [21:27] towski has joined the channel [21:28] tjholowaychuk: we have tee() ? [21:28] vid_ has joined the channel [21:28] BulletBob_ has joined the channel [21:30] edude03 has joined the channel [21:30] Tamo: I really can only see libeio for Redhat etc, but not unbuntu/debian [21:31] eirikb has joined the channel [21:32] iFire has joined the channel [21:32] Yoric has joined the channel [21:32] ragus: tjholowaychuk: in linux - yep =) [21:33] eirikb: New version of nipster, totally static and hosted at github: http://eirikb.github.com/nipster/ [21:33] tjholowaychuk: ragus didn't realize node exposed it [21:33] catb0t has joined the channel [21:35] RushPL has joined the channel [21:38] skript_ has joined the channel [21:38] skript__ has joined the channel [21:39] bingomanatee: for some reason calling readInt16() throws a missing method exception [21:39] mikl has joined the channel [21:39] mikl has joined the channel [21:41] sandstrom has joined the channel [21:41] sandstrom has joined the channel [21:44] bnoordhuis: ragus: i've actually been working on that [21:44] bnoordhuis: but nothing usable right now [21:44] sriley has joined the channel [21:45] JKarsrud has joined the channel [21:46] bnoordhuis: bingomanatee: come to think of it, the buffer.read*() methods exist only in master so far [21:47] bnoordhuis: Tamo: what precisely are you trying to do and can you post (gist) a complete build log? [21:49] eldar has joined the channel [21:50] markwubben has joined the channel [21:53] ldopa has joined the channel [21:54] TomY has joined the channel [21:55] skm has joined the channel [21:56] cafesofie has joined the channel [22:00] tcurdt has joined the channel [22:02] christkv has joined the channel [22:03] vid___ has joined the channel [22:04] descipher has joined the channel [22:04] greenWhite has joined the channel [22:05] greenWhite: hello someone should fix ircearty to say 'you should join Node.js' [22:05] greenWhite: not node.js [22:06] greenWhite: I am getting a json error SyntaxError: Unexpected token ILLEGAL at Object.parse (native) has anyone got this before. I a newb at web so I am not sure wtf is up [22:08] bnoordhuis: greenWhite: you're feeding JSON.parse() something that is not json [22:09] greenWhite: e.g. I am getting { '{"firstName":"tomory","lastName":"","email":"","reEmail":"","password":""}': '' } when I log which is in wrong json format. All I am doing is calling JSON.stringify(obj) using jquery ajax to post and trying to JSON.parse(req.body) [22:09] hij1nx has joined the channel [22:09] bogomips2_ has joined the channel [22:11] greenWhite: when I log in chrome the JSON is being converted correctly I think {"firstName":"tomory","lastName":"","email":"","reEmail":"","password":""} (passes validation) . just on node side it comes back in the former weird format [22:11] threshold has joined the channel [22:12] bogomips2_: in the main site, the demo not works from many time.. [22:14] sandstrom has joined the channel [22:15] kersny_ has joined the channel [22:15] davidascher has joined the channel [22:18] jbpros has joined the channel [22:18] CIA-110: node: 03Bert Belder 07master * r858f230 10/ (9 files in 5 dirs): Bindings for libuv-integrated c-ares - http://bit.ly/kKWP5c [22:18] CIA-110: node: 03Bert Belder 07master * r3b16a89 10/ lib/net_uv.js : Fix net_uv.isIPv4/6 bug - http://bit.ly/moa8g4 [22:18] CIA-110: node: 03Bert Belder 07master * rc953ecf 10/ deps/v8/src/platform-win32.cc : Fix v8 mingw build - http://bit.ly/jwWT79 [22:18] greenWhite: bnoordhuis: thanks fuuuuuk I got it [22:18] wookiehangover has joined the channel [22:18] couchquid has joined the channel [22:19] bnoordhuis: greenWhite: what was it? [22:19] bnoordhuis: you stringified the object before passing it to JSON.parse()? [22:20] Wizek has joined the channel [22:21] Tamo has left the channel [22:23] greenWhite: bnoordhuis: I set the dataType: 'json' and had read on SO that contentType would be automatically set as a result but apparently not, after setting it works! this is the first time random information from the net has led me wrong, but I guess it is ok [22:24] adrianmg has joined the channel [22:25] bingomanatee: am having problem getting https://gist.github.com/1064009 to read binary data -- any suggestions? [22:27] kawaz_home has joined the channel [22:28] sorensen: bah [22:28] sorensen: module exports just kick my ass some days [22:28] boogyman has left the channel [22:28] chapel: whats the problem sorensen? [22:29] chapel: btw, you gonna do nko with me and jslatts? [22:29] bnoordhuis: bingomanatee: two things [22:29] bnoordhuis: 1. don't pass encoding='binary' to fs.readFileSync() [22:30] bnoordhuis: well, actually that's it [22:30] bnoordhuis: don't forget to update the var name in your console.log line: s/buffer/data/ [22:32] stevezd has joined the channel [22:33] sorensen: uh, yes i am :) [22:33] stagas_ has joined the channel [22:33] sorensen: i just had some random ass export problems [22:34] bingomanatee: yes - thanks [22:34] sorensen: just put the exports at the bottom of the file and it worked fine [22:34] sorensen: me and jslatts have been talking about nko for a while [22:35] kersny|away has joined the channel [22:35] bingomanatee: still have same problem = buffer is sent on like 10 so data never got touched. but now only buffer is used. [22:35] sorensen: i think he talked about his idea for it a bit at breakfast the other day? [22:36] chapel: yeah [22:36] chapel: we talked the other day about it a bit [22:36] chapel: and what we would do [22:36] chapel: I told him I wasn't entirely sold on his idea, not that its a bad idea, but for nko [22:36] kersny|away has joined the channel [22:36] chapel: its hard to do on a website [22:37] tincho_cipa has left the channel [22:37] chapel: at least in a way that shows how cool it is [22:39] chapel: well whatever we do, I was thinking, since I have the space (3+ bedroom house) you guys could come over and stay the night so we could get more hacking on [22:41] sorensen: ah good idea [22:41] sorensen: im down for sure [22:42] sorensen: huzzah, fixed my exports [22:42] chapel: :) [22:42] sorensen: the single char global namespace thing was a bad idea [22:42] chapel: there are a lot of ways to do exports it seems [22:42] sorensen: ah, g2g [22:42] sorensen: :) [22:42] chapel: haha [22:42] sorensen: picknik time [22:42] sorensen: err, bad spelling [22:42] chapel: ACTION has to setup my desk, have people coming over for bbq tonight [22:42] chapel: cya [22:43] ff0000 has joined the channel [22:44] patcito has joined the channel [22:44] joshthecoder has joined the channel [22:46] stagas: yay new lib https://github.com/stagas/nexttick [22:46] stagas: thoughts? [22:50] sylvinus has joined the channel [22:50] socketio\test\49 has joined the channel [22:52] patrickgamer has joined the channel [22:52] patrickgamer has left the channel [22:53] ff0000 has joined the channel [22:53] tokumine has joined the channel [22:55] ff0000 has joined the channel [22:56] socketio\test\14 has joined the channel [22:56] davidcoallier has joined the channel [22:57] level09: is there a module that can communicate with a rest web service ? [22:57] blueadept: has anyone used popcorn-js ? [22:57] CIA-110: node: 03Ryan Dahl 07master * r24a671a 10/ lib/dns_legacy.js : legacy c-ares binding should use legacy timer - http://bit.ly/l5YXD7 [22:59] systemfault has joined the channel [22:59] systemfault has joined the channel [23:00] simenbrekken has joined the channel [23:07] kersny|away has joined the channel [23:09] ajsie has joined the channel [23:09] kersny|away has joined the channel [23:10] bogomips2__ has joined the channel [23:11] bnoordhuis: level09: http.request()? [23:12] cmike007 has joined the channel [23:12] level09: bnoordhuis: that's it ? what about modules like https://github.com/danwrong/restler [23:12] bnoordhuis: my tongue-on-cheek point was that rest is http so what more do you need? [23:13] bnoordhuis: eh, tongue-in-cheek [23:13] bnoordhuis: that first one would draw stares [23:14] jborst has joined the channel [23:14] ff0000 has joined the channel [23:15] CIA-110: node: 03Ben Noordhuis 07master * r092fc42 10/ test/simple/test-http-curl-chunk-problem.js : [23:15] CIA-110: node: Clean up temporary file on exit. [23:15] CIA-110: node: Unbreaks test/simple/test-http-get-pipeline-problem.js, [23:15] CIA-110: node: it assumed a fixed number of files in the tmp directory. - http://bit.ly/mTLE1j [23:15] CIA-110: node: 03Ben Noordhuis 07master * r8dc8773 10/ lib/http.js : [23:15] CIA-110: node: Don't send a HTTP/1.1 status line to HTTP/1.0 clients. [23:15] CIA-110: node: Fixes #1234. - http://bit.ly/j7gH50 [23:15] CIA-110: node: 03Ben Noordhuis 07master * r222f85f 10/ test/simple/test-http-1.0.js : Test cases for #1234: don't send HTTP/1.1 responses to HTTP/1.0 clients. - http://bit.ly/mRcWWg [23:15] kersny|away has joined the channel [23:18] zemm has joined the channel [23:18] AvianFlu has joined the channel [23:19] steffan has joined the channel [23:21] TechCel has joined the channel [23:25] kersny_ has joined the channel [23:28] jtsnow has joined the channel [23:30] Bwen: is there an easy to asynchronously loop thru an array in node? Array.forEach? [23:30] binaryjohn has left the channel [23:31] level09 has joined the channel [23:32] CIA-110: node: 03Bert Belder 07master * r1037f5c 10/ lib/timers_uv.js : [23:32] CIA-110: node: Fix bug in timers_uv timeout recomputation [23:32] CIA-110: node: Closes #1209 - http://bit.ly/kEx3eX [23:32] Bwen: ahhh Array.async.forEAch() :) [23:32] Bwen: oh its a lib.. hm [23:32] blup has joined the channel [23:33] azeroth_ has joined the channel [23:35] sethetter has joined the channel [23:35] timesink has joined the channel [23:36] edude03 has joined the channel [23:36] sounko has joined the channel [23:38] timesink has joined the channel [23:38] [[zz]] has joined the channel [23:39] elliottcable has joined the channel [23:40] Renegade001 has joined the channel [23:41] davidcoallier has joined the channel [23:43] AvianFlu has joined the channel [23:44] CIA-110: node: 03Ben Noordhuis 07v0.4 * rc684656 10/ test/simple/test-http-curl-chunk-problem.js : [23:44] CIA-110: node: Clean up temporary file on exit. [23:44] CIA-110: node: Unbreaks test/simple/test-http-get-pipeline-problem.js, [23:44] CIA-110: node: it assumed a fixed number of files in the tmp directory. - http://bit.ly/jwcpRk [23:44] CIA-110: node: 03Ben Noordhuis 07v0.4 * rf919889 10/ lib/http.js : [23:44] CIA-110: node: Don't send a HTTP/1.1 status line to HTTP/1.0 clients. [23:44] CIA-110: node: Fixes #1234. - http://bit.ly/iGWaLA [23:44] CIA-110: node: 03Ben Noordhuis 07v0.4 * r3e2a2a7 10/ test/simple/test-http-1.0.js : Test cases for #1234: don't send HTTP/1.1 responses to HTTP/1.0 clients. - http://bit.ly/jWtKp2 [23:44] unlink has joined the channel [23:44] unlink has joined the channel [23:50] jmiller_ has joined the channel [23:51] elliottcable has joined the channel [23:52] kersny: ' [23:53] CIA-110: node: 03Bert Belder 07master * r1e29fe6 10/ test/internet/testcfg.py : Fix `make test-internet` - http://bit.ly/jh3hid [23:55] sounko has joined the channel [23:58] akshatj has joined the channel [23:59] orospakr: hey, npm install somelib is installing it into ~/node_modules, rather than $PWD/node_modules. What gives? [23:59] orospakr: this is npm 1.0.15.