Πλανήτης ΕΛΛΑΚ

Syndicate content
Πλανήτης ΕΛ/ΛΑΚ Ελλάδα/Κύπρος - http://planet.ellak.gr
Updated: 22 min ago

Ελευθέριος Κοσμάς: 10 ώρες στον υπολογιστή μέσα σε 1 λεπτό

17 hours 25 min ago

Έχετε αναρωτηθεί πως περνάτε τον χρόνο σας όταν βρίσκεστε μπροστά από τον υπολογιστή σας; Αν και υπάρχουν δεκάδες προγράμματα για να κάνετε διαχείριση του χρόνου σας ο Dave Paluska του Plebian είχε μια καλύτερη ιδέα για να δει πως χρησιμοποιεί τον υπολογιστή του κατά την διάρκεια της μέρας. Ένα βίντεο που θα του έδειχνε μέσα σε ένα λεπτό περίπου πως χρησιμοποιεί τον υπολογιστή του τις δέκα ώρες που εργάζεται καθημερινά με αυτόν και το αποτέλεσμα ήταν το βίντεο που ακολουθεί:

Για να πετύχει αυτό το αποτέλεσμα ο Dave χρησιμοποίησε τα εξής προγράμματα. To FFmpeg, το ImageMagick και το scrot. Αν θέλετε να κάνετε και εσείς κάτι παρόμοιο στο Linux μπορείτε να εγκαταστήσετε τα εν λόγω προγράμματα μέσα από το package manager της διανομής της προτίμησης σας. Μετά μπορεί να κατεβάστε ένα script-άκι με όνομα capture.sh που θα μπορείτε να το κάνετε download από εδώ.

Αφού το κατεβάστε (πχ στο home directory σας) για να το κάνετε εκτελέσιμο δώστε:

chmod 755 capture.sh

To script-άκι είναι γραμμένο για να εξυπηρετεί χρήστες Linux και Mac γι’αυτό αν μπείτε στο κόπο να ελέγξετε αν χρειάζεται αλλαγές. Σε πολλά σημεία το script έχει οδηγίες ώστε να κάντε τις αλλαγές που εσείς χρειάζεστε. Το τελικό αποτέλεσμα (στο βίντεο που ακολουθεί σε Mac αλλά και στο Linux οι διαφορές είναι μικρές) θα μοιάζει κάπως έτσι:

Αν θέλετε μπορείτε επίσης να φτιάξτε ένα ακόμη script-άκι για να “ανεβάζετε” αυτόματα βίντεο σας στο youtube.

παρόμοιες καταχωρήσεις:

μοιραστείτε το:



Ελληνική κοινότητα προγραμματιστών Java (JHUG): Αγορά εργασίας: Upcom.eu – J2EE developer

Mon, 03/08/2010 - 15:12

Upcom Ltd is currently looking for a Senior J2EE Developer (REF UPC100302J) to be part of the team in one of our clients in Athens.

Specific knowledge

  • J2EE, at least 4 years experience
  • Spring framework, at least 1 project.
  • Hibernate framework, at least 2 years and 2 projects
  • EJBs, at least 2 projects
  • IBM’s RAD/WSAD/RSA or Eclipse an IDE environment in (at least 2 projects)
  • IBM WebSphere Application Server-based environments (at least 1 project)

Specific requirement

  • Office location : Athens

    Fluency in Greek & English

To apply for the job, send your detailed and updated resume to cv@upcom.eu, clearly mentioning the reference number for the position – UPC100302J

Ένωση Ελλήνων Χρηστών και Φίλων ΕΛ/ΛΑΚ: Έναρξη των μαθημάτων Blender

Mon, 03/08/2010 - 13:36
Η Ένωση Ελλήνων Χρηστών και Φίλων ΕΛΛΑΚ, ενημερώνει τα μέλη και τους φίλους της, ότι τα σεμινάρια blender με το πιστοποιημένο μέλος του Blender.org Θοδωρή Δούνα, ξεκίνησαν με ιδιαίτερη επιτυχία. Ο Σύλλογος συγχαίρει τον κ. Δούνα και τους συνεργάτες του, για την εκπληκτική δουλειά.

{flv}vid_1268230697_445{/flv}

[Δείτε περισσότερα πολυμέσα από το μάθημα στην Gallery μας]

