Saturday, 5 November 2022

Human resources

[what I believe to be the Twitter HQ in San Franscisco at the corner of Market and Polk. Not particularly grand or flashy, rather repurposed from another era. But it is more flashy inside: see reference 3]

I read this morning that over Thursday and Friday just past, Twitter's new owner looks to have sacked around half the workforce of around 7,500, with notifications going out on Thursday and access to corporate IT facilities being withdrawn on Friday. He has also cleared out the senior management team and brought in a small number of his own people to provide a bit of muscle at the top of the heap, rather in the way that senior ministers in UK governments have taken to having a cabal of senior advisors, answerable to them alone and outside the civil service hierarchy. All of which leads me to wonder about the mechanics of layoffs on such a large scale.

To be fair, those who have been sacked have been given three months' severance pay. They get a few weeks to find themselves new jobs. But I dare say after that, public funds are not dished out on the scale which is normal for the slackers and idlers of Europe.

Did he outsource the unpleasant business of getting rid of people to an outside contractor? I believe there are HR companies which specialise in providing services of this sort. Do these services include provision of a team of security people to escort people off the premises with their brown cardboard boxes?

Where do you go when you want 3,750 brown cardboard boxes in a hurry?

What do you do about space? Do you pull the survivors into blocks of more or less fully occupied space and then unload the balance? How much of that space is on long leases which cannot quickly be unwound? And if the pictures at reference 3 are anything to go by, Twitter might have bought into what was a depressed part of town in San Fransisco, but they have spent plenty on décor. A free spending style which will no doubt be reined back. From where I associate to the rather flashy Microsoft offices in Reading, back at the beginning of the century. Maybe the suits have moved in there too.

What about other resources which are head count dependant? All those central services for which demand will now be much reduced. Maybe the very same IT people who organised all the terminating emails? Or did the new leader and his advisors sweat a spreadsheet all night and do it themselves?

How do you maintain business continuity while all this is going on? How do you keep the service running? How do you maintain the cash flow from the big advertisers? Which makes me think of cutting a division in half at the same time as it is supposed to be manning the trenches for an assault on its position.

What about the WARN of reference 2 which was intended to provide workers with a degree of protection in situations of this sort? Although I dare say the people who originally promoted the act were thinking more of blue collar jobs in factories closing down in favour of buying in cheap from abroad than of well paid white collar types in silicon valleys.

All very interesting. No doubt another case study for MBA students in years to come.

References

Reference 1: Twitter job cuts begin as Musk warns of ‘massive’ revenue drop: Brands including GM, VW, General Mills and Carlsberg pause advertising on the platform - Hannah Murphy, San Francisco, Tim Bradshaw, FT - 2022.

Reference 2: https://en.wikipedia.org/wiki/Worker_Adjustment_and_Retraining_Notification_Act_of_1988.

Reference 3: https://www.businessinsider.com/photos-twitter-office-hq-in-san-francisco-2014-4?r=US&IR=T.

Friday, 4 November 2022

In detention

Having just read at reference 1 about how China manages to quarantine huge numbers of people without much fuss and without cockroaches or other nuisances - and with very fast (although probably censored) Internet access, maybe our leaders ought to send a team out there to see how it is done - and so get cracking on places like Manston, where we do not seem to be able to manage the thousands of people arriving on small boats very well at all. Maybe some helpful Chinese contractor would be happy to take over from the SERCO of reference 3?

PS: the snap above is, as it happens, a WEBP image, the subject of reference 2.

References

Reference 1: I spent 10 days in a secret Chinese Covid detention centre: What I learnt when I was ‘taken away’ to an island quarantine facility in the middle of the night - Thomas Hale (aka Tnomab Hale), FT - 2022.

Reference 2: https://psmv5.blogspot.com/2022/11/webp-pictures.html.

Reference 3: https://www.serco.com/. The front page tells me how they have just taken over what is euphemistically called an 'immigration services company', otherwise ORS.

Reference 4: https://en.ors-group.org/. All cuddles and smiles on the front page.

Chalk circle

Just about a fortnight ago to the chalk circle of reference 1 at the Rose Theatre at Kingston. Just about the only serious play that they are doing this season - having lost the contribution of Northern Broadsides, whom I had thought disbanded, but it seems from reference 3 that they are alive and well. Maybe they have reformed after the departure of the founder. Maybe the fact that they appear to be called 'Northern Broadsides 2022' is a clue. Maybe it is a funding problem; another victim of austerity.

