Auto completion not working when writing C++ templates

Hello, it seems like the auto completion provided by the vscode clangd extension (for windows) stops working when writing templates. Here a short clip of this behavior: https://streamable.com/6qri0
The version of my clangd application is 9.0.1 (x64 windows). Is there anything I can do?

Can you try adding the flag -fno-delayed-template-parsing to your compile_commands.json?
(Or if you don't have one, create compile_flags.txt in the same dir with just that string)
MS compilers have a nonstandard way of handling templates, clang has an option to emulate it and turns it on by default on windows (maybe it's needed to parse common libraries?). I was vaguely aware of this but hadn't realized it  might break completion entirely in templates!

Long-term fix is to make this work by default in clangd, either by turning off delayed template parsing in general or just in code completion.
Short-term, I think you should be able to add -fno-delayed-template-parsing to CMAKE_CXX_FLAGS and rebuild (unless your build actually relies on this behavior)

I'd actually like to keep this open and do a fairly limited fix.
We discussed this and I don't think we can just turn delayed template parsing off in clangd, we'll break people including slightly old windows headers.
However the file the user's editing is unlikely to be broken, and clang will let us build the preamble (headers) with delayed template parsing and then the main-file without it.
So the most-limited fix: turn it off for the code-completion parse only. In most cases of invalid code clang will realize "missing typename" and recover, only in pathological cases will it actually parse the code differently. Users will probably never notice.
The more ambitious fix: turn it off for the main-file parse as well as code-completion, while keeping it on for preamble builds. That means that users will see errors for non-standard code, but only in the file they're actually editing.

Is there an equivalent to -fdelayed-template-parsing flag but for MSVC?

@kadircet this came up again (code completion


Showing moves for each pokemon

Hello billyvg,
I implemented some features that may also help others.That is to show moves for each pokemon. This help user to easily know if the pokemon also get best moves with its type. You may cherry pick below 2 commits to showing moves.
https://github.com/billyvg/pokemon-journal/commit/9faa7ac2b51a67289a08f3dd03a127ebd3527c4f
https://github.com/billyvg/pokemon-journal/commit/bb3917ccc04a2634a8132b9f0b567d1472e23c9d
And there is an enhancement that also showing dps for those moves.
https://github.com/billyvg/pokemon-journal/commit/ed6d3872c1c89c66b2627f646adc719a7c1c36f6
I attached a screenshots in my fork branch. You may take a look for reference.
Regards,
Adam

I will look into this, thanks


Ansible - "prepare" playbook fails "System Configuration (1)" unless run twice.

Probably a timing issue, since the CPUs are slow. First-time running the playbook fails with below message:
fatal: [k3s-control-02]: FAILED! => changed=false    msg: 'Could not find the requested service ufw.service: host'
Running the playbook again works fine. May need to add a delay prior to this block.

Closing this as the ansible is being removed.


PYI 364/store verifiable credentials in a datastore

What changed
After the call to get token & credential,  the data will be stored in dynanamo db
Issue tracking

PYI-364

Checklists

[ ] still not sure how to store the credential (jwt) in the DB .

[ ] Added to local startup repository (NOT added yet)

This has introduced a few code smells that sonar has picked up which we should probably fix before merging


Thermo schedule

After some days of reverse-engineering i actually made it work and did an implementation for it right away.
You can enable this feature with just one additional line:
this.loggingService = new FakeGatoHistoryService('thermo', accessoryObject, historyOptions);
let thermoScheduler = this.loggingService.addThermoSchedule(this.thermostatService);

I will later document some of my findings in Ticket #40

Great progress....now all I need would be the Scheduler for the Aqua :-)

Yes.
The schedule for Aqua (as well as for Eve Light Switch, Eve Energy and Eve Energy Strip) is working with TLV-encoded custom characteristics E863F11D (setConfiguration) and E863F131 (getConfiguration). This is different from the Thermo commands and seems to be more complicated, because there is much more functionality. But I've also found out some things about it.

Are you ok with this PR? I will try to find some time to check and merge it in the next weeks


(FACT-1429) acceptance test for facter --strict flag

Waiting for CLA signature by @phongdly
@phongdly - We require a Contributor License Agreement (CLA) for people who contribute to Puppet, but we have an easy click-through license with instructions, which is available at https://cla.puppet.com/
Note: if your contribution is trivial and you think it may be exempt from the CLA, please post a short reply to this comment with details. http://docs.puppet.com/community/trivial_patch_exemption.html

CLA signed by all contributors.

👍


ios - Calling dimissExtension() causes app extension to crash on next load

I have a custom share extension view on ios and the behavior that I am currently experiencing is the following. The first load of app extension works fine but if I close the extension by calling "ShareMenuReactView.dismissExtension()" the next time I try to load the extension, it crashes when attempting "ShareMenuReactView.data()". If I close the extension by a down swipe the extension loads fine the next time. The log I'm seeing is
Fatal Error: Unexpectedly found nil while unwrapping an Optional value
and it points me to this function
func loadExtensionContext() -> NSExtensionContext {       return extensionContext!   }
in ReactShareViewController. Any suggestions?

@corey-wynn were you able to do more debugging? Seeing the same thing here.

Yea..solution is in here https://github.com/meedan/react-native-share-menu/issues/135


Refactor the project's styling portion using vanilla-extract

About vanilla-extract

[ ] Basic styles and themes
[ ] Encapsulation of basic components
[ ] Replace all page styles

cool, is vanilla-extract the trending way to do CSS these days?

Abandoning TailwindCSS, but why? I'd like to know any drawbacks you've found regarding it.


Validate annotations that refer to binaries

This fixes #3004 and https://bugs.launchpad.net/katacontainers.io/+bug/1878234.
Need to add a link to code reviews once this is merged.
Forward port is https://github.com/kata-containers/kata-containers/pull/902

/test

/test

/test

Rebased on recent master to fix conflict

/retest

One more iteration required to add some variables that were missed in makefile: Add missing generated vars to USER_VARS

Found a typo in PROXYPATH variable, was spelled PROXYPAT. Fixed.

/retest

@c3d - make --warn-undefined-variables (which actually shows a few others in the current master Makefile!). Also, I found https://github.com/mrtazz/checkmake which looks interesting.

Last failures apparently need rebasing on master. Pushed that.

Grumble, one test had been copy-pasted, and so the removal of vc.MinHypervisorMemory was not acted in the added code. Retrying.

/retest

/retest

@c3d, I'm seeing this error accross all the CIs:
Drop caches
/tmp/jenkins/workspace/kata-containers-runtime-opensuse-15-PR/go/src/github.com/kata-containers/runtime
Setup virtcontainers environment
Install virtcontainers
make: Entering directory '/tmp/jenkins/workspace/kata-containers-runtime-opensuse-15-PR/go/src/github.com/kata-containers/runtime/virtcontainers'
     GOBUILD  build
     GOBUILD  hook
     GOBUILD  kata-shim
make: Leaving directory '/tmp/jenkins/workspace/kata-containers-runtime-opensuse-15-PR/go/src/github.com/kata-containers/runtime/virtcontainers'
/usr/local/bin/kata-runtime
Logging kata-env information:
no service name provided
Build step 'Execute shell' marked build as failure
Performing Post build task...
Match found for :.* : True
Logical operation result is TRUE
Running script  : #!/bin/bash

export GOPATH=$WORKSPACE/go
export GOROOT="/usr/local/go"
export PATH=${GOPATH}/bin:/usr/local/go/bin:/usr/sbin:/usr/local/bin:${PATH}

cd $GOPATH/src/github.com/kata-containers/tests
.ci/teardown.sh "$WORKSPACE/artifacts"
[kata-containers-runtime-opensuse-15-PR] $ /bin/bash /tmp/jenkins546820317887890670.sh
ERROR: kata-collect-data.sh: cannot find runtime ''
/tmp/jenkins/workspace/kata-containers-runtime-opensuse-15-PR/artifacts /tmp/jenkins/workspace/kata-containers-runtime-opensuse-15-PR/go/src/github.com/kata-containers/tests
gzip: kata-collect-data_*: No such file or directory

Maybe it's worth trying to reproduce the issue locally, on a VM. If you fancy the approach, you can simply spawn a, for instance, fedora32 VM, get the tests repo, and run a ./.ci/setup.sh from the tests top directory. It'll setup the VM for you where you have a similar environment to try to reproduce the issue.
Let us know if some help is needed.

@c3d, I'm seeing this error accross all the CIs:
Drop caches
/tmp/jenkins/workspace/kata-containers-runtime-opensuse-15-PR/go/src/github.com/kata-containers/runtime
Setup virtcontainers environment
Install virtcontainers
make: Entering directory '/tmp/jenkins/workspace/kata-containers-runtime-opensuse-15-PR/go/src/github.com/kata-containers/runtime/virtcontainers'
     GOBUILD  build
     GOBUILD  hook
     GOBUILD  kata-shim
make: Leaving directory '/tmp/jenkins/workspace/kata-containers-runtime-opensuse-15-PR/go/src/github.com/kata-containers/runtime/virtcontainers'
/usr/local/bin/kata-runtime
Logging kata-env information:
no service name provided
Build step 'Execute shell' marked build as failure
Performing Post build task...
Match found for :.* : True
Logical operation result is TRUE
Running script  : #!/bin/bash

export GOPATH=$WORKSPACE/go
export GOROOT="/usr/local/go"
export PATH=${GOPATH}/bin:/usr/local/go/bin:/usr/sbin:/usr/local/bin:${PATH}

cd $GOPATH/src/github.com/kata-containers/tests
.ci/teardown.sh "$WORKSPACE/artifacts"
[kata-containers-runtime-opensuse-15-PR] $ /bin/bash /tmp/jenkins546820317887890670.sh
ERROR: kata-collect-data.sh: cannot find runtime ''
/tmp/jenkins/workspace/kata-containers-runtime-opensuse-15-PR/artifacts /tmp/jenkins/workspace/kata-containers-runtime-opensuse-15-PR/go/src/github.com/kata-containers/tests
gzip: kata-collect-data_*: No such file or directory

Maybe it's worth trying to reproduce the issue locally, on a VM. If you fancy the approach, you can simply spawn a, for instance, fedora32 VM, get the tests repo, and run a ./.ci/setup.sh from the tests top directory. It'll setup the VM for you where you have a similar environment to try to reproduce the issue.
Let us know if some help is needed.

Thanks. The problem is yet another @XYZ@ variable not being replaced. Here, it's @RUNTIME_NAME@ in kata-collect-data.sh. However, this time it's not because the variable is not there, nor because the file is not in GENERATED_VARS. So some new failure mode. Apparently, it is being replaced, but the variable is not set while building. So we end up creating a kata-collect.sh that has the runtime set to "".
I'm currently investigating. I can reproduce in my local build, so no need for a VM at the moment, although I am likely to try and run the CI locally after that change.

I'm currently investigating. I can reproduce in my local build, so no need for a VM at the moment, although I am likely to try and run the CI locally after that change.

OK, found the problem. For some reason, this was a special case for the replacement in the original makefile, which I missed. The replacement is RUNTIME_NAME -> $(TARGET).
A smart Emacs grep regexp search (s|@\([A-Z0-9_]+]\)@|\$(\1)\g if you are curious) allowed me to see that this is the only legitimate case, but that there were one typo:
		-e "s|@DEFENABLEMSWAP@|$(DEFENABLESWAP)|g" \

So this should be the last one, hopefully, Will check if the problem exists on the 2.0 dev branch.

/retest

@fidencio It now looks good. @devimc, @bergwolf, @gabyct, one last quick look?

@c3d - please could you include the commits I created on https://github.com/kata-containers/kata-containers/pull/1002/ before this lands? I've added the dnm label for now.

@c3d - please could you include the commits I created on kata-containers/kata-containers#1002 before this lands? I've added the dnm label for now.

Looking at it.

@jodh-intel  Pushed an updated version. I moved your fix up in the history, next to the breakage, to minimize risk of bisect issue. Also, I replaced := with = to match the neighbouring assignments (see my comment on 1002)

Thanks @c3d.
lgtm
/test

Hey @GabyCT could you take a look at the Jenkins failures here and tell me if anything looks out of the ordinary?
(Context: there is a makefile change that may have impacted replacements of @FOO@ in the .in files)

@c3d I see that there is a failure in metrics job that is consistent with this PR
05:49:19 opt/kata/bin/qemu-virtiofs-system-x86_64
05:49:19 time="2020-10-20T10:49:19Z" level=error msg="/usr/share/defaults/kata-containers/configuration.toml: file /usr/bin/qemu-lite-system-x86_64 does not exist" arch=amd64 name=kata-runtime pid=12891 source=runtime
05:49:19 /usr/share/defaults/kata-containers/configuration.toml: file /usr/bin/qemu-lite-system-x86_64 does not exist

@c3d the same failure is in virtiofs CI, this is again related with this PR
05:20:01 opt/kata/bin/qemu-virtiofs-system-x86_64
05:20:01 time="2020-10-20T10:20:01Z" level=error msg="/usr/share/defaults/kata-containers/configuration.toml: file /usr/bin/qemu-lite-system-x86_64 does not exist" arch=amd64 name=kata-runtime pid=15891 source=runtime
05:20:01 /usr/share/defaults/kata-containers/configuration.toml: file /usr/bin/qemu-lite-system-x86_64 does not exist
05:20:01 Failed at 78: sudo -E PATH=$PATH "$kata_runtime_path" kata-check

@c3d the same failure is in virtiofs CI, this is again related with this PR
05:20:01 opt/kata/bin/qemu-virtiofs-system-x86_64
05:20:01 time="2020-10-20T10:20:01Z" level=error msg="/usr/share/defaults/kata-containers/configuration.toml: file /usr/bin/qemu-lite-system-x86_64 does not exist" arch=amd64 name=kata-runtime pid=15891 source=runtime
05:20:01 /usr/share/defaults/kata-containers/configuration.toml: file /usr/bin/qemu-lite-system-x86_64 does not exist
05:20:01 Failed at 78: sudo -E PATH=$PATH "$kata_runtime_path" kata-check

for the ARM CI failures, I am not familiar but @jongwu any idea of this?

@GabyCT -， arm ci fail for cpu hotplug is not supported on arm64, I have sent PR to skip it.

@GabyCT @jongwu Thanks a lot. I'll look into the failures that @GabyCT pointed to.

@c3d I see that there is a failure in metrics job that is consistent with this PR
05:49:19 opt/kata/bin/qemu-virtiofs-system-x86_64
05:49:19 time="2020-10-20T10:49:19Z" level=error msg="/usr/share/defaults/kata-containers/configuration.toml: file /usr/bin/qemu-lite-system-x86_64 does not exist" arch=amd64 name=kata-runtime pid=12891 source=runtime
05:49:19 /usr/share/defaults/kata-containers/configuration.toml: file /usr/bin/qemu-lite-system-x86_64 does not exist

Apparently a fixup error that caused variable QEMUVIRTIOFSPATH to be removed mistakenly from makefile. Fixed.

Not sure why I don't see the push I just made here.
/test

@GabyCT It looks like http://jenkins.katacontainers.io/job/kata-containers-runtime-ubuntu-PR-cloud-hypeprvisor-minimal/ fails with
14:37:22 Build timed out (after 5 minutes). Marking the build as aborted.

I don't think this is related to my changes. Could you try increasing the build time for that job?

@GabyCT I'm sorry to bug you again, but this time the problems I see are docker failures and complaints that there are no logs. I would be surprised if this is related to the changes here. Maybe I'm not looking at the right spot?
14:39:35 Job for docker.service failed because the control process exited with error code.
14:39:35 See "systemctl status docker.service" and "journalctl -xe" for details.

Followed by
14:39:10 Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
14:39:10 Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
14:39:10 INFO: Runtime environment not found - setting defaults
14:39:10 INFO: delete stale docker resource under /var/lib/docker
14:39:10 INFO: delete stale kata resource under /var/lib/vc /run/vc /usr/share/kata-containers /usr/share/defaults/kata-containers
14:39:10 INFO: Remove installed kata packages

At the end:
14:39:38 ERROR: kata-log-parser: no log records to process

But that seems to apply to components I did not touch at all, e.g  proxy or shim.

@GabyCT When testing in a VM locally, I have the same failure. journalctl -xe tells me:
Oct 21 17:18:28 f32-turbo dockerd[20927]: time="2020-10-21T17:18:28.290087228+02:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc42044b940, CONNECTING" module=grpc
Oct 21 17:18:28 f32-turbo dockerd[20927]: time="2020-10-21T17:18:28.290300094+02:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc42044b940, READY" module=grpc
Oct 21 17:18:28 f32-turbo dockerd[20927]: time="2020-10-21T17:18:28.292459046+02:00" level=info msg="[graphdriver] using prior storage driver: overlay2"
Oct 21 17:18:28 f32-turbo dockerd[20927]: time="2020-10-21T17:18:28.549707306+02:00" level=info msg="Graph migration to content-addressability took 0.00 seconds"
Oct 21 17:18:28 f32-turbo dockerd[20927]: time="2020-10-21T17:18:28.550244601+02:00" level=warning msg="Your kernel does not support cgroup memory limit"
Oct 21 17:18:28 f32-turbo dockerd[20927]: time="2020-10-21T17:18:28.550324811+02:00" level=warning msg="Unable to find cpu cgroup in mounts"
Oct 21 17:18:28 f32-turbo dockerd[20927]: time="2020-10-21T17:18:28.550396035+02:00" level=warning msg="Unable to find blkio cgroup in mounts"
Oct 21 17:18:28 f32-turbo dockerd[20927]: time="2020-10-21T17:18:28.550463190+02:00" level=warning msg="Unable to find cpuset cgroup in mounts"
Oct 21 17:18:28 f32-turbo dockerd[20927]: time="2020-10-21T17:18:28.550591721+02:00" level=warning msg="mountpoint for pids not found"
Oct 21 17:18:28 f32-turbo dockerd[20927]: Error starting daemon: Devices cgroup isn't mounted
Oct 21 17:18:28 f32-turbo systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited

This is with a clean Fedora32 VM. Is there some missing cgroup setup in the CI setup script?

@c3d the Fedora 32 CI has docker and it was a custom image where we enable the cgroups to support docker as by defaul it supports podman

@c3d looking the logs of the failures, I see the following

Output of "`/usr/bin/kata-runtime kata-env`":
```toml
Cannot find usable config file (config file "/etc/kata-containers/configuration.toml" unresolvable: file /etc/kata-containers/configuration.toml does not exist, config file "/usr/share/defaults/kata-containers/configuration.toml" unresolvable: file /usr/share/defaults/kata-containers/configuration.toml does not exist)

@GabyCT I'm a bit of a newbie with respect to the CI. I've looked at 3 Jenkins jobs already, did not see that message. Could you give me a link to the log you are looking at?

@c3d no problem, to see the logs what I did was the following

go to the failure job http://jenkins.katacontainers.io/job/kata-metrics-runtime-ubuntu-virtiofs-18-04-PR/131/
go to build artifacts you will find the kata-collect logs and there is where I found the failure

@c3d looking the logs of the failures, I see the following

Output of "`/usr/bin/kata-runtime kata-env`":
```toml
Cannot find usable config file (config file "/etc/kata-containers/configuration.toml" unresolvable: file /etc/kata-containers/configuration.toml does not exist, config file "/usr/share/defaults/kata-containers/configuration.toml" unresolvable: file /usr/share/defaults/kata-containers/configuration.toml does not exist)

@GabyCT I tried that on master as well, I see no difference in behavior here. Are you sure this is the cause of the failure?

@GabyCT While looking at the same logs trying to find something odd, I noticed this:
## version

Output of "` --version`":

/usr/bin/kata-collect-data.sh: line 178: --version: command not found

This seems to come from the `throttlers` variable not being set in https://github.com/kata-containers/runtime/blob/master/data/kata-collect-data.sh.in#L592.  Looks like a bug in the script to me. I'm trying to see if something else in this PR could have caused it indirectly.

@c3d the metrics CI issue has been solved

I just noticed that all the required tests were passing. I was confused because the Jenkins icon is red :-( No wonder I had trouble finding new failures…

/test

I'd like to take a look at this before it is merged.

@amshinde, I've added the do-not-merge label to avoid getting it merged by accident. Please, feel free to remove it once you're done with the reviews.
Also, thanks for taking a look at the series!

@amshinde are you still reviewing this? If you are done, could you please remove the do-not-merge flag?

Pushed a couple of comment-only commits. Revalidating Jenkins tests.
/test

/test

@c3d - This branch is now conflicted (due to #3031 landing). The fix is relatively easy - you'll need to tweak this PR in 2 places I believe:

Update addAnnotations() to deal with the new return value of addAssetAnnotations():
https://github.com/kata-containers/kata-containers/pull/1086/files#diff-bf17dd8525e740a4d01fafbd5f48a42b621cf32540465de2e14c6b15ab1124deL362-R365

Update TestAddAssetAnnotations() to create the fakeAssetFile file:
https://github.com/kata-containers/kata-containers/pull/1086/files#diff-7abc7cc1240550373976626143dcee3341b4630324070be96a7ff13f9aaa1624R662-R693

Related: https://github.com/kata-containers/kata-containers/pull/1086 which already includes the 2.x version of this PR.

@c3d - This branch is now conflicted (due to #3031 landing). The fix is relatively easy - you'll need to tweak this PR in 2 places I believe:

Fix pushed.

@amshinde, are we fine to have this one merged? :-)

@c3d - thanks, but I don't think you updated TestAddAssetAnnotations() as mentioned above? The CI will fail without the 2 changes I mentioned I believe.

@c3d - thanks, but I don't think you updated TestAddAssetAnnotations() as mentioned above? The CI will fail without the 2 changes I mentioned I believe.

Ooops, I must be tired. Did a git push without committing the changes…

/test

@c3d Test TestCheckPathIsInGlobs is failing. Can you take a look?

@c3d Test TestCheckPathIsInGlobs is failing. Can you take a look?

I need to think a bit about this one. Replacing actual paths with a file called fake-binary now fails, and that is correct, since the binary does not exist. That's one difference between glob() and regular expressions. I'm need to re-think the test to work in that new context.

@c3d Test TestCheckPathIsInGlobs is failing. Can you take a look?

I need to think a bit about this one. Replacing actual paths with a file called fake-binary now fails, and that is correct, since the binary does not exist. That's one difference between glob() and regular expressions. I'm need to re-think the test to work in that new context.

I was wrong. That has been taken care of. It is failing for another reason, which is easy to fix.

@c3d - it looks like you may have just missed off the following part of my PR, specifically to set the runtimeConfig.HypervisorConfig.*PathList annotations?:
https://github.com/kata-containers/kata-containers/pull/1086/files#diff-7abc7cc1240550373976626143dcee3341b4630324070be96a7ff13f9aaa1624R726-R733

/test

@fidencio I pushed a rebased version. Let's try to figure out the CI issues.

/test

jenkins-ci-podman-clh-fedora-31
This is the issue happening:

18:18:23 Note: switching to 'v0.11.0'.
18:18:23
18:18:23 You are in 'detached HEAD' state. You can look around, make experimental
18:18:23 changes and commit them, and you can discard any commits you make in this
18:18:23 state without impacting any branches by switching back to a branch.
18:18:23
18:18:23 If you want to create a new branch to retain commits you create, you may
18:18:23 do so (now or later) by using -c with the switch command. Example:
18:18:23
18:18:23   git switch -c <new-branch-name>
18:18:23
18:18:23 Or undo this operation with:
18:18:23
18:18:23   git switch -
18:18:23
18:18:23 Turn off this advice by setting config variable advice.detachedHead to false
18:18:23
18:18:23 HEAD is now at 7dcd3aff build, release-notes.md: Document 0.11.0 release
18:18:23 ./scripts/dev_cli.sh: line 122: docker: command not found
18:18:23 [Cloud Hypervisor] Error pulling container image. Aborting.
18:18:23 Failed at 41: "${GOPATH}/src/${packaging_repo}/static-build/cloud-hypervisor/build-static-clh.sh"
18:18:23 Failed at 54: "${cidir}/install_cloud_hypervisor.sh"
18:18:23 ++ handle_error 69
18:18:23 ++ local exit_code=127
18:18:23 ++ local line_number=69
18:18:23 ++ echo 'Failed at /tmp/jenkins/workspace/kata-containers-runtime-podman-clh-fedora-31-PR/ci_entry_point.sh +69: .ci/jenkins_job_build.sh "${repo_to_test}"'
18:18:23 Failed at /tmp/jenkins/workspace/kata-containers-runtime-podman-clh-fedora-31-PR/ci_entry_point.sh +69: .ci/jenkins_job_build.sh "${repo_to_test}"
18:18:23 ++ exit 127

The issue happens because we don't install docker in this CI (we're testing podman there), but cloud-hypervisor explicitly requires docker: https://github.com/cloud-hypervisor/cloud-hypervisor/blob/master/scripts/dev_cli.sh#L13
Surprises me if this test has ever passed.  There are two ways of solving this issue:

Simply do a  ln -sf /usr/bin/podman /usr/bin/docker on our side;
Teach cloud-hypervisor to deal with podman;

Both are solutions that should be applied, and I'll start with the simple hack on our side.

jenkins-ci-ubuntu-1804-cloud-hypervisor-k8s-e2e-containderd-minimal:

18:31:19 running: sonobuoy run --wait=180 --e2e-focus="ConfigMap should be consumable from pods in volume|InitContainer \[NodeConformance\] should invoke init containers|Kubelet when scheduling a busybox command in a pod should printk|Projected secret should be consumable in multiple volumes|Secrets should be consumable via the environment|\[sig-storage\] Downward API volume should update annotations on modification \[NodeConformance\] \[Conformance\]"
18:31:19 time="2020-11-10T17:31:19Z" level=info msg="created object" name=sonobuoy namespace= resource=namespaces
18:31:19 time="2020-11-10T17:31:19Z" level=info msg="created object" name=sonobuoy-serviceaccount namespace=sonobuoy resource=serviceaccounts
18:31:19 time="2020-11-10T17:31:19Z" level=info msg="created object" name=sonobuoy-serviceaccount-sonobuoy namespace= resource=clusterrolebindings
18:31:19 time="2020-11-10T17:31:19Z" level=info msg="created object" name=sonobuoy-serviceaccount-sonobuoy namespace= resource=clusterroles
18:31:19 time="2020-11-10T17:31:19Z" level=info msg="created object" name=sonobuoy-config-cm namespace=sonobuoy resource=configmaps
18:31:19 time="2020-11-10T17:31:19Z" level=info msg="created object" name=sonobuoy-plugins-cm namespace=sonobuoy resource=configmaps
18:31:20 time="2020-11-10T17:31:20Z" level=info msg="created object" name=sonobuoy namespace=sonobuoy resource=pods
18:31:20 time="2020-11-10T17:31:20Z" level=info msg="created object" name=sonobuoy-master namespace=sonobuoy resource=services
18:36:20 Build timed out (after 5 minutes). Marking the build as aborted.
18:36:20 Build was aborted

@amshinde, @jcvenegas, @devimc, have you seen this one before? Any tip of what it may be related to?

jenkins-ci-Power8-ubuntu-18-04-initrd:

Install os-tree
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details

@bpradipt, @Amulyam24 @clnperez, @jing-wang4, do you have some idea of what may be the issue here?

jenkins-ci-opensuse-15
Failing while performing a yum update due to:

error: unpacking of archive failed on file /usr/bin/newgidmap;5faad0a7: cpio: cap_set_file failed - Inappropriate ioctl for device
error: shadow-utils-2:4.6-9.fc30.x86_64: install failed

This is our good and old issue about not having -o xattrs passed to virtiofsd.
My suggestion is to always add that to our CI, regardless of the security implications, till we have a proper fix upstream.  By doing this we'll be able to unblock CI.

jenkins-ubuntu-18-04-vfio:
@devimc, I'm not capable to look at the errors and figure out whether it's expected or not. May I borrow your brain on this one? :-)

vfio CI failed testing clh, restarting CI

@fidencio You are right that the jenkins-ci-podman-clh-fedora-31 CI is an known issue (https://github.com/kata-containers/ci/issues/340).  I think we are fine to move on with this CI failure as it is unrelated to this PR. (@jcvenegas had a similar idea as your solution 1 and was experimenting it in a debugging PR https://github.com/kata-containers/tests/pull/2922)
Also, I noticed the other two clh failing CIs were both passing yesterday: clh-k8s-containerd job #159 and clh-k8s-e2e-containerd-mini job #164. So I just restarted those two CI jobs to see whether we got sporadic failures.

for Firecracker, most of the CI has passed, but failed at the last step at :
END OF POST BUILD TASK : 0
Archiving artifacts
ERROR: Step ‘Archive the artifacts’ aborted due to exception:
java.io.IOException: No space left on device

We can ignore this as this is an unrelated error. @chavafg Have you seen this before?

jenkins-ci-ubuntu-1804-cloudhypervisor-docker:

19:28:55 POST BUILD TASK : FAILURE
19:28:55 END OF POST BUILD TASK : 0
19:28:55 Archiving artifacts
19:29:00 ERROR: Step ‘Archive the artifacts’ aborted due to exception:
19:29:00 java.io.IOException: No space left on device
19:29:00 	at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
19:29:00 	at sun.nio.ch.FileDispatcherImpl.write(FileDispatcherImpl.java:60)
19:29:00 	at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
19:29:00 	at sun.nio.ch.IOUtil.write(IOUtil.java:65)
19:29:00 	at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:211)
19:29:00 	at java.nio.channels.Channels.writeFullyImpl(Channels.java:78)
19:29:00 	at java.nio.channels.Channels.writeFully(Channels.java:101)
19:29:00 	at java.nio.channels.Channels.access$000(Channels.java:61)

Same error as the one for firecracker.

jenkins-ci-ubuntu-18-04-inited:
There are a bunch of failures there, including the "No space left on device", seen on both Firecracker and CLH-docker CIs.

@c3d Can you backport this PR to stable 1.12 as well?

I restarted
jenkins-ci-ubuntu-1804-cloud-hypervisor-k8s-e2e-containerd-minimal job started by Fabiano, instead of the latest run. That has passed but the status not yet reported here.
Ci run that passed:
http://jenkins.katacontainers.io/job/kata-containers-runtime-ubuntu-PR-cloud-hypeprvisor-k8s-e2e-containerd-minimal/174/
Finally vfio failure is unrelated and will be fixed with : https://github.com/kata-containers/tests/pull/3044
I think this PR is good to go, would like to see this backported to 1.12.

@amshinde @fidencio All required CIs are passing, and the PR is ready to go. Besides the known issue on podman-clh-fedora-31, do we want to land the PR with the failures on opensuse-15 and Power8-ubuntu-18-04-initrd?


⚠ ClamAV has degraded performance

In 8878879, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 82 ms

Resolved: ClamAV performance has improved in 7a04e98.


Copy trace as cURL snippet

Ability to write to the clipboard the curl command to reproduce the trace.
Can use https://github.com/albertodeago/curl-generator to generate the cURL command

Done in #90


I need to hit the "run" button several times(or hit Enter several times) to get the printed result.

Description of your problem
When I try to run a simple py script by click the "run" button on the toolbar, I see no response, but I have to click the "run" button again to see the result of the first run.
What steps will reproduce the problem?

Open the spyder, and create a simple file, which is located in E:\download\sci\WinPython-64bit-<IP_ADDRESS>Qt5\notebooks\untitled0.py, then type some script such as print(3)
Click the "run" button(suppose I use the Python console), I get the Python console like this:

>>> runfile('E:/download/sci/WinPython-64bit-<IP_ADDRESS>Qt5/notebooks/untitled0.py', wdir='E:/download/sci/WinPython-64bit-<IP_ADDRESS>Qt5/notebooks')
>>>

Then you can see 3 is not printed.
3.  I have to click on the run button again, so that the console becomes like:
>>> runfile('E:/download/sci/WinPython-64bit-<IP_ADDRESS>Qt5/notebooks/untitled0.py', wdir='E:/download/sci/WinPython-64bit-<IP_ADDRESS>Qt5/notebooks')
>>> runfile('E:/download/sci/WinPython-64bit-<IP_ADDRESS>Qt5/notebooks/untitled0.py', wdir='E:/download/sci/WinPython-64bit-<IP_ADDRESS>Qt5/notebooks')
>>>

so, there is no result again.
4, I have to type Enter several times in the Python console, and I get the result like below
>>> runfile('E:/download/sci/WinPython-64bit-<IP_ADDRESS>Qt5/notebooks/untitled0.py', wdir='E:/download/sci/WinPython-64bit-<IP_ADDRESS>Qt5/notebooks')
>>> runfile('E:/download/sci/WinPython-64bit-<IP_ADDRESS>Qt5/notebooks/untitled0.py', wdir='E:/download/sci/WinPython-64bit-<IP_ADDRESS>Qt5/notebooks')
>>>
>>>
>>>
>>>
>>>

3
>>>

3
>>>

What is the expected output? What do you see instead?
I expect when I click the run button, I should gives such result
>>> runfile('E:/download/sci/WinPython-64bit-<IP_ADDRESS>Qt5/notebooks/untitled0.py', wdir='E:/download/sci/WinPython-64bit-<IP_ADDRESS>Qt5/notebooks')
3
>>>

I mean the user prompt should return to the user, so I can type other command or click to run the command again.
Please provide any additional information below
This happens in Anoconda python 3.4, python 3.5 version, or Winpython 3.4 or Winpython3.5.
Versions and main components

Spyder Version: 3.1.2
Python Version: 3.4 or 3.5
Qt Version: installed by the above distributions (either anoconda or winpython)
PyQt Version: installed by the above distributions (either anoconda or winpython)
Operating system: Win7 64bit

Dependencies
Please go to the menu entry Help > Optional Dependencies (or
Help > Dependencies), press the button Copy to clipboard
and paste the contents below:
jedi >=0.8.1     :  0.9.0 (OK)
matplotlib >=1.0 :  2.0.0 (OK)
nbconvert >=4.0  :  5.1.1 (OK)
numpy >=1.7      :  1.11.3 (OK)
pandas >=0.13.1  :  0.19.2 (OK)
pep8 >=0.6       :  1.7.0 (OK)
pyflakes >=0.6.0 :  1.5.0 (OK)
pygments >=2.0   :  2.1.3 (OK)
pylint >=0.25    :  1.6.5 (OK)
qtconsole >=4.2.0:  4.2.1 (OK)
rope >=0.9.4     :  0.9.4-1 (OK)
sphinx >=0.6.6   :  1.5.1 (OK)
sympy >=0.7.3    :  1.0 (OK)

BTW: does this a pipe synchronized issue? Because I think spyder should read the returned value from the Python console, but it looks like the returned value is not shown on the spyder, maybe it is cached?
My "Run setting" is: Execute in current Python or IPython.

The tricky thing is: it looks like this may cause by a long file name or a file name with a - (dash or hyphen) in a file path.
For example, I restart Spyder, and then I open a simple file which is located under E:/, then I don't see this issue. Here is the log
>>> runfile('E:/a.py', wdir='E:')
3
>>> runfile('E:/a.py', wdir='E:')
3
>>> runfile('E:/a.py', wdir='E:')
3
>>> runfile('E:/a.py', wdir='E:')
3
>>> runfile('E:/a.py', wdir='E:')
3
>>> runfile('E:/a.py', wdir='E:')
3
>>>

This is: each time I hit the run button, I get the expected result quickly return from the Python console.
So, do you think this is an issue with how Python or Spyder handle file path?

Thanks for reporting. This is a known bug with the Python console, and unfortunately we don't know how to fix it.
Because of this (and other similar errors) we decided to remove the Python console in Spyder 3.2. So please start to migrate your work to the IPython console.

@ccordoba12  thanks for the quick response. But the bad thing is: It looks like debugging the program under IPython works quite badly. I can't add now breakpoints or remove breakpoints when I debugged under IPython, but under Python console, adding bp or removing bp works OK. Any workaround about this breakpoint issue? Does it will be fixed in the Spyder 3.2?

Does it will be fixed in the Spyder 3.2?

Yes, we'll fix that, and I think we could do it for our next release (i.e. 3.1.3). Could you open a new bug about that so we don't forget to do it? Thanks!

OK, so I can't wait for the 3.13. It looks like this bug is already reported #3476, see here New breakpoints can't be created in the IPython console · Issue #3476 · spyder-ide/spyder

Ohh, great. Thanks for reminding me about it :-)

