Never succeeded on using --dirver generic option to create docker machine

I never succeed on using generic driver to create docker-machine before, and I had another try yesterday but unfortunately still failed...
Client:
OS: Windows 7
docker-machine: 0.7.0
Open SSH: 7.2
Host:
OS: RHEL 7.2
docker-engine: 1.11.1
Before I run docker-machine command, I made sure that id_rsa.pub was added to authorized_keys.
And when I run ssh<EMAIL_ADDRESS>I can succeed login without password.
Then I run the docker-machine command, I got the error message which I completely can not understand...
C:\Users\songpeng>docker-machine -D create -d generic --generic-ip-address <IP_ADDRESS> --generic-ssh-key .ssh\id_rsa ci
Docker Machine Version:  0.7.0, build a650a40
Found binary path at D:\bin\docker-machine.exe
Launching plugin server for driver generic
Plugin server listening at address <IP_ADDRESS>:50334
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(flag-lookup) Calling .GetMachineName
(flag-lookup) Calling .DriverName
(flag-lookup) Calling .GetCreateFlags
Found binary path at D:\bin\docker-machine.exe
Launching plugin server for driver generic
Plugin server listening at address <IP_ADDRESS>:50338
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(ci) Calling .GetMachineName
(ci) Calling .DriverName
(ci) Calling .GetCreateFlags
(ci) Calling .SetConfigFromFlags
Running pre-create checks...
(ci) Calling .PreCreateCheck
(ci) Calling .GetConfigRaw
Creating machine...
(ci) Calling .Create
(ci) Calling .GetConfigRaw
(ci) Calling .DriverName
(ci) Calling .DriverName
Waiting for machine to be running, this may take a few minutes...
(ci) Calling .GetState
Detecting operating system of created instance...
Waiting for SSH to be available...
Getting to WaitForSSH function...
(ci) Calling .GetSSHHostname
(ci) Importing SSH key...
(ci) Calling .GetSSHPort
(ci) DBG | IP: <IP_ADDRESS>
(ci) Calling .GetSSHKeyPath
(ci) Calling .GetSSHKeyPath
(ci) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyCh
ecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempt
s=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none<EMAIL_ADDRESS>-o IdentitiesOnly=yes -i C:\Users\songpeng.docker\machine\machines\ci\id_rsa -p
22] C:\Program Files\OpenSSH\bin\ssh.exe }
About to run SSH command:
exit 0
SSH cmd err, output: :
Detecting the provisioner...
(ci) Calling .GetSSHHostname
(ci) Calling .GetSSHPort
(ci) Calling .GetSSHKeyPath
(ci) Calling .GetSSHKeyPath
(ci) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyCh
ecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempt
s=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none<EMAIL_ADDRESS>-o IdentitiesOnly=yes -i C:\Users\songpeng.docker\machine\machines\ci\id_rsa -p
22] C:\Program Files\OpenSSH\bin\ssh.exe }
About to run SSH command:
cat /etc/os-release
SSH cmd err, output: : NAME="Red Hat Enterprise Linux Server"
VERSION="7.2 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="7.2"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.2 (Maipo)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.2:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.2
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.2"
Couldn't set key CPE_NAME, no corresponding struct field found
Couldn't set key , no corresponding struct field found
Couldn't set key REDHAT_BUGZILLA_PRODUCT, no corresponding struct field found
Couldn't set key REDHAT_BUGZILLA_PRODUCT_VERSION, no corresponding struct field
found
Couldn't set key REDHAT_SUPPORT_PRODUCT, no corresponding struct field found
Couldn't set key REDHAT_SUPPORT_PRODUCT_VERSION, no corresponding struct field f
ound
found compatible host: rhel
Provisioning with redhat...
No storagedriver specified, using devicemapper
(ci) Calling .GetMachineName
(ci) Calling .GetSSHHostname
(ci) Calling .GetSSHPort
(ci) Calling .GetSSHKeyPath
(ci) Calling .GetSSHKeyPath
(ci) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyCh
ecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempt
s=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none<EMAIL_ADDRESS>-o IdentitiesOnly=yes -i C:\Users\songpeng.docker\machine\machines\ci\id_rsa -p
22] C:\Program Files\OpenSSH\bin\ssh.exe }
(ci) Calling .GetSSHHostname
(ci) Calling .GetSSHPort
(ci) Calling .GetSSHKeyPath
(ci) Calling .GetSSHKeyPath
(ci) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyCh
ecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempt
s=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none<EMAIL_ADDRESS>-o IdentitiesOnly=yes -i C:\Users\songpeng.docker\machine\machines\ci\id_rsa -p
22] C:\Program Files\OpenSSH\bin\ssh.exe }
installing base package: name=curl
(ci) Calling .GetSSHHostname
(ci) Calling .GetSSHPort
(ci) Calling .GetSSHKeyPath
(ci) Calling .GetSSHKeyPath
(ci) Calling .GetSSHUsername
Using SSH client type: external
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyCh
ecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempt
s=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none<EMAIL_ADDRESS>-o IdentitiesOnly=yes -i C:\Users\songpeng.docker\machine\machines\ci\id_rsa -p
22] C:\Program Files\OpenSSH\bin\ssh.exe }
Error creating machine: Error running provisioning: exit status 1
open : The system cannot find the file specified.
notifying bugsnag: [Error creating machine: Error running provisioning: exit sta
tus 1]
bugsnag.Notify: [bugsnag/payload.deliver: Post https://notify.bugsnag.com/: dial
tcp: lookup notify.bugsnag.com: getaddrinfow: This is usually a temporary error
during hostname resolution and means that the local server did not receive a re
sponse from an authoritative server.]

I tried again, this time I run the client on RHEL 7.2, and the error message is the same.
I noticed there is such a message in the output:
installing base package: name=curl
Does this means the command try to install curl from a yum source?
If so, I guess it would always fail since there is no yum source configured currently

I configured a new yum source on the host, but still failed.

Are you running behind corporate proxy? I had similar errors when I tried to provisioning through proxy server - didn't get it working with any options and had to revert to installing docker-engine with ansible before docker-machine create.

Yes, I run it inside company network. I also tried to install docker-engine before hand, but docker-machine create still do not work, with -D option I can not see detailed debug info... really sad


add splash screen

Flare splash screen added working both with logged in or newly login

Can you add a video or screenshots showcasing the change?

I cant send video on this please send me mail id

<EMAIL_ADDRESS>

Check you mail

Bro any change or what i sent videos

Sorry for the delay, we need some changes. We'll get back to you with some design samples to ease the process
Thank you so much for the contribution

The fonts and the design language is not consistent with the present design of the app. Try to have a design that is matching. Instead of writing 'Welcome' a basic logo reveal animation would be sufficient

oky let me see

Any update...?

yah working some issue in animation.

Make new PR with splash screen


Implement limited Key management

Suggestion details
In the blockchain world, everything is on the blockchain and information relevant to the proper functioning of the blockchain is also on the blockchain
In order to manage aspects of the the blockchain (such as the ability to add an authoritative key), a limited set of functionality around key management must be implemented.
basic functionality

[ ] Add Key (with authorities?)
[ ] Revoke Key (implies revoking all authorities)
[ ] Revoke Authority
[ ] Enumerating a list of authorities
[ ] get a view of the current set of authorities for a key
[ ] perform a key search

REST APIs
These really represent a search of the blockchain around a given key. However, we want to offer a fixed means of getting at this data without putting the burden of forcing the user to know the query to do it (which might also change).
Typically, such things are represented in databases as a view and the best blend of rest with this paradigm looks as below.

[ ] /views/keys/:id/authorities should all records be returned or a unioned view?
[ ] /views/keys/?query search for keys, but based on what criteria
[ ] /views/keys/:id -

Additional details
No response

This issue has been replaced by issue #780 to follow architecture documentation updates.


Bug: ToggleTerm intergration: cannot use the ToggleTerm command to close the terminal when task exits

After running the g++ build command, by default, a terminal of ToggleTerm will appear to display the result. But after the task is done, I cannot use the plugin's ToggleTerm command to close the terminal.

This is a duplicate of #159. There is a workaround linked there for now, and I have some work planned that should help with this.


Add files via upload

Hi did you have some kind of auto beautify? It will cause some bad merge conflict if you use that :/ also not sure what changes you made? :)

Hello! I don't use Beautify. I messed up when merging the files, sorry for the mistake, I'm new to Github and still working out how this all works. Please let me know what I can do to fix these conflicts. Thank you!

@srprescott No problem Github is tricky and I mess up things sometimes to ;) I'm not sure what Add files via upload is for feature but if you can't solve the merge conflict (we have a video on the website on how to do that) it might be easier to close this one and make a new pull request ;)

That's a good idea, I'll try again! Also, your portfolio site looks great!

@srprescott Great looking forward to your pull request :) and thanks :)


Segmentation fault

Hi I tried your decoder on ubuntu 22.04 and after ./dump1030 --device rtl-sdr it gives me Segmantation fault. I tried to follow this https://www.javatpoint.com/segmentation-fault-core-dumped-ubuntu and this https://itslinuxfoss.com/fix-segmentation-fault-core-dumped-linux/ but nothing helped.
rtl_test gives no error. Also dump1090 is running perfectly. I tried to feed it with recorded file which is working, it just does not run live with rtl-sdr.
BTW perfect project!

Hello.
Can you try a command like so:
./dump1030 --continuous --msgs --gain 190

Gives me too Segmantation fault
For me, resolved by ./dump1030 --continuous --agc
Ubuntu 24.04

Statistics of measured data with length of 262144 bits:
Messages recognized in total:                          9
Mode A messages recognized:                                 0
Mode C messages recognized:                                 0
Mode A All-Call messages recognized:                        0
Mode C All-Call messages recognized:                        0
Mode A All-Call (Compatibility Mode) messages recognized:    0
Mode C All-Call (Compatibility Mode) messages recognized:   0
Mode S messages recognized:                                 9

