6,970 karma · joined March 29, 2008
https://github.com/cabalamat/catwiki_p3
I've never used Kubernetes, but have seen it described as a PITA to set up and use, which is why I'm not keen on it.
> Deploying web applications from GitLab to major cloud providers should be trivial.
Yes, that's what I want! I find it easy to develop web apps in Python, but a PITA to deploy them.
If not, what does it mean? What is Gitlab letting me do now than (a) it didn't do before (b) Github doesn't do?
Right now Zelinskyy and Ukraine are covering themselves in a lot more glory than Putin and Russia.
> Righteous causes eventually sort themselves out, right?
I think Putin psyched himself up into believing his own propaganda. He's probably surrounded by yes-men who tell him what he wants to hear, too. Oops.
> Much of the discussion is presently framed as a moral imperative. We must act to punish Putin.
Sure. Morality is intuitive game theory, after all.
I agree, actually. For example, the original Islamic expansion, and later the crusades that were a response to it, were both explained in moral terms. (these demonstrate how manipulating consensus reality is a core competency for rulers). And the people who fought in these wars genuinely honestly believed they were acting morally and serving a higher purpose.
Or, a more recent example: part of the reason NATO intervened in Kosovo in 1999 was that they were ashamed they hadn't done so in Bosnia a few years earlier.
If they want to, that's up to them. It wouldn't surprise me if China did do something like this.
> Your complete inability to be a fair global hegemon
Hey, (1) I personally am not a global hegemon. (2) I was describing the way things are not how they ought to be. You should work on distinguishing is from ought; if you can't you'll never understand anything.
FWIW I personaslly think a fair bit of US policy is both immoral and self defeating. But, again, that's irrelevant, because as I said, geopolitics isn't a morality play.
> Where are you going to get your silicon chips from if the Republic of China reunifies with the People's Republic of China?
I'm European and I think the EU should be self-sufficient in chips. This is because any polity that isn't won't in the long term be fully independent.
> US wants to play by different rules than everyone else, not sure that works long term.
"The strong do what they can and the weak suffer what they must" is a rule thast's worked so for for all 5000 years of recorded history (with a few counterexamples). Is that lnog term enough for you? Is that just? No. Does it matter (i.e. affect the course of events)? Not usually.
> I hope you're ready for the era of multiple US-hostile nuclear powers.
A world with lots more nuclear powers may well happen, depending on the result of the present Russia-Ukraine war.
And realistically, there is nothing UK can do that would prevent KSA killing people in Yemen, even if UK did want do.
Which countries are the UK in bombing civilians right now?
Russia is the only country in the world with a massive formal alliance of major world powers reigned against it. This is because of continued Russian aggression and atrocities going back a long time.
I assume that a Russian accessing a Russian website would be unaffected by any such measures.
Also, I wonder what backdoor facilities the NSA put into Apple and Android phones? The US would very much like to continue getting any such intelligence.
Wrong question. Whether they "should" in any moral sense is not a useful way to think about things because geopolitics isn't a morality play. Clearly effective sanctions against USA were a non-starter because it is too big and rich a country and does a lot of trade with the outside world.
> Realize that our next Iraq or Vietnam this new standard could be applied to us or any other country.
Nope. Effective sanctions won't happen against big powerful countries (or coalitions of countries, e.g. EU, NATO).
Agreed. Keeping the net open helps the West win this war. Russians turn to e.g. the BBC, because they know its more reliable than their own media.
When I define something as a `StrField` I'm already saying it's a string, so I shouldn't have to say it again elsewhere. It would be nice if Python has an API such that I can write code within my `StrField` class that tells python that `title` is a `str`, but to the best of my understanding this doesn't exist.
Then don't make it look "in line with any modern design". Make it look like an HTML select tag, because that's what it is.
Functionality should (nearly always) trump prettification. (Especially when the results are pretty anyway).
class Book(MonDoc):
title = StrField()
yearPublished = IntField()
Is it possible to give run-time types to `title` and `yearPublished`, in a way that works with mypy and the Python typing ecosystem? If so, is there a tutorial on this, as I'd like to add the feature to my ORM.Can I suggest you put this at the top of your README.md file, as I had never heard of Prisma before and it would have helped.
> Prisma Python
Is your program called Prisma Python or Prisma Client Python? You seem to be inconsistent with naming.
I'm sure it is! That's why I'd be leery of using it in production code.
The new thing would have to have different incentives, or the same problems would just re-occur.
Do other tractor manufacturers have Deere-style DRM? I imagine some don't.
Doing it the if-statement way is the clearest and easiest for other programmers to follow, therefore it is the best way.
Most jobs are pointless in the global scheme of things.
Or the ability.
They are certainly accomplished liars.