Friday, June 26, 2009

List of Ubuntu Distributions

The Ubuntu project makes two releases per year, using the year and month of the release as the version number. The first Ubuntu release, for example, was Ubuntu 4.10 and was released on October 20, 2004.Consequently, version numbers for future versions are provisional; if the release is delayed until a different month to that planned, the version number changes accordingly.

Ubuntu releases are also given code names, using an adjective and an animal with the same first letter e.g: "Dapper Drake" and "Intrepid Ibex". With the exception of the first two releases, code names are in alphabetical order, allowing a quick determination of which release is newer. Commonly, Ubuntu releases are referred to using only the adjective portion of the code name.

Releases are timed to be approximately one month after GNOME releases, which are in turn about one month after releases of X.org. Consequently, every Ubuntu release comes with a newer version of both GNOME and X. Release 6.06 (Dapper Drake)—and recently 8.04 (Hardy Heron)—have been labeled as a Long Term Support (LTS) , to indicate support with updates for three years on the desktop and five years on the server, compared to 18 months support for non-LTS releases.

The current release is 9.04 "Jaunty Jackalope" - and the next is 9.10 "Karmic Koala", due in October 2009.

Variants
Kubuntu is an official variant of the Ubuntu distribution which uses KDE rather than GNOME
Super OS is an un-official remaster
See also: List of Ubuntu-based distributions

Several official and unofficial Ubuntu variants exist. These Ubuntu variants install a set of packages different from the original Ubuntu. Since they draw additional packages and updates from the same repositories as Ubuntu, however, the same software is available for each of them. Unofficial variants and derivatives are not controlled or guided by Canonical and are generally forks with customizations for specific goals. The "fully supported" Ubuntu derivatives include:

  • Kubuntu, a desktop distribution using KDE rather than GNOME
  • Edubuntu, a distribution designed for classrooms using GNOME
  • Ubuntu Server Edition
  • Xubuntu, a "lightweight" distribution based on the Xfce desktop environment instead of GNOME, designed to run better on low-specification computers.
  • Lubuntu, another "lightweight" distro that uses the LXDE desktop environment and Openbox window manager. This variant is still in development and is available as an add-on package.

There is an enterprise version, similar to Red Hat Enterprise Linux or SUSE Linux Enterprise Server, which is a normal release but labeled as LTS (Long Term Support). For example, Ubuntu 8.04 LTS Desktop was released in April 2008 and will be maintained until April 2011 (unlike standard releases, which are supported for eighteen months).

Other Ubuntu distributions developed or otherwise recognized by Canonical include:

  • Mythbuntu, a multimedia platform based on MythTV
  • Ubuntu JeOS (pronounced as "juice"), is described as "an efficient variant ... configured specifically for virtual appliances".
  • Ubuntu MID Edition, an Ubuntu edition that targets Mobile Internet Devices.
  • Ubuntu Netbook Remix, designed for ultra-portables including the ASUS Eee PC,Dell Inspiron Mini Series, and the Acer Aspire One.
  • Ubuntu Studio, a multimedia-creation form of Ubuntu

There are also a growing number of related derivative distributions such as Linux Mint, gOS, OpenGEU, Super OS (formerly: Super Ubuntu), CrunchBang Linux and gNewSense. Portable Ubuntu for Windows can run Ubuntu as a native application within Windows.

List of Ubuntu Distributions

The Ubuntu project makes two releases per year, using the year and month of the release as the version number. The first Ubuntu release, for example, was Ubuntu 4.10 and was released on October 20, 2004.Consequently, version numbers for future versions are provisional; if the release is delayed until a different month to that planned, the version number changes accordingly.

Ubuntu releases are also given code names, using an adjective and an animal with the same first letter e.g: "Dapper Drake" and "Intrepid Ibex". With the exception of the first two releases, code names are in alphabetical order, allowing a quick determination of which release is newer. Commonly, Ubuntu releases are referred to using only the adjective portion of the code name.

