Monday, January 2, 2012

GT5 freezing problem - fixed

I just bought PS3 320GB version and Gran Turismo 5 for Christmas. I played 2 days without any problems, but suddenly some menus stopped working.

Soon I was not able to play anything, the game just froze to different places, never finished loading for races or did not even go to "arcade" or "gt" mode menus.

I removed the game datas and loaded the updates again. With my 1 MB connection, it took 9 hours to download 12 updates! And what was the result? I did not work.

So I removed the game data again AND also the game save data. Yes, I lost my game progress, but I was not able to play anyway, so... I called my ISP and upgraded my internet connection to 10 MB.

Then I started the game again, downloaded updates (this time it took 55 minutes!) and finally started the game. The game started and has been running okay for now.

My conclusion is that the game save got corrupted... It would not be too hard to create some kind of check sum etc to see if the game save is valid or not...

So, the solution that might work also for you:
1. delete game data
2. delete game save
3. start game to upload updates
4. start game to create new game save

Friday, December 9, 2011

QT Linguist does not show plurals : solution

I have been using QT Linguist for a large software project. I have had a need to include translatable texts that are not yet used in the code itself.

For including texts for translation, QT Linguist manual suggests to use QT_TR_NOOP or QT_TRANSLATE_NOOP.

For some reason, I was unable to see plurals when editing texts in QT linguist. It took me few hours, but I found out that when using QT_TR_NOOP or QT_TRANSLATE_NOOP macros, the plurals will not be generated when running "lupdate" command.

So, instead of using:
QT_TR_NOOP("You got %n hellos");
you need to use to
tr("You got %n hellos");
get the singular and plural inputs to be shown in QT Linguist.

That pretty much destroys the idea for the macros... This might be version and/or language specific issue, but if you encounter this problem, try to change the macros to actual tr()-calls.

Wednesday, November 30, 2011

Mercurial answers remote:ssl required (simple mistake!)

Today I got my new laptop at work finally set up and running.

I made some changes to my C/C++ code and tried to push the changes to mercurial repository using Tortoise HG client. But the server just responded:
pushing to http://mercurial.company.com/code/hg/username/project
searching for changes
24 changesets found
remote: ssl required

Well, that was something I did not expect... 

I did found only irrelevant information from the web, and finally asked help from my colleague. He answered briefly, "Are you using ssh connection?".

Of course! That was it. I just needed to change the protocol in my repository address from http to ssh... Sometimes it is difficult to see obvious problem.

So, before doing any changes to your Apache or Mercurial server, check your address... :)

Saturday, October 22, 2011

Bosch dishwasher does not take water : solution

I have a Bosch dishwasher, model SGU47M05SK, which suddenly stopped taking water in. It goes through the wash cycle in normal time, but without water. As suggested in several internet tips, I poured water inside the dishwasher manually, which should "wake up" the water intake. However, the water pump removed the water within seconds after start, but did not continue taking water in by itself.  

