* Posts by Ken Hagan

8168 publicly visible posts • joined 14 Jun 2007

Torvalds intentionally complicates his use of indentation in Linux Kconfig

Ken Hagan Gold badge

Re: Semicolons and curly braces, forever.

Hmm. Learning how dd works by trial and error sounds interesting.

Ken Hagan Gold badge

Re: Semicolons and curly braces, forever.

Zero, surely? Either the text lines up with the logic or it doesn't.

Senator Warren slams Intuit's 'junk fees' as America's Tax Day rolls around again

Ken Hagan Gold badge

Assuming the government wants to check your numbers, they have to generate your tax return anyway. Why not do it before the due date and share the answer with you?

Ken Hagan Gold badge

Re: A solution?

For reference, the "solution" in the UK is two-fold.

The vast majority do nothing at all. Tax is deducted through Pay-As-You-Earn by your employer, who has no idea of any special circumstances that might apply to you but no-one (including the Inland Revenue) gives a shit as long as the bottom line is close enough.

Secondly, if your case is more complicated or you are a masochist, then you can fill out a tax return on the Inland Revenue's website. Again, as far as I am aware, no human being actually checks the numbers in most cases because most folks are honest and the amount paid is probably close enough for government work.

I assume that checks are made in a randomly selected number of cases, and in cases where the numbers are well outside 1-sigma of the population average. But basically ... most people do nothing and most of the rest use the government website and almost certainly no-one in the UK pays the right amount of tax. Still, the system seems to work well enough that no-one wants to spend more time or money on a new one.

Microsoft to tackle spam by restricting Exchange Online bulk email

Ken Hagan Gold badge

"legitimate bulk commercial email," such as newsletters,

Sounds like spam to me. Can't these people just put the newsletter on their website?

Open source versus Microsoft: The new rebellion begins

Ken Hagan Gold badge

If there is a use-case for 3 people to have Excel then why wouldn't you treat that the same way as 3 people who use some other obscure app that only exists in Windows flavour?

Loongson CPU that performs like 2020 Core i3 makes its way to Chinese mini PCs

Ken Hagan Gold badge

Re: Speculative Execution Vulnerabilities?

At the clock speeds we're talking about, I doubt you could manage 2020 levels of performance without speculative execution.

Ken Hagan Gold badge

Re: Probably not exactly a bargain.

"Core I3-level tech" is a pretty meaningless term, since Intel have been pushing that branding for a decade and a half.

BOFH: The new Boss, Aiman, is suspiciously good – for now

Ken Hagan Gold badge

Re: Totally OT question

I think "vanilla" might be a fair translation. I've never heard it used to mean "actively bad" but your basic, entry-level thingy is never very good, so there is scope for confusion on that point.

GCC 14 dropping IA64 support is final nail in the coffin for Itanium architecture

Ken Hagan Gold badge

Re: Rolling rolling rolling ... rawhide

Probably all true, but it doesn't help you. The central problem for ia64, known at the time and still unsolved, is that real-world code is gnarly. It has data depencies every half dozen instructions and branches every couple of dozen.

You could have an infinite number of execution units and feed the entire program to the CPU in one truly epic instruction, and you still wouldn't have any more parallelism than a modern out-of-order CPU.

Rust rustles up fix for 10/10 critical command injection bug on Windows in std lib

Ken Hagan Gold badge

It's worse. CreateProcess actually lets you feed two strings, one for the launched app and one for the arguments, but for various reasons I (and possibly others) have long considered that one should leave the first string empty and put the executable as the first "argument".

This is far from obvious, but certainly plays more nicely if the program being launched expects argv[0] to be the program name, which many command-line programs do.

Ken Hagan Gold badge

C doesn't know either. Because Windows leaves it to the app, plenty of apps do it differently and there is simply no way for a runtime library to do it safely for CMD.EXE without knowing all the individual apps launched by the .CMD script.

Ken Hagan Gold badge

Re: Argh

Only a complete idiot locks down PowerShell but leaves batch files usable, precisely because it leads to the outcome of everybody continuing to use batch files for tasks where a PS script would be faster, safer, more flexible and cheaper to both develop and maintain.

Ken Hagan Gold badge

Re: Ha! Rust Is The Answer To All Our C Programming Security Issues?

Fixing CMD.EXE (or COMMAND.COM)? According to Raymond Chen it was considered, but by the time you have added enough warts to let existing .BAT files run you find that you haven't fixed anything.

That's why PowerShell exists (and was designed from scratch, with no "compatibility" for .BAT files).

Probably worth pointing out that there are people who object to linux shell scripts that only run on bash. The choices facing anyone who wants to fix a design error without breaking ecisting users have always been the same -- you can't really do it so it's just a question of how many people you want to piss off now (by making a new thing) versus how many in the future (by not making one).

It's 2024 and Intel silicon is still haunted by data-spilling Spectre

Ken Hagan Gold badge

Re: 3.5 KB / sec

At roughly 10MB/hour, 2GB/week, and some heuristics about memory layout, a few months would perhaps be enough to let you examine your cloud provider's host's kernel memory. Rich pickings there and an embarrasingly parallel attack strategy so I assume it has already been done.

Ken Hagan Gold badge

Re: As an outside observer...

The numbers don't lie. One branch every 10 cyckes as an average seems fair, possibly even conservative, so the 50% drop is probably also fair.

Of course, if you are running trusted software on silicon that you own and your browser isn't attempting to be a real-time platform in its own right, then you needn't worry about any of this.

Notepad++ dev slams Google-clogging notepad.plus 'parasite'

Ken Hagan Gold badge

Re: "They Said"

1375 is, in fact, within the date range usually described as "Middle English", known to squillions of school-children through being force-fed Chaucer as part of their "English" curriculum. Singular 'they' is, therefore, arguably older than English. Not quite as old as 'it', however, since that appears to have been invented in the 1100s as a way of avoiding being gender-specific for inanimate objects. Using 'it' to avoid mis-genering nouns is, of course, medieval woke shit and therefore OK.

Bon Jovi, Billy Eilish, other musicians implore AI devs to think of humanity

Ken Hagan Gold badge

Re: The pot calling the kettle black

There is radio, for now, but the price of a broadcasting licence presumes that the audience are humans, who might go on to buy a copy so that they can choose when to listen. If the audience now includes AIs that will only ever listen once to derive the full effect, I expect the cost of a broadcasting licence to (massively) increase to reflect that.

Ken Hagan Gold badge

The truth probably lies somewhere in between.

Professional photography was severely hit when technology allowed rank amateurs to get good enough results. It meant that a lot of lucrative work disappeared and the only survivors were the ones who were either really good or had access to a sufficient volume of more difficult assignments.

AI will soon start creating good enough muzak for jingles, background noise or TV theme tunes. None of those need to be great, but they are all currently good earners for a jobbing composer.

Ken Hagan Gold badge

Re: The pot calling the kettle black

"For 'inspiration' NOBODY gets paid."

Untrue, unless you are listening to a pirate copy. The argument in the article is that the AI is trained on (inspired by) pirate copies.

German state ditches Windows, Microsoft Office for Linux and LibreOffice

Ken Hagan Gold badge

Re: It's déjà vu all over again

This move appears to be timed to coincide with MS actually withdrawing from the market (of operating systems that run on the computer you already own) so it is hard to imagine a repeat of those events in this case.

Ken Hagan Gold badge

Re: Wish them the very best

The average user wants an email client that displays a list of what's come in. Pretty much *every* other feature is an impediment. In particular, the ability to make me "late" for a meeting in my calendar by sending an email to me is an unmitigated evil that should be burned, poisoned, stabbed and flayed (along with its authors).

Rust developers at Google are twice as productive as C++ teams

Ken Hagan Gold badge

Re: just give common knowledge (without any real data)

But isn't Android based on Linux which is written in C? Comparisons of this nature are complicated but C is a *very* different beast from C++ in just about every respect other than its lexical structure.

Simulation reveals all Japanese will have the same surname by 2531

Ken Hagan Gold badge

"Making predictions half a millennium into the future is a good idea. Nobody's going to call you on it if you're wrong."

Not true. Nostradamus was making predictions just under 500 years ago and people are always dissing the guy!

Security pioneer Ross Anderson dies at 67

Ken Hagan Gold badge

Re: A real loss.

Surely one man's locked boot loader is another man's secure device, at least in the embedded space where it isn't reasonable to ask the (absent) user to type in a cryptokey (on an absent keyboard) during the boot process.

Ken Hagan Gold badge

Re: Retiremant Age

Sadly the state of academic funding means that each new entrant at the botttom displaces someone on the next level up and so on until, yes, someone at the top needs to move out to make space.

Want to keep Windows 10 secure? This is how much Microsoft will charge you

Ken Hagan Gold badge

Re: gog/linux

If you are considering games, I think there is quite a difference between a VM and bare metal.

Ken Hagan Gold badge

Re: Per installation cost

In fairness, if you join in year two then you will want the patches from year one.

TSMC boss says one-trillion transistor GPU is possible by early 2030s

Ken Hagan Gold badge

If the lower chiplets are memory, they will be basically idle most of the time and could be designed to trade some capacity in exchange for a ridiculously low leakage current. The power per unit area might not be much higher than today.

AI hallucinates software packages and devs download them – even if potentially poisoned with malware

Ken Hagan Gold badge

Re: AI Feng Shui Expert

For those who don't want to risk it, a "I’m a psychic medium on Medium. •BA in Psychology •Substitute teacher •Lover of pink" is trying to sell small lumps of rock to people who have larger lumps of inanimate matter between their ears. Fairly harmless, as these things go.

Ken Hagan Gold badge

Re: No

But the AI doesn't perceive anything. The resulting code has an unresolved external dependency (that termonoligy is already more specific than hallucination and is long-established) which is then turned into an attack vector by providing some malware of the same name.

I don't see that introducing the term "hallucinate" does anything for clarity. On the contrary, it seems to blind people to just what a fucking stupid balls up this actually is.

FTX crypto-crook Sam Bankman-Fried gets 25 years in prison

Ken Hagan Gold badge

Re: Is that the end of it all?

I don't think they can be held liable for the actions of another adult. Their background does, however, completely nail any idea that their son couldn't be expected to understand the consequences of his actions. He appears to have taken several billion dollars of other people's money and just spent it on himself and his friends with no realistic prospect of ever being able to pay it back. The rest of us need to be protected from people like that.

Majority of Americans now use ad blockers

Ken Hagan Gold badge

Re: Do they work?

I'm asking about the fair number of articles I've read on this site in recent years about how various ad-blockers have changed policy to allow "good ads" and how Google's changes to how their plug-ins work have led some ad-blocker authors to claim that it stops them from effectively filtering content. I assumed that this was common knowledge among the readership here, but based on the downvote pile-on perhaps that isn't the case.

Ken Hagan Gold badge

Do they work?

I wouldn't trust an ad-blocker running in the browser created by one of the principal offenders. Even if 50% are "running an ad-blocker" are they actually blocking all the ads, or just the ones that their browser vendor doesn't make money from?

Fujitsu set to be preferred bidder in UK digital ID scheme

Ken Hagan Gold badge

I think you are assuming I have exactly one phone.

Ken Hagan Gold badge

Re: More control freak bollocks

"All that money to do something we do not need already have."

We already have a system for issuing passports. Put some money into issuing a passport to all 16-year olds who don't already have them. (You could organise it through the schools so that persistent truants don't get one.)

Then issue a credit-card sized summary of the passport's photo page and use that as your proof of age.

Since the hard part of verifying the identity of the applicant has (presumably) already been solved by the passport office, I bet that would be cheaper than this proposal, quicker to roll out, and have fewer failures. As an added bonus, the extra resources to the passport office would help the rest of us.

UN: E-waste is growing 5x faster than it can be recycled

Ken Hagan Gold badge

Very wise!

Even good second-hand beer tastes like piss.

Judge demands social media sites prove they didn't help radicalize mass shooter

Ken Hagan Gold badge

Re: "Just carry on with the weekly mass murders"

Almost certainly, but why is it only the US that has this problem? Do other countries not have criminals, or do they not have illegal guns, or it is something else they don't have?

Suppliers to Intel and TSMC's Arizona fabs now face build delays

Ken Hagan Gold badge

Re: The only way to make it work is a jump start (jump over the ocean)

"It's an open secret that US Aircraft Carriers are no longer safe operating in those waters due to advances in drone and missile swarms."

Oh sure. Try taking out a US carrier sometime. No need to tell us how you got on. We'll probably be able to hear Uncle Sam's reply from just about anywhere on the globe.

What strange beauty is this? Microsoft commits to two more non-subscription Office editions

Ken Hagan Gold badge

Why the hell would that embedded system be running an OS that you even /could/ install Office on?

Ad agency boss owned two Ferraris but wouldn't buy a real server

