Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Wednesday, December 31, 2008

A Practical Use Of Open Source Code Softwares

As we started the project of our electronic auction, we knew that the proprietary software costs would be too high for our financial resources. Our only option then was to make use of Open Source Code softwares.

However, within the Open Source Code there are lots of softwares to choose from, and it´s up to the system analyst/programmer to pick the ones that best suit the project goals.

In our case, we picked Linux as our operating system. However we faced a big question: Which Linux distribution ? There are dozens of linux distributions, each one with specific advantages, sometimes with or without paid services.

We chose linux Slackware because we thought that it would suit better our needs, in terms of stability and reliability. Slackware is a conservative distribution, meaning that it only offers in its distribution package kernel versions and third party libraries, once it´s been proved to be stable and reliable. As a result, Slackware is one the most stable Linux operating system on the market. If the user wishes the most recent Linux kernel and libraries, we recommend to look for a different distribution.

Another reason for us picking Slackware, was because of its text interface, which at the beginning may become a bit difficult, in the long run however it offers a better understanding of the Linux environment. This way most of Slackware configurations are done thru text scripts.

Once it was set the operating system, we picked Apache as our web server. Apache is one of the most popular web server in the internet. For server programming language, we chose PHP. Also, a very popular programming language. Our experience with Apache/PHP proves that this setup is very reliable, working extremely well in our production environment. For workstation programming language, we chose javascript, which besides of having a simple syntax, it offers lots of resources.

Apache web server is really a complete web server. Also, it can become very complex with many configuration setups.

For our database, we picked Postgresql. This database has been made available to the public for more than 15 years, and besides of being well debugged, it offers so many resources that it has become one of the best database options from Open Source Code softwares. Extremely reliable, Postgresql has reported cases where there have been databases in production with over 4 terabytes. Besides all of that, Postresql is not the most popular Open Source Code database. A matter of marketing ? Probably.

As for the programming language PHP, we had to use an object oriented application structure. There are many PHP application structures being offered with Open Source Code license. Object oriented application is very important, because it makes programming very easy and scalable up to the point where the system may grow without many problems. Also, it helps to keep PHP code separated from HTML, with the help of some specific libraries, such as Smarty. We make use of Smarty library and we believe that it is a very important resource, which can even make web pages faster thru the use of its cache functions.

Also a very important set of libraries worth mentioning for PHP systems, is the PEAR libraries. In PEAR web site, among the many libraries being offered, there are the database interface DB and the MAIL_QUEUE, which sends emails thru the use of database.

As we came to the end of our web site project, we had to use some sort of real time database replication. For that we chose the DRBD and Heartbeat libraries. The use of database replication is very important and should not be postponed. Just after 3 months our system got into production, our server hard disk became bad. Thru the use of DRBD/Heartbeat we were able to put the system back into production within seconds, without loosing any data. DRBD/Heartbeat replication is done thru the use of a lan network between the server and slave nodes.

Our project also makes use of ImageMagick (enlarge and reduce images), Iptables (firewall), Tsearch2(text search in portgresql) and Mon (linux monitoring tasks).

Also a very important library worth mentioning is the pseudo APC compiler for PHP. Speed is always a critical factor for internet sites.

Our web site is already in production and based upon our experience we can say that the Open Source Code softwares we picked, proved to be extremely reliable and stable. Open Source Code softwares can certainly be an excellent option for developing web sites.

Roberto Sedycias
IT Consultant

Tuesday, December 30, 2008

30 Phrases To Repeat During Difficult Technical Discussions

It used to be a skill of Social Climbers a key skill was that of name dropping.
Now it is a question of core phrase dropping during difficult technical discussion.
When at loggerheads it is always wise to know such phrases as

1) that is why it is time to upgrade to the new Microsoft Vista
2) Do you realize that they went to the moon on 8 k. of memory?
3) That idea has merit
4) They were discussing that very issue and exploit on that most popular podcast or blog, Time magazine, People magazine, New York or LA Times or the Economist.
The Economist magazine is always best. It is widely held in stead by left wing types.
It comes out weekly and covers the full waterfront. Best the stories seem to hold hidden jewels on rereads and it is impossible for anyone to have fully read any issue.
5) Dvorak’s Law in 1987 was “That no matter what they say your new computer is going to cost you $ 3,000”.
6) We should have never upgraded to ….
7) In the end functionality is everything
8) They should conduct a thorough study on that very relevant topic
9) HUD came to a similar conclusion after Katrina
10) Will this work cross platform
11) Do you realize that there is more English speaking in China than in all of North America?
12) I could not understand the accent of the tech support person on the toll free tech support line
13) It is available online at the FAQ at jerkbossesihaveknown
14) Yes that is the tact initiated by Windows NT
15) I remember this very topic in a discussion the Staples or Best Buy in store tech
16) Mr. Henry Ford on the tech support line from Banglore India answered that well very well and succintly
17) Do you realize that all software conflicts arise from the poor typewriting skills of software engineers who as well talk fast and drink too much coffee?
18) Is this driver available for this device for the Windows Vista operating system?
19) Biodiesel is the way to go. Biodiesel is the wave of the future.
20) Has this issue been followed up? A ticket written ?
21) We cannot have that here.
22) Bloated code
23) In the end economics simply comes down to supply and demand
24) There is identical to a Dilbert cartoon.
25) Those who cannot do manage. Let them down and spend some time in the front lines.
26) It never hurts to be conservative in these matters/
27) Experience is the key teacher in life
28) Are we properly currently licensed for this product?
29) Its simply a computer virus, spyware or malware
30) This will all end with crying.