Cumulative statistics so far:
Mode messages recognized in total:                          6148
Mode A messages recognized:                                 0
Mode C messages recognized:                                 1
Mode A All-Call messages recognized:                        0
Mode C All-Call messages recognized:                        1
Mode A All-Call (Compatibility Mode) messages recognized:    0
Mode C All-Call (Compatibility Mode) messages recognized:   0
Mode S messages recognized:                                 6146


feat: add login alert for comment click

coverage: 76.218%. remained the same when pulling 5f3bcb773d6c5e871c8ac81a665369401daa987e on marcussfu:master into b02921330ecb13a71ce71e96f87a2dc2d8ac1f37 on cofacts:master.


Server error Error response from daemon: network traefik not found

I wanted to set it up on my homelab under arch so I simply assumed it was possible to remove the traefik part and just use Nginxproxymanager; it worked until I wanted to create a room.
Is there any workaround?
I think it might be helpful to add that I went through the install script you provided to find the docker-compose.yml

Please refer to this comment: https://github.com/m1k1o/neko-rooms/issues/71#issuecomment-1225495759 It's just a default name of the network that is called traefik for backward compatibility.
The install script is currently only for traefik deployment, docker-compose.yml uses a different name of the network.


generate: add packagemanifests subcommand for new project layouts

Description of the change:

operator-sdk generate packagemanifests with:

--kustomize: creates or updates config/packages/bases with UI metadata. The base contains no manifests. This command will read API type data to generate customresourcedefinitions metadata using GVK's in PROJECT.
--manifests: reads either from stdin or on-disk files and applies them to a base to write CSV and CRD manifests to config/packages/<version>. This command emulates kustomize build.

Motivation for the change: See https://github.com/operator-framework/enhancements/pull/16.
TODO's:

[x] rewrite tests in ginkgo/gomega
[x] add comments

/cc @hasbro17 @camilamacedo86 @jmrodri

Something to think about: perhaps a better name would be generate package.

when i just run operator-sdk generate packagemanifests it prompts me for a bunch of stuff, and then blows up because --version is required?

jberkhahn@Purgatory> operator-sdk generate packagemanifests
.
/lines omitted/
.
Bases generated successfully in config/packages
Error: invalid command options:  is not a valid semantic version: Version string empty
Usage:
  operator-sdk generate packagemanifests [flags]

Flags:
      --apis-dir string        Root directory for API type defintions
      --channel string         Channel name for the generated package
      --crds-dir string        Root directory for CustomResoureDefinition manifests
      --default-channel        Use the channel passed to --channel as the package manifest file's default channel
  -h, --help                   help for packagemanifests
      --input-dir string       Directory to read existing package manifests from. This directory is the parent of individual versioned package directories, and different from --manifest-root
      --interactive            When set or no package base exists, an interactive command prompt will be presented to accept package ClusterServiceVersion metadata
      --kustomize              Generate kustomize bases
      --manifests              Generate package manifests
      --operator-name string   Name of the packaged operator
      --output-dir string      Directory in which to write package manifests
  -q, --quiet                  Run in quiet mode
      --stdout                 Write package to stdout
      --update-crds            Update CustomResoureDefinition manifests in this package
  -v, --version string         Semantic version of the packaged operator

Global Flags:
      --verbose   Enable verbose logging

FATA[0033] invalid command options:  is not a valid semantic version: Version string empty

that's a lot of spew. maybe add a default value (1.0.0?), and I think we should add the -version flag to the example usage. It also looks like errors are bubbling up from multiple places? I'm not sure whatFATA[0033] is from.

when i run it with --version set, i see "--manifest-root must be set if not reading from stdin" im not sure what this flag is from, i dont see it listed in the flags in -h. I guess this is because we're not sure if we want to use this name so you marked it as hidden? Not sure how we can release a command with a hidden required flag.

How do I set it to pull from stdin? I thought that would be --interactive, but it prompts me for a bunch of info even if I don't set --interactive, and when I do set --interactive nothing seems to be different? i guess this is because I'm running this on a project with no packages, but then I don't understand what it means to read from stdin.

the default behavior of --kustomize and --manifests being true unless you set one or the other is very strange and unintuitive. If we want to stick with this I would change the flag descriptions to something like --kustomize              ONLY generate kustomize bases

Trying to write this fully formed is a very big bite. I think it might be beneficial to do a simple MVP and build from there for something like this.

more to come, I gotta go over the tests

@jberkhahn thanks for giving this a test run!

Validation should be run before any scaffold logic executes, and it currently isn't. Example usage is incoming, and will be similar to this. I'll make sure to add --version to it.
The name for --manifest-root needs to be decided on before making this CLI public for sure, which is why I initially hid it. I'm ok with the name, but iirc @hasbro17 said it sounds too much like manifests/ because it indicates a bundle format. Thoughts?
--interactive is on by default, but will only prompt you if a CSV doesn't already exist. To read from stdin, use a basic unix pipe like kustomize build config/bundle | operator-sdk generate packagemanifests. This isn't clear so I'll add a note in the flag help about piping.
That's interesting, there was some back and forth about this UX earlier and we came to a consensus on "all on by default". Can you read through that comment thread to see if the opposite argument makes sense?
generate packagemanifests is effectively a copy of generate csv for new project layouts, although organized differently. Is the --kustomize vs --manifests thing overwhelming, or something else?

Is this still WIP? I was reviewing it as if it weren't because the label got taken off. just some quick responses to some of your points.

ok
I'm not 100% what this is supposed to point to. Is it the dir that contains the Kube yaml's for the operator? i.e. the old deploy dir?
oh, a pipe. Yeah, I thought interactive mode was what it meant by reading from stdin.
Both on by default is fine, what I think is weird is explicitly setting one turns the other off. I think the flags would make more sense if they were something like --only-kustomize or the flag descriptions mentioned that they make them exclusive.
It's difficult to attempt to reflexively test every option and combination of options for this much stuff. I'm just trying to make sure everything works and everything is properly tested.

2. --manifest-root should point to whatever contains your kube manifests, ex. Deployments and RBAC. The flag name is general because it could either point to deploy (in legacy project layouts) or some custom manifests directory, ex:
$ mkdir custom
$ kustomize build config/default > custom/operator-manifests.yaml
$ operator-sdk generate packagemanifests --manifest-root custom/

4. I'll update flag help.
5. Yeah totally understand. Given comments in https://github.com/operator-framework/enhancements/pull/16 the CLI should be simplified soon (once that EP is merged).

one more thing, I think the generator overwrites a pre-existing file, right? Might want to add a test for that so that is explicitly intended behavior.

@jberkhahn file overwrites (CSV updates/upgrades) are tested here.

Also @estroz maybe this is just a limitation in the new workflow, but given that we don't have a config/packages/kustomization.yaml like we do for config/bundle/kustomization.yaml, the CSV generator doesn't get the example CR manifests from config/samples fed into stdin via the following:
$ kustomize build config/default | operator-sdk generate packagemanifests ...

And so the metadata.annotations.alm-examples field won't be populated like it does for generate bundle.
The old layout would be fine since --deploy-dir=deploy/ has the example CRs.
Any reason we can't have the same config/package/kustomization.yaml for generate packagemanifest?
resources:
- ../default
- ../samples

Also I don't want to rethink and redo the UX here.
Just want to double check we're still on track with the EP which has the following workflow:
$ kustomize build config/packages | operator-sdk generate packagemanifests -q --channel beta --version 0.0.1

Which led me to think there should be a config/packages/kustomization.yaml to build from.
Unless there actually is, and I messed up on generating it somewhere.

@hasbro17 the EP example should have included a cp config/bundle/kustomization.yaml config/packages. After some thought however the flow I'd like to see users follow is:
$ operator-sdk init
$ operator-sdk create api
$ operator-sdk generate packagemanifests --kustomize
$ kustomize build config/bundle | operator-sdk generate packagemanifests --version 0.0.1

since we want to push users towards using bundles by setting up config/bundle by default. This will be documented in both command help and website docs, the latter of which I was hoping to do as a follow-up but will add here to help explain UX.
We could take the above workflow a step further and set the default location for packagemanifests kustomize bases to be config/bundle so when a user wants to migrate to bundles they only have to run:
$ cp config/packages/0.0.1/ config/bundle/manifests
$ operator-sdk generate bundle --metadata

While the UX may seem a little more confusing, I don't think it actually is because all operator-framework manifest kustomize bases and the kustomization.yaml are housed in config/bundle at all times, reducing confusion about having two different sets of kustomize-related files.
/cc @joelanford @camilamacedo86 @jmrodri

@estroz I may not be totally following your above comment, but IMO, the packagemanifest CLI shouldn't depend on someone having already run generate bundle and having a config/bundle directory.
I think users would expect the following sequence of commands to work:
operator-sdk init ...
operator-sdk create api ...
operator-sdk generate packagemanifests -q --kustomize
kustomize build config/packages | operator-sdk generate packagemanifests --version=0.1.0

If we want to push users toward bundles, I think there may be other better ways of doing that (docs, log messages when using packagemanifests, etc.)
Also for sake of consistency and discoverability, should we rename config/packages to config/packagemanifests?

@joelanford to clarify: init will scaffold config/bundle/kustomization.yaml, which is the only requirement for running
$ kustomize build config/bundle | operator-sdk generate packagemanfiests

The only feasible way I see to scaffold a config/packages/kustomization.yaml in init is to use a flag option.
I'm fine with config/packagemanifests for those reasons.

This is mostly a nit, since I don't think it matters that much.
What would you think about having the CSV generated in config/packagemanifests/bases contain ONLY the metadata that we can't idempotently recompute, and then when we're reading Go files and adding things based on what APIs exist and what markers exist in those APIs, we create a CSV patch file per CRD.
That way:

we never overwrite the base CSV.
we always overwrite the CSV patches.

Would this get us out of doing merging into the base CSV?

