Tell HN: Thank you for not redesigning Hacker News
371–380 of 398 posts
Re: Tell HN: Thank you for not redesigning Hacker News
#372Earlier quoted context omitted.
How could it possibly be considered a good thing? I've seen dang say before that they've been running into performance issues, and I bet that they'd see a significant drop in resource usage solely by not generating entire comments pages just to throw them away every time anyone votes on a comment. The response is literally not used at all, they're doing that work and sending that data for no reason. There are multipl…
It's implemented this way for balance of a simple implementation and how lightweight it is. Not to mention, there is at least one benefit: the voting mechanism doesn't depend on JavaScript. And if you are not authenticated, you are instead taken to a login page. Logging in then gives you the redirect and the upvote is registered.
Re: Tell HN: Thank you for not redesigning Hacker News
#373I like https://text.npr.org/ for this as well.
Re: Tell HN: Thank you for not redesigning Hacker News
#374I wish they would update the line-height to something more reasonable. ~1.5x font size would be go a long way in paragraph readability. Other than that, it's fast and stable. About all I require from a forum. Edit: All my lovely responders, I appreciate the feedback, but I don't want to install addons/mods/hacks to fix line-height.
Another awesome thing about simple sites like this is you can hack the CSS really easily with something like Stylus. https://addons.mozilla.org/en-GB/firefox/addon/styl-us/
Re: Tell HN: Thank you for not redesigning Hacker News
#375Earlier quoted context omitted.
Can't frame tags reload independently?
It's still a full page refresh but with a page within a page. Making every comment a separate iframe would make the site very resource intensive on client and server.
As for the rendering engine, a iframe tag per comment is nothing compared to the pile of JS that's normally there on other sites.
Re: Tell HN: Thank you for not redesigning Hacker News
#376Earlier quoted context omitted.
I log in to www.reddit.com, and have the "use new reddit" box unchecked. Anytime I click a link to reddit (including np.reddit links) it honours my preference of avoiding new reddit (checked just now by a quick reddit search on site:reddit.com) So maybe this is a misfeature on old.reddit.com, or you don't have the box unchecked?
As an example: visiting the Ask Historian's wiki in Old, all the links redirect to New. https://old.reddit.com/r/AskHistorians/wiki/index
Not sure if you're saying that setting's not working for you or you're just annoyed that it doesn't explicitly link to https://old.reddit.com../blah/..
1: https://www.reddit.com/r/AskHistorians/comments/b7rums/why_d...
Re: Tell HN: Thank you for not redesigning Hacker News
#377Earlier quoted context omitted.
It's still a full page refresh but with a page within a page. Making every comment a separate iframe would make the site very resource intensive on client and server.
I dont see why it would be resource intensive server side. In fact, it would be less resource intensive, since we avoid a full page reload and instead reload a single comment iframe. As for the rendering engine, a iframe tag per comment is nothing compared to the pile of JS that's normally there on other sites.
On the client, iframe tags are entirely separate browser windows and can use up considerable resources. It's like opening up hundreds of tabs and is far more intensive than running some javascript code which is quickly parsed, compiled and cached in modern JS engines.
Re: Tell HN: Thank you for not redesigning Hacker News
#378Earlier quoted context omitted.
I dont see why it would be resource intensive server side. In fact, it would be less resource intensive, since we avoid a full page reload and instead reload a single comment iframe. As for the rendering engine, a iframe tag per comment is nothing compared to the pile of JS that's normally there on other sites.
Every frame is still a full HTML document that needs to be generated even if it just contains a single comment. This page has 370+ comments which would mean 370+ additional HTTP requests to load them all as standalone HTML pages. That's a massive increase in server load. On the client, iframe tags are entirely separate browser windows and can use up considerable resources. It's like opening up hundreds of tabs and is…
Re: Tell HN: Thank you for not redesigning Hacker News
#379Earlier quoted context omitted.
a {padding: 1rem} This increases area by padding the link. Just don’t want the rap areas of different elements to overlap with too much padding. You can also put a border around the new area, or a box shadow, to indicate larger click area, making it a button sort of: {border: thin solid grey}
Note that the element is inline by default, which means top and bottom padding is not applied. Set display: inline-block; to have padding apply all around while retaining the element’s flow in the layout.