The solution that worked in my case (this is also described in the user's manual):
1. Unplug the dishwasher's power cord
2. Close water
3. Open water connector to Aquastop device, and remove grains of sand or rust from the two filters inside the connector
4. Open water
5. Plug back the dishwasher's power cord
6. Start the dishwasher

Wednesday, October 12, 2011

Notched music therapy with Winamp

Notched music therapy is a therapy that reduces tinnitus sound, specifically if the tinnitus sound is tonal with one distinct tone. Music therapy requires hearing, but apparently (?) slight hearing loss does not affect to the outcome.

The notched music therapy in a nutshell: Listening to music, where the frequencies matching your tinnitus frequencies have been removed, may reduce the tinnitus sound. The positive effect becomes measurable after months of regular therapy.

You can download the original article from http://www.tinnitusmusiclab.com/downloads/tinnitusnotchedmusic.pdf.

Notched music therapy at home


These instructions apply to Windows machines only.

What you need to do:

1. Find out what is the frequency of your tinnitus sound
2. Select relaxing music of your choice (classical, natural sounds etc)
3. Remove tinnitus frequencies from your music
4. Start listening to the music regularly from 1 to 3 hours every day

1. Finding out the tinnitus frequency

1. Download application capable of producing tones from different frequencies, like Sinegen (Download from Tucows)
2. Put on your headphones, make sure the volume is at minimal level!
3. Start listening to tones, keep your eyes closed and use keyboard keys up and down to change the frequency
4. Adjust the frquency and volume until you think they match to your tinnitus. This may be very difficult! You can try to match your tinnitus sound on several days, to make sure you have got it right, or you can be relatively sure you have found the frequency at least "near" the tinnitus sound.

Sinegen screen capture

 2. Select relaxing music

You should listen to relaxing music, as the relaxation reduces stress and anxiety, and that way reduces also the effect of tinnitus in your life!

I personally like to listen to Asian meditation music, which is very calm and relaxing. You can find a lot of samples from this kind of music from Youtube.com (link performs search).

Shoutcast.com has a lot of internet radios with this kind of "meditation" music, and you can listen to these radios with Winamp! See the stations with this search: shoutcast, meditation.


3. Remove tinnitus frequencies from your music

1. Download Winamp music player
2. Download Winamp plugin: Equalizer v1.6
3. Install Winamp and Equalizer plugin
4. Open your favorite internet radio
5. Open Equalizer plugin visualization
6. Use your mouse to remove the tinnitus frequencies from the music
7. Listen to the notched music, 1 to 3 hours each day 

What frequencies to remove?

The paper says: "By means of the target notch modification, the frequency band of one octave width centered at the individual tinnitus frequency was removed from the music energy spectrum."

I interpret this as follows: The tinnitus frequency (f) is at center for octave starting from f1 and ending at f2. We can calculate the starting frequency, knowing from the definition of octave that the end frequency is twice the starting frequency,
f2 = 2*f1. 
The center frequency is then at
f = f1 + ((f2-f1) / 2)
And we knew that f2 = 2*f1, so when we substitute f2, we will have
f = f1+((2*f1-f1)/2).
Multiplying with 2, we end up
2*f = 2*f1+2*f1-f1, 
further
2*f = 3*f1. 
Solving the starting frequency f1 is then
f1 = 2*f / 3. 
And the end frequency is 
f2 = 2*f1

Example: in my case the tinnitus frequency is 6600 Hz. Putting that to equation f1 = 2*f/3, we have f1 = 2*6600/3, which results f1 = 4400 Hz. And we knew f2 = 2*f1, so f2 = 2*4400 Hz = 8800 Hz. Thus personally I need to remove frequencies between 4400 Hz and 8800 Hz.


Winamp with Equalizer v1.6. Here I have removed frequencies around my tinnitus tone (approx. 6600 Hz). Image showing frequencies removed almost completely between 4600 Hz - 10 000 Hz.

Friday, October 7, 2011

How many seats you can have in a bicycle?

You can have at least three seats in a bicycle, apparently!


Tuesday, September 27, 2011

90's techno and tinnitus

I remember when I took this poster off from the venue wall. It was early Saturday morning 10th July 1993. The "raves" had just ended at 7 am and my ears were ringing like a kettle.


That was the first time I realized I may do damage to my ears with too loud music. The ringing eventually faded away almost completely (in a month), but after that incident, in total silence, I was always able to hear a faint ringing sound inside my head.

From that day, I used ear plugs every time when I went to the bars or clubs. However, in February 2008, I was in Barcelona attending to a cocktail party, when suddenly a band started to play. I reached to my pocket to get my ear plugs, but couldn't find any. I thought I could stay for a moment anyway, and continued to mingle and have some drinks.

After 30 minutes or so I decided I have had enough noise, and left the building. There, while standing in a warm Spanish evening in a taxi line, I heard the ringing again. I was slightly worried when I heard the ringing sound when going to sleep. But I was really worried when I woke up next morning, and the ringing was still there!

I will be posting more tinnitus related texts soon. For example what are the tricks I use to cope with intrusive tinnitus.
...

Now back to the 90's again. The Typpihappo parties were great! As you can see from the poster, on Friday there were Utah Saints and the Shamen. Between the sets, a DJ group Hyperdelic Housers played their records. I remember how good The Orb's Blue Room sounded through a massive speaker set. No, wait... actually, that memory might be from 92 :P.