New
The latest blog posts to take off on Hacker News. 14,540 posts.
2D Liquid Simulator with Cellular Automaton (2017)
DegenCity Casino for New Zealand players: 30 free spins with no deposit, an NZ$6,000 welcome package, a four-tier VIP program, Apple Pay, cards and crypto, payouts within 24 hours.
Oops, You Wrote a Database
Those who fail to study databases are doomed to write them
Using GPT3, Supabase and Pinecone to automate a personalized marketing campaign
tldr; With GPT-3, Supabase, Pinecone, and Klaviyo, I built a semantic embeddings search that saved hundreds of hours of manual work for my girlfriends skincare brand ( Oliver Care ).
Forth: The programming language that writes itself
A talk by Dave Gauer , 2023. Made with minslides , which I made for this talk . Use the J and K keys to go forward and backward. You can also just scroll down like a regular web page. Toggle notes/annotations with the N key.
Training Deep Networks with Data Parallelism in Jax
Misha Laskin personal website. Includes a blog and projects focused on artifical intelligence.
Burgr – Books in Your Terminal
I spend most of my time writing code in a full screen terminal. I like to read books on my breaks and I'm a big fan of Project Gutenberg, which has over 70...
Common Lisp Implementations in 2023
Much has been written on Common Lisp; there is rarely one year without someone proclaming the death of the language and how nobody uses it anymore. And yet it is still here, so something must have…
Squeezing a Sokoban game into 10 lines of Haskell
Call-by-push-block
C++ Coroutines
C++ is late to the coroutine party, compared to other programming languages, but they are part of C++20. Prior to coroutines, a C++ programmer had two choices, roughly speaking:
Connecting a 1980s Pinball Machine to the Internet
I built a device that allows a pinball machine from 1984 to automatically upload scores to the internet. The device taps into the machine’s memory bus and monitors the game state, uploading scores after each game.
AsciiDoc, Liquid and Jekyll
A couple of days ago I was giving a little update to my website and I needed a wayto create and inject custom HTML into some of my posts.
Let's build a Chrome extension that steals as much data as possible
Today's adventure: DIY whole hog data exfiltration
Software 2.0 (2017)
I sometimes see people refer to neural networks as just “another tool in your machine learning toolbox”. They have some pros and cons, they…
NP-complete isn't always hard
A common assumption I see on the ‘net is that NP-complete problems are impossible to solve. I recently read that dependency management in Python is hard because package resolution is NP-complete. This is true in principle, but the reality is more complicated. When we say “NP-complete is hard” we’re talking about…
Four ways to build web apps
This is my opinionated list of four approaches to building websites and web applications. Publicly hosted on the internet, serving HTML, CSS, JavaScript, images, etc over HTTP.
Writing an engineering strategy
Once you become an engineering executive, an invisible timer starts ticking in the background. Tick tick tick. At some point that timer will go off, at which point someone will rush up to you demanding an engineering strategy. It won’t be clear what they mean, but they will want it, really, really badly. If we just…
Sips: Scriptable Image Processing System
I wanted to convert some .webp images to .png on my Mac. I asked ChatGPT:
John Carmack on Functional Programming in C++ (2018)
ps aux | more
Named Booleans prevent C++ bugs and save you time
Published: 17-02-2023 20:21 | Author: Remy van Elst | Text only version of this article
Queues should be empty
I’ve been writing a pubsub listener for work recently and had this silly “shower thought”: the ideal queue should be empty. Why? If the queue is not empty, it means that whatever job is consuming from the queue is not keeping up with messages coming into it. Ok, then if queues are supposed to be empty, then what are…
It's probably time to stop recommending Clean Code (2020)
It may not be possible for us to ever reach empirical definitions of "good code" or "clean code", which means that any one person's opinions about another person's opinions about "clean code" are necessarily highly subjective. I cannot review Robert C. Martin's 2008 book Clean Co...
Making macOS Apps Uninstallable
Wiggling apps in Launchpad There's this thing called **Launchpad** on macOS which shows you all the apps on your Mac in an iOS like manner. You may already have it in the Dock, but you can also launch it as any other app. There's even a nifty trackpad gesture for it where you *pinch with thumb and three fingers*. ...
What to expect from your framework
There's been a bit of a brouhaha these last weeks as parts of the Internet suddenly woke up to the realization that most Single Page Apps are slow and overcomplicated, and — shock horror — it turns out that Facebook, the lovable scamps that brought us React and QAnon, have conducted themselves badly! Refreshingly…
Modern SPAs without bundlers, CDNs, or Node.js
I typically start new front-end prototypes with a single HTML file that I view using a file:// URL. I enjoy this practice of incrementally growing my projects, so I’ll keep working in that single file for as long as I can. Once it becomes unwieldy, I’ll split out the CSS and JavaScript into dedicated files. Then when…
Programming AIs worry me
For some inane reason, Github classifies me as a "major open source maintainer", which means I get a free copilot subscription.1 I've been using it for a...