Instagram iPhone App Cache Size

Recently, I tired to use my iPhone to take a picture of my new born son. Instead of capturing a priceless memory, I received an error saying “Your iPhone out of storage space” or something to that effect.

I check my data storage, I went to “settings” -> “general” ->”usage”, and found that Instagram was taking up 1.4 GB of storage space. 1.4 GB! That’s insane!

I believe that Instagram saves or “caches” every image that you view on your iPhone, so you only have to download the image once. This is great, but what’s the limit to this?

I can’t find any options on the phone, or in the app to clear the cached files or set a limit on the cache size.

The best workaround I found was to delete the app from the phone, then to re-install it. This is less then ideal, but it works.

You may need to restart your iPhone before the iPhone starts reporting the newly cleared space.

I believe that Apple should allow a way for iPhone users to manage application cache sizes, or require app developers to report cache sizes along with clean up tools for the end user.

I love Instagram, but what would happen if I continued to use the app (and cache images) for the next year? My 32 GB iPhone would have 10+ GB of Instagram images on it.

Follow me on instagram – “JoshHighland”

Non-abstract method Foo::bar() must contain body

I was working on one of my PHP based projects, and I was getting the following error:

Non-abstract method Foo::bar() must contain body in Foo.php on line 10

The problem was that I had accidentally put a semicolon at the end of the first line of the function:

WRONG WAY:

  
class Foo 
{ 
    function bar(); // extra semicolon! 
    { 
        // stuff 
    } 
}

RIGHT WAY:

  
class Foo 
{ 
    function bar()    // no semicolon, yay 
    { 
        // stuff 
    } 
}

Why I’m pre-ordering the iPhone 4S

Am I ordering the new iPhone 4S? As my tattoo says, “oh hellz yeah!”

I’m excited about the iPhone 4S and I’m going to pre-order it. I’ve heard a lot of people complain about the 4s, about how “It’s nothing new”, and “It’s basically the same as the iPhone 4”.

Here are the things that make the iPhone 4S different from the iPhone 4

  • 2x the data speed
  • 2x the CPU (A5 processor)
  • 7x the graphics speed
  • 8mp camera
  • 5 element lens
  • Larger camera CMOS
  • 1080p HD video with image stabilization
  • Longer batter life
  • Bluetooth 4.0
  • Supports GSM & CDMA (Use it on ANY carrier)
  • Siri voice control
  • Improved antennas

So yeah I guess besides those things, the iPhone 4s is just like the iPhone 4…

I love my iPhone, ive loved them all. I’ve owned every generation produced. With each release, the iPhone gets better, and becomes a larger part of my life. I use my phone a lot. It’s a mobile computer thats always with me. As an app developer, I can basically do anything I want with it.

When I ask people who are disapointed in the 4s, what they were hoping to see, the most common responce I get it, “I wanted it to be shaped different.” Shaped different! What? OK, I agree it would be cool to have a different sized iPhone, or a slightly different shape, but if I had to choose between better speed and an updated look, I’m going to pick the improved speed 10 times out of 10… I actally USE my phone.

I think more people would have been excited about the iPhone 4s if it looked noticabley different from an iPhone 4. I really think that most people care more about the status of the iPhone and the look of it rather then the utility and freedom it provides. If the iPhone 4S had a different style back, like metal instead of glass, I feel that more people would be impressed with it. There is nothing stylish about owning an iPhone 4S. The 4S update is about the “S”, speed.

Personally, I like to think that the 4S means “For Steve Jobs”. The world has lost a great visionary. Without him we wouldnt be arguing about iPhones. RIP.