• 0 Posts
  • 25 Comments
Joined 2 years ago
cake
Cake day: August 4th, 2023

help-circle
  • Islam, just like Christianity, has many different groups that believe the same basic doctrine but disagree on many points. The main splits in Islam (that echo some aspects of the Catholic vs. Protestant split) as Sunni and Shia. Each divides and divides again into small communities centred on one mosque (just as, eg, Protestantism divides and divides down to individual congregations).

    The big question is: how do groups of people decide which parts of the religious documents, history and practice are more relevant or even correct?

    Some groups are quite ‘secular’ (like the Church of England) while others are quite ‘fundamental’, meaning that they much more strictly follow whatever the group decides are the foundation of the religion.

    Is it possible to be able so say which of these groups is right? It seems to me that we have been fighting over this since before records began, so we most definitely do not have a way to do this that any majority agrees with. I don’t think anyone can say:

    Islamist groups purposely … twist actual Islamic ideology while the Christian Right just doesn’t understand the religious text they claim to follow.





  • Yes!

    But the covid situation is way worse than you think. The government stimulus was really helpful to the poor and middle class, but they spent all that money.

    And who profited from that? The asset owners. Covid stimulus essentially was a direct transfer from the government to company owners and house rentals. These rich guys then used it to buy other assets such as more houses, equities and businesses. That’s why the stock market went up - your money went straight into it.


  • Yeah, but let’s consider what happens:

    • Tariff applied
    • Prices go up
    • Supermarket trolleyfull becomes more expensive
    • People have less money to buy other things
    • Companies sell less
    • Company profits fall
    • Stock valuation drops
    • GDP falls

    That’s why the Dow Jones and S&P are lower - this shrinks company profits and US GDP.










  • modeler@lemmy.worldtovegan@lemmy.worldThat is not vegan.
    link
    fedilink
    English
    arrow-up
    3
    ·
    10 months ago

    As an aside, oysters are not bivalves, they are brachiopods. Brachiopods do have a nervous system - some even have eyes.

    What’s the difference and how do you tell a brachiopod from a bivalve? It’s the plane of symmetry. In bivalves the plane of symmetry is where the shells (also known as valves) join. So bivalves have two identical shells. Whelks and razor shells are bivalves. Brachiopods also have two shells, but the shells are normally quite different. The oyster for example has one big concave shell and one small flat one on top. The big shell has a hole at the apex (just next to the hinge) and a root-like anchor grows from it to bind the brachiopod to the matrix on which it lives. Brachiopods have an axis of symmetry from this root/foot that vertically separates each shell into two mirrored parts.




  • 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.



  • I don’t think that the anti-oop collective is attacking polymorphism or overloading - both are important in functional programming. And let’s add encapsulation and implementation hiding to this list.

    The argument is that OOP makes the wrong abstractions. Inheritance (as OOP models it) is quite rare on business entities. The other major example cited is that an algorithm written in the OOP style ends up distributing its code across the different classes, and therefore

    1. It is difficult to understand: the developer has to open two, three or more different classes to view the whole algorithm
    2. It is inefficient: because the algorithm is distributed over many classes and instances, as the algorithm runs, there are a lot of unnecessary calls (eg one method on one instance has to iterate over many instances of its children, and each child has to iterate over its children) and data has to pass through these function calls.

    Instead of this, the functional programmer says, you should write the algorithm as a function (or several functions) in one place, so it’s the function that walks the object structure. The navigation is done using tools like apply or map rather than a loop in a method on the parent instance.

    A key insight in this approach is that the way an algorithm walks the data structure is the responsibility of the algorithm rather than a responsibility that is shared across many classes and subclasses.

    In general, I think this is a valid point - when you are writing algorithms over the whole dataset. OOP does have some counterpoints encapsulating behaviour on just that object for example validating the object’s private members, or data processing for that object and its immediate children or peers.