Recent submissions

Comment · 7 months ago
Comment · 7 months ago
Thanks -

If its a straight error, then the error response is returned and we're all happy!

If the handler panics, the server crashes, so that's something I'm off to fix now!

Thanks!!!!

Comment · 7 months ago
I've been thinking about this comment for a few hours now! I love it! I like building VS Code extensions and realized quickly the benefit of writing the logic in an LSP but I would never have thought to do the SSH config thing you describe.

I've now started a Makefile lsp since you've inspired me to think about the painful scenarios that LSP can solve if I think a bit wider.

Cheers for that!!

Comment · 7 months ago
I actually started out using that. I wanted a debug UI to track messages which was the major driver in creating my own tbh
Comment · 7 months ago
I disagree - you should have docstring and I don't think this is worse by having it... its just not ideal
Comment · 7 months ago
I wrote this for the infracost LSP so I could write multiple IDE extensions. Its not even really a language server, its just a neat way to parse the Terraform/Cloudformation and return diagnostics.

Language servers are cool!

Comment · 7 months ago
thanks!

Thankfully, I finally had a reason to build an LSP (infracost LSP), so it motivated this and I'm really pleased with it

Comment · 7 months ago
Yeah some times godoc comments look crap by necessity
Comment · 2 years ago
This is effectively what Infracost Cloud is (https://www.infracost.io/)

It adds things like management of guardrails and policies that can be maintained by a finops role, or engineering manager. PRs can block or notify if thresholds are going to be breached by a specific PR.

Comment · 2 years ago
To a certain extent I agree - I've worked on projects where a resource amounts to a rounding error in the overall cloud bill; for many organizations, cost is an important NFR for a project.

Going off the other threads of this post, how much engineers should know or care about billing seems to be open for debate; I think an engineer needs to appreciate that often cost is one of the many trade-offs that need to be accounted for

Comment · 2 years ago
I just gave this a try with https://github.com/eksctl-io/eksctl/blob/main/examples/01-si...

ChatGPT gave me a decent chuck of terraform and running Infracost against it gave me a $515 monthly cost.

If you go to the settings of the plugin and get the absolute path of infracost binary then run

infracost breakdown --path .

in the dir with the terraform, does it give you a breakdown?

Comment · 2 years ago
Hey Itay, thanks, and thanks for commenting, great to hear from you!!

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton