Feeds

* Posts by Ken Hagan

4220 posts • joined 14 Jun 2007

MPs to sue UK.gov over 'ridiculous' EMERGENCY data snooping law

Ken Hagan
Gold badge

Re: Wrong end of the SAM

That "dude" was Mr Putin.

If you really want to "go after" him, you're going to need more than the ability to snoop on UK telecoms.

0
0

NO MORE ALL CAPS and other pleasures of Visual Studio 14

Ken Hagan
Gold badge

Re: re: C++11/C++14 features

Thanks for the link. The list under CTP2 looks to be basically empty, but CTP1 seems unusually rich by the standards of recent years.

0
0
Ken Hagan
Gold badge

Where have you been for the last 20 years. MS haven't released a version of VS or Office that followed the style of the then-current OS since 95. It *is* irritating, I'll grant, but I thought everyone understood that these two products are where MS beta-test new UI ideas.

4
0

Major problems beset UK ISP filth filters: But it's OK, nobody uses them

Ken Hagan
Gold badge

Re: Too broad

"Killing it all at the ISP (or even at the in home router) kills it for adults as well..."

whereas trying to kill it at any interior point in your home network means it doesn't cover all the devices that the kids have access to. Particularly if you are relying on some PC software, you are missing your telly, your tablets, your gaming consoles, your phones, and quite possibly other gizmos that an old fart like me isn't aware of yet.

2
1

Banning handheld phone use by drivers had NO effect on accident rate - study

Ken Hagan
Gold badge

Re: put the place name in tht title if its not in the UK

I respectfully disagree, good sir. We have plenty of splendid contributors from the colonies and I'd be sad if they felt any less at home here than we do.

1
0
Ken Hagan
Gold badge

Re: Do tell...

"I ride to work with a helmet cam for this reason."

Car drivers can get dashboard cameras, too. I think this will become increasingly common. A relative was involved in an accident recently and pleasantly surprised to discover that one of the cars coming the other way was a driving instructor with a dash-cam and so there was HD video footage of the whole thing. Made the insurance paperwork *much* easier.

I can see a time coming when you get a reduction in your premium if you have cameras on your car. This is not because it lets your insurance company screw you when it was your fault, but rather because it makes it so much harder for the other guy's insurance company to argue when it was his fault.

3
1

NUDE SNAPS AGENCY: NSA bods love 'showing off your saucy selfies'

Ken Hagan
Gold badge

Re: I would laugh at this if it weren't so sad

"The U.S. has between 15 and 40 million people here illegally. We have no idea who their allegiance is to."

If a foreign power was able to land an army of 15 million troops (or spies) on your territory, I think you'd reckon you'd lost whatever war you'd been fighting. It seems a safe assumption that most of these people would, given the choice, gratefully pledge their allegiance to the US, just like your ancestors did. They're probably doing the jobs that US citizens don't want to and keeping their noses clean in the process because they *really* don't want to get involved with the police.

4
0

Voteware source code review 'could lead to hacking'

Ken Hagan
Gold badge

It is an established fact that in the immediate post-war period, the US intervened to prevent Italy from going communist. They then spent the next few decades interfering in all sorts of countries to swing the local government their way. We now also got all the post-Snowden fallout about what the NSA have been up to.

I'd take it as read that any electronic voting software used in national elections in any country in the world has been the target of a serious effort by more than one foreign power to force a particular result. It is simply naive to imagine that these people would leave such things to chance, or to the enemy's hackers.

2
0

UK Parliament rubber-stamps EMERGENCY data grab 'n' keep bill

Ken Hagan
Gold badge

Re: @Forget It

"In that case you are a very lucky man."

Apparently he also lives in a fairly safe seat, where the MP has a majority of votes cast.

0
0

Google Nest, ARM, Samsung pull out Thread to strangle ZigBee

Ken Hagan
Gold badge

Re: Call the fire brigade...

