Mar. 22nd, 2005

randomfox: (Default)
The George Score at Where's George is based on the following formula:
GS = 100 * 
     (sqrt(log(BillsEntered)) + log(TotalHits + 1)) * 
     (1 - DaysInactive / 90)

This Perl script calculates how many bills you need to enter or how many hits you need to get to increase the George Score by 1. It does that two ways: by using derivatives and by solving the George Score equation.

Read more... )
randomfox: (Default)
Perl script that splits a file into 100 million-byte pieces. It system()s out to the dd utility, so it could be rewritten in pure Perl.

Usage example: split.pl largefile lf
will produce lf0, lf1, lf2, lf3... until there are no more pieces.

Read more... )
randomfox: (Default)
A C# program that uses the .NET runtime to draw an analog clock that updates every second.

Read more... )

Profile

randomfox: (Default)
randomfox

November 2012

S M T W T F S
    123
45678910
11121314151617
18192021222324
25262728 2930 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 17th, 2025 10:37 pm
Powered by Dreamwidth Studios