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

help-circle









  • ApexHunter@lemmy.mltoProgrammer Humor@lemmy.mlcoding chess
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    5 months ago

    The reply would have been return x % 2 == 0, or if you wanted it to be less readable return !(x&1).

    But if you were going for a way that is subtly awful or expensive, just do a regex match on “[02468]$”. You don’t get a stack overflow with larger numbers but I struggle to think of a plausible bit of code that consumes more unnnecessary cycles than that…



  • That guy is essential the head of the Republican party, which controls half of Congress and holds a majority of seats on the Supreme Court. When he says jump all of the other Republicans ask how high, while they all try to figure out ways to 1up each other to please him.

    So when he speaks, he indicates what he wants to happen which telegraphs actions of all of his sicophants. So if he says “torpedo the border bill” it gets canned. If he says IDGAF about NATO, you can be sure China and Russia see an opening they can exploit.




  • Agree no difference as an ingredient in some baked dish.

    But if you are eating the egg by itself or as the primary item, there is definitely a difference in taste. Not a revolutionary change your life difference, but still a difference.

    In my experience the difference is pretty small amongst the options in the grocery store, but fairly noticable for eggs I get from the farmers market.






  • I bought my first house in 2010, during the last dip in the housing market. Sold every asset I could for the down payment and end up with a mortgage payment I could afford. The value of the home has since increased 3x from when I bought it; I couldn’t afford to buy the place today, let alone move someplace else. My major source of frustration has been property taxes, which now cost 1.5x more than my mortgage payment. I’m not entirely certain I’ll be able to STAY in this place if they keep going up 20%/year like they have been.