skysight-inc/HackerNews huggingface dataset:
The blog post links an article by a usability research group: https://www.nngroup.com/articles/dark-mode/

That article mentions a study suggesting that light-mode screen viewing can contribute to myopia. I was very surprised by this. The study is here:

https://www.nature.com/articles/s41598-018-28904-x

I also found a few things that make me want to consider the findings seriously. The authors are well-known; Schaeffer (corresponding) has an h-index of 50. The study is also cited by a review on myopia from 2019, which notes (original study is [112]):

>A recent hypothesis is that the problem may be associated with the predominant use of black text on white background [112]. This hypothesis proposes that the problem lies in the balance of stimulation of ON and OFF visual pathways, with natural scenes leading to balanced stimulation, with black text on white heavily overstimulating OFF pathways. Given that ON-bipolar pathways stimulate release of dopamine from amacrine cells [113], and dopamine agonists can inhibit axial elongation in animal models [114, 115], this is a promising link.

https://link.springer.com/chapter/10.1007/978-981-13-8491-2_...

Ironically, I think I'll be switching devices to dark mode a lot more having found this blog post. But as with any new scientific hypothesis, this one will probably evolve over the coming years.
It works much better in low bandwidth situations if UDP is also available because then things like "the user just closed this application, stop downloading this picture" can happen.

With TCP multi-megabyte buffers can end up forming and when you've shoved data into TCP there's no way to cancel sending it.
I am not trying to convince the author of this post, but I'd like to speak to other web developers here: yes, please offer a dark mode!

When I want to do some light reading in bed at night (I do have a blue light filter on for that), I will often abandon even trying to read pages with white backgrounds because it is quite uncomfortable.

I do not care if scientifically I read three words less per minute, this is about perception. A dark mode option on a site shows me the developer cares to cover my use case and makes me more likely to go back.

If you need to do a light theme only, then just the HN reddish-tint on the background helps me a lot.
Also from the linked Nielson Norman Group article:

> On the flip side, long-term reading in light mode may be associated with myopia.

https://www.nngroup.com/articles/dark-mode/
https://www.nature.com/articles/s41598-018-28904-x
> A and not A are not necessarily contradictions

Nobody was saying p OR !p is necessarily true. The argument was about p AND !p. It really seems to me like you're confusing AND and OR...

The intuitionist will accept that "A and not A" cannot be true https://en.wikipedia.org/wiki/Intuitionism#Truth_and_proof
> What makes something a dedicated office though? The only two things I can think of would be a phone line (not so much these days) and maybe being somewhat separated/distanced from the rest of the bedrooms and maybe near the front door.

Some work requires an actual workstation with many cores, memory and beefy GPU.

Some people work on prototype devices with jigs, serial connections power supplies etc.

For some people WiFi does not cut it and you want a nice networking setup.

Other people may work with physical documents so there will be a printer, scanner, mail supplies involved.
It depends on the amount of light. Try reading a book outside on a clear summer day when the sun is at its zenith. Your eyes won't even stand it. It doesn't matter that the light comes from a direct source or from reflection. We can easily imagine more extreme experiments using mirrors and spotlights.
The Yuan is pegged to the US Dollar
Keeping up with the mood of the country (US) I want to call these comments out as racist propaganda. The casual reference to H1B workers(90% Indians) as root cause of problems in American tech companies is getting old.
Thats a good way to respond for me life is a game of choices I don’t believe in god but don’t get me wrong I believe in chance there is a possibility of there being one but let’s just say there was not one then we just do happen to exist in a place with no rules those in power made rules to better control the people and animals follow the rule of the jungle big fish eats small fish small fish eats shrimp one just has to accept that the situation one is in is because of your own choices and your wealth because of your ancestors choices don’t expect to be extraordinary by living a ordinary life and a safe life get out your safe bubble and you will see what I mean for me this is something I learned the hard way expecting something to change in a ordinary cycle of a peaceful life I wanted for things to change but did not want to change myself DONT fear the unexpected it’s what gives life it’s colors because it can’t be controlled one just has to accept and keep moving never regret on the past actions or dawn on your life Because it it’s what made you who you are difficulty is what gives ones achievements it’s felling of accomplishment because if all things where easy then nothing would be worth striving for
It is likely that you have your display brightness too high. Indoors, in light mode, most modern screens need to be set at 50% or lower brightness.
> Reading in dimly lit rooms is known to cause headaches and eye strain and should generally be avoided.

