Flatland, by Edwin A. Abbott

Flatland: Section 9 Of the Universal Colour Bill

But meanwhile the intellectual Arts were fast decaying.

The Art of Sight Recognition, being no longer needed, was no longer practised; and the studies of Geometry, Statics, Kinetics, and other kindred subjects, came soon to be considered superfluous, and feel into disrespect and neglect even at our University. The inferior Art of Feeling speedily experienced the same fate at our Elementary Schools. Then the Isosceles classes, asserting that the Specimens were no longer used nor needed, and refusing to pay the customary tribute from the Criminal classes to the service of Education, waxed daily more numerous and more insolent on the strength of their immunity from the old burden which had formerly exercised the twofold wholesome effect of at once taming their brutal nature and thinning their excessive numbers.

Year by year the Soldiers and Artisans began more vehemently to assert — and with increasing truth — that there was no great difference between them and the very highest class of Polygons, now that they were raised to an equality with the latter, and enabled to grapple with all the difficulties and solve all the problems of life, whether Statical or Kinetical, by the simple process of Colour Recognition. Not content with the natural neglect into which Sight Recognition was falling, they began boldly to demand the legal prohibition of all “monopolizing and aristocratic Arts” and the consequent abolition of all endowments for the studies of Sight Recognition, Mathematics, and Feeling. Soon, they began to insist that inasmuch as Colour, which was a second Nature, had destroyed the need of aristocratic distinctions, the Law should follow in the same path, and that henceforth all individuals and all classes should be recognized as absolutely equal and entitled to equal rights.

Finding the higher Orders wavering and undecided, the leaders of the Revolution advanced still further in their requirements, and at last demanded that all classes alike, the Priests and the Women not excepted, should do homage to Colour by submitting to be painted. When it was objected that Priests and Women had no sides, they retorted that Nature and Expediency concurred in dictating that the front half of every human being (that is to say, the half containing his eye and mouth) should be distinguishable from his hinder half. They therefore brought before a general and extraordinary Assembly of all the States of Flatland a Bill proposing that in every Woman the half containing the eye and mouth should be coloured red, and the other half green. The Priests were to be painted in the same way, red being applied to that semicircle in which the eye and mouth formed the middle point; while the other or hinder semicircle was to be coloured green.

There was no little cunning in this proposal, which indeed emanated not from any Isosceles — for no being so degraded would have angularity enough to appreciate, much less to devise, such a model of state-craft — but from an Irregular Circle who, instead of being destroyed in his childhood, was reserved by a foolish indulgence to bring desolation on his country and destruction on myriads of followers.

On the one hand the proposition was calculated to bring the Women in all classes over to the side of the Chromatic Innovation. For by assigning to the Women the same two colours as were assigned to the Priests, the Revolutionists thereby ensured that, in certain positions, every Woman would appear as a Priest, and be treated with corresponding respect and deference — a prospect that could not fail to attract the Female Sex in a mass.

But by some of my Readers the possibility of the identical appearance of Priests and Women, under a new Legislation, may not be recognized; if so, a word or two will make it obvious.

Imagine a woman duly decorated, according to the new Code; with the front half (i.e., the half containing the eye and mouth) red, and with the hinder half green. Look at her from one side. Obviously you will see a straight line, HALF RED, HALF GREEN.

Now imagine a Priest, whose mouth is at M, and whose front semicircle (AMB) is consequently coloured red, while his hinder semicircle is green; so that the diameter AB divides the green from the red. If you contemplate the Great Man so as to have your eye in the same straight line as his dividing diameter (AB), what you will see will be a straight line (CBD), of which ONE HALF (CB) WILL BE RED, AND THE OTHER (BD) GREEN. The whole line (CD) will be rather shorter perhaps than that of a full-sized Woman, and will shade off more rapidly towards its extremities; but the identity of the colours would give you an immediate impression of identity in Class, making you neglectful of other details. Bear in mind the decay of Sight Recognition which threatened society at the time of the Colour revolt; add too the certainty that Woman would speedily learn to shade off their extremities so as to imitate the Circles; it must then be surely obvious to you, my dear Reader, that the Colour Bill placed us under a great danger of confounding a Priest with a young Woman.

