• 0 Posts
  • 238 Comments
Joined 2 years ago
cake
Cake day: July 13th, 2023

help-circle







  • Low population, low density, lots of farm land, can count the number of houses in a mile stretch of road on your fingers. May have one small commercial area within 15 miles with a dollar general, a gas station and, if you’re lucky, a grocery store. Not nearly enough businesses nearby to employ people even the measly number of people there that isn’t a farmer, so they commute to neighboring towns or counties to find work in factories, possibly dozens of miles away. I basically just described where my sister lives in Tennessee.






  • What difference does most of that make? Sharing a room with others, sure. But I don’t walk around the house hanging dong just because I sleep in the buff. I put on some pj pants and a shirt, at minimum, to leave the room. My roommates have never cared what i slept in as long as it didn’t flash them on the way to the bathroom in the middle of the night.

    My wife and I have our own room. I have a door, it is shut at night while I’m asleep and doesn’t open again until I get dressed in the morning. If you open it in that time and see penis and scrote or hairy ass cheeks, that’s on you. I don’t care if you’re a roommate asking me a question, a 6 year old that had a nightmare, or a fireman saving my life. You know what you risked when you turned the knob. If you give me a second of heads up or wake me and then wait for a sec, I’ll put on something. But I’m not sleeping in twisted up boxers with sweaty nuts sticking to my legs to make life more comfortable and convenient for everyone else in the house.



  • Its the min value of the input params, or Infinity.

    And the reason it’s Infinity If there is no input, for better or worse, under the hood the method is assigning a variable, min, the highest value possible and then comparing it to each element in the list, reassigning it when it encounters an element lower than its value at the time. So it will obviously always be reassigned if there are any elements at all (if they’re less than Infinity, I guess). But if there are no elements, it’s never reassigned, and thus returns Infinity. It could have just signed min to the first element instead if Infinity, but that would lead to a runtime error when min was run without a function. If you’re not going to throw a runtime error though, it makes sense for min to return Infinity because, what other number could you return that couldn’t actually be the minimum