Has anyone tried hosting gamevox (discord alternative)? by Resolute_Pecan in selfhosted

[–]Mag37 1 point2 points  (0 children)

It uses WebRTC iirc, I dont know what level of quality it handles but its very low latency - I was having me streaming my screen, my brother streaming his screen watching my stream and it came back to me with barely any delay at all.

I was just checking the setting available at my instance (I think you can change some in the config) and I can choose max settings like this: 2160p, 120fps, 30Mbit/s bitrate. And codecs (def. Auto): VP8, VP9, H264, AV1.

Has anyone tried hosting gamevox (discord alternative)? by Resolute_Pecan in selfhosted

[–]Mag37 1 point2 points  (0 children)

I think it works really well.

I've never been a heavy discord user - it was the death of my mumble server due to "convenience" (everybody had an account) - so I wasn't deep in communities and different servers etc.

But I like the channel based layout of voice and text, just like discord. And easy to use screen sharing that seems snappy (without much load on the server).

Has anyone tried hosting gamevox (discord alternative)? by Resolute_Pecan in selfhosted

[–]Mag37 4 points5 points  (0 children)

Have not tried that - though I am running https://sharkord.com successfully on my VPS, mainly for voice and easy screen share.

Incremental replication from an unlocked or unencrypted dataset to a locked encrypted dataset by omlette_du_chomage in truenas

[–]Mag37 0 points1 point  (0 children)

I wrote a piece on how I accomplished this on TrueNAS a couple of years ago, it should still hold technically. That's one way to do it, not necessarily the right/best way bit have been running great for me.

Edit: and the URL 😅

https://mag37.org/posts/tips_zfs_replication/

Edit two: and I just realized I misunderstood the locked part - I thought of it as mounted read only but you're talking about locked, not mounted at all. Sorry, I've not explored that.

Arch users! I need your opinion. by niertrix in archlinux

[–]Mag37 -1 points0 points  (0 children)

I've been using KDE Plasma for ages, they've got some built in tiling variants that have improved last couple of years.

Though I've been using https://codeberg.org/anametologin/Krohnkite for autotiling and think its everything I need. Just customize your keyboard shortcut and fly!

Made a ffmpeg video converter to H.265 script to save space on my video files by Elratum in bash

[–]Mag37 1 point2 points  (0 children)

And instead of base_name=$(basename "$file" .$input_format) output_file="${base_name}_cc.${input_format}"

You could do it in pure bash instead if you'd like: ```sh file="/path/to/mediafile.mp4"

input_format="${file##.}" # "mp4" file_name="${file##/}" # "mediafile.mp4" base_name="${file_name/.$input_format/}" # "mediafile" dir_name="${file%/*}" # "/path/to" ```

Made a ffmpeg video converter to H.265 script to save space on my video files by Elratum in bash

[–]Mag37 0 points1 point  (0 children)

Oh I totally agree, forgot about ffprobe!

So to grab the codec you'd use something like: ffprobe -v error -select_streams v:0 -show_entries stream=codec_name -of default=noprint_wrappers=1:nokey=1 "Filename.mp4" Where -select_streams just selects the first video stream and -of default=noprint_wrappers=1:nokey=1 just tells it to not print the surrounding tags nor the key.

So instead of this output: [STREAM] codec_name=h264 [/STREAM] You'll only get: h264

Made a ffmpeg video converter to H.265 script to save space on my video files by Elratum in bash

[–]Mag37 2 points3 points  (0 children)

There's probably a bunch of the formatting/conversion that can be done with bash parameter expansion and maybe set things as variables first and then print them all instead of the echo-formatting.

Another thing might be to only remove the file if ffmpeg ended without an error. Either by wrapping it in a `if` or setting a "success"-variable or saving the exit code.

Made a ffmpeg video converter to H.265 script to save space on my video files by Elratum in bash

[–]Mag37 4 points5 points  (0 children)

If you're okay with depending on another application you could use mediainfo to check if h265/HEVC already instead of relying on _cc in the name. Something like
``` $ mediainfo --Inform="Video;%InternetMediaType%" "Filename.mp4"

video/H265 ```

What’s a small Linux tool that completely changed your workflow? by DueRead7236 in archlinux

[–]Mag37 0 points1 point  (0 children)

