A Geek Diary

Perhaps the glass is just twice as large as it needs to be?

Archive for the ‘Technology’ Category

We are each just software, running on a meat-machine…

Posted by Kate Glover on May 19, 2013

sad stick-manFor one reason or another, I seem to spend a lot of my time dealing with death.  Sometimes it’s quite direct in friends, family, etc. and sometimes it’s friends or family who have lost someone, and come to me for advice or support.  While I’ve nearly written this post several times before, yesterday was the event which made me a little more able to explain my thoughts on the matter.  My best friends had to say goodbye to one of their beloved cats, after a short illness, and I wondered how they’d explain it to their 3 year old.  I don’t know how they have explained it – only how I would.

I wouldn’t say that I’m a religious person.  I don’t have any particular opinion on heaven, hell, souls, afterlives, reincarnation or anything else.  I’m more than happy to accept the possibility that when our bodies fail – that’s the end for our conscious selves too.  However, before you think that this is about to get bleak – at the same time, I do believe that our influence continues through others and continues to shape the world forever.

It is my opinion that our bodies are just organic machines.  I believe that artificial life is as valid as “real” life.  It isn’t that I believe that machines should have the same “rights” and privileges as living beings, but that living beings, particularly humans, have a rather over-blown notion of how “special” we are.   With thorough enough behavioural and linguistic research, I believe that we can develop a system which fully replicates the human responses to stimuli – and that the system could therefore be considered “human”,  in the same way that Quorn chicken-style pieces are considered as valid basis for a curry as actual chicken-pieces.  The artificial being may have eidetic memory, but may lack the ability to get around as easily – variables which could easily apply to a given human too.

So, if we are but organic/biological software, loaded into the RAM of a time-limited self-sustaining hardware shell – how can we “live forever”?  When the power is removed, the software is wiped.  There is no backup copy (perhaps a strength of our silicone counterparts), no “reload from last save” and so on.  This is where I believe that the “butterfly effect” comes into play.

Your “machine” is part of a bigger whole.  Even if you generally stay out of everyone’s way, the fact that you bought coffee one day, may mean that someone else can’t get coffee later.  That you watch a TV show, may mean the difference between it staying on air or getting cancelled, which then impacts other people’s jobs and lives.  You might tell a child a story, which impacts on their world view, or influences their actions months, years, decades down the line.  Perhaps they tell another child the same story, and from there, that person’s life is affected.

This is why teachers and lecturers are sort of immortal.  Teacher-Bot steps into the classroom every day, and upgrades the software on hundreds of other units, perhaps thousands or tens of thousands through their life-cycle.  The law of averages would provide that, almost certainly, some of those units will become Teacher-Bots.  Some of the units they upgrade will also become Teacher-Bots, and so on, all because you were affected, encouraged, inspired, to do it by one of your Teacher-Bots.  Perhaps after a generation or two, it is no longer distinguishable as part of “you”, but your influence lives on, reaching out down branches to affect ever increasing numbers of people.  Your shell has stopped working, nobody can speak to you, but you speak to them every time they make a decision.

Now to bring this back to the child and the cat.  The cat is no longer visible or interactive, but it will always be mentally present for the child.  When she sees another cat like him, she will remember him. Perhaps she pulled his tail once, he fought back, and she modified her behaviour as a result.  Maybe she fed him, brushed him, or cared for him in a way in which she learned something.  He was “just a cat” – but his presence in the child’s life will influence her actions and behaviour for the rest of her life.

We are each just software, running on a meat-machine, and our output provides parameters for all of the other instances around us.

Posted in Teaching, Technology | 1 Comment »

Book review: Best Practices of Spell Design

Posted by Kate Glover on April 14, 2013

Cover of "Best Practices of Spell Design" by Jeremy Kubica

Cover of “Best Practices of Spell Design” by Jeremy Kubica

Today I read a book – cover to cover.  That’s not too strange for me, but it was a rather strange tale, or manual, or manual woven into a tale…

It was this book [Amazon Link – opens in new window]  Just £1.94 on Kindle (prices start at double that for physical copies – but I will be buying one!) it’s a bit of a bargain, and covers more than you might expect within its 138 pages.

