Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cube2222
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
64 ms
·
871.
▲
Ask HN: Scaling and Measuring Engineering Productivity
2 points
by
cube2222
4y ago
|
0 comments
872.
▲
by
cube2222
4y 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
873.
▲
by
cube2222
4y ago
Fixed both, thanks!
874.
▲
GitHub Actions was having an outage
(githubstatus.com)
82 points
by
cube2222
4y ago
|
64 comments
875.
▲
by
cube2222
4y ago
Please judge for yourself in this asciinema I've just uploaded whether it's enough of a warning: https://asciinema.org/a/eWQsyXQKi1fmithyTekAD5fWS
876.
▲
by
cube2222
4y ago
I recommend adding telemetry to your project for this (and I know a lot of people feel strongly about this, so I'll add: with a very easy way of disabling it). In OctoSQL[0] I'm literally just sending JSON files with coarse inform
877.
▲
by
cube2222
4y ago
Really nice blog post! Especially because it actually builds something that works in the end, while keeping stuff fairly simple. Another approach could be using PostgreSQL as a stateless scalable query execution engine, while stubbing out t
878.
▲
by
cube2222
4y ago
Hey, two main use cases: 1. Find a trace where there is a span of type A with tag `xyz: true`, that has a direct child span of type B with tag `abc: 42`, that has at least one non-direct child span of type C with tag `lmn: forty-two`. So ba
879.
▲
by
cube2222
4y ago
That's the point, it's not the same messages. Each error wrap has a situation-dependent wrapping message, different for each wrapped error in the function. Copilot is great at writing the whole `if err != nil`, including context-s
880.
▲
by
cube2222
4y ago
> You don't need something as powerful as Copilot for that kind of boilerplate though, there have been "snippets" / macro things for that for forever. I'm not aware of anything else that writes good wrapping erro
881.
▲
by
cube2222
4y ago
Looks very nice! Have built something similar by forking the Datadog tracing library to also send each Span as a JSON to Kinesis Firehose, and then to S3. From there you can easily query it using AWS Glue (for schema inference) + Athena (as
882.
▲
by
cube2222
4y ago
I think we're talking about different kinds of code generation. I'm mostly talking about boilerplate like writing `if err != nil` with a nice wrapping message every other line. Copilot will just write 2-3 lines at a time. That&#x
883.
▲
by
cube2222
4y ago
Fortunately, we now have Copilot to write it. I'm not kidding. Go is at a very nice verbosity level as far as reading code goes, but writing it is indeed tedious occasionally. However, in practice, Copilot is able to handle those bits
884.
▲
by
cube2222
4y ago
Frankly, having used Go for years, I started using generics right after they were released and I'm very happy with them so far. Sure, the performance characteristics could be improved, but other than that they solve all my main pain po
885.
▲
by
cube2222
4y ago
If I understood the implementation correctly, as long as you use value types instead of pointer/interface types for your generic type parameters, you'll basically get monomorphization.
886.
▲
by
cube2222
4y ago
Just a caveat, not sure if it matters in practice, but this benchmark is using very old versions of many languages it's comparing (5 year old ones).
887.
▲
by
cube2222
4y ago
Not that it's a great solution, but there's https://github.com/BurntSushi/go-sumtype for (2).
888.
▲
Use the M1 Mac GPU with Go
(adrianhesketh.com)
2 points
by
cube2222
4y ago
|
0 comments
889.
▲
by
cube2222
4y ago
With cross-compiling I also mean cross-OS compiling.
890.
▲
by
cube2222
4y ago
Mandatory plug of this article[0] describing how to use the Zig language toolchain to get easy cross-compilation with CGO. It's really cool because cross-compilation is, imo, the most painful part of CGO - right after being incompatibl
891.
▲
by
cube2222
4y 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
892.
▲
by
cube2222
4y ago
Moreover, you can pair it with drift detection (available in i.e. Spacelift[0]), and have it automatically detect when a data source changes (and apply the resulting infra changes). Very common scenario with lots of neat use cases around it
893.
▲
Elon Musk and Twitter Reach Deal for Sale
(nytimes.com)
40 points
by
cube2222
4y ago
|
50 comments
894.
▲
by
cube2222
4y ago
They posted a blog post explaining it a month ago: https://github.blog/2022-03-23-an-update-on-recent-service-d...
895.
▲
by
cube2222
5y ago
Hey, OctoSQL[0] author here. This is an updated benchmark originally posted a week ago[1] and is a bit of an update to the assertion made at that time. It now includes clickhouse-local, which is very very fast, as well as a new release of O
896.
▲
The fastest tool for querying JSON files is *not* written in Python (revised)
(github.com)
12 points
by
cube2222
5y ago
|
2 comments
897.
▲
by
cube2222
5y ago
> as long as you use cloud agnostic stuff and avoid AWS specific services That is a big tradeoff, and it's not something obvious. If being banned from AWS is an important and relatively big risk for your business, sure, go for it. B
898.
▲
by
cube2222
5y ago
If it's the same team developing and maintaining all those services, and those services are creating a bigger whole together, then using a single language for all of them will be very beneficial in the long run. Doesn't really mat
899.
▲
by
cube2222
5y ago
I've just released OctoSQL v0.6.0 which fixes the issue and adds eagerly printed CSV and JSON output, as well as a non-buffered LIMIT implementation. It's now just slightly slower in the benchmark than SPyQL. Thanks for the motiva
900.
▲
by
cube2222
5y ago
No worries! I think it'll be most fair if I just let you know when these are fixed, and you can properly use them, performantly, with a sane output option (that's not stream native, but something like JSON). I.e. LIMIT won't
More ›