Minimal dark mode styles for Hacker News
For some incomprehensible reason, the Hacker News admins won't add a dark mode. The usual workaround is to apply custom CSS with tools like Stylus (Chromium, Firefox) or Userscripts (Safari, including iOS).
For some incomprehensible reason, the Hacker News admins won't add a dark mode. The usual workaround is to apply custom CSS with tools like Stylus (Chromium, Firefox) or Userscripts (Safari, including iOS).
I built a Go proposal tracker. It shows proposals already implemented in the upcoming Go version, as well as accepted and "likely accept" proposals. Each proposal includes some metadata and a short summary (2-3 paragraphs). There's also an RSS feed and a weekly digest.
Probabilistic data structures give you approximate answers to questions about the data they handle. Does the set contain a certain item? How many unique items are in the collection? What is the 99th percentile in a stream of numbers? How similar are two sets? Unlike deterministic...
Probabilistic data structures give you approximate answers to questions about the data they handle. Does the set contain a certain item? How many unique items are in the collection? Which items appear most often? Unlike deterministic structures like sets and frequency tables, the...
This mini-book provides a brief overview of many concurrency topics in Go. Each topic comes with interactive examples — feel free to experiment with them by changing the code and clicking Run. There's also a PDF version with static examples.
Solod is a subset of Go that translates to regular C — with zero runtime, manual memory management, and source-level interop. It's designed for two main audiences:
Creating a subset of Go that translates to C (which I named Solod) was never my end goal. I liked writing C code with Go, but without the standard library it felt pretty limited. So the next logical step was to port Go's stdlib.
Everyone is creating a new programming language these days, often one that's "like Go but with more features" or "like Rust but simpler".
Go's standard library has a slices package with a function called Backward. It lets you iterate over the elements of a slice in reverse order:
Solod is a subset of Go that translates to regular C — with zero runtime, manual memory management, and source-level interop. It's designed for two main audiences:
Over the past two years, I've published interactive tours for five Go releases, from 1.22 to 1.26.
Go's concurrency is one of the main reasons people like the language. You write go f(), send values through channels, and the runtime scheduler runs thousands of goroutines on just a few OS threads. It feels effortless.
Solod is a subset of Go that translates to regular C — with zero runtime, manual memory management, and source-level interop. It's designed for two main audiences:
Solod is a subset of Go that translates to regular C — with zero runtime, manual memory management, and source-level interop. It's designed for two main audiences:
Creating a subset of Go that translates to C was never my end goal. I liked writing C code with Go, but without the standard library it felt pretty limited. So, the next logical step was to port Go's stdlib to C.
We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect