Wednesday, January 11, 2006

Picture of me and my new computer


Here is me, myself and I and my new computer:

Get Lost on my T-shirt is from the ABC TV show.

My final computer setup

This is my "ultimate" computer setup, the computer I am going to be working with for a couple of years atleast:

Shuttle XPC SN25P
I could have gotten the more advanced SN26P but that barebone kit really made more for hardcore gamers due to its ability to support higher graphic cards. Since I am not going to really be playing games much, I save a couple of hundred dollars going for the lesser SN25P.

AMD 64 +4800 x2 processor
Not the superfastest CPU available, but the one I considered best for the price.

2GB of RAM
I could have put more RAM, maybe upto 4GB but really, that is a waste, and 2GB memory chips really go up in price per GB.

Two 74GB Raptors
These hard drives are simply the best and fastest you can get, and putting them in RAID 0 for a total of about 140GB makes them even faster. Setting up a RAID is so much easier now, and in fact its the standard for SATA drives.

NVidia 6800GT video card
Again, there are better and faster gfx cards out there, but as I said, I am not a hardcore gamer. This card seems to fit the bill since what I really want is superior 2D graphic for a dual monitor setup.

Two Samsung 214T monitors
These are simply the best monitors for their size. Sharp bright crisp colors, and even with fast response times for those times I want to play movies or games. I set these monitors next to each other vertically for a total resolution of 2400x1200!


Logitech MX5000 keyboard and mouse

I have always liked Logitech for its interface products. Microsoft keyboards are good too, but they have the disadvantage of being... Microsoft. The less MS in my system the better.

Windows XP x64 Edition
This is I hope my only Microsoft component in my system (except alas MS Office which I hope too wean out to Open Office Real Soon Now). Even so, I managed to strip this OS as bare as possible with nLite. Ahh, nLite, what a wonderful nifty little but grand utility (see blog entry below).

Well, there you have it, my ultimate dream system made reality. I plan to add a 400GB drive in the 5 1/4 slot soon for backup and media storage. Since I travel a lot from two places I intend to duplicate my Shuttle XPC except for the Raptors and just transport my hard drives from one place to the other. It should work like a charm.

An update on the bios chip problem

Well I finally decided to get another burned in chip, since the support people at Shuttle simply ignored my repeated requests to send me a new one. After a google search I found this site that sells preburned bios replacement chips.

After installing the replaced bios chip, my Shuttle XPC is finally working! I am installing Windows XP x64 edition on it with no problems.

Sunday, December 18, 2005

nLite

I am adding a whole bunch of new computers to my business and having the experience of just how mind numbing it is to install Windows over and over again, inputting the same boring questions (yet funny how the Windows Setup wants you to pretend how utterly critical and exciting each question it asks you is), I decided to search for some way to automate this process of which I knew can be done having had some MSCE background.

I found out about nLite probably through some kind of google search, although at this time I cannot recall how. Seems to perfectly fit the bill in several respects, the main one it is NOT from Microsoft, which is important considering how manipulative Microsoft is with its pretentions of controlling OS markets.

I highly recommend this program, and even though it seems to be perpetually in RC stage, it worked for me. I had to scrap RC3 for RC1 because RC3 would not finish (but not hang entirely) its build process.

I had some bad experiences trying to incorporate the latest x64 drivers, but that is not unexpected considering I am really going for state of the art in O/S (Windows XP x64) for my new batch of computers. I will relate to that in my next post (hey... isn't this supposed to be a programmers journal? oh well).

Friday, December 09, 2005

Trial and tribulations with BIOS chip

Even though I consider myself to be foremost a programmer, I am also a systems manager. I like to build computers and manage networks, and every self respecting programmer should be able to build his own system.

Anyway, I am planning to migrate my main tool of trade, a Dell Inspiron 8000 to a Shuttle XPC. I intend to sacrifice some portability (actually quite a bit of portability) for a really powerful desktop system, at least one not easily matched by a laptop, much less a cost efective one.

So I ordered a brand new Shuttle XPC SN25P, with a Dual Core Athlon, 2GB of RAM dual monitor PCI-E card, dual Raptors SATA drives, etc, etc. I finally got all the components last week but after carefully putting it all together it wouldn't start. It wouldn't even post :(

After some basic troubleshooting I determined that my problem resided in a corrupt BIOS chip. By, reading and participating in the Sudhian Forums I got the feeling that Shuttle XPC systems tend to fail a lot in regard with their BIOS chip corruption. It makes me wonder why in this day and age of fabulous flash memory, we still have to struggle with such archaic flash BIOS. Why can't the motherboard manufacturers design a motherboard that uses a Compact Flash card, or an SD flash card in place of a BIOS chip? That way these cards can be easily programmed or "burned" using ordinary USB drives, or card readers. Granted, there would still be needed an elementary BIOS to read from these cards, but these could be very very basic and hardly would ever need reprogramming.

Well, I tried reprogramming my corrupt Shuttle BIOS chip with another motherboard using the hot flashing technique, and after endless burnings of many failed CD boot disks with the required files, I discovered they of different make. One uses Award (the Shuttle) while the other uses AMI, grrr. Oh well. I will try to get a new BIOS chip from Shuttle and if they won't send me one, I will need to RMA the whole barebone system. Ah such a nicely designed piece of hardware laid to waste because of a stupid easily corruptable BIOS chip. No wonder the BIOS Saviour thingy is getting to be so indispensible!

Friday, December 02, 2005

Updating Aggregate Data on MSSQL 2000

Ok, this is one of those little things that I keep forgetting how to do. So its the perfect new entry for my programmer's blog :

How do you update aggregate data from another table (or view).

Here is the example:

update tablename set newaggregatevalue=(select aggregatefunction(field) from tblX where groupbyfield=tablename.fieldtogroupby)

The important thing to remember is that you can have a where clause referencing a field from the table that is going to be updated.

I am not sure if this is how you can also do it in mysql, I sure hope so.

I start my programmer's journal

I have been programming on and off for several decades now. Some of the techniques stick with me of course but as languages develop and progress, one must learn particular ways to do things and these particulars tend to be quickly forgotten for a programmer like me who doesn't dedicate all of his time to it (my main job is comic book retailing).


Thus the purpose of this blog. I plan to record here those little tricks that must be learned sometimes the hard way and that are easily forgotten, and maybe on the way help some other googlers finding these exact same solutions. I had considered implementing my own blog software but I am firm believer of avoiding reinventing the wheel. And this is just so much more easier and simpler, it allows me to concentrate on what I really need to be doing instead of wasting so much time implementing a whole new set of web software.


My language of choice is Delphi because I have always loved Pascal, even though I don't agree as to how Borland implements some of its object oriented programming to Pascal I guess I can bear it. The way it has tried to force variants is particularly ackward and here is were a less strict language like PHP shines. The problem with PHP of course is that it is geared towards scripting but if PHP had a good IDE and compiler like Delphi maybe I would switch entirely (maybe it already does, and I haven't had the time to explore it).


My main programming work deals with databases and here I use MS SQL Server 2000, although my final goal is to migrate to MySQL all of my databases (and hopefully also to Linux via Kylix!). That is why all my Delphi database development is done using DBExpress. The dbexpress drivers I am using are from Core Labs, which I found after a bit of experimenting to be the most stable. Also I use Infopower 4000 components, and for my Delphi internet tricks I use Indy 10.