Skip to main content

Posts

Showing posts from 2010

What I Did When Gmail Failed to Load on Any Browser

I use Chrome and FireFox sparingly in Ubuntu to login into Gmail to manage my emails. I may ignore phone calls or SMS, but I do entertain emails at least once a day. My computer is always connected to the Internet and I seldom turn it off. Last few days Gmail ceased to load on any of the browsers in my Ubuntu computer. However, Gmail did load on the other two Windows computers on the same LAN. It did so as well on an Android phone connected to the same LAN. Obviously it was an Ubuntu problem, or something was wrong with my computer that run Ubuntu. Unfortunately I had only one computer that ran Ubuntu when the problem happened so I could not certainly confirm that it was indeed an Ubuntu problem. It could not be a hardware problem because I still can browse other websites. This was the error message I got from the browser: Error 324 (net::ERR_EMPTY_RESPONSE): Unknown error 'Unknown error' is a very bad error message. If the browser didn't know what went wrong then it must b

Making Drupal Send Emails via Live.com on Free Hosting Server

I wrote Exit Shared Hosting Early , but this post is for those who have no reason to pay for web hosting. Drupal is allowed on many free hosting server such as http://www.66ghz.com . However, a free hosting service may not allow Drupal to send out emails due to protection against spamming. We want Drupal to send emails at least on two occations: to authenticate user during registration to email user via contact form There is a work around to solve this problem. Microsoft Live.com opens its SMTP server for those who have Hotmail account. And Drupal has a SMTP Authentication Support module that can utilize any SMTP server including Live.com's. You need to set the following in the module configuration: SMTP server settings SMTP server: smtp.live.com SMTP port: 587 Use encrypted protocol: Use TLS SMTP Authentication Username: Your Hotmail email address i.e. foo@live.com Password: Your Hotmail password * (*) One thing to note here is that you have to specify your Hotmail password. Y

Exit Shared Hosting Early

As a programmer, I would like to advice all web programmers to exit shared hosting as early as possible. But please take my advice from a technical point of view, not the business point of view. Shared hosting will go away and will be replaced by cloud computing. Re-acquire your programming skill towards cloud computing. See my other post on Why I Chose the Programming Languages . Ten years ago there are 360 millions Internet users. Today, the Internet has 1.7 billion users , which is 4.7 times more users than a decade ago. And 10 years ago the bandwidth for the Internet access was relatively narrower than the generally available broad bandwidth of today. And today more people are accessing the Internet via mobile phones. Thus today, the Internet traffic is obviously many folds more than a decade ago. Shared hosting was good when the Internet was small and when the traffic was relatively friendlier. Your website will either have visitors or none. When it will have visitors the traffic

Why I Chose the Programming Languages

I will be programming in Python with Django on Google's App Engine . I can create a Twitter bot or a Facebook application and running it from the App Engine where I don't need a conventional shared hosting server or a domain name. Platform as a service on the cloud computing will be the driving factor on how I choose a programming language for my next project. C/C++ programming language had been enslaved me for at least 15 years. Well at least, C/C++ language is much easier than the assembly language that convert instructions to machine codes. I chose the C/C++ language because it performed the best on all machines. Now for me most of the machines are on server farms that I don't know where they are. I just never have a privilege to log onto any of the new servers as administrator or root, as I used to. I really need to have full control of the computer for me to program in C/C++. Loosing that control makes me choose another language. I have a couple of years programming

Extending Tweet to a Larger Audience

You tweet but when people reply they are replying to you, not your tweet. There is no such thing as commenting a tweet. Your tweet must be replied in real time before you tweet another subject. Otherwise a reply may be mistaken for a different tweet. Unfortunately when you tweet not all of your followers are listening, and not many people will be searching for your tweet. Thus, your tweet audience is limited. It is the nature of Twitter that your tweets will be left behind after some time. On the other hand, your listening followers may want to respond to your tweet but choose to keep quiet instead. One of the reason is that they don't want to be associated with your tweet personally. Or, they just don't want to make you feel bad with their responses. Thus, you don't get good interactive audience. Let extend your tweet with blindtalk. What is a blindtalk? Check the website . A blindtalk is a short message posted anonymously. Anyone can respond to a blindtalk also anonymousl