00:03:09 pity that AOL doesn't mail out copies of itself on 1 gig flash drives. I didn't have to buy disks for years 00:04:46 indeed 01:46:25 -!- ihope_ has joined. 02:03:17 -!- oerjan has quit ("Good night"). 02:03:18 -!- ihope has quit (Read error: 110 (Connection timed out)). 02:12:18 -!- Sgeo has joined. 03:00:03 * SimonRC goes to bed. 03:21:04 -!- boily has joined. 03:47:26 -!- ihope_ has quit (Read error: 110 (Connection timed out)). 04:31:21 -!- boily has quit ("WeeChat 0.2.4"). 05:13:19 -!- GreaseMonkey has joined. 05:23:43 -!- calamari has joined. 05:38:36 -!- ajagucki has joined. 05:39:10 -!- calamari has quit ("Leaving"). 05:52:20 -!- Sgeo has quit ("Ex-Chat"). 06:10:29 -!- bsmntbombdood has quit (Remote closed the connection). 06:10:34 -!- bsmntbombdood has joined. 06:19:02 -!- kwertii has quit (Connection timed out). 07:59:59 -!- clog has quit (ended). 08:00:00 -!- clog has joined. 08:04:07 -!- GregorR-L has joined. 08:15:42 -!- ajagucki has quit ("Konversation terminated!"). 09:03:31 -!- GregorR-L has quit (Remote closed the connection). 09:09:56 -!- nooga has quit (Remote closed the connection). 09:10:31 -!- nooga has joined. 10:23:59 hey anyone has hacker's delight in PDF form? 10:30:14 -!- GreaseMonkey has changed nick to N0body. 10:41:40 -!- N0body has changed nick to GreaseMonkey. 11:25:22 gonna go now, gnight 11:25:39 -!- GreaseMonkey has quit ("Hasta la Vista(R)"). 12:07:53 -!- oerjan has joined. 12:48:44 -!- ihope_ has joined. 12:48:58 -!- ihope_ has changed nick to ihope. 12:58:57 -!- ihope_ has joined. 13:12:38 -!- ihope has quit (Read error: 110 (Connection timed out)). 13:54:29 -!- ihope_ has quit ("http://tunes.org/~nef/logs/esoteric/06.08.09"). 14:13:08 with a quick show of hands, (and we're talking *actual* programming tasks here, not just esolang dev work), who prefers RPN, prefix and algebraic notation? Giving your reasons for each would be interesting if you choose to do so 14:14:06 if that phrasing is confusing, I'd like to know which of the three you find the easiest to work with and the best to use 15:58:41 -!- kwertii has joined. 16:09:35 -!- ihope has joined. 16:54:46 * SimonRC finds out an interesting thing about micro-optimisations... 16:58:40 someone tried comparing (in C): "return (x << 3) + (x << 1);" with "return x * 10;"... 16:58:56 naturally, they both produced the same code: 16:59:24 mov eax, DWORD PTR _x$[esp-4] ; lea eax, DWORD PTR [eax+eax*4] ; add eax, eax ; 16:59:30 hehehe! 16:59:39 that means (roughly): 16:59:43 register int t = x; 16:59:43 t = (int)(t + (long*)t); /* pointer arithmetic does: t = 4*t + t */ 16:59:43 t = t + t; 16:59:44 return t; 17:00:06 Moral of the story: the compiler knows far more about micro-optimisations than you do. 17:00:38 (long*)t is 4t? 17:01:11 Doesn't x86 have... things for multiplication? 17:02:15 the compiler evidentally thinks that bizarre trick is the best way to handle it. 17:02:54 you know how pointer arithmetic works in C, right? 17:06:21 The integer being added shifts the pointer by the given number of *objects* not bytes... 17:06:53 so adding 1 to a (long*) will increase it by 4, assuming sizeof(long) == 4. 17:07:39 this means that (int)(t + (long*)t) is t*5. 17:15:23 -!- sebbu has joined. 17:15:46 hi 17:16:53 -!- jix has joined. 17:22:39 hi * 2 17:29:21 My GCC compiles those two versions differently, btw (even if I force -mregparm=0 to approximate those solutions). First one to "movl 8(%rsp), %eax; leal (%rax,%rax), %edx; leal (%rdx, %rax, 8), %eax; ret" and the second one to "movl 8(%rsp), %eax; leal (%rax,%rax,4), %eax; addl %eax, %eax; ret". 17:30:25 Makes some sort of sense: the first one is a bit closer to the C version, since it does 2*x+8*x and not 2*(4*x+x). 17:31:32 Possibly with enough flags it'd generate identical code. 17:40:30 fizzie: Try -O as your flag. ;) 17:41:29 RodgerTheGreat: In response to your hours-long poll: I prefer RPN for calculator usage, and prefix for coding. 17:41:47 Although infix is also good for coding. 17:41:59 makes sense 17:42:03 i prefer infix for everything. 17:42:11 math notation is the best! 17:42:21 I'm a Tcler and an HP calculator/dc user. ;) 17:42:53 I'd use RPN more if I had an 11c- I only have an HP12c, which isn't suitable for a lot of the math I do 17:53:41 if you actually prefered XML, that would be circumfix i guess 17:54:17 which leads to the question of whether lisp is really prefix 17:54:36 heh 17:54:44 lisp is, of course, sexfix! 17:55:16 lisp: the sexp fixated language 17:57:54 No, it's variadic prefix. 17:59:05 -!- oerjan has quit ("Kayak, on the other hand, is clearly circumfix"). 18:20:41 That was with -O6. 18:45:24 -!- c|p has joined. 18:51:51 * SimonRC lols a lot 18:52:07 Y'know those supposed open-air puddles on Mars? 18:52:27 It turns out they cannot be water, for a simple reason. 18:52:35 They are on a fucking slope. 18:55:45 lol 18:58:00 * ihope ponders the fact that there's a fizzie here and a fuzzie in another channel he's in 18:58:07 A little weird, that. 18:58:14 Er, confusing. Or something. 19:09:03 -!- mtve has quit (Read error: 110 (Connection timed out)). 19:25:30 * SimonRC decides that AC power was invented to make calculating power usage as difficult as possible: http://www.dansdata.com/gz028.htm 19:25:52 quite possibly 19:26:52 Dear world government. Please invent an AC power standard for all our PCs and stuff to use. 19:26:55 Love SimonRC 19:27:00 oops 19:27:06 Dear world government. Please invent a DC power standard for all our PCs and stuff to use. 19:27:10 Love SimonRC 19:28:32 even just a standard AC->DC adapter that worked with *everything* would do the trick pretty nicely 19:31:44 Google, Sun, and the like are experimenting with having just one big PSU per rack of machines. 19:34:15 it's a good start 19:41:03 SimonRC: What you got against 5v/12v? 19:43:01 nothing, why? 19:43:24 Because that's the DC standard. 20:17:33 -!- sebbu2 has joined. 20:28:38 -!- c|p has quit (Remote closed the connection). 20:36:23 -!- sebbu has quit (Read error: 110 (Connection timed out)). 20:36:33 -!- oerjan has joined. 20:48:21 pikhq: Really? I have yet to see anywhere with such sockets on the wall. (I was referring to DC *sockets*.) 20:49:02 * SimonRC adds a category to Wikipedia: Categories that do not contain themselves. 20:51:55 -!- mtve has joined. 20:52:48 Ah. 20:53:08 * pikhq adds that page to itself 20:53:12 Paradox! Yay! 21:28:57 * SimonRC goes 21:40:54 Category: Paradoxical categories 21:40:59 s/: /:/ 21:59:25 -!- jix has quit ("CommandQ"). 22:31:27 -!- sekhmet has quit ("need.... more..... volts......"). 23:22:41 -!- sekhmet has joined. 23:55:05 -!- sp3tt has quit (Read error: 104 (Connection reset by peer)). 23:59:32 -!- sp3tt has joined.