Mock tests, Interview questions, Tutorials and Tech news
 
 

Archive

Archive for October, 2010

How do I turn my blog into book ?

October 31st, 2010 Vinay No comments

Ever wondered how to convert all of your blog posts into an ebook ?

Look at BookBrewer.

How it Works: Import posts from your site or blog, or copy/paste from a manuscript. Edit content and drag it into chapters and boom…the boom is ready.

You can start selling your ebooks with them as well. Pay $89.99 to send your eBook to online stores with your ISBN or one we assign for free, or $199.99 to get an ePub file to do with as you wish.

Categories: Technology Tags: ,

Groovy: The new buzz in the Java world

October 30th, 2010 Chin No comments

Groovy is the dynamic language for the Java Virtual Machine.  Inspired from Java, Ruby and Python, Groovy is an object-oriented language written in Java. Groovy is designed to help you get things done on the Java platform in a quicker, more concise and fun way – bringing the power of Python and Ruby inside the Java platform

Groovy’s addition to the application is as of enhancing the power and capabilities of java.

Like Java, everything is an object in Groovy.

The java virtual machine has no idea that its running the groovy code. Groovy is written in Java. As java library is called by the name JDK, the groovy library is enclosed and called by the name GDK – Groovy Development Kit.

It complements the productivity of the java programmers through its powerful features. Read more…

Categories: Programming / tutorials Tags: ,

How to add SVN plugin for STS ?

October 28th, 2010 Vinay 1 comment

Spring source comes with default plugin for CVS. They had SVN plugin but it was removed in release 2.3.1 for following reason

We removed the Collabnet SVN from the Extension install for non-Windows platforms as we were seeing lots of issues with the SVN Java native bindings on Linux and Mac.
So if you want to install SVN support please manually install Subclipse or Subversive from their respective update sites.
Currently we can’t provide a solution that works on all platforms due to licensing restrictions on SVNKit. The good news is that we are currently going through the legal process to obtain a SVNKit redistribution license for STS. Once this agreement is in place we can add Subclipse and/or Subversive to the Extension install

Here is how to add the SVN plugin ig you need it

1. Open the STS dashboard.

2. Go to Extensions. This is under help and documentation.

3. Look for Subeclipse. Check the checkbox and click Install.

If you do not see Subeclipse it implies that it is already installed on your IDE.

Check code error on Visual Studio without explicitly compiling..NO

October 25th, 2010 sadhna No comments

I am using Visual Studio 2003. my experience with Eclipse is more .I have gotten accustomed to the way Eclipse handles underlining errors (in java source). whenever a syntactical error in my code in eclipse, it will usually be underlined & i fix it, the underline will disappear almost immediately. very friendly Coding!

In Visual Studio2003 however, you will not know anything until build and run the project on browser. really annoying!

Visual Studio 2008 with service pack 1 has something for this. But not in 2003 :(

If you are using 2005 or above then can use error list window. it will give you at least some relief(the below part taken from msdn help)-

The Error List helps you speed application development. In the Error List window, you can: Read more…

Remote JSON made easy with jQuery

October 24th, 2010 Krupa 1 comment

There are times when people resort to server side code instead of keeping code on client side to skip through voluminous JavaScript code and the additional technical logic that needs to be maintained.

One such scenario is when the JSON data for certain UI-related logic has to come from a different site. Due to http://en.wikipedia.org/wiki/Same_origin_policy restriction, this might not be possible with straight JavaScript. Here, the most favorite workaround is either to set up a proxy on the server side which calls the cross domain data and then use it on the client side, or move the handling of the logic complete to the server side. This is fine for certain not-so-popular sites with limited APIs. But not for Web 2.0-aware sites, especially for almost all of the social networking sites.

Why so? This is because, most of these sites offer a callback functionality whenever a URL is invoked requesting the data. While this would not make any difference for a browser to bypass the Same Origin Policy restriction, this could be utilized to a developer’s advantage. The callback-enabled URLs wraps the JSON data with a function. For example, consider this JSON data:

[

{

name:"Krupa",

age:20,

department:"IT"

}

]

Read more…

Categories: Programming / tutorials Tags: ,

Tracking form abandonment through jquery and google analytics

October 24th, 2010 Vinay No comments

This is nice post from Sam who has come up with idea of using jquery to track user’s abandonment for any website when have to fill out a form.  Web site owners who have forms would have experienced this sometime or another of user’s quitting when it comes to fill up forms.

This would help them to analyze what part of forms they really hated when they decided to call quits. Here is the post

Amazon offers free web services for 1 year

October 22nd, 2010 Vinay 1 comment

An amazing hot deal !  Beginning Nov 1 , Amazon will offer 1 year of free usage to its web services in cloud to all new customers. The free stuff includes

AWS Free Usage Tier (Per Month):

  • 750 hours of Amazon EC2 Linux Micro Instance usage (613 MB of memory and 32-bit and 64-bit platform support) – enough hours to run continuously each month*
  • 750 hours of an Elastic Load Balancer plus 15 GB data processing*
  • 10 GB of Amazon Elastic Block Storage, plus 1 million I/Os, 1 GB of snapshot storage, 10,000 snapshot Get Requests and 1,000 snapshot Put Requests*
  • 5 GB of Amazon S3 storage, 20,000 Get Requests, and 2,000 Put Requests*
  • 30 GB per of internet data transfer (15 GB of data transfer “in” and 15 GB of data transfer “out” across all services except Amazon CloudFront)*
  • 25 Amazon SimpleDB Machine Hours and 1 GB of Storage**
  • 100,000 Requests of Amazon Simple Queue Service**
  • 100,000 Requests, 100,000 HTTP notifications and 1,000 email notifications for Amazon Simple Notification Service
    **
    

In addition to these services, the AWS Management Console is available at no charge to help you build and manage your application on AWS. Read more…

Categories: Technology Tags: ,

What is coming up in JDK 7 ?

October 20th, 2010 Vinay No comments

JDK 7 which is scheduled to be release in 2011, has some new features which should make programming fun. One of them is dynamically typed language . The JSR 292 new method invocation mode : invokedynamic. With that new bytecode keyword, we can call method only known at runtime.

A new package java.dyn that will use this new functionality. That package will improve the performances of Java reflection and mainly the performances of the others languages that run in the JVM.

Then there is a new class java.util.Objects. This class contains 9 static methods to work on Objects.

See the complete list of JDK 7 features

There is a post by Arun, Advantages of Java 7- Project Coin

Categories: Programming / tutorials Tags: ,
Get Adobe Flash playerPlugin by wpburn.com wordpress themes