New
The latest blog posts to take off on Hacker News. 1,420 posts.
TruffleRuby on the Substrate VM
Technical articles by Kevin Menard. Topics include Ruby, Java, machine learning, and general computing.
Undefined Behavior != Unsafe Programming
Are you arguing that undefined behaviour should not be a thing in, e.g., C? It sounds like you’re claiming that the fabled sufficiently smart compiler could take code in a C-like language with no UB, and emit something equivalent to what a C compiler would produce given equivalent input in C that correctly avoids UB…
The Biggest and Weirdest Commits in Linux Kernel Git History
We normally think of git merges as having two parent commits. For example, the most recent Linux kernel merge as I write this is commit 2c5d955, which is part of the run-up to release 4.10-rc6. It has two parents:
Releases for XFCE
So it’s not that I’ve been quiet and lazy – I was actually busy preparing some releases and hacking on stuff. So here’s an update on what’s been going on and what’s to come.
Is PostgreSQL good enough?
tldr; you can do jobs, queues, real time change feeds, time series, object store, document store, full text search with PostgreSQL. How to,...
.NET Core Web API on AWS Lambda Performance
In order to understand what I’m going to talk about, you must know what is AWS Lambda, I talked about in this blog post where I went through getting started with Visual studio code and AWS Lambda, …
50 Bytes of Code That Took 4 GB to Compile (2013)
While doing evil things with macros and the inline assembler (trying to run a weird test whose purpose is not really relevant) I managed to write a program that caused Visual Studio’s C++ compiler …
The Three Ways of XOR
We all know the XOR operation. It’s the cousin of NOT, AND and OR. Like AND and OR, it is a binary boolean function. Unlike them, most programming languages ...
From AST to Lossless Syntax Tree
As noted in ASDL Implementation and Use Cases , I began with a simple AST interpreter for OSH, thinking that the two languages could share the same AST.
Mkfile(8) is severely syscall limited on OS X
When I got my brand-new MacBook Pro (late 2016), I was interested in testing out the phenomenal SSD performance I had been reading about, r...
Things Developers Should Know About SQL Server (2013)
Hi. I’m a former developer who’s moved into database administration, and here’s what I wish somebody would have told me when I got started. 7. SQL functions rarely perform well. Good developers like to reuse code by putting it into functions, and then calling those functions from multiple places. That’s a great…
Cryptographically Secure PHP Development
Your field guide to building secure cryptography features in PHP
How Do You Know a Developer Is Doing a Good Job?
There are many ways to evaluate a developer. Should we use quantitative metrics or stick to qualitative ones?
Getting Started with Functional Programming in F#
Video presentation by Reid Evans on Getting Started with Functional Programming in F#. Here are my takeaways and thoughts on this great talk.
RethinkDB versus PostgreSQL: my personal experience
News and updates about CoCalc
A first look at WebAssembly performance
WebAssembly gives us the promise to run high performance code in the browser in a standardized way. Now that there are a few WebAssembly previews available I decided it’s time to take a look at their performance. One source for benchmarks is the well known Computer Language Benchmarks Game and I decided to pick nbody…
Modern garbage collection
A look at the Go GC strategy
Search at Slack
On average, 20% of a knowledge worker’s day is spent looking for the information they need to get their work done. If you think about a typical work week, that means an entire day is dedicated to this task! To help our users find more time in their day, the Search, Learning, and Intelligence team set…
PICO-8 lighting, part 1: thin dark line
How I rolled up my sleeves and got a real-time lighting engine working under the constraints of PICO-8.
Grappling with Go
In a previous blog post, I observed that one of the medium-termpossibilities we’re seriously considering for NTPsec is moving theentire codebase out of...