[go-nuts] [ANN] GoLand 2020.2

2020-07-31 Thread Florin Pățan
Hi Gophers, I'm here with a small update about our latest release of GoLand, the Go IDE from JetBrains. In this release we worked to: - improve the Go modules support - navigate from comments to symbols definitions - add a Problems View window - add a few new inspections for things like

Re: [go-nuts] Help with code reproducing a change in Go 1.15 CL 229578

2020-06-21 Thread Florin Pățan
/ other static analysis tools. Thank you, Florin On Friday, June 19, 2020 at 8:13:37 AM UTC+3 Ian Lance Taylor wrote: > On Thu, Jun 18, 2020 at 1:54 AM Florin Pățan wrote: > > > > According to the Go 1.15 documentation, the change introduced in > https://golang.org/cl/22

[go-nuts] Help with code reproducing a change in Go 1.15 CL 229578

2020-06-18 Thread Florin Pățan
According to the Go 1.15 documentation, the change introduced in https://golang.org/cl/229578 should change the program behavior, and users are expected to perform modifications to their code. > Package unsafe's safety rules allow converting an unsafe.Pointer into uintptr when calling certain

Re: [go-nuts] How to find goroutines during debugging - aka goroutine labeling

2020-03-03 Thread Florin Pățan
en > delivered. But at least it's solved (at the expense of performance). > > -Original Message----- > From: Florin Pățan > Sent: Mar 3, 2020 9:11 AM > To: golang-nuts > Subject: [go-nuts] How to find goroutines during debugging - aka goroutine > labeling > > Hello gop

[go-nuts] How to find goroutines during debugging - aka goroutine labeling

2020-03-03 Thread Florin Pățan
Hello gophers, There have been a number of posts in the past discussing how to handle large number of goroutines in applications when it comes to debugging them. Since Delve, the Go debugger, and GoLand, the Go IDE from JetBrains, recently got the ability to handle these, I thought I'd share

[go-nuts] [ANN] GoLand 2020.1 EAP starts with Go Modules improvements and Go 1.14 support

2020-02-07 Thread Florin Pățan
Hi Gophers, I'd like to announce the start of the 2020.1 Early Access Program of GoLand IDE, the JetBrains dedicated IDE for Go development. A few highlights from the release include: - support for Go 1.14 - improved support for Go Modules - improved code completion, Live Templates,

[go-nuts] Help Women Who Go and GoBridge and get GoLand IDE on a 30% discount in the process

2019-11-08 Thread Florin Pățan
Hello Gophers! This weekend, on the 10th of November, the Go language turns 10 years old. Congratulations to all the gophers worldwide! As a gift back to the Go community, JetBrains , the creators of GoLand IDE , are launching a fundraising

[go-nuts] Re: Do Any Editors Support Customisable Code collapsing?

2019-07-18 Thread Florin Pățan
I don't know how this works for vscode, but for GoLand you can write your own syntax-aware custom folding plugin, see this plugin as an example of how to do it: https://plugins.jetbrains.com/plugin/9320-advanced-java-folding This doesn't mean we are not open to new ideas on how to improve the

[go-nuts] [ANN] GoLand 2019.1 is out

2019-03-27 Thread Florin Pățan
Hello gophers, I'm happy to let you know that we just released GoLand 2019.1. Here are a few things you can find in this release: - Built-in Profiler support for CPU, Memory, Mutex, and Block profiles (using pprof) - Debugger Changes: - - a new Smart Step Into feature - -

[go-nuts] Re: GoLand 2019.1 EAP started today

2019-03-07 Thread Florin Pățan
ot 2019-03-06 at 19.51.29.png] >> >> >> I'm running on macOS 10.14.2 Mojave and I'm not aware of having done any >> weird keyboard stuff here. Any ideas what the problem could be? >> >> >> Cheers, >> >> Carl >> >> >> >

[go-nuts] GoLand 2019.1 EAP started today

2019-01-24 Thread Florin Pățan
Hi gophers, Today we started the 2019.1 EAP for GoLand. While we are just beginning to roll out the new version, here's a couple of features which might be interesting to use: - Smart Step Into -> a debugging feature which lets you step into arbitrary calls in an expression, automatically

