re: Σημειολογικό, πολύ σημειολογικό

Μερικές φορές είναι σοκαριστικό πόσο γρήγορα μπορεί να σου έρθει ένα “χαστούκι”. Ώρες αφότου σχολίαζα το “Σημειολογικό, πολύ σημειολογικό” (του raresteak) βοήθησα ένα φίλο1 πανεπιστημιακό να κάνει μια ορθολογική κατανομή του προϋπολογισμού που είχε μπροστά του για δαπάνες. Πως όμως; Αφού τα κονδύλια όπως ήταν ορισμένα για κατανάλωση (ναι μόνο έτσι μπορώ να το χαρακτηρίσω) δεν βοήθαγαν2 (π.χ. περίσσευμα χρημάτων στη μία κατηγορία και έλλειμα στην άλλη, χωρίς να μπορείς να μετακινήσεις κεφάλαια). Στην ερώτησή μου “πως βγήκαν αυτά τα χρήματα και πως προέκυψε η κατανομή;” ο φίλος απάντησε πως δεν ξέρει. Άρα αυτός που εγκρίνει τις δαπάνες μάλλον δεν βλέπει τι αντιπροσωπεύουν.

Raresteak, ένα μόνο μπορώ να πω: Και λίγα έγραψες τελικά.

[1] Ο οποίος επίσης έψαχνε λεξικό της προκοπής.

[2] 10 7 χρόνια πριν ήταν η τελευταία φορά που ανακατεύτηκα σε προϋπολογισμό εργαστηρίου. Και τότε είτε δεν υπήρχαν λεφτά, είτε υπήρχε υπέρογκο ποσό σε σχέση με το χρόνο που υπήρχε για να καταναλωθούν. Το εντυπωσιακό είναι πως αν τα ίδια χρήματα μπορούσες να τα παίρνεις σπαστά σε μικρότερα ποσά μέσα σε ένα έτος θα είχες ορθολογικότερη χρήση των χρημάτων. Το να σου δίνεται ένα ποσό Χ και ένα περιθώριο μέχρι το τέλος του μήνα για να “φύγει” σημαίνει πως κάπως καθυστερεί να φτάσει η έγκριση των κονδυλίων στους άμεσα ενδιαφερόμενους. Και μετά γίνεται πάλι κύκλος. Μια μεγάλη “νεκρή” περίοδος χωρίς καθόλου χρήματα και ξαφνικά “έχετε ένα μήνα για Ν χιλιάδες ευρώ”.

Greek Political Speech Generator

Στο Ε.Δ. 2406 του ΤΕΕ στη σελίδα[pdf document] της παράταξης ΑΜΑΝ βρήκα έναν αλγόριθμο παραγωγής πολιτικού λόγου. Αφιέρωσα 10 λεπτά και έγραψα μια γεννήτρια πολιτικού λόγου που περιέχει μόνο τις 40 προτάσεις που δίνει η ΑΜΑΝ. Με εντυπωσιάζει το αποτέλεσμα καθώς ταιριάζει σε όλα τα πολιτικά κόματα και παρατάξεις. Δοκιμάστε:

http://greek-politician.appspot.com/

