If it changed the frequency of crashes depending on the usb port it’s connected to it might be struggling with the power supply. If you have some external, powered USB hub or a docking station you can try to connect it there and it might fully solve the issue.
- 0 Posts
- 17 Comments
The worst is when you get promoted, and people start to recognize you as an expert. At that point you realize how everybody is sort of winging it, including the people in all other professions that you’d really prefer not to (doctors, pilots, politicians …).
If you have some malicious code running on your computer, you have already lost. Nothing stops it from impersonating another app and asking the permissions to see your screen, accessing local secrets from the files or doing who knows what.
You can still download a tar file with an static executable inside, and double clicking that exe will happily run it unsandboxed, and it’ll be able to do whatever with your secrets or files of other apps, unlike firefox, which is not able to share your screen easily. If you get a really malicious app, it could probably also exploit debugging tools to inject itself into the memory of processes that do have the permission to access the screen without asking…
Preventing apps from accessing what you see on screen or sending keypresses, or stealing your focus, is not going to protect you against anything, but it’s just going to make it impossible to use legacy tools, autohotkey-equivalents (look up how to send a key programmatically to a wayland app… wayland provides no interface for that. You have to create virtual evdev devices and run your app with root permissions…) or making it clunky to have a calendar appointment notification pop up right in front of the screen (grand theft focus luckily fixes that on gnome…).
Performance on 3d games is also much better on X for me.
Supercrunchyto
Privacy•Citizen Protest Halts Chat Control; Breyer Celebrates Major Victory for Digital PrivacyEnglish
3·2 个月前Interestingly enough, in Denmark most of the MEPs came out against chat control. The only party in favour of it is the socialdemocrats (generally the biggest party). Given that 1% of danish voters signed the petition against chat control, it’s not looking great for them.
Also many other politicians of other countries did not express an opinion at all, which makes informed voting difficult to do. When voting do read the political manifestos (most parties publish one) and do look into what you are voting for! Don’t just blindly go with gut feeling!
I really don’t get all this attention to focus prevention. I personally can’t remember the last time I had a window popping up without it being something I want and expect. IMHO It looks like a theorethical attack vector (steal focus right when typing a password), but in practice I’ve never heard of it happening, not even on windows were focus stealing is fully allowed and expected.
If I had any app stealing focus randomly, the app would be nuked out of existance in no time.
I did experience though focus stealing prevention breaking apps (for example the open folder dialog in vscode not appearing in the front). It also breaks some interruptions that I really really want, like the evolution calendar notification window popping up on top of everything telling me I really should be in a meeting right now (and no, a slowly fading notification on the corner of the second screen I’m not looking at right now won’t work)
A big thank you to the authot of grand theft focus for bringing a bit of sanity back.
SupercrunchytoData Structures and Algorithms•What would be the "least boring" sorting algorithm?
7·4 个月前It might be something that is pretty different than what you are looking for, but for interactivity it might be funnier and less repetitive if you demonstrate some sort of bucket/radix sort to not have comparisons at all “choose which buket this number should go into”
Maybe also mergesort would be fun to simulate. You can split the array as usual and then ask the user to pick which number should go next from the two lists.
The problem with the “it’ll go away at some point” is that the “at some point” might be much longer than what a few years.
This period feels to me like some “calm before the storm” or a “slow motion car crash”. We have AI possibly disrupting a lot of the service economy, while automation is slowly eating away the manual workers jobs, possibly resulting in mass unemployment. People are really fed up with politics and electing more and more nationalistic/extremist politicians because they don’t feel represented. The economical crysis and this dissatisfaction is an environment very similar to when hitler got elected. Last time we had millions of people dying and europe being destroyed, what will it take today to remove a dictatorship in the biggest military spender of the world? Who is going to save the US if it slides into dictatorship?
Supercrunchyto
PC Gaming@lemmy.ca•Steam data reveals PC gamers shifting from Windows to LinuxEnglish
2·4 个月前For fstab editing, try running “mount <path>” and check if it succeeds before rebooting, so you can still edit if there are mistakes. FYI if you do a sytax mistake in fstab the entire OS might fail to boot. If it happens don’t panic, it’s easy to fix: you can use the install usb drive to edit fstab on your disk and try again (no need to reinstall!)
There are also graphical tools. I never used them, but it might be easier if you are not feeling super sure on what to do: https://superuser.com/questions/346606/is-there-any-gui-tool-to-configure-etc-fstab
I also use steam to manage external launchers. It’s a bit clunky, but it keeps proton updated and works quite well once it’s set up.
Welcome to linux, and do ask around for help / tips if you need!
Supercrunchyto
Ask Lemmy@lemmy.world•Which games made you go into an "addiction phase"?English
3·4 个月前Pyanodon changes factorio so much. The byproducts are a big issue, and you need to get in the mentality that often it’s fine to burn up items just to avoid the logistical nightmare. The biggest change for me is how expensive infrastructure is. You often need buildings that eat up 10 minutes of production just in materials. Scaling up is a challenge also because of how huge he buildings are (both a blessing and a curse) and how expensive everything is. Even conveyor belts are expensive at the beginning.
I played py hard mode until py science 1, then later on I started what was supposed to be an easier playthrough in pyblock, but i still stopped with a few parts missing for logistical science.
I still consider it one of the best mods out there (it’s really well balanced), but you should start playing it only with a “I will not finish it” mentality, since it’s thousands of hours long.
Supercrunchyto
Technology@lemmy.world•Steam Users Rally Behind Anti-Censorship PetitionEnglish
2·4 个月前There are some surviving national circuits like PagoBancomat (as the sibling comment from Scrollone) and Dankort (Denmark) and girocard (Germany). My personal impression is that they are slowly going out of fashion in favor of visa/mastercard only (probably because they can’t offer better prices than them).
I don’t see a solution to the duopoly, apart from lobbying politicians to support this national payment infrastructure. Especially in recent times I can also see how some governments might not want to rely entirely on two US companies for running their entire economy, so something might move on that side, so there’s hope on that side.
The EU has already been moving on this front in the last years by forcing the banks to provide programming interfaces to initiate bank payments, and that’s why you can now see more and more options to “pay by bank” online in EU. These online payments generally skip card circuits and run over normal SEPA bank transfers.
More info here on the last part: https://en.m.wikipedia.org/wiki/Payment_Services_Directive
Supercrunchyto
linux4noobs•Is there a way to move the os to another disk but not /home?English
1·5 个月前Depending on how much customization you have done, it might be easier and safer to just install the OS from scratch to the new disk. You’ll also end up in a much more “clean” state afterwards.
- Your program settings, browser favorites, etc should all be stored in /home/<user>
- Your system settings are generally stored in /etc
I would take a backup of the whole system (important!), then take a second copy of only these two folders (save all the permissions and ownership info, and also use sudo to access all the files in /etc !). After you have saved everything, wipe both disks, set them up like you want and reinstall all the software you need. Finally you can restore from these two folders.
You will not want to restore everything in /etc, just the files you have manually/indirectly edited, and also you will need to preserve the correct file permissions, so be careful on what you do there. Some files like /etc/fstab hold the information on how your disks are mounted, so you really don’t want to restore those (same for /etc/passwd, systemd units, and many others). Basically restore selectively only what you need, or reconfigure the software again and just restore your /home
It shouldn’t take as much time as it sounds, because most of the settings should be in your home folder, and you can reinstall all the software pretty quickly when you need them. You also won’t have to fight all the problems if you end up with a weird/incomplete setup when moving the root.
For splitting the app in the taskbar I found it useful to “install” the PWA (you got to find the hidden option in chrome for that…), if it’s supported by the website… It still uses the same cookies and addons, but at least it doesn’t easily get merged with the main browser window and behaves like a proper desktop application. I mainly use firefox though and it doesn’t support PWAs (easily, at least). It’s a shame it’s not more common, because it’s a much better way to run software than the many electron apps, each having their own chromium installation (no download, no long installation process, full sandboxing, and you can have addons & adblockers affect the pwa!)
Supercrunchyto
LinuxHardware•Laptop battery goes flat, when powered off, only on DebianEnglish
7·5 个月前It’s a bit hard to debug without the laptop in the front, but i think the issue is that your laptop supports some sort of “connected standby” and it enters that instead of fully powering off, or debian fails to properly remove power to some of the hardware.
If you want to search on the internet more on this, the terms you are looking for is for “system power state” or “s5”. As a sanity check, first to see if running
systemctl poweroffin a terminal actually powers off the system fully.If that works, it’s a problem of your desktop environment not telling the linux kernel to shutdown properly, but instead go into standby/connected hybernation.
If that doesn’t work: Debian usually ships only older packages (including the kernel) and probably the kernel debian ships lacks the compatibility with some of your hardware. You can look up how to upgrade it, but it’s not a procedure for the faint of heart. The easiest option is probably to understand why you want to use debian, and find a similar distribution with more up-to-date packages. There’s also ways to customize your kernel and building your own, but I would keep it only as a last resort (in the case you really really want to use debian)
Also let’s represent all numbers in scientific notation, I’m sure that’s going to make it easier to read…





I think you got a bit confused… FEX is used in the steam frame (VR headset) because it uses an ARM processor to save battery. The steam machine uses a normal x64 CPU and appears to be using some relatively standard pc hardware, so no compatibility layers are needed for windows (only drivers are needed) I doubt you’ll be able to install windows on the steam frame though, for the reason you say (arm compatibility is a mess).