[-] edinbruh@feddit.it 3 points 11 hours ago

Now that I think about it, I think my teacher called it just "lussac's law" because you cannot pronounce "Gay-Lussac" in front of a classroom of 14 year old boys. I guess you are right about the stories, but I'm not sure the name actually helps with that

[-] edinbruh@feddit.it 3 points 12 hours ago

I'll admit that was a bit of a stretch. But I also think the naming thing is a problem. Especially in mathematics, even when it is not named after a person, you often have no clue about what it is from just the name (i.e. what do you think is a magma in mathematics?)

[-] edinbruh@feddit.it -5 points 13 hours ago* (last edited 13 hours ago)

He didn't, I am saying it right now. I'm propagandating (propagating? Propaganding?) on behalf of my anti-statistics agenda. Calling it a capitalist tool of misinformation is a statement targeted to this audience. Calling for deportation of statisticians is to add graphicity and strength to my statement. The quotes make it look like someone's quote.

You see, I'm trying to pick up this piece of advice for myself

[-] edinbruh@feddit.it 2 points 15 hours ago

Hey, in the end I got 28/30, I didn't just barely pass the exam. It just sucks because I don't like it and don't want to study or know about it. Also there is a lot of gut feelings involved in statistics. Don't pretend it's like an exact science or something. You make your calculations and it spits out a number and you go like "hmmmm I do not vibe with this number. This stuff feels more important so I want a better number" the calculations themselves involve a lot of "hmm this data feels like it benefits from this approach"

[-] edinbruh@feddit.it 3 points 15 hours ago

Well, apparently an adapter card costs 80โ‚ฌ on AliExpress. But I'm not sure it will just work, maybe you need to get special drivers from Nvidia or something, and after you have the adapter and the datacenter GPU, you need to fashion your own cooling system for the GPU.

[-] edinbruh@feddit.it 2 points 16 hours ago

๐Ÿ‘€๐Ÿ‘€ uh? Do tell me more!

[-] edinbruh@feddit.it 4 points 16 hours ago

It doesn't matter if it's only them. They are the suppliers. So even if, say, Asus would like to sell gaming GPUs at a normal price (which they wouldn't, but let's pretend) they cannot do that because there is no supply, and the little supply of consumer chips left is sold to those that sell GPU at pumped prices and therefor can give more money to the suppliers

[-] edinbruh@feddit.it 3 points 16 hours ago

No, it's my belief. I was forced to do statistics at school from a young age, and it polarized me.

It all started in kindergarten, when the teacher wanted us to take polls of stuff like favourite colours and such, and find the mode of the polls, and I didn't want to pay attention to other kids' favourite colours so mine were always wrong.

Then it continued through elementary, middle, and high school, and I often failed statistics tests, because they always had you calculate ludicrous amounts of differences and squares and means and I would inevitably make mistakes. My maths average was 9/10 regardless, but I hated statistics.

Then I had to take a statistics exam for my bachelor degree in computer science, and I failed and had to retake it next year.

Then I had to take a second statistics exam for my master's degree in computer science that I'm pursuing right now. And I failed that and had to retake it.

And this is how I specialised in formal verification and abstract interpretation. Many such cases.

[-] edinbruh@feddit.it 23 points 17 hours ago

I thought this was science memes! What's statistics doing here?

[-] edinbruh@feddit.it 2 points 17 hours ago

Get them coconut electrolytes

[-] edinbruh@feddit.it 18 points 17 hours ago

Say no to statistics altogether. If we form a compact front, we can eradicate the disease of statistics from the face of the earth.

As motivation, I'll explain why statistics is only good for stealing:

  • Statistics is used to invest in the stock market, which is stealing by definition
  • Statistics is the foundation of modern AI, which as of now is mostly used for stealing work and intellectual property
  • There is no real statistical research, but every other paper is forced to have a little useless graph and a p-value made by some statistician, who steals fame from the real researchers who made the rest of the paper
  • Statistics is at the core of the gambling industry, which preys and steals from the elderly and economically weak
  • Every fucking formula for calculating probability needs to have a "mathematician's" name even if it's always sums and scaling that a toddler could come up with. Remembering those names steals neurons from students
  • Etcetera
