Matty_r

joined 2 years ago
[–] Matty_r@programming.dev 1 points 2 days ago

Apparently they stopped supporting that a few years ago :(

[–] Matty_r@programming.dev 1 points 2 days ago (2 children)

Does that work to update the firmware? Not mentioned on the android store

[–] Matty_r@programming.dev 1 points 2 days ago* (last edited 2 days ago)

I'll give that a go, cheers

Edit: that worked

 

Hey all, just got the 8BitDo Ultimate Wireless 2 and just wondering how I can update the firmware? I had a look around and not sure if the updater works under wine, I had a go but didn't seem to recognise that it was plugged in.

Any advice? I primarily got this to use with my desktop and Steam Deck - maybe the Deck can update the firmware?

Edit: had to use a windows VM, pass-through the USB, then update that way. Gyro and all the buttons are recognised on the Steam Deck.

[–] Matty_r@programming.dev 7 points 4 days ago

I was quite happy still running my Samsung S22, then all this shit started to get rammed in (plus Samsung keyboard was constantly pasting my clipboard even though I wasn't using it).

Anyway, I bought a Pixel 9 explicitly for GrapheneOS - the installation was so incredibly easy I was really surprised.

[–] Matty_r@programming.dev 8 points 1 week ago

Also rent due tomorrow

[–] Matty_r@programming.dev 8 points 1 week ago (6 children)

Ive been waiting for this. Which one is the best one to get for both my Steam Deck and desktop?

[–] Matty_r@programming.dev 2 points 2 weeks ago

Yea, it takes actual skill to use them ha ha

[–] Matty_r@programming.dev 8 points 2 weeks ago (3 children)

I actually wish skateboards made a come back. Much more preferable over the escooters I see around a lot.

[–] Matty_r@programming.dev 2 points 2 weeks ago

That's essentially what has happened in some distros like Arch Linux where you have to explicitly install the 32bit versions alongside the 64bit versions.

Also, Steam provides some 32bit libraries exactly for this reason.

For one, its just a burden for maintainers to continue to make sure stuff still works with the presence of those libraries. Unmaintained software is increasingly subject to vulnerabilities, adding an additional burden for maintainers that cover off on the security aspect of packages. It also can hold back further development in other areas simply because they need to be able to install those older 32bit libraries.

The solution to a lot of these problems is containerisation, whereby you're effectively able to shift these issues off into their own area that has no affect on the rest of the operating system, but can be safely accessed when needed.

[–] Matty_r@programming.dev 10 points 2 weeks ago (3 children)

The 32 bit libraries are still available for you to run that old software. If it was removed entirely those old games would not run

[–] Matty_r@programming.dev 13 points 2 weeks ago (7 children)

Old games and software that will never be updated were built to run on 32 bit libraries.

 

Hey all,

I'd like to create a spin/(fork?) of Fedora, with some preconfigured settings (like config of Plasma), and include some packages and repos.

I've found something like an unattended installer but I'm not sure if that's current advice.

Are there some helpful guides out there that might go through the process of doing this?

 

Hey all, just looking for some advice. I'd like to do a WASM application, just generally like a calendar + notes app. I'd like it to work on mobile and desktop through the browser. It'll be served through Actix with Diesel for the backend. For the "frontend" I was thinking egui or leptos.

I'd like to avoid any JavaScript, so thought SSR might be the best approach.

Any thoughts/pitfalls? Should I look at something else for the frontend?

Its a lot of working parts for a calendar + notes app, but this will be a testing ground to see if I can get it all going :S

118
submitted 2 months ago* (last edited 2 months ago) by Matty_r@programming.dev to c/selfhosted@lemmy.world
 

Hey all, i've decided I should probably setup something else to help block nefarious IP addresses. I've been looking into CrowdSec and Fail2Ban but i'm not really sure the best one to use.

My setup is OpnSense -> Nginx Proxy Manager -> Servers. I think I need to setup CrowdSec/Fail2Ban on the Nginx Proxy Manager to filter the access logs, then ideally it would setup the blocks on OpnSense - but i'm not sure that can be done?

Any experience in a setup like this? I've found a few guides but some of them seem fairly outdated.

Edit: thanks everybody for the great info. General consensus seems to be with crowdsec so I'll go down that path and see how it goes.

Edit 2: So after having it up and running for the better part of a day, i'm going to remove it again. For some reason there was a performance impact loading websites, probably because it was waiting for a response from the Crowdsec hub? Either way, after stopping it from running everything is back to normal again. So I might revisit how I do it and probably try Fail2Ban now instead. Thanks everybody

 

Hey all, I've got ZFS pool created and just create a VM drive in that pool like normal, then Jellyfin just has that drive mounted. I think I'm losing the best parts of ZFS through this manner.

How should I set this up properly? Create a media pool or something and have VMs accessing the pool directly?

 

Hey all, got another question. Is Lutris only managed through the desktop mode or is there some sort of plugin you can use to manage it?

I use Lutris on my desktop and know about the option to add a Steam shortcut. Anything else SD specific that needs to be done?

Cheers

 

Hey all, just wondering how the battery life is after you've had it for a while? I'm getting one soon and wondered if it would have a noticeable impact on the battery if it was on a dock for most of the time.

Cheers

 

Hi all,

I'm going through and giving a bunch if different GUI frameworks a go and have tried iced, egui and Slint. Iced was by far the easiest to get started and just seemed fairly logical for layouts, Slint was pretty cool - VSCode actually has like a wysiwyg-editor that allows you to drag components around etc.

Unfortunately I'm having issues getting breakpoints to work when using VSCode, Tauri, plus a Rust frontend (yew, dioxus, etc). I think its because what is compiled isn't where my actual code exists? If I use a JavaScript frontend it hits breakpoints fine, but that's not what I'm wanting to use at the moment.

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
      {
        "type": "lldb",
        "request": "launch",
        "name": "Tauri Development Debug",
        "cargo": {
          "args": [
            "build",
            "--manifest-path=./src-tauri/Cargo.toml",
            "--no-default-features"
          ]
        },
        "env": {
            "WEBKIT_DISABLE_COMPOSITING_MODE": "1"
        },
        // task for the `beforeDevCommand` if used, must be configured in `.vscode/tasks.json`
        "preLaunchTask": "ui:dev"
      },
      {
        "type": "lldb",
        "request": "launch",
        "name": "Tauri Production Debug",
        "cargo": {
          "args": ["build", "--release", "--manifest-path=./src-tauri/Cargo.toml"]
        },
        // task for the `beforeBuildCommand` if used, must be configured in `.vscode/tasks.json`
        "preLaunchTask": "ui:build"
      }
    ]
  }
{
    "version": "2.0.0",
    "tasks": [
      {
        "label": "ui:dev",
        "type": "shell",
        "isBackground": true,
        // change this to your `beforeDevCommand`:
        "command": "trunk",
        "args": ["serve"]
      }
    ]
  }
 

