Tespia
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Zenoctate@lemmy.world to Programmer Humor@programming.dev · 22 days ago

Modern Font Requirements

lemmy.world

message-square
79
link
fedilink
6

Modern Font Requirements

lemmy.world

Zenoctate@lemmy.world to Programmer Humor@programming.dev · 22 days ago
message-square
79
link
fedilink
alert-triangle
You must log in or register to comment.
  • tiredofsametab@fedia.io
    link
    fedilink
    arrow-up
    0
    ·
    22 days ago

    reduce the flourishes and/or add more spacing between lines and it would be a lot more readable.

  • peto (he/him)@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    22 days ago

    See the problem with this is that even if I write code with this font, I can’t force people to read it in this font.

    • the_crotch@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      22 days ago

      You can if you paste it into a write protected pdf

      • ulterno@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        22 days ago

        The only real way to write protect it is by printing the pdf into pdf (making it a pdf of an image).

        • chiliedogg@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          21 days ago

          I wonder if this font would screw up ocr?

          • ulterno@programming.dev
            link
            fedilink
            English
            arrow-up
            0
            ·
            21 days ago

            Unless the OCR were made for this font, probably yes.

    • idunnololz@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      22 days ago

      Yes. The “problem”.

    • namingthingsiseasy@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      22 days ago

      Of course you can. Instead of committing the code to a repository, you just take screenshots of the everything and commit that instead.

      • CosmicTurtle0@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        22 days ago

        Settle down Satan.

        • tauren@lemm.ee
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          22 days ago

          And then you program a runtime that calls an AI to parse images and execute your code in real-time!

          • mormegil@programming.dev
            link
            fedilink
            arrow-up
            0
            ·
            18 days ago

            Related: https://stackoverflow.com/questions/5508110/why-is-this-program-erroneously-rejected-by-three-c-compilers

      • MostlyBlindGamer@rblind.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        22 days ago

        Are you my coworkers?

        • Owl@mander.xyz
          link
          fedilink
          arrow-up
          0
          ·
          22 days ago

          You just said that somebody is in desperate need of a beating

          • MostlyBlindGamer@rblind.com
            link
            fedilink
            English
            arrow-up
            0
            ·
            21 days ago

            Well, it’s not quite that bad, but it takes a special kind of person to send their very obviously visually impaired coworker screenshots instead of plaintext. And I know a few of them.

      • katy ✨@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        0
        ·
        22 days ago

        all code is written down in physical loose leaf notebooks

        • dream_weasel@sh.itjust.works
          link
          fedilink
          arrow-up
          0
          ·
          22 days ago

          That way you don’t need Gimp to make edits. I like it, very human!

        • IngeniousRocks (They/She) @lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          0
          ·
          22 days ago

          Hey that’s MY cursed python programming method… I wonder if I still have those books

          • Russ@bitforged.space
            link
            fedilink
            English
            arrow-up
            0
            ·
            21 days ago

            Oh, so that’s what those Python notebooks are that I’ve heard people talk about!

    • calcopiritus@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      22 days ago

      Many editors can read config files from a file in the repository itself. And oftentimes it has the highest priority. Just gotta know the IDE of your target and they have to click “trust this project”.

      • boonhet@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        22 days ago

        Just add it for VSCode and Jetbrains and you cover like 75-95% of devs

    • pewpew@feddit.it
      link
      fedilink
      arrow-up
      0
      ·
      22 days ago

      Pretty sure you can use the 𝓾𝓷𝓲𝓬𝓸𝓭𝓮 𝓬𝓱𝓪𝓻𝓪𝓬𝓽𝓮𝓻𝓼

      • jaybone@lemmy.zip
        link
        fedilink
        English
        arrow-up
        0
        ·
        22 days ago

        And then maybe you could use something like #define in C to map them back to valid characters? Not sure if there’s a good way to do that in other higher level languages.

  • enemenemu@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    22 days ago

    • communism@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      22 days ago

      In this case it’s because part of the joke is the quote tweet. You could also link to the tweet instead of a screenshot but then we need to connect to Musk’s servers at some point (even if through a proxy like nitter)

      • enemenemu@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        22 days ago

        Yes, but he could’ve copy pasted the title.

        You could’ve changed the main title to something like “programming the declaration of independence” or “programming like it’s 1750”

        He mocks op. The gag is not the font anymore.

        • Zenoctate@lemmy.worldOP
          link
          fedilink
          arrow-up
          0
          ·
          22 days ago

          True but I think showing the quoted tweet is better than just in the title cause it is part of the joke in the image.

          Title is normally used as a reaction or just simple text with some reference to the image

          • tauren@lemm.ee
            link
            fedilink
            English
            arrow-up
            0
            ·
            22 days ago

            I still think this format sucks because the punchline comes first.

        • Xavienth@lemmygrad.ml
          link
          fedilink
          arrow-up
          0
          ·
          22 days ago

          But this way gives credit to Josh for the joke

          • ulterno@programming.dev
            link
            fedilink
            English
            arrow-up
            0
            ·
            22 days ago

            Another way is to use a content extractor.

            So

            • the user will select the rectangular region to be extracted
            • Extractor will extract
              • Josh’s profile picture
              • “Josh”
              • The tick mark SVG
              • “@jpshycodes”
              • “Bro is coding …” - the comment text
              • Information that a frame is to be reproduced
              • Ryan Els’s profile picture
              • “Ryan Els”
              • The tick mark SVG again, but this time it will be deduplicated
              • “@RyanEls4”
              • “12h”
              • “Rate my …” - text for the comment inside the frame
              • The jpeg picture inside the frame (yes it’s a jpeg and not a PNG. IDK why. But look at it)

            Then it would convert it into a reproducible package which can then also match your colour scheme for background colour etc.

            Now just need to make such an extractor
            And a corresponding format in Lemmy to display it

    • Zenoctate@lemmy.worldOP
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      22 days ago

      Cause I reposted stole it from some other internet page

      I just usually download the image than a screenshot when posting

  • conditional_soup@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    22 days ago

    I… Somehow just realized that I can of course change my editor font. After three years in professional software dev.

    Any recommendations for maximizing readability?

    • The Ramen Dutchman@ttrpg.network
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      22 days ago

      Verdana.

      The I/l and O/o/0, 0/8/ø are all distinct, so are all the different kinds of brackets. Also, this isn’t a monospace font, so wide letters such as m and w are wide, instead of being squashed into an unreadable barcode.

      Letters aren’t meant to be monospace, and sans TUI nothing in computers still needs to be.

      If you do need one, ex. for TUI, I second JetBrains Mono!

      Also, Verdana is not a libre font, Noto Sans is a libre font that also has these properties, although code does look much better in Verdana to me.

      • ripcord@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        22 days ago

        Also, this isn’t a monospace font

        Oh no.

      • jaybone@lemmy.zip
        link
        fedilink
        English
        arrow-up
        0
        ·
        22 days ago

        You wouldn’t want mono space in languages where indentation matters?

    • AnarchistArtificer@slrpnk.net
      link
      fedilink
      English
      arrow-up
      0
      ·
      22 days ago

      https://www.codingfont.com/ is a fun, tournament style quiz that compares different monospace fonts. It’s far from comprehensive, but I found it useful to gauge what font features I find stylish and readable

      (For the record, my go-to font is Jetbrains Mono)

      • mcv@lemm.ee
        link
        fedilink
        English
        arrow-up
        0
        ·
        22 days ago

        That was fun. Apparently I’m a JetBrains Mono user. Of course it might be simply what I’m used to, because I’m a long time IntelliJ user. It wouldn’t surprise me if this is already my font.

      • JackbyDev@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        21 days ago

        I got Fira Code, which tracks, I’ve used it before. I use Comic Code though. (A monospace comic sans type font.)

      • SuperIce@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        22 days ago

        My go-to has been Fira Code for some time. Just did the test, and Fira Code was the winner. Jetbrains Mono was a close second for me though.

      • ᴍᴜᴛɪʟᴀᴛɪᴏɴᴡᴀᴠᴇ @lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        22 days ago

        Thanks, I got inconsolata. I’m not a coder but I’m going to use it for other things.

    • palordrolap@fedia.io
      link
      fedilink
      arrow-up
      0
      ·
      22 days ago

      It’s a bit vanilla but I like DejaVu Sans Mono 8pt in my terminal, which is where I edit scripts and things

      Curiously, I don’t think that looks quite as good at larger sizes, so I’ve been using Liberation Mono 9pt or 10pt elsewhere.

      Both of those have distinct glyphs for the usual easily confused candidates. Can’t be having my lowercase L’s and 1s looking similar.

    • hexagonwin@lemmy.sdf.org
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      22 days ago

      i always use the classic 6x13 or 8x16 font

    • SuperIce@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      22 days ago

      Fira Code is my go-to.

    • MonkeMischief@lemmy.today
      link
      fedilink
      arrow-up
      0
      ·
      22 days ago

      I’ve really enjoyed Monaspace as well as using Inter for my interfaces. Maybe you will too? :)

    • fibojoly@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      22 days ago

      Look up a good article on coding fonts and pick your camp! At the moment I have DejaVu installed but I’m not a purist. As long as it’s properly designed for this I’m happy. Ligatures are particularly nifty in some languages but no big deal. I recall one author picking a font so that the italics would be cursive rather than monospace, so that his comments would look like handwritten notes in the margin, but I never got a chance to try it myself. Looked great though!

    • Zink@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      21 days ago

      I picked up a great little test along the way: type the word ill or illegal followed by 100, using a capital I in illegal and mixing an upper case O and a zero in the number.

      Ill10O

      Can you clearly tell all these characters apart in your editor font?

      I am all about Fira Code, myself

    • sudo_halt@lemmygrad.ml
      link
      fedilink
      arrow-up
      0
      ·
      22 days ago

      Iosevka, IBM Plex, Fira Code, Space Mono, JetBrains Mono

    • Canadian_Cabinet @lemmy.ca
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      22 days ago

      I guess it depends on your preference but I love Fira Code

      • enemenemu@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        22 days ago

        I use it as well

        Is there any other font that has that variety of ligatures?

    • irelephant [he/him]🍭@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      22 days ago

      Big fan of jetbrains mono.

    • blaue_Fledermaus@mstdn.io
      link
      fedilink
      arrow-up
      0
      ·
      22 days ago

      My favorite is “Inconsolata”

    • lemmeBe@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      22 days ago

      Try JetBrains Mono.

    • Sleepless One@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      22 days ago

      Hermit

    • WaterSword@discuss.tchncs.de
      link
      fedilink
      arrow-up
      0
      ·
      22 days ago

      Comic mono

      • baguettefish@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        0
        ·
        22 days ago

        I unironically love comic sans derivatives, they’re just super readable to me

        • Gerudo@lemm.ee
          link
          fedilink
          arrow-up
          0
          ·
          22 days ago

          Comic sans can help a lot of people with dyslexia.

        • WaterSword@discuss.tchncs.de
          link
          fedilink
          arrow-up
          0
          ·
          22 days ago

          Comic sans is a great typeface in my opinion. Just often misused.

    • vortexsurfer@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      22 days ago

      I’m a big fan of GoHuFont

  • wise_pancake@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    22 days ago

    Putting the “no” in zapfino

  • ulterno@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    22 days ago

    Needs more line spacing.

  • refalo@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    22 days ago

    https://0x0.st/XDh2.png

  • katy ✨@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    0
    ·
    22 days ago

    comic shanns ms for all code editing

    • ripcord@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      22 days ago

      shanns

      I’m just wondering how this happened

      • katy ✨@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        0
        ·
        22 days ago

        https://github.com/shannpersand/comic-shanns

  • HalfSalesman@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    22 days ago

    std::string independence;

  • AgentOrangesicle@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    21 days ago

    SideShowBobUUUUGH.wav

  • HolidayGreed@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    21 days ago

    Iosevka, a variant with slashed zero.

    https://typeof.net/Iosevka/

  • Ascend910@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    21 days ago

    I really em want to makenit a reality, do anyone here know a 17th century antique monosace font?

  • ZILtoid1991@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    21 days ago

    IBM Mono Plex >>> all other, especially this horrible mess

  • thezeesystem@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    21 days ago

    This is great if you don’t want the united states politicians to read it.

  • JackbyDev@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    21 days ago

    I use Comic Code. It’s not free, but it’s so whimsical.

    • Russ@bitforged.space
      link
      fedilink
      English
      arrow-up
      0
      ·
      21 days ago

      Oh hey, someone else who uses Comic Code - greetings!

      I remember when I first saw it, I laughed - and then it grew on me. Then it turned into “I can’t believe I am buying a derivation of comic sans” but it is actually a really nice monospaced font.

      Only thing I didn’t like was having to figure out how to use Font Patcher to make a copy of it that supports nerd fonts, but it was a one and done process.

      (I also don’t really like how it looks in my IDE the few times I find myself on Windows, but I don’t really blame the font for that one - looks perfect in the same IDE on Linux…)

      • JackbyDev@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        21 days ago

        How’d you do it?

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.84K users / day
  • 4.51K users / week
  • 6.15K users / month
  • 6.25K users / 6 months
  • 1 local subscriber
  • 23.4K subscribers
  • 237 Posts
  • 2.57K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org