--- Log opened Wed May 08 00:00:04 2013 03:47 < jesusabdullah> substack: thinking about making a patch to shux, have a question of style 03:47 < jesusabdullah> substack: ping me whenever 03:51 < substack> yo 03:51 < jesusabdullah> uhhh, actually by shux I mean exterminate 03:52 < jesusabdullah> I'm going to give it a command so you can pass a custom shell to shux 03:52 < substack> makes sense 03:53 < jesusabdullah> https://gist.github.com/jesusabdullah/36671a974d1ee932eb95#file-gistfile1-txt-L3 and https://gist.github.com/jesusabdullah/36671a974d1ee932eb95#file-gistfile1-txt-L27-L33 here 03:53 < jesusabdullah> acceptable? 03:54 < substack> I wish that when I clicked a link in gnome-terminal it just fucking opened in a browser. 03:54 < substack> exterminate should have that 03:55 < substack> jesusabdullah: it should fallback to process.env.SHELL before it tries 'bash' 03:56 < substack> what is the question about style? 03:56 < substack> anyways I don't care about style 03:56 < substack> if I don't like it I'll just change it 04:01 < jesusabdullah> substack: lol okay 04:01 < jesusabdullah> substack: also I agree I want to make that work their algo looks like a pretty simple regexp 04:02 < jesusabdullah> substack: awesome news, I got dc-tycoon working as a shell inside exterminate 04:07 < substack> ! 04:11 < jesusabdullah> substack: https://github.com/substack/exterminate/pull/10 04:11 < jesusabdullah> substack: Yeah, I realized that a) I could bundle it as a windows app, even fork it to run on node-webkit if I wanted to, and that b) I could introduce inline graphics for my cli game really easily 04:12 < jesusabdullah> substack: lots of exciting opportunities here :) 04:13 < jesusabdullah> substack: lemme know what you think of that pull it's been a while since I've contributed to projects outside my small core 04:14 < jesusabdullah> holy shit I can make ACTUAL REAL obnoxious graphics this is gonna be megalulz 04:19 < jesusabdullah> haha animated gifs would be extra special ^__^ 04:33 < substack> juliangruber: https://github.com/substack/crytter#todo 04:34 < substack> I've been talking with Oakland folks building a distributed mesh network so I want to hack out these features to mess with it 04:37 < substack> jesusabdullah: I'm renaming command to shell 04:40 < substack> published 04:41 < jesusabdullah> substack: cool 04:41 < jesusabdullah> substack: which version again? 04:41 < substack> 1.3.0 04:43 < jesusabdullah> word 04:43 < jesusabdullah> GO TEAM VENTURE 04:43 < LOUDBOT> YES I AM ENTIRELY RESPONSIBLE FOR THE PROGRAMMING, MAINTENANCE AND UPKEEP OF THIS BOT 04:49 < Nexxy> MAINTENANCE AND UPKEEP ARE SYNONYMS. STOP USING UNNECESSARY WORDS 04:49 < LOUDBOT> IT'S TIME FOR THE PERCOLATOR! 04:49 < Nexxy> AGREED 05:03 < substack> dominictarr: https://github.com/substack/crytter#todo 05:04 < dominictarr> I'm getting the unicorn error 05:04 < substack> dominictarr: also I just got to the part in the diamond age that talks about phyrephox and how the cryptnet started in oakland 05:04 < dominictarr> haha 05:04 < dominictarr> yes 05:04 < substack> refresh, seems to have temporarily hung 05:05 < substack> also there's a mesh networking group that meets weekly at sudoroom 05:06 < substack> anyways so basically you'll be able to create your own wikileaks 05:07 < substack> crytter ring add wikileaks; crytter ring useradd assange wikileaks 05:07 < substack> oh I should have it handle directionality too 05:07 < substack> read/write for rings 05:07 < dominictarr> substack: was just thinking before about adding scuttlebutt style replication to level- 05:07 < dominictarr> then this will scale... 05:08 < dominictarr> what is a ring for? 05:11 < substack> controlling permissions 05:11 < substack> so you can communicate with just a particular group of people 05:11 < dominictarr> http://cryptnet.net/fsp/cpcd/ 05:12 < dominictarr> I feel kinda like we are archaeologists, rediscovering ancient secrets. 05:12 < substack> can that be used for realtime updates? 05:13 < Nexxy> substack, crytter looks neat 05:14 < Nexxy> substack, have you seen WASTE? 05:14 < substack> nope 05:14 < Nexxy> it's an encrypted p2p filesharing/chat application/protocol 05:14 < Nexxy> using key pairs 05:15 < Nexxy> crytter reminds me of it, you might find some inspiration in it if you can find it 05:15 < substack> yep that looks like exactly the topology I have in mind 05:16 < dominictarr> substack: yes, it will still be real time with leveldb 05:17 < dominictarr> the main difference is that get, set will take a callback 05:17 < substack> it's hilarious that it's actually called cryptnet 05:17 < dominictarr> and you will use a stream to iterate over ranges of keys 05:19 < substack> how soon will I just be able to require('tacodb') to do all the thingsā„¢? :D 05:20 < dominictarr> working on it... 05:20 < rvagg> speaking of which dominictarr, perhaps you should put a placeholder in npm for that name 05:21 < rvagg> a copy of the level package perhaps, it just pulls in levelup & leveldown 05:21 < substack> just do module.exports = require('scuttlebutt') to avoid the wrath of isaacs 05:21 < substack> go go go 05:21 < rvagg> BEFORE ANYONE ELSE READS THIS! 05:21 < LOUDBOT> JUST DOING MY DUTY FOR THE LUG 05:23 < substack> speaking of, getting some tacos 05:24 < substack> before everything closes 05:25 < dominictarr> okay, I just published the unusable code i already have, that should satisify our gatekeeper 05:29 < substack> hooray! 05:41 < jesusabdullah> I need to get a screenshot of this weird behavior I get when I try to xtshow image files 05:41 < jesusabdullah> substack: ^^ 05:41 < dominictarr> this feels kinda weird 05:41 < dominictarr> I'm gonna go get on a plane 05:41 < dominictarr> but I'm actually leaving stuff behind 05:41 < jesusabdullah> substack: have you seen this where xtshow images show up really tiny and you can't type anything and you have to press ctrl-c and then it only kind of resets the terminal? 05:41 < dominictarr> not taking every thing 05:42 < dominictarr> (although, I could do that) 05:42 < jesusabdullah> oh I see, very interesting 05:42 < jesusabdullah> I get it 05:42 < jesusabdullah> a weird bug involving window height 05:44 < substack> jesusabdullah: it resizes automatically 05:44 < substack> that logic might be broken 05:46 < jesusabdullah> substack: yeah saw that, my guess is that's what's going on 05:46 < jesusabdullah> substack: maybe tomorrow I'll fuck with it, though I'll probably take on adding url links first 05:47 < jesusabdullah> substack: How would you feel about being able to override the static folder assets location, for "configurability" ? 05:47 < jesusabdullah> substack: kinda like how xmonad does with the "config file" except for the css and index.html 05:47 < substack> how necessary is that? 05:48 < jesusabdullah> I mean, the alternative is to fork, sudo npm link and modify in-place 05:48 < jesusabdullah> rebase changes from github 05:48 < jesusabdullah> not the worst thing really 05:48 < jesusabdullah> I'm not sure which is preferrable honestly 05:53 < substack> jesusabdullah: what about providing an api-driven version of exterminate instead? 05:53 < substack> right now there is no api version, only the command 05:56 < jesusabdullah> api version? What do you have in mind? 05:57 < jesusabdullah> oh, so you can require it in your own stuff 05:57 < jesusabdullah> that's a pretty good idea 05:57 < jesusabdullah> that would be really useful for me actually 17:14 < defunctzombie> what is everyone using to do ajax (same domain and xdomain) instead of jquery? 17:15 < defunctzombie> Raynos: ^ 17:20 < Raynos> defunctzombie: npm docs xhr 17:21 < defunctzombie> Raynos: what browsers does this work on? 17:21 < defunctzombie> is it tested? 17:21 < Raynos> ie9 17:21 < Raynos> cors 17:21 < Raynos> ff & chrome too 17:21 < defunctzombie> sigh 17:21 < Raynos> i use it in production 17:21 < Raynos> and fixed all the ie9 cors bugs 17:22 < Raynos> defunctzombie: if you want ie8 just ragequit 17:22 < defunctzombie> heh 17:22 < Raynos> my recomendation for ie8 17:22 < Raynos> is script tags 17:22 < Raynos> and jsonp 17:54 < guybrush> rvagg: huge thx for node-addon-examples 17:55 < guybrush> its very easy to get started, love it 18:15 < defunctzombie> we really need way way more tests for our client side things across browsers 18:22 < Raynos> 100% agree 18:37 < Raynos> isaacs: you were right btw, I needed a very simple queue ( https://gist.github.com/Raynos/3059e454389f819861a9 ) 18:43 < isaacs> Raynos: :D 18:43 < Raynos> and its 10 lines instead of 200 18:43 < isaacs> Raynos: it takes a bit of practice, because it's a subtle thing to notice, but when you notice that you are trying to add features to a data structure that don't quite "fit", then chances are, it's just the wrong data structure. 18:44 < Raynos> https://github.com/aaronblohowiak/routes.js/pull/7 18:44 < Raynos> I feel bad :( 18:45 < isaacs> well... you're fixing incorrect docs, so that's nice 18:45 < isaacs> var router = new require('routes').Router(); // <-- SURPRISE! 18:45 < isaacs> the new there does not do what you'd think it might do! 18:46 < isaacs> the whitespace changes, though, meh. 18:47 < Raynos> oh crap 18:47 < Raynos> FFFFFFFFff 18:47 < Raynos> whitespace 18:47 < Raynos> is there a git tool 18:48 < Raynos> for removing whitespace from a diff 18:48 < joliss> so i'm about to write a package to concatenate multiple streams. tell me one exists already? 18:48 < Raynos> from a commit even 18:48 < Raynos> joliss: many 18:48 < Raynos> joliss: concatenate or merge? 18:48 < joliss> what's merge? 18:48 < Raynos> do you want them to preserve order or do you want to mix them together 18:49 < joliss> Raynos: preserve order; no jumbling 18:49 < Raynos> mixing together is faster because you can read all the streams in parallel 18:49 < Raynos> preserving order is nice because sometimes order matters 18:49 < joliss> no, i need `cat` basically 18:49 < Raynos> streams2 or streams1 18:49 < joliss> most of my code seems to be streams1 18:50 < joliss> but i'm confused as to which api i should be using. s.ubstack tells me streams2 has some trickiness to it. 18:50 < joliss> Raynos: re removing whitespace from a diff: git diff -w --no-color "$@" | git apply --cached 18:51 < joliss> (adds all non-whitespace changes to the index) 18:51 < Raynos> ? 18:51 < Raynos> I just want a way to take my changes 18:51 < Raynos> and remove whitespace from them 18:51 < joliss> ah, maybe i misunderstood 18:52 < Raynos> joliss: https://github.com/dominictarr/stream-combiner 18:52 < Raynos> no wait 18:52 < Raynos> you dont want that 18:52 < Raynos> blargh 18:54 < joliss> Raynos: right? it seems crazy that there isn't already a library for that 18:55 < Raynos> https://github.com/Floby/node-stream-stream 18:55 < Raynos> that should do what you want 18:56 < Raynos> with a bit of a weird api 19:10 < joliss> Raynos: Lovely, thanks! I think the API looks OK, even? 19:11 < joliss> Raynos: so you still need pointers for repairing whitespace? describe your problem again, maybe i have something in my .alias file. :) 19:11 < Raynos> A stream of streams is a slipperly slope 19:11 < Raynos> I want to take a commit where I committed lots of whitespace changes 19:11 < Raynos> and amend / fix that commit 19:11 < Raynos> to remove all the whitespace changes 19:12 < joliss> I'd say back out of it (git reset HEAD^) and use `git diff -w | git apply --cached` to add the non-ws changes. 19:12 < joliss> then re-commit. you can use `git commit -C ORIGINAL_SHA` to reuse the original commit msg 19:12 < joliss> Raynos: ^ 19:15 < Raynos> what is -C 19:16 < Raynos> joliss: epic win 19:17 < Raynos> isaacs: I used git voodoo and fixed the whitespace :D ( https://github.com/aaronblohowiak/routes.js/pull/7 ) 19:17 < joliss> Raynos: -C is short for --reuse-message 19:17 < Raynos> cool 19:19 < Raynos> joliss: https://gist.github.com/Raynos/06ec8dc30541029e2d01 19:20 < joliss> very nice, thanks! :) 19:43 < isaacs> joliss: how does -C differ from -c? 19:44 < joliss> isaacs: -c allows you to edit, -C just commits. (See man git-commit and type "/ -c") 19:45 < joliss> (and "n") 19:45 < hij1nx> http://www.youtube.com/watch?v=ko7TPYJg6Jw +substack 20:01 < substack> defunctzombie_zz: I use the http-browserify shim or hyperquest mostly 21:10 < st_luke> I am allergic to new york 21:10 < pkrumins> why? 21:12 < st_luke> when I got back to the city after a few days my whole face swelled up 21:12 < st_luke> it is the only explanation I can think of 21:13 < pkrumins> literally alergic! 23:01 < Raynos> http://nodejs.org/api/http.html#http_server_listen_port_hostname_backlog_callback 23:01 < Raynos> does that callback get an error? 23:01 < Raynos> or is it not a callback? 23:02 < rvagg> use the source luke 23:04 < rvagg> Raynos: `self.once('listening', lastArg)` -- I believe that's a no 23:04 < Raynos> :( 23:09 < rvagg> hey Raynos, I think we need to build a @yourinamerica style bot that responds to tweets that show up under a search for "javascript promises" 23:11 < Raynos> XD --- Log closed Thu May 09 00:00:10 2013