"Consistency is the last refuge of the unimaginative.", Oscar Wilde
"Probably the best wish for a dreamer: Be underestimated", 잫읻 젤지옥루
RSS icon Home icon
  • Harmless Future Optimizations for xillions

    Posted on August 27th, 2009 Cahit Crcioglu No comments

    Recently, there has been found a bug in iPhone’s camera roll display system. It’s related to the number of images taken with iPhone; if you take at least 10000 photos, you’ll face with this problem. Before returning to this topic, i want to tell about some similar problems:

    When i was working for Nokta Inc. (www.nokta.com) and creating a clustering system for uploaded images, i wanted to extend possibilities and push the limits for image and user counts. Any technic might work, but according to your solution, there might be so many works that you can not handle in necessary time; not feasible. So this could ruin the project’s evolving process and project plans. You might have to re-write many codes, redesign the whole system, maybe shut the sytem for a while… Because of this, i thought “what if every person in this world uses this system with more than one account”, people laughed at me in Nokta. But i designed it in my way ( in the same time duration ). Currently i’m not working in Nokta, but if they don’t rewrite the whole code, they won’t be facing with problems related to uploaded images system for a really long time. (However.. trying to seperate images and putting them into UN-real cdn systems would break and make developers to rewrite the whole code for image system).


    (Kızılay, ANKARA)

    I’m living in Turkey. Ankara is the capital city of Turkey as you know and KIZILAY is one of the most crowded and central parts of Ankara. In the past, when there were only a few cars, the first president of the republic of Turkey, Ataturk ( Mustafa Kemal Ataturk ), has said that, in future “KIZILAY” might have been important for Ankara and number of cars might have been huge, so roads must be very wide and for both ways to handle those in future. At that time, people didn’t understood it and didn’t liked the idea. Today, traffic is a problem in Kızılay (however not a very big problem for now), it’s hard to imagine what could happen if those roads were built smaller..

    Recently, there has been found a bug in iPhone’s camera roll display system. It’s related to the number of images taken with iPhone; if you take at least 10000 photos, you’ll face with this problem. ( Fix iPhone’s Camera Roll display bug ) According to my experiences, at the first glance, i can tell that this problem is related to foreseeing or lack of energy and desire of development team in Apple. Maybe coders of that part were not happy about their jobs, they were just coding to get money and only thing to get it is finishing what was given to you.. Yes it’s finished and we purchased and started to use those devices and applications and this is what happens if you don’t think about the thing you make for future.

    If you have time and if it’s feasible, why not do it in a way so it’ll help you in the future? And also, people won’t talk behind of you! Maybe coders of this bugs had told to their team that “system works but it can not handle more than 10000 photos, i want to change the way, would you let me?” and maybe they’ve told him/her “No, we have no time”. That’s an excuse for the developer but not for the team, project leader and Apple. It should have been fixed until now!

    – Hey, but what happens if you take more than 10000 photos?
    – What? Hahahaha, you are funny.
    – No i’m serious.
    – Ok i have to work, let’s chat later.
    – But no, i…. ok nevermind..

    – I’ve planned the system so it can support billions of user uploaded photos.
    – What?! Why did you do that?! Are you for real?!
    – Well.. yeah?
    – But why? How does your brain work… only Turkey will use this system and not all of it.. But you are saying that you made it to work for the world. Hahahahhah..
    – Yes.
    – We have no time, why did you do that?!?!
    – I’ve used the same duration for doing it.
    – Ok, but will it work for now?
    – ……
    ( after some time, another project leader of another project )
    – Hey, hahahahah come and optimize this for billions of people, you are good at it, hahahahhaha.
    – ……….

    They’ll keep monkeying around, extending their duration for being a monkey; harmless future optimizations for xillions should really not harm anyone or anything.

    Kızılay, AnkaraEski Ankara Kızılay meydanı ve Atatürk Bulvarı, Güven Park ve Özgürlük AnıtıKızılay, Ankara, 1960'sKızılay, Ankara

    Leave a reply