Web Developer by day, and aspiring Swift developer at night.

  • 1 Post
  • 214 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle

  • I’m probably going to get a lot of hate for this, and I do recognize there have been problems with it all over the place (my code too), but I like null. I don’t like how it fucks everything up. But from a data standpoint, how else are you going to treat uninitialized data, or data with no value? Some people might initialize an empty string, but to me that’s a valid value in some cases. Same for using -1 or zero for numbers. There are cases where those values are valid. It’s like using 1 for true, and zero for false.

    Whomever came up with the null coalescing operator (??) and optional chaining (?->) are making strides with handling null more elegantly.

    I’m more curious why JavaScript has both null and undefined, and of course NaN. Now THAT is fucked up. Make it make sense.


  • You obviously don’t suffer from a sensitive circadian rhythm. To that I’d say, lucky you. But there are plenty of people who do suffer. And by the time they finally get used to the time change, it’s time to change again. It’s vicious and disruptive; to more than just scheduling. It has a direct (negative) impact on physical and mental health.







  • They have simulated conditions in the parts of the accommodation most exposed to the sun and have tested the effectiveness of the cooling system with an objective to keep the indoor temperature between 23 and 26 degrees Celsius (73 and 79 degrees Fahrenheit).

    Then it continues with:

    The geothermal energy system will ensure that the temperature in the athlete apartments in the Seine-Saint-Denis suburb does not rise above 26 degrees Celsius (79 degrees Fahrenheit) at night…

    They also go on to say that the apartments will be around 11°F cooler than outside temps, which are expected to be over 100°F.

    Let’s just stop for a second and let that sink in. First of all, who keeps their houses up to 79°F at night? Is that a thing in Paris/Europe? Do they have ceiling fans or standing fans to keep the air moving?

    That aside, these are athletes who spend their daytime hours sweating their asses off, performing feats us mere mortals couldn’t dream of achieving. And, yet they are expected to “adapt” to have to suffer at night too? Fuck that noise.

    I’m all for reducing our carbon footprint, and finding more natural ways to keep cool in the hot summer months. But we also have to be practical and reasonable. I don’t blame those countries for giving France the middle finger and bringing their own ACs.


  • I get where you’re coming from, but given the cost of equipment these days, it’s important to consider whether or not the zero-config big box brand stuff will be around long enough to be worth the cost. While it’s a PITA to spend your efforts setting this all up, doing it yourself using open protocols can be worth it in the long run. And 9 out of 10 times, when you do it yourself, you can just leave it alone and forget about it.

    Edit: there is a good write-up between zigbee and matter, and for ease of use it looks like matter would be better for your use cases.







  • I am all for finding better ways to tackle sexual assault of any kind. But this is simply too far. As others I. This thread have pointed out: it’s cruel and unusual punishment, and doesn’t address the root of what drives sexual predators.

    I’d like to add a new element to the conversation: wrongful convictions. Everyone already knows that going to jail as a child molester is probably going to end up very badly for them. So I could see people choosing castration as the lesser of two evils.

    The National Registry of Exonerations found that Texas, despite having some of the toughest laws on crime, led the nation with 363 exonerations in the last 30 years. Other top states based on total numbers of exonerations were Illinois, New York, and California. In Louisiana, which had 63 exonerations in that period, New Orleans is said to be the wrongful conviction capital of the U.S.

    (Emphasis mine)

    https://www.nealdavislaw.com/criminal-defense-guides/exonerations-by-state-2019/