and we have shifted to a SBCS, but we haven't created a single language that uses the taboo of non-byte-based encodings (huffman/decimal (decimal?) would be the best)
@ASCII-only Hm, I guess it wouldn't be so hard to target ten specific challenges with a single language winner (e.g. Jelly) and just add enough domain-specific single-byte built-ins to exactly best those ten winners by 2 bytes. It just requires combining to built-ins two a single byte twice per challenge, meaning adding 20 built-ins. I'm sure one can find 20 built-ins that are not needed for those 10 challenges.
random question: what should happen if you assign to object.foo if it's a property of the class (and not the object)? what about class.foo if it's a property of a superclass (and not the class)?
Inspired by a recent Daily WTF article...
Write a program or function that takes a GUID (string in the format XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX, where each X represents a hexadecimal digit), and outputs the GUID incremented by one.
Examples
>>> increment_guid('7f128bd4-b0ba-4597-8f35-3a2f27...
What's the general rule for a golfing answer that requires a specific version of a program to be installed, e.g. when the answer uses system() or similar?
Then would getting rid of an ELF header by using a buffer overflow exploit on an old, known-vulnerable version of a program (e.g. ffmpeg) to execute shellcode be legal?
@Pavel Optima uses Dyalog APL, so they are our customer. However, we often cooperate on various projects, us lending them resources, and they lending us. E.g. they maintain and develop RIDE because they have better JS manpower than we do.
Lets define a non-empty, unsorted and finite matrix with unique numbers as follow:
$$N = \begin{Bmatrix} 4&5&7\\1&3&6 \end{Bmatrix}$$
Lets define 4 matrix moves as:
↑* (up): Moves a column up
↓* (down): Moves a column down
→* (right): Moves a row to the right
←* (left): Moves a row to the le...
The idea for this code-challenge is simple: given a matrix of integers, let's sort it by applying Rubik-style movements. This means that you can select a single row or column and rotate its elements in any direction:
[1, 3, 2, 4] => [3, 2, 4, 1] (rotate left for rows/up for columns)
[1, 3, 2, 4...
@Pavel Not in any official manner, but I do link to its TIO when I suggest things internally. NARS also functions as a kind of testing framework for advanced ideas. Some of the content in the dfns workspace has such a role too.
Exploding Numbers
Lets define a matrix of 9s as:
$$ N = \begin{bmatrix} 9&9&9\\9&9&9\\9&9&9 \end{bmatrix} $$
Lets define an exploding number as a number at position \$(x,y)\$ that can be decomposed in equal parts greater than 0 between all its adjacent neighbors (including itself).
From the pr...
I need every college and university ever to understand that if I haven't started my application with them that does not mean I would like to be reminded that there are only 6 hours left before the deadline
Turtle with a portal gun
The turtle wants to move along the grid to get to his food. He wants to know how many moves it will take for him to get there.
As well since he is slow he has teleporters set up around his domain that he will utilize if it shortens his path. Or avoid them if it lengthe...