If you’re reading something purely reflective like paper, sure. If you’re reading a screen that is shooting rays of light directly into your eyeballs though?
Why are monopolies a problem? Because they stifle competition? Why is this? Because they control a market or ecosystem to the point where they can very very effectively prevent new players from entering it. If we have an ecosystem that a large number of our citizens are affected by and it is very hard for a new company to compete with a few established players, then there's a risk of many of those citizens getting "the short end" because the companies controlling the ecosystem have no incentive to competitively price anything. I think that's as good a reason as any to consider busting a monopoly.
Hey,

I can by the way confirm this issue. I work in a large newspaper in Norway and around a year ago we saw the same issue. Thousands of requests per second until we blocked it . And after we blocked it, traffic to our Facebook page also plummeted. I assume Facebook considered our website down and thus wouldn't give users content from our Facebook page either as that would serve them content that would give a bad user experience. The Facebook traffic did not normalize before the attack stopped AND after we told Facebook to reindex all our content.

I'd you want more info, send me a email and il dig out some logs etc. thu at db.no
Or also the British Medical Journal which is not opinions and is widely respected.
Get vitron TV 32 inch and free TV Guard at only 13000 ksh
There is very little that we understand about the larger picture of how learning happens in the brain. We have some understanding of how learning happens on very small scales, I'm talking plasticity at a single synapse. But even restricting ourselves to a single synapse, there is much we don't know. At the least, it's clear that synapses and dendrites have impressive computational capacity but making detailed measurements is currently beyond the reach of our experimental apparati. We can measure signals in dendrites and synapses, but not at a high enough spatiotemporal resolution to answer the big questions.

And we're starting to bump against fundamental limits of these apparati. Most modern neurobiology uses genetically encoded fluorescent sensors read out by rather expensive 2-photon microscopes. The sensors aren't as crisp as one wishes - there is a huge subfield dedicated just to deconvolving these fluorescent sensor readings into what the neurons are actually doing. And there's only so much further the 'scopes can be pushed.

The point being: it's really quite difficult to overstate just how overwhelmingly complex the brain is and how far we are from understanding even little really specific bits of it, let alone the whole thing.

That being said, the redwood center for theoretical neuroscience does some excellent work bridging the cutting edge of theory neuro and machine learning - towards the larger picture of how the brain works. You might be surprised at how 'rudimentary' the questions we're trying to solve in that domain are. Most work focuses on the visual system - far easier to study something when you have a good idea of what it's supposed to do (as opposed to, say, cortex).

I am not aware of anything resembling a grand theory that makes experimentally verifiable predictions. I am pretty sure I would have heard of such a thing if it existed.
we had a similar experience with yandex. had to block it. crawler started to crawl on a larger e-shop by trying out every single possible filter combination. in other words we got ddos attack from yandex.
>Douglas Adams got there in the 80s with his Golgafrincham B Ark storyline.

If COVID-19 has taught us nothing else, it's that (as Adams warned us) "telephone sanitizers" are absolutely essential.
Tournament rule changes demand an announcement; silence is not an option.
I completely agree. Modern screens are made to stay readable in direct sunlight. The maximum brightness is really high. The screen I'm currently looking at is at 6/100 and I could probably turn it down a bit more.
amd baby
Yes it is clearly possible to encode behavioral priors, there are many examples from different species.

But humans aren't spiders. We've got the big brain, it's kind of our thing
This page did not automatically flip to dark mode on any of the browsers I use--which all are on dark mode--on my macbook, which is also using dark mode.
I’ve been using Flux for a decade and it was my saviour from headaches and eye strain. Before that I was experimenting with dark themes and after running into f.lux I never really needed to. Im usually ok with whatever default theme is. I’been using f-lux at the lowest temperature and my eye strain never came back.
Often the problem isn’t nation of origin, it’s the nature of the training given from one generation to the next and knowledge transfer.

My father used to work in Hughes in some areas that required American citizens by US law; he regularly told stories of someone in a department retiring before replacements had been hired for knowledge transfer, causing lost time and knowledge.
None of that is a result of CHAZ.
It's not clear how this API works from scanning the docs, but nested in there is a key point:

> A matplotlib figure object is returned [from each plot function]
My (naive?) assumption is that user data is what is being "led into the store" aka being collected and fed into the rest of the ecosystem.
I'll never understand what happened about that time period. We went from the idea of "try minimize eye strain" to "fsck it! White looks great! Let's stare at light bulbs all day!". Grey backgrounds are a lot softer on the eyes.

I'm still running black text on light grey as my primary colour scheme for text editing since AmigaDOS 2.0 in the 90s. Seriously.
"Explore Vs Exploit Dilemma"
That's a bit like saying stereo speakers are too loud. That's why we adjust the volume very frequently.

For monitors, you should be adjusting the brightness frequently and in accordance with the ambient light level.

If you do that, you should perceive the background of your light mode content as neutral and so inoffensive that you don't even notice it.
Instacart raises new funding, now valued at nearly $14B
The press is protected by precedent (and the first amendment in general); they can publish any material they want, no matter how classified it is. The person who gets in trouble is the one who broke the laws and gave the material to the press.

The government has asked things not to be published in the past, particularly in the aeropspace sector. Sometime the press has complied, sometimes it hasn't.

Hell, the organization I used to work for has at least 3 pieces of TS material on their wikipedia page. Years back I brought my concerns to the security manager and they said "the worst thing you can do with classified material is try to remove it, because you're just validating that it's classified and correct."
Godot core budget meeting report #1
Emitted light isn't a problem per se, because reflected photons aren't somehow radically different from emitted ones. Color and brightness profile is the problem. On a display, you have to have high contrast and brightness for images (that have lots of darker areas), so the system interface is in turn tuned for this high brightness—and then you have to deal with bright white under text.

Note how text on e-ink is excellently readable but photos look like crap—since they aren't carefully selected and adjusted for the medium like in print.

On screens, black text on a-bit-gray-with-a-hint-of-red is better, like here on HN, though still not the same. I wonder if it's possible to get close to paper/e-ink colors on an LCD/OLED screen, or the backlight's color profile is too different (apparently LEDs emit narrow bands of wavelengths, which might be harsher for the eyes—while sunlight and incandescent lights have all or most of the visible spectrum).
Not exactly news
Why credit scores don't matter
What does that really mean? Is it stable for those who hold it in China where the amount you can legally transfer overseas is limited and that limit has been both going down and much more effectively enforced in recent years?
This article seems to leave out critical "common knowledge": There are so many humans because birth rates tend to decline after child mortality rates go down. The article also seems to not address the detail of whether or not this group had access to birth control of some sort so as to engineer a decline in birth rates.
> I also have an astigmatism

Even without one, the brighter background will constrict your pupils more, giving you a wider field of view and better focus.
Netrunner - card game.
Can play online at 'jinteki'
The Bank of China pegs the yuan to the US Dollar afaik...
"Dark Mode" needs to be implemented on the hardware side, not the software side.

At the end of the day the idea is to minimize brightness to:

-Save energy
-Reduce Eye Strain
-Reduce blue light emission

However, there is lots of research suggesting, that Dark Mode is more of a placebo than it actually works. There is already a set of new display technologies being developed that have the benefits of "Dark Mode" without the need of extra software, namley E-Paper technology and RLCD. Those are having several advantages over "old" Display technologies: https://imgur.com/a/oPhIu6A

