Cooking Websites

Here are some cooking websites, youtube channels, etc. I'll try to put the ones I use or study here.

Just Hungry
Chanfles!
IMMAEATCHU
Cooking With Dog
Manjula's Kitchen
Cooking with Kai
Maangchi

More on Iterators and Iteration

Iterators are one of my favorite language features or design pattern. They're a feature that, when done correctly, basically vanishes.

Camera Photopools on Flickr


I went to the Roaring Aughts event featuring photographer Slobodan Dimitrov, and, in addition to enjoying the photo show, got to hear a lot of discussion about cameras that was way over my head. It was heavy gearhead talk.

Turning California WARN PDFs into Text

This was an odd project. Taking several PDFs of layoff data and turning them into text, so they might be used more like a database. This info should be offered up by the state as a database, but it's not (at least it wasn't to me). I ended up using a PDF to Text application to generate text files, then wrote these scripts to scrape the data out of the text. My goal was to dig up all the unionized workplaces.

Turn URLs into Links Without Affecting Existing Links (and a gripe about collective stupidity)

This is one of those problems that has been solved, but, it's been solved in incomplete ways so many times that these not-too-useful answers outnumber the useful answers, totally messing up web searches. This consequently seeds the idea that this is an intractable problem! Even at stackoverflow, they say it's really tough.

Random Integers (J2ME)

So, I'm studying J2ME, and for some reason (maybe the wrong version of CLDC?) I can't use random.getNext(n). I can't specify the range of the random number. What a pain.

I wanted to avoid doing floating point math, and fell back on a C trick. To get a random number from 0 to 500:

Move Files into a Directory Named for the Modification Date

This script is being used to move files around in a Maildir. A bunch of spam goes into the "new" directory.

MS Outlook: Remove Duplicate Contacts

This is a pretty good de-duper based on the one posted to a forum.

VBA: Transforming XML Error Messages into VBA Errors (Raising or Throwing Errors)

This is trial code that I used to translate an error from a Yahoo web service into a COM ErrObject.

It's not real XML parsing, but good enough for this purpose. IF an error message is sent, we extract the message and then use Err.Raise to throw an error.

MS Access: Quoting Strings in SQL

I was having a real WTF moment with Access. I'd coded up an SQL query in access, and a string had a single quote in it, fouling up the query.

The SQL was something like this:

SELECT * FROM Places WHERE Name='Joe's Bar'

Obviously, I forgot to quote the string correctly. For some reason, web searches didn't really turn up much about quoting text strings in SQL statements in Access. There was a lot of code that looked like this:

sql = "SELECT * FROM Places WHERE NAME='" & name & "'"

Pizza

Pizza is not hard to make.

Dough:

In a large bowl, dissolve 1 packet of yeast in 1.5 cups of water. To dissolve it, let it sit 10 minutes.

Add 1 to 2 cups of all purpose or bread flour, and a pinch (1/8 tsp) of salt. Stir with a fork to mix. Cover with a plastic bag. A clean grocery bag is perfect.

Let the dough sponge form over 1 day (24 hours or so). It's ready when it smells a little funky, like beer.

Change Web Host Company Without Downtime (Linux or BSD oriented)

This outlines how to change web hosts with minimal downtime. It won't go step by step, or explain, too much.

MS Access: Geocoding and Distance Reporting

This is some code and controls that help you geocode addresses, and prepare a report of addresses sorted by distance from a point.

It's based on the Excel Geocoding Tool, but expands on it by adding a few features, including caching of calculated locations.

Addresses are stored in their own table, and are normalized a little bit, so that you don't end up geocoding the same address over. (For example, if you have 50 people at an office, that location should only be geocoded once.)

HOWTO: An EXIM + Spamassassin Mail Filter

The office was experiencing more spam, with a disproportionate effect on mobile phones. The existing spam catching gauntlet was operating well for desktop clients, but mobile phone users weren't benefiting because most scanning and removal ocurred after the messages got into the inbox. This meant that, often, spam was forwarded to the mobile phone before it got detected.

My abatement strategy was to filter mail before the message got to the mail server. One option is an external mail filter, like Postini. My choice, described below, was to set up Spamassassin anti spam software on an in-house Linux box.

The Cost of Bagging Groceries

I was at Food 4 Less (or was it El Super), watching people bag their own groceries. What would it cost if someone was there to bag them, I wondered?

Syndicate content