New
The latest blog posts to take off on Hacker News. 14,543 posts.
Guidelines for writing readable code
Reading someone else's code can be quite confusing. Hours can go on issues that should have been fixed in minutes. In this article, I would like to share some advice on how to write code that will be easier to understand and maintain.
Writing a simple SQL interpreter in Julia
<!DOCTYPE html>
Why Rust closures are somewhat hard
My Rustic Ramblings
Why Y? Deriving the Y Combinator in JavaScript
In this essay, after a brief review of the work we’ve already done on the Mockingbird, we’ll derive the Why Bird, known most famously as the Y Combinator . The why bird provides all the benefits of the mockingbird, but allows us to write more idiomatic JavaScript. We’ll see that one of the benefits of writing…
Libcurl gets a URL API
libcurl has done internet transfers specified as URLs for a long time, but the URLs you'd tell libcurl to use would always just get parsed and used internally. Applications that pass in URLs to libcurl would of course still very often need to parse URLs, create URLs or otherwise handle them, but libcurl has not ……
What Is Systems Programming, Really?
I have a gripe with the phrase
Clojure is cool
I had heard of it years ago, but never really gave it a lot of thought (or time) to it, despite being a huge fan of Common Lisp and a bit of a language polyglot. I think part of my initial reluctance may have been 'java' - as I would typically associate just the negatives to it (cumbersome language syntax, slow start…
Time to look beyond Oracle's JDK
From Java 11 its time to think beyond Oracle's JDK. Time to appreciate the depth of the ecosystem built on OpenJDK. Here is a list of some ...
When optimising code, never guess, always measure
This page has been Tagged As Software This is a truism that lots of people quote, but it can be hard to remember, especially in the heat of battle (as it were). Rather fortunately it came to mind just when needed, as I found something completely unexpected.
“Stateless” sync using version vectors
Isolating cloud sync and persistent storage in an app architecture.
Maybe adding generics to Go is about syntax after all
This is a short response to the recently announced Go 2 generics draft proposals
Measuring context switching and memory overheads for Linux threads
In this post I want to explore the costs of threads on modern Linux machines, both in terms of time and space. The background context is designing high-load concurrent servers, where using threads is one of the common schemes .
Learning Python for Social Scientists (2015)
I’ve compiled a list of Python tutorials and annotated analyses. I've tried to list pages that are accessible to social scientists with little background in Python and/or machine learning.
Notes on “A Philosophy of Software Design”
Jumping on the recent trend, I picked up a copy of A Philosophy of Software Design based on Cindy’s recommendation. It’s a fairly concise read at 160 pages, and I skimmed through it over the last few days, writing up some notes along the way.
How LLVM Optimizes a Function
This is very nice summary of IR Passes. I found “InstCombine” pass to be easier to start with to understand the code flow in LLVM IR Pass. Maybe the beginners can start with that first.
Why I never finish my Haskell programs
From the highly eclectic blog of Mark Dominus
TypeScript at Google
What I've been working on the last few years.
Notes on the Go2 Generics Draft
These notes are based on the August 27 2018 design draft for generic types in Go2.
Multi-Armed Bandits, Conjugate Models and Bayesian Reinforcement Learning
This is the first of a two-part series about Bayesian bandit algorithms. Check out the second post here. Let’s talk about Bayesianism. It’s developed a reputation (not entirely justified, but not entirely unjustified either) for being too mathematically sophisticated or too computationally intensive to work at scale…
Java is still available at zero-cost
The Java ecosystem has always been built on a high quality $free (zero-cost) JDK available from Oracle, and previously Sun. This is as true...
CLI: Improved
I'm not sure many web developers can get away without visiting the command line. As for me, I've been using the command line since 1997, first at university wh…