Your story actually flags up the article's example as slightly bogus. If the "Thing" is important enough that I worry about it falling off the net even temporarily, then I'm going to insist on it phoning home to the router every so often. OTOH, if I'm more concerned about saving power, I don't mind if it falls off for a while and then sorts out its new address when it finally returns.

1
0

LibreSSL crypto library leaps from OpenBSD to Linux, OS X, more

Ken Hagan
Gold badge

Re: Trust + Compilers

And one of the big differences between now (as well summarised in h4rm0ny's reply) and then is the off-the-cuff remark that Thompson was able to give the first version of his most evil compiler (that didn't need the hack to appear in the source code) to all the relevant people under the guise of an update. I don't believe anyone could do that now, so the hack would always be in plain sight if you went looking for it.

1
0
Ken Hagan
Gold badge

Deprecation achieves very little unless you can persuade people to re-write old code. Otherwise, compiler vendors have to provide two "modes" of compilation: strict and legacy.

Much the same goes for loud compiler warnings. People just compile their "old" code with the warnings off. However, these *can* be used to ensure that nasty old practices are not accidentally re-introduced in a modern codebase.

4
0
Ken Hagan
Gold badge

Re: "C++ has its place , but this sort of low level almost to-the-metal code is not it."

From your heartfelt complaints, I infer that you were once exposed to some complete idiots who took the C++ language spec as a challenge, and you've developed a hyper-sensitivity to feature abuse as a result.

For code like this, I'd reckon that idiomatic C++ would differ from idiomatic C only in using constructors and destructors to automate memory management and structure initialisation/cleanup. There might be a large-integer class with overloaded arithmetic operators, but if you can't handle using infix operator notation for integer arithmetic then you probably can't handle the theory behind SSL.

I'd expect an almost line-for-line correspondence between the two code bases. I'd expect the two compilers to generate almost identical code. I'd expect an experienced C coder with only a passing knowledge of C++ to be able to read and maintain the C++ safely.

C++ was largely developed by experienced C coders who wanted to make it easier for themselves to write C code, and one of the basic design principles is "no room for a lower level language, except assembler", so all the bare-metal tricks beloved by C coders are valid C++. A Real Programmer, of course, can write FORTRAN 66 in either language.

9
1
Ken Hagan
Gold badge

Re: Code is truly awful, but sadly not unusual

/* can't happen */ ??

Isn't that most portably spelled "abort()"?

If the compiler can prove your assertion, it will generate no code. If it cannot, then it will cost you a few bytes of code. Either way, each time you change the surrounding code, the compiler will re-check. On any given platform, there may be non-portable alternatives that turn mistakes into a compile-time error.

4
0
Ken Hagan
Gold badge

Re: conflicting objectives

"And you can't afford to leave any clues in memory which might be reallocated to a different process afterwards."

Perhaps I'm just playing Devil's Advocate here, but if you are running on an "OS" (and I use the term loosely) that doesn't zero pages before handing them to another process, then you're wasting your time worrying about security.

1
0

Watch: DARPA shows off first successful test of STEERABLE bullet

Ken Hagan
Gold badge

Re: Less lead less impact.

On the other hand, if you are confident that it will hit the target, and if you've already spent a small fortunate putting the smarts in, you'd probably make the round out of tungsten and give it a diamond tip.

2
0
Ken Hagan
Gold badge

Re: My hopes are dashed

"I wonder what it feels like to work on this stuff?"

You tell yourself that snipers are the most efficient and humane operators on the battlefield. You tell yourself that this will help our side win against their side. You tell yourself that the basic tech will be developed anyway and in twenty years it will be trivial to buy the necessary parts off the shelf, so you are simply making sure that our lot get it first.

You tell yourself that our arms dealers won't be given special credit facilities by our government to enable them to sell this to the other side, who can't otherwise afford it because they've hammered their own people (and economy) into the ground. Then you shoot yourself.

I wonder what it feels like to work in the foreign office.

5
0

Computing student jailed after failing to hand over crypto keys

