olexiy prokhorenko’s blog

olexiy prokhorenko’s blog

Olexiy Prokhorenko  //  I wear many hats and like different things. Dream and evolve, explore what else I can do. I want to build something nice.

More about me you can find on my profile page. You can follow me on Twitter @alexeypro or connect with me on LinkedIn. Do you know me personally? Help me improve, rate my skills on PlusRated.

My interests: Mobile and Web, Technology, Entrepreneurship, Startups, Business, User Experience and Human Interfaces, Lean and Agile Methodologies, Self-improvement.

Jun 24 / 12:33pm

Camera on iPhone 4 #iphone

I am no expert, but so far, iphone's camera is THE best one I saw on
mobile devices. Very very nice.

Filed under  //  apple   camera   iphone   iphone 4   quality  

Posted from Sherman Oaks, CA

Comments (0)

Mar 17 / 10:14am

My thoughts on iPhone's multitasking "issue" #iphone #apple #ipad

Couple last days I've been playing with SDK and find it really a nice tool. It restricts at many point, but well, it still gives you quite some stuff which you can sucessfully and reliably use and build your apps.

Frankly speaking, after and while using Blackberry I was pretty annoyed with the fact (exactly the *fact*) that there is no multitasking. It's just our brain, used to the fact that it should be there, complains and grumbles.

Reality check? Well, I do use background apps on Blackberry. IM (beejive). Twitter. Uh-oh. That should be it. You?
The fact that you have N number of applications running in the background does not give you anything. They are just there. Slow sleeping or just doing nothing, keep their chunk of memory and loading your tiny CPU to keep them alive.

So what really happens when you SWITCH to application? (Which is in background). It "wakes up", shows off itself, same data, same status, everything the same.
Hold on - but isn't that exactly what iPhone allow all applications to implement?! You've got an event before shutdown, even after launch, you can save and load all the info about application status you ever would want; restore it properly, restore the UI (views) - here we go - your app will look like it never left the stage, was just hiding in "virtual ;-) background".
I was able to implement basics of it easily, within an hour, being a complete newbie to Objective-C and iPhone SDK. And it works. So, now, I assume, all those developers of all those apps which didn't do that, but instead think that "multitasking saves everybody" - just ignorant of existing functionality. Actually, I think that multitasking is a much more complex and painful thing to properly develop and debug -- than just simple state saving/loading.

There are exclusions always, certainly, in this case, too. Sometimes you may want to run background music app and you want to browse Web at the same time. That's true. Apple putted their foot down and decided it's only their iPod app has this priveledge.
Also, you may want to open Web page and while it is loading, switch to email, and then may be twitter, and then to Web page - which you expect to be loaded already. True. Valid case. Reality check? Does not work that well on Blackberries, neither on Androids. With all the multitasking. You are on *mobile* device, with only EDGE or 3G connection (usually), you have small chunk of memory and CPU isn't big. All that leads to the fact that page probably is not loaded, or half-loaded by the time you switched back. True multitasking? Yeah... NO.

So, this is just my personal take on this problem. Again, I was kind of dissapointed myself with the fact that "no multitasking" on those pretty iPhones and iPads, but by given a look from the different angle, and from the perspective of real use - I do not care that much, really. I have no doubt that once mobile devices catch up a little bit more with CPU speeds and energy use - magically Apple will bring multitasking on board. Till then.. I am fine without it. ;-)

Filed under  //  apple   development   ipad   iphone   multitasking  

Comments (2)

Nov 12 / 8:29pm

Snow Leopard gives me a headache! (Ruby/MySQL/DBI)

So, needed to create tiny Ruby script which will work with MySQL via DBI. It almost ate my brain. Didn't want to work! But I can swear that it did work before (until I upgraded to Snow Leopard!). Found this link http://freaking.hilbrink.org/?p=7 and it happened to be my problem:

sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config

So easy and stupid :-(
Works now.

Filed under  //  apple   development   mac   mysql   ruby  

Comments (0)

Oct 18 / 12:18pm

Blackberry Bold, Macbook Air - tethering on AT&T

Click here to download:
BlackBerry_3G_CID1 (7 KB)

Apparently, this thing works incredible easy. Easy to setup, easy to use.

I would suggest to read this thread The How To: To Mac Tethering: Your Problems Solved (http://forums.crackberry.com/f62/how-mac-tethering-your-problems-solved-260401/) on Crackberry, or may own experience is right here:

So, I've been using:

Blackberry Bold 9000 AT&T (4.6.0.297 on 4.0.0.247 platform)
Snow Leopard (10.6.1) on Macbook Air

Steps are the following:

 1. on Mac: turn on Bluetooth
 2. on BB: Setup -> Setup Bluetooth -> ...
 3. on BB: set device name for pairing, click OK, then Listen, it will start waiting for connection
 4. on Mac: System Preferences -> Bluetooth -> Setup new device -> ...
 5. on Mac: choose your mobile phone name, click Continue
 6. on BB: enter passkey which will be on your Mac screen, click Enter
 7. on BB: choose Yes, and check off Do not ask again
 8. on Mac: Bluetooth Mobile Phone setup screen will ask for data
 9. on Mac: Vendor = Other
10. on Mac: Model = Blackberry 3G CID1
11. on Mac: Check off Enable error correction and compression in modem
12. on Mac: Dial mode = Wait for dial tone before dialing
13. on Mac: Dialing = Tone
14. on Mac: Sound = On
15. on Mac: Username = wap@cingulargprs.com
16. on Mac: Password = CINGULAR1
17. on Mac: APN = wap.cingular
18. on Mac: Click Continue
19. Enjoy tethering - Connect Bluetooth DUN and that's it.

It's not 1-2-3, but it's fairly easy.

Before starting - you need to unzip this archive into /Libary/Modem Scripts/ or you will not have proper modem script for the Blackberry Bold.

Filed under  //  apple   blackberry   mac   tethering  

Comments (0)

Sep 27 / 9:47pm

Quick and dirty MySQL install on Mac OS X from tgz

Just as a note to myself, how to install MySQL quick and dirty (very bad bad bad way of doing that, just very fast to make it up and running for quick coding session :-)
sudo /usr/local/mysql/scripts/mysql_install_db --user=root
sudo /usr/local/mysql/bin/mysqld_safe --user=root &

That's it, you are done, go screw you Mac OS X with such hackable installation. But, you still can do some MySQL coding. :-)
Filed under  //  apple   development   mac   mysql  

Comments (0)