Archive

Archive for March 8th, 2007

AllPeers goes Open source — P2P sharing on browser

March 8th, 2007 Arun Manivannan No comments

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

AllPeers is the Firefox Killer app

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis
Categories: Uncategorized Tags:

NetVibes — Web 2.0 to the core

March 8th, 2007 Arun Manivannan No comments

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:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis
Categories: web 2.0 Tags: , ,

Oracle open sources Toplink – Its OR Mapping framework

March 8th, 2007 Arun Manivannan No comments

“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:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis
Categories: Uncategorized Tags: , ,

Common Ajax Patterns

March 8th, 2007 Arun Manivannan No comments

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:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis
Categories: Uncategorized Tags:

Flashback and Purge in Oracle 10g

March 8th, 2007 Arun Manivannan 1 comment

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:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis
Categories: undrop Tags: , , , ,

Essential Javascript methods

March 8th, 2007 Arun Manivannan No comments

I dont really speak javascript fluently.  Takes double the time to code than Java.  If you are like me or if you dont want to spend lots of time reinventing the wheel, then here is the list of some cool and commonly used javascript functions.  This site has some of the core methods in some popular javascript frameworks.  I personally used this getElementsByClassName() for a project.  Trim function, cross-browser ajax requests, searching an array are cool ones.

Ten_Javascript_Tools_Everyone_Should_Have 

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis
Categories: Uncategorized Tags:

Convert Youtube videos to wmv, avi, mpg — WHAT NOT???

March 8th, 2007 Arun Manivannan No comments

I really dont know how i found this site. Just followed some strange links and found the treasure. http://www.mediaconverter.org. You could just paste your youtube url and then directly get the converted file readymade. Optionally, you can also upload your media file and get it converted. Few seconds spent on registration is worth it.

Here is the screenshot of the console page.

Media center

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis
Categories: youtube Tags: ,

Mac laptops are really hot

March 8th, 2007 Arun Manivannan No comments

This is interesting. You forgot to switch off your laptop in your home and came to office.  How do you switch it off? With the batteries draining?

If your laptop is a Mac, then just send an email.

Just watch this “comprehensive” tutorial on how to do this.   ;-)

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis
Categories: Uncategorized Tags: ,

Download videos from Youtube

March 8th, 2007 Arun Manivannan No comments

There are lots of sites out there with which we can download Youtube videos. What makes this site different. Nothing. Except that the domain name is easy to remember.  http://www.kissyoutube.com.

But, as always, FLV downloads.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • description
  • Furl
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • TwitThis
Categories: youtube Tags: