Sheet, Comparison of frontend js frameworks.

Comparing javascript/client side libraries and javascript Choosing frontend framework can be a tiresome task We can’t try out every js framework available out there, so while choosing right framework for your next project, research which framework solves the core need of your project for example if your project needs graph... »
Author's profile picture Rajat singla

Why is it so hard to develop good software?

Software development is a very complex task, building good software requires applied software engineering principles. Some classic examples of not following software engineering principles which leads to bad software. Classic mentality of a new software developer Most software developers start coding with competitive programming where they solve a predefined problem... »
Author's profile picture Rajat singla

Is Graphql here to replace REST Api

GraphQL is a query language for your API, and a server-side runtime for executing queries by using a type system you define for your data. GraphQL isn’t tied to any specific database or storage engine and is instead backed by your existing code and data. A GraphQL service is created... »
Author's profile picture Rajat singla

My awesome list of english songs

Owner of a lonely heart by YES </param></embed> Download Yes Owner Of A Lonely Heart for free from pleer.com Guns N’ Roses - November Rain </param></embed> Cкачать Guns N’ Roses November Rain бесплатно на pleer.com losing my religion by rem </param></embed> Cкачать R.E.M Losing My Religion бесплатно на pleer.com Time... »
Author's profile picture Rajat singla

Troll software intern

»
Author's profile picture Rajat singla

What is icon font and why use it over png.

Problems with PNG or GIF files and using them as regular images for icons. Size – I had to create many different sized versions of the same icon which is inefficient and time consuming. Color – I had to create big sprites of icons when I needed different colors of... »
Author's profile picture Rajat singla

Philosophical difference between ruby and python.

Example: $ irb irb(main):001:0> exit $ irb irb(main):001:0> quit $ python >>> exit Use exit() or Ctrl-D (i.e. EOF) to exit Ruby follows POLS, principle of least surprise i.e. it accepts both exit and quit to accommodate programmer’s obvious desire to quit terminal. Ruby behave as the programmer’s expects it... »
Author's profile picture Rajat singla

Given an array, find number of subsets with k elements, where absolute difference between the maximum and mininmum element is at most x

Problem Given an Array consisting of N integers, we need to find the number of subsets of this Array of size K, where Absolute difference between the Maximum and Minimum element of the subset is at most X. Explanation Lets say given Array is [4 5 1 3 2] and... »
Author's profile picture Rajat singla

Automated testing of google autocomplete using cucumber and capybara

Ruby script for automated testing of google autocomplete in HTML form using cucumber and capybara. Add the following script for google autocomplete. google_autocomplete.feature Scenario: S1 And I fill google autocomplete google_autocomplete.rb module name def fill_google_autocomplete(id) sleep 1 ele=find(id) if ele ele.set "delhi" sleep 1 ele.native.send_keys(:arrow_down) ele.native.send_keys(:return) end sleep 1 end... »
Author's profile picture Rajat singla

How to manage assets in rails, difference between app, vendor and lib assets, what is asset pipeline?

What is assets pipeline? In rails asset pipeline offers tools and mechanism to manage assets i.e. JavaScript, css, image, video files. Using it you can pre-process(coffeescript,sass), compress, minify and prepare assets for use by browsers. Problems solved by it Asset pipeline solves problem of multiple requests for each asset by... »
Author's profile picture Rajat singla