I remember reading part of a study a few years ago that noted that youtube was the only social media (in the study) that didn't negatively affect mental health. In fact it had a slight positive impact.
That was their position once NATO had expanded eastward.
Here's an extract from a NATO report[0] in 2000. The whole chapter is genuinely worth a read:
> Nevertheless, in August 1994, Boris Yeltsin again said to the reporters, that Russia could join NATO in due course. Then, during 6-7 years, this question was not raised by the Russian political elite and the mass media. The main reason for that was NATO’s expansion to the East...
Russia actually has a long history of wanting to join [1]
I don't know who this Mearsheimer is, but your comment is essentially ad hominem because you haven't addressed the point. If it helps you, the same thing has been said by others e.g. Chomsky.
Could South Africa join NATO? Thailand? Russia themselves asked to join but were rejected.
The national lottery in the UK sends about 25% of the money to charities, so for some it's a form of charitable giving. Also what the other commenter said about dreaming.
When I visited Morocco I discovered that haggling is seen as an intrinsic part of a transaction. A lot of tourists aren't used to haggling or are afraid to do so out of a perceived risk of offending the seller. But if you don't haggle Moroccans will perceive you as weak, even if you think you've got a great deal paying face value.
I was given a fresh copy of Windows at work the other week and had to install all tooling afresh. I decided to take the opportunity to try meld.
The first merge I did, even after reading the website, I couldn't fathom it. I understood the paradigm of merging into $BASE but couldn't figure out how to simply take these 5 lines from $REMOTE and these 3 from $LOCAL, so went back to the trusty Beyond Compare.
Kinder Bueno is a good example of what I'm taking about. I know it has hazelnuts in. There's no bitter cocoa 'kick', just a sticky sweet taste. It's like chocolate for people who don't like the taste of chocolate.
I see. It was the ambiguity over your usage of 'imaginary problems'. But yes - your previous comments seem to suggest we're actually on the same page regarding patterns.
I put it to you that the OOP concept of a factory exists because in OOP your factory is often (though not always) a type, and types tend to need names.
In e.g. FP there are no objects and therefore no instantiation but you can separate this kind of logic all the same, except you wouldn't call it anything, or would name it like any other function.
For the record I've been doing mainly OOP and have dabbled in F# so I'm happy to learn something today.
This is a fundamental misunderstanding of what patterns are. The GOF book is used to this though.
A design pattern is someting that will naturally crop up if you adhere to certain design principles. If you follow a principle of separating instantiation logic from other logic then you will start to see factories. If you combine multiple complex parts of your code into simpler ones then you will see facades.
GOF is a reference book for some patterns that have been observed as being common, with examples that are essentially academic. It is not a how-to guide for OOP.
I made a WordPress site for a friend through Ionos's managed offering. After a couple of months of the site being up, they decided to detach the database for literally no reason. I had to go through support to get it back up. I'm guessing it got erroneously flagged as over its quota, but they couldn't explain why it happened. Just my experience.
I was considering introducing the OneOf library into our codebase, but if this is < a year or so away it might not be worth the effort.