00:09:15 <spruit11> egelbot: List:map [(S::text F)->(S,F 7)] ([F->{F 0,F 1,F 2}][X->if 0<X then "add" [Y->X+Y] else "zero" [Y->10*Y]])
00:09:15 <egelbot> (System:cons (System:tuple "zero" 70) (System:cons (System:tuple "add" 8) (System:cons (System:tuple "add" 9) System:nil)))
00:15:57 <b_jonas> 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 <b_jonas> or List:foldr as appropriate
00:18:07 <b_jonas> or whatever else, just proper abstractions
00:20:36 <b_jonas> Well, I have to relax. I sometimes need to write readable and maintainable code for work.
00:21:45 -!- oerjan has joined.
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 <oerjan> 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 <b_jonas> oerjan: I don't think he'll live long enough to meet the snarl, but it's possible
00:27:53 <oerjan> of course it could still be years in real time until either event happens.
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 <oerjan> 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 <b_jonas> 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 <b_jonas> 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 <oerjan> i think i learned that when i googled "i expect you to die"
00:40:01 <oerjan> well the goldfinger part
00:40:07 <oerjan> ...i guess i didn't, then.
00:44:54 <b_jonas> I knew about the goldfinger one
00:45:07 <b_jonas> and I think explainxkcd tells about Goldfinger too
00:45:15 <b_jonas> it doesn't tell about the other movie
00:57:35 -!- kspalaiologos has quit (Ping timeout: 268 seconds).
01:09:15 <arseniiv> 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 <zzo38> 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 <zzo38> If the picture is CMYK, then what loss transformation could be used?
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 <zzo38> int encode_prediction(int p,int v) { if(p==v) return 0; if(p&128) v^=255,p^=255; if(v<p) return 2*(p-v)-1; if(v<p+p) return 2*(v-p); return v; }
06:14:29 -!- atslash has quit (Quit: This computer has gone to sleep).
06:16:43 -!- atslash has joined.
06:33:49 -!- oerjan has quit (Quit: Nite).
06:40:26 -!- atslash has quit (Ping timeout: 240 seconds).
06:40:53 -!- atslash has joined.
07:31:15 -!- egelbot has quit (Ping timeout: 265 seconds).
07:32:52 -!- imode has quit (Ping timeout: 268 seconds).
08:48:04 -!- Phantom_Hoover has joined.
09:01:01 -!- Phantom_Hoover has quit (Ping timeout: 272 seconds).
09:09:37 -!- cpressey has joined.
09:35:55 -!- b_jonas has quit (Quit: leaving).
10:00:12 -!- arseniiv has joined.
10:04:08 -!- atslash has quit (Ping timeout: 268 seconds).
10:05:16 -!- atslash has joined.
10:14:30 -!- Lord_of_Life has quit (Read error: Connection reset by peer).
10:16:43 -!- Lord_of_Life has joined.
10:46:19 -!- rain1 has joined.
11:02:15 -!- wib_jonas has joined.
12:15:04 -!- MDude has joined.
12:32:53 -!- Lord_of_Life_ has joined.
12:34:26 -!- Lord_of_Life has quit (Ping timeout: 240 seconds).
12:35:42 -!- Lord_of_Life_ has changed nick to Lord_of_Life.
13:10:33 -!- dnm has quit (Ping timeout: 265 seconds).
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 <esowiki> [[Not Python]] M https://esolangs.org/w/index.php?diff=69606&oldid=69566 * PythonshellDebugwindow * (+62) /* Functions */
14:20:45 <esowiki> [[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 <esowiki> [[Special:Log/newusers]] create * DeybisMelendez * New user account
15:49:44 -!- Frater_EST has quit (Read error: Connection reset by peer).
15:52:44 <esowiki> [[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 <esowiki> [[Not Python]] M https://esolangs.org/w/index.php?diff=69609&oldid=69607 * PythonshellDebugwindow * (+258) /* Functions */
19:02:54 <esowiki> [[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 <esowiki> [[Not Python]] M https://esolangs.org/w/index.php?diff=69611&oldid=69610 * PythonshellDebugwindow * (+26) /* Functions */
19:05:58 <esowiki> [[Not Python]] M https://esolangs.org/w/index.php?diff=69612&oldid=69611 * PythonshellDebugwindow * (+99) /* Examples */
19:06:22 <esowiki> [[Not Python]] M https://esolangs.org/w/index.php?diff=69613&oldid=69612 * PythonshellDebugwindow * (-68) /* Export function */
19:06:37 <esowiki> [[Not Python]] M https://esolangs.org/w/index.php?diff=69614&oldid=69613 * PythonshellDebugwindow * (-8) /* Main */
19:11:35 <esowiki> [[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 <zzo38> Have you worked with experimental picture compression?
19:16:01 <b_jonas> zzo38: no. I considered it, and it would have been in profile for my previous job, but no.
19:18:37 <b_jonas> I think they were more interested in experimental video compression though
19:18:50 <b_jonas> for images, there are good enough compressions already
19:20:31 <zzo38> 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 <b_jonas> 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 <zzo38> 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 <zzo38> 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).