[-] d_k_bo@feddit.org 36 points 3 weeks ago* (last edited 3 weeks ago)

Rust would be some borrow checker compile error like

borrowed data escapes outside of associated function
argument requires that `'1` must outlive `'static`
[-] d_k_bo@feddit.org 33 points 1 month ago* (last edited 1 month ago)

Still better than having to create a new class just to implement

public static void main(String[] args) {}

Relevant Fireship video: https://youtu.be/m4-HM_sCvtQ

[-] d_k_bo@feddit.org 52 points 2 months ago* (last edited 2 months ago)

Gnome Shell Extensions are powerful because they are allowed to hook into everything the gnome-shell process does. If the extension API would be changed so they couldn't crash our shell session, extensions would become way less powerful and be mostly useless.


Nevertheless, it would be great if Gnome Shell could keep/recover your application state after restarting (like KWin).

1
submitted 3 months ago* (last edited 3 months ago) by d_k_bo@feddit.org to c/androidapps@lemmy.world

The BLE Manager app for Android simplifies managing your device’s characteristics. No additional libraries are required to use the app with your device. Annotate each characteristic with a descriptor specifying the data type, graphical component, and optional properties like minimum and maximum values. That’s all! Once connected, the app automatically displays the described characteristics, enabling you to read and modify their values. All components fully support notifications and indications from your device for seamless interaction.

As someone who likes to tinker with microcontrollers, this looks exactly like something I was looking for a while ago. I ended up using phyphox which offers support for custom BLE devices with custom “experiments”. I will consider using this app for future projects.

[-] d_k_bo@feddit.org 38 points 4 months ago* (last edited 4 months ago)

As someone who develops and distributes a small application exclusively on Flathub, I prefer that everyone uses the exact same package on every system. That way I know that if something doesn't work, the issue should be easy to reproduce.

Recently, there was a situation where a user indicated in the comments of a release announcement that a newly introduced feature “doesn't work”. It turned out that they installed a third-party package from the AUR (that wasn't updated yet) without knowing that this isn't the official and up to date version.

[-] d_k_bo@feddit.org 70 points 4 months ago

Just one more line bro. One more line will fix it.

[-] d_k_bo@feddit.org 68 points 4 months ago

https://github.com/michidk/rost

Aren't you müde from writing Rust programs in English? Do you like saying "scheiße" a lot? Would you like to try something different, in an exotic and funny-sounding language? Would you want to bring some German touch to your programs?

rost (German for Rust) is here to save your day, as it allows you to write Rust programs in German, using German keywords, German function names, German idioms.

820
Here we go again (feddit.org)
submitted 6 months ago by d_k_bo@feddit.org to c/linuxmemes@lemmy.world
[-] d_k_bo@feddit.org 96 points 7 months ago* (last edited 7 months ago)

the hidden "trashbin", .Trash-$(uid), invented by Ubuntu

This isn't some “idiotic principle invented by Ubuntu”, it just follows the freedesktop.org Trash specification. For many users, it can be really beneficial, see also the spec's introduction:

An ability to recover accidentally deleted files has become the de facto standard for today's desktop user experience.

Users do not expect that anything they delete is permanently gone. Instead, they are used to a “Trash can” metaphor. A deleted document ends up in a “Trash can”, and stays there at least for some time — until the can is manually or automatically cleaned.

Whether an application like Prism Launcher should use the trash can or delete the files directly is an entirely different question.

[-] d_k_bo@feddit.org 59 points 10 months ago

They even implemented it in Firefox: moz://a redirects to https://www.mozilla.org/en-US/about/manifesto/

[-] d_k_bo@feddit.org 115 points 10 months ago* (last edited 10 months ago)

I don't like it. He is just perpetuating the endless stereotypes that plague linux and harm linux adoption.

If you are using a somewhat stable distro and don't have weird hardware, you don't need to "write your own driver" etc. A lot more people "punch themselves in the face" by using a buggy, ad infested, data harvesting operating system even though they just need a web browser.

[-] d_k_bo@feddit.org 37 points 11 months ago

I think Germany’s done it twice now.

It was Munich and they switched back to Windows after M$ moved their German headquarters to Munich.

[-] d_k_bo@feddit.org 36 points 11 months ago

Declaring the use without a paid license as “Unlicensed” is very misleading since the project is also licensed under the GNU AGPL v3.0.

view more: next ›

d_k_bo

joined 1 year ago