Wednesday, July 06, 2005

EU Reps smarter than US Reps

Not sure if anyone noticed but finally a governing body got it right http://lists.ffii.org/pipermail/news/2005-July/000302.html I truely hope that someday our reps will start working for the citizens rather than just big business and do the same thing that the EU has done.

Tuesday, June 21, 2005

OpenSolaris and the Linux

I have been reading different things about what OpenSolaris is going to do to Linux. Is it going to replace Linux? Is OpenSolaris going to dissappear? I think that in the near future the lead people on kernel development for all of these OpenSource based operating systems need to come together and discuss advantages and disadvantages of each OS and possibly come up with a better way.

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

This will have to do for now

It still doesn't post the title correctly. I have a bug ticket in with blogtk about this so hopefully if the guy gets some time to work it out I can get a fix for this. :)

This is to test

I am running FC4-devel right now and I am trying the new desktop blogging tool.

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

I really hope OpenOffice polishes up its functionality. I really need to get rid of the crappy Microsoft Office 2003. Have you ever used it and realized all the crap in it. I am not talking bloated applications but I am talking how unintuitive it actually is.

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

Gnome-blog

Well I found a desktop blogging tool that allows me to post titles to my posts in blogger. blogtk doesn't allow me to do this. Hopefully they will fix this in their next release but this seems to work just fine. Thanks to Matt over at www.nrpms.net for packaging this app and many others!!



Wednesday, March 09, 2005

SCSI Scan

I am working on a new CX300 in a Linux environment. I went looking in this blog for a script that I once found to realize I never posted it so here it is:

http://sethbuckley.com/wiki/index.php/Rescan-scsi-bus.sh

Now back to work