Google Image Search adds Style

Yes, you got it right, Google Image Search has added another interesting element to the search, Image Style. Now on, you can search specific images on Google by specifying a search filter criteria based on the Image Style. Image style is different as compared to the Google Image Face Search which was about searching for images with faces.

Now on you can filter Google Image Search results based on faces, clip art, line drawings, photo content, news content.

To see the effect of these new options, let’s take a look at the first few results for “Christmas,” one of our most popular queries on Image Search right now.

Google Image Search results for different Content Type Filters

Image: Google Image Search results for different Content Type Filters

All of these options can be selected from the “Any content” drop down or  in the blue title bar on any search results page, or by selecting one of the “Content types” on the Advanced Image Search page.

Search Results

Image: Search Results

The good news: no extra typing! In all these examples our query remained exactly the same, we just restricted our results to different visual styles by changing the content filter.

Now go ahead and check out the various image results by just modifying content filter for the image search. I am sure this will greatly help you get better images for your blogs.

Via

You can follow me on Twitter at http://twitter.com/vaibhav1981

Do stay tuned to Technofriends for more, one of the best ways of doing so is by subscribing to our feeds. You can subscribe to Technofriends feed by clicking here.

[Subtitles] 5 Best Websites to look for Movie Subtitles

Got hold of a interesting foriegn language movie but how do you understand the real meat inside it? In such situations the real power of Subtitles comes to life. This post, lists 5 Best Websites for getting hold of subtitles to play with your favorite DIVX movies.

For true laymen, A subtitle is the text at the bottom of the screen in a movie. The purpose of a subtitle is usually to translate the movie dialogue from a language the viewer doesn’t understand to one they do. Subtitles can also be helpful for people who for some reason have trouble following the dialogue in a movie.

5 Best Websites to Get Subtitles for your Movies

Image: 5 Best Websites to Get Subtitles for your Movies

So here you go with the 5 Best Websites to look out for Movie Subtitles. All these websites provide subtitles in the SUB and SRT formats.

1.) SubScene : SubScene is an interesting website with lots of Subtitles in various languages including English, French,German, Dutch,Arabic. Also, interestingly, Arabic is the language with most number of subtitles available on this site. 

2.) DivXSubtitles : With DivXSubtitles, you can download DVD, HDTV and DivX subtitles for free without signing up. However, if you wish to Upload subtitles, you will have to sign up with the Website.

3.) OpenSubtitles : OpenSubtitles also offers lots of Subtitles for various languages. Apart from regular features like Subtitle Search, Download and Upload of Subtitles, it also provides RSS for new subtitles which are uploaded. You can even search for Subtitles in Multiple languages simultaneously. You need to be logged into the site to carry out such functions.

4.) DivX SubTitles World : Offers you free downloading (and uploading) of subtitles in all the world’s languages. If you are looking for a site with more subtitles in your own language, you’ve found it! You can download everything for free for your home cinema. You can find over 16800 subtitles from all around the world on our server. To be able to totally use the site you must be a registered member (for server’s security). Once a member you get all advantages, such as requesting subtitles, making your own movie lists, sharing information with other users etc

5.) GetSubTitles : GetSubtitle’s database contains subtitles for movies and television series in various formats such as SRT or SUB which are supported by various media players.

Once you have got the subtitles with you, you would need to either write them to the DVD or CD for playback using specific tools like DirectVobSub

 

You can follow me on Twitter at http://twitter.com/vaibhav1981

Do stay tuned to Technofriends for more, one of the best ways of doing so is by subscribing to our feeds. You can subscribe to Technofriends feed by clicking here.

PulpTunes Lets you take your iTunes with you

If you are someone who has a got a huge music collection in your iTunes at home and you need to go out suddenly. What do you do? Sync up your iPod already starving on Space with more songs? Well, with PulpTunes installed on your machine, you need not bother.

PulpTunes is the Webserver for iTunes. It allows you to let you or other people listen to the songs in your iTunes. So from now on, if you are away and still want to access that music on your home computers hard drive, all you need to do is install and configure PulpTunes.

 

Screenshot from PulpTunes

Image: Screenshot from PulpTunes

Check out PulpTunes Demo. Also, you can download and install PulpTunes by clicking here.

