Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sudorandom
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
Show HN: Protobuf.com, a visual, interactive guide to Protocol Buffers
(protobuf.com)
5 points
by
sudorandom
28d ago
|
0 comments
2.
▲
by
sudorandom
1mo ago
The difference is that Buf's LSP is fully spec-complete since it's built on the same tooling that powers the buf CLI. I've seen several attempts at Protobuf LSPs over the years, but none that actually conform to the Protobuf
3.
▲
by
sudorandom
1mo ago
I pushed for us to adopt this setup at my previous company and it was wildly successful. I thought frontend devs would resist but they absolutely loved the generated types and clients. It quickly seemed silly to do anything else.
4.
▲
by
sudorandom
1mo ago
Hm... Maybe. In my view, an IDL is part of the input that you absolutely want humans to author or carefully review at least. In my experience, the ceremony around generating code is also performed very well by LLMs. But I do agree, there&#x
5.
▲
by
sudorandom
1mo ago
I feel exactly that way about REST. The assumption that LLMs make schemas obsolete misses how structured outputs actually work in production. When you have probabilistic models generating code, strict contracts become more critical, not les
6.
▲
by
sudorandom
2mo ago
The buf CLI can do this. Here's how it looks to convert from encoded protobuf to json (protojson). buf convert schema.proto \ --type YourMessageName \ --from payload.binpb \ --to output.json And just invert the argum
7.
▲
by
sudorandom
2y ago
You should really check out ConnectRPC. Out of the box it supports gRPC, gRPC-Web and a much more reasonable protocol called Connect without an extra middleware to do translation between gRPC/gRPC-Web. Plus, their typescript support is
8.
▲
by
sudorandom
2y ago
They are the protobuf descriptors, which is basically the protobuf encoded version of the protobuf files. They can be optional and many plugins have options to exclude that part from the generated code. Generally, they're useful for th
9.
▲
gRPC: 5 Years Later, Is It Still Worth It?
(kostyay.com)
69 points
by
sudorandom
2y ago
|
33 comments
10.
▲
HTTP/0.9 from Scratch
(kmcd.dev)
2 points
by
sudorandom
2y ago
|
0 comments
11.
▲
gRPC over HTTP/3
(kmcd.dev)
3 points
by
sudorandom
2y ago
|
1 comments
12.
▲
by
sudorandom
2y ago
This is probably not exhaustive but I think these frameworks can support HTTP/3 today: - The standard grpc library for C#, dotnet-grpc - It may already be possible in rust with Tonic with the Hyper http transport - It's possible i
13.
▲
by
sudorandom
2y ago
Hey, author here: > Why does gRPC have to use such a non-standard term for this that only mathematicians have an intuitive understanding of? I have to explain the term every time I use it. >> Who are you working with lol? Nobody I’
14.
▲
by
sudorandom
2y ago
Author here: Sorry that I was so harsh on textproto. You are right that it has some strengths over JSON... I'm actually a fan of JSONC for this reason. It does limit you on tooling... but so does textproto, right? I think the bigger th
15.
▲
by
sudorandom
2y ago
Author here: I definitely should have been more explicit for my love of connectrpc, buf, protovalidate, etc. I do mention ConnectRPC but maybe not as loud as I could have. I definitely try to avoid confessing my love for ConnectRPC in every
16.
▲
by
sudorandom
2y ago
Author here: it's nerdy web trivia but HTTP trailers are actually in the HTTP/1.1 spec, although very few browsers, load balancers, programming languages, etc. implemented it at the time since it wasn't super useful for the w
17.
▲
Tracking the Wins
(sudorandom.dev)
1 points
by
sudorandom
2y ago
|
0 comments
18.
▲
by
sudorandom
11y ago
This hasn't been my experience... You can also set that value using an environmental variable (GOMAXPROCS). You might want to make sure that isn't set in your environment. Otherwise, you might be experiencing a bug that you should
19.
▲
by
sudorandom
11y ago
Golang: to enable all the cores, you have to put in your code runtime.GOMAXPROCS(num of cores you want to use) This is no longer true. With Go 1.5 and higher GOMAXPROCS is set to the number of CPUs available by default.
20.
▲
by
sudorandom
14y ago
github: sudorandom
21.
▲
by
sudorandom
14y ago
To be honest, the overall market effects were trivial. The one thing that did happen was the actual trade that happened in and out of Jita (the biggest trade hub in the game) was virtually stopped as the volume of trade for raw materials pr