Best of 2019

The blog posts Hacker News loved most in 2019. 4,838 posts.

Any topic
3542

WebOS OSE 2.1

We’re delighted to announce the release of webOS Open Source Edition (OSE) 2.1.0. The highlights of this release are as follows: Change of the default logging system to journald Japanese Virtual Keyboard support and iLib upgrade Bug fix and improvements For more details on this release, see the release notes. Change…

3543

Parallelism in Crystal

Crystal has made a huge step forward to have parallelism as a first class citizen. In short, you can set up the number of worker threads on runtime and each new fiber will be scheduled to run on one of them. Channel and select will work seamlessly. You are allowed to share memory between workers, but you will probably…

3562

Principal Component Analysis

In the previous article in this series we distinguished between two kinds of unsupervised learning (cluster analysis and dimensionality reduction) and discussed the former in some detail. In this installment we turn our attention to the later. In dimensionality reduction we seek a function $f : \mathbb{R}^n \mapsto…

3567

Fast Perfect Hashing

A perfect hash function is one that is collision-free. By implication, the hash must be at least as many bytes as the key and the function is theoretically reversible, though not always tractably so. In other words, perfect hashing is a special case of encryption. Because the hash is no smaller than the key, the…