MurphyA/hacker-news huggingface dataset:
Show HN: ClodPod – Run Claude Code safely in a macOS VM
by netcoyote | 2025-09-05 20:08:29+00:00
Hi HN! I built and open-sourced (Apache 2.0) ClodPod to run Claude Code in a macOS virtual machine with `--dangerously-skip-permissions` to avoid constant permission prompts without risking my entire computer to rogue AI agents.

ClodPod maps any number of your project directories into the virtual machine so Claude Code can work on your code while remaining isolated from your host computer.

ClodPod virtual machines include Xcode and common development tools, and it's easy to extend to add your own development tools and configuration files.

# Raison d'être

This project exists because I was foolishly trying to find a way to insulate my computer from destruction by rogue AI agents when running Claude Code with `--dangerously-skip-permissions` (to avoid frequent "do you want to proceed?" dialogs), when perhaps I should have simply learned to accept their infrequent rages.

I experimented with running Claude Code inside docker and podman containers (i.e. in Linux), but as my ultimate goal is to build apps using Xcode, I wanted to stick with OSX.

I considered using xtool (open source Xcode-on-Linux), but instead went down a different rabbit hole and tried providing the containers with limited access from the guest OS to my host computer using GNU Rush (Remote User SHell). This "worked" but was limiting.

I tried limiting Claude Code's filesystem access using exec-sandbox, and it works in a "proof-of-concept" sort of way, but the attack surface area was too large.

Eventually I settled on running the whole thing inside a virtual machine, which is probably where I should have started.

# Key features

- Builds a virtual machine and launches Claude Code with access to your projects

- Enables mapping multiple projects in the same virtual machine simultaneously

- Open multiple Claude Code sessions and shell prompts, or use the GUI

- Headless mode for CI/CD workflows with `--no-graphics`

- Includes Xcode and common development tools; you can add your own tools too

- Fast rebuild and relaunch using a two-layer caching system

- Open source: Apache 2.0 License
by const_cast | 2025-09-05 20:08:36+00:00
The two-swipe controls are truly evil and I can't believe it hasn't been fixed yet. The first screen shows you next to nothing if you have no notifications, which I never do.

Its a lot of work to get to quick control. The 4 they let you see on the first swipe is just not enough.

But wait, there's more! Even after the second swipe you have to swipe back and forth to get to all the controls.

But wait, there's more! In landscape mode the interface goes from difficult to downright infuriating.
by ndriscoll | 2025-09-05 20:09:15+00:00
Aren't those abstractions described by types though? e.g. take a "paradigm" like Map-Reduce. Very buzzwordy for disturbed processing 15 years ago. Basic gist is "notice your program is a monoid homomorphism and you see it is trivially parallelizable". Or has been observed before, half of the Design Patterns in Java are just trivial uses of function types.
by tonymet | 2025-09-05 20:09:34+00:00
Tesla and Apple understand that the charger elegance and design is more important than the strict engineering requirements.

NACS is theoretically a worse charger, but it's more approachable to consumers.

CCS1 is clumsy , heavy and makes the car look like it's attached to an umbilical cord.

That's why they had to dump it.
by xeonmc | 2025-09-05 20:09:53+00:00
Perhaps it would be worth a blog post to elaborate exactly what the migration entails and which parts of the UX will and will not change.

Otherwise the lack of information only results in apprehension when it could’ve been an opportunity to engender enthusiasm.

The tech demographic is by-and-large allergic to anything that reeks of “we’re gonna be performing a MANDATORY UPGRADE to our service that is gonna be SUPERIOR ACROSS THE BOARD, stay tuned!” while lacking concrete details on what will change.
by cosmic_cheese | 2025-09-05 20:10:00+00:00
Still iffy on mobile because the way the device is being held can’t be assumed. The area the toast appears is very easily hidden by a hovering thumb for instance, especially for people with larger hands.

Undo and back are conceptually similar but different. On iOS, consistently anywhere you can enter text you can give your phone a quick shake (similar to a person shaking their head “no”) and it’ll offer to undo the last edit. Many apps like Reminders use this for actions like item completion too. There’s a native undo stack you can use to leverage this as a third party dev. There’s also a gesture that can trigger this but I have yet to commit that to memory.