10 Major Reasons To Switch To Linux

1. It Doesn't Crash

Linux has been time-proven to be a reliable operating system. Although the desktop is not a new place for Linux, most Linux-based systems have been used as servers and embedded systems. High-visibility Web sites such as Google use Linux-based systems, but you also can find Linux inside the TiVo set-top box in many livingrooms.

Linux has proved to be so reliable and secure that it is commonly found in dedicated firewall and router systems used by high-profile companies to secure their networks. For more than ten years, it has not been uncommon for Linux systems to run for months or years without needing a single reboot.

2. Viruses Are Few and Far Between

Although it is possible to create a virus to target Linux systems, the design of the system itself makes it very difficult to become infected. A single user could cause local damage to his or her files by running a virus on his or her system; however, this would be an isolated instance rather than something could spread out of control.

In addition, virtually all Linux vendors offer free on-line security updates. The general philosophy of the Linux community has been to address possible security issues before they become a problem rather than hoping the susceptibility will go unnoticed.

3. Virtually Hardware-Independent

Linux was designed and written to be easily portable to different hardware. For the desktop user, this means that Linux has been and likely always will be the first operating system to take advantage of advances in hardware technology such as AMD's 64-bit processor chips.

4. Freedom of Choice

Linux offers freedom of choice as far as which manufacturer you purchase the software from as well as which application programs you wish to use. Being able to pick the manufacturer means you have a real choice as far as type of support you receive. Being open-source software, new manufacturers can enter the market to address customer needs.

Choice of application programs means that you can select the tools that best address your needs. For example, three popular word processors are available. All three are free and interoperate with Microsoft Word, but each offers unique advantages and disadvantages. The same is true of Web browsers.

5. Standards

Linux itself and many common applications follow open standards. This means an update on one system will not make other systems obsolete.

6. Applications, Applications, Applications

Each Linux distribution comes with hundreds and possibly thousands of application programs included. This alone can save you thousands of dollars for each desktop system you configure. Although this is a very small subset, consider that the OpenOffice.org office suite is included as well as the GIMP, a program similar to (and many people say more capable than Adobe Photoshop); Scribus, a document layout program similar to Quark Xpress; Evolution, an e-mail system equivalent to Microsoft's Outlook Express; and hundreds more.

For the more technically inclined, development tools, such as compilers for the C, C++, Ada, Fortran, Pascal and other languages, are included as well as Perl, PHP and Python interpreters. Editors and versioning tools also are included in this category.

Whether you are looking for Instant Messaging clients, backup tools or Web site development packages, they likely are all included within your base Linux distribution.

7. Interoperability

More and more computers are being connected to networks. No system would be complete if it did not include tools to allow it to interoperate with computers running other operating systems. Once again, Linux is very strong in this area.

Linux includes Samba, software that allows Linux to act as a client on a Microsoft Windows-based network. In fact, Samba includes server facilities such that you could run a Linux system as the server for a group of Linux and Windows-based client systems.

In addition, Linux includes software to network with Apple networks and Novell's Netware. NFS, the networking technology developed on UNIX systems also is included.

8. It's a Community Relationship, Not a Customer Relationship

Other operating systems are the products of single vendors. Linux, on the other hand, is openly developed, and this technology is shared among vendors. This means you become part of a community rather than a customer of a single manufacturer. Also, the supplier community easily can adjust to the needs of various user communities rather than spouting a "one size fits all" philosophy.

This means you can select a Linux vendor that appears to best address your needs and feel confident that you could switch vendors at a later time without losing your investment--both in terms of costs and learning.

9. It's Not How Big Your Processor Is...

Because of a combination of the internal design of Linux and development contributions from a diverse community, Linux tends to be more frugal in the use of computer resources. This may manifest itself in a single desktop system running faster with Linux than with another operating system, but the advantages go far beyond that. It is possible, for example, to configure a single Linux system to act as a terminal server and then use outdated hardware as what are called thin clients.

This server/thin client configuration makes it possible for older, less powerful hardware to share the resources of a single powerful system thus extending the life of older machines.

10. Linux Is Configurable

Linux is a true multi-user operating system. Each user can have his or her own individual configuration all on one computer. This includes the look of the desktop, what icons are displayed, what programs are started automatically when the user logs in and even what language the desktop is in.

And lastly no Bill schmendrick character telling you what you can and cannot do.