Tuesday, 18 August 2009

Did Microsoft Deliberately Bug Notepad?

Ever tried editing web-pages using notepad? If your like me notepad is a tool which is better for doing less rather than providing more. There is nothing more annoying for an expert web coder than a web-editor "gainsaying" well constructed code with some **it it feels is "equivilent" (and sometimes which it is just adding to promote itself).

So, in this situation, Notepad comes (came) to the rescue.. or so it used to be....

There is a bug? in the current version of Microsoft Notepad, that is either an incredibly stupid mistake or an incredibly sneaky attempt to discourage its use as a web editing, script editing or file editing tool.

Right, now, to the point... Every so often, when using Notepad (in this case in Windows vista) it will silently insert a line return [chr$(13)] character which will appear (and I use that phrase losely) as a space. I have found no definitive pattern to the cause of this behaviour.

This character only of course becomes a problem when your editing scripts (such as ASP scripts) using Notepad, so, when your neetly type your command of strTemp = 50 it instead becomes instead strTemp [cr] = 50 which is of course invalid ASP syntax.

Now, this bug is just "too" convinient for me to easily believe that its accidental. Microsoft don't want you using Notepad to edit your web files! Oh no, they want you to buy their (a) web tool.

Would they deliberately sabatage Notepad? They have been known to do such things. Its now imfamous that Microsoft had put a "check" in Windows 3.11 to prevent it running correcly on DR-DOS (Digital Researches excellent DOS product).

This is a particularly evil "bug" as it only happens randomly anf when it happens you don't "see" the CR in the ASP debugging output and you will have a job locating the "extra" line return in notepad. Unless you really understand whats happening you would just give up and buy a web-editor.

Another reason its hard to believe its a "bug" is that Notepad has been around for years and hasn't hardly been changed since its inception (excepting being re-compiled for newer systems).

Sadly, there is absolutely no way to know what the truth is. All we have is the following fact:

The current version of Notepad (e.g Windows Vista Notepad) randomly inserts hex 0x0D characters as you type with no observable/repeatable pattern at this time. Therefore, its becomes a danger to use (because it the extra character is missed... you may not find out until a client calls up venting a spleen about the web-site being down).

Funny thing is, I do quite like Microsoft on the whole. Maybe it is a bug... maybe.

Saturday, 1 August 2009

Design Annoyances

I've been updating my web-site reciently and I am now taking a break from the task to be-moan a really annoying discovery about a design choice in Internet Explorer which wasn't readily apparent to me until just receintly.

Internet explorer uses the F5 key to refresh the page (seems ok), in newer versions it used the key sequence CTRL-F5 to force the page to be refreshed from souce (bypassing any checks made on the client side as to wether the page needs refreshing) also good.

However, when using IE on any regular basis its not long before you begin to realise how annoyingly close the shortcut to quit the browser is the shortcut to refresh the page!! Yes, you can see where this is going... I go to perform a CTRL-F5 and I am 1cm short and instead hit CTRL F4 and there goes the browser window.

This is now added to the another annoyance of IE which is the CTRL-W close window shortcut. Its so easy to accidently press this sequnce whilst typing in a web page and when the window closes, how hard is it to get what you typed back? Answer: Near impossible (probably actually impossible, I only say near impossible because if your a real clever hacker you just might be able to extract it from the page file).

Well, thats my "moan for the day". I am thinking of re-titling my blog... "General Complaining" because its all I seem to do in it lol.

Sunday, 19 July 2009

Life Impact

I was thinking about the way we live and work today, about economy, social structure and everything in between. Something occured to me, we don't often really consider much our overall life impact on the world and on humanity. Even me, and I do think about the effects my life has on others and try to minimise any negative impact (or eliminate) but thats not quite the same as the impact of my life as a whole on bettering the world (and its legacy). It seems like it would be good if all people could look for and establish a "life goal" at early primary school age. They wouldn't have to stick to the goal, but it could be considered and it could be expanded so that by the time where making important life decisions like career direction and so forth we have a greater goal to work for (but also a personal goal because life has to be both about the individual and the group). Then, we could work knowing we arn't just working for the day to day needs of ourselves and our loved ones, but building a future for the whole of humanity.

I look at the jobs many of my friends are doing, and whilst they all require knowledge and all provided "something" theres few jobs where more than 10% of the work is lasting. I think this would be a poor target to set for life but its one we accept somehow. I suppose possibly the problem is that people work for money which in reality represents 10% of the value it is said to be worth at the end of the day.

