I just don't like these DI systems that pull stuff "out of thin air" auto-magically instead of just passing arguments.
700 karma · joined June 3, 2020
I just don't like these DI systems that pull stuff "out of thin air" auto-magically instead of just passing arguments.
I wasn't aware of this library, I did check for name collisions with other Go repos though
You're not forced to use that comment, you can pass the event however you like, if you satisfy the event.Any interface (by having the method EventName() string).
I prefer that comment because Go doesn't have native sum types, and I believe that by using the framework in combination with the gochecksumtype linter, you get the best developer experience and type safety (you DO have tab autocomplete with the events for recordThat - the type system helps because of the sealed interface).
But again, if you don't want to use the linter, no problem. You can create constructors for the events however you like, just like in your example.
I'd be more interested on how to find people like Jon tbh.
- local on my machine.
- ingress with https + subdomains integrated with mDNS (so I can access the services easily from my phone when developing mobile apps). mDNS also makes sure that other devs can set it up locally for themselves.
- easily swap what I'm working on, if I have 3 services A, B, C, while I'm working on A locally, I want B and C to run in the cluster and to be able to interact with them, same if I'm working on B, A and C should run in the cluster.
It seems right now it only supports CRUD-style logic? Suppose I have a Go backend service (or any other language, really). Creating and exposing some pg tables for the read only path is something reasonable if I want to integrate with zero.
But what about the write path in such an app? Where you have some business logic that doesn't involve simple CRUD, will (or does) zero support that with custom mutators?
edit: I didn't see this notion page which address this https://replicache.notion.site/Introducing-Zero-8ce1b1f184aa...
Isn't 2.5c per search kind of expensive? serp api is 1 cent for the $150/month = 15k searches plan
I wonder, is there a formal definition for a set of primitives that allow you to build an ACID database? Assume an API of some kind (in this case, S3) that you can interact with - and provides, I don't know, locks, % durability, etc.
What would make you say, 'Having those primitives, I CAN build an ACID database on top of it'?
// chromium.use(stealthPlugin());
imo this is the hardest part about scraping, evading bot detection and captchas.
edit: and keeping the scraping logic & rules up to date