Ken Hagan
Gold badge

Re: FTFY -- "investors"

Ah, yes, of course. Thanks for the heads-up.

0
0
Ken Hagan
Gold badge

Re: Arrests

" the party of telling other people how to live their lives "

All parties exist pretty much solely to tell the supporters of other parties how to live their lives.

4
1
Ken Hagan
Gold badge

Re: A doofus, with weak lawyers, but the law is broken

"This is also what all those US startups developing "NSA proof" email don't seem to get: the technology becomes entirely irrelevant if you can be legally forced to cough up the data in cleartext."

I'm sure the startups understand this point. It's their prospective customers who don't.

4
0
Ken Hagan
Gold badge

Re: Vic Hang on a minute ...

" the result - time-wasting, moronically abusive, skiddie tw@ went to prison"

The prosecution didn't have to prove *any* of those things. They simply asserted that the proof was behind a locked door and the defendant had not provided the key.

16
0

Insecure AVG search tool shoved down users' throats, says US CERT

Ken Hagan
Gold badge

"Browsers aught to have a 'Allow Tool Bars' option, which if not enabled, won't allow their use at all."

The difficulty there is writing such a browser in a way that lets the human make the decision but prevents a copycat program from automating exactly the same steps. Generally speaking, the programmers most willing to spend time and effort posting "raw input" messages are exactly the ones that sane users least want to be able to impersonate them.

1
0
Ken Hagan
Gold badge

"Known as "bloatware" or "foistware","

Hereabouts we call it "payload", especially when the payload is a browser toolbar. Has there ever been a useful browser toolbar?

24
0

Fridge hacked. Car hacked. Next up, your LIGHT BULBS

Ken Hagan
Gold badge

"If the internet still isn't secure what chance has the IoT got?"

Smaller networks are easier to secure than larger ones. Nets where one person owns and/or has physical possession of all the devices are the easiest to secure. Larger ones where most of the devices aren't even under the same legal jurisdiction as you are a Very Hard problem.

0
0

Google de-listing of BBC article 'broke UK and Euro public interest laws' - So WHY do it?

Ken Hagan
Gold badge

Re: not illegal

"Google must play the role of a neutral deliverer of information, because as soon as they start to make editorial decisions, they lose the Safe Harbour protections they currently enjoy, and they become legally responsible for the accuracy and balance of the results they present."

I wish that were true, but the ECJ's insistence in chasing search engines rather than the original publishers of an article suggests that the concept has no legal standing over here.

10
1

Windows users: You get a patch! And you get a patch! And you get a patch! Everybody gets...

Ken Hagan
Gold badge

Re: Month after month, year after year

"you have to ask if the architecture is flawed."

I don't know if you'd call it the architecture. The Windows kernel is perfectly capable of defending itself. The problem is that for many years Windows Setup made just one user account and expected folks to use an administrative account for daily use (including browsing and email). These day, of course, it is much smarter. It creates just one user account that is rigged to put up an "Are you sure?" box for each piece of incoming malware.

Then there are the users. Microsoft has happily sold computers for years to people stupid enough to click "Yes, I'm sure.". Linux, however, has restricted itself to people who aren't.

2
0

Start packing your bags for a Windows Server 2003 migration

Ken Hagan
Gold badge

Ask a silly question...

The migration away from XP was made almost impossible by the vast number of (cr)apps that only just ran on XP (or, in practice, IE6) and therefore had to be re-written or replaced before the OS could switch. Since we're talking about end-user apps, there is almost no limit to the numbers of these.

What's the position for your average server? Any box that is simply filling one of the standard roles (like DC, file server, web server, database, ...) just requires the cash to replace. The only problems would be servers running some sort of bespoke crapware.

So if you can forgive the (apparent, but un-meant) trolling -- how big a problem is this?

0
0

We need to talk about SPEAKERS: Sorry, 'audiophiles', only IT will break the sound barrier

Ken Hagan
Gold badge

"Dawkins is one of the pre-eminent experts in the field."

If we're discussing the ear's suitability for the job then "the field" is actually quite complex. It starts, obviously, as an exercise in acoustics (and I doubt Dawkins is pre-eminent in that field) but we also have some engineering constraints:

It must be something that an embryo can create.

It must be something that the adult body can interface to and provide energy to.

It probably helps if it is also something that the adult body can maintain.

and as noted later in the article, mathematical fidelity of response is less important than being able to notice certain kinds of sound and locate their sources. As a result, a perfect microphone would be a totally rubbish ear. Pretending otherwise merely gives the ID-iots an easy target to shoot at.

4
0
Ken Hagan
Gold badge

"it's actually more pleasing to the ear to have a slightly non flat response."

Really? You mean it is actually more pleasing to the ear if it doesn't hear the same sound that it would have done if the musicians were playing live? Hmm ... probably, but do keep quiet about it or else you'll upset someone.

3
0

Google chair Eric Schmidt reportedly visits Cuba

Ken Hagan
Gold badge

Re: What about North Korea?

Yes. Quite a number of countries are unranked, making the final league table fairly meaningless.

In other news, England are the best football team on the planet, apart from a few who aren't listed because they are currently mucking about in Brazil.

0
0

BOFH: You can take our lives, but you'll never take OUR MACROS

Ken Hagan
Gold badge

The economics of hammers and nails

Take a tool that you know and a problem that you don't. For sufficiently small/simple instances of the problem, it is easier to (ab)use the tool that you know rather than learn a new tool. Having done that, it is even easier to continue the abuse even as the problem grows in scale or complexity.

That's why we end up with Excel as a database. That's why people use languages like Javascript, Java, Python and the rest for serious development. (They were all developed as "toy" languages trading rigour for ease of use in very limited contexts.) That's why people adopted C++ when object-oriented programming became popular. That's why people use toy operating systems like the original Unix (and the original Minix, and I suppose CP/M and DOS) as the basis for OSes that are now running datacenters and server farms. That's why people virtualise an entire OS rather than use an OS that is capable of properly separating multiple tasks.

Almost everything we love and hate in IT happens because quick and dirty is easier, or cheaper, and in that sense *better*, than "doing it properly".

6
0

Microsoft compliance police to NHS: We want your money

Ken Hagan
Gold badge
Pint

Re: So MS are threatening the sacred cow of British life?

@Lamont Cranston: Why the joke icon? I thought the NHS *was* one of the organisations paying extra to keep XP going a bit longer.

1
0

Google Glass gets 2GB of RAM. Think about this. Two gigs of RAM

Ken Hagan
Gold badge

Re: My biggest reservation

"Holly"

Zen...

Orac...

Slave...

Twiki...

Robbie...? OK, scratch the last one. We're not actually that short of names.

0
0
Ken Hagan
Gold badge

"... and when upgrading your mainframe from 256MB to 512MB main store was a weekend job with a £7.7 million price tag."

That's got to be a typo. You meant KB, surely. If we're going back far enough to call it a "main store" then it surely wasn't more than 1 meg.

0
0
Ken Hagan
Gold badge

"Your 300MB hard drive computer with an OS taking up just 3MB; did it have a 5MP camera capable of 720P recording, 1.2GHz processor, Wifi, Bluetooth, gyroscope, accelerometer, magnetometer, ambient light sensor, proximity sensor, and all the drivers, stacks and APIs to support the above and more?"

"5MP camera capable of 720P recording" -- Capable of all that, but apparently not capable of being switching off when you aren't using it. (That's unless you count the 21st century definition of "off", as in "still on but not talking to you".)

"Wifi, Bluetooth" -- ooh network drivers. Yes, we had those back then.

"gyroscope, accelerometer, magnetometer, ambient light sensor, proximity sensor" -- external devices don't cost footprint per se and these ones only deliver handfuls of bytes of data in response to the moral equivalent of serial commands. We had those back then as well.

