Conversation with #inferno at Fri Aug 21 22:15:50 2009 on powerman-asdf@irc.freenode.net (irc) (22:57:27) npe [n=npe@94-224-251-223.access.telenet.be] entered the room. (23:01:44) gualteri left the room (quit: Read error: 110 (Connection timed out)). (00:01:29) maht-wrk left the room (quit: Remote closed the connection). (00:12:28) mennis left the room (quit: Client Quit). (01:01:52) xjrn left the room (quit: Read error: 60 (Operation timed out)). (01:12:37) xjrn [n=jim@astound-69-42-10-25.ca.astound.net] entered the room. (02:14:52) npe left the room (quit: ). (03:47:53) xjrn left the room (quit: Read error: 110 (Connection timed out)). (05:42:03) mennis [n=mennis@adsl-065-012-170-146.sip.asm.bellsouth.net] entered the room. (06:04:55) mennis left the room (quit: Client Quit). (06:08:41) xjrn [n=jim@astound-69-42-10-25.ca.astound.net] entered the room. (08:56:11) bvalek2 [n=bvalek2@catv-89-134-63-122.catv.broadband.hu] entered the room. (10:27:42) xjrn left the room (quit: Read error: 60 (Operation timed out)). (10:43:52) visof [n=visof@41.238.232.8] entered the room. (10:43:52) j123m left the room (quit: "Leaving."). (10:44:11) j123m [n=j1m@unas-revda.interra.ru] entered the room. (10:46:32) npe [n=npe@94-224-251-223.access.telenet.be] entered the room. (11:05:19) visof left the room (quit: Read error: 110 (Connection timed out)). (11:45:07) Fish [n=Fish@AVelizy-152-1-29-147.w82-120.abo.wanadoo.fr] entered the room. (13:21:46) andguent: is there a race condition in the 9.4.4 example of "Inferno Programming With Limbo"? (13:22:00) andguent: it's probably not and i just don't understand the whole stuff (13:22:37) andguent: hdlrthread is already spawned so couldn't a subsequent sys->listen spoil the conn.dir before hdlthread has the chance to open the files? (13:25:42) mjl-: andguent: it seems that the Connection hdlrthread gets is different from the one listen() is called on (13:26:02) andguent: oh you are right (13:26:04) andguent: damn (13:26:04) mjl-: in listen(), the sys->listen(conn) returns "c" (the Connection), and it's "c" that hdlrthread gets (13:26:11) andguent: sorry for the noise (13:26:21) andguent: tooo early in the morning :D (13:26:41) andguent: obvious failure is obvious (13:26:46) mjl-: ☺ (13:26:52) mjl-: i had that too this morning (15:19:53) npe left the room (quit: ). (15:20:27) npe [n=npe@94.224.251.223] entered the room. (15:34:31) mjl-: i keep missing preadn... (15:34:40) mjl-: which means i keep implementing preadn :) (15:35:54) mjl-: which isn't really funny enough to warrant a smiley! (16:21:23) mjl-: does anyone have an opinion of using dis array bounds checking for validating input? (16:22:09) mjl-: i.e. i'm reading data from disk, parsing it. i can do array bounds checking on that input explicitly (if offset > len buf, then error), but accessing out of bounds in buf is caught by dis as well... (16:22:48) mjl-: (the vm i mean) (17:27:24) Fish left the room (quit: Remote closed the connection). (17:34:21) visof [n=visof@41.238.232.8] entered the room. (17:37:01) visof left the room (quit: Client Quit). (17:37:41) visof [n=visof@41.238.232.8] entered the room. (17:52:01) visof_ [n=visof@41.238.235.7] entered the room. (17:52:34) visof_ left the room (quit: Remote closed the connection). (18:01:33) visof left the room (quit: No route to host). (21:16:30) bvalek2 left the room (quit: ). (21:23:57) visof [n=visof@41.238.235.7] entered the room. (21:29:51) visof left the room (quit: Remote closed the connection). (22:04:40) jas left the room (quit: ). (22:04:56) jas [n=jas@adsl-69-215-39-41.dsl.chcgil.ameritech.net] entered the room. (01:29:04) Kumool [n=Khwerz@adsl-72-50-64-150.prtc.net] entered the room. (01:31:13) Kumool left the room ("Leaving"). (01:55:00) npe left the room (quit: ). (08:03:25) bvalek2 [n=bvalek2@catv-89-134-63-122.catv.broadband.hu] entered the room. (08:47:19) megaboz left the room (quit: Read error: 110 (Connection timed out)). (10:39:08) npe [n=npe@94-224-251-223.access.telenet.be] entered the room. (12:57:25) maht_ [n=maht__@85-189-31-174.proweb.managedbroadband.co.uk] entered the room. (12:58:53) maht left the room (quit: Read error: 110 (Connection timed out)). (13:29:27) maht [n=maht__@85-189-31-174.proweb.managedbroadband.co.uk] entered the room. (13:29:50) maht_ left the room (quit: Read error: 113 (No route to host)). (13:41:12) Fish [n=Fish@AVelizy-152-1-29-147.w82-120.abo.wanadoo.fr] entered the room. (14:16:19) vsriniva1 [i=me@rose.makesad.us] entered the room. (14:16:34) bvalek2 left the room (quit: brown.freenode.net irc.freenode.net). (14:16:34) vsrinivas left the room (quit: brown.freenode.net irc.freenode.net). (14:17:10) bvalek2 [n=bvalek2@catv-89-134-63-122.catv.broadband.hu] entered the room. (14:17:10) vsrinivas [i=me@rose.makesad.us] entered the room. (14:17:27) bvalek2 left the room (quit: SendQ exceeded). (14:17:38) vsrinivas left the room (quit: Read error: 54 (Connection reset by peer)). (14:19:23) bvalek2 [n=bvalek2@catv-89-134-63-122.catv.broadband.hu] entered the room. (14:42:57) gualteri [n=salva@84.123.138.76.dyn.user.ono.com] entered the room. (14:42:57) gualteri left the room (quit: Client Quit). (14:45:51) gualteri1 [n=salva@84.123.138.76.dyn.user.ono.com] entered the room. (15:03:07) gualteri1 left the room (quit: Read error: 110 (Connection timed out)). (15:05:46) gualteri [n=salva@84.123.138.76.dyn.user.ono.com] entered the room. (15:22:34) gualteri left the room (quit: Read error: 110 (Connection timed out)). (15:25:06) gualteri [n=salva@84.123.138.76.dyn.user.ono.com] entered the room. (15:41:21) gualteri left the room (quit: Read error: 110 (Connection timed out)). (15:42:14) gualteri [n=salva@84.123.138.76.dyn.user.ono.com] entered the room. (16:44:33) gualteri left the room. (18:43:16) vsriniva1 is now known as vsrinivas (18:47:55) mjl-: mehh, annoying that limbo (the compiler) warns when a function with return value doesn't return but instead calls another (local) function that always raises an error (18:48:22) mjl-: something to fix for when i continue reading the limbo compiler (18:50:46) anothy_x: i don't think that's an error in the compiler. the exceptions are intended (based on the documentation from VN) to be used for truely exceptional cases, not for regular error reporting. (18:52:43) mjl-: the current behaviour isn't really helpful (18:53:42) mjl-: it's actually an error, "no return at end of function". which is true, there is no return, but putting a return there would make it unreachable code, which doesn't really make sense either (18:54:06) mjl-: i'm now looking at the asn.1 code. it looks old :) (18:58:52) anothy_x: well, it's asn.1. ;-) (19:01:14) mjl-: :P (19:01:18) mjl-: yeah, it's really hilarious (19:01:43) mjl-: i'm being masochistic by writing some snmp code (19:02:06) mjl-: it's one of the most horrible things i've seen (19:02:24) mjl-: (normally i tend to look the other way when things get this hairy, but i've done snmp before) (19:02:42) anothy_x: it always seems bizarre to me when people are doing anything new-ish in asn.1. i expect to documentation to be written in old english or norse runes or something. (19:03:08) anothy_x: i had to look at some asn.1 stuff for my last employer. i was really glad it was brief. (19:03:36) mjl-: good think it was just looking at it? :D (19:03:59) mjl-: i'm "glad" inferno has asn.1 code, and i didn't have to write that too... (19:05:28) anothy_x: it's really hard to get right. we couldn't use inferno for this particular project, and there were a bunch of libraries for the asn.1 format in question. the whole thing was a mess, not just the parts that dealt directly with the format. (19:07:53) mjl-: fun... (19:07:59) mjl-: so you stuck with using the libraries/ (19:08:11) mjl-: but yeah, people using asn.1 for new things... that's amazing (19:08:39) anothy_x: yeah, we left that part pretty much alone. (19:08:44) mjl-: i remember lucio (from 9fans, i think it was him) saying during iwp9 in greece that asn.1 isn't that bad. *brrr* (19:09:34) uriel: I'm sorry to say this: but lucio seems quite totally clueless (19:09:44) anothy_x: we (the engineers) had grand schemes for doing an end-run around the format entirely, which coincidentally would've been good for our customers and bad for our competitors, but would've required a substantial up-front development or acquisition on our part, and by that time the company had stopped being interested in doing anything interesting. (19:09:47) uriel: (of course, I'm probably even more clueless, but..) (19:10:25) uriel: 16:01 < anothy_x> it always seems bizarre to me when people are doing anything new-ish in asn.1. i expect to documentation to be written in old english or norse runes or something. (19:10:29) uriel: hahahaha... (19:10:39) uriel: anothy_x: I'll add that to my fortunes file, if you don't mind (19:10:52) anothy_x: have fun. (19:27:57) mjl-: % snmp/get udp!laser!snmp .1.3.6.1.2.1.1.1.0 (19:27:57) mjl-: 1.3.6.1.2.1.1.1.0 S:Samsung ML-3050 Series Series OS 1.01.01.14 05-30-2006; Engine_FW_Ver_0.1; 3N21BAJP217214H.; (19:27:57) mjl-: % (19:36:39) uriel: mjl-: awesome (20:18:52) mennis [n=mennis@adsl-065-012-170-146.sip.asm.bellsouth.net] entered the room. (20:21:13) anothy_x left the room (quit: Read error: 104 (Connection reset by peer)). (20:31:27) anothy_x [n=a@adsl-99-29-35-188.dsl.bcvloh.sbcglobal.net] entered the room. (20:33:37) mennis left the room (quit: Client Quit). (21:15:16) bvalek2 left the room (quit: ). (00:00:19) Fish left the room (quit: Remote closed the connection). (02:37:41) npe left the room (quit: ). (04:45:21) megaboz [i=none@201.80.224.28] entered the room. (05:42:02) npe [n=npe@94-224-251-223.access.telenet.be] entered the room. (05:43:43) npe left the room (quit: Client Quit). (06:19:19) underspecified [n=eric@softbank220043052007.bbtec.net] entered the room. (06:25:06) underspecified_ [n=eric@softbank220043052007.bbtec.net] entered the room. (06:25:08) underspecified left the room (quit: Read error: 54 (Connection reset by peer)). (06:25:25) underspecified_ left the room (quit: Read error: 104 (Connection reset by peer)). (06:25:30) underspecified [n=eric@softbank220043052007.bbtec.net] entered the room. (06:38:18) anothy_x left the room (quit: Read error: 104 (Connection reset by peer)). (06:38:33) anothy_x [n=a@adsl-99-29-35-188.dsl.bcvloh.sbcglobal.net] entered the room. (07:20:34) underspecified left the room (quit: ). (07:23:04) j123m left the room (quit: Read error: 110 (Connection timed out)). (08:21:09) underspecified [n=eric@walnut.naist.jp] entered the room. (08:45:15) robot12 [n=robot12@inferno.kgts.ru] entered the room. (10:19:26) j123m [n=j1m@94.190.65.228] entered the room. (10:34:47) npe [n=npe@195.207.5.2] entered the room. (11:18:12) mjl-: morning lal (11:18:13) mjl-: all* (11:18:21) mjl-: hah, not fully awake yet :) (11:18:39) mjl-: time to make that snmp code in a somewhat publishable state, and move on (12:14:18) uriel: good morning mjl- :) (12:58:34) mjl-: morning uriel (12:58:38) mjl-: holy crap (12:58:42) mjl-: i have to pay for asn.1 docs?! (12:58:44) mjl-: from itu (12:58:49) mjl-: that's ridiculous (12:58:54) mjl-: they should be punished (13:06:57) mjl-: well, i hope they fail in their moneymaking scheme, and die as organisation, rather than make enough money to produce more ridiculous standards (13:26:42) uriel: heh, we wont have such luck, look at the w3c (13:27:08) uriel: be sure to pirate them, I'd be happy to host a copy in cat-v.org, if only to help bring them into bankruptcy (13:29:07) mjl-: i found an older copy (13:29:21) mjl-: the latest version of the spec seems to be from 2008/11 (13:29:40) mjl-: which google finds the pdf of immediately (13:29:40) mjl-: no (13:29:49) mjl-: the version before that can be found by google (13:30:14) mjl-: and i recall being able to download it from itu (13:30:22) mjl-: http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf (13:30:46) mjl-: that's the asn.1 encoding rules (13:31:07) mjl-: http://www.itu.int/rec/T-REC-X.690/en ← that's the official site (13:31:42) mjl-: http://www.itu.int/rec/T-REC-X.690-200811-P/en ← the "download" site, where you have to pay 26 swiss francs (13:32:12) mjl-: they no longer have the older document on their official page for download: http://www.itu.int/rec/T-REC-X.680-X.693-200207-S/en (13:44:30) gualteri [n=salva@84.123.138.76.dyn.user.ono.com] entered the room. (14:19:37) gualteri left the room (quit: "Leaving."). (14:29:25) weeb [i=0c683903@gateway/web/freenode/x-ohwqoksvdhntgjvd] entered the room. (14:52:30) btdn [n=btdn@138.74.188.85] entered the room. (15:56:57) robot12 left the room (quit: "Ухожу я от вас (xchat 2.4.5 или старше)"). (15:59:21) mennis [n=mennis@adsl-068-016-104-079.sip.asm.bellsouth.net] entered the room. (16:50:32) weeb left the room. (16:58:43) npe left the room (quit: ). (17:13:06) underspecified left the room (quit: ). (17:37:39) npe [n=npe@94-224-251-223.access.telenet.be] entered the room. (17:40:48) paigeadele left the room (quit: Client Quit). (17:44:55) paigeadele [i=pthomps@75-146-55-252-Washington.hfc.comcastbusiness.net] entered the room. (17:50:33) megaboz left the room (quit: Read error: 60 (Operation timed out)). (18:10:44) underspecified [n=eric@softbank220043052007.bbtec.net] entered the room. (18:10:53) underspecified left the room (quit: Read error: 104 (Connection reset by peer)). (18:10:56) underspecified [n=eric@softbank220043052007.bbtec.net] entered the room.