Mi blog lah! Το ιστολόγιό μου

2May/081

Εγκατάσταση του Ubuntu 8.04

Ολοκλήρωσα πριν λίγο την εγκατάσταση του Ubuntu 8.04 (έκδοση 64bit). Περιγράφω παρακάτω τις επιλογές που έκανα και τα τυχόν προβλήματα που αντιμετώπισα.
Αν και είχα Ubuntu 7.10, επέλεξα να κάνω εγκατάσταση από την αρχή, διότι έχω κάνει τόσες αλλαγές στο σύστημα που είναι πολύ πιθανό η αναβάθμιση να μη λειτουργήσει. Ωστόσο, ο πιο σημαντικός λόγος της εγκατάστασης ξανά είναι να γλιτώσω από τη σαβούρα που μαζεύεται στην εγκατάσταση μετά από χρήση πολλών μηνών.
Έκανα λοιπόν εκκίνηση του υπολογιστή μου από το DVD του Ubuntu 8.04 (64bit), και εκτέλεσα το Σύστημα/Διαχείριση συστήματος/Partition editor. Εδώ, επέλεξα να κρατήσω αντίγραφο ασφαλείας της κατάτμησης / σε εξωτερικό δίσκο, σε περίπτωση που χρειαστώ να γυρίσω ξανά πίσω στο 7.10. Αυτό βοηθάει ακόμα για να δω λεπτομέρειες από την προηγούμενη εγκατάσταση, που πολύ πιθανό να χρειαστώ. Αργότερα είδα ότι το Ubuntu 8.04 κατάλαβε ότι υπάρχει εγκατάσταση 7.10 και την έβαλε στο μενού της εκκίνησης του υπολογιστή. Έτσι, έχω την επιλογή να μπω σε 7.10 πολύ εύκολα, με εκκίνηση στον εξωτερικό δίσκο USB.
Αυτό το καιρό έχω δύο κατατμήσεις, μια για το / και μια για /home. Έτσι, επέλεξα κατά την εγκατάσταση να μορφοποιηθεί η κατάτμηση για το /, ενώ να διατηρηθεί ως έχει το /home. Ακόμα, μιας και θέλω να ξεκαθαρίσω τα αρχεία μου στον κατάλογο χρήστη, επέλεξα διαφορετικό όνομα χρήστη. Έτσι, μετά το τέλος της εγκατάστασης έχω ένα καθαρό λογιαριασμό, και είμαι σε θέση να μεταφέρω (mv) καταλόγους ρυθμίσεων και αρχεία από τον παλαιό κατάλογο χρήστη κατά βούληση.
Με αυτό το τρόπο, πέρασα την αλληλογραφία μου με την εντολή
mv /home/oldaccount/.mozilla-thunderbird ~
Με τον ίδιο τρόπο μετέφερα το προφίλ μου για το Firefox. Πριν είχα Firefox 2.0, και στην μεταφορά έγινε ενημέρωση του προφίλ για το Firefox 3 του Ubuntu 8.04. Φυσικά ο Firefox πετάει αλλά αυτό το έχετε ακούσει από παντού.
Μετά εγκατέστησα το VirtualBox (πλήρη έκδοση, με υποστήριξη USB). Η βασική εγκατάσταση και χρήση μπορεί να γίνει εξ ολοκλήρου από το γραφικό περιβάλλον, και έτσι το έκανα. Κάνουμε τη λήψη του .deb (για τώρα επιλέγουμε την έκδοση για gutsy), και από την επιφάνεια εργασίας κάνουμε διπλό κλικ για να εγκατασταθεί το πακέτο. Μόλις ενημερωθεί το virtualbox.org με το νέο αποθετήριο για το Ubuntu 8.04, τότε μπορούμε να αποφύγουμε τη διαδικασία αυτή με προσθήκη του virtualbox στους τρίτους κατασκευαστές (third party), στις πηγές λογισμικού του Ubuntu Linux.
Χρειάζεται να προσθέσουμε τους χρήστες του συστήματός μας στην ομάδα vboxusers (γίνεται από το Σύστημα/Διαχείριση/Χρήστες και ομάδες) και μετά αποσύνδεση και σύνδεση ξανά.
Για να ενεργοποιήσουμε την υποστήριξη USB, χρειάζεται να περάσουμε στο τερματικό και να κάνουμε τις απαραίτητες τροποποιήσεις για τα αρχεία /etc/init.d/mountdevsusbfs.sh, /etc/init.d/mountkernfs.sh και /etc/fstab (τα δύο τελευταία είναι για ενεργοποίηση συσκευών όπως εξωτερικοί δίσκοι USB και άλλες πολλές συσκευές). Μετά θέλει επανεκκίνηση του συστήματος.
Η εγκατάσταση του Skype 2.0 σε 64-bit είναι γενικά μπελάς. Αυτό που έκανα είναι να προσθέσω το αποθετήριο medibuntu στις πηγές λογισμικού, τρίτους κατασκευαστές, και μετά να βάλω το πακέτο Skype. Κανένα πρόβλημα.
Εγκατέστησα και το Google Earth από το medibuntu, αλλά τίποτα άλλο. Είδα τα υπόλοιπα πακέτα του medibuntu, και αποφάσισα να απενεργοποιήσω για τώρα το αποθετήριο αυτό.
Ένα σημαντικό που δε δούλεψε με τη μια είναι ο ήχος. Διαβάζοντας από εδώ και εκεί, είδα αναφορές για λήψη του πηγαίου κώδικα της Alsa και μεταγλώττιση ξανά. Αυτό το πράγμα χρειαζόταν για το Ubuntu 7.10, ωστόσο ήμουν σίγουρος ότι δεν χρειάζεται πλέον για την κάρτα μου (snd-hda-intel). Με λίγο ψάξιμο είδα ότι απλά χρειάζεται να προστεθεί στο /etc/modprobe.d/alsa-base η γραμμή
options snd-hda-intel model=lenovo
και μετά επανεκκίνηση. Αυτό ήταν.
Αντίθετα με ότι κάνουν άλλοι χρήστες, προσωπικά δε θα βάλω χύμα κόντεκ για τις διάφορες μορφές πολυμέσων. Με χρήση των εφαρμογών Αναπαραγωγής ήχου και βίντεο, το σύστημα προτρέπει κάθε φορά να γίνει εγκατάσταση των απαιτούμενων πακέτων, αυτόματα.

