<?xml version="1.0" encoding="utf-8"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xml:lang="en">
<title>Petar Tahchiev&apos;s Blog</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/paranoiabla/" />
<modified>2008-09-25T20:20:44Z</modified>
<tagline></tagline>
<id>tag:weblogs.java.net,2008:/blog/paranoiabla/377</id>
<generator url="http://www.movabletype.org/" version="3.01D">Movable Type</generator>
<copyright>Copyright (c) 2008, paranoiabla</copyright>
<entry>
<title>JUnit in Action II is online</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/paranoiabla/archive/2008/09/junit_in_action.html" />
<modified>2008-09-25T20:20:44Z</modified>
<issued>2008-09-25T20:20:33Z</issued>
<id>tag:weblogs.java.net,2008:/blog/paranoiabla/377.10521</id>
<created>2008-09-25T20:20:33Z</created>
<summary type="text/plain">
It has been a long time since I haven&apos;t posted anything, but I have some good news. Me, Stan Silvert and Felipe Leme decided to write a second edition of the Vincent Massol&apos;s best-selling &quot;JUnit in Action&quot;.


 
</summary>
<author>
<name>paranoiabla</name>

<email>paranoiabla@gmail.com</email>
</author>

<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/paranoiabla/">
<![CDATA[<p>
It all started on this-year's JavaONE conference, when I met Vincent and Felipe. Then Vincent mentioned the idea of writing a new edition of the book, and including the new JUnit 4.5 features, so we all soon agreed. 
Stan joined us, and we signed the contracts in July. It is all set up now, and we even have the TOC and some sample chapters published on the <a href="http://manning.com/tahchiev/">Manning website</a>.
</p> 
<p>
I am really excited about this book, because the TOC seems really promising - we decided to focus not only on the JUnit itself, but also on any testing tools and strategies that could help you test you apps thoroughly. This way we intend to cover JUnit, Mocks, Stubs, In-container testing, ... and also including the tests in the build process (continuous integration) - we cover tools like Ant, Maven2, CI tools like Hudson, CruiseControl, ... We will also talk about different techniques on testing different layers from your application - web layer, presentation layer(with tools like Cactus, JSFUnit and HTMLUnit), business logic(with tools like Cactus and mocks), database layer (with DBUnit). Last but not least we want to focus on some completely new aspects on the testing battle-field - testing AJAX, testing Spring and  OSGi components.
</p>
<p>
As I already said I have great expectations about this book - it has all the prerequisites to become a real "Testing Bible". Well, only the readers will show if this can come true.
</p>
<p>
You can check it here: <a href="http://manning.com/tahchiev/">http://manning.com/tahchiev</a>
</p>]]>

</content>
</entry>
<entry>
<title>JavaONE So Far</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/paranoiabla/archive/2008/05/javaone_so_far_1.html" />
<modified>2008-05-09T01:52:08Z</modified>
<issued>2008-05-09T01:52:08Z</issued>
<id>tag:weblogs.java.net,2008:/blog/paranoiabla/377.9753</id>
<created>2008-05-09T01:52:08Z</created>
<summary type="text/plain">Hi everybody, as most of the people blogging on java.net, I am also going to dedicate my blog entry to the JavaONE conference. This year, is my first year on the conference, and I really have to say that it...</summary>
<author>
<name>paranoiabla</name>

<email>paranoiabla@gmail.com</email>
</author>

<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/paranoiabla/">
<![CDATA[Hi everybody,

<p>
as most of the people blogging on java.net, I am also going to dedicate my blog entry to the JavaONE conference. This year, is my first year on the conference, and I really have to say that it is impressively big. No wait, of course it's not big, it's HUGE. So I am not going to give you the statistical data that most of you have heard already, but instead I will tell you that I have been to a lot of conferences out there and so far JavaONE seems to be the biggest one. Apart from the technical talks (from which I had the time to track just 3), the conference gives you a really big opportunity to meet with people you have been communicating only over the Email.
</p>
<p>
The <b>first</b> day was the day after I arrived. It was CommunityONE and I had to be there to talk about JUGs and communities. Me and a couple of other JUG leaders had this talk so that we can help and facilitate people that want to start a new JUG. In my opinion the talk went pretty well - thanks to <a href="http://weblogs.java.net/blog/van_riper/">Van</a> who had taken care of all the details and who pushed us all. Thanks Van :-). 
</p>
<p>
The <b>second</b> and the <b>third</b> day were pretty much hanging with the the java.net guys and with the other JUG leaders. I also visited the 
pavilion and met some old friends - <a href="http://blogs.codehaus.org/people/vmassol/">Vincent Massol</a>, Gael Blondelle and some new friends I was anticipated to meet - Ivelin Ivanov, Vladimir Ralev and 
Jean Deruelle - all from the Mobicents team.
</p>
<p>
The one thing that I will remember JavaONE with was the first and only meeting of the Jakarta Cactus team(me, <a href="http://weblogs.java.net/blog/felipeal/">Felipe Leme</a> and <a href="http://blogs.codehaus.org/people/vmassol/">Vincent Massol</a>). 
The Sunday when I arrived, the first thing I did was to check-in the hotel and call Felipe to meet him. And the next day we made an arangement to 
meet with the Vincent Massol, who started the project exactly 10-years ago. Since then this is the first time we all meet. It was really amazing: 
<img alt="three.JPG" src="http://weblogs.java.net/blog/paranoiabla/archive/three.JPG" width="600" height="338" />
</p>]]>

