00:00:41 -!- UnrelatedToQaz has quit ("ChatZilla 0.9.78.1 [Firefox 2.0.0.3/2007030919]"). 00:03:29 hmm 00:03:31 * SimonRC goes 00:25:41 -!- atrapado has quit ("eso, lang"). 00:27:52 "an ex-lover of the missing wife of accused spouse killer Hans Reiser has confessed to killing eight people unrelated to the case. " 00:32:05 Yeah. . . Sturgeon (aforementioned ex-lover) also has motive to frame Reiser. . . 00:32:37 (Reiser accused Sturgeon of attempted theft, in addition to the whole "ex-lover" bit) 00:49:30 -!- CakeProphet_ has quit ("haaaaaaaaaa"). 00:57:06 GregorR: You mind me asking how CPlof goes? 01:21:14 -!- ihope has quit (Remote closed the connection). 01:26:37 -!- nazgjunk has quit (Read error: 104 (Connection reset by peer)). 01:27:06 -!- nazgjunk has joined. 01:55:24 -!- pikhq has quit ("leaving"). 01:56:49 -!- Pikhq has joined. 02:51:27 Pikhq: It compiles Plof to C, but I haven't finished the runtime library. 02:51:36 Pikhq: A few simple things work (such as the Plof program '0') 02:53:01 GregorR: Kewl. 02:53:34 GregorR: Think you could shove a copy of Cplof into my home dir or something? 02:54:14 Or just links to a darcs repo? 02:55:12 Never mind; found the darcs repo (I think) 02:57:45 It's the "plof" darcs repo. 02:57:53 The same code base will be both cplofc and plofplof. 02:58:09 (No reason not to reuse the lexer, parser and frontend code) 02:59:12 * Pikhq tries to grok your C code 03:00:10 * Pikhq wonders why PlofParameters params is commented out. . . 03:05:26 Because that doesn't work yet ^^ 03:06:00 Ah. 03:06:11 * Pikhq *tries* to create the array constructor. . . 03:07:11 Would it be acceptable for the array constructor to accept the array size as an argument? 03:09:57 * Pikhq needs to see what the hell a PlofThing array would look like to be sure what would and wouldn't be useful. . . 03:12:06 GregorR: Is an array of PlofThings terminated by a PlofThing with PlofThing.type == TYPE_VOID? 03:13:12 heh 03:13:54 * GregorR reappears. 03:14:05 Pikhq: By my CPlofC design, yuh. 03:14:20 Thanks. 03:14:40 * bsmntbombdood is glad GregorR chose C 03:15:36 bsmntbombdood: In my ideal universe, C is the new ASM. It's used by compilers as the intermediary between high-level languages and the system. 03:15:50 * GregorR leaves for home. 03:15:50 Sure 03:15:52 *fwoom* 03:17:07 * bsmntbombdood looks at his loooong history assignment 03:25:16 -!- Pikhq has quit (Read error: 104 (Connection reset by peer)). 03:27:20 -!- Pikhq has joined. 03:27:56 I really should invest in a UPS. 03:28:20 my school just threw out some nice upss but wouldn't let me take one :(( 03:33:52 GregorR: You know what'd be *really* nice? A *generic* PlofThing constructor. . . Taking in a PlofThing and returning a copy of said PlofThing. 03:34:24 It'd simplify what I'm *thinking* would be best for the PlofArray constructor. . . 03:36:18 If there's no offense, I'll go right ahead. 03:41:00 . . . And do you mind me asking the hell kind of indentation style you're using? 03:41:37 * Pikhq will wait as Gregor heads home. . . 03:50:56 -!- Pikhq has quit (Read error: 104 (Connection reset by peer)). 03:51:38 -!- Pikhq has joined. 03:53:17 * Pikhq really, really needs a UPS 03:57:11 Or a better power company 04:06:26 Fairly bad storm. . . 04:06:35 As in "tornados in the general area" 04:27:02 * GregorR reappears. 04:27:10 Pikhq: Feel free to make the PlofThing duplicator. 04:27:24 Pikhq: What's wrong with the indentation style in plof.c? :( 04:28:24 GregorR: Actually, I'm wondering what indentation style it is so I can match it. . . 04:28:43 Four spaces, { on the same line except in function declarations. 04:32:56 So, C-c . stroustrop 04:34:51 I had to look that up ... some people call it K&R :P 04:34:59 * Pikhq wonders how to handle TYPE_VARARGS and TYPE_NAME 04:35:13 GregorR: Odd. . . C-c. k&r produces different behavior. 04:35:20 That is odd. 04:35:40 Why is it doing 5 space tabs for k&r?!? 04:35:50 That is also odd. 04:36:02 You probably don't need to handle copying TYPE_VARARGS and TYPE_NAME, they're for internal use only. 04:36:09 Mmkay. 04:36:28 Maybe have those return NULL? 04:37:09 I would stub them with *((int *) 0) = 0 until the exception system is in place. 04:37:32 (BTW: Wherever you see *((int *) 0) = 0, that's me saying "throw someException; // once exceptions are implemented") 04:38:54 Mmkay; got it returning plofStub(); 04:40:06 I've got plofNewPlofThingGeneric(PlofThing *pthng); written. . . 04:46:13 And I think I've got plofNewPlofThingArray(PlofArray *a); written. 04:49:14 * Pikhq will assume, at least for a moment, that you appreciate having someone else do something on Plof. :p 04:49:43 Very much so X_X 04:51:12 I've probably done the array constructor in a bit of an annoying fashion, but that's largely a side effect of having to copy each member of the PlofArray by hand. . . 04:53:30 Arrays are reference types. 04:53:37 OH, wait. 04:53:44 N/M, I see what you're talking about. 04:53:47 Cancel last three lines. 04:54:15 I'm (as you may gather) talking about the underlying struct. ;) 04:55:03 On your box, ~pikhq/plof.c contains my changes. 04:55:48 darcs record , then darcs send 04:56:13 [It's easier on all parties that way] 04:56:50 Oh, and make sure you're up to date with a darcs pull. 04:58:08 Target email address?!? 04:58:38 * Pikhq obviously doesn't use darcs on a regular basis 04:58:57 `darcs send` sends differences via email. 04:59:05 In a handy patch bundle. 04:59:25 Where to? 04:59:41 See PM 07:49:07 -!- oerjan has joined. 07:54:03 bsmntbombdood: i suspect that ~bf doesn't run in a separate thread, and so sometimes hangs bsmnt_bot. 07:54:50 looks like it 07:56:07 ~exec sys.stdout(keys(self)) 07:56:08 NameError: name 'keys' is not defined 07:56:22 now that was a wild guess. and wrong. 07:57:54 what do you want? 07:58:23 the registered command for ~bf 07:58:52 ~exec self.print_callbacks(sys.stdout) 07:58:53 [('^PING (.*)$', 'pong'), 07:58:53 ('^:bsmntbombdood!\\S*gavin@\\S* PRIVMSG \\S* :~quit ?(.*)', 'do_quit'), 07:58:53 ('^:bsmntbombdood!\\S*gavin@\\S* PRIVMSG \\S* :~raw (.*)', 'do_raw'), 07:58:53 ('^\\S+ PRIVMSG \\S+ :~ctcp (\\S+) (.+)', 'do_ctcp'), 07:58:54 ('^:bsmntbombdood!\\S*gavin@\\S* PRIVMSG (\\S*) :~pexec (.*)', 'do_exec'), 07:58:55 ('\\S+ PRIVMSG (#esoteric|#baadf00d|#bsmnt_bot_errors) :~exec (.*)', 07:58:56 'do_exec'), 07:58:57 ('\\S+ PRIVMSG \\S+ :~ps', 'do_ps'), 07:58:59 ('^:bsmntbombdood!\\S*gavin@\\S* PRIVMSG \\S* :~kill (.*)', 'do_kill'), 07:59:01 ('^ERROR :Closing Link:.*', '')] 07:59:10 not there 07:59:16 oh right. 07:59:59 -!- clog has quit (ended). 08:00:00 -!- clog has joined. 08:00:01 too much work to remember all the right functions. 08:00:58 ~exec execfile("/bot/scripts/bf.py") 08:02:29 ~exec sys.stdout(dir(self)) 08:02:29 ['COMMAND_CHAR', 'THREADING', '__doc__', '__init__', '__module__', 'chan', 'commands_running', 'commands_running_lock', 'connect', 'connected', 'disconnect', 'do_callbacks', 'do_ctcp', 'do_exec', 'do_kill', 'do_ps', 'do_quit', 'do_raw', 'error_in_chan', 'errorchan', 'exec_execer', 'get_message', 'host', 'ident', 'listen', 'load_callbacks', 'locals', 'message_re', 'nick', ' 08:02:29 owner', 'pong', 'port', 'print_callbacks', 'raw', 'raw_regex_queue', 'realname', 'register_raw', 'save_callbacks', 'socket', 'sockfile', 'verbose'] 08:03:21 ~exec sys.stdout(raw_regex_queue[-1]) 08:03:21 NameError: name 'raw_regex_queue' is not defined 08:03:29 ~exec sys.stdout(self.raw_regex_queue[-1]) 08:03:29 (<_sre.SRE_Pattern object at 0x80df618>, ) 08:04:00 ~exec sys.stdout(self.raw_regex_queue[-1][0]) 08:04:01 <_sre.SRE_Pattern object at 0x80df618> 08:04:13 ~exec sys.stdout(dir(self.raw_regex_queue[-1][0])) 08:04:14 ['__copy__', '__deepcopy__', 'findall', 'finditer', 'match', 'scanner', 'search', 'split', 'sub', 'subn'] 08:05:39 ~exec sys.stdout(repr(self.raw_regex_queue[-1][0])) 08:05:39 <_sre.SRE_Pattern object at 0x80df618> 08:05:49 ~exec sys.stdout(str(self.raw_regex_queue[-1][0])) 08:05:50 <_sre.SRE_Pattern object at 0x80df618> 08:09:31 .pattern 08:09:49 ~exec sys.stdout(self.raw_regex_queue[-1][0].pattern) 08:09:50 \S+ PRIVMSG (\S+) :~bf ([^!]*)!?(.*) 08:10:04 sheesh 08:10:17 ~exec sys.stdout(self.raw_regex_queue[-1][1].code) 08:10:18 AttributeError: 'function' object has no attribute 'code' 08:10:24 ~exec sys.stdout(self.raw_regex_queue[-1][1].__code__) 08:10:24 AttributeError: 'function' object has no attribute '__code__' 08:12:00 http://pastebin.ca/471979 08:50:45 I'll put it in a new thread later, now i'm going to bed 09:08:13 -!- oerjan has quit ("leaving"). 09:37:16 -!- sebbu has joined. 11:25:32 -!- jix__ has joined. 11:44:25 -!- cmeme has quit (Connection reset by peer). 11:48:59 -!- cmeme has joined. 11:56:25 -!- sebbu2 has joined. 11:59:20 -!- nazgjunk has left (?). 12:15:29 -!- sebbu has quit (Read error: 110 (Connection timed out)). 13:14:35 -!- jix__ has changed nick to jix. 14:27:06 -!- jix__ has joined. 14:36:12 -!- jix has quit (Read error: 113 (No route to host)). 14:54:43 -!- helios24 has quit (Remote closed the connection). 17:19:44 -!- jix__ has changed nick to jix. 17:20:42 -!- Pikhq has quit (Read error: 110 (Connection timed out)). 18:13:38 -!- ihope has joined. 19:01:36 -!- Pikhq has joined. 19:04:03 Hmmm. . . You think 12 hours of sleep is enough? 19:04:28 Yup; I felt well-rested upon waking up. 19:04:35 Or were you talking about yourself? 19:04:56 Hahah. 19:04:58 Myself. 19:15:32 -!- oerjan has joined. 19:58:05 GregorR: You up? 20:12:12 12 hours < enough 20:16:37 ~exec execfile("/bot/scripts/bf.py") 20:16:38 SyntaxError: EOL while scanning single-quoted string 20:16:59 ~exec execfile("/bot/scripts/bf.py") 20:18:05 ~bf ++++++++[>++++++++++++<-]>+. 20:18:06 a 20:18:06 -!- bsmnt_bot has quit (Remote closed the connection). 20:18:10 -!- bsmnt_bot has joined. 20:20:51 arr 20:22:01 ~bf ++++++++++. 20:22:03 ~exec execfile("/bot/scripts/bf.py") 20:22:18 ~bf ++++++++[>++++++++++++<-]>+. 20:22:18 NameError: name 'bfarg' is not defined 20:22:42 ~exec execfile("/bot/scripts/bf.py") 20:22:49 ~bf ++++++++[>++++++++++++<-]>+. 20:22:49 NameError: name 'bfarg' is not defined 20:22:52 -!- bsmnt_bot has quit (Remote closed the connection). 20:22:54 -!- bsmnt_bot has joined. 20:24:23 ~exec execfile("/bot/scripts/bf.py") 20:24:29 ~bf ++++++++[>++++++++++++<-]>+. 20:24:30 -!- bsmnt_bot has quit (Remote closed the connection). 20:24:32 -!- bsmnt_bot has joined. 20:24:32 gah 20:25:03 ~exec execfile("/bot/scripts/bf.py") 20:25:05 ~bf ++++++++[>++++++++++++<-]>+. 20:25:06 NameError: name 'bfarg' is not defined 20:25:38 ~exec execfile("/bot/scripts/bf.py") 20:25:41 ~bf ++++++++[>++++++++++++<-]>+. 20:25:41 NameError: name 'bfarg' is not defined 20:25:44 NameError: name 'bot' is not defined 20:25:48 wtf 20:26:28 ~exec execfile("/bot/scripts/bf.py") 20:26:32 ~bf ++++++++[>++++++++++++<-]>+. 20:26:33 NameError: name 'bfarg' is not defined 20:26:35 NameError: name 'bot' is not defined 20:26:47 NameError: name 'self' is not defined 20:27:17 ~exec execfile("/bot/scripts/bf.py") 20:27:19 ~bf ++++++++[>++++++++++++<-]>+. 20:27:20 NameError: name 'bfarg' is not defined 20:27:22 NameError: name 'bot' is not defined 20:27:26 ~quit 20:27:27 -!- bsmnt_bot has quit (Remote closed the connection). 20:27:29 -!- bsmnt_bot has joined. 20:27:34 ~exec execfile("/bot/scripts/bf.py") 20:27:37 ~bf ++++++++[>++++++++++++<-]>+. 20:27:37 a 20:27:49 ~bf +[] 20:27:53 ~ps 20:28:11 ~kill 0 20:28:15 argh 20:28:44 KeyboardInterrupt 20:28:45 -!- bsmnt_bot has quit (Read error: 131 (Connection reset by peer)). 20:28:48 -!- bsmnt_bot has joined. 20:28:55 why isn't it running in a thread 21:00:44 It's funny how old elected people who don't know how to manage money throw laptops at kids and expect them to suddenly get better grades 21:05:43 my school spent SOO MUCH money on useless technology in the new school 21:06:41 (we are getting a new school building) 21:06:50 *groan* 21:09:45 However, the whole intercom system is controlled from the network/external phones 21:09:57 just think of the possibilities! 21:10:55 Bwahahahah!~ 21:11:44 oh, yeah--the projectors (one in every class) are centrally controlled too! 21:13:45 I hope I will be able to take advantage of these exciting oportunities 21:16:33 * Pikhq continues prodding GregorR 21:32:37 -!- helios24 has joined. 21:36:54 * SimonRC finds a song about e-commerce. http://www.albinoblacksheep.com/flash/marketland 21:36:58 well, maybe... 21:37:05 metaphorically... 21:37:29 but WTF is the line # Fifteen years ago, wow. # about? 21:37:47 aaaaaaaaagh 21:37:56 /dev/hda1 36G 34G 0 100% 21:39:10 hm 21:39:20 ooh dead 21:39:22 *deaqr 21:39:25 *dear 21:40:03 yes, that is 0 available, 100% used 21:40:04 :( 21:46:04 /dev/kx44/vg0-home 115Z 22Z 93Z 19% /home2-3-ff 21:46:10 :-D 21:46:40 Z? 21:47:12 Zettabyte? 21:47:26 yes 21:47:30 2^70 21:47:37 I am not on a normal system 21:48:15 omgwtfbbq 21:48:54 your organization actually has 115*2^70 bytes of storage? 21:49:22 and you are actually using 22*2^70 bytes? 21:49:44 hm 21:49:57 * SimonRC tries to find his NDA 21:50:49 bsmntbombdood: That looks like you're using more storage than is available. 21:50:57 36G used, 34G total. :p 21:51:24 no, 34 used, 36 total 21:51:34 apparently 2G are reservered for root 21:51:52 more than that 21:53:09 bsmntbombdood: I recommend you compare the number of bytes of storage to avagadro's number 21:53:27 huh? 21:54:12 Google says: "Avogadro's number = 6.0221415 * 10 ^ 23" 21:55:06 ... 21:55:31 so, the same order of magnitude as avagadro's number 21:55:34 or about 2^80 21:55:38 yeah 21:55:52 you know *what* avagadro's number is, right? 21:55:56 yeah 21:57:59 hmm 21:58:16 But i don't see what the significance is 21:58:54 well, storage devices are typically made of atoms... 22:00:06 My point is it's a fucking lot of capacity, and there are serious problems finding the sapce to store it. 22:00:42 the significance is presumably that SimonRC either has access to some super-secret nanotechnology or is joking... 22:00:42 if you take up more than a few thousand atoms per bits the storage is just enormous. 22:01:47 only 440 grams if it's of iron and each bit is one atom 22:02:12 but it's more than one ZB 22:02:46 ok, 50Kg 22:03:23 actually, your're right there; I was confusing g and kg 22:03:41 I was joking, BTW 22:04:15 s/Z/G/g, right 22:04:25 no, I just made it all up 22:04:34 also, the "KigDos" you see me mentioning occasionally is part of the running joke. 22:05:34 ... that I have access to some Kigdatsi technology. 22:05:38 hm... an ordinary person, even an alien, would never need that much storage. 22:05:57 hehehhrejy lol *snork* 22:06:25 oerjan: I'll quote that back at you in about 50 years 22:06:43 640k aught to be enough for anybody 22:07:04 bsmntbombdood: *fwap* "ought" 22:07:41 well, ok, if you insist on storing every sensation that goes through your brain... maybe. 22:08:29 How about 3D imaging? 22:09:23 Also, CERN's new detector will produce several TB of data per second. 22:09:45 i said an ordinary person. i was not counting scientific research. 22:09:46 IIRC that's after throwing 99.9% of it away. 22:09:57 hmmm 22:10:27 the boundries slip rather fast. 22:11:28 maybe we will come up with some kind of sub-atomic storage system 22:12:13 atoms aren't atomic, after all 22:12:22 I was thinking of that amount of storeage being distributed actually. 22:12:58 storing on the surface of a black hole might theoretically be the densest possible... 22:13:15 hmm 22:13:16 yes 22:14:43 http://en.wikipedia.org/wiki/Holographic_principle 22:16:50 i am having some second thoughts... solving NP-complete problems might be common, and could require arbitrary resources. 22:32:23 * Pikhq wonders if maybe he should play with ext4. . . 22:35:11 oerjan: eh? 22:36:47 Meh; I'll wait for e2fstools to catch up first. 22:36:49 anything requiring a massive mathematical search algorithm 22:37:13 I know what NP-complete is... 22:37:59 but by definition they can be solved in exponential time (and hence also exponential space) 22:37:59 not "arbitrary resources" 22:38:29 by arbitrary i meant "as much as you can possibly get hold of" 22:39:26 practically, not mathematically unbounded 22:49:56 -!- sebbu has joined. 22:52:44 -!- oerjan has quit ("Good night"). 22:57:15 -!- sebbu2 has quit (Read error: 145 (Connection timed out)). 23:00:01 When the complexity of the problem doubles, so does the amount of money it costs to solve it? 23:00:31 I'd say it more than doubles 23:01:29 When the complexity of the problem is squared, so is the amount of money it costs to solve it? 23:04:10 isn't that the same thing? 23:11:05 I'd say c*2 = $^2 23:20:38 i dunno if it's that bad 23:21:05 $ = O(c^2) 23:29:14 GregorR: I'm going to take a guess that you're not going to look at my patch at all. XD 23:41:04 I am ... just not right now X-P 23:41:12 I have a lot of other things to do. 23:47:31 It's a Saturday. How much can you have to do? :p 23:47:51 homework :(( 23:59:58 -!- sebbu has quit ("@+").