It is a story of a court wizard and his apprentice, who are called in to reverse the damage to the castle caused by a wizard who did not properly design his spell.  All of this is a big, occasionally clunky, but nearly always entertaining metaphor for programming.  The “wizards” are programmers, the “spells” are computer programs, and so on.

The story goes through a number of chapters, each focusing on a different aspect of good code design, such as the story of the man who’s pass was changed by the guard who would then not let him enter the castle (a missing = from an equivalence test had caused the ID code to be set rather than tested against).  The importance of indentation, correct loop usage, and clear order of conditions on if-else statements are also among the topics covered.

While it is assumed that the reader has a basic knowledge of programming structures – it is not required that they are fluent in any given language.

Little Miss Geek followers will be pleased to hear that the apprentice wizard/programmer, who ends up playing a pivotal role (of course!) is a female and the baker and baker’s apprentice (who is decorating an impressively tall wedding cake) are male – which does go some way towards combating the gender stereotype thing.

While I wouldn’t necessarily recommend this for quite everyone on my course (some have a habit of taking metaphors rather literally!) I would certainly recommend it to those who’ve started coding independently, but who have got to the stage where they’d like some advice on “doing things properly”.   I would also recommend it to teachers who may be approaching coding for the first time, or returning after some time away from the art, and who’d therefore like some re-enforcement in their own minds regarding good practice.

Posted in Computers, Programming, Technology | Leave a Comment »

Why do I love programming?

Posted by Kate Glover on January 24, 2013

Imagine that you need a hammer.

You write down on a piece of paper, what a hammer is and how it is supposed to operate and behave.

VOOM!

Once you finish writing, you find that you have a hammer. You can copy that hammer as many times as you like, to give them to other people, keep backup hammers in the shed, modify copies to operate slightly differently etc.

That’s programming.

I feel like a wizard.

Posted in Computers, Programming, Technology, University | Leave a Comment »

Hand-written Programming Exam

Posted by Kate Glover on January 16, 2013

We’ve got an exam in which we’ve got to write a load of Perl script by hand… with a pen/pencil…

Student holding a biro saying "But it isn't giving me any error messages!"

Posted in Programming, University | Leave a Comment »

How I learned to stop worrying and love programming…

Posted by Kate Glover on January 11, 2013

18 months ago:  I wasn’t a programmer.  I started my degree course, terrified of programming.  I’d been rubbish at A-Level, and hadn’t got any better since.  If at enrolment you’d have offered me a D on a free-pass – I’d have bitten your hand off for it.

Now: It’s my favourite thing. I think about little else.  If I’m not coding, I’m thinking of coding, or planning coding.  At work, rest and play.  I wait for my train to Uni, eyeing up the flashy ticket machine.  I can “see through it” like a software x-ray. I look at the departure boards.  I’ve never seen the system, but I almost certainly know how they work.  What talks to what and how.

My lecturer still finds it amusing when I tell him that I was so rubbish at it.  I’m not sure he quite believes me. He asked what it was that made the difference.  I think it was the structure of his lectures.  The only way I can think to describe it follows (my thoughts at each stage in red):

  • Here is an example of a concept.
    Okay.
  • Play with it.
    I think I’m getting it.
  • Try breaking it a bit and putting it back again.
    What the..!? What does that error even mean?! AAAAAGH! Oh hold on, fixed it…
  • Add to it.
    Cautiously confident now.
  • Put it to one side and use it as a base to create your own example, based on something you personally already know about and understand.
    Wait a minute – it’s virtually the same thing but with parrot rather than dog words…
  • Make it a bit more interesting.
    Haha! Check this out!  This instance of a parrot now has eight legs and a small corner shop!
  • Recap questions.
    Got it!
  • Next week: a concept which usually utilises and builds on the one we did this week.
    GOTO 10…

I hope it makes sense.  The fact that he’s infinitely patient and always takes the extra time to provide a thorough explanation, even when a short one would have done. helps too.

I’m no longer terrified.  I’m excited.  I sometimes have so much stuff in my head when I’m thrashing something out that I end up with nose-bleeds.  I don’t even care…

Break over… back to my coding…

Posted in Programming, University | Leave a Comment »

A few thoughts on gender balance in IT

Posted by Kate Glover on September 7, 2012

