New
The latest blog posts to take off on Hacker News. 1,357 posts.
Infinite work is less work
The first task of last week's Weekly Challenge was to print the first ten strong and weak primes. A prime p n is "strong" if it's larger than the average of its two neighbouring primes ( i.e. p n > (p n-1 +p n+1 )/2 ). A prime is "weak" if it's smaller than the average of its two neighbours.
My First Fifteen Compilers
We sometimes think of the number of passes in a compiler as a measure of the compiler’s complexity. But what if we could make compiler development more approachable by fully embracing the ide…
Developers don't understand CORS
The recent Zoom vulnerability is just one of many examples which show us that many developers do not understand how CORS works
Catching use-after-move C++ bugs with Clang's consumed annotations
This post describes a compile-time technique for catching use-after-move bugs in modern C++. It’s currently used to prevent some mistakes in the Serenity Operating System.
Rust async-await status report 2
I wanted to give an update on the status of the “async-await foundations” working group. This post aims to cover three things:
Rust, a Raspberry Pi and Addressable LEDs
Tom Arrell's blog. Tom is a Software Engineer who writes about programming, embedded and electrical projects, and life.
Fast Way to Load Data into PostgreSQL Using Python
From two minutes to less than half a second!
x86 API Hooking Demystified (2012)
Simak Live Draw SDY Tercepat Hari Ini, Hasil Live SDY, Live Result Sidney, Dan Rekap Togel SDY Lengkap Dan Akurat Hanya Di Sini.
The challenges of teaching software engineering
I've just finished teaching a four-day course introducing software engineering for the first time. My plan is to refine the course (I'm teaching it again in October), and it will eventually become the basis for doctoral training programmes in research software engineering at Oxford, and part of a taught Masters. My…
Racket Is an Acceptable Python
A little over a decade ago, there were some popular blogposts about whether Ruby was an acceptable Lisp or whether even Lisp was an acceptable Lisp . Peter Norvig was also writing at the time introducing Python to Lisp programmers . Lisp, those in the know knew, was the right thing to strive for, and yet seemed…
Data Still Dominates
I’m a huge proponent of designing your code around the data, rather than the other way around, and I think it’s one of the reasons git has been fairly successful… I will, in fact, claim that the difference between a bad programmer and a good one is whether he considers his code or his data structures more important…
Clear is better than clever
This article is based on my GopherCon Singapore 2019 presentation. In the presentation I referenced material from my post on declaring variables and my GolangUK 2017 presentation on SOLID design . For brevity those parts of the talk have been elided from this article. If you prefer, you can watch the recording of the…
3D Wireframes Using SVG
How to use Python to generate 3D SVG.
Photon Micro GUI
Update: Renamed the library to avoid the name Clash with QNX Photon.Let me tell you a bit about Elements... From my previous post about Ascend, some folks noticed its existence and actually found the github repository. The repository is rather underwhelming, I thought to myself, devoid of any do
Tips for reviewing code you don’t like
Here are 10 tips to keep in mind when reviewing code submissions that, for whatever reason, you (as a project maintainer) do not like.
Ten Years of Erlang
For my ten years in the Erlang community, I decided to cover a few topics such as hype phases and how this related to Erlang, the ladder of ideas within the language and how that can impact adoption, what changed in my decade there, and what I think Erlang still has to bring to the programming community at large.
Intro Guide to Dockerfile Best Practices
Docker is a founding member of the Blueprint Alliance, a 12-company reference architecture for securing AI agents, built around four governance questions.
Meli email client, pre-alpha release
meli.delivery is a short 4-character .delivery domain available for buy. Listed at $100 — secure it before someone else does.
Strong_password Rubygem hijacked
I recently updated minor and patch versions of the gems our Rails app uses. We want to keep dependencies fresh, bugs fixed, security vulnerabilities addressed while maintaining a high chance ...
Running an eInk Display with Elixir, Scenic and Nerves
So I've been curious about what kinds of displays you can connect to the Pi-series single board computers for a while. I happened to accidentally order a few. Among others an eInk display. I ordered the PaPiRus ePaper. It ended up being dead on arrival and then out of stock so I received an Inky to replace it. Fair…
How to write idempotent Bash scripts
This blog post shows tips and tricks to write resilient and idempotent bash scripts.
“Essentials of Garbage Collectors” full course is now available
Course overview Memory leaks and dangling pointers are the main issues of the manual memory management. You delete a parent node in a linked list, forgetting to delete all its children first -- and your
The Evolving Infrastructure of .NET Core
A deep dive into the infrastructure of .NET Core. Challenges, changes and the future.
Pony 0.29
We are proud to announce the release of Pony version 0.29.0. This release includes several improvements to the standard library's TCP support. This version contains breaking API changes. We recomme...