Articles on Linux, the open source operating system
If you have been experiencing audio skips or stuttering on a Raspberry Pi, then I may have a solution for you.
For background, I use an older Raspberry Pi as an audio player, using mpd as an audio server, MPD Remote on my Android Phone, and Sonata on my Xubuntu Laptop.
It was working fine for a long time, but then it started skipping audio every 10 or 20 seconds, regularly.
Yesterday, I gave a talk for the KWLUG on Incremental Backup For Linux. This is targeted towards home networks or small businesses using Linux, although I touched a bit on some enterprise considerations and technologies.
The solution I use relies on the dump and restore utilities for the ext4 filesystem, along with rsync from laptops.
The slides are attached below, as PDF. The meeting was recorded, and the video should appear here shortly.
If you want to use the Arduino IDE for STM32F103 boards, you need to do the following.
The instructions are for Linux, but it is just downloading, extracting and renaming, so you can use similar steps for Windows of Mac OS/X.
First, go to the Arduino web site
Select your platform, and download
Extract the IDE
tar xJvf ~/Desktop/arduino-1.8.5-linux64.tar.xz
Rename the directory
In my quest to build a full featured and open telescope controller, I settled on OnStep by Howard Dutton. This is built using Teensy, which is a board similar to Arduino.
As someone who only runs Linux, I occasionally need to run DOS for updating the BIOS on various machines.
Floppy disks are no more an option, since it has been nearly two decades with machines not shipping with them. Therefore, the only realistic option is using USB flash drives.
One excellent alternative to Microsoft MS-DOS, is FreeDOS, a free clone that needs very little resources to run. It can be used to run legacy applications, and one of them is flashing a new BIOS.
When I was running Ubuntu Linux 12.04 LTS on my home server, I had installed minidlna as a media server that is accessible to DLNA capable clients, including a Smart TV where one can view photos on a large screen.
However, when the server was upgraded to 14.04 LTS, minidlna stopped working. Searching Google turned up forum posts from 2014 with instructions that no longer work.
Yesterday, I gave a talk at the KWLUG.
It covered the following:
Recently I got a Raspberry Pi 2, which is said to be 6 times faster than the original Raspberry Pi B. This makes it more suitable for tasks like being a media player.
Getting a full CanaKit Raspberry Pi 2 Ultimate Starter Kit adds many components for experimentation (LEDs, resistors, breadboard, 40-pin ribbon cable, ...etc.). The price was attractive since with Amazon you get free shipping, and therefore it will be cheaper than getting it directly from CanaKit.
Today, I gave a KWLUG Talk on how I replaced the disk of my laptop under Linux, while preserving all the information on it and making hibernate work.
The PDF of the presentation is attached below.
In mid June, my laptop hard disk died. Suddenly, there was a flurry of disk I/O wait, then applications started to report errors trying to write anything.
With a 500GB 2.5" laptop disk lying around that was used for backup, I replaced the dead disk with this one.
I had an Ubuntu Server 14.04 CD lying around, and therefore did not bother to download Kubuntu 14.04.
My laptop's home directory is backed up daily via ssh to the server. So my data was safe.
OnStep is a full featured telescope controller. A low cost controller based on the STM32 Blue Pill was created by myself. You can order kits for building your own, as well as a Smart Hand Controller.
More info can be found here:
Sofa Bed NZ