New
The latest blog posts to take off on Hacker News. 1,304 posts.
Win32 and .NET desktop apps can now be published in the Windows Store
At Build 2016 we announced the Desktop App Converter, enabling developers to bring their existing desktop apps and games over to the Universal Windows Platform (UWP) and then extend it with UWP functionality. With this, we’ve enabled the path to migrate an app or game to all Windows 10 devices over time – including…
Switching Costs in Software Development
The story of why it is important to make sure that it is easy to switch from one service to another.
If your code accepts URIs as input, filter out “file://”
There are many online sites that accept reading input from remote locations. For example a site might try to extract all the text from a webpage, or show you the HTTP-headers a given server sends back in response to a request.
Let's Build a Simple Interpreter, Part 1 (2015)
“If you don’t know how compilers work, then you don’t know how computers work. If you’re not 100% sure whether you know how compilers work, then you don’t know how they work.” — Steve Yegge There you have it. Think about it. It doesn’t really matter …
Why are the Microsoft Office file formats so complicated? (2008)
Last week, Microsoft published the binary file formats for Office. These formats appear to be almost completely insane. The Excel 97-2003 file format is a 349 page PDF file. But wait, that’s not al…
Why Ruby is an acceptable Lisp (2005)
Random code snippets, projects and musings about software from Eric Kidd, a developer and occasional entrepreneur.
Channels adopted as an official Django project
Posted by Andrew Godwin on Sept. 9, 2016
V8 JavaScript Engine: V8 Release 5.4
V8 v5.4 comes with performance improvements and reduced memory consumption.
WaveNet: A Generative Model for Raw Audio
This post presents WaveNet, a deep generative model of raw audio waveforms. We show that WaveNets are able to generate speech which mimics any human voice and which sounds more natural than the best existing Text-to-Speech systems, reducing the gap with human performance by over 50%.
How to Write a Spelling Corrector
I figured they, and others, could benefit from an explanation. The full details of an industrial-strength spell corrector are quite complex (you can read a little about it here or here ). But I figured that in the course of a transcontinental plane ride I could write and explain a toy spelling corrector that achieves…
Regular Expression That Checks If A Number Is Prime
Join Illya Gerasymchuk on his new blog as he explores blockchain, DeFi, Zero-Knowledge cryptography, AI, and finance.
Linux debugging tools you'll love
New zine: Linux debugging tools you'll love
The new and improved Programming Languages Zoo
It is my pleasure to announce the new and improved Programming languages Zoo , a potpourri of miniature but fully functioning programming language implementations. The new zoo has a decent web site, it is now hosted on GitHub , and the source code was cleaned up. Many thanks to Matija Pretnar for all the work.
The Metaprogrammer
There are some topics which, if posted onto a forum or news site, cause programmers to spew out more blather than all the rest put together. Such topics include:
How Quaternions encode rotations: derivation and sample code
In the post on matrices in Codea I mentionned that an affine transformation (things like rotation, scaling, translation) ℝ 3 → ℝ 3 could be specified by giving four vectors. In this post I want to examine that a little more closely for the special case of a rotation. That is to say: how can I encode a rotation in ℝ 3…
How to Generate Secure Random Numbers in Various Programming Languages
This blog post will maintain the industry best practices for securely generating random data in Ruby, Node.js, Java, etc.