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

help-circle




  • I used to feel this way. Over the course of building out 2 calendar systems in my career (so far) and having to learn the intricacies of date and time-related data types and how they interact with time zones, I don’t have much disdain for time zones. I’d suggest for anyone who feels the same way as this meme read So You Want To Abolish Time Zones.

    Also, programmers tend to get frustrated with time zones when they run into bugs around time zone conversion. This is almost always due to the code being written in a way that disregards the existence of times zones until it’s needed and then tacks on the time zone handling as an afterthought.

    If any code that deals with time takes the full complexities of time zones into account from the get-go (which isn’t that hard to do), then it’s pretty straightforward to manage.



  • I feel like most of the most of the people here didn’t read the article or watch the video. If you’re asking “why would anyone need this”, the article touches on it:

    One of Lenovo’s big ideas is that the form factor could be useful for digital artists, helping them to see the world behind the laptop’s screen while sketching it on the lower half of the laptop where the keyboard is[…]

    Also, it’s a prototype, yet people are responding as if this is a product that Lenovo is launching. Even if transparent screens do become a popular but useless fad, that wouldn’t nullify the value of this prototype. Trying shit is fun, especially if it’s something we’ve been imagining in sci-fi for years!






  • This is why many languages have errors and warnings as separate things. Errors for things that for sure prevent the program from working, and warnings for things that are probably wrong but don’t prevent things from working. If you have a setting to then treat warnings as errors (like for CI checks), then you get all the guarantees and none of the frustration.