Sunday, January 1, 2012

Sole F63 -- L51 Low Speed Error

I moved my treadmill and it hasn't worked since. Apparrently this is fairly common, but my experience with their troubleshooting team was that while they were helpfule, some of their advice wasn't the best.

I've finally gotten my treadmill working again and figured I'd post my experience to hopefully help somebody else out since I couldn't find much online.

Before contacting Sole, I tried out the easy stuff in the owner's guide:
- try to calibrate
- adjust the speed sensor

Then we contacted Sole and they sent us a box of stuff without having us do any real troubleshooting.

The box had a new controller board, a new speed sensor, and some new wires to connect the main control unit.

Advice here is that as you try out the new pieces, don't undo any of the nice twisty ties that have the existing wires in place or take the wire out of the front right leg. Just run the wires to the side quickly to eliminate whether or not they change the symptoms. Also take pictures of the wiring to the mother board so that you have a nice easy reference.

Likewise, monitor the behavior of the controller board. My symptom was that the mother board would get power, a red light would come on, and then it would make a single click. Never a second click.

I was able to prove the motor worked fine by hooking up the power to the battery from my drill.

Sole sent me another motherboard to swap out which didn't change any symptoms.

The piece that finally fixed it was a whole new console. The explanation here is that the click from the mother board was sending a signal to the console saying it was ready for commands but the console was never responding telling it to turn the motor on and get running.

Saturday, October 8, 2011

Twitter Cardinals List

For those of you jumping on the bandwagon or wanting to see all of the cardinals tweets without signing up or learning how to use twitter.

Here's the link: @keithentzeroth/cards

Go Cards!

Thursday, August 4, 2011

Fitbit Still Works After Jumping in a Pool!

Alright, so I know having a fitbit in some shorts when you jump into a pool is hard to explain, but it happened....a month ago now. Fortunately, some of my other friends had already ruined their fitbits by getting them wet. What did I do differently? When I took the fitbit out of the water, I didn't press the button on the device and then i dropped it in a bag of rice for 3 days before I did push the button. It was dirty, but it worked. Everybody else said that their battery wouldn't hold a charge after getting wet, but mine is doing great.

Hope that helps somebody someday.

Adios.

Friday, April 8, 2011

Android Phonegap Native Timepicker

So I've been working on a simple android app and I finally got audacious and started to move beyond the basics. I was able to get an app in the store with just my HTML/JS/CSS skills pretty easily which makes phonegap a big success.

Anyhow, now my latest fiasco was to try and use the native android timepicker and while I've still got a ways to go, I wanted to reference a discussion I had with myself on the google group.

As I get better at this stuff, I might end up understanding how to do it within the plugin architecture but for now that's it.

Cheers.

Thursday, May 27, 2010

mongodb command line basics

The best command line references i can find are:
http://www.mongodb.org/display/DOCS/DBA+Operations+from+the+Shell
http://www.mongodb.org/display/DOCS/Querying

A command line session for me normally starts something like this:
>show dbs
admin
local
test
>use test
>show collections
users
things
>db.things.find()

Saturday, May 15, 2010

HTC Hero Mount USB to Mac Os X (macbook pro)

I wanted to get the media off of my htc hero and onto my macbookpro, but plugging the USB cable in does not result in a notification on android which allows me to mount sd card through the USB cable.

I found lots of promising articles, most of which pointed me to either Twisted, which didn't work for me, or to the Android developer SDK. I'm fully capable of using the SDK but this seems like overkill for such a simple issue.

My Solution: Close the lid on the macbook. Plug in the phone and then I get the notification allowing me to mount a USB. Once mounted, its the same as working with any other USB card.

Friday, April 9, 2010

Django Forms: Widgets That Could Use Examples( RadioSelect, SelectDateWidget, CheckboxSelectMultiple)

In trying to use django built-in forms, I stumbled through a few of the built-ins wishing that there had been better documentation.

Here's my attempt to help others looking into using RadioSelect, CheckboxSelectMultiple, or the SelectDateWidget.

These are all excellent features and the more I use Django, the more I like it. Chalk up Forms as another part of django that blows away any other web framework I've worked with.


from django.forms.fields import ChoiceField
from django.forms.fields import MultipleChoiceField
from django.forms.widgets import RadioSelect
from django.forms.widgets import CheckboxSelectMultiple
from django.forms.extras.widgets import SelectDateWidget

YEAR_CHOICES = ('2010','2009')
RADIO_CHOICES = [['1','Radio 1'],['2','Radio 2']]
CHECKBOX_CHOICES = (('1','The first choice'),('2','The Second Choice'))
class SimpleForm(forms.Form):
radio = forms.ChoiceField( widget=RadioSelect(), choices=RADIO_CHOICES)
date = forms.DateField(widget=SelectDateWidget(None,YEAR_CHOICES) )
checkboxes = forms.MultipleChoiceField( required=False,
widget=CheckboxSelectMultiple(), choices=CHECKBOX_CHOICES)

Monday, March 15, 2010

Mechanize vs. Scrape:

In the process of automating functional tests, I have ran across another python library, mechanize, that looks to be very promising. Perhaps, even more so than scrape.py?

http://wwwsearch.sourceforge.net/mechanize/
http://stockrt.github.com/p/emulating-a-browser-in-python-with-mechanize/

So far it seems that the mechanize platform is more powerful, as it is able to handle complex tasks like managing a gmail inbox( see http://libgmail.sourceforge.net/ ).

My take so far is that scrape.py offers some nice features for validating that a given page has the tags and elements I am looking for. I'm still new to both of these libraries so if anyone out there has experience with both and could help nudge me in the right direction, it would be much appreciated.

Sunday, March 14, 2010

Google Apps Mail Accounts: ICanHaz Themes?

I have mail accounts through google apps on a few different domains and it drives me crazy that I cannot customize the theme as I can with gmail. So a simple workaround: use a free gmail account in tandem with any google apps account that you use enough to desire a theme.

Within a free gmail account, it is easy to send all mail through a different account; in this case, send mail from the google apps account. Then on the flip side, forward all mail into the google apps domain into the mailbox of the gmail account. Voila! Use the gmail account with all the power you're used to, and nobody will know....unless they see that logo has changed ;)

Monday, March 8, 2010

Installing the PIL: Mac OS X 10.6 and Python 2.6.4

In short, learn from others:

Install python manually: http://twitter.com/delagoya/status/9883676332

Setup PIL w/jpeg support in a virtualenv: http://breadandpepper.com/blog/2009/oct/2/django-development-snow-leopard/

And now you've got a top notch django dev env running py 2.6.4.

Tuesday, March 2, 2010

Al Gore ops in on climate change

An interesting post in the nytimes today from Al Gore continues to paint the doom and gloom scenario for the US if we don't act now to stop man made global warming.

http://www.nytimes.com/2010/02/28/opinion/28gore.html

I struggle every time I read any thing that states Carbon Dioxide is a pollutant. If I remember correctly, CO2 is a byproduct of human life.

Personally, I'm tired of the whole global warming debate and I think most people agree with the need to keep the environment clean and work towards energy independence.

Can we stop the doomsday predictions already and take a positive approach to improving our position on these issues?

Monday, March 1, 2010

scrape.py for functional website testing

This solution is perfect for testing your website's functional capabilities. Scrape.py supports sessions and cookies so hitting your authenticated resources is cake.

Here's a quick sample i wrote to test things out:
from scrape import *
s.go("http://www.google.com")
s.follow("Sign in")
x = s.doc.first('form')
params = x.get_params()
params['Email']='keithentzeroth'
params['Passwd']='xxxxxx'
s.submit(x,params)
s.go("http://www.google.com")
print s.doc

Try it out with your google account. To verify you're logged in look for the Sign Out link or alternatively look for a GAUSR cookie in s.cookiejar.

Thanks to Ka-Ping himself for clearing up some of my confusion.

My plan is to use this to test the site as if there were no script/styles enabled. Then to layer on browser behavior ( AJAX etc...), I'll look to Selenium or something of the kind.

Saturday, February 27, 2010

Robbie Hummel Out for Season: Are my Boilers Done?

Purdue vs. Minnesota Highlight

While I love to think that E'Twaun, Jajaun and Keaton are enough to keep the Boilers as one of the most feared teams in the country, the loss of Hummel takes away one of our most consistent players and our best pure shooter.

I hope the team can step up without him, but right now I'm worried that history may be repeating itself. See 2008-2009 season and Robbie's back injury...

Thursday, February 25, 2010

Mac Newbie Tips: Screen Captures

It hasn't been too long since I exclusively started using mac at home and work so I'm still catching on to some of the great little things Apple has thrown in here.

This morning's enlightenment was around capturing screen shots, both full and partial, on my mac. I was reading a blogpost about apps to replace the Snapper add-on I used to use and the author dropped a subtle hint about shift+command+control+4.

With a little search engine power, I found a useful page from apple, http://www.apple.com/pro/tips/secretcapture.html.

The basics:
Command+Shift+3 = Screenshot Saved To Desktop
Command+Shift+4 = CrossHairs For Snapping To Desktop
Shift+Command+Shift+3 ( or 4) = .... To Clipboard For Pasting to Photoshop/eMails etc...

Monday, February 22, 2010

Anecdotes on India's Healthcare

Both of my children got sick while we were in India this trip so I got a chance to see the healthcare system in India at work. I made the trip to the doctor twice with my daughter.

Encounter 1.
My daughter got a fever on the night train and had stopped eating. The previous day she had a couple instances of diarrhea. I told the doc that i had been alternating doses of motrin and tylenol every 4 hours and that it was keeping the fever under control.

After a brief exam with a stethoscope, I was told to only give the tylenol and to start her on an anti-biotic for her stomach. Total: 80 Rs. Medicine included.

We were extremely concerned that an anti-biotic without any tests might not be the best option, but we took the advice on tylenol only.

Encounter 2.
Next day, daughter is still not eating and still showing some symptoms of fever. This time I had done a throat exam myself and knew there were swollen tonsils with some white cold sores in the back of her mouth. The doc was able to identify the throat problem easily but I wonder if it would have been identified if not for my own inspections.

Medicines were prescribed to help start eating again and help fight the infection. Total: 150 Rs. Medicine not included.

Takeaways.
  • Cost of care is very cheap.
  • Quality of care is suspect(anti-biotic prescription w/out any exams).
  • Waiting times were normal.
  • Payment was at time of care in cash.
  • Equipment was lacking
For me, the care i receive in the USA is hands down superior to what we received while in India. However, the cost to receive care in the Indian system is dramatically lower to the USA system.