« first day (3530 days earlier)      last day (29 days later) » 

12:07 AM
Any feedback for this (especially the output format), this, and this?
4 hours later…
3:57 AM
@Bubbler the tetromino output format can exclude y coords if the output is given in order.
there may be an alternative format where it can just be a matrix of the playfiels with all the tetrominoes
obviously, each of them must be represented by distinct characters
@Razetime I don't think so, consider this:
How would you differentiate A from B if you omit the y coords?
(Both are valid moves because the tetromino placement is permissive, not "only drop from the sky")
4:13 AM
oh ok
then I guess the second one i mentioned may be relevant
But then you can't reliably show all the moves in a single playfield if you have some line clears, and scoring 2 or higher almost certainly requires at least one line clear
i guess the coordinates may be the simplest way
3 hours later…
7:45 AM
A good baseline for challenges to answer in an esolang of your choice - mostly involves only integer/character I/O, and the task is usually not too complicated.
8:27 AM
@Bubbler is this a general tips?
@Razetime Kind of, though it depends on the feature set (I/O, number type, data structures supported) of the specific esolang to use.
Or it can simply be seen as a list of 200+ easy to medium challenges. (A few at the end are crazy hard though)
9:07 AM
Q: Output the language name times the number of characters

NK1406Challenge: Your task is to use any language to output that language's name times the number of character's in its name. Use the name of the language specified in it's title on a) wikipedia, or b) esolangs wiki. If the language is not on any of these, please specify where it is hosted, and we can...