Κοιτώντας την γενική υποστήριξη ελληνικών στο Ubuntu 8.04, πρέπει να πω ότι είναι αρκετά ευχαριστημένος. Έχει γίνει σημαντική δουλειά σε κάθε σημείο, από την αρχική οθόνη που ξεκινά ο υπολογιστής με το CD/DVD του Ubuntu μέχρι την επιφάνεια εργασίας. Στην οθόνη εκκίνησης έχουμε όλα (σχεδόν!) τα μηνύματα στα ελληνικά, εκτός από δύο (π.χ. Test memory, ήμουν σίγουρος ότι το έλεγξα αυτό αλλά δεν μπήκε στην τελική έκδοση!).
Στα παιχνίδια του Ubuntu, λάβαμε την απόφαση να έχουμε τα ονόματα στα ελληνικά (έτσι, Τετραβέξ αντί Tetravex). Αυτό είναι καλό μιας και τα παιδιά και οι δημόσιοι υπάλληλοι θα παίζουν αποκλειστικά τα παιχνίδια. Αφού και ο db0 δεν χρησιμοποιεί το ελληνικό περιβάλλον, δεν θα υπάρχει σχόλιο ούτε από την πλευρά του. Πάντως, αυτό που συνέβει είναι δύο παιχνίδια βγήκαν αμετάφραστα (Same GNOME, Gnometris) που χαλάνε κάπως τη λίστα, και θα διορθωθούν σε επόμενη έκδοση.
Στη μικροεφαρμογή του ρολογιού είναι δυνατόν να βάλει κάποιος την πόλη του, και το σύστημα θα δείξει την ώρα και τις καιρικές συνθήκες. Δοκιμάστε με πόλεις όπως Θεσσαλονίκη, Καβάλα, Ρόδος, Χανιά, κτλ.
Μιας ακόμα αλλαγή είναι στη συντόμευση για την ελληνική γλώσσα, στην μικροεφαρμογή για την ένδειξη πληκτρολογίου. Τώρα βάλαμε ΕΛΛ (για Ελλάδα), αντί του προηγούμενου Ελλ. Έτσι, συμβαδίζει με το αμερικάνικο πληκτρολόγιο και την ένδειξη ΗΠΑ. Σε επόμενη έκδοση του Ubuntu θα δείχει ΑΓΓ για κάθε αγγλική διάταξη πληκτρολογίου, και αυτό θα γίνει στο πακέτο μετάφρασης για την ελληνική γλώσσα.
Ενημέρωση #1: Ένα πρόβλημα που αντιμετώπισα στην αρχή ήταν η κάρτα γραφικών. Δεν ήταν ζήτημα με τη βασική υποστήριξη της καρτάς γραφικών. Μιας και έχω κάρτα γραφικών Intel, το σύστημα ενεργοποίησε από τη πρώτη στιγμή ακόμα και 3D. Το ζήτημα είχε να κάνει με τη χρήση της εκτεταμμένης επιφάνειας εργασίας (dual head). Για τη χρήση δύο οθονών έπρεπε να επέμβω με το χέρι στο αρχείο ρυθμίσεων /etc/X11/xorg.conf και να καθορίσω το μέγεθος της ιδεατής (Virtual) οθόνης. Δεν κατάφερα να βρω τρόπο για να κάνω το ίδιο πράγμα χωρίς να μπω σε τερματικό.

11Dec/072

ert-archives.gr: “Linux/Unix operating systems are not supported”

ERT (Hellenic Broadcasting Corporation) is the national radio/television organisation of Greece.

ERT recently made available online part of its audio and video archive, at the website http://www.ert-archives.gr/

When browsing the website from Linux, you were blocked with a message that Linux/Unix operating systems are not supported. This message was appearing due to User-Agent filtering. Even if you altered your User-Agent, the page would not show the multimedia.

There has been a heated discussion on this on local mailing lists, with many users sending their personal polite comments to the feedback page at the ERT website. Many individual, personal comments have value and are taken into account.

Since today, http://www.ert-archives.gr/ does no do filtering on the User-Agent, and has changed the wording at the support page saying that

Σχετικά με υπολογιστές που χρησιμοποιούν λειτουργικό σύστημα Linux σχετικές οδηγίες θα υπάρξουν στο άμεσο μέλλον.

which means that they will be providing instructions for Linux systems in the immediate future.

Going through the HTML code of http://www.ert-archives.gr/ one can see that the whole system would work well under Linux, out of the box, if they could change

<embed id="oMP" name="oMP" width="800" height="430" type="application/x-ms-wmp"

to

<embed id="oMP" name="oMP" width="800" height="430" type="video/x-ms-wmp"

Firefox, with the mplayerplugin, supports the video/x-ms-wmp streaming format. You can verify if you have it by writing about:plugins in the location bar and pressing Enter. For my system it says

Windows Media Player Plugin

