Forgot your password?
typodupeerror

Comment: Ridewithgps.com (Score 1) 188

by hamoe (#29644149) Attached to: Open Access To Exercise Data?

I do a decent amount of cycling and have a Garmin 305 that tracks heart rate, cadence (pedaling speed), location, and time. I always thought it would be a lot of fun to play with the data, and have been working on a site for a while with a couple friends that has some cool features (mouse over your elevation and see where it is on the map, determine time spent in heart rate zones, estimate power output in watts, calories, put it on a calendar - currently working on finding other times you rode the same section of road and race yourself)

Without a GPS unit, you can draw a route and we pull elevation data off our server if we have it (we have the continental US in 1/3 arc second accuracy, pretty good), estimate instantaneous grade, etc... fun project and people are finding it useful

Anyway, check it out if you want: ridewithgps.com

Comment: Re:Who cares (Score 1) 80

by hamoe (#26218407) Attached to: Rails and Merb Ruby Web Frameworks Merge

Yes, it has changed a lot in the past few years, but it has only been around for four years and took time to mature. Deploying it has not been that difficult for a while now in a dedicated environment, and with Passenger (mod_rails) it is ridiculously simple even in a shared environment. Running Rails apps via CGI has not made sense for quite a while, even if you were using Fast CGI, Mongrel and a load balancing proxy have performed better and been easier to set up for quite some time.

Also, I'm not sure exactly what you mean about no debugging. ruby-debug works well, you can catch exceptions and do what you want with them, there are plenty of monitoring options, etc.

Comment: easy way (Score 1) 215

by hamoe (#25740395) Attached to: Saving Energy Via Webcam-Based Meter Reading?

put the camera in a fixed position with consistent lighting. figure out the pixel coord of the center of each dial. pick a fixed radius from that center point where there is minimal interference (there is either dial, or its that off white color). now just look at all the pixels in the circle around that point at that radius, and it should be easy to figure out if you're pixel is part of the dial or not. it is going to be sort of close to white #ffffff or sort of close to black #000000, either way, there will be an easy to detect dramatic difference. figure out the angular range that the dial covers (eg it covers from 61 deg to 66 deg) average that, and you have a fairly precise direction its pointing, then convert that to whatever scale the dial is using.

to make it easier you could run the image through some imagemagick filters (command line image processing) to reduce noise or simplify the colors.

Administration: An ingenious abstraction in politics, designed to receive the kicks and cuffs due to the premier or president. -- Ambrose Bierce

Working...