</content>
</entry>
<entry>
<title>ApacheCON in Amsterdam Is Over :-(</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/paranoiabla/archive/2008/04/apachecon_in_am.html" />
<modified>2008-04-12T11:31:57Z</modified>
<issued>2008-04-12T11:31:52Z</issued>
<id>tag:weblogs.java.net,2008:/blog/paranoiabla/377.9521</id>
<created>2008-04-12T11:31:52Z</created>
<summary type="text/plain"> Hi guys, the last five days I have been in Amsterdam to attend the ApacheCON there. The conference this year, as always, was really amazing. The presentations I attended were absolutely on the top-level. I had the chance to...</summary>
<author>
<name>paranoiabla</name>

<email>paranoiabla@gmail.com</email>
</author>

<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/paranoiabla/">
<![CDATA[<p>
Hi guys,
</p>
<p>
the last five days I have been in Amsterdam to attend the ApacheCON there. The conference this year, as always, was really amazing. The presentations I attended were absolutely on the top-level. I had the chance to meet some of the biggest names in the open-source world and discuss with them on different topics: Chris DiBona, Greg Stein, Bruce Snyder, Erik Hatcher, Paul Holland, Steve Loughran and lots of others. This is a chance I have never had - I and I have attended lots of other conferences. It is absolutely amazing how the members of the ASF are close to each other - it is really like a family. :-) <br/>
</p>
<p>
I attended the conference this year with a whole other bunch of colleagues from HP - we were a gold sponsor of the event, so we had to take care of the booth. So here is the time and place to give a big "Thank you, guys" to Paul Holland and Scott Lamons who made my attendance possible.
</p>
<p>
Another thing that was really important for me in the conference was my talk about the new release of Cactus. Yes, that is correct - I finally made the release of 1.8.0, and right now I am working with on the 1.8.1 version. I gave a bird-of-feather talk, including all the new stuff that are in the new release. So in case you missed my talk you can get Cactus from <a href="http://jakarta.apache.org/cactus/">here</a> and give it a try. I will be waiting for your feedback.
</p>
]]>

</content>
</entry>
<entry>
<title>CommunityOne Conference Session Accepted</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/paranoiabla/archive/2008/02/communityone_co.html" />
<modified>2008-02-28T09:18:35Z</modified>
<issued>2008-02-28T09:16:27Z</issued>
<id>tag:weblogs.java.net,2008:/blog/paranoiabla/377.9282</id>
<created>2008-02-28T09:16:27Z</created>
<summary type="text/plain">Hi guys, Yesterday I got the acceptance email for our session on this-year&apos;s CommunityOne conference. Me(Bulgarian JUG), Michael Van Riper(Silicon Valley Web Developer JUG), Chris Richardson(East Bay JUG, Oakland), Abdel Remani(Chico JUG, CA), Paul Webber(San Diego JUG), Bruno Souza(SouJava JUG,...</summary>
<author>
<name>paranoiabla</name>

<email>paranoiabla@gmail.com</email>
</author>
<dc:subject>Community: Java User Groups</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/paranoiabla/">
<![CDATA[Hi guys, <br/>

<p>
Yesterday I got the acceptance email for our session on this-year's CommunityOne conference. Me(Bulgarian JUG), <a href="http://weblogs.java.net/blog/van_riper/">Michael Van Riper</a>(Silicon Valley Web Developer JUG), <a href="http://chris-richardson.blog-city.com/">Chris Richardson</a>(East Bay JUG, Oakland), <a href="">Abdel Remani</a>(Chico JUG, CA), Paul Webber(San Diego JUG), <a href="http://weblogs.java.net/blog/brunos/">Bruno Souza</a>(SouJava JUG, Brazil), <a href="http://www.jroller.com/peter_pilgrim/">Peter Pilgrim</a> (Java Web User Group, UK), <a href="http://michaelhuettermann.blogspot.com/">Michael Huttermann </a>(Cologne JUG), <a href="http://www.jroller.com/bitog/">Fabrizio Gianneschi</a>(JUG Sardegna), <a href="http://www.javapolis.com/confluence/display/~stephan/Home">Stephan Janssen</a>(Belgian JUG) and last but not least <a href="http://www.javablogs.com/views/ViewBlog.action?id=11651">Thor Henning Hetland</a> (javaBin, Norway) proposed a few months ago a session called "Java User Groups: Think Globally, Act Locally". With this session we would like to focus, not only on the best practices of building a JUG, but also some global resources the JUGs support(the JUG Community mailing list, the JUG googleMap, the Footprint project, ...). Along with giving advices to the newly-born JUGs, we are planning each one of the panelists to cover some issues he has discovered, while leading his local JUG, and also the solution he made to resolve it. 
</p>
<p>
I am really thrilled to take part in this session, and, of course once again meet the guys from JavaPolis on a beer :-). 
</p>]]>

