News for hackers. Stuff that matters.

Ask HN

I have noticed that educational institutions (.edu in the US, .ac in the UK) usually have staff pages in the format /~[name]. I don't think I have seen this elsewhere. Is there a reason?
( 3 comments | on HN )
Re:Ask HN by troydavis on Sunday December 15, 2019 @05:40AM (#21795527)
It’s the Unix convention (shell expansion) for a the path to a user’s home directory: https://www.gnu.org/software/libc/manual/html_node/Tilde-Exp...

As a result, many Web servers exposed user-provided Web content using the same path: https://httpd.apache.org/docs/trunk/howto/public_html.html

Universities have continued using that convention, probably because professors have accounts (and thus URLs) for decades.

Re:Ask HN by codedrome on Sunday December 15, 2019 @06:46AM (#21795767)
I thought it might be something like that. Thanks for the explanation.
Re:Ask HN by codedrome on Sunday December 15, 2019 @06:43AM (#21795758)
I included a tilde in the title and it and the text after it disappeared. Strange.