How to change your iOS Personal Hotspot name

If you wondering how to change your Personal Hotspot name on your iOS device, you basically need to change the name your device (iPhone, iPad or iPod).

In order to do it, just:

  1. On your device, go to Settings > General > About.iOS 8 About Page
  2. Tap the line that should display the name of your device and change it accordingly. Change Hotspot Name
  3. Check your Settings > Personal Hotspot settings. Done! :)

Django model Oracle BLOB update field

Today I was using Django 1.3 with an existing Oracle database and got the following Oracle error in Django Admin when trying to save a form that updates a model class that refers to a BLOB type column:

ORA-01465: invalid hex number

The afforementioned model was using a simple models.TextField that works fine to display the BLOB data (currently holding XML data). So my approach to fix this problem was to create a custom column Field for my model that extended this class models.TextField. I’ve used the following code:

class OracleBlobField(models.TextField):
    def get_placeholder(self, value, connection):
        return "UTL_RAW.CAST_TO_RAW(%s)"

With this code, your model’s SQL UPDATE will convert the String you are submitting into a raw value in Oracle that saves the data correctly.

Then on you Django Model just use it, such as:

object_blob = OracleBlobField()

Hope it helps.

How to change iPhone iOS 4.3 Personal Hotspot SSID name

iOS 4.3 HotspotGreat! iOS 4.3 is out with this new Personal Hotspot thing which enable you to share your iPhone internet connection via Wifi, to devices around you. Something some Android versions and MIFy could do it for some time now.

As usual with Apple it’s really easy to use, as to just turn it on the from the Settings app, Personal Hotspot menu.

It will start sharing your internet connection with a given password via Wifi and USB at the same time, if you have the iPhone connected to your Mac. There’s also a 3rd option to share it via Bluetooth only, as well.

iTunes iPhone Name

Although very easy to use, you can’t change the Wifi name SSID, at least on the phone (bummer..). This name is taken from your iPhone name in iTunes.

So my tip, in order to rename your Wifi SSID you need to change your iPhone Name on iTunes. Just take a look at the screenshot on the left.

Easy, now your Personal Hotspot Wifi name is renamed to whatever you want.

Canon 7D Review: An upgrade from a Canon 450D (Rebel XSi)

It’s been a month since I’ve upgraded to the new Canon 7D from a Canon 450D (Rebel XSi), so I it’s time to share a small review about it.

I am a starter passionate photographer therefore I’m orienting this post to a very simple review more focused to the user experience with the camera and not so much the ISO comparison and pixel peep you will find in many other reviews. That said, I will present you some of the features I really love in the Canon 7D that are more than worth the upgrade from a Canon 450D.

Canon 7D

The Upgrade

The Canon 450D was my very first DSRL and bought it almost on the first month it came out. I loved it and still do! But the 7D is another level.

Since every single feature from the 7D compared with the 450D was so much better, I’ve decided it was worth the upgrade. This is in fact the only reason the upgrade started to look more appealing. Comparing to the new 500D (Rebel XTi) wasn’t worth the investment just solely based on supporting video.

Together with the camera I’ve also extended the upgrade from my Slingshot 100AW to the 200AW version.

First Look

Never had the chance to hold a Canon 7D on a store. They were released recently and none of the camera shops I usually visit in Portugal had it available. Only FNAC had one in exhibition behind a store window. So I’ve extrapolated that it would much feel like the Canon 50D in terms of hand holding but probably better built.

Ordered online and received it at home early December, together with a Sandisk Extreme (60MBps) 16GB CF card and a Slingshot 200AW.

Unboxing products is always an exciting experience, and my very first contact with the camera was mind blowing: This is camera body is really rugged, extremely solid and you feel like a pro holding it. It felt like owning a crappy Dell plastic notebook and upgrade it to a sexy aluminum Macbook Pro.

Rewiring My Brain

I’ve hold the review for about a month to let my brain rewire completely to this camera. Reading and rereading the whole manual is crucial to understand what you can do with it. Works a bit differently from the Canon 450D (nothing to much), but pretty similar to the 50D.

The first improvement I had to adapt was the presence of two Dials, crutial to control Shutter Speed and Aperture very quickly.

Other one was that now those easy access features you have on the right-side of your 450D LCD (AF-Drive, WB, etc) now are controlled on the top of the camera, over the smaller 7D LCD.

After one week of shooting every day, all controls started to feel more natural and easier to use.


All features from the 450D are present on the 7D, but let me talk you about some of the best that are worth the upgrade and some that can be improved.


The Viewfinder is awesome!

