August 01, 2007

ow

owowowowwww! :(

Posted by JAY at 05:38 PM | Comments (1)

August 12, 2007

Poor Finger

Sigh. Not paying attention and rushing with the chopping - not a good combination. I took off a good bit of fingernail. (Good thing I have fingernails! They really do protect your finger!) Do NOT click on the continue link if you're squeamish... it's not that bad, but if you're squeamish it might be disturbing.

Annyway. Blood went everywhere: the walls, floor and sink in the kitchen and bathroom. Apparently fingertips bleed like crazy. I wrapped a clean sock around it and applied a lot of pressure. Unfortunately, I held it too long and I bled and clotted around the sock fabric. I soaked it in water (cold water, warm water, salt water) for hours trying to get the freaking sock off. I cut away everything except the bit that was stuck to the sock.

Everyone I was talking to was bugging me to go to the hospital (Renato, Brian and the pharmacist working the late shift at the drugstore that I eventually went to buy bandages at) but damned if I was going to go to the hospital with sock stuck to my finger. I slowly peeled it back - that was painful... I could see little tendrils of flesh coming up with the fabric.

Of course, that started it streaming blood again. This time I clamped paper towel over it instead and headed to the hospital. $12 in parking, 5 hours, some nice gauze fingerbandaging and a tetanus shot later, and I was free. It's been healing nicely since and now I can type on it.


Posted by JAY at 06:36 PM | Comments (0)

August 13, 2007

Steak Dinner


I didn't plan on taking a pic of this, but it was really yummy so... that's why it's messy. I lucked out and got a beautifully marbled ribeye steak from the grocery. I fried it and a whole bunch of veggies that I have to use out (peppers, green onions, avocado). I also bought a whole bunch of fruit - a case of mangos, a basket of peaches and a couple of packages of raspberries. There were some good sales on them, so even though I'm not much of a fruit person...

Posted by JAY at 07:27 PM | Comments (0)

August 18, 2007

ADO.NET sucks!

God, I hate ADO.NET. It has to be Microsoft's least intuitive database interface ever.

Everything's in a collection, so you have to index everything. You need a TON of objects to accomplish the most basic of tasks. Prior to ADO.NET, you just needed a connection, command and recordset. Now, you need a connection, data adapter, dataset, command builders, and more.

Datasets contains a collection of recordsets, helpfully called "Tables", which contain collections of rows and coumns. All of that means that to navigate a recordset, you have to navigate the indexes like Dataset.Table(0).Columns(2).Name. Instead of Recordset.MoveNext you have to increment the indexes or use the "For Each x In Collection" syntax (or I guess you could use incrementers like array indexes).

After writing changes to a 'recordset' (dataset.table(x)), instead of just Recordset.Commit, you have to use the CommandBuilder object to generate the command to update the database. The intuitive syntax for this?

Dim myCB as New SqlCommandBuilder(myDataAdapter)

Now, you wouldn't think that just creating a new command builder would alter the data adapter significantly, but it does. Then you can run:

myDataAdapter.Update(myDataSet)

Argh. (Yes, I realize that this entry will sound like crazy talk to non-programmers and probably baby talk to experienced .NET programmers)

Posted by JAY at 07:40 PM | Comments (0)

August 22, 2007

Testing, Testing

So I joined a competion at work for a promotion that I'm not sure I want. Basically everyone lies about their credentials to qualify to write a test to see if you get the position. Even our CFO has agreed that it's a really dumb process (he refers to it as a "beauty pageant").

Anyway, I'm pretty good at tests, but not so much at the lying about the credentials. I mean, really, some of the stuff that they want you to put on the application is pure memorization stuff about silly processes (like the 'software release process') that are all listed online. So sometimes I don't get to take the tests because I don't put it on the application.

This particular test was pretty focussed - just on programming. I think I did ok, but all my answers were sub-optimal. I could've used regular expressions on the first question but didn't know I'd need to know it, so I did it the long way. Stuff like that. I'm a bit worried about the last question, because I think the writer of the question didn't use order of operations in forming his answer (ie. the answer was 2007, I think, if you DIDN'T use order of ops, which didn't even occur to me to do, since it's just incorrect).

So we'll see, I guess.

Posted by JAY at 11:27 PM | Comments (0)

August 25, 2007

Recipe: Carrot Cake


I wanted cake and had some carrots getting old in the fridge. So I made carrot cake. This is a convenient cake because most times I have the ingredients on hand. I looked it up on the Fine Cooking website. I didn't have regular olive oil, so I used half extra virgin olive oil and half veg. Also, using the convection oven, I reduced the heat to 325F, which still baked the cake at the lower end of the time listed. (This explains why my cakes have been a bit dry lately...)

Preheat oven to 350F

Cake:
In the mixing bowl, mix:
1 cup sugar
1 cup firmly packed light brown sugar
3/4 cup olive oil

In a bowl whisk:
9 oz. (2 cups) all-purpose flour, sifted
2 tsp. ground cinnamon
1 tsp. grated nutmeg, preferably freshly grated
2 Tbs. baking powder
1/2 tsp. salt

In a bowl whisk:
4 large eggs, at room temperature
2 tsp. vanilla extract

Alternately add the flour and eggs to the mixer and mix.

Stir in
3 cups grated carrot
1 cup toasted pecans, chopped (optional, I don't like nuts in cake)
1/4 cup dark rum

Prepare two 9" round cake pans by oiling them and lining them with oiled round parchment paper.

Divide the cake among the pans and bake for 35-45 minutes, till a toothpick comes out clean.

Frosting:
Paddle in the mixer:
Two 8-oz. packages cream cheese, somewhat softened
1/2 cup honey
1 Tbs. grated orange zest
1/2 cup heavy cream

I didn't have honey, so I just used icing sugar. I also used regular cream and reduced the amount.

Posted by JAY at 11:38 PM | Comments (0)