Showing posts with label Yorkshire. Show all posts
Showing posts with label Yorkshire. Show all posts

Castle Museum York

I recently went to the Castle Museum in York. This is one of my favourite museums and there is a lot to see here. Originally built as a prison in the early 18th century, the building now contains numerous displays including period rooms from the 17th century onwards to the present day. It is somewhat disconcerting to move forwards through time only to find your own life preserved in a museum.

The Castle Museum's star attraction is this perfectly preserved relic of the Cold War
In one case you will find a selection of technology from the 1980s. That's a 'yes' to Big Trak and a 'yes' to the Acorn Electron. The Acorn Electron was a microcomputer built for the home games market in the UK and was essentially a stripped down version of the brilliant BBC Microcomputer. I wasted many hours of my childhood playing games on my friend's father's Acorn Electron from Elite to Danger UXB, and Abyss to Cosmic Combat.

Grab a friend and take control of a spacecraft in this battle game - Cosmic Combat by Alexander Selby for the Acorn Electron. In this game, the aim is to shoot a stream of bullets into your opponent's fuselage without crashing into any of the obstacles whilst skillfully piloting your 8-bit sprite under the action of Newtonian physics. They don't make games like this anymore.

Round the corner is this vision of 90's Britain. This pretty much looks identical to my mother's kitchen when I was just a little geek long ago in the mists of time. All that is missing from this picture is Big Trak roaming around on the linoleum.
Well, that's me for now. I'm off to fire up the BBC Micro emulator and get some of those Acorn games running. Thanks must go to the Castle Museum in York staff for a brilliant visit. If you get a chance to go to the heart of God's own country, then do please pay a visit to this museum.

Before I go, one Geek Experience Point is awarded to Alexander Selby for Cosmic Combat.

If you liked this post then you might like to tell me all about it on the public noticeboard, or maybe you want to stick around for something different.

Near the Castle Museum is Clifford's Tower in York, built by William the Conqueror (who was a big Acorn fan, unlike Clifford who preferred the Spectrum 48K).


Weird things spotted in Whitby today

I went to Whitby today.

Whitby is a lovely town on the North East coast of England. Whitby is a place where you can be who you want to be. Whitby is home to the famous Lucky Duck; was the place where Count Dracula first arrived in England; and is home to the superdecade games chatbot - Mac.

You will see many strange things in Whitby. Today I saw some, and managed to get a few on camera.

Kleptoparasitism is a thing. This is how gulls feed. Just because you bought the chips doesn't mean that the seagull respects your property. I saw this gull trying to break into someone's car. When it realised that it couldn't peck through the roof, it decided to try and eat the aerial instead. Then it saw my chips and wanted some. It didn't get any. I am not sure why this fellow looks like it has a mustache, it just does.
There are many junk shops in Whitby. This one is selling a sarcophagus. The shop was closed, but there was a phone number to ring if you wanted to enquire about anything. I want to ask how much this costs, because, you know, you need somewhere to sleep at night.
Errr, what? I don't know what the actual flip this is. Moving on....

This shop selling LPs from some of the worst vermin of society.
Sorrrrrrrry
Taken from a poster by the authorities, encouraging us not to feed the vermin of the sea - the rats with wings, the aerial-munchers, the chip thieves. Is it just me, or does it look like that photograph of Theresa May? You know the one....
....Do NOT feed (or vote for unless you can afford to sell your house to pay for your health care).

I bought some dinosaur poo

Yesterday I went on a day trip to Robin Hood's Bay in Yorkshire and was delightfully surprised to discover the Yorkshire Coast Dinosaur & Fossil museum.  If you are ever in the area then it is well worth a visit.

I couldn't resist buying a piece of fossilized dinosaur poo, which just goes to show that you can indeed polish a ****.

Macro photo of my fossilized dinosaur poo, or coprolite.
Me: Is this really dinosaur poo?
Curator: Yes, it is?
Me: Where does it come from?
Curator: From America.  America is full of it!
Me: It still is...

Yorkshire Coast Dinosaur and Fossil Museum - School parties welcome.  Plus one geek experience point awarded!
Robin Hood's Bay, so called because according to the legend, Robin Hood defeated a bunch of French pirates here and distributed the booty to the poor-folk of the village.  The beach makes for a fantastic walk and you will likely find some interesting shells and maybe even a fossil or two.

If there was a programming language for Yorkshire



Being a typical Yorkshire lad, I do often struggle with the strict syntax of most modern scripting languages.  The solution is 'Ayup' - a programming language for Yorkshire folk.  It is powerful enough to quickly parse web pages when you are half way up to your neck in mud; need to run a regular expression when lost on Ilkley moor, and is easy enough to write even when you are steaming from an afternoon in the Dog and Ferret in Harrogate.

Starting a script in Ayup requires the shebang line:

#!/usr/bin/ayup

This provides a path to your Ayup interpretter.

Writing 'Hello World' to the terminal is as simple as:

#!/usr/bin/ayup
wri'aht("Ay up, World!")

It is useful to use a pragma to eliminate unsafe constructs in the dialect.  The following code demonstrates this.

#!/usr/bin/ayup
use none o' thy nonsense
wri'aht("Ay up, World!")
cop aye

All scripts in Ayup return 'aye' (true).

Iteration.

Iteration can be performed in a number of ways.  Consider the following code fragments.

Displaying all the elements of a list:

#!/usr/bin/ayup
use none o' thy nonsense
fer apiece o'these i' t' (ham):
wri'aht( thi' )
cop aye


Obtaining an iterator from an iterable list:

#!/usr/bin/ayup
use none o' thy nonsense
fer peas in (ham):
wri'aht( peas )
cop aye


Repeating until a condition is met:

#!/usr/bin/ayup
use none o' thy nonsense
repea':
#do something useful
keep buggerin' on until (<condition>)
cop aye

Selection

Boolean statements always evaluate as either 'Aye' or 'Nay' in Yorkshire.  Consider:


is (foo > nowt):
aye:
wri'aht("champion")
nay:
wri'aht("eeh by gum")
cop aye


Breaking out of a loop.  You can break out of any iteration simply with the pack it in statement.
Consider:

#!/usr/bin/ayup
use none o' thy nonsense
fer apiece o'these i' t' (ham):
wri'aht( thi' )
is (thi' is "peas"):
aye:
pack it in
cop aye


User defined functions

Functions are defined using the keyword mek.  Note the use of exception handling in this example.

#!/usr/bin/ayup
use none o' thy nonsense
fram maths impoart random

mek addition( thi' ) wang ValueErrorException:
a = thi' plus t'random.randa(1)
cop a

wri'aht( addition(5) )
aye

That's all for today.  Join us next time when we will look at object-oriented Yorkshire, and global (you're not from round here) variables.

Label

World Karma Game