Tuesday, 26 January 2016

How To install CUDA on Ubuntu 14.04 Trusty Tahr

Ubuntu-1404-CUDA
          Today, I am going to discuss about the installation of CUDA 6.5 Toolkit & Drivers on Ubuntu 14.04 (Trusty Tahr). From last few days a number of query regarding this problems are being asked. And Yes, Installation of CUDA Toolkit on Ubuntu 14.04 (Trusty Tahr) release is really a tough and challenging task. There are number of problems encountered during the installation of CUDA Toolkit. The installation on Ubuntu & Fedora systems have a lot of similarities. As both operating systems are based on different packages, so one need to understand the structuring & requirements of those packages to get task successfully done. I have already shared one post regarding installation of CUDA on Ubuntu 14.04 (Trusty Tahr). So lets check the Ubuntu installation process today.

Thursday, 14 January 2016

How To Connect to a Website and Display the Data of a Web Page Using JAVA

          JAVA provides "java.net" package which contains classes required for network programming. The networking in Java allows one person to communicate with other computers / systems. One of the core area under networking is connecting to different Websites and Servers. One may gather required data for his own study purposes. One may automate the same task to avoid the boredom process of connecting to a particular website. Though there are many possible applications of connecting with the websites I am just stating a few.

Saturday, 10 October 2015

How to install OpenCV in Ubuntu 14.04

Ubuntu_and_OpenCV
     Today, I am going to discuss installation of one of the very crucial and important software tool OpenCV {Open Computer Vision}. Installation of OpenCV on Windows is very easy as compared to Linux and that too on Ubuntu 14.04.

Sunday, 4 October 2015

How to Install OpenCV in Fedora 20

Fedora20-OpenCV

     Today, I am going to discuss installation of one of the very crucial and important software tool OpenCV {Open Computer Vision}. Installation of OpenCV on Windows is very easy as compared to Linux and that too on Fedora 20.
     Lets start the discussion. First of all, do remember that Fedora 20 supports 2.4.* version of OpenCV. So it may happen that when you try to install OpenCV on your Machine you may get latest version of OpenCV.







Wednesday, 23 September 2015

Date-Time Server and Client program in JAVA

Server-Client Visualization
Server-Client Visualization
Networking is very powerful area which allows different machines to get connected. Human life became very easy through the networking concepts. Lets start the discussion of the same with understanding basics of the Networking & How to do it in JAVA.

Networking allows communication between 2 or more computers. The diagram shown here is just for example to get an idea of how networking is done. Only one Server & 8 Clients are shown in the diagram. Clients makes requests to Server & Server serves those requests.


Wednesday, 16 September 2015

Bouncing Ball Program in JAVA using Multithreading and Applet

Execution of Bouncing Ball Program
Bouncing Balls
          In the last post we learned what is & how to use Multithreading in JAVA. The next ideal task to learn is how to use multithreading for Animation or how to use Multithreading in Applets. Today we will discuss program of Bouncing Balls in Java by using Multithreading and Applet.  I am going have a button to start the Balls from one point in the Applet window. We need Applet class, AWT class to perform this particular task.








Monday, 7 September 2015

Multithreading in JAVA using Runnable Interface

                       After learning How to perform Multithreading in Java, the next step is to learn the same by using Runnable Interface. As explained in earlier post (Multithreading in Java) a class needs to extend Thread Class to achieve Multithreading. But when we want to do the same by using Runnable Interface, we must understand that Runnable is a interface not a class.

Multithreading in JAVA

                     JAVA is a very powerful language which supports many features. Multi-threading & Graphics programming are only few of them. Today, I am going to discuss a very simple program to explain both these concepts. Also I will share code with you on this post as well as on my GitHub account. Lets start the discussion with Multi-threading. Multi-treading allows programmer to use computer's resources in a very efficient manner. A Multi-threaded program is one which contains 2 or more parts that can run concurrently. Each part of such program is called a Thread & it defined the separate path for execution. Now a days all modern Operating Systems supports Multitasking. Multi-tasking is basically divided into two types: Process Based &  Thread Based.

Saturday, 8 August 2015

How To Install CUDA on Fedora 20

Fedora 20 & CUDA

          Today, I am going to discuss about the installation of CUDA 6.5 Toolkit & Drivers on Fedora 20. From last few days a number of query regarding this problems are being asked. And Yes, Installation of CUDA Toolkit on Fedora 20 (Heisenbug) release is really a tough and challenging task. There are number of problems encountered during the installation of CUDA Toolkit.


Friday, 17 July 2015

Vector Arithmetic Operations in CUDA

After learning how to perform addition of two numbers, the next step is to learn how to perform addition and subtraction of two Vectors. The only difference between these two programs is the memory required to store the two Vectors. Also the kernel functions to perform the task.