HNHacker News
TopNewBestAskShowJobs

mirzap

2,317 karma · joined March 2, 2015

Curious developer.

[ my public key: https://keybase.io/mirzap; my proof: https://keybase.io/mirzap/sigs/5G0Sj20ied-ISqZWBbkxcQQ3pm3o5_yWUSkV9aHeRSk ]

submissionscomments
mirzap··on How to code Claude Code in 200 lines of code
The "200 lines" loop is a good demo of the shape of a coding agent, but it’s like "a DB is a B-tree" - technically true, operationally incomplete.

The hard part isn’t the loop - it’s the boring scaffolding that prevents early stopping, keeps state, handles errors, and makes edits/context reliable across messy real projects.

mirzap··on What happened to WebAssembly
Feels like most of the disappointment comes from the wrong expectation. Wasm was never going to replace HTML/CSS/JS for normal frontend work, and JS got good enough that most apps don’t need it anyway. On the other hand, Wasm as a universal runtime (WASI replacing containers, etc.) is clearly still unfinished.

Where it has worked is as infrastructure: fast, sandboxed, portable code for the parts that actually need it. A lot of people are already using it indirectly without realizing. So it’s less "what happened to Wasm?" and more "it didn’t become the silver bullet people imagined."

mirzap··on Creators of Tailwind laid off 75% of their engineering team
There’s no doubt that AI has had a significant impact on this type of business model - selling premium components. That said, in 2026 there are still plenty of premium kits generating substantial revenue despite AI.

I believe something else has had a much greater impact on Tailwind UI’s business than AI, and that is shadcn, which was released in September 2023. The fact that Adam didn’t recognize this shift and adapt Tailwind UI to align with the shadcn ecosystem is, in my view, the primary reason sales have declined, not AI.

I used Tailwind UI Plus extensively before shadcn, but after its release, I lost the motivation to copy, paste, and manually modify components when I can simply pull free components (or components from another kit) directly via shadcn.

I genuinely hope Adam updates Tailwind Plus and creates a shadcn compatible registry for their components. That alone could significantly boost sales.

mirzap··on ICE is using facial-recognition technology to quickly arrest people
Yup, I agree. And this is why I think mass surveillance isn’t just another technology to regulate. The chilling effect isn’t misuse; it’s the default: continuous, opaque observation changes behavior by itself. Because it’s centralized and unavoidable, people self-censor and conform; you don’t need arrests once everyone assumes they’re being scored.

We don’t yet have long-run examples of fully algorithmic surveillance societies, so the outcome isn’t certain. But if these dynamics scale, the risk is trading experimentation for legibility. Problems get hidden, metrics look clean, and warning signals vanish. When real stress hits, responses are late and blunt - overcorrection, cascading failures, accelerated exit. Stability holds until it doesn’t.

mirzap··on ICE is using facial-recognition technology to quickly arrest people
I think those examples miss an important distinction. Cars, guns, and electricity are consumer technologies. They’re widely distributed, regulated, and constrained by market forces and law. Individuals can choose how to use them, and misuse is at least partially visible and contestable.

Surveillance is different. It’s inherently centralized and asymmetrical. By design, it gives one side - the state or large institutions - persistent visibility into everyone else, with little reciprocity. You can regulate how it’s used on paper, but the power imbalance remains.

It’s closer to nuclear technology than to cars or electricity. I can’t build a nuclear weapon or possess fissile material, not because it’s inefficient, but because some technologies are considered too dangerous to be broadly accessible. Mass surveillance belongs in that category. Once it exists, citizens don’t get to opt out, and meaningful oversight tends to lag far behind capability.

Licensing works when the technology is decentralized. With surveillance, the risk isn’t misuse at the edges - it’s concentration at the center.

mirzap··on ICE is using facial-recognition technology to quickly arrest people
We like to think surveillance is something you can turn on for one problem and turn off afterward. In practice, that never happens. Once the machinery is in place, it stays and looks for new work. Tools justified today by "illegal immigration" won’t stop there. They drift into credit scoring, health insurance pricing, hiring and firing decisions, school admissions, housing access, travel permissions, banking, welfare eligibility, and even which online accounts are allowed to exist. Not because anyone set out to build a dystopia, but because systems, once built, naturally expand to whatever can be measured and enforced.

As Benjamin Franklin put it: those who give up essential liberty for temporary security deserve neither. The tradeoff rarely feels extreme at the time. It feels reasonable. By the time it isn’t, there’s no way back.

mirzap··on The Honey Files Expose Major Fraud
Check the video as well: https://www.youtube.com/watch?v=qCGT_CKGgFE
mirzap··on Permission Systems for Enterprise That Scale
There are quite a few OSS Zanzibar-inspired authorization services/servers:

  - SpiceDB (https://github.com/authzed/spicedb)
  - Permify (https://github.com/Permify/permify)
  - Warrant (https://github.com/warrant-dev/warrant)
  - Ory Keto (https://github.com/ory/keto)
mirzap··on O'saasy License Agreement
Ever heard of the Free Software Foundation? Richard Stallman? They are pioneers of free software I'm talking about.

Please don't embarrass yourself with your conspiracy theory nonsense. Besides that, Microsoft contributed to Open Source more than any other company.

mirzap··on Claude Code gets native LSP support
Yeah, it's quite odd that they can't get AI tools to work, especially considering so many OSS tools available that work surprisingly well (cline, opencode, etc.).
mirzap··on O'saasy License Agreement
Yes, I agree that "source available" is an accurate description. Unlike "Open Source" licenses, which have no restrictions, "O'saasy" does not allow you to do "anything" you want. Adding a clause like "but you can't compete with us" makes it incompatible with OSS licenses.

I am fine with licensing your code as you wish, but I will always oppose attempts to redefine the widely understood and established meaning of "open source" that has been in place for over 30 years. You don't get to change its definition.

mirzap··on O'saasy License Agreement
Yes, and that is the problem. That "descriptor" is not correct. The correct descriptor is "source available".
mirzap··on O'saasy License Agreement
People who use it claim it's Open Source
mirzap··on O'saasy License Agreement
It's not entitlement, it's the entire purpose of OSS. You are free to modify, distribute, and profit from other people's code. If you can't do any of these things, then the project is NOT OSS. Simple as that.

Entitlement is when you expect that OSS contributors must provide you with a warranty or a certain feature you need for your business activity. They are not.

mirzap··on If AI replaces workers, should it also pay taxes?
They already have, significantly, around 25-35% in developed economies. The issue is that people often look at revenue, seeing company X earning $100 billion annually, and assume they should pay $20 billion in taxes. However, most AI companies today are not profitable and spend up to 100% more than their revenue on R&D and product development. I doubt they will turn a profit anytime soon, probably not for at least a decade.
mirzap··on Epic celebrates "the end of the Apple Tax" after court win in iOS payments case
Apple needs to be broken up and separated from the App Store. Apple sells devices, and I buy one expecting to own it outright. When you own something, you should be able to install whatever you want without interference from Apple.

How is the iPhone different from the Macs? I can install anything I want from any source on the Mac, but I can't do that on the iPhone. Doesn't make any sense.

mirzap··on Epic celebrates "the end of the Apple Tax" after court win in iOS payments case
Even with a non-free package, simply add the repository and you're ready to install it.
mirzap··on Penpot: The Open-Source Figma
There are multiple models:

1. Like Sentry - open source all the features, provide the cloud (hosted) version. Most businesses don't want to self-host, but want a bit cheaper alternative

2. Paid tier, buy once - own forever with 1 year update support. Later you can charge lower price to extend the update cycle.

3. Blender model - donations. Very hard to get it right.

4. Laravel/Next.js model - Open source the tooling, monetize the platform

mirzap··on Show HN: Build the habit of writing meaningful commit messages
I don't find commit messages useful for historical reasons (git log), I squash them anyway when merging PR. Commit messages are very helpful to a reviewer to get a necessary context and intent behind the change. Without it, I need to figure out it my self when reviewing. It is very easy to get a habit of committing often and in AI era i don't write commits anymore. So there is no excuse.
mirzap··on Cloudflare Global Network experiencing issues
Not even 1%
mirzap··on It's insulting to read AI-generated blog posts
This post could easily be generated by AI, no way to tell for sure. I'm more insulted if the title or blog thumbnail is misleading, or if the post is full of obvious nonsense, etc.

If a post contains valuable information that I learn from it, I don't really care if AI wrote it or not. AI is just a tool, like any other tool humans invented.

I'm pretty sure people had the same reaction 50 years ago, when the first PCs started appearing: "It's insulting to see your calculations made by personal electronic devices."

mirzap··on Apple loses UK App Store monopoly case, penalty might near $2B
The real issue isn’t Apple’s commission, it’s the lack of choice. Allowing app installations outside the App Store, as on macOS, would immediately subject Apple’s pricing to market pressure. The fee would drop on its own, without regulation.

Macs have allowed apps from "untrusted" sources for decades - and they’re doing just fine. So no, this isn’t about security. It’s about control and monopoly.

mirzap··on US tariff negotiations with Canada terminated over advertisement
Yeah, but the hubris of American MAGA nationalists doesn’t allow them to see it that way. They’re convinced the world can’t function without them, that everyone needs them.

Anyone with a shred of sense can see where this is heading: the inevitable collapse of the American empire and the end of its unparalleled global dominance. At this point, it’s unavoidable. The U.S. has alienated nearly every ally it once had. Ironically, Trump might be the one who saves Europe in the long run.

mirzap··on Apps SDK
Is it just me, or does it seem odd that if you truly believed AGI would be achieved within a few years, you wouldn’t launch an app store for AI apps? I don’t think an app store makes any sense in a post-AGI world.
mirzap··on NixOS moderation team resigns in protest of Steering Committee interference
Great news for Open Source. Doing political activism and purging contributors who do not align with your world view have no place in any company or open source project.
mirzap··on Traefik's 10-year anniversary
Easy to configure, straightforward and intuitive. Clear and detailed documentation. Recently, I wanted to try HAProxy, but I gave up because I got lost in the config, and I don't trust AI agents to do things I don't understand.
mirzap··on Delete FROM users WHERE location = 'Iran';
My point exactly. It lasted 12 days. How much did it cost? How much you think would cost 5 years of war with Iran? And how much did sanctions cost Iranians (economy + lives) past 40 years. Afghanistan war costed 2t for 20 years of war. That number would be reached withing months in a war with Iran.
mirzap··on Europe's cookie law messed up the internet. Brussels wants to fix it
And cookie banners are what exactly? That's right, you ask users to consent to use cookies to track them. Thus, cookie banners are REQUIRED because you can't run a business without any insight into how your users use your product.
mirzap··on Delete FROM users WHERE location = 'Iran';
No. I wouldn't. Because it makes it easier for the stronger power to dominate without hot wars. Sanctions cost the U.S. very little when used against Iran, but for Iranians they are extremely hard and disproportionately expensive. A hot war would be far more costly for the U.S., and the higher the expected cost, the less likely policymakers are to choose it.
mirzap··on Delete FROM users WHERE location = 'Iran';
Sanctions don't work. Syria didn't collapse because of sanctions, but because of a very long civil war and, more importantly, a sudden imbalance in external forces (Russia was preoccupied with Ukraine). I don't think there has ever been a case where a country, or its people, changed the regime because of sanctions. Never. North Korea, Iran, Cuba, Palestine, and much of Africa are examples. Wars and revolutions change regimes. I would even argue that sanctions help regimes stay in power. When an external force imposes a threat (sanctions) on people, those people don't see the outside as "saviours" but as an enemy. They often resent the country that imposed the sanctions more than their own government, and they have no desire to fight an external enemy on behalf of a domestic dictator.

Sanctions punish ordinary people, many of whom are already suffering under the regime. So they end up opposing both an internal and an external enemy. In the long run, sanctions probably destroy and cost far more lives than wars. It's a sadistic way to try to crush an enemy.

← PreviousPage 3 of 12Next →