« first day (4210 days earlier)      last day (624 days later) » 

c--
12:26 AM
@Steffan 72 bytes [lambda a:[a[y:x]for x in range(len(a))for y in range(x)if x-y in a[y:x]]](ato.pxeger.com/…)
idk how to send a link apparently
 
12:45 AM
I have a question idea, but decent chance it's a dup even though I can't find it searching. Hoping someone here knows. Idea is this: Input is a list of code golf scores, output is each score's overall ranking. Ties receive the same rank, but consume ranks below them. So if you had scores 5 5 5 6 6 7, the ranks would be 1 1 1 4 4 6.
 
I had that idea a few eeks ago
 
how often do you eek
 
att
I seem to remember something like that, lemme see if i can find it
 
@Jonah I don't think it's a dupe
 
1:11 AM
@lyxal I don't care about mobile support because I'mma make up for it by designing a programming language which is designed specifically with mobile users in mind
 
... what
 
Everything will be designed with things like autocorrect, the additional annoyance that's required to add non-alpha characters, the space-space-to-add-a-dot shortcut, etc. in mind
And since the iPhone keyboard and, IIRC, the Android one have some non-ASCII characters within easy reach, I'll make those meaningful
 
wtf awesome
will learn
 
It'll probably be a while before I get around to it though, since I've got like half a dozen other projects which are currently higher priority (e.g., getting SOCK² up and running before school starts again)
 
Anyone here have experience with Markov decision processes?
 
1:29 AM
@Jonah There's an aplcart entry for that, but I couldn't find any reference to it in main
so probably not a dupe
 
@Adam As in like, Markov chains?
 
1:54 AM
wow i got my first "i am from <country> and i need to give you <large sum of money> because <reason>" email
 
Nice. try and troll them for as long as possible
 
theyre getting around the spam filter by sending the message as a pdf :P
 
Please troll them. It'll be hilarious
 
@thejonymyster a major milestone for any computer enthusiast - you're one of us now :p
 
1:57 AM
@thejonymyster First, say that you are interested and then say that your communications aren't "secure" enough and you should use a secret code - replace some of the words witt stuff like "Juice" or "Canada"
 
does anyone want my email password im not funny enough for htis
actually i wonder if you could forward it to someone and just have them respond and like woulod they even notice
...forwarding someone a spam email is a pretty funny idea in general
...does anyone else like writing sentences this way
 
@thejonymyster idk what this conversation was about but i want it
If you need ideas you can copy what @NoHaxJustRadvylf did a while back
 
Good old Western Onion
 
2:24 AM
@Bubbler @Steffan Thanks.
 
2:46 AM
0
A: Sandbox for Proposed Challenges

alephalphaFibonacci word fractal code-golf fibonacci fractal ascii-art graphical-output This is a only draft. I'm not sure what this challenge should be like. The Fibonacci word is a sequence of binary strings defined as: \$F_0 = \$ 0 \$F_1 = \$ 01 \$F_n = F_{n-1} F_{n-2}\$ The first few Fibonacci words...

 
 
2 hours later…
4:19 AM
````````````SW2AQ
The cat is back lol
 
weird name for a cat but okay
I mean, I can understand that you might name a kid "finger", but naming a cat "back lol" doesn't sound right
 
4:52 AM
0
A: Sandbox for Proposed Challenges

BubblerA better Hexagony template code-golf ascii-art hexagonal-grid We once made a Hexagony template without actually knowing it. But after a bit of experience with Hexagony, it becomes apparent that it is not enough; sometimes the source code is too short for the given hexagon, and you get totally une...

 
5:42 AM
0
A: Sandbox for Proposed Challenges

BubblerAnti-divisors of a number code-golf math number-theory Given a positive integer n, output its anti-divisors. From A006272: Anti-divisors are the numbers that do not divide a number by the largest possible margin. E.g. 20 has anti-divisors 3, 8 and 13. An alternative name for anti-divisor is unbi...

 
5:59 AM
Could anyone kindly read and comment on codegolf.meta.stackexchange.com/a/25030/108721 please
 
0
A: Sandbox for Proposed Challenges

graffeWhen to give up and start again Consider the following setup. A random integer \$x \in \{1 \dots 10\}\$ is chosen. Now \$x\$ real number points are chosen between 0 and 1. You want to find out if there are 10 points that have been chosen and if so, you win a prize. In this game you can look in...

 
 
1 hour later…
7:24 AM
Everyone asleep?
 
Yes.
Actually I was just fighting an OOM on my computer that I only barely survived.
Had to kill a bunch of random processes because the OOM killer was being an idiot.
 
That's bad. Is this Linux?
 
@graffe no, now its 12:56 pm for me :p
 
@PyGamer0 :)
6-11am GMT seem to be our quiet times
 
Yeah Linux.
 
7:33 AM
OOM on Linux has killed me before
 
Challenge idea: Radiation Hardening Koth. Programs take turns removing one character from each-other. Last program still producing valid output wins.
 
It's frustrating when you're on a system with X and you ctrl+alt+F2 to get into a TTY and nothing happens... It's hard to tell if it'll ever switch over and if it's worth waiting, or if it's deadlocked trying to find the memory.
 
@forest yes :(
@mousetail I like your answer to my challenge
 
TY
All the other answers are analytical and I just brute forced
 
I am preparing a vaguely related one at codegolf.meta.stackexchange.com/questions/2140/…
If you have any comments they would be gratefully received
@mousetail yes. Do you think codegolf.stackexchange.com/a/250845/108721 is actually better than all the others?
 
7:45 AM
Hmm it's hard to tell what's going on exactly
 
8:35 AM
@mousetail would you mind looking again? I have tried to improve it
please :)
 
8:55 AM
Heh, I remember the time someone made a Keg clone and claimed it was better
We went on to make several esolangs together lol
@PyGamer0 wait hang on that's not like 51AC8 at all lol
What's the point of a fork if you're going to make an entirely different language?
Why not just make a new repo?
 
Wanted to just modify some small things at first but after playing around a bit wanted to change a lot more?
 
0
A: Sandbox for Proposed Challenges

mousetailRadiation Hardening Koth king-of-the-hill radiation-hardening The goal of radiation hardening is to make a program still work after you remove a byte. However, what if a skilled competitor is purposefully trying to mess with you? In this game, each bot will take turns removing one character from ...

 
@mousetail that'd make sense normally, but the original language was a stack based golfing language and the fork is a more verbose esolang with keywords and everything
Like it's really a completely different language now
 
Wanted to just copy the parser logic at first maybe?
Then later decided it wasn't suitable
 
Nope
The parser was completely rewritten
And doesn't even match the format of the old parser
 
9:06 AM
Strange
 
Like the original repo was SBCS, this new one is a more traditional esolang. E.g. Programs start with WAKEY WAKEY and end with BEDTIME
 
@lyxal exactly
@lyxal that is what i was thinking
 
It's like someone forked Vyxal and made a ArnoldC clone instead
 
yeah
 
My suspicion is that they've gotten confused by the name (siacB, which kinda could look like BASIC in reverse)
 
9:10 AM
oh lmao
 
lol
 
9:36 AM
The wandering robots answers are just getting better and better!
 
Just retrying till you get a better score
 
@mousetail :) that's not really in the spirit of the game
When are doing 10^7 trials that's not too easy either
I can't say I understand the math deeply but it is interesting that kaseorg's result can be beaten
I wonder if he will come back with something
 
9:53 AM
@PyGamer0 That's hilarious
 
 
1 hour later…
11:10 AM
@PyGamer0 I say that as someone who was originally confused by the name, thinking it looked like BASIC (the programming language) in reverse
 
i thought it was stacb
 
Well the uppercase B makes it look like it's backwards
 
 
2 hours later…
1:02 PM
1. Do we have a "get a 2d slice of a 2d array" challenge? 2. would it be ok to have it as a single step of a larger challenge?
I wanted to expand on the "all slices that include their length" to "all 2d slices which contain both their width and height"
but i can totally see "get a 2d slice" being its own challenge already, though itd probably be based on whatever indices
i cant imagine just having it be the other half though
"determine if a 2d list contains its length and width" is not a good challenge
i think? lol
damn yea i guess that makes the whole challenge bad
 
Would "input()" be a valid python answer to codegolf.stackexchange.com/questions/59347/… ?
If given no input it will wait forever
 
> The program must take no input (however, reading from a file is allowed), and should not print anything to STDOUT. Output to a file is also forbidden.
 
Yes, it takes no input
I interpret that as the program should require no input to run
Not sure if that's the intended interpretation
 
@mousetail well the thing is that it can have input
file reading is allowed
just no stdin
 
I mean, if you interpret it literally, it says you are not allowed to give the function any input
So input() has to work
 
1:18 PM
Is no input also input? That's the real question
 
only works in a repl context though
or in a context where interactive input is a thing
 
Yea category would need to be python repr
Or it will end when reaching EOF
 
Hi @lyxal
 
@mousetail well really it depends on whether you require an infinite loop to use some sort of control structure, and whether you define looping as needing to repeat source code commands or just the interpreter looping forever internally
@graffe well hello there!
 
It's probably not technically a loop, just waiting on a blocking system call
 
1:28 PM
doesn't exactly feel like a loop - it's not calling any high-level code you wrote repeatedly
only interpreter/compiler code
 
Hmm maybe if I wrote it in bytecode but then there is a 2 byte solution already
 
@lyxal would you mind taking a look at my new sandboxed challenge please?
I am not going to post it to a few days :)
 
why can't I look in [0.9, 1]?
also, I think it could be better to use boxes instead of number lines
so you'd have 10 boxes in a row
and you can either move left or right each time
 
1
Q: Add parentheses to Polish notation

AdamIn most programming languages, arithmetic is written with infix notation -- i.e. the operator is put in between the operands -- e.g. 1+2. In contrast, with Polish notation (a.k.a prefix notation), the operator comes before the operands -- e.g. +1 2. As long as the number of operands for each oper...

 
and the x points are placed inside the boxes
 
1:58 PM
@lyxal I think your idea is better
@lyxal you can't look in 0.9 ... 1 so that you can be in position where you don't know for sure if x=10
Even though you have inspected all the boxes
It's so helpful having someone read your draft question
 
I'm not usually one to review lol, but happy to help :)
 
@lyxal thank you :)
You are my co-lead reviewer currently
 
well luckily I can understand the challenges :p
 
@mousetail valid or not that is pretty funny
 
@lyxal :)
 
2:35 PM
A code only answer full Kaseorg....hmm ... Can anyone read rust?
 
@PyGamer0 according to the wishlist this is now ∴ĿĠ, one byte better, so i guess progress
 
gosh dang it I read that as dyadic maximum, transliterate and group-by consecutive instead of monadic maximum, vectorised length, group-by consecutive
 
2:51 PM
Hopefully much improved version codegolf.meta.stackexchange.com/a/25030/108721
Please take a look and let me know what you think
 
0
A: Sandbox for Proposed Challenges

AdamConvert English to integer code-golf When saying a number out loud in English, or writing it out in words, speakers use a certain method. Since there's lots of variations from person to person on the specific method, I'll define the format I'm using here: [TODO] Some things to note about the fo...

 
@lyxal improved?
 
Much better
I like it a lot!
It feels reminiscent of one of those TedEd riddle videos that I never solve but enjoy watching regardless because the solution is fascinating
(that's a good thing btw - those riddle videos are really good, as is your challenge idea imo)
 
😁 thanks
I just have to resist posting it for a few days
Or until Kaseorg explains his amazing solution, whichever is first :)
 
3:19 PM
Anyone able to understand this ? codegolf.stackexchange.com/a/250862/108721
What is it doing?
 
3:31 PM
@lyxal lol vyxal amiright
 
 
3 hours later…
6:06 PM
Evening all
 
6:21 PM
its only afternoon here
 
6:36 PM
I still wish you a good one though
 
6:56 PM
@SandboxPosts i really like this
 
7:09 PM
it's barely afternoon here lol
1pm
 
Evening here, just past 8pm :P
Stunning sunset after a day of fog and rain tho :D
 
Mornin'
 
7:33 PM
Evening
 
7:54 PM
0
A: 1, 2, Fizz, 4, Buzz

DaCuteRaccoonMorse Code, 1777 bytes .---- / ..--- / ..-. .. --.. --.. / ....- / -... ..- --.. --.. / ..-. .. --.. --.. / --... / ---.. / ..-. .. --.. --.. / -... ..- --.. --.. / .---- .---- / ..-. .. --.. --.. / .---- ...-- / .---- ....- / ..-. .. --.. --.. -... ..- --.. --.. / .---- -.... / .---- --... / ..-...

 
@emanresuA hmm
if you're going to use something that obviously isnt a programming language you'd think to at least use one that isnt 4x as long as the thing youre trying to output
like "rot13" or "plain text" :P
 
iiO
cat
 
@mods can someone unfreeze katlani?
 
@emanresuA in what lang :?
 
Why did Dennis stop coming to CGSE?
 
8:10 PM
in talk.tryitonline.net, Feb 3, 2020 at 16:39, by Dennis
Hey all. I'm sorry for disappearing on you and for taking bad care of TIO lately. I'll try to explain what's been happening, although it's not easy for me to talk about this...
 
Thanks!
 
@NoHaxJustRadvylf 👍
 
