Saturday, December 31, 2022

Wordle

Wordle is my favorite new thing from 2022. It's a part of my morning routine to sip coffee and eat cereal while solving this puzzle. I like comparing my solves with my wife. At one point our daughter played the game, and it was fun trying to have the fewest guesses.

I like Wordle's history: Josh Wardle, a programmer, makes a game to play with close friends and family. He makes a website for this game, which allowed more people to play it. He created a nifty emoji-based scorecard which was easy and fun to share. Within a year his game becomes viral. Frustrated by copy-cat versions of his game, he made a deal to sell his game to The NY Times.

Like other programmers, I took stabs to solve Wordle programmatically. However, the enduring challenge is solving it with just the clues that emerge from the game itself. The fact that you can only play one game per day is another draw. At first, Wordle allowed every five-letter word to be in the puzzle, but he whittled that down to the most popular 6000 words. At one game per day, we're talking 15 years of puzzles!

Some Wordle words are fiendishly difficult. Double consonants and double vowels add difficulty. If I can identify the first letter, it's usually easier. Some words are hard enough that I wouldn't finish the game during my breakfast. Instead, I'd let the puzzle linger in my head, turning over the letters until an hour or so later, usually in the bathroom, I'll remember my game and when I open it, I'll instantly solve it. 

Someone on Twitter said that the ideal starting word is TASER, because it contains the most popular letters. My brother said AUDIO is another great starter: you identify the vowels early! In the end, what's worked best for me is to come up with a brand-new five-letter word every morning. Before it was a word  from the cereal box (WHOLE, WHEAT, HEART, GRAIN), but nowadays I pick something out of the blue, like my mood for the day: CRANK, FUNNY, SMILE.

I am competitive with my Wordle score. I always try to get the word before the sixth and last guess. My Wordle statistics show 100s of solves in 4 and 5 guesses and I like to keep it that way. Ultimately it's a guessing game, so I try not to get too down about not getting the word (breaking my streak). Of late I've been posting my scores on a public Facebook group. Look for my posts there if you want to see my recent puzzles!



Wednesday, November 30, 2022

Started Invisalign

A few weeks ago I started Invisalign.

I used to think that Invisalign was strictly cosmetic, but my regular dentist over many visits persuaded me of its health benefits. Moreover, the crowding in my lower teeth would only get worse over time. She said that it would eventually impact my ability to keep that area clean and healthy.

I've been aware of my lower teeth crowding for the past several years now. In my normal smile, you only see my upper teeth, but when I show my lower teeth you can see one tooth bent backwards (#25), almost as if it wanted to hide behind the other teeth to its side.

The orthodontist said that the entire Invisalign procedure would take less than a year. She also said I'd probably need to wear a retainer for the rest of my life. When I finished wearing braces back in high school, I may have received a retainer to wear, but I have no memory of it. However, if I had received a retainer and had worn it regularly, I wouldn't be doing this today.

The Invisalign aligner was tricky to insert and remove from my teeth, but I lucked out because I only have to wear them on my lower teeth. That said, my random snacking is greatly curtailed: removing them is enough of an irritation.

Hopefully by next Summer I'll be able to report a successful treatment!

My Lower Teeth, and Tooth 25


Monday, October 31, 2022

My (Almost) Self-Driving Car

Earlier in the year, I bought a new car, a Honda CR-V. It has two remarkable features that make me think the self-driving car is perhaps a bit closer than I thought.

The first feature is LKAS, which stands for Lane Keeping Assist System. It uses a windshield mounted camera to identify lane markers, and if the car drifts from the center, it applies some torque to the steering wheel to guide the driver to adjust the car.

When I first tested this on the highway, the steering wheel felt tight and somewhat locked. It took a few moments before I realized that LKAS was keeping the car centered by holding the steering wheel appropriately. When I got more comfortable I actually let go of the steering wheel, but after a few seconds the dashboard flashed a "steering required" warning. Still, the feature lets me keep a lighter touch on the steering wheel, making highway driving more bearable.

