Dell Inspiron is more expensive than Optiplex (updated)

Dell shopping tip:
Similar computers may have very different prices.

Logging Very Slow SQL Queries, in PHP

MySQL has a feature to log slow queries, and it's nice, but the problem is, a lot of the queries look alike. So what you want is a backtrace so you can find the code that created the query.

Postfix Install Stuff

(argh, forgot to back up my postfix work. i have to start fresh, so this is an opportunity to document work.)

# first get a superuser shell with sudo
sudo -s

apt-get install mailutils

Install Java JDK into /usr/local/bin

There's a zillion ways to do it, and editing $PATH is probably the best, but I didn't want to do that, so I did this:

Limited Email

I've been working on learning postfix and migrating email accounts to it. The service I'm dreaming about is going to be "limited email" and differs entirely from the big email servers.

Paranoid email about "Anti-Christian" Government

I got on a right-wing PAC's email list, and got this.

Dear Fellow American,
The very troops who defend our religious freedom are at risk of having their own taken away.

Javascript APIs and Libraries Change the Game

I was thinking a bit about the JS co-learning thing, and discovered that services, APIs and libraries really change the game, or have changed the game.

Horizontal Javascript Class

Sketching out a possible class for learning Javascript / learning to learn Javascript / learning to teach Javascript.


Old DVD Loader is not Reading Pressed Disc

After a long afternoon of watching The Big Bang Theory on DVD, the loader stopped reading discs. I thought it was a software issue, so tried a bunch of different things, but this thread seems to say that DVD lasers wear out.

Copying Parts of a DVD with Read Errors

If you have a DVD that you're ripping that has bad sectors, and it's not a commercial one with intentional bad sectors for copy protection, you can try to salvage the files in parts.

Using Mutt to Read Spam and non-Spam Messages, and Train Spamassassin

This explains how to set up your server to go over email messages that have been rejected as spam, and then help train the Spamassassin Bayesian filter to correctly identify these messages.

IBM/Hitachi Deskstar GXP-180

smartctl 5.43 2012-06-30 r3573 [x86_64-linux-3.5.0-27-generic] (local build)
Copyright (C) 2002-12 by Bruce Allen,

SMART Commands and Reports for Good and Bad Disks

I'm really not sure where to put this, so it's being put here.

JS localStorage Demo

The attached file is a rudimentary demonstration of persistent local storage in the browser. You can click on it to see the page in action, and do a view source on that page.

Adding a Disk to a Linux System using Command Line Tools

I was faced with installing a new disk on a home server, and while I've done this a hundred times, it seemed to be difficult enough to deserve yet another tutorial, if only for my own reference. It's not hard, but until the new GNOME GUI tools were developed, it was a kind of complex process. (It's complex on all Unixes, for some reason. BSD is even more difficult than Linux.)

Syndicate content