Saturday 26 November 2011

Setting up to compile C++ on Linux/Unix


How you set up to compile C++ programs depends on whether you are using Windows or Linux/Unix. This page describes the approach to use if you have a Linux/Unix machine. 

To establish that your Linux/Unix system has the correct C++ compiler installed, at the command prompt type this:

g++ -v
   



If your system is set up correctly, this command will launch the compiler executable and print its version. If an error message is printed instead, you will have to consult your documentation to make sure the compiler is installed and set up correctly.
When compile on Linux and other versions of Unix, use an executable shell file named gccp with this content:
 

#/bin/sh

echo compiling C++ using -ansi -pedantic-errors -Wall
g++ -ansi -pedantic-errors -Wall $1 $2 $3

   
If you want this shell file, simply copy it from this page and save it on your system in a file named gccp. Be sure to (1) make the file executable, and (2) place it in an accessible directory. Because I cannot know which version of Unix you are running, I can't really be more specific.

This shell file sets up the most strict ANSI standard compliance level, making it necessary for the programmer to pay attention to many compatibility and style issues. There may even be some incompatibilities within the C++ compiler's own library routines, so this shell file may not always result in a successful compile even if your program is flawless. But in general, it is a good idea to establish high standards as a student, to become accustomed to good programming style.

If you execute the compiler directly, without using the shell file, its behavior is more relaxed. This may sometimes be necessary. Do it like this:


g++ temp.cpp
   



Now set up a convenient data directory in which to place your programs. Create a file named temp.cpp with this content:


#include <iostream>

using namespace std;

int main()
{
      cout << "Hello World!" << endl;
      return 0;
}

   
Again, you should be able to copy this little program from this page, and use a text editor to save it as “temp.cpp.”

Move to the directory in which temp.cpp is located, and type this:


gccp temp.cpp

   
If you have not made any errors, the program will compile uneventfully, and a program file named “a.out” will be created in the same directory.

To execute your program, type “./a.out” (your system may require slightly different syntax) and press Enter. The program should run, and print “Hello world!” on the display.

This series of actions confirms that you have acquired a C++ compiler and it is working properly.

Linux and other versions of Unix usually have many worthwhile programming editors available, many of which can be customized to suit your requirements. But, again, because I cannot know which Unix you are running, I can't be specific. Be sure to look into the many editors that are available — they save a great deal of effort in programming.

And learn how to create a variety of executable shell files — they save a great deal of time on Unix systems. 

Friday 25 November 2011

Internet Download Manager (IDM)


IDM is a tool to increase download speeds by up to 5 times, resume and schedule downloads. Comprehensive error recovery and resume capability will restart broken or interrupted downloads due to lost connections, network problems, computer shutdowns, or unexpected power outages. Simple graphic user interface makes IDM user friendly and easy to use. Internet Download Manager has a smart download logic accelerator that features intelligent dynamic file segmentation and safe multipart downloading technology to accelerate your downloads. Unlike other download managers and accelerators Internet Download Manager segments downloaded files dynamically during download process and reuses available connections without additional connect and login stages to achieve best acceleration performance.



Internet Download Manager
supports proxy servers, ftp and http protocols, firewalls, redirects, cookies, authorization, MP3 audio and MPEG video content processing. IDM integrates seamlessly into Microsoft Internet Explorer, Netscape, MSN Explorer, AOL, Opera, Mozilla, Mozilla Firefox, Mozilla Firebird, Avant Browser, MyIE2, and all other popular browsers to automatically handle your downloads. You can also drag and drop files, or use Internet Download Manager from command line. Internet Download Manager can dial your modem at the set time, download the files you want, then hang up or even shut down your computer when it's done.

Other features include multilingual support, zip preview, download categories, scheduler pro, sounds on different events, HTTPS support, queue processor, html help and tutorial, enhanced virus protection on download completion, progressive downloading with quotas (useful for connections that use some kind of fair access policy or FAP like Direcway, Direct PC, Hughes, etc.), built-in download accelerator, and many others.

Version 6.07 adds IDM download panel for web-players that can be used to download flash videos from sites like YouTube, MySpaceTV, and Google Videos. It also features complete Windows 7 and Vista support, YouTube grabber, redeveloped scheduler, and MMS protocol support. The new version also adds improved integration for IE and IE based browsers, redesigned and enhanced download engine, the unique advanced integration into all latest browsers, improved toolbar, and a wealth of other improvements and new features.

Tuesday 22 November 2011


History of E-commerce

One of the most popular activities on the Web is shopping. It has much allure in it,  you can shop at your leisure, anytime, and in your pajamas. Literally anyone can have their pages built to display their specific goods and services.
History of e-commerce dates back to the invention of the very old notion of "sell and buy", electricity, cables, computers, modems, and the Internet. Ecommerce became possible in 1991 when the Internet was opened to commercial use. Since that date thousands of businesses have taken up residence at web sites.



At first, the term ecommerce meant the process of execution of commercial transactions electronically with the help of the leading technologies such as Electronic Data Interchange (EDI) and Electronic Funds Transfer (EFT) which gave an opportunity for users to exchange business information and do electronic transactions. The ability to use these technologies appeared in the late 1970s and allowed business companies and organizations to send commercial documentation electronically.
Although the Internet began to advance in popularity among the general public in 1994, it took approximately four years to develop the security protocols (for example, HTTP and DSL which allowed rapid access and a persistent connection to the Internet. In 2000 a great number of business companies in the United States and Western Europe represented their services in the World Wide Web. At this time the meaning of the word ecommerce was changed. People began to define the term ecommerce as the process of purchasing of available goods and services over the Internet using secure connections and electronic payment services. Although the dot-com collapse in 2000 led to unfortunate results and many of ecommerce companies disappeared, the "brick and mortar" retailers recognized the advantages of electronic commerce and began to add such capabilities to their web sites (e.g., after the online grocery store Webvan came to ruin, two supermarket chains, Albertsons and Safeway, began to use ecommerce to enable their customers to buy groceries online). By the end of 2001, the largest form of ecommerce, Business-to-Business (B2B) model, had around $700 billion in transactions.
According to all available data, ecommerce sales continued to grow in the next few years and, by the end of 2007, ecommerce sales accounted for 3.4 percent of total sales.
E-commerce has a great deal of advantages over "brick and mortar" stores and mail order catalogs. Consumers can easily search through a large database of products and services. They can see actual prices, build an order over several days and email it as a "wish list" hoping that someone will pay for their selected goods. Customers can compare prices with a click of the mouse and buy the selected product at best prices.
Online vendors, in their turn, also get distinct advantages. The web and its search engines provide a way to be found by customers without expensive advertising campaign. Even small online shops can reach global markets. Web technology also allows to track customer preferences and to deliver individually-tailored marketing.


History of e-commerce is unthinkable without Amazon and Ebay which were among the first Internet companies to allow electronic transactions. Thanks to their founders we now have a handsome ecommerce sector and enjoy the buying and selling advantages of the Internet. Currently there are 5 largest and most famous worldwide Internet retailers: Amazon, Dell, Staples, Office Depot and Hewlett Packard. According to statistics, the most popular categories of products sold in the World Wide Web are music, books, computers, office supplies and other consumer electronics.
Amazon.com, Inc. is one of the most famous ecommerce companies and is located in Seattle, Washington (USA). It was founded in 1994 by Jeff Bezos and was one of the first American ecommerce companies to sell products over the Internet. After the dot-com collapse Amazon lost its position as a successful business model, however, in 2003 the company made its first annual profit which was the first step to the further development.
At the outset Amazon.com was considered as an online bookstore, but in time it extended a variety of goods by adding electronics, software, DVDs, video games, music CDs, MP3s, apparel, footwear, health products, etc. The original name of the company was Cadabra.com, but shortly after it become popular in the Internet Bezos decided to rename his business "Amazon" after the world's most voluminous river. In 1999 Jeff Bezos was entitled as the Person of the Year by Time Magazine in recognition of the company's success. Although the company's main headquarters is located in the USA, WA, Amazon has set up separate websites in other economically developed countries such as the United Kingdom, Canada, France, Germany, Japan, and China. The company supports and operates retail web sites for many famous businesses, including Marks & Spencer, Lacoste, the NBA, Bebe Stores, Target, etc.
Amazon is one of the first ecommerce businesses to establish an affiliate marketing program, and nowadays the company gets about 40% of its sales from affiliates and third party sellers who list and sell goods on the web site. In 2008 Amazon penetrated into the cinema and is currently sponsoring the film "The Stolen Child" with 20th Century Fox.
According to the research conducted in 2008, the domain Amazon.com attracted about 615 million customers every year. The most popular feature of the web site is the review system, i.e. the ability for visitors to submit their reviews and rate any product on a rating scale from one to five stars. Amazon.com is also well-known for its clear and user-friendly advanced search facility which enables visitors to search for keywords in the full text of many books in the database.
One more company which has contributed much to the process of ecommerce development is Dell Inc., an American company located in Texas, which stands third in computer sales within the industry behind Hewlett-Packard and Acer.
Launched in 1994 as a static page, Dell.com has made rapid strides, and by the end of 1997 was the first company to record a million dollars in online sales. The company's unique strategy of selling goods over the World Wide Web with no retail outlets and no middlemen has been admired by a lot of customers and imitated by a great number of ecommerce businesses. The key factor of Dell's success is that Dell.com enables customers to choose and to control, i.e. visitors can browse the site and assemble PCs piece by piece choosing each single component based on their budget and requirements. According to statistics, approximately half of the company's profit comes from the web site.
In 2007, Fortune magazine ranked Dell as the 34th-largest company in the Fortune 500 list and 8th on its annual Top 20 list of the most successful and admired companies in the USA in recognition of the company's business model.
History of e-commerce is a history of a new, virtual world which is evolving according to the customer advantage. It is a world which we are all building together brick by brick, laying a secure foundation for the future generations.


Sunday 20 November 2011

THE INTRANET AND THE EXTRANET


Internet technology can be used to develop systems that are restricted to a company’s internal use. That is, such systems can only by accessed by the computers inside the company’s computer network. The purpose of such a system, known as an Intranet, is to enhance company operations through improved data access management.

More precisely, an Intranet is a corporate network based on Internet technologies that provides access to corporate internal data and supports the company’s internal operations. All the advantages of the Internets are replicated in an Intranet. Therefore, Intranets, using internal Webs, provide a platform for the development of new systems in a timely and cost-efficient manner. These new Web-based systems streamline company operations by facilitating the creation, collection, and distribution of information used for decision-making at all levels in the organization.


Like the Internet’s Web pages, the Intranet Web pages may be static or dynamic. And, like the Internet, the Intranet’s Web server and the Web client communicate through the HTTP protocol. In turn, HTTP uses the Internet standard TCP/IP network protocol to transfer data between client and server computers. In short, all the services provided by the Intranet system are integrated at the client's end under the browser. The end-user does not care or know about all the different applications running on the server side. Think of an Intranet as a locally owned and operated Internet whose access is carefully controlled.

Because Intranets are not meant to be used by the general public, they normally reside behind a corporate firewall. A firewall is a software component that limits and controls the data traffic into the company’s database or the data that are allowed to move outside the company’s boundaries. 

The Intranet’s business use may be extended through its latest variant, known as the Extranet. The Extranet extends the use of the Intranet to the corporation’s value chain. For example, a large retailer may use an Extranet to extend the internal product and ordering information to its suppliers and distributors, thereby helping to automate its supplier and distributor functions. In short, the existence of such an Extranet enhances the intra-business process workflow.



One of the very important advantages of Intranets is that they are relatively easy to setup and to implement at the technical level. However, once implemented, Intranet services tend to grow exponentially. This is especially true if we take in consideration that most Intranets tend to start as "departmentalized" services created as a way to rapidly react to end-user needs. In these systems, end-users are in charge of developing Web pages to add to the contents of the Intranet.

Saturday 19 November 2011

ImporTance of WeBsiTe URL Structure


When developing a website it’s all too easy to focus on aesthetic design and content. These certainly are important factors but so, too, is the site’s strategy. How you construct your website URLs will have a direct operational impact, and this design aspect should not be overlooked.
On many websites, URL structure is determined by the web developer and could look, for example, like: [company name].net/ files.asp?id=12adbe456&session=wertybr. Compare this with the “Contact Us” page of AGUK’s website, which is located at aguk.net/contact/. This is a nice short and easy to understand URL. You may think the contrast insignificant but, take my word for it, the benefits of a simple URL structure are substantial. Here are some of the advantages.
Easier Inbound Links
You want to encourage visitors to link to the content on your website at every opportunity. This becomes even more imperative as users share links on websites such as twitter, FaceBook and other social networking systems. If your URL is too long it makes it difficult to paste into these applications. Worse still, if your website relies on user sessions within the URL, (your developer will understand this but it is basically to track and identify visitors), then it may be impossible to link to a sub page on your website.
Simpler to Describe
If you are referring someone to the page they need on your website, whether over the phone or in person, it is much easier to describe a simple URL than one that contains a lengthy and complex string of letters and numbers.
Better Search Engine Results
Creating a URL structure where the page address also describes the content can improve your search engine rank. We have previously covered the topic of SEO, which can be accessed through our Blog.

coReTan hAty YanG LaRa


Ditujukan khas kePaDa :*************
Geram betoi teman ngan hang  ....
teman tak sangke kome wat cmnie ngan ceq...
ceq dah tolong ,,pndai2lah hargai ckiT...
Skrg kome kejekan teman mentah2..haritu kome tipu ceq bulat2...
mmg xabes piker btol..
Smpai ht k ko wat cm tu eak???
K mmg kome dh xde ht dan perasaan..????????
Xpelah..mudah2an,,
ape yg kome buat kt teman skrg brbalek kt empunye diri..
sOwy lah ea...
ceq pun dh brjnji yang ceq xkn tlg kome lg..
Ckuplah itu yang trakhir...
Sblm tu ceq mntk maaf dr hjg rmbut smpi hjg kaki..
teman xde niat nk burukkan ko,,
Tp sikap dan care  ko tu buat aku
saket hati
.....A.K.A......
MeLuaT
          Pahammmm...!!!!!!!!!!!!!!!!!!!!!!

Thursday 10 November 2011


The Benefits of an Information System

An information system is there to empower its users. A database simply provides data, but an information system is all about providing the best information the user needs to do their task more effectively. It also takes into account that different users doing their own specific tasks may need to see their information presented in differing ways. The benefits of an information system follow when the user can quickly access, understand and respond correctly to that information.

Take for example a bottling line that has the capability of filling 10,000 bottles a day, but like the majority of packaging lines actually achieves about 50% of its potential on average. The production manager wants to see the throughput data and the reasons why the machine is falling short. The operators on the other hand need to see alert messages as why the machine has just stopped and what action to take to fix it. The cause may be a specific mechanical failure such as a jam up, lack of product or one of many things. The production manager will be interested to discover that the mechanical failures only amounted to 8% stoppage time and another 5% due to lack of product. It will also notice that the main reason the line did not perform is because nobody pressed the start button when the machine was ready to run.

This example shows that Information systems can be powerful tools for business. The key is having current data converted to useful information and having that delivered to people who can act upon it before it’s too late. If the information is delivered too slowly then it is only a lesson learned rather than profitable opportunity.

Information systems do not need to be a real-time to qualify for this definition. The emphasis is more on providing useful information rather than raw data from a database that still needs processing or analysing to become meaningful.

Sometimes how an information system may benefit you is not initially clear. Often information systems evolve as your business grows. You may start with a simple database and as you identify areas where better information may provide economic benefits, you add to your base system. Information systems are rarely out-of-the-box solutions, they are something that grows with you. It is therefore very important that your systems technology allows you to have this path to build upon. You must be able to control the technology and not be locked into a standard boxed solution that only its manufacturers control. You get no assurance that their upgrades will be inline with your business needs of the future.

In summary, to get the greatest benefits from an information system, consider it an adaptable tool that you progress as your business progresses. Don’t get locked into inflexible technology, grow a system that delivers on what you really need most today, knowing that when tomorrow’s new challenges come, the system will have the flexibility to adapt. This is where custom software development delivers strongly.