Also, another factor is that we live in a "throw away" society. Things aren't regularl built for "the ages" and when they are, everyone is trying to make the project cost 90% more than its effort in the persuit of profit (so again, 10% effort though possibly some of those people contriuting 100%.). Thats the thing though isn't it, we tend to generate a 10% result, but we offten have to put in 110% effort (technically impossible, but the extra 10% represents the time we should not be working and is taken away from the 100% which is time for family and friends).

I don't think all people are lazy either, its just that we mostly often don't have a bigger plan...

Take banking, ever day we buy things, food, supplies whatever and its very few people who think about that in any big way, so we need banking which is basicly transactional and short lived (who cares how much my recipt was for coffee in 100 years).

I don't see why we couldn't get more reason into everything we do (though i'll grant i'm not yet sure of the solutions).

For example, if every purcase of food from a store added to a fund to build a hospital then in our daily lives and spending choices we can give the long term meaningless actions in our lives deeper meaning. Whilst the individual purchases might still be irrelivent, the fact that I bought food meant something more than simply keeping someone alive or happy .

The only problem being that the 10% crew (as I now refer to profiteers) will find a way to make our "meaning" into their profits (and possibly diminish and reduce our efforts).

People need money to live, money was invented to defaud the public... ironic?

How do I claim money was invented to defraud the public? Well, money was first used in countries where resources where "scarce" or infact not available (for example in England when the king had spent all the crown gold but still needed the people to fight wars and could no longer afort to buy their loyalties). So, the king used worthless items to represent a "desired" item (eg. Gold) and made it "equivilent" in the minds of the people (moneys value is only as much as we desire or require it). Utlimately though, when the king realised that people now sought the worthless item as much as the valueable item, well, greed set in and if he could keep the people holding the worthless items thinking they where good, all the better.

Now, of course, the Kings didn't say "I have no money, but have this worhtless peice of stuff and fight for me anyway and i'll look after you". They "pretended" they had the money (or, I suppose in some cases the money was like a "token not to get killed" for more ruthless monarchs). Money was a way to keep people doing what the power wanted, which, isn't the same thing as keeping the people doing right or good.

Well, this has degraded spectacularly into a ramble so i'm going to leave it at that.

The main point is, i'm going to try to find a way to bring more longer lasting meaning to every action in my life and I hope maybe we all will too.

Saturday, 18 July 2009

Searching the world for the love of my life

In the past i've felt like that. Like I was searching the universe for that special someone, that soul mate. I found her (for me) when I met Alex, she is everything to me (and I know she cares deeply for me too, but just "not in that way"). Then, *sigh* it seems she's everything to everyone who gets close to her, she's the love of everyones life! So, now i'm thinking to myself, are you searching the world for the love of yours? Is everyone?

Somehow, I choose to stay single because I know none of the relationships I could have are right because I don't care for those people in the right ways (also, those people are opposite to me in that they tend (in general) to form a relationship with everyone until they happen to love someone). I know girls who are very beautiful and (thanks to them being very direct) I know they like me (which is always lovely to hear) but I also know I could never be happy with them outside the simple gratification that comes from having someone beautiful that wants me (and that is very gratifying and possibly something to be shared more, letting people know it anyway). Its not simply that they have some minor incompatibilities here, its they have major apposing life style choices (Smoking, Peircing, Tatoos, Drug use, a Player which-ever). Not that they are bad people in any way, just they aren't for me. I'm not a great looker myself, I seek the right heart more than I seek the right looks, but looks aren't unimportant to me either. So, i've got the worst of both worlds, i'm not someone who will just get close to anyone whos around so i'm not alone, I am not someone who will settle based on looks nor based purely on personality (though, I believe this could happen as long as they love me with their whole heart and seek not to hurt me and I can love them), nor am I someone whos going to be happy with just lots of great friends. I'm sounding pretty fussy huh.

Funny thing is, I have to wait to see what happens with Alex! Shes the first person in my life I would do that for. In a way, I almost hope the last too. Otherwise i'll be dead before I know it lol. Alex is the first person I love completely and unreservedly, she has the keys to my heart. I hope she chooses to use them.

Friday, 26 June 2009

The trauma of being English

