4 ms·
And then some king dies in some country and it's a national holiday the next week, and the data entry guy is in sick leaves and your table isn't updated to clos
by xwolfi 3y ago
And then some king dies in some country and it's a national holiday the next week, and the data entry guy is in sick leaves and your table isn't updated to close trading... happened to the bank I work in, wasn't funny.
- thowawatp302 3y agoI don’t think there’s an algorithm accurate enough to predict the death of that king down to a specific day. You’re still going to need that data entry guy. (Plus the two more that is the root problem)
- acchow 3y agoHow would this surprise one-off holiday be accounted for programmatically? Does the government provide an API you can ping every day? Or you scrape the news feeds and feed it through ChatGPT?
- disgruntledphd2 3y agoStuff like this is often officially communicated through some kind of government newsletter. Other times it's just custom and doesn't have a formal notification.
- 0xADD1E 3y agoFor the UK at least, there’s https://www.gov.uk/bank-holidays.json https://www.gov.uk/bank-holidays.json
- moritonal 3y agoPersonally this (along with things like address lookup) are things that I consider a government should always provide. Consistent data.
- echoangle 3y agoWhat does "bunting" mean in the date entries?
- BTinfinity 3y agoBunting just means decorations, the value is true when the government recommends decorating for the holiday. It's reserved for celebrations, so events like the queens funeral have it set to false.
- selimthegrim 3y agoIsn’t there black bunting?
- TeMPOraL 3y agoYou do what you can, and then insure the remaining risk away.
- cqqxo4zV46cp 3y agoWell-designed human-involved processes try to reduce “once in a blue moon” edge-cases, sometimes at the cost of overall optimisation, in large part because people will forget how to do them, people will forget to keep building in redundancy, etc.
- chii 3y ago> data entry guy is in sick leaves if this data entry was so important, why is there only one guy responsible for it? where's the backup? where's the redundancy?