Luis Rei

Month

January 2007

11 posts

Monarchy vs Oligarchy vs Democracy

While we’re more or less on the subject of history, I’ll leave here one of my favorite parts of The Histories of Herodotus (excerpt taken from Ancient History Sourcebook):

III.80: And now when five days were gone, and the hubbub had settled down, the conspirators met together to consult about the situation of affairs. At this meeting speeches were made, to which many of the Hellenes give no credence, but they were made nevertheless. Otanes recommended that the management of public affairs should be entrusted to the whole nation. “To me,” he said, “it seems advisable, that we should no longer have a single man to rule over us—-the rule of one is neither good nor pleasant. You cannot have forgotten to what lengths Cambyses went in his haughty tyranny, and the haughtiness of the Magi you have yourselves experienced. How indeed is it possible that monarchy should be a well-adjusted thing, when it allows a man to do as he likes without being answerable? Such licence is enough to stir strange and unwonted thoughts in the heart of the worthiest of men. Give a person this power, and straightway his manifold good things puff him up with pride, while envy is so natural to human kind that it cannot but arise in him. But pride and envy together include all wickedness—-both of them leading on to deeds of savage violence. True it is that kings, possessing as they do all that heart can desire, ought to be void of envy; but the contrary is seen in their conduct towards the citizens. They are jealous of the most virtuous among their subjects, and wish their death; while they take delight in the meanest and basest, being ever ready to listen to the tales of slanderers. A king, besides, is beyond all other men inconsistent with himself. Pay him court in moderation, and he is angry because you do not show him more profound respect—- show him profound respect, and he is offended again, because (as he says) you fawn on him. But the worst of all is, that he sets aside the laws of the land, puts men to death without trial, and subjects women to violence. The rule of the many, on the other hand, has, in the first place, the fairest of names, to wit, isonomy; and further it is free from all those outrages which a king is wont to commit. There, places are given by lot, the magistrate is answerable for what he does, and measures rest with the commonalty. I vote, therefore, that we do away with monarchy, and raise the people to power. For the people are all in all.” III.81: Such were the sentiments of Otanes. Megabyzus spoke next, and advised the setting up of an oligarchy: “In all that Otanes has said to persuade you to put down monarchy,” he observed, “I fully concur; but his recommendation that we should call the people to power seems to me not the best advice. For there is nothing so void of understanding, nothing so full of wantonness, as the unwieldy rabble. It were folly not to be borne, for men, while seeking to escape the wantonness of a tyrant, to give themselves up to the wantonness of a rude unbridled mob. The tyrant, in all his doings, at least knows what is he about, but a mob is altogether devoid of knowledge; for how should there be any knowledge in a rabble, untaught, and with no natural sense of what is right and fit? It rushes wildly into state affairs with all the fury of a stream swollen in the winter, and confuses everything. Let the enemies of the Persians be ruled by democracies; but let us choose out from the citizens a certain number of the worthiest, and put the government into their hands. For thus both we ourselves shall be among the governors, and power being entrusted to the best men, it is likely that the best counsels will prevail in the state.” III.82: This was the advice which Megabyzus gave, and after him Darius came forward, and spoke as follows: “All that Megabyzus said against democracy was well said, I think; but about oligarchy he did not speak advisedly; for take these three forms of government—-democracy, oligarchy, and monarchy—-and let them each be at their best, I maintain that monarchy far surpasses the other two. What government can possibly be better than that of the very best man in the whole state? The counsels of such a man are like himself, and so he governs the mass of the people to their heart’s content; while at the same time his measures against evil-doers are kept more secret than in other states. Contrariwise, in oligarchies, where men vie with each other in the service of the commonwealth, fierce enmities are apt to arise between man and man, each wishing to be leader, and to carry his own measures; whence violent quarrels come, which lead to open strife, often ending in bloodshed. Then monarchy is sure to follow; and this too shows how far that rule surpasses all others. Again, in a democracy, it is impossible but that there will be malpractices: these malpractices, however, do not lead to enmities, but to close friendships, which are formed among those engaged in them, who must hold well together to carry on their villainies. And so things go on until a man stands forth as champion of the commonalty, and puts down the evil-doers. Straightway the author of so great a service is admired by all, and from being admired soon comes to be appointed king; so that here too it is plain that monarchy is the best government. Lastly, to sum up all in a word, whence, I ask, was it that we got the freedom which we enjoy? Did democracy give it us, or oligarchy, or a monarch? As a single man recovered our freedom for us, my sentence is that we keep to the rule of one. Even apart from this, we ought not to change the laws of our forefathers when they work fairly; for to do so is not well.” III.83: Such were the three opinions brought forward at this meeting; the four other Persians voted in favor of the last. Otanes, who wished to give his countrymen a democracy, when he found the decision against him, arose a second time, and spoke thus before the assembly: “Brother conspirators, it is plain that the king who is to be chosen will be one of ourselves, whether we make the choice by casting lots for the prize, or by letting the people decide which of us they will have to rule over them, in or any other way. Now, as I have neither a mind to rule nor to be ruled, I shall not enter the lists with you in this matter. I withdraw, however, on one condition—-none of you shall claim to exercise rule over me or my seed for ever.” The six agreed to these terms, and Otanes withdraw and stood aloof from the contest. And still to this day the family of Otanes continues to be the only free family in Persia; those who belong to it submit to the rule of the king only so far as they themselves choose; they are bound, however, to observe the laws of the land like the other Persians.

Jan 29, 2007
Origin of Quake3’s Fast InvSqrt()

