Golang IDE: Why I moved from Jetbrains to Microsoft

You see I’m pretty pissed about Jetbrains. First they turn the buy to own model into a subscription model,
then they develop a Go IDE. But what that’s good, right?
Yeah in theory that’s awesome, if only it didn’t cost the world.

But let me start from the beginning.
I use Webstorm because I do a lot of HTML/CSS/JS editing (let’s not get nitpicky and add ecmascript typescript etc).
Some guy named dlsniper on Github aka Florin Patan then started writing a Go plugin for the non-commercial Jetbrains IntelliJ.
People thought it was a good idea and opened an issue on Jetbrains’ bugtracker. They wanted a Golang IDE.
I supported this. In fact I also added various suggestions for improvement, which were adopted.
For a while life was good, the plugin took shape. I could use the plugin in Webstorm and soon it become my main IDE.
I could do HTML/CSS/JS and Go. Good stuff. And all in 1 IDE.
Then management (or whoever) decided it was time to release and one Webstorm IDE upgrade to the next the Go plugin stopped working. That was in Webstorm 2017.3 .
But I found a solution which involved changing some values in the Go plugin acquired from Jetbrains. Lo and behold, what previously didn’t work, now worked.
And I posted about it and what do you know Jetbrains releases what is essentially a version bump (which could also be worked around).
So now I’m a paying customer of Webstorm, which btw almost doubled in price since the subscription model was introduced, but I can’t use the latest Webstorm and neither do I have to. Because, you see, there is Microsoft and Visual Studio Code.
Visual Studio Code does EVERYTHING Webstorm with the Go plugin does and more + it doesn’t cost anything.

Add to that, that this dlsniper when called out on his bullshit just happily continued spewing marketing babble and trying to sell a subscription to people. Fuck you dlsniper. You’re an asshole.

TL;DR: Use Visual Studio Code and save some money while having the same features and more than you would have with Webstorm and Goland (that’s Jetbrains’ stupid name for their IDE, which costs 200€ / year).

Can anyone elaborate on why I would pay 289€ each year to have less features than with a free VS Code download and plugins?

Angular nl2br

newline to br

You don’t need any fancy pipes, all you need is plain old css.
Add the following to your name.component.css or name.component.scss (where name is the name of your component)

and later in your html, assuming your variable is called message.body

And done. Enjoy simplicity.

Adding a SPF record the easy way

You don’t want to read a whole wall of text you want answers.
You want to copy/paste this and it should work.
Here’s the entry

Adding a SPF Record, the easy way

So you add a TXT record and paste this in the TXT line.

What does it mean
v=spf1 means version spf1
mx a means the address of the MX record is allowed to send mail in your domain’s name.
-all means all other IPs aren’t allowed to and should be considered spam.

So if your Email server is the same as the web server you send mail from, add this line and it should work as soon as the record change propagates globally.
Cheers.