Hexadecimal Explained

Posted March 28th, 2007 in Archive by Darfuria - 2 Comments

Well, not really explained, as this is a pretty pointless post, but it’s something that I learned.

I was reading through a stylesheet on a website to try and find the colour of something, and as opposed to using CSamp to find the colour my mouse is hovering over, I thought I’d read through a few pages of code.

Anyway, I found a colour (not the one I wanted), and looked at it and thought “Hey, wait a minute, since when was the number 9 in hexadecimal (web colours are programmed in hexadecimal)? I thought it just went 1-8.” I then looked at the logic of that question, hexadecimal meaning 16, which means for it to go from 1-8, the letters would have to be A-H.

Obviously realising I’d never seen the letter G in hexadecimal it occured to me that I’d been interpreting hexadecimal wrong. I thought it was 8 digits and 8 letters, without really paying much attention to what digits and letters they are, but if you break it down, in much the same way French numeracy works (quatre vingt dix neuf being 4 20s, 10 and 9), hex obviously means 6 (A-F) and dec meaning 10 (0-9).

So, an interesting self-discovery there! Something you might learn from.

A Day-Course in Flapdoodle

Posted March 26th, 2007 in Archive by Darfuria - 1 Comment

Yes, I did search the thesaurus for a word I could use in the title of this post.

Today when I arrived at work, I was reminded (accidentally) that I agreed to attend a course held downstairs. Apparently its focus was on accessibility in gaming, so I seemed like the best candidate at work to attend. How wrong I was.

Considering I generally can’t stand stupid people, and a person being or acting like an idiot annoys the hell out of me; I had to endure 6 hours of this twaddle.

Seriously, I was sat in a room of people who believed they were “IT literate” because they could open a bloody Word document. There was a woman sat a few chairs down from me, with a strong Retard accent, who claimed she copied and pasted things from her web browser to Microsoft Word without using the clipboard. Sorry, isn’t that impossible?

“Please teach me your oh-so fucking magical ways of bypassing inevitibility when you’re using the PC, because you’re quite obviously far more capable than I am.”

The majority of the course was spent with “Oooh”s and “Aaaah”s echoing from the attendees, and the occasional “Mmmmm” from the elderly women when something was shown on the plasma screen, which I had to constantly fix, because the so called “trainer” was an incapable bitch.

There was one point where they (Ability Net – the people running the course) were showing a piece of their software, and the woman presenting it didn’t even know how to use it. She didn’t know that you could do basic tasks with it such as open and save files.

She then went on to show us this screen reading software. Someone asked if you could type directly into the software for it to read out, whilst the rest of the room marvelled at this yellow highlighter scrolling over the text as a disembodied American robotic voice “read” the text on the screen. The woman answered the question with “No, you can’t type directly into the software, but you can copy and paste”, and then proceeded to accidentally type into the text-editor of the program and completely contradicted herself, and, yep, you guessed it, made herself look like a complete idiot.

The course generally focused on innovative methods of presenting accessibility to disabled users. Things such as switch software, which is highly boring. We moved on to the games after lunch, prior to this we spent 3 long, dull hours going through particularly boring, loathsome information about screen reading software and photo manipulation in very poor, free image packages. Things I’ve never even heard before. The tutors were very shocked to hear that I worked with Photoshop, pretty much on a daily basis.

Now, when I saw games, I thought it was going to be something relatively interesting. I mean, honestly, what teenage guy, disabled or otherwise, doesn’t want to blow something up? How wrong I was. The games’ high-point was a one-button operated game which was basically Space Invaders designed in MS Paint.

After the very humiliating session on games, we moved on to audio. Once more the two tutors were very impressed by the fact that I have actually recorded my own music, not used some pathetic MIDI samples, with real software and instruments. The guy was okay, I guess, but the woman was a complete retard who has one of those easy senses of humour. You know, the kind who is amused by Microsoft SAM pronouncing her name wrong, or something.

So, we played around with this budget version of Ejay, which offered you some MIDI samples (“patches”) of 6 different instruments, and you could drag them into different positions to make your very own song. Fucking yay.

All in all, I was so glad when the course ended at around 15:30. I retired to my desk, away from the idiots who were still bewildered by the fact they could paint some fucking red, green and yellow stripes on one of the Windows sample pictures, and felt completely done in. Being stupid really hurts your head.

Seriously, I was so bored and felt so small in comparision to the amount of technological literacy and computing talent radiating from these people, that I spent a good ten minutes giggling to myself over “A door isn’t a door when it’s ajar”.

Horrible Programming

Posted March 22nd, 2007 in Archive by Darfuria - 1 Comment

There are a few websites which we host for clients at work, which were developed by employees who were there a few years ago. When we have to make changes to these websites, it often involves searching through various chunks of code to do some editing, modify some variables, whatever. It’s not so bad until you come across some really horrible programming.

There was a stylesheet I worked on a little while ago which had to be the most ugly block of code I’ve ever seen, ever, and changing it to get things to work differently wasn’t exactly the easiest task I set about doing. Currently I’m trying to make (what you would think would be) a simple edit to some ASP – the programming language of the devil (Bill Gates), himself.

You’d think that

If pageNo = i Then Response.Write("<strong>" & i & "</strong> :")

would make the current page bold, but does it? Of course not.

Just goes to show, really, that making your code nice, clean and tidy, and adding the occasional comment, really goes a long way.

What's Annoying Me

Posted March 20th, 2007 in Archive by Darfuria - 5 Comments

Well, there are a few things that are really annoying me right now, both at home and elsewhere:

  • My internet connection (probably the main thing)
  • The distance between England and Ireland
  • The constant smell of smoke, which I’m really sensitive to, at home
  • The lack of yummy food
  • My room (redecorate me!)
  • The volume of the TV
  • People not listening to me
  • Arguments and general anti-social-ness
  • The cat constantly whining on one side of my door or the other. Why can’t it Phase Shift?
  • The unreliability of buses
  • My lack of inspiration and motivation
  • Getting ill so regularly

I’ll be so happy when all of these things are sorted. I’ve been whining at Tiscali for a while now, but they’re not being much help.

Cards

Posted March 18th, 2007 in Archive by Darfuria - 3 Comments

We all have to buy at least one card for someone during the course of a year. Often we will buy lots of cards, for varying different occasions. Mother’s day, Father’s day, Christmas, birthdays, get well soon, congratulations, etc.

I was buying cards for Mother’s day yesterday. One for my Mum, one for my Nan. It occured to me that all of the cards are the same. They just have a different picture, colour scheme, and the words are synonyms of the words on the card next to it.

I think a band such as Slayer should manufacture a line of celebratory cards. Something with text like:

“May you rot in the pits of hell whilst I feast on the flesh of your despair. Happy Mother’s day!”

I mean, sure, not many people would go for it – but it would add a real kick to the day. All of these soppy and teeth-grittingly cheesy cards are begining to piss me off. Somebody needs to do something new.

I mean, who had the oh-so clever idea to populate these cards with sickening words. There’s nothing wrong with saying something nice, don’t get me wrong, but there’s no need to make every card contain the poetry of the traditional dying person, madly in love with some woman who he can’t have. They really need to tone it down on cards a bit.

Pretty picture. Simple text. Done.

I guess the solution, really, is to make your own card… but I’m too lazy for that.

Other than the 15 minutes I wasted looking around card shops for cards that didn’t make me want to chainsaw the nearest person into a nice bloody pile on the floor, when I was on the bus into town, it stopped in the traffic, outside the sex shop. Nothing special to see, really, as the windows are covered with blinds. But due to the height of the bus, and the fact we were going up the hill, and the door to the shop is in an alcove, I couldn’t see the whole of the sign above the door. Unfortunately I didn’t have my camera with me at the time, as it would have made an amusing picture… but basically, because of the angle differences, etc. I couldn’t see the “No” at the top of the sign. So from my point of view, the sign read:

“Under 18s permitted”

After that, I was walking through town, up to the internet café, when I saw a Wacky Waving Inflatable Arm-Flailing Tube Man (Family Guy) on top of Debenhams. That really made my day.

