4 ms·
Wouldn't it make more sense to directly link to the line in the title? https://github.com/WebKit/WebKit/blob/ab10a90523e06df54bbb8a98e1aed913f79d0af9/Source/Ja
by traes 3y ago
Wouldn't it make more sense to directly link to the line in the title?
https://github.com/WebKit/WebKit/blob/ab10a90523e06df54bbb8a98e1aed913f79d0af9/Source/JavaScriptCore/runtime/JSArrayBufferView.cpp#L269 https://github.com/WebKit/WebKit/blob/ab10a90523e06df54bbb8a...
- mrpf1ster 3y agoI believe permalinks are removed when submitting
- lucb1e 3y ago(Note that this is not called a permalink but a fragment identifier https://www.w3.org/Addressing/URL/4_2_Fragments.html https://www.w3.org/Addressing/URL/4_2_Fragments.html or, more memorably, the hash part of the URL https://developer.mozilla.org/en-US/docs/Web/API/URL/hash https://developer.mozilla.org/en-US/docs/Web/API/URL/hash. Permalinks can be entirely different URLs, like a DOI link that is on a different domain and protocol altogether, but that will keep referring to this content https://en.wikipedia.org/wiki/Permalink https://en.wikipedia.org/wiki/Permalink)
- ryanisnan 3y agoThanks! I referred to them as anchors.
- wiml 3y agoI think pedantically anchors are the markers in the document, and the URL fragments refer to the anchors to tell the browser to scroll there. If I'm wrong, someone will be along to correct me...
- mrpf1ster 3y agoAh I was referring to the github specific terminology when sharing a link to a line inside a code file.
- dang 3y agoOk, I've put it (back?) in there.
- Red_Tarsius 3y agoHi dang. Sorry to ask you here but I wasn't sure how to get in touch with the staff. Have you had the chance to review the email I sent to hn@ycombinator.com? I know you're very busy so I don't mean to rush you. I just want to make sure the spam filter didn't get it first hahaha