2021-01-01

Happy New Year! 😄🎉

new: 2021-01-01 14:05 UTCTimurIsmagilov: In Russia, presents are given on New Year, not on Christmas. I’ve received two books:

  • Homo Deus: A Brief History of Tomorrow, gift edition. The book is heavy, the paper is easy to read and flick, the book is colored and is overall quite enjoyable to own (I’m surprised to be delighted by having something). I like it. I’ve already read half of it, quite educating.
  • Babel: Around the World in Twenty Languages. I read Lingo by the same author and remember enjoying it. I expect this one to be as good as Lingo is. Also, I can’t ignore a book that mentions Babel/Babylon with such beautiful cover: jpg

Let’s see what 2021 brings. COVID haven’t really affected me (the fact that I go to school extremely rarely means almost nothing to me in general and the amount I spend with people hasn’t decreased by a huge value, it’s ok).

I don’t do new year resolutions or things like that but I’d like to have 2000 hyphae by the end of year on CyberRachel. I have 1000 for 2020, but it was easier, because half of hyphae are copies of already existing things.

new: 2021-01-02 22:37 UTCLionKimbro:

I look forward to talking here soon! Been busy, but this is very much in my mind, and we just talked a bit about CommunityWiki and the topics here in the Spiritual Quest gathering at StarCommunity this morning. They were asking, “What’s with your recent activity there?”, and I was explaining about how excited I was about the ideas being explored here presently.

Request: Images

new: 2021-01-02 22:37 UTCLionKimbro:

Hey! I have a request!

I was thinking – I use images a LOT.

I mean, a lot A LOT.

When I’m talking in Discord, when I’m talking in Slack, anywhere really – I use images with the same kind of ease and brevity with which I use text.

This all happened because of a wonderful thing in Windows 10, Window-Key Shift-S – which makes it super easy to take a snippet from the desktop, and copy it into the clipboard. So it’s totally normal and natural for me to – Window-Key Shift-S, select something, go back to Discord, and then Ctrl-V. I do this all the time.

I’d like to put images onto CW just as easily.

Which brings me to: “How”?

I can think of a few solutions:

  • external image service – I can use some kind of an external Internet image service. I use that service to upload an image (and perhaps there’s something out there that expedites the upload, so that it’ll upload something from the clipboard buffer, and put it online.) Worries: if that service goes down
  • personal image service – I could jerry-rig something up on my own, but it’s a similar kind of problem – that said, if we’re investigating federated services and the like, this might be something we want to look at, just for the contact with Fediverse decentralisation problems.
  • anonymous image pages on CW – get accustomed to creating page names like “Image20210103no1” (“Image 2020-01-03 #1”) on CommunityWiki, and uploading individual images to it; “just deal with it” – perhaps upload them as minor edits or something
  • import images into CW – perhaps make something in CW that, when it sees a certain kind of image link, (to an external image service), retrieves that image from that link, copies it into a static directory, and then replaces the link to the image with a link to the locally made image
SolutionDetailsIssue #1Issue #2
external image serviceuse some kind of external Internet image serviceservice goes down
personal image servicejerry-rig something up on my ownservice goes down
numbered image pages on CommunityWikii.e., “Image20200103num01”clutters RecentChangestakes a long time
auto-copy external images(a) choose a specific image service (b) only auto-copy images from a specific URL prefix (c) copy into a folder that is served staticallyrequires Alex code stuff for us

Now that I look at this, the import system looks the best to me.

I’m not trying to impose anything; Merely proposing.

The reason I think this’d be cool, is because as we talk about things, it’d be easy to include pictures of the things that we’re talking about. I suspect the vast majority of additions would be screen shots.

new: 2021-01-03 22:17 UTCAlex Schroeder: What would be easy for me to do is to install Paste Files to Upload. I use it on my site. The problem right now is that the extension is geared towards blog posts, so if you paste a picture on a page that’s called “Foo” then you’re getting [[image:Image 1 on Foo|Image 1]] in the text area and the image is uploaded as “Image 1 on Foo” – as a minor edit such as not to clutter RecentChanges. That wouldn’t quite work for meme-like images, or for signature like images that you keep reusing. But it would work for images you upload as illustrations to make points on wiki pages. Screenshots would work nicely, for example.

new: 2021-01-02 22:37 UTCLionKimbro: What sorcery is this?!? That’s amazing!

Oh, it’s JavaScript. Occult powers, blood sacrifices in the night, sinister grus. 😏

Sounds good. 👍 I’m for it. I want to try it.

new: 2021-01-03 22:17 UTCAlex Schroeder: Installed! Currently, the one problem I am aware of, is image size. Oddmuse has an upload limit. Thus, when pasting an image into a text area, it’s sent to the wiki and if the save fails, it’s downsized by 50% on each axis and saved again; this is repeated three or four times, and if it still doesn’t work, then it doesn’t work. And since all of that can take some time, it’s possible that the save worked in the background but the code didn’t get properly notified. Therefore, if pasting an image didn’t work:

  • check whether it worked by visiting RecentChanges and including minor changes, if so, insert the image link by hand
  • check whether the image is very big, if so, shrink it locally and try again

Here’s a screenshot of me, using Emacs to look at Community Wiki with Oddmuse Curl Mode.

Image 1

This worked on the third attempt. Full screen and half screen were too big. If this happens a few more times, we should definitely look at the code again!

The size problem is funny because I usually think websites look extremely tiny on my laptop so the browser is set to 150% at all times (via layout.css.devPixelsPerPx = 1.5 on Firefox). Perhaps this is the reason all screenshots I paste are 150% bigger than they ought to be (more like 130% on each axis to be honest).

new: 2021-01-01 14:05 UTCTimurIsmagilov:

I like that pasting approach! It’s also used on GitHub btw. I think I’ll add it to MycorrhizaWiki one day in some form.

new: 2021-01-02 22:37 UTCLionKimbro:

That’s so cool – I just have to try this right away… Let’s see, what to take a snapshot of..

Image 2

This is a small image from a program I’ve written called MiniCubes. It’s an exploration into SchematicMedium ideas I’ve been working on.

WOW, I can’t believe that worked! That’s amazing!

(CommunityWikiFooter)

EditNearLinks: JavaScript GitHub

Languages: