Matty_r

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

"Bird Vision activate!"

Walks straight into glass door

[–] Matty_r@programming.dev 7 points 5 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.

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

GrapheneOS @GrapheneOS We're going to be moving forward under the expectation that future Pixel devices may not meet the requirements to run GrapheneOS (https://grapheneos.org/faq#future-devices ) and may not support using another OS. We've been in talks with a couple OEMs about making devices and what it would cost. 1:02 AM · Jun 13, 2025

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

Can't live without my magic lamp animation for minimise/maximise. Feels so out of place without it

 

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

113
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

 

Hey all I'm looking for recommendations for a video doorbell that doesn't need an internet connection.

Preferably something that is WiFi and would work with Frigate?

 

Hey all,

I'm going to be moving on to my next project and have been thinking about doing an email client. I like Thunderbird, but the search is terrible, and I also want to tackle something that needs pretty high performance for processing emails etc.

Any suggestions or considerations I should think about?

I'll focus on just getting SMTP going in a CLI then I'll introduce some sort of frontend using Qt.

view more: next ›