ambrus's user image
User since: Oct 01, 2003 at 11:47 UTC
Last here: Sep 02, 2014 at 18:20 UTC (4 hours ago)
Experience: 19156
Level: Abbot (19)
Writeups: 2696
Location:Budapest
User's localtime: Sep 03, 2014 at 00:17 CEST
Scratchpad: View
Member of: pmdev, SiteDocClan
For this user:Search nodes

Image: gravitational anomaly, somewhere in France, August 2007.

Favourite pentomino pattern:

My homepage doesn't have anything interesting on it.

To determine if a number is odd or even, the worst way is:

$odd=0;{local($SIG{__WARN__},$^W)=(sub{$odd++})x2;+{1..abs($n)}};
[download]

There are several completely different programming concepts called a select statement. They are

Ok, after all this rant, here's something that's actually useful to know. The formulae to solve the quadratic equation
a x^2 + b x + c = 0
are:
x_1 = -(b + sgn(b) sqrt(b^2 - 4 a c))/(2 a)
x_2 = c/(a x_1)

Perl Quiz of The Week #21 (20040805): Task scheduling. my solution discussion.

Perl Quiz of the Week Expert #22 (20040825): Word ladder. my solution discussion.