• 0 Posts
  • 33 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.












  • It’s the reverse of what is more likely to happen: kids wanting to be an astronaut when they grow up, but then achieving nothing, which is way more likely than this: kid wants to achieve nothing, yet becomes an astronaut, a profession which only very select individuals can reach with less of effort. Having failed at his dream of not achieving anything, the astronaut is sad.


  • Laser@feddit.detoComic Strips@lemmy.worldXXX
    link
    fedilink
    arrow-up
    5
    ·
    8 months ago

    Millennial here, I see nothing exceptional about my made-up generation. Yeah we got fucked pretty bad I guess with 9/11, financial crash (remember occupy wall street?) but that’s nothing compared to what’s about to come, we were probably among the least impacted from COVID so at least there’s that.

    Being born a certain year doesn’t magically give you special distinct traits, this ain’t astrology.

    Boomer for me is a derogatory term for people with a very special mindset, independent of age. The rest IDGAF about.

    Though my favorite meme about generations is https://knowyourmeme.com/memes/30-year-old-boomer







  • In addition to what was already said - use Firefox instead of anything chromium-based - I think it’s equally important to stop using the services offered by big tech companies and not just try to keep using them on our terms. Google wants me to watch a ton of ads on YouTube? Fine, I’ll stop watching it. In fairness, on my smart TV, YouTube ads have been what I consider adequate, while Twitch can be a disaster. The alternatives already exist with Peertube and Owncast. Are they perfect yet? Far from it probably but there won’t be big improvements if nobody uses it.