ΕΛ/ΛΑΚ (FOSS)

Ο,τιδήποτε σχετίζεται με το Ελεύθερο/Ανοικτού Κώδικα Λογισμικό

MySQL not ACID compliant?

Sometimes, the question "Which FOSS DBMS to use for my application, MySQL or PostgreSQL?" arises in forum topics, mailing lists, blogs, etc. The answer is not as simple as the question itself and I won't try to answer it here. Instead, I will stand at an issue that arises from the answers given by various people.

No votes yet

Ο Richard Stallman θα δώσει ομιλία στη Θεσ/νίκη!

Μόλις είδα την πληροφορία στο ADSLgr.com. Εκεί αναφέρει ότι ο Richard Stallman, ο ιδρυτής του Free Software Foundation και του κινήματος του Ελεύθερου Λογισμικού, θα δώσει ομιλία στη Θεσσαλονίκη, στα τέλη Μαΐου, δεχόμενος πρόσκληση της Ένωσης Ελλήνων Χρηστών & Φίλων Ελεύθερου Λογισμικού / Λογισμικού Κώδικα (GreekLUG). Το αναπαραγάγω, κάντε κι εσείς το ίδιο!

Σίγουρα κάτι που δεν πρόκειται να χάσω!

Ενημέρωση: Ανακοινώθηκε η ώρα και ο τόπος που θα δώσει την ομιλία του ο Stallman εδώ στη Θεσσαλονίκη. Τρίτη 1 Ιουνίου στις 18:00 στο κέντρο NOESIS. Λεπτομέρειες στην ανακοίνωση του GreekLUG.

Your rating: None Average: 5 (2 votes)

Oracle και Openoffice.org

Η εξαγορά της Sun από την Oracle είχε δημιουργήσει ένα αντίκτυπο στο διαδίκτυο. Πολλοί bloggers και αναλυτές γενικότερα αναρωτιούνταν για το τι μέλλει γενέσθαι για τα ΕΛ/ΛΑΚ projects της εταιρίας (πχ. MySQL, Openoffice.org, VirtualBox, κτλ.). Κάποιοι άλλοι από την άλλη, θεώρησαν (και από τα δελτία τύπου που εξέδιδε η Oracle) ότι δεν πρόκειται να γίνει κάτι κακό για αυτά τα project, αντίθετα θα έχουν μια άλλη ώθηση μέσα στις αγκάλες της Oracle. Σήμερα βγαίνει η είδηση ότι το plugin που έβγαζε η Sun (νυν Oracle) για το Microsoft Office που του επιτρέπει να αποθηκεύει/διαβάζει αρχεία σε Open Document Format έκδοση 1.2 (αυτή που χρησιμοποιείται από το τελευταίο Openoffice.org 3.2) για να το κατεβάσει κανείς και να το χρησιμοποιήσει πρέπει πλέον να πληρώσει 90$, ένα διόλου ευκαταφρόνητο ποσό. Πριν από αυτή την κίνηση, το plugin αυτό διατίθεντο δωρεάν. Πρέπει ωστόσο να σημειωθεί ότι το plugin δεν είναι ανοικτού κώδικα. Μάλιστα, η ελάχιστη ποσότητα που μπορεί κάποιος να αγοράσει είναι 100 άδειες, που σημαίνει ότι μιλάμε για ένα ποσό της τάξης των 9.000$!

Σίγουρα η είδηση αυτή δεν είναι και ό,τι καλύτερο. Ως χρήστης, μου κακοφαίνεται κάτι που μπορούσα να το κατεβάσω και να το χρησιμοποιήσω αρχικά δωρεάν, να πρέπει να το αγοράσω μέσω κάποιου dealer ίσως, γιατί να δίνω εγώ 9.000$, δεν υπάρχει περίπτωση, προφανώς θα πρέπει να το αγοράσω από κάποιον που έκανε μαζική παραγγελία. Επίσης, το αντίτιμο του plugin παραείναι πιστεύω ακριβό για τη δουλειά που κάνει. Τι φιλοδοξεί να πετύχει με αυτή την κίνηση η Oracle, πραγματικά δεν καταλαβαίνω, εκτός από τον αρνητισμό των σχολίων και αντιδράσεων που θα ακουστούν από εδώ κι από εκεί στο διαδίκτυο... indecision

