@Max_P@lemmy.max-p.me avatar

Max_P

@Max_P@lemmy.max-p.me

Just some Internet guy

He/him/them 🏳️‍🌈

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Max_P,
@Max_P@lemmy.max-p.me avatar

I have none of that on my phone, just plain old keyboard.

But the reason it’s everywhere is it’s the new hot thing and every company in the world feels like they have to get on board now or they’ll be potentially left behind, can’t let anyone have a headstart. It’s incredibly dumb and shortsighted but since actually innovating in features is hard and AI is cheap to implement, that’s what every company goes for.

Max_P,
@Max_P@lemmy.max-p.me avatar

I think it can also get weird when you call other makefiles, like if you go make -j64 at the top level and that thing goes on to call make on subprojects, that can be a looooot of threads of that -j gets passed down. So even on that 64 core machine, now you have possibly 4096 jobs going, and it surfaces bugs that might not have been a problem when we had 2-4 cores (oh no, make is running 16 jobs at once, the horror).

[Bug] Does anyone else have problems with .mp4 videos?

Boost fails to open .mp4 for me. When I browse “All” there usually is some mp4 content, especially from … well … nsfw instances. Theese almost always fail and I see just black screen. Firefox on mobile opens it without a problem and so does Sync For Lemmy. Do you have this issue or is it just me? F.e. can you open this...

Max_P,
@Max_P@lemmy.max-p.me avatar

That file looks like it’s barely playable in general.

FFmpeg and MPV can’t play it at all:


<span style="color:#323232;">max-p@desktop ~ [123]>  mpv https://lemmynsfw.com/pictrs/image/f482b4d7-957a-4ed7-a9ec-0493907a8cb3.mp4
</span><span style="color:#323232;"> (+) Video --vid=1 (*) (h264 576x1024 30.000fps)
</span><span style="color:#323232;"> (+) Audio --aid=1 (*) (aac 1ch 44100Hz)
</span><span style="color:#323232;">File tags:
</span><span style="color:#323232;"> Comment: vid:v12044gd0000cp23h1vog65ukmo9lhkg
</span><span style="color:#323232;">Cannot load libcuda.so.1
</span><span style="color:#323232;">[ffmpeg] Cannot seek backward in linear streams!
</span><span style="color:#323232;">[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: stream 1, offset 0x30: partial file
</span><span style="color:#323232;">[lavf] error reading packet: Invalid data found when processing input.
</span><span style="color:#323232;">[ffmpeg] Cannot seek backward in linear streams!
</span><span style="color:#323232;">[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: stream 1, offset 0x30: partial file
</span><span style="color:#323232;">[lavf] error reading packet: Invalid data found when processing input.
</span><span style="color:#323232;">[ffmpeg] Cannot seek backward in linear streams!
</span><span style="color:#323232;">[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: stream 1, offset 0x30: partial file
</span><span style="color:#323232;">[lavf] error reading packet: Invalid data found when processing input.
</span><span style="color:#323232;">[ffmpeg] Cannot seek backward in linear streams!
</span><span style="color:#323232;">[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: stream 1, offset 0x30: partial file
</span><span style="color:#323232;">[lavf] error reading packet: Invalid data found when processing input.
</span><span style="color:#323232;">[ffmpeg] Cannot seek backward in linear streams!
</span><span style="color:#323232;">[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: stream 1, offset 0x30: partial file
</span><span style="color:#323232;">[lavf] error reading packet: Invalid data found when processing input.
</span><span style="color:#323232;">[ffmpeg] Cannot seek backward in linear streams!
</span><span style="color:#323232;">[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: stream 1, offset 0x30: partial file
</span><span style="color:#323232;">[lavf] error reading packet: Invalid data found when processing input.
</span><span style="color:#323232;">[ffmpeg] Cannot seek backward in linear streams!
</span><span style="color:#323232;">[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: stream 1, offset 0x30: partial file
</span><span style="color:#323232;">[lavf] error reading packet: Invalid data found when processing input.
</span>

VLC seems to be able to, but it complains that it’s not proper:


<span style="color:#323232;">max-p@desktop ~>  vlc https://lemmynsfw.com/pictrs/image/f482b4d7-957a-4ed7-a9ec-0493907a8cb3.mp4
</span><span style="color:#323232;">VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126b)
</span><span style="color:#323232;">[00005ca01d39d550] main libvlc: Lancement de vlc avec l’interface par défaut. Utiliser « cvlc » pour démarrer VLC sans interface.
</span><span style="color:#323232;">[00007ea2f413f5c0] mp4 stream error: no moov before mdat and the stream is not seekable
</span>

Some players are more generous in what they tolerate but the file is undoubtedly mildly corrupted.

Lemmy should not let people upload corrupted files in the first place.

Max_P,
@Max_P@lemmy.max-p.me avatar

Easiest for this might be NextCloud. Import all the files into it, then you can get the NextCloud client to download or cache the files you plan on needing with you.

Max_P,
@Max_P@lemmy.max-p.me avatar

I’d say mostly because the client is fairly good and works about the way people expect it to work.

It sounds very much like a DropBox/Google Drive kind of use case and from a user perspective it does exactly that, and it’s not Linux-specific either. I use mine to share my KeePass database among other things. The app is available on just about any platform as well.

Yeah NextCloud is a joke in how complex it is, but you can hide it all away using their all in one Docker/Podman container. Still much easier than getting into bcachefs over usbip and other things I’ve seen in this thread.

Ultimately I don’t think there are many tools that can handle caching, downloads, going offline, reconcile differences when back online, in a friendly package. I looked and there’s a page on Oracle’s website about a CacheFS but that might be enterprise only, there’s catfs in Rust but it’s alpha, and can’t work without the backing filesystem for metadata.

Max_P,
@Max_P@lemmy.max-p.me avatar

Paywalled medium article? I’ll pass.

Fuck employers that steal from their employees paychecks though.

Max_P,
@Max_P@lemmy.max-p.me avatar

The page just deletes itself for me when using that. It loads and .5 second later it just goes blank. They really don’t want people to bypass it.

Max_P,
@Max_P@lemmy.max-p.me avatar

You guys still use fstab? It’s systemd/Linux, you use mount units.

Max_P,
@Max_P@lemmy.max-p.me avatar

Yeah that’s what it does, that was a shitpost if it wasn’t obvious :p

Though I do use ZFS which you configure the mountpoints in the filesystem itself. But it also ultimately generates systemd mount units under the hood. So I really only need one unit, for /boot.

Max_P,
@Max_P@lemmy.max-p.me avatar

I forgot about that, I should try it on my new laptop.

Did I just solve the packaging problem? (please feel free to tell me why I'm wrong)

You know what I just realised? These “universal formats” were created to make it easier for developers to package software for Linux, and there just so happens to be this thing called the Open Build Service by OpenSUSE, which allows you to package for Debian and Ubuntu (deb), Fedora and RHEL (rpm) and SUSE and OpenSUSE (also...

Max_P,
@Max_P@lemmy.max-p.me avatar

The problem is that you can’t just convert a deb to rpm or whatever. Well you can and it usually does work, but not always. Tools for that have existed for a long time, and there’s plenty of packages in the AUR that just repacks a deb, usually proprietary software, sometimes with bundled hacks to make it run.

There’s no guarantee that the libraries of a given distro are at all compatible with the ones of another. For example, Alpine and Void use musl while most others use glibc. These are not binary compatible at all. That deb will never run on Alpine, you need to recompile the whole thing against musl.

What makes a distro a distro is their choice of package manager, the way of handling dependencies, compile flags, package splitting, enabled feature sets, and so on. If everyone used the same binaries for compatibility we wouldn’t have distros, we would have a single distro like Windows but open-source but heaven forbid anyone dares switching the compiler flags so it runs 0.5% faster on their brand new CPU.

The Flatpak approach is really more like “fine we’ll just ship a whole Fedora-lite base system with the apps”. Snaps are similar but they use Ubuntu bases instead (obviously). It’s solving a UX problem, using a particular solution, but it’s not the solution. It’s a nice tool to have so developers can ship a reference environment in which the software is known to run well into and users that just want it to work can use those. But the demand for native packages will never go away, and people will still do it for fun. That’s the nature of open-source. It’s what makes distros like NixOS, Void, Alpine, Gentoo possible: everyone can try a different way of doing things, for different usecases.

If we can even call it a “problem”. It’s my distro’s job to package the software, not the developer’s. That’s how distros work, that’s what they signed up for by making a distro. To take Alpine again for example, they compile all their packages against musl instead of glibc, and it works great for them. That shouldn’t become the developer’s problem to care what kind of libc their software is compiled against. Using a Flatpak in this case just bypasses Alpine and musl entirely because it’s gonna use glibc from the Fedora base system layer. Are you really running Alpine and musl at that point?

And this is without even touching the different architectures. Some distros were faster to adopt ARM than others for example. Some people run desktop apps on PowerPC like old Macs. Fine you add those to the builds and now someone wants a RISC-V build, and a MIPS build.

There are just way too many possibilities to ever end up with an universal platform that fits everyone’s needs. And that’s fine, that’s precisely why developers ship source code not binaries.

Max_P,
@Max_P@lemmy.max-p.me avatar

My experience with AI is it sucks and never gives the right answer, so no, good ol’ regular web search for me.

When half your searches only gives you like 2-3 pages of result on Google, AI doesn’t have nearly enough training material to be any good.

Why Danielle Smith Is Wrong on Research Funding in Alberta (thetyee.ca)

Last month Alberta Premier Danielle Smith tabled Bill 18, the Provincial Priorities Act, in the provincial legislature. If passed into law, the bill will give the Alberta government power to vet any agreements between the federal government and post-secondary institutions, and other “provincial entities.”...

Max_P,
@Max_P@lemmy.max-p.me avatar

Totally not setting up a loophole to dictate what gets researched and making sure no inconvenient things gets discovered that would contradict the province’s agenda and local industries negatively.

Max_P,
@Max_P@lemmy.max-p.me avatar

If you want FRP, why not just install FRP? It even has a LuCI app to control it from what it looks like.

OpenWRT page showing the availability of FRP as an app

NGINX is also available at a mere 1kb in size for the slim version, full version also available as well as HAproxy. Those will have you more than covered, and support SSL.

Looks like there’s also acme.sh support, with a matching LuCI app that can handle your SSL certificate situation as well.

How much does it matter what type of harddisk i buy for my server?

Hello, I’m relatively new to self-hosting and recently started using Unraid, which I find fantastic! I’m now considering upgrading my storage capacity by purchasing either an 8TB or 10TB hard drive. I’m exploring both new and used options to find the best deal. However, I’ve noticed that prices vary based on the specific...

Max_P,
@Max_P@lemmy.max-p.me avatar

The concern for the specific disk technology is usually around the use case. For example, surveillance drives you expect to be able to continuously write to 24/7 but not at crazy high speeds, maybe you can expect slow seek times or whatever. Gaming drives I would assume are disposable and just good value for storage size as you can just redownload your steam games. A NAS drive will be a little bit more expensive because it’s assumed to be for backups and data storage.

That said in all cases if you use them with proper redundancy like RAIDZ or RAID1 (bleh) it’s kind of whatever, you just replace them as they die. They’ll all do the same, just not with quite the same performance profile.

Things you can check are seek times / latency, throughput both on sequential and random access, and estimated lifespan.

I keep hearing good things about decomissioned HGST enterprise drives on eBay, they’re really cheap.

Max_P,
@Max_P@lemmy.max-p.me avatar

I mean, OPs distro choice didn’t help here:

EndeavourOS is an Arch-based distro that provides an Arch experience without the hassle of installing it manually for x86_64 machines. After installation, you’re provided with a lightweight and almost bare-bones environment ready to be explored with your terminal, along with our home-built Welcome App as a powerful guide to help you along.

If you want Arch with actual training wheels you probably want Manjaro or at least a SteamOS fork like Chimera/HoloISO.

It probably would have been much smoother with an actual beginner friendly distro like Nobara and Bazzite, or possibly Mint/Pop for a more classic desktop experience.

It’s not perfect and still has woes but OP fell for Arch with a fancy graphical installer, it still comes with the expectation of the user being able to maintain an Arch install.

Max_P,
@Max_P@lemmy.max-p.me avatar

EndeavourOS isn’t a gaming distro it’s just an Arch installer with some defaults. It’s still Arch and comes with Arch’s woes. It’s not a beginner friendly just works kind of distro.

Coming from kionite, you’d probably want Bazzite if you want a gaming distro: it’s also Fedora atomic with all the gaming stuff added.

Max_P,
@Max_P@lemmy.max-p.me avatar

It would be nice if they’d make “web” search the good old keyword search we used to have that made Google good, now that normies will just use the AI search and it doesn’t have to care about natural language anymore.

Max_P,
@Max_P@lemmy.max-p.me avatar

I must be lucky, works just fine for me with SDDM configured for Wayland only, autologin to a Wayland session.


<span style="color:#323232;">max-p@media ~ % cat /etc/sddm.conf
</span><span style="color:#323232;">[Autologin]
</span><span style="color:#323232;">User=max-p
</span><span style="color:#323232;">Session=plasma
</span><span style="color:#323232;">#Session=plasma-bigscreen
</span><span style="color:#323232;">Relogin=true
</span><span style="color:#323232;">
</span><span style="color:#323232;">[General]
</span><span style="color:#323232;">DisplayServer=wayland
</span>
Max_P,
@Max_P@lemmy.max-p.me avatar

Arch. That leads me to believe it’s possibly a configuration issue. Mine is pretty barebones, it’s literally just that one file.

AFAIK the ones in sddm.conf.d are for useful because the GUI can focus on just one file without nuking other user’s configurations. But they all get loaded so it shouldn’t matter.

The linked bug report seems to blame PAM modules, kwallet in particular which I don’t think I’ve got configured for unlock at login since there’s no password to that account in the first place.

Improving privacy on lemmy

Lemmy admin should add option in the account settings for hiding your username from your posts/comments, and hiding your profile from the public, so noone would be able to see all of your posts in your profile page, and even if someone is using a tool for scrapping posts, they wouldn’t be able to link the posts to 1 user,...

Max_P,
@Max_P@lemmy.max-p.me avatar

ActivityPub makes this impossible. Everything on the fediverse is completely public, including votes, subscriptions and usernames. Even if Lemmy did offer the option, other servers wouldn’t necessarily.

And honestly this is a system that would be mainly used for spam and hate speech anyway. Just make a throwaway like everywhere else.

Max_P,
@Max_P@lemmy.max-p.me avatar

Kbin is an example. But just due to the nature of the protocol, it has to be stored somewhere but Lemmy also just lets admins view all the individual votes directly in the UI.

Max_P,
@Max_P@lemmy.max-p.me avatar

What other OS could you upgrade like that?

Fedora Atomic / uBlue

Max_P,
@Max_P@lemmy.max-p.me avatar

Still report as well, it sends emails to the mods and the admins. Just make sure it’s identifiable at a glance, like just type “CSAM” or whatever 1-2 words makes sense. You can add details after to explain but it needs to be obvious at a glance, and also mods/admins can send those to a special priority inbox to address it as fast as possible. Having those reports show up directly in Lemmy makes it quicker to action or do bulk actions when there’s a lot of spam.

It’s also good to report it directly into the Lemmy admin chat on Matrix as well afterwards, because in case of CSAM, everyone wants to delete it from their instance ASAP in case it takes time for the originating instance to delete it.

Max_P,
@Max_P@lemmy.max-p.me avatar

That’s fine to do once you’ve reported it: you’ve done your part, there’s no value still seeing the post it’s gonna get removed anyway.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • kavyap
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • ngwrru68w68
  • Youngstown
  • everett
  • slotface
  • rosin
  • ethstaker
  • Durango
  • GTA5RPClips
  • megavids
  • cubers
  • modclub
  • mdbf
  • khanakhh
  • vwfavf
  • osvaldo12
  • cisconetworking
  • tester
  • Leos
  • tacticalgear
  • anitta
  • normalnudes
  • JUstTest
  • All magazines