Ένωση Ελλήνων Χρηστών και Φίλων ΕΛ/ΛΑΚ: Εκκίνηση των μαθημάτων Blender

Mon, 03/08/2010 - 13:36
Η Ένωση Ελλήνων Χρηστών και Φίλων ΕΛΛΑΚ, ενημερώνει τα μέλη και τους φίλους της, ότι τα σεμινάρια blender με το πιστοποιημένο μέλος του Blender.org Θοδωρή Δούνα, ξεκίνησαν με ιδιαίτερη επιτυχία. Ο Σύλλογος συγχαίρει τον κο Δούνα και τους συνεργάτες του, για την εκπληκτική δουλειά.

[Δείτε περισσότερα πολυμέσα από το μάθημα στην Gallery μας]

Δικτυακός τόπος ellak.gr: Oπenfest

Mon, 03/08/2010 - 12:36
Οι σπουδαστές του τμήματος Ηλεκτρονικών Υπολογιστικών Συστημάτων του ΤΕΙ Πειραιά, θα διοργανώσουν το φεστιβάλ τεχνολογίας OpenFest 2010, υπό την αιγίδα του τμήματος Η/Υ Συστημάτων του ΤΕΙ Πειραιά. Η διημερίδα θα πραγματοποιηθεί το Σαββατοκύριακο 13 και 14 Μαρτίου 2010 στο χώρο του ΤΕΙ Πειραιά.

Χρήστος Μπαχαράκης: Fosscomm 2010 – Παράταση

Mon, 03/08/2010 - 11:31

Δευτέρα 8 Μαρτίου 2010, η προθεσμία υποβολής ενδιαφέροντος για παρουσιάσεις/workshops έχει τελειώσει αλλά όλα τα προάστια της Θεσσαλονίκης είναι χιονισμένα και παγωμένα. Τι άλλο πρέπει να γίνει για να καταλάβουμε ότι πρόκειται για ένα σημάδι από μια ανώτερη δύναμη με απώτερο στόχο να δοθεί μια μικρή παράταση;! Σας δίνουμε λοιπόν ακόμη μια βδομάδα να απολαύσετε το χιόνι, να φτιάξετε χιονάνθρωπους, να παίξετε χιονοπόλεμο αλλά και να αναλύσετε/αναπτύξετε την ιδέα σας.

Έτσι λοιπόν θα δεχόμαστε υποβολές ενδιαφέροντος για παρουσιάσεις/workshops μέχρι και την Κυριακή 14 Μαρτίου 2010.

Για όλους εσάς που ακόμη το σκέφτεστε, τι περιμένετε; Στείλτε μας ένα mai στο thessaloniki@fosscomm.gr περιγράφοντας την ιδέα σας και ποιος ξέρει, μπορεί να γίνετε εσείς ο νικητής του διαγωνισμού “Best ομιλητής Fosscomm 2010″!

Μέχρι τότε, από την κάτασπρη Θεσσαλονίκη, φιλάκια ρουφηχτά.

Εκ μέρους της οργανωτικής επιτροπής

Μπαχαράκης Χρήστος



Θοδωρής Χατζημίχος: Akonadi now works with MySQL 5.1

Sun, 03/07/2010 - 21:29

Yesterday Robin (robbat2), our Gentoo MySQL maintainer notified me that there has been a patch in MySQL 5.1, also approved by upstream developers, that fixed the akonadi crashes. Robin worked very close with the upstream developers and helped a lot for this. The patch in Gentoo is in dev-db/mysql-5.1.44-r1. At first it didn’t work, but recompiling x11-libs/qt-sql did the trick (which is the split sql module of the Qt package – Gentoo provides split Qt packages). As far as I know, other distros already shipped it. For those who didn’t, more information can be found in the following bug reports:

… and the patch is here

=-=-=-=-=

Powered by Blogilo

Ελληνική κοινότητα προγραμματιστών Java (JHUG): You will be missed…

Sun, 03/07/2010 - 18:24

Felipe was one of the most influential JUG leaders and Evangelist in Latin America.He was one of the founding members of the big Brazilian Java Community. He passed away on 5th of March. A small tribute from the JUG’s world-wide, this post.

Σύλλογος Ἑλλήνων Φίλων τοῦ TeX: Greek indeces with xindy

Sun, 03/07/2010 - 16:51

Currently, xindy can be used to generate, among others, Greek indexes and glossaries. Unfortunately, its coverage of the Greek language is incomplete. To solve this problem I have modified file polytonic-utf8.pl.in. More information about xindy and its use is included in my forthcoming book on XeLaTeX.

Apostolos Syropoulos

Δικτυακός τόπος ellak.gr: Διάλεξη του Michel Bauwens στην Αθήνα

Sun, 03/07/2010 - 14:39
“Ομότιμα δίκτυα και η παραγωγή κοινών αγαθών” [P2P Networks and the Production of the Commons]διάλεξη του Michel Bauwens στην ΑθήναΔιοργάνωση: Ερευνητικό πρόγραμμα MIG@NET Ίδρυμα p2p Σάββατο 13 Μαρτίου, 18.00BIOS, Πειραιώς 84

Ελευθέριος Κοσμάς: Clementine ένας ακόμη media player ή μήπως όχι;

Sun, 03/07/2010 - 14:00

Δεν ξέρω για ποιο λόγο αλλά εδώ και αρκετό καιρό επιθυμούσα να έχω στο μηχάνημα μου μια από τις παλαιότερες εκδόσεις του Amarok, όπως την Amarok 1.4. Είχα πάντα την εντύπωση ότι ο σχετικά λιτός σχεδιασμός του σε σύγκριση με τις νεώτερες εκδόσεις του Amarok ήταν περισσότερο πρακτικός για εμένα. Αν και δοκίμασα αρκετούς άλλους media player πάντα γκρίνιαζα γιατί ήταν είτε πολύ αργοί είτε απλά δεν μπορούσα να τους συνηθίσω με τίποτα. Τελικά όμως υπάρχουν και άλλη περίεργοι σαν εμένα όπως ο Jason Donenfeld, ο οποίος δοκίμασε το Clementine και βολεύτηκε. Το Clementine είναι ουσιαστικά βασισμένο στον Amarok 1.4 με τις εξαρτήσεις στις kdelibs να έχουν αφαιρεθεί και ο κώδικας να είναι γραμμένος για Qt 4 (και βάλε) το τελικό αποτέλεσμα είναι ένας εξαιρετικός διαπλατφορμικός media player (για Linux,Windows και Mac OS X) αρκετά ελαφρύς αλλά και με πολλές δυνατότητες, Αν είστε νοσταλγοί του παλιού Amarok δοκιμάστε τον, μπορεί να σας βολεύει.

παρόμοιες καταχωρήσεις:

μοιραστείτε το:



