GnuLinuxDude

joined 2 years ago
[–] GnuLinuxDude@lemmy.ml 2 points 5 hours ago

Accusing someone else of being me on an alternate account over a very low-stakes comment. Are you paranoid? Leave that shit back on Reddit.

[–] GnuLinuxDude@lemmy.ml 3 points 5 hours ago

I live in the USA. Supposedly I, and all of my countrymen, have access to all the free information in the world. Yet Trump is president. A literal anti-vaxxer is the HHS secretary. They're also trying to destroy the education department. Please reconcile that for me.

How does loading flash drives with "subversive media" do anything for anyone? This just sounds like a plan to export ewaste into another country.

[–] GnuLinuxDude@lemmy.ml 7 points 8 hours ago (11 children)
[–] GnuLinuxDude@lemmy.ml 8 points 1 day ago

We are literally watching ICE kidnap people in the USA with legal resident status and deporting them or transferring them to detention centers, and somehow people are downvoting you.

[–] GnuLinuxDude@lemmy.ml 4 points 1 day ago

This person's website got me motivated to start programming in Zig a few weeks ago. Love his website's design, too.

[–] GnuLinuxDude@lemmy.ml 2 points 3 days ago

The VM is Debian Linux with a basic XFCE UI (for a system tray + notification widget) via QEMU/KVM which I run through virt-manager. Most unnecessary packages are removed or not installed in the first place. This is so that I can browse the sites, again, in a fool-proof manner. I share a directory from my host OS to the VM, which mounts it on boot in the fstab. This prevents me from downloading into the guest VM's disk image and having to keep dealing with that file getting overly big. In the past I've done a Samba share but recently I've just been using direct shared memory/filesystem and that seems to work OK, too.

As a bonus to this setup, I can use Microsocks in the VM to also proxy a profile in Firefox to get VPN coverage in a specific Firefox profile. I use this when watching on streaming sites instead of trying to watch within the VM, since there is considerable overhead to doing that.

And that's it, really. My VPN killswitches the VM if it ever experiences a connection interruption. And Qbittorrent is set up to use the VPN interface, as well. I use the aforementioned automatic torrents management feature to sort things when they're done downloading.

I should state that there are some obvious downsides to this setup. The first is now I have to overcommit disk space and RAM to keep and run a guest VM. You want enough to be able to run updates and the software in the VM without running into a wall. The second is that there does seem to be a CPU penalty when downloading files (maybe it's because of the way I'm sharing the downloads directory into the VM with virtiofs?)

[–] GnuLinuxDude@lemmy.ml 7 points 3 days ago* (last edited 3 days ago) (2 children)

I have some beginner questions, for example: if I have the arr stack running in docker with a vpn, can I browse the internet non-anonymously on that same machine without compromising identifying details, assuming qbittorrent is configured to only move traffic through a VPN? (I’m wondering if I need a dedicated piece of hardware to run everything safely)

