Running exe in background

A simple way to run an executable file in backgound in Windows 10.

»
Author's profile picture ganesshkumar on personal-reference

Self-hosting multiple applications in a single machine

I love self-hosting personal applications. I spun a machine on cloud and started hosting my applications. As I wanted to host my second application, I got struck routing both the application’s request to the same machine without needing to specify a port number in the URL. Specifying a port number in the URL like http://miniflux.ganesshkumar.com:5000 and http://blog.ganesshkumar.com:4000 made the URL look ugly.

»
Author's profile picture ganesshkumar on self-hosting

Derivatives of Activation functions

Here is my attempt at finding the derivatives of common activation functions of neural network namely sigmoid, tanh, ReLU and leaky ReLU functions.

»
Author's profile picture ganesshkumar on neural network

Dockerize Meteor Application

Let’s start with building our meteor project to make it ready for the production environment. Create a file build-docker.sh in the project’s root directory.

»
Author's profile picture ganesshkumar on docker

Nathas: Your Slack DJ

Nathas, a slack bot, is our entry for the India’s first botathon conducted by TLabs. Nathas has won us the second runner-up at the hackathon.

»
Author's profile picture ganesshkumar on project and hackathon

Notes on my Virtual Box

Though I use OS X as my primary operating system now a days, I still use Ubuntu GNOME on a virtual box for one or two projects. Why not? I love GNOME. This post contains notes on my virtual box setup, primarily for my reference.

»
Author's profile picture ganesshkumar on virtual-box

Containerize GUI Applications on Mac - II

In the previous post, we ran firefox inside a container on OS X. To allow connection from the container to the X11, we used xhost + $(hostname). This gives rise to serious security vulnerability.

»
Author's profile picture ganesshkumar on docker

Containerize GUI Applications on Mac

After watching Container Hacks and Fun Images by Jessie Frazelle, I wanted to Containerize my GUI applications on OS X.

»
Author's profile picture ganesshkumar on docker

Docker - Sync your clock

Setting the Timezone
By default docker containers will sync their clock with the system clock but the default timezone will be set to “UTC”. If we are using Date or Time in our application, we have to manually set the timezone for the container. One easy way to do so is by setting the environmental variable -e "TZ=Asia/Kolkata".

»
Author's profile picture ganesshkumar on docker

Docker - Disable Stream Buffers in Python

When running python application inside docker container, one may use print function for debugging. Usually it takes long time before you see anything on the screen as python tries to buffer the output to stdout and stderror. To force python to print immediately, set the environmental variable PYTHONUNBUFFERED=0 or run python with the flag -u inside the container. Both these force stdout and stderr stream to be unbuffered.

»
Author's profile picture ganesshkumar on docker