Better HN
topnewbestaskshowjobs
Log inSign up

ashishb

1,092 karma · joined Dec 26, 2012 (13y ago) · 652 submissions

Software engineer & blogger - https://ashishb.net/about
Submissions

comment 2w ago · link · parent

Everybody claims to not care about GitHub stars even though there are tons of websites for buying them.

comment 2w ago · link · parent

The real lock-in is stars, and not reliability

https://ashishb.net/tech/github-stars/

comment 2w ago · link · parent

> Most Greek islands have their Chora, the capital village, on a high point of the island.

Well, others are mostly at sea level, with only some high points. Thira has very little land at sea level.

comment 2w ago · link · parent

Everyone goes for the blue domes.

The real historic sites can be seen via

  - taking a boat tour to the dead volcano "Caldera"
  - visiting the Prehistoric ruins at Akrotiri (south side of the island)
The weirdest thing about this island is that everything is built on a caldera rim, much higher than sea level. Extremely unusual for an island.

https://ashishb.net/travel/greece/santorini/

comment 3w ago · link · parent

It is good but you still don't want long running background tasks.

When you run a linter, for example, then it should stop executing cider once it stops. And not be able to spawn long-running background tasks for infiltration.

comment 3w ago · link · parent

Don't mount all your code every time.

E.g. when working on a frontend only project, you don't need to mount the backend directory and vice-versa. This limits the attack radius.

comment 3w ago · link · parent

Dedicated user account does not work as eventually all your code and data will move under that.

I run it in an ephemeral container sandbox (https://github.com/ashishb/amazing-sandbox) which has access to the current working directory and it drastically limits the attack radius.

comment 3w ago · link · parent

The extensions does not need full access to the laptop.

When you are invited to someone's living room, you don't get to access their bedroom.

The idea that Claude should have full data access to the home directory is wrong. And as an industry leader, Claude has set a bad precedence.

comment 1mo ago · link · parent

Exactly, that's what I do, I even up end up writing my own for this purpose - https://github.com/ashishb/amazing-sandbox

10.

How to back up your Google data(ashishb.net ↗)

3 points · by ashishb · 1mo ago · discuss

comment 1mo ago · link · parent

Yeah, dev containers indeed has better integrations.

It is fairly useless if you want to run a random tool like a linter on a random file(s)

comment 1mo ago · link · parent

> Granting terminal full disk access grants arbitrary scripts full disk access.

Indeed, I run all dev tools including coding agents inside sandbox now

https://github.com/ashishb/amazing-sandbox

13.

Communicating schwa is impossible in written English(ashishb.net ↗)

7 points · by ashishb · 2mo ago · discuss

comment 2mo ago · link · parent

React native is broadly an inferior option.

LLMs made it way worse https://ashishb.net/tech/react-native/

comment 4mo ago · link · parent

The archaic model where every tool gets full access to your home directory was never designed for the scenario where a single npm install will install and execute 100s of packages written by various authors.

One should sandbox all npm command executions.

https://github.com/ashishb/amazing-sandbox

comment 4mo ago · link · parent

This is true for all CLI tools on Mac and Linux (and other operating systems from that era).

Historically, everything you ran was trustworthy.

Android and iOS were invented in an era that does not allow this because the risks became evident by then.

comment 4mo ago · link · parent

> The repo you’re working on, sure. But all files?

Yes, any tool, including any coding agent, has access to all files $USER has access to.

Sandbox it explicitly to give access to only the current directory - https://github.com/ashishb/amazing-sandbox

12345
22