New
The latest blog posts to take off on Hacker News. 1,733 posts.
Testing on production
It might seem like a click baity title but it’s not. Let me explain.
Python: Just Write SQL
I have been writing a lot more Go this past year. For those not familiar, Go favours a non-ORM, non-query-builder approach to interacting with databases. This comes naturally due to the sql package : A common interface to be used alongside database drivers. It’s very common to see actual SQL in Go, even in large…
Jitsi Meet Flutter SDK
Flutter‘s initial release occurred in 2017, the same year as the introduction of our mobile apps and mobile SDKs. For those who are unfamiliar with it, Flutter is one of the most popular frameworks for […]
A video game where you are an operating system
Have you ever wondered what it's like to be an OS?
Emulating x86 on X64 on Aarch64
Emulating win32 on Mac using Apple's x64 emulator.
Thoughts on Elixir, Phoenix and LiveView after 18 months of commercial use
I’ve been leading a team developing an application using Elixir, Phoenix and LiveView for the last 18 months and accumulated some thoughts on the stack. For the most part, it has been a very pleasant experience.
Dolphin Emulator Progress Report: May, June, and July 2023
This has been a bit of a tumultuous summer for the project, but now things are returning to normalcy. For those who somehow missed it, the Dolphin on Steam project has ceased after contact between Valve and Nintendo. Though we disagree with their stance and decision, we respect Valve's right to impose whatever…
What is gained and lost with 63-bit integers? (2014)
Almost every programming language uses 64-bit integers on typical modern Intel machines. OCaml uses a special 63-bit representation. How does it affect OCaml?
Fine-Tuning Llama-2: A Comprehensive Case Study for Tailoring Custom Models
We examine the Llama-2 models under 3 real-world use cases and show that fine-tuning yields significant accuracy improvements.
Fastest branchless binary search
Fastest general and simple binary search C++ implementation
The Bipolar Lisp Programmer (2007)
You're only given a little spark of madness. You mustn't lose it. Robin Williams
Sorting in Emacs
In this article, we will perform a series of hands-on experiments that demonstrate the various Emacs commands that can be used to sort text in different ways. There is sufficient documentation available for these commands in the Emacs and Elisp manuals. In this article, however, we will take a look at some concrete…
Browsers barely care what HTTP status code your web pages are served with
You're probably reading this page because you've attempted to access some part of my blog (Wandering Thoughts) or CSpace , the wiki thing it's part of. Unfortunately you're using a browser version that my anti-crawler precautions consider suspicious, most often because it's too old (most often this applies to versions…
Firefox desktop extensions coming soon for the upcoming Android release
In the coming months Mozilla will launch support for an open ecosystem of extensions on Firefox for Android on addons.mozilla.org (AMO). We’ll announce a definite launch date in early September, ...
I fixed a bug the other day
I fixed a bug that was in production for 2 years with a few lines of code.
Rewriting wipEout
The source code for the classic PSX launch title wipEout was leaked in 2022. A few month ago I finally sat down to take a look at it. The result is a (nearly) complete rewrite that compiles to Windows, Linux, macOS and WASM.
A Modern C Development Environment
A community and blog for embedded software makers
Vim Boss
hyperextensible Vim-based text editor
Why Static Languages Suffer from Complexity (2022)
People in the programming language design community strive to make their languages more expressive, with a strong type system, mainly to increase ergonomics by avoiding code duplication in final software; however, the more expressive their languages become, the more abruptly duplication penetrates the language itself.
Iterators in Go: A proposed extension
Iterators in Go are a neat way to write “lazy loops”, where we never generate more results than we actually use. Let’s see what that would look like in Go programs, and what new facilities it gives us in the standard library.
Lessons From Linguistics: i18n Best Practices for Front-End Developers
Here are a few internationalization (i18n) best practices to help front-end developers avoid errors and serve more robust text content on multilingual websites and apps.
Llama from scratch, or how to implement a paper without crying
Llama from scratch I want to provide some tips from my experience implementing a paper. I'm going to cover my tips so far from implementing a dramatically...
Supabase Local Dev: migrations, branching, and observability
New features to streamline the interaction between CLI, code editors, and remote databases.
Swap_8_and_9: A simple import can modify the Python interpreter
Summary : I present a simple Python module that after imported, changes the values of two integers. The purpose is (a) show that modules can do harmful and unexpected things, (b) show an example of how to write a simple module in C, and (c) introduce a few things in CPython source code.
PyPI Requires 2FA for New User Registrations
PyPI requires new users to enable 2FA before performing management actions.
Reverse Engineering the Apple Multipeer Connectivity Framework (2022)
Some time ago I was using Logic Pro to record some of my music and I needed a way to start and stop the recording from an iPhone, so I found about Logic Remote…