A way to extract the playback time from mpg123

In the last period I was working on a project concerning UPnP. In particular I was developing a “smart speaker”, a wireless speaker which plays mp3 files by streaming them from a NAS (UPnP media server). The code is written in Java and leans to mpg123, a real time CLI MPEG audio player/decoder. The hardware ...

Written by Cristiano

Upgrade to PHP 5.6.2

In the last days I was trying to create some packages for Slackware 14.1. I’ve created two virtual machines with VirtualBox, one for the 32 bit version and the other for the 64 bit version. These VMs have a clean Slackware installation and are intended to be used only for building packages. I’ve configured slackpkg ...

Written by Cristiano

Sort tricks

This nice UNIX command allows you to sort the rows of a text file according to predetermined criteria. Let’s do a few simple examples. Imagine you have a text file called Data.txt structured as below: If you want to sort the rows according to the age (the second column), you can do it with sort ...

Written by Cristiano

Toshiba DVB-T TV tuner on Linux 4

My attention is focused on this specific USB device: Toshiba DVB-T TV tuner P/N PX1211E-1TVD. I got it together with my old laptop in the summer of 2006. Albeit this DVB-T TV tuner comes with a standalone mini antenna, I usually prefer to connect it directly to the TV antenna cable using the adapter. This ...

Written by Cristiano

The laptop reboots instead of shutting down: what to do?

A few days ago I finally fixed a problem that has plagued my laptop for a few months. I bought the PC last year at the end of December. The first thing I did once I got my hands on it, was to format Windows in order to install Slackware on the whole disk. After ...

Written by Cristiano

1st post

Here we are! Finally I decided to open my personal website. “It’s time to do it!”, I thought. There are several reasons that led me to take this decision. I think the most important is the possibility to share some experiences giving my¬† personal contribute. Another reason is to improve my rusty english. As you ...

Written by Cristiano