Skip Navigation
Posts
21
Comments
238
Joined
2 yr. ago
  • Damn, not sure I'm a fan of any of this. I left Arch because I didn't want to be on Rolling release any more, and really liked what Nobara was offering for the out of the box experience.

    Brave is super sketchy, and not sure about putting in yet another thing to handle updates (replacing plasma-discover and gnome-software).

    I'm wondering if its worth forking it to remove some of these changes.

  • Are you talking about squatting hurts? No exercise should hurt if you don't already have an injury, so just avoid it for now.

    But to be fair, if you've never done squats before it can feel super awkward. You'll need to get a feel for the balance and aligning your upper body.

  • Oh awesome, it'll be fun to learn them all.

    Buff Dudes, and Jeff Nippard are some of my favourite channels. I'd recommend checking out the buff dudes for some.of their beginner programs to see what they've put together as well.

    Barbell Squat

    Nordic Ham Curls

    Walking Lunges

  • Swap leg press for squats and also add walking lunges, and swap lying leg curls for Nordic ham curl.

  • Definitely waiting for the v1.0 release of this. I've tried it a few times and its too janky at the moment, especially with path finding in your buildings. Hopefully they can keep going and actually make it to a 1.0 release.

  • What about Deskflow? Worked pretty well for me.

  • Proxmox is definitely on its way to become a viable replacement for sure. There's also OpenShift from Red Hat which could be worth a look at as well.

  • The end goal is to try and have a web app that is usable on both desktop and mobile, I would use what I learn from this simple app to hopefully get something bigger going.

    I have nothing specifically against JS I just was (somewhat ignorantly) hoping I could avoid it altogether. I also don't like having to double up on defining classes, one for backend and one for frontend. I tried React and it really felt like I was wasting my time redefining stuff that I had already defined in my backend.

    In my previous attempt, I basically had 3 definitions. The database definition, the Rust definition, then the frontend (JS).

  • Then steal the helmet back again!

  • armosaur

  • Armosaur, more like Armsaresmall! Amirite?

  • 4G Rule

  • Ahh, check out those chonky borders. Good times.

  • OK, that's fine. Just means I'd need to think more about how stuff is implemented. I'm thinking like input fields for date and time selection etc. Could be an interesting challenge for sure.

    Surely its all been done before ha ha

  • I think I'm going to go this route - Leptos + HTMX. I'll see how far this gets me without any JS. What type of interactivity do you think might require JS? I assume I should be able to do form validation etc without it?

  • OK, guess I'll avoid WASM for now then. Someone else mentioned HTMX and pair that with Leptos, I should be able to get away with no JS.

  • All good, yea its because I need crowdsec installed on the proxy as well - not just the bouncer - in order to actually send the logs to Opnsense.

    I ended up having some weird performance issues so I pulled it all out for now and will revisit another time.

  • How do you find working with it? Especially the debugging side?

  • OK, I was hoping to have it usable with JS disabled entirely, but that sounds impossible based on what you and others are saying. At least I can level my expectations somewhat before diving in.

  • Really? I thought part of the attraction for WASM was that it could be native code without needing JS. That's good to know though. Thanks.

  • Rust @programming.dev
    Matty_r @programming.dev

    Stack advice

    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

    Selfhosted @lemmy.world
    Matty_r @programming.dev

    CrowdSec vs Fail2Ban - What to use?

    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 revis

    Selfhosted @lemmy.world
    Matty_r @programming.dev

    How best to store a media library in proxmox?

    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?

    Steam Deck @sopuli.xyz
    Matty_r @programming.dev

    Is Lutris only managed through desktop mode?

    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

    Steam Deck @sopuli.xyz
    Matty_r @programming.dev

    How's the battery life after you've had one for a while?

    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

    Rust @programming.dev
    Matty_r @programming.dev

    Help please. Vscode and breakpoints with Yew + Tauri

    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.

      launch.json
        
    {
        // 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",
    
      
    Linux Gaming @lemmy.world
    Matty_r @programming.dev

    Controller isn't working when using Lutris through Steam

    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.

    Arch Linux @lemmy.ml
    Matty_r @programming.dev

    Unattended install script

    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.

    KDE @lemmy.kde.social
    Matty_r @programming.dev

    Changes paths as listed in kf5-config, deprecated configs?

    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:

     undefined
        
    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
      
    Android @lemmy.world
    Matty_r @programming.dev

    Anyway to remove the forced navigation bar?

    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

    Selfhosted @lemmy.world
    Matty_r @programming.dev

    Recommendations for a video doorbell?

    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?

    Rust @programming.dev
    Matty_r @programming.dev

    Looking for my next project

    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.

    KDE @lemmy.kde.social
    Matty_r @programming.dev

    Mouse offset in Firefox since update

    Since the update, if I snap Firefox to the top the mouse seems to be offset a number of pixels compared to where the actual cursor is. It also affects the content in sites, not just stuff in Firefox.

    Edit: Looks like it's not just when it's snapped, but as soon as it passes about the top 90% of the screen. Just took a screenshot, where you can see the cursor is hovering over Other Bookmarks, but it's activating the menu above it.

    Java @programming.dev
    Matty_r @programming.dev

    urChat v0.6.0 release - mostly backend stuff

    github.com Release v0.6.0 · matty-r/urChat

    What's Changed Improved updateStyles performance Moved the Interface options panel to it's own InterfacePanel class. Rename Panels to URPanels. Move ProfilePanel and MainOptionsPanel from componen...

    Release v0.6.0 · matty-r/urChat

    Hey all,

    Another update/release of urChat (Java IRC Client). This release had a lot of focus on general usability and backend cleaning up. Performance for updating the styles has been improved and i've also moved some of the major panels into their own classes to make it easier to add more options/panels at a future date. In doing this, there is less effort needed when adding more options as the this is all handled when using addToPanel() method:

    For Instance, i've added an option to toggle the tab icons, after creating the new JCheckBox showTabIcons, all that's needed to have it save to the preferences correctly is:

     java
        
    URPanels.addToPanel(this, showTabIcons, null, Placement.DEFAULT, null, Constants.KEY_SHOW_TAB_ICON);
    
    
      

    This adds it to the current JPanel (In this case the InterfacePanel), places it after the previous Component and then associates that with the KEY_SHOW_TAB_ICON Preference key. Much easier than before.

    Support for HTTP proxies has also been added, so we

    OPNsense @lemmy.world
    Matty_r @programming.dev

    (Solved) IPS (Suricata) kills network

    Hey all, I've been trying to figure out why enabling IPS kills my network. I have some services I host and would like to get some sort of IPS running. I used to have Snort running through pfSense and didn't experience issues like this.

    Edit: as an update to this, I resolved it by installing the realtek plugin.

    OPNsense @lemmy.world
    Matty_r @programming.dev

    Ensure only defined DNS servers are used?

    Hey all, recent convert from pfSense. I'm trying to make sure only the DNS servers I've defined are being used for lookups? I'm using Unbound and noticing a lot of traffic on port 53 to destinations other than the ones I've put in.

    Java @programming.dev
    Matty_r @programming.dev

    urChat v0.5.1 release - Bug fixes, managing profiles, and custom nick formatting

    Version 0.5.1 of my IRC Client has been released. This time around it was mostly focussed around bug fixes largely to do with updating the styles. But I also added a couple of features. This was a shorter release from 0.4.0 as the changes weren't as significant.

    Profile Handling

    I wanted a way to easily manage profiles, especially during development. With this release i've added a Profiles page, which allows you to Create new profiles, clone an existing profile, rename, and delete profiles. You can also set a profile as the default to be used when loading the app.

    A majority of the effort went into keeping the Profile Picker (the combobox that changes the active profile) and the profiles page in sync which was done using listeners. New listeners were created for DELETE,CREATE, and CHANGE events as other components needed to add their own listeners to the queue to make sure they were also kept in sync, but also to update styles etc when the profile changes.

     java
        
    
    public static
      
    Linux @lemmy.ml
    Matty_r @programming.dev

    eGPU docks?

    Hi all,

    Just wondering how progress is on eGPU docks? I want to upgrade my GPU at some point and thought it might be cool to put it in a dock and connect it to a laptop. The laptop has a couple thunderbolt ports.

    How's compatibility these days?

    Java @programming.dev
    Matty_r @programming.dev

    urChat v0.4.0 release

    Hello all,

    I'm here with an update to my IRC Client, now at version 0.4.0 (urChat Github Link). I decided to revive this project a few months ago because there was a few things that I wanted to finish, as well as wanting to get back into Java. All my previous posts are on Reddit (My IRC Client.. 9 years later.).

    This version was mostly concerned with customising the colours used for the various styles in the chat windows. The most difficult part was trying to find a balance with the defaults, but also making sure it wasn't a huge pain to try and get the colours and fonts just the way you want them.

    My first hurdle, really, was not having a gigantic list of Styles and I wanted something a bit more intuitive. What I landed on was a little preview window where you can right-click on each of the Styles, and customise it from there:

    • Font Preview

    ![Font Preview](https://

    Boost For Lemmy @lemmy.world
    Matty_r @programming.dev

    Joining this community appeared to not work when reopening

    I can search for it and it opens fine, but it results in 404 community not found when opening it under my subscriptions list.

    I notice it doesn't have the instance name like others do, which might another symptom of the underlying issue.