• 0 Posts
  • 189 Comments
Joined 2 months ago
cake
Cake day: March 22nd, 2025

help-circle







  • skisnow@lemmy.catoPolitical Memes@lemmy.worldinsane if true
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    3
    ·
    3 days ago

    Ah but that’s my point, you can’t compare like for like because the value of a house is far more than just the physical building. It’s location, location, location, and the town your house is in is a whole different place to what it was in 1968.

    Again, not defending the state of the market, just pointing out that extrapolating this out to the requirements of minimum wage is more complicated that calculating 500,000/19,500



  • skisnow@lemmy.catoBluesky@lemmy.worldHilary isn't playing
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    4
    ·
    3 days ago

    Hillary was targeted by at least as much politically motivated investigations into her affairs as Trump got, and they all ended up going nowhere, whereas Trump got convicted of 37 felonies. But that doesn’t seem to stop MAGAts rushing to post “crooked Hillary” and make suspiciously vaguely worded accusations every time the opportunity arises.

    Notice how they never actually go into detail, because doing so would then require them to show evidence, so it’s only ever “she was bought by the corporations” and “she knows all about corruption”.


  • skisnow@lemmy.catoPolitical Memes@lemmy.worldinsane if true
    link
    fedilink
    English
    arrow-up
    39
    arrow-down
    3
    ·
    3 days ago

    insane if true

    It’s actually quite difficult to compare like-for-like.

    You can take the average or median price, but then this ignores the fact that as more people move towards the big cities, the average house isn’t the same thing as it was in 1970.

    The other problem is overlooking interest rates. The 70s and early 80s was an extremely volatile time, with typical mortgage rates hitting over 10%, 15%, and over 20% at various points. Taking out a $12,000 mortgage ran the risk of your monthly repayments shooting up to $200 in interest alone, at a time when minimum wage was $267/month.

    So, $66 is probably true for a very particular interpretation, but I’m sure you could just as easily find a way for it to come out as $65 or $67.

    None of the above should be read as a defence of capitalism or of landlords, just pointing out some details that often get missed.




  • The code is a set of preprocessor macros to stuff loads of booleans into one int (or similar), in this case named ‘myFlags’. The preprocessor is a simple (some argue too simple) step at the start of compilation that modifies the source code on its way to the real compiler by substituting #defines, prepending #include’d files, etc.

    If myFlags is equal to, e.g. 67, that’s 01000011, meaning that BV00, BV01, and BV07 are all TRUE and the others are FALSE.

    The first part is just for convenience and readability. BV00 represents the 0th bit, BV01 is the first etc. (1 << 3) means 00000001, bit shifted left three times so it becomes 00001000 (aka 8).

    The middle chunk defines macros to make bit operations more human-readable.

    SET_BIT(myFlags, MY_FIRST_BOOLEAN) gets turned into ((myFlags) |= ((1 << 0))) , which could be simplified as myFlags = myFlags | 00000001 . (Ignore the flood of parentheses, they’re there for safety due to the loaded shotgun nature of the preprocessor.)



  • Back in the day when it mattered, we did it like

    #define BV00		(1 <<  0)
    #define BV01		(1 <<  1)
    #define BV02		(1 <<  2)
    #define BV03		(1 <<  3)
    ...etc
    
    #define IS_SET(flag, bit)	((flag) & (bit))
    #define SET_BIT(var, bit)	((var) |= (bit))
    #define REMOVE_BIT(var, bit)	((var) &= ~(bit))
    #define TOGGLE_BIT(var, bit)	((var) ^= (bit))
    
    ....then...
    #define MY_FIRST_BOOLEAN BV00
    SET_BIT(myFlags, MY_FIRST_BOOLEAN)
    
    


  • Yes. This is basically the core of why capitalism eats itself.

    You don’t have to be evil or short-sighted to be a CEO, but if you don’t do evil and short-sighted shit to pump the share price there’s a high probability the board will replace you with someone who will.

    This is why I believe the government should hold stock and sit on the boards of any company that gets publicly listed. Much easier than tying yourself in knots with an adversarial system of complex regulations.