</content>
</entry>
<entry>
<title>Java User Group Globe-Trotter</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/paranoiabla/archive/2008/01/java_user_group.html" />
<modified>2008-01-28T14:31:05Z</modified>
<issued>2008-01-28T14:30:59Z</issued>
<id>tag:weblogs.java.net,2008:/blog/paranoiabla/377.9081</id>
<created>2008-01-28T14:30:59Z</created>
<summary type="text/plain"> Hi guys, from quite a long time I have been traveling really a lot. And the fact that I have so much traveling involved in my work, is not all bad. I mean, yes, you live in a hotel,...</summary>
<author>
<name>paranoiabla</name>

<email>paranoiabla@gmail.com</email>
</author>
<dc:subject>Community: Java User Groups</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/paranoiabla/">
<![CDATA[<p>
Hi guys,
</p>
<p>
from quite a long time I have been traveling really a lot. And the fact that I have so much traveling involved in my work, is not all bad. I mean, yes, you live in a hotel, away from your family and your friends, but there's also another side of the coin. For the last few months I was able to visit a lot of the Java User Groups in Europe. I was on a JUG meeting in Düsseldorf with Michael Jastram, I visited the Javapolis in Antwerp, I was in Cologne with Michael Hüttermann, in Luxembourg with Arnaud Cormier, and also managed to make to all the meetings of my Java User Group in Bulgaria. I am also planning to join the Düsseldorf JUG on 31st when they have another gathering, and also in March maybe present a talk to them :-). Also in some of my next meetings I am planning a trip to Amsterdam to meet some of the local JUG leaders there, and also when I return to Bulgaria (hopefully at the beginning of March) I plan a weekend in Athens, so hopefully I will meet Paris Apostalopoulos and Panos Konstantinidis :-). Well, I really enjoy myself visiting new countries and making new friends with the local Java User Group Leaders, and I think that the community we have made is indeed unique. For instance last week I wanted to go to Luxembourg and since I didn't know the city at all, I wrote an email to Arnaud Cormier, asking him to meet with me on a lunch and discuss the JUGs. Well, I was really surprised, when he, not only agreed to have lunch with me, but also took out of his time to show me the city.  A great "thank you" to you Arnaud ;-), and indeed the community we have made is really unique.
</p>]]>

</content>
</entry>
<entry>
<title>JavaPolis rules again</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/paranoiabla/archive/2007/12/javapolis_rules.html" />
<modified>2008-06-24T19:17:03Z</modified>
<issued>2007-12-13T22:39:17Z</issued>
<id>tag:weblogs.java.net,2007:/blog/paranoiabla/377.8829</id>
<created>2007-12-13T22:39:17Z</created>
<summary type="text/plain">Hey guys, I just got back from Antwerp, Belgium, where I attended this year&apos;s JavaPolis conference. It was awesome, and I am really sorry I didn&apos;t make it till the end, but I had to be back in Düsseldorf and...</summary>
<author>
<name>paranoiabla</name>

<email>paranoiabla@gmail.com</email>
</author>

<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/paranoiabla/">
<![CDATA[Hey guys,
<p>
I just got back from Antwerp, Belgium, where I attended this year's JavaPolis conference. It was awesome, and I am really sorry I didn't make it till the end, but I had to be back in Düsseldorf and finish some stuff at work. I got the chance to meet lots of interesting people - I had a dinner with all the JUG leaders, Java Champions, and <a href="http://blogs.sun.com/jag/">James Gosling</a>. I also shared my lunch with <a href="http://blogs.codehaus.org/people/vmassol/">Vincent Massol</a>, a really good friend of mine and also an open-source celebrity ;-). I also met in person with <a href="http://www.jroller.com/peter_pilgrim/">Peter Pilgrim</a>, <a href="http://weblogs.java.net/blog/vbrabant/">Vincent Brabant</a>, <a href="http://www.jroller.com/scolebourne/">Stephen Colebourne</a>, <a href="http://weblogs.java.net/blog/van_riper/">Michael Van Riper</a> and of course  Aaron Houston, who was so nice to invite me on a dinner with Nichole Scott and Michael van Riper. Some pictured from the square after the dinner can be found <a href="http://picasaweb.google.com/sunahouston2/JavaPolisDay23">here</a>. I also met <a href="http://jraffa.wordpress.com/">Raffaella Sanna</a> and <a href="http://jaranto.blogspot.com/">Antonio Pintus</a> from <a href="http://www.jugsardegna.org/vqwiki/jsp/Wiki">Sardegna Java User Group</a> - you guys rock!
</p>
<p>
I have to say that I really had a great time and I am looking forward to the next JavaPolis, but before that, I want to visit the ApacheCON in Amsterdam and the Jazoon in Zurich. So hope to see you all somewhere there. 
</p>
]]>

