HN user

Yessing

124 karma
Posts0
Comments29
View on HN
No posts found.
2020 Leap Day Bugs 6 years ago

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.

"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)?

- 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.

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?

"not offending others by asking sensitive questions/Avoiding awkward" is the polite thing to do.

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.

Why should the system have access to the candidates' name?

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.

The thing I hate about java the most is:

-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.

I heard the same story when I was a kid but the general that did it was "Tariq ibn ziyad" in Gibraltar (the mountain is named after him). But I can't for the life of me find a enlgish source that confirms it.

It's the origin of the famous phrase "the sea is behind and the enemy is in front of you".

I'm asking why use java?

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)

I don't understand why java wins?

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 I talk to someone about a problem and he gives me a suggestion. I know that he is trying to help. getting mad at him is unfair because he means well. In fact what's natural is to be happy that someone values me enough that he's spending effort to help me.

- 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.

Einstein, without a doubt?

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.

I mean his arguments is the basis of the the separation of powers. It's only American insofar as American democracy was inspired in it's founding by the enlightenment thinkers.

the arab world?

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

.

During a C1 German course I took, I tried writing an essay In English, using deepl and then submitting it to the teacher. Only manual thing done is choosing the correct alternative from the list of words deepl gives you.

The Teacher said that it was amazing and that many native students she had couldn't write that well.

I thought that pascal's Wager only works with infinite reward/ punishment.

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.