The second feature is ACC, which is Adaptive Cruise Control. I've always been a fan of cruise control but in my previous car the cruise control keeps the car at the selected speed. If you needed to slow down because the car ahead of you is going slightly slower, you had to disengage cruise control and drive. With ACC, the Honda modifies the speed based on the car ahead of you. If the car ahead slows down or even stops, the ACC controls the speed such that I never have to touch the brake!

The ACC feature has made long highway trips much more pleasant for me. In heavy traffic, I experienced the car slowing down to a full stop. After sitting idle, the car acts as if it was at a stop light and shuts off the engine. This is the Idle-Stop feature. When the car ahead moves, I tap the accelerator to take it out of Idle-Stop, and the car resumes driving.

Both features let me think that the car was driving me, instead of the other way around. Of course it's not entirely hands-free. I still have to navigate and steer! But both features made me think that self-driving cars are getting closer to reality. These two features coupled with anti-collision give me a strong sense of safety. (I only recommend these systems for highway driving only.)

Each iteration of the "smart car" is about the human helping the computer drive. One day, it'll be fully autonomous!

 



Friday, September 30, 2022

Procrastination

In a little over three weeks I have to give a presentation. It's about eBooks and how to make them. I haven't started preparing for it however. Since I made the commitment a week ago all I have done was mull over my topic and mildly groused about how I got into this.

I take solace in the fact that my presentation isn't tomorrow. That's happened before, usually with papers in high school and college. I'd have a some kind of draft but the evening before I'll bang out a final version in a feverish all-nighter that still makes me nervous thinking about it. I had a similar mindset with computer projects but staying up all night writing a program was "fun" to the younger version of myself. 

One of the things I learned is the simple power of just taking even the smallest step towards my assignment. I open up PowerPoint and make one or two slides. Just the title page. Maybe part of the agenda. A bullet point. Even a picture. Anything. Just starting is the hardest part but once I'm past the first few sentences it begins to build on itself. It starts to grow and the effort to add to it becomes easier. 

Putting things off make me think about process versus product. Maybe I like to think about the product and the reward of making that product, rather than embracing the process of making that product. Procrastinating doesn't help with either though. Wish me luck!


Wednesday, August 31, 2022

Heal Thyself

About three weeks ago, I cut my left index finger. I was drying a serrated knife and it slipped out of the towel I was using. The knife was in mid-air and like a fool I thought I would reach out and grab the handle. Instead, the knife cut into my finger then clattered on the floor.

I didn't feel anything initially, but when I picked up the knife I noticed a clammy wet feeling coming from my left finger. I looked down at it. The knife had sliced a small quarter-inch pad of skin off my finger tip. It looked like those round pieces of paper that you get from using a hole-punch, except the hole-punch didn't make a clean cut. This hung off my finger by a sliver of skin. I was strongly tempted to pull it off, but I thought that would hurt.

I pressed down on the now bleeding cut. I went to the sink, turned on the faucet and held my finger under running water. The cut wasn't deep. The bleeding slowed down in less than a minute. I turned off the faucet then walked to the medicine cabinet. I dabbed some bacitracin ointment on my cut then put a band-aid on it.

I somehow became determined not to lose this piece of skin. I knew this meant wearing a band-aid on my finger for a while. The band-aid would get loose and mangy after a few days, since I showered and washed my hands and did the dishes with it on. That first week I changed it every night. Later on, I kept it on for two and even three days at a time.

Each time I changed the band-aid, I checked the cut. As the days wore on, the loose piece of skin began to reattach to my finger. The edges of the cut blended into my finger pad. I reapplied ointment with each new band-aid, but towards the end I stopped. I wish I had taken some photos or videos of this healing. It felt miraculous to me.

A week ago I stopped wearing the band-aid. The cut is gone. My finger's skin is smooth and restored. I am amazed and grateful that my body knows how to heal minor injuries like this.

Sunday, July 31, 2022

Math and Me

I used to pride myself at being excellent in math back in high school. That pride quickly disappeared in college, when I started taking truly hard math classes like advanced calculus, differential equations, and graph theory. My math struggles were demoralizing. I'm glad I'm no longer obliged to think about higher math. Plain math is enough for me.

