New
The latest blog posts to take off on Hacker News. 5,273 posts.
Deno 2
Our next major version of Deno combines the simplicity, security, and performance of Deno 1 with full Node and npm backwards compatibility, and much more.
On 17th century "cocaine"
A new analysis of mummified brains pushes back the timeline for the globalization of coca
Bridge to Nowhere
Taking a closer look at the opening act of a glioblastoma diagnosis.
Chemistry Nobel: Computational protein design and protein structure prediction
The Nobel Prize in Chemistry 2024 was divided, one half awarded to David Baker "for computational protein design", the other half jointly to Demis Hassabis and John Jumper "for protein structure prediction"
Conway's Gradient of Life
What happens if we start from this configuration and take a single step of the game? Here is a snapshot of the next generation:
A free and open internet shouldn't come at the expense of privacy
MARK SURMAN, PRESIDENT, MOZILLA Keeping the internet, and the content that makes it a vital and vibrant part of our global society, free and accessible has
On the Nature of Time
Stephen Wolfram takes a computational view of time, defining it abstractly, and the implications from computational irreducibility.
Don't let dicts spoil your code
I restricted the use of dicts in my code to make it easier to follow and maintain. Here's my explanation of the benefits and advice on what you can use instead. Bonus point: what to do with all the legacy code when there's no time to eradicate all the dicts.
Practices of Reliable Software Design
It should have good performance and be able to hold many entries. Reads are more common than writes. I know how I would do it already, but I’m curious about your approach.
A modest critique of Htmx
At work, we really like the basic simple idea of Htmx. Based on using Htmx in a non-trivial user interface, across a team, we’ve found that the following cases are actually not simple and are quite complicated.
End of the road for Google Drive in Transmit
We never like removing functionality from our apps. We especially don’t like doing it when it’s due to circumstances beyond our control. But, sometimes — rarely? — it can happen, and so, please take note:
Research in psychology: are we learning anything?
OR: The mystery of the televised salad
European govt air-gapped systems breached using custom malware
ESET Research analyzed two separate toolsets for breaching air-gapped systems, used by a cyberespionage threat actor known as GoldenJackal.
Rabbit hole: stumbling across two Portuguese punched cards
Look, here's the thing, I don't like mysteries that involve technology. I think I hate them because I know that some other human created the...
My first game with Carimbo, my homemade engine
https://youtu.be/nVRzCstyspQ
Do U.S. ports need more automation?
On October 1st, 47,000 members of the International Longshoremen's Association (ILA), primarily dockworkers on East and Gulf Coast ports, went on strike after failing to agree contract terms with USMX, an alliance of port operators and employers.
The Static Site Paradox
Loris Cro's Blog
A popular but wrong way to convert a string to uppercase or lowercase
Converting character by character isn't good enough any more.
The costs of the i386 to x86-64 upgrade
If you read my previous article on DOS memory models, you may have dismissed everything I wrote as “legacy cruft from the 1990s that nobody cares about any longer”. It's time to see how any of that carried over through the 16-bit to 64-bit evolution.
An illustrated proof of the CAP theorem (2018)
The CAP Theorem is a fundamental theorem in distributed systems that states any distributed system can have at most two of the following three properties.
Windows dynamic linking depends on the active code page
Windows paths have been WTF-16 -encoded for decades, but module names in the import tables of Portable Executable are octets. If a name contains values beyond ASCII — technically out of spec — then the dynamic linker must somehow decode those octets into Unicode in order to construct a lookup path. There are multiple…
Rust is rolling off the Volvo assembly line
In my job I get to speak to lots of people about Rust. Some are just starting out, some have barely ever heard of it, and then some people are running Rust silently in production at a very large company in a very serious product.
Sam Altman Goes Full Emperor
His boundless ambition is putting AI, and the world, on a dangerous path.
Fun with Go Iterators
Go 1.23 added Iterators, so lets build a js like streaming api
Building a single-page app with Htmx
People talk about htmx as though it's saving the web from single-page apps. Well, I guess I missed the memo, because I used htmx to build a single-page app.
What's New in Ruby on Rails 8
What Rails 8 ships and requires: built-in authentication, Solid Queue, Kamal 2, and production SQLite, plus support timelines and an upgrade checklist.
The Rise of Worse Is Better (1991)
I and just about every designer of Common Lisp and CLOS has had extreme exposure to the MIT/Stanford style of design. The essence of this style can be captured by the phrase the right thing . To such a designer it is important to get all of the following characteristics right:
Can you get root with only a cigarette lighter?
Before you can write an exploit, you need a bug. When there are no bugs, we have to get creative—that's where Fault Injection comes in. Fault injection can take many forms, including software-controlled data corruption, power glitching, clock glitching, electromagnetic pulses, lasers, and more.