Less Wrong Than Yesterday

A Realization

In Slaughterhouse Five, Kurt Vonnegut wrote:

Like so many Americans, she was trying to construct a life that made sense from things she found in gift shops.

Haha! What a rube! But it occurs to me that I have spent decades trying to construct a life that makes sense from things I find in a University Library. (Well, I actually find them online, but.)

It's worked out OK. It's definitely more lucrative than shopping. I'm content with it. But I'm not 100% sure it makes me superior.

Continue Reading...

How I Avoid Committing Passwords to Github

TL;DR: My pre-commit-hooks repo might help you avoid checking in passwords or other secrets. Also: a suggestion that any secret string should contain NOCOMMIT.

I once committed AWS keys to a public Github repository. 24 hours later, ~USD2000 had been spent mining bitcoins.

I was motivated to avoid doing that again.

So I began to use Yelp's pre-commit package. It comes with a checker (detect-aws-credentials) that looks to see if the contents of ~/.aws/credentials are in any of the files you're about to commit (or push).

I decided to be doubly-cautious and also check for the distinctive pattern

Continue Reading...

A Checkin Checklist

I'm currently reading Schön's The Reflective Practitioner: How Professionals Think in Action. I plan a few summary posts.

Schön describes how practitioners' problem-solving method consists of poking at the problem with a partial solution, deciding what they think of its reaction, and deciding what to do next1. If satisfied with the reaction, they proceed further. If not, they regroup in a number of different ways.

This reminds me of software development in the style of the Mikado method or Corey's Haines' short-lived branches: you do some work, you think about it, you either commit/push or revert. As such,

Continue Reading...


About the ancient Greeks:

Logic was the rage of the day; all over, at the marketplaces, in the streets, in private homes and in public buildings, at all times, sometimes all through the night, people engaged in dialectical disputations and flocked to hear the acknowledged masters of logical argument display their art. The writings of this period mirror this development in thought: drama as well as the dialogue bear witness to the power which the newborn science wielded over the imagination of men1.

About Renaissance painters:

It was said of Uccello that the discovery of perspective had so impressed

Continue Reading...

About Me

At milestones, I update a mindmap of my strengths, weaknesses and interests.

I've just quit what I expect to be my last job ever as an employee. That probably counts as a milestone.

So, here's the latest mindmap: [embiggen]

Sadly, it looks as if the company that made my mind-mapping software is now defunct. The lesson: if you back up your on-site backup with a remote backup, make sure you back up /Applications.

Continue Reading...