News for hackers. Stuff that matters.

thehours

In this vein, Anthropic's sandbox-runtime [0] has struck a good balance between security and convenience. Simple config, filesystem and network restrictions, and credential masking make me comfortable running Pi in YOLO mode.

Though I'm often running into frustrating (albeit intentional) sandbox restrictions with common workflows e.g. xcode/swift and Docker access.

Would love suggestions for how to give agents access to those kinds of tooling inside the sandbox, either with srt or an alternative (with similar convenience characteristics).

[0] https://github.com/anthropics/sandbox-runtime

> PS: Claude archives old conversations on your computer after 30days

Does adding this to your Claude settings.json not work anymore?

{ "cleanupPeriodDays": 99999 }

Re:Pi's Minimalism Is Its Advantage on Wednesday August 05, 2026 @05:41AM (#49180558)
I've been satisfied with using Pi inside of srt [0].

I launch with `srt pi` and get file system and network isolation. There is a seemingly infinite risk surface area to protect, but I think does a reasonable job of balancing security and convenience.

I've also heard good things about nono [1] from colleagues, but I haven't personally tried it out yet.

[0] https://github.com/anthropic-experimental/sandbox-runtime

[1] https://github.com/nolabs-ai/nono

Re:Pi's Minimalism Is Its Advantage on Wednesday August 05, 2026 @02:38AM (#49179325)
Doesn’t using the Anthropic subscription this way get charged as extra usage, and thus effectively billed at API rates?
Re:The Short Leash AI Coding Method for Beating Fable on Friday July 03, 2026 @06:55AM (#48773515)
> The first that will be replaced are going to be those that are using AI mindlessly, because at that point, what are you besides a very expensive human LLM interface?

I think this archetype has a good chance of surviving. Not because of merit, but because they will be the only ones able and willing to work on projects taken over by AI slop.

I'm very much aligned with everything else you said.

Only tangentially related, but does anyone know if it is possible to ‘paste’ images to an agent harness running inside a docker container?

My current workaround is to paste it inside the working directory on the host machine, then @ reference it, but would be nice to streamline that workflow.

Re:Middle schooler finds coin from Troy in Berlin on Friday April 17, 2026 @12:24PM (#47807636)
Alexander the Great visited it in 334 BC: https://greekreporter.com/2025/09/07/alexander-the-great-vis...

Edit: this was also mentioned in the article

Re:Don't YOLO your file system on Saturday March 28, 2026 @03:37AM (#47552424)
I added this to `~/.claude/settings.json`:

"env": { "CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR": "1" },

> Working directory persists across commands. Set CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR=1 to reset to the project directory after each command.

It reduces one problem - getting lost - but it trades it off for more complex commands on average since it has to specify the full path and/or `cd &&` most of the time.

[0] https://code.claude.com/docs/en/tools-reference#bash-tool-be...

Update: I gave it a try and it does exactly what I hoped. However one (minor) annoyance I immediately realized was that with `hex` enabled I will get this warning whenever I close the terminal window:

> The terminal still has a running process. If you close the terminal the process will be killed.

Hopefully there is a workaround for this (I'm using then Ghostty emulator).

The PTY proxy looks pretty neat! Excited to give that a try.

Losing some of the scrollback was a minor nuisance that I kind of lived with until now.

Sony WH1000XM5 headphones are my daily driver, mainly Zoom calls and music. I'm generally pretty happy with them, but one big gripe I have is when I'm on a call and briefly take off my headphones to e.g. chat with someone in the room, there is like a 90% chance they stop working and I have to reconnect them.

It happens so often I even wrote a script to switch to the MacBook internal speakers then back to the headphones.

I've used wired headphones before (and the Sony even has a wired option), but I didn't like how the cord was constantly getting the the way of my arms.

edit: Another big gripe is with the Bluetooth codec itself, and how the quality changes depending on if the mic is active.

How are investments modeled in this system? e.g I buy $100 of an index fund which can fluctuate in value.
Re:Ask HN: How can I get better at using AI for programming? on Monday December 15, 2025 @09:00AM (#46274631)
I use the Raycast + Whisper Dictation. I don't think there is anything novel about it, but it integrates nicely into my workflow.

My main gripe is when the recording window loses focus, I haven't found a way to bring it back and continue the recorded session. So occasionally I have to start from scratch, which is particularly annoying if it happens during a long-winded brain dump.

Re:Guideline has been acquired by Gusto on Tuesday November 04, 2025 @02:06AM (#45808177)
I worked for a company that went bankrupt. They ended up taking several thousand dollars out of my account to cover IIRC unpaid fees to the provider.
Re:You Are How You Act on Monday October 27, 2025 @11:09AM (#45721869)
This reminded me of this passage from Anxiety Is the Dizziness of Freedom by Ted Chiang:

> None of us are saints, but we can all try to be better. Each time you do something generous, you're shaping yourself into someone who's more likely to be generous next time, and that matters.

Re:SQL Anti-Patterns You Should Avoid on Saturday October 18, 2025 @02:03PM (#45629242)
> Mishandling Excessive Case When Statements

User Defined Functions (UDFs) are another option to consolidate the logic in one place.

> Using Functions on Indexed Columns

In other words, the query is not sargable [0]

> Overusing DISTINCT to “Fix” Duplicates

Orthogonal to author's point about dealing with fanout from joins, I'm a fan of using something like this for 'de-duping' records that aren't exact matches in order to conform the output to the table grain:

    ROW_NUMBER() OVER (PARTITION BY <grain> ORDER BY <deterministic sort>) = 1
Some database engines have QUALIFY [1], which lends itself to a fairly clean query.

[0] https://en.wikipedia.org/wiki/Sargable

[1] https://docs.aws.amazon.com/redshift/latest/dg/r_QUALIFY_cla...

I have an iPhone SE 2nd Generation. After a recent repair I was forced to upgrade to iOS 26.

My biggest gripe is the buggy keyboard. It shrinks a bit horizontally every time I open it. When using a mobile browser (I tested on a few), website footers and similar elements will get stuck above where the top of the keyboard would normally be, as if there was an invisible keyboard.

These tweaks to minimize the glass effect go a long way, such that I'm not as put off by the overall design as I was in its stock configuration.

I was hoping for more of the author’s own perspective over those ninety years. Instead, it read more like a stitching project of other people's ideas. In particular the barrage of quote fragments disrupted the flow and made it harder for me to engage with the main point of each section.
I also use stow on MacOS and have been pretty happy with it.

> […]although macOS will regularly replace your symlinks with copies of the destination files

I’m curious about this claim from the article - to what extent is this true?

I really liked the display showing me climb the leaderboard in realtime. I found it particularly motivating, albeit a bit distracting for a game where I need to keep my eyes elsewhere :)
FYI this autoplays full screen video when I visit on iOS + Firefox.

Edit: then switches into dark mode after a lag of a few seconds

Re:Binary Wordle on Wednesday June 04, 2025 @12:11AM (#44177149)
Feedback: I'm unable to input with keyboard after typing anything but '0' until a full refresh (and selecting the input area with mouse).
Re:Ask HN: Is Slack Down? on Monday May 12, 2025 @06:38PM (#43968122)
Yes, briefly for me. I also lost access to Fastmail.
Re:Pixel is a unit of length and area on Wednesday April 23, 2025 @04:24AM (#43769804)
Reminds me of this Numberphile w/ Cliff Stoll [1]: The Nescafé Equation (43 coffee beans)

[1] https://youtu.be/3V84Bi-mzQM

Re:Tech terms I was pronouncing wrong on Friday March 21, 2025 @04:53PM (#43440718)
The 'correct' way to pronounce NumPy is 'num-pie', but my brain delights in reading it as 'lumpy' with a leading 'n'.
Re:Advent of Code 2024 in pure SQL on Thursday January 02, 2025 @09:18PM (#42581528)
Does 'pure SQL' have a specific definition (or reference spec)? The author doesn't mention it, except to say he tested it across Umbra, Postgres, and DuckDB. Even then, some days weren't 'supported by DuckDB due to a missing xor operator'.
Re:Mouseless – fast mouse control with the keyboard on Friday December 13, 2024 @11:24AM (#42409954)
That website crashes my browser on iOS (Orion fwiw). I recall this being an issue the last time I checked it out 6-12 months ago.

Hard pressed to think of any other sites that I’ve seen this issue with, super curious about what is actually happening there.

Re:Mouseless – fast mouse control with the keyboard on Thursday December 12, 2024 @11:27AM (#42400570)
Other options for mouseless navigation on MacOS:

- [1] warpd - uses grid

- [2] Scoot - uses grid

- [3] Shortcat - uses accessibility ui

- [4] Superkey - uses text ocr

[1] https://github.com/rvaiya/warpd

[2] https://github.com/mjrusso/scoot

[3] https://shortcat.app

[4] https://superkey.app

Re:7 Databases in 7 Weeks for 2025 on Thursday December 05, 2024 @05:25PM (#42333554)
It's mostly a challenge I set for myself to see how far I could get using SQL! I've done the past couple years in Python and just wanted to change it up.

So far parsing the inputs has not been nearly as much of a hassle as I thought. I really like how DuckDB supports directly selecting from files (e.g. `select * from 'file.csv'`). I thought I was going to be spending more time creating schemas, running `copy`, etc.

Overall pretty nice quality of life experience so far, even if it is only to mess around with a few puzzles.

Re:7 Databases in 7 Weeks for 2025 on Thursday December 05, 2024 @03:30PM (#42332420)
I'm using DuckDB for the first time for this year's Advent of Code and it's been a delightful experience so far. I was looking for something simple to set up and had more advanced functionality than what SQLite supports.

Older »