* Posts by Kristian Walsh

1817 publicly visible posts • joined 10 Apr 2007

Come with me if you want a lid: Apple bags Terminator-esque LiquidMetal mobe patent

Kristian Walsh Silver badge

Apple buys licence to "cool" thing, then wonders what to do with it...

To clarify this before the fanbois get the wrong end of the stick, LiquidMetal is not Apple's invention. They're licencing the use of the material from the company that did invent it, and Apple's licence covers only its use in portable electronics: the Swiss watchmaker Omega currently produces watches made from the same material.

About ten years ago, silly-phonemaker Vertu produced a phone that made extensive use of LiquidMetal, but the company didn't pursue the use of the material, as customers preferred gold, platinum or even (bizarrely) brushed steel as finishes.

LiquidMetal is very good for removing panel gaps, but it was always possible to do this with glass or ceramics - the problem was to find a metal that didn't react to heat or force at such a different rate to the glass that the glass would shatter or simply fall out.

Google makes malware microscope Mac mod

Kristian Walsh Silver badge

If that's true, and they think OSX is an answer to this, they're bigger idiots. I suspect the "security" is a retroactive justification for not choosing Windows, when the real reason is a preexisting corporate cultural bias against Microsoft products. It's not like Google wouldn't have good IT staff...

I'm predominantly a Mac user, but I also use Windows 7 and 8, and these are just as (in)secure as OSX, and the anti-malware security measures on both OSes are just as easy for a busy user to click through.

The only difference between the platforms I can see is that the attack vectors in Windows are exploited relentlessly, whereas those in MacOS X have been largely ignored to date. ("attack vectors" doesn't just mean security holes, but things like website popups styled to look like system dialogs, or email mesages styled to look like Outlook's UI; these stick out like a sore thumb on MacOSX, but are less noticable on a Windows system).

Apple plots HOME INVASION at WWDC

Kristian Walsh Silver badge

Apple ditch vendor lock-in.. for user lock-out.

So, you'll have to keep buying iOS devices forever, otherwise your heating won't work anymore and the front door won't open. Or what happens in five or six years when that old iPhone you had to keep around to run the lights with finally dies?

Yes, I can see how the idea of giving a single corporation control of every important system in one's home would appeal. To people who don't think things through.

( I would make the same comment with Google or Microsoft brand-names replacing those of Apple: the principal objection is in the three words "a single corporation" )

Bing's the thing in Microsoft's push for cheap Windows devices

Kristian Walsh Silver badge

Re: So where are the Whiteknighting MicroSoft Shister-Team

Simple question: How can an Android OEM change the default search provider or default mapping solution? "Default", meaning the one that opens when you're sent an address in a mail, and choose to search for it.

I know it's possible to do this when you don't use the Play Store, so can someone explain the technical reasons why the Play store cannot coexist with a non-Google search or navigation system?

I fully understand why IE was not a requirement for the proper operation of Windows, and why Microsoft's claims to the contrary were lies. I'd just like to know why the same lie is not a lie when Google tells it.

Kristian Walsh Silver badge

Re: So where are the Whiteknighting MicroSoft Shister-Team

Michael, there is a native HERE app for Android, but only on Nokia's AOSP-based products..

http://360.here.com/2014/02/24/navigation-for-more-people-here-maps-for-nokia-x

Free at point of use would be possible if an OEM were allowed to buy navigation from Nokia, owner of HERE (even after the sale of their phones business to Microsoft, the navigation business remains part of Nokia). The OEM would pay Nokia, licence the mapping solution, and they would then be able to sell an Android phone with full offline navigation to gain a competitive advantage over other Android OEMs. The additional sales revenue would cover the cost of purchase; for users, the service would be "free".

That they cannot do this is precisely my point: Google's current all or nothing licencing for Android apps prohibits OEMs from competing with Google.

HERE has never been Navigon. HERE was formerly called Navteq, who along with the TeleAtlas supply cartographic data and mapping software for virtually all embedded GPS and navigation products, including those made by Navigon.

Kristian Walsh Silver badge

Re: So where are the Whiteknighting MicroSoft Shister-Team

As you've shifted the argument onto whether or not Google Maps has competition, can I assume that you see the difference in the licencing models now?

HERE is the largest competitor, but there's also a selection of native TomTom or OpenStreetMap-based navigation apps on Android for navigation. Offline navigation and offline mapping is a major weakness of gMaps when travelling - for me, it outweighs any other advantages, as it makes the product useless in the one place I most need maps. I still wouldn't trade my HERE/Nokia maps on my old Symbian phone for any version of Google Maps.

Kristian Walsh Silver badge

Re: So where are the Whiteknighting MicroSoft Shister-Team

The difference is simple.. it is possible, as an OEM, to buy Windows from MS, and use either their default search engine, or Google, or whatever you want. Microsoft offer a financial incentive if you use Bing, but they do not use their ownership of Windows to prevent you, as an OEM, swapping out their services in your installs. (And in every case, the customer can always undo your choice, and use their own preference)