Releases are timed to be approximately one month after GNOME releases, which are in turn about one month after releases of X.org. Consequently, every Ubuntu release comes with a newer version of both GNOME and X. Release 6.06 (Dapper Drake)—and recently 8.04 (Hardy Heron)—have been labeled as a Long Term Support (LTS) , to indicate support with updates for three years on the desktop and five years on the server, compared to 18 months support for non-LTS releases.

The current release is 9.04 "Jaunty Jackalope" - and the next is 9.10 "Karmic Koala", due in October 2009.

Variants
Kubuntu is an official variant of the Ubuntu distribution which uses KDE rather than GNOME
Super OS is an un-official remaster
See also: List of Ubuntu-based distributions

Several official and unofficial Ubuntu variants exist. These Ubuntu variants install a set of packages different from the original Ubuntu. Since they draw additional packages and updates from the same repositories as Ubuntu, however, the same software is available for each of them. Unofficial variants and derivatives are not controlled or guided by Canonical and are generally forks with customizations for specific goals. The "fully supported" Ubuntu derivatives include:

  • Kubuntu, a desktop distribution using KDE rather than GNOME
  • Edubuntu, a distribution designed for classrooms using GNOME
  • Ubuntu Server Edition
  • Xubuntu, a "lightweight" distribution based on the Xfce desktop environment instead of GNOME, designed to run better on low-specification computers.
  • Lubuntu, another "lightweight" distro that uses the LXDE desktop environment and Openbox window manager. This variant is still in development and is available as an add-on package.

There is an enterprise version, similar to Red Hat Enterprise Linux or SUSE Linux Enterprise Server, which is a normal release but labeled as LTS (Long Term Support). For example, Ubuntu 8.04 LTS Desktop was released in April 2008 and will be maintained until April 2011 (unlike standard releases, which are supported for eighteen months).

Other Ubuntu distributions developed or otherwise recognized by Canonical include:

  • Mythbuntu, a multimedia platform based on MythTV
  • Ubuntu JeOS (pronounced as "juice"), is described as "an efficient variant ... configured specifically for virtual appliances".
  • Ubuntu MID Edition, an Ubuntu edition that targets Mobile Internet Devices.
  • Ubuntu Netbook Remix, designed for ultra-portables including the ASUS Eee PC,Dell Inspiron Mini Series, and the Acer Aspire One.
  • Ubuntu Studio, a multimedia-creation form of Ubuntu

There are also a growing number of related derivative distributions such as Linux Mint, gOS, OpenGEU, Super OS (formerly: Super Ubuntu), CrunchBang Linux and gNewSense. Portable Ubuntu for Windows can run Ubuntu as a native application within Windows.

Monday, June 15, 2009

Java Features


  • Platform Independence
    • The Write-Once-Run-Anywhere ideal has not been achieved (tuning for different platforms usually required), but closer than with other languages.
  • Object Oriented
    • Object oriented throughout - no coding outside of class definitions, including main().
    • An extensive class library available in the core language packages.
  • Compiler/Interpreter Combo
    • Code is compiled to bytecodes that are interpreted by a Java virtual machines (JVM) .
    • This provides portability to any machine for which a virtual machine has been written.
    • The two steps of compilation and interpretation allow for extensive code checking and improved security.
  • Robust
    • Exception handling built-in, strong type checking (that is, all data must be declared an explicit type), local variables must be initialized.
  • Several dangerous features of C & C++ eliminated:
    • No memory pointers
    • No preprocessor
    • Array index limit checking
  • Automatic Memory Management
    • Automatic garbage collection - memory management handled by JVM.
  • Security
    • No memory pointers
    • Programs runs inside the virtual machine sandbox.
    • Array index limit checking
    • Code pathologies reduced by
      • bytecode verifier - checks classes after loading
      • class loader - confines objects to unique namespaces. Prevents loading a hacked "java.lang.SecurityManager" class, for example.
      • security manager - determines what resources a class can access such as reading and writing to the local disk.
  • Dynamic Binding
    • The linking of data and methods to where they are located, is done at run-time.
    • New classes can be loaded while a program is running. Linking is done on the fly.
    • Even if libraries are recompiled, there is no need to recompile code that uses classes in those libraries.

      This differs from C++, which uses static binding. This can result in fragile classes for cases where linked code is changed and memory pointers then point to the wrong addresses.
  • Good Performance
    • Interpretation of bytecodes slowed performance in early versions, but advanced virtual machines with adaptive and just-in-time compilation and other techniques now typically provide performance up to 50% to 100% the speed of C++ programs.
  • Threading
    • Lightweight processes, called threads, can easily be spun off to perform multiprocessing.
    • Can take advantage of multiprocessors where available
    • Great for multimedia displays.
  • Built-in Networking
    • Java was designed with networking in mind and comes with many classes to develop sophisticated Internet communications.