"1.2GHz processor" -- riiight, coz the extra Hertz consume RAM, don't they...er.

"and all the drivers, stacks and APIs to support the above" -- for the above, that would probably be just a few internal busses and an IP stack, and I think the answer was probably again "yes". You might quibble with the speed of the internal bus, but like I said earlier, sheer Hertz don't actually cost RAM.

"and more" -- well the "more" is pretty much what I was complaining about. The fifty background daemons started by default, each pre-allocating gobs of page-locked RAM so that in the unlikely event that they are used they can be sure of starting up Reeaally Fast, the whole system written in some many-layered bloat-fest of HTML-on-bytecodes-on-JITted-something-or-other, ...

Let's face it. This is 300MB because it was cheaper for Google to up the hardware spec than it would have been to trim down the stock Android that they run on it. I accept the economics, but still reckon it smacks of laziness and a lack of professional pride on the part of the developers.

1
0
Ken Hagan
Gold badge
Windows

"only 682MB of free RAM after it boots the Android OS"

So the OS to run a pair of glasses has a 300+MB footprint before it does anything useful. How depressing.

Icon: (Actually not so...) old fart who can remember when 300MB was a large hard drive, used by an OS with a footprint two orders of magnitude smaller, which did essentially the same job.

14
4

You're inventing the wrong sort of tech for bad people who want to buy it. Stop it at once

Ken Hagan
Gold badge
Happy

Re: I'll take your quote and raise you...

"The transatlantic cable from England to Australia was a huge project at the time"

Sounds a little mis-guided to me.

3
0
Ken Hagan
Gold badge

"It [Kickstarter] seems to me a far better fit [than traditional VCs] for this kind of thing."

Do we know that traditional VCs aren't just using Kickstarter to find stuff these days?

3
0
Ken Hagan
Gold badge

"(given the barriers to entry is 8 hours work if not less)"

The barrier to entry is 8 hours divided by the one in a million chance that your fart app (or moral equivalent) will be the one selected by Fate to enjoy its moment in the sun.

For a $1m dollar investment, that's pricing your time at roughly a dollar a day. If you really are doing this in your spare time, for personal amusement, that's probably fair. As a business model ... not so good.

2
1

iFind: Critics slam Kickstarter campaign for miraculous battery-free phone finder

Ken Hagan
Gold badge

Re: Very, very fishy

"I saw a RFID tag the other day smaller than a postage stamp, but..."

That's what I thought *this* idea might actually be. Just stick an unpowered RFID tag on the phone and put the power on the unit that looks for it. It would work with TV remotes, key-rings, all sorts. All for the price of one "finder tool" and a batch of self-adhesive RFID tags.

But of course, since that's the point of RFID tags, you'll hopefully struggle to get a patent on the idea.

2
0

DON’T add me to your social network, I have NO IDEA who you are

Ken Hagan
Gold badge

Re: hmph!

Sadly for those of you thinking of setting up a new social network, www.buttplugg.com is already taken.

0
0

TIME TRAVELLERS needed to secure Windows 7

Ken Hagan
Gold badge

Time travellers?

Last I heard, April comes before June. Where's the time travel angle?

3
1

Redmond patches 66 flaws on Patch Tuesday

Ken Hagan
Gold badge

Re: most of them in Internet Explorer

"having to update OS due to having a badly written browser"

Yawn! Another noob who read a story once about IE being some kind of kernel-level service rather than an ordinary app with *exactly* the same privileges as their beloved Firefox or Chrome.

"Firefox / Chrome are absolutely fine"

Yes, they are "fine" but actually they have their faults even if those are different faults from IE. It would be nice if Firefox supported MIME documents without an extension, or if Chrome supported them at all, just as it would have been nice if IE had supported SVG within a decade of everyone else and if its belated support had been available on the OS that so many IE users were still using, but we can live with all these foibles.

