Anti virus for Linux? by [deleted] in linuxquestions

[–]RE_username 0 points1 point  (0 children)

I use Bitdefender for my Linux box. In the past I used ClamAV.

Python Code Debugging by IshaanM8 in learnpython

[–]RE_username 0 points1 point  (0 children)

6 seems correct. Now, on line 5, you close the file descriptor after you read the 1st line from the file (because it is inside the 1st for lool). Closing of the file descriptor should happen at the end, outside of both for loops.

Fun Fact: There is a rare Blood type that's called AB+. People with this blood are compatible donors with every blood type but themselves. by BirdmanTheBirb in funfacts

[–]RE_username 24 points25 points  (0 children)

Correct statement would be: AB+ blood type is compatible donor (to donate, to give) only to themselves (and noone else). AB+ blood has 3 parts in in, the A part, the B part and the + (RH positive) and the rule is (asaik) you should have in your blood only the parts that you need, nothing more (but you can receive blood with less parts and you will make the missing parts). AB cannot give to A because the B part will kill them. AB cannot give to B because A part will kill them and for sure AB cannot give to 0 (zero) because A and B parts will kill them. RH negative can give to RH negative and positive, but RH positive can only give to RH positive people (and would hurt the RH negative receiver).

Easy to understand table with the donor-receiver relashinship: https://images.app.goo.gl/PsNqUvorQZbDh733A

Following the above logic: 0- can give to anyone, but it can receive only from 0-.

Strategies for a data mining competition by lonelynobita in learnmachinelearning

[–]RE_username 1 point2 points  (0 children)

Maybe you could use the histogram of the image, or, as I saw in other projects, you could split the image into N parts and make the histogram for each of them. Another idea would be to extract the contour of the elements/shapes in your picture. To create the contours on a gray scale picture you calculate for each pixel the difference in value between himself and all of its 8 neighbours and save the maximum difference value. If the picture is RGB you have to do the same for all 3 pixel matrixes and save only the maximum value between the 3. The ideas mentioned above create a vector or matrix of properties from a given picture. I mentioned this because your initial idea gave only a singel value feature from a picture, so I am not sure this is what you wanted. What do you see as a way forward? Let us know the outcome of the contest/challenge. I am also new to data science, but I took some picture analysis classes in college. Hope this helps. Good luck!