412 karma · joined September 23, 2015
Judicious use of mypy, unit testing and leaning heavily on the framework can keep things well organised
If you're hitting performance limits you likely have enough revenue to get some extra computing power and this might even be a viable long-term solution. Otherwise you can: - Build a service in the performant language - Embed C, Rust or Fortran into python
A full rewrite in a performant language is an option but almost never the right one in my experience. In any case optimise for development agility right now, which includes writing good organised code. You can cross the performance bridge when you come to it.
If we were to discover with certainty that our universe were one of many, it would completely blow my mind.
Given the easy availability of newborn babies, I think $200 is fair.
With a three-body problem any slight shift causes a wildly different trajectory, bearing no resemblance to the original so your measurements of the initial condition have to be perfect.
If you have a set of key value pairs where all the values are the same, you can use a Map or HashMap. These are both easily serialisable.
I'm not sure there's a way of having key-value pairs without a schema and with different types of values. If it has a schema you can use a record of course.
If you just want to add a single value, such as pdfUrl for example, you can include this as a nullable (Maybe Text) value in the record. Receive the data without it and return it with it. If you wanted to, you could also use a type parameter to guarantee that a pdfUrl is always included in the response record.
Then you provide a spreadsheet export or direct connection that can be hooked into another spreadsheet with all the formulas, pivot tables and so on.
This way the core data is safeguarded and kept clean while not requiring constant development for every report requested.
To avoid the pain of managing a CA and passing out certificates for TLS between services, I use a wireguard mesh and bind nomad, consul and vault to these wg interfaces. This includes all the chatter of these components, as well as the services I deploy with nomad. It's configured such that any job can join the "private" wireguard network or "public" internet gateway.
It takes a few days to set up, but it's very easy to manage.
7 clots in 20 million vaccinated which is below background levels.
I don't know the numbers are or if they're even this drastic, but at some point they will be and we'll be able to say with confidence that climate change is the cause.
The ads themselves aren't a problem from what I've seen, rather it is the incessant stream of memes and emotive content that keeps you scrolling through the feed.
> Moral of the ramble, new tech is great – sometimes.
> https://www.graphql-code-generator.com
You can do this with a boring REST API too. Most frameworks can automatically generate a swagger file, and there is a tool to generate clients from this in lots of different languages.