Friday, February 27, 2009

Tutorial about GWT-EXT and Cypal working with eclipse

Tutorial about GWT-EXT and Cypal working with eclipse
http://www.gwt-ext.com/wiki/index.php?title=Tutorial:Introduction_to_GWT-Ext_2.0
http://www.ibm.com/developerworks/opensource/library/os-eclipse-ajaxcypal/

I followed this two tutorial to setup things for my project.

Sunday, February 22, 2009

quote of the day

A good listener is not only popular everywhere, but after a while he knows something
"The Secret of getting things done is to act"

Friday, February 20, 2009

He who has overcome his fears will truly be free.

Dignity does not consist in possessing honors, but in deserving them.

Try this shell script example to improve shell script concepts

http://www.freeos.com/guides/lsst/

Try out all these examples...

Thursday, February 19, 2009

RMI and auto Login

File down loader service using RMI is explained here...
this link helped me a lot....
http://java.sun.com/developer/technicalArticles/RMI/rmi_corba/

steps to configure autoLogin

eval ssh-agent
ssh-add identity
enter the passphrase:

Thanks

Monday, February 16, 2009

Prototype language

God java script article to differentiate from prototype language from class based language.
https://developer.mozilla.org/en/Core_JavaScript_1.5_Guide/Class-Based_vs._Prototype-Based_Languages
http://www.phpied.com/3-ways-to-define-a-javascript-class/

Saturday, February 14, 2009

Quote collection----> Eye opener article

http://litemind.com/five-reasons-to-collect-favorite-quotes/
With this i'll start writing my best read quotes...

Great minds discuss ideas, Avg minds discuss events, narrow minds discuss individual.

Thursday, February 12, 2009

My schedule for next one month

feb 12:
11 - 5:30 class
5:30 - 9:30 DCS group work
11:30 - 2:30 VIRO work

feb 13:
10:30 - 1:00 VIRO work
1:00 - 3:00 Group meeting
3:00 - 6: 00 International group meet
7:00 - 1:30 VIRO work

feb 14
9:30 -9:30 VIRO work

feb 15
9:30 - 4:30 PROXY work

10:30 - 8:00 Adv Internet Programming

Wednesday, February 11, 2009

IT deliver case model

The cost of infusing technology into business deeds needs to evaluated from various perspective like return cost, business needs, duration of use, operational feasibility, required expertise, core competency model etc. As one size never fits all hence one needs to decide on "ownership and operational responsibility of technology development and maintenance" issues in Business.
Case Study: Keo Partners
Requirements and current analysis:
1. Improving knowledge collaboration and team performance. Help in on boarding/off boarding process. Software will be used for internal uses by HR department.
2. Number of employees are going to increase manifold as the contracts are expected to be double in near future. So need is urgent.
3. To be used by HR department which has limited skills for software or hardware management.
4. Long term use of this IT model is desired.
5. Need to be tailored to requirement of HR department.
6. I assume that financial constraints are there as this is not a core competency of business model.
7. As of now company size is small. Looks like a startup company.

On basis of these observations and facts i feel "site-hosting management service provider" model should fit best to the requirement of KEO Partners.

reasons:
1. As software is required soon hence this is suitable. Keo's customers are going to double in coming future hence need of such a software to be quickly available is strongly desired as it'll help in reducing the orientation time of new employees and may result in better productivity.

2. Keo has long term requirement and they wish to tailor the software according to their own requirements. This needs a control over software and upgrade release without incurring heavy cost. Hence "site-hosting management service provider" model is encouraging.

3. This is not a core competency area for Keo so the threat of unreliability of technology provider will not effect the productivity of business to larger scale.

Why not others:
Perpetual licensing:
As company size is small and company looks like a startup company hence licensing may lead to costly solution. Also large scale dependency over technology provider is not desirable in case of limited trust.
Software rental:
As software is required for long run hence this is not desirable.Also Keo would like to tailor software according to its requirement over time. Hence this make a negative choice for all this.
Software on demand:
Software customization is not possible here. Use of such service is limited by genericness of software. Uncertainity about features of product/service fitting into Keo's software needs.

Monday, February 9, 2009

Synthetic feasibility in Chemical informatics

Speaker domain: Dr. Watson started with chemistry, moved to pharmaceutical and photographic system. Presently working in machine learning.

Background:
Recent pharmaceutical industry has been investing $43 billion per year and huge wave of patent expiration is looming in the near future. Also pharmaceutic industry lacks the advanced IT infrastructure for simulations and experiments. One such example is “Chemical information processing”. Speaker's work involve study of quantitative structure activity relationship which uses various machine learning and virtual screening approaches. Evolution of new feasible structure needs some sampling. It uses parallel sphere exclusion for oversampling of molecule.

