New
The latest blog posts to take off on Hacker News. 1,535 posts.
Building a hybrid native application with Gleam and Tauri
I took a few hours this weekend to experiment with building a hybrid native app with Gleam and Tauri. This post is a summary of that project. If you’d just like to see the code, I have published that at: https://forge.wezm.net/wezm/gleam-tauri-experiment Screenshot of the application.
Union, intersection, difference, and more are coming to JavaScript Sets
The JavaScript Set was introduced to the language in the ES2015 spec, but it has always seemed incomplete. That's about to change with the addition of functions like intersection, union and difference.
Porting to GCC 14: C language issues
The GCC 14 release series differs from previous GCC releases in a number of ways . Some of these are a result of bug fixing, and some old behaviors have been intentionally changed to support new standards, or relaxed in standards-conforming ways to facilitate compilation or run-time performance.
My PHP Problems
For the past months I’ve been keeping a list of things I encountered in PHP that I’ve found to be problematic, or in other words things that annoy me.
Floats Are Weird
Compute this limit more accurately with one weird trick!
Serving a website from a Git repo without cloning it
It's fairly common to use git repositories as a vehicle for serving websites. The webdev pushes their changes to some branch of a publicly available git repository, and some web server somewhere serves the current tip of that branch as the website. Github Pages would be the most famous example of this.
A small Rust binary indeed (2022)
Can we make a Rust program that's as small as it's assembler equivalent?
Programming book authors: put all the code in the book
tl;dr: programming book authors: put all the code in the book! An extreme antipattern for a programming book is “download the author’s idiosyncratic library code from some random URL an…
Zed Editor: All Occurrences Search from 1s to 4ms
So zero-cost abstractions exist?
Python datetime pitfalls, and what libraries are (not) doing about it
It’s no secret that the Python datetime library has its quirks. Not only are there probably more than you think; third-party libraries don’t address most of them! I created a new library to explore what a better datetime library could look like.
Representation Engineering: Mistral-7B on Acid
Playing around with the Representation Engineering paper, I made some interesting control vectors, and a Python package to make your own.
Bevy 0.13: ECS-driven game engine built in Rust
Thanks to 198 contributors, 672 pull requests, community reviewers, and our generous sponsors, we're happy to announce the Bevy 0.13 release on crates…
I worry our Copilot is leaving some passengers behind
Why I worry about the effect GitHub Copilot is having and will continue to have on the accessibility of the web at scale.
So long, and thanks for all the bytes
Goodbye Tech, Hello Future
We Have to Start Over: From Atom to Zed
From the Zed Blog: Thorsten interviews co-founders Nathan, Max, Antonio about the vision and the technological choices behind Zed, how they went from Atom and Electron to Rust and GPUs with Zed.
Recording and visualising the 20k system calls it takes to "import seaborn"
Last time we counted CPU instructions, let’s look at syscalls now!
UI = f(statesⁿ)
“UI is a function of state” is a pretty popular saying in the front-end world. In context (pun intended), that’s typically referring to application or component state. I thought I’d pull that thread a little further and explore all the states that can effect the UI layer…
The Emacsen family, the design of an Emacs and the importance of Lisp (2023)
00:00.000 Introduction 00:17.000 Why Lisp matters 01:26.640 Why Emacs Lisp was chosen 02:54.841 Other "Emacsen" 03:38.581 Why not Common Lisp? 06:39.120 Common Lisp is still not dead or is always dead 08:30.080 Lem is a nice Emacsen implementation 08:58.260 Why not just use GNU Emacs? 10:31.080 Why Lem 14:03.080…
Erlang/OTP 27.0 Release Candidate 1
The official home of the Erlang Programming Language
Clean your codebase with basic information theory
Cut out everything that's not surprising.
Building an LLM from Scratch: Automatic Differentiation (2023)
Automatic Differentiation
Uv: Python packaging in Rust
uv is an extremely fast Python package installer and resolver, designed as a drop-in alternative to pip and pip-tools.
Why is Common Lisp not the most popular programming language?
This question is always asked. My thoughts are a little bit different than what I've read online.
Conformant OpenGL 4.6 on the M1
For years, the M1 has only supported OpenGL 4.1. That changes today – with our release of full OpenGL® 4.6 and OpenGL® ES 3.2! Install Fedora for the latest M1/M2-series drivers.
Linux/ELF .eh_frame from the bottom up
Given the current register state for a thread, and read-only access to memory, what would the register state hypothetically become if the current function was to immediately return and execution was to resume in its caller?