* Posts by Ken Hagan

8163 publicly visible posts • joined 14 Jun 2007

How a tax form kludge gifted the world 25 joyous years of PDF

Ken Hagan Gold badge

Re: Format of choice for immediate offline reading, easy sharing or simple portability

"Good luck prying PDF out of the hands of marketing peeps! "

Who cares about any of their shit?

MSDN unleashes a fresh round of unintentional innuendo bingo

Ken Hagan Gold badge

Re: Back to School

" reinforce the view that most IT Professionals are socially stunted."

Er, are you saying that the sociable majority of the population don't make knob jokes?

Ken Hagan Gold badge

Re: Surely

"That's just a shortened form of the word "nobility" though, isn't it?"

Well, yes, but you could equally well observe that "knob" is just the appropriate word for something that sticks out so that you can fiddle about with it to make stuff happen.

OpenBSD disables Intel’s hyper-threading over CPU data leak fears

Ken Hagan Gold badge

Re: Let's start a list...

You have surely lost your bet. Whether something is optimised for SMT depends on the workload. The only way a hypervisor or language could be optimised for SMT would be if it spent more than 50% of the CPU on its own housekeeping rather than useful work.

Ken Hagan Gold badge

Re: A Kludge

"Hyperthreading always was a kludge to desperately keep overlong pipelines full."

I don't think that's fair. It keeps an OoO processor core busier than it would otherwise be if it could only take instructions from one thread of execution. You lose if the second stream of instructions blows your caches (so your workload is memory-bandwidth-limited) and you win if it doesn't (so your workload is computation-limited). It presumably takes fewer transistors than a second core but makes fault handling more gnarly.

End-users have always been able to switch it off in the BIOS, so OpenBSD are merely making it easy to do that after you've booted the OS. Obviously I don't know whether this is inspired by advance warning of another Spectre-like bug, but it seems more likely to me that they just thought it would be prudent in the current climate to have a switch already in place for their users. As the article points out, it is quite believable that being able to share a core with your victim makes a timing attack easier.

'No, we are not rewriting Office in JavaScript' and other Microsoft tales

Ken Hagan Gold badge

Nitpick: Just because your compiler targets a script language rather than (say) x86, doesn't mean your software can now run on the web. You have to port all the APIs that your software picks up from its environment. Of course, if you've re-compiled the whole of Windows into (say) Javascript then, yes, you could have a go at running that in a web page.

Ken Hagan Gold badge

Re: A rewrite is long overdue...