Old news but I just want to leave this here because I think it’s pretty cool. The function itself is like an artifact from another age. The article feels like a piece of ‘software archeology’.

float InvSqrt (float x){
float xhalf = 0.5f*x;
int i = *(int*)&x;
i = 0x5f3759df - (i>>1);
x = *(float*)&i;
x = x*(1.5f - xhalf*x*x);
return x;
}


Fast Inverse Square Root
(PDF) by Chris Lomont

Jan 29, 2007
The Zen of Python

»> import this

The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts. Special cases aren’t special enough to break the rules. Although practicality beats purity. Errors should never pass silently. Unless explicitly silenced. In the face of ambiguity, refuse the temptation to guess. There should be one— and preferably only one —obvious way to do it. Although that way may not be obvious at first unless you’re Dutch. Now is better than never. Although never is often better than *right* now. If the implementation is hard to explain, it’s a bad idea. If the implementation is easy to explain, it may be a good idea. Namespaces are one honking great idea — let’s do more of those!

Via Marcos Silva Check out Python Humor (why haven’t I read this before?)
Jan 25, 2007
Living with Vista Part II

  • Networking is terrible - slow as hell to detect networks - sometimes it doesn’t detect them without a reboot, hard to change networks, …;
  • Ready boost shaved ~15 secs of my ~55 sec boot though it would likely be faster with a better pen drive;
  • Hardware support is still flimsy;
  • Networking is really really bad.
Jan 23, 2007
Funniest Mac vs Win post in a long while

Quoting from the slashdot discussion:

9 out of 10 homosexuals prefer MacOS!

What I think he meant to troll with was “9 out of 10 MacOS users prefer homosexuals,” there, fixed it for you.

Jan 19, 2007
Windows Vista - First Impressions

From one and a half days of Vista use: The Good:

  • UAC actually looks pretty good, unfortunately I suspect many users will disable it;
  • More security stuff (such as ASLR) - only time will tell how effective they will be, but it’s no doubt an improvement;
  • It feels a lot more responsive;
  • The WinKey+Tab is badass (though not as good as OSX’s expose);
  • Search for everything (documents, programs, configuration options, …);
  • It’s pretty (I really like the new progress bar in explorer).
The Bad:
  • Configuring Windows with the new control panel is much harder - options are spread around like crazy;
  • Networking for laptops is as bad as in XP (i.e. nowhere near as good as in Ubuntu);
  • They couldn’t even ensure out-of-the-box compatibility for Visual Studio 2005 - they’ll address it in VS2k5 SP1.
Some links I cant be bothered to make a specific post for: Online Security Sessions from TechEd IT Forum Available Windows Vista Security Guide Gunnar Peterson’s OS Security Features Chart
Jan 18, 2007
Trusted Computing

Wow this is the best explanation of why TCPA sucks - also on youtube (found it via Thierry Zoller’s blog that I was checking because of the 22C3 bluetooth stuff). It was actually fun to watch and makes it simple for every one to understand.

Additional Link: Against TCPA

Jan 12, 2007
23C3 Videos

Videos from some of the presentations at 23C3 are already available on google video. Enjoy.

PS: Bluetooth Hacking Revisited stuff.

Jan 12, 2007
iPhone

3 letters: DOA.

Jan 12, 2007
Windows Home Server

I’m sure you’ve heard of MS Windows Home Server. The only potential I see in it is due to the fact that it can probably run Linux…

Jan 10, 2007
Deconstructing The Xbox Security System

This Google Tech Talk kicked ass. I specially like the A20 hack and visor’s “memory is a sphere” hack.

http://video.google.com/videoplay?docid=-4356347903120410001

Jan 6, 2007
Next page →
2012 2013
  • January 7
  • February 4
  • March 5
  • April 13
  • May 5
  • June 3
  • July
  • August
  • September
  • October
  • November
  • December
2011 2012 2013
  • January 3
  • February 42
  • March 17
  • April 25
  • May 25
  • June 19
  • July 37
  • August 22
  • September 15
  • October 11
  • November 7
  • December 1
2010 2011 2012
  • January
  • February 1
  • March 3
  • April 5
  • May 7
  • June
  • July 17
  • August 9
  • September 13
  • October 25
  • November 8
  • December 13
2009 2010 2011
  • January 15
  • February 3
  • March 29
  • April 4
  • May 4
  • June 4
  • July 14
  • August 27
  • September 27
  • October 20
  • November 31
  • December 10
2008 2009 2010
  • January
  • February 8
  • March 5
  • April 2
  • May 1
  • June
  • July 2
  • August
  • September 1
  • October
  • November
  • December 1
2007 2008 2009
  • January 6
  • February 8
  • March 20
  • April 6
  • May 5
  • June 1
  • July
  • August 5
  • September 4
  • October 7
  • November 4
  • December
2006 2007 2008
  • January 11
  • February 6
  • March 16
  • April 6
  • May 5
  • June 6
  • July 1
  • August 6
  • September 2
  • October 10
  • November 9
  • December 12
2005 2006 2007
  • January 4
  • February 4
  • March 3
  • April 2
  • May 1
  • June 2
  • July 10
  • August 11
  • September 6
  • October 4
  • November 2
  • December 6
2004 2005 2006
  • January 4
  • February 4
  • March 1
  • April
  • May 29
  • June 15
  • July 12
  • August 16
  • September 14
  • October 9
  • November 4
  • December 1
2004 2005
  • January
  • February
  • March
  • April
  • May
  • June
  • July
  • August 17
  • September 6
  • October 16
  • November 6
  • December 2