[-] edinbruh@feddit.it 10 points 17 hours ago

Unfortunately, you cannot buy gaming gpus, not because AI data centers are buying them, but because Nvidia would rather produce server GPUs than gaming GPUs. Same for memory. Once the AI bubble bursts, there still won't be gaming GPUs to buy unless Nvidia and everyone else switch production, and you cannot put a datacenter GPU in a regular computer.

47
submitted 2 months ago by edinbruh@feddit.it to c/linux@lemmy.ml

So, some times ago I had this question https://feddit.it/post/22496010 about how to manage my system configuration, storing it on a repository or something.

Many people recommended using ansible to manage the system as a whole, but my system was already up and running, what I wanted instead was something to move around files while fixing up their permissions, so I build a python script for that.

The script grew more refined as time went on, and so now I'm publishing it so anyone can use it.

p.s.: this script is purely python and has no external dependencies!

1
OMG! Trumps! (feddit.it)
1

cross-posted from: https://feddit.it/post/23350094

what are your experiences using game controllers with linux, I'm especially interested in the xbox series s controller because it's the one I have, but I'm also interested in other controllers. From my experience the latency is disappointing, but I have no way of proving it.

So, I primarily use this controller in bluetooth mode using xpadneo. There's definitely noticeable latency, but in most games it's fine, I played through a lot of games without bother... until I played Conker: Live and Reloaded. On the infamous race level, it took me like two days to pass it, and I only made some progress when i connected the cable and dropped BT. Even that was fine though, It was just one old game and just one level, there could be a number of things to blame for that. Come hollow knight, as the game got harder after beating Hornet, it quickly became apparent that I couldn't get far without the cable, save for traversing the world, still, not that bad... until I got to fight radiance. It has been extremely frustrating, I tried it for days and eventually I started just doing a few attempts every few days, without any improvement, finding it hard to get to the second phase. Today I visited my parents and in the late evening decided to try it on a windows computer I left here, mind you, the last time I played was more than a week ago. So, I start the game, plug the same controller in, with the same cable, I beat Radiance on the fucking first try, with half health bar left...

It literally happened 10 minutes ago, I'm still riled up, this doesn't make sense, this has to be latency, there is no way I got that better just like that, It is literally impossible.

So, after all that, I need to unfuck the latency of my controller someway... Ok, it's fine on most games, but this situation is... frustrating

12
submitted 3 months ago* (last edited 3 months ago) by edinbruh@feddit.it to c/linux@lemmy.ml

what are your experiences using game controllers with linux, I'm especially interested in the xbox series s controller because it's the one I have, but I'm also interested in other controllers. From my experience the latency is disappointing, but I have no way of proving it.

So, I primarily use this controller in bluetooth mode using xpadneo. There's definitely noticeable latency, but in most games it's fine, I played through a lot of games without bother... until I played Conker: Live and Reloaded. On the infamous race level, it took me like two days to pass it, and I only made some progress when i connected the cable and dropped BT. Even that was fine though, It was just one old game and just one level, there could be a number of things to blame for that. Come hollow knight, as the game got harder after beating Hornet, it quickly became apparent that I couldn't get far without the cable, save for traversing the world, still, not that bad... until I got to fight radiance. It has been extremely frustrating, I tried it for days and eventually I started just doing a few attempts every few days, without any improvement, finding it hard to get to the second phase. Today I visited my parents and in the late evening decided to try it on a windows computer I left here, mind you, the last time I played was more than a week ago. So, I start the game, plug the same controller in, with the same cable, I beat Radiance on the fucking first try, with half health bar left...

It literally happened 10 minutes ago, I'm still riled up, this doesn't make sense, this has to be latency, there is no way I got that better just like that, It is literally impossible.

