Good refactoring vs. bad refactoring
Refactoring can make your code way better - or way worse. Here's how to avoid messing up your codebase when you refactor code.
Topics /
The most popular blog posts about software engineering on Hacker News. 21,828 posts.
Refactoring can make your code way better - or way worse. Here's how to avoid messing up your codebase when you refactor code.
When to use generics when writing Go code, and when not to use them.
The nice thing about Win32 is that it does not try to talk you out of any of this. It just gives you the messages, the handles, the drawing APIs, and enough rope to ...
Hey! If you do front end development, you should know about CatchJS. It’s a JavaScript error logging service that doesn’t suck. Below is a graph over the amount of searches for AngularJ…
HgLab is a powerful self-hosted Mercurial Server and Repository Management for Windows with Push and Pull server, Active Directory and LDAP integration, built-in Pushlog and other goodies
I wasn't going to write this post because I've already said most of what I wanted to on Twitter [http://twitter.com/steve228uk]. Yesterday though, I changed my mind when I saw this Tweet from Product Hunt. > The Best Podcast Apps for Mac 🎙️🖥️ Add your favorite 👉 https://t.
I’ve used Hakyll as my static site generator for around 9 years now. Before that I think I used Jekyll and also more dynamic pages with Mojolicious in Perl and Kohana in PHP, but I can’t be completely sure as the git history doesn’t go back that far.
In software programming, the product between two integers is often computed to a fixed number of bits with overflow. Consider 8-bit integers. If you multiply 127 by 127, you get back the number 1 as an 8-bit unsigned integer, with an overflow. The actual full product is 16129. To represent 16129, you typically use 16…
Chris Haynes - web developer consultant
About four years ago we launched Ghost on Kickstarter as a tiny little prototype of an idea to create the web's next great open source blogging platform. In the early days we really just focused on just making everything work. Ghost was one of the very first open source
“Do The Simplest Thing That Can Possibly Work” – that’s what. Now, what does that mean?
I really like Secure by Design. The key idea is that there is a big overlap between secure code and good software design. Code that is strict, clear and focused will be easier to reason about, and …
For music encoding Opus has already been shown to out-perform other audio codecs at both 64 kb/s and 96 kb/s . We originally thought that 64 kb/s was near the lowest bitrate at which Opus could be useful for streaming stereo music. However, with variable bitrate (VBR) improvements in Opus 1.1, suddenly 48 kb/s became…
Everyone collects utilities, and most folks have a list of a few that they feel ...
Gemma 3, Google's new multimodal models. Fine-tune & Run them with Unsloth! Gemma 3 comes in 1B, 4B, 12B and 27B sizes.
WebGPU is an emerging API, designed from the ground up within the W3C, to provide access to the graphics and computing capabilities of hardware on the web.
I recently took some time to try Gleam, the type-safe language that runs on the Erlang virtual machine. For a couple of weeks, I used it to build a little feed aggregator. These are my notes.
1. The Mature Programmer The mature programmer manages their own time and productivity well. The MP knows that maintenance is as much wo...
Haxe 3.3 introduces a powerful and flexible new Lua target. Here's how to get started with it.
We have completely rewritten the string/binary data structure we use in Polars.
What are deterministic builds?
How malicious environment variables can trick scripting language interpreters into executing arbitrary commands, a Linux exploitation technique.