</content>
</entry>
<entry>
<title>Bluetooth remote control</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/paranoiabla/archive/2007/12/bluetooth_remot.html" />
<modified>2008-06-24T19:17:03Z</modified>
<issued>2007-12-07T11:18:13Z</issued>
<id>tag:weblogs.java.net,2007:/blog/paranoiabla/377.8778</id>
<created>2007-12-07T11:18:13Z</created>
<summary type="text/plain"> Hey everybody, I had lots of questions about my cell-phone bluetooth remote control when I was on the OpenFest and ApacheCON conferences. Before I explain what I was using to turn my Sony Ericsson GSM into a bluetooth remote...</summary>
<author>
<name>paranoiabla</name>

<email>paranoiabla@gmail.com</email>
</author>
<dc:subject>Linux</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/paranoiabla/">
<![CDATA[<p>
Hey everybody,
</p>

<p>
I had lots of questions about my cell-phone bluetooth remote control when I was on the <a href="http://openfest.org/">OpenFest</a> and <a href="http://apachecon.com/">ApacheCON</a> conferences. Before I explain what I was using to turn my Sony Ericsson GSM into a bluetooth remote control, I want to say that I have done this a lot of time ago and I don't remember much of it. 
</p>
<p>
Actually it is pretty simple, and I haven't invented anything new. First of all you will have to have your Linux kernel with a bluetooth support enabled. Next get the Linux bluetooth daemon installed. <a href="http://linux.die.net/man/8/sdpd">Here</a> is the man page of the sdpd.
It is also a good idea to have the <a href="http://linuxcommand.org/man_pages/hcitool1.html">hcitool</a> installed, too. 
</p>
<br/>
<p>
The hcitool allows you to scan for bluetooth devices in range. You will need the bluez-utils package, which includes the hidd daemon. After that follow this: 
<ul>
<li>Start the bluetooth connection of your phone.</li>
<li>Start the daemons that are needed:<br>
# sdpd <br>
# hcid <br>
</li>
<li>Use hcitool to scan for your device, and if you are lucky enough, you will get something like this:
<pre>
# hcitool scan
Scanning ...
        00:12:EE:9E:11:23       K700i
</pre>
<br>
Remember the BD Address, because we will use it later.
</li>
<li>
Now start the actual application that is the mouse and keyboard.
<pre>
$ hidd --connect 00:12:EE:9E:11:23
</pre>
<br>
Then follow the instructions and once it is started you can use joystick to move the mouse and the 'Yes' & 'No' buttons as a left and right mouse buttons My presentations were in a PDF format, and KPDF accepts right and left mouse clicks as forward and backward slides, so it was pretty easy. 
</li>
</ul>
</p>
<p>
All what is left is to make it automated, by creating a simple script to start the daemons and connect to your phone:
<pre>
#! /usr/bin/env bash

sdpd
hcid
#This is the K700i phone
hidd --connect 00:12:EE:9E:11:23
</pre>
and start it before the presentation. 
</p>

<p>
I have tested this to work on SonyEricsson K700i, and if anyone knows it is working on some other phone, you can post a comment. 
</p>
]]>

</content>
</entry>
<entry>
<title>Apache being sold in Paris ;-)</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/paranoiabla/archive/2007/11/apache_being_so.html" />
<modified>2008-06-24T19:17:03Z</modified>
<issued>2007-11-30T12:47:08Z</issued>
<id>tag:weblogs.java.net,2007:/blog/paranoiabla/377.8739</id>
<created>2007-11-30T12:47:08Z</created>
<summary type="text/plain"> Walking in the streets of Paris, and thinking of my good friend Felipe Leme, who found JSP being sold in the streets of LA, suddenly I saw an Apache store. Yes, Apache was being sold in the streets of...</summary>
<author>
<name>paranoiabla</name>

<email>paranoiabla@gmail.com</email>
</author>

