Google Films

google_films

Google movies/films screenshot

Ever heard of Google Films? If you don’t have a sure, fast and informed way of knowing about movie showtimes near you, Google Films might just be what you are looking for.

Google Films does not only provide you with a list of most movies showing in theatres near you, it also allows you to search for a specific movie’s showtime.

Each movie listed on Google Films comes with a short summary. It also carries the movie’s genre, duration, rating (watch out for the little yellow stars), a link to its IMDB page and sometimes a link to its trailer on Apple.com. As the experience would not have been complete without a map, Google makes sure to provide you with one so you can visually access the proximity of theatres showing the movie that you are looking for.

film_rating

A slight drawback of Google Films, however, is that it provides data for big towns mostly right now, so you wouldn’t be finding cinema listings near you if your town is a small one.

Google’s “I’m feeling lucky” button leads to a countdown clock

This is what you get if you click on “I’m feeling lucky” on Google’s homepage without entering any term in the search bar.
i'm feeling lucky google

It is a countdown clock and it is counting down the seconds left till the 1st of January 2010.

Google is obviously up to something to celebrate the coming new year. Speculations are varied. While some are wagering on yet another prank on the part of the search giant, others are expecting a major surprise release for this new decade.

No statement has yet been made on the part of Google and this certainly is feeding all the mystery around this countdown clock.

It should be noted that the countdown clock is visible only on English-based Google homepages such as Google.co.uk, Google.au or Google.mu, as in my case. The same thing on Google.fr, the French homepage, gives this:

French I'm feeling luckyWill the surprise be in English only? We could bet it will. Is Google Chrome OS English release under way? The question remains…

Google Chrome is now available for Mac and Linux users

More than one year after its release for Windows in September 2008, Google Chrome is now available for Linux and Mac users since December 8, 2009.

google chrome

As an Ubuntu user, this felt like an early Christmas gift and I guess that’s just what Google Product Manager Brian Rakowski meant too as he announced: “It’s been a long time coming, but today we can check the top three items off our users’ wish lists.
As expected, Google Chrome for Linux is lightweight. The minimalist design without the unnecessary and clustered toolbars, gives more space to actually view web pages.

Google Chrome for Linux also includes themes that are tightly integrated with native Linux GTK themes as it’s always great to have a personalised browser!

chrome themes

A very useful feature in Chrome is the little upload bar found down on the left that shows the percentage upload. This works great with sites that do not provide the percentage of completed upload, like Facebook album picture upload, for instance.

uploading

The launching of Google Chrome for Linux and Mac lays yet another stone towards the ultimate release of Chrome OS, Google’s forthcoming operating system, which focuses on speed, reliability and security. For instance, Google Chrome is expected to crash rarely as each tab operates in isolation and therefore a buggy page code would only crash a single tab and not the entire browser. Chrome also possesses a multiprocess architecture that protects users from malicious or badly coded extensions.

According to Statcounter, since its release in September 2008, Google Chrome has surpassed Apple’s Safari with a 5.1% of the total share of the browser market.

statcounterbrowser

Google Chrome is a very performing browser and it is free to top it all. It is expected that in the coming years it might gain a more considerable size of the market share and equal Mozilla Firefox or surpass it and compete with Internet Explorer.

Get Google Chrome for Linux: Google Chrome download page.

Prism by Mozilla

PrismPrism, is one of the babies of Mozilla, the creator of Firefox and Thunderbird.

Prism has been designed to provide a better environment for running our preferred web-based applications. For instance, applications like Gmail, Facebook and Google Docs which were usually browser-run can be accessed right from the desktop using Prism.

This prevents the hassle of having to switch between tabs on a web browser or the risk of having an entire browser crash or slowed down due to an unstable application.

Prism can be installed either as a Firefox extension or as a standalone application.

I mostly use standalone Prism to run Twitzap, a Twitter client and to access my Gmail account as those are the applications that I want to run right from my desktop instead of opening a web browser to get to them.

The thing with Prism is that it should not be used as a browser. It is not a substitute for web browsers. It does not enable users to click on links and to keep on browsing, that is the task of a web browser really. Instead you get to stay on a single web page. One on which you usually don’t click any further. Any external link on Prism would be opened on your default web browser. That is one of the limitations of Prism and that is also one factor that makes it stand out from a web browser.

To get Prism – Get started

No more false pictures on social networking sites?

False picture

The news that if a false picture is reported on a social networking site, the website will have to remove it. There is nothing new in that, except for the fact that, according to Times Online, this has to be done in 24 hours.

Personally, a little part of me dies when I see a false picture on a social networking site. These sites are for people who want to open up, who want to share their life. If you were to be incognito, it would completely void the fact of being on such a site. But how will a site like Facebook with “more than 350 million active users” (Facebook statistics) cope with such a measure?

