New
The latest blog posts to take off on Hacker News. 80,915 posts.
JEP 450: Compact Object Headers
Reduce the size of object headers in the HotSpot JVM from between 96 and 128 bits down to 64 bits on 64-bit architectures. This will reduce heap size, improve deployment density, and increase data locality.
Running JavaScript in Rust with Deno: Experimenting with Deno's Rust Crates
Explore how the Deno runtime can enable JavaScript code execution in a Rust application via a proof-of-concept project called "js-in-rs". Discover the flexibility and versatility of using JavaScript expressions as filters in a CLI, written in Rust, as a powerful alternative to regular expressions. Watch out grep!
AI is just someone else's intelligence
It’s been a long time since I’ve worked in the field of ML (or what some call AI), and we’ve come a long way from simple text classification to what’s being casually called generative AI today. While the technology has made many advances, the foundational concepts of machine learning have remained analogous over time…
Google Introduces Passkey Authentication
By: Arnar Birgisson and Diana K Smetters, Identity Ecosystems and Google Account Security and Safety teams Starting today , you can create a...
UEFI Secure Boot on the Raspberry Pi
UPDATE: this post unexpectedly ended up on Hacker News and I received a lot of comments. The two most important points being made are (1) that Secure Boot on the RPi as …
Hue Light Hack
In a fun-filled deep dive into a Philip's Hue Color light bulb, I disassembled, analyzed, and ultimately restored it to working order. Over the course of the hack, I dismantled the bulb’s interior,...
EARN IT Act undermines the privacy, security, and safety of law-abiding users
Yesterday, TechFreedom sent a letter to the Senate Judiciary Committee raising concerns about the Eliminating Abusive and Rampant Neglect of Interactive Technologies Act of 2023 (EARN IT Act). As it did when introduced in each of the past two sessions of Congress, the EARN IT Act undermines the privacy, security, and…
New C features in GCC 13
The GNU Compiler Collection 13 release implemented a number of interesting features in its C front-end. This article summarizes the most interesting ones.
The seven programming ur-languages (2021)
I regularly hear people asking which programming language to learn, and then reeling off a list of very similar languages (“Should I learn Java, C#, C++, Python, or Ruby?”). In response I usually tell them that it doesn’t really matter, as long as they get started. There are fundamentals behind them.
Gitlab and Google Cloud Partner to Expand AI-Assisted Capabilities
GitLab AI-powered security feature to leverage Google Cloud's foundation models to empower customers to identify and remediate vulnerabilities more efficiently while maintaining privacy standards...
A look at Crystal, a programming language for humans
I recently implemented a Brainfuck interpreter in the Crystal programming language and I’d like to share my honest opinion about working in the language.
Scaling up the Prime Video audio/video monitoring service and reducing costs
Amazon produces and delivers to customers world-class entertainment via Prime Video, Amazon MGM Studios, MGM+, Amazon Music, Audible, Wondery, Amazon Games, and Twitch. Amazon’s entertainment properties empower millions of customers around the world to enjoy a massive selection of the very best in…
UDP transmitter implemented with PIO and DMA on the RP2040
The objective for this project was to implement a UDP transmitter for use on the RP2040 that would consume zero CPU time. The system described on this webpage is implemented with 3 PIO state machines, 12 DMA channels, and 1 PWM channel. It generates an NLP, performs packet checksum calculations, and performs packet…
Somehow AutoHotKey is kinda good now
img {border-style: groove; border-width: 1px;} I love Autohotkey so much that it keeps me on Windows. It’s the best GUI automation tool out there. Here’s a shortcut that opens my current browser tab in the Wayback Machine: #HotIf WinActive("ahk_exe firefox.exe") >!^s:: { Keywait("RControl") Keywait("RAlt")…
Mojo might be the biggest thing to happen in programming for decades
Mojo is a new programming language, based on Python, which fixes Python’s performance and deployment problems.
The money spent on lotteries doesn’t go to the park
The $6-10 lottery application fee that Recreation.gov charges doesn’t go to the park, but into Recreation.gov’s pockets. In 2022, for 6 out of these 9 lotteries, Recreation.gov makes made more money than the park.
Enhancements to the Kagi Search Experience
We are pleased to announce newly enhanced search results across various search features. Kagi's goal from day one was to provide the best search results. Today, we are adding significant improvements to continue our steady progress...
Searches for VPN Soar in Utah Amidst Pornhub Blockage
Utah's Google search volume for "VPN" is soaring following PornHub's decision to shut down access for the state in response to strict ID laws.
New in Chrome 113
Chrome 113 is rolling out now! WebGPU is here, it allows high-performance 3D graphics and data-parallel computation on the web, devtools can now override network response headers, First Party Sets, part of the Privacy Sandbox, that allows organizations to declare related sites is starting to roll out, and there's…
Graviton 3, Apple M2 and Qualcomm 8cx 3rd gen: a URL parsing benchmark
Whenever you enter a URL into a system, it must be parsed and validated. It is a surprisingly challenging task: it may require hundreds of nanoseconds and possibly over a thousand cycles to parse a typical URL. We can use URL parsing as a reasonable benchmark of a system performance. Of course, no single measure ……
An Internet Canvas
Wouldn’t you want a digital medium with the expressive ease of paper?
Driving Compilers
I remember how pleasant it was to learn to program in C. There were so many good books explaining not only the language but also the standard library. I devoured both The C Programming Language (K&R) by Kernighan/Ritchie and The Standard C Library by P.J. Plauger. Then came Expert C Programming by Van der Linden and…
How Does an FPGA Work?
Let’s start at the beginning. What is an FPGA ? Well, FPGA stands for F ield P rogrammable G ate Array , which isn’t helpful in understanding what they are or do but we had to get that out of the way.
Steve Jobs and the actually usable computer (2011)
At a sad time at which the world has just lost Steve Jobs, it is well to reflect on some of the things which he, his passion, and his creations have given us, as now the technical community should take...
Temporal .NET – Deterministic Workflow Authoring in .NET
A high-level overview of Temporal's new .NET runtime, and some interesting challenges encountered during its development.
The Full Story of Large Language Models and RLHF
Large Language Models have been in the limelight since the release of ChatGPT, with new models being announced seemingly every week. This guide walks through the essential ideas of how these models came to be.