Sunday, April 6, 2008

Flexgrid - using jquery




This one's UI looks cool like ExtJS.

Lightweight but rich data grid with resizable columns and a scrolling data to match the headers, plus an ability to connect to an xml based data source using Ajax to load the content.

Similar in concept with the Ext Grid only its pure jQuery love, which makes it light weight and follows the jQuery mantra of running with the least amount of configuration.

Features

* Resizable columns
* Resizable height and width
* Sortable column headers
* Cool theme
* Can convert an ordinary table
* Ability to connect to an ajax data source (XML and JSON[new])
* Paging
* Show/hide columns
* Toolbar (new)
* Search (new)
* Accessible API
* Many more

Audio Recording in browser

I have researched and found various options to do sound recording. Here are the details about each option:

Flash Audio Recording

Requirement:
Server
Flash Media Server - http://www.adobe.com/products/flashmediaserver/
Nelly2PCM Decoder - http://code.google.com/p/nelly2pcm/

Client
Flash player

1. Flash Audio/Video(or both) recording works on client server architecture. Client is the Flash player on the client browser whereas server is the Flash Media Server.
2. Client streams the live audio/video(or both) to the FMS server.
3. FMS server can record the streaming and store it in the *.flv type file.
4. FMS internally use Nellymoser(audio/video encoding technique) to encode stream to the FLV file.
5. Once the FLV file is located on the server then you will need a decoder to converted flv to MP3(in our case). Nellymoser provides decoder for $7500(which is too expensive in open source market).
6. I tried some more of the flv to mp3 convertor to convert the nellymoser flv to mp3 but had no luck initially.
7. One of the conversion program that worked creating AMR from nellymore encoding flv file was Total Video Convertor. I used GUI tool to convert flv to AMR. They have command line utility available for $350. http://www.effectmatrix.com/total-video-converter/
8. Finally I found this, Nelly2PCM convertor http://code.google.com/p/nelly2pcm/downloads/list which was able to convert FLV file generated by FLASH to PCM. JACKPOT !!
9. I converted flv to PCM and now PCM to WAV to MP3 using SOX and LAME.
10. Now I know the route to complete the flash recording using all above steps, I just need to code it for our need.


Red5 (Open Source Flash Server) -http://osflash.org/red5
Another option to do the same job without using ADOBE flash was RED5. It does the same job of FLASH MEDIA SERVER. The good part is it is open source . That means streaming and recording streaming data to FLV file. Although it also generate the streaming data to FLV only.
I didn't tried this server yet.

ViMas Technology (Mp3 Recording) using Java Applets http://www.vimas.com/index.php
Requirements
Server-
Java
JAVA applet object

Client
Java
JavaScript to communicate with server object

1. This thing works perfectly on different browser and platform including mac and pc
It support
Target OS Platform: Windows 98/NT/2000/ME/XP/2003, Mac OS X.
Target browsers: Windows: Microsoft IE 4.0 and up, Netscape 7, Opera, Mozilla, Firefox.
Mac : Safari, Opera.
Java versions: Microsoft Java 1.1 and Sun Java plug-in 1.4 -1.6.
2. It can generate MP3 directly and can upload to a server. It can also be used to store it on the local hard drive.
3. The only limitation is JAVA in this case.
4. This is a ready to use solution if we want to start recording from web.
5. We can use there demo version which currently allow 20 sec of recording. Otherwise they are priced at $399

MFC Application
1. I created an MFC app that can record sound on the desktop.
2. It can record the sound from the local computer microphone.
3. It currently stores the file to the local machine in WAV format.
4. But in next update we can make it upload to the server.
5. Once done then we can make it as a browser plugin to record sound.


By the way, I also learned about Ogg Vorbis format which an open source royalty free formats used to store and play digital music.
http://www.vorbis.com/faq/#what

Thursday, April 3, 2008

How to Install the server on Linux

First of all install the following dependency as they may be required:
  1. yum install seamonkey-nspr.i386
  2. yum install compat-libstdc++-33.i386
  3. yum install libstdc++.so.5

Then

  1. Log in as a root user (required to install Flash Media Server).
  2. Locate the installation file, FlashMediaServer3.tar.gz.
  3. Open a shell window and switch to the directory with the installation file.
  4. Untar the installation file:

i. tar -xzf FlashMediaServer3.tar.gz

  1. A directory with the installation program is created.
  2. At the shell prompt, enter cd and navigate to the directory created in step 5.
  3. Start the installation program with the following command:

i. ./installFMS

  1. The installation program starts and displays a welcome message.
  2. Press Enter to start the installation.
  3. By default, Flash Media Server is installed to the /opt/adobe/fms directory.
  4. Follow the installation instructions on your screen.
  5. Enter a user for Flash Media Server processes to run as. The default is the “nobody” user. (The user you select is also the owner of the Flash Media Server files.)
  6. You will be asked to enter a serial numberYou can leave it blank
  7. The installation is complete. If you configured it to start automatically, the Flash Media Server service starts.
  8. To start the server manually enter

i. ./fmsmgr server fms start.

that's all

Monday, March 31, 2008

Create Asp.Net project using LLBLGen Pro tool

Here I am going to share how to use LLBLGen Pro tool to create a project in ASP.Net

Using LLBLGen Pro to create project:-

  1. First of all create a database using sql server
  2. Open LLBLGenPro tool.
  3. Open new project from file menu
  4. In the Create project window:

· Give the project information

· Select SQL Server7/2000/2005/2008 driver(sqlclient) from Dropdown

· Give the name of the server

· Select the name of the database and click create button

  1. After that click on project explorer:-

· Right click on Entities and click on add new entities mapped on tables.

· Select the table names and click create button

  1. Click on project tab:

· Click on Generate:

· Configure the code generation process window will open up:

· Select C# , .NET2.0

· Type the namespace

· Select tamplate group:

1.Adaptor work as a disconnected approach 2.Selfservicing work as connected approach

· Click on start generator

  1. A log view will be visible if errors occur it will show Close this window and Save the project
  2. The work of LLBLGen Pro software is finished here.

How to use LLBL to make a ASP.net project:-

1. Open a new website:-

· Right click on solution explorer’s project

· Add existing project , LLBL project that you have created, eg-llblTest

· Again add existing project , LLBL project that you have created, eg-llblDBTest

· Right click on the references of llblTest project click on Add Reference

On .NET Tab select LLBLGen Pro .NET2.0 ORM support Classes Library, click ok

· Right click on the references of llblDBTest and click on Add Reference

On .NET Tab select LLBLGen Pro .NET2.0 ORM support Classes Library and LLBLGen Pro Pro .NET2.0 Dynamic Quey Engine for SqlServer(7/2000/2005/2008), click ok

· Right click on solution explorer’s project and rebuild the project

· Right click on Test and click add reference and click on projects llblTest and llblDBTest. Click OK

· Right click on Test and click add reference and click on recent LLBLGen Pro .NET2.0 ORM support Classes Library. Click OK

2. Now click on toolbox and choose items, select LLBLGenProdatasource and LLBLGenProdatasource2. Click OK

3. Now in web.config file, in appsettings add connectionstring for the database access

4. Now you are ready for the project

Best of All

Best Overall: Facebook
http://www.facebook.com/

Facebook revolutionized the idea of what social networking could be.

Best technology innovation / achievement: Earthmine

http://www.earthmine.com/
Just next to Google Eath

Best video startup: Hulu

http://www.hulu.com/

Hulu put television online.

Best user-generated content site: Digg

http://digg.com/

Best mobile start-up: Twritter

http://twitter.com//

Twitter, for micro blogging.

Best International startup: Netvibes

http://www.netvibes.com/

Best personalised web.

Best consumer startup: Meebo

http://www.meebo.com/

