TheServerSide Java Symposium is taking place in Prague at the Clarion Congress Hotel in Czech Republic. I’m proud to announce that our GeeCON conference is going to be there. Our team has prepared two Free Pass tickets for Winners! It’s cool to attend one conference and get other for free
… I’m crossing fingers for winners… Cheers and see you at TheServerSide Java Symposium tomorrow.
GeeCON: TheServerSide Java Symposium – part 1
October 26, 2009Something from past – GeeCON 2009
October 24, 2009This post I’m writing as an announcement that our team hard work on GeeCON 2010 – The Second Edition has started again! Before I start posting any news or something like this around I want to highlight several important moments from GeeCON 2009 – The First Edition. We can start with publishing some photos from backstage before GeeCON 2009 start.

The first day in Cracow and my car needed more fuel. Andrian helped with
Since the first day we all were very excited what’s gonna happen after GeeCON serious start. We all worked so hard during lasts several moths before. These moths were full of stress and tasks which should be covered. We all were very glad that we stayed to be focused on our main task. It was the GeeCON conference.

Evening before we had to put all necessary things to the cinema storage and had the last organizational meeting. We all get our GeeCON t-shirts as next day main dress. It’s visible from photos how much we were happy from. Next day being dressed up by GeeCON t-shirts we have to start conference as you can see from photo where one of us is before introduction speech. After that everything started.


During whole conference there were two cinema halls full of amazing people who were watching, listening and exciting from GeeCON flow. We know we had few difficulties for example with projector or WiFi but everything was solved in very short time and GeeCON could continue. The last words for fun I want to mention here are about why every this has happened. The answer is shown on the last image. Everything has happened because of small box which is in the middle. We have all called it “Magic Box“

We all (organizers and speakers) trusted in it’s power during whole conference. We had no doubts because we had “Magic box”.
PS: “Don’t take it seriously!. GeeCON has happened because of hard work of all organizers”
RSTP protocol inside HTML page
October 7, 2009At one of previous posts I did mention RTSP protocol and JAVA. I have not finished its implementation yet because of various reasons. I thought it’s easier
but as my research shown it’s not so trivial. Here is HTML object which is independent on platform …
<object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab" width="400" height="300" id="vlc" events="True">
<param name="Src" value="rtsp://anonym:anonymous@147.32.167.62:554/live.sdp"></param>
<param name="ShowDisplay" value="True" ></param>
<param name="AutoLoop" value="no"></param>
<param name="AutoPlay" value="yes"></param>
<embed type="application/x-google-vlc-plugin" name="vlcfirefox" autoplay="yes" loop="no" width="400" height="300" target="rtsp://anonym:anonymous@147.32.167.62:554/live.sdp"></embed>
</object>
Funny todays picture
October 7, 2009My last days difficulties
October 7, 2009Everything went very nice I was looking forward for Mozilla Developer Day here in Prague but everything changed in second. I had car accident in crossroad very close to my house. One driver crashed me to my car back. Nothing happened to me but many issues rose up. I hope that everything will be fine during next few days and my car will be repaired.
Currently I’m able to work again on my duties for my research and on dites directly connected with GeeCON conference.
Google search results
October 2, 2009Topic from title is closely connected with one lesson I have on CVUT faculty focused on basic knowledge. I’m pretty sure that one of task of every student is to search, analyze and working with information. One of the best search engine in the current world is Google and only few of all students I have met know how to use it. Here are several basic and useful information around.
1. Using basic operators in google search engine
Google supports powerful operators which can be special characters or words that modify the search query. In this section we’ll look at the basic–not to be confused with weak–operators which include the OR operator and the special character operators:
- OR word or “|” character
[Audi OR Skoda] ~ [Audi | Skoda]
- Double Quotation Marks (” “) - Double Quotation Marks for Exact Phrase Search
[Skoda Octavia] => much better results by ["Skoda Octavia"]
- Plus sign (+) - Using the “+” Sign to Force a Search on a Word
[Skoda Octavia II] => much better results by [Skoda Octavia +II]
- Minus sign (-) - Omitting Pages with Certain Keywords by using the “-” Sign
- Tilde (~) character- Powerful Synonym Search with the “~” Sign
["car engine" ~alternative]
- Asterisk (*) character – Wildcard Search with the Asterisk
["skoda * +II"]
- Double Periods (..)
- Parenthesis (())
[(silver | gold | platinum) (dimes | quarter)]
Simple CD Emulator for Ubuntu
September 23, 2009
From time to time I have an movie DVD image. I’m using VLC as my default video files player. I realize that exist programs like Gmount-iso but the best experiences I have with command line
and here it is how to run up any ISO image.
sudo mount -o loop /<location>/<your_image>.iso /media/cdrom
And when you are done with ISO image you could unmount it very simple.
sudo umount /media/cdrom
Image is displayed as real media disk which is big advantage. Then only click by right-mouse button on the disk an open it in you media player
Java with RSTP protocol
September 16, 2009In the university Lab we have very nice IP camera witch should be connected with university Virtual Laboratory. Camera is from VIVOTEK company. It’s type PT 7135.
It’s funny as I’m real Ubuntu user in manual is written nothing about its support
Just only M$. Tomorrow I going to writte JAVA applet for video streaming. I hope it’s gonna be easy. I’ll blog about later on.
Applet signature – read / write data
September 15, 2009My case is to download data from the other source. In my case it’s output from remote server. I need to authorize applet to be able to do that in following steps.
keytool -genkey -keyalg rsa -alias yourkey
keytool -export -alias yourkey -file yourcert.crt
jarsigner yourapplet.jar yourkey
Your applet is now ready to use in your <APPLET> tag …
How to parse simple html page
September 15, 2009Short overview about this post. I needed to read data from very simple web server, parse them and provide the result to the jAppet. For better imagine I have posted small image around. Server was connected to the device.

Also other limitation was to use only common Java libraries. Output from web server looks like this :
<p>Temp0 = 8.0 Temp1 = 0.0</p>
<p>ID1=FFFFFFFFFFFFFF</p>
<p>ID2=FFFFFFFFFFFFFF</p>
<p>Scan_time= 5806</p>
<p>LOCK_TIME= 0</p>
My Java version was 1.6.0_16-b01. Java libraries I used for parsing are following.
import java.net.*;
import java.io.*;
import java.util.Scanner;
I’m intending to note only part of source codes to imagine how I did it.
Part1 – server connection
// Define string of the URL
String urlStr = "http://<webserver address>";
try {
URL url = new URL(urlStr);
URLConnection uc = url.openConnection();
BufferedReader in = new BufferedReader(
new InputStreamReader(
uc.getInputStream()));
String inputLine;
while ((inputLine = in.readLine()) != null){ ..
As I read input over all lines this is function used for parsing all valuable lines …
Part2 – reading lines
protected static void processLine(String pLine){ //use a second Scanner to parse the content of each valuable line Scanner scanner = new Scanner(pLine); //define statement exp. Value=123 scanner.useDelimiter("="); //eliminate tag <p> statement - exp. <p>Temp0 = ... scanner.skip("<p>"); if ( scanner.hasNext() ){ String name = scanner.next(); String value = scanner.next(); //Define end <p> tag statement and erase it exp. _time= 193</p> String value2 = value.substring(0, value.length()-4); // Erase </p> System.out.println("Name = " + name.trim() + ", Value = " + value2.trim() ); // output test 1 } else { System.out.println("Empty or invalid line. Unable to process."); } scanner.close(); }
I hope this gonna be fitting your needs or just for information.
Posted by miragemiko
Posted by miragemiko
Posted by miragemiko 
