RSS Amplifier

Blog

Henry @ RC S1

Recent content on Henry @ RC S1

recurse.henrystanley.comRSS feed ↗12 posts

Latest posts

A Buildpack for GraalVM

tl;dr: Deploy your Ruby code to Heroku and have it run on GraalVM. When deploying code in this brave new cloud world we live in, your app pretty much runs as a brain in a vat. It doesn’t (and shouldn’t) know about the hardware it’s running on, how the services it connects to are implemented, how it send data to your log aggregation tool, and so on.1 You get to choose between…

Getting started with Graal

GraalVM promises to be “one VM to rule them all” – a way to “run code faster anywhere”. The way it does this is using language interpreters written in a framework called Truffle: Truffle is a framework for implementing languages using nothing more than a simple abstract syntax tree interpreter. These interpreters turn your code into an AST which can be run on the GraalVM.…

Multi-file wordcount – an exercise in concurrent Ruby

Web frameworks have TodoMVC as a standard exercise, in which you build a little to-do list app. It’s a cute way to showcase the features of that framework and get to know it a little better. My friend Dan Friedman is trying to do the same but for programming languages, with concurrent-wc! It’s an exercise to build a utility that mimicks wc -l (which counts the lines in a file), but…

Tracking physical presence with packet sniffing

I wanted a way to see who was in the Recurse Center space at any given time – or to be able to check if people were in before deciding whether I wanted to take the L to Manhattan (on a weekend, say). Wi-fi is nearby I figure someone being connected to the Recurse Center Wi-Fi is a pretty good proxy for whether or not they’re in the space.

🔗 Drug elimination calculator

🔗 Where We Donate and Why It Matters

Redirecting…

Scope insensitivity and d3.js

tl;dr: Check out my Observable notebook showing how vast the scale of factory farming is. Scope insensitivity is our inabiity to grasp really large numbers. When you think about the difference between a million people and a billion people, your brain can’t really represent that thousandfold difference, so it gets compressed down to being abstractly ‘larger’. We don’t suffer…

Blagging your way through d3.js

With twelve weeks to do whatever programming projects I wanted, I figure now is the time to try something I’ve never touched before. Data visualisation is totally foreign to me (at least, anything beyond charts in Excel is). I was aware of d3.js, a JavaScript library for graphing data, so I thought I’d try it out. Turns out it’s not a “library for graphing data” at…

Hey, Cochrane - quick answers to medical questions

Cochrane is a body which produces meta-analyses on medical topics – basically, they pick a subject to review, trawl through all the existing scientific papers that have been published, throw away almost all of them because they’re too small, not statistically rigorous, or have some other methodological problem, and then use what’s left to make a judgement on the topic. Cochrane reviews…

Becoming a dramatically better programmer

In our first week, we were told that the RC faculty wanted to do one thing above else – to remove any obstacles in the way of us becoming dramatically better programmers. But what does that mean? What does getting dramatically better actually look like? I’ve outlined a few broad areas that programmers striving to get better might focus on. I’ve also suggested some ways to tackle these…

Learning Programming Languages with Spaced Repetition

The spacing effect shows that the most efficient way to learn material is to expose yourself to it at increasing intervals, instead of cramming. Spaced repetition learning uses this effect to show you flashcards at intervals optimised for knowledge retention. This is especially good for learning languages – it’s how Duolingo decides when to show you old vocabulary to review. So why not use…

BitTorrent clients for fun and profit

This is a work in progress. …well, not really for profit. The world doesn’t need another BitTorrent client. But it’s a great project for learning about an interesting web protocol, exploring the networking stack, getting to grips with Wireshark and debugging, and learning how things work. Reading a .torrent The torrent files you might find somewhere like The Pirate Bay are…