noapologies
Joined 5 years ago
Joined 5 years ago
I use Android's Bedtime mode a lot, and it has a helpful feature that let's you quickly "Pause for 30 minutes" or "Turn off for now" from a notification [1].
I don't think the app needs notifications as such, but it could have quick access to a pause button.
[1] https://img.gadgethacks.com/img/original/21/75/6372310031848...
> pharmaceutical and biotechnology sales revenue increased from $534 billion to $775 billion between 2006 and 2015
> worldwide company-reported R&D spending, most of which went to drug development (rather than research) ... $89 billion in 2015 dollars
> During the same period, federal spending, which funded a greater amount of basic research relative to industry, remained stable at around $28 billion
So only ~11% of total revenue was being reinvested, mostly into drug development.
And basic research was funded largely by federal spending.
Unlimited Data!! (up to 100GB)
If you believe their steering assist kills more people than Tesla FSD then you're welcome, encouraged even, to file a report with the NHTSA here [1].
20 Rs, 20 Ds in a 20x20 grid.
Example pattern: RRDDDR...D (40 letters)
Basically the number of permutations, with repetition, of 20 Rs and 20 Ds.
Given how widely used ACF is, it wouldn't be surprising to learn that a lot of weekends were ruined by the "fork".
Genuinely asking, what would the solution look like in idiomatic Go?
Let's assume for a second that the premise of the article is valid and exactly the behavior we want - "asynchronous execution but to report the results in order, as each becomes available".
Consider Apple's very own Mac - another general-purpose computing device like the iPhone, only in a different form-factor.
Surely Mac developers must be tripping over themselves to throw 30% of their total revenue at Apple, as reward for their laser focus on privacy and security and for developing a nanny-platform that makes their users feel warm and fuzzy inside?
Surely Mac users must not be allowed to do business with literally any entity in the world without involving Apple as the gatekeeper?
Oh wait.
The main crux of my comment is about being able to "own" your own device. A hackable device is better than a closed device, more choice is better than no choice.
Is it so hard to believe that if Microsoft or Apple had a death grip on Windows and MacOs respectively, restricting completely the kinds of things you could do on these platforms unless individually blessed, that there would be a far less interesting ecosystem of apps / capabilities available than what we have today?
As an example, one cannot build AWS on an iPad. Like literally cannot - the tools are either not available or are significantly crippled, since you may use them to circumvent Apple's gatekeeper cut.
That's the main idea, make smartphones and tablets, smartwatches, vr headsets etc. more like traditional desktop devices.
That Linux has not only survived for so long, but thrived, is a true testament to the will, technical expertise, and product vision of community developers.
FOSS was founded on the principles of openness and collaboration, something that we need now more than ever, as the largest companies of the world have managed to weaken that resolve through slick marketing and anti-competitive practices.
Think of what truly open VR headsets, smartwatches, tablets and smartphones etc. would be capable of, the rich ecosystem of apps and capabilities that could exist - but greed is literally holding us back by decades.
Think of the kids growing up now, forced to be consumers rather than producers. And compare them to the last century, the sense of wonder and expression that the internet and infinitely hackable devices brought.
It was revolutionary, and many of the giants that exist now were built literally on the backs of that openness.
Fortunately there are other reasons why a business may be forced to do something, and not allowed to be the sole judge/jury/executioner.
One of those is anti-trust action - something that greatly benefits humanity as a whole, even though the alternative may (or may not) be cheaper for the business.
Other examples are employee protections, consumer protections, constitutional amendments etc.
I agree with your point about Go enums.
But in defense of Java, modern Java is actually pretty pleasant.
Virtual threads, records and sealed classes, pattern matching, state-of-the-art garbage collectors, a great standard library etc. (and obviously well-behaved enums).
Not to mention the other languages you get for free with the JVM ecosystem.
It might not be as expressive as Rust, but certainly Java/JVM > Go.