Features such as eliminating memory pointers and by checking array limits greatly help to remove program bugs. The garbage collector relieves programmers of the big job of memory management. These and the other features can lead to a big speedup in program development compared to C/C++ programming.

Message Box In Java [Using Plain AWT]

Message Box In Java [Using Plain AWT]


    import java.awt.*;
    import java.awt.event.*;
    public class MsgBox extends Dialog implements ActionListener
    {  
    private Button ok,can;
    public boolean isOk = false;
    /*  * @param frame parent frame
        * @param msg message to be displayed
        * @param okcan true : ok cancel buttons, false : ok button only   */  

    MsgBox(Frame frame, String msg, boolean okcan)
    super(frame, "Message", true);
    setLayout(new BorderLayout());
    add("Center",new Label(msg));
    addOKCancelPanel(okcan);
    createFrame();
    pack();
    setVisible(true);
    }

    MsgBox(Frame frame, String msg)
    {  this(frame, msg, false);  }
    void addOKCancelPanel( boolean okcan )
    {  Panel p = new Panel();
    p.setLayout(new FlowLayout());
    createOKButton( p );
    if (okcan == true)
    createCancelButton( p );
    add("South",p);  
    }

    void createOKButton(Panel p)
    {  
    p.add(ok = new Button("OK"));
    ok.addActionListener(this);
    }

    void createCancelButton(Panel p)
    {
    p.add(can = new Button("Cancel"));
    can.addActionListener(this);
    }

    void createFrame()
    {
    Dimension d = getToolkit().getScreenSize();
    setLocation(d.width/3,d.height/3);
    }

    public void actionPerformed(ActionEvent ae)
    {
    if(ae.getSource() == ok)
    {  
    isOk = true;  setVisible(false);
    }
    else if(ae.getSource() == can)
    {  
    setVisible(false);
    }
    }

    public static void main(String args[])
    {
    Frame f = new Frame();
    f.setSize(200,200);
    f.setVisible(true);
    MsgBox message = new MsgBox  (f , "Hey you user, are you sure ?", true);
    if (message.isOk)
    System.out.println("Ok pressed");
    if (!message.isOk)
    System.out.println("Cancel pressed");
    message.dispose();
    }
    }

Sunday, June 14, 2009

Google Operating System ( Goobuntu )

Goobuntu is a Linux distribution based on Ubuntu that Google uses internally. Some have suggested that Google might plan to market the distribution more widely.While both Google and Mark Shuttleworth, creator of Ubuntu, have confirmed that Goobuntu exists and is used internally,both have strongly refuted suggestions that Google has any plans to market the operating system.Almost half of the 20,000 employees of Google use Goobuntu.

Mark Shuttleworth has confirmed that Google contributes patches to Ubuntu but noted that while some Google employees use this modified version of Ubuntu, others use modified versions of other Linux distributions. Google has supported Ubuntu through the Ubucon conferences and in other ways. Although Shuttleworth and Google representatives have denied any plans to release Goobuntu outside the company, it has nonetheless inspired ongoing speculation about Google entering the operating system business.