How attractive this prospect must have been to the Frail Sex may readily be imagined. They anticipated with delight the confusion that would ensue. At home they might hear political and ecclesiastical secrets intended not for them but for their husbands and brothers, and might even issue some commands in the name of a priestly Circle; out of doors the striking combination of red and green without addition of any other colours, would be sure to lead the common people into endless mistakes, and the Woman would gain whatever the Circles lost, in the deference of the passers by. As for the scandal that would befall the Circular Class if the frivolous and unseemly conduct of the Women were imputed to them, and as to the consequent subversion of the Constitution, the Female Sex could not be expected to give a thought to these considerations. Even in the households of the Circles, the Women were all in favour of the Universal Colour Bill.

The second object aimed at by the Bill was the gradual demoralization of the Circles themselves. In the general intellectual decay they still preserved their pristine clearness and strength of understanding. From their earliest childhood, familiarized in their Circular households with the total absence of Colour, the Nobles alone preserved the Sacred Art of Sight Recognition, with all the advantages that result from that admirable training of the intellect. Hence, up to the date of the introduction of the Universal Colour Bill, the Circles had not only held their own, but even increased their lead of the other classes by abstinence from the popular fashion.

Now therefore the artful Irregular whom I described above as the real author of this diabolical Bill, determined at one blow to lower the status of the Hierarchy by forcing them to submit to the pollution of Colour, and at the same time to destroy their domestic opportunities of training in the Art of Sight Recognition, so as to enfeeble their intellects by depriving them of their pure and colourless homes. Once subjected to the chromatic taint, every parental and every childish Circle would demoralize each other. Only in discerning between the Father and the Mother would the Circular infant find problems for the exercise of his understanding — problems too often likely to be corrupted by maternal impostures with the result of shaking the child’s faith in all logical conclusions. Thus by degrees the intellectual lustre of the Priestly Order would wane, and the road would then lie open for a total destruction of all Aristocratic Legislature and for the subversion of our Privileged Classes.

dynamic configuration with snmptable

I’m playing with snmp monitoring stuff (as usual) and it occurred to me there is an easier way to query resources that I want to monitor: snmptable. Frinstance, rather than look up the disks on a given system, why not run snmptable and get a list of the attached disks, then build a query around that?
[/Users/paul]:: snmptable -cpublic -Cw 80 -v2c red hrStorageTable
SNMP table: HOST-RESOURCES-MIB::hrStorageTable

hrStorageIndex hrStorageType
1 HOST-RESOURCES-TYPES::hrStorageOther
2 HOST-RESOURCES-TYPES::hrStorageRam
3 HOST-RESOURCES-TYPES::hrStorageVirtualMemory
4 HOST-RESOURCES-TYPES::hrStorageOther
5 HOST-RESOURCES-TYPES::hrStorageFixedDisk
6 HOST-RESOURCES-TYPES::hrStorageFixedDisk
7 HOST-RESOURCES-TYPES::hrStorageFixedDisk
8 HOST-RESOURCES-TYPES::hrStorageFixedDisk
9 HOST-RESOURCES-TYPES::hrStorageFixedDisk
10 HOST-RESOURCES-TYPES::hrStorageFixedDisk

SNMP table HOST-RESOURCES-MIB::hrStorageTable, part 2

hrStorageDescr hrStorageAllocationUnits hrStorageSize hrStorageUsed
Memory Buffers 256 Bytes 0 ?
Real Memory 4096 Bytes 39602 ?
Swap Space 4096 Bytes 5671053 ?
Memory Buffer Clusters 1024 Bytes 1024 ?
/ 1024 Bytes 99183 ?
/usr 1024 Bytes 7302338 ?
/var 1024 Bytes 19815 ?
/proc 4096 Bytes 1 ?
/opt 1024 Bytes 75746877 ?
/usr/compat/linux/proc 4096 Bytes 1 ?

So I would want the resources labelled hrStorageFixedDisk, and then get their hrStorageIndex, and the hrStorageDescr.
Then I can make snmpget requests from that: that would allow me to get the names/mountpoints for labelling.

[/Users/paul]:: snmpget -cpublic -v2c red hrStorageDescr.5 hrStorageUsed.5 hrStorageSize.5
HOST-RESOURCES-MIB::hrStorageDescr.5 = STRING: /
HOST-RESOURCES-MIB::hrStorageUsed.5 = INTEGER: 68136
HOST-RESOURCES-MIB::hrStorageSize.5 = INTEGER: 99183

The bonehead way would be to just loop over some range, but that lacks elegance.