[go-nuts] GoAsm And goland ide

2018-12-18 Thread Florin Pățan
Can you please describe what is goasm? I tried searching for it but I get mixed results. Is there a link to the documentation of the project that I can use? After that, I'll be happy to help you out. Alternatively, feel free to open an issue on the tracker

Re: [go-nuts] build go in Intellij

2018-12-11 Thread Florin Pățan
Hi Robert, I would suggest creating an issue on our tracker so that the team can have a look at the issue and help you out. I pre-filled the issue for you at this link https://goo.gl/ytk38S but you will have to attach the images/submit the issue so that you can get the updates on it. You will

Re: [go-nuts] IDE/tools that support the new Go module feature in 1.11?

2018-08-26 Thread Florin Pățan
You can use an existing project but you have to enable the "Go modules support" manually. The IDE should detect it's a Go modules supporting project and ask you to enable it using a tooltip. GoLand 2018.2.2 is recommended for Go Modules support as older versions target older releases of Go

[go-nuts] Re: Go-path from a source other than $GOPATH (and package management)

2018-04-20 Thread Florin Pățan
> Anyway, as I have mentioned before, this solves nothing when multiple > versions of a nested dependency is needed by project dependencies. This is a problem that's solved by vgo. Have a look into that. -- You received this message because you are subscribed to the Google Groups

[go-nuts] Re: go build doesn't propagate options that disable optimizations

2018-03-16 Thread Florin Pățan
My understanding is that you do not need -a anymore, just the rest of the flags. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[go-nuts] Re: intelliji can't access go 1.10 std lib on Mac OS

2018-02-21 Thread Florin Pățan
Hi, You need to provide more details than this. Have you installed Go in the same location? What version are you using? Have you tried restarting the IDE after the Go install operation? Thanks. On Wednesday, February 21, 2018 at 1:18:22 AM UTC, Joseph Lorenzini wrote: > > All: > > I may just

Re: [go-nuts] Re: Web Framework for Beginners

2018-01-28 Thread Florin Pățan
Saturday, January 27, 2018 at 11:34:39 PM UTC+2, Lars Seipel wrote: > > On Thu, Jan 25, 2018 at 01:26:00PM -0800, Florin Pățan wrote: > > I'm not saying that we should be against recommending the standard > library, > > by all means, it's one of the best assets of the language. Bu

[go-nuts] Re: Web Framework for Beginners

2018-01-25 Thread Florin Pățan
, 2018 at 1:36:29 PM UTC, matthe...@gmail.com wrote: > > Here’s a third vote for the standard library. > https://golang.org/pkg/net/http/ + https://golang.org/pkg/html/template/ > are already effectively a web framework. > > Matt > > On Thursday, January 25, 2018 at 3:15:2

[go-nuts] Re: Web Framework for Beginners

2018-01-25 Thread Florin Pățan
Big plus one for Buffalo. Out of the frameworks I've seen in Go so far, Buffalo tries its best to stay close to the spirit of Go while delivering all the power to the user in an idiomatic manner. Do give it a try. -- You received this message because you are subscribed to the Google Groups

Re: [go-nuts] where is an online version of older versions like 1.8 1.6 golang pkg doc ?

2018-01-19 Thread Florin Pățan
I think this would further encourage people to be lazy and not upgrade to newer Go versions. This always leads to problems, especially when things like tooling is involved, and especially when the debugger side of Go improved so much between versions. I always liked the fact that Go only shows

[go-nuts] [ANN]: GopherCon coming to Europe - Iceland 2018

2017-12-21 Thread Florin Pățan
Hi all, I would like to invite you all to come to Iceland in 2018 for the first European GopherCon. We are happy to have Jaana B. Dogan and Peter Bourgon as our first speakers and the Call for Papers is opened at: https://www.papercall.io/gophercon-iceland For more details follow our Twitter

[go-nuts] Re: Who are the https://gophers.slack.com/ admins?

2017-11-14 Thread Florin Pățan
Please send a mail to florinpa...@gmail.com from the e-mail account you created your account I'll be happy to help you. On Monday, November 13, 2017 at 6:41:13 PM UTC, Vlad Didenko wrote: > > My phone got stolen, so I am locked out of the https://gophers.slack.com/ > 2FA. > > Slack tells to ask