Does the fix already arrived in the git master? So I can try it on my WinPython or Anaconda system.

Nop, not yet. But we plan to release 3.1.3 next week.

OK, so I can wait for the fix, then I will switch back to use IPython console again. Thanks.

:+1:


Failing to build IOS

The following build commands failed:
CodeSign /Users/vipulsharma/Library/CloudStorage/OneDrive-BajajFinanceLimited/Desktop/HRx_portal/HRx_portal/ios/build/Build/Products/Debug-iphonesimulator/VoipNotification\ UAT.appex (in target 'VoipNotification UAT' from project 'HrxMobileApp')
(1 failure)
Error: Command failed with exit code 65: xcodebuild -workspace ios/HrxMobileApp.xcworkspace -scheme HrxMobileAppUAT -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build
at makeError (/Users/vipulsharma/Library/CloudStorage/OneDrive-BajajFinanceLimited/Desktop/HRx_portal/HRx_portal/node_modules/react-native-owl/node_modules/execa/lib/error.js:60:11)
at handlePromise (/Users/vipulsharma/Library/CloudStorage/OneDrive-BajajFinanceLimited/Desktop/HRx_portal/HRx_portal/node_modules/react-native-owl/node_modules/execa/index.js:118:26)
at processTicksAndRejections (internal/process/task_queues.js:95:5) {
shortMessage: 'Command failed with exit code 65: xcodebuild -workspace ios/HrxMobileApp.xcworkspace -scheme HrxMobileAppUAT -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build',
command: 'xcodebuild -workspace ios/HrxMobileApp.xcworkspace -scheme HrxMobileAppUAT -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build',
escapedCommand: 'xcodebuild -workspace "ios/HrxMobileApp.xcworkspace" -scheme HrxMobileAppUAT -configuration Debug -sdk iphonesimulator -derivedDataPath "ios/build"',
exitCode: 65,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: undefined,
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
Specify --help for available options
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I am also seeing the same issue, my project uses React Native version - 0.71.2
is it yet supported ?

I've just tested react-native-owl on React-Native 0.71 and the build works fine.
I am running into an issue running the jest tests on my example, but that is a separate issue from the one reported here.

Thanks for the update. There might be some other issue then.


ship with boost preprocessor headers

requiring boost inflates mercrury's dependencies (consider the case of creating a docker image).   If mercury shipped with and installed the boost preprocessor headers, we could skip the boost dependency and save hundreds of megabytes.  boost is also lengthy to compile, so being able to skip the boost dependency would speed up spack install mercury, too.
The boost tool 'bcp' can package up the headers for it: for example
bcp preprocessor --boost=/sandbox/robl/boost_1_66_0/ src/boost

FYI, here's what I see if I try this on an Ubuntu machine:
pcarns@carns-x1:~$ mkdir /tmp/test
pcarns@carns-x1:~$ bcp preprocessor --boost=/usr/include /tmp/test |wc
    269     807   14463
pcarns@carns-x1:~$ du -sh /tmp/test
3.3M	/tmp/test

It's 3 MB of stuff.  It is purely .hpp files, though (starting with boost/preprocessor.hpp as the umbrella header, which is included by mercury_macros.h).

I was also looking at it on my fedora machine but somehow they do not ship boost with the bcp command...

On Ubuntu I had to install libboost-tools-dev to get the bcp command.

Yeah somehow they don't seem to ship that in fedora, I'm not really sure why... maybe because it requires the sources?

I was comparing the headers with what gets shipped in the distro and it's exactly the same so I don't think we even need to use the bcp tool...

Is this bundling really appropriate for a "production" level release?  How would this co-operate on a system that otherwise needs boost-devel installed, say, to build other software that needs boost?
Is there a cmake switch to disable this bundling of boost?

Right MERCURY_USE_SYSTEM_BOOST is the way to go.


[BUG] Bug in NextVit reparameterize

Describe the bug
When I do reparameterize the model NextViT for onnx export, it returns the error: self.norm(x). None Object is not callable.
I believe line 200 of file https://github.com/huggingface/pytorch-image-models/blob/main/timm/models/nextvit.py
should be
self.norm = nn.Identity() instead of self.norm = None

@chuong98 yeah, that's wrong, but also there is an issue wrt to checking for None vs isinstance(nn.Identity()) .. need look through it more closely


add support to stylelint 16.0.0

Please support stylelint 16.0.0, the big one
Now the code is in ESM instead of CommonJS
Very good
Stylelint team published docs to know how to migrate with ease.
No need to keep support to commons from now on.
Style lint 16 is not allowed in your package.json. remove this restriction to

Error: Cannot find module '/Users/JounQin/Workspaces/GitHub/lib-boilerplate/node_modules/stylelint/lib/utils/declarationValueIndex'
    at createEsmNotFoundErr (node:internal/modules/cjs/loader:1181:15)
    at finalizeEsmResolution (node:internal/modules/cjs/loader:1169:15)
    at resolveExports (node:internal/modules/cjs/loader:591:14)
    at Module._findPath (node:internal/modules/cjs/loader:668:31)
    at Module._resolveFilename (node:internal/modules/cjs/loader:1130:27)
    at Module._load (node:internal/modules/cjs/loader:985:27)
    at Module.require (node:internal/modules/cjs/loader:1235:19)
    at require (node:internal/modules/helpers:176:18)
    at Object.<anonymous> (/Users/JounQin/Workspaces/GitHub/lib-boilerplate/node_modules/stylelint-high-performance-animation/index.js:3:31)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)

