SSO using CAS RESTful APIs and Java

Overview: In one of our assignments, we use CAS 4.0 (Central Authentication Service) for SSO (Single Sign On) server and its respective java client. We installed the CAS-Server using war-overlay method. With this, when a user gets authenticated by CAS server, he would be allowed to access other applications (cas enabled services) which are configured to have SSO with the same CAS server. What is CAS? CAS is SSO for the web. The CAS server is Java servlet built on […]


OpenStack Day India – 2015 1

Introduction OpenStack Day India 2015 brought together the top minds contributing to the OpenStack community from India. Thanks to Mark Collier who is the Chief-Operating-Officer of the OpenStack Foundation, Tom Fifield, the Openstack Community Manager and Allison Price, the Marketing Coordinator of OpenStack Foundation who flew to India to make this event more memorable and valuable. The event was held in Bengaluru from 7 – 8 Aug. Day – 1 This day has been involved in giving an understanding on […]


Multi Level Pie Chart Using D3

Published originally at https://pankajkumar005.wordpress.com/2015/08/14/multilevel-pie-chart-using-d3/ Using D3, the MultiLevel pie chart is constructed from a hierarchical data (shown below). This could be achieved by modifying the original example of pie chart in mike’s blog. The implementation is a 2 step process. In the first step the hierarchical data is stored for each level and in the second step the corresponding pie charts are drawn (by tweaking inner and outer radius) for each level, using the stored data. To store the data for each […]


How KodeBeagle helped to develop KodeBeagle

One of the visions of KodeBeagle is to make ease of learning new API’s followed by good industry practices. We sensed that this is very much possible while developing KodeBeagle itself. To develop KodeBeagle Intellij Idea plugin we were working on Intellij Idea platform where code base is very large (more than 150k commits in github by the time we started working on that). Most of the API is not well documented ( even folks there also accept it ) […]


How to make WAMP/XAMPP work on Windows 10 4

Shortly after the Windows 10 Technical Preview was made available, I was excited to try it out. And so I did. Everything was pretty cool until I tried starting WAMP, just to find out that it never starts( stuck at the yellow state in the notification area ). Whenever a new version of Windows comes up there is something or the other wrong with WAMP.


How KodeBeagle works ?

Today most search engines available for code search provide full text search. Which means that the results only consist of textual occurences of search keywords, and it has no means to know if the searched keywords were types, fields or methods etc. This is essentially what we call our search context. Questions like: what is that keyword ? A method or a Type and where does it occurs, or which all other keywords surround it. This context makes all the […]


JS Channel Conference, 2015 – Day 2 1

[In continuation from previous post i.e.  JS Channel Conference, 2015 – Day 1]   The second day of the conference started with keynote by Yehuda Katz. He spoke about EmberJS and it’s advantages as a framework as well as what’s new, which can be expected in upcoming versions of EmberJS. The core principal of Ember lies in isolation to scale. The framework treats each screen like its own app and this type of isolation helps in scaling big applications (he […]


JS Channel Conference, 2015 – Day 1 1

JS Channel’s conference for the year 2015 was conducted on 17-18th July, 2015 in Bangalore. It was an amazing platform to come across with best brains of current web technology world, hear from them, put across the questions to them and have some fun and learning time with other participants. Me and a few other friends attended this conference. The conference spanned for two days. First day started with keynote from Douglas Crockford, father of JSON. His lecture was mainly […]


NLP and Code Analysis — Part I

In the previous post I represented the idea that human written code (in programming languages like Java, C etc.) has many of the same properties that the documents written in natural languages (like Hindi or English etc.) have — i.e. predictability, repetitiveness and a propensity towards being used idiomatically. And as was pointed out, this makes a given code corpus amenable to statistical analysis in general and natural language processing in particular. Moreover, software engineering best practices like separation of […]


Why KodeBeagle?

Code is written for machines to execute and for humans to maintain. And to be maintainable, a piece of code should be understandable — by humans. This of course is conventional wisdom of the software engineering world and manifests itself as the emphasis on coding conventions, human readable comments across the code, and an idiomatic approach towards software development (a.k.a design patterns). This in turn implies that the software that people develop and maintain tend to have a certain “repetitive […]