Solving Factorio Quality
I play Factorio the normal way: by writing matrix math code to plan the factory.
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 80,912 posts.
I play Factorio the normal way: by writing matrix math code to plan the factory.
I have been working on a hobby project to reimagine the C core of Emacs in Rust. On this journey, I reached the point where I needed some way to represent the text of a buffer. The simplest approach is to just use a large string or array of lines. However these each suffer from poor performance as either the size or…
Go has good support for calling into assembly, and a lot of the fast cryptographic code in the stdlib is carefully optimized assembly, bringing speedups of over 20 times.
Since the FCC seems to have no problem with this idea, I've (through correspondence) gotten access to the FCC's internal IP block, and throttled all connections from the FCC to 28.8kbps modem speeds on the Neocities.org front site.
In Why Lean is Faster Than Rust , the author shares an impressive result: a DEFLATE compression library written in Lean 4 , a functional programming language and proof assistant, outperforming an equivalent Rust package that crates.io says has been downloaded over a billion times. From the article:
TL;DR: Giving LLMs the full output of tool calls is costly and slow. Output schemas will enable us to get structured data, so we can let the LLM orchestrate ...
In GitHub Actions, you can use the shell keyword to specify the shell that runs a given run: block. This keyword is optional for workflows but mandatory for action definitions.
HN should be treated as an external comment section for the internet to the extent that it can’t substitute for the internet, much less for your own thinking. At its best, HN is a map to new questions and a window onto new angles. The landscape itself remains elsewhere.
An independent nonprofit research lab, whose mission is to enable universal literacy in a humane dynamic medium. This involves inventing a humane form of computing, and developing educational and community-based institutions in which a culture can grow. [more]
Reducing an interface until only the absolutely necessary elements remain is one of the most satisfying tasks in design.
GitLab release announcements and feature highlights.
I've just released a new version of Idris 2 , which is a significant release in that it's the first one which is able to compile itself. Thus, it's the first one where we can really see how the performance of Idris 2 improves on the performance of Idris 1.
This weekend the New York Times published a piece called Using ‘Free’ to Turn a Profit. The piece focused on Evernote, a web-based and smart-phone based application for taking notes, snapping pictures, and storing stuff you want to remember later. The following critique isn’t about Evernote (…
We all know the current US President is one hell of an orator and often assures us that he has “the best words”:
A short status update on the effort to bring a type system into Elixir.
Today i bring the working main camera! Building on the work nondescriptpointer did on the wide lens camera i have written the driver for the main camera and now its working alongside auto focus and color correction. The color correction still a work in progress, but you can…
Zyphra is excited to release Zamba2-7B, a state-of-the-art small language model. At the 7B scale, we outperform the leading models of Mistral, Google’s Gemma and Meta’s Llama3 series in both quality and performance.
Learn how to beat TimSort at merging sorted lists in Python by creating a C extension. Discover the performance advantages of merging lists compare...