Athanasius's user image
User since: May 01, 2012 at 11:13 UTC
Last here: Sep 04, 2015 at 17:12 UTC (5 hours ago)
Experience: 21625
Level: Abbot (19)
Writeups: 1294
Location:Gold Coast, Australia
Curacy:637th Monk in the Book, Dec 03, 2012
Image:Athanasius I of Alexandria
Motto:Contra Mundum (“Against the World”)
User's localtime: Sep 05, 2015 at 07:46 EST
Scratchpad: View
For this user:Search nodes

Errors, like straws, upon the surface flow;
He who would search for pearls, must dive below.

— John Dryden

Favourite Nodes

It should be noted that no ethically-trained software engineer
would ever consent to write a
DestroyBaghdad procedure.
Basic professional ethics would instead require him to write a
DestroyCity procedure,
to which
Baghdad could be given as a parameter.
— Nathaniel Borenstein

Useful Regexen

  • by Benjamin Goldberg, in How can I output my numbers with commas added?:
  • $integer =~ s/ (^ [-+]? \d+? (?=(?>(?:\d{3})+) (?!\d)) | \G\d{3}(?=\d) ) /$1,/gx;
  • to extract the name of the current s‎crip‎t (or module) from the full path:
  • (my $s‎crip‎t = $0) =~ s| ^ (?: .* [\\/])? (.*) \.p[lm] $ |$1|x;

    Do not free a camel of the burden of his hump;
    you may be freeing him from being a camel.

    — G. K. Chesterton