Contrast Android. Android, as customers understand it, is actually two things: the free-source OS, Android, and a proprietary application suite, gApps. The gApps package is a set of services, that are largely independent of each other. One, the Play Store, is what makes Android interesting to users (there are alternative mapping, mail, search, music and calendar systems which are ä good or better than Google's, but only an idiot would claim that any other app store has the catalogue of Play's). However, Google offer these services as an all or nothing bundle. You cannot negotiate with Google on this, they will not licence these applications individually, for any amount of money. Why not? Because the current situation is beneficial to them, because it blocks competing services from "Android". Customers cannot easily replace the services either, meaning that what's installed in the device in the factory is what stays on the device.

The argument that it's Google's software, and they can do what they want with is invalid; Windows and IE were Microsoft's software to do what they wanted with too, but their actions with bundling these together in the 1990s were still illegal. Abusing a market advantage in one service (in this case, application distribution), to block competition in an unrelated one, such as search, is the problem.

"use Cyanogen" is not a viable alternative for the vast majority of people who buy Android devices. You don't get a 70%+ market share if all your customers are nerds and tinkerers.

That case you linked to is about search, not the Store (where I believe the real anti trust issue lies), and it will probably fail, because the US is the only market where Bing, via iOS, has high enough share for Google to not have a monopoly on mobile search...

Kristian Walsh Silver badge

Re: So where are the Whiteknighting MicroSoft Shister-Team

If you read the article... the user can change it any time they want. They can also install any other browser they want. This new offer applies to OEMs, and is limited to configuration of the preloaded software, not to what the user can or cannot do.

If you actually want to know the difference between this and OEM complaints about Android, tell me how one can manufacture an Android phone with Play Store and gMaps, but using alternative search engine... even if I, as am OEM, are willing to compensate/pay Google for the privilege...

Kristian Walsh Silver badge

Re: Anti-trust?

No anti-trust issue... MS still offer the licence with full customisation, but at the old, higher price. This lets OEMs who are already receiving incentives from Google for installing Chrome or making Google the default search, to continue to do so.

Anti-trust only applies if OEMs are given no reasonable alternative option, as happened in the 1990s with IE ... it was either "take Windows plus IE, or you can't have it at all, at any price".

Kristian Walsh Silver badge

Re: Microsoft, Bing, Windows 8.1

Bob, you should consider doing some kind of charity work. Channel all that energy you expend hating Microsoft, and use it for good...

Kristian Walsh Silver badge

"can it be changed?"

Reading the article provides the answer. Yes, of course it can be changed... by the owner of the PC.

This isn't the same as the old IE lockin that got MS into trouble: OEMs have a choice, and can buy their way out of the default for a small fee.. in the 1990s there was no way to buy Windows from MS without also having IE as default browser (just as today you can't pay Google more for Android and gain the right to replace Google's maps, calendar, music or search services).

Or, to put it a different way, Windows is still the same price as it was for OEMs, but now MS give a big discount if you make Bing the default. If, as an OEM, you've already got a deal with Google to preinstall Chrome, this doesn't affect you.

NOT APPY: Black cab drivers enraged by Hailo as taxi tech wars rage on

Kristian Walsh Silver badge

@AC Re: GPS is shite ....

Couple of points:

First, It's not the brand of GPS that's a problem; TomTom is as good/bad as Nokia. The reason the route is "wrong" is because it's based on partial knowledge. There are plenty of very good shortcuts in central London, but you've got to know WHEN they're shorter than taking the "long" way... (and that comes down to things like knowing what time of day/night the local hotels and get their laundry deliveried).

Second, you can file a report against a cab driver if you think he's abusive, and the Public Carriage Office are only delighted to hear about bad drivers. Full contact details on this page http://www.londonblacktaxis.net/complaints.htm (The driver's licence is on the back of the car)

My small experience with black cab drivers is that there's about 30% of them who are grumpy (fine, they're there to drive, not entertain), about 5% who have opinions I disagree with strongly and the remaining 65% who are courteous and efficient. Considering they spend their working life driving in the hellhole that is London traffic, it's amazing that there are any reasonable ones at all...

Redmond slow to fix IE 8 zero day, says 'harden up' while U wait

Kristian Walsh Silver badge

Re: @ Kristian Walsh (was: Harden your browser)

How do you get around California without a car, Jake..? It's not like you know about every single system inside it, is it?

You don't know me, but you still assume that your knowledge of everything is superior to mine... There's a name for someone who reasons without facts... Several names, in fact, but you've already been called them all by now, and maybe you still think it's just jealousy from us "stupid" people.

Kristian Walsh Silver badge

Re: Harden your browser

"Linux isn't proof against "any" attack, Grikath, but it is proof against most of the attacks "in the wild". If you are paying attention, that is. Which most Cupertino/Redmond users aren't."

So, what you're saying is that because Unix-clones are still inscrutable to non-technical users, the only people who can actually use them day-to-day are technically-literate systems admins, who are well versed in how to stop security issues, and so those platforms are inherently more secure because they exhibit fewer malware incidents, because by being inscrutable to non-technical users, the only people who can actually used them are... et cetera. Get off when you feel dizzy.

China to become world's No 1 economy. And we still can't see why

Kristian Walsh Silver badge

Re: Interesting

Without your story losing any relevance as an example, I think you have confused ICL and ICI.

Malware-as-a-service picks Android apart

Kristian Walsh Silver badge

Re: All those steps required?

Make a "warez" app-store, that has this app bundled into every download, then publicise it on message boards.

People will disable every kind of security measure if you convince them that those checks are only put there by "The Man" to stop them getting stuff for free...

Fanbois Apple-gasm as iPhone giant finally reveals WWDC lineup

Kristian Walsh Silver badge

You too can copywrite like a wanker...

Six years ago we still used verbs. No longer. Today, a sentence fragment. A breathless, elegiac noun-phrase. Ellipsis, not substance. Language-like collections of words. Decoration without meaning. And misused conjunctions.

Slow vomit. Again.

Microsoft Surface 3 Pro: Flip me over, fondle me up

Kristian Walsh Silver badge

Re: Still way too expensive

Weight and size. If you travel a lot by air, you'd be happy to pay £100 for every 100g you don't have to haul in your cabin bag in a mad dash between airport terminals. Even with the type cover on, it's about 250g (about 1lb for those in the 18th century) lighter than a similarly-priced MacBook Air.

As an aside, I'm glad that someone has realised that widescreen sucks for laptops. While getting an old 4:3 iBook working a couple of months ago, it struck me that despite the lower resolution, the screen format worked better than 16:10 or 16:9... especially when every OS takes vertical slices out of your screen space for window bars, toolbars and menus. The 1.5:1 ratio is also close enough to the A-series's 1.414:1 ratio to make this a very good tool for reviewing and annotating documents when used in portrait.

I can't help thinking that if this had been an Apple launch, it'd be hailed as a revolution...

Apple, Beats and fools with money who trust celeb endorsements

Kristian Walsh Silver badge

Analogue, and it not being digital... and why 192k could be useful, not audible

Bravo Stoneshop for mentioning the -3 dB measure. A lot of people talk about "Bandwidth" of analogue systems and think that if a system has "20 kHz", then nothing beyond that is registered when that's only true of digital sampling. In practice, the recorded signal level rolls off beyond this point (just as human hearing does).

I'm surprised that the author didn't consider the anti-alias pre-filtering of the original analogue material when producing CDs. Often the fitering starts at around 16kHz with gentle rolloff, rather than 20 with a sharp cutoff, because CD's high-frequency phase response isn't particularly good (a problem that's solved by using a higher sampling rate, although beyond 96 kHz, it's hard to make a case on "listener" grounds). Also, sharp-cutoff filters have "leaky" passbands, allowing alias signals through: another problem fixed by using higher sampling rates.