@joelanford ultimately that's what we should implemented have before even moving to full kustomize building the CSV. The only thing I worry about is what olm.yaml will look like in the future, and whether that will contain spec.customresourcedefinitions and other UI fields generated from API definitions. Then we'll effectively be going back to regenerating the base. @ecordell is there a definition of olm.yaml in an EP somewhere?
Also controller-gen will regenerate bases, not patches, which is effectively what generate <bundle|packagemanifests> is doing now. Generating patches would depart from doing that, which is ok with me but still something to be aware of.

Also controller-gen will regenerate bases, not patches, which is effectively what generate <bundle|packagemanifests> is doing now. Generating patches would depart from doing that, which is ok with me but still something to be aware of.

True, but isn't controller-gen fully idempotent, where it just rewrites the whole base without considering what's already there?


Error: the server is currently unable to handle the request (post stacks.compose.docker.com)

Pre-requisite

Install Docker Desktop on MacOS
Enable Kubernetes

Verifying Minikube Status
🚩 >  minikube status
host: Running
kubelet: Running
apiserver: Running
kubectl: Correctly Configured: pointing to minikube-vm at <IP_ADDRESS>

Verifying Current Context
kubectl config current-context
minikube

Listing out Services running in Minikube
🚩 >  minikube service list
|-------------|-----------------------|--------------|
|  NAMESPACE  |         NAME          |     URL      |
|-------------|-----------------------|--------------|
| compose     | compose-api           | No node port |
| compose     | compose-etcd          | No node port |
| compose     | compose-etcd-client   | No node port |
| compose     | etcd-restore-operator | No node port |
| default     | kubernetes            | No node port |
| kube-system | kube-dns              | No node port |
| kube-system | kubernetes-dashboard  | No node port |
| kube-system | tiller-deploy         | No node port |
|-------------|-----------------------|--------------|

kubectl api-versions| grep compose
compose.docker.com/v1beta1
compose.docker.com/v1beta2

Verifying Docker Version
🚩 >  docker version
Client: Docker Engine - Community
 Version:           18.09.1
 API version:       1.39
 Go version:        go1.10.6
 Git commit:        4c52b90
 Built:             Wed Jan  9 19:33:12 2019
 OS/Arch:           darwin/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.1
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.6
  Git commit:       4c52b90
  Built:            Wed Jan  9 19:41:49 2019
  OS/Arch:          linux/amd64
  Experimental:     true
 Kubernetes:
  Version:          v1.12.4
  StackAPI:         v1beta2

Create docker-compose file
version: '3.4'
services:
  web1:
    image: nginx:alpine
    ports:
      - "81:80"
    deploy:
      replicas: 3
  db1:
    image: redis:alpine
    deploy:
      replicas: 2

Listing out the stack
docker stack ls
the server is currently unable to handle the request (get stacks.compose.docker.com)

 docker stack deploy --orchestrator=kubernetes -c docker-compose.yml
the server is currently unable to handle the request (post stacks.compose.docker.com)

  kubectl get all --namespace compose
NAME                                                                 READY     STATUS             RESTARTS   AGE
po/compose-api-7f95fcd458-x8zrn                                      0/1       CrashLoopBackOff   7          19m
po/compose-d4696764f-fh6tq                                           1/1       Running            8          19m
po/etcd-operator-etcd-operator-etcd-backup-operator-7978f8bc4hbrk9   1/1       Running            0          15m
po/etcd-operator-etcd-operator-etcd-operator-6c57fff9d5-772w9        1/1       Running            0          15m
po/etcd-operator-etcd-operator-etcd-restore-operator-6d787599pz788   1/1       Running            0          15m

NAME                        TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)             AGE
svc/compose-api             ClusterIP   <IP_ADDRESS>    <none>        443/TCP             19m
svc/compose-etcd            ClusterIP   None             <none>        2379/TCP,2380/TCP   14m
svc/compose-etcd-client     ClusterIP   <IP_ADDRESS>   <none>        2379/TCP            14m
svc/etcd-restore-operator   ClusterIP   <IP_ADDRESS>    <none>        19999/TCP           15m

NAME                                                       DESIRED   CURRENT   UP-TO-DATE   AVAILABLE   AGE
deploy/compose                                             1         1         1            1           19m
deploy/compose-api                                         1         1         1            0           19m
deploy/etcd-operator-etcd-operator-etcd-backup-operator    1         1         1            1           15m
deploy/etcd-operator-etcd-operator-etcd-operator           1         1         1            1           15m
deploy/etcd-operator-etcd-operator-etcd-restore-operator   1         1         1            1           15m

NAME                                                              DESIRED   CURRENT   READY     AGE
rs/compose-api-7f95fcd458                                         1         1         0         19m
rs/compose-d4696764f                                              1         1         1         19m
rs/etcd-operator-etcd-operator-etcd-backup-operator-7978f8bc47    1         1         1         15m
rs/etcd-operator-etcd-operator-etcd-operator-6c57fff9d5           1         1         1         15m
rs/etcd-operator-etcd-operator-etcd-restore-operator-6d787599f8   1         1         1         15m
[Captains-Bay]🚩 >

ubectl logs --namespace compose po/compose-api-7f95fcd458-x8zrn
ERROR: logging before flag.Parse: I0118 15:58:53.147046       1 plugins.go:158] Loaded 2 mutating admission controller(s) successfully in the following order: NamespaceLifecycle,MutatingAdmissionWebhook.
ERROR: logging before flag.Parse: I0118 15:58:53.148052       1 plugins.go:161] Loaded 1 validating admission controller(s) successfully in the following order: ValidatingAdmissionWebhook.
ERROR: logging before flag.Parse: W0118 15:58:53.148642       1 client_config.go:552] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
ERROR: logging before flag.Parse: F0118 15:59:13.173387       1 storage_decorator.go:57] Unable to create storage backend: config (&{ /registry/docker.com/stacks [http://compose-etcd-client:2379]    true false 0 0xc000461900 <nil> 5m0s 1m0s}), err (dial tcp <IP_ADDRESS>:2379: i/o timeout)

Any idea? It was working for me few minutes back.

I faced the same problem. This is how I fix it:

Delete the minikube cluster by running minikube delete
Create new compose-etcd.yaml file using the new content in the doc
Follow step by step in https://collabnix.com/a-first-look-at-compose-on-kubernetes-for-minikube/, but this time use the new compose-etcd.yaml file above. This is the last step:

docker stack deploy --orchestrator=kubernetes -c docker-compose.yml mbt

I can list stacks, and remove them

docker stack ls --orchestrator=kubernetes
docker stack rm mbt --orchestrator=kubernetes

Hi! Thanks for your feedback. Unfortunately we're no longer maintaining this repository so I will close this issue.


Invalid loop strucure

I had converted a h5 file to pb file, then while loading the pb file I get the following error.
Traceback (most recent call last):
File "import_model.py", line 244, in
detections = sess.run(detectionsT, feed_dict={img_ph: molded_images, img_meta_ph: image_metas})
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 877, in run
run_metadata_ptr)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1100, in _run
feed_dict_tensor, options, run_metadata)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1272, in _do_run
run_metadata)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1291, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Invalid loop structure: Loop "mrcnn_detection/map/while/while_context" has more than one LoopCond node: "mrcnn_detection/map/while/LoopCond_1" and "mrcnn_detection/map/while/LoopCond". This is an internal bug, please file a bug report with instructions on how to reproduce the error.
version
tensorflow version 1.10.0

@ankitesh97 Hi, request you to provide a code snippet to reproduce the error and share the following information.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce
Mobile device

Hey, I have updated the details please check

Nagging Assignee @harshini-gadige: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@skye   PTAL

@ankitesh97 can you provide the exact commands you run in the Mobile_Mask_RCNN repo to get this error?

@ankitesh97 can you provide the exact commands you run in the Mobile_Mask_RCNN repo to get this error?

@ankitesh97  Could you please provide the information asked above. It would help us to look into the issue. Thanks !

Hi, sorry for the delay. This looks like a control flow bug, which we're currently reimplementing (see https://github.com/tensorflow/community/blob/master/rfcs/20180507-cond-v2.md and https://github.com/tensorflow/community/blob/master/rfcs/20180821-differentiable-functional-while.md for details).
Would you mind running your code with the following environment variables set:
TF_ENABLE_WHILE_V2=1 TF_ENABLE_COND_V2=1
Please report any errors you get with these env variables set. Thanks!

@ankitesh97  Have you tried with the above setting of environment variables ? Please keep us posted and we will reopen.


fixing custom template loading

loadedTemplate was not found when custom template was used. Fixed.

Thank you' i've missed that i need to passin just a function to then not a param .


Project manipulation commands

Issue To Be Solved
Project subset of commands should allow easy usage without manual manipulation of flow.json. Manual manipulation is good for an advance usage but it is prone to typos, errors and more complex to understand without docs.
Suggest A Solution
The current developer flow of using CLI project is:

Setup project by running project init
Add some contracts to the config
Add some accounts to the config
Deploy contracts by running project deploy
Update contracts by running project deploy --update

