Postagens

Splitting and merging large files in Linux

In some cases you won't be able to transfer very large files using storage devices. So the best way is to use split a given file in to arbitrary no of volumes at the source and them merge at the destination. This will simply do that for you. Splitting Say you have a directory/file called 'foo'. First you need to create a '.tar.gz'. tar -cvzf foo.tar.gz foo Then you can split it using split command and as a parameter you can give the size of a each volume. (here its 25MB) split -d -b25m foo.tar.gz foo.tar.gz. Merge Simply you can merger using the cat command. cat foo.tar.gz.0* >foo.tar.gz Now you can untar this and use the original file/directory.

Retrospective - WSO2 Con 2010

Imagem
The first ever WSO2Con 2010 was successfully concluded on 15th of September 2010. It was a giant step in the Sri Lankan Software Industry where a Sri Lankan based company was able to held a world class conference that touches the cutting edge technologies in the Enterprise Middle-ware world. Being a member of the WSO2Con samples team, I was involved in the development of the sample scenario on the perspective of WSO2 ESB. It was an exciting couple of days that all of us worked with tremendous determination of making it a success. So, finally it paid off.. everything went very smoothly and the demo was a near perfection. Both Carbon and Stratos demos of the shopping cart app was a real success and we were able to use most of the WSO2 Products in that demo. Azeez's presentation of the demo on top of Cloud went really well. Panel Discussion I developed the ESB related configurations and integrated the all the components through the WSO2 ESB. I would like to explain the complete scen...

Understanding Cloud Computing

Imagem
'Cloud Computing', a buzz words that is frequently pops out in modern day discussions with IT professionals. Being a buzz word, Cloud Computing has proven to be a confusion term with respective to most IT fields. So, rather than 'defining' Cloud Computing, its worthy to write about how it has evolved during last few years and then go for the conceptual things on Cloud Computing. Business App Nightmare Nowadays, every modern business has an Enterprise Business Application as its backbone. For instance, for a given company, it may require a Business App, to manages its human resources and to support its business process in efficient manner. Traditional Business Applications are too complex and too expensive. A traditional Business App often have most of these characteristics. Often required to have a dedicated datacentre and office space with power,cooling, bandwidth, network, servers and storage. Consists of a complicated software stack and required a team of exprets to ...

WSO2 Stratos - 100% Open Source Cloud Computing Platform

Imagem
WSO2 announced the debut of WSO2 Stratos , the first 100% open source cloud platform for enterprise applications. WSO2 Stratos offers organizations of all sizes a fully hosted application platform-as-a-service (PaaS). Try it Out WSO2 Stratos Services Download - WSO2 Stratos WSO2 Cloud Connectors Using WSO2 Stratos, IT professionals can build and deploy applications and services with instant provisioning of enterprise servers, including the portal, enterprise service bus (ESB), and application server. WSO2 Stratos is built on top of and extends WSO2 Carbon—the award-winning, OSGi-compliant middleware. WSO2 enters the emerging market for enterprise PaaS. WSO2 Stratos provides IT organizations with three key benefits: Productivity: cut project time using the automated, integrated and highly scalable infrastructure of WSO2 Stratos. Cost reduction: optimize datacenter utilization and pay only for what is actually used. Control: govern all applications and services with built-in governance ...

Visit the Miracle - Sri Lanka

Imagem
Sri Lanka celebrates its 1st anniversary of the end of civil war that was lasted almost 3 decades. Now Sri Lankans enjoy the true taste of 'Peace and Harmony'. Despite of the fact that there are some more activities to be done to establish true democracy and economic stability, Sri Lanka can be easily rated as one of the best places to visit. In January 2010 New York Times rates Sri Lanka as No 1 of ' The 31 Places to Go in 2010 '. Retrospective Although Sri Lanka came across some political instability last year, people enjoys the new born freedom and many foreigns have visited Sri Lanka in 2010. Its obvious that country is more or less going in the correct direction and its the responsibility of the Sri Lankans to guide the government in the proper direction. It's a great feeling to live in a country that has just came across such a pathetic situation and now.. moving forward with a great confidence. There are no wonders why NY Times has rated Sri Lanka as the no...

Iridium flare .... WSO2 ESB 3.0.0 Released!

Imagem
The WSO2 ESB team is pleased to announce the release Open Source Enterprise Service Bus (ESB) 3.0.0 - Iridium. WSO2 ESB is a fast, lightweight and user friendly open source Enterprise Service Bus (ESB) distributed under the Apache Software License v2.0. WSO2 ESB allows system administrators and developers to easily configure message routing, intermediation, transformation, logging, task scheduling, fail over routing and load balancing. It also supports transport switching, eventing, rule based mediation and priority based mediation for advanced integration requirements. The ESB runtime is designed to be completely asynchronous, non-blocking and streaming based on the Apache Synapse mediation engine. WSO2 ESB 3.0.0 is developed on top of the revolutionary WSO2 Carbon platform (Middleware a' la carte), an OSGi based framework that provides seamless modularity to your SOA via componentization. This release also contains many new features and a range of optional components (add-ons) th...

Understanding Visitor Pattern

Imagem
In Object Oriented Design, the visitor patter is one of the obscure pattern yet powerful enough to solve many complex OO scenarios. Visitor Pattern is also not really easy to understand at the first glance but you need to dig it around with practical examples. (I guess it’s not just for Visitor pattern but also for all the other patterns) I would like to give a clean and simple introduction to visitor pattern with this post. So let’s start with a simple example ofthe usage of Visitor pattern. Visitor Pattern is often useful when there are fair numbers of related classes. One of the common examples of such a scenario is ‘drawing different shapes’. In this case we have a set of related classes; Circle, Trangle, Rectangle etc. Now, if we are going to implement a draw() function for all these classes i.e. circle::draw(), trangle::draw().. etc we may be drawing different shapes but we are replicating a fair amount of code in all the classes. (Because the underlying methods, that we use to d...