Sabtu, 26 Maret 2011

LISP programming

Lisp is a programming language that has been aged more than 40 years. Lisp excellence lies in its ability to manipulate symbols and relations between symbols with ease, so that this language in the field of Artificial Intelligence cocokdigunakan (AI) and decision making. However, this language can also be used to solve other problems. 
During its development, Lisp produce many variants and is the origin of other languages ​​(such as Logo and Smalltalk). On December 8, 1994 ANSI (American National Standards Institute) succeeded in standardizing Lisp, which was named ANSI Common Lisp.

EXPRESSION
The expression is a combination of operands and operators
 
- Operands may be an appropriate value bertype operator, or the application function.
- Expression of functional: 
a) Expression of arithmetic, logic 
b) the conditional expression 
c) a recursive expression


RECURSIVE
Recursive Definition 

- Recursive: mathematical method that is the definition of a function contain the function itself. 
- Recursive: a function that calls itself and belong to the dynamic programming. 
- Recursive: an ability subroutine / subprogram to call her own. 
- Definition by Niclaus Wirth: "An object is said be recursive if it is partially consist or defines in terms of Itself"

A simple example of recursion process is the process of calculating the factorial value of positive integers


0!  = 1
N! = N x (N-1)! to N > 0

- If the modified dalamnotasi programming:
Factorial (0) = 1 1)
Factorial (N) = N * factorial (N-1) 2)
Equation 2) above is an example of the relationship rekurens (recurrence relations),
which means that the value of a function with certain arguments can be calculated from
functions similar to a smaller argument.

Equation 1) is not recursive, called the initial value. Each function recursion
at least have an initial value, if not, the function can not be calculated explicitly.
 

- Cara Mempercepat Windows XP
- LISP programming

Jumat, 25 Maret 2011

Creating a Web Template

A good website is a website that consistently. Consistent here means having a shape, same layout and navigation between one page to another page.Therefore, if we create a website, we have to prepare a template. If we do not use a template, of course we will have difficulty in managing the web, especially if the number of pages created quite a lot. By using templates, then create another page is not an issue. As much as any page that you want We'll make it later, We'll just stay based on the template that already we have created. If, there is the wrong section, We have only just enough to change the templates and other pages will automatically follow the template that we created.

If we use the template, usually there are certain parts on the website that should always be the same, such as logos and navigation. These sections will be made for non-editable. Then there are also parts that must be edited, such as website content, We can create templates using Macromedia Dreamweaver. Templates are created using Dreamweaver would have the extension. dwt

- Steps to create templates
1. Define a new site in Dreamweaver ('ve ever learned in the previous meeting)
2. Open Dreamweaver, choose File menu> New 
> Make a web page layout as usual. Then save it as a template. Select File -> Save as Template
(For example, I save with the name templateutama. Click the Save button
If the template is established, look at the Files Panel. There is created a folder "Templates" and a file with an. dwt
)
3. Next is to determine what parts that can be edited and may not be edited. In the example given, the part that can be edited is part of the contents of which is on the right. Section menus and headers will not change.
4. In this example the left side, will be the menu
Place the cursor on the left side of the page. Select the menu Insert -> Template Objects -> Optional Region


- How to make buttons
1. Insert > Media > Flash Button > Ok
    Button Text : Home
    Link : index.html
    Klik Ok

2. Profile button and faculty made ​​the same way
3. In the contents, Put the cursor on the contents (right), Insert> Template Objects> Editable Region
4. Open a new HTML Document
File> New> Templates> TemplateUtama> Create
Will display a web page in accordance with custom-made templates.
Change the content according to the following display and save by using index.html
  
     
- Cara Mempercepat Windows XP
- LISP programming
 

 
Design by Wordpress Theme | Bloggerized by Free Blogger Templates | coupon codes