Posts

Applied Rails : Variable Rows For Child Records

Image
I got a requirement in my Rails application to give the user the ability to input a variable number of records with multiple fields. The fields were of text type as well as select comboboxes. These rows had to be saved to the database as child table rows.

Welcome 2017

Image
First blog post at the beginning of the year, as was last year's, is a quantified compilation of my personal activities outside of my day job.

Book Review : Everyone Has A Story

Image
The novel 'Everyone Has a Story' by Savi Sharma is structured on the classic three acts of a romantic story: lady meets man, man goes away from lady and lady gets man back. Lady's goal is to become a writer. It was a breezy read for me and appealed to me as a record of the good-heartedness in people.

Steps And Commands For RoR Application Deployment On Linode Server

Image
I deployed my Ruby-on-Rails application on a cloud server. About a couple of years ago, I got into this practice of hosting my applications on the cloud. At that time AWS did not offer Ubuntu machines. I love Ubuntu so I did not go to AWS. I also have this feeling that access and deployment procedures on the biggies (AWS and Azure) are slightly more cumbersome than the not-so-biggies. Amongst these, Site5 is the cheapest but I don't get root access and was very disappointed with their lack of support. For $20 a month, I got a 4 GB RAM server on Linode compared to 2 GB RAM on Digital Ocean. Hence I went with Linode.

Practical Rails : Adding a bootstrap theme

Image
When you are trying to get your webapp prototype or MVP up and running, you wouldn't wait for your UI group to deliver their entire UI assets. {wrap}bootstrap is a good place to get bootstrap themes for less than $20. And who knows, the theme you select maybe good enough to go to production. In this post, I present the steps to plug a bootstrap theme into your Rails app.

Hello World : Virgin Identifier

Image
On behalf of the Hyderabad Machine-language Engineers Network (HYMEN), I am extremely happy to announce that we have come out with a technology solution to identify whether a girl is a virgin or not. The name of our product is VirIde (pronounced We Ride), short for Virgin Identifier. It can be applied in a very discreet and non-intrusive way, and solves a huge problem burdening our society. It has been a very natural law through out human evolution that males have always wanted uninhibited fun in their pre-marital age, but display obsessive preference to virgins when they want to marry. How can one know whether a girl is virgin or not? There is no way to find out this fact without violating the legal, ethical, and probity standards of our age.

A Ruby Program On Logistic Regression

Image
I wrote, rather translated, a small program in Ruby on logistic regression. There is a github repository " python-ML-minimal " that has programs written for Prof. Andrew Ng's machine learning class assignments. The cool thing is they are written with only the core language features without any dependency on libraries.