@Rustmilian@lemmy.world cover
@Rustmilian@lemmy.world avatar

Rustmilian

@Rustmilian@lemmy.world

Privacy & Foss advocate, and Linux user.
Ace 🖤🩶🤍💜

Anti Commercial-AI license (CC BY-NC-SA 4.0)

This profile is from a federated server and may be incomplete. View on remote instance

Rustmilian , (edited )
@Rustmilian@lemmy.world avatar

A Screenshot would be helpful to better visualize what you're describing.

Rustmilian , (edited )
@Rustmilian@lemmy.world avatar

Hell yeah!! So many needed fixes that have been bugging me for a while are finally fixed!!

Anti Commercial-AI license (CC BY-NC-SA 4.0)

Rustmilian , (edited )
@Rustmilian@lemmy.world avatar

Why should we have the same standard for two fundamentally different languages with distinct design philosophies and features?
Even if the C coding standard was used, it fundamentally will not make Rust more legible to C-only kernel devs. Imposing the C coding standard on Rust would be fundamentally counterproductive, as it would undermine Rust's safety and productivity features. Rust's coding guidelines align with its design principles, promoting idiomatic Rust code that leverages language features like ownership, borrowing, and lifetimes.
This ensures that Rust code in the kernel is safe, concurrent, and maintainable, while adhering to the language's best practices.
While the C coding standard served its purpose well for the procedural C language, it is ill-suited for a modern language like Rust, which has different priorities and language constructs. Having separate coding standards allows each language to shine in its respective domain within the kernel, leveraging their strengths while adhering to their respective design philosophies. Having separate coding standards for C and Rust within the kernel codebase is the sensible approach.

Rustmilian ,
@Rustmilian@lemmy.world avatar

If it's a native app then it's fine, else if it's just a chromium skin then that bullshit can fuck off.

Rustmilian , (edited )
@Rustmilian@lemmy.world avatar

In any case, it's the temporary file directory so it should be fine to delete them manually.
Just make sure that podman isn't running while you're deleting them, assuming it is podman.

Rustmilian , (edited )
@Rustmilian@lemmy.world avatar

Specifically it's at Ring 0.

Rustmilian , (edited )
@Rustmilian@lemmy.world avatar

Not really, the source is more about the entire concept in computer science. It's extremely comprehensive, for those who want to know it inside and out. TLDR : Ring 0 means anything directly controlling the hardware, which is usually the kernel. There's also rings beyond zero that are reserved for specific things, for example -1 for hypervisors like KVM & Hyper-V.

Rustmilian , (edited )
@Rustmilian@lemmy.world avatar

On KDE plasma the fractional scaling also plays a role in text rendering. Then there's also the "Legacy Application Scaling" for X11 apps on the Wayland session.

Rustmilian ,
@Rustmilian@lemmy.world avatar

Font rendering is complex and depends on several settings and features lining up perfectly. Anti-aliasing, DPI, fractional scaling, hinting, and subpixel rendering are all important factors that contribute to the quality and appearance of text on a digital display.

Rustmilian ,
@Rustmilian@lemmy.world avatar

What's the WINE error message you get with the proprietary driver?

Rustmilian ,
@Rustmilian@lemmy.world avatar
Rustmilian , (edited )
@Rustmilian@lemmy.world avatar

This error is caused by a compatibility issue between Wine's RandR (X11 display extension) implementation and the NVIDIA proprietary drivers.

a. Install winetricks and run winetricks orm=backbuffer glsl=disable
This will configure Wine to use a different rendering method that is compatible with the NVIDIA drivers.

&/Or

b. Use a tool like Q4Wine to configure the Wine prefix and set the "UseRandR" option to "N"
This will disable Wine's use of the RandR extension and use a fallback method instead.

That should fix it.

What am I doing wrong (OpenSuse)?

I've been trying Tumbleweed for my gaming needs and so far it seems to be working relatively well. My issue is about removed packages. When I first installed TW, I removed quite a few packages I did not want (KSudoku, LibreOffice, and a few others). It has been a little since I've turned on my PC but yesterday I noticed that...

Rustmilian , (edited )
@Rustmilian@lemmy.world avatar

Are you perhaps accidentally booting from a system snapshot?

Rustmilian ,
@Rustmilian@lemmy.world avatar

Check your install paths when you uninstall them. Do the files from the packages still exist?

Rustmilian ,
@Rustmilian@lemmy.world avatar

If regulations don't get put in place fast enough, then the US is seriously going to be China 2.0.

Rustmilian , (edited )
@Rustmilian@lemmy.world avatar