File name: mplayerplug-in-wmp.so
mplayerplug-in 3.40Video Player Plug-in for QuickTime, RealPlayer and Windows Media Player streams using MPlayer
JavaScript Enabled and Using GTK2 Widgets
...
MIME Type Description Suffixes Enabled
video/x-ms-wmp Windows Media wmp,* Yes

I am not sure if the mplayerplugin package is installed by default in Ubuntu, and I do not know what is the workflow from the message that says that a plugin is missing to the process of getting it installed. If you use the Totem Media Player, it instructs you to download and install the missing packages. I would appreciate your input on this one.

A workaround is to write a Greasemonkey script to replace the string so that Firefox works out of the box. However, the proper solution is to have ERT fix the code.

I must say that I would have preferred to have Totem Movie Player used to view those videos.
ERT Ecology
I just finished watching a documentary from the 80s about ecology and sustainability of the forests on my Linux system. It is amazing to listen again to the voice-over which is sort of a signature voice for such documentaries of the said TV channel. The screenshot shows goats in a forest, and mentioning the devastating effects of said animals on recently-burnt forests.

Update (22Mar08): The problem has not been resolved yet. Dimitris Diamantis offers a work-around at the Ubuntu-gr mailing list.

17Aug/070

Update on planet.ellak.gr

Planet EL/LAK (πλανήτης) is a blog aggregator of Greek-speaking users that work on free and open-source software. Though the users speak Greek, it is OK to write in English as well.

We started in 2004 at http://xnum.sourceforge.net/PlanetHellas/ and quickly realised we had to move somewhere else. We enjoyed hosting at hellug.gr and in February 2007 we moved to the current location, planet.ellak.gr.

In the free and open-source communities, the purpose of a planet is to provide a common location where one can read what the people behind the community are doing, thinking, and so on.

In planet.ellak.gr we use the venus variation of the Planet software. Quite shortly, venus will become the official Planet software.

The planet's feed is being managed by Feedburner. When you access http://planet.ellak.gr/rss20.xml, you get a normalised feed from Feedburner.

The last three blogs added are

  1. Blog of Δημήτρης Τυπάλδος
  2. New blog of Athanasios Lefteris
  3. MyDrupal.gr Greek Drupal Community, (welcome to planet!)

We use Google Coop as a means to search the websites and blogs that are shown here. At the top-right of the planet you can see the special search box. If you read something interesting on the planet at some point in time, you can search it through this search box.

Our latest stats for August show that 50% of our visitors use free and open-source software.

Mozilla Firefox has a 80% lead and is the most popular browser. IE is down at 11% and the rest is distributed to many open-source browsers and also accesses from mobile devices.