<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/paranoiabla/">
<![CDATA[<p>
Walking in the streets of Paris, and thinking of my good friend Felipe Leme, who found <a href="http://weblogs.java.net/blog/felipeal/archive/2007/07/jsp_is_not_dead.html">JSP being sold in the streets of LA</a>, suddenly I saw an Apache store. Yes, Apache was being sold in the streets of Paris, and if you don't believe, here is the proof :-) :
</p>
<p>
<img alt="apache-scaled.jpg" src="http://weblogs.java.net/blog/paranoiabla/archive/apache-in-paris/apache-scaled.jpg" width="800" height="450" />
</p>
<p>
Fortunately I was bringing my camera with me to take a picture. Does anybody know this place? The first one to name the address of the place is the winner :-).
</p>]]>

</content>
</entry>
<entry>
<title>ApacheCON USA 2007 is Over :-)</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/paranoiabla/archive/2007/11/apachecon_usa_2.html" />
<modified>2008-06-24T19:17:03Z</modified>
<issued>2007-11-20T13:55:37Z</issued>
<id>tag:weblogs.java.net,2007:/blog/paranoiabla/377.8686</id>
<created>2007-11-20T13:55:37Z</created>
<summary type="text/plain">Hi guys,

this year&apos;s ApacheCON in Atlanta is over. It was totally amazing... :-) It was my first ApacheCON and I am so glad I took part of this conference.</summary>
<author>
<name>paranoiabla</name>

<email>paranoiabla@gmail.com</email>
</author>

<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/paranoiabla/">
<![CDATA[<p>
Hi guys,
<br>
this year's ApacheCON in Atlanta is over. It was totally amazing... :-) It was my first ApacheCON and I am so glad I took part of this conference.
</p>
<p>
I had a really long trip to Atlanta. Started from Sofia, then spent a couple of days in London. Pretty expensive city, by the way ;-). Then went to New York where I spent a week with my cousin, exploring the New York city and especially Manhattan. Manhattan is the enchanting place to live and to work. Totally amazing mixture of cultures, behaviors, languages and everything else. Really awesome. From there I went straight to Atlanta. This year's conference had lots of keynote speakers and featured the OLPC project. So I had the chance to spent some time working on this interesting machine (pretty shame there was no Java on it... :-( ). Great people, great talks, great conference.(Some of you may know that I had planned a presentation about Cactus). We had also a dinner, provided by Google, also a key-signing party and the lightning talks. Everything was great, but for me the chance to meet some guys that only communicated with me over the email, was priceless. Some words about the hotel - really classy place to stay - my room was on the 62nd floor and I had the chance to explore the city the way only birds can see it :-). After the conference I flew to New York, then back to Paris and then to Düsseldorf, where I will attend on one of their JUG meetings. Then (hopefully), I plan to be back in Sofia by the end of the month ;-)
</p>
<p>
I am so waiting to go the next ApacheCON in Europe, but first I intend to visit the JavaPolis in Antwerp. Hope to see some of you there, too. :-)
</p>]]>

