« first day (3657 days earlier)      last day (1187 days later) » 

12:24 AM
^W is a Unix shortcut to delete word backwards
 
 
2 hours later…
2:35 AM
0
Q: Longest Common Suffix

SketchySketchLongest Common Suffix Given arbitrarily many (more than 4) words, your goal is to find the longest common suffix of all of them. Rules The suffix shouldn't be longer than one third of the length of any word, and should be longer than 2 characters. The words can have at most one "exception" among...

 
@dzaima so I need to replace the code from your enc function with that?
 
3:03 AM
(idea) given that it's recommended that a challenge should be left in the sandbox for 72 hours, there can be a timer that counts down from the last major edit of the post.
It could be made into an userscript, or a external server that hosts a dynamic image.
 
sounds cool
although sometimes you just wanna post a challenge directly
 
3:51 AM
0
Q: Make a bottom to up poem

David LuiBased on the "Pretty Ugly" poem. You are given as input a number (number of stanzas , positive integer), and 4 arrays/lists of strings, called "negatives", "negations", "positives" and "filler" sentences (although you can name the variables anything you want). You must output a "pretty ugly" poem...

 
4:03 AM
Anyone know how to view the "step-by-step evaluation" of the C preprocessor? (debugging preproc is hard...)
 
Bad question: one for which three different zero byte answers exist in unrelated languages
 
 
2 hours later…
6:12 AM
0
A: Sandbox for Proposed Challenges

eligolfCreate a playable, unbeatable Tic Tac Toe game The challenge is to write the smallest possible Tic Tac Toe game where the opponent is an unbeatable AI. The requirements are as follows: The opponent should be an unbeatable AI (self-playing opponent that can't lose) The game should be able to dete...

 
6:51 AM
When I saw a Ruby answer to 218419, I was surprised and immediately thought it was Dingus.
But actually, the poster was 2x-1...
So I had that feeling immediately after I wrote my Ruby solution to that question. :P
@user You could say in the docs that if you don't express your faith by exchanging the stack 5 times a day, you'll be doomed to hell.
 
7:15 AM
You can also make the interpreter 8 megabytes.
Because "Eight Megabytes And Constantly Swapping".
Every Emacs fan knows that if something is 8 megabytes, the users will try to apply swaps to the software constantly.
In this case, swaps = exchanging the stacks.
 
 
2 hours later…
9:37 AM
0
A: Sandbox for Proposed Challenges

bb94Ratios to Ben Johnston's Notation music code-golf Given a just intonation ratio, express it as a note name in Ben Johnston's notation relative to C. You can take your input as a rational number (if your language has a rational type) or as a pair of integers. You have to handle ratios with a prime...

 
10:15 AM
1
Q: Ascii smiley face challenge

A usernameI made this because, although we have a bunch of other questions involving smiley faces, there is nothing for just printing an ASCII smiley face with as little code as possible. Anyway, print this exactly (Trailing spaces allowed): ********** ****************** *********************...

3
Q: Close(st) Binary Boxes

Kevin CruijssenChallenge: Given a list of non-negative integers, determine by how much you should increase each item to create the closest binary box with the resulting integer-list. What is a binary box? A binary box is where the first and last rows consists of 1-bits; the first and last columns consist of 1-b...

 
is tio not working rn?
 
seems like it
 
That's why there's no solution to the challenge?
 
:56935620 for your decode factor trees question, [-1](https://staxlang.xyz/#p=8e4b57e0bef48b5f0221fe&i=%28%29%0A%28%28%29%29%0A%28%29%28%29%0A%28%28%28%29%29%29%0A%28%29%28%28%29%29%0A%28%28%29%28%29%29%0A%28%29%28%29%28%29%0A%28%28%29%29%28%28%29%29%0A%28%29%28%28%28%29%29%29%0A%28%29%28%29%28%28%28%29%29%29%28%28%28%29%29%29%0A%28%28%29%28%28%29%28%28%29%29%29%29%0A%28%28%29%28%29%29%28%28%28%28%29%29%29%29%28%28%29%28%28%29%29%29%0A%28%28%28%28%28%28%28%28%29%29%29%29%29%29%29%29%0A%28%28%29%28%29%29%28%28%28%28%28%29%29%29%29%29%28%28%29%28%29%28%28%29%29%28%28%29%29%29%0A%28%29%28%29%2
@UnrelatedString ↑ I put it here because it's too long for a comment
 
classic
thanks
 
10:27 AM
@UnrelatedString you need to change the separator to \n or \n\n+ for multiple testcases
 
...I really did not expect there to be a tuck 1 builtin
 
line-map is for stuff with silly input formats
@UnrelatedString lmao
@UnrelatedString stax's superpower is having strange oddly specific builtins
 
10:49 AM
Looks like tio’s back up
 
yup
 
11:07 AM
this:
https://dzaima.github.io/paste/#0fVNNj5swED2TX2G5hwWVmOylqhLtoV9bVaq0VTbKqRcHBrDEGoSH7kYR/70ztpG4tBxsZt57zPN4qCdboumtAFv2FaQOx0zcNkkHKC5XBCcehIVXcYI3/OYpYyonrLcfZaZWmsMmGQGn0YoK6k4jpF5N@Xmj3dWWol4qnX48pazLhbHDhLnotG180bK3DqOT8T@FD8FfB7bBlnhRsfjhJVMBjVTz8x9cb2FFLgohzmzo97Sj5z5sN85MuoE5xI@KxYqOE/F3oq9jv4wVDEbmzb8/Kl9nJYjeSeWRhR2Csx4bFzN2erlQM4j46fj9PN/8GrBjONv4ua@udDIZfL@xa1qkeO87S5vkeOV5QYOHiHOGGRyv/UZo6eCK7TmcCH4pu@PlKHkYoqnYZh8u91YDli1UhOpXbWKcyhZxcPuioKJqnGxRNmZ7Mbbgdz2YQuY8I8kLYNtXeyF/PT2fZE6ZFjTdqNt7OJFfeotgcXu6DiCJhzRBxdBpYw9lq0cH@BDmiNgz6y/kbR/auEnmxeVIXyWL6cojVIq5qgE8@pppppiWZp
 
cool
@dzaima I need to borrow the decode function from your code as well
 
@Razetime from paste? go ahead
 
yeppo
 
11:39 AM
@cairdcoinheringaahing yesnt
 
@dzaima has this already been tested? (tio is a bit spotty today, so I'm not getting any responses rn)
 
@cairdcoinheringaahing done. just a note that @mods doesn't actually ping anyone, so you may be better off actually pinging us directly
i don't think any of us are particularly active in chat, but i do a search for "mods" every now and then just to check anyway
 
@JoKing Thank you. Yeah, that is a bit unfortunate. Maybe I should have run for mod after all, since I'm here 18/6 or so.
 
12:11 PM
@Razetime it works fine for me
 
@dzaima Yes, it does work
and very well
 
12:23 PM
posted on February 02, 2021 by Chi.C.J.Rajeeva Lochana

These is the string that I want to match: webp png Stuff around the expression, like /^$/gmi do not count with the length of the regex. These regexes are not allowed: ^(webp|png)$ ^webp|png$ It should be as short as possible as said above in the title, and it should only match webp and png.

 
 
1 hour later…
1:29 PM
@2x-1 I like the forcing users to exchange stacks 5 times a day idea, but this is too hard for a language like Scala, especially since I'm using Scala 3
 
1:47 PM
@user Well haven't you ever used a software that's 8 megabytes?
 
http://eclipsebook.in/c-cpp-development/reading-code/macro-expansions/
Looks like there's already something that expands a macro step-by-step...
How good is it on the defer/evaluate constructions?
Not really related...
Does anyone have eclipse already installed and want to test the above?
 
2:05 PM
posted on February 02, 2021 by Chi.C.J.Rajeeva Lochana

Challenge: The goal is to output Hi, this is 2021! Rule(s): You cannot output anything other than the string with correct casing and spacing. Trailing new lines are allowed, trailing spaces are not. Remember this is code-golf, so fewest bytes will win!

 
2:18 PM
Should have suggested the op to sandbox the posts.
 
 
1 hour later…
3:23 PM
@JoKing Thanks! I know that @mods doesn't ping you guys, I just thought you (collectively) were more active. Noted for the future :)
 
 
3 hours later…
6:13 PM
> Freedom of the and both may convey. My name is freedom. The law issue to media of to demonstrate question protest use certain offensive words.
Markov chains are fun
Actually this isn't a Markov chain, it's like a Markov chain but it looks back multiple words at a time
 
that's probably valid english anyway
 
 
2 hours later…
8:16 PM
0
A: Sandbox for Proposed Challenges

bb94Find all enharmonic equivalences of an arbitrary EDO music code-golf Given integers n and s, print all pairs of enharmonically equivalent pitch classes in n-EDO, such that each note of a pair has at most s sharps and flats. Note names are assigned such that F, C, G, D, A, E, and B form a chain of...

 
8:29 PM
0
Q: Output Complete War & Peace

HitchHackerMake a function that outputs the complete War and Peace book by Tolstoy with proper punctuation and all. Rules: 1. Each chapter name must be surrounded by asterisks Ex: [asterisk]Chapter I[asterisk] 2. Must be in English (Was debating if it should be in the original language of Russian) 3. Each p...

 
9:20 PM
-2
Q: Random Output: Conway's Game of Life

HitchHacker'bout time we had another CGOL challenge Rules: One rule: Make a completely random CGOL machine in copy.sh So basically, break copy.sh

 
9:41 PM
@RedwolfPrograms hi freedom, I'm Lyxal
 
9:52 PM
@Wezl Maybe it was missing some punctuation: "'Freedom of the and both' may convey 'My name is freedom. The law issue to media of to demonstrate question protest use certain offensive words.'"
 
@user erm well that's like saying all code is valid code ... if put in block comments
4
 
@Wezl That's exactly how I write my polyglots.
 
10:37 PM
-2
Q: Someone told me to decode this and I can't. Please help

Stormyˆ ¬ø√´ ø¨ ∑ˆß˙ ø¨ ¬ø´√´∂ µ´ ∫åç˚ Will someone please decode this for me? Someone told me to decode it and I don't know how.

 
dah I need to think of new ways to say good morning here
"morning y'all" has become stale to me
I'll see what I can do tomorrow
 
10:54 PM
@Lyxal Nyanpasu?
 
What does recommending deletion do as a <10k user in the LQP queue?
 
I wondered that too. It does nothing visible as far as I can tell
 
huh, some 10yo SO answer of mine was randomly accepted this week
 
I love you
wish you loved me back
3
 
11:10 PM
Frequency analysis?
 
Nope, not enough material.
 
String compression in some esolang?
 
It's not compressed
 
Nope, nothing fancy.
Shall I give it away, or do you want more time?
 
The only thing that's strange to me is that "you" only maps to two characters
 
11:19 PM
@Adám I've got it now
@RedwolfPrograms gl finding it out
Think of a certain fruit computer
 
Is there some sort of unprintable in there?
Oh wait nvm
 
Raspberry Pi? Blackberry?
 
No
 
It's holding option on a mac isn't it
 
@RedwolfPrograms bingo!
Heck that's taking me back
I used to do that when I got bored
Lol
 
11:22 PM
My elementary school had macs and my friends figured out how to type a bunch of invisible stuff into the username fields of them all so that people would fail their logins over and over again
Good times
 
Kekw
 
That's definitely a wonderful font to use for an input field yep
 

« first day (3657 days earlier)      last day (1187 days later) »