The vast majority of the visitors (84%) come directly here (either bookmark, or just typing planet.ellak.gr or they just disabled referrers). 8% comes from search engines and the last 8% come from friendly websites (top referrers include www.ellak.gr and BizWriter (Greek). Top keywords are greek, ubuntu and cyprus.

We maintain this planet in an open fashion; see the Planet-ELLAK Google Group, for past discussions, and information on getting your blog/community listed on planet.ellak.gr.

16Jul/070

GUADEC Day #2

(see http://www.guadec.org/schedule/warmup)

At the first presentation, Quim Gil talked about GNOME marketing, what have been done, what is the goal of marketing. He showed a focused mind on important marketing tasks; it is easy to get carried away and not be effective, a mistake that happens in several projects.

The next session was by Tomas Frydrych (Open Hand - I have their sticker on my laptop!) on memory use in GNOME applications. Many people complain that XYZ is bloated. However, this does not convey what exactly happens; pretty useless. In addition, the common tools that show memory use do not show the proper picture because of the memory management techniques. That is, due to shared libraries, the total memory occupied by an application appears very big. A tool examined is exmap. This tool uses a kernel module that shows memory use of applications by reading in /proc. It takes a snapshot of memory use; it's not real-time info. It comes with a GTK+ front-end (gexmap) that requires a big screen (oops, PDAs). However, it is not suitable for internet tablets and other low-spec devices. Therefore, they came up with exmap-console which addresses the shortcommings. It has a console interface based on the readline library.

Here are the rest of my notes. Hope they make sense to you.

. exmap --interactive
. ?: help
. Head: quite useful (dynamic allocation)
. Mapped:
. Sole use: memory that app is using on its own (rss?)
. "sort vm"
. "print" or "p"
. "add nautilus"
. "clear"
. "detail file" (what executables/libs loaded and how much consume)
. "detail none"

Sole use
. valgrind, to analyse Sole Use memory?
. "detail ????"

Lots of small libraries: overhead

Looking ahead
. Pagemap: by Matt Macall
. http://projects.o-hand.com/exmap-console/

Python
. Sole use: ~18MB ;-(

Tomas was apparently running Ubuntu with the English UK locale. The English UK translation team is doing an amazing job at the translation stats. Actually, most messages are copied, however with a script one can pick up words such as organization and change to organisation. The problem here is that, for example, the GAIM mo file is 215KB (?), however for the British English translation the actual changes should be less than 2-3KB. Messages that are missing from a translation mean that the original US English messages will be used. I'll have to find how to use msgfilter to make messages untranslated if msgid == msgstr. Where is Danilo?

After lunch time (did not go for lunch), I went to the Accerciser session. Pretty cool tool, something I have been look for. Accerciser uses the accessibility framework of GNOME in order to inspect the windows of running applications and see into the properties. A good use is to identify if elements such as text boxes come with description labels; they are important to be there for accessibility purposes (screen reader), as a person that depends on software to read (text to speech) the contents of windows.

The next session was GNOME accessibility for blind people. Jan Buchal gave an excellent presentation.

My notes,

. is from Chech republic, is blind himself. has been using computers for 20+ years

. from user perspective
. users, regular and irregular ;-)
. software
. firefox 3.0beta - ok for accessibility other versions no
. gaim messenger ok
. openoffice.org ok but did not try
. orca screenreader ^^^ works ok.
. generally ready for prime time
. ubuntu guy for accessibility was there
. made joke about not having/needing display slides ;-]
. synthesizer: festival, espeak, etc - can choose
. availability of voices
. javascript: not good for accessibility
. links/w3m: just fine!
. firefox3 makes accessibility now possible.
. web designer education, things like title="", alt="" for images.
. OOo, not installed but should work, ooo-gnome
. "braillcom" company name
. "speech dispatcher"
. logical events
. have short sound event instead of "button", "input form"
. another special sound for emacs prompt, etc.
. uses emacs
. have all events spoken, such as application crashing.
. problems of accessibility
. not money main factor, but still exists.
. standard developers do not use accessibility functions
. "accessor" talk, can help
. small developer group on accessiblity, may not cooperate well
. non-regular users (such as blind musician)
. musicians
. project "singing computer"
. gtk, did not have good infrastructure
. used lilypond (music typesetter, good but not simple to use)
. singing mode in festival
. use emacs with special mode to write music scores (?)
. write music score and have the computer sing it (this is not "caruso")
. gnome interface for lilypond would be interesting
. chemistry for blind
. gtk+
. considering it
. must also work, unfortunately, on windows
. gtk+ for windows, not so good for accessibility
. conclusion: free accessibility
. need users so that applications can be improved
. have festival synthesizer, not perfect but usable
. many languages, hindi, finnish, afrikaans
. endinburgh project, to reimplement festival better
. proprietary software is a disadvantage
. q: how do you learn to use new software?
. a: has been a computer user for 20+ years, is not good candidate to say
. a: if you are dedicated, you can bypass hardles, old lady emacs/festival/lilypond
. brrlcom, not for end-users(?)
. developer problem?
. generally there is lack of documentation; easy to teach what a developer needs to know
. so that the application is accessible
. HIG Human Interface Guidelines, accessible to the developers
. "speakup" project
. Willy, from Sun microsystems, working on accessibility for +20 years, Lead of Orca.
. developers: feel accessibility is a hindrance to development
. in practice the gap is not huge
. get tools (glade) and gtk+ to come with accessibility on by default
. accessibility
. is not only for people with disabilities
. can do amazing things like 3d interfaces something

These summaries are an important example of the rule that during presentation, participants tend to remember only about 8% of the material. In some examples, even less is being recollected.

11Apr/074

Firefox shortcuts in Linux on non-us keyboard layout, and Greek

You tried to use the common keyboard shortcuts in the Linux version of Firefox, with a keyboard layout other than us, and you realised they do not work. For example, Ctrl-C does not work when the Greek keyboard layout is active because Firefox receives Ctrl-Ψ (which is undefined).
This is a well-known problem affecting keyboard shortcuts in many languages.
How can someone solve the problem; Should Firefox for Linux be configured so that internally it would consider Ctrl-C and Ctrl-Ψ correspond to the same keyboard shortcut (perhaps in the language pack)? Well, the problem is that one would prefer a solution that is independent of the keyboard layout. You might be running a Greek localisation of Firefox with an active layout for Hindi.
The optimal solution is to have Firefox associate the keyboard shortcuts to physical keys (whatever that means) instead of the characters they are producing. Bug #69230/Mozilla has been there for quite some time although an acceptable solution is available in both GTK+ (GNOME) and OpenOffice.org. For example, in a GNOME application, both Ctrl-C and Ctrl-Ψ are equivalent.
So, what can we do now with the Linux versions of Firefox? Well, it is possible to write a Firefox extension that would intercept keys being pressed in a local layout and convert to the standard keyboard shortcuts Firefox likes.
Such a workaround is available for the Greek language, written by Athanasios Lefteris, at Mozilla και συντομεύσεις πληκτρολογίου σε Linux.
Currently the extension exists in the sandbox of the Mozilla add-ons, meaning that you are required to register (free) and also configure your profile to allow the view of sandboxed extensions (=in early stage of development, about to get accepted). It is desired to to try out the extension and write a short review. This will help to get the extension accepted as official add-on to the masses.

Many thanks to Athanasios!

p.s.
There is an existing Russian version of the extension. It is expected that other languages will follow.

27Mar/070

Στατιστικά επισκεψιμότητας του planet.ellak.gr

Ακολουθώντας το παράδειγμα του Θάνου, περισσότερα στατιστικά!
Ο Πλανήτης ΕΛ/ΛΑΚ έχει κλείσει 3 εβδομάδες λειτουργίας στο δικτυακό τόπο planet.ellak.gr. Η δημόσια ανακοίνωση του πλανήτη έγινε στην αρχή της δεύτερης εβδομάδας. Ακολουθεί περίληψη των στατιστικών που εμπεριέχουν 2 εβδομάδες δημόσιας λειτουργίας.

Στο διάστημα λειτουργίας είχαμε σχεδόν 1000 μοναδικούς επισκέπτες που κατανάλωσουν 1.3GB.
Η συντριπτική πλειοψηφία των επισκεπτών είναι από την Ελλάδα.
Το Google Feedfetcher (ειδικά για ιστολόγια/ροές RSS) είναι ο πιο τακτικός επισκέπτης μορφής bot. Δεύτερο έρχεται το Bloglines.
Οι μισοί επισκέπτες χρησιμοποιούν Windows ενώ το 43% χρησιμοποιεί Linux. 3.2% με OS/X ενώ υπήρξαν επισκέψεις και με BSD. Κάποιος κατάφερε να συνδέσει το PSP στο Διαδίκτυο.
Ο Firefox καταλαμβάνει το 71% του μεριδίου των περιηγητών ενώ ο IE απομένει με 14%. Υπάρχουν χρήστες που διατηρούν το Mozilla browser, 4.2%. Κάποιος συνδέθηκε με το κινητό του (Nokia) [εγώ] ενώ άλλος χρησιμοποιεί το Firebird, εκείνη την πολύ παλιά έκδοση του Firefox.
Από τους αναγνώστες RSS, ξεχωρίζει ο liferea.
Από τους referer, ο καλύτερος ήταν το www.ellak.gr με δεύτερο το planet.hellug.gr.

3Jan/070

Σπάσαν τα καλώδια

Την περασμένη εβδομάδα έγινε ένας ισχυρός σεισμός κοντά στην Ταϊβάν. Το επίκεντρο ήταν στη θάλασσα, κοντά στις νότιες ακτές του νησιού. Υπήρξε ένας αριθμός θυμάτων που ήταν σχετικά μικρός λόγω των αυστηρών πολεοδομικών κανονισμών της χώρας για ανθεκτικά κτίρια.
Ένα από τα θύματα ήταν τα καλώδια οπτικών ινών του συστήματος APCN 2 που συνδέουν την ΝΑ Ασία με τις ΗΠΑ και τον υπόλοιπο κόσμο. Έτσι, μέχρι την επισκευή των καλωδίων (~4 εβδομάδες) η σύνδεση με το Διαδίκτυο για τις χώρες της ΝΑ Ασίας είναι από αδύνατη μέχρι πολύ αργή.
Την επόμενη μέρα της καταστροφής το Google ήταν η μόνη υπηρεσία που κατάφερε να λειτουργήσει. Η εντολή traceroute έδειξε ότι τα πακέτα τερμάτιζαν στο Χονγκ Κονγκ οπότε το Google είχε προσπεράσει το πρόβλημα με τη Ταϊβάν με χρήση κάποιας άλλης γραμμής. Άλλες υπηρεσίες όπως Yahoo δεν ήταν προσπελάσιμες. Μπορούσες να συνδεθείς μόνο με δικτυακούς τόπους μέσα από στην NΑ Ασία.

Κοιτώντας το χάρτη με τη διασύνδεση των καλώδιων οπτικών ινών στην Ασία (PDF), διαπιστώνει κανείς ότι π.χ. είναι δυνατή η σύνδεση στην Αυστραλία από την ΝΑ Ασία. Πως μπορεί ένας χρήστης να συνδεθεί από ΝΑ Ασία με ΗΠΑ μέσω Αυστραλίας; Ένας εύκολος τρόπος είναι με τη ρύθμιση διαμεσολαβητή (proxy) που βρίσκεται στην Αυστραλία στο Firefox. Υπάρχει μεγάλη λίστα από anonymous proxy στο διαδίκτυο που μπορεί κάποιος να βρει εύκολα μέσω Google.

Στις τοπικές εφημερίδες διαβάζει κανείς άρθρα για τοπικούς ιστολόγους που η διαδικτυακή τους ζωή έχει ταραχθεί λόγω της αδυναμίας ιστολόγησης. Ελπίζω να διορθωθούν τα πράγματα σύντομα.

5Sep/064

Freenigma (PGP) firefox extension for your GMail

The image “http://www.freenigma.com/img/encrypt.jpg” cannot be displayed, because it contains errors.

Freenigma is a Firefox extension that adds PGP support to GMail. You install the Firefox extension and when you are about to write an email in GMail, it rewrites the page code to add the PGP support.

Using public-key cryptography is generally cumbersome when you take in account the management of the public keys of the other people you communicate with, and also keeping around your private key to decrypt the mails you receive. Freenigma, currently at beta, helps alleviate these problems.

I would like to see a security researcher look into the implementation of Freenigma, and especially for any sources of vulnerability.

1Jul/060

Επιστροφή από GUADEC 2006

Σήμερα το πρωί επέστρεψα από το συνέδριο GNOME User and Developer European Conference (GUADEC).

Το συνέδριο ήταν μια πολύ καλή ευκαιρία για να συναντηθούν τα άτομα που εργάζονται στο ίδιο το γραφικό περιβάλλον GNOME και αλλά σημαντικά έργα όπως το Xorg.

Οι πρώτες δύο μέρες ήταν για warm up και υπήρχαν θέματα γενικά για το ελεύθερο λογισμικό. Υπήρξαν αναφορές για τοπικοποίηση ελεύθερου λογισμικού όπως OOo και Mozilla. Ο οργανισμός SIL International έκανε επίδειξη την δουλειά που κάνει με τη βιβλιοθήκη graphite, που επιτρέπει την απεικόνιση περίπλοκων γραφών (ινδικά, κτλ) καθώς και τη γραφή με τη χρήση combining marks. Για το τελευταίο, όταν π.χ. κάποιος γράφει ελληνικά μπορεί να χρησιμοποιήσει είτε χαρακτήρες precomposed (με τα σημάδια ήδη επάνω τους) είτε τους χαρακτήρες της αλφαβήτου με τα combining marks. Δοκιμάστε να γράψετε σε GNOME

α + Ctr-Shift-301 παράγει ά

Δηλαδή υπάρχει διαφορά στην κωδικοποίηση των ά και ά καθώς και μικρή διαφορά στην εμφάνιση τους. Σε παραδείγματα με πιο περίπλοκα σημάδια, το πρόβλημα αυτό είναι ακόμα πιο φανερό.

Με τη μηχανή graphite είναι δυνατό να αποδοθούν οι κατάλληλες πληροφορίες στις γραμματοσειρές για να γίνει η σωστή απεικόνιση.
Ακόμα, η βιβλιοθήκη KMFL επιτρέπει το εύκολο γράψιμο σε άλλες γλώσσες. Σε Ubuntu είναι διαθέσιμη ως συστατικό του SCIM.

Ο Federico Mena Quintero έκανε μια βασική παρουσίαση για τα πρώτα βήματα στο προγραμματισμό και στη δημιουργία επιρραμμάτων (patches). Στόχος της παρουσίασης ήταν να κάνει την τοπική κοινότητα να ξεκινήσει τον προγραμματισμό.

Την πρώτη ημέρα του Guadec ο Jeff Waugh άνοιξε το συνέδριο με παρουσίαση των βασικών στόχων του έργου GNOME. Στο προσκήνιο είναι ο Dave Neary.
Go to the screencast

Ο Alex Graveley παρουσίασε το Gimmie, ενός προγράμματος που μπορεί να αντικαταστήσει το ταμπλώ στο GNOME. Υπάρχει τώρα και ελληνική μετάφραση του πακέτου.

Ο Miguel κάθεται στα δεξιά (πράσινο t-shirt).

Η Kathy Sierra έκανε μια παρουσίαση με τίτλο How to make passionate users. Η παρουσίαση αυτή ήταν από της καλύτερες του συνεδρίου διότι παρουσίασε προβλήματα στη σωστή προβολή και διάδοση ελεύθερου λογισμικού. Συγκεκριμένα, πρέπει να υπάρχει μια ροή κατά τη διάρκεια της εκμάθησης ενός νέου πακέτου λογισμικού ώστε να γίνει η μετατροπή ενός νέου χρήστη σε ένα παθιασμένο χρήστη.
O Behdad έκανε μια παρουσίαση για το pango και τις γραμματοσειρές. Υπάρχει ένα ζήτημα για το θέμα της σωστής υποστήριξης ελληνικών στη διανομή Fedora Core Linux. Αυτή τη στιγμή η πιο κατάλληλη ελεύθερη γραμματοσειρά είναι η DejaVu. Δεν έγινε αναφορά στο ζήτημα αυτό, σε αυτό το σημείο.
O Robert Love έκανε μια παρουσίαση για το NetworkManager, που επιτρέπει εφαρμογές να διατηρούν μια σωστή σύνδεση με το δίκτυο. Το πακέτο αυτό είναι ιδιαίτερο σημαντικό όταν υπάρχουν πολλαπλά access points και θέλετε να υπάρχει αυτόματη ρύθμιση δικτύου. Στην ίδια παρουσίαση, ο Robert αναφέρθηκε και το πακέτο FUSE που επιτρέπει στους χρήστες να γράφουν τα δικά τους συστήματα αρχείων σε κατάσταση χρήστη (userspace).
Ο Damien Sandras παρουσίασε το Ekiga, πρόγραμμα επικοινωνίας μέσω φωνής και βίντεο. Φαίνεται ότι υπάρχει ανάγκη για βοήθεια στο θέμα της προώθησης του λογισμικού (μάρκετινγκ).

Ο Alexander Larsson παρουσίασε το νέο API για εκτυπώσεις σε GTK+. Υπήρξε συζήτηση για κάποιες επιλογές με το ενδεχόμενο να υπάρχουν άλλες επιλογές. Πάντως έγινε αναφορά ότι για τώρα δεν είναι εύκολη η αντιγραφή και επικόλληση του κειμένου μέσα από το νέο API.

Έπειτα, ο Federico έκανε το μεσημεριανό keynote με τίτλο How Much Faster? περιγράφοντας τις στρατηγικές βελτιστοποίησης του λογισμικού ώστε να μην υπάρχει παράξενα κολλήματα κατά τη χρήση (ζητήματα ροής από την παρουσίαση της Kathy). Υπάρχει ένα σημαντικό θέμα στην ανάλυση πακέτων λογισμικού όπως Evolution και Firefox για τη βελτιστοποίηση της χρήσης μνήμης και της διαδραστικότητάς τους.
O Glynn Foster παρουσίασε το πακέτο DTrace που επιτρέπει τον έλεγχο της λειτουργίας λογισμικού (χρειάζεται αλλαγές στον πυρήνα). Το DTrace είναι διαθέσιμο σε Solaris και FreeBSD. Είναι αρκετά καλό να το χρησιμοποιήσει κάποιος για την κατανόηση των προβλημάτων μνήμης/ταχύτητας των πακέτων ελεύθερου λογισμικού.

Την επόμενη μέρα, ο Lluis Sanchez παρουσίασε το MonoDevelop και τα νεώτερά του χαρακτηριστικά. Το MonoDevelop επιτρέπει την εύκολη δημιουργία εφαρμογών σε Mono αλλά και για άλλες γλώσσες.

Ο Jim Gettys παρουσίασε το έργο OLPC και αναφέρθηκε στις πληροφορίες που μπορεί να βρει κάποιος και από το www.laptop.org. Έβγαλα φωτογραφίες με τις διαφάνειες και θα τις βάλω κάπου σύντομα.

Ο Lluis Villa έκλεισε το συνέδριο GUADEC με μια πολύ δυνατή παρουσίαση. Ο Lluis ήταν bugmaster στο bugzilla.gnome.org και έχει προσφέρει αρκετά. Τώρα ξεκινά πτυχίο για δικηγόρος με αποτέλεσμα να είναι εκτός της σκηνής για τα επόμενα 4 χρόνια. Χρησιμοποίησε το στοιχείο αυτό για να αναφερθεί στο 2010 και σε τι πιστεύει να έχει γίνει μέχρι τότε. Το μήνυμά του ήταν ότι GNOME is about people.
Οι επόμενες δύο μέρες ήταν της μορφής After Hours workshop.

Υπήρξε μια συζήτηση για το OLPC από τον Jim Gettys. Έγινε αναφορά στην τοπικοποίηση και στα τυχόν προβλήματα καθώς και στο ζήτημα της ανάγκης hinting στις γραμματοσειρές.

Ακόμα, έγινε μια συζήτηση για το θέμα των γραμματοσειρών στη διανομή Fedora. Όπως είναι τώρα, όταν κάποιος εγκαταστήσει ελληνικά, έχει ένα αποτέλεσμα που μοιάζει με αυτό το χάλι. Ο λόγος για τον οποίο δεν έχει μπει άμεσα η γραμματοσειρά DejaVu στη διανομή Fedora είναι διότι η γραμματοσειρά αυτή περιλαμβάνει αραβικούς χαρακτήρες και μπορεί εν δυνάμει να δημιουργήσει πρόβλημα στους χρήστες από αραβικές χώρες. Ωστόσο, το ίδιο ζήτημα το έχουμε στα ελληνικά, και η πραγματική λύση είναι η επέκταση του υποσυστήματος fontconfig για να επιτρέπει τη μη-χρήση χαρακτήρων σε συγκεκριμένες γραμματοσειρές μέσω του αρχείου ρυθμίσεων /etc/fonts/fonts.conf

Ο Keith Package δήλωσε ότι θα δεχτεί επίρραμμα (patch) για την προσθήκη της νέας λειτουργίας, που θα απενεργοποιεί μια και καλή περιοχές χαρακτήρως σε συγκεκριμένες γραμματοσειρές. Κάτι τέτοιο είναι καλό για τα ελληνικά. Από την πλευρά του, οι Nicholas και Jay (sun.com) ετοίμασαν ένα επίρραμμα που υλοποιεί κάτι παραπλήσιο αλλά επιτρέπει εκείνους τους κακούς χαρακτήρες να είναι χρησιμοποιήσιμοι με απευθείας επιλογή. Κάτι τέτοιο ίσως είναι πιο θεμιτό διότι για π.χ. το κοινό που γράφει CJK και θέλουν τα ελληνικά που υπάρχουν στις γραμματοσειρές τους.

Ο Behdad από την πλευρά του δήλωσε ότι θα δεχτεί την DejaVu LGC. Τώρα είμαστε στο σημείο να κλείσει το ζήτημα με την επιλογή μιας ή και των δύο επιλογών.

Έκανα μια παρουσίαση για το θέμα της γραφής στο GNOME και συγκεκριμένα ότι είναι θεμιτό (desirable) να υπάρχει η δυνατότητα να μπορούν οι χρήστες να γράφουν ακόμα περισσότερους χαρακτήρες που υποστηρίζει το Unicode και οι γραμματοσειρές.

Η επιστροφή ήταν θεαματική. Προλάβαμε το αεροπλάνο με περιθώριο ~10 λεπτά. Το μέρος (venue) ήταν πολύ όμορφο και υπήρξε παραλία αρκετά κοντά...

Ένας από τους προσκεκλημένους ήταν από την Μογγολία. Του δώρισαν ένα βιβλίο για το Mono (εκείνο το μπλε βιβλίο) και έβαλε και τον Miguel να το υπογράψει :)
Το επόμενο Guadec θα γίνει στο Birmingham, στο H.B. Όσοι είστε στην Αγγλία αξίζει να πάτε.

