December 29, 2006
Can I return a defective employee?
Consumerist has a tale of a Best Buy employee claiming there are state and federal laws prohibiting Best Buy from refunding your money due to defective products. Now that's chutzpah! Here's my Best Buy story of the day. I go into their store looking to purchase a Keith Jarrett CD. Turns out there are exactly zero Keith Jarrett albums in the jazz section under J or K. I ask the clerk to look up Keith Jarrett on their computer system; he picks an album at random, sees that it is indeed a jazz album, and notes that the computer says that they have two copies in stock. We walk over to the jazz section and re-confirm that there are no such albums. The clerk then has the audacity to tell me that "one of your fellow customers" must have misplaced the albums. Customer service FTW!December 28, 2006
Embargoed
Gah! Bill Bennett and I agree on something! (To be fair, I think we agree for different reasons. I suspect Bill Bennett is angry that anyone dares criticize President Bush, whereas I wanted more reasonable people speaking out before we invaded Iraq in the first place. Either way, President Ford shouldn't have placed an embargo on his thoughts about Iraq.)December 22, 2006
Mmmm, Tropicana Orange Juice!
Add Meijer to the list of stores I'm avoiding. Some sicko at Meijer Corporate realized that the people standing in the checkout lines are a great captive audience, and so now they show advertisements to you on LCD monitors while you wait. Do you expect me to hop out of line, go back into the store, buy whatever crap you're advertising, and get back in line?December 20, 2006
Every blog post you've ever read
Hey! Watch me link to this post! Don't worry -- I only link to it because I happen to deeply relate with it at this particular moment. Hey, would you like to hear my political opinions?December 16, 2006
Database "version control"
I enjoyed this Coding Horror blog post and the associated comments. If you went by the post title alone, you might get a distorted view of what it's about. (i.e. Should I be able to roll back any database transaction at any point in the future? No, that's not what we're talking about!) What Coding Horror is talking about is keeping your database schema under version control. This begs the question: is anyone not keeping their database schema under version control? Hell, I'm a frickin' newbie, and even I figured out (by myself) that I should have a couple of SQL DDL scripts that allow me to recreate my database schema. Those scripts are easy to load and diff in version control. And, it makes deployment easy -- just send the scripts off to your DBA.December 15, 2006
December 14, 2006
A nothing will serve just as well as a something about which nothing can be said
Since I recently referred to Sam Harris, I should link to this wonderful article by James Wood. (Not James Woods, fool.) NOTE: To read the whole article, you'll probably need to use BugMeNot.December 10, 2006
December 8, 2006
Bangalore
Josh Marshall on the recent news about Indian penis length:There must be some globalization joke in here. But I'm afraid to find it. Maybe about out-sourcing?I think you'd do better if you start with "untouchable".
Mean!
I highly recommend Sam Harris' letter to the editor of the New York Times. I grow more impressed with Mr. Harris by the day; I'll have to buy his book soon!Remember the Alamo
So why do I drive down to Detroit to go to Honest John's? Because of specials like this:Help us celebrate December 7th with a Kamikaze! $3.00What? Too soon?
Handled automatically
So I was all ready to send in my bug report and reduction to Microsoft when I found this article on MSDN. It described my situation perfectly, and gave me just enough hints to fix the bug. However, I think the article is a bit self-contradictory. At one point, it says,Once you create a new parent row (for example, a row in the "Customer" table) and let ADO.NET generate its new Identity value, you can create as many child rows (for example, "Orders") as necessary and safely use the parent's ADO.NET-generated Identity value as a foreign key (so the child row is tied back to the correct parent). Yes, ADO.NET knows how to handle these relationships correctly when it comes time to post these new rows to the server.This, along with all the other ADO.NET documentation, lulls you into a false sense of security. Then the interesting part comes:
The real problems come when you want to find out what Identity values have been generated by the server-side DBMS engine. Unfortunately, ADO.NET does nothing on its own to help.How can you say "ADO.NET knows how to handle these relationships correctly when it comes time to post these new rows to the server" and then say that? Or even worse, include 200 lines of VB.NET code to teach ADO.NET how to handle those relationships correctly for a trivial example? Do you have a flawed understanding of the English language?
December 5, 2006
Tastes good, less filling
A Robert Kaplan quote that's so pithy and condescending, it must be true!The Internet now makes facts so effortless to obtain that there is the illusion of knowledge where none actually exists. With so many low-budget Web logs that do little more than emotionally react to the headlines, rare is the commentator who does the field work necessary to earn his opinions — or even his prejudices.
December 4, 2006
John 3:16:16.2788
So somehow I ended up watching a significant portion of the ECW December to Dismember. My favorite part was the one kid who held up the "SOH CAH TOA" poster. I don't know if that was a clever pun, or just completely random. I enjoyed it regardless.Without makeup
I have a special way of judging how far a particular version of Windows has progressed. I look at the Add Font dialog box. When you drag some fonts to your C:\WINDOWS\Fonts directory, a little box pops up and installs your fonts. In Windows XP, it looks something like this:
What the hell is that? It's easy to see that even though the shrinkwrap packaging says XP, it's still Windows 3.1 at heart.
I'm happy to report that when you try the same thing in Windows Vista, the associated dialog box looks like Windows XP! I call that progress!Depth charge
So I found a fun bug in Microsoft Excel XP. (It probably affects other versions, but I use XP on a daily basis.) While Wolf Rentzsch may be conflicted about talking about such a thing, I'm cool because:- I'm not a contractor;
- I didn't try to find a workaround*.
Option Explicit
Public Sub Workbook_Open()
Dim depth_charge As String
Dim i As Integer
For i = 1 To 88
depth_charge = depth_charge & i & ","
Next i
depth_charge = depth_charge & "89"
ThisWorkbook.Worksheets(1).Range("A1").Validation.Add _
Type:=xlValidateList, AlertStyle:=xlValidAlertStop, _
Operator:=xlEqual, Formula1:=depth_charge
End Sub
Close the VBA editor and save your workbook. Now close Microsoft Excel and open the workbook you just saved. (It goes without saying that you need to enable macros, which might mean that you need to set your macro security to Medium.) After the workbook opens, you should get an error. Click End at the error window. Now have fun trying to terminate the Microsoft Excel process.
* (You may be wondering, why not just use the Win32 API to create ComboBoxes programmatically, instead of creating a half-assed combo box using Excel's data validation feature? To which I say, kill me now.)December 3, 2006
I always get an A on every quiz
Your 'Do You Want the Terrorists to Win' Score: 100%
You are a terrorist-loving, Bush-bashing, "blame America first"-crowd traitor. You are in league with evil-doers who hate our freedoms. By all counts you are a liberal, and as such cleary desire the terrorists to succeed and impose their harsh theocratic restrictions on us all. You are fit to be hung for treason! Luckily George Bush is tapping your internet connection and is now aware of your thought-crime. Have a nice day.... in Guantanamo!
Do You Want the Terrorists to Win?
Quiz Created on GoToQuiz

R.I.P. Mario