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

15Mar/070

Blog promoting OpenOffice.org, ODF, open-standards

An interesting blog that takes you through the developments of ODF in the standardisation process is http://www.openmalaysiablog.com/.

The first entry on the website is a static page; the second item is the newest entry, and so on.

Recent posts talked about the OpenXML attempt for "fast-track" standardisation and how several countries dealt with this on the national level.

The most recent item is about an agency in South Korea that adopts ODF.

17Feb/072

For how long have I been using my computer?

Do you want to check how many hours you have been using your computer/laptop?

Do you want to find out if that second-hand hard disk salesman is saying the truth?

Are you about to buy a second-hand laptop that had been used only sparingly?

You can figure out what's going on, with the help of your Linux box and the smartmontools package. Especially since I decided to keep my old hard disk that sits next to me.
Modern hard disks support a feature called Self-Monitoring, Analysis, and Reporting Technology (S.M.A.R.T.), which helps make them more reliable.

One of the data recorded by S.M.A.R.T. is the total number of hours a hard disk has been in operation. This is the S.M.A.R.T. attribute 09 called Power-On Hours (POH). When your computer is on, your hard disk is on as well, therefore you can get the total number
of hours your computer has been on. Let's see how we put all of these in action.

You need to install the smartmontools package, available from the standard Ubuntu repositories.

  1. Start System/Administration/Synaptic Package Manager and search for smartmontools. Select the package for installation and click to Apply.
  2. Assuming your hard disk corresponds to device /dev/hda, run the command sudo smartctl --all /dev/hda on a terminal window.

You will get a long list of information and attributes. Wade through the output and notice the attribute list and the line with ID 09.
On my system it is

ID# ATTRIBUTE_NAME   ...   UPDATED  WHEN_FAILED RAW_VALUE
9   Power_On_Hours     ...   Always                 -                      24

Here you can see that this hard disk has been in operation for 24 hours in total. Yes, it's a new hard disk.
If your hard disk is a bit exotic, you may see a strangely large raw value. Other manufacturers measure the time in minutes or seconds, so you need to convert accordingly.
Other information you may extra from S.M.A.R.T. include the temperature of the hard disk. The temperature has ID 194. For me it is

ID# ATTRIBUTE_NAME        ...   UPDATED  WHEN_FAILED RAW_VALUE
194 Temperature_Celsius  ...    Always                 -                     41

That is 41 degrees Celsius.

You can also perform self-tests on your hard disk in order to check if it is about to fail. In S.M.A.R.T. terminology there are short (1min duration) and long (30min duration) tests, and the last five results are saved in the hard disk non-volatile memory. The entry includes the number of hours the hard disk has been in operation as explained above. Therefore, when you loan a laptop to a hard working person that has to finish an essay, you can perform a test so that the current number of hours are recorded, and then perform another test when you receive it back. If you are said hard working person, leave the laptop on as much as possible.
Apparently, most USB/Firewire caddies/enclosures do not pass the S.M.A.R.T. information, therefore you cannot access the relevant attributes. You need to connect the hard disk on the IDE/SCSI/etc channel.

6Jun/064

Παρωχημένα πράγματα

παρωχημένος -η -ο [paroiménos] E3 : που ανήκει στο παρελθόν: O ιστορικός μελετά παρωχημένες εποχές. || (γραμμ.) Παρωχημένη λέξη / έκφραση. Παρωχημένη σημασία / χρήση μιας λέξης, που υπήρχε παλαιότερα. || (γραμμ.) ~ χρόνος, συντελεσμένος. [λόγ. < αρχ. παρῳχημένος (γραμμ.: ελνστ. σημ.)]

Πηγή: http://www.komvos.edu.gr/dictionaries/dictonline/DictOnLineTri.htm

Υπάρχει συζήτηση στη λίστα i18ngr για το αν είναι κατάλληλη η λέξη παρωχημένος για τη μετάφραση του όρου deprecated (π.χ. the use of the abort3() system call is deprecated).

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

In computer software standards and documentation, deprecation is the gradual phasing-out of a software or programming language feature.

Πηγή: http://en.wikipedia.org/wiki/Deprecated

Η λέξη παρωχημένος τείνει να έχει αρνητικό connotation και σε μερικές καταστάσεις έχει χρήση ως βρισιά.

Ποιος είναι ο πιο κατάλληλος όρος για τη μετάφραση του deprecated;

2Jun/060

Keyboard updates in Xorg

There have been a few updates in Xorg regarding the multilingual keyboard support.

First, a new dead key has been added for Finish, dead_stroke. It appears that Cyrillic would find it useful as the available dead keys are too few to be reused in this case. The moral of the story is that if you want to add a dead_key, justify the necessity and it can be added.
Second, the Compose file nls/en_US.UTF-8/Compose.pre has been updated so that any Unicode keysyms have a value over 0x100000 (if keysym is Unicode keysym and had value < 0x100000, add 0x100000 to its current value). You will not see the change in the previous URL (which shows that CVS only); the updated Compose file is in git.

Third, there was an addition of the Braille input method which closed bug #6296. Braille is already available in the Unicode standard.

Thanks to Daniel Stone for going through these patches.

To get your daily fix on changes applied to Xorg, see the web-based interface to git.

Update (6Feb07): The new location of the compose file is http://gitweb.freedesktop.org/?p=xorg/lib/libX11.git;a=tree;f=nls

3May/060

ISO/IEC 26300

The OASIS OpenDocument Format (ODF) standard has now been adopted by ISO/IEC!

Washington, DC - The OpenDocument Format Alliance (ODF Alliance), a broad cross-section of associations, academic institutions and industry dedicated to solving the problem of improving access and retrieval of electronic government documents, today congratulated the International Organization for Standardization (ISO) for its sweeping approval of the OpenDocument Format as an international standard.

"Approval of the OpenDocument Format by ISO marks an important milestone in the effort to help governments solve the very real problem of finding a better way to preserve, access and control their documents now and in the future," said Marino Marcich, Executive Director of the ODF Alliance. "There's no doubt that this broad vote of support will serve as a springboard for adoption and use of ODF around the world. At the same time, it also represents a milestone for the ODF Alliance, which in just weeks has seen a groundswell of support and continues to grow everyday."

Source: ODF Alliance Press release

For more on the background of this development, see the Consortium Info Blog.

9Mar/062

Taxis and security

It is quite encouraging that citizens taxed in Greece are able to file their tax reports through the Web, at the Taxis Website. Sadly, it has been reported that standard-compliant Web browsers are not supported by the Taxis Website. If you are affected, do complain about it! If you file taxes and you are affected, file a report.
Let's see some more issues.

A. The main login page is not configured properly with regards to the autocomplete feature found in modern browsers; as is, your username and password get saved by default in your browser. If your computer is stolen or a trojan horse gets installed on your computer, your tax details are gone! :(

The Web developer should modify the HTML code from

< span class=“textblue2″>< b>user name: b>span>
< input type=“text” name=“username” maxlength=“40″ size=“15″ value=“testing”>
< P>< span class=“textblue2″>< B>password:B>span>
< input type=“password” name=“password” maxlength=“40″ size=“17″ value=“testing”>

to

< span class=“textblue2″>< b>user name: b>span>
< input type=“text” name=“username” autocomplete=“off” maxlength=“40″...
< P>< span class=“textblue2″>< B>password:B>span>
< input type=“password” name=“password” autocomplete=“off” maxlength=“40″...

B. The page http://webtax.gsis.gr/taxisnet/login.do claims that users are protected by Verisign (SSL/TLS). Quite sadly, the intent has probably been that users will connect through the proper URL, at https://webtax.gsis.gr/taxisnet/login.do. Dear Taxis, you should place an HTTP redirection to move all users to the SSL/TLS-protected URL. You are in breach of your Verisign license!

The image “http://static.flickr.com/55/110197352_d60be48ab3_o.png” cannot be displayed, because it contains errors.

I will follow on the above report here.

Actually, it would be much better if the web server is SSL/TLS only (no plain HTTP version available). The web server should be configured at any access to a URL under http://webtax.gsis.gr/... should redirect to https://webtax.gsis.gr/.
C. What is worst of all, the website provides content in the 8859-7 8-bit legacy encoding. It is much better to convert to Unicode and UTF-8. I do not know if users have to write text in Greek for their tax forms...
I don't file taxes so I am not sure if there are more issues once you logon.

Update: The http://webtax.gsis.gr/taxisnet/login.do URL does not work anymore (it forwards to another Website which is down). I did not hear back from Verisign; it's possible that the two events are linked together.

16Feb/061

Ανατομία ενός γράμματος

Με ενδιαφέρον είδα μια συζήτηση (τίτλος upgrade σε ubuntu 5.10 = προβλήματα με τα ελληνικά) στη λίστα συνδρομητών Linux-greek-users για το θέμα της υποστήριξης γραφής ελληνικών σε ελεύθερο λογισμικό.
Ωστόσο, μετά από λίγα γράμματα, στάλθηκε

2Jun/05Off

Γραμματοσειρά Arev, με ελληνική υποστήριξη

Αυτή τη στιγμή, η γραμματοσειρά Bitstream Vera είναι η βασική γραμματοσειρά σε αρκετές διανομές για την απεικόνιση λατινικών χαρακτήρων.

Θα ήταν πολύ καλό να μπορούσαν να προστεθούν ελληνικοί χαρακτήρες στην ίδια την γραμματοσειρά, οπότε πολύ εύκολα θα είχαμε καλή υποστήριξη για τα ελληνικά, χωρίς να χρειαστούν ειδικές ρυθμίσεις σε αρχεία όπως fontconfig.conf (freedesktop), VCL.xcu (OpenOffice.org) που καθορίζουν τους κανόνες αντικατάστασης όταν λείπουν χαρακτήρες σε μια γραμματοσειρά.

Όμως, είναι αρκετά δύσκολη διαδικασία μιας και χρειάζεται ο δημιουργός της γραμματοσειράς να μεριμνήσει. Υπάρχει η εντύπωση ότι για τώρα δεν είναι κατορθωτό.

Όμως, χάρις στην άδεια με την οποία διατίθεται η Bitstream Vera, τρίτοι μπορούν να πάρουν την γραμματοσειρά, να προσθέσουν χαρακτήρες (glyphs), και να την διαθέσουν αλλάζοντας το όνομα της. Η πιο δημοφιλής "επέκταση" της Bitstream Vera είναι η γραμματοσειρά Dejavu, που περιλαμβάνει υποστήριξη για χαρακτήρες από γλώσσες τις ανατολικής Ευρώπης. Όμως, δεν έχει ελληνικά.

Τον ίδιο δρόμο με την γραμματοσειρά Dejavu ακολουθεί και η γραμματοσειρά Arev. Η Arev περιλαμβάνει ελληνικά, αν και ο δημιουργός της δηλώνει ότι δεν γνωρίζει καν την γλώσσα! Υπάρχει φυσικά δείγμα της γραμματοσειράς (PDF), και οι ελληνικοί χαρακτήρες είναι γενικά ευπαρουσίαστοι. Υπάρχουν βελτιώσεις που μπορούν να γίνουν (π.χ. χαρακτήρας ρ), οπότε αν ξέρετε από γραμματοσειρές, ιδού η Ρόδος.

Υπάρχει στο πλάνο της Dejavu στόχος να γίνει συννένωση με την Arev, και τελικά συννένωση με τα SuSE standard fonts, που αποτελούν αντίγραφα της Bitstream Vera.

24May/05Off

To OpenDocument είναι επίσημο πρότυπο πια!

Από τα μέλη του OASIS, δείτε δελτίο τύπου.

16Mar/05Off

Τι είναι τα αρχεία .odt;

Σε συνέχεια της εγγραφής Ευχάριστα νέα από το μέτωπο "OASIS Open Office XML Format", πλησιάζει ακόμα περισσότερο η τελική έκδοση των προτύπων για Open Document Format for Office Applications.

Μπορείτε να γράψετε/μετατρέψετε κείμενα στο νέο φορμά με την δοκιμαστική έκδοση του OpenOffice.org 2.0beta.

Ενημέρωση 2009/06/12: Αυτή τη στιγμή βρισκόμαστε στην έκδοση 3.1 του OpenOffice.org. Εγκαταστήστε το και επεξεργαστείτε τα αρχεία .odt!

Άλλες εφαρμογές γραφείου όπως AbiWord και KOffice αρχίζουν να χρησιμοποιούν το παραπάνω πρότυπο.

Switch to our mobile site