@hyper-neutrino Thanks!
 
@Adám Thats actually a very sad situation. Do you know if he is better?
 
No, I wasn't able to get a hold of him, last I tried (admittedly several years ago).
 
8:17 PM
@TKirishima Nobody here's really had much contact with him as far as I'm aware, but from what I've heard he continues to occasionally update/fix TIO
 
@NoHaxJustRadvylf Thank you for the information
 
Hi @Adám
 
Hello @graffe.
 
@Adám would mind taking a look at codegolf.meta.stackexchange.com/a/25030/108721 ? I would value your opinion
 
@graffe "That is the assignment of coins to boxes should be uniformly at random" has grammar issue.
 
8:28 PM
@Adám what should that be?
 
Unless you mean something else, remove "That is"
 
"That is, the..." ?
where one might put an "i.e." :p
@graffe Do you get your money back when you give up on a set of boxes? or is it a running cost?
 
How about the new version?
@thejonymyster a running cost…I’ll clarify
 
Ah, I see you mostly dislike commas ;-)
 
@Adám please feel free to suggest any :)
@thejonymyster please see edited version
 
8:33 PM
Hidden from you, he chooses
That is, there should be
coins to boxes, from all possible assignments
prove that, in fact, there are x=10 coins hidden in the boxes, the wizard
In this game, you can look
When you do that, you can see
 
yoda talk like you do
 
However, the wizard
This might still be ok, as you might
in the other boxes, and in fact, the
 
I have accepted many of those commas now :)
 
@graffe gotcha, i understand how the expected cost is going to work now
 
confused I am
 
8:35 PM
@thejonymyster cool!
 
Remember, you can never
6
 
Thanks!
is the problem clear?
 
"however the wizard" sounds like the name of a character from the phantom tollbooth
 
Yess
 
At any point, you can choose
Of course, if you have looked in all the 9 boxes, and you still have not found 10 coins, you have no choice
Sadly, you never get any money back, so your costs
Once you have chosen your strategy, you should run
 
8:38 PM
lmao
 
@graffe What is the winning criterion?
I mean, surely there's an optimal strategy. Once found, is it code-golf?
And if so, what kind of API should the submissions expect?
 
@DLosc cool!
@Adám minimum expected cost to get the wish code-challenge
 
@graffe Oh, uh... I was responding to thejonymyster's Phantom Tollbooth reference, actually :/
 
@Adám if you can find it, you win!
@DLosc oh :(
@Adám any idea how you might find an optimal strategy?
 
No.
 
8:51 PM
That’s good news for my challenge :)
@thejonymyster :)
@Adám I guess the most naive method is to look in boxes 1 to 9 repeatedly and stop once you get the wish
 
just try every strategy in order :P
 
@thejonymyster why didn’t I think of that ! :)
I wonder what mean cost you get for my naive strategy
 
i think you can calculate that without testing
since you never branch, so its a straight probability problem right?
or i guess "stop once you win" might be a branch hmm my probability knowledgw is bad
 
If there are 10 coins then with prob (9/10)^10 you will find it by looking in the ten boxes
And there is a 1/10 chance there are 10 coins
But you might get the wish before box 9
so I can’t do the math
Simulation is the key I feel
I mean looking in the 9 boxes
 
I have an idea for how to find the optimal strategy for your challenge, I just need to write the code to find it
 
9:18 PM
I look forward to it!
 
 
1 hour later…
10:36 PM
@NoHaxJustRadvylf Afaik, he hasn't done anything to TIO in years
 
Definitely nothing feature-wise, no, but I think I've heard that he's made various fixes a couple times
 
10:55 PM
 
@NoHaxJustRadvylf I thought the last time he updated it was in 2020, which is when he left
 
he fixed the mathematica license pretty quickly that one time; i forget exactly when but it was more recent than his last message
 
11:11 PM
> KEYWORD nonn,base,easy,dumb
 
@Bubbler CMC
 
11:28 PM
K: 4/2+&2*
which is 1 byte shorter than 16/10+&:
AAAA... in base 16 = 2222... in base 4 with exactly double the length
 
Vyxal: H\aF - outputs empty string if all As or a non-empty string otherwise
 
oh we're solving totally different challenges
 
11:46 PM
@Bubbler 5 bytes porting that to Jelly: Ḥ2xḅ4
 
11:57 PM
@emanresuA can i output in base 16 :P
 
ಠ_ಠ no
 
and while outputting in base 16, can i not delimit the numbers
 

« first day (4210 days earlier)      last day (624 days later) »