View Ravichandran J.V.'s profile on LinkedIn RJV 's Blog Tweet @ravichandranjv

Translate

Saturday, 29 August 2015

The amazing 'new' VS Code 2015 - a dream !

It - Visual Studio Code - is a new dream for 'old' fashioned devs, who get tired of watching the new gen take a power nap or go for a refill of their water bottle or simply hang their feet (around) while waiting for Visual Studio open, load a solution or check the source control or at times, quite simply hang!

VS Code is totally no-nonsense - no useless, overloaded features that a developer may never use. Instead, you get a feel of using a Notepad!

Changes

1. No solution/project.

Either open a file/folder (and if contains a valid VS project, it will open) or use a .json file.

This is it. The ultimate version of the Visual Studio that I have been using for over a decade!
 

The whole solution and the projects are ready to use in a jiffy and the folder structure is as is. And opening files of other types does not cause a minute lag to open - it is there as soon as you click the file!


2. You can git the file with the changes with just one click.


You have changes to the code? You don't need to to go to the Team Explorer, check the pending changes and spend 10-15 minutes to stage  a one line code change - simply click the 'Stage' button!


3. Commands at your finger tip to modify any editor/environment/package usage.


but you can go overboard with it, if you do not have your senses right ! :D

4. Debug - done with a .json launch configuration file. You will now need node.js if you wish to use VS Code! Debug using the config file or Attach to a port already running the app.
 

5. Working files - shows the most recently worked files and the unsaved ones!


An absolutely brilliant product !

Thursday, 27 August 2015

The man from U.n.c.l.e - the movie!

It looks to be a new trend in Hollywood movies to have a mind boggling stunt within the first few minutes of the beginning. First, The Expendables (3, that is) then MI-the Rogue Nation, with Cruise on an Airplane (pun intended ? not sure ! :D) and now, this one - The man from U.n.c.l.e.

What a weird acronym, you would say, especially if you have watched Bajrangi Bhaijaan, the Hindi movie (not sure why I had to mention this...I mean, how could an English movie have such a name ?), where the end of the movie has a little girl shouting "UNCLE!!!" for a long time but the Hollywood chappies are smart - they explain what the acronym actually stands for - it starts with 'Universal'...but let me not reveal the suspense by telling you what happens after the movie ends!

This one, though, does not end with a fantastic stunt but takes off with pure, ham-away-actors and with Hugh (whats-his-name ...not Laurie...not Jackman but...granted this is getting condescending...) ah, Grant, pitching in, there is some great stuff for the Maclean-esque thrill (maybe somebody from Hollywood picked up a few hints from my blog (Read my review of San Andreas to make this dense reference clear up any doubts in your mind))

that make action movies a real delight - of course, the usual creeps were there who seemed to have come just to spoil somebody's day at the movies - but then, I could move to anther seat after the intermission as the theater was near empty - but again then, another creep seemed to find it too much and so came specially to sit in the seat behind to make sure that somebody spoiled someone's day at the movies else the world may get hit by an asteroid ! Ah, well!


Why I chose to blog about the movie is that a Bond flick is scheduled to appear in theaters and this one, The man from U.n.c.l.e, seems to have been made so that people are ready for the real James Bond ! The setting, the car chases, the speed boat thrills - what is different though is that it has a gay-like rescue, unlike in Bond, where it is usually 'straight' rescues - either the female rescues Bod or Bond rescues females - and unlike in Bond movies, there are only two females, who do not fight each other!

Maybe, this is a 'parallel' Bond-like movie for the 'new' types, the those who enjoy kinky, non-straight innuendos !

The weird port - '443' and SSL certificates

It is not a joke to have a whole community crapping over how their gem does not get downloaded or installed because of a 'https' issue at the server ! :)


And it is certainly not funny to have some other weirdos quickly pouncing on how Windows 10 installs flawlessly so that anti-Microsoft sentiments could be provoked, on Facebook (not on LinkedIn or in any professional forum) but singularly amiss in reporting their own issue of a port not being allowed access because they want to make money from websites which also make use of the same server ! Does the word 'hypocrisy' come to your mind?

And it is most certainly not funny, when you find the word 'hypocrite' hitting the news in the social media in a totally different context.

Such is how 'mass moronic' mentality is frequently manipulated to propagate moronity that makes no sense when seen in the 'correct' context but due to the 'symbolic' nutcases (the types that go 'it is like saying...' comparison makers) that create 'smoke' with their ignorant shouting of 'unrelated' issues, which is then taken by the 'inexperienced' nutcases as public opinion, interpolation of context happens and gets blown out of proportions for 'mass misrepresentation and misinterpretation'.

Anyway, to get to the SSL issue when installing rails - all you need to do is provide a fresh new certificate file because Rails it seems has its own mind when it comes to certificate issuing authority (CA) so simply obtain a .pem file and put it into your ruby installation folder that has the path -
~ rubygems\ssl_certs folder. To do this, follow these steps:

1. type 'gem which rubygems' in the command prompt to find the path of 'rubygems.rg'

once you obtain the path to the rg,

2. type 'start ... (... is the path to the rg file location)' and put your newly obtained .pem (certificate file) in the location.

Re-start rails and the SSL connection will be successful for Rails to download any new gems from the ruby server!

