Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jakjak123
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
jakjak123
2y ago
Channels complicate error handling quite a bit, so I tend to avoid them
32.
▲
by
jakjak123
2y ago
Yes, and I was lucky enough to read his stuff on finance within 6 months of starting work! He has some very good design ideas for many things, just as always treat it like things in your toolbox and not dogma.
33.
▲
by
jakjak123
2y ago
I agree, but also our accountants kept asking for the craziest of things. I guess its a problem that the real world of transactions is full of async processes and weirdness. There is always something new weird that will happen, so it always
34.
▲
by
jakjak123
2y ago
10k audit logs per sec? I think we have different definitions of audit logs.
35.
▲
by
jakjak123
2y ago
Well, only in python is that N/A value also a float. In protobuf, go or Java for that matter, that data model must somehow be changed to communicate the difference. If you had use 3 float values in Go or Java you would have had the sam
36.
▲
by
jakjak123
2y ago
In the case for Lat/Lon, I guess that 0.0 could have a meaning, though it is very unlikely someone is exactly at lat/lon 0.0. An alternative is to translate to the XY coordinate system, though that is not a perfect solution either
37.
▲
by
jakjak123
2y ago
I think your anecdote is rather weak with regards to the way protobuf works, but to entertain, why would a confidence of 0.0 be so different from None? 0.0 sounds very close to None for most numerical purposes if you ask me. Wait, are you u
38.
▲
by
jakjak123
2y ago
This, 100%. I am never going back to stringly typed JSON in whatever random url structure that team felt like doing that week. GraphQL is made for Facebook type graph problems. Its way overcomplicated for most use cases. I just want a lingu
39.
▲
by
jakjak123
2y ago
This is the true design issue with gRPC as I see it. It would be way bigger without this. I love protobuf though, gRPC is just alright. At least gRPC makes it so much simpler to build powerful automation and tooling around it than the wild
40.
▲
by
jakjak123
2y ago
I just build a cli in Java or Go. It literally takes minutes to build a client.
41.
▲
by
jakjak123
2y ago
I dont even care about the performance. I just want some way to version my messages that is backward and forwards compatible and can be delivered in all the languages we use in production. I have tried to consume json over websockets before
42.
▲
by
jakjak123
2y ago
I love oneofs in the language with good support, but they are woeful in Golang and the "official" grpc-web message types.
43.
▲
by
jakjak123
2y ago
Some of the details inside protobuf in Java can be very convoluted, but they are also the result of intense benchmarking, years of experiences and a long tail with deep legacy support for old java. Honestly I found the Java bindings to be w
44.
▲
by
jakjak123
2y ago
I had the same experience. It was a bit awkward for 6 months, but down the line we learned to design better apis, and dealing with nullable values are tedious at best. Its just easier knowing that a string or integer will _never_ cause a nu
45.
▲
by
jakjak123
2y ago
Like nearly every time, empty string and 0 for integers can be treated the same as "no value" if you think about it. Are you sending data or sending opinions? Usually to force a choice, you would make a enum or a one-of where the
46.
▲
by
jakjak123
2y ago
Same, I rarely felt a need for this distinction.
47.
▲
by
jakjak123
2y ago
It was a little weird at first, but if you just read the 1.5 pages of why protobuf decided to work like this it made perfect sense to me. It will seem over complicated though to web developers who are used to being able to update all their
48.
▲
by
jakjak123
2y ago
Yeah, the feature bloat makes it a hurdle to make some good quality implementations. I mostly stayed in Java for years. They are quite good. grpc-web is ok I guess, protobuf-ts are great, swift came along as nice, then I have always been sa
49.
▲
by
jakjak123
2y ago
.NET looks quite good, as well as Swift actually. I have most experience with Java, and those are almost as nice as the .NET bindings. I have also used Go quite a bit, and they are pretty much awful. It takes so much practice and knowledge
50.
▲
by
jakjak123
2y ago
As someone in a very small company, no affiliation with any Google employees, gRPC and protobuf has been a godsend in many, many ways. My only complaint is that protoc is cumbersome af to use, and that is almost solved by buf.build. Except
51.
▲
by
jakjak123
2y ago
> And TCP wants to pretend that all your data arrives as a linear stream one after the other; This is actually very nice for an application developer. Probably a tiny bit less nice if you are running popular services taking 100k req/
52.
▲
by
jakjak123
2y ago
TestContainers, or just assume there is a postgres running locally. > - maintain this, eg have good, representative testing data lying around? This can be tricky, but usually my advice is to never even being trying to do write seed data
53.
▲
by
jakjak123
2y ago
They have, but the different IDEs do not format equivalent and are way too easy to reconfigure to personal preference.
54.
▲
by
jakjak123
2y ago
This looks so much like Golang, weird to not mention it
55.
▲
by
jakjak123
2y ago
This 100%. Really the only reason to work at a startup as an engineer is if you really want to, because everyone pays low and the tiny bit of equity is essentially worthless in 99% of cases, which gives it a very low value.
56.
▲
by
jakjak123
2y ago
Interesting enough, but this misses most of the point. In any case, its not really that interesting if the value you looked for is missing or not, its way more important that I can see _which_ value was not found. Any solution that does not
57.
▲
by
jakjak123
2y ago
> Gravitational waves were found with GStreamer at LIGO: https://lscsoft.docs.ligo.org/gstlal/ Say WHAT now?!
58.
▲
by
jakjak123
2y ago
suing sounds very extreme, but as someone who has worked on a similar service, unofficial clients are actually pretty annoying to deal with. They often end up using ancient APIs, dodgy secrets handling, we don't know what trackers they
59.
▲
by
jakjak123
2y ago
JWTs has been both overhyped and overused, by myself as well. But after working with JWT authentication for so long, it felt very strange to go back to sessions stored in a database. Suddenly every service we have needs a db connection setu
60.
▲
by
jakjak123
2y ago
I dont like this timeline
More ›