News for hackers. Stuff that matters.
Re:Android P by wpietri on Tuesday May 08, 2018 @04:56PM (#17025003)
Very nice. I am especially excited about these features:

> App Timer lets you set time limits on apps, and will nudge you when you’re close to your limit and then gray out the icon to remind you of your goal.

> Wind Down will switch on Night Light when it gets dark, and it will turn on Do Not Disturb and fade the screen to grayscale at your chosen bedtime to help you remember to get to sleep at the time you want.

I actually have a separate device for fun/addictive apps, and my phone's charging spot is not in the bedroom. But these kinds of features will help orders of magnitude more people than my very manual interventions ever will.

I'm glad Google is seeing themselves as on the side of the user here. Rather than enabling the "up and to the right" religion that has a lot of tech companies chasing DAU and UAM metrics by any means necessary.

Re:Android P by dvcrn on Tuesday May 08, 2018 @10:14PM (#17026981)
I hope some of these things make it into iOS at some point too! Especially the greyscale stuff sounds great
Re:Android P by dexterdexter on Wednesday May 09, 2018 @07:15AM (#17028948)
These features are on iOS now:

- App Timer is in App Guided Access

- Wind Down is essentially Night Shift + Do not Disturb

Re:Android P by dyarosla on Tuesday May 08, 2018 @10:48PM (#17027102)
Apple is known to shamelessly copy features that work and are consumer friendly- I have no doubt that they'll be keeping a close eye on how consumers respond to these updates.
Re:Android P by rsynnott on Wednesday May 09, 2018 @08:13AM (#17029194)
In this case, though, these seem to be, well, heavily inspired by iOS's Bed Time, Night Shift, and DND features. Mostly showed up in iOS9/10 a couple of years ago. The shameless copying goes both ways ;)
Re:Android P by ocdtrekkie on Wednesday May 09, 2018 @12:20AM (#17027384)
This is ironic given that Android P lifted iPhone X navigation and is adding support for notches, also lifted from the iPhone X.
Re:Android P by fnordsensei on Wednesday May 09, 2018 @01:14AM (#17027542)
As a longtime iPhone user, I'm very happy that the competitors copy shamelessly from each other. The more they take the good parts from competition and refine it, the quicker maturity can be improved the board.

We're in the era where basic phone capabilities have stabilized. Aspects of competing offerings converging, because it has become more well-defined what the basics of phone is, and the basics of how it's supposed to behave.

Less "innovation" (trial and error), more copying of basics, and marginal improvements is disappointing to techies, but it's good for almost everyone else.

Re:Android P by ocdtrekkie on Wednesday May 09, 2018 @02:03AM (#17027697)
I don't actually disagree, I just found the statement above somewhat hilarious, given the major changes in Android P.
Re:Android P by fnordsensei on Thursday May 10, 2018 @05:09AM (#17037306)
Of course they will pull ahead of each other somewhat now and then. In the grand scheme of things, they're statistically at the same level of development, and becoming more so over time (when it comes to the software).
Re:Android P by canuckintime on Wednesday May 09, 2018 @01:50AM (#17027655)
Both iPhone X and Android P lifted their gesture navigation from webOS
Re:Android P by sizzle on Wednesday May 09, 2018 @02:07PM (#17032253)
My parents still use their touchpad.
Re:Android P by muro on Wednesday May 09, 2018 @04:17AM (#17028181)
Essential phone had a notch before the iPhone X :)
Re:Android P by nevir on Wednesday May 09, 2018 @02:52AM (#17027867)
and iPhone X navigation is eerily similar to WebOS' cards paradigm. Everyone copies everyone.
Re:Android P by cup-of-tea on Wednesday May 09, 2018 @02:36AM (#17027811)
That's not ironic, it's just something else that is true.
Re:Android P by shard on Wednesday May 09, 2018 @06:29AM (#17028765)
I don't know if notches are the best example. If Google has been keeping track of display technology, and I have no reason to doubt that they haven't, they had probably saw this coming miles away and had been preparing. Sure, it's not all open and public information, but Google has enough clout and HW ongoings to warrant meetings with display manufacturers regularly. Thus it's not a case of copying, but rather how product lifecycles and price points line up with the development cycle of the technology.
Re:Android P by y4mi on Wednesday May 09, 2018 @01:46AM (#17027642)
uuh, i'd applaud them for copying working features?

why should they be ashamed to add a useful feature that somebody else pioneered?

you as a consumer only stand to benefit after all. though i'm not a user of apple devices, i see absolutely not fault in that.

Re:Android P by takeda on Wednesday May 09, 2018 @01:54AM (#17027670)
He forgot to add that after copying, they also claim it is theirs.
Re:Android P by tomp on Tuesday May 08, 2018 @05:23PM (#17025285)
I wonder how many of these features could be implemented (far sooner) if a universal UI scripting language was available for users...
Re:Android P by rtpg on Tuesday May 08, 2018 @06:41PM (#17025972)
You know, I'm pretty sure anyone could have built these apps on Android

You can overwrite the screen in Android. You can replace the home screen in Android. You can scrape running apps in Android. There's a high degree of flexibility

Unfortunately this is probably one of those problems where the cost of building the app is relatively high (because the domain is complicated to get right!) and it would be hard to make too much money on this

Re:Android P by mintplant on Tuesday May 08, 2018 @08:19PM (#17026492)
CF.lumen can do this on rooted devices. I have it set up to apply a gradually-increasing f.lux-like effect as the day turns to night, and then switch to a red-channel-only color mode past midnight.
Re:Android P by djajshgsjja on Tuesday May 08, 2018 @08:58PM (#17026671)
Twilight app can do the color shift without root.
Re:Android P by mintplant on Wednesday May 09, 2018 @05:52AM (#17028595)
It's not a proper color shift. It can, say, overlay the screen with orange, but can't reduce blue.
Re:Android P by djajshgsjja on Wednesday May 09, 2018 @06:14PM (#17034676)
Hmm I think I get the difference, but can you accomplish the same thing overlaying with orange + lowering brightness?
Re:Android P by tomp on Tuesday May 08, 2018 @07:17PM (#17026205)
Building an app is way too much barrier to entry... What I wish is something like, right-click or swipe down to open console, enter some script (or copy-paste/import a highly starred from a public repository), close console, ta-da. If the API was flexible enough, the scripts would mostly be short and obviously non-exploiting (i.e. a script for graying-out the screen shouldn't use the internet API) so they would be very easy to review, modify, and manage otherwise.
Re:Android P by nine_k on Tuesday May 08, 2018 @10:11PM (#17026969)
A few steps further you will invent something like Emacs. Or maybe Atom. Or browser extensions.

BTW do you remember why making a browser extension is a bit involved, and publishing, even more so? Trusting someone else's code. Copy -pasting it from a message board may end up in a problem.

Re:Android P by tomp on Wednesday May 09, 2018 @03:27AM (#17028000)
That sounds more like a sandboxing/permissions problem... Also, it doesn't help that JavaScript is a terrible language.
Re:Android P by hahainternet on Tuesday May 08, 2018 @07:48PM (#17026358)
https://github.com/damonkohler/sl4a has been around in one form or another for a decade or so.

It looks dead in that repository though.

Re:Android P by icebraining on Wednesday May 09, 2018 @06:38AM (#17028794)
http://www.qpython.org/ seems pretty well.
Re:Android P by rtpg on Tuesday May 08, 2018 @07:33PM (#17026289)
Hmm for this specific case I think that there might be a lot of of edge cases, just a gut feeling

But I would totally be for some much simpler packaging scheme for native apps/"scripts". It's kinda insane how much money is going into Android from Google but all the dev tools are basically just Java stuff. I really wonder what Android could be if a more lisp-y approach existed as well

Re:Android P by corndoge on Tuesday May 08, 2018 @06:46PM (#17026002)
it's hard less because of Android and more because you have to support hacked up vendor distros of Android if you want to see any adoption, looking at you Samshit Touchwang
Re:Android P by emodendroket on Wednesday May 09, 2018 @09:10AM (#17029480)
There's Twilight but it's not exactly the same.
Re:Android P by flukus on Tuesday May 08, 2018 @10:01PM (#17026928)
Not sure about the first example, but the second one can be done through automation apps like tasker: https://play.google.com/store/apps/details?id=net.dinglisch....
Re:Android P by fooker on Tuesday May 08, 2018 @06:42PM (#17025980)
How would such a language define which UI elements to operate on?
Re:Android P by tomp on Tuesday May 08, 2018 @07:18PM (#17026213)
Some sort of sensible API I guess... Or something automatically generated, like Excel macros, that you can then inspect, understand and modify... If it came with "infinite" undo and some sort of playground/sandbox, people could literally experiment with very low cost.
Re:Android P by chrisweekly on Tuesday May 08, 2018 @10:15PM (#17026985)
your comment reminded me of a terrific article I came across a couple years ago, was thinking "ethical apps"... but that's not it... searched for hippocratic oath software, oh yeah -- Tristan Harris (ex-Googler) and "Time Well Spent" and Humane Tech https://humanetech.com/

(ironic that the website renders poorly on my iPhone given the mission and creds of its founder, but I digress)

The article I first read was https://www.theatlantic.com/magazine/archive/2016/11/the-bin...

Recommended reading.

Re:Android P by gascan on Tuesday May 08, 2018 @05:22PM (#17025266)
I don't particularly care about the release cycle, but somehow they manage to add small features every iteration that attract me. Those sound pretty compelling.

The Treble project is pretty darn exciting too, if only I had such a phone.

Re:Android P by stinos on Wednesday May 09, 2018 @07:06AM (#17028919)
help you remember to get to sleep at the time you want

On one side I think this is great, on the other side: I'm not sure what to think of needing to be reminded when to go to sleep. It seems kind of wrong if one needs to be actively reminded of something as simple and straightforward as that.

Re:Android P by entropie on Wednesday May 09, 2018 @08:00AM (#17029126)
It really depends on your lifestyle.

I think i have a very healty sleep system where i basicially follow no rules. I sleep when I really get tired and wake/stay up when i want.

My last sleep cycle was 11 1/2 hours, because a day before i only got like 90minutes (thats not common for me, but happens - usually i sleep more like 6 hours).

That only works if you dont have a fixed day time job.

Especially when i have appointments i sometimes really need to plan ahead and go to bed earlier so a reminder works.

Re:Android P by toyg on Wednesday May 09, 2018 @08:38AM (#17029314)
Just a reminder that research basically found that “catch up on sleep” doesn’t really work. Bodies are astonishing machines, capable of adapting to the most extreme conditions, but they do work better when they can repeat the same routines day after day.

As a fellow 6-hour-sleeper, I think modern society makes it a bit hard for people like me. The reality is that my body wants to sleep in 3-hour cycles, and doesn’t really appreciate doing three cycles in a row, but it still wants to sleep about 8 or 9 hours out of 24. That would work fine in past ages: wake up early, tend to animals and fields, then have a mid-day nap - at a time when it’s too hot to work anyway (at least where my genes mostly come from). Then get back in the game, do social stuff, and be at peak awareness by dusk / early evening, when the danger of common violence gets higher.

These days, when the dominant culture is clearly more “northern” in nature, one is still pushed to be an early riser, but to then do all work and social activity in a continuous chunk, no napping allowed. Because I sleep only 6 hours per night, after a few days I’ll be tired. The only option I have is to go to bed absurdly early, wake up after 6h, do some work in the middle of the night then go back to bed. That’s very antisocial in nature.

Re:Android P by qplex on Wednesday May 09, 2018 @12:34PM (#17031250)
It's very interesting that you mention the culture be "northern" in nature.

Mid-day nap culture is still very much alive in really hot countries, where it's practically impossible to work mid-day.

Re:Android P by entropie on Wednesday May 09, 2018 @12:13PM (#17031001)
> Just a reminder that research basically found that “catch up on sleep” doesn’t really work

Yeah, i dont do that. I just used to be the case I had a night of less sleep, a stress and eventful day and then a night with a long sleep phase. I dont try to catch up or anything. I just slept this without a break (My Gear sport recorded no interruptions and very few restless phases).

Re:Android P by wpietri on Wednesday May 09, 2018 @04:46PM (#17033915)
Definitely. We live in very artificial environments.

When I spend a week camping, I don't need to be reminded, because it's really dark and there's been nothing exciting to do for a while. But at home, lights are bright and there are exciting things available at the push of a button. (Thanks to push notifications from things like the news and social media plus autoplay from video providers, they're often available without pushing a button at all.)

A few years back I build an automated lighting system that is sort of like Night Mode for my house: https://github.com/wpietri/sunrise

I thought the valuable part would be waking up early without the stress of an alarm. But actually the best part has been the auto-dimming in the evening. My brain get the hint. Instead of staying up and hacking on something or binge-watching TV, I am very likely to turn in early enough that I now get plenty of sleep.

Re:Android P by polar on Wednesday May 09, 2018 @08:50AM (#17029365)
> remembered

I think you mean "reminded". Sorry, I don't mean to be rude.

Re:Android P by stinos on Wednesday May 09, 2018 @08:55AM (#17029398)
Fixed, thanks, and I don't regard pointing out grammatical errors as being rude anyway. I make too many mistakes already.
Re:Android P by joncrane on Wednesday May 09, 2018 @08:15AM (#17029202)
It's not so much to help you remember. We all know that if I wake up at 7 and I function best on 8 hours of sleep, that I have to be asleep by 11.

But if I'm so engaged as to lose track of time, or simply undisciplined (just one more dose of political outrage/cute animal picture/epic fail schadenfreude on reddit!), the app closing down will help a lot.

Re:Android P by ToastyMallows on Wednesday May 09, 2018 @10:45AM (#17030212)
I wish the App Timer was like a TV timer, where the TV just turns off after the timer is up. I'd like something that kills a certain app that is running on my phone. It sounds like that isn't what the App Timer will do.

I imagine you would need root on your phone to kill apps from another app.