I accept that nobody can hear anything much over 18 kHz, and most adults with the money to spend on fancy hi-fi can't even hear 15 kHz anymore. That is statistically speaking, however, and there are a very small number of people who retain a wide hearing range well into their 40s and 50s, but never much beyond 15kHz. But it's still odd to see a defence of the 44.1kHz sample rate of CD as if it's scientifically based: it's not, it was the highest rate that could be placed on NTSC U-Matic video-tape without the machine's horizontal-blank insertion destroying some sample packets. The fact that every subsequent format has used 48kHz or multiples of it, shows that it wasn't quite good enough. 16 bits also wasn't quite enough for preserving linearity of low-level signals; 24 appears to be the minimum for preserving everything that's audible as the signal goes through its various stages from studio, to medium, to replay, to ear. (I'd argue that the extra bits of the "high res" formats are more significant than the extra samples)

There are also a couple of non-technical advantages of higher bitrate formats: mainly, they require components and system makers to work to higher standards. Before CD arrived, most amps (non-hifi) had a 15 kHz top end, because that was good enough. As noted above, most adults can't hear beyond this anyway, but an amp designed to only reproduce 15kHz is going to be working reasonably close to its fastest swing when reproducing a very audible 8kHz, and failure to track signals accurately will increase harmonic distortion. Signal-to-noise was also not a real issue at this time, as all sources had quite high noise floors anyway.

Suddenly, CD players arrive, and amplification needs to nominally support 22 kHz. That means new ICs and transistors (valves, if you're rich enough to run Class A, and not care about your electric bills) with a faster slew rate (the speed at which an amp can change output voltage), which means more accurate tracking of signals in the audible band. Similarly, the lower noise level of CDs pushed equipment makers to produce lower noise amplification, which is a good thing in general, because for other, analogue, sources the noise floor still had small amounts of signal buried in it; signal that a lower-noise amplifier would now not obscure.

So, if 24bit, 192kHz audio became commonplace, we'd have amps that are good for 30+ kHz, with an improvement in linearity in the audible range and noise. What's not to like? So what if it's driven by marketing fluff? So was CD, and it raised the bar.

But the real, hidden benefit of 24bit 192kHz is something that the author almost touched on but then left hanging in the air: and again it has nothing to do with human hearing. Room-tailored reproduction. If you're designing an active, adaptive speaker system to compensate for the room's acoustics, your task is made a lot easier if you have a source signal with lots of resolution, as rounding and errors are less significant, and lots of samples, giving finer control of signal phase..

Right now, home cinema system DSPs already upsample to higher rates before applying processing, but upsampling a signal is no match for working with more original data. It doesn't matter that this extra data is inaudible to listeners; it still allows the processing equipment to produce a better audible signal after applying lots of other processes to it... after processing, a CD-quality signal can never have the fidelity of the original (you cannot add information by processing a signal, only remove it). On the other hand, a 192k/24 signal, after processing, can be every bit as good as the unprocessed theoretical CD signal.

Google Maps adds all UK public transport timetables

Kristian Walsh Silver badge

Britain* (exclusions apply)

It's simple:

"Britain" = Area covered by a wave of the hand over Map of Europe somewhere to the North-West of Belgium to distract the viewer while waver silently mouths the word "England".

"England" = 1. A small village in Shropshire where they still play cricket on a village green every Sunday. 2. Any number of sports teams drawn largely from places that don't actually exist, they being north of London, yet not in Scotland.

"London" = Ornate tax-haven for Russian oligarchs. When lit professionally, it looks a bit like Cardiff.

"Wales" = Rugged outcrop west of London. Locals friendly despite epidemic of nasal catarrh.

"Scotland" = Oilfield and country-sports resort off the northern coast of London. Invented everything important. Except whisky. They print their own special money to make sure none of it ever leaves the country.

"Northern Ireland" = Not actually part of Britain, except when it is. Populated by two factions, both of whom want to live in different countries, but who are afraid to leave in case the other changes its mind and stays. Sometimes mistakenly called "Ireland", which more correctly refers to "Ireland, the Republic of": a rustic revenue transit-point for American corporations, also vehemently not part of Britain, despite all cultural, sporting, commercial, legal and societal signs to the contrary.

Use of adjectives:

"British" = Scottish or Welsh or Northern Irish person who has just succeeded at something on the world stage; or English person who has spectacularly failed to do same.

"English" = English person who has just succeeded at something on the world stage.

"Scottish", "Welsh" = Scottish or Welsh person who has spectacularly failed and/or disgraced themselves on the world stage.

"Irish" = Warning: unless you've got documentary proof that you are talking about a citizen of the 26 counties of the Republic of Ireland, this word is best avoided, unless you actually intend to start a heated and pointless argument that will rage for days.

Note, none of these should be confused with the special noun, "Briton". This is reserved solely to describe a holder of a passport issued by the United Kingdom of Great Britain and Northern Ireland who has just come to a very sticky end very far from home.

Powershell terminal sucks. Is there a better choice?

Kristian Walsh Silver badge

Helpful comment?

Dear Guus,

I am at an utter loss as to why you don't know what the English idiom "to teach oneself" means? Reason being that you have composed a message in grammatically-correct English whose sole purpose seems to be to insult the original poster.

Vinyl-fetish hipsters might just have a point

Kristian Walsh Silver badge

Re: Zero compression

I seriously doubt the "zero compression" thing. Sounds like marketing gimmickry to appeal to uneducated customers who just think "compression= bad", while not realising that compression in an analogue medium isn't the same as in digital.

All analogue recordings are compressed at some stage. Often at several stages. If they weren't, you wouldn't be able to hear them half the time, and you certainly wouldn't be able to listen on headphones without risking serious damage to your ears.

Fetish is a good description of the modern attitude to analogue. It's better "because analogue." - and that's the about the depth of the knowledge behind the dogma.

I like analogue - the world we live in is analogue. But, there's no reason why a digital recording can't match and exceed an analogue one (the reason is that the "recording" isn't one step, but several, and in an analogue chain, every process raises the noise floor, something that's only true of some digital processes).

The reasons why CDs in particular sound like crap have nothing to do with the digital audio technology, and everything to do with misinformed record company execs forcing mastering engineers to do terrible things to their work. Here's a very good example from Ian Sheppard of Dynamic Range Day : https://www.youtube.com/watch?v=j-O5l6NSsdY

Windows XP market share decline stalls, Mac OS X surges

Kristian Walsh Silver badge

Re: "What methodology is used to calculate StatCounter Global Stats?"

Herr Berger, if you think El Reg is "Pro Windows", you're either not reading its coverage of Microsoft at all, or your other reading is so rabidly anti-Microsoft that it has skewed your judgement.

After twenty years online, the Register is the one site I still visit daily. Firstly, because they're an equal-opportunity cynic. Nobody gets a free ride: not Google (the tech press's current Golden Child), not Apple, not Microsoft, and not the Free Software business. The fact that everyone accuses the staff of being biased against their favourite OS/company is a good sign....

(The other reason I still come here is that its one of the few news sites where the user comments actually add information and reasoned opinion to a lot of the stories; long may it continue)

Today's bugs have BRANDS? Be still my bleeding heart [logo]

Kristian Walsh Silver badge

@Tom Re: @kraut, re: goto fail;

To be a little clearer, I generally only use that syntax when checking function returns. For comparing boolean variables in expressions, I do use the ! operator.

The reason I do this only for functions is that it's consistent with the way you'd check for numeric error-codes. (e.g, "if ( eNoErr != thisFunction() )").

I find the use a ! when checking function calls is a little too subtle, simply because about 50% of APIs I've ever used use 0 to mean "no error" and the other 50% use it to mean "not successful". (dishonourable mention here to Apple's CoreFoundation that gives no status at all for operations that can actually fail under some circumstances).

For performing "logical NOT" on variables inside expressions, of course, I do use !, but only if the variable is actually a boolean. I do not write "!x" when I really mean to ask "has the value of the counter/numeric variable x become zero". It'll all end up as the same CPU instructions, so I think it's better to say "x==0" when I mean "test if zero" and "!x" when I mean "test if not true", if only to help the maintainer later on.

Especially as the maintainer may be a future me who has completely forgotten how the code works.

Kristian Walsh Silver badge

Re: Open Source is where seasoned professionals made their early mistakes...

I didn't say that FOSS lacks professionals, or even capable amateurs if you use the literal definition of "professional". Saying that would be a lie. But that's not what I said.

What I said was that lots of project contributions are made by students; people who almost by definition lack experience. I know this from working in academia, and in academic research. The project maintainers catch a lot of the naive mistakes they make, but anything that slips through can acquire "good" status simply due to age.

That is a flaw of the "many eyeballs" theory of software quality, but that's not to say that organised QA is in any way incompatible with FOSS. The best projects do lots of formal bugfix and testing, just like the best commercial closed-source. There's no such thing as an Open Source or Closed-Source Software Engineering process; there are only suitable processes and unsuitable ones.

There's certainly a lot of closed-source software developers who believe the "many eyeballs" fallacy. Particularly on the web where updates are cheap, and the ethos is that "first but wrong" will beat "second and right".

Kristian Walsh Silver badge

@kraut, Re: re: goto fail;

That was a counter-example, to explain why I tend to write "false==" rather than the unary ! operator. It's not an example of code I'd ever write, although sadly it's an example of code I've had to maintain in the past.

I agree that the space character is a good thing. I also bracket boolean terms within expressions, for the time when someone decides to change a test like " if ( x<0 && y!=1 )" into "if (x&0x8000000 && y!=1)". The latter has unfortunate, almost always unintended* consequences; consequences that are avoided if the original terms were bracketed, thus: " if ( (x<0) && (y!=1) )".

I code the way I drive. Defensively, on the assumption that everyone else is either incapable, or not paying attention. (It's not that I think other people are stupid, it's that I accept that even the best coders make stupid mistakes from time to time). Brackets and spaces and indentation have zero runtime overhead, with huge "maintain-time" performance gains.

* intended consequences are worse: any coder who would deliberately exploit the more unintuitive C operator precedences like this in order to save the effort of using brackets would not last long with me.

Kristian Walsh Silver badge

Re: re: goto fail;

Legibility. ! is easily missed when you're staring at a lot of code, especially when it's as a term in a larger boolean expression.

Look at this as an example:

 if (token||!f())

I see checking for a false return as catching the "unusual" case, so I make it a little more explicit. I rarely write things like "if (true==...)"

Kristian Walsh Silver badge

Open Source is where seasoned professionals made their early mistakes...

The projects are always short of coders, and meanwhile colleges and universities are always looking for ways of exposing their students to "real" code.

There's a lot of free software that was written by people who, until they wrote it, knew very little about the subject, or even about programming.

The worst examples get weeded out by diligent maintainers, but sometimes code slips through, and then hangs around so long that people think it's a model solution. Definitely the "million eyeballs" collaborative development model encourages the fallacy that "old code is robust code" even without any evidence that the code in question has been examined.

Commercial practices aren't much better, mind, but there's always the threat of lawsuit or being fired to encourage a little more diligence from devs. Plus, by the time you're hired to do a coding job, you've made a lot of your naive mistakes already... on some Open Source project.

Kristian Walsh Silver badge

Re: You All Use GoTo

There's a huge difference between break, continue and else; and goto.

break is used to exit the current code block, and can only cause the execution to move forward towards the end of the current function. Similarly, continue can't move execution to any point before the enclosing loop was defined, and else can only cause execution to move forward.

goto can explicitly put the execution pointer anywhere in the current function. That's why it's considered such a dangerous tool.

In scoped languages, there's another difference - when you issue a 'break;' you are cleanly leaving the current symbol scope (which means that anything created within that scope will be cleanly disposed of). goto doesn't guarantee anything.

The argument that an if is just a goto is silly, because that's exactly the point of "if". The reason there's an if/else construct at all is to replace the loose cannon of "goto" with something safer and more descriptive (and remember that compilers produce better code when you give them more to work on).

Kristian Walsh Silver badge

@mccp Re: Note to all C programmers

Well, there's also Embedded C++ - it removes the performance-hurting parts of the language (dynamic allocation, virtual functions, exceptions...), and leaves you with a "C with better data structures and naming". No virtual functions, no polymorphism, but you've still got constructors and destructors, and RAII still works, and the code will be as fast and as small as C.

C++11 also has a whole slew of features that make it very useful for low-level, embedded and performance-critical systems; stuff like constructing objects over existing memory (i.e., no allocation overhead), and elimination of class/structure copying allows you to write less code, but keep the performance. "Constant Expressions" are another great idea (that could go into C too), where you get the compiler to calculate invariants and replace them with constants rather than waste your precious CPU cycles doing it; the advantage over a macro or #define is that if the situation changes to require a runtime-calculation of the expression, the code change is as small as the removal of a single keyword.

Kristian Walsh Silver badge

re: goto fail;

How I do step-by-step processes with clean deallocation in C++ (with apologies for the stripped indentation)

bool stepByStepProcess()

{

bool overallResult=false;

do {

AcquiredResource one;

if (false==one.checkSomething()) { break; } // will deallocate 'one'

OtherAcquiredResource two(one, "hello");

if (false==one.checkSomethingElse(two)) { break; } // will deallocate 'two', then 'one'

// getting here means everything has worked.

overallResult = true;

} while (false);

return overallResult;

}

