💾 Archived View for midnight.pub › posts › 948 captured on 2023-01-29 at 05:46:16. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-06-03)
➡️ Next capture (2023-03-20)
-=-=-=-=-=-=-
m15o, Midnight mod(s), et al. I love you, and this small web nook and community, I do not want what I am saying to come across as crass or ill-willed, but I have a small(?) but significant feature request for the M.p - some sort of cookie memory text entry....thing. I do not know the proper Web terminology for it, I am a n00b in that regard (in regards to web development), but I just wrote up a 350+ word response to a comment I got on here (quite friendly (and clever?), and well-worded, and a thing I was "happy" to respond with), and then I lost WiFi connection for a brief moment, and then I wasn't able to "Publish"/respond with said comment, and the page went blank, and all was lost in the end.
I've experienced it with blogging before, so no trauma occurred, but I am utterly disappointed (with the thing that happened, itself, of course - but not disappointed with The Midnight, itself, or the patrons here (aka good folks and good platform, really)).
I don't know where/how I would suggest this feature request, so I am doing so in blog form. Hope you're all well :)
A few years ago I wrote a Lua script I called "comp" in honor of the thusly named "mh mail" subcommand.. which opens a vim session... and when you back out of that see a prompt that'll take either a post title, or ctrl-d to exit. Supplying a title appends the post to a accumulator file.
But since the title one composed the post in sticks around, one can open a new browser tab and ctrl-o therein to bring up the file selector to cause the file to appear in that tab, from which one does a ctrl-a to select all, then ctrl-c to copy... then of course ctrl-v to paste into the post/reply creation buffer in Midnight Pub.
Sure, one could also just "less" the file in a terminal, but then we're talking multiple copy/pastes.. and sometimes newlines don't work in the browser form submission buffer the way you'd hope, e.g. you somehow wind up on the paste with either no line breaks... or two when in your vim session it was just one.
(Don't worry... I've never had a problem with hating on graphical browsers.... ;-) )
I wrote an 'all' command to show the entire accumulator file (to find things again)... can't remember if that was based on something else, or.... hmmm.
Anyway, it's a few extra steps than just grinding a post into the form and submitting, but it completely avoids the misery of losing something - and of course Murphy's Law demands that the only content that'll happen to is something one is exceptionally pleased with....
While it's in mind... anyone know of a linux command that somehow puts a file's content in the Chrome copy/paste buffer? I really can't stand having to use the trackpad... and I'm imagining spending too much time trying out web search terms/combinations to finally maybe sorta kinda be directed to useful information....
Back in... too olden times, I used a plain text editor to avoid this issue.
(In fact, I used MS Word... but I don't want to confess that!)
Ohh so sorry to read that tmo >< sometimes there’s a good surprise and the browser “remembers” what was written when we hit the back button. Not always the case though… That’s a good suggestion, I’ll think of ways to address that. Great to have you around!