Unhide folders in OS X

I frequently find myself having to copy or dig into the Library folder on my Mac. Apple has decided to make the folder hidden, so I usually press  CMD-SHIFT-G  on the keyboard and type out my path.  But here is another option:Continue reading

Python Mac Error: IOError: [Errno 2] No such file or directory …__init__.py

This is a situation that I have come upon in Mac OS X Mountain Lion:

For whatever reason this file is basically missing from the Python install by default.  We will not talk about why for Apple has always seemed to install bad versions of Python.

Python needs the __init__.py file to know that it should look inside the folder for code.  To fix this error, enter this command:

And that should resolve the issue.

1.0.3 Submitted

After Apple denied version 1, I went back and added a few features that I had already intended to add in the next version.  I will admit that I was very disappointed and a bit discouraged after the app was denied, but these features were coming and I am much more excited about this release.  Watch for a more thorough feature list once the app is (hopefully) accepted.

Create Random Django Compatible Usernames in Objective-C

I’m working on an app right now that lets anonymous users update data.  Only I don’t quite want them to be anonymous. I want to be able to keep track of “who” data belongs too in order to provide individual service.  So I needed to create unique usernames to register with the server.  I extended the NSString class and add a UUID method.  Problem with that is the resulting string was too long for Django.  So I added another method to convert it to a base 64 ASCII string of alphanumeric characters (and two special characters).  Here’s my implementation file.Continue reading

IIS Exception: System.Security.SecurityException… fail

I was trying to push some updates for a website to the production machine.  After pasting the new files into the web directory, I hit the site and got this error:

Exception Details: System.Security.SecurityException: Request for the permission of type ‘System.Web.AspNetHostingPermission, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089′ failed.

I found this post on an MSDN blog.  To sum it up, the NTFS file system is tracking where the file came from, and I downloaded my zip file through Internet Explorer (also tried through FireFox but same issue).


  1. That first post and many other said that after deploying the files, right click on the DLL’s, and if the file is one of the ones causing your problem you see “Security: This file came from another computer and might be blocked to help protect this computer.” and an “Unblock” button to the right.  Click the “Unblock” button and then search out any other files and repeat.
    Lots of people found this solution to work.  I on the other hand did not.  It seems that it was not saving my settings as with every view of the file properties it was showing the file as still blocked (and more importantly IIS was still choking). The next solution is what worked for me.
  2. NTFS is basically setting a “Zone” flag.  So what we can do is reset the zone flag.  Open a command prompt, navigate to where your zip file (or any file you want to remove the zone from) and run this command:
    Then copy and paste you files as usual.  Totally worked for me.  None of the files were showing up as blocked and IIS ran fine.  Credit for this solution due to this StackOverflow article (nothing new there).

Any.DO, A Beautifully Design Android App

Any.Do Android Screenshot

Any.DO Android Screenshot

I’ll be upfront: I haven’t had an Android for a couple years now, and the main reason why I bought an Android was because I wasn’t willing to leave Verizon for AT&T to get an iPhone.  Let me also say that while I prefer and love my iPhone 4S, I very hopeful for Android and excited to see where it goes.  Unfortunately, when I had an Adroid I was on version 1.4, and I’d have to say the apps were exceptionally lacking in design quality.  Technically, the built in controls in android were just ugly, where as in iOS a developer with no design experience can build a decent looking app because the default controls already have great–though basic–design.  But we’re starting to see a shift in android land.

One app that breaks the android stereotype is Any.DO, a todo app with a minimalist UI.  One of the things that sets it apart from the hord of other todo apps is that it is heavily gesture based.  Pull down for a new task, pull and hold to enter a new task by voice.  Changing tasks  happens on the same screen with a tap.  Really, this app reminds me a lot of the DayOne app for iPhone, though possibly a bit more beautiful.  The biggest deal breaker for me is that it doesn’t have recurring tasks, to me the feature the differentiates todo apps from being either a list or a  tool.

Check out Any.DO, and yes iPhone owners, they now have an iPhone app as well as a web app in the works.

Any.DO is a great todo app, though fairly basic.  I don’t know that will actually find a place on my phone personally as it would have to push Wunderkit (my list) or OmniFocus (my tool) out of my workflow, but asthetically I find the app inspiring.  Any.DO continues the trend of bringing great UI to the android platform and elsewhere.

Change The Primary Monitor In A Dual-Monitor OS-X Setup

Do to some unexpected circumstance I ended up loosing my 2008 24″ iMac this week (my work machine), leaving me with my old 2006 MacBook Pro (my personal machine, the first of the Intel models).  I have been intending to upgrade my personal equipment, but have been waiting for Apple to release the new models (been waiting since October).  Well now I am more motivated to get the process started.

Dell U2412M LED Monitor

Dell U2412M LED Monitor

First thing, this week I got a new monitor, the Dell UltraSharp U2412M 24″ LED LCD Monitor off Amazon.  I am still working out my opinion of the monitor and may write up a review of it at a later time.

First issue I come up with is that the external monitor is always secondary to the MBP display.  Obviously with a 15″ MBP and a 24″ monitor, I’m going to be using the 24″ monitor primarily.  I want the menu bar on the external monitor.  I want everything to default to the nice, big monitor!  At first I wrote it off; I didn’t see any method to get it done and did not have time to research it.

Today I had some time and googled it, figuring there had to be a way even if through 3rd party software.  Turns out it’s pretty darn easy and it is indeed built right into OS X.  Here we go:

Step 1: Open up the Displays page in the Settings app.

Highlighting Display page in the System Preferences app.

Step 2:  See that little white bar on the tiny monitor below.  It symbolizes the primary screen and as it turns out that you can drag it between monitors.  Do so and you will see the primary monitor change.


The Display Window in the System Preferences.

The Display Window in the System Preferences.

Step 3:  Never mind, you’re done!

Like many things in computers, once you know what do you it is surprisingly easy.  I am glad this worked as Photoshop wasn’t letting me drag some things between the monitor and it would have been exceptionally annoying.