Blogs / Personal blogs

Wesley Aptekar-Cassels

blog.wesleyac.com

Main page

Popular posts
13
Total points
4,271
HN comments
2,748
Rank
#290 personal

Visit blog.wesleyac.com → RSS feedOn Hacker News Oct 2017 – Jul 2023

Software Engineering 4Web & Frontend 3Life, Learning & Writing 3Tools & Productivity 2Security & Privacy 2Infrastructure & DevOps 2

2

Timezone Bullshit

People often use short timezone abbreviations like EST and PST to refer to timezones. If you're doing this in a computer program, you are almost certainly making a huge mistake. Let's take take a look, using the disastrously bad unix libc timezone tools , which you're almost certainly using under the hood if you're…

3

Consider SQLite

If you were creating a web app from scratch today, what database would you use? Probably the most frequent answer I see to this is Postgres, although there are a wide range of common answers: MySQL, MariaDB, Microsoft SQL Server, MongoDB, etc. Today I want you to consider: what if SQLite would do just fine?

4

GetElementById vs. QuerySelector

A while ago, I was curious how the speed of document.getElementById compared to document.querySelector in Javascript for selecting a single element by ID. querySelector has to do a lot more work, so one would expect that it would be slower, but I didn't know if the difference was enough to care about.