Vikram,

On Sep 29, 2017 8:49 AM, "Vikram Rawat" <vikramrawa...@gmail.com> wrote:

Thanks for your reply. Library seems promising. but when I run it , this
errors out



cannot find package "bitbucket.org/zombiezen/gopdf/pdf" in any of:
C:\Go\src\bitbucket.org\zombiezen\gopdf\pdf (from $GOROOT)
C:\Projects\Go\src\bitbucket.org\zombiezen\gopdf\pdf (from $GOPATH)



when I try go get on these packages they don't work either.

C:\Projects\Go\src>go get bitbucket.org/zombiezen/gopdf/pdf
go: missing Mercurial command. See https://golang.org/s/gogetcmd
package bitbucket.org/zombiezen/gopdf/pdf: exec: "hg": executable file not
found in %PATH%



You need to install mercurial to retrieve the repository from bitbucket.

We may at some point drop this dependency and use one from GitHub (so there
shouldn't be anymore the need to get mercurial first...)



> I saw a talk on some youtube regarding go in data science. I learned go 2
> months ago but now I feel like it's an entirely different beast. look I am
> just trying to learn GOLANG so that when I need to build something may be
> after 5 to 10 months I would be comfirtable working with it. So Right now I
> don't have a use case scnario. I am just trying to learn the language.



But there are a lot of improvements needed like

1. 49 lines of code just to create a flat basic line chart for random
numbers. and that's when I haven't even got my data in from the database or
did some background coloring.
2. Loops are not good while creating graphs you know them I don't I can
miss one and mess it up entirely. With loops, I would never be sure if I
have created the right graph. Loops should just run in the background not
for me to see or create.
3. The syntax just doesn't feel intuitive. I feel like nobody would be able
to predict the next command in the sequence. You must know now there is a
grammar of graphics. it's used in ggplot2, ggvis, vega, vega-lite, and many
python packages as well.
4. Analysts don't care about speed (maybe a bit) but data. What they do
care about is their data code should be easy else your mind will be
occupied by typing and thinking code when it should be thinking about data.


Data is important, indeed, and knowing how you present it too :)

If you prefer a grammar of graphics type of library, there's this one as
well:

https://github.com/aclements/go-gg



today I just feel like golang doesn't have ploting libraries they never
thought it was necessary but straight away starting comparing it to python.

but can you please tell me how to run those examples. I am not able to run
it. what am I doing wrong.

-- 
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 https://groups.google.com/d/optout.

-- 
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 https://groups.google.com/d/optout.

Reply via email to