Wednesday, July 06, 2005
EU Reps smarter than US Reps
Tuesday, June 21, 2005
OpenSolaris and the Linux
Someone needs to bring in the Smartest *BSD, Linux and OpenSolaris developers and try and build the next OS Kernel.
This will probably never happen but one can wish.
Thursday, June 09, 2005
Thursday, May 26, 2005
The theory of BootScripting
Now me describe the thought of BootScripting. BootScripting is the process of creating one small script in any scripting language. I am a big fan of Perl so I will do my example in that. The basic idea is the script is just big enough to connect to a database and take in parameters. Once it connects to the database it generates the rest of itself.
#!/usr/bin/perl
use strict;
use DBI;
my $dbh = DBI->connect("DBI:mysql:database=scripts;host=scriptmaster.local","scriptmaster","scriptmasterpassword") || die "Can't connect to the DB";
my $script_id_temp = $ARGV[0];
my $script_id = 0;
$script_id = $1 if((defined($script_id_temp)) && ($script_id_temp =~ m/(\d)/));
$sth = $dbh->prepare("select script_body from scripts where script_id=?") or die "Can't prepare Statement";
$sth->execute($script_id);
my ($script_data) = $sth->fetchrow_array;
eval $script_data;
$dbh->disconnect;
exit;
This script if worked on can probably be more streamlined and cleaned up. What this approach helps you do is to put focus on writing the scripts and focus on the functionality and not have to worry about if all the servers you have the script on are up-to-date.
ROAR
Friday, May 13, 2005
Microsoft Office Sucks
For example:
If you have 6 spread sheets open and you are on the last one and want to close it you would normally click the X in the upper right hand corner. Or that is what you would do if it followed any other conventions set by Microsoft. People say it is because Microsoft is using a "window inside a window" approach. The problem with this is Microsoft Office is the only application that will not follow their own rules. They create task bar entries for each spread sheet you have open. This signifies that it is a separate application. When you as a user follow the directions set forth by Microsoft the "should" be followed for each application it attempts to close all your open spreadsheets. And on top of that it starts from the first one open. It doesn't care if you had 15 open and just wanted to close the last one. It starts from the beginning and asks you about each one.
Why doesn't Microsoft follow their own rules? Why do you have to pay $300 for applications that aren't intuitive?
Saturday, March 26, 2005
Wednesday, March 09, 2005
SCSI Scan
http://sethbuckley.com/wiki/index.php/Rescan-scsi-bus.sh
Now back to work