Types as Interfaces
For the past few days, I have been toying with an idea for a board game. To test it out, I wanted to write a simple implementation of it. Here’s an example of a type we might need in a critical phase of the game.
The latest blog posts to take off on Hacker News. 80,872 posts.
For the past few days, I have been toying with an idea for a board game. To test it out, I wanted to write a simple implementation of it. Here’s an example of a type we might need in a critical phase of the game.
Author: Alexey Makhotkin squadette@gmail.com. Introduction In this database design tutorial (~9000 words) I’m going to show how to design the database tables for a real-world project of substantial complexity. We’ll design a clone of Google Calendar. We will model as much as possible of the functionality that is…
The key to curing male pattern baldness - a condition that affects up to 50 per cent of men worldwide - could lie in a sugar that naturally occurs in the human body, according to scientists at the University of Sheffield.
Digital audio processing is a complex yet fascinating subject. Getting a deeper understanding requires knowledge in multiple technical disciplines, including physics, electrical/electronical engineering, and some software engineering when it comes to parts of the Linux ecosystem. This article aims to demystify the…
Steals buttons from the websites you visit. Do your usual online stuff and watch the collection of stolen buttons grow.
A short while before I came across bacardi55's call to conversation, I asked my wife if she wanted to see something cool. She said yeah. I showed her the Reading section, and explained that I was constructing the functionality to track my reading on my own website.
ASCII, a standard whose legacy defines to this day how most of the letters and numbers in your computer get encoded into ones and zeroes, is elegant and beautiful. Via lessons in computer history, punched tape, and typewriters, I'd love to share some of its logic with you.
Clojure macros have two modes: avoid them at all costs/do very basic stuff, or go absolutely crazy.
The Federation of American Scientists applauds the United States for declassifying the number of nuclear warheads in its military stockpile and the number of retired and dismantled warheads.
22 July, 2024
What exists in the space between riffing and ripping
In the early hours of May 13th, 2024 and after about sixteen hours of play over two days, I achieved one of my poker dreams and outlasted 773 entrants in the RunGood Poker Series $800 No Limit Hold’em Main Event hosted at Graton Casino and Resort to claim the outright win and top prize of $85,780.
I wrote a little book about entropy; here’s the current draft: • What is Entropy? If you see typos and other mistakes, or have trouble understanding things, please let me know! An altern…
By Jun He, Natallia Dzenisenka, Praneeth Yenugutala, Yingyi Zhang, and Anjali Norwood
I offer "no economic boost," you receive "P(doom)"
8 months post-ice, it's time for something new!
At Ubicloud, our managed cloud service enables us to run PostgreSQL for others. We open sourced our implementation, so we thought this was a good opportunity to talk about its features. This blog post summarizes features commonly available in a managed service. It also describes interesting differences between running…
No More Blue Fridays: How eBPF is already being adopted to prevent kernel crashes.
Garbage in garbage out
Five patterns to help Single Page Applications fetch data from remote sources
The Pin type (and the concept of pinning in general) is a foundational building block on which the rest of the the Rust async ecosystem stands. Unfortunately, it has also been one of the least accessible and most misunderstood elements of async Rust. This post is meant to explain what Pin achieves, how it came to be…
How I became the focus of a mass ritual against generative AI, and what I did about it.
One of the use cases I thought was reasonable to expect from ChatGPT and Friends (LLMs) was summarising. It turns out I was wrong. What ChatGPT isn’t summarising at all, it only looks like it…
This is the second part of a series of interactive articles on the x86-64 architecture. This part will focus on the first assembly instructions, visualizing the way data moves in memory when they are executed.
We are happy to announce that Stremio is now available for Raspberry Pi 5 and 4, installable on an SD card (of at least 8GB). Note: While the Raspberry Pi 5 is fully capable of smooth 4K playback, Raspberry Pi 4 will not be able to play 4K content due to hardware limitations. This release...