Conda is hell

I use Ubuntu and virtualenv and so I don’t see a need of using conda previously. But I recently tested something on windows and was forced to used conda. I ended up wasting whole two days to resolve package conflict. Conda cannot install all packages (for example cvui) and this force me to fall back…

face_recognition

Playing with face_recognition in python. It was doing well on my 18.04 ubuntu laptop. But face_recognition.face_encoding run super slow on my old surface pro 3. It needs ~0.7s per encoding, 10 times more on my ubuntu laptop. I checked the cpu speed. The ubuntu laptop is newer but should be only 50% faster. Cannot think…

Adventure capitalist

It is a review of a causal game I played recently. It is getting very tedious for special event. It is impossible to fund the last manager without buying with real money. Or I estimated you may click a button ~ 5000 times (12 sec cool down). It will be about ~ 17 hours of…

Deep learning and CV on windows

I mostly use Linux but I tried to setup a windows machine just for the sake of testing. Near the end of 2019, things become extremely easy. It seems the easiest way to get a system ready and going will be Install anaconda Install pytorch with conda Install fastai with conda Install opencv with pip…

Don’t forget to update

I wasted a couple hours trying to fix my website this morning. It took me half an hour to realize that my domain name registrar has expired. After renew my domain name, it was still not connecting. I suspected a problem from letsencrypt. I tried to run a dry run on renewal but got another…

Will police brutality ends in Hong Kong?

It is November 2nd today in the US. And just half a day ago, there was another serious conflicts between civilians and police in Hong Kong. 128 pro-democratic candidates gathered in Victoria Park and had “separate” organized meetings with voters. This is an attempt to get around police’s earlier objection of rally at Victoria Park….

GPU conflict on 16.04

I have my old desktop with a old GTX580 and K40. The GTX580 finally burnt out after many years of service. I replaced with an old C2095 since K40 does not have video output. But 16.04 just stopped allowing me to login afterward. I know that it has to be the video driver problem since…