Re: [go-nuts] Re: [Request] Official golang debugger

2017-11-07 Thread Florin Pățan
to be absorbed into the go toolchain. That's the > path we're on, but it's up to the Go community - you! - to help us see it > through. > > On Tue, Nov 7, 2017 at 11:16 AM Florin Pățan <florinpa...@gmail.com> > wrote: > >> dep is not part of the toolchain. >> >>

Re: [go-nuts] Re: [Request] Official golang debugger

2017-11-07 Thread Florin Pățan
elf. >> >> On Tuesday, 7 November 2017 18:28:09 UTC+11, Sotirios Mantziaris wrote: >>> >>> I do not know if the times you mentioned are indeed that long. >>> If it is true then you actually have a good argument. >>> >>> On Tuesday, Novembe

Re: [go-nuts] Re: [Request] Official golang debugger

2017-11-06 Thread Florin Pățan
llly integrated into the toolchain and > the releases in some future version. > > On Tuesday, November 7, 2017 at 1:38:27 AM UTC+2, Florin Pățan wrote: >> >> Delve is the one towards which the community rally since gdb, still, >> doesn't play nice with goroutines. So, for all inte

[go-nuts] [Request] Official golang debugger

2017-11-06 Thread Florin Pățan
Delve is the one towards which the community rally since gdb, still, doesn't play nice with goroutines. So, for all intents and purposes, delve is the official debugger and the Go Team and Delve Team do work together to give us a better debugging experience. But sometimes the problems that need

[go-nuts] [ANN] GoLand EAP 18 (Go IDE from JetBrains) now supports Go templates

2017-11-02 Thread Florin Pățan
The latest release brings a big update for the IDE: - final name changed from the (initial) codename to GoLand - Go templates are now supported with more improvements to be done in the future - pricing information and general availability target date are also announced Please give it a try and

[go-nuts] Re: Choosing a framework

2017-09-10 Thread Florin Pățan
Given your list of choices, I would go for Buffalo as it's probably the closest you can get to an idiomatic Go code base while not having magic in the code and still be able to understand what's happening when things go wrong. As others have recommended, also try writing your code without the

[go-nuts] [ANN] Gogland EAP 13 has been released

2017-09-05 Thread Florin Pățan
As a heads up, EAP 14 has been released to solve a critical issue in EAP 13: https://twitter.com/GoglandIDE/status/905046993034203136 If you've had any issues with the IDE, please try the latest release. Thank you and apologies for any issues you may have encountered. -- You received this

[go-nuts] [ANN] Gogland EAP 13 has been released

2017-09-04 Thread Florin Pățan
Hi all, The JetBrains Go IDE Codename Gogland just got a new upgrade, EAP 13. There are a lot of performance improvements, fixes and new features. Among the new features, there's an inspection for shadowed identifiers. It's not enabled by default but please try it and if you can offer any

Re: [go-nuts] Unused function in package

2017-08-27 Thread Florin Pățan
Gogland does not use go vet. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit

[go-nuts] Unused function in package

2017-08-27 Thread Florin Pățan
There are chances that other function names will change the signature to match interfaces in your GOPATH, in which case Gogland will not mark the function as unused since it won't know if it's needed to implement that interface or not (given how interfaces work in Go). Since Gogland looks in

Re: [go-nuts] Re: Gathering Ideas for Go 2.

2017-08-23 Thread Florin Pățan
On Wednesday, August 23, 2017 at 6:45:57 AM UTC+1, Henrik Johansson wrote: > I may suffer from a "fundamental lack of understanding" about many things but > there isn't much to misunderstand in Russ blog post. I have also seen the > talk. I simply disagree wrt generics. I appreciate that he has

Re: [go-nuts] Re: Gathering Ideas for Go 2.

2017-08-23 Thread Florin Pățan
On Wednesday, August 23, 2017 at 3:24:26 AM UTC+1, Linker Lin wrote: > Hi,All! >     We must remember the tragedy of python 3.x . We should not separate the > Go into 2 versions. > If we launch Go 2 whatever the situation is, we must drop Go 1 immediately. > That will not happen. Please read

