Hello World Fun

Why this Hello World writing?

Well, for at least a  few reasons.

One, to help others understand the diversity of different

programming languages in one of it’s simplest terms to humans.

Two, at a glance to compare the languages.

Three, just to see what is available and for the curious and fun.

Oh, and a gentle reminder on how to start the first step, and which.


In Ruby:

p ‘Hello World’
Transcript show: 'Hello, world!'.

print(‘Hello World’)
print "Hello World\n";

<?php echo ‘<p>Hello World</p>’; ?>

package main
import “fmt”
func main() {
fmt.Println(“Hello, 世界”)

1:   <script type="text/javascript">
2:   <!-- to hide script contents from old browsers
3:   document.write("Hello World!")
4:   // end hiding contents from old browsers  -->
5:   </script>
In ActionScript
package {
 import flash.display.*;
 import flash.text.*;

 public class HelloWorld extends Sprite {
   private var greeting:TextField = new TextField();

   public function HelloWorld() {
     greeting.text = "Hello World!";
     greeting.x = 100;
     greeting.y = 100;


<%@ Page Language="VB" %>

<title>ASP.NET Hello World</title>
<body bgcolor="#FFFFFF">

<p><%= "Hello World!" %></p>



Public Class Form1
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        MessageBox.Show("Hello, World")
    End Sub
End Class


PRINT "Hello, World!"

In C++

#include <iostream>

int main()
  std::cout << "Hello World!" << std::endl;
  return 0;
In C Programming

 main( ) {
        printf("hello, world");

In Java

class myfirstjavaprog {

public static void main(String args[]) {

System.out.println("Hello World!");



In Pascal

program HelloWorld;

  writeln('Hello World');

In Lisp

(print "Hello World")
100300 BEGIN.
100500     DISPLAY "Hello world!" LINE 15 POSITION 10.
100600     STOP RUN.
100800     EXIT.

In Assembly Language

title   Hello World Program                             (hello.asm)
; This program displays "Hello, World!"

.model small
.stack 100h

hello_message db 'Hello, World!',0dh,0ah,'$'

main  proc
      mov    ax,@data
      mov    ds,ax

      mov    ah,9
      mov    dx,offset hello_message
      int    21h

      mov    ax,4C00h
      int    21h
main  endp
end   main
echo Hello world
PS> 'hello, world!'.ToUpper()

Above may be some of the more popular ones, but there are

easily more than a hundred Programming Languages around the world,

and mor comparisons here. Wait, there’s more, how about Hello World in Markup Languages?

    <title>Tutorial: HelloWorld</title>
    <h1>HelloWorld Tutorial</h1>

<?xml version="1.0" encoding="UTF-8"?>
  <para>hello world</para>

Hello World in Web Application Frameworks?

In Rails 3

  1. $ rails hello
  2. $ cd hello
  3. $ rails generate controller hello
  4. Open the file config/routes.rb. Almost at the bottom (line #57) is this line:
    # match ':controller(/:action(/:id(.:format)))'

    Remove the # in front so the line looks like:

    match ':controller(/:action(/:id(.:format)))'
  5. Create a file named index.html.erb in app/views/hello containing the text ‘Hello world’.
  6. $ rails server

What about Hello World in a Web Visual Rapid Application Development platform?

In Wavemaker

Just click and drag, change the caption to Hello World! 15 secs screenshot below.

Thank you and credit to all codes authors with links.


Home Learning

Love Home Learning!

With internet, tons of educational materials can be found.

However, a good learning relies on the individual to know what he needs and should study, puts in the effort to source them, and importantly puts in the discipline and time to have  satisfactory results.

Before jumping into these courses,  perhaps it’s crucial to know why and what is the purpose of life ; To know the truth of the universe. Rather than wasting immeasurable time and efforts before realizing what one’s wishes and efforts are a total waste of time and even completely against your good intentions and altruistic philosophical beliefs; read widely if you must, but more importantly, be very objective (non-biased) and differentiate truths, half-truths, mediocrity , wishful and unrealistic thinking and complete utter nonsense and lies.

I believe if one is completely altruistic in his intentions, totally open-minded, objective and unbiased, flawless in reasoning, he or she may have the opportunity to know what is the ultimate attainment, where and which is the best path to undertake. This is the start, but the most important one. Because a journey of a thousand miles may begin with a single step, but what’s the point of taking even half a step that reaps retribution.

Bearing in mind people have different capacities and dispositions, please consider if below recommendations are in accordance with your own.

In line with the altruistic belief , i like to look with resources which are free (if available), open source and beneficial in the long run, hopefully wholesome in aspects. They are selected and chosen for their own merits and quality of excellence.

Take a look and have fun learning.


Quality,  excellent or good learning


  1. Learn from Google (the popular free search engine company) free –  Google Code or Google Code University,  Google Labs, Google Sketchup, HTML5Rocks. Google reasonably-priced certification exams based on free online courses:- Google Apps, Adwords and  Analytics. Google also offers developer certification in these areas :- JavaScript Maps API
    Geo 3D
    App Engine
    Chrome Extensions
    AJAX Search API
  2. Blender is a free open source content creation suite. e.g make animation movies.
  3. Gimp GNU Image Manipulation Program. e.g photo-retouching.
  4. Ubuntu is a free, open source and popular operating system for desktops, servers, netbooks and laptops.
  5. Freeonlinecomputerbooks, including Diveintopython which offers good, free python (a free and powerful programming language) learning. May find both python and Ruby fun; Free or GPL, concise and productive.
  6. Heard of Ruby Language? “A dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write”. Have fun at shoesrb.


  1. Homeandlearn.co.uk – Free Tutorials, exams and certification.

Others ; Art, Language, etc…

  1. Fivepencilmethod.com is a high quality pencil drawing course. The free online course is taught by a professional and sincere artist. Amazing beauty!
  2. Smart.fm – Learn the Japanese language easily and effectively free! Different levels available. May even beat paid resources. Abundant materials and learning based on research!
  3. Wikipedia – the free, web-based encyclopedia comprising millions of articles.


Good IT books easy on readers

Still publishing new books of an older but of simplified, tutorial style is the Sams Teach Yourself series.

On learning from modern books, esp. IT, there are some interesting trends of new writing ways for learning. For example, there are the Head First Series sold at Amazon.com that are filled with pictures and materials presented in casual style, the friendly-looking getstartED with friendsofED series, the Cookbooks (O’Reilly) series that lists questions or problems and the and the solutions, rather like the FAQ style.  Then, there are the LiveLessons that teaches from videos in DVDs, accompanied with thin booklets (IMHO, learning from these DVDs can be a fast help for beginners or as refreshers).

Perhaps a good idea to make learning more fun and educational is to incorporate the elements of good educational materials, videos animation stories, in FAQ style.



Of course, if you just wish to blog or publish some stuffs online with good visual themes & some basic widgets yet without the hassle of the concerns of hosting and costs, WordPress may indeed be the answer. And a  site that may prove useful, osalt, which helps to find open source software alternatives to well-known commercial software.

May all be happy!

And thanks to all those involved for the good intention and deed to benefit others.

Last Update: 10/01/2011


Install, Learn or Use Linux or Applications

Note: Read below slanted or oblique text only for shortcuts.

First off, can’t say this is fun for everyone. Linux may not be easy. This posting has been updated from time to time.

Why free OS (Operating System) ?

Based on an altruistic philosophy. Free sharing of knowledge to all as a way of humanity.

Why Linux?

The native and core principle of Linux is based on a free GPL Operating System, and many derivatives and distros of the original linux adopted the same free philosophy. Operating System or OS in short and layman’s term is the main program that tells a computer how to work and run, before all other skills or applications are added above.

Another great advantage of Linux is that its free philosophy has literally span into its applications, meaning more than 10,000+ applications are all free for usage! Moreover, because of its excellent concepts and design, it is relatively secure and virus-free!


Some of the Linux OS that was downloaded, installed, tested or configured included Ubuntu 6&7 &8, Gentoo, Zenwalk, Sidux, Arch, Puppy & Muppy & Teenpup2008 & Lighthouse, DSL, Feather, gOS, PCLinuxOS, OpenSUSE, Mandriva, PCLinuxOS & PCFluxOS & Tinyme, Foresight, LinuxMint, Fedora, Dreamlinux. More…

Distrowatch is one site that keeps an overview of latest releases and ratings ranking.

Based on personal experience, these are the recommendations, which may shave days or weeks or even months off your Linux installation time.

What to look for?

To evaluate Linux, there are 7 simple, basic considerations for a newbie

  1. Easy Graphical Installation
  2. Working Drivers
  3. Fast Boot time and/or uses little or moderate memory
  4. Stable enough & reboot back to before shutdown
  5. Common Apps, Firefox, utube and Synaptic ready
  6. Attractive or even intuitive desktop
  7. LiveCD for demo and installation if wish so.
  8. Even better, can be installed and use from a USB device

Sounds simple? Not at all! Many Hours can be spent just getting drivers to work, indefinitely. Which is also the reason the many Linux OSes are tested.

How to just install and use a Linux OS Application?

To shortcut your installation and Linux applications experience and save your time: If you are running windows and wish to run Linux & application and saves data in it as well. I consider this one of, if not the easiest way, to test or use Linux applications. You may skip below sections if that’s all you need. Now, you can choose to download and run the application (many to choose from) that come pre-configured and installed on the Linux. If you are new to the applications, well, there are many to choose from, just visit below links.

  1. Download one or more of the stacks or appliances that you like to explore from TurnKeyLinux or Bitnami.
  2. Double click to install and run, configure if necessary.

That’s it!

But if you wish to do the old fashion way, and play with Linux commands,  read on…

The old usual way: Download an image of the Linux in a .iso format. Then burn the image on a CD-R(W) with a free software such as InfraRecord. This is know as a LiveCD. You may wish to partition your hardisks e.g free, grahical and easy Easus Personal edition,  so you can have different OS in different partitions. Make the system boot from the CD in your system Bios settings, usually with pressing a DEL or some key/s after power on. Modern distros usually install a boot manager to help you boot into different OS. If you like the feel of the LiveCD, you may choose to install into your Hardisk then. Be sure to backup your data elsewhere before doing this.

Here’s the recommendations that works easily for me out of the many:-

  • PCLinuxOS – Also meets most or all of above requirements! Professional outlook.  Good and Simple.
  • Fedora – Meets most or all the cuts. One of the Simplest that works.

If you have a fast and new computer that may boot from USB disk, and have a USB drive of about or more that 1 GB , Fedora live-usb creator is a breeze. For PCLinuxOS – head on to UNetbootin, a small windows program that helps to create a Live USB of your distro choice, more than 10 different ones! This is a fast and quick easy way to test if you like an OS without having to buy and burn CDs.

How to install and use a popular Linux from Windows?

If you just wish to install only Ubuntu (a popular Linux OS) from and as a Windows application, without CD burning or USB, Wubi, safe & simple & free,  is the way to go!

If your computer is slow or old, and you are looking for just basic features to get your work done quick and easy without high expectations, you might want to burn these CDs:

  1. Midiflux of PCFluxboxOS – Small, fast,  <350MB based on PCLinuxOS.
  2. Muppy Linux, a pupplet with extensive applications installer based on the small and fast Puppy Linux. But again, hardware drivers issues beware and no synaptic.

The Wubi method requires either to run Windows or Ubuntu upon bootup. What if the user wishes to run Mac/Windows and Linux together, visible from the Mac/Windows desktop?

How to run Linux inside or with Windows/Mac concurrently?

Remember the ISO files that represent the Linux distribution? Never mind if you don’t,  ISOs can be easily downloaded from any of the Linux OS sites you prefer. Then download vmware or Virtualbox, and open the ISO file, configure or take default settings. And Lanuch the Linux OS!

Some and More

PCLinuxOS, who even has its own magazine site pclosmag,  is also recommended here with other Linux articles here at desktoplinux.wordpress.com.

Ubuntu, a very popular distro but drivers or applications for sound or adsl may disappoint,  but definitely worth a consider even solely based on its strong support and large community forum, has an increasing number new derivatives, including :

  • Linux Mint – ‘light-green’ and one of the more popular
  • gOS – Attractive Mac-look

Fsum Frontend is an open source, free,  GUI software to verify integrity of files, support with 96 algorithms including MD5 and sha1.

Learn Linux Commands Free

Linux nowadays are graphical but chances are you may need to customize, tweak to better suit your needs.

Learn Linux course here or an entertaining version (Gd)

Hope this helps.

Last Update: 21/12/2010

Those links marked with (Gd) means that they are found to be really good for learning in terms of being fun, easy, attractive, interactive intuitive or well-prepared!

Note: This page is meant to just document some of the experiences with the downloads and does not represent others’ experience nor serve to disparage in any way. Please go ahead and test any above if you like. Some downloads are verified with MD5SUM before testing.

And thanks to all Linux developers for all your generous efforts!