🏑


  1. November 23, 2026
    1. πŸ”— MetaBrainz Why ListenBrainz has been slow this week (and why it wasn’t July all over again) rss

      If you've noticed delayed listens, slow imports or other *Brainz sites restarting over the past day or so, here's what happened, what held up better than last time, and what we're working on next. You like graphs, so there are lots of graphs.

      tl;dr: Another wave of new users and Last.fm imports arrived this week. In July, a similar wave knocked ListenBrainz over for about 10 days. This time, the infrastructure work we've done since then let us clear the backlog in about 24 hours. We did hit a new problem that caused repeated restarts of other *Brainz services, which was fixed within a few hours, and it tells us where to focus next.

      A quick look back at July

      In July, ListenBrainz saw a huge burst of new users, many of them from the BTS ARMY community (welcome, and we're glad you're here! Did we mention that our new ED is ARMY and RM stans?). Lots of new users means lots of Last.fm history imports, sometimes 20 years of listens per account, all at once.

      We weren't ready for it. ListenBrainz was effectively unusable, imports slowed to a crawl for about 10 days, and the load took other MetaBrainz services down with it.

      The incoming queue during the July burst. Because our services were struggling, listens piled up for a whole week before we could work through them all. Individual queues peaked around 500K listens (the count is tripled on the graph, because we have redundant queues to ensure we never lose any listen you sent us).

      What we 've changed since then

      Since July we've focused on making the infrastructure absorb sudden bursts instead of falling over:

      • Splitting up services. We decoupled services so we can run several copies (replicas) of each and scale horizontally when traffic spikes.
      • Better connection throughput. More requests and listens can move through the system at the same time.
      • Hunting down slow database queries. A few slow queries were enough to make everything else grind to a halt. We found and fixed them.
      • A new database system and partitioning scheme. This simplified and sped up how listens are ingested.
      • Statistics and recommendation playlists (ongoing). We're reworking these to handle a much larger user base.

      This week 's burst

      This week's wave looked smaller until the weekend. More importantly, we had imports under control within 24 hours, thanks to the changes above.

      The incoming queue during this week 's burst. The initial bursts were managed quickly, but over the weekend during our team’s night-time listens queued up with a short peak of 300K listens, and the backlog cleared in a bit over 12 hours instead of 7 days.

      Side by side:

      | July burst| This week
      ---|---|---
      Peak listens per import queue| ~500K| ~300K
      Time to clear the backlog| ~7 days| a bit over 12 hours
      Overall impact| ListenBrainz unusable, imports slow for ~10 days, other MetaBrainz services down| Imports delayed ~1 day, other *Brainz services restarting for a few hours

      Zoomed out to the same scale, from mid-June to today, the difference is hard to miss:

      What a burst looks like compared to normal traffic

      Top: the purple peaks are Last.fm imports, reaching around 100K listens per minute against a baseline of a few thousand. Bottom: the green line shows new listens added, which turns sharply upward when the imports start on the evening of November 18th.

      The new problem: restarts elsewhere

      This time ListenBrainz itself held up, but on Friday we ran into a new issue that caused other *Brainz services to restart repeatedly. We got it under control within a few hours.

      The "Stegosaurus back": the periodic restarts on November 20th, which ended around 11:15 CET. You can see where it gets its name.

      What 's next

      This burst showed that the work we put in since July paid off, and it also showed where we're still weak. Over the next few months our infrastructure priorities are:

      • Making sure a busy ListenBrainz can't knock over the other *Brainz services, so the problem behind the "Stegosaurus back" doesn't come back.
      • Finishing the work on statistics and recommendation playlists so they scale with the user base.
      • Continuing to tune ingestion and imports and allow us to scale horizontally on demand, so the next, possibly bigger, burst is a non-event.

      Regarding Last.fm, we want to reassure the community that we will continue to support integration and imports from Last.FM to ListenBrainz in the future.

      Additionally, if you cannot upgrade your favorite scrobbler, music player or self-hosted library to follow the new API changes, you can point it at our Last.fm-compatible API: https://listenbrainz.readthedocs.io/en/latest/users/api-compat.html

      Thanks for your patience, and welcome to everyone who just joined. If you have questions, or ideas about any of the graphs above, come talk to us on the forums, here or chat.

    2. πŸ”— Simon Willison Ladybird's first alpha release rss

      Ladybird is an astonishingly ambitious project: a new browser, in 2026, with its own implementation of most of the key components - HTML parsing, CSS engine, layout, JavaScript, even WebAssembly. It still uses a few external components - things like HarfBuzz for text shaping, Skia for 2D graphics, ffmpeg for video, and SQLite for the things you do with SQLite. Everything else is part of Ladybird, or code brought in from Ladybird's even more ambitious predecessor project SerenityOS.

      This morning the Ladybird project released their first alpha, which means you can now install the browser (on macOS or Linux) without having to compile it yourself!

      I've been trying it out today, and it's very impressive. It feels fast, the UI is lightweight and intuitive, and most of the websites I've tried to load in it have worked as they should. It looks like this (showing my video-compressor tool):

      macOS running Ladybird - it has four tabs open, the visible one is showing tools.simonwillison.net/video-compressor which is an app for running ffmpeg using WebAssembly and is shown working.

      Here's the process tree after I opened six tabs in one window and another tab in a second window (generated by this script, thanks Claude):

      Ladybird (72925)  [240 MB]
      └── Hub (72926)  [61 MB]
          β”œβ”€β”€ RequestServer (72927)  [29 MB]
          β”œβ”€β”€ ProcessReaper (72928)  [1 MB]
          β”œβ”€β”€ Compositor (72930)  [123 MB]
          β”œβ”€β”€ RequestServer (72953)  [36 MB]
          β”œβ”€β”€ WebContent (72984)  [819 MB]
          β”œβ”€β”€ MediaServer (73006)  [118 MB]
          β”œβ”€β”€ VideoDecoderServer (73007)  [20 MB]
          β”œβ”€β”€ WebContent (73052)  [144 MB]
          β”œβ”€β”€ WebContent (73057)  [73 MB]
          β”œβ”€β”€ WebContent (73073)  [166 MB]
          β”œβ”€β”€ WebContent (73094)  [70 MB]
          β”œβ”€β”€ WebContent (73112)  [116 MB]
          β”œβ”€β”€ RequestServer (73113)  [27 MB]
          └── WebContent (73185)  [60 MB]

      Ladybird runs different tabs in different processes, an isolation mechanism used by most browsers (well, technically Chrome uses a process-per-site).

      I tried Ladybird against several of my more advanced tool examples - like the video-compressor shown above, which runs ffmpeg compiled to WebAssembly. I had it resize its own screenshot using my image-resize tool. It happily runs my Pyodide REPL (Python compiled to WebAssembly) too.

      The one thing I tried that didn't work was Datasette Lite, which runs Pyodide in a complicated arrangement of service workers and web workers. Attempting to start Datasette Lite displays this error:

      undefined is not a function (evaluated from 'navigator.serviceWorker.startMessages')

      I filed an issue about this, then found a FIXME annotation in the source code.

      The October explosion

      The project has been leaning heavily into coding agents this year. On February 23, 2026 Andreas Kling published Ladybird adopts Rust, with help from AI, describing how they ported parts of their LibJS JavaScript engine from C++ to 25,000 lines of Rust in two weeks using Claude Code and Codex.

      Here's the GitHub contributions chart for Ladybird over the past twelve months:

      Screenshot of a GitHub-style bar chart titled "Commits over time" with the subtitle "Weekly from Nov 22, 2025 to Nov 21, 2026". The y-axis is labeled "Contributions" with ticks at 0, 500, 1000 and 1500, and the x-axis is labeled Jan 2026, Mar 2026, May 2026, Jul 2026, Sep 2026 and Nov 2026. Blue weekly bars stay low for the first half of the year, then climb steeply from July to a peak in late October before dropping off in the final partial week.

      That uptick in October corresponds to the landing of a wealth of big improvements.

      This Month in Ladybird β€” October 2026 describes what happened. In addition to moving style and layout to their own thread, landing a new JavaScript JIT, and replacing their C++ with Cranelift WebAssembly engine with new code that achieved a 7x boost on the JetStream 3 WASM benchmark, they gained 75,650 new passes on the ~2.25 million subtest web-platform-tests suite, beating Safari!

      Line chart titled "WPT subtests passed in October" with the subtitle "Best run per day. The axis doesn't start at zero." The y-axis runs from 2.10M to 2.25M with ticks at 2.10M, 2.15M, 2.20M and 2.25M, and the x-axis is labeled Oct 1, Oct 8, Oct 15, Oct 22 and Oct 29. Four lines are labeled at their right-hand ends with final values: Chrome 2,244,397, Firefox 2,189,315, Ladybird 2,184,722, Safari 2,172,990. Chrome, Firefox and Safari rise only slightly across the month, at roughly 2.23M to 2.24M, 2.18M to 2.19M and 2.16M to 2.17M respectively. Ladybird, drawn as a thicker purple line, starts near 2.10M, stays around 2.11M with a brief dip on about Oct 15, then climbs steeply from about Oct 22, overtaking Safari around Oct 26 and finishing just below Firefox.

      How did they do that? Coding agents:

      Most of that gain came in five days, from about 2.12 million on October 22 to about 2.18 million on October 27. We pointed AI coding agents at WPT and asked them to fill in missing functionality. They made lots of small fixes, and those added up. Our biggest gains for the month were about 30,000 in /css and 10,000 in /editing.

      I'm interested in what models they are using here - I know Andreas uses Codex and Claude Code, but I haven't seen him talk about specific model versions. Claude Opus 5.5 came out on September 22, 2026 and Claude Fable 5.2 on November 9, 2026 (after that window). I'd love to know what they were using for that huge leap in the last week of October.

      Should you use Ladybird?

      Here's what Andreas says about Ladybird's suitability for use as a daily browser:

      This is an alpha, so some websites won’t work, and it will crash sometimes. When that happens, tell us! You can report a broken site from inside the browser. After a crash, you can read the crash report and decide whether to send it. Our privacy policy has the details.

      We want security nerds to hack it! A new browser gets hacked, over and over, and that’s part of the process, so we make no promises about security today. When you pwn us, please tell us how so we can harden Ladybird!

      Given how hard it is to secure a web browser, and the hostility of the environment they operate in, I won't be using Ladybird to sign into GitHub or Gmail or any of my other sensitive accounts.

      I'm going to keep it around for anonymous browsing though, partly to participate in the testing efforts but mainly because it gives me a glimmer of optimism to see a promising new entrant in the stagnant browser engine market start to grow its wings.

      You are only seeing the long-form articles from my blog. Subscribe to /atom/everything/ to get all of my posts, or take a look at my other subscription options.

    3. πŸ”— HexRaysSA/plugin-repository commits sync repo: ~540 changed rss
      sync repo: ~540 changed
      
      ## Changes
      - [IDASQL](https://github.com/allthingsida/idasql):
        - 0.0.20: archive contents changed, download URL changed
        - 0.0.19: archive contents changed, download URL changed
      - [QScripts](https://github.com/allthingsida/qscripts):
        - 1.2.8: archive contents changed, download URL changed
      - [eject_idb](https://github.com/allthingsida/eject_idb):
        - 0.0.3: archive contents changed, download URL changed
      - [hrtng](https://github.com/kasperskylab/hrtng):
        - 3.9.118: archive contents changed, download URL changed
        - 3.9.114: archive contents changed, download URL changed
        - 3.9.108: archive contents changed, download URL changed
        - 3.9.105: archive contents changed, download URL changed
      - [ida-discord-rpc](https://github.com/reversedcodes/ida-rpc):
        - 1.3.0: archive contents changed, download URL changed
      - [navcolor](https://github.com/milankovo/navcolor):
        - 1.0.2: archive contents changed, download URL changed
      - [zydisinfo](https://github.com/milankovo/zydisinfo):
        - 1.1: archive contents changed, download URL changed
      
    4. πŸ”— Works in Progress The unfair edge of biotech hedge funds rss

      This is a column: a lighter piece from the Works in Progress extended universe, designed to be enjoyed inprint. If you'd like to opt out of columns, or any other section, you can do so here.


      The notion of biotech hedge funds always felt a little strange to me. Yes, hedge funds are filled with clever people with clever ideas, like trading brick-and-mortar stocks based on satellite imagery showing how many cars are in their parking lots, but how are you going to trade on clinical trial results? Start up a lab? Whether drugs work in humans feels as unpredictable as anything else in biology. Maybe you can depend on the base rate of how often drugs for a particular disease area are approved, but everyone knows that already. Surely there are no dollar bills on the ground here waiting to be picked up.

      And yet, hundreds of billions of dollars are managed by hedge funds and investment firms that specialize in biotech. The largest are Baker Brothers Advisors, Deerfield Management, and OrbiMed, each managing over $15 billion. Below them sit dozens more. How can these funds, some of which have been around for decades, possibly know more than the people doing the science?

      Well, a surprisingly large number of clinical trial results are actually decently predictable by anyone willing to simply look. Some very expensive trials are run for seemingly no reason at all, all of which have failed incredibly badly in the past and have little reason to succeed in the future. LLMs may have replaced a decent chunk of the work here, but, in the past, hiring a small army of graduate students to compile information was table stakes for any self-respecting hedge fund. One of the most famous of the pack - RA Capital - has an entire division called 'TechAtlas' dedicated to the effort.

      But we needn't rely on LLMs or human ingenuity for this! Insilico Medicine has published a paper on inClinico, a platform that predicts Phase II clinical trial outcomes using embarrassingly simple inputs: 'target choice' features (whether this is a good drug for this disease, based on omics data and a biomedical knowledge graph) and 'trial design' features (like enrollment size, blinding, number of endpoints, patient age, location, and funder type). Their predictions, which were date-stamped and published on preprint servers before the trials read out, hit 79 percent accuracy across 14 resolved trials.

      But then we arrive at the same problem as before: if it's as easy as training a model or a human on what is essentially public information, how does anybody make money here?

      Sometimes the answer is private information. The biotech investing industry spends enormous sums on paid consultations with expert networks. The business model is straightforward. An analyst at a biotech hedge fund wants to understand whether a particular clinical trial is likely to succeed. They pay an expert network $500 to $1,000 or more per hour to connect them with an individual who treats the disease in question, or who has run similar trials, or sits on advisory boards, or is otherwise an 'expert'. The analyst asks questions, and the expert answers.

      The stated purpose is to gain non-obvious insights. All of this is perfectly above board. There is no legal apparatus that prevents you from staring deeply into a clinician's glassy eyes and asking them whether the trial's endpoint is well chosen. There is nothing stopping you from taking their moment of hesitation as a sign of something worth trading on. It is a friendly conversation, and the SEC cannot prevent you from making friends.

      This conversation also happens to be the same context in which the single largest insider trading transaction in American history occurred.

      The main character is Mathew Martoma, who was a portfolio manager at SAC Capital Advisors, a hedge fund dealing in many areas, including biotech. In 2006, through one of the aforementioned expert networks - Gerson Lehrman Group - Martoma connected with Dr Sidney Gilman, a neurology professor at the University of Michigan who chaired the safety monitoring committee for bapineuzumab, an Alzheimer's drug in clinical trials. Over two years, Martoma arranged dozens of paid consultations with Gilman. Based on Gilman's optimistic reports about the trial's progress, SAC built a position worth roughly $700 million in bapineuzumab's two sponsoring companies. Then, in July 2008, Gilman learned the drug was failing. He told Martoma. Over the following days, SAC liquidated the entire $700 million position and went short. When the results were publicly announced later that month, SAC had netted $275 million in combined profits and losses avoided by selling the long holdings early.

      Obviously, Martoma was convicted in 2014 of securities fraud. SAC Capital paid $1.8 billion in fines and pleaded guilty to fraud charges, and rebranded as Point72 Asset Management. Yes! That Point72!

      How did they catch this guy anyway? The government, via an entity called FINRA, runs electronic surveillance on all shares traded on the NYSE, Nasdaq, and over the counter, including historical trading patterns. And they noticed something rather archetypical: someone held a massive long position, liquidated the entire thing, and then reversed to a short position all in the span of a few days, right before catastrophic news hit. FINRA flagged this to the SEC, which in turn alerted the FBI, which in turn pressured Gilman, who was 81, facing the end of his career, and potential prosecution, into cooperating in exchange for no jail time.

      Now, an interesting question to ask is: could Martoma have gotten away with it? Probably not, given how egregious both his offenses were. But if you talk to people involved who invest in biotechnology, it seems that the thing that led to the Martoma prosecution never stopped in any meaningful sense. It went on before the case, and it has continued since. Expert consultations are more likely to be recorded now and people are more scared to say something incriminating; the SEC is not magic, but it has ruined enough lives to function as a deterrent at the explicit end of the spectrum.

      But the game of increasingly subtle information extraction continues, and it is a game hard to enter for those outside of a hedge fund. You can only imagine how much this continues in entirely private, unrecorded conversations, between two friends who went to graduate school together, one who works as a scientist, and another who works in finance.

      This all said: it would be unfair of me to malign the biotech hedge fund industry at large because of stories like this, which do genuinely represent edge cases. We can quibble about the relative utility of, say, nanosecond- faster trading, but it feels obviously correct that accurate pricing of biotech companies is a net good for the world. Good drug developers should get money, bad ones should not get money.

      But for the most accurate players in this game, it also feels obvious that two things are true. One, that they are enormously prescient at seeing where the future may go in ways that are often opaque to even their peers - consider Baker Brothers' twenty-year investment in Seagen, one of the first antibody- drug-conjugate companies, an investment which ended up converting $2 billion into $10 billion. And two, at least some of them are the beneficiaries of information that nobody else could ever reasonably have.


      Abhishaike Mahajan is a columnist for Works in Progress and writes the blogOwl Posting.

      Subscribe now

    5. πŸ”— HexRaysSA/plugin-repository commits merge: set the default LATEST_RELEASED_IDA to 9.5 rss
      merge: set the default LATEST_RELEASED_IDA to 9.5
      
      IDA 9.5 was released in 2026-10. CI overrides this value with the
      latest tag from `hcli download --list-tags`. The default applies only
      when hcli is not available or not authenticated.
      
      Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
      
    6. πŸ”— HexRaysSA/plugin-repository commits merge: accept idaVersions as a spec string rss
      merge: accept idaVersions as a spec string
      
      The plugin index can store idaVersions as a version spec (">=9.0") or as a
      list of versions. merge_plugins.py parses a spec with hcli's rules and
      expands it to the released IDA major.minor versions up to
      LATEST_RELEASED_IDA, so prettified_versions stays a "first to last" list for
      the website. A string that is not a valid spec, such as "9.0 - 9.2", passes
      through unchanged. An invalid LATEST_RELEASED_IDA stops the script.
      
      generate_hugo_site.py reads ida_version_spec when the installed hcli
      exposes it.
      
      Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
      
    7. πŸ”— Kagi Kagi Mail is here (Public Beta) rss

      A private email and calendar with a @kagimail.com address, or with your own domains.

    8. πŸ”— Project Zero VirtualBox Process Hardening on Windows 2026 Edition: What’s a Single Bit Between Friends? rss

      Back in 2017 I did some research into Oracle VirtualBox on Windows. Specifically I focussed on their mechanism to protect their VM processes from the user on the host. The protection was to gate who could open the kernel driver, which might allow for privilege escalation due to the way it was designed. At the time I found 3 ways of bypassing the protection, with an additional issue in COM’s runtime I reported in 2020. These issues were all written up in this post.

      Fast forward to 2026 and I decided to look at VirtualBox again to see if much had changed. This time I found 3 new bypasses for protected processes, with an additional bug which was a broken fix for the 2020 bypass breaking due to changes in Windows. In this blog post I want to focus on one specific issue CVE-2026-87268 which abused a feature of the .NET Framework which, when combined with the implementation of the DLL loader hooks implemented by VirtualBox, permitted a bypass of the checks and allowed me to load arbitrary code into the protected process. Let’s dig into the root cause of the issue in .NET first, before moving on to exploitation in VirtualBox.

      .NET Assembly Loading

      The .NET Framework is interesting when it comes to bypassing process hardening as it supports loading assemblies from a memory buffer as long as you stick to only using managed code. This is obviously useful if the hardened process is maintained through verifying what DLLs can or cannot be loaded as it bypasses the traditional image mapping process. As the .NET runtime implementation is Microsoft signed, it’s usually permitted to load by any such checks.

      The canonical way to load from a memory buffer is to use the Assembly::Load static method which accepts a byte array. This does require you to run some .NET code first, or find a confused deputy to do the work for you. I used this API method to bypass VirtualBox process hardening back in 2017, I was able to get to the API through the JScript script engine, culminating in me releasing the generic DotNetToJScript tool.

      I’d always assumed this was the limit of bootstrapping arbitrary .NET from a memory buffer. If you tried to load a .NET assembly from a file it’d map it as an image section which would hit any DLL hardening checks and block an unsigned and untrusted binary from loading. However, in a β€œDoh” moment I realized I’d never verified this behavior to be true, thus I decided to take a look.

      The most important function to mapping a .NET assembly into memory seems to be PEImageLayout::Map, which is roughly the following in the version 4 of CLR.DLL which implements the runtime:

      PEImageLayout *PEImageLayout::Map(HANDLE file) {
        PEImageLayout* image = new MappedImageLayout(file);
        if (!image->Image) {
          image = new FlatImageLayout(file);
        }
        if (image->Image) {
          if (!PEDecoder::CheckFormat(image->Image))
             ThrowWin32(ERROR_BAD_EXE_FORMAT);
        }
        return image;
      }
      

      What is interesting is this code creates a MappedImageLayout object based on the file. If that fails it’ll fall back to using a different object, FlatImageLayout. The names kind of give away what they’re doing, but just to be sure let’s look at the implementations of the constructors:

      void MappedImageLayout::MappedImageLayout(HANDLE file) {
        HANDLE mapping = CreateFileMapping(file, nullptr, SEC_IMAGE | PAGE_READONLY);
        if (mapping) {
          this->Image = CLRMapViewOfFileEx(mapping);
        } else {
          if (GetLastError() != ERROR_BAD_EXE_FORMAT)
            ThrowLastError();
        }
      
        DWORD policy = 0;
        if (EEConfig::EnforceCodeIntegrity() 
         || (SUCCEEDED(WldpGetLockdownPolicy(nullptr, &policy, nullptr)) 
         && !WLDP_LOCKDOWN_IS_OFF(policy) && !WLDP_LOCKDOWN_IS_CONFIG_CI(policy))
        ) {
           ThrowWin32(ERROR_BAD_EXE_FORMAT);
        }
        // ...
      }
      

      The constructor for MappedImageLayout uses the CreateFileMapping API to convert the file handle into a section object. The code passes the SEC_IMAGE flag which instructs the kernel to assume the file is a PE executable and build an image section object including mapping in executable memory pages. Any protections which rely on verifying an image’s signature or location can be notified and take appropriate action. However if the CreateFileMapping call fails the code checks if the last error was not ERROR_BAD_EXE_FORMAT and throws ending the load entirely.

      An additional check is made here to check if β€œCode Integrity” is enforced through the Windows Lockdown Policy (WLDP) APIs. This checks for the β€œDynamic Code Security” code integrity policy being enabled or if a User Mode Code Integrity (UMCI) policy is enforced. If it is then an error is thrown ending the loading process. We’ll come back to this check when it becomes relevant.

      Assuming the mapping fails with the ERROR_BAD_EXE_FORMAT error, then the loading process continues, creating a FlatImageLayout object instead:

      void FlatImageLayout::FlatImageLayout(HANDLE file) {
        HANDLE mapping = CreateFileMapping(file, nullptr, PAGE_READONLY);
        if (mapping) {
          this->Image = CLRMapViewOfFileEx(mapping);
        } else {
          ThrowLastError();
        }
        // ...
      }
      

      This constructor is simpler, it just calls CreateFileMapping without the SEC_IMAGE flag. Therefore the file is mapped into memory as a data only section. There’s no executable pages, but that doesn’t matter for .NET. The final check, back in the first code snippet verifies that the PE file is valid with a call to PEDecoder::CheckFormat, throwing if it’s not valid.

      The take away from this is if we can get .NET to load a valid assembly file, but cause the first call to CreateFileMapping to fail with the ERROR_BAD_EXE_FORMAT error we can get it to execute the file from memory. Any protection code which is expecting to check the loaded image section will not see the load and untrusted arbitrary code would be executed.

      Note this behavior only seems to work on .NET Framework v4, not the older .NET Framework such as v3.5 and v2. From what I can tell in the earlier frameworks, while this check can be bypassed in the same way and the FlatImageLayout object created, the runtime passes the assembly to the LoadLibrary API later in the loading process where it will fail to load. I didn’t spend much time checking if this was bypassable, as the older .NET Frameworks are no longer installed by default and aren’t even included as optional components in the latest versions of Windows 11. I also didn’t investigate the modern .NET runtimes, v5 and above for similar reasons.

      VirtualBox DLL Loading Hooks

      Now that we have a potential route to bypassing a process hardening image checker using .NET let’s dig into how it was exploitable in VirtualBox. The previous blog post described how VirtualBox on Windows adds hooks to the DLL loader in order to prevent untrusted images from loading into the process. The important hook for our purposes is the one attached to the NtCreateSection system call which is called under the hood by CreateFileMapping to create the image section object. The following is the start of the hook function:

      NTSTATUS supR3HardenedMonitor_NtCreateSection(PHANDLE phSection, 
                                           ACCESS_MASK fAccess, 
                                           POBJECT_ATTRIBUTES pObjAttribs,
                                           PLARGE_INTEGER pcbSection, ULONG fProtect, 
                                           ULONG fAttribs, HANDLE hFile) {
        bool const fExecProt = (fProtect & 
               (PAGE_EXECUTE | PAGE_EXECUTE_READ | PAGE_EXECUTE_WRITECOPY | 
                PAGE_EXECUTE_READWRITE)) != 0;
        if (hFile != NULL && hFile != INVALID_HANDLE_VALUE) {
          bool const fImage    = RT_BOOL(fAttribs & (SEC_IMAGE | SEC_PROTECTED_IMAGE));
          bool const fExecMap  = RT_BOOL(fAccess & SECTION_MAP_EXECUTE);
          if (fImage || fExecMap || fExecProt) {
            bool fCallRealApi;
            NTSTATUS rcNt = supR3HardenedScreenImage(hFile, fImage, 
                                true /*fIgnoreArch*/, &fAccess, &fProtect, 
                                &fCallRealApi, "NtCreateSection", 
                                true /*fAvoidWinVerifyTrust*/, NULL /*pfQuiet*/);
            if (!NT_SUCCESS(rcNt))
              return rcNt;
            if (!fCallRealApi)
              return STATUS_TRUST_FAILURE;
          }
        }
      
        NTSTATUS rcNtReal = g_pfnNtCreateSectionReal(phSection, fAccess,
                      pObjAttribs, pcbSection, fProtect, fAttribs, hFile);
      // ...
      

      If the NtCreateSection call requests an executable section, such as via the SEC_IMAGE flag, then the file is passed to the supR3HardenedScreenImage support API which will check if the PE file matches VirtualBox’s loading criteria, only calling the original NtCreateSection system call if that succeeds or the file is not being mapped as executable. Importantly the CreateFileMapping call in FlatImageLayout would not hit the checks as it doesn’t request an image or executable mapping.

      In order for CreateFileMapping to set the ERROR_BAD_EXE_FORMAT last error, NtCreateSection needs to return STATUS_INVALID_IMAGE_FORMAT. We have two options for returning this status code, via the return code of supR3HardenedScreenImage or via the call to the original system call. Let’s see if the hardening code can even return this status code?

      static NTSTATUS supR3HardenedScreenImageCalcStatus(int rc) {
          if (rc == VERR_LDR_ARCH_MISMATCH)
              return STATUS_INVALID_IMAGE_FORMAT;
      
          return STATUS_TRUST_FAILURE;
      }
      

      It turns out that yes, the supR3HardenedScreenImage function can return this error code when mapping an internal error code to the status. Specifically if the error code is VERR_LDR_ARCH_MISMATCH then supR3HardenedScreenImage would return STATUS_INVALID_IMAGE_FORMAT. Therefore, what sets VERR_LDR_ARCH_MISMATCH?

      This error is set in the PE parser implementation in VirtualBox, specifically in the rtldrPEOpen API. This is reachable via RTLdrOpenWithReader which is called by the supHardenedWinVerifyImageByHandle function which itself is called by supR3HardenedScreenImage.

      To cut a long story short, due to the way the parser is called the VERR_LDR_ARCH_MISMATCH error is returned if the architecture of the PE file doesn’t match the host architecture and yet the PE file contains executable sections. This turns out to be perfect, when you compile a managed code only .NET assembly as AnyCPU, it generates a 32-bit x86 PE file so that it can be run on any system. This is for compatibility, a 64-bit (or ARM64) Windows system can map 32-bit PE files as images, but vice versa is not guaranteed. However, as shown below in the output from the dumpbin utility there’s executable code in the file as indicated by the size of code field in the optional header.

      C:\>dumpbin /headers DotNetAssembly.dll
      Microsoft (R) COFF/PE Dumper Version 14.44.35228.0
      Copyright (C) Microsoft Corporation.  All rights reserved.
      
      Dump of file DotNetAssembly.dll
      
      PE signature found
      
      File Type: DLL
      
      FILE HEADER VALUES
                   14C machine (x86)
                     3 number of sections
              D62E716A time date stamp
                     0 file pointer to symbol table
                     0 number of symbols
                    E0 size of optional header
                  2022 characteristics
                         Executable
                         Application can handle large (>2GB) addresses
                         DLL
      
      OPTIONAL HEADER VALUES
                   10B magic # (PE32)
                 48.00 linker version
                35CC00 size of code
                   600 size of initialized data
                     0 size of uninitialized data
      

      Therefore to force the image hardening checks to return STATUS_INVALID_IMAGE_FORMAT all we need to do is compile any .NET assembly as AnyCPU and it’ll bypass VirtualBox’s image checks without messing with the file format. Crucially, because the .NET assembly DLL has not been modified, it remains a valid assembly which can be loaded by the FlatImageLayout class and thus get code execution.

      The final piece of the puzzle is how to get the assembly DLL loaded into VirtualBox? It’s not sufficient to just cause the DLL to be loaded via LoadLibrary, we need .NET to load the file as an assembly file. This is pretty easy to achieve via COM hijacking. We can write a .NET COM registration to the current user’s hive for a class we know a hardened VirtualBox process will load. Then start a VM, that will load the COM object, which loads the .NET runtime which finally loads our untrusted assembly. You can find a full PoC in the issue tracker.

      There is a small caveat, I haven’t mentioned the WLDP check yet. For VirtualBox this check is unlikely to matter, it will only apply if Windows has a configured code integrity policy which enables the Dynamic Code Security or the UMCI options. It’s possible a system could have such a policy which also grants VirtualBox’s own binaries to run but it seems unlikely.

      VirtualBox fixed the issue by never returning STATUS_INVALID_IMAGE_FORMAT from the supR3HardenedScreenImageCalcStatus method. They also introduced some new code to make it more difficult to hijack COM objects by using an undocumented global option in COM to disable current user hive lookups.

      Attacking WDAC and Protected Processes

      If you’ve read this far you might be wondering if the .NET behavior applies to Windows Code Integrity enforcement in general. For example, both Windows Defender Application Control (WDAC) and protected processes rely on the in- built code integrity mechanism to block untrusted DLLs from loading, are they vulnerable?

      Well yes, assuming you can find a way of forcing .NET to use the FlatImageLayout option by getting NtCreateSection to return STATUS_INVALID_IMAGE_FORMAT. In VirtualBox this condition could be induced due to the behavior of the NtCreateSection hook on an unmodified .NET assembly file.

      For the built-in code integrity case there’s no user-mode hook to abuse, you only have the call to NtCreateSection. We need to be able to induce the STATUS_INVALID_IMAGE_FORMAT status code from the system call without a) hitting the code integrity check first and b) the resulting image being invalid for .NET to load. The latter issue seemed to be most problematic, it’s likely that the signature validation would only run once the file was verified to be a valid PE image, but if we modify the file too much then .NET would refuse to load it.

      We can write a simple test harness to call NtCreateSection first with the file, then if that fails with STATUS_INVALID_IMAGE_FORMAT call Assembly::Load passing the file path to load and see if that succeeds. From that you could write a fuzzer looking for a suitable modification, or just play with the file format manually.

      I found that it was almost trivial to create the right conditions. If you clear the IMAGE_FILE_EXECUTABLE_IMAGE flag in the COFF File Header’s Characteristics flag field then NtCreateSection will fail to load the file as an image section, but it is ignored by .NET when loading the PE file. This single bit change is all you need to load an untrusted .NET assembly.

      This is when the WLDP check becomes important. If an enterprise is deploying a WDAC code integrity policy they have probably enabled UMCI or the Dynamic Code Security option which blocks this attack. The Dynamic Code Security option isn’t enabled by default, and as it disables all dynamic code loading in .NET including the byte array version of Assembly::Load it might result in breaking important applications.

      However, UMCI is one of the main reasons to deploy a WDAC policy as that restricts what user mode code is allowed to run. Still, I decided to try the attack against an installation of Windows 11 S Mode which does enable UMCI but doesn’t enable Dynamic Code Security.

      To test it out I needed force .NET to load the assembly file. For Windows 11 S Mode you can run many of the built-in .NET utilities which take assemblies on the command line. For example, the Assembly Registration Tool can be used to load a .NET assembly and call any register and unregister functions defined by the developer. For example, compile the following code as a .NET assembly adding your own code to UnregisterFunction:

      using System;
      using System.Runtime.InteropServices;
      
      public class ComClass
      {
         [ComUnregisterFunction]
         public static void UnregisterFunction(Type t)
         {
            //Insert code here.
         }
      }
      

      Modify the resulting assembly to remove the IMAGE_FILE_EXECUTABLE_IMAGE flag. You don’t need to fix up anything else like the image checksum, a hex editor is all you need to change a single bit. Then you can pass the path to the modified assembly DLL to the RegAsm executable from the .NET runtime directory. Note, you should pass the /unregister option to run the UnregisterFunction, as unregistering doesn’t require administrator privileges.

      C:\Windows\Microsoft.NET\Framework64\v4.0.30319\regasm.exe c:\path\to\assembly.dll /unregister
      

      In theory this should have failed, but it didn’t. The modified assembly was loaded into memory and executed arbitrary code even with UMCI enabled. It turns out that the WLDP check is wrong, at least if only UMCI is enabled. It’s checking that the policy flags are not equal to the WLDP_LOCKDOWN_CONFIG_CI flag set, which represents:

      WLDP_LOCKDOWN_DEFINED_FLAG | 
         WLDP_LOCKDOWN_CONFIG_CI_FLAG | 
         WLDP_LOCKDOWN_UMCIENFORCE_FLAG
      

      Unfortunately this is exactly the flag setting returned by WldpGetLockdownPolicy on Windows 11 S Mode. Therefore the check passes and loading continues which then bypasses UMCI enforcement.

      For protected processes on a default installation of Windows the WLDP check doesn’t even come into play. Realistically, .NET should also check for protected status but it doesn’t. It should also be pointed out that you can only exploit Protected Process Light (PPL) processes. The original Protected Process (PP) requires DLLs to have page hashes in their authenticode signature, which the .NET runtime DLLs lack. Thus .NET fails to load, and we can’t reach the vulnerable code.

      For protected processes you can again abuse COM hijacking again. I found that WerSecureFault.exe loads a COM object during runtime, so by hijacking that registration and using the modified .NET DLL I could get arbitrary code as PPL at the TCB level without needing administrator privileges.

      Reporting to Microsoft

      Once I’d worked out how to abuse this behavior I wondered if it needs to be submitted to Microsoft for fixing. According to the MSRC Security Servicing Criteria any PPL bypass is not in scope. WDAC is a supported security boundary, however to quote the security goal, β€œOnly executable code, including scripts run by enlightened Windows script hosts, that conforms to the device’s policy can run…” This could be interpreted as, if there is a policy that can be enabled to prevent the code from running, then it’s not eligible for fixing.

      I had assumed that the WLDP check was as designed and it was really the Dynamic Code Policy that was disabling this behavior. Therefore I decided not to report it, presenting it at the 2026 44Con conference instead.

      However, after discussing the issue with some .NET developers they were clear that although enabling Dynamic Code Policy blocked the bypass that was by accident and not the intended purpose of the policy. They asked me to submit it to MSRC. Unfortunately by this point, late September 2026, I’d already publicly disclosed therefore it was treated as a zero day, CVE-2026-108398, and was fixed in October 2026, less than a month after reporting.

      The fix was to correct the WLDP check to the following:

      DWORD policy = 0;
        if (EEConfig::EnforceCodeIntegrity() 
         || (SUCCEEDED(WldpGetLockdownPolicy(nullptr, &policy, nullptr)) 
         && !WLDP_LOCKDOWN_IS_OFF(policy) && WLDP_LOCKDOWN_IS_ENFORCE(policy))
        ) {
           ThrowWin32(ERROR_BAD_EXE_FORMAT);
        }
      

      The use of WLDP_LOCKDOWN_IS_ENFORCE specifically checks for UMCI being enabled and disabling loading from memory. However this wouldn’t change the behavior in PPL therefore that should still be bypassable.

      Conclusions

      As with my previous research into VirtualBox’s process hardening on Windows I was able to reuse the bypass to exploit the built in code integrity features of Windows. In this case the .NET code tried to adhere to policy but the developers just made a mistake.

      Unfortunately the behavior made me assume that it wouldn’t meet MSRC’s security servicing criteria and so the vulnerability wasn’t initially reported. While the criteria are useful, in cases like this where the expected behavior is unclear it can mean a real issue might not get reported. I’d like to thank the .NET team for getting a fix out so quickly.

    9. πŸ”— Drew DeVault's blog sneakernet: a slow, decentralized messaging network rss

      Over the past couple of weeks I have been working on a project idea I call sneakernet, named after the informal term for networks which transmit information on β€œsneakers” rather than wires or radio, i.e. by physically carrying the data to the destination. The classic, evocative image is of the station wagon full of tapes flying down the highway during an outage, which is (accurately) said to have more bandwidth than most Internet connections.

      The internet has been slowly but surely going to shit for a while now. There’s slop everywhere, the search engines are broken, and social media algorithms are getting people killed. There are still good parts, for sure, and necessary parts, but it’s also the case that browsing the good parts is feeling kind of depressing lately, because the bad parts are really bad and they’re just a click away. It’s probably not fixable at this point.

      But, I still want to be able to use my computer to communicate with people around the world, collaborate, and build community together, all of those things that are getting increasingly and increasingly more desperate to accomplish online. Sneakernet proposes to deliver all of that, in some small way, at a much slower pace, while encouraging people to see each other face to face, by taking it offline.

      In short, sneakernet is a general-purpose message distribution system which uses your feet as the main transport. When you publish a message on your node, it gets automatically passed on to anyone else on the LAN who is also running sneakernet. They physically carry your message on their laptop to another network, where other sneakernet nodes automatically pick it up, too, and pass it further along. You can send an email via sneakernet to your friend in another city, and it will arrive, perhaps weeks or months later, whenever someone physically carries the data to them, perhaps through some number of intermediaries. When the email arrives, the recipient can see who carried it for them, and maybe they send them a little β€œthank you” note back through the ’net.

      On top of the low-level messaging system, one can build high-level applications. Most things will work so long as they are message-oriented and tolerant of extremely high latency. Applications included include sneakermail, which sends and receives emails via sneakernet (and it’s compatible with your favorite email client); sneakernews, which runs news groups/message boards on sneakernet; and sneakershare, which can share files on the ’net. Building new sneaker applications is straightforward and can be easily done in most programming languages.

      Imagine you go to an event like 40C3. When you arrive, your laptop automatically delivers emails to other attendees from people at your local hackerspace who couldn’t make it, and you hop on sneakernews to discuss the event with everyone. When the event is over, and you go home, you take all of those messages back to your hackerspace, where they’re dropped on the relay there. Your friends get the replies to their emails, and can catch up on the conversations that were going on in Hamburg. They reply back, and their message is carried by whoever is heading in the right direction next. All of this happens automatically, without any manual intervention – you just use your normal email client, or other sneaker applications, and wait patiently, or organize an expedition to deliver them to the next city over if you’re impatient.

      Sneakernet provides some security – enough to meet the demands of prudence, but not enough to stake your life on. Every message is authenticated, and every private message is encrypted for its recipients, so anyone who happens to carry them cannot read them. Sneakermail, for example, provides full authentication and encryption for all emails, without having to configure PGP. On the other hand, there’s no forward secrecy and it’s trivial to find out who is talking to whom. Check out the security write-up for more details.

      The system is still a work in progress. It currently depends on the latest Hare master branch, which I hope to resolve with a new Hare release in the next couple of weeks, but I’ll probably publish some statically linked binaries for it sooner than that. I’ll be running some tests at my own local hackerspace, techinc, during the open nights on Wednesdays, if you want to swing by and help me test drive it. I’ll be at 40C3 this year, and by then I hope to have have most of the kinks worked out so it’s ready for people to use. I’ve submitted a talk on sneakernet for FOSDEM as well, so if it’s accepted I’ll go into more detail on the inner workings and anticipated future challenges. There’s still going to be some work in the long tail, particularly around message filtering and retention, and moderation.

      Read up on the FAQ to learn more, and send me a sneakermail if you manage to get it working!

    10. πŸ”— Filip Filmar rules_dtc: Device Trees as Bazel Build Artifacts rss

      rules_dtc packages the Device Tree Compiler (dtc) and companion libfdt tools (fdtget, fdtput, fdtdump) as hermetic Bazel rules. The rules compile .dts source files into binary .dtb blobs, assemble and apply overlays, and decompile binaries back into source text. Critically, the module allows developers to assert device tree properties directly through Bazel test targets. This module generates the device tree that the Cocoapuffs board passes to OpenSBI and the Fuchsia Zircon kernel.

      What it does

      The module provides its public interface in @rules_dtc//:defs.bzl:

  2. November 22, 2026
    1. πŸ”— @HexRaysSA@infosec.exchange Indirect branches hiding your control flow? πŸ”€ mastodon

      Indirect branches hiding your control flow? πŸ”€

      In this guest post, @r3kapig shows how to recover AArch64 indirect branch obfuscation with Hex-Rays microcode, from resolving the real targets to clean pseudocode on F5.

      Script + samples included πŸ‘‡
      https://hex-rays.com/blog/recovering-from-indirect-branch- obfuscation

    2. πŸ”— 3Blue1Brown (YouTube) Since last year, we asked: β€œWhat if AI solved the Riemann Hypothesis?” rss

      Hypothetical no more Announcement by Levent AlpΓΆge: https://alpo.ge/remark.pdf Announcement by Alessandro MasulloΒ on his (human) proof: https://sites.google.com/view/tmotp/home

      0:00 - Kevin Buzzard 0:45 - Ken Ono 1:14 - Elliot Glazer 1:28 - Jordan Ellenberg 2:18 - Leo de Moura 3:14 - Terence Tao 5:25 - Daniel Litt 6:42 - Adam Brown 8:29 - Alex Kontorovich 10:24 - Johannes Schmitt 11:02 - Ankur Moitra 11:59 - Jared Duker Lichtman 12:39 - Ken Ono


      These animations are largely made using a custom Python library, manim. See the FAQ comments here: https://3b1b.co/faq#manim

      Music by Vincent Rubinetti. https://vincerubinetti.bandcamp.com/album/the-music-of-3blue1brown https://open.spotify.com/album/1dVyjwS8FBqXhRunaG5W5u


      3blue1brown is a channel about animating math, in all senses of the word animate. If you're reading the bottom of a video description, I'm guessing you're more interested than the average viewer in lessons here. It would mean a lot to me if you chose to stay up to date on new ones, either by subscribing here on YouTube or otherwise following on whichever platform below you check most regularly.

      Mailing list: https://3blue1brown.substack.com Twitter: https://twitter.com/3blue1brown Bluesky: https://bsky.app/profile/3blue1brown.com Instagram: https://www.instagram.com/3blue1brown Reddit: https://www.reddit.com/r/3blue1brown Facebook: https://www.facebook.com/3blue1brown Patreon: https://patreon.com/3blue1brown Website: https://www.3blue1brown.com

    3. πŸ”— HexRaysSA/plugin-repository commits sync plugin-repository.json rss
      sync plugin-repository.json
      
      No plugin changes detected
      
    4. πŸ”— tonsky.me Talk: Clojure, интСрфСйсы ΠΈ потСрянныС смыслы @ ΠžΡ€Π³Π°Π½ΠΈΠ·ΠΎΠ²Π°Π½Π½ΠΎΠ΅ ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠΈΡ€ΠΎΠ²Π°Π½ΠΈΠ΅ rss

      Π‘ ΠšΠΈΡ€ΠΈΠ»Π»ΠΎΠΌ ΠœΠΎΠΊΠ΅Π²Π½ΠΈΠ½Ρ‹ΠΌ обсуТдаСм, ΠΏΠΎΡ‡Π΅ΠΌΡƒ Ρ„ΡƒΠ½ΠΊΡ†ΠΈΠΎΠ½Π°Π»ΡŒΠ½Ρ‹Π΅ языки Π½Π΅ Π²Ρ‹ΠΈΠ³Ρ€Π°Π»ΠΈ Π² эпоху ИИ, ΠΊΠ°ΠΊ агСнтная Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° мСняСт ΠΊΠΎΠ΄-Ρ€Π΅Π²ΡŒΡŽ ΠΈ инструмСнты, ΠΊΡƒΠ΄Π° уходят IDE ΠΈ Ρ€Π΅Π΄Π°ΠΊΡ‚ΠΎΡ€Ρ‹, Ρ‡Ρ‚ΠΎ Π±ΡƒΠ΄Π΅Ρ‚ с ΠΊΠ°Ρ€ΡŒΠ΅Ρ€ΠΎΠΉ Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚Ρ‡ΠΈΠΊΠ° послС 40 ΠΈ ΠΊΠ°ΠΊ я оказался Π² Linear.

  3. November 21, 2026
    1. πŸ”— IDA Plugin Updates IDA Plugin Updates on 2026-11-21 rss

      IDA Plugin Updates on 2026-11-21

      New Releases:

      Activity:

      • Fable-3-Decompiled
        • 737429d3: Updated Functions in goal to get a window
      • fd2sdl
        • 6b32c897: fix(field): restore original chapter chest behavior
      • idamcp
        • 274b05aa: Fix wrong results in several tools and a hang on IDA 9.3 timeouts
      • omp
        • 1ce58204: chore(fork): make main the fork's default branch
        • 972900ca: feat(coding-agent): route selected discovered models through Anthropi…
        • 75b254d8: feat(code-mode): port Code Mode onto the 19.x fork base
        • e0ab5be7: feat(code-mode): add pure contract modules for scope, partition, cata…
        • be5942c2: test(code-mode): add pending validation suites for Code Mode
        • f556b994: docs(code-mode): add plan, requirements and architecture doc tree
        • c0788dfb: test(coding-agent): add harness quality audit script
        • 191fc08c: refactor(coding-agent): soften the default personality and pin proven…
        • 2afd02ab: fix(autolearn): reject duplicate managed skills and prefer updating e…
        • a1b90e71: feat(coding-agent): add skills.catalogMode search with skill:// catal…
        • 56c6df9f: chore(collab-web): regenerated export viewer metadata
        • a03f6107: fix(mnemopi): dedupe and escape automatic recall
        • 4f49b28a: fix(coding-agent): list the report device under xd:// without mounted…
        • 2c84991e: fix(pi-jev): make task triage and completion verification opt-in
        • 8a09bf1e: fix(ai): resolve antigravity image project via loadCodeAssist
        • 536382b6: fix(fork): carry upstream's update-cli changes through the sync
        • 7f4a2e03: fix(fork): preserve provider compatibility after upstream 19 sync
        • df78995a: chore(fork): move fork builds and self-updates to kaioposnky/omp
        • 306b01c6: refactor(update): resolve fork releases from GitHub on top of upstrea…
      • ompx
        • 5e118cce: feat(auth-gateway): even OAuth balancing, x-omp-account pin, Claude C…
        • 925fa902: fix(antigravity-cli): tighten replayPrompt budget to 120KB UTF-8
        • 4568ab69: fix(antigravity-cli): preserve context across account switch, resume,…
        • a49d9cd0: ci: unblock main CI after the upstream sync
        • 0268b3d6: docs(ai): changelog for agy conversation continuity fix
        • 4c940c70: fix(antigravity-cli): keep agy's conversation when the host rewrites …
        • cff08d36: fix(antigravity-cli): rotate accounts whose plan lacks the requested …
        • bd6c8242: fix(antigravity-cli): rotate account on individual quota notice
    2. πŸ”— Register Spill Joy & Curiosity #107 rss

      In Werner Herzog's Rogue Film School, he taught his pupils how to pick locks or forge signatures. Herzog says the reason behind that curriculum is that some films can't be made if you don't "have the right criminal energy and the skills ".

      (His movie Fitzcarraldo , whose production Wikipedia calls "troubled" only to then mention that a 320-ton steamship had to be pushed over a hill in the Amazon rainforest and that, at the end of filming, the chief of a native tribe told Herzog they could, you know, take care of the problem for him and kill Klaus Kinski, that movie couldn't have been made, in Herzog's words, without "massive forgery".)

      Now, that's what Herzog says as to why you need criminal energy and "the skills". My interpretation of the curriculum is different. And yes, I'm going to use my criminal energy here to re- and possibly misinterpret the founding idea behind a school I neither visited nor was involved in.

      I think that he's teaching how to pick locks and forge signatures and be rogues because you need to live a life , ideally a full life, in order to make films.

      Because if you don't have that, what are you going to make films about? About school? About learning how to make films? No, you have to have something worth sharing, something worth talking about: experiences, ideas, opinions, doubts, delights, heartbreaks, and questions.

      And I think it's the same for programming now.

      Yes, it's always been the case that programming alone, the typing of code and the construction of computer programs, wasn't enough.

      But there was so much typing, and syntax, and libraries, and function signatures, and all that stuff to wrestle with that the ratio was off: for one bit of idea you had to spend ten bits of programming.

      Now it's much more balanced and you have to figure out what to do with all the programming you can now accomplish.

      So, if I had to build a Rogue Software School, I'd get my students to learn about business, about startups, about marketing, about markets, about the places where software is made and sold; I'd want them to learn about how software is used and why, learn about the trends involved in all of that, learn how to market and sell software.

      And I'd also want them to spend time in places where nobody talks or even thinks about software. Work on a construction site, unload trucks, help in a restaurant, work in a bookstore, run a youth soccer club.

      Find something that gives you a reason to build software, because programming isn't enough anymore.

      Note: This will be the last Joy & Curiosity this year. I'll be back in January. If you want me to come back earlier, tell your friends about this newsletter.

      • Completely forgot to mention this last time: we shipped Boxes! What's a box? It's simply a computer, a VM. You can tell Amp now to deploy something to a box and it'll do it. You can have as many apps as you want running on a box. Apps, daemons, scripts, whatever you want. It's just a computer. There are no containers or other isolation. Agents absolutely love that. I have a tiny box on which I run my newsletter-link collector app, my metronome app to practice drums, a festival store app for my local club, and a bunch of other things. Best of all: on each box there's an agent running. No longer do I have to carefully edit text or other content or data in production. No, I can just point the agent at it via the built-in widget and say "format this nicely" and it'll do it. Jellyware!

      • Bad ideas that aren't bad anymore. Yes, yes, yes, it's what I've been saying, yes, rethink everything, yes, a fundamental constant in a very big equation has changed and you need to rerun the calculations.

      • ADVICE WANTED: "If you could write one essay to every scared new grad and young person in software… What would you tell them?" I'm going to be a judge for this writing contest, which not only means that I'm Very Important and Smart but also that I'm Cool and Sexy and maybe I'll wear a wig like the judges in England (or whatever they're called) when reading submissions. And it also means that I'd love for you to submit an essay. I'm serious. I really am Smar-- no, I mean: submit an essay!

      • Levent Alpoge claims to have proven the Riemann Hypothesis. I can't tell you whether it's a valid claim or not. It's 250 thousand pages long, which is quite the hurdle to declaring you agree or not, but, maybe even more importantly, I also don't know anything about math. What I can tell you is that I recommend you read the first two pages of that PDF. "[…] this time Claude far outpaced me near the finish line. No, Claude flew, and danced, and sparkled near that finish line. I had us on the line of combining two quite different ideas present in a toy setting, one of which was already new and shocking, making very simple one of the shadows of Riemann over which we mathematicians felt most triumph. I guided us to the right situation analogous to that toy setting, and then Claude began to leave me in awe."

      • Joscha Bach: "It still feels to me as if dropping through an event horizon. That is, there is nothing specific about any given moment, but the rate of change and weirdness is constantly speeding up, and we won't ever return to the before times."

      • Scattered thoughts on how doing math feels these days. This was a great read. And, funnily enough, I came across that post a few days before the whole Riemann Hypothesis AI sensation extravaganza.

      • This is absolutely wild: "BREAKING: Rockstar Games says Grand Theft Auto VI sold $3.79 billion in 24 hours, making it the biggest entertainment launch of all time. Pre-sales of the game reached 32.5 million units." It does seem like everyone is talking about GTA VI and I can't help but think that I agree with the people shouting "bring back monoculture!" because it is nice having shared experiences like this.

      • The School by Donald Barthelme. This did something to me. The amount of inspiration you can get from a 4-page PDF, huh?

      • Hillel Wayne on his Least Favorite Example in Software Engineering. Great post. In response to Hillel, Richard Feldman also shared his least favorite example. Examples are important! So, so, so important. In case you haven't read it: Examples are the best documentation.

      • I started reading the first of Knausgard's My Struggle books. It all started with a post I saw a few months ago. It was a picture of a young girl reading the book and the post made the rounds due to (I assume) the dichotomy of a young girl reading a book whose original title in Norwegian is Min Kamp, which is, well, the Norwegian version of Mein Kampf, which is, well, … So I started reading the Wikipedia page, then I read it again and again over the next few weeks and became increasingly fascinated. Finally, right before the flight to London last Sunday, I bought the first volume for two euros and started reading. I was hooked immediately. I'm now halfway through the book and I can't remember the last time I was this into a book (which is also why there are fewer links in this issue). On nearly every page I wonder: how does he do it? How does he remember? How does he weave the events like this? How does he create this sense of suspense when describing a normal afternoon of a teenager? Why is this so insightful? It was a huge bestseller, Wikipedia told me, but I don't know what the general perception of the books is, but to me it feels like great literature. It's very good.

      • Yes: "Theater is simply not a current artform, it's a historic one. To write a "play" is to purposefully engage in anachronism. Current artforms include sigma edits, moodboards, nanofiction, DM dialogues, mass shootings, AI fruit commedia dell'arte, video essays, thirst traps, etc." The last sentence I'm not sure about, at least not entirely.

      • Ben Thompson: Obituaries.

      • I really like these two terms here: everflux software and translucent sources. Everflux software means that "instead of stepping from release to release, months apart, software now evolves continuously." And translucent sources: "Today Claude will happily pick apart any Electron app, and any binary shipped with debug symbols has become a reverse-engineering playground for LLMs. In other words, much so-called closed-source software is now open source in all but name, and keeping code closed makes less and less sense."

      • Henrik Karlsson on learning from DFW: You learn more about writing from close reading than from writing advice. This made me buy a subscription to his Substack. Great writing, great piece, as always by Karlsson. And yet… Something always rubs me the wrong way when someone wants to ascribe specific intentions to the author of a piece of writing, music, art. That's not exactly what Karlsson is doing here, but I couldn't help but think of all the different pieces of Hendrix analysis I read, listened to, or watched over the years. "And then he did this because of… and after that he did so he could…" It all sounds neat and makes you go a-ha! But then you watch an interview with Hendrix and listen to enough of his music and have to come to the conclusion that, well, it's more likely that he didn't think about any of this at all. It just felt right to him.

      Want to sign up for Rogue Software School? Here you go:

    3. πŸ”— Locklin on science Europe ain’t gonna make it rss

      Living in the EU is wonderful. The food, the architecture, the scenery, the low levels of criminality, even the people are all a cut above anything in the homeland of the decaying empire. In almost every way the quality of life is better, and it costs less too. Even the physical condition of the people […]

    4. πŸ”— HexRaysSA/plugin-repository commits sync repo: +1 plugin, +1 release rss
      sync repo: +1 plugin, +1 release
      
      ## New plugins
      - [ida-ttd](https://github.com/hullabrian/ida-ttd) (1.0.0)
      
    5. πŸ”— Anton Zhiyanov Probabilistic data structures in Go, part 2 rss

      Probabilistic data structures give you approximate answers to questions about the data they handle. Does the set contain a certain item? How many unique items are in the collection? What is the 99th percentile in a stream of numbers? How similar are two sets? Unlike deterministic structures, the answers might not be exact, but in return, you can save a lot of memory.

      Previously, we reviewed the following data structures: Bloom filter (for checking if an item is in a set), Count-min sketch (for counting items), HyperLogLog (for counting unique items), T-digest (for finding quantiles), and Top-k (for finding the most frequent items).

      In this post, we'll talk about other probabilistic structures and compare them to the ones we've already covered. We'll look at how they work and what kinds of guarantees they provide.

      All examples use unsure β€” a package that implements these structures in Go.

      Binary fuse filter β€’ UltraLogLog β€’ Log-linear histogram β€’ MinHash

      Binary fuse filter A binary fuse filter is a set that trades certainty for space, like a Bloom filter1. It can tell you that an item is definitely not in the set, or that it probably is (which might be a false positive). The filter doesn't store the items, so it's much more compact than a regular set. Unlike a Bloom filter, a binary fuse filter is static: you build it once from all the items, and you can't add more later. In exchange, it uses less memory than a Bloom filter with the same false positive rate. For example, a fuse filter for 1,000,000 items with a 0.39% false positive rate takes 1.13 MB (9 bits per item), while a Bloom filter takes 1.51 MB (12 bits per item). This makes binary fuse filters a good fit for data that is written once and read many times, like the key set of an immutable file in a database (to skip files that don't have the key), or a list of known bad items, such as leaked passwords or malicious URLs. items := [][]byte{[]byte("alice"), []byte("bob")} // An 8-bit filter: 0.39% false positive rate. filter := fuse.New, len(items)) filter.Contains([]byte("alice")) // true filter.Contains([]byte("carol")) // false (or, rarely, true) The fingerprint type (T in New[T]) determines the false positive rate and the memory use: Type | False positive rate | Bits per item ---|---|--- uint8 | 0.39% | 9 uint16 | 0.0015% | 18 uint32 | 2.3e-10 | 36 The constructor takes an iterator of items to add to the filter and the expected number of items (0 if unknown). The number is only used to preallocate memory, so a good estimate makes the build faster. You can check if an item is in the filter, but you cannot add or delete an item, count the number of items, or iterate over them. How it works

      The filter2 is an array of b -bit fingerprints (for example, b = 8 for uint8). Each item is hashed to a 64-bit value h , which gives the item's fingerprint f (b bits computed from h) and three positions in the array (cells). The array is filled so that for every item, the XOR of its cells equals f.

              β”Œβ”€β”€β”€β”€β”€β”€β”               β”Œβ”€β”€β–Ί f  (b bits)
      item ──►│ hash │──► h ──────────
              β””β”€β”€β”€β”€β”€β”€β”˜               └──► i0, i1, i2
      
                 i0          i1          i2
      β”Œβ”€β”€β”€β”¬β”€β”€β”€β”¬β”€β”€β–Όβ”€β”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”¬β”€β”€β–Όβ”€β”€β”¬β”€β”€β”€β”¬β”€β”€β–Όβ”€β”€β”¬β”€β”€β”€β”
      β”‚   β”‚   β”‚ F0  β”‚   β”‚   β”‚ F1  β”‚   β”‚ F2  β”‚   β”‚   F0 ^ F1 ^ F2 == f
      β””β”€β”€β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”˜
      

      To check an item, you compute h, look up its three cells, and compare their XOR with f. For an item in the set, they always match. For any other item, the XOR is a random b-bit value, which matches f with probability 2^-b.

      Each check reads three cells, so for large filters it's three cache misses, against one for a blocked Bloom filter. However, since the reads are independent, the CPU can do them concurrently, so the checks are about as fast as with a Bloom filter.

      The filter uses the local wyhash3 implementation for hashing. It performs roughly the same as xxh34 but has a much simpler implementation, without SIMD or assembly.

      Benchmarks

      Here's an excerpt from the full benchmarks5, comparing unsure to xorfilter6 (binary fuse by the authors of the paper) and bloom (unsure 's own Bloom filter) with 8-bit fingerprints (ns/op, lower is better):

      Operation | Items | unsure | xorfilter | bloom
      ---|---|---|---|---
      Build (per item) | 10K | 23 | 25 | 13
      | 1M | 30 | 31 | 12
      Contains | 10K | 6.2 | 8.0 | 9.3
      | 1M | 7.0 | 9.3 | 10.2
      | 50M | 39 | 42 | 40

      Memory, bits per item (lower is better):

      Items | Fingerprint | unsure | xorfilter | bloom
      ---|---|---|---|---
      100K | 8-bit | 9.50 | 9.50 | 12.45
      10M | 8-bit | 9.02 | 9.02 | 12.10
      10M | 16-bit | 18.04 | 18.04 | 27.99

      Unsure is the same size as xorfilter (same layout) with up to 25% faster checks. Compared to the Bloom filter, it uses up to 36% less memory, with checks as fast or faster, but up to 2.5Γ— slower builds.

      1. Bloom filter overview and how it works. β†©οΈŽ

      2. Binary Fuse Filters paper by Thomas Mueller Graf and Daniel Lemire, 2022. β†©οΈŽ

      3. Reference wyhash implementation by Wang Yi. β†©οΈŽ

      4. Reference xxHash implementation by Yann Collet. β†©οΈŽ

      5. Binary fuse filter benchmarks. β†©οΈŽ

      6. FastFilter/xorfilter by Daniel Lemire. β†©οΈŽ

      UltraLogLog

      UltraLogLog is a unique items counter that trades accuracy for space, like HyperLogLog7. It tells you approximately how many distinct items it has seen, no matter how many times each one appeared. UltraLogLog doesn't store the items, so it's much more compact than a regular set.

      UltraLogLog is a newer design (Otmar Ertl, 2024) that uses the space more efficiently: for the same error, it needs about 43% less memory than HyperLogLog. For example, a HyperLogLog sketch with 0.81% standard error takes 16 KB, while an UltraLogLog sketch with 0.86% error takes 8 KB. However, adding, counting, and merging are slower than with HyperLogLog.

      UltraLogLog is useful in the same places as HyperLogLog: counting unique visitors, unique search queries, or distinct values in a database column, possibly across many machines or segments.

      // Standard error about 0.9% of the true count.
      sketch := ull.New()
      
      sketch.Add([]byte("alice"))
      sketch.Add([]byte("bob"))
      sketch.Add([]byte("alice"))
      sketch.Add([]byte("carol"))
      
      sketch.Count() // 3 (approximately)
      

      You can merge sketches to get the total number of unique items from all of them, without counting shared items twice.

      home := ull.New() // visitors to the home page
      docs := ull.New() // visitors to the docs
      // ...
      home.Merge(docs)
      home.Count() // visitors to either page
      

      The sketch has one setting: the precision p , which gives a relative standard error of 0.782/√(2^p). The default is p=13 with 0.86% error in 8 KB, close to the common HyperLogLog default (0.81% in 16 KB).

      You can add items to a sketch, get the estimated count, and merge sketches. You cannot check if a specific item was added, remove items, or list them.

      How it works

      HyperLogLog hashes each item and uses the first p bits of the hash to pick one of m = 2^p registers. It calculates the rank (the number of leading zeros in the rest of the hash, plus one) and keeps the highest rank it has seen in the register. Seeing a rank of k suggests there were about 2^k items in the register. The count is estimated from all the registers together.

                            p bits
              β”Œβ”€β”€β”€β”€β”€β”€β”   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
      item ──►│ hash │──►│ 01101001 β”‚ 0001101...             β”‚
              β””β”€β”€β”€β”€β”€β”€β”˜   β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                              β”‚ register i      β”” rank = 3 zeros + 1 = 4
                β”Œβ”€β”€β”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”¬β”€β–Όβ”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”
      registers β”‚ 3 β”‚ 0 β”‚ 5 β”‚ 2 β”‚ 1 β”‚ 0 β”‚ 4 β”‚ 2 β”‚ 0 β”‚ 1 β”‚  2 β†’ 4
                β””β”€β”€β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”˜
      

      A HyperLogLog register loses some information: it only keeps track of the highest value, not whether any slightly lower values were seen. These lower values show up at least as often as the highest one, so they can tell a lot about the count.

      UltraLogLog8 uses the registers more efficiently. Each register is still one byte, but it stores the highest rank k in the upper 6 bits, and whether kβˆ’1 and kβˆ’2 were seen in the lower 2 bits:

                    k = 5        k-1 k-2
                β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”
      register  β”‚ 0 0 0 1 0 1   β”‚ 1 β”‚ 0 β”‚  saw 5 and 4, but not 3
                β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”˜
                β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”
      add k=6:  β”‚ 0 0 0 1 1 0   β”‚ 1 β”‚ 1 β”‚  saw 6, 5, 4
                β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”˜
      

      The count estimate uses the FGRA estimator from the UltraLogLog paper. Each register adds a weight based on its value, and the count is calculated as a power of the sum of the weights. Nearly empty and nearly full sketches get special handling, so the estimate stays accurate from zero to billions of items, without bias tables or a separate formula for small counts.

      Unsure keeps a histogram of register values (256 four-byte counters, 1 KB) updated as the registers change. This way, Count reads the histogram instead of scanning all the registers. Merge checks 8 registers at a time using a few bitwise operations to find which ones the other sketch would change, and only updates those.

      The item is hashed once with wyhash , and the 64-bit hash is split into the register index and the rank.

      Benchmarks

      Here's an excerpt from the full benchmarks9, comparing UltraLogLog to unsure 's own HyperLogLog and axiom10 (HyperLogLog with LogLog-Beta estimator and sparse mode) (ns/op, lower is better):

      Operation | p | Size | ull | hll | axiom
      ---|---|---|---|---|---
      Add | 10 | 1 KB | 8.1 | 5.5 | 7.6
      | 14 | 16 KB | 8.0 | 5.7 | 7.7
      | 18 | 256 KB | 9.4 | 8.3 | 8.0
      Count | 10 | 1 KB | 165 | 68 | 17,700
      | 14 | 16 KB | 161 | 63 | 348,000
      | 18 | 256 KB | 173 | 57 | 4,650,000
      Merge | 10 | 1 KB | 2,900 | 720 | 1,740
      | 14 | 16 KB | 51,200 | 20,200 | 58,500
      | 18 | 256 KB | 818,000 | 341,000 | 955,000

      Accuracy and memory, relative RMSE over 1,000 sketches (lower is better):

      Distinct items | ull p=13 | hll p=14 | axiom p=14
      ---|---|---|---
      1,000 | 0.66% | 0.54% | 0.01%
      40,000 | 0.73% | 0.68% | 0.69%
      1,000,000 | 0.86% | 0.79% | 0.82%
      Memory | 9.1 KB | 16.3 KB | 16.1 KB

      UltraLogLog provides the same accuracy as HyperLogLog with almost half the memory. However, adding, counting, and merging are noticeably slower.

      1. HyperLogLog overview and how it works. β†©οΈŽ

      2. UltraLogLog paper by Otmar Ertl, 2024. β†©οΈŽ

      3. UltraLogLog benchmarks. β†©οΈŽ

      4. axiomhq/hyperloglog by Axiom. β†©οΈŽ

      Log-linear histogram

      A log-linear histogram is a summary of a stream of numbers that trades accuracy for space. It can give you an approximate median, 99th percentile, or any other quantile of the data. It can also estimate what fraction of the numbers are below a certain value (the CDF). The histogram doesn't store the numbers, so it's much more compact than a sorted list.

      For example, to find the exact 99th percentile of 1,000,000 response times, you'd have to keep all of them. With 64-bit floats, that takes 8 MB. A log- linear histogram estimates the same percentile within 0.39% of its true value using about 14 KB β€” almost 600 times less.

      The error is relative to the value: if the true 99th percentile is 200 ms, the histogram returns a value between 199.2 and 200.8 ms. This guarantee applies to every quantile, from the median to the most extreme outliers. The size of the histogram doesn't depend on the number of values, only on the accuracy you choose and on how wide the range of the values is.

      A log-linear histogram is useful when you need percentiles for positive values that cover a wide range, like latencies, file sizes, or prices.

      // Response times in milliseconds.
      hist := loghist.New()
      
      hist.Add(12.5)
      hist.Add(8.1)
      hist.Add(130.0)
      // ...
      
      hist.Quantile(0.5)  // median
      hist.Quantile(0.99) // 99th percentile
      hist.CDF(100)       // fraction of responses faster than 100 ms
      

      You can merge histograms to gather data from multiple machines or segments (like by hour, endpoint, or region). Merging is exact: a merged histogram is the same as if it had received all the values directly.

      east := loghist.New() // latencies on one server
      west := loghist.New() // latencies on another
      // ...
      east.Merge(west)
      east.Quantile(0.99) // 99th percentile across both servers
      

      The histogram has two settings: relative error and value range. By default, the error is 0.0039 (0.39%) and the range is from 1e-9 to 1e18. Lowering the error or increasing the range uses more memory.

      You can add numbers to a histogram, estimate quantiles and the CDF, and merge histograms. You cannot remove numbers or list them.

      How it works

      A histogram splits the range of values into buckets and counts how many values are in each one. To estimate a quantile, it adds up the counts starting from the lowest bucket until it reaches the requested rank, then returns a value from that bucket. The accuracy of the estimate depends on how wide the bucket is.

      With buckets that have equal widths, like 0–10, 10–20, and so on, every estimate has the same absolute error of Β±5 around the bucket's midpoint. So the relative error is very large for small values and unnecessarily small for large values:

      0       10      20      30     970     980     990     1000
      β”œβ”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”Όβ”€ Β·Β·Β· ─┼───────┼───────┼────────
          β”” 5 Β± 5: Β±100%                   995 Β± 5: Β±0.5% β”˜
      

      A logarithmic histogram solves this by making each bucket's width proportional to its value. For example, if the bucket boundaries are powers of 1.02 (1, 1.02, 1.0404, ...), the end of each bucket is 2% larger than its start, so any value in the bucket is within about 1% of the bucket's midpoint. DDSketch11 uses this method. The downside is that finding the right bucket for a value means you have to calculate a logarithm, which is relatively slow.

      A log-linear histogram gets almost the same result with cheaper math. First, it splits the values into ranges between powers of two: 1–2, 2–4, 4–8, and so on (these are called octaves). Then it splits every octave into the same number of equal-width buckets. For example, here are three octaves with 4 buckets each:

      1       2               4                               8
      β”œβ”€β”¬β”€β”¬β”€β”¬β”€β”Όβ”€β”€β”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€
      4 buckets   4 buckets               4 buckets
      

      Each octave is twice as long as the previous one, so its buckets are twice as wide, and the bucket width grows with the values, as in a logarithmic histogram. Finding the right bucket only takes a few bit operations instead of calculating a logarithm.

      HdrHistogram12 is the best-known log- linear histogram. It records integers: the position of the highest 1 bit of a number determines its octave, and the next few bits determine the bucket within the octave.

      Unsure works with float64 numbers and finds the bucket in a similar way to HdrHistogram.

      IEEE 754 double-precision format

      A float64 in Go (and most other languages) is made up of three parts:

      • a sign bit,
      • an 11-bit exponent e (stored as 1023 + e to avoid negative values),
      • and a 52-bit mantissa f.

      The number's value is 1.f Γ— 2^e, where 1.f is a binary fraction between 1 and 2.

      The exponent determines the octave, from 2^e to 2^(e+1). The top m bits of the mantissa determine one of the 2^m equal buckets within the octave.

      For example, here's the number 5.25 with m=3 (8 buckets per octave). In binary, 5.25 = 1.0101β‚‚ Γ— 2Β², so the exponent is 2 (stored as 1025), and the mantissa starts with 0101:

      5.25 = 1.0101β‚‚ Γ— 2Β²
      
      sign   exponent     top m   rest of the mantissa
      β”Œβ”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
      β”‚ 0 β”‚ 10000000001 β”‚ 010 β”‚ 1000000000 ... 00000000 β”‚
      β””β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”¬β”€β”€β”΄β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                 β”‚         β”‚     └── ignored
                 β”‚         └── bucket 2 of 8
                 └── 1025 = 2 + 1023: octave [4, 8)
      
      4                               8
      β”œβ”€β”€β”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”€
        0   1   2   3   4   5   6   7
                β”” 5.25 lands in bucket 2: [5, 5.5)
      

      Add finds the bucket for the given number and increases the count. Merge adds the counts bucket by bucket. Quantile adds up the counts from the closer end (the leftmost bucket for q ≀ 0.5, the rightmost bucket otherwise) until it reaches the rank.

      The number of mantissa bits m comes from the requested error: the constructor picks the smallest m for which the maximum error doesn't exceed the requested one. The default is m=7: 128 buckets per octave and an error of 0.39%.

      Log-linear histogram vs. t-digest

      A t-digest13 also estimates quantiles, but it limits the error in ranks : Quantile(0.99) returns a value whose rank is close to 99%. A log-linear histogram limits the error in values : Quantile(0.99) returns a value close to the true 99th percentile.

      In the middle of the data, the two are pretty similar. But in a long tail, values at nearby ranks can be very different, so even a small error in rank can lead to a big difference in value. Here is the mean relative error of an 8.5 KB t-digest (Ξ΄=100) on 1M values from three distributions: lognormal (as in the benchmarks), Pareto with Ξ±=1.5 (a longer tail), and uniform between 1,000,000 and 2,000,000 (no tail):

      Quantile | Lognormal | Pareto | Uniform
      ---|---|---|---
      0.5 | 0.12% | 0.09% | 0.009%
      0.99 | 1.7% | 5.6% | 0.015%
      0.999 | 8.7% | 67% | 0.009%
      0.9999 | 83% | 868% | 0.004%

      A log-linear histogram of about the same size (1% error, 8 KB) has an error below 0.78% for all these cases.

      So a log-linear histogram is better for latencies, sizes, and other positive measurements with long tails. A t-digest is better when you need a fixed size no matter what the values are, or when the values can be arbitrarily close to zero.

      Benchmarks

      Here's an excerpt from the full benchmarks14, comparing unsure to hdr15 (log-linear, integers only, fixed range) and dd16 (DDSketch, logarithmic buckets) with a lognormal distribution (ns/op, lower is better):

      Operation | Error | unsure | hdr | dd
      ---|---|---|---|---
      Add | 1% | 4 | 4 | 19
      | 0.4% | 4 | 4 | 19
      | 0.1% | 4 | 4 | 19
      Quantile | 1% | 48 | 283 | 1,750
      | 0.4% | 90 | 1,708 | 3,100
      | 0.1% | 337 | 1,712 | 11,967
      Merge | 1% | 334 | 16,369 | 302
      | 0.4% | 657 | 115,052 | 808
      | 0.1% | 3,249 | 115,018 | 2,862

      Mean relative error at the requested 0.1%, over 1M values (lower is better):

      Quantile | unsure | hdr | dd
      ---|---|---|---
      0.5 | 0.033% | 0.033% | 0.050%
      0.99 | 0.038% | 0.037% | 0.048%
      0.999 | 0.027% | 0.019% | 0.039%
      0.9999 | 0.016% | 0.002% | 0.025%

      Memory after adding 1M values (lower is better):

      Error | unsure | hdr | dd
      ---|---|---|---
      1% | 8 KB | 40 KB | 6 KB
      0.4% | 14 KB | 264 KB | 13 KB
      0.1% | 56 KB | 264 KB | 40 KB

      Unsure adds values as fast as hdr and 5Γ— faster than dd , queries 5–19Γ— faster than hdr and about 35Γ— faster than dd , and merges about as fast as dd and 35–175Γ— faster than hdr. It's slightly less accurate than hdr (using 5Γ— less memory), and more accurate than dd (using 1.4Γ— more memory).

      1. DDSketch paper by Charles Masson et al., 2019. β†©οΈŽ

      2. HdrHistogram by Gil Tene. β†©οΈŽ

      3. T-digest overview and how it works. β†©οΈŽ

      4. Log-linear histogram benchmarks. β†©οΈŽ

      5. HdrHistogram/hdrhistogram-go by Coda Hale. β†©οΈŽ

      6. DataDog/sketches-go by Datadog. β†©οΈŽ

      MinHash

      MinHash estimates how similar two sets are. It summarizes each set in a short fixed-size signature (for example, 256 numbers). Comparing two signatures gives the approximate Jaccard similarity of the sets: |A∩B| / |AβˆͺB|, the proportion of unique items that both sets share.

      The size of a signature doesn't depend on the size of the set, so you can compare two sets of a million items each just by comparing 256 pairs of numbers instead of checking every item. Plus, each set's signature is only calculated once, so comparing lots of sets to each other is relatively cheap.

      MinHash is useful for finding near-duplicate documents, like web pages or essays (represented as sets of words or 3-word phrases). It's also useful for finding similar user profiles (as sets of liked items) or overlapping datasets (as sets of keys).

      // Two documents as sets of words.
      strA := "the quick brown fox jumps over the lazy dog"
      docA := minhash.New(256)
      for w := range strings.FieldsSeq(strA) {
          docA.Add([]byte(w))
      }
      
      strB := "the quick brown cat jumps over the lazy dog"
      docB := minhash.New(256)
      for w := range strings.FieldsSeq(strB) {
          docB.Add([]byte(w))
      }
      
      sigA, sigB := docA.Signature(), docB.Signature()
      sigA.Similarity(sigB) // 0.75 (true value 7/9 = 0.78)
      

      The MinHash sketch has one setting: the signature size k , which gives a standard error of √(J(1βˆ’J)/k) for true similarity J. For example, with k=256 and J=0.5:

      • 68% of estimates are within Β±3.1 pp of J (0.47–0.53),
      • 95% within Β±6.2 pp (2Β·stdErr),
      • 99.7% within Β±9.4 pp (3Β·stdErr).

      You can add items to a sketch, merge sketches, and get and compare signatures. You cannot check if a specific item was added, count the items, remove them, or list them.

      How it works

      Classic MinHash17 hashes every item with k different hash functions. Here are two sets, A = {fox, cat, dog, owl} and B = {fox, dog, emu}, and their item hashes for k=4:

      item   h1     h2     h3     h4     in A   in B
      fox    0.07   0.52   0.66   0.38    βœ“      βœ“
      cat    0.21   0.15   0.80   0.91    βœ“
      dog    0.48   0.33   0.09   0.74    βœ“      βœ“
      emu    0.63   0.27   0.44   0.12           βœ“
      owl    0.90   0.71   0.58   0.29    βœ“
      

      For each hash function, the set keeps only the smallest hash value among its items. These k minimums are the set's signature. To estimate the similarity of two sets, compare their signatures position by position, count the number of equal values, and divide by k:

                   h1     h2     h3     h4
      A signature  0.07   0.15   0.09   0.29
      B signature  0.07   0.27   0.09   0.12
      equal        βœ“             βœ“
                   β†’ 2 of 4 = 0.5
      

      The estimated similarity (0.5) is different from the actual value (2 shared items / 5 distinct items = 0.4). To get a more accurate estimate, k is usually much larger than in this example.

      One permutation hashing18 hashes every item once, with a single hash function, and splits the range of hash values into k equal buckets. Each bucket keeps the smallest hash value among its items. Here are the same sets with k=4, using h1 from above:

      bucket       0            1            2            3
      range        0.00–0.25    0.25–0.50    0.50–0.75    0.75–1.00
      
      A items      fox 0.07     dog 0.48                  owl 0.90
                   cat 0.21
      B items      fox 0.07     dog 0.48     emu 0.63
      
      A minimums   0.07         0.48         Β·            0.90
      B minimums   0.07         0.48         0.63         Β·
      

      Each bucket works like a separate MinHash over the items in its range. So the bucket minimums form a signature, and comparing two signatures works the same way. But there is a catch: when a set isn't much larger than k, some buckets end up empty (shown as Β· above), so there's nothing to compare in them.

      Optimal densification19 solves this by filling each empty bucket with the value from another bucket in the same set. Each empty bucket tries other buckets in a pseudo-random order and copies the value of the first non-empty one:

      bucket       0         1         2         3
      A minimums   0.07      0.48      Β·         0.90
      B minimums   0.07      0.48      0.63      Β·
      
      A signature  0.07      0.48      0.90 (3)  0.90
      B signature  0.07      0.48      0.63  β”‚   0.07 (0)
      equal        βœ“         βœ“               β”‚         β”‚
                   β†’ 2 of 4 = 0.5            β”‚         β”‚
                                             β”‚         β”‚
                   which bucket the value was copied from
      

      This order depends only on the empty bucket's position, so two similar sets tend to fill empty spots with the same values. This makes the estimate work for sets of any size, with about the same error as classic MinHash.

      Unsure keeps the k bucket minimums in the sketch. Add and Merge use the original buckets. Densification only happens in Signature, and it makes a copy of the buckets without modifying the sketch.

      Each item is hashed once with 64-bit wyhash. Multiplying the hash by k once gives both the bucket and the value to store:

      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
      β”‚ high 64 bits:   β”‚ next 32 bits:   β”‚ rest:           β”‚
      β”‚ bucket in [0,k) β”‚ value           β”‚ unused          β”‚
      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
      127              64                32                 0
      

      Densification fills empty buckets in a coordinated way, spreading the copies evenly across the non-empty buckets. This keeps the error close to classic MinHash, and makes densification fast even for small sets.

      Benchmarks

      Here's an excerpt from the full benchmarks20, comparing unsure to dgryski21 (classic MinHash) (ns/op, lower is better):

      Operation | k | unsure | dgryski
      ---|---|---|---
      Add | 64 | 5 | 30
      | 256 | 5 | 115
      | 1024 | 5 | 358
      Similarity | 64 | 25 | 24
      | 256 | 104 | 103
      | 1024 | 378 | 376

      RMSE of the similarity estimate at k=256 and J=0.5 (lower is better):

      Distinct items | unsure | dgryski
      ---|---|---
      256 | 2.89% | 3.07%
      1,024 | 2.84% | 3.12%
      4,096 | 2.99% | 3.09%
      16,384 | 3.11% | 3.07%
      Memory | 1.0 KB | 2.0 KB

      Unsure adds items 6–70Γ— faster than dgryski , compares signatures at the same speed, has roughly the same accuracy, and uses half the memory.

      1. Classic MinHash paper by Andrei Broder, 1997. β†©οΈŽ

      2. One permutation hashing by Ping Li et al., 2012. β†©οΈŽ

      3. Optimal densification paper by Anshumali Shrivastava, 2017. β†©οΈŽ

      4. MinHash benchmarks. β†©οΈŽ

      5. dgryski/go-minhash by Damian Gryski. β†©οΈŽ

      Wrapping up

      Bloom filter and HyperLogLog are everyone's favorites, but they're not the only useful probabilistic data structures out there. In some situations, you might find these helpful:

      • Binary fuse filter is a more compact alternative to a Bloom filter when you know all the items in advance.
      • UltraLogLog is a more compact (but slower) alternative to HyperLogLog.
      • Log-linear histogram is a much more accurate alternative to t-digest (with a variable size).
      • MinHash compares large sets for similarity using a tiny fixed-size signature.

      To use them in Go, try the __nalgeon/unsure package:

      go get github.com/nalgeon/unsure
      
    6. πŸ”— HexRaysSA/plugin-repository commits Update known-repositories.txt rss
      Update known-repositories.txt
      
    7. πŸ”— HexRaysSA/plugin-repository commits sync repo: +5 releases, -2 releases rss
      sync repo: +5 releases, -2 releases
      
      ## New releases
      - [btf2ida](https://github.com/nightshift-labs-ai/btf2ida): 0.1.25
      - [cfiscope](https://github.com/nightshift-labs-ai/cfiscope): 0.1.24
      - [llm-explainer](https://github.com/pgarba/ida-llm-explainer): 1.16.0, 1.15.0
      - [memlens](https://github.com/nightshift-labs-ai/memlens): 0.3.32
      
      ## Changes
      - [btf2ida](https://github.com/nightshift-labs-ai/btf2ida):
        - removed version(s): 0.1.1
      - [memlens](https://github.com/nightshift-labs-ai/memlens):
        - removed version(s): 0.3.7
      
    8. πŸ”— Ampcode News Puck in the Car rss

      You can now talk to Puck in your car, so you can work more safely while driving without looking at a screen. In the rare case that you do need to look at something, it's displayed very big so a quick glance is enough.

      The Amp apps for iPhone and Android will automatically enter car mode if you use them there.

      If you have a Tesla or any other device that can browse the web in your car, open ampcode.com/car.

      (If you have kids in the car, they might enjoy throwing Puck in the air. Puck likes this.)

      See more in the Puck in the Car docs.

  4. November 20, 2026
    1. πŸ”— IDA Plugin Updates IDA Plugin Updates on 2026-11-20 rss

      IDA Plugin Updates on 2026-11-20

      New Releases:

      Activity:

      • augur
        • 10178679: Merge pull request #20 from 0xdea/dependabot/github_actions/actions-d…
        • 48cb8d7c: ci: bump taiki-e/install-action
        • 5d4d8bab: docs: improve readme
        • 695bbba0: docs: add tested platforms to the readme
        • 9d37c41a: ci: install llvm 22 on windows
      • haruspex
        • b2d00e5b: Merge pull request #24 from 0xdea/dependabot/github_actions/actions-d…
        • 2f9e39b5: ci: bump taiki-e/install-action
        • 94fd3656: docs: add tested platforms to the readme
        • 8b7e0803: ci: install llvm 22 on windows
      • plugin-ida
        • 79c01c22: fix: clean up Docker test stacks and volumes (#44)
      • rhabdomancer
        • d6b198e8: docs: add tested platforms to the readme
        • 4caa299d: Merge pull request #24 from 0xdea/dependabot/github_actions/actions-d…
        • c2b85d90: ci: install llvm 22 on windows
        • f3afdbfc: ci: use the runner's preinstalled llvm on windows
        • c5090df2: ci: bump taiki-e/install-action
    2. πŸ”— MetaBrainz State of MetaBrainz 2026 rss

      I joined MetaBrainz as Executive Director in August this year, 7 months after we lost Rob. This is the written summary of the talk I gave at our October summit in Barcelona: where we stand, what worries me, and what I plan to do in 2027.

      A year of loss, and what held

      Losing Rob this year touches everything in this report. What I want to recognize is how people responded:

      • The team kept the lights on and the engines running.
      • The community kept editing, even through the outages.
      • The board focused on funding so we could keep going.

      I wasn't here yet for most of that, so the credit belongs to all of you.

      Who I am

      I started in August, and I've spent the months since learning how everything works. My first focus is infrastructure and the funding it requires. My second is raising money more broadly.

      I've worked in open data, open standards and open source since 2004, mostly in open government. I care a great deal about privacy: I served on the board of EFF-Austin for 12 years and was a legislative liaison for the ACLU on technical issues. I also have a background in AI, which I know is a sore subject here but this means I can help. I have always fought for artists and creators, and I think you'll find we're in sync on the realities we face.

      The money

      At the time of the summit, income for 2026 stood at 300K, which put us 55K behind for this time of year. We normally bring in about 400K a year, and NicolΓ‘s (reosarevok) and I think we can still get there by year-end. But because of increased infrastructure costs we still have a shortfall for this year.

      What has been done:

      • The board has spent the year renewing supporter contracts.
      • We are creating new kinds of contracts, because ListenBrainz is used very differently from MusicBrainz and our existing tiers don't fit.
      • I've been researching what comparable data sells for. The finding: our top tier is the industry standard price. Every tier below it is priced well under that, on purpose, to support small businesses and independent creators.

      What is pushing costs up:

      • Infrastructure. AI agent traffic means we need more capacity, and AI demand has raised hardware and networking prices.
      • The summit. Flights cost about three times what they did, especially from the United States.

      We are also building a CRM using Twenty, which is open source and self-hosted. It brings together what lives on our website and in our accounting, helps us track privacy requests, and lets us send fewer routine emails and more useful ones, such as yearly tax letters to donors.

      The CRM matters for a reason specific to US nonprofits: we have to show the IRS that our support comes from a broad public, and individual donations count toward that. It is also what lets us write to our users to ask for support, which we are planning on doing for the first time soon.

      The team

      This is my view as the new person, not a measurement.

      What I see is an extraordinarily dedicated group. It's why I took this job: I wanted to work with data nerds. The volunteer engagement is remarkable, from the userscripts and apps people have built to the number of edits made through thick and thin. The team is self-motivated and self-organizing. Everyone wants to carry Rob's legacy forward, and I am in awe of that.

      I also see that people are tired, and I'm worried about burnout.

      • Too many roles are unfilled. Teams of one or two people are not enough.
      • Coordination could be better, which is why we worked on leads and roles at the summit.
      • Our infrastructure needs serious attention. With it in better shape, we'd be more comfortable opening up to outside contributions.

      Fixing this takes money, which is why so much of this post is about funding.

      2027

      I'm preparing two budgets for the board.

      The conservative budget covers:

      • Following up with supporters and past donors through the CRM.
      • Two summits: one in person, and a Virtual Summit in spring with rooms and topics the whole community can join.

      The aspirational budget adds:

      • Edit-a-thons, code-a-thons and voting-a-thons attached to existing events, starting with an edit-a-thon in the fall. Picture a session the day before a metal festival or a classical music festival, where our editors go and find their people. Sponsorship for events comes out of companies' marketing budgets, which are far larger than their donation budgets.
      • A UX summit to review our interfaces together.
      • Grants. I've found more than 30 to apply for, ranging from 250,000 to 5 million. Many EU heritage preservation grants fit us, because archiving is what we do. AI companies also fund nonprofits affected by AI traffic, and I intend to ask.

      Two more things are on my list:

      • Getting our name out to the right people. When I took this role, I kept hearing "Oh, that's still around?" from people who used to edit. I don't want mass publicity. I want to reach the people who are passionate about music and data.
      • The website. It needs to explain who the team is, what a nonprofit open data project means, why human-verified data matters and why our editors are the reason it's good. We also need better onboarding: tutorials, videos and a sandbox.

      Thank you

      Rob and I are very different people, though I think we shared the same fundamental views. One difference is that I do the money thing. Another is that I will resist getting involved in the code and we manage differently, which means we'll need some new ways of communicating.

      Thank you for everything, and for your patience while I fill some brightly colored shoes.

      Silona Bonewald

      Executive Director, MetaBrainz Foundation

      Watch the talk

    3. πŸ”— Hex-Rays Blog Recovering from Indirect Branch Obfuscation with Hex-Rays Microcode rss

      Recovering from Indirect Branch Obfuscation with Hex-Rays
Microcode

      This article uses samples obfuscated with the Hikari- LLVM19 framework to present a recovery method for AArch64 indirect branch obfuscation. The method is not intended to handle all indirect branches. Different obfuscators may compute target addresses in entirely different ways, so the target resolver still needs to match the specific obfuscation semantics. However, once one or two successors can be reliably identified, the subsequent CFG completion, function range expansion, and microcode rewriting steps can be reused directly.

    4. πŸ”— New Music Releases Rammstein - Live in Mexico City rss

      Rammstein - a new release is available:

      • 2026-11-20: Live in Mexico City (Live)

      Amazon: Canada | Deutschland | France | United Kingdom | United States

      Visit muspy for more information.

    5. πŸ”— New Music Releases Trivium - Crown in the Grave rss

      Trivium - a new release is available:

      • 2026-11-20: Crown in the Grave (Album)

      Amazon: Canada | Deutschland | France | United Kingdom | United States

      Visit muspy for more information.

    6. πŸ”— New Music Releases Thy Catafalque - XIII: SΓ‘rga erdo rss

      Thy Catafalque - a new release is available:

      • 2026-11-20: XIII: SΓ‘rga erdo (Album)

      Amazon: Canada | Deutschland | France | United Kingdom | United States

      Visit muspy for more information.

    7. πŸ”— New Music Releases The Revivalists - Get It Honest (Nashville Session) rss

      The Revivalists - a new release is available:

      • 2026-11-20: Get It Honest (Nashville Session) (Live)

      Amazon: Canada | Deutschland | France | United Kingdom | United States

      Visit muspy for more information.