HNHacker News
TopNewBestAskShowJobs

P-ala-din

89 karma · joined May 29, 2020

submissionscomments
P-ala-din··on Advice to new managers: don't joke about firing people
"While early research focused on the prevalence among high-achieving women, impostor syndrome has been recognized to affect both men and women equally."

"The researchers concluded that the women who participated in this study experienced impostor phenomenon more so than the men who participated."

am I misparsing this sentence? how can both be true?

P-ala-din··on An interview code submission that wasn’t even submitted changed our process
I don't understand why people hate to be tested objectively.

- The task was to implement a basic tic tac toe AI (with open book !!!)

the state space is so small that anything would work fast enough in a modern computer.

- Some candidates somehow manage to build a program that loses?? that is, it's buggy and they failed to test it.

- The interviewer uses subjective criteria that somehow results in broken code being accepted unanimously.

- Some people overengineered their solutions and this is called impressive.

- Someone failed to implement the exercise, wrote an answer that can be googled in a couple of seconds. Made an irrelevant comment about "min-max" vs "negmax" ( performance is not a concern (small state space) and negmax's main advantage is being DRY).

Made a comment about "test bloat" despite empirical evidence from the submissions showing that there was under testing.

and the conclusion that I am supposed to have is that interviewing without code is better? a worth-mentioning portion of the candidates couldn't ship a working implementation of a standard algorithm and the conclusion is less code??

To be honest tic tac toe is a bad task to choose. it's trivial, easily googlable, and has little room for skill expression. It's also doesn't test the candidates' ability to choose the correct algorithm for the task. and it fails to probe daily aspects of dev work ( concurrency, networking, databases ..) that traditional onsite interviews are less able to test.

P-ala-din··on Show HN: interviewing.io is out of beta and open to engineers of all levels
As a student, I prefer the interview culture in software because at the very least there is an objective component in the evaluation.
P-ala-din··on Stoke – A stochastic superoptimizer and program synthesizer
I had to use a very crude form of superoptimization for an assembly course this summer. The goal was to create a fast to upper function for ASCII.

I was already familiar with the method to check for zero (with chars being packed in a word): ( x - 0x010101010x01010101UL) & ~(x) & 0x8080808080808080UL

so my idea was to find an equivalent formula that puts 0x80 in every byte where there is a value between 0 - 25, shift it by 2, and xor it with the original word.

I simply tired every combination of simple operators and repeating-constants and found (0x9999999999999999UL - x) & (~x) & 0x8080808080808080UL

← PreviousPage 2 of 2