November 07 2021, 14:46

I am reading a short story by Stephen Leacock, where the character asks to be given his $56 in “fifties” and “sixes”. I think maybe I misunderstood/translated it wrong, what kind of nonsense are “sixes”? Went to Google it. Indeed, Banque Nationale had issued $6 and $7 bills shortly before this story was written.

November 05 2021, 09:43

>How to identify cool people at the resume stage?

I believe it’s necessary to elevate the recommendation system to a new level.

– Recommendations from people with a good reputation carry more weight than recommendations from just anyone.

– You can only get a good job by gathering recommendations.

– Those who recommend have the right to know whether their recommendations lived up to expectations. If an employee fails the probation period, the company can proactively notify the recommender that the recommended individual did not meet expectations.

– Those who are recommended evaluate recommenders by their internal metrics. For instance, recommendations from individuals in the same industry who benefit from the employee’s work are valued higher than those from a colleague.

And then no resumes with keywords are needed. Because everything will be in the recommendations. Of course, there will still be filtering by keywords and the like, but you will be able to customize your profile of people you can trust.

November 03 2021, 14:35

I came up with a task that trips up 90% of junior programmers and highlights candidates for mid-level positions. It consists of just three words: shuffle the array. Surprisingly, but it works very reliably.

The next level – grouping objects by field A with summation of field B to create a hashmap distinct(A) -> sum(B). All juniors and even mids, who claim they know Java streams, usually get stuck here, and most likely fail.

You can also ask them to find the longest string from an array of strings in a single lambda expression.

The next level – compare two long lists of complex objects to show what overlaps and what differs and in which direction. This is a very common business task (at least in my integration). Of course, under conditions of limited resources.

From the same category – sort (effectively normalize) JSONs that contain nested arrays of complex structures.

The questions programmers ask about these tasks and how they solve them are very telling.

November 01 2021, 21:40

Having a census? So are we.

Decided to participate.

Gave up halfway through.

There are no less than 100 questions for each family member. So, for four people – that’s about five hundred. About everything – from salary to place of residence, status, occupation, what degree you have, who owns the house, how much you pay per month. Many questions can be skipped if you don’t want to share, but sometimes they say you need to “enter something, if you don’t know exactly, enter an approximation”. I checked several times to see if it was a scam – no, US Census, all correct.

For example, among the questions, there is one about how many acres my house stands on (less than 1, from 1 to 10, more than 10). Went to Google how much an acre is. Besides, I have no idea how large my property is, be it in acres or in square units.

They asked if we have laptops or technology at home. They need it to understand if we can work remotely.

In general, this is all needed for reports like this one:

At the local level, it is needed for city planning. Here, for example, about our Leesburg: