Conversation with #inferno at Fri Jan 21 12:38:34 2011 on powerman-asdf@irc.freenode.net (irc) (12:38:34) anthony.freenode.net: (notice) [freenode-info] channel trolls and no channel staff around to help? please check with freenode support: http://freenode.net/faq.shtml#gettinghelp (13:02:40) bvalek2 left the room (quit: Quit: Page closed). (14:28:36) bvalek2 [c3e41404@gateway/web/freenode/ip.195.228.20.4] entered the room. (15:58:44) base2design: thinking about kindle versions of inferno man pages... (15:58:57) base2design: sounds like cf is too (15:59:13) base2design: anyone here mess with markdown? (16:01:42) base2design: also, while i know i'm thinking about things at the wrong level of abstraction, has anyone thought about exposing channels outside of inferno over sockets (w/o the styx protocol wrapping them)? (16:03:03) base2design: this would require marshalling/unmarshalling dis datatypes to entities that weren't based on dis (16:24:07) sl left the room (quit: Ping timeout: 265 seconds). (16:36:30) Gegemon left the room (quit: Quit: Leaving.). (16:52:41) sl [~sl@68-179-130-17.bsr-c9-d1.evv.dhcp.sigecom.net] entered the room. (17:01:52) anth_r: base2design: i mess around with markdown some. not as much as i'd like. (17:02:14) anth_r: i saw that inferno-list thread. what's the .mobi format like? why is that a better target? (17:03:01) anth_r: and there is file2chan; how is what you're describing different from that? (17:04:53) Fish- left the room (quit: Quit: So Long, and Thanks for All the Fish). (17:07:29) Fish [~Fish@exo3753.pck.nerim.net] entered the room. (17:09:05) vsrinivas: base2design: i've wanted that for some time.... (17:09:29) vsrinivas: base2design: but i've wanted it in the style of thrift or w/e; where limbo marshal/demarshal was autogenerated (17:09:42) vsrinivas: and even sockmsg2chan() was autogenerated :D (17:16:04) vsrinivas: does the inferno sshell have switch/case? (17:16:39) anth_r: yes, in some form. i forget details. (17:17:52) vsrinivas: okay; i don't see it in the paper, is why i was asking... (17:18:27) anth_r: you most likely have to "load std" first. that's where most of the interesting stuff lives (from a users' perspective) (17:20:16) anth_r: hrm. maybe i'm wrong? that can't be right. (17:20:31) vsrinivas: hmm i don't see it in std either.... (17:20:43) anth_x: (er... i'm not surprised that i'm wrong. that happens lots. i'm surprised sh doesn't have a switch/case function) (17:20:53) anth_x: ask wrtp. (17:24:56) anth_r: (and then tell me what he says!) (17:29:44) anth_x: never mind, i saw. maybe i was thinking of mash. :-/ (17:31:54) bvalek2 left the room (quit: Quit: Page closed). (17:34:13) bvalek2 [598516ea@gateway/web/freenode/ip.89.133.22.234] entered the room. (19:21:07) bvalek2 left the room (quit: Quit: Page closed). (20:22:20) base2design: anth_r: mobi is what my kindle supports ;) epub might be a better target, but they're both containers for html docs essentially (20:25:16) sl: ios devices' native book reader can accept epub when added through itunes (20:30:24) base2design: vsrinivas: where is sockmsg2chan? (20:34:19) base2design: anth_r: my understanding is that file2chan is most relevant inside the inferno system. what i'm curious about is having entities outside the inferno system that can directly introduce or consume data from a channel. the "right" way to do this is certainly via styx, but i was hoping for something a bit lighter-weight (although carrying around a module that understands limbo native structures might be just as bad). (20:35:54) base2design: tl;dr: i want my c-code to push data into a limbo channel w/o styx (20:37:14) base2design: epub i think is considered the most open-source friendly ebook format. i think it supports html-ish things that mobi doesn't (like tables) (20:41:22) base2design: anth_r: i wrote my last functional spec with multimarkdown... then sadly had to paste it into a msword doc. i had section numbering via an external CSS file but that didn't survive the markdown -> html -> msword path so i had to manually set the style for each subsection. (20:41:59) base2design: i've written docs in latex and troff, but in my organization that is reviled rather than applauded :( (20:42:28) base2design: markdown is light enough that i may be able to get some support behind it. (20:43:10) base2design: (to be honest, no one really seems to enjoy using msword at work, but everybody does it anyway) (20:44:00) base2design: with the exception of formula, it seems like a pretty compelling output neutral way of doing things (20:44:38) base2design: (i've tried native postscript, docbook, and lout in my past as well) (21:28:06) anth_r: markdown is awesome. if you really need "advanced" things like formulas, look at multimarkdown. (21:28:19) anth_r: i've not looked at it much, but it's supposed to be able to support such things better. (21:28:44) anth_r: also: can your c code create a fifo and have your limbo program read from that? (21:29:00) anth_r: you'd still have to marshal messages, but if you're writing both halves it should be manageable. (22:34:59) Fish- [~Fish@9fans.fr] entered the room. (00:11:37) Fish- left the room (quit: Quit: So Long, and Thanks for All the Fish). (00:14:25) mjl-: base2design: some simple program to read & write data structures, and send them on a channel should work. packing/unpacking the data just needs code, generated or handwritten. it would be nice to be able to read/write adt's, without having to write the (un)pack code. semantics for reference types would be different. but strings & ints & arrays & lists & (pick-)adt's would be a good start (00:26:58) sl left the room (quit: Ping timeout: 265 seconds). (00:53:05) sl [~sl@68-179-130-17.bsr-c9-d1.evv.dhcp.sigecom.net] entered the room. (01:27:37) mjl-: http://www.ueber.net/who/mjl/tmp/fontsrv0.png (01:28:05) mjl-: that's fontsrv + ttffs, with fontsrv translating font requests to inferno font paths (some of which are served by ttffs) (01:30:10) base2design_ [~basedesig@166.137.13.99] entered the room. (01:31:07) anth_r: ooo, that's pretty. (01:35:08) sl: nice! (01:39:08) mjl-: here is the code: http://www.ueber.net/code/r/fontsrv (01:39:33) mjl-: the font in the screenshots is dejuva (01:39:35) mjl-: dejavu (01:40:01) mjl-: http://www.ueber.net/who/mjl/tmp/fontdb (01:40:16) mjl-: that file needs to exist as /fonts/fontdb (01:40:39) mjl-: it tells fontsrv which fonts are available. it's a bit big... perhaps a better scheme can be devised. (01:41:02) base2design_ left the room (quit: Quit: Colloquy for iPhone - http://colloquy.mobi). (01:41:45) mjl-: heh, and the major catch, this is needed too: http://www.ueber.net/who/mjl/tmp/libinterp-draw.c.diff (01:43:04) anth_x: yeah, i've been using a (statically converted) dejavu in 9vx for a month or two now, and really liking it. (03:10:53) cbj1 [~none@c-98-217-102-21.hsd1.ma.comcast.net] entered the room. (03:14:27) KillerX left the room (quit: Quit: KillerX). (03:31:29) base2design_ [~basedesig@166.137.13.99] entered the room. (03:49:38) base2design_ left the room (quit: Quit: Colloquy for iPhone - http://colloquy.mobi). (05:48:14) cbj1 left the room (quit: Ping timeout: 240 seconds). (08:40:22) bvalek2 [598516ea@gateway/web/freenode/ip.89.133.22.234] entered the room. (10:32:17) bvalek2 left the room (quit: Quit: Page closed). (12:39:01) The account has disconnected and you are no longer in this chat. You will be automatically rejoined in the chat when the account reconnects.