changing the digital world one bit at a time...

Blants (noun) the rants of a blogger

  1. Carphone Warehouse Review

    June 11, 2017 by The Man

    I wonder why Craphone Warehouse wouldn’t publish my review ?

  2. XCode with humour

    August 31, 2012 by The Man

    I always love a bit of humour and this Xcode error message made me laugh

  3. UDP Socket Listener requires Admin Privileges below Port 1024 on OS X

    December 5, 2011 by The Man

    Well I filed a bug report Bug ID# 9064149 with Apple many months ago and just got this reply.

    “We are closing this bug since our engineers are aware of the issue and will continue to track it.”

    Ok not exactly what I wanted but at least they are now aware of the issue. Note that IOS does not require admin privileges to open ports below 1024 for UDP Packets.

    Why do I want this change in OS X. Well this is a historic security measure when people used to stick to this lower range for their applications. In todays modern age this serves no purpose as I can just open and listen on a port above 1024 anyway. The restriction was relaxed in IOS so my Wake On Lan monitor can monitor any port, and judging by the downloads either a lot of people want this functionality or they are extremely disappointed when they realise this is a monitoring app and does not wake their machine up.

  4. iOS 5 Notification Screen is cool

    July 26, 2011 by The Man

    Just noticed that the iOS5 notification screen shows what tunes you are listening to on the lock screen. Cool.

  5. Kenya Dairy iPad app goes Open Source

    July 1, 2011 by The Man

    You can find the source code on Github and the Kenya Diary app itself is on iTunes

  6. ‘Invalid content size ‘ADBannerContentSizeLandscape’ passed to ADAdSizeForBannerContentSize’

    June 21, 2011 by The Man

    If you are running an iPhone app on versions lower than 4.2 you may see this error ‘Invalid content size ‘ADBannerContentSizeLandscape’ passed to ADAdSizeForBannerContentSize’

    To fix (dirty) simply set the size when the view loads.

    - (void)viewDidLoad {
        if ([[[UIDevice currentDevice] systemVersion] doubleValue] < 4.2)
            adMain.requiredContentSizeIdentifiers = [NSSet setWithObject:ADBannerContentSizeIdentifier320x50];
            adMain.currentContentSizeIdentifier = ADBannerContentSizeIdentifier320x50;
        [super viewDidLoad];