Hacker Newsnew | past | comments | ask | show | jobs | submit | Nition's commentslogin

Note: This is an archived version of Yyvette's from 2010, as the original site is no longer up.

I'm currently stuck on Windows, but I thought sandboxing was built in to Claude Code as a feature on Linux with the /sandbox command?

For Windows a quick win is to install VMware Workstation Pro (which is free) and install Ubuntu 24.04 LTS as a VM.

Broadcom bought VMware then released Workstation Pro for free and I don't think they kept the download link but you can get from TechPowerUp:

https://www.techpowerup.com/download/vmware-workstation-pro/

You can then let LLMs on YOLO mode inside it.


What is the advantage of using VMware Workstation Pro for this as opposed to using WSL2?

I think it has default access to your c drive via a mount, for one. You could add layers/sandboxes, but it’s not isolated.

Funny, but I wrote some environment initialization and setup scripts that you just unzip to a new dev desktop, and run the first powershell script, and it will work through (have to reboot after a couple installs), but it goes through, then once WSL is up, it'll rely on the /mnt/c/ paths to run bash scripts to initialize the wsl environment too... was pretty handy.

Yeah, I do most Linux stuff on Windows in containers using podman leveraging WSL2, but that's a good point.

I wouldn't put it past Opus 4.5 in yolo mode to vm escape if it felt like it haha

Stronger isolation and choice of OS

Windows has the WSL for native Linux vms, these days (and also the past ~decade)

I can rm -rf Windows files from WSL2. And so can LLMs.

Meanwhile a VM isolates by default.


You can turn all the interop and mounting of the windows FS with ease. I run claude in yolo mode using this exact setup. Just role out a new WSL env for each claude I want yoloing and away it goes. I suppose we could try to theorize how this is still dangerous buts its getting into extremely silly territory.

That's great to know! And important to clarify because by default WSL has access to all disks.

/sandbox AFAIK uses https://github.com/anthropic-experimental/sandbox-runtime under the hood.

It's still experimental and if you dive into the issues I would call its protection light. Many users experiences erratic issues with perms not being enforced, etc.

For me the largest limitation was that it's read-mode is deny-only, meaning that with an empty deny-list it can read all files on your laptop.

Restricting to specific domains have worked fine for me, but it can't block on specific ports, so you can't say for instance you may access these dev-server ports, but not dev-server ports belonging to another sandbox.

It feels as though the primary usecase is running inside an already network and filesystem sandboxed container.


It's hard being human. A lot of cognitive ability peaks before age 25[1], physical before 35[2], and to some extent it's an inexorable downward slope from there. Accumulated experience often makes up for it, but only to a point. You still won't be as good as the version of you that started earlier, or learned faster. People reach 40 and finally start exercising and eating properly and miraculously feel 25 again - there are always ways to fight it. But they'd have been even more effective with the same habits at 25.

Life is stressful. There is fear of failure, there is fear of disappointing others, and ultimately there is fear of death. And that final deadline doesn't even have the courtesy to let us know when it will come.

But many people get nothing much done without a deadline. Most get more done with some time pressure. I'm not sure how we would manage immortality. If we lived twice as long, would we work half as fast? One hopes that for a little while at least, we manage to be happy and content with what we have.

[1] https://pmc.ncbi.nlm.nih.gov/articles/PMC4441622/

[2] https://pubmed.ncbi.nlm.nih.gov/17717011/


If what you value most is performing IQ tests, or competitive chess, then yes there is good data on the 25 part. If what you value is complexity and richness of thought, not so much.

Your last paragraph brings to mind an insult from a fictional culture where the very wealthy and powerful can live indefinitely: "<minor villain> has grown nothing. And he has planted nothing". Such a perfect summation of the attitude of a culture with lots of time

Honestly if I exercised and ate perfectly from 20-29 I would've had a miserable 20s. Doing high-discipline stuff like that is way easier when you have a material reason (i.e. you've actually felt the consequences of not being fit or healthy) compared to when people just tell you "do it! you'll really thank yourself for it 20 years later!". Being in perfect physical condition at the cost of the psychological stress of forcing myself to do stuff I don't want to do every day does not sound worth it.

> forcing myself to do stuff I don't want to do every day

If you make it over the initial hump of developing the habit it just becomes an expected part of your day. The dislike evaporates. Skipping it feels weird.


Maybe I'm just a baby, but I actually have done routine exercise for long periods (sometimes months, sometimes years) and stopping felt AWESOME.

