skip 🐾

@ski.pe

spite-driven development

ME: i am trying to use Metro with an unhoisted pnpm workspace TypeScript monorepo TRANSLATION: i am trying to blow my head off with a shotgun

as a Mac person we should collectively acknowledge that the Windows taskbar was the correct solution and that the Dock is bad the Start button being a permanent fixture of the bottom-left corner of the screen effectively gives it an *infinitely big* hit region, because you don't have to aim

Sunday nothingburger for you: iPhone 18 Pro Max has a "Prepare to Ship" feature which intentionally discharges the 20 Wh battery. /usr/libexec/BatteryDischargeService handles this by calling [[NSProcessInfo processInfo] activeProcessorCount] and spawning that many NSThreads that spin until stopped

Screenshot of Binary Ninja decompilation output:

void worker_thread_work(void* closure_data @ x20)
{
    void* closure_data_1 = closure_data;
    int64_t closure_data__ofs0 = data_100014f98;

    if (!((uint32_t)*(uint8_t*)((char*)closure_data + closure_data__ofs0) & 1))
        return;

    int64_t iterations = 1;

    while (true)
    {
        if (iterations / 1000000 * 1000000 == iterations)
        {
            id current_thread = [[[NSThread self] currentThread] retain];
            int32_t is_cancelled = [current_thread isCancelled];
            _objc_release_x19(current_thread);

            if (is_cancelled & 1)
                break;
        }

        if (!((uint32_t)*(uint8_t*)((char*)closure_data + closure_data__ofs0) & 1))
            break;

        bool did_overflow = iterations + 1;
        iterations += 1;

        if (did_overflow)
            trap(1);
    }
}

using macOS on a non-HiDPI (1x) monitor once again and it's really quite a shame just how poor the overall text legibility is (IMO), compared to Windows or Linux (FreeType)

this is mostly why i don't bother with non-React stuff. "cool compiler that lowers your code into direct DOM manipulations" is cool until it isn't because touching the DOM is really slow and destroys performance, so in practice you want to batch (which i think the alternatives do), but

garrison@garrison.corporate.fm · 7mo ago

because those frameworks are by and large horizontal moves that make specific (mostly questionable) tradeoffs with React rather than transcend it in any meaningful way

mac devs be like "i made an app that makes your video files smaller without any quality loss" and then its just a $20/mo ffmpeg wrapper with a promo video like this

i'm still writing my text editor (really slowly) today i got tree-sitter queries working and did a lot of boring API design for variable line height support, but now i can make `null` appear in 64pt Zapfino complete with a disgusting shadow

does anyone particularly knowledgeable in V8 know if IIFEs are bad/deopts when using them in like function bodies

@mcy.gay sry for cold ping but do you have a take on cap'n proto? i am trying to overengineer a text editor with massive helpings of rpc and i need opinions