HackerTrans
トップ新着トレンドコメント過去質問紹介求人

mattdw

no profile record

コメント

mattdw
·12 日前·議論
Podman can run compose - either its own, or docker-compose if you tell Podman to listen on the docker socket.

I use Podman on both macos and Windows, with compose files, so I'm a bit perplexed by this whole comment.
mattdw
·10 か月前·議論
This is really great - great style, charming little world. Love it!
mattdw
·昨年·議論
New Zealander here, really thrilled to see our national medical testing service (primarily blood tests) in here. I've sent a note to them to make sure they're aware of this.

Also I feel like I took the wrong path, trying to be a serious and responsible software developer - seems like all the money is in throwing shit together and making wild claims about it.
mattdw
·昨年·議論
For events that have happened, absolutely. Events in the future are often slightly more ambiguous though!

I do agree that "with attached Timezone" or "as UTC" are absolutely the sensible defaults, I'm just suggesting that sometimes "plain" datetimes are semantically the correct choice.
mattdw
·昨年·議論
For sure, but for future events to be correct I still have to store that as (plain datetime, pacific/auckland), not translated to utc at the point of creation/saving. If I store only a UTC datetime I have unrecoverable lost important information.
mattdw
·昨年·議論
Calendar events often want to be interpreted according to whatever the local timezone currently is. For instance "10am every second Sunday" shouldn't adjust to 9am during Daylight-Savings time. And my 7am alarm clock should definitely not change to 7pm because I flew from Aotearoa to England.

I'm sure it's been discussed here before, but for calendar events you don't necessarily want a timezone attached, you want a location - "this event happens at 9am according to whatever timezone is currently in effect in Auckland, NZ". That's a thing that UTC or timezone-aware Datetimes can't help with.
mattdw
·昨年·議論
When it’s a library of code, the language it is written in is pretty pertinent information as that’s the language it has to be consumed from…
mattdw
·2 年前·議論
I found the Scanner API (1) to be pretty handy for the more complex parsing in past years.

It’s Foundation so hopefully also on Linux/Windows, but if not there’s also one on GitHub called SwiftScanner.

1: https://developer.apple.com/documentation/foundation/scanner