4/8/12

Hướng dẫn tích hợp NganLuong.Vn vào VirtueMark Joomla!

Sau đây chúng tôi hướng dẫn chi tiết và đơn giản nhất để các bạn có thể tích hợp đơn giản vào website có sử dụng nguồn mở Joomla kèm VirtueMark.
Bước 1: Quý vị và các bạn download file đính kèm trong bài viết này và giải nén: tich_hop_ngan_luong_joomla_virtuemark_pitvietnam.rar (Passrar: www.pitvietnam.com)
Bước 2: Trong thư mục tich_hop_ngan_luong_joomla_virtuemark_pitvietnam đã giải nén ta thực hiện các bước sau:
-    Replace file checkout.index.php trong thư mục đã giải nén vào thư mục administrator/components/com_virtuemart/html/ của Joomla
-    Copy file checkout.nganluong.php trong thư mục đã giải nén vào thư mục administrator/components/com_virtuemart/html/ của Joomla
Bước 3: Vào phần quản trị của Joomla, chọn menu Components->Virtuemart. Trong trang quản trị này, chọn vào mục danh sách các phương thức thanh toán (List Payment Methods) bên menu trái. Trong danh sách các phương thức thanh toán, thêm một phương thức đặt tên là: Nganluong.vn, mã phương thức: NL, và sang phần Configuration của phương thức này thêm nội dung sau vào:
require_once( PAGEPATH . 'checkout.nganluong.php');
?>
Bước 5: Trong file administrator/components/com_virtuemart/html/checkout.nganluong.php cần nhập lại các thông tin sau:
-    Địa chỉ email tài khoản người bán
-    Mã đơn hàng, giỏ hàng
Đến đây bạn đã hoàn tất việc tích hợp tùy biến cho site có sử dung nguồn mở Joomla.
Phòng IT - PITvietnam
(Cảm ơn sự hỗ trợ của NgânLượng.vn)

4/7/12

Prolog :- tutorial

Introduction

Prolog is a logical and a declarative programming language. The name itself, Prolog, is short for PROgramming in LOGic. Prolog's heritage includes the research on theorem provers and other automated deduction systems developed in the 1960s and 1970s. The inference mechanism of Prolog is based upon Robinson's resolution principle (1965) together with mechanisms for extracting answers proposed by Green (1968). These ideas came together forcefully with the advent of linear resolution procedures. Explicit goal-directed linear resolution procedures, such as those of Kowalski and Kuehner (1971) and Kowalski (1974), gave impetus to the development of a general purpose logic programming system. The "first" Prolog was "Marseille Prolog" based on work by Colmerauer (1970). The first detailed description of the Prolog language was the manual for the Marseille Prolog interpreter (Roussel, 1975). The other major influence on the nature of this first Prolog was that it was designed to facilitate natural language processing.
Prolog is the major example of a fourth generation programming language supporting the declarative programming paradigm. The Japanese Fifth-Generation Computer Project, announced in 1981, adopted Prolog as a development language, and thereby focused considerable attention on the language and its capabilities. The programs in this tutorial are written in "standard" (University of) Edinburgh Prolog, as specified in the classic Prolog textbook by authors Clocksin and Mellish (1981,1992). The other major kind of Prolog is the PrologII family of Prologs which are the descendants of Marseille Prolog. The reference to Giannesini, et.al. (1986) uses a version of PrologII. There are differences between these two varieties of Prolog; part of the difference is syntax, and part is semantics. However, students who learn either kind of Prolog can easily adapt to the other kind.
This tutorial is intended to be used to help learn the essential, basic concepts of Prolog. The sample programs have been especially chosen to help promote the use of Prolog programming in an artificial intelligence course. Lisp and Prolog are the most frequently used symbolic programming languages for artificial intelligence. They are widely regarded as excellent languages for "exploratory" and "prototype programming".
Chapter 1 explains the Prolog programming environment for the beginner.
Chapter 2 explains Prolog syntax and many essentials of Prolog programming through the use of carefully chosen sample programs. The sample programs are arranged to guide the student through the development of Prolog programs that are constructed in a top-down, declarative fashion. Care has been taken to cover Prolog programming techniques that are very useful in an artificial intelligence course. In fact, this primer can serve as a convenient, small, concise Prolog introduction for such a course. Semantic issues have been addressed by introducing early the concept of a program clause tree that is used to define in an abstract way what are supposed to be the consequences of a Prolog program specification. The author believes this to be a viable way to promote the basic semantic issues of software verification for Prolog programming. The last section of this chapter introduces an example that shows that Prolog can be effectively used to give careful, precise specifications of systems, contrary to its usual reputation as being hard to document because it is easy to use as an exploratory programming tool.
Chapter 3 explains the operation of the underlying inference engine of Prolog. Chapter 3 should be first read after the student has studied two or three of the sample programs in Chapter 2. The last section in this chapter introduces Prolog meta-interpreters.
Chapter 4 gives an outlined view of the major built-in predicates of Prolog, many of which are exemplified in Chapter 2.
Chapter 5 gives an outline for developing A* search programs in prolog.  Section 5.3 has an αβ search program for the game of tic tac toe.
Chapter 6 presents a unique and extensive presentation of a logic meta-interpreter for normal logical rulebases. {Note 9/4/2006: I have edited this chapter heavily, and the section links are all new.}
Chapter 7 gives an introduction to Prolog's built-in grammar parser generator, and a brief overview of how Prolog can be used to parse English (natural language) sentences. Also, there is a section covering the construction of simple idiomatic natural language interfaces to programs.
Chapter 8 shows how to implement varios prolog prototypes. A new section (§8.4) develops an interactive connection between prolog (inference engine) and Java (GUI) to play tic tac toe. The simple connection model is quite widely adaptable and applicable.
Earlier versions of portions of this tutorial date back to 1988. The introductory material was originally used to help explain a Prolog interpreter developed by the author (no longer available) for use in his courses. The author believes that the introductory material, gathered together in the form given here might be very useful for the student who wants a quick, but well-tailored, introduction to Prolog.
For fuller treatments of Prolog the student is advised to see the textbooks by Clocksin and Mellish (1981,1992), by O'Keefe (1990), by Clocksin (1997, 2003), or by Sterling and Shapiro (1986).
For excellent historical notes regarding Prolog and natural language processing using Prolog the text by Pereira and Shieber (1987) is recommended.
Pomona, California
1988-2011

BEGINNING >>>

4/2/12

A simple guide to creating your first Vista Gadget

Gadgets are simply HTML and JavaScript. The SideBar exposes a bunch of API's which are accessible from JavaScript and extends the HTML schema. In this short guide we will greate a simple "Hello World" gadget.

The four steps

  • Create a directory to contain the gadget files.
  • Create an HTML page for our "Hello World".
  • Create the XML file for the gadget manifest.
  • Test the created gadget with Vista Sidebar.

Step 1 - Create a directory to contain the gadget files

Locate and open your gadgets folder. Click the Start button, and then click Run. In the Open text box, type:
%userprofile%\AppData\Local\Microsoft\Windows Sidebar\Gadgets
This will open an explorer window containing your Gadgets folder.
Create a new folder named HelloWorld.gadget

Step 2 - Create an HTML page for our "Hello World".

Create a file named HelloWorld.html and update it's contents with the following HTML:
(NOTE: The source is available for download at the bottom of this article)
<html>
<head>
    <title>Hello, World!title>
    <style>
        body
        {
            margin: 0;
            width: 130px;
            height: 65px;
        }
        #gadgetContent
        {
            width: 130px;
            top: 24px;
            text-align: center;
            position: absolute;
            font-family: Verdana;
            font-size: 10pt;
        }
    style>
head>
<body>
    <span id="gadgetContent">
        Hello, World!
    span>