</content>
</entry>
<entry>
<title>OpenOffice vs. MS Word</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/paranoiabla/archive/2007/10/openoffice_vs_m.html" />
<modified>2008-06-24T19:17:03Z</modified>
<issued>2007-10-29T15:24:20Z</issued>
<id>tag:weblogs.java.net,2007:/blog/paranoiabla/377.8509</id>
<created>2007-10-29T15:24:20Z</created>
<summary type="text/plain"> Hi guys, just a brief note on what happened with me yesterday. Me and a colleague of mine were having really great trouble with a Microsoft Word document - after opening the document (which, by the way, was about...</summary>
<author>
<name>paranoiabla</name>

<email>paranoiabla@gmail.com</email>
</author>
<dc:subject>Open Source</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/paranoiabla/">
<![CDATA[<p>
Hi guys,
</p>
<p>
just a brief note on what happened with me yesterday. Me and a colleague of mine were having really great trouble with a Microsoft Word document - after opening the document (which, by the way, was about 500 pages and is confidential, so I cannot post it here), MS Word just hanged. We were trying to read it many times, but every time we tried the MS Word program hanged and eventually crashed. Hopefully we had a VMWare software with a Slackware linux installed, so after we opened the document with OpenOffice, not only it didn't crash, but also we were able to export it as a PDF and an HTML+CSS. Nothing more to say, but: Thank you guys - you rule! :-)
</p>]]>

</content>
</entry>
<entry>
<title>OOXML Objections And Sun&apos;s Position About It</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/paranoiabla/archive/2007/10/ooxml_objection_1.html" />
<modified>2008-06-24T19:17:03Z</modified>
<issued>2007-10-17T16:31:18Z</issued>
<id>tag:weblogs.java.net,2007:/blog/paranoiabla/377.8440</id>
<created>2007-10-17T16:31:18Z</created>
<summary type="text/plain">Hi guys, I just found a really interesting discussion going on in Bulgarian open-source communities about the Microsoft&apos;s OOXML format and the fact that it was approved by some national committees. So I would like to present here to you...</summary>
<author>
<name>paranoiabla</name>

<email>paranoiabla@gmail.com</email>
</author>
<dc:subject>Open Source</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/paranoiabla/">
<![CDATA[Hi guys,
<p>
I just found a really interesting discussion going on in Bulgarian open-source communities about the Microsoft's OOXML format and the fact that it was approved by some national committees.
</p>
<p>
So I would like to present here to you some thoughts on this "specification" and ask if someone heard what is the official Sun's position on this. So the history goes in very brief like this: on first of February OASIS published the 1.1 version of the ODF specifications and recognized it as a worldwide standard. Right now, what is currently happening is that Microsoft are trying to make another standard: Microsoft Open XML (OOXML), or ISO/IEC 29500. On one hand the ODF format was created with the idea of a complete independence of the application that uses it, the Microsoft format has some requirements that only the Microsoft Office applications can provide. Further enough there are some really strong arguments against the Microsoft standard, some of which are: no need of a second standard, OOXML is not even implemented already, the given specification is not complete, more than 10 percent of the examples given cannot be validated as a standard XML, the whole "specification proposal" is more than 6000 pages and misuses terms like "open" and "standard".... (and many others).
</p>
<p>
In spite of these objections many of the national committees, that have the right to vote for the proposal, voted "for" the proposal. 
</p>
<p>
Now my question is: what is the official opinion of Sun about Microsoft's proposal? Also, if the new proposal is accepted as a specification will it be supported in the OpenOffice, and will we have an OOXML filter?
</p>
<p>
Some links that might be interesting to you:<br>
<a href="http://www.noooxml.org/">http://www.noooxml.org/</a><br>
<a href="http://www.grokdoc.net/index.php/EOOXML_objections">http://www.grokdoc.net/index.php/EOOXML_objections</a><br>
<a href="http://linux-bg.org/cgi-bin/y/index.pl?page=news&key=395779536">http://linux-bg.org/cgi-bin/y/index.pl?page=news&key=395779536</a>(in Bulgarian)
</p>]]>

</content>
</entry>
<entry>
<title>Thoughts about BGJUG First Meeting</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/paranoiabla/archive/2007/10/thoughts_about.html" />
<modified>2008-06-24T19:17:03Z</modified>
<issued>2007-10-02T11:49:34Z</issued>
<id>tag:weblogs.java.net,2007:/blog/paranoiabla/377.8351</id>
<created>2007-10-02T11:49:34Z</created>
<summary type="text/plain">Here are my impressions about the first meeting of the Bulgarian Java User Group.</summary>
<author>
<name>paranoiabla</name>

<email>paranoiabla@gmail.com</email>
</author>

<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/paranoiabla/">
<![CDATA[<p>The first BGJUG meeting is over... :-)</p>
<p>
And although it was a week ago, just today I find some time to blog about it. First of all: it was amazing!!! :-)
And second of all: It was really amazing!!! :-)
People started coming for the meeting half an hour earlier (well, I came an hour earlier, but who cares?).
I had a room with 160 seats reserved, but as It turned out, it was rather small and we had 20-25 people standing
up in the hall.
</p><p>
We started with me talking about the web-site, the group and how the idea initially started. Judging on their reactions
people were really interested in that. After an hour we continued with Svetlin Nakov, who talked about the
Google Web-Toolkit and how we can use it for making AJAX-driven applications. After the presentation we made it to the
nearest pub where we continued chatting. 
</p>
<p>I really can't wait for our next meeting. </p>]]>

</content>
</entry>
<entry>
<title>Solaris First Impressions</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/paranoiabla/archive/2007/09/solaris_first_i.html" />
<modified>2008-06-24T19:17:03Z</modified>
<issued>2007-09-21T12:49:43Z</issued>
<id>tag:weblogs.java.net,2007:/blog/paranoiabla/377.8294</id>
<created>2007-09-21T12:49:43Z</created>
<summary type="text/plain">My first impressions of the Solaris OS when I tried to install it on my server at home.</summary>
<author>
<name>paranoiabla</name>