Instant Messaging through different accounts on one site.

Best enterprise startup: Zoho
http://www.zoho.com/

Google doc, powerpoint, meetings, invoices all online.........

Best design: Smugmug

http://www.smugmug.com/

SmugMug is professional photo site.

Best new gadget/ device: Apple

http://www.apple.com/iphone/

Best business model: Zazzle

http://www.zazzle.com/

Best way to turn yourself into a brand loyal consumer...check this out.

Best bootstrapped startup: Techmeme

http://www.techmeme.com/

No need to use ggogle reader for immediate news.......

Best Startup Founder: Mark Zuckerburg

At 23 Mark has built one of the world’s leading online destinations that has recently been valued at $15 billion. A remarkable achievement for anyone, let alone someone at the still relatively young 23. A well deserved award.

Best Startup CEO: Toni Schneider automattic

Best new startup: imedix

http://www.imedix.com/

iMedix combines search and social networking to change the way people find health information online. Users are encouraged to help each other by sharing health experiences and links from around the web.

Most likely to succeed: Automattic

http://www.crunchbase.com/product/wordpress-com

Best use of viral marketing: Stumble Upon

http://www.stumbleupon.com/

Just like del.icio.us
keep browsing for more.............

Best Of All

Best Overall: Facebook

http://www.facebook.com/

Facebook revolutionized the idea of what social networking could be.

Best technology innovation / achievement: Earthmine

http://www.earthmine.com/

Just next to Google Eath

Best video startup: Hulu

http://www.hulu.com/

Hulu put television online.

Best user-generated content site: Digg

http://digg.com/

Best mobile start-up: Twitter

http://twitter.com//

Twitter, for micro blogging.

Best International startup: Netvibes

http://www.netvibes.com/

Best personalised web.

Best consumer startup: Meebo

http://www.meebo.com/

Instant Messaging through different accounts on one site.

Best enterprise startup: Zoho

http://www.zoho.com/

Google doc, powerpoint, meetings, invoices all online.........

Best design: SmugMug

http://www.smugmug.com/

SmugMug is professional photo site.

Best new gadget/ device: Apple iPhone

http://www.apple.com/iphone/

Best business model: Zazzle

http://www.zazzle.com/

Best way to turn yourself into a brand loyal consumer...check this out.

Best bootstrapped startup: Techmeme.

http://www.techmeme.com/

No need to use ggogle reader for immediate news.......

Best Startup Founder: Mark Zuckerberg (Facebook)

At 23 Mark has built one of the world’s leading online destinations that has recently been valued at $15 billion. A remarkable achievement for anyone, let alone someone at the still relatively young 23. A well deserved award.

Best Startup CEO: Toni Schneider (Automattic)


Best new startup: iMedix

http://www.imedix.com/

iMedix combines search and social networking to change the way people find health information online. Users are encouraged to help each other by sharing health experiences and links from around the web.

Most likely to succeed: Automattic (WordPress)

http://www.crunchbase.com/product/wordpress-com

Best use of viral marketing: StumbleUpon

http://www.stumbleupon.com/

Just like del.icio.us

keep browsing for more.............

Saturday, March 29, 2008

Visual Search Engine

When I though about the idea of visual search engine, the only thing that hit my mind was SLOW SLOW SLOW.

BUT I WAS WRONG

I got invitation to see the searchme private beta. The search engine idea is AMAZING without any doubt. How it works?

I typed in a keyword in the first screen. The screen had only one field (see the image bellow), as soon as I type the keyword, it gives me the relative category.



I entered leewayhertz and it showed me internet and web services, advertisement and marketing,web development, software and work & career. I can hit enter or I can click on one of the category. I clicked on the search all and it shows me the result of the keyword as images(see image bellow).


The resulting images arrived surprisingly fast and it doesn't ends here. I carefully saw the images the keyword I searched for(in this case 'leeewayhertz') was marked in yellow in the images itself. This is pretty cool.