If you look at the browsers we use every day, there seems to be quite a bit of choice. We have Chrome, Edge, Brave, Firefox, Safari, and several others. But there’s something interesting about this list. Different browsers don’t necessarily mean different browser engines. For instance, Chrome, Edge, and Brave are all based on Chromium and use its Blink rendering engine. Firefox uses Gecko, while Safari uses WebKit. This means that despite having several browser choices, a large part of the web is still powered by a relatively small number of browser engines. Now, there’s a new browser trying…
miscellaneousexcerpt only · body stays at the source
Lockfiles might be familiar to you if you’ve ever worked with package managers like npm or Yarn (for the JavaScript ecosystem) or Composer (for the PHP ecosystem). A lockfile, as the name suggests, is a data file generated by these package managers that “locks in” or, in other words, records exact dependency versions, cryptographic hashes, or resource-access states. And since lockfiles pin the exact versions and transitive dependencies of libraries, it guarantees that every developer or CI/CD server installs the exact same code. The workflow becomes reproducible. And so, we are sorted when it…
miscellaneousexcerpt only · body stays at the source
Anthropic recently shared an article explaining a version control system (VCS) that they have been using internally to overcome their own limitations around managing their humongous monorepo. The VCS is called Scion and it flips the way how a traditional VCS like Git work. For instance, Git is built around a decentralized model where every client act as a full-fledged, offline-capable server with a complete copy of the repository. This way all these clients can work offline on their own respective copies. On the contrary, Scion assumes that all its primary clients (AI agents and automated…
miscellaneousexcerpt only · body stays at the source
Years ago, a colleague of mine told me about two pockets of foreign land surrounded by Switzerland: Campione d’Italia and Büsingen am Hochrhein, respectively Italy and Germany. Both are enclaves of their respective country in Swiss territory: An enclave is a part of the territory of a state that is enclosed within the territory of another state. To distinguish the parts of a state entirely enclosed in a single other state, they are called true enclaves.
The year is 2025. You’re writing tests for networking code in your Swift app. You could hit the live API, but then your tests are slow, flaky, and fail whenever that third-party service has a bad day. You could stub URLSession, but then you’re maintaining two implementations of your networking layer. You could maintain JSON fixtures by hand, but there’s no way to capture real responses automatically, so your fixtures go stale without anyone noticing. There’s a better approach: Record real HTTP traffic once, then replay it instantly for every subsequent test run. This pattern has been…
miscellaneousexcerpt only · body stays at the source
A few years ago, Twitter user @38mo1, a chemistry teacher from Japan, posted a Halloween × Boolean logic meme that I liked enough to save to ~/Downloads. And ever since, I’ve had a yearly reminder every October 1st to open the image and get a seasonal chuckle 🎃 More recently, I wanted to teach my kids some advanced snake maths (long story 🐍) and remembered that the software 3blue1brown uses for their videos was open-source. Which is all to say that this year for Halloween, NSHipster is dressing up as a beloved YouTuber. How’d I do? Neat, right? Everything used to create that video is…
miscellaneousexcerpt only · body stays at the source
You know what’s wrong with people? They’re too sure of themselves. Better to be wrong and own it than be right with caveats. Hard to build a personal brand out of nuance these days. People are attracted to confidence — however misplaced. But can you blame them? (People, that is.) Working in software, the most annoying part of reaching Senior level is having to say “it depends” all the time. Much more fun getting to say “let’s ship it and iterate” as Staff or “that won’t scale” as a Principal. Yet, for all of our intellectual humility, why do we write vibe code like this? if…
miscellaneousexcerpt only · body stays at the source
Language Server Protocol (LSP) revolutionized how programming languages integrate with developer tools. Model Context Protocol (MCP) aims to do the same for a new generation of AI tools. But before we lay our scene of two protocols (both alike in dignity), let’s take a moment to motivate the problem a bit more. Tool Use & Agents Today’s frontier models are extraordinary. But they’re limited in two key ways: They don’t know anything outside their training data They can’t do anything outside of predicting the next token To their credit, LLMs (kinda, sorta) understand these limitations, and have…
miscellaneousexcerpt only · body stays at the source
“Only Apple can do this” Variously attributed to Tim Cook Apple introduced Apple Intelligence at WWDC 2024. After waiting almost a year for Apple to, in Craig Federighi’s words, “get it right”, its promise of “AI for the rest of us” feels just as distant as ever. Can we take a moment to appreciate the name? Apple Intelligence. AI. That’s some S-tier semantic appropriation. On the level of jumping on “podcast” before anyone knew what else to call that. While we wait for Apple Intelligence to arrive on our devices, something remarkable is already running on our Macs. Think of it as a locavore…
miscellaneousexcerpt only · body stays at the source
.env files. If you’ve worked on a web application, you’ve probably seen one. While they certainly get the job done, .env files have shortcomings that can create friction in development workflows. We’ve touched on .env files in past articles about xcconfig files and secret management on iOS. But this week on NSHipster we’re taking a deeper look, exploring how the lesser-known 1Password CLI (op) can solve some problems many of us face managing secrets day-to-day. The Problem of Configuration Around 2011, Adam Wiggins published “The Twelve-Factor App”, a methodology for building modern web…
miscellaneousexcerpt only · body stays at the source
Chris Lattner often describes LLVM as a process of lowering. You start at the highest level of abstraction, source code written in a programming language like Swift or Objective-C. That code is parsed into an abstract syntax tree (AST), which is progressively transformed into lower-level, intermediate representations until it finally becomes executable binary. What if, instead of lowering source code down for the purpose of execution, we raised source code for the purpose of understanding? It’s a weird premise, I know. Bear with me. You could say that we already do this to some degree with…
miscellaneousexcerpt only · body stays at the source
Like everything else in 2020, this year’s WWDC had to be a little different if it was going to happen at all. When Apple first announced that the conference would be fully remote, nobody knew what that would look like, exactly. What parts of the dubdub experience would be kept in this new format? What details would be lost in translation? Could they actually pull it off? For context: Apple live-streamed its first keynote in 2013, and technical sessions in 2015. Attendees of WWDC 1997 could obtain a collection of CDs with video recordings of sessions — a far cry from the VHS tape for WWDC…
miscellaneousexcerpt only · body stays at the source
From the web
12 shown
Your visit, your choice.
Optional Google Analytics helps us understand visits. Microsoft Clarity records masked interactions to improve the site. Optional tools stay off unless you choose them. Privacy details.