XandrOS presto

I have been a XandrOS user ever since their first released version of desktop Linux. The reason that I stopped using XandrOS 4 was that I could not compile ns2-2.31 on it (which meant switching to Ubuntu and later to Debian/Etch; this desktop now runs OpenBSD). So when XandrOS emailed me an offer to install Presto, I gladly did.

If there is one way for Linux to conquer the desktop, distributions like Presto are the way to go. If most of the time that you use your computer you browse the web why not use an operating system that boots faster (11 seconds on my HP 530 laptop) and consumes less energy while at the same time your documents are accessible? Everyone seems to be riding the green computing wave and judging from my laptop’s battery, Presto is greener than Vista. Plus their email support is exceptional and they follow back when they haven’t heard from you for a day or two.

Presto installs as a three-click (next, next, install) application from within Windows. I can’t wait for a standalone installer for my Aspire One A110L.

on AMKA

Συνήθως αποφεύγω να κάνω κρίσεις από μακριά για την δουλειά των άλλων, αλλά η περίπτωση του ΑΜΚΑ είναι μία εξαίρεση. Μου γεννιόνται απορίες και ελπίζω να τις διαβάσει κάποιος και να μας διαφωτίσει. Αρχικά υπήρχε η παρατήρηση του Stazybo Horn πως τα πρώτα ψηφία του ΑΜΚΑ αποτελούνται από την ημερομηνία γέννησης του ασφαλισμένου. Μου φάνηκε περίεργο, αλλά δεν έδωσα ιδιαίτερη σημασία. Μέχρι που σήμερα η γυναίκα μου κάνοντας ένα paper mining, βρήκε τη δικιά της κάρτα με τον ΑΜΚΑ της, καθώς και το χαρτί που συνόδευε την κάρτα. Διαβάζει λοιπόν κανείς στο πίσω μέρος του χαρτιού:

Ελέγξετε την ημερομηνία γέννησης και το φύλο, που περιέχονται στον Α.Μ.Κ.Α., σύμφωνα με το παρακάτω παράδειγμα.

Έστω ότι ο Α.Μ.Κ.Α. είναι ο 270163 0012 5

  • Οι πρώτοι έξι (6) αριθμοί είναι η ημερομηνία γέννησης (27 Ιανουαρίου 1963).
  • Από τους επόμενους τέσσερις αριθμούς (0012) ο τελευταίος (δηλ. το 2) δηλώνει το φύλο και στη συγκεκριμένη περίπτωση πρόκειται για γυναίκα. Γιατί οι ζυγοί αριθμοί 0,2,4,6,8 δίδονται στις γυναίκες ενώ οι μονοί 1,3,5,7,9 δίδονται στους άνδρες.
  • Ο τελευταίος αριθμός (5) αφορά τη μηχανογράφηση και επομένως δεν ελέγχεται από εσάς.

 

Ερωτήματα:

  1. Η ασφαλισμένη γεννήθηκε στις 26/01/63. Y2K anyone; Η δικιά μου κάρτα έφτασε ~5 χρόνια πριν. Ξεχάστηκε τόσο γρήγορα; Τι θα γίνει εάν κάποιο νεογέννητο βρεθεί με το ΑΜΚΑ κάποιου υπεραιωνόβιου;
  2. 80 bits (ναι 80, όχι 88, θα το δούμε μετά) για να περιγραφεί ο ασφαλισμένος με μοναδικό τρόπο; Τη στιγμή που αρκούν 33 bits για να χαρακτηρίσουν μοναδικά όποιον ζει αυτή τη στιγμή στον πλανήτη;
  3. Δεν ξέρω πως είναι οργανωμένη η βάση του ΑΜΚΑ, καταλαβαίνω όμως πως ο ΑΜΚΑ είναι πρωτεύον κλειδί (ή χρησιμοποιείται ως τέτοιο). Είναι δυνατό να κάνει κανείς πράξεις στο πρωτεύον κλειδί για να εξάγει συμπεράσματα για τον ασφαλισμένο; Και εάν δεν κάνει τον υπολογισμό επί του κλειδιού αυτού, ξανασώζει την ίδια πληροφορία σε χωριστό πεδίο; Και όχι μόνο αυτό, αλλά η πληροφορία αυτή να είναι substring μήκους 6 bytes μέσα σε άλλο string, ενώ θα μπορούσε να είναι 4 bytes (ένας integer); Update: Χρόνια μετά υποψιάζομαι πως ο λόγος που ο ΑΜΚΑ έχει αυτή τη μορφή είναι για να τον θυμάται εύκολα ο ασφαλισμένος. Και τον δικό του και των παιδιών του.
  4. Το αυτό και για το φύλο του ασφαλισμένου. Γιατί πρέπει να είναι κομάτι του ΑΜΚΑ αυτό;
  5. Τι εξυπηρετούν τα 3 bytes για τα οποία δεν υπάρχει εξήγηση;
  6. Το 11ο byte (αυτό που αφορά τη μηχανογράφηση) είναι μάλλον κάποιο check digit.

This smells a lot like COBOL.

– Που πάνε οι ΑΜΚΑ όταν πεθαίνουν μπαμπά;

Bureaucracies and information flow

Interesting quote from a security presentation that I attended recently:

“Bureaucracies depend on information flow to maintain function. Change the information flow and you can predict function”

I miss the days when hacking cracking was about ownage and defacement. It has now evolved to a strategic capability, which makes things far more difficult for the defenders.

wash your hands

Bear with me, this is actually a computer security post. In parentonomics Joshua Gans cites an Australian study according to which doctors believed they washed their hands after going to the toilet 73% of the time. Close monitoring however revealed that this happened only 9% of the time. This in a pediatric intensive care unit!

This is a simple requirement: Wash your hands when leaving the toilet! One would expect that medical professionals, of all people, would follow it and not believe that they follow it.

So if the most simple measure, and one instructed to them from a very young age, cannot be followed through, how on earth are we supposed to make people read, understand and actually follow any security policy? How much simpler than wash your hands does it have to be?

Recently I heard the argument that “I do not mind using cracks and pirated software*, since I trust the source”. Oh really? I am sure they [the source] wash their hands every time too…

In the case of hospitals the problem was solved using a kind of public embarrassment (screen savers with the names of doctors with no clean hands). Or as Gans puts it “Data plus shame equals trust”. However, I am sure that no legal framework can allow for the public embarrassment of any computer user. Nor any administrator wishes to make more enemies among their users than they already have.


[*] – Using cracked versions of software when the price is not right is not the way to go. If you want to punish the vendor quit using their product and stop advertising it by using it.

parentonomics

Unlike what one might expect from the title, parentonomics is not Jo Frost disguised as an economist, nor an economist playing Jo Frost. Joshua Gans is a father of three, applying his scientific discipline into parenting and documenting the results. And he does so in an instructive and humorous way. I wish I could write my experiences with my three children in a similar way. Maybe someone else can document parenting while viewing it though an algorithmic or engineering prism.

In my opinion this is a book for fathers. Other books on parenting that I have checked have a more motherly approach, so this is a refreshing change. Because unlike the “no two kids are the same” principle, significant others’ reactions seem to follow a pattern* regardless of the number of children. Soon to become fathers prepare yourselves.

I really liked the fact that this book discusses parenting of three. Most of the literature that I have browsed seems to address the issue of the first (or single) child in the family. One would expect that after the first child one is prepared to deal with the second (and third), but hey you are not: Family management complicates exponentially. And in my case (child 0 first+, twins next) it complicates even faster than Gans’.

One interesting observation that occurred to me while reading the book is that all parents seem to be non systematically trained game theorists (game practitioners maybe?). Which is basically the reason why many strategies we employ as parents are flawed or simply not working. All in all this is a good book that has advice to offer and data to back up the opinions it carries. I really enjoyed reading it.


[*] – Either there is a pattern, or our wives would definitely be friends (or both).

[+] – Gans enumerates his children as Child 1, 2 and 3. I prefer the K&R approach :)

pseudoscience

Όχι ρε σεις! Εάν δεχτώ τις πίπες που σερβίρετε έχω κλειστό το μυαλό μου. Το μυαλό μου είναι ανοιχτό ακριβώς επειδή δεν τις δέχομαι.

Αθλητικό ΠΠΣΚ

  • Παρασκευή: Ο αγώνας κρίθηκε στο καλάθι. Χάσαμε, αλλά πήγε καλύτερα από ότι περίμενα. Διάφοροι ειδήμονες που γράφανε και λέγανε “έπρεπε να πάει για τρίποντο” με πιθανότητα P → 1 δεν έχουν βρεθεί ποτέ στη θέση να πάρουν και να εκτελέσουν μια σημαντική απόφαση σε 5 sec.
  • Σάββατο: Αφαιρώντας τους αγώνες της Εθνικής στο Euro 2004, πρέπει να είναι ο πιο ενδιαφέρον αγώνας που έχω δει · για το Ελληνικό Πρωτάθλημα και Κύπελλο σίγουρα. Παρολαυτά, όλοι όσοι αναφέρονται στον “τελικό των τελικών” βολικά ξεχνάνε τα επεισόδια. Το σχόλιο του Stazybo Horn επί αυτής της βολής είναι χαρακτηριστικό.
  • Κυριακή: Πάλι στο καλάθι κρίθηκε το ματς, αν και το πρώτο ημίχρονο με έκανε να σκέφτομαι την πιθανότητα τελικού “σούπας”. Όμως αυτό το σφύριγμα για τα 8 sec ήταν όντως από τα “strange things happened in the second half”.

Και γιατί ΠΠΣΚ και όχι ΠΣΚ; Γιατί την Πέμπτη στον παιδίατρο:

– Τι ομάδα είσαι Θ ;
– Ο-λυμπιακός! (δυνατά σε δυο ανάσες)
– Ποια είναι καλύτερη ομάδα, ο Ολυμπιακός ή ο Παναθηναϊκός;
– Παθακός
– @!#!&^%

Οι όροι εισόδου στο σπίτι πρέπει να αλλάξουν και το πρόγραμμα κόκκινης επιμόρφωσης να εντατικοποιηθεί.