Some might ask me, since I work in computers: Don't you have to know math to be a programmer? No, you do not. Of course, some programmers do need to be well-versed in math. Some of those include those who program 3-D games, or those who work in scientific simulations. I'm a garden-variety programmer, and I can assure you that math isn't required.

I thought about my past and present math prowess while looking at some FAANG job listings. I saw this sentence in a Facebook job post:

"Facebook's software test engineers can make $131237, which is 32% higher than the national average!"

The sentence was framed like a math problem from high school. What is the national average? To my surprise, it was a slight struggle to come up with this number. I pulled out pen and paper, defined my variable ("x"), then did some dividing and distributing, trying to recall basic algebra. After a few minutes I came up with the answer:

131237 / (1 + .32) = 99421.96

I threw this math problem at my wife, inviting her to figure out the national average. To my surprise and mild dismay she quickly said "it's around 99,000." She didn't even use a piece of paper! We had a lively conversation about how she got to the answer so quickly. (Her intuition involved calculating 30% of $100,000.)

As I said, it's a good thing I'm not required to do any math for my work. 

From Internet Archive Book Image

Thursday, June 30, 2022

Resolving the Rubik's Cube

On a recent trip to my parents, my brother told me he had relearned how to solve the Rubik's Cube. A few months before this moment he had noticed an unsolved Rubik's Cube in our parents' house. He picked it up and slowly became obsessed with solving it. I could only finish the top layer at the time. Luckily enough our parents kept the small fold-out solution guide for this toy.

When I first got the cube in the early 1980s I was stymied by how to solve it. The top layer is straightforward but how do you solve the whole thing? An old friend came over one afternoon and magically solved it right in front of me. He made believe that he was guessing and figuring out the moves on his own and I was completely fooled! 

It didn't take long before I realized you could just buy a book with the solution, which is what I did. After I had memorized the intricate steps for solving it, I began to time myself to see how fast I could do it. Somehow I learned that you could take the cube apart and oil its innards so you could spin the pieces faster. Yes I did this and I'm pretty certain I was able to solve the thing in a minute. All of this played out in the years before high school.

After seeing my brother solve it last month, I resolved to relearn how to solve it. I bought a Rubik's Cube and found the online solution guide from the cube manufacturer. After an hour of careful reading, I was able to solve my cube. The steps were complicated however, so I looked for an alternative solution. I happily found jperm.net by Dylan Wang. His page has a simple but slow method to solve the cube and I have recently memorized these steps.

For the moment I'm just happy being able to solve it again. I like the challenge of solving the cube using a different starting color. I've studied the moves from his website and on a solved cube you can see how the steps move the target edges or corners to the desired locations. The cube that I bought seems to spin fast, which is good if I decide to tackle speed cubing. For now, it's enough to have revisited this old obsession.



Tuesday, May 31, 2022

Review: Life in Code

I finished Ellen Ullman's book "Life in Code" (2017) last week. It's a marvelous collection of essays primarily concerned with computer programming. Her essays touch on the actual act of programming, but also the impetus of coding: what motivated her to want to learn to program a computer? She also tackles hoary subjects like computer privacy, the gentrification of San Francisco and artificial intellegence. Despite the title, the book is very accessible.

Ms Ullman explains her compulsion for coding by relaying her experiences with the Sony Portapak. As a college student, she reveled in the Portapak's utility as a video recorder. Released in 1967, the Portapak's size and cost instantly made video production easier and more accessible for the masses. She became an expert in how to use this machine to its fullest. She saw it as analogous to the appearance of the personal computer: a revolution in the old world order.

"I learned I had no fear of machines," she declared. Her ability to engage with the Portapak propelled her past videography and directly into a purchase of the TRS-80, an early personal computer. From this, she leapt into a computer career that spanned twenty years. She speaks fondly of her computers as "fine machines." She reminisces about talking her way into computer jobs, but she proved a durable ability to work on and solve computer problems.

She comments on the taciturn qualities exhibited by most programmers. "People imagine that programmers don't like to talk because they prefer machines to people. This is not completely true. Programmers don't talk because they must not be interrupted." She accurately distinguishes between low-level programmers versus high-level programmers. ("High is bad. If you want any money and prestige, you need to write code that only machines or other programmers understand.")

