An Opinionated Guide to Xargs
This post has everything you need to know about xargs , an essential tool for shell programming . It's based on my # comments on this "wrong" post:
Topics /
The most popular blog posts about software engineering on Hacker News. 1,020 posts.
This post has everything you need to know about xargs , an essential tool for shell programming . It's based on my # comments on this "wrong" post:
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…
Emacs has a reputation for being borderline unusable out of the box, of being bloated but somehow surprisingly bare. This is largely a discoverability problem1. The solution the Internet has settled on seems to be “Emacs distributions” like Doom, Spacemacs or Prelude that glue together dozens (sometimes hundreds) of…
Once upon a time, someone with the handle “entha_saava” posted this question on Hacker News :
At the time of writing this, the coronavirus has been in our country for a year, which means I have been sitting at home for a very long time. At the start of the pandemic, I had a few pet projects in Rust under my belt and I noticed that the “are we DataFrame yet” , wasn’t anywhere near my satisfaction. So I wondered…
Don't do it like GitHub Copilot!
この記事は日本語でも投稿されています: https://blog.ryotak.net/post/homebrew-security-incident/ (もし日本語が読める場合、筆者は英語がそこまで得意ではないため、日本語の記事を読むことをお勧めします。) (Official blog post about this incident is available here: https://brew.sh/2021/04/21/security-incident-disclosure/) Preface Homebrew project is running a “Vulnerability Disclosure Program”…
If you are a backend developer like me, logging is the window to your application. Unlike in the frontend, there’s not much to see except of your log messages. Here are some of my personal guidelines I use when I write logs.
Alexis Beingessner's Text Rendering Hates You , published exactly a month ago today, hits very close to my heart.
When I ask my colleagues why mmap is faster than system calls, the answer is inevitably “system call overhead”: the cost of crossing the…
Full-text search is everywhere. From finding a book on Scribd, a movie on Netflix, toilet paper on Amazon, or anything else on the web through Google (like [how to do your job as a software engineer](https://localghost.dev/2019/09/everything-i-googled-in-a-week-as-a-professional-software-engineer/)), you've searched…
Introduction to quaternions and rotations in 3D.
Near the end of January I was pointed to a twitter thread where a Windows user with a powerful machine was hitting random hangs in explorer. Lots of unscientific theories were being proposed. I don…
My exploration into making a 90s style fantasy console inspired by the PS1
What it really takes to scrape without getting detected.
Contrasting how each language handles iteration helps understand how to work effectively in either.
I fancied getting an eink screen to use for future projects. I bought a wee one with a raspberry pi "hat" attached. However, I realised later that I could maybe just re-purpose an old Amazon Kindle eb…
I'm a big advocate of Empirical Software Engineering. I wrote a talk on it. I wrote a 6000-word post covering one controversy. I spend a lot of time reading...
Introduction Last week, we talked about using a new Apple M1 based Macintosh as a development workstation and how installing Apple’s development system XCode also installed a large number of open s…
Note from 2025 me - I largely still agree with myself - and I still see the same crappy OO code getting pumped out. The final point in "Exceptions" is worth emphasising more.
When M1 Macs were launched, a new GPU with iOS-like architecture started driving the external monitors. This meant that the old method for controlling monitors using DDC wouldn't work anymore. Apps like Lunar and MonitorControl had to find other ways to change the brightness of the monitors.
The perspective of an ignorant computer science undergrad
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?
Supply chains attacks are all the rage these days, whether to deliver RATs, cryptocurrencies miners, or credential stealers. In Rust, packages are called crates and are (most of the time) hosted on a central repository: https://crates.io for better discoverability. We are going to study 8 techniques to achieve Remote…