geek
Just get home already
Submitted by kirk on Thu, 10/23/2008 - 13:06While waiting for Jen to return from a conference, I thought about calling her to get her estimated time of arrival, or her ETA. I realized she might be might be pretty far away still and thought I better ask for an estimate of the accuracy of the estimate, or meta-estimate: her META. Hey, neat! META can be a recursive acronym for "meta-ETA", so it also references the nature of the acronym itself, sort of making META a meta-acronym, which truly makes it both meta and META.
Be careful with FCmobilelife
Submitted by kirk on Thu, 10/16/2008 - 08:48There is a new time management application for BlackBerry phones called FCmobilelife. Just as a warning, potential users should know that FCmobilelife was written by SCO, a bankrupt company famous for suing AutoZone and DaimlerChrysler, customers who were moving away from SCO's software to something else.
Now, I won't directly tell anyone to avoid FCmobilelife, mainly because I think SCO is a collective of lawsuit-happy cretins and I don't want them coming after me, but would urge users to be extremely careful about building business relationships with its developers.
PgDBF
Submitted by kirk on Thu, 06/26/2008 - 10:44The PgDBF project is moving to its new home on SourceForge, at http://pgdbf.sourceforge.net/ . All new updates and code will be posted there.
In defense of the Model M
Submitted by kirk on Thu, 05/29/2008 - 12:17There are few joys in life like using something that is the perfect expression of its intent. Each trade has its representative tools, and their common trait is quality, even if it's not obvious to the casual observer, and often counterintuitive. The best tools in a category are almost always the least flashy, and rarely the ones a new practitioner would choose.
Komando? Gorilla.
Submitted by kirk on Sun, 05/25/2008 - 21:53A man calls into a radio show because his son received an obviously-spam email telling him that he's been kicked off of Facebook. The host gets worked up and sympathetic and wants to handle it like a legitimate eviction notice, even though no one's verified whether the kid can still log into his account.
Another man calls a radio show because his business stores a lot of personal information about its customers, and he wants to know what he should do to keep that data safe. The host tells him to install Norton Internet Security.
What do they have in common? They made the mistake of asking Kim Komando for help.
Yet another Python map()
Submitted by kirk on Wed, 04/16/2008 - 09:11In another article, I described a replacement for Python's built-in map() function that could take advantage of multi-processing systems. That one was based on the standard Unix fork(). Since then, I've written another based on Parallel Python that is much simpler and lets other, better-tested code do all the hard work. It could also be easily extended to run on a cluster instead of just the local system, but I haven't been inclined to tinker with that too much yet.
Note one possibly important difference from the builtin map() function: this version returns a generator that yields values as they are calculated. That way, you can launch the parallel processes then go on with other work while you give the workers a chance to finish their jobs.
Fun with software licenses
Submitted by kirk on Sat, 03/15/2008 - 13:25Did you know that you're probably not allowed to make backups of your computer? It's true, if you believe in the legal fiction known as "End User License Agreements" (or EULAs), which are those annoyingly long contracts where you have to click "I Agree" before you're allowed to install some program or another.
For example, here's a snippet of the Adobe Integrated Runtime (AIR) End User License Agreement:
2.3 Backup Copy. You may make one backup copy of the Software, provided your backup copy is not installed or used on any computer.
Nice, huh? If you install this software, its EULA forbids you from making more than one backup copy. This is a deal-breaker for business which keep multiple backup archives from days, weeks, and months past.
Don't bump that flash drive!
Submitted by kirk on Mon, 01/28/2008 - 17:29From the manual of an Asus Eee PC:
The solid-state disk drive's head retracts when the power is turned OFF to prevent scratching of the solid-state disk drive surface during transport.
I think someone got a little zealous with the find-and-replace.
Buffer overrun in "Antitrust"
Submitted by kirk on Mon, 01/28/2008 - 14:21Skip this unless you're really, really geeky.
Still with us? OK. In the movie "Antitrust", there's a screenshot of some code that has a possible Denial Of Service vulnerability:
The Daily WTF: Curious Perversions in Information Technology
Submitted by kirk on Thu, 01/24/2008 - 18:19Funny geek stories
XBaseToPg
Submitted by kirk on Fri, 01/11/2008 - 13:11Replacement Notice!
I'm dropping my work on this project in favor of PgDBF, which is functionally identical, faster, and easier to maintain. If this is your first time here, use that project instead. If you're already using XBaseToPg in production, you should probably switch anyway.
Introduction
So, you want to convert some FoxPro tables to PostgreSQL, huh? You're in the right place. Although this project works well for one-time data migrations, it's designed and highly optimized for regularly scheduled jobs.
Installation
- Download the "xbase64-3.1.2.tar.gz" archive from the Xbase project at Sourceforge.
- Extract it and apply the XbaseToPg patch below.
How not to save a game
Submitted by kirk on Fri, 01/04/2008 - 23:46I was about halfway through a game called "Final Fantasy XII: Revenant Wings" on my Nintendo DS. I was having a great time and loving it until a stupid bug wiped out all the work I'd put in and made me start over.
When I was in the middle of a particularly involved battle, the red "low battery" warning light came on, so as soon as I finished I tried to save my game. Big mistake. The DS used up its remaining power during that instant and turned itself off. When I plugged it into the charger and turned it back on, I got a message saying that my game file was corrupt and had been deleted.
The dawn of mechanism
Submitted by kirk on Sun, 12/09/2007 - 14:09Let a robot do your dirty work.
I love the little iRobot Roomba vacuum cleaners, but something about their new tagline bothered me until I identified it. If I am certain of anything, it's that in 50 years the National Association for the Advancement of Digital People (NAADP) will use that quote as proof of our society's discrimination against Mechanical Americans.
