dep not installing certain transitive deps.

What version of Go (go version) and dep (git describe --tags) are you using?
Go version: go1.8.3 darwin/amd64
dep version: v0.1.0-313-g44a454b
What dep command did you run?
In the root directory of this repository
$ dep ensure -v

output:
Root project is "github.com/marvin-automator/marvin"
 29 transitively valid internal packages
 19 external packages imported from 12 projects
(0)   ✓ select (root)
(1)	? attempt github.com/boltdb/bolt with 1 pkgs; at least 1 versions to try
(1)	    try<EMAIL_ADDRESS>(1)	✓ select<EMAIL_ADDRESS>w/1 pkgs
(2)	? attempt github.com/gobuffalo/buffalo with 5 pkgs; 44 versions to try
(2)	    try<EMAIL_ADDRESS>(2)	✓ select<EMAIL_ADDRESS>w/7 pkgs
(3)	? attempt github.com/dustin/go-humanize with 1 pkgs; at least 1 versions to try
(3)	    try github.com/dustin/go-humanize@master
(3)	✓ select github.com/dustin/go-humanize@master w/1 pkgs
(4)	? attempt github.com/gobuffalo/envy with 1 pkgs; at least 1 versions to try
(4)	    try github.com/gobuffalo/envy@master
(4)	✓ select github.com/gobuffalo/envy@master w/1 pkgs
(5)	? attempt github.com/gobuffalo/packr with 1 pkgs; at least 1 versions to try
(5)	    try github.com/gobuffalo/packr@master
(5)	✓ select github.com/gobuffalo/packr@master w/1 pkgs
(6)	? attempt github.com/gorilla/mux with 1 pkgs; at least 1 versions to try
(6)	    try<EMAIL_ADDRESS>(6)	✓ select<EMAIL_ADDRESS>w/1 pkgs
(7)	? attempt github.com/gorilla/context with 1 pkgs; at least 1 versions to try
(7)	    try<EMAIL_ADDRESS>(7)	✓ select<EMAIL_ADDRESS>w/1 pkgs
(8)	? attempt github.com/gobuffalo/tags with 1 pkgs; at least 1 versions to try
(8)	    try github.com/gobuffalo/tags@master
(8)	✓ select github.com/gobuffalo/tags@master w/1 pkgs
(9)	? attempt github.com/fatih/structs with 1 pkgs; at least 1 versions to try
(9)	    try<EMAIL_ADDRESS>(9)	✓ select<EMAIL_ADDRESS>w/1 pkgs
(10)  ? attempt github.com/gorilla/sessions with 1 pkgs; at least 1 versions to try
(10)      try<EMAIL_ADDRESS>(10)  ✓ select<EMAIL_ADDRESS>w/1 pkgs
(11)  ? attempt github.com/markbates/going with 2 pkgs; at least 1 versions to try
(11)      try github.com/markbates/going@master
(11)  ✓ select github.com/markbates/going@master w/2 pkgs
(12)  ? attempt github.com/gobuffalo/plush with 1 pkgs; at least 1 versions to try
(12)      try github.com/gobuffalo/plush@master
(12)  ✓ select github.com/gobuffalo/plush@master w/5 pkgs
(13)  ? revisit github.com/gobuffalo/tags to add 2 pkgs
(13)    ✓ include 3 more pkgs from github.com/gobuffalo/tags@master
(13)  ? attempt github.com/markbates/grift with 1 pkgs; at least 1 versions to try
(14)      try github.com/markbates/grift@master
(14)  ✓ select github.com/markbates/grift@master w/1 pkgs
(14)  ? attempt github.com/gorilla/securecookie with 1 pkgs; at least 1 versions to try
(15)      try<EMAIL_ADDRESS>(15)  ✓ select<EMAIL_ADDRESS>w/1 pkgs
(15)  ? attempt github.com/markbates/refresh with 1 pkgs; at least 1 versions to try
(16)      try<EMAIL_ADDRESS>(16)  ✓ select<EMAIL_ADDRESS>w/2 pkgs
(16)  ? attempt github.com/fatih/color with 1 pkgs; at least 1 versions to try
(17)      try<EMAIL_ADDRESS>(17)  ✓ select<EMAIL_ADDRESS>w/1 pkgs
(17)  ? attempt github.com/fsnotify/fsnotify with 1 pkgs; at least 1 versions to try
(18)      try<EMAIL_ADDRESS>(18)  ✓ select<EMAIL_ADDRESS>w/1 pkgs
(18)  ? attempt github.com/mattn/go-colorable with 1 pkgs; at least 1 versions to try
(19)      try<EMAIL_ADDRESS>(19)  ✓ select<EMAIL_ADDRESS>w/1 pkgs
(19)  ? attempt github.com/markbates/validate with 2 pkgs; at least 1 versions to try
(20)      try github.com/markbates/validate@master
(20)  ✓ select github.com/markbates/validate@master w/2 pkgs
(20)  ? revisit github.com/markbates/going to add 1 pkgs
(21)    ✓ include 1 more pkgs from github.com/markbates/going@master
(20)  ? attempt github.com/tonnerre/golang-pretty with 1 pkgs; at least 1 versions to try
(22)      try github.com/tonnerre/golang-pretty@master
(22)  ✓ select github.com/tonnerre/golang-pretty@master w/1 pkgs
(21)  ? attempt github.com/gorilla/websocket with 1 pkgs; at least 1 versions to try
(23)      try<EMAIL_ADDRESS>(23)  ✓ select<EMAIL_ADDRESS>w/1 pkgs
(22)  ? attempt github.com/kr/text with 1 pkgs; at least 1 versions to try
(24)      try github.com/kr/text@master
(24)  ✓ select github.com/kr/text@master w/1 pkgs
(23)  ? attempt github.com/markbates/inflect with 1 pkgs; at least 1 versions to try
(25)      try github.com/markbates/inflect@master
(25)  ✓ select github.com/markbates/inflect@master w/1 pkgs
(24)  ? attempt github.com/mattn/go-isatty with 1 pkgs; at least 1 versions to try
(26)      try<EMAIL_ADDRESS>(26)  ✓ select<EMAIL_ADDRESS>w/1 pkgs
(25)  ? attempt github.com/sirupsen/logrus with 1 pkgs; at least 1 versions to try
(27)      try<EMAIL_ADDRESS>(27)  ✓ select<EMAIL_ADDRESS>w/1 pkgs
(26)  ? attempt golang.org/x/oauth2 with 2 pkgs; at least 1 versions to try
(28)      try golang.org/x/oauth2@master
(28)  ✓ select golang.org/x/oauth2@master w/3 pkgs
(27)  ? attempt github.com/serenize/snaker with 1 pkgs; at least 1 versions to try
(29)      try github.com/serenize/snaker@master
(29)  ✓ select github.com/serenize/snaker@master w/1 pkgs
(28)  ? attempt github.com/pkg/errors with 1 pkgs; at least 1 versions to try
(30)      try<EMAIL_ADDRESS>(30)  ✓ select<EMAIL_ADDRESS>w/1 pkgs
(29)  ? attempt github.com/mitchellh/go-homedir with 1 pkgs; at least 1 versions to try
(31)      try github.com/mitchellh/go-homedir@master
(31)  ✓ select github.com/mitchellh/go-homedir@master w/1 pkgs
(30)  ? attempt golang.org/x/crypto with 1 pkgs; at least 1 versions to try
(32)      try golang.org/x/crypto@master
(32)  ✓ select golang.org/x/crypto@master w/2 pkgs
(31)  ? attempt golang.org/x/sys with 1 pkgs; at least 1 versions to try
(33)      try golang.org/x/sys@master
(33)  ✓ select golang.org/x/sys@master w/1 pkgs
(32)  ? attempt github.com/markbates/pop with 2 pkgs; at least 1 versions to try
(34)      try<EMAIL_ADDRESS>(34)  ✓ select<EMAIL_ADDRESS>w/5 pkgs
(33)  ? attempt github.com/go-sql-driver/mysql with 1 pkgs; at least 1 versions to try
(35)      try<EMAIL_ADDRESS>(35)  ✓ select<EMAIL_ADDRESS>w/1 pkgs
(34)  ? attempt github.com/mattn/anko with 2 pkgs; at least 1 versions to try
(36)      try github.com/mattn/anko@master
(36)  ✓ select github.com/mattn/anko@master w/27 pkgs
(35)  ? attempt github.com/daviddengcn/go-colortext with 1 pkgs; at least 1 versions to try
(37)      try github.com/daviddengcn/go-colortext@master
(37)  ✓ select github.com/daviddengcn/go-colortext@master w/1 pkgs
(36)  ? attempt github.com/stretchr/testify with 3 pkgs; at least 1 versions to try
(38)      try<EMAIL_ADDRESS>(38)  ✓ select<EMAIL_ADDRESS>w/3 pkgs
(37)  ? attempt github.com/davecgh/go-spew with 1 pkgs; at least 1 versions to try
(39)      try<EMAIL_ADDRESS>(39)  ✓ select<EMAIL_ADDRESS>w/1 pkgs
(38)  ? attempt github.com/lib/pq with 1 pkgs; at least 1 versions to try
(40)      try github.com/lib/pq@master
(40)  ✓ select github.com/lib/pq@master w/2 pkgs
(39)  ? attempt github.com/jmoiron/sqlx with 1 pkgs; at least 1 versions to try
(41)      try github.com/jmoiron/sqlx@master
(41)  ✓ select github.com/jmoiron/sqlx@master w/2 pkgs
(40)  ? attempt github.com/mattn/go-sqlite3 with 1 pkgs; at least 1 versions to try
(42)      try<EMAIL_ADDRESS>(42)  ✓ select<EMAIL_ADDRESS>w/1 pkgs
(41)  ? attempt github.com/pmezard/go-difflib with 1 pkgs; at least 1 versions to try
(43)      try<EMAIL_ADDRESS>(43)  ✓ select<EMAIL_ADDRESS>w/1 pkgs
(42)  ? attempt golang.org/x/net with 2 pkgs; at least 1 versions to try
(44)      try golang.org/x/net@master
(44)  ✓ select golang.org/x/net@master w/2 pkgs
(43)  ? attempt google.golang.org/appengine with 1 pkgs; at least 1 versions to try
(45)      try<EMAIL_ADDRESS>(45)  ✓ select<EMAIL_ADDRESS>w/7 pkgs
(44)  ? attempt github.com/golang/protobuf with 1 pkgs; at least 1 versions to try
(46)      try github.com/golang/protobuf@master
(46)  ✓ select github.com/golang/protobuf@master w/1 pkgs
(45)  ? attempt github.com/nicksnyder/go-i18n with 3 pkgs; at least 1 versions to try
(47)      try<EMAIL_ADDRESS>(47)  ✓ select<EMAIL_ADDRESS>w/4 pkgs
(46)  ? attempt github.com/monoculum/formam with 1 pkgs; at least 1 versions to try
(48)      try<EMAIL_ADDRESS>(48)  ✓ select<EMAIL_ADDRESS>w/1 pkgs
(47)  ? attempt github.com/satori/go.uuid with 1 pkgs; at least 1 versions to try
(49)      try<EMAIL_ADDRESS>(49)  ✓ select<EMAIL_ADDRESS>w/1 pkgs
(48)  ? attempt github.com/pelletier/go-toml with 1 pkgs; at least 1 versions to try
(50)      try<EMAIL_ADDRESS>(50)  ✓ select<EMAIL_ADDRESS>w/1 pkgs
(49)  ? attempt github.com/pelletier/go-buffruneio with 1 pkgs; at least 1 versions to try
(51)      try<EMAIL_ADDRESS>(51)  ✓ select<EMAIL_ADDRESS>w/1 pkgs
(50)  ? attempt github.com/shurcooL/github_flavored_markdown with 1 pkgs; at least 1 versions to try
(52)      try github.com/shurcooL/github_flavored_markdown@master
(52)  ✓ select github.com/shurcooL/github_flavored_markdown@master w/1 pkgs
(51)  ? revisit golang.org/x/net to add 2 pkgs
(53)    ✓ include 2 more pkgs from golang.org/x/net@master
(51)  ? attempt github.com/russross/blackfriday with 1 pkgs; at least 1 versions to try
(54)      try<EMAIL_ADDRESS>(54)  ✓ select<EMAIL_ADDRESS>w/1 pkgs
(52)  ? attempt github.com/microcosm-cc/bluemonday with 1 pkgs; at least 1 versions to try
(55)      try github.com/microcosm-cc/bluemonday@master
(55)  ✓ select github.com/microcosm-cc/bluemonday@master w/1 pkgs
(53)  ? attempt github.com/shurcooL/highlight_diff with 1 pkgs; at least 1 versions to try
(56)      try github.com/shurcooL/highlight_diff@master
(56)  ✓ select github.com/shurcooL/highlight_diff@master w/1 pkgs
(54)  ? attempt github.com/sergi/go-diff with 1 pkgs; at least 1 versions to try
(57)      try github.com/sergi/go-diff@master
(57)  ✓ select github.com/sergi/go-diff@master w/1 pkgs
(55)  ? attempt github.com/shurcooL/highlight_go with 1 pkgs; at least 1 versions to try
(58)      try github.com/shurcooL/highlight_go@master
(58)  ✓ select github.com/shurcooL/highlight_go@master w/1 pkgs
(56)  ? attempt github.com/sourcegraph/syntaxhighlight with 1 pkgs; at least 1 versions to try
(59)      try github.com/sourcegraph/syntaxhighlight@master
(59)  ✓ select github.com/sourcegraph/syntaxhighlight@master w/1 pkgs
(57)  ? attempt github.com/stretchr/objx with 1 pkgs; at least 1 versions to try
(60)      try github.com/stretchr/objx@master
(60)  ✓ select github.com/stretchr/objx@master w/1 pkgs
(58)  ? attempt github.com/shurcooL/octiconssvg with 1 pkgs; at least 1 versions to try
(61)      try github.com/shurcooL/octiconssvg@master
(61)  ✓ select github.com/shurcooL/octiconssvg@master w/1 pkgs
(59)  ? attempt github.com/shurcooL/go-goon with 1 pkgs; at least 1 versions to try
(62)      try github.com/shurcooL/go-goon@master
(62)  ✓ select github.com/shurcooL/go-goon@master w/1 pkgs
(60)  ? attempt github.com/shurcooL/go with 1 pkgs; at least 1 versions to try
(63)      try github.com/shurcooL/go@master
(63)  ✓ select github.com/shurcooL/go@master w/4 pkgs
(61)  ? attempt github.com/shurcooL/sanitized_anchor_name with 1 pkgs; at least 1 versions to try
(64)      try github.com/shurcooL/sanitized_anchor_name@master
(64)  ✓ select github.com/shurcooL/sanitized_anchor_name@master w/1 pkgs
(62)  ? attempt github.com/sourcegraph/annotate with 1 pkgs; at least 1 versions to try
(65)      try github.com/sourcegraph/annotate@master
(65)  ✓ select github.com/sourcegraph/annotate@master w/1 pkgs
(63)  ? attempt gopkg.in/yaml.v2 with 1 pkgs; at least 1 versions to try
(66)      try gopkg.in/yaml.v2@v2
(66)  ✓ select gopkg.in/yaml.v2@v2 w/1 pkgs
  ✓ found solution with 131 packages from 63 projects

