Why I don’t and you shouldn’t use PIA

PIA (privateinternetaccess.com) is a fairly well established commercial VPN provider.

However after using it for some time I discovered it was not really offering the service I wanted from a VPN provider.

If you just want to bypass geo blocking then you PIA is fine, but if you actually want to secure your connection PIA is not the tool for the job.

I have since switched to using AirVPN.org

Here’s a few reasons why PIA is not suitable.

– Doesn’t use different entry and exit-IP addresses on servers to prevent notorious correlation attacks (critical problem)
– Uses proprietary software that is not free and open source (critical problem)
– No DNS servers, so leaks DNS queries, exposing the user (critical problem)
– Company operates from the USA (critical problem)
– Port forwarding system is very basic and works only on some servers
– No guarantee of an allocated bandwidth
– Security compromised for marketing reasons (they push customers to use weaker ciphers & PPTP)
– Doesn’t meet PrivacyTools.io criteria

Happy VPNing

How to disable Twitter’s new Highlights feature notification on Android

Twitter introduced a new feature called Highlights, that’s intended to help you stay informed on the most important tweets and conversations among your followers. In reality is really not very good. it’s another pointless distraction and imo it needs turning off.

Thankfully it’s quite simple to do.

Screenshot_2015-10-02-11-07-13  Screenshot_2015-10-02-11-27-45

  • Select the settings menu
  • Tap on your account name, if you have multiple, you’ll need to do this for each
  • Tap on mobile notifications
  • Scroll down the list of settings until you each Highlights, uncheck the checkbox to disable.

That’s it you’ll no longer get the Highlights notifications.

Android fix wifi hotspot and unlimited tethering without apps or root

Google released a feature with Android recently which allows your carrier or network provider to know when you’re using your phone’s internet with a tethered device, either via USB or the Wifi hotspot feature of your Android device.

Before this update the phone would just use the NAT to route traffic between the phone’s internet connection and the tethered devices. Since the update Android is separating traffic from the local phone and the tethered devices onto different virtual network interfaces within networking of the operating system, providing the network operator with a different source device for the traffic.

This update is sneaky and I’d imagine Google has been pressured into implementing this “feature” to help carriers market and charge for tethering as an extra add-on or to impose data caps. A similar feature has been employed by Apple on iOS devices for some time.

Anyway, we can stop this behaviour and get back our freedom to tether without restriction. There are a couple of ways you can achieve this, if you’re rooted there are more options. There are apps that claim to be able to do this, but it’s really not necessary. I’m going to walk through how to do this without apps and without root.

To do this you’re going to have to get your hands dirty a little with the Android developer SDK.


Ok so now we have the SDK installed and your device in developer mode we can apply the fix to enable unlimited tethering and wifi hotspot.


  1. Open a terminal or command prompt and navigate to the location where you installed the SDK, if you’re using the Android Studio bundle, here’s where it’s usually located:
    Windows: C:\Users\USERNAME\AppData\Local\Android\sdk\platform-tools
    Mac OS X: /Users/USERNAME/Library/Android/sdk/platform-tools
    Linux: ~/android-sdk-linux/platform-tools
  2. Connect your device via USB, you might see a warning like this

    Click OK to allow your computer access to your device
  3. Back in the terminal or command prompt type
    adb devices
  4. This should list your device in the output something like:
    Screenshot 2015-09-11 14.39.58
  5. So now we know your device is connected correctly we can jump onto a shell and make the fix for tethering. Type:
    adb shell
  6. Then at the prompt, enter:
    settings put global tether_dun_required 0
  7. Disconnect your device and enjoy full unlimited tethering and wifi hotspot,  your network operator no longer has the aiblity to tell if the internet traffic is coming from your device or the tethered device.

Final word

If you perform a factory reset on your device, you’ll need to follow this procedure again.
Any questions just drop a comment below.

Ventrilo Server Configuration INI explained

Ventrilo is a great little voice app, it has tons of options and it overall great quality whilst using very little bandwidth.
However the server configuration isn’t very well documented which made me a little sad when I was setting up my server.

