How to get windows to not do disk checking or ruin my bootloader when i add a linux partition on the same drive. I don't like the windows panicking when there is a linux partition on it and doing a variety of things, even if its not on the same ssd it STILL does disk checking but I have not seen anything worse than that on the same partition, but I need the space.

Dunno if this belongs in the linux subreddit but I mean if there is any way i can hide linux that could also work.

[–] [S] 3 points 2 months ago (1 child)

My use case is an expo, we have a game people can play on display and I'm doing things on my main screen, ideally I can continue doing work while people try the game but at the bare minimum I would like the keyboard to he restricted to that app.

  • source
  • parent
  • context
  • [–] [S] 1 point 2 months ago (1 child)

    My use case is an expo, we have a game people can play on display and I'm doing things on my main screen, ideally I can continue doing work while people try the game but at the bare minimum I would like the keyboard to he restricted to that app.

  • source
  • parent
  • context
  •  

    I just finished making a site, it has multiple ways emails are stored, I made a n8n workflow that gets the stored emails, checks if it has not been added onto a spreadsheet before, deduplicates it, then adds it to a spreadsheet. This workflow runs anytime a new email is submitted. This is my first time using n8n, is this dangerous? in the sense that having a n8n workflow that can be triggered directly by users, can it cause massive usage spikes in memory, etc very easily when its dependent on what a user can do? even if i ratelimit it, because I dont know the overhead n8n has, it takes a minute for the workload to finish also.

     

    This is like a bunch of months late, but I am curious what people here thinks about steams new AI disclosure policy, which I think requires you to disclose or refrain from making AI content that is consumable, e.g the player sees and interacts with, whereas anything on the backend does not need to be disclosed, I know people are upset steam didn't push for a complete disclosure, but imo I agree with this approach, if anyone uses it for asset generate, i think thats prohibited given they previously took down a game for potential copyright violations, but for things you can interact with, those are like the first thing that can appear as bugs which could very quickly fill steam up with slop/buggy games, but for stuff less visible, I don't know, I guess wont matter as much? I worked on a few singleplayer games in the past (nothing on steam, also i did not use ai then). So I don't know is it an important distinction? I don't think i would be in favor with steam forcing people to disclose ALL uses of AI, like if its used appropriately like a tool, because too alot of people its all the same with no nuance, but thats just my opinion.

    In other very late news, pre-generated content and live-generated content is an important distinction with steam, with live-generated having much more scrutiny and being banned for any 18+ content, this makes sense for me, I don't think anyone would disagree with this, but if anyone has any thoughts on this I am curious on what they are.

     

    Is there any good courses that cover the more technical aspects of backend development? Here are some examples, not even limited to this, but I want to hear more than the basics and also some security things to look out for in like a yt video or something, potentially includes, CORS, Cookies, JWT, server side sessions, server side rendering, websockets, server side events, html patterns (e.g the backend returning html components to be place into the browser). Status Codes, GET and POST, GRPC, file transfers.

     

    Is there any good courses that cover the more technical aspects of backend development? Here are some examples, not even limited to this, but I want to hear more than the basics and also some security things to look out for in like a yt video or something, potentially includes, CORS, Cookies, JWT, server side sessions, server side rendering, websockets, server side events, html patterns (e.g the backend returning html components to be place into the browser). Status Codes, GET and POST, GRPC, file transfers.

    submitted 6 months ago* (last edited 6 months ago) by to c/artificial_intel@lemmy.ml
     

    I could not fit everything i wanted to ask in the title, and the title probably needs some explanation. So to preface, I dont use AI code much, I have several projects which I taken effort to have 0% AI code, but I was wondering, because I do have certain tools, e.g a timetable editor supposed to make a timetable in a specific format i liked, or something that generates or give me a links of docs in a specific way, that I had generated, I also had projects which I tried using it for snippets, boilerplate and explanations. But I was wondering, where would be like, the best balance between human and AI code be, or rather how would you reclaim it in a sense, or improve your learning while also being efficient or also be knowledgeable enough about your code that you are a suitable person to maintain it.

    Like, is it the second you read such code and try to understand it, you have the understanding but you completely lost most learning? Also would you potentially be locked into bad design choices by AI. What if you just looked at the inputs of the programs or the outputs and tried to recreate from that. Or what if you asked it what libraries to use, and you use those, would you have deprived yourself significantly of some level of understanding by having the design and architecture handing too you, even if you do the rest of the coding, and finally what if you memorized enough of the code to the point you can recreate it, and maybe apply it in different contexts a bit. Also would it be worth sharing if i do understand such code that was made by the AI, or would i be contributing to Slop. Basically, can you use it, but still at the end of the day be suitable to maintaining that code and etc.

    Sorry if thats alot, anyways, curious to hear what people think, this could be useful for me in the future.

     

    Currently I have only one laptop, I use it for everything and it has an nvidia gpu and a 11th Gen Intel(R) Core(TM) i7-11800H. I have a mode which disables the GPU which i use when i am out and about. However I want to minimize battery use to a significant degree, so which out of the three should I have on? power-profiles-daemon or autocpu-freq or tlp, which is better for battery performance? I know ppd is configurable via desktop, so i have kde set to power saving mode, but I still want better if possible, is there something more i can be doing with ppd or would autocpu-freq or tlp work better?

     

    I am using rust, but this applies to many other languages, I get warnings like, dead code, unused variables, and etc, and while I remove most of them, there are some im not sure of, I like running my program and there being 0 warnings, or 0 warnings as i scroll down my code, so for things im unsure of, i mark them so the compiler doesn't put warnings there. I also add comments, starting with TODO:, it has some information about what to think about when i revisit it, also the todo's gets highlighed in my IDE with my extension, but is this bad practice?

    [–] [S] 1 point 7 months ago

    I tried the loopback devices, didnt work, at most i made a script that worked, but i want it to work for audacity:

    cat > ~/Music/record-desktop.sh << 'EOF'
    #!/bin/bash
    OUTPUT="${1:-$HOME/Music/Recordings/recording-$(date +%Y%m%d-%H%M%S).wav}"
    pw-record --target 0 "$OUTPUT" &
    PID=$!
    sleep 0.5
    pw-link bluez_output.30:50:75:16:40:A6:monitor_FL pw-record:input_FL
    pw-link bluez_output.30:50:75:16:40:A6:monitor_FR pw-record:input_FR
    echo "Recording to $OUTPUT (PID $PID) — press Enter to stop"
    read
    kill $PID
    echo "Done! Saved to $OUTPUT"
    EOF
    chmod +x ~/Music/record-desktop.sh
    
  • source
  • parent
  • context
  • [–] [S] 1 point 7 months ago

    I am not using any app like qpwgraph to make connections, all i know is that this script works:

    cat > ~/Music/record-desktop.sh << 'EOF'
    #!/bin/bash
    OUTPUT="${1:-$HOME/Music/Recordings/recording-$(date +%Y%m%d-%H%M%S).wav}"
    pw-record --target 0 "$OUTPUT" &
    PID=$!
    sleep 0.5
    pw-link bluez_output.30:50:75:16:40:A6:monitor_FL pw-record:input_FL
    pw-link bluez_output.30:50:75:16:40:A6:monitor_FR pw-record:input_FR
    echo "Recording to $OUTPUT (PID $PID) — press Enter to stop"
    read
    kill $PID
    echo "Done! Saved to $OUTPUT"
    EOF
    chmod +x ~/Music/record-desktop.sh
    

    as for everything else:

    
    [spiderunderurbed@daspidercave:~/Music]$ systemctl status --user pipewire-pulse.service 
    ● pipewire-pulse.service - PipeWire PulseAudio
         Loaded: loaded (/etc/systemd/user/pipewire-pulse.service; linked-runtime; preset: ignored)
        Drop-In: /nix/store/admlblh3rvzwjyhvgl8wf5fdr44iqmgc-user-units/pipewire-pulse.service.d
                 └─overrides.conf
         Active: active (running) since Thu 2026-02-26 18:55:45 NZDT; 23min ago
     Invocation: f234a6d525b844ba9ee769e0d46787ec
    TriggeredBy: ● pipewire-pulse.socket
       Main PID: 3143 (pipewire-pulse)
          Tasks: 3 (limit: 18874)
         Memory: 14.5M (peak: 20.7M, swap: 2.5M, swap peak: 2.5M, zswap: 472.1K)
            CPU: 1.618s
         CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
                 └─3143 /nix/store/z8pz8hz2psggqsws4n7mzbbdghpcxm71-pipewire-1.4.9/bin/pipewire-pulse
    
    Feb 26 18:55:45 daspidercave systemd[2666]: Started PipeWire PulseAudio.
    Feb 26 18:55:45 daspidercave pipewire-pulse[3143]: mod.protocol-pulse: vm.overrides in pulse.properties are deprecated, use pulse.properties.ru>
    Feb 26 18:55:45 daspidercave pipewire-pulse[3152]: pw.conf: execvp error 'pactl': No such file or directory
    Feb 26 18:55:45 daspidercave pipewire-pulse[3154]: pw.conf: execvp error 'pactl': No such file or directory
    
    [spiderunderurbed@daspidercave:~/Music]$ systemctl status --user pipewire-alsa
    Unit pipewire-alsa.service could not be found.
    [ble: exit 4]
    
    [spiderunderurbed@daspidercave:~/Music]$ systemctl status --user pipewire-alsa.service
    Unit pipewire-alsa.service could not be found.
    [ble: exit 4]
    
    [spiderunderurbed@daspidercave:~/Music]$ 
    
  • source
  • parent
  • context
  • [–] [S] 1 point 7 months ago (1 child)

    I managed to fix it for pw-record, I dont know how to get it working for audacity:

    cat > ~/Music/record-desktop.sh << 'EOF'
    #!/bin/bash
    OUTPUT="${1:-$HOME/Music/Recordings/recording-$(date +%Y%m%d-%H%M%S).wav}"
    pw-record --target 0 "$OUTPUT" &
    PID=$!
    sleep 0.5
    pw-link bluez_output.30:50:75:16:40:A6:monitor_FL pw-record:input_FL
    pw-link bluez_output.30:50:75:16:40:A6:monitor_FR pw-record:input_FR
    echo "Recording to $OUTPUT (PID $PID) — press Enter to stop"
    read
    kill $PID
    echo "Done! Saved to $OUTPUT"
    EOF
    chmod +x ~/Music/record-desktop.sh
    
  • source
  • parent
  • context
  • submitted 7 months ago* (last edited 5 months ago) by to c/linux@lemmy.ml
     

    I know this is application specific, but this relates to my overrall nix config i think, pipewire, wireplumber, all enabled. But I cannot record internal desktop audio, how do i fix this? is it a nix fix

    I set the recording device to pipewire, I heard the host device needed to be set to pipewire or smthin, but only alsa shows up. If any logs are needed tell me.

    EDIT: Not really solved but I found a script that worked for pw-record, now ideally I would like to fix it for audacity at some point, or just some other gui audio recorder

    cat > ~/Music/record-desktop.sh << 'EOF'
    #!/bin/bash
    OUTPUT="${1:-$HOME/Music/Recordings/recording-$(date +%Y%m%d-%H%M%S).wav}"
    pw-record --target 0 "$OUTPUT" &
    PID=$!
    sleep 0.5
    pw-link bluez_output.30:50:75:16:40:A6:monitor_FL pw-record:input_FL
    pw-link bluez_output.30:50:75:16:40:A6:monitor_FR pw-record:input_FR
    echo "Recording to $OUTPUT (PID $PID) — press Enter to stop"
    read
    kill $PID
    echo "Done! Saved to $OUTPUT"
    EOF
    chmod +x ~/Music/record-desktop.sh
    

    EDIT (2): Found a better script which autodetects the monitor:

    #!/bin/bash
    OUTPUT="${1:-$HOME/Music/Recordings/recording-$(date +%Y%m%d-%H%M%S).wav}"
    
    # Find the RUNNING monitor source
    MONITOR=$(pactl list short sources | awk '/monitor.*RUNNING/ {print $2}' | head -1)
    
    if [ -z "$MONITOR" ]; then
        echo "Error: no active monitor source found" >&2
        exit 1
    fi
    
    # Try to find a matching input (e.g. bluez mic matching same MAC as monitor)
    MAC=$(echo "$MONITOR" | grep -oP '[0-9A-Fa-f]{2}[_:][0-9A-Fa-f]{2}[_:][0-9A-Fa-f]{2}[_:][0-9A-Fa-f]{2}[_:][0-9A-Fa-f]{2}[_:][0-9A-Fa-f]{2}' | head -1 | tr '_' ':')
    MIC=$(pactl list short sources | grep -v monitor | awk -v mac="$MAC" '$0 ~ mac {print $2}' | head -1)
    
    # Fall back to first non-monitor non-suspended source
    if [ -z "$MIC" ]; then
        MIC=$(pactl list short sources | awk '!/monitor/ && /RUNNING|IDLE/ {print $2}' | head -1)
    fi
    
    echo "Recording desktop from: $MONITOR"
    echo "Recording to: $OUTPUT"
    echo "Press Ctrl+C to stop"
    
    if [ -n "$MIC" ]; then
        echo "Recording mic from: $MIC"
        ffmpeg -f pulse -i "$MONITOR" -f pulse -i "$MIC" \
            -filter_complex amix=inputs=2:duration=longest \
            "$OUTPUT"
    else
        echo "Warning: no mic found, recording desktop only"
        ffmpeg -f pulse -i "$MONITOR" "$OUTPUT"
    fi
    
    echo "Done! Saved to $OUTPUT"
    

    EDIT (3): found something that includes my mic:

    #
    #!/bin/bash
    OUTPUT="${1:-$HOME/Music/Recordings/recording-$(date +%Y%m%d-%H%M%S).wav}"
    
    MONITOR=$(pactl list short sources | awk '/monitor.*RUNNING/ {print $2}' | head -1)
    
    if [ -z "$MONITOR" ]; then
        echo "Error: no active monitor source found" >&2
        exit 1
    fi
    
    MAC=$(echo "$MONITOR" | grep -oP '[0-9A-Fa-f]{2}[_:][0-9A-Fa-f]{2}[_:][0-9A-Fa-f]{2}[_:][0-9A-Fa-f]{2}[_:][0-9A-Fa-f]{2}[_:][0-9A-Fa-f]{2}' | head -1 | tr '_' ':')
    MIC=$(pactl list short sources | grep -v monitor | awk -v mac="$MAC" '$0 ~ mac {print $2}' | head -1)
    
    if [ -z "$MIC" ]; then
        MIC=$(pactl list short sources | awk '!/monitor/ && /RUNNING|IDLE/ {print $2}' | head -1)
    fi
    
    echo "Recording desktop from: $MONITOR"
    echo "Recording to: $OUTPUT"
    echo "Press Ctrl+C to stop"
    
    if [ -n "$MIC" ]; then
        echo "Recording mic from: $MIC"
        ffmpeg -f pulse -i "$MONITOR" -f pulse -i "$MIC" \
            -filter_complex amix=inputs=2:duration=longest \
            "$OUTPUT"
    else
        echo "Warning: no mic found, recording desktop only"
        ffmpeg -f pulse -i "$MONITOR" "$OUTPUT"
    fi
    
    echo "Done! Saved to $OUTPUT"
    
    [–] 4 points 10 months ago

    Lots of appliances doesn't need to be smart, I agree, there are plenty borderline where I think there is some benifit, bulbs for example, I think things should be a lot more local, it's a shame people use cloud solutions instead of home assistant or how much telemetry these smart appliances are allowed to get.

  • source
  • parent
  • context
  • [–] 2 points 10 months ago (4 children)

    I disagree. I think that's far too extreme, there shouldn't be blanket bans because big tech ruins it for everyone, it harms stuff like minor indie creators or small buisnesses, that being said it needs to be HEAVILY regulated, like fridges should never have ads nor any smart appliance

  • source
  • parent
  • context
  • view more: next ›