* Posts by DrXym

5327 publicly visible posts • joined 18 Jul 2007

Microsoft lends Windows on Arm a hand with emulation layer to finally run 64-bit x86 apps at last

DrXym

Re: MS is between a rock and a hard place with desktop windows

This has nothing to do with the kernel and a lot to do with the amount of software that is compiled natively for x86 and the dearth of software compiled for any other architecture.

Microsoft have tried repeatedly to support other architectures. Even Windows NT had versions for Alpha and they've tried for PowerPC, Itanium and ARM too. The problem each time is customers say their software runs on x86 and Microsoft have produced sucky emulation layers which are either too slow or come with a bunch of restrictions.

The only time Microsoft have managed to pull off an architecture switch is from x86-32 to x64 and that's mainly because the processors were backwards compatible. So the Intel seeded the market with 64-bit capable processors and Microsoft were able to finally pull the rug on 32-bit. And the 32-bit software was able to run reasonably because the WOW32 layer in Windows is basically thunking stuff rather than full blown emulation. But it took a LONG time.

DrXym

Re: It's just fear of missing out

I suspect Apple are going to it simply because they can fab their own chips and aren't held to ransom by Intel.

But that's a business decision, nothing to do with benefiting users. And it's hard to see how it would benefit users when they're going to suffer crappier performance if they run x86 software through an emulation layer.

At least Apple are slightly better placed for the transition since they've done it twice before and make the hardware, the operating system and much of the ecosystem. So they can dictate the pace and can force the change.

DrXym

Re: Welcome to Windows Phone all over again....

If Microsoft had any sense, they would have provided universal binaries and compiler support for Windows 7 / 8/ 10, i.e. you open devstudio and build an executable like usual but it's targetted to a low-level architecture neutral format. Just like what Apple already does in the iPhone with LLVM. Or what Google does with ART.

Then when that binary runs the OS compiles it natively and caches it somewhere and uses the cached copy thereafter. It means companies can ship a single binary that runs everywhere and that lessens the burdening of testing and supporting multiple versions.

But that would make too much sense. So instead Microsoft forces developers to choose what platforms to support and so one ARM device after another arrives stillborn because nobody can be bothered to support it.

DrXym

Perfect news

For people who want run all the software they know and love, only much more slowly and with a bunch of caveats.

Burning down the house! Consumer champ Which? probes smart plugs to find a bunch of insecure fire-risk tat

DrXym

More money than sense

I could see the benefit of a smart plug / light to simulate activity in a house for anyone who is away and wants to give the appearance that it is occupied.

I absolutely do not see any day to day purpose in decking out a house with smart plugs / lights. It wastes power, wastes internet, invades privacy, lessens security and costs a fortune. All because someone is too fucking lazy to turn on a switch even though they're probably stood by it.

Key-cutting machine borked sideways after visit from the BSOD fairy locks things down

DrXym

I wonder...

I've never seen one of these kiosks let alone know how it works. But it would be interesting if it cuts a key by scanning one optically. I wonder if you could print out an image of a bump key and have this machine cut you one.

DrXym

Poor choice of words but presumably inside this kiosk is a CNC that grasps a blank and then mills out the grooves. Even in cheapo CNCs from Aliexpress the motors can move each axis within 0.1mm precision so there is no reason to think this kiosk would be any worse, and would be well within the tolerances of typical locks.

e.g. A Yale style lock has 7 pins, each cut to 7 potential heights that vary by 0.025 inch / 0.635mm increments. The corresponding key has 7 grooves that when inserted allows the pins to align and allow the lock to be turned.

So 0.1mm would be nothing at all and well within the tolerances that a lock would cope with.

It's 2020 so not only is your mouse config tool a Node.JS Electron app, it's also pwnable by an evil webpage

DrXym

Re: I like Electron but...

I think it's just a symptom that some manufacturers think having their software look & feel like other software is for squares. This was always an issue in Windows mostly with software like drivers, antivirus and media players. We'd see all kinds of terrible UIs with windows with rounded corners, non-standard controls, brushed metal, horrible fonts etc.

In the past they might have rendered their weird GUI in C++ with Win32 APIs, but these days they'll use Qt / QML or they'll wrap a browser to do it. Qt / QML costs money for commercial use so I assume many are cheaping out by using Electron. And so it is they write some glorified dialog box in JS, HTML and CSS and users suffer a massive install and runtime for it. And clearly in some cases it comes with a free exploit on the side.

Anyway, I much prefer it when Windows supports a device out of the box because there is no need to deal with this BS. I'm sick of bloated drivers, or worse, ones that run constantly with embedded nagvertisements, spyware, e.g. many printer drivers.

DrXym

I like Electron but...

...using it for some lousy mouse configuration app seems like massive overkill. Electron is Chromium and NodeJS lashed together just so somebody can adjust their mousewheel sensitivity.

The use of browser engines is so pervasive in some applications (e.g. most game launchers like Steam, Epic etc.) that I wouldn't be surprised that people unwittingly have 10 or 20 of them installed on their machine bloating out the disk.

Tesla to build cars made of batteries and hit $25k price tag about three years down the road

DrXym

Re: Upkeep and repair

Tesla's main problem is vehicle cost and build quality. Some defects would be covered under warranty but apparently things like panel gaps aren't. That's where they're playing catchup on established manufacturers in ensuring that they don't put lemons on the road.

Assuming your vehicle is okay I don't see how you'd have any trouble with operating costs. The thing costs less to refuel, has less mechanical parts to service and has good resale value.

DrXym

The state of autonomy

Tesla's auto summon can't even navigate an outdoor car park properly so what faith should we place on it doing things properly on the open road and at speed?

Onwards! To the airport and adventure! And this rather lachrymose Linux screen

DrXym

Re: I wouldn't call it "Linux despair" ...

The screen is probably network booting from some server and just can't talk to whatever it wants to talk to.

Google bans stalkerware apps from Android store. Which is cool but... why were they allowed in the first place?

DrXym

Re: The amount of ads for this crap...

Yes indeed. I'm amazed that Apple & Google don't blacklist these advertisers and publishers. Their ads heavily push the PayPal cash angle but then the appstore description uses words like "prize". And all the comments are people complaining that they were scammed.

DrXym

The amount of ads for this crap...

I get interstitials on some apps and they seem to fall into 3 general kinds of shady app:

1. RAID: Shadow Legends. This thing is a pox

2. Games promising PayPal payouts that you will NEVER EVER SEE. So many damned games promising you'll earn thousands from playing them when in fact they'll just harvest the poor bastards who install them for ad impressions.

3. Tracker / spy apps

I'm glad Google are banning spy apps but ban the other stuff too please. PayPal scams are so prevalent that Google should just ban them on sight.

GNOME alone: FOSS desktop folk to start counting in whole numbers again

DrXym

Re: "especially from an engagement and marketing perspective"

Numbers are arbitrary. I've seen open source projects which have been usable and have a version like from 0.03.

I think the main thing conveyed from going from 3.38 to 40 is that the desktop has become a more iterative experience, a continuously developing thing which isn't necessarily bound by maintaining backwards compatibility. That said, it's not like GNOME is going to say there is a new update available for it, instead you'll get whatever version is out when the distributions go out. So I doubt it means much in practice really.

When Huawei leaves, the UK doesn't lead in 5G, says new report commissioned by... er... Huawei

DrXym

The same happened for 4G too if you recall. EE or somebody else launched the product and it was complete arse for a long time with complaints of dropouts and poor service. It's one of those things where you need the infrastructure for the technology to prove itself but you need the early adopters to justify the infrastructure.

5Gs main advantage is it supports a higher device density and at a range of frequencies that make it potentially more reliable and faster than 4G. Eventually to the extent that many households may use it for their home broadband and streaming.

I doubt early adopters will get to enjoy a good service for a while yet though.

DrXym

When in Rome

Britain should just do what China does - steal the tech. Pay a few insiders in these companies to help themselves to the source code and designs and surreptitiously provide the info to domestic competitors.

Paragon 'optimistic' that its NTFS driver will be accepted into the Linux Kernel

DrXym

Re: Whatever for?

And in addition chances are if the new driver were to prove its worth then the older drivers would get culled. It's not the first time it has happened.

DrXym

Re: @DS999 - Whatever for?

A large percentage of contributors to the kernel have commercial interests because they work for vendors, chip manufacturers, distributions etc. If you want a kernel with no commercial interests then maybe GNU Mach would be more to your liking.

DrXym

Re: Whatever for?

I have no idea if this new NTFS driver is better than the old ones, but it doesn't seem like "nothing" that someone is offering it gratis for people to make up their own minds. NTFS is a very advanced file system that has gone through many iterations and it is easy to see that a new driver might do things that an existing one doesn't.

Upside down, you turn me, you're giving bork instinctively: Firefox flips as a train connection is missed

DrXym

Another explanation is for god knows what reason, they installed the screen in upside down and then rotated the web page 180 degrees to show it right side up instead of rotating the whole desktop. Weirder things have happened.

Apple commits to support human rights - 'We believe in the critical importance of an open society'*

DrXym

Re: So much for Apple's vaunted privacy...

The problem with 0) is that it isn't the default. While some people might know there is a setting and be motivated to change it, the fact that it is the default means most won't.

That's the Facebook / Google way of doing things. Apple has a chance to be different here if for no other reason than to stick it to these other companies who are rivals after all.

Zuck says Facebook made an 'operational mistake' in not taking down US militia page mid-protests. TBH the whole social network is a mistake

DrXym

"Operational mistake"

It's funny how they keep making these "mistakes" and always come up with some lame ass apology after the fact when it is too late. Oops sorry we livestreamed that massacre, we'll do better next time. Oops sorry we sold all your data to shady analytics companies we'll do better next time. Oops sorry we hosted an armed militia get-together during a protest, we'll do better next time. Always an excuse. And yet they're still disseminating hate / racism / division / anti-science / threats of violence / incel / qanon brain damage right now and you can bet they'll wheel out the same pathetic excuse next time.

DrXym

It's funny...

... how many "operational mistakes" that Facebook keep making. You know, such as live streaming massacres, selling data to shady 3rd parties and ignoring reports about groups fomenting hate or planning violence. Yup, it must be super-duper hard for a company that specializes in analytics to miss all these red flags.

If you think Mozilla pushed a broken Firefox Android build, good news: It didn't. Bad news: It's working as intended

DrXym

Re: Positives and negative experiences

The answer is there is no end game. Agile means iterative changes and minimum viable product. Subsequent releases backfill on functionality and refine it. I had a bunch of complaints to make about the release that went out but I expect they'll be resolved over time. Some people either can't comprehend this fact or would rather that the releases exactly conform to their expectations. The real world isn't like that.

DrXym

Re: Positives and negative experiences

Bzzt no. Mobile apps these days are iterative. And even on the desktop too. So while I have huge issues with the new Firefox (that I listed) I find it the reaction to my comment to be absurd and pathetic. If the idea of change and perfection is such a big deal, then find some long LTS release of something, install it and then never whine about anything new again ever. Otherwise just deal with it and stop being such a baby. Especially when you got that software for nothing.

DrXym

Re: Positives and negative experiences

"Finished" doesn't apply any more since things are iterative. I don't like some of the new behaviour but I think it qualifies as a MVP release and hope they undergo more refinement.

DrXym

Re: Positives and negative experiences

And my point is that Firefox (and other browsers) already have a camera permission. It wasn't added in this release, it was there already. And the reason is protocols like WebRTC.

The permission is off by default and only turns on when you assent to turning it on. And you can turn it back off again. You can complain about this permission being there but it was already there.

DrXym

Re: Positives and negative experiences

Firefox already had the permissions for camera / microphone. You can always say no when the app asks for initial permission to do it or manually turn it off if you inadvertantly enable it.

DrXym

Positives and negative experiences

Good:

- The new interface is a lot slicker than the old one and a lot of thought appears to have gone into it

- Hamburger menu is decluttered

- Rendering and layout seems a lot smoother

- Built-in QR code scanner

- More tracking / privacy enabled

Bad:

- Open tabs view shows them as a big long list instead of thumbnails so it takes more vertical space to list them. Needs an option to switch views.

- All the animations such as when a menu shows or tabs are shown are cute but rapidly become the cause of brain farts. Needs an option to turn them off

- Trying to stop a page loading has become terrible. When a page is loading you would expect a stop button but it's buried in the hamburger menu. Why isn't it in the url bar when loading?

- Landscape mode doesn't show more toolbar buttons which have plenty of space to be shown, such as the stop button or back/forward.

- Creating a privacy tab requires more taps, or secret knowledge of a long press

So I can see which way they're going and maybe it will improve a bit in subsequent updates but they made a mess of it. At the very least they should have had a welcome screen which explained some of the changes and smooth over the upgrade shock.

Life with Amazon's fitness band: Upload your half-naked pics to see how fat you'll look without exercise. You now sound stressed – relax!

DrXym

Re: We've come a long way

Superset you mean, but even so I think it reflects the massive erosion of privacy that has happened over the last few decades. I doubt that anybody in the 1990s would have ever countenanced giving away personal info in a way that freely happens today. And probably this rot will continue and continue. The only protection is the state and strong privacy laws.

DrXym

Re: Dystopia

I think the value is in being able to measure a very large number of people by age, ethnicity, location, wealth, weight, propensity, location and other demographics and sell that data. Presumably insurers in the US would love to know where their risks lie and pay handsomely. And Amazon too for that matter given how much crap they sell.

DrXym

Re: Dystopia

A better question is why is the service free. The most obvious answer is there is money to be made from aggregating this data and selling it (e.g. to insurers), or using it to cross sell other things.

DrXym

We've come a long way

I remember the first Usenet spam and the outrage over privacy and how email addresses are sacrosanct. These days a company releases an app that wants to see you in a state of undress one step short of dick pic and apparently people are fine with it.

Apple hits back at Epic, says Fortnite crew wants a 'free ride' on fees: Let the app store death match commence

DrXym

Re: And they're right

Epic are big boys and they have lawyers. If the terms were onerous they were not compelled to support the platform.

DrXym

Just because your platform is proprietary doesn't make you a monopoly. If Apple were the only mainstream smart phone manufacturer then they'd be a monopoly. As they aren't and there is Google (and a handful of others), they aren't. Consumers are completely free to not purchase Apple products without suffering as a result - I've never owned an iPhone and felt disadvantaged from it, quite the contrary.

As for XBox and Playstation games, yes you can buy them from places but Microsoft and Sony are still getting a cut. Be in no mistake about that. And for a game like Fortnite that is a free digital download I don't think that argument even applies. Microsoft, Sony, and Nintendo get a cut from sales of digital items just like with Apple & Google. If Epic pulled the same shit with the console platforms then they'd be as swift to take the game off their stores as Apple did.

Ultimately this all boils down to money. Epic wants all of it and gambled that Apple would capitulate. I don't think that seems likely. Either Epic comes back on the same terms with their tails between their legs or they're off the platform for good.

DrXym

And they're right

As much as I despise Apple, they're the ones safe legal ground. If a company uses Apple's platform, ecosystem and store to promote a freemium game, then that company is required to abide by the terms and conditions or they get the boot. Epic got the boot. It wasn't even an accidental violation, Epic deliberately did it and even had an 1984 style ad ready to justify it.

I imagine if they tried the same stunt on the consoles they'd be kicked off just as swiftly. The question is why haven't they?

We've heard some made-up stories but this is ridiculous: Microsoft Flight Simulator, Bing erect huge skyscraper out of bad data

DrXym

You know what's going to happen now

Now people know that Flight Simulator uses OpenStreetMaps for meta data, griefers are going to be tagging random bungalows, especially on the approaches to airports as being 2000 stories high.

C++ still rules the Chromium roost though Rust has caught our eye, say browser devs

DrXym

That's in the other direction. I was talking writing a Rust lib callable by C. If you want to do the other way (a C lib callable by Rust) then you use bindgen which is the opposite of cbindgen - it creates a .rs interface around a C library for Rust to call instead of C bindings around Rust for C to call. Either way it's largely automated so it's a matter of just setting it up and then away you go.

DrXym

Re: Kinda sad.

Bzzt, no. You can't make up your own definition of what strongly typed means. Strongly typed languages enforce the type of a variable during declaration or assignment, either at compile or runtime. Rust is strongly typed at compile time. Just like C++.

And no you can't claim to have looked at it in depth or you wouldn't double down on such an obviously wrong statement. Or proclaim you know what causes most bugs. Look at CVEs if you are in any doubt of that. It seems you think that because no language (including Rust) can solve arbitrary application errors (e.g. halting problem) that it means it has no merit.

All of this suggests a far more likely reason you don't like Rust - you're incorrigible. No one is expecting you like Rust, but if you're going to stick your oar in it helps to have your information straight.

DrXym

You don't need to develop and maintain bindings. You write code in Rust that has public C functions, build it and then invoke cbindgen (https://github.com/eqrion/cbindgen) to spit out a C or C++ header for it. It produces the headers automatically from your actual code. You can even make the cbindgen step part of the build itself.

An example of an automatically generated header shows it does a very good job.

https://searchfox.org/mozilla-central/source/__GENERATED__/gfx/webrender_bindings/webrender_ffi_generated.h

DrXym

Re: Kinda sad.

A better reason for fall through is you might have two values which have similar handling but you need to do a little extra handling for one than the other. So you structure the switch such that the little extra handling happens for one and then falls through to the next case. But it's still an edge case and hardly justifies it as a "feature" when it causes so many bugs and can be done some other way.

DrXym

Re: Kinda sad.

You've said similar stuff in the past and it is wrong. Rust is a strongly typed language. It is as strongly typed as C++. In some ways, it is more strongly typed since enums are proper types unlike in C++. It is just that the compiler is very good at inferring the type. Think of "let" as you might think of "auto" in C++ except its better.

And you are wrong to say Rust doesn't do much to prevent the most common kind of error because the most common kinds of errors are null pointers, double-frees, dangling pointers, buffer overruns and data races. All things that Rust stops at compile time. It won't stop application errors, nothing will, but the fact you have half as many bugs in the first place is a seen as a GOOD THING by most people. Especially if you're talking about F-35 jets which is hardly a good example tbh.

And no one is forcing you to learn Rust, but it mystifies me why you would dismiss it when you don't even know what it does or why it might be a good thing. No one is stopping you using Ada if it works for you, but it helps to know why others might prefer another language.

DrXym

Rust is designed to be very interoperable with C and C++ at runtime - the compiler spits out .o files and lib files just like C / C++ and they link together providing the function you're calling can be resolved.

There is some boundary stuff you have to do because C is unsafe and Rust is safe, and you need to generate bindings but you can easily call from one to the other.

Once you have it set up it's no more difficult to call Rust from C++ than it is any other random C library.

Robust Rust trust discussed after Moz cuts leave folks nonplussed: Foundation mulled for coding language

DrXym

Definitely good idea to spin off

Languages that are under the stewardship of a single company can make people nervous. So even though Mozilla was a benevolent steward, it might still be a good thing if the language is free, or at least guided by more contributers from more companies.

As for Mozilla, they had some very oddball projects going on that I never really understood the reasoning behind, e.g. trying to support Magic leap for some reason. Hopefully the work on Servo (a highly concurrent layout engine) continues though since there are very obvious and compelling reasons that it should be used and integrated into Firefox.

The Surface Duo isn't such an outlandish idea, but Microsoft has to convince punters the form factor is worth having

DrXym

Looks pointless to me

Yeah I can see the marginal benefit of having two screens, but the reality is that many companies have tried this exact same thing before and it never works properly. Yeah there is some marginal benefit to being able to run two apps side by side or make one app bigger. But very few apps would take advantage of that situation, e.g. dividing their content exactly over the two panels.

NHS tests COVID-19 contact-tracing app that may actually work properly – EU neighbors lent a helping hand

DrXym

Re: As far as I can tell, Northern Ireland is part of the UK....

The Irish app is rather good. It looks attractive, gives useful information and it is decentralized. You can however opt in if you want to be called by the HSE if you came into contact with someone who has covid.

About the only glitch its suffered recently is that it uses Apple / Google provided bluetooth services that track proximity and the Google service went a bit insane last week and started draining phone batteries. Not the Covid app's fault, but it got the blame because Google's service went haywire.

This is node joke. Tor battles to fend off swarm of Bitcoin-stealing evil exit relays making up about 25% of outgoing capacity at its height

DrXym

If you're using Tor...

You should really be using Tor Browser. It DOES have HTTPS Everywhere and NoScript enabled plus other protections enabled in the browser. I'm sure it doesn't prevent some malicious activity by exit nodes but it sounds like it will block what is going on above.

OnePlus Nord is surprisingly fixable compared to earlier stablemates, but common repairs require disassembly

DrXym

I think this is more the case that Facebook gave them a large sum of cash to stink up the phone experience with an app that people could install for themselves if they actually wanted it.

Secondly, I've already suggested one way that OnePlus could take cash from Facebook (or whoever) without not pissing off people who don't want it baked into their phone.

DrXym

One of the (previously) nice things about OnePlus was the lack of bloatware. Out of the box you got a lightly skinned Android phone. This is starting to change and as an owner I find this ominous and off-putting.

What's most annoying is how unnecessary baking shit into the firmware even is. Instead they could just show a welcome page that *asks* if you want apps installed as part of setup. If you choose no then that's cool but OnePlus can charge companies to be on this list and be additionally compensated for any that the user elects to install. But no, that's too easy so they're going to ram that garbage and piss people off.