TIL (about the Dark Arts of HTML)
-
@PleegWat said in TIL (about the Dark Arts of HTML):
Except when midnight is written as 24:00
Which is very rare, but still generally obvious what it means.
-
@PleegWat said in TIL (about the Dark Arts of HTML):
So probably smarter to announce start just before midnight and end just after.
Or just use a time just after midnight regardless. On this timescale a couple of minutes either way won't make a difference.
-
@Watson said in TIL (about the Dark Arts of HTML):
@PleegWat said in TIL (about the Dark Arts of HTML):
So probably smarter to announce start just before midnight and end just after.
Or just use a time just after midnight regardless. On this timescale a couple of minutes either way won't make a difference.
I think here they haven't been heavy on midnight starts at all. Back when they closed restaurants for the first time, the press conference started 17:00 (on a Sunday, as I recall) and the announced closure was at 18:00 the same day. Probably related to the Belgians having big 'the last night we're allowed' parties the week prior. And last month when they prohibited sale and carrying of alcohol in public between 20:00 and 06:00, the measure started at 20:00 a few days after the announcement.
Most stuff doesn't get the time communicated explicitly at all – just the day, where I think the time is implicitly the leading midnight.
-
@PleegWat said in TIL (about the Dark Arts of HTML):
I think the time is implicitly the leading midnight.
In the US, it's very common for things (laws, insurance policies, etc.) to become effective at 12:01 AM, i.e., one minute after midnight. That is, for almost all practical purposes, midnight, but avoids the ambiguity of exactly midnight.
-
Time math makes my head hurt. As does date and datetime.
-
@Bulb said in TIL (about the Dark Arts of HTML):
12:01pm is no longer confusing to them, because it reads 1 minute past noon and that's clear, just the exact 12:00 does.
Would 12:00:30 pm confuse them? 12:00:10 pm? 12:00:01 pm?
12:00 + 5ms pm?
-
@Karla said in TIL (about the Dark Arts of HTML):
Time math makes my head hurt. As does date and datetime.
I hear you. I always have to do a double take on whether a larger positive offset means the instant comes sooner, or later.
I'm on UTC most of the time, so I can only find eventual timezone bugs once DST comes. And come next year we might stop having it entirely.
-
@Zecc said in TIL (about the Dark Arts of HTML):
@Karla said in TIL (about the Dark Arts of HTML):
Time math makes my head hurt. As does date and datetime.
I hear you. I always have to do a double take on whether a larger positive offset means the instant comes sooner, or later.
I'm on UTC most of the time, so I can only find eventual timezone bugs once DST comes. And come next year we might stop having it entirely.
Do you or a loved one suffer from time zone bugs? Call for relief today!
-
@Zecc said in TIL (about the Dark Arts of HTML):
@Bulb said in TIL (about the Dark Arts of HTML):
12:01pm is no longer confusing to them, because it reads 1 minute past noon and that's clear, just the exact 12:00 does.
Would 12:00:30 pm confuse them? 12:00:10 pm? 12:00:01 pm?
12:00 + 5ms pm?Yes, even 12:30 pm is confusing, exactly because 12pm is.
-
@Karla said in TIL (about the Dark Arts of HTML):
Time math makes my head hurt. As does date and datetime.
Let's go shopping!
-
@Karla said in TIL (about the Dark Arts of HTML):
Time math makes my head hurt. As does date
That's why you don't want to date me?
-
#DateTimeBandit
-
@izzion said in TIL (about the Dark Arts of HTML):
Do you or a loved one suffer from time zone bugs? Call for relief today!
"Sexually transmitted disease" in Portuguese is "doença sexualmente transmissível". Ie DST.
-
Spanish coinage was legal tender in the United States until the Coinage Act of 1857 discontinued the practice. The pricing of equities on U.S. stock exchanges in 1⁄8-dollar denominations persisted until the New York Stock Exchange converted first to pricing in sixteenths of a dollar on 24 June 1997 and shortly after that, to decimal pricing.
-
@Applied-Mediocrity There is another (or maybe
:keanu-why:
) in there:The pricing of equities on U.S. stock exchanges in 1⁄8-dollar denominations persisted until the New York Stock Exchange converted first to pricing in sixteenths of a dollar
"Oh yeah, 1/8th-dollar is really inconvenient, so, um, let's see, maybe we could... switch to 1/16-dollar!"
-
@PleegWat said in TIL (about the Dark Arts of HTML):
Except when midnight is written as 24:00
That's just wrong, 24:00 does not exist.
Even the end of a day with a leap second is written as 23:59:60, not 24:00:00.
-
@remi said in TIL (about the Dark Arts of HTML):
@Applied-Mediocrity There is another (or maybe
:keanu-why:
) in there:The pricing of equities on U.S. stock exchanges in 1⁄8-dollar denominations persisted until the New York Stock Exchange converted first to pricing in sixteenths of a dollar
"Oh yeah, 1/8th-dollar is really inconvenient, so, um, let's see, maybe we could... switch to 1/16-dollar!"
Makes sense though. It's a quarter of a quarter. Simple.
And easy to calculate with in binary.
-
@nerd4sale said in TIL (about the Dark Arts of HTML):
Simple
People kept counting on two hands with ten fingers, but King's treasury insisted on eight spaces between fingers. This confusion served to save 20% of money
-
@Applied-Mediocrity said in TIL (about the Dark Arts of HTML):
@nerd4sale said in TIL (about the Dark Arts of HTML):
Simple
People kept counting on two hands with ten fingers, but King's treasury insisted on eight spaces between fingers. This confusion served to save 20% of money
But you can count all the way up to 11 with two hands (no fingers).
And if you include your feet, 1111 is attainable!
-
@Applied-Mediocrity said in TIL (about the Dark Arts of HTML):
eight spaces between fingers
Even the twelve finger joints (optionally times five fingers of the other hand) seems easier (and more practical due to being divisible by three).
-
https://en.wikipedia.org/wiki/Decimal#Other_bases.
The Yuki language in California and the Pamean languages in Mexico have octal (base-8) systems because the speakers count using the spaces between their fingers rather than the fingers themselves.
-
@Zecc said in TIL (about the Dark Arts of HTML):
I always have to do a double take on whether a larger positive offset means the instant comes sooner, or later.
Why is it that on a car's windshield wiper controls, the shorter intervals are marked by longer lines? </AndyRooney>
-
@boomzilla said in TIL (about the Dark Arts of HTML):
@Zecc said in TIL (about the Dark Arts of HTML):
I always have to do a double take on whether a larger positive offset means the instant comes sooner, or later.
Why is it that on a car's windshield wiper controls, the shorter intervals are marked by longer lines? </AndyRooney>
Because with shorter intervals you get
more power *grunt grunt*more wiping.
-
@topspin said in TIL (about the Dark Arts of HTML):
@boomzilla said in TIL (about the Dark Arts of HTML):
@Zecc said in TIL (about the Dark Arts of HTML):
I always have to do a double take on whether a larger positive offset means the instant comes sooner, or later.
Why is it that on a car's windshield wiper controls, the shorter intervals are marked by longer lines? </AndyRooney>
Because with shorter intervals you get
more power *grunt grunt*more wiping.
-
@boomzilla said in TIL (about the Dark Arts of HTML):
Why is it that on a car's windshield wiper controls, the shorter intervals are marked by longer lines? </AndyRooney>
It's not shorter intervals, it's higher frequency.
Filed under: Fourier transform all the way!
-
Thus ending the boob-armor debate once and for all:
https://military.id.me/humor/the-saf-t-bra-the-militarys-bullet-proof-brasiers-of-wwii/
-
TIL Airplane! is a parody of a 1957 movie Zero Hour! - to the point many dialogues are copied almost verbatim.
-
@nerd4sale said in TIL (about the Dark Arts of HTML):
@PleegWat said in TIL (about the Dark Arts of HTML):
Except when midnight is written as 24:00
That's just wrong, 24:00 does not exist.
Technically it does. It's just that
2020-12-31 24:00:00
is the same as2021-01-01 00:00:00
. However, times like 24:00:00.0001 are not recognized as legitimate.Even the end of a day with a leap second is written as 23:59:60, not 24:00:00.
This is to help differentiate between the two because 24:00:00 of one day is considered identical to 00:00:00 of the following day. Writing the leap second as 23:59:60 avoids any ambiguity.
-
@boomzilla said in TIL (about the Dark Arts of HTML):
Thus ending the boob-armor debate once and for all:
https://military.id.me/humor/the-saf-t-bra-the-militarys-bullet-proof-brasiers-of-wwii/
SAF-T bra
Standard Audit File - Tax?
(No bull. Processing that shit is my latest project at work. Were that it involved women's lingerie.)
-
@abarker said in TIL (about the Dark Arts of HTML):
@nerd4sale said in TIL (about the Dark Arts of HTML):
@PleegWat said in TIL (about the Dark Arts of HTML):
Except when midnight is written as 24:00
That's just wrong, 24:00 does not exist.
Technically it does. It's just that
2020-12-31 24:00:00
is the same as2021-01-01 00:00:00
. However, times like 24:00:00.0001 are not recognized as legitimate.ISO 8601-1:2019 does explicitly not allow "24:00".
Earlier revisions did allow it.
-
@nerd4sale Computers don't need it. But occasionally you might want to write it for humans.
I am still not sure why, for humans, write midnight as number and worry about whether it's not mistaken for noon or the previous or next midnight instead of simply saying ‘start of day’/‘end of day’.
-
@Bulb said in TIL (about the Dark Arts of HTML):
@nerd4sale Computers don't need it. But occasionally you might want to write it for humans.
I can't recall that I have ever in all my life seen midnight written as 24:00.
00:00 is the normal notation.
Or "midnight" (translated into the language of choice), but I think it's weird to write down one or two times per day with a word, and all other times with numbers.
-
@nerd4sale said in TIL (about the Dark Arts of HTML):
@Bulb said in TIL (about the Dark Arts of HTML):
@nerd4sale Computers don't need it. But occasionally you might want to write it for humans.
I can't recall that I have ever in all my life seen midnight written as 24:00.
00:00 is the normal notation.
Or "midnight" (translated into the language of choice), but I think it's weird to write down one or two times per day with a word, and all other times with numbers.I've seen it a bunch of times.
But then I live in a country that regularly use 24 hour times instead of 12 two times over.
-
@nerd4sale said in TIL (about the Dark Arts of HTML):
@Bulb said in TIL (about the Dark Arts of HTML):
@nerd4sale Computers don't need it. But occasionally you might want to write it for humans.
I can't recall that I have ever in all my life seen midnight written as 24:00.
00:00 is the normal notation.
Or "midnight" (translated into the language of choice), but I think it's weird to write down one or two times per day with a word, and all other times with numbers.I've occasionally seen 24:00, usually as the end of a range. "Open 6:00-24:00" rather than "Open 6:00-0:00"
-
@PleegWat said in TIL (about the Dark Arts of HTML):
@nerd4sale said in TIL (about the Dark Arts of HTML):
@Bulb said in TIL (about the Dark Arts of HTML):
@nerd4sale Computers don't need it. But occasionally you might want to write it for humans.
I can't recall that I have ever in all my life seen midnight written as 24:00.
00:00 is the normal notation.
Or "midnight" (translated into the language of choice), but I think it's weird to write down one or two times per day with a word, and all other times with numbers.I've occasionally seen 24:00, usually as the end of a range. "Open 6:00-24:00" rather than "Open 6:00-0:00"
It probably has to do with the fact that we're conditioned to see ranges start with a small number and end with a large one. 6:00-0:00 breaks that convention so it "doesn't look right."
-
@abarker said in TIL (about the Dark Arts of HTML):
@PleegWat said in TIL (about the Dark Arts of HTML):
@nerd4sale said in TIL (about the Dark Arts of HTML):
@Bulb said in TIL (about the Dark Arts of HTML):
@nerd4sale Computers don't need it. But occasionally you might want to write it for humans.
I can't recall that I have ever in all my life seen midnight written as 24:00.
00:00 is the normal notation.
Or "midnight" (translated into the language of choice), but I think it's weird to write down one or two times per day with a word, and all other times with numbers.I've occasionally seen 24:00, usually as the end of a range. "Open 6:00-24:00" rather than "Open 6:00-0:00"
It probably has to do with the fact that we're conditioned to see ranges start with a small number and end with a large one. 6:00-0:00 breaks that convention so it "doesn't look right."
Many convenience stores have opening hours like 10AM-2AM etc.
-
@Gąska said in TIL (about the Dark Arts of HTML):
@abarker said in TIL (about the Dark Arts of HTML):
@PleegWat said in TIL (about the Dark Arts of HTML):
@nerd4sale said in TIL (about the Dark Arts of HTML):
@Bulb said in TIL (about the Dark Arts of HTML):
@nerd4sale Computers don't need it. But occasionally you might want to write it for humans.
I can't recall that I have ever in all my life seen midnight written as 24:00.
00:00 is the normal notation.
Or "midnight" (translated into the language of choice), but I think it's weird to write down one or two times per day with a word, and all other times with numbers.I've occasionally seen 24:00, usually as the end of a range. "Open 6:00-24:00" rather than "Open 6:00-0:00"
It probably has to do with the fact that we're conditioned to see ranges start with a small number and end with a large one. 6:00-0:00 breaks that convention so it "doesn't look right."
Many convenience stores have opening hours like 10AM-2AM etc.
Yeah, but there isn't any accepted convention for making that not look weird.
-
@abarker this is the convention. Opening is always before closing, so naturally if the closing time is earlier than opening time, it always means the business is open through midnight until specified hour. It's such a common convention that it never gets spelled out because everyone assumes it doesn't need to.
-
@abarker said in TIL (about the Dark Arts of HTML):
@Gąska said in TIL (about the Dark Arts of HTML):
Many convenience stores have opening hours like 10AM-2AM etc.
Yeah, but there isn't any accepted convention for making that not look weird.
There doesn't need to be as it's pretty well understood IME.
-
@PleegWat said in TIL (about the Dark Arts of HTML):
I've occasionally seen 24:00, usually as the end of a range. "Open 6:00-24:00" rather than "Open 6:00-0:00"
Those are rookie numbers.
-
Monstrous moonshine is my new favorite math term.
-
@Gąska said in TIL (about the Dark Arts of HTML):
Monstrous moonshine is my new favorite math term.
And not a Tits group?
-
@dkf monstrous moonshine has a much better backstory.
-
@Gąska said in TIL (about the Dark Arts of HTML):
Monstrous moonshine is my new favorite math term.
I’ve always liked the hairy ball theorem
The theorem has been expressed colloquially as "you can't comb a hairy ball flat without creating a cowlick" or "you can't comb the hair on a coconut".
Not it’s consequences though. Computing a 3D normal vector has annoying special cases:
A common problem in computer graphics is to generate a non-zero vector in R3 that is orthogonal to a given non-zero one. There is no single continuous function that can do this for all non-zero vector inputs.
-
TIL soda can works reasonably well as a smartphone stylus. I managed to write the previous sentence with a soda can.
-
@Gąska said in TIL (about the Dark Arts of HTML):
TIL soda can works reasonably well as a smartphone stylus. I managed to write the previous sentence with a soda can.
Just wait till you discover fingers.
-
@MrL winter is coming. Can't write in most gloves.
-
@Gąska said in TIL (about the Dark Arts of HTML):
Can't write in most gloves.
Warning: not safe for winters in
-
I have it easy, I can't wear gloves (I get cold in them).
-
@MrL said in TIL (about the Dark Arts of HTML):
I have it easy, I can't wear gloves (I get cold in them).
Are gloves the only piece of clothing with this, uh... chilling effect?