New
The latest blog posts to take off on Hacker News. 7,293 posts.
Building a Cross-Platform Web and Mobile App from the Ground Up
“Why can’t we just write this code once and have it just work across Web, Android and iOS?” As a mobile engineer who has spent both a significant portion of his career copying the exact same product from iOS to Android, I’ve asked myself this question many times.
Devious SQL: Message Queuing Using Native PostgreSQL
An interesting question came up on the postgresql IRC channel about how to use native PostgreSQL features to handle some sort of queuing behavior. While the specific usage was related to handling serialization of specific events to some external broker, the specifics are less important than the overall structure.
Writing an open source GPU driver without the hardware
Until now, no Valhall devices (Mali-G57, Mali-G78) ran mainline Linux - whilst this made driver development obviously difficult, there’s no better time to write drivers than before the devices even get into the hands of end users.
The baseline for web development in 2022
TL;DR:The baseline for web development in 2022 is: low-spec Android devices in terms of performance, Safari from two years before in terms of W...
Aligning Language Models to Follow Instructions
We’ve trained language models that are much better at following user intentions than GPT-3 while also making them more truthful and less toxic, using techniques developed through our alignment research. These InstructGPT models, which are trained with humans in the loop, are now deployed as the default language models…
Deno in 2021
Retrospect of what happened in 2021 and what's coming in 2022
Highlights from Git 2.35
The open source Git project just released Git 2.35. Here's GitHub's look at some of the most interesting features and changes.
Audio Sparklines
Audio Sparklines! 3-bit digital wonders! A lofi waveform representation of audio buffers in tests and lldb debuggers!
NoJS – Creating a calculator with only HTML and CSS
Everyone loves CSS! So I built a calculator where the CSS handles the logic without the help of javascript. In this blog post, I will discuss how I achieved this and maybe make a case for my sanity for making it.
SICP: JavaScript Edition available for pre-order
Since the publication of its first edition in 1984 and its second edition in 1996, Structure and Interpretation of Computer Programs (SICP) has influenced co...
Porting USB applications to the web. Part 1: libusb
Learn how code that interacts with external devices can be ported to the web with WebAssembly and Fugu APIs.
Postgres Indexes for Newbies
Samples of b-tree, GIN, and GIST indexes for Postgres beginners.
TypeScript Features to Avoid
Learn programming languages like TypeScript, Python, JavaScript, SQL, and regular expressions. Interactive with real code examples.
Learn the workings of Git, not just the commands (2015)
Master Git through understanding, not memorization. Learn branches, merges, and collaboration with clear explanations and visual diagrams.
uLisp on the Raspberry Pi Pico
The RP2040 is a microcontroller chip designed by Raspberry Pi in the UK. It's a dual-core ARM Cortex M0+ running at 200 MHz which provides up to 16 MB of off-chip flash and 264 KB on-chip RAM. It has 30 GPIO pins, 4 of which can be used as analogue inputs, two UARTs, two SPI controllers, two I2C controllers, and 16…
Faker.js is now a community controlled project
Generate massive amounts of fake (but reasonable) data for testing and development.
Project Cambria: Translate your data with lenses
Changing schemas in distributed software is hard. Could adopting bidirectional lenses help?
We used C++20 to eliminate a class of runtime bugs
C++20 is here and has been supported in MSVC since 16.11, but today's post is not about how you can use it, but rather how we used it to effectively
Provably space-efficient parallel functional programming
You have heard your grandmother tell you many times: parallel programming is hard. In 2022, does it still have to be? Back in grandma’s heyday, they knew a cool and breezy way to do paralleli…
Github Copilot Wants to Play Chess Instead of Code
When OpenAI announced GPT-3 & its public beta I was fascinated but didn’t have an API key. I played with everything free that was built with GPT-3. Naturally, when I heard about GitHub Copilot I signed up for the waitlist and a few months later, I got access!
Async Rust in Practice: Performance, Pitfalls, Profiling
Learn how our developers used flamegraphs to diagnose and resolve performance issues in our Tokio framework based Rust driver.
Parcel CSS: A new CSS parser, compiler, and minifier
I'm very excited to announce @parcel/css, a new CSS parser, compiler, and minifier written in Rust! Check it out on GitHub, or try a live demo right in your browser.