Saturday, August 29, 2009

How to increase Netbeans IDE heapsize

It's always good to keep a copy of netbeans.conf file before starting this process.

  1. From the etc directory in the NetBeans IDE installation directory, copy the netbeans.conf file into your NetBeans IDE user directory, for example: $HOME/ .netbeans/caps/etc directory.

    Note - You may need to create the etc directory in the NetBeans IDE user directory.

  2. In your NetBeans IDE user directory, edit the —J-Xmx command line Java startup switch in the netbeans.conf file, for example:
    # command line switches
    netbeans_default_options=" -J-Xms32m -J-Xmx128m -J-XX:PermSize=32m
    -J-XX:MaxPermSize=96m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true"
  3. Restart NetBeans IDE.
source: http://developers.sun.com

Wednesday, August 26, 2009

Apple is coming up with Mac OS X Snow Leopard on Aug 28 '09

Snow Leopard Server includes dozens more new features, enhancements, and improvements. For example, Mail Server now includes push email support and runs on a new engine that scales to handle tens of thousands of users at a time. With the new 64-bit kernel, Snow Leopard Server can fully utilize more physical memory, dramatically increasing the total number of simultaneous system processes, threads, and network connections the server can handle.
Apart from this, finder is updated, apple has made it more powerful. I will discuss couple of it's features today.

iCal Server 2

With iCal Server 2, Apple claims that sharing calendars, scheduling meetings and co-ordinating meetings will be easy within a workgroup. One good thing I liked about it is, iCal Server 2 allows you to invite your colleagues for a meeting over email if they aren't using iCal, iCal Server 2.

Wiki Server 2

Mac OS X Server makes it easy for groups to collaborate and communicate through their own wiki-powered intranet website. Wiki Server 2 now includes one of the most useful features in Mac OS X: Quick Look. Just click the Quick Look icon next to an uploaded document and you can view it without downloading the file. Quick Look supports all standard file formats, including text, Word, Excel, PowerPoint, Pages, Numbers, Keynote, QuickTime, and PDF.

source: apple.com

Monday, August 24, 2009

Java Server Faces

One of the greatest advantages of JavaServer Faces technology is that it offers a clean separation between behavior and presentation. Web applications built using JSP technology achieve this separation in part. However, a JSP application cannot map HTTP requests to component-specific event handling nor manage UI elements as stateful objects on the server, as a JavaServer Faces application can. JavaServer Faces technology allows you to build web applications that implement the finer-grained separation of behavior and presentation that is traditionally offered by client-side UI architectures.
The separation of logic from presentation also allows each member of a web application development team to focus on his or her piece of the development process, and it provides a simple programming model to link the pieces. For example, page authors with no programming expertise can use JavaServer Faces technology UI component tags to link to server-side objects from within a web page without writing any scripts.
Another important goal of JavaServer Faces technology is to leverage familiar UI-component and web-tier concepts without limiting you to a particular scripting technology or markup language. Although JavaServer Faces technology includes a JSP custom tag library for representing components on a JSP page, the JavaServer Faces technology APIs are layered directly on top of the Servlet API. This layering of APIs enables several important application use cases, such as using another presentation technology instead of JSP pages, creating your own custom components directly from the component classes, and generating output for various client devices.
Most importantly, JavaServer Faces technology provides a rich architecture for managing component state, processing component data, validating user input, and handling events.

Tuesday, August 11, 2009

EpixHD.com New on the block to compete with Youtube and Hulu

In Technology world, everyday some or other things fascinate me. Let it be Google wave, Project Natal, Iphone's craze or cloud computing. This is recession time but I am very optimistic about future and above all very excited about what will be the future of all these technologies.

One more addition to the list mentioned above is epixhd.com. This is soon to be launched website from parent companies like Viacom Inc's Paramount film studio, Lions Gate Entertainment Corp and MGM. Users can watch movies, concerts and originals shows on this website with crystal clear print with features like revind, fast forward.

I always wonder the success of Hulu with a competetor like You tube. As per the
Epix Chief Digital Officer Emil Rensing, Hulu has got a great player but EpixHd.com has got some cool features from Youtube and Hulu. My best wishes with epixhd.com. Let's see how it goes?


Thursday, July 30, 2009

Download Youtube videos using google chrome

Usually browser require some plugin to download Youtube videos. I came across a real cool way of downloading youtube videos using Google chrome which doesn't require any plugin.

It can be done using a javascript in google chrome.

To do this right click on the bookmarks bar in chrome browser and select 'Add page', you can name this page something as 'Download Youtube Video' and enter the javascript mentioned below in one line in the URL box:

javascript:window.location.href = 'http://youtube.com/get_video?video_id=' + swfArgs['video_id'] + "&l=" + swfArgs['l'] + "&sk=" + swfArgs['sk'] + '&fmt_map' + swfArgs['fmt_map'] + '&t=' + swfArgs['t'];

After doing this, if you go to Youtube.com and start any video and then click on 'Download Youtube Video' to start the download of that video. You can see the progress of video download at the bottom of google chrom browser window.

The downloaded video will have name as 'get_video' and won't have any extension, Rename this video file to whatever you want with .flv extension and one of the way of running these .flv video is using 'VLC Media Player' which you can download for free.