JAPH – Awesome Code Obfuscation

6/06/2010

Every so often I stumble across something that really just leaves me dumbfounded. The only valid response seems to be “… Fascinating!”

The latest is this clever JAPH consisting solely of keywords.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
not exp log srand xor s qq qx xor
s x x length uc ord and print chr
ord for qw q join use sub tied qx
xor eval xor print qq q q xor int
eval lc q m cos and print chr ord
for qw y abs ne open tied hex exp
ref y m xor scalar srand print qq
q q xor int eval lc qq y sqrt cos
and print chr ord for qw x printf
each return local x y or print qq
s s and eval q s undef or oct xor
time xor ref print chr int ord lc
foreach qw y hex alarm chdir kill
exec return y s gt sin sort split

In short; The Perl community has a meme going where you are supposed to write a snippet returning the String “just another perl hacker” in the most convoluted and obfuscated way possible.

This gem does exactly that. It’s beautiful in that there are no Strings in there, only valid Perl keywords, and it’s perfectly justified. For some reason this kind of useless stuff really appeals to me at a deep level. I fear a couple of hours may be lost to trying to create a clever JAAH.

This was posted earlier on ria.creuna.com.
1 Comment

Spring into freedom

5/04/2010

Mathilde took her first independent steps at home in the living room less than a week ago, and today was the first day with nice enough weather to warrant a trip to the park in order to give her newfound freedom of locomotion a whirl.

While I anticipated she would be thrilled to be allowed and able to run around on her own, the sense of joy she expressed was positively overwhelming. She was running around and screaming and laughing constantly for as long as her energy would allow.

It is my pride and joy to hereby promote my offspring to the rank of Toddler. Ding! Grats!

That is all.


And just for the sake of upholding tradition;

No Comments

Spring into sanity

12/07/2009

Just realized that I haven’t posted this pic yet this year. Throughout my blogging career misfortunes I’ve posted this photo every year about spring time. It just makes me happy. It’s a bit late this year, but here goes.

No Comments

Ventriloquism done right

24/03/2009

This is funny to me. Is it funny to you? If so, will you be my best friend and invite me to your birthday party? No? Alright, nonetheless;

2 Comments

Titi Suru’s furious!

7/02/2009

If this doesn’t mean anything to you, we are not sharing a childhood memory right now. On the other hand, if it does; Don’t you think Mother Rada ended up with old man Kostika Suru in the end? Let’s be honest here.

The venerable Kostika Suru

No Comments