Dark mode, blue light blocking glasses, etc. are just part of a bigger trend nameley the shrinking backlight industry in the display industry.

There are some intersting players developing backlight free screens already and in 5-10 years it will be the standard. Also in terms of screen economics, not even mentioning the material and energy savings.

The thing is, that our body/eye has been trained for thousands of years to work with reflective light (to see things/objects through the light reflection of the sun). The screen trend to look directly into backlight over the past decades is very unnatural to our body/vision and caused many problems. We need a screen technology that is very aligned with on how our body is designed and works.

Big players in the display market are realizing this and building alternatives. Big players include Sharp, Lenovo, BOE Technologies, JDI, Flex Lightning, Hisense, ONYX, Dasung etc.

You can read about screen alternatives (like eink and rlcd) here: https://www.reddit.com/r/eink/comments/h179j5/new_eink_alter...

PS: There was recently aready a Tablet released with the new RLCD screen technolgoy by BOE-Technologies, check here: https://boingboing.net/2020/06/11/tablet-with-high-refresh-r...
Remote Signing Features by CDK Sign Anywhere Solution
Here's the movie with similar idea: https://www.imdb.com/title/tt0384793/ :)
My point is, that you don't want to do this inside of a load balancer there. I don't recall any traffic filtering abilities that would suffice, but I'm not fully up-to-date with the configurability either. If the load balancer supports it, a short search in the net or docs should surface an easily-applicable guide, and if not, I'd probably put that blocking closer to my app server.

And the reason against AWS for this would be both the general cost (AWS is not cost-efficient in many cases, unless you have complicated infrastructure that takes a lot of management, where the Infrastructure-as-code approach can give you a sizable benefit), the bandwidth cost in particular, and the lack of configurability of their services to e.g. apply suitable tar-pitting against such crawlers.
Some rasterization algorithms are done this way, but they arguably are getting suboptimal results, and would do better to apply some other filter, instead of a box. (As pixels keep getting smaller and smaller it matters less though.)

> resulting rendered image is most correctly interpreted as an array of little squares

Still nope. What matters in the end is the viewer’s eyes/brain reconstruction of the image, and given the frequency response of human eyes to typical screens at typical viewing distances, there is little if any practical difference between convolving some eye-like reconstruction filter with pixels thought of as uniform-brightness squares vs. point samples.

If you want to improve your results you’ll get much more bang for your buck from considering RGB subpixels to be point samples offset the appropriate amounts for the given physical display than you’ll get from thinking of any of them as being an area light source instead of a point.
It's no worse than being preempted anywhere else, as long as your spin sequence doesn't preclude other threads from acquiring that lock when it is released; in fact it is often better. If you are preempted while spinning to acquire a lock then that is working as intended (WAI), because you yield the CPU to runnable work, instead of burning it.

> You really should only use a spinlock if you can disable preemption, which is usually limited to the kernel or realtime processes.

Oh god, no, don't do that. Then you could livelock if you don't do a hybrid strategy, because you are totally hosed if all your cores enter the unpreemptable spin sequence.

Maybe you are thinking of a different scenario, where the thread is preempted in the spinloop, but the kernel thinks it is runnable and at some future time just reschedules it, and it then continues to spin. That can happen, but the thread should break out of its spinloop and block anyway if the spinlock is tuned properly, so at most you just broke up the spinning across reschedules, and haven't fundamentally made anything worse. In an ideal world, if the kernel preempts a thread in a spinloop, it should transition it directly into the waiting state, and not reschedule it until it can acquire the lock. But since spinloops are in userspace, the kernel usually has no idea what is going on.
Thanks! I'm not sure which one you are referring to (maybe Sagrada Familia?) but yeah, they are all in Catalonia :)
The mood of the country is racist propaganda

I mean a lot of things are obvious, why pretend they are not
I hope one day they will fix the reflect.StructOf.
HeARTwood, from Russia: https://www.youtube.com/user/TheVersatileMG. Quite a lot about woodworking.
> Click login/cart, popup "do you want to enable login/cart for $this_site?" yes/no

