New
The latest blog posts to take off on Hacker News. 1,551 posts.
Sublime Text 4 Build 4142
Sublime Text 4, build 4142 is out now with new features, performance improvements and bug fixes.
How stdbuf works
Harry Marr — Member of Technical Staff at Anthropic. Co-founded Dependabot, previously at GitHub, Monzo, and GoCardless.
The one about Lisp interactivity
Lisp REPLs are on the collective lips of the WWW lately and so I thought I’d add my little bit of chatter to the mix as well. 1
A cost model for Nim
This blog post is the beginning of a cost model for the implementation that is available via `Nim devel` aka Nim version 2.
Thirteen Years of Go
Happy Birthday, Go!
Xcode 14 unintentionally increases app size
Examining why some popular iOS apps suddenly got bigger after releasing with Xcode 14.
Dagger Python SDK: Develop Your CI/CD Pipelines as Code
Build powerful software environments and containerized operations from modular components and simple functions. Perfect for complex software delivery and AI agents. Built by the creators of Docker.
Python Asyncio
Asynchronous programming is a popular programming paradigm that allows a large number of lightweight tasks to run concurrently with very little memory overhead, compared to threads.
Web automation: Don't use Selenium, use Playwright
For web automation/testing, Selenium has been the de facto "standard" since forever. It's simple to get started with and supports almost every programming language. My problem with it has been: It's good enough, but nothing more. It doesn't work that well with modern, Javascript framework heavy sites (Angular, React
Building a semantic search engine in Rust
If you're interested in building a semantic search engine in Rust, this article will show you how! We'll cover building a basic engine using sentence transformers and a kd-tree.
Idiot Proof Git
Aliases, etc that have made rebase-based workflows in Git much less advanced feeling.
A guide to error handling in Rust
The first half introduces Rust’s language features and libraries for error handling. The second half should help you write good error handling code in Rust.
It's not Ruby that's slow, it's your database
Many people keep repeating that Ruby is slow. It is. But that doesn't matter, because your database is so much slower that it is the bottleneck. So, an alternative title would be "Ruby is slow, but that doesn't matter for you."
Only solve one new problem at a time
Ben Nadel discusses one of the lessons learned from 10 years of CodePen: solve only problem at a time - a message worth amplifying.
Unix as a tool forge and how Emacs fits in Unix philosophy
Wikipedia cites a few different sources on what “Unix Philosophy” is. Peter Salus summarizes it as:
.NET 7 is Available Today
.NET 7 is a major release that provides better performance and new features for C#, .NET MAUI, Web APIs, cloud native, and more. Free Download.
What is an eigenvalue?
An eigenvalue of a square matrix $LATEX A$ is a scalar $latex \lambda$ such that $latex Ax = \lambda x$ for some nonzero vector $latex x$. The vector $latex x$ is an eigenvector of $LATEX A$ and it…
Maps and Memory Leaks in Go
A map can always grow in memory; it never shrinks. Hence, if it leads to some memory issues, you can try different options.
C isn't a programming language anymore
Phantomderp and I have both recently been very aligned on a particular subject: being extremely angry about C ABIs and trying to fix them . Where we’re not aligned is why we’re mad about them.
Why would anyone need JavaScript generator functions?
You can go a long time as a JavaScript developer without ever feeling the need for generators. Hence, it’s natural to wonder: What are they good for? Why would you ever need one? What’s the point? But generators can do some neat tricks. And they may even change the way you approach certain problems.
How to make sure no dynamic memory is used
How to disable heap (dynamic memory allocation) in an embedded application? This article goes into the details of linker files and how to detect dynamic memory allocation.
The essence of Reed-Solomon coding
Let’s say we want to store some data on multiple drives, so that we can recover from drive failures.
Nearly all binary searches and mergesorts are broken (2006)
Posted by Joshua Bloch, Software EngineerI remember vividly Jon Bentley's first Algorithms lecture at CMU, where he asked all of us incoming Ph.D. ...
Zero point leet seconds (2018)
While calculating certain round-trip times, here is a number I came across that is surprisingly memorable: It takes light 0.1337 seconds to travel the length of the Earth's equator via vacuum or air. Let me repeat that. It takes light "zero point leet" seconds to travel once around the equator.
Creating a pick and place control board with the RP2040
A look into the hardware design of Starfish
The type system is a programmer's best friend
Programming, Coffee and Indie Hacking
Multiple assertions are fine in a unit test
One test case, not one test assertion.