Readit News logoReadit News
joshdev commented on Claude Code on the web   anthropic.com/news/claude... · Posted by u/adocomplete
navanchauhan · 2 months ago
I used `sandbox-exec` previously before moving to a better solution (done right, sandboxing on macOS can be more powerful than Linux imo). The way `sandbox-exec` works is that all child processes inherit the same restrictions. For example, if you run `sandbox-exec $rules claude --dangerously-skip-permissions`, any commands executed by Claude through a shell will also be bound by those same rules. Since the sandbox settings are applied globally, you currently can’t grant or deny granular read/write permissions to specific tools.

Using a proxy through the `HTTP_PROXY` or `HTTPS_PROXY` environment variables has its own issues. It relies on the application respecting those variables—if it doesn’t, the connection will simply fail. Sure, in this case since all other network connection requests are dropped you are somewhat protected but then an application that doesn't respect them will just not work

You can also have some fun with `DYLD_INSERT_LIBRARIES`, but that often requires creating shims to make it work with codesigned binaries

joshdev · 2 months ago
What is the better solution you’ve moved on to?
joshdev commented on Ask HN: Best way to remove CO2 in a bedroom?    · Posted by u/simonebrunozzi
colanderman · 2 years ago
Energy recovery ventilator. It will exchange indoor air with outdoor air while maintaining indoor heat and humidity. Unfortunately small window mounted models are hard to come by. Most are whole-home systems.
joshdev · 2 years ago
This is the way. As others mention opening window is your cheapest option, but you lose a lot of your heating and cooling efficiency. We installed a whole house ERV for about $10K and saw a significant drop in CO2 readings.
joshdev commented on Descent 3 Source Code   github.com/kevinbentley/D... · Posted by u/kevin42
lotharbot · 2 years ago
My wife and I met on a Descent forum, our 3 sons are named for Descent friends (KoolBear, Jediluke, and Mark392), and we've attended weddings (and sadly one funeral, RIP JinX) for Descent friends. Even though I considered D3 the weakest of the Descent games, this news makes me happy. Thank you, Kevin!
joshdev · 2 years ago
I remember KoolBear from playing on Kali. That brings back good memories.
joshdev commented on Ask HN: How do you get out of a rut?    · Posted by u/inarut2023
davely · 2 years ago
In general, I think this is a good idea. For me, I recently took a 6 week long sabbatical (our company offers that after you've been there a number of years).

I was hoping to feel recharged and energized after, but for me, it didn't help. Mostly due to having to deal with some mental health stuff with one of our kiddos. It's been exhausting.

joshdev · 2 years ago
Hang in there. I’ve had the same challenge. Take some time off and burn through any energy accumulated taking care family in just a few days.

Best I’ve found is to try and keep things at a slow burn. You’ll never really relax but you can try to reduce the stress peaks.

joshdev commented on Ask HN: Do you rewrite pull requests?    · Posted by u/phendrenad2
joshdev · 4 years ago
I wonder if there is a case to be made for a patch branch that gets all PRs. Then the maintainer can do any further tweaks needed before merging down to mainline.
joshdev commented on Ask HN: Do you consider Hacker News to be a positive/useful use of your time?    · Posted by u/throwawaynay
joshdev · 4 years ago
HN with an RSS reader is the way to go. No need to compulsively check and you can skim through things quickly.
joshdev commented on What does a Principal Software Engineer do?   blog.devgenius.io/what-do... · Posted by u/awesometechguy
fasteddie31003 · 4 years ago
When my partner and I first meet we were both senior engineers at larger SF tech companies. Three years later she is a principle engineer and I stayed a senior engineer. She and I agree that everything past a senior engineer is political. She is much better and handling the complex social dynamics of the management class. It's kinda a game of finding the least common denominator that works best by not pissing off people and making everyone maximally happy. That often means the decisions you make you know are not the most optimal, but the most politically optimal. Just our observations.
joshdev · 4 years ago
Another way to look at it is you are expected to include business factors into your decision making. Sometimes the most optimal engineering solution is not the most optimal business solution. Politics can definitely be a factor, but being able explain clearly why doing something helps the business can be a big part of making the jump to more senior roles.
joshdev commented on Ask HN: Running production server on M1 mini?    · Posted by u/groundthrower
joshdev · 4 years ago
Have you considered looking at Amazon for their ARM offering (Graviton)? I'd be hesistant to use M1 minis for a production workflow as they are not really production grade (lacking ECC memory, not sure how long they are rated to run at high CPU, lack of user replaceable disks, no RAID, etc...).
joshdev commented on Ask HN: Been in the IT industry for 10 years with nothing to show for it    · Posted by u/OulaX
joshdev · 4 years ago
It sounds like you just don’t enjoy frontend work. If you are trying to build a product on your own it’s impossible to avoid, but there are plenty of companies in the EU and US hiring for backend developers. Understanding how both sides get work done is important, but there is nothing wrong with focusing on just one area.

u/joshdev

KarmaCake day74September 13, 2010
About
[ my public key: https://keybase.io/nylan; my proof: https://keybase.io/nylan/sigs/ogzvanB6x3W09fhHCHSvxKLdnB2BMJc2YIZzhGorm2c ]
View Original