Yesterday I rewrote about half (the entire front-end) of a project that took me and two other collaborators several months to complete a few years ago. At the end of a solid work afternoon, I had things compiling and running, but in a very buggy state. Unexpectedly, the associated feelings turned out to be somewhat bittersweet and conflicted. I’m happy and proud of how much I’ve improved in the years since I first worked on this project, but I’m also sad thinking of how much faster and better things might have gone originally if I had known back then all the things that I know now.

Later in the evening, I learned something new (GADTs and how to use them in OCaml), which makes me hope that in a few years I’ll be even more capable than I am now. At the same time, I’m also wary of falling into the trap of rehashing old projects and ideas with new tools and techniques, rather than moving forward into new areas.

A part of me really wants things to be “just right”, not just when it comes to work, but in the rest of my life as well. It’s almost a visceral when I have to deal with things that don’t seem (close to) perfect for long periods of time. But at the same time, keeping a steady pace of progress in research and engineering requires knowing when things are “right enough” and moving on to the next thing.

Navigating that boundary isn’t something that I have a lot of experience, but I’m hoping that just like my programming skills, it’s going to be something I get better at in the coming years.


Picking Your Battles

Over the weekend I took a few hours off from a paper push to watch a couple episodes of the second season of Gotham. In one of them, Alfred Pennyworth has some words of wisdom for the young Bruce Wayne (who has just signed him up for a fist fight):

Pick your battles, don’t let your battles pick you.

Just prior to watching this, I was busy planning a trip I could have planned weeks ago. That probably explains why I thought about Alfred’s line in the context of planning and organization. I often put things off until the last moment, and then get them done in the nick of time, feeling like my back’s against the wall. As a result, I’m often just doing the bare minimum, and repeatedly losing the opportunity to do a better job, or as happened with planning this trip, get more out of an experience.

Being early and prepared lets you pick your battles. Procrastination and disorganization lets your battles pick you, and often lets them kick your ass.

Sunday Selection 2014-11-09

Around the Internet

Molly Crabapple’s 14 rules for creative success in the Internet age

I don’t identify as a “creative” (I far prefer “engineer”), but I firmly believe that artistic and creative endeavors need to be balanced by economic utility. Molly Crabapple is quickly becoming one of my favorite people on the Internet and her no-bullshit take on selling art is one of the best things I read this week.

I had a couple drinks and woke up with 1000 nerds

“Alternative” social networks seem to be all the rage nowadays (I’m looking at you, Ello). is just about as alternative as they come, though the author insists it’s not a social network. If you long for the days when men were men and wrote their own device drivers, then this might brighten your day a little.

Old Masters at the Top of Their Game

Retirement is so 20th Century. I’m going to make the completely unsubstantiated claim that changing economic situations are making retirement a thing of the past, but that doesn’t have to a bad thing. For some people, “work/life balance” simply doesn’t apply.


10% Happier: How I Tamed the Voice in My Head, Reduced Stress Without Losing My Edge, and Found Self-Help That Actually Works

I’ve already praised the merits of this book at length. I tore through it in a day and it made me much more serious about my meditation practice.


Nope, no video, just this neat GIF. It’s called Coffee O’Clock. You’re welcome.

Coffee O'Clock by RADIO
Coffee O’Clock by RADIO

The Ten Pillars of Cutthroat Zen

I’ve been meditating on and off for the better part of the year. I can currently about fifteen minutes at a stretch and on the days I do get around to it, I definitely feel calmer and more focused than usual. Last week I read a book with the intriguing title of “10% Happier: How I Tamed the Voice in My Head, Reduced Stress Without Losing My Edge, and Found Self-Help That Actually Works” by Dan Harris’. Them be fighting words and I was certainly skeptical when I started. That being said, I ended up finishing the whole book in a day — something I don’t think I’ve ever done for a serious book.

The book is a great read, starting with the author’s breakdown on live TV and following his path through borderline-fraudulent self-help and finally meditation and a sort of modern Buddhism. The whole book is thoroughly recommended, but it also comes up with of a tl;dr at the end — a summary of what the author learned through his experiences. Harris calls it “The Way of the Worrier”, but I think his discarded title of “The Ten Pillars of Cutthroat Zen” is a better title. While they’re best understood in the context of the rest of the book, they also stand on their own (with a little help from excerpts from the book):

