News for hackers. Stuff that matters.

bsdz

Re:Auto mode is now the default in Claude Code on Monday August 10, 2026 @03:11AM (#49240329)
For small projects where I don't wish to interact with Claude so much, I've started using Anthropic's sandbox runtime utility "srt":

https://github.com/anthropic-experimental/sandbox-runtime

This is combined with "auto" mode.

Seems to work so far. I've manually checked various things, rw access, access to sensitive folders/files etc.

So far, I've only used it on two small projects. My major projects I've been clicking through prompts and recently switched to "auto" mode.

I'm not quite sure why anyone would trust "--dangerously-skip-permissions". I've seen these agents go off-piste far too many times, installing unnecessary packages, environments, calling sudo & creating files in all sorts of places.

There's a page on various sandboxing strategies on their site:

https://code.claude.com/docs/en/sandbox-environments

I've seen various comments in several topics with folk baking their own sandboxes. That's great. Although I'd be inclined to try Anthropic's solutions initially.

Re:GitHub Copilot is moving to usage-based billing on Monday April 27, 2026 @12:31PM (#47923776)
I've used it. It's on par with OpenCode imho.
Re:GitHub Copilot is moving to usage-based billing on Monday April 27, 2026 @12:17PM (#47923563)
Doesn't GitHub get volume discounting they can pass on to their Copilot customers?
Re:Make Tmux Pretty and Usable on Monday April 13, 2026 @12:48PM (#47754741)
At some point I switched to "oh my tmux" which seems to cover most of the customisations I needed https://github.com/gpakosz/.tmux
Re:Shamelessness as a strategy (2019) on Tuesday August 19, 2025 @03:20AM (#44949087)
> at least 50% have no inner dialogue

I'm not sure I trust this. A quick search finds a Psychology Today article about it along with a single reference. I lazily suspect the result is based on some type of questionnaire.

The way "chain of thought" is used in LLMs to improve reasoning demonstrates, to me at least, the value of capturing intermediate steps in some rich compressed structure. Nothing beats that than words and sentences (see them or hear them). A lot of ideas can't be captured with just photos alone imho.

Re:That XOR Trick (2020) on Thursday July 03, 2025 @03:00AM (#44452394)
~Is there a simple proof for this type of identity?~

Actually I found something through Gemini based on the table mod 4 idea in previous post. Thanks.

I was looking forward to seeing 12 neatly stacked & boxed vacuum cleaners in a dimly lit corner of your shed ;-)

That said, thanks for sharing the emails/headers.

It's curious that Amazon hasn't flagged you for purchasing & reviewing multiple similar items in such a short span of time. I would imagine it would be quite easy to spot someone who's bought and reviewed 12 vacuum cleaners in a 2 or 3 year window.

I'm struggling to believe you have a dozen new vacuum cleaners in your shed. It's quite an extraordinary claim. Are you willing to share some evidence?
Re:Biomolecular shifts occur in our 40s and 60s on Friday June 27, 2025 @12:40AM (#44393755)
Probably the same study from this slightly older thread https://news.ycombinator.com/item?id=41247085
Re:The Windows Subsystem for Linux is now open source on Tuesday May 20, 2025 @03:17AM (#44038675)
I feel I'm in the same boat. For several months I've been thinking my GPU was on its way out (it's a pretty old 2080 now). My desktop freezes randomly. I can log into it remotely but all the usb devices stop working and the screen goes blank. l took a good look at the logs and noticed a bunch of pageflip timeouts followed by usb disconnections. I later discovered the Nvidia forums seem to have many recent complaints (with similar logs) especially around their latest drivers and Plasma + Wayland compatibility.
Re:Understanding the Origins and the Evolution of Vi and Vim on Saturday April 19, 2025 @02:55AM (#43734730)
In a, thankfully past, role working remotely for an antipodal organisation with badly configured networking; often, the lag between typing several characters on the keyboard and those characters appearing on my screen could be measured in seconds! Vi key bindings were a godsend as I could send commands (eg global search & edit etc) and be confident they were being applied before recieving a (delayed) visual update. I feel my experience seems to echo (albeit slightly) that of Bill Joy's vi development on a 300 baud modem!
Re:uv downloads overtake Poetry for Wagtail users on Monday March 17, 2025 @08:23AM (#43387734)
Yes I think I heard pypi started exposing dependency info so it makes sense to use that where possible.

The dependency resolution computation is an interesting problem. I think poetry at some point switched to mypyc for compilation (although I can't find conclusive evidence for it now). From my experience, mypyc doesn't really improve performance much compared to say writing a c/c++ extension. Perhaps offloading dependency resolution in poetry to a native c library is a way to match uv.

Re:uv downloads overtake Poetry for Wagtail users on Monday March 17, 2025 @08:14AM (#43387654)
Interesting - thanks. I use virtual environments and each has its own python version tied to it. Not sure if pyenv is useful to me but who knows perhaps one day. Good to know uv supports pyenv.
Re:uv downloads overtake Poetry for Wagtail users on Monday March 17, 2025 @06:49AM (#43387051)
I feel for me, at least one nice thing about poetry over uv is, that if I have an issue or feature extension, I can just write my own plugin in pure Python. With uv, I'd need to learn Rust in addition to python/c/c++/etc.

I wonder what it would take to get poetry on par with uv for those who are already switching to it? Poetry is definitely very slow downloading multiple versions of packages to determine dependencies (not sure how uv works around this?). Does uv have a better dependency checker algorithm?

Re:Why is zero plural? (2024) on Wednesday January 22, 2025 @03:05AM (#42790289)
All even numbers are plural ;-)
Re:Does veganism have an ultra-processing problem? on Saturday October 12, 2024 @01:52PM (#41820986)
The person I replied to had apparently already done that work. That's why I asked the question. I haven't made any judgements on which studies were relevant / irrelevant.
Re:Does veganism have an ultra-processing problem? on Saturday October 12, 2024 @01:19PM (#41820744)
I put the article through an SEO external link extractor and I saw many more external links to various studies from various organisations. Why are the other studies irrelevant?
You can use matplotlib's pgf backend for direct use in latex. That said, not sure I agree that's better for scientific viz. Perhaps in the past. Also tikz/pgf is much more fiddly and has it's limitations too (imho).
The following definitions are from Google (Oxford dictionary):

Websites and applications that enable users to create and share content or to participate in social networking. [1]

& Wikipedia:

... interactive technologies that facilitate the creation, sharing and aggregation of content (such as ideas, interests, and other forms of expression) amongst virtual communities and networks. [2]

Then, that would include HN, Discord and various online games imho. There's more about profiles / services in the Wikipedia page. That said, such definitions feel like they would also include emails / Discourse etc. Mailing lists feel like they could be considered part of "social media". Sending emails to family or close friends doesn't. So perhaps one needs to separate the platform from its various applications?

[1] https://www.google.com/search?q=social+media+definition [2] https://en.wikipedia.org/wiki/Social_media

It certainly feels like social media interactions should be restricted to older children. 13yo seems to be a common cutoff for administering one's own online accounts with various exceptions for many countries [1]. Perhaps social media should be restricted to those entering their penultimate year of Secondary / High school and be accompanied with some form of tuition / certification? (Along the lines of social media hygiene, online safety, local Internet law, reporting etc)

[1] https://support.google.com/accounts/answer/1350409

> Key et al. (10) found that the risk of diabetes in vegans was 47% lower than in meat-eaters. This was reduced to 1% after adjusting for BMI, implying that lower BMI explains the lower risk in vegans. In the economic model, we use the BMI unadjusted risk of diabetes to account for the reduced weight and lower BMI of vegans compared to meat-eaters, which are both risk factors associated with type 2 diabetes (33). [1]

Apparently, vegans have lower BMI and this reduces their risk of diabetes significantly. To your point about over-indulging (tending to obesity)..

> There is good evidence that plant-based diets are associated with a reduced risk of obesity. For example, Chiu et al. (31) found that each additional year of a vegan diet lowered the risk of obesity by 7% for Taiwanese adults, and similar results have been reported for the UK (34). However, our base case analysis excludes obesity from the model because we expect obesity to be a key risk factor overlapping with other disease outcomes captured elsewhere. This is especially true for type 2 diabetes, where it is likely that we would be double-counting any benefits associated with a plant-based diet. [1]

That all said, I realize now that the sourced paper is a preprint and hasn't been peer reviewed yet. It's also funded by the Vegan Society so might be considered bias by some.

[1] https://www.medrxiv.org/content/10.1101/2023.12.26.23300536v...

A recent article by The Office of Health Economics predicted that if everyone in England transitioned to a fully plant-based diet it could save the NHS £6.7 billion per year. This is due to a predicted 47% reduction in cases of type 2 diabetes, 18% reduction in cancer diagnoses, and smaller but significant reductions in the rates of coronary heart disease and cataracts.

Seems like an interesting data point. Original reference seems to come from:

https://www.ohe.org/insight/could-plant-based-diets-transfor...

Older »