57

Fucking developers putting emojis in their code!

My terminal (st) doesn't support displaying emojis and it crashes immediately once it read an emoji. I have been chasing crashing bugs for weeks and I just found out where the issue is.

Comments
  • 15
    I guess now I will call it the suckful terminal.
  • 5
    Just use nerdfonts w/st and it'll probably work
  • 5
    @fuck2code Yes, it's a font issue but it's weird that the terminal has to crash because of it. Anyway, I installed https://github.com/eosrei/... and added it to st font config, and it now displays black and white emojis correctly.

    Also, thanks for the suggestion!
  • 2
  • 2
    @HampusMa I have it installed on my system but don't know how to use it. Is it a font or what?
  • 19
    Emojis in code?! What kind of new horror is this?
  • 10
    @platypus millenials dun dun dun dunnnnnnnn
  • 14
    Great. Now I have to work out what "two smilies, followed by a panda" transpiles to in JS.

    Fuck.
  • 3
    @platypus I have had my terminal crashed while updating some node modules and also while creating new Rails projects. So both the Rails and the Node.js communities use emojis in their code. They print emojis to the users in their CLI apps.
  • 0
    I mean how important is it to print 🎉 after creating a new project using the CLI? It's not crucial at all and, it appears, it actually breaks things for no useful reason!!
  • 4
    Hehehe we're doomed, even microsoft use them now : https://youtu.be/8gw0rXPMMPE?t=33 👀
  • 11
    An application may refuse input that violates the application's spec, but it must never crash. If it does, it's a bug. Besides, an actual crash is often the entry point for exploits.

    So, the rant should be: fucking devs who don't validate unsanitised input.
  • 1
    Nice, I want ASCII to burn.
  • 7
    Well your terminal just sucks then. Get a new one I guess
  • 0
    @Froot I did in fact install kitty https://github.com/kovidgoyal/kitty and it's awesome. Easily configurable, sane defaults, supports true color, supports colored emojis, supports RTL text, and many other great features. It's just awesome!
  • 0
    @rantsauce nice.
    iTerm2 with zsh. It's awesome.
    But it's also a different OS so probably not much help 😀
  • 0
    @JustThat yeah that's why i end up with things like this on my computer : https://hyper.is/plugins/hyperpower 😂
  • 0
    @une-poule welp.. well at least it's pretty reasonable to expect that it will at least support emoji then and not crash on it. And here's to hoping that it will replace conhost and not be just another interface on top of it.. conhost fucking sucks. Each and every shell environment that uses it - cmd, powershell, WSL, as well as the various interfaces for it like Putty, Mobaxterm, Kitty, Microsoft's own interface for it and what else is out there... All of them are so awkward to use because of that pile of shit called conhost and Microsoft's ever so obsessive legacy support. Who even uses return to copy and right click to paste!?
  • 1
    what the actuall fuck someone had in brain when adding emoji to code ;-;

    Im a bit against using UTF-8 in code (except translation/string files). Keep it ASCI and it just works.

    Holly shit, someone wants to go to hell
Add Comment