Programming insights to Storytelling, it's all here.
A very simple concept yet so easy to screw up. When I worked on my first website, it took me a while to understand how to deal with this favicon thing. I noticed how a lot of websites had this cool little icon when I bookmarked them but mine didn't. So I started my quest on finding how to create my own little cool icon. Today, I will save you that trouble and show you all I learned over the many years.
A few months ago I updated my PHP version. PHP 5.4 to 5.5 . I never had any problems updating PHP before. I follow its development closely and try to remove my deprecated functions long before they are officially removed. But this time I was caught off guard. It silently broke part of my website for the silliest reason.
I've recently been entertaining the idea of how much effort people will make to read my blog. I created this page here and used a few methods to make sure a typical user can't read the content.
Freddy the magician walks onto the stage. With a quick glance, he scans the room and stops on one person. This victim subject with big round eyes is convincing enough for us to know he is not part of the act, a complete stranger. The magician asks him to think of a card, almost immediately interrupts and says: King of diamonds. The subject is awed, "How did you know?" Applause and the magician walks out of the room.
Creating a website is easy. Depending on what you are trying to do, there are plenty of tutorials available on the web to help you. I even have one for you. The part that is not talked about a lot is how to maintain them. If there is anything I learned through out the years is that no matter how confident I am with my own code, I cannot say I have it memorized. So I had to developed a system organize it in a fashion I can easily update, revert, and keep my sanity in check.
Web servers are very good at streaming files and currently Nginx holds the throne when it comes to serving static files. My blog used to go down every time I get a spike in traffic but now I serve all my static files with Nginx. However, there are times where you don't want to serve files directly. You want to add a layer of security before serving it. How do you serve the files efficiently with PHP?
I love games but I am not that good at making them. I do enjoy writing code that runs them but it hardly makes sense to the end user. When I saw a tweet from Thatgamecompany about a Game jam right here in Los Angeles at USC, I didn't hesitate a second to sign up. March 14th here I come!
I got very lucky. I dropped out of college before I got the idea of getting a loan.
Working as a programmer, I got asked this question so many times that I thought of making a shirt out of the answer. The famous question is, what is the difference between a programmer and a developer?
There are times you want to make a very quick web request and don't care about the response looks like. It is possible to make requests using Ajax, but we still…