Bharat Banate's Work Profile

View Bharat Banate's profile on LinkedIn

Friday, August 31, 2007

GUI: Next Gen GUI Prototype(Must see)

hi there,
here is youtube link for bumptop GUI , i foundwhile just checking GUI's its nice concept and different from our conventional GUI.
well i try to upload video here , but due too technical problems i cant do that thing. and size is also litle big its 25mb.

you can see video here

See this one also


i would like to hear comments on this stuff! hope u all njoy it!

Thursday, August 30, 2007

Windows: Can you create these folders?

Hey guys out there,
can you create folder named CON on your system?
Well, have a try.... best of luck!

well, i don't think you can....

I don't know the exact reason, but you simply cannot create any folder with name CON.
Nor you can rename any existing folder to this name.
There are several such names, which you cannot use!
The list includes:
LPT1 to LPT9,
prn, nul,AUX,
COM1 to COM9
...and many other unknowns...

Even if you change the case of the letters, you simply cannot create them!

Wednesday, August 29, 2007

Antipodes Map:See the other side of the world

It's map day, I guess. I'm sure everyone has heard the expression "digging to Roots", referring to the notion that India is on the side of the world. Well, here's a site that shows you what is really on the other side of the Earth from you (known as your antipodal point).

In case you're curious, the antipodal point for Seattle is somewhere in the ocean southeast of South Africa. The antipodal point for Beijing, China is in Argentina.

Pretty cool, I njoyed lot Check out.

Check it out:

antipodemap.com

UML: What is UML?


The Unified Modeling Language (UML) is a standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems, as well as for business modeling and other non-software systems. The UML represents a collection of best engineering practices that have proven successful in the modeling of large and complex systems. The UML is a very important part of developing object oriented software and the software development process. The UML uses mostly graphical notations to express the design of software projects. Using the UML helps project teams communicate, explore potential designs, and validate the architectural design of the software.

Goals of UML

The primary goals in the design of the UML were:

  1. Provide users with a ready-to-use, expressive visual modeling language so they can develop and exchange meaningful models.
  2. Provide extensibility and specialization mechanisms to extend the core concepts.
  3. Be independent of particular programming languages and development processes.
  4. Provide a formal basis for understanding the modeling language.
  5. Encourage the growth of the OO tools market.
  6. Support higher-level development concepts such as collaborations, frameworks, patterns and components.
  7. Integrate best practices.

Why Use UML?

As the strategic value of software increases for many companies, the industry looks for techniques to automate the production of software and to improve quality and reduce cost and time-to-market. These techniques include component technology, visual programming, patterns and frameworks. Businesses also seek techniques to manage the complexity of systems as they increase in scope and scale. In particular, they recognize the need to solve recurring architectural problems, such as physical distribution, concurrency, replication, security, load balancing and fault tolerance. Additionally, the development for the World Wide Web, while making some things simpler, has exacerbated these architectural problems. The Unified Modeling Language (UML) was designed to respond to these needs.




Reference:UML

Monday, August 27, 2007

Rumours : New Apple iPods coming in September


Various news sites are reporting that Apple plans to launch new iPod models in September. There have been cease-and-desist orders handed out by Apple regarding photos as well as videos, although it is not clear whether Apple is covering up a trail or starting a fake one to create some excitement. Here's a few highlights that are being whispered:
  • A second generation iPhone (iPhone nano), a wide-screen iPod video (possibly with a touch-screen), an iPod nano with video support and an iPod shuffle with more storage are all likely announcements
  • The new devices will run different variants of Mac OS X, much like the iPhone
  • NAND flash memory will be used for storage for most, if not all, of the new products
  • A shorter but wider and thicker 4GB, 8GB and 16GB iPod Nano will be available in solid black, silver, cranberry, light blue, and light green
  • The new iPods will look much like the iPhone, except with a black, not silver, outside rim and may perform like it too: integration with iLife '08 (ability to browse 'Events' via a CoverFlow interface), similar way of displaying album art and a world clock widget
  • Despite touch-screen suggestions, it is unlikely the click-wheel interface will not be included in at least one of the new models


View
Supposed Leaked Images of 3G iPod Nano

source story:InformationWeek
|
Apple Insider
|Apple 2.0

CVS: What is CVS?

CVS stands for 'Concurrent Versions System'. It is a version control system. Using it, you can record the history of your source files.
For example, bugs sometimes creep in when software is modified, and you might not detect the bug until a long time after you make the modification. With CVS, you can easily retrieve old versions to see exactly which change caused the bug. This can sometimes be a big help.
You could of course save every version of every file you have ever created. This would however waste an enormous amount of disk space. CVS stores all the versions of a file in a single file in a clever way that only stores the differences between versions.
CVS also helps you if you are part of a group of people working on the same project. It is all too easy to overwrite each others' changes unless you are extremely careful. Some editors, like GNU Emacs, try to make sure that the same file is never modified by two people at the same time. Unfortunately, if someone is using another editor, that safeguard will not work. CVS solves this problem by insulating the different developers from each other. Every developer works in his own directory, and CVS merges the work when each developer is done.
CVS started out as a bunch of shell scripts written by Dick Grune, posted to comp.sources.unix in the volume 6 release of December, 1986. While no actual code from these shell scripts is present in the current version of CVS much of the CVS conflict resolution algorithms come from them.
In April, 1989, Brian Berliner designed and coded CVS. Jeff Polk later helped Brian with the design of the CVS module and vendor branch support.
In the upcoming post, you will find almost all the CVS terminologies and commands...

Sunday, August 26, 2007

Java Struts:Flow Diagram



Friday, August 24, 2007

Struts:Componants of Struts

What are the components of Struts?

Answer: Struts is based on the MVC design pattern. Struts components can be categories into Model, View and Controller.
Model: Components like business logic / business processes and data are the part of Model.
View: JSP, HTML etc. are part of View
Controller: Action Servlet of Struts is part of Controller components which works as front controller to handle all the requests.

Thursday, August 23, 2007

Perl: What is Perl ?

Perl is an interpreted language optimized for scanning arbitrary text files, extracting information from these files, and printing reports based on that information. It is also a good language for many system management tasks. The language is intended to be practical-easy to use, efficient, and complete-rather than beautiful-tiny, elegant, and minimal. Perl was written by Larry Wall (lwall@sems.com), with the help of lots of other contributors.

But, Why Perl???
UNIX system administrators and application developers often have to rely on several different languages to accomplish their tasks. This means learning a number of different syntaxes and having to write in multiple languages to accomplish a task. For example, to process a file, a system administrator might have to write a shell script using sh, process a file using awk or grep, and edit the file using sed. For other uses, the administrator may have to create a C program with its longer create/compile/debug development cycle.

It would be better if the administrator could combine many of these tasks into a simple language that is easy to write and develop, and reasonably efficient and complete. Along comes Perl.
In a single language, Perl combines some of the best features of C, sed, awk, and sh. People familiar with these languages have very little difficulty being productive in Perl. Perl's expression syntax is very C-like. Perl uses sophisticated pattern-matching techniques to scan large amounts of data very quickly. Although optimized for scanning text, Perl can also deal with binary data. If you have a problem on which you would ordinarily use sed, awk, or sh, but it exceeds these tools' capabilities or must run a little faster and you don't want to write the program in a compiled language such as C, Perl may be the language for you.

Perl Plus Points...
Perl has many advantages as a general-purpose scripting language. These benefits include its generous licensing (it's free), its interpreted nature, the fact that Perl is available for most platforms, and more.

First, Perl is generally available on most server platforms, including the following:
- Most UNIX variants
- MS-DOS
- Windows NT
- Windows 95
- OS/2
- Macintosh

Perl also has the distinct advantage of being "low cost." It is distributed free of charge or, at most, for a small copying charge. Actually, Perl is distributed under the GNU "copyleft," which means that if you can execute Perl on your system, you should have access to the source of Perl for no additional charge. (Actually, a small copying charge might be imposed.) Perl may also be distributed under the "artistic license," which some people find less threatening than the copyleft.

Availability
Perl is readily available from many sources, including any comp.sources.unix archive or CPAN site. If you don't have Perl on your server or development machine, it is easy to obtain either as source code or precompiled binaries for many platforms. For those not on the Internet, Perl is available via anonymous Uucp from both uunet and osu-cis. Perl is often distributed with CD collections of utilities for UNIX platforms.

Interpreted Language
Perl is interpreted. This can be either an advantage or disadvantage, depending on your needs. For example, Perl has a short development cycle compared to compiled languages, but it will never execute as fast as a compiled language. One advantage of an interpreted language for tool or application development is that you can perform incremental, iterative development and testing without having to go through a create/compile/test/debug/fix cycle. By eliminating the compile portion of the cycle, interpreted languages can speed the development cycle drastically. It can also be helpful if you are evolving your application by implementing it with minimal capabilities and adding advanced capabilities later.

Because it is interpreted and relatively C-like, you can also use Perl as a prototyping language. This can be especially useful with complex or technically difficult projects such as network communication. You can use Perl's shortened development cycle to evaluate your design and then, once it is proven, rewrite the code in the language of your choice. By the way, C and C++ are good choices because Perl is a lot like C and supports much the same functionality.

Easy to Use
Above all, Perl is a language in which you can do things. There are usually several ways to accomplish the same task. Although some techniques are more efficient with system resources than others, users can generally select the technique that is easier for them to use (and maintain/enhance in the future) and go with it.
The ease of use and completeness make Perl appropriate for quick-and-dirty, one-time utilities as well as structured, complex applications.

Efficient
Perl is a straight-line language, which means that simple programs do not have to deal with complex formatting or function/procedure or object/method structures to accomplish their task. As a simple example, let's pay homage to programming texts (including this one) with the "Hello World!" program.
Here it is in C:
void main()
{
printf("Hello World!");
}

And here it is in Perl:
print 'Hello World!'

Get in, get out, and get the job done.

Language Capabilities
Perl is optimized for text processing and, therefore, is very efficient at many tasks required of system administrators and application developers. Many of the files used in UNIX systems administration are plain text files. Selecting records, processing the selected records, and reporting exceptions are the heart of many tasks performed in UNIX administration.

In the current versions of Perl, the language also includes much additional functionality, making it appropriate for tasks such as processing socket calls, embedding in programs written in C, and maintaining POSIX-compliant systems.

Integration with C
Perl can access C libraries to take advantage of much of the code written for this popular language. Utilities included with Perl distributions enable you to convert the headers for these C libraries into their Perl equivalents.
Perl 5.0 can be integrated easily into C and C++ applications. Perl can call or be called by routines written in C or C++. The Perl interface is through a set of perl_call_* functions. The call to C libraries is through the XS language interface.

Relatively Easy to Learn
Unlike many programming languages, Perl is designed to be practical rather than beautiful. By this I mean that Perl was designed from the start to be easy to use, efficient, and complete rather than tiny, elegant, and minimal.

Programming in Perl is relatively easy, especially if you have experience in C or another C-like language. Like many scripting languages, Perl reads its programs from the first line to the last line. It doesn't require complex structures to be able to create a program. It does, however, support subroutines or functions and, in version 5.0, can be object oriented.

Perl Has Built-In Debugging Facilities
The Perl interpreter has a built-in debugger that can help reduce the time it takes to debug applications. The debugger is activated through the use of the -d switch on the command line. In addition, the -w switch provides a complete set of warnings that can be invaluable in debugging Perl scripts.

Finally, some Salt... Negative Points
Perl has few negatives as a scripting language for system administration tasks and as a language for module development. But there are a few.

Interpreted Language
Perl is interpreted. Therefore, it will not be as fast as compiled languages such as C or C++. Given the speed of modern CPUs, in all but very large or time-critical applications, this will not make a significant difference. And in fact, the interpreted nature of the language can reduce development time significantly by eliminating the time needed to compile and debug versions of the program.

Perceived as Public Domain
Perl isn't strictly in the public domain (see the license agreement for details). But it's close enough. Many large companies have policies against using public domain or copylefted software. In many cases, this bias is more of a mind-set than a negative, but it can be a detriment to using Perl.

Because Perl is in the public domain, there is no corporation that your company can apply leverage against to get something done. But you do have access to the Perl source to make specific needed changes to your environment, if required.

Informal Support
The support for Perl is on an informal basis through the volunteer efforts of users worldwide. Does this mean it is bad? No, not necessarily. In fact, the "support" given through the Internet newsgroups is probably as good as any given by a major corporation. But you can't depend on your question being answered, at least in a timely manner. And you don't have a corporation on which you can apply pressure to support your specific environment. On the other hand, you do have access to the source code for Perl and can look into problems yourself.

Protecting Proprietary Code
Perl isn't compiled (although there is an effort to make it so). Thus, if you distribute your solutions, you distribute code. This can be a deterrent to producing (at least your final application) in Perl.

Concerns About Reliability
Perl, in its version 5+ incarnation, is undergoing some major changes. Things might not work or might break later. This can be a concern for the future of applications written for a specific version and relying on a specific feature. On the positive side, there are a lot of people testing each release through use. Many of these bugs are quickly detected and ironed out.

Maintainability of Scripts
Perl has somewhat of a reputation for being unreadable. This can be a problem for system maintenance. However, Perl is probably no more unreadable than any C-like language. (C itself, in my opinion, is a very un-pretty-I won't say ugly-language; Perl suffers from that heritage.)
Like with any other language, the maintainability of Perl relies heavily on the willingness of the programmer to structure and comment/document the code. Because many "quick-and-dirty" utilities are written in Perl to get a specific job done and then expanded to be more generally usable, much of the available source code isn't all that pretty. (Sounds a little like the evolution of Perl itself, doesn't it?)

GNU Copyleft License Agreement
The GNU license under which Perl is distributed is really quite innocuous. But, it might be a problem depending upon the type of application you are developing. If you intend to do any of the following, Perl is probably not the best language to use:
Sell the application as a packaged product
Distribute an application that includes trade secrets
Keep your programming techniques secret

What Can Perl Do?
Perl is most commonly used to develop system administration tools. But it has also gained enormous popularity on the Internet. Perl can be, and is, used to develop many Internet applications and their supporting utility applications.

UNIX System Maintenance
As mentioned before, Perl can perform the work of several other tools, and usually in less time. It is particularly adept at processing the text files typically used as configuration files.

CGI Scripts
Perl is one of the most popular languages for creating CGI applications. There are literally thousands of examples of dynamic CGI programming in Perl. Perl can be used to create dynamic Web pages that can change depending on factors such as which visitor is viewing them.
One of the most common uses of Perl on the Internet is to process form input. Perl is especially adept at this chore because most of that input is textual-Perl's strength.

Mail Processing
Another popular use of Perl is for the automated processing of Internet e-mail. Perl scripts have been used to filter mail based on address or content. Perl scripts have also been written to automate mailing lists. One of the most popular of these programs is Majordomo.

Automating Web Site Maintenance
Perl can be used to automate the maintenance of Web sites. Because Web pages are little more than text files in a specific format, Perl is particularly adept at processing them. Perl's socket capability can also be used to contact other sites and request information using HTTP. There has even been a Web server written in Perl.

In order to check the links on a site, a Perl program must parse the sites pages starting with the main page, extract the URLs, and determine whether these URLs are still active.

Automating File Retrieval
There are several FTP clients written in Perl. Perl can be used to automate file retrieval via FTP. Again, this combines the socket capability of Perl with its text-processing capability.

Is Perl for Me?
Only you can answer this question! :)

Java Struts:MVC Architecture

What is Model-View-Controller (MVC) Architecture?

Model-View-Controller architecture is all about dividing application components into three different categories Model, View and the Controller. Components of the MVC architecture has unique responsibility and each component is independent of the other component. Changes in one component will have no or less impact on other component. Responsibilities of the components are:

Model : Model is responsible for providing the data from the database and saving the data into the data store. All the business logic are implemented in the Model. Data entered by the user through View are check in the model before saving into the database. Data access, Data validation and the data saving logic are part of Model.

View : View represents the user view of the application and is responsible for taking the input from the user, dispatching the request to the controller and then receiving response from the controller and displaying the result to the user. HTML, JSPs, Custom Tag Libraries and Resources files are the part of view component.

Controller : Controller is intermediary between Model and View. Controller is responsible for receiving the request from client. Once request is received from client it executes the appropriate business logic from the Model and then produce the output to the user using the View component. ActionServlet, Action, ActionForm and struts-config.xml are the part of Controller.

Google News: Launches YouTube Clips


Google has started to provide video clips in Google News, a feature it had been widely expected to add to its article search and aggregation site and which Yahoo and AOL already offer in their news sites.

Google News is adding the feature through a collaboration with the company's YouTube video-sharing site. The clips will come from channels that video news producers have set up on YouTube. Plus, with the YouTube video-playback technology, Google News users will not have to download any clips and they'll be able to view the videos in any browser, according to Google.

find the complet story here


Wednesday, August 22, 2007

Registry: Change the Message Shown on the Logon Box (Windows NT)

You can personalize (or legalize) the message displayed on the logon box above the user name and password.
Simply create a new string value named 'LogonPrompt' in the key below, and enter the text you want to display. The default message is: 'Enter a user name and password that is valid for this system.'

Key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
Value Name: LogonPrompt
Data Type: REG_SZ

Java Struts:Introduction

  1. What is Jakarta Struts Framework? - Jakarta Struts is open source implementation of MVC (Model-View-Controller) pattern for the development of web based applications. Jakarta Struts is robust architecture and can be used for the development of application of any size. Struts framework makes it much easier to design scalable, reliable Web applications with Java.

Registry: Disable Task Manager (Windows NT)

To enable or disable the user's ability to start Task Manager to view processes, applications running, and make changes to the priority or state of the individual processes, edit following key in registry using 'regedit' program.
(This option was added in Service Pack 2.)

Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]Value Name: DisableTaskMgr
Data Type: REG_DWORD
Data: (0 = disabled, 1 = enabled)

Tuesday, August 21, 2007

See the MOUSE











Welcome!!!


Welcome friends...........to..Sanganak Jidnyasa
This blog is Dedicated to Computer Science study and students.We start this blog today itself.You will see daily new posting about computer science and new techniques.