New
The latest blog posts to take off on Hacker News. 3,290 posts.
Gradient Boosted Decision Trees
From zero to gradient boosted decision trees
Teaching our five year old to code by cheating
Teaching our five year old daughter to code by cheating.
Time for a WTF MySQL Moment
Documenting the reasons why I tend to prefer Postgres - even when it's my friends getting bitten.
Fooling Around with Foveated Rendering
Shadertoy is a wonderful tool which lets users create and share a type of program called a fragment shader online. The true magic of shadertoy is its community of very talented graphics programmers who build incredible works of art despite having access to only a sliver of the traditional graphics pipeline.
Tools I use: argparse builder
argparse builder is a web based graphical interface for quick creation of the argparse commandline switches for your python scripts.
Why Life Can’t Be Simpler
We’d all like life to be simpler. But we also don’t want to sacrifice our options and capabilities. Tesler’s law of the conservation of complexity, a rule from design, explains why we can’t have both. Here’s how the law can help us create better products and services by rethinking simplicity.
Full-Bleed Layout Using CSS Grid
Certain layouts are surprisingly dastardly. On the modern web, one of the most common layouts is also one of the trickiest. In this tutorial, I break down how to build the "full-bleed" layout using CSS Grid.
Type-Level Programming in Rust
I show how two domain-specific type systems, information flow control and two-party communication protocols, can be implemented in Rust using type-level programming. I explain how interesting properties of these domains can be verified at compile-time. Finally, I construct a general correspondence between type…
Nvidia announces Jetson Nano 2GB, a single board computer
Using Python 3.6, OpenCV, Dlib and the face_recognition module
I built a lay-down desk
After spending part of the last 12 months travelling in Europe I'm now settling down around Paris and I need to adapt my multi-screens setup. You probably have seen an ads for the altwork desk a $7000 desk that let you work laying down. Spending a big part of my …
Cells are fast and crowded places (2011)
I recently learned that cells are extremely crowded and busy places. I knew there's a lot of activity in cells, but I didn't realize just h...
It’s 255:19AM. Do you know what your validation criteria are?
Ed25519 signature validation criteria vary widely between implementations, creating risks for consensus systems. Here's why and how to fix it.
Fortunately, I don't squash my commits
The story of a bug, and how I addressed it.
Windows Timer Resolution: The Great Rule Change
The behavior of the Windows scheduler changed significantly in Windows 10 2004 (aka, the April 2020 version of Windows), in a way that will break a few applications, and there appears to have been …
Benchmarking static website hosting providers
Static websites are still a hot topic. They are fast, and they're incredibly secure because there isn't a CMS to hack. Once you build a static website, however, the question becomes: Where do I host?In other words: what is the fastest static webs...
The Whitworth Three Plates Method (2017)
A visual step-by-step guide to Joseph Whitworth’s three-plate method for creating very flat reference surfaces.
Dissecting Lemire's nearly divisionless random number generator
A very late blog post announcing the readability contest winners, a new (very) annotated implementation, and a surprising sort-of security issue found along the way.
On the destruction of America’s best high school
[C]hildren with special abilities and skills need to be nourished and encouraged. They are a national treasure. Challenging programs for the “gifted” are sometimes decried as “eli…
Sonos is spying on me (and you)
I recently decided to get a wireless speaker for our Kitchen. Sonos seems like an obvious choice these days. The sound quality and aesthetics were very appealing. So I ordered a Sonos One SL speaker. In terms of sound quality and looks, I was very pleased. I’m not an audiophile but the sound quality seemed…
Why I left my tenured academic job
The news is out : I left France, I'm no longer a professor at EURECOM, I joined the Malware Research Team at CISCO Talos, and I moved to beautiful Vienna. Big change :-)
Running a Unix-like OS on a home-built CPU with a home-built C compiler
[Thanks for many comments and votes on Hacker News! ] It’s been two years since I started working as a software engineer. I sometimes tell my colleagues about a student project I did in my junior year of university, and it’s so well-received that I’m writing this post. 1 Now, let me ask you a question. Have you ever…
Fibers, Oh My
Fibers, Oh My! # Written by Dale Weiler, last updated Oct 5th, 2020 Twitter GitHub It’s been brought to the attention of many people in the game development industry that you can use fibers to parallelize your engines and games. This one presentation in particular: Parallelizing the Naughty Dog engine using fibers has…
What are Differential Equations and how do they work?
Science News, Physics, Science, Philosophy, Philosophy of Science
Lambda Calculus Diagrams (2015)
The following table shows diagrams of identity, the booleans, some standard combinators, some Church numerals, the predecessor function on Church numerals, and Omega. term definition diagram alternative I/1 λx.x K/true λx.λy.x false/0 λx.λy.y S λx.λy.λz.(x z)(y z) Y λf.(λx.x x)(λx.f(x x)) 2 λf.λx.f(f x) 3 λf.λx.f(f(f…
Open-source self-hosted comments systems for static websites
A side-by-side comparison of open-source, self-hosted commenting systems for static sites — so choosing one doesn’t mean opening every repository yourself. Stars, open issues and last-commit dates are refreshed daily. Missing a system, or a column you need? Leave a comment below or open an issue.