Yes, either @IfBuildProfile/@DefaultBean if your logic depends on build profile, or @LookupIfProperty/@LookupUnlessProperty if it depends on property value
Can you elaborate on its issues? I've never used it on production myself, but it looks like a simplified k8n, which is something I feel a lot of people desire
Anything can and will break. Symptomatically similar thing happened to me with K8s with (IIRC) Calico. And I’ve had issues with Swarm too, although of a different kind (it quietly refused to run a data channel for me over an IPv6-only network, while control channel worked just fine).
It was all quite a while (3-4 years) ago, so I don’t remember much details, except that Swarm was then not exactly capable of working in IPv6-only environments. It was significantly easier to navigate Docker’s codebase than Kubernetes’.
(Ultimately, my solution was that I understood that I didn’t need any kind of orchestration there, just HA/failover. But that’s another story.)
I've been very happy with until now, though i must admit i'm using one node swarms. But i'd rather use that (1) than sticking together a custom solution using docker compose as i see it mentioned sometimes.
Infinite issues with overlay networking once you scale past 30 nodes in a swarm. Weave aside, network drivers for anything not CNI are basically deprecated/dead.
Annoying notifications are a thing for most of the MS stack. Outlook, Teams, Word. Recently I had to dig into some cryptic Registry options to disable some stupid balloon notifications in outlook that pop up every time I open the app. I don't care about your tips and your new interface, I just want to be able to search for a specific email and go back to work quickly.
“New Outlook,” which forgot to remind me to be in a meeting once, and doesn’t support contact groups still because there’s no simple server-side notion of that.
> Annoying notifications are a thing for most of the MS stack.
This. The whole notification mechanism is just awful and not actually very useful. I disable all of it, from any application. I don't want notifications, period.
Care to explain? Keeping private keys inside the repo sounds fine for me as long as these keys are only used for local development, they are rotated regularly and are only valid for localhost (in case of TLS certs).
Not GP:
If you make it normal to check in credentials and keys, then the risk of accidentally checking in prod secrets increases. It's basically making it comfortable for devs to deal with keys in repos and I think that's inherently dangerous.
You should be using automated checks to keep credentials out of your repo, not relying on individual developers. And those checks can have explicit exceptions for known safe/public/test keys, just like you might explicitly allow testing or fake credit card numbers.
Sure, I can't imagine it being too difficult to compromise the keys for some first world country.
But there's no need to bother, you won't get busted at an airport because the chip of your passport failed. If they were suspicious, they'd just go through a document verification checklist and see if your passport has the correct physical features. Check out the PRADO glossary for example https://www.consilium.europa.eu/prado/en/prado-glossary/prad...
A bunch of EU countries still issue non-biometric passports, even if with limited validity periods.
One thing I love about macOS terminal is the distinction between Command-C and Control-C in the Terminal. One copies a text under cursor and the other sends a SIGINT. I absolutely hate using Control-Shift-C to copy a text in Linux terminal and Control-C anywhere else.
100% the best thing that Mac does with respect to keyboard shortcuts is the fact that the `Meta` key is the de-facto shortcut key. That makes so many shortcuts consistent across the command line and the OS
While I like that distinction too, I wonder why Linux terminals can’t tell whether something is currently selected or not, and have Control-C do the right thing depending on it?
I’ve been double-mapping Control-C on WSL for a few months (using ConEmu as a terminal) and it works surprisingly well for me.