Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 14,544 posts.
Escape IntelliJ: Scala and Kotlin LSPs on Emacs Eglot
Enjoy Emacs and its built-in language server (LSP) superpowers, for JVM languages. Let's walk through basic language setups, specialized workspace configuration handling, and dive deep into some advanced JSON-RPC and advice-based workarounds for Scala (Metals) and Kotlin that make development truly seamless from Emacs…
What I love about Django
The best parts of Django are the ones you stop noticing — a tour of the abstractions that have given Buttondown the most leverage over the years.
Arenas in Rust
At one level, this question is not very fair, because an answer to it as stated would be that one simply does not use doubly linked lists. They have been popular in introductory computer science lectures because they are a neat way to explain pointers in a data structure that's easy to draw on a whiteboard, but they…
Saving a Third of Our Memory by Re-Ordering Go Struct Fields (2020)
Simply changing the order of some uint variables we managed to drop our memory usage significantly
Code the shortest path first
There is a strange thing that I noticed as I progressed from a junior engineer to mid-career to senior. When you’re a new engineer, still learning the basics, you are given a task or you have an idea, and you proceed to implement exactly that idea. Very simple, point A to point B, whatever gets the job done. You hate…
Pie doesn't need to be original unless you claim it so
View this post in browser Your pie doesn't need to be original (unless you claim it so) Imagine you bake a delicious peach pie over the weekend, and you...
The Node.js Community is Quietly Changing the Face of Open Source
The node.js community is developing at an amazing pace. What are the many differences that make that possible?
Be careful with Go struct embedding
The gophers nested too greedily and too deep.
A Usable C++ Dialect That Is Safe Against Memory Corruption
Quote: we DID get a perfectly usable C++ dialect which is also 100% safe against memory corruption and against memory leaks. Another Quote: we can (and often...
The Hypercard Legacy
Apple’s forgotten software gem was a last breath for democratized computing. Can it be revived?
Wolfram Language
Transcript of Stephen Wolfram's talk at SXSW 2015 on the present and future of computing: Wolfram Language, image recognition, language-design philosophy, tweetable programs, computational thinking for kids, natural language as input, symbolic programming, deployment, automation of programming, Internet of Things…
Rust async-await status report 2
I wanted to give an update on the status of the “async-await foundations” working group. This post aims to cover three things:
The Infamous Windows “Hello World” Program
A recent blog post by consultant John Cook reminded everybody about the infamous “Hello World” programs in the early chapters of the first five editions of Programming Windows:
Swift Resistance
I feel like every time I sit down to actually start using Swift, I'm constantly battling with the language. My latest challenge: creating a backing buffer of pixel data that will be rendered t…
Take the Road Most Documented
How great would it be if the solution to most errors you face were in the first place you looked? That’s what the Arch Wiki has been for me: a massive wealth of information and troubleshooting resources to help me navigate the various configuration and installation issues I’ve encountered. Some people claim Arch Linux…
All your agents are going async
Agents used to be a thing you talked to synchronously. Now they’re a thing that runs in the background while you work. When you make that change, the …
How (Not?) to Use Python’s List Comprehensions
Lesser known is that you can have nested list comprehensions, that handle nested for loops:
The fundamental problem of programming language package management
Why are there so many goddamn package managers? They sprawl across both operating systems (apt, yum, pacman, Homebrew) as well as for programming languages (Bundler, Cabal, Composer, CPAN, CRAN, CTAN, EasyInstall, Go Get, Maven, npm, NuGet, OPAM, PEAR, pip, RubyGems, etc etc etc). “It is a truth universally…
Singleton Pattern in Go
The Go Language growth has been phenomenal in the last few years, and is attracting language converts from all walks of life. There has been a lot articles recently about companies switching from Ruby, and experiencing the new world of Go and it’s parallel and concurrent approach to problems.
Tapo (Rust/Python library) now speaks TP-Link's TPAP protocol
tapo now logs in over the TPAP protocol, so the Third-Party Compatibility switch in the Tapo app can stay off. Also new: H200 and H500 camera hubs with recording downloads, and plug schedules and timers.
Linuxulator on FreeBSD Feels Like Magic
Most linux software just work on FreeBSD
Notes on Writing Web Scrapers
easier than scraping a hide, I suppose
Array Languages: R vs. APL (2023)
I’ve been learning at least one new programming language a month through Exercism which has been really fun and interesting. I frequently say that “every language you learn teaches you something about all the others you know” and with nearly a dozen under my belt so far I’m starting to worry about the combinatorics of…