Articles in the Computer category

SciKit-Learn GraphSearch CV

Scikit learn provides a lot of algorithms to help in machine learning. However, sometimes those algorithms have too many options. It is not usually evident which options will produce the best results. One method of solving this is to loop through all possible options and check the score.

crit = ['gini …


Ansible is an automation tool that easens work a lot. I just set it up once and from then on I can forget about configurations and settings for my projects. It's really great for doing repeatable tasks like setting up nginx for subdomains, redeploying django projects, updating the OS, etc …

Project Management in Google Sheets

Outline of Project

I wanted a google sheet file that could manage simple projects. This meant that it could track tasks, send notifications when tasks were late and differentiate done, undone and late tasks when the file was opened and editted. To do this, I decided to research into Google …

ArchLinux Signature Error

When updating archlinux using:

sudo pacman -Syu

I sometimes get an error message that looks something like this:

error: zstd: signature from "Andrzej Giniewicz (giniu) <>" is marginal trust
:: File /var/cache/pacman/pkg/zstd-1.3.2-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature …

Using Pass - A Password Manager/Generator

Pass is a password manager that stores passwords locally on the host machine. Since the passwords are stored locally there is minimal risk on your passwords being exposed after some data breach occurring. Also, you can use git to version control the passwords, and set them up in a repo …

Keeping a Diary in Vim

A diary is a good way to write down one's thoughts and memories of the day.

Being a vim fan, I had to find a way to easily help me write down my diary. This is where vim wiki comes in. It is basically a means of writing down wikis …

I3 Window Manager

I've been using xfce4 as my primary window manager for some time now. Its pretty light weight and works really well on my laptop. I sometimes use an Acer D270 with 2GB Ram and 1.6Ghz processor, which is weak.

However, I decided I wanted to try out something new …


So I found myself in windows some time this week, and it started updating. The process had one major consequence, grub could not discover my linux partition, and so brought me to a prompt containing 'grub_rescue'.

To fix this, I first did:


This will show a list of the …

Asus Zenbook Keyboard & Screen Brightness Fix On i3

Keyboard backlight fix

Source for this information can be found here

The link has a file called I set up this file in /usr/local/bin.

I then opened my i3config file and added the following:

bindsym XF86KbdBrightnessUp exec python /usr/local/bin/ +
bindsym XF86KbdBrightnessDown …

My First Vim Function

I finally got down to writing my first vim function. It was a gruelling journey but I finally got through it. So I'll write down the problem I had and the fix I finally came up with as my solution.

Problem Statement

I usually keep a to do list of …

« Page 3 / 5 »