New
The latest blog posts to take off on Hacker News. 14,544 posts.
The mystery of the fifteen-millisecond breakpoint instruction
Experienced professional software engineer based in York, UK
Monads in Scheme
An example of a monadic programming in Scheme that juxtaposes Haskell code for a state monad with the corresponding Scheme code.
Tarsnap email confirmation bypass
One consequence of these unsolicited security scans is that — since they feed a variety of inputs to forms, including the account creation form — I see a lot of obviously fake signup attempts (alas, none yet from the world's most obviously fake domain name ). These are harmless, since the signup code sends out a…
Neural Networks, Types, and Functional Programming
Deep learning, despite its remarkable successes, is a young field. While models called artificial neural networks have been studied for decades, much of that work seems only tenuously connected to modern results.
Biggest image in the smallest space
What’s the biggest pixel size of a PNG image in the smallest number of bytes? I wanted to try to create an image that could be downloaded but whose pixel buffer would be too big to store in the RAM of a PC. Here is a PNG image of 6,132,534 bytes (5.8 MB) and 225,000 × 225,000 pixels (50.625 gigapixels), which, if…
Best practices for a new Go developer
This year I had the privilege to organize GopherConIndia 2015 and also interview a number of Gophers.
Categories for Programmers: The Yoneda Lemma
This is part 15 of Categories for Programmers. Previously: Representable Functors. See the Table of Contents. Most constructions in category theory are generalizations of results from other more sp…
You are the WM
A window manager is a program that runs in the background, and give you keybinds and/or mouse moves to move/resize and arrange your windows on your screen.
Designing a garbage collector in Rust
For a while I’ve been working on a garbage collector for Rust with Nika Layzell. I thought this would be a good time to talk of our design and …
React, Flux, RethinkDB and SageMathCloud – Summer 2015 Update
I've been using databases and doing web development for over 20 years, and I've never really loved any database before and definitely didn'...
OS X Command Line Utilities
The OS X Terminal opens up a world of powerful UNIX utilities and scripts. If you’re migrating from Linux, you’ll find many familiar commands work the way you expect. But power users often aren’t aware that OS X comes with a number of its own text-based utilities not found on any other operating system. Learning about…
Linear Algebra: What matrices are
Most high school students in the United States learn about matrices and matrix multiplication, but they often are not taught why matrix multiplication works the way it does. Adding matrices is easy…
Lock freedom without garbage collection in Rust
It’s widespread folklore that one advantage of garbage collection is the ease of building high-performance lock-free data structures. Manual memory management for these data structures is not easy, and a GC makes it trivial.
Chip
I made this today while experimenting with cellular automata parameters , and I found it uniquely beautiful. After a while the patterns stabilise and start to look like a kind of constantly-moving circuit diagram. I call it Chip . The source is on GitHub if you're that way inclined.
Go enjoy Python3
Given a string, get a truncated string of length up to 12. The task is ambiguous, as it doesn't say anything about whether or not 12 shou...
The Beauty of Clojure
Owen Rees-Hayward - Data Engineer, Software Developer, Certified Spark Developer
State of the Common Lisp Ecosystem
Personal website of Fernando Borretti.
SIMD in Rust
An overview of my work on improving SIMD in Rust.
Creating a Pluto flyby using unaligned New Horizons images
Last month, a few days before NASA’s New Horizons probe made its historic flyby of Pluto, I posted a GIF of it doing so to Reddit .
Indices Point Between Elements
If you’re familiar with nearly any mainstream programming language, and I asked you to draw a diagram of an array, the array indices, and the array elements, odds are good you’d produce a diagram something like this: In this post, I want to persuade you to replace that image, or, at least, to augment it with an…
The Power of Power Cycling
Topics of interest for James
There Is No Thread
This is an essential truth of async in its purest form: There is no thread.