body>
html>

Step 3 - Create the XML file for the gadget manifest

Now you need to create a Gadget manifest. This is an XML file that specifies the core HTML file and defines the gadget's properties, such as name, icon, and description. Every gadget manifest is named gadget.xml.
To create the gadget manifest, copy and paste the following text into a new file. Save your file with the file name gadget.xml. For localization support, make sure that you save your gadget.xml file with UTF-8 encoding.
xml version="1.0" encoding="utf-8" ?>
<gadget>
    <name>Hello, World!name>
    <namespace>Example.Younamespace>
    <version>1.0.0.0version>
    <author name="Your Name">
        <info url="www.example.com" />
    author>
    <copyright>© 2007copyright>
    <description>My first gadgetdescription>
    <hosts>
        <host name="sidebar">
            <base type="HTML" apiVersion="1.0.0" src="HelloWorld.html" />
            <platform minPlatformVersion="1.0" />
            <permissions>Fullpermissions>
        host>
    hosts>
gadget>

Step 4 - Test the created gadget with Vista Sidebar

  • Right click on the Sidebar. Choose Add Gadgets...
  • Double click the Hello World Gadget
The gadget should now appear on your sidebar. If you want to make updates to the Gadget HTML then view the changes you need to remove it from the sidebar and add it again for the changes to become visible.

Next Steps....

Why not try adding a background to the Gadget (see GadgetBackground), changing the height or editing the CSS to make it appear differently.

3/22/12

iPhone App Development Tutorial

Part 1.  Content
- Introduction to iPhone Programming
- Getting Setup
- Programming Fundamentals
- Download Links:
  1. Slide
  2. Video    
  3. Example   
  4. Exercise
  5. Screenflow
Part 2:  Content
- iPhone UI Design Considerations
- Application Layout
- iPhone UI Element Overview
- Download Links:
  1. Slide    
  2. Video
  3. Example    
  4. Exercise
Part 3:  Content
- Drawing
- Touch and input
- Download Links:
  1. Slide
  2. Video  
  3. Example
  4. Screenflow
Part 4:  Content
- Storing Data
- Download Links:
  1. Slide
  2. Video
  3. Example
  4. Exercise
  5. Screenflow
Part 5:  Content
- Web Service Architectures
- SOAP Introduction
- NSURLConnection
- NSXMLParser
- Download Links:
  1. Slide
  2. Video
  3. Example
References

3/6/12

20 Best Websites To Download Free EBooks

It would be nice if we’re able to download free e-book and take it with us. That’s why we’ve again crawled deep into the Internet to compile this list of 20 places to download free e-books for your use. Full list after jump.

  1. FreeBookSpot

    FreeBookSpot is an online source of free ebooks download with 4485 FREE E-BOOKS in 96 categories which up to 71,97 GB.
    You can search and download free books in categories like scientific, engineering, programming, fiction and many other books. No registration is required to download free e-books.
     20 Best Websites To Download Free EBooks
  2. 4eBooks

    4eBooks has a huge collection of computer programming ebooks. Each downloadable ebook has a short review with a description. You can find over thousand of free ebooks in every computer programming field like .Net, Actionscript, Ajax, Apache and etc.
     20 Best Websites To Download Free EBooks
  3. Free-eBooks

    Free-eBooks is an online source for free ebook downloads, ebook resources and ebook authors. Besides free ebooks, you also download free magazines or submit your own ebook.
    You need to become a Free-EBooks.Net member to access their library. Registration is free.
     20 Best Websites To Download Free EBooks
  4. ManyBooks

    ManyBooks provides free ebooks for your PDA, iPod or eBook Reader. You can randomly browse for a ebook through the most popular titles, recommendations or recent reviews for visitors. There are 21,282 eBooks available here and they’re all free!
     20 Best Websites To Download Free EBooks
  5. GetFreeEBooks

    GetFreeEBooks is a free ebooks site where you can download free books totally free. All the ebooks within the site are legal downloadable free ebooks.
     20 Best Websites To Download Free EBooks
  6. FreeComputerBooks

    FreeComputerBooks consists of a huge collection of free online Computer, Programming, Mathematics, Technical Books, Lecture Notes and Tutorials. It is very well categorized by topics, with 12 top level categories, and over 150 sub-categories.
     20 Best Websites To Download Free EBooks
  7. FreeTechBooks

    FreeTechBooks lists free online computer science, engineering and programming books, textbooks and lecture notes, all of which are legally and freely available over the Internet. Throughout FreeTechBooks, other terms are used to refer to a book, such as ebook, text, document, monogram or notes.
     20 Best Websites To Download Free EBooks
  8. Scribd

    Scribd, the online document sharing site which supports Word, Excel, PowerPoint, PDF and other popular formats. You can download a document or embed it in your blog or web page.
     20 Best Websites To Download Free EBooks
  9. Globusz

    Globusz is a unique ePublishing house, specializing in free eBook downloads. They also provide an excellent Star Rating Showcase for new and evolving authors.
     20 Best Websites To Download Free EBooks
  10. KnowFree

    KnowFree is a web portal where users are able to exchange freely e-books, video training and other materials for educational purposes and self-practice.
     20 Best Websites To Download Free EBooks
  11. OnlineFreeEBooks

    OnlineFreeEBooks provides links to various ebooks (mostly in pdf) spanning in 9 big categories which are: Automotive Ebooks, Business Ebooks, Engineering Ebooks, Gadget Ebooks, Hardware Ebooks, Health & Medical Ebooks, Hobbies Ebooks, Programming & Technology Ebooks, Sport & Martial Art Ebooks.
     20 Best Websites To Download Free EBooks
  12. MemoWare

    MemoWare has a unique collection of thousands of documents (databases, literature, maps, technical references, lists, etc.) specially formatted to be easily added to your PalmOS device, Pocket PC, Windows CE, EPOC, Symbian or other handheld device.
     20 Best Websites To Download Free EBooks
  13. BluePortal

     20 Best Websites To Download Free EBooks
  14. OnlineComputerBooks

    OnlineComputerBooks contains details about free computer books, free ebooks, free online books and sample chapters related to Information Technology, Computer Science, Internet, Business, Marketing, Maths, Physics and Science which are provided by publishers or authors.
     20 Best Websites To Download Free EBooks
  15. SnipFiles

    SnipFiles offers you free ebooks and software legally by brought or attained PLR, resale or master rights to all the products on their page.
  16.  20 Best Websites To Download Free EBooks
  17. BookYards

    BookYards is a web portal in which books, education materials, information, and content will be freely to anyone who has an internet connection.
  18.  20 Best Websites To Download Free EBooks
  19. The Online Books Page

    The Online Books Page is a Listing over 30,000 free books on the Web.
  20.  20 Best Websites To Download Free EBooks
  21. AskSam Ebooks

    AskSam Ebooks has a collection of free e-books like Shakespeare, and assorted legal & governmental texts.
  22.  20 Best Websites To Download Free EBooks
  23. Baen Free Library

     20 Best Websites To Download Free EBooks
    Baen Free Library is an online library of downloadable science fiction novels.
  24. eBookLobby

    Free ebooks in eBookLobby are divided into different categories. Categorys range from business, art, computing and education. Select the category appropriate to the e-book you’re looking for.
     20 Best Websites To Download Free EBooks

