Comment by jimmyswimmy
5 years ago
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.
I'm on board with ceasing and desisting from screwing it up.
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.
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.
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!
4 replies →
Couldn't agree more.
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!
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
7 replies →
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.
3 replies →
I flipped a flag in chrome for mobile. HN Looks very good (The reply button is white on grey)
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.
Really? How much karma do you need for that? This is my first time hearing about this.
2 replies →
What browser support do you expect?
https://caniuse.com/#search=css%20variables
https://stackoverflow.com/questions/44271920/css-variables-w...
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)
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
Sadly few browsers support extensions on mobile, which is possibly where dark mode is most useful.
5 replies →
People can edit HN CSS with extensions. There is actually an extension that inject CSS into websites. So you can do that.
Such extensions do not work everywhere.
2 replies →
I screw up ceasing and desisting all the time :-(
Q.E.D
Indeed, HN is one of the few sites that works well in Antarctica.
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.
Blockchain. No one said blockchain yet. We have to blockchain it. Blockchain it with cryptos.
Also, if there's any way to incorporate machine learning algorithms into it, please try to find a way to do that.
11 replies →
I think this is now my highest voted comment on HN.
I don't know how to feel about that.
I agree. Currently HN pages load instantly which in these days can be disconcerting.
And weights sooo little. It should have at least 10MB js framework bundle as my fiber link is bored.
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?
We should probably redeploy it on Kubernetes so the backend can scale, one c5.xlarge instance per session to keep up with the requests.
Well done... I nearly downvoted you from the rage I felt before realising it was sarcasm...
without your comment I wouldn't have detected the sarcasm, I was aghast
1 reply →
Oh please, React is so yesteryear. With WebAssembly, we can rewrite the HN frontend in Rust! \o/
I think you are jumping the gun. First we need a scrum master and product owner to make this Agile.
Let's rewrite this thing in C and compile it to webassembly!
This was sarcasm.sorry.
don't forget to create an electron app for it
cool but what will we do for next month?
I think it should be Vue, what with the patents-clause with React and everything
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.
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!
"No fancy fonts, no javascript, no nothing."
Truthfully, there is some Javascript. For example, onclick(). Voting without Javascript requires some extra effort.
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.
"... 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.
2 replies →
> 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.
This is JavaScript done right and worth keeping enabled.
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.
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.
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.
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.
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).
> actually deploys new reddit design on HN like a boss
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 :)
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.
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.
4 replies →
For the sake of simplicity, could we just serve up a subdomain darknews.ycombinator.com, same content, just different stylesheet?
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.
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.)
2 replies →
I don’t think you’ve properly considered what a terrible idea this is.
Please explain as I am curious
2 replies →
That's not simple at all..
Tagline: "Come to the dark site."
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?
It'd be like iOS giving us emojis back then when it instead needed innovation. Having said that HN can use some formatting.
Seconded. I'm using a cellular hotspot due to lack of HS options, even here in the outskirts of Austin. KISS.
It even loads fast on my eReader web browser, which is quite rare these days.
Completely agree with you