emacs
Emacs 18h ago
Jump
2024-10 Austin Emacs Meetup
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    12h ago 100%

    Vertico expands the minibuffer which I do not like.

    You might want to try some Vertico extensions such as vertico-flat that displays completion candidates horizontally.

    1
  • Seeking feedback: how should lemm.ee move forward with external images? (related to frequent broken images)
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    2d ago 100%

    “why should images be any different, really?”

    Without proxying or other means, images are automatically loaded. A user may post tracking images to collect IP addresses or to harras a specific user. It's quite different from manually opening the external sites (that aren't autotmatically loaded) to read stories.

    1
  • Seeking feedback: how should lemm.ee move forward with external images? (related to frequent broken images)
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    2d ago 100%

    Thanks for writing the summary for the current image-proxying related issues. I prefer the "proxying images route" for better privacy, but its drawbacks sounds worse.

    If Lemmy has a user-customizable setting like "Don't load external media automatically" (including images, videos, etc.), I'm happy with the "passing through external images" route.

    1
  • Lemmy User Feedback and Improvement Thread: Share Your Complaints, Suggestions, and Ideas
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    5d ago 100%

    lemmy-ui: Highlighting some words blindly in inline code is really annoying. For example,

    • systemctl --user cat emacs
    • pactl load-module module-switch-on-connect
    2
  • PulseAudio hotkeys script
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    2w ago 100%

    But the problem is that if you plug in a USB or bluetooth headset, it doesn’t automatically switch to it as the default.

    How about module-switch-on-connect?

    3
  • emacs
    Emacs 1mo ago
    Jump
    Emacs 30.0.91 pretest is available
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    1mo ago 100%

    ** 'minibuffer-allow-text-properties' also affects completions. When it has a non-nil value, then completion functions like 'completing-read' don't discard text properties from the returned completion candidate.

    Thanks for the commit! It looks very handy when we pass propertized strings to completing-read.

    4
  • linux
    Linux 1mo ago
    Jump
    How do I resolve XFCE's buggy volume plugins?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    1mo ago 100%

    For logging, PANEL_DEBUG=all (source) seems to work. Anyway, did you reboot the system after removing xfce-volumed-pulse (so only xvce-pulseaudio-plugin should be enabled) ?

    1
  • linux
    Linux 1mo ago
    Jump
    [Solved] [Void Linux] Audio refuses to work on a new user
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    1mo ago 100%

    You don't need pulseaudio and pipewire at the same time because pipewire provides pulseaudio-compatible server (pipewire-pulse). Also, pipewire usually doesn't require audio group. Did you follow the official docs or other online guide?

    5
  • emacs
    Emacs 2mo ago
    Jump
    Issues with daemon as systemd user unit
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    1mo ago 100%

    "emacsclient --alternate-editor=''" may work. If you need to solve the systemd issue, please post "systemctl --user cat emacs"(assuming the unit is "emacs") here.

    1
  • linux
    Linux 2mo ago
    Jump
    Noob Question Thread: Ask Any Questions About Linux!
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    2mo ago 100%

    “Pactl load-module” outputs “you have to specify a module name and arguments.”

    As I said in earlier comment, please run "pactl load-module module-switch-on-connect" exactly. Note that Pactl and pactl are different commands and the former is invalid.

    Is the command different for that?

    As the name suggests, pactl is a command for PulseAudio. PipeWire supports application written for PulseAudio, including pactl. Try "man pipewire-pulse" to get further info.

    2
  • linux
    Linux 2mo ago
    Jump
    USB boot Ubuntu issue
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    2mo ago 100%

    I'd try other (lightweight) distros for that case. Since your PC is old, it may not fulfil the latest Ubuntu's system requirements.

    4
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLE
    Jump
    How to switch a lemmy/fediverse post (link) to one's home instance eg using a bookmarklet?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearNM
    nmtake
    2mo ago 100%

    I think GET /api/v3/resolve_object should work:

    curl --url-query q=https://feddit.org/post/2401677 \
        https://lemmy.ml/api/v3/resolve_object \
        | jq .
    

    (note that the value of q is url-encoded by --url-query)

    5
  • https://codeberg.org/nmtake/minimpc.el

    I wrote this script to learn how `completing-read`'s [complex arguments](https://www.gnu.org/software/emacs/manual/html_node/elisp/Programmed-Completion.html) 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](https://lemm.ee/pictrs/image/bf3321ff-097e-4340-a10b-a804dd36012f.webp)

    9
    3

    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`.

    7
    0
    blog.fyralabs.com

    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

    26
    4
    github.com

    The library has [a nice guide](https://github.com/LemmyNet/activitypub-federation-rust/tree/main/docs) and [two working examples](https://github.com/LemmyNet/activitypub-federation-rust/blob/main/examples/README.md), 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 } ] } [...] ```

    21
    9
    https://lemmy.ml/post/5711722

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

    1
    1
    very.bignutty.xyz

    米軍 (.mil) が間違えてマリ共和国 (.ml) にメール送ってたとかいうニュースがありましたけど、良くも悪くもLemmyは持ってますね… lemmy.mlどうするんだろ 詳細は以下もどうぞ: * https://sh.itjust.works/post/1473025 * https://sh.itjust.works/post/1484592 * https://lemmy.ml/post/2286939

    5
    0
    https://sh.itjust.works/post/923025

    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トークンがログアウトしても無効化されない問題

    4
    2