* Posts by Lee D

4251 publicly visible posts • joined 14 Feb 2013

Cisco backs test to help classical crypto outlive quantum computers

Lee D Silver badge

Re: Encryption is complicated enough already

I don't think AES is at all safe in a post-quantum world, no matter what keys you choose.

A comment I found from 2013: "The best known theoretical attack is Grover's quantum search algorithm... this allows us to search an unsorted database of n entries in √n operations. As such, AES-256 is medium term secure against a quantum attack, however AES-128 is broken, and AES-192 isn't looking too good. With the advances in computational power (doubling every 18 months, etc.), no set keysize is safe indefinitely."

And that's the worst-case example of just using a QC as nothing more than brute-force on the keys, not even taking advantage of any particular exposed weakness, etc.

A QC will radically change the landscape of encryption forever, because it just works in a very different way. It's not a case of "just increase the keysize" any longer. The solution is IMMEDIATE. The keysize barely matters, it affects only the size of the QC that you need build, not the time to solution. Once someone starts building decent-sized QCs and joining them together you won't be able to make the key large enough to be practical for you to use, while impractical for them to build a machine capable of breaking it instantaneously.

AES is dead in such circumstances. As is pretty much every conventional encryption algorithm. That's why post-quantum cryptography is an entire area of research and relies on things which we have but which we DO NOT yet use in the ways we'd need to to make them post-Q safe. Even ECC cannot escape this and requires reinvention to be valid post-Q.

Think about how it works - it's no longer a case of just "making things laborious" in terms of brute-force. That's gone, in a post-Q world. No amount of brute-force can withstand instantaneous calculation. What works is literally: you get billions of possible answers (hashes used on an enormous scale as an integral part of the basic encryption system which they currently aren't), or you have to build a quantum computer so huge that your adversary can't afford it.

The latter is literally just a matter of time and effort again, though.

Post-Q instantly invalidates all currently deployed encryption methods overnight. They all become nothing more than plaintext, in effect. Now matter how carefully you chose your keys, how big they were, how well you secured them, or what flaws may exist in the algorithm, etc.

Post-Q cryptography has to be a reinvention from first principles, which is why things like SPHINCS just don't have any resemblance to a current encryption system. Currently we USE encryption to build hashes. Post-Q we'll use hashes to build encryption.

Lee D Silver badge

Re: Encryption is complicated enough already

Sourcing 4TB of truly random data is probably harder than just stopping a quantum computing attack.

Lee D Silver badge

Re: Encryption is complicated enough already

Yeah, I'm a mathematician.

I just tried to read the paper on SPHINCS, written by that Dan J Bernstein guy. I can't see the reasoning for something to be post-quantum-safe, to be honest. It's all described as being so, there's lots of proofs and algorithms written around it, but the actual reasoning for why it's post-quantum safe is dubiously obscured or absent.

It seems to hinge on hash-algorithms not being quantum-attackable but I can't see why that's a valid assumption if someone can build a large enough quantum computer. Presumably the number of items that COULD hash down to a tiny single hash are huge, so you don't know what was actually hashed to get that result.** ("A recent result by Song shows that these proofs are still valid for quantum adversaries")

The rest is about eliminating mid-states of the hash calculations - most hashes started with a number, and then each byte of data you incorporate gives you a new hash. You then use that hash to mix in with the next byte, and so on. Presumably "stateless" hashes don't have those intermediary hashes available, but it's not clear how. (I could be really wrong here, but it suggests that you compute a tree of keys for the size of the message you want to encrypt BEFORE you start, and each key is basically a one-time key used only for that particular part of that message. Then you encrypt each byte/word/whatever individually? It kinda makes sense, but I can't see what it adds, so long as the states are kept secret).

Basically, we just need one bad assumption ("Hashes are safe against quantum, while nothing else is") and the whole thing falls apart.

** This is how I analogise quantum computing, it's vastly inaccurate but it gives you the idea. If you are after, say, two large prime numbers that multiply out to a known number (the basis of public-key cryptography), then in traditional computing you have to basically try all the reasonable combinations until you hit the right one, which can take longer than the age of the universe.

In a quantum computer, you build the machine backwards. Here is a machine that multiplies two numbers, you design it to do so. Then you plug in the ANSWER you want. The magic of quantum effects then automatically provides you with the only state that could have possibly resulted in your desired state given the "circuits" you build and the condition you placed on the answer. Instantaneously.

Presumably a quantum computer, because there is only one right answer, is very good at breaking traditional prime-based public-key cryptography, but when it comes to hashes - well, an entire infinity of data sets could hash to the same value (just not EVERY data set), so just working from the hash backwards doesn't work - you don't gain any knowledge about the actual data that was hashed in the first place.

Thus building the core of encryption on thousands and thousands of tiny such hashes, it's possible that it makes the number of possibilities so vast, even with instantaneous discovery of every single one, that it becomes infeasible.

To me, though, if you had a large enough quantum computer, you could easily get those infinities of answer, and perform a known-plain-text attack and similar by pre-loading the circuits to take account of that as well. Much harder, but still theoretically breakable. I wouldn't know how much more complex, but maybe it does make it complex enough that it's infeasible. There's also talk of time-based hashed and other factors, which might well make it more difficult.

Note that all good encryption methods are immune to known-plaintext attacks.

Could be absolute tosh from a physics point of view, but it's an analogy that appears to work.

Router ravaging, crippling code, and why not to p*ss off IT staff

Lee D Silver badge

"In all, Akamai estimated that around five million routers could be vulnerable to hijacking via UPnP exploits: miscreants can use the flaws to rewrite networking tables, and turn devices into proxy servers. "

Yep. If you didn't know this, you didn't do your research and turned on UPnP because it was "convenient". UPnP is an unauthenticated protocol that allows ANY LOCAL USER to open ANY PORT to the world and direct it to ANY internal machine. Yes, your kids clicking one thing doesn't just break the computer they are on, it can put a permanent port forward of your CIFS/SMB port out to the public Internet for all the see, if it wants.

Most routers have terrible UPnP implementations too, so that it's not just local users, so that settings can persist, so that the user is never aware they're being accessed, etc.

UPnP is, was, and always will be a ridiculous idea for "convenience" when 99.9% of the world doesn't need to open any incoming ports anyway, no, not even for gaming. Only if YOU are hosting the server do you need to do that, and even then with an intermediary server on the Internet, you can still host games with ZERO open ports. Companies are just lazy and ask UPnP to open up port X to the world while you're playing your game rather than deploy even a single intermediary server.

And if you have UPnP on... tell me how the average user is supposed to know what's open, why and when it opens up? Because I've never seen a router that had that level of detail outside of big commercial things. Literally, UPnP is just a trojan horse that can unlock all your network firewall protections in seconds because ANY user asked it to, even unwittingly, from a games console, mobile phone or PC.

Donkey Wrong: Arcade legend Billy Mitchell booted from record books amid MAME row

Lee D Silver badge

Re: Original Hardware?

The original boards are dying.

There is no modern equivalent chip for most things.

It's hard to even READ the old memory chips, let alone have them work in a game.

CRTs are hard to buy.

Anything to do with preserving an arcade machine in its original state is difficult, very technical, expensive, and ultimately will be useless as they will become harder and harder to get as time goes by.

I'm not saying "don't do it", but be aware. And most people honestly don't have the time, money or resources to pull it off. It's £1000 for a basic cab with a working board in it, before you even start. A CRT can cost you an absolute fortune and very soon won't even be made any more. With suicide-chips and dying memory etc. it can be difficult to even get an old board working. And even making a cabinet that could house an old machine would still cost hundreds.

It's a niche, specialist, collector sport that most people will have absolutely no interest in. I'd love to re-live the 80's. I sit there reading disassemblies of 80's Spectrum games. I can program in the Z80 assembly language. I love the nostalgia. But there's no way that I could justify maintaining an old arcade board against replacing the innards. I'd keep them. Of course, I would. But I wouldn't even try down the path of getting them working if they didn't turn on.

It's not lazy and pig ignorant to understand all that technology and, given unlimited funds and time, being able to covet it and restore it. But that's not what even the geekiest of geeks can manage, afford or dedicate themselves to. There's a reason MAME exists. It's to preserve the originals as best we can before they all die. Because they will all die. And it's not even going to be possible to get hold of one in another 20-30 years, because arcades are very different places now (and I can't see the kids now wanting to get one of those modern ticket-spewing things working in 30-years time for their nostalgia).

But I can get Pac Man working on something that looks and feels like an old arcade, which everyone will enjoy playing on and my daughter could get a feel of how it used to be. It would take all my spare time to build such a cabinet from parts and get it all working. That's not lazy or pig-ignorant. It's just reality.

I have three ZX Spectrums upstairs that I have 1) kept from the 80's, 2) repaired from a boot sale job, 3) sent off for specialist restoration and RAM/ULA replacement. Guess what? None of them work anymore, even though they all did at some point. But Spectaculator? It plays all the games I remember, how I remember, on a big-screen TV for people to enjoy.

