00:01:05  <fotoverite>WHY DID I NOT TAKE ME A BOTTLE!
00:01:06  <LOUDBOT>YOU MUST FINISH IT
00:01:17  <fotoverite>LOUDBOT: retweet
00:01:17  <LOUDBOT>fotoverite: STUPID PERSON WHO RUNS CURSEBIRD FORGOT TO THINK OF BACKUPS. WHAT, HE WORKS FOR TWITTER? SOMEONE AT TWITTER FAILS AT SOFTWARE? GASP!
00:06:41  <fotoverite>AvianFlu: where are you hunkering down?
00:06:53  <AvianFlu>YOU HAVE NO IDEA THE FAIL WHICH YOU PORTEND, O BOT OF THE LOUD
00:06:53  <LOUDBOT>INDEPENDENT RANDOM EVENTS, MOTHERFUCKER
00:07:01  <AvianFlu>LOUDBOT: twitlast
00:07:01  <LOUDBOT>AvianFlu: http://twitter.com/loudbot/status/262706807393366016 (ik/#peltkore)
00:07:57  <fotoverite>AND THAT, MY LIEGE, IS HOW WE KNOW THE EARTH TO BE BANANA-SHAPED.
00:07:57  <LOUDBOT>OH YOU'RE FLYING A LASER CROW?
00:08:07  <fotoverite>LOUDBOT: twitlast
00:08:07  <LOUDBOT>fotoverite: http://twitter.com/loudbot/status/262707083496017920 (eblack/#dongtown)
00:12:11  <fotoverite>Yes www npm now has elastic search!
00:18:24  <mbalho>WOOT
00:18:26  <mbalho>fotoverite: wats the url
00:18:45  <fotoverite>None yet I'll upload the package in a second
00:19:05  <fotoverite>http://twitter.com/FotoVerite/status/262706668922613760/photo/1
00:19:09  <fotoverite>So it intergrated
00:19:17  <fotoverite>now to get it to update an index when couch updates
00:19:29  <fotoverite>Might need isaac for that I don't know where that happens at all in the app
00:19:38  <fotoverite>it might not is the registry just nom?
00:19:41  <fotoverite>npm?
00:19:58  <mbalho>elasticsearch has a couchdb river
00:21:41  <fotoverite>Yeah see they don't really explain it at all well
00:22:41  <fotoverite>ah http://www.elasticsearch.org/blog/2010/09/28/the_river_searchable_couchdb.html
00:23:24  <mbalho>IIRC its like curl -XPUT 'elasticsearchserver.com/_river/registry/_meta' -d '{}'
00:23:32  <mbalho>where '{}' has the config json
00:23:39  <mbalho>that is after you install the river
00:24:02  <fotoverite>Yes I see
00:24:03  <fotoverite>Fuuuuck
00:24:18  <fotoverite>I got it nicely indexing and now that's not really needed
00:29:25  <fotoverite>Trying http://elasticsearch.googlecode.com/svn/plugins/couchdb-0.18.7/elasticsearch-couchdb-0.18.7-0.19.10.zip...
00:29:31  <fotoverite>Nicely done elasticsearch
00:30:22  <rowbit>Hourly usage stats: [developer: 0, free: 18]
00:31:54  * mikealquit (Quit: Leaving.)
00:32:13  * tilgoviquit (Remote host closed the connection)
00:32:46  * mikealjoined
00:41:10  <fotoverite>So any suggestions for hurricane party films?
00:43:07  * shuaibquit
00:53:04  <fotoverite>And the river chokes
00:53:05  <fotoverite>:(
01:20:37  <substack>twister
01:21:04  <substack>actually jurassic park is always the correct disaster film
01:22:01  <substack>it shows that every disaster is strictly less severe than packs of social predators that kill for sport
01:23:24  <AvianFlu>http://www.quickmeme.com/meme/3rjmrh/
01:23:37  * tilgovijoined
01:30:22  <rowbit>Hourly usage stats: [developer: 0, free: 19]
01:47:42  <fotoverite>AvianFlu; PERFECT STORM COMING
01:47:58  <fotoverite>And by that I mean a very nice dark and stormy
02:30:22  <rowbit>Hourly usage stats: [developer: 0, free: 11]
02:44:11  * AvianFluquit (Remote host closed the connection)
03:04:29  * AvianFlujoined
03:13:55  * tilgovi_joined
03:14:26  * tilgoviquit (Ping timeout: 255 seconds)
03:30:22  <rowbit>Hourly usage stats: [developer: 0, free: 3]
04:30:22  <rowbit>Hourly usage stats: [developer: 0, free: 8]
04:30:46  * tomshredsquit (Quit: Leaving...)
05:08:15  * AvianFlu_joined
05:09:53  * AvianFluquit (Ping timeout: 252 seconds)
05:15:53  * stlsaintquit (Quit: leaving)
05:30:24  <rowbit>Hourly usage stats: [developer: 3, free: 14]
05:41:29  * mikealquit (Quit: Leaving.)
05:42:33  * mikealjoined
06:07:04  * tilgovi_changed nick to tilgovi
06:17:53  * AvianFlu_quit (Remote host closed the connection)
06:19:31  * tilgoviquit (Remote host closed the connection)
06:30:24  <rowbit>Hourly usage stats: [developer: 4, free: 12]
07:05:06  <st_luke>I love disasters
07:05:33  <fotoverite>Good for you. How's your cat?
07:13:56  <fotoverite>Five hours later I finally get how scripting works in es
07:14:13  <fotoverite>SO tired but I can index couched much faster now
07:16:21  <brianloveswords>substack: I was under the impression that Jurassic Park showed that every disaster was caused by Newman from Seinfield.
07:30:24  <rowbit>Hourly usage stats: [developer: 8, free: 11]
08:13:32  * st_lukequit (Remote host closed the connection)
08:30:24  <rowbit>Hourly usage stats: [developer: 0, free: 27]
08:47:59  <jesusabdullah>es?
08:48:08  <fotoverite>elastic search
08:48:11  <jesusabdullah>ahhh
08:48:39  <jesusabdullah>do you "script" it with java or does it have some runtime for something else?
08:48:49  <fotoverite>Javascript but it's eval
08:49:01  <fotoverite>so it's hard to write and lots of trial and error to get something simple up
08:49:32  <jesusabdullah>so, like, you'd do a lot of (function () { return result; })() type business?
08:50:22  <fotoverite>Nah it's really simple now
08:50:47  <fotoverite>if(ctx.doc.versions){ctx.doc.versions = null}
08:50:58  <fotoverite>But that was after experimenting a lot on how much I could cut out
08:51:00  <jesusabdullah>holy shit
08:51:24  <jesusabdullah>that's some shit right there
08:51:52  <fotoverite>Really not that bad. you should have seen the first version
08:53:50  <jesusabdullah>hah
08:54:04  <jesusabdullah>I just don't like modifying state like that
08:54:25  <fotoverite>Well it's that or 10h digestion of index
08:55:30  <jesusabdullah>for sure
08:55:44  <jesusabdullah>I don't blame you I blame elasticsearch
08:56:00  <fotoverite>No i blame how isaac stores every version inside the database
08:56:27  <jesusabdullah>that's the right way to do it and you know it
08:56:51  <fotoverite>Not when you need it to search river takes all or nothing
08:57:00  <fotoverite>you don't need to index ever single field
08:58:04  <jesusabdullah>sure, I get that
09:08:06  * hij1nxjoined
09:10:16  <fotoverite>what do you think of the name psychic-bear
09:30:24  <rowbit>Hourly usage stats: [developer: 0, free: 31]
09:31:43  * hij1nxquit (Quit: leaving)
09:35:30  * hij1nxjoined
11:28:08  * hij1nxquit (Quit: leaving)
11:28:34  * hij1nxjoined
11:29:03  * hij1nxquit (Client Quit)
11:30:51  * hij1nxjoined
13:28:01  * AvianFlujoined
14:13:19  * shuaibjoined
14:14:07  * fotoverite_joined
14:15:33  * fotoveritequit (Ping timeout: 268 seconds)
14:15:33  * fotoverite_changed nick to fotoverite
14:28:40  * AvianFluquit (Remote host closed the connection)
14:34:25  * st_lukejoined
15:02:49  * _sorensenjoined
15:36:42  * AvianFlujoined
15:52:46  * mikealquit (Quit: Leaving.)
16:12:37  <rowbit>SubStack, pkrumins: Encoders down: 184.106.106.46 (dev-ie8-1)
16:14:37  <rowbit>SubStack, pkrumins: At least 5 people waiting in the queue for free servers! (Waiting: 5)
16:23:19  * SubStacktopic: http://browserling.com | http://testling.com | We put a browser in your browser!
16:31:12  * AvianFluquit (Remote host closed the connection)
16:36:25  * tomshredsjoined
16:37:06  * AvianFlujoined
16:41:14  * tomshredsquit (Ping timeout: 260 seconds)
16:44:43  * mikealjoined
16:48:37  <rowbit>SubStack, pkrumins: Someone's waiting in the queue for explorer/8.0
16:50:42  * tphummeljoined
16:52:07  <rowbit>SubStack, pkrumins: Someone's waiting in the queue for explorer/8.0
16:55:34  * zz_shykeschanged nick to shykes
17:03:09  * jibayjoined
18:06:34  * saijanai_quit (Quit: saijanai_)
18:07:37  <rowbit>SubStack, pkrumins: These encoders are STILL down: 184.106.106.46(dev-ie8-1)
18:12:52  * AvianFluquit (Remote host closed the connection)
18:16:46  * AvianFlujoined
18:40:43  * tilgovijoined
19:02:55  * st_luke_joined
19:03:58  * rannmannquit (Quit: Hurricaaaaaaaaane!)
19:06:32  * st_lukequit (Ping timeout: 252 seconds)
19:12:08  <rowbit>SubStack, pkrumins: Someone's waiting in the queue for explorer/7.0
19:35:04  * jrodejoined
19:37:50  <jrode>peteris/james, trying to setup a tunnel to my localhost. when i copy the ssh command into my terminal it then asks for a password. i use the password for my browserling account but it is denied. am i doing this right?
19:38:52  <substack>jrode: it should be your private ssh key
19:39:03  <jrode>ok thanks.
19:40:54  * slurpjoined
19:43:12  * fotoverite_joined
19:43:12  * fotoveritequit (Read error: Connection reset by peer)
19:43:13  * fotoverite_changed nick to fotoverite
19:46:17  * slurpquit (Remote host closed the connection)
19:48:25  * slurpjoined
19:48:56  * mike-djoined
19:53:01  <jrode>substack: what if i put in my public ssh wrong, how do i get browserling to forget what i put and let me enter it again
19:54:20  <substack>jrode: one sec, resetting
19:54:29  <substack>what's your email?
19:54:38  <jrode>[email protected]
19:54:50  <jrode>thanks
19:57:33  <substack>jrode: ok all reset
19:57:41  <jrode>great thanks
19:59:13  * slurpquit (Remote host closed the connection)
19:59:22  * slurpjoined
20:03:48  * st_luke_changed nick to st_luke
20:04:18  * st_luke_joined
20:04:26  * st_lukequit (Disconnected by services)
20:04:28  * st_luke_changed nick to st_luke
20:09:33  <rowbit>SubStack, pkrumins: Someone's waiting in the queue for explorer/8.0
20:10:33  <rowbit>SubStack, pkrumins: Someone's waiting in the queue for explorer/7.0
20:11:04  <jrode>substack, my ssh tunnel is working, thanks. i'm trying to use ie8 and ie7…keeps telling me i'm in the queue
20:12:43  <substack>hmmm!
20:13:48  <substack>jrode: the server that manages the queue is a bit bugged right now
20:13:57  <substack>you can try again and maybe you'll get through
20:14:06  <substack>I'll ping pkrumins to restart it
20:14:18  <substack>I'm working on the replacement algorithms right now
20:15:06  <jrode>ok thanks for the info. i'll try again in a bit
20:29:11  <Raynos>substack: what do you use for server monitoring? Do you use something like new relic? ( http://newrelic.com/joyent )
20:34:33  <rowbit>SubStack, pkrumins: Someone's waiting in the queue for explorer/8.0
20:35:33  * _sorensenquit (Ping timeout: 256 seconds)
20:50:23  * AvianFluquit (Remote host closed the connection)
20:51:59  <substack>Raynos: nope
20:52:02  <substack>we use rowbit
20:53:33  <rowbit>SubStack, pkrumins: Someone's waiting in the queue for explorer/8.0
20:54:31  * AvianFlujoined
20:56:38  <Raynos>substack: that tells you about whether certain applications / processes are down. Do you use anything to visualize CPU / memory / disk usage over time
21:02:09  * slurp-transitionquit (Remote host closed the connection)
21:02:19  * slurp-transitionjoined
21:03:24  * SubStacktopic: http://browserling.com | http://testling.com | We put a browser in your browser!
21:06:31  <substack>Raynos: what good would that be?
21:06:54  <Raynos>so you can see what the box looked like when a process died
21:07:08  <Raynos>I have a bad_alloc error and I want to see what all the processes were doing on the box at the time it failed
21:07:30  <substack>oh a leak somewhere
21:07:39  <Raynos>yeah
21:07:50  <Raynos>but I also generally want to see what usage looks like over time
21:07:59  <Raynos>and then corrolate it with traffic
21:08:03  <Raynos>I want to see all the things
21:08:31  <substack>seems like a thing that is useful for some situations
21:09:23  <Raynos>yeah
21:09:28  <Raynos>I just dont know how to get that data
21:09:47  <Raynos>jesusabdullah: ping. What does nodejitsu use?
21:10:42  <mbalho>so good http://i.imgur.com/5uAOI.png
21:13:53  <substack>Raynos: on linux it's all in /proc/cpuinfo and /proc/meminfo
21:14:18  <Raynos>I dont want to build it from scratch
21:14:27  <Raynos>the hardest part is the GUI and the production ready part
21:14:32  <Raynos>I want someone else to do this for me
21:15:24  <substack>there's stuff on npm already
21:15:32  <substack>npm search server monitor
21:15:52  <Raynos>yeah that shits not production ready
21:31:18  <py1hon>what's a GUI?
21:31:37  <py1hon>echo t > /proc/sysrq-trigger shows you what all threads are doing at a given time
21:33:23  <substack>that is a neat trick
21:33:29  <substack>seeing it in the syslog
21:33:40  <py1hon>kernel ring buffer, actually
21:33:45  <py1hon>dmesg shows it to you
21:34:22  <py1hon>it's handy when you're debugging your broken kernel code and trying to figure out where stuff got stuck :)
21:34:45  * py1hon's brain is not working well enough today to fix merge conflicts
21:35:08  * substackpretty much never needs anything like that
21:35:17  <substack>but that is a handy trick which I will store for later
21:35:47  * substackis retrofitting his service registry with distributed data structures
21:35:58  <py1hon>nifty
21:36:29  <substack>using this library: https://github.com/dominictarr/crdt
21:36:30  <py1hon>distributed how?
21:37:11  <substack>all the operations commute and the history is eventually consistent
21:37:48  <py1hon>that makes things easy :)
21:37:51  <py1hon>algebra ftw
21:41:12  <py1hon>substack: there projects to generalize that sort of stuff?
21:41:20  <substack>yep
21:41:41  <substack>here's just the eventual consistency part of it https://github.com/dominictarr/scuttlebutt
21:41:45  <py1hon>really curious well/how far it generalizes
21:41:54  <substack>and these compose really well with the node stream api
21:42:10  <substack>especially with convoy streams and mux-demux streams
21:42:19  <py1hon>'cos noncommutative stuff comes up fairly often in real sql apps. but, certainly not everything.
21:46:44  <substack>commutativity comes up all the time in distributed systems that span lots of nodes with unreliable networks
21:47:13  <substack>or it's still an issue with reliable networks too
21:48:11  <py1hon>how so?
21:48:16  <py1hon>you can always produce a total ordering if you need it
21:49:05  <Raynos>substack: does fleet have core dumps anywhere?
21:49:15  <substack>Raynos: out of scope
21:51:19  <guybrush_>Raynos: an idea would be to put a /status route or something into your app
21:51:42  <substack>it could be a json stream of updates
21:51:44  <guybrush_>and GET it regularly
21:52:33  <rowbit>SubStack, pkrumins: At least 5 people waiting in the queue for free servers! (Waiting: 5)
21:53:05  <guybrush_>or make the app POST to a monitor-app
21:53:34  * dbransjoined
21:53:44  <dbrans>Hey there!
21:53:55  <substack>hello
21:54:15  <dbrans>Is testling having issues at the moment?
21:54:47  <dbrans>Hi James. I'm getting the following from a really simple command: curl: (18) transfer closed with outstanding read data remaining
21:55:04  <substack>testling seems to be running ok yes
21:55:12  <dbrans>Just trying the sample test on the documentation page.
21:55:18  <substack>dbrans: that happens if the test never gets to t.end()
21:56:01  <substack>dbrans: which test?
21:56:02  <dbrans>I'm using the "an example test" test.
21:56:19  <dbrans>http://testling.com/docs/
21:56:26  <dbrans>^ on that page.
21:56:40  <substack>the createWindow() tests might not work right now
21:57:23  <dbrans>cool. I work around it for now. Do you have a mailing list for issues / updates that come up?
21:57:58  <substack>no mailing list but we have a twitter bot
21:58:10  <substack>https://twitter.com/testling
21:59:02  <Raynos>guybrush_: I want monitoring at the OS level not at the node process level
21:59:03  <dbrans>Cheers.
21:59:18  <Raynos>I cant rely on a HTTP server in a node process to be up and give me status reports
22:00:12  * dominictarrjoined
22:01:47  <substack>dominictarr: I'm working on that stream.emit('id') patch right now
22:02:04  <fotoverite>dominctarr: where are you at the moment?
22:02:05  <substack>for crdt
22:02:06  <dominictarr>substack, headers?
22:02:13  <substack>yeah that
22:02:18  <dominictarr>fotoverite, I'm at cian's house in ireland!
22:02:45  <fotoverite>Wow quiet the adventure. I sending him all the photos soon.
22:02:56  <fotoverite>Lots of biking I take it dominictarr
22:03:34  <substack>dominictarr: also the next version of seaport will use crdt
22:03:38  <dominictarr>fotoverite, that didn't pan out. we went hiking instead.
22:03:43  <dominictarr>substack, SWEET
22:03:44  <fotoverite>Oh well
22:04:05  <dominictarr>frozen mountains and cold winds and bog a sheep.
22:04:07  <dominictarr>very irish.
22:04:22  <fotoverite>About as irish as it comes.
22:04:22  <dominictarr>bog _and_ sheep
22:04:30  <guybrush_>Raynos: like having the pid and parsing proc?
22:04:42  <Raynos>I want a GUI thing
22:04:46  <Raynos>that shows me all the data for the last week
22:04:49  <Raynos>without me having to build it
22:04:54  <guybrush_>:D
22:04:55  <Raynos>I dont want real time. I want a weekly overview
22:05:04  <guybrush_>mh
22:05:09  <dominictarr>oh, Raynos new thing that I'm just about to publish.
22:05:15  <guybrush_>munin is good
22:05:17  <guybrush_>for that i guess
22:05:20  <guybrush_>i use it
22:05:22  <guybrush_>its cool
22:05:23  <Raynos>dominictarr: is a server monitoring service?
22:05:36  <dominictarr>Raynos, .... no, sorry.
22:05:50  <guybrush_>it has a cool plugin-thing, just scripts
22:06:16  <dbrans>substack: what is the status of the qunit test harness?
22:06:16  <guybrush_>http://munin-monitoring.org/
22:06:27  <dominictarr>Raynos, what kind of service monitoring do you need?
22:06:27  <substack>dominictarr: the tricky part is I need to know the id of the other side of the createStream() so I can map ids to (host,port) pairs in an addresses set
22:07:23  <substack>dbrans: the next iteration of testling will just look at what your test wrote to console.log()
22:07:26  <dominictarr>substack, put in on the handshake vector clock.
22:07:36  <Raynos>dominictarr: something like https://www.youtube.com/watch?v=fU2DNlYg58Y would be sweet
22:07:40  <substack>dbrans: and it will run on every commit if you want it to
22:07:40  <dominictarr>{id: ID, clock: {versions...}}
22:08:20  <guybrush_>Raynos: munin is exactly that, but not so sexy UI
22:08:27  <Raynos>I see
22:08:28  <guybrush_>but it works pretty good
22:08:42  <guybrush_>and reliable
22:08:47  <substack>dominictarr: I don't see the string 'clock' anywhere in scuttlebutt
22:09:01  <dominictarr>substack, no.
22:09:32  <dominictarr>but the {} of versions that is exchanged is a vector clock.
22:09:47  <substack>aha
22:09:53  <Raynos>dominictarr: what new thing?
22:09:55  <substack>I was wondering how that part worked
22:10:09  <dominictarr>that fact didn't dawn on me until recently, so it's not called a clock in the source.
22:11:39  <substack>dominictarr: is it called sources?
22:11:48  <dominictarr>substack, yeah thats it.
22:12:38  <substack>ok sweet
22:12:51  <substack>this should only take me a little while now to finish the test and write the passing implementation
22:15:10  * st_lukequit (Remote host closed the connection)
22:16:26  <dominictarr>substack I've been using testling (locally) to test stuff recently.
22:19:03  <rowbit>SubStack, pkrumins: Someone's waiting in the queue for explorer/7.0
22:19:18  <dominictarr>working great, but it would be really cool if console.log came through to the cli.
22:21:39  <substack>yes that would be quite good
22:22:33  <rowbit>SubStack, pkrumins: At least 5 people waiting in the queue for free servers! (Waiting: 5)
22:26:18  <substack>dominictarr: I now have an implementation of the 'header' event that passes its test
22:27:03  <substack>the downside is that new crdt versions are incompatible with old clients
22:27:08  <substack>not that there are very many of those
22:27:28  <substack>good to get this stuff out of the way early
22:27:45  <substack>oh whoops I meant scuttlebutt
22:28:40  <dominictarr>bah! that is what semver is for!
22:28:57  <dominictarr>BREAK ALL THE APIS
22:28:58  <LOUDBOT>THIRTY SEVEN?!?!
22:29:03  <rowbit>SubStack, pkrumins: Someone's waiting in the queue for explorer/7.0
22:29:09  <dominictarr>THIRTY EIGHT!
22:29:09  <LOUDBOT>RENDEZVOUS WITH RAMA, STARRING BILL PAXTON, DIRECTED BY MICHAEL BAY
22:32:00  <substack>ah crap had some other commits in there
22:32:03  * substackcherry-picks
22:36:21  <substack>dominictarr: https://github.com/dominictarr/scuttlebutt/pull/11
22:52:33  <rowbit>SubStack, pkrumins: At least 5 people waiting in the queue for free servers! (Waiting: 5)
22:55:55  <dominictarr>hmm, substack so should this be a major version bump?
22:56:50  <Raynos>_guybrush: you said muni works right
22:58:57  <substack>dominictarr: yes
22:59:45  <substack>in the future it would be nice to add keys to the header data to communicate extra metadata
23:00:20  <substack>so that a connection could be aborted early because it's the wrong type of node
23:00:22  * dominictarrquit (Ping timeout: 246 seconds)
23:05:33  <jesusabdullah>Raynos: what do we use for what?
23:05:55  <Raynos>jesusabdullah: monitoring CPU / memory / disk usage for joyent smartOS's
23:06:04  <Raynos>in a nice GUI that shows you past data
23:06:07  <Raynos>and has searching and stuff
23:06:10  <Raynos>something like new relic
23:06:13  <jesusabdullah>I see
23:06:17  <Raynos>but actually working on smartOS
23:06:23  <jesusabdullah>we have some home-rolled skunkworks shit going on for that
23:06:30  <jesusabdullah>I believe
23:06:45  <jesusabdullah>nothing exposed to the user at this time
23:14:06  * dominictarrjoined
23:14:29  <substack>dominictarr: ahoy again
23:14:52  <substack>did you miss my responses at 22:58:57, 22:59:45, and 23:00:20?
23:14:59  <dominictarr>substack, yes
23:15:05  <substack>replaying
23:15:06  <dominictarr>about semver
23:15:29  <substack>yes this should be a major version bump I think
23:15:54  <dominictarr>haha, scuttlebutt/events would have solved this problem.
23:16:09  <substack>would have?
23:16:21  <dominictarr>this problem with IRC.
23:16:31  <substack>yes
23:16:54  <dominictarr>substack, just pushed [email protected]
23:16:57  <substack>\o/
23:17:08  <Raynos>jesusabdullah: do you use the cloud analytics stuff?
23:17:09  <fotoverite>\o/
23:17:19  <Raynos>jesusabdullah: And can I borrow your home-rolled stuff >_>
23:17:21  <substack>I actually need this in crdt so I'll just massage the versions manually
23:17:37  <jesusabdullah>Raynos: it will cost moneys
23:19:56  <dominictarr>substack, I'll update crdt to use the latest scuttlebutt
23:20:31  <substack>cool
23:21:56  <substack>now in seaport if you pass a c.address() result to createStream() it will store the id => (host,port) record in an addresses set
23:24:33  <dominictarr>hmm... crdt is failing tests...
23:31:03  <Raynos>dominictarr: events-stream
23:31:18  <Raynos>https://github.com/Raynos/events-stream/blob/master/index.js#L13
23:31:24  <Raynos>It already does the read part
23:31:45  <Raynos>dominictarr: as for creating writable streams good luck, that shit is hard to get right API wise
23:32:13  <dominictarr>yeah, basically, I just made it close to what I need to have for CRDT.
23:32:45  <dominictarr>it depends on some (reasonable) assumptions... like having a id on your data object...
23:33:46  <Raynos>dominictarr: https://github.com/Raynos/reflex-todo/blob/master/todo/item.js#L35
23:33:59  <Raynos>I've gone a different route API wise for creating "writable" things for DOM elements
23:35:16  <dominictarr>Raynos, what does open and close do?
23:35:40  <Raynos>dominictarr: open gets called when it gets the first piece of data
23:35:43  <Raynos>close gets called when the readable ends
23:35:47  <Raynos>swap gets called for each item
23:36:00  <Raynos>open means "create the mutable thing you will be writing to"
23:36:05  <Raynos>swap means "update that mutable thing"
23:36:12  <dominictarr>oh, right.
23:36:13  <Raynos>close means "destruct the mutable thing"
23:36:45  <Raynos>this allows you to create the template once and then update it in place for each new piece of data
23:36:54  <dbrans>substask: looks like one of my js files is having issues getting instrumented. Without "noinstrument=myfile.js" the test just hangs. With the noinstrument param, it works fine.
23:37:05  <Raynos>the swap, open, close patterns works for pretty much any writable thing
23:37:12  <Raynos>open = fs.open, swap write to fd, close close fd.
23:37:22  <dbrans>substack: looks like one of my js files is having issues getting instrumented. Without "noinstrument=myfile.js" the test just hangs. With the noinstrument param, it works fine.
23:37:29  <Raynos>open, net.createConnection, swap, write to socket, close close socket
23:37:56  <dominictarr>but it doesn't make sense... what are you swapping?
23:37:59  <dominictarr>it's state?
23:38:19  <dominictarr>swapping a state for another state?
23:42:02  * niftylettucequit (Excess Flood)
23:43:18  * niftylettucejoined
23:44:09  <Raynos>dominictarr: You assume the readable stream being passed into the writer is a stream of deltas to state
23:44:46  <Raynos>although I don't like the name swap, it implies you have to swap. It really should be patch
23:44:51  <dominictarr>You=me or "you" as in a person in general?
23:45:08  <dominictarr>agree, patch is way more descriptive
23:45:09  <Raynos>what it really means is there is some more data of some format. Apply a patch with the new data
23:46:39  <dominictarr>so, I have create, update, delete events... and I'm assuming that the updates create a list.
23:46:49  <dominictarr>a news feed or something...
23:46:56  <Raynos>I have a different thing for that
23:47:39  <dominictarr>sorta is similar too, but I wanted to be able to change the sort field on the fly
23:48:00  <dominictarr>and not have to put that field into a html tag.
23:49:17  <Raynos>dominictarr: https://github.com/Gozala/reflex/blob/master/component.js#L35
23:49:33  <Raynos>I use a component thing which takes data that looks like { idString: delta }
23:49:46  <Raynos>and dynamically creates a new Writer for each unique idString it gets
23:50:14  <Raynos>this is a different approach that uses nested data structures
23:51:34  <rowbit>SubStack, pkrumins: At least 5 people waiting in the queue for free servers! (Waiting: 5)
23:55:23  <dominictarr>substack, crdt now uses the [email protected]
23:55:29  <substack>hooray
23:56:47  <dominictarr>Raynos, does component handle sorting or is there something that does that?
23:57:03  <Raynos>dominictarr: I have not implemented sorting yet. Not sure how to do that
23:58:27  <dbrans>anyone: what's the best way to include jquery? I tried including it manually with require.load but I'm getting a nondescript Empty reply from server.
23:58:36  <Raynos>xd.