Urgent.News

What's breaking now, across thousands of outlets.

Tech

Your new tech is still stuck in the year 1970 — here's why

If you've ever seen an arbitrary date in 1970 on your non-Windows device, don't worry, it's not glitching. It was chosen during the development process.

Your new tech is still stuck in the year 1970 — here's why

The date January 1, 1970, may seem arbitrary, but it holds significant importance in the world of computers. This date marks the epoch of Unix time, a system that many modern operating systems, including Linux, macOS, and Android, use to keep track of time. It is the starting point for tracking time in seconds since the midnight of January 1, 1970 in Coordinated Universal Time (UTC).

One of the main reasons for choosing this date is that it allowed developers to use a 32-bit integer for time tracking, avoiding the issue of running out of space too soon. The epoch was chosen to be round enough to ensure the 32-bit integer wouldn't exceed its capacity for a long time.

However, this system has its limits. The 32-bit integer can only track positive and negative numbers, with the leftmost digit indicating whether it's negative. This cuts the range of possible values in half, which means it has an expiration date. On January 19, 2038, at 3:14:07 AM UTC, this date is known as the "Year 2038 problem". At this point, the integer will overflow, causing the time to incorrectly display December 13, 1901 instead of the intended time.

While most modern systems have already switched to a 64-bit integer, which can track time for over 292 billion years, older systems still in use may run into this problem. These include embedded systems in appliances, vehicles, and cameras. The main risk is that these systems may not be able to update to a solution, and we may have to replace them in the future if time is a critical factor.

Written by urgent.news from Engadget's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at engadget.com →

More in Tech

JWT Login in Spring Boot 4 Without jjwt or a Custom Filter

Spring Security already ships everything you need. Here's the whole setup in four small classes. Search "Spring Boot JWT" and most tutorials give you the same recipe. Add the jjwt library.

  • Implement JWT login in Spring Boot 4 using OAuth2 Resource Server module
  • Configure secret key and JwtEncoder/Decoder using Nimbus library
  • Create TokenService to generate tokens for authenticated users

Presence Accuracy: Realtime Lifecycle Guarantees for Collaborative Whiteboard Updates

Short answer: when designing reliable updates for a collaborative whiteboard, make the realtime channel lifecycle treat typing indicators and read receipts as expiring evidence, not durable state…

  • Durable state includes canvas operations only, not typing indicators or cursors.
  • Bind signals to participant session and channel epoch to ensure presence accuracy.
  • Four invariants govern realtime channel lifecycle for reliable updates.

The bakery label is not the page: modelling a shop's information by how often it changes

Every small business site I have worked on makes the same modelling mistake: it treats "the shop's information" as one thing. A bakery makes the mistake visible, because three of its lists change at three completely different speeds — and one of them is fixed to the package by law. The label. Name of the food, ingredients, allergens.

  • Bakery label remains unchanged once printed
  • Order changes hourly, bake times and sold-out status fluctuate daily
  • Label contents depend on country's regulations

More from Saturday 14 November →