31 karma · joined Apr 24, 2020 (6y ago) · 11 submissions
1.
Google Flight Operations Optimization for Lufthansa Group(cloud.google.com ↗)
2 points · by aucontraire · 4y ago · discuss
comment 4y ago · link · parent
It is true that well-behaved airlines, who take an active interest in fatigue prevention, do try to book hotel rooms with blackout curtains and good sound proofing. This is however not a universal behaviour and not all destinations where layover is necessary have any hotels with these qualities.
comment 4y ago · link · parent
The thing that annoys me is that there is not even cursory control that these cars are used in connection with agriculture. It was fine in the past, because it was relatively rare that the regulation was abused. After a recent change in the law that made it cheap/easy to convert regular cars, it has become a menace.
comment 5y ago · link · parent
I'd wager a guess that you'd be looking at well north of $30k for putting in a brand new engine in a Tesla-bracket BMW of semi-recent vintage.
comment 6y ago · link · parent
comment 6y ago · link · parent
If there isn't a good direct translation available, just force a bit of swedish morphology onto the english root and everything flows. In some ways this makes our language richer and more specific than the one we borrow from. For us "mejl" is unambigous, whereas "mail" in english is not.
As a bonus, given an appropriate context, version control in Swedish is a cornucopia of innuendo.
comment 6y ago · link · parent
As an assembly worker in the timestamp-wrapper-class factory, I am not in a position to try being clever about it. :-)
comment 6y ago · link · parent
Transparent timezone awareness always fail, unless you are 100% certain that a tzaware datetime object will remain uncoverted from the very top to the very bottom of the stack and all the way up again no matter who is reading and what they are doing.
For longterm minimization of pain, bugs and effort, you convert datetimes to UTC as early as possible and take them back to some localized version as late as possible (in the frontend, for a webapp, so that the backend never needs to know there is such a thing as timezones (except for separate validation and correction routines, since timezone definitions always end up being incorrect to some degree when you use them at scale)).
If the localization of the datetime is an essential aspect (such as the departure time of a ship leaving port), you store a UTC value together with a record of the location. Only at the latest possible moment of processing, should you do a lookup on the location data to make a local time.
Obviously, there will be exceptions to this rule. If you batch process billions of timestamps under a tight deadline and must do calculations in local time, it might make sense to have the values persisted localized.