• 0 Posts
  • 22 Comments
Joined 1 year ago
cake
Cake day: June 5th, 2023

help-circle
  • Unless your initial recordings were lossless (they probably weren’t), recompressing the files with a lossless flag will only increase the size by a lot. Lossless video is HUGE, which is why almost no one actually records/saves it. What you’re probably looking for is visually lossless transcoding, where you do lose some data, but the difference is too small for most people to notice.

    My recommendations:

    1. Go to your recording software and change the setting to better compress your videos the first time around. Compressing once generally gives a better quality to size ratio than compressing twice. It’s therefore best if your recording software get it right first time, without you having to keep on recompressing your videos.
    2. When tinkering with encoding setting, trying to find what works best for you, it might be useful to install Identity to help you compare the original files and one or more transcoded version(s).
    3. Don’t try to recompress the audio; you’ll save very little space, and the losses in quality become perceptible much faster than video. When using ffmpeg, the “-c:a copy” flag should simply copy the original audio to the new file, without any change in quality or size
    4. I’d recommend taking some time to read through the ffmpeg encoding guides. H265 and AV1 are good for personal archiving, with AV1 providing better compression ratios at the cost of much slower encoding. You could also choose VP9, which is similar in compression ratio and encoding speed to h265.
    5. You’ll have to choose between hardware and software encoding. Hardware encoding can (depending on your specific hardware and settings) be 10-100x faster than software, but software generally gives better compression ratios at similar qualities. You should test this difference for yourself and see if the extra time is worth it for the extra quality. Do keep in mind that AV1 hardware encoding is only supported by some of the most recent GPU’s (rx7000 and rtx4000 from the top of my head). If you don’t have one of those GPU’s, you’ll either have to choose software encoding or pick a different codec.

  • Source: Gapminder, cited as source by the above graph as well

    Funny how much the graph changes when you have more than 1 data point per decade every decade. Almost makes me wonder whether the creator of the above graph was trying to paint a certain picture instead of presenting raw data in a way that makes it easier to grasp, without bias.

    Notice the inflection point where Mao implements the “great leap forward”. Also notice other countries’ similar rates of increasing life expectancy in the graph below, just without the same ravine around 1960.

    I’m sorry, but I have to disagree with (what I think to be) your implicit claim that Mao somehow single-handedly raised China’s life expectancy through the power of communism or whatever. Please do correct me if this wasn’t your implicit claim, and if you we’re either 1) yourself mislead by the graph you shared, or 2) you have some other claim entirely that is somehow supported by said graph.



  • Luxury! My homeserver has an i5 3470 with 6GB or RAM (yes, it’s a cursed 4+2 setup)! </badMontyPythonReference>

    Interesting, I also run Nextcloud and pihole, and vaultwarden, jellyfin, paperless-ngx, gitea, vscode-server and a minecraft server (every now and then).

    You’re right that such a system really does show its age, but only when doing multiple intensive tasks at the same time. I try not to backup my photos to Nextcloud while running minecraft, for example, as the imagine identification task pins my CPU at 100%. So yes, I agree, you’re probably not doing anything out of the ordinary on your setup.

    The point I was trying to make still stands though, as that pi 2B could run more than I would’ve expected beforehand. I believe it once even ran jellyfin, a simple file server, samba, and a webserver with a simple HTML website. Jellyfin worked just fine, as long as the pi didn’t have to transcode (never got hardware transcoding to work).

    It is funny that you should run out of memory, seeing as everything fits (albeit, just barely) on my machine in 1/5 the memory. Would de overhead of running VM’s account for such a large difference?


  • Coming from someone who started selfhosting on a pi 2B (similar-ish specs), you’d be surprised. If you don’t need anything fast or fancy, that 1GB will go a long way, and plenty of selfhosted apps require very little CPU. The only real problem I faced was that all HTTPS-related network tasks were limited at ~3MB/s, as that is how fast my pi could encrypt the data (presumably, I just saw my webserver utilising the entire CPU and figured this was the most likely explanation)


  • I’ve had good experiences with whisper.cpp (should be in the AUR). I used the large model on my GPU (3060), and it filled 11.5 out of the 12GB of vram, so you might have to settle for a lower tier model. The speed was pretty much real time on my GPU, so it might be quite a bit slower on your CPU, unless the lower tier models are also a lot faster (never tested them due to lack of necessity).

    The large model had pretty much perfect accuracy (only 5 or so mistakes in ~40 pages of transcriptions), and that was with Dutch audio recorded on a smartphone. If it can handle my pretty horrible conditions, your audio should (hopefully) be no problem to transcribe.


  • It depends what you’re optimising for. If you want a single (relatively small) download to be available on your HDD as fast as possible, then your current setup might be better (optimising for lower latency). However, if you want to be maxing out your internet speeds at all time and increase your HDD speeds by making the copy sequential (optimising for throughput), then the setup with the catch drive will be better. Keep in mind that a HDD’s sequential write performance is significantly higher than its random write performance, so copying a large file in one go will be faster than copying a whole bunch of random chunks in a random order (like torrents do). You can check the difference for yourself by doing a disk benchmark and comparing the sequential vs random writes of your drive.


  • Maxy@lemmy.blahaj.zonetoSelfhosted@lemmy.worldData HDD with SSD catch drive
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    2 months ago

    qBittorrent has exactly the option you’re looking for, I believe it’s called “incomplete download path” in the settings, letting you store incomplete downloads at a temporary path and moving them to their regular location when the download finishes. Aside from the download speed improvement, this will also lead to less fragmentation on your HDD (which might be part of the reason why it is so slow when downloading directly to it). Pre-allocating space could have the same effect, but I would recommend only using one of these two solutions at once (pre-allocating space on your SSD would only waste space)


  • Yes, some minor formatting changes occur when opening a docx file in libreoffice. Hardly sounds like a deal breaker to me. And yes, you do get a pop-up when saving to docx in libreoffice (with the toggle to disable the pop-ups right there in the message). Microsoft office does the exact same thing when saving to an odt file though:

    Once again, if you have to collaborate with office-users (and you cannot deal with the horror of having a different amount of space between the items), just use office online. How many times do I have to repeat myself?

    Let me guess you’re someone who works in IT and never had a typical “office job” that includes spending 90% of your time writing reports and pushing spreadsheets around.

    1. No, I do not work in IT, nor do I aspire to work in IT. I’m just a regular PC-user, who just so happens to have other opinions than you do. HOW DARE I?!?
    2. Wouldn’t IT-workers of all people know what the more optimized editors are?

    This is why you don’t get it, you’re not the typical user of MS Office and you don’t share the same use cases the OP, the article author and myself share.

    1. The article you shared was talking about gaming, the adobe creative suite, virtual machines, electrical engineers, labs, architects and sysadmins/developers. Please don’t try to claim that the article author and OP ever had “the same use cases”.
    2. I guess you are finally correct though, I’m indeed not the typical user of MS Office (thank god). The typical user pays $70 a year just to edit word docs, while calling the family tech support each time they try to add a horizontal page in word. If your use case is being trapped into a proprietary office solution, where you have to provide a reason before microsoft allows you to shut down your onedrive, where all your documents are saved in a mythical “cloud”, then I am glad that our use-cases differ.
    3. I hope you see the irony of you using markdown in a comment describing why I am “out of touch” for using markdown.

    If you want to use windows, that’s fine. But please don’t share such blatantly ignorant articles, and don’t try to defend them when multiple people point out why it is wrong about so many things.

    I probably won’t reply to your next reaction (should there be any) unless you come up with some actual arguments, instead of “the line spacing is broken, you’re out of touch, not me”.


  • Yes, libreoffice doesn’t really work for live collaboration. But office online is a good solution for that collaboration, and it works in any browser (including Firefox on Linux). Therefore, the author’s conclusion (you need windows to collaborate on word docs) is still wrong.

    I personally also believe that WYSIWYG editors are highly overrated: markdown is significantly better for note-taking and similar small documents, and reports would often be better off with LaTeX or something similar. But I understand why the “4 commands is too much hassle to install VirtualBox” crowd might prefer word.


  • Maxy@lemmy.blahaj.zonetoLinux@lemmy.mlSell Me on Linux
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    11 months ago

    People who need MS Office because once you have to collaborate with others Open/Libre/OnlyOffice won’t cut it;

    I use office almost daily, Libreoffice is fine for local editing and office online works if I have to collaborate.

    People that just installed a password manager (KeePassXC) and a browser (Firefox/Ungoogled) via flatpak only to find out that the KeePassXC app can’t communicate with the browser extension because people are “beating around the bush” on GitHub instead of fixing the issue;

    I simply installed the Bitwarden extension in Firefox and it worked flawlessly. I’m not quite sure why you would want a desktop app for a password manager (never needed this even on windows), but if you do, basically distro ships a regular Firefox package which will work just as on windows.

    Anyone who wants a simple Virtual Machine and has to go thought cumbersome installation procedures like this one just to get error messages saying virtualization isn’t enable when, in fact, it is… or trying to use GNOME Boxes and have a sub-par virtualization experience;

    4 commands doesn’t seem that cumbersome, it can quite literally be done in 30 seconds. Add to this the fact that it will be updated together with all other apps managed by you package manager, which is incomparably faster compared to windows update (or even most apps’ integrated self-updater)

    My experience with gnome boxes was also one of the most hassle-free one ever when working with virtualisation. Worked without advanced setup on a very low-end laptop (i3 4th gen, 4gb DDR3), so I’m not quite sure what would be “sub-par”.

    Designers because Adobe apps won’t run properly without having a dedicated GPU, passthrough and a some hacky way to get the image back into your main system that will cause noticeable delays;

    Adobe doesn’t have a monopoly on design software. I’m not an artist though, so it could be true that the Linux alternatives aren’t full replacements. I would like to point out that, IIRC, Linus Media Group (a company with 100+ employees) uses macs for Adobe apps; windows would constantly crash, so even here the author’s conclusion (just buy a windows key) doesn’t hold up.

    Gamers because of the reasons above plus a flat 5-15% performance hit;

    In my experience running games though proton, this is more like a 5% difference in either direction. Native games generally run significantly better for me. Though I will admit this can depend on specific hardware and games (and proton has improved a lot over the years).

    People that run old software / games because not even those will run properly on Wine;

    Wine is actually starting to support an API which Microsoft has deprecated (https://www.phoronix.com/news/Wine-8.16-Released). These apps might only work on Linux in the future, not on windows anymore. I will admit that I’m not much of a retro gamer, and other API’s might be a different story.

    Developers and sysadmins, because not everyone is using Docker and Github actions to deploy applications to some proprietary cloud solution. Finding a properly working FTP/SFTP/FTPS desktop client (similar WinSCP or Cyberduck) is an impossible task as the ones that exist fail even at basic tasks like dragging and dropping a file.

    Want to start using a new language? Just apt install the new interpreter/compiler and start right away. Want to use sftp? Just type sftp into your terminal. Also, most regular file managers just support these protocols out of the box; not having to install a separate app to use these protocols sounds like a Linux win to me. Furthermore, when developing software intended for server use, linux is simply superior due to its similarity to the environment the software will eventually run on.

    Just to make it clear, I understand that Linux is not perfect for everyone. But this article appears almost wilfully ignorant to multiple facts. It almost sounds like the author tried Linux for 2 hours, had a single issue they couldn’t resolve during that time (probably nvidia related, which is nvidia’s fault), and decided to give up and write salty articles instead of seeking help.





  • If I understand your post correctly, you have 2 PC’s at home: one running wireguard, and one you want to wake using WoL. This is similar to my setup, where I have a server and a personal desktop. When I want to wake my PC remotely, I just ssh to the server and use the server to wake the desktop. Connecting to the server and telling it to wake your PC seems easier than trying to redirect your phone’s WoL app over wireguard.






  • To add to this with another example: my server runs

    • jellyfin
    • Nextcloud
    • gitea
    • Monica (a CRM, look it up on awesome-selfhosted)
    • vaulwarden (rust implementation of Bitwarden)
    • code-server
    • qBitTorrent-nox
    • authelia (2FA)
    • pihole
    • smbd
    • sshd
    • Caddy

    In total, I’m using about 1.5GB out of 6GB of RAM (with another 1GB out of 16GB of swap being used), and the idle CPU usage is only 1%-ish (i5-3470 with the BIOS-settings set to power saving).

    Even on very old and low-powered hardware, you can still run a lot of services without any problems.