About Francesco Serafin

I am a PhD student at the Department of Civil, Environmental and Mechanical Engineering at the University of Trento. My two greatest loves: Computer Science and Water (take three with my Lenovo!:D). As a result, the aim of my life is to make both passions coexist. My gpg public key available at https://pgp.mit.edu

Lambda expressions are allowed only at source level 1.8 or above

I’m working on a new Java project and I set up my Arch Linux operating system to have both Java Development Kit 1.7 and 1.8 coexisting at the same time. I tried using lambda expressions writing source code with my Eclim (Vim + Eclipse) system while I got the error Continue reading Lambda expressions are allowed only at source level 1.8 or above

Hidden files in linux: how to move them between folders

How to move hidden files from a folder to another? This is a pretty trivial question. I’m a Linux user, so I want to do that via CLI of course. The command is really really simple, but it includes a small trick: The trick is [!.] written after the . Continue reading Hidden files in linux: how to move them between folders

Print psswd protected pdf files

This is a pretty quick post. I needed to print psswd protected pdf files. YOU CAN’T UNENCRYPT A FILE, of course! So I just tried to pump in the file into ghostscript and see how it does. Well, at the end, I was able to print the document. GWH! #gwh Continue reading Print psswd protected pdf files

Vim, eclim: how to refresh the project

I love writing source code or documents and editing each and every type of text file through command line editors. And yes, I love both Emacs and Vim. Even if there is a famous war between the two users’ community, I use Emacs for C++ programming, editing, bash and R Continue reading Vim, eclim: how to refresh the project

Replace spaces with tabs using Vim

It often happens that you are modifying a text file and you want to replace spaces with tabs using Vim text editor. There is nothing easier! Firstly, set the proper flag to use tabs instead of spaces: Then retabulate the whole file: This work is licensed under a Creative Commons Continue reading Replace spaces with tabs using Vim

Building QGIS: Could not find a package configuration file provided by “QJSON”

I was building QGIS source code on my own laptop when I got the following warning during the configuration of the CMake files This is an already opend issue at the QGIS Bug report #14982 and fixing it is really simple: just install the gjson library via Then remove the Continue reading Building QGIS: Could not find a package configuration file provided by “QJSON”

tar (child): Cannot connect to xxx: resolve failed

I was unpacking a file named something:somethinelse.tar.gz when I got the following error: The reason can be found in the GNU tar documentation If the archive file name includes a colon (`:’), then it is assumed to be a file on another machine. If the archive file is `[email protected]:file’, then Continue reading tar (child): Cannot connect to xxx: resolve failed

Enable/Disable Touch-Screen on Arch Linux

Since Linux Kernel 3.2, multitouch devices are handled by the hid-multitouch module. Thus, normally, the touchscreen device of a pc is supported by the newest kernels. To verify that, you have to use the xinput command via bash and obtain a result like the following. where the highlighted row show Continue reading Enable/Disable Touch-Screen on Arch Linux