Lee D Silver badge

Re: Original Hardware?

You just have to hope you can cobble together enough. Like old cars, some boards will survive and some will be junk fit only for certain spare parts. Given that arcade cabinets generally sold in only a thousand or so units, and they cost £1000 each at the time, it can easily be true that no working cabinets exist for lots of things except the most popular of games, and the ones that do have had a hard life. There are entire markets for it, but they tend to be global and, hence, expensive for rare items. But Pac-man, Donkey Kong, anything you've heard of, you probably just need to drop a few grand to the right people and they'll have dozens of them.

To be honest, I wouldn't bother to try though. Another 10 years and even if you look after it, the situation will only get worse. There's a reason that people just buy any cabinet, rip out the innards, replace the screen and stick either a generic PC or a bunch of JAMMA adaptors for modern hardware into it.

The ZX Spectrum, for example, is not easy to get a fully working memory set nowadays. The chips fail and there's no direct plug-in replacement for them (but, obviously you can wire in a daughterboard quite easily). And the ULA was basically custom-made so it's replacement-only territory - either from other working models or a complete modern custom replacement.

I would like to build a MAME cabinet one day, and then I'll buy some old boards for the games I actually want to play on it (for licensing, because I'm honest like that), but getting those boards to actually work again if you have limited electronics knowledge? No chance.

But a RPi 3, RetroPie and a £25 arcade joystick set off Amazon? That'll fit in a home-built cab nicely with tons of room to spare.

Lee D Silver badge

Sorry, if you DO want to do this, you need to do this live and on boards that independent people have verified or (better) supplied, in a public venue.

It's like saying I scored a billion at keepie-uppies. It means nothing if it can't be verified, and some old VHS of the screen alone isn't enough.

Side-note:

What is it with YouTube videos narrated by a monotonic, nasal, young American male?

Is this really the broadcast voice of this century?

Whois is dead as Europe hands DNS overlord ICANN its arse

Lee D Silver badge

Re: I think its fine to not have details public

"And important part of malware email handling consists in finding out who they are from, or who they are redirecting you to."

And you rely on the domain names given to be definitive, do you?

If you want to handle malware, you go for the IP "whois" (e.g. AS lookup), which is an entirely different kettle of fish. But domain names resolve to IPs. What makes you think they can't just change the domain they are using in seconds?

There's no practical reason to have publicly visible names and addresses (except of abuse contacts at the ISP in question) for anything any more. It used to be there so you COULD call up John Bloggs who worked at X University and talk about a problem with his system. Nowadays, that's just not feasible.

And a vast, vast, vast portion of domains are now owned by private individuals. It's like requiring me to put my name, home address and phone number inside the front cover of every book I write, song I record, game I create, etc. which is just silly.

It's outdated. It's illegal (always has been in the EU, which is why Nominet gave the whois opt-out for personal information - the GDPR is nothing more than ratification of DPA case law into written statute). It's stupid. And it's useless, because of the sheer number of ways to put fake information there because it has way less verification than even an SSL certificate. It should have died decades ago.

Small UK firms laying fibre put BT's Openreach to shame – report

Lee D Silver badge

Re: Virgin

Does it really matter? Most people then use a fibre-to-copper convertor called a "router" to then put it into their other devices anyway.

Copper can do ridiculous speeds if you are only doing short runs on uncontested connections (which is what these local fibre->copper convertors will have on them - it's the fibre that's contested, not the coax that is shared).

People fuss too much about this, sure selling it as "fibre" is not particularly honest but I think that nobody cares as in the same way that "broadband / DSL" (meaning everything from ADSL to VDSL) is a certain class of speeds, "fibre" (meaning everything from VDSL, FTTC, FTTP, DOCSIS, etc.) is a better class of speeds. It's like 3G/4G/5G.

I honestly couldn't care what they know it as colloquially, so long as they're honest about the technology used (small print is fine) and the speed.

To be honest, I'd be glad of even 10Mbit where I live (inside the M25!), so I couldn't care less what it's called or where the fibre ends. I use a 4G wifi router, because it literally gives me three times anything else that enters my road, and there's no "fibre" of any description at all (and would need my landlord/building management agent/etc. permission to install that anyway).

Samsung Galaxy S9: Still the Lord of All Droids

Lee D Silver badge

S5 Mini here.

Call me when I can get:

- tons of internal storage.

- microSD of any size I like

- replaceable battery

- latest Android

- screen that isn't stupendously fragile, large, odd-shaped or expensive to replace.

For about £300 or thereabouts, unlocked, brand new.

Because the only thing I'm really missing at the moment is USB host, OTG etc. (not supported on the Mini), I would lose my IR blaster (not even present on the normal S5), and the internal storage is a bit limited.

I would literally PAY EXTRA to get things like - no bundled apps forced on me (just pure Android), dual-SIM, headphone socket back again, more USB OTG ports on it so my phone can connect to more stuff, a physical keyboard (like the old Nokia thing that flipped the entire size of the phone out to give a keyboard), a hardware flashlight button.

I would also happily trade in these to help make the device I want for the price I want - waterproof crap, curved edges, sliver-thin shite, everything beyond basic camera functionality (not even sure I care about two-cameras, to be honest).

The ruggedised XCovers go some way towards what I want, but not nearly far enough.

HTC Vive Pro virtually stripped. OK, we mean actually stripped. (It’s a VR headset, geddit?)

Lee D Silver badge

Re: Why all the flash?

So, that's £230 for a console, £280 for a piece of hardware.

That's £510. Against an HTC Vive (£499 + PC) / Oculus Rift (£399 + PC)). Not including the addons, etc. that comes with the latter two, the games (console games were ridiculously expensive last I looked, as I haven't owned one in about 15 years), and the actual difference in capabilities.

Sorry, but £500+ is too expensive for this stuff. Even adjusting for inflation, that's more than the console, every controller and every game I've bought for a console, for every console I did ever own in my life.

Especially if you then only get the one. That's a damn-expensive single-player game.

£500 for a complete TWO player kit. Yeah, then you could be in people's homes rather than an expensive status symbol. But it's twice the price it needs to be. It wouldn't even be so bad if there was a standard and PSVR, Rift and HTC could all play each others games seamlessly across all the platforms (we have USB everywhere now, right?). But that's not true either, so every penny sunk is potentially lost if you chose the Betamax of VR.

I'd happily pay £200 for PSVR if it worked on my PC. The lower res of the screen would actually HELP, I wouldn't need anywhere near as beefy a PC. But the only option to do that is unofficial software that you have no guarantees will work on any particular game.

Whereas if someone had made a proper VR console, with two VR headsets, with the Nintendo name on it, for £500, people WOULD buy it, and it would establish a standard overnight in terms of programming API as well as hardware connection (Wiimotes are just Bluetooth and have drivers for everything now).

Lee D Silver badge

Re: Why all the flash?

Costing £799, that's what.

