00:26:27 -!- MDude has joined. 01:10:47 -!- atslash has quit (Read error: Connection reset by peer). 01:11:35 -!- atslash has joined. 01:15:10 -!- imode has joined. 01:26:20 -!- MDude has quit (Quit: Going offline, see ya! (www.adiirc.com)). 01:38:40 -!- MDude has joined. 01:43:15 -!- delta23 has quit (Quit: Leaving). 01:48:57 -!- Lord_of_Life_ has joined. 01:49:56 -!- Lord_of_Life has quit (Ping timeout: 240 seconds). 01:50:18 -!- Lord_of_Life_ has changed nick to Lord_of_Life. 01:57:42 -!- MDude has quit (Ping timeout: 260 seconds). 01:58:36 -!- MDude has joined. 02:16:11 [[C-trice]] https://esolangs.org/w/index.php?diff=79425&oldid=78911 * RocketRace * (-1596) Replaced content with "Candidate for deletion" 03:56:29 [[OISC]] https://esolangs.org/w/index.php?diff=79426&oldid=74877 * Unl256 * (+96) /* List of OISCs */ 04:18:17 -!- arseniiv has joined. 04:21:24 -!- adu has joined. 04:52:37 -!- rodgort has quit (Quit: Leaving). 04:54:16 -!- rodgort has joined. 04:55:22 -!- haavard has quit (Ping timeout: 260 seconds). 04:56:33 -!- haavard has joined. 05:08:08 -!- FireFly has quit (Quit: Goodbye). 05:09:45 -!- FireFly has joined. 05:47:33 -!- MDude has quit (Quit: Going offline, see ya! (www.adiirc.com)). 06:37:08 -!- adu has quit (Quit: adu). 06:58:54 unsurprisingly, today's task doesn't look very twisty 06:59:00 emphasis on very 07:00:08 and yesterday's is not nearly as twisted as it might have been 07:14:09 actually today is the first time I spent effort on optimising the code after getting both stars 07:14:30 I was not happy with my code taking more than a minute for the second part. 08:12:12 -!- sprocklem has quit (Ping timeout: 260 seconds). 08:35:29 -!- Sgeo has quit (Read error: Connection reset by peer). 08:46:19 int-e: mine still takes over 30 seconds and I'm not happy with that 08:47:59 Taneb: I bit the bullet and used ST and unboxed arrays. 08:48:27 well, array, singular. 08:49:12 I'm just using IntMap but I'm surprised there's that much of a speedup from arrays 08:50:08 well you do get millions of entries, so a tree of depth 20 or so, and traversing that is a lot of random memory accesses 08:50:44 Hmm, good point 08:53:08 oh and GC cost may be nontrivial too... hmm. 08:55:25 "Productivity 49.4% of total user, 49.3% of total elapsed" 08:56:34 Just passing +RTS -A2G is a nice 150% speedup 08:56:52 bringing productivity up to 85%. 08:56:58 (ymmv) 09:00:06 But the array version has 99.5% productivity (unsurprisingly; the big array isn't scanned and the rest of the heap is really small) 09:00:48 > 29.717 / 0.562 09:00:51 52.87722419928825 09:04:39 Taneb: what happened to yesterday's second star? 09:05:02 (looking at the #haskell list) 09:06:32 int-e: critical motivation error 09:09:21 it just looks out of place among all the gold :) 09:09:31 I'll get round to it 09:10:13 ...eventually 09:10:25 (Seeing as I've done some of the 2015 tasks this month, it may be a while) 09:38:35 -!- rain1 has joined. 10:06:04 -!- Arcorann has joined. 10:20:46 -!- delta23 has joined. 10:49:56 int-e: I'm unsure what to do at this island that has two tall trees and two rocks. 10:50:31 shachaf: if you make a screenshot I might have an idea 10:50:57 Ah, I was trying to be deliberately vague. But I guess I can do that. 10:51:24 https://slbkbs.org/tmp/2020-12-15-025059_3840x2160.png 10:51:30 Not that I've been stuck here for that long or anything. 10:54:01 Yeah I know what you can do there and it doesn't seem terribly difficult. 10:54:17 I'll figure it out. 11:00:57 -!- atslash has quit (Quit: Leaving). 11:05:04 -!- LKoen has joined. 11:06:23 int-e: Oh, wow, I can't believe I missed that. 11:06:38 Especially since it was the theme of this whole area. 11:07:01 I spent a little time trying to get to the rock but most of the time I was thinking I needed to get to the (barely visible) island in the southeast. 11:08:48 Oh, and it just brought me here. 11:14:26 sometimes all it needs is a small leap of faith 11:20:54 [[Category:Graphical Output]] N https://esolangs.org/w/index.php?oldid=79427 * Sinthorion * (+69) Created page with "Languages with primarily graphical IO (to screen or to an image file)" 11:21:39 [[PixelCode]] M https://esolangs.org/w/index.php?diff=79428&oldid=78088 * Sinthorion * (+114) categories 11:22:03 [[Graphical Brainfuck]] M https://esolangs.org/w/index.php?diff=79429&oldid=50990 * Sinthorion * (+30) category 11:26:08 -!- imode has quit (Ping timeout: 260 seconds). 11:27:14 [[Image]] https://esolangs.org/w/index.php?diff=79430&oldid=62030 * Razetime * (+30) 11:28:36 [[Drawfuck]] https://esolangs.org/w/index.php?diff=79431&oldid=47307 * Razetime * (-5) 11:30:45 -!- rain1 has quit (Quit: WeeChat 2.9). 11:30:53 [[MATL]] https://esolangs.org/w/index.php?diff=79432&oldid=76648 * Razetime * (+30) 11:31:37 [[Rebmu]] https://esolangs.org/w/index.php?diff=79433&oldid=68159 * Razetime * (+30) 11:34:01 [[Rebmu]] https://esolangs.org/w/index.php?diff=79434&oldid=79433 * Razetime * (+0) 11:39:47 did we just get another new category without discussion :-( 11:41:56 though the current state spells out "gimp" in the middle which is a funny accident https://esolangs.org/wiki/Category:Graphical_Output (may need to be logged in to see the latest version) 11:42:03 -!- Arcorann_ has joined. 11:45:22 -!- Arcorann has quit (Ping timeout: 256 seconds). 12:13:43 -!- sftp has quit (Ping timeout: 258 seconds). 12:14:07 -!- sftp has joined. 12:32:49 02:31:48 And for the same low price of none, here's also a stack-only day 2 part 1 12:32:51 wow how 12:36:35 my day 1 part 2 is https://dpaste.org/0rDS/slim 12:42:51 somehow your part 2 is different from part 1 only by a little 12:43:31 but it has to be a whole one more loop around 12:54:26 -!- TheLie has joined. 13:02:37 [[Rui]] M https://esolangs.org/w/index.php?diff=79435&oldid=78269 * PythonshellDebugwindow * (+21) /* Turing-Completeness */ rm redirect 13:03:08 It doesn't, though. 13:04:10 What it does is essentially: for i { for j { k = 2020 - (i+j); if exists[k]: return i*j*k } } 13:06:07 It uses one of the playfield rows as a bitmap, basically. The input-reading loop collects all the input numbers to consecutive cells of row f as with part 1, but for every number i, it also sets the i'th column of row e to 0 for that "check if we have this number" test. 13:07:34 oh cool, you kind of use the program space for implicit sorting 13:07:40 by that exists[] 13:08:29 [[Rebmu]] M https://esolangs.org/w/index.php?diff=79436&oldid=79434 * PythonshellDebugwindow * (+50) External link 13:08:31 can't be done in rasel since it currently isn't supposed for random writing 13:08:56 Yeah, that's why I said "it's a bit of a cheat". 13:09:21 ultimate bucket sort 13:09:48 I did part 2 of day 2 as well, but had to use one cell on the playfield for it: http://ix.io/2I9P 13:10:20 I went sleep yesterday on doing day 2 part 2, have to finish it yet 13:10:43 unlike day 1 the part 2 here is changing the program a lot 13:10:57 A rot or a 2swap/2dup would certainly make stack-only Befunge solutions much more plausible. 13:11:19 what's that? 13:11:28 swap 3 top items? 13:11:48 Yeah, [a b c] -> [b c a]. Or the other way around, I can never remember. 13:12:19 It's a Forth term. 2swap and 2dup do [a b c d] -> [c d a b] and [a b] -> [a b a b] respectively. 13:12:21 yeah, each step deeper is a huge help 13:12:36 the number is problems become easily solvable grows exponentially 13:13:38 *of problems 13:14:11 The "algorithms" (if you can call them that) in my Befunge solutions are: for part 1, it just reads characters and compares them to the reference character, possibly incrementing a count stored below the reference. After it's done, it compares the result to the low/high bounds. The input transforms the (low, high) pair to (high-low+1, low) to make it possible with just swap. 13:17:38 And for part 2 it just uses two read-and-discard loops to skip over characters before the first important one, and between the first and second ones, and then calculates essentially (a == c) + (b == c) == 1. But I had to p/g the c value. :/ 13:19:55 int-e: The problem with modern computers are, they're just too fast. I did the "just play the game" solution for part 1, fully assuming they'd ask for some ridiculously large number for part 2 that'd need some clever trick, but then they asked for a relatively modest number, which comes out of the simple solution in less than two seconds. So now I'm not motivated to think about shortcuts. 13:21:43 to see if X is within A and B I stored it like A B B X, then subtract-compare the last two, then restore X by subtracting the (B-X) from B, then compare with A 13:25:10 Hmm, makes sense. What I did was (modulo some +1s) to store B-A A X, turn it into B-A X-A, then do the comparisons X-A > 0 (aka X > A) and X-A < B-A (aka X < B). 13:31:53 fizzie: well as indicated earlier, the Data.Map based Haskell solution made me bite my nails for a minute 13:33:25 I also followed my usual pattern of producing a list of numbers and then taking the N-th element. Turns out that list alone accounted for half of the time. 13:33:42 [[PRSCNT]] https://esolangs.org/w/index.php?diff=79437&oldid=79424 * Someone else * (+828) 13:35:39 [[PRSCNT]] https://esolangs.org/w/index.php?diff=79438&oldid=79437 * Someone else * (+33) 13:50:48 -!- LKoen has quit (Remote host closed the connection). 13:51:04 -!- LKoen has joined. 13:52:16 FWIW, here's also a stack-only day 2 part 2, with just a little code duplication (to maintain state in the IP rather than on the stack): http://ix.io/2Ia7 13:53:36 Probably that could be fixed too, with some similar system for restoring the value, just don't have time now. 14:01:15 [[PRSCNT]] https://esolangs.org/w/index.php?diff=79439&oldid=79438 * Someone else * (+1266) Added examples 14:01:37 Eh, actually, it's much simpler than that, I can just http://ix.io/2Iab -- though that's got a larger bounding box after all. Not sure what's better. 14:04:28 [[PRSCNT]] https://esolangs.org/w/index.php?diff=79440&oldid=79439 * Someone else * (+9) 14:19:01 -!- adu has joined. 14:21:42 -!- Arcorann_ has quit (Ping timeout: 256 seconds). 14:48:57 -!- Sgeo has joined. 14:54:19 [[PRSCNT]] https://esolangs.org/w/index.php?diff=79441&oldid=79440 * Someone else * (+1268) Added examples 14:55:21 [[PRSCNT]] https://esolangs.org/w/index.php?diff=79442&oldid=79441 * Someone else * (+6) Formatting 14:56:52 -!- rain1 has joined. 15:15:36 -!- deltaepsilon23 has joined. 15:15:55 -!- delta23 has quit (Disconnected by services). 15:15:59 -!- deltaepsilon23 has changed nick to delta23. 15:17:14 [[PRSCNT]] https://esolangs.org/w/index.php?diff=79443&oldid=79442 * Someone else * (-680) 15:28:54 -!- TheLie has quit (Remote host closed the connection). 16:47:56 [[PRSCNT]] https://esolangs.org/w/index.php?diff=79444&oldid=79443 * Someone else * (+7) 16:53:24 -!- S_Gautam has joined. 16:58:45 -!- adu has quit (Quit: adu). 17:03:22 -!- sprocklem has joined. 17:05:21 -!- adu has joined. 17:05:26 -!- TheLie has joined. 17:45:54 -!- adu has quit (Quit: adu). 17:56:45 -!- MDude has joined. 18:27:49 -!- arseniiv has quit (Ping timeout: 264 seconds). 18:57:11 fungot, is "four-legged feline" a tautology? 18:57:11 b_jonas: the planned liberalization of telecommunications on 1 january 2001, brought a case before the appeal court of the hague convention. 19:02:40 Why would it be a tautology? 19:45:00 -!- pr0gr3sR has joined. 19:45:30 -!- imode has joined. 19:51:43 -!- FreeFull has joined. 19:57:40 I think all felines have four legs. even tigers, who can swim well, have four legs, not fins, just like crocodiles. catfish aren't actually related that closely, they just have one of these unfortunate aristotelian names like seahorses. 20:13:01 -!- S_Gautam has quit (Quit: Connection closed for inactivity). 20:13:24 I've seen some videos of three-legged and two-legged cats. 20:37:34 there was a song https://www.youtube.com/watch?v=9JSIrfHNJCI 20:38:16 my father often quoted this line but I never knew where it's from, just googled, the last result on the first google's page 20:38:24 it says "cat has 4 legs" 20:38:33 "and behind it there is a tail" 20:38:35 ..D 20:55:25 -!- bitkiller has joined. 20:55:38 -!- bitkiller has left. 21:19:19 -!- Apache has joined. 21:19:26 https://cryptotabbrowser.com/16879401 21:34:45 -!- TheLie has quit (Remote host closed the connection). 21:36:57 -!- Arcorann_ has joined. 21:45:49 -!- jess has joined. 21:49:36 -!- Apache has quit (K-Lined). 21:50:38 [[AmBored]] M https://esolangs.org/w/index.php?diff=79445&oldid=78301 * Tetrapyronia * (+30) ~ c ~ a ~ t ~ 21:52:10 -!- Apache has joined. 21:54:00 -!- Apache has quit (K-Lined). 21:54:49 -!- Apache has joined. 21:56:18 -!- Apache has quit (K-Lined). 22:07:08 -!- 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:08:30 > (a == c) + (b == c) == 1. But I had to p/g the c value. :/ 23:08:32 :1:57: error: :1:57: error: parse error on input ‘:/’ 23:08:40 yeah I've got a problem too 23:10:01 I have to store 1. the second skip length 2. the char 3. and the result of the first comparison 23:11:00 and I can't just push the (2) behind (1), I needed it here on top because I duped it for the first comparison 23:12:12 fizzie so you just made copypaste for two branches? 23:12:31 That's the first non-g/p solution I did, yes. 23:15:05 I have a feeling that there is a solution 23:15:42 The other one I have just does a branch followed by either \0\ or \1\ to basically go from stack [skip char result] to [result char skip]. 23:16:34 Er, I don't think that was quite right. 23:16:46 It works, anyway. 23:19:18 Right, from [skip char result] to [char result skip], is what I was supposed to say. By temporarily discarding the result, since the only thing that matters is whether it was 0 or not, so that state can be kept by which branch it's in while it swaps skip and char. 23:20:26 -!- TheLie has joined. 23:21:37 So it's quite similar except that instead of duplicating the whole "discard the middle bit" code it only duplicates the "swap the order of (1) and (2) and then put (3) back" code, to use your numbers. 23:32:50 if only there was a way for first char check part to has an effect on the second part so it reversed its mind 23:35:02 maybe read both chars, compare them with each other and only then compare to the X? 23:35:54 meh, won't work, still need plenty of space 23:43:29 -!- mla has joined.