Looks like a new version is needed!

New version out: https://github.com/kristerkari/stylelint-high-performance-animation/releases/tag/v1.10.0


Registering templated classes?

What's the best way of registering something like an STL container? Do you just use Object as the types of the container?

This library is still under heavy development. Currently, it doesn't support registering templated classes. You can check the official addons of AngelScript (e.g. script array) to see how to register a templated class.


WinApp driver performance is too slow when loading a list of 500 items.

Hello,
I have a scenario where 500 menu items were loaded in a screen. I want to scroll till the last menu item. WinApp driver is freezing and scrolling is not possible. I checked it with the developers, whether the issue is from their side. But it seems the issue is with the WinAppDriver, I opened the inspect tool and it doesn't respond. Do you think it's because of loading 500 UI items.
Does Winapp driver while finding the element during automation use Inspect tool?
If so, then there is an issue with WinApp driver performance.

Hi @gouthamsam,
This is an interesting scenario that we have never tested yet. WinAppDriver does not use the inspect.exe tool as a dependency but it uses the same underlying UI Automation system API underneath. Traversing a complex UI tree with many elements like you described would probably takes time but it shouldn't freeze. Would you provide a simple sample app that you can share that reproduce this behavior?

Can you also confirm if the issue persists on multiple PCs of varying specs?

