Hacker Newsnew | past | comments | ask | show | jobs | submit | Yessing's commentslogin

another interesting fact:

if you have to compute the fib of very large numbers mod n. you can use the fact that the fibonnaci numbers would repeat.( see: https://en.wikipedia.org/wiki/Pisano_period)

<spoiler>

this allows you to solve problems like this: https://www.spoj.com/problems/FIBHARD/

<\spoiler>


Thank you for the comment. Will check it out.


is there something special about 2020 (regarding leap years)?

the rule I know is divisible by 4 && ( not divisible by 100 || divisible by 400) so 2020 is not even an edge case.


I think the answer you were looking for was, apparently NO there is nothing special about 2020 in relation to this problem. Despite the misleading use of year 2020 in the title and the title of the linked page, what is being experienced is a simple mis-coding of year+1 calculations. The title could have been,

"Leap day bugs, again! People, must we go through this every 4 years?"

So this is a crop of bugs that are either code written in the last 4 years or untested/unnoticed/unreported 4 years ago.

One of the Sprint examples (someone roaming between two cell towers and their date changing back and forth) is especially disturbing.


Or there's an unfinished ticket in the backlog that says "Oh gosh, let's just bodge all these values in the database and make sure we fix it by the next leap year".


Over 4 years there are a lot more apps and a lot more reliance on apps. There's lots more spaghetti out there since 2016 so more likelihood of bugs. I assume 2024 will have more.


Leap days are an edge case by themselves, it doesn't need any extra thing special about it.


I do wonder whether the fact that some systems aren’t really 4-digit-year compliant is making this uglier this year. I know Splunk got hit with a 2020 bug.


for example Café M’Rabet – Tunis was created in 1630 and it is still operational till now. But it was not registered as a company at the time.


I wondered about that - perhaps the map should be "Oldest business registered with a western institution" or some such. Meaning, being known to westerners makes them more real.


But do you seriously reckon all those European businesses from the 800s were registered as a company?

This map is nothing but a racist pissing match created by enlightened Europeans who've worked out some novel way of considering them better than the civilisations they trashed. It's an embarrassment.


is it that? or is it just a mildly interesting, if factually incorrect infographic? youve made a mental leap to racism there which is quite unfair


Not the person you are replying to, but: I don't think anyone set out to create an intentionally racist map. But the effect can still be racist. If it's based on data-sources and concepts that have a Europe and Europe descendent focus, and then presents them as facts about the world, without acknowledging the perspective, that is problematic. If further the tenuous continuity claims in some European countries, that are little more than advertisement, are put side to side with much stricter formal registration data from other countries this starts being quite deliberate.


Can you give some pointers as to what data / sources / criteria would make for a more fair representation?


lol


"Oracle now says this was an accident. According to a spokesperson, the site was temporarily flagged by anti-virus software but was whitelisted once the issue was noticed."

stuff like this makes my blood boil. it's obvious that this is just a legal defense, but it feels so insulting to the reader/listener.


I think it's just that writing is seen as the primary mean of communication.

if something goes bad at work, someone (orally) always makes a joke to defuse the situation. This is the same thing happening here.


if the best candidate you interviewed is a fraud:

- either the candidate was competent:

then why did he need to lie to get the job? maybe you're over-filtering based on resume and years of experience. The variable your looking for is competence. Years of experience, is just a proxy. if the proxy is drying up your supply, maybe it's not an effective one.

moreover, people are not born managers. why not give new talent a chance.

- the candidate was not competent:

The interview process is therefore broken and is not measuring competence. Maybe you're overvaluing confidence or the speed of answering. Maybe the questions are not Technical enough? I don't know. But notice that valuing anything that is irrelevant would lead to a lower expected value of candidate's competence.

Using ineffective tools while searching for something rare is unsurprisingly hard.

As a side comment, I'm kinda taken aback by the fact that interview results like "culture fit" are shared this way. I would've expected a higher standard of privacy. Is this commonly accepted?

Another point, I've noticed that the hiring process involved a lot of "friend / wife of a friend". Wouldn't this if left unchecked cause some ethnic/age-based bias ( not necessarily in a legal sense)?


I think that "competent/not-competent" is a false dichotomy. The candidate could be exceptionally qualified technically and competent, but have significant ethical / integrity issues that are difficult to notice in an interview, for instance. So a technical interview may not catch that, but past references may.


the dwm? "Desktop Window Manager"?


to clarify I'm asking about the meaning of dwm. The only term that I'm familiar with, and that shows up in google is Desktop Window Manager.


https://public.oed.com/blog/march-2014-update-new-words-note...

The phrase dead white male (abbreviated DWM), has been used since the mid-1980s as a term of disparagement for male authors and academics of European ancestry whose pre-eminence, especially in academic study, is challenged as being disproportionate to their cultural significance, and attributed to a historical bias in favour of their gender and ethnicity.


- why are we providing the names and addresses as input to the neural network? they should be annonymized?

humans may also act on the same information. The fact that you are less likely to be called if you have an arabic sounding name in europe is well documented.

at least with neural networks we can remove those variables.

I guess another problem could be that our current distribution is biased. so the system might give an advantage to new-grads from unviersity X becausea lot of old employees are from it. which is inherent disadvantage from people from tradtionally-black university Y.

but hiring based on alma mater is already a common practice.


I thought the whole point of backward compatible versions, is that you don't discuss, you just move.


while the disgust is warranted, I can't help but feel that you've created a toxic culture there.

for example, the Keyboard scene, being horrified because someone touched your keyboard is not logical behaviour. In fact, the keyboard is probably more disgusting than the toilet paper.

The actions of your employee were not rational. But by validating them you create a mob.

"begin sickned/disguested" becomes a behavior of the in-group. Mocking that guy, overreacting is than encouraged by social validation. These are the same dynamics as bullying because it is a form of bullying.

Plus, this is exacerbated by your team member ( and maybe you later, just by asking) going arround bad-mouthing him.

Imagine if everyone started acting hostile towards you and you had no way to know why?


You phrased that a lot more gently than I would have. Kudos.

The guy should wash his hands after pooping, but performing a melodrama behind his back based on a pathological fear of unwashed hands seems extremely unprofessional.


Come on it's a story read between the lines. The message is that you are reluctant to great lenght to emberras someone infront of the same person but have no problem doing it behind his back.

This is acctually a prime example of where mocking might fix the issue so I kinda agree with you. He might think "what a bunch of wuzzies" and star cleaning his hands.

Quite ofent I get to work with my tshirt inside out ... before I get to know my colleagues they don't say a thing which is quite embarrassing when my wife notice back home.


Exactly this. Doesn't pass The Golden Rule. HN upbringing v2.0


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: