• 0 Posts
  • 251 Comments
Joined 1 year ago
cake
Cake day: May 22nd, 2023

help-circle

  • It’s not that far-fetched, PDFs in my opinion are closer to vector graphics than to document formats like odt and docx. They have no understanding of format if not using advanced features, like a table in a PDF is just spaced text with lines between them, and text is just independently placed letters. In fact the space symbol doesn’t exist in most PDFs, it’s just that two letters were spaced further apart. So they basically are multiple canvases that are being painted on with letters, lines, fill areas and even bitmap graphics.

    Modern PDF actually does further in the direction of a document format by providing the content in a structured way, mostly for accessibility, but also for making the format suitable for automatic processing the contained data.


  • I don’t think that’s what’s happening. There’s no hard requirement for cat to read everything straight into memory. It can send data once it’s available, and the receiving process can read it as fast as it wants. There are cases where this might be more clear: Let’s say you have a big video file that you want to convert to something that only supports like y4m input and is not in ffmpeg. A common way is something like ffmpeg -i infile -f yuv4mpegpipe - | encoder --y4m outfile - I’m pretty sure ffmpeg won’t read the whole infile into memory, nor will it store the whole y4m representation in memory. Instead, it will decode infile as necessary and push into the pipe at the speed the encoder can handle.

    But yeah, I remember something about tar using libraries for compression being more efficient that piping its output to a compressor. So it’s still the better route, but probably not as much better as you think.


  • Then those containers or virtual machines should add this or create the home as needed.

    systemd has its own containers, so this is the implementation of that requirement; “virtual machines” might use this exact binary to create home, among other directories like srv and what not. Someone at one point probably said “we always need to create these when spinning up systems, maybe systems can provide a mechanism to do that for us?” and then it was implemented.

    Having/home listed as a tmp file on regular systems is problematic by the nature of what tmpfiles claims it does.

    systemd-tmpfiles claims the following:

    systemd-tmpfiles creates, deletes, and cleans up files and directories, using the configuration file format and location specified in tmpfiles.d(5). Historically, it was designed to manage volatile and temporary files, as the name suggests, but it provides generic file management functionality and can be used to manage any kind of files.

    I rather think having a purge command was the issue here, at the very least it should print a big fat warning at what it does, better even list all affected files and directories. There’s no reason a normal user needs this and with the name of the binary, it’s totally misleading, which is an issue in these situations.


  • E.g. for quick provisioning of containers or virtual machines, this is also to make sure the required directories always exist. In a normal distribution, /home already exists, so systemd-tmpfiles does nothing, but there are cases where you want to setup a standard directory structure and this is a declarative alternative to scripts with a lot of mkdir, chmod and chown.

    The name systemd-tmpfiles is kind of historic at this point, but wasn’t changed due to backwards compatibility and all.






  • This would be somewhat interesting if it wasn’t for the fact that most of the countries in BRICS had massive human rights issues themselves or weren’t otherwise problematic:

    Brazil: massive problems under Bolsonaro, luckily he’s no longer president

    Russia: was against Ukraine, Mafia gas station state, oppression of homosexuals. Assassinated Nationals on foreign soil.

    India: Hindu ethnostate with a caste system, also assassinated Nationals on foreign soil.

    China: destabilizing source that uses economic influence to sabotage Western ones through state-sponsored espionage and other measures. Oppression of religious groups (Uighur, abduction of Gedhun Choekyi Nyima…), massive surveillance of its own population…

    South Africa: actually probably the best of the bunch since apartheid ended though definitely not without issues

    If they want so much, they can have their own financial system, but no other country can be forced to participate. It’s just nose again to detract from their own crimes. Which is a shame because they’re important topics that are being hijacked by these assholes. Especially the point of “unilateral protectionist measures” by a group that China is a member of is morning but ridiculous.








  • Allerdings ist die Frage, ob diese Polder was geändert hätten und ob sie schon einsatzbereit gewesen wären.

    Ist es das wirklich? “Handeln damals hätte ja vielleicht eh nix gebracht” ist ein sehr schwaches Argument. Wäre der damalige Grund gewesen, dass die Lösungen bis zum Eintreffen einer Katastrophe nicht fertig seien, hätte man die Leute längst evakuieren müssen und wenn sie nicht ausreichend gewesen wären, andere Lösungen vorschlagen. Sich jetzt die Frage zu stellen ist etwas spät, die verantwortlichen Parteien sitzen seit Jahren dort auf den Posten und reden erst das Problem weg und verhindern dann mögliche “Lösungen” (die aber eigentlich auch nur die Auswirkungen abschwächen). Wenn einer besoffen in ein anderes Auto fährt stellt sich ja auch nicht die Frage ob das nüchtern nicht sowieso auch passiert wäre.