That's a fair point. If you want to calculate the real total water usage of any person, you must first invent the universe. You have to cut it off somewhere.
See, I have no problem with searches that involve warrants and probably cause. They could already violate the shit out of your privacy with a warrant. That's kind of the point of a warrant.
How is the kubernetes secret API lock in? Genuinely wondering - were you trying to use that deployment yaml for something other than a kubernetes deployment? For most applications, you should be mounting the secret on your application, then you can inject it as either an environment variable or a json file that your application reads in an environment agnostic way.
Then, on the backend, you can configure etcd to use whatever KMS provider you like for encryption.
Because you can't run the container, even for development outside Kubernetes.
Yes, you can mount Secrets as Volumes or Env Var in Kubernetes which is fine but I'm not talking about "How you get env var/secret" but "Methods of dealing with config."
Yes you can? The container should be completely agnostic to the fact that it's running in kubernetes. You can do config the same way. Configmaps are mounted as regular files and environment variables. The application doesn't care if the configmap came from the cluster resource or a file your created on your dev machine with dev credentials. You can mount local files into the container yourself. It's docker run -v "source:destination" I think.
One of you is talking about mapping a secret to an environment variable and the other one of you is talking about having the work load make an API call to retrieve the secret. You’re not even talking about the same thing.
The k8s api server is the thing that's configured to talk to your Thales or whatever. On managed kubernetes, these are usually preconfigured to talk to the vendor -- that's the difference between a secret and a config map. The secret is encrypted when it's stored in etcd.
You'd be forgiven for being mistaken however, because this encryption is handled in a way that's transparent to the application.
If you're talking about your application making a call to the k8s api server, then you shouldn't do that unless you're developing a plugin. The kubelet knows how to retrieve and mount secrets from the k8s api server and display them as environment variables to the application. You just declare it as a part of your deployment in the podspec.
sigh I’m extremely competent Ops type and I know. If you mount secrets as Volume or Env Var, that’s Config file or Env var from Application PoV. We are looking at this from Application PoV.
I’ve seen Applications that do direct calls to Kubernetes API and retrieve the secret from it. So they have custom role with bindings and service account and Kubernetes client libraries.
If you're not developing k8s operators, you're calling the api server directly, then complaining about lock in, then that's a skill issue. If you're developing k8s operators, then you should use a tool like kind for integration tests and dependency injection for other stuff and the concept of lock in doesn't make sense. You can also deploy your helm chart directly to kind.
This is where I like things like Tilt. If you're deploying to a k8s cluster, it's probably a good idea to do local dev in as close to a similar environment as possible.
Bit more of an initial hurdle than "just run the docker image"; however.
I've look at Tilt and it's another abstraction for Kubernetes which rarely ends well at scale.
However, most of time, Devs don't need to develop on Kubernetes since it's just Container Runtime and Networking Layer they don't care about. They run container, they connect to HTTP endpoint to talk to other containers, they are happy. Details are left to us Ops people.
It seems contradictory to say that Tilt is an abstraction over kubernetes and say that won't work at scale, but then volunteer ops to be a layer of abstraction over kubernetes as a solution.
FWIW, Skaffold.dev is similar to Tilt, and has been working out great. "skaffold dev" on the cli or the corresponding button in the users IDE starts up a local kube cluster (minikube), the dev code in a container, any other configured containers, optionally opening a port to attach a debugger, and watches the code for changes and restarts the container with the dev code when there's changes. Developers aren't beholder to the capacity of whoever's on call on the ops team to manage the containers they need to be productive. The details of pods and CRDs and helm and ArgoCD and kubectl are abstracted away for them. They just run "skaffold dev" and edit code. Ops gets to run "skaffold render" to build and tag images, and generate the corresponding kubernetes manifest.
Ops is not a layer of abstraction over Kubernetes no more then Dev is layer of abstraction over Python. We both have different responsibilities and thinking that Ops is just missing one more library is why it goes so wrong.
Kubernetes is massive beast and I get it. It feels extremely overcomplicated for "Please for the love of all that holy, just run this container." However, trying to abstract away such complexity is like trying to use Golang with some Python to Golang cross compiler. It works until it you need some feature and then oh god, all hell breaks loose.
I have not played with scaffold either but I will say. scaffold render should not be Ops job, I find it goes best when Devs present artifact they believe is ready for production and I can slot into the system. Otherwise, the friction between Devs handing Ops what they think is possibly buildable artifact quickly becomes untenable.
OTOH, are all of the browsers supposed to move in lock step? Is chrome supposed to wait for everyone else's approval before launching any kind of feature?
That is literally how a standard supposed to work: arrive at consensus and have two independent implementations before it can be claimed to be a standard. Or at the very least arrive at an API shape and hammer out obvious problems before shipping.
Chrome literally doesn't even bother pretending that many of their proposals are more than some scribbles in spec-adjacent format. E.g. a spec for WebHID that other browsers could implement was just dumped into the repo after Chrome shipped it.
Constructable Stylesheets had both a badly named API and a trivially triggered race condition. Shipped in Chrome in the middle of discussion because Google-developed lit "needed" it.
But is every feature in a browser supposed to be standardized? Like, it's against the rules somehow to develop features without asking permission from Apple and Mozilla?
It's not against the rules, but it is hostile to the web. Forking the web because a company is big enough to do so may sound just dandy to you, but to the rest of us who have spent decades working on interoperability it's a big middle finger.
Apple doesn’t have a veto. If two independent implementations are required for something to become a web standard, all Google have to do is convince anybody outside of Google to implement their specs, such as Mozilla – who Google pay billions of dollars to.
The problem with all of these new specifications is that Google can’t convince anybody to do this, no matter how much money they throw at them. That’s not an Apple veto stopping these things from becoming standards, that’s Google pushing shitty specs.
I wouldn't say stuff like Manifest V2 is "new features". A lot of what Chrome is pushing is just to support its commercial interests.
We've kinda come full circle. Web standards were made to prevent what happened when Internet Explorer ruled the world but now a corporation has near-monopoly browser share and is driving the web standards themselves
Manifest v2 was having the same privacy guarantees as Safari and it broke a lot of people’s brains. Even if we assume it’s a secret way to neuter ad blockers even though they are fine, it does not imply we have IE or anything close. I’m kinda happy people take positions like these because they keep companies honesty but it’s completely irrational.
And one of the browsers is maintained by an OS vendor that benefits from the lock-in that comes from native apps and rent seeking from their app store. I'm sure they would love to control the pace of browser innovation by just deciding not to implement certain features.
I think the hope is that you just start there. They might have migrated the meeting room devices. Why would you set out to replace *everything* at once? Do something, get some revenue/experience, then try to fan out.
Still a ways to go. I found out part of the reason for my linux bluetooth woes is that a settings in bluetooth called “JustWorks” and “FastConnect” default to off. Like. Why?
As if most linux users who enable bluetooth want it to connect slowly and not work.
Being a bit hyperbolic intentionally but the point still stands
Funny, I had issues with my adapter where I had to turn BT fast connect off. In computing there is no one-size-fits-all approach.
Windows has its own share of idiosyncrasies. You're just used to them. Bluetooth hardware is terrible, often proprietary and vendors write drivers only for Windows and macOS. What is Linux supposed to do about that?
EDIT: By the way, JustWorks and FastConnect are the official names of two Bluetooth connection techniques. The name is stupid because that's what the marketing people decided to call it, Linux is being consistent so you know what's going on when they're active, and I assume they have their downsides.
Using all 3 main OSes frequently (Windows the least) I think this is the key point I've noticed. There's tons of frustrations on each of them. But at least for me, the reason why I like Linux so much is that I am far more likely to be able to fix things and move on. With Windows and OSX a fix usually involves some super hacky method that comes with costs, often invisibly so.
It reminds me of an argument I had with a friend. I was saying <FAANG Company> should add an option to change some (very minor) attributes. My ask was literally about text size and location. He just came back and said that I like to fiddle with things and am out of touch because most people want things to "just work." He's not wrong, I like to fiddle. But the problem was that something was broken. Things weren't "just working". I was asking for that feature because the options were "clicking 3 buttons worth of fiddling" and "not using the product." If it is broken it is broken ¯\_(ツ)_/¯. If people are willing to fiddle to repair, great! They'll continue using the product. People that won't? Well it's broken so they weren't going to anyways. At least with the capacity for fiddling you maintain some.
These days, I find myself having fewer problems on Linux than either Windows or OSX. I expect most people to be surprised by that comment because I am too. A decade ago it was the exact opposite situation. But things change.
> The name is stupid
"2 hard things in Computer Science" but it isn't a off-by-one error! Though these names are just objectively stupid and confusing. At least an incomprehensible name wouldn't be misleading.
Regarding Linux machines, I frequently hear "oh yeah I haven't had to re-install Linux in 5+N years, my computer just keeps running fine!" Linux system maintenence, bug-squashing, documentation, and fix-applying is all very transparent.
Over in Windows-land, you frequently hear "oh yeah you gotta reinstall Windows every couple of years, or whenever you do xyz operation (say, disk cloning)". Troubleshooting Windows is a huge pain in the ass. There's no good centralized documentation, SEO sucks, registry hacks are common, etc. I've spent much more of my computing life on Windows machines, and I still have no idea how they truly work. I have no idea why sometimes the only way to fix an hardware/driver issue is by running the built-in troubleshooters, etc.
My last job gave me a windows machine. I tried using Windows Hello for login and... it broke Outlook. Apparently this was a known bug.
My solution? Type my strong password at every reboot and move to using the Yubi key they offered me. Great, I like Yubi keys. Oh, I can't set a security key as my primary means of 2 factor? My options were Hello or using the Microsoft authenticator phone app (couldn't use my other OTP app...). So every single login always started with "Sign in with Hello or use a security key". If using Hello I could just tap my finger and move on (and Outlook might crash silently). If security key I had to go through this dumb process of clicking: "use another device", "security key", "next", "type credentials", "tap security key", "ok". I think that needless "next" button was what really got under my skin. It was already a manufactured problem but an extra dialogue screen that is just doing nothing. Quite Kafkaesque.
The flip side though is that on Windows you can run an installer from 20 years ago, or sometimes even just copy the program directory over, and it will work. You might not have to reinstall Linux, but you'll have to update it and sometimes those updates mean that old stuff starts working. The big win of Windows for a long time was that old stuff would still work no matter what, and you could maintain old workflows on newer computers till kingdom come.
That advantage has been lost with Win10, which jumped on the constant-update bandwagon and took control away from the user. For me that's what tipped the scales to Linux.
What distro are you on? I have `FastConnectable` off and `JustWorksRepairing` as never. Both are the defaults. I use a bluetooth connected mouse every day and an xbox controller quite frequently.
I think the issue might be something else and that these names are just not great names. Personally I think "Just Works" is a terrible name and I don't understand how something so non-descriptive and confusing was allowed... but that's a different conversation... (2 jokes in CS?)
A little note on "Just Works". It probably doesn't matter for your use case but understanding that
I always get like three weeks into using Linux and then find out some obscure functionality is missing in a super annoying way. "Oh sorry, you can't use that model of touchscreen and a Bluetooth mouse at the same time"
According to the comment in the config file for FastConnectable, "the tradeoff is increased power consumptions". Doesn't say anything for JustWorksRepairing, although in a quick search I read some stuff about security issues, so perhaps that's why?
I've used Bluetooth for a number of devices for about ten years, and I didn't even know there's a config file until now! Thus far, it's been mostly a "just works" experience except for the battery level on by BOOM 3 speaker, but that's their fault for doing some proprietary bollocks.
Not sure where I fall on that one. In business, it is said that one ought to focus on core competencies and let other companies handle the rest. Why shouldn’t a country do the same? Should low level manufacturing be a core competency of the US? Why? Turning steel into screws is certainly lower margin than turning screws and engines into airplanes.
Because there's no higher power that can prosecute China for antitrust violations if they ever leverage our dependence on them against us. America is making the same mistake Europe made a few decades ago, which is constantly downsizing itself into irrelevancy because "helpful" countries are more than willing to take on the burden of economic domination. When we reach the point that all we make is fiat currency and software then we have nothing to offer the rest of the world and we become decadent and impotent.
Also our airplanes suck, you could not possibly have picked a worse example of American heavy industry than the Boeing corporation.
Except American movies(and entertainment in general) haven't been good for about 10 years now, it's all slop based on established IP from 20-30 years ago.
When I was a kid growing up in the post communist 90-00s, we were going nearly weekly to the cinema to watch the latest American movies: Blade, Shrek, Toy Story, The Matrix trilogy, LotR trilogy, American Pie, Batman trilogy, Pirates of the Caribbean trilogy, Fast & Furious, X-Men, Spider-Man, Star Wars, Scary Movie, Rush Hour, etc
We couldn't get enough of US entertainment, while now everyone here avoids the new US releases like the plague since it's only cash grabs injected with $CURRENT_DAY identity politics, diversity box ticking based on focus group testing, resulting in sterile, predictable, zero-humor, zero-edge, zero-creativity slop that's not even worth pirating.
Americans have no idea how much soft power they lost worldwide by forcing their identity politics and ideologies in entertainment. Japanese anime and Koran movies and TV shows now run rings around the US entertainment industry.
You just listed a set of blockbuster movies mostly aimed at children and teens. You’re not going to relate to that category as much anymore because you’re not a child.
The superhero movies that have filled that niche are by any measures wildly popular.
As is traditional with these weird complaints about diversity in modern movies, most of your good old days classics examples are in fact "slop based on established IP".
I know kids in the target demographic have a place in their heart for them but Star Wars prequels given as a positive example while complaining about 30 year old IP slop?
You may also have missed the subtle subtext in Star Wars about fascism.
> these weird complaints about diversity in modern movies
You're twisting my words to move the narrative goalposts. Nobody complained about diversity in movies (otherwise I wouldn't have praised Rush Hour and Blade). The complaint was about US movies today being solely built around a toxic form of diversity checkbox ticking, masquerading as entertainment, which is not interesting to anyone outside the US crowds of movie goers who care more about seeing $CURRENT_DAY political issues in their movies instead of recognizing entertainment as being fantasy escapism, which causes the US to loose soft power abroad, and judging by how they flop at the box office, US viewers aren't interested in paying for this slop either.
>most of your good old days classics examples are in fact "slop based on established IP".
Source that they're slop?
>but Star Wars prequels given as a positive example while complaining about 30 year old IP slop?
The prequels were considered shit at the time because they were compared to the original masterpieces, but compared to the modern Star Wars that Disney shits out today, they're basically gold. They ended up ageing like wine due to how bad we have it today.
>You may also have missed the subtle subtext in Star Wars about fascism.
In the pandemic there was a lesson I read somewhere that I will always keep with me and repeat: "efficiency" and "resiliency" are opposing points on a spectrum. Once you hear it I think you'll see it everywhere. What you describe is efficient but it isn't resilient.
This. As someone who spends a lot of time thinking about national security problems, it's hard to convey how badly the 1980s MBA education failed us as a country. "Greed is good." Sure, Gordon. For who? Who's greed is good for who? How about the people of the country labor for the long term wealth of the nation? How about we all work for the long term wealth of the planet?
> In business, it is said that one ought to focus on core competencies and let other companies handle the rest.
In contrast, "Maximally efficient is minimally robust."
Something that business intelligentsia propagates should be given extra scrutiny. Why should you assume that statement about core competencies is correct, a priori? We have lots of evidence that statement isn't true in general. And we have mountains of evidence that such statements tend to be more incorrect the longer a time horizon you account for.
Vertically integrated businesses aren't rare. Everybody loves being a fabless chip company--until an earthquake or a pandemic hits. Designing chips was not a core competency for Apple--until it was and suddenly you have the M1. GE outsourced water heater manufacturing and lost their core competency to design them. etc.
>it is said that one ought to focus on core competencies and let other companies handle the rest. Why shouldn’t a country do the same?
Because a country isn't a business. If a companies falls out, they move on to another company based on the market.
If a country falls out, we go to war and sanction everything. If you can't survive those sanctions, the war is lost before any blood is spilt. Or at least any blood spilt by foreign invaders; the citizens will burn down the country for you instead.