GUI Client tool for Closure Compiler

Google built some excellent tools for JavaScript development. One of them is the Closure Compiler. A common development scenario is at the end of every project when we finally deploy the code in production we usually minify and merge all .js files into single or fewer numbers of files. To do this I normally use Closure Compiler, but there is a small problem like if you use the closure compiler’s online version you can’t actually minimize the .js files on your local machine, there is of-course a offline version of the compiler but you have to use that from command line, and which is not much user friendly specially if you are in a hurry or not using any automated build tool, So I decided to fill this gap, and built this GUI wrapper for the great Closure Compiler.

You can use this from your pc, to run this you will need java (jre) in your pc, i built this using java 7 so earlier versions of java will NOT be able to run it.

Download:

No installation required just download and click. Grab the tool from here, the jar version is for all operating system, but i also built an exe of it but it will still require java. (jre 7)

How it works:
At first i tried to reverse engineer the whole compiler just like i did for the css-minimizer but well its a huge thing, thousands of Classes inside it. I felt lost, but there was a easy way out, Google provides a REST api for it, and I decided to use it. So that means this GUI tool can’t work offline (unless you select the merge option), when you select .js files and press the compile buttons it merge all the js files and requests Google and then saves the response.

One important thing, closure compiler checks for errors and warning. So if there is any error or warning in your JavaScript it will be included in to the response. So always check the compiled file before including into the project.

Tips: Hold Ctrl button to add multiple JavaScript files in the list.

Okay now try it. and give me feedback and suggestions. Thanks

GUI tool for Google Closure Compiler
Requires Java 7 to run.

Google Bangla Dictionary [updated 14 sept 2012]

Update (14 September 2012):
Google has deprecated some features in appengine so Those who are facing trouble with the bot (eng2ban@appspot.com) like not responding or other issues please add the new address eng2ban-hrd@appspot.com 
———————————————-
I had a dictionary software on my desktop. but after upgrading my OS from xp to 7 it just don’t work anymore. and from then i was feeling need of a good dictionary.  So i built one. Well it’s not quite a desktop software but it is a gtalk bot. Just add (eng2ban@appspot.com) it as your friend on gtalk and it will answer your all query in bangla. This bot is using the google’s dictionary api as its word bank. So you don’t need to worry about its word collection it just knows a lot.

Update (27 December 2011):

As you all know google finally stopped its dictionary service and api from this month so this bot was not able to fetch Bangla meaning from last few days. So I wrote a new hack, now it is better then ever before.

It can now work as a english to bangla dictionary plus translator that means you can translate now a whole line, also with some improved logic it can now able to tell the Parts of Speech and Synonyms (not applicable when translating a line).

With this new update english to english meaning will show up by default with bangla meaning and adding a + sign at the begaining of a word will show  Bangla to English with the parts of speech of the word in english. Bangla to English will work (only as a dictionary) as it was working, also wikipedia definition (? sign) will work unless they stop their api.

If you are having any issues please do let me know. Thank You.

Update:

I have updated the back-end parser, in place of my custom made json parser now i am using rhino (server-side javascript). so now this bot is much faster and smarter. It can answer english to bangla (by default), if no bangla meaning found on google word bank then it will answer a english meaning instead (means english to english). another thing for example if you type help it will return bangla meaning by default, but if you  want to skip bangla and want it to return english then just start the word with a ‘+’ sign like +help then it will return english meaning. One more interesting thing is now it can return bangla to english also :), like if you type আমার=> it will return you a english meaning “mine”, “My”. Do comment on this post about your thoughts.

Wikipedia Definition: To search for a wikipedia definition just start the word with ‘?’ character. for example: ?java will return definition of java from wikipedia.

