Category Archives: IT

All about IT, from programming to simple everyday problems

POP3 Terminal Commands

It’s a while that I am thinking about developing a portal at our student community at University to monitor the part time jobs for robotics & nano-electronics students that are posted online ( is popular place to do so in Norway). Finally this would come up on a screen where robotics and Nano students would be hanging out.

For this purpose I have either thought to connect directly to the database (waiting for the response from the website). If they do not let me to do so, I was thinking to have the announcements sent to me with email (a service that the website offers) and then process the emails and update the list. To this I came across connecting to email servers with POP3 and using POP3 terminal commands to read emails (a tutorial on this subject) and update my list to show on the screen.

USER userid
First command after connecting. E-mail userid (this may or may not not the full e-mail address). Example: USER testuser

PASS password
Password of the email account. PASS thisPasswordIsCool
Continue reading POP3 Terminal Commands

VMWare Server Machines, huge potentials, zero cost

VMWare Server / Player / Workstation is a very powerful tool allowing one to install several virtual operating systems on one computer. This is not all you get, as you have the ability to run all these OS’es simultanously without need to do anything with your real physical computer. On the other hand this allows to separate different tasks on different machines and prevent software incompatibilities and cross-platform issues.

VMWare Player / Workstation: Good for those users who only need another OS on their computer (Windows on a Mac or Linux or viceversa). It’s much simpler to setup and the workstation is a payed version which allows you to exactly determine sharing the resources on your computer (hard-disk, RAM, Processor). While Player only shares these on fair basis.
VMWare Server: As the name says it out, it suits best for servers (e.g. I used this feature to have a Linux OS on a Windows Server 2008 for logging of a process on a Motoman robot).

Ubuntu Linux on Windows Server 2008 as a VMWare machine
Ubuntu Linux on Windows Server 2008 as a VMWare machine

Continue reading VMWare Server Machines, huge potentials, zero cost

JavaMail, sending emails from your Java application

The JavaMail API provides a platform-independent and protocol-independent framework to build mail and messaging applications. The JavaMail API is available as an optional package for use with Java SE platform and is also included in the Java EE platform. Download JavaMail jar files from here. Full JavaMail API. For a full example with source code of JavaMail, click on “more” link down here. Continue reading JavaMail, sending emails from your Java application

RxTx / Serial Communication on Windows

Serial communication through COM ports are very common both in prototyping and industry. To be able to read / listen to COM ports on Java, Arudino or Processing you need to install the RxTx library. Follow the instruction to install Serial and Parallel communication installed on your Windows.
  1. unzip rxtx-*
  2. copy rxtxSerial.dll / rxtxParallel.dll to %JAVA_HOME%bin
    (e.g. c:Program FilesJavaj2re1.4.1_01)
  3. copy RXTXcomm.jar to %JAVA_HOME%libext

Download RxTx

OpenCV installation Tutorial, MS Visual C++ 2008

Installing OpenCV might sound very easy when you read it on some forums/websites, but there are some small changes in most of these tutorials that prevent the connection between OpenCV and MS Visual C++. In this tutorial we(my dear friend Puya Afsharian and I) try to guide you through the installation of these two products and the right way to make them talk with each other.

Although people say it is easy to make OpenCV 2.2 to work with MS Visual C++ 2010, but we did not get it to work properly while it seems that MS visual c++ 2008 works perfect with OpenCV 2.1. Here are the download links for both products :

OpenCV 2.1 :
This file is modified to work with MS Visual C++ 2008 and therefore there is no need to install CMake again.

MS Visual C++ 2008(Free of charge) :

Click More down here to read the rest of the tutorial …

Continue reading OpenCV installation Tutorial, MS Visual C++ 2008