Taking IM Back Using Prosody

May 26, 2019 - 4 minutes
The common way for most people to chat is using an app on their phone which typically one of Whatsapp, Messenger or Telegram. In the same vein we have apps like Threema and Signal which are more popular in certain circles. But the one consistent feature for all these services, is the centralization of accounts and forcing users to be trapped inside a silo. It is true whether the services or clients themselves are open source or not. Read more ...

(Neo)vim Macro to Create Numbered Lists

Feb 17, 2019 - 1 minutes
I usually encounter this when saving notes about list of items that are not numbered but are generally better off being itemized. Since this is such a common scenario I did find a couple of posts1 2 that explained the method but they had edge cases which were not handled properly. Say you want to note down a shopping list and then decide to number it later, Soy milk Carrots Tomatoes Pasta Start off by numbering the first line and then move the cursor to the second line. Read more ...

Ansible 101 by trishnag

Feb 6, 2019 - 1 minutes
We had an introductory session on Ansible in #dgplug and these are some notes from the class. 1. Learned about hosts file to create an inventory, https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html#hosts-and-groups Different connections (ssh and local for now). I had also tested it against a server running CentOS. We then went on to create an ansible.cfg file in the demo directory which takes precedence over the global configuration. Learned to write a basic playbook which is a YAML file. Read more ...

Thoughts on Atomic Habits Commentary by Jason Braganza

Jan 20, 2019 - 2 minutes
Original post at https://mjbraganza.com/atomic-habits/ Schedule and structure make or break the plan. Goals only show the direction of the task. Personally I would say this has brought all change I need. Answer in the affirmative. You don’t try quitting smoking, you don’t smoke period. Personally I don’t identify as someone who can’t eat butter or meat but as someone who won’t. This confirms my resolve in what I believe to be done. Read more ...

New Templates in Dolphin

Oct 23, 2018 - 2 minutes
I was using kio-gdrive to access my Google drive account using Dolphin (file manager). Since these are mounted as a virtual filesystem, I was not able to save files in them directly from libreoffice or any external program. So I thought creating a new document from dolphin and then editing an empty document would be easier to use. But information was scant regarding how to put together. I knew we needed a template which is just an empty file but I didn’t know how to put all this together to make it show up in Dolphin’s “Create New” context menu. Read more ...

Moving to systemd-networkd

Jul 27, 2018 - 3 minutes
systemd-networkd is a network manager that comes built in with Systemd. It has features, similar to NetworkManager and ConnMan which are more commonly used in distributions like Ubuntu and Fedora. My old system I had moved away from NetworkManager one year back due to constant issues with connecting to enterprise Wi-Fi with logs and errors that were difficult to debug or fix. It was also difficult to see where the failures occurred prompted me to move towards a more modular system. Read more ...

Privacy podcast, IRL

Jul 14, 2018 - 4 minutes
Mozilla, the organization behind Firefox actually does more than just build software. In its advocacy efforts, they roped in Veronica Belmont to make IRL: Online Life Is Real Life, a podcast that explores various aspects of privacy in everyday life explained in a way that can be understood by everyone. It is into the third season and the current episode takes a look at the dilemma of sharing data with companies for free services and privacy. Read more ...

Encrypting /home in place

Jul 5, 2018 - 4 minutes
Raison d’être When I first installed this system, I was oblivious to disk encryption and didn’t factor it in. This resulted in a non-LVM system with some haphazard partitions from subsequent resizing and nuking of Windows in the past few years. One good decision I took when installing was to separate / and /home so this turned out to be easier than I thought. Preparation I was apprehensive of ending up with a dead system before today’s DGPLUG session, so I managed to get weechat up and running inside tmux in a virtual console. Read more ...

How to Blog Steadily

Jun 29, 2018 - 2 minutes
Today’s session of summer training in #dgplug on freenode is a follow up on writing and its importance. I wanted to share an answer to one of my doubts given by Jason. It is established that one has to write regardless of its quality to kick start the habit. The major roadblock is mostly on topic and specificity since there are times when you are in no man’s land. With this laid out, lets get to the answer. Read more ...

Koch curves and fractals

Jun 26, 2018 - 2 minutes
Fractals are never ending patterns found in nature that are impossible to describe in classical geometry. I was intrigued by this topic after a long time since I had programmed some koch curves for an exercise in the Think Python book. Some pictures, and the code can be found on github. The post on how to generate trees1 made me realise that the topic was very general not just related to the curves I had done earlier. Read more ...