Jason Lindquist (jlindquist) wrote,
Jason Lindquist
jlindquist

Boo.

So I was finally home on Halloween. Usually, I find some excuse to not-be here (or there was last year, when the ash-contaminated air caused parents to keep their kids indoors,) so I've never had to hand out candy before. I think I only got a couple of teenage kids, I'm fairly impressed. Most of the costumes were nice, but nothing that stood out as inventive or unusual. A couple of friends in Seattle got one guy with a mailbox on his head, and apparently someone dressed as a Florida voting machine? Folks in Poway just ain't that inventive. At least not in my neighborhood.

At the last minute, I tried to wire b5 into the doorbell button, thinking it entirely appropriate to have it blast the doorbell from Lionel Twain's house in Murder By Death through the stereo, with one speaker stuck in the computer room window (directly above the front door.) Someone once suggested I could wire between CTS and RTS (or DTR and DSR) of a spare serial port, that the open() call would block until a connection was made. After an evening of fucking with it (in between trips downstairs to answer the actual doorbell) I discovered two things: First, it's DCD that open() will block on (and only if you have -clocal set on the port;) two, after the line goes high, it must actually go low before a high will be recognized again. A simple contact closure won't cut it. It's either a double-throw pushbutton, or a SPDT relay controlled by the doorbell pushbutton.

But that's another project that really needs to wait... I still haven't finished the football stats package, nor put all the functional-but-surplus crap in the house up on eBay yet...
Subscribe

  • Aurora reference

    For reference, the only two links I could find on Aurora shooter (and Westview '06 grad) James Holmes, prior to his attendance at Westview being…

  • Your friend, FunnyJunk.com

    If you've never heard of funnyjunk.com, it's run by a content thief. It's a haven for incompetence, stupidity, and douchebaggery. Site owner…

  • X-header crap

    It is ridiculous how big this section of my .muttrc has gotten. Every goddamned special snowflake mailer has to have its own collection of…

  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 3 comments