* Posts by Ken Hagan

8168 publicly visible posts • joined 14 Jun 2007

Ever wondered why that one weird file keeps being included? Super sleuth TypeScript 4.2 is here

Ken Hagan Gold badge

Re: NO

The rot set in about 25 years ago when someone realised you could use an onclick handler to navigate to a new page when someone clicked on a piece of text.

I hope that person was subsequently owned by black hats who emptied their bank account.

Ken Hagan Gold badge

Re: When you use a number as an index into an array, you are seriously lost at sea.

JS is basically a functional, lisp-like language with a C-like syntax. Features like indexing arrays with an integer were added to pander to people who had never heard of cdr or car. Hence, I suppose, the expression "all at sea". (C what I did there?)

Google looks at bypass in Chromium's ASLR security defense, throws hands up, won't patch garbage issue

Ken Hagan Gold badge

Re: shoddy

That's an extra feature.

Ken Hagan Gold badge

Re: shoddy

It's not the best we can do. Get a Real Programmer to write the code in a language that uses deterministic memory allocation. Problem solved.

BOFH: 7 jars of Marmite, a laptop and a good time

Ken Hagan Gold badge
Paris Hilton

Re: Marmite - hmmm

Hmm... Folic acid supplements may be *recommended* during pregnancy, but I don't think they *cause* it.

What's CNAME of your game? This DNS-based tracking defies your browser privacy defenses

Ken Hagan Gold badge

Re: We've just upgraded your internet to default security AAA+ at no extra charge!

You are assuming that your ISP can inspect and edit your packets. I think quite a few people might have a problem with that.

Ken Hagan Gold badge

Re: Waste your money tracking me...

Increasing the penalty for subsequent offences of the same nature would appear to fix that. I wonder what the downside is.

What's that, Lassie? Dogs show signs of self-awareness according to peer-reviewed academic study?

Ken Hagan Gold badge

Re: STD: Smart Telephone Dog

"I guess..."

Maybe. I guess thst the phone is painful to lidten to in the near ultrasonic and the poor dog has learned that only you can make the horrid noise go away. But smart enough either way.

Australia facepalms as Facebook blocks bookstores, sport, health services instead of just news

Ken Hagan Gold badge

Re: Surely good for the world if people get news from mews websites not Facebook etc

"mews websites" -- more cat videos?

Ken Hagan Gold badge

Re: Typical

"There needs to be consensus on what qualifies as a link and what qualifies as a full post that requires compensation imho."

I'd be surprised if there isn't such a consensus already. This is a link: https://www.theregister.co.uk/. Any snippet that goes beyond that is reproducing someone else's content. It would appear that the Australian law actually considers links (according to my definition) to be an "interaction with" the news site, whereas most normal people would reckon you were smoking something if you said that.

The difference matters because if FB (or anyone else) can provide enough of a snippet that you don't have to leave their site, then you stay put and continue to contribute ad revenue to FB. If, however, you have to at least /visit/ the news site, firstly you trigger ad revenue for them and secondly there is a non-zero chance that you might stay there for a bit and not return to Zuckerland. (Oh noes!)

Given that difference in behaviour, with its real financial consequences, it is absurd to consider a raw link as an interaction and the law should not do so. However, the rest of the idea is sound because it makes it hard for the likes of FB to cherry-pick news sites for free. IANAL but I suspect the Australian law could be fixed by deleting two lines of text: 52C.1.b.

52C Interacting with content

For the purposes of this Part, a user of a service interacts with content made available by the service if: (a) the content is reproduced on the service, or is otherwise placed on the service, and the user interacts with the content; or (b) a link to the content is provided on the service and the user interacts with the link; or (c) an extract of the content is provided on the service and the user interacts with the extract.

Citibank accidentally wired $500m back to lenders in user-interface super-gaffe – and judge says it can't be undone

Ken Hagan Gold badge

Nit-pick: If the OP lives in the US and isn't disqualified from voting, their opinion does matter ... but only very, very slightly.

Texas blacks out, freezes, and even stops sending juice to semiconductor plants. During a global silicon shortage

Ken Hagan Gold badge

Re: A new addition to the Third World

And the Republican party is actually looking to make that official: https://en.wikipedia.org/wiki/Texas_secession_movements

I'm surprised the Samsung are still interested. But then, I suppose *everything* is bigger in Texas, including bungs.

Pat Gelsinger promises Intel can go back to the future – in memo to staff shared with world+dog

Ken Hagan Gold badge

Re: The time in now

Speaking as a programmer, this sounds like a horrendous idea, at least for the PC market.

End-users would buy the PC and implicitly choose the features in the CPU. *Then* they'd buy my software. Then they'd find that they'd bought the wrong CPU. Then it would be my problem.

Hitherto, Intel have made pretty much every CPU feature (at some performance level) available on pretty much every chip they sel of a given generation and each generation preserves the features from previous ones. (Yes, I'm typing this on a Xeon box that lacks any kind of Intel GPU, so I'm aware of the edge cases in this line of argument.) That has meant that I've been able to "demand" support for MMX, SSE, AVX and their ilk over the years and customers have been largely oblivious to this "requirement".

As an engineer, this offends my sense of minimalism, but the economics of CPU making seems to be "pay squillions for the first one, all the rest are free", with such variants as there are emerging from QA rather than intentional manufacture, so (happily for my programmer self) I don't expect Intel to take up your suggestion.

President Biden to issue executive order on chip shortages as under-pressure silicon world begs for help

Ken Hagan Gold badge

Re: the US used to HAVE fab plants of their own

$20bn? Pah! We build railways that cost more than that.

Microsoft Patch Tuesday gaffe leads netizens to 'Microosft' typo-squatting domain

Ken Hagan Gold badge

Re: As usual......

Mrs Doyle? Is that you?

Linus Torvalds labels Super Bowl 'violent version of egg-and-spoon race'

Ken Hagan Gold badge

Re: Never understood some names

"If the target object does not start moving at 160 kmh, it is boring to watch IMHO."

Hurling? Ice hockey? Golf? Do tell!

Borkem ipsum: Supermarket gifts Thailand a tech fail that will echo down the millennia – and probably choke a turtle

Ken Hagan Gold badge

Party pooper here...

...but have we considered the possibility that this is intentional? Who reads small-print on a shopping bag anyway, and the Japanese have a long-standing tradition of using western text at least as much as an art form rather than a medium so perhaps the same thing is happening here.

War on Section 230 begins in earnest as Dem senators look to limit legal immunity for social networks, websites etc

Ken Hagan Gold badge

They don't need to sell it on, though.

Nearly 70 years after America made einsteinium in its first full-scale thermo-nuke experiment, mystery element yields secrets of its chemistry

Ken Hagan Gold badge

Re: Open YouTube

