The Register Home Page

* Posts by Doctor Syntax

42396 publicly visible posts • joined 16 Jun 2014

Page:

Let us git rid of it, angry GitHub users say of forced Copilot features

Doctor Syntax Silver badge

Re: I'm not in any way a developer...

"The thing that made Github great (and will likely keep it going for a while) was the network effect "

The network effect is positive feedback. It accelerates ravel in the current direction. That works both ways. Once the movement elsewhere starts it becomes unstoppable.

Doctor Syntax Silver badge

Re: Embrace, Extend, Extinguish

Vocabularies are determined by usage.. Enshittification is the established usage. I'm not sure if it's made its way into the OED but if it hasn't its time can't be far off.

US cuffs 475 at Hyundai–LG battery plant – feds tout largest single-site raid

Doctor Syntax Silver badge

Re: Hmmmm, what day is Kristallnacht this year?

Maybe need to brush up on your reading skills.

Doctor Syntax Silver badge

Re: anti-EV

"Not sure I would trust the contemporary merkan brains trust with live steam or high pressure boilers."

On second thoughts it might be just what's needed.

UK government dragged for incomplete security reforms after Afghan leak fallout

Doctor Syntax Silver badge

What a difference a week makes. He's move on. His replacement an an historian.

Doctor Syntax Silver badge

"Senior minister Pat McFadden"

He's pushing for digital ID for the UK population. Guess how what his IT qualifications are - that's right, an MA in Politics.

I suppose he'll be able to leak everyone's information at one go if he gets his way.

Doctor Syntax Silver badge

Release of sensitive data needs a proper release process to restrict it to trained individuals, proper sign-off etc.

Doctor Syntax Silver badge

"Seems the ICO is marking it's own homework if they have allowed the MoD to dictate the terms of their investigation"

It's the MoD that owns the guns and the MPs (no, not those MPs) so setting the terms would have been a bit one-sided.

FCC plans to kill Wi-Fi on school buses, hotspots for library patrons

Doctor Syntax Silver badge

Re: Control flow of ideas

"My options for doing that are to drop all addresses in the .uk namespace or to not. I do not get to pick and choose."

And if you're a whimsical US president who decides on a whim to drop all country domain addresses in a country that's upset him today, then that would suit you fine. You just pick and choose that country domain.

Doctor Syntax Silver badge

"spent scarce taxpayer dollars,"

But surely they're not going to be scarce because the tariffs are going to being in bigly big dollars paid for, in some not yet explained way, by all those other countries who have been taking advantage, in some also not yet explained way, of the US.

Trump tells Big Tech: Your power woes? Totally fixable

Doctor Syntax Silver badge

It sounds like a terrible dinner. The main item on the menu was arse-licking.

Doctor Syntax Silver badge

What do you propose should happen when we, or our children run out of non-renewables? You realise, don't you, that that's what non-renewable means? Wouldn't it be a kindness to leave a little for them, not necessarily as an energy source, but as feedstock for manufacturing?

Living within our means is a requirement for humanity to continue to have a future on this little blue blob.

No chips for you! Senator wants Americans to get first dibs on GPUs, restrict sales to others

Doctor Syntax Silver badge

"Guaranteeing Access and Innovation for National Artificial Intelligence"

I suppose national artificial intelligence is needed when there's a shortage of the real thing.

Techie ended vendor/client blame game by treating managers like toddlers

Doctor Syntax Silver badge

Next time there's an error ask them to please find no fault again.

Frostbyte10 bugs put thousands of refrigerators at major grocery chains at risk

Doctor Syntax Silver badge

"The reason Copeland created this default admin user "ONEDAY" with a predictable, daily password was due to customer demand, Weaver explained, because it made it easier for refrigeration contractors to remotely access and control the systems. "

Ah, yes. Convenience. It will be so convenient for service to remotely access the systems to fix them after they've been so inconveniently shut down by miscreant who found it so convenient to log in remotely to break them.

Convenience beats security every time.

Norway's £10B UK frigate deal could delay Royal Navy ships

Doctor Syntax Silver badge

Re: diverted to the new customer

"maybe Norway are paying more for getting theirs early"

The T&Cs, including delivery times, are also part of the product, whether it's frigates or anything else.

Doctor Syntax Silver badge

"Perhaps making things like the right to vote dependent on service to the nation"

