Type constraints in 65 lines of SQL
Creating validated data types in Postgres
The latest blog posts to take off on Hacker News. 1,733 posts.
Creating validated data types in Postgres
Tailscale v1.36 for macOS features a significantly reduced binary size (going from 92MB to 56MB). The effort started out with a chance observation about a surprisingly large executable, and ended up involving some creative approaches using dlopen.
There's been a bit of a brouhaha these last weeks as parts of the Internet suddenly woke up to the realization that most Single Page Apps are slow and overcomplicated, and — shock horror — it turns out that Facebook, the lovable scamps that brought us React and QAnon, have conducted themselves badly! Refreshingly…
I typically start new front-end prototypes with a single HTML file that I view using a file:// URL. I enjoy this practice of incrementally growing my projects, so I’ll keep working in that single file for as long as I can. Once it becomes unwieldy, I’ll split out the CSS and JavaScript into dedicated files. Then when…
For some inane reason, Github classifies me as a "major open source maintainer", which means I get a free copilot subscription.1 I've been using it for a...
Back in December, we wrote an article detailing three different options for CSS Nesting.
If your app has just ruined my day, I need help, not humour.
Why I am not enjoying programming in Rust.
A rule-based data query language that thinks differently
Learn and deploy over 900+ cutting edge PyTorch classification models on Android.
Stephen Wolfram explores the broader picture of what's going on inside ChatGPT and why it produces meaningful text. Discusses models, training neural nets, embeddings, tokens, transformers, language syntax.
I push back on Alex Russell's "Market for Lemons" post blaming JS frameworks and their advocates for poor mobile web performance. Developers aren't stupid or deceived: React dominates because of rational economics. Frameworks save developer time, enable hiring, and compound via ecosystems. Better frameworks, not fewer…
But they are victims of complex societal factors that are beyond their control
In fall 2022, Trail of Bits audited cURL, a widely-used command-line utility that transfers data between a server and supports various protocols. The project coincided with a Trail of Bits maker week, which meant that we had more manpower than we usually do, allowing us to take a nonstandard approach to the […]
Even though Rust and Haskell are quite different languages, they are also surprisingly alike. If you know Rust, you have a head start with Haskell, and vice versa.
We hack an Android TV box into something useful
Does Python still have a need for class without @dataclass?
The space is divided into four rectangles . Each of those rectangles is divided such that it contains a maximum of four children . Each child is either a point or a smaller rectangle.
We’re pleased to announce that support for the declarative shadow DOM API has been added and enabled by default in Safari Technology Preview 162.
Some bugs are merely fun. Others are simply delicious! Today’s pick is the latter. Reproducing the issue, part 1 (It may be tempting to skip that section, but reproducing an issue is an important p...
Finding RCE during deobfuscation in JEB decompiler running on Java 18.
The DuckDB team is happy to announce the latest DuckDB version (0.7.0) has been released. This release of DuckDB is named “Labradorius” after the Labrador Duck (Camptorhynchus labradorius) that was native to North America. To install the new version, please visit the installation guide. The full release notes can be…
On this Valentine's Day Weekend I share the heartbreak that caused my fear of commitment to the 1st CPU Core of any socket (not just core 0).
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.
I really enjoyed reading Algorithmic Trading: A Practitioner’s Guide by Jeffrey M. Bacidore. Before starting, I imagined it would cover various strategies for trading in the markets, along th…
Why was Mats created, what is the point of using message-based async RPC.
Creating application binaries for Linux that run on a wide range of distributions is a bit tricky, as different distributions ship different versions of various system libraries. These are usually backwards compatible, but not forwards compatible, so programs linked against older versions of the libraries also work…
Creating simple but realistic physics-based flight simulations from scratch with C++ and OpenGL.