Floating points between zero and one
floating-points-between-zero-and-one - Chad Nauseam Home
Topics /
The most popular blog posts about software engineering on Hacker News. 14,544 posts.
floating-points-between-zero-and-one - Chad Nauseam Home
A “Feature of Last Resort” (FOLR) is a useful feature which solves certain otherwise hard-to-solve problems, but are often best avoided.
I didn’t want to buy a trampoline. It wasn’t the money.
DISCLAIMER : The following are my own personal opinions and are not shared, sanctioned or endorsed by anybody in particular, especially my employer. Any criticisms expressed herein are of a general nature and are neither inspired by nor directed at any person, entity, or product in particular. Links to other online…
JetBrains, the makers of the popular IntelliJ IDEA, offer a range of powerful IDEs for all kinds of programming languages. I would like to share my favorite shortcuts for their IDEs.
Scheme to the Spec is a series on the more complex, often overlooked aspects of programming language implementation.
Five patterns to help Single Page Applications fetch data from remote sources
It’s now been about a week since Equifax announced the record-breaking breach that affected 143 million Americans. We still don’t know enough — but a few details have begun to com…
CQRS (Command Query Responsibility Segregation) is the notion that you can use a different model to update information than the model you use to read information
Suppose you have an array of floating-point numbers, and wish to sum them. You might naively think you can simply add them, e.g. in Rust:
Premature optimisation might be the root of all evil, but overdue optimisation is the root of all frustration. No matter how fast hardware becomes, we find it easy to write programs which run too slow. Often this is not immediately apparent. Users can go for years without considering a program’s performance to be an…
A preview of `pavex`, an upcoming Rust web framework built around compile-dependency injection. An attempt to combine great development ergonomics with high runtime performance.
In what may be judged in years to come as a moment of madness, I have volunteered to be the primary maintainer of the Perl CGI module (CGI.pm). For the non-technical readers of this post: CGI.pm is a few thousand lines of code that in the mid to late nineties, and even some years later, was helping many websites…
Now that I have the full picture, the load-bearing seams are much clearer. They are not merely incidental details around the edges. They materially change how the entire situation needs to be understood, and that is the smoking gun I should have recognized earlier.Claude's load-bearing seams
This blog post came into being after a few discussions about Types in Scala after some of JavaOne’s parties in 2013. After those discussions I figured that many questions are often repeated by different people, during their learning of Scala. I though that we didn’t have a full list of all tricks what we can to with…
If you have Chrome Canary installed with the 'Experimental Web Platform features' flag enabled, you can now try out a new HTML meta tag:
This critical role would not be possible without funding from the OpenSSF Alpha-Omega Project. Massive thank-you to Alpha-Omega for investing in the security of the Python ecosystem! Python ...
Everyone knows that Java is slow and Clojure is not a great choice for number crunching, but as soon as I dig anywhere with my software, I discover that the ...
Do you know the name Michael Horn ? He’s the CEO of Volkswagen of America . You know what’s going on with Volkswagen, right? Dieselgate? The fact that the software that controls the Diesel engine in some of their cars was specifically written to defeat emissions tests? Yeah, apparently that software could detect when…
In episode 1 of the Swift Community Podcast, Chris Lattner, Garric Nahapetian, and John Sundell talked about the origins and the current state of Swift. This is an edited transcript of the most interesting parts of the conversation.
The top programs that have saved HN 100+ hours.
I built a simple web crawler using good old platform threads. It was just a multithreaded crawler, nothing fancy. But then, curiosity…