I was always hoping for the Nintendo Switch to be a "cut-down" VR console, such that we could start getting the components relatively cheap and mass market and gauge usage. But years down the line, the Vive and any other decent VR headset is just far too expensive, and still needs a damn-expensive PC to run it.

VR really suits the kind of grandma-playing-casual-games ethic and I really think they missed the boat. They could have owned the console market for several years just on that alone, and it would have brought VR to the fore as something people start buying to play at parties.

As it is, I host games parties and I seriously cannot justify even the computer capable of running a VR headset, let alone the headset itself, let alone a bunch of them for people to play against each other.

I find it disappointing that 30-years after VRML and those early protoypes, Lawnmower Man, and whatever else has come and gone, we still don't have anything practical in terms of VR at all. What did the guys in all those "hey, look, we have a 3D walkthrough of our new building using this new system" news pieces have on their head 30-years-ago that we don't have the capability to replicate cheaply now?

'Dear Mr F*ckingjoking': UK PM Theresa May's mass marketing missive misses mark

Lee D Silver badge

I have dealt with your blinkered approach to voting more times in my adult life than I care to mention, and thus have prepared answers for all the usual stock rubbish that people spout at me for it. It's a pity such time and effort isn't put into putting forward worthy candidates rather than attacking those that won't vote for unworthy ones.

If your idea of democracy is "lesser of only two/three evils", then you really need to go back and look up the definition. Especially when those people are ALL you have available, and you can't even vote for yourself, a friend, a celebrity, a scientist, whoever the hell you want.

"People are sent to die in order to protect your ability to vote so you should at least honour that. Doesn't matter who for."

a) No, they died to protect my freedom of speech, expression, decision and life. Including that of people they disagree with, don't understand, don't share a culture or attitude, or people whom they find unbearable, uncivilised or even downright nasty.

b) Yes it does matter. I will not vote in someone that I deem inadequate for the job. Present a worthy candidate and I'll vote for them.

Force me to vote by all means, as a civic duty. But give me a "none of the above" or even "Other (complete details) ________" box in which I can enter anyone that I like, including nobody. No, the "vote for one guy one year and the other the next to 'cancel' it out" system isn't right either. And maybe if you forced everyone to vote, you'd be able to tell that despite party X winning over party Y, that actually party Z (the "we don't want either of them" clan) outclasses them in every election.

P.S. I did technically vote once, not for a person or party but to answer a question. To change the way that we vote. Because the way that we vote sucks, but the way we were proposing we could vote sucked less and therefore was a clear and progressive step towards improving not just my outlook but everyone else's. As a mathematician, I can say that neither system was ideal, but one was mathematically "fairer". It didn't matter, because most of the other 20m people didn't agree, so nothing changed.

However, voting for one person over the other does not allow for such "less ideal" candidates to significantly improve the outcome for everyone. For instance, Clinton vs Trump.

"Pick the person who APPEARS to be slightly less stupid, obnoxious, corrupt, inept and cringe-worthy from a group of three/four that you have no say in" isn't democracy. I don't know those people. "Pick the person you'd like to run the country" is a democratic question. The answer for which would be "Me", "My mate Jim", or failing that, someone like Stephen Hawking. I want a scientist in charge for once, like a meritocracy. Someone logical who spends their life cutting through the bias and getting to the issues and actually determining the improvement made in a repeatable manner, who could drastically alter the way we live and can distance themselves from rubbish like sex-scandals and stupid things people say about foreigners. Someone who hires people best for the job. Rather than someone who was education minister than prison minister then minister for Brexit then minister for agriculture and then....

Absent that, I'd really rather not vote at all. Take the consequences of your own decision. I'll abstain. If my abstaining doesn't register at all, so be it. But think to yourself why you would tolerate ministers and diplomats abstaining from a crucial political question, but not someone who has no knowledge of the situation deliberately abstaining until a worthy candidate(s) appears.

Lee D Silver badge

I have to say - I moved house recently and do what I always do, went mad with a rubber stamp that says "Not at this address" and then re-posted anything that came through the door for previous residents.

In the space of 2 months I was down to zero rogue mail, and because of the wonders of electronic banking and billing, I only really get letters about council tax now.

But... the exception... fecking political marketing. I hate it. Not only did every political party send me crap as soon as I was on the electoral register (despite opting out of the public version), but obviously a previous resident was a donor to one and they sent no end of letters to them. Then they sent someone to my door to "check" - a lady literally holding a list of all the known donors in the area that hadn't responded by the looks of it... Then they started with the same gumpfh but with my name (presumably from the register again, because I never gave it). And I'm still getting crap about local elections now.

I wouldn't mind, but I've never voted, and am of the belief that if a leaflet through your door changes your political allegiance, or provides you with some critical fact that affects your voting but that you never bothered to find out for yourself, then you probably shouldn't be voting at all anyway.

Honestly, apart from a council tax summary and crap from local electoral candidates, I get no post whatsoever. Everything else is letterbox-spam and unaddressed (including the local council "newspaper" -two pages, hand-delivered...). This week alone - no less than 8 pieces of paper from various candidates. Stop it. Honestly, just stop. Because you're just giving me more reason NOT to vote for you.

Linux Beep bug joke backfires as branded fix falls short

Lee D Silver badge

Re: A stand-alone program to ...

I used to use it all the time (I know the jonath domain by heart).

It was a great tool for PC systems that weren't full desktops for everything from identifying machines to indicating problems via a series of tones. Not always was a ^G able to be sent, or sufficient, for such purposes. It's much easier to break out to shell and run a specific program, if for no other reason than echoing scripts that do the same will also beep even though you're only viewing the script, not to mention what's the controlling terminal nowadays with everything from virtual terminals to SSH, containers to virtual machines, etc. - where does the ^G actually play the sound? Beep played out of the hardware of the physical machine you were executing on (hence why it liked to have root).

For instance, a home machine that controlled the Internet connection has no screen or speakers except the internal speaker and used to have a set of rising or falling tones if the Internet came up or went down. I literally never had a graphics card in that machine, so it was very handy, and just a ^G is insufficient to convey that.

However, to tell you how long ago that was, it was a 386 running Freesco on a 2.0.38 kernel, and the Internet was a modem connection which I used to have to turn-off to let my dad make a phone call and it was useful to know that the modem was stopped from dialling out (the falling tones) and when it had managed to restart the PPP session after resuming (the rising tones). If you kept hearing both, it was still trying to dial out.

I know that a lot of embedded hardware still has the same kind of things in them - everything from firewalls to NVR servers - to let you know when they've completed booting. Not to mention that I don't think I've ever owned a computer that WOULDN'T output the sound from beep if you installed it. It might be a PC speaker passthrough header on a sound-card or motherboard, but it usually still works, I believe.

That said, it's probably a long-abandoned bit of software given that it's been 20 years since then, and all it does it beep, and that's pretty much everything you wanted it to do even 20 years ago. It should have been audited, it should have been caught, and being setuid (or suggesting so), it should have been subject to a higher level of scrutiny.

I bet there are a million machines out there with it on, just for those rising-tone power-up notifications in embedded devices, if they're not using some busybox equivalent.

Boffins pull off quantum leap in true random number generation

Lee D Silver badge

Now consider a determined state-level attacker such who might be interested in intercepting encrypted communications on a targeted and international level.

Now he just needs a satellite picture of the sky over your head at the time they took the photo to stand a good chance of knowing enough to predict some of your "random" numbers to a certain extent.

Not all use-cases are as simple to combat as you think, when you're talking encryption that you expect one day a government or military might use itself and/or might not want you to use.

Random numbers are hard. Much harder than you might think. And tiny deliberate influences can drastically alter the security of them. There's a reason that there are entire books on the subject, and where most of the current traditional techniques - even on input data we're convinced is pretty random to start - revolve around hashing, mixing, eliminating higher-order bits, melding into existing pools, preserving historical pools to use for future mixing, selecting, analysing viability of and plucking numbers from random pools, etc.