I decided I’d go through them all, work out what they did and drop my findings here so hopefully others wont have to spend hours figured it out.

All these settings are available in the ventilo_srv.ini file as of version 3.0.3, In some places I’ve included recommendations of what you should use.

Name=Server 1

This sets the name of the server.
Rename the server to whatever you like.

Phonetic=Server 1

Ventrilo has a voice synthesizer that will read the server name.
This setting set how Ventrilo should pronounce your server’s name.


This setting determines if usernames and/or passwords are required to logon to the server.
“0” Anyone can connect (Public Server)
“1” Users much have the Global password, set below with ‘Password’
“2” Only pre-configured user accounts can connect to the server.


Allows or forbids duplicate user names.
Set to “0” to require each user to have a unique user name


This is where you set the password to access administrator rights.
It goes without saying, don’t give this to normal users.


You set the global password clients will need to connect.
Users with specific account don’t need this password


Sets the size of the TCP outbound buffers. “0” defaults to 131,072 bytes. Probably best to leave this setting as is.


Sets the size of the TCP inbound buffers, also best to leave this as it is unless you’re an advanced user.


This setting toggles diagnostics for developers, leave set at “0”.


Specifies how many seconds a client has to log in to the server before the user is disconnected.
Once logged in, the user is fine.


This setting deals with running the server as a background service.
“0” does not close handles while “1” will close handles. In most cases this should be left set to “1”


Enables or disables times stamps in console messages.
If you are interested in knowing exactly when messages occurred, set this to “1”


The interval in seconds that the server pings the client.
The default is 10, this seems a little overkill to me so I set at 30


Gives additional buffer space to outbound client data streams.
“0” sets the default to 128,000 bytes.
There’s no real need to alter this, the default allows is plenty.


Sets the number of possible sub-channels that can be created.
“0” means no limit.


Sets the depth at which channel nesting can go.
Nested sub-channels are sub-channels that retain attributes of the main channel from which they were created.
“0” sets the maximum at eight.


Limits the number of clients in a channel.
“0” sets no limit.


Enables or disables someone with administrator rights from remotely instructing the server to exit.
“0” Allows administrator to turn off the server


Sets which codec should be used by clients.
Refer to the table below to determine this setting.
Generally set to Speex (3) or GSM (0)


Quality setting for the VoiceCodec used, again refer to the table below.
This can drastically affect the bandwidth required by the server.
Total bandwidth required can be calculated using the following:
(Bytes * Number of people talking) * Number of people connected


Allows (default) or forbids voice in the lobby.


This setting determines how long, in seconds, that a client can remain connected to the server.
“0” sets no limit.

VoiceCodec   VoiceFormat   Description
0 0 GSM 6.10 (8 KHz, 16 bit) 1625 bytes/sec
0 1 GSM 6.10 (11 KHz, 16 bit) 2210 bytes/sec
0 2 GSM 6.10 (22 KHz, 16 bit) 4420 bytes/sec
0 3 GSM 6.10 (44 KHz, 16 bit) 8905 bytes/sec
1 0 DSP Group TrueSpeech (8 KHz, 16 bit) 1056 bytes/sec
2 0 Lernout & Hauspie (8 KHz, 16 bit) 600 bytes/sec
3 0 Speex (8 KHz, 16 bit, 0 Qlty) 424 bytes/sec
3 1 Speex (8 KHz, 16 bit, 1 Qlty) 620 bytes/sec
3 2 Speex (8 KHz, 16 bit, 2 Qlty) 865 bytes/sec
3 3 Speex (8 KHz, 16 bit, 3 Qlty) 1110 bytes/sec
3 4 Speex (8 KHz, 16 bit, 4 Qlty) 1110 bytes/sec
3 5 Speex (8 KHz, 16 bit, 5 Qlty) 1502 bytes/sec
3 6 Speex (8 KHz, 16 bit, 6 Qlty) 1502 bytes/sec
3 7 Speex (8 KHz, 16 bit, 7 Qlty) 1922 bytes/sec
3 8 Speex (8 KHz, 16 bit, 8 Qlty) 1922 bytes/sec
3 9 Speex (8 KHz, 16 bit, 9 Qlty) 2384 bytes/sec
3 10 Speex (8 KHz, 16 bit, 10 Qlty) 3168 bytes/sec
3 11 Speex (16 KHz, 16 bit, 0 Qlty) 620 bytes/sec
3 12 Speex (16 KHz, 16 bit, 1 Qlty) 865 bytes/sec
3 13 Speex (16 KHz, 16 bit, 2 Qlty) 1110 bytes/sec
3 14 Speex (16 KHz, 16 bit, 3 Qlty) 1355 bytes/sec
3 15 Speex (16 KHz, 16 bit, 4 Qlty) 1698 bytes/sec
3 16 Speex (16 KHz, 16 bit, 5 Qlty) 2188 bytes/sec
3 17 Speex (16 KHz, 16 bit, 6 Qlty) 2678 bytes/sec
3 18 Speex (16 KHz, 16 bit, 7 Qlty) 3070 bytes/sec
3 19 Speex (16 KHz, 16 bit, 8 Qlty) 3560 bytes/sec
3 20 Speex (16 KHz, 16 bit, 9 Qlty) 4344 bytes/sec
3 21 Speex (16 KHz, 16 bit, 10 Qlty) 5324 bytes/sec
3 22 Speex (32 KHz, 16 bit, 0 Qlty) 669 bytes/sec
3 23 Speex (32 KHz, 16 bit, 1 Qlty) 1061 bytes/sec
3 24 Speex (32 KHz, 16 bit, 2 Qlty) 1306 bytes/sec
3 25 Speex (32 KHz, 16 bit, 3 Qlty) 1551 bytes/sec
3 26 Speex (32 KHz, 16 bit, 4 Qlty) 1943 bytes/sec
3 27 Speex (32 KHz, 16 bit, 5 Qlty) 2433 bytes/sec
3 28 Speex (32 KHz, 16 bit, 6 Qlty) 2874 bytes/sec
3 29 Speex (32 KHz, 16 bit, 7 Qlty) 3266 bytes/sec
3 30 Speex (32 KHz, 16 bit, 8 Qlty) 3756 bytes/sec
3 31 Speex (32 KHz, 16 bit, 9 Qlty) 4540 bytes/sec
3 32 Speex (32 KHz, 16 bit, 10 Qlty) 5520 bytes/sec

ventrilo, server, ventrilo_srv

Steve Jobs in ASCII

Steve Jobs in ASCII

I though I’d remember Steve in my own way. In ASCII

Grab the code below. Feel free to use this wherever you like, personally I’ve added it to motd.tail.

dMMMMMMMMMMMMMMMMMMMMMNo`    `/sysyyy+++++sosys+////++/+////:-.`      .dMMMMMMMMMMMMMMMMMMMMMMMMMMMd
dMMMMMMMMMMMMMMMMMMMMN:    `-yhdddhhhyyyyhhddmmdhyo+++oooo+/:-.``      `dMMMMMMMMMMMMMMMMMMMMMMMMMMd
dMMMMMMMMMMMMMMMMMMMm-     .ohdmmdddddmdmNNNNNNmmmmhyssso++/---.``      `yMMMMMMMMMMMMMMMMMMMMMMMMMd
dMMMMMMMMMMMMMMM:`oo--.--shds/::/+ydmmNNNNNNNmdNNNNNNNmdyyysooo/-..``           /MMMMMMMMMMMMMMMMMMd
dMMMMMMMMMMMMMMM+-oso-.``ydyoss+/-::::/+ooyhhyyNmmmdys+:..-------..             hMMMMMMMMMMMMMMMMMMd
dMMMMMMMMMMMMMMMd:-..`.-+/hmhhyo+:::`.  .`.-/ymNNNd+.````.`-  `` `.-`          -MMMMMMMMMMMMMMMMMMMd
dMMMMMMMMMMMMMMMNs.`-+:+dsodmhy://hm+-.:/.-oodNMMNh/    `+s/.-:-`  `.``        :MMMMMMMMMMMMMMMMMMMd
dMMMMMMMMMMMMMMMMd/`-h+shmssddhdNNNNmdhhs+smhohMMNh/`.``/shhhyso/.`-:.``       /MMMMMMMMMMMMMMMMMMMd
dMMMMMMMMMMMMMMMMms+:os+hmmdyyyNNNNNNNmdhsdmysNNNNd/`..`-oyddddyo/+y+:.`       hMMMMMMMMMMMMMMMMMMMd
dMMMMMMMMMMMMMMMMMMydmh++shhddmmmNNNNmmmmmmNMMMMMMmo-` `-+yhdddhsoo/-`       `dMMMMMMMMMMMMMMMMMMMMd
dMMMMMMMMMMMMMMMMMMMMMMmhddyyhhosmmmNmmmmmNddh+oo+-`      `..::-:` ``` `  :MMMMMMMMMMMMMMMMMMMMMMMMd
dMMMMMMMMMMMMMMMMMMMMMMMmhysdhdyydmmdhyooyysoyo/-....      ````..` `..    sMMMMMMMMMMMMMMMMMMMMMMMMd
dMMMMMMMMMMMMMMMMMMMMMMMMdysdmdhdhdd+/:.:/o+//://.`.-`        `...`-.`   `NMMMMMMMMMMMMMMMMMMMMMMMMd
dMMMMMMMMMMMMMMMMMMMMMMMMMmshhdyhyho:.``.-:/++++//::-.`      ``+--.-.`   oMMMMMMMMMMMMMMMMMMMMMMMMMd
dMMMMMMMMMMMMMMMMMMMMMMMMMMMMMs/yy/::/o+shsyNmhhmddy/--.:oys/..             .ymMMMMMMMMMMMMMMMMMMMMd
dMMMMMMMMMMMMMMMMMMMMMMMMMMMMMm::/++/ossddysyoo+/+//...--+o+.`                `/sshdmNMMMMMMMMMMMMMd
dMMMMMMMMMMMMMMMMMMMMMMMMMMMMMh-////:+yymhhs//+-:oo/..+:/./.                        `-odmNNMMMMMMMMd
dMMMMMMMMMMMMMMMMMMMMMMMMMMMMMd`/ooo:-.-oos++oooodNm. -.-.`                              `-/oymNMMMd
dMMMMMMMMMMMMMMMMMMMMMMMMMMMNm+ `/oyoo/.``-smNNNmmhh/                                          .+ymh
dMMMMMMMMMMMMMMMMMMMMMMMMms/-`    `:ssso/.-dmNNMNNNmdo.                                            -
dMMMMMMMMMMMMMMMMMMMMNdy+`           `-:+++:sNNMMMNNNNmy:`                                          
dMMMMMMMMMMMMMMMMNNh/.                   :dNNmmNMMMMMMMNmy/`                                        
dMMMMMMMMMMMMNmy+-`                     .NNNNNNdmMMMMMMMNhso.                                      
dMMMMMMMMMNd+-                          .NNNNNNNNNMMMMMMms:o-                                      
dMMMMMNNy/.                             .sNNNNMNNmNNNNNms/:-` ..                                    
dMMNh+-                               .ydddmNNNMNdhdmmdhoo:.`  --                                  
so-`                                  sdNNNNNNNMNhsohhyyoo/.`   ``                                  
                                    ./hNNNNNMNmNms+ss+//+/:-``    `                                

Credit to aalib for possibly being the greatest gfx lib on the planet.

Running passenger with multiple different ruby versions apache nginx rvm

It’s becoming more and more of a requirement to run different apps under different versions of ruby
One one project I have needed to take the plunge with Ruby 1.9 for unicode support.

This is no big deal really because Passenger and Rails 3 are pretty stable on Ruby 1.9, however, I still have apps that need 1.8 for various reasons I wont go into.