The answer to this question is you can setup a docker system (or podman) so that all the traffic in that pod (don't know the docker term for this) will route through the vpn. A good image to accomplish this easily and successfully is gluetun -- and it will only affect the traffic in the containers, not the rest of your computer.

Personally, my setup is much more like yours and it works fine for me, except I use a VM. So all the activity gets confined to the VM and that makes a bit idiot-proof. Using automatic management in the torrent client, completed torrents get put in the correct directory. You could combine this with Jellyfin if you desired.

My own problem with Jellyfin is if I ever use it for anything I want direct playback on all relevant devices, because my computer is not good enough for transcoding (and why waste the energy and time on on-demand transcoding, anyway?) so it requires some massaging of the data to get everything right. I only use it infrequently, practically on-demand. I don't use Jellyfin for myself.

[–] GnuLinuxDude@lemmy.ml 2 points 5 days ago

I mean you can just say that about any and every law or policy. No need to be so knee-jerk about it. The point I'm making is it isn't just posturing. It's not like a company pretending to promise to watermark their AI outputs; it's a government saying you must comply with new rule.

[–] GnuLinuxDude@lemmy.ml 11 points 5 days ago (2 children)

i guess the 90% marketing (re: linus torvalds) is working

[–] GnuLinuxDude@lemmy.ml 17 points 5 days ago (3 children)

A government policy isn’t just posturing because the state now has a rule to cite if they’re gonna issue you a fine or whatever the punishment is supposed to be. So you will either comply, or go underground or abroad. That’s a real consequence.

[–] GnuLinuxDude@lemmy.ml 13 points 1 week ago

The YT-DLP team by refusing to support DRM videos

If they did this they could be sued for the exact same reason Yuzu got sued: circumvention of DRM. That's a crime in the USA. Apparently.

[–] GnuLinuxDude@lemmy.ml 4 points 1 week ago (1 children)

Considering slavery is legal under the original constitution I would say “worker suppression” is DEFINITELY a founding principle of the US.

 

https://archive.is/H38tt

Mr. Wright has argued that there is a moral case for fossil fuels, saying they are crucial for alleviating global poverty and that moving too quickly to cut emissions risks driving up energy prices around the world. He has denounced efforts by countries to stop adding greenhouse gas to the atmosphere by 2050, calling that a “sinister goal.”

"Has there ever been an organization in human history that is dedicated, with such commitment, to the destruction of organised human life on Earth?" -- Noam Chomsky, 2017

 

When I first set up my web server I don't think Caddy was really a sensible choice. It was still immature (The big "version 2" rewrite was in beta). But it's about five years from when that happened, so I decided to give Caddy a try.

Wow! My config shrank to about 25% from what it was with Nginx. It's also a lot less stuff to deal with, especially from a personal hosting perspective. As much as I like self-hosting, I'm not like "into" configuring web servers. Caddy made this very easy.

I thought the automatic HTTPS feature was overrated until I used it. The fact is it works effortlessly. I do not need to add paths to certificate files in my config anymore. That's great. But what's even better is I do not need to bother with my server notes to once again figure out how to correctly use Certbot when I want to create new certs for subdomains, since Caddy will do it automatically.

I've been annoyed with my Nginx config for a while, and kept wishing to find the motivation to streamline it. It started simple, but as I added things to it over the years the complexity in the config file blossomed. But the thing that tipped me over to trying Caddy was seeing the difference between the Nginx and Caddy configurations necessary for Jellyfin. Seriously. Look at what's necessary for Nginx.

https://jellyfin.org/docs/general/networking/nginx/#https-config-example

In Caddy that became

jellyfin.example.com {
  reverse_proxy internal.jellyfin.host:8096
}

I thought no way this would work. But it did. First try. So, consider this a field report from a happy Caddy convert, and if you're not using it yet for self-hosting maybe it can simplify things for you, too. It made me happy enough to write about it.

 

For many, many years now when I want to browse a man page about something I'll type man X into my terminal, substituting X for whatever it is I wish to learn about. Depending on the manual, it's short and therefore easy to find what I want, or I am deep in the woods because I'm trying to find a specific flag that appears many times in a very long document. Woe is me if the flag switch is a bare letter, like x.

And let's say it is x. Now I am searching with /x followed by n n n n n n n n N n n n n n. Obviously I'm not finding the information I want, the search is literal (not fuzzy, nor "whole word"), and even if I find something the manual pager might overshoot me because finding text will move the found line to the top of the terminal, and maybe the information I really want comes one or two lines above.

So... there HAS to be a better way, right? There has to be a modern, fast, easily greppable version to go through a man page. Does it exist?

P.S. I am not talking about summaries like tldr because I typically don't need summaries but actual technical descriptions.

 

[2.1.0] - 2024-05-17

API updates

  • One config parameter added within the padding size. Config param structure size remains unchanged
  • Presets 6 and 12 are now pointing to presets 7 and 13 respectively due to the lack of spacing between the presets
  • Further preset shuffling is being discussed in #2152

Encoder

  • Added variance boost support to improve visual quality for the tune vq mode
  • Improve the tradeoffs for the random access mode across presets:
  • Speedup of 12-40% presets M0, M3, M5 and M6 while maintaining similar quality levels
  • Improved the compression efficiency of presets M11-M13 by 1-2% (!2213)
  • Added ARM optimizations for functions with c_only equivalent

Cleanup Build and bug fixes and documentation

  • Use nasm as a default assembler and yasm as a fallback
  • Fix performance regression for systems with multiple processor groups
  • Enable building SvtAv1ApiTests and SvtAv1E2ETests for arm
  • Added variance boost documentation
  • Added a mailmap file to map duplicate git generated emails to the appropriate author
1
submitted 1 year ago* (last edited 1 year ago) by GnuLinuxDude@lemmy.ml to c/av1@lemmy.ml
 

[2.0.0] - 2024-03-13

Major API updates

  • Changed the API signaling the End Of Stream (EOS) with the last frame vs with an empty frame
  • OPT_LD_LATENCY2 making the change above is kept in the code to help devs with integration
  • The support of this API change has been merged to ffmpeg with a 2.0 version check
  • Removed the 3-pass VBR mode which changed the calling mechanism of multi-pass VBR
  • Moved to a new versioning scheme where the project major version will be updated every time API/ABI is changed

Encoder

  • Improve the tradeoffs for the random access mode across presets:
  • Speedup presets MR by ~100% and improved quality along with tradeoff improvements across the higher quality presets (!2179,#2158)
  • Improved the compression efficiency of presets M9-M13 by 1-4% (!2179)
  • Simplified VBR multi-pass to use 2 passes to allow integration with ffmpeg
  • Continued adding ARM optimizations for functions with c_only equivalent
  • Replaced the 3-pass VBR with a 2-pass VBR to ease the multi-pass integration with ffmpeg
  • Memory savings of 20-35% for LP 8 mode in preset M6 and below and 1-5% in other modes / presets

Cleanup and bug fixes and documentation

  • Various cleanups and functional bug fixes
  • Update the documentation to reflect the rate control changes
 

https://github.com/yuzu-emu/yuzu

ICYMI, Yuzu settled with Nintendo for $2.4M and tl;dr said that Yuzu's primary purpose was to aid and abet piracy. Nintendo won outright.

https://twitter.com/OatmealDome/status/1764715696250843321

 

Does anyone know how to determine the level of grain synth used in an encoded video? I have .webms that I've encoded with ffmpeg and svt-av1 but I don't have that grain synth information anymore.

In fact it would be nice if I could just see any other information about an encoded video (rate factor, preset used, etc). These details don't appear when using mediainfo so I presume they are lost and unknowable. But grain synth occurs at decode time, so that should still be something I can figure out, right?

 

Huge improvements for AV1 users over the last stable HandBrake release.

 

I think with the weight of Apple finally behind AV1 it is as blessed of a format as anything can be. Sisvel be damned.

And, a new media engine now includes support for AV1 decode, providing more efficient and high-quality video experiences from streaming services.

I do not see AV1 encode support on this chip's announcement, however.

 

There are a lot of good improvements and fixes in this release. As a remorseful Nvidia on Linux user, I am extremely excited that GAMMA_LUT is finally making its debut in the Nvidia driver. This means I can actually try to use Gnome Wayland at night with the night shift feature, assuming other Wayland issues are also resolved.

view more: next ›