What *any* web developer with half a clue (and/or any knowledge of recent history) would say is that we *need* a choice and Trident is a choice. (RIP Presto.) Sadly, of course, most "web developers" seem to believe that HTML is a page description language and so any browser engine that doesn't put pixels in exactly the same places as their favourite browser must be broken. Earth calling those developers: Your brain is broken -- JUST SCRAP THAT SHIT.

1
0

IPv4 addresses now EXHAUSTED in Latin America and the Caribbean

Ken Hagan
Gold badge

Re: IPv4 consumption rates and IPv6 adoption

"Reclamation of existing blocks is unworkable and doesn't do much at all to help"

It probably makes things worse. Re-allocating any spare address you can find to any customer anywhere who wants one rapidly leads to routing tables that require 2^32 entries (at least for routers outside your domestic premises). Since most routers don't have several dozen gigs of spare RAM their only option is to "punt" the problem upstream onto a bigger router. That doesn't scale well.

In IPv6, you have so much free address space that you can keep address prefixes largely in line with topological reality. Routing is then much simpler and scalable.

5
0
Ken Hagan
Gold badge

Re: two errors

"no specification for routing ipv4 onto ipv6 was made as part of the standard"

Wouldn't have helped. There *is* almost two decades of "best practice" on how to run a dual-stack solution on any given, so anyone with a network device who actually gives a shit has been able to make their device mix and match both protocols. Any extension to IPv4 to make IPv6 easier would be (has been?) ignored. Any support in IPv6 to make IPv4-interoperability would be (has been) impolemented only by those who give enough of a shit to be IPv6-ready.

"mobil devices were allowed to have ipv4 addresses"

Mmm, because forcing a second class experience on anyone who spends several hundred quid on their new shiny is going to get everyone on-board, from Apple all the way down to the little guys like Stephen Fry.

2
0
Ken Hagan
Gold badge

Re: Thinking off the top of my head…

There are no /infrastructure/ overheads. The only changes needed are in software stacks and the necessary software is almost everywhere except the domestic router. As for government mandates ... the US mandated IPv6-compatilibity for all new kit about a decade ago. It's had no effect that *I* can see. You're probably right about technical skills, though that's less of an IPv6-specific problem and more of a general gripe against humanity.

Nevertheless, I suspect the real story here will be in six months time when we learn that the sky hasn't fallen in because, shock, if a vendor *really* has no alternative then yes they can put IPv6-capable firmware in (new) routers and so ISPs can still deliver something to (new) customers that works.

1
1

Massive news in the micro-world: a hexaquark particle

Ken Hagan
Gold badge

Re: Neutron decay

Protons and neutrons are composites of "up" and "down" quarks.(Two of one and one of the other, though I can't recall which way round they go.) Electrons are not made of quarks but belong to a distinct class of particle called leptons. Quarks and leptons are currently believed to be fundamental and in that sense are on a par with one another.

The idea that a neutron is a bound state of a proton and an electron hasn't been seriously entertained for many decades.

2
0

DOCX disaster recovery: How I rescued my wife from XM-HELL

Ken Hagan
Gold badge

Re: Which Office product is at fault?

"Any half decent programmer uses a DOM object of some sort to manipulate XML documents"

More generally, almost any conversion from one structured format to another is an example of parsing, whether from file to memory or vice versa or neither) and parsing was analysed to death in the 60s and there are today several excellent parser generators available to anyone who is faced with a significant input parsing or output formatting problem.

I'm as guilty as the next programmer, but as a community it is quite shocking that we've known how to do automate that part of programming for 40 years an yet still prefer to cobble together something that reminds us of our first text books.

2
0
Ken Hagan
Gold badge

Re: Which is why...

"I tend to avoid the X formats wherever I can, and I thus never had the problems as described (or I've been lucky)."

You've been lucky. The ODF formats are also "zipped XML" and so if the code is willing to emit an ill-formed XML document then it seems perfectly plausible that it would be willing to spit out bad ODF as readily as bad DOCX.

2
0