@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

Prometheus/VictoriaMetrics/Grafana are pretty good, had no issues with it and thereโ€™s an exporter for damn near anything. Theyโ€™re pretty easy to custom write too.

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

Note: do that from a live CD/USB or with the source drive mounted readonly. If you dd a mounted and used filesystem, youโ€™ll most likely end up with a corrupted and useless filesystem on the target.

Max_P, (edited )
@Max_P@lemmy.max-p.me avatar

Yes, block means block. What else would you expect?

Apparently thatโ€™s only true for the admin version, I stand corrected.

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

Huh, guess I mixed it up with the admin version of it.

That seems dubiously useful to me, if a user blocks lemmygrad they probably want none of it, not just hide the posts.

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

I get that you canโ€™t stop people from commenting on your posts but you can still filter it out from the results.

Mastodon is arguably easier to deal with since youโ€™re replying directly to someone, so the userโ€™s server can reject it and be done with it. On Lemmy it really should behave as if you blocked the user: just hide it from view. Simply because if youโ€™re on instance A, blocked instance is B and the community is on C, B has no problem posting to C as it doesnโ€™t know youโ€™ve blocked it on A. But even defederation doesnโ€™t address that either: you can reply to defederated users and theyโ€™ll never know for the same reason.

I think on this type of social media, not seeing it is the best you can do regardless.

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

They even used to be the best drivers, a long time ago when nobody cared about the graphics stack. Had ATI/AMD? You got the FGLRX proprietary driver and it was really bad.

12 years ago it was probably one of the least broken GPU drivers available. You actually got most of your GPUs capabilities.

Now with Intel and AMD going open-source, those are now the best drivers and NVIDIA is lagging behind and not keeping up with advancements in the Linux graphics stack. Hopefully the open driver and NVK catches up and brings everyone a good open-source NVIDIA experience so we can stop relying on the proprietary driver.

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

Yeah, if I see โ€œSteam Deck verifiedโ€, I expect the game to work 100% out of the box. Although I guess a โ€œplayableโ€ rating might have been more appropriate, but with online mode being so popular Iโ€™m sure there would be tons of complaints if Valve said it worked perfectly.

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

No but it does solve people not wanting to bother making an account for your effectively single-user self-hosted instance just to open a PR. I could be up and running in like 10 minutes to install Forgejo or Gitea, but who wants to make an account on my server. But GitHub, practically everyone has an account.

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

Thereโ€™s been a general trend towards self-hosted GitLab instances in some projects:

Small projects tend to not want to spin up infrastructure, but on GitHub you know your code will still be there 10 years later after you disappear. The same cannot be said of my Cogs instance and whatever was on it.

And overall, GitHub has been pretty good to users. No ads, free, pretty speedy, and a huge community of users that already have an account where they can just PR your repo. Nobody wants to make an account on some random dudeโ€™s instance just to open a PR.

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

The whole point is you can take the setup and maintenance time out of the equation, itโ€™s still not very appealing for the reasons outlined.

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

<span style="color:#323232;">25G     pictrs
</span><span style="color:#323232;">13G     postgres
</span><span style="color:#323232;">38G     total
</span>

Seems fairly reasonable to me

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