Crimes with Python's pattern matching
Let's make the CPython team regret adding pattern matching to Python!
The latest blog posts to take off on Hacker News. 1,551 posts.
Let's make the CPython team regret adding pattern matching to Python!
After the recent announcement regarding WASI support in Workers I decided to see what it would take to get code written in Zig to run as a Worker, and it turned out to be pretty trivial. This post documents the process I followed
Computing the CRC-32C of a 4KB buffer on a modern x86 chip can be done as a simple loop around the crc32 instruction:
Has TypeScript gotten slow for you? Run this one magic command to visualize what TypeScript is compiling, and maybe get to the root of the issue.
Introduction The other day I was reading this blog post covering existential types in Rust (also known as impl Trait or opaque types). In that blog post, the author makes the following claim. We’re going to have to take a slight diversion into type theory here because it motivates a result that is perhaps intuitive…
We are proud to present the release of Gitea version 1.17.0, a relatively big release with a lot of new and exciting features and plenty breaking changes. We highly encourage users to update to this version after carefully reading about the breaking changes for some important bug
Differentiable programming has become a hot research topic, and not only due to the popularity of machine learning frameworks like TensorFlow, PyTorch, and JAX. Many fields apart from machine learning are finding differentiable programming to be a useful tool for solving optimization problems. In computer graphics…
Details for Ghostscript's new PDF interpreter
Clojure beginners sometimes struggle with setting up a new Clojure deps.edn project compared to setting up a lein project. This is one of the reasons I've built neil . But not only for beginners, I've been using neil myself a ton too, to add common features to existing deps.edn projects. You may think that neil is a…
Last week, Chandler Carruth announced Carbon, a potential C++ replacement they’ve been working on for the past two years. It has the usual cool features you expect from a modern language: useful generics, compile-time interfaces/traits/concepts, modules, etc. – but the thing I’m most excited about is a tiny detail…
I think there's another reason this problem persists in Clojure. There's no Rails for Clojure.
Memory safety is a hot topic, but what do we mean by it?
Tetration -- repeated exponentiation a fractional number of times.
(I thank Yoshiyuki Kotani for this identity. We'll be able to use the same idea again in 2024 and 2027!)
About the many types of hash functions, their use-cases, dos and don'ts, with suggestions for currently accepted algorithms.
I spent the last three weeks in Seoul, partly visiting family I hadn’t seen in years and partly taking a vacation from my usual work in my usual city in my usual context of life. While I haven’t been able to work much at all, I spent my subway rides and waiting-in-line times reading the Singularity Sky series of…
Timsort: A very fast , O(n log n), stable sorting algorithm built for the real world — not constructed in academia. Timsort is a sorting algorithm that is efficient for real-world data and not created in an academic laboratory. Tim Peters created Timsort for the Python programming language in 2001.
Historical tutorial for building a web framework on Vercel, updated with current Vercel Functions and Routing Middleware terminology.
It has taken Lea and I far too long – there is always something more that really should be added, always some conversion that really needs an authoritive set of data to validate our code against – but we finally decided, time to actually release Color.js .
It’s quite popular to bash the Windows Registry in non-technical or lightly technical terms. I’ve just spent a couple of weeks reverse engineering the binary format completely for our h…
The upcoming issue of the SICPers newsletter is all about phrases that were introduced to computing to mean one thing, but seem to get used in practice to mean another. This annoys purists, pedants, and historians: it also annoys the kind of software engineer who dives into the literature to see how ideas were…
The GIF (/ɡɪf/ GHIF) file is unfortunately the most popular and widespread form of exchanging animated content across the internet. Oh crap here’s one now A Pokémon I 3D modeled and animated called Shuppet, in 50fps When I am making animations, with the intent of ultimately becoming a GIF file on the internet, I…
Today we're excited to announce the release of EdgeDB 2.0, the latest version of our graph-relational database.
Gautham's Blog
How do you create a Python package? How do you set up automated testing and code coverage? How do you publish the package? That's what this article...
Supporting a programming language at Meta is a very careful and deliberate decision. We’re sharing our internal programming language guidance that helps our engineers and developers choose the best…