If Bjarne hadn't said "C++ ABI and name-mangling is a matter for the implementor" back in 1985, I really don't think C would be still around now...

Ouch... right in the Androids! Google hit by another antitrust sueball

Kristian Walsh Silver badge

"Android is (largely) F/OSS, so if these lawyers want, they can re-spin their own sans Google services. Cyanogenmod is one example of this."

That "(largely)" is getting smaller with each release, but the "sans Google services" is the crux of arguments like this. The problem is that all of Google's services are bundled. If you want to offer Maps, Calendar, Music, Play Store, but use a different search engine, you're screwed. It's all or nothing, and there's no business agreement you can come to with Google to change this. That's the anti-competitive bit. Would-be Android vendors, whose customers would prefer a different search engine, cannot offer such a product, because Google won't let them.

Why would someone want a different search engine? Because Google isn't the best everywhere. Yandex, for instance, is the runaway leader in Russia and other countries that speak slavic languages simply because their search indexing just worked so much better than Google's for these languages. Baidu owns the Chinese market, for less noble reasons (for instance, easy deeplinking into pirated music downloads). To customers in both these markets, Google is a second-rate, off-brand search engine.

This case, though, will fail, because they picked the one market where, thanks to iOS using Bing, there isn't a Google monopoly in search.

Kristian Walsh Silver badge

Re: Bing Bong

Since iOS 7, iPhone and iPad devices now go through Bing, as do Siri searches.

With the US market being the only one where iOS has a comparable marketshare to Android, it's going to be hard to make any claim of Google monopolising "mobile search" stick.

Bing is improving fast, though. I have two systems I use regularly: Bing is the default on one; Google on the other. I've seen no need to change the Bing one to Google, but sometimes I get Google results that are irrelevant to my search. Google is the bigger target for tricksters and "SEO" scammers, I guess, but that could make Bing a more useful search engine.

If that happens, well Google will move heaven and earth to improve their search product further.

Competition. It's great.

Why two-player games > online gaming: See your pal's shock as you bag a last-second victory

Kristian Walsh Silver badge

Re: Must be the hippy in me...

Speaking of co-op games and STs... Bubble Bobble!

(I can hear that bloody music in my head now!)

DeSENSORtised: Why the 'Internet of Things' will FAIL without IPv6

Kristian Walsh Silver badge

Re: Nextweek Security through transparency

The Internet of Things might be a geek fantasy, but the Internet of More Than a Billion Addressable Computers certainly isn't. Also, the unequal geographical distribution of IPv4 addresses means that India has just over half the number of static addresses per head as the Isle of Man: 29 per head, versus 54 for IoM; the remaining UK has 1,958 per head; the USA has 4,911. [ source: http://en.wikipedia.org/wiki/List_of_countries_by_IPv4_address_allocation ]

Because of this, businesses in India often have to contend with ten levels of NAT. That's ten routers that can fail between your company server and your customer's; ten routers that have to be paid for in your service plans; ten routers that slow your traffic. And getting a static address? Hah!