27May/0611

Διανομή Linux για μικρά συστήματα

Puppy OS screenshot

Προέρχεται από τον simosx.

Υπάρχουν μια σειρά από διανομές Linux που δεν έχουν μεγάλες απαιτήσεις σε χώρο στο σκληρό δίσκο ή επιδόσεις από τον επεξεργαστή. Ακόμα, είναι εύκολο να γίνει η εγκατάστασή τους σε USB stick/CDROM/Προσομοιωτή/ZIP Disk/Σκληρό δίσκο/κτλ με αποτέλεσμα να είναι αρκετά φορητά.

Τέτοιες διανομές είναι

  • Feather Linux, που συνδυάζει όλα τα αρχεία σε λιγότερο από 128ΜΒ (βασίζεται σε Knoppix remaster),
  • Damn Small Linux (DSL), που συνδυάζει όλα τα αρχεία σε λιγότερο από 50ΜΒ.
  • Puppy Linux (PuppyOS), που συνδυάζει όλα τα αρχεία σε λιγότερο από 70ΜΒ.

Για το Damn Small Linux (DSL), τα χαρακτηριστικά είναι

  • Boot from a business card CD as a live linux distribution (LiveCD)
  • Boot from a USB pen drive
  • Boot from within a host operating system (that's right, it can run *inside* Windows)
  • Run very nicely from an IDE Compact Flash drive via a method we call "frugal install"
  • Transform into a Debian OS with a traditional hard drive install
  • Run light enough to power a 486DX with 16MB of Ram
  • Run fully in RAM with as little as 128MB (you will be amazed at how fast your computer can be!)
  • Modularly grow -- DSL is highly extendable without the need to customize

Για το Puppy Linux (PuppyOS), τα χαρακτηριστικά είναι

  • Puppy will easily install to USB, Zip or hard drive media.
  • Booting from CD, Puppy will load totally into RAM so that the CD drive is then free for other purposes.
  • Booting from CD, Puppy can save everything back to the CD, no need for a hard drive.
  • Booting from USB, Puppy will greatly minimise writes, to extend the life of Flash devices indefinitely.
  • Puppy will be extremely friendly for Linux newbies.
  • Puppy will boot up and run extraordinarily fast.
  • Puppy will have all the applications needed for daily use.
  • Puppy will just work, no hassles.
  • Puppy will breathe new life into old PCs

Τέτοιες διανομές είναι πολύ σημαντικές διότι προσεγγίζουν τη λειτουργικότητα του OLPC.
Χρησιμοποίησα το Puppy OS σε USB stick και παρακάτω είναι μια σειρά από σχόλια

  • Σε τυπικό φορητό υπολογιστή Pentium M, η διανομή είναι πολύ διαδραστική. Κάθε λειτουργία ξεκινά πολύ γρήγορα και δεν ακούς καθόλου το ανεμιστηράκι (ίσως πρέπει να ενεργοποιήσετε το powersave kernel module για το φορητό σας :) ).
  • Οι διανομές αυτές χρησιμοποιούν τον πυρήνα 2.4.x. Είδα ότι υπήρχαν χρήστες που έκαναν αναβάθμιση σε 2.6.x, δεν ξέρω αν αλλάζει κάτι σημαντικό στη διαδραστικότητα ή στη χρήση της μνήμης.
  • Υπάρχει Firefox και δουλεύει αρκετά καλά. Ωστόσο, ο υπολογιστής έχει 512ΜΒ RAM και μπορείτε να δείτε στο στιγμιότυπο ότι γίνεται χρήση ενός σεβαστού ποσού της μνήμης.
  • Το Abiword ξεκινά πολύ γρήγορα, είναι διαδραστικό. Πολύ όμορφα.
  • Δεν κατάφερα να γράψω ελληνικά διότι η έκδοση αυτή του XFree86 δεν είχε τα απαραίτητα αρχεία με τις διατάξεις πληκτρολογίου. Γενικά θα είναι προβληματική η κατάσταση αυτή αν δεν υπάρχει μικροεφαρμογή που να δείχνει την τρέχουσα ενεργή διάταξη πληκτρολογίου.
  • Η βασική γραμματοσειρά δεν έχει ποιοτικά ελληνικά, μπορεί κάποιος να εγκαταστήσει DejaVu ρίχνοντας τα αρχεία στο ~/.fonts/
  • Υπάρχει διαχειριστής πακέτων και μπορείτε να εγκαταστήσετε νέες εφαρμογές σχετικά εύκολα.
  • Ο διαχειριστής παραθύρων νομίζω ότι είναι ο fvwm. Η βασική εγκατάσταση είναι αρκετά βασική. Ωστόσο, άλλοι χρήστες κατάφεραν και είχαν πολύ καλύτερο αποτέλεσμα.
  • Κατά την εκκίνηση γίνεται αντιγραφή του περιεχομένου του USB stick στο σκληρό δίσκο. Δεν ξέρω αν αυτό είναι απαίτηση ή γίνεται για λόγους ταχύτητας. Μετά το κλείσιμο του υπολογιστή, το αρχείο αυτό αντιγράφεται πίσω στο USB stick.

