Posts

Munnar Diaries [Part 1] - Backpacking to Munnar and spectacular Vattavada village

Image
Travel Date: Saturday, 18-Jan-2020 Dawn, 4 AM Wanted to take a tiny break from the mundane life. Much needed vacation Whenever I feel to travel, I want to travel very next day, or maybe the very next available weekend. And once the travel idea, crawl into my mind, I’m literally screwed, I can’t sleep. I dream my entire nights about the trip destinations, the inner peace I’m gonna experience over there, the photos I’m gonna shoot over there . And I will be like to the mind, " Dude, What’s your problem. Stop the insane dreams and allow me to sleep! " My mind, “ No bro, You are done. I’ve to be there before the body reaches there. ” And mesmerizing Munnar is always the first destination comes to my mind when I'm in Kochi, as I can experience the serene atmosphere, the clean and crisp air at the upper atmosphere. A tour to an abundant forest is always an enchanting experience. I dreamt and dreamt and dreamt and feels the goosebumps, lying in my

How to fix your iPhone that can’t update iOS, unable to install update, an error occurred while installing iOS 13, Never ending estimated time remaining error.

Image
How to fix your iPhone that can’t update iOS, unable to install the update, an error occurred while installing iOS 13, Never ending estimated time remaining error. We are here to help you. These are some of the common error prompts, pushing you to a dilemma and telling you that something is wrong and your device can’t update to the latest iOS version. Let's find out what triggers these errors to occur and how to fix it. Did your iOS update fail? Here’s how to troubleshoot . We have created a  youtube video  to help you with all the detailed visuals to make your life easier.  Part 2: iOS update and the following errors are sorts of best friends. They keep on come and creep at most of the people. These are the common errors 1. Unable to install update 2. iOS 13 “estimating time remaining” error 3. ‘Unable to Check for Update’ error 4. Common iOS 13 update errors 5. Unable to verify update 6.Unable to check update 7. An error occurred while installing iOS

Consume Antimalware Scan Interface (AMSI) from C#

Image
Windows 10 have a new mechanism that will allow software developers to integrate their applications with the antimalware programs exist on users’ computers. The goal of the new Antimalware Scan Interface (AMSI) is to let applications send content to the locally installed antivirus product to be checked for malware. C# sample code is not available in msdn. Here is the sample C# code to communicate with antimalware product installed in your machine. I have Windows Defender installed in my machine and this code communicates to windows defender internally to get the job done. public enum AMSI_RESULT 3: { 4: AMSI_RESULT_CLEAN = 0, 5: AMSI_RESULT_NOT_DETECTED = 1, 6: AMSI_RESULT_DETECTED = 32768 7: } 8: 9: [DllImport("Amsi.dll", EntryPoint = "AmsiInitialize", CallingConvention = CallingConvention.StdCall)] 10: public static extern int AmsiInitialize([MarshalAs(UnmanagedType.LPWStr)]string appName, out IntPtr amsi

Design guidelines for concurrent DB connection in SOA

Image
  Quick overview of SOA A service-oriented architecture (SOA) is an architectural pattern in computer software design in which application components provide services to other components via a communications protocol, typically over a network. Service-orientation is a way of thinking in terms of services and service-based development and the outcomes of services. The Problem In the current technology world, SOA is becoming more and more common and issues related to concurrency is inevitable if the system design is not proper. With increasing concurrent user requests, the system should be capable of establishing multiple database connections without any deadlock or race condition. Solution/The Design guidelines Some design guidelines I recommend and follow while architecting a system that should be able to establish simultaneous database connections. 1. Don't make your connection static/shared.      Static is evil, if not handled cautiously. If the connection is declared

FUJIFILM XQ2 - Portrait and landscape photography

Image
I'm not a pro photographer, just an enthusiast! I got a new FujiFilm XQ2 last week and was playing around with it. My biggest concern was about portrait photography as I really like to take portraits with nice bokeh. Before buying I did some research on google, but couldn't find any major posts on this. Looks like it's pretty good for half-body portrait shot. I took some photos of my niece. I wanted to experiment on full-body portrait also, but my niece got angry with me. :( The picture quality is pretty awesome and color rendering is also really good. And as you can see, the picture came with good bokeh. I did the shoot 1m - 1.5m away from the subject by zooming in with aperture at f/4.9 . You can experiment with different distance from the subject with different apertures. These all pics are Straight Out of Camera. XQ2 is really good for the landscape as well. It cannot deliver ultra wide-angle shots, but goo

c# Value types and reference types

Image
      May be this topic is one the most confusing part in C# and a quick stackoverflow search would return a pretty huge amount of Q&A on this. This writing would be more for my reference as I myself getting confused with this topic overtime and every time I need to do lot of search to get the exact stuffs. So I will consolidate the abstracts here. I will keep the references in the footer so the reader can have a in-depth read on the same. Value Types The typical convention is “ Value types always goes to stack ”. This is an incorrect statement and the statement should be " value types can be stored on the stack and the heap " There are three kinds of storage locations: stack locations, heap locations, and registers. Long-lived objects are always heap locations. Short-lived objects are always stack locations or registers. References and instances of value types are essentially the same thing as far as their storage is concerned; they go on either the

How to handle money. Let you drive money. Don't let money drive you.

I left my highly paid corporate job [for my level in industry] on this May 6th and was enjoying the rainy season in my native place, kerala for past 2 and half months. Initial days went fine but gradually my bank balance went down to zero. Then I did a recap to my past 4 years of corporate life and I found out where my money flowed away. So I just want to give some tips for you, the blog reader. 1. Never Never use a credit card . Credit card is the biggest black hole that eats up your salary. 2.You may be CEO of a giant company, but Live like a student. Then you will enjoy your life like anything. 3.Visit an orphanage or a charity organization when you are getting time. Then you will realize how lucky you are. 4. Don't go for any brand dress. Get a dress that fit for you and you feels comfortable. Brand dresses are just crap. They are just looting people using their brand names. If you would like to have branded dresses, buy it on any offer or from shops selling defective
Image

Garbage Collection: Automatic Memory Management in the Microsoft .NET Framework

Image
http://msdn.microsoft.com/en-us/magazine/bb985010.aspx http://msdn.microsoft.com/en-us/magazine/bb985011.aspx http://www.codeproject.com/Articles/39246/NET-Best-Practice-No-2-Improve-garbage-collector

.Net FAQ

Image
----------------------------------------------------------------------------- C# Frequently Asked Questions http://blogs.msdn.com/b/csharpfaq/default.aspx?PageIndex=2 ------------------------------------------------------------------------------ 1. Default access specifier Classes and structs that are declared directly within a namespace (in other words, that are not nested within other classes or structs) can be either public or internal. Internal is the default if no access modifier is specified. http://msdn.microsoft.com/en-us/library/ms173121%28v=vs.90%29.aspx 2. Protected Internal The type or member can be accessed by any code in the assembly in which it is declared, or from within a derived class in another assembly. Access from another assembly must take place within a class declaration that derives from the class in which the protected internal element is declared, and it must take place through an instance of the derived class type. Note: The protected inte

Missing her badly. Need to date her once more at least.. ;)

Image
August 26, 2011 Missing those days badly. “Very few people have ever said anything nice about Calcutta, unless they were Bengali.” (Geoffrey Moorhouse) Kolkata , The City of joy   She is very beautiful and will create a strong bond with you for a lifetime. If you had lived with her for some time, she would gift warm memories you will never forget in all your life!  I was with her for 4 years and imagine the deep affection I’ve had for her. I always enjoyed the weekends with her, strolling in the old streets or in the high-tech Salt Lake City where air-conditioned cars silently traversed alongside cycle rickshaws and auto-rickshaws. The tuk-tuk drivers in Kolkata never cease to  amaze you with their impressive driving skills and to enjoy the true roller-coaster tuk-tuk ride, I suggest taking a ride in Salt Lake on the morning of any weekday, a tuk-tuk fast and furious? a gripping experience. Shot from Kolkata taxi in a rainy season... Work mornings begin with waking up at