Monday, 31 October 2016

Day 745, Off, on, off, on


In, in, out, out - in, out, in, in.

For best results it would be ideal to be in rather than out.

In the case of the DE9 or DB9 subset of the RS232 standard the pins are configured like this:


1Data Carrier Detectin
2Receive Datain
3Transmit Dataout
4Data Terminal Readyout
5Signal Ground-
6Data Set Readyin
7Request to Sendout
8Clear to Sendin
9Ring Indicatorin

Interestingly the 'ins' outnumber the 'outs' by a ratio of 62.5:37.5

Surely it ought to be more equitable however you look at it.


For official/internal use only:
7676
0-9

Sunday, 30 October 2016

Day 744, On balance


This should have been obvious, hard disk drive spindles have balance weights added to ensure smooth running.

It never occurred to me that they would have balance weights, but then I've never thought about it in any particular depth.  But hey, when did ignorance of a subject stop people from making massive assumptions.*

So why are there balance weights and why should it be obvious?

An imbalance can occur in a rotating object when there is a disparity between the centre of gravity of the rotating system and the centre of rotation for the rotating system.  An imbalance in a rotating system causes vibration.**

Let's consider this in the context of motor vehicles and their wheels.  A vibrating car wheel can be felt through the steering column and will be noticeable in uneven wear of the tyre, there is also a strong likelihood of earlier than normal failure of a wheel bearing due to the increase in stress and wear.

In a system such as a hard disk drive assembly, where there is are very fine tolerance of distance between read/write heads and the disk surface, a few nanometers,*** any vibration of the disk surface will lead to an increase in data read and write errors.  Over time there will also be greater wear on the hard drive spindle which will exacerbate the existing imbalance and lead to premature failure of the disk drive.

In both the case of the motor vehicle and the disk drive spindle small weights are added in places appropriate to remove the imbalance in the rotating system.  When you next walk along a pavement take a look at the shoulder of car wheels, just next to the tyre, and it won't be long before you start to spot the lead balance weights attached to the wheel rim.

If you've ever heard of wheel balancing before, for cars, bikes, buses, etc, then why would it not be obvious after a small amount of consideration that there might be a similar requirement in other types of rotating system.  Of course it would only be obvious if you have a particular amount and type of prior knowledge.****



The tiny weights below shown removed from the disk spindle, presumably colour coded to indicate different mass.



* You know what I'm getting at.
** Don't take my word for it, here are some experts explaining this at great length in a patent application.
*** Don't take my word for it, here's an article from IEEE Transactions on Magnetics where some experts explain it at great length and in great detail.
**** I actually went "oh look, balance weights!" and was momentarily (a few nanoseconds) surprised, thus giving me an excuse for an overly verbose blog.


For official/internal use only:
7676
0-9

Saturday, 29 October 2016

Day 743, Off track


Here it is, an off-track, on-roller, turbo-trainer tyre.

I have no idea whether any of the hyphenated words above needed hyphens or not.

It should probably be 'turbo trainer'.

However, it doesn't really matter does it.

Just get on and ride off.

Although essentially there is no 'off' as you will be stationary.

Unlike an envelope.*


* e for envelope - stationery.

For official/internal use only:
7676
0-9

Friday, 28 October 2016

Day 742, This is not a language


The BBC Master, kit off, chips out.*



The BBC Master below is displaying all the signs of having lost its settings, the batteries are dead.

In fact the batteries aren't just dead, they are also giving off decompositional fluids.  How very delightful.

Leaking batteries?  No problem, first check to see whether the batteries are alkaline or acid - these are alkaline.

Use white vinegar to clean alkaline battery leaks.  Once the batteries were removed from the container I poured white wine vinegar (all I had available) over all the affected parts until they stopped hissing.  Once the fizzing and hissing stops that indicates that the alkali has been neutralised.

For situations where acid batteries have leaked then use bicarbonate of soda - bicarb can also be used to stop reflux if you've run out of a proprietary remedy, it is disgusting but better than reflux...**

Even though it wasn't possible to do any further testing until the battery compartment dried out after cleaning I did type the ROMS command.  This machine appears to be chock-full of add-ons, albeit ones it hasn't loaded due to the lost CMOS settings.



The battery compartment with it's payload of unpleasant alkaline residue, like the stuff left after a massive coal-fired party from the last century, is pictured below.  These batteries are dated January 1999.***

