Randomness in Python set-structure

I recently investigated our analysis code for the source of unwanted randomness. The culprit turned out to be the set-datatype in Python. For example, running following code produces varying order of the items between different runs: idList = [ "ID" + str(i) for i in range(10) ] idSet = set(idList) print(idSet) I asked the question in StackOverflow and in a few minutes jonrsharpe kindly pointed out the source of the randomness. [Read More]
python 

Quantifying image blurriness using cv2.Laplacian

Designing personalized photo books is a great activity for dark winter evenings. One change introduced by digital photography is the number of snaps taken in every photo opportunity, and in total. Because sharing photos takes likewise less effort than in paper photo time, the photo book project could easily start with folders containing thousands of photos. However, not all the snaps are worth keeping. As in information era in general, some smart person usually has already found a solution for the problem. [Read More]