Even in IP-rich countries, getting a static IP address costs money, something IPv6 would abolish. But the lack of an agreed 4-6-4 translation mechanism makes it difficult to integrate (and also a lot of ISP routers just don't talk 6 at all, which rules out virtually every Small/Medium Enterprise and home worker)

One other problem is that most networking professionals have made their career on getting IPv4 to work in an exhausted address space. IPv6 removes the need for that experience, while posing a new, unknown set of challenges to their customers' networks.

I've never met a good network engineer who says things like "hey, let's deploy this everywhere because it's the cool new thing": Network engineers are cautious and conservative profession, and that's a good thing if it's your job to keep a vital infrastructure up and running. (Same goes for water, gas, electricity...)

Until ALL the migration problems are solved, it just won't be done. But these problems won't be fixed in the West, but in countries like India and China, where the need is greater and more pressing..

So long, 'invincible dreamers': Google+ daddy Gundotra resigns

Kristian Walsh Silver badge

"It's so good I put my name on it..."

Why are most of the pro-Google+ testimonials anonymous?

I've described G+ as like going to a nightclub before 9pm: there's lots of space, but there's hardly anyone there, and they're all men.

I had a G+ account, but none of my friends, bar one, uses (or even joined) the service. I've a lot of "techie" and "non-techie" friends, and not one of the latter group uses G+; it's just not attractive to them - whether it's the google brand, or (more likely) the fact that "everyone's on Facebook/Twitter/Instagram anyway". The one friend I have who regularly uses G+, I meet regularly enough that I don't need to see his G+ feed.

... So late last year I deleted ("downgraded" in Google-speak) my account.

Just now, I logged into gMail, saw the "+ YourName" button there, and when I clicked it I found that my former G+ profile has been reinstated with all previous settings in place. Well it's certainly one way of boosting signups, I suppose...

(I don't own an Android device, and have never posted on YouTube, so it's not that)

Github cofounder resigns after clearance in sex-harass probe

Kristian Walsh Silver badge

Careful wording

In both quotes, it's stated they found no evidence of sexual harassment or bullying. Seems like a very specific denial, and it leaves the complaints of bullying and constructive dismissal unaddressed.

Horvath's story is more one of bullying and constructive dismissal than sexual harassment. If a co-worker of mine started purging all of my commits from the company's codebase, with the approval of management, I'd be livid, and I'd be getting myself an employment lawyer. Just like she did.

Oh no, Joe: WinPhone users already griping over 8.1 mega-update

Kristian Walsh Silver badge

Re: KitKat - no complaints?

Despite the name changing from a J to K, 4.4 really is just a "0.1" release; bugfixes, a few APIs and performance enhancements. Nothing to get excited about from a user's point of view. It fixes stuff people didn't like, and doesn't add too much new stuff for them to dislike.

WindowsPhone 8.1, on the other hand, despite being named like a "0.1" release is a actually a huge revision to 8.0. In Android terms, it's like the move from Gingerbread to Ice-cream Sandwich. Holding the version at "8.1" is a marketing decision, basically, to support the message that there's now a common API for both desktop and mobile "8.1" platforms.

Sorry London, Europe's top tech city is Munich

Kristian Walsh Silver badge

Re: Three cheers for the EU

Creating jobs in the fire-damage repairs, glazing, and street cleaning industries doesn't count as manufacturing innovation, so civil protests are irrelevant in this study.

If you don't like the current government, you should round up a mob of like minded people, march down to the town hall... and register to vote.

Report: Apple seeking to raise iPhone 6 price by a HUNDRED BUCKS

Kristian Walsh Silver badge

Carrier reluctance....

This is referring to the US carriers, and their reluctance is understandable given that Apple will want to do not one, but two things with pricing:

1. Increase the price of iPhone 6 by $100

2. Hold carriers to the current with-contract pricing.

After all, bleeding the US network operators has been Apple's key to success. But don't start cheering yet - Verizon and AT&T aren't the victims: drawing blood from the network operators means forcing those operators to increase charges to their non-iPhone, and non-smartphone users.

Discovery time for 200m WONDER MATERIALS shaved from 4 MILLENNIA... to 4 years

Kristian Walsh Silver badge

Re: Am I missing something?

Yes, you are.

While I was having a crap yesterday, I had an idea about using nanotubes to make a new class of super-light, super-dense batteries. I must check to see if I'm a millionaire by now.

This may come as a surprise, so sit down: The mental and physical effort required to conceive an idea isn't even a tiny fraction of the effort needed to bring it to reality.

Audio fans, prepare yourself for the Second Coming ... of Blu-ray

Kristian Walsh Silver badge

Re: Cuing the obligatory audiophile discussion regarding sample rates...

So even slight head movements will affect the phase relationship.

Yes, but while you were surviving to adulthood, your brain had plenty of time to learn how to compensate for the movement of your head.

After all, a human race that couldn't place sources of sound while their heads were in motion would not have survived long enough in the wild to be able to eventually make specious arguments on internet forums.

Kristian Walsh Silver badge

Overcutting their artists...

I bought the latest Goldfrapp album direct from their website, as 92k/24-bit WAV files.

For this higher-quality audio experience (and it really sounds better than any of my 44.1k/16 albums), I was charged £2 less than the CD would have been, or the same price as Apple wanted for 48k/16 audio files sieved through a lossy compressor. Oh, and the band probably got more of the money.

Or how about this way: a Peter Gabriel CD I bought last year had a voucher inside saying "Thanks for buying the CD. Here's your unique code to download a 48k/24bit version of the audio!" Wouldn't that solve the problem nicely?

Kristian Walsh Silver badge

Re: Cuing the obligatory audiophile discussion regarding sample rates...

So, your 22kHz sine wave. How does its reconstructed amplitude vary as I change the phase of the signal? Oh dear... that's a bit of a problem, isn't it? But don't you understand Nyquist? Or did you skip over the assumptions about phase...?

Thing is, signal phase accuracy is very important in producing a realistic stereo sound-field. In human hearing, it's the timing of high-frequency transients that is significant in determining position information. Even for signals with low fundamental frequencies, a relatively low sampling rate limits the ability to accurately locate the sound's high-frequency transients in time. Sampling at higher rates allows better phase accuracy, and thus better spatial information.

The second problem high sample rates can solve is more of a practical one: Low-pass filters do not have infinite attenuation in their stopbands. Alias signals do break through, but using a higher sampling rate ensures that most of the alias products are pushed into the ultrasonic region of the recorded spectrum. (You, of course, know that signal component just above fs is aliased to one just below)

Comms engineers strive for intelligibility and efficiency, audio engineers strive for realism. Don't use the rules of one discipline to solve the problems of another; if that worked, they wouldn't be separate disciplines...

Google kills fake anti-virus app that hit No. 1 on Play charts

Kristian Walsh Silver badge

Re: anybody remember the $999 Ruby app on the iPhone?

Apple only pulled "I Am Rich" when two of its eight customers complained that they'd installed it in error. [ L.A. Times report here : http://latimesblogs.latimes.com/technology/2008/08/iphone-i-am-ric.html ]

The app's description was very clear: It said that it did nothing, and the sole purpose was to show your friends* that you're the sort of person who's so rich they can throw a thousand bucks away like that. As such, it didn't violate the App Store rules. (Had it dared to show a woman's nipples, or two men holding hands in a loving relationship, we'd have been spared such a scam, but no, the author chose a picture of a ruby, so that was okay).

* yeah, if you're the sort of person who throws a thousand bucks away to show off, those people who hang around you are definitely your friends.

Windows 8.1 Update: Throws desktop drones a bone but still as TOUCHY as ever

Kristian Walsh Silver badge

Re: 'and if you need sideloading keys, you can purchase an unlimited number for around $100.'

"I just don't agree with the bloody fee"

If you're a personal user, and it's own software you want to run, on your own machine (and remember this restriction is only for Metro/new/whatever apps), then you can get a developer key for nothing.

If you're a business, it's likely the fee won't apply:

"As of May 1, 2014 customers in the following Volume Licensing programs (regardless of what product they purchase) will be granted Enterprise Sideloading Rights and provided with a sideload key at no additional license cost: Enterprise Agreement, Enterprise Subscription Agreement, Enrollment for Education Solutions (under a Campus and School Agreement), School Enrollment, Select and Select Plus.

"other customers who want to enable sideloading will be able to purchase an Enterprise Sideloading key for $100 through the Open License program. An unlimited number of devices can be enabled for sideloading using this key."

[ source: http://blogs.windows.com/windows/b/springboard/archive/2014/04/03/windows-8-1-sideloading-enhancements.aspx ]

The $100 is most likely there to dissuade malware authors from conning you into allowing side-loading of their shite over the phone, and also to allow MS to automatically kill such shite if it does get there.

Your learned colleague is indeed wrong about Apple: they do allow enterprise customers to sideload to iOS devices, but only as part of a $299 a year Enterprise Developer programme, and it's open only to registered businesses, not individuals (a reasonable restriction, I think, given the intended use case). Although that figure does include some dev support hours, it's not clear what happens to your ability to install apps when you stop paying Apple... It's still a better deal than the original programme, where you had to prove to Apple that you had enough employees and, obviously, iOS devices to be "worthy" of a sideloading key... pricks.

Kristian Walsh Silver badge

Re: Vox Pop

" My experience, and that of several friends who have bought new PCs and laptops, is that you just want the "new stuff" to go away "

If I may suggest: You only think MacOS X is better in this respect because you're not a long-time OS X user. I've been using OS X since early 2000 (and of my own free will since 2002), and frankly, I could do without every single "UI Improvement" Apple has added in the last five years of releases, from Spaces to Exposé to Launch Control and now the insanely irritating Notification Centre (I can't be the last Mac user who needs to do work on their computer that requires concentration, can I?).

And, deciding to suddenly autocorrect my text by default without asking me first? That's a whole barrel of laughs the first time you try to tell someone what to type into their Terminal over an IM session.

Yes, I know all of this can be turned off, and I've done all the "defaults" stuff to make sure it doesn't come back, but surely it's a waste of everyone's time (and don't start me on assigning every easily mis-hit function key to a different kind of disorientating window-juggle).

In short, what I'm saying is that the grass isn't greener; it's only that the cowpats are in different places than you're used to seeing them.

More relevant to this article, I quite like Windows8.1, but I'll qualify that by saying that I run it on a Surface 2 (yes, the RT one), which is exactly the kind of device I think it was intended for.. it certainly kicks an iPad's ass in terms of usefulness. On a destkop system, though, I go straight into, well, the desktop. I'm amazed that it has taken so long to suggest running Metro (whatever) apps in a desktop window - after all, Visual Studio's simulator does this, and it would have provided the best of both worlds (there are times when it's very useful to have nothing else on screen except the application you're working in)

In three hours, Microsoft gave the Windows-verse everything it needed

Kristian Walsh Silver badge

Re: Too Little Too Late

"The world has moved on from Microsoft's proprietary API's to FOSS solutions like Android, ChromeOS, Ubuntu, and SteamOS. "

With the exception of Ubuntu, all of those are like Free, Open-Source Software, but not actually FOSS. However you build them, the free sources of Android can't make the Android or ChromeOS that Google gives to its OEM partners.

To add to Jamie's point, above: I'd argue that the products that have done most commercial harm to Microsoft are Apache, PHP and MySQL, but I guess as they're not GNU-licenced, they don't count?

Kristian Walsh Silver badge
Joke

Re: Took them long enough...

The only reason X11 is still around because nobody has figured out a way of shutting it down it that'll work on all implementations.

HTC One M8: Reg man takes spin in Alfa Romeo of smartphone world

Kristian Walsh Silver badge

Re: Can I play the analogy game?

That's funny you should say that, as Chrysler had a similar fate after allying themselves with a giant German company that in hindsight nobody should have trusted.

Today, Mercedes are neither beautiful nor reliable. But it wasn't Chrylser that did this.

Chrysler's quality actually nosedived after Daimler came on board, simply because the German engineers didn't understand how to do mass-market car production. The Mercedes brand had relied heavily on retroactive quality fixes on failed units during manufacturing; something you can afford to do at Merc's margins, but not on a Dodge. So, they started to abandon the few things that were working in Chrylser (notably its then-new lean-manufacturing quality programme) without addressing the problems.

Luckily, with some Italian technology and manufacturing know-how from Alfa Romeo/FIAT, their quality problems are becoming a thing of the past. Mercedes, well... less so.

(The worst car I ever owned for reliability was a Mercedes A140, Bought from new, it had three gearboxes fitted before I gave up and accepted that 2nd-3rd would always grind the box; then the steering and suspension failed, outside of the very short warranty, leaving me to pay £1200 to fix it. All within 24,000 miles.)