00:06:30 -!- poiuy_qwert has quit (Quit: Leaving). 00:09:14 hmm, perhaps 'virrigt', but that doesn't imply the same kind of agitation 00:09:15 no 00:09:19 I know what it means 00:09:28 I just don't know how it applies to a piano 00:09:40 hmm, I just started using flymake-mode in Emacs, and it's amazing 00:09:49 ais523, what is it for? 00:09:59 it repeatedly syntax-checks the code you're working on 00:10:06 Do you have something against my personifying things :P 00:10:10 and syntax errors get highlighted almost immediately 00:10:18 much faster than in any other IDE I've used 00:10:19 warnings, too 00:10:37 I was expecting it to take several seconds, like NetBeans, etc., does 00:11:41 Gregor: no, but the things don't like it 00:12:31 oerjan: YOU MEAN THE PEOPLE 00:13:10 the vitally challenged people 00:14:07 "vitally challenged" is a pretty awesome phrase :P 00:25:04 ais523, C only? 00:25:16 AnMaster: I was using it for Perl 00:25:20 although I'm not sure what langs it works for 00:25:21 ah 00:25:25 hm 00:25:29 I suspect, most of the popular ones 00:25:43 INTERCAL? :D 00:25:49 no 00:25:56 sure? tested? 00:25:58 besides, it doesn't normally have compile-time syntax errors 00:26:06 and sure, read the source to intercal-mode 00:26:08 ais523, ick does? 00:26:18 well 00:26:21 not *syntax* 00:26:23 I guess 00:26:27 AnMaster: it complains on a few things at compile-time, but that's arguably a bug 00:26:28 well sometimes 00:26:41 ais523, what about the wrong dimensionality and such? 00:26:58 run-time 00:27:02 hm 00:27:10 given that dimensionality can change at runtime, how could you do it otherwise? 00:27:13 ais523, it also complains if I feed it /dev/random 00:27:28 what error? 00:27:32 ais523, forgot 00:27:41 maybe it only works on regular files 00:27:42 ais523, something about it not looking like intercal iirc? 00:27:49 oh, wrong extension 00:27:52 /dev/random doesn't end ".i" 00:27:58 ais523, no 00:27:59 I did: 00:28:09 head --bytes 5000 /dev/urandom > foo.i 00:28:11 or such iirc 00:28:46 also it complains about missing files 00:29:33 yep 00:29:40 but flymake, you wouldn't expect to complain about missing files 00:29:47 given that it, you know, checks the file you're working on atm 00:29:50 which presumably exists 00:29:58 anyway what about head --bytes 5000 /dev/urandom > foo.i 00:30:01 it was just garbage 01:07:27 -!- FireFly has quit (Quit: Leaving). 01:08:08 -!- ais523 has quit (Remote host closed the connection). 01:33:09 -!- kwertii has joined. 01:33:57 -!- Gracenotes has joined. 02:22:37 -!- BeholdMyGlory has quit (Remote host closed the connection). 03:51:52 -!- augur has joined. 03:54:33 -!- jcp has quit (Quit: I will do anything (almost) for a new router.). 04:16:27 -!- jcp has joined. 05:26:16 -!- oerjan has quit (Quit: leaving). 06:53:05 -!- lament has joined. 07:04:50 -!- lament has quit (Remote host closed the connection). 07:04:55 -!- lament has joined. 07:05:39 -!- Slereah has quit (Ping timeout: 260 seconds). 07:31:35 -!- kwertii has quit (Quit: bye). 07:45:39 -!- Slereah has joined. 07:59:59 -!- clog has quit (ended). 08:00:00 -!- clog has joined. 08:00:29 -!- oerjan has joined. 08:36:07 -!- lament has quit (Ping timeout: 246 seconds). 08:42:34 pikhq, in #irp: AnMaster: Congrats, you are now uberop. <-- what? 08:54:43 -!- oerjan has quit (Quit: leaving). 09:19:47 -!- FireFly has joined. 09:22:28 -!- jcp has quit (Quit: I will do anything (almost) for a new router.). 09:28:10 -!- MigoMipo has joined. 09:43:34 AnMaster: Just a guess, but probably referring what "/msg chanserv access #irp list" should reveal to you. 09:44:22 huh why 09:46:12 -!- adam_d has joined. 09:58:39 -!- tombom has joined. 10:03:44 -!- MigoMipo has quit (Remote host closed the connection). 10:19:19 Deewiant, other change: yn-rep 1000000 reduced from 8.169 to 5.370 seconds on my computer 10:23:30 y-rep-n saw a similar, but not quite as large, speed increase. Didn't test it for quite that large values due to "limited" ram 10:27:10 -!- MizardX has quit (Read error: Connection reset by peer). 10:27:39 -!- MizardX has joined. 11:18:55 -!- chickenzilla has quit (Read error: Connection reset by peer). 11:36:46 -!- chickenzilla has joined. 12:06:56 -!- BeholdMyGlory has joined. 13:12:43 -!- cheater2 has quit (Read error: Connection reset by peer). 13:13:15 -!- cheater2 has joined. 13:39:32 -!- Alex3012_ has joined. 13:40:55 -!- Alex3012 has quit (Ping timeout: 245 seconds). 13:41:06 -!- Alex3012_ has changed nick to Alex3012. 13:45:32 -!- Gracenotes has quit (Quit: Leaving). 14:02:09 -!- MizardX has quit (Quit: reboot). 14:07:57 -!- MizardX has joined. 14:27:52 -!- BeholdMyGlory has quit (Read error: Connection reset by peer). 15:06:20 -!- SimonRC has quit (Ping timeout: 246 seconds). 15:09:23 -!- coppro has quit (Quit: I am leaving. You are about to explode.). 15:19:12 -!- tombom_ has joined. 15:22:01 -!- tombom has quit (Ping timeout: 264 seconds). 15:40:14 -!- SimonRC has joined. 16:05:34 -!- cheater2 has quit (Ping timeout: 264 seconds). 16:10:23 -!- Lawlabee-L has joined. 16:10:32 -!- Lawlabee-L has changed nick to Gregor-L. 16:21:37 -!- Slereah has left (?). 17:29:25 AnMaster: Timeouting lines are now visible in the memory-vs-time plots 17:32:22 -!- BeholdMyGlory has joined. 17:37:31 -!- augur has quit (Ping timeout: 260 seconds). 17:38:41 mhm 17:38:54 Deewiant, busy today and tomorrow. I hate deadlines 17:39:34 I hate gnuplot with gigabytes of memory usage 17:40:39 Well, not really; I think I mostly hate awk and/or my disk being so slow that it takes half an hour to generate the plots 17:59:20 -!- MizardX has quit (Quit: brb). 18:06:12 -!- cheater2 has joined. 18:09:35 -!- augur has joined. 18:11:20 -!- Slereah has joined. 18:24:33 -!- augur has quit (Read error: Connection reset by peer). 18:25:10 -!- augur has joined. 18:32:35 -!- augur has quit (Ping timeout: 245 seconds). 18:39:48 -!- augur has joined. 18:43:47 -!- MizardX has joined. 18:48:11 -!- ehirdiphone has joined. 18:48:17 get 18:50:12 put 18:50:13 :-> 18:50:26 swap 18:56:20 -!- oerjan has joined. 18:58:39 73 roll 19:03:30 I <3 Forth 19:04:31 anyway Deewiant, how would you like another contender for Fungicide, written by someone who doesn't demand to know every detail of every benchmark? 19:06:44 Sure, why not 19:06:55 YOU CANNOT HAVE IT 19:07:02 Oh well 19:07:08 Deewiant: Sufficient motivation levels reached; funge time. 19:07:24 Well. On weekends. 19:07:38 -!- tombom has joined. 19:07:52 It should get through Mycology, to start with :-P 19:07:53 -!- tombom_ has quit (Ping timeout: 258 seconds). 19:08:13 Hey, I can do n-dimensional funge /and/ speed: specialise the code based on a co 19:08:21 mpile time parameter 19:08:33 That's what CCBI already does :-) 19:08:41 Now I need a language good enough to do that. 19:08:41 For 1-3 dimensions 19:09:05 Deewiant: dimensions : N+, naturally 19:09:23 Compile-time specialization for an infinite number of dimensions == infinitely big binary :-) 19:09:44 No. You compile it for a certain dimension. 19:10:00 And it produces dimension-specific code. 19:10:01 Meh. 19:10:12 Meh yourself. 19:10:28 Deewiant: Meh. 19:10:41 today is a momentous day. 19:10:49 no iwc update! 19:10:53 Maybe I'll write it in some wonderful Scheme macros that spit out C. 19:10:59 oerjan: WHAT 19:11:07 i know, it's unheard of 19:11:07 oerjan: Huh? Sure there is 19:11:12 No. 2628 2010-04-07 19:11:22 lulz 19:11:26 huh. 19:11:30 Am I in the wrong year or something? 19:11:36 :slowpoke: 19:11:45 oh wait, i'm being an idiot 19:11:56 How unusual. 19:11:59 *facepalm* 19:12:01 >_> 19:18:03 -!- Gregor-L has quit (Ping timeout: 268 seconds). 19:22:04 ehirdiphone: FWIW I don't mind demands except when they've already been met on the site 19:23:34 The naming, of course, is the most important thing. Ascus, shiro, or hyphae? 19:23:46 Or other, ponders I. 19:24:01 Shiro? 19:24:26 It's some thing of mycelium. 19:24:47 Dictionary knew the other two but not that one 19:24:58 WP "Mycelium" 19:25:20 I see 19:25:35 How about "fairy circle" 19:26:08 No X-D 19:26:37 It's shroom-related and distinctive: what could be better? 19:27:19 Shrooms man 19:27:41 How about VEHICLE FOR TRIPPY 19:27:48 If you want that angle, "Jah"? 19:27:58 I 19:28:11 yeah infinite dimensional funge should definitely use a psychoactive mushroom 19:28:13 don't want that angle. 19:28:30 It's not infinite :P 19:28:54 -!- ehirdiphone has quit (Remote host closed the connection). 19:29:14 -!- ehirdiphone has joined. 19:29:22 afk 19:29:33 brb 19:32:05 -!- adam_d has quit (Ping timeout: 265 seconds). 19:39:56 -!- ais523 has joined. 19:47:19 -!- impomatic has joined. 19:47:22 Hi :-) 19:47:38 Yo. 19:48:02 Hi pikhq 19:49:01 Hmm. I wonder how small of a Brainfuck interpreter I could get. 19:49:24 (note: architecture is i386-linux-unknown, with the following programs: shish) 19:50:15 back 19:50:43 http://impomatic.blogspot.com/2009/01/brainf-interpreter-in-redcode.html 19:51:20 There was a contest about 10 years ago to write the smallest Brainfuck interpreter in x86 19:54:53 didn't someone fit one entirely into ELF headers? 19:55:10 Compiler, and not quite. 19:55:28 still, there's a fun article somewhere about someone trying to write the shortest possible ELF Linux binary, that just did return 42; 19:55:37 Same guy. 19:55:39 and they even managed to fit many of the ELF headers into the ELF headers 19:55:43 http://www.muppetlabs.com/~breadbox/software/tiny/teensy.html http://www.phreedom.org/solar/code/tinype/ 19:55:50 Yeah. 19:56:05 ais523: Also the guy who wrote the cgi interval game 19:56:13 yep 19:56:18 and Google's INTERCAL style guide 19:56:24 which implies, indirectly, that he works for Google atm 19:57:18 Aaaaw. The Brainfuck compiler segfaults for LostKng.b 20:02:31 *INTERCAL 20:02:41 I'll have to go very soon. 20:04:55 :) 20:05:06 Bye! 20:05:12 -!- ehirdiphone has quit (Quit: Get Colloquy for iPhone! http://mobile.colloquy.info). 20:05:16 Gxis 20:09:23 -!- ehirdiphone has joined. 20:09:27 Okay, I have a few more minutes. 20:09:58 Didud d duck cic. C 20:10:48 bye 20:10:50 -!- ehirdiphone has quit (Client Quit). 20:25:46 -!- oerjan has quit (Quit: Now with even more afk). 20:33:59 -!- Oranjer has joined. 20:42:55 -!- adam_d has joined. 20:54:11 -!- Gregor-L has joined. 20:55:38 -!- augur has quit (Ping timeout: 246 seconds). 21:01:28 Why'd you rename shsh -> shish? Or did I misread the first time? 21:02:43 Gregor: Thought that was the name. 21:02:55 I've been reducing the binary size of shish even further. 21:03:04 Would you like the source to it ATM? 21:03:16 Not even a little bit. 21:03:19 http://sprunge.us/HcSN 21:03:24 MUAHAHAH. 21:03:35 Notable features include not depending on libc. 21:03:50 I hope those small* features get inlined. 21:03:55 Grrf 21:04:02 Your f-word overwrote my f-word mid-sentence. 21:04:03 They do. 21:04:58 http://codu.org/aforteforpiano/19e.ogg I can (nearly) play the first page of Nocturne 3 :) 21:05:28 I could probably minimise things further by going into assembly, but, well. The shell is already sitting at 1107 bytes. 21:06:33 The fact that you have an int main suggests strongly that your assertion that it doesn't depend on libc is false. 21:07:02 The glibc-provided entry function does garbage you don't want or need. 21:07:12 dietlibc, actually. But yeah. 21:07:21 I'm going to go copy in a _start and _exit. 21:08:05 Why? 21:08:09 Just replace _start entirely. 21:08:11 Actually. Bah. I'm just going to rename main _start and add _exit. 21:08:16 Exactly :P 21:08:36 Gregor: Copy it in from my "small-libc" directory. Which is where all those *other* functions come from. :P 21:08:52 Ah :P 21:11:07 560 bytes. 21:11:21 You can replace ELF with a.out, can't you? 21:11:24 -nostdlib is such an awesome library. 21:12:10 pikhq: If it's that small, I'd go ahead and take the -Os and hand-optimize it 21:12:13 Erm. Option. 21:12:44 Gregor: Yes, but I'd need to build a new compiler for that. 21:12:58 Or just manually munge the assembly into a.out. 21:13:05 Speaking of, does nasm still support a.out? 21:13:07 pikhq: Alternatively, you could use objcopy like somebody who isn't a moron. 21:13:20 I didn't know about objcopy. 21:13:34 And I didn't no how to phrase that not as an insult ^^ 21:13:39 That's sweetness. 21:15:36 Hrm. Well, it's 32 bytes, but I get an exec format error. 21:15:41 so you *did* how to phrase it as such 21:16:01 pikhq: Most linuxes don't support a.out 21:16:06 Let me go attempt to compile in a.out support. 21:16:12 Yup 21:16:14 Gregor: Yeah, Imma build the module. 21:16:23 And remove ELF support too, who needs it :P 21:16:51 Gregor: No, I mean build the module for my *own* system. So I can test it without building a new kernel. ;) 21:17:00 Oh :P 21:17:30 Let's see if this 32-byte program is, in fact, a full shell. 21:17:36 Well. "Full". 21:18:42 zsh: exec format error: ./shish.1.1 21:18:45 Aaaaw. 21:19:20 Lesse your objcopy line 21:19:40 objcopy --output-target=a.out-i386-linux shish shish.1 21:19:50 Simple enough *shrugs* 21:19:56 So what's shish.1.1 then? 21:20:21 Erm. Different file. 21:20:58 Seems I have to use sstrip to get out the comment section from the ELF file so objcopy will actually... Copy. 21:21:08 And I still get an exec format error. 21:21:57 objdump 21:22:00 file doesn't give wonky results? Maybe your a.out support is borkleborked :P 21:22:04 Okay, then. objdump hates the a.out file. 21:22:15 Contents of section .text: 21:22:15 objdump: out of memory allocating 18446744073709551584 bytes after a total of 0 bytes 21:22:21 :-D 21:22:35 And the ELF file, it refuses to disassemble. 21:22:44 Looks like the size of your .text section is -32 or something 21:22:45 -!- rapido has joined. 21:23:08 Without sstrip, it handles the ELF file correctly. 21:23:18 I'm going to guess sstrip does weird stuff. 21:23:27 It does. 21:23:51 Well, good to know. 21:25:21 Yuh, maybe just strip ... objcopy can also strip out sections if you use enough objcopy-foo. 21:25:36 objcopy --output-target=a.out-i386-linux -S -R .comment shish shish.1 21:25:47 file shish.1 21:25:49 That produces a file that makes objdump report a file of 0s. 21:25:59 shish.1: Linux/i386 demand-paged executable (ZMAGIC), stripped 21:27:31 -!- rapido has left (?). 21:27:48 Well, Idonno :P 21:33:18 -!- augur has joined. 21:35:12 wth 21:35:23 does openoffice actually not support svg??? 21:36:01 nor pdf... 21:36:07 I guess I'll have to do with EPS. Lol 21:37:31 I wonder if you could make Linux support a DOS-COM-like format :P 21:37:44 hm there is svg on my laptop in openoffice 21:37:45 weird 21:38:18 That's nearly a.out. 21:39:53 pikhq: Minus the header ^^ 21:40:30 Gregor, sure. If you a) patch kernel b) write a custom user space loader 21:40:47 -!- augur has quit (Ping timeout: 246 seconds). 21:41:04 or c) use some header + user space loader + the binfmt that allows selecting interpreter from header magic 21:44:37 BTW, it is possible to compile Linux without an executable format. 21:46:57 How useful. 21:56:29 Hmm. Near as I can tell, the Linux support for a.out is a lie. 21:57:11 Given that I've generated an a.out file as close to the "proper" way as I can. 21:57:44 I generated a .o file, then stripped the .comment section, then had ld link and output an a.out file. 21:57:48 argh 21:58:01 why does openoffice drop text when importing svg 21:58:09 and eps it ended up using the preview at all time 21:58:45 Ah well. a.out format appears to have overhead for this program, compared with ELF. 21:59:20 This program statically allocates a lot of stuff. a.out does the static allocation via a series of 0s in the file. 21:59:31 ELF notes the size that's been statically allocated. 22:00:39 ... why do you have any BSS at all? 22:00:46 -!- BeholdMyGlory has quit (Read error: Connection reset by peer). 22:01:23 http://qa.openoffice.org/issues/show_bug.cgi?id=49991 <-- aaaaaargh 22:01:43 Gregor: Because. 22:02:21 Though, I could just stick that on the stack and see what size I get. 22:03:40 496 bytes. 22:03:55 Hooray. 22:04:52 STILL TOO BIG 22:09:44 -!- cheater2 has quit (Read error: Connection reset by peer). 22:09:59 -!- cheater2 has joined. 22:12:20 -!- augur has joined. 22:12:35 -!- adam_d has quit (Ping timeout: 245 seconds). 22:13:25 -!- oklofok has joined. 22:14:19 This is smaller than many of the tiny ELF utilities. 22:14:26 And in C. 22:14:52 Not exactly normal C, though. 22:14:52 -!- oklopol has quit (Ping timeout: 252 seconds). 22:24:06 -!- tombom has quit (Read error: Connection reset by peer). 22:24:47 -!- tombom has joined. 22:27:50 It's in C ... for a ridiculous definition of C :P 22:29:07 Hah. 22:29:33 http://sprunge.us/MEcJ 22:29:59 I'm not thinking of better ways to shrink that, short of removing the environment handling. 22:30:26 -!- ais523_ has joined. 22:30:30 -!- ais523 has quit (Ping timeout: 245 seconds). 22:31:10 hmm, I can reboot my computer and reinstall my wireless drivers in the time it takes me to pingout from Freenode? impressive 22:31:11 -!- ais523_ has changed nick to ais523. 22:31:21 well, rebuild and reinstall 22:31:38 I compile my wireless drivers from source as there isn't a binary package for them yet 22:32:04 pikhq: if (*(unsigned*)tokened[0] == 'set\0') 22:35:32 -!- Alex3012_ has joined. 22:37:12 -!- Alex3012 has quit (Ping timeout: 265 seconds). 22:37:21 -!- Alex3012_ has changed nick to Alex3012. 22:43:47 Deewiant: ? 22:44:23 Smaller check for set than four separate tests 22:44:36 Mmm. 22:45:05 And similarly for cd, although you'll need a shift 22:45:22 I... Don't think that works, though. The 'set\0' literal there, that is. 22:45:28 I'll futz with it in a bit. 22:45:41 GCC supports it IIRC. 22:45:59 -!- augur has quit (Ping timeout: 260 seconds). 22:46:07 Mmkay. 22:46:20 -!- augur has joined. 22:46:27 You can always write it out as an integer if you're worried :-P 22:48:08 -!- BeholdMyGlory has joined. 22:52:14 Doesn't seem to work right. 22:52:46 You're gonna run into endianness issues. 22:52:50 Oh, endianness... yeah 22:52:57 'set\0' isn't right. 22:53:03 Yeah, that'd do it. 22:53:37 Since you're assuming x86 anyway it's '\0tes', neh? 22:53:42 -!- tombom has quit (Quit: Leaving). 22:54:17 That said, making the if statements a *single* expression gets it down to 488 bytes. 22:54:33 You compiling with optimization? 22:54:40 Also, & is presumably smaller than && 22:54:41 Yes. 22:54:53 Remember to compare -Os and -O3 too 22:55:15 I have been. -O3 is the second-smallest optimization ATM. 22:55:45 "&" is *larger* than &&. 22:55:47 And if you just care about the binary size, I reiterate that I'd be working on the asm level :-P 22:56:08 -!- coppro has joined. 22:56:15 But I don't wanna! 22:56:20 :P 22:56:22 Meh 22:56:28 I'll go sleep then -> 23:00:32 -!- oerjan has joined. 23:10:44 Okay, 463 bytes. 23:11:17 http://sprunge.us/XUcK 23:12:02 ... Unsigned short? WTF? 23:12:39 Okay, it's shorter that way. 23:12:52 I guess accidents made my code shorter. *shrug* 23:13:42 Ah. But that's incorrect. Doesn't check the null. 23:28:50 -!- ais523 has quit (Remote host closed the connection). 23:31:16 -!- FireFly has quit (Quit: Leaving). 23:54:23 * Sgeo is writing Haskell in his [C++] Data Structures class 23:54:30 Because I'd rather not be doing this 23:54:45 -!- jcp1 has joined. 23:56:05 I write code in class that isn't related all the time 23:57:23 -!- augur has quit (Ping timeout: 260 seconds). 23:59:37 This code is related, just in the wrong language