サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
デスク環境を整える
evanhahn.com
In 2022, I had an idea that could decrease the size of all newly-published npm packages by about 5%, and it was completely backwards compatible. This would have improved performance and reduced storage costs. I eagerly pitched this idea to the npm maintainers, convinced it was a clear win. But after a few months, my proposal was rejected. To be clear: I think this was the right call! Here’s what h
This post is for people who are familiar with JavaScript’s == operator. JavaScript’s “double equals” operator, ==, is typically discouraged. And for good reason: its behavior is tricky. Where === asks “are these the same thing?”, the double-equals operator asks a question that’s not straightforward. More specifically, == implements something called the Abstract Equality Comparison Algorithm, a 13-
by Evan Hahn, updated Jan 21, 2024 (originally posted Jan 4, 2024) The smallest PNG file is 67 bytes. It’s a single black pixel. Here’s what it looks like, zoomed in 200×: Wow, what a beauty. This file has four sections: The PNG signature, the same for every PNG: 8 bytesThe image’s metadata, which includes its dimensions: 25 bytesThe image’s pixel data: 22 bytesAn “end of image” marker: 12 bytesTh
In short: in my experience, if a single programmer builds something, it’s often hard for others to maintain later. There are several possible reasons why. Even great programmers fall into this trap! This post is anecdotal from my own experience, so it might not be right or apply to you. But here goes: A lot of software is built by one person. It might be an entire product built by a lone developer
My first commit to my dotfiles repository was ten years ago. Here are a few things I’ve learned about maintaining a system configuration in that time. (This will mostly be for macOS and Linux. I don’t have experience configuring Windows or FreeBSD machines, for example.) Tools I likeentr lets you run commands when files change. For example, ls | entr make will run make whenever any of the files fr
This is aimed at people who have some familiarity with Node.js. They know how to run Node scripts and can install packages with npm. You don't have to be an expert, though -- I promise. This guide was last updated for Express 3.2.5. It's an introduction and mostly deals with concepts. Express.js describes itself better than I can: "a minimal and flexible node.js web application framework". It help
I’m Evan Hahn, a computer programmer. I’ve worked at: Awana Digital, building Node.js-powered peer-to-peer software to help Indigenous communities map and monitor their landSignal, the encrypted messenger, building their iOS and Windows/macOS/Linux appsAirtable, the low-code database product, maintaining their REST API and running their bug bounty programseveral other placesI maintain some open so
このページを最初にブックマークしてみませんか?
『Evan Hahn (dot com)』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く