00:08:55 In this case it is because first parameter is condition, and then after that is the value in case this condition, and then next condition afterward, etc 00:14:24 yeah.. that makes sense of course.. im just rambling 00:21:44 It is something a bit like Lisp, but it is not like Lisp. 00:42:21 -!- Phantom_Hoover has quit (Quit: Leaving). 00:46:40 -!- glogbackup has quit (Ping timeout: 245 seconds). 00:57:23 -!- glogbackup has quit (Ping timeout: 245 seconds). 01:11:33 -!- myndzi has quit (Ping timeout: 245 seconds). 01:30:03 -!- sebbu has quit (Ping timeout: 246 seconds). 01:32:54 -!- sebbu has joined. 01:32:54 -!- sebbu has quit (Changing host). 01:32:54 -!- sebbu has joined. 01:58:32 -!- Mathnerd314_ has joined. 02:01:01 -!- Mathnerd314 has quit (Ping timeout: 244 seconds). 02:01:07 -!- Mathnerd314_ has changed nick to Mathnerd314. 02:33:56 -!- cswords has joined. 02:39:45 -!- Mathnerd314 has quit (Ping timeout: 272 seconds). 02:50:53 -!- Mathnerd314 has joined. 02:55:04 -!- augur has joined. 02:55:16 -!- augur has quit (Read error: Connection reset by peer). 02:55:24 -!- augur has joined. 03:02:31 -!- itidus20 has joined. 03:06:24 -!- itidus21 has quit (Ping timeout: 240 seconds). 03:30:19 -!- itidus22 has joined. 03:33:11 -!- itidus20 has quit (Ping timeout: 276 seconds). 04:07:37 -!- monqy has quit (Read error: Operation timed out). 04:10:07 -!- monqy has joined. 04:17:50 -!- NihilistDandy has joined. 04:17:52 -!- NihilistDandy has quit (Client Quit). 05:13:21 -!- Sgeo has quit (Ping timeout: 246 seconds). 05:17:46 -!- Sgeo has joined. 05:29:13 -!- oerjan has quit (Quit: Good night). 06:10:16 -!- itidus21 has joined. 06:12:41 -!- itidus22 has quit (Ping timeout: 246 seconds). 06:16:34 -!- glogbackup has quit (Read error: Connection reset by peer). 06:20:26 -!- Sgeo_ has joined. 06:20:33 -!- Sgeo has quit (Ping timeout: 246 seconds). 06:49:36 -!- glogbackup has quit (Ping timeout: 246 seconds). 07:03:05 -!- asiekierka has joined. 07:06:24 -!- sebbu has quit (Ping timeout: 246 seconds). 07:51:33 -!- glogbackup has quit (Ping timeout: 246 seconds). 08:00:53 -!- myndzi has joined. 08:19:08 -!- Twirt199 has joined. 08:19:21 http://esolangs.org/wiki/Nonsense_Query_List 08:19:27 -!- Twirt199 has quit (Client Quit). 08:20:23 -!- NSQX has joined. 08:21:05 esolangs.org/wiki/Nonsense_Query_List 08:21:22 X http://esolangs.org/wiki/Nonsense_Query_List 08:21:38 How easy or difficult is it to write a Nonsense Query List? 08:25:04 Where's Ehird? 08:26:07 Any opinions on writing Nonsense Query Lists? 08:26:14 -!- NSQX has quit. 08:36:35 -!- Jafet has joined. 08:41:46 -!- Phantom_Hoover has joined. 08:58:49 -!- glogbackup has quit (Ping timeout: 250 seconds). 09:00:48 -!- Taneb has joined. 09:01:03 Hello! 09:02:53 Do you know the game consist of, fire, earth, water, air, and the goal of the game is to make more air? 09:03:12 This sounds familiar 09:05:57 -!- sebbu has joined. 09:05:57 -!- sebbu has quit (Changing host). 09:05:57 -!- sebbu has joined. 09:19:34 What is a way to represent a form for picture distortion? One idea I have, is using the RGB of a PNG file so that there is relative 12-bits X and Y coordinates on each pixel to tell which one from source to copy? Is there other idea? 09:21:06 (So that, for example, in TeXnicard you can tell it to make the text for the name of the card to be curved, or slanted, and other things like that) 09:22:10 -!- pikhq_ has joined. 09:22:34 -!- pikhq has quit (Ping timeout: 272 seconds). 09:23:01 -!- asiekierka has quit (Remote host closed the connection). 09:24:12 (Internally in TeXnicard, all pictures are either monochrome bitmaps or grayscale; so you need to copy each channel of RGM into grayscale and vice versa) 09:24:18 -!- asiekierka has joined. 09:25:41 -!- glogbackup has quit (Ping timeout: 252 seconds). 09:26:32 -!- asiekierka has quit (Remote host closed the connection). 09:28:58 TeXnicard uses floating points for only one purpose. Do you know which one it is? 09:33:34 -!- zzo38 has quit (Quit: 42). 09:45:32 -!- Taneb has quit (Read error: Connection reset by peer). 09:55:14 -!- glogbackup has quit (Ping timeout: 265 seconds). 09:59:53 -!- nortti has joined. 10:06:04 -!- cheater has quit (Ping timeout: 244 seconds). 10:19:25 -!- cheater has joined. 10:27:23 -!- glogbackup has quit (Ping timeout: 264 seconds). 10:33:31 -!- glogbackup has quit (Ping timeout: 252 seconds). 10:40:29 -!- glogbackup has quit (Remote host closed the connection). 10:45:30 -!- derdon has joined. 10:57:22 -!- kmc has joined. 11:08:45 -!- elliott has joined. 11:08:50 WHAT THE FUCK HAPPENED TO THE WIKI?! 11:09:10 I guess I should block this NSQX person 11:09:30 Phantom_Hoover: ping 11:09:31 fizzie: ping 11:09:33 Sgeo_: ping 11:09:34 pikhq_: ping 11:09:35 olsner: ping 11:09:40 monqy: ping 11:09:47 fizziew: ping 11:11:03 OK, mostly looks like changes to the main page and baffling featured languages changes 11:11:34 RocketJSquirrel: ping 11:12:05 elliott: hi 11:12:11 haha, recent changes 11:12:41 best spambot 11:12:59 Not a bot, either someone trying to cause chaos or a way, way overenthusiastic person. 11:13:11 I take that back 11:13:16 I'll get to reverting the mess they made... 11:13:18 elliott: Did you see he tried to find you on here? 11:13:22 not as best as the spambot that removed paragraphs and replaced them with misspelled complements 11:13:26 10:19 < Twirt199> http://esolangs.org/wiki/Nonsense_Query_List 11:13:27 fizzie: Yes, I checked the logs to figure out WTF was going on. 11:13:35 Okays. 11:13:53 (Also as NSQX, I suppose it's the same person.) 11:13:59 fizzie: I think a day's block might be in order. ("Assume good faith", and so on.) 11:14:07 -!- glogbackup has quit (Remote host closed the connection). 11:15:17 /* This was created as a start of porting MediaWiki to support Nonsense Query List databases, which should then be the database type that Esolang's MediaWiki software uses */ 11:15:25 I haven't looked at the wiki at all. But yes, sounds like overenthusiasm. 11:16:16 Ah, looks like it's the creator of Basic Input/Output Commands. 11:18:43 fizzie: I need adult supervision, do I block this guy for a day or not :| 11:18:46 You're, like, the maturest op. 11:19:10 -!- NSQX has joined. 11:19:26 -!- glogbackup has quit (Ping timeout: 244 seconds). 11:19:30 hi 11:19:54 Is http://esolangs.org/wiki/LOLCODE now better than a stub? 11:20:02 Also see http://esolangs.org/wiki/Talk:LOLCODE 11:26:19 -!- glogbackup has quit (Remote host closed the connection). 11:26:23 What monqy? 11:26:29 that's me 11:26:34 -!- augur has quit (Ping timeout: 250 seconds). 11:27:01 Have you read these two pages, monqy? 11:27:11 Do you think that http://esolangs.org/wiki/LOLCODE is now better than a stub, monqy? 11:27:46 Otherwise, what is the monqy doing? 11:29:22 I don;t qnow if i'm qualified to say 11:30:14 I don't have much experience with wiki page standards and grading 11:30:19 where by much I mean 11:30:20 any at all 11:30:41 monqy: But what *is* the monqy doing. 11:31:09 Then is anyone else, like Ehird or Orejan available for reviewing those pages? 11:31:52 is being here doing enough 11:32:01 I'm ehird. oerjan uses the same name on IRC. 11:32:02 I guess I'm looking between the lolcode page and irc 11:32:05 -!- glogbackup has quit (Ping timeout: 245 seconds). 11:33:11 elliott, do you think that http://esolangs.org/wiki/LOLCODE is now better than a stub? 11:33:23 Well, it's certainly larger than most stubs now :) 11:33:28 Did you see the message I left you on your user talk page? 11:35:17 "Well, it's certainly larger than most stubs now :)" - does that mean that it is now okay to remove {{stub}} from the page about LOLCODE? 11:35:31 I saw the message you left on my talk page. 11:36:15 Well, generally we like to have a relatively complete specification of a language before considering it a non-stub, i.e. examples and the like usually don't count towards non-stubness. But I'm not sure, I'd wait for other people to reply on the talk page for other opinions. 11:36:47 Anyone in the Esolang community will probably just remember this day, a week before April Fools Day, as a very enthusiastic day at Esolang. 11:37:50 me too 11:38:06 -!- NSQX has quit. 11:38:10 bye 11:38:24 ;;;;;;;;;;;;;;;;;;;;;;;;;; 11:38:34 i have become 11:38:36 entirely semicolons 11:39:06 Is that LOLCODE spec right?? 11:39:11 It lacks both functions and loops. 11:39:23 i don't even know what right is any more 11:39:24 Meaning that spec is not turing complete, which I'm 99% sure LOLCODE is. 11:39:37 but uh http://esolangs.org/w/index.php?title=LOLCODE&oldid=23618 is what it was before 11:39:45 "main" keywords i think it's just a partial list or whatever 11:43:47 `addquote Anyone in the Esolang community will probably just remember this day, a week before April Fools Day, as a very enthusiastic day at Esolang. 11:43:56 maybe adding a quote will help me understand 11:43:57 830) Anyone in the Esolang community will probably just remember this day, a week before April Fools Day, as a very enthusiastic day at Esolang. 11:44:07 -!- azaq23 has joined. 11:46:12 I do wonder if the newly-added libraries are in any standard or implementation, though. 11:46:18 lolcode.com is quite a mess. :/ 11:46:56 Last posts on the forum seem to be from early 2009. 11:48:39 -!- kmc has quit (Ping timeout: 245 seconds). 11:48:47 -!- kmc has joined. 11:52:32 fizzie: Well, the "VISIBLE" thing is standard. 11:52:35 But the file IO seems: not. 11:52:52 fizzie: I'll look into whether the changes are correct later and revert if not. 11:53:20 I was just wondering, since the changelog comment was "-- created a few new LOLCODE libraries --" 11:53:30 fizzie: Oh, the Unix one and all that are nonsense. 11:53:35 But the STDIO one is at least partially correct. 11:53:58 fizzie: The "standard" thing for extensions to other people's languages is to create a new page with them, but I hope you can understand I'm reluctant to suggest that. 11:55:47 I see the looping construct apparated right now. 12:05:30 -!- NSQX has joined. 12:07:53 Well, people, I only thought of all LOLCODE extensions having similar names to the original C/C++ header filenames, but adding support for code that looks like LOLSPEAK for doing almost the same things as the equivalent C/C++ libraries. 12:08:28 For example, "CAN HAZ STDLIB?" in LOLCODE would be the same as #include in C/C++, 12:08:50 "CAN HAZ WCHAR?" in LOLCODE would be the same as #include in C/C++, 12:09:12 "CAN HAZ IOSTREAM?" in LOLCODE would be the same as #inlcude in C/C++, 12:09:34 and "CAN HAZ WINDBLOZE?" in LOLCODE would be the same is "#include " in Microsoft Visual C++ 12:10:38 "I HAZ A TIMESTAMP ITZ DA NIX TIMESTMP F DA DAT N TIME NOW/LOL TIMESTAMP R DA NIX TIMESTMP F DA DAT N TIME NOW" in LOLCODE would be the same as "timestamp = time(NULL);" in C/C++ 12:11:11 If you don't know what a Unix timestamp is, go to http://en.wikipedia.org/wiki/Unix_timestamp . 12:11:25 ok 12:11:37 but 12:11:37 uh 12:11:43 why do you mention this 12:14:09 'PLZ OPEN FILE "C:\autoexec.bat"' in LOLCODE is almost the same as 'file = fopen("C:\autoexec.bat");' in C/C++ 12:14:23 ok 12:14:33 "PLZ OPEN FILE" is also documented in Wikipedia's article about LOLCODE ( http://en.wikipedia.org/wiki/LOLCODE ) 12:14:45 That could easily mean it IS standard LOLCODE. 12:14:49 my question remains 12:14:51 what are you getting at 12:19:24 I need to bring something up 12:19:24 with 12:19:25 According to the official example -- http://lolcode.com/examples/filezorz -- it puts a file handle in the variable, not the contents. But anyway. LOLCODE is so poorly specified; there's just the 1.2 standard, and it's pretty sparse. 12:19:28 the lolcode standardization committee 12:19:31 do you know where to consult with them 12:20:06 Patashu: They have a dead wiki and a dead forum, you could try those. 12:20:15 sorry I'm not into dead people 12:20:17 not -that- way 12:20:43 how about the other way 12:20:56 hmmm 12:20:59 I need to think about that a moment 12:21:05 THINK THINK THANK THUNK THONK 12:21:06 nope 12:21:15 -!- Mathnerd314_ has joined. 12:21:23 hi 12:22:21 what's the other way 12:22:30 -!- Mathnerd314 has quit (Ping timeout: 245 seconds). 12:22:48 you don't want to know 12:22:48 -!- Mathnerd314 has joined. 12:22:54 :( 12:24:52 i need to bring down the lolcode standardization committee 12:25:37 -!- Mathnerd314_ has quit (Ping timeout: 246 seconds). 12:30:22 -!- monqy has quit (Quit: hello). 12:32:58 @tell ais523 http://lambda-the-ultimate.org/node/4471 12:32:58 Consider it noted. 12:36:23 http://www.baldursgate.com/news/2012/03/21/baldurs-gate-enhanced-edition-for-ipad-3/ -- didn't someone predict it's a tablet version? 12:36:25 -!- derdon has quit (Remote host closed the connection). 12:37:11 (Though maybe that's just in addition to the computaur version.) 12:37:41 I predicted, I think. Though I think I was parrotting another prediction. 12:39:11 -!- augur has joined. 12:40:38 -!- quintopia has quit (Ping timeout: 248 seconds). 12:45:24 > mconcat [([],[1],[]), ([1],[],[])] 12:45:25 ([1],[1],[]) 12:47:18 fizzie: Hey, golf me a function to turn [ [ [1], [], [2] ], [ [3,4], [5], [7] ] ] into [ [1,3,4], [5], [2,7] ]. 12:47:28 -!- quintopia has joined. 12:50:25 > foldr (zipWith (++)) [[],[],[]] $ [ [ [1], [], [2] ], [ [3,4], [5], [7] ] ] 12:50:27 [[1,3,4],[5],[2,7]] 12:51:12 > (\(a,b,c) -> [a,b,c]) . mconcat . ((\[a,b,c] -> (a,b,c)) <$>) $ [ [ [1], [], [2] ], [ [3,4], [5], [7] ] ] -- to follow your own mconcat, short and simple as anything, HTH. 12:51:14 [[1,3,4],[5],[2,7]] 12:52:31 :t \ps -> foldr (zipWith (++)) ([] <$ ps) . map (\x -> map (\p -> x <$ guard (p x)) ps) 12:52:32 forall a. [a -> Bool] -> [a] -> [[a]] 12:54:58 @pl \ps -> foldr (zipWith (++)) ([] <$ ps) . map (\x -> map (\p -> x <$ guard (p x)) ps) 12:54:58 ap ((.) . foldr (zipWith (++)) . ([] <$)) (map . flip (map . liftM2 (.) (<$) ((guard .) . flip id))) 12:55:16 Aw, I was hoping for much more flips and .s. 12:55:39 fizzie: Points if you can tell what that does. :p 12:55:42 Without testing it. 12:55:47 Or looking anything up. 12:57:25 I could guesstimate directly from the type. 12:59:00 fizzie: Hmm, yeah, I shouldn't have done that :t. 13:01:25 -!- Mathnerd314 has quit (Read error: Connection reset by peer). 13:02:03 -!- Mathnerd314 has joined. 13:03:54 > (flip (map . flip filter)) [odd, even, (>5)] [1..10] -- I would expect something like that from the :t 13:03:56 [[1,3,5,7,9],[2,4,6,8,10],[6,7,8,9,10]] 13:06:03 Yes, it's that, except it only tramaverses the lyste wunce. 13:07:28 -!- pikhq has joined. 13:07:37 -!- pikhq_ has quit (Ping timeout: 246 seconds). 13:16:35 http://esolangs.org/wiki/Objective_LOLCODE 13:17:48 NSQX, I'd politely ask you to die but elliott would probably yell at me for being mean. 13:18:10 Phantom_Hoover: It's not brainfuck. 13:18:45 Phantom_Hoover is a really cheerful person. 13:19:00 There are two variants of LOLCODE: original LOLCODE and Objective LOLCODE 13:19:08 Yes; rather than a crappy derivative of an interesting language it's a crappy derivative of the worst thing ever to be called esoteric. 13:20:41 Phantom_Hoover: Objective brainfuck! It's just like brainfuck, except if you have two "+"s consecutively, it does like HQ9++ does. 13:22:22 Anyway regarding Objective LOLCODE, http://lolcode.com/proposals/1.3/bukkit and http://lolcode.com/proposals/1.3/bukkit2 13:22:37 There's no such thing as Objective Brainfuck, or even Objective FALSE, because a programming language made of only symbols can only be esoteric/pointless. 13:22:57 Meanwhile LOLCODE is simply pointeless. 13:23:01 Also pointless. 13:24:36 However, there is a such thing as Objective LOLCODE because LOLCODE can actually be similar to Ruby or C (just as a LOLSPEAK-like version, that's the only change) 13:25:02 That's precisely why most people don't consider LOLCODE a very good esolang. 13:25:15 -!- NSQX has quit. 13:25:50 -!- azaq23 has quit (Remote host closed the connection). 13:26:00 Well, FSVO "most people" and all that. Uh. 13:27:40 Anyhoo, I think BUKKITs have some sort of a quasi-standard status, being that they're an "official" proposal and have some amount of support in implementations. 13:27:48 Most people who *matter*. 13:53:51 -!- Slereah has joined. 13:54:29 -!- Slereah_ has quit (Ping timeout: 245 seconds). 13:56:18 fizzie: Where was that trilime SVG? 13:59:18 http://zem.fi/~fis/trili3.svg was the last one. 13:59:27 The Inkscape prototype, I mean. 14:01:06 Right. 14:06:52 fizzie: Was the colour for each of the limes just a random picking from them, or an average of some kind? 14:12:27 "I understand that wikipedia is reluctant to allow its self to be used as a source, but, how can we expect others to take us seriously if we ourselves do not?" 14:22:26 Have you read your SICP today? 14:36:20 -!- jix_ has quit (Ping timeout: 260 seconds). 14:37:51 That SVG is painfully flat X-D 14:37:53 -!- jix has joined. 14:37:57 (Unsurprisingly) 14:38:14 RocketJSquirrel: "Flat"? 14:39:48 It has no texture. 14:40:51 -!- MoALTz_ has joined. 14:42:56 -!- MoALTz has quit (Ping timeout: 245 seconds). 14:44:10 RocketJSquirrel: Well, yeah. 14:51:08 RocketJSquirrel isn't happy enough. 14:52:33 @tell ais523 Stop appearing where I least expect you! 14:52:33 Consider it noted. 14:52:49 -!- MoALTz_ has quit (Ping timeout: 245 seconds). 14:53:16 -!- MoALTz has joined. 15:03:02 -!- Phantom_Hoover has quit (Remote host closed the connection). 15:03:20 -!- MoALTz has quit (Ping timeout: 245 seconds). 15:04:34 I picked a random pixel but from a subjectively more or less "representative" region. 15:05:00 -!- asiekierka has joined. 15:05:04 With emphasis on the 'more or less'. 15:05:11 -!- Patashu has quit (Quit: MSN: Patashu@hotmail.com , Gmail: Patashu0@gmail.com , AIM: Patashu0 , YIM: patashu2 , Skype: patashu0 .). 15:05:20 Well, the colours are certainly "close" in an objective sense, it's just that e.g. the bottom-right one looks more like a strangely dark lime than the reality of a lime of the same colour with a shadow over it. 15:05:30 That's what happens when you don't have any detail :P 15:06:15 -!- Mathnerd314_ has joined. 15:06:23 -!- augur has quit (Remote host closed the connection). 15:06:34 there is a two dimensional language with multi-threading support, right? 15:06:39 What was its name again? 15:07:15 Uh, Befunge-98? 15:07:18 THere are probably several. 15:07:20 *There 15:07:21 I'm tempted to mention ATHR at this juncture. 15:07:26 How about: don't. 15:07:32 -!- Mathnerd314 has quit (Ping timeout: 260 seconds). 15:07:32 -!- Mathnerd314_ has changed nick to Mathnerd314. 15:09:43 "Bloated SNUSP" has concurrency too. 15:10:02 -!- asiekierka has quit (Remote host closed the connection). 15:10:24 -!- asiekierka has joined. 15:13:42 I'm thinking of something based on circuits 15:13:45 including delays 15:15:50 There are a few circuity esolangs. 15:15:57 I would think at least some of those support "multithreading" by virtue of everything happening globally so you can have two copies of the same thing and they'll run simultaneously. 15:18:29 I.e you send an information package around 15:18:33 which can be copied 15:18:57 and then you have stations which can inspect packages and stuff like that. 15:19:16 if "+" receives a package, it waits five ticks for another package to arrive 15:19:18 opens them 15:19:31 adds the content together 15:19:44 and sends a new package with the new information 15:20:22 also... that repackaging costs time 15:20:31 so i.e it takes 1 tick to do that 15:21:22 which results in a LOT of timing issues while programming in that language :) 15:21:54 you may need to add extra delays to slow packages down if one would arrive too fast 15:23:38 and packages can crash together :) 15:25:07 (if they cross their ways in the two dimensional space) 15:25:12 which might be very often. 15:25:25 if you can only store data in travelling packages :) 15:34:32 -!- MoALTz has joined. 15:36:09 http://fpaste.org/v7Lg/ <- like that 15:36:25 read takes a package, empties it and fills it with stin 15:36:35 > copies the package and sends the copy to the right 15:36:36 Not in scope: `copies'Not in scope: `the'Not in scope: `package'Not in scop... 15:36:42 the original package passes through it 15:37:03 It sounds sufficiently similar to My name is Johny, what the F**K????? that I'll just accuse you of plagiarism without trying to understand it :P 15:37:39 what? 15:38:12 My name is Johny, what the F**K????? is the name of the esolang I'm legally obligated to create per the Deleted Spam Pages on Esolang Act of 2011. 15:38:14 Or was it 2010? 15:38:23 2010. 15:48:05 -!- Mathnerd314_ has joined. 15:49:29 -!- Mathnerd314 has quit (Ping timeout: 246 seconds). 15:49:36 -!- Mathnerd314_ has changed nick to Mathnerd314. 15:58:49 -!- tzxn3 has joined. 16:11:56 -!- Phantom_Hoover has joined. 16:22:04 Oh, hey. 16:22:07 -!- fungot has joined. 16:22:13 Had forgonutted. 16:31:15 -!- hagb4rd has joined. 16:33:18 -!- augur has joined. 16:39:25 -!- augur has quit (Read error: Connection reset by peer). 16:39:30 -!- augur has joined. 16:44:55 -!- augur_ has joined. 16:46:06 -!- augur has quit (Ping timeout: 260 seconds). 16:47:00 -!- augur has joined. 16:47:05 -!- augur_ has quit (Read error: Connection reset by peer). 17:10:37 -!- nortti has quit (Ping timeout: 250 seconds). 17:12:24 -!- nortti has joined. 17:13:15 what was the time when I left this channel and what was my quit message? 17:16:09 ping 17:17:03 pong 17:18:54 good thing my connection works again. When I used nmap -sO on my router my network connection went away for 20 seconds or so 17:21:09 nortti: Logs are linked to in the topic 17:23:00 oh. That's pretty neat 17:25:49 -!- MSleep has joined. 17:29:04 -!- MDude has quit (Ping timeout: 246 seconds). 17:29:26 -!- Mathnerd314 has quit (Read error: Connection reset by peer). 17:30:06 -!- Mathnerd314 has joined. 17:31:55 -!- zzo38 has joined. 17:38:37 -!- calamari has joined. 17:48:45 `run grep ais523 /var/irclogs/_esoteric/2012-03-??.txt | paste 17:48:50 http://codu.org/projects/hackbot/fshg/index.cgi/raw-file/tip/paste/paste.31451 17:50:22 > (\ps -> foldr (zipWith (++)) ([] <$ ps) . map (\x -> map (\p -> x <$ guard (p x)) ps) [even, odd] [0..] 17:50:22 : parse error (possibly incorrect indentation) 17:50:32 > (\ps -> foldr (zipWith (++)) ([] <$ ps) . map (\x -> map (\p -> x <$ guard (p x)) ps)) [even, odd] [0..] 17:50:34 *Exception: stack overflow 17:50:38 Hmm. 17:50:56 > (\ps -> foldr (zipWith (++)) ([] <$ ps) . map (\x -> map (\p -> x <$ guard (p x)) ps)) [even, odd] [0..100] 17:50:57 [[0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,... 17:51:01 > (\ps -> foldr (zipWith (++)) ([] <$ ps) . map (\x -> map (\p -> x <$ guard (p x)) ps)) [even, odd] [0..1000] 17:51:02 [[0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,... 17:51:23 > let filterMulti fs xs = go (reverse xs) (repeat []) where go [] acc = acc ; go (y:ys) acc = go ys $ zipWith (\f a -> if f y then y:a else a) fs acc in filterMulti [even, odd] [0..1000] 17:51:24 [[0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,... 17:51:26 > let filterMulti fs xs = go (reverse xs) (repeat []) where go [] acc = acc ; go (y:ys) acc = go ys $ zipWith (\f a -> if f y then y:a else a) fs acc in filterMulti [even, odd] [0..] 17:51:34 mueval: ExitFailure 1 17:51:34 mueval: Prelude.undefined 17:51:43 > take 10 . head $ (\ps -> foldr (zipWith (++)) ([] <$ ps) . map (\x -> map (\p -> x <$ guard (p x)) ps)) [even, odd] [0..] 17:51:47 mueval-core: Time limit exceeded 17:51:49 > take 10 . head $ (\ps -> foldr (zipWith (++)) ([] <$ ps) . map (\x -> map (\p -> x <$ guard (p x)) ps)) [even, odd] [0..] 17:51:53 mueval-core: Time limit exceeded 17:52:26 what programming language is that? 17:52:49 > Haskell. 17:52:50 : parse error (possibly incorrect indentation) 17:52:51 Oops. 17:52:52 Haskell. 18:01:24 -!- hagb4rd has quit (Ping timeout: 252 seconds). 18:01:37 -!- hagb4rd has joined. 18:06:09 `run wget http://tsundere.fi/b/vpenis.sh 18:06:12 ​--2012-03-24 18:06:12-- http://tsundere.fi/b/vpenis.sh \ Connecting to 127.0.0.1:3128... failed: Connection refused. 18:06:35 There's a fetch for that. 18:06:53 `run fetch http://tsundere.fi/b/vpenis.sh 18:06:56 bash: fetch: command not found 18:07:00 No, a command. 18:07:01 `help 18:07:04 Runs arbitrary code in GNU/Linux. Type "`", or "`run " for full shell commands. "`fetch " downloads files. Files saved to $PWD are persistent, and $PWD/bin is in $PATH. $PWD is a mercurial repository, "`revert " can be used to revert to a revision. See http://codu.org/projects/hackbot/fshg/ 18:07:16 `fetch http://tsundere.fi/b/vpenis.sh 18:07:19 2012-03-24 18:07:19 URL:http://tsundere.fi/b/vpenis.sh [317/317] -> "vpenis.sh" [1] 18:07:50 `run chmod 755 vpenis.sh 18:07:53 No output. 18:08:08 `run ./vpenis.sh 18:08:12 ​./vpenis.sh: 2: bc: not found \ df: cannot read table of mounted file systems: No such file or directory 18:08:14 Protip: Whatever you do won't help. 18:08:25 elliott: It's a thing. 18:08:27 Oh, that's not trying to be a crack. 18:08:37 I was assuming it was one of the: "'sploits" the "kids" were doing "these days". 18:08:57 I am trying to run vpenis.sh on HackBot 18:09:03 You did. 18:09:09 Sadly, it does assume some sanity from the surrounding system. 18:10:36 There's also been a bit of a length inflation in vpenii these days. 18:11:20 It calculates length of virtual penis from processor speed, amount of free memory, disks and uptime 18:11:41 s/calculates/tries to calculate/ 18:11:47 Well, you know what they say. Obsession of the man is one of the most unknown and frightful phenomena, which stops evolutionary development of the man and brings its to full spiritual (and often to physical) death. 18:13:11 I get 174.1cm at work, 237.1cm at home, and 3383.1cm on the university's shell server. Someone should maybe adjust the constants slightly to match Moore's length. I mean, law. 18:13:37 $ curl http://tsundere.fi/b/vpenis.sh | sh 18:13:37 % Total % Received % Xferd Average Speed Time Time Time Current 18:13:37 Dload Upload Total Spent Left Speed 18:13:37 100 317 100 317 0 0 75 0 0:00:04 0:00:04 --:--:-- 2990 18:13:37 sh: line 2: bc: command not found 18:13:41 I guess my system isn't: sane. 18:13:51 A lack of 'bc' is very much not sane. 18:13:59 What, you do all your calculating with dc? 18:14:06 fizzie: when I ran it on my computer, that is quite obsolete these days after I made it work on Darwin it showed that length of my vpenis is 7633.9cm 18:14:08 (Okay, that's reasonable. But still.) 18:14:23 fizzie: I use Google as my calculator. :p 18:14:34 $ curl -s http://tsundere.fi/b/vpenis.sh | sh 18:14:34 220.6cm 18:14:43 Well, it's not how big it is, it's how you use it. 18:14:44 IIRC it gives rather a lot weight on dick space. I mean, disk space. 18:14:46 I could try to make vpenis.sh dc compatible 18:15:12 And of course the uptime thing makes it fluctuate. 18:15:45 fizzie: I have just 40GB disk, but my uptime is something like 120 days 18:17:00 elliott@solidity:~$ curl -s http://tsundere.fi/b/vpenis.sh | sh 18:17:01 58.8cm 18:17:09 I don't like this script. 18:17:40 -!- NihilistDandy has joined. 18:18:22 The bit where it gives a *2 score when the dick, I mean disk, devices have "/dev/scsi" or "/dev/sd" in them is also pretty obsoletated now that IDE disks are 'sdX' too. Not to mention that my /dev/mapper/ LVM things then don't match. 18:18:25 -!- Sgeo has joined. 18:18:32 elliott: did you install bc or is that another machine? 18:19:05 I installed bc for: 18:19:06 $ curl -s http://tsundere.fi/b/vpenis.sh | sh 18:19:06 220.6cm 18:19:11 But solidity is the server Esolang runs on. 18:19:15 Which has dc already, apparently. 18:19:16 *bc 18:19:23 fis@iris:~/mem$ sh vpenis.sh 18:19:23 27.3cm 18:19:26 Well, now. 18:19:31 (That's the Atom box.) 18:19:52 Quick, someone try it on one of those plug computers. 18:20:00 Or an Atari. 18:20:14 All the uptime ratings are zeros here thanks to yesterday's electricity break. 18:20:54 fis@selene:~$ sh vpenis.sh 18:20:54 23.4cm 18:21:00 The prgmr VPS managed to go even lower. 18:21:12 That's up 104 days, doesn't seem to help much. 18:21:14 -!- asiekierka has quit (Remote host closed the connection). 18:21:33 2028.6cm 18:21:47 And cat: cannot open /proc/cpuinfo: No such file or directory 18:22:03 Heh. 18:22:13 Deewiant: what OS are you running? 18:22:20 And sh: line 2: bc: command not found 18:22:43 And sh: line 2: bc: command not found 18:22:54 That was desktop, fileserver, firewall, and laptop, respectively 18:22:58 -!- MSleep has quit (Ping timeout: 246 seconds). 18:23:08 nortti: And the non-Linux one was Solaris 11 18:23:22 -!- Sgeo has quit (Read error: Connection reset by peer). 18:23:46 130.4cm on the laptop after installing bc 18:23:57 And 55.8cm on the firewall 18:23:59 I'd try it on that silly NAS disk-share box I have, but it's not on, and it's not exactly maybe worth it. 18:24:06 What does it even do? 18:24:07 -!- Sgeo has joined. 18:24:29 Deewian: I'll post the version that doesn't requite /proc shortly 18:24:43 Ah, it's the -x nfs that's presumably failing 18:24:44 The bit from cpuinfo is "sum of cpu MHz lines / 30". 18:24:47 And explaining my high score 18:25:00 df -P -k -x nfs most definitely includes my NFS :-P 18:25:46 nortti: -x nfs4 required, I guess 18:26:02 Heh, it reports 3726.3cm at work if I don't have "-x nfs" in. 18:26:16 674.4cm with the -x nfs4 18:26:24 fis@selene:~$ sh vpenis.sh 18:26:24 23.4cm 18:26:24 The prgmr VPS managed to go even lower. 18:26:27 Still probably counts things multiple times 18:26:30 fizzie: Ha, my Linode is "teh superiore", as they say. 18:26:37 As I have "rootfs" and "/dev/root" in that 18:27:06 Deewiant: There's all kinds of tmpfs things, too, that arguably should maybe not count. 18:27:41 Yes, tmpfs and devtmpfs 18:27:53 The bit it needs cpuinfo for is "sum of 'cpu MHz:' lines / 30", which means turning on hyperthreading can double your vpenis size -- well, the CPU part of it -- overnight. 18:27:56 df -P -k -x nfs -x nfs4 -x tmpfs -x devtmpfs -x rootfs 18:29:05 On Triton I get (standard_in) 1: syntax error 18:29:28 Deewiant: That's when you have something that gets represented in exponential notation. 18:29:57 Where? 18:30:12 Oh, from awk? 18:30:14 By awk, somewhere. Probably in the disk space. 18:30:26 3.5864e+06/15+70 18:30:28 Yeah 18:30:36 Deewiant: E.g. check out this thing: 18:30:38 [htkallas@pc112 ~]$ sh vpenis.sh 18:30:38 3726.3cm 18:30:42 [htkallas@pc112 ~]$ ls /share/work/{htkallas,itniemin,mniemenm} >/dev/null 2>&1 18:30:45 [htkallas@pc112 ~]$ sh vpenis.sh 18:30:48 (standard_in) 1: syntax error 18:30:52 heh 18:30:53 Automounting the work disk three times was too much for it. 18:32:06 3.5864e+06/15 would've yielded you 23909.3 cm. 18:32:10 What is it with Finns and their having Finnish names? 18:32:56 25942.6cm without -x nfs. 18:33:06 People use NFS? 18:33:17 Yes. 18:33:40 924.8cm with -x nfs -x lustre. :-P 18:33:50 Deewiant: but it must be executed with -x nfs. Otherwise it is not real vpenis.sh 18:34:14 -x nfs is just a bit arbitrary. 18:34:18 Deewiant: Oh, this is on that cluster thing? 18:34:37 I mean, that's more plausible than a Finnish home user using NFS, but you never know with them Finns. 18:34:40 If you want to get rid of remote filesystems, there are more types than that, which seems to include only NFSv3. And then there's the tmpfs stuff mentioned earlier. 18:34:50 elliott: I use NFS at home. 18:35:07 The 23909.3 / 25942.6 was on the cluster. 18:35:27 2028.6 at home, without -x nfs4. 18:36:14 And 3726.3 at work from fizzie. 18:36:22 wait. Does free command show free memory size in mb? 18:36:29 Deewiant: See, you *are* weird. 18:36:32 nortti: free -m does. 18:36:49 nortti: If you just use free, it's in kilobytes. 18:36:53 I used to have some sort of NFS setup at home, too, though not these days. I think it was when I had that sparc. 18:37:08 elliott: What else should I use on a file server? :-P 18:37:16 shit. I calculated my vpenis assuming that is is in mb 18:37:23 Deewiant: Samba, for all your Windows clients. 18:37:41 fizzie: Yes, but preferably not for my non-Windows clients, methinks. 18:39:15 I have the ~/www/ directory (that maps to β.zem.fi/~fis) shared over Samba, for no particular reason. Though it does have the dubious benefit that after setting up "create mask = 0644" for that share, I never have to remember to chmod files I copy there. 18:40:06 (Samba has those "Unix extensions" things going on, I think you can make it work reasonably well.) 18:40:44 Would it be an improvement to use it instead of NFSv4? :-P 18:41:17 Deewian: does your solaris system have free command? 18:41:20 Mmmaybe not. Though the NFS setup *I* had did break down occasionally. 18:41:45 nortti: Nope 18:41:54 nortti: 18:41:56 % curl -s http://tsundere.fi/b/vpenis.sh | sh 18:41:56 cat: cannot open /proc/cpuinfo: No such file or directory 18:41:56 sh: line 2: free: not found 18:41:56 awk: syntax error near line 1 18:41:58 awk: illegal statement near line 1 18:42:01 awk: syntax error near line 1 18:42:03 awk: bailing out near line 1 18:42:06 df: unknown option: x 18:42:07 NSFw4 18:42:08 Usage: df [-F FSType] [-abeghklntPVvZ] [-o FSType-specific_options] [directory | block_device | resource] 18:43:31 Deewiant: On kosh.org.aalto.fi, it's all "df: `/m/work/a800': Permission denied" for umpzillion lines, but does at least manage to yield a result. 18:43:42 kosh ~ 798 % mount | wc -l 18:43:42 205 18:43:45 That's a lot of mounts. 18:43:53 fizzie: What's the vpenis length there? 18:44:18 kosh.hut.fi gets 1933.0cm 18:44:24 elliott: What else should I use on a file server? :-P 18:44:32 Deewiant: I don't know, surely there's something better than NFS by 2012. 18:44:46 Deewiant: 3384.7cm; all the "nfs4" mounts (the not-"nfs" ones) give "permission denied" and thus are not counted. 18:44:59 I mean, NFS doesn't even have atomic mkdir! 18:45:10 Deewiant: does http://paste.dy.fi/rbV work on your solaris system 18:45:28 The ZFS stuff on solaris supports NFS (and Samba) directly, which is the main reason why I used that. 18:46:03 *http://paste.dy.fi/rbV/plain 18:46:45 nortti: http://sprunge.us/eSgC 18:47:21 Deewiant: kosh.org.aalto.fi gets 3120 cm of the length from the 96 gigs of RAM it has. 18:47:32 heh. 18:47:38 Ooh, that reminds me. 18:47:50 Want to run it on one of the Triton fat nodes? 18:47:57 Yep 18:48:16 Deewiant: you must download it to a file and after that you can run it 18:48:18 That should give about 35000 cm for RAM, except it might awk-break again. 18:48:21 nortti: Same thing 18:48:51 Well, it's awk-breaking already due to the df stuff, so I need to printf-ify the awk again. 18:49:24 nortti: You've typoed "MHz" as "HMz" on the line. 18:49:37 nortti: And you can't just count MHz itself, you need to multiply it by the number of cores. 18:49:38 One permission denied error from df and 29921.8cm 18:50:19 fizzie: I created that version for one core machines 18:56:14 Deewiant: Oh, it's so "short" because it's looking at the "used" column, not total. 18:56:29 total used free shared buffers cached 18:56:29 Mem: 1058759152 166124920 892634232 0 251540 15493068 18:56:37 That's mostly free. 18:57:08 Does it use the right line? 18:57:13 Yes. 18:57:16 (i.e. without buffers/cached) 18:57:18 No. 18:58:15 Saunatime. -> 18:59:49 Deewiant: http://paste.dy.fi/rGD/plain 19:02:27 -!- sebbu has quit (Read error: Connection reset by peer). 19:03:04 -!- sebbu has joined. 19:03:05 -!- sebbu has quit (Changing host). 19:03:05 -!- sebbu has joined. 19:03:16 nortti: http://sprunge.us/ZRfV 19:04:44 nortti: I'll spoil it for you: that file has DOS newlines hence the complaints about ^M, and your sed and awk usage require GNU sed and GNU awk (so gsed and gawk). 19:04:55 Then I get 62073. 19:05:53 Oh, I missed the last sed invocation: that's 6207.3. 19:30:24 -!- asiekierka has joined. 19:37:29 -!- azaq23 has joined. 19:44:44 #haskell just spent ~10 minutes trying to fix someone's $PATH. 19:44:46 Kill me now. 19:48:42 I'll kill you with my language based on binary trees . 19:49:32 I'm dead. 19:51:20 Hmm, I have this horrible temptation to bring my silly language into existence. 19:54:09 What silly language do you mean? 19:54:39 If I tell you, it'll start existing. :( 19:55:54 This is a very interesting email: http://www.coyotos.org/pipermail/bitc-dev/2012-March/003300.html 20:00:35 -!- hagb4rd has quit (Ping timeout: 252 seconds). 20:09:28 elliott: HELP MY DOLLAR PATH IS BROKE 20:09:34 FIX IT 20:10:09 -!- oerjan has joined. 20:10:25 fix $PATH = $PATH:$(fix $PATH) 20:10:46 hi oerjan 20:10:57 -!- calamari has left ("Leaving"). 20:11:05 hi elliott 20:11:42 oerjan: Tell elliott to tell you to ban me. 20:14:29 elliott: Is it just me, or is little-endian "00 0b" != 11? 20:14:44 0 = 11 20:15:01 -!- oerjan has quit (Client Quit). 20:15:40 -!- Sgeo has quit (Ping timeout: 246 seconds). 20:21:52 WAR = PEACE. 20:29:03 -!- oerjan has joined. 20:30:14 I have concluded that today is slightly cursed by forces trying to attract my infuriation, the recent wiki events being merely the latest example. Experience tells me that the only cure for such is to refuse to get involved, which I will promptly put into action. 20:30:43 oh, also, to get enough sugar intake. 20:30:59 * oerjan sips his orange juice. 20:32:09 is it any wonder i keep putting on weight. 20:32:18 elliott: What a spheroidal argument you're having. 20:34:35 -!- augur has quit (Remote host closed the connection). 20:35:29 -!- monqy has joined. 20:35:33 fizzie: Hey, golf me a function to turn [ [ [1], [], [2] ], [ [3,4], [5], [7] ] ] into [ [1,3,4], [5], [2,7] ]. 20:35:42 oerjan: too late. 20:35:53 > map concat . transpose $ [ [ [1], [], [2] ], [ [3,4], [5], [7] ] ] 20:35:54 [[1,3,4],[5],[2,7]] 20:36:09 oh, that's better than what i ended up with. 20:36:16 i forget why i didn't try that. 20:36:21 elliott: heh :P 20:36:25 filterN ps = foldr (zipWith (++)) ([] <$ ps) . map (\x -> map (\p -> x <$ guard (p x)) ps) 20:36:31 is the end result of the thing that sparked that question. 20:36:45 (i am offering prizes for people who figure out what it does without :t.) 20:37:09 elliott: i thought i saw just a bunch of foldr's so thought i'd still have a fighting chance :P 20:37:28 I think that transpose might make it less lazy 20:38:39 > transpose [1:2:undefined,[3,4],[5,6]] 20:38:40 [[1,3,5],[2,4,6]*Exception: Prelude.undefined 20:38:52 > transpose (repeat [1,2]) 20:38:53 [[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1... 20:39:20 > let filterN ps = map concat . transpose . map (\x -> map (\p -> x <$ guard (p x)) ps) in filterN [even, odd] [1..10] 20:39:22 [[2,4,6,8,10],[1,3,5,7,9]] 20:39:39 ok, now there's just that ugly map to take care of. 20:39:53 > let filterN ps = map concat . transpose . map (\x -> [x <$ guard (p x) | p <- ps]) in filterN [even, odd] [1..10] 20:39:55 [[2,4,6,8,10],[1,3,5,7,9]] 20:39:57 i suppose that's marginally nicer. 20:40:41 hmm. 20:40:57 > let filterN ps = transpose . map (\x -> map (\p -> x <$ guard (p x)) ps) in filterN [even, odd] [1..10] 20:40:58 No instance for (GHC.Show.Show (f a)) 20:40:58 arising from a use of `M7605977044... 20:41:02 fuck 20:41:07 > let filterN ps = transpose . map (\x -> map (\p -> x <$ guard (p x)) ps) in filterN [even, odd] [1..10] :: [[[Integer]]] 20:41:09 [[[],[2],[],[4],[],[6],[],[8],[],[10]],[[1],[],[3],[],[5],[],[7],[],[9],[]]] 20:41:22 > let filterN ps = transpose . map (\x -> map (\p -> x <$ guard (p x)) ps) in filterN [even, odd] [1..10] :: [[Maybe Integer]] 20:41:23 [[Nothing,Just 2,Nothing,Just 4,Nothing,Just 6,Nothing,Just 8,Nothing,Just ... 20:41:32 > let filterN ps = map catMaybes . transpose . map (\x -> map (\p -> x <$ guard (p x)) ps) in filterN [even, odd] [1..10] :: [[Maybe Integer]] 20:41:33 No instance for (GHC.Real.Integral 20:41:33 (Data.Maybe.Maybe GH... 20:41:35 > let filterN ps = map catMaybes . transpose . map (\x -> map (\p -> x <$ guard (p x)) ps) in filterN [even, odd] [1..10] :: [[Integer]] 20:41:37 Terminated 20:41:38 wtf 20:41:39 > let filterN ps = map catMaybes . transpose . map (\x -> map (\p -> x <$ guard (p x)) ps) in filterN [even, odd] [1..10] :: [[Integer]] 20:41:40 [[2,4,6,8,10],[1,3,5,7,9]] 20:42:34 hmph 20:42:50 oh it's supposed to work for more than the list monad? 20:43:14 nope 20:43:18 ok 20:43:25 i'm just trying to come up with a pretty implementation of [a -> Bool] -> [a] -> [[a]] 20:43:29 with the obvious presented semantics 20:43:38 i didn't think that last one was aesthetically pleasing enough. 20:43:42 > let filterN ps = map catMaybes . transpose . map (\x -> map (\p -> x <$ guard (p x)) ps) in filterN [even, odd] [1..] :: [[Integer]] 20:43:44 [[2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52... 20:43:49 yay, at least that works now 20:45:07 > let filterN ps = transpose . map catMaybes . map (\x -> map (\p -> x <$ guard (p x)) ps) in filterN [even, odd] [1..] :: [[Integer]] 20:45:09 [[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,2... 20:45:13 oh duh 20:46:09 > (flip . map filter) [even, odd] [1..10] 20:46:11 [[2,4,6,8,10],[1,3,5,7,9]] 20:46:20 * oerjan whistles innocently 20:47:14 oerjan: um yes that's obvious. 20:47:22 oerjan: it traverses the list multiple times. 20:47:24 > (sequence . map filter) [even, odd] [1..10] -- slightly more portable, i think 20:47:26 [[2,4,6,8,10],[1,3,5,7,9]] 20:47:27 (and therefore has bad space usage.) 20:47:30 oh. 20:47:49 -!- augur has joined. 20:48:20 Sgeo_: hey, can you do something for me? 20:48:36 Depends on what that thing is 20:48:57 -!- asiekierka has quit (Remote host closed the connection). 20:49:25 tswett? 20:50:36 tswett is now seeking for someone else to hide the body. 20:50:47 Sgeo_: try ending all your sentences with periods for a while. 20:51:11 What about interrogative sentences?. 20:51:11 Even the questions. 20:51:15 Snap. 20:51:18 Exclamation. 20:51:23 why would he do that. 20:51:32 I'm just going to say that ? incorporates a little period in it. 20:51:40 * tswett RUNS. 20:52:13 So, I can't use American-style quotes? 20:52:27 Which style is that? 20:52:28 "The quick brown fox jumps over the lazy dog.". 20:52:31 One of them is stupid and nobody should use them. 20:52:33 No, that's neither. 20:52:35 That's Dijkstra-style. 20:52:49 Quote mark after puctuation. 20:52:59 But since tswett wants me to end sentences with periods... 20:53:13 Quote mark after punctuation is abominable, unless the punctuation itself is part of the quote. 20:53:18 Anyone who does it should be "shot." 20:53:28 like shot, but more final. 20:53:32 "How are you?", she asked. 20:54:18 That comma is stupid. 20:54:21 I'm going to kill that comma. 20:54:25 Get rid of it. 20:54:39 That's like "Oranges, ate sam." Okay, maybe it's not so bad. 20:54:44 But I'm eyeing it suspiciously. 20:55:26 That comma belongs there. 20:55:57 Yes, maybe it does; but I'm still allowed to be suspicious of it. 21:04:31 > let filterN ps = transpose . map catMaybes . map ((<$)<$>guard.p<$>ps) in filterN [even, odd] [1..10] 21:04:32 Couldn't match expected type `[Data.Maybe.Maybe a]' 21:04:32 against inferre... 21:04:38 gah 21:04:47 > (0$0<$>) 21:04:48 The operator `Data.Functor.<$>' [infixl 4] of a section 21:04:48 must have lowe... 21:05:01 oh wait 21:11:54 I agree; punctuations marks should be inside of the quotation marks only in case the punctuation is part of a quotation. 21:12:29 (Sometimes known as "British style" or "logical style") 21:13:41 And then there's "programmer style". This is a nice example: "I for one think punctuation is attached to a sentence, so it shouldn't really be dropped just because it's in a quote.". 21:19:30 hmm 21:20:18 > let filterN ps = transpose . map catMaybes . map ((<$> ps) . flip (((<$)<$>).(guard.)) in filterN [even, odd] [1..10] 21:20:19 : parse error on input `in' 21:20:21 "How are you?/0what a boring day *hic*", she asked. 21:20:32 > let filterN ps = transpose . map catMaybes . map ((<$> ps) . flip (((<$)<$>).(guard.))) in filterN [even, odd] [1..10] 21:20:33 Couldn't match expected type `Data.Maybe.Maybe a' 21:20:33 against inferred ... 21:20:40 * oerjan gives up. 21:20:57 you certainly managed to make it more. 21:21:04 indeed. 21:21:05 more elegant, I'm not so sure about. 21:21:07 but more. 21:21:42 Deewiant: I was away watching Stargate SG-1. The dos newlines thing is quite interesting. (The script was written for Linux, and after that I ported it for Darwin 8/OS X 10.4 so it might misbehave in Solaris.) Do you have any idea why gawk and gsed don't try to emulate standard wak and sed behavior when called with those name? 21:22:01 gawk and gsed are GNU awk and sed 21:22:08 :t (((<$)<$>).(guard.)) 21:22:09 forall (f :: * -> *) b (f1 :: * -> *) (m :: * -> *). (Functor f, Functor f1, MonadPlus m) => f1 Bool -> f1 (f b -> f (m ())) 21:22:27 awk and sed are solaris's own 21:22:34 Deewiant: And gquack is the GNU duck. 21:22:38 * oerjan continues giving up. 21:23:32 Deewiant: I meant on systems like Linux and OS X so there wouldn't be so much portability issues 21:24:00 I think it depends on your specific system 21:26:04 Do GNU versions of standard unix utilities like awk, sed and make sometimes emulate standard behavior? 21:26:51 awk seems to have --compat/--traditional 21:27:00 And sed has --posix 21:27:31 Can't see anything similar for make 21:27:50 GNU bash has that posix mode auto-enabled when you call it "sh". 21:27:54 why isn't is then the standard behavior if they are called awk and sed? 21:28:26 fizzie: I think awk, sed, make and all those programs should do the same 21:28:39 And do you also think GCC should disable extensions by default? 21:29:48 GNU would be fun if it tried to be perfectly compatible by default. 21:29:53 fizzie: I think that it should disable them if it gets called cc, but use them if called gcc 21:29:57 By "fun", I mean "agonising", because 80s Unix was shitty as all hell. 21:30:12 nortti: surely you mean c89/c90 21:30:14 *c99 21:30:17 or is it c90 and c99 21:30:22 whatever; the POSIX defined things 21:30:32 I don't think POSIX guarantees cc has no extensions 21:30:35 I suppose the same "should" apply for GNU tar. 21:30:51 elliott: c90 is the same as c89 21:31:11 I see only "c99" in POSIX. 21:31:17 It "shall accept source code conforming to the ISO C standard". 21:31:22 Well, POSIX 2008, anyway. 21:31:23 and yes, I meant c99 21:31:26 nortti: They are not the same byte strings. 21:31:31 POSIX only defines one, I believe. 21:31:41 fizzie: Right, but didn't POSIX exist before 1999? 21:31:58 Sure, sure. 21:32:30 elliott: c89 and c90 are the same standard, but one is c89 is ANSI standard and c90 is ISO standard 21:32:40 -one is 21:32:51 nortti: Yes, I'm aware. 21:32:57 I am talking about the commands standardised by POSIX. 21:33:05 oh 21:34:36 FreeBSD man pages have "c89 - POSIX.2 C language compiler", so I suppose it was that. 21:34:50 Can't be bothered to try locating a more authoritative source. 21:35:28 "So, elliott," tswett says, "it seems like you would object to my use of commas here." 21:36:05 "So,,, elliott,,",,, says, fizzie,,, ",,, do you think there are ,,enough,, commas here,",, 21:36:41 nO,,, 21:38:08 T,,,,,,,,,,,,,,,,,,,,,h,,,,,,,,,,,,,,,,,,,,,e,,,,,,,,,,,,,,,,,,,r,,,,,,,,,,,,,e,,,,,,,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,s,,,,,,,,,,,,,h,,,,,,,,,,,,,o,,,,,,,,,,,,,,,,,,u,,,,,,,,,,,,,,,,,l,,,,,,,,,,,, ,,,,,,,,,,,,,b,,,,,,,,,,e,,,,,,,,, ,,,,,,,,,,,,,,,,,,m,,,,,,,,,,,,,o,,,,,,,,r,,,,,,,,,,,,,,,,,,e,,,,,,,,,,,,,, ,,,,,,,,,,c,,,,,,,,,,,,,,o,,,,,,,,,,,,,,,,m,,,,,,,,,,,,,,,,,,m,,,,,,,,,,,,,a,,,,,,,,,,,,,,s 21:38:09 , 21:38:20 ,,,,,,,,,,,,,,,,,,,,,,,,,,,, 21:38:37 The funniest. g++ has a "-std=c++1y" for "[t]he next revision of the ISO C++ standard, tentatively planned for 2017". 21:38:50 > length ",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,," 21:38:50 33 21:38:52 I suppose "c++1x" would've been too confusing, since "c++0x" came out in 1x. 21:39:10 But it's a clever solution to just bump the letter up. 21:39:16 > length ",,,,,,,,,,,,,,,,,,,,,,,,,,,," 21:39:17 28 21:39:21 elliott: you're short by five. 21:39:22 > chr ',' 21:39:23 Couldn't match expected type `GHC.Types.Int' 21:39:23 against inferred type ... 21:39:27 > ord ',' 21:39:28 When "c++1y" comes out in 2021, they'll probably call the next one "c++2z". 21:39:28 44 21:39:38 ^ord , 21:39:38 44 21:39:43 why the couldn't just call it c++11? 21:40:26 Because that's the one that came out in 2011? 21:40:35 fizzie: And after that they'll be screwed. 21:40:49 > "c++3" ++ [chr (ord 'z' + 1)] 21:40:51 "c++3{" 21:41:00 It looks nice. 21:41:19 Then "c++4|" which will have some quoting-related problems here and there. 21:41:43 After c++6~, though... 21:42:00 c++3{ the most disturbing smiley 21:42:21 After c++6~ comes c++ 21:42:51 I think you a characters. 21:42:54 Oh, that's clever. 21:42:59 elliott: Nope. 21:43:05 Oh, backspace? 21:43:06 Heh. 21:43:54 Or maybe we'll be Unicode enough by then that c++7␡ is acceptable. 21:45:35 Deewiant: In Unicode 72 they've probably removed the "Control Pictures" block because the word "control" is politically incorrect. 21:45:38 I meant c++17 21:46:04 nortti: Keyword "tentatively". 21:46:07 fizzie: This is the standard unwilling to change typos in codepoint names. 21:46:13 C++0x was planned for 200x, after all. 21:46:27 "Tentatively" in the sense of "not". 21:46:58 The fact that it has an 'x' (or 'y') in it is also a good reminder it's not final. 21:48:40 They don't seem to have a name yet for whatever will be after c11. 21:49:36 c99, c11... Must be c22 next. 21:50:25 They skipped c00 for that to make sense, so I'd guess c23. 21:52:58 Deewiant: Eh? 21:53:13 elliott: no next one is c26. 90->99 is 9 (3*3) years and 99->11 is 12 (4*3) years, so next will be 11->26 (5*3) 21:53:29 elliott: c99 -> c11 is 12 years, c11 -> c23 is also 12 years. 21:53:46 +which is 15 21:53:46 elliott: c99, c00, c11, c22 would make sense if they wanted double digits. 21:54:13 Deewiant: but what about c90->c99? 21:54:44 Yours is the only progression thus far that works for that too. 21:54:51 Deewiant: http://www.wolframalpha.com/input/?i=plot+%283%2F2%29*x%5E2%2B%2815%2F2%29*x%2B1990+for+x%3D0..4 suggests 2044. 21:55:01 If c00 existed, we could discount c90 as a fluke since it was the first release. :-P 21:55:09 Whoops, I skipped one. 21:55:11 And then the double digits thing would still be acceptable. 21:55:23 So 2026, then 2044. 21:55:45 elliott: c99, c00, c11, c22 would make sense if they wanted double digits. 21:55:58 Deewiant: Well, obviously they skip it if there's not enough time to prepare a new spec. 21:56:02 It could be c33, aftera ll. 21:56:15 elliott: Then they should've waited for it instead of doing c99. 21:56:29 Deewiant: Who are *you* to tell the committee what to do? 21:56:37 You're BANNED FROM C. 21:56:46 Just another lazy programmer. 21:57:20 @oeis 90,99,11 21:57:20 Sequence not found. 21:57:22 Aw. 21:57:34 @oeis 1990,1999,2011 21:57:34 Sequence not found. 21:57:41 @oeis 90 99 11 21:57:41 Sequence not found. 21:57:44 @oeis 90,99,110 21:57:45 Largest integer m such that every permutation (p_1, ..., p_n) of (1, ..., n)... 21:57:45 [1,2,3,6,8,12,15,20,24,30,35,42,48,56,63,72,80,90,99,110,120,132,143,156,168... 21:57:49 Woops 21:57:50 @oeis 90,99,111 21:57:51 Number of nonnegative solutions to x^2 + y^2 + z^2 <= n. 21:57:52 [1,4,7,8,11,17,20,20,23,29,35,38,39,45,51,51,54,63,69,72,78,84,87,87,90,99,1... 21:58:32 Deewiant: According to that (A000606), they're going to have to release two C15's. 21:58:48 Yeah, I think A048955 and A128012 are better. 21:59:00 @oeis 80,99,11 21:59:01 Sequence not found. 21:59:03 @oeis 89,99,11 21:59:04 Concatenation of a and b, where a is the reduced sum of the digits of n and ... 21:59:04 [0,11,23,36,41,56,63,71,89,99,11,23,36,41] 21:59:11 Okay, Deewiant was right. 21:59:13 C23 it is. 21:59:18 Heh. 21:59:31 @oeis 89,99,111 21:59:31 Numbers with digits in nondecreasing order. 21:59:31 [0,1,2,3,4,5,6,7,8,9,11,12,13,14,15,16,17,18,19,22,23,24,25,26,27,28,29,33,3... 21:59:39 Oh, come on. 22:00:04 @oeis really should do some appropriate dropWhileing. 22:00:26 A076273 suggests c19. 22:03:15 @oeis 1989,1999,2011 22:03:16 Sequence not found. 22:03:18 @oeis 1990,1999,2011 22:03:19 Sequence not found. 22:04:01 @oeis 990,999,1011 22:04:02 Sequence not found. 22:04:03 Deewiant: Interestingly, if you fit a second-degree polynomial to (1,1990), (2,1999) and (3,2011), not only does it give you the next standard ((4,2026) -> C26) but you can also see that that C standard is how Big Brother is keeping us all under control. (See (0,1984).) 22:04:04 @oeis 989,999,1011 22:04:05 Sequence not found. 22:04:15 using my system it would be 1990->1999->2011->2026->2044->2065->2089 22:04:41 fizzie: That's nortti's system again, no? Differences 6, 9, 12, 15. 22:04:54 Yes, it is the same thing. 22:05:10 Deewiant: yes 22:07:15 Targets (37): bash-4.2.024-2 chromium-17.0.963.83-1 device-mapper-2.02.95-1 fontsproto-2.1.2-1 intel-dri-8.0.2-1 iproute2-3.2.0-3 22:07:15 kbproto-1.0.6-1 lib32-libdrm-2.4.32-1 lib32-libgl-8.0.2-1 lib32-libglapi-8.0.2-1 lib32-mesa-8.0.2-1 lib32-openssl-1.0.1-1 22:07:15 libdrm-2.4.32-1 libftdi-0.20-1 libgl-8.0.2-1 libglapi-8.0.2-1 libxaw-1.0.10-1 linux-3.2.12-1 lvm2-2.02.95-1 mercurial-2.1.1-2 22:07:15 mesa-8.0.2-1 mpg123-1.13.6-1 neon-0.29.6-4 openssh-5.9p1-8 openssl-1.0.1-1 psmisc-22.16-1 quodlibet-2.4-1 recordproto-1.14.2-1 22:07:18 scrnsaverproto-1.2.2-1 vim-7.3.475-1 vim-runtime-7.3.475-1 xcb-proto-1.7.1-1 xextproto-7.2.1-1 xorg-setxkbmap-1.3.0-1 22:07:21 xorg-xauth-1.0.7-1 xorg-xkbcomp-1.2.4-1 xorg-xmodmap-1.0.6-1 22:07:23 So many MUPGRADES. 22:07:27 Total Download Size: 93.14 MiB 22:07:27 Total Installed Size: 276.41 MiB 22:07:29 Net Upgrade Size: -1.15 MiB 22:07:31 Well, that's good. 22:07:54 So long since you last MUPGRADED. 22:09:15 octave:1> f = @(x) (81/4)*exp(log(4/3)*x)+1963 22:09:15 f = 22:09:15 @(x) (81 / 4) * exp (log (4 / 3) * x) + 1963 22:09:15 octave:2> f([0 1 2 3 4]) 22:09:15 ans = 22:09:15 Unknown command, try @list 22:09:17 1983.2 1990.0 1999.0 2011.0 2027.0 22:09:55 After C27, we'll have C48.3 and C76.8. 22:14:23 elliott: YOUR WISH IS MY COMMAND. well, at least once. 22:15:04 Alternatively, 22:15:05 octave:10> f = @(x) -(63*sqrt(15))/8*tan(-2*atan(4-sqrt(15))*x)+15857/8; f([1 2 3 4 5 6 7]) 22:15:08 ans = 22:15:11 1990.0 1999.0 2011.0 2030.8 2078.2 2539.0 1830.1 22:15:20 oerjan: Excellent! Now elect me benevolent dictator for life of the world. 22:15:30 There will be some sort of a singularity event after the sixth C standard in 2539. 22:16:05 Or possibly just a new calendar. 22:16:07 fizzie: That nearly-five-centuries delay is a doozy. 22:16:29 "C8x, released in 2539" 22:17:08 @oeis really should do some appropriate dropWhileing. <-- i'm pretty sure it does? also, even more if you use space instead of commas. 22:17:19 oerjan: btw [[LOLCODE]] has the same kind of broken -around-a-pre :P 22:17:54 relatedly to oerjan not hating me forever, i'm totally going to look into that W-next-to-interwiki-links tomorrow. 22:18:09 oerjan: I assumed the point was that it'd show the match in the example, instead of just starting from the beginning. 22:18:47 oerjan: btw [[LOLCODE]] has the same kind of broken -around-a-pre :P <-- i'm not through the recent changes yet 22:19:13 oerjan: Also based on a very quick test using spaces didn't seem to matter when done via lambdabot. (Via the website, sure.) 22:19:17 @oeis 11 45 88 22 22:19:17 Sequence not found. 22:19:25 That has 1218 matches on the website. 22:19:50 oerjan: Excellent! Now elect me benevolent dictator for life of the world. <-- i can still be the evil one, right? 22:19:50 @oeis 1990 1999 2011 2026 2044 22:19:51 Sequence not found. 22:21:02 fizzie: huh. 22:21:43 -!- tzxn3 has quit (Quit: Leaving). 22:22:16 -!- derdon has joined. 22:25:12 oerjan: What fizzie said re. the point. 22:27:36 There, like, is no point. 22:28:58 * elliott eagerly awaits oerjan's copy-editing of [[Snack]] 22:32:44 waiting with bated breath 22:45:20 wow, /// has been the featured language for 5 days already. 22:45:46 oerjan: you know, [[Bitwise Cyclic Tag]] has a bunch of preformatted execution traces... 22:45:54 ...just sayin' 22:46:08 ooh 22:46:42 * elliott tableises the instruction reference anyway. 22:46:46 i feel it is my duty. 22:47:19 EDIT CONFLICT 22:47:24 * oerjan waits a bit 22:48:15 actually i can't think of an elegant way to express 1's execution without those direct line-breaks, so I will hold off on that for now. 22:48:48 * elliott does not envy oerjan when he gets to http://esolangs.org/wiki/Bitwise_Cyclic_Tag#Example_2 22:49:33 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 22:49:57 actually, I'll wikify that one. 22:50:03 it looks fun! 22:52:51 oerjan: (btw i'm actually doing it, just to avoid ecs) 22:56:45 Make the list of Haskell Ephemeris ID numbers, including planets, dwarf planets, sun, moon, satellites, asteroids, fixed stars, artificial objects, fictitious objects, etc 22:57:35 no 22:58:35 elliott: I didn't mean you, I meant an astronomer. 23:00:31 oh. 23:01:48 -!- Sofox has joined. 23:03:22 `welcome Sofox 23:03:25 Sofox: Welcome to the international hub for esoteric programming language design and deployment! For more information, check out our wiki: http://esolangs.org/wiki/Main_Page 23:03:52 note to self: half-finished work on bct table is in ~/tmp/bct. (tables r hard) 23:04:10 Hello elliott, and HackEgo. 23:04:59 For the purpose of fictitious objects, an astrologer should work on it too. But some fictitious object are not used much by astronomy or astrology, such as Julian Ecclesiastical Moon, etc 23:05:03 Certainly are friendly here. 23:05:28 elliott: Re "tables r hard", I hear it'd be trivial if you used nonsense query tables instead. 23:05:30 Sofox: Read the wiki and/or logs 23:05:41 -!- Patashu has joined. 23:07:06 I love esoteric programming languages. 23:07:21 I haven't programmed using one of them yet, but I'd like to try something out in LOLCODE or Brainfuck. 23:07:42 We're all friendly here. Apart from all the horrible people. Like me. 23:07:42 * oerjan swats fizzie -----### 23:07:49 fungot: Say hi to Sofox! 23:07:50 elliott: i misread that, then, between symbols and functions ( defun and defparameter) while scheme makes no distinction ( define) :) 23:07:53 elliott: i assume you wanted me to 23:08:04 oerjan: To... 23:08:22 to what i did in the previous line 23:08:28 Oh. 23:08:34 Well, you know, swat anyone and everyone. 23:08:39 oerjan: When in doubt, swat. 23:08:45 O KAY 23:10:16 -!- nortti has quit (Quit: nuq). 23:10:37 * oerjan swats Sofox as well. I'm sure Phantom_Hoover would want me to, after his last comment. -----### 23:10:52 Heh. 23:10:59 or wait, that's brainfuck proper, not a derivative. 23:11:34 oerjan: The "L" word might draw some hoover-ire even when it's not about a derivative. 23:11:48 fizzie: yes. 23:12:10 i have also read more of today's logs than is healthy. 23:20:59 Sofox, hello, I am friendly until you make a Brainfuck derivative. 23:21:13 Phantom: And then what? 23:21:51 Then come the bricks. 23:22:07 Amd out go the brains. 23:22:09 *and 23:27:03 monqy, Phantom_Hoover elliott MUFFIN 23:27:05 Hoovire. 23:27:11 Not a Phantom_Hoover elliott muffin. 23:27:15 -!- zbrown has quit (Ping timeout: 276 seconds). 23:27:46 -!- zbrown has joined. 23:43:02 coppro: zzo38: wtf 23:43:10 coppro: zzo38: that magic set editor thing was written by a haskeller! 23:43:30 (Twan van Laarhoven, the author of e.g. lambdabot's reflection stuff) 23:46:47 elliott: I know the person who wrote MSE also wrote programs in Haskell (although MSE itself is written in C++) 23:47:39 (However he had no intention to include pure versions of MSE's impure functions) 23:49:44 But MSE is full of various problems anyways so I make TeXnicard, which is written in C and does not use floating points at all except for PNG compression (which is lossless anyways, so slightly different computers will still result in the same output, although the actual bytes of the file might differ) 23:51:25 -!- augur has quit (Remote host closed the connection). 23:51:26 But... MSE is so bad. So horribly bad. 23:52:14 pikhq: I know... you can write bad codes in any programming language... 23:52:52 pikhq: Do you think TeXnicard is any better than MSE? 23:53:57 zzo38: I've not looked at it immensely, but I'd certainly imagine it is. 23:54:06 At minimum, it's using a vastly better typesetting system. 23:54:18 elliott: yes 23:56:15 coppro: WHY DIDN'T YOU TELL ME 23:56:29 * elliott cries 23:58:28 pikhq: Well, yes, it is a typesetting system based on TeX, so certainly that part would be better. But, I mean, other stuff too, what you would figure out from this. But can someone else improve the documentation for the parts of the program that are already working (which is most of it)?