Bored at Night

Posted March 16th, 2007 in Archive by Darfuria - 4 Comments

Well, due to not being able to sleep, and Meeka being online. We were bored:

Stealth

Bathroom Reading

Posted March 15th, 2007 in Archive by Darfuria - 1 Comment

I went to the bathroom to have a shower, and noticed that the Argos catalogue (The Laminated Book of Dreams (Bill Bailey)) was on the side, next to the toilet. Obviously this brought me to the conclusion that somebody in the house (not me) had been reading it whilst sat on the toilet.

Now, fair enough, some people do enjoy reading whilst in the bathroom. Can’t blame them for that. I had a friend who had this huge stack of guitar tablature magazines and books next to the toilet. I’m hoping that they didn’t go quite as far as taking a 3/4-sized classical guitar into the bathroom with them, to strum out some of their favourite rock ‘n’ roll riffs. I didn’t stay around long enough to find out, to be honest.

But seriously, why would you look at the Argos catalogue whilst sat on the toilet? Is someone really going to sit there with a pen and think “Hmm, what do we need in the house?” and start circling things with a big red marker? What? No!

Where does the context of bathroom reading end, though? Do you have faith-consumed christian men with The Holy Bible sat neatly next to their altar of defecation (sorry, couldn’t resist saying it)? That does put forth an interesting scene, though… You’re at a friend’s house, and use the bathroom, only to find that there is no toilet paper, but a nice, clean copy of The Holy Bible propped against the wall. I’m pretty sure that wiping with the bible does count as sacrilege. Heh, I suppose when you find someone who has “Psalms” or “Songs of Solomon” printed into their lower-region, you know that you’ve either found the right or wrong person. No doubt about that.

Simple Yet Funny

Posted March 14th, 2007 in Archive by Darfuria - 2 Comments

Sometimes even the simplest things make you laugh endlessly until you’re clutching your ribs. These things are the things I really appreciate. A freind of mine just linked me to the video below, and it kept me amused for a good five minutes.

Note: Turn it up loud to get the full effect of the sound.

Those Days

Posted March 13th, 2007 in Archive by Darfuria - 1 Comment

Don’t you just love those days when the weather is gorgeous? I mean, really, really gorgeous, like today was. I was lying with my eyes closed on the bus at stupid AM, heading to work. Sooner or later I am going to have a sun tan.

I get to work in a much better mood than the mood I was in yesterday, and then after months of trying, a lot of the programming I’ve been trying to comprehend started working, which made me feel really good. Also, something I bought from Ebay was delivered, so that made me happy too.

So – Yay for good days!

Hopefully nothing will annoy me all day and I’ll go to sleep in a good mood, and wake up in an even better mood tomorrow.

When the Electric Goes

Posted March 12th, 2007 in Archive by Darfuria - 1 Comment

Thought I would make this post to remind myself of the damage that can be done when the electric goes, or there is a power cut. And also to make people who are obviously incapable of checking a little machine they’ve used for the last 18 years of their life, at least, aware of what can happen.

If you think that parsing your voltage to spare your machine makes sense, think again. If you provide too little voltage to your PC the consequences can be just as dire as if you fry it with too much power. A sudden absence of power can destroy data you have neglected to save or damage important system files. We do not have to tell you how much havoc such an event can wreak on your business’ bottom line or in your storehouse of data you’ve been keeping for multimedia enjoyment.

Along with that, the last router we had broke due to constant power surges and loss of power. I can’t find any information about the dangers of power surges and loss of power with routers, but I know that it did enough damage to cause the router to have to be reset every 3 days… and if the power ever went, I’d have to reconfigure it, which would take me roughly an hour. When we had it I seem to remember counting that I’d wasted over 20 hours of my life just reconfiguring the fucking router, because if I didn’t do it, other users would complain that it wasn’t working.

We’re using a new router now, but I imagine the same will happen to this one.

I’m sitting at a £1500 PC using an £80 router, that’s a lot of money wasted simply because of the power going on and off.

Funny how just when you think nothing could annoy you anymore during your day, something else pushes you that little bit further and you just snap.

Page 1 of 212