PostgREST has a 10 line config file, so it's trivial to setup. Monitoring, rate limiting, logging and error handling could be done by central tools like API-gateways or on the reverse proxy.
1,196 karma · joined October 10, 2022
Senior Software Architect @ Austrian railways ÖBB
Blog: https://www.fabianzeindl.com/
PostgREST has a 10 line config file, so it's trivial to setup. Monitoring, rate limiting, logging and error handling could be done by central tools like API-gateways or on the reverse proxy.
You are right that care needs to be taken in the authentication layer.
And yes, developing SQL in a shared environment is a complex task and needs to be accompanied by proper tooling.
It is simple, intuitive, it works for all cases. Instead we are inventing, what, the fifth generation of CSS-layouting now? Does nobody think this is odd?
But they need somebody to make them understand that it’s not them who are destroying the relationship with their surroundings and their chance for being happy but the other way around.
Some children in bad situations understand that without guidance but they are rare.
Basically children in bad situations need just one reliable person who believes in them in their lives.
What it does is making them realize that it’s not them who are doing something wrong but that their surroundings are flawed. The problem begins when children start to believe everything is their own fault.
And what was underneath those higher streets? A giant block of concrete? Scaffolding?
I often used sets in Java as return-types or parameters to specify collections of unique items.
Profiling code over the years I noticed that, a lot of times the reason for a performance bottleneck was some hashcode calculation for a Set or Map.
So now I often use plain ol' ArrayLists.
Or are the underground building like a -1 floor to the ones above?
Nobody is stopped from compiling code, converting it to base64 and storing it into a label for later execution.
Arbitrary parameters like this are the opposite of a unifying abstraction.
That ingress-behavior wasn‘t defined but pluggable to suit existing load balancers also broke the abstraction.
It is so sensitive that basic text editing like copy and paste, tab, in/decreasing indent never quite do what I expect in IntelliJ.
I paste parts of yaml into another yaml and it ends up somewhere unpredictable.
There was a nice video about how it is really hard to implement file systems because disks just don’t do what you expect.
Databases are a layer up and assume that they can at least write a blob somewhere and retrieve it with certain guarantees. Those guarantees are a thousand hacks in the file system implementation.
Because bits don‘t rot and while you need to build a new bridge now and then which will include your learnings from the old one, you never have to replace software because it can be copied ad infinitum.
For me the essence of XP was always programming in pairs in front of a computer. That notion was somehow lost in the article and you also don‘t mention it.
So I took double sided tape, stuck a plastic gear on the wheel and put a servo on with another gear on the side, connected to a raspberry pi, that would turn the wheel when my phone would enter a geofence around the flat.
Picture: https://ibb.co/nDvwndp
I even had a bash script to calibrate the servo which would turn the wheel and ask which temperature it set, so it could figure out the step size.
And I already have the next article in the works on how to use it as a CQRS/REST-api-layer.
While these are valid and interesting ideas from science fiction, I personally doubt that there's some fundamental property about human life that we haven't noticed yet, like some fundamental connection to other matter.
Simply because there's no evidence that our primitive understanding about what is life, has fundamentally changed in history. I guess a few thousand years ago people understood that we, plants and animals are alive and rocks are not and we still think the same. (nature religions aside)
So if there was no shift in understanding for such a long time, why should we now realize we are part of something a part from an eco system?
I think it meant that even if life started itself accidentally by some unbelievably slim chance, this could happen somewhere else as well simply because the dice are rolled that often.
I think time is the factor here. When you take into account not only the size of the universe but also it‘s age, the chance that life started somewhere, somewhen and ended long ago could be larger than zero, even if we are not able to calculate it.
The main difference is that an image (without text in it) can relay a lot of information at once. Counter example: try reproducing an image from a description.
A text on the other hand is able to give unambiguous explanation of relationships. Counter example: try painting “a primary and a secondary disk” as an image without any text.
So images are good to give an overview fast, but text is needed to make it unambiguous.
Only that blood sugar levels also affect hunger, psyche etc.
So no, you cannot just sum up calories in that case.
And it was programmed in a completely object oriented way so that it would suspend everything to disk.
You started the PC and all your applications, windows and documents were open like before, something that macOS only achieved 20 years later.
When you start to have a screen height full of variable-declaration, you start thinking: "Maybe I should refactor this." Inline variables conceal that a bit.
I really don't know why languages like C, Java or JavaScript started to allow variable definitions everywhere. Needing to declare variables first leads to much cleaner functions.