I don't see how you could implement that without sites abusing any click event to try and get you to enable cookies.

> There's about 5 sites I would ever use with cookies

Good for you. Most people need more than that.
Is this what they're calling homeless camps now, cause it looks like one.
It looks like this one is designed specifically to be easy to learn and remember. It looks very useful to me for people who make plots less frequently.
Epigrams of Programming
A must read for all coders here! See some great statements which seem to be true for us. Always be aware of them.
How about this: we don't argue about what is better, but let ppl do what they want? :)
Link to privacy policy? Bug report? Statement by Postman devs? Anything to back this up?
Is there an open-source alternative that anyone can recommend?
Basket of currencies. Its a slightly managed float.
I'm not sure why this is being downvoted.

Return navigating to the bank website by bookmark on the OS/browser is great. Via link from SMS/Email... not so much.
From the comments here I am amazed that many people don't know about brightness controls.

We don't listen to our music at 90+% volume always (and then complain that we need amute mode). That would be absurd since there is a volume control that can be used to set the sound output to a level that's just enough louder than the ambient noise level that we can hear as much detail of the music as we like.

For displays, we have brightness control which serves the same purpose.

With proper brightness adjustment, light mode can and should be very comfortable and natural in all but extremely dark environments.
OH, thank you this, amazing art!
CSIRO's OpenSHC Hexapod controller open sourced
That's pretty out of date information, a quick look on XE shows this is not the case at all:

https://www.xe.com/currencycharts/?from=USD&to=CNY&view=10Y
Thank goodness for mod_rewrite, which makes blocking/redirecting traffic on basic things like headers pretty easy.

https://www.usenix.org.uk/content/rewritemap.html

You could of course block upstream by IP, but if you want to send the traffic away from a CPU heavy dynamic page to something static that 2xx's or 301's to https://developers.facebook.com/docs/sharing/webmasters/craw... then this could be the answer.
Lost Cities is a good game that's 2 player only
I think it would be important to disclose your affiliation to Google, especially when you're defending your employer, and arguing against breaking up Google.
The shift towards stability coincided with the Yuan becoming a global reserve currency in 2016. Probably a pretty smart move if China wants to establish the Yuan as a global currency and start challenging the dollar, as the dependency on the American financial system is one of the biggest threats China faces. It also makes some sense given how quickly China is shifting from export orientation towards domestic consumption, in which case a stronger domestic currency is a pretty good idea.

Meanwhile in the US, oddly enough from both sides of the political spectrum you have people toying with the idea of devaluing the dollar (predominantly Warren on the left and Trump on the right), which would weaken the international position of the US and of course effectively make American consumers poorer.

Not unrelated China has also made the DCEP (sort of a digital RMB) a national priority, probably with the same goals in mind

https://www.ft.com/content/f10e94cc-4d74-11ea-95a0-43d18ec71...
New Facebook tool allows employers to suppress “unionize” in workplace chat
Yes it does. So you spend once in b2 and once in b2'.

Assuming 6 blocks of confirmation the attack is then:

1. Spend in b2, create blocks until b8.

2. Switch the chain to b2', spend again there and run with it until bX' > bX.

Assuming 6 blocks of confirmation and 51% hash power, you'll lose a lot of money in the process (it'll take ages until bX' > bX [1]) so it better be worth it. Also, you can probably estimate the risk of this happening via the transaction volume in the block. The higher, the more valuable a double spend would be.

[1] Assuming 6 blocks à 10 minutes and you achieving 51%/49% ~ 4% more hashpower, such an attack costs you 25h (150 blocks) so at the very least 150x3.75x51% ~ 286 BTC in opportunity cost plus equipment plus electricity plus the risk that someone switches on his new nodes and your 51% become only 50%.

The cost regarding your equipment will also be full purchase price because if you succeed, you ruin bitcoin and your equipment value becomes 0 with your attack.