Happy New Year! 😄🎉
TimurIsmagilov: In Russia, presents are given on New Year, not on Christmas. I’ve received two books:
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.
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.
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:
Solution | Details | Issue #1 | Issue #2 |
---|---|---|---|
external image service | use some kind of external Internet image service | service goes down | |
personal image service | jerry-rig something up on my own | service goes down | |
numbered image pages on CommunityWiki | i.e., “Image20200103num01” | clutters RecentChanges | takes 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 statically | requires 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.
Alex 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.
LionKimbro: 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.
Alex 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:
Here’s a screenshot of me, using Emacs to look at Community Wiki with Oddmuse Curl Mode.
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).
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.
That’s so cool – I just have to try this right away… Let’s see, what to take a snapshot of..
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!