• 0 Posts
  • 254 Comments
Joined 1 year ago
cake
Cake day: July 3rd, 2023

help-circle
  • expr@programming.devtoProgrammer Humor@lemmy.mlI love Rust
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    1 day ago

    Don’t need the Ord instance for equality, just Eq is sufficient. Ord is for inequalities.

    The point of the post is that most mainstream languages don’t provide a way to automatically derive point-wise equality by value, even though it’s pervasively used everywhere. They instead need IDEs to generate the boilerplate rather than the compiler handling it.


  • Ah could be hardware/OS, yeah. I believe everyone at our company are on MacBooks (I’m a Linux guy myself, but orgs don’t usually like that).

    My personal laptop is a Dell XPS 13 and while I like it for various reasons, it has had plenty of problems with the built-in mic and video (mostly the mic). So it very well could be that.












  • Yeah, the huge trucks and suburbans are pretty insane. I’m American and drive a small-ish SUV (2023 RAV4 Hybrid) and we fill the extra cargo space (and passenger seats) all the time. Groceries can do it (not all the time though), especially if making one of our (infrequent) runs to Costco to restock on stuff that’s a lot cheaper/more useful to buy in bulk. The other day I used the cargo space to transport a large (6 ft/1.8m) folding table and 8 folding chairs for my son’s birthday party. And speaking of kids: car seats, strollers, diaper bags, etc. need a fair bit of room.



  • expr@programming.devtoMicroblog Memes@lemmy.worldLine go up
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    19 days ago

    No, there are many different kinds of stocks with different terms. Stocks are an asset with value, regardless of whether or not dividends are paid out. It’s very commonly the case for shares to be issued with no dividends paid because profits are reinvested back into the company with the goal of increasing the share price for some future massive liquidation event (like an acquisition).

    Shares also represent ownership in a company and thus their value is also in the leverage it can give potentially give you in said company.