Posts

Installing Qt Jambi For java

Installing from a Prebuilt Package After extracting the package, you are ready to run the Launcher, which is an application that runs the examples and demos that come with Qt Jambi. To run the examples and demo launcher on Windows run: qtjambi.exe On Linux and Mac OS X run: qtjambi.sh Running these files will verify the virtual machine version and set the correct environment for running Qt Jambi applications. When you are ready to distribute your own applications, see the  deployment  document. Manually Launching Qt Jambi Applications To manually launch applications, you need to include the following  .jar  files in your classpath: qtjambi-4.4.0_01.jar , which contains the Jambi classes. The platform archive, which contains the native libraries used by Qt Jambi. The archive is named after the operating system and compiler used to build the libraries; for instance,  qtjambi-win32-msvc2005-4.4.0_01.jar  for Windows and MSVC 2005. To run the ex...

Cloud Computing:Hadoop

1. Apache Hadoop 1.1. Overview Apache Hadoop is a software solution for distributed computing of large datasets. Hadoop provides a distributed filesystem (HDFS) and a  MapReduce  implementation. A special computer acts as the "name node". This computer saves the information about the available clients and the files. The Hadoop clients (computers) are called nodes. The "name node" is currently a single point of failure. The Hadoop project is working on solutions for this. 1.2. Typical tasks Apache Hadoop can be used to filter and aggregate data, e.g. a typical usecase would be the analysis of webserver logs file to find the most visisted pages. But MapReduce has been use to transverse graphs and other tasks. 1.3. Writing the map and reduce functions Hadoop allow that map and reduce functions are written in Java. Hadoop provides also linker so that map and reduce funtions can be written in other languages, e.g. C++, Python, Per...

cloud computing: Hive

Hive is a data warehouse system for Hadoop.  Hive provides a SQL-like language called HiveQL. Due its SQL-like interface, Hive is increasingly becoming the technology of choice for using Hadoop Prerequisites The following are the prerequisites for setting up Hive and running Hive queries You should have the latest stable build of Hadoop To install hadoop, Your machine should have Java 1.6 installed It is assumed you have some knowledge of Java programming and are familiar with concepts such as classes and objects, inheritance, and interfaces/abstract classes. Basic knowledge of Linux will help you understand many of the linux commands used in the tutorial Setting up Hive Platform This tutorial assumes Linux. If using Windows, please install  Cygwin . It is required for shell support in addition to the required software above. Procedure Download the most recent stable release of Hive as a tarball from one of the  apache download mirrors . For our...

Matlab Read Image

I=imread('cell1.jpg') ; % Load the image file and store it as the variable I. whos % Type "whos" in order to find out the size and class of all stored variables. save I % Save the variable I. ls % List the files in your directory. % There should now be a file named "I.mat" in you directory % containing your variable I.