<?xml version="1.0" encoding="utf-8"?>
<feed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom">
  <title>Mihail Stoynov's blog!</title>
  <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/" />
  <link rel="self" href="http://mihail.stoynov.com/blog/SyndicationService.asmx/GetAtom" />
  <icon>favicon.ico</icon>
  <updated>2008-08-27T09:49:09.4809003+03:00</updated>
  <author>
    <name>Mihail Stoynov</name>
  </author>
  <subtitle>Surrender your ego</subtitle>
  <id>http://mihail.stoynov.com/blog/</id>
  <generator uri="http://www.dasblog.net" version="2.0.7180.0">DasBlog</generator>
  <entry>
    <title>(Vista) Start button disabled, now what do we do?!</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/08/27/VistaStartButtonDisabledNowWhatDoWeDo.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,8ff5d3c1-3a24-4cd1-9055-3fc933e14823.aspx</id>
    <published>2008-08-27T09:48:04.1227802+03:00</published>
    <updated>2008-08-27T09:49:09.4809003+03:00</updated>
    <category term="Sucks" label="Sucks" scheme="http://mihail.stoynov.com/blog/CategoryView,category,Sucks.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
        </p>
        <img src="http://mihail.stoynov.com/blog/content/binary/Start_button_disabled.png" border="1" />
        <img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=8ff5d3c1-3a24-4cd1-9055-3fc933e14823" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Win + T, a great new shortcut</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/08/25/WinTAGreatNewShortcut.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,91ec057e-d35d-4e8c-8bd1-285d2d6eddca.aspx</id>
    <published>2008-08-25T18:15:26.6363399+03:00</published>
    <updated>2008-08-25T18:30:36.5836412+03:00</updated>
    <category term="rulez" label="rulez" scheme="http://mihail.stoynov.com/blog/CategoryView,category,rulez.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">It's pretty nice - navigates through the
tabs in the task bar.<br /><p></p><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=91ec057e-d35d-4e8c-8bd1-285d2d6eddca" /></div>
    </content>
  </entry>
  <entry>
    <title>A great day</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/08/25/AGreatDay.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,bd24e00d-d675-4d05-bd89-4ff668ee0671.aspx</id>
    <published>2008-08-25T14:26:37.072593+03:00</published>
    <updated>2008-08-25T17:20:16.2200784+03:00</updated>
    <category term="rulez" label="rulez" scheme="http://mihail.stoynov.com/blog/CategoryView,category,rulez.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">As opposed to the previous <a href="http://mihail.stoynov.com/blog/2008/08/25/AboutKilling.aspx">gloomy
