-
Recent Posts
Friends
- Aletheis
- Ardents En Zed
- Ari Gesher
- Benjy Feen
- Blogo Perea de Sid
- Cynical Mom
- dannyman
- Dave Dribin
- David Lemson
- Declan Fleming
- Geoff Raye
- Joe Gross
- Kathy Schrenk
- KC Lemson
- Keith Garner
- Liz's Pictures
- Lorah Gross
- Mark Notarus
- Marty McCarthy
- Matt Williams
- Mike Kolb
- Reasonable Goods
- Rebecca
- Rene Hendrix
- RJ
- Saul Pwanson
- Sean O'Connor
- Steven Engelhardt
- Tim Skirvin
- Tom D
Politics
Sports
Recent Comments
- Sambal : C++ Runtime Types: Find All Classes Derived From a Base Class (2) on C++ runtime class registration
- Generate diagnostic message for HRESULT codes? | The Largest Forum Archive on Get Error Message from HRESULT
- C++ Runtime Types: Find All Classes Derived From a Base Class (2) « Sambal on C++ runtime class registration
- JV on Juniper NetConnect on 64 bit linux
- Daniel Howard on Is Blagojavich the most corrupt …
Categories
Meta
Category Archives: tech
Open Source Project of the Week: Dovecot
For being totally awesome and easy to configure and install, building support for SSL, and having a debian package available when I needed it: Dovecot! Congratulations, you’re my open source project of the week!
Posted in tech
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
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
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
CTA transit map
Lots of people have them. I like mine. Check it out. How I did this: Installed PostgreSQL and PostGIS Tried to load data from the City of Chicago Maps SHP file. Discovered the City uses a weird, us-ft based projection. … Continue reading
Posted in tech
12 Comments
m4 quoting
m4 quoting examples: define(A,1)dnl define(B,A)dnl define(`A’,2)dnl B should be 1 define(`B’,`A’)dnl A should be 2 B should be 2 define(`B’,“A”)dnl B should be `A’
Posted in tech
Leave a comment