00:01:55  * _sorensenquit (Ping timeout: 265 seconds)
00:31:03  * stlsaintquit (Quit: leaving)
00:38:51  * thatguydanjoined
00:51:02  * shykeschanged nick to zz_shykes
01:54:59  <thatguydan>bah, does anybody know anything about upstart?
01:55:11  <thatguydan>specifically preserving environment in executing node as another user
02:01:52  <chapel>thatguydan: env of the current user or one running node?
02:02:05  * _ritchjoined
02:02:36  <thatguydan>i've got them in /etc/environment
02:02:44  <thatguydan>but i'd like them visible as the user running node
02:04:42  * thatguydan_joined
02:06:58  * thatguydanquit (Ping timeout: 240 seconds)
02:06:58  * thatguydan_changed nick to thatguydan
02:10:41  * thatguydan_joined
02:10:54  * thatguydanquit (Read error: Connection reset by peer)
02:10:54  * thatguydan_changed nick to thatguydan
02:44:29  <chapel>thatguydan: well, are you using sudo or su?
02:46:53  <thatguydan>chapel: tried this: exec su root -c /usr/sbin/job_needing_envs
02:46:55  <thatguydan>and no love
02:47:40  <thatguydan>but passing in -c "/usr/localnode "
02:47:58  <chapel>hmm
02:52:42  * thatguydanquit (Remote host closed the connection)
02:53:03  * thatguydanjoined
02:53:51  * st_lukejoined
02:53:52  <thatguydan>I'm not sure if it's an amazon linux thing, but i was under the impression /etc/environment applied to all
02:53:56  <thatguydan>(shells that is)
02:55:44  <chapel>well
02:55:54  <chapel>su should read from /etc/environment
02:56:00  <chapel>but maybe only for su, and not su account
02:56:32  <chapel>thatguydan: http://unix.stackexchange.com/questions/35338/su-vs-sudo-s-vs-sudo-bash
02:56:37  <chapel>some basic info
03:01:39  * devaholicjoined
03:04:28  <thatguydan>cheers
03:05:44  * _ritchquit (Quit: Leaving.)
03:18:53  <thatguydan>hmm, so doing a "su - ninja"
03:19:03  <thatguydan>and then trying to reference the vars in /etc/environment doesn't work
03:24:58  <chapel>no
03:25:02  <chapel>su - erases vars
03:34:35  <thatguydan>isn't that the kind of shell upstart runs as?
03:35:53  <thatguydan>I think I'm just going to dump them in like /etc/environment.local and source that guy
03:36:16  <devaholic>thatguydan: yes source something
03:36:21  <thatguydan>this just isn't behaving like anybody says it is, i might be an idiot though
03:36:30  <thatguydan>:p
03:41:53  <devaholic>hmm not sure where to put settings for fleet-panel
03:42:16  <SubStack>what settings do you need to have?
03:42:49  * dominictarrchanged nick to dominic[sleeps]
03:42:50  <devaholic>well a git account for one, but also different hubs
03:42:57  <devaholic>and potentially other settings
03:43:28  <SubStack>could just have fleet-panel take a config file as an argument
03:43:31  <SubStack>fleet-panel config.json
03:43:33  <devaholic>im thinking about using fleet.json, but if its not in the pwd then its not going to work very well
03:43:42  * _sorensenjoined
03:43:43  <devaholic>hmm
03:44:26  <SubStack>if you use figc then the config args will get merged with argv https://github.com/substack/node-figc
03:44:45  <SubStack>makes it easier to override args without messing with config files
03:44:53  * _sorensenquit (Client Quit)
03:45:03  <SubStack>also makes it easier to write a wrapper around fleet-panel for other libs later
03:45:33  <SubStack>so if for instance I wanted to plug fleet-panel into seaport to build the config data programmatically from the available subsystems
03:45:36  <devaholic>btw i plan on maintaing fleet panel, so if you have any must-have suggestions ill add them
03:45:48  <SubStack>excellent!
03:46:13  <SubStack>probably going to be using fleet-panel too once we get our stuff running with it
03:46:21  <devaholic>figc looks pretty useful, ill try this
03:46:25  <SubStack>and I still plan on building some of those graph visualizations
03:46:42  <SubStack>open source collaboration! \o
03:46:54  <devaholic>yeah everyone wins!
03:46:56  <devaholic>ftw!
03:48:00  * xaqjoined
03:48:45  <devaholic>also ive been using a thing i called fleet-brigade for one of my clients, so we can spawn a group of processes with one command, still havent thought of a good way to make a module out of it though
03:49:08  <SubStack>nice!
03:49:11  <niftylettuce>BOOM SHA LA KA LA KA
03:49:19  <devaholic>it would be nice if i could access and grok fleet.json as its own module without the other stuff in fleet
03:49:48  <Raynos>devaholic: I think we will fork fleet panel and build on top of it our self
03:50:05  <SubStack>devaholic: I'll expose that stuff when I hack on 1:1 command<->api parity for fleet
03:50:48  <devaholic>SubStack: along those lines, running fleet commands programmatically in node also
03:51:27  <SubStack>that's the plan
03:51:28  <devaholic>fleet.connect('hub-name'); fleet.ps(cb) without needing to consider anything about the net
03:51:40  <SubStack>you can already do that stuff with propagit but it's a bit messy
03:52:18  <devaholic>Raynos: what do you plan on building on top of it?
03:54:50  <niftylettuce>SubStack: would you be interested in going on a cruise boat for ~7 days with a bunch of other hackers? if so, what would interest you in going?
03:55:18  <niftylettuce>SubStack: chapel and I were discussing something like Cruise Conf or something, with a cruise line and we could use Crowdtilt to get a group discount
03:56:09  <niftylettuce>24x7 pizza/ice-cream, tons of food, buffet etc., only like $400-800 for a 7-day cruise
03:56:20  <niftylettuce>that is enticing enough lol
03:57:44  <niftylettuce>anyone else here interested?
03:57:45  <SubStack>niftylettuce: dunno a cruise doesn't seem all that fun
03:58:26  <niftylettuce>SubStack: what about renting a place in St. Thomas or U.S. Virgin Islands for a week?
03:58:43  <niftylettuce>no boat, just island/beach/parties and hacking
03:58:51  <SubStack>meh
03:59:51  <SubStack>I don't really have the money for that kind of stuff right now either
04:00:03  <niftylettuce>this wouldn't be until next year at the earliest
04:00:50  * st_lukequit (Read error: Connection reset by peer)
04:01:11  <Raynos>devaholic: a nicer UI :P
04:02:20  <devaholic>Raynos: the ui is about utility, why not contribute?
04:03:22  <devaholic>niftylettuce: a cruise could be really interesting, depending on the agenda and other details
04:03:56  <devaholic>niftylettuce: havent heard of something quite like that before
04:04:33  <Raynos>devaholic: because I think my coworker will rewrite the UI in angular
04:04:46  <Raynos>devaholic: We may or may not want to write something similar from scratch or contribute. I'll see
04:04:55  <devaholic>Raynos: but its just an admin thing, why not use the DOM?
04:05:10  <Raynos>dont know
04:05:56  <devaholic>crazy! well if you have any awesome ideas for the panel share them
04:06:27  <niftylettuce>my argument for a cruise was that sitting in one place does you no good in terms of opening your eyes, you can't just browse Flickr or YouTube all day, you have to get the f out there and look around
04:07:11  * st_lukejoined
04:07:54  * st_lukequit (Remote host closed the connection)
04:08:10  <devaholic>niftylettuce: how easy it is to get to and/or justify going to a conf is a factor
04:08:38  <niftylettuce>devaholic: screw conf, just a cruise with fellow hackers would be fun
04:08:48  <niftylettuce>chat about stuff over coffee/food like normal people
04:09:19  <devaholic>it would, perhaps it could be a node knockout cruise + extra js stuff :D
04:09:26  <niftylettuce>psht
04:09:30  <niftylettuce>laptops = not good in water
04:09:51  <niftylettuce>laptops = dont have internet in middle of ocean
04:09:55  <devaholic>the internet or� just on boats in general?
04:10:02  <devaholic>mm
04:10:09  <niftylettuce>satellite internet = xpensive
04:10:19  <niftylettuce>$3.50 per minute or something outrageous
04:11:11  <devaholic>what about cell tethering?
04:11:15  <devaholic>not possible?
04:11:22  <devaholic>http://www.panoramas.dk/mars/greeley-haven.html damn that is amazing
04:15:04  <Raynos>just go to sumer camp
04:15:09  <Raynos>oh wait
04:15:12  <Raynos>node knockout on ab oat
04:16:25  <devaholic>ON A BOAT
04:18:31  <Raynos>ON A BOAT
04:18:39  <Raynos>how do we make tis happen?
04:18:48  <Raynos>anyway
04:18:52  <Raynos>I need to go fix seaport-proxy
04:19:01  <Raynos>then write a video chat app
04:19:19  <devaholic>Raynos: the connection stuff in seaport-stream makes me confused
04:19:37  <Raynos>devaholic: it's a bit hackish. It works nicely with TCP
04:19:48  <chapel>I think a hackathon would be awesome
04:19:55  <chapel>no internet would mean all local based stuff
04:20:02  <Raynos>theres a hackathon this weekend in SF :P
04:21:23  <chapel>but not one on a boat
04:23:30  <devaholic>call it The Lonely Island hackathon, bring errything you need to win!
04:24:41  <devaholic>and have someone bring a hypervisor
04:24:51  <devaholic>on a laptop
04:24:52  <devaholic>done.
04:31:15  <devaholic>silly github thinks my node repo is a perl repo
04:32:51  * mikealjoined
04:33:55  <SubStack>Raynos: there are hackathons every weekend in sf!
04:34:19  <Raynos>i know
04:34:21  <Raynos>hence the joke
04:46:34  * thatguydanquit (Quit: thatguydan)
04:47:10  * thatguydanjoined
05:16:26  <Raynos>https://github.com/Raynos/stream-router#stream-router
05:17:24  * mikealquit (Quit: Leaving.)
05:37:01  * tilgovi_quit (Read error: Connection reset by peer)
05:59:49  <Raynos>https://github.com/Raynos/lazynode#lazynode
06:00:03  <Raynos>Ok maybe I should either stop spamming my modules
06:00:08  <Raynos>or write bigger more complex ones
06:01:21  <devaholic>https://github.com/tblobaum/git-rev
06:06:04  <Raynos>that runs git in cwd?
06:08:22  <SubStack>^^^
06:08:55  <SubStack>Raynos: complex modules are ethically wrong
06:09:15  <Raynos>SubStack: I know, but i feel like mine are too small :(
06:09:30  <SubStack>they cause undue hardship all around
06:09:44  <SubStack>Raynos: that feeling means you're doing it right
06:09:45  <Raynos>airport and upnode are suprisingly complex
06:09:54  <SubStack>they didn't start that way
06:10:02  <Raynos>I see
06:10:07  * xaqquit (Remote host closed the connection)
06:10:09  <Raynos>if I feel that they are too small at the start
06:10:13  <Raynos>then they grow to the "right size"
06:10:16  <Raynos>when they get mature
06:10:41  <SubStack>yes, you should overcorrect for smallness because reality will throw a suckerpunch and you'll need to add special cases
06:11:08  <Raynos>like forcing seaport-proxy logic into airport :D
06:11:19  <Raynos>thats going to be a bitch
06:11:28  <Raynos>it might be easier for me to just write an airport-proxy
06:12:02  <SubStack>devaholic: is that like the git log command?
06:13:02  <devaholic>the one i was pasting here?
06:13:07  <SubStack>yeah
06:13:14  <devaholic>that was just some trickery to get a git log to ouput js arrays
06:13:20  <devaholic>its not in that module
06:13:30  <devaholic>could be, i suppose!
06:14:34  <devaholic>Raynos: yep child_process.exec uses process.cwd() as the default
06:14:50  <Raynos>https://gist.github.com/3301572
06:14:55  <Raynos>Using some kind of trickery
06:15:04  <Raynos>can I turn the standard "upnode object"
06:15:08  <Raynos>into like one file
06:15:14  <Raynos>so I can just require it and call the methods
06:15:38  <devaholic>Raynos: i have no idea which of your modules are deprecated but it seems like new ones are replacing older ones, dunno
06:15:56  <devaholic>with seaport/mdm stuff, anyways
06:15:59  <devaholic>perhaps im mistaken
06:16:00  <Raynos>devaholic: some are deprecated. If the github page doesn't exist anymore then its dead
06:16:24  <Raynos>the routil suite isn't deprecated, it's just used for HTTP where as all these new tools are for streams
06:17:24  <devaholic>just a lot of them seem really similar i guess, no worries!
06:17:25  <devaholic>brb
06:17:34  <SubStack>Raynos: proxies do that
06:17:44  <Raynos>SubStack: what do you mean?
06:17:52  <SubStack>harmony proxies
06:17:59  <Raynos>I guess so
06:18:42  <Raynos>devaholic: you mean the like 10 streaming modules I wrote recently? They are all building blocks on each other. they are all useful
06:19:07  <Raynos>the least useful one is probably mux-demux-shoe which is just boot without reconnection logic
06:19:18  <Raynos>but maybe you dont want automagic reconnection done for you!
06:20:27  <devaholic>yeah i probably just have no idea how you suggest using them together <_>
06:27:22  <Raynos>you wouldn't use mux-demux-shoe & boot on the same project
06:27:44  <Raynos>the examples folder show how the other tools work together
06:27:54  <Raynos>I'm writing the seaport-proxy service example atm
06:28:01  <Raynos>it's beastly
06:28:52  <Raynos>seaport-proxy allows you to emulate "peer to peer" using a centralized connection.
06:35:51  <Raynos>SubStack: I think there might be a rage condition in upnode
06:36:17  <SubStack>RAGE
06:37:17  <SubStack>Raynos: it's highly possible
06:39:06  <Raynos>it may be a bug in my code
07:05:45  <Raynos>bug dissappear o/
07:14:29  <Raynos>dominictarr: would it be bad if I used mux-demux on a mux-demux stream?
07:14:34  <Raynos>would it cause the world to end?
07:34:55  * thatguydanquit (Quit: thatguydan)
07:39:19  * thatguydanjoined
07:42:58  <Raynos>dominictarr: the mux-demux stream id does not exist error is horrible :(
07:43:04  <Raynos>so hard to debug
07:43:31  <Raynos>seaport-proxy service demo! https://github.com/Raynos/seaport-proxy/tree/master/examples/service
07:43:46  <Raynos>it has a disconnection bug which I'm fixing but the rest works
07:44:01  <Raynos>it allows you to create arbitary seaport services in browsers and then connect to them from other browsers
07:48:54  <SubStack>that would be so awesome for a peer-to-peer game
07:50:13  <SubStack>or a game where you program elements of the world and the programs run in your browser
07:50:43  <SubStack>might hack a bit with it, seems pretty great
07:57:13  * thatguydanquit (Ping timeout: 252 seconds)
07:58:55  <SubStack>and plus I already made a ton of progress today doing real work™ type activities
07:58:59  <SubStack>time for mad science
08:02:28  <SubStack>it's odd because if I don't give in to my desire to perform mad science experiments then I can't think about anything else until I satisfy my curiosity
08:03:03  <SubStack>there are just so many interesting ideas floating about
08:05:03  <devaholic>how about a browser joining the service registry while its connected and running some code in a web worker, could make an abstracted seaport-stream more viable
08:05:45  <devaholic>or, abstracting away the type of connection to the service more attractive, rather
08:06:33  <devaholic>then you could have some kind of peer to peer multi-threaded service providers
08:07:32  <devaholic>and then just be sure to destroy the web worker services based on some latency rules
08:10:58  <devaholic>with or without the web worker it would be useful, but seems like a nice way to have the browser do stuff for another browser
08:27:06  <Raynos>dominictarr: so many edge cases with mdm >_<
08:27:18  <Raynos>SubStack: there are a bunch of bugs with mdm on extreme edge cases
08:28:41  <Raynos>but it works fine if you just reboot the server when mdm crashes
08:29:15  <Raynos>devaholic: that's what seaport-stream is for, to abstract away the type of server connection
08:29:38  <Raynos>and the peer 2 peer thing is great fun
08:43:06  <rowbit>/!\ ATTENTION: (default-local) mechonomics+browserling@... successfully signed up for developer browserling plan ($20). Cash money! /!\
08:43:07  <rowbit>/!\ ATTENTION: (default-local) paid account successfully upgraded /!\
08:43:17  <SubStack>yay
08:43:58  <SubStack>so this is a somewhat novel problem: in a tile map you have the quadrilateral tiles themselves but you also have points
08:44:17  <SubStack>and I want to register listeners for mouseover/mouseout/click events on the points
08:44:30  <SubStack>and I go about creating tiles with a function createTile(x, y)
08:44:41  <SubStack>each tile has points but some of the points are shared with other tiles
08:45:07  <SubStack>so I can't just tile.points.forEach(function (pt) { pt.on('mouseover', fn) })
08:45:48  <SubStack>because that will register between 1 and 4 listeners for each point
08:47:07  <SubStack>I could have each tile have an array of uniquePoints
08:47:25  <SubStack>or I could emit an event when a new point is created
08:48:15  <Raynos>not sure
08:48:22  <Raynos>i need to give up debugging this shit and sleep
08:49:22  <Raynos>i hate reconnection logic
08:49:25  <Raynos>it's so fucking fragile
08:49:48  <SubStack>yes
08:50:01  <SubStack>not pleasant at all
08:51:48  <Raynos>well its not that bad
08:51:54  <Raynos>but mux-demux is evil
08:52:06  <Raynos>it throws exceptions for corrupted streams killing my server instead of just closing those streams
08:52:25  <Raynos>if it closes the streams I could create new fresh streams on the other end and keep going
08:52:45  <Raynos>im also trying to get seaport to "reconnect" through upnode to a service in a browser
08:53:07  <Raynos>so you can close a browser and re-open it and create another service on the same name again and the other open browser keeps going
08:53:30  <Raynos>thats not easy because there's lots of failure points to debug :(
09:21:46  * ITproquit (Ping timeout: 245 seconds)
09:21:58  * ITprojoined
09:45:01  <devaholic>https://github.com/tblobaum/redis-graph
09:45:07  <devaholic>hnnnng that took way too long
09:50:43  <devaholic>SubStack: the additional listeners would be discarded
09:51:08  <devaholic>SubStack: unless you are proxying that to the dom addEventListener
09:51:12  <devaholic>arent*
09:52:52  <devaholic>gah and those docs are kind of terrible
09:53:00  <devaholic>oh well
09:54:10  <SubStack>all my terminals crashed >_<
10:00:02  <devaholic>sux
10:00:16  <devaholic>is there a trick to running npm test for every module in node_modules that i dont know about?
10:18:31  <guybrush>devaholic: maybe parse `npm ls --parseable`, i would go that way
10:19:09  <guybrush>devaholic: also i think its better to use the bundled devDependencies in test-script: https://github.com/tblobaum/redis-graph/blob/master/package.json#L16
10:19:38  <guybrush>devaholic: like: "test": "node_modules/.bin/tap test/*.js"
10:20:00  <guybrush>so one has not to install tap globally to run your tests
10:21:38  <guybrush>nice module btw :D
10:29:31  <SubStack>http://substack.net/projects/datacenter/ press w for wall mode
10:29:40  <SubStack>to toggle wall mode rather
10:36:05  <devaholic>npm test `ls node_modules/`
10:36:06  <devaholic>derp
10:36:35  <guybrush>devaholic: ha!
10:37:02  <devaholic>npm doesnt seem to use stdin as expected though
10:37:42  <devaholic>SubStack: oh nice you also fixed the bug where the boxes would overlap eachother the wrong way
10:38:29  <SubStack>a while back
10:38:30  <devaholic>i can make long walls!
10:38:50  <SubStack>there's another bug where the walls and racks have the wrong z-index
10:40:18  <devaholic>guybrush: thanks, i only use tap
10:41:11  <devaholic>ah yep, if the rack is built first
10:42:48  <devaholic>ok brb, time for donuts
10:47:23  * thatguydanjoined
10:47:30  * thatguydanquit (Client Quit)
10:59:44  <devaholic>guybrush: if you are familiar with graph dbs and notice/d anything funky about redis-graph, let me know
11:02:14  <guybrush>only came in touch with fb-graph, no time to look deeper into anything right now - i am up against a hard deadline :D
11:03:26  <guybrush>but i will check it out for sure, really like the graph-way
11:28:25  * yorickquit (Ping timeout: 252 seconds)
11:29:22  * yorickjoined
11:34:39  * dominic[sleeps]quit (Remote host closed the connection)
11:38:43  <devaholic>https://github.com/tblobaum/git-rev#logfunction-array---
11:38:49  <devaholic>git logs in node
11:49:57  <devaholic>just hooked the log command up to a route, lovely
14:06:16  * wiwilliajoined
14:37:15  * st_lukejoined
16:34:13  * dominictarrjoined
16:43:39  * zz_shykeschanged nick to shykes
16:54:12  * _sorensenjoined
18:34:54  * stlsaintjoined
18:47:07  * tilgovijoined
18:52:09  * tilgovi_joined
18:53:01  * tilgoviquit (Ping timeout: 245 seconds)
18:56:06  * tilgovi_quit (Read error: Connection reset by peer)
19:30:54  <tanepiper>SubStack: how are you doing proxying with http/websocket/dnode servers?
19:31:46  <tanepiper>i've got permission from the client to ditch nginx and just expose node directly, cos dnode is breaking over nginx (well websockets are, i can't get it to play nicely)
19:46:49  <wiwillia>hey SubStack and pkrumins: Any plans for Safari 6?!
19:46:53  <wiwillia>we're hitting crazy bugs with it
20:11:14  <isaacs>maxogden: server.staticFiles('/static', './static') <-- serve any static file in the ./static folder
20:11:40  <isaacs>maxogden: server.static('/favicon.ico', './static/favicon.ico') <-- serve ./static/favicon.ico at the /favicon.ico route
20:33:24  <Raynos>tanepipe: https://github.com/substack/mountie
20:47:59  * wiwilliaquit (Ping timeout: 246 seconds)
20:48:19  <tanepiper>how do i specify the host? for example I have chartaca.com, dashboard.chartaca.com, etc
20:48:39  <tanepiper>but also those servers have directories (so chartaca.com/data chartaca.com/point, etc)
20:49:16  <tanepiper>and actually they do different things, for example /data is to get data and runs on one port, /point is to put in data and lives on another port
20:49:36  <tanepiper>actually ignore me on the second one
20:49:40  <tanepiper>i see that in the docs
20:52:53  <tanepiper>so really i just need to work out how to do subdomains, either that or move everything to directories
20:57:54  * yorickquit (Ping timeout: 260 seconds)
20:59:29  * wiwilliajoined
21:03:23  * yorickjoined
21:09:13  * wiwilliaquit (Ping timeout: 265 seconds)
21:10:39  <tanepiper>ahhhhhhh
21:27:21  <SubStack>tanepiper: the name of the service determines the domain
21:30:39  <tanepiper>yea, i propely read the docs
21:30:58  <tanepiper>so really if i want to redirect www to non-www traffic, i just write a service that redirects as well
21:32:43  <tanepiper>ahh cool, also with mount points i don't need to have that path in the app
21:33:13  <devaholic>redirecting like that can probably be easier done with dns
21:34:42  <tanepiper>yea, i don't have control over the DNS
21:35:05  <tanepiper>this would mostly be a fallback
21:35:19  <tanepiper>tbh it's not a well written app and i'm trying to refactor it
21:35:31  <tanepiper>but i have to keep the paths all the same :|
21:37:20  <devaholic>SubStack: fyi, fleet-panel is fixed up to handle configuration better
21:50:32  * dhosspart
21:54:24  <SubStack>tanepiper: you can call server.mount() to set up custom routes like to un www-ify a domain
21:57:55  <SubStack>server.mount(function (req, bounce) { if (!/^www\./.test(req.headers.host)) return; var res = bounce.respond(); res.statusCode = 302; res.setHeader('location', req.headers.host.replace(/^www\./, '')); res.end(); return true })
21:57:59  <SubStack>something like that
22:01:57  <tanepiper>gotcha
22:04:47  <tanepiper>hmm, the bounce object is undefined
22:05:56  <tanepiper>https://gist.github.com/d24d2de688d70e649a96
22:07:11  <tanepiper>hmm yea, when i do console.log arguments, it only contains the req argument
22:10:17  <tanepiper>ahh needs an opts
22:11:46  <tanepiper>if it's just a straight callback with no opts, only a req seems to be returned
22:19:10  <tanepiper>never mind, its not important right now for me - i'll come back to that
23:01:02  <dominictarr>tanepiper, SubStack jesusabdullah devaholic Raynos check what I did today.
23:01:17  <dominictarr>https://npm.im/hipster
23:01:32  <dominictarr>I WROTE A TEXT EDITOR IN NODE!JS
23:02:07  <tanepiper>cool
23:02:15  <maxogden>version 0.0.0 awesome
23:03:21  <dominictarr>TODO: Ascii bicycle logo
23:04:40  <devaholic>dominictarr: http://www.laserturtle.com/data/xy1.jpg
23:05:26  <dominictarr>devaholic, haha thanks.
23:06:01  <SubStack>dominictarr: it should support loading embedded ansi pictures
23:06:14  <SubStack>but not copy paste
23:07:07  <dominictarr>SubStack, I'm considering a pro ascii art mode where you can color the file but not have to look at the escape codes.
23:07:28  <dominictarr>SubStack, do you know a way to detect the size of the terminal?
23:07:46  <SubStack>$COLUMNS
23:08:34  <dominictarr>what I really need is $ROWS
23:08:42  <dominictarr>to make scrolling work nicely.
23:08:53  <SubStack>tty.getWindowSize()
23:08:55  <dominictarr>and fit the screen.
23:09:02  <dominictarr>FANTASTIC
23:09:04  <SubStack>oh wait that function lies
23:09:10  <SubStack>seems to be hard-coded
23:11:01  <SubStack>here we go: $LINES
23:11:10  <SubStack>$LINES x $COLUMNS
23:11:29  <SubStack>that works in my gnome-terminal anyhow
23:12:00  <SubStack>also works on tty1
23:15:06  * tilgovijoined
23:16:32  <SubStack>dominictarr: http://stackoverflow.com/questions/1780483/lines-and-columns-environmental-variables-lost-in-a-script
23:17:37  <dominictarr>hmm, with a small amount of refactoring hipster could be used as the basis for all kinds of scrollable terminal applications.
23:17:51  <SubStack>and it seems that window resizes send a SIGWINCH
23:18:16  <SubStack>wowsy do this:
23:18:26  <SubStack>in the repl
23:18:27  <SubStack>process.on('SIGWINCH', function () { console.log('resized!') })
23:18:30  <SubStack>then resize the window!
23:18:33  <SubStack>super neat
23:19:04  <maxogden>dominictarr: http://max.ic.ht/dropbox/bucket/hipster.mov
23:20:00  <dominictarr>maxogden, try a dark background.
23:20:40  <dominictarr>or tell me what how you do the default colour.
23:21:06  <maxogden>dominictarr: im in a stock OS X terminal without any non-default preferences
23:22:15  <dominictarr>SubStack, how do I unset custom colours in charm?
23:22:52  <SubStack>dominictarr: .display('reset')
23:23:33  <SubStack>updating charm now with this new tput stuff I've learned about
23:26:54  * st_lukequit (Remote host closed the connection)
23:28:15  <dominictarr>maxogden, just pushed. 0.0.1 works for me with light background.
23:29:45  <maxogden>coolio
23:35:36  <dominictarr>maxogden, did it work?
23:37:59  <maxogden>dominictarr: yea
23:38:06  <maxogden>dominictarr: is it supposed to be indented?
23:38:06  <dominictarr>SWEET
23:38:29  <dominictarr>use --margin 0
23:38:39  <maxogden>(why isnt that the default_
23:38:39  <dominictarr>you should be seeing linenumbers there
23:38:46  <maxogden>oh, no linenums
23:38:57  <maxogden>i see a music note
23:39:31  <dominictarr>maxogden, that is a reference to EasyWriter
23:40:17  * tilgoviquit (Ping timeout: 256 seconds)
23:44:11  * maxogdendoes not get reference
23:44:19  <dominictarr>maxogden, 0.0.2, line numbers are no longer on by default.
23:44:38  <dominictarr>you'll need to read this for a start www.webcrunchers.com/stories/easywriter.html
23:44:41  <maxogden>i'd be okay with them if they showed up :)
23:44:49  <maxogden>whoa sweet beard
23:45:33  <dominictarr>yeah this guy is epic
23:53:06  <SubStack>do macs have /dev/fd entries?
23:55:26  <SubStack>in maxos
23:55:38  <SubStack>seems so!
23:59:54  <dominictarr>maxogden, try 0.0.3 if you like it forces a dark background behind the numbers like npm does.