Continue reading “dynamic configuration with snmptable”

Flatland, by Edwin A. Abbott

Flatland: Section 8 Of the Ancient Practice of Painting

If my Readers have followed me with any attention up to this point, they will not be surprised to hear that life is somewhat dull in Flatland. I do not, of course, mean that there are not battles, conspiracies, tumults, factions, and all those other phenomena which are supposed to make History interesting; nor would I deny that the strange mixture of the problems of life and the problems of Mathematics, continually inducing conjecture and giving an opportunity of immediate verification, imparts to our existence a zest which you in Spaceland can hardly comprehend. I speak now from the aesthetic and artistic point of view when I say that life with us is dull; aesthetically and artistically, very dull indeed.

How can it be otherwise, when all one’s prospect, all one’s landscapes, historical pieces, portraits, flowers, still life, are nothing but a single line, with no varieties except degrees of brightness and obscurity?

It was not always thus. Colour, if Tradition speaks the truth, once for the space of half a dozen centuries or more, threw a transient splendour over the lives of our ancestors in the remotest ages. Some private individual — a Pentagon whose name is variously reported — having casually discovered the constituents of the simpler colours and a rudimentary method of painting, is said to have begun by decorating first his house, then his slaves, then his Father, his Sons, and Grandsons, lastly himself. The convenience as well as the beauty of the results commended themselves to all. Wherever Chromatistes, — for by that name the most trustworthy authorities concur in calling him, — turned his variegated frame, there he at once excited attention, and attracted respect. No one now needed to “feel” him; no one mistook his front for his back; all his movements were readily ascertained by his neighbours without the slightest strain on their powers of calculation; no one jostled him, or failed to make way for him; his voice was saved the labour of that exhausting utterance by which we colourless Squares and Pentagons are often forced to proclaim our individuality when we move amid a crowd of ignorant Isosceles.

The fashion spread like wildfire. Before a week was over, every Square and Triangle in the district had copied the example of Chromatistes, and only a few of the more conservative Pentagons still held out. A month or two found even the Dodecagons infected with the innovation. A year had not elapsed before the habit had spread to all but the very highest of the Nobility. Needless to say, the custom soon made its way from the district of Chromatistes to surrounding regions; and within two generations no one in all Flatland was colourless except the Women and the Priests.

Here Nature herself appeared to erect a barrier, and to plead against extending the innovations to these two classes. Many- sidedness was almost essential as a pretext for the Innovators. “Distinction of sides is intended by Nature to imply distinction of colours” — such was the sophism which in those days flew from mouth to mouth, converting whole towns at a time to a new culture. But manifestly to our Priests and Women this adage did not apply. The latter had only one side, and therefore — plurally and pedantically speaking — NO SIDES. The former — if at least they would assert their claim to be readily and truly Circles, and not mere high-class Polygons, with an infinitely large number of infinitesimally small sides — were in the habit of boasting (what Women confessed and deplored) that they also had no sides, being blessed with a perimeter of only one line, or, in other words, a Circumference. Hence it came to pass that these two Classes could see no force in the so-called axiom about “Distinction of Sides implying Distinction of Colour;” and when all others had succumbed to the fascinations of corporal decoration, the Priests and the Women alone still remained pure from the pollution of paint.

Immoral, licentious, anarchical, unscientific — call them by what names you will — yet, from an aesthetic point of view, those ancient days of the Colour Revolt were the glorious childhood of Art in Flatland — a childhood, alas, that never ripened into manhood, nor even reached the blossom of youth. To live then in itself a delight, because living implied seeing. Even at a small party, the company was a pleasure to behold; the richly varied hues of the assembly in a church or theatre are said to have more than once proved too distracting from our greatest teachers and actors; but most ravishing of all is said to have been the unspeakable magnificence of a military review.

The sight of a line of battle of twenty thousand Isosceles suddenly facing about, and exchanging the sombre black of their bases for the orange of the two sides including their acute angle; the militia of the Equilateral Triangles tricoloured in red, white, and blue; the mauve, ultra-marine, gamboge, and burnt umber of the Square artillerymen rapidly rotating near their vermillion guns; the dashing and flashing of the five-coloured and six-coloured Pentagons and Hexagons careering across the field in their offices of surgeons, geometricians and aides-de-camp — all these may well have been sufficient to render credible the famous story how an illustrious Circle, overcome by the artistic beauty of the forces under his command, threw aside his marshal’s baton and his royal crown, exclaiming that he henceforth exchanged them for the artist’s pencil. How great and glorious the sensuous development of these days must have been is in part indicated by the very language and vocabulary of the period. The commonest utterances of the commonest citizens in the time of the Colour Revolt seem to have been suffused with a richer tinge of word or thought; and to that era we are even now indebted for our finest poetry and for whatever rhythm still remains in the more scientific utterance of those modern days.