<email>paranoiabla@gmail.com</email>
</author>
<dc:subject>Open Source</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/paranoiabla/">
<![CDATA[Hi guys,
<br/><br/>
<p>
On Monday I got the server (x86 platform using Xeon Server Dual Core) I had order, and I immediately started installing it. 
My desire was to set up on it some king of a Unix (say Solaris, NetBSD, FreeBSD, etc). I downloaded the Solaris image, burned it and was ready to start
having fun. My server doesn't have a DVD, God only knows why since I ordered it 
explicitly with a DVD. So I started planning of using an external DVD. I bought the 
external DVD player, placed the disk inside and installation started. I was following
this tutorial:
</p>
<a href="http://www.sun.com/software/solaris/howtoguides/installationhowto.jsp">http://www.sun.com/software/solaris/howtoguides/installationhowto.jsp</a>
<br/>
<p>
but strangely enough, I didn't get the windows that are shown, but instead, I got 
a nice blue linux-like-installation screen. After the few questions about the Language, Network,
Date/Time, Security and Remote Service Management I got a really strange error, saying
"No disks were found". After this a new terminal appeared and, indeed the Solaris couldn't
recognize my hard disks. Although, they seem like a pretty normal HDDs: 
"Western Digital Caviar SE 80 GG, SATA II 300, 7200 rpm, 8MB Cache".
So my next guess, was of course to google a little bit, and after a while I found that the
problem was caused by the fact that my disks were not formatted, and so didn't have 
a solaris label. So I installed Slax on my USB and booted the server with it. 
I formatted and partitioned the disks. Then booted the Solaris
again, but the same thing happened again. So I started googling further. Another suggestion
that was made was that my RAID controller wasn't recognized. So I disabled it from the BIOS, and
tried again. This time the problem was something else. My disks were recognized, but the install
program replied that the disk I was using wasn't a Solaris installation disk. And again the sh
prompt, which by the way, is really hard to cope with. I checked the /cdrom and it turned out that Solaris couldn't mount the external DVD on the hard
disk for some reason. So I had to do it all by myself. 
</p>
<strong>mount -F pcfs /dev/dsk/c5t0d0s0:c /cdrom</strong>
<br/>
<p>
after which the installation went smoothly. So to sum up, everything seems really nice with 
this OS, but probably the guys from the Solaris dev. team should really think about:<br>
<ul>
<li> improving the hardware support (for instance the RAID support and the external DVD).</li>
<li> maybe improving the documentation a little bit.</li>
<li> using the bash shell instead of the sh shell.</li>
</ul>
</p>
Just some thoughts, I had been thinking about the last three days...
]]>

</content>
</entry>
<entry>
<title>Bulgarian Java User Group On the road</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/paranoiabla/archive/2007/08/bulgarian_java_1.html" />
<modified>2008-06-24T19:17:03Z</modified>
<issued>2007-08-23T18:08:07Z</issued>
<id>tag:weblogs.java.net,2007:/blog/paranoiabla/377.8094</id>
<created>2007-08-23T18:08:07Z</created>
<summary type="text/plain">Hi guys, It has been a really long time since my last post. The reason for this is partly because I didn&apos;t have much time to write, and partly because I had nothing important to write about. I have been...</summary>
<author>
<name>paranoiabla</name>

