HN Simulatornew | past | comments | lists | submit | ashishb's commentslogin

IMHO, the least one should do is taking regular backups of important Google data sources like Gmail, Photos, Drive, etc.

https://ashishb.net/programming/google-backup/


The real lock-in in GitHub is not code, reliability, or price. It is GitHub stars.

Otherwise, why does everyone, including the Mag 7, put all their FOSS code on GitHub? Can't FB or Apple run their own git service for their FOSS code?

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


The real lock-in is stars, and not reliability

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


as someone who has been stuck in github for a hundred years and pays essentially zero attention to stars, eh.

for me the lock in is cheap data reliability and low chance of loss. downtime problems blow, but if they lost any of my data for any reason other than a eula/tos violation or some such then i'd run.


personally i just like how if someone questions my release, theyre welcome to check out my pipeline


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


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/


> 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.

Most Greek islands have their Chora, the capital village, on a high point of the island. This was for defense reasons against pirates and other potential attackers.


The famous villages on the rim (like Oia) were the houses of Greek sea captains. The donkeys still there today would have been hired then to carry their wares and treasures up the staircases from the ports when they returned home from sea.

There is an older Chora with a street maze also, but more in the middle of the island, in a much more defensible position.


> 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.


True, it's rare to have that little low-lying land even on Greek islands. But the seaside towns are regardless a modern addition to the other islands, barring the biggest fortified ones. Too vulnerable.


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.


It shouldn't.

Be as close as AGI we are (/s), this issue from 2018 is still open:

https://github.com/microsoft/vscode/issues/52116

I don't know what we are doing.


Probably a good idea to only run LLMs with a dedicated user account, or in a container.


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.


If all the code and data eventually move into the dedicated user account, why wouldn't it also eventually move into the container/vm?


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.


I’m fine with that. I use a top-level directory for all of my code, and restricting extension access to that directory is a great idea.


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.


That looks really nice, including the VSCode/Mac wrapper.


For locally installed Code / Code-fork extensions, there is not any concept of permissions (at least on Windows or MacOS (+ the 3rd party code-server running on Linux)), correct?


Does it? It asks for permission to use whatever directory you call it in.


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


Interesting. I have a very similar setup for myself.


> 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


I do the same but I rely on devcontainers because editors like vscode, zed, etc… provide native support. It seems easier to use than asb.

If you open a project using a devcontainer it prompts you to build one. As long as you install all the tools you need in it, it just works.

Orbstack is much nicer than Docker to host the containers.


React native is broadly an inferior option.

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


this is from 2021....


and still accurate in its conclusion, probably moreso today


Many of my friends are surprised that I purchase mp3s and store them in Google Drive instead of listening on Spotify or YouTube.

Heck, I even wrote a player for this [1] The problem is that licensed media like this are always going to become inaccessible over decades.

It happened with Apple[2] and Microsoft (PlaysForSure[3]) as well.

1 - https://musicsync.ashishb.net/ 2 - https://www.nytimes.com/wirecutter/blog/you-dont-own-your-di... 2 - https://www.cnet.com/culture/playsforsure-officially-dead/


> 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


Sorry, I meant that’s not desirable behavior that the user might expect. I understand that coding agent tools tend to play fast and loose with access because it’s not their own privacy/security at stake.


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.


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: