kde
KDE 3w ago
Jump
How to get rid of this paint in KDE/Kwin ?
  • herzenschein herzenschein 3w ago 100%

    In that section, if you click the button to configure the Mouse Mark effect, you can see the shortcuts for clearing Mouse Mark:

    • Clear last mouse mark: Super + Shift + F12
    • Clear all mouse marks: Super + Shift + F11
    10
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearHO
    Jump
    What services do you selfhost?
  • herzenschein herzenschein 4w ago 100%

    Cinny supports custom emoji reactions and stickers, enough said :P

    More seriously, yes. It looks very good, has the right amount of settings, and it's pretty intuitive. It doesn't do the silly thing Element does for stickers where you need to selfhost a webpage (for which I shall forever be salty about), you can just join a stickers room and enable stickers globally or just add stickers manually.

    3
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearHO
    What services do you selfhost?

    I'm curious to see what other furs are selfhosting. The things I selfhost are: * Navidrome (music server) * SilverBullet (note taking with login access via website) * Synapse (Matrix server) * Cinny (Matrix client) * Uptime Kuma (simple uptime monitoring tool) (only internal) * Focalboard (project management) (only internal) * Caddy (reverse proxy to manage all other services) I used to selfhost: * Nextcloud * Etherpad * wg-easy

    9
    7
    cpp
    C++ 1mo ago
    Jump
    The empire of C++ strikes back with Safe C++ blueprint
  • herzenschein herzenschein 1mo ago 100%

    While the summary + interview The Register did was decent, when you read the actual paper, the proposal is way more interesting.

    Not a fan of mut instead of just plain mutable, though.

    Also I sure hope the compiler messages for this feature won't be like the circle examples in the proposal in the end.

    3
  • kde
    KDE 1mo ago
    Jump
    KDE Goals - A New Cycle Begins
  • herzenschein herzenschein 1mo ago 100%

    A small correction:

    For example, there are Kirigami bindings for Python you can use to do a desktop/mobile app.

    Kirigami is QML all the way, it doesn't need bindings since you'd be writing in QML either way. The Python part is about the actual business logic. :)

    1
  • I was kinda surprised no one shared this here. Konqi is KDE's mascot, lore here: https://community.kde.org/Konqi Sauce: https://toot.finfur.net/@Neotheta/113074150288818364 🌈 🧦 Original text: > Ah.. I got distracted. > > What if I drew Konqi in a similar style as Theo? Or both of them? Theo wouldn't understand anything since he lives in the wild but he would politely listen. > > I been using KDE in the past year and been pretty happy with it.

    60
    2
    kde
    KDE 3mo ago
    Jump
    Crystal Dock v2.2 released!
  • herzenschein herzenschein 3mo ago 100%

    I'd be curious to see a blog post in the future mentioning the challenges you might have faced making the dock work on Wayland, and what was needed for that.

    2
  • kde
    KDE 3mo ago
    Jump
    You can contribute to KDE with non-C++ code
  • herzenschein herzenschein 3mo ago 100%

    When you search using the Starred filter, usually you get the main project at the top since that's the one with the most stars.

    I added a KRunner web shortcut for this that automatically searches using that filter: https://rabbitictranslator.com/kfluff-web-shortcuts/

    1
  • https://rabbitictranslator.com/contribute-to-kde-without-cpp/

    I always see: * people being told they can contribute to KDE with C++/QML * people being told they can contribute to KDE without code But I don't often see: * people being told that they can contribute to KDE with code that is not C++ I like C++, QML, and even CMake, but you might not be interested in them or you might just not be willing to spend time learning another language, and that's perfectly fine. In this blog post I list a few KDE projects that you might not know about that might be written in your preferred language or in a specialized format you have expertise or interest in. By far, the most popular programming language actively used in KDE other than the expected languages is Python. We also have stuff that would interest sysadmins (containers), packagers (snap/flatpak) and web developers.

    30
    6
    kde
    KDE 3mo ago
    Jump
    Desktop changes size
  • herzenschein herzenschein 3mo ago 100%

    Looks like an old bug with kscreen that could cause two screens to merge together and would be worked around exactly the same way you did. I used to have that whenever a blackout happened, but only with Plasma 5, and often on X11.

    4
  • kde
    KDE 3mo ago
    Jump
    Why doesn't KDE's device auto mount just edit the /etc/fstab file?
  • herzenschein herzenschein 3mo ago 100%

    What's used under the hood for this is udisks, the same thing used by other file managers to achieve mounting capabilities. It allows you to mount devices without needing to mess with something cryptic and archaic like fstab and doesn't require root.

    You can always keep using fstab of course since it works, but in that case you probably also want to use fstab systemd integration.

    The KDE auto mount never worked on plasma 6

    Please report your issues on https://bugs.kde.org so they can actually get fixed!

    3
  • cpp
    C++ 5mo ago
    Jump
    Development in Windows vs Linux
  • herzenschein herzenschein 5mo ago 100%

    My understanding of Linux programming is that it’s mostly done in a code editor, then compiled on the command line.

    That's not really true. You can do that, but with most IDEs (and some text editors) you really don't need to do that. You can do everything from the IDE.

    I’m aware that cmake exists, and I’ve used it a bit, but I don’t like it. VS lets me just drop a .h and .cpp file into the solution explorer and I’m good-to-go. Is there really no graphical alternative for Linux?

    It depends on the IDE and how it handles project files. Nowadays Qt Creator for example can just create your source code files and automatically add them to the generated project CMake. I'm pretty sure other IDEs or text editors have this functionality when paired with CMake or Meson too.

    It must be noted that if the IDE has some custom project file manager (like Visual Studio does with sln and vcproj files) and you use it exclusively, you'll likely restrict your project to one platform and one IDE. Using something like CMake or Meson will make it easier to do crossplatform development and will let your users build the project without needing that specific IDE.

    Personally I like modern CMake, the problem is that you'll see a lot of projects in the wild doing old CMake style, which is awful. Meson is okay, although it feels very Pythonic to me and lacks some features I use for Qt stuff.

    6
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearFU
    Jump
    What was your first programming language? What is/are your most used?
  • herzenschein herzenschein 5mo ago 100%

    I think I started with C#, went to C, then (pre-ES6) JS, Python, then Perl, then C++.

    I didn't get much interest or progress in most of them. C# was somewhat interesting because I could make actual windows, and Perl just has a lot of interesting text-geared concepts and was created by a linguist (my background is in language and literature, not in any IT field). Perl is still delightful to learn, though I'd go with Raku (Perl 6) now.

    The only language I really learned properly and use the most is C++, especially with Qt, as my true interest is GUI programming. I was never into raw algorithms and CLI programs.

    2
  • kde
    KDE 5mo ago
    Jump
    KDE Plasma Constantly Stuttering, Try This!!
  • herzenschein herzenschein 5mo ago 100%

    Everything. It doesn't accurately describe the issue (animation stutter when using an HDD or during heavy I/O) and it doesn't mention the solution (put the cache folder in tmpfs), plus it obviously follows the traditional sensationalist tone used in clickbait.

    The point is to be deliberately vague to bait people into watching it.

    6
  • kde
    KDE 6mo ago
    Jump
    Does it make sense to create more communities in the lemmy.kde.social instance?
  • herzenschein herzenschein 6mo ago 100%

    It's small enough that we actually don't get many things to moderate either. I don't think I've even done any mod action so far. :D

    3
  • cpp
    C++ 6mo ago
    Jump
    What is a valid use case for std::any?
  • herzenschein herzenschein 6mo ago 100%

    I remember once researching when to use variant and any, and coming up with https://stackoverflow.com/questions/56303939/c-stdvariant-vs-stdany. The naïve summary being:

    any is a dressed-up void*. variant is a dressed-up union.

    So you'd use std::any for similar reasons to void* (that other commenters already mentioned) while getting some advantages. In that sense it's kinda similar to using a std::span for pointer arithmetic instead of actual C-style pointer arithmetic, it makes a necessary evil safer to do.

    2
  • Original post here: https://pounced-on.me/@dancrescentwolf/112280924285356180 Quote from the Mastodon post: > I made a free wallpaper of Konqi > > :3 > > You can download the 4k .png file on my ko-fi shop uwu > Hope I'll be able to do more :3

    36
    1
    cpp
    C++ 7mo ago
    Jump
    Help me address some problems with C++ (beginner questions)
  • herzenschein herzenschein 7mo ago 100%

    can I write modern C++ code using the newer standards and still compile with libraries from older standards?

    Yes, but then your project ends up requiring that newer standard as minimum too (which can be fine if that's what you want).

    how do I even organize a C++ project?

    Well, one way that should be simple and scalable for beginners is leaving the root folder for project configuration/metadata/contribution guidelines/clang-format etc. and putting all source code inside src/.

    If it's just an app, you can make smaller library targets in src/ in separate folders with meaningful names, like src/models/, src/settings/ etc. If it's a library, you typically put headers you intend to expose to your users in a src/include/ folder and use target_include_directories() to point to it, otherwise the same principle as apps applies.

    It requires writing a few more, smaller CMakeLists, but it does mean you're never lost in your own code.

    how do I install dependencies?

    We added this recently to KDE's developer documentation, so at least for Linux it's a start: Installing build dependencies: Using build errors to find missing dependencies.

    3
  • https://youtu.be/mImptIBmWW0

    From the Qt World Summit 2021, but it mentions cool things like avoiding unqualified access, string interpolation, interaction signals and object names. Not sure about ?? and ?. though...

    5
    0
    I am now a linux person
  • herzenschein herzenschein 7mo ago 100%

    Welcome Linux furson :P

    5
  • FYI: Malicious/Badly Written KDE theme can wipe out all your data
  • herzenschein herzenschein 7mo ago 100%

    FYI for whoever is reading this: it wasn't just a theme, but a Global Theme: it can include a Plasma Style, a color scheme, an icon theme, a panel layout template, an SDDM theme, wallpapers and widgets. Widgets are capable of running arbitrary code, just like GNOME extensions.

    Here's the response article from one of our main developers: http://blog.davidedmundson.co.uk/blog/kde-store-content/

    In the short term we need to communicate clearly what security expectations Plasma users should have for extensions they download into their desktops.

    We need to improve the balance of accessing third party content that allows creators to share and have users to get this content easily, with enough speed-bumps and checks that everyone knows what risks are involved.

    Longer term we need to progress on two avenues. We need to make sure we separate the "safe" content, where it is just metadata and content, from the "unsafe" content with scriptable content.

    Then we can look at providing curation and auditing as part of the store process in combination with slowly improving sandbox support.

    5
  • www.qt.io

    Cool stuff: > Qt 6.7 introduces convenience improvements for implementing typical RESTful/HTTP client applications. The goal was/is to reduce the repeating networking boilerplate code by up to 40% by addressing the small but systematically repeating needs in a more convenient way. > These include a new QHttpHeaders class for representing HTTP headers, QNetworkRequestFactory for creating API-specific requests, QRestAccessManager class for addressing small but often-repeating pieces of code, and QRestReply class for extracting the data from replies and checking for errors. QNetworkRequestFactory, QRestAccessManager, and QRestReply are released as Technical Previews in Qt 6.7.

    8
    0
    kde
    KDE 8mo ago
    Jump
    This looks very interesting, something any opensource organization/project might want to emulate. Right ?
  • herzenschein herzenschein 8mo ago 100%

    We're always open to doc contributions. Interested in any particular areas? 🐰

    1
  • Experiencing Linux Spatial computing with StardustXR
  • herzenschein herzenschein 8mo ago 100%

    Heh, I was expecting it to run on Wayland and I was not disappointed. Nice.

    3
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearFU
    Jump
    Welcome to Furry Programmers!
  • herzenschein herzenschein 9mo ago 100%

    Hey there, I'm Herzenschein. I had no formal education in IT, I'm a translator originally. I work with software documentation involving open source Qt apps now, so I get to read quite a bit of C++ code. I get pretty hyped at modern C++ features, and I dabble a bit in Perl and Python.

    1
  • youtu.be

    Best resource I've seen out there for template basics. It even briefly mentions variadic templates, concepts that are easy to understand, auto in function parameters (a.k.a. abbreviated function templates) and how to find out what type is chosen when you do class template automatic deduction (CTAD). I feel like this is an absolute must-watch if you want to know about modern template practices.

    7
    1
    youtu.be

    I quite liked this talk. Especially where Vincent talks about aggregate initialization, invariants and avoiding invalid values.

    11
    2

    For reference, here's a few incomplete lists: * https://en.wikipedia.org/wiki/List_of_computing_mascots * https://www.linuxfoundation.org/blog/open-source-symbolism-exploring-the-stories-behind-linux-foundation-project-mascots-and-logos * https://online.supertuxkart.net/addons.php?type=karts A few that I don't see in the lists are: * llvm dragon: https://llvm.org/Logo.html * buildah pug: https://buildah.io/ * podman seal: https://podman.io/ * openSUSE gecko: https://en.opensuse.org/openSUSE:Artwork_brand#Logo

    33
    10

    When I visit, for instance, https://pawb.social/post/1768987, I can't see the title formatted in Markdown. However, https://lemmy.kde.social/post/60846 shows up correctly (aside from the last cut part).

    6
    2