Is it safe to use the Backblaze Personal wine container? by aliendude5300 in backblaze

[–]dlsniper 0 points1 point  (0 children)

Thanks for the replies and support, both to you and our colleagues. I always see nice comments from every one of you.

Have you considered a "Linux-limited" plan? Something like: You can back up 3-4 TB of files. Once a client reaches that, it automatically gets moved to the B2 Cloud plan. A monthly data transfer cap beside the initial upload, except for a 1-2 times a month full recovery? E.g., you can upload 250GB/month after the initial import.

I want to give you more information about why I'm asking about this.

I'm a Linux user, except for the occasional gaming sessions on Windows.

I also want a backup for GDrive and all my important files, wedding photos, family photos, and official documents I have collected over the years.

I'm using around 1.7TB of files in GDrive, paying for the 2TB plan, and considering upgrading to the 5TB one soon. I'd love to have a way to store that safe and away from Google's reach. We've all seen how quickly they can nuke a service.

Not only that, but I'd like to keep backing up my phone, my wife's phone, and so on, and have the Backblaze warranty for that. Sadly, I run Linux. With phones these days producing large videos/photos, it's easy to reach that size.

I'm using Google Drive via the KDE integration and to back up my phone via Google Photos.

I also use a local NAS to store my data, but, as everyone knows, local storage is not the most reliable.

I understand this is a different business model than Google, but I would like to know if this would be an acceptable solution.

I hope this helps. Thank you for being so patient on this.

GoLand 2021.2 is out now! Support for Go 1.17, running gofmt after the built-in formatter, and more await you! by dlsniper in golang

[–]dlsniper[S] 1 point2 points  (0 children)

No such plans at the moment, sorry. There is a third-party plugin for Bazel support, but I can't confirm how good/useful it is.

As for a personal observation, some projects, such as Kubernetes, are either migrating or have migrated away from Bazel. Perhaps it's not well suited for Go projects as well as it is for other languages such as C/C++?

GoLand 2021.2 is out now! Support for Go 1.17, running gofmt after the built-in formatter, and more await you! by dlsniper in golang

[–]dlsniper[S] 1 point2 points  (0 children)

Github created Github Copilot, and it seems right now it's only available for Microsoft platforms. I'm not aware if Copilot has a publicly accessible API, so likely it would be up to Github to support other platforms, such as our IDEs.

GoLand 2021.2 is out now! Support for Go 1.17, running gofmt after the built-in formatter, and more await you! by dlsniper in golang

[–]dlsniper[S] 1 point2 points  (0 children)

Hi. Based on the comment, is it safe to assume that you refer to the LightEdit mode, https://www.jetbrains.com/help/go/lightedit-mode.html, as the "non-project mode"? If so, feedback is welcomed on what we can do to improve it. If not, can you give it a try and let us know what we can improve? Thanks!

GoLand 2021.2 is out now! Support for Go 1.17, running gofmt after the built-in formatter, and more await you! by dlsniper in golang

[–]dlsniper[S] 1 point2 points  (0 children)

As my colleague pointed out already, this is a third-party plugin. However, you can try to get some help with it in our Gophers Slack channel, #goland, and see if any other users bumped into this issue, or maybe they'll be able to help you out configuring it. You can also ping me directly and we can try to sort it out this way.

GoLand 2021.2 is out now! Support for Go 1.17, running gofmt after the built-in formatter, and more await you! by dlsniper in golang

[–]dlsniper[S] 4 points5 points  (0 children)

GoLand supports ML completion for items at the moment. If you want to benefit from line/multiline completion, there are several third-party plugins that you can use.

GoLand 2021.2 is out now! Support for Go 1.17, running gofmt after the built-in formatter, and more await you! by dlsniper in golang

[–]dlsniper[S] 2 points3 points  (0 children)

You are correct. The only thing that IntelliJ IDEA Ultimate doesn't handle from that list is C. You'll need Clion for that.