The BBC Master would originally have had a rechargeable Lithium battery but that has long since failed, this BBC has been modified to work with non-rechargeable batteries.  The cable connected to the top of the battery pack has had a resistor and a diode inserted in-line in the positive power cable, this is to prevent the BBC Master from being able to recharge non-rechargeable batteries.



To recover and reset the CMOS memory the BBC has to be powered on with the R key held down, then press CTRL F BREAK, then type in these three star commands (each followed by Enter):

*CONFIGURE LANG 12
*CONFIGURE FILE 9
*CONFIGURE MODE 7

Assuming you've also replaced the batteries then when you power it off and back on again it will present the standard BBC BASIC prompt.


* This is a Partridgism.
** Better still, prevent reflux by eating earlier, changing your diet (eat less fat), and getting more exercise.  Partridge, again.
*** Party like it's...


For official/internal use only:
7676
0-9

Thursday, 27 October 2016

Day 741, Hissing Model B


It's not the most erudite piece of BASIC coding ever but it shows the machine works.*

After quite some faffing about to get the video working it became apparent that I actually had the right sort of input on one of my monitors.  With a bit of judicious wire poking into the BNC socket on the back of the BBC Model B it released some video, and below is the output.

It was obvious that the PSU on the Model B was suffering slightly so I didn't want to leave it on for too long.  The capacitors were making a high pitched whistling sound indicating that they need replacing, which is to be expected on a machine this age.  I'll replace the capacitors.

As can be seen by the 1770 DFS displayed at boot time it has successfully detected the disk ROM, there are also a couple of disk drives, although I have no disks.  I should have typed the ROMS command in case it hadn't revealed all at startup, that command will list all installed ROM chips.


* Far less rude than the sort of things that used to be displayed on any early 1980's department store computer which they had been foolish enough to allow adolescent boys near unsupervised.  I never did such things myself.

For official/internal use only:
7676
0-9

Wednesday, 26 October 2016

Day 740, Draughty BASIC


Connect the Apple replica 1 to a serial port, launch Tera Term, configure the char and line settings, fiddle with the baud rate if data transfer is flakey, and we're off.

That's it (basically.)

I tested a couple of BASIC games, Rock, Paper, Scissors, and Checkers, or draughts as we call it.

As I've completely forgotten the rules for draughts I managed to eventually crash the game with an overflow error.  Go* me - there's only so much error checking it had been programmed to deal with and an idiot wasn't in their game plan.

Phewee, it really doesn't get more exciting than this.

Next up, World of Wozcraft.**



* Go.  That's a different game entirely, and not suitable for such an underpowered machine.
** Apparently that isn't a thing.



For official/internal use only:
7575
0-9

Tuesday, 25 October 2016

Day 739, Trigger Level


There's a fine line between tolerating something and being offended by it.

Different people have the tolerance/offence line in different locations.  How is it possible to present anything to any group of people without simultaneously infuriating some of those people who aren't 'triggered' by what is about to be presented but are 'triggered' by the mention of 'trigger warnings'?

Some of those people that are 'triggered' by 'trigger warnings' have provided a definition of the phrase here.  At least it keeps those people all in one place, or perhaps it doesn't, I'm mistaking an online forum for some type of physical public location for containing debate.*

My suggestion is that we don't complain about trigger warnings, that we recognise that there are a lot of things in the world likely to cause offence, and that we can't pretend those things don't exist.

This argument clearly needs some development, so until then what I propose is that we use the handy device pictured below.

As well as being a Universal Counter Timer, it also has a handy "Trigger Level" control knob.  The control knob can be used to effectively reset your own personal trigger threshold to either extreme, for example at the most sensitive level the use of the word 'knob' in a piece of text might bring the operator out in hives and cause smoke to come out of their ears.

Whereas if the dial is moved to the most insensitive level then a person could endure the most cretinous UKIPpy, Tory, brexity toss-wank possible, where it is plain that the speakers haven't got a 'Scooby-Doo' what they are on about or what they are going to do, yet the listener is as unmoved as if they'd spent the afternoon consuming a quarter of an ounce of Acapulco Gold until the smoke came out of their ears.**†

I think this is the most sensible solution for all involved.  In anything.


* You know, like a forum.
** I have never experienced Acapulco Gold but the mellow is supposedly très mellow.
† It might be more appropriate to consume some EU barn-grown Dutch classic giant such as White Widow to 'trigger' the brexiters - I'd never heard of White Widow before, I looked it up purely for the purposes of making a cheap joke.


For official/internal use only:
7575
0-9