Bits of a mind to a Mind of Bits A blog by CTS

Content-Aware Automated Parameter Tuning for Approximate Color Transforms

This poster was presented at Mobile HCI 2020. In this work we present a way to calculate optimal transformation parameters for the Crayon approximate colour transform. We show that when using the least squares cost, the relationship between the user score and the most aggressive transformation parameter that can achieve that score follows an exponential shape. We use that to...


University of Cambridge Jiu-Jitsu Club 2020 Promo


Auto-Update requirements.txt files

Ever wanted to autogenerate the an up to date requirements file when you install or uninstall a python package using pip? Here's a simple way to do that by injecting some code into the pip library


Quick and Dirty Pandas Multiprocessing

Say you have a function that you need to apply for every row in a pandas data frame. And there's no other way than to use df.apply. Here's a quick and dirty way to parallelise it!... Check out the full post for details...

Quick and Dirty Pandas Multiprocessing feature image

Quick FM100 test in javascript

Quick FM100 test in javascript feature image

'What is Science?' by Richard Feynman

'What science is, I think, may be something like this: There was on this planet an evolution of life to a stage that there were evolved animals, which are intelligent. I don't mean just human beings, but animals which play and which can learn something from experience--like cats. But at this stage each animal would have to learn from its own experience. They gradually develop, until some animal [primates?] could learn from experience more rapidly and could even learn from another’s experience by watching, or one could show the other, or he saw what the other one did. So there came a possibility that all might learn it, but the transmission was inefficient and they would die, and maybe the one who learned it died, too, before he could pass it on to others. The question is: is it possible to learn more rapidly what somebody learned from some accident than the rate at which the thing is being forgotten, either because of bad memory or because of the death of the learner or inventors?' [cont...]

'What is Science?' by Richard Feynman feature image Photo Credit: @ProfFeynman on Twitter (original source TBC)