Another common error could be in the mySql installation - all these issues are specific to Windows and open source softwares not because of any problem with Windows (which could be hugely contested) but because of how the primary framework on Windows, the .Net framework, consumes third-party or open source software



This means that if you already have a .net connector for MySql then using the -d option with 'rails' will cause a problem because the service running MySql somehow 'expects' the old password associated with the connector, even if a new MySql instance has been configured! Best is to uninstall the connector and re-configure MySql before using it with rails.



Another common problem in Windows is that because the 'localhost' is usually configured with the default ip address set to some ASP.Net or Windows Web App Server, 'rails server' may return n ip address for a newly created website.

It becomes useful to know that the --binding option set to the default localhost address will allow the website access.

Ps: On re-check, without running any Windows local web app (which means no app server listening in on any ports), the default localhost IP gets used without the --binding option !

Almost like how Mozilla says "This is embarrassing!" for its own errors as if expecting me to think that I should be embarrassed and Moz is announcing it on my behalf ! :D Seriously !!
 

Tuesday, 25 August 2015

Dogmas and conventions

Conventions, when misinterpreted or driven by fear, vested interests or agendas as quick fixes, become dogmas celebrated by stereotyp-ism, politico and the disoriented.

Habits, too, get confused with conventions, often. For instance, many in India visit temples out of a habit while the generally stereotyped believe it to be a convention of the religiously inclined devotees.

It is a morning or an evening walk to the temple or a simple activity that conforms to stay in sync with the tradition as believed by the family or friends rather than be on the wrong side.

Next to religion, where dogmas persist as conventions in India, is in jobs.

One such dogma is to persist with the notion that "Quitting a job without a safe offer or Updating it as your status in social media is an act of stupidity that is not professional and it will be used to manipulate" is almost a protocol and is followed as a convention!!

Convention is "Update your status"; taking the updated status as a submission to slavery and therefore, welcoming jackass trading of pay packages is quite simply sheer lack of belief in one's own capabilities of judgement.

Another interesting dogma is an 'article of faith' (to use an expression used in a similar context in LinkedIn) that becomes dormant in practice due to extensive exposure to what is prevalent and popular and a "therefore, must be right" principle that 'attains' the status of a 'belief' due to irrational acceptance of distorted practices, attitudes, techniques and believing them to be conventions.

Conventions are usually that which conforms to universal acceptance, yes, but when followed impractically and based on irrational reliance on others as beacons to propel the self, results in dogmas, with the effect that irrational minds will most likely begin to become the influential agents in future outcomes because dogmas erode common sense.

Monday, 1 June 2015

Be the change that you want the world to be!

"True caller", the app, has a feature that fetches any saved name from the database and displays it for you if you enter a mobile number and somebody has saved the name using the True caller app.

So, before checking others' names in True Caller, check your own name to see how others searching your name may see it.

"Be the change that you want the world to be."

The name returned by true caller on my mobile number is this !!


And my other stolen sim number,


Saturday, 30 May 2015

San Andreas - it is not my fault ! ;)

The aura of the San Andreas fault was as big as Hollywood in my growing-up days due to my and my friends', (Srini, Ravi (my name is Ravichandran ;)) and a few more at school), obsession with Alistair Maclean novels.

wonder if this image can be used.

After watching the movie, 'San Andreas' (and even while the propaganda campaign was on in Facebook), I did have a feeling that had they heeded the Macelean-esque style of hamming, with dramatic, crisp and witty dialogues, it would have fitted the Rock's own quirky style.

The film is not a disappointment by any standards (the 'father-daughter' (Alexandra) love is almost a take-off from where the 'Taken' duo had left off.) and a much more tolerable movie than many who have reviewed it - as a copy of '2012'.

This movie has lots of humane elements that a tragedy (by modern standards) usually has and as I began to muse on how on Earth were they going to end the movie, the wife (Carla Gugino) says, "So, what are gonna do now?" at the end ;) and here the rest of the cast and the filmmaker missed a dramatic moment of togetherness as if they had not been told what to do. :D

A watch-able movie and in 3-D, it really makes for an enjoyable evening out.

Footnote: San Andreas by Alistair Maclean is a novel.

Monday, 25 May 2015

'The Underdog' rocked

One of the most delightful plays performed by delightful actors - "What is wrong with Bangalore Women" - the title though is a little misleading as there is no negativity in the projection of women but observations centered around how some young, lecherous bachelors (did you hear 'bastards'? :D), obsessed with women and girls, interact with each other.

This particular scene is a delightful portrayal of a 'hot' Bangalore girl, a little stupid - She says she wants to go to Egypt and follows with a quip that she has never been to Europe ! and her sexiness and its effect on the audience and the play was electrifyingly funny.

Wish there were more plays like this and more theater groups like 'The Underdog !'

Thanks, Shilpika, for letting me post the pic on the blog. 

Sunday, 17 May 2015

A lovely day for a play

How the day was developing into
suggested a different Sunday evening
Because the day was meant for watching a play !
With an actor
 and the director
Bangalore theater group
at Alliance Francaise
and those who had similar ideas and were off
to watch the IPL match
at the Chinnaswamy stadium were in for a damp squib!