Japanese Speaker. I can read/write some English but not well, so corrections are always appreciated.
プログラミングや音楽に興味があります。いまはkbinのソースやActivityPubの仕様を読んだりしています。
I think https://git.sr.ht/~leon_plickat/lswt may work.
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 displays s-t-r-o-k-e-
(as I said, this may depends on font settings).
Can you get the stack trace with (setq debug-on-error t)
? The error means rx
got wrong regex form like
(rx (** 3 2 "a"))
or (rx (** 3 nil "a"))
.
I don't know why the motion didn't work in Evil mode, but if the goal is deleting all invisible Unicode characters, I'd write a command like this:
(defun my/delete-invisibles-in-region (start end)
"Delete invisible characters in the region specified with START and END."
(interactive "r")
(save-excursion
(replace-regexp "\u200B\\|\u200C" "" nil start end))
;; (query-replace-regexp "\u200B\\|\u200C" "" nil start end))
(deactivate-mark))
Try glyphless-display-mode
:
https://emacs.stackexchange.com/questions/65108/zero-width-space-shows-as-underscore
Thank you for trying the package! I completely forgot to mention require
in README, and didn't know package-vc-install
. I'll add it to README later.
I’m using emacs’ built-in completion–it works fine.
I hope it works on other packages like helm or ivy too.
Fixed wrong link - now the post title correctly link to the repository ;)
Wrote minimal minibuffer-centric MPD client
I wrote this script to learn how completing-read
's complex arguments works.
Compared to other clients it's quite limited; but thanks to packages like Vertico and Orderless,
it works quite well for my use cases.
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.
I encountered a bug while posting another comment. If a user "Submit" text from the "Preview" view, empty text will be sent.
Thanks for the hard work. It's already quite usable for me. Here are the issues I noticed on Firefox/Linux:
- Each comment area seems to have overflow (caused by the text buttons?), so hovering a mouse cursor on the comment reveals hidden scroll bar on the right.
- Titles are too bold and look somewhat intimidating.
- Rendered inline code (`...`) leaves the backquotes
like this
.
I stick with C-s (similar to vim's /
) because of the exact reason
you said, and I'm happy with C-s.
Please note that C-s <some characters> RET
moves the cursor
at the end of the target (/
moves it at the beginning).
If you don't like the behavior, see this post (I use C-s ... C-r RET
in that case).
How about incremental search (C-s) or some external packages like avy?
Try C-[ C-char
if you don't like C-M-char
In vim terminal I use C-[
for ESC to escape from insert mode a lot, but didn't know C-[
works in GUI version of Emacs until recently. Since Meta can be replaced with ESC, we can enter C-M-s
, for example, with C-[ C-s
.
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.
Strong focus on privacy and security (all authentication with the Lemmy API is done through secure httpOnly cookies, user IP addresses are not leaked to external image hosts, etc)
Awesome. The current lemmy-ui sends a lot of traffic to other Lemmy instances to get pictrs-cached images, so this is huge improvement. On the other hand, on next.lemm.ee those requests seems to be gone. As feedback, I noticed this page still seems to send a request to imgur, and the text is difficult to read because of the low-contrast theme. (edit: fixed and now completely readable. thank you @[email protected] )
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 &Data
(borrowed from the vec data
), so the tuple can't take the ownership.
I prefer high-contrast themes these days and modus-themes work great. Note that Emacs 29 doesn't contain newer themes like modus-vivendi-tinted.
Lemmyのニッチなコミュニティ向けの連携してくれるといいなーとか思ってます
Redditにもあったんですけどあれはあまり作りこむ気がなかったみたいで…
Oh I didn't know the book is freely available under the CC license; I bought the Japanese translated version just a week ago. The book is quite difficult for me but the first chapter was very good read.
On February 15th, newly-created Fediverse accounts started posting spam messages from various instances, sending invites to a Discord server for a Japanese troll organization. The posts frame ap12 from “KuronekoServer” as the culprit behind the operation. Looking at their spam content (in Jap...
![Cyberbullying Gone Global: Fediverse Spam and Operation Beleaguer](https://lemmy.ml/pictrs/image/e579b342-a344-4d82-b9d9-6dba22f482bf.jpeg?format=webp&thumbnail=256)
Thorough report about the recent Fediverse spam.
Related posts:
- We seem to be getting attacked. - https://lemmy.giftedmc.com/post/235816
- Solutions and origins of the spam wave currently hitting the Fediverse - https://feddit.cl/post/1883287
- Mastodon CVE Report - https://hachyderm.io/@maegul/111944073448637061
- Remote User Impersonation and Takeover via Cache Poisoning - https://arcanican.is/excerpts/cve-2024-23832/discovery.htm
- Remote user impersonation and takeover - https://github.com/mastodon/mastodon/security/advisories/GHSA-3fjr-858r-92rw
High-level Rust library for the Activitypub protocol - GitHub - LemmyNet/activitypub-federation-rust: High-level Rust library for the Activitypub protocol
![GitHub - LemmyNet/activitypub-federation-rust: High-level Rust library for the Activitypub protocol](https://lemmy.ml/pictrs/image/5e40cd3e-be1e-4047-8f8d-8715ae421112.png?format=webp&thumbnail=256)
The library has a nice guide
and two working examples, so I tried the local_federation
example. To build the example, you need Rust compiler, cargo package manager, and git:
$ git clone https://github.com/LemmyNet/activitypub-federation-rust $ cd activitypub-federation-rust $ cargo run --example local_federation axum [INFO local_federation] Start with parameter `axum` or `actix-web` to select the webserver [INFO local_federation::axum::http] Listening with axum on localhost:8001 [INFO local_federation::axum::http] Listening with axum on localhost:8002 [INFO local_federation] Local instances started [INFO local_federation] Alpha user follows beta user via webfinger [INFO activitypub_federation::fetch] Fetching remote object http://localhost:8002/.well-known/webfinger?resource=acct:beta@localhost:8002 [INFO activitypub_federation::fetch] Fetching remote object http://localhost:8002/beta [INFO activitypub_federation::fetch] Fetching remote object http://localhost:8001/alpha [INFO local_federation] Follow was successful [INFO local_federation] Beta sends a post to its followers [INFO local_federation] Alpha received post: Hello world! [INFO local_federation] Test completed
You may want to use network analizyer (e.g, wireshark) to see how it works under the hood.
``` GET /.well-known/webfinger?resource=acct:beta@localhost:8002 HTTP/1.1 accept: application/jrd+json digest: SHA-256=[redacted] signature: keyId="http://localhost:8001/#main-key",algorithm="hs2019",[...] host: localhost:8002
HTTP/1.1 200 OK content-type: application/json content-length: 269 date: Sat, 03 Feb 2024 23:05:19 GMT
{ "subject": "acct:beta@localhost:8002", "links": [ { "rel": "http://webfinger.net/rel/profile-page", "type": "text/html", "href": "http://localhost:8002/beta", "template": null }, { "rel": "self", "type": "application/activity+json", "href": "http://localhost:8002/beta", "template": null } ] }
[...] ```
We are getting closer to the next major release. This version will have many breaking changes, so we are listing them here for app and client developers to adjust their projects. As we prepare for the release of Lemmy 0.19.0, we’d like to provide any app or client developers ample time to upgrade th...
Lemmy 0.19ではいくつかの機能変更の他に破壊的変更としてアクセストークンの使い方が変わるのだとか。サードパーティのLemmyクライアントの中にはログインできなくなったりログイン状態が無効になるものも出てくるかもしれないですね。
lemmy.fmhy.ml終了。ドメイン名が使えなくなったため
An update: - fmhy.ml is gone (https://fmhy.net is now up), due to the ongoing fiasco with mali government taking all their .ml domains back and also Freenom being sued by Meta - As such, lemmy.fmhy.ml is also gone, we are currently exploring ways to refederate (or somehow restart federation entirely...
![FREEMEDIAHECKYEAH (@FMHY)](https://lm.korako.me/pictrs/image/c56a1bda-5707-43af-96a4-a928ef8665ed.webp?format=webp&thumbnail=256)
米軍 (.mil) が間違えてマリ共和国 (.ml) にメール送ってたとかいうニュースがありましたけど、良くも悪くもLemmyは持ってますね… lemmy.mlどうするんだろ
詳細は以下もどうぞ:
- https://sh.itjust.works/post/1473025
- https://sh.itjust.works/post/1484592
- https://lemmy.ml/post/2286939
lemmy-uiのMarkdownパーサにXSS脆弱性、カスタム絵文字を有功にしていた一部のインスタンスとそのユーザが被害を受ける。なおlemmy-ui v0.18.2-rc.1で対処済
# DO NOT OPEN THE “LEGAL” PAGE — lemmy.world is a victim of an XSS attack right now and the hacker simply injected a JavaScript redirection into the sidebar. It appears the Lemmy backend does not escape HTML in the main sidebar. Not sure if this is also true for community sidebars. [https://sh.itjus...
lemmy.worldも被害を受けたみたいですね。人多いのに…
- https://github.com/LemmyNet/lemmy-ui/commits/0.18.2-rc.1
- https://lemm.ee/post/942359 - インスタンスのadmin管理者向けまとめと緩和方法
- https://github.com/LemmyNet/lemmy/issues/3499 - JWTトークンが期限切れしない問題
- https://github.com/LemmyNet/lemmy/issues/3364 - JWTトークンがログアウトしても無効化されない問題
King Crimson - Easy Money (Live At The Concertgebouw, Amsterdam, November 23rd 1973)
![](https://lemm.ee/pictrs/image/ff840e3a-d958-4efb-b76a-4addf4281467.jpeg?format=webp&thumbnail=512)
YouTube Video
Click to view this content.
One of the best live version I believe.