Sunday, March 9, 2014

Pi Eyed

Worked on a few kits this weekend from my kickstarter collection.  This one was PiRingo another flashing lights board.
  I am doing this a bit more earnestly since I am teaching a  summer STEM course for high school students on using python to do Internet of Things stuff using Raspberry Pis.
I am appreciating RPi.GPIO, although the lower case i, is a source of error, even though it is cute.
It i sonly 3 hours and I have to teach them the python logic to work the boards so it is going to be more tweaking the code.  Can do light sensing and temperature sensing (and of course the blinking lights) but should I even attempt anything mobile?  I would appreciate any suggestions and will post what I finally do.

Also stumbled across Ren'Py today, a "Visual Novel Engine."  It is strange enough to give it a look.  I will report on that and I owe you one on lua, I have been side tracked by a machine learning tool in lua, Torch7 and am trying to get my arms around it.  For all the apt-gets and brews in the world, some things are still just damn hard to install!

More soon.  I just soldered my first surface mount for a DocJava audio processing shield.    It is not pretty but I think it will work.  Later!

Sunday, January 26, 2014

Gone Fishing



This weekend I did a quick raspberry pi i/o kit, the fish dish from Pi Supply.  Not one of my best soldering jobs but it works.  It is a nice, elementary and cheap shield to test using the i/o ports of the raspberry pi.   The board has an elementary speaker, LEDs and a button.  The test program that a user submitted uses python and its RPi.GPIO library, very straightforward on the Raspberry Pi.  The kit is less than $15 and will be out soon.  Mine was delivered early since I supported the kickstarter that launched it.

One caution is that it seems that the latest NOOBS version of Raspberry Pi really needs more than a 4 gig SD card,  I advise 8 or 16 gig.  Now I am wondering whether python scripts or arduino sketches will be my i/o software of choice.  For most embedded projects the arduino will win due to its size and the final will be in C and not in sketches.

So when does one stay pat with the programming languages they know?  Well I am 62 and still want to learn new languages!  I am wondering whether Dart should be next.  Any opinions?  Later!






Wednesday, December 25, 2013

Christmas Sparks

I had some time to play with my newest chunk of hardware, the spark core.  It is a sweet little board embedded in a breadboard for prototyping fun.  It also connects to Wi-Fi and has a cloud to support it.  You can read about it here.  Of course a picture is warranted:

Registration begins with a smart phone app that assists in Wi-Fi registration, much like chromecast but not as smooth.  Nonetheless it did connect after some handstands - hint you need WPA-2 not WEP and this finally moved me to upgrade my home network!  It is a good thing. 

The spark core folks include in their smart phone app tinker which lets you do elementary operations on the pins.  You can flash an led from your iPhone and more.

More on hacking with it later in the week.  Later, and Merry Christmas!

Saturday, November 9, 2013

Killer UX