Surely, they will find a way. But that would mean having an eye on your site 24/7,  implying a huge cost and, in most cases, neglecting other departments.

There is, however, a cost effective solution. The problem would come when there are lots of pictures to moderate. The simplest solution, would be to reduce that. It may be hard to achieve, but it costs less than moderation. I think Facebook does a great job at this. Everyone noticed that most Facebook users put their own picture. That’s because the example was set from the start. Surely, this costs less than a 24/7 eye watch.

Verifying Technorati Claim Token

Verifying your Technorati claim token is very easy. Here are the steps:

#1 Make a new post
#2 Paste your claim token on the post content
#3 Publish post
#4 Go to your Technorati account and click on “Check Claim”

As a proof, this post was the post I made to verify my blog on Technorati.
My Technorati Claim Token : YAPSSJEUEBZG

5 guidelines for clean, well-presented and perfectly readable code

Good coding is not only about getting a module to work. It’s also about doing things the right way, observing the right practices. Why? Simply because at some point, the code will have to be evolved. And if a code is well written and presented, its easier to work on.

In this light, I have written 5 guidelines for you to follow. If followed, these will make your code look clear and much more readable. Here it goes.

#1 Indent your code

I don’t even need to stress on that. Indentation is essential if you want readable lines of code. Remember, nothing says amateur programmer more than unintended lines of code.

#2 Avoid excessive white lines

Most programmers use white lines to separate blocks of code. If you are the type of person to leave white lines randomly in your codes, you are probably not doing any favor to the next programmer that will be working on your codes. Think of white lines as separators, not as beautifiers.

#3 Use comments moderately

I read an article once that said, “Good code does not need comments”. That is a very good advice. Your code should properly describe what it is doing. This is achieved by using meaningful variable and method names. Comments should only be used to describe confusing operations.

#4 Use meaningful variable and method names

Many programmers shorten their variable and method names so that they can code faster. To me, this is ridiculous. A good variable name should be descriptive. Also, most IDEs come with code completion nowadays. Meaning you always type the first few letters of any variable or method name, before you get all the possibilities in a box. So why choose short, meaningless variables over long, meaningful ones?

#5 Group your declarations on top

Variable declarations should be on top. Be it inside a method, a loop or anything else. The reason is simply because it has been this way for ages, and anything the other way round would seem uncanny.

There it goes. You have my 5 guidelines for clean, well-presented and perfectly readable code.

6 tips to have clean and well-presented code

Simple trick to use ports in hosts file

The definition says that a hosts file  maps hostnames to IP addresses. This means you cannot map to specific ports. But sometimes mapping to ports can be useful. So how can this be done?

It is very simple. Lets take an example; I want to map www.technoreply.com to localhost:8080. My hostfile is still untouched, as shown below.

hosts file

Now I would want to include the line “127.0.0.1:8080       www.technoreply.com” to the hosts file. But this does not work.

The solution for this is pretty simple:

What I did was add “127.0.0.1       www.technoreply.com” to the hosts file. Then I accessed my blog using www.technoreply.com:8080. Simple trick, works for me!

How to fix Firefox not remembering me

This has been bugging me for too long now. My work PC never seems to remember me on any site. At first I thought there was a problem with that specific Firefox instance on my work PC until some weeks back, I experienced the same problem on my notebook.

I made some Google searches, thinking that it would be a common issue but it turns out that it’s not. I managed to get the solution though. And its quite an easy one.

The problem seems to come with the “cookies.sqlite” file in your Firefox settings folder (C:\Users\<your username>\AppData\Roaming\Mozilla\Firefox\Profiles\<random characters>.default\cookies.sqlite). The solution is to simply delete that file. If you feel that this is a too risky task for you, then just rename it to “_cookies.sqlite“. That’s what I did.

I have tested this on Windows, but I guess it would work on Linux too. For Linux, the path would be “/home/<your username>/.mozilla/firefox/<random characters>.default“.

Hope this helps some of you out there.

The resources on the Web

The web is truly an amazing place. The amount of free resources available is ridiculous. And that’s not exaggerated. Not even a wee bit. Why? Let me tell you.

The other day, I had to do what most developers hate. I had to accomplish a task and I did not have enough time. Yes it happens at times. In more detail, I had to write a console application that would :

  • Fetch a CSV file on an FTP server
  • Parse the file
  • Export the parsed data to the database

Once again, there is nothing challenging about this application. The only problem was that this was an urgent task.

So what did I do? That’s where the title of this post makes absolute sense. I searched the web. That’s all I did, I swear! In a matter of a few Google searches, I had all the code snippets to build this application. This small exercise made me realize that there is an endless amount of free resources on the web and once assembled, it can be the basis of a very powerful application. Maybe you do not realise, but this little console application saved me 2 days of coding/testing. Thank you Internet.

Resources:

Fetch file from FTP

Parse CSV file using delimiter and qualifier

Powered by WordPress