Much confusion on the road in, with it being quite unclear to us at any one point as to whether the speed limit was 20, 30 or 40mph. All that seemed to be clear was that it kept changing. It seems a bit unfair to penalise people for failing to work out this particular puzzle while trying to pay attention to the road ahead.

Checked for the fish in the Hogsmill to find then all present and correct at their usual station at the north eastern corner of the bridge. The floating contraption still present. Perhaps the volunteers disbanded without clearing their stuff up. See reference 4 for previous notice.

No programmes to be had at the theatre and my email to them afterwards suggesting they put the programme online as a pdf elicited no response. Apparently they had just enough to supply the people who had pre-ordered for the last two performances - the afternoon and evening of the day in question - and that was it. Irritating.

Theatre pretty full on this occasion, with a lot more younger people than I was expecting, not just the pensioner crew. And the front stalls that we were in seemed to be different, certainly a lot more comfortable than we remembered, although the inferior two person benches were still present behind us. Perhaps they had just done away with the sitting on the floor option.

An adaptation of the original, with the first half mostly given over to song and dance, music and movement, and I nodded through most of it. Some of the music and movement was clever and one wondered how much rehearsal time had been given over to that side of things, rather than the words. But then, music and movement is what luvvies are trained to these days. Never mind the long dead words of long dead playwriters.

The second half stuck a bit closer to the original and I was fully awake, maybe helped along by a drop of something in the interval. Quite a lot of topical material slotted in, presumably to replace material which was topical in the 1940's but which would pass a modern audience by. In much the same way as they usually tweak the dialogue in Gilbert & Sullivan productions to bring them up to date.

Cast mostly very young and inexperienced, but stiffened by a good performance by Jonathan Slinger as the judge. Perhaps best known for doing Wonky in 'Charlie and the Chocolate Factory' in London at Theatre Royal Drury Lane. Wouldn't have recognised the chap we saw at the theatre from the snap above.

We were reminded of the advantages of a modern theatre, with a big open stage that everyone can see. Good set on this occasion, without being too elaborate. Setting in time and place vaguely right, which is how I like it. Also, as it happens, how I like my Shakespeare, not being very keen on translations of either time or place.

Out to try our luck at Stein's, which had looked very shut when we arrived in town, but that turned out to be a trick of their lighting, with the restaurant being a narrow but deep establishment, running down to an outdoor area over the river. A place we appear to have visited a couple of times back in 2015, but not returned to since. See reference 6. A place which was busy on this occasion, but they fitted us in, provided we did not take more than a couple of hours, which is usually plenty of time for us.

Some rather heavy bread to start, probably fresh from freezer and microwave. Followed by some excellent sausage and chips, properly potatoes sautéed with some bits of bacon and so forth. Sausage quite like the Sicilian sausages last noticed at reference 7. Some discussion about whether we wanted one portion or two. Took one, then another, which came quickly enough and was more than enough. Quite full by the time that we had finished. 

Another go at their Bavarian cooked cheesecake for dessert. Not bad, but still a shop job, not the same as freshly cooked at home. Not to mention all the unwanted extras.

Wine perfectly satisfactory, although I might say that we paid a good deal for it - a Salzl Seewinkelhof Grüner Veltliner - than they want at reference 7. Maybe five times more. Just a little greedy, but I would be sorry to see the place go, even if we do not go very often. And the food is quite cheap for what you get.

A discussion about the merits of individual tips versus collective tips, which last is now pretty much the norm in the wake of Covid. BH started individual, saying she got lots of tips in her days as a waitress at Butlins - but she worked hard for them. She didn't see why she should share among her less energetic colleagues. To be fair, she did allow that one couldn't really keep it up. Six weeks in the summer holiday, maybe. The whole season, no. An interesting miniaturisation of the whole individual versus collective thing. I miss not tipping, partly because it is included in the bill automatically, partly because I don't carry the right sort of cash around anymore, but I think I am for the collective: there will always be slackers, but hopefully in a well-run and well-led establishment most of them will be shamed into activity. 

Then on the way to the car park, I was touched for a fiver by some quite young girls in Halloween gear, collecting for Shooting Star of reference 11. I thought they were a bit young to be collecting in pubs and restaurants on a Saturday evening, but BH thought that it was early enough, say around 19:00, for it to be OK.

Car park having been pretty full when we arrived early afternoon was pretty empty when we left early evening.

The aftermath

