Overview for 'roballen'
Written by Rob Allen
/ Original link
on Jul. 8, 2020
I've recently merged a PR by Stephen to rst2df that reformats the entire codebase to align with PEP 8. As rst2pdf is over a decade old, this has resulted in a lot of changes to the files which now have Stephen's name attached. This affects git blame. For example: git blame -L 137,145 rst2pdf/findfo…
Written by Rob Allen
/ Original link
on Jun. 3, 2020
I'm in the process of writing a little command line app in Go that uploads images to Flickr. It's called Rodeo and it's working well as a project with which to learn Go in 2020. Rodeo uses ExifTool to interrogate an image file for meta data. ExifTool is wonderful and very comprehensive and with the…
Written by Rob Allen
/ Original link
on Feb. 13, 2020
I recently needed to validate the value created by PHP for its session ID. After a bit of research, I realised that there are two interesting php.ini config settings that relate to this value: session.sid_length is the number of characters in the ID session.sid_bits_per_character controls the set…
Written by Rob Allen
/ Original link
on Jan. 29, 2020
I recently received a MySQL dump file where the various tables in it had foreign keys to each other. I usually restore with this command: mysql --login-path=rob < dump.sql but this generated the error: ERROR 1217 (23000) at line 288805: Cannot delete or update a parent row: a foreign key constra…
Written by Rob Allen
/ Original link
on Jan. 24, 2020
All projects seem to have a logo these days, so I asked my friend Jane of iD to create a logo for rst2pdf and she came up with this: This met what I was looking for with a clear design that is related to the what the application does, so thank you Jane. I've set the profile icon for the GitHub orga…
Written by Rob Allen
/ Original link
on Jan. 15, 2020
I currently organise my photo library in Lightroom Classic with one folder per day for my images and then I extensively use collection sets, collections and smart collections to manage the photos that represent an "event", regardless of whether the project is a single day, such as a family BBQ, a…