So, after all that, I need to unfuck the latency of my controller someway... Ok, it's fine on most games, but this situation is... frustrating

edit: I think it was steam input. The game was running natively, but I had to use steam input because the controller were broken. I solved by running the game in proton, so I wouldn't need steam input anymore.

19
submitted 4 months ago* (last edited 2 months ago) by edinbruh@feddit.it to c/linux@lemmy.ml

I'm trying to find a better solution to manage configuration files, both user's dotfiles and system files in /etc. I'm running an ubuntu server where I have a bunch services with custom configurations, and systemd drop-in files, but on top of that I also have some scripts and user dotfiles that I need to track.

What I'm doing right now is that I have a folder full of symlinks in the admin user's directory (poor username choice, btw) and I'm using bindfs to mount this directory inside a git repository, this way git won't see them as symlinks, and will version them as regular files. The problem with doing this is that as git deletes and rewrites files, bindfs fails to track the changes and converts the symlink to regular files.

I looked into chezmoi, but that is only meant to track user dotfiles and will refuse to add a file from /etc, that is unless doing some extra work. But even so, chezmoi will not track the user:group of files, so I would still have to manage that manually.

I also looked into GNU Stow, and that would not complain about files from /etc or anywhere, but it similarly will not track permissions and I would have to manage that manually.

I see that some people are using ansible to manage dotfiles, but at that point, it would make sense to just migrate to ansible, except I don't want to rebuild my server from scratch to use ansible. Also it looks like a lot to learn.

Is there a better solution I'm not seeing? Maybe something using git hooks?

Edit:

I ended up using pre-commit and post-merge git hooks to launch a python script. The python script reads from a yaml file where I annotate the file paths and permissions, and then copies to or from the file location to the git repository.

I used the sudoers file to allow the admin user to run this specific script with specific arguments as root without password (because the git commands are run from VS Code and not manually), which is dangerous, be careful when doing that. I have taken special care to make this secure:

  • I used absolute paths for everything, to avoid allowing running from a different pwd as a way to copy different files
  • The script itself is installed in a root-owned location, so an unprevileged user cannot edit it
  • The configuration yaml is root-owned, so an unprevileged user cannot modify which files are copied or their permissions
  • Configuration files that can grant permission are not managed by this script (the yaml, /etc/passwd, /etc/groups, polkit rules, the sudoers file, ...)

Edit 2: you can find the python script here

81
submitted 7 months ago by edinbruh@feddit.it to c/linuxmemes@lemmy.world
10

Reposting my question here to cast a wider net

141
His man.go (feddit.it)
155
His man.go (feddit.it)
submitted 9 months ago by edinbruh@feddit.it to c/linuxmemes@lemmy.world
1075
submitted 1 year ago by edinbruh@feddit.it to c/memes@lemmy.world
28
submitted 2 years ago* (last edited 2 years ago) by edinbruh@feddit.it to c/linux@lemmy.ml

I'm using sunshine for remote gaming on my Linux PC. Because I use Wayland and don't have an Nvidia I use kmsgrab for capture (under the hood sunshine uses ffmpeg).

I have noticed that I can enter tty and kmsgrab will capture it as well. If it just captured after logging in my user I wouldn't be surprised, but it also captures the login screen.

I autostart it at login using my systemd user configuration (not systemwide) so it should just have my user's permission level. I get the same results if I put it in KDE's autostart section, so it's not a systemd thing.

Why does that work? Shouldn't you need special privileges to capture everything?

The installation instructions tells you to do sudo setcap -r $(readlink -f $(which sunshine)) is this the reason why it works? What does the command do exactly?

2

SOTTR can now run in proton-experimental (it used to crash due to a missing vulkan feature), but how does it compare to the native version?

Normally I would just use the native version, but got the game from epic, which doesn't provide the native build. So if I wanted to run native I would have to acquire the game from other sources (keep in mind that I own the game on epic), which is less than ideal. But I wouldn't do it if there's no advantage.

view more: next โ€บ

edinbruh

joined 3 years ago