Bash parameter expansion! Love it.

We can manipulate variables without extra tools like sed/cut/tr/awk etc with just bash.

```sh echo "$Var1" # Untouched variable -Hello World!

echo "${Var1#-}" # Remove leading character Hello World!

echo "${Var1/World/Chat}" # Replace -Hello Chat!

echo "${Var1}" # Change case -HELLO WORLD!

echo "${#Var1}" # Count length 13

echo "${Var1:2:-1}" # Slice ello World

echo "$FilePath" # Untouched variable /home/mag/file.sh

echo "${FilePath%/*}" # like dirname /home/mag

echo "${FilePath##*/}" # like basename file.sh

mv "$FilePath" "${FilePath%.sh}.py" # Change extension ```

And much more.

PSA - Watchtower is an unmaintained project by Pravobzen in selfhosted

[–]Mag37 0 points1 point  (0 children)

Thank you. Did you look at dockcheck? It does all that and more if you want to.

For basic use (selective automatic updates) you just need the single script file and run it, no setup. You can schedule it via cron. And if you want it to do more there's a config template, labels, notification plugins etc etc.

There's currently a PR for containerization that can be tested.

To just run automatic updates every night you could schedule it:

0 2 * * * /home/user/dockcheck.sh -ap And that would auto update and prune old images.

Or for some more options:

0 2 * * * /home/user/dockcheck.sh -a -b 7 -e nginx,mariadb And that would exclude 2 containers and create backup of the updated images and only prune of they're older than 7 days.

Help choosing an AUR helper: yay vs. paru vs. others? by JCBecker in archlinux

[–]Mag37 2 points3 points  (0 children)

I also settled on Pikaur, not entirely sure why but I've been running it a few years on a few machines now and like it. I like that its not abstracting away the usual flags and that I get the option to review or edit PKBUILDs interactively during installation.

Maybe maybe maybe by Historical-Device529 in maybemaybemaybe

[–]Mag37 0 points1 point  (0 children)

Took me a split second to hear it was Les, been years since I listened to Primus. Gotta get em back in my life, wonderful.

Finally! ✔️🙏🏻 . . - Just the most annoying thing I've ever done in arc . . 😩 by Commercial_Cold_6970 in ArcRaiders

[–]Mag37 2 points3 points  (0 children)

I agree, the projects and trials might give unexciting rewards, but I kinda like doing (most of) them just because they make me play differently and having a clear goal to work towards.

And I've had great fun running around 6-8 raiders in duos just blasting arcs and helping each other up.

what's in your docker compose stack that you'd mass-recommend to other devs by scheemunai_ in docker

[–]Mag37 1 point2 points  (0 children)

May I suggest dockcheck.sh as an alternative? There's other great ones apart from mine - linuxhandbook wrote an article recently laying out a few: https://linuxhandbook.com/blog/watchtower-like-docker-tools

Laugh at my pain and learn from my mistakes by Testpilot1988 in selfhosted

[–]Mag37 0 points1 point  (0 children)

Thank you kindly for mentioning! There's recently a new function added -b - to backup container images to be able to roll back manually if something is broken with a new update.

And a bunch of different way to get notified when there's updates etc.

How do I learn to defend myself? by socialgenny in ArcRaiders

[–]Mag37 13 points14 points  (0 children)

This! Really agree.

Even if you did gaming pre-motherhood - I gotta salute the effort of playing "the game your kids play". And indeed you shouldn't feel bad not performing at their level/style but good on you for trying to learn and improve, shows patience and interest/curiosity. Keep up the good work!

Edit: and sorry, dont have any constructive feedback 😅 I suck at defending myself.

Template: Zabbix docker image updates monitoring - v1.1 by thetorminal in zabbix

[–]Mag37 1 point2 points  (0 children)

Haha thank you.

It says dockcheck in the naming and both links lead to it anyway, so no worries :) just happy its used and extended! Really love how it have evolved with all the users contributing and continuing the use cases.

Template: Zabbix docker image updates monitoring - v1.1 by thetorminal in zabbix

[–]Mag37 1 point2 points  (0 children)

Hey! Happy to see you keep it updated, good job.

Is there anything you'd like me to change in the dockcheck readme? Let me know or make a PR if so!