Computers

Make your computer sing 99 Bottles of Beer on the wall

$bottleCount = 99

def Sing()
if $bottleCount > 0
if $bottleCount == 1
print $bottleCount, " bottle of beer on the wall, ", $bottleCount, " bottle of beer.\n"
print "You take one down, pass it around, no more bottles of beer on the wall.\n\n"
$bottleCount -= 1
Sing()
else
print $bottleCount, " bottles of beer on the wall, ", $bottleCount, " bottles of beer.\n"
print "You take one down, pass it around, ", $bottleCount - 1, " bottles of beer on the wall.\n\n"
$bottleCount -= 1
Sing()
end

else
print "No more bottles of beer on the wall, no more bottles of beer.\n"
print "Go to the store and buy some more, 99 bottles of beer on the wall.\n"
end
end
Sing()

Put this script into a text file called 99.rb. From the command line run this "ruby 99.rb | say

Ubuntu 8.10 and Twinview with Nvidia drivers

The new version of Xorg in Ubuntu 8.10 "Intrepid Ibex" is great.  They have turned the confusing xorg.conf file into something that's pretty easy to work with.

Getting my dual monitors working with my Nvidia GFX260 was simple

Computers piss me off sometimes

Since my luck with computers had been so good lately, I new something was going to go wrong with this new build.  The build went flawlessly, the machine powered up and everything showed up perfectly on the first try (very rare).  When I tried to install Vista Ultimate x64 is when things started going down hill. 

New PC Build

I just ordered some parts for a new desktop.

  • Intel Core2 Quad Q6600
  • EVGA 132-CK-NF78-A1 nForce 780i Motherboard
  • 8GB Corsair DDR2800
  • EVGA Nvidia GTX260 896MB Video Card
  • 500GB Seagate SATA disk
  • LG SATA DVD Burner

I plan on installing dual booting Ubuntu 8.10 64 bit and Vista Ultimate 64 bit.

It should be a real screamer.

Syndicate content