I just got finished reading Killer UX Design by Jodie Moule.  (Please note that O'Reilly provided a copy of this for free through their review program, which I recommend by the way.)  The book has several features that make it ideal for someone who is interested in usability or has been doing it for a few years.  What is unique about this book is that it provides a very comprehensive case study and weaves it into a thorough usability process.  This book is a great complement for more encyclopedic books such as Designing the User Interface or User Interface Design and Evaluation.  At the end an app, cook,  is produced and I actually downloaded it from Apple's app store.

The book takes the reader through the process using the app to illustrate the steps in the process: Research, Insight, Concept and Design.  Throughout she provides sage advice on when to delve deeper and when to let it go.  She also focuses on behavior and behavior change.  A quote from page 125:
Based on what we know about the users and the environment, what does a [new way of living and behaving] look like?
This illustrates the constant strong emphasis on behavior change and not just cranking out an app.  The book is lavishly illustrated and I do recommend it highly especially for folks interested in usability or in their early years.  Do not get it if you want a comprehensive survey of Usability.  Do get it if after reading the comprehensive books listed above you want to then actually focus on usability in your next project.

Bottom line is that I do highly recommend it.  In fact, I am going to use it in my HCI class in 2014.
It has been a while sicn eI posted on this site, hope to do better!  Later.

(cross posted - also on my Software Universe blog)


Thursday, October 31, 2013

Tighten your bolts

Just a post wishing everyone a Happy Halloween and hoping you avoid zombie processes and scary code.  Continuing from my post last weekend the UDOO is quite a board.  More on it soon, later!

And this is my 2014 rendition of halloween:
Hop eyou enjoyed your halloween!

Sunday, October 27, 2013

UDOO? Well I do.

So I received my UDOO last week which I snatched during its kickstarter campaign.  I was surprised at how easily it booted once I found the nearly appropriate power supply should be 6-15 volts dc at 2 amps, I found one at 9 volts 1 amp.  My next amazon order will include a 2 amp 12 volt power supply.

Here are pictures of the board and the initial screen.  Unlike rasbpi you do not get all of the gruesome but useful details of the boot - at least for their ubuntu OS variant, which is unfortunate.  I will probably boot android next and determine whether there are more initial diagnostics.



One immediate bit of advice for the aging hackers among us is to come prepared to create an .Xresources file and add this line:

xterm*font: *-fixed-*-*-*-18-*
Turns out the xterm in UDOO Ubuntu is initialized in 6 point font!  Very painful for my reading glassses.  You will have to reboot to make it so. 

I ran the old Byte nbench benchmarks and got some interesting results with what I am sure is not exactly a tuned kernel.  For example the numeric sort was 492.92 on the UDOO using gcc 4.4.1 while a 3 Gig Xeon ranged from 684 to 973 depending on the gcc version (not as recent as the UDOO version).  According to a post on the raspberry pi site the rasb pi did score was 200.4.  Not bad for a $100 quad sporting an arduino!  I will keep you posted on my adventures with more extensive comparisons to the raspberry pi and beaglebone black.

On a totally unrelated note, one of my friends Allan Wilks is walking from Scotch Plains to Toronto, Ontario, Canada.  You can follow him on the link I provided and his adventures are truly inspiring.  Allan is one of the nicest, kindest folks I have ever met and if you are along the way, please offer, if you can, to have him stay at your place for the night.  You will be rewarded with an evening with an outstanding and brilliant person.  Allan Wilks along with Rick Becker and John Chambers invented the Statistical package S - you may be more familiar with the open source package R.  If you are not along the way, check out the blogging on his site.  It is interesting and inspiring.

Much more in my queue but no time for now.  Hopefully more in another week.  Later!


Sunday, September 29, 2013

Kid's say the darndest things

So I am up a week on iOS 7 and overall I like it.  From an Aging Hacker perspective the white glare caused by the thin fonts, results in a bit more page glare than I'd like An option to soften the white background would be great.  It gets tiring to read after a bit.  The bright colors will require an acclimation period too.  My least favorite iOS 7 converted app is the New York Times.  Absolute;y hate what they hav edoen with it, but not enough for me to unsubscribe.

But the best comments come from my favorite class of early adopters, kids.  Art Linkletter had a show with that title and he would ask children questions and would receive some stunningly honest and comedic answers.  This frank approach to life makes children intriguing for product feedback.  Therefore it was not totally a surprise to me that one of the members of my google group software-universe posted this comment:

To give you some background, my older daughter is 5 now and has been using my iPhone (and later iPad) since she was ~1. 

I upgraded my iPad to iOS 7 over the weekend. When she asked to play with it, I handed it over expecting her to react to the nice new wallpaper that I set up and new look for the lock screen. Instead, she was confused and no longer knew how to unlock it. Watching this unfold kind of soured the update for me...makes me think that there are fundamental issues with the design cues.
But then she acclimated:

...She hasn't had any trouble since that initial reaction, and is back to finding her Minnie Mouse puzzles and interactive books without issue.
Thanks Sean Kilpatrick for letting me blog those comments!  Another group member, Brad Bershad, creator of ZUMIC, pointed to this video of a child's reaction to the change.  Change is difficult!

On the hardware front I supported a project on indiegogo, $9 arduino leonardo compatible board (which was actually $11, I got 2, but he threw in some leds, buttons, a small breadboard, misc resistors, diodes, ..., and cables) from borderless electronics.   I took it for a spin this weekend and really liked it.  Looks like there is nothing in the way of moving to some Christmas lighting projects.

Sorry it was so long between posts, but I had a rough September.  Hope to do better in the coming months.  Later!