Hello @timotiusmargo , @hassanuz
Resources:
System 1:
WinApp Driver V1.0
Microsoft Windows 10 Enterprise Edition Version 1703.
RAM: 64 GB.
Core i7 processor
System2:
WinApp Driver V1.0
Microsoft Windows 10 Enterprise Edition Version 1703.
RAM: 32 GB.
Core i7 processor
please download the Honeywell Movilizer app from the Microsoft store
https://www.microsoft.com/store/apps/9NJ81PQ37CN4
Login details:
Id : +999512
Password : 1
Test Scenario:

Wait till the client synchronization is done.
Note : Open Inspect.exe tool
Click on Client Capabilities/Features/Customizing.
Now click on TC167: Icon in front of option text.
Click on 1 - Menu.
Inspect tool doesn't respond.
Manually I can open the Menu items and scroll till the last item.
But when I automate, it doesn't work.
WinApp Driver freezes.

Issue persists on different PCs.
I can strongly say that tests are running very slow. WinApp driver performance is not that good as compared with Appium driver for Android and iOS.
Try to address this issue.
Regards,
Sam

any update on above issue? I am also facing this issue.

I believe the main culprit is when win app driver or the automation com hits the grid, it has to grab every row and column which causes a freeze / delay for a matter of minutes depending on the # of records.  (200 records for me is about 59 seconds).  I'll see if i can create a good sample using the automation COM and win app driver to see if the WinApp team can give us a page source per row instead of every column in each row ( if that's even doable)

