Quick note on Lattices, Relations and stuff

Thanks to @mosabou I got to read about Formal Concept Analysis. What a cool concept! Of the first things that I read was “A First Course in Formal Concept Analysis” (an introduction to the subject without the mathematics). While going through the examples, I kept thinking Where have I seen that before? Relational Databases, that’s where! And it seems that my intuition was correct: see the excellent “Gentle introduction to Relational Lattice” by Vadim Tropashko and the links from there.

[ I vaguely remember Yannis introducing the lattice concept in a database context in a course lecture a few years back, but have to admit of not looking much into it back then. ]

This is mostly a note for people who insist on thinking that theory is disconnected from practice. Especially the ones who write SQL code and insist on not realizing that they deal with sets (and set theory). Stop holding an umbrella and invest some time in your math.

downsizing

* Initially this post was started because of Sun’s layoffs (18%). Now Sun is no more, and so seems work for a large percentage of the Greek workforce.

Downsizing is to be expected in great numbers. At the scale that this seems it is going to happen, these will not really be informed layoffs, the criteria being simple: You have a high salary (for some definition of high) and your choices may include: retirement, layoff, substantial pay-cut (equals to morale / motivation downsizing) and/or transfer to another organization (in a take it or bye-bye offer).

The short term result of such a massive violent move will of course be proof of elimination of the so called “cost centers”. The mid and long term results will be far more different: The information flow within the organizations will be severely disrupted. There exists the organizational structure and then there exists the informal structure that gets built over time. The departure of a key person can be dealt with by an “unconscious” team auto-configuration. But what about more than one? While small teams communicate more effectively, small teams cannot be made smaller. Time is a limited resource and there is not enough to perform the required analysis before downsizing.

That is the price to be paid for not trying to be lean when you had the chance. And new “cost centers” will emerge.

Appendix: Chalk one up for math (or How even retirement disrupts information flow)

Steinmetz‘ most gratifying moment may have occurred after his retirement. An emergency brought him back to GE’s Schenectady plant to troubleshoot a malfunctioning generator. For days, the hobbled genius pored over drawings with paper and pencil in hand. Finally, he placed a chalk mark on the side of the generator, instructing the repairmen to cut through the casing and remove a number of turns from the stator. It worked.

When asked to submit an invoice, Steinmetz delivered a slip of paper with nothing on it but the surprisingly large figure of $10,000. The accountants, in shock, said they couldn’t process the paperwork without a more detailed breakdown. Steinmetz then forwarded another note on which was typed:

One chalk mark $1. Knowing where to put it $9,999.

A short time later, Steinmetz received his pay in full.

To those that believe that this was not because of disrupted information flow, but because of Steinmetz’ genius, I can only say that I know of cases where retired for decades engineers were called back for consulting due to lack of documentation. And today’s knowledge workers are not better at keeping it either.

On vendor lock-in

(and sometimes open-source vendor lock-in)

Thanks to @nzaharioudakis (whom I had asked whether Debian stable is an adequate platform to run Zimbra on) I remembered the following quote from “Conquest in Cyberspace“:

“The seducer, for instance, could have an information system attractive enough to entice other individuals or institutions to interact with it by, for instance, exchanging information or being granted access. This exchange would be considered valuable; the value would be worth keeping. Over time, one side, typically the dominant system owner, would enjoy more discretion and influence over the relationship, with the other side becoming increasingly dependent. Sometimes the victim has cause to regret entering the relationship; sometimes all victim regrets is not receiving its fair share of the joint benefits. But if the “friendly” conquest is successful, the conqueror is clearly even better off.”

Even though the above is written in cyberwarfare (political) language, the point is very clear and the IBM executive’s phrase becomes well understood:

“Because you don’t want to get locked into an open system”

(One has to keep in mind that the phrase is taken somewhat out of context. Some 20 years ago when he spoke of “open systems” he meant OSI).

I do not want to get locked in any system.

→ “You ALWAYS pay

Autism’s False Prophets

