Categories
Computing

Annoying WordPress bug

The last few weeks I’ve been wondering why I could only access my blog through just Mozilla Firefox and not through other browsers such as Chrome, IE, etc.

Turns out if I change ‘WordPress address (URL)’ and ‘Blog address (URL)’ from http://cdal.co.uk to http://www.cdal.co.uk then Chrome, IE etc all report a redirect loop.

Unfortunately I found this out after a complete reinstall of wordpress… that’s why it looks slightly different now. I hope this helps someone else!

Categories
Computing Programming Projects Webpage Content Analyser Work

Webpage Content Analyser v0.1.1

I’ve just updated the webpage content analyser as the version I originally uploaded was a devlopment version and didn’t actually work!

Anyway the new version still needs tweaking but it gives you an idea of the kind of thing it can produce. Syntax of invocation is still the same as is the download link, both of which can be found on the web content analyser page on the right hand menu.

Categories
Computing Programming Webpage Content Analyser Work

Webpage Content Analyser

At work we use Dansguardian to provide content based filtering for our users. We found in a few instances Dansguardian’s default phraselists was blocking content that we wanted our users to have access to, so we needed to modify them.

We had a problem though, we didn’t know what words over a set of pages were common so that we could use to modify our current phraselists. So I wrote a tool, WPA, that would take a webpage strip all the formating and give a list of most common phrases and words.

To use WPA do the following:

java -jar WPA.jar site1 site2 site3 …

You can also use it to see what words you should be banning if you have a set of bad pages you don’t want your users to be viewing. Using your blocked domains list is good for this to prevent access to similar content:

cat /etc/dansguardian/lists/global-block/domains | java -jar WPA.jar

All you need to do then is decide what phrases to add to your weighted phrase lists!

Of course the beauty of this program is that it’s cross platform thanks to Java, so you’ll be able to run this on Linux, Windows or Mac. If you want the source code for this then it’s all bundled up in the jar.

To get hold of the jar Click Here.

Categories
Just So Life Musicals

It's been a busy couple of months…

So, it’s been a very busy couple of months for me. I’ve auditioned for a musical with the am-dram group, Barnstormers, for a part in their latest production, Just So. Just So is based on the Rudyard Kipling Just So stories, how the elephant got it’s trunk, how the leopard got his spots etc. Rehearsals have taken up every Thursday and Friday since January 2nd, not that I’m complaining, it’s a lot of fun!

I, initially, was cast as the crocodile, a nice little part with his own song and I would have got to play as the baddie! However, due to some members of the cast not being able to make the performance dates, I got recast as the Leopard, a much bigger part with dialogue lines and a couple of songs!

I found it hard initially getting into the mentality of a Leopard, how he would walk and talk, but bit by bit, it came. I’m now really happy with my Leopard and am having a great deal of fun in rehearsals portraying him. I can’t wait for the actual shows!

If you want to come and see how it turns out, the details are available here.

Categories
Food

NOM NOM NOM

mmmmmmm

Categories
Psychology / Communication

Saved game theory

Have you ever wondered what your life would be like if x hadn’t of happened? How different you would feel now? How many more doors of opportunity would be open to you that are now closed?

I was laying in bed the other night thinking about this, how amazing would it be if there was a way we could save our brain state up and go and try different things and if things don’t go the way we want we can just load that old state right back up and continue where we left off – much like a video game.

So I continued to ponder what would my life be like if event x hadn’t have happened to me, what would my life in the present be like, what would my current state of mind be and how my life would have progressed between my save point before event x and now.

The amazing thing? If you visualise it hard and lucidly enough you start to feel the way you want to feel – of course this technique doesn’t patch things up in other peoples heads but it makes you comfortable in your own, then who knows your communication feedback loop to other people might start mending bridges that never needed to get broken.

So why does this work?

It works based on the principle that as human beings we can’t remember absolutley every second of everyday we filter input from the outside world and only remember the stuff that’s important to us, weird or selected by our preferences.

Now because our brains don’t remember every second, every day or even every month (as time is abstracted from us the effect is moreso) we can simply imagine events that happened between our save point and the present day.

How do you make a save point?

You don’t need to. Just remember how you were feeling at a certain point in your life, revisit it as lucidly as you can – hear what you heard, see what you saw and feel how you felt. Then simply imagine the way your life is going to pan out from then till now cutting out event x.

If there are emotions at our saved point you no longer desire to have in your present you can simply alter the images, sounds and videos in your head at the time of the saved point to reflect this and only bring forward emotions, thoughts and feelings that you feel will support you in your way forward in life.

Of course imagining you win the lottery between the saved point and now won’t make you rich beyond your wildest dreams but it may make changes in your head that allow you to embrace what ever the lack of money is holding you back from. After all money and possesions never truely bring you happiness.

As long as the lesson(s) event x are learnt from this is a good way of restablishing your emotional state to where you want to be. This technique shouldn’t be used to ignore life’s lessons because without learning from situations we’re destined to circle around making the same mistakes “over and over again.”

Categories
In My Head Psychology / Communication

Magical Photos and Videos

Why are photos and videos so magical? It’s because they perfectly reconstruct a point in our past that our memories no matter how good can not.

Our memories limit us to fragments of pictures or falsely reconstructed scenes based on our perception preferences. They allow us access to little segments of audio individual frames of a movie that is genuinely hard – and I’d argue almost impossible – to reconstruct accurately and to the same level of detail.

Not only does a video or a photo capture everything the way it was – it also captures and allows us to reconnect with the way we were feeling and our emotions at that point in time. This is such a powerful tool. A tool that can make us feel exactly how we want to feel at any moment of our lives – all we need do is change the images and videos in our minds to ones that make us feel the way we want and we truly have mastered our own emotions.

The power of this tool doesn’t end there – we can manipulate and strip characteristics off movies and photos that make us feel a certain way and apply them to other images and movies to make us feel the way we want when a given situation arises.

I have read a lot about NLP and its use of images, I never thought I’d figure out the reason why images, videos and sounds are so important to us.

Categories
Dreams In My Head Psychology / Communication

Another Dream

I had a really weird dream about surfing.

I was at a beach near my old home in Brighton. I was there to surf some big waves that had been reported to be breaking on the beach soon.

I got out on my surfboard and started to drift out to sea no matter how hard I tried to get back to shore, I just kept drifting back out to sea.

Eventually these big waves came along, the ones that were due to break, I decided that this was my only chance to get back to shore safely under my own force.

The first couple of waves got me somewhere back nearer to where I wanted to be the third wave however was much stronger than the first two and started to drag me under. I struggled and tried to resurface in the end though I lost and could feel myself starting to drown.

I then woke up and it was a few seconds before I realised I was actually able to breath and not be inhaling sea water.

I did have a cold at the time; that explains the not being able to breath properly – I’m finding it hard to decipher the meaning of the sea and the land.

I’m guessing the shore is something that I was trying to achieve, somewhere in my life I wanted to get to? Maybe the dream was meant as a message of “You’re trying too hard” to achieve whatever the shore represented.

Maybe the waves drowning me was a way of saying “you don’t actually want / need to get to get to the shore” or the likely hood of obtaining the shore is very small so don’t even try just relax and go with it!

Categories
In My Head Life

Choices

Choices when you look at them from a simplistic point of view are indeed very simple. You either do something or you don’t. Life then looks like a binary tree of choices. At each junction along the way we close one door, pass through the other closing it behind us and move toward our next junction; effectively snipping off a branch of the ‘might have been’ along the way.

This week I’ve had to make some pretty tough choices. I’ve had to close doors that I never really wanted to close and snip of branches of my ‘might have been’ to arrive here in the present.

Although the choices I have made have been tough I feel so much better having made them. I feel a sense of control that I’ve not really felt for a while.

I’m guessing if you pull far enough away from all your choices, your life starts to look a bit like all the veins in a leaf. I’m not exactly sure why but it makes me feel good inside to think my life is just a leaf, fluttering gently in the wind.

Thinking about it, the secret to a truly happy life is not to regret the doors you’ve closed or the pruning of the ‘might have been’ but to truly embrace the junctions you are at and give yourself fully to those decisions.

Over the next few days and weeks I’m going to try and do just that.

Categories
Humour

I'm the mother flippin'