Er, not really. (https://en.wikipedia.org/wiki/Neutron) The neutron contains three quarks and one of them can decay into a different kind of quark and produce a W- boson which then decays into an electron and an electron neutrino. Takes about a quarter of an hour if there's nothing else about, so there's probably a cup of tea involved, as well.

Chrome 89 beta: Google presses on with 'advanced hardware interactions' that Mozilla, Apple see as harmful

Ken Hagan Gold badge

...regard Firefox as broken...

...right up to the day of the first exploit against these APIs and the "discovery" that only Chrome is affected.

The good optics of silicon photonics: Light sailing serenely down a fibre

Ken Hagan Gold badge

Yes. The speed of light in glass is reduced by a factor of the refractive index. Ordinary glass is about 1.5 (so 2/3 c) but I don't know what fibres are made of.

A dedicated licence for open-source hardware: CERN OHL approved by OSI

Ken Hagan Gold badge

Re: They say that but...

Dunno. How big is your 3D printer?

European Commission redacts AstraZeneca vaccine contract – but forgets to wipe the bookmarks tab

Ken Hagan Gold badge

Re: Sanofi

There may be politicians who feel that way, but the smart response is to recognise that everyone tried different approaches and (based on what we knew 12 months ago) it is completely random who got lucky and produced a working vaccine.

I am grateful that the French tried whatever it was they did. That could easily have been the only one that worked.

Project Ticino: Microsoft's Erich Gamma on Visual Studio Code past, present, and future

Ken Hagan Gold badge
WTF?

Auto-save

If your editor and computer don't crash every five minutes, why would you ever lose work because you didn't have auto-save? And when "Save All" is only ever a couple of keystrokes away, why is it such a "great feature" for the computer to do it for you?

My memory is a bit dim if you go back too many decades, but the only times that I have ever felt that I'd "lost work" were when I saved something broken over something that wasn't without having first put the working stuff to revision control. Auto-save sounds like a way to automate that mode of failure.

Microsoft Edge goes homomorphic: Nobody will see your credentials... but you'll need to sign in to use it

Ken Hagan Gold badge
Thumb Up

"No one wants a personalized ad based on browsing history ruining all the fun," said Microsoft, using the example of a surprise gift's recipient perhaps seeing an ad over the user's shoulder.

A prize to whoever thought up *that* example so that they didn't have to admit the *actual* motivating example.

The hour grows late, the enemy are at the gates... but could Intel's exiled heir apparent ride to the rescue?

Ken Hagan Gold badge

Re: But there would have been no Intel success if Don Estridge had not decided to cut some corners..

Three points:

Almost no-one actually writes x86/x64 -- we have machines for that now.

Instruction decode is about 1% of the die and only that big because it is done 16-way parallel.

Intel *were* very good at the physical process of making chips. Their current woe is almost entirely due to a succession of mis-steps in that area. *This* has to be Gelsinger's priority.

Debian 'Bullseye' enters final phase before release as team debates whether it will be last to work on i386 architecture

Ken Hagan Gold badge

Re: Major apps are still 32-bit

True, but see the very end of the article. There's a distinction between support for 32-bit CPUs and support for 32-bit apps running on 64-bit OS/hardware.

Ken Hagan Gold badge

Re: I'm finding this hard to believe...

I think Intel's last Atom that could not run 64-bit code was around 2010 or so. Such machines are almost certainly still running and usefully employed, but probably not owned by people capable of contributing to the code maintenance. Also, how easy (and cheap) would it be to replace the hardware? Quite easy for an atom based "normal" PC and much harder for an embedded system, though the latter may not be something you want to slap Debian 12 onto!

Attack of the cryptidiots: One wants Bitcoin-flush hard drive he threw out in 2013 back, the other lost USB stick password

Ken Hagan Gold badge

Am I mis-understanding Bitcoin or should these people have kept a backup (or several) of data that they believed was worth many thousands of pounds?

I realise that the clever blockchain crap means you can't just print money by copying the data, but you can at least protect the money you've got, no?

Linux developers get ready to wield the secateurs against elderly microprocessors

Ken Hagan Gold badge

Re: what is linux good for?

The rationale for case-insensitivity is that in most natural language situations case is not significant. (Try constructing two sentences which differ only by the case of one or more letters and which have different meanings.)

Trump's gone quiet, Parler nuked, Twitter protest never happened: There's an eerie calm – but at what cost?

Ken Hagan Gold badge

Re: AWS now liable?

I think the rationale behind the very fine distiction is that you can change the message but you cannot change your sexuality. Similar lines of argument apply to other characteristics such as biological sex, sexual identity, race, age and disability. Whether they also apply to religion is, I suspect, unresolved.

Ken Hagan Gold badge

Re: AWS now liable?

Picking and choosing, where the material is legal to publish, is an editorial judgement and ought to make them liable for what they leave up. (Enforcing whatever the law says, OTOH, is not IMO an editorial decision but simply complying with the law and refusing to be an accessory to someone else's crime.)

Extreme Networks misses death-of-Flash deadline, suggests winding back PC clocks to keep its GUI alive

Ken Hagan Gold badge

I'll stock up on popcorn then. Recent events west of the pond have more or less wiped out my supplies but this story looks like it might interest m'learned friends.

Developers! These 3 weird tricks will make you a global hero

Ken Hagan Gold badge

Re: Regulations, sometimes they make things worse

So a law intended to preserve appearances has resulted in a really shitty looking ramp front and centre. Classy!

(Well done to whoever found the loophole, btw.)

Ken Hagan Gold badge

Re: Keep your damn "OK" and "Cancel" buttons way apart!

"Do these people have no regard for 40 years of user interfaces?"

I imagine that the average programmer is under 40 and largely self-taught, so no. They really have no regard for 40 years of user interfaces.

Loser Trump is no longer useful to Twitter, entire account deleted over fears he'll whip up more mayhem

Ken Hagan Gold badge

Re: An elephant in the room

"But what of Donald J Trump?"

A century or two from now, Americans will still ask "Who was the second worst president?".

Intel wheels out new face authentication product that works a lot like Apple's FaceID

Ken Hagan Gold badge

One in a million?

According to wikipedia, about 0.3% of the worlds population are identical twins. I realise that these aren't truly identical, but the one in a million claim for the general population translates to a one in a thousand claim applied solely to identical twins, and that sounds pretty unlikely.

Face recognition might be a nice first line of defence, excluding most random hackers fairly easily, but given that "a familiy member" might well be exactly the kind of person you are trying to lock out of your stuff, I wouldn't want it to be the only line of defence.

Lay down your souls to the gods of rock 'n' roll: Conspiracy theorists' 5G 'vaccine' chip schematic is actually for a guitar pedal

Ken Hagan Gold badge

Re: Doh!

"I love America but by God they make it hard to do so."

Au contraire, you should be proud that your country tolerates these fools and their damaging nonsense so indulgently. Lesser countries might just arrest them for bad thinking and put them in a special place where they can be re-educated.

UK competition watchdog calls for views on Nvidia's prospective $40bn acquisition of Brit chip designer Arm

Ken Hagan Gold badge

Re: What Nvidia has in mind.

"the UK should be identifying other companies in a similar position and acting to protect its national IP from situations such as this"

That would have the side effect of discouraging anyone with a good idea from starting up in the UK. Why not start up somewhere else, where you might be able to sell the resulting company for a market rate, rather than the depressed prices you'll get from a limited number of buyers.

It might not be fatal discouragement, but it will probably be enough to discouraging anyone who isn't already in the UK from coming here with their idea.

What can the 1944 OSS manual teach us before we all return to sabotage the office?

Ken Hagan Gold badge

Re: Obviously lazy satire...

You utter bastard...

Watt's next for batteries? It'll be more of the same, not longer life, because physics and chemistry are hard

Ken Hagan Gold badge

Re: So ...

My thanks to both of you, for the theoretical model and the pleasingly close experimental data point. Isn't science wonderful?

Ken Hagan Gold badge

Re: Thin films, thin arguments

That's a woosh for you, I'm afraid. Have another sherry and a mince pie.

Hong Kong's Hutchison Group, which runs mobile carrier ‘3’, protests as USA puts it on new China ban list

Ken Hagan Gold badge

Re: Dear World. I'm sorry.

Why not? 10 days is a perfectly reasonable interval for Covid decontamination.

Oh ... you mean policies.

Trump administration says Russia behind SolarWinds hack. Trump himself begs to differ

Ken Hagan Gold badge

Re: HOWTO: hack their voting machines

Thanks for clarifying the the other guy is correct.

If you are jailed for not paying the fine, the reason you are in jail is that you didn't pay the fine.

Google rejects Australia’s revised pay-for-news plan, proposes its own plan instead

Ken Hagan Gold badge

Re: Dear country

Dear Google,

You only exist in our country if we let you.

Love, country.

Search history can calculate better credit ratings than pay slips, says International Monetary Fund

Ken Hagan Gold badge

No they don't. They know which CDN hosts the site you visit. That isn't very useful.

Top tip from the original Task Manager taskmaster: Don't put your phone number on that debug message box

Ken Hagan Gold badge

Re: Naming his functions

Why are you writing tools for an ISA bus in this century?

Lenovo seeks to render Nokia's H.264 patents unenforceable, claims it misled standards bodies

Ken Hagan Gold badge

Re: Wrong way round?

But in applying for membership you are agreeing to their rules, so you are giving up your IP rights where they overlap with a standard. Having done that, you can't take them back later any more than a shop can do you for shoplifting after you've paid for the goods.

Ken Hagan Gold badge

Re: Wrong way round?

The article suggests that the ITU's rules basically mean that Nokia *gave up* their patent rights when, *as members*, they kept schtumm whilst the IP was being incorporated into the standard. IOW, the rules of membership trump the normal IP rights.

If Nokia don't like that, membership of the ITU is optional and they were free to withdraw from either the ITU or the standards effort, and they were free to mention their IP in this area and keep it out of the standard if they wanted to continue to assert their patent rights. They chose not to do any of these.

FOSS developer survey: Mostly male, employed... and many don't care about 'soul-withering chore' of security

Ken Hagan Gold badge

Re: Offense is fun, defense is hard

I think you are mis-representing the OP and, in fact, the OP is trying to encourage students to do (in maths) what you are advocating (in software). To wit...

So, you've arrived at an answer? Well done! Come back when you've figured out a way to check it.