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












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



  • 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