News for hackers. Stuff that matters.
Re:Not everyone needs 8 hours of sleep: new research by vecter on Sunday August 16, 2020 @08:48PM (#24182707)
Anyone who isn't using flux[0] after 8pm is seriously hurting themselves. Once you use it, you can't go back.

[0] https://justgetflux.com/

Re:Not everyone needs 8 hours of sleep: new research by thdrdt on Monday August 17, 2020 @01:51AM (#24184378)
Well recent studies show that software like flux only does a little and maybe even nothing to help you sleep better.

The problem is that we keep our brains active late at night and that's the reason why it is hard to get to sleep.

For me alcohol is the one that messes with my sleep. The lack of deep sleep makes me feel tired the next day(s).

Edit: an article about recent studies: https://time.com/5752454/blue-light-sleep/

Re:Not everyone needs 8 hours of sleep: new research by vladvasiliu on Monday August 17, 2020 @05:16AM (#24185446)
Can confirm sibling's observation.

I find it much easier to fall asleep when the light is redder. Even for example when reading a book, if there's a lot of bright light in the room I will have a much harder time falling asleep.

I've noticed that if I wake up for some reason at night and turn the lights on, if the light is bluer it will tend to wake me up completely, whereas a red light will allow me to stay "sleepy" and fall back asleep quicker.

Re:Not everyone needs 8 hours of sleep: new research by Pyramus on Monday August 17, 2020 @06:14AM (#24185768)
> The problem is that we keep our brains active late at night and that's the reason why it is hard to get to sleep.

You are correct, however, that's a confounding problem. The (relatively) weak effectiveness of software solutions is due to blocking only a small percentage of blue light from a (relatively) strong light source (assumes short distance to screen, low ambient light at night).

Blue light (and even some green light frequencies) is a hardwired stimulus feeding into your circadian rhythm. Blocking all blue and green frequencies, e.g. with simple welding glasses, is effective in supporting the creation of melatonin.

But again, having enough melatonin in your system is a necessary but not sufficient condition to be able to sleep.

Re:Not everyone needs 8 hours of sleep: new research by ajuc on Monday August 17, 2020 @03:30AM (#24184863)
Maybe it's placebo, but after installing flux I fall asleep at 22:00-23:00. Before I often stayed up till 01:00.

I still read a lot on computer in the evening, but I get sleepy much earlier.

Re:Not everyone needs 8 hours of sleep: new research by shlant on Monday August 17, 2020 @08:32AM (#24186580)
if anyone is interested, Michael from f.lux provided some great info in relation to the study the Time article is referencing when it was originally posted on HN:

https://news.ycombinator.com/item?id=21916679

Re:Not everyone needs 8 hours of sleep: new research by FooHentai on Sunday August 16, 2020 @08:52PM (#24182727)
Or the blue light-removing features that are built into most modern OS - Windows 10 has it ('Night Light'), Android ('Night Mode') and IoS ('Night Shift') have it.

Flux was great but for the most part modern OS' have caught up and it's no longer needed.

Re:Not everyone needs 8 hours of sleep: new research by bangonkeyboard on Sunday August 16, 2020 @08:59PM (#24182764)
'In 2009 we first approached Apple to get f.lux on iPhones. Years of promises of API access. The last conversation we had with them was "that's too weird for most of our users. Like the Klingon keyboard." Then, they announced their clone onstage, Macworld 2016.'

— https://twitter.com/JustGetFlux/status/1288979404677292032

Re:Not everyone needs 8 hours of sleep: new research by Kye on Monday August 17, 2020 @07:43AM (#24186266)
This is just Apple. It's useless, implausible, unreasonable, unviable...

Right up until other people do all the R&D for them so they can pick out the parts they like for a big announcement on stage. It's a smart strategy. They get to look like geniuses while others do the hard work and take all the risk.

Re:Not everyone needs 8 hours of sleep: new research by skocznymroczny on Monday August 17, 2020 @02:33AM (#24184566)
They just went on with the times, 2016 was the year when everyone was obsessed about the "blue light disrupts your sleep" theories. Android, Windows and macOS were all on-board.
Re:Not everyone needs 8 hours of sleep: new research by guywithabike on Sunday August 16, 2020 @09:11PM (#24182827)
It's very likely that the team that said "yes" is not the same team that said "no". Apple is a big company. There's more than one person there.
Re:Not everyone needs 8 hours of sleep: new research by anchpop on Sunday August 16, 2020 @09:38PM (#24183003)
Either way it demonstrates that their judgement was flawed
Re:Not everyone needs 8 hours of sleep: new research by dllthomas on Monday August 17, 2020 @12:11AM (#24183875)
Or their judgement is sound, and they correctly assessed that the weirdness of f.lux or the thresholds of their userbase had changed in the intervening 7 years.
Re:Not everyone needs 8 hours of sleep: new research by bryanrasmussen on Monday August 17, 2020 @03:39AM (#24184925)
IF they first approached in 2009 and then had years of promises it follows that the intervening years should be 5 at the most. but maybe quite a bit less.
Re:Not everyone needs 8 hours of sleep: new research by dllthomas on Monday August 17, 2020 @02:50PM (#24190470)
Ah, yeah, good catch!

I think it doesn't really eliminate the possibility, though, with different numbers.

Re:Not everyone needs 8 hours of sleep: new research by DragoCubed on Monday August 17, 2020 @02:27AM (#24184538)
Flux is still so much nicer than Windows 10's Night Light feature. Flux is gradual and has a transition over a few hours while Night Light has a transition over a few seconds.
Re:Not everyone needs 8 hours of sleep: new research by withinboredom on Monday August 17, 2020 @05:38AM (#24185578)
Not to mention, with flux you can get the schedule just right. I work night hours, so it’s a light shade of red. But around 1:30 am it gets really, really red. It 1) tells me I should go to bed if I want to be functional when I wake up. 2) I don’t need to be paying attention to the clock and incidentally rush some work.
Re:Not everyone needs 8 hours of sleep: new research by eloisius on Sunday August 16, 2020 @09:53PM (#24183100)
Every couple of years I see a comment like this and give it another chance, but I honestly cannot tell a difference. Other than the annoyance it gives me with taking the contrast out of everything and de-colorizing my syntax highlighting. Maybe it makes the experience less attractive so I tend to use the computer less late at night, but other than that, what is the big deal?
Re:Not everyone needs 8 hours of sleep: new research by jedberg on Sunday August 16, 2020 @10:34PM (#24183336)
You sort of have to go full sleep hygiene mode for it to work.

I use flux, but I also cut all blue light after 10pm. I use 1850k lights (aka candlelight) throughout the house after 10pm. My phone is also yellow shifted and I watch tv yellow shifted too (by only watching from a computer with flux at night).

All those things together made a huge difference in sleep quality.

Re:Not everyone needs 8 hours of sleep: new research by pizza on Monday August 17, 2020 @04:33AM (#24185237)
"Does it help you sleep?"

"Yes. Mainly when I practice good sleeping habits, though."

/s :)

Re:Not everyone needs 8 hours of sleep: new research by jedberg on Monday August 17, 2020 @04:36AM (#24185253)
It's part of an overall routine. Like how they tell you the cereal is just part of complete breakfast, as long as you add milk, fruit, and a some eggs. :)
Re:Not everyone needs 8 hours of sleep: new research by playpause on Monday August 17, 2020 @07:54AM (#24186341)
But then how do you know how much of a role Flux is contributing (if at all) to the effectiveness of that routine?
Re:Not everyone needs 8 hours of sleep: new research by jedberg on Monday August 17, 2020 @11:27AM (#24188158)
If I use non-flux screens but change nothing else my sleep is a lot worse.
Re:Not everyone needs 8 hours of sleep: new research by bravura on Sunday August 16, 2020 @10:48PM (#24183406)
And when is your target time to go to sleep?
Re:Not everyone needs 8 hours of sleep: new research by jedberg on Sunday August 16, 2020 @11:11PM (#24183491)
1am sleep 8-9am wake up.
Re:Not everyone needs 8 hours of sleep: new research by onion2k on Monday August 17, 2020 @02:37AM (#24184592)
Why do you go to bed at 1am if you only sleep from 8 til 9am? ;)
Re:Not everyone needs 8 hours of sleep: new research by g4rret on Monday August 17, 2020 @12:34PM (#24188831)
he goes to sleep at 1am, and gets up at some time between 8 and 9
Re:Not everyone needs 8 hours of sleep: new research by ineedasername on Sunday August 16, 2020 @10:16PM (#24183224)
Yep, between nights I use my computer late and those I don't, I see no difference on in sleep patterns or next day fatigue etc.

I think it's probably much more of an issue for people already susceptible to inspect insomnia or other sleep issues.

Re:Not everyone needs 8 hours of sleep: new research by anilakar on Monday August 17, 2020 @04:30AM (#24185222)
I've found that the effect of sleep deprivation and fatigue in general tends to lag by one full day on average, which makes it harder to mentally correlate between causes and consequences, especially when you're tired. In other words, my alertness on Monday mornings directly depends on how much I slept between Saturday and Sunday. OTOH it also means that I'm able to pull an all-nighter if necessary, but the adverse effects will kick in one day late.

F.lux, Windows 10 night light and Android's bedtime mode are great distractions at best and to me they serve more as a bedtime reminder. I feel that most sleep assistants and other life-hacking tools are mostly placebo that give you the feeling you're in control, which is a state the human brain likes. Sadly, it also means that once you know the placebo effect, those tools become useless. :-)

Re:Not everyone needs 8 hours of sleep: new research by _nalply on Monday August 17, 2020 @03:06AM (#24184736)
Reducing the light temperature is not enough. After 8 pm I turn off all harsh lights in my home and avoid things which excite me. Evenings I often tell my wife to postpone lively debates to the next day.

All this makes my body ready for sleep and at 10 pm I feel relieved to close my eyes and dozing off. I have accepted that I seem to need more sleep than others. Usually after 8 to 9 hours of sleep I wake up on my own.

Re:Not everyone needs 8 hours of sleep: new research by reportgunner on Monday August 17, 2020 @07:57AM (#24186362)
> Once you use it, you can't go back.

I did and I went back.

It does very little you use night mode everywhere.

It might help with white backgrounds but I remove or avoid those even during daylight. I do use the 'Eye saver' mode on my smartphone, but only to visually let me know that it's after midnight.

Re:Not everyone needs 8 hours of sleep: new research by fsflover on Monday August 17, 2020 @03:43AM (#24184947)
Redshift is the free alternative for GNU/Linux.
Re:Not everyone needs 8 hours of sleep: new research by meowface on Sunday August 16, 2020 @09:10PM (#24182818)
I read recently that light brightness is also very important in regulating circadian rhythm; not just blue light. I'd recommend f.lux or similar + dimming your screen until just before the point it's too hard/straining to read things.
Re:Not everyone needs 8 hours of sleep: new research by gentleman11 on Monday August 17, 2020 @12:58AM (#24184138)
Flux needs to decouple it’s dimming timings from your local day/night cycle. I don’t care if it’s light or dark out, if it’s between x and y time I want the screen dimmed; otherwise, I don’t want it dimmed.
Re:Not everyone needs 8 hours of sleep: new research by derefr on Monday August 17, 2020 @02:50AM (#24184658)
For a non-day-aligned f.lux to actually help you, you'd need to have blue-light filters on your windows, such that you aren't getting natural blue light during the day. Screens have only maybe 1/1000 the lux of daylight. Letting in even a little bit of daylight (e.g. through blinds) would completely swamp any effect from blue light on an LCD/LED panel.
Re:Not everyone needs 8 hours of sleep: new research by valesco on Monday August 17, 2020 @04:04AM (#24185071)
What about the inverse? It's dark outside, but it's 7pm and I'm not about to sleep.
Re:Not everyone needs 8 hours of sleep: new research by reportgunner on Monday August 17, 2020 @08:03AM (#24186398)
> blue-light filters on your windows

Yes or good old fashioned curtains or window blinds.

Re:Not everyone needs 8 hours of sleep: new research by coldtea on Sunday August 16, 2020 @10:40PM (#24183361)
People said that, and flux and other apps came out. Then Apple added it too (and perhaps other OS makers).

But there's this too - and increasingly more stories like it:

https://www.sciencedaily.com/releases/2019/12/191216173654.h...

https://time.com/5752454/blue-light-sleep/

Re:Not everyone needs 8 hours of sleep: new research by joveian on Monday August 17, 2020 @03:19AM (#24184795)
Interesting, thanks for sharing those articles. redshift lets you adjust brightness in addition or instead of color temperature (there is a Windows version but it is command line only, doesn't look like it supports macs and does not work with Wayland). Someone mentioned brightness a while back and I've been adjusting both since then but I'll try just adjusting brightness and see how it works. If nothing else, it is possible that warm color temperatures might end up being similar to the issue with flashlights where full spectrum lets you use a lower brightness than red light (of course, with flashlights there is also the issue that many "red" flashlights, even some that advertise as being night vision preserving, aren't in the right range to actually preserve night vision). It does seem like I could lower the brightness a bit more without the warmer color temperature.

https://github.com/jonls/redshift

Re:Not everyone needs 8 hours of sleep: new research by xy2_ on Monday August 17, 2020 @03:29AM (#24184860)
There's a GUI redshift for Windows: https://github.com/maoserr/redshiftgui/downloads
Re:Not everyone needs 8 hours of sleep: new research by shlant on Monday August 17, 2020 @08:39AM (#24186638)
if anyone is interested, Michael from f.lux provided some great info in relation to the study the above links are referencing when it was originally posted on HN:

https://news.ycombinator.com/item?id=21916679

Re:Not everyone needs 8 hours of sleep: new research by jabirali on Monday August 17, 2020 @06:45AM (#24185931)
I also have a positive experience with Redshift, and use it on both computers and phones at night. Since I live in the north, I also have good experience with "rubber curtains" that block out all sunlight at night in the summer, and a "wake-up light" that simulates sunrises in the winter.
Re:Not everyone needs 8 hours of sleep: new research by balola on Sunday August 16, 2020 @10:22PM (#24183268)
Lots of laptops and OLED phones flicker in low brightness, using this actually make it worse as your eyes strains quickyly from the combined effect, at least for me.

I'm currently using Iris Pro in max brightness, in which the display doesn't need to flicker, the software still can dim the screen itself.

Re:Not everyone needs 8 hours of sleep: new research by jack1243star on Sunday August 16, 2020 @11:43PM (#24183701)
Do OLED displays flicker? I thought it happens only with LED backlight panels that were dimmed using PWM, which was quite unpleasant when I switched from a CCFL one.
Re:Not everyone needs 8 hours of sleep: new research by balola on Monday August 17, 2020 @03:43AM (#24184953)
Most OLED displays use PWM, as the color dots are hard to control, PWM has no issue in this regard.
Re:Not everyone needs 8 hours of sleep: new research by darepublic on Sunday August 16, 2020 @09:23PM (#24182904)
I remember installing flux when dealing with a very severe bout of stress induced insomnia. I kept struggling to fall asleep and then giving in and playing temple run until 7 in the morning