The 100% coverage is great, but the thing I like most is the LCD overlay to show the focusing points and/or grid lines for better composing. On the 450D you have static focusing screens that you can manually replace to include grid lines. The 7D uses an LCD overlay that only shows the point you are focusing (configurable to show all points if you want). I really love this feature. It makes your Viewfinder cleaner and brighter.

The 921,000 dot LCD

Only this feature is almost worth the upgrade. I must say now that the 450D LCD screen sucks! It’s just bad compared the 7D one. It’s like having a HD TV in a small screen. You almost always can check that your picture is in focus just by checking the quick preview, whereas in the 450D you needed to always zoom in the picture to confirm, and even so sometimes missing the focus completely.

All buttons are completely customisable

I’ve changed the Main Dial to control the Aperture and the Quick Control Dial (the one on the right side of the LCD) to resemble the normal behaviour of the M mode in the 450D.

Several AF Modes

In the 450D you had automatic or manual selection of the focusing points. Now you can have the same but with different variations, such as the Zone AF mode. You quickly select the AF Modes with the AF-Point Selection + M-Fn buttons. There are 5 diferent AF modes: Single Point AF, Spot AF, AF point expansion, Zone AF and 19-point AF selection. I’ve been using mostly the Single Point AF and the Zone AF.

Wireless Flash control

It is possible to control your external speedlight outside of you camera to practice your strobist skills. This was something Nikon was ahead of Canon with their integrated CLS system. If you have PocketWizards sure you won’t miss this feature, but to me this was one of the main reasons for the upgrade. It can control your flash via E-TTL II, something it was really helpful this christmas for the family photos using my Speedlight 580 EX II. You can use all the features of Canon E-TTL (such as groups and ratios) or totally set it up manually. The only think you have to take into account is that you need the internal flash of the camera to be open. Beams of light is the way that Flashes talk to each other, meaning it will work if the flash is in line of site with the internal flash. However they seem to work very nicely on hidden spots if the light reaches them. Otherwise PocketWizards will always do a better work if you are on budget ;). Notice that you can configure to fire only the slave units and disable the in-camera flash.

Horizontal/Vertical focusing points – orientation linked AF point

You can have different focusing points when using horizontal or vertical shooting that you can manually register (this feature is disabled by default). Firstly I thought I could use the camera orientation sensor to automatically change the points, meaning, if I select the bottom most focusing point horizontally it would change to the bottom most focusing point when you rotate the camera to the vertical mode. No! You register two points: one horizontally, one vertically. It will remember them in both orientations. Only that! Nevertheless it is very useful.

Electronic level is nice

It was already useful in two occasions when I was setting up my tripod in weird conditions and wanted to ensure a really straight line of sight.

Camera User Settings

You can configure your Mode Dial to use C1,C2 and C3 user modes beside the normal Av, Tv, M modes and place different variations of Av, Tv or M in each of them. This is very useful for instance to create HDR’s without having to navigate in menus to enable AE Bracketing. You can have already configure in C1 preset for that, and for instance, leave C2 with Drive mode for high-speed photography configured.

Live View

The only thing that it seems improved over the 450D Live View is Face Detection. It’s more a feature to sell than really useful.

AF Micro Adjustments

Nice! You can do microfocus adjustments for your lenses to ensure you are not having any of Front/Back focusing issues for the copy of your lens. Also it has Lens Vignette correction software for each known by the firmware lens.

Silent Modes

There are 2 silent modes for this camera. Yes, the camera is bit more silent in each mode, but it might influence the 8fps it can achieve. The user manual is pretty unclear about what each one of the silent modes. I have disabled the silent mode, it’s louder (but a more professional sound) as the 450D can ever be. :)


1080p 30fps and 720p 60fps video with interchangeable lens

This is another major reason for the upgrade if you want to shoot video. I’m not trying to be a videographer here, but video is a good way to record memories more than just a single photo. That said, I’ve been shooting a lot more video than I would expect. Since I live in Portugal and TV system here is PAL I’ve setup PAL in the camera when doing first configurations. After a while I couldn’t find the 1080p 30fps and 720 60fps modes but only 25fps and 50fps versions respectively. I though my camera had some defect and started skew nervous. After some research I’ve found out that 1080p 30fps and 720p 60fps are only available with the NTSC system. So take this into account before screaming in pain as I did realizing that my camera had some sort of defect. :)

Rolling Shutter

CMOS sensors from DSLR’s suffer from a very noticeable rolling shutter effect. Specially visible if you handhold the camera with a prime lens without IS when jiggling or do a fast panning. It’s also called the jello effect. The best plugin I’ve tested is a plugin called Rolling Shutter for Adobe After Effects. This plugin minimizes this problem, works really great aside of costing about 500$ but it doesn’t do miracles. The best way I’ve found to minimize this jello effect is to use a Tripod or buy a Steadicam Merlyn, or any sort of DIY stabilizer system. Tip: Instead of handholding, try to place your camera on your fully closed tripod over your shoulder and shoot this way around camera around.

Image Stabiliser is a must have

Check out this video in Vimeo for tests using a 17-55 f2.8 with IS and without IS to see the difference. Using fast primes are really great for low light but a stabilizing system is crucial. Also when using a tripod don’t forget to disable IS as it can influence the steadiness of the shot.


HDMI output

Really useful feature for this christmas that I’ve used a lot. My family is a bit old fashion and Flickr still is a bit strange for them. Therefore plugin the camera directly to the HD TV was very nice to share some shoots with them. Also you can shoot will they laugh at your pictures :).

CompactFlash card

To my typical use of the camera, 16GB in now the standard for shooting Video + Photos. If you can buy two go ahead. 32 GB seems more than enough for a day shooting. I have the Sandisk 16GB Extreme (60MBps) and I don’t notice any lag in Video or RAW data flushing.

Conclusions and Room for Improvements

This camera is almost perfect to me (there is always room to improve :) ). Definitely worth the upgrade in every single way because it beats the 450D feature by feature, and  it does what I want.

Build quality, features and image quality are stunning for a cropped sensor camera with 18 Megapixels. If I was canon I would stick with a “only” 12 Megapixel sensor. But I understand the marketing pressure to deliver more and more megapixels. Well, it’s really useful for Sports or Nature photography with fast long lenses where cropping is king.The downside goes to the RAW filesize for being around 30 MBytes, but acceptable since disk space is now cheap.

Canon 7D ISO6400 looks equivalent to ISO1600 from the 450D, which is usable. One feature I expect Canon to implement is the ability to define a maximum ISO in the Auto ISO. I would like that my pictures won’t surpass ISO1600 in Av mode. Currently ISO3200 is the static maximum automatic ISO and cannot be changed.

Other feature it could have is an internal focus light to focus under low light conditions. Using the flash to achieve this purpose is not feasible in a strobist multi-setup flash. You can always use a flashlight to achieve the same functionality but it would a nice plus to have. (Humm, maybe I can disable the internal flash completely, never though of that :) ).

That’s it. I’m really very happy with the Canon 7D, and hope this small review helps you for your choice.

Leave feedback if you liked.

P.S: I’ve left aside all the polemic issues as some of bad body copies, miss-configured AF systems, diffraction due to smaller pixel size, front/back focusing, etc., because honestly I haven’t experience any of the problems some guys are praying. Dig into dpreview and you’ll get the whole discussion.

Usefull Links

EOS 7D: On-Camera Tutorial Videos
Cinema5D | The Forum for DSLR Filmmakers

Mac OS X Airport Internet Sharing with Ubuntu with WEP

Have you ever tried Internet Sharing in Mac OS X for Ubuntu clients, using WEP? Did it work for you at the very first time? If not this post is for you… :)

I own a 3G HSDPA internet card for my Macbook Pro and I need to share my connection to my Ubuntu laptop.

Easy, you goto System Preferences, select Sharing icon and click “Internet Sharing” for computers using Airport. If you don’t use WEP to encrypt your Wireless connection you’ll have one open Access Point to the world. So I need to use WEP to secure my network since Mac OS X Leopard does not create wireless networks with encryption other than WEP… damn!

System Preferences

Ok, lets create the wireless network and place a password. The problem with this “password” is that when you try to use Ubuntu NetworkManager it simply doesn’t work. Still don’t know why, but I believe it’s a Mac OS X problem, since my Windows box doesn’t work either.

So instead of typing a simple password, use a hexadecimal WEP key. Let’s consider you choose a WEP key in hexadecimal form 1234567890. You need to create your network in Mac OS X with the following key: $1234567890

The “$” tells Mac OS X the key is in hexadecimal and not a simple pass phrase. Hexadecimal keys must be 10 chars wide for 40bit WEP or 26 chars wide for 128bit WEP.

Ubuntu NetworkManager

Now use the same key in Ubuntu and NetworkManager but without the “$“.

If everything went fine you’ll be able to share your internet connection.

Connection Established

VMWare Fusion Airport Bridged Interface

Today I needed that my bridged interface for my Linux Virtual Machine in VMWare Fusion was bind to the Airport network card instead of the wired ethernet card. I wanted that may wireless hosts could access my VM in the wireless network from other hosts.
By the way this was an Ad-Hoc network created with Internet Sharing option in Mac OS X system preferences, so that I can share internet to my home. 