Re: [go-nuts] Go one-line installer

2017-08-02 Thread Florin Pățan
On Wednesday, August 2, 2017 at 11:34:33 AM UTC+1, Jan Mercl wrote: > > On Wed, Aug 2, 2017 at 12:27 PM Florin Pățan <flori...@gmail.com > > wrote: > > > I speak from the experience of trying to help people get Go running on > Linux, macOS and Windows, this is

[go-nuts] Re: Go one-line installer

2017-08-02 Thread Florin Pățan
On Wednesday, August 2, 2017 at 3:14:07 AM UTC+1, Steve Francia wrote: > > On Tuesday, August 1, 2017 at 7:49:32 PM UTC-4, Florin Pățan wrote: >> >> Hi, >> >> The idea is good but: >> - it needs to modify the path to add GOROOT/bin and GOPATH/bin to it >&

Re: [go-nuts] Go one-line installer

2017-08-02 Thread Florin Pățan
en worse, it's a bureaucratic one. I think it > would be a lot more productive to spend that time working on the technical > problem of security than giving up and tackling a much harder one. > > On Tue, Aug 1, 2017 at 4:49 PM Florin Pățan <flori...@gmail.com > > wrote: &g

[go-nuts] Go one-line installer

2017-08-01 Thread Florin Pățan
Hi, The idea is good but: - it needs to modify the path to add GOROOT/bin and GOPATH/bin to it - it should allow for multiple versions of Go to be installed simultaneously (including 1.x.y vs 1.x.z versions) - it should change the PATH on all three OSes regardless of the shell used, which is

Re: [go-nuts] Re: No Allman-Style, No go!

2017-07-30 Thread Florin Pățan
This thread was dead for three years, but thanks for keeping the dream alive. Hate Go's style as much as you want, avoid Go because of this, it doesn't matter. gofmt's only purpose is so that by having the uniformity of the source code, everyone that can write Go code can do so anywhere. You

Re: [go-nuts] Details on the implementation decision for sync.Map

2017-07-26 Thread Florin Pățan
On Wednesday, July 26, 2017 at 9:16:50 PM UTC+1, Ian Lance Taylor wrote: > > On Wed, Jul 26, 2017 at 1:07 PM, Florin Pățan <flori...@gmail.com > > wrote: > > > > I would like to understand a bit better one particular implementation > > decision r

[go-nuts] Details on the implementation decision for sync.Map

2017-07-26 Thread Florin Pățan
Hi, I would like to understand a bit better one particular implementation decision regarding the new sync.Map feature. Besides having to introduce a new keyword to the language and some compiler work, what were the other issues that pushed the implementation as part of the standard library

[go-nuts] Correct way to track each individual goroutine

2017-07-25 Thread Florin Pățan
Will the user always end up on the same server for subsequent requests after the upload one? If the answer is no or not sure then keep the state in Memcached (or similar place) and that's the best way to go forward with it. -- You received this message because you are subscribed to the Google

[go-nuts] Why default stack size is 1gb?

2017-07-24 Thread Florin Pățan
Iirc the default stack size is 2 or 4 kb not 1 gb. Where did you found the reference? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[go-nuts] Meet the Gogland dev team @ GopherCon

2017-07-07 Thread Florin Pățan
Hi all, As this tweet mentions: https://twitter.com/GoglandIDE/status/883294868260474880, the Gogland dev team will be at GopherCon 2017 and they are looking forward to talk with you. If you have any feedback, questions or what to learn more about the IDE, make sure to drop by their booth or

[go-nuts] Re: idea: generic methods on slices with some generic type support []string.Map(string) []string => [].Map() []

2017-06-02 Thread Florin Pățan
Since everyone thinks it but nobody bothers to reply to it: this whole thing you propose can be currently done with a for loop, which not only is explicit about what it doing, but it also lets you control if you want to exit early from it and so on. Complicating the whole language because

[go-nuts] nlopes/slack will drop Go < 1.7 support soon