Synthetic feasibility assessment:
What: It is an a-priori estimate of the difficulty involved with making one or a set of small organic molecules. This estimation/prediction approach can use either knowledge based approach or computation based approach. But each have its own share of problem.
Knowledge base system might not be a feasible way because of:
1.It can not be annotated.
2.Knowledge base might be incomplete
3.Everything in chemistry and reaction is having exception.
So obvious choice is to use computation model for making prediction but there are few other problems associated with Computation model.
1.hard to make
2.not feasible some time.

To overcome this a new knowledge based approach is used which bases abound the theory that existing body of molecule implicitly reflects the difficulty of making those molecules. Model extrapolate to molecule substructure and then decompose molecular sub structure and look at small sub problem in the data base. Database uses concept of concentric fingerprinting to store the information in the database because concentric fingerprinting are easy to canonicalize. Concentric fingerprinting is done on basis of radius of various sub structure.
A missing molecule key shows that molecule is never made while a small radius miss is more important then large molecule miss.
Summary:
Body of already-made molecules inherently embodies all concepts of difficulty, cost, toxicity and other attributes.
Difficult parts of molecule provide example of precedent molecules.

Future work:
Personalized medicine on basis of gene analysis.
Biggest challenge is evaluation and rules for side effects which increase risk component.
How work in gene informatics can be used in chem informatics.

Wednesday, February 4, 2009

I need to read some article and deeply understand this part. I found many good question on this concept but i am not sure the situation of when to use them?

Second point to read in C in greater detail is concept of sequence point and rvalue and lvalue.

One finer study tells that following statement is absolutely valid.
*((mycondition) ? &var1 : &var2) = myexpression;

Read about function pointer and pragma.... conditional operator...

Also goto can not be used to jump across different function.

Monday, February 2, 2009

for multiple images
content:disposition is used in HTTP protocol...
This will give you file name which can be used to store the file.
Always remember...

The postfix "++" operator has higher precedence than prefix "*" operator. Thus, *p++ is same as *(p++); it increments the pointer p, and returns the value which p pointed to before p was incremented. If you want to increment the value pointed to by p, try (*p)++.

pointers ... save me .. save me

Why do i always get confuse while dealing with pointer...
Study this program immediately.

#include

void hello(char *s){

while( *(s+0) != '\0'){
printf("%c\n", *(s+0));
*(s+0) = 'a'; //comment and try then as well.
s++;
}
}

int main (int argc, char *argv[]){

char a[] = "my name is saurabh jain\0";
hello(a);
printf("hello %s", a);

return 0;
}

Here incrementing s in function will not make difference to "a" as both are different pointers and pointing to same array.
But if using "s" we change the value of string then that would be reflected in main.

__Saurabh

Error in compilation of cpp file

Error:
/tmp/ccA3vJnB.o:(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status

Reason:
Platform specific error.
Try using g++ instead of gcc.

Sunday, February 1, 2009

I see many of services mentioning about REST or RESTful Services so i decided to dig further on this standard.
Here is compilation of what i have learned.
REST stands for representational state transfer. With a large number of IT giants adapting this REST, it is being projected as an alternative to SOAP toolkit methods. REST consider each URL on internet as a resource or object. One can use HTTP GET to fetch contents of objects and use POST, PUT, or DELETE to modify/delete the object.
We will see further in the document what does that mean?

Some of the companies like Yahoo, Amazon, Flickr, twitter etc have provided their API conforming with SOAP as well as RESTful format. However SOAP is still widely used format with grace of Google. Here i list some of the advantages and disadvantages for SOAP and RESTful resources.

REST:
Easy to build as no toolkits are required.
Human readable results.
Light weight as less XML stuff here.
Server side efforts required. One need to handle serialization of XML data.

SOAP
Development tools available.
Rigid, type checking
Easy to work with sometimes.
Client side efforts required as server side efforts, serialization de-serialization issues are handled by SOAP libraries only. Regualar HTTP based API exporting requires a hell lot of efforts. HTTP based API requires additional work of mapping URI paths to specific handler.

All information you gain should be intended to solve some problem. So without wasting time, i'll first explain the practical way of using REST as opposed to RPC.

Reference:
http://www.petefreitag.com/item/431.cfm
http://en.wikipedia.org/wiki/Representational_State_Transfer
http://effbot.org/zone/rest-vs-rpc.htm
http://bhavin.directi.com/http-vs-rest-vs-soap/