Solver wall times by segment:
              b-gmal: 24.612801586s
         b-list-pkgs:  3.713958325s
     b-source-exists:  2.009792031s
  b-deduce-proj-root:  1.024212076s
             satisfy:   16.207674ms
         select-atom:    11.41175ms
         select-root:     6.57298ms
            new-atom:    2.820143ms
               other:      290.29µs
     b-list-versions:      89.594µs
          b-pair-rev:      17.115µs
           b-matches:      14.524µs
            add-atom:      13.897µs
      b-pair-version:       3.549µs

  TOTAL: 31.398205534s

What did you expect to see?
I ran go test ./..., and expected the tests to pass.
What did you see instead?

vendor/github.com/kr/text/mc/mc.go:13:2: cannot find package "github.com/kr/pty" in any of:
	/Users/frederikcreemers/go/src/github.com/marvin-automator/marvin/vendor/github.com/kr/pty (vendor tree)
	/usr/local/go/src/github.com/kr/pty (from $GOROOT)
	/Users/frederikcreemers/go/src/github.com/kr/pty (from $GOPATH)
vendor/github.com/mattn/go-sqlite3/tool/upgrade.go:16:2: cannot find package "github.com/PuerkitoBio/goquery" in any of:
	/Users/frederikcreemers/go/src/github.com/marvin-automator/marvin/vendor/github.com/PuerkitoBio/goquery (vendor tree)
	/usr/local/go/src/github.com/PuerkitoBio/goquery (from $GOROOT)
	/Users/frederikcreemers/go/src/github.com/PuerkitoBio/goquery (from $GOPATH)
vendor/github.com/shurcooL/go/gopherjs_http/gopherjs_http.go:13:2: cannot find package "github.com/shurcooL/gopherjslib" in any of:
	/Users/frederikcreemers/go/src/github.com/marvin-automator/marvin/vendor/github.com/shurcooL/gopherjslib (vendor tree)
	/usr/local/go/src/github.com/shurcooL/gopherjslib (from $GOROOT)
	/Users/frederikcreemers/go/src/github.com/shurcooL/gopherjslib (from $GOPATH)
vendor/github.com/shurcooL/go/gopherjs_http/jsutil/jsutil.go:8:2: cannot find package "github.com/gopherjs/gopherjs/js" in any of:
	/Users/frederikcreemers/go/src/github.com/marvin-automator/marvin/vendor/github.com/gopherjs/gopherjs/js (vendor tree)
	/usr/local/go/src/github.com/gopherjs/gopherjs/js (from $GOROOT)
	/Users/frederikcreemers/go/src/github.com/gopherjs/gopherjs/js (from $GOPATH)
vendor/github.com/shurcooL/go/gopherjs_http/jsutil/jsutil.go:9:2: cannot find package "honnef.co/go/js/dom" in any of:
	/Users/frederikcreemers/go/src/github.com/marvin-automator/marvin/vendor/honnef.co/go/js/dom (vendor tree)
	/usr/local/go/src/honnef.co/go/js/dom (from $GOROOT)
	/Users/frederikcreemers/go/src/honnef.co/go/js/dom (from $GOPATH)
vendor/github.com/shurcooL/go/pipeutil/dir.go:3:8: cannot find package "gopkg.in/pipe.v2" in any of:
	/Users/frederikcreemers/go/src/github.com/marvin-automator/marvin/vendor/gopkg.in/pipe.v2 (vendor tree)
	/usr/local/go/src/gopkg.in/pipe.v2 (from $GOROOT)
	/Users/frederikcreemers/go/src/gopkg.in/pipe.v2 (from $GOPATH)
vendor/github.com/shurcooL/go/vfs/godocfs/godocfs/godocfs.go:8:2: cannot find package "github.com/shurcooL/httpfs/vfsutil" in any of:
	/Users/frederikcreemers/go/src/github.com/marvin-automator/marvin/vendor/github.com/shurcooL/httpfs/vfsutil (vendor tree)
	/usr/local/go/src/github.com/shurcooL/httpfs/vfsutil (from $GOROOT)
	/Users/frederikcreemers/go/src/github.com/shurcooL/httpfs/vfsutil (from $GOPATH)
vendor/github.com/sirupsen/logrus/examples/hook/hook.go:5:2: cannot find package "gopkg.in/gemnasium/logrus-airbrake-hook.v2" in any of:
	/Users/frederikcreemers/go/src/github.com/marvin-automator/marvin/vendor/gopkg.in/gemnasium/logrus-airbrake-hook.v2 (vendor tree)
	/usr/local/go/src/gopkg.in/gemnasium/logrus-airbrake-hook.v2 (from $GOROOT)
	/Users/frederikcreemers/go/src/gopkg.in/gemnasium/logrus-airbrake-hook.v2 (from $GOPATH)
vendor/golang.org/x/net/html/charset/charset.go:20:2: cannot find package "golang.org/x/text/encoding" in any of:
	/Users/frederikcreemers/go/src/github.com/marvin-automator/marvin/vendor/golang.org/x/text/encoding (vendor tree)
	/usr/local/go/src/golang.org/x/text/encoding (from $GOROOT)
	/Users/frederikcreemers/go/src/golang.org/x/text/encoding (from $GOPATH)
vendor/golang.org/x/net/html/charset/charset.go:21:2: cannot find package "golang.org/x/text/encoding/charmap" in any of:
	/Users/frederikcreemers/go/src/github.com/marvin-automator/marvin/vendor/golang.org/x/text/encoding/charmap (vendor tree)
	/usr/local/go/src/golang.org/x/text/encoding/charmap (from $GOROOT)
	/Users/frederikcreemers/go/src/golang.org/x/text/encoding/charmap (from $GOPATH)
vendor/golang.org/x/net/html/charset/charset.go:22:2: cannot find package "golang.org/x/text/encoding/htmlindex" in any of:
	/Users/frederikcreemers/go/src/github.com/marvin-automator/marvin/vendor/golang.org/x/text/encoding/htmlindex (vendor tree)
	/usr/local/go/src/golang.org/x/text/encoding/htmlindex (from $GOROOT)
	/Users/frederikcreemers/go/src/golang.org/x/text/encoding/htmlindex (from $GOPATH)
vendor/golang.org/x/net/html/charset/charset.go:23:2: cannot find package "golang.org/x/text/transform" in any of:
	/Users/frederikcreemers/go/src/github.com/marvin-automator/marvin/vendor/golang.org/x/text/transform (vendor tree)
	/usr/local/go/src/golang.org/x/text/transform (from $GOROOT)
	/Users/frederikcreemers/go/src/golang.org/x/text/transform (from $GOPATH)
vendor/golang.org/x/net/idna/idna.go:23:2: cannot find package "golang.org/x/text/secure/bidirule" in any of:
	/Users/frederikcreemers/go/src/github.com/marvin-automator/marvin/vendor/golang.org/x/text/secure/bidirule (vendor tree)
	/usr/local/go/src/golang.org/x/text/secure/bidirule (from $GOROOT)
	/Users/frederikcreemers/go/src/golang.org/x/text/secure/bidirule (from $GOPATH)
vendor/golang.org/x/net/idna/idna.go:24:2: cannot find package "golang.org/x/text/unicode/norm" in any of:
	/Users/frederikcreemers/go/src/github.com/marvin-automator/marvin/vendor/golang.org/x/text/unicode/norm (vendor tree)
	/usr/local/go/src/golang.org/x/text/unicode/norm (from $GOROOT)
	/Users/frederikcreemers/go/src/golang.org/x/text/unicode/norm (from $GOPATH)
vendor/golang.org/x/oauth2/google/default.go:16:2: cannot find package "cloud.google.com/go/compute/metadata" in any of:
	/Users/frederikcreemers/go/src/github.com/marvin-automator/marvin/vendor/cloud.google.com/go/compute/metadata (vendor tree)
	/usr/local/go/src/cloud.google.com/go/compute/metadata (from $GOROOT)
	/Users/frederikcreemers/go/src/cloud.google.com/go/compute/metadata (from $GOPATH)

It seems like a whole bunch of transitive deps weren't installed. Installing them using go dep ensure <importpath> removes that from the list of missing packages, but that's no long term solution.

thanks for pitching in with the explanation there, @bradleyfalzon 😄
the main point here is that dep does not consider dependencies that are uniquely imported by your dependencies' tests. this is still awkward pre-Go 1.9 (where the problem is fixed, by that issue @bradleyfalzon linked), where ./... will still catch vendor/, as it means that go test ./... will try to run your dependencies' tests.
this is by design, though - it's not really on you to run your dependencies' tests.


