00:09:15 egelbot: List:map [(S::text F)->(S,F 7)] ([F->{F 0,F 1,F 2}][X->if 0X+Y] else "zero" [Y->10*Y]]) 00:09:15 (System:cons (System:tuple "zero" 70) (System:cons (System:tuple "add" 8) (System:cons (System:tuple "add" 9) System:nil))) 00:15:57 spruit11: anyway, those snippets I wrote, the prime lister and the mandelbrot, would probably have been much cleaner if I defined some functions with good names, like a rangeTo function, and used List:map 00:17:18 or List:foldr as appropriate 00:18:07 or whatever else, just proper abstractions 00:19:41 Nah, good enough. 00:19:53 Or awesome! 00:19:59 I liked them a lot 00:20:36 Well, I have to relax. I sometimes need to write readable and maintainable code for work. 00:21:45 -!- oerjan has joined. 00:21:56 Go do that! 00:22:27 helloerjan 00:23:34 hellonas 00:24:56 -!- mich181189 has quit (Read error: Connection reset by peer). 00:24:58 -!- dnm has quit (Read error: Connection reset by peer). 00:25:07 -!- mich181189 has joined. 00:25:20 -!- glowcoil has quit (Read error: Connection reset by peer). 00:25:22 -!- dingwat has quit (Read error: Connection reset by peer). 00:25:38 b_jonas: my theory has a corollary: the cause of belkar's very permanent death may be him trying to save the cat from the snarl 00:25:53 -!- glowcoil has joined. 00:26:16 -!- dingwat has joined. 00:26:30 -!- dnm has joined. 00:26:31 oerjan: I don't think he'll live long enough to meet the snarl, but it's possible 00:27:11 we'll see. 00:27:53 of course it could still be years in real time until either event happens. 00:28:07 sure 00:29:13 -!- atslash has quit (Ping timeout: 268 seconds). 00:29:50 -!- atslash has joined. 00:30:33 -!- zemhill_________ has quit (Ping timeout: 272 seconds). 00:31:22 -!- Lord_of_Life_ has joined. 00:32:04 -!- zemhill_________ has joined. 00:32:29 visiting explainxkcd was useful today, i learned about https://en.wikipedia.org/wiki/Spacecraft_cemetery 00:33:38 -!- Lord_of_Life has quit (Ping timeout: 240 seconds). 00:33:44 oerjan: yeah, but it doesn't always tell all the important things about strips, and I'm too lazy to edit it 00:34:13 -!- Lord_of_Life_ has changed nick to Lord_of_Life. 00:34:49 oerjan: like, did you know that there's actually a James Bond movie in which the villain tries to kill James Bond with a giant centrifugue? so that strip mixes up two different James Bond movies (the other being Goldfinger, which is what the punchline refers to) 00:39:33 i think i learned that when i googled "i expect you to die" 00:40:01 well the goldfinger part 00:40:07 ...i guess i didn't, then. 00:44:54 I knew about the goldfinger one 00:45:07 and I think explainxkcd tells about Goldfinger too 00:45:15 it doesn't tell about the other movie 00:57:35 -!- kspalaiologos has quit (Ping timeout: 268 seconds). 01:09:15 didn’t even know that related to actual Bond movies 01:11:37 -!- dingwat has quit (Quit: Connection closed for inactivity). 01:14:12 -!- arseniiv has quit (Ping timeout: 248 seconds). 01:30:51 I tried compressing some pictures with and without YCoCg, LZ77, Paeth, etc. It seems that YCoCg helps even if LZ77 is disabled. 01:37:59 If the picture is CMYK, then what loss transformation could be used? 01:45:31 s/loss/lossless/ 01:58:29 -!- MDude has quit (Quit: Going offline, see ya! (www.adiirc.com)). 03:28:14 -!- sparr_ has quit (Changing host). 03:28:14 -!- sparr_ has joined. 03:28:30 -!- sparr_ has changed nick to sparr. 03:53:43 -!- Melvar has quit (Quit: WeeChat 2.4). 04:13:21 -!- imode has joined. 05:55:36 -!- FreeFull has quit. 06:08:21 int encode_prediction(int p,int v) { if(p==v) return 0; if(p&128) v^=255,p^=255; if(v hi 13:48:43 -!- sprocklem has quit (Ping timeout: 260 seconds). 14:01:13 -!- dnm has joined. 14:15:15 -!- Frater_EST has joined. 14:20:23 [[Not Python]] M https://esolangs.org/w/index.php?diff=69606&oldid=69566 * PythonshellDebugwindow * (+62) /* Functions */ 14:20:45 [[Not Python]] M https://esolangs.org/w/index.php?diff=69607&oldid=69606 * PythonshellDebugwindow * (+0) /* Functions */ 14:43:24 -!- Melvar has joined. 15:02:15 -!- sprocklem has joined. 15:38:37 -!- dingwat has joined. 15:41:08 [[Special:Log/newusers]] create * DeybisMelendez * New user account 15:49:44 -!- Frater_EST has quit (Read error: Connection reset by peer). 15:52:44 [[Esolang:Introduce yourself]] https://esolangs.org/w/index.php?diff=69608&oldid=69548 * DeybisMelendez * (+183) /* Introductions */ 16:08:24 -!- sprocklem has quit (Ping timeout: 268 seconds). 16:11:29 -!- imode has joined. 16:42:59 -!- wib_jonas has quit (Remote host closed the connection). 16:48:41 -!- arseniiv_ has joined. 16:50:18 -!- cpressey has quit (Quit: A la prochaine.). 16:50:57 -!- arseniiv has quit (Ping timeout: 272 seconds). 17:10:54 -!- tromp_ has joined. 17:14:23 -!- tromp has quit (Ping timeout: 246 seconds). 17:57:38 -!- imode has quit (Ping timeout: 240 seconds). 18:04:33 -!- imode has joined. 18:43:47 -!- ArthurStrong has joined. 18:45:08 -!- b_jonas has joined. 19:01:26 [[Not Python]] M https://esolangs.org/w/index.php?diff=69609&oldid=69607 * PythonshellDebugwindow * (+258) /* Functions */ 19:02:54 [[Not Python]] M https://esolangs.org/w/index.php?diff=69610&oldid=69609 * PythonshellDebugwindow * (+68) /* Not in main function */ 19:05:18 -!- LKoen has joined. 19:05:39 [[Not Python]] M https://esolangs.org/w/index.php?diff=69611&oldid=69610 * PythonshellDebugwindow * (+26) /* Functions */ 19:05:58 [[Not Python]] M https://esolangs.org/w/index.php?diff=69612&oldid=69611 * PythonshellDebugwindow * (+99) /* Examples */ 19:06:22 [[Not Python]] M https://esolangs.org/w/index.php?diff=69613&oldid=69612 * PythonshellDebugwindow * (-68) /* Export function */ 19:06:37 [[Not Python]] M https://esolangs.org/w/index.php?diff=69614&oldid=69613 * PythonshellDebugwindow * (-8) /* Main */ 19:11:35 [[Not Python]] M https://esolangs.org/w/index.php?diff=69615&oldid=69614 * PythonshellDebugwindow * (+121) /* Create a function called 'add' to add 2 numbers and call it */ 19:14:15 Have you worked with experimental picture compression? 19:16:01 zzo38: no. I considered it, and it would have been in profile for my previous job, but no. 19:18:37 I think they were more interested in experimental video compression though 19:18:50 for images, there are good enough compressions already 19:20:31 Yes, although improvements can be made, and sometimes different compressions can be good for a different purpose, etc. And, I am not interested in it for the money. 19:21:10 different compressions good for different purpose => sure! and you can pass parameters to the encoders too. but I wouldn't call that experimental. 19:22:47 Yes, although there can be ways to modify the format and to do stuff which is not already a part of the format; such as, PNG doesn't have the LOCO-I predictor, doesn't have the function I mentioned above to encode predicted values, encodes the prediction types as part of the same data stream as the picture, doesn't support YCoCg, and doesn't have a rotation flag. 19:37:37 -!- Phantom_Hoover has joined. 20:28:02 -!- rain1 has quit (Quit: Lost terminal). 20:57:08 -!- imode has quit (Ping timeout: 260 seconds). 21:05:03 -!- imode has joined. 21:40:48 There is a simple way to calculate the length of huffed data without actually encoding the data: While more than one node remains, combine the two smallest nodes into a single node with their sum, and add that sum to a running total. 22:35:34 -!- imode has quit (Ping timeout: 265 seconds). 22:41:15 -!- sprocklem has joined. 22:41:39 -!- Phantom_Hoover has quit (Ping timeout: 260 seconds). 22:46:23 -!- LKoen has quit (Quit: “It’s only logical. First you learn to talk, then you learn to think. Too bad it’s not the other way round.”). 23:35:31 -!- ArthurStrong has quit (Quit: leaving).