« first day (4689 days earlier)      last day (145 days later) » 

12:23 AM
Polyglot, 3 bytes:
 
12:53 AM
2 bytes UTF-16, if you can find a language that supports exactly that
 
Sandbox posts last active a week ago: Ungolf the wind, Manipulate a set of pixel grids
 
0
Q: Is it possible to "sort" a continuous function?

Dannyu NDosI was motivated for this question while seeking for a new sorting algorithm. Suppose a continuous function $f : [a, b] \to \mathbb{R}$ is given. I wanted to define the sorted version $g$ of $f$, which shall satisfy the following properties: $g$ monotone increases $g(a)$ is the global minimum of ...

Help
 
Sorry I'm allergic to math
3
 
2:07 AM
0
A: Sandbox for Proposed Challenges

SomebodyDecode Triple G Start On the TV cooking show Guy's Grocery Games, the chefs cannot begin shopping until Guy Fieri, the show's host, says "Three, two, one, go!" However, the words do not have to be all together. He often "hides" the words in things like this (based on a real example, but not quoti...

 
 
1 hour later…
3:09 AM
I'm thinking about doing a challenge to write a clone of GNU cat. Would that be a case where restricting I/O formats is okay, because the entire challenge is to replicate GNU cat exactly? If I do it, should I somehow allow for simulating it in languages where a perfect clone isn't possible?
 
3:28 AM
cat --help gives this:
Usage: cat [OPTION]... [FILE]...
Concatenate FILE(s) to standard output.

With no FILE, or when FILE is -, read standard input.

  -A, --show-all           equivalent to -vET
  -b, --number-nonblank    number nonempty output lines, overrides -n
  -e                       equivalent to -vE
  -E, --show-ends          display $ at end of each line
  -n, --number             number all output lines
  -s, --squeeze-blank      suppress repeated empty output lines
  -t                       equivalent to -vT
@Someone How much of these features need to be implemented?
 
0
A: Sandbox for Proposed Challenges

tshFormat Datetime in 30-Hour Clock time code-golf date string Input a datetime, format the datetime in YYYY-MM-dd HH:mm:ss where HH in 30-hour clock time. The 30-hour clock time works as: After 6 a.m., it is same as 24-hour clock time Before 6 a.m., it use date for previous day, and plus Hours by ...

 
4:08 AM
@bubbler the plan was for all of it to be included
 
That's way too much for a code golf task imo
 
I'd probably want no more than, "Given a list of file paths, return their data concatenated together"
 
4:25 AM
I'm surprised "parse a flag combination" challenge doesn't exist yet
 
 
2 hours later…
6:31 AM
0
Q: One-dimensional map colouring

PhilipposIt is a well-known fact that you can colour a two-dimensional map with four colours in such a way that two countries with a common border always have different colours. There have already been enough challenges on this topic. However, the prerequisite for this is that there must be no enclaves, i...

 
 
3 hours later…
9:44 AM
@Bubbler bash, 6 bytes: getopt
 
10:13 AM
The loophole this answer falls on is only on +4
So it technically isn’t unacceptable yet.
 
10:38 AM
The loophole is obvious even if not stated
 
10:59 AM
Aka it's valid but unwelcomed
 
 
2 hours later…
Congrats
 
Ofc glorfindle is a mod there :p
Also, totally didn't get the site confused with webapps for a minute :p
 
They have the same mods as meta meta right?
 
No
Rene is not a mother meta mod
Only glorfindle is a mod in both stack apps and mm
 
Dutch people don't follow the normal procedures, they mod wherever they want
 
12:59 PM
Y'all ever try to find a chatroom in your favourites list, can't find it, search the all rooms list for multiple pages, and then realise it was actually in fact in your favourites list the whole time?
I do
 
imagine using the favorites list, couldn't be me
 
Well you see I kinda have to
Because otherwise I can't easily view all code golf rooms I otherwise would like to view
 
1:13 PM
Also, I just remembered: I saw the word sachet the other day and I managed to read it as SE chat
Y'all this place has permanently imprinted itself into my way of thinking
 
1:28 PM
well sure, that's how you know it's working
 
1:59 PM
0
A: Sandbox for Proposed Challenges

bsoelchParse nested absolute values The absolute value of a number \$x\$ is normally written as \$|x|\$. The left and right side of the absolute value uses the same symbol, so it is not immediately obvious how to parse nested absolute values e.g. \$||1-2|+|3-|4-5|||\$ Your goal is to parse such an expre...

 
2:25 PM
@lyxal Exactly! I sometimes see the word SO in capital letters and read it as Stack Overflow!
 
is there Code Golf Advent Calendar for this year?
 
No
 
 
1 hour later…
3:38 PM
📧Ⓜ️🅾️🎷👀
 
3:54 PM
@Fatalize after seeing how little time golflangs get in the video, i checked the comments and
wow, there's no way anyone's thought of that before
 
4:42 PM
@Fatalize aww come on, barely 2 minutes of code golf
hey emanresu a made an appearence too
hmm, searching "golfing languages" on youtube results in a razetime video
 
 
1 hour later…
5:54 PM
@mathscat also the line about the programs being readable
 
r e a d a b l e
CMQ: Which of your (golflang) answers do you think might be the most intimidating for a programming beginner?
 
I just have to show them the entire list of answers
 
lol true
 
It's not golflang, but this would probably do it :p
 
o.0
(I actually wanted to say golflang/praclang)
This answer of mine might come across as rather "obfuscated"
still have ptsd from writing the explanation
 
6:55 PM
There are a lot of languages that are stack-cringe, but Vyxal is stack-based(TM)
7
 
ugh i have a great name for a challenge but it’s not on-topic
@mathscat i think any of mine could be intimidating but i don’t think i have any that aren’t explained
pretty much any TS types submission, probably could intimidate, not a golflang tho
 
@RydwolfPrograms name another stack language with full cookie support
betcha can't! Vyxal forever
 
probably factor
:p
 
(full disclosure: I have never actually written a program in Vyxal)
 
wait seriously
 
7:02 PM
yes
I did add the original implementation of the cookie element to v3 tho!
 
are you interested in the language at all?
it just kinda surprises me you’re in the chatroom there so much and made the bot but have never used it
 
@noodleman eeeeeh
it's more about the community™
 
i’m sure they’d love to hear that :p
you could probably pick it up pretty quick if you wanted to
as golflangs go, it’s one of the easier ones to write programs in
 
just do vyxal ginger :P
v3 has a lot of praclang-type features
you're missing out on being outgolfed 10 bytes by steffan on every second answer you post
 
whos steffan?
i only know Sʨɠɠan
 
7:12 PM
*quiet evil laughter*
 
*hivemind music drops*
 
7:40 PM
@mathscat Ooh, good question. If it can be esolang rather than strictly golflang, I'd say my Collatz conjecture answer in BitCycle. For golflangs, a good candidate might be Squishy vectors in Brachylog.
 
8:09 PM
cool!
 
8:28 PM
@mathscat I guess my answer to caird's Carcassonne question, being pretty long, might be intimidating?
 
that's definitely the largest charcoal answer I've come across lol
 
9:26 PM
I decided to write a cat clone in Python just to see how hard it will be; right now my ungolfed code is at 4343 bytes and supports all options except --show-nonprinting and those that depend on it
 
@mathscat If esolangs are allowed absolutely my tinylisp self-ungolfer
 
I finished the clone: termbin.com/xl1q
As far as I'm aware this is identical except in localization, which I'm not planning to do, and error handling, which I just haven't done yet
 
10:03 PM
Here's the full version: termbin.com/nzuvo
 
0
A: Sandbox for Proposed Challenges

SomebodyClone GNU cat Write a program that precisely clones GNU cat version 8.32, which is installed on my computer. In any case, if called with the same arguments, same stdin, and same files, your program's output to both stdout and stderr must by byte-for-byte identical to that of GNU cat, and the exit...

 
10:56 PM
decided to try my hand at golfing again
0
A: Find the Factorial!

GingerKotlin, 46 bytes {x:Int->x.downTo(1).reduceOrNull{a,i->a*i}?:1} Bit of a shame that we need that type hint... Attempt This Online!

 
11:28 PM
ya love to see it
 

« first day (4689 days earlier)      last day (145 days later) »