New
The latest blog posts to take off on Hacker News. 1,031 posts.
Microservices without the Servers
Tim Wagner, AWS Lambda General Manager At LinuxCon/ContainerCon 2015 I presented a demo-driven talk titled, “Microservices without the Servers”. In it, I created an image processing microservice, deployed it to multiple regions, built a mobile app that used it as a backend, added an HTTPS-based API using Amazon API…
The mystery of the fifteen-millisecond breakpoint instruction
Experienced professional software engineer based in York, UK
Dead Code Should Be Buried – Why I Didn't Contribute to NLTK
Natural Language Processing moves fast, so maintaining a good library means constantly throwing things away. Most libraries are failing badly at this, as academics hate to editorialize. This post explains the problem, why it's so damaging, and why I wrote spaCy to do things differently.
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…
Go GC: Prioritizing low latency and simplicity
Go 1.5 is the first step toward a new low-latency future for the Go garbage collector.
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.
Handling App Transport Security in iOS 9
The rollout of iOS 9 is expected to come this Fall and will introduce a new privacy feature called App Transport Security (ATS) to enforce ...
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...