• 0 Posts
  • 9 Comments
Joined 1 year ago
cake
Cake day: August 4th, 2023

help-circle
  • All junior devs should read OCs comment and really think about this.

    The issue is whether is_number() is performing a semantic language matter or checking whether the text input can be converted by the program to a number type.

    The former case - the semantic language test - is useful for chat based interactions, analysis of text (and ancient text - I love the cuneiform btw) and similar. In this mode, some applications don’t even have to be able to convert the text into eg binary (a ‘gazillion’ of something is quantifying it, but vaguely)

    The latter case (validating input) is useful where the input is controlled and users are supposed to enter numbers using a limited part of a standard keyboard. Clay tablets and triangular sticks are strictly excluded from this interface.

    Another example might be is_address(). Which of these are addresses? ‘10 Downing Street, London’, ‘193.168.1.1’, ‘Gettysberg’, ‘Sir/Madam’.

    To me this highlights that code is a lot less reusable between different projects/apps than it at first appears.


  • As I was discussing this with my partner we summarised this as:

    Humans have always had the capacity for violence and murder; as populations grew, acts of violence could be larger, both in terms of number of combatants and also length of time of continuous fighting. This is a progression of:

    • Small bands of people skirmishing with neighbours to
    • Towns sending small raiding bands to
    • Cities fielding an army for a summer campaign to
    • Empires furnishing professional armies and sending them on multi-year campaigns, to
    • Nation states using advanced logistics to maintain millions of soldiers in the field for years at a time.

    Somewhere between city-states and full modern nation states, there have been full on campaigns of genocide. But genocide can be thought here definitionally as only possible with some significant number of people.

    Unfortunately there is a deep dark part of the human psyche that has always been with us.


  • I hear what you’re saying, but there’s a counterpoint to this.

    In prehistoric times, population densities were low. In mesolithic times (hunter gatherers) there were simply no concentration of people large enough to wipe out or to do the killing. Nothing could be called genocide at this time.

    In neolithic times (the first farmers) violence was definitely a part of life. Some early towns do show signs that they were destroyed. But again, population densities are low enough that the scale of violence would not be enough to call ‘genocide’. It’s a town burnt down with everyone murdered, not a ‘people’ - whatever that might mean at this time. This is not about egalitarianism - it’s population density.

    However as we move to the bronze age, there are definitely signs that large scale events occur that might fit into the modern concept of genocide but archeological evidence is severely lacking. The main line I would argue is that the male lines of the neolithic farmers in Europe are hammered and almost completely replaced with the Yamnaya Y chromosomes across a huge expanse - from the east european plains to the Iberian peninsula. Genetic continuity with the neolithic farmers is maintained though indicating that male newcomers were having children with local women, and very few male locals had children. During this event the culture changed hugely - burial patterns, material goods, etc.

    I don’t know if we can call this genocide - at least the full modern concept - because these changes took centuries to roll out across the expanse of Europe, but they speak to local conquests and, at the very least, the newcomers prevented local males from having their own families. At worst you can imagine a constant expansion of this new culture taking control of new areas, killing the men, taking local women as concubines and eradicating their gods, customs and ways of living. Quite a lot of genocidal checklist items ticked off there.

    By the mid to later bronze age, genicide is definitely a widespread thing, recorded in many texts.



  • This is exactly the answer.

    I’d just expand on one thing: many systems have multiple apps that need to run at the same time. Each app has its own dependencies, sometimes requiring a specific version of a library.

    In this situation, it’s very easy for one app to need v1 of MyCleverLibrary (and fails with v2) and another needs v2 (and fails with v1). And then at the next OS update, the distro updates to v2.5 and breaks everything.

    In this situation, before containers, you will be stuck, or have some difficult workrounds including different LD_LIBRARY_PATH settings that then break at the next update.

    Using containers, each app has its own libraries at the correct and tested versions. These subtle interdependencies are eliminated and packages ‘just work’.


  • modeler@lemmy.worldtoNo Stupid Questions@lemmy.worldHow to recognize words
    link
    fedilink
    arrow-up
    8
    arrow-down
    2
    ·
    edit-2
    10 months ago

    If you are anxious about the processing of words, most definitely this is possible, but I am 100% not saying that it is definitely the cause of your problems.

    You are right now highly self-conscious that you might have a crippling brain condition. Also, every time you say something or write something down, you are also monitoring yourself to check out whether it continues to be true or getting worse. In so doing, you might be suffering this effect due to the anxiety that this is causing - you mind is so much more focused on the fear than on the word, which confirms that the word is somehow different in your head now.