Flatland, by Edwin A. Abbott

Flatland: Section 7 Concerning Irregular Figures

Flatland: Section 7 Concerning Irregular Figures

Throughout the previous pages I have been assuming — what perhaps should have been laid down at the beginning as a distinct and fundamental proposition — that every human being in Flatland is a Regular Figure, that is to say of regular construction. By this I mean that a Woman must not only be a line, but a straight line; that an Artisan or Soldier must have two of his sides equal; that Tradesmen must have three sides equal; Lawyers (of which class I am a humble member), four sides equal, and, generally, that in every Polygon, all the sides must be equal.

The sizes of the sides would of course depend upon the age of the individual. A Female at birth would be about an inch long, while a tall adult Woman might extend to a foot. As to the Males of every class, it may be roughly said that the length of an adult’s size, when added together, is two feet or a little more. But the size of our sides is not under consideration. I am speaking of the EQUALITY of sides, and it does not need much reflection to see that the whole of the social life in Flatland rests upon the fundamental fact that Nature wills all Figures to have their sides equal.

If our sides were unequal our angles might be unequal. Instead of its being sufficient to feel, or estimate by sight, a single angle in order to determine the form of an individual, it would be necessary to ascertain each angle by the experiment of Feeling. But life would be too short for such a tedious groping. The whole science and art of Sight Recognition would at once perish; Feeling, so far as it is an art, would not long survive; intercourse would become perilous or impossible; there would be an end to all confidence, all forethought; no one would be safe in making the most simple social arrangements; in a word, civilization might relapse into barbarism.

Am I going too fast to carry my Readers with me to these obvious conclusions? Surely a moment’s reflection, and a single instance from common life, must convince every one that our social system is based upon Regularity, or Equality of Angles. You meet, for example, two or three Tradesmen in the street, whom your recognize at once to be Tradesman by a glance at their angles and rapidly bedimmed sides, and you ask them to step into your house to lunch. This you do at present with perfect confidence, because everyone knows to an inch or two the area occupied by an adult Triangle: but imagine that your Tradesman drags behind his regular and respectable vertex, a parallelogram of twelve or thirteen inches in diagonal: — what are you to do with such a monster sticking fast in your house door?

But I am insulting the intelligence of my Readers by accumulating details which must be patent to everyone who enjoys the advantages of a Residence in Spaceland. Obviously the measurements of a single angle would no longer be sufficient under such portentous circumstances; one’s whole life would be taken up in feeling or surveying the perimeter of one’s acquaintances. Already the difficulties of avoiding a collision in a crowd are enough to tax the sagacity of even a well-educated Square; but if no one could calculate the Regularity of a single figure in the company, all would be chaos and confusion, and the slightest panic would cause serious injuries, or — if there happened to be any Women or Soldiers present — perhaps considerable loss of life.

Expediency therefore concurs with Nature in stamping the seal of its approval upon Regularity of conformation: nor has the Law been backward in seconding their efforts. “Irregularity of Figure” means with us the same as, or more than, a combination of moral obliquity and criminality with you, and is treated accordingly. There are not wanting, it is true, some promulgators of paradoxes who maintain that there is no necessary connection between geometrical and moral Irregularity. “The Irregular,” they say, “is from his birth scouted by his own parents, derided by his brothers and sisters, neglected by the domestics, scorned and suspected by society, and excluded from all posts of responsibility, trust, and useful activity. His every movement is jealously watched by the police till he comes of age and presents himself for inspection; then he is either destroyed, if he is found to exceed the fixed margin of deviation, at an uninteresting occupation for a miserable stipend; obliged to live and board at the office, and to take even his vacation under close supervision; what wonder that human nature, even in the best and purest, is embittered and perverted by such surroundings!”