In order to VMWare Fusion start to bind your virtual bridge interfaces you need to edit the file at:

/Library/Application\ Support/VMware\ Fusion/

Locate in the file the following code:

# vmnet-bridge puts itself in background (daemon mode)
# Bridge to host network interface 'en0'.
#"$LIBDIR/vmnet-bridge" -d /var/run/ vmnet0 en0
# Bridge to the primary host network interface (which can change over time).
"$LIBDIR/vmnet-bridge" -d /var/run/ vmnet0 ''

And change to this:

# vmnet-bridge puts itself in background (daemon mode)
# Bridge to host network interface 'en0'.
"$LIBDIR/vmnet-bridge" -d /var/run/ vmnet0 en1
# Bridge to the primary host network interface (which can change over time).
# "$LIBDIR/vmnet-bridge" -d /var/run/ vmnet0 ''

Notice I’ve change the en0 interface (the wired NIC) to en1 (the Airport).

Restart VMWare services, including vmnet-bridge by issuing the following command:

sudo /Library/Application\ Support/VMware\ Fusion/ --restart

Yeahh.. Now my VM discovered an IP address on the wireless network. (DHCP was running on the Airport interface since I was using Internet Sharing in Mac OS X Leopard).

Git plus Perl 5.10 with MacPorts on Mac OS X Leopard

So today I’ve been struggling with MacPorts in order install Git with Perl 5.10 and not perl 5.8 (since I have already installed Perl 5.10 and I don’t want two different version of Perl in my system). After reading something about it I came up with a simple solution by overriding the Portfile from the Macports installation. Its easy as:

1. Edit your /opt/local/etc/macports/sources.conf and place the following line on top of the file:

file:///Users/< your username here >/.ports/ [nosync]

this will make “.ports” directory the local repository for the MacPorts.

2. Create directory structure for “git-core” package:

$ mkdir -r /Users/< your username here >/.ports/devel/git-core

3. Download the Portfile for git-core into the created dir:

$ cd /Users/< your username here >/.ports/devel/git-core
$ wget

4. Change the runtime dependency from perl5.8 to perl5.10 by editing the file Portfile and changing the depends-run directive. It should look like:

depends_run port:openssh port:rsync port:perl5.10 port:p5-error

Also remove the patchfiles directive because the patch does not exists anymore:

patchfiles patch-Makefile.diff patch-http.h.diff

5. Run the portindex command in “.ports” dir. You will be presented with an output like:

Creating software index in /Users/Braceta/.ports
Adding port devel/git-core
Total number of ports parsed:    1
Ports successfully parsed:       1
Ports failed:                    0

6. Now install the “git-core” normally as you usually do, but now the dependency is fixed:

$ sudo port install git-core

If you look at the steps here you can also learn more from the MacPorts packaging system and override other package definitions it you want to! Hope it helps :).

Aperture 1.5.6 PowerBook G4 12″ installation hack

I bought myself during this Christmas a Canon Digital IXUS 860 IS compact cam (a personal review will come in further posts).

This my new hobby made me realize I need some photo management software. I own iLife 08 from Apple, which includes iPhoto 08 (simple for basic tasks) but I’m really considering use another app more powerful. I came across to the, yet sometimes flame war, discussion between LightRoom and Aperture.

While trying to install Aperture 1.5.6 (trial version, btw) I received the following message:

“Your video card does not meet the minimum requirements to run this software”.

Howcome is this possible, if the Aperture Compatiblity Checker app certifies successfully my laptop?

Looking into Aperture hardware minimum requirements I have ensured in Apple site that it should work on my laptop, which is a:

  • Powerbook G4 1.5 ghz
  • 1.25 Gb RAM
  • 80 Gb Disk
  • 12″ LCD display
  • Nvidia GeForceGo 5200 64Mb DDR

After tinkering around with the Aperture installer I have found a way to overcome the installation checks in order to install it on every Mac you own (I won’t guarantee your hardware can run Aperture, but at least you can now install it. :) ):

  • Copy the ApertureTrial.mpkg inside the .dmg image into your hard disk somewhere
  • Ctrl+Click in the ApertureTrial.mpkg in your hard disk and choose “Show Package Contents”
  • Go inside “Contents” folder and edit ApertureTrial.dist file with your favorite text editor
  • Delete the line containing: and save it
  • Now run the ApertureTrial.mpkg again.

Cool! You will be able to install Aperture without verifying hardware requirements first.

Poking into the installationCheck() script, the GeForceGo 5200 seams to be blacklisted by Apple (still don’t know the reason). Even thouhg it does not perform extremely fast, it works fine to me. No problems found yet.

Hope it helps :).