[-] herzenschein@pawb.social 1 points 13 hours ago* (last edited 13 hours ago)

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.

58
submitted 1 week ago* (last edited 1 week ago) by herzenschein@pawb.social to c/linuxfurs@pawb.social

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.

30

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.

[-] herzenschein@pawb.social 4 points 1 month ago* (last edited 1 month ago)

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.

[-] herzenschein@pawb.social 5 points 3 months ago* (last edited 3 months ago)

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.

[-] herzenschein@pawb.social 6 points 3 months ago* (last edited 3 months ago)

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.

37

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

6

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

[-] herzenschein@pawb.social 5 points 5 months ago

Welcome Linux furson :P

[-] herzenschein@pawb.social 5 points 6 months ago

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.

8

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.

7
submitted 7 months ago* (last edited 7 months ago) by herzenschein@pawb.social to c/cpp@programming.dev

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.

12

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

[-] herzenschein@pawb.social 4 points 10 months ago* (last edited 10 months ago)

So what you want to do is put a Kirigami.SearchField inside the global toolbar created by the Kirigami.Page. It's not a header.

In the first case you're putting it inside the page, and because it's a direct child of a Kirigami.Page, it is automatically laid out for you, which is fine, but not what you want.

In the second case you're putting it in the header of the ApplicationWindow, but you actually want to put in the global toolbar of the page, so it's not what you want.

In the third case you're just putting a SearchField before the initialPage, so it's loaded on the same level as the page, it's not what you want.

You can put it in the header property of the Kirigami.Page, but the header area of the page doesn't include the global toolbar, so they just happen to be close together by chance.

The way I'd have expected to do that would be to override the globalToolBarItem of the Kirigami.Page, but it's read only, so I don't really know how to help you with that. You should ask in the Kirigami Matrix room or in the Discuss forum.

[-] herzenschein@pawb.social 8 points 11 months ago* (last edited 11 months ago)

I can't tell you why this is happening, but what is clearly happening is that your apps are being run under a nested kwin_wayland instance. It's as though you were running kwin_wayland krunner.

If anyone’s wondering, my main issue with Wayland was that it wasn’t setting the DISPLAY and WAYLAND_DISPLAY environment variables for some reason, and this would cause all kinds of software like Steam and Firefox to not even launch. I tried setting them manually but that didn’t go do well either.

My guess is that whatever fix you attempted here caused this, so you'd need to be more specific about what you tried.

[-] herzenschein@pawb.social 5 points 1 year ago

I was thinking, with the recent news of a contributor to GitLab adding support for forge federation, some time we could see that being enabled in the KDE instance as well, I hope.

It would be cool indeed. It would mean that people on KDE Invent could make issues and MRs directly to the Freedesktop Gitlab, for example, if both were federated.

[-] herzenschein@pawb.social 8 points 1 year ago* (last edited 1 year ago)

If, instead, you won’t do it and prefer to keep Bugzilla as the main issue tracking platform, could you tell us why?

Here are the reasons why: https://community.kde.org/Get_Involved/Issue_Reporting/Why_not_GitLab_Issues

The tldr is that Gitlab Issues is limited for users, developers and triagers compared to current Bugzilla, given the current KDE infrastructure. These are just technical issues. The moment Gitlab solves those limitations, KDE would gladly use it.

[...] since they’re right there by the code base.

Note the section "Bugs need to be filed against individual repos". At it stands right now, if a non-technical user finds a plasmashell bug, they can just go to "File a bug":

and they're greeted with this:

And then they can choose Plasma and then plasmashell, both with very descriptive text mentioning what should be reported there. It's not too bad to find the right place to report things, to be honest. And there's an "I don't know" field, which is great. :)

Finding issues can be a bit finnicky, yeah. But you can click on the search field in the first page, type what you want to find, click on Quick Search and you get a list of results based on your keywords, and you can also click on the Search button and then click on Simple Search to look for some keyword in a specific product. Once you know it's pretty simple.

35
[-] herzenschein@pawb.social 4 points 1 year ago

Correct. The requirements are:

  • put a link to the community anywhere in a Mastodon toot and a post is automatically generated on Lemmy
  • the first line becomes the title/headline
  • additionally, a recent change in Lemmy removed Markdown formatting from headlines, so instances that are sufficiently up-to-date will have links and hashtags show up as literal text instead of links: https://pawb.social/comment/1624631
1

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

[-] herzenschein@pawb.social 4 points 1 year ago

I like remixes done by Kamex and Retrospecter, especially from Undertale/Deltarune and the Metroid series.

I also like Fox Amoore, although it's not the sort of genre you're probably looking for.

4
1
submitted 1 year ago by herzenschein@pawb.social to c/kde@lemmy.ml
view more: next ›

herzenschein

joined 1 year ago
MODERATOR OF
kde