Steps 2 and 3 should have a command alternative. Adding accounts should be possible with a command maybe similar to account create --save and contracts should be possible to add with command like project add-contract. Command names are not important right now (they will be further defined with CLI guidelines issue #59 and command refactor).

Adding project manipulation methods. I strongly believe this is a must. Also Bjartek said mulitple times and opened a PR on add contract but this goes further, we should allow adding all resources to the config via command.
project init
project deploy
project add <account|contract|deployment|network>
project remove <account|contract|deployment|network>**

There should also be a guided prompt way to add resources, let me give an example:
project add deployment
Contracts in the configuration:
[0] FungibleToken
[1] Kibble
[2] KibbleMarket
Choose the contract for deployment: 1

Networks in the configuration:
[0] Emulator
[1] Testnet
[2] Mainnet
Choose the network for deployment: 1

✅ Contract 'Kibble' will be deployed to 'Testne' when you run 'flow project deploy'

closing in favor #124


Could not get unknown property 'flavorAware' for object of type io.sentry.android.gradle.SentryPluginExtension

OS:

[ ]  Windows
[x]  MacOS
[ ]  Linux

Platform:

[ ]  iOS
[x]  Android

I have following issue:
Enabling io.sentry.android.gradle would cause the following error:
* Where:
Script '.../node_modules/react-native-sentry/sentry.gradle' line: 49

* What went wrong:
Could not get unknown property 'flavorAware' for object of type io.sentry.android.gradle.SentryPluginExtension.

It seems that enabling this plugin has overridden project.sentry property in gradle to point to something else.
https://github.com/getsentry/react-native-sentry/blob/master/sentry.gradle#L6

Can you post your gradle config and version of react-native-sentry please?

For sure.
├─┬<EMAIL_ADDRESS>
And
apply plugin: "com.android.application"
apply plugin: "io.sentry.android.gradle"

import com.android.build.OutputFile

/**
 * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
 * and bundleReleaseJsAndAssets).
 * These basically call `react-native bundle` with the correct arguments during the Android build
 * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the
 * bundle directly from the development server. Below you can see all the possible configurations
 * and their defaults. If you decide to add a configuration block, make sure to add it before the
 * `apply from: "../../node_modules/react-native/react.gradle"` line.
 *
 * project.ext.react = [
 *   // the name of the generated asset file containing your JS bundle
 *   bundleAssetName: "index.android.bundle",
 *
 *   // the entry file for bundle generation
 *   entryFile: "index.android.js",
 *
 *   // whether to bundle JS and assets in debug mode
 *   bundleInDebug: false,
 *
 *   // whether to bundle JS and assets in release mode
 *   bundleInRelease: true,
 *
 *   // whether to bundle JS and assets in another build variant (if configured).
 *   // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
 *   // The configuration property can be in the following formats
 *   //         'bundleIn${productFlavor}${buildType}'
 *   //         'bundleIn${buildType}'
 *   // bundleInFreeDebug: true,
 *   // bundleInPaidRelease: true,
 *   // bundleInBeta: true,
 *
 *   // whether to disable dev mode in custom build variants (by default only disabled in release)
 *   // for example: to disable dev mode in the staging build type (if configured)
 *   devDisabledInStaging: true,
 *   // The configuration property can be in the following formats
 *   //         'devDisabledIn${productFlavor}${buildType}'
 *   //         'devDisabledIn${buildType}'
 *
 *   // the root of your project, i.e. where "package.json" lives
 *   root: "../../",
 *
 *   // where to put the JS bundle asset in debug mode
 *   jsBundleDirDebug: "$buildDir/intermediates/assets/debug",
 *
 *   // where to put the JS bundle asset in release mode
 *   jsBundleDirRelease: "$buildDir/intermediates/assets/release",
 *
 *   // where to put drawable resources / React Native assets, e.g. the ones you use via
 *   // require('./image.png')), in debug mode
 *   resourcesDirDebug: "$buildDir/intermediates/res/merged/debug",
 *
 *   // where to put drawable resources / React Native assets, e.g. the ones you use via
 *   // require('./image.png')), in release mode
 *   resourcesDirRelease: "$buildDir/intermediates/res/merged/release",
 *
 *   // by default the gradle tasks are skipped if none of the JS files or assets change; this means
 *   // that we don't look at files in android/ or ios/ to determine whether the tasks are up to
 *   // date; if you have any other folders that you want to ignore for performance reasons (gradle
 *   // indexes the entire tree), add them here. Alternatively, if you have JS files in android/
 *   // for example, you might want to remove it from here.
 *   inputExcludes: ["android/**", "ios/**"],
 *
 *   // override which node gets called and with what additional arguments
 *   nodeExecutableAndArgs: ["node"],
 *
 *   // supply additional arguments to the packager
 *   extraPackagerArgs: []
 * ]
 */

apply from: "../../node_modules/react-native/react.gradle"
apply from: "../../node_modules/react-native-sentry/sentry.gradle"
apply from: "../../node_modules/react-native-code-push/android/codepush.gradle"

/**
 * Set this to true to create two separate APKs instead of one:
 *   - An APK that only works on ARM devices
 *   - An APK that only works on x86 devices
 * The advantage is the size of the APK is reduced by about 4MB.
 * Upload all the APKs to the Play Store and people will download
 * the correct one based on the CPU architecture of their device.
 */
def enableSeparateBuildPerCPUArchitecture = false

/**
 * Run Proguard to shrink the Java bytecode in release builds.
 */
def enableProguardInReleaseBuilds = true

sentry {
    autoProguardConfig true
    autoUpload true
}

android {
    compileSdkVersion 25
    buildToolsVersion "25.0.1"

    defaultConfig {
        applicationId "my.application"
        minSdkVersion 16
        targetSdkVersion 22
        versionCode 1
        versionName "1.0.1"
        ndk {
            abiFilters "armeabi-v7a", "x86"
        }
    }
    splits {
        abi {
            reset()
            enable enableSeparateBuildPerCPUArchitecture
            universalApk false  // If true, also generate a universal APK
            include "armeabi-v7a", "x86"
        }
    }
    signingConfigs {
        release {
            if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) {
                storeFile file(MYAPP_RELEASE_STORE_FILE)
                storePassword MYAPP_RELEASE_STORE_PASSWORD
                keyAlias MYAPP_RELEASE_KEY_ALIAS
                keyPassword MYAPP_RELEASE_KEY_PASSWORD
            }
        }
    }
    buildTypes {
        debug {}
        release {
            minifyEnabled enableProguardInReleaseBuilds
            proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
            signingConfig signingConfigs.release
        }
    }
    // applicationVariants are e.g. debug, release
    applicationVariants.all { variant ->
        variant.outputs.each { output ->
            // For each separate APK per architecture, set a unique version code as described here:
            // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
            def versionCodes = ["armeabi-v7a":1, "x86":2]
            def abi = output.getFilter(OutputFile.ABI)
            if (abi != null) {  // null for the universal-debug, universal-release variants
                output.versionCodeOverride =
                        versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
            }
        }
    }
}

dependencies {
    compile project(':react-native-sentry')
    compile project(':react-native-code-push')
    compile project(':react-native-navigation')
    compile project(':react-native-vector-icons')
    compile fileTree(dir: "libs", include: ["*.jar"])
    compile "com.android.support:appcompat-v7:23.0.1"
    compile "com.facebook.react:react-native:+"  // From node_modules
}

// Run this once to be able to run the application with BUCK
// puts all compile dependencies into folder libs for BUCK to use
task copyDownloadableDepsToLibs(type: Copy) {
    from configurations.compile
    into 'libs'
}

can you change
sentry {
    autoProguardConfig true
    autoUpload true
}

TO
sentry {
    autoProguardConfig true
    autoUpload true
    flavorAware false
    logLevel "error"
}

and see if the problem still exsists?

No that doesn't work.
* Where:
Build file '.../android/app/build.gradle' line: 98

* What went wrong:
A problem occurred evaluating project ':app'.
> Could not find method flavorAware() for arguments [false] on object of type io.sentry.android.gradle.SentryPluginExtension.

I've just released 0.28.0 which fixes the issue.

Thanks so much for the fast response and fix!


Add imported targets to FindSoci.cmake

This adds targets to the FindSoci.cmake module so it can be used the same way as if you used the internal CMake / exported targets. That is, for example:
target_link_libraries(MyExecutable PUBLIC
    Soci::core
    Soci::postgresql)

The second commit fixes some renaming that seems to have been missed in af6155c3ccc9ba23fd0f518704555badbfa44893.
The 3rd and 4th commits are just stylistic fixes to make it more consistent, and they shouldn't change anything functionally, but let me know if want me to take those out.
It is still missing the option for static libraries. I considered trying to add that, but I wasn't sure about all the details (I think we would want to call find_library a second time for each library with CMAKE_FIND_LIBRARY_SUFFIXES altered). Still, it's possible to use FindSoci.cmake to find static libraries like this:
# Temporarily override CMAKE_FIND_LIBRARY_SUFFIXES to try to find static libs
set(_soci_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES})
set(CMAKE_FIND_LIBRARY_SUFFIXES .a)
find_package(Soci REQUIRED COMPONENTS postgresql)
set(CMAKE_FIND_LIBRARY_SUFFIXES ${_soci_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES})

Thanks, this looks fine (and useful) to me but, as usual, I'd appreciate any reviews from CMake-literate people, e.g. @Krzmbrzl
But if there are no comments/objections, I'll merge it soon, thanks again!

OK, thanks for looking at this (and thanks again for the fixes themselves too, of course).


App resets movement keybinds

For some reason, whenever I use ValorantCC, my movement keys go from my normal ZQSD keys back to the default WASD keybinds.

Can u send me your logs? both .old and the .txt

I'd love to, but where would these logs be located? There are no log files in the app's directory.

same issue here

Hi. I dug deeper and can't seem to find the cause. I'll update the app right away if I managed to fix it. for now, Please do bear with it.


Result format is not respected

I'm using the Result Format field, but the tags being created by the step use the default format (i.e. v_VERSION_(_BUILD_))

my issue! i had an invalid format


[generic-specializer] Promote non-trivial in_guaranteed => guaranteed.

We did this for @in => @owned for all parameters before enabling +0. We decided
to defer this work to after +0 was turned back on.
This also fixes the array_contentof_opt test without making append(contentOf: )
take the container at +1.
rdar://38152291

I think it makes sense for array(contentsOf:) to take its argument as +1 though - otherwise how would you append an array of move only types?

@slavapestov lets talk about that offline with @airspeedswift. If we decide to do that, I would like to do it in a separate commit. This is important to get all of our tests back on.


JavaScript

#JavaScript
User Story
As a boot camp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I view the study guide
THEN I can see the four topics I learned listed along with a suggestion on what I should study first

Have added the JavaScript to the prework study guide.


Call to imgui.Begin and imgui.BeginChild throws a segmentation fault error

Trying to launch this simple snippet of code:

results in a segmentation fault error:

This happen only when a call to gui.Begin is performed.
Probably something happening in the C++ side of ImGUI or in the way in which you handle the GUI in polyscope or in the pybind.
Do you have any idea why this is happening? Would be great to have the possibility to create new imgui windows also python-side. I can contribute to it, but I cannot figure it out why this is happening.
Same problem if I call BeginChild. Also tried with different flags and different arguments. Same result.
Also, this is independent to the fact that a call to gui.End() is performed.

Ok, was me misunderstanding how to use the imgui library.
Calling Begin inside the callback works:

Sorry for opening the issue and thanks a lot for the amazing package!


Add Code of Conduct

We recommend that every repo has a code of conduct. If you don’t feel comfortable creating your own Code of Conduct from scratch we highly recommend using one of the templates provided by GitHub. If you do use a template, please read through the template and ensure that you can and will abide by the Code of Conduct.
Please follow these instructions on how to add a Code of Conduct.
Sample: https://github.com/Girlscript-WOB/Guidelines/blob/main/Project Admins/Code of conduct.md

Please assign this task to me as a part of WOB24 Contribution. I am a newbie and would like to take part in this campaign as good first issue. @jaibhedia Thank you!


Improve bound armor by binding on first damage?

On Civrealms armor wasn't bound until it took its' first durability damage, giving you slightly more leeway than simply putting it on being what binds it.
Is this a worthwhile change for our armor binding?

This issue is a question.


"git push", instead of "mvn heroku:deploy" fails to discover process types

This is more of a feature request than a bug as in the plugin's README it is mentioned that:

This plugin is used to deploy Java applications directly to Heroku without pushing to a Git repository. This is can be useful when deploying from a CI server, deploying pre-built Jar or War files.

In any case:
If instead of mvn heroku:deploy I deploy a Maven based app using git push, Heroku does not respect the processTypes defined in the pom.xml file:
            <plugin>
                <groupId>com.heroku.sdk</groupId>
                <artifactId>heroku-maven-plugin</artifactId>
                <version>1.1.3</version>
                <configuration>
                    <appName>radiant-foo-34543</appName>
                    <jdkVersion>11</jdkVersion>
                    <processTypes>
                        <web>java $JAVA_OPTS -jar target/${project.build.finalName}.jar</web>
                    </processTypes>
                </configuration>
            </plugin>

With git push:
...
remote:        [INFO] ------------------------------------------------------------------------
remote:        [INFO] BUILD SUCCESS
remote:        [INFO] ------------------------------------------------------------------------
remote:        [INFO] Total time: 6.473 s
remote:        [INFO] Finished at: 2019-03-08T08:00:06+00:00
remote:        [INFO] Final Memory: 18M/60M
remote:        [INFO] ------------------------------------------------------------------------
remote: -----> Discovering process types
remote:        Procfile declares types -> (none)
...

With mvn heroku:deploy
...
[INFO] remote:
[INFO] remote: -----> heroku-maven-plugin app detected
[INFO] remote: -----> Installing JDK 11... done
[INFO] remote: -----> Discovering process types
[INFO] remote:        Procfile declares types -> web
[INFO] remote:
[INFO] remote: -----> Compressing...
[INFO] remote:        Done: 66.3M
[INFO] remote: -----> Launching...
[INFO] remote:        Released v18
...

Ideally git push and mvn heroku:deploy should work identically.

@behrangsa unfortunately, the buildpack (i.e. git push) won't support the <processTypes> field from the plugin. I'm afraid we won't add this. Instead you'll need to use the a Procfile to customize your command. This plugin does support Procfile too.


animate SS2D_Shape_Open

I would like to animate a ShapeOpen. Imagine to have a Rectangle Shape (open inside) and I would like to add an animation to beveled it.
Is it possible?

You can manipulate points of a shape programmatically by using the add_point, set_point, set_point_array, etc functions of the shape node.
You can also use set_curve if you want to work with a Curve2D instead and transfer it over to SS2D when done.


Atmel SAMD21 device

I have a SAMD21 uC connecting to Windows using a fully functioning custom .NET app using HID.
I want to move over from C# to Rust.
I have the VID and PID:
.find(|d| d.vendor_id() == 0x04d8 && d.product_id() == 0xeb88)
If I cargo run --example control I get:
     Running `target\debug\examples\control.exe`
Device info: DeviceInfo { bus_number: 0, device_address: 21, vendor_id: 0x04D8, product_id: 0xEB88,
device_version: 0x0100, class: 0xEF,
subclass: 0x02, protocol: 0x01, speed: Some(Full), manufacturer_string: None, product_string: Some("Device"),
serial_number: Some("FFFF"), instance_id: "USB\\VID_04D8&PID_EB88\\FFFF",
parent_instance_id: "USB\\VID_2109&PID_2813\\6&19d7c37a&0&3", port_number: 1,
driver: Some("usbccgp"), interfaces: [InterfaceInfo { interface_number: 0, class: 0x02, subclass: 0x02,
protocol: 0x01, interface_string: Some("Device") }, InterfaceInfo { interface_number: 2,
class: 0x03, subclass: 0x00, protocol: 0x00, interface_string: Some("Device") }] }

thread 'main' panicked at examples\control.rs:40:47:

