@screwlisp is having some site connectivity problems so asked me to remind everyone that we'll be on the anonradio forum at the top of the hour (a bit less than ten minutes hence) for those who like that kind of thing:
-
@wrog @cdegroot @ramin_hal9001 @kentpitman @dougmerritt @screwlisp unforch mastodon.el hasn't yet implemented chaining of new toots. if someone wants to add it though, by all means. (the issue has been raised before, but as usual no one was willing to get their hands dirty.)
@mousebot
So sorry for the mistake T_T
@wrog @cdegroot @ramin_hal9001 @kentpitman @dougmerritt -
@mousebot
So sorry for the mistake T_T
@wrog @cdegroot @ramin_hal9001 @kentpitman @dougmerritt@screwlisp
Seems like the universe is calling on you to fix it! -
@kentpitman @dougmerritt @ramin_hal9001 @screwlisp @cdegroot
> I also recall '~' being an important character
ok, I seem to be out-to-lunch on this
(or at least, remembering Something Else; but I can't imagine what...):https://www.ibiblio.org/pub/academic/computer-science/history/pdp-11/teco/emacs11/emacs11.tec
(admittedly, this is VAX/PDP-11 TECO source for Emacs and maybe Fred had to do a complete rewrite of some sort and the actual TOPS20/PDP-10 source is completely different -- given that there *is* significant dependence on wordsize and other architectural issues, it would have to be *somewhat* different -- but I'd still expect a lot of common code [unless there were copyright issues]).
It *does* definitely look like line noise, though.
"I do recall Emacs ^S and ^Q being problematic due to terminal mode occasionally getting set badly (and then the underlying hardware would wake up, "Oh, flow control! I know how to do that!", ^S would freeze everything and you had to Just Know to do ^Q...)"
@wrog@mastodon.murkworks.net this is still a problem in modern terminal emulators. On my Linux Mint installation the all of the terminal emulator software emulates the DEC VT-220 hardware pretty closely, so it does actually send the ASCII
DC1andDC3characters forC-sandC-q, and the virtual TTY device responds accordingly by blocking all further characters except forDC1andDC3. You have to execute the commandstty -ixonto disable soft flow control for a given TTY device after it has been initialized by the operating system. I think there is a way configure the pseudoterminal manager system control to create virtual TTY devices that ignoreDC1andDC3characters, but I don't know how, and for whatever reason (probably for backward compatibility with older Unix systems) Debian-based Linux doesn't configure it this way by default.@kentpitman@climatejustice.social @dougmerritt@mathstodon.xyz @screwlisp@gamerplus.org @cdegroot@mstdn.ca
-
@screwlisp
Seems like the universe is calling on you to fix it!With some apologies to legends:
(defun chained-toot
(lim str)
(let ((space (- lim 8))
(End (length str))
(span (+ 1 (ceiling (/ (length str) (- lim 8))))))
(cl-loop
for idx from 1 to span
for start from 0 by space
for end from space by space
for piece = (cl-subseq str start (min end End))
for addy = (format "%s\n%d/%d" piece idx span)
collect addy)))@dougmerritt @mousebot @wrog @cdegroot @ramin_hal9001 @kentpitman
#elisp -
With some apologies to legends:
(defun chained-toot
(lim str)
(let ((space (- lim 8))
(End (length str))
(span (+ 1 (ceiling (/ (length str) (- lim 8))))))
(cl-loop
for idx from 1 to span
for start from 0 by space
for end from space by space
for piece = (cl-subseq str start (min end End))
for addy = (format "%s\n%d/%d" piece idx span)
collect addy)))@dougmerritt @mousebot @wrog @cdegroot @ramin_hal9001 @kentpitman
#elisp@screwlisp
You forgot to change 'space' in a complex inscrutable way at each step. -
@screwlisp
You forgot to change 'space' in a complex inscrutable way at each step.@dougmerritt
I thought about it, but what if the chain of toots are all non-whitespace-characters anyway. So I decided not to try. Now, cooking in heuristically "proper" justification anyway, you say... But that way madness lies.
@mousebot @wrog @cdegroot @ramin_hal9001 @kentpitman -
@dougmerritt
I thought about it, but what if the chain of toots are all non-whitespace-characters anyway. So I decided not to try. Now, cooking in heuristically "proper" justification anyway, you say... But that way madness lies.
@mousebot @wrog @cdegroot @ramin_hal9001 @kentpitman -
@dougmerritt
No I began working on it when you said using :from-end and :test-not with search, but I have been frustrated by elisp not actually being common lisp. Also I did not have ielm installed, and it seems like ielm is not in melpa.
@mousebot @wrog @cdegroot @ramin_hal9001 @kentpitman -
@dougmerritt
No I began working on it when you said using :from-end and :test-not with search, but I have been frustrated by elisp not actually being common lisp. Also I did not have ielm installed, and it seems like ielm is not in melpa.
@mousebot @wrog @cdegroot @ramin_hal9001 @kentpitman@screwlisp
> frustrated by elisp not actually being common lispOh right.
Well, I'm just kibitzing to give you a hard time, so just ignore me, carry on.
-
@screwlisp
> frustrated by elisp not actually being common lispOh right.
Well, I'm just kibitzing to give you a hard time, so just ignore me, carry on.
@dougmerritt
Also I was just confused, of course M-x ielm enters ielm -
@dougmerritt
I thought about it, but what if the chain of toots are all non-whitespace-characters anyway. So I decided not to try. Now, cooking in heuristically "proper" justification anyway, you say... But that way madness lies.
@mousebot @wrog @cdegroot @ramin_hal9001 @kentpitman@screwlisp @dougmerritt @mousebot @cdegroot @ramin_hal9001 @kentpitman
figuring out how to split up a toot is solving the wrong problem. In my cases I *know* how I want to split it up.
what I want is the ability to create a sequence of posts, edit them all in place, shuffle text around + attach media and polls wherever I want, get them all looking right,
and then send them all in one fell swoop.
I think the key concept is being able to compose a reply to a draft.
i.e., In-Reply-To is a buffer rather than a URL
Posting the reply automatically posts the In-Reply-To **first**. And likewise for longer chains.
Make that work in a reasonable way, and everything else follows.
(I'm up to 5000 chars in my draft reply on codeberg...)
-
"I do recall Emacs ^S and ^Q being problematic due to terminal mode occasionally getting set badly (and then the underlying hardware would wake up, "Oh, flow control! I know how to do that!", ^S would freeze everything and you had to Just Know to do ^Q...)"
@wrog@mastodon.murkworks.net this is still a problem in modern terminal emulators. On my Linux Mint installation the all of the terminal emulator software emulates the DEC VT-220 hardware pretty closely, so it does actually send the ASCII
DC1andDC3characters forC-sandC-q, and the virtual TTY device responds accordingly by blocking all further characters except forDC1andDC3. You have to execute the commandstty -ixonto disable soft flow control for a given TTY device after it has been initialized by the operating system. I think there is a way configure the pseudoterminal manager system control to create virtual TTY devices that ignoreDC1andDC3characters, but I don't know how, and for whatever reason (probably for backward compatibility with older Unix systems) Debian-based Linux doesn't configure it this way by default.@kentpitman@climatejustice.social @dougmerritt@mathstodon.xyz @screwlisp@gamerplus.org @cdegroot@mstdn.ca
@ramin_hal9001 @kentpitman @screwlisp @wrog @dougmerritt @cdegroot
I was using ^S/^Q last night to pause some fast-moving `make` output to check to see if the thing that should have gotten built got built. -
@ramin_hal9001 @kentpitman @screwlisp @wrog @dougmerritt @cdegroot
I was using ^S/^Q last night to pause some fast-moving `make` output to check to see if the thing that should have gotten built got built.@ewhac
It comes up far less often in today's windowing environments, but we've got those reflexes as a must from the bad old days, eh? -
@ewhac
It comes up far less often in today's windowing environments, but we've got those reflexes as a must from the bad old days, eh?@dougmerritt@mathstodon.xyz @ewhac@mastodon.social that is a good use for
^S/^Q, although I tend to use^Zfor that instead.And since switching to Emacs and controlling my remote terminals using the TRAMP system, I haven't actually had to think too much about sending control characters directly to a TTY device. I just let Emacs buffer all the output and
C-rsearch through the buffer.@kentpitman@climatejustice.social @screwlisp@gamerplus.org @wrog@mastodon.murkworks.net @cdegroot@mstdn.ca
-
@screwlisp @dougmerritt @mousebot @cdegroot @ramin_hal9001 @kentpitman
figuring out how to split up a toot is solving the wrong problem. In my cases I *know* how I want to split it up.
what I want is the ability to create a sequence of posts, edit them all in place, shuffle text around + attach media and polls wherever I want, get them all looking right,
and then send them all in one fell swoop.
I think the key concept is being able to compose a reply to a draft.
i.e., In-Reply-To is a buffer rather than a URL
Posting the reply automatically posts the In-Reply-To **first**. And likewise for longer chains.
Make that work in a reasonable way, and everything else follows.
(I'm up to 5000 chars in my draft reply on codeberg...)
What I do for that is craft one single long post. Because it's not like there would be a character limit, right? That would be silly.
CC: @screwlisp@gamerplus.org @dougmerritt@mathstodon.xyz @mousebot@todon.nl @cdegroot@mstdn.ca @ramin_hal9001@fe.disroot.org @kentpitman@climatejustice.social -
@screwlisp is having some site connectivity problems so asked me to remind everyone that we'll be on the anonradio forum at the top of the hour (a bit less than ten minutes hence) for those who like that kind of thing:
https://anonradio.net:8443/anonradio
He'll also be monitoring LambdaMOO at "telnet lambda.moo.mud.org 8888" for those who do that kind of thing. there are also emacs clients you should get if you're REALLY using telnet.
Topic for today, I'm told, may include the climate, the war, the oil price hikes, some rambles I've recently posted on CLIM, and the book by @cdegroot called The Genius of Lisp, which we'll also revisit again next week.
@kentpitman @screwlisp @cdegroot @ramin_hal9001 I feel so old just for knowing what a MOO is. Awesome.
-
What I do for that is craft one single long post. Because it's not like there would be a character limit, right? That would be silly.
CC: @screwlisp@gamerplus.org @dougmerritt@mathstodon.xyz @mousebot@todon.nl @cdegroot@mstdn.ca @ramin_hal9001@fe.disroot.org @kentpitman@climatejustice.social@cy
Presumably you're joking. But different of us suffer different character limits. My server, Mathstodon.xyz, has a limit of 1729 characters -- but for most servers it's significantly less.And some may be larger. Yours, perhaps. But that doesn't help others.
@screwlisp @mousebot @cdegroot @ramin_hal9001 @kentpitman @wrog
-
@cy
Presumably you're joking. But different of us suffer different character limits. My server, Mathstodon.xyz, has a limit of 1729 characters -- but for most servers it's significantly less.And some may be larger. Yours, perhaps. But that doesn't help others.
@screwlisp @mousebot @cdegroot @ramin_hal9001 @kentpitman @wrog
I'm joking, yes. And also criticizing those servers. But honestly, I don't like writing super long posts. I feel like I'm ignoring people and not letting them get in a word edgewise. When I consider ranting about something in long form, I try to write a little bit at a time, and give people a chance to respond before writing more. Make it a conversation instead of an essay.
Or sometimes if I just don't care I'll splurg it all out and hope that nobody bothers reading that shit.
CC: @screwlisp@gamerplus.org @mousebot@todon.nl @cdegroot@mstdn.ca @ramin_hal9001@fe.disroot.org @kentpitman@climatejustice.social @wrog@mastodon.murkworks.net -
I'm joking, yes. And also criticizing those servers. But honestly, I don't like writing super long posts. I feel like I'm ignoring people and not letting them get in a word edgewise. When I consider ranting about something in long form, I try to write a little bit at a time, and give people a chance to respond before writing more. Make it a conversation instead of an essay.
Or sometimes if I just don't care I'll splurg it all out and hope that nobody bothers reading that shit.
CC: @screwlisp@gamerplus.org @mousebot@todon.nl @cdegroot@mstdn.ca @ramin_hal9001@fe.disroot.org @kentpitman@climatejustice.social @wrog@mastodon.murkworks.net@cy
> I feel like I'm ignoring people and not letting them get in a word edgewiseThe world could use more people with that perception! Too many people do that and obviously don't notice they're doing that.
@screwlisp @mousebot @cdegroot @ramin_hal9001 @kentpitman @wrog
-
@kentpitman @screwlisp @cdegroot @ramin_hal9001 I feel so old just for knowing what a MOO is. Awesome.
Geeks under a certain age are impressed by the idea one was messing about in massively multiplayer worlds in the 1980s. It was early!
I ran into TinyMUD first, and via TinyMUCK their Forth-based MUD language, MUF. Something about programming in MUDs lent itself to thinking in objects though and thinking about the things I wished I could do I (later realized I) started reverse-engineering object-oriented coding.
(I'd had earlier encounters w LISP, so at some point I realized what I was doing.)