Android does not have an undo gesture. Some skins (like Samsung’s) implement something similar but it’s not consistent and it’s limited to text editing.

For going back, all apps built with native iOS UI toolkits have a swipe gesture that goes back to the previous screen. Cross platform apps built with other frameworks are notoriously bad about not implementing this, though. It’s true that there’s no cross-app back gesture, but swiping back and forth on the home bar is a rough approximation.
by _DeadFred_ | 2025-09-05 20:10:08+00:00
The Western system has roots in the Norman conquest of England. After 1066, land wasn’t held communally or with meaningful checks on aristocracy, as under the Anglo-Saxons. Instead, William the Conqueror carved up the country and handed it to his allies, creating a feudal landlord class that had no attachment to 'their' conquered peasants/community and whose only mandate was to extract maximum rent, so long as the higher lords and the crown got their cut. Instead of vanishing that rentier system evolved. Over centuries, the same logic of conquest and extraction was repackaged as “the market,” and eventually exported to the world through finance, trade, and empire.

What began as feudal rent-seeking in England scaled into global capitalism, a system where those at the top still practice Norman-style exploitation for maximum extraction with no care about those being extracted from. It's all Norman-style exploitation for maximum extraction, stripped of any sense of community, obligation, or service.
by maldonad0 | 2025-09-05 20:10:29+00:00
Ruling is all about balance and drawing lines. Why is alcohol and tobacco banned for people under 18? Why are heroine and cocaine banned? Aren't these two cases examples of liberties that the government is cutting?

The government draws a line when the age to vote is 18, or when the age to drink is 18, or when it prevents you from owning an ak-47. There is no escaping drawing lines, it is inherent to life. Even when not seemingly drawing any line, you are just drawing a line somewhere due to inertia, a sort of implicit default.

Some lines are popular, such as the drinking age, others are impopular, such as tax rates, but both are necessary.

A society drunk on liberty is an evil too, as ancient philosophers already exposed, as there is no balance.

The role of the rulers of a people is not only to enforce the collective will of the people, but to go beyond it to the position of a leader. No one wants to pay taxes or a tax hike, but if there are no taxes, a state cannot be run. Here, the leaders are going beyond the collective will to protect the collective itself.

