HackerTrans
TopNewTrendsCommentsPastAskShowJobs

phaemon

no profile record

comments

phaemon
·5 lat temu·discuss
> Can you name any time in history where the side burning books was in the right?

Well, after WWII, the USA engaged in their "denazification" of Germany, where they censored and burned Nazi materials.

Which side would you say they were on?
phaemon
·5 lat temu·discuss
> The user didn't intend to.

Well, they should have read the docs. They clearly show examples of how to define a timezone right there. It isn't a fallback, it's what TZ is for.

Edit: perhaps `date` should have a `-z --zoneinfo` option, in which you could specify a timezone by file and it would fail if the file did not exist. This would fix the issue and avoid breaking existing scripts.
phaemon
·5 lat temu·discuss
Because it has additional information in a file in `/usr/share/zoneinfo`.

But you can still define a brand new timezone with the TZ variable. Perhaps you want to argue that you shouldn't be able to, but that's what it's for, as the document linked above clearly states.
phaemon
·5 lat temu·discuss
> or fail noisily if it's not aware of that offset code.

But it is aware of it! You just told it, using the TZ variable, what EDT is. It's a timezone called EDT, with no offset from UTC!

If you wanted an offset, you should have written `TZ=EDT+4 date`
phaemon
·5 lat temu·discuss
It didn't display the time in UTC, it displayed the time in timezone LOL. It happened to be the same as UTC because no offset was specified. It knew it was timezone LOL because that's what the TZ variable was set to.

If you set your machine to something weird, then expect the utility that reports on those settings to report the weird settings you set.
phaemon
·5 lat temu·discuss
No it isn't. If you tell your computer that the timezone your machine is set to is called "LOL", then of course that's what it should report. What else would it do?

It truncated the name because of the underscores, but you can do `TZ=somerandomthing date` to see it just reports what you say it is.
phaemon
·6 lat temu·discuss
Yes, that's why we only get 90% from renewable. 10% is not.

Out of interest, what percentage are you at?
phaemon
·6 lat temu·discuss
Well, we don't have"randomish power cuts" so I guess someone solved that problem.
phaemon
·6 lat temu·discuss
While your point is accurate, I'm not sure it's in any way relevant to this. Perhaps a different discussion on bigotry within tech would be the place for this.
phaemon
·6 lat temu·discuss
No, it's opposed by people who are numerate enough to understand that nuclear is ludicrously expensive and completely unnecessary.

I live in Scotland. In the past 20 years we've gone from around 12% electricity from renewable to around 90%. The last coal fired station closed in 2016 and we've not added any new nuclear in that time.

This is usually the point that someone handwaves that having more money and more people makes you less capable than Scotland...