Archive for March, 2011

 

links for 2011-03-30

 
 
  • iMockups for iPad is the premiere mobile wireframing and mockup app for your web, iPhone and iPad projects.

    The ease and mobility of an iPad app with the power of a desktop app at your fingertips.

http://www.adoptioncurve.net/archives/2011/03/links-for-2011-03-30.php

Paging Baron Pandastein

 
 

Nearly two years ago, this panda and I went to Howduino in Liverpool where he underwent surgery to implant tri-colour LEDs and a moving-coil meter into his protesting body. Today we went to Howduino at the Temple Works in Leeds, and the surgery was completed.

In his midriff he’s got an old aircraft fuel-flow meter – it’s basically a moving coil voltmeter with a dial calibrated from 0 to 800 pounds per hour. From the markings on the back, it looks like it came from a 1950s-vintage V bomber – possibly a Valient.

This was born of a distinct lack of web data sources that are calibrated in hundreds of pounds per hour (and that have a maximum of 800), and general hair-trigger punctuality geekiness.

It takes me exactly 4 minutes to walk to the nearest bus stop, but if I leave with more than 8 minutes to spare I end up feeling like a delinquent teenager while I hang around the shelter waiting for the bus to arrive. So this panda is connected to the interwebs via an Arduino, and is polling Travel South Yorkshire’s really-rather-badly-designed Your Next Bus site.

He shows the number of minutes to the next bus arriving – less than 4, and there’s no point in me leaving the house because I won’t get to the stop in time. More than 7 minutes, and I don’t need to go yet.

The electronics side of it is fairly trivial – it takes a PWM output from the Arduino and feeds that through a voltage divider to step the signal down to a maximum of 0.15V (which is the full-scale deflection voltage of the meter). There’s a variable resistor in the divider so that the accuracy of the meter can be tweaked as needed.

The code is also fairly simple, using the Arduino’s Ethernet and HTTP libraries to access the web, and the TextFinder library to parse the page that’s grabbed from the SYT site. I’ll put the code up on Github in a day or so.

In the video, he’s in test mode – so he’s polling a random number on a page on my site, which is why the dial is flying around all over the place. Eventually (i.e. when I next go to a Howduino event, probably) his eyes will light up as well, and will fade from green to amber to red as the bus gets closer. But that will probably take another two years…

links for 2011-03-23

 
 

links for 2011-03-15

 
 
  • The ability to encrypt and safeguard data is an essential ability that every serious tech should have in their arsenal. Various technologies can be used to provide crypto solutions with virtually all of the major programming languages.

    Technology wise we have the MCrypt Library, hashing functions, SSL, GnuPG, databases typically have built-in crypto functions, hardware devices, smart cards and so on.

    Today I have the pleasure of exploring encryption and decryption using the MCrypt Library via PHP's MCrypt API. The goal of this article is to a) demonstrate the MCrypt API in action through a working example; and to b) provide you with a general purpose PHP crypto class I dub cryptastic intended to help you in your pursuit of a decent crypto solution.

http://www.adoptioncurve.net/archives/2011/03/links-for-2011-03-15.php

links for 2011-03-04

 
 

links for 2011-03-03

 
 

Start with a vision of what you want

 
 

Edwin Land, inventor of the Polaroid camera, once said that his method of design was to start with a vision of what you want and then, one by one, remove the technical obstacles until you have it.

Fred Brooks

links for 2011-03-02

 
 

links for 2011-02-28

 
 
 
 

About

Hello, I'm Tim. I'm a geek who builds online and mobile software and also takes photographs and messes around with technology. This is my personal website.

You can find out more about me and browse through the full archives. I also take photographs, and hack around with things. You can find me elsewhere on the interwebs, get in touch, or subscribe to a feed from this site.

Creative Commons License
The site's content is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.0 UK: England & Wales License, unless indicated otherwise. Please don't steal it :-)

About this site

This site is powered by Wordpress, and hosted by the nice people at Linode. The template is custom-built and based on 960bc and the 960 grid.