Giter Site home page Giter Site logo

igb's People

Contributors

engineerkamesh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

igb's Issues

Go Get for IGWEB demo gives no error but no files

Seems as if it's working...
go get -u github.com/EngineerKamesh/igb
go: finding github.com/EngineerKamesh/igb latest

Yet, no files...or even a directory show up...
ls ${GOPATH}/src/github.com/EngineerKamesh
ls: cannot access '/home/jeff/.go/src/github.com/EngineerKamesh': No such file or directory

Am I missing rights for it? I purchased your book through Amazon. Thank you sir.

Back button not working in IGWEB app

Hi Kamesh,

I bought your book a few days ago; I'd been a little jealous of isometric JS, so I am excited to see this!

It looks like the back button isn't completely working in the IGWEB app (running on my local or on your demo site). History is preserved correctly, and the URL changes, but the views aren't loading automatically. Refreshing the page with the URL does work, however.

I've tested on the latest versions of Firefox, Chrome, and Safari on an up-to-date Mac.

Shopping cart checkout

Hi Kamesh,

I just bought your book from Packt and visited your demo. I was wondering if you could show us how to do a checkout flow with stripe and maybe a admin panel to fullfill orders. I also bought your front end and back end go books published with Packt 😊

Cheers,
Rob

Chapter 8: Chat bot code example not working due to recent nlp package refactoring

Reference: Packt Case #309599

The command go get github.com/james-bowman/nlp will no longer work. It seems a code refactoring was performed on this package recently, which impacts the code examples in Chapter 8.

A reader has reported the following details:
On page: Page 52

The command $ go get ./.. does not work.
in the github.com/EngineerKamesh/igb/igweb/bot/agentcase.go file you need to
add to the imports:
"github.com/james-bowman/nlp/measures/pairwise"
and change: nlp.CosineSimilarity to pairwise.CosineSimilarity

gopherjs build problem in 64bit windows 10

hi! i can't get past the gopherjs build step after go get ./.. inside .../igb/igweb/client
i wonder if it has anything to do with the fact that i'm using go version 1.9.2 but gopherjs version 1.9-1 ??

here are the messages i get in my command console:
f:\gowork\src\github.com\EngineerKamesh\igb\igweb\client>gopherjs build
�[31mC:\Go\src\internal\poll\fd_windows.go:386:22: invalid operation: fd.pd (variable of type pollDesc) has no field or method runtimeCtx
�[39m�[31mC:\Go\src\internal\poll\fd_windows.go:387:22: invalid operation: fd.pd (variable of type pollDesc) has no field or method runtimeCtx
�[39m�[31mC:\Go\src\internal\poll\fd_windows.go:167:5: invalid operation: o.fd.pd (variable of type pollDesc) has no field or method runtimeCtx
�[39m
f:\gowork\src\github.com\EngineerKamesh\igb\igweb\client>

thanks for any info or help!

A minor typing issue(Chapter03)

Hello, Kamesh

I've found a minor typing issue.
In page86,
element := js.Get("document").Call("getElementById"), "primaryContent")

This code should be
element := js.Get("document").Call("getElementById", "primaryContent")

I think your book is amazing!
Thank you for your valuable time and sharing valuable idea :)

(fyi) Notes on Chapter 2

@EngineerKamesh
Hi Kamesh! This is a great book. I just started learning, hoping that isomorphic Go is a nice journey. Two notes around this topic:

  1. Started taking notes around issues and fixes here. Maybe these could be added to the Errata.
  2. I've noticed that not many updates on this year exists on Twitter. Is there a reason for this?

Anyway, I am hoping that this whole initiative is a great development experience with great results and I would like to contribute to it.

Thanks for the book!

Code doesn't compile if enabling GO module

Hi @EngineerKamesh ,

As mentioned in another ticket, the client code doesn't build because GopherJS doesn't support Go module, and the solution is to install older version of github.com/tdewolff/minify and github.com/tdewolff/parse.

However, when my project grows, I may need to use some other packages that requires Go module, and using old version of those packages may not always work. So I do a google search and find this article telling me that we can use go mod vendor to get around it.

This approach does fix the module issue, but now I get another error:
..\vendor\go.isomorphicgo.org\uxtoolkit\reconcile\parsetree.go:53:22: tokenizer.CurrentOffset undefined (type *"github.com/EngineerKamesh/igb/igweb/vendor/golang.org/x/net/html".Tokenizer has no field or method CurrentOffset)

I try to track down the issue, and I notice that go.isomorphicgo.org\uxtoolkit\reconcile is also your project, and you customize the golang.org/x/net package, put it in the vendor folder, which makes the GopherJS confused.

I'm just wondering if there is a proper fix for this, so that I can enable GO module without breaking your code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.