She knocks down the common analogy that computer algorithms are like cookbook recipes. Nothing could be further from the truth and she makes compelling cases for her argument. "For example, try to think of everything you know about something as simple as an invoice. Now try to tell an alien how to prepare one. That is programming." She imagines a hypothetical robot being asked to follow a recipe, and she wondered how we humans would translate for its computer mind the instructions "[sauté] quickly to a nice brown outside and a rosy center."

I read this book as an audio book while driving to and from New Jersey (from Boston). Ms Ullman was the narrator. Her voice over my car speakers made the book more personal. As she read her passages about the challenges of a varied programming career, she wove in stories of love, loneliness, her old cat and (yes) making dinner. I marveled at how seamlessly she brought in these subjects. Her writing is exquisite: refined, direct, yet evocative. I highly recommend "Life in Code" and I look forward to reading it again!


 

Saturday, April 30, 2022

Fun Facts About Me

At work the other day, we all went around the virtual table to introduce ourselves to a new co-worker. The first few speakers added "fun facts" about themselves, so I knew to be prepared to offer a fun fact about myself, but when it came to my turn, I froze.

"Well, I'm a parent of a college-aged kid, so most of my fun was before that," I said. The joke fell flat, and then I offered this: I binged watched five seasons of Homeland last Winter. "Binge watching TV," our host said. "That's always fun!"

The rest of the meeting went well, but I stewed about the lack of fun facts I could offer. My co-workers offered awesome-sounding fun facts: world traveling, high school athletic accomplishments, career changes, gaming. I had fun facts about myself too, I just couldn't be sure what they were.

Part of the problem was getting stuck on the word "fun". My ideas of fun have changed. I think I could have gotten past the word 'fun' by replacing it with 'interesting', but then they may as well be random facts. Fun is enjoyment and amusement. That helped crystallize the list: these were all things I enjoyed.

So, here are some fun facts about me:

  1. I attended a kids' soccer camp with Carlos Alberto as a featured guest (he was a player on Brazil's 1970 World Cup team) (circa 1980s).
  2. I have done a cross-country road trip across America with my family (1983).
  3. I did a tandem skydive (1989). It's not something I would do today!
  4. I met and shook hands with an astronaut during an internship (1989). (Joke: we were on Earth.)
  5. I met my wife through a personal ad in the Boston Phoenix newspaper (1991).
  6. I played ice hockey with a local recreational league (1993-1996), fulfilling a childhood ambition.
  7. I worked at a company that had an IPO (Open Market) (1996).
  8. I produced a cooking show (two episodes) for local community access TV (2001).
  9. I wrote a version of Tetris in C++ (for MS Windows) (2011). Remarkably, it still runs!
  10. I have read Ulysses (2012).
Tandem Skydive (credit: Joe Jennings)



Monday, March 28, 2022

Turning 21

I turned 21 on April 6, 1989. I have very few memories of this day but I know that I was a junior in college, and that I definitely had dinner at Holmes and Watson in downtown Troy. My favorite meal there was a patty melt with french fries. Of course, now that I was 21, I would be able to wash it down with a nice cold beer.

Holmes and Watson had a feature where you could start a World Tour of Beers. You would ask the bartender for a World Tour card, which was a long rectangular card listing all the beers available on tap and bottle. The bartender put your name on the card, and your Tour began. You had one calendar year to drink 50 beers off the card (there were up to 80 beers from many countries). I knew people who completed multiple Tours and I aspired to be like them.

The Tour cards were stored in a wooden box with dividers for letters, and people who were serious about the Tour would fish their card out when they entered the restaurant. After you ordered a beer off the card, the bartender would punch a hole next to that beer's listing on the card.  Finishing the Tour rewards you with a tee-shirt, a mug and a hat. I'm proud that I finished my Tour before the year ended.

