News for hackers. Stuff that matters.
Re:Night Shift Mode in macOS Sierra 10.12.4 by paperpunk on Wednesday January 25, 2017 @05:21AM (#13480224)
Is there any evidence for Night Shift/f.lux having impact on sleep? Last time I attempted a review I found plenty of explanations but no evidence.

A PNAS article about the use of e-Readers is often cited [0]. However, this compares a light emitting device to a book, and it's not clear how applicable it is to Night Shift vs. not Night Shift.

There is some research about the affects of light at different wavelengths on the human sleep cycle but I'm wary about using that as evidence for the efficacy of something like f.lux or Night Shift without specific studies done on their use in practice.

[0] http://www.pnas.org/content/112/4/1232.full.html

Re:Night Shift Mode in macOS Sierra 10.12.4 by thirdsun on Wednesday January 25, 2017 @06:21AM (#13480507)
Don't know if it has effects on sleep, though anecdotally I sleep very well. However before using f.lux I experienced headaches from time to time after long days in front of various screens. It wasn't a regular occurrence but I'm pretty sure it was related to those long hours.

Since I started using f.lux all day (not just at night) several years ago those headaches have a been a thing of the past - it basically doesn't happen anymore.

I know f.lux is intended to be used in dark environments but since I rarely do color-sensitive work and prefer the lush, warmer color temperature (3800K for me), I see no reason to change my all-day use.

Re:Night Shift Mode in macOS Sierra 10.12.4 by HappyTypist on Wednesday January 25, 2017 @06:05AM (#13480412)
I think for something as simple as Night Shift, "try it yourself and see" is a valid approach. Even if it's a placebo effect, it's still an effect!

Anecdotally, Flux + Night Shift dramatically improved my longstanding insomnia. But that's just my anecdotal experience

Re:Night Shift Mode in macOS Sierra 10.12.4 by paperpunk on Wednesday January 25, 2017 @06:16AM (#13480475)
If it helps people to improve their hygiene, by placebo effect or otherwise, then that's a good thing.

However, I ask because I did try it for several months, and did not notice any effect other than the minor irritation of having to keep turning it off when I wanted to watch a film in the evening (and the constant malfunctioning of f.lux – although hopefully those issues would not be present in Night Shift).

I'm not sure I would be able to detect an improvement even if there is one though - there's too many confounding factors. So I'd like to see some evidence so I can make an informed decision.

Re:Night Shift Mode in macOS Sierra 10.12.4 by OskarS on Wednesday January 25, 2017 @10:07AM (#13481931)
Yeah, I would be curious to see some real studies on that as well, I suspect that having a bright screen in your face is the problematic part, and that color temperature only make a very marginal difference, if any at all.

But honestly, I use it because I like it, not for any positive effects it may have on my sleep. It just makes it more pleasant to look at screens after nightfall. Also, seeing the screen change is a very pleasant "hey, stop looking at Twitter/HN and go to bed!" reminder.

Re:Night Shift Mode in macOS Sierra 10.12.4 by benologist on Wednesday January 25, 2017 @10:27AM (#13482121)
Flux's biggest benefit for me was just making sleep something I thought about, what really works for me is not using screens for a good bit of time before bed. I can't quantify the days I wake up feeling great very well but I do feel the difference if I go to bed overstimulated from too much time on screens, arguing on the internet or whatever.
Re:Night Shift Mode in macOS Sierra 10.12.4 by dzhiurgis on Wednesday January 25, 2017 @07:36AM (#13480885)
Ganglion cells[0] are sensitive to blue light and produce melatonin, one of the few sleep regulating hormones.

[0] https://en.wikipedia.org/wiki/Intrinsically_photosensitive_r... nal_ganglion_cells

Re:Night Shift Mode in macOS Sierra 10.12.4 by whazor on Thursday January 26, 2017 @06:31PM (#13496404)
For me, it is not about sleep. If I disable Flux at night, it hurts my eyes.
Re:Night Shift Mode in macOS Sierra 10.12.4 by citrusui on Wednesday January 25, 2017 @12:45AM (#13478937)
First iOS 9.3, then Android 7.0, upcoming Windows Insider builds, and finally macOS Sierra 10.12.4. I hope the GNOME/Unity/Cinammon developers start implementing this too. f.lux works as expected, but it starts to get warmer around an hour before my iPhone does. Small issue, I know, but it does get annoying over time.
Re:Night Shift Mode in macOS Sierra 10.12.4 by eikenberry on Wednesday January 25, 2017 @02:18AM (#13479421)
For Linux I suggest redshift [1]. It has been packaged for a long time and works great.

[1] http://jonls.dk/redshift/

Re:Night Shift Mode in macOS Sierra 10.12.4 by Kostic on Wednesday January 25, 2017 @05:11AM (#13480183)
Note that redshift currently does not work under GNOME3 when Gnome is running as a Wayland compositor. There is a feature request[1] for integrating this functionality into GNOME 3 (and even a nice mockup[2]).

[1] https://bugzilla.gnome.org/show_bug.cgi?id=741224

[2] https://raw.githubusercontent.com/gnome-design-team/gnome-mo...

Re:Night Shift Mode in macOS Sierra 10.12.4 by abrowne on Wednesday January 25, 2017 @09:06AM (#13481415)
There's a Gnome Shell extension that people report works on Fedora 25 with Wayland: https://github.com/benzea/gnome-shell-extension-redshift
Re:Night Shift Mode in macOS Sierra 10.12.4 by AdmiralAsshat on Wednesday January 25, 2017 @09:58AM (#13481845)
If memory serves, redshift is installed by default now with the Cinnamon DE (at least on Fedora).

If you're installing it, make sure to grab redshift-gtk as well, as it adds an icon to the system tray that makes it easy to toggle than command-line switches.

Re:Night Shift Mode in macOS Sierra 10.12.4 by elsen on Wednesday January 25, 2017 @12:54AM (#13478990)
You may not know: on Unity you can saturate / desaturate the windows. I set them almost black and white and increase the saturation when I need it (shift + brigthness up / down).

I have no idea if it provide health benefits similar to the "orangy filters" but it's pretty nice on the eyes and, personally, it makes me happy to see the outside world with brighter colors than my screen.

Re:Night Shift Mode in macOS Sierra 10.12.4 by mikewhy on Wednesday January 25, 2017 @07:30AM (#13480855)
HazeOver is an app for macOS that does similar, dimming windows except the active one.
Re:Night Shift Mode in macOS Sierra 10.12.4 by izacus on Wednesday January 25, 2017 @03:51AM (#13479837)
The f.lux effect never looked as nice as the one on Android though - it looks like it just paints over another layer of orange color instead of removing the blue components when rendering. It makes my eyes hurt in the evening in a way that the night mode on my Pixel never does :/

Also it kicks in and gets really strong hours before I go to sleep.

Hopefully Apple themselves will do it better.

Re:Night Shift Mode in macOS Sierra 10.12.4 by kamilner on Wednesday January 25, 2017 @04:55AM (#13480106)
As far as I know only Android >=7 on hardware with a HWC 2 implementation support colour transforms [0], so all Android apps implementing a f.lux-style thing do exactly that, draw an orange rectangle over the screen.

F.lux on desktop has always worked that way though, I think. It should essentially be rendering the blue component substantially darker (up to removing it, depending on the temperature setting), instead of alpha blending with orange.

[0] https://source.android.com/devices/tech/display/night-light....

Re:Night Shift Mode in macOS Sierra 10.12.4 by on_and_off on Wednesday January 25, 2017 @08:55AM (#13481348)
F.lux has no way to do this correctly on Android.

Luckily, since there was a lot of positive feedback to the implementation of this feature in the 7.0 preview, it has been backed at the driver level for 7.1.

Now the feature works perfectly and has no performance impact.

It also opens the door to a wide array of other modifications :

-color adjustements

-temperature shift

- color-blindness compensation

Basically you can apply any matrix you want on the screen output.

Re:Night Shift Mode in macOS Sierra 10.12.4 by lnx01 on Wednesday January 25, 2017 @04:52PM (#13486567)
If it's getting warm earlier, then try and move your location a bit to the East.
Re:Night Shift Mode in macOS Sierra 10.12.4 by wlesieutre on Wednesday January 25, 2017 @09:55AM (#13481820)
My biggest disappointment with the new Macbook Pro is that it didn't include tunable color temperature for the keyboard. For an iPad, just changing the screen works because that's all it is. When your keyboard is a separate glowing thing, having your screen at 2200K and keys at 6500K looks awful. I used to turn the backlit keys off while running f.lux, but you're stuck with a touch bar at minimum now.

Oh well.

EDIT: Obviously the touch bar is full color and could be shifted like the screen. But because Apple's stance is that it's part of the keyboard, and the keyboard can't shift, I don't think they will. Curious if anyone's tested it though.

Re:Night Shift Mode in macOS Sierra 10.12.4 by FigBug on Wednesday January 25, 2017 @10:29AM (#13482139)
If you want you house lights to do the same thing, get some Philips Hue bulbs and this app I wrote: https://itunes.apple.com/ca/app/circadian-hue-for-philips-hu...

My old office didn't get much external light, so I wrote this app to give me a sense of time of day. Now I have a better office I still use it.

Re:Night Shift Mode in macOS Sierra 10.12.4 by malandrew on Thursday January 26, 2017 @05:06PM (#13495685)
Nice. Would it be easy to port to iOS as well? I reckon that you'd mostly just need to implement the user interface.
Re:Night Shift Mode in macOS Sierra 10.12.4 by dbg31415 on Wednesday January 25, 2017 @12:50AM (#13478962)
Flux has been such a great tool. I love that Apple is copying that functionality and I hope the Flux team understands that imitation is the sincerest form of flattery.
Re:Night Shift Mode in macOS Sierra 10.12.4 by asendra on Wednesday January 25, 2017 @02:29AM (#13479473)
Well, given that the Flux team has refused for years to allow us to configure the times and for how long it activates itself, I welcome Apple bringing this to the mac.
Re:Night Shift Mode in macOS Sierra 10.12.4 by ClassyJacket on Wednesday January 25, 2017 @07:12AM (#13480759)
I can't understand why this is. Surely it was harder to implement the sunrise sync than a simple time dropdown?

This is the one reason I want to get away from Flux.

Does anyone know what their supposed motivation was for not letting us set the start and end time?

Re:Night Shift Mode in macOS Sierra 10.12.4 by asendra on Wednesday January 25, 2017 @07:33AM (#13480865)
I read the other day a bullshity response in their forums like that their objective was to understand human behaviour not just set timers or something like that.

Edit:

- "Our goal is to further the understanding of human biology, not just turn things orange on a timer. It's a longer term undertaking and a much more difficult one."

https://forum.justgetflux.com/topic/237/custom-sunset-sunrus...

Re:Night Shift Mode in macOS Sierra 10.12.4 by dingo_bat on Wednesday January 25, 2017 @09:40AM (#13481660)
Lol. That's indescribably smug.
Re:Night Shift Mode in macOS Sierra 10.12.4 by TorKlingberg on Wednesday January 25, 2017 @10:37AM (#13482204)
I always set my location some way to the south west to make f.lux dim later. Sweden in winter may get dark at 3 pm, but that doesn't mean I am going to bed.
Re:Night Shift Mode in macOS Sierra 10.12.4 by feelix on Wednesday January 25, 2017 @01:51AM (#13479299)
Considering that it's costing them their business and fame, I doubt that they would see it like that.
Re:Night Shift Mode in macOS Sierra 10.12.4 by kalleboo on Wednesday January 25, 2017 @02:46AM (#13479548)
What is their business? It's a free app. Have they licensed the technology to anyone?
Re:Night Shift Mode in macOS Sierra 10.12.4 by edwinjm on Wednesday January 25, 2017 @03:04AM (#13479636)
From their website: "f.lux is patent pending". So when they get their patent, they can sell licenses.
Re:Night Shift Mode in macOS Sierra 10.12.4 by dan1234 on Wednesday January 25, 2017 @04:55AM (#13480109)
Considering they’ve both implemented it, I’d guess Apple & Google have either already licensed the tech or decided the patent application has no merit.
Re:Night Shift Mode in macOS Sierra 10.12.4 by drivebyops on Wednesday January 25, 2017 @04:41AM (#13480047)
Or sue Apple ;)
Re:Night Shift Mode in macOS Sierra 10.12.4 by ClassyJacket on Wednesday January 25, 2017 @07:10AM (#13480748)
I'm glad they added this. I was disappointed that it wasn't in the Sierra announcement. Guess they just needed a bit more time.

I will be glad to finally be able to dump Flux. It's mind-bogglingly insane, but Flux still doesn't allow you to set a custom start and end time. I certainly don't need my screen going orange a full six hours before I go to bed. So I'll be getting away from it onto this official one the day it's available.

I've tweeted them about it a few times, but they don't reply, and it's not open source, so I can't fix it myself.

Plus, Flux is incompatible with fullscreen YouTube on the Macbook Pro, which is a really big problem too.

Re:Night Shift Mode in macOS Sierra 10.12.4 by Sharlin on Wednesday January 25, 2017 @10:55AM (#13482393)
The newest version finally does, sort of. It supports setting a "bedtime" color (and a custom time) independent of the "sunset" color, so you can have eg. 5500K in daytime, ~3500K in the evening (matching normal interior lighting), and ~2000K when it's actually bedtime. Or just set the same color for the first two.
Re:Night Shift Mode in macOS Sierra 10.12.4 by CalRobert on Wednesday January 25, 2017 @08:20AM (#13481160)
Has anyone produced a screen that isn't backlit in recent years? I see there's a 13" e-ink display (https://www.indiegogo.com/projects/paperlike-world-s-first-e... ) but I don't know if it needs to be e-ink or simply not backlit. I worked last night to candle light and it was lovely; would like to be able to do the same on computer.

Perhaps it's worth finding an old monitor to kill the backlight on to try this out.

Re:Night Shift Mode in macOS Sierra 10.12.4 by throwanem on Wednesday January 25, 2017 @08:30AM (#13481204)
You needn't bother. Having repaired a considerable number of displays with dead backlight inverters, I can say from experience that you won't be able to see anything.

(Light has to pass through an LCD in order to produce a perceptible image. Watch displays, pre-backlight Palm devices, non-backlit e-ink displays, and the like do this by reflecting back light that arrives through the screen. Computer displays all but universally do it with a backlight; without one, and without a reflective layer behind the LC layer, you see a blank black rectangle no matter what the crystal layer is doing.)

Re:Night Shift Mode in macOS Sierra 10.12.4 by skyyler on Wednesday January 25, 2017 @08:51AM (#13481322)
If they're gonna kill the backlight anyways, I doubt it'd be much effort to put something reflective where the backlight was.
Re:Night Shift Mode in macOS Sierra 10.12.4 by throwanem on Wednesday January 25, 2017 @09:05AM (#13481412)
You'd be surprised. Getting good light reflection without also producing an image of the surroundings to conflict with the display is harder than it seems.
Re:Night Shift Mode in macOS Sierra 10.12.4 by dingo_bat on Wednesday January 25, 2017 @09:38AM (#13481637)
Amoled screens can go really dim. As dim as reading by candlelight, while retaining most color detail. But I don't think we will get an amoled computer monitor anytime soon, if at all.
Re:Night Shift Mode in macOS Sierra 10.12.4 by anotherturn on Wednesday January 25, 2017 @02:23PM (#13484978)
I've used f.lux but the problem I find is that if I'm unwinding in the evening watching some youtube / netflix on my laptop the colour shift is quite annoying.

By contrast, on my iphone I tend to not need accurate colour representation so the recently introduced Night Shift Mode is hardly noticed.

Re:Night Shift Mode in macOS Sierra 10.12.4 by ruminasean on Wednesday January 25, 2017 @09:19AM (#13481499)
I'd love to see some form of universal dark mode or reverse mode on Macs and ios. Something that reverses backgrounds so I'm reading white text on black background. There are various workarounds, but it would be nice to not have to use them.
Re:Night Shift Mode in macOS Sierra 10.12.4 by chrismbarr on Wednesday January 25, 2017 @09:30AM (#13481568)
You can invert the screen colors.

System Preferences > Keyboard > Shortcuts, look under "Accessibility" for "invert colors"

You can also assign this to a hotkey to quickly toggle it on/off.

Re:Night Shift Mode in macOS Sierra 10.12.4 by anotherturn on Wednesday January 25, 2017 @09:37AM (#13481636)
I've installed a firefox plugin that does this - just a few css rules for background color, text colour, etc. It totally ruins all the designy aspects of the web, but it makes reading a lot less tiring for my eyes.
Re:Night Shift Mode in macOS Sierra 10.12.4 by noisem4ker on Wednesday January 25, 2017 @10:31AM (#13482159)
If you're referring to "Dark Background and Light Text" by Mikhail Khvoinitsky, I can vouch for it. It also works surprisingly well on mobile:

https://addons.mozilla.org/en-GB/android/addon/dark-backgrou...

Re:Night Shift Mode in macOS Sierra 10.12.4 by anotherturn on Wednesday January 25, 2017 @10:57AM (#13482410)
Yes - that's the one. I've set it for the traditional dark background and green text (as I have for terminal, sublime, etc.). Does wonders for the eyes.
Re:Night Shift Mode in macOS Sierra 10.12.4 by thrusong on Wednesday January 25, 2017 @09:50AM (#13481769)
This is hardly a scientific review, but I definitely feel like I've started sleeping better since I started using Night Shift on my phone and f.lux on my MacBook. I seem to fall asleep faster and I don't toss or turn as much.
Re:Night Shift Mode in macOS Sierra 10.12.4 by 4714 on Wednesday January 25, 2017 @05:00AM (#13480132)
So glad to hear this. I've had so many problems with flux during the past year.
Re:Night Shift Mode in macOS Sierra 10.12.4 by frou_dh on Wednesday January 25, 2017 @05:28AM (#13480247)
Yeah - display colour is an OS-level concern. This feature belongs in the OS itself.
Re:Night Shift Mode in macOS Sierra 10.12.4 by vonklaus on Wednesday January 25, 2017 @08:27AM (#13481193)
It's tough to get excited about macOS. F.lux is 7 years old. I am running Yosemite and I have to keep my own installer for new machines & restoration.

I like nightshift, don't get me wrong, but I've never met someone who based their software ecosystem on a vendor provided way to change the color temp...

Re:Night Shift Mode in macOS Sierra 10.12.4 by celerrimus on Wednesday January 25, 2017 @07:30AM (#13480854)
Nice feature. And at this point i have dilemma, i stopped os x updates after Apple decided to remove remaining battery time. I like f.lux idea, but sometimes have some problems with it, so i would like to test Night Shift. Hope remaining time will return with future update
Re:Night Shift Mode in macOS Sierra 10.12.4 by dwb on Wednesday January 25, 2017 @09:09AM (#13481426)
https://bjango.com/mac/istatmenus/

iStat Menus includes a battery menu item replacement that will show you the estimated remaining time.

Re:Night Shift Mode in macOS Sierra 10.12.4 by jvzr on Wednesday January 25, 2017 @08:52AM (#13481326)
iStat Menus and CoconutBattery (to cite two options respectively paid and free) both provide menu bar indicators of remaining time. I've found iStat Menus' very consistent.
Re:Night Shift Mode in macOS Sierra 10.12.4 by scrapcode on Wednesday January 25, 2017 @07:39AM (#13480892)
Do you have any reasons other than having a somewhat decent idea of how much time you have left? Battery power doesn't work on a time basis as power expenditure isn't consistent.
Re:Night Shift Mode in macOS Sierra 10.12.4 by hueving on Wednesday January 25, 2017 @09:23AM (#13481529)
>Battery power doesn't work on a time basis as power expenditure isn't consistent

It can be quite consistent if you do very simple things (CPU-wise). SSH-ing into servers and working on them all day is pretty consistent in battery life on my MBP.

Re:Night Shift Mode in macOS Sierra 10.12.4 by Filligree on Wednesday January 25, 2017 @08:12AM (#13481104)
My power expenditure is consistent: Most of the time when I'm on battery I'm typing in Scrivener, which leaves CPU use a flat 0%. (Presuming I've remembered to SIGSTOP Chrome.)

The battery life indicator was reliably accurate. I miss it.

Re:Night Shift Mode in macOS Sierra 10.12.4 by throwanem on Wednesday January 25, 2017 @08:34AM (#13481224)
> Do you have any reasons other than having a somewhat decent idea of how much time you have left?

Why do you find this reason insufficient?

Re:Night Shift Mode in macOS Sierra 10.12.4 by mrmondo on Wednesday January 25, 2017 @12:29AM (#13478835)
Glad to see this is built in now, very useful on iOS and iOS apps
Re:Night Shift Mode in macOS Sierra 10.12.4 by satyajeet23 on Wednesday January 25, 2017 @06:21AM (#13480505)
RIP Flux.
Re:Night Shift Mode in macOS Sierra 10.12.4 by nkkollaw on Wednesday January 25, 2017 @03:04AM (#13479637)
First they killed Flash, now it's Flux's turn.
Re:Night Shift Mode in macOS Sierra 10.12.4 by xs on Wednesday January 25, 2017 @05:25AM (#13480238)
Flash was so bad that it killed itself. Flux was so good that Apple implemented it. 2 different stories. You could compare this with Alfred though...
Re:Night Shift Mode in macOS Sierra 10.12.4 by jamessb on Wednesday January 25, 2017 @10:20AM (#13482069)
Or to Watson (Sherlock/spotlight), Instapaper (Safari Reading List), Konfabulator/Yahoo Widgets (Dashboard), SecondBar (menu bars appear on all monitors since Mavericks), or TotalFinder (the Finder has had tabs since Mavericks).
Re:Night Shift Mode in macOS Sierra 10.12.4 by mokkol on Wednesday January 25, 2017 @10:01AM (#13481879)
Is Alfred really killed? I am still a heavy user, many improvements compare to Spotlight for me.
Re:Night Shift Mode in macOS Sierra 10.12.4 by michelb on Wednesday January 25, 2017 @10:50AM (#13482335)
It sure is not killed by Spotlight, I use many features in Alfred that are not available in Spotlight. Launching applications and doing simple tasks like calculations are possible with Spotlight. Snippets in Alfred work better than the OSX 'text' feature. Alfred with the Powerpack is really great.
Re:Night Shift Mode in macOS Sierra 10.12.4 by nkkollaw on Wednesday January 25, 2017 @07:02AM (#13480700)
True, I was just trying to be funny (didn't work) :-)