I don’t even know if this should go into Open Source, but there are definitely machines that will not run X.org with the Nouveau driver with some of the newest NVidia cards, and this is the only realistic way I know to fix it. The procedure for installing this thing is incredibly weird and error-prone …
Continue reading Installing proprietary NVidia drivers in CentOS7I’ve decided to finally print my photo collection and put the prints in albums like in the good old days. I spent a few days going through the files and picking what I want printed. I was not expecting to see that I will end up with 934 photos. But that’s not going to stop …
Continue reading Printing photos with bashI forgot I saw this when I visited back home in Tiraspol. I forgot to make a photo of this car right away, but then saw it 3 or 4 times in other locations. It’s a small city so that’s not too surprising, but was interesting anyway, especially since I was working on a project …
Continue reading Creative Commons in TransnistriaFor some reason this doesn’t work out of the box. The official pHash 0.9.6 from phash.org won’t build on CentOS even though ffmpeg-devel is installed. I don’t even think this is the fault of pHash, I think the CentOS package is broken. When trying to build it I get: libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. …
Continue reading Building pHash 0.9.6 on CentOS 7There are plenty of people in our industry (software development) who advise to fail early and fail often. This is a story of such a project. The OSTD is a really cool idea: get free translations, or at least get started on them. I never pushed it too hard but I developed it to the …
Continue reading OSTD: an experiment that didn’t workFor our research project we needed to use pHash to do some operations on a lot (tens of thousands) of image files. pHash uses ImageMagick internally, probably for simple operations such as resizing and changing the colour scheme. I am pretty familiar with errors such as these coming from convert or mogrify: convert.im6: no decode …
Continue reading Using ImageMagick without running out of RAMOur school moved to PeopleSoft for.. I’m not going there.. but that’s where everyone’s timetables are now. I thought maybe this big fancy company has an API to let me access the data but no, it’s basically impossible to access the API directly. So I was left with screen scraping, which I always wanted to …
Continue reading Screen scraping timetable data from a PeopleSoft Faculty CenterI’ve been considering a project idea for Seneca’s partnership with Creative Commons. For that idea to work I would need a tool to create perceptual hashes from images that: Give true positive results when comparing images that were resized, and/or their colours changed. Give very few (near zero percent) false positive results. Too many false …
Continue reading Perceptual hash comparison: pHash vs Blockhash: false positivesI’m going to Moscow in a couple of months, and we bought the tickets a while ago. More recently I’ve randomly discovered that I need a visa to travel to Russia. I’m glad I know people who know these things, it would have been very annoying to arrive there and be told we’re not allowed …
Continue reading How to get a tourist visa to travel to Russia from CanadaI’ve done this work to help out with the open source programming course at Seneca (DPS911). The goal: see if it’s possible (and realistic) to use XMP in an Android app. I’ve spent about 20 hours working on it, mostly going round in circles. The XMP library is shit developed by idiots and Android Studio …
Continue reading Using libXMP with the NDK in an Android app