Disappointment of android

Few weeks ago I bought a brand new Sony Ericsson Xperia X10 mini pro (what a name). And I am disappointed in it. I thought 2.1 version would make some difference, but it does not. It is better, but still not good enough. And even getting the actual 2.1 update was big times fail.

Key points:

  1. Battery. It is a fu..ing disaster. Today I actually tried to turn on what I would like to use everyday. It last 6 hours before battery was empty. 6 fu..king hours. It is called a mobile phone, not desktop PC. I guess turning off skype would last some 4 hours more, but still. 10 hours (without wifi and gps turned on)? iPhone 3G with push gmail did hold up to two days. When I turn off every part i can, it lasts only for a day, if I use it little more actively I charge it twice a day. Playing angry birds increased it to 3-4 times a day, last rounds I played plugged in. Charger cable now is like …
more ...

Multilingual websites

Another topic I wanted to cover today is international websites.

When we are talking about translating content into another languages in general we have to choose between two models:

  • Content of the website is mirrored in each language or
  • Each language have their specific website structure and contents

Both of models have their pros and cons and of course there can be some adoptions of both of them. This post is more about the second one.

I tried to find some good solution to create multilingual website and found nothing useful. Then I tried to find some plugin for wordpress, because the site, that needed translation is already on it. I found WPMU . But it somehow doesn’t felt right to use it. It does too much altering of database and I can only imagine how much action hooks it has. You see, I like simple things out of the box, I don’t like to hack things around, creating a big mess doing so. Although, it doesn’t goes along with my last post, sometimes you have to choose …

more ...

Hacking of the wordpress

Some weeks ago one of the web servers started to fail. The website showed gateway timeout errors. Restarting all three services (nginx, mysql and php-fpm) did the trick for some days and then it started again. So I was wondering, what the .. ? After some research I found out that each php-fpm process takes 100 or more MB of memory and there were, well some 5 or 6 processes. At some point web server started to use a swap space and of course became unavailable. Disabling of all the extensions, I had added to php, made no changes, so it should be website it self. Disabling of some wordpress plugins made it a bit better and made me wonder.

Recently I discovered a really nice tool from Facebook - XHProf. It is something similar to webgrind, just more cooler. It shows information about called functions, memory consumptions, cpu execution times, etc.

So I thought lets take a wordpress and put it under XHProf. It just blow my mind away. It made somewhere around 70 000 function calls. Oh yeah baby.. Today I …

more ...


MongoDB startup scripts

Today I had to put a site on production server that uses mongodb. It included installing of mongodb it self. MongoDB comes as a binary download and currently is not a part of ubuntu distribution. It also does not comes with a startup script with it. I searched over google and found some not very good examples, so I decided to create it from ubuntu nginx startup script. As this was already third or fourth time I do this, I thought I should place it somewhere so I don't have to do it again. Here it is on github: https://github.com/gintsmurans/mongodb-startup-scripts

You are welcome to fork it and add other distribution startup scripts and also suggest changes to ubuntu script.

more ...


SX 210 IS

So I got my SX 210 IS today. I am not a good writer, so I just put good and bad things in lists.

Pros

  1. Macro
  2. Optical zoom and image stabilizer
  3. Body build
  4. Scroll button
  5. Focusing is fast
  6. Large buttons
  7. Manual controls are nice plus

Cons

  1. A lot of noise - I'm used to 400D :)
  2. Flash pop ups and I have no idea how to stop it from doing it, I mean I have to look for it in google
  3. Zoom button is a bit strange and somehow interfere if you want it to put in a small bag for camera
  4. Noisy zooming - in taken movie I can clearly hear it

This is just for now. I have to try it at daylight, I guess quality will be much better even considering ISO 80. 400D lowest is 100.

Really tired .. good night...

Img_0023 Img_0022 Img_0021 Img_0020 Img_0019 Img_0017 Img_0016 Img_0014 Img_0012 [See the full gallery on Posterous]19

more ...