SteveTech

joined 2 years ago
[–] SteveTech@programming.dev 4 points 6 months ago* (last edited 6 months ago)

The common sketchy performance advice is to disable mitigations in the kernel, this post is about disabling mitigations in Intel's userspace graphics stack because it's already checked in the kernel.

Assuming you meant disabling kernel mitigations, since AFAIK audio stuff doesn't usually use OpenCL:

Has anyone else here disabled it?

Nah, my understanding is it's not worth it on newer CPUs, and in some cases, the microcode expects things to be mitigated for best performance. Older CPUs (pre-2019ish) it does make a difference though.

But you're welcome to benchmark it, and see if it makes a worthwhile difference on your CPU. Kernel mitigations are easy enough to turn on and off.

[–] SteveTech@programming.dev 9 points 6 months ago (2 children)

I think they were trying to say that the cage in front with the AP behind, acts as a directional antenna. Similar to how Yagi antennas have metal elements that aren't connected in front of the actual antenna.

But I don't know enough antenna theory to know if that's correct.

[–] SteveTech@programming.dev 3 points 7 months ago (1 children)

I've previously found OpenRGB's udev rules to be a really good example since there's a bit of everything in there: https://openrgb.org/releases/release_0.9/60-openrgb.rules

But I think you'd want something like: SUBSYSTEMS=="usb|hidraw", ATTRS{idVendor}=="REPLACE WITH USB VENDOR", ATTRS{idProduct}=="REPLACE WITH USB PRODUCT", TAG+="uaccess"

[–] SteveTech@programming.dev 9 points 7 months ago (1 children)

help now actually opens the help utility on Python 3.13!

[–] SteveTech@programming.dev 3 points 7 months ago

Thanks TIL! Although I prefer this diagram that has all the wifi channels on it, instead of just the 3 common ones.

Diagram of ZigBee, Bluetooth, and WiFi Channels

Source

[–] SteveTech@programming.dev 2 points 7 months ago

Perhaps there was an easier lighter-weight way of doing this?

Yeah, SSH tunneling. What I would do (and have done in the past) is something like:

ssh -L 8080:192.168.0.1:80 myserver

That will forward port 8080 on your host to port 80 on 192.168.0.1, so you can access your router's web UI with http://localhost:8080/ in your own web browser.

You can also setup full tunneling with SSH, but that requires messing around with SOCKS and I usually can't be bothered.

[–] SteveTech@programming.dev 6 points 7 months ago* (last edited 7 months ago)

If we're suggesting a GUI for basic trimming and splicing, I prefer Avidemux, it supports cutting without transcoding the whole video (as long as you cut on an I-frame), saving time and reducing artefacts.

[–] SteveTech@programming.dev 76 points 7 months ago (1 children)

You can always install activate-linux, and it even works on Windows.

[–] SteveTech@programming.dev 3 points 9 months ago

Surely this wasn't the same report that failed to find any EV maker that actually uses 'dirty nickel', but concluded they were anyway.

[–] SteveTech@programming.dev 9 points 9 months ago (1 children)

It can, but it requires creating your own signing key, registering it with secure boot, and signing your nvidia driver.

There's a guide here: https://askubuntu.com/a/1049479

But if you're running any out of tree drivers (e.g. the nvidia driver), I'd recommend just leaving secure boot off.

[–] SteveTech@programming.dev 13 points 9 months ago

Before other people start commenting 'yeah obviously', it's their April Fools video, it's pretty funny.

[–] SteveTech@programming.dev 1 points 9 months ago

What motherboard do you have?

If it's related to memory context restore, I also had to toggle 'power down enable' on my setup.

view more: ‹ prev next ›