Μανιφέστα, Internet control κ.λπ.

Διαβάζοντας το Algorithms, Games and the Internet0, εύκολα στέκεται κανείς σε δύο σημεία:

“The Internet is unique among all computer systems in that it is built, operated, and used by a multitude of diverse economic interests, in varying relationships of collaboration and competition with each other.”

και το footnote #4:

We reject: kings, presidents and voting.
We believe in rough consensus and running code.
1

Δε χρειάζονται περισσότερα λόγια.
[0] – Thank you YC!

[1] – Η φράση αυτή ανήκει στον David Clark.

$#discard and ruleset 0

Note to self: The Sendmail Installation and Operation Guide (at least version 1.25 of doc/op.ps) clearly states:

“The mailer with the special name “discard” causes any mail sent to it to be discarded but otherwise treated as though it were successfully delivered. This mailer cannot be used in ruleset 0, only in the various address checking rulesets.”

So, instead of writing something like this:

LOCAL_RULE_0
R$={NIL}  < @ $=w . > $*        $#discard $: $1

you need to write something like this:

LOCAL_RULE_0
R$={NIL}  < @ $=w . > $*        $#local $: bit-bucket

otherwise you get beaten by “buildaddr: unknown mailer discard” errors, even though $#discard is very well known (to you; not to ruleset 0).

The above example assumes that $={NIL} is a class that contains usernames for which we do not want to accept any email and bit-bucket is an entry in /etc/mail/aliases:

bit-bucket: /dev/null

Yes, it is possible to achieve the same thing using FEATURE(`virtusertable’), but you can use this hack as a guide when you have more complex situations, where you may need to decide programmagically on whether to discard the email or not.

Κύκλοι…

Πριν ~2 μήνες ο Stazybo Horn σχολιάζοντας μου θύμισε δύο άρθρα. Αντιγράφω από το ένα από αυτά:

“Ιt is all about programming! Over the last few years we have noticed worrisome trends in CS education. The following represents a summary of those trends:

  1. Mathematics requirements in CS programs are shrinking.
  2. The development of programming skills in several languages is giving way to cookbook approaches using large libraries and special-purpose packages.
  3. The resulting set of skills is insufficient for today’s software industry (in particular for safety and security purposes) and, unfortunately, matches well what the outsourcing industry can offer. We are training easily replaceable professionals.

These trends are visible in the latest curriculum recommendations from the Association for Computing Machinery (ACM). Curriculum 2005 does not mention mathematical prerequisites at all, and it mentions only one course in the theory of programming languages.”

Με δεδομένη τη σχέση των Dewar και Schonberg (αυτοί έγραψαν τις παραπάνω γραμμές) με την AdaCore, πολλοί θεώρησαν το κείμενό τους περισσότερο ως πολεμική του “στρατοπέδου”o της Ada εναντίον της Java συνολικά και όχι ως πρώτης γλώσσας εισαγωγής στον προγραμματισμό. Είναι όμως έτσι;

Θυμόμουν πως αντίστοιχα σχόλια είχα ξαναδιαβάσει+. Μετά από ένα μήνα περίπου έτυχε και (ξανα)ξεφύλλιζα το “Anatomy of Lisp“. Το άνοιξα γιατί θυμήθηκα πως το είχα ξεφυλλίσει (πρόχειρα) και ~15 χρόνια πριν στο ΕΜΠ. Αντιγράφω τις πρώτες γραμμές από τον πρόλογο:

“… it is important not to lose sight of the fact that there is a difference between training and education. If computer science is a fundamental discipline, then university education in this field should emphasize enduring fundamental principles rather than transient current technology”.

Peter Wegner, Three Computer Cultures* [Weg 70]

[…] The author has long felt that the beginning student of computer science has been getting a distorted and disjoined picture of the field. In some ways this confusion is natural; the field has been growing at such a rapid rate that few are prepared to be judged experts in all areas of the discipline. The current alternative seems to be to give a few introductory courses in programming and machine organization followed by relatively specialized courses in more technical areas. The difficulty with this approach is that much of the technical material never gets related. The student’s perspective and motivation suffer in the process.”

Α ναι, το “Anatomy of Lisp” εκδόθηκε το 1978. Έχουν περάσει 30+ χρόνια και τα προβλήματα είναι ακριβώς τα ίδια.



[o] – Της υποτειθέμενης δηλαδή εικόνας πικραμένων τύπων που “έχουν δει το Φως” (Ada), κυρήττουν το λόγο Του και όμως ο κόσμος δεν τους καταλαβαίνει.
[+] – Όχι στοχοποίησης κάποιας γλώσσας, αλλά σχετικά με την ποιότητα των σπουδών των computer scientists.
[*] – Computer Technology, Computer Mathematics and Computer Science

ENISA 2007 study on security and anti-spam measures implemented by European providers

“Providers of electronic communication services are a vital element of the security chain when citizens and enterprises connect to Internet. ENISA studies provide an overview of the measures they take to secure their services and to fight against spam. The aim of this work is promoting best practices.

* ENISA 2007 study on security and anti-spam measures implemented by European’s providers.”

Ενδιαφέροντα σημεία προσοχής εν τάχει:

  • 56% των ISP θεωρούν το spam απειλή.
  • 80% των ISP προσπαθούν να έχουν σωστά DNS PTR records.
  • Το ένα τρίτο των ISP έχει business contigency plan και disaster recovery plan.
  • 90% των ISP προσφέρουν antispam filtering χωρίς χρέωση στους πελάτες τους.
  • 68% των ISP μπλοκάρουν είτε την κίνηση SMTP είτε όλη την κίνηση IP από πηγή προσδιοριζόμενη ως πηγή spam.
  • 81% των ISP έχει υλοποιήσει SMTP-AUTH.
  • 82% των ISP χρησιμοποιούν blacklisting.
  • 50% των ISP χρησιμοποιούν greylisting.
  • 75% των ISP κάνουν content based filtering.
  • Οι μισοί ISP έχουν θέσει περιορισμούς στον όγκο του εξερχόμενου email.
  • 60% των ISP εκτελεί virus scan στην εξερχόμενη αλληλογραφία.
  • 50% των ISP κάνουν block στο port 25 και μόνοι οι μισοί από αυτούς υλοποιούν Message Submission (port 587).

[via]

5 Rules of Data Normalization poster

5nf.jpg Χρειάζεστε ένα γρήγορο ξεσκόνισμα στις κανονικές μορφές; Αυτό το poster από το 1989 είναι αρκετά βολικό. Και μια και το έφερε η κουβέντα, εάν σας περισσεύουν $10, ορίστε τι έχει να πει ο C.J. Date για την πρώτη κανονική μορφή (1NF): What First Normal Form Really Means.