Win2Linux No. 1: Dual boot between Windows 7 and Fedora 15

Finally I decided to start a slow migration to Linux and I have chosen Fedora 15. There will be posts here as I figure out how to achieve in Linux equivalent of features I am used to in Windows.

In contrast to Ubuntu, Fedora does not update your Windows bootloader.  So you need to do some manual work to make it happen.There is a thorough article explaining this and you can just jump to the end of the article to find the proceadure.

WordPress troubleshooting: “Error establishing a database connection”

The podcast that I’m affiliated with (Sorayeh Podcast) went offline for a couple of hours yesterday with this error “Error establishing a database connection”. Not a nice welocme page for visitors.

Apparently this is a well-known and discussed error in wordpress society and the problem is in wordpress’ inablity to connect to the database. After a fruitless wandering on the net I came across a note that the user created for the database might have lost part of its privileges. 

So I created a new user for the database and used its credentials in wp-config.php file, and the site was back and then was the time to remove the previous user. Still have no idea about the source of the problem, maybe caused by a routine upgrade by the host but it was an exprerience to share anyway. Leave a comment if you tackled this problem in a different way.

LatXT resurrected

The technician from Dell will be in my office tomorrow (thanks to Chalmers for buying Next Business Day service on all Dell products) to replace the motherboard of my Latitude XT. This is really interesting because the only thing now left from the original laptop will be the Hard drive and the case. They changed the pen, the screen and the bluetooth module and now the motherboard. I just asked the tech support guy last time to replace the laptop with a new one for their own sake. Well, it’s happening on its own.

I’m still 5-bits old

I’m turning 31 and today my love surprised me by throwing a birthday party at our department. That was so nice. Thank you!!! You really got me this time ;)

Well, as for the presents there are on their ways. The first package is a hawkboard and a XDS100 from Innovate Software Solutions. They are really fast. the second package is a beagleboard and 22 accessories (yum yum!) from digi-key. They ship free for orders of above 65 euros. That’s gonna take a while because they don’t have the beagleboard in stock. There will be a lot to talk about in this blog about these toys. That’s the coolest birthday gift ever.

Sarajevo Diary: Day 1

Saturday, August 29, 2009

Well, now we are in fight JA405 from Gothenburg to Sarajevo. It´s a Boeing 737-400 tail numbered TC-JDH. Surprisingly, captain inroduced the flight as a Turkish Airlines flight not a BH Airlines flight. That actually answered my curiousity about a small turkih flag painted on the plane. The crew were also half turkish, half Bosnian.

