Monday, May 18, 2009

Law of the Bungle

Kavanagh's Law
Murphy's law states that "If anything can go wrong, it will go wrong and at the worst possible moment".

O'Toole's law states that "Murphy was an optomist".

If you've ever done any web programming you'll realise that these two laws are not strong enough. This led me to formulate Kavanagh's law, which states that:

"If anything can go wrong, it already has gone wrong, and to make matters worse you are totally unaware that is has gone wrong, and you will not discover it until far too late and you may never be able to find it let alone fix it".


Please permit me to paint a scenerio to demonstrate the insideous workings of Kavanagh's law. We'll use an ordinary, non-programming example since not everybody understands programming languages, but listen up folks, this may save you tonnes of grief.

Van Gough, paint us a scenario if you please


Imagine this: A young man in his first job has just purchased his first motorcycle. It's a whatever and it needs repairs. He and his mates work on it all weekend. When purchased it had a seized engine due to a stripped cam chain that occurred when a crankshaft bearing seized whilst the engine was revving at 12000 rpm.

The guys stripped the engine down and replaced the entire crankshaft, since the moulded cam sprocket had wor
n teeth. New piston rings were fitted as well as a new camshaft. New bearings were added to the camshaft and the crankshaft, oh, mustn't forget the cam chain. One of the pistons was replaced due to excessive scoring. The cylinder wall looked passable. New plugs just for good measure.

Murphy's Law

It was getting expensive, some items were hard to get and had to be purchased new, plus the guys were drinking too much beer that had to be paid for out of some of the registration money: that's Murphy's law accounted for.


Oil was added to the assembled engine, petrol to the tank, kick it in the guts and see if it goes. Minimal tuning is required and the engine purrs happily.
Monday the bike is due to be registered but there's not enough money till Friday.

Rather than waste money on a bus to work and keen to show off to his workmates, our youngun decides to ride to work. Besides, it's seven am
and it's only three blocks then across the river to work. Never any cops about.

Unknown to our boy, a small sliver of steel from the original cam chain had lodged itself in the neoprene of an upper conrod bearing sleeve, stuck in the plastic it went unnoticed and was causing no immediate harm. At 3000 revs it wiggled about a bit.

Three blocks later on the approach to the bridge a flash of bright orange slinks past in the right lane leaving in its wake a deep rumble. Looks like a DeTomaso Pantera, kewl.
O'Toole's Law

Our boy gives the throttle a little fistful of herbs and cruises up beside it to admire it. A Mediterranean man in his mid to late twenties is driving. Beside him sits a twentyish drop dead gorgeous blond pepper pot of a woman, their eyes meet.


Just at this moment the sliver of steel jams in the conrod bearing. Our boy's face is contorted with pain as the conrod tears free of its piston and spears itself through the engine wall. A shard of metal the size of a .44 slug flies through his right leg, smashing the bone in his shin. It travels further, through the passenger door of the Pantera and inserts itself into the left buttock of the young lady. She squeals, squeezing and upturning her hot coffee, purchased moments earlier from the petrol station, all over the lap of her young husband. Startled, he unintentionally steers the car directly under an oncoming cement truck and is killed instantly.

That, I guess, just about takes care of O'Tooles law.


Kavanagh's Law

Ambulances arrive taking our two young accident victims to a nearby suburban hospital. The boy's leg is saved by modern surgical medicine and doctors easily remove the metal from the young lady's flesh. Her injuries appear minimal but she is in shock. Doctors do not consider this shock to be unexpected after such an horrific turn of events; they sedate her and keep her in hospital for observation until someone can take her home.


It's now Wednesday morning and two police officers arrive at the hospital to interview the rider of the unregistered motorcycle who is now out of recovery and in the hospital ward. About this time, doctors are becoming increasingly concerned about the condition of the young, blonde woman. She has not come out of shock, in fact it has worsened, she also appears to be undergoing a severe allergic reaction to something.

Blood tests are ordered.
Nothing can be ascertained immediately till a young buckaroo, maverick intern puts two and two together and considers that bone marrow from the boys shattered leg has reacted with the girl's incompatible blood type causing an extreme reaction. The girls nervous system may be permanently damaged by this reaction, resulting in a grotesque facial contortion.

