“Expect tests” make test-writing feel like a REPL session
At Jane Street we use a pattern/library called “expect tests” that makes test-writing feel like a REPL session, or like exploratory programming in a Jupyter ...
At Jane Street we use a pattern/library called “expect tests” that makes test-writing feel like a REPL session, or like exploratory programming in a Jupyter ...
A coding question, from the viewpoint of an Google/Amazon/Microsoft interviewer
A few days ago I published a short post about two bugs I wrote while developing the C++ external scanner for my TLA⁺ tree-sitter grammar. Reactions were mixed! Many people were supportive, but there were of course the usual drive-by claims by developers that the bugs were trivial, they would’ve found & fixed them…
People in the programming language design community strive to make their languages more expressive, with a strong type system, mainly to increase ergonomics by avoiding code duplication in final software; however, the more expressive their languages become, the more abruptly duplication penetrates the language itself.
Someone is wrong on the Internet; he said that all code is technical debt, and I refute that.
This post explores one of my favorite hacks in SerenityOS. I don’t recommend doing this in your codebase, but it has worked for us so far. :^)
One of our Rust services started to show an odd memory profile. This is the story of how we investigated the issue.
fzf is a popular tool among command line hackers. But if you're an Emacs user, it's hard to use as it requires an interactive terminal. What if you could use Emacs to do the fuzzy finding instead of fzf?
A very good friend of mine has been experimenting with trying to coax Chat-GPT4 to successfully do basic coding tasks. So have a lot of people these days, of course. In an idle moment, though, my friend submitted the following query:
When learning a new programming language, there is usually a table in the documentation that shows the various operators that can be used with numbers.
For a while now I've been trying to find a good way to explain what structured concurrency is, and how it applies to Rust. I've come up with zingers such as: "Structured concurrency is structured programming as applied to concurrent control-flow primitives" . But that requires me to start explaining what structured…
The TodoMVC implemented in Kobold weighs about 30kb when gzipped over the wire, out of which the gzipped Wasm blob is under 20kb. There are no tricks there . I haven't replaced the default allocator, nor have I minified the JavaScript (although I probably should).
Between the Material You design and move to break apart the Chrome browser from ChromeOS, now more than ever, ChromeOS is Linux with Google's desktop environment.
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...
Having worked with Helm for multiple years these 5 shortcomings always bugged my mind. From CRDs updates to multi namespace deployments.
Update: We have published a new blog post describing an additional Zulip plan for self-hosting without commercial support. Zulip is a 100% open-source team chat application designed for efficient communication. Zulip is available as a cloud service or a self-hosted solution. Organizations that self-host …
And it was so avoidable! The bug was from a piece of dead code, left over from the previous Ariane 4 mission a decade before.
Posted by Petros Maniatis and Daniel Tarlow, Research Scientists, Google Software isn’t created in one dramatic step. It improves bit by bit, one l...
I built a device that allows a pinball machine from 1984 to automatically upload scores to the internet. The device taps into the machine’s memory bus and monitors the game state, uploading scores after each game.
What’s new in Pydantic v2: 5-50x faster than Pydantic v1 and with substantial architecture improvements for enhanced safety & maintainability
Today, Imagination Technologies announced some very exciting news: they are now using Zink for full OpenGL 4.6 support!
We are proud to announce PyPI's first external security audit.
This past October, Dolphin turned 20 years old since its initial release to the public as an experimental GameCube emulator. It's been a long ride, with twists and turns. I don't know if anyone back in 2003 expected Dolphin not only to still be under active development 20 years later, but to also support the…
Yesterday I was on a train. I clicked on a link and my browser loaded a long article for me to read. Halfway through reading it, the train went into a tunnel and I lost signal. That meant I couldn't see the images on the other half of the page for the rest of the journey. I had a sea of broken images. Even though the…
An exploration of how Extism makes it easy to use WebAssembly