Iosevka, a variant with slashed zero.
I really em want to makenit a reality, do anyone here know a 17th century antique monosace font?
IBM Mono Plex >>> all other, especially this horrible mess
SideShowBobUUUUGH.wav
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.
Of course you can. Instead of committing the code to a repository, you just take screenshots of the everything and commit that instead.
Are you my coworkers?
You just said that somebody is in desperate need of a beating
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.
Settle down Satan.
And then you program a runtime that calls an AI to parse images and execute your code in real-time!
all code is written down in physical loose leaf notebooks
Hey that’s MY cursed python programming method… I wonder if I still have those books
That way you don’t need Gimp to make edits. I like it, very human!
Yes. The “problem”.
You can if you paste it into a write protected pdf
The only real way to write protect it is by printing the pdf into pdf (making it a pdf of an image).
Pretty sure you can use the 𝓾𝓷𝓲𝓬𝓸𝓭𝓮 𝓬𝓱𝓪𝓻𝓪𝓬𝓽𝓮𝓻𝓼
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.
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”.
Just add it for VSCode and Jetbrains and you cover like 75-95% of devs
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?
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!
Fira Code is my go-to.
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)
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.
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.
Thanks, I got inconsolata. I’m not a coder but I’m going to use it for other things.
I unironically love comic sans derivatives, they’re just super readable to me
Comic sans can help a lot of people with dyslexia.
Comic sans is a great typeface in my opinion. Just often misused.
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.
I’m a big fan of GoHuFont
I guess it depends on your preference but I love Fira Code
I use it as well
Is there any other font that has that variety of ligatures?
Try JetBrains Mono.
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.
Also, this isn’t a monospace font
Oh no.
You wouldn’t want mono space in languages where indentation matters?
Big fan of jetbrains mono.
My favorite is “Inconsolata”
Me too! I don’t code but I really like it.
i always use the classic 6x13 or 8x16 font
Iosevka, IBM Plex, Fira Code, Space Mono, JetBrains Mono
I just use IBM Plex, but that’s mostly because the keycaps my keyboard came with used it :) I also think it’s just fine for readability (i.e. I/l and O/0 are different enough)
std::string independence;
Putting the “no” in zapfino
comic shanns ms for all code editing
shanns
I’m just wondering how this happened
Ah cool, thanks
reduce the flourishes and/or add more spacing between lines and it would be a lot more readable.
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)
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.
But this way gives credit to Josh for the joke
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
Sure it will be more work, but this way we can retain more fidelity with less space taken.
It will not be usable as proof, because the thing can be just written, but it’s not like pictures work as a very good proof nowadays, anyway.
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
I still think this format sucks because the punchline comes first.
Cause I
repostedstole it from some other internet pageI just usually download the image than a screenshot when posting
Needs more line spacing.