SSH stdin is not a tty

I started getting the following error when trying to ssh into a chroot on a debian machine.

stdin: is not a tty

I fixed it using the following entry in /etc/fstab

devpts /dev/pts devpts mode=0620,gid=5 0 0

I’m positive this is not the way I should have fixed it but it works!

DMOZ Corruption

Having tried for several years to get into DMOZ and getting rejected every time I always wondered why. There are literally dozens of sites doing exactly the same thing as me, indeed.com, simplyhired.com etc and they are listed. These site have a lot of clout and a lot of money whereas I am a one man band with little cash.

Imagine my surprise when I came across Corrupt DMOZ Editor. I may just have been a bit naive when I assumed that DMOZ was the real deal but this blog has given me food for thought.

Google and various other large sites use DMOZ for seeding their search or for their own directories etc. So If there is any truth in this and DMOZ is rife with corruption then anyone using the data is perpetuating the problem. Putting on my cynical head I can see how DMOZ could be easily corrupted. What I would like to know is if there is any truth in it or not. If so I can forget about DMOZ.

I actually admire what DMOZ is trying to do. I am not sure if it as relevant as it was but I do believe that there is a place online for a human edited directory. DMOZ needs to change though. It is becoming less relevant as time goes by and it would be a shame to see it all go to waste.

The more I dig into this topic on Google the more I feel dismayed. It looks like a lot of the top editors are corrupt and are disabling account of the lower editors that are not. To paraphrase Charles Adams “Bad Editors drive out the Good”,

Here are a few more interesting entries on the topic of DMOZ.

This guys site got banned after he refused to pay a bribe!

Removed from DMOZ for not paying Bribe

The following DMOZ editor’s account was disabled when he tried to do something about the guys website above.

Editor Banned for doing the right thing

Time for ODP to Close (Danny Sullivan)

ODP Founder Coments (Danny Sullivan)

Lords of ODP

Debian alternatives and Java

The alternaitives system in Debian is a pain in the arse! It’s one of those things that when you need to use it you spend twenty minutes trying to figure out why various paths etc have changed and then you need to figure out the syntax to change to the path that was working before you installed Tomcat or some other related system that downloads a bunch of stuff and sets itself up as default for the rest of the system. It’s a tad irritating.

I am not saying I know a better way to do it but it still pisses me off. Anyway to use a sane version of java I had to run the following command to get eclipse working again.

$:~# update-alternatives –install /usr/bin/java java /usr/local/sdk-5_05/jdk 1
$:~# update-alternatives –list java
/usr/lib/jvm/java-gcj/jre/bin/java
/usr/local/sdk-5_05/jdk
$:~# update-alternatives –remove java /usr/lib/jvm/java-gcj/jre/bin/java

I now have eclipse working again and tomcat installed. I was going to use jetty6 over tomcat but because Debian comes bundled with a binary tomcat distribution I have decided  to use it. This decision may cost me dearly later.

Glibc Double free or Corruption

Don’t go blaming Glibc. You wouldn’t catch me thinking I had something wrong with my c-libs etc. No Way!

Anyway I was getting glibc errors that appeared randomg etc. It turned out I was using HTML::Strip in a non standard way. When you have finished with parse method call you need to call (eof) on the HTML::Strip instance or it all goes horribly wrong.

Unison Strike

It makes me sick!

I walk past the Unison building every morning and for the last few days there have been several beggars stood outside asking me for more money.

It galls me to think that the beggars posing as workers think they deserve more money. Damn few of the rest of us are getting anything. In fact we are all TAKING A PAY CUT. Thats what it means when times are tough. But Oh No, if you’re in a union, in particular if you are in the public services you can bend us all over a barrel. Didn’t anyone teach these people economics 101.

1. You force the government to give you a pay rise.
2. The government still needs to pay for hospitals, police, roads etc
3. They raise taxes and print a few billion notes to cover costs.

We’re all feeling the pinch. Petrol is up, food is up, gas is going up and the private sector is suffering. What makes these unions think they deserve the money more than anyone else. They don’t!