Define "service to the nation".

Doctor Syntax Silver badge

"most people who actually did it will tell you that it was an utterly pointless waste of their life "

I'm just young enough to have missed it and was quite happy it turned out that way. OTOH I have some cousins who were caught up. One had a couple of years in, I think, the merchant navy and one in the RAF (non-flying) The both enjoyed it, the RAF one was involved with the reserves running the local air cadets for most of the rest of his life. Another was in the army and a bit younger. He ended up in the Korean war and was, I think, affected by it for the rest of his life. It doesn't pay to generalise.

Doctor Syntax Silver badge

"he majority of young people of today aren't actually willing to fight for their country."

Except in exceptional circumstances the majority of young people aren't needed to fight for their country. In exceptional circumstances attitudes can change.

I was a part-time DBA. After this failover foul-up, they hired a full-time DBA

Doctor Syntax Silver badge

"Yes, Derek should have RTFM. Has failing to do so led you into trouble?"

The real trouble starts when the manglement read the sales lies blurb and believe it.

No, take a step back - when the vendor reads their specification and believes it. Works in test is not the same as works in production. Works in production on original platform and works in test on ported platform is not the same as works in production on ported platform.

Programmers: you have to watch your weight, too

Doctor Syntax Silver badge

Re: With all due respect. . .

We're dealing with an essentially chaotic system. The really worrying thing is that sufficient change makes prediction unreliable which the even more frightening aspect. If the northern landmasses get colder does longer snow-lie reduce the Earth's albedo sufficiently to push us into a new ice age*? Or does it stabilise a new, intermediate state? Or oscillate between various states over a period of a few decades?

* AKA ending the current inter-glacial.

Doctor Syntax Silver badge

If you're freelance the good solution is the key to winning the next gig.

Doctor Syntax Silver badge

What do you optimise for?

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away."

A long time ago when XML was brand new my client had a client that wanted to send them jobs to process in XML.

Up until that time work might have been received in fairly simple formats, maybe even as simple as CSV. They would take apart the various elements of data and store them as separate columns in a database that probably only needed a single table. They'd accumulate enough jobs to run a production batch. The data that was slated to arrive by XML was more complex than previously. It was going to require more tables. But they wanted to keep the same approach. We were to optimise for familiarity at the expense of complexity.

My solution was to use XSLT. A style sheet would read the XML and write SQL to add the data. XML was new at this time and there were no existing tools for shredding it into a database. This worked fine in a quick PoC. The trouble was that they were planning to send XML documents with op to 1,000 jobs in them. XSLT used the Microsoft DOM and that would require at least one order of magnitude more memory than the XML it was transforming. Testing this at production scale burst the available memory. We also needed to optimise for memory.

The solution to that was to add a SAX parser as a front end to spilt the incoming documents into individual jobs. It needed only to recognise the beginning and end of the element that enclosed the job. Each job could then be wrapped up and sent to the existing code one at a time. It didn't need to recognise anything in between, just shove it in the bag. Actually it recognised one or two other elements which represented housekeeping information and passed those on as well. We were optimising for memory at the expense of a little more complexity.

Realising that there would be more like tike in the future I wrote the SAX parser to use a simple name-space I devised for my client. I added a further step using SAXON to transform the client's name space into my client's name-space. All it needed was a new style sheet for a new client. I was optimising for re-useability at the expense of a little more complexity.

The next problem was that the database design used multi-column keys to stitch the tables together. It wasn't fast enough. I had to re-do it using surrogate keys. The XSLT had to insert strings which would then be substituted by s sort of macro-processor. We were optimising for speed by adding some really complex code. It was also a maintenance problem for my client because the client kept adding more stuff to the jobs that required adding ore tables, more code to handle the loading and, consequently, more code to get the data out again to format the output for production. We were optimising for speed at the expense of complexity.

As expected the client had a new contract. Even from the start it would have to handle a variety of types of job (more were added later). The answer was to chuck out all the detail tables and replace them with a single text column. The style-sheet would simply generate the appropriate format directly from the XML. It only required the selection of the correct style-sheet for the job-type and writing the style sheets was straightforward. The re-usability optimisation meant that only a new style-sheet was needed for the first transform and the SAX parser needed no changes at all. The horrible macro-processing stuff was chucked out as was all the code to compose the production format from the multiple tables. We had optimised for flexibility by making it simpler overall because of, not despite, that extra step at the front to transform the name-space.