post</a>, here I'll tell you (my dear single reader :) about a great day I had a few
days ago.<br /><br />
It all started at 8 in the morning: the phone call confirmed - the weather was great.
Then a drive from Varna to Russalka (one of the best resorts on our seaside ever)
- the trip was great - village roads light on traffic. I arrived in a sexy small bay
with a motor boat (I don't know what that's called) on it and a really small island
10 meters from the shore. After a two-hour wait (I was late) I got on the wet suit
and the oxygen bottle and my coach and I made a really nice trip around the island
- up to 8-meter dives.<br /><br />
I tried to schedule a 25 meter dive - no luck. I had to have a special certificate.<br /><br />
Then with the pass for the diving I was free to do anything inside the resort. Now
is the time to say that Russalka is a closed resort. Once inside everything is free
- I had three cokes. It's very beautiful. (No camera sorry, <a href="http://mihail.stoynov.com/blog/2008/08/20/SonyEricssonK750iSonyEricssonPeopleTHANKYOU.aspx">I
swam with my phone</a>). I almost read Truman Capote's <a href="http://en.wikipedia.org/wiki/Summer_Crossing">Summer
Crossing</a>.<br /><br />
Then on the way back I decided to go check out cape Shabla. Pretty nice place. Pretty
close to the border with Romania. No more than 20 minutes there.<br /><br />
On the way there I stopped at Kamen Bryag and checked the ancient Tracian fortress
Ajla. An amazing elevated view towards the sea. So pretty. Again 20 minutes there
only.<br /><br />
Finally I arrived at Kaliakra - this is by far the most beautiful place I have ever
seen in my life. Especially on sunset. The sea looked so powerful and mighty.<br /><br />
The day finished at Slunchev Bryag after a two hour drive at a Roger Sanchez's party.
My car got towed and they gave it back for the humble price of 60 leva :( and a 800-meter,
15-leva taxi trip.<br /><br />
I got to bed at 6:30 after the same 2-hour drive after the party.<br /><br />
A great day.<br /><p></p><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=bd24e00d-d675-4d05-bd89-4ff668ee0671" /></div>
    </content>
  </entry>
  <entry>
    <title>About killing</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/08/25/AboutKilling.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,c662539b-43a9-453f-a47f-1b4febe79f36.aspx</id>
    <published>2008-08-25T14:18:56.9042472+03:00</published>
    <updated>2008-08-25T14:25:29.6893001+03:00</updated>
    <category term="Sucks" label="Sucks" scheme="http://mihail.stoynov.com/blog/CategoryView,category,Sucks.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">Few days ago I accidentally hit a sparrow
with my car. The poor creature did not survive. There's a really heavy feeling that
grabs you right after that moment. Anger, frustration, trying to exonerate one's self.
Sadness.<br /><br />
And if that's not enough, yesterday I hit a fox on the highway. I did not even stop
to see what happened for which I kinda feel guilty. Again the sadness and thinking
about life, the universe and everything else.<br /><br />
Damn bad luck. I have never hit anything before. And from the feeling of it - I'm
no good for taking lives - I just can't bare the thought of it.<br /><br /><p></p><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=c662539b-43a9-453f-a47f-1b4febe79f36" /></div>
    </content>
  </entry>
  <entry>
    <title>Blogs that supply part of the content in the RSS/Atom feeds</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/08/20/BlogsThatSupplyPartOfTheContentInTheRSSAtomFeeds.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,b4a5317c-e460-459e-aec9-a4b94d21bd1c.aspx</id>
    <published>2008-08-20T21:53:18.2389919+03:00</published>
    <updated>2008-08-20T22:11:06.5046169+03:00</updated>
    <category term="Sucks" label="Sucks" scheme="http://mihail.stoynov.com/blog/CategoryView,category,Sucks.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">There are blogs that only supply a resume
or part of the content in the RSS. And the reason, I guess, is that they want you
to leave the comfort of your own RSS reader and visit their site and maybe see some
ads or who-cares-else what.<br /><br />
Well, FUCK THEM. The best I know are not doing it. Actually the best I know have no
ads and have minimalistic web sites (I understand it as only content and unobtrusive
navigation buttons/links).... and..... provide outstanding content.<br /><br />
Blogs that do that:<br /><a href="http://www.karieri.bg/blog/">http://www.karieri.bg/blog/</a><br /><a href="http://www.nova-rabota.com/">http://www.nova-rabota.com/</a><br /><br />
I decided to stop reading them.<br /><br /><br />
Other things that turn me down - copyright footer, a lot of links like "vote for me
in ...." and guys that start taking themselves too seriously. For the latter I'm ready
to make an exception, because some of them have an amazing style.<br /><br /><p></p><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=b4a5317c-e460-459e-aec9-a4b94d21bd1c" /></div>
    </content>
  </entry>
  <entry>
    <title>Operation Chicago</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/08/20/OperationChicago.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,a61b7c55-eec4-4052-8e5d-f8f6643b3227.aspx</id>
    <published>2008-08-20T18:46:27.692+03:00</published>
    <updated>2008-08-25T14:25:55.6239781+03:00</updated>
    <category term="rulez" label="rulez" scheme="http://mihail.stoynov.com/blog/CategoryView,category,rulez.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">I just got the video from the paintball
game "Operation Chicago".<br />
I appear in 0:28 and 0:34 (the skinhead guy with the light green camouflage). In 0:34
I get my ass kicked by cross-firing machine guns (I'm behind a pretty thin tree). 
<br /><br />
 <object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/C3zWShkHrP8" /><embed src="http://www.youtube.com/v/C3zWShkHrP8" type="application/x-shockwave-flash" width="425" height="350"> 
</embed></object><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=a61b7c55-eec4-4052-8e5d-f8f6643b3227" /></div>
    </content>
  </entry>
  <entry>
    <title>I should name my blog "Complaining about stuff"</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/08/20/IShouldNameMyBlogComplainingAboutStuff.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,0d120fe1-6cec-40fa-9bda-e1ad749a7324.aspx</id>
    <published>2008-08-20T14:37:50.7858669+03:00</published>
    <updated>2008-08-20T14:40:08.0983669+03:00</updated>
    <category term="Sucks" label="Sucks" scheme="http://mihail.stoynov.com/blog/CategoryView,category,Sucks.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">The "sucks" category is flourishing.<br /><br />
But it's damn easier to complain about stuff, than to write something meaningful.<br /><br />
I have to change that.<br /><p></p><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=0d120fe1-6cec-40fa-9bda-e1ad749a7324" /></div>
    </content>
  </entry>
  <entry>
    <title>My blog in Internet Explorer</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/08/20/MyBlogInInternetExplorer.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,83d9f430-3cab-4cec-aa38-1bf061be13e1.aspx</id>
    <published>2008-08-20T14:33:13.2546169+03:00</published>
    <updated>2008-08-20T14:36:55.1764919+03:00</updated>
    <category term="Sucks" label="Sucks" scheme="http://mihail.stoynov.com/blog/CategoryView,category,Sucks.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">I just noticed it. It sucks. It's ugly,
the font is ugly. How did I not notice that.<br />
OOO, man, I have to fix it :(<br /><br />
In firefox it looks fine. Damn.<br /><p></p><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=83d9f430-3cab-4cec-aa38-1bf061be13e1" /></div>
    </content>
  </entry>
  <entry>
    <title>SonyEricsson K750i. SonyEricsson people, THANK YOU</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/08/20/SonyEricssonK750iSonyEricssonPeopleTHANKYOU.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,4c637695-88a0-4011-8eb1-711117affb60.aspx</id>
    <published>2008-08-20T14:28:11.801+03:00</published>
    <updated>2008-08-25T14:26:16.9966525+03:00</updated>
    <category term="rulez" label="rulez" scheme="http://mihail.stoynov.com/blog/CategoryView,category,rulez.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <a href="http://en.wikipedia.org/wiki/Sony_Ericsson_K750" target="_blank">Sony
Ericsson K750i</a> was my phone for quite a while. This is a thank-you note to the
creators of that amazing machine.<br />
Yesterday the latest accident finished it. This time for sure. It doesn't want to
switch on. It's not showing any sign of life.<br /><br />
This <b>phone made amazing pictures</b>, most of my public images are made with it.
It was the best of its time. There are still phone that can't match that. The iPhone's
camera, for example, sucks. With a really steady hand one could make night shots too.
I had a 2GB flash card of the awful sony format - memory stick.<br /><br />
The <a href="http://en.wikipedia.org/wiki/Opera_Mini" target="_blank">opera mini</a> made
it a <b>decent browser</b>. I could read <a href="http://mobi.capital.bg/" target="_blank">mobi.capital.bg</a> and <a href="http://mobi.dnevnik.bg/" target="_blank">mobi.dnevnik.bg</a> in
the restroom. BTW <a href="http://mobi.dnevnik.bg/" target="_blank">mobi.dnevnik.bg</a> is
boring as opposed to <a href="http://mobi.capital.bg/" target="_blank">mobi.capital.bg</a>.<br />
Opera mini, BTW, is an example of a perfect minimalistic software. It's amazing. Great
job.<br /><br />
I could <b>use the phone with a bluetooth </b><b>GPS</b> until I lost the GPS in Amsterdam.
The software choice wasn't that great, because I only had Java and no operating system.
Here's the place to mention <a href="http://www.nav4all.com/" target="_blank">Nav4All</a> -
an amazing map software with routing (navigation) maps for Bulgaria. Once I ended
up in a construction site in Sofia, but I hear these things happen to every map software.
Nav4All used internet for downloading maps, and that made it quite a drag.<br /><br /><a href="http://www.deep-shadows.com/hax/ReadManiac/download.htm" target="_blank">ReaderManiac</a> made
the phone an <b>electronic book reader. </b>Again an amazing software - I was planning
to write an article about it, but maybe some other time. I read like 10 books on it.
See the <a href="../readbooks.html" target="_blank">read books section</a> (phone
pages state that I read this on the phone). Navigation was amazing. Different font
and sizes, great software. It even told you when to rest your eyes. I could supply
Cyrillic fonts.<br /><br />
Lacking an OS made the phone <b>very stable and pretty fast</b>. It crashed only once
a few months. I hate the so called organizers - Windows Mobile sucks big time. 
<br /><br />
The 2GB flash made the phone an <b>excellent mp3 player</b>. While snowboarding at
-20 degrees Celsius it was working flawlessly. The earpieces weren't that well attached
but the quality was quite satisfying.<br /><br />
A business phone: <b>when it said that the battery was depleted it could work for
at least a day at heavy use</b>.<br /><br /><b>Negative sides</b>: the jacks got pretty dirty and the earpieces and the usb connection
got interferences. The screen wasn't as bright as the new phones. The inside of the
protective glass (plastic) in front of the screen got full with sand and dirt and
it was quite hard to clean it up. Thanks, Steen. Ugly flash card jack (memory stick
duo), ugly earphones jack (something SonyEricsson). Nokia beats it here..<br /><br /><b>Update</b>: I'd like to thank the <a href="http://www.mobile-review.com/">mobile-review</a> site
for the outstanding reviews they make. Here's the one for <a href="http://www.mobile-review.com/review/sonyericsson-k750-en.shtml">K750i</a>.
Surely, I'll consult them for my next phone too. Also, their news page looks quite
deserted, I really hope, they would continue to write good reviews.<br /><br />
So chronologically:<br /><br />
First while free-riding (snowboarding outside the track in fresh snow) I dropped it.
After 80 minutes of heavy ringing I found it pretty wet under 20cm of snow still working
and most importantly ringing so I could find it.<br /><br />
Second, I swam with it in a pool for at least half a minute. After a complete drying
it continued to work but with a few minor quirks. Battery swelled up few days later
and nearly blew up the whole phone. The new battery didn't charge correctly. The quality
of the talks went significantly lower.<br /><br />
Third, yesterday I was with the phone in the sea for around 10 minutes. This was the
end of it. It didn't show any signs of life after that. I did everything I can.<br /><br />
It's over.<br /><br /><b>Thank you, SonyEricsson people.</b> This <strike>is</strike> was an amazing example
of equipment.<br /><br />
Unfortunately SonyEricsson does not have a decent model with GPS. And that's what
I'm looking for. I'm planning to have an iPhone (my roommate has one, it's a decent
thing, but not for a primary phone) and maybe a Nokia with a GPS. My friends say E71,
although ugly, is a pretty good one for business purposes. Both suck at pictures.<br />
Maybe N82 too. We'll see.<br /><b>Update2:</b> BTW, mobile-review guys give a pretty <a href="http://www.mobile-review.com/print.php?filename=/articles/2007/iphone-name-en.shtml">bad
review</a> of the iPhone. They're right, I also strongly dislike Apple and its "closed"
approach, but the article seems a little prejudiced. It seems personal. A red (bad)
point for them. 
<br /><br />
Any other suggestions? I'm looking for a GPS, decent mapping software with maps and
routing/navigation, wireless, a decent camera, fast interaction, no Windows Mobile,
a lot of space, decent mp3 player, sturdy....<p></p><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=4c637695-88a0-4011-8eb1-711117affb60" /></div>
    </content>
  </entry>
  <entry>
    <title>Vital equipment dying</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/08/20/VitalEquipmentDying.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,11dcc808-4e93-4b22-b5a2-43972e466f11.aspx</id>
    <published>2008-08-20T12:51:10.2233669+03:00</published>
    <updated>2008-08-20T14:10:05.3639919+03:00</updated>
    <category term="Sucks" label="Sucks" scheme="http://mihail.stoynov.com/blog/CategoryView,category,Sucks.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">I think I'm having a bad dream.<br />
Most of the most important technical equipment around me is failing:<br /><br />
First the phone: SonyEricsson K750i. An amazing machine. Very sturdy, <a href="http://mihail.stoynov.com/blog/2008/08/20/SonyEricssonK750iSonyEricssonPeopleTHANKYOU.aspx">survived
a swimming pool, being lost in the snow while snowboarding, numerous hits</a>, is
now dead.<br /><br />
The laptop's battery completely fucked up, it's constantly <a href="http://mihail.stoynov.com/blog/2008/03/01/StunningChangeLaptopOverheatingPartII.aspx">overheating</a>.
The laptop itself is scaring me up - not to die one day - it's a DELL, so....<br /><br />
My car is on the end of its usable life. Although I'm so thankful to it for saving
my life after all the stupid things I did when I was younger, I have to change it. 
<br /><br />
I'm planning to buy a <a href="http://mihail.stoynov.com/blog/2008/06/20/CategoryAInMyDrivingLicense.aspx">motorcycle</a>.<br /><br />
It's partly my fault - most of the equipment was showing dreadful signs for a long
time, but I constantly postpone to take measures.<br /><br />
So now to be able to buy all that I'm thinking of finding a second job or sell a kidney.<br /><p></p><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=11dcc808-4e93-4b22-b5a2-43972e466f11" /></div>
    </content>
  </entry>
  <entry>
    <title>I hate CDs/DVDs</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/08/15/IHateCDsDVDs.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,7b595ad0-1576-4a33-9c18-7ce20efe18b3.aspx</id>
    <published>2008-08-15T11:58:46.234375+03:00</published>
    <updated>2008-08-15T12:24:27.21875+03:00</updated>
    <category term="Sucks" label="Sucks" scheme="http://mihail.stoynov.com/blog/CategoryView,category,Sucks.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">I really do. Windows doesn't seem to understand
them - the whole system stops and waits for a single DVD. The laptop is shaking.<br /><br />
Read/write times are really slow. <a href="http://mihail.stoynov.com/blog/2008/08/15/VistaXPCantBurnASingleCDDVDWithoutInfuriatingYou.aspx">Burning
them with the windows's ATAPI service is hell.</a><br /><br />
When used to working with 3-5 MB/sec without worm-up times and spin times and whatever
else times, it's really annoying.<br /><br />
But DVDs are the only reasonable way to give someone 15 GB even though you'll have
to spend 2 hours to burn them.<br /><br />
P.S. I want to remove my laptop's DVD combo whatever bullshit, but I can't :( It's
such a waste of weight and space.<br /><p></p><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=7b595ad0-1576-4a33-9c18-7ce20efe18b3" /></div>
    </content>
  </entry>
  <entry>
    <title>Vista doesn't want to update to SP1</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/08/15/VistaDoesntWantToUpdateToSP1.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,d4e256f2-1dcf-49d6-9c59-47e45d91fb58.aspx</id>
    <published>2008-08-15T11:15:00.375+03:00</published>
    <updated>2008-08-15T11:18:44.8125+03:00</updated>
    <category term="Sucks" label="Sucks" scheme="http://mihail.stoynov.com/blog/CategoryView,category,Sucks.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">I don't know why. The update just does not
want to come.<br />
There are always other updates.<br /><br />
I'm too afraid to update to SP1 manually. Who knows what will happen.<br /><br />
And I want to stress that this is a legal copy.<br /><p></p><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=d4e256f2-1dcf-49d6-9c59-47e45d91fb58" /></div>
    </content>
  </entry>
  <entry>
    <title>Firefox is slow and youtube fails</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/08/15/FirefoxIsSlowAndYoutubeFails.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,fdbb17fd-aa20-4965-be8a-97f4c5545d28.aspx</id>
    <published>2008-08-15T11:11:47.828125+03:00</published>
    <updated>2008-08-15T11:14:21.1875+03:00</updated>
    <category term="Sucks" label="Sucks" scheme="http://mihail.stoynov.com/blog/CategoryView,category,Sucks.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">Firefox is getting really slow. I don't
know why, it may be due to too many plug-ins - I have 4 or 5.<br /><br />
And if working for sometime it stops playing flash streaming videos (youtube, google
video....).<br /><br />
It has to be restarted. I'm disappointed.<br /><p></p><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=fdbb17fd-aa20-4965-be8a-97f4c5545d28" /></div>
    </content>
  </entry>
  <entry>
    <title>Vista/XP can't burn a single CD/DVD without infuriating you</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/08/15/VistaXPCantBurnASingleCDDVDWithoutInfuriatingYou.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,a28075c0-a59f-4a57-8abe-b34319cc26f6.aspx</id>
    <published>2008-08-15T10:20:37.296+03:00</published>
    <updated>2008-08-15T11:11:37.453125+03:00</updated>
    <category term="Sucks" label="Sucks" scheme="http://mihail.stoynov.com/blog/CategoryView,category,Sucks.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <link href="/blog/ftb/designmode.css" type="text/css" rel="stylesheet" />This is part
of the series 'Vista sucks'. Although XP sucks as much as Vista in this case. 
<p>
There was a feature first introduced in XP for burning CDs. In Xp the service was
called something like ATAPI burning or whatever. Couldn't burn DVDs. In Vista the
same software could burn DVDs. I couldn't find the service name. I may have missed
it somehow.
</p><p>
So this software was a nice feature - simple, fairly stable.
</p><p>
But it's so darn slow and requires twice as much space as the burned data. Here's
why:
</p><p>
First you copy the files on the CD/DVD with Windows Explorer. This copies the files
in a cache of some kind. Trying to burn 4.5 GB requires 4-5 minutes of copying - and
the machine is unusable  - copying utilizes the HDD. If you do something else
it could take up to 20 min.
</p><p>
Then to burn them, the wizard should be started - this again copies the files
to another cache I guess. Again 5 to 20 minutes.
</p><p>
This means 9 GB of space needed + the actual 4.5 GB. And a lot of time.
</p><p>
Vista/XP you messed up a good idea again. Vista/XP you suck.
</p><p>
As far as I can remember Nero was a lot faster, no cache needed, or at least no that
much. Is Nero still good? Is there a light version of it?
</p><p></p><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=a28075c0-a59f-4a57-8abe-b34319cc26f6" /></div>
    </content>
  </entry>
  <entry>
    <title>Adding columns to join tables (in the context of JPA/Hibernate)</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/07/21/AddingColumnsToJoinTablesInTheContextOfJPAHibernate.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,b30a249d-37f3-49fd-ac60-de18559ab290.aspx</id>
    <published>2008-07-21T18:31:17.105+03:00</published>
    <updated>2008-07-21T19:28:15.792875+03:00</updated>
    <category term="Sucks" label="Sucks" scheme="http://mihail.stoynov.com/blog/CategoryView,category,Sucks.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">At some point in a <font face="Courier New"><b>@ManyToMany</b></font> relationship
I had to add some extra columns in the join table (the middle table).<br /><br />
Here's what Gavin King says in <a href="http://www.manning.com/bauer2/">Java Persistence
with Hibernate</a> (a notable book on the subject):<br /><br /><div style="border: thin solid ; margin-left: 30px; background-color: rgb(220, 220, 220);"><i>Adding columns to join tables</i><br />
You can use two common strategies to map such a structure to Java classes. The first
strategy requires an intermediate entity class for the join table and is mapped with
one-to-many associations. The second strategy utilizes a collection of components,
with a value-type class for the join table.
</div><br />
Later in that chapter for the first approach (the extra entity for the middle table):<br /><div style="border: thin solid ; margin-left: 30px; background-color: rgb(220, 220, 220);">
The primary advantage of this strategy is the possibility for bidirectional navigation:
You can get all items in a category {...} and the also navigate from the opposite
direction {...}. A disadvantage is the more complex code needed to manage {...} entity
instances to create and remove associations—they have to be saved and deleted independently,
and you need some infrastructure, such as the composite identifier. However, you can
enable transitive persistence with cascading options on the<br />
collections {...}, as explained {...}, “Transitive persistence.”<br /></div><br />
Later in that chapter for the second approach (the collection of components approach):<br /><div style="border: thin solid ; margin-left: 30px; background-color: rgb(220, 220, 220);">
That’s it: You’ve mapped a ternary association with annotations. What looked<br />
incredibly complex at the beginning has been reduced to a few lines of annota-<br />
tion metadata, most of it optional.<br /></div><br />
Naively enough I chose the second approach. Who cares that there's a hibernate dependency
in my JPA data access layer. I already have a few (a hibernate interceptor).<br /><br />
In this approach I had to use the <b><font face="Courier New">@CollectionOfElements</font></b> annotation. <b><font face="Courier New">@CollectionOfElements</font></b> works
like that: it maps a collection (set, map, list) of something to a table. This table
has no entity attached to it. It can work with value types, Strings and <font face="Courier New"><b>@Embeddable</b></font>s.
In my case it had to be the <font face="Courier New"><b>@Embeddable</b></font>.<br /><br />
Let me give you an example - it will clear things up: there are classes and there
are students - two entities. There can be two classes with many students some of which
are the same - so the relationship is <b>@ManyToMany</b>. The extra column in the
join table would the grade of the student in that class.<br /><br />
So the approach with the <b><font face="Courier New">@CollectionOfElements</font></b> works
like that: one of the entities holds the relationship - let it be the class entity
- so it has something like that:<br /><br /><div style="border: thin solid ; margin-left: 30px; background-color: rgb(220, 220, 220);"><b><font face="Courier New"><font color="#808080"> @Entity</font><br /><font color="#800080"> public class </font>Class {<br />
    <font color="#808080">@Version</font><br />
    <font color="#800080">private int </font>version;<br />
    ...<br />
    <font color="#808080">@org.hibernate.annotations.CollectionOfElements</font><br />
    <font color="#800080">private</font> Set&lt;GradedStudent&gt; students;<br />
    ...<br />
}</font></b><br /></div><br />
Student is a simple entity, no code needed. Let's call the student with the grade
an GradedStudent:<br /><div style="border: thin solid ; margin-left: 30px; background-color: rgb(220, 220, 220);"><b><font face="Courier New"><font color="#808080"> @Embeddable</font><br /><font color="#800080"> public class</font> GradedStudent {<br />
    ...<br />
    <font color="#808080">@OneToOne<font color="#000000">(</font></font>...,
cascade = {<font color="#0000ff">MERGE, PERSIST, REFRESH</font>})<br />
    <font color="#800080">private</font> Student student;<br />
    ...<br />
    <font color="#800080">@Column</font>( nullable = <font color="#800080">false</font>,
... )<br />
   <font color="#800080"> private int</font> grade;<br />
    ...<br />
}<br /></font></b></div><br />
That's pretty much it. Seems simple, you would think and straightforward.<br /><br />
BUT IT DOESN'T WORK.<br /><br />
Here's what gets wrong:<br /><ol><li>
Everytime a class entity gets queried, it's version gets incremented. This makes updating
a disconnected entity far more difficult and makes the @Version kind of obsolete.<br /><i>Solution</i>: none, I couldn't find anything remotely connected to this problem
on the net.<br /></li><li>
The primary key in the join table (with a name like 'class_gradedstudent') is not
the [class_id, student_id] but is [class_id, student_id, grade]. If you put extra
columns in the join table and they are nullable = false, they would become part of
the primary key.<br /></li><li>
Cascading fails. You have to create and <font face="Courier New"><b>persist</b></font> a
Student first in order it to become a part of a certain class entity. Even though
a GradedStudent is said to cascade a Student.<br />
Solution: none, I tried everything I could think of - no luck. I couldn't find anything
remotely connected to this problem on the net.</li></ol><br />
Regarding 2: a quotation from the same book:<br /><div style="border: thin solid ; margin-left: 30px; background-color: rgb(220, 220, 220);">
There is only<br />
one change to the database tables: The {...} table now has a primary<br />
key that is a composite of all columns, not only the ids of the two object, as in<br />
the previous section. Hence, all properties should never be nullable—otherwise<br />
you can’t identify a row in the join table.<br /></div>
Well, what if I don't want that? It doesn't say.<br /><br />
So, actually the second approach is not an option.<br /><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=b30a249d-37f3-49fd-ac60-de18559ab290" /></div>
    </content>
  </entry>
  <entry>
    <title>@CollectionOfElements, JPA, the documentation and the problems it raises</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/07/18/CollectionOfElementsJPATheDocumentationAndTheProblemsItRaises.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,71bcbc12-f029-4e4b-abfe-d9572778a752.aspx</id>
    <published>2008-07-18T17:19:01.855375+03:00</published>
    <updated>2008-07-18T17:48:18.792875+03:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">In a project that I mention a lot there's
an persistent model using JPA as an interface to Hibernate.<br /><br />
There was case where I wanted to put extra columns in a <a href="http://java.sun.com/javaee/5/docs/api/javax/persistence/ManyToMany.html"><b><font face="Courier New">@ManyToMany</font></b></a> relationship.
JPA cannot do that.<br /><br />
So I had to use the Hibernate's <font face="Courier New"><b>@CollectionOfElements</b></font>.<br />
It works like that: if there are the objects Class and Student, the extra columns
go to the wrapper class EnhancedStudent. The EnhancedStudent has a property of type
Student.<br /><br />
Now I have a few bugs related to it:<br /><ol><li>
Causes the <b><font face="Courier New"><a href="http://java.sun.com/javaee/5/docs/api/javax/persistence/Version.html">@Version</a></font></b> of
the containing object (Class) to increment on <a href="http://java.sun.com/javaee/5/docs/api/javax/persistence/EntityManager.html#find%28java.lang.Class,%20java.lang.Object%29">EntityManager.html#find(java.lang.Class,
java.lang.Object)</a></li><li>
The creation of an ExtraStudent cannot propagate (cascade) the inner Student - no
matter what.</li></ol>
The funniest thing is that the documentation of the <font face="Courier New"><b>@CollectionOfElements</b></font> is
a single line: 
<br /><br /><div style="border: thin solid ; margin-left: 30px; background-color: rgb(220, 220, 220);"><b><font face="Courier New"> Annotation
used to mark a collection as a collection of elements or a collection of embedded
objects </font></b></div><br /><a href="http://www.hibernate.org/hib_docs/annotations/api/org/hibernate/annotations/CollectionOfElements.html">http://www.hibernate.org/hib_docs/annotations/api/org/hibernate/annotations/CollectionOfElements.html</a><br /><br />
:(<br /><p></p><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=71bcbc12-f029-4e4b-abfe-d9572778a752" /></div>
    </content>
  </entry>
  <entry>
    <title>Gotcha MTEL, YOU CHEATING BASTARDS</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/07/18/GotchaMTELYOUCHEATINGBASTARDS.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,b4c82a85-c4ae-47fd-9612-6bdee499e7a6.aspx</id>
    <published>2008-07-18T13:35:55.386+03:00</published>
    <updated>2008-07-18T17:18:58.40225+03:00</updated>
    <category term="Sucks" label="Sucks" scheme="http://mihail.stoynov.com/blog/CategoryView,category,Sucks.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">From some time I noticed that <a href="http://www.mtel.bg">Mtel</a> (my
mobile service operation) is using VoIP when I'm calling an Mtel number while roaming.<br />
When I'm calling another operator's number while still roaming, there's no VoIP.<br /><br />
CHEAP BASTARDS. For these prices you can at least provide a decent service - a VoIP
call is with bad quality and the callee cannot see who's calling, he sees some service
number.<br /><br /><b>BUT THATS NOT ALL</b>.<br /><br />
The top of the cherry is that when Mtel is using VoIP they clearly cannot see whether
the other side answers or not, <u><i>so no matter whether you make a successful call
or not - while you're ringing you get billed</i></u>. <b>That's not right, is it</b>?!<br /><br />
I found out all that today while checking my bill. Two months ago while in Brno I
made a call and was quite sure that I would get billed for that call even though nobody
answered.<br /><br /><b>GOTCHA, YOU CHEAP BASTARDOs</b><br /><br /><br /><b>Update</b>: other case of proved cheating:<br />
Mtel made me pay 200 bucks for half a megabyte of internet while roaming. Before that
I explicitly asked for the price. <b>It came out that the price is 10 times more</b> and <b>they
charge every</b> GPRS <b>session for a full megabyte</b> (with 10 times the prices)
without saying it.<br /><br />
Few months ago I caught them billing me for an international call to a friend I haven't
spoken with for at least a couple of years.<br /><p></p><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=b4c82a85-c4ae-47fd-9612-6bdee499e7a6" /></div>
    </content>
  </entry>
  <entry>
    <title>Ctrl+Shift+T in Firefox = reopen last closed tab (window)</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/07/17/CtrlShiftTInFirefoxReopenLastClosedTabWindow.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,a866e370-55db-4f12-b265-a34c70dea9e2.aspx</id>
    <published>2008-07-17T17:35:28.949125+03:00</published>
    <updated>2008-07-17T17:37:53.449125+03:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">Ctrl+Shift+T is a popular shortcut in Eclipse.<br /><br />
Ctrl+T is a popular shortcut in Firefox - opens an empty tab.<br /><br />
Once by mistake I pressed the former by mistake and found out that Ctrl+Shift+T makes
an undo for the last closed window (tab). And not only for the last tab.<br /><br />
Cool<br /><p></p><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=a866e370-55db-4f12-b265-a34c70dea9e2" /></div>
    </content>
  </entry>
  <entry>
    <title>Mocking an EJB Container</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/07/17/MockingAnEJBContainer.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,3b2efb2e-f7f8-44c2-81d7-633a38d226fd.aspx</id>
    <published>2008-07-17T17:33:59.230375+03:00</published>
    <updated>2008-07-17T18:19:57.746+03:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">There are a lot of tests for some EJBs.<br /><br />
Starting an J2EE server is slow. I wanted to test the business logic faster.<br /><br />
Most of the beans reference only each other and a persistence context.<br /><br />
So what should the mock worry about - transaction demarcation and dependency injection.
And... exception wrapping and unwrapping.<br /><br /><ol><li>
First just add some setters or change the access level modifiers (from <font face="Courier New"><b>private </b></font>to <font face="Courier New"><b>protected </b></font>for
example).</li><li>
Know your transaction authority.<br /></li><li>
Count started transactions. If 0, begin. If 0, commit. Rollback when necessary.<br /></li><li>
Listen for all the exceptions and wrap and unwrap them.</li><li>
Reuse as much as possible of the code.<br /></li></ol>
If I have some spare time left, I'll write some code.<br /><br /><br /><p></p><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=3b2efb2e-f7f8-44c2-81d7-633a38d226fd" /></div>
    </content>
  </entry>
  <entry>
    <title>Serialization, cyclic references (via hashmaps) and overriding hashCode()</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/07/17/SerializationCyclicReferencesViaHashmapsAndOverridingHashCode.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,ade3dea0-25c7-47c0-a979-200315fd52d3.aspx</id>
    <published>2008-07-17T14:21:52.792+03:00</published>
    <updated>2008-07-17T17:24:40.855375+03:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">I'll try to simplify it.<br />
There's an object model. In it there are cyclic references (one object references
a second one, the second one - a third one, the third one - the first one).<br />
Some of the cyclic references are through aggregations - one object has a map of other
objects.<br />
Some of the objects have a meaningful <font face="Courier New"><b>hashCode() </b></font>and <b><font face="Courier New">equals() </font></b>overridden.
These two depend on some properties in the object itself.<br /><br />
Some of the objects get serizalized/deserialized (travel through a stream).<br /><br />
Now here comes the problem - the deserialization first sees the cyclic reference,
makes instances of all the objects, initializes all the primitive fileds, does not
initialize the other fields, then links the objects.<br /><br />
Here comes the problem, linking two objects (one of which has a map of the other)
requires <font face="Courier New"><b>hashCode()</b></font>. This requires some specific
properties in that object that are not initialized - this causes <font face="Courier New"><b>NullPointerException</b></font> (or
in my case an <font face="Courier New"><b>AssertionError</b></font>).<br /><br /><i>If the hashCode returns a default value if the properties are not there - another <b>serious </b>problem
si caused - there are objects in the map in the wrong <b>buckets</b> - they entered
the map with the default hash, but when they got completely initialized - they now
have a different hash. I think that is really bad - the map has to be rehashed.</i><br /><br />
Here's a bug detail:<br /><a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4957674">http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4957674</a><br /><br />
Here's what some of the guys say on the subject:<br /><br /><div style="border: thin solid ; margin-left: 30px; background-color: rgb(220, 220, 220);">
The problem is that HashMap's readObject() implementation , in order to re-hash the
map, invokes the hashCode() method of some of its keys, regardless of whether those
keys have been fully deserialized.<br /></div><br />
And:<br /><br /><div style="border: thin solid ; margin-left: 30px; background-color: rgb(220, 220, 220);">
The fix for this is actually quite easy: Modify the readObject() and writeObject()
of HashMap so that it also saves the original hash code. (I am currently using this
fix in production code for a large web site.) That way, when the map is reconstructed,
you don't have to recompute the hashcode----the problem is caused by recomputing the
hashcode at a moment when it is not computable. 
<br /><br />
What you *give up* with this fix is that HashMaps containing Objects that don't override
hashCode() and equals() will not be deserialized properly. 
<br /><br />
So basically, you have a choice: either it will be robust for classes that implement
hashCode(), or it will work for bare Objects(). One or the other. I prefer the former,
because people are supposed to implement hashCode(). 
</div><br /><b>But</b>, not all my object have a rewritten equals (of course I can check with
reflection which ones do and which ones don't, but...). This would also mean that
I'm using a customized collection.<br /><br /><br />
There's another proposition - to hash the hashcode.<br /><br /><div style="border: thin solid ; margin-left: 30px; background-color: rgb(220, 220, 220);">
The fix for this is actually quite easy:  Modify the readObject() and writeObject()
of HashMap so that it also saves the original hash code.  (I am currently using
this fix in production code for a large web site.)
</div><br />
The hashcode is a primitive type, so it would get initialized first and the problem
would be solved. This would mean to have an <font face="Courier New"><b>hashCode() </b></font>and <b><font face="Courier New">equals()</font></b> which
check which one is available - the cached hash or the properties - isn't that <b>UGLY</b>.<br /><br />
I'll investigate more.<br /><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=ade3dea0-25c7-47c0-a979-200315fd52d3" /></div>
    </content>
  </entry>
  <entry>
    <title>73 meters from the ground</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/07/14/73MetersFromTheGround.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,19179627-1300-4534-9606-52bfe077b68b.aspx</id>
    <published>2008-07-14T19:06:10.796+03:00</published>
    <updated>2008-07-14T19:17:39.640625+03:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
        </p>
        <a href="http://mihail.stoynov.com/blog/content/binary/IMGP0203.JPG">
        </a>This is
73 meters from the ground. It is scary and physically intensive. I did this route
twice, the first time without the special gloves. My fingers still hurt.<br /><a href="http://mihail.stoynov.com/blog/content/binary/IMGP0203.JPG"><img src="http://mihail.stoynov.com/blog/content/binary/IMGP0203%20thumbnail.JPG" border="0" /></a><br /><br /><br />
On the top the second time (on the verge of not making it).<br /><a href="http://mihail.stoynov.com/blog/content/binary/IMGP0207.JPG"><img src="http://mihail.stoynov.com/blog/content/binary/IMGP0207%20thumbnail.JPG" border="0" /></a><br /><br />
It's over, let's have something to eat.<br /><a href="http://mihail.stoynov.com/blog/content/binary/IMGP0210_.JPG"><img src="http://mihail.stoynov.com/blog/content/binary/IMGP0210_thumbnail.JPG" border="0" /></a><br /><br />
More pictures when I get them.<br /><a href="http://mihail.stoynov.com/blog/content/binary/IMGP0210_.JPG"></a><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=19179627-1300-4534-9606-52bfe077b68b" /></div>
    </content>
  </entry>
  <entry>
    <title>MySQL, I hate you so much [Installing mysql as a service]</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/07/14/MySQLIHateYouSoMuchInstallingMysqlAsAService.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,7a0b6bbe-ba5d-4c34-ad7f-5155eb959350.aspx</id>
    <published>2008-07-14T15:04:09.703+03:00</published>
    <updated>2008-07-14T15:33:23.6875+03:00</updated>
    <category term="Sucks" label="Sucks" scheme="http://mihail.stoynov.com/blog/CategoryView,category,Sucks.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">The first idea was to have the DB (MySQL)
start as part of the script that launched the tests. Google couldn't find anything
good. MySQL is one of the most unintuitive things I have ever seen, so the decision
was to not try to figure it out on my own.<br /><br />
The next thing was to install MySQL as a service. That turned out to be difficult.<br /><br />
I tried to install MySQL as a service:<br /><br /><div style="border: thin solid ; margin-left: 30px; background-color: rgb(220, 220, 220);"><font face="Courier New"><b> /&gt;mysqld
--install</b></font><br /></div><br />
As easy as that. The problem is <b>IT DID NOT WORK</b>. The service did not want to
start.<br /><br />
After some reading it came out that the <b>RIGHT </b>way was to do it like that:<br /><br /><div style="border: thin solid ; margin-left: 30px; background-color: rgb(220, 220, 220);"><font face="Courier New"><b>__correct
dir__/&gt;&lt;&lt;path&gt;&gt;\mysqld.exe --install MySQL --defaults-file="&lt;&lt;path&gt;&gt;\my.ini"</b></font><br /></div><br />
Why do I have to supply the mysql directory explicitly?<br />
Why do I have to supply the my.ini directory explicitly?<br /><br />
Why doesn't mysqld give me an error message when I install it without the needed parameters?<br />
Why doesn't mysqld give me an error message when I install it without the needed explicit
paths?<br /><br />
...is beyond my inderstanding.<br /><br />
MySQL, you are a disgrace.<br />
MySQL, not only are you <b>not </b>a <b>real </b>RDBMS but you can't even start without
making your users' life misserable.<br /><br /><br /><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=7a0b6bbe-ba5d-4c34-ad7f-5155eb959350" /></div>
    </content>
  </entry>
  <entry>
    <title>Google mail servers fail?! All of them?</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/07/14/GoogleMailServersFailAllOfThem.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,d4339559-6f53-4ac1-a30f-cba7534aed0b.aspx</id>
    <published>2008-07-14T12:35:53.578125+03:00</published>
    <updated>2008-07-14T12:38:13.109375+03:00</updated>
    <category term="Sucks" label="Sucks" scheme="http://mihail.stoynov.com/blog/CategoryView,category,Sucks.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">Connection timed out on all their servers?!<br /><br /><div style="border: thin solid ; margin-left: 30px; background-color: rgb(220, 220, 220);">
Technical details of temporary failure:<br />
TEMP_FAILURE: The recipient server did not accept our requests to connect.<br />
[<a href="http://aspmx.l.google.com/" target="_blank">ASPMX.L.GOOGLE.com</a>. (1):
Connection timed out]<br />
[<a href="http://alt1.aspmx.l.google.com/" target="_blank">ALT1.ASPMX.L.GOOGLE.com</a>.
(5): Connection timed out]<br />
[<a href="http://alt2.aspmx.l.google.com/" target="_blank">ALT2.ASPMX.L.GOOGLE.com</a>.
(5): Connection timed out]<br />
[<a href="http://aspmx3.googlemail.com/" target="_blank">ASPMX3.GOOGLEMAIL.com</a>.
(10): Connection timed out]<br />
[<a href="http://aspmx5.googlemail.com/" target="_blank">ASPMX5.GOOGLEMAIL.com</a>.
(10): Connection timed out]<br />
[<a href="http://aspmx2.googlemail.com/" target="_blank">ASPMX2.GOOGLEMAIL.com</a>.
(10): Connection timed out]<br />
[<a href="http://aspmx4.googlemail.com/" target="_blank">ASPMX4.GOOGLEMAIL.com</a>.
(10): Connection timed out]<br /></div><p></p><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=d4339559-6f53-4ac1-a30f-cba7534aed0b" /></div>
    </content>
  </entry>
  <entry>
    <title>The sources for hibernate-entitymanager.jar, version 3.2.1GA</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/07/11/TheSourcesForHibernateentitymanagerjarVersion321GA.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,abaa5c0b-f66d-4067-b274-3bcd438ce4a6.aspx</id>
    <published>2008-07-11T15:45:19.671875+03:00</published>
    <updated>2008-07-11T15:59:24.953125+03:00</updated>
    <category term="Sucks" label="Sucks" scheme="http://mihail.stoynov.com/blog/CategoryView,category,Sucks.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">Yea, it was difficult. So difficult that
I had to extract the sources from a zipped project file, put them into archive and
rename to jar file. And hope that the versions I'm using are mathing....<br /><br />
The JBoss jar says it's implemented by JBoss.<br />
JBoss/hibernate-entitymanager.jar/META-INF/MANIFEST.MF:<br /><blockquote><blockquote>Manifest-Version: 1.0<br />
Product: Hibernate EntityManager<br />
Specification-Title: JBoss<br />
Created-By: 1.5.0_09-b03 (Sun Microsystems Inc.)<br />
Specification-Version: 4.2.2.GA<br />
Implementation-Vendor-Id: http://www.jboss.org/   <b>WTF?</b><br />
Version: 3.2.1.GA<br />
Implementation-URL: http://www.jboss.org/<br />
Ant-Version: Apache Ant 1.6.5<br />
Implementation-Title: JBoss [Trinity]<br />
Specification-Vendor: JBoss (http://www.jboss.org/)<br />
Implementation-Version: 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=20<br />
 0710221139)<br />
Implementation-Vendor: JBoss Inc.<br /></blockquote></blockquote><br />
However, the JBoss source does not have the sources.<br /><a href="http://repository.jboss.org/hibernate-entitymanager/3.2.1.GA/">http://repository.jboss.org/hibernate-entitymanager/3.2.1.GA/</a><br /><b>WTF number 2?</b><br /><br /><br />
In the hibernate downloads the source is missing as a separate download<br /><a href="http://sourceforge.net/project/showfiles.php?group_id=40712&amp;package_id=156160">http://sourceforge.net/project/showfiles.php?group_id=40712&amp;package_id=156160</a><br /><b>WTF number 3?<br /><br /></b>Finally, found it in the zip file in the last link. I was desparate, thinking
of using the repositories here:<br /><a href="http://anonsvn.jboss.org/repos/hibernate/entitymanager/tags/">http://anonsvn.jboss.org/repos/hibernate/entitymanager/tags/</a><br />
Had to extract it, re-zip it and hope the versions match. So far so good.<br /><br />
Why does it have to be so difficult?!<b><br /></b><p></p><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=abaa5c0b-f66d-4067-b274-3bcd438ce4a6" /></div>
    </content>
  </entry>
  <entry>
    <title>Overriding a method with a raw type, want to use generics in the override</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/07/10/OverridingAMethodWithARawTypeWantToUseGenericsInTheOverride.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,fa7082c5-62f1-498a-8b3b-2407ff5e16c4.aspx</id>
    <published>2008-07-10T17:58:31.484375+03:00</published>
    <updated>2008-07-10T18:20:41.984375+03:00</updated>
    <category term="Sucks" label="Sucks" scheme="http://mihail.stoynov.com/blog/CategoryView,category,Sucks.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">I want to override that <a href="http://www.hibernate.org/hib_docs/v3/api/org/hibernate/Interceptor.html#postFlush%28java.util.Iterator%29">api.org.hibernate.Interceptor#postFlush(java.util.Iterator)</a><br />
I want to do it like that:<br /><div style="border: thin solid ; margin-left: 30px; background-color: rgb(220, 220, 220);"><b><font face="Courier New">@Override<br />
public void postFlush( Iterator&lt;?&gt; entities ) throws CallbackException {...}</font></b></div>
Does not work - the method is not with the same signature ?!<br /><br />
Then:<br /><div style="border: thin solid ; margin-left: 30px; background-color: rgb(220, 220, 220);"><b><font face="Courier New">@Override<br />
public void postFlush( Iterator&lt;Object&gt; entities ) throws CallbackException
{...}</font></b></div>
Does not work - the method is not with the same signature ?! WTF?<br /><br />
The only thing that does work (without a silly warning) is that:<div style="border: thin solid ; margin-left: 30px; background-color: rgb(220, 220, 220);"><b><font face="Courier New">@Override<br /></font><font face="Courier New">public void postFlush( @SuppressWarnings( "unchecked"
) Iterator entities ) throws CallbackException {</font></b></div><br /><br />
Why?!!<br /><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=fa7082c5-62f1-498a-8b3b-2407ff5e16c4" /></div>
    </content>
  </entry>
  <entry>
    <title>Iterating over iterator contents with a for loop</title>
    <link rel="alternate" type="text/html" href="http://mihail.stoynov.com/blog/2008/07/10/IteratingOverIteratorContentsWithAForLoop.aspx" />
    <id>http://mihail.stoynov.com/blog/PermaLink,guid,b9be3068-c963-4fc2-aa9c-8bf413de744a.aspx</id>
    <published>2008-07-10T17:15:57.84375+03:00</published>
    <updated>2008-07-10T17:58:23.15625+03:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">How an iterator works:<br /><br /><div style="border: thin solid ; margin-left: 30px; background-color: rgb(220, 220, 220);"><b><font face="Courier New">Iterator i = collection.iterator();</font></b><br /><b><font face="Courier New">while( i.hasNext() ) {<br /><font color="#ff0000"> Object o = i.next();</font><br />
 //do stuff<br />
} </font></b></div><br />
Well, I want to move the red line in the loop init, so it would not mingle with the
loop body where only business logic would reside.<br /><br />
Unfortunately that cannot happen. A <b><font color="#800080" face="Courier New">for</font></b> loop
first inits the data, then checks the condition. With an iterator one has to first
check if there are elements, then to get them.<br /><br />
And why would someone give you an iterator instead of a collection, my mind cannot
understand. (<a href="http://www.hibernate.org/hib_docs/v3/api/org/hibernate/Interceptor.html#postFlush%28java.util.Iterator%29">org.hibernate.Interceptor#postFlush(java.util.Iterator)</a>)<br /><img width="0" height="0" src="http://mihail.stoynov.com/blog/aggbug.ashx?id=b9be3068-c963-4fc2-aa9c-8bf413de744a" /></div>
    </content>
  </entry>
</feed>