Plight of the Zombie
Plight of the ZombieWe are tired of all of these zombie games designed for those apathetic people who just want to kill poor, innocent zombies all the time. They’re just hungry!
Plight of the Zombie features:
+ Play over 30 deliciously brainy puzzles
+ More levels being offered after release
+ Be one with your inner zombie as you nom on yummy brains
+ Support a savory cause by helping end zombie hunger
+ Appetizing store with plenty of tasteful accessories for your zombies

Continue reading

The Translator HD
The Translator HDWith Translator, you can translate any text between 45 world languages. All you have to do is select your source and target languages, type your text and click on the translation button. It’s as simple as that.
You don’t even have to type your text. Just speak and your speech will be converted into text and translated instantly.
You can send your translation via Email or SMS or share it on Facebook or Twitter from inside the app.
If you need to communicate in a foreign language you don’t speak, then this app IS DEFINITELY FOR YOU.
So, in a nutshell, you can do the following:
✔ Translate your text in the language of your choice.
✔ Send your translation as a message or email.
✔ Share your translation on Twitter or Facebook.
✔ Copy your translation into other apps on your iPhone.

Continue reading

Today I had strange issue – I wrote some parsing code using BeautifulSoup 4.x which worked on localhost (in Windows environment), then uploaded to Appengine, and when parsing always got empty list instead of items. After hours of testing finally found that on GAE only BeautifulSoup 3.x works stable, doesn’t matters if you are using python 2.5 or 2.7.

So switched back to 3.2.1 and now got results again.

I faced with such problem: had one upload field for one file in my Zend_Form, and few checkboxes for choosing file destination. After form is submitted, this one file should be uploaded to each locations checked in form. So first idea was to loop through checked checkboxes, in each iteration set:

then do:

and it should be done, but its not. Problem is in

which is called BEFORE loop, and which can’t be modified INSIDE loop. After each receive() file is marked as already received and is not processed again. My solution was not state-of-art but works: files are received BEFORE checkbox loop, added to array, then loop is done and each file is copied where it should be. It looks this way:

 

It’s quite easy if you know where to start. There are two ways, you can use UILabel or NSString. With UILabel you can control width and height of rendered texture, also you have words wrap and text aligning.

So step by step:
1. first we need our UILabel, in CGRectMake we are setting our text size (rectangle)
2. then we need our text to display, also font using UIFont class
3. setting text color is also easy, but then comes little trick – you can use “clearColor” with background to make it transparent
4. next thing is to start new image context with UIGraphicsBeginImageContext
5. next 2 line are important if you don’t want your text to be vertically flipped (third parameter in CGContextTranslateCTM is our UILabel height)
6. then we need to render our label using renderInContext
7. and finally we have ready to use texture using UIImage