Some tabs
Some of them are opened all the time (e-mail, blog, etc), some are samples and forums about objective-c and iphone sdk stuff. Some are left open to read them later.
more ...Some of them are opened all the time (e-mail, blog, etc), some are samples and forums about objective-c and iphone sdk stuff. Some are left open to read them later.
more ...Time to time I post latest updates on my life. I don't think I'm a good writer, but I hope these posts will be available when I will be old, so I can remember this all much easier. (I am planning to write my biography at some point:))
I actually started this post some month ago, but it stuck somewhere between "have no time to write it" and "have no inspiration to write it". What is happening lately?
As you already know it I almost burned my MacBook down. It was on Halloween evening, coincidence? :)
Louise now are 10 months old. She is so gorgeous, although it seems, that she will be very stubborn girl. It is actually not a bad thing, just have to direct hers stubbornness into right direction. Now she have 5 teeth. She gets very serious when exploring things. She is so cute when she is so serious. Also new words and expressions are jumping out every week. It is a great thing watching her grow up.
In professional area I have developed my first iPhone …
more ...This is also not a new one, but it is also nice made.
more ...I know, this is nothing new, but it is inspiring.
more ...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:
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:
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 ...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 ...This was done by Halloween candle. That was one evil candle...
more ...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 ...