You can't lose credit by calling Trump a cock gobbler. Credit control's what you can afford/get based on debt history. Social credit controls every facet of your entire life based on how "good" a citizen you are. Imagine saying "Biden clearly has dementia" then not being able to get on the bus because you just got a -20 infraction for bad mouthing the holy Lord and now you're completely barred from all public transport.
This is a very real scenario of China's CCP controlled Social Credit System.
I'd like to avoid that for the US by blocking the technology from being used in this manner.
Also, I don't have a credit card. (⁠⌐⁠■⁠-⁠■⁠)

Rustmilian , (edited )
@Rustmilian@lemmy.world avatar

Look, even if Biden wanted to, he can't just waltz in and set up a full-blown social credit system like they have in China. The infrastructure and technology for that kind of comprehensive, government-controlled system just isn't there (yet). If we can pass the right bills to block that kind of technology from being used for this purpose in the first place, then it really won't matter what other laws he tries to push through.

And you know, even in places that seem to be "credit-only," you can often still get by without a credit history, In many cases, you can actually talk the private owner or landlord into giving you access based on other factors, like your income, rental history, or whatever else they're willing to consider. Sure, it might be a bit more of a hassle, and the landlord or business might give you a harder time. But the practical restrictions you face are nothing compared to what you'd see in an actual government-run social credit system. In those cases, you'd be completely shut out from entire aspects of life based on your social credit score - no wiggle room at all.

The credit card and private sector restrictions are honestly pretty minor compared to that level of government control. When it comes to renting, for example, if a landlord decides not to rent to you because you lack credit history, that's really just their own personal decision as the property owner. The government isn't mandating that. And the whole credit card system itself is run by private companies, not the government. These are financial tools that businesses have created, not some government scheme to monitor and restrict people's lives.

The key distinction is that a true social credit system, like what they have in China, is directly controlled by the government. They're the ones setting the baseline standards and dictating who can access certain things based on this overarching social credit score they've assigned to you. It's not just about your personal finances or what private companies decide - the government is the one drawing those lines and controlling your access to basic services and opportunities.
In that kind of system, even if a landlord was willing to rent to you, they might not be able to because you don't meet the government's required social credit threshold for that particular region.
They're essentially "redlining" people based on this government-run social credit system, in a way that goes far beyond anything we have with private credit cards and loans.
That level of comprehensive state control is a whole other beast compared to the more limited, private-sector driven credit systems we have.

A major component that makes China's entire social credit system work is they're huge surveillance systems of high tech & low tech spy mechanisms like intrusive cameras, facial recognition software, automatic law enforcement systems, AI integration, web surveillance, "great firewall of China" and much more.

So while I agree Biden is pushing some concerning legislation on things like hate speech and nonprofits, that's a separate issue from actually implementing a social credit system. Our focus should be on preventing that kind of technology and infrastructure from taking root in the first place. That's where I think our efforts need to be directed.

Rustmilian ,
@Rustmilian@lemmy.world avatar

Possibly. But from my research it seems to really depend.

the USB-C ports on the two PCs need to support USB OTG (On-The-Go) functionality, which allows the ports to dynamically switch between host and device modes. This is what enables the direct PC-to-PC communication over the USB-C connection.

Rustmilian , (edited )
@Rustmilian@lemmy.world avatar

I found some directions that might help.

Enabling USB-C OTG Device Mode :
Ensure the Linux device has a USB-C port that supports OTG functionality.
In the device tree, set the dr_mode property of the USB OTG controller to "peripheral" or "otg" to enable device mode.
Configure the TUSB320 USB-C controller (or equivalent) to operate in UFP (Upstream Facing Port) mode, which allows the device to act as a USB peripheral.
Configuring USB Gadget Drivers :
Load the appropriate Linux USB gadget driver for the desired functionality, such as g_ether for Ethernet over USB, g_serial for a serial device, etc.
Manually configure the USB network interface, such as assigning an IP address to usb0.
Connecting to a Host :
Use a USB-C to USB-C or USB-C to USB-A cable to connect the Linux device in OTG device mode to a host PC.
The host PC should then detect the Linux device as a USB peripheral, allowing file transfer, network connectivity, or other functionality depending on the configured gadget driver.

Gateworks.com Wiki Linux OTG
Kernel.org Driver-API USB Gadget
Collabora Blog Modern Linux USB Gadget integration with Systemd Part1

A tool :
gt
Rust library :
usb-gadget
C Library :
libusbgx

Rustmilian , (edited )
@Rustmilian@lemmy.world avatar

