10 years back this day, I officially kick-started my "this.life". I have come a long way since then and as usual I did not realized that today till end of the day and a small incident which pushed me to evaluate my geek journey. I am just planning to journal my 10 years of experience, learning, memories and conclusions in this post. Readers, if you looking for anything technical or code solution, please skip this and help bump-up my bounce rate, thanks for visiting :) Bill's SkillI was stack biased when I started, my whole academic raising was to love and religious-ly follow Java and that eco-system. But I got pushed into the real-world on the eve of the big I.T. recession and had one offer on table with .NET written all over it. I felt all my hard work and preparation in college has gone to waste now » Read more
Developers mostly like to take control of your machine and how things work on it. This time I decided to take control where NodeJS would restore my global packages and manages package cache. In this case I am referring to Windows 10 particularly as that is my core development platform. By default NodeJS gets installed in C:\Program Files\nodejs folder (assuming you are installing nodejs - Windows x64 version). After installation lets say I wish to install http-server package so I can run static HTTP server from any folder. As soon as I do npm install http-server -g, this start adding package and it's dependency packages into C:\Users\username\AppData\Roaming\npm and C:\Users\username\AppData\Roaming\npm-cache folder. So I wish to shift these two folders to different and custom location e.g: D:\nodejs. Let's do it! Step: Edit NPMRC file at follow location: C: » Read more
Using MySQL community server in one of the projects I have been working on. Few days back I reset my machine and installed latest version of MySQL server - v5.7.12 (development mode). This started giving me error on "update from source" in EntityFramework (EDMX) - design first approach. Unexpected exception occurred when generating the model. See output window for more details. Exception message : 'StrongTypingException: The value for column 'IsPrimaryKey' in table 'TableDetails' is DBNull.'. So I started googling (obviously) and came across few bugs already reported with similar problem - here and here. I was able to solve the issue in most simplest way possible is to downgrade to MySQL Server Version 5.6.30 There might be other ways to fix it with latest version of MySQL server but this was the straight forward fix I can use to get around this issue and » Read more