Webpack and Ethereum smart contracts with Typescript

Posted on March 12th, 2018

I originally gave this talk at Typescript Conference 2018. You can find the slides here. TypeScript is a godsend for Webpack and Ethereum developers. In the nascent world of smart contracts, developer-friendly tooling is almost non-existent, the only error message is VM Exception: revert, and bugs can cost millions of dollars. Meanwhile, most Webpack config files are incomprehensible, fragile, and cobbled together from a mess of Stack Overflow answers and legacy code. These problems are par...

Singapore: Sovereign City

Posted on March 7th, 2018

Epistemic status: Highly uncertain, asserted with ~40% confidence. Low enough that I didn’t publish this piece when I originally wrote it in May of 2016. But a recent first trip to Singapore reaffirmed the intuitions in here. Even if the argument is wrong, I think it’s wrong in interesting ways, and I want to start a conversation about it. Plus, since originally drafting this essay I now have the concept of “epistemic status" in my toolset (h/t Scott who got it from Gwern who to it from Mufla...

Bike share face-off: JUMP vs GoBike

Posted on February 19th, 2018

A few weeks ago, JUMP Bikes launched a pilot of 250 bikes in SF. Their fleet is dockless and electric, and I’ve been skeptical of the hype around both features, so I was excited to give it a spin. My experience with GoBike, which by comparison both has stations and is human-powered (for now), has been fantastic. I’ve used it nearly every day (sometimes multiple times a day!) since signing up last spring. I evangelize it to anyone who will listen. It’s such a good product that I was a bit cre...

Re: Flaking

Posted on February 13th, 2018

Dan Wang emailed me with some interesting additional hypotheses regarding the question of flaking that I raised last week: I liked your piece on flaking. When I moved to New York, I found that flaking declined dramatically. So I think that any piece that talks about flaking in SF has to explain why it happens less in NY. Here's what I'd offer: SF is made up more of tech people, who like to spend long periods of time on their own, and aren't often customer-facing. NY is more sales driven, and...

Special snowflakes and canonical examples

Posted on February 9th, 2018

I’m proud to be a beginner! But when it comes to the concrete steps of learning something new, I often feel undue shame about my approach. At first, I thought it was a fear of not knowing things or, more likely, a fear of other people seeing of me as a beginner. This doesn’t add up though. I don’t hesitate to ask questions when I’m stuck, and I pride myself on my love of picking up new skills and learning new things. In fact, going from zero to some knowledge on a topic is one of my favorite...

What's in a name?

Posted on February 6th, 2018

I often use a thesaurus while coding, and I mentioned this fact to a non-programmer friend today. He was shocked, and he said that he thought that programming was mathematical, not lexical. But it’s not so easy to separate out—naming is one of the most important parts of programming (and math!), because it’s how you reduce complexity down to something that you can understand, explain, and maneuver. The conversation reminded me of a post I read from Jane Street’s blog a while back: Newell onc...

Teach a girl to fish

Posted on February 5th, 2018

My favorite aphorism might be "Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime". It's a useful idea to incorporate into your life philosophy, both for yourself and others. It's nice to offer help to someone with a problem that you can solve, but far better to teach them how to do it.* On the flip side, when there's something you don't know how to do, I encourage you to find someone who will both help you solve the problem and teach you how to ...

Why is pop culture obsessed with battles between good and evil?

Posted on February 2nd, 2018

This essay from Aeon makes the observation that folktales weren't always about fighting for a noble value. Rather they were just about getting what you want, without framing actions in a strong moral light: Stories from an oral tradition never have anything like a modern good guy or bad guy in them, despite their reputation for being moralising. In stories such as Jack and the Beanstalk or Sleeping Beauty, just who is the good guy? Jack is the protagonist we’re meant to root for, yet he has ...

Why is flaking so widespread in San Francisco?

Posted on February 2nd, 2018

In an email exchange with Brian Lui, he asked me an interesting question about the rate of flaking in San Francisco: I had a brief question too. I've read that the rate of "flaking" in San Francisco is really high, because everyone is so busy and there is so much to do. But then I thought, wouldn't that lead to an extra strong norm against flaking, because your time is too precious to get flaked on by someone? Apparently this doesn't happen and it's socially acceptable to flake. I feel really...

Other people are just as multifaceted as you

Posted on February 2nd, 2018

Most people seem to think of themselves as “at the edge" of several communities rather than defined by a single identity. It’s easy to think of yourself as special and that other people are more singularly defined, but that’s a bias stemming from the fact that you’re mostly seeing people in the context of just one of the communities they’re a part of. It can be hard to remember: you just don’t have visibility into their other thoughts and other aspects of their life.