Warning: another technical post.I wrote this cover letter many years ago, when I wanted to get accepted to the Matzov unit of the Israeli Defense Force (in Israeli, every male is conscripted for three years at age 18, and I wanted to put my skills to good use.)
Like the picture above, it can be interpreted two different ways. You could read it as a letter in the English language explaining why my skillset is a good fit Matzov… or you could read it as a program in the Brainfuck programming language (can you tell what it does?) This is made possible because most characters in the English alphabet are considered comments in Brainfuck. Still, writing it required pulling an awful lot of tricks.
On the right you can see a size-optimized hand-coded 8086 assembly language Brainfuck interpreter, and instructions on how to execute it. While writing the letter took a few hours, writing the interpreter took three days without sleep. Shaving the last byte off took almost half a day.
Click for full version.
Notice how periods are meaningful commands in Brainfuck, so there’s a question of whether the periods on the right are or aren’t part of the program. In practice, it doesn’t matter because if they were, they would be after an infinite loop and never actually execute.
Edit: Hi HN. At your request, here‘s a .txt I extracted from the .pdf.
so did you get in?
The letter was passed on by a third party. I never heard back from them, but I did get accepted somewhere much better, and I have good reasons to suspect there was a man-in-the-middle involved.
In that case, I would say it had the intended outcome!
It’s complicated. The position I was aiming for had regular 3 years of service. The position I got was 4.5 years (3 earning pocket money, 1.5 earning minimum wage), and I didn’t get to enjoy my year of serious tax discounts because I spent it in the army earning minimum wage. On the other hand, the work where I got accepted was more challenging and the people were great.
What are you supposed to input?
Anything you want.
Awesome! we were lucky your letter was intercepted, then 🙂
Oh, Hi, Shahar! Always a surprise to meet familiar faces across the internet…