Author Archives: Marko

Quick Chat WordPress plugin and widget

Like most web sites now days, TechyTalk.info web site is based on WordPress foundations. WordPress is as its authors describe it "a semantic personal publishing platform with a focus on aesthetics, web standards, and usability." It is also open source and based on open source technologies like PHP and MySQL. WordPress has given a lot to the Linux community and to me personally so I've decided to give something back by making WordPress plugin for all of us to use.

We all like to chat so I've decided to extend WordPress trough quick and lightweight Ajax chat plugin. One of the advantages of open source community is that you don't need to start from scratch so I've decided to base my plugin on the work of djaney3's chat plugin. I've also decided to name this newborn "Quck Chat".

Continue reading

Using PulseAudio as network sound server on Ubuntu and Fedora

PulseAudio Logo

When I hear word PulseAudio the first thing that comes to my mind is one sleepless summer night back in 2008. when I was up trying to make my sound work on Ubuntu Hardy Heron (8.04) PC. PulseAudio had rocky start back in 2008. when it first appeared inside Ubuntu and Fedora distros that decided to implement this new piece of code designed to expand Linux audio sky with ton of new possibilities. I think that most of us would agree that these days PulseAudio mostly works. When I say it works I mean that most users can't say is PulseAudio demon running in background or not. Sound just works. The sound worked before PulseAudio was introduced, so someone might ask what's the point in going trough all this trouble to adopt PulseAudio? In this post I will show you how to use PulseAudio the way it was meant to be used - as network sound server. Follow me...

Continue reading

Webcam settings on Ubuntu and Fedora Linux CLI from terminal

About a month ago I gave a few examples on the topic of controlling your Video4Linux compatible webcam device on Ubuntu Linux operating system. Here's the link if you are interested:

Webcam settings control on Ubuntu Linux operating system

Today we will approach that topic from a different angle. We will use CLI to control our webcam device. Who would want to control visual device like webcam from CLI you might ask? I'm doing it CLI way, because I want to tweak my webcam using my Linux operating system startup scripts. That's something I can't do by using GUI.

Second reason for using CLI for webcam control could be that you feel better typing commands on your terminal instead of clicking around with your mouse. Or maybe you don't have mouse or GUI available? Anyways, lets get started...

Continue reading

C/C++ library programming on Linux - Part three: Dynamic libraries using POSIX API

This is my third article in the “C/C++ library programming on Linux” series. I strongly suggest you read the first two parts parts of this article series where I’ve given some background about libraries on Linux operating system and explained static and dynamic libraries.

C/C++ library programming on Linux – Part one: Static libraries

C/C++ library programming on Linux – Part two: Dynamic libraries

In this third article I will explain the most interesting way of reusing code using libraries on Linux operating system - by using POSIX ("Portable Operating System Interface for Unix") application programming interface. Using POSIX functions dlopen(), dlsym(), dlclose() and dlerror() you can load and unload your shared libraries during the course of your programs operation. This functions present interface to the Linux dynamic linking loader explained in the first part of my "C/C++ library programming on Linux" article series. This system calls are typically used for implementing stuff like plugins for your application so that you can load functionality provided inside plugin specific dynamic library on-demand. So here's simple example of loading dynamic library into the "cprog" program presented inside my first article "C/C++ library programming on Linux – Part one: Static libraries".

Continue reading