ansible_managed is a string that can be inserted into files written by Ansible’s config templating system. You put the macro string # {{ ansible_managed }} in your jinja2 template and it gets expanded to something meaningful like:

# Ansible managed: /path/to/file/template/hosts.j2 modified on 2014-09-24 10:52:51 by username on hostname

You get a good idea of where the file came from. Unfortunately, templates work only with ansible playbooks and not with the direct ansible command. But even when you use the copy module outside a playbook it is a good practice to put a comment that includes {{ ansible_managed }} at the beginning of the file. It serves as a handy reminder on how this file got installed in the first place. And in the future, if you make a template and a playbook work with it, you’re already set.

I tried to upgrade an Debian box that was left a bit behind today and apt-get upgrade failed somewhere between libssl1.0.0 and python2.7-minimal (among a few other packages) being depended on each other and the installation script gave up. apt-get upgrade -f refused also.

If you google around this is a problem that many people had with many different causes and solutions that may or may not work in your case. So here is another one that I copy-pasted from the internets that worked in this particular case. In file /var/cache/debconf/config.dat I added:

Name: libraries/restart-without-asking
Template: libraries/restart-without-asking
Value: true
Owners: libssl1.0.0
Flags: seen

Red Plenty

2014/09/09

Following my streak of reading dystopic governance books, I just finished Red Plenty on the Kindle. The main difference being that this book is not about a science fiction dystopia, but about the Soviet Union during the Khrushchev era, where there was a real effort on competing with capitalists on their own ground.

And you know what else? The main heroes of the book are real, interesting people, like Kantorovich, the Nobel prize winner from USSR, one of the inventors of Linear Programming. I also wonder how many in CS have ever heard of Lebedev, a true computing pioneer whose plans were stopped by politics as it seems. People interested in Optimization will find great many stories to talk about. As those interested in Cybernetic failures.

Whether you are a socialist or a liberal, you need to read the book. Central planning fails. We know that. See some of the reasons why. Politics, mediocrity, privileged classes of citizens, blind faith in science and ways to trick the system bigtime, they all parade through the book. Go read the book. I want to thank @iamreddave for bringing it to my attention years ago.

One minor annoyance: In the Kindle version when you reach the appendix, there is a garbling in the paging. Apart from that you will love the Kindle dictionary. For this book I consulted it a thousand times maybe.

Kid[1] has a micro scooter and is attached to it. Kid[1] is an autistic and uses the scooter to move around a lot, gaining experience with balance, movement and space while doing so. Unfortunately, after much play the left springer that was holding the steering wheel broke and driving it became somewhat difficult. Since it was not a spare part that could be easily found in a hardware store, I wrote to the Company in hope for guidance. What followed was amazing:

The Swiss company contacted their Greek parners forwarding them our request. They in turn contacted us, came home, took the scooter, performed a general service on it and returned it back. All without charge.

So using this page, and because this scooter is important for kid[1], I wish to extend my my family’s thanks both to the Swiss and the Greek companies involved.

Thank you!

Agent of Chaos

2014/08/23

In social orders, as in the physical realm, the innate tendency is towards increased entropy or disorder. Therefore, the more Ordered a society, the more Social Energy is required to maintain that Order, the more Order needed to generate that Social Energy, the two paradoxical needs feeding upon each other in an ever-increasing exponential spiral. Therefore, a highly Ordered society must gro ever more Ordered, and thus can tolerate less and less Random Factors as the cycle progresses.

It seems that I am on streak of books that deal with Democracy and other forms of Government. This was the second time that I read Agent of Chaos (the first being its Greek translation, 10 years ago).

Imagine a world where the US and the USSR have merged government and have managed to colonise the Solar System. This is the dystopia of the Hegemony of Sol which is governed by a Council of ten, five of them chosen scientifically by a computer and five by elections. In the Hegemony of Sol, a total surveillance state, what is not specifically permitted is prohibited.

Who can oppose such a systematic regime of absolute control? There exist two players. The basically insignificant Democratic League that fights to restore Democracy although they really do not know what it is and the resilient Brotherhood of the Assassins. The Democratic League was formed 10 years ago while the Brotherhood lasts for centuries.

