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

help-circle
rss




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





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