by leephillips · 3y ago · 0 comments
But the links in this article, the ones generated by a script, are worse than useless. Meaning, they’re a waste of time that makes the text worse.
First of all, they are set to open a new tab. Rude. Second of all, a link to a wikipedia page for a term, for example, is just stupid noise. If I want to know what wikipedia has plagiarized about a certain topic I can go there and look it up.
Links are not an afterthought, something that can be usefully tacked on to the finished text. Each link should be genuinely helpful, or back up an assertion. Ideally, each one should be non-obvious.
- links aren’t dead: they’re vitally important. Links lend authority. [...] Don’t link to stuff you don’t trust, SEO or otherwise.
- Linkoln normalizes the post, replacing each wikilink with the best corresponding hyperlink it could find on the web, using Google
To that end, I keep a list of every interesting thing that I read. I plan to index that list, and make it searchable. Reliance on a search engine is a stop-gap to keep scope sensible at this point. There's nothing stopping other people from taking this idea and running with it.
Given your personal involvement in this area, I understand your apprehension. Like you, I want to see a denser, more interesting web. But without tools to overcome the static friction of linking things together, I don't think we'll see density and utility of links increase any more than it already has. That's what I hoped to highlight in this piece.
Like most HN readers, I've written my own content/information management system, and this makes keeping track of sources and inserting/formatting links much easier. Almost a pleasure, in fact. But there are plenty of open-source and other products out there designed to help with this task.
Could you elaborate a bit on your workflow that makes it almost enjoyable? My personal workflow can always use an upgrade and I'd love to hear what works for you!
Next I have bibliographic information on every source that I use stored in a postgres database. I have a collection of scripts (in lua, python, bash, ...) so I can do what I want within the editor: supply a URL and have some information scraped from the page and stored in a note, one file per resource, with bibliographic information in YAML blocks and anything else that I want to add. Another script stores the important information from the YAML blocks into the database. I have a script that builds a bibtex file from the citeproc links in my document, for formatting bibliographies in the final version. I can generate HTML, PDF, DOCX, or plain text from the same source.
The pleasure comes from having a set of keyboard shortcuts that let me jump instantly from a citeproc tag to my notes file, a local copy of the resource, or the copy on the web; also to search for notes with keywords, and a few more things. I can select part of my text and hit two keys to transform it into plain text or HTML with properly formatted links and references.
For each notes file corresponding to a resource another keyboard shortcut brings up the list of articles referring to it, and I have a script to draw a graphviz graph of this reference network.
I’ve built this up over the years; it’s a mess and no one else should use it. Maybe I’ll clean it up some day. It’s really paying off now for me though: I’m writing a book with about 50 references for each chapter; it would be unmanageable without some kind of system.
I know that there’s Zotero and other systems out there. But I prefer that this work in the peculiar way that I like; these systems tend to become brain extensions and are somewhat personal.
You could do that, or you could use one of the reference managers that already exist and do this for you. At the very least, try out a few and see what features they offer. If none of them work for you out-of-the-box, perhaps try out what extensions and customizations exist, or create your own. EndNote, Mendeley and Zotero are popular. EasyBib.com and RefWorks also come to mind. Most of these work with browsers and website to make adding and cataloging references easy.
Forcing to open on a new tab breaks conventional behaviour, it should be left as the user's decision (either explicit every time, or a setting in their browser. This setting already exists btw, if you like more tabs you can enable it in your browser).
(Maybe a case could be made if the website is actually an application and there would be data loss if not for the new tab, but I would argue design your application so as data loss is not possible in that case)
---
As for myself, the browsing history is something very useful to have, I like keeping the amount of tabs down to near one per activity, so I regularly use the history to go back to what I was reading before. Forcing new tabs means I have to reach for more advanced tools like tab trees, which are often not worth the cognitive effort.
This debate raged in the early days of the web: what is the better practice? A consensus emerged among web designers that leaving it to the reader makes more sense. I’m proud that I convinced J. Zeldman that his early practice of using `target='_blank'` hurt the user’s navigation, and so played a minuscule part in nudging designers in general away from this.
I.e. A lot of the time, links are actually various DOM elements that have onclick handlers and various JS-fuckery meant to obfuscate true behavior from the user and make it more difficult for the user to control the browser. Worse still, how about the user-hostile behavior of browsers that now allow JS to takeover and disable right-click, select and copy functions.
Someone defended SPAs by pointing out that frameworks like React use Javascript and browser APIs to fake paths and history, and another noted that reimplementing basic browser functionality was madness.
But if the link is hardcoded as a new tab, the user has no choice. There's no way to open a new-tab link in the same tab. :( Not to mention that there's generally zero indication it's a new-tab link anyways, so not only does it take away choice, but it does so non-predictably. Ugh.
Personally I have set `browser.link.open_newwindow = 1` in Firefox to force all links to open in the same tab, then I can middle-click to open in a new tab. This way I can do what I want without worrying about what the website author thinks I wanted.
It does have some downsides though. Some sites don't use <a> tags but instead <div> with JS to open the link, then you can't choose to open in a new tab (on the other hand they can't force you to open a new tab so it is sort of even on average). Some sites break because they are trying to launch a new window that communicates with the parent. But overall I think it is a big improvement to the web.
Firstly, when mousing over a link which will open in a new tab, show a different pointer. I get a hand with the index finger extended when hovering over a normal link; it could be that but with a diagonal arrow, like the common "open in new window" badge, for a link which opens in a new tab.
Secondly, in the context menu for a link which will open in a new tab, replace the "open link in new tab" option with "open link in this tab".
As long as links are real links, and not JavaScript devilry, this would 85% fix it for me.
I sometimes link to the Wikipedia article when there are many things by a certain term, or when I'm using terminology that doesn't show up in search results (but is common in colloquial use). Should I do this a different way?