Yessing
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>
the rule I know is divisible by 4 && ( not divisible by 100 || divisible by 400) so 2020 is not even an edge case.
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.
if something goes bad at work, someone (orally) always makes a joke to defuse the situation. This is the same thing happening here.
- 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)?
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.
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?
But a core part of being polite, is not hruting others through your actions directly or undirectly. ( or at least trying)
In cases where not asking the question puts the other party in a disadvantage or at the risk thereof, I feel one shouldn't be allowed to claim that one was being polite or "doing the right thing".
You were being either too shy, cowardly or selfish. This doesn't mean that you must ask such questions/ venture in those topics. But it certainly does mean, that those that don't, shouldn't be allowed to claim active virtues ( to others or to themselves).
* Also, if one chooses to not inform the other party of the problem, I feel that one shouldn't make them suffer for that choice. Which means at the very least, not trashtalking them behind their backs for it.
The first part is about being good, the second part is about not being actively evil.
You've been denied parol because someone with a name similar to you skipped bail is unfair regardless of race.
You've been denied parol because you come from a rough neighborhood is also unfair, regardless of race.
In fact, even if 99.9% of all people named X skipped bail, it would be unjust to deny somone bail because his name is X.
Rust, C, and Go appear to be on the top.
-that generics don't play well with primitives and arrays?
I understand that jep218 aims to fix the first one. But it's been quite a few years now and why was this not done the right way from the start?
> equals() and ==
I think these should've been switched.
A general principle in languages (not only in programming languages) is that things that are used often should be short.
Plus
- get() and charAt(), instead of [].
just why?
- verbose naming conventions:
Excessive redundancy does not increase safety or improve maintainability. Having one blinking red light is useful, having a thousand lights of different importance will just make you filter it out. People will simply gloss over and skip long identifiers.
we are humans and we can't operate at full attention the whole time. if something has low information content, we simply go on autopilot.
Easy things should be short, so that the hard things popout in the code.
- Obsession with software engineering and OOP Principles?
Instead of thinking about the data structures needed and the alogirthms chosen, time is spent just making a millefeuille of abstractions.
to what baseline are you comparing it to?
It's the origin of the famous phrase "the sea is behind and the enemy is in front of you".
but my intuition says that if you pick all variables from the same distribution, this should still hold.
At first, we don't know anything about the factors, so they are assigned a random importance. or am I missing something?
if you pick n numbers at random, it's not likely that one of them is bigger than the half of their sum.
it's not easy. it's not fast to run. it's not fast to write. it's not fast to read. it's not memory efficient. it's not fun (yeah, subjective but I'm yet to hear someone saying that he had a blast writing java)
despite:
- the mess with ".equals()" and "==".
- arrays don't accepts generics.
- no (non-verbose) partial application
- awfully verbose syntax that clutters the screen with unimportant things making important things hard to spot.
- the confusing leaky abstraction with Integer and int.
- If someone talks to me about a problem that I can't solve. I'll try to help, if I don't know the answer. that's normal. I don't know everything.
- If I try a solution to a problem and It doesn't work, I get frustrated not at the asker, but because It didn't work.
If everybody acts this way, The situation gets easier for everybody, problem are solved if possible and no bad feeling are had,if not.
In fact this behaviour follows directly from already well established moral values: giving others the benefit of the doubt, not being vain ( needing others to validate/compliment you), humility, "I know that I know nothing", Thirst for learning.
I don't understand why autistic people are assumed to be wrong/inferrior in scoial contexts even when their behaviour is the right thing to do.
Another example is trashtalking people behind their back. I always feel compelled to either say a nicething about that person, defend him/play the devil, stop the conversation. People don't like it when I do that, although I'm sure that they, as well as I, would appreciate if someone defends them when they are not there.
and it's not because Einstein was a brilliant physicits.
Intelligence refers to how well you can reason abstractly, not to how successful, how competent, how eloquent, or talented you are. for that we have those words.
and Einstein would have still been more intelligent even if he never discorverd anything.
the parent's assumption is "if you have any empathy for X people". from deir yassin to modern day. That assumption does not hold.
A sandwich means you have a slice of bread on the upper side.
in Tunisia they write arabic using the latin script.
for example: ahla أهلا := hello
for sounds that are inexistant in latin script they use numbers:
3 == ع , for example 3andek, عندك := you have
5 == خ for example 5amej, خامج := dirty
7 == ح , for example n7ebek , نحبك := I love you
9 == ق, for example 9rib, قريب := near
.
The Teacher said that it was amazing and that many native students she had couldn't write that well.
End of humanity is in the grand scheme of things something trivial. It's just happens and then nobody suffers. so there must be a probability low enough to balance it out.