As a programmer (or sysadmin, IT professional, cluster maintenance worker, scrum leader, etc) there will absolutely be times that a debugger isn’t powerful enough or optimal enough or simple enough.  For some classes of problems, whether they be visual (graphs, animations), size (too much stuff changing too quickly), security (only munged objects come with this module) etc, a debugger will only hinder your ability to work.  We inevitably go to data logging for these classes of problems, as it’s quite simple to learn and generally the first method that we’re taught.  Unfortunately, it’s also the most lackluster and limited method of debugging information that we have.  However, it doesn’t have to be.  I’m going to be highlighting a super simple but powerful idea that may just change the way you debug.  Debug logs that are fully executable Python programs.  Read on for more info and some examples.

Seriously, you can do a lot with debug images

Do your debug logs do this?

Continue reading »

 

So I was unwinding after work today, and I thought it’d be fun to create a little Javascript function and mobile-optimized site for changing textual words to American Sign Language.  *FYI I throw stuff up on my GitHub all the time, and it doesn’t always make the blog.  Everything runs on the client browser, nothing is ever sent to my server and it’s safe to embed in applications.  It only took about an hour to throw together, mainly because the only public domain images are that of the manual ASL alphabet.  That in itself seems like a problem somebody should do a Kickstarter to solve (seriously).  Anyway you can check out the page here, and check the source out here.

For those copy-pasting on a mobile site or tablet (I didn’t use any libraries, it should run on pretty much anything), it’s www.hunterdavis.com/asljs/

This is the sort of thing I think we should all take more time to actively do.  Just write some code for the heck of it, and get it out there to share.  Even if it’s a little thing.  Especially if it’s a little thing!  You never know what will come of it, and it’s a great way to get ideas out there.

© 2012 HunterDavis.com Suffusion theme by Sayontan Sinha