Skip to content

you can make money

You can make money, only if you know exactly what happens after 3 months. And most of the people who made money knows this

Having clear cut vision of the future makes us one step ahead of others. If I know the future, I can use it for my advantages. As simple as that…

Simple comparison between Google and Amazon EC2

I have tried both Google App Engine and Amazon EC2 Cloud. Here is my take on these two. My opinion is based on my experiment with Free Tier of services allowed by these two service providers. In case of Google, I only used free quota and in case of Amazon I used only t1.micro instance.

It is possible that as the load and computation complexities increases, there may be significant advantage and disadvantage over another.

Overall, if you are ready to spend around 15-20 bucks per month, you will get significantly better hosting environment than the wholesale webhosting retailers.

Feel free to add your opinions…

Read more

Quick start up of Eclipse

Eclipse loads useful and useless  plug-ins during it’s start up. That makes us to wait looking at the flash screen for quite sometime. I found out this trick to make it quicker and faster during start up.

Open Window->Preferences, and expand General category. You will find subsection ‘Startup and Shutdown’. Expand it and uncheck all those plug-ins which you don’t use frequently or you think which are hogging your precious memory space. The next restart should show you some improvement. If not, change your computer….;)

 

image

Parsing XML with namespace

How to parse XML tags with namespace?

Look at the below example, I want to fetch <itunes:summary> info. How do I do it with Java or Groovy?

   1: <?xml version="1.0" encoding="utf-8"?> 

   2: <rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:media="http://search.yahoo.com/mrss" xmlns:dm="http://www.dailymotion.com/dmrss"> 

   3:    <channel> 

   4:    <title>Dailymotion - most recent videos</title> 

   5:    <link>http://www.dailymotion.com/1</link> 

   6:    <description><![CDATA[Most Recent Videos]]></description> 

   7:     <itunes:subtitle>Dailymotion - Most Recent Videos</itunes:subtitle> 

   8:     <itunes:summary>Most Recent Videos</itunes:summary> 

   9:    <itunes:owner> 

  10:       <itunes:name>Dailymotion</itunes:name> 

  11:       <itunes:email>rss@dailymotion.com</itunes:email> 

  12:    </itunes:owner> 

  13:    <language>en-US</language> 

  14:    <lastBuildDate>Thu, 10 Feb 2011 17:10:51 +0100</lastBuildDate> 

  15:       <image> 

  16:           <url>http://www.dailymotion.com/images/dailymotion.jpg</url> 

  17:           <title>Dailymotion - most recent videos</title> 

  18:           <link>http://www.dailymotion.com/1</link> 

  19:           <width>400</width> 

  20:           <height>144</height> 

  21:       </image> 

  22:         <dm:link rel="uql" href="http://www.dailymotion.com/rss/1" type="application/rss+xml"/> 

  23:         <dm:link rel="sort_by_featured" title="Featured Videos" href="http://www.dailymotion.com/rss/us/featured/1" type="application/rss+xml"/> 

  24:         <item>...</item> 

  25:     </channel> 

  26: </rss>  

Unable to compile Resources directory

If you are using Snecha GXT UI libraries for GWT app and encounter ‘unable to compile Resource’ module or ‘Unable to find entry point for Resource’ module’

Check these things

  1. ‘resource’ directory is under web application root (war directory under Eclipse  project structure)
  2. Check if you have added com.extjs.gxt.samples.resources.Resources.gwt.xml under GWT->Compile->Add Entry Modules list. If so, remove the module entry and recompile.

Cleveland Snow Videos

This is the video taken after night long winter storm in Cleveland. Although, it hasn’t affected much like other places, still it’s a worth video taping…;)

This own is on my way to 271 S on Chagrin Blvd

This is own 271 S on my way to office in Barberton.

Any money spent in capitalism is a good money

Any money spent in capitalism is a good money.

No need to debate over, if you are spending your money for good cause or bad cause. Just spend it. Your money is good, as long as you spend it.

You can do anything, all you need is a justification

You can do anything, all you need is a justification

As long as you can sell your justification to others, you can do whatever you want

Attributes defined only in child types

How do you get the attributes defined only for the child type in Enovia?

print type <type name> select attribute dump |;

This command will give you all the attributes associated with the type including those inherited from its parent.

Use below command to get all the attribute defined only for the type in question.

print type <type name> select immediateattribute dump |;

Developing a search based application

Known as SBA, Search-based Applications employ semantic technologies to aggregate, normalize and classify unstructured, semi-structuredand/or structured content across multiple repositories, and employ natural language technologies for accessing the aggregated information.

To give you an idea, let us say restaurant directory that consolidates source data including database content (restaurant listings in the directory database), Web content (photos, details like opening hours, prices, menus, payment options, etc.), and user-generated content (opinions, ratings, reviews, blogs, etc., also gathered from the Web), with sentiment analysis applied on the aggregated content. It also incorporates geospatial data for mapping. The result is an ultra-rich directory that synthesizes a massive amount of information into a coherent, at-a-glance consumer dashboard.

Read more