Git In Two Minutes (updated after 8 years)
A minimal guide to everyday Git for solo developers: initialize a repo, add files, commit changes, view history, and restore earlier versions.
The latest blog posts to take off on Hacker News. 14,540 posts.
A minimal guide to everyday Git for solo developers: initialize a repo, add files, commit changes, view history, and restore earlier versions.
Understanding how the group by and having clauses work can help us write more efficient SQL. I want to demonstrate this with an example…
It’s That Blog Post. The release one, where we round up all the last of the features approved since the last time I blogged. If you’re
Advanced Web Application Architecture allows you to spot what kind of code you're dealing with:
The 1999 revision to the C programming language brought several interesting changes and additions to the standard. Among those are variable length arrays, or VLAs for short, which allow array types to have lengths that are determined at runtime. These can show up in different contexts, but for the purposes of this…
If your app has just ruined my day, I need help, not humour.
Over the last twenty years, I have used over a dozen languages professionally, from C to Common Lisp, from Java to Python, from C++ to Typescript. Yet, I ...
A concrete use-case of Firecracker with code snippets
Let's make the CPython team regret adding pattern matching to Python!
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…
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…
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.
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…
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...