I'm pretty certain that I would have had this 21st birthday dinner with Dean Kehoe, a classmate from Massachusetts who indulged my humor and my poor attitude towards school at that time. I relished the opportunity to drink legally, and he and I were regulars at Sutters, a nearby bar that was famous for Thursday night wings, a loud juke box, and cheap beer by the pitcher.

Turning 21 is supposed to be the start of adulthood, but I admit that I had a rocky start. I was unhappy in school, and I wanted to tranquilize my anxious state. I wanted to make changes. I wanted to start over. I felt a lot of pressure, but when I look back, it was all self-imposed and self-inflicted. It took a while to gain my bearings and to take the reigns of my adult life.

There's a lot the 53-year old me would have told the 21-year old me. I'm not certain I would have listened back then, but I'm listening now.

Me in college

 

Monday, February 28, 2022

The Great Binge

Late November of 2021, I started a great binge of television. I only read one book in December because I was too busy watching TV. And I liked it!

I started with Homeland, the acclaimed Showtime series about CIA officer Carrie Mathison (actress Claire Danes) and her hunt for terrorists. I was instantly hooked. At the height of my TV watching, I would get through three or even four episodes in a single weekend day. On a weeknight, if I started early enough, I could power through three episodes. Many nights I wanted to gobble up the episodes as the show was so good. I won't spoil it (even though it was released in 2011) but suffice to say I gobbled the first four seasons and was craving more.

In an attempt to hold off consuming the remaining four seasons of Homeland, I switched to House of Cards, the political thriller/drama featuring Frank Underwood (actor Kevin Spacey) on Netflix. Though I didn't watch it at the same feverish pace as Homeland, I certainly devoured it, getting through three seasons by mid-January. I would leaven the darkness of House of Cards by mixing in episodes from the first season of The Mandalorian (Disney+). I would sometimes watch The Madalorian first to warm-up for my evening TV or I would watch it second to cleanse my mind from the lurid action from Cards.

Unable to stop my rampage of television, I moved over to Ozark (Netflix), the crime drama featuring money launderer Marty Byrde (actor Jason Bateman). I had watched the first season back in 2017, the year it debuted. This time around I had to watch some recaps to reacquaint myself with all the characters, but it was not difficult to get back into the flow of the series. I really liked the overall arc and direction of Season 2 and I came close to answering "Yes" when Netflix asked if I wanted to watch the next season but I didn't.

Instead, I started Homeland Season 5. This kept me occupied until late January. A Reddit post has commenters giving this season low marks in terms of quality but I enjoyed all the plot twists. By this point I realized that I was watching way too much TV so I searched for a spy novel to ease me out of TV mode and into reading mode. (This search lead me to "The Finish: The Killing of Osama bin Laden" by Mark Bowden and "Damascus Station" by David McCloskey.)

The last series I binged was Season 3 of "The Wire" from HBO. It's a testament to the density of this show that it's very difficult to watch multiple episodes in one evening. I had to read the HBO synopses and during my watching I would often rewind to remind myself who was who, and to read what was said by turning on the captions. The climax of Season 3 devastated me, but like all great endings, there was an inevitability to it that made perfect sense.

It was fun experiencing the modern way people consume television, but I'm done for now. People reading this: recommend me a TV series to watch. I may add it to my future binge list!

TV Time


Monday, January 31, 2022

My 2021 Books and Movies

In 2021, I watched 60 movies (Letterboxd) and 43 books (Goodreads).

My favorite book from last year was The Paper Menagerie and Other Stories, by Ken Liu. This book is a collection of short stories, including "The Paper Menagerie" which won both the Hugo Award (2012), and the Nebula Award (2011) for best short story. The stories featured mind bending ideas and intense flights of fantasy that were dazzling to hold in my imagination. Honorary mentions: "Sapiens" (Yuval Noah Harari), "Klara and the Sun" (Kazuo Ishiguro), "(Re)born in the USA" (Roger Bennett).

When I look at all the movies I rated as perfect last year, six were movies I had seen before. Of the remaining five, I most enjoyed Netflix's "Don't Look Up". I liked subdued and meek Leo DiCaprio, and over-the-top Jonah Hill.

(detail of Paper Menagerie book cover; design by Michael McCartney)