News for hackers. Stuff that matters.
Re:Ask HN: Dark mode for HN please? by jimmyswimmy on Friday May 15, 2020 @08:43PM (#23199293)
Please, for God's sake, don't screw it up. I can keep up with news on this site from a 15 kb/s shared satellite link when I'm out at sea. Except perhaps for the really big threads. I love the simple interface. It's text, it's simple, it's readable, and when I hit the spacebar, it scrolls down a page. No fancy fonts, no javascript, no nothing. I love HN for its simplicity and speed. Thanks for maintaining a good engineering philosophy.
Re:Ask HN: Dark mode for HN please? by dang on Friday May 15, 2020 @09:01PM (#23199420)
I'm on board with ceasing and desisting from screwing it up.
Re:Ask HN: Dark mode for HN please? by merlinsbrain on Friday May 15, 2020 @09:14PM (#23199509)
Thank you dang, you've been an amazing steward for this community and the technology that powers it.

Keeping something the way it is, is super hard in tons of ways a lot of us probably don't understand. We appreciate you.

Re:Ask HN: Dark mode for HN please? by fermienrico on Friday May 15, 2020 @09:31PM (#23199603)
Can we have a review before we merge the change? Make sure all issues are ironed out.

HN design is simply the best thing out there. "Moving slowly and preserving things" - I would get this engraved on my grave. This philosophy has died unfortunately and with it went robustness, simplicity, elegance, poise, beauty, accessibility, elegance, maintainability and practicality.

Thanks dang for your gandalf-like wisdom and your resilience. I like Alligators over goddamn mosquitos that have taken over the internet.

Re:Ask HN: Dark mode for HN please? by Normal_gaussian on Friday May 15, 2020 @11:01PM (#23200102)
We can have what would undoubtedly be one of the world's largest code reviews, and for a vanishingly small piece of relatively mundane code.

Please dang!

Re:Ask HN: Dark mode for HN please? by tlb on Saturday May 16, 2020 @12:50AM (#23200579)
The mother of all bike sheddings. A whole subcommittee to decide if the Braille version should have indents instead of bumps.
Re:Ask HN: Dark mode for HN please? by fermienrico on Saturday May 16, 2020 @03:38AM (#23201256)
How can anyone even dare to think about indents? C'mon, I thought this was settled. Did you know that human fingers can detect roughness value down to N7? That's 1.6 micrometers. There is a bigger fish to fry than just think about indentations or bumps. Texture. Texture is everything and there is nothing else to talk about, although I am open for other ideas. Thoughts?
Re:Ask HN: Dark mode for HN please? by kristopolous on Saturday May 16, 2020 @05:08AM (#23201775)
my favorite version of this is "man lsmod". About 70 words and supposedly maintained by multiple people.
Re:Ask HN: Dark mode for HN please? by HeavyStorm on Saturday May 16, 2020 @12:00PM (#23204506)
Couldn't agree more.
Re:Ask HN: Dark mode for HN please? by simonebrunozzi on Friday May 15, 2020 @10:35PM (#23199986)
There are many ways for end users to force dark mode without any change on HN. "invert page colors" chrome extension, for example, does a nice job. Not ideal, but good enough.

I second the other commenter, don't do anything. Or get someone really good to help you!

Re:Ask HN: Dark mode for HN please? by jacoblambda on Saturday May 16, 2020 @03:01AM (#23201092)
There's a very solid Stylus theme for HN that I've been using as long as I can remember. Until just now I had honestly forgotten that this wasn't what HN looked like by default.

https://userstyles.org/styles/113994/hacker-news-dark

Re:Ask HN: Dark mode for HN please? by dorgo on Saturday May 16, 2020 @10:11AM (#23203508)
Upvote and downvote buttons become invisible.

Edit: my fault. I have too many dark mode addons/stylesheets enabled at the same time.

Re:Ask HN: Dark mode for HN please? by retpirato on Sunday May 17, 2020 @07:05AM (#23211157)
There are 2 HN dark themes available at https://github.com/UserStyles.

Midnight lizard (chrome) https://chrome.google.com/webstore/detail/midnight-lizard/pb... is a good extension that can create a dark theme by changing the contrast & things like that. It does it in a way that the same theme will work on a lot of sites. They do have more dark (& light) themes on their site & you can create your own by entering a few colors & it will create a theme based on that. Stylus is good (NOT stylish), but Midnight lizard creates themes in a way that are compatible with a lot more sites that Stylus.

Re:Ask HN: Dark mode for HN please? by jacoblambda on Sunday May 17, 2020 @04:05PM (#23214929)
I just tried out Midnight Lizard. It works surprisingly well but I can see myself wasting hours fighting with it trying to get it tuned perfectly.
Re:Ask HN: Dark mode for HN please? by retpirato on Sunday May 17, 2020 @07:09AM (#23211172)
Is there a non userstyles.org link for this? I've blocked cookies on userstyles.org (For obvious reasons) & when you black cookies on that site it gives you a blank page. If you enable cookies it comes back.
Re:Ask HN: Dark mode for HN please? by jacoblambda on Sunday May 17, 2020 @03:49PM (#23214782)
Re:Ask HN: Dark mode for HN please? by throwaway_pdp09 on Saturday May 16, 2020 @05:16AM (#23201824)
Doesn't work without JS.
Re:Ask HN: Dark mode for HN please? by jacoblambda on Saturday May 16, 2020 @09:10AM (#23203093)
hmm. I just tried turning off JS and reloaded Firefox. Everything seems to still work fine on HN with the theme on. I don't know much about web dev so I'm not sure what could be causing it.
Re:Ask HN: Dark mode for HN please? by alpaca128 on Saturday May 16, 2020 @04:24AM (#23201490)
I tried various of dark mode plugins in Firefox and none of them seem to be able to do their job without obvious shortcomings. For example most of them don't check the original color of the website and just invert colors of dark pages as well. Or in some cases it doesn't invert all text colors, making hyperlinks hard to read.

None of the extensions I've tested can match the dead simple CSS override I used in qutebrowser.

Re:Ask HN: Dark mode for HN please? by agustif on Saturday May 16, 2020 @06:08AM (#23202141)
Have you tried Dark Reader, I'm pretty happy with it: https://addons.mozilla.org/en-US/android/addon/darkreader/
Re:Ask HN: Dark mode for HN please? by codq on Saturday May 16, 2020 @09:55AM (#23203394)
I just started using Dark Reader yesterday, and for the most part, it's excellent.

old.reddit.com comments are mostly unreadable, and it cripples gmail, but I've learned to take advantage of Options-Shift-D to flip it on and off when needed.

It's now part of my web browsing workflow.

Re:Ask HN: Dark mode for HN please? by hawski on Saturday May 16, 2020 @07:57AM (#23202687)
It's also supported by current Firefox Preview on Android. Works well.
Re:Ask HN: Dark mode for HN please? by Forge36 on Friday May 15, 2020 @10:39PM (#23200014)
I flipped a flag in chrome for mobile. HN Looks very good (The reply button is white on grey)
Re:Ask HN: Dark mode for HN please? by giancarlostoro on Saturday May 16, 2020 @01:23AM (#23200724)
An alternative is to "opt-in" sort of how you can change the top bar color with enough Karma. Maybe that CSS is not loaded for people who dont have that same Karma? I assume people asking for the feature post often enough.

Edit:

To clarify what I mean is maybe toggling which style sheet HN gives you in settings would be ideal for all. Web standards are nice but they dont help in the minimalist ideals of HN too much.

Re:Ask HN: Dark mode for HN please? by sgillen on Saturday May 16, 2020 @02:30AM (#23200950)
Really? How much karma do you need for that? This is my first time hearing about this.
Re:Ask HN: Dark mode for HN please? by tastroder on Saturday May 16, 2020 @02:52AM (#23201064)
250 iirc
Re:Ask HN: Dark mode for HN please? by agustif on Saturday May 16, 2020 @06:09AM (#23202148)
Daaamn, I'm at 60, so a little over 20%, I will geet probably thhe general dark mode before the customize topbar css feature lol
Re:Ask HN: Dark mode for HN please? by seph-reed on Friday May 15, 2020 @10:07PM (#23199842)
Re:Ask HN: Dark mode for HN please? by kristopolous on Saturday May 16, 2020 @05:06AM (#23201765)
Also, not only should "dark mode" be the responsibility of the browser, it already is. There's plenty of plugins that do this and people that want it should use them.

(http://i.9ol.es/dark.png)

Re:Ask HN: Dark mode for HN please? by mrzool on Saturday May 16, 2020 @10:07AM (#23203481)
Dark mode is an accessibility and ergonomics feature that should be supported by websites through CSS whenever possible. Of course browsers need to support it in the first place for it to work, but that seems to be mostly the case:

https://caniuse.com/#feat=prefers-color-scheme

Re:Ask HN: Dark mode for HN please? by dgl on Saturday May 16, 2020 @05:29AM (#23201899)
Sadly few browsers support extensions on mobile, which is possibly where dark mode is most useful.
Re:Ask HN: Dark mode for HN please? by CraneWorm on Saturday May 16, 2020 @05:48AM (#23202018)
firefox does;it works great
Re:Ask HN: Dark mode for HN please? by kristopolous on Saturday May 16, 2020 @05:58AM (#23202077)
chromium for android is open source ... that's where the solution should be and if you're really passionate about it, go do it. It shouldn't be the responsibility of every individual website to independently implement the feature.

Could you imagine if we entrusted every website to independently implement scroll bars and zoom? What a mess that'd be.

Re:Ask HN: Dark mode for HN please? by setzer22 on Saturday May 16, 2020 @07:06AM (#23202436)
While I partially agree with you (that's why I upvoted) in that it's a waste of everyone's time having every website developer worry about dark mode I still think scrollbars and zoom are fundamentally different from a dark mode in that the latter cannot be detached from aesthetics.

The color pallete of a page is important, and maintaining a consistent look and feel across normal and dark mode can only be done reliably by each website's designer.

So I guess we need both the ability to have the browser auto-calculate a default dark mode, and a way for aestetically-conscious web designers to override it, and that's what we're moving towards.

Re:Ask HN: Dark mode for HN please? by kristopolous on Saturday May 16, 2020 @08:21AM (#23202805)
but dark mode is an accessibility feature and used to be called high-contrast mode. This is a solved problem and has been for at least 30 years.

In fact it's already in chrome on android, no work needs to be done (other than enabling it). Here's an image gallery guide I made: https://imgur.com/a/njNTO6T

This is the right approach, it should be solved at the browser level. In fact, it already is.

The only responsibility of web developers should be to not go out of their way and do silly things that break this.

Re:Ask HN: Dark mode for HN please? by _54qb on Saturday May 16, 2020 @09:21AM (#23203170)
IMO it's two separate things. Both useful on their own right.

High contrast is very useful for people with visual difficulties, but might even be counter-productive for certain types of eye strain.

I'm under the impression people asking for dark mode are looking for something that will emit less light off their screens, not necessarily make it look nore contrast-y, and the two are more often than not opposite.

Re:Ask HN: Dark mode for HN please? by csomar on Friday May 15, 2020 @11:27PM (#23200245)
People can edit HN CSS with extensions. There is actually an extension that inject CSS into websites. So you can do that.
Re:Ask HN: Dark mode for HN please? by saagarjha on Friday May 15, 2020 @11:29PM (#23200258)
Such extensions do not work everywhere.
Re:Ask HN: Dark mode for HN please? by noisem4ker on Saturday May 16, 2020 @05:34AM (#23201931)
They work everywhere Firefox can run.
Re:Ask HN: Dark mode for HN please? by samstave on Friday May 15, 2020 @09:49PM (#23199737)
I screw up ceasing and desisting all the time :-(
Re:Ask HN: Dark mode for HN please? by edoceo on Saturday May 16, 2020 @12:25AM (#23200487)
Q.E.D
Re:Ask HN: Dark mode for HN please? by cozzyd on Saturday May 16, 2020 @12:02AM (#23200389)
Indeed, HN is one of the few sites that works well in Antarctica.
Re:Ask HN: Dark mode for HN please? by umvi on Friday May 15, 2020 @09:36PM (#23199648)
Well, if we want HN to follow best modern web practices, I recommend rewriting the whole thing with React/Node.js using TypeScript. Then, we can get a proper CSS framework in place like Material that will really allow us to get everything looking really good. I can design a cool looking loading screen that says "HN" while the JS is loading in the background.
Re:Ask HN: Dark mode for HN please? by krapp on Friday May 15, 2020 @10:07PM (#23199839)
Blockchain. No one said blockchain yet. We have to blockchain it. Blockchain it with cryptos.
Re:Ask HN: Dark mode for HN please? by brianush1 on Friday May 15, 2020 @10:59PM (#23200096)
Also, if there's any way to incorporate machine learning algorithms into it, please try to find a way to do that.
Re:Ask HN: Dark mode for HN please? by krapp on Saturday May 16, 2020 @12:02AM (#23200388)
Of course. Obviously, we'll store the algorithm on the blockchain and train it with a custom YCombinator bitcoin that replaces karma.
Re:Ask HN: Dark mode for HN please? by cy6erlion on Saturday May 16, 2020 @03:04AM (#23201110)
Also add a VR and AR, that will be super cool.
Re:Ask HN: Dark mode for HN please? by krtkush on Saturday May 16, 2020 @03:17AM (#23201159)
All this will be AI powered, I assume?
Re:Ask HN: Dark mode for HN please? by quickthrower2 on Saturday May 16, 2020 @03:45AM (#23201295)
The best electricity comes from AI
Re:Ask HN: Dark mode for HN please? by behnamoh on Saturday May 16, 2020 @04:13AM (#23201438)
Ironically, AI itself uses electricity.
Re:Ask HN: Dark mode for HN please? by t4h4 on Saturday May 16, 2020 @06:16AM (#23202187)
5G and 8K as well.
Re:Ask HN: Dark mode for HN please? by onemoresoop on Saturday May 16, 2020 @09:15AM (#23203134)
Will it power my house as well? Can I get some free here?
Re:Ask HN: Dark mode for HN please? by spyridonas on Saturday May 16, 2020 @08:23AM (#23202819)
But it will spread covid
Re:Ask HN: Dark mode for HN please? by snovv_crash on Saturday May 16, 2020 @08:22AM (#23202815)
Yes, AI running on drones.
Re:Ask HN: Dark mode for HN please? by scared2 on Saturday May 16, 2020 @04:28AM (#23201511)
It is also important to incorporate chatbots
Re:Ask HN: Dark mode for HN please? by krapp on Saturday May 16, 2020 @08:24AM (#23202825)
I think this is now my highest voted comment on HN.

I don't know how to feel about that.

Re:Ask HN: Dark mode for HN please? by stormdennis on Friday May 15, 2020 @10:22PM (#23199917)
I agree. Currently HN pages load instantly which in these days can be disconcerting.
Re:Ask HN: Dark mode for HN please? by imhoguy on Saturday May 16, 2020 @02:12AM (#23200882)
And weights sooo little. It should have at least 10MB js framework bundle as my fiber link is bored.
Re:Ask HN: Dark mode for HN please? by blhack on Friday May 15, 2020 @09:44PM (#23199712)
Aw man that sounds really cool. I bet you’ll only need a team of 5 people to do it too.

What’s the tool chain manager look like for managing the build process manager?

Re:Ask HN: Dark mode for HN please? by geerlingguy on Friday May 15, 2020 @10:05PM (#23199825)
We should probably redeploy it on Kubernetes so the backend can scale, one c5.xlarge instance per session to keep up with the requests.
Re:Ask HN: Dark mode for HN please? by noodlesUK on Friday May 15, 2020 @09:40PM (#23199680)
Well done... I nearly downvoted you from the rage I felt before realising it was sarcasm...
Re:Ask HN: Dark mode for HN please? by vmception on Friday May 15, 2020 @10:06PM (#23199832)
without your comment I wouldn't have detected the sarcasm, I was aghast
Re:Ask HN: Dark mode for HN please? by majewsky on Saturday May 16, 2020 @11:21AM (#23204107)
Oh please, React is so yesteryear. With WebAssembly, we can rewrite the HN frontend in Rust! \o/
Re:Ask HN: Dark mode for HN please? by mmsimanga on Saturday May 16, 2020 @09:54AM (#23203382)
I think you are jumping the gun. First we need a scrum master and product owner to make this Agile.
Re:Ask HN: Dark mode for HN please? by badrabbit on Friday May 15, 2020 @10:42PM (#23200027)
Let's rewrite this thing in C and compile it to webassembly!
Re:Ask HN: Dark mode for HN please? by badrabbit on Saturday May 16, 2020 @02:46AM (#23201035)
This was sarcasm.sorry.
Re:Ask HN: Dark mode for HN please? by tsukurimashou on Saturday May 16, 2020 @05:29AM (#23201897)
don't forget to create an electron app for it
Re:Ask HN: Dark mode for HN please? by kristopolous on Saturday May 16, 2020 @05:08AM (#23201782)
cool but what will we do for next month?
Re:Ask HN: Dark mode for HN please? by bergstromm466 on Friday May 15, 2020 @11:13PM (#23200170)
I think it should be Vue, what with the patents-clause with React and everything
Re:Ask HN: Dark mode for HN please? by panorama on Friday May 15, 2020 @10:22PM (#23199916)
Hah, HN's load speed actually makes it my go-to bookmark to test if everything is working okay. Internet connectivity lagging? Check HN. My own web app loading slowly? Check HN.
Re:Ask HN: Dark mode for HN please? by iscrewyou on Friday May 15, 2020 @09:09PM (#23199470)
I’m on land in a well populated city relatively near the Bay Area and I get about half a bar on my phone. So yes! Please don’t screw this up! Because not only I like reading HN but also because it’s the only thing I can do on my phone now and it’s really helping me kick all the bad habits of being on my phone!

Thanks!

Re:Ask HN: Dark mode for HN please? by pwdisswordfish2 on Saturday May 16, 2020 @12:36AM (#23200523)
"No fancy fonts, no javascript, no nothing."

Truthfully, there is some Javascript. For example, onclick(). Voting without Javascript requires some extra effort.

Re:Ask HN: Dark mode for HN please? by alpaca128 on Saturday May 16, 2020 @04:19AM (#23201470)
True, but doesn't this even save bandwidth because it doesn't need to reload the whole page just to update that detail? Either way it still works without JS, which can't be said about most modern websites.
Re:Ask HN: Dark mode for HN please? by pwdisswordfish2 on Saturday May 16, 2020 @05:30AM (#23201909)
"... which can't be said about most modern websites."

While I understand and agree with your point, I have personally found this quoted portion to be a false assumption.

To me, "works" means I can retrieve the content of the page without using JS. If the websites we are discussing are ones where the primary purpose is reading, like HN, most will "work" for me without JS, so long as I do not rely on try using a "modern browser" to retrieve the content. In fact, I cannot even think of a single website meant for reading that I cannot read without a Javascript-enabled browser.

Re:Ask HN: Dark mode for HN please? by agustif on Saturday May 16, 2020 @06:11AM (#23202161)
Any newspaper website with a paywall or cookiewall or anti-adblock thingy maybe?

That's not much readable without some trickery

Re:Ask HN: Dark mode for HN please? by pwdisswordfish2 on Saturday May 16, 2020 @07:43AM (#23202626)
Not trickery, just avoid using "modern browser" to make the HTTP request.

Name any newspaper website you think is "not much readable" without Javascript or cookies and I can prove that is a false assumption.

Re:Ask HN: Dark mode for HN please? by im3w1l on Saturday May 16, 2020 @05:52AM (#23202038)
> without some extra effort

Thanks for the riddle! I guess you could use iframes?

Edit: Ohhh and you could use data-urls as iframe src, so as not to make a large number of requests.

Re:Ask HN: Dark mode for HN please? by noisem4ker on Saturday May 16, 2020 @05:37AM (#23201950)
This is JavaScript done right and worth keeping enabled.
Re:Ask HN: Dark mode for HN please? by mattigames on Friday May 15, 2020 @11:50PM (#23200343)
I think you guys overreact a bit, your reply alone occupies more bytes than the CSS needed to implement dark mode; it wouldn't affect anything related to scrolling with space-bar, or fonts, or JS functionality.
Re:Ask HN: Dark mode for HN please? by sixstringtheory on Saturday May 16, 2020 @03:25AM (#23201195)
True, serving it to you was negligible, but that little extra being served millions of times, once for every request, in aggregate slows down servers, eats up peoples’ data, raises costs and generally quickens the heat death of the universe.
Re:Ask HN: Dark mode for HN please? by hoten on Saturday May 16, 2020 @03:43AM (#23201281)
It's a KB of css, if that, probably much less. Cached, in a stylesheet request, not a style element. It's nothing. It amortized, not more data for every request. It's nothing.
Re:Ask HN: Dark mode for HN please? by Thiez on Saturday May 16, 2020 @04:29AM (#23201519)
The css doesn't need to be inlined in the page, so unless you disable caching it's not served for every request at all.
Re:Ask HN: Dark mode for HN please? by geerlingguy on Friday May 15, 2020 @10:04PM (#23199817)
Ha, remember the first time they tried a mobile layout? That was quickly yanked (to much rejoicing). If the dark mode has some issues, we can always go back and try again. The main thing I care about is making sure it's still easy to read (good contrast).
Re:Ask HN: Dark mode for HN please? by dkmar on Saturday May 16, 2020 @01:45AM (#23200796)
> actually deploys new reddit design on HN like a boss
Re:Ask HN: Dark mode for HN please? by djjsjdjsjsjs on Friday May 15, 2020 @10:33PM (#23199981)
If they screw it up then I'll personally host some service that scrapes all the text and only dumps a few kbs to you :)
Re:Ask HN: Dark mode for HN please? by thanksforfish on Saturday May 16, 2020 @02:14AM (#23200894)
Honestly theres a lot of other sites that would benefit from that too. A well written and maintained scraper for a bunch of popular sites may be worth a subscription for some bandwidth limited people.
Re:Ask HN: Dark mode for HN please? by 0x38B on Saturday May 16, 2020 @06:00AM (#23202086)
I've thought about this, too; some of my favorite sites are forums that are a pain to use on mobile (e.g. RuTracker).

Seems like a fun project, so I may start planning it when I have time.

Re:Ask HN: Dark mode for HN please? by williamdclt on Saturday May 16, 2020 @09:29AM (#23203217)
Be careful with that: it very probably goes against all sorts of TOS and can get you in trouble
Re:Ask HN: Dark mode for HN please? by cddotdotslash on Saturday May 16, 2020 @09:57AM (#23203415)
A court recently ruled [1] that LinkedIn had to allow scraping, but it has to be public data (i.e. you can't log into your Facebook account and then scrape all your friends' pages).

[1] https://www.eff.org/deeplinks/2019/09/victory-ruling-hiq-v-l...

Re:Ask HN: Dark mode for HN please? by williamdclt on Sunday May 17, 2020 @08:35AM (#23211524)
It's not the scraping itself that I would be worried about, it's using this data to create what could be seen as a competitor (especially if you make it commercial). For a lot of these websites, traffic is essentially money: diverting users to another website using their own content would be very badly received
Re:Ask HN: Dark mode for HN please? by 0x38B on Sunday May 17, 2020 @06:14AM (#23210971)
Thanks for the heads up.

I was more thinking about a local web-app that consumes the site and then outputs it in a nice mobile layout, without actually archiving or saving anything.

Re:Ask HN: Dark mode for HN please? by ochoseis on Friday May 15, 2020 @09:45PM (#23199715)
For the sake of simplicity, could we just serve up a subdomain darknews.ycombinator.com, same content, just different stylesheet?
Re:Ask HN: Dark mode for HN please? by pjscott on Friday May 15, 2020 @10:10PM (#23199855)
When you click on a link to the news.ycombinator.com domain, what should happen if you prefer dark mode? And vice versa?

In comparison, the pure-CSS ideas that some people are posting would work automatically if your browser supports dark mode, and would enlarge the (cached with long ttl) CSS file only very slightly.

Re:Ask HN: Dark mode for HN please? by DenseComet on Saturday May 16, 2020 @12:39AM (#23200533)
Unfortunately, there are some of us who also like the solarized type light mode in HN more than dark mode, but we use dark mode at the system level because the OS light mode is awful.

Pure CSS would be quite cool, but we'd probably also need a snippet of JS to add a button allowing to switch between light and dark mode. (There's probably a way to do it without JS that someone will hopefully comment too.)

Re:Ask HN: Dark mode for HN please? by noisem4ker on Saturday May 16, 2020 @05:42AM (#23201982)
They could put a preference in the profile page. But I think that switching the theme would be the browser's job.
Re:Ask HN: Dark mode for HN please? by dharmab on Monday May 18, 2020 @10:30AM (#23222729)
By using CSS variables, only a few lines of JS are needed- small enough that they can be inlined in the HTML.
Re:Ask HN: Dark mode for HN please? by IAmGraydon on Friday May 15, 2020 @10:30PM (#23199970)
I don’t think you’ve properly considered what a terrible idea this is.
Re:Ask HN: Dark mode for HN please? by djjsjdjsjsjs on Friday May 15, 2020 @10:36PM (#23199993)
Please explain as I am curious
Re:Ask HN: Dark mode for HN please? by dharmab on Friday May 15, 2020 @11:04PM (#23200123)
Adding dark mode CSS adds a few hundred bytes, maybe a couple kb at most to the site.

A separate subdomain:

- Requires separate TLS certificates to be maintained.

- Doesn't play nice with caching.

- Doesn't play nice with password managers.

- Doesn't work with any existing links. Users would have to manually add the `dark` prefix.

- Is generally a bad user experience.

Re:Ask HN: Dark mode for HN please? by deadbunny on Saturday May 16, 2020 @06:58AM (#23202400)
While I agree with most of your points, I disagree with

> Doesn't play nice with password managers.

Check your password manager settings. Most have options to match on domain, subdomain, port or have the ability to set equivalent domains either globally or per credential.

Re:Ask HN: Dark mode for HN please? by PenguinCoder on Friday May 15, 2020 @09:58PM (#23199787)
That's not simple at all..
Re:Ask HN: Dark mode for HN please? by majewsky on Saturday May 16, 2020 @11:23AM (#23204124)
Tagline: "Come to the dark site."
Re:Ask HN: Dark mode for HN please? by globular-toast on Saturday May 16, 2020 @09:53AM (#23203374)
How can you keep up with the news when HN only records the headlines and the articles are stored elsewhere, usually on extremely heavyweight news sites?
Re:Ask HN: Dark mode for HN please? by balladeer on Saturday May 16, 2020 @04:32AM (#23201552)
It'd be like iOS giving us emojis back then when it instead needed innovation. Having said that HN can use some formatting.
Re:Ask HN: Dark mode for HN please? by mud_dauber on Friday May 15, 2020 @10:48PM (#23200050)
Seconded. I'm using a cellular hotspot due to lack of HS options, even here in the outskirts of Austin. KISS.
Re:Ask HN: Dark mode for HN please? by m-p-3 on Saturday May 16, 2020 @10:29AM (#23203631)
It even loads fast on my eReader web browser, which is quite rare these days.
Re:Ask HN: Dark mode for HN please? by aaomidi on Friday May 15, 2020 @09:00PM (#23199413)
Completely agree with you