There are also plenty of cases where the collective is misguided, such in the case of the entertainment industry (and I'm including trash and sloppy TV and online content here), which is idiotizing society. Should people be throwing themselves into an abyss of hedonism instead of following the value of temperance and seeking wisdom? Yes, but many do not. The state of our current societies reflect our current values. "Got what I voted for", right? Disfruten lo votado, as we say in Spanish.

Here is where the imperative of the leader to do what is good and right is most obvious. The leaders are supposed to be the best among us, and while they often are not (again, a reflection of the values of society), this legitimizes them to make unpopular choices, up to a certain degree. The degree of power to invest in a leader is also a line that the collective draws. (As a note to this, bad leaders like Trump are both a reflection of the values of society, and the result of good leaders failing to do what is right and good. There are other factors, but these are the most important ones.)

When governments decide to ban social media (which is different from censorship, if only the medium is banned and not the message), a line is being drawed, and in my opinion, it is a good line to draw.
by johncolanduoni | 2025-09-05 20:10:32+00:00
This was a comparison of two methods of moving data from the VFS to application memory. Depending on cache status this would run the whole gambit of mapping existing memory pages, kernel to userspace memory copies, and actual disk access.

Also, while we’re being annoyingly technical, a lot of server CPUs can DMA straight to the L3 cache so your proof of impossibility is not correct.
by SilverElfin | 2025-09-05 20:10:35+00:00
What does Zuck want? I don’t mean this in a rude way but what are his motivations? He’s already rich and powerful. He’s already achieved success in business. If he doesn’t compete in AI or whatever, the world will still progress and achieve what it needs to. So what does he want out of it? To be even richer? Or does he think he is doing some kind of good? Or is it simply that he wants to feel relevant and part of whatever is happening in the world? I wonder why he doesn’t try to solve some problem others are ignoring.
by dse1982 | 2025-09-05 20:11:05+00:00
When I was a teenager I made a ttf-font from the handwriting of a girl I was in love with as a gift for her. Man I underestimated that task seriously. I used some tool that was included in the Corel Draw Suite, scanned a sheet of paper on which she had written me the alphabet (in upper and in lower case) and vectorized everything by hand. It was so. Much. Work. Since then a quarter of a century has passed and it is one of those stories which leaves me amazed at the amount of naive stubborn energy of youth. I mean it was just for a birthday but I spent so much time on it and most of that time I didn't really know what I was doing. But somehow I succeeded, probably just because I didn't know any better.
by FirmwareBurner | 2025-09-05 20:11:21+00:00
>Without those „Fachkräfte“ the healthcare system would crash.

Really? How many of the illegal boat immigrants work in the German healthcare sector? Because last time I checked they were mostly EU workers who got their job before crossing the border. Actual doctors and nurses don't need to cross borders illegally to get a job. I wasn't talking about skilled, LEGAL immigrants like doctors and nurses, I was talking about the other „Fachkräfte“ that tend to make the news.

>And the biggest companies aren’t automotive, gas and oil.

Maybe he meant in the tech sector. Because I can't take the LVMH sweatshop seriously even if they're making a lot of money. And the other companies on the list, FANG are worth more than all of them combined. I think even Nvidia is worth more than all of them.
by hopelite | 2025-09-05 20:11:37+00:00
Here's a better option that Google will more likely follow; simply build the fines into operation costs and bill that to EU customers or maybe all Google customers looking to serve ads in the EU.

I am not sure why but otherwise seemingly intelligent people seem to be incapable of internalizing that any cost, expense, or fine levied against any corporate entity will always, with 100% (not any other percentage) be rolled into prices. The minor headache of it lowering returns will also be offset and will not really make a difference to any meaningful degree. Most likely Google, just like other corporations that are exposed to this kind of risk, will have set aside a "war chest" they have been building up over prior years, which further would defray any real impact.

Then of course there is the fact that these fines are rarely ever the actual amount that will be paid in the end, and most of the time it can be distributed over time.

What people should really take away from this is that in the end it really is kind of an extortion racket by the EU, but not of Google, but rather of the advertising companies the end consumers who end up paying from he higher priced ads through product prices, and possibly the general Google customer base.

This would really only be an issue that materially impacted Google if there were some kind of real competition in the space, which there is not really. What the EU could possibly do that would have a notable impact is setting industry standards to, e.g., a universal ad format that is ad broker agnostic, e.g., your app, site, service, etc could just serve up ads from all kinds of places, a kind of free market of ads not dominated by Google.

But even with that, with Google's advancement in AI generated content, they will likely also dominate the ad generation market soon.

The oddest thing is that the EU and Europe in general has all but floundered in many ways regarding the generation of a competitive technology industry. But that's a whole different topic.
by sneak | 2025-09-05 20:11:52+00:00
> We're a squad of hardcore builders between San Francisco and Shenzhen working 996 to build the next personal computer. We're upgrading human intelligence with high bandwidth interfaces. We're transhumanist hackers. And we're not just here for a job. We're here for a mission.

Being upfront about 996 (and jira hatred further down the page) is wild. I sort of love it.
by ryukoposting | 2025-09-05 20:12:00+00:00
I lived there from mid-2016 through late 2020, about 4.5 years in all. I know the Green Line was a relatively new thing when I was there.

> it was still notably slower than driving, so many if not most people still drove everywhere

I'd argue that those folks are missing the point. Sure, when I was commuting by Minneapolis public transit, it was slower than driving. But you know what I wasn't doing while I was on the bus/train? Driving! I was reading, writing, daydreaming, sleeping, any number of activities more pleasant than sitting on I-94.

Standing out there in the winter could be brutal, I'll admit. Then again, the light rail stops were heated, and the park & ride I transferred at in Plymouth had a nice climate-controlled lobby. The only time I was really out there was standing in the driveway in front of my office, waiting for the shuttle to pick me up.

Twin Cities public transit is a damn sight better than what we have in Milwaukee, that's for sure. Low bar, but the Twin Cities clear it handily.
by angiolillo | 2025-09-05 20:12:32+00:00
A key factor in this calculus is that the current president holds a grudge whereas the vast majority of consumers, shareholders, and workers do not.

Unless a nontrivial number of the people who are outraged either boycott Apple, Alphabet/Google, OpenAI, Microsoft, Meta/Facebook, or sell their shares, or stop applying to work there then it'll prove that these CEOs were indeed making the right (financial) decision.
by seanmcdirmid | 2025-09-05 20:12:34+00:00
Chinese offer this also. My wife just got one a few months ago, I think these are new things.

220V has a real advantage in boiling water fast in traditional kettles though (I used to live in china and they were twice as fast as the ones in America). It is almost worth getting a 220V outlet in a kitchen just to support fast water kettles.
by blargey | 2025-09-05 20:12:40+00:00
The opposite, actually - I remember reading that HN downranks posts that have a low favorability:engagement ratio - in its case, high comment count and comparatively low votes. The reasoning being that flamebait topics inspire a disproportionate number of angry/low-substance/pile-on comments and retort-chains compared to normal topics, without garnering a corresponding increase in top-level votes.

It's imperfect, but afaik most social media does the opposite (all "engagement" is good engagement), and I imagine, say, Twitter would be much nicer if it tuned its algo to not propagate posts with an unusually high view/retweet count relative to likes.
by chermi | 2025-09-05 20:13:02+00:00
The rule of thumb i heard was that over the "useful lifetime" of a chip the cost of energy+maintenance/infrastructure is about the same as the cost of the chip. IIRC the energy was some like 15-20% of the overall cost over the "useful lifetime". I'm putting it in quotes because it's kind of a cyclical definition.

That makes me wonder if it's more a performance thing than an energy cost thing. I guess you also have to factor the finite supply of reliable energy hookups for these things, so if you're constrained on total kwH consumption your only way to more TOPs is upgrade. Probably ties in with real estate/permitting difficulty too. I guess what I'm picturing is if energy availability(not cost) and real estate availability/permitting timelines weren't issues, that %20 of cost probably wouldn't look too bad. So it's probably those factors combined. Market pricing dynamics are hard :/

I didn't know the recycle time of the Asics was that fast! That's an interesting point about the first-mover. I would counter that a large part of the first move value in this case is ai engineer experience and grabbing exception talent early. But with Facebook and these guys paying for them like athletes, I'd guess that experience build up and talent retention aren't as robust. Openai lost most of it's best, but maybe that's an exceptional example..

All of that to say, yeah, first mover advantage seems dulled in this situation.

Who knows, maybe apple is playing the long game and betting on just that.
by dragonwriter | 2025-09-05 20:13:50+00:00
> I hope this reply (focusing on 1 stylistic detail of the first sentence of the post rather than the substance) is not indicative of your usual posting.

Not that I am overly concerned with your hopes in this area, but you could just check that with less effort than posting speculation.

https://news.ycombinator.com/threads?id=dragonwriter

> Because what you or I think about stylistic preferences around paraphrasing (or as you put it, "abusing punctuation") is less important than stopping a genocide.

That might be a point worth discussing, if what you were doing was, in fact, actually stopping a genocide, or even communicating effectively.
by staticshock | 2025-09-05 20:14:08+00:00
Arc's fluid transition between tabs, bookmarks, and favorites was excellent UX. It finally helped me tame 100s of open tabs by helping me treat "apps" as distinct from "pages".

Every new browser should be doing something to recognize the fact that browsers are an application platform, and they should be absorbing more desktop OS features in the direction of native-feeling applications.

One of the things I want from a browser is to fade to the background and to expose those applications as natively as possible at the OS level (e.g. I want to be able to put browser-based applications into my dock without having to download special electron wrappers for them.)
by Jon_Lowtek | 2025-09-05 20:14:35+00:00
The EU is not a single mind, it is many party democracy. Yes there are forces in it that have been pushing for "lawful interception" for some time now. And they have always failed to ban E2E-encryption.

In the USA there exist similar forces who also introduced bills with similar ideas multiple times in the last decade. One of those is currently in congress.
by ndriscoll | 2025-09-05 20:14:44+00:00
Or it's just easier to create abstractions with functions as your basic tool. I find that something like differential geometry or representation theory have way more powerful abstractions that you can use to quickly reason about very complicated ideas vs. anything you'll ever see in business programming, and those abstractions are all based on functions (and you'll find that any math book is full of "type annotations").
by cosmic_cheese | 2025-09-05 20:14:56+00:00
It’s an unfortunate trend. I’m not sure mandatory backup cameras is really a driving cause, though — the bulk of third party head units have backup cam support out of the box and some even let you add a 360° overhead parking view if you’re willing to drill some holes and wire cameras.

The biggest reason for non-modular infotainment is to push people into subscription services.
Show HN: I built a public and open llms.txt endpoint for every domain
by davidswb | 2025-09-05 20:15:06+00:00
And yes, I know, literally no AI uses llms.txt right now.

But hear me out: if you want it just in case, or if you would like to add your sites to some llms.txt directories, you can use this endpoint. That way, you do not need to keep updating your own llms.txt, especially as I improve the API.

Here is how it works:

Enter any domain:

https://get.llms.page/{example.com}/llms.txt

The API will parse your homepage (if allowed in robots). Using internal links, descriptions, and other metadata, it will generate an Markdown llms.txt file.

It does not rely on AI, because I want it to be fast and free. The API is open, free, runs on a CDN, and is powered by Cloudflare Workers for speed.

I plan to open source the no-AI llms.txt generator later, since there is still a lot to improve.

If you want to try it out or see some usage examples, visit:

https://llms.page

Let me know what you think!
by citizenpaul | 2025-09-05 20:15:12+00:00
It always amazes me how hostile most large companies are to paying for developer tools that have a trivial cost. Then they will approve the budget for some yay quartly profit party no one cares about that cost $100k for the venue rental alone.

I do understand that this mostly is because management wants staff to be replaceable and disposable having specialty tools suggests that a person can be unique.
by tombert | 2025-09-05 20:15:32+00:00
I used to have the Rumble app installed [1], and I uninstalled it when I saw it was using gigs and gigs of data on my phone, even when I wasn't using the app. I'm sure I opted into some permission at some point, but I really didn't like the idea of them constantly sending data to their site at the expense of my data plan and battery, so I removed it.

Now I think this stuff is the norm though; I guess bandwidth is so abundant and cheap for the average American that they don't realize how much is actually being used?

[1] I'm not conservative but there was a creator I liked that was banned from YouTube and was uploading to Rumble.
by AnotherGoodName | 2025-09-05 20:15:44+00:00
>Some crossed into the US illegally; some had visa waivers and were prohibited from working; (Steven Schrank, a Homeland Security Investigations special agent in charge)

If the visa waiver suddenly no longer allows working business trips to the USA this is huge news. The terms of the waiver explicitly state it's allowed but it seems not in practice.

This is a definite "get out now" to anyone on a ESTA in the USA right now. Attending a conference, trade show or consulting on a build out of battery plant?" Get out now.
by worik | 2025-09-05 20:15:48+00:00
Not just large companies

OT because not docker

In the realm of artistic software (thinking Alberton Live and Adobe suites) licensing hell is a real thing. In my recent experience it sorts the amateurs from the pros, in favour of amateurs

The time spent learning the closed system includes hours and dollars wrestling licenses. Pain++. Not just the unaffordable price, but time that could be spent creating

But for an aspiring professional it is the cost of entry. These tools must be mastered (if not paid for, ripping is common) as they have become a key part of the mandated tool chains, to the point of enshittification

The amateur is able to just get on with it, and produce what they want when they want with a dizzying array of possible tools