Voder-Vocoder

The Log of Hal Canary

Navigation: Home | THE LOG | Log Archives | Resume | Contact Info | Public Key | SSL | Math Applets | Site Map | WP Backend | RSS2 | Atom

Archive for the “Uncategorized” Category

zip-one-file

#!/bin/sh
## zip-one-file
## DTPD
for x in "$@"; do
  zip "${x}.zip" "$x"
done

Hal Canary | Uncategorized | 2010-02-24 08:47:50 UTC
Permanent Link | No Comments

On “Big Government”

It's so hard to argue against people who lie about what they believe. Remember that GWB increased the size of government more than any other president.

You are not against “big government”; you are in favor of “let's trim 10-20% off the government while leaving it pretty big” or something like that.

If you really mean “let's trim 10-20%” can we please stop being so melodramatic? As I've whined before, moving government size, or tax brackets, by a few percent is not the difference between capitalism and socialism.

  • Libertarian: government should be 5% of its current size.
  • Socialist: government should be 200% of its current size.
  • Republicans and Democrats judged by actions not rhetoric: government should be 105% of whatever it just was. Disagreement on where the new 5% goes.

(—Havoc Pennington)

Hal Canary | Uncategorized | 2010-02-20 09:26:42 UTC
Permanent Link | No Comments

Olive Oil Balsamic Vinaigrette

Olive Oil Balsamic Vinaigrette
(makes 2 cups)

  • Balsamic Vinegar, 1/2 cup
  • Yellow Mustard, 2 tablespoons
  • Extra Virgin Olive Oil, 1+3/8 cups
  • Salt to taste
  • ground black pepper to taste
  • Spices (onion, garlic, et cetera) to taste

Shake well. Use sparingly, as it has a lot of calories.

Hal Canary | Uncategorized | 2010-02-13 09:09:09 UTC
Permanent Link | Comments Off

without morals

“Lawrence Lessig calls for a Constitutional amendment on campaign financing.” Why not an amendment limiting the *political* rights of corporate people? Isn't that the underlying problem?

Hal Canary | Uncategorized | 2010-02-06 10:14:52 UTC
Permanent Link | Comments Off

re: Χριστός-mas

Today is Christmas Day, a US federal holiday that coincides with the Christian holiday Christmas. Christ is a transliteration of the Greek word Χριστός, which means "smeared with oil." In the ancient Mediterranean, people smeared themselves with vegetable oil in much the same way that we use petroleum-based hair conditioners and skin lotion. But the Hebrew and Jewish peoples had a tradition of ritual smearing for kings; in this sense, the first Christians called Jesus the Christ to proclaim him rightful King of the Jews. Later Christians redefined the term to mean something else, since kings don't usually end up crucified before they take office.

Hal Canary | Uncategorized | 2009-12-25 11:29:28 UTC
Permanent Link | Comments Off

Current version of hot cocoa recipe

  • 4 teaspoons cocoa
  • 4 packets splenda
  • 1/6 teaspoon cornstarch (helps thicken the cocoa suspension)
  • 1 pinch salt
  • 1 cup boiling water
  • Add milk or cream for additional calories

Hal Canary | Uncategorized | 2009-12-17 19:22:05 UTC
Permanent Link | Comments Off

sed in place

#!/bin/sh
SEDCMD="$1"
shift
for x in "$@" ; do
  dirt=`dirname "${x}"`
  tmp=`mktemp "${dirt}/tmp.XXXXXXXXXX"`
  sed "${SEDCMD}" < "${x}" > "${tmp}"
  mv "${tmp}" "${x}"
  echo "$x fixed."
done

UPDATE: The next day I realized that

sed -i

does exactly the same thing.

Hal Canary | Uncategorized | 2009-11-29 00:45:32 UTC
Permanent Link | Comments Off

Copyright 1997-2007 by Hal Canary.
mailto: h3 at halcanary dot org
xmpp:halcanary@jabber.org
aim:halwcanary
http://halcanary.org