Readit News logoReadit News
yanateras commented on XZ Backdoor: Times, damned times, and scams   rheaeve.substack.com/p/xz... · Posted by u/lamontcg
nerdponx · 2 years ago
How about this?

  alias git='TZ=UTC0 git'

yanateras · 2 years ago
Even without the zero!

  alias git='TZ=UTC git'

Deleted Comment

yanateras commented on Ask HN: Did you encounter any leap year bugs today?    · Posted by u/sjr1
nyczomg · 2 years ago
If it makes you feel better.... On February 29, 2008 I was working on a system as a government contractor. Part of it was outsourced to a sub-contractor who decided to write their own date/time library because how hard could that be (which I only learned about later)? For some reason NOTHING would work right that day. Took me longer than I'd care to admit of staring at the logs to realize that some started with March 1 2008....

edit: also happy birthday!

yanateras · 2 years ago
Definitely not any more coherent on a leap year! That remark only applied to dates stored without a year, as in “February 29” rather than “February 29, 2008”.

Thank you..!

yanateras commented on Ask HN: Did you encounter any leap year bugs today?    · Posted by u/sjr1
codetiger · 2 years ago
Happy birthday to you! It’s a special day and We don’t get this chance to say this often. Enjoy your day
yanateras · 2 years ago
Thank you :3
yanateras commented on Ask HN: Did you encounter any leap year bugs today?    · Posted by u/sjr1
whycome · 2 years ago
> more coherent

depends on what you're trying to organize by. maybe 'birth month' is an important signifier.

yanateras · 2 years ago
Here’s why:

* I was N years old on February 28th this year

* I will be N+1 years old on March 1st this year

Therefore:

* I was N-1 years old on February 28th last year

* I was N years old on March 1st last year

Perhaps the month is February and the non-leap year date is March 1st...

yanateras commented on Ask HN: Did you encounter any leap year bugs today?    · Posted by u/sjr1
Wowfunhappy · 2 years ago
...it occurs to me, when should those services congratulate you? Should it be on February 28 or March 1?
yanateras · 2 years ago
I’d say March 1! February 28 might be too early.
yanateras commented on Ask HN: Did you encounter any leap year bugs today?    · Posted by u/sjr1
swader999 · 2 years ago
Happy birthday!
yanateras · 2 years ago
Thank you ^_~

Deleted Comment

Deleted Comment

yanateras commented on Ask HN: Did you encounter any leap year bugs today?    · Posted by u/sjr1
chatmasta · 2 years ago
How often do you encounter challenges related to your birthday? Meaning, not just on the day of Feb 29, but any day of the year when you're trying to select your birth date or something like that. Do you ever find forms where the date is missing or the backend wont accept it?
yanateras · 2 years ago
Occasionally, but less often than one could imagine! About a dozen times in my life.

Whenever February 29 wasn’t present as an option, the frontend was at fault, so I could set the right <input> value in the inspector as a workaround.

Other times February 29 was present as an option, only to be saved as February 28. Never March 1, which I’d say would be more coherent.

u/yanateras

KarmaCake day119February 26, 2024
About
Lisp as curvy as girls <3

Email: yana@

https://yana.moe

View Original