Please tell us what features you'd like in news.ycombinator
531–540 of 1001 posts
Re: Please tell us what features you'd like in news.ycombinator
#532Re: Please tell us what features you'd like in news.ycombinator
#533Re: Please tell us what features you'd like in news.ycombinator
#534For example, the following link: http://en.wikipedia.org/wiki/Somebody_Elses_Problem.
It's supposed to have an apostrophe in the word "Else's", that's how it is when it's first written. But HN removes the apostrophe.
Re: Please tell us what features you'd like in news.ycombinator
#535 http://news.ycombinator.com/item?id=363&user=pg
This would give you some signification a comment was from pg; either a highlight or a box?Re: Please tell us what features you'd like in news.ycombinator
#536Re: Please tell us what features you'd like in news.ycombinator
#537The URL truncator will append three periods (not a &helip; character) to the end of a URL. In some cases (say for a URL of 62 characters), the last character will be removed and replaced with three periods. This increases the total size of the URL text to 64 characters.
The algorithm appears to be
def truncate(word, postfix = '...')
if ((word + postfix).length > 64)
word = word[0, 64 - postfix.length] + postfix
end
word
end
There doesn't seem to be a need to add the postfix length to the check. This should suffice: def truncate(word, postfix = '…')
if (word.length > 64)
word = word[0, 64 - postfix.length] + postfix
end
word
endRe: Please tell us what features you'd like in news.ycombinator
#538Re: Please tell us what features you'd like in news.ycombinator
#5391. whether or not the page has already been submitted to HN
2. how many comments, if any, have been made in HN discussion about the page
My preference would be for a way to add that information to the page dynamically when the page is first loaded, on the server side, so that no client-side scripting (i.e. JavaScript) is necessary. If for some reason it is decided that it must be done with JavaScript, though -- well, I guess beggars can't be choosers, as they say.
As far as I'm aware, no reasonable way of doing this exists right now (short of something complex like automatically searching HN and screen-scraping). I'd really appreciate an API for this kind of thing being added to HN (and reasonably well-documented) so that I can make use of it on a site written in Ruby (not Rails, mind you).
Re: Please tell us what features you'd like in news.ycombinator
#540 If interested in updating your community features and overall style so more appealing and user friendly, please let me know. I would like to bid on the project and share my ideas.
Lark