Japanese Speaker. I can read/write some English but not well, so corrections are always appreciated.
プログラミングや音楽に興味があります。いまはkbinのソースやActivityPubの仕様を読んだりしています。
One of the reasons is it makes moderation (including soft moderation by users like downvotes or reports) harder. Users not familiar with Japanese can’t decide whether the post follows the rule and is on topic.
Thanks for the clarification. I switched from Xfce4 to GNOME many years ago because the former doesn’t support Wayland at that time, but I still miss the manual quarter tiling with the shortcut keys.
IIRC Xfce4 supports quad manual tiling like that.
If I understood correctly, the first match
expression doesn’t take the ownership of the prev_data.kind
because the prev_data.kind
is a place expression:
https://doc.rust-lang.org/stable/reference/expressions.html#place-expressions-and-value-expressions
A place expression is an expression that represents a memory location.
https://doc.rust-lang.org/stable/reference/expressions/match-expr.html#match-expressions
When the scrutinee expression is a place expression, the match does not allocate a temporary location; however, a by-value binding may copy or move from the memory location.
I’m not sure what “a by-value binding may copy or move from the memory location” does mean, but I beleive no allocation means no move.
For the second match
, move happens. The tuple (prev_data.kind, new_data.kind)
tries
to take an ownership of the prev_data.kind
, but the prev_data
is
(borrowed from the vec
data
), so the tuple can’t take the ownership.
Interesting. I didn’t know about Akkoma, Pleroma, and MRF. For a future reference,
Glad it worked. I didn’t know the endpoint before reading your post.
As you said, GET /resolove_object
(https://join-lemmy.org/api/interfaces/ResolveObject.html) may work:
$ post_id=9589178
$ curl 'https://lemm.ee/api/v3/resolve_object?q=https%3A%2F%2Fprogramming.dev%2Fpost%2F${post_id}' | jq .post.post.id
22873872
$ curl 'https://lemm.ee/api/v3/post?id=22873872' | jq '.post_view.post | [.id, .name]'
[
22873872,
"How do you get the url or id of the same post on a different instance?"
]
I think you’re right. In CGI, web server spawns a process for each incoming request to the CGI app, so the author provide static files for visitors to reduce the overhead.
Edit: here is the repository: https://codeberg.org/seppo/seppo and written in OCaml, so the single file CGI app is a compiled binary.
Have you checked the shell command history? (e.g, history | grep spotify
)
Most cases will be solved with these settings (but some applications may need additional tweeks):
ja_JP.UTF-8
locale, or~/.config/fontconfig/fonts.conf
I noticed some shortcuts for window navigation don’t work properly.
For example, “View split on left” (Shift+Super+H
on my machine)
doesn’t work if the target window is receiving text input.
It seems that killing ibus temporary solves the issue, so beware if you’re using ibus.
I’m not sure what “lemmy_server api_tests context” does mean, but
curl 'https://<instance>/api/v3/community?name=lemmydev' | jq .moderators
seems to work for me.
No problem! Thanks for moderating this community.
listCommunities
with sort=Hot
and type_=Local
would work. See:
Some applications can’t display some Unicode strings like s̵t̵r̵o̵k̵e̵, so replacing Markdown element like
~strike~
with Unicode equivalent (s̵t̵r̵o̵k̵e̵ ) may not be a good idea if you want portability. I opened your post in text editors and noticed that neovim-qt drops s̵t̵r̵o̵k̵e̵’s combining characters (issue on Github) and just displays stroke instead of s̵t̵r̵o̵k̵e̵; GUI Emacs with my font settings (Noto) doesn’t combine the characters and displayss-t-r-o-k-e-
(as I said, this may depends on font settings).