There is a lot of effort being put into getting more females into IT at the moment, both academically, at school, college, University etc. and into the industry as a career choice.

On one hand – I understand where this is coming from. I have had it explained to me that there have been studies which have shown that mixed gender teams work better and are more productive, and that it will therefore be of great benefit to the industry, and probably to the nation economically if a better gender balance can be achived. Brilliant – no problems there.

On the other – I worry a lot about where this is all going for a number of reasons.

1) I worry that I will be given a job because a company is short on female team members rather than because I am the most suitable candidate. While this would of course be of benefit to me personally in the jobs market and therefore potentially financially – I don’t want this. This isn’t equality.  I want to know that I’ve earned my place and that I got to where I am because I’m the best – not just because I lack Y chromasomes and “will do” for the role.

2) Ever more “girls-only” stuff is appearing. Girls only coding-events. Pink themed websites which are set up “just for girls”. Girls only “Geek Girl Dinners” Stuff like that. I don’t want this either. It’s like the pink PlayStation malarkey all over again. It isn’t equality. It’s well-intentioned, but personally I find it patronising. If there were coding events, dinners, etc. from which women were barred access as men are to some of these “girls only” things – there would be media outcry and rightly so.  Equality has to work both ways – otherwise it isn’t equality at all. As far as I can see – there is nothing  positive about “positive discrimination”.

3) So much is being made of the “male-culture” in the IT industry in the media (the Microsoft “Big Boobs” hex code thing being an example) that men are going to start (if they are not already) tiptoing around female colleagues as if they are a media-storm waiting to happen. Does anyone want to work in an environment where they inspire nothing but the fear of disciplinary proceedings – just because they have breasts? I worry that I’m going to step into my next office and find an atmosphere so tense that the whole team is on the verge of snapping – because they’re worried about saying the wrong thing and worried about accidentally excluding me, etc etc. all at the same time. We won’t have mixed teams if this carries on. We’ll have female teams and male teams, and each will be terrified of saying the wrong thing or making the wrong gesture or whatever in front of the other.

There will be more another day, however I’m tired after a long day of bumping library books around in bulk!  I will also write a separate post on what I think I would do to help to rectify the gender balance while avoiding what I see as the pitfalls in the current attempts.  I know that, as a female who has spent my academic and working life in IT – I am something of a “solved problem” and so may have a different perspective on it to some.   In the meantime – I’d be interested to read your thoughts and comments on the above!  Thanks.

Posted in Technology | Leave a Comment »

BT and Biscuits

Posted by Kate Glover on July 11, 2012

I’ve just filed another fault report with BT.  I’m hoping that humour, goodnaturedness and chocolate biscuits are the way to their operatives’ hearts.  The story so far is covered, in brief, at the beginning of the report…

Details of the issue:

My ISP is PlusNet, however the BT OpenReach saga has been ongoing since I switched to a Fibre connection.

The first guy came to fit it for us – great job, lovely bloke, went above and beyond to get the job done – no problems there and really appreciated the good service.

Then a second guy came about 4-5 days later, and broke it while I was out. Bit miffed with this one.

The third guy came and found that the second guy had plugged us back into the copper system – and that’s why my fibre kit wasn’t connecting at my end. He then plugged us back into the Fibre line. All seemed fine, he checked it was working, and left. Fair enough.

Now while it is pretty stable most of the time, when the wind and rain get up (particularly the wind we think) the line drops and I can’t even get an external IP address. This annoys the hell out of us, as all 3 of us have occasion to work from home – one of us all the time, and while he can’t work he doesn’t get paid! Only working when the weather is nice isn’t a great thing, nor is only being able to watch iPlayer when the sun is shining outside.

We even waited when the weather started to deteriorate over the past couple of days to test our theory before reporting it. It’s definitely the weather, and this makes us sad 🙁

I’m sure you can understand our disappointment and concerns with the current arrangement. If can make one house of geeks very happy this week, we’d really love it to be ours. Please can Jim (or whoever you are) fix it for us to have working internet 🙂

Many thanks,

Kate Glover (yes, I am The Account Holder 😉 )

PS: We have chocolate biscuits. Nice ones.

Do you think that’ll work?  I do hope so…

Posted in Technology | Leave a Comment »