New
The latest blog posts to take off on Hacker News. 49,258 posts.
High Performance Z80 Emulation
…wherein I talk about my latest Z80 emulation adventures.
The Mathematics of 2048: Counting States by Exhaustive Enumeration
How many board configurations are there in the game of 2048? Let's try to enumerate them.
Finding bugs in Haskell code by proving it
Last week, I wrote a small nifty tool called bisect-binary , which semi-automates answering the question “To what extent can I fill this file up with zeroes and still have it working”. I wrote it it in Haskell, and part of the Haskell code, in the Intervals.hs module, is a data structure for “subsets of a file”…
Good engineers make terrible leaders
Yuval Noah Harari in his highly celebrated book Sapiens says that human values are shared myths and that there is no objective basis in humanism. I agree with him. In several separate exchanges on Twitter, I’ve debated the claim that technology has caused progress in human society or that there’s never been a better…
Apple's CVDisplayLink Doesn't Link to Your Display
Edit 2017/12/10: So I screwed up, I thought I was safe confirming it in two different ways but I was using an external monitor and all of the below is accurate only for a specific multi-monitor case. Skip to the bottom to read about my new results.
Larry Ellison allegedly tried to have a professor fired for benchmarking Oracle
In 1983, at the University of Wisconsin, Dina Bitton, David DeWitt, and Carolyn Turbyfill created a database benchmarking framework . Some of their results included (lower is better):
Reading Simple Haskell
-> is right associative, The function definitions from the previous slide will be parsed like this:
Photo-realistic lip-sync from text
We present ObamaNet , the first architecture that generates both audio and synchronized photo-realistic lip-sync videos from any new text. Contrary to other published lip-sync approaches, ours is only composed of fully trainable neural modules and does not rely on any traditional computer graphics methods. More…
Neural Network on a Commodore 64 (1987)
Neural Network on a Commodore 64
A Hacker Writes a Children's Book
[2018 Update: After posting this article and making it to the top of r/programming and HackerNews sales of the book increased noticeably. The book is now nic...
Flare: Clojure Dynamic Neural Net Library
I wrote Flare, a Dynamic Neural Net library in Clojure.
Bookbinding: A Tutorial (1995)
This page has been moved to http://homepage.cs.uiowa.edu/~dwjones/making/book/index.shtml
Decoding an air conditioner control's checksum with differential cryptanalysis
Back in 2009 I wrote an Arduino library ( IRRemote ) to encode and decode infrared signals for remote controls. I got an email recently fr...
The Merge
A popular topic in Silicon Valley is talking about what year humans and machines will merge (or, if not, what year humans will get surpassed by rapidly improving AI or a genetically enhanced...
Introduction to R Programming
This is a detailed step-by-step introduction to R programming. Starting with the two major reasons to learn R for Data Science, it will guide you through the installation process, and prepare you for the basics of R: arithmetics, variables assignment, data types, functions, and documentations.
What Have We Learned from the PDP-11?
This post is a slightly edited version of my November presentation to the San Francisco chapter of Papers We Love.
Down with Determinants (1995)
This paper was published in the American Mathematical Monthly 102 (1995), 139-154.
Writing a C Compiler, Part 2
This is the second post in a series. Read part 1 here.
Why I love Go
Many years ago, I've been waiting for a language like Go. Back then, I was primarily working with C (for microcontrollers), and C++/Java/Python/etc (for bigger machines). These are great tools, but still I was longing for compiled, statically typed, memory-safe (and garbage collected) language, which compiles for the…
Neural Networks in JavaScript with Deeplearn.js
An extensive tutorial on how to implement a neural network in JavaScript with deeplearn.js to perform machine learning in JavaScript. You can bring neural networks to your browser by using the performance benefits of WebGL. Deeplearn.js makes it possible to implement a WebGL powered neural network ...
Dependent Types for F#
F# DependentTypes
Is there data on the quality of management decisions?
A statement I commonly hear in tech-utopian circles is that some seeming inefficiency can’t actually be inefficient because the market is efficient and inefficiencies will quickly be eliminated. A contentious example of this is the claim that companies can’t be discriminating because the market is too competitive to…