The Brotherhood see themselves as agents of Chaos, and oppose the total Order imposed by the Hegemony by performing what seem to the Hegemony unexplained and unpredictable acts – but acts of defiance nonetheless. Can they or the Democratic League oppose the Hegemony? Will they change its police state? How? How, where and when one can defend against such a State is the picture that Spinrad paints. Is there any hope?

Yes there is, but the thing is that hope is not a strategy. So it is best that we do not let Governments slip into this dystopic model.

In placing Chaos opposite Order, I could not help but remember the Elric saga. I guess since Spinrad published in a magazine managed by Moorcock.

I must say that I really enjoyed reading this book on the kindle, although the production of the ebook is not without problems. Quite many spelling errors (at least enough to remember to write this). It seems like this was not retyped but OCRed.

PS: I am certain that anyone who has read the book would want Spinrad to have a complete edition of his Theory of Social Entropy as presented in the book by the fictive author Gregor Markowitz.

Numbers Rule

2014/08/17

I wanted to read Numbers Rule ever since I spotted a review of it at Mike Trick’s blog (by the way a theorem by Mike Trick is mentioned in the book).

The book is a concise history of voting systems, be it a majority voting system that deals with electing a leader, or with the proper apportionment of parliament seats. While doing that, using high school mathematics, it explains the algorithms that are used to appoint seats in a parliament (narrating the story of how the US Congress decided on the same issue) and gives a brief biography of key persons in the history of voting systems. The book stars Plato, Pliny the younger, Ramon Llull, Cusanus, Borda, Condorset, Laplace, Lewis Carroll, Willcox, Hill, Huntington, Arrow, Gibbard, Satterthwaite, Balinski, Young, Bader and Ofer. Von Neumann also! And I am always fond of books that mention von Neumann.

Reading this book was both educating and amusing. I understood why for some votes Robert’s Rules requires a 2/3 majority, instead of the simple 50% plus one vote. Do you really think that a 50% + 1 is a selection that represents the will of the people? Think again. The book is full of examples of why this is not the case, including strategic voting. It was amusing enough for me while discussing fair apportionment methods because I always had in my mind the proponents of this magic voting system in Greece (which has never been put to the test) that allocates members of parliament is a fair manner. It struck me that for so many years the proponents always mention the fairness of the system but I have never ever seen the mathematics of it documented anywhere. And it is not that it is complex or complicated stuff. But hey, if you put it down on paper you have to deal with reality and the fact that a seat in the parliament cannot be fractional.

The book is heavily focused in the history of the apportionment of seats in the US Congress, but it also makes a brief passing from Eurovision (although the author makes a small error about the voting points) and also discusses the Swiss and Israeli methods of apportioning seats in a Parliament. The Israeli method of party alliances is really interesting. One should not be let down by the heavy US orientation of the book. It is used by the author as an excellent vehicle in order to present apportionment paradoxes.

Arrow’s paradox takes about a chapter in the book, and the author manages to explain to the layman what Arrow proved with his thesis (and with specific references to certain pages of it). If you want to have a quick explanation of why Arrow’s theorem is important start from this chapter.

In the end I liked this book, because it added two more books in my reading list: The Arrow Impossibility Theorem and Fair Representation.

A lot of people speak the word Democracy. Few understand it. Start testing your understanding by reading this book.

Ένα χρόνο (και λίγες ώρες) πριν κατά τις 11 το βράδυ χτυπάει το τηλέφωνο. Ήταν ο Χ:

- Έλα ρε, τα έμαθες για τον Θ;
– Όχι, είπα σκεπτόμενος πως για να με παίρνει ο Χ τέτοια ώρα ή κάποιο βραβείο είχε πάρει ο Θ, ή πήγαινε και αυτός για τρίτο παιδί.
– Ένα αμάξι πήγαινε ανάποδα στην Αττική Οδό και τον χτύπησε. Ήταν με την μηχανή.

Ο Θ είναι ζωντανός και όρθιος, γιατί φόραγε όλα τα προστατευτικά, αλλά κυρίως γιατί δεν το έβαλε ποτέ κάτω.

You rule my friend.

Follow

Get every new post delivered to your Inbox.

Join 1,655 other followers