HNHacker News
TopNewBestAskShowJobs

alwillis

9,012 karma · joined September 24, 2010

[ my public key: https://keybase.io/alwillis; my proof: https://keybase.io/alwillis/sigs/RYx1MNFlb1gNi9psXIHPpAttI8VT-rNbYRWt-Ex0gqo ]
submissionscomments
alwillis··on Claude Code runs Git reset –hard origin/main against project repo every 10 mins
I’ve been using Cotypist on macOS [1].

Sometimes it feels like it’s reading my mind when I’m typing.

[1]: https://cotypist.app/

alwillis··on Neovim 0.12.0
> you'll be pleased to know it has plenty of its own shortcuts, as well as a "VIM navigation" mode you can turn on.

For doing something quick, VS Code's Vim mode is… fine. But not if you're something serious. I often quit it in disgust and go back to Neovim.

alwillis··on Neovim 0.12.0
> I always thought Vim/Nvim already had a built-in package manager

They do; I used minpac [1] back in the day with Vim. And now Neovim has vim.pack.

Every so often, a movement to create Vim and Neovim configurations with zero (or minimal) 3rd party plugins becomes popular. This means no lazyvim as the package manager.

The lazyvim package manager has all the bells and whistles, especially lazy loading plugins, which reduces Neovim's startup time if you have dozens of plugins installed. My LazyVim [2] configuration has 35 plugins total but only 6 load at startup; startup time: 76ms. Plugins you don't use often aren't loaded unless necessary.

[1]: http://vimcasts.org/episodes/minpac/

[2]: https://www.lazyvim.org

alwillis··on Neovim 0.12.0
Looking forward to multiple cursors… but Vim/Neovim can already do some of the common use-cases for multiple cursors, like prepending (or appending) text to a bunch of lines using visual block mode [1].

Here’s a video example [2]:

[1]: https://neovim.io/doc/user/usr_10/#_visual-block-mode

[2]: https://www.reddit.com/r/vim/comments/jai57c/the_usefulness_...

alwillis··on A Faster Alternative to Jq
I get that AI isn’t deterministic by definition, but IMHO it’s become the go-to response for a reason to not use AI, regardless of the use case.

I’ve never seen AI “hallucinate” on basic data transformation tasks. If you tell it to convert JSON to YAML, that’s what you’re going to get. Most LLMs are probably using something like jq to do the conversion in the background anyway.

AI experts say AI models don’t hallucinate, they confabulate.

alwillis··on Apple Just Lost Me
> It's a leadership failure. They obviously have a UI/UX dept. Those people want to be considered productive.

They had a guy who had no UI/UX experience leading the UI/UX team. He left for Meta thank goodness [1].

[1]: “Alan Dye Leaves Apple for Meta, Replaced by Longtime Designer Stephen Lemay” — https://daringfireball.net/linked/2025/12/03/alan-dye-leaves...

alwillis··on Apple Just Lost Me
> Gatekeeping. OK, fine, but at the very least this has been Apple's stance for a very long time now

The point is this person has been dealing with Gatekeeper for a long time but all of sudden it’s a deal breaker?

alwillis··on Ripgrep is faster than grep, ag, git grep, ucg, pt, sift (2016)
ugrep agrees with you [1].

[1]: https://ugrep.com/

alwillis··on Nanobrew: The fastest macOS package manager compatible with brew
> I install most of my packages from a Brewfile, which itself is Ruby code.

Same. Whatever happens, the new version should support Brewfile.

alwillis··on Nanobrew: The fastest macOS package manager compatible with brew
bun is my go to for npm packages; it’s so much better and faster than npm, it’s not funny.

Never had any issues.

alwillis··on Nanobrew: The fastest macOS package manager compatible with brew
Since I enabled HOMEBREW_DOWNLOAD_CONCURRENCY, downloads have improved for me to the point where download speed is no longer an issue.
alwillis··on iPhone 17 Pro Demonstrated Running a 400B LLM
> The A18 and A18 pro do not differ in memory bandwidth.

A18 Pro has a modest memory bandwidth advantage over the standard A18, which is part of why it can support ProRes recording and always-on display while the standard A18 cannot.

alwillis··on Claude Code Cheat Sheet
> I think this is the argument for UIs

To quote The Godfather II, "This is the business we have chosen."

The most popular and important command line tools for developers don't have the consistency that Claude Code's command line interface does. One reason Claude Code became so popular is because it worked in the terminal, where many developers spend most of their time. But using tools like Claude Code's CLI is a daily occurrence for many developers. Some IDE's can be just as difficult to use.

For people who don’t use the terminal, Claude Code is available in the Claude desktop app, web browsers and mobile phones. There are trade-offs, but to Anthropic’s credit, they provide these options.

alwillis··on iPhone 17 Pro Demonstrated Running a 400B LLM
> In a recent episode of Dwarkesh the guest who is a semiconductor industry analyst predicted that an iPhone will increase in price by about $250 for the same stuff due to increased ram/chip costs from AI. Apple will not be able to afford to put a bunch more RAM into the phones and still sell them.

Apple recently stated on an earnings call they signed contracts with RAM vendors before prices got out of control, so they should be good for a while. Nvidia also uses TSMC for their chips, which may affect A series and M series chip production.

Yes, TSMC has a plant in Arizona but my understanding is they can't make the cutting edge chips there; at least not yet.

alwillis··on iPhone 17 Pro Demonstrated Running a 400B LLM
> Realistically you need +300GB/s fast access memory to the accelerator, with enough memory to fully hold at least greater than 4bit quants.

The latest M5 MacBook Pro's start at 307 GB/s memory bandwidth, the 32-core GPU M5 Max gets 460 GB/s, and the 40-core M5 Max gets 614 GB/s. The CPU, GPU, and Neural Engine all share the memory.

The A19/A19 Pro in the current iPhone 17 line is essentially the same processor (minus the laptop and desktop features that aren’t needed for a phone), so it would seem we're not that far off from being able to run sophisticated AI models on a phone.

alwillis··on iPhone 17 Pro Demonstrated Running a 400B LLM
> Putting the GPU and CPU together and having them both access the same physical memory is standard for phone design.

> Mobile phones don't have separate GPUs and separate VRAM like some desktops.

That's true. The difference is the iPhone has wider memory buses and uses faster LPDDR5 memory. Apple places the RAM dies directly on the same package as the SoC (PoP — Package on Package), minimizing latency. Some Android phones have started to do this, too.

iOS is tuned to this architecture which wouldn't be the case across many different Android hardware configurations.

alwillis··on Apple announces new Mac sales record following MacBook Neo launch
> Apple is having their Windows ME moment.

As someone who lived through the early days of Windows, macOS Tahoe and Windows ME aren’t in the same universe.

> It doesn't matter how much cheap hardware you throw at the unwashed masses.

It's meaningful that a product line that's 41 years old had its best launch for customers new to the platform. That's unprecedented in the computer industry.

alwillis··on Cert Authorities Check for DNSSEC from Today
> The same reasons not to deploy DNSSEC that face large organizations apply to you: any mistake managing your DNSSEC configuration will take your domain off the Internet (in fact, you'll probably have a harder time recovering than large orgs, who can get Google and Cloudflare on the phone).

There are several mistakes one can make to knock oneself off the Internet that have nothing to do with DNSSEC. These are not the bad old days; compared to 10 years ago, DNSSEC is a lot easier to administer.

alwillis··on Cert Authorities Check for DNSSEC from Today
LetsEncrypt has been checking for DNSSEC since they launched 10+ years ago.

       The ACME standard recommends ACME-based CAs use DNSSEC for validation, section 11.2 [1]:
       An ACME-based CA will often need to make DNS queries, e.g., to
       validate control of DNS names.  Because the security of such
       validations ultimately depends on the authenticity of DNS data, every
       possible precaution should be taken to secure DNS queries done by the
       CA.  Therefore, it is RECOMMENDED that ACME-based CAs make all DNS
       queries via DNSSEC-validating stub or recursive resolvers.  This
       provides additional protection to domains that choose to make use of
       DNSSEC.

       An ACME-based CA must only use a resolver if it trusts the resolver
       and every component of the network route by which it is accessed.
       Therefore, it is RECOMMENDED that ACME-based CAs operate their own
       DNSSEC-validating resolvers within their trusted network and use
       these resolvers both for CAA record lookups and all record lookups in
       furtherance of a challenge scheme (A, AAAA, TXT, etc.).
[1]: https://datatracker.ietf.org/doc/html/rfc8555/#section-11.2
alwillis··on Cert Authorities Check for DNSSEC from Today
Just wanted to add the latest data on DNSSEC [1]. 25 million zones is a drop in the bucket compared to the size of the internet, but it's also not nothing.

    |  Last updated.                        | 2026-03-16 05:04 -0700 |
    |:--------------------------------------|:-----------------------|
    | Total number of DS Records            | 25,099,952             |
    | Validatable DNSKEY record sets        | 24,559,043             |
    | Total DANE protected SMTP             | 4,165,253              |

There's a graph of the growth of signed zones the past 7 years [2].

I get it that DNSSEC doesn’t make a lot of sense for large organizations with complex networks. that have been around for decades.

But if you're self-hosting a website for your personal use or for a small-ish organization and your registrar supports it (most do), there's no reason not to enable DNSSEC. I did it recently using Cloudflare and it was a single checkbox in the settings.

An estimated more than 90% of ICANN's ~1,400 top-level domains are DNSSEC enabled, so that shouldn't be a barrier.

Since most of us don't have a personal IT department at our disposal, for the small guy, DNSSEC prevents cache poisoning attacks, man-in-the-middle attacks and DNS spoofing. There are other ways to mitigate these attacks of course, but I've found DNSSEC to be pretty straightforward.

[1]: https://stats.dnssec-tools.org/#/top=tlds

[2]: https://stats.dnssec-tools.org/#/top=dnssec?top=dane&trend_t...

alwillis··on Parallels confirms MacBook Neo can run Windows in a virtual machine
> On a mobile chip

That's not really a thing with Apple Silicon. The A series chips and the M series have the same CPU and GPU core designs.

Because you don't need to support Thunderbolt 4/5 controllers, PCIe lanes for NVMe storage, ProRes encode/decode engines (on Pro/Max/Ultra tiers) and multiple external displays in a device like a phone, Apple TV, or a HomePod these features are absent from A series chips.

The A17 Pro corresponds to the M3, the A18/A18 Pro corresponds to the M4 and the A19/A19 Pro corresponds to the M5. Same core design, different implementations.

It's not like Intel where there are many server processors, desktop processors and mobile processors. Apple uses the same core design they scale up or down as needed, for example the S series chips in the Apple Watch. The S9 is a scaled down A13 or A15.

alwillis··on Parallels confirms MacBook Neo can run Windows in a virtual machine
I should clarify that I was referring to the memory bandwidth. Compared to the 100 GB/s of a M3 MacBook Air, the 60 GB/s of the Neo is 40% slower. My M1 Pro MacBook Pro's memory bandwidth is 200 GB/s; that's 3.33x faster than the Neo.
alwillis··on Parallels confirms MacBook Neo can run Windows in a virtual machine
In the case of the A18 Pro in the Neo, the memory is integrated directly into the package which is shared between the CPU, GPU and Neural Engine.

Naturally it's faster to have all of this in the same package, with memory bandwidth up to 400 GB/s.

Intel and AMD are heading in the same direction.

alwillis··on 1M context is now generally available for Opus 4.6 and Sonnet 4.6
Totally agree the LLM sucks posts should be accompanied with the prompt.
alwillis··on Parallels confirms MacBook Neo can run Windows in a virtual machine
> I think this is actually the reason the Neo has 8 GB of RAM (non-upgradable). It’s their anti-cannibalization strategy.

It has 8 GB of RAM because they wouldn’t be able to hit the price point of $599 with more; their target audience doesn't need more. It's also why the SSD is slower than a MacBook Pro or MacBook Air; it's the only device in the lineup other than the entry-level iPad with a sRGB display; the other devices have P3 Wide Color Displays. No Thunderbolt ports, only supports 1 external display and only at 4K. No Wi-Fi 7.

These are some of the compromises they made to keep the price down. They're also using a binned A18 Pro with 5 GPU cores instead of the 6 core version in the iPhone 16 Pro and Pro Max.

There are lots of potential customer for which a Mac laptop was out of reach; it's a lot more affordable at $49.91 /month for 12 months for the $599 model.

Its display is better than PC laptops in the same price range, but that display is a non-starter for graphic designers, video editors, etc.

That's why cannibalization is a non-issue.

alwillis··on Parallels confirms MacBook Neo can run Windows in a virtual machine
> Apple is going to cannibalize their own laptop market.

As long as you buy a Mac laptop, Apple is fine with that, regardless of which one. That’s because they know who their customers are.

The Neo is in its own category; the $599/$699 Neo doesn’t compete with a 14-inch MacBook Pro with a M5 Pro, 24GB of RAM, and 1 TB SSD at $1899. If you know you need more RAM and storage than Neo, the M5 Mac Air is $1099. But if you need to stay under $1000, the decision is clear.

If anything, the Neo is more competitive with the entry-level iPad with 128 GB of storage at $349; with Apple's keyboard at $249, the total is $598, $1 less than the entry-level Neo.

For someone who wants a "real" laptop with more flexibility than an iPad, getting the $599 Neo is a no-brainer.

alwillis··on Parallels confirms MacBook Neo can run Windows in a virtual machine
> And oh yes, the modern Mac shares those 8GB with the video RAM...

The Unified Memory Architecture is why these Macs are so fast—no wasted cycles moving data between RAM and GPU. And the data is compressed in real-time so less data has to be transferred and there's less ware and tear on the SSD, which is directly to SoC [1].

[1]: https://news.ycombinator.com/item?id=47354705

alwillis··on Parallels confirms MacBook Neo can run Windows in a virtual machine
> This is Apple's "Nintendo moment" when they realize they can package old hardware and win on polish and ecosystem.

The A18 Pro isn't even two years old yet; it debuted in iPhone 16 Pro and 16 Pro Max September 2024. What's funny is none of the PC laptops manufactures can match the speed and quality of the Neo.

The benchmarks for the A18 Pro are impressive; its Single Thread Performance beats all mobile processors [1]; remember this processor was created for a phone:

        Apple A18 Pro              4,091

        Apple M1 8 Core 3200 MHz.  3,675

        Apple A15 Bionic           3,579

        AMD Ryzen Z1 Extreme       3,546

        AMD Ryzen 5 PRO 230        3,538

        Apple A14 Bionic           3,382

        Intel Core i5-1235U        3,090

        Apple A13 Bionic           2,354

        Intel N150                 1,902

        Intel N100                 1,893

        AMD Ryzen Embedded R1505G  1,820
[1]: "A18 Pro Benchmark" - https://www.cpubenchmark.net/cpu.php?cpu=Apple+A18+Pro&id=62...
alwillis··on Parallels confirms MacBook Neo can run Windows in a virtual machine
My fault; I'd lost track how far Asahi progressed.
alwillis··on Parallels confirms MacBook Neo can run Windows in a virtual machine
I wrote about how Unified Memory, SSD directly attached to the SoC and Apple's use of real-time compression saves memory, reduces power consumption and wear on SSDs [1].

[1]: https://news.ycombinator.com/item?id=47354705

← PreviousPage 7 of 34Next →