[00:00] cmr: Dmitrijus: didn't mean that to be an endorsement for tap, but definitely check it out :) [00:01] chrisvwebdev has joined the channel [00:01] Sami_ZzZ_ has joined the channel [00:02] k1ttty has joined the channel [00:04] tonymilne has joined the channel [00:04] iFire has joined the channel [00:06] sajan has joined the channel [00:07] sajan: anyone here [00:08] andrew12: yes. [00:08] cmr: No, just 736 bots. [00:08] TheJH: sajan, no. [00:08] TheJH: sajan, you're totally alone [00:08] andrew12: i shouldn't have said anything. [00:08] cmr: You ruin everything! [00:09] sajan: :) .. great [00:09] andrew12: it's great that I ruin everything? :<<< [00:09] sajan: facing an issue with setup of node.js on centos 64 bit [00:09] sajan: trying to compile from source [00:09] zeade has joined the channel [00:09] sajan: v 0.6.6 [00:09] cmr: So what's the issue? [00:09] andrew12: what's the ... dammit [00:09] sajan: Gettng this error message ... Build failed: -> task failed (err #2): {task: libv8.a SConstruct -> libv8.a} [00:10] cmr: sajan: Could you pastebin the entire build log? [00:10] sajan: got this when i run make [00:10] andrew12: did you run ./configure first? [00:10] sajan: src/ares/ares_version.o src/ares/ares_writev.o src/ares/bitncmp.o src/ares/inet_net_pton.o src/ares/inet_ntop.o make[1]: Leaving directory `/home/snair/soft/node-v0.6.6/out/Release/deps/uv' [ 5/35] libv8.a: deps/v8/SConstruct -> out/Release/libv8.a /usr/bin/python "/home/snair/soft/node-v0.6.6/tools/scons/scons.py" -j 1 -C "/home/snair/soft/node-v0.6.6/out/Release/" -Y "/home/snair/soft/node-v0.6.6/deps/v8" visibility=default mode=re [00:11] andrew12: sajan: http://gist.github.com - paste the entire log then paste the link here [00:11] sajan: yes ofcourse i ran ./configure first [00:11] andrew12: output of ./configure would be useful too [00:11] joshontheweb has joined the channel [00:11] sajan: $ ./configure Checking for program g++ or c++ : /usr/bin/g++ Checking for program cpp : /usr/bin/cpp Checking for program ar : /usr/bin/ar Checking for program ranlib : /usr/bin/ranlib Checking for g++ : ok Checking for program gcc or cc : /usr/bin/gcc Checking for gcc : ok Checking for library dl : not fo [00:11] hotroot has joined the channel [00:12] andrew12: sajan: can you paste it on a pastebin like http://gist.github.com [00:13] sajan: done .. gist: 1512424 [00:13] hotroot: I know I've asked before, but if anyone is interested in a telnet based hacking game, I'm working on one, so msg me if interested in giving ideas/code. [00:13] andrew12: hotroot: what do you mean? [00:13] zomg: hotroot: play uplink, take all good ideas from it [00:13] cmr: hotroot: Sounds fun to play [00:13] zomg: :D [00:13] andrew12: uplink is a fun game [00:13] hotroot: zomg: Just played like 12 hours of uplink for ideas =P [00:14] zomg: Heh :D [00:14] sajan: andrew .. it is here gist: 1512424 [00:14] andrew12: sajan: i know, i'm looking at it. [00:14] cmr: I didn't really like uplink, tbh, I got bored real fast [00:14] andrew12: cmr: me too [00:14] hotroot: The problem is I really don't like the "cracker 2 beats firewall 1" thing, but I'll probably have to go with something similar [00:14] andrew12: sajan: still need the `make` output though [00:14] sajan: git://gist.github.com/1512424.git [00:14] JaKWaC has joined the channel [00:14] sajan: ok .. just a sec [00:15] shaggydog97: sajan: I'm fighting that exact same issue right now on RHEL5 [00:15] hotroot: andrew12: I mean I'm working on the game, and if anyone wants to help code or throw ideas at me, I would gladly accept the help [00:15] cmr: hotroot: Where's the code? [00:15] andrew12: hotroot: sign me up [00:15] bemson has left the channel [00:15] sajan: ok added that too andrew [00:15] hotroot: I'm always on Gmail chat, Hotrootsoup@gmail.com I'll post the code in a sec [00:16] FireFly has joined the channel [00:16] cmr: post? it should be in github or bitbucket or something :S [00:16] hotroot: I don't / wont have a github page for it probably because it's a server [00:16] hotroot: I'd rather keep the code semi-private so I get players instead of someone who just has a better server =P [00:16] hotroot: At least for now [00:17] hotroot: https://gist.github.com/1512453 [00:17] andrew12: sajan: I have no idea [00:17] maletor has joined the channel [00:17] andrew12: hotroot: good job keeping it private, posting a public gist [00:18] andrew12: :P [00:18] hotroot: I know it's not totally private, that's not what I mean [00:18] sajan: man [00:18] shaggydog97: I have one identical box that's ok though, but this one is very low on disk space [00:18] andrew12: well i guess it's anonymous [00:18] hotroot: I mean I don't want every update being posted to github so anyone who wants to steal my clients can just do a daily update [00:18] eastc: can anyone tell me the difference between all the http frameworks for node [00:18] eddanger has joined the channel [00:18] eastc: I'm a little confused between express, connect and all the others [00:18] sajan: its a weird issue .. i seem to have all the required packages with me [00:18] hotroot: At this point it's just basic telnet handling pretty much [00:19] andrew12: eastc: there's only one real 'http framework', that's the one built into node called http [00:19] shaggydog97: sajan: is your box low on disk space? [00:19] sajan: i dont think so .. let me check [00:20] shaggydog97: I was hoping that if I get disk clean, my prob would disappear [00:20] joshontheweb has joined the channel [00:20] eastc: or the various web development frameworks i guess [00:20] andrew12: eastc: connect is part of express if i understand it correctly [00:20] andrew12: i don't know of any others though [00:20] sajan: well i have around 2 GB of space free [00:20] tjholowaychuk: andrew12 express builds ontop of connect [00:20] chrisvwebdev has left the channel [00:20] tjholowaychuk: yeah [00:20] sajan: dont think its a space issue [00:20] andrew12: spaaaaaaaaaaaaaace! [00:21] eastc: so express is basically a standard module installation for node I guess. something that most people get right after npm i'm guessing [00:21] shaggydog97: os? [00:21] andrew12: eastc: i think express is supposed to be like http://www.sinatrarb.com/ [00:21] sajan: centos [00:21] tjholowaychuk: eastc it's just an abstraction layer making some common web app things simpler [00:21] sajan: linux ofcourse [00:21] shaggydog97: hum…I'm on rhel5, so could be same issue [00:21] sajan: looks so [00:22] sajan: 32 or 64 bit ? [00:22] niftylettuce_: ummmmmmmm http://i.imgur.com/5f1pp.png [00:22] niftylettuce_: JOYENT RAWR [00:22] eastc: so express is the abstraction layer that makes web development easy and equates to using something like apache or nginx [00:22] shaggydog97: 64 [00:23] sajan: yup same [00:23] tjholowaychuk: eastc no [00:23] descipher: sajan: what's your path -> error trying to exec 'cc1plus': execvp: No such file or directory [00:23] benlyn has joined the channel [00:23] tjholowaychuk: eastc node would be more like nginx [00:23] cmr: eastc: No, apache and nginx are web servers. [00:23] cmr: eastc: It's more like flask is to python. [00:23] tjholowaychuk: eastc learn node first [00:23] andrew12: niftylettuce_: huh, that's weird. [00:23] tjholowaychuk: with no frameworks [00:23] andrew12: niftylettuce_: oh, no it's not. click 'sign up' or 'log in' [00:23] shinuza has joined the channel [00:24] niftylettuce_: andrew12: bad design [00:24] niftylettuce_: raging bad [00:24] cmr: Yeah it is. [00:24] andrew12: but... the free service is at full capacity anyways :\ [00:24] niftylettuce_: andrew12: no buts. [00:24] shaggydog97: sajan: doffing my "yum list" between boxes [00:24] andrew12: lol [00:24] niftylettuce_: andrew12: initial impression = everything [00:25] devaholic has joined the channel [00:25] sajan: descipher - is it a path issue ? [00:25] neilk_ has joined the channel [00:25] niftylettuce_: ryah: ^^ pass along message plz n thx :D [00:25] shaggydog97: I have libevent.i386 and .x86_64 on the broken box [00:25] andrew12: niftylettuce_: my initial impression think of that, i actually clicked the button that was there. [00:25] shaggydog97: but only .x86_64 on the good one [00:25] cmr: andrew12: My first impression was, "Where's the textbox?" [00:25] descipher: sajan: I think so ... it can find cc1plus [00:26] niftylettuce_: the whitespace makes users think that there should be something there, but there isn't, its empty [00:26] cmr: especially "log in" [00:26] sajan: what is cc1plus ? [00:26] niftylettuce_: andrew12: ^^ [00:26] descipher: s/can/can't [00:26] niftylettuce_: design fail 101 [00:26] shaggydog97: what's min python version for 6.6? [00:27] sajan: python version is 2.6 [00:28] joshontheweb has joined the channel [00:28] [[zz]] has joined the channel [00:28] descipher: its c++ [00:28] sajan: i have gcc [00:28] eastc: so i can make everything with node itself and no modules at all [00:28] descipher: sajan: try yum install gcc-c++ [00:28] eastc: but obviously that's not the optimal way to do it [00:29] cmr: eastc: of course [00:29] eastc: all the modules are like microframeworks i guess [00:29] cmr: No... they are like modules. [00:29] cmr: SOME of the modules are frameworks, yes. [00:29] rwaldron has joined the channel [00:29] cmr: They are comparable to a library in C, or a module in python [00:30] eastc: ah [00:30] CarlosC has joined the channel [00:30] eastc: i see now [00:30] shaggydog97: Package gcc-c++-4.1.2-50.el5.x86_64 already installed and latest version [00:30] shaggydog97: Nothing to do [00:30] descipher: find / -name cc1plus [00:31] xjiujiu has joined the channel [00:31] hotroot: shaggydog97: Sometimes you need the -dev version of stuff, depending on the OS [00:31] sajan: yup .. that seems to be the issue [00:31] patcito has joined the channel [00:32] hotroot: It's really damn annoying on fedora. I just sudo yum search g++ and then look for whatever looks good [00:32] sajan: making now ... [00:32] Lingerance: find / -name cc1plus <-- locate cc1plut [00:32] Lingerance: cc1plus* [00:32] jaitaiwan has joined the channel [00:32] catb0t has joined the channel [00:32] eastc: can anyone tell me what is the point of this: https://github.com/davidcoallier/node-php if node has the ability to do what php can do and more [00:33] eastc: node > php so what's the point of that ^ [00:33] nathan has joined the channel [00:33] cmr: eastc: Lots of existing PHP codebases. [00:33] eastc: so it's a bandaid fix instead of completely replacing all the php scripts [00:33] cmr: That's one use, yes. [00:33] andrew12: "This is omega-alpha-super-beta-proof-of-concept" [00:33] andrew12: someone is just playing around [00:33] DTrejo: whatever happened to jspp.io ? [00:34] andrew12: is what i'm reading that as. [00:34] catb0t has joined the channel [00:34] andrew12: "This is an ugly prototype and if you run this in production you are most likely mentally challenged (Not that it's a bad thing..) but I take no responsibility for what you do with this. Moreover, this goes against everything Node.js stands for. So realise that." [00:34] eastc: ok that clears it up :) [00:34] eastc: lol [00:35] eastc: just needed to scroll down a bit more... [00:35] shaggydog97: sajan: what did you do? [00:35] salva has joined the channel [00:35] andrew12: yeah, disclaimers need to be at the top [00:35] salva has left the channel [00:36] shaggydog97: find / -name cc1plus returns "/usr/libexec/gcc/x86_64-redhat-linux/4.1.1/cc1plus" [00:36] sajan: well i didnt realize that g++ was not there [00:36] sajan: so i installed that .. its working now [00:36] sajan: i mean atleast the make moved ahead [00:36] eastc: and so this functions as a mysql client in node: https://github.com/felixge/node-mysql [00:36] shaggydog97: I'm still stuck [00:36] cmr: eastc: Yep, though I've heard that mysql < postgres [00:37] maletor has joined the channel [00:37] eastc: what's postgres? [00:37] sajan: make sure you have everything that the configure checks for [00:37] cmr: Another sql server, that I've heard is much better than mysql. [00:37] shaggydog97: I don't, not sure how to fix [00:37] eastc: relational? [00:37] andrew12: postgres is a different sql server that's apparently better than mysql.. cmr you type too fast. [00:37] cmr: I don't know enough about either to have an opinion. [00:37] cmr: Yes. [00:37] sajan: what is it that it says ... "not found" [00:37] htoothrot: postgres all the way [00:37] shaggydog97: dl, util, and rt [00:37] andrew12: sqlite ftw [00:38] hotroot: ^^ [00:38] eastc: does it work the same on the frontend though? [00:38] eastc: queries and all [00:38] shaggydog97: and Checking for fdatasync(2) with c++ : no [00:38] cmr: eastc: Yes, it's the SQL language. [00:38] cmr: It's a standard you know. Support varies. [00:38] andrew12: yuck, SQL [00:38] Renegade001 has joined the channel [00:38] andrew12: I try to avoid SQL as much as possible [00:38] eastc: and node can communicate directly with it or do i need a module or something [00:38] cmr: andrew12: Why? [00:38] hotroot: I'm using sqlite for my hacker game right now and it's great. Seriously doubt that my telnet game will ever require multiple servers, so I think I'm good =) [00:38] abraxas has joined the channel [00:38] eastc: andrew12: what do you use instead of sql? [00:39] andrew12: well I try not to need a database [00:39] andrew12: the stuff I write usually doesn't need one anyways or it's simple enough that just dumping to yaml eveyr so often is better [00:39] sharkbird has joined the channel [00:39] sharkbird_ has joined the channel [00:39] sharkbird__ has joined the channel [00:39] sajan: try "yum install gcc-c++" [00:39] sajan: that worked for me [00:40] sajan: so now i have the latest node ..0.6.6 [00:40] shaggydog97: Package gcc-c++-4.1.2-50.el5.x86_64 already installed and latest version [00:40] cmr: andrew12: That I can see. [00:40] descipher: shaggydog97: remove gcc-c++ and search again [00:41] sajan: yeah do what descipher says [00:41] eastc: I'm surprised there isn't more activity on this page: https://github.com/brianc/node-postgres [00:41] sajan: he has a good eye for detail [00:41] Guest37993: shaggydog97: that's shouldn't be a problem. does the build fail? [00:41] shaggydog97: yes [00:41] Guest37993: oh :\ [00:41] neoesque has joined the channel [00:41] TheFuzzball: I have a bunch of SQL statements to create three tables and I'm using sqlite3's serialize and run to to this. How do I add a callback to this so that it will only execute the callback once the statements have been executed? [00:41] cjm has joined the channel [00:42] shaggydog97: yum removed, and yum installed, still same thing [00:42] postwait has joined the channel [00:42] cmr: TheFuzzball: Most APIs have a third parameter for a callback that runs when it is complete, does yours not? [00:42] descipher: shaggydog97: did search find it after removal? [00:42] shaggydog97: yeah [00:42] hotroot: TheFuzzball: It has a callback param, using it right now [00:43] descipher: you have gcc3 as well? [00:43] shaggydog97: https://gist.github.com/1512519 [00:43] cmr: eastc: nosql-type things are probably more popular for cultural reasons. [00:44] cmr: redis, mongo, etc [00:44] Jalava_ has joined the channel [00:44] hotroot: I don't really get the point of nosql stuff, I like SQL, it's simple, it's easy [00:44] shaggydog97: descipher: just installed it, same thing [00:44] cmr: nodelog: not all data is relational. [00:44] eastc: yea that's one thing that I'm not ready for just yet lo [00:44] cmr: Sorry nodelog. [00:44] 5EXAARSOL has joined the channel [00:44] cmr: hotroot: that was for you [00:45] subbyyy has joined the channel [00:45] sajan: shaggy did you install 'openssl-devel' ? [00:45] hotroot: That's true [00:45] TheFuzzball: hotroot How do you ensure the callback is executed after multiple statements are executed? [00:45] shaggydog97: error while loading shared libraries: libbfd-2.17.50.0.6-9.el5.so: cannot open shared object file: No such file or directory [00:45] cmr: For data that is relational, RDBMS all the way. [00:45] descipher: looks link a link problem [00:45] TheFuzzball: This is what I'm doing right now, and it's causing a race condition - http://pastebin.com/pG86rXU5 [00:46] hotroot: Err [00:46] sajan: what is your python version ? [00:46] hotroot: Put the callback in the last db.run [00:47] shaggydog97: just updated this ttps://gist.github.com/1512519 with my config.log [00:47] hotroot: TheFuzzball: https://github.com/developmentseed/node-sqlite3/wiki/API [00:47] descipher: shaggydog97: is the libbfd present? [00:48] shaggydog97: where should it be? [00:48] sajan has left the channel [00:48] dandean has joined the channel [00:48] descipher: just do a find / -name libbfd* [00:49] shaggydog97: it's there [00:49] alejandromg has joined the channel [00:49] shaggydog97: but there are a couple [00:49] Renegade001 has joined the channel [00:50] GJdan has joined the channel [00:50] descipher: libbfd.so? [00:50] hotroot has left the channel [00:50] GJdan: howdy [00:50] shaggydog97: wai/usr/lib64/libbfd-2.17.50.0.6-14.el5.so [00:50] GJdan: trying to compile node.js, I get this when I run make... /usr/bin/ld: cannot find -lz I'm a little clueless [00:51] shaggydog97: it's /usr/lib64/libbfd-2.17.50.0.6-12.el5.so on my working box [00:51] shaggydog97: that's part of binutils? [00:51] cmr: GJdan: what distro? [00:51] descipher: well thats the issue, it can't find libbfd-2.17.50.0.6-9.el5.so [00:51] jhurliman has joined the channel [00:52] skm has joined the channel [00:52] GJdan: I just pulled the git repo, on the master branch [00:52] jaitaiwan has joined the channel [00:52] cmr: Well, 'git checkout v0.6.6' is what I'd start with. [00:52] Marak has joined the channel [00:52] GJdan: ah, k I'll try that [00:52] cmr: Get a stable version. [00:53] AlexFive has joined the channel [00:53] iRoj has joined the channel [00:53] AlexFive: ____________________________________________________________________________________________________________________________________________ [00:53] cmr: -lz is zlib iirc, on a debian or derivative you'll need the zlib1g-dev package. [00:53] AlexFive: ____________________________________________________________________________________________________________________________________________ [00:53] AlexFive: ____________________________________________________________________________________________________________________________________________ [00:53] AlexFive: ____________________________________________________________________________________________________________________________________________ [00:54] descipher: shaggydog97: try a make clean [00:54] shaggydog97: same [00:54] GJdan: cmr: ah that's nicer already, even told me what I'm missing >.< [00:54] andrew12: finished watching that omq talk [00:55] jayne has joined the channel [00:55] febits[0] has joined the channel [00:55] febits[0] has joined the channel [00:55] cmr: andrew12: how was it? [00:55] andrew12: it didn't really explain how to use it at all :| [00:55] cmr: hah [00:55] andrew12: it was like 'hey look at this i can do all this cool stuff' [00:55] andrew12: the worst part was that it was loaded with php [00:56] andrew12: and synchronous - yuck [00:56] nibblebot has joined the channel [00:56] descipher: shaggydog97: remove libbfd and install it again, the link is bad [00:57] shaggydog97: what package is that in? [00:57] shaggydog97: or should I just rm it? [00:57] mara has left the channel [00:58] eastc: http://highscalability.com/blog/2010/9/5/hilarious-video-relational-database-vs-nosql-fanbois.html [00:58] eastc: lol [00:58] cmr: Yes, that is a good one. [00:58] shinuza has joined the channel [00:59] X99 has joined the channel [01:00] andrew12: eastc: rofl [01:00] jocafa: whew. got gitlab up and running… mostly. [01:01] tonymilne: Has anyone used rackspace's load balancers with a node web socket app? [01:01] cmr: jocafa: whoaaaa gitlab looks nice. [01:02] andrew12: shards are the secret ingredient in the web scale sauce [01:02] abraxas has joined the channel [01:02] eastc: wow that's a cool idea for gitlab [01:04] jaequery has joined the channel [01:05] andrew12: gitlab looks cooler than it did a month ago [01:06] shinuza has joined the channel [01:08] shaggydog97: descipher: GOT IT! [01:08] cmr: tbh it looks like a cheap github clone, but that's Ok with me. [01:08] cmr: jocafa: Was it a struggle to install? [01:08] hotroot has joined the channel [01:08] shaggydog97: I symlinked the version I had to the version make wanted, re ./configure 'd and BAM! [01:08] jocafa: yes. but it was mostly due to permissions and having an existing nginx install [01:09] hotroot: Someone should just rewrite a basic http server in node so people will stop bitching =P [01:09] cmr: jocafa: Is it an abstraction of gitolite or do they implement their own? [01:09] jocafa: it uses gitolite [01:10] cmr: Did you have an existing gitolite setup or did you make a fresh one? [01:10] jocafa: fresh [01:10] cmr: (Sorry for the interrogation, I want to deploy this locally) [01:10] jocafa: no prob [01:11] jocafa: i installed it on a linode machine [01:11] Marak: hotroot: "npm install http-server -g" [01:11] hotroot: Then why are people still bitching? =P [01:11] maletor has joined the channel [01:12] Vertice has joined the channel [01:13] GrizzLyCRO has joined the channel [01:13] febits[0] has joined the channel [01:13] jocafa: bbl [01:14] Marak: hotroot: who is bitching? [01:15] tomlion has joined the channel [01:15] hotroot: All the people complaining that node is so unusable because you have to code to get the same functionality as apache/nginx [01:15] hotroot: Pretty sure IBM bitched about that [01:15] napperjabber has joined the channel [01:16] tomyan has joined the channel [01:16] bneil_ has left the channel [01:17] Marak: hotroot: i heard http://blog.nodejitsu.com/ibm-doesnt-care-about-nodejs-people [01:17] hotroot: Yeah, I read that one [01:17] josephg has joined the channel [01:17] hotroot: By you =P [01:18] larsschenk has joined the channel [01:19] larsschenk has left the channel [01:19] nibblebot has joined the channel [01:19] indexzero has joined the channel [01:19] sh1mmer has joined the channel [01:22] coderarity has joined the channel [01:22] nicholasf has joined the channel [01:23] kerang has joined the channel [01:23] coderarity has joined the channel [01:24] bogomips2_ has joined the channel [01:24] jacobolus has joined the channel [01:25] MarkMenard has joined the channel [01:25] piscisaureus_ has joined the channel [01:25] gtramontina has joined the channel [01:30] coderarity has joined the channel [01:31] gruseom has joined the channel [01:32] davidbanham has joined the channel [01:32] jhurliman has joined the channel [01:32] ben_alman has joined the channel [01:32] criswell has joined the channel [01:33] perezd: ryah: hey, so the anode project to get node running on android is fucking badass and works [01:33] perezd: with 0.6 [01:34] cmr: perezd: Are you saying that if I had an android, I could run nodejs on it? [01:34] perezd: with a bit of elbow grease, yes. [01:34] perezd: I am gonna blog about it [01:34] cmr: Swanky. [01:34] perezd: unrooted [01:34] perezd: I am running nodejs in userland [01:34] perezd: on an android app [01:34] gruseom has left the channel [01:34] jesusabdullah: word [01:34] perezd: i came [01:34] jesusabdullah: gross. [01:35] jocafa has joined the channel [01:35] k1ttty has joined the channel [01:36] cmr: Yeah that is pretty gross. [01:36] k1ttty has joined the channel [01:39] kmiyashiro has joined the channel [01:40] ryah: perezd: oh nice [01:40] perezd: ryah: this guy's shit needs get integrated at some point [01:40] ryah: perezd: is that paddy's project? [01:40] perezd: it works flawlessly [01:40] perezd: yeah [01:40] perezd: even has a bridge [01:40] perezd: also works great [01:40] perezd: its a little rough around the edges right now, but its definitely working great [01:40] perezd: I am running socket.io on android [01:41] tracker1 has joined the channel [01:41] andrew12: nice [01:43] tab1293 has joined the channel [01:43] Renegade001 has joined the channel [01:43] JKarsrud has joined the channel [01:43] icewhite has joined the channel [01:44] tab1293: on the client side, with socket.io where can i download the src file included in this line: [01:44] eastc: why do we need to serve the socket.io file via a socket.io server? [01:44] skm has joined the channel [01:44] eastc: why can't one just serve it statically [01:44] andrew12: socket.io needs an http server [01:44] andrew12: it is being served statically [01:44] andrew12: you can serve it however you want [01:45] sh1mmer has joined the channel [01:45] cmr: GJdan: did you get it working? [01:45] eastc: i mean instead of http://localhost:port/socket.io/socket.io.js why not just /socket.io.js from the local folder or something [01:46] eastc: so serving from the socket.io server is just for convienience> [01:46] eastc: ? [01:46] GJdan: cmr: yeah, now I'm just watching the youtube intro video, this is a somewhat new concept to me :\ [01:46] cmr: GJdan: Do you know Javascript? [01:46] GJdan: a bit [01:46] GJdan: I cheated kinda, I know jquery [01:46] cmr: Learn javascript the language before jumping right into node. [01:47] tab1293: where can you download the file socket.io.js [01:47] rohitcolinrao has joined the channel [01:48] matejv has joined the channel [01:49] cmr: tab1293: from github [01:50] cmr: tab1293: https://github.com/learnboost/socket.io/ [01:51] pauls1: Mongoose embedded docs question for anyone knowledgable…. i'm trying to save updates to an existing embedded doc and failing. know if this is possible? [01:51] tab1293: cmr, so if i download that file and include it, it will work? because reading that file it looks like its importing different things as well [01:51] GJdan: I didn't even realize you can put an hour long video on youtube >.< [01:51] k1ttty has joined the channel [01:52] TimTimTim has joined the channel [01:53] eastc: i wonder if ryan dahl is ever on here [01:53] andrew12: he was just here... his nick in here is ryah [01:53] eastc: whoa that's awesome [01:53] redir_ has joined the channel [01:53] andrew12: lol [01:54] cmr: tab1293: Yes, include that one file. Note that yes, you do need to be running it from your node server for that to work. [01:54] ryah: :P [01:54] rohitcolinrao: anyone have any experience with now.js? [01:55] cmr: tab1293: Just use npm [01:55] eastc: :D [01:55] cmr: methinks js needs to be a TLD to make things more awesome. [01:55] andrew12: i had a feeling he was going to respond :p [01:55] andrew12: cmr: YES. [01:55] rohitcolinrao: i'm trying to set up a real-time site stack [01:55] pauls1: rohitcolinrao: i do. i would recommend using dnode unless you need something particularly about now.js, as now.js has some issues [01:55] rohitcolinrao: found socketstream [01:55] rohitcolinrao: and now [01:55] cmr: andrew12: Only 200k USD! [01:55] rohitcolinrao: ah [01:56] rohitcolinrao: haven't read about dnode yet [01:56] rohitcolinrao: will check it out [01:56] pauls1: rohitcolinrao: made by substack, he has a bunch of good node modules [01:56] cmr: andrew12: (Plus possible fees) [01:56] rohitcolinrao: yeah heard of that guy [01:56] andrew12: hm... you guys are supposed to be good at javascript, right? how do i search through a string like ruby's String#search? [01:56] rohitcolinrao: ok [01:56] andrew12: or at least, what is the best way? [01:57] TheJH: andrew12, are you searching for a string or a regex? [01:57] andrew12: regex [01:57] pauls1: andrew12: i don't know ruby but maybe you can use regex [01:57] TheJH: andrew12, regex.exec(str) [01:57] TheJH: .. 1 [01:57] catb0t: 1 [01:57] andrew12: pauls1: I am using a regex, lol. ruby's String#search returns an array of where it matches it [01:57] cmr: TheJH: Or, str.search(regex) ? [01:57] TheJH: .. /ab/.exec("0ab00ab0") [01:57] catb0t: [ "ab", index: 1, input: "0ab00ab0" ] [01:57] andrew12: cmr: that just returns where it matches [01:58] TheJH: .. /.b/.exec("0ab00ab0") [01:58] catb0t: [ "ab", index: 1, input: "0ab00ab0" ] [01:58] andrew12: see, that only returns the first match. i want ALL of the matches. [01:58] GJdan: I'm sure I'll find this out the hard way in a bit, but when I find a node webserver to a port do I have to point the port to the host computer with my router? [01:58] andrew12: do i just have to keep doing it repeatedly until it returns -1? [01:58] pauls1: anyone know mongoose? [01:59] GJdan: find=bind [01:59] TheJH: .. "0ab00ab0".replace(/.b/g, function(){console.log(arguments)}) [01:59] catb0t: Exception: ReferenceError: console is not defined [01:59] pauls1: specificaly if there's some issue with updating an embedded doc? [01:59] TheJH: .. "0ab00ab0".replace(/.b/g, function(){print(arguments)}) [01:59] catb0t: { [object Arguments] 0: "ab", 1: 1, 2: "0ab00ab0" }; { [object Arguments] 0: "ab", 1: 5, 2: "0ab00ab0" }; "0undefined00undefined0" [01:59] eddanger has joined the channel [01:59] JasonJS has joined the channel [01:59] TheJH: andrew12, ^ :D [01:59] pauls1: mine don't seem to save even though the .pre('save') callback is definitely called [01:59] cmr: GJdan: Only if you want it available publicly (and your ISP doesn't filter ports) [01:59] kerang: andrew12: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String/match [01:59] eastc: holy CRAP now.js is awesome [01:59] TheJH: eastc, not. [01:59] andrew12: TheJH: thanks [02:00] pauls1: TheJH++ [02:00] catb0t: TheJH now has 1 beer [02:00] eastc: why not? :/ [02:00] rohitcolinrao: what issues where you talking about that now.js has, btw? [02:00] TheJH: eastc, ok, first thing, I told them about a single-message DoS 23 days ago, they're still working on it [02:00] eastc: so it's not secure [02:01] eastc: basically [02:01] TheJH: eastc, second thing, the browser side of their magic box polls an entire object structure for changes every second [02:01] eastc: so it's not efficient [02:01] TheJH: that gives you ~0.5s delay for changes of the magic box int he browser [02:01] rohitcolinrao: you've worked with dnode then? [02:01] pauls1: lol [02:01] eastc: vs regula rjson i assume [02:01] eastc: regular json* [02:02] TheJH: eastc, to be fair, I have to say that server-side changes don't get propagated via polling [02:02] TheJH: rohitcolinrao, yes [02:02] hotchkiss has joined the channel [02:02] andrew12: .. "0ab00ab0".match /ab/g [02:02] catb0t: Exception: ReferenceError: ab is not defined [02:02] andrew12: .. "0ab00ab0".match(/ab/g) [02:02] catb0t: [ "ab", "ab" ] [02:02] andrew12: that's what i want [02:02] andrew12: haha [02:02] andrew12: just needed the /g [02:03] kliff has joined the channel [02:03] TheJH: rohitcolinrao, although it also has some issues... basically, it's impossible to automatically GC callbacks that the nodejs server sends to the browser [02:03] rohitcolinrao: so it's possible to call server functions from the client(browser) and vice versa? [02:04] TheJH: rohitcolinrao, yes [02:04] rohitcolinrao: ah [02:04] eastc: is there any alternative to now.js instead of doing it the normal way [02:04] rohitcolinrao: any thoughts on socket stream? [02:04] TheJH: eastc, dnode [02:04] TheJH: rohitcolinrao, don't know what that is [02:05] eastc: TheJH: and it works better to? [02:05] eastc: or similarly [02:05] TheJH: eastc, well, it works, and when I found a security-critical issue in it, substack released a fixed version on npm within 15 minutes or so [02:05] rohitcolinrao: found this article about using socket stream (rt framework) http://addyosmani.com/blog/building-real-time-coffeescript-web-applications-with-socketstream/ [02:06] eastc: will go with dnode then :D [02:06] rohitcolinrao: ryah: i submitted a late late late submission to sxsw interactive to do a talk on realtime apps with node ;) [02:07] TheJH: rohitcolinrao, uh, a fat framework. for json over the net, you can use socket.io (dnode and nowjs use socket.io under the hood, too) [02:07] rohitcolinrao: yeah [02:08] TheJH: rohitcolinrao, socket.io can use websockets, and it has many fallbacks: flashsockets, forever iframes, xhr, jsonp, ... [02:08] tjholowaychuk: coffeescript is essential to realtime [02:08] Lingerance: ... [02:08] TheJH: tjholowaychuk, totally :D [02:08] eastc: i still need to npm install socket.io in order to use dnode right? or will it automatically install it's dependencies on its own? [02:08] TheJH: eastc, npm is smart enough for that [02:08] Lingerance: Oh that was sarcasm, k. [02:08] jesusabdullah: Yeah dude, everyone knows that parens and brackets slow everything down [02:08] jesusabdullah: That's why coffeescript does TWT [02:09] jesusabdullah: for speed [02:09] cmr: Yeah, and ->'s make it MUCH more streamlined. [02:09] rohitcolinrao: yeah exactly, i was just wondering if there was an abstraction of sorts that made socket.io easy to implement for browser/server rt apps [02:09] Sorella: Oh shit, no wonder Lisp is so slow. [02:09] jesusabdullah: Oh yeah, I mean, they even point to the right [02:09] cmr: Just look at that ->, it's aerodynamic. [02:09] jesusabdullah: -> is computer code for "GO FAST OKAY" [02:09] rohitcolinrao: tjholowaychuk, erm, why do you say that about coffee script? [02:09] jesusabdullah: Okay, I'll stop now. Sorry coffeescript fans [02:09] CarterL has joined the channel [02:09] eastc: anyone here NOT use coffeescript due to some reason other than personal preference ones? [02:09] djbell has joined the channel [02:09] TheJH: jesusabdullah, coco is better anyway :) [02:09] rohitcolinrao: ah gotcha sarcasm [02:09] jesusabdullah: eastc: I develop code that other people need to use [02:10] TheJH: !coco compile foo <<< bar: baz [02:10] jhbot: foo.bar = baz; [02:10] Sorella: eastc, several. [02:10] CIA-109: node: 03Bert Belder 07v0.6 * rc6347dc 10/ benchmark/next-tick-2.js : [02:10] CIA-109: node: Add another nextTick benchmark [02:10] CIA-109: node: It tests how many iterations the event loop can make per second. - http://git.io/wyBnDA [02:10] Lingerance: eastc: I develop code that I want other people to be able to read. [02:10] c4milo has joined the channel [02:10] Sorella: eastc, broken scoping rules, broken and ambiguous grammar, highly overloaded operators, etc. etc. etc. [02:10] TheJH: Lingerance, you can always compile it to JS :P [02:10] TheJH: Sorella, broken scoping? not in coco :D - same for grammar [02:11] jesusabdullah: I don't think that coffeescript is inherently broken or anything, though it's not really my bag either [02:11] Sorella: not that JS grammar isn't ambiguous, but CoffeeScript takes it to a whole new level :3 [02:11] eastc: i mean coffeescript is "supposedly supposed to make our lives easier when writing to javascript [02:11] eastc: right? [02:11] jesusabdullah: supposed to [02:11] jesusabdullah: well [02:11] jesusabdullah: sort of [02:11] Sorella: TheJH, haven't tried Coco yet, but languages with huge core stuff aren't really my thing. [02:11] jesusabdullah: See, when I first saw coffeescript it was this "crazy awesome experiment" that Jeremy was doing [02:11] rohitcolinrao: ok, so next question, anyone at a comfortable level with development in socket.io yet? [02:11] jesusabdullah: and it was really neat [02:11] jesusabdullah: but then people started using it in production [02:11] tjholowaychuk: crazy experiment that is just like 50 others [02:11] jesusabdullah: and I had to scratch my head a little bit [02:11] tjholowaychuk: but it makes realtime [02:12] tjholowaychuk: zoom zoom [02:12] jesusabdullah: As a project, I really do think cs is cool. [02:12] Sorella: jesusabdullah, why? [02:12] Sorella: There's nothing really interesting in CS, besides a mashup of features from Python and Ruby. [02:13] jesusabdullah: What's not to love, Sorella? [02:13] Sorella: (We don't even get to use any function as an infix operator) [02:13] Sorella: jesusabdullah, the grammar is terrible. [02:13] jocafa: I got tired of debugging code that I didn't write [02:13] jesusabdullah: Sorella: Imagine if coffeescript wasn't something people actually used. [02:13] jesusabdullah: Imagine that there weren't 100 copycats [02:13] tjholowaychuk: if it's ambigious to your parser it's ambigious to your eyes [02:14] jesusabdullah: I like most "I made my own language" projects [02:14] jesusabdullah: and I think that coffeescript did a pretty good job at that [02:14] tjholowaychuk: it's a good experience [02:14] tjholowaychuk: even if it's not really much of a language [02:14] Sorella: CoffeeScript features *are* interesting if you take each one individually. But the way they were put together is just... [02:15] jesusabdullah: It was able to keep around most of the things I like about javascript, implemented TWT without sacrificing anonymous functions like python did [02:15] jesusabdullah: added some pretty neat sugar [02:15] TheJH: !admin eval commands.admin.ceval = function(message, code, reply) {code=code.join(' ');try{eval(coco.compile(code, {bare:true}))}catch(e){}} [02:15] jhbot: function (message, code, reply) {code=code.join(' ');try{eval(coco.compile(code, {bare:true}))}catch(e){}} [02:15] jocafa: http://99-bottles-of-beer.net/ lots of languages... [02:15] jesusabdullah: I think the *project* is cool. I just would never try to convince a bunch of serious javascript devs that it's way totally better [02:15] TheJH: !admin ceval 1+1 [02:15] TheJH: :( [02:15] jesusabdullah: I wouldn't integrate it into rails [02:15] towski has joined the channel [02:16] TheJH: !admin eval commands.admin.ceval = function(message, code, reply) {code=code.join(' ');try{reply(eval(coco.compile(code, {bare:true})))}catch(e){}} [02:16] jhbot: function (message, code, reply) {code=code.join(' ');try{reply(eval(coco.compile(code, {bare:true})))}catch(e){}} [02:16] tjholowaychuk: you would if you were dhh [02:16] TheJH: !admin ceval 1+1 [02:16] jhbot: 2 [02:16] TheJH: :) [02:16] jesusabdullah: Basically, I wouldn't develop anything in it I actually wanted to show to other people [02:16] jesusabdullah: because other people know javascript [02:16] jesusabdullah: It's the lingua franca [02:16] eastc: i agree [02:16] jesusabdullah: It'd be like insisting on speaking Esparanto in Iowa [02:17] TheJH: !admin ceval coco={}; coco<<<{cool:true, author: \satyr}; JSON.stringify coco [02:17] jhbot: {"cool":true,"author":"satyr"} [02:17] cmr: I don't know enough about cs to comment in-depth, but I can say I think the syntax is ugly and I see no real use for it. [02:17] jesusabdullah: Honestly, cmr, that basically sums it up [02:17] tjholowaychuk: i just find it funny that you're a troll if you say something negative about it [02:18] jesusabdullah: coffeescript did teach me about the limitations of TWT [02:18] tjholowaychuk: it is after-all subjective [02:18] jesusabdullah: I was a python guy previously [02:18] jesusabdullah: but you don't do the same things in python that you can in js [02:18] Sorella: jesusabdullah, what would those be? [02:18] jesusabdullah: like, multi-line lambdas [02:18] cmr: I was also a python guy. [02:18] Sorella: Because, well, Haskell also has semantic whitespace, iirc [02:18] cmr: And while I really like python still, I like javascript even more. [02:18] jesusabdullah: Basically, for me it gets confusing [02:19] cmr: I'm excited for ES6 and beyond. [02:19] cmr: Lots of nice things stolen from python. [02:19] jesusabdullah: I prefer to make it more obvious with parens and brackets [02:19] jocafa: I should never have to debug whitespace. [02:19] jesusabdullah: A part of me still likes python, but I also know I'd hate webdev in python [02:19] jesusabdullah: jocafa: Exactly. [02:19] jesusabdullah: python's restrictive enough that you usually don't have to [02:19] cmr: I've never had a problem with whitespace. [02:19] jesusabdullah: but for something more freestyle like javascript you need more imo [02:20] jesusabdullah: cmr: I never did in python either [02:20] cmr: I had problems with confusing my loop variables, but I've done that in all the languages I've used :P [02:20] cmr: Eugh worst bug ever is confusing j for i. [02:20] jesusabdullah: cmr: Imagine if you could put a full def in the space you'd normally throw a lambda [02:20] jesusabdullah: cmr: Also imagine that parens around function calls were optional and that the "in-thing" to do was to drop them unless necessary [02:21] cmr: jesusabdullah: I like my parens thank you. [02:21] jesusabdullah: cmr: i is for rows, j is for columns [02:21] jesusabdullah: cmr: Yeah, me too. XD [02:21] cmr: And my semicolons, and my curly braces. [02:21] JasonJS has joined the channel [02:21] matejv has joined the channel [02:21] eastc: wonder what happens when Google releases a V9 engine [02:22] gavin_huang has joined the channel [02:22] Sorella: ACTION thinks people should go either with whitespace for function application OR parens/some other symbol for function application. Mixing the two is just bound to give people way too much headache. [02:22] Sorella: All the more when parenthesis are also used for grouping. [02:23] jesusabdullah: eastc: Engines usually have even pistons, especially in the v configuration [02:23] JakeyChan has joined the channel [02:23] jesusabdullah: eastc: So, V10, V12 [02:23] jesusabdullah: I think volkswagen has a W12 [02:24] andrew12: let's release a Z9000 engine [02:24] neilk_ has left the channel [02:24] eastc: V10 then [02:25] tab1293: anyone see anything wrong with this code? the error is included http://pastebin.com/kpcMs16y [02:25] Lingerance: eastc: Either node will stay on v8 or fork. [02:25] niftylettuce_: node.js v8 engine delivering presents http://www.featureme.co.uk/?p=2230 [02:26] Lingerance: or change the engine (which will be painful) [02:26] andrew12: you're supposed to do io.sokets i think [02:26] andrew12: not io.socket [02:26] eastc: Lingerance: true [02:26] enmand has joined the channel [02:27] andrew12: plus... shouldn't that bit be outside of that block? you can send a message to every socket in socket.io by doing io.sockets.emit('message name', 'data omg') [02:28] darshanshankar has joined the channel [02:29] neilk_ has joined the channel [02:30] josephg: wheee [02:30] josephg: my physics engine is starting to work [02:30] josephg: http://dl.dropbox.com/u/2494815/code.html [02:30] josephg: ACTION does the happy dance [02:30] boltR has joined the channel [02:30] andrew12: that doesn't fit on my screen [02:30] josephg: ^-- thats chipmunk-physics, ported to javascript [02:30] josephg: aww [02:30] andrew12: nice! [02:31] josephg: I should make it resize / scale properly [02:31] andrew12: I heard chipmunk is pretty good [02:31] josephg: yeah - its nice. [02:31] tjholowaychuk: chipmunk is sweet [02:31] josephg: sweet and, now in javascript! [02:31] tjholowaychuk: nice :D [02:31] andrew12: indeed [02:31] tjholowaychuk: repo? [02:31] josephg: - though performance is currently terrible in firefox. I turned off object pools, and I think thats hurting me. [02:31] tjholowaychuk: hand port? or what [02:32] josephg: https://github.com/josephg/chipmunk-js [02:32] josephg: hand port [02:32] tjholowaychuk: wicked [02:32] tjholowaychuk: the box2d ports suck so bad [02:32] josephg: haha damn. [02:32] josephg: I want to port the chipmunk demos next [02:32] andrew12: tab1293: try this: https://gist.github.com/334ec5abe51c80dadc8c [02:33] josephg: I don't have all the joints implemented yet either - but I have all the infrastructure in place, so they should be pretty easy [02:33] tab1293: andrew12, i figured it out it was supposed to be 'sockets' not 'socket' [02:33] andrew12: tab1293: right, that's exactly what I changed :P [02:33] andrew12: plus I got rid of the on 'connection' bit since you don't need that, you just need to send somethng [02:33] andrew12: something* [02:34] andrew12: ACTION suddenly realizes he has 5 empty coke cans sitting on his desk [02:34] fomatin has joined the channel [02:35] andrew12: i need a bigger screen :\ [02:36] josephg: soooo true [02:36] fomatin: hey tjholowaychuk [02:36] tjholowaychuk: hey [02:36] josephg: I want a 30". [02:36] fomatin: could you help me with a problem I'm having with express? [02:36] tjholowaychuk: fomatin sure what is it? or feel free to hop in #express [02:36] andrew12: well I have a 20" that i could plug in but the stupid mini-displayport to dvi thing i have isn't working [02:36] fomatin: sure [02:37] Wa: has usage of node-inspector change / does it even work anymore? I notice all of their documentation seems out of date (eg. node --debug instead of node debug; http://127.0.0.1 when the program itself says http://0.0.0.0) Either way my kicking it isn't effective :( [02:37] tab1293: andrew12, haha ok thank you. maybe you can answer this question my sockets are transfering the data but i have to refresh my page everytime i want an updated version of whats being transmitted. how can i make it realtime without refreshes? [02:37] Wa: changed* [02:37] andrew12: tab1293: try using the code i pasted [02:37] andrew12: tab1293: your version waits until there's a connection and then sends it [02:37] andrew12: mine just sends it to everyone once it gets it [02:38] Vennril has joined the channel [02:38] JasonJS has joined the channel [02:38] andrew12: (just get rid of the on('connection') line [02:38] tab1293: andrew12, ok thank you for that [02:39] andrew12: np [02:42] Wa: omg nevermind, it finally decided to work [02:43] ismell has joined the channel [02:45] Wa: not helping anyway! [02:46] Wa: I'm trying to compile this peg.js syntax of mine and it takes a while then just says "Unexpected identifier" and dies. That text is nowhere in the pegjs source; anyone know if it's a node thing? [02:46] Wa: or if there's a way to make it give more context >< [02:47] hotroot: I'm looking for node.js jobs around here, and I keep seeing stuff like "skills we're looking for: node.js, ror, PHP, redis, MySQL" etc. Are they just incompetent or do many places actually use like 4 different serverside languages? [02:48] stagas has joined the channel [02:48] hotroot: I'm not mastering Java and RoR when all I want is a job doing node.js stuff, hopefully that's possible? [02:48] GrizzLyCRO: hotroot: its maintaining legacy projects mostly i believe [02:49] rwaldron has joined the channel [02:49] andrew12: hotroot: it's more like they have no idea what they want. [02:49] GrizzLyCRO: its probably how they evolved over time [02:49] hotroot: That's what I figured andrew [02:49] GrizzLyCRO: they started with PHP, then moved to ruby/java/python/whatever [02:49] eastc has joined the channel [02:49] andrew12: i wish i could easily find a job i could do from home as a teenager. [02:49] GrizzLyCRO: and now they are starting to use node.js [02:50] GrizzLyCRO: andrew12: you can [02:50] hotroot: I'm just hoping that me refusing to learn a bunch of other languages isn't going to prevent me from getting a decent job [02:50] andrew12: orly? [02:50] GrizzLyCRO: yeah, do a couple of open source projects [02:50] GrizzLyCRO: so you have portfolio [02:50] andrew12: can i get paid for open source projects? :p [02:50] GrizzLyCRO: you can, but you creat for example open source game [02:50] hotroot: That's what I'm doing right now, writing my telnet hacking game so I can show it off when it's finished [02:50] bambanx has joined the channel [02:51] bambanx: hello [02:51] bambanx: anyone can light me about how install node into debian? [02:51] GrizzLyCRO: and then you apply for several jobs which are paid, and give them link to your game saying, looky here i can write my codez! [02:51] ismell has joined the channel [02:51] sh1mmer has joined the channel [02:51] Wa: just compile from source bambanx [02:51] andrew12: i'm not very good at finishing projects unless i'm *really* interested in them, and am enjoying writing it [02:51] secoif: GrizzLyCRO that's pretty much exactly what i did [02:52] secoif: the game didn't even work [02:52] hotroot: lol [02:52] andrew12: my github profile is pretty good proof of that [02:52] secoif: in fact it wasn't even a game [02:52] secoif: it was kind of [02:52] secoif: a thing that was happening. [02:52] cmr: My github profile needs to be wiped clean. I have crap code from when I was 14 on there. [02:52] hotroot: My github profile has one poorly written browser game I've put about 2 hours into so far =P [02:52] cmr: I think I'll do that now. [02:52] bambanx: Wa i am new on linux world i am not sure how compile it , u have a link? [02:53] cork has joined the channel [02:53] hotroot: bambanx: I'll see if I can find the docs, it's not too hard [02:53] hotroot: Not sure why it isn't on the nodejs.org page anymore... [02:53] GrizzLyCRO: anyway, about getting any kind of jobs, you need portfolio [02:53] Wa: grab the source from the website [02:53] cmr: bambanx: sudo aptitude install git build-essentials [02:53] bambanx: ok [02:53] GrizzLyCRO: i would surely not hire anyone who came to me and said "hey, i would like to program something" [02:53] hotroot: bambanx: https://github.com/joyent/node/wiki/Installation [02:53] Wa: tar -xvf node-v0.6.6.tar.gz && cd node-v0.6.6 && ./configure && make && sudo make install [02:53] andrew12: wget http://nodejs.org/dist/v0.6.6/node-v0.6.6.tar.gz && tar xzf node-* && cd node-* && ./configure && make && make install [02:54] andrew12: Wa: dammit! [02:54] hotroot: lol [02:54] Wa: well you added the wget~ [02:54] bambanx: thanks very much guys =) [02:54] andrew12: and got rid of sudo :p [02:54] Wa: x3 [02:54] hotroot: GrizzLyCRO: Yeah, that's why I'm spending a lot of time right now on this telnet game [02:54] hotroot: Hoping it will be good enough [02:54] GrizzLyCRO: good luck [02:55] hotroot: Ty [02:55] andrew12: it might be scary to people when you ask for a job and say "i wrote a telnet hacking game!!!11" [02:55] hotroot: I don't think so [02:55] andrew12: well if they don't know half a shit about computers :p [02:55] GrizzLyCRO: and anyways, companies requiring other technologies (java/php/ruby/.net) in 99% that is because they have projects in these langs that they need to maintain [02:55] hotroot: They would say, can you show us any work you've done? And I would say yep, I wrote a gameserver in node, and I would show them the code [02:56] andrew12: ah [02:56] Wa: one thing doesn't make much of a profile [02:56] Wa: but it's a start~ [02:56] hotroot: I have two I [02:56] hotroot: 'm working on [02:56] GrizzLyCRO: and if you have good enough portfolio with only node.js and database stuff, you can say i am pro in node.js and i dont want to maintain .NET and JAVA apps for rest of my life :) [02:56] cmr: A journey of a thousand miles starts with a single step. [02:56] andrew12: yeah. write a library that makes writing a telnet server super easy or something [02:56] andrew12: lol [02:57] andrew12: or.. write your game first then separate the bits of it out into separate projects.. that way you have many projects? [02:57] andrew12: ACTION throwing ideas [02:57] hotroot: GrizzLyCRO: You'd have to shoot me before I did .NET stuff =P [02:57] GrizzLyCRO: hotroot: i know that feeling :) [02:57] GrizzLyCRO: at my old job they tried to push me to maintain old .NET project [02:58] hotroot: Sucks =/ [02:58] GrizzLyCRO: and i was all python guy [02:58] GrizzLyCRO: i simply said NO [02:58] hotroot: andrew12: Yeah, I could put my telnet stuff into a library [02:58] GrizzLyCRO: they hired someone else to maintain old .NET stuff while i remade them in python :) [02:59] hotroot: Nice =) [02:59] cmr: Is node-inspector the best choice for debugger? I really hate dragging chrome around just for a debugger. [02:59] bambanx: i am curios about node, node is good for apps like a cms? [02:59] hotroot: I like Python, or at least what I've seen of it. Probably going to learn it soon as my general language [02:59] bambanx: with database [02:59] andrew12: i just saw this: https://github.com/joyent/node-panic [02:59] AAA_awright: cmr: You should be using chrome anyways [03:00] andrew12: console.log() is often perfect debugging [03:00] cmr: AAA_awright: Chrome doesn't have pentadactyl or anything even comparable in quality. [03:00] andrew12: at least for me :P [03:00] hotroot: bambanx: You're going to get biased answers in a node chat most likely, but I think it's pretty good for any web stuff [03:00] hotroot: console.log ftw =P [03:00] bambanx: thanks hotroot [03:01] andrew12: just use a decent logger like winston and debug everything [03:01] AAA_awright: cmr: I've never even heard of that or know why would need it [03:03] cmr: AAA_awright: it is essential to my Browsing Experience (TM) [03:03] hotroot: AAA_awright: It's a dinosaur [03:03] AAA_awright: Remember when Firefox was fast and the cool kid in town? [03:04] hotroot: ^^ [03:04] tjfontaine: and it was called phoenix [03:04] tjfontaine: and then firebird [03:04] AAA_awright: And it was called Mozilla and came with a mail client and IRC client? [03:05] AAA_awright: And fancy splash banner [03:05] andrew12: ahhhh splash screens [03:05] AAA_awright: I just pulled firefox up and I can't believe I held out switching to Chrome for as long as I did... that was like 2 years ago too [03:05] andrew12: i switched to chrome immediately [03:05] cmr: I switched when 13 was the dev version, whenever that was. [03:06] AAA_awright: 8.x or so, I began compileing chromium on this Gentoo box [03:06] AAA_awright: That's the only thing I can't stand, what do the stupid numbers mean [03:06] hotroot: I can't remember when I switched to chrome [03:06] cmr: AAA_awright: they mark lengths of time. [03:07] AAA_awright: http://semver.org/ is the only way to number it, folks (ryah you listening?) [03:07] AAA_awright: See even the Linux kernel agrees! [03:07] dwhittle has joined the channel [03:10] ismell has joined the channel [03:11] cmr: I don't see why chrome thought the major number was a good thing to change every 6 weeks. [03:11] davidbanham has joined the channel [03:12] hermanjunge has joined the channel [03:12] hermanjunge: HI [03:12] hermanjunge: which is the latest stable nodejs version? [03:12] cmr: 0.6.6 [03:13] hermanjunge: thx! [03:14] eastc has joined the channel [03:15] andrew12: chrome doesn't have an "API" though, so semver doesn't work [03:15] andrew12: and the linux kernel changed to 3.0 because linus thought it was a good time to change the number... i don't think there's any particular reason other than that. [03:16] cmr: There have been API breaks in the 2.6 series, iirc. [03:16] hermanjunge has left the channel [03:16] c4milo: damn expresso is a virus [03:16] c4milo: tjholowaychuk: ^.^ [03:16] tjholowaychuk: ? [03:16] Marak: hax [03:17] tjholowaychuk: c4milo i thought you were on mocha now haha [03:17] c4milo: tjholowaychuk: I had an app with expresso, moving it to mocha. But I still have other third party dependencies that use mocha! [03:17] c4milo: I mean, expresso! [03:18] tjholowaychuk: ah, yeah jscov ftwwww [03:18] tjholowaychuk: haha [03:18] andrew12: i'm too lazy to bother with testing [03:18] andrew12: :X [03:18] c4milo: hehe [03:18] c4milo: andrew12: that's why you have to spend hours manual testing upon any change [03:18] kurtzhong has joined the channel [03:18] andrew12: heh [03:19] hotroot: What is it with coders and coffee? Java, JavaScript, Netbeans, espresso, mocha, [03:19] andrew12: coffeescript [03:19] andrew12: forgot that ^ [03:19] c4milo: hotroot: coffee is the author of many modules dude [03:19] c4milo: didn't you know that hotroot? [03:19] hotroot: Oh I know, all my good coding happens after caffeine =P [03:19] andrew12: and netbeans is in and mainly for java, so they called it that [03:19] c4milo: hehehe [03:20] hotroot: I'm more of a tea guy, but coffee seems to help with code more =P [03:20] c4milo: andrew12: well, with Java it just happened that they mixed the coffee with weed [03:20] andrew12: rofl [03:21] kerigan: what editor do you guys use for node stuff? [03:21] cmr: vim [03:21] andrew12: textmate [03:21] JakeyChan: textmate [03:22] c4milo: tjholowaychuk: I had to buy a new macbook to compile jscov faster [03:22] indexzero has joined the channel [03:22] tjholowaychuk: AHAHAA [03:22] andrew12: i need to start using chocolat more [03:22] Marak: i pipe source code directly to my neural input [03:22] c4milo: kerigan: vim [03:22] Marak: my cpu is a neural net processor, a learning computer [03:22] eastc: anything better than nano for bash? [03:22] c4milo: you lying again Marak, don't you? [03:23] JakeyChan: guys, how do you use vim ? it can manage project ? I only for editing simple config file [03:23] andrew12: nano sucks for programming [03:23] cmr: eastc: Everything is better than nano. [03:23] eastc: like what [03:23] eastc: for bash? [03:23] eastc: any recommendations [03:23] cmr: vim, emacs, sed... [03:23] ryah: AAA_awright: ? [03:23] andrew12: cat is better than nano [03:23] andrew12: ... ok maybe not [03:23] AAA_awright: ryah: Node.js has had some bizarre version numbering scheme I don't fully understand [03:24] c4milo: very soon I'll have to install my own npm repository /me sigh [03:24] AAA_awright: It's seems to be semver but then it bounces around [03:24] boltR has joined the channel [03:24] ryah: AAA_awright: even numbers are stable, odd numbers are unstable [03:24] AAA_awright: Uh, yeah. [03:24] andrew12: AAA_awright: it's worth noting that it's not yet hit major-version-zero [03:24] andrew12: er, [03:24] andrew12: it's still major-version-zero [03:25] ryah: AAA_awright: i agree that it's not so useful [03:25] ryah: but it's what we're using [03:25] AAA_awright: andrew12: Which itself is bending the rules a bit. There's no reason you can't start at 1 and continue to increment when you break reverse compatability. [03:25] tokuzfunpi has joined the channel [03:25] andrew12: wait... if there's stable releases then it should already be 1.0! "Major version zero (0.y.z) is for initial development. Anything may change at any time. The public API should not be considered stable." [03:25] ryah: s/so useful/the best/ [03:25] AAA_awright: initial development implies no one else should be using it... Which is clearly not the case [03:26] davidbanham has joined the channel [03:26] AAA_awright: At least that's what I think [03:26] andrew12: nah [03:26] c4milo: npm ERR! error installing express@2.5.2 Error: expresso@0.7.9 preinstall: `make deps/jscoverage/node-jscoverage` [03:26] c4milo: npm ERR! error installing express@2.5.2 `sh "-c" "make deps/jscoverage/node-jscoverage"` failed with 2 [03:26] andrew12: that's not the case for any projects that are 0.x.x [03:26] c4milo: ACTION sigh  [03:26] andrew12: otherwise they wouldn't be online [03:26] jacobolu_ has joined the channel [03:26] AAA_awright: You can post code, but you "really shouldn't" be linking to it from other code [03:27] andrew12: besides... who follows semver perfectly anyways? [03:27] c4milo: andrew12: me [03:27] AAA_awright: ACTION slowly raises hand? [03:27] JakeyChan_ has joined the channel [03:27] tjholowaychuk: ACTION sometimes [03:27] AAA_awright: If you don't perfectly follow it, that's a bugfix release, and you increment minor [03:28] ryah: we're probably going to be following chrome/v8's scheme soon [03:28] tjholowaychuk: it's a nice hint as to what changed [03:28] c4milo: ryah: how come? [03:28] AAA_awright: ... Like, use the v8 release numbers? [03:28] tjholowaychuk: but at the same time, if it's patch-level you'll want to update [03:28] tjholowaychuk: if it's minor you might have some fixes in there [03:28] AAA_awright: Or use their date-based scheme? Neither is a good idea [03:28] ryah: because i like the idea of time based releases [03:28] andrew12: ryah: on the topic of versioning.. is there any particular reason why node isn't 1.0 yet? [03:28] AAA_awright: That says absolutely nothing about compatibility with other programs though [03:28] ryah: andrew12: because we're not done yet [03:29] andrew12: i see [03:29] AAA_awright: Just use a single field and increment, or use Git numbers [03:29] tjholowaychuk: timestamps would be awkward [03:29] andrew12: no, use increasing digits of pi [03:29] tjholowaychuk: im using 13251413123 [03:29] AAA_awright: andrew12: Hate hate hate [03:29] andrew12: hehe [03:29] c4milo: hehe [03:30] k1ttty has joined the channel [03:30] lazyshot has joined the channel [03:30] c4milo: I like semver [03:30] AAA_awright: At least then, if you used Git commit IDs, it would at least point to a particular commit instead of just being "Hey release 9 came after 8" [03:30] cmr: Why not have two version numbers... an "API compatability" number, and a "version 12" that is features or whatever. [03:30] c4milo: it also is pretty similar to the OSGi versioning [03:30] AAA_awright: cmr: That sounds like http://semver.org/ [03:30] ryah: mostly i just want to be in-sync with V8 [03:30] jesusabdullah: andrew12: TeX does that right? [03:30] cmr: AAA_awright: No way!? [03:30] jesusabdullah: The pi thing, I mean [03:30] c4milo: AAA_awright: a tag points to a specific commit [03:30] cmr: jesusabdullah: Yeah, either that or e [03:30] ryah: so that we have a major node release for each V8 [03:31] AAA_awright: c4milo: Right, let's get rid of the extra name->commit map and just talk about commits directly [03:31] ryah: forcing 6 week release cycles makes you do development differently [03:31] AAA_awright: If you're going to ONLY use a single number [03:31] jesusabdullah: That sounds terrible [03:31] cmr: AAA_awright: Commits are a lot less memorable than names. [03:31] AAA_awright: (or something equivelant like year.month) [03:31] jesusabdullah: Oh I'm using version 2iogrjt4432yhj4y325 [03:31] c4milo: ahhaa [03:32] AAA_awright: jesusabdullah: And I don't have a problem with this [03:32] c4milo: he seems April 1st in here [03:32] c4milo: hehe [03:32] jesusabdullah: I do. [03:32] jesusabdullah: It takes the sem out of semver [03:32] jesusabdullah: and that's bad :C [03:32] c4milo: jesusabdullah: indeed [03:32] AAA_awright: jesusabdullah: Well it's worse than semver, but my argument is it's no worse than a single field version, v9, v10, etc [03:32] jesusabdullah: also at least I can remember "0.6.x" or "Ornery Octocat" or whatever [03:32] c4milo: versioning has been always a bitch [03:33] c4milo: horney octocat? [03:33] jesusabdullah: ornery. [03:33] c4milo: horny? [03:33] AAA_awright: It's really not hard guys, reverse incompatibility -> increment major, new feature that someone could depend on to make a release -> increment minor, bugfix -> increment patch [03:33] jesusabdullah: definefor.me/ornery [03:34] ryah: http://blog.chromium.org/2010/07/release-early-release-often.html good read [03:34] c4milo: AAA_awright: that's semver yes [03:34] ryah: version numbers are not so important - releasing all the time is :) [03:34] AAA_awright: And I don't see how that's incompatible with ryah's desire to have short release cycles [03:35] hotroot has left the channel [03:35] hotroot has joined the channel [03:35] tjholowaychuk: yeah i dont get it [03:35] tjholowaychuk: not sure how n.n.n gets in the way of that [03:35] tjholowaychuk: i have stylus 0.21.x [03:35] tjholowaychuk: it's a big number but who cares [03:35] AAA_awright: Or rather, what problem it would pose. Not having the semantic revisions would be a problem, if anything, because now there's no way to say "we need major 2 and features in minor>=16" [03:35] c4milo: ryah: yeah, versioning doesn't have to be with release early and often tho. I understand the desire of pairing with v8;. [03:36] ryah: tjholowaychuk: api changes don't fit cleanly into 6 week windows [03:36] c4milo: has to do* [03:36] AAA_awright: "And oh yeah release 2.16.1 has a bug that accidently broke reverse compatibility, so not that one" [03:36] tjholowaychuk: ryah so the goal is to break compat? [03:36] ryah: the goal is to release often and early [03:36] andrew12: "'twas the last build before christmas and all through the house, no keyboards were clicking nor even a mouse" [03:37] tjholowaychuk: i definitely get the importance of just "plowing through" with the new [03:37] tjholowaychuk: but it's tough to keep up [03:37] tjholowaychuk: we still haven't migrated from 0.4.x [03:37] c4milo: tjholowaychuk: the goal is to progress in small chunks, to make it appear faster and it also gives more visibility [03:37] cmr: I think version numbers are personal preference and there will never been agreement on which is 'best'. [03:38] cmr: (Even though semver is clearly the best ;) [03:38] c4milo: tjholowaychuk: have you ever read the lean startup? [03:38] ryah: look - as much as everyone would like to believe you have control over your interfaces you dont [03:38] ryah: v0.6 has API changes - socket.write now throws if it was closed [03:38] ryah: bug fixes are api changes [03:38] tjholowaychuk: ryah for sure, I break things just as much as the next person, the version is just a nice indication [03:38] ryah: it's *very* subjective [03:38] tjholowaychuk: personally I dont care if the version number is huge [03:39] tjholowaychuk: but at least it gives you some idea [03:39] AAA_awright: Chrome and OSes might be able to get away with a single-field revisions because it's just a way of saying "Hey, this is the next release after that previous one". For libraries like Node.js it's pretty critical I can say "Yep, this uses Node.js major revision 3 API, and features in 3.2, so you need at least 3.2.0" [03:39] ryah: i think API just shouldn't change - ever [03:39] jetienne has joined the channel [03:39] ryah: semver seems to suggest that API changes are acceptable [03:40] Lorentz: Just don't do what enlightenment does, with 0.16.999.66246 [03:40] AAA_awright: That's a great way to make sure you're uninventive [03:40] andrew12: let [03:40] Lorentz: They've been 0.16.999 for like, a decade now [03:40] Vennril2 has joined the channel [03:40] andrew12: let's start using git hashes for versions [03:40] ismell has joined the channel [03:41] AAA_awright: Some /. post suggested we need new programming languages to expose the latest new features... But that's rediculous, that means you need to assemble a new community of devepopers to develop the language. Why not use an existing community to develop it? And then why not just call it ProgrammingLanguage 2? [03:41] ryah: every API change is a failure - and it should be gradual [03:41] ryah: not come in huge chunks [03:41] ryah: no python 3000 [03:41] tjfontaine: what a disaster that is [03:42] sstreza has joined the channel [03:42] cmr: Yeah [03:42] ryah: v0.4 to v0.6 was unfortunately long [03:42] ryah: but we're trying to correct it [03:42] ryah: our versions will soon fly - and you won't know what you're running [03:42] ryah: but that's good [03:42] ryah: because our API will be a rock [03:43] jetienne: autoupdate ? [03:43] socketio\test\40 has joined the channel [03:43] AAA_awright: semver explicitly suggests you don't take breaking reverse compatibility lightly [03:43] ryah: no autoupdate [03:43] cmr: Honestly I think semver is crap because encoding that much information into a single number is stupid. [03:43] AAA_awright: But we've got to know if there is even a single feature that's pulled from a future release, that it's going to be incompatible [03:43] tjholowaychuk: it's just a hint [03:43] andrew12: cmr: it's 3 numbers though [03:44] dr0id has joined the channel [03:44] cmr: andrew12: Nah, it's one number in a as-of-yet unnamed number system ;) [03:44] ryah: imcompatible is emotional and subjective [03:44] sstreza has left the channel [03:44] ryah: the word "incompatible" that is [03:44] andrew12: i wonder who started the whole versioning.numbers.with.a.ton.of.dots [03:44] AAA_awright: My favorite program to hate is Blender: they have this 2.xx numbering scheme which I completely fail to understand, and the developers say they won't increment that 2 even though CLEARLY 2.50 breaks reverse compatibility with all sorts of things from particle physics to the UI to plugins. But it still works for "most" .blend files. [03:45] AAA_awright: So, no major increment. [03:45] AAA_awright: ACTION headdesk [03:45] andrew12: they don't have an API though. [03:45] AAA_awright: Yeah they do. [03:45] cmr: andrew12: Yes they do. [03:45] cmr: The python api is extensive. [03:45] andrew12: how does a GUI have an API? [03:45] andrew12: that's different [03:45] AAA_awright: The UI is written in Python, too. [03:45] AAA_awright: ACTION headdesk [03:45] andrew12: that doesn't matter... the UI isn't the API :| [03:45] AAA_awright: I've been a long time proponent of them switching to Javascript [03:46] AAA_awright: Hasn't picked up much traction. [03:46] ryah: i think it would major more sense to label certain APIs with stability [03:46] ryah: like is done in solaris [03:46] ryah: s/major/make [03:46] ryah: than rely on versions [03:46] ryah: i mean if you're going for usefulness [03:46] Lorentz: heh, version the apis? [03:47] AAA_awright: andrew12: My biggest point is 2.50 can't fully load files from 2.49x, if it uses features like physics or the python API [03:47] AAA_awright: But it can somewhat, so that somehow doesn't break reverse compatibility. [03:47] ryah: Lorentz: yes [03:47] ismell_ has joined the channel [03:47] AAA_awright: Node.js needs to avoid this at all costs. [03:47] ryah: for example, node's http.createServer API is damn stable [03:47] ryah: it will never chnge [03:47] ryah: but cluster.fork is not stable [03:48] tonymilne has left the channel [03:48] AAA_awright: I wouldn't say there's no better way it could be implemented but it does look pretty nice [03:48] cmr: ryah: so versioning each module? [03:48] ryah: no - each function [03:48] AAA_awright: That's another option. [03:48] AAA_awright: That's too much. [03:48] cmr: I like that. [03:48] tjholowaychuk: sounds like css prefixes [03:49] AAA_awright: I imagine functions like http.createServer_2 at worst. No. Just, no. [03:49] ryah: see this: http://docs.oracle.com/cd/E19082-01/819-3620/chp-stab-1/index.html [03:49] kerigan_ has joined the channel [03:49] andrew12: versioning each function sounds like an interesting idea [03:50] andrew12: would just use, probably two numbers for that though. one for stability, one for changes [03:50] insin: "The interface is a mature interface under Sun's control" - ruh-roh! [03:50] cmr: Ok, how about having release numbers, and API numbers. [03:50] andrew12: yeah [03:50] cmr: "Node 11", "v0.8.1" [03:50] cmr: Identical. [03:50] tilgovi has joined the channel [03:50] tilgovi has joined the channel [03:51] c4milo: ryah: I don't imagine how the code will look like hehe [03:51] c4milo: ryah: node.js code [03:51] cmr: I would imagine multiple API versions of a function couldn't coexist within a release. [03:51] tjholowaychuk: this just sounds like what people are trying to avoid in browsers with feature testing [03:51] tjholowaychuk: vs explicit versioning [03:51] Arke has joined the channel [03:52] AAA_awright: cmr: The only use a single-field version has is to say 11>10, but you can already do that with v0.8.1>v0.8.0 [03:52] ryah: it's not anything programatic [03:52] ryah: it's just something for the docs [03:52] tjholowaychuk: ah [03:52] tjholowaychuk: yeah that's fine, that's what I usually do with jsdoc stuff [03:53] windsurf_ has joined the channel [03:53] ryah: http://www.cims.nyu.edu/cgi-comment/man.cgi?section=5&topic=attributes <-- also good read [03:54] yzhang_ has joined the channel [03:54] ryah: i think it would be reasonable for Node to commit to certain APIs at this point [03:54] cmr: AAA_awright: I was thinking "node 11" > "node 12" be a time-based thing, but 0.8.0 to 0.8.1 be an API thing. [03:54] yzhang_: hi, does anyone successfully compile node.js on arm? [03:54] ryah: e.g. setTimeout, process.version, process.nextTick [03:54] ryah: yzhang_: yes, some have [03:55] windsurf_: anyone know how I can overcome this socket.io error? I don't know if there's some jsonp thing i was supposed to configure. Error: Origin http://foo.local is not allowed by Access-Control-Allow-Origin. My node app is at http://foo.nodejitsu.com [03:55] AAA_awright: Usually functions don't change by themselves... they change within the context of a module. If you have to eliminate a function, version numbers don't help you there. [03:56] AAA_awright: Like the great sys->util rename [03:56] cmr: AAA_awright: Well, to use ryah's example, socket.write's exception throwing chaning. [03:56] cmr: That's an API change. [03:56] cmr: But not the entire module. [03:57] ryah: we're probably going to end up wrapping V8's header in order to provide a stable ABI [03:57] ryah: which is annoying - but necessary [03:58] ryah: at the moment we don't (and can't) guarantee stable ABI between major node versions [03:58] yzhang_: @ryah, do you have the details? [03:59] ryah: yzhang_: https://github.com/paddybyers/anode [03:59] yzhang_: i'm trying to compile it on dockstar, which uses arm5 cpu [03:59] c4milo: windsurf_: this might be helpful https://gist.github.com/816580 but make sure to read carefully about CORS [03:59] ryah: yzhang_: im afraid you're going to probably get your hands dirty a bit [03:59] windsurf_: c4milo: thanks [03:59] yzhang_: @ryah thank you, I will look into it [04:00] ryah: yzhang_: probably you'll have better luck on v0.6 than master [04:00] ryan_stevens has joined the channel [04:00] AppleJacky has joined the channel [04:00] ryah: yzhang_: we're hardcoding ia32 on master at the moment [04:00] windsurf_: c4milo: i'm not sure this applies to sockets [04:00] criswell has joined the channel [04:00] c4milo: windsurf_: also, that gist shouldn't be a requirement to work with socket.io [04:00] yzhang_: @ryah ok, I will try to checkout v0.6.0 [04:01] c4milo: windsurf_: it's just a workaround [04:01] Me1000 has joined the channel [04:01] ryah: yzhang_: but i think the x-compile infrastrucutre in GYP (what master uses) is much better than with WAF [04:01] andrew12: i wonder if anyone's bothered with cocoa in node [04:01] ryah: yzhang_: use v0.6.6 [04:01] yzhang_: @ryah.ok [04:01] cmr: AAA_awright: Do you see where I was coming from with my suggestion? [04:02] c4milo: windsurf_: foo.nodejitsu.com returns 404 [04:02] bambanx: what are u using for paste in this channel? [04:02] jzacsh has joined the channel [04:02] jzacsh has joined the channel [04:03] andrew12: http://gist.github.com [04:03] AAA_awright: cmr: Not really? Actually, semver says it nicely: ... Without compliance to some sort of formal specification, version numbers are essentially useless for dependency management. [04:03] hotroot: This should make passableArray equal to analyzeString minus the first element in analyzeString, no? [04:03] hotroot: for (i=1;i> 1 + 2; [04:35] purr: hotroot: (number) 3 [04:35] josephg: .. JSON.stringify(this).prototype [04:35] catb0t: Exception: SyntaxError: Unexpected token ILLEGAL [04:35] josephg: .. JSON.stringify(this.prototype) [04:35] catb0t: [04:35] andrew12: ILLEGAL, lol [04:35] josephg: :D [04:36] jaequery has joined the channel [04:36] eastc: what's the difference between hook.io and socket.io? [04:37] andrew12: socket.io is for web stuff [04:37] andrew12: hook.io looks awesome and iw ant to use it for everything, thank you [04:37] r04r has joined the channel [04:37] r04r has joined the channel [04:37] hotroot: Well the hook.js description is "the easiest way to build real-time web applications" [04:37] hotroot: So I wouldn't say that's a difference [04:37] josephg: ACTION looks up hook.io [04:37] josephg: there's also sock.js [04:38] rwaldron has joined the channel [04:38] andrew12: hotroot: no, "a way to enable i/o for your node.js application" [04:38] josephg: … which is quite good [04:38] eastc: so many *.js's... -_- [04:38] andrew12: eastc: it's javascript, what did you expect? [04:38] hotroot: I'm looking at the github page =P [04:38] andrew12: hotroot: https://github.com/hookio/hook.io [04:38] hotroot: Yeah, look at the top [04:39] andrew12: "a way to enable i/o for your node.js application" [04:39] hotroot: Oh, hook.js -.- [04:39] josephg: yeah… no browser IO I think [04:39] andrew12: :P [04:40] hotroot: I should write a hook.io telnet library [04:41] andrew12: hotroot: here's all the code for it: require('net') [04:41] hotroot: If you want user input that shows up as a bunch of boxes, sure [04:42] hotroot: And sends fun newlines and tab breaks every time it sends data [04:42] hotroot: Plus there is a whole bunch of shit for getting terminal size, etc. [04:42] r04r has joined the channel [04:43] norviller has joined the channel [04:44] DamonOehlman has joined the channel [04:45] kurtzhong has joined the channel [04:48] r04r has joined the channel [04:49] davidbanham has joined the channel [04:49] JakeyChan: hey ? [04:53] r04r has joined the channel [04:55] Wizek has joined the channel [04:56] andrew12: hi [04:57] hotroot: Why is everyone so against globals? Some reason I'm missing? [04:57] andrew12: not everyone's "so against" them [04:57] hotroot: From what I've seen, people act like it's horrible [04:57] hotroot: I find them extremely handy [04:58] andrew12: well i haven't been into node for that long so i don't know much [04:58] nicholasf: can anyone successfully install everyauth via npm? [04:58] r04r has joined the channel [04:58] r04r has joined the channel [04:58] cmr: hotroot: Show me an example of code where you find a global handy? [04:58] cmr: s/?/./ [04:58] andrew12: nicholasf: i just did [04:59] nicholasf: yeh me too [04:59] nicholasf: it screwed up 3 times before that tho [04:59] nicholasf: thanks andrew12 [04:59] andrew12: np [04:59] hotroot: A game having a global window object? [05:00] c4milo has joined the channel [05:00] andrew12: hotroot: most of the time people don't *need* globals because they're not writing something that's going to be used everywhere [05:00] andrew12: I think that's the main idae [05:00] andrew12: idea too [05:01] hotroot: Well in my hacking game, the list of currently connected clients is a global [05:01] andrew12: gasp [05:01] systemfault: My god.... [05:01] systemfault: Educate yourselves [05:01] systemfault: http://c2.com/cgi/wiki?GlobalVariablesAreBad [05:01] systemfault: And for javascript.. there's another disadvantage.. they're slower. [05:01] andrew12: they are? [05:02] kenperkins has joined the channel [05:03] systemfault: Yes. Because of the way scoping works in javascript.. [05:03] hotroot: Okay, how would my client list not be global? [05:03] pauls1: anyone know how to use exec (child_process) to exec from within a specified directory? [05:03] andrew12: var client_list [05:03] andrew12: tada [05:04] cmr: hotroot: Where do you need your client list? [05:04] hotroot: Yes...and doing that makes it global [05:04] andrew12: nope [05:04] r04r has joined the channel [05:04] cmr: hotroot: First off, what's the architecture of your server? [05:04] hotroot: cmr: I need access to it everywhere, all sorts of functions need it [05:04] secoif: hotroot there's probably a design problem [05:05] cmr: Yeah [05:05] hotroot: Alright, well I'm fairly new to writing this stuff, I'll gist it. Not sure of how else I would really do this? [05:05] secoif: hotroot read up on coupling and dependency injection [05:05] systemfault: Hmm [05:05] systemfault: Manual DI? [05:06] secoif: systemfault manual di = passing parameters to constructor [05:06] systemfault: (I don't know if node has a DI container) [05:06] systemfault: secoif: Right. [05:06] hotroot: https://gist.github.com/1513206 [05:07] andrew12: where's the global? [05:07] secoif: hotroot you're not actually creating a global [05:07] hotroot: 0.o [05:07] hotroot: Err, global var != global? [05:07] secoif: it's 'global' to that file. [05:07] andrew12: there are no global vars there. [05:08] hotroot: The first declared vars are global vars [05:08] secoif: hotroot a global is a variable that is accessible to every file in the application. this is just oen file and none of those variables are global [05:08] andrew12: nope, those are all locals. that's exactly what var means. [05:08] nibblebot has joined the channel [05:08] r04r has joined the channel [05:08] hotroot: Okee? [05:08] andrew12: also you don't have to have '.js' when you require something ;) [05:09] hotroot: I tried it without and it bitched at me [05:09] andrew12: (userCommands) [05:09] andrew12: orly? [05:09] andrew12: what version of node? [05:09] hotroot: maybe ./userCommands works, but I tried (userCommands) and nope [05:09] andrew12: you have to have ./, yeah [05:09] hotroot: Meh, it's fine [05:09] andrew12: :p [05:10] hotroot: Anyway, I'm trying to access ips from the userCommands [05:10] hotroot: global.ips isn't working, I thought that was the way to do it? [05:10] secoif: hotroot just pass 'ips' to it [05:10] hotroot: Modules already have the scope? [05:11] secoif: ? [05:11] hotroot: Oh [05:11] hotroot: Blegh, passing everything? =/ [05:11] davidbanham has joined the channel [05:11] secoif: you could create an 'app' object that contains that stuff [05:11] secoif: if it onyl needs to be shared with one or two other objects, it's fine [05:11] hotroot: This is why I would do single file programs if nobody was against it =P [05:12] secoif: hotroot read up on coupling and dependency injection [05:12] hotroot: I read the wiki page on dependency injection, made no sense to me [05:12] cmr: hotroot: So make it in a single file if you want to. Why let anybody else stop you? [05:12] andrew12: single file programs are awesome [05:12] hotroot: Because I'll be showing the finished project to an employer =P [05:12] pauls1: anybody know how to execute a command with exec relative to a child directory of the calling file? [05:13] hotroot: Some day when looking for a job [05:13] Iu has joined the channel [05:13] hotroot: And I suppose it is more workable to have user commands in a separate file and whatnot [05:13] r04r has joined the channel [05:13] andrew12: you can refactor it later.. :p [05:14] jesusabdullah: flatiron/broadway implements a dependency injection pattern [05:14] mattgifford has joined the channel [05:14] joshontheweb has joined the channel [05:14] hotroot: I think I would rather just pass the whole app, I'm using a command table, so I pass the same args each time [05:15] jesusabdullah: My understanding is that it's pretty much just a plugin system, but that for languages like java it's a [05:15] jesusabdullah: umm, what's the word [05:15] jesusabdullah: not rigamorole [05:15] jesusabdullah: production maybe [05:15] jesusabdullah: Yeah [05:15] hotroot: how do I do that? Just define var main = this; in the top of the main app? [05:15] jesusabdullah: it's this whole big production [05:15] hotroot: Then pass that? Or? [05:16] jesusabdullah: with broadway it's not too bad at all [05:16] Iu: Hi, I'm wondering if there are any good examples of large projects created using node.js, or tutorials for code organization. I'm not sure I want to go through a 5000 line nightmare again. [05:17] pradeebv has joined the channel [05:17] hotroot: lu: Pretty sure ebay has a bunch of code posted [05:17] andrew12: ebay uses node.js? [05:18] andrew12: lu: could use npm: https://github.com/isaacs/npm [05:18] hotroot: Yeep, look at the main nodejs.org page =P [05:18] hotroot: http://www.ebaytechblog.com/2011/11/30/announcing-ql-io/ [05:18] Raul_: Hello all, i am encountering a problem installing the 0.6v of socket.io [05:18] andrew12: oh look at that. [05:18] hotroot: http://ql.io/ [05:18] Raul_: the tar ends up with an unexpected end f archive err [05:19] jaequery: anyone good w/ regex? if theres a string like http://www.bla.com/hello , how can i just get the bla portion out? sometimes the string is http://bla.com/hello , http://subdomain.bla.com/hi ... etc ... [05:19] Raul_: jaequery: it would be nice if discussions brought here are those pertaining to node.js [05:20] lz1 has joined the channel [05:20] dodo has joined the channel [05:20] cmr: Raul_: Could say the same thing about installing v0.6 of socket.io ... [05:21] Raul_: cmr: well not really, since my problem according to me stems from local and global installations [05:21] lwille has joined the channel [05:21] cmr: jaequery: You'll find people good with regexps in #regex [05:21] Raul_: of a module, which happens to ebe socket.io in this case [05:22] jaequery: yea got it, thx [05:23] hotroot: So, about that "passing the whole main app" thing... [05:23] r04r has joined the channel [05:27] jgornick has joined the channel [05:27] joshontheweb has joined the channel [05:29] MrTopf has joined the channel [05:29] r04r has joined the channel [05:29] jgornick: hey guys, looking to use express and wondering what would be the best approach to protect the api i am exposing and if there are already any packages to do that? [05:31] hotroot: ^^ #express [05:33] joshontheweb has joined the channel [05:34] chakrit has joined the channel [05:34] pilgo has joined the channel [05:35] descipher_ has joined the channel [05:35] pilgo: How would I set another URL as my "static" url or path? [05:36] r04r has joined the channel [05:36] tkaemming has joined the channel [05:37] pilgo: I'm using express, btw. [05:38] andrew12: a) #express; b) app.use(express.static(__dirname + '/public')); [05:41] r04r has joined the channel [05:44] benvie has joined the channel [05:46] r04r has joined the channel [05:46] joshontheweb has joined the channel [05:46] ryanrolds has joined the channel [05:47] windsurf_ has joined the channel [05:50] joshontheweb has joined the channel [05:50] mattgifford has joined the channel [05:50] amigojapan has joined the channel [05:52] IrishGringo has joined the channel [05:52] joshontheweb has joined the channel [05:53] fangel has joined the channel [05:55] r04r has joined the channel [05:55] kerigan has left the channel [05:55] creanyx-12 has joined the channel [05:57] joshontheweb has joined the channel [06:02] r04r has joined the channel [06:06] BillyBreen has joined the channel [06:09] macav has joined the channel [06:09] joshontheweb has joined the channel [06:11] camperking has joined the channel [06:13] plutoniix has joined the channel [06:14] joshontheweb has joined the channel [06:15] AD7six has joined the channel [06:16] bogomips2_ has joined the channel [06:16] dwhittle has joined the channel [06:16] r04r has joined the channel [06:17] Fr4n has left the channel [06:18] hmm___ has joined the channel [06:19] joshontheweb has joined the channel [06:20] windsurf_ has joined the channel [06:20] windsurf_: how do I debug a remote node app? [06:21] windsurf_: I think i'm getting a mysql connect error but i'd like to see the message [06:21] r04r has joined the channel [06:21] joshontheweb has joined the channel [06:24] AAA_awright: windsurf_: I use node-inspector [06:24] windsurf_: AAA_awright: remotely? [06:24] AAA_awright: Yeah [06:24] windsurf_: know if you can set that up on nodejitsu? [06:25] AAA_awright: fire up inspector.js on the remote system, call host:8080... oh uh [06:25] AAA_awright: windsurf_: You should be able to use the debugger remotely to, but it has to have a port to listen on [06:26] r04r has joined the channel [06:26] windsurf_: AAA_awright: hum. [06:26] windsurf_: so i'd have to deploy inspector.js as an app? [06:26] AAA_awright: See the --debugger_port option among others [06:26] joshontheweb has joined the channel [06:26] AAA_awright: windsurf_: Yeah, that shouldn't be hard [06:26] AAA_awright: idk how that all works [06:26] windsurf_: k thx [06:26] windsurf_: i've been using inspector locally [06:26] windsurf_: so i'm with ya [06:29] windsurf_: /join #mysql [06:31] r04r has joined the channel [06:31] madhums has joined the channel [06:32] plutoniix has joined the channel [06:34] chjj:  [06:34] chjj: oops [06:35] chjj: i ^M'd [06:35] joshontheweb has joined the channel [06:36] r04r has joined the channel [06:36] r04r has joined the channel [06:37] stagas has joined the channel [06:37] willwhite has joined the channel [06:40] AD7six has joined the channel [06:40] tommyvyo has joined the channel [06:41] r04r has joined the channel [06:41] joshontheweb has joined the channel [06:43] davidbanham has joined the channel [06:44] joshontheweb has joined the channel [06:45] r04r has joined the channel [06:46] SamuraiJack has joined the channel [06:49] joshontheweb has joined the channel [06:51] r04r has joined the channel [06:51] r04r has joined the channel [06:51] `dvv has joined the channel [06:51] AD7six has joined the channel [06:51] braoru has joined the channel [06:52] rauchg has joined the channel [06:52] joshontheweb has joined the channel [06:52] garrensmith has joined the channel [06:53] eastc: is hook.io like an easier way for multiple node.js processes to communicate than just sending it over JSON directly? [06:53] eastc: I'm not quite sure what it is or in which case to use it [06:54] Me1000 has joined the channel [06:55] buu: So what's the current best practice way to profile a node app, specifically looking at cpu usage? [06:56] r04r has joined the channel [06:56] luke` has joined the channel [06:57] captain_morgan has joined the channel [06:57] Me1000 has joined the channel [07:01] r04r has joined the channel [07:01] joshontheweb has joined the channel [07:03] coderzach: Is there a "best practice" for app wide configuration details? [07:04] coderzach: things like port number/url/directories/etc [07:04] coderzach: ? [07:04] lazyshot has joined the channel [07:06] r04r has joined the channel [07:07] spolu has joined the channel [07:09] joshontheweb has joined the channel [07:10] RobWC has joined the channel [07:11] r04r has joined the channel [07:14] hotroot: coderzach: Node hasn't even hit version 1 yet, so from what I know there aren't really any established "style guides" [07:14] madhums has joined the channel [07:16] coderzach: right, I guess what I'm asking is if anyone has a particularly clever solution [07:18] chjj: coderzach: what are you asking for exactly? [07:18] joshontheweb has joined the channel [07:18] AD7six has joined the channel [07:19] coderzach: I have a bunch of configuration details, database config stuff, directories, port numbers. and I'm wondering where I should put it, since I can't make a global configuration object [07:19] coderzach: I guess I could make a config module [07:20] coderzach: and require it anywhere I need it [07:20] coderzach: but I was wondering if there was a better way [07:20] chjj: coderzach: yeah, theres many ways to do it, no "right" way has emerged yet [07:21] chjj: not to say a "right" way will emerge* [07:21] sh1mmer has joined the channel [07:22] LeMike has joined the channel [07:22] coderzach: alright [07:23] micheil has joined the channel [07:23] ryan[WIN] has joined the channel [07:23] nicholas_ has joined the channel [07:24] pizthewiz_ has joined the channel [07:25] AD7six has joined the channel [07:25] level09 has joined the channel [07:26] sh1mmer has joined the channel [07:27] nicholasf has joined the channel [07:29] AD7six_ has joined the channel [07:31] joshontheweb has joined the channel [07:31] AD7six has joined the channel [07:31] wilmoore has joined the channel [07:33] HT has joined the channel [07:36] joshontheweb has joined the channel [07:39] context: any thing more advanced than util.format() ? i want to zero pad a number [07:39] dford has joined the channel [07:40] neshaug has joined the channel [07:40] dford has left the channel [07:40] raphdg has joined the channel [07:40] context: guess i found a solution [07:41] markwubben has joined the channel [07:41] joshontheweb has joined the channel [07:42] fangel_ has joined the channel [07:44] jaitaiwan has joined the channel [07:46] joshontheweb has joined the channel [07:46] merb has joined the channel [07:48] wmage has joined the channel [07:50] hij1nx has joined the channel [07:52] NetRoY has joined the channel [07:53] nicholasf has joined the channel [07:54] madhums has joined the channel [07:56] context: why is it like every twitter package out there has been updated in the last couple months and still looks for sys instead of util [07:57] joshontheweb has joined the channel [07:59] icebox has joined the channel [08:00] context: wow yeah. npm needs to be cleaned up like no other [08:02] context: hell why does the wiki modules page show modules that depend on sys [08:03] Blorb has joined the channel [08:03] raincole has joined the channel [08:03] wmage: isn't IRC just great place to have conversations with self? :) [08:04] context: yes ;) [08:04] eastc: It's 2:04 AM CST. what do you expect lol [08:05] context: TDTwitterStream: last updated 5 weeks ago. node engine: >= 0.4.0 < 0.7.0 ... lib/parser.js line 8: var sys = require('sys') .... WTF ! [08:05] Morkel has joined the channel [08:05] slaskis has joined the channel [08:05] context: NO. WRONG! [08:07] AD7six has joined the channel [08:07] context: but i guess node still allows it... why [08:11] cmr: eastc: 300 over on the east coast [08:11] cmr: Oh, you used CST. [08:11] cmr: NEvermind [08:11] k1ttty has joined the channel [08:12] arcanis has joined the channel [08:14] camperking has joined the channel [08:15] context: whats more sad is seeing half these files require sys and its never even used [08:16] enzo has joined the channel [08:16] enzo: hello [08:16] test has joined the channel [08:17] enzo: I'd like to run a js beautifier (https://github.com/einars/js-beautify) on a big js script, I could it with rhino as explained here http://stackoverflow.com/questions/18985/javascript-beautifier [08:17] enzo: => is it possible to do the same thing with nodejs ? [08:18] context: http://search.npmjs.org/ [08:18] context: search for 'beaut' [08:18] context: you beautify or something along the lines [08:18] context: or google.. [08:18] carlos8f has joined the channel [08:19] wmage: ..nodejs beautifier [08:19] context: uglifyjs is pretty popular [08:19] wmage: it's written in JS? you can use it in node.js then, can't you? [08:19] enzo: ok nice context! [08:20] AD7six has joined the channel [08:21] enzo: but well I get this: http://search.npmjs.org/#/beautifyjs with last-updated: 100 days ago [08:21] rendar has joined the channel [08:21] enzo: however this script is hardly developped [08:22] cognominal_ has joined the channel [08:22] wmage: github source says 2 days ago [08:22] wmage: https://github.com/einars/js-beautify [08:22] enzo: so I guess I can directly download the .js from github and launch node on it, well I go back to my very first question, which is how? [08:23] wmage: you simply put it somehwere and then say beautify = require('beautify.js') [08:23] hipsters_ has joined the channel [08:24] enzo: hum to be sure to understand, I can see also version 0.1.0 of http://search.npmjs.org/#/cssbeautify, this one is also developped recently [08:25] enzo: wmage: if I use npm to install cssbeautify/jsbeautify, it will use an old version, or will download the last from github ? [08:25] eastc: what's better out of: YUI Compressor --version 2.4.6, Google Closure Compiler --version 1314, UglifyJS [08:25] eastc: ? [08:25] wmage: enzo: the one on npm, so the old one [08:26] kazupon has joined the channel [08:26] cmr: eastc: You could do some tests yourself and find out. [08:26] lz1 has left the channel [08:26] eastc: no i meant which one is more efficient [08:27] EyePulp has joined the channel [08:27] eastc: or are the all the same [08:27] cmr: Right, that's what's easy to test! [08:27] enzo: ok wmage, well now I see uglify, it's the last version on npm, someone knows if it works better than jsbeautifier ? [08:28] wmage: no idea [08:28] context: enzo: you could try it out yourself no? [08:28] wmage: try whatever has more watchers/forks [08:28] enzo: yes I'm going to [08:28] context: or do you not have internet to install it [08:29] context: then why ask a question where the answer is either biased and/or based on personal oppinion [08:29] context: opinion* [08:29] lperrin has joined the channel [08:30] __doc__ has joined the channel [08:30] emattias has joined the channel [08:31] enzo: because maybe one version doesn't deserve at all to be tested context [08:32] wmage: enzo: as I said, watcher/forks will tell you [08:32] enzo: the fact is I've tested the php port of jsbeautifier, and after 6min on a .js, I've restarted my apache and deleted this dreadful php class... [08:32] loob2 has joined the channel [08:32] eastc: fuck there are so many modules for node js [08:32] eastc: the list is endless [08:32] cmr: eastc: This is a Good Thing [08:33] eastc: it's good and bad [08:33] Emmanuel` has joined the channel [08:33] context: enzo: uglifyjs is probably popular and included in every RoR 3.1 app by default cause it sucks. [08:33] eastc: good that there are choices [08:33] eastc: bad that there are too many choices [08:33] context: eastc: http://toolbox.no.de/ [08:34] enzo: you mean ror sucks or uglify sucks context ? :) [08:34] context: neither? [08:34] richardr has joined the channel [08:34] eastc: nice website. thanks context [08:35] jhurliman has joined the channel [08:35] enzo: I have node 0.4.9, no need to install very last version no ? [08:35] enzo: (to use uglify-js) [08:35] richardr: What is the best way to install Node.js on OS X? A method that makes it easy to upgrade/remove Node/NPM in the future. [08:35] context: whats the site say [08:35] context: that site i gave you, will tell you what version of node the package requires [08:36] context: but you could be like most people and not take ANY help anyone gives you and continue to ask pointless questions. [08:36] context: OR you could npm install it and try it out... and answered that question yourself about 5 minutes ago or longer [08:36] context: like you said you were [08:37] enzo: ok ok context, in fact, it's empty for Dependencies for uglify-js so 0.4.9 will be ok [08:37] enzo: thanks for your help [08:37] context: you really aren't going to start WW3 if it doesn't work. read less. do more. you tend to answer your own questions a lot quicker that way, instead of wasting your and everyone elses time [08:37] xy has joined the channel [08:37] odyniec has joined the channel [08:37] wmage: richardr: compiling from source is quite straightforward [08:38] pronam_ has joined the channel [08:39] matejv has joined the channel [08:39] eastc: git clone https://github.com/joyent/node.git && cd node && git checkout v0.6.6 && ./configure && make && make install [08:39] eastc: richardr ^ [08:39] JaKWaC has joined the channel [08:40] richardr: eastc: Thanks, even removing it? First time using OS X. Coming from Archlinux, not sure my options [08:41] eastc: well to remove i think you can just cd to that same node folder and do make uninstall [08:41] joshgillies has joined the channel [08:41] IvanoffCSI has joined the channel [08:41] eastc: just keep the folder you originally built the current node installation from [08:41] richardr: eastc: Sounds good. A google search comes up with another option using Homebrew, OS x's package manager? Are their any advantages using this? [08:42] eastc: not that I know of [08:42] richardr: eastc: Cheers for the help! [08:42] eastc: richardr: welcome [08:43] vvo has joined the channel [08:44] louissmit has joined the channel [08:44] akter has joined the channel [08:48] spolu has joined the channel [08:48] [AD]Turbo has joined the channel [08:48] TheoL has joined the channel [08:48] [AD]Turbo: hi there [08:49] stonebranch has joined the channel [08:51] TheoL: Hi folks! someone uses the http-proxy module? [08:55] kurtzhong_ has joined the channel [08:55] wmage: woohoo I'm done getting my terminal tab title to work, now I can actually start working [08:56] halfh: wmage nice [08:57] jomoho has joined the channel [08:57] mpavel has joined the channel [08:58] ccare__ has joined the channel [08:58] wmage: I needed this so badly http://hron.fei.tuke.sk/~rinik/data/Screen%20Shot%202011-12-23%20at%209.58.08%20AM.png [08:58] mikedeboer has joined the channel [08:58] wmage: the directory name in the tab title [08:58] Morkel has joined the channel [08:59] mpavel has left the channel [09:01] tk has joined the channel [09:02] mendel_ has joined the channel [09:03] mac^ has joined the channel [09:04] mara has joined the channel [09:07] liar has joined the channel [09:08] chot: hi. do I have to have python 2.x? I've got 3.2 installed but I get syntax errors in the configure script [09:08] Emmanuel` has joined the channel [09:08] cmr: I've had no errors with 2.7 [09:08] cmr: So I'm guessing yes. [09:08] _Steve_: most likely, the python3 language is different from python2 [09:09] chot: alright, thanks [09:09] mbrevoort has joined the channel [09:09] robhawkes has joined the channel [09:13] beevits has joined the channel [09:14] bergie has joined the channel [09:17] mac^ has joined the channel [09:19] lzskiss has joined the channel [09:21] davidbanham has joined the channel [09:22] bogomips2_ has joined the channel [09:24] pickels_ has joined the channel [09:24] bosphorus has joined the channel [09:26] Salam has joined the channel [09:28] imarcusthis- has joined the channel [09:29] adambeynon has joined the channel [09:29] jbpros has joined the channel [09:29] chenosaurus has joined the channel [09:31] confoocious has joined the channel [09:31] confoocious has joined the channel [09:32] insin has joined the channel [09:34] sylvinus has joined the channel [09:35] level09 has joined the channel [09:38] jbpros_ has joined the channel [09:39] KyleXY has joined the channel [09:42] burningdog has joined the channel [09:42] sylvinus_ has joined the channel [09:44] maritz has joined the channel [09:44] KyleXY: http://pastie.org/pastes/3061569/text?key=2l62rbxg3fqo5notg0vuaa -- any specific reason why I'd be getting this error? [09:44] larsschenk1 has joined the channel [09:45] larsschenk1 has left the channel [09:45] cmr: KyleXY: TypeError: Object # has no method 'connect' [09:45] cmr: at Object. (/Users/kyle/Development/Moon/moon.js:15:18) [09:45] cmr: Those are the important lines. [09:45] cmr: so on line 15 you're doing foo.connect(), but there is no connect. [09:46] aaronmcadam has joined the channel [09:46] richardr: In the App Store, where can I check download progress (bytes per sec, time remaining, etc) on items being downloaded and installed? [09:46] richardr: e.g. Xcode [09:46] KyleXY: cmr: using the net module, and that's happening, not sure why [09:47] cmr: KyleXY: Paste up your code [09:47] TheMoonMaster has joined the channel [09:48] KyleXY: cmr: it's TheMoonMaster's and here you go: https://github.com/BlakeWilliams/MoonBot [09:49] jomoho2 has joined the channel [09:49] deoxxa: if only there was a node-irc module [09:49] deoxxa: wait, hold on a second [09:49] KyleXY: deoxxa: He's doing it to learn :p [09:50] cmr: As an aside: is it 'better' to use semicolons or to not? Purely style? [09:50] TheMoonMaster: Where is the fun if you don't write it from scratch? [09:50] `3rdEden has joined the channel [09:50] KyleXY: cmr: style it seems, [09:50] TheMoonMaster: cmr: I'm used to Ruby + Coffeescript. :P [09:50] TheMoonMaster: So style really. [09:50] KyleXY: cmr: *shrug* it's his code, works fine for him and then my node takes a dump :p [09:50] deoxxa: TheMoonMaster: the fun for me is in implementing cool stuff without having to worry about the grunt work [09:51] TheMoonMaster: deoxxa: To each their own. I consider it fun. [09:51] cmr: I am fairly certain that at least in the browser, issues can arise from semicolon's lacking. [09:51] cmr: Not sure if v8 suffers from that. [09:51] TheMoonMaster: Doesn't seem to. [09:51] KyleXY: ACTION .-. [09:51] __doc___ has joined the channel [09:51] TheMoonMaster: I just found out that it didn't require semi-colons and was kinda shocked. [09:52] cmr: I prefer semicolons, but I am from a predominantely C background. [09:52] maritz: if you know ASI, you can choose to omit semicolons. if you don't know ASI, don't omit semicolons. simple as that. the standard for node seems to be to use semicolons afaik. [09:52] KyleXY: Besides from that, no reason why my node should be taking a dump. [09:52] cmr: KyleXY: What version of node do you have? [09:52] KyleXY: ks:MoonBot xgenerax$ node --version [09:52] KyleXY: v0.4.11 [09:52] cmr: Yeah, there you go. [09:52] KyleXY: something retarded in this version? [09:52] cmr: It's /old/ [09:52] KyleXY: Oh derp! [09:53] cmr: Different API [09:53] KyleXY: brew update [09:53] TheMoonMaster: brew update [09:53] KyleXY: hahahahahah, I fail [09:53] _Steve_: :) [09:53] KyleXY: Always the little things like that, [09:53] robinduckett: someone should make a bot that does dummy output for that kind of thing [09:53] KyleXY: I forget they're not like pip and whatnot where they poll for updates on each install [09:53] KyleXY: robinduckett: Yeah, they should. [09:53] robinduckett: ls -la [09:53] robinduckett: boom [09:53] TheMoonMaster: brew update [09:53] robinduckett: infact [09:54] robinduckett: I may just do that today if I have time [09:54] jomoho has joined the channel [09:54] _Steve_: KyleXY: are you building MoonBot? [09:54] robinduckett: muahah [09:54] robinduckett: and you know what [09:54] KyleXY: _Steve_: it's TheMoonMaster [09:54] robinduckett: i'm gonna do it in coffeescript [09:54] KyleXY: _Steve_: I'm just hanging around for the fun I guess, [09:54] robinduckett: may as well go full retart [09:54] robinduckett: retard [09:54] robinduckett: ooh already there [09:54] _Steve_: ah [09:55] KyleXY: cmr: Gah at the fact v4.x is still on the nodejs site, should be moved to like /archive/ ;p [09:55] Shrink has joined the channel [09:55] _Steve_: TheMoonMaster: I see that you built a custom parser; why not use a 'standard' URI/URL parser and specify the server string like: irc://irc.freenode.net:6666/#channel [09:55] _Steve_: brb [09:56] TheMoonMaster: _Steve_: Because it will be in about 70ish channels if this works out. [09:57] cmr: How is that a reason? [09:57] vvo has joined the channel [09:57] KyleXY: cmr: because then the url would look like a cluster f*** [09:57] TheMoonMaster: ^ [09:57] robinduckett: lol [09:57] robinduckett: hmm [09:57] robinduckett: how many channels can a client be connected to at once on one server? [09:57] KyleXY: robinduckett: 150 is the max on freenode iirc, [09:57] robinduckett: hm [09:57] KyleXY: robinduckett: yep.. [09:58] TomY has joined the channel [09:58] robinduckett: might be nice to do some kind of natural language parsing and get the average "mood" of a irc server [09:58] robinduckett: *an [09:58] jomoho has joined the channel [09:58] KyleXY: ACTION jabs brew in the eye [09:58] robinduckett: like join a subset of channels and just track words which relate to feelings [09:59] KyleXY: It should give a warning if it's database is 2+ weeks old <_< [09:59] TheMoonMaster: Plus it has to save the channels it's on and whatnot into a flat file. [09:59] cmr: TheMoonMaster: Flat? No json? [09:59] TheMoonMaster: Well, json, my bad. [09:59] robinduckett: use redis [09:59] TheMoonMaster: I'm not THAT new to node. Haha. [09:59] KyleXY: TheMoonMaster: a "flat" json file [09:59] KyleXY: *shrug* :p [09:59] robinduckett: KyleXY: that's what I thought he meant anywayt [09:59] robinduckett: Some people are just pedants :D [09:59] TheMoonMaster: robinduckett: It will probably connect to SQLITE because of what it's replacing. :P [10:00] KyleXY: robinduckett: I consider anything on the filesystem that's readable plaintext wise a flatfile, *shrug* [10:00] TheMoonMaster: It's going to be a complicated bot. [10:00] tk: gah, just updated a node module with some additional functions on the prototype and now calling those functions from inside its own fucntions are coming back saying they dont exist [10:00] robinduckett: TheMoonMaster: import the sqlite db into redis :D [10:00] robinduckett: tk: you calling the right "this" ? :P [10:01] TheMoonMaster: robinduckett: We're considering it, that or mongo. [10:01] OneOfOne has joined the channel [10:01] OneOfOne has joined the channel [10:01] tk: robinduckett: according to console.log (and the new prototype'd methods are not showing up in the logged object) [10:01] Skomski has joined the channel [10:01] slaskis: when did npm stop installing recursive dependencies? [10:02] robinduckett: slaskis: mine was working yesterday? [10:02] robinduckett: slaskis: perhaps it's trying to build something and failing [10:02] lzskiss has joined the channel [10:02] robinduckett: run it with -dd to see debug output [10:02] icebox has left the channel [10:02] slaskis: robinduckett: hmm well when i go into the depended modules and npm install it works [10:03] icebox has joined the channel [10:03] slaskis: it's probably just my setup, it's pretty hacky [10:03] cognominal___ has joined the channel [10:03] robinduckett: ooo ipv6 [10:05] tekky has joined the channel [10:05] tdegrunt has joined the channel [10:06] _Steve_: TheMoonMaster: ah ok [10:06] robinduckett: lol firefox 9 [10:06] robinduckett: wouldn't it be great if everyone just used v8? [10:06] mnutt_ has joined the channel [10:06] testing has joined the channel [10:06] cmr: I could care less tbh. [10:07] tk: ugh [10:07] coderzach: if everyone used spider monkey we could use __noSuchMethod__ [10:07] cmr: I have nothing against spidermonkey. It sucks less with each release, so I'm pleased. [10:07] herbySk has joined the channel [10:07] thalll has joined the channel [10:08] robinduckett: cmr: no [10:09] robinduckett: cmr: you couldn't care less [10:09] cmr: robinduckett: I could care less. I know what I said. [10:09] robinduckett: saying you *could* care less, implies that you care quite a bit. [10:09] cmr: It implies nothing about the magnitude of caring, only that it isn't at the absolute bottom. [10:09] mike5w3c_ has joined the channel [10:09] cmr: You pedant you :P [10:09] tk: robinduckett: shit, just realised the first iteration of my loop in this function is calling a non existent function (typed the wrong function name for this file *facepalm* [10:10] robinduckett: tk: :D [10:10] robinduckett: cmr: I'm not being pedantic, I'm pointing out that you're suffering from the same afflication as those who say "could of" instead of "could have" [10:11] cmr: robinduckett: Is the affliction colloquial English? [10:11] LeMike has joined the channel [10:11] robinduckett: cmr: it makes them sound common, iliterate, uneducated [10:11] lzskiss has joined the channel [10:11] cmr: robinduckett: Yup that's me! [10:12] cmr: Or maybe just tired, exhausted, and half-paying-attention. [10:12] robinduckett: :D [10:12] mac^ has joined the channel [10:12] cmr: I could care less about my english at the moment :) [10:13] cmr: And now I've gone and spilled my tea. Thanks. [10:13] robinduckett: hah [10:13] salva has joined the channel [10:13] robinduckett: One does not spill tea upon one's own desk if one would like it to remain without stickyness, unless one does not take sugar in one's tea. [10:13] jomoho2 has joined the channel [10:14] cmr: This one certainly does not. [10:14] salva has left the channel [10:14] cmr: This one takes his tea with nothing in it. [10:14] robinduckett: Milk surely? [10:15] cmr: Not even that. [10:15] JakeyChan_ has joined the channel [10:15] admc has joined the channel [10:15] robinduckett: My god man [10:16] tk has joined the channel [10:18] cmr: Is there nothing like sqlite for nosql databases (though I'm mostly interested in document stores). I've casually looked for the past few days and found nothing. [10:19] tk has joined the channel [10:19] robinduckett: don't think there is. someone should make nosqlite [10:20] cmr: I considered it but the name is taken. [10:20] cmr: That was my first google search :) [10:20] cmr: It doesn't seem to be very popular, I might be able to bump it off its name-holdingness. [10:21] robinduckett: ooo [10:22] robinduckett: unql? [10:22] robinduckett: hmm [10:22] robinduckett: not released yet [10:24] cmr: I like mongo's api, but I haven't used it enough to have a well-informed opinion. [10:25] robinduckett: I heard a lot of back and forth on mongo recently [10:25] robinduckett: about it not being reliable for some uses [10:25] fly-away has joined the channel [10:25] vvo has joined the channel [10:25] cmr: I will consider this project more over the weekend. It is certainly worthy. [10:26] wmage: so how about simply serializing objects into a file? [10:26] robinduckett: a nosql sqlite? [10:26] cmr: robinduckett: Yes. [10:26] cmr: wmage: Well that's what I do now. [10:26] darren has joined the channel [10:27] robinduckett: wmage: an actual library that stores objects in memory and writes to the drive incrementally or that's how I assume sqlite works partially [10:27] cmr: wmage: This is why the project needs consideration. Is it even necessary? What would the features be? [10:27] cmr: robinduckett: Unless you use transactions, sqlite by default flushes all changes right to disk. [10:28] flamboz: hello everyone, I'm facing a little problem with my single page app, Backbone.js Front-End + Node.js backend (that only serve json objects) ... how can I be sure that the client that interacts with the backend is my client and not somebody else's client ? [10:28] jomoho has joined the channel [10:28] robinduckett: cmr: someone has done an sqlite wrapper which just allows you to store objects [10:28] robinduckett: flamboz: you can't [10:29] cmr: flamboz: You could use something similar to csrf protection, but that would need a bit more work on the server. [10:29] robinduckett: cmr: even that can be worked around [10:29] deoxxa: cmr: you might want to look at kyoto cabinet - it's a key/value store but you could easily serialise objects into it [10:29] deoxxa: not sure what kind of abilities you need [10:29] cmr: robinduckett: What's the name of that sqlite wrapper? [10:29] deoxxa: if you need to query on arbitrary fields etc, that won't work obviously [10:30] robinduckett: cmr: https://github.com/mrjjwright/NoSQLite [10:30] cmr: Oh, dur. I've seen that before. [10:30] flamboz: thanks ! we are stuck since a while with that... thinking about various tricks.. but headers can always be forged.. [10:30] robinduckett: cmr: soz [10:30] robinduckett: hm [10:30] darren: question about error handling in callbacks: seems that the usual style is callback(error, arg1, arg2) and the callback has to check for the presence of the error. Is there any problem with adding the error case as a property of the callback function eg: callback.error(err1, err2) on error and callback(happy1, happy2) on success? [10:31] cmr: flamboz: You really can't, though. Not perfectly. [10:31] robinduckett: darren: you'd have to supply a callback which was a instantiated class [10:31] deoxxa: darren: makes passing in an anonymous callback kind of tricky [10:31] robinduckett: darren: rather than a function [10:31] deoxxa: robinduckett: what's a class [10:32] robinduckett: deoxxa: well, there's blue collar, white collar, the lower class, upper middle class [10:32] deoxxa: zing [10:32] robinduckett: deoxxa: white anglo saxon protestants are usually in the upper middle class [10:32] darren: argh, yes. could pass the anon. function to a factory to attach the callback first but yeah, ugly [10:33] darren: just bugs me having the first arg be null in all happy path scenarios [10:34] robinduckett: darren: I just wondered why callbacks weren't just objects [10:34] mendel_ has joined the channel [10:34] robinduckett: {error: function() {}, success: function() {}} [10:35] level09 has joined the channel [10:35] robinduckett: that's kind of what jQuery did to standardise that kind of thing [10:35] deoxxa: that'd be awfully noisy [10:36] Esteb has joined the channel [10:36] brutasse has joined the channel [10:37] darren: it's slightly more noisy true, but it would be more symmetric to have every callback expose an 'error' and 'success' handler [10:37] jomoho has joined the channel [10:37] darren: some good stuff here http://stella.laurenzo.org/2011/03/bulletproof-node-js-coding/ [10:37] kyonsalt has joined the channel [10:38] adambeynon has joined the channel [10:38] ldn_tech_exec has joined the channel [10:39] AD7six has joined the channel [10:39] robinduckett: AD7six: yo [10:40] blup has joined the channel [10:40] shiawuen has joined the channel [10:40] cmr: One thing I've wondered about node since I first started: Is code like http://paste.kde.org/177020/ subject to race conditions? Anything (to my newbie eyes) could happen between s.connect() and s.on() [10:40] robinduckett: cmr: nah [10:40] robinduckett: it evaluates it all before moving onto the next tick [10:40] robinduckett: which in that case would be the connecting [10:41] robinduckett: and as it's evaluated the error event handler already [10:41] josh-k has joined the channel [10:41] AD7six: robinduckett: yo back [10:41] dzensix has joined the channel [10:41] robinduckett: it knows that if there's an error, it should handle that [10:41] cmr: Interesting. Is there documentation about the event loop somewhere? [10:41] robinduckett: if you put the s.on() inside an asynchronus callback, you may have issues [10:41] jomoho2 has joined the channel [10:42] robinduckett: cmr just vauge documentation on nodejs.org [10:42] cmr: Fun. I'll have to go on a source dive this weekend. [10:42] ldn_tech_exec: hey guys, can anyone recommend an EC2 micro image to start with? [10:42] robinduckett: " In Node there is no such start-the-event-loop call. Node simply enters the event loop after executing the input script. Node exits the event loop when there are no more callbacks to perform. This behavior is like browser javascript—the event loop is hidden from the user." [10:42] robinduckett: ldn_tech_exec: any ubuntu one [10:42] cmr: ldn_tech_exec: I just use RightScale's debian image. [10:42] dzensix has left the channel [10:43] cmr: ("upgraded" to sid) [10:43] mansoor has joined the channel [10:43] ldn_tech_exec: thanks guys [10:43] ldn_tech_exec: RightScale's debian image is supposedly in 'alpha; [10:43] ldn_tech_exec: have you ever had any issues? [10:43] robinduckett: cmr: http://developer.yahoo.com/blogs/ydn/posts/2010/10/understanding-the-event-loops-and-writing-great-code-for-node-js-part-1/ [10:44] cmr: ldn_tech_exec: Nope, and I've used it for a month or so. [10:44] ldn_tech_exec: cool. i'm a try that [10:44] robinduckett: Amazon sent me an email like "obtw you've had your account for a year so sucks to be you we're charging you." [10:44] ldn_tech_exec: prefer debian over ubuntu [10:44] robinduckett: I was like "no wai" so I removed everything and took my credit card off the system [10:45] aliem has joined the channel [10:45] ldn_tech_exec: oh yeah cos micro's only free for a year right? [10:45] robinduckett: yeah [10:45] felixge has joined the channel [10:45] felixge has joined the channel [10:45] robinduckett: ho felixge [10:46] robinduckett: speaking of ho [10:46] robinduckett: ender's game movie [10:46] robinduckett: harrison ford [10:46] ldn_tech_exec: does no.de, heroku or mongoHQ have any forever free plan? [10:46] robinduckett: yes. [10:46] robinduckett: ldn_tech_exec: i don't think so [10:46] robinduckett: nodejitsu is currently free in beta [10:46] ldn_tech_exec: ok [10:46] ldn_tech_exec: thanks [10:46] skm has joined the channel [10:46] robinduckett: http://nodester.com/ [10:46] eeemsi_: is it possible to build up a registry without the www thing? [10:46] cmr: An ender's game movie... I hope they don't botch it. Hard to show child violence in a movie, I would think. [10:47] cmr: 'specially the bathroom scene [10:47] tk has joined the channel [10:47] robinduckett: yeah, if the first scene of the movie includes the first takedown that wouldn't be fun for anyone [10:47] robinduckett: i think they'd have to show some backstory of the buggers [10:49] brutasse has left the channel [10:49] cmr: robinduckett: So if I am understanding this correctly, node goes through, reads the *entire* program, then executes the 'toplevel' things. The next 'level' down would be their callbacks, and the boundary between when that happens is a tick? [10:50] lwille has joined the channel [10:50] robinduckett: cmr: that's a reasonable approximation. obviously if you have some kind of event running it will wait until they are triggered before going down the next level [10:50] robinduckett: nodejs is pretty much inception [10:50] eeemsi_: ^^ [10:51] robinduckett: think of it like browser javascript [10:51] cmr: I really liked that movie. Very original. Had more potential than it filled. [10:51] cmr: I honestly haven't done that much browser javascript. [10:51] robinduckett: except instead of waiting for user interaction [10:51] robinduckett: it waits for callbacks, events you may have listened for, etc [10:51] robinduckett: hmm have you done any game programming? [10:52] cmr: Some. Biggest experience with event loops is python's Twisted. [10:52] robinduckett: cmr: http://blog.mixu.net/2011/02/01/understanding-the-node-js-event-loop/ [10:53] robinduckett: i'm currently reading this [10:53] robinduckett: with my coffee and a rich tea [10:53] benvie: do you habe strumpets [10:54] benvie: strumpets for the tea [10:54] robinduckett: we aint all squeaky clean we aint all posh like the queen [10:54] robinduckett: no no strumpets [10:54] robinduckett: unfortunately [10:54] tk has left the channel [10:56] cmr: robinduckett: Thank you very much for the links. I'm sure this will save some headache later on. [10:56] robinduckett: np [10:57] mac^ has joined the channel [10:58] kazupon has joined the channel [10:58] ldn_tech_exec: anyone know an IRC for facebook hacking? [10:58] cmr: That's not really legal.. [10:59] mmalecki: ldn_tech_exec: you should ask at #freenode [10:59] Luffha has joined the channel [10:59] ldn_tech_exec: i mean hacking in the good way dude [11:01] cmr: Their EULA is a lot less restrictive than I expected. [11:02] ldn_tech_exec: surprise surprise, it's #facebook [11:03] cmr: ldn_tech_exec: You never know. The media bandies 'hack' around just like crack, some people aren't enlightened. [11:08] kurtzhong_ has joined the channel [11:10] AAA_awright: Facebook has a channel on Freenode? O.o [11:11] d0k has joined the channel [11:12] AAA_awright: Guess so [11:13] tk has joined the channel [11:13] icebox: do you know the node version installed in nodester? [11:13] mansoor has joined the channel [11:13] lzskiss has joined the channel [11:15] kurtzhong_ has joined the channel [11:15] luke` has joined the channel [11:18] shinuza has joined the channel [11:20] michaelhartau has joined the channel [11:22] cjroebuck has joined the channel [11:24] kyonsalt has joined the channel [11:25] NStojan has joined the channel [11:25] skm has joined the channel [11:27] Shrink has joined the channel [11:27] Shrink has joined the channel [11:31] lzskiss has joined the channel [11:34] Kifah has joined the channel [11:37] wmage has joined the channel [11:41] TimTimTim has joined the channel [11:43] gtramontina has joined the channel [11:43] d0k_ has joined the channel [11:44] dshaw_ has joined the channel [11:45] fuseelements has joined the channel [11:48] thax has joined the channel [11:49] jetienne has joined the channel [11:52] kurtzhong has joined the channel [11:54] stephank has joined the channel [11:58] burningdog has joined the channel [12:04] ger^kallisti has joined the channel [12:07] JakeyChan has joined the channel [12:09] coderzach has left the channel [12:09] itayneeman has joined the channel [12:12] stagas has joined the channel [12:12] Renegade001 has joined the channel [12:15] gtramontina_ has joined the channel [12:17] watwat has joined the channel [12:21] SamuraiJack has joined the channel [12:22] adrianF has joined the channel [12:22] itayneeman has joined the channel [12:26] wedtm has joined the channel [12:29] larssmit has joined the channel [12:30] boehm has joined the channel [12:31] GrizzLyCRO has joined the channel [12:31] nicholasf has joined the channel [12:32] soulraven has joined the channel [12:32] whitman has joined the channel [12:32] soulraven has joined the channel [12:33] flip_digits has joined the channel [12:33] shinuza has joined the channel [12:34] erichynds has joined the channel [12:35] IrishGringo has joined the channel [12:38] hellp has joined the channel [12:39] mc_greeny has joined the channel [12:41] stagas has joined the channel [12:42] broofa has joined the channel [12:44] shinuza has joined the channel [12:56] uchuff has joined the channel [12:57] towski has joined the channel [12:58] raincole has joined the channel [12:58] superjudge has joined the channel [12:59] raincole_ has joined the channel [12:59] mikl has joined the channel [13:01] bshumate has joined the channel [13:01] bshumate has joined the channel [13:05] brianseeders has joined the channel [13:06] beevits has joined the channel [13:06] augustl: npm doesn't seem to install binaries for dependencies to packages you install [13:06] augustl: is there a way to make npm do that? [13:08] Heisenmink_ has joined the channel [13:09] robinduckett: augustl: it won't install them globally no [13:09] robinduckett: so say you depend on express [13:09] robinduckett: do an npm install [13:09] robinduckett: you can't then run the express command in another folder [13:09] robinduckett: or even in the same folder [13:12] Esteb has joined the channel [13:12] enmand has joined the channel [13:13] jbpros has joined the channel [13:15] tomilaine: hi, how do I compile minified js from coffeescript with express compiler? [13:16] shiawuen has joined the channel [13:16] jhurliman has joined the channel [13:19] Morkel has joined the channel [13:21] N0va` has joined the channel [13:21] Cthululz has joined the channel [13:22] Cthululz: remember when google first started? everyone shit themselves at what it brought to the internet.. well welcome to the next pants shitting: http://tawlk.com you can search social networks in real time and see what people are saying as it happens [13:22] Cthululz: find out who is saying what by typing in search terms and seeing the results in real time [13:22] Cthululz: text video audio [13:22] cryptix_ has joined the channel [13:22] Cthululz: everything is grabbed [13:22] Cthululz: and at your fingers [13:23] cryptix_ has joined the channel [13:23] shiawuen_ has joined the channel [13:24] Cthululz has left the channel [13:24] neurodrone has joined the channel [13:26] Cromulent has joined the channel [13:30] fumanchu182 has joined the channel [13:33] ovaillancourt has joined the channel [13:33] kurtzhong_ has joined the channel [13:37] boltR has joined the channel [13:38] mendel_ has joined the channel [13:41] johnnywengluu_ has joined the channel [13:42] shinuza_ has joined the channel [13:47] kyonsalt has joined the channel [13:47] tcurdt has joined the channel [13:49] MrMaksimize has joined the channel [13:50] camperking has joined the channel [13:52] kriszyp has joined the channel [13:55] lduros has joined the channel [13:56] Cromulent has joined the channel [13:56] gtramontina has joined the channel [13:56] trose has joined the channel [13:57] xetorthio has joined the channel [13:58] _Steve_: I was reading http://stella.laurenzo.org/2011/03/bulletproof-node-js-coding/ and saw: Future.cast=function(futureOrLiteral) { ... } [13:58] mansoor has joined the channel [13:58] _Steve_: can somebody elaborate about this? [13:58] camperking has joined the channel [14:01] AaronMT has joined the channel [14:02] piscisaureus_ has joined the channel [14:03] subbyyy has joined the channel [14:03] CarterL has joined the channel [14:06] robinduckett: _Steve_: what do you mean? [14:07] kurtzhong has joined the channel [14:07] MarkMenard has joined the channel [14:08] robinduckett: _Steve_: https://github.com/laverdet/node-fibers [14:09] socketio\test\89 has joined the channel [14:10] _Steve_: robinduckett: I'm wondering what the Future.cast does and/or when it is called [14:10] robinduckett: it's like a promise [14:11] robinduckett: but again i'm not sure on how to use them [14:11] robinduckett: https://github.com/laverdet/node-fibers < that's the library waht exposes Future.cast though [14:11] _Steve_: I'm looking at the unit tests now, but don't see any clear use [14:11] galaxywatcher_ has joined the channel [14:11] _Steve_: robinduckett: but thx for the pointer [14:11] Poetro has joined the channel [14:16] _Steve_: ah, do'h.. you simply call Future.cast(..) [14:16] _Blorb has joined the channel [14:19] cognominal has joined the channel [14:19] dmojoryder has joined the channel [14:19] robhawkes has joined the channel [14:23] LeMike has joined the channel [14:23] tdegrunt_ has joined the channel [14:23] chrisvwebdev has joined the channel [14:23] jimt has joined the channel [14:25] caioketo: Someone got a good example how to convert byte array to string (or array) so I can change byte protocol to string protocol in node.js? [14:25] jamesp has joined the channel [14:28] pandeiro has joined the channel [14:32] chrisvwebdev1 has joined the channel [14:35] mynick has joined the channel [14:36] chrisvwebdev has joined the channel [14:36] JasonJS has joined the channel [14:40] Lingerance: caioketo: Why are you using a ByteArray when node.js defaults to a Buffer? [14:41] trose: I'm having trouble installing old versions of node packages using npm. for example I tried backing up express to an older version using npm install express@2.5.0 but if i use npm view express version it still says 2.5.2 [14:41] Lingerance: Eitherway, Buffer objects have a .toString() method. [14:42] jamesp has joined the channel [14:43] mynick has joined the channel [14:43] CarlosC has joined the channel [14:43] andrewsbrain has joined the channel [14:44] yuwang has joined the channel [14:45] camperking has joined the channel [14:45] Nathan_ has joined the channel [14:47] CoverSli1e has joined the channel [14:48] shanez_ has joined the channel [14:48] goddyzhao has joined the channel [14:49] goddyzhao: hello [14:49] mendel__ has joined the channel [14:49] dr0id: ello [14:50] mynick has joined the channel [14:50] goddyzhao: I just test my nodejs app [14:50] goddyzhao: quit [14:50] mendel_ has left the channel [14:51] dmojoryder has joined the channel [14:52] fangel has joined the channel [14:53] cuenca has joined the channel [14:54] cuenca: Hi, I'm very new to node.js. I'm trying to install node-canvas and so far I've failed [14:54] sharkbird has joined the channel [14:55] icebox has joined the channel [14:55] sharkbird_ has joined the channel [14:55] cuenca: npm install canvas didn't work because it seems Mac Snow Leopard has libjpeg-6.2 instead of libjpeg-8 [14:56] cuenca: so I downloaded it, patched it to make it work with libjpeg-6.2 and did: [14:56] cuenca: node-waf configure build [14:56] Lingerance: You have Python 2.6? [14:56] cuenca: yes [14:56] _unary has joined the channel [14:57] cuenca: node-waf correctly (I think) generated build/Release/canvas.node [14:57] cuenca: but I guess there must be an extra step to "install" this extension [14:57] cuenca: if I run node [14:57] cuenca: and I do: [14:57] cuenca: require('canvas'); [14:58] cuenca: I get: Error: Cannot find module 'canvas' [14:58] cuenca: anybody knows if there is something else to do after node-waf configure build? [14:58] Lingerance: Do you have a node_modules in the current directory? [14:59] Lingerance: ... and is there a canvas directory, or a canvas.js/canvas.node in it? [15:01] cuenca: Lingerance: I don't have a node_modules in the current directory, but I do have one in /Users/cuenca (I'm in /Users/cuenca/projects/node-canvas) [15:01] cuenca: Lingerance: ls build/Release/ [15:01] cuenca: gives: canvas.node src [15:02] Lingerance: node.js looks for modules in ./node_modules [15:02] Lingerance: ... and a compile-time-configuration-specific global location [15:02] cuenca: I tried copying canvas.node into /Users/cuenca/node_modules [15:03] cuenca: and it gave a different error: [15:03] cuenca: Error: Unable to load shared library /Users/cuenca/node_modules/canvas.node [15:03] Lingerance: Then it didn't compile right [15:03] dscape: cuenca: [15:03] dscape: npm install node-canvas [15:04] dscape: not npm install -g node-canvas [15:04] cuenca: dscape: yeah, I wish. I tried that and it didn't work [15:04] cuenca: dscape: node-canvas depends on libjpeg-8 [15:04] dscape: don't know if that's your problem but I remember having an issue like that in my first or second day working with node [15:04] cuenca: and in my Mac I have libjpeg-6.2 [15:04] dscape: cuenca: then its not a nodejs question anymore :) [15:04] cuenca: I patched it using: https://github.com/LearnBoost/node-canvas/pull/123 [15:05] dr0id has left the channel [15:05] dscape: would love to help but have no idea what that is [15:05] cuenca: dscape: if you can confirm that to use a nodejs I only need to use node-waf build configure [15:05] icebox: cuenca: anyway it should be copied to /Users/cuenca/node_modules/canvas/build/Release/canvas.node [15:05] cuenca: icebox: thanks, will try to copy it there [15:06] cuenca: but my question is more nodejs specific, in general is there anything else to do to install a module after node-waf build configure? [15:06] cuenca: am I supposed to copy the resulting files somewhere? [15:06] postwait has joined the channel [15:07] Brandon_R has joined the channel [15:07] Brandon_R: hello guys [15:07] Brandon_R: am i a noob? [15:07] Lingerance: That isn't always a thing that you need to do cuenca [15:07] Lingerance: That's something in canvas' package.json file [15:09] cuenca: Lingerance: so if I want to install a random module from github that's not available in npm in theory I only have to run node-waf? [15:09] Lingerance: No. [15:09] stagas has joined the channel [15:09] cuenca: sorry if the questions are a bit stupid :-( as I said, it's my first time with node.js [15:09] Lingerance: node-waf is required only for things that have binary components [15:09] dharmesh has joined the channel [15:09] Lingerance: Most modules are pure-js [15:09] cuenca: Lingerance: ok [15:10] TheJH: HAHA, guess how sourceforge truncates "Filesystem in Userspace" :D [15:10] Lingerance: If there's a package.json go into the directory and just "npm install" [15:10] TheJH: "Filesystem in Use..." BWAHAHA [15:10] cuenca: Lingerance: there is a package.json, but can I ask npm to install something that I downloaded in my local hard drive? [15:10] Lingerance: Does anyone sane even use sourceforge anymore? [15:11] CarterL has joined the channel [15:11] Lingerance: Yes [15:11] Lingerance: If there's a package.json *go into the directory* and just "npm install" [15:11] cuenca: ok, I'm seeing npm help install [15:11] cuenca: ok, cool, I will do that [15:11] cuenca: thanks a lot! :) [15:11] tommyvyo has joined the channel [15:12] Brandon_R: is it advisible to do node.js development on windows or is windows a first class citizen to only run node.js apps? [15:12] kevwil has joined the channel [15:13] aheckmann has joined the channel [15:13] Lingerance: Windows isn't even a first-class citizen for running apps [15:13] _Steve_: Brandon_R: no experience wrt nodejs + windows, but windows is only recently supported; its possible you might get trapped in bugs [15:13] Brandon_R: yeah [15:13] Lingerance: Most libs assume POSIX stuff will be available. [15:13] augustl: robinduckett: wow, forgot I asked in here. [15:13] Brandon_R: i ran into that when compiling stuff [15:13] augustl: robinduckett: ref not installing bins globally, that's exactly what I want for some binaries in my project [15:13] deedubs has joined the channel [15:13] Brandon_R: what os do you recommend? [15:13] augustl: my project is structured in many sub-projects and one "metapackage" that you actually npm install -g [15:14] _Steve_: Brandon_R: OS X works fine for me [15:14] Brandon_R: lol [15:14] _Steve_: Brandon_R: but I guess Linux is most popular [15:14] Brandon_R: your name is steve [15:14] Brandon_R: :{ [15:14] Brandon_R: :P [15:14] _Steve_: lol [15:14] _Steve_: yeah ^^ [15:14] _Steve_: on ties to apple, I promise ;) [15:15] _Steve_: no ties* [15:16] Brandon_R: how many apple products do you own? [15:17] Brandon_R: and what is your ide? [15:17] icebox: Brandon_R: well.. if don't need c stuff, developing app in js is not so bad on windows [15:17] willwhite has joined the channel [15:17] icebox: Brandon_R: vim [15:17] Brandon_R: cool [15:18] markwubben has joined the channel [15:19] _Steve_: Brandon_R: 1 macbook pro; vim is my 'ide' [15:19] icebox: _Steve_: the best :) [15:20] slmt has joined the channel [15:20] Brandon_R: what kind of macbook pro? [15:22] danraz_ has joined the channel [15:22] leonhardtwille has joined the channel [15:22] Brandon_R: anyone here have a custom built pc? [15:23] postwait: So setBroadcast and setTTL don't work on dgram sockets? Any plan to fix that? [15:23] _Steve_: Brandon_R: euh.. mbp 5,3 or sth; upgraded mem to 8gb and put in an ssd [15:23] herbySk has joined the channel [15:23] _Steve_: Brandon_R: also have a custom built pc [15:24] Brandon_R: cool [15:24] Brandon_R: specs? [15:24] tdegrunt has joined the channel [15:24] _Steve_: currently intel e6550, 4gb mem [15:24] _Steve_: but I'm going to upgrade it [15:24] mendel__ has joined the channel [15:24] _Steve_: already have the parts [15:25] mbrevoor_ has joined the channel [15:25] Brandon_R: cool [15:25] danraz_: guys, I asked the same question last night at the Express room, but received no answer (not sure whether it was because it was late at night, or because people didn't know). So I'm trying my luck here: [15:25] Brandon_R: which do you like more. the custom built one or mac [15:25] danraz_: anyone doing A/B Testing in node? [15:26] _Steve_: Brandon_R: depends on what I'm doing; my workstation has 2 screens which is nice when reading a manual + coding [15:26] _Steve_: Brandon_R: but my mbp is mobile, can take it almost everywhere [15:26] Brandon_R: cool [15:26] Brandon_R: yeah [15:26] Brandon_R: true [15:26] Brandon_R: i'm on the edge here [15:27] _Steve_: but I prefer real coding on my workstation [15:27] Brandon_R: custom built or a mac pro [15:27] Brandon_R: custom built will most definitly run linux [15:27] _Steve_: I'm on win7 [15:27] _Steve_: with some VMs [15:27] Brandon_R: are we allowed to use osx lion on a custom built pc? [15:27] _Steve_: no [15:28] jstash has joined the channel [15:29] Brandon_R: is it not allowed by apple or will it not work due to hardware vs software stuff [15:29] MooGoo: but you can [15:30] MooGoo: probably quite easily at this point [15:30] Brandon_R: i love the software but the hardware isn't that good [15:31] Brandon_R: i can get 32 gb of ram for 150 bucks if i do a custom built pc [15:31] MooGoo: but it looks purdy [15:31] mmalecki: lol https://github.com/visionmedia/mocha/pull/176 [15:31] MooGoo: 32gb? [15:31] Brandon_R: yeah [15:31] MooGoo: is decent memory that cheap [15:31] Brandon_R: let me check [15:32] _Steve_: Brandon_R: I wouldn't got for a mac osx86 (or whatever its called these days) [15:32] _Steve_: Brandon_R: it might be that when you upgrade the OS itself (10.7 --> 10.7.1 e.g.) you break stuff [15:32] _Steve_: apart from the effort of getting it installed (dispite being 'easy') [15:33] _Steve_: then again, when you upgrade Ubuntu things will break as well ;) [15:33] MooGoo: last time I tried it was near impossible to get enough working for a useable system [15:33] mmalecki: I find my Mac quite perfect [15:33] MooGoo: but I have not tried in awhile [15:33] IvanoffCSI has joined the channel [15:33] mmalecki: (I'm a Linux user for 3 years or so) [15:33] mmalecki: or maybe even more, dunno [15:33] ldn_tech_exec: mac is the best dev environment [15:33] ldn_tech_exec: best dev software [15:34] MooGoo: only in apple land [15:34] Brandon_R: memory has gotton pretty cheap over the years [15:34] _Steve_: Brandon_R: yeah [15:34] mmalecki: but OS X is the perfect balance. on Linux I found few things randomly fucked up - sound system, for example [15:34] mmalecki: and windows? well, come on. [15:34] _Steve_: mmalecki: depends on your hardware I guess [15:34] MooGoo: meh...os x is not nearly as special as it was in the good ol days [15:34] MooGoo: it doesnt even look that slick anymore imo [15:34] ldn_tech_exec: you mean the neXT days? [15:34] mmalecki: _Steve_: yeah, I guess so [15:35] Brandon_R: on apple 1333MHz DDR3 ECC R-DIMM SDRAM vs custom bought 32GB (8 x 4GB) 240-Pin DDR3 SDRAM DDR3 1600 [15:35] MooGoo: I always had a thing for OS 9 [15:35] Brandon_R: not sure which is better [15:35] MooGoo: dunno why [15:35] MooGoo: considering how crap it was [15:35] MooGoo: it has... [15:35] context: brandon_r: define 'better' obviously the 1600mhz is [15:36] context: its faster [15:36] MooGoo: I spent way more for my 6gb of ddr3 [15:36] Brandon_R: this is what i'm looking at [15:36] Brandon_R: http://www.newegg.com/Product/Product.aspx?Item=N82E16820231498&nm_mc=AFC-C8Junction&cm_mmc=AFC-C8Junction-_-Memory%20(Desktop%20Memory)-_-G.SKILL-_-20231498&AID=10440897&PID=3938566&SID= [15:36] context: does the machine even support 1600mhz memory? is it 64G of 1333mhz or what? whats the application, please be more vague with questions ! [15:37] Cromulent has joined the channel [15:37] _Steve_: if the machine supports 1333, then 1600 will work as well [15:37] tommyvyo has joined the channel [15:37] MooGoo: that's some absurd looking sticks of ram [15:37] context: _steve_: sure it will work. but if he has 32 already then why is he wasting money ? [15:37] _Steve_: context: agreed [15:37] astropirate has joined the channel [15:37] _Steve_: context: probably a pissing contest? ;) [15:39] jbrokc has joined the channel [15:40] eldios has joined the channel [15:40] ldn_tech_exec: Brandon_R: red ram? what do they think you're building, a porsche? [15:40] Destos has joined the channel [15:40] Brandon_R: it's probably for those glass cases [15:40] Brandon_R: where you can look at the stuff inside [15:41] ldn_tech_exec: yuck [15:41] _Steve_: aren't those cooling ribs? [15:41] Brandon_R: we really have to thank gamers for pushing the price of ram and other high performance down [15:41] ldn_tech_exec: how do i open the #freenode chat without typing it here [15:42] uchuff has joined the channel [15:42] MooGoo: hm? [15:42] _Steve_: ldn_tech_exec: you mean joining another channel? [15:42] _Steve_: ldn_tech_exec: /join #freenode [15:42] carlyle has joined the channel [15:42] MooGoo: are the latest and greatest video cards still stupidly expensive [15:42] MooGoo: and some intel cpus... [15:42] Brandon_R: yeah [15:42] shockie has joined the channel [15:42] Brandon_R: but compared to what they would have been, i doubt it [15:43] Brandon_R: i was reading this article that said gaming is pushing the personal computing industry further more than any other things people use it for [15:44] ldn_tech_exec: Brandon_R: gaming and porn [15:44] Brandon_R: porn isn't html5 yet [15:44] Brandon_R: are there any html5 video porn websites? [15:44] ldn_tech_exec: hahahah but they've all made ios compatible video [15:45] lzskiss has joined the channel [15:46] MooGoo: I just wish there'd be a reasonably prices 6 core 1366 CPU sometime soon [15:46] ldn_tech_exec: _Steve_: thanks dude, since you're being so helpful, is there a way to get rid of all these 'x has quit, x has joined' messages forever? [15:48] _Steve_: ldn_tech_exec: maybe something with the /ignore command, but I can't help you more than that [15:48] ldn_tech_exec: _Steve_: cheers [15:49] adt has joined the channel [15:49] Brandon_R: amd is some nicely priced 6 cores cpu [15:49] Brandon_R: and an 8 core cpu if i'm not mistaken [15:49] _Steve_: ldn_tech_exec: I have a different client, but for me '/ignore #node.js JOINS' would probably work [15:49] MooGoo: sure....but a 6 core phemnon is probably slower than a 4 core i7 [15:50] MooGoo: still a good deal [15:50] adt: Does anyone know if there is a way to check an uploads mime-type (and validate it) when using connect-form? [15:50] _Steve_: lets try... [15:50] _Steve_: somebody tell me when somebody has joined/parted; from now [15:50] _Steve_: see if the ignore rule works [15:50] _Steve_: lol, nope :) [15:50] jaequery has joined the channel [15:50] _Steve_: 16:50:39 -!- fly-away [~fly@194.165.24.133] has quit [Quit: Leaving] [15:51] MooGoo: dunno how anyone can stand freenode without join/part filtering.. [15:51] carlyle has joined the channel [15:51] _Steve_: works for me, MooGoo, although I must say that nick-coloring helps with that [15:51] MooGoo: you can have both [15:52] _Steve_: yes [15:52] _Steve_: it seems that (in irssi) /ignore #node.js PARTS doesn't work [15:52] _Steve_: JOINS does work though [15:52] MooGoo: weechat ftw [15:52] _Steve_: ah, QUIT as well [15:53] MooGoo: it's so cool you can switch it on and off at will, things are not filtered, they are hidden [15:53] tomyan has joined the channel [15:53] _Steve_: irssi supports is too, I see [15:53] _Steve_: http://irssi.org/documentation/tips [15:53] Brandon_R: couldn [15:53] MooGoo: also there's the coolness of smart filtering [15:54] Brandon_R: i see no need for a client for an irc [15:54] MooGoo: oh [15:54] Brandon_R: one should be able to make a web based interface for it [15:54] MooGoo: u use some shit webclient [15:54] MooGoo: one has....but they all suck [15:54] Brandon_R: i use webchat/freenode [15:54] _Steve_: web clients can be good as well [15:54] MooGoo: webclients are no good for idling in 20+ chans 24/7 [15:55] _Steve_: true [15:55] dthompso99 has joined the channel [15:55] _Steve_: irssi + tmux ftw [15:55] MooGoo: yea [15:55] MooGoo: you cant tmux mibbit [15:55] Brandon_R: what is tmux [15:56] Brandon_R784 has joined the channel [15:56] mpavel has joined the channel [15:56] Brandon_R784: hey guys [15:56] MooGoo: it's like screen but not as bad [15:56] Brandon_R784: i'm on a java irc client lol [15:56] MooGoo: shit man [15:56] _Steve_: tmux allows you to detach a running console program, and later on attach it (possibly from somewhere else) [15:56] Brandon_R784 has left the channel [15:57] Brandon_R: kool [15:57] MooGoo: irc actully looks better in the terminal [15:58] KBM has joined the channel [15:59] KBM has left the channel [15:59] Brandon_R: everything looks better in a terminal [16:00] MooGoo: mmm I prefer porn to ascii porn [16:00] MooGoo: .peen [16:00] catb0t: 8====D~~~~~~~ [16:00] MooGoo: yea that's about right [16:00] lzskiss has joined the channel [16:02] nibblebot has joined the channel [16:02] boltR has joined the channel [16:02] redir_ has joined the channel [16:04] brianthecoder has joined the channel [16:04] Brandon_R: i like ascii [16:04] Brandon_R: porn not so much [16:04] vesln has joined the channel [16:04] Brandon_R: i have 1420 karma on reddit [16:04] MooGoo: you...dont like porn? [16:05] plutoniix has joined the channel [16:06] Brandon_R: i like ascii [16:06] _Steve_: time to go home [16:06] ldn_tech_exec: MooGoo: so i should get weechat? [16:06] MooGoo: give it a shot at least [16:06] MooGoo: it's good [16:06] MooGoo: weechat is the real client of the futar [16:06] TheJH: is there anything for doing this weird FD passing magic in nodejs? [16:06] ldn_tech_exec: i dont know what console stuff _Steve_ was talking about so.... [16:07] TheJH: suid process A opens a FD, passes it on to process B [16:07] TheJH: where B is a nodejs process [16:07] TheJH: is that possible? [16:07] Brandon_R: does weechat have these join/exit notifications [16:07] context: moogoo: what. whatching 5000 irccloud disconnects is awesome [16:08] Dmitrijus: TheJH: if B is spawned by A, then yes [16:09] TheJH: Dmitrijus, and if A is spawned by B? [16:09] Brandon_R: is b linked by a? [16:09] MooGoo: weechat has built in join/part hiding that works quite nicelly.. [16:09] Dmitrijus: TheJH: /me googling around :), but seems likely or would involve some ugly trickery [16:09] TheJH: Brandon_R, linked by? [16:09] Dmitrijus: unlikely* [16:09] mike5w3c_ has joined the channel [16:10] Brandon_R: in erlang b would be linked to a so if it dies a is notified [16:10] nodebiscut has joined the channel [16:10] Dmitrijus: Brandon_R: in erlang processes have a different meaning :) [16:10] TheJH: Brandon_R, the scenario is that there's a SUID helper that can open a FD and my nodejs program spawns this helper and wants to get the FD in echange [16:10] TheJH: *exchange [16:11] Dmitrijus: TheJH: what kind of fd is it? [16:11] mmalecki: TheJH: yes [16:11] TheJH: mmalecki, :) [16:11] mmalecki: at least, I think so [16:11] kazupon has joined the channel [16:11] TheJH: Dmitrijus, uh, a device fd [16:11] mmalecki: TheJH: http://nodejs.org/docs/v0.6.6/api/child_processes.html#child_process.fork [16:11] mmalecki: check out the child._send [16:16] kristoffer has joined the channel [16:16] TheJH: mmalecki, mhm, that looks good :) [16:16] fomatin has joined the channel [16:17] Morkel has joined the channel [16:18] kristoffer: Hello nice people :) I'm trying to compile node.js 0,6,6 on my Fedora 16 box. Configure is missing lots: http://pastebin.com/kjqF8LB8 . How do i get these? A little non-specific library util and so on. [16:20] Dmitrijus: TheJH: but the descriptors here are openened before spawning, not after :) [16:21] TheJH: Dmitrijus, right - I figured this is probably going to work,t oo [16:21] Dmitrijus: TheJH: you can also pass -C to sudo, since it closes everything not in 0,1,2 [16:21] TheJH: *too [16:21] ben_alman has joined the channel [16:21] sreeix has joined the channel [16:23] synkro has joined the channel [16:23] kristoffer: I'll try installing all the development tools. [16:23] Dmitrijus: TheJH: but what are you doing, going sudo seems bad [16:24] TheJH: Dmitrijus, "mount" needs root rights [16:25] Dmitrijus: TheJH: not really, gnome somehow manages to mount my usb drives (you could do something similar, ) [16:25] Dmitrijus: also autofs? [16:26] TheJH: Dmitrijus, afaik, there's always some suid binary doing stuff in the background [16:26] MooGoo: it's needed in a general case....you can config mountpoints to work for normal users [16:26] TheJH: Dmitrijus, also, I don't want to mount a normal FS [16:26] Lingerance: Dmitrijus: That's because a root-level program does that [16:26] ismell has joined the channel [16:26] Dmitrijus: Lingerance: well, my point exactly, he should use _that_ program :) [16:27] Lingerance: TBH I find that program incredebly annoying [16:27] TheJH: Dmitrijus, "-rwsr-xr-x. 1 root root 85740 11. Jul 13:35 /bin/mount" - mount is suid [16:27] mrryanjohnston has joined the channel [16:27] kristoffer: I'm still getting the same "not found"s. Anyone know what "library dl, util, rt, and fdatasync(2)" is? [16:27] Dmitrijus: TheJH: yes, to permit user mounts [16:27] TheJH: kristoffer, did you try "yum install build-essential" or "yum install build-essentials" or so? [16:28] kristoffer: TheJH, thanks I'll try them right now [16:28] Lingerance: TheJH: can't you pass FDs with UNIX sockets? [16:28] Dmitrijus: TheJH: so, what kind of fs is yours? :) [16:29] TheJH: Dmitrijus, I'm playing around with fuse (just playing around, not sure whether I'll try to implement it) [16:29] mmalecki: Dmitrijus: I think that GNOME talks to XOrg and Xorgs runs with root rights [16:30] mmalecki: s/Xorgs/XOrg/ [16:30] Dmitrijus: madhums: yep [16:30] Dmitrijus: mmalecki :) [16:30] kristoffer: TheJH, it appears there are no build-essentials in Fedora. "Development Tools" is supposed to install everything needed for compiling [16:30] Dmitrijus: TheJH: well, fuse can be mounted by non-priveleged-users, somehow [16:31] TheJH: Dmitrijus, yes, by using fusermount, which is setuid root [16:31] Lingerance: Dmitrijus: I think that GNOME talks to XOrg and Xorgs runs with root rights <-- X doesn't do anything with mounting. [16:31] Lingerance: It's a process gnome-vfs or similar [16:31] TheJH: Dmitrijus, fusermount opens the device, calls mount with it and passes the FD back to the caller or something like that [16:32] Dmitrijus: TheJH: hm, [16:32] TheJH: mmalecki, Lingerance, "lsof /dev/fuse" -> "gvfs-fuse 1941 jann 3u CHR 10,229 0t0 7298 /dev/fuse" [16:32] TheJH: ah, wait, you're talking about the "real" mounting stuff [16:32] TheJH: sorry [16:33] Dmitrijus: .gvfs is not really related here [16:33] Dmitrijus: :) [16:33] TheJH: meh, I'll just do this as root now :/ [16:33] DTrejo has joined the channel [16:33] MooGoo: sudo bash [16:34] Dmitrijus: TheJH: i should go strace my fuse programs, i wonder how they work [16:34] Brandon_R has joined the channel [16:34] tjfontaine: eww sudo bash, itym sudo -s (or sudo -i) [16:36] Lingerance: Why do you need the FD TheJH? [16:36] Brandon_R: hey [16:36] kristoffer: Are there no Fedora users here? :) I miss ubuntu [16:36] ldn_tech_exec: MooGoo: how to install weechat with homebrew? [16:36] trose: so what's the common practice for unit testing node/express servers? [16:36] TheJH: Lingerance, to talk to the kernelspace fuse driver [16:36] Dmitrijus: TheJH: you mean /dev/fuse? [16:36] TheJH: kristoffer, I'm a fedora user [16:36] TheJH: Dmitrijus, yes [16:37] kristoffer: TheJH, and installing wasn't a problem for you? [16:37] TheJH: kristoffer, no [16:37] wilmoore has joined the channel [16:37] Dmitrijus: TheJH: there is a "fuse" group just for that :) [16:37] MooGoo: ldn_tech_exec: homebrew? what distro [16:37] tjfontaine: yes, in debuntu the user needs to be a part of the fuse group [16:37] TheJH: Dmitrijus, no, they can't mount, I'm pretty sure [16:38] TheJH: Dmitrijus, that are just the people who can call fusermount [16:38] kristoffer: TheJH, that is interesting, are you using fedora 16= [16:38] ldn_tech_exec: MooGoo: im on osx [16:38] tjfontaine: TheJH: no, for non-root mounts to work they need access to /dev/fuse which is ideally governed by your user group [16:38] MooGoo: ah [16:38] MooGoo: well...it's either packged up already, or you need to compile it [16:38] TheJH: tjfontaine, hmm... let me play around with that... [16:39] ldn_tech_exec: MooGoo: there's an install-sh , shall i run it? [16:39] ldn_tech_exec: MooGoo: or use homebrew [16:39] tjfontaine: TheJH: usermode -a -G fuse [16:39] MooGoo: uh [16:39] tjfontaine: er [16:39] MooGoo: I dunno....never done much on os x [16:39] tjfontaine: usermod -a -G fuse [16:39] ldn_tech_exec: MooGoo: k thanks [16:39] MooGoo: I'd say compile it if you can [16:39] MooGoo: to get the latest dev version [16:40] TheJH: tjfontaine, I don't even have that group on my system [16:40] MooGoo: should be just make && make install [16:40] MooGoo: ./configure !! [16:40] MooGoo: or something [16:40] TheJH: tjfontaine, is it even possible to determine other permissions than file access based on the group? [16:40] tjfontaine: TheJH: ls -alh /dev/fuse [16:41] TheJH: tjfontaine, "crw-rw-rw-. 1 root root 10, 229 1. Dez 18:05 /dev/fuse" - and no, "mount" fails (I can see that in strace) and sshfs falls back to fusermount [16:42] tjfontaine: on a sane deubuntu system "crw-rw-rw- 1 root fuse 10, 229 2011-05-26 14:37 /dev/fuse" [16:43] Brandon_R: hey guys [16:43] Dmitrijus: tjfontaine: deubuntu? :D [16:43] tjfontaine: *debuntu [16:43] Brandon_R: what is a good way to store socket connections? [16:43] jstash: has anybody extended the node 0.6 Agent to do persistent connections (i.e. keep the connection alive even though there aren't any pending requests yet)? [16:43] Brandon_R: like an array doesn't seem a scalable solution [16:43] tjfontaine: Brandon_R: I keep mine in my shoe [16:44] Brandon_R: it needs to be easily iteratable [16:44] ldn_tech_exec: MooGoo: ok figuring it out... this is not idiot friendly [16:44] Brandon_R: you shouldn't. it starts to smell that way [16:44] MooGoo: lol [16:44] MooGoo: no not quite [16:44] hij1nx has joined the channel [16:44] MooGoo: are you at all expiernced with the ssh shell in general [16:44] MooGoo: cuz that usually helps.. [16:44] jstash: Brandon_R: array, or hash-table (Object) basically. leave it up to V8 to optimize [16:45] jstash: if array sucks, double-linked list [16:45] Brandon_R: doubly linked list? [16:46] Brandon_R: what is a socket connection really? just a string path to a stream like dev/sock/123? [16:46] jstash: it's an object that's much more than a string [16:47] itayneeman has joined the channel [16:47] Brandon_R: any resources where i can read up on this? [16:48] jstash: you might look at the Agent code in node 0.6 ;) [16:48] Brandon_R: how does socket.io store the sockets? [16:49] jstash: another good source reference [16:49] purge has joined the channel [16:49] context: brandon_r: socket.io is open source [16:49] context: brandon_r: this is (along with 90% of questions in here) something you can check yourself [16:49] purge: i just noticed ndistro was deprecated in favour of npm being able to do the same now [16:49] purge: how do I install a project specific node with npm? [16:49] context: install ? [16:49] context: npm install [16:50] context: ive never even heard of ndistro :/ [16:50] jstash: Brandon_R: when you say "socket" do you mean raw TCP/IP socket or WebSockets? [16:50] Brandon_R: tcp/ip [16:50] context: websockets are still raw tcp/ip sockets [16:50] purge: ndistro would download a arch version of node and stick it in ./bin/node [16:50] itayneeman: purge: can you use nvm? [16:50] context: you can use nvm to handle multiple node versions [16:51] itayneeman: I use it to switch between different versions of node [16:51] context: npm is a package manager. not node version manager [16:51] purge: ah yeah nvm seems to do it [16:52] fomatin has joined the channel [16:53] Dmitrijus: TheJH: btw, /dev/fuse is openned as user, suid stuff only to mount it [16:53] tommyvyo has joined the channel [16:53] Dmitrijus: TheJH: in your case, /dev/fuse is world read/writable [16:54] TheJH: Dmitrijus, yes, right, I only need the suid stuff to mount it [16:58] confoocious has joined the channel [16:59] purge has left the channel [17:01] FGRibreau has joined the channel [17:01] jbrokc has joined the channel [17:01] tjholowaychuk has joined the channel [17:01] Dmitrijus: TheJH: hmm, does node have fuse bindings? that would be awesome! :) [17:02] TheJH: Dmitrijus, not yet [17:02] Dmitrijus: TheJH: ah, you're working on it? :) [17:03] TheJH: Dmitrijus, if I built it as a regular binding, I wouldn't have to care about this stuff, but as far as I can remember, isaacs tried it that way and said it was hard - no, I'm not really building it yet, more like looking how hard it is [17:03] natebeck has joined the channel [17:03] brianloveswords has joined the channel [17:03] natebeck has joined the channel [17:04] caolanm has joined the channel [17:04] FGRibreau has joined the channel [17:04] Dmitrijus: TheJH: i see, i wonder why it's hard [17:06] jocafa has joined the channel [17:07] caolanm has joined the channel [17:08] eastc: are there any node modules for a forum board type thing? [17:08] eastc: like phpbb or something [17:09] whitman has joined the channel [17:09] pilgo: Anyone around? [17:10] Brandon_R: can node.js handle over 9000 concurrent socket connections? [17:11] nickadeemus2002 has joined the channel [17:11] context: brandon_r: try it and find out ? [17:11] nickadeemus2002 has left the channel [17:11] Brandon_R: how? [17:11] context: brandon_r: do you realize how vague and retardedly pointless that question is [17:11] MooGoo: ask 4chan [17:11] MooGoo: they'll help u [17:11] context: brandon_r: how? you start a node server and initiate 9k connections to it [17:12] josh-k has joined the channel [17:12] context: brandon_r: you just asked if something can achieve something, with ZERO details. dont know the context, what type of requests they are, how much traffic, the hardware its running on, the bandwidth, etc etc etc etc [17:12] context: im sure node can handle 9k connections. even with the most shittiest application code. if you have big enough hardware.... [17:13] context: brandon_r: maybe worry about pointless questions like that when it becomes a problem [17:13] jocafa: yayyyyy i have gitlab working 100% now [17:13] Brandon_R: http://boards.4chan.org/g/res/21802124#q21802124 [17:14] Dmitrijus: :DDD [17:14] Dmitrijus: haha [17:16] shinuza has joined the channel [17:16] eastc: does anyone know of a phpbb replacement in node? [17:16] eastc: . [17:17] Brandon_R: not currently [17:17] cjm has joined the channel [17:18] jocafa: whenever i see "phpbb", i think of: http://static.rcgroups.net/forums/attachments/1/3/5/1/6/a3173100-239-bill-the-cat-ack.jpg?d=1270849594 [17:18] eastc: ok then forget about phpbb [17:18] Brandon_R: xenforo is better [17:18] pilgo: I set up my static directory using express.static() but my CSS url()'s are broken. For example this works background-image: url('http://localhost/images/backgrounds/product_box.png'); but not this: background-image: url('images/backgrounds/product_box.png'); [17:18] eastc: is there ANY module for running a simple forum in node [17:18] yozgrahame has joined the channel [17:19] eastc: b/c I'm having trouble finding one [17:20] maushu has joined the channel [17:20] Brandon_R: do you guys use godaddy? [17:20] uchuff has joined the channel [17:20] Brandon_R: they support sopa so stackoverflow and icanhazchezburger are transferring in boycott [17:20] jocafa: hell naw. [17:20] eastc: gomommy [17:21] jocafa: moar like gonanny amirite? [17:21] mmalecki: lol who would even use it at all? [17:21] Brandon_R: http://meta.stackoverflow.com/questions/116891/will-stack-overflow-boycott-godaddy-because-of-their-support-for-sopa [17:21] FGRibreau has joined the channel [17:21] mmalecki: not to mention sopa [17:22] TheJH: heh, godaddy? who'd use them anyway? don't they have a pretty crappy reputation? [17:22] mmalecki: yeah, they do [17:22] Brandon_R: it is easy to transfer domains from account to account instantly in godaddy [17:22] Brandon_R: good for domainr esellers [17:22] mmalecki: did. now it's below 'crappy' level [17:22] Brandon_R: that's pronanly why [17:22] EyePulp has joined the channel [17:23] brianthecoder has joined the channel [17:23] Brandon_R: lol at godaddy twitter - https://twitter.com/#!/godaddy [17:23] psino has joined the channel [17:24] Brandon_R: also godaddy has been known to instantly register domains that people search for [17:24] kristoffer: Hello, I'm still having configure-problems in fedora. Anyone had these problems before? http://pastebin.com/kjqF8LB8 [17:25] mattgifford has joined the channel [17:26] hydrozen has joined the channel [17:26] FG has joined the channel [17:26] eastc: your node folder is screwed up [17:26] eastc: scrap it and get the latest git [17:27] kristoffer: I tried, what branch should i checkout? [17:27] eastc: git checkout v0.6.6 [17:28] arcanis has joined the channel [17:28] eastc: git clone https://github.com/joyent/node.git && cd node && ./configure && make && make install [17:28] eastc: done [17:28] djcoin has joined the channel [17:28] eastc: git clone https://github.com/joyent/node.git && cd node && git checkout v0.6.6 ./configure && make && make install [17:28] eastc: git clone https://github.com/joyent/node.git && cd node && git checkout v0.6.6 && ./configure && make && make install [17:29] eastc: that one ^ [17:29] kristoffer: eastc, thanks for helping me, I'll try that. I have done exactly the same using --depth 1, and by downloading the archive. But i'll try again with the whole thing [17:30] eastc: yea just make sure you clean your existing node download folders or gits [17:30] tkaemming has joined the channel [17:31] kristoffer: eastc, the configure still doesn't find library dl, util, rt, and fdatasync (2) with c++ [17:32] fangel has joined the channel [17:32] eastc: do you already have node installed by any chance? [17:33] kristoffer: No, it is a pretty fresh Fedora 16 install [17:34] eastc: you might want to try upgrading python [17:34] eastc: do you already have python with your distro package of fedora? [17:35] kristoffer: Yeah, Python 2.7.2 [17:35] kristoffer: it is up to yum-date ;) [17:36] context: try http://johnroach.info/2011/11/20/installing-node-js-0-6-2-on-fedora-16/ ? [17:37] kristoffer: context, I tried that [17:37] context: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager [17:37] context: or you could install via package [17:37] kristoffer: context, thanks I'll try that [17:39] kristoffer: "Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-nodejs-stable-fedora-16 [17:39] kristoffer: " [17:39] kristoffer: I got that on yum install nodejs [17:39] context: sudo yum [17:39] kristoffer: I did [17:39] context: did you do --nogpgcheck [17:39] kristoffer: I just shortened it here [17:39] kristoffer: No, i'll try :) [17:40] context: i dont know. i havent touched that pos redhat/fedora in forever [17:40] wmage has joined the channel [17:40] eastc: debian all the way [17:42] kristoffer: Context, awesome! That did it :) [17:42] kristoffer: eastc, also thanks [17:43] kristoffer: Haha I would never have guessed that the problem would be installing it on linux contra windows xD [17:43] pig_ has joined the channel [17:44] patcito has joined the channel [17:44] iamcorpix has joined the channel [17:44] stagas has joined the channel [17:47] TheJH: ryah, ping? [17:48] trotter has joined the channel [17:49] dudeinthemirror has joined the channel [17:49] Helloer has joined the channel [17:50] butu5 has joined the channel [17:51] jaequery has joined the channel [17:53] zeade has joined the channel [17:53] eastc: VoIP for node js anyone? [17:53] ChrisMatthieu has joined the channel [17:53] markdaws has joined the channel [17:54] TheJH: eastc, VoIP? like, bidirectional and low-latency? I think that doesn't really exist yet [17:55] TheJH: eastc, I built something that works pretty well for broadcasting one stream of audio that comes in to the server out to several clients, but you have some lag [17:55] FG has joined the channel [17:55] TheJH: eastc, and with multiple sources, you get really weird lags, like 5s or so [17:56] eastc: I'm guessing there's nothing for video either [17:56] pronam has joined the channel [17:56] butu5: TheJH: where u got all this time ?? :) [17:56] TheJH: butu5, :D [17:56] mmalecki: yeah, everybody wonders [17:56] mmalecki: I think he even sleeps! [17:56] eastc: wait i have a question [17:57] eastc: can't you use socket.io to broadcast audio packets? [17:57] eastc: just broadcast [17:57] eastc: from a static file [17:57] eastc: on the server [17:57] mmalecki: eastc: I'd expect latency to be too big [17:57] mmalecki: but with ws module? why not [17:57] mmalecki: or, wait [17:57] mmalecki: http://intersect.nodejitsu.com/ [17:57] TheJH: eastc, I don't think you can play audio from strings in the browser [17:57] versicolor has joined the channel [17:58] mmalecki: this uses socket.io, but I think it transfers some audio source only [17:58] _unary_ has joined the channel [17:58] eastc: it says connecting still [17:58] AvianFlu has joined the channel [17:58] FG: it lags a little here ^^ [17:59] mmalecki: yeah, same here [17:59] mmalecki: I'm not surprised [17:59] TheJH: mmalecki, why not? [17:59] mmalecki: but it's one of funniest projects I've ever seen [17:59] ppcano has joined the channel [18:00] mmalecki: TheJH: dunno, this thing seems complex [18:00] `3rdEden: instant chrome crash [18:00] `3rdEden: \o/ [18:00] mmalecki: lol [18:01] `3rdEden: Audio packages are most likely binary, and that is something that socket.io does not yet support [18:01] jocafa: my server uptime: 420 days tee hee [18:01] `3rdEden: the WebSocket interface supports it, but we have no fallback transport for it [18:02] mmalecki: `3rdEden: too bad [18:02] TheJH: mmalecki, oh, looks like that thing generates the audio on the client [18:02] dshaw_ has joined the channel [18:02] mmalecki: `3rdEden: btw, you know what would be awesome? [18:02] `3rdEden: you can ofcourse just base64 encode it [18:02] eastc: exactly [18:02] mmalecki: some socket.io inspector, so that you could see packets flow [18:02] `3rdEden: mmalecki but you already see that in the terminal? [18:02] jaitaiwan has joined the channel [18:03] `3rdEden: with debug mode turned on you see all the traffic that the server makes [18:03] heavysixer has joined the channel [18:03] mmalecki: `3rdEden: for the browser, I mean [18:03] `3rdEden: oh. [18:03] subdeuxed has joined the channel [18:03] rauchg has joined the channel [18:03] `3rdEden: Gl building that ;) [18:04] mmalecki: haha [18:05] FIQ has joined the channel [18:05] mnutt has joined the channel [18:05] bosphorus has joined the channel [18:06] bose has joined the channel [18:06] PhilK has joined the channel [18:07] eastc: quora isn't really defined as a blog of forum right? [18:07] diogogmt has joined the channel [18:07] TheJH: mmalecki, what are you currently working on? [18:07] eastc: or * [18:08] bose: hi [18:10] mmalecki: TheJH: internal stuff, why? [18:11] TheJH: mmalecki, did you talk to marak about the irc hook stuff? [18:12] jose__ has joined the channel [18:12] mmalecki: TheJH: ah, I keep forgetting [18:12] lzskiss has joined the channel [18:13] jose__: hello everyone... I am having a problem trying to install v0.4.7 on ubuntu with nvm. I get " Build failed: -> task failed (err #1): {task: cxx node_crypto.cc -> node_crypto_4.o}" [18:14] jose__: any ideas? [18:15] joshsmith has joined the channel [18:15] jose__: this is my output http://pastie.org/3063475 [18:16] KiNgMaR: your openssl is built without (deprecated) sslv2 support [18:17] jaequery: anyone here wanna help me test this new app? [18:17] jscheel has joined the channel [18:17] Lingerance: Paste the link and a description [18:17] rabidmachine9 has joined the channel [18:18] jose__: thanks KiNgMaR [18:18] criswell has joined the channel [18:18] redir_ has joined the channel [18:18] joshsmith: did drip.io shut down? [18:18] KiNgMaR: jose__: newer node versions have a switch (--no-ssl2 or something, would have to look it up)... not sure if that applies to v0.4.7 as well [18:19] jbpros has joined the channel [18:20] KiNgMaR: * #880 Option to disable SSLv2 <-- added in 0.4.9 [18:20] redir_ has joined the channel [18:20] xy has joined the channel [18:20] Lingerance: Why is her even compiling such an old version? If he wants 0.4.x why not 0.4.12? [18:21] gr-eg has joined the channel [18:21] Brandon_R: hi [18:21] Brandon_R: pastebin is moving away from godaddy [18:22] firebalrog has joined the channel [18:22] joshsmith: yay pastie! [18:22] jose__: KiNgMaR: thanks again! [18:23] FG_ has joined the channel [18:23] astropirate: FUUUU MDN!!!!! always down [18:24] jstash: astropirate: you'd think they'd put the $300MM google just gave them to buy some hardware [18:24] JaKWaC has joined the channel [18:24] StanlySoManly has joined the channel [18:24] firebalrog: i have fs.watch(myfile,function() { readmyfile()}); but when I download and unzip to myfile the readmyfile is crashing because file not found. I tried adding a settimeout(function(){readmyfile()}); but i still get the error. Any suggestions [18:24] astropirate: jstash, haha true [18:25] mmalecki: firebalrog: linux? [18:25] firebalrog: sory that was setTimeout(function(){readmyfile()},60000); [18:25] tedsuo has joined the channel [18:25] firebalrog: yes debian [18:25] mmalecki: firebalrog: http://nodejs.org/docs/v0.6.6/api/fs.html#fs.watch [18:26] mmalecki: see the warning [18:26] mmalecki: but on Linux, it should work [18:26] JaKWaC has joined the channel [18:26] Lingerance: BTW: setTimeout(readmyfile, 60000) is the same, just without the pointless closure. [18:26] firebalrog: not using the filename anyway [18:26] Knifed__ has joined the channel [18:27] firebalrog: filename is always emergency.txt [18:27] jomoho has joined the channel [18:27] shinuza has joined the channel [18:27] firebalrog: we are downloading and unzipping a file twice a week and I want my webservice to reload the file into the arrays after it is unzipped [18:28] brianthecoder_ has joined the channel [18:29] FG has joined the channel [18:29] pinhoramic has joined the channel [18:29] firebalrog: http://pastebin.com/bMrhY0c7 [18:29] jose__: what version of node.js is heroku using? [18:30] jose__: is there a way to use another version there? [18:30] ldn_tech_exec_ has joined the channel [18:30] firebalrog: last I read a month ago they were using 0.4.12 [18:30] firebalrog: but when you login I think you can get the version [18:31] jose__: thanks [18:32] tommyvyo has joined the channel [18:32] TheJH[bird] has joined the channel [18:33] eastc: express literally takes over day-to-day php stuff [18:35] natebeck has joined the channel [18:36] natebeck has left the channel [18:37] carlyle has joined the channel [18:38] ambroff has joined the channel [18:38] diogogmt has joined the channel [18:39] bneil_ has joined the channel [18:40] socketio\test\42 has joined the channel [18:41] neilk_ has joined the channel [18:41] otakutomo has joined the channel [18:42] kristoffer has joined the channel [18:42] joshsmith has joined the channel [18:43] versicolor has joined the channel [18:43] joshsmith has joined the channel [18:43] TimTimTim has joined the channel [18:43] firebalrog: Found the problem I was also calling something to save and display the files datetime stamp which was not in the timeout. moved it into the time out and now it works [18:44] joshsmith has joined the channel [18:45] cognominal has joined the channel [18:45] bneil_ has joined the channel [18:46] natebeck has joined the channel [18:46] cjlicata has joined the channel [18:46] natebeck has left the channel [18:46] joshsmith has joined the channel [18:47] TooTallNate has joined the channel [18:48] joshsmith has joined the channel [18:51] avalanche123 has joined the channel [18:52] maletor has joined the channel [18:53] jbpros has joined the channel [18:54] lperrin1 has joined the channel [18:56] briancray has joined the channel [18:59] abraxas has joined the channel [19:01] xybnc has joined the channel [19:02] Renegade001 has joined the channel [19:02] StanlySoManly has joined the channel [19:03] xybnc has joined the channel [19:03] fangel has joined the channel [19:05] deedubs has joined the channel [19:05] wssr has joined the channel [19:06] mraleph has joined the channel [19:08] srijan4 has joined the channel [19:09] jakehow has joined the channel [19:10] mmalecki: lol wtf http://www.godaddy.com/newscenter/release-view.aspx?news_item_id=378&isc=smtwsup [19:10] mmalecki: (but don't stop moving your domains) [19:11] criswell has joined the channel [19:11] DTrejo has joined the channel [19:11] zemanel has joined the channel [19:12] hij1nx has joined the channel [19:15] larsschenk has joined the channel [19:16] hackband has joined the channel [19:17] maletor has joined the channel [19:17] andrewsbrain has joined the channel [19:17] hipsters_ has joined the channel [19:18] TooTallNate: mmalecki: hilarious [19:18] TooTallNate: (but i never used them in the first place :D) [19:18] mmalecki: TooTallNate: yeah. and childish. [19:18] mmalecki: yeah, neither did I [19:20] IvanoffCSI has joined the channel [19:20] mandric has joined the channel [19:20] pauls1 has joined the channel [19:21] agnat_ has joined the channel [19:26] enmand has joined the channel [19:26] _jlank has joined the channel [19:28] _jlank: does anyone know why the first variable in this statement (test) wouldn't get defined: var test = css = header = footer = "unable to parse section"; [19:30] jocafa: works for me _jlank [19:31] ldn_tech_exec_: mmalecki, they lost my business before this SOPA stuff, worst registrar ever [19:31] pandeiro has joined the channel [19:31] _jlank: ya... I just threw it in my browser console and it works... I cant figure out why it won't work in my module [19:31] avalanche123 has joined the channel [19:32] maletor has joined the channel [19:32] TheJH: _jlank, are css, header and footer already defined? [19:32] Cromulent has joined the channel [19:34] _jlank: no... i'm trying to define them all at the start of my function [19:34] diogogmt has joined the channel [19:34] _jlank: let me throw it in pastebin, it will be easier to explain [19:35] captain_morgan has joined the channel [19:36] ernie_r has joined the channel [19:38] _jlank: http://pastebin.com/RvvS5Xd1 [19:38] _jlank: so basically just trying to parse some html [19:38] sharkbird has joined the channel [19:39] Druid_ has joined the channel [19:39] _jlank: going to construct a regex which takes an array and will use the first argument to set the value of a variable... if test wasn't on the , test = css = header = footer = "unable to parse section" line it wouldn't get initialized [19:39] _jlank: it = css [19:39] Nuck: God I'm glad today isn't an Oakland Raiders game. I'm stuck on Bart D: [19:40] fomatin has joined the channel [19:40] akter has joined the channel [19:42] Aria has joined the channel [19:42] zivester has joined the channel [19:43] pizthewiz has joined the channel [19:44] fermion has joined the channel [19:45] maushu has joined the channel [19:47] rsterner has joined the channel [19:47] FG_ has joined the channel [19:47] RobWC has joined the channel [19:48] jesusabdullah: ACTION points and laughs [19:49] joshsmith has joined the channel [19:49] captain_morgan has joined the channel [19:52] larsschenk has left the channel [19:54] admc has joined the channel [19:54] Nuck: Man. Oakland sure does look shitty today [19:54] jeronimo has joined the channel [19:56] astropirate: just today? [19:57] Edy has joined the channel [19:57] Edy has joined the channel [19:57] Dmitrijus: Nuck: move to europe! [19:57] JasonJS: Anyone know why /usr/local/include/node/ev.h would be missing after an install? [19:59] gigafied has joined the channel [20:00] fzzzy has joined the channel [20:00] jesusabdullah: Nuck: Oakland looks shitty every day. XD [20:02] captain__ has joined the channel [20:04] shinuza: JasonJS: it could be elsewhere [20:04] shinuza: depends on your prefix [20:04] srijan4 has joined the channel [20:05] shinuza: JasonJS: I'm talking nonsense [20:06] shinuza: ev.h doesn't exist anymore [20:06] shinuza: I read uv.h [20:06] bartt has joined the channel [20:06] maletor has joined the channel [20:07] JasonJS: shinuza: It's odd - I've got an old module that is still referencing ev.h which is working fine on my 0.6 install on one server but not another. [20:07] JasonJS: The older server still had ev.h on it somehow [20:07] JasonJS: The upgrade from 0.4 to 0.6 must have left it around [20:07] shinuza: maybe back from an older install? [20:07] shinuza: :) [20:08] shinuza: as far as I know uv.h is supposed to be used now [20:08] shinuza: it provides the compatibility layer above libev and iocp [20:09] pronam has joined the channel [20:09] TheMoonMaster has joined the channel [20:10] Nuck: jesusabdullah: Haha [20:10] Nuck: But it's home to half of node.js :P [20:12] Nuck: Ouch my ears. Fucking transbay tube [20:13] maletor has joined the channel [20:14] akter has joined the channel [20:15] ismell has joined the channel [20:17] jesusabdullah: Nuck: Which part of Oakland are you in? [20:17] jesusabdullah: Nuck: Most of oak.js is on the north end of town [20:17] mmalecki: and the south part does Ruby? [20:17] CarterL has joined the channel [20:19] devongovett has joined the channel [20:22] ismell has joined the channel [20:22] k6b_ has joined the channel [20:22] devdazed has joined the channel [20:22] Nuck: jesusabdullah: Haha im actually just en route to SF. Just arrived at Powell [20:22] TheJH: what are good modules for HTML templates that also support streaming (like, the head gets sent while the DB is still looking for the data)? dust looks nice to me, thoughts? [20:23] sir_tyrion has joined the channel [20:23] mmalecki: TheJH: creationix wrote one recently [20:23] RobWC has joined the channel [20:24] mmalecki: go through his twitter feed [20:24] TheJH: https://github.com/creationix/corn ? [20:25] mmalecki: TheJH: probably [20:25] insin: first time I've used jade since template inheritance was added..... ooooh yeah [20:25] TheJH: mmalecki, hmm, its API doesn't look like it can output partial stuff [20:25] brianseeders has joined the channel [20:26] jesusabdullah: Nuck: You were in east bay then? [20:26] maletor has joined the channel [20:26] TheJH: I guess I could roll my own... what's quicker, that or digging through a pile of modules? :D [20:26] mmalecki: that :P [20:27] teadict: should I use ACL? [20:27] cognominal_ has joined the channel [20:27] ismell has joined the channel [20:27] teadict: or does express include something? [20:28] TheJH: teadict, ACL as in "Access Control Lists"? [20:28] teadict: yesh [20:28] teadict: https://github.com/OptimalBits/node_acl [20:28] teadict: since I'm making a closed application for this client.. [20:28] teadict: instead of a website [20:29] cognominal_ has joined the channel [20:31] Skola has joined the channel [20:33] teadict: TheJH: unless you know of a better alternative to handle permissions [20:33] TheJH: teadict, no [20:34] teadict: I've got this bunch of modules I need to choose from before I code.. [20:34] teadict: damn there's a lot of things [20:35] teadict: does anybody use mocha for testing? [20:35] teadict: or which one is the most popular? [20:35] ixti has joined the channel [20:36] mmalecki: marak has some fun module for doing that [20:36] teadict: because expresso has a lot more watchers [20:36] teadict: https://github.com/visionmedia/expresso [20:37] teadict: and there's zombie [20:37] TheJH: teadict, I use isaacs tap for testing, mainly because I trust in isaacs [20:37] jesusabdullah: I like tap's api myself [20:37] teadict: well, the point of my list of modules is to filter them so I end up with the most trustworthy [20:38] mmalecki: https://github.com/Marak/roles.js - ACL [20:38] jesusabdullah: trustworthiness is hard to measure [20:38] teadict: the ones closer to node most influential people, should be the best [20:38] chot2 has joined the channel [20:38] pronam has joined the channel [20:39] teadict: mmalecki: wow, those are the ones I like... simple usage as fuck [20:39] teadict: although I may need something more robust.. dunno [20:39] jocafa: Safari, y u no have Function.prototype.bind?! [20:39] mmalecki: teadict: :). this one is specific - it monkey-punches string [20:40] rwaldron has joined the channel [20:40] TheJH: mmalecki, why does marak like monkey-patching so much? :/ [20:41] teadict: I was about to ask if that meant something in particular [20:41] mmalecki: TheJH: he doesn't monkey-patch. at nodejitsu, we monkey-punch. [20:41] TheJH: teadict, it means that you change things outside of your module [20:41] TheJH: teadict, you can e.g. alter the way the core API works [20:41] mmalecki: TheJH: but really, it's pretty convenient [20:41] TheJH: teadict, or you can enhance strings and numbers with additional methods [20:41] mmalecki: yeah, messy, I know [20:42] teadict: I see [20:42] ldn_tech_exec_ has left the channel [20:42] mmalecki: but this API is quite fun and easy to understand [20:42] TheJH: mmalecki, until you require the module twice. [20:42] TheJH: mmalecki, when you do that, you have endless chaos [20:42] mmalecki: TheJH: meh :P [20:43] piscisaureus_ has joined the channel [20:43] jacobolus has joined the channel [20:43] TheJH: mmalecki, maybe something like role=require('roles').role;role(str) to get a role object [20:43] mmalecki: TheJH: meh? :P [20:43] pronam has joined the channel [20:44] TheJH: mmalecki, do it the jquery way :D [20:44] teadict: up next.. mysql mapper.. I found this one https://github.com/sdepold/sequelize [20:45] mmalecki: TheJH: meh ;p [20:45] teadict: or is there already a ORM that does it all? [20:46] dubenstein has joined the channel [20:47] fomatin: hey, is anyone here familiar with express? [20:47] otakutom_ has joined the channel [20:47] TheJH: LOLWHUTWTF? https://github.com/akdubya/dustjs/blob/master/lib/parser.js#L164-199 [20:47] TheJH: my brain, it hurts [20:48] ismell has joined the channel [20:48] mmalecki: TheJH: computer science, man [20:48] teadict: well, it's called dustjs.. [20:48] lperrin has joined the channel [20:48] TheJH: ok, I'll do my own :/ [20:48] teadict: maybe if you require('vacuum.js')? [20:48] tuhoojabotti: TheJH: better use hogan mustache [20:48] teadict: lawl I'm already making node jokes [20:49] pronam_ has joined the channel [20:49] tuhoojabotti: teadict: No need for that .js [20:49] teadict: right [20:49] tuhoojabotti: good nigjt ya'll [20:49] dubenstein has joined the channel [20:49] tuhoojabotti: night even [20:50] TheJH: teadict, hey, vacuum doesn't exist yet :D - can I have it? :) [20:50] rwaldron has joined the channel [20:51] tilgovi has joined the channel [20:51] tilgovi has joined the channel [20:51] teadict: TheJH: only if you think of something awesome for it to do in the next 5' [20:51] teadict: like empty a whole file system! [20:53] Swimming_Bird has joined the channel [20:53] teadict: async looks important [20:53] teadict: I'll include in the final list [20:54] dubenstein has joined the channel [20:54] andrewsbrain has joined the channel [20:54] slajax has joined the channel [20:56] teadict: moment or xdate? [21:00] buu: So um [21:01] teadict: buu: you're about to come out of the closet? [21:01] buu: Maybe later [21:01] teadict: that's cool [21:01] buu: I was trying to figure out how to perform a regex match [21:02] buu: And check if it's true [21:02] buu: I want the JS equivalent of: if ( /regex (matches)/ ) { print $1 } [21:03] jetienne has joined the channel [21:03] draginx has joined the channel [21:03] draginx: If I have /opt/node/bin in my PATH why can't npm installer find it? [21:04] teadict: holy shit.. node-inotify just solved a bunch of my problems [21:04] teadict: <3 [21:05] pronam has joined the channel [21:05] teadict: I'm in love with how node and linux stuff are so close [21:05] fomatin has joined the channel [21:06] teadict: stuff as in methods to do.... stuff [21:07] itayneeman has joined the channel [21:08] draginx: How do I make npm stuff global to everyone? [21:08] draginx: or at least make /opt/node/bin open to everyone? [21:08] draginx: for reading purposes [21:09] teadict: npm packages install globally if done under npm installation path [21:09] teadict: right? [21:09] draginx: well i installed node under root [21:10] teadict: I don't think compiling node as root is necessary [21:10] draginx: so bin is root:root [21:10] purr has joined the channel [21:10] draginx: its not but I did it anyway [21:10] teadict: if out of fear? undo it [21:10] teadict: it'll bring troubles [21:10] teadict: or not, but y'know [21:10] draginx: anyway… just trying to make the bin and everything in there readable to everyone [21:11] draginx: ….well how should I install nodejs then? o-o [21:11] JaKWaC has joined the channel [21:12] purr has joined the channel [21:13] teadict: if you compile node as normal user, which installs npm as normal user, there won't be any permissions-related issues [21:14] teadict: that much I know [21:14] teadict: the workarounds to make it all work after compiling as root, I don't think they're worth it [21:14] maushu has joined the channel [21:14] teadict: but maybe I'm off, dunno [21:14] purr has joined the channel [21:14] pronam has joined the channel [21:15] draginx: teadict: yeeaaah cause then what about other users? O_o [21:15] sh1mmer has joined the channel [21:16] fomatin has joined the channel [21:17] teadict: draginx: you mean as in collaboration when developing? [21:17] teadict: that's fix by using a versionning control system, not playing with permissions.. [21:17] AndreasMadsen has joined the channel [21:17] draginx: k [21:17] teadict: but maybe I'm being too rude and you need something in particular, in which case I apologize [21:18] josh9: any good ci people here use that can also work with non js codebase? [21:18] draginx: teadict: well the problem is i want ot have multiple apps written in nodejs [21:18] pquerna: buildbot, jenkins. [21:18] draginx: each app will be in its own directory [21:19] draginx: i essentially dont want to keep on npm install'ing for every little thing =/ [21:19] draginx: and for every little project, etc. [21:19] perezd_ has joined the channel [21:19] ger^kallisti has joined the channel [21:19] teadict: I think it's actually recommended to keep apps appart [21:19] teadict: and npm install on their path whatever [21:19] josh9: pquerna: thanks [21:20] teadict: people: requirejs / yepnope ? [21:21] wookiehangover has joined the channel [21:22] purr has joined the channel [21:23] thalll has joined the channel [21:24] eastc: I'm going node happy...so many modules to use [21:24] pizthewiz has joined the channel [21:24] teadict: eastc: I'm currently filtering a 50 modules list [21:24] teadict: so I can start coding [21:24] teadict: it's insane [21:25] eastc: i know right [21:25] thalll has joined the channel [21:25] eastc: so awesome [21:25] TheJH: teadict, I just want to make a templating module :D [21:25] TheJH: teadict, not a filesystem emptier or so [21:26] eastc: http://toolbox.no.de/ [21:26] eastc: this website is awesome [21:26] TheJH: teadict, "vacuum" is just a cool name [21:26] pauls1: anyone know why a failed dnode client->server connection (ECONNREFUSED) causes the process to terminate? should it be manually handled somehow like this? http://rentzsch.tumblr.com/post/664884799/node-js-handling-refused-http-client-connections [21:26] eastc: vacuumJS [21:26] Neil__ has joined the channel [21:27] subbyyy has joined the channel [21:27] TheJH: teadict, I'll just use it if nobody else did in a few hours or so :P [21:27] TheJH: ACTION is away [21:28] brianseeders has joined the channel [21:28] wankdanker has joined the channel [21:29] eastc: Moment.js [21:29] eastc: awesome [21:32] teadict: yeah [21:32] caioketo: Someone got a good example how to convert byte array to string (or array) so I can change byte protocol to string protocol in node.js? [21:32] purr has joined the channel [21:32] brianloveswords has joined the channel [21:34] criswell has joined the channel [21:36] pauls1_ has joined the channel [21:36] Wa has joined the channel [21:37] CarterL has joined the channel [21:37] mbrevoort has joined the channel [21:41] Sorella has joined the channel [21:43] briancra_ has joined the channel [21:43] stagas has joined the channel [21:47] lperrin1 has joined the channel [21:49] josh9: pquerna: /clo [21:50] josh9: pquerna: ignore me.. [21:50] josh9 has left the channel [21:52] lupomont_ has joined the channel [21:52] andrew12 has left the channel [21:52] andrew12 has joined the channel [21:53] andrew12: oh yeah i turned off joins/quits/nick chnges/parts in irssi for this channel [21:53] andrew12: heh [21:58] ShinyDarkness has joined the channel [21:58] lupomont_ has joined the channel [21:58] ppcano has joined the channel [22:00] Knifed has joined the channel [22:05] purr has joined the channel [22:05] jstash: i want to submit a pull request for a bugfix... does it need to be against master or can it be against v0.6 ? [22:05] jakehow has joined the channel [22:06] hotroot has joined the channel [22:07] hotroot: Is it faster and more efficient to do something like alert(Math.random.etc); then doing var rand = math.random.etc then alert(rand)? [22:07] jstash: i guess Contributing on the wiki says master. [22:07] hotroot: Or am I just assuming non existent benefits of it running anonymously [22:08] hotroot: Err, not anonymously, whatever it's called [22:08] purr has joined the channel [22:09] stagas has joined the channel [22:09] wmage has joined the channel [22:10] draginx: why would I get a ReferenceError: express is not defined for nodejs IF I do in fact have express in node_modules in the same dir? [22:11] jstash: draginx: missing require() ? [22:11] draginx: nope i got it [22:11] draginx: http://pastie.org/private/vhdevdqm6t7mtscw3fkcpa [22:12] jstash: draginx: needs `var express = require('express'); var app = express.createServer()` [22:12] matt_c has joined the channel [22:12] draginx: oh [22:13] bogomips2_ has joined the channel [22:14] Cromulent has joined the channel [22:14] pandeiro_ has joined the channel [22:17] jetienne has joined the channel [22:18] mike5w3c has joined the channel [22:21] DTrejo has joined the channel [22:21] matt_c has joined the channel [22:21] djcoin has joined the channel [22:21] jakehow_ has joined the channel [22:22] Dreamer3 has joined the channel [22:23] stonebranch has joined the channel [22:25] shinuza_ has joined the channel [22:27] shinuza__ has joined the channel [22:27] hotroot1 has joined the channel [22:28] Helloer has joined the channel [22:28] c4milo has joined the channel [22:30] matt_c has joined the channel [22:31] dubenstein has joined the channel [22:32] erichynds has joined the channel [22:33] hackband has joined the channel [22:33] hotroot has joined the channel [22:36] dubenstein has joined the channel [22:37] dwhittle has joined the channel [22:39] igl has joined the channel [22:43] socketio\test\51 has joined the channel [22:43] socketio\test\42 has joined the channel [22:44] andrew12: hmm [22:44] andrew12: the package for os x on nodejs.org seems to cause a "Trace/BPT trap" on leopard [22:45] context: install using homebrew [22:46] andrew12: oh yeah .. heh [22:46] springmeyer has joined the channel [22:46] k1ttty has joined the channel [22:46] andrew12: not sure why i didn't try that first [22:46] andrew12: silly me. [22:47] andrew12: oh cool, it failed [22:48] andrew12: https://gist.github.com/972460419713b352ecdc [22:49] Poetro has joined the channel [22:49] jskulski has joined the channel [22:49] andrew12: whatever, i just won't use this computer for node [22:50] andrew12: i need to upgrade it to (at least) snow leopard anyways [22:51] webben has joined the channel [22:53] Sirwan has joined the channel [22:53] Sirwan: Hi, how do I install nodejs on centos 6? [22:53] context: no core2. old gcc ? [22:54] context: andrew12: what kind of processor [22:54] andrew12: it's a 2006 imac, intel, 64 bit [22:54] context: doesn't tell me what i asked [22:54] andrew12: "what kind of processor" [22:55] Sirwan: this does seem to work : yum localinstall --nogpgcheck http://nodejs.tchol.org/repocfg/fedora/nodejs-stable-release.noarch.rpm [22:55] TheFuzzball has joined the channel [22:55] andrew12: also, like i said, i'm just not going to bother with that computer. [22:55] andrew12: so it doesn't really matter. [22:56] Sirwan: anyone ? [22:56] kmiyashiro has joined the channel [22:57] JaKWaC has joined the channel [22:58] kliff has joined the channel [22:58] context: andrew12: intel is the make, not the model [22:58] criswell has joined the channel [22:59] Sirwan: so much for support on IRC channels [22:59] maxogden: Sirwan: happy holidays to you too! [23:00] context: early 2006 would have been the core not core2 [23:00] MooGoo: Sirwan: download source, ./configure && make && sudo make install [23:00] Sirwan: ./configure is not working [23:00] context: but brew should probably catch that [23:00] context: andrew12: update your xcode [23:00] MooGoo: Sirwan: how does it fail [23:00] Sirwan: iv just got my mt (dv) server [23:00] JaKWaC has joined the channel [23:00] andrew12: 17:55 < andrew12> also, like i said, i'm just not going to bother with that computer. [23:00] andrew12: 17:55 < andrew12> so it doesn't really matter. [23:00] context: ahh kk [23:01] Sirwan: im trying to do it this way becuase im ssh;ing [23:01] Sirwan: yum localinstall --nogpgcheck http://nodejs.tchol.org/repocfg/fedora/nodejs-stable-release.noarch.rpm [23:01] andrew12: i'm on a better computer now :p [23:01] context: im not even sure if homebrew supports leopard [23:01] andrew12: it must, because i've got it on there right now and i've used it to install a few things [23:01] andrew12: but i do need to update xcode [23:01] MooGoo: eh...cant help there....just know centos tends to not like packages that have been updated in the last decade [23:02] akter has joined the channel [23:02] andrew12: sometimes i even get 'C compiler cannot create executables' when running ./configure.. then I give up :p [23:02] andrew12: which is why I mainly use that machine for music [23:02] MooGoo: os x isnt good for things [23:02] CIA-109: node: 03Ryan Dahl 07isolates2 * r1a3b283 10/ (6 files in 3 dirs): move isolate V8 functions out of node.cc - http://git.io/fGzaEw [23:02] CIA-109: node: 03Ryan Dahl 07master * r624f70e 10/ (.gitignore Makefile configure tools/gyp_node): [23:02] CIA-109: node: GYP: rename options.gypi to config.gypi [23:02] CIA-109: node: Sounds more familiar to unix users used to config.h - http://git.io/eLlIzA [23:02] context: sirwan: make sure you are running it as root [23:03] jbpros_ has joined the channel [23:03] Sirwan: I am as root [23:03] Sirwan: to ./configure should i be in the node folder? [23:03] context: i thought you said you were installing the package [23:03] context: words of wisdom: if you dont know how to install from source, use the package. [23:03] Sirwan: im getting this error: /configure File "./configure", line 167 o['variables']['node_prefix'] = options.prefix if options.prefix else '' [23:04] MooGoo: hm [23:04] MooGoo: maybe node doesnt use configure [23:04] tomyan has joined the channel [23:04] context: wraong [23:04] MooGoo: k then [23:04] MooGoo: centos sux....arch is cool [23:04] MooGoo: wait [23:04] context: sirwan: just use the package [23:04] MooGoo: what version of python [23:05] MooGoo: do you have installed [23:05] context: they should have configure check the python version already already [23:05] Sirwan: python 2.4 [23:05] ryah: TheJH: pong [23:05] Sirwan: which package should I install can i have a direction or a command to put into this ssh [23:06] cognominal has joined the channel [23:07] QaDeS has joined the channel [23:07] TheJH: ryah, at http://nodejs.org/docs/latest/api/addons.html , there's a recommendation to look at https://github.com/ry/node_postgres "for a real example" - isn't that code somewhat outdated? [23:07] context: you pasted the damn command [23:07] context: so ssh into the server [23:07] context: and run that command [23:07] Sirwan: well.. i pasted it to say it didnt work [23:07] QaDeS: hiyas. i'm new to node, so i was wondering what's the first address to look for documentation about npm installed modules [23:08] context: 'it dont work' ... can you please be more vague. we cant help you when you give us too much detail [23:08] secoif: QaDeS you can use npm home/info modulename [23:08] TheJH: ryah, e.g. you use EventEmitter in C++ land - does that work in v0.6? [23:08] MooGoo: Sirwan: the internets is telling me python 2.5 at the least is required [23:08] Sirwan: this command: sudo yum localinstall --nogpgcheck http://nodejs.tchol.org/repocfg/fedora/nodejs-stable-release.noarch.rpm [23:08] ryah: TheJH: yes we should remove that [23:09] Sirwan: is giving me this error: oaded plugins: fastestmirror Setting up Local Package Process Cannot open file: http://nodejs.tchol.org/repocfg/fedora/nodejs-stable-release.noarch.rpm. Skipping. Nothing to do [23:09] ryah: what's a good real example? [23:09] secoif: QaDeS npm info moduleName will print out module info, npm home moduleName will take you to the project's home page [23:09] context: pastie.org [23:09] ryah: node-hiredis [23:10] QaDeS: nice, thank you! [23:10] natebeck has joined the channel [23:10] context: sirwan: pastie.org the command you ran and all output [23:10] Sirwan: ok] [23:10] secoif: QaDeS also http://toolbox.no.de/ for module discovery [23:11] CIA-109: node: 03Ryan Dahl 07v0.6 * rd85c85a 10/ doc/api/addons.markdown : Change 'real example' in addon doc - http://git.io/I9j8GQ [23:11] ryah: TheJH: --^ [23:11] Sirwan: *facepalm* myself* ... pastebins down [23:12] TheJH: use gist [23:12] andrew12: use a different one then [23:12] andrew12: http://gist.github.com [23:12] Sirwan: ha [23:12] Sirwan: githubs got the ugliest UI [23:12] andrew12: hardly [23:12] context: wow. [23:13] context: really.... out of the hundreds of paste sites (including the one i posted) you cry cause the one that sucks the most is down ? [23:13] Sirwan: ok here: https://gist.github.com/1515633 [23:13] context: you are already root, you dont need to sudo [23:14] marshall has joined the channel [23:14] marshall: hey node [23:14] Sirwan: im using python 2.4 [23:14] context: and that file exists :/ [23:15] context: upgrade [23:15] marshall: I'm trying to figure out how to use EventEmitter to save a bunch of things to a db, then tell me when everything has been saved but I don't think I'm using EventEmitter properly: http://codr.cc/c9c927/js [23:15] context: marshall: there are nice libs that make it easy to execute a bunch of things then be notified when they are all dne [23:15] ShinyDarkness has joined the channel [23:16] Sirwan: what file ? [23:16] context: marshall: dont think you want spaces in your event names [23:16] hipsters_ has joined the channel [23:16] context: do thing_saved [23:17] arcanis has joined the channel [23:17] postwait has joined the channel [23:17] jskulski has joined the channel [23:17] avih has joined the channel [23:18] context: sirwan: the file that url points to [23:18] context: sirwan: you can always try fetching the file manually then execute the command with file path instead of url [23:18] Sirwan: well then thats what i was saying [23:18] Sirwan: does anyone know a phucking link to installing node [23:18] Sirwan: fetching manually? [23:18] context: stop running a 4 year old release of an OS ? [23:18] Sirwan: its centos 6 [23:19] context: your first mistake was running centos [23:19] Sirwan: whats wrong with centos ? [23:19] Sirwan: and what do you recommend ? [23:19] jesusabdullah: centos is what you could call a "stable" release [23:19] jesusabdullah: which in distro terms means everything is ancient [23:19] jesusabdullah: SO ancient there haven't been any significant bugfixes in, well, a long time [23:20] jesusabdullah: so you KNOW what's there works, it's just really stale [23:20] akter has joined the channel [23:20] marshall: context: why don't I want spaces in my event names? [23:20] Sirwan: so no one out there has node on centos ? [23:20] marshall: context: and I'd like to understand how to use eventemitter properly before I use a library [23:20] QaDeS: has anyone here tried node.js on a sunfire yet? [23:21] context: sirwan: thats funny. centos 6 doesn't have python 2.4 [23:21] andrew12: hmm [23:21] MooGoo: man I mentioned this 12 hours ago [23:21] MooGoo: it requires at least 2.5 [23:21] jesusabdullah: That's what I mean by stale, see? [23:21] context: marshall: im not sure spaces in event names are allowed. ive never seen or ever heard it recommended. and .... you can always just TRY it [23:21] jesusabdullah: python 2.4 is old enough that many libraries are no longer supporting it [23:21] andrew12: is there any sort of way to do something like ruby's IO.pipe in node? [23:22] jesusabdullah: and God forbid you get stuck with python 2.2 [23:22] Sirwan: MooGoo: node requires 2.5 at leasT? [23:22] jesusabdullah: I think I know of maybe one python library that still supports 2.2 [23:22] MooGoo: conversly, on arch python3 is default [23:22] context: sirwan: centos 6 has python 2.6. so you installed 2.4 manually or you are not running centos 6 [23:22] MooGoo: Sirwan: thats what the internets tell me [23:22] andrew12: doesn't centos require 2.4 [23:22] briancray has joined the channel [23:22] andrew12: heh [23:22] context: centos doesn't even have 2.4 ! [23:22] MooGoo: 2.5 is too new and unstable for cent [23:23] MooGoo: they are pushing it with 2.4 [23:23] context: why does the package list show 2.6 [23:23] Sirwan: so is that why im getting an error becuase i have 2.4 [23:23] jesusabdullah: probably [23:23] MooGoo: python --version [23:23] context: 5.7 has 2.4 [23:23] context: 6.0 has 2.6 [23:24] Sirwan: iv found this pagE: [23:24] Sirwan: has differnt phucking instructions [23:24] Sirwan: maybe UPDATED INSTRUCTIONS [23:24] Sirwan: some thing some people try looking for [23:24] Sirwan: rather than a 2 foot API documentaiton on nodejs [23:24] Sirwan: which has no bearing on the average user [23:25] Sirwan: Installing : nodejs-stable-release 1/1 Installed: nodejs-stable-release.noarch 0:5-3 [23:25] Sirwan: http://nodejs.tchol.org/ [23:26] context: wow. [23:26] context: 'this page' [23:26] context: again. please be more vague when talking to us [23:26] Sirwan: how can i test whether node has been installed ? [23:26] context: run the node command ? [23:26] Sirwan: which is ? [23:26] Sirwan: be more vague dude [23:27] Sirwan: maybe ill get it [23:27] context: 'node' ? [23:27] context: THE *NODE* COMMAND [23:27] Sirwan: it says commend not found [23:27] Sirwan: after having just told me its been installed [23:27] context: if thats vague ill try to be more... [23:27] context: try running 'rehash' [23:27] context: maybe if you didn't run such a PoS distro you wouldn't have so many problems [23:27] kliff: Sirwan: you are the guy fitting on the #express channel the other day, right? [23:28] kliff: fighting* [23:28] Sirwan: no kliff [23:28] kliff: go get a book [23:28] Sirwan: im trying to get node working [23:28] context: amen to that [23:28] kliff: read about node [23:28] Sirwan: i have [23:28] kliff: someone shouldn't have to tell you to run the node command [23:28] Sirwan: not much out there evidently [23:28] context: did you follow ALL the instructions [23:28] kliff: thats not true [23:28] context: that yum localinstall is not the only command you need to run [23:28] kliff: node has good docs [23:29] context: maybe if you 'read' more and complained less stuff would work [23:29] dilvie has joined the channel [23:29] kliff: i can understand that maybe there is not stuff on centos etc [23:29] Sirwan: so what OS would you recommend ? [23:29] kliff: and thats ok [23:29] kliff: but you should know a bit more about installing node [23:29] kliff: on whatever machine you have [23:29] context: debian, ubuntu, anything besides cent ? [23:29] Sirwan: i have INSTALLED NODE ON MY MAC BEFORE [23:29] Sirwan: cent sucks that bad ? [23:30] kliff: i am on mac, i installed it on mac and so no one needs to tell me to run 'node' [23:30] context: you tell us. you seem to be enjoying it [23:30] Sirwan: i know about node you pratt [23:30] Sirwan: im just saying its said its installed [23:30] context: it took me about 30 seconds to get node running on ubuntu [23:30] Sirwan: yet when i run node [23:30] Sirwan: the command doesnt exist [23:30] context: sirwan: did you run the second command yet [23:30] Sirwan: which second command? [23:30] Sirwan: you only gave me one *NODE* [23:30] context: see [23:30] context: did you read ? [23:30] Sirwan: yes [23:30] context: https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager [23:30] Sirwan: *NODE* [23:31] context: scroll down to fedora/cent/etc [23:31] context: i see TWO commands [23:31] context: not one, two [23:31] Sirwan: yes [23:31] Sirwan: jus tdid that [23:31] Sirwan: look ill pastebin [23:31] Neil__ has joined the channel [23:31] context: sirwan: but no. cent is awesome. you cant even figure out how to install packages. that distro must be fucking awesome [23:31] TheFuzzball: Just use a real OS, like OS X :) [23:32] Garo_ has joined the channel [23:32] Sirwan: https://gist.github.com/1515673 [23:32] context: i use debian/ubuntu for servers [23:32] Sirwan: therse what i got from installing that second command too: https://gist.github.com/1515673 [23:32] context: try nodejs -v [23:33] TheFuzzball: I like Ubuntu headless, I also quite like Arch Linux [23:33] context: learn how to use a damn terminal... nod will show you all commands that start with nod if any exist [23:33] mmalecki: vagrant is a win [23:33] Sirwan: ah ok no it says 0.0.6 [23:33] Sirwan: so how come node didnt work and nodejs -v did ? [23:33] mmalecki: works on os x and linux, so if you need a sane os fast, it's definitely a good choice [23:33] mmalecki: all headless and shit [23:34] Sirwan: centos is one of the fastest os's [23:34] context: sirwan: cause centos is a pile of shit that installed node as the command 'nodejs' and not 'node' like ALL other distros [23:34] Sirwan: omg [23:34] Sirwan: fuck [23:34] mmalecki: centos *is* a pile of shit [23:34] Sirwan: context: what os do you use ? [23:34] Sirwan: whats the most common os for node ? [23:34] context: sirwan: centos is linux. linux is linux. saying one distro is faster than anotehr is the dumbest thing ive heard all day [23:34] mmalecki: I think it has some old tar, hope you'll get npm working [23:34] towski has joined the channel [23:34] context: sirwan: just go use node already. [23:34] k1ttty_ has joined the channel [23:35] Sirwan: whats the most community standard consensus amongst the dick wods in here ... tht [23:35] Brandon_R has joined the channel [23:35] Sirwan: who ever runs ubuntu as a server is an idiot [23:35] context: for asking for help you are very nice about it. [23:35] Brandon_R: hi guys [23:35] Brandon_R: godaddy no longer supports sopa [23:35] context: sirwan: at least my i can install packages on my ubuntu server and THEY WORK and im not complaining on irc for a half hour trying to get something as simple as node installed. [23:36] Sirwan: context: are you using mediatemple ? [23:36] context: sirwan: so say all you want. ill stick with what sucks and actually works. [23:36] context: no. [23:36] hij1nx has joined the channel [23:36] Sirwan: so which host .. ? [23:36] mmalecki: Sirwan: many people run Ubuntu on their servers [23:36] context: i have a private vps at prgmr. otherwise i use heroku [23:37] mmalecki: LTS version of course. [23:37] context: holy damn media temple is expensive [23:37] Sirwan: brb speaking to dickheads on mediatemple's skype [23:37] mattgifford has joined the channel [23:37] context: i can get 4 512M vps' for the price of one md 512M [23:38] context: you seem like a person that likes to waste money and time. and cry about it all at the same time [23:38] akter has joined the channel [23:38] kliff: prgmr --> we don't assume you are stupid [23:38] nicholasf has joined the channel [23:38] mmalecki: $30 monthly, seriously? [23:38] context: i see $50 for a 512M [23:38] jetienne has joined the channel [23:39] mmalecki: context: http://mediatemple.net/webhosting/ve/pricing.php [23:39] context: oh. i thought he was on dv [23:39] mmalecki: I have a 2 GB, 2 GHz vps for something around $10 [23:39] mmalecki: context: not sure what he's on [23:39] context: $30 is still a quite a bit [23:39] context: mmalecki: where you run at ? [23:40] Brandon_R: who are you guys' domain registrar? [23:40] mmalecki: context: http://vihost.pl/ [23:40] tuhoojabotti has joined the channel [23:40] mmalecki: context: yeah, polish one [23:40] avih has joined the channel [23:40] context: ahh [23:40] mmalecki: context: you should be able to get gist of it from the table [23:40] context: ive been at prgmr.com for over a year now. awesome service [23:40] Dmitrijus: Brandon_R: gandi.net! [23:40] mmalecki: they use hetzner as their provider [23:41] mmalecki: oh, prgmr looks cool [23:41] context: simple place. awesome people. [23:41] nickadeemus2002 has joined the channel [23:42] context: brandon_r: namecheap, and dnsimple for dns [23:42] akter has joined the channel [23:43] eldios has joined the channel [23:44] lupomont_ has joined the channel [23:45] Sirwan: context: which version of ubuntu are you using ? [23:49] akter has joined the channel [23:49] eldios: I'm really having a hard time writing my first tests for TDD -_-" [23:50] jimt has joined the channel [23:50] context: sirwan: i run the latest. but use LTS if you want to let it sit for a long time without upgrading [23:50] Sirwan: MT have natty harwol [23:50] Sirwan: would that be sufficient to run node? [23:51] context: sure [23:51] context: or use the node you have already [23:51] devongovett has joined the channel [23:55] akter has joined the channel [23:55] jskulski has joined the channel [23:58] mattgifford has joined the channel [23:59] TheFuzzball: Is there a cross-platform way to watch a directory for changes, e.g. deleted file, added file, modified file, etc. [23:59] kmiyashiro has joined the channel