1. Don’t be a Jerk

It is, of course, common for people to succeed while occasionally being nasty. I met a lot of characters like this during the course of my career, but they never really seemed very happy to me. It is sometimes assumed that success in a competitive business requires the opposite of compassion. In my experience, though, that only reduced my clarity and effectiveness, leading to rash decisions.

2. (And/But …) When Necessary, Hide the Zen

Even though I’d achieved a degree of freedom from the ego, I still had to operate in a tough professional context. Sometimes you need to compete aggressively, plead your own case, or even have a sharp word with someone. It’s not easy, but it’s possible to do this calmly and without making the whole thing overly personal.

3. Meditate

Meditation is the superpower that makes all the other precepts possible. The practice has countless benefits— from better health to increased focus to a deeper sense of calm— but the biggie is the ability to respond instead of react to your impulses and urges.

4. The Price of Security is Insecurity — Until It’s Not Useful

Mindfulness proved a great mental thresher for separating wheat from chaff, for figuring out when my worrying was worthwhile and when it was pointless. Vigilance, diligence, the setting of audacious goals— these are all the good parts of “insecurity.” Hunger and perfectionism are powerful energies to harness. Even the much-maligned “comparing mind” can be useful.

5. Equanimity is Not the Enemy of Creativity

Being happier did not, as many fear, make me a blissed-out zombie. I found that rather than rendering me boringly problem-free, mindfulness made me, as an eminent spiritual teacher once said, “a connoisseur of my neuroses.” One of the most interesting discoveries of this whole journey was that I didn’t need my demons to fuel my drive— and that taming them was a more satisfying exercise than indulging them.

6. Don’t Force It

It’s hard to open a jar when every muscle in your arm is tense. I came to see the benefits of purposeful pauses, and the embracing of ambiguity. It didn’t work every time, mind you, but it was better than my old technique of bulldozing my way to an answer.

7. Humility Prevents Humiliation

We’re all the stars of our own movies, but cutting back on the number of Do you know who I am? thoughts made my life infinitely smoother. When you don’t dig in your heels and let your ego get into entrenched positions from which you mount vigorous, often irrational defenses, you can navigate tricky situations in a much more agile way.

8. Go Easy with the Internal Cattle Prod

As part of my “price of security” mind-set, I had long assumed that the only route to success was harsh self-criticism. However, research shows that “firm but kind” is the smarter play. All successful people fail. If you can create an inner environment where your mistakes are forgiven and flaws are candidly confronted, your resilience expands exponentially.

9. Nonattachment to Results

Nonattachment to results + self compassion = a supple relentlessness that is hard to match. Push hard, play to win, but don’t assume the fetal position if things don’t go your way.

10. What Matters Most?

At first, this struck me as somewhat generic, but as I sat with the idea for a while, it eventually emerged as the bottom-line, gut-check precept. When worrying about the future, I learned to ask myself: What do I really want? While I still loved the idea of success, I realized there was only so much suffering I was willing to endure.

If you feel like your life is flying off the handles, or you want some more calm and control, this book might just point you in the right direction. If you’ve been hearing about meditation and want to try it out but are afraid you might want to run away and join a monastery, this book will put those fears to rest. In summary, “10% Happier” is probably the best ~$11 you’ll spend this week.

PS. I came across this book thanks to the excellent Farnam Street Blog, which has been steadily feeding me a stream of useful knowledge and references since I discovered it a few months ago. If you need more convincing, check out their post on the book.

Sunday Selection 2014-08-17

Around the Internet

Speaking Polish is no different from speaking “Male”

I had the pleasure of meeting MIT graduate student Jean Yang when she came to visit Cornell a few weeks ago. This post is an account of her internship experience at Facebook and is an interesting look at the different cultures that make up the technology industry (and the clashes between them).

Anthony Bourdain’s Theory on the Foodie Revolution

I’m not a big watcher of documentaries, but I’ve always enjoyed Anthony Bourdain’s shows. I’ve always found him an interesting personality with surprisingly deep (if quirky) observations of the world around him. If you enjoy his shows, you’ll enjoy his views on American food culture and it’s changing face.

Making remote teams work

One of the best things about being a “knowledge worker” is the ability to work from anywhere, assuming there’s a strong Internet connection (which actually narrows things down quite a lot). Mandy Brown’s rules of thumb for making remote teams work is based on her experience at Editorially and covers both things to do (and not do) and tools to use.


