Conversation with #inferno at Sun Mar 4 17:54:39 2012 on powerman-asdf@irc.freenode.net (irc) (18:09:32) eno left the room (quit: Ping timeout: 252 seconds). (18:11:12) eno [~eno@nslu2-linux/eno] entered the room. (18:25:38) eno left the room (quit: Ping timeout: 240 seconds). (18:27:21) eno [~eno@nslu2-linux/eno] entered the room. (20:16:38) octetta [~stewarj@adsl-75-31-91-55.dsl.scrm01.sbcglobal.net] entered the room. (20:30:38) eno left the room (quit: Ping timeout: 240 seconds). (20:32:24) eno [~eno@adsl-70-137-133-209.dsl.snfc21.sbcglobal.net] entered the room. (20:32:40) eno left the room (quit: Changing host). (20:32:40) eno [~eno@nslu2-linux/eno] entered the room. (21:24:08) eno left the room (quit: Ping timeout: 240 seconds). (21:26:00) eno [~eno@adsl-70-137-133-209.dsl.snfc21.sbcglobal.net] entered the room. (21:26:01) eno left the room (quit: Changing host). (21:26:01) eno [~eno@nslu2-linux/eno] entered the room. (21:32:38) eno left the room (quit: Ping timeout: 272 seconds). (21:33:56) eno [~eno@adsl-70-137-133-209.dsl.snfc21.sbcglobal.net] entered the room. (21:33:56) eno left the room (quit: Changing host). (21:33:56) eno [~eno@nslu2-linux/eno] entered the room. (23:16:37) octetta: Hey, mjl just brought up the code portion of his website. Yipee! (23:17:29) octetta: Although shamefully, I resorted to Lua code to scrape the web interface for tgz files instead of using 9P2000. (23:17:31) octetta: ;) (23:18:28) octetta: I've endeavored to try to do something with Inferno/Limbo rather than just leeching of y'alls code. (23:19:47) octetta: 1st project (simple, I know) is an interface between Limbo and ChucK (which is a neato audio generation tool... kinda like a post-modern csound) (23:20:15) octetta: I'd mentioned this on the inferno-list years ago but never did anything. (23:21:31) octetta: 2nd might be a Markdown and nroff to mobi (Kindle format) converter so I can have inferno man pages on my Kindle. (23:22:51) octetta: Y'all know if there's a common idiom for handling endian-ness issues in Limbo? (23:23:47) octetta: For the Limbo-to-ChucK interface, I have to create binary packets. (23:25:24) octetta: I've gotten spoiled by a Lua library (inspired by a Perl library) that will pack and unpack binary data via a string-based format specifier (kinda like scanf/printf specifiers but different) (23:31:25) octetta: I also covet Erlang's bit syntax for dealing with this kind of stuff. (23:32:12) octetta: I feel like that crazy guy at the bus station who has a wonderful conversation even if no one is around to talk back ;-) (00:09:28) vsrinivas: we're here! (00:09:33) vsrinivas: just not always around. (00:10:22) vsrinivas: no good answer wrt pack/unpack // format specifiers, sorry (00:46:03) octetta: i see the same "idioms" in Limbo that I've seen (and used) in C and others... lots of little functions that do shifting and OR-ing. In places where I have to make lots of layout dependent binary buffers this is tedious. I guess the thing that makes this challenging in statically typed languages is how to match the dynamic parts (the packet layout piece) match the static parts. (00:52:00) vsrinivas: hm yea, a challenge. sadly inferno doesn't really allow dynamically constructed format strings to print... ; (00:52:06) vsrinivas: but don't forget the 'any' type. (00:57:08) octetta: So in "bpack" in Lua, an example might be: I want to pick out a big-endian 16-bit value, a big-endian 32-bit value, and a counted string (length being a big-endian 16-bit value), I could use 'n,b16,b32,str=string.unpack(buf,">H>I>P")' ("n" is the index in the buffer where unpack stopped) (01:01:37) vsrinivas: sure, i've written myself a similar thing in C. (01:02:33) octetta: what's the "any" type? (01:04:08) octetta: vsrinivas: IIRC you were working on GPS-related stuff. (01:04:22) vsrinivas: octetta: yep! (01:04:43) octetta: still having fun? (01:05:19) vsrinivas: not using limbo anymore. that project is long over, i've left that job... (01:05:21) octetta: (i had the "pleasure" of shoving AGPS data into a chipset via a wacky protocl) (01:06:13) octetta: You still East Coast? BTW, we met at Athens for IWP9 a few years back. I was working for Cisco near Atlanta. (01:06:26) vsrinivas: yep, still east coast! (01:06:40) vsrinivas: i'd remember you by real name probably? (01:06:42) octetta: I'm "bi-coastal" now. Job in NorCal, house/family back East. (01:06:45) octetta: Joseph Stewart (01:07:01) vsrinivas: oh, cool! i remember you! (01:07:29) octetta: i'm "fostering" putting intel architecture into phones/tablets. (01:07:34) octetta: sign (01:07:35) vsrinivas: nice! (01:07:36) octetta: sigh (01:07:45) Fish left the room (quit: Quit: WeeChat 0.3.5). (01:07:49) vsrinivas: why sigh? i used a moorestown dev phone one, its totally cool. (01:08:11) octetta: we're medfield now... more codenames later (01:08:28) octetta: only sigh because of the mess that is linux and android (01:08:30) vsrinivas: medfield could only be better, right? (01:08:38) vsrinivas: the mess before was meego and moblin... (01:08:51) vsrinivas: [and oh god some vendor crap that was death and fire] (01:08:54) octetta: oh, the mess still lives on in various places (01:09:31) vsrinivas: oh boo. (01:09:48) octetta: i had to write a LCD panel driver and my head exploded at the number of layers down to the controller registers (01:10:15) vsrinivas: the vendor mess i worked on once ... every app was a shared object rather than a separate process. because they wanted only one opengl session per the whole system. (01:10:25) vsrinivas: and so the apps asked for it from the home screen. (01:10:38) octetta: wow... that's "unique" (01:10:57) vsrinivas: [was on a moorestown phone board]; they also had an h.264 live wallpaper on screne. (01:11:06) vsrinivas: was a complete disaster the way they did it. (01:11:21) vsrinivas: each home screen's wallpaper was playing, all the time, (cpu-decoded) (01:11:38) octetta: makes for a nice hand-warmer ;) (01:11:40) vsrinivas: just selecting one home screen didn't stop decode on the other ones! (01:11:41) vsrinivas: yea. (01:12:03) vsrinivas: even with all that crap, the phone consumed not-unbelieveable amounts of power. (01:12:33) octetta: on the upside of intel arch on the phone, plan9 or inferno are less challenging than some arm parts ;) (01:12:38) vsrinivas: :) (01:12:51) vsrinivas: i was thinking the same way wrt dragonfly bsd :P (and little NAS boxes) (01:12:54) octetta: but to be honest, i haven't put inferno there (01:13:01) vsrinivas: aww... (01:13:36) vsrinivas: the legacy of the lucent webphone! nice to have inferno on a phone : (01:13:39) vsrinivas: :) (01:14:07) octetta: i haven't contacted the "hellaphone" guys yet to see if they're interested in an Intel phone. yet. (01:14:20) octetta: :) (01:14:37) vsrinivas: i can't believe they did that (01:14:56) octetta: lots of fun! (01:15:27) octetta: it's kinda sad that we have to use dalvik instead of dis! (01:15:53) vsrinivas: i wonder how dis (the VM) will do vs dalvik. (01:16:25) octetta: i guess i should fire up your linpack there and find out (you did do linpack.b, right?) (01:17:39) vsrinivas: nah, just an fft. (01:17:43) vsrinivas: *not fft, ft. (01:18:11) octetta: oops. (01:18:47) vsrinivas: i can remember that one (via correlation w/ basis functions) (01:21:52) vsrinivas: on my cortex a8, java 6 sun vm was faster than gcc -O (01:25:35) octetta: wow (01:32:51) vpm left the room (quit: Ping timeout: 265 seconds). (02:09:49) BetterThanUNIX left the room (quit: ). (02:30:35) vpm [~vpm@cnx-131.at.franciliens.net] entered the room. (07:33:13) Gegemon [~ynv@mx1.airis.ru] entered the room. (08:47:43) Fish [~Fish@9fans.fr] entered the room. (10:13:24) octetta left the room (quit: Quit: Leaving). (10:38:43) rog [~rog@host-92-30-212-75.as13285.net] entered the room. (10:38:43) rog left the room (quit: Remote host closed the connection). (10:39:02) rog [~rog@host-92-30-212-75.as13285.net] entered the room. (15:04:36) eno left the room (quit: Ping timeout: 260 seconds). (15:05:57) eno [~eno@nslu2-linux/eno] entered the room. (15:14:05) BetterThanUNIX [BetterThan@c-68-42-82-10.hsd1.mi.comcast.net] entered the room. (15:20:20) eno left the room (quit: Ping timeout: 260 seconds). (15:22:01) eno [~eno@nslu2-linux/eno] entered the room. (15:29:28) eno left the room (quit: Ping timeout: 260 seconds). (15:30:38) BetterThanUNIX left the room (quit: Ping timeout: 260 seconds). (15:30:59) eno [~eno@nslu2-linux/eno] entered the room. (15:31:06) Gegemon left the room (quit: Quit: Leaving.). (15:48:43) eno left the room (quit: Ping timeout: 260 seconds). (15:50:06) eno [~eno@nslu2-linux/eno] entered the room. (16:17:25) eno left the room (quit: Ping timeout: 248 seconds). (16:19:22) eno [~eno@nslu2-linux/eno] entered the room. (17:05:41) eno left the room (quit: Ping timeout: 265 seconds). (17:06:55) eno [~eno@nslu2-linux/eno] entered the room. (17:16:19) anth_x left the room (quit: Quit: Leaving.). (17:18:55) eno left the room (quit: Ping timeout: 246 seconds). (17:20:56) eno [~eno@nslu2-linux/eno] entered the room. (17:52:04) The account has disconnected and you are no longer in this chat. You will be automatically rejoined in the chat when the account reconnects.