Author Archives: David Terrell

Atom Feed

I’ve switched my atom feed from atom 0.3 to atom 1.0. A few things don’t support atom 1.0 yet (google.com/ig, I’m looking at you!) so you can use meat.net/wp-atom03.php to get an atom 0.3 feed.

Posted in meta, tech | Leave a comment

Enemies List

Why does Thinkgeek hate me so?

Posted in tech | Leave a comment

Happy First Day Of December

And how better to start the month than with a little poetry… Hello mailman my old friend, I see it’s the first again. And my mailing list passwords were written on the studio wall Email ‘em all It’s the sound… … Continue reading

Posted in random | Leave a comment

Get Error Message from HRESULT

Need to look up the error string for an HRESULT code? Here’s some code to do so. #include <comdef.h> CString GetMsgForHresult(HRESULT hr) { CString cs; CString msg = _com_error(hr).ErrorMessage(); cs.Format(_T(“Error 0x%08x: %s”), hr, msg); return cs; }

Posted in tech | 2 Comments

PHP Debugging Tip

Page not loading right? Try putting this at the top inside a <?php block… print_r( $_REQUEST); I was having a problem where http://meat.net/2005/11/xml-js-freeze/ was coming up blank. Turns out the following regexp is at fault: RewriteRule ^(.+).xml /index.php?feed=$1 [QSA,L] I’ve … Continue reading

Posted in tech | 10 Comments

Bill O'Reilly's Enemies List

I can only hope this is enough to get on it…

Posted in politics | Leave a comment

microsoft XML DOMDocument and javascript error

I’m encountering a weird error where an embedded copy of IE is failing to load XML properly. Here’s the best approximation I have of what we’re doing:

Posted in tech | 2 Comments

Target Boycott

I’ve just sent this message to Target customer service, regarding their decision to allow pharmacists to refuse to fill legal Plan B prescriptions: I’m a frequent shopper at the Evanston Target near my house. Until and unless your current Plan … Continue reading

Posted in politics | 1 Comment

Don't trust John Lott

Tim Lambert explains why not to trust John Lott.

Posted in politics | Leave a comment

Baseball and SQL

Two great tastes that go great together. One of the greatest things ever is the Lanham Baseball Database. It’s a database of all baseball statistics since 1871, suitable for random SQL queries. Not quite pitch by pitch, but season by … Continue reading

Posted in baseball, sports, tech | Leave a comment