Archive for Interests

BASICly…

Posted in Ramble, Review, The Internet with tags , , , , , , on July 12, 2011 by SonOfAlSnowsDad

Haven’t written a post for a while. The reason is that I have recently (re)discovered the simple joys, and frustrations, of BASIC programming.

For anyone under the age of 25 the Beginner’s All-purpose Symbolic Instruction Code is a simlified computing language which was first developed for home computers in the 70’s & 80’s. This is where I first encountered it, one dull summer in the early 90’s.

Back in the day, like a lot of people at the time, we had a piece of cutting edge technology known as the Sinclair ZX Spectrum (actually the ZX Spectrum +2 if you need to be picky). Now, again for the benefit of anyone too young to know, the Spectrum used a tape loading system which would mean waiting 20-30 minutes with only the screaming sound of data transfer for company, in order to play a game that you can now play on your mobile phone. With most of the games turning out to be (pre) Nintendo Hard , with no real way of saving your progress and often filled with glitches that would make Gandhi rage quit (and then it’s another 20-30 minutes of screaming  data transfer.)

Of course, not all the games were terrible – there were some good text adventure games, industry standards such as Dizzy (notably Fantasy World Dizzy),  joystick-busting sports games and hit-or-miss movie tie-ins (Batman was quite good). You can see a full list here and (thanks to modern technology) you can even play some (minus the screaming).

Anyway, back to the BASICs, many of these games would include humourous asides and daft messages hidden by the programmers. Inspired by these, I became fascinated with the idea of constructing my own (simple) games for my own amusement. So I tought myself the basics of BASIC over that summer and started typing.

It was not long after that I discovered the frustrating side of home programming. The version I had on my trusty Speccy had an annoying quirk that wouldn’t let you enter a line that the computer did not recognise. This was annoying if (as was often the case) you were thinking two or three lines ahead, yet, every time you entered the first line you were halted by a heavy error tone and the dreaded flashing red cursor of pain. It simply would not allow you to move past this line until the error was corrected (usually because you had put a “,” or “;” in the wrong place).

[At least I had the “+2” model – older versions didn’t allow you to type keywords or commands directly, forcing you to remember the specific keyboard shortcut for the command you wanted e.g. “sym shift” + “P” for PRINT with more obscure commands requiring the use of the “cap shift” key aswell as shift and the letter. Don’t go thinking that the shortcut keys made any sence either – “LOAD” (one of the most widely used commands for non-programmers) was located under the “J” key  (because “L” was reserved for the oft-used LET command)]

Passing the red cursor test was no guarantee of success, however, as it only meant that the line could be understood and executed by the computer. Any “unexpected” outcomes usually ment a human error which would have to be manually identified and corrected. This was time-consuming to say the least, as you scoured lines of programming to find that one instance where you typed “100” when you ment to put “10”.

Not that anything that I came up with could be called a game in anything but the broadest definition of the word. I spent most of my time making the screen produce crazy patterns using the LINE command [in conjunction with a FOR-NEXT loop] or producing stupid little “things” to annoy my brothers (because I could do it and they couldn’t). Mostly it was things that looked like this:

10 PRINT “Hello”
20 INKEY$, “Enter your name: “,name$
30 PRINT name$, ”  is gay! Ha Ha.”
40 REM I was about 10 at the time.

Eventually however, the age of home computing came to an end making way for the more advanced, instantaneously loading, cartridge-based consoles [The likes of Sonic The Hedgehog would’ve made even the most powerful ZX “10 HAVE KITTENS: GOTO 10” ]. So my beloved Spectrum became a remnant gathering dust in the corner as joystick waggling gave way to button mashing.

And so the story of BASIC should have ended… until, two generations later, it made an unexpected resurgence. It was when I first bought my PlayStation 2 (which remains my console to this day) and found the free demo disk which accompanied it. On this disk were the usual demo levels and previews of “current” games but hidden amongst them was one “extra” cheekily called Yabasic (Short for Yet Another BASIC).