Somehow, before we went, I turned up a post in the blog which suggested that we had been to a production of the play in the west end about ten years earlier.  But after the event, exhaustive search failed to turn it up again. And Bing claimed that the last revival was that of the National, more than twenty years ago, well before blog life started.

But this morning, trying again, I find that it was indeed revived by the National in 1995, but went on to tour in 2007. Search of reference 9 for chalk and caucasian again fails to find anything relevant, search for both at once fails to find anything. All very tiresome.

Next stop, Epsom Library, to find that drama is included with literature, the whole being confined to maybe 6 metres of shelf. And foreign drama almost invisible.

Last stop, Bourne Hall Library, where I find that the Performing Arts Library has been split off from Surry Libraries, but is now to be permanently housed at Bourne Hall and is to be found at reference 10. Most of their space is given over to scores, but they still have a good chunk on theatre, including maybe a metre of shelf space given over to Brecht. From which I borrow a fat literary biography, one free standing copy of the play and one in volume six or so of the collected plays. More accessible than the ancient facsimile I downloaded from the Internet - 'Digitalized by RevSocialist for SocialistStories', whatever that might be. Page one snapped above.

So far, I have learned that Brecht was an interesting chap, an able but sensitive child who was all for Kaiser, Germany and war in 1914 but who had changed his tune by the middle of the war. No doubt there will be further report in due course.

All in all, an interesting outing. And it would be even more interesting to now go to a version that stuck a bit closer to the original.

References

Reference 1: Caucasian chalk circle - Bertolt Brecht - 1944.

Reference 2: https://en.wikipedia.org/wiki/The_Caucasian_Chalk_Circle.

Reference 3: https://www.northern-broadsides.co.uk/.

Reference 4: https://psmv4.blogspot.com/2021/07/water-rats.html.

Reference 5: https://rosetheatre.org/whats-on/the-caucasian-chalk-circle/about.

Reference 6: https://psmv2.blogspot.com/search?q=stein+kingston.

Reference 7: https://psmv5.blogspot.com/2022/10/baked-sausage.html.

Reference 8: https://salzl.at/product/gruener-veltliner-2021/?lang=en.

Reference 9: https://pumpkinstrokemarrow.blogspot.com/.

Reference 10: https://www.newspal.org.uk/.

Reference 11: https://www.shootingstar.org.uk/.

Thursday, 3 November 2022

WEBP pictures

From time to time I come across image files with the extension WEBP and for some reason, now lost, I was in the habit of passing these images through Microsoft’s Paint tool to convert them to PDF. I can only think because either Blogger or Word would not load images in WEBP format – but that does not seem to be the case now.

Whatever the case, I was puzzled about the message you got when you did the save as. What exactly were you losing? If the image in question is a simple rectangular array of coloured pixels, what difference does it make what particular file format you use? Does it matter to me that one file format is more cunning than another when it comes to dealing with repeating pixels or repeating patterns of pixels?

Which prompted inquiry into what exactly WEBP was. I was surprised at how long it took to find someone who would tell me what I wanted to know, pitched at the right level for me, computer literate but not graphics software literate.

The high level story that I have come to is summarised above. Left we have moving pictures, the sort of thing you watch on television or at the cinema. A lot of this is organised by frame, so many frames, each containing a stationary image, a second. Maybe thirty of them a second – and to achieve that sort of speed digitally may require a great deal of computer power. With the result that the human thinks that it is the real thing, it has all got blurred into a continuously moving image. 

All supported by a once expensive bit of machinery called a frame buffer, a large two dimensional array of bytes, encoding a large two dimensional array of pixels, millions of them, corresponding to an output frame, embedded in a support package, the whole embedded – at least conceptually – in a host computer.

But some of it is not organised by frame in that at least some systems update a two-dimensional image, a two-dimensional version of the three dimensional world in a continuous, real-time way – for example the human retina. Maybe there are computers out there which do something of the same sort.

In the middle we have essentially stationary images, although provision is made for a modest amount of movement, for short videos or animations. These seem to come in one of two varieties. The raster images which are two dimensional arrays of coloured pixels. If the pixel are small enough and you have enough of them, you get a pretty good image. A system which works pretty well, for example, for photographs, although things can get tricky if you want to change the dimensions of the pixel array in flight. A system which is used by WEBP. Whereas in a vector image the contents are described by mathematical formulae, often describing polygons and their fill, very much in the way of a Powerpoint rectangle, ellipse or line. 

The open arrow from vector to raster is there to remind us that in order to render a vector image on a screen it usually has to be converted into an array of pixels, this being how most computer screens are organised. You might play around with it in vector form, but if you want to look at it, you need pixels.

While right we have documents and pages, either for printing on paper or for display on a computer screen. Documents which might contain images, but which were, at least in the beginning, mainly about text. The languages which describe such documents today amount to specialised computer programming languages, used to build programs which are usually content to leave pushing pixels around to others. 

The desktop publishing software around in the 1980’s were very much this sort of thing and I recall using the one called Ventura Publisher, capable of reproducing quite complicated text. A product now gobbled up by the Ottawa based Corel Corporation, last noticed at reference 9 and now itself gobbled up by Kohlberg Kravis Roberts & Co, a US investment house. The fate, it seems, of many once prominent and successful software products.

Another way of looking at this is more source orientated. On the left we have a three dimensional world which we wish to render down, to reduce to one or more two dimensional images. A reduction which involves the idea of a point of view, the point from where we are looking at this world. In green in the snap above to suggest its process rather than data declaration flavour.

We might start with something like a camera capturing a real world scene. Or with an artist creating a cartoon. Or with three dimensional modelling on a computer. Or we might have something in between. 

But what we end up with is one, or often a lot more, two dimensional images. 

On the right we start in what can be thought of as a two dimensional world, a two dimensional image which we want to appear on a page or on a computer screen. This might be a book, a diagram or some sort of composite, quite possibly involving image inserts from the three dimensional world. With the organisation into wrappers, pages and inserts intended to be suggestive rather than proscriptive. Red stars for optional repeats.

Again, what we end up with can be thought of as one or more two dimensional images. This is the world of, for example, the ubiquitous PDF file, the portable document format file.

WEBP

Having provided some context, we can now get back to the WEBP file, first advertised by Google about ten years ago and brought into the real world much more recently, with support for WEBP now present in all the big browsers – not least Google’s Chrome – and files with the WEBP file extension appearing more and more often.

The driver for WEBP appears to have been efficiency, to get the size of Internet image files down, so reducing the demand for broadband capacity, so increasing the speed with which pages from the Internet can be displayed. Along the way it added modest video capability and something called alpha channel, with this last being what it of present interest, described at reference 2.

At the end of which we have: ‘The use of the term alpha is explained by Smith as follows: “We called it that because of the classic linear interpolation formula α×A+(1- α)×B that uses the Greek letter α to control the amount of interpolation between, in this case, two images A and B”. That is, when compositing image A atop image B, the value of  α in the formula is taken directly from A's alpha channel’.

Alpha channel is all about transparency: when α is 1, A is opaque and when it is 0, A is fully transparent, invisible. In between we might have A as the glass of a window or water in a pond and B something seen through the window or in the pond.

Along the way I read that some tricky images – perhaps involving surfers, long hair and sea spray – work best when composed from several alpha channelled layers.

Loss of transparency

Which alpha channel is lost when a WEBP file is converted into, for example, a JPG file. What I think this means is that where α is zero, the image is null, perhaps conventionally displayed on a screen as white space, black space or grey chequerboard. Where α is one, you get the full-strength image. Where it is between zero and one, you get the original colour watered down, or put another way, the starting RGB values have been multiplied by alpha, making them smaller, actually bringing the colour closer to black, to absence of colour. Without the benefit of the (1- α)×B part of the formula above, because we do not have the contribution of a B image.

Black being the colour of a dark pond, with no light being reflected from objects in the pond – like silver fish or green weed – or from the bottom of the point. The pond only looks white to the extent that white light is being reflected off its surface, in which case it will no longer be transparent. 

When the snap above right was first lifted from the Internet as a PNG file back in October, the α=0 part of the image was displayed as black, which apart from being rather unsightly, made the labels very hard to read. But in Paint, the black was replaced by grey chequerboard which is much better, was what was saved in JPG and which last was the version used at reference 5. Since then both the black and the grey chequerboard for the transparent regions in PNG images seem to have been replaced by white, which I can only put down to one of the regular Microsoft Windows upgrades.

In sum, there is no loss of quality of the image at hand, but you can no longer combine this image with another image, making use of the alpha channel. So you have lost transparency to come rather than transparency that was already there. And I think that this is the meaning of the warning pop-up with which I started.

It took a long time to get there!

