Author: scruss

  • Rowe Chester Banjo Capo

    Mike Rowe sent me a pre-production prototype of the Chester Banjo capo.

    It’s rather cleverly made from glass-filled nylon. This early version hasn’t had the mould polished, so it has a matte finish. It’s very light, uses a very precise (if a smidge slow) thumbscrew to tighten it, and clamps down in two places on the fretboard.

    This two-point contact means that it doesn’t pull the strings so far out of tune as a regular capo. You can shift the Rowe capo about a lot before you need to retune. Being a long neck banjo player, I capo a lot. Any extra weight on the banjo isn’t welcome either.

    It works best quite far back from the fret. Some familiarity is required to get just the right tone, else string buzz can be a problem. Tweak down the screw and level the capo, and all should be bright again.

    One really neat thing about the Rowe capo is its shape. It allows you to use it very far up the neck, and you can still fit your hand in. Here’s me playing what I think is an F# chord with the banjo capo’d to C# at the 9th (long neck) fret:

    Plenty of room for my hand. I rather like the Rowe capo, and many thanks to Mike for letting me try it out.

  • HSV colour cycling LED on Arduino

    Pretty much everyone tries the RGB colour cycler when they get their first Arduino. This variant cycles through the HSV colour wheel, though at fixed saturations and values.

    Code:

    // HSV fade/bounce for Arduino - scruss.com - 2010/09/12
    // Note that there's some legacy code left in here which seems to do nothing
    // but should do no harm ...
    
    // don't futz with these, illicit sums later
    #define RED       9 // pin for red LED
    #define GREEN    10 // pin for green - never explicitly referenced
    #define BLUE     11 // pin for blue - never explicitly referenced
    #define SIZE    255
    #define DELAY    10
    #define HUE_MAX  6.0
    #define HUE_DELTA 0.01
    
    long deltas[3] = {
      5, 6, 7 };
    long rgb[3];
    long rgbval;
    // for reasons unknown, if value !=0, the LED doesn't light. Hmm ...
    // and saturation seems to be inverted
    float hue=0.0, saturation=1.0, value=1.0;
    
    /*
    chosen LED SparkFun sku: COM-09264
     has Max Luminosity (RGB): (2800, 6500, 1200)mcd
     so we normalize them all to 1200 mcd -
     R  1200/2800  =  0.428571428571429   =   109/256
     G  1200/6500  =  0.184615384615385   =    47/256
     B  1200/1200  =  1.0                 =   256/256
     */
    long bright[3] = {
      109, 47, 256};
    
    long k, temp_value;
    
    void setup () {
      randomSeed(analogRead(4));
      for (k=0; k<3; k++) {
        pinMode(RED + k, OUTPUT);
        rgb[k]=0;
        analogWrite(RED + k, rgb[k] * bright[k]/256);
        if (random(100) > 50) {
          deltas[k] = -1 * deltas[k]; // randomize direction
        }
      }
    }
    
    void loop() {
      hue += HUE_DELTA;
      if (hue > HUE_MAX) {
        hue=0.0;
      }
      rgbval=HSV_to_RGB(hue, saturation, value);
      rgb[0] = (rgbval & 0x00FF0000) >> 16; // there must be better ways
      rgb[1] = (rgbval & 0x0000FF00) >> 8;
      rgb[2] = rgbval & 0x000000FF;
      for (k=0; k<3; k++) { // for all three colours
        analogWrite(RED + k, rgb[k] * bright[k]/256);
      }
      delay(DELAY);
    }
    
    long HSV_to_RGB( float h, float s, float v ) {
      /* modified from Alvy Ray Smith's site: http://www.alvyray.com/Papers/hsv2rgb.htm */
      // H is given on [0, 6]. S and V are given on [0, 1].
      // RGB is returned as a 24-bit long #rrggbb
      int i;
      float m, n, f;
    
      // not very elegant way of dealing with out of range: return black
      if ((s<0.0) || (s>1.0) || (v<0.0) || (v>1.0)) {
        return 0L;
      }
    
      if ((h < 0.0) || (h > 6.0)) {
        return long( v * 255 ) + long( v * 255 ) * 256 + long( v * 255 ) * 65536;
      }
      i = floor(h);
      f = h - i;
      if ( !(i&1) ) {
        f = 1 - f; // if i is even
      }
      m = v * (1 - s);
      n = v * (1 - s * f);
      switch (i) {
      case 6:
      case 0:
        return long(v * 255 ) * 65536 + long( n * 255 ) * 256 + long( m * 255);
      case 1:
        return long(n * 255 ) * 65536 + long( v * 255 ) * 256 + long( m * 255);
      case 2:
        return long(m * 255 ) * 65536 + long( v * 255 ) * 256 + long( n * 255);
      case 3:
        return long(m * 255 ) * 65536 + long( n * 255 ) * 256 + long( v * 255);
      case 4:
        return long(n * 255 ) * 65536 + long( m * 255 ) * 256 + long( v * 255);
      case 5:
        return long(v * 255 ) * 65536 + long( m * 255 ) * 256 + long( n * 255);
      }
    }
    

    The circuit is very simple:

    • Digital pin 9 → 165Ω resistor → LED Red pin
    • Digital pin 10 → 100Ω resistor → LED Green pin
    • Digital pin 11 → 100Ω resistor → LED Blue pin
    • GND → LED common cathode.

    The different resistor values are to provide a limited current to the Triple Output LED RGB – Diffused, as each channel has different requirements. The 165Ω resistor is actually two 330Ω in parallel; I didn’t have the right value, and this was the closest I could make with what I had.

  • The Sharpie Liquid Pencil – massive letdown

    In Primary Six to about First Year [so about 1979 to 1981], the thing to have was a Papermate Replay, the first real* erasable ballpoint. Despite their waxy purplish-blue ink (which had a strong piney aroma) it was the one thing all the cool kids had. The Replay erasers were gritty and smudgy, and left black crumbs on the page. I remember the gummy click of the ball on the paper, and the rising fug of Replay ink from thirty desks. When it eventually dried, Replay ink could stick pages lightly together, a bit like paste-up wax.

    With the Liquid Pencil, Sharpie probably hopes to repeat the (at least initial) success of the Replay. The technology feels similar — slightly less sticky, and the smell of the ink is different, but there’s still an unusual high note to it. The ink looks curiously as if it’s been photocopied and is of an uneven weight, just like the Replay used to be. Leaning on a freshly-written page from the Liquid Pencil smudges the ink on your hand and partially erases the text — just like the old Papermate Replay.

    While the Replay really didn’t like regular erasers, the Liquid Pencil is better with them. If the LP were a real pencil, a heavy trace would conduct:

    ███ Liquid Pencil: ∞Ω  ███ Faber-Castell 9000 HB: 400kΩ

    It doesn’t, so it’s no pencil.

    I’m pretty sure the Sharpie Liquid Pencil is just the naff old Replay, repackaged for a new generation. After all, Newell Rubbermaid owns both the Sharpie and Papermate brands. I bet the old news stories about Replays being used for cheque-fraud will resurface. Even writing this has given me the old Replay ink smell headache — déjà pew!
    ———
    * there were the chemically erasable kind available before, which had a yellowish felt tip on one end that bleached the ink and prevented you writing over it.

    Unscrewing the barrel revealed the familiar old Papermate Replay refill. I think we’ve been had.

    Update: a bunch of reviews. The ones that actually tried it came to pretty much the same conclusion:

  • OooOooh!

    Toronto Hydro’s PowerLens for BlackBerry is quite neat:

    That’s real data from my home meter, folks.

  • old computers, new computer

    Had a bit of a clear-out yesterday. I dropped off

    • one Sempron-based PC
    • an ancient eMac
    • a built-like-a-tank Samsung laser printer
    • two monitors: one LCD, one flatscreen
    • two mini-itx boxen of undetermined operation
    • about six external USB drives
    • a DVD player with VGA output
    • a box of stuff, including various network thingies, an NSLU-2 and a KVM switch.

    at Free Geek Toronto. I’d heard about them from Colin at Mappy Hour, the monthly(ish) OpenStreetMap event. They have a very neat warehouse, and are definitely doing the right thing in getting surplus electronics either to people who need them, or properly recycled. On the (lengthy – 2 hours from the Junction to home, grr) drive back, I even heard a tiny CBC radio spot about them. Shame that the announcer almost said “old electronics crap” instead of “old electronics gear”, though …

    I just built a new linux box to replace a bunch of the stuff I just threw out. It’s a small and quiet MSI 6676-003BUS with a fanless Atom 510 processor. It plugs straight into the HDMI of the TV, and remote work is done with VLC or SSH. To cut down clutter, I’m using a cheapo Logitech® Cordless MediaBoard Pro for PLAYSTATION®3, which works just fine as a keyboard and mouse with a generic $10 bluetooth USB adaptor.

  • squeeeeeeeeeeeeeeeeeeeeeeeeeeeeee!

    A very rotund — quite possibly bulbous — groundhog has taken up residence in our neighbourhood:

  • Thumbs up for Offshore Wind!

    If you want to work out how tall a wind turbine is at a distance, you can use simple proportion:

    If I hold my thumb at arm’s length, it’s about a metre from my eye. The tallest a turbine would appear from shore would be equivalent to the height of the top joint of my thumb. That’s pretty small.

  • maybe a bit too much octave chorus

    In line with the recent misuse of paulstretch, here’s my contribution to the genre: Zzyzx-stretch-sample. I don’t think you’d recognize the original – it’s Zzyzx from Billy Faier’s Banjo album.

  • My comments on the “Renewable Energy Approval Requirements for Off-shore Wind Facilities”

    Dear Mr Duffey

    EBR Registry Number: 011-0089
    Renewable Energy Approval Requirements for Off-shore Wind Facilities – An Overview of the Proposed Approach

    I would like to propose that the mandatory 5km shoreline exclusion be removed entirely, for the following reasons:

    1 Drinking Water Source Setbacks
    While the “Technical Rules: Assessment Report”1 of the
    Clean Water Act 2006 is cited as a major reason for the 5km shoreline setback, the assessment report itself provides for no greater setback than 1000m from a water intake in a Great Lake. It is suggested that this one kilometre setback be maintained for existing and planned intakes, but should not be applied as a blanket distance for all development. To force a larger setback than the Act allows is to discriminate against wind energy and the industry.

    2 Lake Bathymetry

    Taking the particular case of Lake Ontario near Toronto, the water depth at 5km from shore is typically2 40-70m. This is far greater than is practical, and would require massive and costly foundations.

    3 Noise
    The proposed shoreline exclusion unscientifically precludes any project coming closer to shore. As your document states that noise guidelines for offshore projects are in development, setbacks derived from these guidelines should be allowed. The document should also clarify that the 5km shoreline exclusion is typically larger than the setback required by the
    Noise Guidelines for Wind Farms3, as at a recent MOE session on Low Frequency Noise Measurement4, representatives of “The Society for Wind Vigilance” stated that 5km was now the setback recommended by the MOE for all wind projects.

    4 Positive Visual Enhancement
    Wind energy is the most visual form of electrical generation, and it is a subjective matter as to whether the turbines are ugly or beautiful. The major shoreline constraint cited by the Ohio Department of Natural Resources is due to “aesthetic hindrance”5, yet the Great Lakes Wind Energy Center’s Final Feasibility Report6 wishes to site their pilot turbine as close to shore for “the highest iconic value”. Copenhagen, the capital city of Denmark, has an arc of wind turbines in the bay approximately 3km from the shore, and less than 5km from the Amalienborg Palace. By placing these turbines close to the city, they have made a statement of their commitment to sustainability, and avoided rows of pylons, which few (if any) could call anything but ugly.

    I would hope that you would take my comments into account.

    Yours sincerely,

    Stewart C. Russell, P.Eng.

    References:

    4 12th August – 2300 Yonge St – 9:30-11:30am.

    (more…)

  • To view Ubuntu Remote Desktop under OS X …

    … you need to set a password — even a trivial one — on the Ubuntu Remote Desktop settings. OS X won’t connect to your remote desktop if you don’t set a password.

    That is all.

  • Please Be Kind | Colleen and Paul

    <a href="http://colleenandpaul.bandcamp.com/track/please-be-kind">Please Be Kind by Colleen and Paul</a>

    I like this album a lot. Colleen and Paul have been working together for years (I saw ’em as Jack and Ginger in 2006), and this music needs to be heard!

  • Offshore Wind: much of Copenhagen is within 5km of offshore wind turbines

    There’s a bit of a stooshie going on in Ontario renewables circles about a proposed 5km minimum shoreline setback for offshore wind turbines in the Great Lakes. This pretty much kills most projects through infrastructure costs — deep lake foundations are expensive, as is submarine cable. Please express your opposition.

    I’ve flown over Middelgrunden, and found it to be an icon in Copenhagen’s harbour. With some freehand tracing in Google Earth and some minor GIS skills (hey, I’m learning), here’s how much of Copenhagen is within 5km of the turbines:

    That looks like quite a lot; lots of homes and tourist attractions, and not just the harbour. If you want a closer look, here’s the buffer in KML format: Middelgrunden-5km.kml.

    I’m trying to find the location of the turbine 500m from shore at Hooksiel, but maybe it’s a bit new for Google Earth imagery. Fixed that for me:

    File: BARD Hooksiel 5km buffer.kml

  • Summer Heat Bugs

    mobugs (m4v video)

    Summer bugs by the crick at the Martha Lafite Thompson Nature Sanctuary.

  • banjo restoration project


    (image links to photo gallery)

    Just picked up an interesting project banjo. It’s an 18 fret Geo. C. Dobson spunover rim model. It’s been through the wars a bit, but I think it’s salvageable:

    • Someone though it would be a great idea to reshape the peghead, somewhat inexpertly, with a rasp.
    • The dowel stick isn’t fitted correctly.
    • Friction tuners were pressed directly over the (rather nice) taper peg holes. I think I’ll replace ’em with Pegheds.
    • The fifth string tuner hole and pip are a disaster.

    But if I manage to look that good at 120+ years old, I’m not going to complain.

  • tall flower

    I think I may have inadvertently grown a triffid.

  • worst. turbine. sheltering. EVAR!!

    Walking on the Town of Kansas bridge, I saw this:

    Its purpose appeared to rotate the white plastic barrels, which were mounted on eccentric and squeaky bearings. The little wind turbines are stuck right behind the solar panels, so they get little, if any, wind.

  • trams of old kansas city

    Spotted this tiny section of disused tracks at Wornall & Mill streets

    Kansas City used to have a huge streetcar system – you could ride out to Independence and Lee’s Summit.  There’s a great map of the 1920s system here: David Rumsey Historical Map Collection: Gallup’s map of greater Kansas City and suburbs. Now, there’s nothing.