ldconfig and custom directories

Posted on Sat 20 June 2020 in System • Tagged with System, ldconfig

This is more a reminder to myself than a new discovery.

To add a new directory where put the .so libraries and be able to use them, just add a new file with the path(s) in the /etc/ld.so.conf.d directory and run ldconfig


Continue reading

Splitting Pelican pages list

Posted on Sat 20 June 2020 in Programming, Web • Tagged with Pelican

For another site/blog I write, with Pelican like this blog, I had the necessity to split the list of the site's pages into 2 indipendent lists. This because some pages contains something like the datasheet of a scale model while others are normal pages (links, about and so on …


Continue reading

Resizing images

Posted on Sun 12 April 2020 in Programming • Tagged with Utility

For the my other blog about models and hobby, I frequently need to resize a batch of images. Using ImageMagik is possible, but after a couple images it become boring and time consuming.

So, being stuck at home, I came up with a small python script which use the Python …


Continue reading

BulbCalculator 3.1.0

Posted on Mon 23 March 2020 in Programming • Tagged with BulbCalculator

A new release of BulbCalculator is out.
The 3.1.0 is a minor release with a very short changelog * Fixed the STL Ascii export * Removed the STL Binary export, at least for now.

The first is a bugfix to the STL export which render the exported file basically unusable …


Continue reading

Building BulbCalculator windows setup

Posted on Sat 22 February 2020 in Programming • Tagged with BulbCalculator

Well, after too much time, I decided to make a binary release for windows of BulbCalculator and prepare two setups, one for 64 bit and one for 32 bit (if someone still use it).

After trying to use the Qt Installation framework, failing to build a working setup, I switched …


Continue reading

Porting from PyQt5 to PySide2, take two

Posted on Fri 10 January 2020 in Programming • Tagged with Python, PyQt5, PySide2

Of course, porting from PyQt5 to PySide2 any not trivial codebase like Punteggi require some more work than what I needed to port Vtf.
The big problem, since this port was done under Archlinux, was to install PySide2. The package that come with the distro are missing the pyside2-uic and …


Continue reading

Porting from PyQt5 to PySide2

Posted on Tue 07 January 2020 in Programming • Tagged with Python, PyQt5, PySide2

After some years, I finally decide to port some (if not all, given time) my Python project from PyQt4 to PySide2.

The reason is that now PySide2 is the official port while some years ago PyQt was a better choice.

The first, just because is much more simple than the …


Continue reading

Making the MiniBookDB database public

Posted on Sat 04 January 2020 in Programming • Tagged with Python, MiniBookDB

The biggest limitation (by design) of MiniBookDB is that it is designed to be deployed only on private network, so no security features. Being in a private network without being accessible from the outside make difficult to check if you already own a book when you are buying one in …


Continue reading

Deploy Pelican blog with git on Linode

Posted on Sat 28 December 2019 in System • Tagged with Git, Pelican

Ok, now I have a new blog with Pelican on my pc, but how I can deploy it to my remote server on Linode ?

Aside from the two ways already usable from the Makefile you have by default (ssh and rsync), it is possible to deploy also with Git.

Disclaimer …


Continue reading

Welcome

Posted on Fri 27 December 2019 in News

Welcome to this site.

Hope it will get some contents soon ;-)


Continue reading