Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)NM

Japanese Speaker. I can read/write some English but not well, so corrections are always appreciated.

プログラミングや音楽に興味があります。最近はEmacsでよく遊んでます。

Posts
8
Comments
99
Joined
2 yr. ago
  • The SCHEMA:PATH part seems slightly wrong (singular vs. plural). Try:

     bash
        
    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
    
    
      
  • I'd write a bookmarklet for that case:

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

  • I think it doesn't work. I skimmed Lemmy source code (search scrape_text_for_mentions if you're interested) and found this issue so I'm almost sure the mention in the post body doesn't work, but haven't tested, so I used the word may. Sorry for your confusion.

  • Oddly, the endpoint on lemm.el and lemmy.ml return comments:

     text
        
    > curl 'https://lemm.ee/api/v3/comment/list?post_id=45734814' | jq '.comments.[] | .comment.content[:50]'
    "Yeah, you're right. I didn't read enough of the do"
    "Thank you for the tip ... but whatever I try with "
    "~~In 0.19.5, they removed the deprecated `post_id`"
    
    > curl 'https://lemmy.ml/api/v3/comment/list?post_id=21766749' | jq '.comments.[] | .comment.content[:50]'
    "Yeah, you're right. I didn't read enough of the do"
    "Thank you for the tip ... but whatever I try with "
    "~~In 0.19.5, they removed the deprecated `post_id`"
    
      

    I think it would be better to ask the admin of the instance before creating the issue.

  • Seeking feedback: how should lemm.ee move forward with external images? (related to frequent broken images)

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

  • Emacs @lemmy.ml
    nmtake @lemm.ee

    MPD Client Minimpc v0.2: Added Playlist/Queue Editor. Feedback/Review Appriciated

    Emacs @lemmy.ml
    nmtake @lemm.ee

    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.

    Screenshot

    Emacs @lemmy.ml
    nmtake @lemm.ee

    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.

    Fediverse @lemmy.ml
    nmtake @lemm.ee

    Thorough report about the recent Fediverse spam.

    Related posts:

    Lemmyの話題 @lm.korako.me
    nmtake @lemm.ee

    Lemmy 0.19 Breaking Changes - Lemmy

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

    Lemmyの話題 @lm.korako.me
    nmtake @lemm.ee

    lemmy.fmhy.ml終了。ドメイン名が使えなくなったため

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

    詳細は以下もどうぞ:

    Lemmyの話題 @lm.korako.me
    nmtake @lemm.ee

    lemmy-uiのMarkdownパーサにXSS脆弱性、カスタム絵文字を有功にしていた一部のインスタンスとそのユーザが被害を受ける。なおlemmy-ui v0.18.2-rc.1で対処済

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

    Progressive music @lemm.ee
    nmtake @lemm.ee

    King Crimson - Easy Money (Live At The Concertgebouw, Amsterdam, November 23rd 1973)

    One of the best live version I believe.