Wednesday, October 26th, 2011

I’ve realised that if I can just sit and get on with my own stuff at the office I’m much less exhausted when I get home from work in the evening. Interruptions and interaction with other people takes it toll on me. I will keep that in mind, although I’m not sure how I can possibly put that to good use.

Advertisements

Tuesday, October 25th, 2011

First payday since I started working again! Should be happy, but am not. Constantly gotta have something to worry about, even if it is completely irrational. Latest thing was about today … what if they got my details wrong or I didn’t get paid for some other reason? totally irrational, I know, but nevertheless always there. Now I have to worry about next Monday, got my first meeting at the handicap-centre to sort out some kind of plan and see what they can offer me. Not sure how I feel about all that … other than I know I gotta worry about it!

Tim Minchin – Dark Side

Monday, October 24th, 2011

Rough day at work … long meeting about a new project we’re starting. I’ve felt really positive about this job since I started it 3 weeks ago … today was the first day when I had a bit of a wobble. Fearing it will go the same way as my previous jobs have gone. The Asperger’s is starting to get a hold of things again. I have to be mindful about achieving daily goals and not get stuck in the same piece of work for too long. I know there is comfort in what is familiar, but I have to keep the bigger picture in my mind! Maybe tomorrow will be better .. no … tomorrow WILL be better!

Was a $_GET parameter supplied as a string?

Using PHP’s ternary operators you can test if a $_GET parameter was supplied and that it was supplied as a string by using the following one-liner:

$x = (empty($_GET['x']) or is_numeric($_GET['x'])) ? null : $_GET['x'];

That will assign null to $x if the parameter wasn’t provided, is empty or if it is numeric; otherwise it will assign the given value value to $x.

BBC Sport – Manchester United 1-6 Manchester City

BBC Sport – Manchester United 1-6 Manchester City.

I know a 10-year old girl who is very happy now! 🙂

Sunday, October 23rd, 2011

The main reason I’m creating this blog is that there is too much going on in my head at the moment. Somehow I need to make some space in there … and they say writing things down is a good way to achieve that. I’m not sure if that will work for me, but I am willing to give it a try … so … here we go …

The one thing I really would like right now is peace of mind. The last few years have been difficult … have had to deal with addition problems, unemployment, a long-time relationship (involving children) breaking down, unemployment (again!), financial difficulties, addiction problems (again!), moving to another country, a diagnosis of Asperger’s syndrome … the list goes on. How the fookin’ell do I deal with all that? Well, I can’t to be honest … which is why I am getting some professional help to get my life back in order. But there is only so much they can do for me … what is inside my head I have to deal with myself.  Sure, they can, and do, help … but there are some parts of my mind that no-one will ever break into … only I can find a way in there and unlock that door. With time I trust I will find my way there … but it’s going to be a long journey …