Fix Homebrew – You have no /usr/bin/cc (Xcode)

I recently did a fresh install of OS X Lion on my Macbook Pro

I installed XCode, homebrew, and git.

After trying to install mysql via homebrew:

brew install mysql

I received this error:

Error: Failed executing: ./configure –prefix=/usr/local/Cellar/readline/6.2.2 –mandir=/usr/local/Cellar/readline/6.2.2/share/man –infodir=/usr/local/Cellar/readline/6.2.2/share/info –enable-multibyte
If `brew doctor’ does not help diagnose the issue, please report the bug:

https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue

So, I did what I was told, and ran:

brew doctor

This returned:

You have no /usr/bin/cc. This will cause numerous build issues. Please
reinstall Xcode.

But, Xcode is installed
After some googling (which if you’re reading this, you’ll notice there’s not a lot of results), I found the solution.

Xcode needs the Command line tools installed.

To do this, open Xcode, click the Xcode menu, and select preferences.
Click install next to Command line tools:

Installing Onavo removes Personal Hotspot option on Three

I tend to use the personal hotspot (tethering) feature on my iPhone every week or so (while out at meetings, it’s handy to connect laptop if there’s no wifi available)

Recently, I stumbled across Onavo

Essentially this compresses mobile data before it’s sent to your device, to reduce your data usage, and speed up your browsing etc…

I installed the app, and it creates a profile on your phone, to point your connection

It does this by installing a configuration profile that overrides your normal Carrier’s APN settings, redirecting traffic through its AWS based cloud. There, the assets are downloaded using inexpensive wired access, evaluated and compressed, before being sent on to the Carrier (in my case, Three) – compressed.

However…
After a couple of weeks of using it, I noticed my personal Hotspot option had suddenly disappeared.
I was outraged.
Immediately, I thought Three had taken it away from my package, and tweeted them accordingly…

Three assured me this wasn’t the case….

So I did some thinking, and remembered Onavo.

I uninstalled the app using this method, restarted the phone, and voila!
My personal hotspot option is back!

Seems this isn’t just limited to the Three network, nor do I seem to be the only one, according to their support page:

http://getsatisfaction.com/onavo/topics/my_personal_hotspot_configuration_has_gone

British Gas Energy Smart monitor – Screen looks strange

I recently signed up to British Gas energy smart tariff for gas and electricity, which comes with a handy meter that tells me how much electricity I’m using.

Once I’d plugged the unit in, i noticed the screen looked a little bit strange… almost, like it was flickering.

I could only detect this if i moved my eyes left or right, up or down… It was almost like the 3 colours (Red Green, and Blue) that make up the screen were refreshing somewhat slowly…

Energy Smart Meter

Energy Smart Meter - Moving - see colours "split"

Energy Smart Meter - Moving - see colours "split"

Kind of a pointless post, but I thought I’d share it anyway….

Review of nightmare with Elance provider (WebHouse)

I’ve used eLance for various outsourcing projects for a number of years.
(Great for small tasks, and an extra pair of hands until the 25th hour in a day is discovered!)

Sure, I’ve had my fair share of problems, however, all have been amicably resolved, talking with eLance and the contractor.

WebHouse
(Md. Zakir Hossain Dakua)

Recently, I had a small requirement for a WordPress theme to be slightly customised.
Unfortunately, I was heading off on holiday, so needed to outsource it, to meet my clients timescale.

I posted the job up on eLance, and had the usual 30 or so bids.

One of those, was from WebHouse (Zak D.), from Shabujbag, Dhaka, Bangladesh.
Real name – Md. Zakir Hossain Dakua.
Just in case you’ve had contact from him directly, his email address is:
zakirdaq@gmail.com

I’m usually pretty good at spotting the “bulls*t” in the initial communication (typically, they’ll just say “yes” to everything")

The fixed price work was completed, and he immediately began pressuring me to release the escrow.
He also changed the job to “complete” which meant escrow would auto-release.

Due to my holiday, I didn’t have chance to review the code, was just able to check the basic functionality.

Later, when more data had been added, it was apparent there was a problem with his code.
I asked to get him to fix his own bugs, and here is where the problems started.

A contractor can create a job on your behalf!

On eLance a contractor can create a paid hourly job on your behalf, without you authorising it!
This is what happened. I asked him repeatedly to tell me how long in hours, it would take (and therefore how much) Obviously I got no reply.

WebHouse offered no reply, until he submitted a time-sheet for over 7 hours (at $20/hour) to fix these bugs.

I rejected this, however, but, was on vacation when the “review period” deadline was.

I had emailed eLance to state that I do not authorise them to charge my card.
Heck, I even cancelled my credit card before I went!

However, eLance ignored all of this, and charged my card anyway (damn pre-authorisation must of kicked in!)

Since then, I’ve had nothing but bad news from eLance support who refuse to help.

But why should they? They get their 10% commission from the $150 odd I have been scammed by.
They claim that their “WorkView” process is bullet proof, and that I could review the screenshots… etc…
This is all true, but the work he was doing, was to fix bugs he had created, on work that had already been paid for!

WebHouse has been very unhelpful, right from the start of my dispute.
Stating that the work was done, it was quality work etc…
He even started getting rude, calling me “mad” for doubting the quality of his work (all in hard to decipher, broken English)

I’m using this blog post to drive home how poor his work really was!

I just hope a prospective client stumbles across this post, and choses to decline his bid, before being let down in a similar way to me!

Resolution

Elance finally agreed (after many emails) that there was a problem with the way WebHouse worked.
Although, unfortunately, they wouldn’t take the money back off him, they did credit me with $75.

So, moral of the story, I guess:
Don’t use eLance WorkView, or eLance at all for that matter!
I’ve since moved to oDesk. Far more reliable.

Carplan – Kleen Air review

I have a BMW 330d (E46 – 2005)
About a year ago, I noticed that if I turned off the Aircon (but left the fan running), a musty, damp smell would seep through the vents, filling the car with unpleasant aroma.

This meant that I either had to have the Aircon running all the time, or be too hot.

After some google searching of similar problems, I bought a can of Carplan Kleen Air from eBay (£6.95 delivered)

Following the simple instructions on the can, I left the can discharging for around 10-15 minutes, with the aircon on re-circulate.
After this time, I took the (now empty) can out, and turned the aircon off.

Driving home later, I noticed that the once damp, musty smell had almost disappeared!

I think I’ll repeat the process once more (buying another can soon) just to get rid of the last of the smells.

Update

A couple of weeks later, the smell is still better than it once was, however is returning.
Will repeat the process at the end of the summer, and see how it goes then!