Sunday, May 02, 2004

On my Linux box I use the last command to check to make sure no one has logged on. I noticed that the log was cleared on the first of the month and found out that it is reset based on parameters in this config file... /etc/logrotate.conf

Friday, February 20, 2004

When you import files into sql server 2000 the file needs to be named the same as the table. The wizzard never asks you which table.

Tuesday, January 20, 2004

I recently needed to come up with a good domain and came up with some tips for choosing a good domain name:
The key is to get something simple.
1) get a .com. No remembers all the other domains.
2) Domain name should be short. Ideally it should be a single word with around six characters. (think ebay, yahoo, amazon)
3) It should be easy to spell and unambiguous. Don't use "the" at the start or hyphens. (imho da-jump-offz.us would be a bad name)
4) Most real words are taken, so consider making up a word (think google, napster, blogger).
blogger is an interesting one because it is presumably a "contraction" for web logger.
This creates a unique brand and it avoids having to possibly buy the domain.

- register typical misspelling, probable typos and other domains (like .net, .org, etc)
For instance google.com owns gooogle.com (notice 3 o's)
-also consider registering domains that people might mistakenly associate with your name.
For instance dripcafe.com also owns drip.com.

You can always break the rules. For instance, I think http://www.menwholooklikekennyrogers.com is a good name because it is funny and easy to remember even though it's not short.

Tuesday, November 11, 2003

Software companies should choose unique names for their products so that it is easy to search for info on search engines.

In windows drag and drop moves a file. Holding down control will make it copy, and holding down shift control will make it a shortcut. If you use the right button to drag and drop it will prompt you on a context menu to move, copy, or create shortcut.

Thursday, October 02, 2003

today i had to break into a red hat linux 7.2 machine because we forgot all the passwords.
-on the red hat screen hit ctrl X
-then hit tab to display kernels (default will have star)
-type "kernel_name 1"
you are then logged on as root.

Wednesday, October 01, 2003

I downloaded an avi file and when I tried to watch it in windows media player it said "error downloading codec." I found out that all codecs have a four letter code. The easiest way to find out what the code for a file is to open it in notepad, and look for it on the first few lines. I realized mine was DX50. After googling for info on DX50, I downloaded the codec from http://www.divx.com/divx. I had to scroll down a little to find the download for just the codec, not the viewers that divx offers.

Tuesday, September 02, 2003

the commercial database market is dominated by three players:
ibm db2
oracle 9i, 8i, etc.
microsoft sql server

in the open source world the major players are mysql and postgres.
the pros/cons of mysql:

previous versions of mysql did not support transactions, and only supported table level locking (didn't support row level locking). however that is no longer true if you use the correct type of table.
http://www.mysql.com/doc/en/Locking_methods.html
http://www.mysql.com/doc/en/Table_types.html
mysql doesn't support subqueries

mysql doesn't have a procedural language or support triggers.