Well coming to the Wishlist, i certainly would like to see some kind of a sharing and rating engine, using which i can see other’s iTunes playlist, rate them, share my playlist etc and yeah, did i tell you, a search feature would be great.

You can follow me on Twitter at http://twitter.com/vaibhav1981

Do stay tuned to Technofriends for more, one of the best ways of doing so is by subscribing to our feeds. You can subscribe to Technofriends feed by clicking here.

[How-To] Flush DNS Cache

If you are a developer who often has to test same application deployed on different servers, the various options you have are

1.) Modify your HOSTS file to point to a new IP. You can learn more about modifying HOSTS file by reading previous posts on HOSTS file ( Microsoft Windows: More fun with the HOSTS file and Block Websites of your choice without any Software)

2.) Modify the DNS Entry of your Website. This is useful if you have testers who are not technically savvy doing the testing. In such a scenario all you need to do is modify the DNS entry and the new IP is reflected as soon as the change happens.

However, if you are having issues with the DNS IP Resolution and if even after a change on your DNS Server, the new IP is not getting reflected, its time to Flush the DNS Cache. 

DNS Resolution of My Website is Cached? How can i Clear this Cache?

Follow the Steps below

1.) In your windows machine, open the command window by going through Start –>Run and type Cmd.

Initiate the command window

Image: Initiate the command window

2.) At the Command Prompt, type ipconfig /flushdns as shown below in the figure.

Flush out DNS Cache

Image: Flush out DNS Cache

3.) Your DNS Cache is now flushed. What this means is, that your computer will now make a new request to your DNS Server for getting the IP Address. 

The above listed trick lets you flush the DNS Cache from the local resolver of your computer. However, the DNS Entry might still be cached at the DNS Server. 

How Can i Stop the Local DNS Resolver from Caching at All?

Yes. If you make frequent changes to your IP Address and would like to keep the DNS Cache Resolver away from Caching the entries, you can stop the service by typing net stop dnscache at the command prompt.

In order to start the service again, type net start dnscache.

Starting and Stopping the DNS Local Resolver Caching.

Image: Starting and Stopping the DNS Local Resolver Caching.

You can even tweak Windows Registry to modify the DNS Caching behaviour

You can modify the behavior of the Microsoft Windows DNS caching algorithm by setting two registry entries in the

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters registry key.

The MaxCacheTtl represents the maximum time that the results of a DNS lookup will be cached. The default value is 86,400 seconds. If you set this value to 1, DNS entries will only be cashed for a single second. MaxCacheTtl needs to be a new DWORD.

MaxNegativeCacheTtl represents the maximim time that the results of a failed DNS lookup will be cached. The default value is 900 seconds. If you set this value to 0, failed DNS lookups will not be cached. MaxNegativeCacheTtl needs to be a new DWORD.

How Do I Flush DNS Cache in Linux?

In Linux, DNS Cache is managed by a service called nscd. To restart the nscd daemon, use the command `/etc/init.d/nscd restart`.

 

You can follow me on Twitter at http://twitter.com/vaibhav1981

Do stay tuned to Technofriends for more, one of the best ways of doing so is by subscribing to our feeds. You can subscribe to Technofriends feed by clicking here.


[Java] How To Check if a String is a Valid Number?

If you are someone new to Java and would like to check if a String is a valid number or not, this post will help you get answer to your question.

Below is the coded snippet with explanation for checking out if a string is a valid number. The below mentioned code is written in Java.

In the below mentioned code snippet, i declared an integer called isThisANumber , this integer will be used to save the parsed Integer. Static method parseInt( ) of the Integer class has been used to attempt to convert the string parameter into an Integer. In case if the string is not a valid integer and throws up parsing issues while converting, NumberFormatException is thrown.

int isThisANumber = 0;
try
{
isThisANumber = Integer.parseInt(someStringToTest); 
}
catch (NumberFormatException nfe)
{
System.out.println("This string is not a valid number."); //Oops..not a valid int
}

 

You can also follow me on Twitter at http://twitter.com/vaibhav1981

Do stay tuned to Technofriends for more, one of the best ways of doing so is by subscribing to our feeds. You can subscribe to Technofriends feed by clicking here.