Posts

Kaggle : A community for Data Scientists

I recently joined Kaggle . This is an awesome site to visit if you are a to be, new or experienced data scientist. This site has a lot of open data set which can check here . A lot of peoples have done very interesting things with those data. You can see those in the Kernels link.  In case you just want to learn about data science. You can also start by visiting the tutorial kernel " Welcome To Data Science ". The most popular feature of this site is the competition that they host on the site. And finally, this site serves as a community meeting place for all the data scientists. So if you are a data scientist and if you still have not joined this site. I would highly recommend joining Kaggle. They have been recently acquired by Google so hopefully, a lot of new things are gonna come in future.

Princess Knight and our goal as Service Professionals

Why are we in service business? Or why do we do anything at all. I got a very nice answer to that from a very unexpected place. My 4 year son loves to see Princess Knight. So I was also seeing it with him. They all were on a competition to be the first one to see a dragon's egg hatch. Because nobody have seen it before. Now there was this guy who always want to win, he said I will be the winner and would be the first one to see it. Princess knight said, "it is ok that you like to race, but don't forget, the whole idea of this competition is to see the dragon egg hatch" - wow, and something struck in my head. Why do we do anything at all. Are we aiming toward the right target? We want our kids to get hight scores in the school exams, we want to go up an up in our career. But real reason for education is to educate a person, make him or her a better person, and not getting high marks. Many of the time we choose a career because we love doing what we do, but instea...

Configuring CI pipeline in Jenkins for PHP projects

Image
This article describes the process of creating a CI (Continuous Integration) pipeline for PHP projects using Jenkins server.  The Architecture The above diagram shows a graphical representation of the whole process. Here we have a git repo, the Jenkins CI server, and its build agent.  The Process   The process begins when the user checks in the code in the git repo. The git repo via its commit hook calls the build URL of Jenkins server.   The Jenkins server pulls the code from the git repo and sends it to build agent.   The build agent then executes the ant script and builds and validates the PHP code via various validations mentioned the ant script    The successful build can be deployed in a deployment server to complete the CD part of the process.  The configuration To configure this solution, we have used a Microsoft Team Foundation Server Online git repo and a Bitnami Jenkins server VM from Azure. I am ass...

Configure Netbeans for Apache TomEE and OpenJPA

Image
Apache TomEE is a nice small fully certified JavaEE 6 web profile container. In this blog I will show you how to configure netbeans IDE 7.3 beta 2 to work with TomEE Web Profile 1.5. To learn more about TomEE and to download the server you can visit the following link http://tomee.apache.org/apache-tomee.html And you can get the latest version of Netbeans from its site at http://netbeans.org Now first of all I would like to tell you both TomEE works great Netbeans. There are couple of posts which shows about creating things like EJB and CDI beans in TomEE and Netbeans. But what I could not found in the web is a guide to how to make JPA work in TomEE with Netbeans. So I would try to demonstrate the same in this post. So to begin lets just create a Java Web project in Netbeans (I am assuming you have basic working knowladge with netbeans and you know how to create and run a web project in netbeans). In the server screen we can add TomEE like the given screenshot below....

My Experience with Airtel

My experience with Airtel - Was trying to do a online recharge. it did not do recharge from ING Vysha. So tried doing it from my Credit Card. The transaction was done and when redirecting to airtel the site just shows a time out error. and the fun begins. I tried calling 121. But could not make any head or tail how to get hold of a customer care executive. Then looked into their site and found they have something called a 198 service. So called them and after struggling through a list of menus finally I got hold of the final golden combination to talk to a customer care executive. Man I am sure Einstein was not more happier then me when he found theory of relativity. Finally after hearing jo tera hai woh mera (Ah. really surely they took my money and did not recharged my mobile)  for a reaaaal loooong time in a flanky voice  mixed with the word that my call is important to them, finally i got hold of a customer care executive. He started speaking something in some weird langua...

FizzBuzz in ruby in one line

Some days back I came accross this blog which says about writing the classic fizzbuzz program in one line using Haskell. So that inspired me about writing a single line FizzBuzz program in Ruby. So here you go. This is the code that I came out with. puts (1..100).map{|i|i%3*i%5==0?(i%3==0?"Fizz":"")+(i%5==0?"Buzz":""):i.to_s}.join(",") Do let me know if you can come out with something even smaller

Ubuntu in my netbook

Image
First of all a desclaimer. I don’t work for Ubuntu or Acer. Neither they are gonna pay me anything for writing in their favour. It is been quite a while that I have been using my Acer Aspire one netbook. I purchased it back in Jan, 2008 with windows XP home edition preloaded. I really liked the small form factor it had. And more over it was pretty much useful for a lot of document viewing, editing. But over a couple of weeks it started getting slower. It got so much slow that it use to take around 10 mins just to boot. The solution? switch to ubuntu netbook remix. I completely wiped out my hdd by removing Windows XP I started using Ubuntu. The performance difference was significant. The computer was booting faster. I even started doing things that I never expected this computer to perform. I did complete Grails development in it using NetBeans as IDE and the Grails framework installed right into it (And I still do). Even my very good friend Pradeep installed whole LAMP stack in it an...