duanedesign | czajkowski: it is on my todo for Monday morning. | 01:09 |
---|---|---|
paultag | nigelb: I'm using node.js to play around :) | 06:14 |
paultag | It's pretty awesome | 06:15 |
paultag | I just wrote a templating engine for it, with data stored in JSON. I should really update it to actually, you know, do something | 06:15 |
czajkowski | duanedesign: great | 08:11 |
czajkowski | paultag: go to sleep | 08:11 |
nigelb | paultag: neat | 10:12 |
nigelb | paultag: gah, now I'm installing node.js too. | 10:36 |
paultag | czajkowski: I did :) | 15:56 |
paultag | nigelb: I have a sever where it can be running on port 80 | 16:06 |
paultag | nigelb: so I'm going to write something cool with nodejs, I think. I have it templating, so I need it to collaborate with something. Perhaps if I can work out the callbacks, I can make a pair-programming editor | 16:07 |
paultag | have it auth'd, and then work off git or something. It'll clone it, filebrowse on the left, edit on the right, and let you commit and stuff | 16:07 |
paultag | but only with local access :) | 16:08 |
paultag | and a socket api, pretty please | 16:10 |
nigelb | paultag: something like web-based gobby? | 17:18 |
paultag | nigelb: like google docs, but with like vi syntax or something | 17:18 |
nigelb | that's be sooooo cool ;) | 17:18 |
nigelb | paultag: node.js overall seems to be very cool | 17:19 |
paultag | nigelb: yeah, it's a tad wonky, but I like the webserver having a state | 17:19 |
nigelb | heh | 17:19 |
paultag | nigelb: so you can preload data, then start serving statc stuff, and re-work it on different events | 17:19 |
paultag | nigelb: it's going to run a whole lot faster then php, imho | 17:19 |
paultag | I've not tested it, but I have a feeling | 17:19 |
nigelb | its probably faster than most languages | 17:19 |
nigelb | Because particularly of its async loading | 17:20 |
paultag | I've got to try client / server stuff. I think you have to vend out javascript in javascript | 17:20 |
paultag | something about that seems dirty, I need to figure out how to do it right | 17:20 |
nigelb | What I like best about node.js is that now you only need 1 language for client and server side | 17:21 |
nigelb | which is like *awesome* | 17:21 |
paultag | nigelb: i'm not convinced yet | 17:21 |
paultag | nigelb: it's really awkward to do a lot of stuff | 17:22 |
nigelb | paultag: well, true. Callbacks and callbacks and more callbacks | 17:22 |
paultag | nigelb: yeah, but if you can model it right, callbacks rock hard. | 17:22 |
paultag | nigelb: what I don't like is that you have to smoosh it all into one file | 17:22 |
paultag | nigelb: and that the js tree makes it hard to server actual things, like files | 17:22 |
nigelb | paultag: You'e using 2.5? | 17:23 |
paultag | nigelb: so you can't put a css file in with the js files, and serve it on a request to that file, y'know | 17:23 |
paultag | nigelb: I'm using git | 17:23 |
nigelb | There probably really active development | 17:23 |
paultag | nigelb: yeah, I'm using the git head | 17:23 |
paultag | nigelb: I have it installed to opt, and similinked in | 17:23 |
nigelb | paultag: http://transloadit.com/ | 17:23 |
paultag | f | 17:23 |
paultag | whops! | 17:24 |
paultag | gnome-do's not working | 17:24 |
nigelb | I think I showed you before, its built with node.js and ffmeg and other open source stuff | 17:24 |
paultag | nigelb: oh yes, you did | 17:24 |
nigelb | paultag: Well, if they can do something so awesome . . . | 17:25 |
nigelb | sky's the limit I'd reckon | 17:26 |
paultag | nigelb: I'm worried about a few things. I think this is *great* as a secondary server, for tracking state ( you don't need a DB to hold "global" states ), but not great for doing the usual things | 17:27 |
paultag | nigelb: I'm tempted to use the nodejs server as a json server, vend off php, and ajax state from node into the app | 17:27 |
nigelb | paultag: that would totally rock | 17:27 |
paultag | nigelb: that or re-write the webserver | 17:28 |
nigelb | paultag: That makes sense from so many standpoints | 17:28 |
paultag | nigelb: thanks :) | 17:28 |
paultag | nigelb: I try and make sense :) | 17:28 |
nigelb | You can always fork and people might be running paultag.node.js :p | 17:28 |
paultag | Nah, I'd be nice and send in patches | 17:28 |
paultag | I don't have time to maintain something like that | 17:28 |
nigelb | heh | 17:28 |
paultag | all I need to do is figure out to how barf json in javascript | 17:29 |
paultag | it should be easy | 17:29 |
nigelb | dude, json is javascript object notation remember? | 17:30 |
paultag | nigelb: that just means that you can take json and it's valid javascript | 17:30 |
nigelb | oh, well, use jquery then :p | 17:31 |
paultag | nigelb: that does not mean javascript can make json, that'd be like saying that c can produce c code because it's written in c | 17:31 |
paultag | nigelb: with nodejs ? | 17:31 |
nigelb | or at least look at jquery source to see how they barf json | 17:31 |
paultag | true that | 17:31 |
paultag | ah, json.org has a json.js script | 17:31 |
paultag | damnit, I can't inline that | 17:32 |
paultag | nodejs, you're cramping my style. Please be built in | 17:32 |
nigelb | Well, if you see jquery compressed, you'll know that anything is in-line-able | 17:32 |
paultag | humm | 17:34 |
paultag | nodejs has something called "JSON.stringify(" | 17:34 |
paultag | I wonder if that'll do it | 17:34 |
nigelb | aha | 17:34 |
nigelb | g31 | 17:34 |
paultag | nigelb: http://pastebin.com/EdrrVCrh | 17:43 |
paultag | nigelb: that's what I just got off my netbook | 17:43 |
paultag | nigelb: and I just got that json stuff to work. Now time to use it :) | 17:44 |
nigelb | paultag: I can't believe its just that much! | 17:48 |
paultag | nigelb: I need to figure out how to make it smarter | 17:49 |
paultag | that and debian needs a patch | 17:49 |
paultag | nodejs is really out of date | 17:50 |
paultag | to the point where that won't run | 17:50 |
nigelb | ew | 17:50 |
paultag | ( and I knew my syntax was right ) | 17:50 |
paultag | so I tried git and it worked flawlessly | 17:50 |
nigelb | heh | 17:50 |
paultag | the only time i've blamed the compiler and won | 17:50 |
nigelb | I just compiled from source - the stable version | 17:50 |
nigelb | I wish there ws something like virtualenv | 17:51 |
paultag | nigelb: I don't like running make install. I've just hacked it in | 17:51 |
nigelb | ah | 17:51 |
paultag | nigelb: I just used bits of my old package manager to do it | 17:51 |
jcastro | wow | 19:30 |
jcastro | with autohide on unity is really starting to be awesome | 19:30 |
nisshh | jcastro, it needs an intellihide :) | 19:33 |
popey | Intellihide(¢∞§¶•ªºœ∑åß∂®ƒ†©\˙µΩ≈ç√∫˙∆¨^˚¬π…“æ‘« damnit! where's the TM symbol! | 20:06 |
vish | ™ | 20:10 |
=== Pici` is now known as Pici | ||
jcastro | nisshh: yeah, some day | 22:16 |
jcastro | right now this will do the trick though | 22:16 |
jcastro | ironically, for all the drama, with autohid on it looks just like 10.10 except minus the bottom panel | 22:17 |
nisshh | jcastro, yeah, hehe | 22:32 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!