Beginner's guide to OCaml beginner's guides
Alex Clemmer is a computer programmer. Other programmers love Alex, excitedly describing him as "employed here" and "the boss's son".
The latest blog posts to take off on Hacker News. 21,842 posts.
Alex Clemmer is a computer programmer. Other programmers love Alex, excitedly describing him as "employed here" and "the boss's son".
While on vacation, I’ve been working on an alternate type inference scheme for rustc. (Actually, I got it 99% working on the plane, and have been slowly poking at it ever since.) This scheme simplifies the code of the type inferencer dramatically and (I think) helps to meet our intutions (as I will explain). It is…
A collection of the most unfortunate but occasionally subtle issues I’ve seen in code written by students new to writing Python.
Portal is a game that consists of a series of puzzles that must be solved by teleporting the player’s character and simple objects from one place to another.
This domain name has been registered with Gandi.net. It is currently parked by the owner.
Recently there have been heated complaints that the culture of programming unfairly excludes some groups. They want to join the programming elite and get a spot at the startup trough. More power to…
You’re part of a preternaturally enlightened dev team, and have set aside an entire day for nothing but code review. However, after the first 2 hours, you realise that you have forgotten your glasses and have just been staring at colourful blurs all morning. What do you do?
Having just returned from the annual Oregon Programming Languages Summer School, at which I teach every year, I am once again very impressed with the impressive growth in the technical sophisticati…
Microservices - everyone talks about them nowadays. There’s no common understanding however what they are. I’ve been researching this topic for a while, gathering and evaluating articles, presentations and conference videos.
An important question in code structure is whether to make classes work together through composition or inheritance. The "has a" relationshi...
I got started hacking on my own roguelike after spending several years avidly playing Angband . Like most projects, I had a few itches I wanted to scratch and it kind of took on a life of its own. One thing that annoyed me about Angband was how monsters dropped loot when they died.
A couple of Sundays ago, I wrote an implementation of Dijkstra’s algorithm in Clojure. The core algorithm came to twenty-five lines. I banged out the code as...
How does one go about creating a gtk+ working application? Is it even possible? Seriously. TL;DR: The Gtk+ ABI is broken so often that distribution-supplied binaries rarely work. * * * Imagine it is the time when Gtk+ 3.0 was released. You have a beautiful application with no bugs. For the sake of argument…
Hi all, PyPy-STM is now reaching a point where we can say it's good enough to be a GIL-less Python. (We don't guarantee there are no more...
Leaving node.js land
We all know that when designing and operating applications at scale, it is persistent state management that brings the most difficult challenges. Delivering state-free applications has always been (fairly) easy. But most interesting commercial and consumer applications need to manage persistent state. Advertising…
The more I write code and design systems, the more I understand that many times, you can achieve the desired functionality simply with clever reconfigurations of the basic Unix tool set. After all, functionality is an asset, but code is a liability . This is the opposite of a trend of nonsense called DevOps, where…
We are archiving Atom and all projects under the Atom organization for an official sunset on December 15, 2022.
The official home of the Python Programming Language
Helping millions of developers easily build, test, manage, and scale applications of any size - faster than ever before.
This year was the first time I've attended the Google I/O conference, and it was a fascinating experience. As someone who is primarily an iOS developer and h...
…that I wish I had known when I started grad school