I tried editing this to make it a better question, do you guys think it's worth reopening?
I think changing it from [code-golf] to [showcase] was a bad idea ([showcase] exists only for the Showcase of Languages) (and I also don't understand why was the question closed)
apparently they couldn't come to a consensus on what language name should be used
@thedefault. since some languages have an obvious advantage over others, I decided to change it to showcase, since it has an arbitrary restriction. I guess I'll change it back to if showcase is reserved.
9:24 AM
> [it was closed] due to the fact that there's no way to define what the "common name" of a language is.
Unless that's addressed, there's no point reopening
yep which is what i edited
Which means the original author has to add an objective ruling
hmm i don't know if the original author is ever coming back
codegolf.stackexchange.com/questions/107964/… simply states "your programming language's name", and it's open and has a score of 45.
@Razetime that's very naughty of you to do so: codegolf.meta.stackexchange.com/a/18787/78850
9:28 AM
@thedefault. ah so it's a duplicate anyway
I suspect that that consensus is about "editing programming questions to make them on-topic" (that is, when people copy-paste their homework here and someone edits it into a [code-golf] question), not challenges like this.
well the question is a pretty blatant duplicate, so I just rolled the edits back
@Razetime should we reopen to mark as dup then?
Because that'd be a more appropriate close reason
i think the first reason is appropriate as well
9:34 AM
It's not a duplicate though, it's more unfair than the other challenge!
fair enough, just reopen it and confuse everyone
@thedefault. oh I thought you were saying it was
Never mind then
it is a duplicate, my pronoun is monicareinstate is joking lol
@Razetime you're saying that they're running for moderator?!? \s
hehe why is no one laughing at my joke?
well you can't really hear us on chat right
2 hours later…
11:32 AM
@thedefault. Personally, I think that question is a classic example of the community being too stringent in their rules. IMO "common name" is something every language has exactly one of, and that requiring it to be "defined" is just ridiculous (but if the community wants it closed, I'm not going to argue with that)
It's also (as you pointed out with this challenge) very hypocritical but ¯\_(ツ)_/¯
12:24 PM
so should we keep or not
I am so confused
You can VTRO if you want, but I'm not sure how much support you'll get. You could VTC the open challenge, but again, not sure where support lies. If you really want/need to resolve this, you could open a meta discussion, but I personally don't think its too much of an issue to let sleeping dogs lie
1:21 PM
ok let it sleep well
1:32 PM
the moderator election ends tomorrow!
1 hour later…
2:54 PM
A: Sandbox for Proposed Challenges

John DvorakAll work and no play but it gets thinner every time code-golf kolmogorov-complexity Your objective is to output the unique string with the following properties: Each paragraph consists entirely of repetitions of the sentence All work and no play makes Jack a dull boy. The first paragraph is a si...

3:19 PM
A: Sandbox for Proposed Challenges

HyperNeutrinoEuler's Tour code-golf graph Leonhard Euler wants to visit a few friends who live in houses 2, 3, ..., N (he lives in house 1). However, because of how his city is laid out, none of the paths between any houses form a loop (so, the houses exist on a graph which is a tree). He gets bored easily bu...

3 hours later…
6:34 PM
Q: Newer users can't view the rules

Ethan ChapmanSo recently I've been reading through some policy recently, and besides there being a whole lot of them, I've noticed a problem. As I have less than 1k rep on the main community, I'm not an established user, and so I don't have the ability to see up and down votes. While this generally isn't a pr...

7:06 PM
When you invent a time machine by realizing O(n log n) is negative for n=0.5
Doesn't big-O notation usually work with n as an integer? I'm really bad on O-notation, but isn't n the size of the input, so it'd have to be an integer?
More importantly, n goes to infinity
Yeah, you're correct. It is pretty fun to think about though.
"I invented a time machine! Yeah but how efficient is it? It runs in O(-n) time!"
That actually could be a useful metric: time spent waiting in time machine (n), and time that passes outside it (O) :p
7:18 PM
"Don't even talk to me until you've proven that time travel is NP-complete!" :P
@JohnDvorak Can't believe I've never asked this, but what's the owl/bird on your pfp from? From the way it's imposed on, it looks like one of the hats from a past Winter Bash, but it doesn't ring any bells for me
It is; I believe it's for casting a lot of flags?
Must be a few years old then? IIRC you've had the same pfp since I joined
I've added the 4 questions to the FAQ that weren't there (per the last bullet point), but I'm a bit apprehensive about doing points 2 and 4 unilaterally. Thoughts on whether those should still be done, and how should we space point 2 out to avoid making Meta slightly cluttered (or does that not matter given they're FAQ questions)?
2 hours later…
9:10 PM
CMC: Given an integer n, return n with the digits reversed and leading 0s removed
123456 -> 654321, 100 -> 1
@cairdcoinheringaahing APL, 2 bytes: ⍎⌽ Try it online!
2 bytes in Jelly, I'd be very interested in a 1 byte version :P
@Adám I think that's a Jelly -> APL translation of mine :P
@cairdcoinheringaahing It is a pretty obvious algorithm.
Oh yeah, it's a very easy CMC
Just saw the CR post on HNQ and thought it'd be fun to give it a go
TBH for once, I'd be genuinely interested to see how short C can get, given that's the original language used in the CR post
1 hour later…
10:43 PM
@cairdcoinheringaahing Charcoal, 2 bytes: I⮌ Try it online!
@Neil I can guess the meaning of those two symbols, but I'm surprised by the order of them.
@Adám Charcoal is a prefix language, so I casts the result of ⮌ to string (so that it can be printed), while ⮌ reverses its parameter, which here is the implicit input
Ah, so then it ends up being like APL, where two consecutive single-argument functions also are prefix, so evaluates the result of , while reverses its argument.
@Neil Wait, what‽ casts to string?
Javascript, 35 bytes: n=>+(n+"").split``.reverse().join`` :/
@RedwolfPrograms You can take the input as a string, so (n+"") can be just n
10:50 PM
@RedwolfPrograms Why not [...n+""] or [...n] (taking n as a string)?
Or just take the input as an array of chars
22 bytes
@RedwolfPrograms Doesn't it need an eval?
For what?
@RedwolfPrograms Heh, thank you, you taught me a new JS trick today: f("")f``
@RedwolfPrograms To remove the leading 0
That's what the + does. Unary convert to number.
10:54 PM
Oh, right.'
Under what circumstances can the parentheses of function application be omitted in JS?
Japt -N, 1 byte: w
@Adám I think it's only allowed in that case because f is technically being used as a template function, meant to allow you to do something like String.raw`text here`.
A template function call is converted to an array of strings and some extra arguments (if it contains some ${x}s). It usually works when the function to call only accepts strings.
They added it somewhat recently, I don't think very many people outside of code golf know about the f`` trick. Looks like they're technically called "tagged templates".
`` fabc `` is converted to f(["abc"]) and ["abc"] is implicitly cast to "abc"
Dang, I keep forgetting how to use backticks in code
11:03 PM
I didn't even know it passed an array of strings...that might actually be useful for something since it also gives you an array of the things in the ${} blocks.
@Bubbler Just stick a \ before each backtick.
yay, I did it!
And backslashes...
@Adám otherwise it prints a line of -'s
11:07 PM
@Lyxal Yeah, but I still don't understand how it both evaluates and stringifies.
I think it reverses the number
@Adám it doesn't evaluate anything
@Bubbler that's right
Ah, so it literally has number reversal built in.
Has anyone made a golfing language by counting up the usages of all other golfing languages' builtins across every answer on the site an picking the most used ones?
It has certainly been suggested before. Problem is that you really want to count combinations of certain things.
11:14 PM
I know Jelly has changed over time to assign a one-byte builtin to a few frequently used two-byte builtins.
@Adám it casts to string unless its parameter is a string in which case it tries to cast to int unless the string contains a . in which case it tries to cast to floating-point
Sounds like classic to golfing languages.
@Adám that's not quite true; f`` is actually f([""])
@Neil Yeah yeah.
It's javascript, nobody cares about type anyway :p
11:17 PM
I was about to say ^
11:39 PM
Any feedback to tetris, mastermind, and ellipse?

« first day (3530 days earlier)      last day (29 days later) »