afex2win.com
KT phone home
Jan 17 2007

The Hacker’s Diet - A WordPress Weight Loss Plugin

This is the very first public release of my WordPress plugin based off John Walker’s book The Hacker’s Diet. The version of this release is 0.9 beta. It is compatible with WordPress versions 2.0.x or higher.

What is it?

The Hacker’s Diet is a plugin which you can use to input your weight everyday for calculating and tracking your weight trend based off the guidance and formulas used in the book, The Hacker’s Diet by John Walker.

Why did I write this?

So last August I noticed something. That “something” was that I couldn’t button my pants because my gut was too big. So I was faced with a decision: either buy new pants or lose weight. Now that I think about it, I guess this all started due to the fact that I hate shopping! Either way, I began to look into weight loss systems. I thought things like Atkin’s and South Beach were just gimmicks, so I dug deeper. Then I found The Hacker’s Diet, written by the founder of Autodesk (creator of AutoCAD). It was written by a nerd, for nerds, and it really inspired me. The first paragraghs of his book sum up the whole concept of weight loss very succinctly.

There’s an old Wall Street tale: a tyro asks an old-timer, “How do you make money in the market.” The wise man answers, “Nothing could be simpler: buy low, sell high.” The beginner asks, “How can I learn to do that?” The sage responds, “Ahhhh…that takes a lifetime.” Simple doesn’t mean easy.

There is no magic secret to losing weight and keeping it off, just as there is no hidden key to instant wealth. Nonetheless, every year another crop of “magic diet” and “secrets of investing” books appear on already-creaking shelves. The human capacity to ignore inconvenient facts and avoid unpleasantness is immense. Success in any endeavour requires coming to terms with the true nature of the task at hand and, if the goal is worth the effort, getting on with it.

“How can I lose weight?” “Simple, eat less food than your body burns.” “How can I learn to do that?” Read this book.

There was one problem, to me, with his system. Since it was originally written in 1991, you had two choices for tracking your progress: pen and paper (what is this, the stone age?) and Excel spreadsheets. I found the spreadsheets extremely lacking, and I thought to myself “Man, I wish there was a cooler web-based version of this.” And with that, this plugin was born.

The plugin

This plugin serves one primary purpose: to replace the original spreadsheet’s functionality while increasing usability. Here is the current (simple) feature list:

I have been personally using this plugin in my WordPress install for the past 5 months, and I have decided to publically release it the same day that I hit my weight goal. (Go me!) The development process has been very iterative. I first wrote the bare minimum needed to replace the weight logging part of the system’s spreadsheets, and then over the past 5 months have added features to either recreate functionality of the original spreadsheets, or add cool stuff as I saw fit. :)

But to be honest, I really haven’t touched the code in about 3 months since it was stable and did everything I needed. Recently I’ve worked on some things that were on my “todo” list, and I now feel that the plugin is ready for public use.

Download

hackersdiet_0.9b.zip Current version: Download from Wordpress.org Plugin Repository

Screens:

Added link to the Dashboard for quick one-click access to the admin screen for easy daily weight entry. Daily weight list with gap between weight and trend shown. Flickr-style edit-in-place for quick and easy data entry. Graph of previous 2 weeks located on main admin screen. Set goals and the plugin will help you keep on track. Quick links to commonly used charts, and RSS feed of updates from my website. Reporting screen.  Choose dates to a create a custom graph.

Enjoy!

Jan 11 2007

hdr ain’t just for half-life 2

so today i saw a post on tribalwar with some amazing pictures in it, two of which were HDR. i started reading about the process and techniques for making cool images with HDR and realized with my new-fangled camera i could do it myself. cliff notes: hdr is when you take multiple images of the same subject at different exposures and combine them into one, keeping the best parts from each.

unfortunately i couldn’t get photoshop CS2 to work (some damn error about a command not being available, even though i tried all of adobe’s suggested fixes) but i was able to use an app called photomatix to help me for now. hopefully in the future i can get it working and make better looking images.

let me know what do you think. i bet it would be twice as good if i had a more interesting subject. but hey, at 11:30 at night, sometimes you just have to use the building across the street.

san felipe plaza

Jan 6 2007

luck favors the lucky

new melev sump

new melev sump

the sump and i

so i went to my first MARSH meeting today for only one reason: to buy a frag of a Leng Sy monti cap from another member. and i ended up with a custom-built Melev sump! i never win anything!

it goes like this: i’ve been on the lookout for a Leng Sy (or look-alike since they may or may not be lost from captivity) for awhile. on the MARSH site i saw one for sale. after talking with the seller, he says it is authentic as he supposedly got his from Mike Paletta. (or down that chain) i wasn’t too worried about it; if i get the tell-tale nodules it will just be a bonus. since he lived pretty far away, we decided to meet at the MARSH meeting at ADG today.

the meeting’s guest speaker was Marc Levenson, well known sump and acrylic DIY afficionado. he gave a talk about sump design and how to build stuff with acrylic. i’ve always wanted to build my own sump, but due to apartment life the closest i’ve gotten is throwing some glass baffles in an old 29g tank. (aka my current sump) as a surprise, they anounce that all MARSH members get one free ticket for a sump to raffle off. damn, i thought; i’m not a member yet. and the only cash i had on me was just enough for the Leng Sy. so it turned out the computer at ADG had internet, and i was able to sign up and pay right there. they gave me a raffle ticket and not 5 minutes later they drew my name out of the bucket! i was floored. i was this close to not even bothering with it since i didn’t have the cash to become a member.

so now i have this behemeth of a sump (48″ x 16″ x 16″) sitting in my dining room and plans for all the new equipment i’m going to buy spinning through my head. for those that care, the story behind the sump is that it was custom made for a customer of Marc’s, but Fedex didn’t handle it well and it arrived cracked. so they sent the sump back and the guy got a refund. but the sump was barely damaged, so Marc patched it up and brought it to houston for the meeting. Thank you Fedex; your incompetent workers netted me a new toy!

It’s probably the best $30 I’ve ever spent.

Jan 3 2007

nick saban is dead to me

nick saban

oh no! my nfl team sucks! time to run away to some other team that is offering me more money. it’s ok though, i’ll just quit if they suck and get offered more money somewhere else and milk my LSU cred for the rest of my career.

i’m sure your kids are loving the stability you talked about when you gave your reasons for leaving LSU. this just in from a reliable reporting source: saban is a “backstabbing, money-grubbing asshole”

and now i have two reasons to hate Alabama. one for this, and the other……well it’s Alabama.

Next Entries »