TL;DR If you know what to add and what to take out the general-purpose solution can be simpler than that dedicated to a specific task.

Doctor Syntax Silver badge

Re: respect?

Another site that requires javascript and cookie option pop-up to show a cartoon. Liam, your point it made yet again.

AI spies questionable science journals, with some human help

Doctor Syntax Silver badge

Re: Sadly

The institutions where the research is carried out could take the matters into their own hands. Instead of papers sending a new paper to a journal the author(s) submit it to their libraries. A library then decides on its merit, probably by consulting the department head or maybe the institution has a publishing committee. If it's OKed it goes on the library's website. The journals are cut out completely.

It might cost the libraries to do that but it's offset by the saving on journal subscriptions.

Doctor Syntax Silver badge

"A questionable journal is one that violates best practices"

With "best practice" being a link to a site that's supposed to tell me about best practices. Blazoned across the bottom of the site's front page is "This website uses cookies to ensure you get the best experience. Learn more about DOAJ’s privacy policy." with a button to click. It's not even an opt out option. Somehow I lack confidence in their notion of what might constitute best practices.

Researcher who found McDonald's free-food hack turns her attention to Chinese restaurant robots

Doctor Syntax Silver badge

Re: Tricky

As it would be using BigCo's logos etc. A copyright writ on the hosting company could have got their attention PDQ. Possibly the fake site could have been linking direct to BigCo to get the logos. In that case there a slightly trickier option to achieve what Zakspade did without hacking the site at all. First set up a new set of logos, ensure all BigCo's sites linked to them and then replace the original logos with messages saything "We're spammers ....". That's trickier in that (a) you have to be sure you've updated all the old links and (b) some eejit in BigCo's marketing won't have got the message and will send out emails with the old URLs.

Doctor Syntax Silver badge

Re: food fight

The quiche of death.

Doctor Syntax Silver badge

"Crims could also make FlashBot foul office systems up or steal intellectual property."

Why do something boring like that when you could set the robots up to have a food fight?

Alibaba looks to end reliance on Nvidia for AI inference

Doctor Syntax Silver badge

Even Trump should have been able to predict this.

His thinking (sic) is that by restricting imports to the US (by tariffs) he can encourage home production. It must follow that by restricting imports to China (by sanctions) he can encourage home production there.

The only remaining question is which country will get in gear faster and the answer to that is the country with most effective existing manufacturing economy.

Techie fooled a panicked daemon and manipulated time itself to get servers in sync

Doctor Syntax Silver badge

That's what happens when you get out of sync. You have to drop in a few synchs to make up the shortfall.

Doctor Syntax Silver badge

"Some folks never really got it no matter how hard we worked."

Not surprising if they were major outsources. It would have got in the way of doing things the cheapest way possible and then what happens to the profit.

Uncle Sam doesn't want Samsung, SK Hynix making memories in China

Doctor Syntax Silver badge

"What tribute Samsung or SK Hynix will have to make in order to convince the Trump administration to grant these licenses remains to be seen."

Announce that the US will bear the brunt of any shortfalls in production. Trump should be happy with that. It will help his balance of payments.

RefreshOS 2.5: The Debian remix that borrows from every desk in the house

Doctor Syntax Silver badge

Re: nice of them

I've just spent about 10 minutes going through the KDE apps I use regularly and a whole lot I don't. All have traditional menu bars, none have hamburger menus. Possibly there are some that default to a hamburger menu that allow for further customisation - some non-KDE apps are like that - in which case I must have forgotten about them. KDE is a rather broad church and there seem to have been a few side hustles so I couldn't be sure of all of them but for day-to-day it's almst entirely the non-KDE stuff which insists on looking like it doesn't belong. Krita, admitedly looks weird but it's aimed at the coloured pencil department.

There was just one miscreant: Kexi. It rsulked because it couldn't find the Breeze icon set. Naughty Kexi.

Doctor Syntax Silver badge

“we counted 37 others…”

And every one better than W11's menu.

Pentagon ends Microsoft's use of China-based support staff for DoD cloud

Doctor Syntax Silver badge

"Microsoft designed its policy of using staff based behind the Great Firewall to comply with government contracting rules"