In part, because references 1 and 2 from Wikipedia were rather dense and reference 3 from Google was rather bland. While reference 4 from Adobe gave a rather good introductory story, only omitting their own PDF product, only mentioned in passing. I suppose the trouble was that the sort of introductory material I was looking for is more likely to be found in a text book than on a page on the Internet – but the interiors of text books are not usually visible to search.

A plus point for Wikipedia was the wealth of further reading to be found for the industrious, some of which is to be found at reference 6, 7 and 8.

Commercial considerations

Graphics processing is big business and so big money. So there are lots of patents and a fair number of legal skirmishes around them. On the other hand, there is lots going for standards, with standards working best when the supporting technology is open and freely available.

No doubt the stuff of study for wannabee masters of business administration. Incidentally, a degree which, I seem to recall reading recently, is no longer the magic bullet to propel you to the upper reaches that it once was.

A sample

For the sake of completeness, a complete WEBP image. The image which was started at the beginning of this post.

Postscript

The next day. A black version of the WEBP brain has now turned up, rather degraded, in JPG, a version which had escaped the OneDrive carnage. The black letters of the labels have vanished, but the brain end of the lines connecting brain to labels survive.

References

Reference 1: https://en.wikipedia.org/wiki/WebP. 

Reference 2: https://en.wikipedia.org/wiki/Alpha_compositing. 

Reference 3: https://developers.google.com/speed/webp/. 

Reference 4: https://www.adobe.com/creativecloud/file-types/image/raster/webp-file.html. 

Reference 5: https://psmv5.blogspot.com/2022/10/swings-and-roundabouts.html. 

Reference 6: Do we know what the early visual system does? - Carandini, M. and others – 2005. Open access at https://www.jneurosci.org/content/jneuro/25/46/10577.full.pdf. 

Reference 7: Technical Memo 7: Alpha and the History of Digital Compositing – Alvy Ray Smith, Microsoft – 1995. A reference from reference 2 above. Open access.

Reference 8: Compositing Digital Images – Porter, Thomas; Duff, Tom – 1984. A reference from reference 7 above. Open access.

Reference 9: http://psmv4.blogspot.com/2021/08/sir-roland-storrs.html.


Wednesday, 2 November 2022

More long COVID

Following reference 1, reference 2 popped up in my in-box yesterday, with the author giving herself the splendid description of 'professor and chair of the Department of Rehabilitation Medicine at the Joe R. and Teresa Lozano Long School of Medicine at University of Texas Health Science Center San Antonio'. She must also be something of a minor celebrity as she has a large Internet footprint, including the snap above.

Someone in good health, who knows all about health, who had taken all the jabs and who had barely had Covid short at all. But who, nevertheless, fell prey to Covid long.

It was interesting to read the story of a doctor's experience of being ill. It seems likely that she will be a better person and a better doctor when she comes out of it; she will know first-hand what it is like to sit on the other side of the desk. The sort of human interest storyline exploited from time to time by the writers of detective fiction, making their pet detective the suspect for a while, or perhaps just a member of the public, without privileged access. Both Colin Dexter and Georges Simenon, for example, do it.

Not forgetting the down sides of her being ill and maybe being off work for more or less protracted periods.

The figure offered here is that 1 in 5 people who get short COVID will go on to get long COVID, not the 1 in 3 of reference 1.

One of the tests described at reference 3 is just standing up for 10 minutes, without moving about, and seeing what happens: '... A 10-minute stand test, in addition to a thorough examination of the cardiovascular and neurological systems, is recommended. The procedure for a 10-minute stand test is as follows: Have the patient lie down quietly for 5 minutes. Obtain the blood pressure and heart rate using a sphygmomanometer on the upper arm. Then with the patient standing quietly without moving or talking, obtain... Caution should be exercised for highly symptomatic patients who are unable to safely stand for 10 minutes due to... '. A test you can do on yourself at home. Maybe I will try it, having had some odd symptoms myself over the past few weeks.

On the up-side, reference 3 is accessible enough, but at 16 pages far too long for me to read. Hopefully I will not become an obsessive reader of such stuff - and start telling my doctors their stuff...

It seems that in the US, you can hire people to come and give you intravenous transfusions at home. A service said to be mainly used by people with hangovers who need hydration. 

Finally, I learn of the terms microaggression, gaslighting and gatekeeping. Terms which had passed me by, despite Bing knowing all about them. See, for example, reference 4. Perhaps I need to spend more time with mainstream social media.

PS: the Blogger grammar checker is becoming tiresome, blue flagging all kinds of things which look OK to me, along with all the typos which do need to be corrected.

References

Reference 1: https://psmv5.blogspot.com/2022/10/the-long-and-short-of-it.html.

Reference 2: I'm a Physician Battling Long COVID. I Can Assure You It's Real - Monica Verduzco Gutierrez, Medscape - 2022.

Reference 3: Multi-disciplinary collaborative consensus guidance statement on the assessment and treatment of autonomic dysfunction in patients with post-acute sequelae of SARS-CoV-2 infection (PASC) - Svetlana Blitshteyn,Jonathan H. Whiteson, Benjamin Abramoff, Alba Azola, Matthew N. Bartels, Ratna Bhavaraju-Sanka, Tae Chung and others - 2022. Open access.

Reference 4: https://www.linkedin.com/pulse/microaggressions-gatekeeping-gaslighting-felecia-freely.

Reference 5: https://en.wikipedia.org/wiki/Teresa_Lozano_Long. Rich people in the US seem to be much more into public philanthropy of the sort described here than rich people in the UK. But maybe one just gets that impression because there are so many more of them.

Tuesday, 1 November 2022

Lighting

Got into a panic about the winter to come a couple of weeks ago, as reported at reference 1. What are we going to do when the lights go out?

Fairly rapidly came to the view that there was nothing to be done about heating, hot water and cooking. Just make sure there are enough blankets in the upstairs cupboard and enough food that does not need to be cooked in the downstairs cupboard. So lots of dried fruit. Brick dates. And in extremis, we have enough wood lying around to do a bit of cooking outside, planet unfriendly though that may be. Maybe I could still make the twists we used to serve with jam in my scouting days.

But what about lighting? A bit grim sitting around in the dark with most usual forms of entertainment denied, in particular reading. So, as already reported, we checked up on the supply of torches, candles and matches.

But this sort of thing is not much good for reading or playing Scrabble. So off to B&Q at Leatherhead to see what they could offer. Builders must have to work in places without light.

We did not ask and there were not many people around whom one could ask, so we found the small stash of battery lights in the very last corner of the double decker store. If only we had turned left on entry rather than right. But in the stash, we had something called an inspection light for £20 which looked promising. Give it a punt.

Get it home and waited until dark to find that it gave off quite a good, diffused light. Not very bright, but quite bright enough for the two of us to read by when hung off one of the existing ceiling light fittings. Supposed to be good for three or four hours after which you have to recharge it. Success.

BH, as O-I-C (emergency planning), will no doubt attend to regular tests, perhaps fortnightly. If only to  make sure that we remember where we put it.

PS: I notice that the foreground mug left has been tipped over by the telephone camera far more than the background mug right. There is, no doubt, a simple explanation, if only one knew where to look for it.

References

Reference 1: https://psmv5.blogspot.com/2022/10/blackouts-to-come.html.

Pumping

A few weeks ago, the gauge on the foot pump I use for my bicycle started playing up - a foot pump with a gauge being more or less mandatory these days given that high pressure tyres are pumped up to around 60psi. Old hand pumps not really up to the job. I suppose the idea of all this pressure is to maximise the efficiency with which rotary leg energy is converted to forward motion. 

In the present case, the gauge would climb up to the desired pressure and would then slowly slide back down again, in steps, which meant that one had no idea what the pressure in the tyre actually was. One could of course kick the tyre in time honoured fashion, but one prefers to do better than that.

The problem persisted over several attempts, spread over several days.

So I take the pump down to the bicycle shop where the young man on duty can just about tear himself away from playing Black Shark Pro on his telephone to talk to me about bicycle pumps. No, we can't do anything about your old pump. This without bothering to attempt to use it. No you can't get spares for it. But we can sell you a new one, anything from £20 to £40. We use the £40 one here in the shop - a shop which is also equipped with the power line mentioned at reference 1.

Maybe if I was buying a new bicycle for £4,000 rather than £40 he would actually turn his telephone off. Maybe even put it in his pocket, out of sight.

I settle for the £40 one, which is indeed rather better than the old one. Better made with a better action.

Just to round off the story, I try the old one again, to find that it has started to work again. Maybe there was a bit of grit in the thing which locks onto the valve on the inner tube.

All very tiresome. Upside, I now have two pumps. Downside, I have to find shelf space for two rather than one. And try to remember which is which.

PS: in the snap above, old right, new left.

References

Reference 1: https://psmv5.blogspot.com/2021/08/diy-not.html.