Fair enough. That is most definitely not normal but I believe you that it's just how it is for you. It's the same thing with any given medication - it will work for most people most of the time but not for everyone all of the time.

The trick is to tie your sense of identity to being a badass with more than enough self control.

That’s one way to think about it. For me personally, a single evening with even driven and dedicated 25 year olds makes any claims of a downward slope like you describe laughable. At best, they’ll know one thing sort of well at that age. Most of the interesting stuff happens when you synthesize a lot more experience, and have the appreciation for time and wisdom to utilize it well. Whats the average age of startup founders, like 45? Average age of authors first books like 36-42.

Give me a break with that hustle culture.


Most people are complete dumbasses at 25. (I include myself at 25 in that assessment) So if this is peak intellectual capabilities something does not add up.

It's the lack of experience, essentially. See this chart from the study I linked: https://i.imgur.com/zhR6NC1.jpeg

Things that rely on experience peak at a much higher age, but the pure mental stuff peaks earlier.


To me that graph seems to say that the pure "subconscious" stuff or "ML similar" stuff peaks earlier, but comprehension peaks much later. So you perfect your tools in the brain at around 25, but then it takes another 20 years to really know how to use them correclty.

The title is sensationalised. They mean the earliest painting of his that we have. It's also a copy of an existing engraving.

Then that's very believable (well, depending on what age he started).

As a comparison, Mozart's compositions when he was 15 years old was unbelievable, unless you put in context he was already composing music at 5 years old


> From a spiritual perspective, there are only two career paths one can take: farmer or artisan. Anything else unavoidably involves doing evil or is essentially meaningless.

I thought this was a beautiful statement; something to really help us think about what we're trying to do here on Earth. But personally I would add Artist to this. Painter, sculptor, musician, writer, poet, and so on. We need those too.

Edit: As others have reminded me below, service work like doctor, firefighter, teacher must qualify as well.


I disagree, it is not significant at all if you think about the implications here for more than a couple of seconds.

A poet needs his pen and paper. Someone needs to man the paper-mills and ink-factories, someone needs to work on logistics and planning issues related to that, infrastructure etc.

It's a completely meaningless statement.


Now, now, there's some meaning to it. The meaning is that stating it allows the author to feel morally superior to the rest of us "liars, thieves, fornicators, murderers, and cheats".

Yes, I’m so glad this incredible philosopher’s months-long thought experiment let him discover that becoming a gentleman farmer elevated him above the petty moral hazards and trite meaningless existences of fucking doctors, nurses, firefighters, pilots, social workers, journalists, artists, EMTs, school teachers, engineers, scientists, monks, academics, etc. etc. etc.

Bet you ten bucks he spent a few solid months playing Stardew Valley before this grand moral awakening.


> A poet needs his pen and paper

They doesn't. People did poetry for a long time.


A pedantic point. Even in a non-industrialized tribal society an oral poet needs a mud house, sandals and various tools. Someone needs to make those, probably the poet themselves.

> Someone needs to make those, probably the poet themselves.

In that case the whole labor division and economic incentives kinda disappear, right?


Teachers, Doctors, Nurses, Fire fighters... I can think of an endless list of service based career paths that involve no evil, and are immensely meaningful.

Weird how different people can look at things. For me, since my teenage years, statements like this feel fake and almost evil.

Why I feel this? Because it is a way for people to convince themselves they are pure and kind. People reason that the big bad evil world with evil things and professions can go to hell, and "I won't participate in this". Nice way to lie to yourself.

If you think deeper, you inevitably get a conclusion that if you have talents, you can do real good at a scale. It might be not as fulfilling, and it includes compromises, but amount of good you can do is tenfold or even several orders of magnitude.

In our modern complex world, you can try and see far consequences of your actions or inaction. For example, you can earn western SDE salary, and donate 80% to good causes. It might not be as nice as quiet country life, but it would help a lot of people or animals. That's what my friend is doing. He overdid it, sure, and burned out, but you can always find a balance.

What bothers me is that thing people who downshift into some traditional lifestyle easily do. They somehow feel like 8 billion people can live like that or close to it.

But that will cause insane downgrade of quality of life where it does matter. I'm not talking about consumerism or even experiental consumerism like travel.

Healthcare, child mortality ratez, food safety, and personal safety will be in a downfall without modern institutions, hierarchies and professions. It might be hard and often not fulfilling to be a doctor, or even a programmer. But even programmer can help create things that allow others to connect one with other (internet and phone networks), to get entertainment where options are very limited (games, movies for old people or people with disabilities). For example, my mom uses her smart speaker to provide her music and really enjoys it.

