Author: scruss

  • Not dark yet

    Not dark yet

    Instagram filter used: Lo-fi

    View in Instagram ⇒

  • Utility Meter Reader: nice idea, flawed implementation

    Utility Meter Reader is a great idea for an app. Using the camera on your smartphone, snap a picture of your utility meter’s analogue dials, and through the power of some clever image processing, the app will return your meter reading. five-dial analogue kWh meter fasciaTraditional meters are a bit hard to read, as the dials rotate in alternate directions. You won’t realize why this is unless you get a chance to peek behind the fascia:

    the fiddly gear-train inside a five-dial analogue kWh meterThere’s an incredibly fiddly set of 10:1 reduction gears in there, so each dial registers a tenth of the one next to it. Because it’s a drive-train, adjacent shafts rotate in opposite directions. This serves to keep the cost of the meter down at the expense of having to think a bit about how to read the thing.

    We only have one dial meter on the house. It’s a 58 year old gas meter (same age as the house) and it’s certainly been around a bit:

    gas meter (but not Scarlett O'Gasmeter)

    Here it’s reading 969700 ft³, ignoring the lower dials; the units are hundreds of cubic feet. Let’s see how Utility Meter Reader made out with that:

    meter read failed

    Not very well, it seems. How about if I carefully process the image, sharpening it up, straightening it, and making it very high-contrast greyscale:

    not quite right: gas meter

    Hmm, the big figure’s completely wrong, but it got the rest.

    Okay, so let’s feed it a nice canned example, like this one (courtesy of Greeneville Light & Power System‘s “How to Read Your Electric Meter” page). Even I can see that this reads 46372:

    glps.net-sm46372According to Utility Meter Reader, though:

    2013-10-21_16.28.15

    The big figure’s off by one again. Very strange, especially since it picked up 4.23 for the first dial. In desperation, I clipped a small part of the GE meter image from my screen, and sent it to the app:

    2013-10-21_18.41.11

    2558 is the right answer. Phew! But the app only seemed to work on a well-lit, clean meter fascia with no glass in the way and an image taken by a rather nice DSLR. One out of three ain’t quite good enough.

    One concern I have about the app is that — while it allows you to e-mail a reading to your utility — it quietly BCCs a copy of that reading (which includes your meter details) to imeterreader [at] the-next-future.com. I didn’t see much of a privacy contract when I downloaded the app onto my Android phone, so I don’t know what they are going to do with my readings or personal data. So if it ever gets to working properly, I won’t use that feature.

    The app’s a good idea, but the implementation’s pretty far off where it needs to be. Of course, one could quickly whip up an implementation in OpenCV to identify dial circles and read the pointers. But do all this on your smartphone, however, and you’d fall foul of their US patent application.

  • Something is wrong here

    Something is wrong here

    Instagram filter used: Lo-fi

    Photo taken at: Victoria Park Station – Parking Lot

    View in Instagram ⇒

  • The woods.

    The woods.

    Instagram filter used: Lo-fi

    Photo taken at: Warden Hilltop Community Centre

    View in Instagram ⇒

  • Doleful dog

    Doleful dog

    Instagram filter used: Lo-fi

    Photo taken at: Aroma Espresso Bar

    View in Instagram ⇒

  • Good old Warden Woods

    Good old Warden Woods

    Instagram filter used: Lo-fi

    Photo taken at: Warden Woods Dog Park

    View in Instagram ⇒

  • Did it just get a little more nerdy in here?

    VA3PID-eQSL-eWAS-PSK-20131014Aw yiss! After more than two years of trying, I finally got a confirmed contact in North Dakota last night. That means I’ve now worked all of the US states using the PSK digital mode. Yay me!

    I’d contacted 47/50 within a few months of getting my licence, including Maine. Utah I spoke to in November 2011, South Dakota in January 2012; but the last one, North Dakota, I didn’t pick up until last night. I was just about to turn off the radio for the night when I have 40m a try, and there was Bill (ND0B) calling from Cathay, ND. Sometimes you find what you’re looking for without even trying. Happy Thanksgiving!

  • Early Machine Intelligence

    Early Machine Intelligence

    Instagram filter used: Lo-fi

    Photo taken at: Ball’s Falls Conservation Area & Centre For Conservation

    View in Instagram ⇒

  • We’ve got your Fall right here

    We’ve got your Fall right here

    Instagram filter used: Lo-fi

    Photo taken at: Ball’s Falls Conservation Area & Centre For Conservation

    View in Instagram ⇒

  • Morse Palindromes, or CQ Christian Bök

    The longest palindrome in Morse code is “intransigence””, and it was on

    First off, here’s the Morse code for the word intransigence:

    ·· –· – ·–· ·– –· ··· ·· ––· · –· –·–· ·
    i  n  t r   a  n  s   i  g   e n  c    e

    If you look at it as a simple stream of dits and dahs, then yes, it’s palindromic. But, like comedy, the secret of Morse (or CW) is timing. It’s important to include the spaces between the keyings, or letters become hard to identify as they run together. For a word to truly sound palindromic, it would need to have the same spacing too, and thus have to start and end on Morse codes that were mirror-images.

    Not only that, but you get codes which when reversed, become another letter. a (·–) becomes n (–·) when reversed. So things are getting more complex, as we’ve now got to think of:

    1. Words which are both palindromes in the English and Morse code;
    2. Words which are palindromes in Morse, but not when written in English.

    With only Convert::Morse and words to guide me, here’s what I found.

    Firstly, here’s a Morse code table for reference:

     ! → –·–·––           3 → ···––          a → ·–          n → –·
     " → ·–··–·           4 → ····–          b → –···        o → –––
     ' → ·––––·           5 → ·····          c → –·–·        p → ·––·
     ( → –·––·            6 → –····          d → –··         q → ––·–
     ) → –·––·–           7 → ––···          e → ·           r → ·–·
     + → ·–·–·            8 → –––··          f → ··–·        s → ···
     , → ––··––           9 → ––––·          g → ––·         t → –
     - → –····–           : → –––···         h → ····        u → ··–
     . → ·–·–·–           ; → –·–·–          i → ··          v → ···–
     / → –··–·            = → –···–          j → ·–––        w → ·––
     0 → –––––            ? → ··––··         k → –·–         x → –··–
     1 → ·––––            @ → ·––·–·         l → ·–··        y → –·––
     2 → ··–––            _ → ··––·–         m → ––          z → ––··

    From that, you can see that the letters which have symmetrical keyings are:

     " ' ) + , - 0 5 ; = ? e h i k m o p r s t x

    So are there palindromic words composed only of the letters E, H, I, K, M, O, P, R, S, T & X? Here are the ones in my words file, longest first:

     sexes rotor toot sees poop peep kook tot
     tit SOS sis pop pip pep oho mom ere eke

    (Somewhere, the ghost of Sigmund Freud is going “Hmm …”)

    When encoded, rotor (·–· ––– – ––– ·–·) has more dahs that sexes (··· · –··– · ···), so takes longer to transmit. So rotor is the longest word that’s palindromic in both English and Morse.

    The characters which have valid Morse codes when reversed are:

     " → "             8 → 2             l → f
     ' → '             9 → 1             m → m
     ) → )             ; → ;             n → a
     + → +             = → =             o → o
     , → ,             ? → ?             p → p
     - → -             a → n             q → y
     0 → 0             b → v             r → r
     1 → 9             d → u             s → s
     2 → 8             e → e             t → t
     3 → 7             f → l             u → d
     4 → 6             g → w             v → b
     5 → 5             h → h             w → g
     6 → 4             i → i             x → x
     7 → 3             k → k             y → q

    Note how 1…9 reverse to 9…1. c, j & z don’t stand for anything backwards.

    So, with only minimal messing about, here are the words that are palindromes in CW:

     ada → nun              ads → sun              ages → sewn
     ago → own              ail → fin              aim → min
     ana → nan              ani → ian              ant → tan
     ants → stan            boa → nov              eel → fee
     ego → owe              eire → erie            eke → eke
     emir → rime            emit → time            ere → ere
     erie → eire            eris → sire            eros → sore
     etna → nate            fee → eel              feel → feel
     fever → rebel          few → gel              fin → ail
     fins → sail            fool → fool            foot → tool
     foots → stool          footstool → footstool  fop → pol
     gel → few              gem → mew              gets → stew
     gnaw → gnaw            goa → now              gob → vow
     gog → wow              got → tow              hoop → pooh
     ian → ani              ids → sui              kans → sank
     kant → tank            keep → peek            kook → kook
     kroger → rework        leer → reef            leif → lief
     lief → leif            loops → spoof          meet → teem
     mew → gem              min → aim              mir → rim
     mit → tim              mom → mom              moor → room
     nan → ana              nate → etna            nerd → urea
     net → tea              nib → via              nit → tia
     nov → boa              now → goa              nun → ada
     oho → oho              otto → otto            outdo → outdo
     owe → ego              own → ago              owns → sago
     peek → keep            peep → peep            pees → seep
     pep → pep              per → rep              pets → step
     pip → pip              pis → sip              pit → tip
     pol → fop              pooh → hoop            poop → poop
     pop → pop              ports → strop          pot → top
     pots → stop            queer → reedy          quit → tidy
     rebel → fever          reedy → queer          reef → leer
     regor → rower          remit → timer          rep → per
     rework → kroger        rim → mir              rime → emir
     robert → trevor        room → moor            rot → tor
     rotor → rotor          rower → regor          runs → sadr
     sadr → runs            sago → owns            sail → fins
     saints → stains        sangs → swans          sank → kans
     sans → sans            seep → pees            sees → sees
     sewn → ages            sexes → sexes          sip → pis
     sire → eris            sis → sis              sling → waifs
     sloops → spoofs        sore → eros            sos → sos
     spit → tips            spoof → loops          spoofs → sloops
     sports → strops        spot → tops            spots → stops
     stains → saints        stan → ants            step → pets
     stew → gets            sting → waits          stool → foots
     stop → pots            stops → spots          strop → ports
     strops → sports        suds → suds            sui → ids
     sun → ads              sung → wads            swans → sangs
     swig → wigs            swigs → swigs          taint → taint
     tan → ant              tang → want            tank → kant
     tea → net              teem → meet            tet → tet
     tia → nit              tidy → quit            tim → mit
     time → emit            timer → remit          ting → wait
     tip → pit              tips → spit            tit → tit
     tog → wot              tool → foot            toot → toot
     top → pot              tops → spot            tor → rot
     tort → trot            tot → tot              tow → got
     trevor → robert        trot → tort            urea → nerd
     via → nib              vow → gob              wads → sung
     waifs → sling          wait → ting            waiting → waiting
     waits → sting          wang → wang            want → tang
     wig → wig              wigs → swig            wot → tog
     wow → gog

    So of all of these, footstool (··–· ––– ––– – ··· – ––– ––– ·–··) is the longest English word that is a palindrome in CW. Here is how it sounds at 18wpm: forwards, backwards.

  • A spinny thing … on wheels!

    A spinny thing … on wheels!

    Instagram filter used: Lo-fi

    Photo taken at: Metro Toronto Convention Centre – South Building

    View in Instagram ⇒

  • Trade Show Aftermath

    Trade Show Aftermath

    Instagram filter used: Lo-fi

    Photo taken at: Metro Toronto Convention Centre – North Building

    View in Instagram ⇒

  • Red creeper

    Red creeper

    Instagram filter used: Lo-fi

    View in Instagram ⇒

  • Get …

    Get …

    Instagram filter used: Lo-fi

    Photo taken at: Highland Farms

    View in Instagram ⇒

  • VA3PID is back on the air!

    ScreenShot-2013-10-03-19.13.12Got my radio back on the air after six months off. I’d decommissioned the ancient ThinkPad that spoke to the radio, and hadn’t worked out what I’d needed to get it running with the MacBook. All it took was a FTDI-based USB to serial converter for the RigBlaster Pro’s PTT line control, and all works perfectly!

  • I love this space

    I love this space

    Instagram filter used: Lo-fi

    Photo taken at: Union Station

    View in Instagram ⇒