Posts

The Nuphy Air75: It Clicks

Image
  Mechanical keyboards offer aural and tactile feedback that, for some, make them a joy to use.  For others, they are just another choice in the world of scissor switches and membranes. I fall into the former category, having pretty much grown up with the well regarded IBM PC Mechanical Keyboard .  I ordered my Nuphy Air75 with clicky blue switches which are the loudest and most mechanical in sound and feel. Avoid, if you have a roommate or an officemate. Get, if you miss the IBM PC keyboard. For the uninitiated, switches on mechanical keyboards typically come in three varieties: red, brown, and blue. Red switches feel the most linear and are the quietest. Brown switches sit between red and blue, and are described as tactile, with an engagement point that needs just a tiny bit more force to overcome.  Blue switches were the easy choice for me, but ideally, it would be best if you could test these switches in person. The Nuphy Air  comes in three sizes: 96, 75, 60.  The numbers correspo

Not A Martian, Elon Is All Too Earthling

Image
A fun narrative has Elon Musk really being from Mars and badly wants to go home. In my imagination, I add that Elon, having watched the movie E.T. , realizes that if he directly sought the help of space capable governments, he would likely be captured, imprisoned, and eventually dissected. Clever Martian that he might be, Elon would parallel the real life story of One Red Paperclip , where one man started with a single red paperclip and through 14 trades, ended up with a two story farmhouse. And so goes Elon, first with Paypal and selling it to eBay for more than a hundred million dollars, then using that fortune to start SpaceX (2002) and Tesla (2003), and later Starlink (2015), all in the hopes of amassing enough money and technology to get him home. Also in my fevered imagination, Elon is BFF with Bernie Sanders and AOC, because addressing the looming menace that is climate change is really that important. That they approach the climate threat from opposite ends -- private business

Sometimes The Math Doesn’t Add Up. And Sometimes, It Does

Image
It just don't add up! Cartoon math isn't meant to add up. Here we see a dog number crunching, trying to determine why a cat is running away from two mice, and running towards him, a dog, to be "massacred."  Furthermore, the mice are disgusted by cheese, and run toward the cat to be eaten by him. The dog, reading the results on his Acme adding machine, exclaims "It just don't add up!" and then runs toward a dog catcher, hoping to be caught.  In contrast, real world math is meant to add up, but doesn't always, and when it does, it's kinda', sorta', maybe. Federal Reserve Chair Jerome Powell said as much  (see time index 46:45) while at the Cato Institute to discuss inflation and monetary policy:  " Economics is not physics. There isn’t any specific temperature in which the economy boils over... and when that happens it takes many years of analysis, discussion, and debate to reach general agreement on why that's happened. " B

Python Newbies Reject A Good Idea

Image
The YouTube Short at the bottom of this post illustrates a table-driven alternative to if-else statements in Python. I liked this tip because it was reminiscent of pointers to functions in C, which I wrote about  here . The technique allowed me to isolate code to format output to screen, printer, file, or a network socket.  Back then, it took a bit of work to convince my colleagues the value of this approach, so I was not surprised to see this Python tip dismissed in the comments section: Please don't do this in production. It's much less clear than an if/else. clarity > conciseness. Great advice, make it as hard as possible so when your company kicks you [sic] they will have no clue what this does. Different language, different time, same misunderstanding. The video described the tip in general terms, so I reimplemented it to solve a specific, more relatable, problem: #!/bin/python3 SCREEN = 1 PRINTER = 2 DISK = 3 def to_screen ():     print ( "format for screen&quo

The Intersections Of Artificial Intelligence

Image
  The car in front of me misjudged a traffic light and stopped in the crosswalk. Braking early, I left a gap should the driver wish to back up. Then I wondered, would an autonomous vehicle extend the same courtesy? But I'm getting ahead of myself. Before being courteous, autonomous driving has yet to master the rules of road. There are two prevailing approaches: solve for general AI or use geo-fencing.  The former, pursued by Tesla, is harder to achieve but will make autonomous cars capable of driving on almost any road. The latter, used by GM Cruise and Alphabet Waymo, is easier to achieve, but restricts autonomous cars to certain locations. GM Cruise is already accepting fares for its driverless taxi in San Francisco. The service, however, is bound by both time and space, allowed only to run between 10pm and 6am (lighter traffic) and within a 7x7 mile area. Choices and trade-offs such as these are common when planning and building a future. Thirty years ago, Apple introduced the

Thinking About The Apple Studio Display

Image
Steve Wozniak continues to support Apple in unexpected ways. His book, iWoz , raises my iMac 27" 5K Retina Display computer to a comfortable eye level.  Long time users of the iMac will recognize this setup, as the stand is not height adjustable. I confess I have not read Wozniak's book, and no, I did not buy the book simply to adjust the height of my display. Rather, I purchased this book for my son in 2006, who needed a subject for a grade school book report.  Wozniak's goal was to share the thrill of engineering with young minds, and he succeeded. His hardcover book serving as a monitor accessory was a bonus. When Apple recently announced the Apple Studio Display with a height adjustable stand, my Apple Watch betrayed my heart rate. It was everything I wanted for my next computer:  display separate from the CPU 27" 5K Retina Display with native 2x resolution beautiful construction a height adjustable stand At $1600 I wouldn't hesitate.  But add $400 for the he

Bookshelf: Software Engineering at Google

Image
  When I wrote " Beauty In The Eye Of The Coder ," my idea of beautiful code was how well it stood up to time: Requirements change, database fields are added, code is refactored by multiple authors. Time conspires to distort and contort programs, but the ones that endure are often considered beautiful.   The book  Software Engineering at Google  tackles the nearly incomprehensible scale of Google's software engineering efforts, and the subhead " Lessons Learned from Programming Over Time " caught my eye. Was there room for beauty in software that was engineered for scale, time, and cost? More on that later. I discovered  Software Engineering at Google  at an online  ACM TechTalk , and the book's curators, Winters and Wright, provided an excellent starting point for exploring the book's hefty 600 pages. The authors distinguished programming from software engineering, and they were careful to point out that one was not better than the other because the dis