It was the first time that I paid for my reserved ticket in airport. Probably they never think that a flight can be fully booked. I understood this when we encountered a not so crowded check-in desk. And when we checked in 50 minutes before the flight, the clerk mentioned on the phone that the last passengers checked in. I was getting the feeling that we are going to be in very small plane with a lot of jolts and jerks. After buying 200 euros from forex office (just in case, because we are told all major credit cards can be used in Bosnia) we headed to the gate to see that it is behind the passport control gates. Bingo, BH is not a member of schengen neither it is a member of European Union, something the consulate of BH in Stockholm mentioned regretfully when we met him for visa.
Only 33 passengers sparesly occupying 150 available seats. Well if all of them had paid just 110 dollars for this flight as I paid, they only receive around $3600 which barely covers the airport fees and fuel costs for a three-hour flight.
When I asked the crew member if the meat in our lunch is pork or not I received the answer with a Turkish accent that “It is turkey, this is Turkish airlines”. I don’t know if he was aware of the pun!
The plane landed in a very short runway with a very hard braking. It is a very small airport. You get directly from the international arrivals gate to customs and exit. That’s all. Plane landed at 1400 and we were in a taxi at 1410 including the time for collecting the luggage and passport control. That was a record.
The first thing that I noticed when we got to the airport building was the smell of cigarettes. Well, when you come from Sweden, so many places smell like that.
The taxi costs 15 euros for any place in the city. We fasten our seat belts while apparantly driver didn’t care much about his. We paid in euros but received the change in Marks (Convertible Marks is the currency here, which is roughly equal to 0.5 euros). On our way to hotel the sight of bullet-holes on the walls, tall minarets of mosques, deep contrast between old and new building kept us wondering how different this part of Europe actually is.
Our destination is Hotel Europe. A five star hotel just next to the old town in central Sarajevo. The main venue for MIE2009 conference that my love is attending is Holiday Inn. Though it also sports five stars, most reviews rated Hotel Europe higher. Well the website was more appealing and honestly the 30% discount they are currently offering is really tempting. A standard double room that normally costs 123 euros is now 86 euris where the Holiday Inn offers the same room for 111 euros. After all, this hotel is so close to central parts of the city. The hotel is generally clean and seems to be recently renovated. The room they offered was room 709. Well I knew that from the invoice they sent to me and obviously I was happy that we will be staying in seventh floor. But the fact is the seventh floor is sort of an attic and the room only had a long and narrow window on the sloping roof. Well, what you could see was the clouds and stars.
After paying a 10 marks tip to the bell boy, we immediately went down to reception asking for a better room. They showed us two rooms, with very odd views, one with windows close to the roof and another one with a window that was obscured by a wall. Well we chose the former (room 002), that sound much larger. Anyhow, it appears if you really want everything in place you have to ask for a Deluxe room. Well, it doesn’t really makes sense to me. Why should you waste your resources building some rooms that turns down the guests? A nice view would be a plus, but we are not going to spend so much time indoors.
There is both wifi and ethernet jack (both thankfully free!). There is no cables around so you should have yours if you don’t want to encounter the occasional signal loss. The connection is strange since the upload speed is 70% higher than download speed that hardly exceeds 2Mbps, but I just tested with a server in Mostar. The access points are Cisco that is promising. The speed occasionally goes down to 220kbps perhaps because of setting up two networks on the same channel 11!
There is a PC connected to the TV that you have to switch the TV input to PC to have access to it. There is a IPTV programme running on it that delivers you a wide selection of mostly european channels using VLC. Actually the concole is a 1GHz Pentium III with 256MB of RAM that couldn’t handle a fullscreen HD youtube video but IPTV application runs smoothly. There is bluetooth keyboard available and you can easily take control of the Windows XP installed on the PC and take off.

We started to explore the neigbouthood of the hotel starting from the small cafes and kebaberias (is that a real word? they just sell different kinds of kebab – cevapi – anyway) that they call “cevabdžinica”. We choose to have lunch in one of these kebaberias. The food was similar to what we call koobideh kebab in Iran but in small sausage-like pieces wrapped in one big loaf of bread.

The old town carries a nostalgic feeling. Narrow passages with cafes and stores selling crafts and antiques. A great part of town is occupied by copper crafts sellers. Really nice stuff with reasonably good price. You can also find some good leather products. ATMs are available everywhere accepting all kinds of creditcards with interface available in six european languages that only gives you weary bills.

People are generally talkative and loud (comparing to Swedish people) and the shopwoners find it hard to welcome you by a smile.

There are so many words resembling Arabic and Turkish and even Persian. We found DVDs of the Iranian series about Jesus Christ on sale in front of a mosque. Well you can see the name of actors all written in Persian.

Despite the visible traces of bullets and shell all over the city, there is a sense of freshness in the city, especially in old town. It is great to see that no matter how old or damaged a building is, it is quite likely that the balcony or the window is decorated by lots of flowers. This assures you that down inside there is a recovery going on.

We were feeling so stuffed by our really fatty lunch that we just had some milk and pastry for dinner. Actually we have to try other places to see if it is part of their cuisine to make stuff we so much fat. Actually our cevap was served by some sour cream on top.

PS: This post despite being ready by the end of Day 1, is posted late because of my struggling with a nice way of putting images in my drupal site. Well, apparently I have to forget about it being perfect and just put some stuff here.

Sarajevo Diary: Day 0

