View Posts for Unfiled

  • iOS WebView with an Address Bar

    |
    Updated at
    I've started creating an iPhone application at my job and one of the things I immediately took advantage of is the UIWebView. One of the things it lacks is an address bar and a progress loading indicator (probably talk about this in another post). An address bar can be pretty useful for knowing where you are and especially if it acts like Safari's Address bar where it will scroll along with the content and slide off screen as well.

    I started using iOS's storyboarding feature where you can easily attach view ...
  • I'm warming up towards Log Files

    |
    Updated at
    I used to think that all logs should go into the MySQL DB or whatever you want, but since my internship I'm starting to think that log files are the way to go. My aversion to writing to log files come from wanting to write to a log file immediately, but you don't have to It is probably best to keep a buffer zone in memory where the log file is written to after a certain quota or time. Then you can grab something like Splunk or some other cool log analysis tool to grab these log files and aggregate them for...
  • Handling Android's rotation/orientation changes.

    |
    Updated at
    One thing I've encountered with Android since my internship was handling the orientation changes. Orientation changes are part of a wider thing called configuration changes which will kill your activity and start it over (personally I think is stupid, but it make sense). Killing your activity and making it restart will possibly change the layout according to your layout structure (layout-port, layout-land, etc etc etc). Read about it here.

    So at first, I assumed adding orientation|keyboardhidden to the activ...
  • How I am going to use Git branches

    |
    Updated at
    I had no idea until my internship that you could deviate from the master branch with multiple branches with different changes then modify the master branch and then merge master's changes into the branches and eventually merge youre features on to master. Well, I knew you could create multiple branches, I just never figured that I'd want to modify the master branch once I'd made a branch from it. I now appreciate how git makes life easier especially with its demarcations of conflicts between branches you ar...
  • HTTP_HOST and SERVER_NAME

    |
    Updated at
    Let me put this quite simply.... They are not to be trusted. Treat them just like how you would treat user input because it can be spoofedl. Sooo, what should you do? I suggest using SetEnv inside of the htaccess file or the global config file. Use SetEnv to set a domain name variable with your domain and use that.

    It is much easier to use HTTP_HOST or SERVER_NAME, but the dangers of XSS or SQL injection if you use these variables in various places. Most, if not all, tutorials will tell you to use these. You...
  • Microsoft OneNote Problem/Issue

    |
    Updated at
    Microsoft OneNote is one of the best note taking software I have ever used, but one EVER so slight problem appears when I leave my notebooks to automatically sync!

    Look for yourself...



    It is HORRIBLE! I think when I tend to use my pen's right button to scroll down (basically the select tool while dragging down) this happens while it is syncing automatically. I've disabled automatic sync until this issue is fixed! I absolutely hate when this happens! I'm glad I was practicing my exams or else I would be REALLY...
  • If Windows Phone heads towards...

    |
    Updated at
    the same fragmentation crap Android is in... I will abandon Windows Phone forever. There is no place for more fragmented shit like Android. People have to ROOT their phones in order to upgrade because their manufacturer doesn't want to update them for some reason... OH yeah MONEY. Fragmentation is a HUGE issue for devs! Which (version) do you target exactly? How do you (Microsoft) move your system further when most people will be held back? Google is being taught a lesson in this space that's why they won't...
  • Playstation's Deal to woo Indie Game Devs

    |
    Updated at
    http://www.playstation.com/pss/index_e.html

    *sighs* Only if they did this say .... in 2006? How unfortunate to be late to the game. Microsoft allows people to create games for XBox 360 at their desk. I can't believe it myself when Sony ignored that market. Idiots, I say, but, seriously, truth to be told I don't care so much about Playstation products anymore and this deal? You still can't develop for the actual console, PS3.

    Good luck Sony, you are going to need a lot of it.
  • Open Source Hype

    |
    Updated at
    It's all hype.. okay, not all of it anyway. Some people have legitimate reasons for open sourcing, but others (or many) do not.

    What are legitimate reasons you say? One pertains to helping other learn and use your code. (Obviously) Second pertains to letting other people use your library and open sourcing it in order to improve the software (people have their ways with breaking things). Third pertains to the idea that open sourcing your software is in line with your ideology (assuming it is not tainted by hy...
  • Amazon Price Comparision Windows Phone App

    |
    Updated at
    Screw it.... Everytime I find myself a deal online I often find that there is no way to compare prices with the local shop. You know your local grocery store. Taking a localized approach to it makes so much sense at this point.

    This app is so simple. Simply find the products you will buy from Amazon and store the prices on your phone. Go to the shop and compare. Done. Heck you can even enter the price of the item that you are interested in and compare with an online retailer.

    The idea is that I'd like to figu...