When i use extends or mixin to  reuse a base component,How can i access the base component's data(computed or watched）in the method "setup" of the child component.

Version
3.0.2
Steps to reproduce
base component
<script lang='ts'>
import { h, defineComponent, reactive, VNode, VNodeChild, computed } from "vue";
import { arrayValidator } from "../../../utils/validator";

const displayArray = [
  "none",
  "flex",
  "inline-flex",
  "block",
  "inline",
  "inline-block",
  "table",
  "table-row",
  "table-cell",
];

export default defineComponent({
  name: "SDBase",
  props: {
    display: {
      type: String,
      default: "top",
      validator: arrayValidator("display", displayArray),
    },
    xs: [String, Object],
    sm: [String, Object],
    md: [String, Object],
    lg: [String, Object],
    xl: [String, Object],
  },
  computed: {
    baseClassList: function (): Array<String> {
      let classList = [];

      ...

      return classList;
    },
  },
});
</script>

child component
export default defineComponent({
  name: "SDContainer",
  extends: SDBase
...

setup(props, context) {
   // How can i access the base component's data(computed or watched）here.
  },

What is expected?
I want to access the parent(base) component's (data, props, computed,watched,etc) in the method "setup" of the child component.
What is actually happening?
I do not know how to do it.

You should do that in other options API because setup() is called before other component options are resolved.


additional enhancements

byte, Byte, List, Set, Map and number-of-methods-tested

Added support for beans that return byte (primitive), Byte (object wrapper), Lists, Sets and Maps.  This allows for a wider set of beans to be tested.
I also added changed test(..) to return "int" - number of methods that were tested.  This allows tests to do:   assertEquals(4, JavaBeanTester.test(Bean.class)) and confirm that 4 properties were invoked properly.  Primary reason is that if someone in the future adds a new variable to Bean (that's properly testable), they should proactively update the related test to "5" indicating that there is both a code-change and a test-change in support of each other.


increase inactivity timeout

Hi dear developer
so thanks for your great job
i manage to install browserviece on virtualbox , for my surface rt 2
and the connection is slow on low quality , but however i go to web.whatsapp and after 30 second in chat it disconnected. i was looking in --help to find a way to increase inactivity timeout but found nothing relate to that.
is there a way or future update for this?

Do I understand correctly that you run Browservice in a Linux virtual machine on some other machine than the Surface 2, and you connected to it over the network from Surface 2 running Windows RT? Which browser did you use on Surface 2?
How exactly did it disconnect after 30 seconds? Did it write "Browservice: Connection lost" to window title and status? That should happen only if retrying loading an image from the server every 3 seconds has failed 10 times in a row; if you were successfully interacting with web.whatsapp.com through Browservice until the disconnection, then not all of them could have failed. This would mean that the timeout is not too low, but rather that something is wrong with the JavaScript client timeout logic. Therefore it is important to know which browser you used.


Reactive

thank you for working on this project.
Is this golang client able to receive change events when Pocketbaae fires events ?  It would need I presume to use a golang SSE lib.

Not yet; currently, simple CRUD operations are needed for my projects.

WIP in PR #11

Fixed by @shynome


Remember window size and position

When user resizes or moves the window, the app should remember the last size and position on next launch, as well as the column separator position within the tabs.

This project does not appear to be actively maintained. Retracting.


bug in chess terminal determination?

I just tried the following code
env = pyspiel.load_game("chess")
state = env.new_initial_state()
while not state.is_terminal():
    actions = state.legal_actions(state.current_player())
    spiel_actions = np.array(sorted(actions))
    state.apply_action(spiel_actions[0])
print(str(state))

It seems that the game ended earlier before the terminal. I checked the print of the state at the last line. It's 1nbqkbnr/rppppppp/p7/8/8/P7/RPPPPPPP/1NBQKBNR w Kk - 10 7
It does not seem to be the end of the game. What's wrong here? Thanks in advance!

Hi, I think this is because a state is getting repeated 3 times: https://en.wikipedia.org/wiki/Threefold_repetition
Checked by this function: https://github.com/google-deepmind/open_spiel/blob/7c58b6c28cc975f2a7a02a7ea604197a30ed3186/open_spiel/games/chess/chess.h#L178
Use print(state.debug_string()) throughout the history to see it visually.

Hi, I think this is because a state is getting repeated 3 times: https://en.wikipedia.org/wiki/Threefold_repetition
Checked by this function:
https://github.com/google-deepmind/open_spiel/blob/7c58b6c28cc975f2a7a02a7ea604197a30ed3186/open_spiel/games/chess/chess.h#L178
Use print(state.debug_string()) throughout the history to see it visually.

Thanks! This actually the case!


False-positive for rule no-this-in-sfc

This code produces a false-positive error:
import React, { Fragment } from 'react';

const CustomComponent = () => {};

const Example = ({ prop }) => {
    return {
        handleClick: () => {
            console.log('click');
        },

        renderNode({ children, value }) {
            return (
                <Fragment>
                    {children}
                    <CustomComponent
                        onClick={this.handleClick}
                        value={value}
                        prop={prop}
                    />
                </Fragment>
            );
        },
    };
};

export default Example;

example.jsx:15:47: Stateless functional components should not use this [Error/react/no-this-in-sfc]

Problems:

The Example is not an SFC. It returns a plain object.
The renderNode is a render function, the this.handleClick is valid reference to the handleClick function on the object returned by Example.

Expected behaviour:
The rule correctly detects the context of the render function and doesn't treat it as an SFC.
A smaller, console-testable example to show that the above code works:
const X = {
    getRandomValue: () => 4,
    double() {
        return this.getRandomValue() * 2;
    },
};
console.log(X.double());

Using:

<EMAIL_ADDRESS><EMAIL_ADDRESS>rule config: "react/no-this-in-sfc": "error"

false positive for https://github.com/sequelize/sequelize models, need to use
this.getDataValue('deadline')

to get the underlying data value


Feature/dont get local system collections alltogether

This is tracked by https://github.com/arangodb/team-clifton-planning/issues/2

http://jenkins01.arangodb.biz:8080/job/arangodb-matrix-pr/873/


issue to train the tracker

Thank you for your great work. I would like to train the tracker via the command 'make sort'.  The error shows that one file can not be found. How can I find this file?

The trackers are evaluated using the results obtained from the inference stage of detection tasks. (As per the first sentence of Tracking Documentations).
In your case, make sure that you have executed the evaluation (test) program for DiscoNet without RSU, so that the corresponding file needed for tracking could be generated.
If the same error persists, please let me know.

Yes, the tracking task needs the evaluation results of detection task. I can run the ''make sort" command and get the results. Thank you.


Determine changed bits onVarbitChanged

Currently the full varbit is updating all tasks on the varbit when onVarbitChanged is fired.
Instead we can determine which bit changed in the varbit and update only 1 task. (Cache values at beginning & on all updates.)

Done in refactor


quick try without host.Info()

relates to https://github.com/docker/cli/pull/5221

I was, erm, curious where all the extra dependencies originated from :see_no_evil:;

github.com/tklauser/go-sysconf
github.com/tklauser/go-sysconf (number of online CPUs?)
github.com/shoenig/go-m1cpu (CPU info for m1 CPUs)
github.com/power-devops/perfstat (handling of libperfstat ??
github.com/go-ole/go-ole (loading of Windows OLE objects)
github.com/yusufpapurcu/wmi (WQL interface to Windows Management Instrumentation (WMI))

And those all look to be related to this single host.Info(); gopsutil/host.Info() is doing a lot of things; https://github.com/shirou/gopsutil/blob/865b8c3f58d6ee4c47dab074fbf3c4b037abfd96/host/host.go#L65-L117

Getting information about the distro-version, which;

on Linux involves trying to parse /etc/os-release and more; https://github.com/shirou/gopsutil/blob/865b8c3f58d6ee4c47dab074fbf3c4b037abfd96/host/host_linux.go#L173-L321
on macOS involves shelling out to sw_vers -productVersion https://github.com/shirou/gopsutil/blob/865b8c3f58d6ee4c47dab074fbf3c4b037abfd96/host/host_darwin.go#L98-L124
and on Windows invoking the infamous tricks to try to get a version, because there is no official API for this https://github.com/shirou/gopsutil/blob/865b8c3f58d6ee4c47dab074fbf3c4b037abfd96/host/host_windows.go#L146-L234
^^ on Windows that's invoked twice because it uses PlatformVersion as KernelVersion

Getting the kernel architecture, which on Linux/Darwin is just unix.Utsname, but on Windows involves parsing processor architectures; https://github.com/shirou/gopsutil/blob/865b8c3f58d6ee4c47dab074fbf3c4b037abfd96/host/host_windows.go#L251-L280
Trying to detect Virtualization, which is only implemented on Linux, but there it's a lot, including (again) parsing /etc/os-release; enough for the library author to implement caching, but that won't do much for a short-lived process like the CLI; https://github.com/shirou/gopsutil/blob/865b8c3f58d6ee4c47dab074fbf3c4b037abfd96/internal/common/common_linux.go#L168-L346
It also tries to get BootTime, and UpTime, which again do a lot, including shelling out to various binaries, and it even has special cases for docker; caching was implemented there as well, but won't help us here; https://github.com/shirou/gopsutil/blob/865b8c3f58d6ee4c47dab074fbf3c4b037abfd96/internal/common/common_linux.go#L63-L119
It tries to obtain the number of running processes on the machine, which on Linux means listing all files in /proc, and for each of them trying to see if it can convert them to an Integer (in which case it's a process-id); https://github.com/shirou/gopsutil/blob/865b8c3f58d6ee4c47dab074fbf3c4b037abfd96/internal/common/common_linux.go#L41-L61

:point_up: which makes me want to sit in a corner and cry

It tries to obtain a HostID (sys/kernel/random/boot_id, on Linux, but shelling out to ioreg -rd1 -c IOPlatformExpertDevice on Darwin, and using the registry on Windows)

So I went looking "What information do we really need here?"

cliVersion - :warning: this function is set at compile time; there is no formal definition of the format (and can be set to anything)
hostinfo.OS - this is hardcoded to runtime.GOOS in gopsutil/host.Info()
hostVersion - this comes from PlatformVersion. Is it a strong requirement to know the version of the OS? On Linux it will be useless without distro. On Windows, it will be "guesswork" (no official API); if really needed, we could also use pkg/parsers/kernel.GetKernelVersion() from the docker code.
hostinfo.KernelArch - do we need detailed architecture (including CPU sub-variants), which could even be "off" when running with QEMU emulation; could we use runtime.GOARCH instead?

Can we get rid of this dependency, and replace host.Info() with something more basic?
- A picture of a cute animal (not mandatory but encouraged)

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Saving state of callbacks and restoring them

I tried to save and restore state of my training process using model.save() and keras.models.load_model().  Although weights, optimizer state and learning rate is restored correctly state of callback functions like keras.callbacks.ReduceLROnPlateau() doesn't get it's state restored. Neither does the epoch number gets restored.
So I am essentially looking for a checkpoint mechanism that restore the run state exactly.
This is necessary since many deep learning models keep training for very very long and for different reasons one has to be able to stop and resume training often even every few epoch. in that case  restoring lr-schedular state is necessary as otherwise correct stepwise reduction is not possible.

You can pickle your Callback and reload it after.

I am getting an error like - pickle.PicklingError: Can't pickle <function <lambda> at 0x7f90e88fae60>: it's not found as keras.callbacks.<lambda>

Even with import dill, RuntimeError: maximum recursion depth exceeded this happens.

It's because you provide schedule as a Lambda (as stated in your error message)
def schedule(epoch):
    return epoch
from keras import callbacks
lr = callbacks.LearningRateScheduler(schedule)
import pickle
pickle.dumps(lr)
pickle.loads(pickle.dumps(lr))

@Dref360 Any update here? It would be much easier if have an option to save and load callbacks with state with model.save and load_model respectively. However, we should also handle the scenario where someone wishes to add new callbacks and remove them.

@Dref360 Any update here? It would be much easier if have an option to save and load callbacks with state with model.save and load_model respectively. However, we should also handle the scenario where someone wishes to add new callbacks and remove them.

Even if it is for fixed callbacks with no scope of addition or removing would be nice feature

The Callbacks are not serializable in TensorFlow, but it definitely would be helpful if they would be.
All is needed is to implement get_config and from_config methods for the callbacks. There's an open PR that targets to solve this problem in a more generic manner: https://github.com/tensorflow/tensorflow/pull/36635

If anyone is interested in this, I have extended the BackupAndRestore callback to also restore bools, integers, and floats of callbacks. See the code in https://gitlab.idiap.ch/bob/bob.learn.tensorflow/-/blob/7a498fd907de139fb89bdfecb092a8070a546f79/bob/learn/tensorflow/callbacks.py#L10 This works with some callbacks like keras.callbacks.ReduceLROnPlateau() but it might not work on all cases.


use stable Python3.8 and add an Anaconda-based build

Pull Request Checklist:

[ ] This PR addresses an already opened issue (for bug fixes / features)

This PR fixes #xyz

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Documentation has been added / updated (for bug fixes / features)
[ ] HISTORY.rst has been updated (with summary of main changes)
[ ] bumpversion (minor / major / patch) has been called on this branch
[ ] Tags have been pushed (git push --tags)

What kind of change does this PR introduce?
This changes our Python3.8-dev build to the current stable version of Python3.8. It also adds a build based on Anaconda dependencies. If things are easy enough to configure for Anaconda in Windows, this might be copied to the consistently failing Windows build (GDAL and Fiona are very difficult to build).

Does this PR introduce a breaking change?
No, in fact this change makes it so that our Travis CI builds function better.

Other information:

Pull Request Test Coverage Report for Build 1546

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.942%

Totals

Change from base Build 1539:
0.0%

Covered Lines:
1940

Relevant Lines:
2206

💛  - Coveralls

Pull Request Test Coverage Report for Build 1546

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.942%

Totals

Change from base Build 1539:
0.0%

Covered Lines:
1940

Relevant Lines:
2206

💛  - Coveralls


User metadata not propagated from child workflow command to child workflow's execution config

Expected Behavior
Like start workflow, I would expect start child workflow user metadata to end up on the execution config on the child workflow.
Actual Behavior
The user metadata only ends up on the event, not the actual child workflow
See https://github.com/temporalio/temporal/pull/5857 where user metadata propagation was added.

Thanks for reporting this. It seems like you are observing an issue related to the propagation of user metadata during child workflow execution.  The user metadata is currently only available on the event and not on the child workflow's execution config.
This behavior is likely due to the current implementation of user metadata propagation. While the pull request you linked, #5857, introduced user metadata propagation, it might not have been implemented to propagate the metadata to the child workflow's execution config.
We are currently tracking this as a potential feature request.  There are no workarounds available at this time, but we will consider this issue in future releases.

Thanks for reporting this issue. It looks like you are seeing a discrepancy in how user metadata is propagated for child workflows.  Currently, user metadata is only attached to the child workflow initiation event, not the child workflow itself.
Here are some workarounds you can use:

Include User Metadata in Child Workflow Input:  Add the user metadata to the input of the child workflow as a field or nested object.
Custom Query: Create a custom query on the child workflow to retrieve user metadata from the initiation event.

We are aware of this limitation and are actively exploring ways to improve user metadata propagation for child workflows in the future.


experiences: sort by end date

I love the experiences section! I think it would help to have experiences sorted by end date rather than start date though, just as in a standard resume/CV. I tried editing layouts>partials>widgets>experiences.html myself and it didn't like what I was doing.

LinkedIn sorts experience by start date. Academic is consistent with LinkedIn's approach.
Feel free to reach out on the support forum for support customizing widgets.

There are situations such as sabbaticals where an experience X starts after an experience Y but finishes before the date_end of Y. To offer more flexibility, how about the following?

Parameterize the sorting order, including a manual_sort option.
If the manual_sort option is chosen, the sorting order will be the order in which the experiences are written in Markdown.
Display nested experiences, although this may look ugly depending on the amount of text and the nesting level.

I would also like to suggest to either allow sorting manually or prioritise ongoing experiences. For instance, I have a little side-kick that I started many years ago. It is completely buried in the list although it is still ongoing and relevant.
Keep up the great work!

LinkedIn sorts experience by start date. Academic is consistent with LinkedIn's approach.

LinkedIn does the same thing by the way...

@nheeren Hugo only has very basic support for ordering my multiple variables, unfortunately, I don't believe that would work in this context unless Hugo team improve that functionality.

@gcushen I appreciate the feedback! Sorting by end date (first) might already do the trick. Would something like this work? (Sorry still learning how Hugo works.)
{{ range ($.Site.RegularPages.ByParam "enddate").ByParam "startdate" }}

Has these been worked on recently?  I'm interested in sorting my experience by end date (for example, I'm a graduate student -- I want my graduate student experience to be the top-most in my list).

Newer issue discussing this: #1761


Update webhooks docs to show what request is actually done

It would be very helpful is the webhook documentation in the README actually showed what request is done with what parameters (ie: a GET or POST request with this and that querystring / body) instead of an express example. I don't use express so I now have to do trial and error to get the correct response.
Thanks!

ah I now see that there is a swagger doc. Might be helpful to link from the github readme to the docs :)

was this resolved?

was this resolved?

Not really, but I'll close this and merge with https://github.com/kinecosystem/kin-node/issues/7

Not really, but I'll close this and merge with https://github.com/kinecosystem/kin-node/issues/7


Make background page

Expand on mission statement given on front page

After meeting on 10/4 decided we should:

Add similar background to the 2016 conference, remembering there's no environmental strand this time
Link to CDT seminars on CNES site https://cnes.kcl.ac.uk/category/resources/


Update dbeaver lost all plugins

Hi,
I usually install/upgrade my dbeaver using the .zip package.
I do not use the executable package because of the security company policies.
Every time I update my dbeaver with last version I lost my plugins.
Already notice if I didn't overwrite the "Configuration" folder they are kept but appears that some updates won't occur.
Today I always install the Eclipse Market place and then I install vrapper (vim editor) .
How I can avoid is annoying issue?

dupicate of #5317


Sounds not playing, program stalls at sound block, recorded sounds can't replay - Android

Reported by @eivindeklund in https://github.com/LLK/scratchjr/issues/119#issuecomment-287527336:

I am seeing what sounds like it may be the same problem on Android, on a Pixel C tablet running Android 7.1.1 and Scratch Jr 1.2.3.

The symptoms are almost the same:

The sounds do not play in the program sequence
The program stalls once it reaches the sound block
When recording I cannot replay the sounds [this sounds like it is different from the above]

@eivindeklund We have not been able to reproduce this on a Nexus 9 running Android 7.1.1. We're getting a Pixel C to have one in our test suite. In the meantime, could you check that ScratchJr has permission to use the microphone in your settings. Thanks.

@eivindeklund We still have not been able to reproduce this issue on the new Pixel X running Android 7.1.1. We have ScratchJr 1.2.4 installed (the latest version). Could you check whether you have the same issue after updating to the newest version.

closing stale issue, can reopen if reproduced.


[DOC] "go" vs "golang"

Change in the documentation
Whilst it's common to call the language "golang", the official name of the language is "go" (https://en.wikipedia.org/wiki/Go_(programming_language)
Not that it mases a lot of difference, but should we consider renaming the repo (and associated docs) from golang to go?

I don't feel strongly one way or another. We probably should have used "Go" initially but I'm not sure if it's worth changing at this point.

TIL...
I agree that go-sdk would be better

[ ] Create PRs to replace github.com/open-feature/golang-sdk with github.com/open-feature/go-sdk in known places (providers/tutorials)
[ ] Alert private provider implementors that the module name is changing (existing imports of the old module name ought to still work but will stop receiving later releases/updates)
[ ] Rename the module and repository
[ ] Rename golang-sdk-contrib to go-sdk-contrib

Any other tasks missing from this checklist?

@beeme1mr all of the related PRs to make this happen are in place, we now just need to cut out some time to rename the golang-sdk & golang-sdk-contrib repositories themselves. Once this has happened all of the PRs other than https://github.com/open-feature/golang-sdk-contrib/issues/24 will be ok to merge straight away (this one will need to rebuild its go.sum but won't take long). I'll reach out to discuss a good time for us to do this on Tuesday perhaps.

There are a handful to known projects using the SDK. Please either create an issue or open a PR once the name has been changed.
https://github.com/open-feature/golang-sdk/network/dependents?package_id=UGFja2FnZS0zMTE3MDg1NzMy

Renaming complete


Close idle websocket connections in augur-state server.

Idle timeout
So that they don't use resources, we should close idle webcoket connections in augur-state. By idle, I mean connections that don't send requests for a period of time (ex: 10 minutes). How long to wait needs a little research and might be best dealt with as a configuration variable in settings.json.

This is a nice to have for server mode.

Removing from #668 so that can be closed with V2 launch issues.


(experiment) Implement view properties command

Just putting this up as an alternative to https://github.com/microsoft/vscode-azureresourcegroups/pull/383. Mostly for discussion purposes.
The way this works is that any element that defines the viewProperties property, will have the canViewProperties context value automatically added to it. And then the "View properties" context menu item will appear on that tree item.

Closing in favor of https://github.com/microsoft/vscode-azureresourcegroups/pull/427


The translator does not work correctly

Hello, I tried to translate it into Portuguese but it translated into Spanish even though I changed the language in the prompt:
“ You are now going to be an English to Portuguese translator. You must only reply the translated sentences, nothing else.
When you see a //, consider it to be the end of a sentence and start a new sentence in Portuguese.
Don't leave blank/empty lines!
For example, if I give you this:
I have witnessed countless dreams.//I am all alone,//... I can't stop ... Not until I find Plachta.
You should return:
Testemunhei inúmeros sonhos.
Eu estou sozinho,
...Não consigo parar... Não até encontrar Plachta.“

Hey, did you click the "Save prompt" button after changing it? (This button not only saves it, it also applies it)

You can verify that prompt is correctly applied by clicking on:

This should return on console your current applied prompt:

Also keep on mind each time you open the app you gotta go to settings and click on "Load past settings" if you wanna keep using the prompt you previously saved.


Problem in Gogradle dependency resolution outside GOPATH

I have my project repo as:
"gitlab.orgname.eng.com/depname/someservice"
My global GOPATH is defined as:
/Users/admin/go
goBuild works fine If I put above repo as:
/Users/admin/go/src/gitlab.orgname.eng.com/depname/someservice
However if I put someservice inside any arbitary folder and goBuild it fails to resolve any package. I've noticed this issue in my local system, My organization gitlab, Jenkins pipeline. Not sure what is the reason
Case 1: GOPATH -- /Users/admin/go --> /Users/admin/go/src/gitlab.orgname.eng.com/depname/someservice
Case 2: Some folder -- /Users/admin/go --> /Users/admin/projects/someservice
In Case 1 goBuild is successful and in Case 2 it fails with following trace:

Resolving cached github.com/coreos/etcd: commit='b4f84f046be39c680ddb080ebb99d3a7538c44be', urls=[https://github.com/coreos/etcd.git, git@github.com:coreos/etcd.git
Resolving cached github.com/coreos/etcd: commit='b4f84f046be39c680ddb080ebb99d3a7538c44be', urls=[https://github.com/coreos/etcd.git, git@github.com:coreos/etcd.git]
Resolving cached github.com/coreos/etcd: commit='b4f84f046be39c680ddb080ebb99d3a7538c44be', urls=[https://github.com/coreos/etcd.git, git@github.com:coreos/etcd.git]
Resolving gopkg.in/yaml.v2: commit='5420a8b6744d3b0345ab293f6fcba19c978f1183', urls=[https://gopkg.in/yaml.v2]

Main.go:12:2: cannot find package "github.com/Sirupsen/logrus" in any of:
        /usr/local/Cellar/go/1.10.2/libexec/src/github.com/Sirupsen/logrus (from $GOROOT)
        /Users/admin/projects/somesvc/.gogradle/project_gopath/src/github.com/Sirupsen/logrus (from $GOPATH)
Main.go:13:2: cannot find package "github.com/denisenkom/go-mssqldb" in any of:
        /usr/local/Cellar/go/1.10.2/libexec/src/github.com/denisenkom/go-mssqldb (from $GOROOT)
        /Users/admin/projects/somesvc/.gogradle/project_gopath/src/github.com/denisenkom/go-mssqldb (from $GOPATH)
Main.go:14:2: cannot find package "github.com/go-chi/chi" in any of:
        /usr/local/Cellar/go/1.10.2/libexec/src/github.com/go-chi/chi (from $GOROOT)
        /Users/admin/projects/somesvc/.gogradle/project_gopath/src/github.com/go-chi/chi (from $GOPATH)
Main.go:15:2: cannot find package "github.com/go-chi/chi/middleware" in any of:
        /usr/local/Cellar/go/1.10.2/libexec/src/github.com/go-chi/chi/middleware (from $GOROOT)
        /Users/admin/projects/somesvc/.gogradle/project_gopath/src/github.com/go-chi/chi/middleware (from $GOPATH)
Main.go:16:2: cannot find package "github.com/jmoiron/sqlx" in any of:
        /usr/local/Cellar/go/1.10.2/libexec/src/github.com/jmoiron/sqlx (from $GOROOT)
        /Users/admin/projects/somesvc/.gogradle/project_gopath/src/github.com/jmoiron/sqlx (from $GOPATH)
Main.go:17:2: cannot find package "github.com/vpol/go-cache" in any of:
        /usr/local/Cellar/go/1.10.2/libexec/src/github.com/vpol/go-cache (from $GOROOT)
        /Users/admin/projects/somesvc/.gogradle/project_gopath/src/github.com/vpol/go-cache (from $GOPATH)

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':buildDarwinAmd64'.
> Build failed due to return code 1 of:
  Command:
   /usr/local/bin/go build -a -tags=deploy_build netgo -ldflags -w -v -o ./somesvc_darwin_amd64
  Env:
   GOEXE=
   GOPATH=/Users/admin/projects/somesvc/.gogradle/project_gopath
   GOROOT=/usr/local/Cellar/go/1.10.2/libexec
   GOOS=darwin
   GOARCH=amd64

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

@blindpirate yes vendor directory did get created and I see all the dependencies there. However for some reason goBuild is not picking up dependencies from that folder.

Can you please try to run the command listed in the stacktrace and the environment variables directly in terminal? I.e.
   /usr/local/bin/go build -a -tags=deploy_build netgo -ldflags -w -v -o ./somesvc_darwin_amd64
  Env:
   GOEXE=
   GOPATH=/Users/admin/projects/somesvc/.gogradle/project_gopath
   GOROOT=/usr/local/Cellar/go/1.10.2/libexec
   GOOS=darwin
   GOARCH=amd64

If I run it from the root it's not able to recognize even the application code. Following is the error
Main.go:12:2: cannot find package "github.com/Sirupsen/logrus" in any of:
	/usr/local/Cellar/go/1.10.2/libexec/src/github.com/Sirupsen/logrus (from $GOROOT)
	/Users/admin/projects/somesvc/.gogradle/project_gopath/src/github.com/Sirupsen/logrus (from $GOPATH)
Main.go:13:2: cannot find package "github.com/denisenkom/go-mssqldb" in any of:
	/usr/local/Cellar/go/1.10.2/libexec/src/github.com/denisenkom/go-mssqldb (from $GOROOT)
	/Users/admin/projects/somesvc/.gogradle/project_gopath/src/github.com/denisenkom/go-mssqldb (from $GOPATH)
Main.go:14:2: cannot find package "github.com/go-chi/chi" in any of:
	/usr/local/Cellar/go/1.10.2/libexec/src/github.com/go-chi/chi (from $GOROOT)
	/Users/admin/projects/somesvc/.gogradle/project_gopath/src/github.com/go-chi/chi (from $GOPATH)
Main.go:15:2: cannot find package "github.com/go-chi/chi/middleware" in any of:
	/usr/local/Cellar/go/1.10.2/libexec/src/github.com/go-chi/chi/middleware (from $GOROOT)
	/Users/admin/projects/somesvc/.gogradle/project_gopath/src/github.com/go-chi/chi/middleware (from $GOPATH)
Main.go:16:2: cannot find package "github.com/jmoiron/sqlx" in any of:
	/usr/local/Cellar/go/1.10.2/libexec/src/github.com/jmoiron/sqlx (from $GOROOT)
	/Users/admin/projects/somesvc/.gogradle/project_gopath/src/github.com/jmoiron/sqlx (from $GOPATH)
Main.go:17:2: cannot find package "github.com/vpol/go-cache" in any of:
	/usr/local/Cellar/go/1.10.2/libexec/src/github.com/vpol/go-cache (from $GOROOT)
	/Users/admin/projects/somesvc/.gogradle/project_gopath/src/github.com/vpol/go-cache (from $GOPATH)
Main.go:18:2: cannot find package "gitlab.eng.someorg.com/depname/somesvc/app/clients" in any of:
	/usr/local/Cellar/go/1.10.2/libexec/src/gitlab.eng.someorg.com/depname/somesvc/app/clients (from $GOROOT)
	/Users/admin/projects/somesvc/.gogradle/project_gopath/src/gitlab.eng.someorg.com/depname/somesvc/app/clients (from $GOPATH)
Main.go:19:2: cannot find package "gitlab.eng.someorg.com/depname/somesvc/app/env" in any of:
	/usr/local/Cellar/go/1.10.2/libexec/src/gitlab.eng.someorg.com/depname/somesvc/app/env (from $GOROOT)
	/Users/admin/projects/somesvc/.gogradle/project_gopath/src/gitlab.eng.someorg.com/depname/somesvc/app/env (from $GOPATH)
Main.go:20:2: cannot find package "gitlab.eng.someorg.com/depname/somesvc/app/handlers" in any of:
	/usr/local/Cellar/go/1.10.2/libexec/src/gitlab.eng.someorg.com/depname/somesvc/app/handlers (from $GOROOT)
	/Users/admin/projects/somesvc/.gogradle/project_gopath/src/gitlab.eng.someorg.com/depname/somesvc/app/handlers (from $GOPATH)
Main.go:21:2: cannot find package "gitlab.eng.someorg.com/depname/somesvc/app/infra" in any of:
	/usr/local/Cellar/go/1.10.2/libexec/src/gitlab.eng.someorg.com/depname/somesvc/app/infra (from $GOROOT)
	/Users/admin/projects/somesvc/.gogradle/project_gopath/src/gitlab.eng.someorg.com/depname/somesvc/app/infra (from $GOPATH)
Main.go:22:2: cannot find package "gitlab.eng.someorg.com/depname/somesvc/app/repo" in any of:
	/usr/local/Cellar/go/1.10.2/libexec/src/gitlab.eng.someorg.com/depname/somesvc/app/repo (from $GOROOT)
	/Users/admin/projects/somesvc/.gogradle/project_gopath/src/gitlab.eng.someorg.com/depname/somesvc/app/repo (from $GOPATH)
Main.go:23:2: cannot find package "gitlab.eng.someorg.com/depname/somesvc/app/service" in any of:
	/usr/local/Cellar/go/1.10.2/libexec/src/gitlab.eng.someorg.com/depname/somesvc/app/service (from $GOROOT)
	/Users/admin/projects/somesvc/.gogradle/project_gopath/src/gitlab.eng.someorg.com/depname/somesvc/app/service (from $GOPATH)

Here is contents of my gradle build file if it helps:
buildscript {
	apply from: "https://some-url/common_buildscript.gradle", to: buildscript

	repositories {
		maven { url "https://artifactory.someorg.com/artifactory/ext-release-local" }
		maven { url "https://artifactory.someorg.com/artifactory/libs-snapshot-local" }
		maven { url "https://artifactory.someorg.com/artifactory/libs-release-local" }
		jcenter()
		maven { url 'https://oss.jfrog.org/oss-snapshot-local' }
		mavenCentral()
	}
	dependencies {
		classpath "com.someorg:gradleCommons:0.0.3-SNAPSHOT"
		classpath("org.springframework.boot:spring-boot-gradle-plugin:2.0.2.RELEASE")
	}
}

plugins {
	id 'com.github.blindpirate.gogradle' version '0.9.1'
}

apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'com.someorg.gradleCommons'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'org.springframework.boot'
apply plugin: 'com.github.blindpirate.gogradle'

gradleCommons {
	jacocoCoverage = 0.0
	projectName = "somesvc"
	terraformDir = "${project.projectDir}/server/infrastructure/terraform"
}

golang {
    goVersion = '1.10.2'
    packagePath = 'gitlab.eng.someorg.com/depname/somesvc'
}

build.dependsOn check

goBuild {
    go 'build -a -tags="deploy_build netgo" -ldflags "-w" -v -o ./somesvc_${GOOS}_${GOARCH}'
}

task v(type: com.github.blindpirate.gogradle.Go){
    go 'version'
}

task ls(type: com.github.blindpirate.gogradle.Go){
    dependsOn v
    run 'ls'
}

dependencies {
    golang {
		build 'github.com/Sirupsen/logrus@master'
		build 'github.com/denisenkom/go-mssqldb@master'
		build 'github.com/go-chi/chi@master'
		build 'github.com/jmoiron/sqlx@master'
		build 'github.com/satori/go.uuid@master'
		build 'github.com/spf13/viper@master'
		build 'github.com/vpol/go-cache@master'
    }
}

repositories {
	golang {
		incomplete ~/gitlab.eng.someorg\.com(\/\w+)?/
	}
}

Can I see your tree <projectRoot>/.gogradle/project_gopath output?

upon "ls" I see following directory:
src/gitlab.eng.someorg.com/depname
inside this directory
somesvc -> ../../../../..

In your error:
Main.go:22:2: cannot find package "gitlab.eng.someorg.com/depname/somesvc/app/repo" in any of:
	/usr/local/Cellar/go/1.10.2/libexec/src/gitlab.eng.someorg.com/depname/somesvc/app/repo (from $GOROOT)
	/Users/admin/projects/somesvc/.gogradle/project_gopath/src/gitlab.eng.someorg.com/depname/somesvc/app/repo (from $GOPATH)

Where this path /Users/admin/projects/somesvc/.gogradle/project_gopath/src/gitlab.eng.someorg.com/depname/somesvc/app/repo should be pointed back to /Users/admin/projects/somesvc/app/repo and exist.
Would you mind runningls /Users/admin/projects/somesvc/.gogradle/project_gopath/src/gitlab.eng.someorg.com/depname/somesvc/app/repo to see if it works? If it works, I guess there's something different on handling symblic link in go 1.10.2. I'll try to investigate it.

I am getting an error:
-bash: /Users/admin/projects/somesvc/.gogradle/project_gopath/src/gitlab.eng.someorg.com/depname/somesvc/app/repo: No such file or directory
let me try with an older version of golang and see if that is an issue.

That doesn't make sense. /Users/admin/projects/somesvc/.gogradle/project_gopath/src/gitlab.eng.someorg.com/depname/somesvc should point back to /Users/admin/projects/somesvc, but seems it's not the case in your machine.

Sorry my mistake. the "ls" command shows the contents of "app/repo".
I tried to build with golang all the way to 1.9.6 and still same error.

Meaning to say "ls" command is correctly resolving to the folder. What is surprising is I am getting the same error in local environment (Mac OS), Gitlab CI (Linux), Jenkins CI (Windows).
As said earlier in local environment I am getting error only if it is not in standard GO_HOME path.

Thanks. Weird indeed. It would be great if you could share a minimum reproducible sample to help me figure it out.

On 26 May 2018, at 12:40 PM, Sachin Walia<EMAIL_ADDRESS>wrote:
Meaning to say "ls" command is correctly resolving to the folder. What is surprising is I am getting the same error in local environment (Mac OS), Gitlab CI (Linux), Jenkins CI (Windows).
As said earlier in local environment I am getting error only if it is not in standard GO_HOME path.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/gogradle/gogradle/issues/222#issuecomment-392236136, or mute the thread https://github.com/notifications/unsubscribe-auth/AMGhqxf2i4ulGMg7seeqhMTtJCmF__LQks5t2NzPgaJpZM4UNbcr.

let me try with one of the sample that you have provided. Would you need something more than that?

A reproducible sample is enough, thanks.

Hi I used following example to recreate this issue:
https://github.com/gogradle/examples/tree/master/typical-build
attached modified typical-build example where issue is reproduced locally.
Same error is reported.
> Configure project :
Found go 1.10.2 in /usr/local/bin/go, use it.

> Task :prepare
Use project GOPATH: /java/testgr/.gogradle/project_gopath

> Task :resolveBuildDependencies
Resolving github.com/golang/example: commit='0dea2d0bf90754ffa40e0cb2f23b638f3e3d7e09', urls=[https://github.com/golang/example.git, git@github.com:golang/example.git]
Resolving golang.org/x/tools: commit='LATEST_COMMIT', urls=[https://go.googlesource.com/tools]
Resolving golang.org/x/net: commit='LATEST_COMMIT', urls=[https://go.googlesource.com/net]
Resolving golang.org/x/crypto: commit='LATEST_COMMIT', urls=[https://go.googlesource.com/crypto]
Resolving golang.org/x/text: commit='LATEST_COMMIT', urls=[https://go.googlesource.com/text]
Resolving golang.org/x/sys: commit='LATEST_COMMIT', urls=[https://go.googlesource.com/sys]
Resolving cached golang.org/x/tools: commit='LATEST_COMMIT', urls=[https://go.googlesource.com/tools]

.gogradle/project_gopath/src/github.com/testsw/testgr/main.go:5:2: cannot find package "github.com/go-sql-driver/mysql" in any of:
        /java/testgr/.gogradle/project_gopath/src/github.com/testsw/testgr/vendor/github.com/go-sql-driver/mysql (vendor tree)
        /usr/local/Cellar/go/1.10.2/libexec/src/github.com/go-sql-driver/mysql (from $GOROOT)
        /java/testgr/.gogradle/project_gopath/src/github.com/go-sql-driver/mysql (from $GOPATH)

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':buildDarwinAmd64'.
> Build failed due to return code 1 of:
  Command:
   /usr/local/bin/go build -o ./StringReverse github.com/testsw/testgr
  Env:
   GOEXE=
   GOPATH=/java/testgr/.gogradle/project_gopath
   GOROOT=/usr/local/Cellar/go/1.10.2/libexec
   GOOS=darwin
   GOARCH=amd64

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 53s
5 actionable tasks: 5 executed
goddard:testgr admin$

testgr.zip

Yes. you are right. Adding this line works for this project. I am not sure what is special in my project that it is failing.

Maybe you can delete the content of your project gradually to find out which contents are problematic? If issue still exit I'd be glad to see the minimum project.

@blindpirate thanks I am still trying to do that.

I am having this problem as well.  If the project is inside the GOPATH, it works.  If the project is outside the GOPATH, it can't resolve dependencies.   This may be a feature of 'go build' rather than gogradle.  If I cd into the gogradle constructed GOPATH (i.e. .gogradle/.project_gopath/src/github.com/myorg/myrepo directory, where github.com/myorg/myrepo is my packagePath) and do a 'go build', it works.  However, if I am at the top of my source tree with the same GOPATH, it fails.  It seems 'go build' requires the project to be inside the specified GOPATH in order for dependencies via vendor, etc. to be resolved.
So, you could solve this issue in gogradle by simply cd-ing into the $GOPATH/src/$packagePath before calling 'go build'

@llamahunter Can you please provide a minimum reproducible sample? Seems like I never encountered same issue as you. This is probably due to new go version, or something else. It would be great if I can have a sample to look into.

Ok, so it's sort of pilot error.  I have the main go program in a nested directory.  For some reason, I thought I needed to specify the path to the go program using a relative path from the current directory, since that seemed where go was being run from.  However, that doesn't work.  Needs to be the full package import path.
See https://github.com/llamahunter/gogradle-example.git for an example.
It might be nice if the goBuild{} block supported a 'pathToMain' argument or something so that people would not need to construct their own 'go' line in those cases, possibly eliminating a source of error.

@sachin-walia
It could be because of the gogradle.lock file created earlier. After running goLock, gogradle does not resolve new dependencies.
Just delete the gogradle.lock file and run the build again. It works.


Replace knex with direct PG queries for better performance

Since we use only postgress (and mongo) we no longer need knex layer.
For simplicity we can use direct integration with postgress instead.
Check knex package for more details.
We should use the same package to do refactor and leave existing knex implementation as deprecated

how can i help sir can you share me the details ?

@asraman9792 as in description

Check knex package for more details
https://github.com/aerogear/graphback/tree/master/packages/graphback-runtime-knex

@wtrocki

@jaskeerat789

@wtrocki we might need to face

data provider should never be modified database structure

issue like here ("https://github.com/aerogear/graphback/pull/770#discussion_r383156201")

Done, but we still using knex as it gives much more freedom in terms of mapping queries


Automating field notes using mWater

mWater is a survey platform used by CU folks to record field note visits. Data is stored in a datagrid associated with a survey on the mWater portal. These data can be downloaded using an API url (mWater api yml)
This PR has three main files which all live in the folder mWater_collate:

mWater_pull_collate.rmd: main file which pulls data from mWater API and breaks it into three main sections: all_notes, sensor_notes, sampling_notes.

Dataframes: All notes is everything submitted, sensor_notes is only visits where sensor was interacted with, sampling notes is when water sampling occured.
Actions: save sensor notes to csv in data folder this is how we can maintain a backup of the data from mWater. This code also uses the photo_download and sampling spreadsheet creator functions (described below)

photo_downloader.R: grabs all the download urls from the all notes sheet and will download+rename all the photos uploaded to mWater. It should not download any photos if they have already been downloaded
sampling_spreadsheet_creator.R: formats a days worth of water sampling data to match RMRS formatting. This is mainly a tool that I will use after a field day to speed up sample input and make sure I don't create any typos in the RMRS masterfile.

Review Requested:

I will send you the API yml. Please test to make sure the whole pipeline works by running all the chunks (keeping in mind that photo downloader wont do anything since I already downloaded the photos)
The code is not very concise, especially photo downloader so any suggestions on that would be helpful
Check to make sure I mimic'ed the existing structure of our field notes in QAQC pipeline (start_dt, round_dt, sensor employed, etc)
general notes on conciseness of rmd file and any sections that seem confusing

Thanks for the notes. I'll make some changes to the scripts to make it clear that sensor_notes is what we will be pulling into the QAQC script.

Big Improvement (IMO):

Improved API pull (no raw mWater file anymore)
all_notes_cleaned is the df that is used downstream and only has a few minor corrections from API pull
readability is improved and sensor notes is the only other dataframe created
Finished log/cal report check function: This checks the data folder to see if users have uploaded the logs/cal reports that they claim to in the mWater survey
Moved all water sampling dataframes into the sampling spreadsheet function as they are not needed in the main rmd. Users can now save all the water sampling info as csv or just a day in RMRS formatting
Fixed the nrow comment in download pictures.R

I added a new file scratch/data_tidying/timelapse_folder_rename.R
This is mostly an tool that I will use when I get SD cards from our timelapse cameras.
It essentially prompts the user for the site name after showing a picture from the folder in the timelapse_raw folder. Based on the response and the first and last photo in the folder, it renames the folder to match our syntax and then moves said folder to the timelapse_photos folder.
No review required since I will be the main user of this and it does not affect our larger workflow unless anyone feels strongly about this....


nixos/nixpkgs/doc: add missing operator to attrsets.mapAttrs example.

It looks like this operator was missing (just a dropped +) unless I'm
missing something unexpected about the Nix syntax I've forgotten.

Motivation for this change
Fix an incorrect statement in the documentation showing (what I assume to be) an incorrect example expression.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Thanks for improving the docs!


Sample code for chat not working

I'm reviewing the sample Chat app
The Video conference is working, but the chat app is not. The app logs onto Twilio:
Logging in...
You have been assigned a random username of: terrance
Attempting to join "general" chat channel...

Then there is an error in the JavaScript console:
index.html:1 Uncaught (in promise)
Object
body
:
Object
description
:
"Not Found"
status
:
404
__proto__
:
Object
__defineGetter__
:
__defineGetter__()
__defineSetter__
:
__defineSetter__()
__lookupGetter__
:
__lookupGetter__()
__lookupSetter__
:
__lookupSetter__()
constructor
:
Object()
hasOwnProperty
:
hasOwnProperty()
isPrototypeOf
:
isPrototypeOf()
propertyIsEnumerable
:
propertyIsEnumerable()
toLocaleString
:
toLocaleString()
toString
:
toString()
valueOf
:
valueOf()
get __proto__
:
__proto__()
set __proto__
:
__proto__()

Hi, do you have a Chat Service SID in the .env file?
Thanks!

Yes, I think it is the right SID. It is called SERVICE SID
https://www.twilio.com/console/chat/services/

If this helps, the Service SID should start with "IS", so something like ISxxxxxxxxxssss
No problem if no channels have been created - the Javascript Chat will create a new general channel if it doesn't exist.
I don't personally know anything about Trial vs Paid for the Chat service.
If I don't have the TWILIO_CHAT_SERVICE_SID configured in the .env, I get the same error as you get above. Does that SID appear on the home screen (http://localhost:4567/)?

Thanks @jefflinwood for your reply.
I have double checked the the Service SID, and it seems correct. I tried modifying the code, so that the createOrJoinGeneralChannel looks like this:
  function createOrJoinGeneralChannel() {
      console.log('Creating general channel');
      chatClient.createChannel({
          uniqueName: 'general',
          friendlyName: 'General Chat Channel'
      }).then(function(channel) {
          console.log('Created general channel:');
          console.log(channel);
          generalChannel = channel;
          setupChannel();
      });
    }

This works! In that it creates the channel and does not error.
The creation of the promise on the getChannelByUniqueName is returning the 404.
var promise = chatClient.getChannelByUniqueName('general')

I will continue investigating.

Just to confirm I am using the correct SID, here is a screenshot

Some more information. Now that the 'general' channel has been created (by modifying the code as above), when I return the code to it's original state it seems to find the channel but returns a different error. I wonder if this could be related to permissions somehow.

More modified code with mixed results. I am able to get the channel by sid, this works:
        var promise = chatClient.getChannelBySid('CH2888c5618eae42c4b448008357535a45');

But later the .join() method fails.
Some more modified code:
  // Set up channel after it has been found
    function setupChannel() {
        console.log('Join the general channel');
        console.log(generalChannel.friendlyName);
        console.log(generalChannel.createdBy);
        console.log('Is join() callable: ' + generalChannel.join && generalChannel.join());

        generalChannel.join().then(function(channel) {
            print('Joined channel as '
                + '' + username + '.', true);
        });

Happy to share my SIDs etc with support if this helps. I've opened a support ticket within Twilio.

That's the correct place to find the Service SID - after changing things around on this, are you able to send/receive chat messages to the channel?
Also, does Channel CH2888c5618eae42c4b448008357535a45 exist in the Channels page of that Chat Service in the console?
Support may be able to help more in this specific case, but it would be great to figure out what the problem is.

Hi @jefflinwood, no I could not get it any further than the posts above. It is connecting and able to access the channel, and see channel attributes, but it seems the function calls such as .join() are not working for me. Is it working at your end by any chance?
Thanks for your help.

Hi,
The code is working for me as written (downloaded code from GitHub, ran bundle install, set up .env file) - just tried it out again yesterday.
One difference I can think of is that Chat is a paid service, and perhaps trial accounts can't perform paid actions with the Chat service - has Twilio Support gotten back to you?

No the support tickets are still open with no response from Twilio.
https://www.twilio.com/console/support/tickets/821428

Hi,
Unfortunately, I can't view your support ticket, so I don't know what's in it, but perhaps you could comment on it there to make it reappear in the support queue?
Thanks,
Jeff

OK I'll try that. Thank you.
On 1 March 2017 at 23:06, Jeff Linwood<EMAIL_ADDRESS>wrote:

Hi,
Unfortunately, I can't view your support ticket, so I don't know what's in
it, but perhaps you could comment on it there to make it reappear in the
support queue?
Thanks,
Jeff
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/TwilioDevEd/sdk-starter-ruby/issues/2#issuecomment-283486223,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AK0Jxi9492dLqvd-RKjHRjOZvcO2Leg0ks5rhevZgaJpZM4LdfBF
.

Closed by https://github.com/TwilioDevEd/sdk-starter-ruby/commit/106067e57bb4a6f00dd19e2c2506f7c18e10d566
Thanks a lot @jefflinwood

@seanfcarroll Also running into this issue. Were you able to find a resolution?

It was a while ago but see the linked code in my post above


Translation to Korean.

Thank you feedback from PR a few day ago.
I do translate again.
Korean version link is ( https://github.com/ikaruce/git-style-guide ).
Check my repo and add link to your repository.
Thank you.

Thanks! :)


Staticman template requires email. Can it be optional instead?

Summary
I just set up Staticman on my site that's using the minimal-mistakes theme. I noticed that the template for comments requires an email address be given. I'd like to be able to remove this requirement and, in fact, completely remove that field from the comment form.
Motivation
Some people don't like having to give their email address, and putting in a fake one is should be unnecessary.
Drawbacks
I can't think of any, since we would be able to choose whether or not email is required or even part of the comment form.

As far as Staticman is concerned it can be optional. It's up to you set configure Staticman as to which fields should be required. Simple remove email from allowedFields in your staticman.yml config file.
Removing the field isn't something I'd entertain as a customization to the theme. The HTML for that field can be found in [_includes/comments.html](https://github.com/mmistakes/minimal-mistakes/blob/master/_includes/comments.html#L68-L71) if you want to override the include or edit (if you've forked the theme).

As far as Staticman is concerned it can be optional

Right. I've done this, but the field still exists on the page, of course.

if you want to override the include

Is there a way to do this if I'm using the theme as a remote theme on GitHub pages? Maybe it's as simple as just copying the template HTML file into a local file with the same path and editing that local copy?

Yes, you can. Copy _includes/comments.html to the same location in the root of your repo and make your edits to it there.
All other layout files will come from the remote theme and the include you have locally will override the one in the theme.

Awesome! That’s perfect then. Thanks!


Link to Cumulative Update Page wrong

The Link in https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/upgrade/upgrade-unmodified-application-to-v18#task-13-change-application-version points to BC15, it should point to BC18.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ab367758-d435-42cd-a1e1-d0b89c33ad25
Version Independent ID: 4ea22d59-5d20-c0af-7bf8-e678c181b663
Content: Upgrading Version 15, 16, or 17 Base Application to Version 18 - Business Central
Content Source: dev-itpro/upgrade/upgrade-unmodified-application-to-v18.md
Service: dynamics365-business-central
GitHub Login: @jswymer
Microsoft Alias: jswymer

Thanks for the feedback! We've fixed the link and the update will be published soon


[SPARK-47805][SS] Implementing TTL for MapState

What changes were proposed in this pull request?

This PR adds support for expiring state based on TTL for MapState. Using this functionality, Spark users can specify a TTL Mode for transformWithState operator, and provide a ttlDuration for each value in MapState. Once the ttlDuration has expired, the value will not be returned as part of get() and would be cleaned up at the end of the micro-batch.
Why are the changes needed?

These changes are needed to support TTL for MapState. The PR supports specifying ttl for processing time.
Does this PR introduce any user-facing change?

Yes, modifies the MapState interface for specifying ttlDuration
How was this patch tested?

Added the TransformWithMapStateTTLSuite, MapStateSuite, StatefulProcessorHandleSuite
Was this patch authored or co-authored using generative AI tooling?

No

@HeartSaVioR PTAL, thanks!

Run / Build modules: pyspark-sql, pyspark-resource, pyspark-testing
failed 2 hours ago in 26m 30s

Mostly about connection refused - doesn't seem to be related.


ZW3104 Smoothly Dim Config Option

I have a couple of these GE/Jasco ZW3104 dimmers and the experience is much improved with ZwaveJS. The only issue is that they instantly pop to the set dimming value instead of smoothly changing like an Inovelli dimmer switch. I read that there is an undocumented option that can change this behavior in newer firmwares, but I'm unsure how to edit my device configuration to manually add this option similarly as explained in the below article with OpenHAB.
https://community.openhab.org/t/jasco-ge-honeywell-z-wave-outlet-dimming-problem-resolution/109387
Does this link give enough information to implement this config option for the ZW3104 devices?
28166/28167/ZW3104 I believe are all the same device.

If you know the firmware version, that this parameter became available, it can be added, and apply to that firmware and greater.

It appears to be any firmware version v5.21 and newer. I have one device on 5.21 and one on 5.25.

If you can, and feel safe to do so, edit  the config file for your device, add this option (6) under paramInformation (along with the rest) if it works, then it can be included
"paramInformation": {
  "4": {...},
  "5": {...},
  "6": {
    "$if": "firmwareVersion >= 5.21",
    "label": "Light dimming mode",
    "description": "Controls whether to fade to next light level or jump straight there",
    "valueSize": 1,
    "minValue": 0,
    "maxValue": 1,
    "defaultValue": 0,
    "readOnly": false,
    "writeOnly": false,
    "allowManualEntry": false,
    "options": [
      {
        "label": "Smooth Level Changes"
        "value": 1,
      },
      {
        "label": "Instant Level Changes"
        "value": 0,
      }
    ]
  },
  "7": {...},
}

Ok, I figured out how to edit the config files inside of zwavejs2mqtt and then added your lines to both of these files, then did a re-interview, which worked great and the smooth dimming works just as I thought! Both devices, I have a 28166 and 28167.
0x0063/28166_zw3104.json
0x0063/ge_28167_zw3104.json
Thanks so much for your help! Really great.


[Feature] Recommend add MixPro method (ICLR2023).

推荐更新
Thanks to open source repositories for contributions. We recommend updating our method MixPro (ICLR2023) in this repository, especially the method MaskMix for image mixing which is as plug-and-play as mixup and has a significant improvement in training ViT's based methods.
论文链接
代码链接

Hi, @fistyee. Thanks for your attention on OpenMixup and recommend an excellent work of Transformer-based mixup augmentation. We are working on adding MixPro and will update as soon as possible. We would appreciate any contributions that recommend more open-source mixup methods or contribute code implementations to OpenMixup. Please watch us for the latest update.


vertically flipped video when using System encoder

Saving a project as video will store it upside down: playback in VLC oder Windows Media Player has flipped video.
ScreenToGif Version: 2.5
Encoder: System (FFmpeg works fine though)
Win 10 Pro 64 Bit

Strange, it was flipped to me before the supposed fix. What's different between our systems?
Windows 10 Pro x64
Build 14393.693

Microsoft Windows 10 Pro x64
Version	10.0.10586 Build 10586

This is now a setting that can be enabled/disabled.

Sorry to say so but with every encoder (system provided) I'm having the same issue. Altough with the ffmpeg encoder it worked like a charm. Microsoft Windows 10 Pro x64 Version 1709 Build 16299.248
Using your latest build as of the day of this comment.

Yes, the problem still persists because I couldn't detect the cause.
So, if you wish to flip the video, just tick the "flip the video (vertically)"

Okay, thanks.

@NickeManarin That's a workaround, not a fix. The bug is still there. Why was this closed?

@LosD Because I'm not able to detect the reason behind it. I've tried but I couldn't find why it flips vertically in some computers. :/
Feel free to help, if possible.

@NickeManarin Sure, but it's still a bug, so IMHO it's a little weird to treat it like a closed bug.
Anyway, my computer is doing the same, if there is any kind of debug build and - output, or debug statements I could put in that'll help with finding the root cause, I'm more than willing to try stuff out.
BTW, I'm not at my computer right now, so I can't verify, but I believe the uncompressed option doesn't flip the output, as the only one.


BMI / AVX2 Errors during compilation

Greetings,
When including the header only version into my C++ project, I receive the following error messages:
../Common/simdjson/simdjson.h:91:2: warning: "BMI is missing?" [-W#warnings]
#warning "BMI is missing?"
 ^
../Common/simdjson/simdjson.h:35756:2: warning: "We require AVX2 support!" [-W#warnings]
#warning "We require AVX2 support!"
 ^
../Common/simdjson/simdjson.cpp:372:21: error: member access into incomplete type 'struct avx_processed_utf_bytes'
            previous.carried_continuations,
                    ^
../Common/simdjson/simdjson.cpp:366:38: note: forward declaration of 'avx_processed_utf_bytes'
                              struct avx_processed_utf_bytes &previous)
                                     ^
../Common/simdjson/simdjson.cpp:378:16: error: use of undeclared identifier 'avxcheckUTF8Bytes'
    previous = avxcheckUTF8Bytes(input_lo, &previous, &has_error);
               ^
../Common/simdjson/simdjson.cpp:379:16: error: use of undeclared identifier 'avxcheckUTF8Bytes'
    previous = avxcheckUTF8Bytes(input_hi, &previous, &has_error);
               ^
../Common/simdjson/simdjson.cpp:603:34: error: variable has incomplete type 'struct avx_processed_utf_bytes'
  struct avx_processed_utf_bytes previous {};
                                 ^
../Common/simdjson/simdjson.cpp:366:38: note: forward declaration of 'avx_processed_utf_bytes'
                              struct avx_processed_utf_bytes &previous)
                                     ^

My hardware / compiler is as follows:
CPU: Intel Core i7-4980HQ
machdep.cpu.leaf7_features: SMEP ERMS RDWRFSGS TSC_THREAD_OFFSET BMI1 AVX2 BMI2 INVPCID FPU_CSDS
Compiler: Apple LLVM version 9.1.0 (clang-9<IP_ADDRESS>)
Target: x86_64-apple-darwin17.6.0

Thanks for your time and sharing this wonderful project!

You're missing -march=native or -march=haswell. You haven't told gcc to actually use CPU-family specific features such as AVX2.

@TkTech is correct.

We require hardware support for AVX2 instructions. You have to make sure that you instruct your compiler to use these instructions as needed. Under compilers such as GNU GCC or LLVM clang, the flag -march=native used on a recent Intel compiler (Haswell or better) is sufficient. You may also use the flags -mavx2 -mbmi2. Under Visual Studio, you need to target x64 and add the flag /arch:AVX2.

I'm going to close this since I have updated the README with these instructions.

Thank you both for your help! I'm rather inexperienced with fiddly compiler switches.
Since my project is Qt based, i needed to add the following to my .pro file:
win32 {
    QMAKE_CXXFLAGS += /arch:AVX2
}

unix {
    QMAKE_CXXFLAGS += -march=native
}

Now i'm left with this one warning:
../Common/simdjson/simdjson.h:35731: warning: unused function 'avxcheckUTF8Bytes'
[-Wunused-function]

That’s a harmless warning.

@Think7 Just remember, if you intend for it to be compiled by the end user, use -march=native. If you intend to distribute it as a binary, choose -march=haswell. Using native tells the compiler to use all the available features of your specific cpu, which may have features processors even a few months older do not have. This tends to result in the most efficient binaries, but the least portable.
Using -march=haswell tells the compiler to instead target the Haswell family of processors which is the bare minimum for AVX2. These binaries may not be the most efficient, but they will be the most portable.

@Think7
Would you be willing to contribute a small paragraph to explain to others how to use the library with Qt? It is best if people don't need to rediscover the wheel.


Add interstitials to end of level 3B

Game Over/Super only has continue button on this level, which opens two call-to-action/celebration interstitials.

For the time being I have removed continue button so you have to go to menu or restart level, until we have art for this.

@johnnycrich I am moving this to Icebox so that we don't forget about it.


Issue: Some traced runs don't log tokens

Hello.
I've deployed tracing code to my dev env and noticed some of the traced runs seem to be logged without any token information.
When checking the traces, It shows the prompt is full of text as usual and the output is as expected.
Any ideas on why such a thing happens?
Adding a photo to show some runs were traced properly while others failed:

Suggestion:
No response

Could you share code or a run where this occurs?

Upon further inspection, it seems like this happens when the prompt has more than 3 pictures in it. Every time I try running something with more than 3 photos the tokens are zero.

Python or JS? Is this logged with LangChain code? Or a custom decorator? Or something else?
What model provider? OpenAI?

I am using Python and logging with Langchain code. This occurred both with anthropic's claude and openai's gpt-4o

What versions of the LangChain OpenAI and LangChain Anthropic packages are you using? Could you share a minimum code example please?

langchain-openai==0.0.8
langchain-anthropic==0.1.15
I can't share my exact code, unfortunately. It is something along the lines of:
    init_key(env=env) # initiate the langsmith API key     os.environ["LANGCHAIN_ENDPOINT"] = "https://api.smith.langchain.com"     os.environ["LANGCHAIN_TRACING_V2"] = "true"     env = env or get_env()     os.environ["LANGCHAIN_PROJECT"] = env # Setting the project as the current environment  ... ... ... chain.invoke(             {},             {                 "run_name": "analyze_post",                 "metadata": {                     ...                 },             },         )


Promise API

I have a very involved buildscript, with nested buildsteps and callbacks several layers deep. I'd like to rewrite that as a chain of .then().
Are there any plans to support a Promise API with ncp?

done: var ncp = Promise.nodeify(require('ncp').ncp)

@nathan7 got it right. We're not going to implement a Promise API in ncp, so closing this issue.


Refactor how mutation probability is set when prob_mutation is set to None

It should be a separate function in core.py rather than being embedded in set_emission_probabilities in api.py. It makes it easier to do testing with it.

In the LS paper (equations A2 and A3 in the appendix), k is defined as the number of sample haplotypes. What happens when we include partial ancestral haplotypes in the ref. panel? Should k be the number of sample haplotypes or all haplotypes? I think k should be the number of sample haplotypes, because it is related to a measure of genetic diversity. What do you think, @astheeggeggs?

For now, I'll just set k to be the number of sample haplotypes when getting estimates of the mutation probability.


Fix stack overflow when destructing the parsed KORE

When executing one cFS OSAL test case with the new c-semantics, the default destructor of KOREPattern was causing a stack overflow right after the translated program in KORE was parsed. I propose an alternative destruction scheme for KOREPattern - one which does not do recursive calls and thus does not overflow.
This was tested only with the c-semantics. @dwightguth do you have any idea how and where to write a test case for parsing which would be a part of this repository?

Looks like tests are failing.

@dwightguth That is the Arch in Docker issue.


Parameter fusion support in Gluon

Description
It's common that the parameters declared by a Block in Gluon don't exactly match the format used by operators in the backend. Thus we have examples where some parameters are concatenated every forward pass

RNN
https://github.com/apache/incubator-mxnet/blob/c3b0baaa27e2215eae7ed7676009ea5f4bf49013/python/mxnet/gluon/rnn/rnn_layer.py#L278
BERT
https://github.com/dmlc/gluon-nlp/pull/1136#discussion_r377480471

A naive approach is to refactor the respective Gluon Blocks, to declare the concatenated version of the parameter. This does not work in all cases, as we wish to initialize different parameters differently. For example, RNN biases should be initialized differently from RNN weights.
The status quo, where in such cases concatenation / fusion has to happen at every forward pass is not acceptable either.
Proposed solution: Introduce Block.fuse() and Block.unfuse() APIs. By default, they represent no-ops. User can overwrite fuse and unfuse to declare how to fuse the Block's parameters into a new set (or single) parameter. fuse is called prior to the first forward, after the infer_shape.
export will require fused parameters. Prior to save_parameters or load_parameters, the Block is unfused.

What about optimizer? Would optimizers see fused or unfused params?

What about optimizer? Would optimizers see fused or unfused params?

From the view of RNN operator, I think the optimizers will see the fused parameters. In both forward and backward scenario, only the fused parameter exists in the arguments dict. And we can use Block.unfuse() to overwrite the values of unfused parameters.
Both RNN and _backward_RNN operator receive a NDArray holder for fused parameter:

RNN (line 412)
https://github.com/apache/incubator-mxnet/blob/dcada9b9c145d2e93d51790d234f0a2ddc7091df/src/operator/rnn.cc#L411-L416
_backward_RNN (line 213)
https://github.com/apache/incubator-mxnet/blob/dcada9b9c145d2e93d51790d234f0a2ddc7091df/src/operator/rnn.cc#L207-L214

If a model use mx.rnn.FusedRNNCell, the optimizer will apply the gradients to the fused parameter directly. But it's not true with rnn layer mx.gluon.rnn.***. It always has a _rnn_param_concat operator prior to the fused parameter. So the optimizer or Backward pass just deliver the fused gradients to the unfused parameters individually. There are several memcpy operations behind this.
But after all, when recording the gradients w.r.t. specific unfused parameter, the problem does arise. Anyway, it's a very helpful feature for the forward pass regarding the performance.

What about optimizer? Would optimizers see fused or unfused params?

Optimizer would see only fused parameters. In general, you can consider all existing parameters as "fused". Unfused parameters are a new "type" of parameters that are not returned by collect_params() and we ensure in the Python frontend that users implement fuse_parameters, unfuse_parameters functions to implement whatever logic is needed to combine the set of unfused parameters into a set of fused parameters. Both fused and unfused parameters need to be declared inside __init__.

Some optimizers may require global information and involve reductions ops, such as LARS or LAMB cc @szhengac

Cases that need to expose the unfused parameter to the optimizer wouldn't be supported based on the proposed Gluon fusion API and would require more extensive changes to the backend to support views on the fused array. If that's required, we can reconsider the plan. The fused parameter can be of any shape though, which should facilitate reduction ops etc

That’s not needed for either lamb or Lars. At the moment, the new api
allows one step function to get all the parameters so that global
information can be obtained. It is only needed in other optimizers such as
lbfgs. The fused parameter can help reduce the number of api calls and
potentially accelerate the computation. But it is not urgent now as we
haven’t implemented lbfgs like method.
On Sat, 18 Apr 2020 at 22:44, Leonard Lausen<EMAIL_ADDRESS>wrote:

Cases that need to expose the unfused parameter to the optimizer wouldn't
be supported based on the proposed Gluon fusion API and would require more
extensive changes to the backend to support views on the fused array. If
that's required, we can reconsider the plan. The fused parameter can be of
any shape though, which should facilitate reduction ops etc
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-mxnet/issues/18077#issuecomment-616042128,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA6GZVDGAY2EZHVS4VQFDITRNKFTRANCNFSM4MI6WY2Q
.


is this even possible ?

@taion: https://github.com/facebook/relay/issues/1887

seems to have nothing to do with this library


remove call to notification

Description
removing call to identify problem on image creation
Fixes # (THEEDGE-1439)
Type of change
What is it?

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update
[ ] Refactor

Checklist:

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I run go fmt ./... to check that my code is properly formatted
[ ] I run go vet ./... to check that my code is free of common Go style mistakes

Codecov Report

Merging #810 (208eb61) into main (1aa8859) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #810      +/-   ##
==========================================
+ Coverage   30.89%   30.91%   +0.01%
==========================================
  Files          44       44
  Lines        4916     4913       -3
==========================================
  Hits         1519     1519
+ Misses       3194     3191       -3
  Partials      203      203

Impacted Files
Coverage Δ

pkg/services/images.go
16.21% <ø> (+0.06%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1aa8859...208eb61. Read the comment docs.


Face detection requierd

I want to use Face detection, how to do it in this?

adding google vision library


fix(ci): wa jenkins bug where params are not set on first run

https://issues.jenkins.io/browse/JENKINS-41929
Make sure we always run the tests.

bors try

bors cancel
bors try

bors cancel

bors try

bors cancel

So if the parameters are undefined, they are forced to "true" ? LGTM IIUIC

I'm not sure, I think that they are undefined, which is what I'm trying to find out why my test commit.
bors try

bors try

bors try

bors try

bors merge

bors cancel

bors merge

bors cancel

bors merge


Fix

Missing npm start script in the package.json
Wrong case of the GetElementById method.

Hi @Emie13, thanks for your feedback! We'll look into it and will get back to you.

Fixed in UI5 1.127


Internal Exception: io.netty.handler.codec.DecoderException

Hey,
I Tried adding this mod to the Create Above and Beyond Modpack.
The Server starts without issues but joining isnt possible.
Internal Exception: io.netty.handler.codec.DecoderException
net.minecraft.util.ResourceLocationException: Non [a-z0-9/._-] character in path of location minecraft:�

Im not sure if this is directly related to this mod but removing it fixes the issue.

OK
installing it for the clients too fixes the issue.
but i dont get why?

im having this problem for my own pack. I've never seen this before, what does it even mean? OP how did you fix?


bug add file,new class,new folder,can not see anything

must ,reopen.or show hide,can see the new files

is it there some man,have this bug?

it is the FAT32 format bug.


Is this project dead?

Just wanted to ask for the project status, because there are so many open issues and pull requests. Last repository update was over a year ago...
So is this project already dead? @ian-kent ?

@ian-kent Any feedback on this?
Currently this project is starred over 3,500 times. It's a really good foundation, but it needs to be actively maintained. One thing is features not being implemented, another is security issues which will inevitably pop up as the docker base image and/or related packages/libraries are getting older.
There are a number of issues on the backlog in addition to pull requests from people wanting to contribute. If you don't have the time to maintain this project, perhaps you know of somebody who is willing? Perhaps among the people who have contributed to this project earlier?

Yeah just add some of the contributors as members, and let them share the burden of maintenance. Don't allow this project to die, it's really good.

no activity since last year. guess it's dead?
any good forks?

I am asking for a good fork too.

Looks like Ian has abandoned this project.
If anyone decides to start a an official fork, like @ialbors perhaps?, let us know here.

Maybe I could to check all about Docker PRs...

@ian-kent Please come back, this is a very important part of local development for many people.

Maybe you should ask the people who already contributed or tried to contribute via pull requests first.

Happy to volunteer

I can help with some PR also.

I think the main point is to find new admin of repo :)

Hi everyone
Big thank you to @tyndyll and @gedge for offering their help - they're both now maintainers with admin permissions on the organisation, so hopefully things will start moving again soon.
And thank you all for your patience!

I think we need to stir the pot again. I really like this project but the rate at which pull requests are accepted could be improved. Can you add some more maintainers?

i can find some time to help

I commented 1 year ago today, and I still would be happy to help with this.

I'm happy to help as well :-)

@ian-kent could you take a look and maybe add some more people to be maintainers?

@tyndyll

funny story. i tried to reach @ian-kent on twitter on dm, but got no response.
then i tried to reach @tyndyll on twitter. and he just put me on blacklist)) pissed me off a little.
seems none of the current maintainers is interested in this project.
i guess i'm gonna just fork it.

Nothing personal, it was just a low volume Twitter account from a name I didn't recognise. The project is not dead. I've got access to the Docker Hub account and am in the process of setting up CI/CD to build on merges to master now, so the most recent build should be there soon

But it's Github. Fork if you wish

Any chance you could work on the automated Docker Hub build soon?