• 0 Posts
  • 128 Comments
Joined 1 year ago
cake
Cake day: June 17th, 2023

help-circle
  • By February, Ukraine is gone. They already struggle not to win, but just to exist. European aid is not enough, and Ukraine will disappear from maps. The Baltics are next. Moldova is next. Poland is next. Georgia is next. Finland is next. Taiwan is gone. South Korea might survive, but won’t ever look the same. NATO is gone. Chinese and ruzzian influence in Africa and South America will grow tenfold. There is no superpower to keep ruzzia and china and north korea and iran in check anymore. Worst, when WWIII start, you will be on the Axis side.

    All of that is a win for them. They are not leftist, they are autocratic revanchists. Hurting undesirables was always more important to them than helping others or even themselves, it’s just the definition of “undesirables” that they disagree on with far right.





  • Bilingualism is a bit overloaded nowadays, which I find kinda annoying given that word “polyglot” exists.

    Anyways, if you can freely use another language in an informal exchange with a few people of different sobriety levels while failing to remember key words and recovering from that - you’re a fluent polyglot. Ability to exchange information is a key part of what language is, and that’s how you measures your proficiency.

    Bilingual can also mean “natively proficient in two languages”. And if you’re older than three years old and are not native speakers of multiple languages already, the chances of you becoming one are slim.

    Native proficiency is a result of a language acquisition ability that is not well understood and disappears early into child development. It results in a level of effortless mastery that seems to be impossible to achieve as an adult, i.e. a dedicated or merely attentive native speaker will be able to recognize that you are not one.



  • It’s not “people vs persons” but “those people vs they”.

    Conversationally, “those/these” distances you from the group you are talking about, which is humorously weird when it’s your family you’re talking about.

    It’s not the meaning of the words, but habitual (and often fleeting) attribution around them that tripped you up.

    PS: “People” are uncountable, “persons” are countable. That’s basically the whole difference between the two plurals. Although it’s rapidly disappearing, as “ten people” won’t raise a single eyebrow in a conversation.














  • The author clearly doesn’t realize that they still mock in their examples. I understand the annoyance with mocking away the complexity, however.

    To address your second claim - doing IO in tests does not mean testing IO.

    I test my file interactions by creating a set of temporary directories and files, invoking my code, and checking for outcomes. That way I can write my expectation before my implementation. This doesn’t test IO, merely utilizes it. The structure in temp that I create is still a mock of an expected work target.

    Very similarly I recently used a web server running in another thread to define expectations of API client’s behavior when dealing with a very ban-happy API. That web server is a mock that allowed me to clearly define expectations of rate limiting, ssl enforcement (it is a responsibility of an API client to initialize network client correctly), concurrency control during OAuth refreshes etc., without mocking away complexities of a network. Even better, due to mocking like that I was able to tinker with my network library choice without changing a single test.

    Mocks in the general sense that author defined them are inevitable if we write software in good faith - they express our understanding and expectation of a contract. Good mocks make as few claims as possible, however. A networking mock should sit in the network, for example, lest it makes implied claims about the network transport itself.