Topics /
Software Engineering
The most popular blog posts about software engineering on Hacker News. 1,136 posts.
Discord is not documentation
I'm going to be slightly contrarian and say that I like Discord. It's great to be able to get real-time help on a problem. And it is fun to see, again in real-time, what other people are working on and struggling with. In truth, Discord is no harder to sign up to than Slack, Matrix, Gitter, IRC, or whatever. And of…
Challenging projects every programmer should try (2019)
Challenging projects every programmer should try
The Yaml document from hell
As a data format, yaml is extremely complicated and it has many footguns. In this post I explain some of those pitfalls by means of an example, and I suggest a few simpler and safer yaml alternatives.
Xmas.c (1988)
The second block has more real work going on. If the character stored in the variable _ does not match the first character of the string a , the code recurses in such a way that this same block of code will again be entered. That is, t=-65 forces a return to the if (t < -50) block. The recursion steps through string a…
Cold-blooded software
It’s 2004 and I’m sitting in one of the largest lecture halls at my university. I’m a computer science major but I’m taking a course on natural history — plants and animals — as one of my electives.
My personal C coding style as of late 2023
This has been a ground-breaking year for my C skills, and paradigm shifts in my technique has provoked me to reconsider my habits and coding style. It’s been my largest personal style change in years, so I’ve decided to take a snapshot of its current state and my reasoning. These changes have produced significant…
<3 Deno
Deno is a relatively new JavaScript runtime. I find it quite interesting and aesthetically appealing, in-line with the recent trend to rein in the worse-is-better law of software evolution. This post explains why.
Interactive intro to shaders
Demystify shaders with this beginner-friendly guide. Explore fragment shaders, signed distance functions, and metaballs through interactive code examples. Learn how to create beautiful blob animations and effects using just a few lines of code.
CLI tools hidden in the Python standard library
Seth Michael Larson pointed out that the Python gzip module can be used as a CLI tool like this:
test, [, and [[ (2020)
A little essay on the amusement or horror that may bring to learn that both test and [ are binaries on your typical Unix system, and that [[ is subject to completely different rules.
An example of LLM prompting for programming
Generated knowledge and chain of thought prompting of an LLM can generate useful code.
Goodbye, Twilio
As of this week and after almost four years, I'm not a Twilio employee anymore. I'm writing this while I work through a range of conflicting emotions, and try to adapt to new daily routines without…
Writing Python like it's Rust
You can check out a YouTube recording of a talk based on this blog post.
Learn how modern JavaScript frameworks work by building one
In my day job, I work on a JavaScript framework (LWC). And although I’ve been working on it for almost three years, I still feel like a dilettante. When I read…
Joins 13 Ways
Relational (inner) joins are really common in the world of databases, and one weird thing about them is that it seems like everyone has a different idea of what they are. In this post I’ve aggregated a bunch of different definitions, ways of thinking about them, and ways of implementing them that will hopefully be…
Things you forgot (or never knew) because of React
If you don't often look beyond established comfortable defaults, you might be surprised to learn just how far the world of frontend has moved away from React, and how big that gap continues to grow.
For your next side project, make a browser extension
Reflections on the benefits of tweaking an existing app, instead of starting from scratch.
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...
Writing a C compiler in 500 lines of Python
Blog about linguistics, programming, and my projects
Saying Goodbye to GitHub
I've been using GitHub since I was eleven years old. To be fair, I didn't really understand git at the time, but I was able to fumble my way through it...
Making noisy SVGs
Adding noise texture with only code
No dogs were harmed in the making of this app
A reminder of how good we have it as software developers, or perhaps how hard it is for everyone else.
XUL Layout is gone
So this week I landeda fewpatches thatcompletely removed XUL layout from the Firefox codebase.
Building an economy simulator from scratch
by Thomas SIMON
How to build a website without frameworks and tons of libraries
A simple toolchain that Koding Kitty uses for building its web.
Elixir for cynical curmudgeons
You are seeing this because the administrator of this website has set up Anubis to protect the server against the scourge of AI companies aggressively scraping websites . This can and does cause downtime for the websites, which makes their resources inaccessible for everyone.
Why is Jepsen written in Clojure?
People keep asking why Jepsen is written in Clojure , so I figure it’s worth having a referencable answer. I’ve programmed in something like twenty languages. Why choose a Weird Lisp?
SectorC: A C Compiler in 512 bytes
SectorC ( github ) is a C compiler written in x86-16 assembly that fits within the 512 byte boot sector of an x86 machine. It supports a subset of C that is large enough to write real and interesting programs. It is quite likely the smallest C compiler ever written.
Shadow: New browser engine made almost entirely in JavaScript
Shadow is a new novel browser engine written in JS!