2017-05-28 Thread Florin Pățan
Hi gophers, I'm planning to merge https://github.com/nlopes/slack/pull/167 in the next few days and with this change, break the backwards compatibility with Go < 1.7. The reason to do this is that it will allow applications to trace HTTP calls via a custom http.Client implementation, for

[go-nuts] Re: How Build New Golang Console App in a Main Go App?

2017-03-05 Thread Florin Pățan
You can make an auto-run generator without needing to compile an application. Create a custom DSL and have that distributed with a binary that can read it and behave accordingly. But if you do need that, for whatever reason, say allow more complex scenarios / higher degree of customization,

[go-nuts] How Build New Golang Console App in a Main Go App?

2017-03-04 Thread Florin Pățan
You cannot build a Go application without the Go compiler. You can try to find a way to bundle it in your application but that would be very complex. If you'd liked to describe why do you need this functionality maybe a different solution can be found. -- You received this message because you

[go-nuts] Re: golang-beginners channel?

2017-01-06 Thread Florin Pățan
Hi Jason, Currently the Gophers Slack, https://gophers.slack.com/, has more than 12000 members and almost 500 channels. Among those channels we have a channel that's dedicated to new gophers, called golang-newbies, https://gophers.slack.com/messages/golang-newbies/ but we also have channels

[go-nuts] Re: Donating to Go/related causes

2016-12-24 Thread Florin Pățan
Hi there, I'm happy to hear that there's one more Gopher that would like to help out the community. This is exciting! Here are some of my ideas around this: - this is where your time is best spent on: https://blog.gopheracademy.com/advent-2016/gobridge-beginners/ imho - or add docs to the

Re: [go-nuts] Channels of multiple values

2016-12-20 Thread Florin Pățan
An even better solution is to return a struct with the fields that you need. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[go-nuts] Announcing Gogland – Brand New Go IDE from JetBrains

2016-12-15 Thread Florin Pățan
Hi all, I'm very excited to announce a new episode in the life of the Go plugin for IntelliJ. About three years ago, Sergey Ignatov and Alexander Zolotov started a major rewrite of the plugin that took it to a working state. Since then they've made more than 3000 commits, working day and

[go-nuts] Deleting the /r/golang subreddit

2016-11-24 Thread Florin Pățan
Rather than going with the nuclear option, imho, I'd be happy to continue running it if the Go team backs out of it and / ir other moderators. I'll make it clear it's unofficial and so on. Maybe we should consider upgrading golang.org to a more useful website? Includes a list of meetups, maybe

Re: [go-nuts] Noob question: Pointers to interfaces

2016-11-07 Thread Florin Pățan
I think that you want to write generic code in a language that doesn't have generics. Also, the description of the problem is incorrect. You describe how you want to solve the problem, my using pointers or changing the fields of structs, but you never describe the actual problem, how did you

[go-nuts] Re: Tooling experience feedback

2016-10-18 Thread Florin Pățan
Hi Jaana, Thank you for this initiative. I think currently one of the points that I think that is missing is easy to access documentation online. My use-case is usually around the web and making things easier to access from there. Maybe I've got used to the command line for common tasks but

Re: [go-nuts] Re: Can not install "go-lang-idea-plugin" onto IntelliJ IDEA

2016-10-10 Thread Florin Pățan
> I was able to download that via another network place. It was just network > issue... > > Florin-san, thanks! > > 2016年10月10日月曜日 8時47分56秒 UTC+9 Florin Pățan: > > Hi, > > > It would help if you'd have more information about this. > I don't have any problem

[go-nuts] Re: Can not install "go-lang-idea-plugin" onto IntelliJ IDEA

2016-10-09 Thread Florin Pățan
Hi, It would help if you'd have more information about this. I don't have any problems downloading from my current setup but I'm sure there are many differences. I'll ping the guys from JetBrains as well. Kind regards, Florin On Sunday, October 9, 2016 at 11:05:42 PM UTC+1, Yuuki T wrote: >

Re: [go-nuts] interactive debugger for go ??

2016-09-08 Thread Florin Pățan
As a small note, you need only the plugin, we ship delve with it so you don't need to install it. Also gdb is known to be unsupported and i would not recommend it. Delve is the Go debugger. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To

