1,790 karma · joined Jul 17, 2008 (18y ago) · 529 submissions
comment 2mo ago · link · parent
WSDL is in some ways more user-friendly than openapi schemas. They have a rich set of types that mostly just work as expected. When I try to generate models from an OpenAPI JSON file, I often find myself either overriding the models or making scripts/plugins to rewrite the json to fix types. An example of this is using proper decimals instead of doubles, which is crucial in my line of work.
comment 2mo ago · link · parent
I think this library maps the different representations into a single representation. The business logic, metrics, logging etc. will use the single representation instead of being tightly coupled to the transport medium
Example from the docs where the "PAYMENT_DECLINED" state is mapped from protocol specific responses:
PAYMENT_DECLINED
|
+-- HTTP 422
+-- gRPC FAILED_PRECONDITION
|
--> logs/metrics keep PAYMENT_DECLINED5.
The Black Death and How It Birthed Today's Prosperity(opensourceceo.com ↗)
4 points · by qw · 5mo ago · discuss
comment 1y ago · link · parent
Yes, but mostly because of a lost opportunity.
I was working on my own web based reader when Google made a significant upgrade to their reader. It was similar to what I had made, so I thought it would be foolish to compete with Google and stopped working on it.
I wonder where RSS would be now if Google had not discouraged potential competitors.
comment 1y ago · link · parent
It's how we used to make websites before SPA, and it's refreshing to see that it still makes a noticeable difference even on today's powerful CPUs and high speed networks.
comment 1y ago · link · parent
In sci-fi we see warp drives, worm hole travel, phasers, photon torpedos and energy shields around ships. But what if none of that is possible? In that case, we might even have the technology to defend ourselves today if we manage to detect the attack in time.
It's a huge risk for a civilization to attack us. Even if they have capabilities that are beyond our technology, there might still be limitations based on the laws of physics. And if they attack us, they risk a response.
comment 1y ago · link · parent
Some names today still use the double a, like the Norwegian football player Martin Ødegaard. In that case it is pronounced the same as the "å" sound. (not too far from how an American might pronounce the "o" sound in "for")
comment 1y ago · link · parent
> The Ship of Theseus, also known as Theseus's Paradox, is a paradox and a common thought experiment about whether an object is the same object after having all of its original components replaced over time, typically one after the other.
comment 1y ago · link · parent
From what I have heard, it's still an issue with Excel, although I assume that Windows may handle plain text better these days (I haven't used it in a while)
You need to write an UTF-8 BOM at the beginning (0xEF, 0xBB, 0xBF), if you want to make sure it's recognized as UTF-8.
25.
Making Duotrigordle, Part 1: Feature Train(thesilican.com ↗)
1 points · by qw · 1y ago · discuss