My day involves processing a lot of information coming from a lot of sources. For many people who have to stay online for work information is both necessity and vice. It constantly switched between those two. And often slips into each other. In a sense my day begins with information and end in information.

I have a laptop, a mobile phone and a wifi tablet. Laptop is primary source of information for me. I regularly read daily emails, mailing list conversations, and RSS feed all three right in my inbox. Then I check social media which mostly involves Google+. I don’t check Facebook much and have recently stopped following Twitter. Next I read at least 4 subreddits – /r/android, /r/androiddev, /r/linux and /r/linuxactionshow.

The first problem that I have to face at this point is to what emails, mailing list, conversation and RSS are important to go through. What can be acted upon? After I wrestle with that I am in battle again with #pixelpushing on Google Plus. That is two #gifwar. I don’t know when we went from posting quotes to quotes in picture and a witty comment to top that. Reddit is already fun to read. Make a comment and then 10 more comments to prove that you are right. All in all I end up wasting hours.

I wonder how much of it is actually important. Everyone seems to do these things in tech world. Supposedly social media is big. You have to make your mark up there.

After I have wasted the most important period of my day on it. I have to decided where to save, retrieve and read it later. I have to go through this process everyday.

Starting with Android

After over a year of learning Java, Android programming, and managing a life as a remote worker I have come to a place where big things are knocking on my door. The big thing is creating a project group up and launching it.

I have been thinking about various app ideas. Some of them involve other software like WordPress and ownCloud that I use on day to day basis that could use better mobile support.  WordPress and ownCloud are web-services which means they involve investment in server not only on my part but also on users part. As a remote worker health is an important issue for me. Being a programmer means you are spending hundred of hours sitting. I have decided to work on weight management app.

Immense popularity of Android as a development platform and a consumer product means every idea has already been implemented. I say implemented and not exploited. Android has changed in leaps and bounds from Gingerbread to Lollipop. Developers have not been able to keep up with the advancement of new APIs and design guidelines offered by newer Android versions. This is reason enough to try redoing some of the stuff that has already been implemented. Also the massive adoption in Android also means newer customers. In the end no one knows what makes a successful idea.

I have two fold expectations with weight management app. Firstly, it should clearly show me if I am losing or gaining weight . Secondly, the biggest problem with quantization is friction in importing data into the app, so, it should be dead simple to enter daily or weekly weight to the app database.

Install Syncthing on Fedora

Syncthing replaces proprietary sync and cloud services with something open, trustworthy and decentralized. Your data is your data alone and you deserve to choose where it is stored, if it is shared with some third party and how it’s transmitted over the Internet.

Add COPR Repository

dnf copr enable thunderbirdtr/Syncthing_for_Fedora

Installation

yum install syncthing

Enable and start via Systemd

systemctl enable syncthing@$USER.service
systemctl start syncthing@$USER.service

Access WebUI

http://127.0.0.1:8080/

After that you can follow the getting started guide at Syncthing Docs

Set SELinux To Permissive Mode on CentOS 7

ownCloud 7 on my CentOS 7 VM kept on complaining that I don’t have access to the config directory. On contrary I had both /var/www/html/owncloud/config and /var/www/html/owncloud/data directory set to drwxrwxrwx. and drwxr-x---. respectively. Yet the server complained about not having access to the config directory. Here comes the SELinux part. SELinux is by default set to enforce which we want to set to permissive more. It would be better if you create an exception rather than setting it to permissive mode but for now here is how you set up it to permissive mode.

setenforce 0

You can check the status of SELinux by running sestatus command.

sestatus
SELinux status:                 enabled
SELinuxfs mount:                /sys/fs/selinux
SELinux root directory:         /etc/selinux
Loaded policy name:             targeted
Current mode:                   permissive
Mode from config file:          enforcing
Policy MLS status:              enabled
Policy deny_unknown status:     allowed
Max kernel policy version:      28

How To Enable EPEL on CentOS 7

EPEL is a repository maintained by Fedora Project which contains various additional packages for enterprise Linux distributions like Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux (SL), Oracle Enterprise Linux(OEL).

EPEL can be installed on CentOS 7 as follows.

wget http://epel.mirror.net.in/epel/7/x86_64/epel-release-7-0.2.noarch.rpm
yum install epel-release-7-0.2.noarch.rpm

You can find out more about EPEL on Fedora Project wiki

Happy Installing.