Skip to main content
Luke's user avatar
Luke's user avatar
Luke's user avatar
Luke
  • Member for 7 years, 8 months
  • Last seen more than 1 year ago
  • The Netherlands
Stats
4,833
reputation
323k
reached
117
answers
0
questions
Loading…
About

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.
16
silver badges
23
bronze badges
401
Score
114
Posts
97
Posts %
80
Score
29
Posts
25
Posts %
71
Score
21
Posts
18
Posts %
69
Score
15
Posts
13
Posts %
55
Score
18
Posts
15
Posts %
42
Score
11
Posts
9
Posts %
Top posts
View all questions and answers
answer
46
Apr 24, 2017
answer
25
Jan 29, 2017
answer
15
Mar 18, 2017
answer
12
May 25, 2017
answer
11
Feb 20, 2017
answer
8
May 2, 2017
answer
7
Apr 5, 2017
answer
7
Apr 5, 2017
answer
7
Jan 19, 2017