For mobile devices (with a internet connection) you can bookmark this (http://eng2ban.appspot.com) on your mobile browser (like opera mini), with this url you can use this dictionary without logging into any google talk client. This page does not contain any rich styling so it is very light and only consumes just a few bytes of bandwidth for your mobile internet.

Tips:

If the the dictionary returns English meaning by default that means it didn’t find the Bangla meaning for the given word, so try to give your english word in present tense + singular number form. For example: if you give ‘helped‘ it will return all meanings in english by default. but if you give ‘help‘ it will return meanings in Bangla

1 known issue: if you find bot is not showing online on your Gtalk client then just remove and add again it will work.

Google’s History Timeline

1955 — Eric Emerson Schmidt was born on April 27 in Washington, D.C.

1973 — Lawrence Edward Page was born on March 26 in Ann Arbor, Michigan. Sergey Mikhailovich Brin was born on August 21 in Moscow, Russia.

1979 — The Brin family, which included young Sergey, his parents and grandmother, arrived in the United States on October 25.

1995 — Larry Page and Sergey Brin met when Brin guided a tour of San Francisco for prospective new Stanford graduate students.

1996 — Page and Brin collaborated on Page’s Back Rub search engine. The first version of Google is released in August on the Stanford Web. The address: google.stanford.edu. A little over a year later, the search engine left Stanford servers because it took up too much bandwidth.

1997 — Google.com was registered as a domain name. The young inventors tried to sell Google through the venture capital firm of Kleiner Perkins Caufield & Byers (KPCB). After unsuccessfully pitching the search engine to all likely buyers, they gave up the idea of selling.

1998 — Google was getting more than 10,000 queries a day. Andy Bechtolsheim, a founder of Sun Microsystems, watched the demo for Google and immediately wrote a $ 100,000 check to get the company started. Google became an official corporation on September 7. A few weeks after incorporation, Craig Silverstein became Google’s first employee. PC magazine recognized Google as the search engine of choice and one of the Top 100 Web Sites for 1998.

1999 — After several months of operating out of a rented bedroom and garage, Google opened its first Palo Alto office. Later in the year, the company moved to Bayshore Drive in nearby Mountain View.Kleiner Perkins Caufield & Byers, in partnership with Sequoia Capital, provided Google with additional venture capital of $ 25 million. Brin and Page finally dropped out of the Stanford graduate studies program. Omid Kordestani, the company ’ s twelfth employee and its first nonengineer, joined Google as head of global sales. Kordestani is credited with creating the advertising model that led to Google’s early and continuing financial glory. Charlie Ayers, who once cooked for the Grateful Dead, joined Google as its chef. Continue reading “Google’s History Timeline”

Top Search Engine Ranking Factors

PageRank is not the only factor that Google uses to rank search results. Google uses more than 200 “signals”to calculate the rank of a page. According to a survey of SEO experts, the top 10 most important factors include the following:

  • Keyword use in title tag
  • Anchor text of inbound link
  • Global link popularity of site
  • Age of site
  • Link popularity within the site’s internal link structure
  • Topical relevance of inbound links to site
  • Link popularity of site in topical community
  • Keyword use in body text
  • Global link popularity of linking site
  • Topical relationship of linking page

The top factors that negatively affect a search engine spider’s ability to crawl a page or harm its rankings are as follows: Continue reading “Top Search Engine Ranking Factors”

Chrome supports Java!

Google Chrome requires Java version 6 update 10 (Java 6u10), and should work with Java 6u10 as indicated in the Google Chrome Help Center. However, Sun Microsystems does not support Google Chrome for Java SE 6. For more information and help on Chrome, you might want to visit :  Google Chrome Help Center For a list of Java supported browsers by Sun Microsystems, please visit the following page: Java SE 6 Release Notes Supported System Configurations  Download the early access version of Java 6u10 from the link below: Download Java 6 update 10 early access version  To make sure that Google Chrome recognizes Java 6 update 10 correctly, you might want to install Java 6u10 prior to installing Google Chrome. And for Silverlight you might need to install silverlight after installing Chrome. 🙂

Google’s new Web Browser!

Google has released a new open source web browser named, Google Chrome yesterday in more than 100 countries. It can be downloaded from here. Google also released a comic book describing the features of browser. It can be found in here. Google chrome beta is currently available only for windows, and they are working hard to release a Mac version of the browser. Later it will be available for all other platforms. It is very lightweight and it has taken its foundation from Apple’s WebKit and Mozilla’s Firefox, also more over it has a more powerful JavaScript engine, V8, to power the next generation of web applications that aren’t even possible in today’s browsers. In this release it doesn’t have support for Java and Silverlight. Ok lets download and enjoy some Google taste. 🙂