CADing and 3D printing like a software engineer
Fang-Pen Lin's blog about programming
The latest blog posts to take off on Hacker News. 1,535 posts.
Fang-Pen Lin's blog about programming
This program is a dependency-free implementation of GPT-2, including byte-pair encoding and transformer inference, in ~3000 bytes of C. I then use this to create something like Chat GPT.
A fullstack crossplatform app framework for Rust. Supports Web, Desktop, SSR, Liveview, and Mobile.
About 10 years ago I wrote a post PostgreSQL for the Busy MySQL Developer, as part of switching from MySQL to Postgres for my personal and professional projects wherever I could.
C2y makes memcpy(NULL, NULL, 0) and other zero-length operations on null pointers well defined. This removes a source of bugs that may result in security issues.
Technical deep dive into the new DBOS integration for Supabase
The work Devin has been doing and how your team can start using Devin today.
we forked SQLite with the libSQL project. What would it be like if we just rewrote it?
A curated list of misconceptions about mainstream compilers.
I’ve worked on various event websites in the past, and one of the unintuitively difficult problems that inevitably comes up is the best way to store the time that an …
If you go directly to the most abstract ideas then you’re basically like a kid who reads a book of famous quotes about life and thinks they understand everything about life by way of those quotes.
4NF presented in a straightforward way, with some investigation of history of teaching 4NF.
In early 2024, I began investigating collaborative editing systems for use in Moment ’s core text editor.
Over the past 6 years or so, I’ve failed each item on “The Turkey Test.” It’s very simple: will your code work properly on a person’s machine in or around th...
I couldn't remember every UUID so I wrote them all down
SQLite is cool now. DHH uses it, Laravel defaults to it. Here is a list of _sensible defaults_ when using sqlite.
A field guide and why we need to rethink our expectations
This is my story about an adventure into online teaching, video course making, and choosing a hard-to-reach audience, who desperately needs help.
7 databases to explore in 2025.
K/V context cache quantisation has been added to Ollama. This enables significant reductions in VRAM usage, allowing users to realise the potential of expanded context sizes and run larger models at their existing context sizes.
Two native range inputs and fifty lines of JavaScript to make them work together.
There is a recent language comparison repo which has been getting shared a lot. In it, CRuby was the third slowest option, only beating out R and Python. The repo author, @BenjDicken, created a fun visualization of each language’s performance. Here’s one of the visualizations, which shows Ruby as the third slowest…
Nine Technical Strategies for Reducing Hallucination
LiveView 1.0 is out!
Astral is taking stewardship of python-build-standalone, Gregory Szorc's foundational project for installing portable Python distributions.
Follow the first article of a series in which we'll try to summarize our journey with Astro, sharing many cool little tricks and details we found out (or totally came up with) in the process.
After getting to work on some personal projects using Go+HTMX+Templ this year, I have decided to give up on using React on any personal projects. You can actually find a lot of compelling arguments for ditching React in favor of HTMX in the essays found in the HTMX official website. But I feel that not that many…
Previously in How to present MS-DOS screenshots , I encouraged readers to take the original pixel aspect ratio into account when showing pictures of old games. There’s also a subtler issue to consider: the blur analog display systems had.
I'm a two hit wonder