4 ms·
The submitter can go back and correct this by clicking "edit". The software changes capitalization only on the initial submission, not subsequent edits. (Over
by dpifke 4y ago
The submitter can go back and correct this by clicking "edit". The software changes capitalization only on the initial submission, not subsequent edits.
(Overall, I actually like this feature. You WOULDN'T BELIEVE the CRAZY Headlines We'd See Otherwise!)
- cornstalks 4y agoEven if they do that others usually change it back. Or at least that’s what I’ve observed on other threads.
- hackmiester 4y agoThanks for the tip!
- Dylan16807 4y agoDo you have an example that involves adding capitals? Also I can't even remember the last time I saw a real article with all caps words in the title (on the original page), let alone one linked on HN.
- dpifke 4y ago"Otherwise" was the operative word in my (slightly sarcastic) example. :) Avoiding all caps for emphasis means you sometimes have to change "Faa" back to "FAA" after submitting a story about the Federal Aviation Administration. And avoiding grammatically-incorrect or all-lowercase headlines means you sometimes have to change "Strcmp()" back to "strcmp()". HN's software is no longer open source, but at one time, this is how it processed titles on initial submission: https://github.com/wting/hackernews/blob/master/news.arc#L1539 https://github.com/wting/hackernews/blob/master/news.arc#L15... (This function does add capitals as well as remove them.)
- Dylan16807 4y ago> "Otherwise" was the operative word in my (slightly sarcastic) example. :) I know. I don't think you understood what I meant. I'm saying "What otherwise? If you removed that code, I still don't think those headlines would show up." But removing caps is easier to justify, so I'm also asking why, even if we decide we need caps-removing code, we would also need the code to add caps.
- dpifke 4y ago> I'm saying "What otherwise? If you removed that code, I still don't think those headlines would show up." You have more faith in the average HN submitter than I do. :)
- Dylan16807 4y agoAre we assuming these submitters are changing the headlines? Because I was focusing on articles that have headlines with all-caps words in them on the original site, and I can't think of any I've seen on HN.