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/)E
Posts
135
Comments
5787
Joined
6 yr. ago

  • Well, you could presumably at least use web-sys for interacting with the DOM and wasm-bindgen in general for generating the boilerplate.

    But yeah, there might not be a pre-made library for interacting with the extension API, so might need to write your own JS←→WASM bindings.

  • I was gonna object that it's a vegan diet, because they're presumably not gonna do eggs or milk, but apparently not strictly vegetarian either:

    Mountain gorillas spend about a quarter of their day eating, mainly plants. Around 85% of their diet is made up of leaves, shoots and stems, but gorillas can also eat larvae, snails, ants, and even roots, barks and rotting wood (a good source of sodium/salt).

    https://www.wwf.org.uk/learn/fascinating-facts/gorillas

  • Hab gestern prototypisch eine API hingezimmert, damit die Studentin das weitertreiben kann, wo mit dem aktuellen Stand quasi eine API-Anfrage reinkommt, dann wird eine Bibliothek aufgerufen, die erstmal selbst eine HTTP-Anfrage macht, um Quellcode herunterzuladen, diesen dann zu kompilieren, um dann aus dem Kompilat Meta-Information auszulesen.

    Achso, und natürlich macht die API das N mal, weil es N Elemente gibt, deren Meta-Informationen dabei aufgelistet werden sollen.

    Das hat sich auch richtig falsch angefühlt, weil man natürlich immer die Befürchtung hat, dass das auf ewig so bleibt, und dann sowas rauskommt, wie bei dir. 🥴

  • Damn, did they run out of color ink?

  • I also really hate that since AI slop has turned search engines useless, you virtually cannot find anything, even if you remember the exact words of the title.

  • Yeah, extremely cheesy way of putting it: The best work position is the next one.

    I.e. don't stay in one position for a long time, but rather switch it up regularly.

  • I'm guessing, they mean JavaScript and WebAssembly in general...

  • I mean, yeah, this shouldn't be seen as an announcement or whatever, but rather as a thing to discuss and potentially get involved in. KDE is a community project after all.

  • I mean, I do like the idea, but syncing such a database file is by far the smallest challenge about this (and could be easily achieved today with e.g. Syncthing or Rsync).

    The far harder part is getting RSS readers to support the same file format. There is actually a small project (by basically a singular guy), which tries to accomplish this: https://github.com/39aldo39/DecSyncThe desktop RSS reader it supports is GTK, though.

    Somewhat of a technologically simpler solution might be to self-host FreshRSS.Unfortunately, it is of course less simple to actually use, unless you have a home server and some sysadmin skills...

  • Well, I have it bound to Super+X, but you could do any of those. I just create a .desktop file for it and then it can be used like a normal application. And well, it is intentionally built so you don't have to pass command-line flags or see the command output for creating the file.

    So, this is the program I use: https://codeberg.org/trem/jotIt has basically three larger features, which is adding a file, removing empty files (because you sometimes might end up creating a file, but not using it) and then searching through empty files.Honestly, none of these are particularly difficult to throw together in a Bash script yourself, if you don't feel like using a random program off the internet.

    Basically, for adding a file, this is a crappy version of it:

     bash
        
    data_dir="$HOME/.local/share/notes"
    mkdir -p $data_dir
    date=$(date +%s)
    file_name="$data_dir/${date}.md"
    touch $file_name
    xdg-open $file_name
    
      

    And for searching through the created files, grep -iR -C2 $data_dir is virtually just as good, too. 🫠

  • TOML

    Jump
  • Well, I assume they had other concerns, too. For example, it adds a bunch of complexity for reformatting a JSON from single-line to pretty-print, if comments can appear in there. I'm certainly not saying that I'm always best friends with the decision to remove comments, just that I can somewhat understand it.

  • Hmm, if I understand you correctly, this is about Windows blocking access to files while they're being accessed by other processes. Kate is primarily built for Linux where this would not be a problem to begin with, so it is well-possible that it does not handle this gracefully.

    But it does actually keep its own buffer for files. By default, you have to actively click in the UI before it will load the changes from the file. It does watch the file for file changes, but I don't think, it has to keep the file open for that, since there's kernel APIs to be notified for file changes on all mainstream operating systems these days.

    So, uh, TL;DR: I don't actually know, but I'm somewhat optimistic. 🫠

  • I have a tiny program/script that creates a file in a folder underneath ~/.local/share with basically just a timestamp in the file name and then it opens it in Kate. Certainly somewhat of a workaround, but it works quite well for me.

  • KDE @lemmy.kde.social

    KDE Connect of the Future

    tintotint.eu /programming/kde-connect/
  • TOML

    Jump
  • I can understand the sentiment and would 100% agree for programming languages.But personally I actually like that it encourages a flat structure, because you do not want to be yakshaving the structure of your config file. Too much nesting means you will sooner or later run into configuration keys being nested under the wrong category, because your project context changed over time.

    And well, as I've argued in a few other comments already, I think non-techie users have a disproportionally simpler time when no nesting is used. They understand the concept of a heading and then just adding a line underneath the appropriate heading is really intuitive.You can just tell them to add the line certificate="/tmp/cert.crt" under [network.tls] and they will find a line in their config file which actually reads [network.tls] and they can just paste that line as-is.

    With nesting, they'd need to add it under here:

     
        
    network: {
        tls: {
            certificate: "/tmp/cert.crt"
        }
    }
    
      

    Which means:

    • You need some awkward explanation where they should nest it, or an explanation that e.g. "network.tls" translates to nesting.
    • They will ask whether they should indent the line you sent them.
    • Well, and it's also surprisingly difficult to explain between which braces they should put the text, and that's at the end of the braces, but not after the braces etc., if you're talking to them on a call.

    It's not even that I'm completely enamored with TOML, but this aspect is certainly growing on me...

  • I'm always surprised to hear people believe in ghosts, not because I consider it particularly ridiculous, but rather because ghosts have no relevance in my life. I don't need them to exist to explain what's happening around me.

    Every few years or so, I might hear a noise where I don't have an explanation, but that always feels adequately explained by me not knowing things. I'm constantly surrounded by living beings as well as materials that are subject to gravity, temperature, humidity etc.. Occasionally, they'll make noises quite naturally.

  • Their point is that one could come up with a billion hypotheticals for what might theoretically exist, because we cannot disprove it. If we spent as much time humming and hawing whether each one actually does exist as we do for ghosts, souls, gods, Big Foot etc., then you won't be doing anything else in life.That's why it's a typical position to just say that they don't exist until proven otherwise.

    Or in the more general sense, this is Occam's Razor: If there's multiple possible explanations for something, then one should assume the simplest explanation until proven otherwise.And if you hear a door slamming shut in your house, then wind is a much simpler explanation than ghosts.

  • Comics @lemmy.ml

    Hold On Tight

  • Dungeon Crawl Stone Soup @lemmy.ml

    0.34 Tournament Results

    crawl.develz.org /wordpress/0-34-tournament-results
  • Zocken @feddit.org

    0 A.D. Version 28: Boiorix – Jetzt mit 100% mehr Germanen!

    play0ad.com /new-release-0-a-d-release-28-boiorix/
  • Famose Worte @feddit.org

    Klickibunti

    de.wikipedia.org /wiki/Klickibunti
  • Dungeon Crawl Stone Soup @lemmy.ml

    0.34 “Doomed Geometries”

    crawl.develz.org /wordpress/0-34-doomed-geometries
  • Rust Programming @lemmy.ml

    Inheritance in 🦀

  • Dungeon Crawl Stone Soup @lemmy.ml

    Well, that's not going to be good for business...

  • Dungeon Crawl Stone Soup @lemmy.ml

    Your butterfly explodes!

  • Dungeon Crawl Stone Soup @lemmy.ml

    0.34 Tournament Page and Trunk Update

    crawl.develz.org /wordpress/0-34-tournament-page-and-trunk-update
  • 196 @lemmy.blahaj.zone

    MusicBrulez

  • Maps without New Zealand @lemmy.nz

    Which Countries Are In The World Health Organization

  • Luanti community @lemmy.ml

    Luanti 5.15.0 released!

    blog.luanti.org /2026/01/21/5.15.0-released/
  • Rust Programming @lemmy.ml

    Announcing Rust 1.93.0

    blog.rust-lang.org /2026/01/22/Rust-1.93.0/
  • Music and audio production @lemmy.ml

    MilkyTracker (8-bit composing software)

    milkytracker.org
  • Anti Meme @sopuli.xyz

    When I'm hungry...

  • KDE @lemmy.kde.social

    This Week in Plasma: dark mode switch and global push-to-talk

    blogs.kde.org /2026/01/17/this-week-in-plasma-dark-mode-switch-and-global-push-to-talk/
  • Dungeon Crawl Stone Soup @lemmy.ml

    0.34 Trunk Update and Tournament Announcement

    crawl.develz.org /wordpress/0-34-trunk-update-and-tournament-announcement
  • ich_iel @feddit.org

    ich🌷iel

  • Gittertiere @feddit.org

    Gittertier lauert hinter Trampelpfad