# 00davo.txt

there be horses here

1. Derpy's bow by Swearn
2. Derp.

3. rennertastuc

GODDAMNIT

deeeeeeeeyioyrfdssssssm

motehr fucker

overalls

im doign this again

dxwwwwwwwwwwwwwyuitdsssssssssssssjm

fuckj

y37g75we7xr5

i dont think i even dtried

wow i got that right

lucky moi

thdmastweudrevkiffubf

ok

deidswa

muaheoomc99iieveat

…ok

jdnrd…DX

f;uongptuffidn[tgf

Fun

Alh+,prtetg+8$+(@’$ Well that worked

kgrxdhirolgeurrn

goldaries13

Go me I actually did it

Stepha222
I am so ashamed.

jxAGTa yeah I knew this would end badly

nevertrustwgorwcoe… well, I got the first two words

00davo.txt

david mclean

where did y’all learn to type

4. very hot today

5. ### Guess what this does (solution)

A few weeks ago I asked people to predict, without trying it first, what this would print:

perl -le 'print(two + two == five ? "true" : "false")'


(If you haven’t seen this yet, I recommend that you guess, and then test your guess, before reading the rest of this article.)

Mild spoilers: I recognized the barewords and that they were a problem, but I didn’t know barewords would get converted to 0 by +. And, I completely forgot about the optional filehandle argument of print. The article has a nice description of how print figures out what to do with its arguments (not an easy problem!), and the solution to the mystery!

and then perl goes ahead and does something like this. so there’s that.

actually, most of it is pretty sensible taken based on the “kinda like a shell” rules perl uses. that optional argument feature is just a huge mess though.

6. y’know, i can’t believe people call perl “line noise”

i mean, this is a factorial function in perl

sub factorial {
my ($n) = @_; return 0 if$n < 0;

my $res = 1; while ($n) { $res *=$n--; }
return \$res;
}
print factorial(5);


this is a factorial function in j

factorial=:(*/@:>:@:i.)"0
factorial 5

• tags =
• date = 2014-07-24 21:19:30
• ago = 1 hour ago