00:00:24 -!- cheater00 has joined. 00:02:02 -!- TLUL|afk has changed nick to TLUL. 00:03:08 -!- cheater- has quit (Ping timeout: 246 seconds). 00:18:59 ... 00:19:05 In principle, the libc.so auction has started. 00:19:11 In practice, IT HAS VANISHED FROM THE MATERIAL PLANE 00:24:35 -!- augur has quit (Remote host closed the connection). 00:33:28 -!- Mathnerd314 has quit (Ping timeout: 264 seconds). 00:45:08 -!- augur has joined. 00:53:12 -!- poiuy_qwert has quit (Quit: Leaving). 00:56:59 -!- variable has joined. 01:00:09 -!- Mathnerd314 has joined. 01:14:31 I have at least one active competitor for libc.so 01:15:23 And it turned out.... IT WAS GREGOR FROM THE FUTURE 01:18:18 he was sent back to prevent Ulrich Drepper from getting it, but something went wrong in the planning 01:23:06 "at least"? 01:29:56 -!- Mathnerd314 has quit (Ping timeout: 246 seconds). 01:40:55 -!- sftp has quit (Remote host closed the connection). 01:55:15 -!- Mathnerd314 has joined. 02:55:50 -!- TLUL has changed nick to TLUL|afk. 03:03:07 -!- azaq23 has quit (Quit: Leaving.). 03:35:35 -!- TLUL|afk has quit (Quit: *disappears in a puff of orange smoke*). 04:11:33 today's xkcd reminds me of a dream i had that i may have mentioned here before 04:15:53 Did you dream that xkcd would remind you of a dream? 04:16:32 no, the dream did not have anything to do with xkcd, afair 04:16:41 i'm not sure i'd heard of xkcd then. 04:17:41 it did include a wall map of the place i was in, that somehow became identical to the place itself. 04:18:57 and when something touched the spot of the map where the map itself was, everything started dissolving into pixels. 04:20:11 it was probably inspired by another comic i'd seen before with a similar theme. 04:21:09 (someone pointing to the "you are here" mark on a map, and people around them panicking as a giant finger appears from the sky) 04:23:45 That sounds PBF-like, but I don't recall any such PBF 04:24:15 no, it's from the 90's at least. it may have been bizarro. 04:24:21 (and it was on paper) 04:25:38 i mean i have a vague picture in my head that _looks_ like a bizarro comic 04:27:40 "If my math is correct, I just helped pay off 10% of the debt. $1.50 divided by $15 trillion = 10% right?" 04:28:00 -!- zzo38 has joined. 04:28:04 https://www.kickstarter.com/projects/2116548608/help-erase-the-national-debt-of-the-usa/comments 04:29:36 I found a code that displays "Just another _______ hacker" with the name of the programming language filled in, working for these programming languages: C, C++, Perl, Plain TeX, PostScript, LaTeX, zsh, Bourne Shell. (For TeX, PostScript, and LaTeX, it prints the text on the paper) Now we could add in even more, including some esoteric programming, too. 04:30:18 I thought you hated LaTeX 04:30:39 Is true, I do not like LaTeX. However, I found this code. (I have not tested it at all) 04:31:53 (I did not write this code. I do not even know how to write a code in PostScript.) 04:33:16 Oh, a polygot-like thing that prints whatever language it's being used as? 04:33:35 Sgeo: Yes, that is what it is. 04:33:37 How does it differentiate between C and C++? 04:34:08 I guess C++ has comments that C doesn't, hmm 04:34:21 No, that is not how it does it. 04:34:32 Link to it maybe? 04:34:34 There it is: http://www.perlmonks.org/index.pl?displaytype=displaycode;node_id=520121 04:35:31 I guess there is a difference in sizeof in C++? 04:36:23 How does %: avoid being a syntax error in C and C++? 04:37:26 http://en.wikipedia.org/wiki/Digraphs_and_trigraphs#C 04:45:31 -!- asiekierka has joined. 05:05:18 ah it was bizarro indeed 05:06:16 hm let me see if i can find that date on the web 05:06:49 "++"+2*(1%sizeof'2') <-- that makes no sense to me 05:07:37 ouch wait 05:07:58 is sizeof '2' not 1 in C++? 05:08:15 but zero 05:08:34 wait a second. That doesn't work. It is division by zero then 05:08:58 I can't see how that code can ever work for C++... 05:09:23 unless it relies on undefined behaviour 05:10:29 it is quite clear how it works for C, by advancing the pointer two steps you get the null string 05:11:31 Sgeo, oerjan, zzo38: I'm confused, how can that code ever work for the C++ case? 05:11:36 -!- asiekierka has quit (Read error: Operation timed out). 05:13:07 oh well, have to leave, cya 05:13:39 it's March 21 1999, but i cannot find it on the web :( 05:14:17 i don't know c++ 05:17:24 you want 1%sizeof'2' to be 1 for c++ and 0 for c, i presume 05:18:03 assuming string pointers work the same in both 05:18:48 if sizeof'2' is anything > 1 in c++, that should work 05:20:44 oh wait i'm thinking backwards 05:21:00 !c print "hi" 05:21:03 !c print "hi"; 05:21:04 Does not compile. 05:21:14 !c printf("hi"); 05:21:17 hi 05:21:31 !c printf("%d", (sizeof'2')); 05:21:34 4 05:21:39 ic 05:21:51 How is sizeof'2' 4? 05:21:53 !c++ printf("%d", (sizeof'2')); 05:22:06 !languages 05:22:11 !help 05:22:11 help: General commands: !help, !info, !bf_txtgen. See also !help languages, !help userinterps. You can get help on some commands by typing !help . 05:22:16 "help languages 05:22:21 !help languages 05:22:21 languages: Esoteric: 1l 2l adjust asm axo bch befunge befunge98 bf bf8 bf16 bf32 boolfuck cintercal clcintercal dimensifuck glass glypho haskell kipple lambda lazyk linguine malbolge pbrain perl qbf rail rhotor sadol sceql trigger udage01 underload unlambda whirl. Competitive: bfjoust fyb. Other: asm c cxx forth sh. 05:22:21 !help languages 05:22:22 languages: Esoteric: 1l 2l adjust asm axo bch befunge befunge98 bf bf8 bf16 bf32 boolfuck cintercal clcintercal dimensifuck glass glypho haskell kipple lambda lazyk linguine malbolge pbrain perl qbf rail rhotor sadol sceql trigger udage01 underload unlambda whirl. Competitive: bfjoust fyb. Other: asm c cxx forth sh. 05:22:23 =P 05:22:35 !cxx printf("%d", (sizeof'2')); 05:22:42 1 05:22:45 aha 05:23:10 Ok, that 05:23:15 that's just bizarre 05:23:20 Why is.. those things? 05:24:05 why is the size of a character constant 4 in C? 05:24:34 !c printf("%d", (sizeof'1')); 05:24:36 4 05:24:45 !c printf("%d", (sizeof('1'))); 05:24:47 4 05:25:10 oh hm 05:25:37 !c printf("%c", '2'); 05:25:39 2 05:26:00 A character constant in C is "int" type 05:26:05 ah 05:34:37 That's something C++ changes. 05:34:41 Oh, you tested that too. 05:34:44 I was just about. 05:37:24 yes, that seems to explain the c/c++ difference in the polyglot 05:37:39 C++ also has multicharacter literals of type 'int'. 05:37:48 !cxx printf("%d", sizeof('ab')) 05:37:53 4 05:38:20 (The actual value of such a thing is implementation-defined.) 05:38:42 !cxx printf("%04x", (unsigned)'ab'); 05:38:47 6162 05:39:19 That's I guess the obvious choice. 05:41:35 -!- lament has joined. 05:45:11 I like how the polyglot uses the %: digraph for # in the #include part. 05:49:00 -!- dbc has quit (Read error: Operation timed out). 05:49:18 !c char *p = "unreadable"; if (1) <% printf("digraphs are so %s", &p<:2:>); %> 05:49:21 digraphs are so readable 05:49:28 -!- dbc has joined. 06:48:23 -!- zzo38 has quit (Quit: Write this somewhere else.). 07:20:02 -!- oerjan has quit (Quit: Good night). 08:36:04 -!- lament has quit (Ping timeout: 276 seconds). 09:56:40 -!- ais523 has joined. 10:05:00 -!- ais523 has quit (Read error: Connection reset by peer). 10:07:00 -!- ais523 has joined. 11:16:43 -!- cheater99 has joined. 11:17:15 -!- cheater00 has quit (Ping timeout: 246 seconds). 11:32:38 -!- ais523_ has joined. 12:09:07 -!- ais523_ has quit (Ping timeout: 252 seconds). 12:18:53 -!- Slereah has quit (Ping timeout: 250 seconds). 12:19:05 -!- ais523 has quit (Ping timeout: 240 seconds). 12:32:51 -!- augur has quit (Remote host closed the connection). 12:33:31 -!- sftp has joined. 12:36:01 OMG, this domain bidding site is evil/clever. 12:36:54 -!- Sgeo_ has joined. 12:37:05 "Please note that when the leader of an auction is outbid in the last 24 hours of the scheduled auction close, the auction will extend to close 24 hours after the leader change occurred." 12:38:49 -!- ais523_ has joined. 12:39:30 -!- Sgeo has quit (Ping timeout: 246 seconds). 12:41:15 -!- Mathnerd314 has quit (Ping timeout: 246 seconds). 12:42:44 -!- ais523_ has quit (Client Quit). 12:43:45 Gregor, so how goes the auction? 12:44:14 I'm in the lead for libm but it now won't be closing 'til tomorrow, I'm not in the lead for libc but it's only at $60 and there's a week left. 12:45:13 Gregor, so how much is libm up at then? 12:45:25 Too much already, $110 :P 12:47:45 likely libc will go higher 12:47:54 it is somewhat more famous than libm 12:48:47 Gregor, is this the yearly cost or a one-time cost you are bidding for? 12:49:13 One-time. 12:49:33 What sort of bizarre universe has a bid for yearly-cost on a domain name :P 12:49:41 I'm not paying hundreds/year on this shit :P 12:50:11 good 13:00:46 Is it acceptable to wear a shirt twice not in a row without washing? 13:15:15 -!- augur has joined. 13:18:48 Sgeo_: depends on the type of shit 13:18:49 *shirt 13:18:58 (that was intentional) 13:19:09 ie: how dirty it is 13:19:30 * variable is away 13:27:27 -!- Sgeo_ has quit (Ping timeout: 246 seconds). 13:27:28 -!- copumpkin has quit (Quit: Computer has gone to sleep.). 13:28:19 -!- sftp has quit (Read error: Operation timed out). 13:32:11 -!- sftp has joined. 13:35:19 -!- BeholdMyGlory has joined. 13:48:19 -!- copumpkin has joined. 13:59:33 -!- cheater00 has joined. 14:00:21 -!- cheater99 has quit (Ping timeout: 246 seconds). 14:01:55 -!- azaq23 has joined. 14:09:42 -!- FireFly has joined. 14:12:30 -!- sftp_ has joined. 14:13:09 -!- sftp has quit (Ping timeout: 260 seconds). 14:14:45 -!- MigoMipo has joined. 14:32:42 -!- cheater- has joined. 14:34:18 -!- cheater00 has quit (Ping timeout: 246 seconds). 14:43:14 -!- asiekierka has joined. 14:50:17 El Cheapo Hosting Inc upgraded my plan X-D 15:09:06 -!- Sgeo has joined. 15:24:07 -!- lament has joined. 15:32:29 -!- oerjan has joined. 15:43:59 zzo reads godel's letter? http://rjlipton.wordpress.com/2011/03/09/tex-is-great-what-is-tex/#comment-11392 15:44:32 * zzo38 15:59:04 -!- Slereah has joined. 16:00:31 -!- Phantom_Hoover has joined. 16:03:21 APNIC down 0.19: 2M to Pakistan, 32k to Singapore, 1M to South Korea, 2k+/32 to Japan, 2k to Indonesia, /32 to Hong Kong. 16:06:43 -!- Sgeo has quit (Ping timeout: 240 seconds). 16:07:42 -!- lament has quit (Ping timeout: 248 seconds). 16:09:34 New depletion estimate (using the same random algo as the last time): Friday 15th April. 16:16:01 -!- zzo38 has joined. 16:20:42 -!- copumpkin has quit (Ping timeout: 246 seconds). 16:22:12 -!- copumpkin has joined. 16:29:21 oi 16:29:34 whats it called when you have two programs battling for memory? 16:29:54 Corewars? 16:29:57 ya! 16:30:25 -!- ais523 has joined. 16:37:14 -!- cal153 has quit (Ping timeout: 260 seconds). 16:56:31 Gregor: ping 16:56:40 -!- zzo38 has quit (Remote host closed the connection). 17:06:39 -!- oerjan has quit (Quit: leaving). 17:07:18 -!- pumpkin has joined. 17:07:34 -!- copumpkin has quit (Ping timeout: 260 seconds). 17:11:27 -!- cal153 has joined. 17:19:14 -!- BeholdMyGlory has quit (Remote host closed the connection). 17:21:59 -!- BeholdMyGlory has joined. 17:25:07 -!- cheater00 has joined. 17:26:09 -!- cheater- has quit (Ping timeout: 246 seconds). 17:30:33 -!- asiekierka has quit (Remote host closed the connection). 17:30:44 -!- asiekierka has joined. 17:41:09 -!- elliott has joined. 17:41:11 ugh 17:41:11 05:21:31: !c printf("%d", (sizeof'2')); 17:41:12 05:21:34: 4 17:41:15 05:22:35: !cxx printf("%d", (sizeof'2')); 17:41:15 05:22:42: 1 17:41:18 in C, '2' is an int 17:41:20 in C++, '2' is a char 17:41:37 -!- FireFly has quit (Quit: swatted to death). 17:42:46 13:00:46: Is it acceptable to wear a shirt twice not in a row without washing? 17:42:46 that's my cue 17:42:47 -!- elliott has left. 17:44:20 lolelliott 17:58:42 -!- asiekierka has quit (Ping timeout: 246 seconds). 18:02:44 -!- Sgeo has joined. 18:03:08 -!- cheater99 has joined. 18:04:19 -!- cheater00 has quit (Ping timeout: 240 seconds). 18:06:40 Whoop: 2.019 blocks this month. Crazy. 18:22:46 -!- ais523 has quit (Read error: Connection reset by peer). 18:48:40 -!- cheater00 has joined. 18:49:27 -!- cheater99 has quit (Ping timeout: 246 seconds). 18:49:30 -!- augur has quit (Remote host closed the connection). 18:56:53 -!- impomatic has joined. 18:57:35 -!- augur has joined. 18:57:52 -!- augur has quit (Remote host closed the connection). 18:59:19 -!- augur has joined. 19:00:25 -!- ais523 has joined. 19:22:43 -!- Sgeo has quit (Ping timeout: 240 seconds). 19:26:36 -!- cheater99 has joined. 19:26:47 glogbot is now backed by glogbackup, running on Fly By Wire VPS Survisses™! 19:27:15 Rest assured, should glogbot go down, Fly By Wire Inc. has your data. 19:27:57 -!- cheater00 has quit (Ping timeout: 246 seconds). 19:29:22 APNIC relative allocations last 30 days: ~86% 19:33:46 Relative to what? Total amount of allocations? 19:33:50 Yeah. 19:34:43 HALP my advisor and the postdoc working on this project are both sitting AT MY DESK 19:34:55 RIPE NCC: 8.0%, AFRINIC: 3.5%, LACNIC: 1.4%, ARIN: 1.2% 19:35:03 It's all good as long as they're not sitting ON YOUR DESK. 19:38:36 At rate shown in last 30 days, RIPE NCC would deplete in about a year. Of course, there is considerable seasonal variation. 19:40:15 I'M SURROUNDED D-8 19:41:51 glogbot is now backed by glogbackup, running on Fly By Wire VPS Survissesā„¢! ā† is that the ultra-cheap one? 19:42:43 In other news, my idiot chemistry teacher has outdone herself. 19:43:04 She incoherently argued with me for several minutes that relative atomic masses are unitless. 19:43:39 Phantom_Hoover: That's my name for the ultra-cheap one :P 19:43:43 -!- Sgeo has joined. 19:48:08 Phantom_Hoover: But so far it actually seems just fine. Very get-what-you-pay-for, but no real problems. 19:57:21 -!- ais523 has quit (Remote host closed the connection). 20:01:02 -!- oerjan has joined. 20:04:42 I'M SURROUNDED D-8 20:04:49 clearly you must blast your way out 20:05:09 I'll do a barrel roll! 20:05:18 Gregor, quick, I'll use the Device! 20:16:36 Gregor is stunned into silence by the extremity of the measure. 20:17:22 No, I'm just STILL SURROUNDED >_< 20:18:53 OKOKOK 20:19:03 What are your coƶrdinates? 20:19:30 Device? 20:19:40 Sgeo, *the Device 20:20:11 What is this the Device? 20:23:29 You *don't* want to know. 20:31:55 MOMENTARY FREEDOM 20:31:56 *breathes* 20:32:39 QUICK RUN, AND RUN QUICKLY 20:32:49 YOU MAY WANT TO POUR A DRINK ON YOUR HEAD 20:33:55 -!- Sgeo has quit (Ping timeout: 240 seconds). 20:40:40 SGEO KNOWS THE DANGER 20:46:52 -!- iconmaster has joined. 20:49:57 -!- iconmaster has quit (Client Quit). 20:52:32 -!- sftp_ has quit (Remote host closed the connection). 21:02:54 * Phantom_Hoover ā†’ 21:02:58 -!- Phantom_Hoover has quit (Quit: Leaving). 21:08:13 -!- sftp has joined. 21:24:54 -!- Mathnerd314 has joined. 21:28:19 -!- augur has quit (Remote host closed the connection). 21:30:28 -!- jcp has quit (Ping timeout: 250 seconds). 21:33:14 -!- MigoMipo has quit (Read error: Connection reset by peer). 21:33:39 -!- jcp has joined. 22:08:39 -!- augur has joined. 22:17:13 -!- impomatic has quit (Quit: ChatZilla 0.9.86.1 [Firefox 3.5.18/20110319140258]). 22:25:58 -!- oerjan has quit (Quit: Taking out the thrash). 22:30:19 -!- copumpkin has joined. 22:30:20 -!- pumpkin has quit (Ping timeout: 252 seconds). 22:40:16 -!- oerjan has joined. 22:43:16 * nooga uses windows 7 22:43:20 what a fail 22:45:29 -!- copumpkin has quit (Ping timeout: 250 seconds). 22:48:09 -!- copumpkin has joined. 22:54:03 yeah... you suck so bad 22:54:24 -!- zzo38 has joined. 23:12:55 -!- cheater00 has joined. 23:15:32 -!- cheater99 has quit (Ping timeout: 240 seconds). 23:15:55 -!- copumpkin has quit (Quit: Computer has gone to sleep.). 23:23:34 -!- BeholdMyGlory has quit (Remote host closed the connection). 23:38:08 -!- copumpkin has joined. 23:42:41 -!- elliott has joined. 23:42:48 If p is a pointer, is p[-1] defined equivalent to *(p-1)? I know array[-1] is undefined. 23:42:51 ##C is fucking useless 23:43:45 I'd expect it to be that in practice... check a spec 23:47:14 In practice, yes. 23:47:22 I suppose I'll find a pyrate C89 standard. 23:48:59 there's a draft: http://www.open-std.org/jtc1/sc22/WG14/www/docs/n1256.pdf 23:49:43 http://flash-gordon.me.uk/ansi.c.txt ;; is greppable. 23:49:56 -!- Sgeo has joined. 23:50:29 Seems like [] isn't even defined for pointers X_X 23:51:09 um i'm pretty sure i've read that a[b] is precisely equal to *(a+b) ... 23:51:16 elliott: array[-1] is only undefined because *(array-1) is out of bounds usually 23:51:17 oerjan: it is, for arrays 23:51:22 oerjan: i'm trying to find the definition for pointers :) 23:51:24 3["abc"] and all that... 23:51:27 oerjan: of course. 23:51:31 oerjan: but the C standard is wily. 23:51:31 elliott: actually, it isn't defined for arrays 23:51:35 oerjan: anyway it is not precisely equal. 23:51:36 it is equivalent for pointers 23:51:43 arrays just decay into pointers 23:51:43 foo[n] is only defined for 0 <= n < array length 23:51:46 elliott: wrong 23:51:53 ofc, *(foo+n) is only defined for 0 <= n < array length 23:51:58 exactly 23:52:07 <= array length, iirc 23:52:20 int foo[3]; /* I very much doubt foo[3] is well-defined */ 23:52:21 oh wait hm 23:52:24 array indexing is from 0 23:52:49 anyway 23:52:50 foo+n is for n <= array length, but you may not be able to dereference it i guess 23:52:59 ofc 23:53:02 foo+2394872349 is also ok 23:53:06 you just can't dereference it without UB 23:53:19 actually i don't even want that, it seems :( 23:53:20 what i want is 23:53:25 struct foo { blah *foo[0]; } 23:53:28 which is invalid right from the start 23:53:32 and then I want to do x->foo[-1] 23:53:37 elliott: no, i vaguely recall that it is perfectly possible for pointer arithmetic outside those bounds to crash 23:53:37 which is definitely invalid, I think 23:53:46 oerjan: Errrrr, I hope not 23:53:49 even if you don't dereference 23:54:55 i'm pretty sure i've seen something like that 23:55:12 otherwise why include foo+array length as a specifically permitted case 23:55:58 i don't think it does 23:56:02 btw it's not so much "to crash" as "UB" ;D 23:56:08 demons, noses, suchlike 23:56:18 -!- sftp has quit (Remote host closed the connection). 23:56:39 maybe i'll just do the invalid thing :) 23:57:47 well i used crash as a synonym, of course