Readit News logoReadit News
mbarneyme commented on Claude Code 2.0   npmjs.com/package/@anthro... · Posted by u/polyrand
jspdown · 5 months ago
Do you mind telling us a bit more? I never used OpenCode, what makes it better in your opinion?
mbarneyme · 5 months ago
I'm consistently hitting weird bugs with opencode, like escape codes not being handled correctly so the tui output looks awful, or it hanging on the first startup. Maybe after they migrate to opentui it'll be better

I do like the model selection with opencode though

mbarneyme commented on JSR Is Not Another Package Manager   deno.com/blog/jsr-is-not-... · Posted by u/sbt567
crabmusket · 2 years ago
Does JSDoc even have a type checking system? The point of TS is that is actually does something with your declared types. JSDoc is nice... for docs being interpreted by a human. But unless those are used to create red squigglies then it's kind of arbitrary.

I've used JSDoc with TS's type syntax and typechecker in JS files. Which is fine - I find it subjectively uglier but I know some prefer it. But it's still TS that's doing the actual work of determining if all my annotations are compatible when the rubber hits the road.

mbarneyme · 2 years ago
JSDoc provides the exact same level of type safety as TypeScript, because the TypeScript Language Server/CLI themselves are what does the type checking. Using JSDoc removes the need to transpile your code before executing it. You still want to type-check your code (with a `tsc --noEmit` or similar) in CI, just like you'd run unit tests/a linter/etc.
mbarneyme commented on Launch HN: Infisical (YC W23) – Open-source secrets manager for developers    · Posted by u/vmatsiiako
vmatsiiako · 3 years ago
We provide all the main functionality completely for free under the MIT license. What this means is that all the integrations (Docker, AWS, Vercel, Kubernetes, Terraform, etc) are available completely to everyone. Next to that, all the features related to secret sharing, and security are also available under MIT.

ee is only reserved for some features that are (mostly) needed by enterprises (e.g., audit logs, sso, advanced access controls). This helps us get the financial means to also maintain the free ope-source product better.

mbarneyme · 3 years ago
mbarneyme commented on Terraform Provider for Spotify   github.com/conradludgate/... · Posted by u/marinesebastian
manojlds · 4 years ago
That's how data sources work for serious uses as well.

For example - get AWS AMI where we can pin it or let it be latest.

> the spirit of immutable infrastructure

Immutable means changes recreate the resources. Not that that there won't be any changes. Mutable infra is where we keep patching the same resource and potentially end up in a state where we are not able to recreate it.

mbarneyme · 4 years ago
I think they mean "deterministic," not "immutable"
mbarneyme commented on Dura is a background process that watches your Git repositories   github.com/tkellogg/dura... · Posted by u/todsacerdoti
dilap · 4 years ago
Along similar lines, I've adopted a hyper-frequent commit pattern in git. I do a bunch of meaningless micro-commits as I'm making progress, and then rewrite them all into one or two meanginful commits once I've reached a working state of whatever I was trying to do.

I find it's helpful for not losing work / easily backing up if as I'm going along I realize I want to change approach.

(For the micro commit I have a git command "git cam" that just commits all changes with the message "nt". Then once I'm ready to do a "real commit", I have "git wip" which rolls back all the nt commits but leaves them in checkout; then I can make one or two "real" commits.)

I wonder if dura would be even better, or if the commit frequency would end up being too fine-grained and obscure?

mbarneyme · 4 years ago
Do you have those commands handy by chance? :D

Deleted Comment

u/mbarneyme

KarmaCake day31October 16, 2019View Original