Archive for Shiva Bhusal

System Stack Error: Stack Level Too Deep 

ShivaShiva Bhusal (Solution Architect) 0 Min. Read Aug 14, 2019

I got `SystemStackError: stack level too deep` error when defining a named scope in Model.
Read More..

Easily Integrate Maps In Your Projects 

ShivaShiva Bhusal (Solution Architect) 4 Min. Read Aug 12, 2019

The purpose of this library is to combine features of `google map` such as map, marker and corresponding info window rendering to a single API call. This simplifies implementing google map into your project while not having to remember all the associated API calls provided by it. Just include the script tag into your project and initialize and object of `ideaMap` class with appropriate parameters while rendering the map. While instantiating the `ideaMap` class, there are certain parameters that you need to pass according to your requirement. Let’s go over them, Here, we’ve passed in an object while initializing the map.
Read More..

Rails | Avoiding Race Conditions While Updating Particular Field In Db 

ShivaShiva Bhusal (Solution Architect) 2 Min. Read Sep 19, 2018

Summary of the post.
Read More..

Memory Management In C 

ShivaShiva Bhusal (Solution Architect) 2 Min. Read Sep 10, 2018

Summary of the post.
Read More..

Installing And Configuration Of Nginx Web/(Reverse Proxy) Server In Ubuntu 

ShivaShiva Bhusal (Solution Architect) 5 Min. Read Aug 20, 2018

You will get to know how to install and configure nginx to serve multiple rails app from the same server.
Read More..

Returning References To Local Variables From A Function In C 

ShivaShiva Bhusal (Solution Architect) 1 Min. Read Aug 9, 2018

You might have read and experienced that you can either return the value itself or the pointers to global objects. However, you cannot return references to any of the local variables. If you have wondered why, then you are about to read the reason and process to return local references.
Read More..

Configure Rails Admin With I18n 

ShivaShiva Bhusal (Solution Architect) 1 Min. Read Aug 8, 2017

By default, its not that easy to configure your application with i18n. If you wish to support your local language like `esp`, `np`, `hi`, `mx`, etc. you need to follow the steps i tell you.
Read More..

Some Hidden Gems In C Lang That You Might Be Unware Of 

ShivaShiva Bhusal (Solution Architect) 2 Min. Read Aug 6, 2017

Most of us have come across with **C language** during the first couple of semesters in Engineering or IT degree; or some of us might use C in daily life for living. I have found some exciting features of C which I would like to share.
Read More..