477 karma · joined April 27, 2012
Try with nested objects and at least a dozen of fields across this hierarchy. And different structure for each row. It's still not a use case for Java serialization, but at least closer to what a real code would do.
Same for Protobuf, I guess. Also the JSON serialization plays the same role more or less.
Maybe something like Avro Data Files is better for a comparison with columnar formats.
Because people are lazy or they may forget to implement the security checks, or simply be unaware about them.
Ex., when you hacked up a super simple script to display a number of today's users of your startup to display on the big screen in your office. You would probably want something as simple as possible. This page is just 3-5 lines of code. Maybe one-liner even. No authorization or other security, as it's for the office intranet.
Without CORS any website that is visited by people from your office could fetch that number on screen.
private String? foo;
private String! bar;
// or
private String foo;
private nonnull String bar;Before that, we had a Kubespray based setup. It's a bunch of Ansible script and it allows to make any custom setup, like absolutely anything as you in control of the machines. But the other side of this is that it's extremely easy to break everything. Which we did a couple of times. And so any upgrade is a risk of loosing the whole cluster, so we decided it must be run in VM with full backup before each upgrade. Another problem that it takes about an hour to apply a change, because Ansible has to apply all the scripts each time.
Then we migrated to Talos, and it's a day and night. The initial setup took like an hour, including reading the docs and a tutorial. Easy to setup, easy to maintain, easy to upgrade (and it takes minutes). Note that we run the nodes as VMs in Proxmox, so the disk and network setup are outside of Talos scope, as well as backups, and it's actually simplifies everything. So it "just works" and we can focus on your app not the cluster setup.
For example unit tests. At least to show that it works, and how to use it. Also a build config, like gradle/maven, so others would be able to use this lib.
Ex.: https://gist.github.com/tqbf/be58d2d39690c3b366ad or https://www.latacora.com/blog/2018/04/03/cryptographic-right...
Except some areas where you don't have much flexibility. Like for AI you chose Python even if you have no experience. Or for a website, you don't have much choices and have to use TS/JS even if you don't like them.
It's much easier to do it with REST. In docs you can just have a _curl_ example. And the JSON req/resp are easy to copy-paste anywhere else. You can start experimenting immediately, even in the same browser tab with js console.
With protobuf there is an initial barrier, because before you start you have to download proto definitions or a client library.
What is important is how they handle that. I had a faulty Sandisk and it was replaced with a working one without any problem or unnecessary question. Some other brands annoy you with stupid questions, puzzles and other tricks trying to avoid doing a replacement. And some just ignore any requests (ex. Samsung, from my experience) to replace a faulty SSD.
Now we signed up for it, though I still not sure how it works and how I supposed to contact them in case of an emergency. All I see they charge us something for that support agreement, hope I will never need it.
This has happened to me a couple of times. Once, my account was locked for a day because their system flagged one of my servers for suspicious traffic. They locked all my servers, databases, and everything else, not just that one server. Another time, they locked a different project for a week. It actually took me a week to find a human who could unlock it; otherwise, it could have been even longer. I still don't know the reason for the lock.
So the main problem is that Google don't care about GCP at all, and threat paid customers in same way as free users (i.e., hostile to both)
From my personal experience, when you have a problem the only thing they can do is to call someone and talk on your behalf, and you can do the same from home, btw. The only advantage the banker has in this case is that they have those numbers on fast dial. But keep in mind that even if you called the right department nothing can be resolved immediately and all the following communications are by paper mail, so it takes months to recover your funds.
It seems that it's more effective to leverage this natural desire (as in capitalism) rather that punish it (as in communism). The important part is "natural", i.e., people are born with it, as well as animals, and you cannot prevent it. That's not a minority at all. So the only way for communism is to constantly fight it on a great scale, which is possibly with turning into a authoritarian government.
PS Also consider that the other counties have been able to print the menus regardless the tax fluctuations. It doesn't seem to be a problem.
Though it it also may be just "given - family", as well as any other variation informally. So you wouldn't make a mistake with UI