Wednesday, July 14, 2010

Software reverse engineering

Software reverse engineering involves reversing a program's machine code (the string of 0s and 1s that are sent to the logic processor) back into the source code that it was written in, using program language statements.

Software reverse engineering is done to retrieve the source code of a program because the source code was lost, to study how the program performs certain operations, to improve the performance of a program, to fix a bug (correct an error in the program when the source code is not available), to identify malicious content in a program such as a virus or to adapt a program written for use with one microprocessor for use with another. Reverse engineering for the purpose of copying or duplicating programs may constitute a copyright violation. In some cases, the licensed use of software specifically prohibits reverse engineering.

Tuesday, July 13, 2010

Acessing Printer using jsp page

Those who like or need to access Printer from there jsp page.they have to setup Printer.Next from there jsp page they have to put the following code for the button implementation.

< input type="button" value="Print this page" onClick="window.print()" >

or else your have to use

java.awt.print Package.

Sunday, July 4, 2010

Functional Programming Vs Procedural Programming

Functional Programming

Functional programming should not be confused with procedural programming. Neither is it like object oriented programming. It is something different. Not radically so, since the concepts that we will be exploring are familiar programming concepts, just expressed in a different way. The philosophy behind how these concepts are applied to solving problems is also a little different.

Functional programming is all about expressions. In fact another way to describe Functional Programming might be to term it expression oriented programming since in Functional Programming everything reduces to an expression. You should recall that an expression is a collection of operations and variables that results in a single value. Thus x == 8 is a Boolean expression. 3 + (9-Y) is an arithmetic expression. And "Hello".uppercase() is a string expression. The latter is also a function call (Or more strictly a method call) on the string object "Hello" and, as we shall see, functions are very important in Functional Programming.

Programming language :- Python

Procedural Programming

A list of instructions telling a computer, step-by-step, what to do, usually having a linear order of execution from the first statement to the second and so forth with occasional loops and branches.

A procedural program is composed of one or more units or modules--either user coded or provided in a code library; each module is composed of one or more procedures, also called a function, routine, subroutine, or method, depending on programming language.

Programming language :- C