Without it, she barely used CDs because of the friction of buying, storing and inserting it. Same with movies, she now gets to the point where she watches movies on a streaming platform. She eat he'd nothing except TV when we had VCR and DVDs because of the friction of using it.

All this is possible because of some programmers and other IT people. She also enjoys social networks to some extent, and reads stuff in web. Sure, books also do, but she is limited be ause she lives in an area with not many books available in her native language.

Modern civilization has many issues, but still a lot of benefits that are not possible if everybody would be a farmer or an artisan. Also, artisan stuff is too expensive. And same for eco farming.


It strikes me as an over-simplification. What about doctors, therapists, firefighters, teachers, bricklayers, scientists etc... ?

We do need art but do people need to choose that as their career path? Traditionally perhaps, was an artist part time, was art made communally as leisure?

Some had rich patrons and there were travelling bands of entertainers...


True, I'm thinking of it more like, these are some things that are positive and will benefit yourself and the world. Certainly you can mix multiple.

What about the people that developed and maintained the tech needed to deliver this message?

i take artisan to mean the same as your meaning

I wondered that, but many definitions of Artisan have a utilitarian slant.

indeed, an artist is just a middle class artisan!

I think that might have been the joke.

Alternatively, since there's only one difficulty provided ("easy"), I wondered if the programmer have selected say, DifficultyLevels array index 0 meaning the easiest, but it was actually sorted hardest first.

Or maybe A Deepness in the Sky by Vernor Vinge.


Or maybe Web (1979) by John Wyndham.


Or maybe Charlotte's Web by E. B. White.


I wonder if there could be something like a Wikipedia for programming. A bit like what the book Design Patterns did in 1994, collecting everyone's useful solutions, but on a much larger scale. Everyone shares the best strategies and algorithms for everything, and updates them when new ones come about, and we finally stop reinventing the wheel for every new project.

To some extent that was Stack Overflow, and it's also GitHub, and now it's also LLMs, but not quite.

May I suggest "PASTE": Patterns, Algorithms, Solutions, Techniques, and Examples. "Just copy PASTE", they'll say.


Ward Cunningham once, of all places in an Github issue [0], explained how the original C2 Wiki was seeded.

> Perhaps I should explain why wiki worked. > I wrote a program in a weekend and then spent two hours a day for the next five years curating the content it held. For another five years a collection of people did the same work with love for what was there. But that was the end. A third cohort of curators did not appear. Content suffered.

A heroic amount effort of a single person, and later the collective effort of a small group, worked in the mid-90es. I'm skeptical that it will be repeatable 30 years later. Despite this, it would be the type of place, that I'd like to visit on the web. :(

[0] https://github.com/WardCunningham/remodeling/issues/51#issue...


Great idea! https://paste.voklen.com/wiki/Main_Page If people start using it I'll get a proper domain name for it.


An algolwiki is a great idea, but I just wanted to say I got a good chuckle from this, thanks :)

> May I suggest "PASTE": Patterns, Algorithms, Solutions, Techniques, and Examples. "Just copy PASTE", they'll say.


> To some extent that was Stack Overflow

Yup, that was always very much the plan, from the earliest days. Shame it soured a bit, but since the content is all freely reusable, maybe something can be built atop the ashes?


There is https://grokipedia.com which encourages you to suggest an article and you may submit improvements to an existing article.


This is _not_ at all the same thing. Grok just ripped off Wikipedia as its base and then applied a biased spin to it. Check out the entry on Grok owner Elon Musk; it praises his accomplishments and completely omits or downplays most of his better-known controversies.


And everything is “fact checked” by the Grok LLM. Which… Yeah…

https://en.wikipedia.org/wiki/Grok_(chatbot)#Controversies


The Grok information source is more reliable than Wikipedia.

Objectively and incrementally improving. The leadership behind Grok is human rated safe rocket science quality.

Whereas Wikipedia is a fugly dumpsterdive.


Yes exactly! It would need some publicity of some kind to get started but it's the best solution, certainly? And all of the tools and infrastructure already exist.



That's a remake model in a modern game. The original Crash was even simpler than that one.

Most of Crash in the first game was not textured; just vertex colours. Only the fur on his back and his shoelaces were textures at all.


"Original" as in the original of the one they used in their tweet.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: