Letters to Craig Murray #11
###
Letter #11 Delivered 24 Oct 21
Hi Craig,
It was good to get a reply from you yesterday. I was becoming concerned about your wellbeing given the news of Covid on your corridor.
As freedumb day approached in July I searched for plausible reasoning, and found it in the case chart for India. What we now call Delta had torn through the country and burnt out. The exponential rise gave way to an exponential decline. Our complacent and negligent government high on their own vaccination programme hubris thought that there was nowhere left for the virus to go. But again they’ve tragically miscalculated. As July turned to August the case rate decline did not continue, and instead we’ve saw-toothed our way back to another peak.
I had my face rubbed in the reality of the situation this week as I went up to London for a couple of things I’d agreed to in the expectation (misplaced hope?) of improvement. People aren’t ‘exercising common sense’, they’re going along with the pretence that Covid is over when it’s clearly not.
For the longer term I’m increasingly concerned that this is the anvil the NHS will be broken on. Selling it off for parts over the Atlantic Bridge. The politicians going along with this must be idiots, as they sell themselves too cheaply to cover the healthcare costs for themselves and their own families. I once read that Obama had to bail out Biden when he was VP, as the costs for Beau’s cancer care were bankrupting him. If the VP of the USA can’t afford that system then it works for nobody, and I’ve seen first hand how grotesquely inefficient things are whilst at the same time delivering a truly awful experience for patients. The worst part is that the rich have always had access to the best healthcare, with BUPA and Harley St. etc. floating on top of the NHS.
Your comment on the 0.1% got me thinking – is it really that many people (~7M worldwide)? I suspect the actual problem stems from far fewer ultra wealthy people meddling in the politics that shapes life for the rest of us. Maybe just 7000 (or 0.0001%). That’s a couple of Davoses. Somehow a Davos seems like a good unit of measure for Oligarchs.
Dune is another big deal SciFi book that I’ve never got around to reading. I’m hearing that the recently released film is good, so maybe like with Foundation the time has come when such titles can make it from page to screen without so much disappointment.
Has there been any news of books sent to you for the library making it through?
I’m looking forward to your reply,
Chris
Filed under: CraigMurray | Leave a Comment
Tags: Covid, healthcare, inequality
Letters to Craig Murray #10
###
Letter #10 Delivered 17 Oct 21
Happy Birthday Craig,
The circumstances are far for ideal, but I hope you’re able to celebrate in some way.
Are you able to hear the protests in your name when they take place outside the prison, or are things too distant?
It must has been wonderful to meet Arthur C Clarke. I took a look at Ocean Thermal Energy Conversion, and was surprised to find that it was not a Clarke invention (like geostationary satellites), but rather something that had first been conceived in the 19th century. It seems that there are still various efforts to further investigate and commercialise it, but the system efficiency remains atrocious at around 7%. The nutrients that you mentioned for the abelone farm in Hawaii may be a useful by-product, but also seem to be a major obstacle to effective heat transfer between components.
I read this week about a type of solar cell that had been invented by George Cove in 1905 using a zinc-antimony alloy. It seems that Cove ran into all sorts of trouble when it came to commercialising the technology, with some speculation of dirty tricks from Edison. So the ideas he had been working on got lost in the sands of time, but may prove useful once more as we try to cover the planet (or at least our roofs) with panels; as the alloy panels are more robust, and easier (and less polluting) to manufacture, which might be more important than high efficiency in some parts of the world.
It’s taken me a couple of weeks to get through Stross’s ‘Invisible Sun’, and it was one of those books that became more urgent for attention as I neared the finish. Without spoiling the storyline, I can say that the author has a lot of fun with the idea of ‘some countries have spy agencies, and some spy agencies have countries’ by throwing it into a multiverse where certain people can travel between parallel timelines. Though as with all great fiction it’s bittersweet to reach the end, knowing that there won’t be another instalment. Still, I can now turn my attention to books 5 & 6 of Anne Currie’s ‘Panopticon’ series so that I’m ready to do a launch day review when 6 hits the presses on 20 Nov.
I’ll close on some dog news. Milo has grown a lot since I first wrote to you, and I struggle sometimes to tell him apart from Max at a glance. Though at 5 months old he’s still got some growing to do, so maybe he’ll end up being the obviously larger one. At least they both sleep through the night on the sofa now – no more escape from playpen shenanigans.
Keep well,
Chris
Filed under: CraigMurray | Leave a Comment
Tags: energy, SciFi
October 2021
Pupdate
It’s starting to get muddy out there, and I guess it won’t be long before they need coats on because of the cold.
Dart on Docker on Arm
Most of the stuff we build at The @ Company is written in Dart, and we want to enable people to run it on the platform of their choice, which might mean a Raspberry Pi or similar. To help make that happen we’ve been producing custom build images for Dart that support Armv7 and Arm64. But the long game was always to get Arm support into the official Dart image, and that’s now happened. The Google folk that maintain the image were really gracious and a pleasure to work with – it’s great to see them listening and supporting their community.
Certificates
If it’s not DNS, then chances are that it’s certificates.
The month kicked off with the expiration of the DST Root X3 CA, which was used to sign LetsEncrypt certificates back when their own ISRG Root CA hadn’t been accepted into people’s default trust lists. We naively thought that since we were working with a modern stack (and could see the ISRG cert in there) everything would be OK. But everything wasn’t OK. Dart was following the chain of trust to the expired DST cert and throwing errors, so we had to delete it from our cacerts file.
Scott Helme provides a good roundup of the issues in his Working around expired Root Certificates post, and there’s more on the Netflix Tech Blog about how this mess could be avoided next time if people sort out their TLS implementations.
There was a moment where I was pretty cross with the LetsEncrypt folk for what I saw as choosing unsafe defaults in order to throw a lifeline to old kit (mainly older Android handsets). But I realise they were caught in an impossible situation.
Right to repair
When I was a small boy on a family holiday I wanted to buy a torch with my pocket money. My mum cautioned me that I shouldn’t get it as ‘it’s disposable’ but I got it anyway as I didn’t understand what those words meant. Of course when the battery ran out (maybe a whole few hours later) I got a sorrowful lesson in what disposable meant, and I’ve always hated the notion. Why throw out a perfectly good case and lens and bulb just because a battery has expired? Indeed why even use batteries that can’t be recharged?
I think being able to repair stuff is a huge part of the shift to a more sustainable economy that’s needed to deal with climate change. That’s why people should have a right to repair, and also why it’s right to repair.
A few months back we got Max a new harness, which seemed really well made, apart from the plastic clip that holds it together. It was obvious at first glance that the clip would be the piece that would fail first (likely well before the rest of it even showed signs of wear). But that didn’t account for Milo chewing the clip, which vastly accelerated its demise.
I didn’t want to throw out a perfectly good harness because a plastic clip had broken, and thankfully I didn’t have to as it’s possible to get replacements. I used a Sea to Summit Field Repair Side Release Buckle 2-Pin 15mm from Rock & Run:
The screw in posts meant there wasn’t any need to unstitch the existing clip loops (which would have been a right pain). It’s a little larger than the original clip, but nice and sturdy. With luck it will outlast other parts of the harness, but even if it doesn’t I can always buy another.
Raspberry Pi
Not only does Dart on Docker on Arm mean it’s possible to run an @sign secondary server on a Pi, there’s a perfect new Pi for the task with the $15 Pi Zero 2 W. Alex Ellis provides a good overview in his First Impressions post.
Filed under: monthly_update, Raspberry Pi, technology | Leave a Comment
Tags: ARM, Arm64, Armv7, certificates, Dart, Docker, LetsEncrypt, Raspberry Pi, repair, SSL, tls
Letters to Craig Murray #9
###
Letter #9 Delivered 10 Oct 21
Hi Craig,
I think you’d have been very busy with blogging this past week.
The ‘Pandora Papers’ hit the wires as the latest follow ups to the Panama and Paradise papers. I do fear that the long term effect of this stuff is to normalise the behaviours they uncover (just as seemed to happen with MP’s expenses). One of the early stories featured Gulnara Karimova getting a $220m payment from a Swedish telco, apparently arranged by a prominent Tory donor (and laughably outspoken anti corruption campaigner). Of course for ‘balance’ and to prop up the ‘they’re all at it’ narrative the accompanying story was about the Blairs avoiding £300k in stamp duty by buying an offshore company that owned a property, rather than the property itself.
No rest for the wicked though… Cherie Blair was back in the headlines as the ‘ethics advisor’ to NSO, the Israeli purveyor of phone hacking software. Due to some sterling digital forensics work by Bill Marczak, NSO got caught with their spyware on the devices of Princess Haya and her lawyer Baroness Shackleton. NSO (despite their usual denials of how their product is used) then felt obliged to call Blair late at night so that she could alert Shackleton to the ‘misuse’.
Elsewhere in the outhouse of tech ethics, Facebook has been having a very bad week. Firstly with ‘whistleblower’ Frances Haugen appearing on 60 minutes then in front of a congressional committee. I use scare quotes there, as I’m not entirely convinced that this isn’t a long con to get the kind of regulation that will ultimately protect Facebook in perpetuity. Then on the eve of the hearing Facebook, Instagram and Whatsapp all fell off the Internet for 6h due to misconfiguration of route config. My pet theory on this is that there’s now a 5th column within Facebook seeking to undermine the evil empire from within. It was amusing to read stories that they had to use angle grinders to get into server cages because all the physical security was tied back to inaccessible servers. As a friend put it, “Normally I’m all about the #hugops during an outage. But it’s Facebook, the most mendacious company on the planet.” As I left Facebook many years ago it was fun to watch the chaos unfold from the side lines, though it’s tragic to see how many people and businesses have allowed themselves to be beholden to them. It was a good week to be part of building something better that will hand control of data and relationships back to people.
I hope you’re keeping well.
Chris
###
Craig’s reply 21 Oct 21
Dear Chris,
Yes, I would particularly have enjoyed taking on the extraordinary effort to blame Russia for the energy crisis. But I am sorry I shan’t be there to chronicle Julian’s hearing at the end on the month (although we have a long shot legal effort in play).
Yes, I have been covering the Gulnara / Telin story for 15 years, but didn’t know about the Tory donor aspect. No shock – the .1% are inextricably linked worldwide. I saw a Panorama on the Pandora Papers which was shown about midnight. (I have a TV, no radio, which is my only news source).
On Facebook I view Ms Haugen as a part of the campaign to get non-officially approved information off the Internet, and thus in a sense linked to my being here!
The takeover of the web by corporate gateways is the worst development. 90% of my own site traffic comes via Facebook and Twitter. and both suppress individual posts by subject matter. Facebook seems actually the more liberal.
Many thanks for writing again!
Craig
Filed under: CraigMurray | Leave a Comment
Tags: Blair, Facebook, NSO, Pandora papers
Letters to Craig Murray #8
###
Letter #8 Delivered 3 Oct 21
Hi Craig,
You’re right that I’m a dedicated Sci-Fi reader. I grew up with a great love for the potential of science and technology. My dad was always tinkering with stuff in the garage, reading New Scientist and watching episodes of Equinox etc. My mum has more of a humanities background, but whilst her academic work was on Robert Browning, her first love is Sci-Fi. I was also heavily influenced by various non fiction books on the potential of technology, often with cutaways to show how things work. It’s therefore no surprise that I chose a career in engineering, and I continue to enjoy Sci-Fi as a way of exploring what will become possible (and the dangers that might come with that).
I try not to limit myself to Sci-Fi though. During my teens my mum insisted that I read some ‘proper’ books (besides computer manuals, Sci-Fi, and war stories), and incentives were offered. Orwell’s ‘Down and Out in Paris and London’ has really stuck with me, along with Jilly Cooper’s ‘Class’, which although a little dated now still does a great job of explaining why the typical Englishman puts up with the lot inflicted on him by the establishment.
Though I’ve read a fair bit of Asimov, I’ve (to my shame) never taken on Foundation, so sadly I’m not familiar with ‘the Mule’ who you mention. Foundation has however just made it to the small screen, with a big budget, high production value series on Apple TV+. So far it’s been glorious. I hope they get to complete the proposed eight series run.
Your comments on charisma remind me of a time when I went to see a talk by Eric Raymond, author of ‘The Cathedral and the Bazaar ‘, his seminal work on open source software. Eric is not an attractive man. Descriptive adjectives would include: stunted, gnarled, twisted. But oh boy does he have charisma. He can captivate an audience, and persuade them. The old Dungeons and Dragons player in me would score his Charisma attribute as off the usual chart. The “IT” you describe is definitely a thing.
I wonder if there used to be more “IT” in politics, and it’s been driven out by a hyena press corps? Or if simply the commitment to use “IT’s” powers for good has succumbed to the easier ‘dark side’ path of using “IT” to gain power and wealth? Cory Doctorow had an excellent thread this week on the entanglement of debt (for many) and wealth (for few) based on the works of David Graeber, Thomas Piketty and Michael Hudson concluding that estate taxes need to be properly enforced.
Yours,
Chris
###
Highlights of Craig’s reply
Interesting about “Foundation”. I suppose special effects have progressed to the stage where these kind of high concept Seci-Fis can be rendered on screen.
I once had dinner with Arthur C Clarke in Sri Lanka, actually as part of my FCO job, to discuss ocean thermal energy! He was a very interesting man, at that time wheelchair bound. The idea of OTE was to pump up water from the super cold deepest ocean in the tropics, and generate electricity through the differential temperature between that and the tropical surface sea. I never did understand the technology. Arthur C Clarke described it as a fridge in reverse.
The US government built a pilot plant in Hawaii. The pumping of nutrients from the ocean bottom made it profitable as an abalone farm! I haven’t heard the technology mentioned for decades, so I suppose it was too inefficient.
The Doctorow thread sounds interesting. Wealth tax, as opposed to inheritance tax, is important but enforcement on the rich of any tax is not serious. But there is a more important need to prevent the absurd concentration of capital in the first place.
Filed under: CraigMurray | Leave a Comment
Letters to Craig Murray #7
###
Letter #7 Delivered 28 Sep 21
Hi Craig,
It’s a shame that books sent from Amazon aren’t making it through. I was wondering what I’d write about this week, as I wanted to steer clear of politics, and somehow the week concluded with a few bookish things.
Your letter reminded me of how I came to read Accelerando in the first place. Tim Bray, a prolific software engineer with lots of interesting things to say on his blog, had enjoyed Stross’s ‘Iron Sunrise’, so I grabbed a copy for myself, and also loved it. It’s one of those books that should be part of a series, but sadly Charlie made some rookie mistakes that painted him into a corner that prevented much continuation. But I didn’t know that at the time, so I started eagerly diving into his other work, which brought me to Accelerando. A few years later I got to meet Tim for a pint in London, and asked him what he thought of it. ‘I gave up after about 150 pages’, he said, ‘too slow’. He stopped just before it got good. That book is a rollercoaster. Yes, there’s the boring bit at the start where it’s just clicking up the ramp to gain potential energy. But after that… wheee… So if the copy I sent does arrive, and you do choose to read it, I hope you can persevere through the intro sections.
I also got a pre-review copy of my friend Anne Currie’s ‘Heliotrope’, which it the sixth in her ‘Panopticon’ series set in a post climate breakdown world where ubiquitous surveillance is used for communal good. Since I’m only half way through the fourth book this is just the prod that I need to spend less time on Twitter and more time reading proper stuff. So I think I’m about to have something of a social media holiday. Also Charlie’s ‘Invisible Sun’ is out next week, which closes his ‘Empire Games’ series, which has been a lot of fun.
The topic of communal good also came up in the context of energy supply problems and panic buying fuel shortages. My friends with electric cars, solar panels, and battery storage systems are all being rather smug at the moment for getting ahead of the problems. I recall people telling me ‘I don’t care about the economy, we just need to take back control’ on the eve of the 2016 referendum. It’s why I think we should say ‘our collective welfare’ rather than ‘economy’. It’s much harder to say ‘I don’t care about our collective welfare..’ and not sound like a selfish fool. For most people ‘the economy’ is a ‘them’ problem, whilst ‘our collective welfare’ is more clearly an ‘us’ problem.
Stay well,
Your aye,
Chris
###
Highlights of Craig’s reply
I would like to be one of the smug ones, with 14 commercial size solar panels and a Tesla Powerwall, but in practice in Scotland production is negligible for 4 months November through February.
You seem a very dedicated Sci-Fi reader. Somebody has sent me Azimov’s Foundation Trilogy, which I read almost 50 years ago. It got through to me somehow.
Filed under: CraigMurray | Leave a Comment
Tags: Accelerando, Anne Currie, Azimov, economics, Foundation, SciFi, Stross
September 2021
Pupdate
There was a local sausage dog meetup, which was a lot of fun for the people and the dogs:
GraphQL
I had to spend a bit of time learning GraphQL, as it’s used by the latest GitHub APIs, and there’s no other way to access the data behind the Projects (beta) boards. There’s a full post on the atsign.dev blog on how I updated the dump_cards scripts. Since then I’ve also added a nice little command line UI using InquirerPy.
Dart article
The nice folk at Container Solutions asked me to write something about Dart and Flutter for their ‘WTF is Cloud Native?’ series. Hopefully it provides a good overview of the tech we use to build The @ Platform – ‘WTF are Dart and Flutter?‘.
Datacamp
$son0 figured out that he needed to properly understand R programming for his genetics degree, so I went looking for some good interactive courses. Datacamp is where I found them, and I’ve been working through some R and Python stuff myself.
Cast Iron Griddle
After watching yet another Teflon coasted pan get destroyed by too much heat (while making chapattis) I decided to buy a cast iron pan. I’ve not had the chance to make chapattis on it yet, but it’s been excellent for searing steak without firing up the BBQ.
CO2 monitor
After reading about various people using CO2 monitors to keep an eye on ventilation I bought this one. It’s presently telling me that there’s 1145ppm CO2 at my desk. Opening windows doesn’t seem to make much difference, whilst opening the door down to the rest of the house quickly gets things back to an ambient 450ppm or thereabouts.
DSM7
I had to shut down my Synology NAS whilst having some electrical work done in preparation for the installation of an air sourced heat pump. Whilst I was in the control panel I noticed that an upgrade to DSM7 was available. So once the electrician was done I pressed the button… A few minutes later I was up and running again. It was a quick and painless process. So here’s to another 300+ days of uptime before I need to do anything with my NAS.
Filed under: monthly_update, technology | 2 Comments
Tags: cast iron, CO2, dachshund, Dart, DataCamp, DSM, DSM7, Flutter, griddle, monitor, NAS, ppm, python, Synology, upgrade
Letters to Craig Murray #6
###
Letter #6 Delivered 19 Sep 21
Hi Craig,
Heeding your words about not getting research done I’ve decided to keep to a weekly cadence.
I’m now wondering which Lord George Murray you’re researching, as a quick search brings up a few of them over the years?
It’s good to hear that books are making it through. Though it’s sounding like you’re inundated with correspondence. My top pick from the selection I sent would be Accelerando. A colleague who read it at my recommendation many years ago was commenting a few days back that it’s one of the most memorable books he’s read, ‘especially the strange dreams’. You may also like that some of it is set in Edinburgh.
Part of my weekday routine is to take the dogs downstairs for lunch at midday, and I usually put BBC News 24 on in the background whilst I prepare something to eat. On Tuesday the channel was rebroadcasting Sturgeon’s keynote to the SNP virtual conference. It was pretty captivating. Across a whole range of topics I found myself wanting what she’s selling – climate, Europe, land reform, healthcare, education. The entire package. It’s easy to see why the cult of St Nicola is so strong. The cognitive dissonance of holding that together with the implications of your reporting must be too much for many people. For those of us who can deal with that dissonance what’s left is an almost suffocating level of disappointment and emptiness. Who can be the leader to deliver the package whilst not being mired in corruption?
Which brings us to BoZo’s reshuffle. Nadine Dorries! I can only imagine that she was made Secretary of State for Culture Wars because Hatie Kopkins isn’t an MP, and ennobling her would be too far even for this lot. I feel like I’ve seen this show before, with Major’s cabinet full of inadequates after a decade of power had chewed up and spat out anybody with gumption. But somehow this remake is much much worse.
And the dead cats keep bouncing. Vaccine passports. No vaccine passports. Changes to travel restrictions. Imperial weights and measures. On the latter point this from Prof Tanja Bueltmann really landed with me “Those who use the past to make policy in the present… do so because they have nothing to offer for the future. No solutions to pressing problems; no offering for the next generation. Just a big gaping hole. It’s bleak.” The press has not yet learned to see past distraction and keep their eye on the balls in play; which is why we need you back in front of a PC soonest.
Keep strong.
Best regards,
Chris
###
Highlights of Craig’s reply
Yes, Nadine Dorries as culture secretary really is beyond satire. We live in some strange kind of earthly hell. Somebody else wrote me about the return of imperial measures, and I honestly thought they were joking.
Nicola Sturgeon is very convincing indeed… The banning of protests from near the Scottish parliament is a much better guide to what’s really happening.
Some books are reaching me, but only those bought through Blackwell’s I think. I don’t think any which are supposed to come via donation to the library have actually got here yet, including Accelerando.
Filed under: CraigMurray, politics | Leave a Comment
Tags: books, culture wars, dead cats, journalism, reshuffle, Sturgeon
TL;DR
Bad input validation is the main underlying cause of many application security issues, because we haven’t made it easy enough for developers to implement good input validation. So how about a TypeScript[1] like language to resolve that – ValidScript – a language that makes it easy to do input validation?
Background
Wendy Nather recently asked me:
Survey for my talk at OWASP’s 20th Anniversary conference:
In the last 20 years, what’s one of the most important things you personally have learned about appsec?
After not much thought my answer was:
Input validation should be baked into languages and frameworks, to make it stupid easy for developers to write safe apps, but still isn’t.
I then went on:
My thinking here is that if there was a language (likely a JavaScript derivative like TypeScript) that treated input as UNSAFE until it washed through a set of standard validators, then we could get to the place on input safety that we seem to have achieved with memory safety in Rust. The compiler would essentially support an input taint checker.
Wendy suggested that I should blog about it. This is the post. I’m calling my invented language ‘ValidScript’, and I’m somewhat amazed that the name isn’t already taken[2].
The problem
The OWASP Top 10 has pretty much remained the same for the whole time it’s existed. The ordering might shuffle around a bit, but the underlying problems remain firmly entrenched.
The root cause for many of those underlying problems is not doing (adequate) input validation.
Why?
Because input validation hasn’t been made easy enough. Because in every popular language it’s still left as an open ended exercise for the developer to write their own validator.
We’ve made great progress on memory safety
The proliferation of garbage collected languages made it harder to coerce a buffer overflow from some bad input, and then Rust came along to provide memory safety without the garbage collection overhead (you just have to fight with the compiler borrow checker instead).
But that doesn’t really solve the problem
Buffer overflows are just one of the things that can go wrong. Bad input can still go on to cause database injection, cross site scripting, insecure deserialization etc.
An example
I maintain some scripts to dump cards from GitHub projects into a .csv file that can be imported into Planning Poker. Our scrum master, who’s the primary user of the scripts, complained that import had been truncated to just 7 cards (from 18). I took a look at the file[3], and it was quickly clear what had gone wrong. Somebody had put a comma into an issue title, resulting in too many columns in that row, resulting in a bad import. I’d failed at input validation (and frankly so had the Planning Poker importer[4]).
I’d note that this code doesn’t even directly take user input. It’s reading stuff out of the GitHub REST and GraphQL APIs, which both output JSON. But valid JSON doesn’t necessarily make for valid .csv.
Of course I can take to Stack Overflow and find out how to strip out any commas with something like:
title = card["title"].replace(",", "")
But that doesn’t deal with other special characters that might cause trouble in my .csv, and it quickly becomes unwieldy (and slow) if I run the string through multiple replace operations.
So back to Stack Overflow for a more general purpose approach:
title = re.sub('[^A-Za-z0-9]+', '', card["title"])
But that strips out all the spaces, and a few other characters that I still want, like @ and .
Also I see some very long titles, that I want to truncate, which means I end up with:
title = re.sub('[^A-Za-z0-9.@ ]+', '', card["title"])[:80]
This should not involve Google and Stack Overflow
My modest proposal is that the ValidScript language has input validation built in.
If you want your code to compile, then you have to specify where input is going, so that an appropriate validator can be applied.
For the case above I’m putting my input (from the GitHub API) into a .csv file, so I’d choose the CSV validator.
The validators can of course be overridden, but that’s an active choice, and the aim is to have safe defaults.
Conclusion
Input validation should be a first class construct of a programming language, and that’s what ValidScript would do. To make it easy to do input validation, to make it easy to avoid OWASP Top 10 mistakes.
Notes
1. I’m not a huge JavaScript fan, but I get the reasons why it’s #1, so building on the TypeScript approach seems like a pragmatic way of reaching the most people. I’d also note that most of the issues come from strings, so extending the TypeScript approach to better string safety seems sensible.
2. I already grabbed validscript .com, .org & .net and for now I’ll get them redirected to this post.
3. Looking closer at the file it’s almost like The @ Company team were playing a game of bad input golf. Double colons, leading spaces, mismatched quotes, the list goes on.
4. The importer shouldn’t have failed on one bad line, and I’d expect it to continue with the other lines.
Filed under: code, security, technology | Leave a Comment
Tags: appsec, input validation, javascript, OWASP, security, TypeScript, ValidScript
My first published programs
Background
This post has been a long time in the making. But a couple of things happened in the past week that prodded me to finally write it.
Firstly there’s this epic thread from Shahid Kamal Ahmad about becoming a games developer in the early 80s.
And then there was the awful news of the passing of Sir Clive Sinclair, who made computers cheap enough that I was able to write programs in the first place.
The early part of my story was very similar to Shahid’s. I even once put a classified ad into a computer mag for my awful BASIC ‘Draw’ program for the Dragon 32, and I too got zero orders. I was younger, and a bit slower to learn machine code, so when ’84 came around I wasn’t the kid being asked to port Jet Set Willy to the C64.
It was October ’86 before I got anything published, and then I hit jackpot with two programs in the same month.
Simon
The first to hit the news stands was Commodore Computing International (CCI), who carried my Simon program for the C16 and Plus/4:
CCI never actually paid me for it, despite various chasing phone calls, letters, invoices etc.
This wasn’t the last time I coded Simon. It became one of those things that I often repeat as a way of learning my way around a new language or platform.
Commodore 1541 Disk Utilities
Personal Computer World (PCW) my favourite magazine of the era published these, which I used frequently myself:
PCW did pay (£60 if I recall), and then a little while later another cheque came from VNU for ‘Synd pub’, which was a pleasant surprise. I think the cash went towards paying my mum back for the Star LC10 printer I’d bought so that I could produce decent listings.
The front pages
CCI was featuring ‘Hands on the 64C’
and PCW heralded the debut of Amstrad’s cheap PC clone, the 1512, which was about to earn my a lot of pocket money as I got the small businesses of North Shields up and running on Sage accounts etc.
Who’s C Whitfield?
The eagle eyed amongst you might be wondering who C Whitfield was. That was me. Long story, and not one that I really want to recount here…
Filed under: retro | 1 Comment
Tags: 1541, BASIC, C16, C64, CCI, Commodore, PCW, Plus/4, publishing, Simon, utilities









