Messaging made was never easy like this. This is first Oreilly video tutorial I followed. And I should mention that I am really happy about this tutorial. Before I watch this tutorial I had no idea about JMS. But in this tutorial Mark Richards explains Messaging concepts as well as JMS implementations. Most of the developer tutorials don't explain important ...

Well. We can swap two integer variables using third variables. That is not a problem. Let's say we want to swap two variables without using a third variable. For that you can use simple mathematical operations such as addition/subtraction. But division multiplication will introduce an error to the data for example if you have to swap 1 and 3. Using ...

I was really interested in reading this book. But it took a long time to me to read it. And concepts which are explained in this book are really important. To a person who wants to start learning about Big data concepts, I will recommend this book for sure.If you have prior knowledge on BI tools and techniques, this book ...

I am working with Java projects and Git both. But sometimes opening a project from different IDE will create extra files which we really don't want. So using .gitignore file in the root folder of your Git repository will ignore files and patterns you have mentioned. Finally I found there are three main Java IDEs currently. They are EclipseIntelliJ IDEANetBeansI ...

You may want to insert a lot of data into Redis. This would be easier to insert a lot data into Redis using Linux commands. Lets say we have a comma separated values in a file.data.csv: key1,1200key2,5000key35,12345key12,4500With following command you can load all the data into Redis. But you should start Redis server first.cat data.csv | awk -F',' '{print " ...

Recently we used Redis server on Ubuntu 14.04. And I just thought about writing a blog post to show how to build Redis on Ubuntu server or desktop editions. First of all you have to go to Redis site and download the redis source code. Redis siteCopy the download link from redis site. Currently download link looks like this "http://download.redis.io/releases/redis-2.8.17.tar.gz". ...

We recently purchased a Cisco switch for our Hadoop cluster. So I wanted to setup Cisco switch. But first of all I want to configure ssh and disable telnet. Lets see how we can do that. Connect to the switch using telnet or using console port. (You should enable telnet and give a password from express setup.) enableconfigure terminalhostname <switchname>ip ...

Ubuntu 14.04 Desktop - How I feel it I couldn't install Ubuntu 14.04 as soon as it was released. But I upgraded my office laptop to Ubuntu 14.04 in June.Ubuntu 14.04 is more stable than other releases. And Ubuntu 14.04 is a LTS (Long term support) version which will release updates till 2019. I switched to 14.04 from 12.04.They have disabled workspaces. (+1) I hate this workspace business ...

Portable Drive encryption with Ubuntu I haven't used encryption on hard disk drives or pen drives ever. But recently I got a requirement to encrypt some portables disks. And there are some limitations also. After encrypting you would not be able to use that drive on Windows Operating System. You are going to limit to ext4 file system as well.First you have to install cryptsetup ...

Sri Lanka Cartogram with d3.js We have been using d3js to visualize things on maps. And after struggling with topojson application my boss found a way to convert Sri Lanka Shape file (.shp) to topojson format. Then we wanted to use cartograms for our visualizations. I found that there was a d3js cartogram implementation. - https://github.com/shawnbot/d3-cartogram/With the help of this blog post - http://www.limn.co.za/2013/10/making-a-cartogram/, I ...

It's funny! You can have mapper only Hadoop MapReduce Jobs. This would be useful sometime when you need to change the structure of data. Otherwise you can use this way when want to filter out data. But I don't think you will need this much often. First file is a simple mapper which really does nothing. You can change it ...

Last couple of days, I have been playing with Hadoop. Because of that I couldn't blog much often.I wanted to automated packaging with Maven. Below gist shows a sample Maven pom.xml for Hadoop. This will resolve Hadoop dependency and package it as a jar file. Hope this will help you!

I have posted about Installing Cisco Packet Tracer on Ubuntu 13.04 and prior versions. But this method is not working on Ubuntu 13.10 because of repository issue I think. So "Medywan" posted a link. I followed linked and found a new way. But it was not in english so I translated it. Thanks for the guy who posted it first ...

Recently I went to Java Meetup. And it was all about Garbage Collector. So I learned lot more about Garbage Collectors. So Dr. Daya's suggestions was not to declare variable in higher scopes unless we really know what we do. For a example, don't declare class level variables if we are only using it inside on method. Then I was ...

Ubuntu 13.10 කොහොමද? මම දැන් අවුරුද්දක විතර ඉදලා පාවිච්චි කරන්නේ එක එක ජාතියේ ලිනක්ස් ඩිස්ට්‍රෝ. ඒකට හේතුව වෙලා තියෙන්නේ මට වැඩ කරන්න වෙලා තියන සර්වර්ස් හැම එකක්ම වගේ ලිනක්ස් හන්දා, මමත් ලිනක්ස් පාවිච්චි කරන කොට ගොඩක් ලේසි. ඒත් මම පාවිච්චි කරපු හැම ලිනක්ස් ඩිස්ට්‍රෝ එකකින්ම පහසුව අතින් බලනකොට ඉස්සරහින්ම ඉන්නේ උබුන්ටු. ඇත්තටම ලින්ක්ස් සාමාන්‍ය එදිනෙදා වැඩ කරන අයට පාවිච්චි කරන්න පුලුවන් තරමට ...

Ubuntu 13.10 කොහොමද? මම දැන් අවුරුද්දක විතර ඉදලා පාවිච්චි කරන්නේ එක එක ජාතියේ ලිනක්ස් ඩිස්ට්‍රෝ. ඒකට හේතුව වෙලා තියෙන්නේ මට වැඩ කරන්න වෙලා තියන සර්වර්ස් හැම එකක්ම වගේ ලිනක්ස් හන්දා, මමත් ලිනක්ස් පාවිච්චි කරන කොට ගොඩක් ලේසි. ඒත් මම පාවිච්චි කරපු හැම ලිනක්ස් ඩිස්ට්‍රෝ එකකින්ම පහසුව අතින් බලනකොට ඉස්සරහින්ම ඉන්නේ උබුන්ටු. ඇත්තටම ලින්ක්ස් සාමාන්‍ය එදිනෙදා වැඩ කරන අයට පාවිච්චි කරන්න පුලුවන් තරමට ...

Java is one of my favorite languages. Long time ago I learnt Java EE. And this book polished that knowledge I had. This books covers from servlets to EJBs, SOAP web services and many more things. But I should highlight one important thing. If you really don't know anything about Java EE, this is not for you. But if ...

Java is one of my favorite languages. Long time ago I learnt Java EE. And this book polished that knowledge I had. This books covers from servlets to EJBs, SOAP web services and many more things. But I should highlight one important thing. If you really don't know anything about Java EE, this is not for you. But if ...

I was watching some CBT Nugget Tutorials and then I wanted to work with Cisco Routers. But I don't have any Cisco device. Then I downloaded Cisco Packet Tracer from a torrent(TPB the Pirate Bay). If you want to install Cisco Packet Trace 6.0.1 you have to download "Cisco Packet Tracer 6.0.1 for Linux - Ubuntu installation (no tutorials).bin" ...

I was watching some CBT Nugget Tutorials and then I wanted to work with Cisco Routers. But I don't have any Cisco device. Then I downloaded Cisco Packet Tracer from a torrent(TPB the Pirate Bay). If you want to install Cisco Packet Trace 6.0.1 you have to download "Cisco Packet Tracer 6.0.1 for Linux - Ubuntu installation (no tutorials).bin" ...

Previous Page