News for hackers. Stuff that matters.

iwwr

Show HN: Bash sandbox script for Claude and codex CLI

https://github.com/e6qu/sclaude

I've been working on and off on this project to have a reasonably easy way to run a docker sandbox on my machine. Recently with claude "auto mode" not working as "automatically" as before I resurrected this. Hopefully it is of use to you too.Usage: sclaude / scodex just like you'd call claude or codex.To update: sclaude update (updates the script and tooling)It runs locally in a...

( Read More... | no comments | on HN )
Thanks for the clarification!
AFAIK continuously welded tracks (like those used in high speed rail) are also slightly tensioned, so a break in a single point could make it look like a whole section of track is missing, as tension is released.
Re:Kimi K2 1T model runs on 2 512GB M3 Ultras on Sunday December 14, 2025 @02:11PM (#46265832)
What is it using for interconnect?
Each step in that chain is harder to do and more computationally expensive.
So what does it do?
Re:The 'Invisibility Cloak' – Slash-Proc Magic on Friday November 08, 2024 @10:36AM (#42087624)
Could you use a unionfs like overlay2 for more advanced pid hiding?
Re:Unlocking the Power of JSON Patch on Friday October 18, 2024 @12:25PM (#41880913)
What about auto-formatting the json and sorting all keys, to create some kind of canonical form? Then we can use standard textual patch.
Re:Show HN: GitOps Template for Kubernetes on Tuesday September 10, 2024 @05:08PM (#41505592)
Genuinely interested. What problems did you have dealing with the standard reconciliation mechanism provided by ArgoCD and by k8s itself. I understand the advantage of the operator approach, but it might be hard to show the state in ArgoCD and somewhat breaks the idea of gitops.

Can we benefit your project in a more limited but agentless way? Limiting the types and CRDs we allow in k8s makes operations better, especially with the aggressive upgrade cycle that k8s already imposes.

Re:Show HN: GitOps Template for Kubernetes on Tuesday September 10, 2024 @02:40PM (#41504125)
Why do you need an in-cluster operator/pod?
Re:Who uses Accept-Language header? on Tuesday September 10, 2024 @08:53AM (#41500292)
This is a problem for me as a language learner on mobile. I set a keyboard with (for example) Russian, and suddenly the world looks Russian, even though I am far from comfortable in it yet. I wish there were a way for the browser to ignore some system languages. This is worse for apps because I also get served with localised versions, where I need to uninstall, remove system language and re-install.
Re:Jd – JSON Diff and Patch on Monday September 09, 2024 @05:40AM (#41486842)
Is this useful for large json files, on the order of GiB?
Deep down in the sun photons are absorbed almost as soon as they are created. In a sense the photons at the surface of the sun are the result of nuclear reactions thousands of years back. However neutrinos escape pretty fast and so can be used to gauge the status of nuclear reactions now.
Or maybe switch to an operating system that isn't a security dumpster fire?
In some restricted environments (e.g. containers in CI, build servers or AWS Lambda) you may have limited disk space or no write access at all, so it is useful to have a tool that can stream to memory while decompressing on the fly, and discarding what you don't need.
Re:Google Assistant will lose 17 features in the coming weeks on Saturday January 13, 2024 @07:39AM (#38979424)
> Who wants to send an email through the smart speaker?

People of limited mobility, without working limbs, holding babies, cooking etc.

The ancient Roman concrete was very different from modern: it was more thick, could not ne poured etc. But more importantly, it had no rebar, which is the main thing that corrodes over time. Ancient buildings could use molten lead to join together pieces of stone, but steel could not be made in the volume needed for reinforced structures.
Re:Aerogel Core Fission Fragment Rocket Engine on Sunday November 05, 2023 @06:37AM (#38150238)
Thanks!

So basically the fragments are escaping through the aerogel.

Re:Aerogel Core Fission Fragment Rocket Engine on Saturday November 04, 2023 @10:44AM (#38141453)
But why Aerogel? Is it easily compressible?
Re:Solving the Expression Problem in Go on Saturday September 16, 2023 @05:30AM (#37533309)
> The goal is to define a datatype by cases, where one can add new cases to the datatype and new functions over the datatype, without recompiling existing code, and while retaining static type safety (e.g., no casts).

Isn't this made moot by the prevalence of static linking or fat binaries in go-land?

Re:OpenTF Repository is now Public on Wednesday September 06, 2023 @07:31AM (#37403625)
It's far easier for a project with many contributors. Plus, PRs and branches are cheap.
Re:Unexpected downsides of UUID keys in PostgreSQL on Thursday June 22, 2023 @08:05AM (#36430853)
Sequential serial numbers reveal information. See: https://en.m.wikipedia.org/wiki/German_tank_problem
Nuclear appears to be the only realistic contender. But the mission architecture of Artemis goes around the problem by having only short stays on the lunar surface.

Even with nuclear, it can be far safer: small reactors need less containment. There is no risk of fallout without an atmosphere, and no ground water to contaminate.

Still, relying too much on it and failing (melting down) will put in danger the whole human space program. For low-power unmanned applications the RTG remains unbeatable.

Could be that content creation tools are hard to do and the need for moderation. Second Life had a problem of easily accessible penises, while Minecraft servers have an issue with swasticas.
Some call it "chaos", others might call it "badly written software".
Re:DRY is an over-rated programming principle? on Thursday July 07, 2022 @11:57AM (#32015671)
Re:Ask HN: How do you approach writing documents? on Monday May 02, 2022 @04:33PM (#31240541)
Maybe start scaffolding first. Split up the docs into standard sections: who this is for, what it intends to describe, level of detail (marketing, executive summary, runbook). Then fill in the sections at the level needed.
That one had some fundamental problems due to the choice of graphite moderator. Another selling point: the ability to refuel while the plant is running also did not pan out. In the end these reactors had somewhere around 50% capacity factor, compared to more mainstream designs that used water (light or heavy) at 90%. They are also being decommissioned early, again, due to graphite cracking over time. That said, it's not unfeasible to imagine these problems being ironed out in the end, but rollout coincided with the Thatcher Era, which deprioritized industrial developmend and fundamental R&D. It was not a good deal to buy one of these 1st gen UK reactors, compared to a GE/Westinghouse LWR/HWR.
Re:Uranus should be NASA’s top planetary target – report on Wednesday April 20, 2022 @08:45AM (#31096045)
Besides just cost, the engineering constraints can be lower by making designs less complex and easier to do, also, faster. Free delta-v or smaller size constraints, as well as more predictible pricing. Or, 2 for the price of one, or, split up instruments on multiple spacecraft. Reusable spacecraft are a little like that :)
Re:Ask HN: Inspiring hacker talks and presentations? on Sunday February 06, 2022 @07:48PM (#30238757)
Rich Hickey - Hammock-driven development: https://m.youtube.com/watch?v=f84n5oFoZBc

Brett Victor - Inventing on principle: https://m.youtube.com/watch?v=8QiPFmIMxFc

Programming is terrible: https://m.youtube.com/watch?v=csyL9EC0S0c

Dave Beazely - Python concurrency from the ground up (applicable to languages in general, with generator and corourine functionality) https://m.youtube.com/watch?v=MCs5OvhV9S4

Functional programming, with birds: https://m.youtube.com/watch?v=6BnVo7EHO_8&t=1009s

Short and classic: Wat https://www.destroyallsoftware.com/talks/wat

Older »