• 0 Posts
  • 38 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
    4 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.








  • The article “conveniently” omits the names of pilot states and the eligibility criteria, so I dug them up:

    The Direct File pilot is available to eligible taxpayers residing in Arizona, California, Florida, Massachusetts, New Hampshire, New York, Nevada, South Dakota, Tennessee, Texas, Washington, and Wyoming.

    You may be eligible to join the pilot if you live in a pilot state and report these items on your 2023 federal tax return:

    Income

    • W-2 wage income
    • SSA-1099 Social Security and RRB -1099 railroad retirement income
    • 1099-G Unemployment compensation
    • 1099- INT Interest income of $1,500 or less

    Credits

    • Earned Income Tax Credit
    • Child Tax Credit
    • Credit for Other Dependents

    Deductions

    • Standard deduction
    • Student loan interest
    • Educator expenses

    The pilot is not an option for if you:

    • Have other types of income, such as gig economy or business income
    • Itemize deductions
    • Claim other credits like the Child and Dependent Care Credit, Saver’s Credit or the Premium Tax Credit

  • For first names we separately compiled lists of names that we liked from whatever sources we could find (Internet lists, books, media l names used in media, etc). We went through each other’s lists and vetoed names that were a hard no. Then we wrote the names out on a sheet of paper in random order in a playoff bracket style arrangement. Each pair had a winner until there was only one.

    For middle names, it had to be something that flowed well with the first name. It also had to be able to convey that special sense of “you done fucked up” and disappointment when said with the first name (while emphasizing the second), like “John PAUL”. Finally, candidates were from (mostly deceased) family members.

    Names and initials were checked to minimize bullying potential; if we could think of a way to abuse it the name or combination was rejected. For example, Karen would be a no due to current slang usage. Or if the initials would spell ASS.


  • Two wrongs don’t make a right. Criticizing Israeli actions is not implicit approval of Hamas actions.

    The challenge here is that Hamas are generally considered to be the bad guys. You expect the bad guys to do evil shit.

    Israel is supposed to be the good guys in this scenario. Being the good guys means you are not expected to do evil shit, and are supposed to do the right thing even if it is harder. Except right now they are doing orders more magnitude evil shit than the bad guys. I don’t think it is unfair to call them out on that.