[go-nuts] Re: Why can't you take the address of a function's return value?

2016-08-27 Thread Florin Pățan
This request, yo take the address of a return value of a function, seems to conflict with the last request made here to standardize and not have exceptions to rules. And I say this because in Go a function can have multiple return values, most commonly a (type, error) pair. How should that

[go-nuts] IDE for GOLANG

2016-08-04 Thread Florin Pățan
You can try any IDE from JetBrains and it should support Go. Among debugging and other things, see what the latest release brought to it: http://go-ide.com/releases/0.11.1725/ -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from

[go-nuts] Go plugin for IntelliJ update with support for 2016.2 IDEs and a lot more

2016-07-21 Thread Florin Pățan
Hi all, The Go plugin for IntelliJ (and all the other JetBrains IDEs + Android Studio) has just received a new update. Among the the most important things the plugin adds are: - a lot of new inspections and quickfixes - completion improvements - improved overall performance - support for the

Re: [go-nuts] What dependency management tool do you use?

2016-07-16 Thread Florin Pățan
On Saturday, July 16, 2016 at 11:34:12 AM UTC+1, Mauro Toffanin wrote: > > On 16/07/16 11:44, Florin Pățan wrote: > > I appreciate you like gb, it's an interesting tool, but you cannot > > explain why it's different compared to other solutions when it comes to > > those

Re: [go-nuts] What dependency management tool do you use?

2016-07-16 Thread Florin Pățan
rolled via the dependency management of your choice. You can do this with revisions but eh, not very fun to do it. On Saturday, July 16, 2016 at 10:23:00 AM UTC+1, Mauro Toffanin wrote: > > On 16/07/16 01:43, Florin Pățan wrote: > > I feel this is a controversial statement. > >Go

Re: [go-nuts] What dependency management tool do you use?

2016-07-15 Thread Florin Pățan
I feel this is a controversial statement. Godep can do this just as well, in fact any vendoring tool can do this, as long as you commit your dependencies. Can you plead elaborate how using gb changes an6 of this? Thank you. -- You received this message because you are subscribed to the Google

Re: [go-nuts] Re: Relaxing rules on slice comparison: would it make sense?

2016-07-03 Thread Florin Pățan
r. > https://golang.org/ref/spec#Slice_types > > I am not inventing things. > > I know what people on this thread said, but that's their misconception. > > On Sunday, July 3, 2016 at 1:40:46 PM UTC+2, Florin Pățan wrote: >> >> As you pointed out, Printf() should follow t

Re: [go-nuts] Re: Relaxing rules on slice comparison: would it make sense?

2016-07-03 Thread Florin Pățan
> On Sunday, July 3, 2016 at 1:12:17 PM UTC+2, Chad wrote: >> >> No. You should not get it from here. You should get the answer from the >> spec. Let alone the fact that the implementation should ideally follow the >> spec and not the reverse. >> >> On Sunda

Re: [go-nuts] Re: Relaxing rules on slice comparison: would it make sense?

2016-07-03 Thread Florin Pățan
t; I am just asking what is the value of a slice and what is the value of an > array. > > Remember that there is no slice comparison that has been spec'ed so far. > > On Sunday, July 3, 2016 at 12:24:05 PM UTC+2, Florin Pățan wrote: >> >> For []T the value of a slice for

Re: [go-nuts] Re: Relaxing rules on slice comparison: would it make sense?

2016-07-03 Thread Florin Pățan
of view. Just accept this. On Sunday, July 3, 2016 at 11:19:48 AM UTC+1, Chad wrote: > > What's the value of a slice? > > What's the value of an array? > > On Sunday, July 3, 2016 at 12:05:38 PM UTC+2, Florin Pățan wrote: >> >> If the type is *[]T then comparing memo

Re: [go-nuts] Re: Relaxing rules on slice comparison: would it make sense?

2016-07-03 Thread Florin Pățan
If the type is *[]T then comparing memory addresses make sense to see if both terms point to the same memory address. If the type is []T then comparing memory addresses doesn't make sense as I'd expect to compare values. Finally, if the type is []*T then I'd still expect to compare values (even