00:13:33 -!- poiuy_qwert has quit (Read error: 110 (Connection timed out)). 00:19:48 -!- poiuy_qwert has joined. 00:20:05 * SimonRC fails to describe this: http://www.sibology.com/CAUTION.HTM 00:20:06 just read the darn thing 00:21:40 -!- jix has quit ("Bitte waehlen Sie eine Beerdigungnachricht"). 01:22:24 -!- coder_ has joined. 01:23:49 w00t 01:23:56 Finished my Brain**** to C thingie 01:24:02 Written in D 01:24:07 (In under 5 minutes ;P) 01:24:45 Now do C to Brainf*ck in under 5 minutes. 01:24:50 :P 01:24:55 Yeh, right ;) 01:25:12 Or C++ to brain**** 01:25:21 Classes in brain****....... That'd be interesting XD 01:25:24 Haskell to Unlambda. 01:25:32 :P 01:25:44 I HATE functional languages... tried O'Caml yesterday 01:26:54 ....I <3 D 01:27:00 * ihope looks at D 01:27:07 digitalmars.com/d 01:27:13 coder_:bf to C sure is hard ;-) 01:27:19 I know ;) 01:27:33 Just to take a peek at the standard library in D 01:27:47 Ive heard great things about D 01:27:49 but never tried it 01:27:50 Yeah 01:27:52 Ohhhhh yeah 01:28:00 I've just recently started using it, and I LOVE it 01:28:07 what's so good about it 01:28:13 EVERYTHING 01:28:17 * coder_ stares into space 01:28:26 Go to #d 01:28:28 :P 01:28:30 I'm too lazy 01:28:33 XD 01:28:58 module Main where import System.Environment; main = getArgs >>= print 01:29:05 That program prints its arguments. 01:29:10 hey! #d exists 01:29:14 Ay 01:29:29 Its the channel for D, as I said :p 01:29:37 lol simon 01:29:37 well, yeah 01:30:30 Hey, it looks like D could be almost as good as Haskell! 01:31:09 Of course, it's hard to compare a language like Haskell to a language like D, because they're so different. 01:31:11 I'd take that as an insult, but some might not ;] 01:31:19 (I hate functional languages) 01:31:53 Just don't go around telling others to avoid them. They might like them :-) 01:32:03 functional languages are cool 01:32:22 * ihope wishes there were a programming language that everybody liked 01:32:34 D 01:32:37 * bsmntbombdood tells ihope he is stupid 01:32:48 everyone wants something else in a language 01:33:01 Well, sheesh, just put everything into one language! 01:33:17 -!- coder_ has changed nick to coder. 01:33:21 -!- coder has changed nick to _coder_. 01:34:26 Oh, D is object-oriented and all that? 01:34:48 * ihope wonders what the advantage to having functions tied to values is 01:34:50 <_coder_> Can be :P 01:35:02 Why foo.bar when you can bar(foo)? 01:35:38 foo.bar is better 01:35:47 <_coder_> It depends what mood I'm in 01:35:49 <_coder_> :P 01:35:59 <_coder_> I have mood/language swings XD 01:36:17 What if foo.bar and bar(foo) are actually the same thing? 01:36:35 And foo.bar(baz) = bar(foo,baz). 01:36:38 in python they are 01:36:54 <_coder_> poo..... haircut time 01:36:58 -!- _coder_ has quit ("Leaving"). 01:37:43 Perl also has $foo->bar(...) equivalent to bar($foo, ...). 01:38:04 Haskell just plain doesn't have foo.bar. 01:38:16 But there's nothing preventing you from adding it. 01:38:21 there's oo dilaects of haskell 01:38:29 foo.bar = bar foo -- this is all you need 01:40:38 (Actually in Perl $foo->bar(...) is more like ::bar($foo, ...), since that's where it looks for the bar().) 01:46:21 -!- calamari has quit (Remote closed the connection). 01:50:35 you could wrtite a module in haskell to allow it to emulate OO, I suppose 01:53:48 * ihope wants a program that takes no input and produces no output 01:55:24 what are you talking about ihope 01:55:46 I'm talking about a program that takes no input and produces no output. 01:56:04 int main(){return 0;} 01:57:40 module Main where main = return () 01:57:52 Except that yours is shorter. 01:58:04 void main(){} 01:58:07 even shorter 01:58:13 Forget the introduction, then, and make it "main=return()" 01:58:37 main(){} 01:58:47 Eeh. 01:58:51 Also about the shortest valid C program. 01:58:57 +complete 01:59:01 What's the shortest? 01:59:26 Probably that :P 01:59:40 <- you can't beat that for smallness 01:59:48 I said "+complete" 01:59:50 Python can 01:59:52 That is, runnable. 01:59:58 I didn't say that was C. 02:00:03 Ah 02:00:09 It's one of those p-languages then. 02:00:22 One of those whats? 02:00:22 Python's shortest is empty 02:00:31 bsmntbombdood: well, that program was empty! 02:00:34 ihope: P-languages. Perl, Python, PHP 02:00:37 , Pike 02:00:56 Ruby is an honorary P-language too :P 02:01:05 Plazy K and Prainfuck? 02:01:15 Nope, those aren't P-languages. 02:01:29 brainfuck's shortest is empty 02:01:41 P-languages are common, popular scripting languages. 02:01:48 ug 02:01:59 Python's a scripting language? 02:02:07 some would say 02:02:11 *shrugs* 02:02:37 erm, OSes have been known to crash when there is no explicit return from main 02:02:43 Whee. 02:02:47 Mine doesn't :P 02:03:10 so, main must return 02:03:12 main() // how's this? 02:03:19 nope 02:03:24 and there shouldn't be an implicit int return type 02:03:31 main{} // this? 02:03:33 There shouldn't be, but it's valid. 02:03:34 ihope: Nope 02:03:40 ihope: Also, that's not a valid C comment :P 02:03:51 Oh. 02:04:06 main(){} -- Pretend this is Haskell, then. 02:04:27 well, some C compilers and linkers produced the null program from and empty file 02:04:34 ihope: /* this is a C comment */ 02:04:39 but modern ones will complain that main is missing 02:05:19 I remember a clever C program that outputted 99 if c99-style comments were understood and 89 otherwised 02:05:42 Hmmmmmmmm 02:05:53 it had a line endint with //**/, and the next started with - 02:06:23 which was subtract in C99 and negative in C89 02:06:37 anyway, more tetris now I think 02:06:47 i don't get it 02:06:53 bsmntbombdood: ? 02:07:06 on second thoughts, no more tetris 02:10:34 int main() { 02:10:34 int a = 2 //**/ 2 02:10:34 - 1; 02:10:34 printf("C99 comments are %ssupported\n", a ? "" : "not "); 02:10:34 } 02:11:03 -!- KoH has joined. 02:11:07 Actually, that should be 'void main' 02:11:09 But yeah, that works. 02:12:11 nah, it used some clever formula inside a printf 02:13:11 void main() { 02:13:11 printf("C99 comments are %ssupported\n", (2 //**/ 2 02:13:11 -1) ? "" : "not "); 02:13:11 } 02:16:21 int main() { 02:16:21 printf("%d\n", 89 + (20 //**/ 2 02:16:21 - 10)); 02:16:21 } 02:16:29 If you're so stuck on the original output :P 02:17:58 Hmm, Unlambda/C polyglot... 02:18:26 s/C/Haskell/ 02:18:36 s/Haskell/Unlambda/ :-P 02:18:53 ... 02:19:03 Unlambda/Unlambda polyglot? 02:20:10 Yes. 02:20:16 Easy to write, I'm sure... 02:20:23 lol 02:25:34 The null program as a Brainfuck/Unlambda polyglot: i 02:27:33 Now, it could be impossible to write many Unlambda polyglots due to Unlambda's strict syntax thingy. 02:28:15 Wait... Unlambda has comments, doesn't it? 02:28:25 ooh, accurate: http://www.phdcomics.com/comics/archive.php?comicid=718 :-D 02:33:33 Aha! 02:33:41 !bf_txtgen Hi! 02:34:02 ... 02:34:14 52 +++++++++++++++[>+++++>+++++++>++><<<<-]>---.>.>+++. [302] 02:35:15 You know, writing an !unlambda_txtgen would be purdy darn easy. 02:36:10 Polyglot: http://pastebin.com/756864 02:44:58 * SimonRC goes to bed (ihope, couldn't that be automated? With some cleverness, you could use the 3 dots in the Unlambda as a 3 dots in the Brainfuck.) 02:45:27 Just a second... 02:45:38 uh? 02:46:04 Hmm. 02:46:45 Eh, it'd be easy enough. 02:47:12 Just pull off the comments for both languages when you do the .'s. 02:47:25 unless you wanted to print any of [],. 02:47:48 (it's easy to compensate for spurious <>+-) 02:48:02 * SimonRC goes to bed. 02:48:33 Okay. Mouse/GOTO++ polyglot. Get to work! :-) 02:50:18 Oh, the GOTO++ documentation is in French. 02:50:47 99/Blank polyglot? 02:50:49 Step one: A French/English polyglot :P 02:51:38 Can a Blank 99-beer program be written with every line beginning with a #? 02:56:36 Probably not. 02:56:49 -!- ihope has quit ("Bedtime"). 03:30:02 -!- kipple has quit (Read error: 110 (Connection timed out)). 03:59:24 -!- wildhalcyon has joined. 04:27:32 -!- KoH_ has joined. 04:43:59 -!- _coder_ has joined. 04:46:31 -!- KoH has quit (Read error: 110 (Connection timed out)). 05:00:58 -!- KoH_ has quit (Read error: 104 (Connection reset by peer)). 05:34:32 Now you guys have got me looking into D 05:38:01 <_coder_> W00t :))) 05:38:03 <_coder_> D owns 05:49:44 downs? 06:04:49 <_coder_> d owns 06:09:12 downs? 06:14:49 -!- bsmntbombdood has quit (Remote closed the connection). 06:22:30 alright, off to bed with dreams of esolangs 06:23:52 -!- wildhalcyon has quit ("Chatzilla 0.9.73 [Firefox 1.5.0.4/2006050817]"). 06:56:39 -!- _coder_ has quit ("Leaving"). 07:59:59 -!- clog has quit (ended). 08:00:00 -!- clog has joined. 12:14:29 -!- jix has joined. 12:41:43 -!- tgwizard has joined. 13:29:48 * SimonRC goes 13:54:54 moin 14:43:02 -!- tgwizard has quit (Read error: 110 (Connection timed out)). 14:50:46 -!- ihope has joined. 14:51:05 Woot, my esolang is finished! 14:54:37 * ihope writes an 'H' program 14:59:01 Hmm, this program's too big. 14:59:05 * ihope writes another one 15:09:29 Okay. The program, in a format which isn't really part of the language, nor is it recognized by anything: http://pastebin.com/757620 15:11:07 And the program's done: http://pastebin.com/757622 15:20:32 Hey, that's not right... 15:25:09 According to the character count, that's an invalid program. 15:25:18 Ah well. It probably doesn't matter :-P 15:26:40 Hey, (()) is a valid program! 16:13:27 -!- tgwizard has joined. 16:24:32 hi 16:24:41 ihope: what's thios lang? 16:24:54 I call it (()). 16:30:18 -!- kipple has joined. 16:35:24 ihope: describe it 16:35:28 or explain 16:35:38 actually, explain would be better 16:35:48 description isn't necessary 17:01:00 Well, it's another monadic one. 17:01:35 It has an apply operator, just like Unlambda, but this time it's (. 17:02:09 It only has one primitive combinator, ). It represents \x.``xs``s`kkk. 17:02:50 Your program is passed the I/O functions bind, return, input and output, in that order. The mnemonic is BRIO. 17:03:08 erk 17:03:13 In fact, they were put in that order because of that mnemonic :-) 17:03:17 sounds interesting 17:03:41 why "\x.``xs``s`kkk"? 17:03:56 Because that way, ()) is k and (())) is s... I think. 17:04:17 Input takes a character as a Church numeral and returns an action; output is an action which returns a character as a Church numeral. 17:07:26 makes sense 17:07:33 sounds evil, too 17:09:08 do the brackets always match? 17:09:55 I'm pretty sure they do, as long as you stick an extra ( in front. 17:10:14 And that's part of the syntax, so... yeah. 17:15:02 -!- CXI has quit (Read error: 104 (Connection reset by peer)). 17:15:28 -!- CXI has joined. 17:23:05 Hmm, what about a language where the dimensions are finite, but the number of them is infinite? 17:23:18 You know: a 2x2x2x2x2x2x2x2x2x... universe. 17:23:27 would be very URGH!.... 17:26:16 hmm 17:26:29 well, each set of co-ordinates would be infinitely long, for a start 17:27:15 well if you start at 0........ you'd need infinity steps to get a infinite long coordinate (assuming you can't jump to a specified coordinate) 17:27:27 And, assuming integral coordinates in each case, is it clear by the diagonal argument that there is more space in that kind of universe than in an infinite univers with a finite number of dimensions 17:27:52 i.e. 2^inf > inf^2 17:28:17 yeah you get uncountable inifinite many positions 17:28:27 right? 17:28:39 yes 17:57:04 -!- wildhalcyon has joined. 18:05:05 hi 18:08:27 hey simon 18:35:36 -!- jix has quit ("Bitte waehlen Sie eine Beerdigungnachricht"). 18:57:48 -!- jix has joined. 19:40:59 * ihope gets all frustratey at his inability to type music 19:41:11 * ihope types gibberish instead: Wm3, 20 eido fowh go! 19:53:39 to type music you need a music typewriter 19:59:24 gaaaaaah bdlbdldbdlbd 19:59:37 * SimonRC swears at his Ruby program. 20:00:00 Every time I try to write code, the program gets shorter with more functionality! 20:03:42 Heh. 20:05:10 Eventually, you'll be left with a three-character AI program that you could sell at millions of dollars per copy. 20:05:36 And people will think it's quite a bargain... 20:35:31 You could implement a genetic algorithm to suit every task. All you need is a two-button mouse. Every time the program is right, click the left-mouse button, every time the program is wrong, click the right-mouse button. Programs don't get any easier to use than that. 20:37:47 What if it's only sort of right? 20:37:54 Is that what the middle button's for? 20:37:57 That's what wheel mice are for 20:38:58 GOOD! BAD! RIGHT! WRONG! RED! GREEN! MAAAYYYYBBBEEEEEE! 20:39:20 * wildhalcyon right-clicks 20:43:39 wildhalcyon: have you seen Petrovic? http://www.dangermouse.net/esoteric/petrovich.html 20:44:44 -!- bsmntbombdood has joined. 20:48:25 Nope kipple, I'm checking it out now though 20:49:03 That's awesome, except that it stole my first sentence from my new CRAWL design doc... 20:49:09 it is very similar to what you proposed. seems it has been left out of the wiki. correcting that now 20:49:24 but the rest of it looks pretty cool. Very similar, you're right. 20:49:27 I LOVE it! 20:49:39 "And in case you think this is entirely a joke, imagine a Petrovich layer over another operating system, such as Microsoft Windows (TM). Every time Windows does something you don't like, you could punish it, and it would never do it again..." 20:49:55 lol, yes, that part is great 20:52:10 Im waffling right now :-( 20:54:42 Im trying to decide between where I want to take the glypho language family and making serious design decisions for CRAWL. I fear I'm running around in circles 21:07:52 Im inventing a new design pattern for CRAWL called Sandbox-Oriented Programming 21:09:29 eh? 21:10:24 Where is CRAWL? 21:11:47 mired in Works In Progress 21:12:03 :-( 21:12:09 I need to change the spec though 21:12:19 its gone through a lot of loving changes. 21:12:47 Picture the bastard love-child of befunge & simcity 21:16:37 Its more about the process of programming, rather than the result. That's why its based on the open-ended SOP paradigm. 21:39:54 :-?! 21:42:26 * SimonRC finds evidence that the French are weird. 21:42:28 They only seem to have one esolang, which is quite major. 21:42:29 It is called GOTO++ 21:45:19 Somehow, lack of esolangs seems like it should be evidence for normality, not oddity 21:48:58 heh 21:49:07 ooh, funky: http://www.stephensykes.com/choon/choon.html 21:49:07 Hmm... 21:49:31 It's the output of a Choon program that divides 18 by 3 to get 6. 21:50:45 Three bids are made: A, B, and C. A is the highest, B is in the middle, and C is the lowest. The guy who bid A must pay A+B+C, then gets D+E in return; the guy who bid B must pay B+C, then gets D in return; and the guy who bid C must pay C and get nothing in return. 21:51:46 ok 21:52:01 Not that that has anything to do with the topic at hand, or anything... 21:52:30 Is the object to identify which guy is a winner? 21:56:57 Each player has to make a bid. 21:57:21 Then they're labelled A, B, and C, and prizes are awarded. 22:01:25 Wait, D is awarded twice... 22:01:34 D > E, then, and A only gets D. 22:16:58 "When Chuck Norris exercises, the machine gets stronger." :-) 22:26:43 This one's just weird: "Chuck Norris is so fast, he can run around the world and punch himself in the back of the head." 22:28:20 Of course, if you're so fast that, due to relativity and length dilation you're that /long/, you also have so much mass that you throw off Earth's orbit and we go flying into the sun. 22:32:04 Chuck Norris isn't bound by the laws of physics. Physics is bound by the laws of Chuck Norris 22:32:28 "Chuck Norris sheds his skin twice a year." What is he, eh? 22:41:08 Here's my Chuck Norris joke: 22:41:17 Chuck Norris jokes are so stupid, I'm going to go kill myself. 22:41:24 Not so much a joke, as a statement of fact. 22:44:42 And then, GregorR promptly died of a roundhouse kick to the head... 22:44:44 :-P 22:47:35 At least I won't have to deal with any more stupid Chuck Norris jokes. 22:48:59 True. 22:54:57 -!- calamari has joined. 22:56:40 -!- tgwizard has quit ("Leaving"). 23:08:45 A student, God, and Chuck Norris are summing the series <1/2, 1/4, 1/8, 1/16, ...> 23:09:51 Given one minute, the student gets up to 127/128, God gets up to exactly 1, and ... 23:09:54 Chuck Norris gets up to 142.3 23:09:57 :-S :-) 23:11:21 Let the sum of <1/2, 1/4, 1/8, 1/16, ...> = 150. The answer's 150. I win. 23:12:27 Mathematica is like unto a God: 23:12:28 In[1]:= Sum[1/(2^i), {i, 1, Infinity}] 23:12:28 Out[1]= 1 23:13:12 yeah, but God got the answer by summing thw whole lot 23:13:37 F*ck knows how Chuck Norris got his answer. 23:14:03 Who knows how Mathematica did it; might be magic! 23:36:20 -!- jix has quit ("Bitte waehlen Sie eine Beerdigungnachricht"). 23:40:02 -!- cmeme has quit (Connection timed out). 23:52:57 -!- cmeme has joined. 23:59:17 heh. I noticed that my winamp playlist was currently at song #665. So naturally I had to see what the next one was, and it was "Cherub Rock" :)