November 16 2021, 03:00

Interesting about the music from Harry Potter

November 15 2021, 15:41

Sitting here laughing. A “Health Secrets” newspaper in the mailbox. There’s no way out. The newspaper’s website is an online drugstore. Meaning, the newspaper is just an advertisement. But it targets “grandmas” and looks like a newspaper. No mention that it’s just a flyer, though.

The article – “Student prodigy studying rays made a discovery that allows the restoration of joints.” The student, Alla Karavaeva, doesn’t show up in Google searches. The hall of the International Rheumatology Conference gave her a standing ovation. She received the prestigious “Young Scientist 2021” award for this discovery. How? Her grandfather was suffering from arthritis, and she told herself “Alla, you must help your grandfather, no matter the cost!” And off she went to make her discovery. And released drugs! And they worked! Elixir “Fleximax” and the herbal patch “Shigao Hubu.” “Why implant artificial joints when you can grow your own?” asks Alla’s curator, rheumatologist Demtsov (also unsearchable). The girl – a true patriot, insisted that the drugs be affordable for every pensioner.

Now, pay attention to the composition: sorbitol syrup, concentrated apricot juice, drinking water, white willow bark extract, calcium citrate, burdock extract, lingonberry leaf extract, boswellia extract, saber herb extract, potassium sorbate (E201), turmeric extract, xanthan gum, sodium benzoate (E211), vitamin D3. “Fleximax” is registered as “Non-alcoholic drink sweetened, enriched with calcium and vitamin D3” by LLC “Scientific and Production Enterprise ‘Laboratory of Beauty and Health'” from Protvino.

“Shigao Hubu” is entirely in hieroglyphs. Translates to “Tiger Step Patch.”

User reviews are written following such a pattern: “my boy fell, covered in blood, and it triggered my arthritis and arthrosis,” (Larionova Oxana, Kazan). Or “I jumped up with my gout to defend a 5-year-old boy from his father, and he hit me so hard that my osteochondrosis stiffened,” (Lozovaya Zhanna). Or “daughter’s leg got torn off, and I developed a spinal hernia and arthrosis,” (Yudlashin A). Then they went through the course and found happiness.

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.