Your "random input" might well be considered untrusted external data, in effect. Someone who really wants to corrupt that pool could do so quite easily if they were determined. Hell, just by cutting your CCD and hoping you weren't checking the image wasn't all-black. 90% of handling random numbers (and 90% of coding errors where they are mishandled resulting in a security problem) is about taking only selected parts that are more likely to be random and incorporating them in such a way that their randomness leaks through but not any determined pattern or bias that may be present. The other 10% is actually getting something that looks random enough to use as source data and could probably be trusted.

Hint: The Debian versions of OpenSSL software generated millions of certificates signed on such systems with atrociously insecure keys by failing to use proper random input and nobody noticing (they seeded from process ID, not an RNG, which varied but not truly randomly). For years. Once discovered, almost every key ever made on those systems was compromisable. Because all the fancy techniques in the world are for naught if your input isn't truly random or trusted.

Just the JPG-artifacts in an image could give a serious attacker enough bias to compromise your RNG. Or the resolution of a particular camera. Or the post-processing algorithms in the camera biasing pixels to generate a more natural image. Or the fact that someone knows the seed picture is of the sky might well give them enough.

As a mathematician, I have advice for people who aren't: Never think you understand randomness, encryption, statistics or probability. Just don't. Don't write code for them. Don't apply them to work things out. Don't dabble and think you understand everything. You'll make things weaker or more incorrect a billion times over before you make it stronger, no matter how clever or well-intentioned you are.

I'm fairly certain I could sit and derive a public-key encryption/decryption algorithm, a random number generator, etc. from first-principles given enough time and a programming language. I'm also 100% certain it would be useless to the point of utter compromise upon the first serious analysis by someone who understands those fields.

If you haven't read Numerical Recipes, go do so. It's got a maths-and-C-code heavy description of everything RNG, encryption, probability, etc. And that book is approaching 30-something years old and was never designed to cover hostile intent. It's currently holding up my coffee table, because it's thicker than my phone is wide.

Aw, all grown up: Mozilla moves WebAssembly into sparsely furnished Studio apartment

Lee D Silver badge

WebAssembly is great.

But I wouldn't want to code inside a browser IDE... for a start, once you start a project you can't close it or start another (that I could see!) - and I'd worry about what's being saved where.

But WebAssembly is amazing - you can do things like pull an old C99/SDL/OpenGL project out of the woodwork, tweak it minimally, and run it through a compiler like emscripten to generate a web page that just runs it. Graphics, fonts, sound, network, 3D, etc. all work within the browser environment, using just a standard webpage and the browser abilities.