I sincerely hope I am not alone in thinking that Gordon Brown should tell them all to grow up. I’m sick of pampered public sector workers thinking they’re having a harder time than anyone else in the country. Their two day strike has cost some families two days more childcare. Did they think about this, I would imagine that the ones organizing the strike have and the more pain they can inflict to get what they want the better.

My personal opinion is that anyone striking for more pay in the current climate should be positively encouraged to find alternative employment elsewhere (fired).

It’s time society and government stood up to unions, that are nothing more than self interest groups and lobbyists, shafting the rest of society. Don’t get me wrong, I have nothing against an honest gripe and workers putting down tools, but this is taking the piss.

 

I am Biased

scales.jpegDisclaimer: I am biased because…..
I’m a pragmatist! I have taken Honey & Mumford’s learning styles test and had the following score…..

  • Activist: 10
  • Reflector: 15
  • Theorist: 11
  • Pragmatist: 17

What does this mean? Basically I want results. Idle chit chat and people waxing lyrical bore me. Show me the numbers, the evidence, the proof. I might also add here that I am skeptical of other peoples numbers. I tend to prove things for myself.

Love affair with Foyles bookshop

I am sure I am not the only one who loves Foyles bookshop. I don’t know what it is or why I prefer it above all others in London but I cannot get enough of it. Anyway, I had reason to write them a letter recently about a book I bought there.

The following is the letter;

Dear Foyles,

Having been lucky enough to find myself in close proximity of you for a number of years I have had the great pleasure to get to know you. It’s been a long and fruitful acquaintance that I have much enjoyed and I believe having relieved me of the best part of a small fortune I would imagine that you yourself have enjoyed the times we have spent together.
Don’t assume I am in any way disagreeable about parting with the money.
Like any worthwhile addiction there is always a price to pay.

You Mathematics department is currently babysitting me through a degree, your computing department has tutored me through four jobs and one major career change and just recently your second hand store has been furnishing my mind with classics like Sophocles, Virgil and the Essays of Charles Lamb.

Unfortunately, like a typical Sophocles play this does not end well!

I recently, (a few months ago, I read a lot of books so to me a few months is recent), was dumb enough to buy an even dumber book. This book was to help me do more of what I like to do best faster than I had ever done it before. No, I do not mean Sex, my wife informs me that I am quite fast enough in that area. Yes, it was a book on speed reading, no, this is not a joke. The offending parchment is as follows:

Contributor(s):
        Tony Buzan (author)
Format:
        Paperback  , 198 x 129mm, 96pp
Publication date:
        21 Jul 2006
Publisher:
        BBC Active
ISBN-13:
        9780563520351
ISBN-10:
        0563520353

Having read the first chapter of this scroll I noticed something woefully wrong with it. The first test that is meant to test your reading speed and understanding is complete gibberish. I wondered at this for a while and I decided to test the first and last tests in the book. I tested this using various reading ease scores commonly available on Microsoft Word. The tests confirmed my doubts about the book. The end test is substantially easier than the first test in the book. I can only assume this is to prove that the book has worked wonders on the reader when it has done nothing of the sort. Basically I believe the book to be nothing more than a farce created to make the scribbler of said rubbish some cash by taking advantage of us bookworms.

Having never purchased such expensive toilet paper before. I decided that I should take it back and try and exchange it. Note: I am avoiding puns about used or even partially used toilet paper.

I left it in my drawer and like any avid reader, promptly forgot about it!

Just today 01 July 2008 approximately 14:15 I found the offending papyrus in my drawer and decided that I should try and exchange it for another book. There are several unblemished darlings (books) I have had my eye on that I would love to take on a date and where better to chat them up than at an old friends. So off I went to yours in the hope that I might get lucky and be bringing back a real beauty.

This was not to be!

