orlp
  • Member for 9 years, 9 months
  • Last seen more than a month ago
New TNB Room Owners: Nominations Phase
5 votes

(Self-)Nomination for orlp Chat profile Online during essentially any time due to varying sleep patterns. I've been active on PPCG for 1.5 years now, and regularly hang out in the chat. You can ...

View answer
Ban zip-style decompression for kolmogorov-complexity?
20 votes

If your goal is to have hand-implemented compression, you can disallow built-in compression methods in your challenge (not retroactively, after answers are posted). But by default Kolmogorov ...

View answer
Default acceptable image I/O methods for image related challenges
18 votes

Programs may output via a common raster graphics image format The common raster graphics image formats are .png, .jpg, .tga, .ppm, .gif, .bmp, .tiff. The output may be through a default allowed ...

View answer
Default acceptable image I/O methods for image related challenges
15 votes

Programs may take input via a common raster graphics image format The common raster graphics image formats are .png, .jpg, .tga, .ppm, .gif, .bmp, .tiff. The input may be through a default allowed ...

View answer
Default acceptable image I/O methods for image related challenges
8 votes

Programs may output via an array of RGB pixel values with dimensions The pixels are ordered from top-to-bottom, left-to-right (reading order), and the pixel values must be output as (R, G, B) tuples, ...

View answer
Default acceptable image I/O methods for image related challenges
13 votes

Programs may output as a matrix of RGB pixel values The matrix rows must match the image rows, the matrix columns must match the image columns, and the pixel values must be given as (R, G, B) tuples.

View answer
Default acceptable image I/O methods for image related challenges
10 votes

A component of a pixel may be input or output as an integer 0-255 This is not an input method on its own, but input methods that take or return a collection of individual pixels, may input or output ...

View answer
Default acceptable image I/O methods for image related challenges
7 votes

A component of a pixel may be input or output as a real number between 0 and 1 This is not an input method on its own, but input methods that take or return a collection of individual pixels, may ...

View answer
Default acceptable image I/O methods for image related challenges
10 votes

Programs may take input as a matrix of RGB pixel values The matrix rows must match the image rows, the matrix columns must match the image columns, and the pixel values must be given as (R, G, B) ...

View answer
Default acceptable image I/O methods for image related challenges
7 votes

Programs may take input as an array of RGB pixel values with dimensions The pixels are ordered from top-to-bottom, left-to-right (reading order), and the pixel values may be given as (R, G, B) tuples,...

View answer
Default acceptable image I/O methods for image related challenges
-4 votes

Programs may take input via a common vector graphics image format The common vector graphics image formats are .svg and a <canvas> HTML block. The input may be through a default allowed input ...

View answer
Default acceptable image I/O methods for image related challenges
10 votes

Programs may output via a common vector graphics image format The common vector graphics image formats are .svg and a <canvas> HTML block. The output may be through a default allowed output ...

View answer
Default acceptable image I/O methods for image related challenges
16 votes

Programs may output by displaying it on screen Displaying the output image on screen is an acceptable form of output.

View answer
How to score Box-256 answers
-1 votes

Number of non-zero bytes in the initial state. We ignore the assembly instructions, and only look at the state. We count the number of non-zero bytes in this initial state. In the example below, ...

View answer
What input forms are 'reasonable'?
1 votes

Input data - Numbers - Scientific notation Reading a number encoded in scientific notation. E.g.: 2.321e21.

View answer
What input forms are 'reasonable'?
0 votes

Input separation - Any combination of reasonable separations. Separating input by using any combination of other reasonable separations. For example, using both newlines and spaces: 3 "test" 5 "cool"...

View answer
What input forms are 'reasonable'?
0 votes

Input separation - Newlines Separating input by placing newlines in between them.

View answer
Are compiler-specific submissions allowed?
Accepted answer
28 votes

Yes, on PPCG a language is defined by its implementation. In case your program is not portable you should specify the interpreter or compiler.

View answer
PHP scripts in Stack Snippets
Accepted answer
9 votes

This is impossible. PHP is server-side, but snippets are client-side.

View answer
Are control characters and ANSI escape codes allowed in output?
-2 votes

Yes, if you add the amount of bytes to invoke the shell and run the program to the byte count. Answers should then be marked with the shell as the language, for example "bash/X86".

View answer
Are control characters and ANSI escape codes allowed in output?
0 votes

No, output must be an exact bytestream using the specification of the challenge, unless mentioned otherwise.

View answer
Are control characters and ANSI escape codes allowed in output?
5 votes

Yes, programs must be run by echoing output to a console supporting ANSI escape codes if the answer requires it.

View answer