Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Russian Programmers Part 2

Name: Anonymous 2018-09-04 9:53

Continuing the theme of ingenious Russian programmers, we have an exhibit directly on LJR:
http://lj.rossia.org/users/hex_laden/406941.html

string CheckSpecDiaps (string IP)
{
int uip = IPConverter.IPToInt32 (IP);

for (int i = 0; i <SpecList.GetLength (0); i ++)
{
int start = IPConverter.IPToInt32 (SpecList [i, 0]);
int end = IPConverter.IPToInt32 (SpecList [i, 1]);
string desr = SpecList [i, 2];

if (uip> = start && uip <= end)
{
return desr;
}
}

return string.Empty;
}[/code]


For non-programmers, I'll explain: the Russian fool takes a set of intervals a0:b0, a1:b1 ... aN:bN and stupidly checks each of them for entering the number X. Making this a stupid search is the most inefficient algorithm, although in practice In its task, there may be thousands and millions of intervals. There is a lack of knowledge of the simplest data structures (in this case a binary tree) and the basics of mathematics. Worse, the idiots boasts of his unprofessionalism and the deficiency of the solution, apparently so that the client knows what he is buying and that the server will hang during production.

Indeed, all top companies dream of recruiting Russian programmers, but they continue to patriotically plow vodka fields for copecks at their native sharaga. Although there are isolated cases of traitors, one Russian programmer himself volunteered to promote the pindos science:
https://interestingengineering.com/russian-programmer-volunteers-first-human-head-transplant-next-year

TLDR: a request under a plausible pretext to give a link to this post in any western reddit and hackernews (such as Russian Programming Genius Strikes Back). It is necessary to PR Russian "smarty".

Name: Anonymous 2018-09-09 13:41

>>60
It was avenged during my birth, because I was born brain damaged, so all I did was a result of head trauma:

My birth also echoed the spirit of the times. According to the mother's story, in the maternity home, apparently for sake of the lesson to interns, it was decided to stimulate the childbirth, and as a result of rapid birth I had a birth injury to my head (diagnosis of "post-traumatic encephalopathy"), which later expressed in a bouquet of mental diseases.

Right after delivery, my temperature rose to 40 degrees celsius and I was transferred to the intensive care unit, and given back to my mother only after a couple of weeks. In the newborn's passport, I have a diagnosis of "a syndrome of increased nervous-reflex excitability", so already since birth, I have been prescribed with Phenobarbital. All my childhood I had sleep issues (I slept too little), neuroses, dizziness, nose blood and headaches from the slightest change in the weather, which continues until the writing of the story.

At the age of 2 months, the mother, taking advantage of maternity leave, moved with me to her beloved father in Buryatia, but when I was 1 year old, the working mother, not wishing to deal with me (because she wanted a daughter), returned to Moscow, leaving me in the care of my grandparents who had just retired.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List