[00:00] spetrea_ has joined the channel [00:01] karboh has joined the channel [00:01] skohorn has joined the channel [00:04] jwcooper_ has joined the channel [00:10] jimt has joined the channel [00:11] jakehow has joined the channel [00:15] karboh has joined the channel [00:15] jimt_ has joined the channel [00:17] Wizek: Why is that Node doesn't send the response body when the HTTP status is set to 404? [00:18] Wizek has joined the channel [00:18] lin__ has joined the channel [00:18] Wizek has left the channel [00:18] Wizek has joined the channel [00:21] jimt has joined the channel [00:22] linnk has left the channel [00:23] [[zz]] has joined the channel [00:27] sivy has joined the channel [00:32] phiggins_ has joined the channel [00:32] mscdex has joined the channel [00:33] SwiftLayer has joined the channel [00:33] KyleXY- has joined the channel [00:33] jesusabd1llah has joined the channel [00:33] mexis_ has joined the channel [00:33] franck34_ has joined the channel [00:33] jwm_ has joined the channel [00:33] mfb_ has joined the channel [00:33] zilt_ has joined the channel [00:33] zedas_ has joined the channel [00:33] kloeri_ has joined the channel [00:33] Mulletee2 has joined the channel [00:34] bruse_ has joined the channel [00:34] Aikar_ has joined the channel [00:34] nuba_ has joined the channel [00:35] kkaefer: any cli cURL expert here? [00:35] kkaefer: I'm trying to replicate wget's -N behavior [00:35] kkaefer: it first checks whether the file that is already present on the disk is outdated [00:35] kkaefer: before it goes ahead and downloads the file [00:36] freeformz_ has joined the channel [00:37] kenbolton has joined the channel [00:37] pHcF: just implemented wordpress posts import to my blog engine :D [00:39] jimt_ has joined the channel [00:39] KyleXY has joined the channel [00:39] dispalt has joined the channel [00:40] pyrotechnick has joined the channel [00:41] mscdex: kkaefer: it's the -z option [00:41] kkaefer: hm, but I have to manually construct a date? [00:41] mscdex: no [00:42] mscdex: "curl -z local.html http://foo.com/bar.html" will download only if the remote is newer [00:42] kkaefer: ah... the filename [00:42] kkaefer: I had that at -o [00:42] mscdex: you can also specify a date instead of a filename [00:43] mscdex: like: curl -z yesterday http://foo.com/bar.html [00:43] kkaefer: thanks, mscdex [00:43] mikew3c_ has joined the channel [00:44] kkaefer: it's not in the manpage though that you can specify a filename too [00:44] mscdex: kkaefer: http://www.cs.sunysb.edu/documentation/curl/index.html [00:45] kkaefer: heh, yeah I'm sure it's documented somewhere ;) [00:45] kkaefer: thanks [00:49] kkaefer: weird... [00:49] kkaefer: Warning: Illegal date format for -z/--timecond (and not a file name). [00:49] kkaefer: Warning: Disabling time condition. See curl_getdate(3) for valid date syntax. [00:49] kkaefer: worked the first time, but now I get that [00:49] herbySk has joined the channel [00:50] dspree has joined the channel [00:51] aphelion has joined the channel [00:51] aphelion has joined the channel [00:54] cgcardona has joined the channel [00:54] Jezek has joined the channel [00:59] pyrotechnick: how does one uninstall npm or just all the modules [00:59] pyrotechnick: i tried npm uninstall npm but that doesnt work [00:59] SubStack: rm [00:59] pyrotechnick: ... [00:59] SubStack: npm rm [01:00] pyrotechnick: how do u do them all [01:00] pyrotechnick: cuz they all depend on eachother i cant remove anything... [01:00] Jezek: sucks [01:00] SubStack: rm -rf $(npm config get root) [01:00] pyrotechnick: dw i got it [01:00] SubStack: maybe [01:01] kenbolton has joined the channel [01:01] pyrotechnick: just cloned the repo and ran make uninstall [01:01] jimt has joined the channel [01:02] pyrotechnick: yeah ok [01:02] pyrotechnick: there is no way to uninstall node [01:04] mscdex: what did node ever do to you?? :p [01:06] cheney has joined the channel [01:07] cgcardona_ has joined the channel [01:08] jimt_ has joined the channel [01:12] Jezek: lol [01:13] Jezek: soooo [01:13] Jezek: i cant get this code to work [01:13] Jezek: http://pastebin.com/XKXKQETs [01:13] gf3 has joined the channel [01:13] Jezek: i try to access the server at port 8080 and get a 404 [01:21] Jezek: :/ [01:24] pyrotechnick has left the channel [01:24] herbySk: jezek: I wanted to look, but Unknown paste ID, it may have expired or been deleted! [01:24] Jezek: http://pastebin.com/08RHNuVb [01:24] Jezek: there [01:24] jimt has joined the channel [01:26] herbySk: jezek without that socket.io lines, does it work? [01:28] Jezek: nope [01:31] herbySk: jezek: hm, that's strange. netstat -a shows it runs? another thing to try, does sample code for http server from docs work? [01:32] Jezek: not sure there is a lot of output when i run that command [01:33] herbySk: scroll up, ignore the last 90%, the first lines are important, they show what connections (including listens) are active [01:33] Jezek: active internet connections? [01:33] herbySk: maybe it is bound only to some of the IPs or only to IPv6, but not to IPv4 (this is how it works on freebsd, by default) [01:34] herbySk: maybe it is called so... idk, the report which is at the beginning [01:34] herbySk: there should be 8080 or http-alt there if someone listens at 8080 [01:36] Jezek: oh [01:36] Jezek: localhost-http-alt [01:36] Jezek: i mean [01:36] Jezek: localhost:http-alt [01:36] Jezek: state: LISTEN [01:37] herbySk: well, so there it is, but is it ipv6 or ipv4 (or both?) [01:38] Jezek: tcp [01:38] herbySk: what os? [01:38] Jezek: uhh [01:38] Jezek: debian [01:39] herbySk: well, it means that it should be there on localhost:8080 [01:39] herbySk: try lynx -dump -head http://localhost:8080/ [01:39] Jezek has left the channel [01:39] Jezek has joined the channel [01:39] Jezek: it's not localhost [01:40] Jezek: it's on a domain [01:40] herbySk: but it had bound only to localhost address [01:40] Jezek: the script i had? [01:41] herbySk: since you quoted output from netstat as localhost:http-alt [01:41] Jezek: yes [01:41] herbySk: so if logged on that server, you should probably be able to access it on localhost:8080 [01:41] herbySk: try if it works [01:42] herbySk: if it will work, then the server works, but you should tell it to bind to ip 0.0.0.0 to bind to outer ip as well [01:42] jchris has joined the channel [01:42] herbySk: (there should be a param for ip, browse thru docs) [01:42] Jezek: connected [01:43] Jezek: oh on listen? [01:43] herbySk: yes [01:43] Jezek: kk [01:43] Jezek: getting somewhere [01:46] Jezek: meh [01:47] Jezek: listen(8080, "0.0.0.0"); [01:47] Jezek: still can't connect [01:47] herbySk: output of netstat -a changed (in http-alt lines)? [01:48] Jezek: nope [01:50] herbySk: still only localhost? did you kill the old server and re-run the changed one? with 0.0.0.0 it should bind to every ip available, and it should be shown in netstat (a star character instead of localhost). [01:50] Jezek: oh wait you are right [01:50] Jezek: *:http-alt [01:51] herbySk: then you should be able to connect from outside, as well [01:51] Jezek: can't though lol [01:52] Jezek: i tried ip and domain [01:53] herbySk: well, then, something else is screwed (firewall at provider, i-dont-know-what-else)... if telnet the_ip 8080 from your client says it can't connect, then there is a problem between client and a server, very probably, since netstat says your code happily listens at 8080 bound to every ip available [01:53] herbySk: i can't help any more now :-) the rest is up to you [01:53] Jezek: alright [01:54] Jezek: thanks for the help [01:54] herbySk: np [01:55] Jezek: oh yeah it does work when i do telnet ip 8080 [01:55] Jezek: gotta go [02:01] pHcF: http://pedrofranceschi.no.de/ :D [02:03] mscdex has joined the channel [02:05] kenbolton has joined the channel [02:08] maushu has joined the channel [02:10] nefD has joined the channel [02:11] jchris has joined the channel [02:13] cheney: how can node test whether contents of a variable are binary? [02:16] dnolen has joined the channel [02:23] Yuffster has joined the channel [02:24] mscdex: cheney: you can test if it's a buffer which is used for binary data... [02:26] cheney: ah great idea mscdex [02:27] pandark_ has joined the channel [02:28] Wizek: Why is that Node doesn't send the response body when the HTTP status is set to 404? [02:29] Kami_: Wizek: it's probably your browser which doesn't display it :-) [02:29] cheney: how do you test if part of an upload is in a buffer [02:29] Kami_: Wizek: chrome and firefox don't display your error message if a response is less then 512 bytes or something like that [02:31] Wizek: Kami_: Do you know the reason for that? [02:32] mscdex: cheney: well, to test a variable: Buffer.isBuffer(foo) [02:32] _mql has joined the channel [02:32] Kami_: Wizek: ppl who designed it think, that the browser error message is probably more helpful then your custom (short) error message [02:33] eazyigz has joined the channel [02:37] jakehow has joined the channel [02:37] pdelgallego has joined the channel [02:37] Kami_: Wizek: you can just append some dummy data to make the whole response larger then 512 bytes [02:38] Wizek: Kami_: yea, sure thanks for explanation [02:38] Kami_: Wizek: np [02:43] Aria has joined the channel [02:48] Hello71 has joined the channel [02:49] dnolen has joined the channel [02:57] bartt has joined the channel [03:04] aurynn: Rule 0: Do not be on fire. [03:04] eazyigz has joined the channel [03:09] jesusabd1llah: :v [03:14] Hello71 has joined the channel [03:18] dnyy has joined the channel [03:33] chrischris has joined the channel [03:35] blueadept has joined the channel [03:36] pHcF: v8: typeof NaN [03:36] v8bot: pHcF: "number" [03:36] jacobrelkin has joined the channel [03:36] pHcF: v8bot: lololol [03:36] v8bot: pHcF: Use v8: to evaluate code or "`v commands" for a list of v8bot commands. [03:37] pHcF: v commands [03:37] pHcF: v8: commands [03:37] v8bot: pHcF: ReferenceError: commands is not defined [03:37] pHcF: v8: `v commands [03:37] v8bot: pHcF: SyntaxError: Unexpected token ILLEGAL [03:37] pHcF: v8: v commands [03:37] v8bot: pHcF: SyntaxError: Unexpected identifier [03:37] pHcF: `v commands [03:37] v8bot: pHcF: Commands: Type `v . Optionally, type `v @ to send to a specific user. `v Commands are: about, beers, commands, git, google, help, macro. Other commands: v8, `re, `pcre, `ref. Type `v help for more information. Join #v8bot for more support. [03:37] pHcF: `v help git [03:37] v8bot: pHcF: git Command: Searches GitHub and returns the first result. Usage: `v git . Optionally: `v git @ [03:44] `mEOw` has joined the channel [03:53] omni5cience has joined the channel [03:54] jchris has joined the channel [04:10] chrischris has joined the channel [04:15] blueadept has joined the channel [04:15] Aredridel has joined the channel [04:18] herbySk has joined the channel [04:19] lin_ has joined the channel [04:21] boaz has joined the channel [04:25] ben_alman has joined the channel [04:29] killfill has joined the channel [04:32] NemesisD_ has joined the channel [04:33] NemesisD_: anyone aware of some 'os' module in node? I see jake requires it and it exposes a system() method for executing shell commands. anyone know anything about that? [04:33] aurynn has joined the channel [04:33] Vertice has joined the channel [04:33] m32311 has joined the channel [04:34] NemesisD_: oh wait nm i think its narwhal :[ [04:36] mfb has joined the channel [04:36] clarkfischer has joined the channel [04:36] vborja|afk has joined the channel [04:36] sonnym has joined the channel [04:36] MrNibbles has joined the channel [04:40] killfill has joined the channel [04:41] rubydiamond has joined the channel [04:51] tekky has joined the channel [04:51] Twelve-60` has joined the channel [04:55] ceej has joined the channel [04:55] NemesisD_: how do i print to stderr in node? [04:57] jchris has joined the channel [04:58] NemesisD: the closest thing i can find to printing to stderr is utils.debug but that prepends it with DEBUG [05:01] NemesisD: disregard. it seems i want console.error [05:10] killfill has joined the channel [05:13] tekky has joined the channel [05:17] Twelve-60 has joined the channel [05:17] killfill has joined the channel [05:21] benburkert has joined the channel [05:26] mikeal has joined the channel [05:31] jimt_ has joined the channel [05:38] Jezek has joined the channel [05:40] traceback0 has joined the channel [05:40] cgcardona has joined the channel [05:43] Dreamer3 has joined the channel [05:43] jimt has joined the channel [05:43] killfill has joined the channel [05:50] jimt_ has joined the channel [05:52] masahiroh has joined the channel [05:53] shinmei has joined the channel [05:55] jchris has joined the channel [05:56] jimt has joined the channel [05:59] Jezek has joined the channel [05:59] Jezek: so someone helped me partially but now im stumped at what to do. i have this code here. http://pastebin.com/jXXErzgm [05:59] traceback0: What types of applications does nodejs perform very well in? [06:00] brainproxy: traceback0: that's a pretty broad question [06:00] Jezek: i run the file using node file.js. and then when i do net-stat a i see that it's listening on that port. but i still can't access anything and i don't see "hello world" when i go to the url [06:00] traceback0: brainproxy: why should I use nodejs? [06:00] Jezek: lol [06:00] traceback0: why build a web server in nodejs vs. python/erlang? [06:00] brainproxy: traceback0: okay, first of all, do you like the idea of using javascript on both sides of your client server equation [06:00] traceback0: i am ok with taht [06:01] brainproxy: traceback0: are you comfortable with prototypal inheritance? or are you going to want a more full-feature class system [06:01] skm has joined the channel [06:02] traceback0: brainproxy: sure [06:02] traceback0: i am ok with that [06:02] Aria: Closures and events are a natural combination. Javascript does this well. [06:03] Aria: Jezek: What URL are you accessing? [06:03] Jezek: domain.com:8080 [06:03] Aria: (It could well be that you have that port firewalled off. What's it running on?) [06:03] traceback0: brainproxy: nodejs looks to accomplish the same stuff as eventlet / gevent [06:03] brainproxy: Jezek: check iptables [06:03] Jezek: hrm [06:03] traceback0: non-blocking IO all across [06:04] Jezek: hrm [06:04] Jezek: k [06:04] Jezek: i do have iptables installed [06:04] brainproxy: traceback0: tbh, I haven't used those [06:04] traceback0: brainproxy: mm [06:04] traceback0: mmk [06:04] brainproxy: but if you ask in terms of "can it do this" [06:04] brainproxy: I may be able to tell you [06:05] brainproxy: by default, you need to think in terms of events and callbacks [06:05] brainproxy: read the nodejs docs [06:05] brainproxy: you'll get a good feel for what it's going to be like in node world [06:05] brainproxy: there are some other options as well; for example, if you're open to using a meta class system [06:06] Aria: Simple things tend to be simple for as low level as they are. Complex things are possible. [06:06] brainproxy: you could use Joose and then the CPS extension for Joose [06:06] traceback0: brainproxy: I am trying to think of a good use case where nodejs out performs other things I use to get an idea of where and what I can use it for in my stack-- [06:06] brainproxy: JooseX.CPS [06:06] traceback0: brainproxy: i get it though: non-blocking network IO [06:06] traceback0: that's useful [06:06] Aria: Yep. [06:06] traceback0: eventlet does that tas well [06:06] traceback0: http://eventlet.net/ [06:06] brainproxy: I've heard of it, just not used it [06:06] Aria: Node actually memcpy()s a lot, so it could be faster. that said, it's damn fast. [06:07] traceback0: brainproxy: both use epoll [06:07] Aria: Not gonna beat something purpose specific written in C that's tuned to be as fast as possible. [06:07] traceback0: brainproxy: yeah we use it production [06:07] Aria: But man, it's pretty damn close. [06:07] traceback0: it in* [06:07] brainproxy: traceback0: are you looking to do something logically on top of the async framework [06:07] brainproxy: like Actor Model [06:07] brainproxy: or FRP [06:07] Jezek: ugh what am i doing [06:07] traceback0: brainproxy: I am really just researching so I have nodejs in the back of mind while I build new things [06:08] brainproxy: Jezek: did you check the firewall? [06:08] traceback0: brainproxy: I am basically thinking: How is nodejs the right tool for the job later? [06:08] brainproxy: traceback0: potentially, you can get a lot of code reuse out of the server side in the client side [06:08] brainproxy: and vice versa [06:08] brainproxy: depending on what kind of libraries your building [06:08] brainproxy: and how you build them [06:09] traceback0: hm yeah [06:09] traceback0: looks like it's just non-blocking network IO which is great [06:09] Aria: Yeah. [06:09] brainproxy: basically, and it's just javascript [06:09] Aria: There isn't actually that much to node. [06:09] Aria: It just happens to be enough to do lots of awesome. [06:09] brainproxy: right, it's pretty much just a standard lib for js on the server side [06:09] brainproxy: that has http and tcp and unix sockets [06:09] brainproxy: as first class citizens [06:10] brainproxy: and can do the typical posix stuff too [06:10] Jezek: whoah they are disabling web sockets in firefox 4 [06:10] Aria: Yes. [06:10] brainproxy: Jezek: tried socket.io? [06:10] brainproxy: s.io will failover to another transport [06:10] Jezek: should i still use it? [06:10] Aria: They have to have 'em working right to unleash 'em on the world. Use socket.io. [06:10] Jezek: hrm [06:10] brainproxy: if websockets isn't availble [06:10] brainproxy: http://socket.io [06:10] brainproxy: great library [06:11] Jezek: yeah i was gonna set that up [06:11] brainproxy: traceback0: does udp datagrams too [06:11] traceback0: what's that useful for? [06:12] Jezek: im opening INPUT right? [06:12] brainproxy: if you need low latency message oriented server-server stuff [06:12] killfill has joined the channel [06:12] brainproxy: anywawy, just noting that node gives you everything you'd want for network i/o [06:12] brainproxy: right out of the box [06:13] brainproxy: read through the docs, first time may be rough, depending on your background [06:14] shinmei: traceback0: nodejs is non-blocking, it can handle thousands of client with a single thread. More clients does not mean more memory used, that's great [06:14] brainproxy: traceback0: make sure to look at some of the middleware and libs available before you reinvent the wheel :) [06:14] brainproxy: connect and express are nice [06:14] brainproxy: if you want something like ruby rack and sinatra [06:14] traceback0: shinmei: heh more clients will always mean more memory. [06:15] traceback0: brainproxy: we're a python shop =) [06:15] brainproxy: if you want a powerful pure js meta class system that works in browser and node [06:15] brainproxy: check out http://joose.it [06:16] brainproxy: the maintainer is presently working on an extension that should let one model apps in terms of the actor model, if you want that [06:17] shinmei: traceback0: more client will need far less memory that if you have to create a new thread to handle them [06:18] traceback0: shinmei: yeah, it's a performance thing man [06:18] traceback0: shinmei: you till need more processes serving no matter what htough [06:19] brainproxy: traceback0: keep in mind that node is single threaded, so you'll have to scale out horizontally, eventually [06:19] traceback0: brainproxy: i bet most people start 4 node servers on a single node [06:20] traceback0: and put in a load balancer [06:20] Aria: Yeah? Why? [06:20] brainproxy: traceback0: sure [06:20] traceback0: brainproxy: just commenting [06:20] Aria: Most tasks are io-bound. [06:20] traceback0: that's fine [06:20] traceback0: brainproxy: eventlet is the same [06:20] shinmei: there is an example of irc server written in node, if you are confortable with JS, read it : https://github.com/ry/node_chat/blob/master/server.js [06:21] brainproxy: dissecting the node-chat is a good way to start too [06:21] dspree has joined the channel [06:21] brainproxy: https://github.com/ry/node_chat [06:25] darthdeus has joined the channel [06:32] killfill has joined the channel [06:37] Jezek: i added the rule to allow connections to 8080 and still nothing :/ [06:38] brainproxy: Jezek: from your client can you telnet to port 8080 on the server [06:38] brainproxy: i mean as a sanity check? [06:39] Jezek: hrm connection refused. [06:39] brainproxy: also, what if you just try omitting the 0.0.0.0 part [06:39] brainproxy: simply spec'ing the port number [06:39] Jezek: i have this rule though [06:39] Jezek: http://pastebin.com/jLZEvnj1 [06:39] Jezek: i can try [06:40] Jezek: still not acessible [06:41] Ond has joined the channel [06:41] brainproxy: hmm, i'm still inclined to suspect your firewally, maybe an out of order rule [06:41] brainproxy: what if you temporarily flush your rules [06:42] Jezek: i dont want to break anything [06:42] brainproxy: what OS is the server running? [06:42] Jezek: debian [06:43] brainproxy: do you know where your rules are stored? [06:43] Validatorian: last I checked, node had pretty big issues with SSL, is that still the case? [06:43] Jezek: no [06:43] Jezek: i do not know [06:44] brainproxy: Jezek: as a sanity check again, what if you try to start up another server thing on that port [06:44] brainproxy: like nginx or something [06:46] jacobrelkin has joined the channel [06:46] shinmei has joined the channel [06:47] brainproxy: Validatorian: https is not supported in 0.3.2, apparently work is being done on the tls stuff [06:47] Validatorian: brainproxy: k, thank you [06:47] brainproxy: Validatorian: see http://nodejs.org/changelog.html [06:48] Jezek: brainproxy, is it easy to set what port it listens on [06:49] Jezek: i actually had node working on this server before i think [06:49] brainproxy: Jezek: sure, it's in the .listen() method call [06:49] killfill has joined the channel [06:50] brainproxy: Jezek: sorry, got to head to bed, good luck; you may want to seek help in a debian channel if you're not sure what you're doing with iptables [06:50] Jezek: alright [06:50] brainproxy: Jezek: this may be helpful [06:50] Jezek: it looked like the other accept rules if that means anything [06:50] brainproxy: http://articles.slicehost.com/2009/3/31/debian-lenny-setup-page-1 [06:51] Jezek: thanks [06:51] brainproxy: toward the bottom is some rudimentary stuff related to iptables config [06:51] brainproxy: on debian lenny [06:51] iszak has joined the channel [06:51] iszak has joined the channel [06:52] Jezek: yeah [06:52] Jezek: thats me [06:52] brainproxy: no worries, we've all been there :) [06:54] Jezek: herp derp [06:54] Jezek: it would only be input rules right? [06:55] brainproxy: correct [06:56] Jezek: found an iptables chat too [06:56] brainproxy: nice [06:57] Jezek: more dead than a bar on christmas [06:57] brainproxy: lol [06:58] Jezek: if i telnet in would it connect even if the node server isn't running? [06:59] Jezek: now im getting a node error at least [07:00] Jezek: Error: EADDRINUSE, Address already in use [07:00] Ond has joined the channel [07:01] brainproxy: ps -ef | grep node [07:02] Jezek: ok [07:02] brainproxy: i think one of the node processes you spawned is still running [07:02] brainproxy: bound to that port [07:03] brainproxy: sorry, retiring now, ttyl, keep at it :) [07:03] Jezek: fawk [07:03] Jezek: ok see ya [07:04] cagdas has joined the channel [07:05] evanmeagher has joined the channel [07:06] cagdas has joined the channel [07:09] cagdas has joined the channel [07:20] jimt_ has joined the channel [07:20] killfill has joined the channel [07:25] jimt has joined the channel [07:27] cagdas has joined the channel [07:31] jimt has joined the channel [07:36] cagdas has joined the channel [07:39] ericlavigne has joined the channel [07:42] jakehow has joined the channel [07:42] ericlavigne: Installing node for the first time. Getting seg faults during `make` with both stable (0.2.5) and unstable (0.3.2) versions on Ubuntu 10.04. Tried searching Google and last few days of IRC. Any suggestions? [07:45] killfill has joined the channel [07:46] cagdas has joined the channel [07:46] dandaman has joined the channel [07:48] ryah: ericlavigne: which part of 'make' ? [07:49] ryah: which command is segfauling [07:49] ericlavigne: In 0.3.2: collect2: ld terminated with signal 11 [Segmentation fault] [07:50] ericlavigne: {task: cxx_link node_main_4.o, ...(lots of other object files) [07:50] cagdas has joined the channel [07:50] ericlavigne: I tried again with version 0.2.5 and it just worked. Not sure what changed :-/ [07:51] AAA_awright_ has joined the channel [07:51] ericlavigne: I'm certain that the error looked different when it happened with 0.2.5, but it's too far back in my terminal to read it. [07:54] ryah: which os? [07:54] ericlavigne: Ubuntu 10.04 [07:54] ryah: hm [07:54] ryah: running out of memory? [07:55] ryah: i don't know. seems strange. [07:55] cagdas has joined the channel [07:55] jimt has joined the channel [07:56] davidc_ has joined the channel [07:56] davidc_ has joined the channel [07:56] ericlavigne: I have no idea what my memory usage looked like during the build. [07:57] ericlavigne: I have 2GB of memory, plus about 1GB of swap space. [07:57] ericlavigne: Only using 400MB right now, which would leave quite a lot left for the build. [08:00] ericlavigne: Well, it doesn't fail consistently, so at least I have a working node installation now. Thanks for taking a look at this issue, ryah. I'm going to get back to learning node. [08:01] cagdas has joined the channel [08:05] cagdas has joined the channel [08:09] ryah: ok [08:14] cagdas has joined the channel [08:15] killfill has joined the channel [08:16] cagdas has joined the channel [08:17] ibolmo has joined the channel [08:24] Validatorian has joined the channel [08:25] cagdas has joined the channel [08:29] aphelion has joined the channel [08:29] killfill has joined the channel [08:30] zentoooo has joined the channel [08:42] mgutz has left the channel [08:43] cagdas has joined the channel [08:44] pyrotechnick has joined the channel [08:47] liar has joined the channel [08:50] killfill has joined the channel [08:51] jetienne has joined the channel [08:55] cagdas has joined the channel [08:56] rpbertp13 has joined the channel [08:59] jetienne has joined the channel [09:04] qFox has joined the channel [09:05] cagdas has joined the channel [09:07] aphelion has joined the channel [09:07] aphelion has joined the channel [09:08] cagdas has joined the channel [09:10] faust45 has joined the channel [09:12] mexis has joined the channel [09:14] dandaman has joined the channel [09:18] matjas has joined the channel [09:19] saschagehlich has joined the channel [09:21] SamuraiJack has joined the channel [09:22] dandaman has joined the channel [09:24] stephank has joined the channel [09:24] mikeal has joined the channel [09:25] cd has joined the channel [09:28] zentoooo has joined the channel [09:30] matjas has joined the channel [09:31] matjas has joined the channel [09:34] killfill has joined the channel [09:37] derren13 has joined the channel [09:44] fangel has joined the channel [09:47] davidc__ has joined the channel [09:49] davidc_ has joined the channel [09:49] davidc_ has joined the channel [10:01] jetienne_ has joined the channel [10:04] skm has joined the channel [10:05] Somebi has joined the channel [10:05] Somebi: Hello everyone [10:05] fly-away has joined the channel [10:06] Somebi: Can someone tell me how to run node.js scripts under gdb? [10:06] Somebi: Can't figure out [10:06] Somebi: Want to track some strange error "Segmentation Fault" [10:06] Somebi: something with io i guess... [10:07] killfill has joined the channel [10:08] jetienne: http://comments.gmane.org/gmane.comp.lang.javascript.nodejs/3697 Somebi this one may help [10:10] Somebi: hmm thanks i'll look into it [10:14] nefD has joined the channel [10:15] [[zz]] has joined the channel [10:15] killfill has joined the channel [10:16] kjeldahl has joined the channel [10:27] teddy has joined the channel [10:34] killfill has joined the channel [10:50] killfill has joined the channel [10:52] kjeldahl has joined the channel [11:02] naneau has joined the channel [11:03] naneau has joined the channel [11:03] Guest68128 has joined the channel [11:04] Guest68128 has joined the channel [11:12] demolithion has joined the channel [11:19] mr_daniel has joined the channel [11:24] skohorn has joined the channel [11:30] _mql has joined the channel [11:38] Sbioko has joined the channel [11:42] kjeldahl has joined the channel [11:57] zemanel has joined the channel [12:06] jetienne has joined the channel [12:17] Sbioko: http://pastebin.com/JGnndLKH [12:17] Sbioko: it causes "infinite loading" [12:17] Sbioko: why? [12:18] pyrotechnick has joined the channel [12:20] Sbioko: anyone? [12:21] RichardJ: Sbioko: shouldn't the res.end() be in the callback? [12:21] Sbioko: oh yeah... [12:21] Sbioko: RichardJ: thanks a lot! [12:21] RichardJ: Sbioko: no problem :) [12:21] Sbioko: Happy holidays! [12:22] Sbioko: so stupid mistake [12:22] RichardJ: thesame to you! [12:22] Sbioko: thanks! [12:26] saschagehlich has joined the channel [12:27] naneau has joined the channel [12:38] saschagehlich has joined the channel [12:57] pdelgallego has joined the channel [12:59] saschagehlich has joined the channel [13:04] jimt_ has joined the channel [13:07] pyrotechnick has joined the channel [13:09] jimt has joined the channel [13:23] jimt_ has joined the channel [13:27] Sbioko has left the channel [13:28] jimt has joined the channel [13:40] ewdafa has joined the channel [13:50] skm has joined the channel [14:03] sivy has joined the channel [14:03] kenbolton has joined the channel [14:16] andrewfff has joined the channel [14:21] dustin_ has joined the channel [14:22] AAA_awright has joined the channel [14:25] jimt_ has joined the channel [14:29] jchris has joined the channel [14:37] liar has joined the channel [14:38] jimt has joined the channel [14:43] mscdex has joined the channel [14:44] jimt has joined the channel [14:49] jimt_ has joined the channel [14:50] dandaman has joined the channel [14:52] JimBastard has joined the channel [14:52] mscdex: node.js rules! [14:52] JimBastard: either creationix is a mind reader or TJ passed along my idea [14:52] JimBastard: https://github.com/creationix/stack [14:52] JimBastard: :-D [14:52] JimBastard: i literally asked for that like last week [14:52] mscdex: nowai [14:54] Yuffster has joined the channel [14:57] matjas has joined the channel [15:05] jimt has joined the channel [15:06] d0k has joined the channel [15:09] Yuffster_ has joined the channel [15:10] jimt has joined the channel [15:12] jchris1 has joined the channel [15:20] jimt has joined the channel [15:25] jimt_ has joined the channel [15:32] rakeshpai has joined the channel [15:33] jimt has joined the channel [15:35] jchris2 has joined the channel [15:35] jchris3 has joined the channel [15:35] gmonnerat has joined the channel [15:37] Hello71 has joined the channel [15:40] chrischris has joined the channel [15:52] stepheneb has joined the channel [15:54] JusticeFries has joined the channel [15:55] markwubben has joined the channel [15:58] iszak has joined the channel [15:59] RevoOf has left the channel [16:01] stagas: ever been in a situation where you've finished 99% of a project and are too lazy to sit down and code the rest 1% ? :) [16:03] ceej has joined the channel [16:05] mape: 99% of the time? :P [16:05] stagas: exactly hahaha [16:06] iszak: Oh god yes, I know exactly what you mean. [16:06] iszak: you're like "well.. it's only a little bit left, I can finish it whenever". [16:07] stagas: iszak: whenever or never :P [16:07] iszak: something like that. [16:12] mattc has joined the channel [16:21] dustin_: 2 [16:23] Yuffster has joined the channel [16:26] Hello71 has joined the channel [16:38] Wizek has joined the channel [16:38] tanepiper has joined the channel [16:39] dthompson has joined the channel [16:39] rudebwoy has joined the channel [16:46] herbySk has joined the channel [16:47] Hello71 has joined the channel [16:47] Hello71 has joined the channel [16:55] naneau has joined the channel [16:55] Fullmoon has joined the channel [17:00] traceback0 has joined the channel [17:00] Hello71 has joined the channel [17:11] steffkes has joined the channel [17:13] Gruni has joined the channel [17:15] ph^ has joined the channel [17:18] darthdeus has joined the channel [17:20] skm has joined the channel [17:20] zentoooo has joined the channel [17:28] Imperion has joined the channel [17:31] Wizek has joined the channel [17:37] dsaal has joined the channel [17:40] papandreou has joined the channel [17:41] dsaal: anyone know if/when HTTPS will be back in Node? or what previous version of Node best supported it? [17:43] pquerna: dsaal: its under active fixing/development right now. end of jarnuary. [17:43] pquerna: dsaal: current 'best' way to run it is to use stunnel for https servers. [17:45] dsaal: ok, tyvm! [17:47] jchris has joined the channel [17:47] Aikar has joined the channel [17:47] Aikar has joined the channel [17:54] papandreou: Has anyone found a good solution for turning a bunch of streams into a "zip archive stream" without creating intermediate files on disk? The best I've been able to come up with involves mknod'ing one FIFO per file I want in the archive, then running "zip --fifo - fifo1 fifo2..." and using its stdout as the zip stream. [17:55] papandreou: I guess the right lib would make it possible to do it without even touching the file system? [17:55] Imperion: uh, how can I get Jade to treat undefined locals as falsy? I'm trying to do something like - if(error) // then print error message [17:55] Imperion: but I'm getting undefined variable errors [17:55] digitalspaghetti has joined the channel [18:00] cagdas has joined the channel [18:00] RichardJ: Imperion: why bother using jade? [18:01] Imperion: RichardJ: ? [18:01] RichardJ: Imperion: i assume you mean the template engine? [18:02] Imperion: yes [18:03] RichardJ: what's so advantageous about it? [18:03] RichardJ: what problem does it solve? [18:04] tanepiper has joined the channel [18:04] Imperion: RichardJ: it works nicely with Express [18:05] Imperion: productivity and all that jazz [18:05] Imperion: plus I do need to insert *some* code into what I'm doing [18:05] sveisvei has joined the channel [18:06] skampler has joined the channel [18:07] boaz has joined the channel [18:07] Imperion: ..and there it is [18:11] Wizek has joined the channel [18:19] pdelgallego has joined the channel [18:21] bartt has joined the channel [18:21] jakehow has joined the channel [18:22] eikke has joined the channel [18:23] eikke: is there any existing on-the-fly coffeescript compiler middleware for connect/express? [18:26] cgcardona has joined the channel [18:28] _mql has joined the channel [18:30] markwubben has joined the channel [18:30] ph^ has joined the channel [18:32] MattJ has joined the channel [18:32] Jezek has joined the channel [18:33] cagdas has joined the channel [18:35] mfernest has joined the channel [18:36] AAA_awright_ has joined the channel [18:39] Jezek: fuck [18:40] Jezek: so i've opened up the firewall port, and then i setup a demo server to connect to that port, but i still can't connect [18:40] cgcardona_ has joined the channel [18:42] Gruni has joined the channel [18:43] AAA_awright has joined the channel [18:43] felixge has joined the channel [18:43] felixge has joined the channel [18:43] NemesisD has joined the channel [18:44] NemesisD: any of you guys have any experience with backbone.js [18:51] ewdafa has joined the channel [18:51] Wizek has joined the channel [18:52] Imperion: should multiple consecutive ClientRequests be made in the order they are created? [18:52] matjas has joined the channel [18:55] jacobrelkin has joined the channel [18:56] Jezek: so if i do telnet localhost port it connects, but not from the outside [18:56] cgcardona has left the channel [18:58] robotarmy has joined the channel [18:59] ryah: Jezek: .listen(port, '0.0.0.0') ? [18:59] Jezek: also when i use tcpdump port theportnumber i see connections being made [18:59] Jezek: yup [18:59] Jezek: that is what i have [19:00] Jezek: does permissions on the .js file matter? [19:01] tmzt_: execute permission? [19:01] maushu has joined the channel [19:02] Jezek: would it throw an error if there was a problem? [19:02] skm has joined the channel [19:02] tmzt_: what does netstat -tlp say it's listening on? [19:03] tmzt_: and do you have firewall rules on the computer blocking it from an external port [19:03] RichardJ: only thing i can think of is incorrect routing [19:04] RichardJ: are you running other services that work fine on the same machine? [19:04] sepehr has joined the channel [19:05] faust45: if i need download only 1K data not all data from netStream how i can do this? [19:05] Jezek: *:8124 [19:06] sepehr1 has joined the channel [19:07] Jezek: firewall: http://pastebin.com/nhfFYY15 [19:07] skampler has left the channel [19:08] pHcF has joined the channel [19:09] tmzt_: did you add a firewall rule? [19:09] tmzt_: or what were the defaults before you added that [19:09] slaymer has joined the channel [19:10] skm has joined the channel [19:10] Jezek: thats what i addded [19:10] gf3 has joined the channel [19:10] Jezek: there are a bunch of default rules for apache and the mail server and such [19:10] tmzt_: why? [19:10] tmzt_: oh [19:12] Jezek: it just says tcp, does it have to say all [19:12] Jezek: some other rules say "all" [19:15] sepehr has joined the channel [19:21] matjas has joined the channel [19:21] mfernest: does that subnet in the firewall rule default to class A, or is it also a wildcard? [19:21] faust45: guy's need advice, how i can resume stream in correct way? and force stream to emit 'end' [19:21] faust45: ? [19:21] faust45: my case i reade netStream [19:22] faust45: and don't need load all data [19:23] oal has joined the channel [19:24] mw has joined the channel [19:24] d7777777 has joined the channel [19:25] herbySk has joined the channel [19:30] ryah: Jezek: permissions, no [19:30] Jezek: ok [19:32] Jezek: set the permissions and still nothing [19:32] benburkert has joined the channel [19:37] raoul has joined the channel [19:38] ryah: Jezek: if you tcpdump it - do you see the connection? [19:38] ryah: it's probably some firewall thing [19:38] Jezek: yes [19:38] Jezek: oh [19:39] rakeshpai has joined the channel [19:40] Jezek: hrm [19:41] raoul: hi all, i'm trying to build tag v0.3.2 in cygwin but can't get it to compile. I get when calling make: /cygdrive/c/code/node/deps/v8/src/platform-cygwin.cc:809: error: class `v8::internal::Sampler' does not have any field named `synchronous_' anyone else come across this? [19:46] Jezek: could there be another firewall besides iptables? [19:54] daglees has joined the channel [19:54] daglees has joined the channel [19:57] robotarmy has joined the channel [20:02] spetrea_ has joined the channel [20:03] stagas has joined the channel [20:06] eml-mobile has joined the channel [20:07] Aria has joined the channel [20:07] bingomanatee has joined the channel [20:07] bingomanatee: Greets all. [20:07] bingomanatee: Did Santa give you all the APIs you asked for? [20:07] Aria: ACTION checks her stocking for fork(). Sadly not! [20:09] mfernest: pfff, fork(). What does fork() know about a day's work? [20:10] tmzt has joined the channel [20:11] Thump has joined the channel [20:12] felixge: Aria: :( [20:13] Aria: felixge: How do you feel about starting a require('platform/unix') library? [20:13] felixge: Aria: Well, I was hoping for gift wrapping as well. But if you're cool to compile your present: http://github.com/felixge/node-nix [20:13] Aria: Ooh. [20:13] felixge: Aria: only has fork() right now, but I'll merge any bindings that come with a test and look sort of sane [20:13] felixge: :) [20:13] mikeal: anyone know how to turn off process of script tags in jsdom? [20:13] Aria: Oooh. [20:14] tmzt: felixge: how hard are bindings to do? [20:14] felixge: that is stuff that feels "standard-libraryish", not bindings that bring other dependencies [20:14] felixge: tmzt: pretty easy. I'm not a C guy, but I find it easy to write some glue code for node addons [20:14] Aria: Yeah. Libc stuff. [20:14] Aria: Yeah, it's really not too bad, for heavily templated C++ [20:14] felixge: tmzt: https://github.com/felixge/node-nix/blob/master/src/nix.cc#L9 [20:14] felixge: that should give you an idea [20:14] Aria: You can get away with a lot of copypasta. [20:14] bingomanatee: I'm wearing my "Fork you" t-shirt from git - kind of reminding me how few people "get" it in the outside world ... [20:14] tmzt: c++? [20:15] felixge: tmzt: yeah it's C++ [20:15] felixge: but most editors can copy & paste it just as well as C [20:15] felixge: :0 [20:15] felixge: :) [20:15] Aria: ACTION grins [20:15] saschagehlich has joined the channel [20:15] bingomanatee: Aria - sounds interesting - what do you see this library doing? recreating Unix in JS? [20:16] tmzt: target is the new object? [20:16] tmzt: this is better than jni [20:16] Aria: No -- just binding all the unixisms like setsid, fork, exec, system() [20:16] Aria: Making it possible to write deeply unixy programs in node. [20:16] felixge: tmzt: target is the "exports" object of the module [20:17] felixge: tmzt: NODE_SET_METHOD is a macro from node.h that lets you glue a JS function to a C++ function [20:17] bingomanatee: sounds useful. I'm sure some would call it unhealthy to bind node as a whole to Unix but I'm all for it. [20:17] felixge: bingomanatee: well, ryan does not want unportable unix stuff in node [20:17] felixge: which really is a shame [20:18] Aria: I just don't want to introduce dependencies for things I write that I could just do in a couple lines internally. Having fork and setsid, for example, means no need for daemontools or bizarro tools like nohup. [20:18] felixge: but I'll get over it with some excessive alcohol abuse on new years [20:18] tmzt: bingomanatee: better then trying to wrap the way things work on windows, etc. but you can always build against cygwin/msys etc. [20:18] blueadept has joined the channel [20:18] Aria: I'd rather see the Windows stuff bound, too. [20:18] Aria: require('platform/windows') anyone? [20:18] dandaman1 has joined the channel [20:18] tmzt: right, as it's own [20:18] Aria: I wish it was standard library, and just different on each platform, but hey. [20:18] tmzt: not as a bad emulation of some generic fork or createprocessex [20:18] bingomanatee: There is some small grain of truth to that policy but I think its unrealistic to assume anyone would run node in a non-unix environment -- and the fact is there are a lot of unix-adapting I'd like to do with my code. [20:19] Aria: (And marked as such -- require('platform/windows') makes sense to me!) [20:19] bingomanatee: I can't see myself running SOLR on a Win7 box... [20:19] mraleph: who needs windows nowadays? [20:19] Aria: Lots of people develop under Windows. [20:19] bingomanatee: "Normal" folk, and gamers. [20:19] Aria: And things like "make Quickbooks data web accessible" ;-) [20:19] tmzt: I'm basically porting some stuff from .net to node [20:19] felixge: there are a million windows developers in tiny cubicle farms out there [20:19] felixge: they are not allowed to hang out in irc [20:19] bingomanatee: Aria: yes, and they are all bad programmers. [20:19] felixge: but we could make their life a little better with node [20:19] felixge: :) [20:19] broofa: is there an equivalent to cancelTimeout for nextTick()? "cancelTick()"? [20:19] tmzt: since the only remaining asp.net in these two projects is server side stuff for dojo [20:20] Aria: And besides, I want platform/macos/cocoa too ;-) [20:20] jimt_ has joined the channel [20:20] bingomanatee: rm -rf *.exe [20:20] felixge: truth be told: Poor windows support is what keeps ruby from ever taking over PHP [20:20] Aria: Poor deployment support is what keeps Ruby from taking over PHP [20:20] tmzt: but I was considering binding libxcb for some experiements I wanted to work on [20:20] Aria: Having to edit config files in server-specific ways is the death knell. [20:20] Aria: .oO(Node bindings to Webkit. Node comes full circle ;-)) [20:21] bingomanatee: I think there are specific use cases for unix-only binding that would justify a unix layer milddleware. [20:21] bingomanatee: If Microsoft wants to write a windows equivalent they have the people to do so. [20:21] Aria: Yeah. Like integrating things on unix systems ;-) [20:21] tmzt: Aria: embedded js looks good [20:21] felixge: anyway, ryan says he is cooking something so sweet it will make us all forget about fork() [20:21] felixge: so I'm waiting for that to happen :) [20:21] bingomanatee: For instance, a midleware layer to interact with crontab would be nice. [20:21] Aria: Hehe. [20:21] mape: felixge: ipc? [20:21] felixge: mape: yeah [20:22] Aria: Oh fun, bingomanatee! That'd be useful. [20:22] felixge: mape: I don't know much details [20:22] mape: felixge: yeah was here when he mentioned it [20:22] bingomanatee: as well as incrontab.... [20:22] bingomanatee: And it wouldn't take a lot of work either. [20:22] felixge: My fun project for today is porting a small node tcp server to C [20:22] mape: felixge: should start a noderumors site that tries to find all the cool new rumors ;) [20:22] tmzt: felixge: why? [20:22] felixge: and with "fun" I mean "painful learning experience" [20:23] felixge: tmzt: For my node.js talk at 27c3 on tuesday [20:23] Aria: (I think I'm weird in that I'm a system integrator more than a system administrator, even. I spend a fair amount of time hakcing things to deploy cleanly on various flavors of Linux) [20:23] felixge: http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=/rzab6/rzab6xnonblock.htm [20:23] felixge: seems sort of reasonable [20:23] felixge: for a toy server [20:23] felixge: so yeah, 4 lines of node.js code = 300+ lines of C [20:23] felixge: :) [20:23] Aria: Yeah. Non-blocking in C isn't too bad. Buffers are the painful part, and we have malloc and realloc. [20:24] bingomanatee: Jip-Jop? [20:24] felixge: Aria: non-blocking C is ok, but it really drags you into the deep water of your networking stack - you better know how to swim there [20:24] felixge: :) [20:24] tmzt: felixge: not sure I understand [20:25] Aria: Heh, yeah. That's where I started, so it makes sense to me. Dealing with abstractions always bugged me since I think to myself "I want to read() and then getpeercred() ... wait, this is hard? Impossible?" [20:25] Jezek: i just can't win [20:25] felixge: tmzt: ? [20:26] Aria: Jezek: ? [20:26] felixge: Aria: I find error handling to be extremely hard in C [20:26] Aria: Mmm, yeah. The check-everywhere is a pain. [20:26] Jezek: Aria, just frustrated i can't get the simple server example to work [20:26] felixge: Aria: especially when you want to build up any kind of abstraction in the long run [20:26] Aria: Jezek: Did you check your firewall? [20:26] felixge: Aria: well, propagating errors is hard [20:26] Jezek: yes [20:26] tmzt: felixge: you mean doing the same thing as a node server script in c? [20:27] Aria: Yeah, the abstraction is easy until you try to do error handling. [20:27] qFox has joined the channel [20:27] Aria: Jezek: Still getting connection refused trying to connect? [20:27] felixge: tmzt: I'm basically porting this script from node to C: https://gist.github.com/b2d0ecef62a242fd51a1 [20:27] Jezek: well the firefox message is "Unable to connect" [20:27] Aria: Okay, so time to use a tool that tells you a more specific error. [20:28] Aria: Got a unix toolset? [20:28] Jezek: i'm not sure [20:28] felixge: tmzt: Mostly because I expect a bunch of C hackers to show up, and I don't want to look like an idiot talking about the underlaying mechanisms [20:28] felixge: :) [20:28] Aria: Jezek: What OS are you testing on? Where's the server / where's the client? [20:28] tmzt: net is for tcp sockets? somehow I though it would be called tcp :) [20:29] Jezek: debian OS, i'm on a VPS [20:29] vborja has joined the channel [20:29] Jezek: client being me? [20:29] felixge: tmzt: net is for tcp and unix sockets [20:29] Jezek: well it's on a seperate machine if that is what you are wondering [20:29] felixge: tmzt: they are very similar, that's why they share a combined module [20:29] felixge: (AFAIK) [20:32] Hello71 has joined the channel [20:32] Hello71 has joined the channel [20:33] frodenius: felixge㇀ will you be at ccc this year? [20:33] felixge: frodenius: yes, I will be there on tuesday [20:34] felixge: frodenius: unfortunately only very briefly before and after my talk :( [20:34] felixge: frodenius: are you coming? [20:34] Jezek: what event is this? [20:34] felixge: Jezek: http://events.ccc.de/congress/2010/Fahrplan/events/4142.en.html [20:35] felixge: well, the event itself is the chaos communication congress: http://events.ccc.de/congress/2010/wiki/Main_Page [20:35] jbaron has joined the channel [20:35] Jezek: oh it's in germany [20:37] felixge: Jezek: well, you need a good club mate supply to get so many hackers together [20:37] felixge: ; ) [20:37] cgutierrez has joined the channel [20:37] Jezek: any node.js events in the bay area? [20:38] Jezek: ah [20:38] felixge: Jezek: yeah, like *all* of them :( [20:38] Jezek: :) [20:38] felixge: Jezek: talk to isaacs / creationix [20:38] mw has joined the channel [20:38] felixge: but most stuff is also announced on the mailing list [20:39] Jezek: ah [20:39] mfb has joined the channel [20:40] bingomanatee has joined the channel [20:42] mikeal: haha [20:42] mikeal: well [20:42] mikeal: there aren't that many *events* [20:42] mikeal: it's more like, we all just decide to go get a drink [20:42] mjr_: And lots of us happen to live in the SF area. [20:42] felixge: mikeal: see, going to get a drink with you guys *is* an event for me ;) [20:42] Jezek: i figured [20:42] mikeal: if you're in Oakland, me and Isaac go get lunch about once a week :) [20:43] Jezek: the oaktown [20:43] felixge: mikeal: abducting ryan from cologne was simply not faire [20:43] felixge: * fair [20:43] felixge: :) [20:43] Ond has joined the channel [20:44] mjr_: Better luck next time, Germany. [20:44] mikeal: hahaha [20:44] mikeal: some day we'll all move to Portland together [20:44] mikeal: except mjr, who will be in hawaii [20:44] mjr_: Probably. [20:44] felixge: mjr_: I'll escalate this incident to dr. strangelove :) [20:44] Ond: (I'm in the Portland metro area) [20:44] mjr_: I won't live in Hawaii forever. [20:45] mjr_: Seems like I'll probably move back to the Bay Area at some point, unless Portland has some fantastic career opportunities for me. [20:46] sveisvei has joined the channel [20:46] mjr_: And now I must reboot [20:46] mikeal: you work in Portland and work for somewhere in the Bay remotely like everyone else in Portland :) [20:50] Jezek: ACTION slaps himself silly [20:50] Jezek: this whole time i was checking the wrong port [20:50] Twyndyllyngs has joined the channel [20:50] Twyndyllyngs has joined the channel [20:52] shajith_ has joined the channel [20:53] bingomanatee: I'm in SF - wouldn't mind doing the drinking thing [20:53] RichardJ: harhar, all from the US I see? [20:53] ibolmo has joined the channel [20:54] bingomanatee: mjr_: as an ex PDXer ... I'd suggest a more major metropolitan area. As well, you'd probably freeze to death. [20:56] bingomanatee: There are a few Canadians in the channel - guess they aren [20:56] bingomanatee: t in at the moment. [20:57] RichardJ: i'm from holland actually :) [20:59] bingomanatee: Sweet! [20:59] bingomanatee: Europa in the house. [20:59] bingomanatee: How is node.js adoption looking in Holland? [21:00] RichardJ: well, i've been promoting it a bit here [21:00] zemanel has joined the channel [21:00] RichardJ: most people still have to learn using javascript on it's own, actually... [21:01] RichardJ: but i'm an avid user, i'm currently rewriting some services i'm using at work to javascript using nodejs [21:02] RichardJ: i was blown away by the versatility, it's really cool [21:02] gmonnerat has joined the channel [21:02] RichardJ: especially for me, i'm a huge fan of javascript :p [21:04] Jonasbn_ has joined the channel [21:06] jakehow has joined the channel [21:07] ignas has joined the channel [21:07] ignas: hi [21:08] ignas: I am trying to install npm, but it just silently does nothing ... is there some way to debug it? [21:12] RichardJ: ignas: it is not doing *anything*? [21:13] ignas: well, I tried stracing it even, it loaded some node.js libraries [21:13] ignas: but did not create any files [21:13] ignas: output any text [21:13] bingomanatee has joined the channel [21:13] ignas: just finished, and I could not find any evidence of it doing anything [21:14] bingomanatee: <-- discovering how hard it is to find an outlet in an airline terminal. :D [21:15] mrtrosen has joined the channel [21:15] RichardJ: ignas: very weird. how are you installing it? [21:15] ignas: well, I tried piping the easy install script through sh [21:15] ignas: it did nothing [21:16] ignas: so I downloaded the latest tarball [21:16] ignas: unpacked it [21:16] ignas: entered the directory, did make install [21:16] ignas: then tried running the node cli.js install npm [21:17] ignas: hmm, give me a second, i see I have node.js 0.2.2 which is probably way old [21:17] ignas: i'll try getting a newer one :) [21:18] RichardJ: hmm [21:18] RichardJ: actually, i wouldn't dare using it [21:18] RichardJ: it uses the worst possible style (code-wise) that i've ever seen [21:18] RichardJ: "don't use semicolons"? [21:18] RichardJ: that's really the *worst* advice you can give [21:19] mrtrosen has joined the channel [21:19] ignas: heh, well, I am not going to write any code for it really :) [21:19] ignas: I want to try out zombie.js [21:19] ignas: and to just try it out I have to install node.js, npm, coffee-script [21:19] ignas: and only then zombie.js :/ [21:20] RichardJ: seems like quite the hassle for something small... [21:20] ignas: well, that "small" thing is supposed to immitate a browser with javascript support [21:21] ignas: as the closes analogue [21:21] ignas: is written in java [21:21] ignas: :) [21:21] RichardJ: with what purpose, exactly? :) [21:21] ignas: functional tests for a web application [21:21] sh1mmer has joined the channel [21:21] ignas: without having to configure firefox with xvfb on build servers [21:21] RichardJ: and this would only be the javascript part then? [21:22] RichardJ: *if* that's the case i would suggest env.js [21:22] ignas: not really, it should be possible [21:22] ignas: to click links and buttons [21:23] ignas: and navigate the dom tree of html generated by the server [21:23] RichardJ: envjs is a pure JavaScript browser environment that runs in Rhino :) [21:23] ignas: http://zombie.labnotes.org/ [21:23] wilmoore has joined the channel [21:24] RichardJ: let's see if i can get zombie running on my machine then :) [21:24] sh1mmer has joined the channel [21:25] RichardJ: hmm, never mind for me :) [21:25] RichardJ: the machine is currently compiling some big things [21:25] ignas: :) [21:25] ignas: thanks for pointing me to env.js [21:25] ignas: i'll look at it too [21:26] ignas: my primary language is python [21:26] Aria: There's jsdom too [21:26] Cainus: env.js is more set-up than zombie.js [21:26] RichardJ: hmm, my primary language is php :) [21:26] ignas: so I am looking for something I can integrate into my current functional test infrastructure [21:27] RichardJ: most of these things are pretty easy to set up [21:27] herbySk has joined the channel [21:28] Jezek: herpy derpy [21:29] Jezek: i can't get a single message to send from socket.io. here are my two files: http://pastebin.com/3z1gpVCX http://pastebin.com/7Z5eXXZ2 [21:31] ceej has joined the channel [21:32] ignas: RichardJ, hmm, I can't see mentions of filling forms and clicking on links anywhere in env.js documentation [21:32] ignas: RichardJ, how are you using it for functional tests? [21:33] Cainus: it doesn't fake a browser AFAIK... it just fakes a dDOM [21:33] Cainus: err that was DOM [21:34] ignas: I see [21:34] Cainus: so it's good for integration tests anyway... and most people do full functional tests with selenium [21:35] sh1mmer has joined the channel [21:35] ignas: so you run selenium inside envjs ? [21:35] Cainus: no [21:35] ignas: I see [21:35] Cainus: I don't use env.js and selenium together [21:36] Cainus: selenium is for real browser automation [21:36] ignas: I know, that's why I asked [21:36] Cainus: ah okay [21:37] RichardJ: ignas: i'm not actually using it right now [21:38] RichardJ: i've used it in the past in an automated process which verified my js-files [21:38] ignas: argh, Zombie.js is assuming quite a lot of familiarity with the development environment [21:39] unomi has joined the channel [21:42] cafesofie has joined the channel [21:43] Me1000 has joined the channel [21:43] cagdas has joined the channel [21:44] ignas: right, so I discovered new words like npm, coffee-script, cake and vows and still did not manage to install zombie.js :) [21:45] blueadept has joined the channel [21:46] Jezek has joined the channel [21:47] jesusabdullah: what is zombie supposed to do again? [21:49] ignas: imitate a browser that can be controlled using javascript [21:50] ignas: without running an actual browser [21:50] ignas: while still supporting javascript [21:50] jesusabdullah: ah [21:50] jesusabdullah: one o' dems [21:50] ignas: heh dems [21:51] ignas: have seen only webdriver -> seleniumrc 2.0 doing that [21:51] ignas: haven't seen any others that would actually work :) [21:51] felixge has joined the channel [21:51] felixge has joined the channel [21:52] jesusabdullah: well [21:52] jesusabdullah: jsdom allowed for some of that [21:52] jesusabdullah: and there's been work towards something like zombie.js before [21:52] jesusabdullah: though I'd imagine nothing quite as polished, etc. [21:53] ignas: can't call zombie.js polished really, I did not manage to install it, so... ;) [21:54] ignas: it's probably "works on my machine" certified only :D [21:54] felixge has joined the channel [21:54] felixge has joined the channel [21:54] RichardJ: hmm, i juist built the daemon node thingie (https://github.com/Slashed/daemon.node) [21:55] RichardJ: but when executing the example the server is just unresponsive.. [21:55] jesusabdullah: Well [21:56] herbySk has joined the channel [21:56] jesusabdullah: by "polished," I mean that it's to the point where it can even be said to do as-it-says [21:56] jesusabdullah: Oh [21:56] jesusabdullah: actually, the LearnBoost guys came out with something that sounded similar [21:56] jesusabdullah: Those dudes have a good track record [21:57] jesusabdullah: https://github.com/LearnBoost/tobi [21:58] davidc_ has joined the channel [21:58] davidc_ has joined the channel [21:59] traceback0 has joined the channel [21:59] RichardJ: oh, my problem has been solved [21:59] RichardJ: if you use that example, remove the call to daemon.closeIO(); [22:09] davidc__ has joined the channel [22:10] yrashk has joined the channel [22:10] yrashk has joined the channel [22:11] mape: Anyone remember the node based temporary mail service? [22:13] blueadept has joined the channel [22:14] Gruni has joined the channel [22:14] cgutierrez has joined the channel [22:15] jchris has joined the channel [22:15] davidc_ has joined the channel [22:15] davidc_ has joined the channel [22:16] tanepiper: vaugly [22:16] tanepiper: but don't remember it's name [22:16] Fullmoon has joined the channel [22:16] tanepiper: but your not mad, it did exist [22:16] stagas: mape: http://tempalias.com [22:17] mape: stagas: thanks :) [22:23] ibolmo has joined the channel [22:25] davidc__ has joined the channel [22:32] blueadept has joined the channel [22:33] bingomanatee has joined the channel [22:35] davidc_ has joined the channel [22:38] eml-mobile has joined the channel [22:41] davidc__ has joined the channel [22:44] arrty_ has joined the channel [22:48] mikeal has joined the channel [22:48] tekky has joined the channel [22:48] traceback0 has joined the channel [22:58] ignas has left the channel [23:00] Hello71 has joined the channel [23:00] Hello71 has joined the channel [23:02] Ond has joined the channel [23:04] davidc_ has joined the channel [23:04] davidc_ has joined the channel [23:05] bingomanatee has joined the channel [23:05] arrty_ has joined the channel [23:08] jacobrelkin has joined the channel [23:09] yrashk has joined the channel [23:09] yrashk has joined the channel [23:09] herbySk has joined the channel [23:10] yrashk has joined the channel [23:11] yrashk has joined the channel [23:14] blueadept has joined the channel [23:15] CarterA has joined the channel [23:15] CarterA: Has anyone made a good system for having a package that can be extended by plugins? [23:18] Me1000 has joined the channel [23:18] mikeal has joined the channel [23:19] bingomanatee: JSON? [23:20] pHcF: im searching for a webdesigner to a open source project [23:20] bingomanatee: I mean mixin theology is pretty well expressed in Crockford's "the good parts" [23:20] astropirate has joined the channel [23:20] bingomanatee: pHcF: what do you have to offer them? [23:20] mikeal: theology? [23:20] mikeal: haha [23:20] CarterA: bingomanatee: Are you talking to me? [23:20] CarterA: \ [23:20] pHcF: if someone knows someone that might get interested, please tell me [23:20] mikeal: religion mixin! [23:20] pHcF: bingomanatee: credits [23:20] bingomanatee: CarterA: yes. [23:21] bingomanatee: pHcF: I mean specifically - what do you bring to the picture? Anyone here can get credit by putting something on Git. [23:21] CarterA: Well okay, I'm working on a compiler system of sorts, and I'd like users to be able to extend it to handle more file types. Ideally they could publish their plugins to NPM and have that somehow be install-able...do you think that's doable? [23:22] pHcF: bingomanatee: admin panel of https://github.com/pedrofranceschi/Blogode [23:22] bingomanatee: ah. [23:22] bingomanatee: Now thats a little more specific. [23:22] pHcF: lol yea [23:23] bingomanatee: Do you really see the Blog as a problem that has no preexistng solutions? [23:23] bingomanatee: CarterA: if you are working on a compiler I would take a strong look at Parrot before DIY. [23:24] bingomanatee: unless there is more specificity to the "of sorts" clause then I am seeing here.... [23:24] pHcF: bingomanatee: the thing about the blog system is that it is written in node.js :P [23:25] pHcF: so it will scale many many requests [23:25] bingomanatee: I would think the node module system itself is an extensible modular system that would suit your needs - since you can conditnionally load a module based on a string that you pass to require, you can black - box a solver and assume that it will meet your interface needs. [23:25] CarterA: member:bingomanatee: Parrot is definitely a cool project, but I am making a general-purpose compiler architecture for several different types of content. [23:26] bingomanatee: okay maybe you say compiler when you mean parser - they are VERY general purpose - but does the above comment make your life easier? [23:26] CarterA: bingomanatee: I can probably use the module system itself, you're right. I suppose I should read a bit more into the API. [23:27] CarterA: Nope, I mean compiler. As in, a single tool/lib that can be fed un-typed content, decide what it contains, split it into distinct content-types, compile/process each type individually, then return all of the compiled content individually. [23:28] bingomanatee: for instance, if you were doing an HTML parser, you could grep for a tagname and once you found '<[mytagname]....' you could call require('/my/HTMLparsers/' + tagname).parse(text, callback). [23:28] tek has joined the channel [23:29] bingomanatee: You can encapsulate this process if you want with more application specific code but I would think that for the most part the require system will give you the modularity you need. [23:29] CarterA: Seems that way. Thanks! [23:30] bingomanatee: pHcF: I am hoping I dont come off as snippy but if I wanted a high performant blog I'd just create a module in Drupal and let it use sockets and node-based REST to give me a shot in the arm performance wise. [23:31] saikat has joined the channel [23:33] davidc_ has joined the channel [23:33] gf3 has joined the channel [23:33] davidc_ has joined the channel [23:34] maushu has joined the channel [23:34] unomi has joined the channel [23:38] pHcF: bingomanatee: cool [23:39] pHcF: my idea is to create a nodejs blog system like wordpress is to php [23:39] pHcF: of course this will take some time, but i'm learning a lot of nodejs doing this [23:40] herbySk has joined the channel [23:41] fly-away has joined the channel [23:48] tjholowaychuk has joined the channel [23:48] blueadept has joined the channel [23:49] gf3 has joined the channel [23:51] bingomanatee has joined the channel [23:52] bingomanatee: sorry - I am hopping around LAX [23:52] bingomanatee: 90% of what I need in terms of general purpose site creation is distributed between node.js and mongodb. [23:53] bingomanatee: I alreay have a forms engine - check github if you are curious - and an orm for Mongo which I'm holding in reserve until (a) mongoose hits or (b) I have a little more confidence in it. [23:55] sid3k has joined the channel [23:55] bingomanatee: To me, a blog is little more than a templating engine (several of which exists in the express galaxy and outside it), an auth system (pretty basic), a CMS (mongoose + MongoDB) and a module system (which is inherent in Node.) You are not wrong in reinventing the wheel to teach yourself a language but I doubt you will find a wingman without a much more specific concept. [23:56] pHcF: i know what you mean [23:56] pHcF: you are a developer [23:56] pHcF: so you can create your own blog system [23:57] pHcF: but for someone that doesn't have coding skills, this is difficult [23:57] pHcF: the idea is to scale big blogs using small servers [23:57] pHcF: because servers are really really expensive here where i live [23:58] bingomanatee: Ah. Then I would really really really encourage you to discover how sophisticated Drupal has become. [23:58] tmzt: how is mongoose a cms? [23:58] bingomanatee: Most Drupal sites are single-sever. [23:58] bingomanatee: Sorry mongoose == orm. [23:58] bingomanatee: I misspoke. [23:59] tmzt: I'm actually looking for something that can use markdown and do internal links with ajax requests (instead of loading the full page0 [23:59] rauchg_ has joined the channel [23:59] tmzt: what's the forms engine called? [23:59] bingomanatee: deformer. [23:59] tmzt: node is mostly a realization that most sites are the same crud [23:59] tmzt: and no one should have to write it again [23:59] bingomanatee: I have worked a bit more with it in a private repos - I can update the version under the bingomanatee git if you want to tr\y it out.