Humans Need Not Apply

If you’re a regular reader of this blog, chances are you’ve already seen this video. It’s about how technology is making obsolete large classes of skills that we often think require human intelligence and involvement. This includes things like customer service, education and medicine. As automation steadily increases and economic progress remains one of the key forces in modern society, chances are likely that large numbers of otherwise skilled, hard-working people might soon be out of work through no fault of their own. Though we may not see massive unemployment tomorrow (or even within this decade), there is definitely reason to be worried and seriously consider what your skills and corresponding job prospects are in the coming decades.

Sunday Selection 2013-10-20

Around the Web

Inside GitHub’s super-lean management strategy and how it drives innovation

It’s always interesting to see how groups of people organize to do useful work, especially in the age of startups and distributed workforces. This article takes a detailed look at GitHub’s structure and how their “open allocation” strategy affects their work-style and productivity. Interestingly, it also looks at how non-product activities (like internal videos and social meetups) can be planned and executed without a strict hierarchy.

Should we stop believing Malcolm Gladwell

As a graduate student I’ve become increasingly comfortable with reading scientific papers over the last two years. As a side effect of that, I’ve become increasingly skeptical of popular science books. They’re often lacking in proper references and I’m somewhat distrusting of the layer of indirection between me and the (hopefully) rigorous scientific work. This articles focuses on Malcolm Gladwell and his particular brand of scientific storytelling. It’s been a few years since I read any of books, so I can’t comment from personal experience, but if you’re interested in knowing how much science is actually in popular science, this article is worth your time.

Scott Adams on How to be successful

I recommend this piece with a bit of caution. It’s not your typical “how to be successful” piece. There isn’t much on the lines of “find your passion” or “all your dreams will come true”. In fact, this piece is very pragmatic, very down-to-earth and just a little bit mercenary. It’s for just those reasons that I think it’s worth reading — it’s a good antidote to the cult of “follow your dreams” that seems to have become popular. There are other gems in this piece such as “goals are for losers”. If you’re looking for unconventional and refreshingly honest career advice, read this now.


I’ve been cutting down on video watching in favor of more reading. This week’s recommendation is:

Getting Things Done

GTD is a bit of an obsession in the tech community, spawning an endless number of variants, apps and how-to guides. I’ve been using one of those apps for a while (OmniFocus) and I’ve been familiar with the general GTD approach, but I just started reading the book last week. Surprisingly, the book has a pretty different feel from the GTD articles and guides you’ll find around the web. David Allen doesn’t just give you organizational strategies but also takes the time to explain why particular strategies are a good idea and how they may or may not work for you. I’ve often thought that the full-blown GTD system is a bit overkill, but reading this book makes me think that at a certain level of busy-ness, it’s actually worth it. After reading this book you’ll have no doubts that GTD is a carefully thought out, well-founded system and might be worth a try even if you’re not always super-busy.


Sunday Selection 2013-06-23

Hello gentle readers! It is sunny, hot and humid here in beautiful Ithaca, New York. Yesterday I was out chasing the sunlight and sitting near waterfalls. Today I’m chasing air conditioning, writing and coding. Such is life (and as an aside, anyone who tells you climate change isn’t real is wrong and probably trying to sell you something). Anyways, today’s selection centers around productivity, routines and getting shit done (and programming is definitely a creative pursuit).

Around the Web

Don’t look for talent, look for people who do things.

Recently an interview made the rounds of the Intertubes showing that Google’s turned it’s data crunching skills to completely rework its hiring process. It seems like that best way to determine future success is to look at what people have already done and how they talk about their past achievements.

9 rules for success by British novelist Amelia Barr

My favorite is probably #1: “Men and women succeed because they take pains to succeed. Industry and patience are almost genius; and successful people are often more distinguished for resolution and perseverance than for unusual gifts.”

Creative People Say No

In the age of social media it’s easy to confuse talking about your work with actually doing your work. This article is a quiet rebuttal to two ideas that seem to be popular (a) success is as much about publicity as it is about good work and (2) that creative work is supposed to be easy and spontaneous.


Making ideas happen

Unfortunately I’ve been reading far fewer books than I would like to. However I picked this up after reading the excerpt and seeing the good reviews and it promises to be an interesting read. I hope to have a review once I’m done reading.