Archive for the 'Uncategorized' Category

MySQL: Can’t get stat of

Monday, July 19th, 2010

You try to do:
load data infile ‘/home/you/yourfile.txt’ into table lol (username, foo);
and it says:
ERROR 13 (HY000): Can’t get stat of ‘/home/you/yourfile.txt’ (Errcode: 2)
It’s a permissions problem. Even if you chmdo 777 the file it still won’t work. Move your file to /tmp and try it again:
load data infile ‘/tmp/yourfile.txt’ into table lol (username, [...]

Introducing libgithub (and my CSS modification for it)

Friday, February 12th, 2010

My friend, Matt Sparks, today released libgithub (git repo), a javascript-based widget to show information (commits from projects, etc) from github accounts.
I have modified the CSS for libgithub and made my own compact version. Here’s a demo

IE 6,7 and 8 limit the number of CSS files you can have

Thursday, November 12th, 2009

How outrageous. I’ve been testing with a few different files and I’m finding it’s 30 or 31 files is the most you can use. Now you may be saying, “Nobody needs 30 CSS files anyway”. My two-part response:

Yes, this is horrible for performance and, in general, very poor practice - however:
The place [...]

Food storage calculator review

Friday, October 16th, 2009

For those survivalists / preppers out there: Emergency Essentials has a food storage analyzer. Basically calculates all the statistics about your food (nutritional value, etc) and tells you, based on your gender and age, how long you can live off of it.
You can put basically any product they have on their site in it [...]

30% of those earning $100,000 or more live paycheck to paycheck

Wednesday, September 23rd, 2009

Incredible. 21% in 2008. I’m not posting this as a sign of hard times.. I’m posting this in amazement of how much people spend no matter how the economy is doing.
Counting down the hours until payday? You’re not alone.
As the economic downturn trudges on, many workers are struggling with household budgets. About six [...]

Dvorak for handheld devices

Sunday, August 9th, 2009

Dvorak, my favorite keyboard layout, has greatly improved my life in the regular full-sized keyboard world. I wish it were easier to do in the handheld world. Certainly not right now, but maybe soon enough.
I recently picked up some free stuff while side-of-the-road dumpster diving. One item was a PDA/phone from 2005. [...]

Casio EX-F1 manual focus problem

Thursday, June 18th, 2009

I was trying to get my EX-F1 to use the manual focus the other day. Couldn’t do it no matter how hard I pressed the focus button on the side of the camera. All the other buttons worked fine. I looked in the manual and couldn’t find anything relative to my problem. [...]

New camera - EX-F1

Saturday, May 9th, 2009

My last camera, the legendary Fujifilm F31fd, broke while on a tripod that got blown over on a very windy day. I bought a new camera to replace it: the Casio EX-F1. It can do high definition video as well as slow motion. On my martial arts blog I have a video [...]

New Martial Arts Blog!

Tuesday, March 3rd, 2009

I started a new martial arts blog recently. I’m using a separate space than this blog because I want to keep the content centered on the topic.
I’m going to cover martial arts, fitness, body weight exercise, etc. I’ll talk a lot about different arts, different exercise methods, practicality in martial arts, martial arts [...]

Compare weather from all parts of the country with awesome graphs

Saturday, February 28th, 2009

Kees Cook’s Compare Climate tool lets you compare climate data from tons of major cities all over the United States. To select multiple cities or data from the menus hold down CTRL on your keyboard.