Any workaround for make the WinDriver initialization faster?

Hi, I have the same problem. We are using latest release version 1.1. In case I open data grid in our application with more than 200 rows, it takes to more than 2 minutes to find element on the bottom.
<window @name='DataGrid'>      <controlPane>          -------- here is 200 of data rows -------      </controlPane>      <titleBar @AutomationId='TitleBar'>          ------- this bar I want to find -------      </titleBar> </window>
My locator: //[@Name='DataGrid']//[@AutomationId='TitleBar']. It takes more than 2 minutes. Maybe I can to speed it up with definition of element types, but anyway, this performance is horrible. In case there are no hundreds of elements, it goes fast, but still it's 10 times slower than WebDriver or AppiumDriver...

Here is a sample between WinAppDriver and UiAutomationCOM on a .NET DataGridView with 1000 records.
WinAppDriver:
Form Found: 0.102021~
Row 1000 Found: 26.9488513~
UiAutomationCOM:
Form Found: 0.0540125~
Row 1000 Found: 2.8856485~
https://github.com/clintmasden/WinAppDriver/tree/investigate.GridPerformance

Hi @timotiusmargo timotiusmargo has there been any progress on this?

Same issue... We definitely need a performance boost!

Any update on this? I'm facing the same issue.

I am facing the same issue While running a batch of even 30 test cases took more than 3 hours of time. One interesting thing which I observed is that when I run it via maven bat file it is most of the times very sluggish but when I run the testng.xml directly "Run as TestNg" it improves the performance to an extent but not feasible all the times as I have multiple testng suite file. Its highly needed to improve the overall response time of Winappdriver.


Draw loaded svg at given position and size

I am new to Snap, trying to get to know the features. I have a standard SVG tag:
<svg id="snaptest" viewBox="0 0 100 100" width="400" height="400" version="1.1" xmlns="http://www.w3.org/2000/svg">
</svg>

Then I want to use Snap to load an external SVG into this one. Regardless of the size of the external SVG, I want it to be rendered at a given user unit position in the main SVG, like at viewBox position 25 25. And I want to render it at 10x10 user units. So, it will render from x/y position 20-20 to 30-30 (or 80-80 to 120-120 in pixel position).
var svg = Snap("#snaptest");

Snap.load("external.svg", function (f) {
    svg.append(f);
});

You may need to do something like load it in (but not append, or append offscreen or hidden), find its bounding box (ie getBBox) and then append to a group element, and place a transform on the group (or amend the viewBox) corresponding to the previous bounding box discovered.


Inject global job parameters

Enable job parameters to be set on project side.
Can be use to defined default parameters values.
Add a new command: bzk project env
Usage: bzk project env  COMMAND [arg...]

View or modify a bazooka project environment variable

Commands:
  list         List project environment variables
  get          Get a specific project environment variable
  set          Set a specific project environment variable
  unset        Delete a specific project configuration key