Ενημέρωση: Υλοποίηση proof-of-concept με τη χρήση του Puppy Linux για το OLPC.

20May/06Off

Delicious Firefox extension

Delicious Firefox extension

Προέρχεται από τον simosx.

If you are in social bookmarking and del.icio.us, you cannot miss to use a Firefox extension to post your favourite pages. There are two del.icio.us Firefox extensions, the one I like is http://delicious.mozdev.org/

I tried the more popular https://addons.mozilla.org/firefox/1532/ some time ago, however I was not impressed on how it worked. It is so visible with its own buttons and menu on the screen. I believe it has evolved and it appears in screenshots section that it covers the same functionality. BuBlog uses this extension.
With http://delicious.mozdev.org/, when you are at the page you want to bookmark, you hit Alt-Shift-S (you can change this in the extension's options, I changed to Ctrl-Shift-S) and this dialog box appears so that you can easily fill in the fields. Pure usability.

Before hitting Ctrl-Shift-S, you can also select a few representative sentences of the page, sentences that will be used as notes for your del.ici.ous entry. It is much easier in the future to come back and check the notes of the several hundred bookmarks.
Have a look at my social bookmarks.
There is a WordPress extension that enables you to get your latest del.icio.us bookmarks appear on your blog at the sidebar. See my blog.