We can't we say what we mean when it comes to our hearts! Maybe this is the trauma of being human, but I think its very specificly an English middle class thing. I've been in love with my best friend for over a year now, and we've fallen out over it, but I've not once asked her out. I've suggested it in a 1000 different ways but never once actually just said the words, "would you like to go to x on a date?" or simply "will you go out with me". Its not that I don't want / wish / desire / crave to say those words (maybe she thinks I don't or can't... :( ) its just that I susspect they might not be well received (even if I did think they would be well received, I think I would find a way to say them without saying them). What the hecks up with me >.<. Funilly, I do tell her I love her, thats actually easier to say! Its a statement of fact and it can't be rejected, it just is.

I'm probably in the whole mess because I gave in from the start :(. Well, more accurately, I took her at her first words that she was just looking for a friend (back then I wasn't in love). I feel so damn pathetic for that, for trying for it to be her to make the move. My only saving grace is that I did once genuinely ask her to marry me on the phone once, and meant it with the whole of my heart (I'm glad I did, I was surprised at the time because it burst out of me because it was so wanted to be said. I didn't realise how much before then). I didn't get turned down then, but I did get asked never to say it again and told it has no answer, which i'm not sure isn't the same thing. I negotiated to a "maybe never" *sigh*.

She is the only girl that I would marry. Only other time I've even thought about marriage I regretted thinking it the very next day (but sadly in that occasion I told the person I could see myself marrying her...). With A, I will never regret it, but I do wish I had been so much less pathetic about it. Especially as it seems that attrition seems to be the way to the heart of the girl I love.

Monday, 22 June 2009

In love or just sick?

I know its the first, but i'm left feeling like i'm mentally i'll or sub-normal. How can I be so absoloutely unshakably convinced of something that all evidence from the party in question suggests can never be. I know love is blind, but surely it shouldn't be deaf, dumb and unchangable? Then, I guess thats what love really is, I guess people are just "lucky" or "carefull" when the fall in love with someone who can and will love them back (and the carefull one I cannot quite get).

Also, love is apparently distressing when its out of place? I must admit I've never had anyone incontrollably in love with me, infact usually the exact opposite, someone very controllably in love with me. Though, i'm sure if someone was hopelessly in love with me, I wouldn't be upset by it? I'd be sad for them, I might feel guilty for how I might have had a hand in them getting there, I might get fed up of them telling me constantly but thats hopefuly all. Still, I guess you never know till you've been there.

I guess I need to gain more control of my heart. Though somehow I hate that idea, because I believe a heart needs to be free. Then its brining me saddness and worse its bringing upset to the one I love.

I want to appologise to the person I love, I hate that I hurt you by loving you. I hate that the very thing that makes you so great to be with is the very thing which makes me fall for you over and over and ultimately force us appart.

Its hard to try and control ones own heart, because of that internal feeling when you censor your heart that you could be losing something (even though, its probably not true.. well at least I hope its not true.. and thats what drives me mad. Turns an ordinarily extreemly secretive person into someone living anonymously online... its therapy).

Friday, 19 June 2009

Life changes us...

Theres times in life when things happen to make changes that ripple through ones whole being leaving you no longer the person you once where. Some may observe this is happening every day, that each day we become someone new as we live, learn, adapt. What I am talking about though is that sense you get in yourself when you've become someone else. Someone new (and hopefully wiser).

Life phases, prehaps thats the word. I wonder how many times this can happen in a life time.

Its been implicitly noted that my blog is a bit self involved. Well, it is my blog, lol. Also, I don't feel I have the right to blog about others and have my work for writing productive articles. So, this trend is likely to continue. Fortunately, no one reads my blog, excepting me so thats ok :).

I am feeling a little self involved at the moment though. Friends are marrying off, having children and generally fully occupied living life. Whilst I am pretty fully occupied trying to arrange my life (and also creating new exicting software) I'm also pretty alone. I have great friends and I love them all but theres not quite the right kinds of challenges in my life right now (but plenty of the wrong kind). I'm so far behind the "crowd" that I can only see the tops of heads. Still, I have 3 best friends, each so very dear to me, and the last the most. Actually, I have about 6 ammazing friends all of whom deserve that title in some way, but in fact there are 3 who are beyond all others. One whos so irriplacable, so needed, that I go slightly mad in knowing it and do stilly things and upset her *sigh*.

I've not actually told any of my friends about my blog, it really became an anonymous outlet for aspects of my life which feel like they need working out/writing down. I told one online friend about it the early days before I decided to just blog everything and I am not sure that was the best of ideas as I want this to remain largely annonymous.