bzk project env my-project A 5 sets the default value of A to 5 for the project my-project. This value is used if a job is started without specify a value for A.
Permutation is not yet possible (wip, it'll come on another PR). Permutations can only be generated by using bzk job start command.

Tested, LGTM

Just so we don't forget, we agreed with @haklop that project env should be multivalued, i.g:
bzk project env set GOMAXPROCS 1 2 3 4

And don't forget to update the doc to explain the 3 override levels: bazooka.yml -> project env -> job parameters.


codal_port/ticks_cpu: Check CoreDebug DEMCR trace enable bit.

The DAPLink controlled reset button performs a target reset via SWD, and the CoreDebug trace enable  bit seems to be cleared while the DWT->CTRL cycle count enable bit is not.
Fixes https://github.com/microbit-foundation/micropython-microbit-v2/issues/179#issuecomment-2059077656.

Nice find!  I tested this and it fixes the issue.


Traffic control V1

@mcdaniel67 Nice work on this. You can go ahead an submit a second iteration with these small changes. You should be good to go after that.


Error when defining extra.nav_bar following instructions

Beautiful beautiful theme, loving the colors and style :heart:
Instruction followed :
here
Error :
Reason: Variable `nav_item[lang]` not found in context while rendering 'header.html': the evaluated version was `nav_item."en"`. Maybe the index is out of bounds?
Description
I believe the following in theme/anemone/config.toml must be added to/adapted when the header must be added.
[[extra.header_nav]]
en = { name = "/home/", url = "/" }
fr = { name = "/accueil/", url = "/fr" }

[[extra.header_nav]]
en = { name = "/about/", url = "/about" }
fr = { name = "/concernant/", url = "/about" }

[[extra.header_nav]]
en = { name = "/journal/", url = "/journal" }
fr = { name = "/journal/", url = "/journal" }

[[extra.header_nav]]
en = { name = "/blog/", url = "/blog" }
fr = { name = "/blog/", url = "/blog" }

Work Around
copy and adapt this in your config.toml

Thank you for your kind words! 🤗 I've already updated the configuration in the GitHub README, and the config.toml However, please the update process for the Zola website README isn't automatic. I plan to request the Zola team to update the page, but I'm waiting for everything to be somewhat pristine before proceeding.

Perfect then ! :grin:


Reference for micro-sd

Hello,
Do you have any reference for the micro-sd part ?
Thank you !

Hello,
Definitely yes - https://github.com/snakeye/eagle-lib/blob/master/micro-sd.lbr https://github.com/snakeye/eagle-lib/blob/master/micro-sd.lbr
--
With best regards,
Andrey Ovcharov

On 6 Jun 2018, at 17:50, Jerome Martin<EMAIL_ADDRESS>wrote:
Hello,
Do you have any reference for the micro-sd part ?
Thank you !
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/snakeye/eagle-lib/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AByXePNiqj6aPYlPqOIaE_lsntULyKp3ks5t5_pEgaJpZM4Uc6Vg.

Do you have a manufacturer or distributor reference (like Digikey or mouser) ?
Thank you.

Sorry, no. I wanted to send you a pic of the device but could not find it.
On Fri, Jun 8, 2018 at 10:03 AM Jerome Martin<EMAIL_ADDRESS>wrote:

Do you have a manufacturer or distributor reference (like Digikey or
mouser) ?
Thank you.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/snakeye/eagle-lib/issues/1#issuecomment-395682467,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AByXeKtUdg31DCWqykfxUfnfBJ-YxTM_ks5t6i_HgaJpZM4Uc6Vg
.

--
With best regards,
Andrey Ovcharov

I made a PCB with this part, and I can't find any component that fits :'(
Did you base your design on a datasheet at least ?

I have found the design somewhere in the net but I've built a device using it.
Luckily I've found a pic of completed board in my archives:

Looks like it's something like this one: https://www.aliexpress.com/item/New-products-20pcs-TF-card-slot-plug-in-Micro-sd-card-socket-and-ROHS-free-shipping/32648953947.html


What happens to cancelled generator functions? No leaks?

I never use generator functions, see maybe I missed didn't. But when you abort, what happens to the function that was waiting in the yield statement? Does it stay waiting on that indefinitely and therefore leak memory?

Or when the generator handler inside CAF loses the reference to the iterator then this allows the gen func to be collected?

generator instances are held by the iterators. CAF holds the iterator, but once it completes or is canceled, CAF drops the reference to the iterator, which should then have it (and the associated generator instance) easily GC'd.


Post an .exe please, not everyome knows how to compile...

Post an .exe please, not everyome knows how to compile...

There are compiled versions in the release tab...

See the Releases section:
https://github.com/Gluschenko/UnityDarkSkin/releases


[Bug] I have some problem with 18th century gifting lantern I've collected 472 points, but I can't fill the score after that. What should I do?

UI or Mechanical Bug?
Is this a user Interface bug or a mechanical/operational bug?
Describe the bug
A clear and concise description of what the bug is.
Was there an error dialogue for this bug? If so please provide a screenshot/its contents here
[Error dialog if applicable]
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Launcher Logs
Please upload the logs from your launcher either here, or on a site such as pastebin.
You can find the logs in the "logs" folder in the "Config/Log Folder". Use the button in the Settings menu in launcher to find the folder.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

This is not the place to report bugs for creators.tf server content. Launcher bugs only.
You need to report this properly on our discord server:

This is not the place to report bugs for creators.tf server content. Launcher bugs only.
You need to report this properly on our discord server:


[Improvement][task-plugin] Add progress log during hive SQL execution

[Improvement-#9680][task-plugin]  add hive sql log listener, print MapReduce progress log and obtain application_id allows developers to better track tasks
close #9680

Thanks for your contribution @fengjian1129 , please check the failed CI.


column header "Max network bandwidth (Mbps)" is incomplete and incorrect

The column header of "Max network bandwidth (Mbps)" on each of the tables with VM type specifications must be corrected to instead read "Max network egress bandwidth (Mbps)", or something similar which includes the key word "egress".
The second paragraph of the documentation at "https://learn.microsoft.com/en-us/azure/virtual-network/virtual-machine-network-throughput" clarifies that "network bandwidth allocated to each virtual machine is metered on egress (outbound) traffic from the virtual machine".
This is important information for customers, and must be corrected as soon as possible, because the mistake presents a misconception that total (read and write) network bandwidth is being metered and limited, and that leads to confusion, distrust, and bad decisions.
FYI:  this is true across all the doc pages with tables specifying VM instance types, and I will try to submit feedback for several pages, but I don't expect to have time to submit for all pages.  Please know that these corrections must be made universally, and not just on this page alone?

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

ID: 06761944-b658-9f22-05f4-f27a418a0221
Version Independent ID: 8337da04-705d-a72e-6d75-b0b52c80195b
Content: Dv5 and Dsv5-series - Azure Virtual Machines
Content Source: articles/virtual-machines/dv5-dsv5-series.md
Service: virtual-machines
Sub-service: sizes
GitHub Login: @andysports8
Microsoft Alias: shuji

@tigormanmsft
Thanks for your feedback!
We are going to close this thread as Duplicate of https://github.com/MicrosoftDocs/azure-docs/issues/114568.


Flow frequently lagging, showing old status and needs restarting

OS: Manjaro 17.02
Kernel: 4.9.33-1-MANJARO
Flow: v0.48.0
Node: v8.1.1
NPM: 5.0.3
Editor: Visual Studio Code v1.13.1
Plugin for Flow support in the editor: Flow Language Support
package.json script for flow:  "flow": "flow"
Hi. I'm using Flow in my projects and it's great, but I sometimes need to restart the flow by running npm run flow stop and npm run flow status(once it didn't even let me stop the server).
The reason I need to restart Flow is because it sometimes doesn't update it's status after I save a file, which is pretty annoying.
Here is a recent code that required restarting the flow server after saving the file:
// @flow

class someclass {
    login: string;
    password: string;
    token: string;
}

export default someclass;

The output of npm run flow status for this was:
><EMAIL_ADDRESS>flow /home/xerq/Documents/Projects/Free/somefolder-back
> flow

src/lib/somefolder/index.js:4
  4:     login: string;
                      ^ Unexpected token ,

To fix this I can also just wait few minutes and the status will finally update.
The status is the same in Visual Studio Code as when running npm run flow status.
Also some thing that may help:
My devDependencies in package.json:
"devDependencies": {
    "babel-cli": "^6.24.1",
    "babel-eslint": "^7.2.3",
    "babel-plugin-transform-runtime": "^6.23.0",
    "babel-preset-es2015": "^6.24.1",
    "babel-preset-es2016": "^6.24.1",
    "babel-preset-es2017": "^6.24.1",
    "babel-preset-flow": "^6.23.0",
    "chai": "^4.0.2",
    "eslint": "^3.19.0",
    "eslint-plugin-flowtype": "^2.34.0",
    "flow-bin": "^0.48.0",
    "mocha": "^3.4.2",
    "nodemon": "^1.11.0"
  },

.eslintrc.json:
{
    "env": {
        "node": true,
        "commonjs": true,
        "mocha": true,
        "es6": true
    },
    "extends": [
        "eslint:recommended",
        "plugin:flowtype/recommended"
    ],
    "parser": "babel-eslint",
    "parserOptions": {
        "ecmaVersion": 8,
        "sourceType": "module"
    },
    "plugins": [
        "flowtype"
    ],
    "rules": {
        "indent": [
            "error",
            4,
            {
                "SwitchCase": 1
            }
        ],
        "linebreak-style": [
            "error",
            "unix"
        ],
        "quotes": [
            "error",
            "double"
        ],
        "semi": [
            "error",
            "always"
        ],
        "no-console": "off",
        "no-var": "error",
        "space-before-blocks": "error",
        "arrow-spacing": "error",
        "keyword-spacing": "error",
        "brace-style": ["error", "stroustrup"]
    }
}

.babelrc:
{
    "presets": ["es2015", "es2016", "es2017", "flow"],
    "plugins": ["transform-runtime"]
}

Code that the  flow status was originally(before changing to correct) showing error of:
// @flow

class someclass {
    login: string,
    password: string,
    token: string
}

export default someclass;

I have discovered that it runs much better if I run the npm run flow server with sudo.
I had similar issue with nodemon, which I also solved by running the command with sudo. The error of nodemon was:
[nodemon] Internal watch failed: watch /home/xerq/Documents/Projects/Free/somefolder ENOSPC

I googled ENOSPC and it means that there is no enough space left on the drive. But there is. All my partitions have at least few GBs of free space.

@xerq check this issue (and my last comment there) out for a potentially better solution: https://github.com/facebook/flow/issues/1491

@tempname11 thanks, but apparently that doesn't work for me. The sudo method seems to work pretty well though.

i've found this might be related to exhausting the inotify resources on linux which is limited for a user vs root
on ubuntu you can change your /etc/sysctl.conf
fs.inotify.max_user_watches = 32768 (originally 8126)

This was likely fixed a while ago.


Install Gazebo in tutorial image Dockerfile

Description
This is the equivalent of https://github.com/moveit/moveit2_tutorials/pull/937, but for this repo. Should hopefully make CI green.
Checklist

[x] Required by CI: Code is auto formatted using clang-format
[x] Extend the tutorials / documentation reference
[x] Document API changes relevant to the user in the MIGRATION.md notes
[x] Create tests, which fail without this PR reference
[x] Include a screenshot if changing a GUI
[x] While waiting for someone to review your request, please help review another open pull request to support the maintainers

Hmm... seems like the gz_plugin_vendor package is only available on Jazzy and Rolling, so it's only going to fix it for that.


Memory leak fix on windows in grpc_tcp_create()

There's a memory leak in grpc/src/core/lib/iomgr/tcp_windows.cc.
A grpc_tcp struct is allocated and immediately after initialized to zero with a call to memset. This causes a memory leak since two members in that struct are std::string's(peer_string and local_address) and in my case, with Visual Studio 2017, std::string allocates a capacity in the constructor which gets overwritten by the memset.
In any case it's an error using memset with non POD data types.

@veblush

This looks good to me, but unfortunately, we can't accept this PR until you've signed the CLA as mentioned above. Would you mind doing so?

/easycla

/easycla

@perjoh ping on signing the CLA

Sorry for the delay. I have signed the agreement but for some reason the commit seems to have another account associated with it. I can't see any references to that account in my repo so I'm at a loss to what is going on.

Sorry for the delay. I have signed the agreement but for some reason the commit seems to have another account associated with it. I can't see any references to that account in my repo so I'm at a loss to what is going on.

Does the e-mail address in commit detail (see git log) match the email address associated with your github account? (AFAIK it needs to)

It would be good to revive this PR and

resolve conflicts with master (seems trivial)
resolve the concern about initialization of fields in grpc_tcp


Unable to load package with ArcGIS Webpack Plugin

Hi @nickcam , Thank you very much for continuous support for this incredible library. I am trying to use this package with ArcGIS Webpack plugin. but I am getting following error:
Uncaught ReferenceError: exports is not defined
    at Module fcl/FlareCluster.js (FlareClusterLayer_v4.ts:1)
    at __webpack_require__ (bootstrap:63)
...

I am trying to load compiled version (javascript) of package using dojoConfig Method. but this is not working. any guidance will be helpful in such case.

Hi @nickcam Thanks for quick reply.  About the error message :

One thing that stands out in that error message is the file name - FlareCluster.js

I think that is due to sourcemap of compiled version is pointing to FlareClusterLayer_v4.ts file ?

Yeah FlareCluster.js seems weird though...it shouldn't be called that I don't think...but maybe webpack is doing something to it??
Anyway, I think you're best bet is to ask in the arcgis webpack repo. I'm not across the details of how it works.

Thanks I've asked https://github.com/Esri/arcgis-webpack-plugin/issues/101 . adding here for future reference.


⚠ Turnos 24x7 has degraded performance

In 0e01ec5, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 962 ms

Resolved: Turnos 24x7 performance has improved in 2aa99c7.


mocap/pose only updating position in local_position/pose .. orientation data wrong. Seems to be firmware problem.

I am using an odroid with ubuntu 14.04 server running mavros to talk to my pixhawk running the px4 firmware. I can update the the pixhawk's local position correctly using the mocap topic however the orientation data is not updating and I find my drone cannot hold its yaw orientation with a slow drift over time.
The mocap and local pos topics are shown below.
I have the ATT_EXT_HDG_M parameter set to 2 and everything else going into the ekf set to 0 other than mocap. I tried setting ATT_EXT_HDG_M to 1 and using the vision topic instead but had the same result.
Is this normal behavior?

Hi, I have also experienced this issue. It is because there is a feedback loop. You use the IMU to determine your orientation, then you do something to it (transform it or offset it), and you send it back to the IMU. The attitude q estimator then uses this to update the IMU, and so on. The attitude q estimator did not, however, update the /mavros/imu/data_raw or /mavros/imu/mag, so on your own computer, you can run imu_filter_madgwick and then there is no more drift. This at least worked for me.

Another thing to check, you might want to double check the Mocap data you are sending to Mavros. As the old very recently deprecated docs say (had to use Google cache to get that info back, link here):

You need to send targets in ENU frame (ROS standard) which mavros internally converts to NED (PX4 standard) for sending to the flight controller.

Also what mocap system are you using?


Missing import for auto dark mode, fixes #337

The background rendered properly if dark mode was specified explicitly in the config.toml, but not if the config.toml specified auto mode and then dark mode was chosen by the client.

This is awaiting approval from @victoriadrake


ignoring UNTR extension

Hello,
Why usually after loading the dotfile script the terminal informing me "ignoring UNTR extension"?!
also if I typed any other command also get the same alert "ignoring UNTR extension"
ignoring UNTR extension

Looks like this comes from Git.
https://github.com/git/git/blob/master/read-cache.c#L41


Feature: (angular) Add Signal support for Angular projects

Describe the rule
It would be nice to introduce support for Signals as this is currently not provided. When custom sorting is specified it does not take into account whether the given property has been initialized before being referenced.
Code example
The sorting by name has been executed.
However since #languages references #selectedLanguageIds the code won't run in this case despite the sorting being correct.
  #languages = signal<AddLanguage[]>(
    this.#languagesStore.languages().map((language: Language) => ({
      ...language,
      isSelected: this.#selectedLanguageIds().includes(language.id),
      translatedLang: this.#translocoService.translate(`LANGUAGES.${language.lang}`),
    })),
  );

  #selectedLanguageIds = computed(() => {
    const transformedDocuments = this.#documentsListStore.transformedDocuments();
    const selectedDocument = transformedDocuments.find((document) => document.id === this.#dialogData.documentId);

    return selectedDocument?.languages.map((language) => language.id) ??
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

Hi @bencebkiss.
The issue comes from the fact that dependencies are currently not detected with #members. This will be fixed in v4.0.0.

@bencebkiss You may keep this issue opened until the version is released 😁

Added in 0cf84aef8fd8a33d843e4be445aaa4896e519b67.
Released in v4.0.0.
If you'd like, you can support the release with a retweet:
https://x.com/azat_io_en/status/1858853714238271530


[DOC]: DFP Starter Example README.md Needs to be Updated

How would you describe the priority of this documentation request
High
Please provide a link or source to the relevant docs
https://github.com/nv-morpheus/Morpheus/blob/branch-24.06/examples/digital_fingerprinting/starter/README.md
Describe the problems in the documentation
In this file there are 3 given examples for the DFP pipeline which includes cloudtrail, azure aad, and duo message log use cases. However, when I deep dive into the documentation for running examples, the explanation is somehow poor. In the examples of the uses cases above there are some training and validation dataset samples. When I check for the cloudtrail input validation sample dataset, it already has the ae_anomaly_score and ts_anomaly values, but those are calculated by the model should not be in the training validation dataset I assume. Moreover, when I check the train ae model stage, I cannot see the ae_anomlay_score and ts_anomaly calculation, but these are in the hammah-inference.py module in the /models/validation-scripts/dfp-models/ directory. From those information there is no easy way to understand what is the order, or running the pipeline and scripts, what are the training, validation and inference files, and how those anomaly scores are being calculated?
On the other hand, I realized that some directory paths are not updated yet which causes errors in the CLI. For example: the CLI example here shows that --columns_file=morpheus/data/columns_ae_cloudtrail.txt option should read the feature columns txt file but there is no path from /morpheus/ instead it should be models/data/columns_ae_cloudtrail.txt. Similar problem exists in the rest of the README.md file.
(Optional) Propose a correction
I think this tarted example needs to be reviewed in detail and should be given more details to understand how this model works, what resources need to be used for the given examples and what is the order to run. In my current example that I tried to explain above, I understand that user should run the hammah-20211017.ipynb notebook first right after feature selection with the training dataset, then trained the model here in order to get the ae_anomaly_score and ts_anomaly values via running hammah-inference.py module. Then, the user needs to run the dfp pipeline CLI based on the use case's features with the file which is overridden by the previous hammah-inference.py, in order to get reconstruction_loss, z_loss, scores values etc. If I am wrong it is because of poor documentation of the example, unfortunately.
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I have searched the open documentation issues and have found no duplicates for this bug report

@oguzhancelik2425 Thank you for submitting this issue. The Starter DFP implementation and documentation are somewhat stale as we decided to focus on single DFP implementation, Production DFP. The two implementations have diverged significantly so we have been encouraging everyone to now start with Production DFP which comes with a bit more complexity but incorporates new Morpheus features and is more scalable.
We plan on having Starter DFP removed for the next release (#1715 ).

@oguzhancelik2425 Thank you for submitting this issue. The Starter DFP implementation and documentation are somewhat stale as we decided to focus on single DFP implementation, Production DFP. The two implementations have diverged significantly so we have been encouraging everyone to now start with Production DFP which comes with a bit more complexity but incorporates new Morpheus features and is more scalable.
We plan on having Starter DFP removed for the next release (#1715).

Thanks for the quick response @efajardo-nv. I wonder about the part that returns the anomaly scores in the hammah_inference.py, it shows index 3 to get some values but If I use it, I am getting uniform values for the inference dataset. Could this module be outdated/stale as well like the rest of the starter pipeline? When I removed the [3] from the line I got different anomaly scores for my inference. I wonder is this line mistakenly written or so?

I wonder about the part that returns the anomaly scores in the hammah_inference.py, it shows index 3 to get some values but If I use it, I am getting uniform values for the inference dataset. Could this module be outdated/stale as well like the rest of the starter pipeline? When I removed the [3] from the line I got different anomaly scores for my inference. I wonder is this line mistakenly written or so?

@oguzhancelik2425 You are correct. That inference script which is run independent of Morpheus has not been kept in sync with the changes in the autoencoder and data file paths. We'll get that updated. Thanks!


Color changes to pass WAC AAA color contrast acceptance

Overrided global .btn-primary and anchor color to the below,
normal: #0051A8
hover: #003E80

landing-page.min.css is not created in the build, nothing wrong with your commit I need a bit more time to look into it

Color changes to pass WAC AAA color contrast acceptance

Remove this comment 2 times, comments like this should be in commit message only
.btn-primary.disabled,
.btn-primary:disabled {
  opacity: 0.9;
  cursor: not-allowed;
}
.btn-primary:not([disabled]):not(.disabled).active,
.btn-primary:not([disabled]):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
  background-color: #0051A8;
}

Remove styles for disabled as it not used.
Make selector for enabled .btn-primary

Replace
.btn-primary:not([disabled]):not(.disabled).active,
.btn-primary:not([disabled]):not(.disabled):active,
.show>.btn-primary.dropdown-toggle

selector with .btn-primary

I need to resolve https://github.com/GrosSacASac/DOM99/issues/35 first

modified according to the above comments, please verify.


Show transport encryption fingerprints

When using Qubes OS, or just being someone who takes security seriously, you never want to be required to have to trust the network. One uses encryption to ensure this. To be able to detect MITM, you need to verify authenticity of X.509 certificates and SSH host keys. OPNsense could help make this more easy for admins. As I setup a test system now, was able to never need to trust the network during setup. This is what I did:

Install using direct console access.
Configure network and login on console.
Manually print the X.509 SHA256 fingerprint for verification when first connecting to the web interface via HTTPS.
3.1. vi /conf/config.xml
3.2. Search <crt> and yank the body of the tag.
3.3. Open a new file in vim vi and save the body there, example /tmp/cert.b64.
3.4. base64 decode the certificate: b64decode -r /tmp/cert.b64 > /tmp/cert.pem.
3.5. Use OpenSSL to show the fingerprint: openssl x509 -in /tmp/cert.pem -noout -fingerprint -sha256
Connect to the web interface and verify the fingerprint.
Initial setup, new hostname. New internal CA and server certificate.
5.1. In /system_certmanager.php the "show certificate info" is useful to show the certificate before activating it. The issue is that it only shows the -text but at that point you can download the .pem and do the openssl x509 -in ${cert_pem} -noout -fingerprint -sha256 locally.
5.2. Activate the new certificate with correct DNS name and verify the new fingerprint.
Activate SSH via web interface, setup SSH public key.
6.1. Login to console directly again to show the SSH host key fingerprint with: ssh-keygen -l -f /conf/sshd/ssh_host_ecdsa_key.pub
6.2. Compare on initial ssh connection attempt.

Concluding from that, the following improvements could be made to make this easier:

[ ] Introduce a new option in src/sbin/opnsense-shell to show all fingerprints of X.509 certificates and SSH host keys (3 algos by default as of 18.1.6). This would ideally be implemented as a PHP script so that the config_read_array function can be used. PR: ~~https://github.com/opnsense/core/pull/2476~~, https://github.com/opnsense/core/pull/2481
[ ] Include output of openssl x509 -in -noout -fingerprint -sha256 in src/www/system_certmanager.php. PR: https://github.com/opnsense/core/pull/2475

I could implement and test this if it sounds good to you?
OPNsense version: OPNsense-18.1.6-OpenSSL-dvd-amd64.iso
URL path of the GUI page involved: /system_certmanager.php

Hi @ypid,
Sounds good, let's start with item 2 as it's easier. I don't think the fingerprint should be in the list view, at least not at this point. Maybe we can add it to the certificate (and certificate authority) details output?
If you you have questions or need help please let me know.
Cheers,
Franco

@ypid all done? :)

All done, closing as solved.


Ensure all Godot API's methods are lower case

Almost all methods of the Godot API are lower case, e.g. set_position(). There are a few exceptions such as Object.get_instance_ID() or OS.get_unique_ID() which break this principle (and cause mistakes such as https://github.com/FrogSquare/GodotFireBase/issues/1).
I'd have to check exactly what methods would be concerned, but if it's only 2 or 3, I would propose to rename them in 3.0. So far I saw:

Object.XL_MESSAGE() -> drop it, deprecated
Object.get_instance_ID() -> get_instance_id()
OS.get_unique_ID() -> get_unique_id()

WDYT?

anyone up for this? seems easy

I'm on it, with some regex-fu it should be easy to spot them all.

@akien-mga did you have time to double check? :)

All fixed AFAICT.


UnitClass enum

Hi, this is an incremental step for #186.  This simply adds the PowerShell scripting for generating a UnitClass enum which would then be available for use in external code.
Please review for naming, file locations, etc.
Merging in this change would be helpful to me as I could then remove my hand-rolled enum in my application and adopt the UnitsNet.UnitClass enum instead.

Awesome, looks good to me.


Use calver?

Idea: use calver for versioning instead of the arbitrary versioning that we have now. We're always just following the upstream API's, so we keep breaking the API, so semver would not make sense anyway.
If yes, the next version will be 21.9.1 (or maybe 2021.9.1?)

Are you saying the upstream API never going to stabilize and adopt semver?
I'm not a fan of calver to be honest. I like being able to tell how much work an upgrade is going to be by looking at the version number.

Are you saying the upstream API never going to stabilize and adopt semver?

I think wgpu-native and webgpu API will have breaking changes until they reach a certain stage, after which at least webgpu should be really stable.

 Therefore the current version number feels very arbitrary. With calver the version number at least means something :)

