Spiga
Showing posts with label Java. Show all posts
Showing posts with label Java. Show all posts

Whats New , and Whats Old - A little comparison between Ubuntu 7.10 new features with the upcoming Fedora 8 and older Fedora releases



Ubuntu 7.10 'Gutsy Gibbon' was just released a few days ago, and Fedora 8 just hit devel-freeze yesterday. With all the hype going all over the internet, one point annoys me - when some Ubuntu users claiming that some of the new features in Ubuntu are something Fedora does not have. Now, lets bust this myth. (This list might not be complete)

Ubuntu 7.10 feature list was taken from : http://www.ubuntu.com/getubuntu/releasenotes/710tour

GNOME 2.20

Both Fedora 8 and Ubuntu 7.10 uses GNOME 2.20.

Compiz Fusion

Both Fedora 8 and Ubuntu 7.10 have Compiz 0.6.0 during its release. However, in Fedora 8, compiz will not be enabled by default , as there are several issues which still need to be fixed in Fedora's point of view, one of it is the Xv video support - patches are being developed by Red Hat developers in fixing the the X server and Xv and apply it upstream. Compiz is enabled by default in Ubuntu - with a hack patch applied in mplayer to allow Xv rendered properly on Mplayer only.

In Ubuntu 7.10, Compiz-Fusion plugins are included in the installation CD and enabled by default . As for Fedora 8, the Compiz-Fusion plugins can be yum'ed from the repositories.

yum install compiz-fusion compiz-fusion-extras


CCSM is currently under review, it might not reach Fedora 8 during the release because Fedora 8 already hit its devel freeze. Anyway, it will available as an update. (Maybe I can try poking Jesse to make an exemption for this)

Desktop Search

Desktop search was enabled by default during Fedora Core 5 (yes, FIVE!), but due to complains about it eating too much resource , it was made optional on later releases. Desktop search can be yum'ed from the repos to those who want it.
yum install deskbar-applet tracker-search-tool


Fast User Switch

One of the new features of Ubuntu 7.10 is FUS. This feature was developed under Fedora Project and was integrated together during the release of Fedora 7.

See: http://fedoraproject.org/wiki/Desktop/FastUserSwitching

Firefox Plugin

The firefox plugin finder is from upstream, therefore, all distros using it get the feature

Ubuntu 7.10 repositories now have Firefox add-ons packaged in DEB. This feature is a creditable new feature. There was a discussion about this not so long ago in Fedora-Devel-List ( https://www.redhat.com/archives/fedora-devel-list/2007-October/msg01097.html ). Concerns were raised about low-quality and vulnerable add-ons might be hitting the repository if the package submission are not properly managed. Maybe we will be seeing this in Fedora after a guideline for the XPIs is available.

Dynamic Screen Configuration

XRanR have been included together in Fedora 7. Ubuntu 7.10 just included it.

Graphical Configuration for X and BulletProofX

Now now now ... this is REALLY OLD .. Fedora have a similar configurator called System-Config-Display and that tool have been around in Fedora ever since I started using it .. and that was .. Fedora Core 3 (read, THREE) and it might have existed older than that. System-Config-Display supports Xinerama (Multi Display) as long as that too.

Same goes for BulletProofX (but in a different form). When a X session was misconfigured , system-config-display will automatically reset Xorg.conf to the lowest settings of which Xorg can start. This feature have been around as long as system-config-display.

One thing nice in Ubuntu's BulletProofX is the display configurator actually display itself to allow manual adjustments. In Fedora, it'll simply reconfig automatically - and sometimes this doesnt work and causes a failure loop. I had to run system-config-display manually to fix the settings when that happens. I have asked for this 'feature' before, but Fedora believes the fallback should be done automatically without user interaction, and running system-config-display to allow manual reconfigure is considered a hack because it does not fix the actual problem. Any issues about fallback not functioning properly are supposed to be reported at bugzilla.

Printer Support

Ubuntu 7.10 includes a modified Fedora's System-Config-Printer. (thats all I could say, as I dont use printer much).

NTFS Writing using NTFS-3G

Ubuntu 7.10 includes NTFS-3G for accessing NTFS partitions. NTFS-3G have been enabled by default in Fedora since Fedora 7 LiveCDs. Fedora Core 6 added this support through update.

Power Consumption

Ubuntu 7.10 inludes kernel 2.23 which includes tickless kernel support. Fedora 8 also includes kernel 2.23. Fedora 7 might be having kernel 2.23 from updates soon.

Encrypted Harddisk

Alternate installer for Ubuntu 7.10 includes install-time encrypted hdd creation support.

I dont see this in Fedora's Anaconda installer, but a little googling for "encrypted hdd fedora" pointed me to
Fedora Core 5 release note
which then pointed me to LUKS. Maybe theres an easy way to encrypt HDD post-installation in Fedora, but I dont know that for now. While I dont see theres a need for encrypted HDD support for / as those installed in / are basically stuff from RPM which everyone have access to on the net, and good admins will separate the system and the data and encrypt the data partition, maybe some people really need it.

Security Framework

Ubuntu 7.10 just included AppArmor by Novell in their release. A similar tool is available in Fedora since long ago called SELinux. SELinux was developed by NSA and has more strict control and security, but however, it was tauted hard to configure. That has changed in Fedora 7 with lots of GUI configuration tools were introduced for ease of maintaining SELinux.

The rest?

well, I have no idea what "Additional installation profiles for Ubuntu Server" , "Profile-based Authentication Configuration", and "Improved thin-client support" supposed to mean in the Tour page, so I couldn't compare them.


What Fedora 8 Will Have, Sooner Than Other Distros

The full feature list available here: http://fedoraproject.org/wiki/Releases/8/FeatureList

- NetworkManager 0.7.0 is under heavy development and is included in Fedora 8.
- Online-Desktop - Internet and Desktop - Working together! - Online Desktop developer interview
- IcedTea - IcedTea are the fully Free components of Sun's OpenJDK
- PulseAudio - PulseAudio is a powerful sound server system which supports advanced mixing capabilities.
- Eclipse 3.3 - Fedora Eclipse IDE.
- Animated Wallpaper - Animated wallpaper for your Desktop - Fedora Artwork interview (details in one of the paragraphs)
- Enhanced Bluetooth Improvements - Bluetooth Improvements developer interview

Fedora: Infinity | Freedom | Voice.

Using Glade to write GUI applications

A few useful links for people who want to learn on how to write GTK applications using Glade



The video for using Glade with Python is not very clear, so I'll explain a little bit the process below.

1. Build your GUI

2. Open a .py file, and import gtk and gtk.glade
#!/usr/bin/python
import gtk
import gtk.glade


3. define your handlers method
def hander_method(widget):
do_something_here
do_more


4. load the glade XML
xml = gtk.glade.XML("/path/to/glade/file")


5. connect handlers to its methods/functions
dict = { 'handler_name' : handler_method,
'handler_name2' : handler_method2
}

xml.signal_autoconnect(dict)


6. run gtk instance
gtk.main()


I also have written a similar script to the ruby glade template generator in Video 3. It'll generate a very basic Python template for use. ( I couldn't find where to download GladeGen )

