680 points · by rbanffy · 9y ago · 402 comments
Meanwhile according to the same stats, Android sits around 37.9%, and I have to wonder just how many of those devices are still impacted by for example the 2015 libstagefright vulnerability. Given Google's guiltless ongoing "throw code over the wall" approach to security and passing the buck on to vendors who almost never ship firmware updates for old handsets, perhaps now is the time for us to begin holding Google to the same standard we applied to Microsoft a decade ago.
Google Security Team, here's your call to stop pontificating on the Project Zero blog and throwing cheap muck at Microsoft. You've got an even bigger and more complicated mess to clean up, you dug the hole yourself, it's going to take you longer, and you should have started on it years ago
edit: If it weren't clear, the tragedy here is that instead of most devices being governed by a well-tested security process owned by a single responsible vendor, they're at the mercy of a plethora of downstream vendors who do nothing, with the ultimate upstream washing its hands and paying little more than immature lip service to the issue, never mind having anything that even remotely resembles a solid process.
As somebody who has been following Android for a while, this statement is incredibly unfair. The Android ecosystem is huge and remarkably safe. For those actually interested in the details, the Android security team releases annual security reviews, and the report for 2016 was just released: https://security.googleblog.com/2017/03/diverse-protections-...
The tldr: the number of devices with a harmful app is 0.05%, and for 1.5B devices extremely impressive. Basically, if you only install apps from Google Play and never enable unknown sources (the default and the vast majority of users) you are safe.
While the argument that most devices aren't running the latest security patch is certainly valid, it's important to note that there are many services running on device and in the cloud provided by Google which are doing most of the heavy lifting. If anything, the example of Stagefright actually shows the safety of Android - many many devices have never received any security patch to address Stagefright and yet most users aren't affected.
Also, quote from linked blog post:
> only 0.05 percent of devices that downloaded apps exclusively from Play contained a PHA.
1. What percentage of Android devices download apps exclusively from Play? They don't say. I, for one, have quite a few not so technical friends who sideload stuff. Also, pretty much all Android devices in Mainland China don't qualify for this criterion, and that's a huge number.
2. Given the track record of malware in Play Store, the number of devices containing a PHA is probably much larger than that of ones containing a known PHA.
> many many devices have never received any security patch to address Stagefright and yet most users aren't affected.
Not sure how you even know that. Not all exploits are visible.
On the other hand, I referenced a report with actual numbers of devices impacted. Obviously you should be skeptical, but as you point out, if millions of devices affected is true, shouldn't we be seeing millions of instances of Android spam, remote roots, SMS fraud, botnets, etc.?
Yes, it is true that some users sideload, and threats to Android users vary a lot by country. There is only so much Google can reasonably do, and this is appropriate given Android is open source and has so many participants (device vendors, carriers, app stores, etc.). But it turns out with good integration with the developers, the distribution platform, and regular check ups, you can do a decent job at protecting your users.
You can also compare to other platforms and recall how devastating actual malware on Windows was, and how long Microsoft struggled (and still struggles) to protect their users. In Android, yes there are many vulnerabilities like Stagefright found, but in the end Android users are surprisingly safe.
So instead of believing metrics gathered from Google's SafetyNet telemetry from 1.4 billion devices you would rather believe scaremongering blog posts that have no concrete data to back up their claims?
>If Android is so secure, why are we seeing (often more frequently than) weekly headlines on Android security woes, often containing something like "millions of devices affected" (and often enough, no fix in sight)?
Do you really think it's that easy to exploit an Android phone? Once you have an exploit you must then chain it with other exploits to get around all of the Android security mitigation's in place. And then there's the fact that every OEM creates their own version of Android so not every exploit will work on every device or OS version - you can thank device and OS fragmentation for that one.
So this is why bugs like Stagefright never panned out to be the security armageddon that these click bait blog sites all wanted you to believe. Just because an exploit is discovered doesn't really mean it's being exploited in the wild.
Android is open source, after all. Not much Google can do there.
stagefright is the last major Android vulnerability I'm aware of. Do you have sources for these? In my experience it's far less than weekly. Maybe yearly at most.
The entirety of China doesn't even have Google Play Store.
So if I give you a knife to cut fruits, and clearly tell you that you can also do juggling with it but it's not recommended and you should do it at your own risk, will you still blame me if you get hurt by knife juggling?
I also have an anecdote to share. The only app I've sideloaded and helped others sideload was the one I created myself. Out of 10 teenagers who are the most probably to tinker, 0 of them usually install apps from sources outside of the play store.
Google constantly shot that down and said how it works (agree to everything before downloading) was intentional and expected behaviour. They have finally changed that model now, but in my opinion this was pretty inexcusable and reckless.
I was unable to find the issue in the Android bug tracker now, but it's a pretty long thread.
Maybe "lazy" is the best word, but moving from Android's classic "grant permissions on install" to "prompt for permission" is a major change that they spent a long time working on (I think Android 4 already had a lot of the backend for this?).
It's not like it was secretly granting permissions to apps, and you could always choose to not install something that took too many permissions.
You could say they made the wrong choice, but we're a long way from "this binary can do everything on your files" model of Unices/Windows
If you're interested in the Android update situation, Adrian Ludwig just gave a talk at Next, the Google cloud conference about it (he even references the Wikileaks CIA breach): https://www.youtube.com/watch?v=Zm6ziX5pqt8
He talks about the task starting with only 5 OEMs to keep their flagships updated. And you start to see the insane complexity of running the update train: this meant 29 devices. Multiply by the 351 carrier partners, which goes to 5000+ builds and variants. That all need to be tested by all the parties. =/
Except for the half a billion Chinese Android users who can't access Google Play.
Android smartphones sold in China almost always have unknown sources enabled.
P.S. don't get service from US Cellular if there are other options
It's kind of like with RHEL - the fixes are backported in the old kernel vesion and that's it. It has nothing to do with your operator, you can thank Qualcomm and other SoC manufacturers, that they are not willing to make platform support packages for newer kernels for a given chip.
Google's inept 'management' of the android ecosystem has left us with openness for hardware vendors like Samsung but not end users. Their design of android deprives end users of regular security updates that iOS users enjoy but also deprives them of the right-to-modify that licenses like the GPL were intended to guarantee.
I don't know what everyone at Google intended, beyond 'let's beat Apple', but the way android turned out looks awfully evil to me.
By the way, the upstream Linux kernel supports the Nexus 5X! http://www.phoronix.com/scan.php?page=news_item&px=Linux-4.9...
And the bootloaders are based on fastboot pretty much everywhere I think? At least that was the case with the non-Google-related HTC phone I've had.
Have look at Redhat, how far got them requiring UEFI at server ARM boards. That's market, where the buyers have much more impact on the design than mobile.
Suffice to say, if it was as easy as waving the magic wand you think it is, it would have happened already.
Instead, if you tried to wave it, handset makers would have walked and just done something else. Heck, some did!
Besides, why stop at Google? Why not blame the carriers for devices like this be on their networks?
By your logic, if Verizon told Samsung tomorrow said "you must update your phone monthly with security updates in order to stay connected to our network" it would have just happened!
Maybe instead of assuming a vast lack of caring or outright maliciousnss, you should consider that maybe it's not the trivial thing you are making it out to be, and that's the real reason it hasn't happened yet.
The sad part is that the 2016 security report just came out and they brag how the whole security improved, without mentioning the elephant in the room.
Google IO is around the corner and I bet they will keep talking as if everyone could upgrade right away to Android O, with N now having barely 2%.
What would make a phone hardware able to install anything that compiles to its CPU architecture the same way a PC can?
Stable binary driver ABI. Hardware monoculture. Expensive driver certification program. Letting hardware vendors release binary drivers without releasing the corresponding sources. An opt-out automatic update mechanism.
(Disclaimer: I work at Google, but not on the Android team.)
I get Windows security updates on every damn computer I buy. Yes, the computer is pre-loaded with bloat, but I still get updates like everyone else.
Meanwhile, on Android, I mostly get nothing. What is so fundamentally different between PC and phone? Why is it so hard on mobile phones?
The reason your question is "stupid" is because you think your phone is just one computer.
In fact, you can do just what you describe - and it wouldn't be that difficult - but it would only be for the application processor and you would end up with a nice PDA.
In order to make phone calls you would also need to control the other two, fully functional, general purpose computers inside of your phone: the baseband processor and the SIM card.
Currently, there is no way for you to control either of those in any meaningful way.[1]
There are deeply entrenched economic and technical forces standing in the way of controlling your own baseband processor and we are nowhere near to doing it.
[1] Osmocom on 2G phones is not meaningful, no matter how impressive and interesting it is.
(And device manufacturers do this too, but it's a ton easier to, say, fix flash with a shim than it is to fix networking.)
Linux and its wide adoption, the ability of users to pick and choose hardware and software would simply not have been possible if Microsoft and Intel took the Google-ARM model to 'openness'.
Google and ARM pay lip sync to open source but users are locked tightly to their devices and OS. Users cannot even install updates let alone things like Linux which Android is based on.
The drivers work perfectly on Android yet users trying to install Linux on ARM socs cannot use these drivers? Open source developers struggle for years with ARM and Google with no results. How exactly did this come to pass without by design? There can always be myriad 'reasons' and excuses but the fact is ARM completely controls the hardware and Google completely controls the software and it's their design and decisions that drives net negative results for users and open source.
As a poweruser, I have installed new versions of Windows AND new versions of Android.
To the average user, neither is feasible.
To a technical user, both are possible.
I don't like this comparison. Many of us switch out AndroidOS's very frequently. It's actually not hard at all to install a custom recovery and load a different and custom version of android.
In fact, considering how defined the android ecosystem of alternative OS's is, and how undefined the Microsoft one is, one could easily suggest that Android is far less locked down.
After all, some Android replacements like Cyanogen/Lineage are far more developed and popular than Windows replacements.
1. Insert install disc/USB. 2. Boot to install disc. 3. Spam the next button.
Installing new Android OS versions manually often involves custom third party unlock tools from sketchy download sites.
You are looking at the past with rose-tinted glasses, or you got very lucky with drivers. New drivers were required for every new Windows version from Win 2000 to Windows 7,even for the display (or if you are unlucky, Ethernet). The only way to get those drivers was via support from the vendor. I distinctly recall trawling dodgy 4th party driver aggregation websites, downloading and burning them to CDs in internet cafes multiple times.
Maybe it's related to browsing habits? IE? I mean, you aren't going to get hit by a drive-by attack on any major websites -- even in the heyday of malicious advertisements.
So, what I'm really asking is: where did this metric come from, and why does it get spread so often?
I witnessed this myself back in the day. I was probably about 14 at the time, had just freshly reinstalled a machine, installed AV (from a CD, hah.) and connected it to the internet for the first time via PPPoE DSL. Within minutes I had AV popups from having been hit by Blaster before I could even update Windows. In that day, few people had routers or WiFi, many, my family included just had a single machine connected to a modem directly and so had no NAT.
It was never individual attackers - it was worms running on other systems that had reached critical mass and were just hitting random IPs on the internet with the exploit in an attempt to infect more systems.
You're extremely unlikely to see something this bad with a modern OS - most of the time you're behind a NAT, provided by your router or your mobile provider which effectively blocks inbound connections. There's also exploit mitigations like NX and ASLR which are pretty much how the Stagefright bug didn't turn into a nice new MMS worm - it just sounded scary, but over a year later we've not seen any major attacks from it.
If you plug directly into the internet or DMZ your machine, you'll still see this type of stuff. I've heard it called "internet background radiation" - old worms out scanning for possible targets to this day.
You could check how frequent the attacks were by yourself. I was using a custom firewall software, called ZoneAlarm, to see how many attacks I was receiving in a day. The log said literally every few minutes, the infectious Blaster worm packet was received. It was like how frequent your SSH server is attacked with random passwords - you can see this from the SSH server log too.
Windows even included a utility to let people use it as a router on home networks to "share internet connections". https://support.microsoft.com/en-us/help/310563/description-...
https://en.wikipedia.org/wiki/Blaster_(computer_worm)
At the peek couple of months your computer would BSOD _during_ installation process, right after initializing network interface and RPC service.
I had a single device and had to do a fresh install from factory settings. This meant I had about 30 mins before my 500kbps connection would grind to a crippling halt from all the accumulated malware.
This meant I had to incrementally procure protection, save it, then fresh install and repeat until I could access the Internet safely.
I don't miss those days.
Two minutes is probably too short, but an hour? Maybe not.
You will see random scanning attempts within minutes. Same principle , minus the effectiveness.
Today, yes. But back in those days? I'm not so sure. IIRC, almost everyone had a public IP.
At the peak it got so bad that IPSs were blocking affected ports on all consumer connections just to save bandwidth.
You could basically do "NET SEND 12.34.56.78 my spam message" and it would appear on the screen of your victim.
And i don't think the problem is so much that people do not value security, but that they approach a computer like it is an appliance. Meaning that they do not internalize that it can do things without them being physically present and setting things in motion (i find it unnerving that Windows 10 can apparently bring a laptop out of shutdown to do updates in the middle of the night, thanks to programmable timers embedded in the BIOS/UEFI).
I really wish that a modern PC got more "blinkenlights" not less (i hate helping my mom with her laptop, as the damn thing do not even have a HDD activity light).
Heh, I remember when Apple used that as a feature. Instead of updates, it downloaded your email and other things you'd want to have already available when you open your laptop.
My work laptop and one or two of my private machines have no HDD light, either. It drives me crazy.
For Windows, there is a tool called HD Activity Indicator. It only works after logging in, obviously, but still better than nothing.
It does, but it's also operating in a much more hostile environment. At least windows had regular updates though, that's not the case for most android phones.
And more competition in the h/w space? Common, you already have an insane amount of competition for Android phones, and even some of the biggest multinational don't give a shit about maintaining SW for their product beyond a few months, even for security purposes. The only think we can do is prescription to every people we know: ex. tell all your non technical friends to never buy e.g. a Samsung phone.
It's ridiculous, because Android is the worse ecosystem for security purposes. If you want to be somehow protected, you can stick to iPhones, or, in a funny way, Windows 10 Mobile.
That competition is only on the surface. For SoC, GPU, baseband, radios etc., you are stuck with Qualcomm. Or maybe Samsung's exynos, which isn't necessarily better.
Google uses Linux within Android but instead of allowing the underlying parts to be updated via package management-like functionality, the kernel level stuff is only distributable as images in one "big bang" go.
You could have a bug in a single binary at the kernel level, but instead of a tiny 1Kb diff patch you wait a year for a giant 1.2 GB vendor update that also contains a lot of other changes you have no interest in.
Only with Windows 10 Mobile they engineered a strong way to upgrade the OS without needing vendor intervention too much (or at all?), it is a shame Windows Mobile market share as fallen so low and Windows Mobile is not even a priority of MS anymore :/
On Linux side, some (most?) phone vendors are most of the time not supposed to distribute the kernel and their binary-only driver the way they do it, because most of those distributions are likely GPL violations. The sad thing is some high profile organisations (Linux Fondation comes to mind) don't give a fuck about licence compliance, which is insane given the technical side NEEDS licence compliance in order for the end result to work well and not be dangerous for end-users for a large part of the ecosystem. (Worse, the Linux Fondation happily accept obvious GPL infringers at the highest levels.)
Anyway the kernel part is a small part in an Android distribution, and I'm not sure anything is available to handle the security update problem, or that somebody is even working on it... The technical update model MS has chosen is the way to go and Google is endangering us all by having such a huge market share and not wanting to take any responsibility that should come with it. (It's even worse given how Android has reached this market share levels, using practices that would make look past MS ones as respectful of competition!)
Linux has a driver API; the interfaces are not as stable as windows but they are there - the vendor shoehornning has more to do with closed hardware blobs, drivers not being developed in the open, and profits than a few struct member tweaks here and there shifting across android releases..
the handset manufacturers have no profit incentive to ensure that the phones are compatible for a longer term, and keeping the hardware drivers closed/behind version-specific blobs serves as convenient way to facilitate planned obsolescence
plenty of windows hardware doesn't get new drivers across OS release boundaries for the same reasons so slightly better API stability is not really a very good argument here on its own..
Wouldn't this require phones to compile their own kernels?
Security patches are not 1+ GB in size - no where close to it. You're referring to OS updates that completely replace the old OS.
Is Linus Torvalds criticized as strongly as this, when many of the hundreds of Linux distro maintainers fail to ship kernel security patches speedily? No? Google puts a lot of effort into securing Android and patching vulns quickly, but ultimately it is the fault of the MANUFACTURERS and OPERATORS for failing to update their commercial works derived from Android OS.
You don't have 1000 toolbar crippling your mama's android browser.
I never had to reformat my mobile to "make a clean" install, and certainly not every 6 month like I used to do with windows.
We never had any large scale infection on Android like confiker.
Reports of anything bad, virus, worms, rootkits... happening on Android are incredibly rare and never happened with my relatives.
Clearly we can't hold Google to the same standard as MS, because they are not even on the same level.
I'm wondering what blog posts on the Project Zero blog you consider to be "cheap muck"? There are a lot of posts on the Project Zero blog about Android as well.
[0] https://bugs.chromium.org/p/project-zero/issues/list?can=1&q...
On the manufacturing side, a huge team is assembled with piles of money and resources to design and build a complete product out of hardware, firmware (blobs), and software, test it, document it, and then hand it off to marketing. That entire team is disbanded into a pool from which a whole new team will be created for a whole new product. Maybe less than a dozen people remain on a product team following release, and that's just to cover major bugs found once it's in the field. After about 6 months, it might be a team of two people. If it's a small market product, it might be a team of handful that cover multiple similar products.
Anyway, after 18-24 months there's essentially no one around from the manufacturer to support the product. It's not at all the same business model as say, Apple, where it's a giant team supporting a dozen handsets post-release, with coordinated roll outs for bug fixes.
If you want a newer OS on the Android phone, it's a do it yourself proposition. Lineage OS. Hopefully your phone has a relatively easy to unlock bootloader. And while Lineage OS will have a much newer kernel than the stock OS, the code to support, e.g. the NFC, may not be upstream because it's got some patent encumbered code, or maybe something new in the kernel breaks some driver and no one is around who knows enough about it to get it fixed. The exact sequence to put components into low power state, if not correct can cause battery life to suck. There are all sorts of ways this can not work out well, but at least it's an option.
What Google has done since Android 5 is emphasize library stability and security through Google Play updates. New features and bug fixes happen via Google Play itself being updated; it appears to be just an app update but it's actually what the bulk of 3rd party apps use. The low level stuff including the kernel isn't user space, and while your handset gets stuck for life, in effect, with an old kernel, Google are pushing out a chunk of bug and security fixes this way.
On Google devices starting with the Nexus 5X/6P, there's a separate /vendor partition for blobs, and Google publishes monthly updates for that. I'm not sure if other vendors do this…
What are the worst 2017 android malware doing to the world?
Taking over a machine thanks to autorun.inf, crashing machines with ping, unsecured shared folders, worms spreading everywhere, rendering fonts on kernel code, and a long list of other stupid defects... No. Android has never included this level of idiocy therefore it is not fair to hold it to the same standard.
Installing Windows was once the same as installing a rootkit in your computer. Android might have issues but never as bad as Windows. Windows holds all the incompetency records.
Then, "the operating system released 16 years ago" (Windows XP) is the 3rd most used operating system. It is still causing problems today.
What? That is complete nonsense. Yes Windows security has improved over time but it's still pretty abysmal compared to macOS, iOS, Android and any mainstream Linux distro. Windows still defaults to your main user being an administrator with administrator privileges at all times.
Not to mention the fact that Windows now comes baked in with malware and not only defaults you into turning it on without giving you the option to turn it all off easily during setup, but the major patches that have come out since will re-enable a lot of Microsoft's tracking code and make you jump through hoops to disable it.
The triggering factor for this was the worms though. No such similar thing exists in the Android space.
There clearly hasn't been any major deployment of this - especially at the scale of Blaster or Conficker.
It's "trivial" perhaps for a single device but every device is different and it'd require its own exploit code, exploit mitigation features cause it to be difficult to actually exploit too - making it quite problematic to deploy in practice.
No it's not. Where are all of the Stagefright exploits? This was supposed to be Android's security armageddon according to the scaremongering bloggers. And yet nothing happened. According to Google's telemetry of over 1.4 billion phones there has not been 1 case of a Stagefright exploit in the wild. So your assumption that Stagefright is "trivially weaponizable" is inconsistent with your knowledge of Android security and mitigations.
Yes, because it's better to let hackers continue to exploit Windows than inform users and MS that their OS is at risk.
>You've got an even bigger and more complicated mess to clean up, you dug the hole yourself, it's going to take you longer, and you should have started on it years ago.
Security patches are given to OEM's 1 month before they are publicly released. Google patches their devices promptly. Unless I'm mistaken, I'm not aware of technology that allows Google to take an OEM's source code, apply patches, build it, sign it and then release it to all of the OEM's customers.
https://android-developers.googleblog.com/2017/03/android-se...
Apparently now all OEMs are playing nice with updates and everyone that bought a phone in 2016 got their updates.
I use a Moto G4 and the experience is shockingly good for a device that costs less than a bar tab. It's no wonder that low-end Android's are winning, based on my experience with it. It's not the same caliber of phone as a new iPhone or a Pixel, but the difference is not worth $800.
And all of this is mostly open source, runs on Linux using Java, and can be developed on for free. This seems like a good timeline! (even if the API isn't that great)
I think it's still a far cry from the state of affairs on iOS or MacOS, and the fact that you can fork it if you are willing to replicate those apis is still reassuring.
Yes, they can. Google makes a conscious choice not to make them open source. There's no fundamental law or anything saying that they can't.
I think the better question is: Why do those services need to phone home? There are plenty of apps that should work just fine without doing that, but don't.
Most of the magic in Android today is housed in Play Services, one of two things Google can push an update for (the other being the Play store app) without any dialog or concent from the device user.
This makes a lie of the whole notion that Android is open source. Yes, the skeleton is open, but the guts are proprietary. And the skeleton on its own is useless.
One of the two things Google _chooses_ to do this for. Nothing prevents them from doing the same thing for other pieces of software, except, perhaps, their own policy.
Glad to see someone else lives it up at the bar
I had a barely-used lenovo that I had put xubuntu on that I wanted her to try first to gauge her size and performance requirements, but she wasn't ready for linux. I searched around a bit (knowing putting windows 10 back on there was not an ideal experience) and came across RemixOS, a version of android for PC.
That's when it clicked for me. She didn't need a traditional PC. What she really wanted was her phone in a bigger form factor (with usable keyboard). I was able to get all her apps on in a few minutes and she had a workable system with nearly no learning curve. I suspect this will be the case for more people as time goes on. I'm in favor of a competitor to windows, and I now think that is android, not linux.
There's an open source version of ChromeOS that you can install on normal PCs, but I'm not sure if this version comes with Android support.
Also, Samsung demoed their Galaxy S8 the other day. And one of the big tings was Dex, a dock that turned the phone into a desktop computer. Microsoft has in the last year or so been pitching a similar system called Continuum.
Android is Linux.
I was thinking, since our generation has affordable personal computers, when our generation become adults, the world will finally embrace the efficiency of computer where everything is computer-friendly and everyone can write code.
I was wrong.
The birth of so called "smartphone" made everyone dumb. The smartphone does not encourage its user to write code or text. They mostly consume the information provided by a handful of people who can use efficient input device, the keyboard.
My generation and the next generation were infected by the smartphone. Those hand-sized, touch-screen pathetic computer is the only computer most people ever use nowadays.
I refuse to own a smartphone. Since our society become so smartphone-friendly, not owning a smartphone makes me really inefficient at daily life. But I don't want to own a computer which tried so hard to prevent me to replace OS, modify the software, writing code and text.
What a dystopian world I live.
That is your loss. You're blaming the tool instead of the people.
And then you renounce said tool, when it could be used (as the tool it is) to improve your life and your work. To create greater things.
Before the smartphones, people were made dumb by the TV. And before that, by the radio, and before that it was something else, and something else.
People that want to passively waste their time could always do that, and will keep doing.
Rings any bell?
There is no loss. Everything a smart phone can do, a laptop can do better. All a smart phone does is keep people bound to their online lives in an unhealthy way -- constantly beeping at you, notifying you of pointless shit, and spying on you. No thanks.
I don't own any phone, but if I did it would be a dumb phone with week-long battery life.
People already have full time jobs, sometimes two or more. The last thing they want is another, likely unpaid one, when they come home and sit down before the computer.
Where we're headed is multi-level architectures. At the bottom is what you think of as "all programming". It's low level code, with manual deployment, using a wide range of fairly arcane tools. You need to be a professional to do it.
What is slowly emerging, which you suggest is impossible, is a layer on top of that. It is written in highly constrained code. You can't import random libraries, and you can't write spaghetti code, because you are writing in a highly constrained DSL. It's still real code. It's still a Turing machine. But you are working within a sandbox that your professional software engineering colleague built for you.
Most of us software pros don't think about development this way. We think we're supposed to be releasing finished apps to end users. But 20 years from now, we'll think of our job as releasing libraries for "non-programmers" to use. DSLs that are foolproof, which end users will string together using simple function calls and literals and nothing else. Languages in which it's very difficult to express broken ideas.
There's no reason the marketing team can't write this file:
post("miami", "Bienvenido a Miami!")
image("miami", "http://static.flickr.com...")
paragraph("miami", "We've gotten more requests for a Miami location than the rest of our...")
Well, there is a reason. It's almost certain that the programmers down the hall, like you, don't believe that a marketing professional could handle the "hours of thinking and planning" required to write that code. But again, they are all mistaken. Any smart, computer-savvy person could write that code after a few minutes of instruction.But first you'd have to build that API, and a realtime preview, that is editable from a nice simple web app. You could do the "hours of thinking and planning" so that your colleagues could write the high level business code.
That's where this is all going. There will be a lot of programmers that work inside a sandbox like that, a few hours a week. Most programmers will work like that. And there will be a smaller number of seasoned pros will maintain those sandboxes.
Actually I think what you're saying is the biggest mistaken belief in the programming industry. The industry has been chasing the dream of making programming accessible for everyone for as long as computers have existed. This was the reasoning behind COBOL, BASIC, and Scratch.
> You can't import random libraries, and you can't write spaghetti code, because you are writing in a highly constrained DSL. It's still real code. It's still a Turing machine.
If it's Turing complete then someone can and certain would write spaghetti code. Every constrained environment that ever existed for lay people to use ends up in the hands of frustrated programmers.
> There's no reason the marketing team can't write this file.
There's no reason why they couldn't just drag and drop such logic and prefer to do it as well. Most people have trouble understanding how to work with Turing complete languages to accomplish advanced tasks. Programmers aren't purposely trying to make their environments difficult -- in fact making everything as easy as possible has been the goal since the beginning.
> You could do the "hours of thinking and planning" so that your colleagues could write the high level business code.
Honestly that High level business code that you sort of dismiss is the hard part. Knowing to gather requirements and codify them is the job a programmer. It's a job in itself different from other jobs. It will never be a job for non-programmers and maybe not even junior programmers.
The advice of my window manager, i3, regarding source installs is: don't. Disregarding that advice, and after fighting with my package manager to get the required libs, `make` made it extremely easy to build. From there, the edit I wanted to perform required changing the value of a constant from 3 to 0. Not hours and hours at all.
Making this feasible for everyday users is within reach. If the focus of the free software movement had been on making software that users can modify on a physical and practical level, rather than just a legal and technical level, we might see everyday users patching their software. That didn't happen, and it doesn't seem many people care about making it happen, and so the situation won't change.
It is odd that computers are meant to work for us but we spend such a long time using them and working on them, in a huge perpetual cycle of production and consumption cantered around the computer itself, particularly in the software industry.
Odd.
The Information Age would be a dud without constant access to said information from anywhere for anyone.
The smartphone has also made it super easy for the average person to enjoy the fruits of programmers labor via app stores. Overall it has been a positive for the world.
> tried so hard to prevent me to replace OS, modify the software, writing code and text
It's pretty easy to install a new OS on a typical Android phone. 1 million registered LineageOS installations already, many many millions of CyanogenMod installations before that.
How do smartphones try to prevent you from writing code and text? Apple even made this: https://www.apple.com/swift/playgrounds/ For the iPad, of course, because phones are small… but not impossible to use for code. I have edited websites over SFTP with https://textasticapp.com/iphone.html on an iPhone 4 back in the day! Also don't forget http://omz-software.com/pythonista/ And you can make Android apps on an Android phone: http://www.android-ide.com
Honestly the worry about "omg smartphones are turning everyone into consumers who don't create anything" is ridiculous. People write blog posts, edit photos and videos on smartphones a lot. A LOT.
> a handful of people who can use efficient input device, the keyboard
I really like my mechanical keyboard with blank keycaps, but I do type a lot on my phone's onscreen keyboard as well, and it is pretty efficient!
For every S7 (or S8 these days) there will be 100s and 100s of cheap ones sold that nobody over at XDA or similar with ever grace with an alternative firmware.
What about people who write iOS or Android Apps for those phones. The device itself isn't well suited to writing code.
If you're looking for alternatives, there is stuff being developed. Google's Fuscia is intriguing, and there are other non-Unix kernels from other organizations in the pipeline. IMHO, the difference this time around is that the web is the new compatibility target. If you design a new OS today and manage to get a full working web browser with javascript and Web Assembly, you'll be in good shape.
Actually regarding OS/2, IBM had lots of blame as well.
They didn't managed the whole situation properly and trying to use OS/2 to get back into the game of selling their own PS2 architecture didn't help win the hearts of the buyers.
I would have had to pay almost 500 € extra, on today's money to get a PC capable of running OS/2 properly, instead of the one I got with Windows 3.1.
[1] They often bundled a CD with lots of free software with their magazine issues, e.g. different distros of Linux, server software, utilities, etc. All free or trial software, usually. I remember they bundled the QNX OS once, and I installed it and tried it on my PC. It was very light and fast, had a GUI too - Photon, IIRC. They might even have bundled BeOS once. I think I tried installing that too, but it did not work on my PC.
Apple was able to do it, because they sell hardware, not software, but the transition from Classic OS to OSX was hard and rocky even for them and could have failed.
It's a pity, because neither Unix/Linux clones nor Windows are really good and technically sound desktop operating systems from a modern perspective, and it would be possible to develop something way better. As for mobile, I don't know, it's a different thing.
Not to mention the heavy Java push they made for a while, which didn't end up becoming much in the long run but did provide one more way for developers to get their applications onto the platform. And developers like Omni that followed NEXT after their purchase by Apple.
Once it was clear developers were ok with using Objective-C, Java Bridge was shown the door.
In the case of OSes, it is beneficial to formalize these similarities into a single API. As long as the operating systems remain conceptually simmilar, there is no point in unnessasarily fragmenting the API. When there is need to deviate from the common Unix system, Unix-like operating systems have no problem doing so. But there is not strong enough reason to through out the massive amount of investment, both in software and human expertise, that has been built up on the common Unix base.
Is there any reason to believe less than 100% of the code was new?
QWERTY keyboards, Electronic forms, Combustion engines, Agribusiness refinements, Byte-oriented computers, Genetic technology (outside of GM crops), Building construction/insulation, Monorail and near-sonic trains, Pharmaceuticals, PlayStation, 8086, TDMA, USB, PHP, VHS...
The most common link between them is a low barrier to entry, which has multiple facets.
1. Intellectual Property
If you patent technology, it makes it hard or more expensive for others to license and/or implement it, which leads to a loss of market share unless you completely monopolize the market your product occupies. Any alternative technology which is both cheaper and more ubiquitous will dominate.
2. Cost
More advanced technology is, almost by default, more costly. It is costly for manufacturers to develop a new process to manufacture it, it is more costly for developers to learn to develop new products that use it, and it is more costly for consumers to buy it, both because of the lack of manufacturers and developers for it. It also will inevitably require one to learn a new way to use it.
3. Doesn't address a critical need
If there are two competing technologies, and both provide for the same need, the one that best addresses a need and costs less will win out. If one does not provide for a critical need, it will be left in the dust. Often that "need" is as simple as being faster or easier to operate, but it can also include specific functions.
--
The earlier you are able to introduce a technology, and as long as a newer technology does not beat you on platform support, cost, and critical features, you will remain on top.
Browsers are a good model for how this has changed hands over the years. The barrier for entry is smaller because you can make them for multiple OS platforms fairly easily, but sometimes one would have a monopoly. So to compete with the monopoly, one browser would remove a barrier to entry - cost - and develop new critical features. But then the other competitors could adopt the same changes and compete again.
Another example is Intel x86. Intel tried several times to end the x86 product line. But as the industry refined standards around it, it became too expensive and complicated to try and introduce a complete replacement. It was even forced to adopt features that competitors introduced.
UNIX (and C, since a lot of people lump them together) has stayed around so long because it has a low cost, low complexity, is ubiquitous, can adopt new features easily, and is highly compatible/portable. Even if you have a new critical feature, it can usually just adopt it.
In the end, kernel design has nothing directly to do with how it is adopted by users. Kernel design affects how software developers, and later manufacturers, will use it. And that affects what is left for users to adopt. Nobody really notices a kernel; what they notice is the ecosystem.
There must be some fundamental dynamic at play which favors the 85%/15% market share duopoly.
[0] https://www.netmarketshare.com/operating-system-market-share...
The hard part this time is all the closed source drivers. How did Linux solve that back in the 90s?
It never did perfectly. It's about the same as it is on Android currently. All the basic stuff works but you need proprietary firmware for a few things like WiFi and cell radio. Some even have cell radio working.
Replicant has done a good job doing this on Android devices, see http://redmine.replicant.us/projects/replicant/wiki/Replican... looks like they even have cell working on some Samsung devices.
If mostly-open is good enough though, flashing a stock AOSP build or LineageOS without GApps will get you there, you can install software from sources like F-Droid too.
Would be interesting to find out details about these dynamics.
Source: my own intuition.
Back in the early days of the micro-computer, many games used a virtual machine of sorts. The game logic was implemented in VM bytecode and then the VM engine was the only thing that needed porting between systems.
This was to a greater or lesser degree aided by the limited hardware of the time, and that said computers were single task more often than not.
This is where all the money Google pours into government comes into play.
I think the fact that a service is given away for free has been the loophole for Google and Facebook to create large and powerful all-encompassing monopolies on things which really shouldn't be monopolised.
I do find some satisfaction in this, though, because another browser comes to mind. Firefox won its brief market dominance not through intrinsic quality (although it had some potential, and was surely better than IE), but through marketing campaigns, just like Chrome. Now the once-mighty are falling, and they ask themselves what went wrong. Well, when your product's only selling point are extensions (mainly developer extensions) and instead of focusing on performance, features and security you keep spouting "safer faster better" [1], there will come a time when someone with more marketing money to throw around will take your place, because your foundation isn't solid. Also, "good enough" works for most people, so if the IT person in their family set up Chrome for them, that's what they'll be using (just like they were using Firefox a decade ago).
[1] There used to be a "Firefox myths" website, it's not up anymore. http://www.gilsmethod.com/whyfirefoxnotsaferfasterbetter
So no at all like IE/MS in the 90s
Might be more of an interesting headline written this way.
GNU/Linux dominating Windows as a "most used" consumer OS has been a long-term push for the entire community. I would see this as achieving it, albeit in a form different than some would expect.
And given the stats likely come from analytics which are blocked, it seems reasonable to assume these numbers are sckewed
https://truemarketshare.com/operating-system-market-share?op...
Clear the 'Desktop/Laptop' filter and it gives share on all platform types. I think the difference in numbers may be due to this service is measuring only browsing activity.
It also removes 21% of traffic detected as bots, so that may also have an effect.
Up to now, though, enough bits in OEM-specific drivers will go out of date to prevent Google controlling updates of all Android devices.
There is renewed urgency to solve this problem in general for Android Things. Having billions of unpatched things in the field for a decade or longer will be an even bigger disaster than phones that churn out of the installed base in 3 years. Google is building a field upgrade framework for IoT that should be applicable to handsets, too.
That MIGHT take enough OEM responsibility out of the picture to enable updatable Android phones.
https://truemarketshare.com/operating-system-market-share?op...
I have a theory: - Bots don't show up as Linux, they spoof Chrome, iOS, etc. - Since this service filters out bot traffic, it is removing non-Linux traffic. - Hence, Linux share is actually much higher than is generally reported.
It IS the year of Linux!!
If your site doesn't work well on mobiles, it's high time you fixed it.
At a high level, Android seems to have more than doubled on our site in the past two years, which seems to be a reflection more of our overall site growth. Windows is still enormous.
All snap-shotty anecdotal stuff. If you're a global enterprise beyond US/UK/Australia, I'd think your numbers would be fascinating to look at.
Can YOU PLEASE work on the perception the public has that Android is for cheap people? And the preferred upper class phone is iPhone?
For gods sake your iPhone apps are better than your android apps. Do you not see a problem here? Your developers and engineers think less of your platform.
There is a blatant stance on Silicon Valley as Android is second tier. Change this perception ASAP.
Windows improved the PC market, and android improved the smartphone market.
One reason why they backtracked on Jake and Jill was that they weren't being able to make all the annotation tooling and bytecode manipulation libraries work on the new toolchain.
Anything else is a security breach.