Daily Edition · Page 4

THE DAILY INDEX

Technology, AI, software, security, crypto and business

ARTICLES & TUTORIALS

TLDR Web Dev

THE 1 HOUR PER YEAR BUG (BUT ONLY IN PACIFIC TIME!)

Google Docs encountered a peculiar bug in 2021. Users in the Pacific Time Zone reported seeing timestamps for new comments and replies in Docs that were displayed as being created "tomorrow", despite being created the previous day. The cause was traced to an error in the date formatting logic used by Google Docs, which incorrectly calculated the number of hours between the current time and a past time due to the change in time zone offset caused by daylight saving time. This bug only affected users in the Pacific Time Zone during the single hour when daylight saving time transitioned.

NEXT.JS + SUPABASE APP IN PRODUCTION: WHAT WOULD I DO DIFFERENTLY

This developer built a mid-sized Next.js application with Supabase and, as a result, he recommends using server components for data fetching, server actions for data mutations, and shared utility wrappers for authorization, validation, and authentication. In terms of database design, the developer emphasizes the importance of using surrogate keys, implementing row-level security (RLS) in a performant way, and utilizing server-side routing for mutations.

AN UNPOPULAR PERSPECTIVE ON THE SSO TAX

The so-called "SSO Tax" in SaaS pricing is not an unfair practice but rather a form of price discrimination that is both logical and beneficial for both vendors and customers. Price discrimination is inherent in any market, as buyers have different preferences and willingness to pay. Vendors need to segment their customers to maximize their revenue. For example, airlines have different pricing tiers that allow vendors to offer more affordable basic tiers while still catering to the needs of high-paying customers.

TLDR IndexPage 4