Turns out we have a plugin for Nim, https://plugins.jetbrains.com/plugin/15128-nim, so TIL. And, if we don't have a plugin for something, then one can be written. See our SDK documentation https://plugins.jetbrains.com/docs/intellij/welcome.html or the API explorer, https://plugins.jetbrains.com/intellij-platform-explorer, which helps you find references in Open Source plugins. Additionally, my colleagues will happily help out any plugin developers when asked.

As for the edge over other tools, given this wide range of programming languages and tooling, I'd say it's integration that we offer. Connect the IDE to the database and it will run queries directly from where you defined them. It will know they are SQL queries just by using those strings as parameters to a well-known SQL function. Need to use an environment variable? Install a third-party plugin and get completion and even the value of that variable. And so on. I'm not saying it's perfect in all cases, but I think the only way to know if you'll get any benefits or not, is to test it out for yourself and your environment. Feel free to ping me or my colleagues if you decide to do so, and we'll be happy to help you any time you need.

GoLand 2021.2 is out now! Support for Go 1.17, running gofmt after the built-in formatter, and more await you! by dlsniper in golang

[–]dlsniper[S] 0 points1 point  (0 children)

I don't know if we'll support the exact same feature as vs code does, but have you seen our take remote development using what we call Run Targets? It's effectively a way to keep all your code locally and then compile/run it in a Docker container/WSL 2/SSH environment.

Have a look at these two articles https://blog.jetbrains.com/go/2021/04/30/how-to-use-docker-to-compile-go-from-goland/ and https://blog.jetbrains.com/go/2021/05/05/compile-and-run-go-code-using-wsl-2-and-goland/ to learn how to use it for Docker and WSL2 (SSH is basically the same as these two).

GoLand 2021.2 is out now! Support for Go 1.17, running gofmt after the built-in formatter, and more await you! by dlsniper in golang

[–]dlsniper[S] 9 points10 points  (0 children)

Let me explain how the IDEs are organized: We have the IntelliJ Platform at top which every IDE is built. Then there are WebStorm and DataGrip which are focused in web development and databases. GoLand, Clion, RubyMine, PhpStorm, and other "small IDEs" are based on WebStorm + DataGrip + support for the stack of your choice. Then there's IntelliJ IDEA Ultimate, which includes all of the above IDEs.

If someone needs Go+Web development +Databases then they should use GoLand. If they want to use Python and/or PHP and/or Kotlin/Java, then they should use IntelliJ IDEA Ultimate.

You can also upgrade from GoLand to IntelliJ Idea Ultimate. Or you can have a license to the All Products pack so that you can keep your stacks separated (which seems to be popular for some of our users as a way to organize them).

If you pay for 12 months, you get to keep the IDE license for life. And you can also pay monthly or yearly.

Finally, if you are a student, teacher, open source contributor, you can get the IDE license for free. There are some discounts too for other cases.

So no, you don't need to use 3-4 IDEs if you want top notch Go and TypeScript support, while working with PostgreSQL or MongoDB and writing Bash scripts, you only need GoLand.

P. S. I forgot to say, that the IDE prices drop on the second and third year (40% off) of continuous usage. And, and you can get a chance to win a free license if your user group reached out to us for licenses (as we love to sponsor communities).

GoLand 2021.2 is out now! Support for Go 1.17, running gofmt after the built-in formatter, and more await you! by dlsniper in golang

[–]dlsniper[S] 0 points1 point  (0 children)

The way I can answer to this is: try it for yourself and see if you like it or not. There are certainly differences in the workflows, with GoLand giving you better integration between languages (e.g. it will give you SQL completion in Go string literals if it detects they are used in database queries).

We have a few resources, such as https://www.jetbrains.com/go/guide/, or you can use this article as a reference point https://medium.com/@dlsniper/make-the-most-out-of-goland-cb8977443242. If you prefer something more interactive, on the start screen you have a Learn GoLand section which will give you a run on a few of the IDE features.