Most, I’m sure, would have looked at it, said “huh” and then discarded the disk completely in favor of a proper game. I, on the other hand, recognised it immediately and, if only for the sake of nostalgia, couldn’t resist having a play around. I found it much like what I was used to (using the same standard commands) with a few notable improvements:

  1. It allowed user-defined “labels” which negated the need to number each line (previously, manually renumbering your program could take hours and was almost guaranteed to break your game if you didn’t pay immaculate attention to where the GOTO/GOSUB commands were pointing).
  2. It allowed you to copy and paste sections of your program which saved on re-typing and ensured consistancy.
  3. It allowed use of the full spectrum of colours (using the same 255 RGB system that you are looking at right now)
  4. It had a self-contained reference manual which made learning/refreshing how to use it ridiculously simple.

So, picture the scene, I’m sitting at a machine of mind-bendingly advanced graphical capability (at least when compared to the “Legoland” graphics of the original Playstation – when compared to the humble Spectrum that infinity loop becomes “10 NOTHING: GOTO 10” [an infinity of nothing – that has to be some kind of paradox] ) and I am using it to make the screen produce crazy patterns using the LINE command and producing stupid little “things” to annoy my brothers [I did/do also play the games – I’m not a complete imbecile – maybe just 79% imbecile, the remaining 21% is moronic].

I’m not going to lie and say it wasn’t a fun thing to play with but there was one major flaw – a catastrophic one. With the PS2 lacking a keyboard (or more accurately, my lack of willingness to buy a keyboard for the sake of one application – again, I’m only 21% moron here) you were left to punch in the program by navigating an on-screen call-up keyboard like you were entering your name on a high-score screen at the arcade.  This ment that you typed at a ludicrously slow pace and, even with copious use of the cut/copy/paste functions, inputting even the simplest program became an arduous
process. This grueling effort, coupled with the redundancy of the attempt, ment that the novelty soon wore off and the Yabasic disk met the same fate as the ZX (not before filling a memory card full of unfinished games and fragments of program which, incidentally, I can’t bring myself to wipe)

And now… the story starts again. Because, like I said 1,196 words ago “I have recently (re)discovered the simple joys, and frustrations, of BASIC programming.” That’s right, I found a version of Yabasic for use on the PC which is seemingly the perfect marriage of the classic ZX form of BASIC and the version ported onto the PS2. You could say it is just the PS2 version with the use of a keyboard (and minus a reference manual) but there are some differences, the most visual being that the graphics window opens into a separate window from the text, but there are a few changes in the language aswell. (mainly in the way which you input data and variables in to a line [e.g. the old way of making something red was to type “SETRGB 1,255,0,0” now it is the simpler “Colour 255,0,0” (where you would have put “SETRGB 0,255,0,0” you now use the command “Back Colour 255,0,0” )])

And the best thing is that your programs are written and saved as a NotePad document (using the file type .yab). This means your programs can be easily exchanged amongst your friends in the form of e-mail attachments or on memory sticks ect.  So long as your friend has their own version of Yabasic.

Which brings us to the really best thing about Yabasic – It’s free!  That means that, so long as you include a link to where the download is, anyone you send your program to will be able to view it.

So that’s what I’ve been doing and why there haven’t been any proper posts for a while (and may not be for a while yet). Sorry about that, but if I come up with anything good then I’ll try to find a way of sharing it with you all (but posting up Four million lines of BASIC might be a bit annoying!)

If you would like to try Yabasic for yourself – you can find the download here.
But if you are going to do that then you had better bookmark the manual.

All that is left is to thank Marc-Oliver Ihm and his small team for being very, very clever.

As A Matter of Interest.

Posted in Ramble, Rant with tags , , , , , on May 1, 2011 by SonOfAlSnowsDad

Maybe it’s because I just set up this blog and a couple of new e-mail addresses recently. Or maybe because I’ve filled in quite a few application forms in the last few weeks, but I’m sick of people asking me “what are your interests?”

