JuliaWTF / WatchJuliaBurn.jl

The most unneeded package you'll find.
MIT License
93 stars 6 forks source link

Consider using Yandex' Emoji Translation API to autogenerate bindings #19

Open SaschaMann opened 3 years ago

SaschaMann commented 3 years ago

Instead of manually defining bindings, consider using Yandex Translate's Emoji translation. They offer an API that could be used to mass-generate bindings. Obviously without any guarantees of bindings being unique but that adds a fun element of surprise to each function call.

Example:

WatchJuliaBurn aims at destroying the look of your code by adding emojis like šŸ˜„ and kaomojis like cā•ÆĀ°ā–”Ā°ā†„ā•Æ instead of your favorites Julia functions. Don't hesitate to add your worst creations via PR.

=>

WatchJuliaBurn šŸŽÆ šŸ’„ šŸ‘€ šŸ‘† šŸ“Ÿ āž• šŸ¢ šŸ’– šŸ˜„ & šŸ¼ šŸ’– šŸ…± šŸ‡ØšŸ‡¬ šŸŒ” šŸ‡ØšŸ‡¬ šŸŒ” ā†„ šŸ‡ØšŸ‡¬ ā­ šŸ‘† šŸ’• šŸ‘© šŸ“› šŸ”¢ . šŸš« šŸ˜„ āž• šŸ‘† šŸ˜Ø šŸ›  ā†—ļø šŸ‡µšŸ‡·.

I expect that this would work just as well for individual bindings.

mschauer commented 3 years ago

Careful, your Yandex broke Julia's aniconism tabu. You really want to see the world burn.

julia> using āŒššŸ‘©šŸ”„
šŸ‘©> šŸ°
Ļ€ = 3.1415926535897...
theogf commented 3 years ago

TIL... That sounds like an interesting proposition, but this also ruins all the fun to find new emoji aliases :D

SaschaMann commented 3 years ago

Careful, your Yandex broke Julia's aniconism tabu. You really want to see the world burn.

Good point, I missed that. That could be manually fixed by hardcording julia as āˆ“ (U+2234) or by asking Yandex to fix this obvious bug.

adrhill commented 3 years ago

The Yandex API could be used to generate new file names when calling emojify.

theogf commented 3 years ago

Just checked and you need to pay to use the API....

l0rem commented 1 year ago

I have no idea what this project is about, but to add insult to injury Yandex does not allow using emj-language with their Translations API, so it is only accessible via web-ui