All this very plausible reasoning does not convince me, as it has not convinced the wisest of our Statesmen, that our ancestors erred in laying it down as an axiom of policy that the toleration of Irregularity is incompatible with the safety of the State. Doubtless, the life of an Irregular is hard; but the interests of the Greater Number require that it shall be hard. If a man with a triangular front and a polygonal back were allowed to exist and to propagate a still more Irregular posterity, what would become of the arts of life? Are the houses and doors and churches in Flatland to be altered in order to accommodate such monsters? Are our ticket-collectors to be required to measure every man’s perimeter before they allow him to enter a theatre, or to take his place in a lecture room? Is an Irregular to be exempted from the militia? And if not, how is he to be prevented from carrying desolation into the ranks of his comrades? Again, what irresistible temptations to fraudulent impostures must needs beset such a creature! How easy for him to enter a shop with his polygonal front foremost, and to order goods to any extent from a confiding tradesman! Let the advocates of a falsely called Philanthropy plead as they may for the abrogation of the Irregular Penal Laws, I for my part have never known an Irregular who was not also what Nature evidently intended him to be — a hypocrite, a misanthropist, and, up to the limits of his power, a perpetrator of all manner of mischief.

Not that I should be disposed to recommend (at present) the extreme measures adopted by some States, where an infant whose angle deviates by half a degree from the correct angularity is summarily destroyed at birth. Some of our highest and ablest men, men of real genius, have during their earliest days laboured under deviations as great as, or even greater than forty-five minutes: and the loss of their precious lives would have been an irreparable injury to the State. The art of healing also has achieved some of its most glorious triumphs in the compressions, extensions, trepannings, colligations, and other surgical or diaetetic operations by which Irregularity has been partly or wholly cured. Advocating therefore a VIA MEDIA, I would lay down no fixed or absolute line of demarcation; but at the period when the frame is just beginning to set, and when the Medical Board has reported that recovery is improbably, I would suggest that the Irregular offspring be painlessly and mercifully consumed.

was Mac OS 9 that bad?

Apparently not . . .

[IP] more on Apple’s Unlikely Guardian Angel:

All long-term Mac users can recall that the primary benefit of switching from OS 9 to OS X is reliability. And this is true — as an expert, I make a point of keeping my systems humming at near-perfection. My OS 9 Macs had to be rebooted every few days after heavy use; my OS X systems can have uptime measured in months. Since I had never seen OS 9 systems run longer, I counted that as near-perfection.

Woz’s question: *why* do OS 9 boxes have a reputation for unreliability? And then he raised this bombshell: on classic Mac OS not running ANY Microsoft software, he routinely saw uptime in months. But install Internet Explorer (shipped with every Mac) or Office (usually the first 3rd-party application to be added), and boom — the system starts regularly crashing. These applications were so pervasive that even Mac experts accepted this as part of the OS — but as soon as he raised the point, I recalled that my Mac mail, web, and database servers routinely had multimonth uptimes. I had just attributed that to a lack of a user at the console. Which then makes one wonder — it’s awfully interesting that these crashes happened in ways that were never attributed to MS, only to the OS. It’s equally interesting to consider that Apple may have been building systems with the same rock-solid reliability they have today for the better part of their history. And that their supposed savior may be the reason why Macs were dragged down to their level for most of that time.

I have to wonder about this: if you read the whole thing, the author posits what might have happened if MSFT had stopped shipping Office for the Mac (not much, he claims) and how MSFT’s “support” might not have been that big a deal. MSFT apps as equal-opportunity system destabilizers/crashers?

eBay adventures

I bought a used film scanner on eBay a month or so ago. The seller’s refund policy was 7 days, and I didn’t have the right cabling to test it, so I missed out on that. So I decided to re-sell it and keep looking. It sold for less than I paid for it.

Come to find out the new buyer doesn’t like it. I’m not sure what he expected for $76 — these sell for upwards of $200 if they’re claimed as working and complete and I made no such claims — but anyway, even though the unit was sold as-is,
3870311680
I offered a refund to be paid when I got confirmation of shipment (ie, a tracking number). He could ship me a brick or his dirty laundry and I would be out the full refund, but I decided to take a good-faith approach.

So far, nothing. I figure I’ll give it a week and then tell him no deal: it’s been almost that long now, and if he was that unhappy/wanted his money back, I can’t imagine why it’s taking so long. You can print a label online, for cryin’ in a bucket.

I was hoping to preserve my 100% feedback score, but judging by the comments left in his (97%), perhaps I should be more careful in future.