Ruby deletes temp files when a reference to Tempfile is garbage collected by using
We can reopen and patch Tempfile class and add persist method which will move Tempfile and unregister the finalizer which is responsible for cleanup
on Ruby and Tempfile
03 Oct 2018
API design matters and it makes your API hard to use when you derail
from well established standards.
on rant and REST-APIs
04 Sep 2018
Here are few commands that I find myself using a lot when I am working with Kubectl/Kubernetes
on k8s, gke, and docker
20 Aug 2018
Connection pooling is the technique used to reduce the workload on a database server by pooling/reusing connections.
Connection pooling has its upside and downsides, Upside is, A connection pooler can reduce the total number & number of idle connection to a db server, while downside it can add latency.
on PgBouncer, PostgreSQL, and Rails
25 Apr 2018
Tempfile & Tempdir is the way to create temporary files and directories. ↩
05 Mar 2018
I was building a Unity3D application and during its development, I learned few things about
Unity’s build system.
on unity3d and blender
10 Sep 2017
If you bought something from Amazon or watched a video on YouTube
then you have interacted with a Recommender system in action,
suggesting you more things to buy or watch.
on ML, python, and music
10 Dec 2016