Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cube2222
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
80 ms
·
961.
▲
by
cube2222
5y ago
Sure there is. The cost of emitting a ton of carbon should ideally be the cost of capturing a ton of carbon. Managed in a free market kind of way. Same way you pay i.e. for electricity. If you can get somebody to capture it for 1$, well, go
962.
▲
by
cube2222
5y ago
I've been using copilot to write markdown files for a while already and it's really useful. Like the Gmail/Google docs autocomplete but way better. It's also nice that it uses the structure of the current file and (I thi
963.
▲
by
cube2222
5y ago
Hey there! OctoSQL author here. I've released OctoSQL v0.4.0 recently[0] which is a grand rewrite and is 2-3 orders of magnitude faster than OctoSQL was before. It's also much more robust overall with static typing and the plugin
964.
▲
by
cube2222
5y ago
Go does this well. It chooses the minimum viable version that satisfies the constraints for each package. The minor security updates are solved well by periodically running security linters and scanners. There's even a recent GitHub fe
965.
▲
by
cube2222
5y ago
Not sure if you've gone through the README - especially the first few paragraphs should help you get an intuition on how to structure nested jql queries. Basically, you can think about the query as a composition of many functions which
966.
▲
by
cube2222
5y ago
I've actually just gone ahead and added a way to do this - the zip function - in the v0.2.0 release. The relevant jql snippet to solve this in the general case now is: (pipe (zip (keys) ((keys))) ((keys)
967.
▲
by
cube2222
5y ago
For the general case of multiple keys and values - no. It sounds reasonable, though, so I'll think about whether to add an entries function or a map function that would allow doing this in a simple way. For the special case you wrote a
968.
▲
by
cube2222
5y ago
Had the same experience. That's why I've written jql[0], which puts a uniform lispy spin on CLI JSON processing. I now use it almost exclusively instead of jq. Check it out if you're looking for alternatives. And by the way,
969.
▲
by
cube2222
5y ago
Discussion from yesterday: https://news.ycombinator.com/item?id=29828419
970.
▲
by
cube2222
5y ago
I'm one of the people always critiquing the use of function coloring[0] to do async programming in most languages and defending the Go model as The Way. However, I totally get why Rust chose to go down that path. It's the way to g
971.
▲
by
cube2222
5y ago
I recommend using Hugo for the site generation (there's lots of themes, it's customizable, you can write in markdown, it has WordPress import and it's very easy to get started) and hosting the files on GitHub pages.
972.
▲
by
cube2222
5y ago
Spacelift | Remote | Europe | Full-time | Senior Software Engineer | $80-120k We're a VC-funded startup building an automation platform for Infrastructure-as-Code, adding a Policy-as-Code layer above it, in order to make IaC usable in
973.
▲
by
cube2222
5y ago
The most recent 2 major releases get the fix in case of security issues[0]. This means you can be up to 6 months behind the newest release to never be forced to do a major version update under time pressure. [0]: https://github.co
974.
▲
by
cube2222
5y ago
I admit I wasn't bit by these changes and had a much better experience overall. Thank you for the long write-up. However, I think you only mentioned changes in major releases, whereas in this scenario (vulnerability fix) a minor releas
975.
▲
by
cube2222
5y ago
> Yeah this also means that you need to update your compiler when there's a vulnerability instead of just a single point release in a library. Has updating the Go compiler actually been an issue for you in the past? To me, with Go&#
976.
▲
by
cube2222
5y ago
Seems fairly standard for Go. You mentioned requests - the Go net/http library is widely used, even though it's in the standard library. It didn't languish, it didn't die. The interfaces are also used in most 3rd party l
977.
▲
by
cube2222
5y ago
> the number of applications that dont need network access these days is as good as zero You can still have all outgoing traffic be sent through a proxy that denies any target that is not explicitly on the allowlist.
978.
▲
by
cube2222
5y ago
Obsidian very recently added this too, and it works great.
979.
▲
by
cube2222
5y ago
For those interested to learn more about Go's handling of async, I wrote a comment a while ago where I describe why I too think the Go model is superior: https://news.ycombinator.com/item?id=27545031 EDIT: Superior for
980.
▲
by
cube2222
5y ago
I share your worries, but I think it will be just fine. There are two reasons I have for that: First, the Go community mainly comprises people who love simplicity and got accustomed to it. I imagine most people who want to go overboard with
981.
▲
by
cube2222
5y ago
Yes, in my opinion oftentimes it is. There is a reason why even in mathematics people like to operate on concrete examples to get an intuition. For many, concrete is much easier to understand than abstract. That's the less important po
982.
▲
by
cube2222
5y ago
Agreed. I wrote a bunch of Rust, Scala, Haskell, but I still greatly prefer Go, even without generics. I am very happy with the generic container libraries I'll get with generics, but I hope people won't try to be too clever (as t
983.
▲
by
cube2222
5y ago
I haven't read much into it, but since it's Raft, it's most certainly executing all writes/updates as well as consistent reads against a single leader node. All changes to the database would then be propagated through Ra
984.
▲
by
cube2222
5y ago
CDK is quite great. My only gripe I have with it: even though you can synthesize raw CloudFormation templates from a CDK project using `cdk synth`, you can't upload the artifacts without running `cdk deploy` (so you can't actually
985.
▲
by
cube2222
5y ago
Spacelift | Remote | Europe | Full-time | Senior Software Engineer | $80-120k We're a VC-funded startup building an automation platform for Infrastructure-as-Code, adding a Policy-as-Code layer above it, in order to make IaC usable in
986.
▲
by
cube2222
5y ago
Agreed. I'd specifically recommend their Gallery Design TV's. Everything the parent mentioned + they're of a uniform thickness everywhere, and are specifically designed to be hung on a wall without any gaps. Makes them take u
987.
▲
by
cube2222
5y ago
> (I do find go's repository-based approach quite frustrating to work with when forking dependencies but at least it's straight-forward) If I understand your point correctly, then that's a non-issue since modules are here.
988.
▲
by
cube2222
5y ago
They don't implicitly convert (though you can still use literals to create them). So yes, specifying Ok and Error string types should hypothetically work for this.
989.
▲
Creating a Flexible Backoffice Tool in a Technical Company Using Slack
(spacelift.io)
2 points
by
cube2222
5y ago
|
0 comments
990.
▲
by
cube2222
5y ago
Spacelift | Remote | Europe | Full-time | Senior Software Engineer | $80-120k We're a VC-funded startup building an automation platform for Infrastructure-as-Code, adding a Policy-as-Code layer above it, in order to make IaC usable in
More ›