• Malix@sopuli.xyz
    link
    fedilink
    arrow-up
    1
    ·
    9 months ago

    I’m ok with timezones, but the guy who invented daylight savings time I’d slap to all the way to the sun

    • Scoopta@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      9 months ago

      From a development perspective it certainly sounds easier to have one global timezone with DST than a bunch of smaller ones without it. Would that make sense in reality? Probably not but I definitely think timezones take more work to compensate for properly.

      • hikaru755@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        9 months ago

        Not really. Timezones, at their core (so without DST or any other special rules), are just a constant offset that you can very easily translate back and forth between, that’s trivial as long as you remember to do it. Having lots of them doesn’t really make anything harder, as long as you can look them up somewhere. DST, leap seconds, etc., make shit complicated, because they bend, break, or overlap a single timeline to the point where suddenly you have points in time that happen twice, or that never happen, or where time runs faster or slower for a bit. That is incredibly hard to deal with consistently, much more so that just switching a simple offset you’re operating within.

      • alcoholicorn@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        9 months ago

        Lets just have 2 timezones, Chinese time and EST w/ permanent DST. The most populated timezones for Eurasia and the americas, and they’re both 12 hours apart, so nobody has to do timezone math, just swich AM and PM.

        • Scoopta@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          9 months ago

          There was actually a really interesting idea I heard to have no time zones. And I actually think it could be a good idea. It’ll never happen because people would need to re-learn time but if it was always the same time everywhere it would make scheduling and business so much easier. No one would need to convert between different zones or be late because of an incorrect conversion. The downside is that times which are conventionally morning or evening etc, would no longer would be so people would have to get used to time just being a construct for scheduling and not a representation of the natural day/night cycle…but it actually doesn’t sound like a half bad idea.

          • ricecake@sh.itjust.works
            link
            fedilink
            arrow-up
            1
            ·
            9 months ago

            Problem you run into is the areas where we need to tie things to solar days across an area.
            You end up with places having to regulate that school starts at 22:00, and gets out 05:00 the next day.
            Businesses close for the night at 06:00 and open bright and early later that day at 22:00.
            You have places where one calendar day has two different business days in it, so the annoyances faced by people who work overnight shifts spreads to everyone, and worse gets spread to financial calendars, billing systems and the works.

            It’s not better.

              • ricecake@sh.itjust.works
                link
                fedilink
                arrow-up
                1
                ·
                9 months ago

                Time is an air bubble trapped under a screen protector. It’s annoying, and you can push it around to try to keep it out of the way, but you can never really fix it.
                There’s just too many inherently contradictory requirements for us to end up with a “good” system, and we just need to settle for good enough.

                My dream is that we stop changing things. Whatever we have in time zone database today is what we stick with going forwards. No more dst shifts, no more tweaks to the zones, no more weird offsets and shifts, because we don’t get to stop dealing with the old layout when we change, we just add a new one that we think is better.

                For the most part, dealing with this stuff is a solved, shitty problem. It’s when we change the rules that problems come up. Worse when we change them retroactively. (Territory disputes between nations have been resolved with the conclusion that land was actually in a different time zone in the past because it was actually in another country. Not a problem usually, unless there’s a major stock exchange in an island that was transferred between nations and retroactively changing what time it was affects what laws were valid at the time certain transactions took place.

      • fidodo@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 months ago

        What matters is consistency and our time system has tons of crazy inconsistent shit in our. Everyone knows about leap years, but do you know about leap seconds? Imagine trying to write a function to convert unix time to a current date and suddenly all your times are a second off.

        Just look at this insane bullshit nonsense. The added complexity of time zones and daylight saving time is nothing compared to simply supporting our time system.

        • brbposting@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          9 months ago

          Incredible list, the scale.

          The software will never run on a space ship that is orbiting a black hole.

          hmm
          A little aspirational?

        • Gork@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          9 months ago

          We need to synchronize all computer times with that one clock that can stay accurate to within 1 second every 40 billion years.

    • Cosmic Cleric@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      9 months ago

      Love me some early evening daylight though. Nice warm but not hot cruise/drive with the windows and the top down on the car.

    • northendtrooper@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      9 months ago

      IIRC daylight savings was created way back when electricity really didn’t exist so it allowed the farmers more daylight to harvest their crops.

      Now with that said there is more technology in today’s farming equipment so DST shouldn’t really exist anymore.

      • Bassman1805@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        9 months ago

        It’s not about the crops, farmers work by the sun, not by the clock.

        It was able conserving candles and oil, for lighting rooms.

      • snooggums@midwest.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        9 months ago

        So, this is wrong on so many levels. First of all, DST had nothing to do with farmers, it was to save energy usage in the summer as people were doing more things when the evenings were warmer.

        IIRC daylight savings was created way back when electricity really didn’t exist so it allowed the farmers more daylight to harvest their crops.

        DST does not increase the amount of daylight on any specific day of the year, it just shifts it later in the day so that people in 8-5 jobs can do more things after work. Farmers don’t work 8-5, they work as needed so if the crops need harvesting they will get harvested based on the weather.

        Now with that said there is more technology in today’s farming equipment so DST shouldn’t really exist anymore.

        Nowadays farmers have lots of lights and can harvest after the sun goes down, but that has nothing to do with why DST shouldn’t exist. DST shouldn’t exist because it doesn’t save energy due to any populated place having their lights on all night and the actual changing of time leading to negative outcomes like deaths from accidents with no benefits.

        Sure, the sun will come up earlier and set later in the summer if we get rid of DST, but the only reason for the time change in the first place was the standard working hours being longer after noon than before.

        • azertyfun@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          1
          ·
          9 months ago

          and set earlier in the summer*

          I hate it. I fucking hate it. With every fiber of my being. I spend every winter counting the days until the sun stops setting before I stop working. Our entire lives are scheduled so we are inside under neon light from 9-6, why are we trying to maximize how much of that is during daytime?

          On the day that we go back to permanent ST I will turn to hard drugs to make up for the dopamine deficiency. No joke very few things in my life fill me with more dread than having to suffer early evenings for the rest of my life.

          • snooggums@midwest.social
            link
            fedilink
            English
            arrow-up
            1
            ·
            9 months ago

            Maybe, and hear me out, the problem is that 9 to 6 is the problem, since 2/3 of that time is after noon. Instead of changing reality to appease business, business, work hours could be changed to 8 to 4 with four before and four after which is both more light in the evening than DST and a shorter workday because people are more productive than they ever have been.

            But I guess you would rather let business practices determine when noon is for everyone instead of the sun.

            • azertyfun@lemmy.blahaj.zone
              link
              fedilink
              arrow-up
              1
              ·
              9 months ago

              Business hours is no more or less of a social construct than DST or the 24 hour clock.

              The only difference is that we have a shot at making everyone agree on a timezone shift or permanent DST, but absolutely NO SHOT at getting every business to switch to an 8-4 schedule. None. It’d be a nice sentiment. But it’s not happening, and I don’t care what the number says on the clock when I leave work as long as it’s sunny outside.

              Why is it so important that the sun reaches its zenith at noon anyway? Do you often get confused while looking at your antique sundial?

              • snooggums@midwest.social
                link
                fedilink
                English
                arrow-up
                1
                ·
                edit-2
                9 months ago

                First of all, noon refers to when the sun is at the highest point in the sky so being an hour off is confusing.

                Being able to look at the general position of the sun and being able to estimate time is pretty handy.

                Being able to estimate the length of day because the time between sunrise and sunset being approximately the same is handy.

                Not changing the time of day twice a year would be fucking fantastic.

                Some places already stick with standard time all year round.

                The US tried year round DST in the 70s and it was widely rejected within a year because DST during the winter is fucking awful.

                Plus, most jobs don’t mind people coming in and leaving early, which is a far more common shift adjustment than coming in and staying late.

                Year round standard time is the real solution.

        • Crashumbc@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          9 months ago

          Actually DST was a war world one thing to save energy. To not need lighting in the factory.

          Look it up you’re both wrong.

          It actually was only active during WWI and WW2 until late 60s or early 70s (oil crunch may have brought it back.)

          • snooggums@midwest.social
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            9 months ago

            Originally being started for WWI and WWII doesn’t contradict my post which talks about the current reasons given to keep it and that it is not saving energy now.

        • someguy3@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          9 months ago

          And you’d think *if anything farmers would want more sunlight in the morning when it’s cooler.

          Edited because people want to take this the wrong way. As in this another reason that DST and farmers makes no sense.

          • snooggums@midwest.social
            link
            fedilink
            English
            arrow-up
            1
            ·
            9 months ago

            Farmers don’t care about clocks unless they are scheduling a time to meet and using the clock for clarity.

            The sun comes up when it comes up and that is what matters. Farmers don’t care about the clock for what they consider morning, because morning is before the sun is highest in the aky. They are already getting up a few minutes earlier or later depending on whether the days are getting longer or shorter.

            DST has nothing to do with farmers.

            • someguy3@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              9 months ago

              I think you misread my comment. It’s along the lines of if anything they would prefer the morning.

                • someguy3@lemmy.world
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  edit-2
                  9 months ago

                  This is besides what I was saying, which was again “if anything” and adding another reason why farmers and DST makes no sense. But dude people live in the world. Farmers are not 1000% in their own bubble. They need to go out to stores and get supplies and interact with the world and the supply chain. You are now taking lack of an office schedule or something to a ludicrous degree with your analogy. I wasn’t even disagreeing with your old points, I was saying “if anything” and adding another reason, but you want to go off on seemingly everyone. Perhaps you’re confusing me with the other guy, but whatever. Cheers.

        • ReluctantMuskrat@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          9 months ago

          My understanding is DST did still save appreciable energy until we replaced incandescent lights with fluorescent and leds. Longer daylight in the evening when people are awake and less in the early morning when people are asleep means lights aren’t being used as much. The average light bulb used to consume 60 watts or more and also let off significant undesirable heat, so with a house full of lights DST really did cut back energy usage. Now though with led lights low consumption and virtually no heat, it’s not nearly as significant.

      • zerofk@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        9 months ago

        That’s a misconception. Farmers lobbied heavily against DST. Their work does not abide by the clock; they milk when cows need milking, and they harvest when there’s enough light, no matter what some clock says.

        In Europe, DST as we know it now was first introduced by Germany during WW1 to preserve coal, then abandoned after the war, and widely adopted again in the 70s. In the US it was established federally in the 60s.

        This is all glossing over a lot of regional differences and older history. But yeah, US farmers were very much against the idea.

        • Gork@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          9 months ago

          I blame Big Ice Cream™.

          Those ice cream trucks get an additional hour of daylight to hawk their goods before the children are recalled back inside for supper.

      • mwguy@infosec.pub
        link
        fedilink
        arrow-up
        1
        ·
        9 months ago

        DST vsm Standard time literally doesn’t matter. It’s the switching between the two that kills people.

      • snooggums@midwest.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        9 months ago

        Which part of the year is DST and which part is Standard Time?

        I know, but it seems like half the people that say they prefer DST have it backwards.

        • KillingTimeItself@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          9 months ago

          i still dont even understand what DST even is, as far as i care because i don’t is that DST just means we change the time, because god forbid the time be a little funky.

            • KillingTimeItself@lemmy.dbzer0.com
              link
              fedilink
              English
              arrow-up
              1
              ·
              9 months ago

              too bad there isn’t like a standard convention that establishes when something would take effect, how it would take effect, and at what interval.

              No, daylight savings time is definitely what we’re going to call it.

        • scottywh@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          9 months ago

          It’s easy, the good part is DST (which is what we’re currently in - Spring through Fall in the northern hemisphere).

      • sacredfire@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        9 months ago

        The real problem is that across the globe there is like 50 different implementations of it. Some places have a fucking half hour, or some goofy shit. Really fun handling time zones with that sprinkled on top.

  • steeznson@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    9 months ago

    The UK press every year makes a huge song and dance in opinion pieces about getting rid of DST. However I’m always horrified to see that people want us to keep British Summer Time instead of Grenwich Mean Time. I understand that there are “longer evenings” in BST; however we literally invented GMT and coerced the rest of the world to adjust their times based on that. From the point of view of being constantly compatible with UTC and having more consistent business hours for international companies it makes more sense to me if we kept GMT.

    Also the longer evenings thing can be achieved by simply staying up an hour later. It’s not exactly like an hour is being stolen from you when the times switch, the change of clocks are mainly pointless admin.

    Lastly I read an article recently that described a correlation between the incidence of heart attacks and the clocks changing. The theory is that just slightly messing with people’s sleeping patterns can cause additional strain on the body.

  • fubarx@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    9 months ago

    Worked on a project where devices just magically froze, but only during the month of February!

    Turned out the people who had written the firmware had decided to do their own time math to save space and had put in an exception in the code for leap year values. Except instead of February 29th, it kicked in for the whole month. And the math was wrong so you ended up with negative values.

    The product was due for launch in March of that year and was headed to manufacturing. It was by sheer luck that someone ran a test on February 1st and caught the problem.

    Don’t mess with time in code, kids.

      • fubarx@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        9 months ago

        Embedded portable device with a teeny ARM processor. Sadly, no room for linux anything or even an RTC. Every time it connected to a phone, the phone would set its clock so the timestamps were somewhat close to being accurate.

        However, if you swapped out the AAA battery and DIDN’T connect it to the phone at least once, all your subsequent readings would go back to zero epoch and would be forgotten 🤷🏻‍♂️

        Good times.