サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
アメリカ大統領選
evanhahn.com
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-
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 bytes The image’s metadata, which includes its dimensions: 25 bytes The image’s pixel data: 22 bytes An “end of image” marker: 12 bytes The rest of this post describes this file in more detail and trie
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 work at Awana Digital, building peer-to-peer software to help frontline communities defend their environmental and human rights. In the past, I’ve worked at: Signal, 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 plac
このページを最初にブックマークしてみませんか?
『Evan Hahn (dot com)』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く