HNHacker News
TopNewBestAskShowJobs

jakjak123

200 karma · joined March 3, 2022

submissionscomments
jakjak123··on Pains of building your own billing system
You assume you will have time to work on it. We are a business of 35 employees, 300k SAAS customers in low cost B2C, we are busy building product and fixing bugs there, we basically have zero minutes to spend on extending the billing system or implementing custom deals. Rolling out a price change can take anywhere from 3 days to 2 months (dealing with early efforts on custom deals is a nightmare). If it cant easily be automated, we can't do it. It takes too much time. If we had based our billing on a product like those mentioned here, we likely could have had way better chance of doing custom deals and rolling out price changes per customer segments.
jakjak123··on Apache Superset
The Apache Foundation also takes on projects that are literally abandoned. It acts as an umbrella that takes over hosting a project for commercial actors that can no longer develop it, but want to at least give existing users a open source (Apache License) version of the software to continue with/depend on.
jakjak123··on Apache Superset
I have the opposite experience. Lots of good stuff is hosted by Apache Foundation, such as Kafka, Maven, Cassandra, Camel, the Tika project, Superset, Solr, but I will admit they had more relevance 10 years ago. And I dont think there are many organizations that keep open source projects alive longer than the Apache projects.
jakjak123··on Apache Superset
Apache hosts many, many projects, some good, some bad, some abandoned, some fucking great.
jakjak123··on GPT in 500 Lines of SQL
This is a very good article and introduction.
jakjak123··on Nokia made too many phones
Exactly my feel as well.
jakjak123··on Nokia made too many phones
I had the N900, but I think it was only released 2.5 years after the first iPhone.
jakjak123··on Becoming a dungeon master for an interview
Same, I'd rather spend 3 hours working with the potential team than spend 12 hours practicing leetcode. If you want to see my code, I have plenty of public domain projects freely available.
jakjak123··on Becoming a dungeon master for an interview
Plus, everyone thinks they are Google or Facebook, or that they are about to become Google or Facebook. You are not.
jakjak123··on Postgres as queue
Using the INSERT/UPDATES is kind of limiting for your events. Usually you will want richer event (higher level information) than the raw structure of a single table. Use this feature very sparingly. Keep in mind that LISTEN should also ONLY be used to reduce the active polling, it is not a failsafe delivery system, and you will not get notified of things that happened while you were gone.
jakjak123··on Context Control in Go
Errors as values would be nice if they weren't so terrible ><

The tooling around them is nearly non-existent in stdlib, and if you want to understand errors from stdlib you will have to guess at string content.

And like, why is there not a stack trace by default?

jakjak123··on Context Control in Go
Yes, but I will curse everyone who didnt pass the logger so we lost the logcontext :(
jakjak123··on Context Control in Go
Yes/no/maybe? context is one of the few ways to get contextual logging and tracing to work in a almost general way in Go. But I have also used it to pass the authenticated user to the handlerfunc. I dont dig it, but it works and avoids the need to keep a static map of request pointers somewhere to figure out which user was in this request...
jakjak123··on Unison Cloud
Tbh this is not the worst idea I've seen. I hope you can make it, because I would have a hard time justifying such an experimental platform and idea as a foundation for a company.
jakjak123··on SeaweedFS fast distributed storage system for blobs, objects, files and datalake
This was a couple of years ago now, but for example, some very minor amount of objects had not been replicated at all. This happened during heavy concurrent write traffic, and a couple of these race condition-ish bugs have been fixed over the years.
jakjak123··on SeaweedFS fast distributed storage system for blobs, objects, files and datalake
Have used SeaweedFS to store billions of thumbnails. The tooling is a bit clunky, but it mostly works. The performance is very good for small-ish objects (memory usage + latency), and latency remains consistently good into 99.9 percentiles. We had some issues with data loss and downtime, but that was mostly our own fault.
jakjak123··on Silos are fine, as long as there is an API between them
I have been working mostly with Kafka for five years, and I found SQS to be a little weird to work with. How do you keep an overview of all services that consume a queue? What if you want multiple services to read the same data in the same order? Granted I am very new to AWS.
jakjak123··on Silos are fine, as long as there is an API between them
I'm not saying its a silver bullet, because sharing data via database makes change management way worse.
jakjak123··on Async File IO
Its not really related at all. Loom allows java thread to in certain cases block, but then yield to run a different thread's code. That principle is unrelated to File IO.
jakjak123··on Async File IO
I am not sure if there were any practical async apis for files. There was only for networking I believe?
jakjak123··on The worst thing about Jenkins is that it works (2019)
Very good summary. I think both Gitlab CI and Github Actions are very good, but I think gitlab ci is more practical because of how easy it is to build custom advanced pipelines vs the great re-use of github actions.
jakjak123··on A Node, TypeScript, TS-Node and ESM experience that works
I am struggling with this just now. I am however writing a library where it makes sense to allow import of subpaths. How would this change then?
jakjak123··on Firefox Is Going to Try and Ship with Wayland Enabled by Default
It's a very long story, but yeah, its about how the applications on your desktop can draw content inside their borders, and how those applications interact with things like keyboard/mouse/other applications drawn on the screen. One of the big things is that X11 was written for a time where everything was open with no access control. Any application can view any other application, or capture any keystroke. Wayland introduces a form for permissions control, which has been a huge ordeal to both pave the path for and to design and figure out how on earth that should work. It's great though that you can have some actual control on who can listen to keystrokes and not.
jakjak123··on Firefox Is Going to Try and Ship with Wayland Enabled by Default
At least screen sharing has been solved. We are mainly waiting for apps that use sharing to implement the Wayland compatible to get access to screen recording.
jakjak123··on Firefox Is Going to Try and Ship with Wayland Enabled by Default
wow, that is a tiny patch
jakjak123··on Steam Deck OLED
VRR has a very sad story on Linux too.
jakjak123··on DoorDash manages high-availability CockroachDB clusters at scale
Yes, our server had 120k queries/sec, but 80% of that traffic was driver heartbeats or connection verification. We halved it by disabling the connection verification query.
jakjak123··on Joining CSV Data Without SQL: An IP Geolocation Use Case
I have done some similar, simpler data wrangling with xsv (https://github.com/BurntSushi/xsv) and jq. It could process my 800M rows in a couple of minutes (plus the time to read it out from the database =)
jakjak123··on How Instagram scaled to 14 million users with only 3 engineers
Yeah, we took some of their ideas about ID design and have applied it in a way that we could improve our storage.
jakjak123··on How Instagram scaled to 14 million users with only 3 engineers
They stayed true to a single product purpose, did not add frivolous features and experiments, and didn't deal with payments/billing, eventually being "rescued" by VC money? You seem to gloss over that AWS also helps them out a lot already here, by being the load balancer entry points and ordering VMs from a api.
← PreviousPage 4 of 5Next →