Moreover, del.icio.us now supports private bookmarks, that is, the ability to designate a bookmark not to be shared with others. The Firefox extension http://delicious.mozdev.org/ allows you to tick on option if you want your bookmark not to be public.

Finally, we mentioned del.icio.us in a previous post.

17May/060

Domains and Webhosting #3

It is quite common to require information about domain names during our work with webhosting and the market of domains.

There are specific tools that one can use to find the WHOIS record of a domain name, find who has allocated a specific IP address, ping or traceroute a hostname, view the history of a domain name registration and many more.

If you do not want to install individual tools for each of the above, you can use domaintools.com.

domaintools.com allows to

domaintools.com used to be the whois.sc website. domaintools.com offers XMLRPC access so that you can add domain-related functionality to your Web applications.
Another service is dnsstuff.com. You can access through the Website or using this Firefox extension.

With dnsstuff.com you can

  • retrieve a DNS report of potential errors for a domain name, http://www.dnsreport.com/
  • check any speed issues when resolving names (this affects how responsive your website appears), i.e. http://www.dnsstuff.com:8080/tools/dnstime.ch?type=A&name=simos.info
  • WHOIS lookup
  • show the abuse contact of a domain (can also be obtained from the general WHOIS record)
  • find whether a mailserver of a domain is in the spam database,
  • do a reverse DNS lookup and show all steps taken
  • find the geolocation of an IP address/hostname, if possible
  • find the cached DNS entries for specific hostnames at popular DNS servers (helpful when you change DNS information for your domain)
Tagged as: , , , , , No Comments

Switch to our mobile site