Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
4,575
reputation
8
20

Luke

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.

116
answers
0
questions
~202k
people reached
  • The Netherlands
  • Member for 2 years, 5 months
  • 167 profile views
  • Last seen May 14 at 11:32

Top network posts

We respect a laser-like focus on one topic.

Top tags (52)

Score 376
Posts 113
Posts % 97
Score 77
Posts 29
Score 67
Posts 15
Score 65
Posts 21
Score 52
Posts 18
Score 40
Posts 11

Top posts (116) All Questions Answers | Votes Newest

View all questions and answers

Badges (28)

Gold

Silver

8

Rarest

Bronze

20

Rarest