Meanwhile the girl's father, a wealthy Greek cruise liner operator has arrived from Santorini. He has engaged a barrister to extract every penny possible from the young culprit and his country.


Don't you just wish you had paid the registration and insurance prior to venturing onto the roads?


If the captain of the Titanic had understood Kavanagh's law, perhaps the movie world would be one subject poorer.


Oh well, it's been a busy day. I've had enough for one day. Anybody care to get drunk and go for a drive somewhere?


Perhaps we'd better not do that becauuu u uu uuuuuu
uuuuuuuuuuuuu uuuuuuuuuu
uuuuuuuuuu@@33
3918870644###4 666 ***********^

Imposters

Stand in stuntman



Joy to all beings
cha
terrence

Thursday, April 23, 2009

Free for all

ReSiStance

I've been threatening to write something that might actually help someone one day, so here we are.

Hmm, ever noticed how the mind becomes stimulated during windy weather (maybe it's just a phenomenon localised to my mind alone). The mind is like an arab stallion and needs to be kept under control at all times but without breaking its spirit, or else you'll end up teaching comparative criticism (or similar) at the Moody Institute (or similar).

OK, digressions out of the way, we may now commence

At any time, being torn in three of four different directions, pulled apart by arab stallions as it were, by the four major interests in my life, family and friends, web design/development(yes I still run Tweed Web Design), music, and (of course) my spiritual endeavors, leaves me little time these days for working on freebies. Maybe I should include my blogs in there as a fifth element?

Molasses

So the other day when speaking with some ladies at a local real estate business shopfront, I mentioned about putting molasses on the doorbell to keep guests away (don't ask how we got there, you wouldn't believe the wandering conversations I have ... or would you?).

The ladies looked at me aghast, as if to say "How impersonal!". Actually, my friends know that I am usually a busy boy and telephone to see what I am up to rather that just arrive unannounced, and they expect the same of me. One friend who lives thousands of miles away even emails me to arrange a time to telephone (now that's courtesy). So people showing up at the door unannounced often means someone wanting assistance with some "computer" problem which could be anything from somewhere to send an email to a 99 year project.

I'd best get that jar of molasses.


Free Bees

Nevertheless, I still seem to get caught up in freebies. One I have at the moment is a labour of love for my Srila Gurudeva ... "Would that be Ananda Samvada?", I hear you ask. Yes, glad you recognised my work there :^). The other is a site that kind of "just happened" when I suggested to a musician friend that a few pages on the web would be useful to him and offered to knock up something for him.

Well of course, if you've ever worked with musos, you'll know that they have their own (archaic) ideas of design and not only that, their own idea of what's going to be required. The word anachronism cannot be used here, being too much of an understatement, but of course, many people, especially musos I guess, tend to believe the web of the 90s is still in full swing. So-o-o, very soon the few pages had become a multi-topic site including a CMS and e-commerce shopping cart.

Luckily, my friend knows a guy in jolly olde England who is expert at creating web apps. So after putting together the wire frame for the site, my friend delivered it to to his friend all ready to be "edited".

These things take time

Like, 9 months later it hasn't happened, although I believe that it's nearly finished. Dave, my friend's friend is very good at what he does and therefore extremely busy, so it's gonna be a while I guess.

To the RSScue

Nevertheless, thinking of a quick, painless way of providing a temporary CMS solution for the site I figured that if we set up a blog(s) with an RSS feed out, we could then use the resultant feed(s) to populate the content of the web pages. OK easy peasey, works fine. Didn't take long at all to set up a functional test. Using the much maligned blogger as the blog, exported an RSS feed with FeedBurner which works great with Blogger for "some unknown reason". The only thing left to do was to convert the XML of the RSS into xHTML.

There are plenty of solutions available to do this although I don't recommend the JavaScript version(s) due to the fact that all the search engines get to feed on is a small block of JavaScript, whereas the PHP converters make the content available to the search engines. I used SimplePie, which worked fine in one browser but needed a little editing of the slightly daunting 5000 line library to get rid of an error message in another browser. Don't worry, the error message tells you which line needs to be edited, line 1117, from memory although I could be wrong, it happened a few weeks ago.

Testing

Haven't tested it extensively as yet although it's apparently running fine on the weblog page of the Murwillumbah Community Centre, a not for profit organisation where I volunteer after they accidentally wrecked the site my friend David Smith made for them via Job Futures, before David was killed in a motor accident. The biggest problem I'll have at the MCC is to get someone to actually use the site for anything.

Thus when I get time I shall incorporate the "RSS CMS" into my friend's site at Sacred Geometry. Sacred Geometry needs heaps of editing but eventually it will be a fine site. Lord knows how long it will be before any editing or RSSing happens at Sacred Geometry, since I just got sent a whole stack of work from my brother in Ireland who is the editor of Ananda Samvada (the other freebie mentioned above, and God gets priority)... he's the editor (my brother, not God), I'm the publisher, we work pretty well together (my brother and me, not God and me), although he/He might get a bit worried when the redesign of the site starts happening as it will pretty soon since the Ananda Samvada site is looking pretty archaeic itself.

After working on a redesign of Murwillumbah Community Centre I am sure that I might have opted for a new site at the very beginning. Working with old fashioned table structure is so not me. Next step for the MCC IS a new site, but fixing up the old one took just as much work.

Who wants a freebie then?

So, I'll let you all know when I have some spare time and then I'll be available to do some freebies. Till then unless you like being blue, don't hold yer breath.

Joy to all beings
cha
terrence

Saturday, April 18, 2009

Giiiiiiiiiiiiiiggle


I had intended to open a new Giggle blog but, cheeee, I hardly have time to post to the blogs I already have so I figure I might as well include it in the webtide blog which is pretty well an anything goes blog although the name webtide does give me the valid option of posting web design/development topics. One of which is already in the pipeline regarding RSS.

Ser
iously folks, laughter is no laughing matter.

OK so Scientific American says th
e Laughter is good for you.
OM
G. Like we need a scientific journal to tell us that?

Excerpts:

The concept of laughter as a cure for disease lacks scientific
support, but humor may indeed have significant
effects on the psyche.

Laughter relaxes us and improves our mood, and hearing jokes may ease anxiety. Amusement can also counteract pain.

Cheerfulness, a trait that makes people respond more readily to humor, is linked to emotional resilience—t
he ability to keep a level head in difficult circumstances—and to close relationships. Life satisfaction may increase with the ability to laugh.

In his book Anatomy of an Illness as Perceived by the Patient (W. W. Norton, 1979), Cousins described his self-prescribed laughing cure, which seemed to ameliorate his inflammation as well as his pain. He eventually was able to return to work, landing a jo
b as an adjunct professor at the School of Medicine at the University of California, Los Angeles, where he investigated the effects of emotions on biological states and health.

The community of patients inspired by such miracle treatments believes not only that humor is psychologically beneficial but that it actually cures disease. In reality, only a
smattering of scientific evidence exists to support the latter idea—but laughter and humor do seem to have significant effects on the psyche, even influencing our perception of pain. What is more, psychological well-being has an impact on overall wellness, including our risk of disease.

Laughter relaxes us and improves our mood, and hearing jokes may ease anxiety. Amusement’s ability to counteract physical agony is well documented, and as Cousins’s experience suggests, humor’s analgesic effect lasts after the
smile has faded.

Science also indicates that a sense of humor is sexy; women are attracted to men who have one. Thus, in various ways, life satisfaction may increase with the ability to laugh.

To commence, just a few snippets of stupidity:


Pollies are fair game

Q. Why do they bury politicians 200 metres underground?

A. Because deep down they are really nic
e people.



Actual conversation

Jenny: I'm back from the shop.


Bob: Good, did you remember to get me some olives?

Jenny: Yeah, but they didn't have green and they didn't have black so I got stuffed.




Summertime Blues

Q. Why are the days longer in the summert
ime?

A. Because heat makes things expand.



Joy to all beings
cha
terrence

Sunday, April 12, 2009

Wetness

Wetter than Water



Is the wetness of water always the same? Is wetness some kind of scientific constant?

This Easter long weekend the rain feels so much wetter than usual. What a waste of a long weekend. What rotten karma we seem to have. Coulda rained later, hey?

You Betta Beleeeeeeeeeeeve It

OK, so I can believe in Jesus, an amazing person who lived, preached, was crucified and then rose from the dead. I can get my mind around stuff like that (I am a Hare Krishna devotee and tuned into such things), and at Christmas we have St. Nicholas (Sainta 'Claus for those who never made the connection). Sure, there are lots of philanthropic people around an Nicholas may have been a saint or even just considered a saint ...


BUT

If you expect me to believe in a rabbit that lays colourful chocolate eggs for children to eat, FORGET IT. In fact, I want to try some of whatever it is you're smokin'.






Joy to all beings
cha
terrence

Friday, April 10, 2009

Obscenity

What is Obscene?

The insane bashing to death of baby fur seals is obscene. Such violence is the domain of horror films and must not continue.


Please do not support this industry.






The use of live dogs as shark bait is obscene. If you must catch sharks to eat then use the leftovers of other catches (burley). Burley seems to work everywhere else. If you think it doesn't work, throw some burley in the water and jump in for a swim. You'll soon find out if the sharks are attracted to burley.


Please do not support this industry.



A factory of process workers plundering the lives of poor, wretched animals for meat is not only obscene, it is beyond belief. When you consider the amount of suffering that goes into your meal, it is obscene to eat it.


Please do not support this industry.

Joy to all beings
cha
terrence

Wednesday, March 18, 2009

Afghanistanguish

Let's Waste Some More Petrol

I guess we just don't get it





I love this image of a little girl in the streets of Kabul, the picture speaks a thousand
blogs.






If we can stop wasting petrol, and this means all petroleum products like plastic as well, we just might be able to help these poor people gain a little more freedom than they are currently permitted.

Who knows, in the next life this could be you. Simply by living a little less high on the hog (what an awful term) everybody could be heaps happier. Explore yourself and find out what's your main area of resistance.


Joy to all beings
cha
t3rry

Saturday, March 14, 2009

Was Darwin Close to the Truth?

Darwin maybe almost got it right

Perhaps he misunderstood the direction that evolution was traveling ... perhaps it was going backwards despite apparent growth upward.

What if human beings are merely retarded monkeys.


That would explain wars, pollution, murders, white collar crime, and the over-exploitation of the environment and its available resources merely to attain unnecessary wealth. This would explain a world where ego was more important than reality. This would explain the continued voting for politicians in a government of the people by the government for the government despite the fact that everything they do could be done more efficiently by business. This would explain the discomfort within your comfort zone.

By unnecessary wealth I mean working hard all week doing things w
e dislike doing to get the money to buy things we don't even want or rarely (if ever) use, so that we can impress people that we don't particularly like.


Surely an intelligent race would leave some resources for their children and their children ...


Joy to all beings
cha
t3rry

Wednesday, February 25, 2009

Blogabout

Wotz dis blogabout?

I've sometimes been asked what my blog is actually about. Like, Tony Hogan writes about guitar music, Seth Godin writes about marketing and such stuff, and I blog about whatever is on my mind at the time, assuming I have the time to blog.

There's NEVER any shortage of things to write about as the mind is like a can of worms turning over all the time. Like the situation with transportable liquid fuel (read: oil ... and gas. I guess) wherein we consume heaps of petroleum based products like there's no tomorrow in which our children and their children will have to live, complete with exorbitant fuel prices and heavily polluted environment.

If we really understood how much we are exploiting the gulf countries to uphold our own level of indulgence, I guess we'd cringe with embarrassment, but, not to worry; we're pretty good at just ignoring all the suffering we cause to others, and getting on with the job of making a good lifestyle overflowing with as much of the largess that we are able to cram into our meagre years.

I think therefore I am.

But even if I wasn't, "I'd" probably think just as much as I think now as thinking seems to go on quite well even without me being conscious of it half the time. The duty of the mind is thinking, feeling and willing. The mind does a great job of this, even to the extent of being difficult to control. Impossible might be a better choice of word over difficult.

Nevertheless, thinking, along with ... spacing-out, lost in thought, making plans, wondering, ruminating on some topic, daydreaming, even consciously deliberating are all going on day after endless day in our minds with nary a thought regarding the way we treat others who have a resource that we want for ourselves. I hope this doesn't mean that we are selfish.

Let's not ruin an otherwise good day

Yeah, I know we don't like to think that we could actually be responsible for our own lives and our own actions, but we can accept or reject ... that's what the mind seems to do ... and we can get on with the great western hemispherical dream.

Love to all beings
cha

terrence