kevincox

joined 4 years ago
MODERATOR OF
[–] kevincox@lemmy.ml 1 points 1 year ago (1 children)

I would probably just ignore the Makefile provided by upstream. It just copies files and installs dependencies.

I would take a look at existing python derivations in nixpkgs (ex a random one I picked) and try to modify it to work with your package. Once you have it working well you could even submit it to nixpkgs!

[–] kevincox@lemmy.ml 6 points 1 year ago* (last edited 1 year ago) (1 children)

With ansible you need to change the relevant step to use apt remove instead of apt install and to change the config file step in a step that removes the file.

Wait until you have 2 services that use the same resource. Now you need:

  1. When both are enabled the resource is set up.
  2. When either one is enabled the resource is still set up.
  3. When neither is configured the resource is removed.

Doing this with Ansible is a nightmare. And 99% of the time you don't even realize that you have this problem until your configs don't work for some reason.

[–] kevincox@lemmy.ml 2 points 1 year ago

Or a crazy idea, just post the text as text.

[–] kevincox@lemmy.ml 1 points 1 year ago (1 children)

I would try to avoid VP9. Hardware support is spotty and I suspect that new hardware is going to relatively quickly phase it out. AV1 is better in most circumstances except for a few devices that have hardware VP9 support but not AV1 (a few years of Android phones mostly). So unless you need a specific device you currently own to have hardware decoding support (only really matters if you are on battery for <=1080p content) just skip VP8.

[–] kevincox@lemmy.ml 1 points 1 year ago

I would avoid h265 if you prefer free (libre). The only real advantage it has over AV1 is that devices started shipping hardware decoding support a few years earlier. If you need that and care about file size/quality then yes, you may need to go h265. But otherwise I would lean towards AV1 (better quality) or h264 (basically 100% compatibility).

[–] kevincox@lemmy.ml 10 points 1 year ago* (last edited 1 year ago) (1 children)

My short opinion:

Video

h264 is the best option for compatibility. There have been free software encoders and decoders forever and IIRC all patents have expired. Basically every device you will encounter and every software system can play h264 videos and the encoders are fairly good.

AV1 is the best option for quality. It is completely free and is becoming widely supported. It will likely be supported for a long time as it is the first widely available high quality free codec. It is significantly better quality than h264 so will result in smaller files for the same quality or better quality for the same file size. Hardware decoding support has only really become common in devices that hit the market in the last few years. But most new devices will have hardware decoding.

Both of these are web-compatible as well which is nice.

Audio

Opus for lossy and FLAC for lossless are both some of the best codecs in their class, completely free and widely available. There are also both web-compatible.

[–] kevincox@lemmy.ml 1 points 1 year ago

This is the science we need.

[–] kevincox@lemmy.ml 1 points 1 year ago

Yes, I agree with your clarification of commonly in use terms.

[–] kevincox@lemmy.ml 1 points 1 year ago (3 children)

Often what happens is that when you sign up they also make an API call to their email list service. Then when you delete your account they remove you from their DB but often forget to remove you from the other services. This obviously isn't acceptable but often not intentional.

[–] kevincox@lemmy.ml 11 points 1 year ago

It really depends on the quality of software you are running? A SMTP, IMAP, Mumble, Photoprism, Jellyfin, bittorrent, Tor, Subsonic compatible server, who even remembers what else? Fine. One small Minecraft world? Boom you're dead.

[–] kevincox@lemmy.ml 21 points 1 year ago

"Mouse movement detected, please restart for changes to take effect."

[–] kevincox@lemmy.ml 10 points 1 year ago (2 children)

Although the Android kernel is slightly customized isn't it? I thought it exposed a few extra syscalls. How do these work on Waydroid?

view more: ‹ prev next ›