Replay

Ben Kuhn - Tech

by Ben Kuhn

Technical posts on engineering, software, and tools

31 posts

Loading...

Delivery order

Each email contains one post, starting with #1

1

Redesign | benkuhn.net

1 min

I recently decided I should get over my learned helplessness at web design.

tech
2

The www prefix | benkuhn.net

1 min

While updating my DNS for the redesign, I had to decide whether my canonical URL should be benkuhn.net or www.benkuhn.net .

tech
3

Why I'm taking operating systems

2 min

A couple people have asked me why I’m taking a course on operating systems this term. Presumably they ask because I’m officially studying math and systems programming is very un-theoretical.

tech
4

Fun linear algebra problems

1 min

While TAing a linear algebra class last semester, I discovered that there aren’t many resources for good problems in linear algebra.

tech
5

Fun linear algebra solutions, part 1

2 min

Someone pointed out that my “fun linear algebra problems” post would be more useful with solutions. Here’s a solution to problems 1 and 2.

tech
6

Improving Facebook

1 min

Today I realized that Facebook’s newsfeed isn’t useful.

tech
7

Open source! | benkuhn.net

1 min

As of today, benkuhn.net is open source! You can find the source code here .

tech
8

The St. Petersburg "paradox"

3 min

Lincoln recently analyzed the St. Petersburg Paradox . Let’s consider the following gamble: I pay you a fixed amount up-front. Then, I flip a fair coin repeatedly until it comes up heads.

tech
9

Hip tech, useful tech

4 min

An interesting article up at Fast Company, Hugh Whalan’s “Hip Gadgets For The Developing World Won’t Solve Global Poverty: Stop Making Them” : Every time I see a gimmicky product hailed as the “next...

tech
10

Avoiding bugs in machine learning code

3 min

At my work I’ve been writing a lot of machine learning code.

tech
11

Avoiding bugs in machine learning code, part 2

8 min

In a previous post I explaind how hard it is to prevent, or find and fix, bugs in machine learning code via conventional strategies. In this installment, I’ll go over some strategies that do work.

tech
12

My job hunt experience

6 min

Some people have been asking me how my job search went—how I found out about and decided on the current company that I’m working for.

tech
13

Tracking function dependencies

5 min

I recently started looking into dependency tracking in Python—determining which pieces of code and data are required to compute a particular function.

tech
14

A useful view of decision trees

6 min

Introduction When I took machine learning, one of the first learning algorithms we were taught was the ID3 algorithm for learning a decision tree from a dataset.

tech
15

Decision trees for survival analysis

6 min

Survival analysis is an interesting problem in machine learning, but it doesn’t get nearly as much attention as the usual classification and regression tasks, so there aren’t as many tools for it.

tech
16

In praise of gradient boosting

2 min

A friend of mine who’s taking an introductory machine learning course recently emailed me with a bunch of questions about my experience doing machine learning.

tech
17

Things that have taught me statistics

3 min

Someone recently asked me what resources I used to learn statistics.

tech
18

Modern methods for old-school statistics

4 min

Almost a year ago, I started working full-time in machine learning after graduating from studying pure math in college.

tech
19

Readability, hackability, and abstraction

5 min

Suppose you’re writing a script to spin up servers for your web application. def deploy ( ip ): copy ( 'code/' , ip + ':~/code' , recursive = True ) write_template ( 'conf/config.

tech
20

Don't claw back employee options

9 min

Scott Kupor of Andreessen Horowitz recently suggested an alternative structure for employee stock options: But, a way to truly compete for the very best and long-term oriented employees would be to...

tech
21

Don't run code at import time

7 min

In Python and a lot of other dynamic languages, there’s no distinction between loading a module and executing a script. When you write a file named main.

tech
22

Stock options are really complicated

13 min

Originally written for some coworkers at Wave who were thinking about early exercise. Most employees at startups get some of their pay in stock options.

tech
23

How bad are bad fundraising terms?

14 min

Conceptual background: stock option , strike price , post-money valuation . Suppose you get a job offer for a senior engineering position at Square in November 2014.

tech
24

Are venture capital markets inefficient?

5 min

Here are some facts about venture capital that might surprise you if you’ve learned some economics: VC firms’ returns tend to persist over time ( Kaplan and Schoar 2004 ).

tech
25

Unintended consequences and GDPR (but not the way you think)

1 min

Somehow I never worried about this particular failure mode (in either component): Edit: while publishing this post, my git push was rejected because I hadn’t agreed to GitLab’s updated Terms of...

tech
26

Syntax highlighting is backwards

2 min

Most code editors color different pieces of your program in different ways. For instance, they’ll make keywords like if bold and bright so that you notice when you’ve misspelled them.

tech
27

Why are gradual static types so great?

3 min

As of the last couple years, every popular dynamic language has optional static types .

tech
28

A checklist for stock option offers

7 min

A friend of mine was looking at some job offers from startups recently and asked me for advice on how to think about the equity awards he was offered.

tech
29

DIY server-only analytics with almost no code

3 min

(Attention conservation notice: only useful if you have a static site that you’d like to remove the Javascript from.

tech
30

Essays on programming I think about a lot

8 min

Every so often I read an essay that I end up thinking about, and citing in conversation, over and over again.

tech
31

10x (engineer, context) pairs

4 min

People have big arguments over whether “10x engineers” exist or not. Pro : The differences are not minor—it is rather like Salieri and Mozart.

tech