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)

3

Time is weird...it rushes past you at times, leaving you trying to grab the seconds as they flow out through your fingers...it comes to a grinding halt at times, making you long for a time where you'd be able to spend it together...Time which never seems to be enough when we are having fun... that seem a lifetime away, looking ahead... Memories from a different life, years past, that seem no more than a couple of weeks old... 3 years ago, 3 odd "bros"... Excited and anxious at what the future might hold. 3 years later, the trio separated in time... And equally in space... It feels a bit weird to be melancholic midway through a transition like this. Usually sentimentality is reserved for crossroads... Then again, I never was one for good timing.


Derision

Flow of unrestrained thought, from ones mouth to another’s ears. Careful, calculated words, but perhaps not careful enough…It shows. Blatant lies where dignity comes die. Stray ones face, steady one’s smile. Don’t let them know, that you know. But they know…They all know. As much as one wishes to be a faceless man, one cannot mask the eyes. Eyes bleed the truth, one simply has to look close and coalesce the threads of reality and watch as attempted illusions are cast away....


AWK

In the times of a distant past, such follies were known personally well. Wordless companions, tone-deaf singers, lonesome hugs…a list as long as the depth one desires to sink through the ground. One adapts. Put on a fake smile and utter a vague word, in hope of breaking the sudden wall of insecurity. At times one succeeds, pats oneself on the head and smile in contentment knowing, such trivial matters aren’t reason for bamboozlement any longer. Before long dissonance builds up. A self-indulgent lady, mistaken for a glowing mother-to-be… look-alike cousins and a case of lost identity...