Preparing AdHoc distribution in Titanium Mobile
Tuesday, February 14th, 2012 06:39 pm GMT +2

Appcelerator Titanium is a very promising technology which allows you to write native mobile applications in Javascript for both iPhone & Android.

After playing around a bit with Titanium Mobile, I decided to showcase technology strengths to our stakeholders, particularly by letting them use KitchenSink demo for iOS.

In order to distribute iOS application into real hardware you’ll have to pass through a bunch of  Apple’s obstacles including:

  • Registering as an apple developer & getting valid certificate
  • Registering your app ID
  • Creating provisioning profile for specific iPhone UDIDs
  • Mess around with certificates/private keys to properly sign your application

It turns out that it’s not that easy to produce valid AdHoc distribution of your iOS app in Titanium, in this post I’m going to show you how to do it.

 

Continue reading →

Iphone4 hardware reset
Tuesday, December 6th, 2011 06:22 pm GMT +2

Recently, by trying to jailbreak my iPhone4,  I’ve been playing around with DFU/recovery modes — switching my phone back and forth.

Suddenly, phone just stopped working at all. None of the soft reset combinations worked. I tried for several hours trying to make iphone alive again, but still no result.

The first sign that you’ll need hardware reset is that your iDevice is not recognized by computer at all, no matter what type of OS you’re using. I’ve tried connecting it to Mac/Windows7, and iTunes, as well as other jailbreaking software didn’t see my phone.

Continue reading →

Installing OpenVZ on Amazon EC2
Thursday, December 1st, 2011 03:49 pm GMT +2

Imagine, that your system is pretty complicated and consists of a number of components, each deployed into separate machine.  For development & testing needs it’s always too costly to keep up & running all these machines.  It’s not that as easy to make modification into your system structure, i.e. adding new machines with different roles, etc.

One solution is to virtualize all your stuff & isolate environment of each component.  An easy way would be to buy a hardware & setup hardware virtualization such as XEN for instance, but there is more popular approach — using Amazon EC2 cloud services.

In this post I’m going to show you how to setup OpenVZ virtualization on Amazon EC2 node (which, actually itself is virtualized XEN node)

We’re going to use as a base a CentOS 5.6 Amazon image with pv-grub enabled (this is required to be able to boot into custom kernel)

Continue reading →

Setting up NGINX SSL reverse proxy for Tomcat
Friday, November 25th, 2011 03:39 pm GMT +2

Setting up Tomcat in some cases can be pain in the ass, especially when your application is pretty complex, in terms of large number of upstream servers which you all want to proxy via SSL.

In my case, I was playing around with Shindig — an OpenSocial container, which itself is a Java servlet delivered via Apache Tomcat server.

 

 

The goal was to reverse proxy Shindig through SSL, i.e. it should be able to access it via

https://localhost/gadgets/

with localhost being served by Nginx.

Continue reading →

Why GWT?
Monday, October 10th, 2011 01:35 pm GMT +2


GWT is a set of tools which allows you to write javascript code in java language. That is, to avoid confusion, GWT does not have a lot in common with tons of existing Java technology stacks out there.

It is designed in a such way that backing your javascript application by server build on top of Java stack becomes a huge advantage. However, it does not mean that you can’t build GWT apps backed by PHP/Python/Ruby servers which might be more lightweight solution (both from technology & business points of view).

Continue reading →