Sure, it applies the browser security to it (so you have to break out a websockets proxy to send actual packets over the network, but that's no big deal for internal projects, and actually what you want for anything else), and you have to tweak little things but I find it amazing that you can go from pointer-manipulation-based low-level language with decades of libraries accessing all kinds of hardware, run it through a compiler and come up with something that loads in a HTML/Javascript page on a modern browser and runs more than fast enough to be useful.

In fact, since using such things myself, I can't understand why people are bothering with desktop applications for anything other than high-end, performance-critical things any more. You can do Sketchup in a browser, you can play games in a browser, you can watch movies in a browser, you can code business apps in a browser, etc. For the end-user experience, there's no reason that your code can't be brought across to the web even if it was written before that era.

Honestly, if I was a business requiring an in-house app nowadays, I'd just give people Chromebooks and locked-down browsers and a programmed interface using something like WebAssembly.

'Disappearing' data under ZFS on Linux sparks small swift tweak

Lee D Silver badge

Re: I wish Linux would support the Apple File System (APFS)

Just think practically:

Unless someone takes the time to code it up, port it over, test its implementation, keeps synced with all the iOS updates and features they throw into it (probably without announcement, code or assistance as this is Apple we're talking about), tests it to the extent that you're happy with putting your data on it, fight the patent fight with Apple, and then works to integrate it into the Linux kernel, it ain't gonna happen.

"Linux" isn't about a team of guys just putting in your wishlist. The central people do nothing more than approve and critique stuff other people have made. If nobody's made it, it won't get in. I think there's precisely ZIP in terms of Apple code contributions in the kernel, and even MS has huge chunks of their code in HyperV etc. compatibility modules.

So, if Apple aren't going to do it, and there's no open-source implementation of it (even NTFS had several competing implementations, one utilising the original Windows NTFS.SYS binary via a shim layer!), where's this code going to come from?

The closest I can find is this:

https://github.com/sgan81/apfs-fuse

Which is read-only (like NTFS drivers were for years). I have no idea about Mac version numbers for compatibility so you're on your own there, but it appears to be a wrote-from-scratch, reverse-engineered module using FUSE. It's also a handful of months old. You're going to be several years down the path before that's even close to CaptiveNTFS's standard, which never made it to the kernel.

And who would benefit? People putting an Apple-formatted disk into a machine that runs Linux. That's a tiny portion of even the most techy of users.

And, looking at the code in that archive, there's literally nothing in there that's shocking or new or complicated or whole-new-levels of filesystem. It's just a bog-standard bit of coding. Sure, that's not the write-logic, including all the data-safety-guarantees and atomicity required for that (because that's the hard part), but that code is pretty indicative that APFS is really nothing very special at all.

Lee D Silver badge

Re: Goto Jail, go directly to jail.

@Phil: Elaborate?

Because I'd like to see you set up a loop which performs an action and then tests for errors after without using/corrupting a register or two, putting in conditional jumps, making unwind-operations for failures more complex, and doing 4-5 instructions more than a "goto errorhandler", on even the most highly optimised of compilers.

An empty loop might compile to just a jmp the same as a goto, but any conditionals mean register management and shifting, which can have severe implications if you're deep in the middle of performance-critical, interrupt handler, etc. type code under a failure condition.

It seems that Linus and others agree with me:

http://koblents.com/Ches/Links/Month-Mar-2013/20-Using-Goto-in-Linux-Kernel-Code/

The example at the bottom is particularly relevant in terms of error-related rollback.

Lee D Silver badge

Re: Goto Jail, go directly to jail.

If you think that goto is problematic, never look at the kernel source code.

Goto on its on isn't dangerous, it's ill-considered use of it that is. Though in theory, everything in a nice loop looks pretty, it has a performance hit that goto doesn't. Underneath the hood, goto is literally just a jmp instruction. But a loop has all kinds of setups, stack motions and side-effects.

Especially in any kind of error handler, you don't want to be rolling around inside a loop that's already served it's purpose, you want to get the hell out of dodge.

And if we're talking performance-critical filesystem code that will impact upon everything from logging to every process on the system to potential complete kernel failure in the case of a mistake, a goto might well be the best way to handle the practicalities. Don't forget, that error-handling code might be operating under very extreme circumstances, with critical data, with minimal resources to attempt to recover or at least record what happened without damaging the stack, etc. In that case, you really don't want to be faffing about when goto is the answer.

At last count, there were over 10,000 goto's inside the Linux kernel. To replace them all with further-indented, re-ordered code without hitting the same kinds of non-damaging "emergency" performance? That's just silly, because the people that put them there aren't exactly idiots.

People who state absolutes, however, are - without exception - idiots...

Lee D Silver badge

Yes, I'm more disappointed that this wasn't picked up by an automated test suite than the fact that it might take a few days to patch.

Surely someone, somewhere is at least creating daily snapshots of the code and putting it through fuzzers and stress-tests and simulated disk-full situations? If not, why not? This is filesystem code we're talking about, not the backend of some casual game.

The code is all well and good but testing should be taking up far more CPU-time globally than all the compilation and coding on it across the world put together.

Gmail is secure. Netflix is secure. Together they're a phishing threat

Lee D Silver badge

Re: This has happened to me for years

Yeah, I have a guy with the same name in Ireland who's somehow convinced that he has a variation of my email address.

One year I managed to get a postal address off a plane ticket he bought and sent him a letter. He was very good for a while, and wrote a nice letter back and closed a bunch of accounts (including PayPal - I could have been very naughty and "confirmed" his account and then waited for him to add a credit card, but I'm far too honest). But then either he or another person in Ireland with the same name started doing it again about six months later.

I now just put them in spam folders. Fact is, it's more tricky to convince me anyway as I have a domain that forwards to various things (one destination is a GMail that I can access on the go), but for which I use unique prefixes for each service. It's quite obvious and takes seconds to know if an email was sent to the actual prefix I signed up with, to some made-up prefix at my domain, or direct to the GMail account. Pretty much anything direct to the account is spam (I've never advertised that address whatsoever).

I always wondered what the point of the dot-address stuff was on GMail as I could only think of ways for it to go wrong. On a side-note, does anyone remember the Apache mod_spell module, that would try to correct mis-spelled page names? That always seemed the same to me... surely it just lets a ton of mis-spelled links propagate all over the web rather than actually fix the problem.

2018's Lenovo ThinkPad X1 Carbon laptop is a lovely lappie

Lee D Silver badge

So why does a smaller screen, less capable CPU, less heatsinks etc., no GPU to speak of, less RAM, less built-in features, etc. translate to MORE EXPENSIVE?

It's not like they've shrunk it down to fit on the head of a pin. It's still a laptop, with the same standard screens and standard processors and standard RAM modules as the one I showed you. They've just put it in a smaller box with a battery that probably isn't anywhere near as powerful as the one in the gaming laptop.

There's a point at which I say "Yeah, fair enough, different use means an entirely different type of device". But this is just someway between a tablet and a low-end laptop, and should cost LESS THAN HALF what it does. Because for the price it does, I can outmatch it just on every single specification by about double.

Lee D Silver badge

Over £2k for "Core i7-8550U at 1.8Ghz, 16GB of RAM, 14-inch display"?

Have we gone back in time ten years or what?

Sorry, I love Lenovo but that's not a viable purchase for anyone without money to burn.

Honestly, 17" minimum, none of this "up to" junk on CPU speeds, 16Gb RAM MINIMUM, and a decent graphics card... i.e. nVidia. Otherwise you can't even justify £1k, let alone £2k, let alone more than that.

As a hint, for the same price I can get a top-of-the-line gaming laptop:

https://www.laptopsdirect.co.uk/msi-gt73evr-7re-titan-core-i7-7820hk-8gb-1tb-512gb-17.3-inch-geforce-gtx-9s7-17a121-850/version.asp

GeForce GTX 1070 Graphics card

17.3 Inch Screen

Intel Core i7 7820HK Processor (which STARTS AT 2.9GHz, twice the speed of the reviewed chip)

16 GB RAM

1TB Hard Drive + GB512GB SSD

Proper sound card

Killer network card + wifi (okay, I don't care, but it's expensive and the Lenovo doesn't have it)

5x USB 3

1x Thunderbolt/USB-C

There's no way a Lenovo with basic specs should cost as much as the above.

Microsoft Office 365 and Azure Active Directory go TITSUP*

Lee D Silver badge

Oh, I'm quite sure there are tens of thousands of places that do just that.

Cost-benefit analysis is fine, so long as someone did it.

It's when people whine that "Oh, my 4G credit card reader is down, I can't take cards, my business is in ruins" or "WE CAN'T GET OUR EMAILS!", when they haven't bothered to take such a loss into account that bothers me.

To be honest, everything in the world from GMail to Azure, AWS to IBM will be down for things on that order of magnitude, no matter what they promise. They have to be. But it's what YOU do about it for your circumstances that matters.

Emails will delay an hour or so and then come in later if it comes up. Skype shouldn't be a business-critical tool. Your remote workers not being able to get in on VPN for a bit is no worse than someone tripping over a plug. But when you whine that your work-at-home telesales can't dial into your VoIP VPN for a fraction of a second and it's costing you money, I have to just think "Okay, so what was your backup?"

Lee D Silver badge

Re: Why???

Don't use it as your ONLY resource, I think should be obvious.

Such cloud options are great. As one option per cloud. But you should have in-house stuff too, or you're entirely reliant on a) your Internet connection and b) Microsoft. There's no reason you can't run a secondary email server, AD server, etc. in-house. If you do it right, I can't see a reason that external users would notice anything had even happened if the entire cloud went down.

But it's "lazy IT". Let's just pay a monthly subscription, then that's us sorted because "it's Microsoft". They don't give any thought to business continuity. Sure, it can work at some levels of business. But if you are a corporation of any size and you're affected by this,.. you obviously put too many eggs in the same basket.

Amazon and eBay agree to expose potential VAT evaders for UK tax man

Lee D Silver badge

Re: It is not just lost VAT ...

I think that HMRC don't start asking questions until you're earning something undeclared over £4k a year, minimum.

Even then, you can "get away" with things for a lot time, but you would be an idiot to try to do so via Amazon or eBay, etc. In a cash-business, yes, you can get away with a lot. Ask London cabbies about the back-handers from strip-clubs, as exposed on the news not long ago. Up to £80 cash-in-hand for a dropoff in some cases, the second the customer enters their premises.

But with something like Amazon or eBay, where you need a bank account? They'll get you eventually but they'll wait until you've run up a bill worth chasing you for.

Planning on forking out for the new iPad? Better take darn good care of it

Lee D Silver badge

(P.S. Do not make me count how many "official" lightning cables just snap in two at the end. We stopped buying them except once a term because it was getting silly.)

Lee D Silver badge

Raises hand as someone who manages 500 iPads for children which all have "child-proof" cases on them.

We also have a budget code for "kid broke it, our preferred repairer had to change the screen again and/or it's the third time for a new screen so it's now basically irreparable (buttons, casing, etc.) and the parents have to pay for that". An actual budget code.

In an environment where they're not ALLOWED to take the devices home. They are FORCED to put them away neatly at the end of the day, and on charge, and in a secure lockbox, overseen by an adult. They aren't ALLOWED to use them outside of lesson, unsupervised, or throw them around in the playground.

I'd estimate 2-3 a week, if not more.

Similar number of Chromebooks? 4 screen repairs in two years, all £25 module-swap replacements from Amazon. Work fine. And Chromebook are huge things with hinges and stuff.

Half the number of Android tablets? Er. Dunno. Yet to repair one.

Honestly, Apple stuff is as fragile as crystalline shite.

Which? leads decrepit email service behind barn, single shot rings out over valley

Lee D Silver badge

Re: What other Which

"TIP: If you have a direct debit with a company, make sure they know it's been cancelled. A phone call to their Support department will be recorded."

If you tell your bank you're cancelling a Direct Debit, the company it's with are informed. Within minutes. I can assure you of this, having done it to a company I had a grievance against (charging me for a phone which never arrived) and I gave them more than adequate time to resolve the situation.

I phoned the bank. I asked to cancel. They said "Are you sure?". I said yes. They are legally obliged to honour that, and because it was a "recent" DD and I said it was disputed, they refunded all the payments (three months worth, I think) immediately.

When I put down the phone, the company in question phoned to ask why I'd done it, so I explained to them: "For the reasons I told you that I would. Check your records."

They were literally unable to take any more payments from me from that point on (I had asked them nicely not to several times earlier, but they continued to do so).

But the bank didn't even care. They just clicked "Undo" and all the DD agreement and past payments were magically history and I got my money back in my account.

Sure, it's nice to TELL the company, but you don't need to.

(P.S. They threatened me with court, which I offered to initiate for them, not having supplied me with the goods they had promised for the monthly payment they were taking. And, I mean, we're talking about a PHONE that they supplied... if they genuinely thought I was using it without payment, they could block the IMEI. Strangely, like every other company that's ever made that threat to me, no court case ever happened).

Apple, if you want to win in education, look at what sucks about iPads

Lee D Silver badge

IT Manager.

Private school.

500+ iPads.

I would gladly, this second, without further consideration, flog them all off and buy the same number of Chromebook / Android tablets / hell, even RPi's, and spend the difference on a whole new IT Suite.

iPads are NOT built for management. They do NOT enforce settings. They do NOT have fine-grained control. They do NOT operate simply and easily (count your number of iTunes sign-ins if you push any significant number of apps to every iPad, yeah it'll "remember it" for 15 minutes but literally updates 5-10 apps every single day requiring the password in the middle of class...). They are insecure. They lock US out more than the children. They throw every obstacle possible in the way of using them. They have only a concept of a single user (so you can't share them, you can't sign in with a different account to install apps, etc. - and preloading apps can fail BECAUSE it's not the same user as you are using it as...)

And you CANNOT do it cheaply. Every time you think you can do it cheaply, you set yourself up for failure. You have to buy brand-new iPads, from an official Apple reseller, who'll only sell the latest model, every single time. Without that you can't do DEP, without DEP you can't enforce most of the settings or use Apple School Manager (don't even get me started on that pile of junk). BYOD? Ha. Yeah, right. BYOD = no DEP. You can't do BYOD with iPad (not that anyone with a brain actually WANTS to do BYOD anyway). Not even counting supervision, Find My iPad and a myriad other settings that just get in your way of doing the simplest of things (even if you're the person who supervised them!).

I have Cisco Meraki wireless, switches and device management. It does everything you can possibly do to an iPad. And you still can't lock them down.

Not forgetting that their customer service is THE WORST I've ever experienced. I've never had to tell someone that we cannot do business with a company that operates the way they do, until I started in an Apple school. Literal refusal to file a complaint, acknowledge a complaint, provides names of individuals, provide anything in writing (hell "No you can't do that" would have done me, but the Head of Written Complaints, Ireland, refuse to write a reply to my written complaint or even give me his name). They aren't data protection or GPDR-compliant and never have been, and iCloud is literally just Azure, AWS and Google server instances... TheReg published an article on it a few weeks ago.

Sorry, Apple, I could not describe a single reason to ever use you. In school. At work. Or personally.

In a recent IT audit the consultant is not the first to have uttered the phrase "Yes I hear you, but we know that all the IT guys we deal with hate Apple"... well... maybe that bloody tells you something?

YOU DO NOT WANT APPLE IN YOUR SCHOOL.

Go with Google. Free. Actually respond to support. A million times more services. And Google Classroom et al knock "iTunes U" into a cocked hat. If your school used Apple, it's because they want to show off.

(P.S. Yes. We have ceased all business with Apple, now and for the future. Compliance is a big thing nowadays and you can't do business with a company that just refuses to comply with its legal obligations).

Are you able to read this headline? Then you're not Julian Assange. His broadband is unplugged

Lee D Silver badge

Re: It would take a heart of stone not to laugh...

"And you'd be betting your life on that? Do you know what they do to people at CIA black sites?"

If I was in Assange's position? Yeah, I'd bet my life. Better than rotting in an embassy forever.

Additionally, nobody has even BOTHERED to try to suggest he would end up in the US at all, in any way, shape or form.

It's based on an unspoken assumption that the rule of law will be subverted to extract him without formal process in the view of the world's press for... well, let's be honest, some pretty worthless news item he once dug up that - as you might notice - nobody is really up in arms about. Certainly not any more. The "news" was small-fry stuff, it really was. It's not started a war or changed a political situation or made the public demand a review... nobody really cares about it. "The truth"? Well, it was pretty boring, to be honest. I would be expecting a million times worse among modern large governments.

So, yes, in his position, I'd bet my life. Of course, that doesn't generate anywhere near as much press, once people realise that what you SAY you're going to abducted for is pretty boring. I can point out a lot more war crimes that also go un-cared-about. Rather than fuss about a prat-in-a-box, let's fix the war-crimes happening, eh? Like, let's generate some actual disgust that they happened. Because... I'm looking around... and I see nothing.

And, to be honest, I could argue that Wikileaks put more innocent people at risk by doing what they did, how they did, without caring and instead fighting to get publicity. The fact that US forces kill innocents in a "warzone" (without a formal declaration of war, which is probably worse) is hardly even news. They've bombed hospitals and all kinds quite publicly.

Not saying it's right. Not saying I condone it. Not saying people shouldn't know. Not saying the perpetrators shouldn't face investigation and action.

But Assange? He's just a prat-in-a-box, and for self-inflicted reasons.

If anything, he has helped prove that if you DO know something, whatever you do never make it public. Unless you want to spend a paranoid eternity in an embassy (Assange), a prison (Manning), or being interrogated by Russia (Snowden). He has basically SCARED OFF anyone else ever following suit, for some pretty minor stuff that we already knew in principle, just lacking the specifics, and in doing so condemned himself when he could just have not skipped bail, cleared his name, and stayed the same kind of celebrity twat but with some integrity.

Lee D Silver badge

Re: It would take a heart of stone not to laugh...

1) We can't let people get away with skipping bail. Providing him safe passage tells every criminal "just run to an embassy if you don't want to go to jail". And he wasn't even GOING to jail...

2) Nobody cares about the Sweden stuff unless and until he's out and Sweden bother to re-file paperwork for it. That'll be AFTER he stood in a UK court and (almost certainly) has gone to prison for contempt of court. Then we literally hand him over, because we're legally obliged to if they file the right paperwork again.

3) He's not really costing us anything (any more), but it's costing the Ecuadorians a fortune in lawyers alone, I imagine.

4) He's a great leverage in trade agreements. "Oh, so I see Mr Assange is still there, running from our legal system. And you... wanted what from us precisely?" <notes down scribble on a post-it> "Well, I'll be sure to look *right* into that."

Fact is, nobody wants him, but nobody wants him to thumb his nose at them either. It's only a matter of time / stupid tweets before Ecuador tire of him and come up with some innocent arrangement which happens to end with his arrest. Then we'll convict him, shut him up for six months, and let him go. Who to and where? Literally nobody cares. If the paperwork comes through and it's legit, we honour it. If it doesn't - well that will just be funny, to be honest.

In fact the best thing for him would be to try to escape, because at least something interesting would happen. And barely a week goes by that he doesn't try to make the news anyway. One slow news week and he'll be hopping down the fire escape or something.

The alternative? I can literally see him dying of old age in the embassy, because nobody else cares enough to do anything about it. He'll be one of those QI factettes ten years afterwards, and nobody will care.

Best Alan Davies impression: "So, this guy spent 20 years locked in an embassy, to avoid bail on an arrest that never happened... what a twat..."

BT to slash landline rentals by 37%... for the broadbandless

Lee D Silver badge

To be honest, I refuse to pay even £11.99 a month for basic telephony now (ignoring the call charges etc. on top).

Mobile telephony is not only INCREDIBLY cheaper (I think you can have giffgaff from £5 every 3 months without fear of them cutting you off) but much more likely to be useful - custom ringtones, Caller ID, selective silencing, do-not-disturb, voicemail, block spam and un-identified callers, etc. etc. etc.

When I moved recently, I looked into activating the old BT line and using it for broadband. This was stymied by several things - they wanted a deposit, they wanted £18.99 a month for the line (or thereabouts), they wanted more per month to put on the broadband, I would have to buy a phone handset if I wanted to use it to make calls (and nowadays, that would be a £25 cordless set), and in the end I would only be "guaranteed" less than 1Mb on ADSL2, 10Mb on VDSL.

It was just easier to buy a 4G Wifi box and a SIM. 30Mbps. Free Netflix/etc. that don't count towards data usage. And a data allowance that I only burnt through once (over Christmas) and paid an extra tenner to double it for that month only. If I did an annual contract (which BT also wanted), I could have it for £20 a month. Plus I can take it anywhere, and it's battery backed (being a portable device). I can also switch providers any time I like by just swapping a SIM or even telling the box to piggy back off any other Wifi (e.g. my phone hotspot, etc.) without having to change a single setting on any network device.

Sorry, there was just no competition there at all.

In work - same story. We ditched all the analog and ISDN lines and went SIP with a non-BT provider, over a non-BT leased line. Saves SO MUCH MONEY, and hassle, and has much greater capacity.

The landline is dead. It's just going to take a few decades to drum that into people. But do you really think the next generation of 20-somethings are going to care about Wifi in their flat if they have 5G?

Yes, Emergency Service Network will be late and cost more - UK perm sec

Lee D Silver badge

Re: I can't remember

Happens all the time.

Oh, you mean in the UK? Yeah, no, forget it.

Tesla crash investigation causes dip in 'leccycar firm's share price

Lee D Silver badge

Whether or not the barrier is there... why did the car hit it? Even hitting it WITH the barrier there doesn't mean you escape being in a fatal accident.

And the hazard warning is still there, quite visibly, only the day before. With a bonus cone, to boot.

It makes the accident *more* severe but the accident shouldn't happen. Whether that's driver error or Autopilot, someone's not doing their job. But even to the point of taking in dashcam footage from witnesses and using it as "proof" seems a bit like misdirection when no car should be contacting any other solid object (except the road itself!). To do so at these speeds, no matter what barriers are there, is still potentially fatal, to the driver and others.

And bringing out stats about how safe the vehicle is because so many other people drove past? That's like saying the Ford Mondeo is safe because millions of people use it every day. Sure, generally, the stats might be lower at the moment because they are just a probability. That can soon swing the other way as more data like this is added.

The question is - if this WAS in "autopilot" mode (yeah, yeah, I know) then why did it crash? Because a reasonably-attentive human wouldn't have. If it wasn't, what about all their collision-avoidance junk? Did it go off? Did it detect anything? WOULD it have braked if it was in the right mode? Because they sell the car as heavily on collision-avoidance during normal driving. Which obviously failed. Even if the driver aimed at the thing.

It seems to me that the laws of average are just playing catch-up to the real numbers, not that these things are inherently much safer.

Take the dashboard too literally and your brains might end up all over it

Lee D Silver badge

Re: Oil Pressure Gauge?

I have a 2016 vehicle. There is no oil pressure gauge. Because...well... let's be honest, if you need it, then you shouldn't have let your vehicle get to that point (i.e. you should know enough to get someone to service it precisely because you never do, or you should know enough to service it yourself).

There's an oil light (although explaining that they occasionally need to check that ALL THE LIGHTS COME ON when they start the car, and then all go out, is lost on most people). There's a rev meter (which I don't understand the point of nowadays, given that there are also gear-change icons as well as this big loud revving noise or stall action if not in the right range). There's a speedo. There's even a thing that tells me fuel efficiency (which I would argue is actually quite useful in this eco-era).

But oil-pressure? Nope. Same way I don't need to know the battery voltage, etc. It's a detail that shouldn't need to be *measured* as part of the normal course of driving operation. I'm sure the *car* might want to know it... does the ECU act on oil-pressure for anything other than a low pressure warning? I don't think so. But I'm sure the car needs to know exhaust temperature, O2 content of intake air, valve timing, etc. I don't. It does.

To be honest, that's how a dashboard should work. The stuff I need to know, only, including a big red light if there's some problem that requires intervention. Everything else is just a distraction. I don't need to know how many emails per second my server is dealing with. But I'd like a red light if - for some reason - it doesn't see any emails for a long time, or if it's hitting overload on dealing with incoming emails.

But people lost that point about user-interfaces a long time ago, so most UIs try to show you everything all the time for no real reason. There's no need for my software firewall to flash for every possible network activity, for example.

If I was in charge of some huge national grid of something, I'd want a red-amber-green of most things. And full statistics collection in the background, obviously. But I just need the red-amber-green. Everything else is detail that you can dig into later if it's more than an intermittent blip.

Lee D Silver badge

Re: Chart based encryption

There are lies, damn lies and statistics indeed.

They are a number of books that nicely illustrate (sorry) this point, about how presenting data in new and interesting ways can highlight (or disguise) different aspects of it. Things like The Visual Miscellaneum are a great way to demonstrate how infographics can show data in new ways.

Basically - trust the numbers, not your instinctual reaction to a large red pie-section.

And, yes, I'm a mathematician. You shouldn't trust us either. We have a way of being 100% accurate, while also being at least 98% misleading at the same time.

10Mbps for world+dog, hoots UK.gov, and here is how we're doing it

Lee D Silver badge

Re: For Everyone?

Tell them to buy a 4G stick / wifi router (e.g. Draytek Vigor LTE models).

I guarantee you that you'll get more than 6MBps around there. Even if you only use that as an "first, fast, unreliable" services and keep the 6Mbps as the "second, slow, more reliable" fallback.

Lee D Silver badge

Re: We put a man into space/landed on the moon? between 1961 and 1969.

Someone will pipe up "A&A ISP", who have a wires-only broadband.

It's true, they do.

But do note that this is just a BT line, with a slightly reduced rental on it because you can't make calls (but it's still connected and has a little voice at the end of the line), which is then much more expensive than even the cheapest BT+ADSL line, and has a ridiculous default data usage cap...

Lee D Silver badge

Compared to how much it then costs to go back and dig it up again to put in the electricity. And the gas. And then the phone. And then the traffic light. And then the new electricity because of all the new houses now. And then the fibre. And then the leased line to run the 4G mast. And then the sewage for the new housing estate in town.

All of which often use OTHER means rather than dig up the road, precisely because DECIDING to close off the road is the hard part but when it's already closed it's much easier to do everything. Imagine how many private lease and wayleave and ducting arrangements are made on other land because they can't use the road that runs right past it.

And then, quite literally, you can put out a schedule of "We're digging up the A41 next week, anyone who wants to modify their parts of that service path should book the work in now" and save having to tear the road up several times or (worse) leave it unmaintained because it's too expensive to get access, so the water main bursts because nobody's looked at it in 20 years.

I'm not saying it's zero-cost. But it's significantly lower ongoing cost once done. And precisely because it's not zero-cost, we should have homogenised and saved over the long run decades ago and every year we put off doing so costs more than if we'd just started doing it.

P.S. I'd also charge for access to each module. You wanna shut down that road to service your gas line? No problem. The council responsible for it (and not petty measuring devices and surveys to determine boundaries every time, but literally "module 23") charge the gas company for the hours it's out of use and the number of cars / users inconvenienced - thus heavy-traffic roads cost a ton more to service, and you won't want to leave your roadworks up overnight unless it's absolutely necessary. Wonder what you could use that money for?

Lee D Silver badge

I still can't work out why this is privatised.

And I can't fathom why you wouldn't just make a concept of a "service path", as such. That would consist of - a vehicular access road, electrical power supply, fibre-optic data feeds, gas lines, sewage and other drainage, "service path utilities" (i.e. for the direct use of street lights, traffic lights, etc. separate from everything else), spare ducting reserved for future use, service hatches/manholes and anything else that every road is going to need eventually.

I get why the old London roads don't have that to start with, but why - 60-80 years ago when we started to build proper roads and had to re-do lots of things and cable lots of new services into the roads, it wasn't just designed on a modular basis.

Then every road grows in proportion to the industries/households that it serves, redundancy and spare-routing in the road network results in the same on the data and power networks, you know that you can just put some new "quantum cable" through every road in the future should you need to, and every new housing estate built gets all services even if it decides not to utilise them.

Build it in as you go, until it's standard hardware through all the major routes and towns, and then you can literally just get used to expecting it to be there for everyone. And every time you re-lay a road, you can retro-fit, until eventually everywhere will be connected (very few vehicle roads are more than 50-years-old in terms of the tarmac on them, I should imagine, even if the road has been there since the Roman ages).

Basic communications, transport and utilities infrastructure should be part of the same process, department, procurement, maintenance, etc. That it isn't, I find very disappointing. And you just know that even if we got to "start again" (e.g. on Mars) we'd make the same mistakes rather than just make everything part of the same modular, standardised system.

Apple turns hat around, sits backwards on chair, pitches iPad to schools

Lee D Silver badge

Too little, too late.

After dealing with DEP, Apple School Manager, and just about every possible way of supervising and locking down iPads, including Cisco Meraki management, my school just gave up and binned them.

Why? ATROCIOUS AND APPALLING customer service. Literally no education department, nobody to speak to, nobody interested, asking for "the iPad serial number" when you're discussing 500 iPads all suddenly not signing into iCloud, etc. and ultimately culminating in a recorded-delivery written complaint, which resulted in a phone from "The Head of Written Complaints" who refused to confirm their name, reply in writing, or state the simplest of facts when they would not allow us to create new iTunes accounts (with a huge end-run using Apple School Manager and all kinds and ultimately never being successfully because of their "security" procedure which locks out an IP from creating accounts after a certain number a week... 5 years running of "we'll grant you a 30-day exemption only", which solved the immediate problem but was bloody stupid for a school that gets new pupils all year round, they refused to do so any more.

And if you can't be bothered to confirm ANYTHING in writing in response to a written complaint (I asked the guy if Apple could afford a printer, but he refused to answer), places like schools and businesses can't do business with you.

We WERE the talk of the local schools, with 1:1 iPad allocation. Now they form less than a quarter of our devices, among Chromebooks and Android tablets, both of which are well-supported and much easier to lock down using the Google Admin tools (which are free, but we just have to buy one Chromebook licence per Chromebook if we want to use them, which is already half the price of an iPad anyway).

Apple literally, after years and years and years of warning, couldn't be bothered to do anything more than put us on the same phone line as the grannies phoning up about forgetting their passcode. We literally NEVER received a useful answer from them and it was all guesswork and workarounds around their utter-shite. When they then destroyed the business relationship by even failing to provide details like head office address, names, handling a complaint formally, etc. then they were pulled, despite being the headmaster's favourite show-off line (and he's a mad Apple fan).

Senior team took ONE meeting with my contact log with them and the number of solutions provided (zero), plus witnessing my phone call with Mr Head of Written Complaints, and they ditched and revoked 5 years of investment within the hour.

Don't do business with Apple, they've never cared about such things. They are there to make as much money as possible from personal users and couldn't care less. Schools are ultra-ignored, the "famous" ones that are pushing Apple kit? They usually have an Apple centre on site specifically to try to convince other schools to use them (while also getting services that NOBODY else can obtain).

Google, on the other hand, has always supported, helped, and spoken to schools directly despite most of them not paying Google a penny.

Tens of thousands of pounds of hardware in the bin, not to mention about £10k worth of app licenses. Not a penny more, however. Orders of the management.

You wanna help schools? Shove it, Apple. You had more than enough chance.

Huawei joins Android elite with pricey, nocturnal 40MP flagship

Lee D Silver badge

It's like a rundown of everythingI don't care about in a phone.

Even-more-stupendously-ridiculous camera features that I'll never use, and more cameras to use them on.

Stupid display ratio and "follow the crowd" design nonsense.

Slow-mo video, so people can piss about doing things that are totally useless for even more time.

No removable storage or battery.

No headphone jack.

LUDICROUS price.

How a QR code can fool iOS 11's Camera app into opening evil.com rather than nice.co.uk

Lee D Silver badge

Sigh.

Cause: Failure to correctly parse untrusted input.

Fault: Whoever wrote the Camera app.

Same old story, it doesn't matter what junk they give you about "it's a secure device, we do X, Y and Z", they never, ever, ever parse untrusted output properly.

And fail in the most trivial of ways possible. It's not like some complicated overflow, it literally doesn't parse the URL correctly and consistently despite it being THEIR OS and THEIR libraries and THEIR app on THEIR hardware.

Another one to add to the bookmark folder entitled "Yeah, but my Apple device is more secure, right?" that I bring out whenever someone brings that nonsense up.

Cash-machine-draining €1bn cybercrime kingpin suspect cuffed by plod

Lee D Silver badge

Re: That was certainly my understanding

Which would be how I would design it. [[However, for all intents and purposes a properly secured and managed VLAN setup is practically identical to separate cabling (no, on a proper setup, you can't just "pretend" to be on the secure VLAN even if you know what that is - any decent switch will refuse that, only allow certain ports to do that, override any VLAN setting (or absence of one) you try anyway, or demand RADIUS to authenticate to the other VLAN).]]

But in terms of modifications... why would you want them remotely-accessible from anything other than the central bank itself (and the computers controlling your centralised ATM network? Yeah, they shouldn't have Outlook on them), and why would you want to modify (say) denominations issued or present in the drawers? That stuff should be done by an engineer on-site (by definition, physically inside the bank, and usually when it's closed to the public).

Certainly it shouldn't be issuing out more than requested, giving money for free, or from accounts that don't have the funds (up to a set amount, possibly, in the case of complete disconnection from the network but to be honest, I would then say "Don't issue money at all but say "Out of Order" because you have no idea if it actually exists in the account at all"). Isn't that how ATMs are scammed across Europe - everyone clones a card, uses it at the same time in ten different countries, the foreign ATMs all "trust" it for a while and issue cash, and only realises 10 times the amount has been withdrawn from various countries but it took a little while to update them all and realise that? It always seemed a stupid design for me, and the reason that card machines dial-up to check the ACTUAL live status rather than hope there was credit and issue the goods/money.

Lee D Silver badge

I'm no security expert but:

"The crooks are said to have kicked off their activities with the Anunak malware in 2013, which was sent in spear-phishing emails to bank employees to infect their Windows PCs when opened. Once compromised, the zombie machines were used to access the bank's internal network and hijack ATMs."

So, the ATMs are on the same network, VLAN and authentication paths as the Windows PC loaded with Outlook.

Now, call me an idiot, but... if that's the case then there's something already DRASTICALLY wrong with bank security.

I literally cannot think of a reason for an ATM to be on anything other than a walled-off VLAN, with zero access by the branch staff. In fact, I can't even think of a reason that ATMs should be modifiable remotely at all, to be honest, and certainly not in a way that they can dispense money for free, or more money than requested.

UK smut overlord declares age checks should protect users' privates

Lee D Silver badge

Re: What have I missed?

However:

https://www.drinkaware.co.uk/alcohol-facts/alcohol-and-the-law/buying-alcohol/

It is against the law:

- To sell alcohol to someone under 18 anywhere, and can lead to a maximum fine of £20,000 1 for bar staff/managers or premises may eventually be shut down.

- For an adult to buy or attempt to buy alcohol on behalf of someone under 18.

- For someone under 18 to buy alcohol, attempt to buy alcohol or to be sold alcohol.

If you give your son a drink, that's fine. If you buy a bottle of cider for the kid outside the shop, that's illegal.

Lee D Silver badge

"so I expect Mumsnet users will all be off searching for websites that haven't implemented the age verification checks to grass them up."

And those websites will be hosted abroad, thereby untouchable unless you want to get into a list of domain names / IP addresses, and they can flux - even those using content delivery networks (like they already do) to help - in seconds if necessary.

It's going to be like trying to shut down a million Pirate Bays but where they are perfectly legal in the jurisdictions they are hosted in.

All you'll do is push the content abroad, into more and more dubious locales, until they pretty much don't care what they host any more, or that they have to circumvent your primitive, slow blacklisting.

What a mesh: BT Whole Home Wi-Fi users moan over update

Lee D Silver badge

People choose BT gear? Since when?

I don't think I've ever had a connection in my life where I chose to use the BT equipment. My old workplaces all have a little box in the cupboard full of the "original" modems/routers and most of those were still in shrinkwrap. In fact, we only ever kept them in case BT gave us that "you must try to see if the problem is still present when using the original equipment or we won't support you" but even they aren't that stupid to insist on that any more.

You can use anything from Netgear to Cisco to Draytek, at home or at work, but who the hell (among those "in the know") doesn't just replace the BT supplied junk with something that at least works? Even on Virgin, I used to stick the SuperHub in modem mode and had either a Draytek Vigor or a Linksys WRT sitting behind it doing the real work (including wireless).