The letter but not the spirit it seems. Even so, they should have realised it couldn't possibly be acceptable.

I suppose anyone but Microsoft would have found it galling to be lectured on common sense by Mr Signal Leak with him having the right of it.

FTC chair accuses Google of treating GOP's emails as spam

Doctor Syntax Silver badge

PS

nd whatever you do, don't let used* car salesmen run your marketing.

* The salesmen as well as the cars.

Doctor Syntax Silver badge

Seems straightforward enough. Send spam, be treated as a spammer. Don't want to be reated as a spammer, don't spam. Maybe revise the email list? In particular check for return emails - if recipients complain take them off the list.

How Windows 11 is breaking from its bedrock and moving away

Doctor Syntax Silver badge

Re: Windows is a dinosaur

I thought someone might come up with that but it's a long time since it was developed for those architecures.. How easy would it be to take W11 now and port it to them?

Doctor Syntax Silver badge

Re: Intel couldn’t license Arm cores and build chips themselves.

I never said there was binary compatibility. Intal and ARM do not use the same instruction set and hence their native binaries are different.

If you have "binary" compatibility being marketed then either you have a dual weight "binary" that eats your download and disk and the OS picks out the correct half to run or you have an emulation layer that eats some of your CPU on one of the architectures. Done properly there's no problem. You install the correct flavour of OS and the rest works without wasting resources on your computer.

Doctor Syntax Silver badge

Re: It's not a fetish, it's common sense

I didn't read that line the way you did. I suppose I take a rather old-fashioned dictionary approach to fetish as an obsession. and the reason it is an obsession is because it is common sense. As a result Linux doesn't have problems and doesn't even have to resort to abstraction layers to provide cross-platform portability.

Doctor Syntax Silver badge

Re: Intel couldn’t license Arm cores and build chips themselves.

Unix-style OSes have also been ported to many platforms. It's not so much a matter of having control over the full stack, it's a matter of having a stack designed with distinct layers and well defined interfaces.

As a consequence I can run the same distro on an Intel laptop of a Pi and the same apt install command will install the Intel or ARM version of the application and its dependencies as appropriate, I'm not sure Windows could manage that.

Doctor Syntax Silver badge

Re: 'Many of us'?

I thought it had a micro-kernel with BSD userland.

Doctor Syntax Silver badge

Re: Windows is a dinosaur

"It's hard to predict but even code and concepts from Lyons LEO, ICL.. live on in todays tech world so I would say that provided we don't destroy the planet Windows will live on and evolve rather than die out."

Windows had been built around a single platform. Unix was built with multi-platforming in mind. It's not surprising that OSes with a Unix background (I count Apple's offerings in that) find it easier to adapt.

Doctor Syntax Silver badge

Re: 'Many of us'?

Don't forget Android. It's Linux underneath. And Mac is also sort of Unixish, so I'm told.

Older developers are down with the vibe coding vibe

Doctor Syntax Silver badge

"half of their finished software"

Or their half-finished software.

China turns on giant neutrino detector that took a decade to build

Doctor Syntax Silver badge

"Jiangmen Underground Neutrino Experiment (JUNO)"

It looks like they ran out of enthusiasm before they finished their backronym. "Observatory" would have done nicely.

HP bottom line fattens up on a diet of AI PCs and Windows 11

Doctor Syntax Silver badge

Perhaps this explains the number of refurbished Z-Books on the market. I almost bought one the other week but couldn't persuade my wife myself that I needed another laptop.

Cloud computing has become so normal, it's invisible

Doctor Syntax Silver badge

At some point, "cloud computing" will just be "computing." Or maybe, reaching back further in time, we will call it "data processing" as the nerds from the 1960s did.

When that happens we'll be due for a return of the personal computer. (No, phones and tablets don't count. They're half-arsed thin client that can't even manage a decent keyboard.

FBI cyber cop: Salt Typhoon pwned 'nearly every American'

Doctor Syntax Silver badge

Re: If everybody is compromised

For instance, I ought to be able to "lock" my credit using 2FA linked to my phone (by that I don't mean SMS) so even if someone gets their hands on my info that they can't open credit cards in my name and I would need to unlock my credit using my phone before I'm able to do that, or take out a mortgage or whatever.

Then your phone gets stolen...

When your phone becomes your avatar whoever has your phone becomes you.

Page: