Wilkommen, Bienvenu, Welcome... Sziasztok!

Welcome to The Lotus Position, an intermittent collection of extempore navel gazings, ponderings, whinges, whines, pontifications and diatribes.

Everything is based on a Sample of One: these are my views, my experiences... caveat lector... read the Disclaimer

The Budapest Office - Castro Bisztro, Madach ter

The Budapest Office - Castro Bisztro, Madach ter
Ponder, Scribble, Ponder (Photo Erdotahi Aron)
Showing posts with label Nerd. Show all posts
Showing posts with label Nerd. Show all posts

Saturday, 4 August 2007

Why You Don't Want to be a Geek II

Because Geeks do things like this

(I'm not going to spoil it for you just yet...)

I am now fiddling with Chris Barker's PERL program Syllabify.pl, attempting to turn it into Visual Basic for Applications so that I can run it under Word and then do my own Flesch-Kincaid scores etc.. Unfortunately, I don't know PERL, but what the hell, I DO STUFF - shouldn't be too hard... ooh, er... grep... that's Unix stuff, a kind of Stuff I Do Not Do...

Hmmm... I feel a Dr Seuss moment coming on...

*************

There is Stuff I love to do.
Do you like the Stuff I do?
Do you like my Kinds of Stuff?
Is my Stuff your Kind of Stuff?

I do Stuff that's odd and queer.
I do Words like There and Here,
And Hither, Whither, Whence and Hence,
And Protoplasmic, Turbulence.

Words are Stuff I like to do!
Do you do Words the way I do?

Do you make them twist and shout?
Do you turn them inside out?
Do you like to tweak their noses?
Do they feed your odd neuroses?

I do Stuff! It's Stuff I do!
Does doing Stuff appeal to you?
What Kinds of Stuff do you find nice?
Would you like finding rhymes for "nice"?

I would! I do! It's Stuff you see!
And Stuff is very good for me.
Stuff is endless; Stuff is great!
Except the Kinds of Stuff I hate.

Unix Stuff I Do Not Do.
Unix Stuff should be Taboo!
Access too is Stuff I don't!
Sociology I won't!

Apart from that, I'm cool with Stuff:
There never seems to be enough!
And Stuff is everywhere you look –
In every picture, every book!

Stuff is Why, and How, and When
And If perhaps, then maybe Then.
Doing Stuff is What I Do
I'm Mr Stuff - and who are you?

*************
So what Kind of Stuff did I stumble upon in that very first link?

Haiku "discovered" in Linux documentation. My personal favourite was:
I suppose you have
to fiddle around a bit
to get this working
-- Werner Hauser, Linux Laptop HOWTO
It's a wonderful world!

PS According to Microsoft Word, The Flesch Reading Ease score for the above pseudo-Seuss is 100, and the Flesch-Kincaid Grade level is 0.7

Stuff is Easy!

Thursday, 2 August 2007

Why You Don't Want to be a Geek (The Flesch-Kincaid Formula is Wrong)

Well, I'm not sure if "Geek" is the right word - perhaps I mean "Nerd"? - but you can see the problem instantly: obsessing about the trivial. Does it really matter which word I use when, whichever I do choose, you know full well (or will do by the time you've read this, or other parts of the blog) that this guy...

a) Is Eccentric (I'm English; "eccentric" is not only acceptable, it is possibly even mildly flattering...)
b) Is Quirky (thanks for that one Gary)
c) Isn't Two Bricks Short of a Load - in fact probably has two loads of bricks, but doesn't know what to build with them
d) Is Weird

i.e. is, not to beat about the bush, more than slightly geeky, possessed of a high coefficient of nerdulence (let's make that my CoN for future reference)

The nicest reflection I've had on my idiosyncratic disposition is that "Julian doesn't just answer questions that no one else can, he answers questions that no one else even thought of asking."

Sadly the corollary to that is probably "Actually, he answers questions no one else thought worth asking," (some examples later) but...

Here I am, brain the size of a (dwarf) planet and it's full of Stuff! And useless Stuff at that.

Life, don't talk to be about life... (Actually, do talk to me about life - isn't it fascinating?)

However, about those sheep...

What prompts this (hitherto promised but thus far undelivered) piece of naval gazing?

The Flesch-Kincaid readability statistics, Reading Ease and Grade Level as implemented in Microsoft Word (hopefully as per DOD Standard MIL-M-38784B. Detail! The Geek or Nerd must attend to detail... which means, having finally tracked it down, that MIL-M-38784 of July 1995, superseding MIL-M-3978C of October 1990... still with me? ... doesn't in fact contain the Flesch-Kincaid formulas... at least any more. Maybe it did. Who knows?)

And what is the precise problem?

I had Word do the readability statistics for IT - Reading Ease 83.2, Grade Level 5.9. So far so good (in fact rather too good - I don't believe an 11 year old could read IT). But then I noticed that the formulae:
  • Grade Level = (0.39 * Average Sentence Length) + (11.8 * Average Syllables per Word) - 15.59
and
  • Reading Ease = 206.835 - ((1.015 * Average Sentence Length) + (84.6 * Average Syllables per Word)
would allow me, given the stats I had, to work backwards and calculate the average number of syllables per word (ASW), which is of course Trivial and therefore, almost by definition, of riveting interest to the Geek or Nerd.

So, I invert the formulae, plug in the values and uh oh! I get two different answers.

Check I've got the formulae right in Excel and then that I get the right answers for something (I used the Dr Seuss Green Eggs and Ham stats in the Wikipedia article on Flesh-Kincaid - advanced warning/plot spoiler: I think they are using the wrong formula at the moment) - which I do.

So, is Word miscalculating or is the problem that the ASL of 18.6, Reading Ease and Grade Level scores are all inappropriately rounded...?

Hmmm...

Some time later...

Word says there are 18.6 words per sentence, but using its own figures for word count and sentence count the average appears to be 19.16 (2 S.F.). Aha! Word's Average Sentence Length is Wrong! But no, that doesn't fix it. Nor does undoing any rounding that may have occurred.

So what's going on? Beats me. I blame Microsoft.

Hastily, and erroneously it seems. I found somewhere else on the web a slightly different version of the Grade Level formula.. it should in fact be:
  • Grade Level = (0.39 * Average Sentence Length) + (11.8 * Average Syllables per Word) - 15.9
And then, once you've made allowances for rounding errors in Word's stats, everything seems OK at last (well, almost, to get precise agreement that constant has to become 15.96536ish - I think I'll settle for 15.9, it's close enough)

Except that the Word help files says they use the value 15.59.

But at least I can semi-reliably calculate the average number of syllables per word in IT. We'll talk about the ARI, Gunning-Fog and Coleman-Liau indices some other time...

Now wasn't that worthwhile? No. This is why you don't want to be a geek.

Now, as to the Meaning of Life as to be revealed in "IT", what is it - exactly?

Well, the answer is:

The Lotus Position has unexpectedly encountered an error. Connection Refused by Host Either you do not have permission to access the site, your password is incorrect or you have failed to understand the question...