Wednesday, October 24, 2012

Karachi Cattle Market 2012

Click on the above image to view the VIP part of cattle market (Cow Mandi) in Karachi.


rizzz86

Saturday, May 12, 2012

Installing DBDesigner 4 on Ubuntu

The only way I found to install DBDesigner 4 on Ubuntu is as follows:
  • Download the *.rpm file of DBDesigner.
  • Download the library package and extract it using:
tar xzvf kylixlibs3-borqt-3.0-2.tar.gz
  • After extracting it do the following:
sudo cp kylixlibs3-borqt/libborqt-6.9.0-qt2.3.so /lib/libborqt-6.9-qt2.3.so

Now your DBDesigner will be working, the executable file DBDesigner4 can be found at /opt/DBDesigner.

Found the solution on the following link.

rizzz86

Saturday, May 5, 2012

Installing Adobe Flash Plugin on Ubuntu

Installing Adobe Flash Plugin on latest versions of Ubuntu (11 +) is straight forward and can easily be done by directly search and install from Ubuntu Software Center.

The problem comes when you are using the old versions of Ubuntu. Yesterday I have to install Ubuntu 9.10 on my system and got the problem of installing flash player plugin. After some searching I found the solution that requires enabling of repositories. Step by step solution is as follows:

  • Go to "System > Administration > Software Sources" from the menu.
  • Click "Other Software" tab and check the two options that represents the repositories. Selecting those repositories allows Ubuntu to download other softwares that includes adobe flash plugin as well.
  • Go to  "System > Administration > Synaptic Package Manager" and search for 'adobe flash plugin'. It will give the package to install, you just need to select that package and click the 'Apply' button on the top.

Now you can run flash videos/games on your system.

rizzz86

Saturday, December 24, 2011

Dinner at Savor Restaurant

The 'Food n Cruze' idea of Savor is a unique one and last week we have planned to Enjoy the Buffet in Savor with Cruise Ride. Click here to see the slideshow.


rizzz86

Sunday, October 30, 2011

Manually Install Erlang on Linux

Erlang is a programming language used to build massively scalable soft real-time systems with requirements on high availability. Some of its uses are in telecoms, banking, e-commerce, computer telephony and instant messaging. Erlang's runtime system has built-in support for concurrency, distribution and fault tolerance.

Applications that are built on Erlang also required Erlang's runtime for execution. Last week I got a chance to work on a Message Broker 'RabbitMQ' (will discuss it in other post) which is built on Erlang. So to get RabbitMQ Server installed on my machine I have to setup Erlang first. This post contains the steps for installing RabbitMQ Server manually on Linux machine. Following are the steps:

Get the Erlang package that you need to install
  • In my case I have otp_src_R14B02.tar.gz
Unzip the package:
  • tar xvzf otp_src_R14B02.tar.gz
Go to folder:
  • cd otp_src_R14B02/
Following files may be required to install on your OS before running the configuration file:

If it gives gcc compiler error then install gcc compiler with following command:
  • sudo yum install gcc gcc-c++ autoconf automake
  • sudo yum install make
  • sudo yum install ncurses-devel
For Ubuntu following command will be used:
  • sudo apt-get install build-essential
  • sudo apt-get install libncurses5 libncurses5-dev
Run cofigure File
  • ./configure
After running the configuration file, run the make command on same folder:
  • make
And in the and execute following command:
  • sudo make install
This will install Erlang on Linux and it can be tested using following command:
  • erl
It will show following lines:

Erlang R14B02 (erts-5.8.3) [source] [smp:4:4] [rq:4] [async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.8.3  (abort with ^G)
1>

rizzz86

Saturday, October 15, 2011

My Experience of Installing MongoDB on Ubuntu

In my last post I have write some very basic and initial points related to MongoDB. That was my initial observation of what MongoDB is and what are its basic features.

This article does not contains the detailed step by step tutorial of how to install MongoDB on Ubuntu. There are already lots of articles available on the installation of MongoDB on Ubuntu &Windows operating systems. In this post I am going to write my experience of Installing MongoDB on Ubuntu.

There are two common ways of installing any kind of software on Ubuntu. One is by using the "Ubuntu Software Center" and other is to download the package and install it manually. Option one is commonly used by users as it is very simple and it automatically download and install the target software on Ubuntu. In the case of MongoDB both option can be used for installation.

For testing purpose I have installed MongoDB using the Software Center (you can also use apt-get command that also download and install package from Software Center). Initially it works good by using it from terminal. I can able to start and stop MongoDB and execute different types of queries. The problem begins when I try to use MongoDB programmaticaly. I cannot able to connect with MongoDB using Java and Eclipse IDE even MongoDB is running and can be used from terminal. So, I have removed all the packages of MongoDB and install it manually. After that I am able to use it via terminal as well as programmatically.

This seems to be something related to version issue as also mentioned on this link. If someone knows what is the actual reason of this different behavior on different installation options do comment here. This is what I have experienced when installing and using MongoDB on Ubuntu.

rizzz86

Sunday, October 9, 2011

MongoDB: {name:"mongo", type:"DB"}

“MongoDB” as the name suggest, is a database that can be used to store data and apply other operations on the data later on. It is not a relational database like (MySQL, Oracle, MSSQL etc), but it provides all the basic operations that eases developer’s life in playing with the stored content. The name is a bit funny for me when I first heard it, but really it is built on some serious concept that opens number of questions of something alternative of relational databases. The concept is of NoSql / non-relational database.

MongoDB (from "humongous") is a scalable, high-performance, open source, document-oriented database. Written in C++

RDBMS has ruled the database world alone for a long time and always remains the only option for most of the software industry to go for it as their first option. Yes, lots of questions are there to choose which RDBMS to use and how the data will be structured within it. With some powerful concept of querying, maintain the integrity, indexing of data etc within RDBMS how come MongoDB’s concept will compete with it? What is the concept on which MongoDB is built? Is MongoDB fully replaceable to RDBMS? Are there other databases built on the same concept? Many more questions are there in this debate, so just have a look how MongoDB is different from relational databases.

MongoDB store data in documents. Yes, a document that have key-value pair. There is a predefined structure of MongoDB that starts with Database -> Collections -> Documents & -> Fields. So there is not any brainstorming sessions on how to structure our data. Just answer How many collections do we have, and what are they?.

One of the most important features of MongoDB is that it provided Indexing on data. This feature makes it different from other No SQL databases. It also support to query data from database. 

 If you're moving to MongoDB from a relational database, you'll find that many SQL queries translate easily to MongoDB's document-based query language. 

Other important features include Replication, Auto-Sharding, Batch Processing etc. Detail of each feature will be part of other posts as soon as I explore them and create some examples.


rizzz86