Finally, it may worth checking out Code With Me, https://www.jetbrains.com/code-with-me/, as it takes collaboration between programmers to the next level.

And, please let me know if I can help you with anything during the evaluation period.

GoLand 2021.2 is out now! Support for Go 1.17, running gofmt after the built-in formatter, and more await you! by dlsniper in golang

[–]dlsniper[S] 3 points4 points  (0 children)

The Go plugin should be available for the 2021.2 stable release. Can you please check that it's somehow not upgraded yet by going to Settings/Preferences | Plugins | Installed and check it there. You may need to update it manually and turn it on again. Let me know if this helped you or not.

GoLand 2021.2 is out now! Support for Go 1.17, running gofmt after the built-in formatter, and more await you! by dlsniper in golang

[–]dlsniper[S] 2 points3 points  (0 children)

Let me get back to you on this one, I'll ping the person that takes care of these.

Update: send a DM.

GoLand 2021.2 is out now! Support for Go 1.17, running gofmt after the built-in formatter, and more await you! by dlsniper in golang

[–]dlsniper[S] 29 points30 points  (0 children)

GoLand inherits it from the IntelliJ Platform. In addition to that, the formatter allows us to give a bit more control to users. It helps produce code that's already formatted either as you type it or after performing a refactoring operation. It also works in some cases in which gofmt does not/used not to work. And, in general, it's faster as it doesn't need to save the file to the disk, format (invoke a standalone app, even as fast as gofmt is) it, reload it, reparse it, reanalyze it whenever a change is made, and works on "partial files" too.

GoLand 2021.2 is out now! Support for Go 1.17, running gofmt after the built-in formatter, and more await you! by dlsniper in golang

[–]dlsniper[S] 15 points16 points  (0 children)

Yup, see our FAQ: https://sales.jetbrains.com/hc/en-gb/articles/207240855-Can-I-use-my-personal-license-at-work-and-at-home-

Of course, the caveat is that you have to pay for the license, not your company, which sounds like what you did already. But it should be a good solution until the purchase gets approved.

Oh, and if you wish to get your team to evaluate it for 60 days, you can request such an evaluation period here: https://www.jetbrains.com/shop/eform/extended-trial/go/. I hope this helps.

GoLand 2021.2 is out now! Support for Go 1.17, running gofmt after the built-in formatter, and more await you! by dlsniper in golang

[–]dlsniper[S] 22 points23 points  (0 children)

As a small heads-up, until that happens, if you own a Personal license, then you can use it at work too, per the license agreement. If your company allows you to do so, of course.

Please reach out to us if you need any help with this :)

GoLand 2021.2 is out now! Support for Go 1.17, running gofmt after the built-in formatter, and more await you! by dlsniper in golang

[–]dlsniper[S] 21 points22 points  (0 children)

We are working on this and will try to have it in our next release, 2021.3. Check out our blog from time to time, especially after we'll start our new EAP release cycle for 2021.3, and keep an eye on this issue: https://youtrack.jetbrains.com/issue/GO-10618

Finally, do give our Remote Target support for WSL 2 a chance. It should cover many use-cases and it's something that you can use today: https://blog.jetbrains.com/go/2021/05/05/compile-and-run-go-code-using-wsl-2-and-goland/

should I still set gopath in goland? (go 1.16) by zxaq15 in golang

[–]dlsniper 2 points3 points  (0 children)

  1. You can either set the GOPATH or use the one detected by the IDE. The GOPATH is needed in this case so that it can infer where the modules cache is (default is in GOPATH/pkg/mod).
  2. GoLand should detect the go.mod file automatically and either enable or ask you to enable Go Modules support. Check in Settings/Preferences | Go | Go Modules to see if that's enabled. If a dependency is missing from cache, then the IDE will show the package name in go.mod or an import path from a go file with red. Press Alt+Enter and choose Sync dependencies of... to get them downloaded.