HackerTrans
TopNewTrendsCommentsPastAskShowJobs

PropagandaDude

no profile record

comments

PropagandaDude
·6 месяцев назад·discuss
Now I have an explanation for my mental model gap.

As you can see, you don't need to use any special type of characters to mark a URL as such. The tricky part comes when somebody wants to insert a URL with a description text.

I view this as broken. I'm not inserting a URL with description text. I'm inserting text that happens to also point to something else.

Text-followed-by the URL, consistent with text-followed-by a footnote indicator.
PropagandaDude
·6 месяцев назад·discuss
> It's commonly used for other actions or more often getting clicked by accident, and dumping your entire clipboard while having no indication that this will happen is nothing short of a dumpster fire.

> gsettings set org.gnome.desktop.interface gtk-enable-primary-paste true

Tell me you don't understand X11 without telling me you don't understand X11.

PRIMARY is "the thing you selected" for an operation.

SECONDARY is "the other thing you selected", for an operation that takes two args.

CLIPBOARD is the interprocess data transfer mechanism.

This is why Firefox has the https://kb.mozillazine.org/Clipboard.autocopy flag. Select text in a page, and move it automatically to the interprocess space.

X11 systems have been plastering over the distinction forever.
PropagandaDude
·8 месяцев назад·discuss
Would the Guile maintainers be open to putting that final summation into "6.6.22 Hash Tables", in the Guile reference manual?
PropagandaDude
·9 месяцев назад·discuss
> Maybe that doesn’t seem strange. It’s just how we’re used to functions working. Ah, those steeped in functional programming might say, but maybe this is the wrong way to look at it. Because if we curry functions and use partial application, we can say that they always have one argument and return one value, and then they are symmetric.

Ah, those steeped in functional programming might say, but maybe this is the wrong way to look at it. Because if we represent the represent the functions with explicit continuations, we can say that they have N arguments and pass N arguments to their continuations, and then they are symmetric.

It seems like this has fertile overlap with Scheme and the (concurrent computatation) Actor model.

Of course, I can imagine the Execution control library authors know full well about those, with existing C++ goals and designs making that a bridge too far.