I have been working on an open source Discord client for a while, it uses the
official REST API and tries to reproduce the features of the original electron
client. When I got to the point where I could actually chat, one of the first
things I tried, was sending emojis. Well, didn’t quite work out. When I entered
:sunglasses:, all I got back was plaintext.
But why is that, if the original client converts all those sequences into
actual Unicode characters? This is simply due to the fact, that in order to
implement this feature, Discord uses client-sided business logic. So before
sending the message to the server, for example:
Today I’d like to talk about VPNs, despite the fact that many people have probably already told you the same thing that I am about to tell you.
So, today I learned something interesting about git that I have been doing wrong way too often without even noticing it.
I often see people claiming that their tests are as good as they could get, since they have full (100%) test coverage. And obviously 100% coverage is as good as it could possibly get. Or is it not? You guessed it, coverage isn’t everything, The quality of the tests plays a big role as well.
I have been doing Go for a while now and so far I have enjoyed it. Why do I enjoy it though? First, let’s look at my past!
Varargs, which is short for variadic arguments, are a pretty cool thing. They allow your functions to take from 0 to n arguments, the amount of possible function arguments might differ from language to language though. Most of you have probably already used a function which makes use of varargs. Throughout this blog post, I am gonna use Java for examples.
Recently I have been wondering why everyone seems to expect software to be free. Free software has existed for quite a while, but many people have started to expect software to be free by default.
A while ago I decided to start abandoning proprietary services, one of those was windows.