00:08:14  <Raynos>dominictarr: https://github.com/Colingo/browser-stream-server/tree/master/examples
00:08:16  <Raynos>reproducable
00:08:47  <dominictarr>I'll check it in a min, just gotta finish this thing
00:09:22  * captain_morganquit (Remote host closed the connection)
00:10:01  <Raynos>btw if you fix the bug you get a sweet stream server in the browser :)
00:10:19  <Raynos>it feels very airport-ish
00:10:34  <SubStack>\o/
00:10:49  <SubStack>so much mad science
00:12:48  <Raynos>its not mad science
00:12:50  <Raynos>its my master plan
00:12:53  <Raynos>MASTER PLAN
00:15:10  * tilgoviquit (Read error: Connection reset by peer)
00:18:50  <Raynos>dominictarr: https://gist.github.com/6fca22478919439b49a0 I'm getting a close event right after the stream is created
00:29:34  <Raynos>feck
00:33:33  <isaacs>Raynos: so, i made it use that module, and it did make things simpler and more organized... but now it's more loc.
00:33:36  <isaacs>oh well.
00:33:38  <isaacs>HTTP is hard.
00:33:48  <Raynos>isaacs: :(
00:33:55  <isaacs>meh.
00:34:07  <isaacs>the difference is that it actually works in a lot more situations.
00:34:17  <Raynos>isaacs: multiple files
00:34:30  <isaacs>not really that much better.
00:34:44  <isaacs>it's not messy, really.
00:34:49  <isaacs>there's just a lot to serving static files.
00:35:00  <isaacs>if you can load the whole dir into memory up front, and restart to pick up changes, it's easier.
00:35:01  <dominictarr>adding dependencies add a ton of loc.
00:35:10  <dominictarr>we just ignore it.
00:35:14  <isaacs>dominictarr: right.
00:35:28  <isaacs>the loc guideline is more like, "dont' have lots of loc in one place"
00:35:34  <isaacs>because it means you're probably doing more than one thing in am odule.
00:35:41  <dominictarr>yeah.
00:35:49  <isaacs>but in this case, the only thing it's doing is serving static files. that's just hard to do right.
00:36:00  <isaacs>i'm still not doing Range requests, and that's like a whole other bunch of headaches.
00:36:08  <isaacs>for really very little gain
00:36:11  <dominictarr>but it sounds so simple.
00:36:41  <dominictarr> -- famous last words (...from the guy who has just started writing his own text editor)
00:36:57  <Raynos>dominictarr: my bug >_<
00:37:10  <dominictarr>Raynos, lets have a looksee
00:37:17  <Raynos>no wait
00:37:24  <Raynos>dominictarr: I mean its a bug in my code not yours
00:37:31  <Raynos>im fixing my bugs >_<
00:40:40  <dominictarr>oh, thanks.
00:40:56  <Raynos>i fixed my own bugs
00:41:01  <Raynos>but at least it works
00:42:29  <Raynos>most of these bugs come
00:42:43  <Raynos>from when a mux-demux stream writes to the server after it's closed
00:43:47  * mikealquit (Quit: Leaving.)
00:44:11  <Raynos>dominictarr: https://gist.github.com/f733f869a1c413c8a72a
00:44:23  <Raynos>^ that race condition is a real bug, and MDM should handle it more elegantly
00:46:51  <dominictarr>Raynos, your right. it should remember recently closed streams.
00:47:04  <dominictarr>that IS a bug.
00:47:30  <Raynos>dominictarr: its pretty easy to reproduce too I think
00:48:12  <dominictarr>yeah, from your description it would be easy to fix even in a sync case.
00:48:57  <dominictarr>like, when the server closes it writes a 'close' message, but it should recieve one back after the client closes.
00:49:10  <dominictarr>hmm
00:49:37  <dominictarr>the simplest thing to do... is just throw away messages that have an unknown id.
00:49:53  <dominictarr>maybe emit an event, for debugging.
00:50:36  <dominictarr>I think I put that error in when I was writing it (was pretty hard to get right)
00:50:49  <dominictarr>but the need for correctness is high.
00:52:26  * rook2pawnquit (*.net *.split)
00:54:57  <dominictarr>IT"S GONE.
00:55:17  <dominictarr>Raynos, [email protected]
00:55:28  <Raynos>dominictarr: you are a machine!
00:55:44  <dominictarr>haha
00:55:46  <Raynos>ill get this fix bubbled up
00:56:00  <Raynos>btw browser-stream-server is super badass
00:56:12  <Raynos>especially when used with a mux-demux that doesn't crash :P
00:58:57  * rook2pawnjoined
01:00:07  <jesusabdullah>SubStack: http://i.imgur.com/0g9sy.png
01:00:24  <SubStack>jesusabdullah: excellent
01:00:46  <SubStack>that is like a caricature of the genre except it's real
01:00:47  <jesusabdullah>inorite
01:01:11  <SubStack>I want there to be an art installation about those kind of ads
01:01:42  <dominictarr>ONE WEIRD OLD TIP TO RULE THEM ALL
01:01:52  <SubStack>http://substack.net/images/do_not_write_big_apps/weird_old_tip.png
01:01:55  <jesusabdullah>SubStack: http://imgur.com/19j3H This one's good too
01:02:24  <jesusabdullah>ahaha
01:02:26  <jesusabdullah>nice cow
01:02:35  <SubStack>drew that for js.la
01:03:08  * mikealjoined
01:03:08  <dominictarr>SubStack, you captured the genre very nicely there.
01:04:24  <dominictarr>SubStack, you totally should. get them printed on canvas but really large so that they are all pixilated.
01:09:08  <devaholic>SubStack: Haha are you serious
01:09:18  <devaholic>you drew a cow
01:09:49  <devaholic>� doing that
01:09:52  <devaholic>lol
01:13:02  <dominictarr>SubStack, the art scene is largely just about going to openings and drinking free wine.
01:13:33  <dominictarr>I used to go to _loads_ of art openings when I was a student.
01:36:28  <guybrush>rofl nice cow
02:01:03  <Raynos>https://github.com/Colingo/browser-stream-server#browser-stream-server
02:01:05  <Raynos>Document it up!
02:15:05  <Raynos>feedback on the quality of the README highly appreciated
02:17:36  * shykeschanged nick to zz_shykes
02:19:45  <Raynos>SubStack, mikeal, isaacs: How do I invite myself onto nodeup?
02:21:22  <SubStack>Raynos: ping cjm and be around sunday 12pm pacific time
02:21:24  <Raynos>SubStack: https://github.com/substack/upnode/pull/13
02:22:01  <Raynos>SubStack: that bug is annoying me, pull it in please
02:25:54  * mikealquit (Quit: Leaving.)
02:25:57  <SubStack>will do once I get back from the bike party &
04:19:19  * mikealjoined
05:08:39  * mikealquit (Quit: Leaving.)
05:27:34  <Raynos>Man disconnect magic layers are the best thing ever
05:27:38  <Raynos>I can take anything down
05:27:41  <Raynos>and bring it back up again
05:27:43  <Raynos>and shit keeps working
06:58:48  * mikealjoined
07:12:53  <niftylettuce>Please upvote "Show HN: Twitter Bootstrap modal responsive (mobile) fix with jQuery" at http://news.ycombinator.com/newest
07:13:27  <niftylettuce>devaholic dools elliottcable guybrush isaacs maxogden mikeal paul_irish pkrumins sorensen SubStack tanepiper rook2pawn Raynos
07:13:43  <Raynos>niftylettuce: rep whore
07:14:13  <Raynos>niftylettuce: and no, why would anyone a) use js included with bootstrap, b) give a fuck
07:14:40  <niftylettuce>Raynos: well a lot of startups use Bootstrap, and I'm not sure what startups some people have going on here, so I thought I'd share :D
07:14:54  <Raynos>a lot of startups use bootstrap for the CSS
07:15:05  <niftylettuce>Raynos: yes but bootstrap responsive does not support modal plugin responsiveness
07:15:08  <Raynos>if you use bootstrap for the js you should quit life
07:15:22  * zz_shykeschanged nick to shykes
07:15:26  <niftylettuce>Raynos: i could care less about rep, i care more about sharing quick fixes to annoying problems
07:17:53  <niftylettuce>The existing problem is that if you had a modal window in mobile, it puts it at the top of the page and does not vertically center it, because it can't -- unless the user is using ICS or something newer, or their mobile browser supports fixed positioning (which is very unlikely, see http://caniuse.com/css-fixed). This fix detects the standard responsive media query of 480px for mobile (which also
07:17:53  <niftylettuce> sets `position: fixed` to `position: absolute` and adjusts accordingly.
07:19:09  <niftylettuce>Raynos: ^
07:19:32  <Raynos>i dont think HN and spamming everyone on IRC
07:19:39  <Raynos>is a good way to share quick fixes
07:21:46  <niftylettuce>Raynos: almost everyone here uses jquery,html,css bro, and like i said bootstrap is quite overused, apology if anyone didnt appreciate the fix for a very annoying issue ;)
07:22:00  <Raynos>...
07:22:07  <Raynos>you show a very niche thing in niche land
07:22:08  <niftylettuce>Raynos: if it was something not related at all then no, i wouldnt have spammed it
07:22:48  <Raynos>its like me showing you the solution to how to differentiate between a mdm stream closing because the server disconnected and because the server closed it cleanly
07:22:54  <Raynos>RANT >:(
08:10:04  * stlsaintquit (Quit: leaving)
08:15:33  * shykeschanged nick to zz_shykes
08:21:12  * stlsaintjoined
08:22:40  <Raynos>StreamServer: http://news.ycombinator.com/item?id=4369720
08:37:28  <dools>niftylettuce: boats: sent.
08:39:50  <dools>niftylettuce: incidentally in irssi i don't get a highlight unless dools is at the start
08:49:31  * captain_morganjoined
08:55:07  <SubStack>rook2pawn: that bike party was pretty much the best thing ever
09:07:19  <Raynos>SubStack: bike party?
09:08:08  <Raynos>SubStack: I'm going to give up on getting seaport service to work in the browser now that I have StreamServer ( https://github.com/Colingo/browser-stream-server#example-browser-server-in-a-seperate-browser )
09:08:31  <Raynos>seaport proxy service part is a mess, probably going to bin it
09:08:54  <Raynos>StreamServer is similar in API to airport so i'll probably not get airport in the browser
09:21:01  <dools>Raynos: hey does that thing enable me to open a port locally that i can connect to from another browser? for example, listening on port 9999 in chrome so in IE or FF i can do http://localhost:9999/
09:25:27  * zz_shykeschanged nick to shykes
09:30:16  * shykeschanged nick to zz_shykes
09:33:25  * captain_morganquit (Remote host closed the connection)
09:59:14  * captain_morganjoined
10:00:46  * mikeal1joined
10:02:24  * captain_morganquit (Remote host closed the connection)
10:04:49  * SubStack_joined
10:09:21  * SubStackquit (Disconnected by services)
10:09:23  * SubStack_changed nick to substack
10:09:58  * mikealquit (*.net *.split)
11:35:43  * devaholicquit (Ping timeout: 246 seconds)
11:56:46  <rook2pawn>substack: was fun! good to see you. going to be hotgluing the el wire to my front bicycle tire
16:11:21  * SubStacktopic: http://browserling.com | http://testling.com | We put a browser in your browser!
21:33:34  * SubStacktopic: http://browserling.com | http://testling.com | We put a browser in your browser!
21:55:31  * stlsaintquit (Quit: leaving)
22:38:16  * stlsaintjoined