5 commnent(s) for this post:
  1. CybeRNerO says:

    2010-03-07 16:18:59 Εγώ ψάχνω ένα radio player για εκπομπές μέσω shoutcast... Δυστυχώς δεν έχω βρει κάτι αξιοπρεπές ακόμα (ούτε καν με player με plugins για shoutcast :( ) Οπότε προς το παρόν SAM Broadcaster με την DB στο linux box, ή Winamp με τα αντίστοιχα Plugins!
  2. CybeRNerO says:

    2010-03-07 16:19:52 Correction: Media Player για να ΚΑΝΩ εκπομπή, όχι για να ακούω :D
  3. Eleftherios Kosmas says:

    2010-03-07 16:36:57 Είπα και εγώ... γιατί για να ακούς εκπομπή (εκτός του Clementine :P υπάρχουν δεκάδες player στο Linux)... από την άλλη για να κάνεις εκπομπές μέσω Shoutcast. Δεν ξέρω θα πρέπει να το ψάξουμε αυτό...
  4. Δημήτρης Μιχαλάκος says:

    2010-03-07 19:32:48 Δηλαδή είμαι ο μόνος που βρίσκω το Rhythmbox (default audio player του Gnome) υπέρ-αρκετό;
  5. Eleftherios Kosmas says:

    2010-03-07 19:59:27 Δημήτρη κάθε άλλο το Rhythmbox είναι γαμάτο!!! Απλά ορισμένοι μπορεί να προτιμήσουν το Clementine γιατί δεν θέλουν πχ να κατεβάσουν τις βιβλιοθήκες της GTK αλλά έχουν ήδη την Qt.

Σαλήχ Εμίν: Αχ αυτές οι γυναίκες….

Sun, 03/07/2010 - 03:22
Ποια είναι οι σχέση της γυναίκας με την τεχνολογία; Πώς αντιμετωπίζει μια γυναίκα τις ραγδαίες αλλαγές της τεχνολογίας; Πως θα μπορούσε κάποιος να μυήσει μια γυναίκα στο status quo των τεχνολογικών εξελίξεων; Τι γίνεται όταν αυτή η γυναίκα είναι η γυναίκα της ζωής σου ;Αυτά είναι ένα κάποια από τα ερωτήματα που κλήθηκα να απαντήσω και να αντιμετωπίσω όταν ήθελε η κοπέλα μου να συμβαδίσει στα "τεχνολογικά" με εμένα.

Ελευθέριος Κοσμάς: το Google άνοιξε το reMail

Sat, 03/06/2010 - 16:09

Μερικές ημέρες πριν το Google προχώρησε στην αγορά της εταιρίας που ανέπτυσσε την εφαρμογή reMail. Το reMail ήταν μια αρκετά ενδιαφέρουσα εφαρμογή για το iPhone που δημιουργούσε μια ειδική βάση δεδομένων από τα email σας στο κινητό σας ώστε να είναι άμεσα προσβάσιμα για γρήγορο ψάξιμο και εμφάνιση. Αμέσως μετά την εξαγορά της εταιρείας από το Google η εφαρμογή βγήκε από το AppStore της Apple. Η τεχνολογία πίσω από το reMail θα αποτελούσε μια χρήσιμη προσθήκη σε οποιαδήποτε πλατφόρμα κινητών, η Google όμως έκανε ένα βήμα παραπάνω και διέθεσε τον κώδικα του reMail κάτω από την άδεια Apache 2.o καθώς και δημιούργησε αντίστοιχο project στο Google Code.

H νέα άδεια του reMail μπορεί να οδηγήσει σε νέα ανοιχτού κώδικα port σε άλλες συσκευές και πλατφόρμες αλλά  και στην αξιοποίηση της ακόμη και από κλειστού κώδικα υλοποιήσεις καθώς η άδεια το επιτρέπει.

παρόμοιες καταχωρήσεις:

μοιραστείτε το:



Ελληνικό LinuxFormat: Το Ubuntu αλλάζει όψη (;)

Fri, 03/05/2010 - 00:35

Φαίνεται ότι στο Ubuntu αποφάσισαν να "φρεσκάρουν" τα λογότυπα και το artwork γενικότερα του Ubuntu. Ξεχάστε το γνώριμο logo με τις καμπύλες. Το νέο λογότυπο:

διαβάστε περισσότερα

Ελληνική κοινότητα Python: Αποτελεσμάτα Συνάντησης

Fri, 03/05/2010 - 00:24

Αφού μιλήσαμε για τις πρόσφατες εξελίξεις όσον αφορά την κοινότητα μας (OpenFest, προοπτική για Fosscomm κλπ) συνεχίσαμε τις παρουσιάσεις πάνω στην Python, μιλήσαμε για έναν ελέφαντα στο δωμάτιο και είδαμε πως ένας άλλος μπορεί να πετάξει. Πιο αναλυτικά:

  • Python: Λεξικά, σύνολα και κλάσεις. Γνωρίσαμε τα βασικά τους χαρακτηριστικά και έγινε μια εισαγωγή στον αντικειμενοστραφή προγραμματισμό που θα συνεχιστεί την επόμενη φορά.
  • Dabo: Ένα framework για την κατασκευή desktop εφαρμογών που βασίζεται σε wx.
  • GIL: Τολμήσαμε να μιλήσουμε και για αυτή την πτυχή της Python και τα προβλήματα που ανακύπτουν στον πολυνηματισμό. Μιλήσαμε για τις πρόσφατες προσπάθειες που καταβάλλονται για την βελτίωση του GIL στην καινούργια έκδοση της Python 3.2
Η επόμενη μας συνάντηση θα είναι σε δυο εβδομάδες περίπου, όπου τότε θα μεταφέρουμε και τις εμπειρίες μας από το OpenFest. Ευχαριστούμε πολύ όλους όσους παρεβρέθηκαν μαζί μας!{mos_fb_discuss:9}

Θοδωρής Χατζημίχος: Gentoo KDE and Qt February Meetings

Thu, 03/04/2010 - 23:36

In the last KDE and Qt meetings, there have been many and important changes, so I decided to blog about them to keep users up-to-date. The summaries and logs are available in each project’s site (http://kde.gentoo.org and http://qt.gentoo.org). Both projects have regular meetings, every third Thursday of the month (unless announced otherwise), and very often they have a common one. The channel that hosts us is #gentoo-meetings in Freenode, and everyone is welcome to join us. I will mention only the most remarkable issues that were discussed/decided, which seem to be a lot:

Qt meeting, 19 February 2010

This was delayed one day, so I missed it. I really hate it when I miss Gentoo meetings, as every time they are very fun and challenging, and I like very much interacting with so many Gentoo developers and contributors at the same time. Before proceeding, I’d like to point out that the Qt Project was very recently founded as a separate project, because the Qt Team (sub-herd of the KDE Project) has grown too much and had too many non-KDE issues. The Qt members are doing an awesome work. And here are some of the important issues:

  1. We now have an “unofficial” channel in IRC, and a new shiny Qt Subdomain! So from now on you can find us in #gentoo-qt on Freenode, and our documentation resides in http://qt.gentoo.org (thanks to Robin (robbat2) for setting that up). Of course we will still be available in #gentoo-kde or #gentoo-desktop.
  2. Raster USE flag is going to be on by default. Μάρκος (hwoarang) already blogged about this asking for testing.
  3. Qt 3 has been masked for removal from the tree, along with all Qt 3 packages and the qt3 USE flag. The only blocker for this task was MythTV, which now has a stable Qt 4 replacement in Gentoo. Also, Ben (yngwin) informed the kde-sunset maintainers about this, but so far I didn’t see anyone committing those apps there, so if you want to do it (or do general qt3 and kde3 work), consult this document. (Reminder: kde-sunset is user-maintained overlay, anyone interested can ask for access there, so if you are still interested in Qt 3 and/or KDE 3 packages, please ask for commit access instead of complaining to the Gentoo developers).

KDE meeting, 25 February 2010

This was delayed one week, which was a request by me, so it won’t be during my exams. There hasn’t been a KDE meeting in January, so there were plenty of topics to discuss. I was also the moderator of this one, which made it double fun. In most of the issues there has been some progress, so let’s begin:

  1. We now have a new leader, Tomáš Chvátal aka scarabeus. After a year of Jorge Manuel B.S. Vicetto’s (jmbsvicetto) absolutely perfect leadership, we had the annual elections, were scarabeus was voted by pretty much everyone. He is admittedly very skilled and very active in Gentoo community in general, as a member of QA, X11 and KDE Teams and also a recent council member. I’d also like to give props to my former “boss” Jorge, especially for taking over that old nasty mysql/amarok issue and creating the libmysqld.so patch.
  2. KDE SC 4.3.5 is stable in tree now, and the newly released KDE SC 4.4.1 is available in tree as testing. There have been many problems with 4.4.0 (mostly crashes), so it won’t be a stable candidate for sure. We’ll see how 4.4.1 goes and accordingly decide if this is going to be a stable candidate, or wait for 4.4.2.
  3. Amarok and MySQL 5.1 suffer from the same old libmysqld.so issue. Thus, we strongly recommend to remove the embedded USE flag from both Amarok and MySQL. In fact, it is not anymore enabled by default in the ebuilds. As a side note about MySQL, Akonadi seems to break in some machines with >MySQL-5.1.42. The problem is known to upstream developers, and there have been some workarounds in KDE forum, but I didn’t have time to test any of them yet.
  4. KDEPIM in trunk KDE is currently broken (really just kmail). This is because kmail’s mail storage is being ported to akonadi, so IMAP (I don’t know about the other protocols for sure) doesn’t work at all at the moment. Sput (Quassel developer) proposed to use the enterprise KDEPIM branch, which is supposed to work, as it is being paid by companies. I sent an email asking for help in gentoo-desktop mailing list, with no answers so far. Please see the thread archive (available here) for more info. I would also like to inform you that the KDE Team decided not to provide the usual trunk snapshots until version 4.4.70 (which is going to be the first alphas), because of this KDEPIM issue.
  5. KOffice 2.1.1 is released a month ago, but it is not available to users yet. Actually, it is in tree hardmasked, as it needs a close depedency checking in ebuilds. I was held responsible for this, and I hope till the weekend it will be done, if I get enough help from scarabeus which was the former KOffice ebuilds maintainer, or by anyone else from the KDE Team (there are plenty of people in the Team, I’m sure I’ll find someone to help me). By the way, this is my only KDE todo thing left.
  6. KNetworkManager is now in tree, but also hardmasked. This was in upstream’s kdereview branch, which contains packages that stay there for review by the developers for wider testing, before they move to their final KDE module or extragear branch (take a look at KDE’s SVN repo to get the picture). It was supposed to be released along with KDE 4.4, but it didn’t make it. So, I created a snapshot of the current SVN repository, which seems to have many problems, like crashes, missing features etc. So I guess it will remain hardmasked for a while, and I will continue to update the snapshot once every two weeks.
  7. The KDE Documentation is also one of my playgrounds. I recently updated the guide, and with a quick look I did the following: closed all three bugs regarding the KDE Installation Guide, added more items in Hints and Troubleshooting section, completely removed the kdeprefix reference, replaced the snapshots installation guide with a note that we won’t provide them for now, and done a bunch of small fixes (mostly version corrections and typos).
  8. I raised the issue of kde-meta (and accordingly @kde-* sets) not including all KDE modules. It currently excludes the developer-specific modules like KDESDK and KDEbindings (although it does contain KDEWebDev), and proposed either to include them all in kde-meta or to introduce a developer or sdk USE flag in kde-meta. Some developers were opposed on this, proposing to have a new meta package, like kdefull-meta, an idea which I actually hated. Our final word on this was to open a new discussion thread in gentoo-desktop mailing list, which I did, and review the issue in the next meeting.
  9. Finally, I’d like the attention of everybody here, as the following issue is very very important. In a previous meeting we discussed the split of the desktop profile in gnome/ and kde/ subprofiles. We raised the idea in gentoo-dev mailing list for review, and we had a positive feedback in general. Other DE’s refused to have a special subprofile, so they will stick to the basic desktop profile. What this means is that the desktop profile from now on will not contain GNOME or KDE-specific USE flags, which are transfered to the according subprofile. For users that want both DE’s (or just both DE-specific USE flags) can enable them manually in their make.conf (they are not many after all). The major advantage from the user-side of view is that many unwanted dependencies get stripped off automatically, and from the developer-side of view is that from now on we’ll have a more separate approach when packaging. The patches are ready and sent for review in gentoo-dev mailing list. Currently the result can be seen in the kde-crazy overlay, and here you can see the relevant thread. A news item will also be made before committing, and I hope that the final move will happen next week. I’d like to thank Maciej (reavertm), Ben (yngwin) and Samuli (ssuominen) for their precious help on this. (P.S. This is one of the very few moments that I felt I did some Gentoo development instead of KDE packaging, if you know what I mean )

Qt Team meeting Log and Summary

KDE Team meeting Log and Summary

=-=-=-=-=

Powered by Blogilo

Διομήδης Σπινέλλης: Software Tracks

Thu, 03/04/2010 - 13:48
A generous car reviewer might praise a vehicle’s handling by writing that it turns as if it’s running on railroad tracks. Indeed, tracks offer guidance and support. When you run on tracks you can carry more weight, you can run faster, and you can’t get lost. That’s why engineers, from early childhood to old age, get hooked on trains. Can we get our software to run on tracks?

Ubuntu-gr: Ubuntistas Τεύχος 7 [Ιανουάριος - Φεβρουάριος 2010]

Thu, 03/04/2010 - 13:40

Το 7ο τεύχος του Ubuntistas είναι γεγονός! Είναι διαθέσιμο σε αρχείο pdf και μπορείτε να το κατεβάσετε δωρεάν από τον παρακάτω σύνδεσμο:

Τεύχος 7 [Ιανουάριος - Φεβρουάριος 2010](αρχείο pdf, μέγεθος ~12ΜΒ)

Η έβδομη έκδοση του Ubuntistas κυκλοφορεί! Το 2010 μπήκε για τα καλά και οι εξελίξεις για το Ubuntistas είναι θετικές. Βλέπουμε σιγά σιγά περισσότερους εθελοντές και η σταθερή ομάδα του περιοδικού μεγαλώνει. Βέβαια, είναι χαρά μας να βλέπουμε ενεργά μέλη και πάντοτε όσοι θέλετε να προσφέρετε είστε καλοδεχούμενοι. Μην διστάσετε να δραστηριοποιηθήτε στην παρέα μας.

Όσον αφορά την ύλη, στην συνέντευξη φιλοξενούμε τον Άλκη Γεωργόπουλο (καθηγητής δευτεροβάθμιας εκπαίδευσης στον χώρο του ελεύθερου λογισμικού), παρουσιάζουμε την διανομή Debian squeeze, εκφράζουμε τις απόψεις μας σχετικά με την ελευθερία, το Ubuntu Linux και την Ελληνική κοινότητα του Ubuntu. Ακόμα στις 37 σελίδες του περιοδικού θα βρείτε ενδιαφέροντα how-to (Εισαγωγή στην QT), reviews (Comic readers, Blender), hints & tips, και νέα-ειδήσεις του Linux και της κοινότητας Ubuntu-gr.

Η είδηση είναι από την επίσημη σελίδα του περιοδικού

http://ubuntistas.ubuntu-gr.org/

Ορέστης Μάρκου: The promise pattern

Thu, 03/04/2010 - 10:14

After reading my William Reade's post about a small path library he wrote to tame a build script, I thought I'd share a cool trick that has helped me greatly in the current project - the promise pattern.

The code itself is greatly simple:

class FilePromise(object): def __init__(self, filename, basepath=None): self.basepath = basepath self.filename = filename def fetch(self): filepath = self.filename if self.basepath is not None: filepath = os.path.join(self.basepath, filepath) return open(filepath)

The cool thing about this is not the code itself, but the amazing flexibility it offers your code when instead of working with paths and files, you work with promises. All you need to do to support arbitrary data sources is create a class with a filename attribute (which might not make sense in some cases, but is useful for debugging) and a fetch method that will return a file-like object.

I have so far implemented additional promises that:

  • Fetch files from a CouchDB database
  • Decode embedded images in SVG
  • Crop and resize images (well not yet really, but plan to)

Why not use a path element like William does? In my case, I really do not care about the file system, I just care about contents. A promise also can easily be replaced for testing reasons - just create a small MemoryPromise that will return data passed in the constructor as a StringIO.

Why not pass around a file-like object? Two reasons - it's hard to debug (how do you print that?) but mainly, the fetch method might be expensive, and should be run near the point the contents will be used, not at construction time. Also, the intent of the code becomes clearer this way, I think.

The idea is stolen from Cocoa's drag-and-drop system, where a drag source can either supply the drag data directly to the drop target, or provide a promise the target will follow-up, if it's expensive to provide the data up-front. Hopefully Apple will not sue me. In drag-and-drop a lot of times a drag is initiated but not completed (user changes his mind) so this way an expensive calculation is avoided.

Something I haven't yet considered is how to embed this in an async program. Presumably an AsyncPromise fetch will return a deferred that will fire when the data is ready. The client code needs to be expecting this though. I've seen twisted's maybeDeferred for this kind of pattern, I'll follow up if I can do this.

Comments

Μάρκος Χανδράς: An easy way to assist us

Thu, 03/04/2010 - 09:32

Well, today I am gonna focus on two different types of packages. Those who never had a maintainer and those abandoned by their initial maintainers.

Looking through bugzilla, you might notice that some of the bus are assigned to maintainer-wanted herd. This means that those packages are seeking for a gentoo developer or a gentoo-user ( acting as proxy-maintainer ) to take care of them and push them on tree or Sunrise. So if you file a bug for a new ebuild, we will probably assign it to that herd and wait until somebody picks it.  Personally, I go through that list once a while and pick up interesting packages but I don’t know if the rest of the devs are in the same path. If you feel like a package is really cool and we should really have it on tree, feel free to write an ebuild for it and then commit it on Sunrise or poke me and I will commit it on tree (after we review it) and I will add you as proxy-maintainer

The maintainer-needed packages are orphan packages on tree. This is because their initial developer got bored taking care of them or because this developer has been retired. Hence nobody is taking care of them, nobody bumps them, nobody fixes the various bugs which pop up from time to time. Again, I go through that list and either remove them on behalf of treecleaner project or fix them on behalf of QA project. So the question is:

Can you help? If you file a bug on a maintainer-needed package, most likely nobody will fix it. But if you attach a patch that actually fixes the problem, then a guy from treecleaners/QA project will probably pop up and commit your patch. Congruts, you saved a package from being removed. Simple?

In order to help you,  I will give you the two URLs from gentoo bugzilla I use to track maintainer-needed and -wanted bugs

* maintainer-needed

* maintainer-wanted

Happy bug fixing