Skip to main content
Luke's user avatar
Luke's user avatar
Luke's user avatar
  • Member for 7 years, 1 month
  • Last seen more than 3 years ago
  • The Netherlands

About me

I'm a code golfer from the Netherlands who loves the occasional challenge of creating a complicated program in a 2D language like Cubix. I learned English at school, a skill that turned out to be rather useful on the web.

How I ended up on this site

I registered here because I also develop websites, and one day, after having compressed one of the JavaScript files, I thought I could do better than the online compressor I was using, so I started looking up techniques on how to compress code. It didn't take long before I ended up on this website and after a few months, I decided to register and try the challenges posted here myself. For those interested, yes, I managed to shave off a few bytes of the source file.

Answers I'm proud of

During my stay here, I have made a few interesting answers. Please check them out, and upvote them if you think they are good answers.

Funny or useful programs

I also made some programs that are either funny or useful, but don't fit into any challenge.

Alternative CAT program in Cubix
I came up with this program accidentally in chat and then tried running it, to see what it did. It turned out to be an infinite CAT program, that ends up in an infinite loop after it has run out of input. You can try it yourself here. This could be an answer to a CAT program popularity contest, but sadly, popularity contests get closed easily.

The only characters that have any meaning to the interpreter (excluding control flow) are innot'otcan. The first two negations cancel each other out, leaving us with iot'otcan. i takes one character from the input, and the first o prints it. The second o is interpreted as a character, not a command, so every character gets only executed once. All other characters modify the stack, but we don't care about that.

Uniformly random digit generator in Cubix
This program outputs a random number in the inclusive range 1-9. Every number has about 12.6% chance of being output. You might notice that the D appears a lot. That is because that command changes the IP's direction randomly. By chaining a few Ds, we can create 9 spots the IP might reach. On those spots, we place the number literals for 1 through 9, and then we guide the IP to the output and lastly, we end the program. Feel free to use this in any answer.

This user doesn’t have any gold badges yet.
This user doesn’t have any silver badges yet.
bronze badge

This user hasn’t posted yet.