Author Archive

The Commonly Confused Words Test

Advanced

You scored 86% Beginner, 93% Intermediate, 93% Advanced, and 66% Expert!

You have an extremely good understanding of beginner, intermediate, and
advanced level commonly confused English words, getting at least 75% of
each of these three levels’ questions correct. This is an exceptional score. Remember, these are commonly confused English words, which means most people don’t use them properly. You got an extremely respectable score.

Thank you so much for taking my test. I hope you enjoyed it!

For the complete Answer Key, visit: http://shortredhead78.blogspot.com/.

My test tracked 4 variables How you compared to other people your age and gender:
You scored higher than 14% on Beginner
You scored higher than 27% on Intermediate
You scored higher than 41% on Advanced
You scored higher than 27% on Expert

Link: The Commonly Confused Words Test written by shortredhead78 on Ok Cupid

Comments off

Samba Password Expires

I’ve had this problem with an old install of samba, after upgrading a while back it keep expiring the password for users. I could find anything in the docs or howtos for Samba. Today I managed to figure the right google search and discovered this single page: [Samba] Password expires.

This was fixed in eitehr beta3 or rc1. You need to stop smbd, remove the account_policy.tdb, and restart smbd. The new default is to set the must change password field to something like NT_TIME_MAX (0x7fff ffff IIRC).

Update (08/04/05): Also you can tweak account policy numbers with pdbedit. [ See passdb. ]

Comments off

Darik’s Boot and Nuke

I’ve got a pile of old drives I’ve been meaning to wipe and sell. Darik’s Boot and Nuke is the business for this job. It talks directly to the disks, so even if you have a drive that the BIOS can’t see, it probably still can run wipe.

Comments off

Build Your Own PBX

Comments off

The View

Comments (1)

Up and Running

Replaced my old colo machine with a newer IBM X335 SCSI RAID1 based system this afternoon. Usually story, things never go according to plan.

I’ve replaced my User-Mode-Linux based system with XEN. Seems to work well. There are a few performance issues. I think though this is mainly network related. All the disk direct benchmarks I’ve done so far seem to indicate similar performance for the host and guest domains. Of course, since the Host is itself a guest of of the hypervisor it doesn’t running completely at native speeds. Unfortunately I didn’t spend the time doing some disk benchmarks for non-XEN kernels. However the “buffered disk reads” figures I posted previously should be the almost twice as much for a SCSI U160 system.

No matter, at least its better than the glum and glue I was using previous. I’m use the XEN guys will get around to improving this performance in due course. Anyway the performance in the guests is better than a UML based system, and I never really had much luck with the Linux vserver project.

If my back wasn’t giving my some issues at the moment, I’d probably make a short list of issues I had while upgrading and reinstalling the guest OSs. Then getting the applications (include wordpress) back up an running. For instances, took me a while to realise that mysql.so was commented out in php.ini by default. I was fiddling around with mysql GRANT tables, and all manor of other stuff. WordPress needs a better error message for this situation, more like the phpmyadmin. While on the subject of MYSQL Grant tables, this page is a the main reference on the various different levels (column, table, database, global) of privileges.
Anyway a list of these later.

Comments (4)

Xen

I’ve been trying out Xen for my new colo machine. It has a few rough edges, but it seems much nicer to use than UML. I’m planning to run an internal NFS service as one of the guest domUs, something I would never considered with UML. However, since a domU can get direct access to lvm block devices its pretty much as quick as running from the ‘host’ dom0.

Note, the host instance dom0 itself is a ‘guest’ running on top of the hypervisor.

Read the rest of this entry »

Comments off

Home and End in OSX

Here is a good tip for one of the things I find annoying in OSX:


Create a file ~/Library/KeyBindings/DefaultKeyBinding.dict with this content:

/* Home/End keys like Windows */
{
"\UF729" = "moveToBeginningOfLine:"; /* home */
"\UF72B" = "moveToEndOfLine:"; /* end */
"$\UF729" = "moveToBeginningOfLineAndModifySelection:"; /* shift home */
"$\UF72B" = "moveToEndOfLineAndModifySelection:"; /* shift end */
}

Also:


"^\UF729" = "moveToBeginningOfDocument:"; /* control + home */
"^\UF72B" = "moveToEndOfDocument:"; /* control + end */

Comments (3)

LSI 1030 RAID Status on Linux

For a month or so I’ve been trying to get mpt-status 1.0 compiled on my new IBM x335 running Debian/Linux 2.6.10.

After finally finishing some other work tonight I start down and looked at it hard. Finally figuring out that it was missing the define macro for __user. So I added #include <linux/compiler.h>, and voilรƒย !


$ sudo ./mpt-status
ioc0 vol 0 type IM, 2 phy, 136 GB, flags ENABLED, state OPTIMAL
ioc0 phy 0 IBM-ESXS ST3146807LC FN B25H, 136 GB, state ONLINE
ioc0 phy 1 IBM-ESXS ST3146807LC FN B25H, 136 GB, state ONLINE

Update: Well supported version of mpt-status now avaliable from ratz.

Comments (15)

Mutt Thread Sort By Most Recent

Using the default thread sort in mutt and reading a message that was receive today, attached to a from the start of February I had a momently realisation that it would be nice if mutt could sort the threads by the date of the most recently arrived message, rather than the first message in the thread.

Quick google and I have my answer:


set sort=threads # default sort messages by thread
set sort_browser=reverse-date # showing mbox list default to newest first
set sort_aux=last-date-received # showing threads with youngest message last

Comments (3)