My love and I decided to turn her trip for MIE 2009 into a one-week vacation. First we realised that we need a visa for travelling to Bosnia and Herzegovina. It is not a Shengen-member country. Kind of a bummer since we thought good old relations between Iran and Bosnia during the war has at least brought Iranians a right to freely travel there. Good to know that if you are a Swede you may stay there up to three months. Another problem was that there were no website for the embassy in Stockholm to help us regarding the required documents. You need to go to a page in Ministry of Foreign Affairs, choose your country and find the contact info of the embassy of your choice.
Well, we booked a time, collected the documents and planned a one-day trip to Stockholm. The embassy was in 3rd floor of a nice old building where other floors are mostly occupied by some companies. There were two flats, one for the embassy and one for the consulate. Well when Swedes can travel easy, you need a place that accommodates occasional visa inquiries.
Amir, the consul was a nice and polite man. He turned out to be a Muslim previously working in Bosnian Embassy in Qatar. We chatted for a long time while filling four pages of application forms that according to him new pages has been recently added to the form.
We left the place when he promised to prepare the visa the same day, or otherwise send it to us by mail. You have to pay 31 euros for visa process.

I booked a two-way direct flight from Bosnia-Herzegovina Airlines between Gothenburg and Sarajevo that actually is available for a limited time mostly during summer. It came as a surprise for the travel agency that works for Chalmers. Maybe they haven’t had that airline in that index. The price is impressively low, around SEK 1600 (160 euros). The hassle is that you have to contact them and confirm your reservation, then you receive an invoice. The subject of mail is “racun”, the sender is “agencija u branilaca grada” and the body is empty. There is only a PDF that contains scan of an invoice document that provides you the account info and amount of money you should transfer all in their own language. Well you cannot buy by credit card from the site and you have to guess the relevant strange-looking e-mail among your emails, if it is not detected as a spam.

Well then it comes to accommodation that we decided to book a standard double room in Hotel Europe Sarajevo, the details of that and further comments on the hotel for the next part of the diary.

Facebook invisibility

There was a scary NPR report lately about facebook that made some of my friends think of deleting their accounts, where actually they can achieve the same effect through privacy settings. There is a whole bunch of them mentioned in this allfacebook article . You achieve total facebook invisibility almost immediately. But getting out of google cache takes some time, if not months. Just google site:facebook.com "your name"

Nontrivial disk cleanup in Windows

I have 50GB on my C: partition and last couple of days there was less than 50MB left. That was so unfortunate that Dell didn’t ship my laptop with XP pre-installed in Sweden where it was available as an option on US site. So I’m stuck with this heavy-weight Vista. The windows folder has grown to ridiculus size of 27GB! Anyway, thanks to the nice small app called SpaceSniffer I spotted these folders:
C:\Windows\SoftwareDistribution\Download with 2GB+ and
C:\Windows\System32\spool\PRINTERS with 5GB+ of precious space occupied. The former just keeps a copy of updates you have installed using automatic update, so just disabling automatic update and removing these files was enough. The latter one contains the unlucky spooled print jobs left there for some unknown reason. Stopping the spooling service, removing them and restarting the spooling service does the magic. And now I have around 7GB more available to fill. It’s curious why these options are not included in windows native disk cleanup tool. Hopefully in Windows 10 or may I say MS OS X ;)

Persian state? What?

I have never seen BBC or any other major news agency use the phrase “Persian state” instead of Iran. See the caption on this video from BBC.

11000 days

I’m 11000 days of age today, almost 6 weeks after my 30th birthday. My life was way different when I became 10000 days old. At least I wasn’t in love. Sounds romantically geeky, huh?
This page is the final place I settled to keep whatever I find interesting. The design of this page is a part of my birthday gift package from my love which also included my first real cell phone/pocket PC an HTC Touch HD. You will read a lot about my adventures with that.
This is sort of an inaugural post here, and there will be lots of random thoughts and comments on a wide range matters. If you are curious about the domain name, well, keep guessing :D