<email>paranoiabla@gmail.com</email>
</author>
<dc:subject>Community: Java User Groups</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/paranoiabla/">
<![CDATA[Hi guys,

<p>
It has been a really long time since my last post. The reason for this is partly because I didn't have much time to write, and partly because I had nothing 
important to write about. I have been really busy these days, and the main reason is that I was building the <a href="http://java-bg.net/"><b>Bulgarian Java User Group</b></a>. But let me start 
right at the beginning. 
</p>

<p>
It was probably in the middle of January, when I found the page on java.net, about Java User Groups ([3]), and figured out there was no JUG in Bulgaria. So I started building one. Looking for a pure java CMS, I found that the choice was not that rich as I thought. Of course I could have used some of the java wikis, like XWiki(which, by the way is awesome - bravo Vincent), but I thought that adopting a wiki for jug site was not what I was looking for. I needed a java CMS, with a news module (where people can post different java-news), with articles module (for posting articles), a poll module, and, of course, a login module. 
</p>

<p>
Later, I found AtLeap CMS[1], which is developed here, in java.net site, and it suited perfect for my initial needs. It fit perfect, not only it had most of the things I was looking for, but also because it was written with the Struts framework which I am really good at. So I installed it, translated the "resources" files, wrote the poll plugin, the article plugin and the functionality for posting comments under every article or news item. 
</p>

<p>
The next step was to find a decent java forum, where people could discuss, and chat. It tuned out that mvnforum [2] was perfect for what I needed. I installed it and I started the testing and bug-fixing phase. The whole system was made by the mid of June, but of course then I had to study for my exams at the university and work over the Cactus project at the ASF, so the whole idea was suspended till the end of July, where I started to work again.
</p>

<p>
To summon up, I have to say that I am really proud with what was made. I hope that the community we are going to form([3]) will be strong and health. 
</p>

<p>
P.S. I want to help also the other guys that took part in developing the system: Svetozar Ivanov - for helping me integrate the Single-Sign-On between the CMS and the forum, and Miss Mariyana Kombakova for testing the site, and finding me bugs to fix. 
</p>
[1]<a href="https://ateap.dev.java.net/">https://atleap.dev.java.net/</a><br>
[2]<a href="http://www.mvnforum.com/mvnforumweb/index.jsp">http://www.mvnforum.com/mvnforumweb/index.jsp</a><br>
[3]<a href="http://java-bg.net/">http://java-bg.net/</a><br>]]>

</content>
</entry>
<entry>
<title>A Few Questions To Test Yourself</title>
<link rel="alternate" type="text/html" href="http://weblogs.java.net/blog/paranoiabla/archive/2007/02/a_few_questions.html" />
<modified>2008-06-24T19:17:03Z</modified>
<issued>2007-02-01T10:27:40Z</issued>
<id>tag:weblogs.java.net,2007:/blog/paranoiabla/377.6453</id>
<created>2007-02-01T10:27:40Z</created>
<summary type="text/plain">Here I post a few questions I bumped soon. Read them and see if you can solve them, or maybe propose more sophisticated solutions. </summary>
<author>
<name>paranoiabla</name>

<email>paranoiabla@gmail.com</email>
</author>
<dc:subject>J2SE</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://weblogs.java.net/blog/paranoiabla/">
<![CDATA[Hello everybody,<br/>
<br/>
recently I was sent a few interesting questions by my friend Angel Evrov, but being busy enough I had no 
time to look at them. Anyway, I finally found a few spare hours, and the problems turned out to be very 
interesting, so here they come. <br/>
<b>Question I:</b>
Consider the following Java class:

 
<pre>

public class MagicOutput {

    public static void main(final String argv[]) {

        System.out.println("Hello, World!");

    }

}
</pre>

While preserving both method main signature (name, number and type of parameters, return type)

and implementation (body of method), make this program to output to standard console message

"Hello, Java Guru!" Again, you may not alter a single character within the method main!!!

The resulted class must be executable with JRE 1.4; you may not use classes besides public API of JDK 1.4
<br/><br/>
<b>Solution I:</b><br/>
The solution I immediately got was the one that is most common. As we know <b>static</b> blocks are executed before
the main method, so the only thing we have to make sure is that we insert a static block in our class and also ensure that
we never execute the main method. Here is the solution: <br/>
<pre>
public class MyDraft {

	static {
		System.out.println("Hello World JavaGuru!");
		System.exit(0);
	}

	public static void main(String[] args) {
		System.out.println("Hello World!");	
	}
}
</pre>
<b>Solution II:</b><br/>
This is the solution of Radoslav  Nikolov, who I would like to thank for pointing it to me:
<pre>
public class MagicOutput {

    static String HELLO_WORLD = "Hello, World!";

    static char[] HELLO_GURU_CHARS = "Hello, Java Guru!".toCharArray();

 

    static {

        try {

            Field f;

 

            f = String.class.getDeclaredField("value");

            f.setAccessible(true);

            f.set(HELLO_WORLD, HELLO_GURU_CHARS);

 

            f = String.class.getDeclaredField("count");

            f.setAccessible(true);

            f.setInt(HELLO_WORLD, HELLO_GURU_CHARS.length);

 

        } catch (Exception e) {

            e.printStackTrace();

        }

    }

 

    public static void main(final String[] args) {

        System.out.println("Hello, World!");

    }

}
</pre>
The idea here is basically this: we again use the <b>static</b> block to start the solution before the jvm executes
the main method, but this time we declare the "real" string and the "fake" string as instance variables of the class.
Then we use a simple reflection trick to change the value of the "real" string with the "fake" one, and later when 
executing the main method the changed string value is displayed. Simple and clean :-).
<br/><br/>
<br/>
<b>Question II:</b><br/>
Given:<br/>
<pre>
public String makinStrings() {

	String s = "Fred";

	s = s + "47";

	s = s.substring(2, 5);

	s = s.toUpperCase();

	return s.toString();
}
</pre>
How many String objects will be created when this method is invoked?
<br/><br/>
<b>Answer: </b><br/>
<br/>
One of the most interesting things is that the real ansewr is 3. Because the string objects
that correspond to values of "Fred" and "47" already exist in the pool
and four of this methods return new objects(the .toString() method does not produce a new object) so i think that there are
2 in the pool and 3 in the heap. <br/>
<br/>


<b>Question III:</b> 
Consider the following code: <br>
<pre>
public static int testMethod() {
	for(;;) {
	}
}
</pre>

Does the code compile? <br>

<b>Answer:</b> Interesting enough, but the code compiles. Now a next question arises: "Why does the code copmpile?". 
Is this a bug in the java compiler? Or maybe a feature, considering the fact that the for cycle never ends? And if
it is a feature, shouldn't it mark a warning?

I would like to hear your comments. What do you think?]]>

</content>
</entry>

</feed>