I love “Cantor’s Dilemma“. In its final chapter (#22) a letter exchange between two powerful characters describes politics in Research in the most clear way. The book has one problem though. It is fiction.

Autism’s False Prophets” by Paul Offit is not. It covers the various vaccines-cause-autism theories and provides scientific data that prove them wrong. Do you want to read about bad science? It is there. Do you want to read about non-repeatable experiments? It is there. Do you want to read about how people mistake correlation for causation? There too! Do you want to find out how charlatans of any background take advantage of desperate people? Read the book. People want to be heard and want (instant) relief. With science not having the answers (or answers they can accept and deal with) charlatans step in loudly and fill the void. As is written in the book, hope is the best fix, better than any drug on the street.

“An easy-to-read medical thriller about the consequences of greed, hubris and intellectual sloppiness” reads the back of the book. This is a a chronicle and a science thriller, not a science fiction or science-in-fiction work. It contains the best explanation of the scientific method and the Null Hypothesis for the general public. Thanks to the book I now understand why the most illiterate and unscientific show ever presented on Greek TV exists:

“Unfortunately, the motivations of scientists who perform studies differ from those in the media who describe them: one wants to inform, the other to entertain.”

People want quick answers and are easy to jump to conspiracy theories that can provide them. It is no wonder that the opinion of journalists, ministers, politicians and celebrities that “attended the University of Google” gets accepted as expert opinion by the general public while the scientists are hiding “The Truth” by being on the payroll of big corporations. After reading the book I still do not understand why some people (the very same people that subscribe to such theories) do not visit their personal-injury lawyer every time they have a headache.

While if one is not directly involved with autism the book can have a few boring corners, it is a guide on how to present the facts. It is no wonder that the author gets so much hate mail and is the recipient of death threats.

PS: Two very interesting web sites that the book recommends are neurodiversity.com and
JunkScience.com.

decreasoner on OpenBSD

decreasoner is a Discrete Event Calculus reasoner written by Erik T. Mueller (author of “Commonsense Reasoning“). This is how I build it on OpenBSD 4.7:

  • tar zxf ply-3.3.tar.gz
  • tar zxf decreasoner.tar.gz
  • cd decreasoner/software/relsat-dist/
  • tar zxf ../../../relsat_2.02.tar
  • gmake -f Makefile.linux
  • cp ./relsat ../../solvers/
  • cd ../..
  • cp ../ply-3.3/ply/lex.py .
  • cp ../ply-3.3/ply/yacc.py .
  • decreasoner.py executes sort -g. Unfortunatelly, OpenBSD’s sort does not support a -g switch and you have to change it to -n. See also a discussion of sort -g vs sort -n.
  • ./make.sh

Someday I think I may contribute a script that may (semi)automate the above…

Dune and eBook distribution idiocy

I like Dune. I like it a lot. So being the happy owner of a BeBook Mini, I decided to buy the 40th anniversary edition from eBooks.com. Unlucky me:

This book is only available to customers in the following countries: United States.

The same goes with other e-bookstores too. I am sure that there exists a perfectly standing reason in some legal universe that does not allow me to buy an eBook version of Dune because I live in Greece, while at the same time I can go to Eleftheroudakis, or Politia and buy the english version in paperback!

To make it even funnier, I can buy a Greek translation of Dune from e-bookshop.gr (which is what I did in the end). So if I live in Greece and cannot read the native language, I cannot buy the eBook version!

It seems to me that only O’Reilly, Apress and Manning “get” it about eBooks. The rest seem to try and reproduce their current business model in a new paperless medium. We’ve got news for you: An eBook is not a book. It is now time to understand that the book is the content and you’ve been selling the medium.

ΤΖΩΤΖΙΟΥ mode on

Χρειάστηκε να πάμε τον Χ. στο νοσοκομείο για να τον δει παιδίατρος (όχι κάτι σοβαρό τελικά). Στην επιστροφή προς το σπίτι πήραμε ένα παιχνίδι στον Θ. από το ELC.

Θ: Μαμά, πολύ καλός ο γιατρός που πήγατε τον Χ.

Και την επόμενη μέρα:

Θ: Πότε θα πάμε την Κ. στο γιατρό;

(Inspired by: Οικογενειακές ιστορίες των ΤΖΩΤΖΙΟΥ)