Ken Hagan Gold badge

Re: "They have that kind of money"

For the price of a Ferrari, would it grey?

Sunak's defunct SaaS scheme spent seven percent of budget designed to help 100,000 SMEs

Ken Hagan Gold badge

Re: One for the how not to text books

Surely incompetence is exactly what leads to a pattern of behaviour? Or did you believe them when they said "Lessons will be learned."?

Developers beware, Microsoft's domain shakeup is coming soon

Ken Hagan Gold badge

Nah. If they wanted to play that game they'd just buy Montserrat. (Population under 5000. GDP around $60m. Country code .ms.)

The end of classic Outlook for Windows is coming. Are you ready?

Ken Hagan Gold badge

Re: Confused

Thunderbird can talk to exchange using a paid-for add-in. I used to use it but then my Exchange stopped serving anything except trusted clients and that didn't include "thunderbird on a linux box outside the usual domain". A fair admin policy decision, but not a technical limitation. A friendly Exchange admin might even enable the IMAP support, in which case no add-in is required. Again, a policy decision rather than a technical limitation.

Perhaps if MS really screw up Outlook, Exchange admins might be irritated in their own daily usage and be open to the idea of facilitating broader access.

Ken Hagan Gold badge

Re: I need classic outlook

I run an IMAP server (dovecot) on a machine that I have locally. That's more portable than PST files, but you would need to spin up a Linux box, such as a RPi, to run it if you didn't already have one.

Microsoft Copilot for Security prepares for April liftoff

Ken Hagan Gold badge

Re: Papering over the cracks

Yeah, but they'll be papering over those cracks at machine speed now.

Trying out Microsoft's pre-release OS/2 2.0

Ken Hagan Gold badge

Re: 30 years later...

I think you are confusing two things. Win3 could run in "real mode" where it did indeed do all that shuffling. It was a fantastic overlay manager and ran quite happily on an actual 8088. Sane users ran in "386-enhanced" mode where the windows kernel was a protected mode OS moving segments by fiddling with descriptors.

Then of course there wasthe third thing, where DOS device drivers were "supported" by running them in the first VM and redirecting all device I/O from other VMs into the first one so the poor little DOS driver never had to worry about being "instanced".

Impressive, in a depressing way, that it ever worked.

Ken Hagan Gold badge

Re: Microsoft Presentation for the 1989 IBM PS/2 forum

“I have written a PM app that hangs the system (sometimes quite graphically)”

This was a design flaw in OS/2 (or Presentation Manager) which MS avoided in NT. PM used a single thread for keyboard and mouse input (which put it at the mercy of one badly written app. NT decided very early on (that is, entirely within code that they controlled) which app would get the input and maintained a separate input queue for each app.

I suspect that if OS/2 had won the day then this design flaw would have been fixed. (Perhaps it was. I didn't keep up after it was clear they'd lost the market.) But it was definitely there and MS definitely learned the lesson.

Ken Hagan Gold badge

Re: Very Different

"The existence of _MS_ OS/2 2 shows it didn't happen like that and even as MS was getting ready to launch Win3, it had MS OS/2 2, lacking only the WPS."

I'm a little puzzled by this. I too, was around at the time and I was aleays under the impression that Win3 was a bodge job: taking the (beta) OS/2 kernel and running the latest development version of Windows (then a 286-friendly but strictly 16-bit system) in one of the virtual DOS boxes. This explains why Win3's "virtual device drivers" used the same "linear executable" format as OS/2 device drivers. They were basically the same.

Microsoft's real commercial genius was to realise that there were bog-all OS/2 programs (all 16-bit) but lots of Win1 and Win2 programs, so what people would actually buy was a better way of running the latter, not the former. Win3 was that better way.

It was also possible, though I can't recall the details, to launch Windows in such a way that only KRNL386.EXE was loaded and not GDI.EXE or USER.EXE. this gave you a DOS session running in the virtual DOS box. It was a nice illustration of how 16-bit Windows was always just a fancy DOS program, but it wasn't actually useful because at the time there was really only one DPMI-capable program in the universe and that was Windows.

Attacks on UK fiber networks mount: Operators beg govt to step in

Ken Hagan Gold badge

Re: simple.

I don't know how you are defining "national infrastructure", but I'm fairly sure that setting fire to telecomms kit is "criminal damage" and already punishable on those grounds. All you have to do is catch the criminals.