How about this:

Update wgpu-native -> major version bump
Internal API changes/fixes -> semver rules apply

Who knows, we might reach 2021 major version ;)


Add support for querying noDict MV columns for offline (all data types) and realtime (fixed width) segments

This PR adds support for querying multi-value columns in RAW format (without dictionary). Support to create segments with multi-value columns with dictionary disabled already existed. On trying to create a multi-value RAW column and querying it, we ran into this issue: https://github.com/apache/pinot/issues/8875
This PR adds MV RAW support for the following types of columns:

Offline segments with MV columns of types INT, LONG, FLOAT, DOUBLE, and STRING
Mutable (realtime) segments with MV columns of INT, LONG, FLOAT, and DOUBLE

Support for variable length MV RAW columns for Mutable segments will be added in the future as it requires a mutable variable length writer.
Test cases for various types of queries have been added to ensure that MV RAW columns can be supported.
cc @siddharthteotia

Codecov Report

Merging #8917 (ddebed9) into master (7024a6d) will decrease coverage by 6.37%.
The diff coverage is 44.42%.

@@             Coverage Diff              @@
##             master    #8917      +/-   ##
============================================
- Coverage     69.72%   63.35%   -6.38%
+ Complexity     4856     4844      -12
============================================
  Files          1809     1762      -47
  Lines         94331    92667    -1664
  Branches      14069    13923     -146
============================================
- Hits          65777    58713    -7064
- Misses        23974    29776    +5802
+ Partials       4580     4178     -402

Flag
Coverage Δ

integration1
?

integration2
?

unittests1
66.81% <44.42%> (+0.42%)
:arrow_up:

unittests2
14.81% <0.00%> (-0.06%)
:arrow_down:

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

Impacted Files
Coverage Δ

...re/common/evaluators/DefaultJsonPathEvaluator.java
29.53% <0.00%> (-2.69%)
:arrow_down:

...e/operator/dociditerators/SVScanDocIdIterator.java
75.51% <0.00%> (-13.27%)
:arrow_down:

...ocal/indexsegment/mutable/IntermediateSegment.java
76.51% <ø> (ø)

...e/impl/forward/FixedByteSVMutableForwardIndex.java
93.87% <ø> (ø)

...ime/impl/forward/VarByteSVMutableForwardIndex.java
66.66% <ø> (ø)

...readers/constant/ConstantMVForwardIndexReader.java
0.00% <ø> (ø)

.../readers/forward/FixedBitMVForwardIndexReader.java
100.00% <ø> (+2.17%)
:arrow_up:

.../readers/forward/FixedBitSVForwardIndexReader.java
0.00% <ø> (ø)

...eaders/forward/FixedBitSVForwardIndexReaderV2.java
100.00% <ø> (ø)

...rs/forward/VarByteChunkSVForwardIndexReaderV4.java
91.07% <ø> (ø)

... and 454 more

Continue to review full report at Codecov.

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

hi @Jackie-Jiang  / @richardstartin - I had iterated upon the review internally on the branch with @somandal  before the PR was sent out. It will be good if one of you can also help review. Thanks

This is great, thanks for adding all the tests!
This PR is a little bit too large, and contains changes to lots of modules. I'd suggest breaking them into smaller ones so that each PR only focus on one thing. That can make both review and future tracking easier. We can break the PR into the following smaller scopes:

Change getValueType to getStoredType
New APIs to ForwardIndexReader and the implementations
Filter support / group by support etc.

Sounds good. When we were iterating upon it internally, it was more of what all is needed to get this done correctly throughout the code base with all testing so there was some back n forth. Now that we agree with the overall work, I am ok with the above suggestion to breakdown.  cc @somandal

This PR adds support for querying multi-value columns in RAW format (without dictionary). Support to create segments with multi-value columns with dictionary disabled already existed. On trying to create a multi-value RAW column and querying it, we ran into this issue: #8875
This PR adds MV RAW support for the following types of columns:

Offline segments with MV columns of types INT, LONG, FLOAT, DOUBLE, and STRING
Mutable (realtime) segments with MV columns of INT, LONG, FLOAT, and DOUBLE

TODO - Support for variable length MV RAW columns for Mutable segments will be added in the future as it requires a mutable variable length writer.
Test cases for various types of queries have been added to ensure that MV RAW columns can be supported.
cc @siddharthteotia

Thanks for taking a look and for the suggestion to break this down. I've got the first part out for review in this PR: https://github.com/apache/pinot/pull/8953

This is great, thanks for adding all the tests!
This PR is a little bit too large, and contains changes to lots of modules. I'd suggest breaking them into smaller ones so that each PR only focus on one thing. That can make both review and future tracking easier. We can break the PR into the following smaller scopes:

Change getValueType to getStoredType
New APIs to ForwardIndexReader and the implementations
Filter support / group by support etc.

Thanks for the suggestion @Jackie-Jiang! I've opened a new PR for the second one on your list "New APIs to ForwardIndexReader and the implementations" in this PR: https://github.com/apache/pinot/pull/8953. Can you take a look when you get a chance? (I've also tried to address your comments on that PR directly)
I'll be working on the getStoredType after the other two.

Part 1 https://github.com/apache/pinot/pull/8953 split from this PR has been merged. Rest of the work to follow-up

Part 2 split from this PR https://github.com/apache/pinot/pull/8993


functions: err suppressed

In the function snippets, the err value is not surfaced:
https://github.com/GoogleCloudPlatform/golang-samples/blob/a699cc86997175aa096113486151599df8948a10/functions/console_snippets/http/http.go#L31-L34
If the err is not nil, I would expect to see that and not see a normal hello world.

After talking with Adam today, I'm not super upset about this, but it's just not a great devX imo.
Overall goal:
HTTP request with invalid payload => Bad Request


How long does it take to apply for the OPT-175B model ?

About three weeks ago, I submitted an application for the OPT-175B model. And I haven't received any messages from the community or the developer team. Does anyone know how long it will take to get the result? Thanks in advance.

Same here

@Hao-Tju @kamalkraj another batch of approvals will be going out today


Remove mips from san-angeles' ABI list.

The ndk-build version of this sample already has this list of ABIs:
include 'armeabi-v7a', 'arm64-v8a', 'x86'

Bug: https://github.com/googlesamples/android-ndk/issues/505

LGTM


Creating a filename object with a null char* shouldn't crash

It is possible for a filename_t to be constructed with a null pointer
passed in.  The code should handle this gracefully.
Feel free to suggest a cleaner way of doing this if you have one.  What I see with debug enabled is filename_t is called with a char * pointing to null.

Is this what you have in mind?  I couldn't use the existing macro with a null pointer.  Test fails without the other patch and passes with it.
In tfilename.cxx main()

// Check that passing a null pointer when creating
// a filename_t object doesn't cause a crash.
char *null_string = NULL;
BEGIN("null pointer passed to constructor");
np::util::filename_t _in(null_string);
CHECK(!strcmp(_in.c_str(), ""));
END;

Yep, that's what I had in mind.
On 28 August 2015 at 02:25, Greig Hamilton<EMAIL_ADDRESS>wrote:

Is this what you have in mind? I couldn't use the existing macro with a
null pointer. Test fails without the other patch and passes with it.
In tfilename.cxx main()

// Check that passing a null pointer when creating
// a filename_t object doesn't cause a crash.
char *null_string = NULL;
BEGIN("null pointer passed to constructor");
np::util::filename_t _in(null_string);
CHECK(!strcmp(_in.c_str(), ""));
END; +

—
Reply to this email directly or view it on GitHub
https://github.com/novaprova/novaprova/pull/10#issuecomment-135709739.

--
Greg.


qanda: missing answer breaks leveloffset without warning

This is a screenshot of a generated PDF with what was an unknown issue impacting the level offset of lessons 25 and on.

The issue wasn't in lesson 24 as I thought. It was actually due to a missing [qanda] answer in lesson 23.
After trying many things (commenting out lesson 24 or removing portions of it), I did a git bisect and discovered that it went wrong when lesson 23 was last edited. There I found a missing answer on the last question. The syntax was all correct, there just wasn't an answer.
The pdf contained the text :leveloffset!: :leveloffset: +1 in lesson 23, but no errors or warnings were displayed to the console. Better error handling and exposition of those errors could have saved a lot of time debugging.

I'm sorry to hear you had a frustrating experience. I certainly don't want users to lose valuable writing time debugging problems, so we need to continue to find ways to avoid these pitfalls.
I've long considered dlist blocks to be too greedy.
What we could consider is to make a dlist stop looking for primary text at a section or block title when the title is proceeded by a blank line. Section and block titles are arguably stronger indicator of structure and should be honored (just like delimited blocks).
Here's an example (which demonstrates the essence of the problem you hit):
term::

== Section Title

However, we can't deal with this here. Asciidoctor PDF isn't responsible for parsing. It just converts the parsed tree to PDF. If we want something like this, it has to be explored in core. If you are interested in this idea, could you file the issue there?

Okay. I wondered if this was the right place to put this issue.

moved to https://github.com/asciidoctor/asciidoctor/issues/2789

Thanks!


UWP 'System.StackOverflowException' in InTheHand.Forms.Platform.UWP.dll

Hi, I absolutely love this package.  Has made showing videos very easy.
I am building a UWP, iOS, and Android application, and am running into a 'System.StackOverflowException' in InTheHand.Forms.Platform.UWP.dll error.
I am using Xamarin.Forms <IP_ADDRESS>2 (although have also tried with <IP_ADDRESS>0 and <IP_ADDRESS>635) and am playing a video that is recorded from the camera.  I can confirm the video is "good" by playing it on my development machine via VLC media player.  It is maybe a 5 second video.
<inthehand:MediaElement x:Name="MediaPlayer"
AreTransportControlsEnabled="False"
AutoPlay="True"
IsLooping="True"
Stretch="UniformToFill"
Source="{Binding VideoSource}"
HorizontalOptions="CenterAndExpand"
VerticalOptions="CenterAndExpand"/>
The video starts to play, the exception gets thrown about halfway through, but the video continues to play until the end.  Sometimes it looks like it begins the second playback (since looping is enabled), but then stops.
I've tested by disabling setting AutoPlay to false and manually starting, and setting IsLooping to false - no effect, I still get the exception.
If there is anything I can do to help, just let me know!  Or if you have any ideas of a work-around, that'd be helpful.
It would be nice if there was an exception delegate to catch and handle exceptions.

Fixed in 10.2017.1213


cpeng: enhance error handling/logging

Add more informative log information like when it is about to start,
chunk size, and number of chunks. Also add dmastatus_err function to
read dmastatus register and log debug registers if error is reported.
This follows the intended flow.
Signed-off-by: Rodrigo Rojo<EMAIL_ADDRESS>

Coverage decreased (-0.1%) to 63.592% when pulling 8fe9c4297e40134f0d06d51b0ecf1be6932b05ed on rrojo/cpeng-logging-updates into 28d1915250dfa83ed4404d54d35095d516d77e56 on master.


5360 cash

pep8: -
test: 12/12 OK
pylint: 9.65
https://gist.github.com/pdyba/6edf04b3002c050f6f36
add files to .gitignore

done.


Add "which endpoint when" topic to help

Fixes https://github.com/pelias/pelias-doc/issues/155 (for real)
This is a modified version of a blog post. I'm adding it to the docs to make it easier to find, more permanent, and reviewed frequently.

Question... is it coarse reverse geocoding or reverse coarse geocoding?
We use both in the docs, so should pick one for consistency. I can go either way, but perhaps coarse reverse geocoding is best, as the coarse is a modifier on reverse geocoding?

@orangejulius - I agree on that. I've updated the old glossary term list to use "coarse reverse geocoding". Thanks for the review.


Remove sudo usage

I'm working on moving cstar_perf to run as a minimally privileged user and found several uses of sudo, mostly for filesystem manipulation. As long as file system ownership is correct, these really should be unnecessary.
$ git grep sudo
frontend/README.md:    sudo apt-get install python2.7 python2.7-dev python-virtualenv libtool cassandra
tool/cstar_perf/docker/cstar_docker.py:RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections && \
tool/cstar_perf/docker/cstar_docker.py:RUN echo "%wheel        ALL=(ALL)       NOPASSWD: ALL" >> /etc/sudoers && \
tool/cstar_perf/tool/benchmark.py:        execute(fab.sudo, 'rm -rf /var/lib/spark')
tool/cstar_perf/tool/benchmark.py:        execute(fab.sudo, 'mkdir -p /var/lib/spark')
tool/cstar_perf/tool/benchmark.py:        execute(fab.sudo, 'chmod -R 777 /var/lib/spark')
tool/cstar_perf/tool/fab_flamegraph.py:    fab.run('sudo chmod o+r {}'.format(os.path.join(flamegraph_directory, '*')))
tool/cstar_perf/tool/fab_flamegraph.py:    fab.run('sudo perf script -i {} > {}'.format(perf_data_file, stacks_file))
tool/cstar_perf/tool/fab_flamegraph.py:    fab.run('sudo chmod o+r {}'.format(os.path.join(flamegraph_directory, '*')))
tool/cstar_perf/tool/scripts/flamegraph.py:        sh.sudo.rm(file_path)
tool/cstar_perf/tool/scripts/flamegraph.py:            sh.sudo.pkill('-f', '-9', process_line)
tool/cstar_perf/tool/scripts/utils.py:    sh.sudo.kill(pid)
vagrant/README.md:    ubuntu/debian: sudo apt-get install ssh

I don't know enough about fabric to help with fab.sudo stuff yet to say what to change there. I think that the sh.sudo.X can be changed to sh.X, based on my understanding of how sh works.