You may welcome a re-write of office using "modern" techniques, whatever those might be, but unless they accurately reproduce all the behaviours of the old software (which, as you point out, can't even be described by MS, let alone anyone else) it won't be fully backwards compatible.

If your re-write isn't compatible, it has to be sufficiently better than the various free offerings before anyone will be willing to pay for it. So ... how much would it cost to re-write Office from scratch, how many copies would you expect to sell and at what cost, given that LibreOffice already exists, largely does what it says on the tin, and is free? I can't see the business case myself. To be honest, I can't even see a business case for fixing bugs in the current version of Office, since every bug fix runs the risk of breaking someone's document and making them jump ship to LO.

It's not a good time to be Microsoft.

Updated: Apropos of nothing, I had an interesting experience the other day. We created a new WORD document, from scratch, in WORD itself, with nothing more than a few paragraphs and some embedded PNGs. It print previewed fine, but printing either to a real printer or to a PDF garbled the images. We eventually got it to print properly by importing into LibreOffice. Just to emphasise how ridiculous this was, we weren't asking for "backwards compatibility" with anything other than the version of WORD that we had used not 5 minutes earlier to create the blasted document in the first place.

Um, excuse me. Do you have clearance to patch that MRI scanner?

Ken Hagan Gold badge

Re: Contract

"Air gapping looks (to me - but it's not my field) like the best tech option,"

I think that is too strong. Taking Wannacry as an example, if the dodgy device has the power to write results to a network share, but only supports an insecure protocol, you can protect it by placing that network share on a raspberry-pi-sized device with two network sockets. The one facing the device supports the dodgy protocol and the one facing the rest of the hospital network is secured by the IT admins to current standards.

Call it fruit-gapping, if you like. The point is that the fruit-gapping device is cheap, simple to set up, transparent to the device, and entirely owned and controlled by the hospital staff.

Ken Hagan Gold badge

Re: Computerised medical devices need TWO computers

"There's an additional problem if that computer fails and the approved S/W is unable to run on current H/W. There's a periodic need to update the S/W to keep up with what's available in the market place."

That one is easy. You insist that the vendor either maintains it for the period specified in the contract or publishes sufficient information for you to do so. Failure to do either results in paying back x% of the purchase price, where x% is the percentage of the advertised product lifetime that turned out to be untrue.

Ken Hagan Gold badge

"If hospitals don't buy their equipment (from an industry where all the players operate very similar licence terms) people might die"

Whereas if hospitals *do* buy their equipment from vendors that are running a file sharing protocol that was superseded on security grounds over a decade ago, then people might die.

Ken Hagan Gold badge

Re: obvious solution ...

"You don't have to go that far. Just provide a link that is one-way image data only."

This is a sufficiently common situation that I'd be astonished if someone couldn't come up with a generic solution. Even putting something like a raspberry pi in between the unpatchable equipment and the hospital network would let the IT admins isolate the risk and patch the sole point of contact.

Ken Hagan Gold badge

Re: obvious solution ...

"I don't see why the MRI machine needs to networked."

I don't see why it is allowed to be. In security terms, if the hospital isn't in control of it, then it is no safer than a laptop belonging to a random member of the general public. (The system owner may be innocent in both cases, but because of the lax patch regime, you don't really know *who* is controlling the machine.)

Microsoft says Windows 10 April update is fit for business rollout

Ken Hagan Gold badge

Re: What this story really means

"Please IT depts, why won't you just hit the roll-out button on WSUS? "

Because WSUS is a crock of shit that downloads the whole universe, depriving you of your internet connection for a week, and then stubbornly refuses to make any of the updates available to your clients, leaving you unpatched for your troubles?

Ah, yes, that would be why.

Microsoft tries cutting the Ribbon in Office UI upgrade

Ken Hagan Gold badge

Re: So we're basically back to toolbars again?

Yes, one line of "menu" and one line of "toolbar buttons". The next step will be to make the second line something you can switch off.

Ten years and counting, but eventually they'll get there.

Microsoft loves Linux so much its R Open install script rm'd /bin/sh

Ken Hagan Gold badge

Re: Typical installer written in a large company

Agreed. The installer is not large, but it is usually running with unusually wide privileges and usually attempting to perform fairly wide-reaching actions. You need to know what you are doing and you need to play nicely with the BOFHs. Both of those require experience.

June 2018, and Windows Server can be pwned with a DNS request

Ken Hagan Gold badge

Within speaking distance?

"physical access to a device (ie within speaking distance)"

Does the soundtrack of a YouTube video count as "within speaking distance"?

Intel confirms it’ll release GPUs in 2020

Ken Hagan Gold badge

Re: Beat them on packaging?

"Intel's biggest problem will be delivering drivers that don't suck, "

They only have to suck less than the other two. I've seen plenty of sucky drivers from both over the years.

"... if the drivers don't work people won't buy them."

I think the phrase here is "citation needed". There are a handful of people who have almost religious fervour for grovelling over the latest high-end hardware. They care, but they are only 0.0001% of the market.

Microsoft reveals which Windows bugs it might decide not to fix

Ken Hagan Gold badge

Re: Who's your daddy?

"I am expecting a comment in support of MS's decision to treat bugs in this way at any moment."

Well, yes. Perhaps someone who read the fucking article will chip in. MS are saying that they will prioritise bugs that are both serious and which undermine the system owner's control of the system. Bugs that either aren't serious or that can be mitigated by the system owner being a bit more careful, are a lesser priority and will be dealt with as resources permit.

We can argue about what "serious" means and how many resources should be available, but the policy sounds quite reasonable and most large FOSS projects operate the same way. (In fairness, one or two look like their policy is "I'll fix what I'm interested in and you lot can piss off." but most *large* projects aren't run that way.)

Ken Hagan Gold badge

Re: MS Logic

"The auto-update broke my driver and gave me BSOD!"

If that can be triggered remotely, it's a denial-of-service attack. For example, a BSOD in the driver for a network card or storage driver would fit the bill if it was triggered by particular patterns of data (that an attacker could easily provide from the outside).

Given the scope for additional corruption of the system, unknown in both extent and location, if you can BSOD a box, it is probably quite a serious security bug.

Tech rookie put decimal point in wrong place, cost insurer zillions

Ken Hagan Gold badge

Re: Lloyds

"Why do you think the Y2K bug ever existed if not to save some memory?"

Storing dates as a binary number (like UNIX's time_t) actually saves more memory. I think the two-digit year was so widespread because people really just did write two-digit years and so that was carried over into computer software without thinking about it.

Ken Hagan Gold badge

Re: Lloyds

https://en.wikipedia.org/wiki/IBM_308X

A 1980 IBM mainframe. Ran at several MIPS. Main memory several dozen megabytes if you completely maxed out. Consumed several dozen kilowatts. Cost: I don't know. Could you buy one or was it some kind of rental model?

Compare to the original IBM PC (1981). Ran at several dozen KIPS (yes the clock speed was 4Mhz but instructions took a dozen or so cycles to run and unless you were happy with 8-bit numbers you'd need quite a few instructions even to add a couple of numbers). Main memory several dozen kilobytes. Consumed several dozen watts. (Guessing there. Anyone know?) Cost: $1500.

If you weren't there, it's probably quite hard to get your head round how crap they were. And yet, you could do so much if you were careful about it.

Ken Hagan Gold badge

"Clearly the writers assumed most viewers would never have seen Superman 3."

I haven't seen either film but the plot device you describe was familiar to me before I saw Superman (1). I think the writers were just lazy.

Worst. Birthday. Ever. IPv6's party falls flat

Ken Hagan Gold badge

Re: Follow the $

"my ISP wants > $5/mo to give me a fixed IP on DSL"

That doesn't change under IPv6.

Over DSL, your connection is always on and so your ISP has to bear the cost of an IP address permanently allocated to you. It might as well be static (since that makes like easier for their DHCP server and router tables), but if they change it every month on a normal service, they can sting you for $5 to "just not do that". Some folks will pay.

Under IPv6, expect some "enterprising" ISP to come up with the idea of changing your /48 every month unless you pay them a fee. IPv6 supports renumbering networks like this, so it wouldn't be technically difficult and, as before, some folks will pay.

Ken Hagan Gold badge

Re: Who in their right mind wants cloud based...

"The only reason I can see for this is the ISPs want more control over what flows to and from my home network."

If they want that, they already control the other end of the wire.

I'm with you all the way on the "Hell no, no way, fuck off." bit, but I'm struggling to see the attraction of this product. It doesn't relieve us of the need to update firmware on our router from time to time, because there will still be some device or other at the consumer end of the wire and that device is going to have something running on it and that means occasional bugs and the need for patches. It doesn't even save money, since the only part that is different from a normal router is the CPU and the price difference between some tiny micro-controller and a CPU beefy enough to run Linux is, well, close to zero and falling with every year.

Oddly enough, when a Tesla accelerates at a barrier, someone dies: Autopilot report lands

Ken Hagan Gold badge

Re: Non tesla driver here

- First, find the edges of it. Edge detection is key.

Edge not found for unspecified reason. Now what?

- Lanes have a mostly standardized width,...

Not on this road. Now what?

- Next, look at the motions of other cars,

Road full of nutters who left it too late to be in the correct lane. Now what?

- Last AND least, look at lane markings

Computer vision is rubbish and delivers a *clear* identification of a lane marking that doesn't actually exist. Now what?

Human beings suffer all of these problems, but get around them by understanding the road and the others users at a far higher level, so when they receive implausible information they can reject it and try harder to find some better sources. We find this process so easy that we usually don't even realise we are doing it. Sadly, we've no idea how we do it. The workaround, so far, for autonomous vehicles is to spend shedloads of cash on numerous and exotic sensors that far outstrip the capabilities of our eyes and ears.

Russia appears to be 'live testing' cyber attacks – Former UK spy boss Robert Hannigan

Ken Hagan Gold badge

Re: More FUD

"It certainly feels like we are in a state of conflict,"

To all the cynics:

The article notes that he thinks back-dooring every communications channel is probably a bad idea. He knows full well that Vlad would probably have a copy of the keys before Amber did and he has a problem with that. He may be guilty of exaggerating the threat but at least he is consistent and rational in his response to that delusion.

And he may not be guilty of exaggeration. If Russia *isn't* developing cyber-weapons then I'll eat the hat of your choice. If it isn't testing them in the field, I'd be *very* surprised. My undertanding was that it was broadly understood by all that we are doing both of these things (like, Stuxnet) so why the flippety fuck wouldn't they be doing it too?

And the Chinese. And the Norks. And they are probably all practising on each other too, since I don't detect much mutual love between these three. (Kim is just insane and the other two both want to be top dog once they've trumped the US.)

Android users: Are you ready for the great unbundling?

Ken Hagan Gold badge

Re: EU not content

"All my computers and my phone run Windows 10. ;)"

Sorry, but I'm old enough to reckon that Windows 10 is a UNIX-like operating system. It has been evolving in that direction for a couple of decades and was closer than some others even to begin with.

Ken Hagan Gold badge

Re: Most people think Chrome is the ONLY browser...

I tried mobile Firefox a few months ago but it crashed on startup, which IMHO makes it slightly worse than Chrome.

But cheap snarks aside ... What are people's suggestions for a decent mobile browser?

Ken Hagan Gold badge

Re: EU not content

"Smartphones and PCs are totally different. How they are used, how they are serviced, their lifespan, their upgradability, their app model, everything essentially."

Perhaps they are, but they needn't be. They are both just computers running a UNIX-like operating system. The hardware in both ought to last for a decade or more and, these days at least, is probably powerful enough to still be useful at the end of that period unless you deliberately bloat your OS with a fresh waggon-load of badly written shit every year. Differences in physical size affect their use, but there's no reason why you couldn't plug a phone into a base-station and use a full-size keyboard and mouse. Nor is there any reason to tie one device to a walled garden and let the other run software from old-fashioned third parties.

Funnily enough, though, the big vendors prefer you to upgrade every few years and aren't above using update-starvation to force that issue. They also prefer you to buy two separate devices and synchronise everything by sharing it with their cloud storage. Finally, they would much prefer if you stopped speaking directly to those third-parties and instead used an app store where they get a cut for doing sweet fuck all.

But yeah, it's laughable how people don't understand this.

Have to use SMB 1.0? Windows 10 April 2018 Update says NO

Ken Hagan Gold badge

Re: So for a while now...

"Now, I know there has to be a down side to it. I just don't know what it is yet."

I don't know either, but I do know that the Samba people have put in a lot of work over the years trying to find interoperability compromises between the Windows and UNIX rules for filenames, user identities, security descriptors and locking semantics. It more or less works, so if Microsoft have studied Samba's efforts in detail and put in a similar amount of effort in their NFS client then you'll be fine. (That's not impossible, People like Ned Pyle do appear to be very familiar with Samba.)

Ken Hagan Gold badge

Re: Age means nothing

Most stuff is OK to transmit in the clear. For the really sensitive stuff, like backups, it should probably be stored in encrypted form and so transmitting in the clear is fine. For other stuff, if you are still bothered, a better option is probably to use IPsec and then stop worrying about whether your various higher level protocols have encryption built-in. Sadly, IPsec appears to be stuck in the same tar-pit as IPv6.

Ken Hagan Gold badge

And whilst I'm thinking about this, if Ned Pyle really wants to see the end of SMB1 he should push for MS and people like CERT to issue official statements that any device that defaults to SMB1 is, their considered expert view, not safe to connect to a network in 2018 and therefore not fit for purpose. *That*, from them, would greatly assist anyone who wants to pick a fight with vendors on this point. They could go to their Trading Standards people and say "Expert opinion is on my side here.".

Ken Hagan Gold badge

Depending on how pissed off you are, you might want to argue that the device is not fit for purpose. MS have spent about half a decade pleading with everyone to stop using it ASAP. There's no way this device is fit for purpose even now, let alone for however many years a consumer product is supposed to receive support. (Looks like 6 in the UK: https://www.which.co.uk/consumer-rights/advice/what-do-i-do-if-i-have-a-faulty-product)

Failing that, name the vendor here and we can all tell as many of our friends as possible to steer clear of the brand forever.

In defence of online ads: The 'net ain't free and you ain't paying

Ken Hagan Gold badge

" That's when ad-blocking went in and it's stayed in."

This is a big problem for advertisers. It takes just one bad apple to persuade a user to take the trouble to learn how to block ads and the easiest form of block is a blanket ban. To make it worse, unblocking is a separate job with no motivation, because no-one has ever thought "This ad-free web page needs slower loading times and intrusive distractions.", so it doesn't happen.

So one bad ad experience means the whole industry gets blocked, forever.

Ken Hagan Gold badge

Re: Too little, too late for advertisers

"Why shouldn't El Reg get some advertising revenue?"

Because the ads they use to generate that revenue actually make the site too slow for my browser to load an article, so I can't actually read the content that is being paid for. At least, that was how bad things had become when I stopped white-listing them. And here's the rub -- I'm never going to switch the whitelist back on to see whether things have got better because, frankly, I have better things to do with my life than act as as unpaid parole officer.

"And surely they need to know which articles are most popular with various demographics?"

I don't see why. They may need to know which articles are most popular, but their web server's logs will tell them that. Breaking it down further means identifying and tracking people on this site and then correlating that with spying done on other web-sites to determine the overall demographic. Advertising managed for a century or more without actually having *that* level of detail, so I don't think this is really necessary either.

And anyway, unless the advertisers control the PC I'm using to browse, they only get the demographic information that I choose to share, so their much-vaunted analysis is basically dividing the population into "can use an ad-blocker" and "can't use an ad-blocker".

Ken Hagan Gold badge

Re: Short-lived but well-received

"I think we just have to accept that journalism is following music down the road to being an almost entirely amateur activity."

This, in spades. Applies to basically all forms of publishing. (YouTube's amateur content matches most of the output of "proper" TV stations. Academic publishers are facing a revolt from their own content providers in many fields. Even the porn appears to be free.)

Yes, you lose the editorial quality control and that does mean you get an awful lot of dross (and in the case of porn, probably a fair proportion that is criminal evidence), but if we can find new ways of sorting or searching by (our personal measures of) quality then this won't matter (except for the criminal bit -- I think we ought to be worried about that).

You may also lose the possibility of investigative journalism, which would suit the rich and powerful, but the internet appears to be offering a replacement in the form of millions of individuals who are willing to publish and be damned. It is not clear to me that we'll actually be worse off -- just different.

Monday: Intel touts 28-core desktop CPU. Tuesday: AMD turns Threadripper up to 32

Ken Hagan Gold badge

Re: &f1 == &f2

Are we using the correct tense here?

I think I first encountered a discussion of this point about 20 years ago, in the context of C++ templates producing *many* byte-level-identical functions and then being pretty much obliged (for sanity's sake) to eliminate all but one as a linker optimisation. Once identified, the problem was easily fixed because the compiler can see whether function addresses are ever used as a proxy for identity. I can't say I've heard anyone mention it in the intervening decade or two.

Ken Hagan Gold badge

Re: Gimme speed

"Gimme a 10GHz CPU."

CPU frequencies have hardly moved in over ten years. The wavelength of light at 10GHz is smaller than the die size of aforesaid CPUs. It is quite plausible that you will not live long enough to see a 10GHz part in normal commercial channels. (And no, I have no idea how old you are.)

Ken Hagan Gold badge

Re: Gimme speed

^ Richard 12

I'd argue that assembler is the out-dated concept, not just the hand-coded variety. Modern processors don't really execute instructions anymore, they simply move data from place to place and sometimes the data is changed en route. The limiting factor on speed is nearly always how long it takes to shuffle the required data through the required list of places it has to visit, and making sure that when two pieces of data have to meet up in a place, that they do so at the same time.

Assembly language isn't a particularly good way of expressing the requirements, but out-of-order processing allows the hardware to converts a sequence of instructions into a data-flow, on-the-fly. So we end up with people writing lists of instructions in a high-level language, which the compiler tries to turn into a data-flow but then has to write out as another sequence of (assembly) instructions, which the CPU tries to turn back into a data-flow for the most efficient execution.

Maybe one day we'll figure out how to express non-embarrassingly-parallel algorithms directly. I'm not holding my breath, though. The academics have been looking for such languages for all of my life and no-one has found one. (I think the commercial incentives are now such that any successful solution to this problem would go mainstream within 2-3 years.)

1,300 customers of Brit bank TSB defrauded due to botched IT migration

Ken Hagan Gold badge

Re: Another false claim...

"... prepared to bet my life that there's quite a few people who feel more for those customers than he does."

Well, yes, obviously and I don't suppose your life insurance provider is too bothered by your rash bet. A more interesting question, however, is whether anyone out there actually feels less for these customers than he does. That is, perhaps he is not merely spouting implausible nonsense but is in fact exactly 100% wrong.

US govt mulls snatching back full control of the internet's domain name and IP address admin

Ken Hagan Gold badge

Re: Yay choices

"Can we have option 4, please?"

Give it back to Jon Postel? Even though he is dead, this is probably the most attractive option.

Big bimmer bummer: Bavaria's BMW buggies battered by bad bugs

Ken Hagan Gold badge

Re: Thanks...

"They help sell cars, which is the business car makers are in."

Yes. They help with that, right up to the point where the stories of bugs and hacks reach the mainstream media. I expect most people here have grown up with the fact that the stories we read here are just for us and our friends and family never hear them (unless we re-tell them) but I think that is beginning to change. All the self-driving car hype has made stories about car computers rather more palatable to the wider audience.

Smart bulbs turn dumb: Lights out for Philips as Hue API goes dark

Ken Hagan Gold badge

Voice control should be local

If you must have voice control, it really needs to be done in the device or at least within the LAN. Farming it off to the internet creates problems with both security and reliability. I presume I'm preaching to the converted here, but I wonder how long it will take for the wider world to realise this.

The glorious uncertainty: Backup world is having a GDPR moment

Ken Hagan Gold badge

Is this GDPR or Right to Be Forgotten?

In recent weeks I've seen quite a lot of people pointing out that "data necessary to provide the service" is exempt from GDPR. A reliable backup system is *definitely* fairly and squarely in that category, particularly if there are legal consequences to delivering wrong answers. So I can see no GDPR angle on this.

As for the right to be forgotten, well, IANAL but wasn't all this discussed at length some weeks or months ago?

How much is the drone biz worth to the UK? How's £42bn by 2030 sound? – PWC

Ken Hagan Gold badge

Re: Computable General Equilibrium model

You mis-spelled "my arse".

Ken Hagan Gold badge

Re: PWC

"wouldn't they be better focused on [...]"

I think it is pretty clear from this that they are a bunch of innumerate twonks, so no. Really. It would *not* be better for them to focus on any activity that requires counting.

Max Schrems is back: Facebook, Google hit with GDPR complaint

Ken Hagan Gold badge

"It's almost the fucking year 2100"

Is that a different fucking epoch from "AD", because by my calculations we are closer to 1947 than 2100.

New in 1947:

communist Poland, Polaroid cameras, the Cold War, UFOs, Prince Philip, India and Pakistan, "actual" computer bugs, the AK-47, transistors, Israel, David Bowie.

New Facebook political ad rules: Now you must prove your ID before undermining democracy

Ken Hagan Gold badge

Re: "Concerned Citizens of Alabama"

Labelling helps in the sense that if you haven't heard of the group you can assume that it *is* just a front for some money that doesn't want you to know who they are. That, in the mind of any intelligent voter, is enough to make the content ignorable. This line of reasoning is even automatable: you whitelist the (few) organisations that you do recognise and simply ad-block the rest.

But if you are minded to do any of that, you are probably already using my preferred algorithm for dealing with political ads, which is to whitelist none of them. Any group with anything useful to say has had the years running up to the election to say it. Voters really *ought* to ignore *all* political advertising in the run-up to an election.

Buggy software could lock a Jeep's cruise control

Ken Hagan Gold badge

Re: Automotive Systems & Software

"and the fact that you can over come it by pressing the break"

The implication of the article was that you can't use the brakes - you have to put it in neutral first. In the heat of the moment, quite a few people might not think of trying that. Even if they did, they might not have time because they probably only found out that the brakes no longer worked when they suddenly had to use them.

You've heard that pop will eat itself. Boffins have unveiled a rocket that does the same

Ken Hagan Gold badge

Re: Not new

"But sending a plastic spear through an oxygen-rich atmosphere at high Mach number may prove less practicable."

It's not a bug, it's a feature, though probably only for version 2.

You add some inlets to your device, figure out the amount of oxygen available to you at different points in the flight, and so reduce the amount of oxidant needed in your stick at those points (as measured up the stick).