• 5 Posts
  • 41 Comments
Joined 2 years ago
cake
Cake day: June 28th, 2023

help-circle
rss









  • I think the best way to go about this would be adopting the CommonMark standard but adding/changing a couple things to really complete it:

    • anchors/heading identifiers

      • Creating a heading with a custom identifier:

      • Creating an anchor/heading identifier (clicking a link to an anchor would navigate the user to whatever block/paragraph contained the anchor):

        ## the name of my heading {#header-id}
        
        {#a-paragraph} Blah blah blah blah.
        
        {#list}
        - blah
        - blah
        - blah
        
      • Linking to an anchor/heading:

        Here's [a link](#list) to my list in my ["the name of my heading"](#header-id) section.
        
    • footnotes

      • Note: The part in brackets is the reference. The part at the bottom is the reference definition.

      • But we should have it so that if the reference definition is just a link, it’s treated as a link reference and presents as a normal link, but otherwise it’s treated like a citation and just navigates you to the reference definition.

      • Example:

        I learned about blank[^footnote] after i saw someone mention it on [Lemmy].`
        
        [Lemmy]: https://join-lemmy.org/
        
        [^footnote]: Author's name, Date accessed. Title. https://www.example.com/.
        
    • tables

    • in-line strikethrough

    • superscript

      • But something less ambiguous than normal^super is needed (notice how, normally, the notation for all in-line formatting is surrounding text with some special character(s)). Something like normal^super^ may be better.
    • subscript

      • Again, we should probably come up with something less ambiguous than normal_sub. Maybe something like normal_sub_? And yes, i know _text_ is sometimes used for italics instead of *text*, but that’s something that just needs to stop honestly.

  • However, getting people used to double extensions is one quick way of increasing the success rate of attacks such as the infamous “.pdf.exe” invoice from an email attachment.

    Very good point. Though, i would argue that this would be much less of a problem if Windows stopped sometimes hiding file extensions.

    I can’t see how Windows’ convention is worse

    I don’t believe what you’re referring to is really a Windows versus Linux/Unix thing.

    If I zip a file, it doesn’t matter what it was in a previous life, it’s now a zip - this is also how Unix deals with many filetypes, I’ve never seen a .h264.mp4 file, even though the .mp4 container can actually represent different types of encoding.

    I disagree, but i do get what you’re saying here. I don’t think that example really works though, because a .mp4 file isn’t derived from a .h264 file. A .mp4 is a container that may include h264-encoded video, but it may also have a channel with Opus-encoded audio or something. It’s apples and oranges.

    Also, even though there shouldn’t be any technical issues with this on Windows, you can still use a typical short filename suffix if you wish, though i would argue that using the long filename suffix is more expressive. From “tar (computing)” on Wikipedia:

    Compressor Long Short
    bzip2 .tar.bz2 .tb2, .tbz, .tbz2, .tz2
    gzip .tar.gz .taz, .tgz
    lzip .tar.lz
    lzma .tar.lzma .tlz
    lzop .tar.lzo
    xz .tar.xz .tx
    compress .tar.Z .tZ, .taZ
    zstd .tar.zst .tzst





  • The problem here being that GnuPG does nothing really well.

    Could you elaborate? I’ve never had any issues with gpg before and curious what people are having issues with.

    Unfortunately currently there aren’t many options to use AV1 in a very meaningful way; you can encode your own media with it, but that’s about it; you can stream to YouTube, but YouTube will recode to another codec.

    AV1 has almost full browser support (iirc) and companies like YouTube, Netflix, and Meta have started moving over to AV1 from VP9 (since AV1 is the successor to VP9). But you’re right, it’s still working on adoption, but this is moreso just my dreamworld than it is a prediction for future standardization.