Not sure if that'll work for SteamDeck-to-LinuxPC connection, but I'm certain that works for SteamDeck-to-Android.
It is using USB gadgets, so it's worth a shot at least.

Rustmilian ,
@Rustmilian@lemmy.world avatar

It's should definitely work then. MTP usually doesn't leverage USB Gadget, but this one seems to.

Rustmilian ,
@Rustmilian@lemmy.world avatar

At least it's a slider, so it's not just "everything or nothing".

Rustmilian , (edited )
@Rustmilian@lemmy.world avatar

I believe you're correct that the GPU isn't being engaged at all. For one I highly doubt it's NVK because it's certified as "Vulkan 1.3 conformant" meaning it's a complete to spec implementation.
The overly also say it's using a "NVIDIA GeForce GTX 4090 Laptop GPU"... Then it also says that there's 0 watts being drawn from both the GPU & CPU which is extremely odd.
Maybe it's a driver issue?

Rustmilian , (edited )
@Rustmilian@lemmy.world avatar

What about the proprietary driver? IDK if they're even using Nouveau or not.
NVK is apart of Mesa...
Also just noticed that they're running it under Wayland directly... And with HDR. Kinda in a very experimental area.
Point is we need more specs. Would love to see a hw-prope.

Rustmilian , (edited )
@Rustmilian@lemmy.world avatar

I'm aware. I'm just pointing out that he needs to publicize his specs hw-prope and that he's stacked on 3 layers of experimental software.
Nvidia on Wayland is WIP, HDR on Wayland is WIP and NVK is work in progress, even VKD3D with NVK is experimental.

Rustmilian ,
@Rustmilian@lemmy.world avatar

Sudo isn't GNU tho.

Rustmilian ,
@Rustmilian@lemmy.world avatar

You forgot /s

Rustmilian , (edited )
@Rustmilian@lemmy.world avatar

He's literally using sarcasm to mock the idea of fully switching from GNU/Linux to SystemD/Linux. The "/s" at the end indicates the statement is sarcastic, meaning he does not actually believe this switch will happen, but is sarcastically suggesting it will.

Literally just say out loud to yourself with a sarcastic tone :

So when are we going to fully switch from GNU/Linux to SystemD/Linux?

He's not literally asking when this switch will occur, but rather mocking the notion in a sarcastic tone. Sarcasm involves using words in a mocking or ironic way, often to criticize or make a humorous point, rather than stating the opposite of what one means in a literal sense as a rule of thumb, the sarcastic tone is the key. The implied meaning is the opposite of the implied statement within the sarcastic question, rather than stating the opposite directly. I believe you're confused because he's framing it as a question to obfuscate the meaning and make the sarcasm more subtle.

Rustmilian , (edited )
@Rustmilian@lemmy.world avatar

Options?
You mean :
Safari
Safari but it's not scared of the dark
Safari park fire with a fox for some reason
Edge-ing in Safari park
Opera of the Safari
Safari but with trees
DuckDuckGoing to Safari myself later
You Safari from crippling depression
Safari has layers / it's all Safari now / Safari is Love, Safari is Life
USSafaRi

Explaining the joke :

I'm making fun of the fact that all browsers on IOS are required to use WebKit.

Weird KDE Panel resizing bug. Thinking of a complete reinstall ( sh.itjust.works )

Whenever I resize the panel or the any other widget on the panel (e.g calendar widget) it doesn't remember its size. It's really annoying me. I am on Fedora 40, KDE 6.0.4. Nothing seems to fix it, thinking of a complete reinstall. Is anyone of you getting this bug?

Rustmilian ,
@Rustmilian@lemmy.world avatar

It is but it's also a main component so it's already plasma 6 compatible.

Rustmilian ,
@Rustmilian@lemmy.world avatar

I also have this bug. It seems that widget position saving is broken atm.

Rustmilian , (edited )
@Rustmilian@lemmy.world avatar

Idk about OP, but for me the entire widget menu position saving seems to be completely broken not just for the kickoff application launcher widget's menu. The position saving feature is a relatively new thing anyway so I'm not too worried about it. I didn't even notice it until OP's post, lol.

Rustmilian ,
@Rustmilian@lemmy.world avatar

Except RIIR is a meme, not a real thing to be taken seriously.

Rustmilian ,
@Rustmilian@lemmy.world avatar

I've also heard that unsafe Rust is even more dangerous than C.

Utterly Untrue :
It’s important to understand that unsafe doesn’t turn off the borrow checker or disable any other of Rust’s safety checks: if you use a reference in unsafe code, it will still be checked.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • All magazines