pyglade-gentemplate.py

SonyEricsson k320i

I just got myself a sony Ericsson k320i last sunday. My old phone was seriously out-of-shape and I think its time for me to change it.

With a price tag of RM438, heres what I got

- Bluetooth
- Java support
- IRda support
- 15MB storage
- USB connectivity
- GPRS/MMS support
- VGA camera
- MP3 player

More information about the phone here

I just succeeded syncing it with Evolution, I'll be posting a howto for it in my next post.

Sun Tech Days : University World Tour

My Object Oriented Programming class had a field trip to Sun Tech Day's University World Tour yesterday. It was quite fun for me (considering its free + got a lot of freebies + a free transport home for the mid-sem break).

There was 5 topics on the event

  • What you need to know as a student today: The Next 10 years - by Matt Thompson
    Quite okay talks about what students should grasp in the OpenSource world. How open source fast development can benefit students etc what the web offers for future developers. Nothing much new to me because I'm already in the Free/OpenSource world. Another point of interest was the info about parallel programming will be more important in the future because processors wont go faster but instead it will be denser. And thats something extremely important for future developers.

  • Java and NetBeans Demo's You Shouldn't miss - by Angela Caicedo
    This one was fun to watch. Some demos of Java on non-PC platforms (a.k.a toys). I has been taking Java as a bulky language that eat lots of processor power but after looking at the demo, I think I'll take that back .. haha .. but still .. one of the program she shown (a server program that control a remote buggy bot) hog her processor.. The demo of Looking Glass is also a little bit lagging - Compiz/Beryl is better :P.

  • OpenSolaris for beginners - Peter Karlson
    Considering I'm a linux user, this session is quite fun for me as I got to know another *nix. The demo of Branded Zone was impressive and interesting to me. And I got a Solaris Express DVD from Peter (I was curious about BrandZ and asked some questions about it from Peter).

  • Java Puzzles: If only all learning could be as much fun! - Michael Li
    Some quizzes on finding errors in a Java code, its fun, informative, and fun :P. The quizzes were not that hard if you've been programming Java/C++/Python for a while because they are mostly OOP concepts. I got a free T-shirt in this session (wee~~)

  • Enhancing Employability: The Power Of Sun - Gerald Ng
    Erm .. how to put it .. this session was boring .. haha .. I dont listen to it much ..


Overall the event was fun and informative, however , as Aizat Faiz pointed out, they should give more attention to Free Software and the community around it. Local FOSS groups/developers should also be given chance to talk in the event.

The freebies I got:
  • A Sun Microsystem ballpoint pen - with green lights!!

  • T-Shirts
    • A white T-Shirt - got after messing around during the Duke mascot joke session

    • A black Sun T-Shirt - From the Java Puzzles

    • An orange University World Tour T-Shirt - Everyone got it


  • DVDs
    • Open Solaris Starter Kit
      • I-learn DVD - contains Nexenta OS , Belenix , SchilliX liveCDs

      • I-Install DVD - contains Solaris Express Community Release b54, Nexenta OS Alpha 6 Install, OpenSolaris Source, Sun Studio 11.

    • Solaris Express Developer Edition - Thanks Peter!


On a sidenote, I got to meet my childhood friend from Shah Alam UiTM there. Haven't see her for quite a while considering I've been studying away from home since 4 years ago and when I'm at home I seldom goes out. I also met with Aizat Faiz not long after our session ended but not for long considering he still had more talks to join.