Intellij IDEA and Go plugin
Wednesday, August 21st, 2013 03:39 pm GMT +2

Ever wondered where to find IDE for programming Google Go language?
Well, there are not a lot of choices out there and some of them lack pretty significant functionality, especially if you’re a newbie in Go like me.

Some popular choices include:

1. LiteIDE the only IDE targeted specifically towards Go
2. GoSublime a Sublime Text plugin

I’ve tried both of them and found out that both of them lack Go to declaration feature, which is crucual in the process of digging around new code. On top of that LiteIDE requires installation of gocode daemon for autocompletion to work fine.

As you can see usage of these IDEs requires a lot of bells and whistles to get basic functioning.


However there’s a third option which I’m going to talk about in this post: Google Go language plugin for IntelliJ Idea

It covers two of my initial requirements for Go IDE:

  1. Go to declaration feature, i.e. you may click on any declaration and go check how it’s implemented under the hood
  2. Autocompletion, that’s a huge time saver and a great helper in exploring available options

If you’re familiar with any Intellij IDEs you’ll get additional time-saving benefits too. Let’s proceed!

As of time of this writing, there’s no up-to-date binary distribution of the plugin (hence, the post:),
so we’re going to build everything from the sources.

Continue reading →

How to setup TimeMachine on a network drive with disk quota
Wednesday, October 17th, 2012 11:45 pm GMT +2

Well, once you bought your NAS or configured a dedicated PC with network drive you’ll obviously want to setup Time Machine. The problem is, once configured to backup to a networked drive your TimeMachine will eat all available space.

For those lucky ones, who shared a dedicated disk partition on their drive — there’s no problem at all. But I was not one of them. Recently, I’ve purchased a used Buffalo LS-WXL Linkstation duo inserted two new 1TB drives and configured it as a RAID0 array. As a result, almost whole 2Tb partition became available for sharing — despite how hard I tried to figure out xfs quotas on target partition, no success.

Well, there are bad and good news.

  • The good news is that you may limit your Time Machine disk quota by using something called sparse disk bundles.
  • The bad news is that you’ll need root access to your NAS in order to apply permissions hack to make it work with latest versions of Time Machine



Continue reading →

Phonegap vs. Titanium
Monday, July 2nd, 2012 03:59 pm GMT +2

For a while we’ve been spiking on different solutions to implement mobile app for our platform, and here are some of my initial thoughts on the problem.  Given that I’m too lazy and not so enthusiastic about Objective-C for iOS or Java for Android I was searching for some solution which could deliver value from both worlds with minimum initial effort.

Phonegap (hybrid approach)

 

Pros

  • Ability to develop apps in HTML5 ( means more web devices are captured)
  • Overall speed of iterative development is high (it’s almost like refreshing the page)
  • Easy to debug (remote WebKit console in Emulator)
  • It’s JavaScript!
  • Huge amount of JS-frameworks for touch devices (Sencha, iUI, jQuery mobile, iWebkit, etc) ready for use
  • Ability to make bindings to native hardware by writing Objective-C plugins
  • Good  documentation & large community

Continue reading →

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 →