Why I am learning category theory
Category theory is a domain of mathematics that exerts a strange influence over programmers. One thing that can be said for sure about category theory is tha...
The latest blog posts to take off on Hacker News. 1,551 posts.
Category theory is a domain of mathematics that exerts a strange influence over programmers. One thing that can be said for sure about category theory is tha...
Getting ahead of the standard, which went a different way.
Most popular libraries can be sped up by avoiding unnecessary type conversions or by avoiding creating functions inside functions.
The Data class helps define simple classes for value-alike objects that can be extended with custom methods.
They have potential to be more than "no static types", but that hasn't happened.
Table of Contents Major features Eglot is now part of Emacs core Tree-Sitter is also part of Emacs core Install packages from source with package.el Org mode 9.6 use-package in Emacs core Pure GTK Emacs is here for Wayland! Compile EmacsLisp files ahead of time Native access to SQLite databases HaikuOS support New…
For more than two years, I've been using Tailwind CSS almost every working day for company projects and a lot of weekends for my side projects.
A deep dive into the unification of NLP and computer vision with the Vision Transformer (ViT).
Learn why using no framework aligns with the Go philosophy, enhances maintainability, and prevents costly refactors. Discover how to build flexible Go services using targeted libraries instead of monolithic frameworks.
Most command line programs that offer line editing -- like bash, Python, GDB, psql, sqlite and more -- do so using GNU readline. Readline's a powerful library that grants history, completion, movement and editing to programs that use it --- and a stable and consistent set of keyboard shortcuts. Shame, then, that even…
Creating a full-fledged API requires resources, both time and money. You need to think about the model, the design, the REST principles, etc., without writing a single line of code. Most of the time, you don’t know whether it’s worth it: you’d like to offer a Minimum Viable Product and iterate from there. I want to…
Negative prompts can be far superior than traditional prompt additions.
We’re introducing calendar-based versioning for our REST API, so we can keep evolving our API, whilst still giving integrators a smooth migration path and plenty of time to update their integrations.
Behind the scenes of building CloudQuery — architectural decisions, engineering challenges, and lessons learned creating the open-source cloud asset inventory.
Learning C was quite difficult for me. The basics of the language itself weren’t so bad, but “programming in C” requires a lot of other kinds of knowledge which aren’t as easy to pick up on:
I've been sitting on publishing these notes for a while, because I don't want to diminish the work of the talented people that engineered SwiftUI and plowed through years of AppKit and UIKit code to get to this state. But I'd like to draw attention to some performance limitations, in the hope that a SwiftUI engineer…
All kinds of reasonable-sounding beliefs about undefined behavior are wrong. Let's go through them.
Happy with my recent breakthrough in understanding C integer divisions after weeks of struggle, I was minding my own business having fun writing integer arithmetic code. Life was good, when suddenly… zsh: segmentation fault (core dumped) .
Yes, this is a problem of weak static typing of pure C. Pure C is a great tool for some jobs, but here be dragons , as they say.
In Emacs version 28 Emacs developers introduced so-called read symbol shorthands. If you’re interested in the rationale, feel free to search the Emacs developer mailing list for the discussion. However, it does seem that not everyone likes the idea of shorthands as a substitution for namespaces (or packages, if you’re…
Composite indexes aka multi-column indexes are about 10x faster than index merges. In Postgres, the gap is larger than in MySQL because Postgres doesn’t support index-only scans for queries that involve index merges.
Collaborative peer-to-peer applications sometimes need to operate on sequences of objects with a consistent order across all peers. For example, a peer-to-peer photo album application might need to sync the order in which photos appear in an album.
Dmitri's blog about programming, Clojure, and software development
A browser sorting benchmark comparing JavaScript, Go, TinyGo, Rust, and AssemblyScript, with source code and test conditions.
Many users of Python deprioritize performance in favor of soft benefits like ergonomics, business value, and simplicity. Users who prioritize performance typically end up on faster compiled languages like C++ or Java.
Each time we evaluate an expression, the REPL shows us a textual representation of the result: that’s the Print part of Read-Eval-Print-Loop . Most of the time, this textual representation is clear enough for the programmer, but sometimes it becomes difficult to read - especially when dealing with big or deeply nested…
My colleagues recently wrote a great post on the Netflix tech blog about a tough performance issue they wrestled with. They ultimately diagnosed the problem as false sharing, which is a performance…