called `Result::unwrap()` on an `Err` value: Custom { kind: NotFound, error: "interface not found or not compatible" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: process didn't exit successfully: `target\debug\examples\control.exe` (exit code: 101)

I have traced the failure to pub(crate) fn claim_interface (line 107) in file \src\platform\windows_winusb\device.rs
The value of interface: u8 is "\0", e.g. NULL
       let path = self.interface_paths.get(&interface).ok_or_else(|| {
            Error::new(ErrorKind::NotFound, "interface not found or not compatible")

Any thoughts on this? The device is being identified as follows:

On Ubuntu:
Device info: DeviceInfo { bus_number: 2, device_address: 37, vendor_id: 0x04D8, product_id: 0xEB88,
device_version: 0x0100, class: 0xEF,
subclass: 0x02, protocol: 0x01, speed: Some(Full), manufacturer_string: Some("Device"), product_string: Some("Device"),
serial_number: Some("FFFF"), sysfs_path: SysfsPath("/sys/bus/usb/devices/2-2"),
interfaces: [InterfaceInfo { interface_number: 0, class: 0x02, subclass: 0x02, protocol: 0x01, interface_string: None },
InterfaceInfo { interface_number: 1, class: 0x0A, subclass: 0x00, protocol: 0x00, interface_string: None },
InterfaceInfo { interface_number: 2, class: 0x03, subclass: 0x00, protocol: 0x00, interface_string: None }] }
Completion { data: ResponseBuffer { transferred: 0, .. }, status: Err(Stall) }
Completion { data: [], status: Err(Stall) }
thread 'main' panicked at examples/control.rs:40:47:
called `Result::unwrap()` on an `Err`
value: Os { code: 16, kind: ResourceBusy, message: "Device or resource busy" }

It looks like your device is composite HID and CDC-serial based on the class fields. Which of these interfaces are you trying to use? These will have kernel CDC and HID drivers that will prevent use with nusb.
What does the device do? If your device is HID and CDC because these are the appropriate classes for the device's functionality (e.g. a Human Interface Device like mouse/keyboard/gamepad for HID, and a serial port you want to use with a terminal emulator for CDC), then you should not use nusb, and instead use libraries like hidapi and serialport-rs to use the kernel drivers to access this functionality through those existing drivers.
Historically, HID was abused for vendor-specific non-HID functionality because you can tunnel a little bit of custom data over HID reports. Windows would install the HID driver automatically, but in the WinXP days before WinUSB, it was hard to install and write a vendor-class driver. A lot of microcontroller USB examples use CDC, because you can get instant gratification by writing to it with printf-style APIs and interacting with it in a terminal emulator. If there is not a reason to use the standard classes, consider changing the firmware to replace one or both of these interfaces with a vendor-class (0xFF) interface. Use a Microsoft OS descriptor to set a Compatible ID of WINUSB with a random DeviceInterfaceGUIDs to make Windows bind the WinUSB driver to that interface. Then you can set up whatever endpoints and control requests you want under that interface, and access them with nusb.
On Windows, that's the entire issue -- nusb requires that the interfaces have the WinUSB driver bound, not the CDC or HID drivers.
On Linux, you are able to make control requests without claiming an interface. It looks like you modified the control example which makes a few control requests using Device without claiming the interface. These first transfers fail with Stall. This means the request was rejected by the device, typically if it's not a request the device understands. Do the parameters to the control transfer methods correspond to request handlers in your device firmware, or did you leave the random ones I had for my device in the example? Then when it tries to claim the interface, it can't because it's already in use by the kernel HID or CDC drivers.

Kevin, thanks.
You are correct that this is a composite device. It was originally designed to operate using Christian Findlay's C# libraries, allowing both to run HID and CDC together.
https://www.christianfindlay.com/blog/device-net-4
You are also correct that the purpose of this setup was to provide seamless plug-and-play operation as well as text based serial port commands. This is highly desirable for the product.
Thanks a lot for the detailed reply -- I have read over it multiple times and will keep doing so as there is a lot in there. Meanwhile I will kee a close eye on your project and look into "vendor-class".


Add replace ENV variables in lex

Search for ENV variables in input string and seperate them form other text.

Write our get_env which gets value of variable or empty string if it doesnt find anything
And change return of that function into the place of ENV varibles.
Search for ENV variables is in #39


[arduino] docs: update changelog and merge #93 from master

This PR updates the changelog and  merges master #93 to arduino.
No idea how 93 slipped through 🤷♂
What kind of change does this PR introduce?

[x] Documentation

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Does this PR release a new version?

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the develop branch, not the master branch
[x] All tests are passing
[ ] New/updated tests are included

The date also needs to be updated, still says ## [0.6.0] - 2019-07-01.


Request for private location tracking

Hi,
Many of us do sport in remote areas and wish to be tracked by our safety number. In the past I have used "beacon" type apps on an iPhone, or even location sharing from the mobile OS itself. I have been after a private solution for sometime however. Apps such as OSMand provide a service where they upload a lat and long to a website, perhaps that could be integrated in the web hosting part of your project when it becomes available?
This is low priority I know!
I am thinking skiing, windsurfing etc although commercially this may also apply to those who work in remote areas only want to be tracked by a select few.
If this is the wrong place to make this request then I will remove/move.
Thanks!
Love what you are doing.
NyamiDev

Is the expectation that you would have internet access in these remote areas?

Hi dr-bonez. Apologies for replying to this so late. The answer to the question is yes in say about 2/3 of the cases, in others when then no internet access. So the tool would need to enable the caching of location points over time, so when you do get a connection, it can upload the backlog. Its based on using mobile phones for the connection, perhaps when we Starlink etc the problem wont be as big.

What apps do you typically use for this kind of thing?

Hi Proff of Keags,
I run GraphenOS using an app called "Phone Tracker" found on F-Droid. This app can upload the location data at specified intervals to web server for example. However, more practically, others that would wish to use this would probably want it integrated with Strava, Cyclemeter, Garmin Tracker for example. What I really want is a repository/database hosted on the Embassy that I could send my location to at regular intervals. This database would then be able to be published as a web page, using Embassy,  clearnet and TOR. Something I want to work on myself but not much spare time....
Understand this is low priority but private lcoation tracking could be a good area to work on when you are able, a little bit like secure home monitoring, door cameras, alarms etc.  Could generate income for events that wish to track participants, but without sharing that info with corporates etc. Mine is personal use but you could monetise this potentially?
Thank you for a great product, great podcast appearances by you and Matt and all you do.

I meant to add, Phone Tracker works with NextCloud that i host on my home network.


goreleaser: 0.149.0 -> 0.155.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/goreleaser/goreleaser/releases.
meta.description for goreleaser is: "Deliver Go binaries as fast and easily as possible"
meta.homepage for goreleaser is: "https://goreleaser.com"
meta.changelog for goreleaser is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.155.0 with grep in /nix/store/snlzixjmkikbnssiswbp7x8gbqp30lqi-goreleaser-0.155.0

directory tree listing: https://gist.github.com/f18f0916b20754ff7a352b157b03e849

du listing: https://gist.github.com/951c4e40f8f0d973136f80581c07137e

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
goreleaser

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/snlzixjmkikbnssiswbp7x8gbqp30lqi-goreleaser-0.155.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A goreleaser https://github.com/r-ryantm/nixpkgs/archive/126463c37855e705de87d52f811d6247109c132f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/snlzixjmkikbnssiswbp7x8gbqp30lqi-goreleaser-0.155.0
ls -la /nix/store/snlzixjmkikbnssiswbp7x8gbqp30lqi-goreleaser-0.155.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

goreleaser

Maintainer pings
cc @c0deaddict @endocrimes @sarcasticadmin @kalbasit for testing.

Result of nixpkgs-review pr 109845 1

1 package built:

goreleaser

Result of nixpkgs-review pr 109845 1

1 package built:

goreleaser


Add support for removing background images from smaller screens

Replaces #11

Removed the -le- variants, and will use many classes to hide.


fix typo

When I saw ErrorContext source,W I found it, but I don't know that it is a typo.

@whq2017 Thanks!


Logout Issue: Logging back in on refresh despite explicit logout

Describe the bug
Accepting to logout from LogoutModal doesn't clear localStorage as intended from handleLogout.
https://user-images.githubusercontent.com/14917816/237038222-83026448-8bcb-4ece-8af5-b58e203628ac.mov
Was thinking that the handleLogout function wasn't running properly because LogoutButton is a special component for a logout button from Inrupt's Solid React SDK. If called with children, it perhaps needs to move its onClick property to the children.
To Reproduce

Log into PASS
Click on Log Out
Click "YES" to logout
See error (if I were to refresh here, I'll log me back in as if I never logged out)

https://user-images.githubusercontent.com/14917816/237038879-d5ebdcdf-026d-452d-876a-1aa88fb28205.mov
Expected behavior
Expected to clear localStorage to prevent logging back in on refreshing if the user wish to fully logout.
Proposed Solution
Thinking of moving handleLogout from LogoutButton to children.

Issue resolved in PR #120. Closing issue.


[BUG] In Targets section, paginator is calculating the pager numbers in a wrong way

Describe the bug
In Targets section, paginator is calculating the pager numbers in a wrong way when there is content for just one page
The pagination does not work well for me, it should be 1 – 20 (show 20 agent) and 20 – 21 (show 1 agent) so as not to confuse, when I navigate to the next page it continues to show me 20 agents instead of 1
To Reproduce
Steps to reproduce the behavior:

Go to Targets
See the pager
Navigate to another page

Expected behavior
Pager numbers must be calculated properly
Screenshots

Additional context
As Pager is a component used in other sections, make sure that it works properly in others sections too

Working as expected


Edges can be disabled though a menu entry.

Edges can be disabled though a menu entry.
Either all together (root node menu), or per node, see above.

I have been worked on this, currently you can change the visibility of a link, also you can remove that dependency

Fixed


fix: don't return videoFormat: null for async transport updates

About the Contributor
One of the maintainers of the Hyperdeck Companion module.
Type of Contribution
This is a:
Bug fix
Current Behavior
The async transportStatus update will send a value of null for videoFormat if no other value is present. This is incorrect, because the Hyperdeck only sends parameters that have changed since the last transport status update, so if there is no videoFormat parameter present, one should not be passed upstream either.
New Behavior
Remove the fallback null value for videoFormat
Testing Instructions
Start and stop playback, and verify that there is no videoFormat parameter being passed to notify.transport handlers.
Other Information

Status

[✅ ] PR is ready to be reviewed.
[✅ ] The functionality has been tested by the author.
[ ] Relevant unit tests has been added / updated.
[ ] Relevant documentation (code comments, system documentation) has been added / updated.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 51.85%. Comparing base (346248f) to head (22c3b69).

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #32      +/-   ##
==========================================
+ Coverage   51.79%   51.85%   +0.06%
==========================================
  Files          37       37
  Lines         863      862       -1
  Branches      146      145       -1
==========================================
  Hits          447      447
+ Misses        416      362      -54
- Partials        0       53      +53

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

This is published in v2.0.1


Issue when issuing LeetCodeSignIn

E319: Sorry, the command is not available in this version: python3 <<EOF
line    9: E492: Not an editor command: import os
line   10: E492: Not an editor command: import vim
line   12: E492: Not an editor command: plugin_dir = vim.eval('s:current_dir')
line   13: E492: Not an editor command: thirdparty_dir = os.path.join(plugin_dir, 'thirdparty')
line   15: E121: Undefined variable: plugin_dir
line 1325: E171: Missing :endif
line    8: E319: Sorry, the command is not available in this version: python3 <<EOF
line    9: E492: Not an editor command: import os
line   10: E492: Not an editor command: import vim
line   12: E492: Not an editor command: plugin_dir = vim.eval('s:current_dir')
line   13: E492: Not an editor command: thirdparty_dir = os.path.join(plugin_dir, 'thirdparty')
line   15: E121: Undefined variable: plugin_dir
line 1325: E171: Missing :endif E117: Unknown function: leetcode#SignIn

Hi shankyty,
It looks like your vim doesn't have python3 support. To check if your vim supports python3, please run vim --version and see if there is +python3 in the output.

vim --version | grep python
+cmdline_hist      -langmap           +python/dyn        +visual
+cmdline_info      +libcall           -python3           +visualextra

Yeah, so the reason was that your vim doesn't support python3. However, if your MacVim supports python3 but couldn't find browser-cookies, I'd check if the package had been installed and vim was using the same python where the package was installed.

Got it solved
Multiple problems

Two vim installed

Default Mac

Installed brew

The python installed

python2 default Mac

python3 default brew

<EMAIL_ADDRESS>dependency of vim with python3

vim command was mapped to default vim which was with python not with python3.
vim installed from brew was with<EMAIL_ADDRESS>After making right links

pip3 -><EMAIL_ADDRESS>python3 -><EMAIL_ADDRESS>vim -> vim 8.1 from brew

things worked


[C-1202] [C-1203] Home: Make activity types clickable

crowd.dev edition
Cloud (hosted)
Version
No response
Link
https://app.crowd.dev/
Describe the problem
On Home in the Activities section: Top activities by type

Activity Types are currently not clickable
Users can't get deeper insights into the people who conducted the activities

Describe the improvement
The different activity types should be clickable and lead to /activities with active filters "activity type: XXX" & "date: last X days" (ref to time selection on Home)
e.g. "Discord - Sent a message" should lead to /activities with filters "activity type: Discord - sent a message" & "date: last 7 days"
Additional context
No response
C-1203

picking this up

@joanagmaia @jonathimer  Is this still a valid issue?

Hey @peoray, I believe this ticket still holds up. According to the issue description, the activity should be interactive and direct us to the /activities route, with active filters set to 'activity type: XXX' and 'date: last X days'


Support Group Fetch & Improve Paformance

Supported to retrieve User even in the case of group assignment to an application.
Implemented a cache mechanism to avoid very bad performance.
⚠ We have to merge  https://github.com/moneyforward-i/admina-custom-service-action/pull/4 in advance

When this PR be merged, should be squashed.

Performance result
As a premise

Over 200 apps
over 3,500 users
over 1,900 groups

Initially ( without Group Fetch ) 15min
2nd ( with Group ) 1h50min
3rd ( with Cache ) 15min 🌟


Add group state for locks

Description:
Adding a group state for locks.
Related issue (if applicable): fixes #
https://github.com/home-assistant/home-assistant/issues/2646
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#
Example entry for configuration.yaml (if applicable):

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If code communicates with devices, web services, or a:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Added  ", (STATE_LOCKED, STATE_UNLOCKED)" to _GROUP_TYPES
Don't have a working HA right now, so can't test.. Nor do I know how!

Looks good. Can be merged when linting errors reported by Travis are addressed https://travis-ci.org/home-assistant/home-assistant/jobs/148147272#L201-L210

Well that took way longer than it should have.  First time doing this so my apologies for the ignorance.  If you cannot tell I know little about Python...   Reading logs, line lengths, white space, all new to me ;)
Thanks for everyones help!

Ha, you did a good job for someone that knows little about Python 👍  🐬


Debug e2e tests failure

The failures started when the new version of kind was released that upgraded k8s to version v1.25.0.
The problem with this version is that one of the k8s resources used by strimzi is of a deprecated api version.
This PR updates strimzi to solve this issue.
I used Debugging with ssh to debug the GitHub Action.

Codecov Report

Merging #307 (8b98cfa) into main (ef4a155) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #307      +/-   ##
==========================================
- Coverage   68.67%   68.63%   -0.05%
==========================================
  Files          81       81
  Lines        4699     4699
==========================================
- Hits         3227     3225       -2
- Misses       1276     1277       +1
- Partials      196      197       +1

Flag
Coverage Δ

unittests
68.63% <ø> (-0.05%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/pipeline/extract/timebased/heap.go
97.82% <0.00%> (-2.18%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Looking at the execution POST url
https://<IP_ADDRESS>/apis/policy/v1beta1/namespaces/default/poddisruptionbudgets

it seems that it looks at api version v1beta1.
But, the version of the resource is: v1
$ kubectl api-resources | grep podd
poddisruptionbudgets              pdb          policy/v1                              true         PodDisruptionBudget

the version of kubernetes is v1.25.0
$ kubectl version
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.  Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.0", GitCommit:"a866cbe2e5bbaa01cfd5e969aa3e033f3282a8a2", GitTreeState:"clean", BuildDate:"2022-08-23T17:44:59Z", GoVersion:"go1.19", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.0", GitCommit:"a866cbe2e5bbaa01cfd5e969aa3e033f3282a8a2", GitTreeState:"clean", BuildDate:"2022-09-01T23:30:43Z", GoVersion:"go1.19", Compiler:"gc", Platform:"linux/amd64"}

And according to Deprecated API Migration Guide
The policy/v1beta1 API version of PodDisruptionBudget will no longer be served in v1.25.

The bottom line is that we probably need to update Strimzi manifests to solve this issue.

Well, the e2e tests still fails...
I don't get it. It passes for this PR and fails for main, even though, there is no code difference:
https://github.com/netobserv/flowlogs-pipeline/compare/554b9b5b150ffceda61f492d3ea2be2081138db6..9191caa8376b8de1cf1b98eed15bc72b54706aa1
current main: 554b9b5b150ffceda61f492d3ea2be2081138db6
last commit of this PR: 9191caa8376b8de1cf1b98eed15b


Remove Controller suffix from controller classes

Sorry if this has been brought up before, but:
Since we're using namespaces, what's the point of having classes like SiteController extends Controller ?
Isn't it better to just have namespaced controllers, like:
namespace app\controllers;
use yii\web\Controller;

class Site extends Controller {
    [...]
}

@qiangxue How about to add controller suffix as application param (default: 'Controller')?

I don't like this idea because it has too many cons and brings controversy. Image how you will work with 3-rd part extensions, that contain controllers named FooController, when you set controller suffix to '' in your app? It causes inconveniences even because when you have User as a model, and User as a controller, you will probably use User model in User controller, then you need to write use app\models\User as UserModel.

@SilverFire so User module and User model is OK, but User controller is something terrible? I bet 3-rd party extensions will be inside it's own module and can set their own suffix for it. I think it's cool when you have choice, nobody forces you to use this param. As for me, I would like to use User as model and Users as controller.


chore(master): release 0.60.0-alpha

:robot: I have created a release beep boop
0.60.0-alpha (2024-03-07)
Features

new (aa781b1)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/mafqla/yalis-blog/releases/tag/v0.60.0-alpha :sunflower:


Show deprecation warning just once

Follow-up from #5324 - show the warning just once to avoid generating a lot of pollution in logs

/ok-to-perf

/ok-to-perf

fyi: Since my recently changes migrating from gh workflow file to makefile, some tests will fail because of the default timeout is 10m.
this will start to work as soon as this PR gets merged.

/ok-to-test

/ok-to-test

/ok-to-perf

/ok-to-perf


Adding redirect test

This is a test for https://github.com/GoogleChrome/sw-toolbox/issues/91

Oh. FFS @googlebot.

Dear @googlebot,
Everything is fine and good with this PR. Please we can haz?
<3

Disabled branch protection for admins temporarily and overrode @googlebot


[2.x] missing notifications

It appears that when two elements try to set the value of a parent property, an observer to that property will skip one of the updates.
Consider this jsbin:
http://jsbin.com/vafumah/edit?html,console,output
<app-location route="{{_route}}" use-hash-as-path></app-location>
<app-route
    route="{{_route}}"
    pattern="/:page"
    data="{{_pageData}}"
    tail="{{_subRoute}}"></app-route>
<!-- nav menu -->
<paper-listbox
    selected="{{_pageData.page}}"
    attr-for-selected="name">
  <paper-item name="home">Home</paper-item>
  <paper-item name="favorites">Favorites</paper-item>
</paper-listbox>

The initial route is set in the attached callback:
this.set('_route.path', '/home');
Take a look at the console output from _pageDataChanged:
Expected Results
New value, old value
{}, undefined
{ page: 'home' }, {}
// Click on favorite
{ page: 'favorite' },  { page: 'home' }
Actual Results
New value, old value
{},  undefined
{ page: 'home' }, {}
// Click on favorite
{ page: 'favorite' },  { page: 'favorite' }
cc @sorvell, @azakus, @kevinpschaaf

After debugging, the conclusion is that this behavior is as expected.
The issue is not that Polymer is missing an observer call.  The confusion arises because the value being observed is an Object whose sub-properties may change separately and without regard to how changes to the root object is reported.  As this jsBin shows, the old value is indeed the previous observer call's current value and different from the current observer's current value: http://jsbin.com/yagokaj/edit?html,console,output.
What is happening is that the old object's _pageData.page sub-property was changed in the same turn that the _pageData object itself changed (and to the same value as the new _pageData.page property), hence the conclusion that the new value is the same as the old value, but as the equality check in the jsBin shows this is not the case.
It appears that app-route's wildcard observer on data for deep changes external to the element causes a new data object to be created (and notified out); but for that to happen the original (old) data's sub-property must have been changed first, followed by a brand new data object being produced by app-route.  As such, a user of app-route's data property cannot rely on the "old" data object being frozen in time at the last observer call since the 2-way notification of existing data object sub-properties is what actually causes it to propagate new data.  It would seem that the correct pattern would be for users to capture current data sub-properties if they desire to use them for comparison in future data observer calls.
cc @rictic as FYI


Homepage Surah list is not properly aligned on medium screen sizes

Salamualaikum, what's your age, and do u still maintain this repo.


start the service directly if server running already.

Add a call to start the service directly if the server is running already.

@JamesMBallard Can you please review?


Make API Codegen Work on Linux

Code Changes:

Use a platform-specific gsed alias in api/codegen.sh script
Delete duplicated api/add_license_headers.sh script
Move existing helper scripts from /hack to /tools
Remove .travis.yml and git_push.sh from API code generation

Resolves #254
Additional Information:
Use Docker for testing using Linux/Ubuntu for developers using macOS:

Create a Dockerfile like this:

FROM ubuntu:latest

RUN apt-get -y update
RUN apt-get -y install git
RUN apt-get -y install make
RUN apt-get -y install curl
RUN apt-get -y install wget

ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -y install default-jre-headless

RUN apt-get clean && rm -rf /var/lib/apt/lists/*

Build the image and run the container:

docker build -t ubuntu-make-curl-git-java .

docker run -it ubuntu-make-curl-git-java /bin/bash

Inside the container, run the api/codegen.sh script:

git clone https://github.com/ckadner/mlx.git
cd mlx
git checkout fix_codegen_on_linux
./api/codegen.sh
git status

Note:: the api/generate_code.sh script will only work after this PR got merged, since it relies on comparing current codegen results with those of a previous (latest) commit from main (which will not yet have the fix).

@BluThaitanium -- this PR uses the same fix you provided last week in PR #250 -- Please review when you get a chance. Thanks!

/lgtm

Thanks @JAulet


Update wis2_to_gts_gateway.adoc

Additionally, it would be good if the RTHs that have agreed to take over the task were named here.

PR #13 includes the proposed change by @antje-s ... probably simplest to reject this PR?


How to convert the model to rnnoise_data_little.c

Firstly, thank you for updating the rnnoise, Now I can convert the model to rnnoise_data.c by using dump_rnnoise_weights.py, I want to konw how to convert the model to rnnoise_data_little.c

It's the same conversion. It's just that the "little" models were trained with sparsification (which isn't yet well documented, sorry)

@AotYan  please see my comment in #246


add opt_125M

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi @Nanuion could you please sign the cla here?


Update Cody extension name for SEO

See https://docs.google.com/document/d/1Dd6IegY0l7g2x2xBPFKFuEtKw6U0F6uYGAJKTK6AwUQ/edit#heading=h.ubvxmq40v7u1

Clues:

You can edit most things here
And the description lives here.

FYI, I have opened a PR to update the extension name here: https://github.com/sourcegraph/jetbrains/pull/1184
@taylorsperry


Upgrade swagger and use open api 3.0

This PR is step 1 in reorganizing SingularityBase and making the whole project more usable

Adds a large pile of missing documentation
Upgrades swagger to 2.x versions which use openapi 3.0 spec
serves up the openapi.json via an endpoint rather than compiling markdown into the jar

TODO:

[x] finish off annotation and docs updates
[x] set up swagger-ui-react to read the openapi.json within the ui

/fixes https://github.com/HubSpot/Singularity/issues/1444

Filed https://github.com/swagger-api/swagger-core/issues/2740 for the circular reference issue we ran into. Will try to make a PR for that later if I have time

🚢


Suggestion: Commands should allow for subset of ids

Environment summary
Install Method: How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly)
Answer here: pip
CLI Version: What version of the CLI and modules are installed? (Available with az --version)
Answer here:
azure-cli (2.0.1+1.dev20170328)
acr (0.1.1b5+1.dev20170328)
acs (2.0.1+1.dev20170328)
appservice (0.1.1b6+1.dev20170328)
batch (0.1.1b5+1.dev20170328)
cloud (2.0.0+1.dev20170328)
component (2.0.0+1.dev20170328)
configure (2.0.1+1.dev20170328)
container (0.1.1b4+1.dev20170328)
context (0.1.1b2+1.dev20170207)
core (2.0.1+1.dev20170328)
documentdb (0.1.1b2+1.dev20170328)
feedback (2.0.0+1.dev20170328)
find (0.1.2rc1+1.dev20170312)
iot (0.1.1b3+1.dev20170328)
keyvault (0.1.1b6+1.dev20170328)
network (2.0.1+1.dev20170328)
nspkg (2.0.0+1.dev20170328)
profile (2.0.1+1.dev20170328)
redis (0.1.1b3+1.dev20170328)
resource (2.0.1+1.dev20170328)
role (2.0.0+1.dev20170328)
sql (0.1.1b6+1.dev20170328)
storage (2.0.1+1.dev20170328)
vm (2.0.1+1.dev20170328)

OS Version: What OS and version are you using?
Answer here: MacOS
Shell Type: What shell are you using? (e.g. bash, cmd.exe, PowerShell)
Answer here: bash
Description
In docker I can use just a unique subset of a container ID to work with objects.  For example, below I have a running container with the ID c6f35b051aef and I can stop it by simply referring to the ID as c6f which is sufficiently unique.
~/src/azurecli$ docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
c6f35b051aef        node:4.2            "/bin/bash"         9 seconds ago       Up 8 seconds                            naughty_brahmagupta
~/src/azurecli$ docker stop c6f
c6f
~/src/azurecli

For az commands that require an ID, it would be nice to do something similar.  For example, when setting the account, I have to provide the full name or ID of the account:
az account set --subscription 065849c9-bbbb-aaaa-aaaa-01c7b295a1bc

It would be more friendly if I could provide just a few of the first few characters, such as
az account set --subscription 065

The CLI could verify that this is unique within my account first before issuing the command and fail if it isn't.

If you use:
az account set --subscription 065[tab][tab]
Then, in your scenario where it is the only partial match, you'd get the completed value. If not, you'd get a the list of partial matches instead of an error.

The technical problem with implementing this suggestion is that the CLI would need to make many additional REST calls for every parameter and slow down everything. In this example, we'd need to make a REST call to retrieve all subscriptions (even if the user provided the full id) and then have logic to see if it matches. All of this slows the CLI down.  Granted, this is exactly what the tab completion does, but then you opt in to specific parameters only when you request it.


Iris.quickplots.contour and contourf with irregular grids

Hi,
when plotting a cube with an irregular grid using iris.quickplot.contour or contourf, iris just ignores the latitude/longitude and plots the raw data. For instance:

Is it possible to plot irregular grids using iris.quickplot?
I have also raised this issue in the ESMValTool github and they suggested that I bring it here.

Hi @ledm, thanks for raising this with us! Iris is very much set up with the expectation of mostly regular grids, which means that it is not so good when handling things like observational data, or indeed ocean data (as can be seen here).
That being said, we have recently been working on improving Iris' plotting capabilities particularly with regard to ocean grids, so it's possible you'll be able to benefit from that work in this case - @pp-mo might be able to shed some more light on this. Could you give a brief description of the irregular grid you're working with here?

Hi @dkillick,
this example is from the CESM1-BGC model, from CMIP5, historical scenario, r1i1p1 ensemble member in the Oyr MIP. The field is dissolved oxygen concentration at 1000m depth, although of course all the marine fields use the same grid.
Nearly all of the CMIP5 models use irregular grids for the marine component of the Earth system. At the moment, iris is not able to make plots for any of them without (relatively expensive) regridding to a regular grid.
Having said that, matplotlib/cartopy are capable of producing plots of irregular grids, so I can't imagine adding irregular grid support to contour and contourf would be a significant task.
Lee

Hi,
iris.plot produces a very similar plot to iris.quickplot.plot:

Hi @ledm I'm a bit confused here.
The recent 2d_coords work (soon to be merged :crossed_fingers:) covers cubes looking like ...
phenomenon-type / (units) (-- : <NY>; -- : <NX>)
     Auxiliary coordinates:
          latitude            x          x
          longitude           x          x

We need to see the cube coordinates here, I think.

The files used to make this plot are on BADC, here:
/badc/cmip5/data/cmip5/output1/CCCma/CanESM2/historical/mon/ocean/Omon/r1i1p1/latest/tos/
I believe that this netcdf does load in iris such that it has auxiliary coordinates that match the ones you show here. I simply took the time average and sent them to quickplot.contourf (and iris.plot.contourf). Fingers crossed that the recent work gets merged soon so we can use it in ESMValTool. Cheers!

Fingers crossed that the recent work gets merged soon

It is in the recent Iris 2.2 release.
Can you confirm whether this now works for that data, or are there further problems ?


Bluetooth: host: Fix TX thread data and HCI command deadlock

Fix TX thread deadlock between TX data and TX HCI commands.
When the RX thread wants to submit an HCI command that has return
parameters (HCI LE Read Maximum Data Length command) it will block
waiting for the TX thread to send the HCI command.
However if the TX thread is blocked waiting for num complete to send
ACL packets it will not be able to send. If the RX thread is blocked,
it will not be able to process the incoming ACL queue. When this
happens on both sides at the link at the same time new data cannot be
sent. This means that no num complete event will arrive to unblock the
TX thread and the whole system is locked.
Fix this issue by not having the TX thread waiting for num completes
block sending of HCI commands by sending of HCI commands to it's own
thread.
Fixes: #25917

We might want to go over the different thread's stack sizes and optimize some of them. Especially now that we have removed the LL_SW_LEGACY option.
Central HR:
[04:47:01.725,646] <inf> thread_analyzer: Thread analyze:
[04:47:01.726,165] <inf> thread_analyzer:  BT RX               : unused 448 usage 576 / 1024 )
[04:47:01.726,226] <inf> thread_analyzer:  BT RX pri           : unused 276 usage 172 / 448 ()
[04:47:01.726,257] <inf> thread_analyzer:  BT ECC              : unused 208 usage 892 / 1100 )
[04:47:01.726,409] <inf> thread_analyzer:  BT ACL TX           : unused 792 usage 232 / 1024 )
[04:47:01.726,501] <inf> thread_analyzer:  BT CMD TX           : unused 560 usage 464 / 1024 )
[04:47:01.726,562] <inf> thread_analyzer:  thread_analyzer     : unused 264 usage 248 / 512 ()
[04:47:01.726,654] <inf> thread_analyzer:  sysworkq            : unused 412 usage 612 / 1024 )
[04:47:01.726,715] <inf> thread_analyzer:  logging             : unused 176 usage 592 / 768 ()
[04:47:01.726,745] <inf> thread_analyzer:  idle 00             : unused 268 usage 52 / 320 (1)
[04:47:01.726,837] <inf> thread_analyzer:  main                : unused 328 usage 696 / 1024

Peripheral:
[04:46:02.855,834] <inf> thread_analyzer: Thread analyze:
[04:46:02.856,597] <inf> thread_analyzer:  BT RX               : unused 1764 usage 436 / 2200)
[04:46:02.856,658] <inf> thread_analyzer:  BT RX pri           : unused 264 usage 184 / 448 (41 %)
[04:46:02.856,719] <inf> thread_analyzer:  BT ECC              : unused 208 usage 892 / 1100 )
[04:46:02.856,781] <inf> thread_analyzer:  BT ACL TX           : unused 384 usage 256 / 640 ()
[04:46:02.856,842] <inf> thread_analyzer:  BT CMD TX           : unused 244 usage 396 / 640 ()
[04:46:02.856,903] <inf> thread_analyzer:  thread_analyzer     : unused 264 usage 248 / 512 ()
[04:46:02.857,177] <inf> thread_analyzer:  sysworkq            : unused 1720 usage 328 / 2048)
[04:46:02.857,238] <inf> thread_analyzer:  logging             : unused 176 usage 592 / 768 ()
[04:46:02.857,299] <inf> thread_analyzer:  idle 00             : unused 268 usage 52 / 320 (1)
[04:46:02.857,330] <inf> thread_analyzer:  main                : unused 52 usage 972 / 1024 ()

@joerchan num_complete is delivered through the RX priority thread, so why is it causing a deadlock?

@joerchan num_complete is delivered through the RX priority thread, so why is it causing a deadlock?

It's not that num_complete event is not received, it is that they are not generated. Because the peer cannot receive since it's RX thread is blocked on processing incoming data packets.
It's a deadlock that extends the connection

We're testing a 2.2.1 backport of this PR over the next two weeks. Will report back with any relevant observations.

@mtpr-ot Just a heads up on what we have agreed upon in a sync-meeting regarding this PR.
This PR will remain in draft, as we will consider an alternative solution first and use this as a fallback.
The preferred solution is to move the TX thread blocked on the num-complete semaphore to the k-poll call, so that HCI commands can be transmitted while waiting for num-completes.
This solution will require a rewrite of how l2cap fragments are transmitted to the HCI driver.


Correction for raw affiliation ENSAM School Moulay Ismail University

Correction needed for raw affiliation ENSAM School Moulay Ismail University
raw_affiliation_name: ENSAM School Moulay Ismail University
new_rors: 04f761z39;008axfh28
previous_rors: 04f761z39;008axfh28;018pp1107
works_examples: W4376639890
contact: 2a7f064be5583c370b94fad3083ea6df:a632a3f4ad9e42e7df44a02654 @ ensam.eu

This issue was accepted and ingested by the OpenAlex team on 2024-10-09. The new affiliations should be visible within the next 7 days.


NO IMAGES

Good afternoon, you are not showing me the images of the champion selection, is there any step that can be done about it? thank you so much

Resolved in #36 link