HNHacker News
TopNewBestAskShowJobs

sthuck

170 karma · joined May 31, 2023

submissionscomments
sthuck··on Htmlq: Like Jq, but for HTML
great, now I can stop using regex...
sthuck··on I think GCP is better than AWS (2020)
GCP shutting down might be one in a million, but "Google cloud niche product X" is a lot more likely.

With GCP I feel like you should stick to the core services to avoid any risks.

sthuck··on Wayland Isn't Going to Save the Linux Desktop (2022)
Speaking on the graphical stack specifically windows is a great experience and has been since drivers moved to user space somewhere around windows 7.

(On other areas and the overall experience I might agree. WSL2 was a big step forward though)

sthuck··on Exploring the Internals of Linux v0.01
You can use plain old 'wc' to count lines. Most of the Linux kernel codebase is drivers. 2nd most is architecture specific code.

I don't know what's the actual count of lines of code that I actually have on the kernel compiled on my specific x64 machine, but I think considering how many significant changes were made to the Linux kernel over the years, I don't think it's a victim of unnecessary bloat. The various virtualization features alone were industry changing features.

sthuck··on Revolutionary IDEs That Shaped Software Development
It's a very subjective topic, but not having any of the Borland turbo compilers there makes the article objectively wrong
sthuck··on Infrared may no longer be a punchline, as IEEE approves 9.6Gbps wireless light
if you have coax cables in the walls then MoCA is a pretty good solution. (Powerline is not)

also dear god I hope it's a typo and you meant 1Gb

sthuck··on OpenAPI v4 (aka Moonwalk) Proposal
It's always nice to read and know I am not an opinionated asshole, and other people share the misery. I admit I've been duped using OpenAPI. Generating the schema via FastAPI and Nest.js works pretty well. But like you we have been sorely disappointment by the codegen.

Anyone care to suggest alternatives though, assuming we want to call from node to python? I actually believe that having api packages with types is one of the only things startups should take from the enterprise world. I thought about GRPC, I had good experience with it as a developer, but the previous company had a team of people dedicated just to help with the tooling around GRPC and Protobufs.

So I picked OpenAPI, figuring simple is better, and plaintext over http is simpler. and currently I do believe it's better than nothing, but not by much. I am actually in the process of trying to write my own codegen and seeing how far I can get with it.

are protobuf's with GRPC really the way to go nowadays? should a startup of 20 developers just give up and document api in some shared knowledge base and that's it?

← PreviousPage 2 of 2