Fixed Fixedsys for life!!!!
Programmer Humor
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
This is great if you don't want the united states politicians to read it.
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.
Settle down Satan.
And then you program a runtime that calls an AI to parse images and execute your code in real-time!
Did they use sane or Windows-style newlines? Windows-style line endings are not supported everywhere.
Are you my coworkers?
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
Oh, so that's what those Python notebooks are that I've heard people talk about!
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).
Yes. The "problem".
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?
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.
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)
I got Fira Code, which tracks, I've used it before. I use Comic Code though. (A monospace comic sans type font.)
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
Try JetBrains Mono.
Fira Code is my go-to.
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.
std::string independence;
Code of Sauron
Putting the “no” in zapfino
IBM Mono Plex >>> all other, especially this horrible mess
reduce the flourishes and/or add more spacing between lines and it would be a lot more readable.
Is there some language or "syntax formatter" that turns source code into something more off a visual programming language? Like a WYSIWYG markdown editor.
Like python doesn't have curly braces, but you could add some kind of "block illustration".
Or you could have illuminated initials for variable names to make them more unique.
So IDE with syntax highlights? Those blocks things are also pretty much shown in most IDE, what do you use to code?
I even have prettifying turned on so the keywords like in
, lambda
, etc are prettified.
No somthing more than just "mere" syntax highlightinng or prettifying like e.g. in VS Code. Being able to change line height for a "headline" when you declare a new class. Or maybe lines that illustrate how a temp variable is used. But it's all vague ideas and I can't picture or describe it well and you'd have to demo this with a graphical design tool I think.
I use emacs, and it can change font size and font face similar to the font color during syntax highlights. Like in markdown or LaTeX headings are larger font, math formula have their system where superscript and subscript have higher/lower baseline. In org mode it can even convert the whole latex snippet into formula and display as image, or show inline images. And in rust it has type hints and other information overlayed along side the code you wrote, it even adds little buttons on tests you can click to run them.
So I think what you want can probably be made easily if you have a solid grasp of what you want. Emacs is basically extensible using a programming language (elisp) so technically there's nothing you can't do logic wise, there might be some limitations on displaying things though.
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)
I really em want to makenit a reality, do anyone here know a 17th century antique monosace font?
I use Comic Code. It's not free, but it's so whimsical.
For the curious, here is a similar but free font. https://github.com/belluzj/fantasque-sans
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...)
How'd you do it?
Patching Comic Code? It was quite a while ago unfortunately, so I don't have the exact commands available, but I used their Font Patcher tool in order to do so.
From what I recall, the tricky thing was actually getting the dependencies it required to be installed properly, Font Forge would be up and running but then the script's errors indicated that it couldn't resolve all of the necessary dependencies. Not sure what OS you're on so your mileage may vary - but for Linux they now have an AppImage that looks to contain everything it needs, and for macOS/Windows if you have Docker available there also appears to be a pre-built container for it. There's also quite a few examples that I don't think were there when I used it, since I also recall not being 100% sure of what flags were needed to run it