Mar 08

Want to know what Allpeers is all about? (you will never repent watching this video)

AllPeers is the Firefox Killer app

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis

Tags:

Mar 08

Most of you must be knowing this site. But I really dont know how I missed this site till today.  If you are a “reader” of feeds and a Web 2.0 addict, you will find this site crazy to the core.

http://www.netvibes.com/

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis

Tags: , ,

Mar 08

“Oracle has just announced from EclipseCon that it is donating the TopLink O/R persistence framework to the OSS community. This is a fairly substantial contribution of code.”

Here are some info on the framework.

When you are using Oracle as your backend, you really might want to prefer Toplink over Hibernate. From the house of Oracle (at least after all those buyouts), it obviously has lots of support for Oracle database. On the other side too, it looks like it has a stable caching and lazy loading mechanism than Hibernate. People have used Toplink against other databases in Production environment and they just say it performs slightly better than Hibernate.

“If you are using the Oracle DB then support for hints, hierarchical queries, XDB XML Type with query constructs, Object-Relational database types with queries, many SQL extended function and types (TIMESTAMP*, NCLOB, …), excellent support for complex stored procedures and functions, as well as support of Virtual Private Database will definitely be key factors in your comparison.” (source : oracle.com)

Toplink has been in the market for over 10 years now. But what stopped it from becoming popular? Struts had better documentation whereas Webwork had a better framework. Same is the case with Toplink. Lack of good documenation initially and the cost involved in buying Toplink (Toplink was, of course, commercial initially) were the top things that were stopping Toplink from becoming popular. Now that Toplink has good documentation and become opensource, what’s stopping us?

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis

Tags: , ,

Mar 08

When it comes to Ajax what are the most common things you do?

1)  Avoid browser cache for GET requests.  

2) Hit the server wit that ’special’ javascript and populate single/multiple div tags.

3)  Get data as XML/JSON and parse the data  to populate the html page

4) Populate the data in a new Tab instead of a div.

If you really want to know the top 5 patterns that any AJAX user would be falling under (along with code snippets), here is the page from ibm.com.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis

Tags:

Mar 08

From Oracle 10g, Dropped tables can be restored. Meaning, you can now rollback one of your DDL statement. This is how you do it.

drop table t;

Table dropped.

desc t;

ERROR: ORA-04043: object t does not exist

select count(*) from t;

select count(*) from t;

ERROR at line 1: ORA-00942: table or view does not exist

flashback table t to before drop;

Flashback complete.

You have now restored your table.

Behind the scenes, what happens is that your dropped table is renamed and just gets restored from the recyle-bin when you “flashback”.

drop table t;

Table dropped.

select table_name from user_tables;

no rows selected

select object_name from recyclebin;

OBJECT_NAME

——————————

BIN$7oTtcup30ZfgMAGK/3hjKw==

flashback table t to before drop;

Flashback complete.

select object_name from recyclebin;

no rows selected

select table_name from user_tables;

TABLE_NAME

——————————

T

So, your table will not really be dropped. But just like any operating system moved to the recycle-bin from which you can restore later.

If you dont want your tables to be restored and be gone forever, then

drop table t purge;

Table dropped.

select table_name from user_tables;

no rows selected

select object_name from recyclebin;

no rows selected

source: Ask Tom

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis

Tags: , , , ,

Give your best to the world.