SteveTech

joined 2 years ago
[–] SteveTech@programming.dev 3 points 3 days 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 4 points 4 days ago

It's not strictly Linux anymore, but I wrote a library (or userspace driver?) in Python that interacts with a ChromeOS Embedded Controller found in Framework Laptops and Chromebooks. The driver part of it interacts with the EC directly over the IO ports, which was originally written for Linux but later ported to FreeBSD and Windows since IO ports aren't at all OS specific. It can also talk to the cros_ec_dev driver on Linux if it's loaded.

https://github.com/Steve-Tech/CrOS_EC_Python

I wrote a GUI utility for Framework Laptops too, which also serves as the example for CrOS_EC_Python: https://github.com/Steve-Tech/YAFI

[–] SteveTech@programming.dev 10 points 2 weeks ago (1 children)

help now actually opens the help utility on Python 3.13!

[–] SteveTech@programming.dev 3 points 2 weeks 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 80 points 2 weeks ago (5 children)

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 5 points 3 weeks ago* (last edited 3 weeks 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 2 points 3 weeks ago* (last edited 3 weeks ago)

My understanding is previously the kernel would crash on systems with more RAM than the address space, so there's now a patch to ignore the anything above the max address supported (e.g. 32bit without PAE, 36bit with PAE). More RAM was never supported, so I think the author of the article has misunderstood or oversimplified what's been done.

[–] SteveTech@programming.dev 78 points 4 weeks ago (1 children)

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

[–] SteveTech@programming.dev 2 points 4 weeks ago (1 children)

Epic!

You should be able to add options it87 force_id=0x8688 ignore_resource_conflict=1 to /etc/modprobe.d/it87.conf (or whatever filename) and it87 to /etc/modules. To get it to run at startup.

[–] SteveTech@programming.dev 3 points 4 weeks ago (4 children)

You can try ignore_resource_conflict which is it87 specific, rather than a system wide acpi_enforce_resources.

modprobe it87 force_id=0x8628 ignore_resource_conflict=1

The reason why this is needed is ACPI claims the I/O ports required to talk to the it87, and Linux doesn't want to override that.

[–] SteveTech@programming.dev 9 points 1 month ago* (last edited 1 month ago) (1 children)

The master branch works well with Intel ARC, I contributed a lot of the ARC changes. I don't think they've made it into a release yet though.

Edit: 3.2.0 has them: https://github.com/Syllo/nvtop/releases/tag/3.2.0

[–] SteveTech@programming.dev 11 points 1 month ago* (last edited 1 month ago)

I got through University running Debian testing. It was mostly fine, some Linux based subjects were way easier without dealing with a VM (they recommended against WSL for some reason).

However there were a couple units that absolutely required you to use Visual Studio (non-code), I occasionally used a VM, the Uni IT also provided me with a remote VM (there's a form to fill and and it's all automated). But I mostly used Rider, which for one unit it confused their CI and I got marked down for (otherwise got top marks so it's fine).

For office, it didn't matter. Group projects mostly used Google Docs, occasionally Microsoft Office where the online version worked fine. All my units wanted PDFs at the end anyway, so it does not matter that you used LibreOffice or whatever. Some units provided you with DOCX templates, I had no issues opening them with LibreOffice.

Edit: People are mentioning online exams, my Uni did 'online quizzes' which worked fine, and some had to be done in class on their PCs anyway. Final exams where always done on paper.

 

I was basically thinking of a simple browser app for Android that automatically makes its requests over a Wireguard tunnel.

I don't publicly expose a lot of my self hosted services, most are only available over a Wireguard VPN. I don't think my family could work that out, and I also don't usually keep it enabled all the time on my phone.

It doesn't have to be a fully featured browser, I'm fine for it to be the built in Android WebView or something, and just have a configurable menu of pages that can be easily visited.

I have some Android app experience from Uni, so I could maybe help out somewhat, but I feel I'm going to be in way over my head to do this alone. I'm happy to donate a little anyway.

 

This is more of a public note to self, but if anyone else had screwed up fonts, default cursors, and missing minimise/maximise buttons in flatpaks on KDE Wayland, put this in your /usr/share/xdg-desktop-portal/kde-portals.conf:

[preferred]
default=kde;gtk;
org.freedesktop.impl.portal.Settings=kde;gtk;

Then restart xdg-desktop-portal.

Source: https://bugs.kde.org/show_bug.cgi?id=474746#c12

Apparently this will be fixed in 5.27.9 releasing on the 24th anyway, but I've tried so many different 'solutions' and this had been annoying me for weeks.

 
 

I'm not usually one to share links, but my old school's Headmaster (Dr Paul Browning at St Paul's School) is in a little bit of trouble with the Anglican church for compensating child sexual abuse victims from incidents in the 80s/90s. As he started in 2008, those victims technically weren't his problem but he refunded their tuition fees anyway because it's the right thing to do. However the Anglican church doesn't see it that way and sacked him.

I graduated in 2021, but he was truly an amazing person, somehow remembers everyone's names, greeting them whenever and while I never had him as a teacher, I've heard he was really an amazing & energetic teacher when in the classroom. I was even at the school earlier this year and was asking how I was doing with uni and stuff. I genuinely believe he doesn't deserve this.

Please share this as much as you can, there is a change.org petition, but I feel raising awareness and maybe writing to Bishop Greaves and the Anglican Schools Commission are probably the best ways that you can help!

Thanks for Reading!

Edit: A few more news outlets have covered the story including:

view more: next ›