depicus

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

Blants (noun) the rants of a blogger

  1. My new love – a Macbook Air 11″ i7 with 256GB of SSD

    November 28, 2011 by The Man

    Wowza this machine is amazing, just ran Aperture and imported 10Gb of MRAW files from a Canon 7D and it ran like a dream, fast – yes the processor all 4 of them maxed out but I was screen recording as well. More to follow when I have given it a thorough going over.


  2. Apples Location Services and Privacy

    April 21, 2011 by The Man

    My god there really are some complete and utter morons about. Now I appreciate keeping location data indefinitely is not ideal but please … Sky News is reporting that “…your iPhone is secretly tracking you every where you go…” yet a minute later they complain that the iPhone they tested did not track the Sky building or the users home address !!!

    Out of the many tables in the db the main two appear to be CellLocation and WifiLocation. Mmmmm ok so they record the cell location so not really where I am but the location of the cell towers that are around me. Indeed if I look at the map of these locations many are places where I don’t think I have been. So why record them ?

    Well seems that it’s all down to the battery, querying cell towers uses battery power faster than a database lookup. Now that was easy. So what’s the big issue. Well looks like the database person did their job.

    But the programmers might have cocked up a bit. The above is a trigger in the database which decreases the record count every time a record is deleted, but the records are not being deleted. Now I suspect that when they tested this feature they used a low number of days (say 1) to keep these records, then when they were happy it was working changed to a larger number. Maybe the number was so large nothing gets deleted. Or they may just have cocked up and commented out the code to delete while testing and forgot to put it back in.

    Either way while this isn’t an ideal situation it is compounded by people who know very little about the subject being dragged out to comment on the situation as experts. The situation is not helped by the misleading statements of Warden and Allan saying it is “unclear” why Apple are collecting the data. These so called “security researchers”, one who allegedly worked for Apple didn’t think of the possibility that this is data caching ?

    If you think this is bad you really aren’t going to like some of the Apps like Pandora

    UPDATE This is a very good read and much better than my ramblings http://ericfadden.com/2011/04/iphone-location-tracking-consolidated-db-and-a-rush-to-judgement/


  3. XIB iPad orientation in landscape problem and solution

    January 26, 2011 by The Man

    If you want to show a secondary nib file you may have noticed that it shows fine in portrait mode but from startup not in landscape mode.

    This is what I use to fix this. Seems like a fudge but it works, I call this after creating the view.

    vSettings is a UIView and backGroundSettings is a UIImageView.

    
    - (void) animateFlipInView:(NSString *)theNib;
    {
        UIInterfaceOrientation toInterfaceOrientation = self.interfaceOrientation;
        NSArray *nibObjects = [[NSBundle mainBundle] loadNibNamed:theNib owner:self options:nil];
        vSettings = [nibObjects objectAtIndex:0];
        [self.view addSubview:vSettings];
        if (iPadCheck)
        {
            if ((toInterfaceOrientation == UIDeviceOrientationLandscapeLeft) || 
    			(toInterfaceOrientation == UIDeviceOrientationLandscapeRight)) 
            {
                CGRect contentRect = CGRectMake(0,0,1024,768);
                vSettings.bounds = contentRect;
                CGRect myFrame = vSettings.frame;
                myFrame.origin.x = 0.0;
                myFrame.origin.y = 0.0;
                vSettings.frame = myFrame;
                UIImage *image;
    			image = [UIImage imageNamed: @"Default-Landscape.png"];
                [backGroundSettings setImage:image];
    		}
        }
        [UIView beginAnimations:nil context:NULL];
        [UIView setAnimationDuration:1.0];
        [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight forView:self.view cache:YES];
        [UIView commitAnimations];
    }
    

  4. Wake on Lan for OSX updated

    January 8, 2011 by The Man

    Just submitted to the App Store.

    Updates are mainly cosmetic but also added the ability to delete bookmarks.


  5. Mac App Rejection….

    January 1, 2011 by The Man

    Bummer just been rejected for “2.30 Apps that do not comply with the Mac OS X File System documentation will be rejected”

    “The application is creating files or writing to ~/Library/Application Support/Depicus/…. Appropriate app-identifiers are ‘WakeOnLan’, ‘com.depicus.osx.wakeonlan’ and your name”

    Well have filed an appeal so lets see how we get on but looks like I won’t make it into the App Store for launch.

    UPDATE WE WON – Wake on Lan will be in the Mac App Store wheeeeeeeheeee


  6. iPhone App Giveaway

    December 14, 2010 by The Man

    I have 7 codes to give away for my Wake On Lan iPhone App. First come first serve. Leave a comment and hopefully if you used the right email address I will email you a code.

    Don’t forget to give us a review, good or bad, on the app store.

    UPDATE: ALL GONE