KEHN

JOSHUA KEHN

About

I’m a software engineer living in New York City. I build award winning solutions for companies like IDEO, Thomson Reuters, and beIN Sports. I founded JAKT, a leading design and development consultancy that uses technology to solve problems for entrepreneurs and cor­po­ra­tion. I also started the proposal for what would become The Workplace. Continue reading.

Writing

Variable Expansion in Python

Python allows nested variable expansion, which is perfect when enumerating in a for-loop or inside a comprehension. This took me 10 years to notice.

How Not To Make Coffee

Keurig machines and comparisons to disposable lifestyles.

Marco Arment on Facebook

... They're spineless turds and cowards.

PostgreSQL Alter Table and Long Transactions

Altering table structures in PostgreSQL are safe, with some exceptions around what locks transcations have running. The access exclusive lock will wait for any transaction to finish and block other transactions from starting.

git-rebase: A Play in Four Acts

Make rebasing an indispensable part of the development workflow.

Opinions on Python 3

“Case against” and a rebuttal.

Reversing a Discount Percentage

How to reverse a discount being applied by calculating a new number which when discounted is the original number.

Thoughts On Testing

Testing code is a required practice in modern software development, we should embrace good practices when writing tests.

Using new Force Touch APIs in JavaScript

With El Capitan and new trackpads Apple has released JavaScript APIs that allow responding to the force in a click. Here's a quick demo, and some JavaScript implementation information.

Google Shutters PageSpeed Service

PageSpeed never had a chance. Google has shuttered the service with an end-of-life effective August 3rd, 2015.

Contact

You can reach me at my current email address, josh+spammer@kehn.us.

Other links:

Can’t find what you’re looking for? Try viewing all archives or dropping me a line.