Hi all, I tried creating a Steam shortcut through lutris but my controller isn't detected -I'm trying to play it via Steam Link.

Normal Steam games appear to work fine, and from everything I've seen online it should just work.

 

Hey all,

Just thought I'd share my kinda unattended installer. I know there are a number of scripts out there, but thought others might be interested in this style of installer.

Boot into the official Arch Linux ISO then download the script.

There is an installation config file where you choose which bundles you want installed, and things like the root drive and username etc.

The install will ask for the root password and your user password and that should be it. The rest of the script will go through and automatically install all your selected packages (plus further config if needed), do the regional stuff for timezones etc

I haven't updated the script in a while and it hasn't been tested by many others so your mileage may vary. But here it is, warts and all.

 

Hey all, not sure how I managed this, but over the years I somehow managed to configure different paths which are listed in kf5-config. The for instance the cache path should be /home/matt/.cache, but kf5-config lists it in /mnt/data/matt/home/.cache. I'm sure this was intentional at one point but now i'm trying to fix up my partitions.

So my question is - how do I change the paths listed in kf5-config to where it should be on the root partition (/home/matt/...)?. I'll move the actual data from where it is onto the root partition, I just need to know how to change that paths are configured in kf5-config.

Cheers

kf5-config paths:

cache:
/mnt/data/matt/home/.cache/
config:
/mnt/data/matt/home/.config/:/mnt/data/matt/home/.config/kdedefaults/:/etc/xdg/
data:
/mnt/data/matt/home/.local/share/:/usr/share/:/usr/local/share/
emoticons:
/mnt/data/matt/home/.local/share/emoticons/:/usr/share/emoticons/
exe:
/usr/lib/libexec/:/usr/bin/
html:
/mnt/data/matt/home/.local/share/doc/HTML/:/usr/share/doc/HTML/

etc.. etc..

Edit: I just wanted to add that these paths are different from what is listed in qtpaths:

$ qtpaths --paths CacheLocation
/home/matt/.cache/<APPNAME>
$ qtpaths --paths ConfigLocation
/home/matt/.config:/home/matt/.config/kdedefaults:/etc/xdg

Solved:

Turns out that it expands symlinked directories.

 

Hey all, I have a Samsung S22 and got an update this morning which has forced on the navigation bar at the bottom of the screen. Disabling the new circle to search didn't make a difference.

I heard it can be disabled through GoodLock but I'm not installing that. Maybe it can be disabled via adb or something?

Cheers

view more: next ›