As it stands, Passenger does not support running apps under different interpreters using the apache or nginx modules, I came across this article

I’m going to try and simplify by just giving installation instructions, but if you want a bit more in-depth info as to the reason for this process head on over to Phusion’s blog.

First of all your going to need RVM and passenger module installed on your apache/nginx instance, I’m going to assume you’ve already got this working and the reason your here is to use multiple different versions of the ruby interpreter with passenger.
NOTE: You should be using the interpreter used for the majority of your apps as the base apache or nginx passenger ruby

Lets assume we already have a working app using passenger with ruby 1.8.7 and we want to get another app running but using ruby 1.9.2

So here’s our basic configuration:

# Basic Apache configuration
PassengerRuby /home/user/.rvm/wrappers/ruby-1.8.7-p330/ruby

<VirtualHost *:80>
  ServerName foo.com
  DocumentRoot /home/user/apps/foo.com/public

<VirtualHost *:80>
  ServerName bar.com
  DocumentRoot /home/user/apps/bar.com/public
# Basic Nginx configuration
passenger_ruby /home/user/.rvm/wrappers/ruby-1.8.7-p330/ruby

server {
    listen 80;
    server_name www.foo.com;
    root /home/user/apps/foo.com/public;
    passenger_enabled on;

server {
    listen 80;
    server_name www.bar.com;
    root /home/user/apps/bar.com/public;
    passenger_enabled on;

Now lets setup bar.com so that it’s using the ruby 1.9.2 interpreter

# setup 1.9.2 and run passenger standalone
$ rvm install ruby-1.9.2 # if you don't already have it
$ rvm use 1.9.2
$ cd /home/user/apps/bar.com
$ passenger start -a -p 3000 -d

Update our web server config to use proxy pass

# Updated Apache configuration
<VirtualHost *:80>
    ServerName www.bar.com
    DocumentRoot /home/user/webapps/bar.com/public
    PassengerEnabled off
    ProxyPass /
    ProxyPassReverse /
# Updated Nginx configuration
server {
    listen 80;
    server_name www.bar.com;
    root /home/user/webapps/bar.com/public;
    location / {
        proxy_set_header Host $host;

Deploying your app, bundle and reload your apache or nginx instance.
Then point your browser to `bar.com` If you’ve followed all the steps, you’ll have foo.com using 1.8.7 and bar.com using 1.9.2

Enter to win an 8GB iPod Touch just for using twitter

AC Computer Warehouse, who sell new and refurbished laptops and offer an excellent laptop repair service.

They’re holding a contest over the summer and giving away an 8GB iPod Touch to a lucky follower on Twitter or Facebook.

To enter all you need to do is:

  • Follow them (http://www.twitter.com/accomps)
  • Retweet the following – “I’ve just entered to win an 8GB iPod Touch. Just follow @accomps and retweet http://bit.ly/win-ipod-touch”

Alternatively visit their facebook page for more info.

Ridiculously easy to enter, go over and check it out their site.

My Nectar app for Android, the story, the legal threat

This shorty story/dialog will answer questions you may have as to the sudden disappearance of ‘My Nectar’ the Android app

In January I released the ‘My Nectar’ app to give collectors of nectar points quick access to their points balance on their Android phones, the app was listed absolutely free, all my development costs were paid for out of my own pocket, aren’t I just a nice guy. The official Nectar app released in the late summer of 2010 was and still is only available for Apple’s iOS.

Whilst the app is simple, I figured it would be useful for others that regularly collect nectar points, avoiding the need to visit their bloated website, it would be nicely to quickly get information about your points balance.

Feedback after the release was mostly good, a few people complaining it didn’t do much, true but it did to everything it was supposed to, unlike plenty of other apps out there.

Early evening yesterday (16th Feb 2011), I received the following email from Alex Schajer, Head of Digital Technology at Groupe Aeroplan Inc. the Canadian parent company of Nectar

Hello Rob,

Thank you for your interest and enthusiasm in building an Nectar Android
app. We appreciate that you have spent some time developing this app but
we would ask you to please remove the app from the Android Market. There
will be an official Android app available shortly featuring all of the
functions of the iPhone version. Please bear with us whilst we go
through the final rounds of testing.

Can you please respond within the next few days to let me know that you
have removed the app from the Android Market,

Many thanks,

Alex Schajer
Head of Digital Technology

Whilst the email from Alex was fairly polite, I felt quite insulted, I was trying to do a good thing, helping their customers infact, for absolutely no financial gain of my own.

Hurt, I sent a brief reply back to Alex.

Sorry but sending this email does not show appreciation at all. I don’t see the problem?
The android market is an open free platform. I’m not doing anything illegal. The app is free and merely helping your customers get some simple information on their android phone.


After sleeping (or not sleeping) on the Alex’s email, I thought, maybe I was a little hostile with my reply so I followed up my reply with the following

Morning Alex,
I have been thinking about your email last night.
I appreciate that maybe you don’t want people to find my app over yours.

As you correctly mentioned, I have spent a considerable amount of my
personal free time producing the app to fill a hole left by the lack
of an Android app, many people have found this a simple useful tool to
quickly lookup their current points balance, I made the app out of
love for shopping and collecting points, for no personal monetary
gain, as you already know, the app is offered on the Android Market
free of charge.

I would be happy to remove the app from the Android Market and provide
you with the app’s code,
and transferring ownership of my app to you for a small token gesture from
you of 1000GBP

I look forward to hearing from you.


I reasonable request, I’d put a lot of time and effort into creating and supporting the app, I though only fair that if I was to be bullied out of the free open platform for which I’ve paid my $25 developer fee just like the next, I should be given something as a token gesture for my Love for Nectar and helping to improve their service for the Android audience they decided to neglect in the first place.

A few days passed with no reply from Alex
Then on the 21st Feb 2011, I received the following email from Jeremy Henderson-Ross, Legal Director & General Counsel at Groupe Aeroplan Inc.


It has come to my attention that you have launched a Nectar ‘app’ on the Android Market which uses the Nectar brand.

Loyalty Management UK Limited (“LMUK”) owns numerous registered trade marks for the word “Nectar” in the United Kingdom and the European Union. Details of our registered UK trade marks and CTMs are available online at the UKIPO and OHIM websites. Nectar is therefore LMUK’s brand in the loyalty programme sector and we take the protection of our brand very seriously. As a result, we take a very serious view of your app and use of the Nectar brand and consider these acts to be an infringement of our rights

In addition your app is likely to confuse people into believing that the Nectar app is registered to, operated or authorised by, or otherwise connected with LMUK. This amounts to trademark infringement and the common law tort of passing off and entitles us to commence legal proceeding for trademark infringement and/or passing off to prevent you continuing such use of the Nectar app.

These infringements of our rights are unacceptable to us. We would prefer to resolve this matter with you on an amicable basis without the need for legal proceedings. On this basis we require you to cease marketing and use of the Nectar app immediately.

In the meantime, we reserve all rights in this matter.

Kind regards

Jeremy Henderson-Ross
Legal Director & General Counsel – Groupe Aeroplan EMEA

Ok, now we’re starting to get heavy, getting their Legal Director involved. Yes I used the word Nectar in the app a trademark LMUK own. But seriously I’m not trying to compete, I haven’t started my own Loyalty scheme called nectar, I’m providing a simple app to improve their service since they don’t have an Android app of their own.

I’m don’t know much about trademarks and all that boring legal shit, I’m just a happy, normal guy, who wanted to help the people who use nectar that have an Android phone. I certainly never meant step on anyone’s toes, I’m not charging for the app, I make no revenue at all from the app, it actually costs me money :/ I mean how stupid must I be?
I really don’t see how it’s passing off, maybe If I was using their brand to sell jars of honey or something even then, their trademark only covers use for classes 9, 16, 35 updated in 2002 to include 39. None of which relate to foot products.

ramble ramble ramble…

Jeremy appeared to know little about my app, and it’s function. The app clearly states in the description and in the app’s about screen that it is a 3rd party application and in no way affiliated with Nectar and the other relevant companies.

Description on Google's Android Market
My Nectar About screen

Jeremy also appeared to have not been made aware of my previous emails to Alex.
I wrote back.

Without prejudice:

Dear Jeremy,

Thank you for your email. As you may or may not be aware, I’ve already sent an email to Alex Schajer and am still waiting for a response.

In response to your claims, if you’ve seen my app, you will be aware that it is my intention to create something that is of use to people who use your service, and certainly never to ‘pass off’ or any ‘infringement of your rights’. Any lay user of the app would be completely aware of this before and during any use of the app.

Designing and building apps is a time consuming and expensive business, and although I am not benefiting financially from this app, it has still cost me money to develop. I would be willing to remove the app from the Android Market if you were to make a small token gesture of remuneration for the effort I’ve put in to the design and build of the app to date. As I have said to Alex Schajer, if you pay me £1000 I will remove the app immediately, and will even give you the source code should you wish to use it for future development.

This token sum will bring the matter to an amicable close and we can all carry on our business as usual.

I look forward to hearing back from you.

Kind regards,


Reiterating my earlier proposal made to Alex for a small gesture as a thank you for putting my hard work and time into improving their service.

Jeremy replied swiftly


I am aware of your previous email correspondence with Alex Schajer. We absolutely reject your requirement of a payment to cease using our trade marks in breach of the intellectual property laws I detailed in my previous email. Please confirm that you are to cease use of the app immediately otherwise we will have no other option but to commence legal proceeding for trademark infringement and/or passing off – a course of action we would very much like to avoid.

Kind regards

Jeremy Henderson-Ross
Legal Director & General Counsel – Groupe Aeroplan EMEA

If course he’d like to avoid legal action, it would start to cost them money.
But what’s in it for me for bending over now?

Nothing it seems.

After much deliberation I have decided to unpublished the ‘My Nectar’ app from the Android Market, I feel like this is giving up, maybe I should have taken it further.
With hindsight I don’t have a fancy title and a large customer focused corporation supporting my efforts.

I was simply trying to do something out of the goodness of my heart for absolutely no personal gain.
As it’s the life of the ‘My Nectar’ app has come to an end very quickly, I’d like to thank everyone who downloaded ‘My Nectar’ and emailed me with feedback, good and bad, feedback helps keep apps user focused and bug free, so thanks to all of you.

Bullies never should never win, but in this case I’ve decided the bully is just too big to fight.


//As of 22 Feb 2011, the “Official” Nectar app for Android is still no where to be seen.

Override ActionMailer recipient in Rails 2 and 3 for development or testing

If your like me, you might want enable delivering of mail in development, mostly because testing email layout is a pain without actually sending the email to a real client.

In doing this you’ll probably want to avoid the possibility of emails making their way to your customers from your development machine, this can be achieved with a simple initializer to override the destination.

Rails 2.x

if Rails.env.development?
  class ActionMailer::Base
    def create_mail_with_overriding_recipients
      mail = create_mail_without_overriding_recipients
      mail.to = "mail@robaldred.co.uk"
      #mail.cc =
      #mail.bcc =
    alias_method_chain :create_mail, :overriding_recipients

Rails 3.x

if Rails.env.development?
  class OverrideMailReciptient
    def self.delivering_email(mail)
      mail.to = "mail@robaldred.co.uk"

If you prefer to use a plugin, there is one called mail_safe personally, i think it’s a little overkill.

MySQL server has gone away with Rails, Sunspot and Cucumber

When using Rails, sunspot and cucumber with a mysql test database, I received the following the MySQL server has gone away error.
After some googling a came across the `reconnect` option for database config

Using the default profile...
Sunspot server is starting...
Sunspot server took 2.72 sec. to get up and running. Let's cuke!
Mysql::Error: MySQL server has gone away: SHOW TABLES (ActiveRecord::StatementInvalid)

Solution is to add

reconnect: true

to cucumber section of your database.yml

Thanks to: http://rywalker.com/