I have no idea what my ‘interests’ are. I never know how to answer that question, be it on a profile or in a job interview or just when you start chatting to someone. Why does everyone want to know what my interests are anyway? What’s it to you!

And who can do that? Condense your entire world into a list of six to eight things as if to say, “of all the things that have ever interested me – these few things are the ones I find the most interesting.”

It’s ridiculous! No one is as dull as their interests section says they are [No, I can’t believe it, I won’t believe it]. Have you read other peoples profiles? Of course you have, most of them are pretty much the same – different variations and combinations of: Music, Television, Film/Cinema, “Going Out”*, Sport, Reading, Pets, Family, Education, Work (you are either a weirdo or one jammie dodger), Religion/Philosophy, Current Affairs/Politics (although, in Britain, we’re a little bit cagey about the last two) and (my favourite) Insert Joke Here. (No, that genuinely is my favourite one, I love the stupid jokes people leave on their profiles, they make me smile even if they are lame – no, especially if they’re lame!)

* “Going Out” is always a funny one. What does that mean? We all go out don’t we? Plus, you’re not likely to write, “My principle interest is sitting at home, alone, in the dark.” even if it is true. [Shut up, it’s not true – I went out down the shops the other day, so there!] In the circles I move in, its pretty much a euphemism for “Going Out …On The Piss.” Sure, it’s sometimes worded as “Socialising with friends” (maybe on an application form or something) but we know what you mean, we all know what you mean. But no one is allowed to say it. It’s like the word “DRINKING” got a super-injunction against it. And lets not even get started on what they did to “SMOKING” otherwise we will have to get the European Court of Human Rights involved.

But what are we supposed to do with this information? When are you ever going to need to know that Barry likes going to gigs to see bands play? If Barry likes going to gigs to see bands play, then he’ll tell you, he’ll say, “You know what, I went to a gig the other night, I saw this great band play.” And you’ll probably think to yourself “Oh, well, I guess Barry likes going to gigs to see bands play.” Until he does say that, that information is of no use whatsoever.

If someone comes up to you and asks, “I don’t know Barry very well, what’s he like?” and you answer, “He likes going to gigs to see bands play” You are going to get quite a few odds stares coming your way. [Notice my natural inclination is to ask, “What is he like” not “what are his interests”. Asking what a stranger’s interests are sounds a bit weird. You try it. Next time you are chatting to a friend of yours and they bring up a non-mutual friend ask them, without hesitation, “what are their interests?” just to see how they react]

I’ve heard people say that a profile gives ‘a sense of a person.’ What, on all that is yellow, does that mean! All it tells us is how conformed and homogenised we all are and that we all tend to put the same answers for things.

I think I might know why that is: no one really cares about these things. Quick show of hands, how many people have signed up to an application, found (or have been presented with) a profile screen, filled in a couple of the boxes and said, “Sod it, that’ll do.” before never revisiting that profile ever again?

Errm… This is a bit awkward. I’m gunna assume that most of you have done that and risk looking like an idiot in my closing statement.

At the end of the day, I don’t think you can encapsulate yourself in a few short sentences or by answering a series of broad questions like that. And I think that reading one only gives you the vaguest impression of who that person is. The best way to find out about someone is to say hello and have a chat with them [hinting towards the comments section now]. Interests, at best, are merely topics with which to start a conversation; it’s the conversation itself that is important. Opinions trump interests any day of the week for me.

Moolta

The official Moolta Blog

Mary the TV Maven

TV broken down, one week at a time

Random Insults to Sanity

Watching The World Turn

Notes From A She-Hermit ©™®

or 'Being Mental And Loving It'. By Dotty Headbanger ©™®

ICT Almanac

Information : Communication : Technology

Geek Buffet

Feed your mind.

writewhatyoudontknow

Screenwriting, movies and general goodness

The FilmFellas

All about film, review, movies and cinema

WordPress.com News

The latest news on WordPress.com and the WordPress community.