Archive for April, 2003

Wireless Security

Wednesday, April 30th, 2003 | 12:14

A book review on Slashdot to keep in mind for future use, in case we have to or want to set up wireless in the combined apartment, since I don’t want long cable runs going through the living room/hallway/dining room, etc. There’s also supposed to be a new wireless security protocol that’s supposed to [...]

Brown Belt Test

Tuesday, April 29th, 2003 | 22:40

It was yesterday. It went well.
There were actually few surprises, since we’d seen a number of sankyu tests before. The parts of the tests were: kata and bunkai; wrist and lapel grabs; various open-handed attacks, including defense when lying on the ground or in a chair (The chair was something we hadn’t done [...]

Pyrex Digital Thermometer

Thursday, April 24th, 2003 | 10:34

The probe for my Pyrex Digital Thermometer died this morning. I was making yogurt this morning, and found that the thermometer kept telling me it was 110 degrees, even though I had dunked the probe into cold water. Thankfully, I realized this before the milk was out of the microwave; the yogurt was [...]

b2 hack ideas

Thursday, April 24th, 2003 | 08:34

A couple ideas for b2 hacks to file away until I have time in a month or so:
Enhanced search engine: This will require a moderate amount of work. The new search engine for the web log will be based on a concordance system, with two tables. The first table contains a list of [...]

Driving across the Brooklyn Bridge

Wednesday, April 23rd, 2003 | 23:57

These were taken from the car a couple of weekends ago, a little past the “golden hour” near sunset.

File uploads with PHP

Wednesday, April 23rd, 2003 | 23:53

As a stress relief from the horrors of VBScript, I’ve been working on trying to get file uploads to work again with the b2upload script, now that register_globals=off has been configured. This script wasn’t written to accomodate this new configuration.
The changes were ultimately somewhat minor, especially after finding this piece of documention on the [...]

Tofu With Spinach Sauce

Wednesday, April 23rd, 2003 | 23:16

Found in today’s New York Times:
Time: 40 minutes
1 1/2 pounds spinach
12 ounces firm or extra-firm tofu
2 tablespoons butter or oil
1 tablespoon minced ginger
1 tablespoon minced garlic
3 dried chilies
2 tablespoons garam masala or curry powder
Salt to taste
1/2 cup yogurt
1 1/2 cups light cream or half-and-half. [...]

Perl regex reference

Tuesday, April 22nd, 2003 | 11:04

Found a Perl regex reference when trying to figure out how to capitalize the first letter of every word.
The way to do the capitalization involves using the right-hand term as a perl expression:

$string =~ s/\b(\w)/uc($1)/eg

So, the Perl uc() function is invoked on the pattern match buffer from the left-hand side. Clearly, the [...]

Test in one week

Monday, April 21st, 2003 | 09:45

This is the last week before the test on April 28.
For work, we have a project due on the same day, so this week will be busy. It’s possible I won’t be able to go to class as much as I’d like.
On Friday, I discovered that the prescription sports goggles I own were broken [...]

b2print enhancement

Sunday, April 20th, 2003 | 09:42

Minor enhancement to the b2print.php script, which creates a printable version of a post. I’ve modified the make_url_footnote function found in b2-inc/b2functions.php to generate BR-ized output, with URL footnotes at the bottom. The modifications were minor, basically taking out a line that did a strip_tags() on the content, and putting in some formatting [...]