Avoiding FEATURE(`nullclient’)

From the sendmail cf/README:

nullclient	This is a special case -- it creates a configuration file
		containing nothing but support for forwarding all mail to a
		central hub via a local SMTP-based network.  The argument
		is the name of that hub.
		The only other feature that should be used in conjunction
		with this one is FEATURE(`nocanonify').  No mailers
		should be defined.  No aliasing or forwarding is done.

However, you do not have to run sendmail1 on a server unless it is your SMTP server. Sendmail has FEATURE(`nullclient’) for that. Qmail has something similar. But there is nothing simplest than this alternative:

Enter nullmailer:

This is nullmailer, a sendmail/qmail/etc replacement MTA for hosts which relay to a fixed set of smart relays. It is designed to be simple to configure, secure, and easily extendable.

Nullmailer is very easy to configure compared to any of the well known F/OSS SMTP servers. It is not an SMTP server. It is a /usr/lib/sendmail2 replacement for your servers or unix shell machines.

Installing nullmailer on a Debian system simply means:

# apt-get install nullmailer
# dpkg-reconfigure nullmailer

and you are all set3. If you are on another system the worst case senario requires that you compile it by hand. However, this is not a difficult task even for the inexpirienced SysAdmin, since the code is compact and easy to read and the directions on how to compile / install fairly simple to follow.

[1] Or postfix, or exim, or qmail
[2] Yes, there was a time that the sendmail binary lived in /usr/lib
[3] Usually this is followed by a dpkg –purge exim4-base exim4-config

configuring sendmail for your unix desktop

Mulberry, (or Thunderbird,or any other GUI email client) needs an SMTP (“outgoing”) mail server which it uses to send your emails. Normally this is set to what your ISP (or administrator) has told you to be. However, sometimes your outgoing email server maybe unavailable1 (which is furstrating, since most people expect email to be delivered instantly, or at least leave their system2 instantly). So why not run a mail queue on your own and let your desktop route your email through the outgoing email server when it becomes available again? Here is a small sendmail.mc that should work with your desktop unix machine3:

VERSIONID(`2006/08/23/00')dnl
OSTYPE(`debian')dnl
DOMAIN(`debian-mta')dnl

define(`SMART_HOST', `[outgoing.example.com]')dnl
define(`confCW_FILE', `-o /etc/mail/local-host-names')dnl
FEATURE(`use_cw_file')dnl

FEATURE(`no_default_msa')dnl
DAEMON_OPTIONS(`Name=MTA-v4, Addr=127.0.0.1, Port=smtp')dnl
DAEMON_OPTIONS(`Name=MSP-v4, Addr=127.0.0.1, Port=submission')dnl

MAILER(`local')dnl
MAILER(`smtp')dnl

LOCAL_RULE_0
# LHS is separated from RHS with tabs, not whitespaces
R$- <@ $=w . >          john.doe < @ example.com. >

LOCAL_RULE_0 makes sure that any email sent from this machine is sent as john.doe@example.com. If this is not expected behavior delete LOCAL_RULE_0 or use FEATURE(nullclient).

[1] Unavailable does not mean neccessarily down. It may mean that some kind of rate-limiting is in place.
[2] Where system for such users is only their MUA (Mail User Agent).
[3] The example is Debian/Ubuntu-centric, but can be adapted to any system that runs sendmail

Lessons to be learned

Big Sofo
Big Sofo

The two last games for Greece in the FIBA World Championship 2006 have taught two lessons for everybody who is part of (or manages1) a team (any kind of team):

  1. Greece vs USA (101 – 95). It is almost undeniable that on a one-on-one comparison Team USA’s players are better players2 than the Greeks. But does the sum of them make a better team than the sum of the Greeks? Nope! Hello Mr. LeBron James3! When your team is behind and there is no time to cover the 6 points, you do not go for a highlight dunk. You search for a free player to shoot a three pointer. The Greeks did it with the Aussies. You elected to dunk, the Greek fans thank you double times for that (a fine dunk, and us winning easier) but is this team play?
  2. Greece vs Spain (47 – 70). Just because a team has a high visibility member, that does not mean that the rest of the team exists only to pass the ball at him. Indeed in the Eurobasket 2005 final the Greek Dream played against Nowitzki (not the Germans) and maybe they thought that this was the case with Spain also. Alas, the final game proved that Spain was not the team of Gasol, but a very good team even with him on the bench. You must never underestimate an oppononent no matter how weak they may seem, for it may not be the case.

[1] There are managers that consider themselves members of the team, and there are others who do not. Shame on the later.
[2] With maybe the exception of Hinrich
[3] You cannot be the heir of Michael Jordan. You can be either better or worse. You decide.

Το παιχνίδι της σιωπής

Χτες επισκεφτήκαμε το βαφτιστήρι μας. Πολλή φασαρία! Θυμήθηκα λοιπόν το trick που μου έχει πει μια φίλη νηπιαγωγός:

Γ: Κ. Θα παίξουμε το παιχνίδι της σιωπής. Χάνει όποιος μιλήσει πρώτος. Ναι;

Κ: Ναι

Γ: Ξεκινάμε

(1 sec … 2 sec … 3sec)

Κ: Έχασα!

Κόλαση

Δυο Θεσσαλονικείς έχουν πάει στη Κόλαση και λέει ο ένας στον άλλο:

– Φιλαράκι, καλή η Κόλαση δε λέω, αλλά Χαλκιδική δεν είναι

(Προσαρμοσμένο από ανέκδοτο που είχε πει ο Σταρόβας πριν ένα μήνα στην ΕΡΑ ΣΠΟΡ: “Φιλαράκι, καλός ο Παράδεισος δε λέω, αλλά Χαλκιδική δεν είναι”)

Mulberry is back!

Κάποτε ήταν ο μόνος λόγος για να χρησιμοποιώ Windows:

Hi folks,
Finally, after much effort, I have regained the rights to Mulberry and am making it available for free as of today. See:

<http://www.mulberrymail.com>

Some things to note:

1) It is free to anyone – no registration codes needed.

2) A new v4.0.5 version is available on the website. This simply removes the registration requirement and updates copyright notices etc.

3) There is no formal support for the product as there was before. Instead ‘community’ support via mailing lists and other resources will be used. I will make a best effort to respond in a timely fashion to issues, but see note (4) below.

4) This effort is purely a personal one on my part – all the work I do on this is being done in my (limited) spare time.

5) It is free but not open source. That’s an issue that we can discuss moving forward…

6) Also, major new features/revisions etc are out of the question right now (though I have a few pet projects that were being worked on before and which I will likely continue). Fixes to existing problems will be done as time allows. Hopefully if we find a way of dealing with issue (5) that may change – but that’s really going to depend on the level of interest from people willing to commit their own time to this as opposed to one of the other open source equivalents.

Hopefully those of you still using Mulberry and hoping to continue to do so for a while at least will find this good news.


Cyrus Daboo

Ίσως ο καλύτερος IMAP client που υπάρχει.-