nmtake

joined 2 years ago
[–] nmtake@lemm.ee 3 points 1 month ago (1 children)

AFAIK contents aren't shared automatically between servers. See https://join-lemmy.org/docs/administration/federation_getting_started.html

[–] nmtake@lemm.ee 2 points 1 month ago (1 children)

Thanks for the reply. This thread may give us some clues: https://bugzilla.mozilla.org/show_bug.cgi?id=1941820

[–] nmtake@lemm.ee 14 points 1 month ago (3 children)

Some fonts may require additional configuration to display properly, so usually manual installation should be avoided.

Please run (and post the result here) fc-match sans and fc-match serif to check fontconfig picks wrong italic font. If that's the case, try to remove the TTF files you've installed via the font manager you're using, then install the fonts via the package manager - it should configures fonts properly.

[–] nmtake@lemm.ee 6 points 2 months ago (1 children)

The SCHEMA:PATH part seems slightly wrong (singular vs. plural). Try:

schema=org.gnome.settings-daemon.plugins.media-keys.custom-keybinding
path=/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/

gsettings get "${schema}:${path}" binding
gsettings get "${schema}:${path}" command
gsettings get "${schema}:${path}" name
[–] nmtake@lemm.ee 6 points 3 months ago (3 children)

Although committing the feature to the Github repository has finished, the feature will be available for you when your instance updates the Lemmy version to 0.20, 1.0, or higher.

[–] nmtake@lemm.ee 2 points 3 months ago (1 children)

If anyone has other suggestions to mitigate this

Firefox has "permissions.default.image" (link) option that disables image loading, but this Wikipage is very old so I'm not sure whether it works properly in current FIrefox.

[–] nmtake@lemm.ee 4 points 3 months ago (1 children)

I'd write a bookmarklet for that case:

javascript:
{
const name = 'ABC';
const d = new Date();
const year = d.getFullYear();
const month = d.getMonth();
const date = d.getDate();
document.activeElement.value = `${year}/${month}/${date} ${name}`;
void 0;
}

This bookmarklet inserts the desired text into the currently focused text box. Tested on Lemmy Web UI.

[–] nmtake@lemm.ee 7 points 4 months ago (3 children)

What program are you using to write or edit the comments?

[–] nmtake@lemm.ee 11 points 4 months ago* (last edited 4 months ago)
[–] nmtake@lemm.ee 11 points 4 months ago (1 children)

As already suggested, take a look at i3 Window Manager's docs: https://i3wm.org/docs/userguide.html because Sway (works on Wayland) is a port of i3 (works on X11).

[–] nmtake@lemm.ee 6 points 4 months ago

** URL now never sends user email addresses in HTTP requests.

Someone like me may want to know the background of the change, so here's the commit and the relevant discussion.

9
submitted 1 year ago* (last edited 1 year ago) by nmtake@lemm.ee to c/emacs@lemmy.ml
 

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.

Screenshot

 

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.

 

Thorough report about the recent Fediverse spam.

Related posts:

 

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
    }
  ]
}

[...]
 

Lemmy 0.19ではいくつかの機能変更の他に破壊的変更としてアクセストークンの使い方が変わるのだとか。サードパーティのLemmyクライアントの中にはログインできなくなったりログイン状態が無効になるものも出てくるかもしれないですね。

 

米軍 (.mil) が間違えてマリ共和国 (.ml) にメール送ってたとかいうニュースがありましたけど、良くも悪くもLemmyは持ってますね… lemmy.mlどうするんだろ

詳細は以下もどうぞ:

 

lemmy.worldも被害を受けたみたいですね。人多いのに…

 

One of the best live version I believe.

view more: next ›