Readit News logoReadit News
ashishb commented on Claude CLI deleted my home directory and wiped my Mac   old.reddit.com/r/ClaudeAI... · Posted by u/tamnd
ashishb · 6 days ago
I don't even give it full disk access.

I have written a tool to easily run the agents inside a container that mounts only the current directory.

ashishb commented on GraphQL: The enterprise honeymoon is over   johnjames.blog/posts/grap... · Posted by u/johnjames4214
throwaway613745 · 6 days ago
wut

we have a mixed graphql/REST api at $DAY_JOB and our delete mutations look almost identical to our REST DELETE endpoints.

TFA complains needing to define types (lol), but if you're doing REST endpoints you should be writing some kind of API specification for it (swagger?). So ultimately there isn't much of a difference. However, having your types directly on your schema is nicer than just bolting on a fragile openapi spec that will quickly become outdated when a dev forgets to update it when a parameter is added/removed/changed.

ashishb · 6 days ago
Generate the open API spec from the backend for internal applications.

No need to update manually. Further, you can prevent breaking changes to the spec using oasdiff

ashishb commented on GraphQL: The enterprise honeymoon is over   johnjames.blog/posts/grap... · Posted by u/johnjames4214
ashishb · 6 days ago
Same experience here.

Post-honeymoon, I returned to REST+Open API

https://ashishb.net/programming/openapi/

ashishb commented on Hashcards: A plain-text spaced repetition system   borretti.me/article/hashc... · Posted by u/thomascountz
ashishb · 6 days ago
Markdown is the final perfect form for every text (non-binary) content based system.

Every product will eventually use markdown as their content store.

ashishb commented on The real lock-in in GitHub is not the code, but the stars   ashishb.net/tech/github-s... · Posted by u/ashishb
inesranzo · 8 days ago
Close.

Stars can be faked and botted. It is not the lock in.

The lock in is the distribution of GitHub, (issues, outside contributions, sponsors, etc)

ashishb · 7 days ago
Gitlab offers all three as well
ashishb commented on The real lock-in in GitHub is not the code, but the stars   ashishb.net/tech/github-s... · Posted by u/ashishb
einsteinx2 · 8 days ago
Maybe I’m the weird one, but I’ve never cared about GitHub stars.

The real GitHub lock in has never been the code, that’s the fungible part. It’s the issues and discussions and everything else not included in a git clone.

ashishb · 8 days ago
Are you sure you never cared about it?

For example, how would you decide which FOSS vector database to use? Do you completely ignore GitHub Stars in the process?

ashishb commented on Denial of service and source code exposure in React Server Components   react.dev/blog/2025/12/11... · Posted by u/sangeeth96
0xblinq · 9 days ago
You're mixing programming languages with software architecture.
ashishb · 9 days ago
> You're mixing programming languages with software architecture.

Programming languages do lead to certain software architectures. These are independent but not orthogonal issues.

ashishb commented on Denial of service and source code exposure in React Server Components   react.dev/blog/2025/12/11... · Posted by u/sangeeth96
pier25 · 9 days ago
You can still have separate codebases for server and client in JS/TS...
ashishb · 9 days ago
> You can still have separate codebases for server and client in JS/TS...

Indeed, but unlike Go/Python (backend) and TS/JS (frontend), the separation is surmountable, and the push to "reuse" is high.

ashishb commented on Denial of service and source code exposure in React Server Components   react.dev/blog/2025/12/11... · Posted by u/sangeeth96
rounce · 9 days ago
> It happened with Next.js as well

It's the same vulnerabilities because Next uses the vulnerable parts of React.

Your rational is quite poor as I can write an isomorphic web app in C or Rust or Go and run parts in the browser, what then? Look, many of us also strongly dislike JavaScript but generally that distaste is based on its actual shortcomings and failures, you don't have to invent new ones plenty already exist.

ashishb · 9 days ago
> I can write an isomorphic web app in C or Rust or Go and run parts in the browser, what then?

If you have a single codebase for Go-based code running in an untrusted browser (the "toilet") and a trusted backend (the "kitchen"), then the same contamination is highly likely.

u/ashishb

KarmaCake day815December 26, 2012
About
Software engineer & blogger - https://ashishb.net/about
View Original