Your rating: None Average: 3.5 (2 votes)

March 31st, 2010: Document Freedom Day

March 31st, 2010 is the Document Freedom Day.

Document Freedom Day

Support open standards. Support open document formats. Support open source software.

No votes yet

Digikam-1.0.0 final released!

Digikam 1.0.0 has finally been released. If you are not familiar with Digikam, let me tell you that it's probably the best photos organizer, that comes with an editor with various effects, fixes, etc. and the best of all, is open source (requires KDE 4.x, but that's not a problem I guess ). I always wanted to write a detailed review about it, but the program has many functions that you must learn to use and the time needed for this cannot be easily found. But since we have the final 1.0.0 release now, I'll probably put it in my mid-term TODO list.

Use your favorite Linux package management system to install it, or download the source and compile it yourself.

Your rating: None Average: 3 (3 votes)

How to conveniently store and handle IP addresses in MySQL

There are times that you want to store IPv4 addresses in MySQL (IPv6 has still some way to go). A quick and dirty solution is to store the addresses in a varchar(15) column, but this solution exhibits the problem of sorting the addresses. For example, 10.3.8.9 comes first compared to 10.240.8.9, while the opposite should apply. Of course, you can always splits the octets and sort them individually or generate a unique integer for each IP address, but this involves a bit of coding.

It's been a couple of days that I've discovered that MySQL provides two functions for the purpose I describe above. INET_ATON() accepts an IP address and returns an integer, while INET_NTOA() does exactly the opposite.

So, what's the deal? You can sort rows by an IP address. Sorting by IP addresses surely is not what you need every day, but when this functionality is necessary, these two functions come handy. So:

mysql> select INET_ATON('10.3.8.9');
+-----------------------+
| INET_ATON('10.3.8.9') |
+-----------------------+
|             167970825 | 
+-----------------------+
1 row in set (0.00 sec)

mysql> select INET_ATON('10.240.8.9');
+-------------------------+
| INET_ATON('10.240.8.9') |
+-------------------------+
|               183502857 | 
+-------------------------+
1 row in set (0.00 sec)

So, store your IP addresses as integers, sort them as you see fit and display them right. This of course is MySQL specific, but MySQL is widely used for a range of web applications.

No votes yet

rename_photos.sh: Rename your photos with a handy BASH script

Remember my post about renaming those photos from the useless DSC_xxxx.jpg filename notation to a more meaningful one?

Well, I made a few tweaks with the script and I am now releasing it as FOSS (GPL v.3). You can get the source code here:

rename_photos-0.1.tar.gz (12.7 KiB)

Run the script without arguments to see its usage. It couldn't be simpler. The script requires the exiftool package to be installed.

Comments are always appreciated. I am novice with shell scripting, so please, be gentle...

No votes yet

Yii web application framework v.1.0.8 has been released!

As the title says. Today, Qiang released v.1.0.8 of Yii as he announced a few days back. This version finally comes with a completed Greek translation of the core messages used by the framework, so with a minor configuration tuning, you can see the messages in Greek.

You can grab the source and the documentation here.

I hope I did a good job with the translation, but in case you see something that you don't like or think you have a better translation, don't hesitate to contact me.

No votes yet

Greek translation of core messages of the Yii framework

As you might remember, I wrote about the Yii web application framework some time ago. As all projects like this, localization is an important step for the wider adoption of the framework. So, I've finally completed the Greek translation of the Yii core messages (the messages that Yii uses internally for mostly informational purposes). The current version is 1.0.7, but tomorrow Qiang is expected to release version 1.0.8, which will include the complete translation. There are more to translate, like the user guide, the blog guide, etc., but these are huge...

Stay tuned for more Yii news.

No votes yet

KDE 4.3.0 released!

It's here. The release announcement can be found here.

Your rating: None Average: 5 (1 vote)
Συλλογή ανεξάρτητου περιεχόμενου