To cut a long story longish I was met with many woeful looks from you. I was informed that there is a 14 day return policy and that without the receipt there would be no exchange. Like Ajax in a fit of rage I left the offending parchment with one of your brazen cronies ( sounds better than staff, they were actually quite nice ) on the basement floor and exited the building. In such a fit I have never been and I must surely have looked a madman as I dashed across the road like a spurned book lover.

However, unlike Ajax I am not about to throw myself on my sword after a severe bout of self pity. Instead I would like to appeal to an old lover to see sense in this matter.

Kind Regards,
Harry Jackson

I wasnt’t sure what to expect by way of  reply so when I got the following letter it amused me no end. I must say that the following reply was much more eloquent than mine.

Dear Mr Jackson,

As is the ultimate fate of all cronies, it has fallen to me to brazenly resolve the troubles of which you so eloquently speak.

Being the very crony who served you yesterday afternoon, I suspect that I am best placed to do so – and am, by the way, thankful to have been left in your mind’s eye with my personality somewhat intact.

I can assure you that there is no-one more generally suspicious and specifically outraged about the content of certain and so called Self-Help texts. Your humble author has in fact ended up offending several eavesdropping customers with irate tirades against the fake and the spurious. Yet, both sadly and happily, in a homage to freedom of expression we continue to sell all books, and allow the discerning to make up their own minds.

No more do I like the prospect of standing on protocol and informing people that “orders are, in fact, orders.” It makes me feel like everyone that celluloid and print have taught me so painstakingly to mistrust.

However, I have a natural aversion to being bereft of a job at certain key points in my life, and as thus refused your request in order to ensure my continued employment.

Happily though, there is nothing more adept at melting the heart of any customer service operative, crony, and manager thereof than a complaint that shimmers gently, winks and promptly turns in to a message of amour.

Therefore, having engaged in a lengthy discussion of over twenty temporal seconds, we have decided to stand upon our own codex and offer you the proposed exchange.

In the language of the relationship, we donate you the ubiquitously mentioned “trousers”, descend upon one knee and weepily inform you that we would like to give the whole thing another try, but that we still do not think it is the right time to move in together.

Those terms accepted, please return to the Natural History desk at your leisure, where the Unmentionable will be awaiting exchange for what will hopefully be a less distressing tome.

Kind regards,
AI,

My favourite line is “but that we still do not think it is the right time to move in together”. That had me on the floor. Needless to say I am more than pleased with the outcome. I am still very much in love with Foyles.

H
 

BASH set comment output

If you ever run the set command and get any of the function definitions listed at the bottom of this entry then check your .bashrc file for the following entry.

# enable programmable completion features (you don’t need to enable
# this, if it’s already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
fi

If it is not commented out then it is likely that name completion has been activated elsewhere. Comment it out and start a new shell to see if it helps.

_alias                         _lvresize
_apt_cache                     _lvs
_apt_get                       _lvscan
_aptitude                      _make
_args                          _man
_aspell                        _mkisofs
_aspell_dictionary             _modules
_available_interfaces          _mount
_bzip2                         _mplayer
_cancel                        _mplayer_options_list
_cardctl                       _nslookup
_cd                            _ntpdate
_cdrecord                      _ooexp_
_chgrp                         _openssl
_chown                         _openssl_sections
_chsh                          _perl
_command                       _perldoc………etc

Attack Back

I just love this sign. Pay particular attention to the two rightmost boxes. I need to get a better resolution one. This one does not do the original much justice. It was taken by Glen Scott. Have a look at a bigger one.

if_attacked.jpg

Male makeup

I have been waiting for this.In fact I think the whole world has been waiting for this. I just seen an advert tonight where pierce-brosnan.jpgPierce Brosnan advertised Vitalift. I know we have had adverts for male perfume aftershave for a while now

but I think Pierce doing this is another step towards a truly liberated male fully in touch with their feminine side. Is it little wonder 007 had a way with the ladies, he wears make up, splashes perfume and wrinkles are a topic of conversation.

I wonder who’ll be the first male to advertise lipstick or am I not watching enough TV.