How I Built Zig-SQLite
Article explaining how to leverage Zig's compile time metaprogramming to build a SQLite wrapper that can type check SQL queries
The latest blog posts to take off on Hacker News. 49,219 posts.
Article explaining how to leverage Zig's compile time metaprogramming to build a SQLite wrapper that can type check SQL queries
In this post, I take you on a debugging journey and show you why it might be a good idea to add a comment next to a certain method.
Today I tried to help a friend who is a great computer scientist, but not a JS person use a JS module he found on Github. Since for the past 6 years my day job is doing usability research & teaching at MIT, I couldn’t help but cringe at the slog that this was. Lo and behold, a pile of unnecessary error conditions…
When it comes to inflation, economists get it wrong. Inflation is always and everywhere differential.
As part of my job I spend quite a lot of time scanning through files and disk contents, often in hex or filtered text view, searching for sp...
If you follow Gamefromscratch on Twitter, you may have already seen this tweet I put out last night about a blackmail demand that was made against our YouTube channel:First off, I really want to give a gigantic shout out to all of the people that helped get the message out, the tweets, retweets and even [...]
It will take about three minutes to read this column. Whether it’s worth three minutes depends on me, of course. I will do my best. But it also depends on you, on your attitude to time and, perhaps…
Left: Original image. Center: Blurred through convolution. Right: Deconvolution of the blurred image. In this post, we’ll have a look at the idea of removing blur from images, videos, or games thro…
50+ mental model examples and their explanations. There are five categories: success, decision-making, biases, business, and human nature:
Databricks, Snowflake, and the end of an overhyped era.
I can't remember specifically when I first said "I just want to be a kid," but I can still see the late 70s smog, and smell the exhaust all around us as I begged her for what feels like years to stop making me do this, while we sat in traffic on the freeway after school, going to and from auditions, day after day…
Here is a link to full schematics. Thanks to whoever made this. I just found a few issues with it. The CLK input to the 7474 on page 2 should be HRESET, not CLK. Pin 5 of the 555's on pages 5 and 6 should be connected to the capacitor. Also some of the nodes are inconsistently labeled.
Many recent Intel processors benefit from a new family of instructions called AVX-512. These instructions operate over wide registers (up to 512 bits) and follow the Single instruction, multiple data (SIMD) paradigm. These new AVX-512 instructions allow you to break some speed records, such as decoding base64 data at…
Linked thinking and the many "tools for thought" apps that have been released over the past few years, have changed the discourse on how we take in and proce...
Wherein the Means to Make macOS Behave Itself Are Enumerated, Including an App to Stop Music.app Launching on Device Connection, Terminal Tips for Gatekeeper, OCR From Screen, and Time Machine Control.
The New York Times recently published a series of articles about the history of Haiti.
While I was leading PKC’s security practice, we did probably 20-30 code security audits, almost of all of them for startups that were just around their Series A or B (that was usually when they had cash and realized that it’d be good to take a deeper look at their security, after the do-or-die focus on product market…
Even if you already know a bit (or a lot) of SwiftUI, Stanford’s course is incredible, amazing, wonderful, AND FREE!
When Elden Ring got released, I knew that i wanna sneak peak behind the curtains and look what is lying in there. i won’t claim that i’m the die-hard fan of solus genre, but i’m a die-hard gamer for the 3rd person genere and i like to try them even if they’re not in the sub-genere i love. I’m probably more biased…
Becoming a project manager after being a software developer for many years changed me quite a bit. Below are my thoughts and breakdown of the experience.
It is not my job
Fuchsia is a general-purpose open-source operating system created by Google. It is based on the Zircon microkernel written in C++ and is currently under active development. The developers say that Fuchsia is designed with a focus on security, updatability, and performance. As a Linux kernel hacker, I decided to take a…
Turn a misbehaving computer off and on, or stop a misbehaving program and then start it again. Often, the problem goes away.
I want to be able to inspect the traffic of programs running on my computer. I don’t really trust those programs and ideally I’d like to put nearly all of them into a high security jail. One of those programs is Oculus software. There are a few reasons why I want to be cautious about Oculus software.
Several years ago, when I was a junior engineer just out of university, a PM wandered by my desk on his way to a meeting one morning. “Uh, hey, we’re having a meeting about Project Jabberwocky, uh, right now, can you come?” He was already past my desk and did a last-second pivot to extend the invitation. I was…
Informed Tip of the Week: Take a look at our recent series of posts covering Informed’s premise and our business model. We will be adding additional content over the next few weeks. At the beginning of the year, I wrote about most of the obvious bubbles out there and how Continue Reading