Other Free eBook Resources

  1. PlanetPDF – A small collection of classic novels all in PDF format.
  2. DailyLit – Read books online by daily email and RSS feed.
  3. Wikibooks – Wikibooks is a Wikimedia community for creating a free library of educational textbooks that anyone can edit.
  4. Dwalin – Free novels in text format.
  5. Project Gutenberg – Free ebooks from producers.
  6. Adobe Free eBooks – In Adobe’s Free eBooks area, you can download, unlock, and read electronic books on your personal computer or reading device.
  7. Alive & Free – A page of links to some recent books from living authors available free online.
  8. Franklin – Thousands of free titles in text and HTML file formats.
  9. Read Easily – An ebook online library which has been designed to provide you an adaptive reading experience!
  10. PDFbooks – This new site offers around 4,700 downloadable public domain e-books.
  11. Witguides – An online source for a wide range of useful e-books that are completely free with no need to sign-up or buy anything.
  12. Diesel eBooks -Offer free ebooks formatted for both Microsoft Reader and Mobipocket.
  13. Free eBook Miners
    Free eBooks for your education, research or amusement.
  14. Planet eBook
    Free classic literature to download and share.
  15. e-Library – Plenty of free ebooks available for download.
  16. BookBoon – Provides free ebooks for students and travelers in PDF format. No registration is required.

More eBooks

We’ve got Part II. Click here to find out another 30 websites to download free ebooks!

3/2/12

What is opensource?

http://www.sigs.de/download/tdwi_08_Muc/W4A_Madsen_OpenSource.pdf


2/26/12

Transitional Words and Phrases


Transitional words and phrases can create powerful links between ideas in your paper and can help your reader understand the logic of your paper.
However, these words all have different meanings, nuances, and connotations.
Before using a particular transitional word in your paper, be sure you understand its meaning and usage completely and be sure that it's the right match for the logic in your paper.

Addition

  • furthermore
  • moreover
  • too
  • also
  • in the second place
  • again
  • in addition
  • even more
  • next
  • further
  • last, lastly
  • finally
  • besides
  • and, or, nor
  • first
  • second, secondly, etc.

Time

  • while
  • immediately
  • never
  • after
  • later, earlier
  • always
  • when
  • soon
  • whenever
  • meanwhile
  • sometimes
  • in the meantime
  • during
  • afterwards
  • now, until now
  • next
  • following
  • once
  • then
  • at length
  • simultaneously
  • so far
  • this time
  • subsequently

Place

  • here
  • there
  • nearby
  • beyond
  • wherever
  • opposite to
  • adjacent to
  • neighboring on
  • above, below

Exemplification or Illustration

  • to illustrate
  • to demonstrate
  • specifically
  • for instance
  • as an illustration
  • e.g., (for example)
  • for example

Comparison

  • in the same way
  • by the same token
  • similarly
  • in like manner
  • likewise
  • in similar fashion

Contrast

  • yet
  • and yet
  • nevertheless
  • nonetheless
  • after all
  • but
  • however
  • though
  • otherwise
  • on the contrary
  • in contrast
  • notwithstanding
  • on the other hand
  • at the same time

Clarification

  • that is to say
  • in other words
  • to explain
  • i.e., (that is)
  • to clarify
  • to rephrase it
  • to put it another way

Cause

  • because
  • since
  • on account of
  • for that reason

Effect

  • therefore
  • consequently
  • accordingly
  • thus
  • hence
  • as a result

Purpose

  • in order that
  • so that
  • to that end, to this end
  • for this purpose

Qualification

  • almost
  • nearly
  • probably
  • never
  • always
  • frequently
  • perhaps
  • maybe
  • although

Intensification

  • indeed
  • to repeat
  • by all means
  • of course
  • doubtedly
  • certainly
  • without doubt
  • yes, no
  • undoubtedly
  • in fact
  • surely
  • in fact

Concession

  • to be sure
  • granted
  • of course, it is true

Summary

  • to summarize
  • in sum
  • in brief
  • to sum up
  • in short
  • in summary

Conclusion

  • in conclusion
  • to conclude
  • finally

Demonstratives acting as transitions

  • this
  • those
  • these
  • that

Pronouns serving as links to clearly refer to a specific word or phrase

  • his
  • its
  • theirs
  • it
  • their
  • your
  • her
  • they
  • our