Allow --concurrency to be explicitly 0

Resolves https://github.com/istio/istio/issues/30618

@esnible: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
4c5e8e267ddd87551b12144f09a33ccae06578b3
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@esnible: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
4c5e8e267ddd87551b12144f09a33ccae06578b3
link
/test release-notes_istio

integ-pilot-multicluster-tests_istio
4c5e8e267ddd87551b12144f09a33ccae06578b3
link
/test integ-pilot-multicluster-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

2021-02-05T19:42:42.002606Z     info    Apply proxy config from env {"concurrency":0}

2021-02-05T19:42:42.003239Z     info    Effective config: binaryPath: /usr/local/bin/envoy
concurrency: 2

I think the problem is the 0 setting in mesh configmap doesn't propogate

I think the problem is the 0 setting in mesh configmap doesn't propogate

See https://github.com/istio/istio/issues/30618#issuecomment-774906027 .  User set concurrency to 0, was surprised that currency became 2, expected it to become 1!
I would be happy to close this PR unmerged.  Yet it makes sense that if the meshConfig specifies concurrency=0, we should pass it along to Envoy.

I don't think this actually solves that issue though. Here is an example of me setting --concurrency 0:
$ proxy-local --concurrency=0 | h concurrency
2021-02-08T16:18:28.658655Z     info    FLAG: --concurrency="0"
2021-02-08T16:18:28.658669Z     info    FLAG: --domain=""
2021-02-08T16:18:28.658673Z     info    FLAG: --help="false"
2021-02-08T16:18:28.658675Z     info    FLAG: --log_as_json="false"
2021-02-08T16:18:28.658677Z     info    FLAG: --log_caller=""
2021-02-08T16:18:28.658678Z     info    FLAG: --log_output_level="default:info"
2021-02-08T16:18:28.658680Z     info    FLAG: --log_rotate=""
2021-02-08T16:18:28.658682Z     info    FLAG: --log_rotate_max_age="30"
2021-02-08T16:18:28.658684Z     info    FLAG: --log_rotate_max_backups="1000"
2021-02-08T16:18:28.658686Z     info    FLAG: --log_rotate_max_size="104857600"
2021-02-08T16:18:28.658689Z     info    FLAG: --log_stacktrace_level="default:none"
2021-02-08T16:18:28.658693Z     info    FLAG: --log_target="[stdout]"
2021-02-08T16:18:28.658695Z     info    FLAG: --meshConfig="./etc/istio/config/mesh"
2021-02-08T16:18:28.658697Z     info    FLAG: --outlierLogPath=""
2021-02-08T16:18:28.658699Z     info    FLAG: --proxyComponentLogLevel="misc:error"
2021-02-08T16:18:28.658701Z     info    FLAG: --proxyLogLevel="warning"
2021-02-08T16:18:28.658703Z     info    FLAG: --serviceCluster="istio-proxy"
2021-02-08T16:18:28.658706Z     info    FLAG: --stsPort="0"
2021-02-08T16:18:28.658707Z     info    FLAG: --templateFile=""
2021-02-08T16:18:28.658710Z     info    FLAG: --tokenManagerPlugin="GoogleTokenExchange"
2021-02-08T16:18:28.658712Z     info    Version unknown-unknown-unknown
2021-02-08T16:18:28.659080Z     info    Apply proxy config from env binaryPath: /home/howardjohn/go/src/istio.io/istio/out/linux_amd64/envoy
configPath: /home/howardjohn/kube/local/proxy
proxyBootstrapTemplatePath: /home/howardjohn/go/src/istio.io/istio/tools/packaging/common/envoy_bootstrap.json
discoveryAddress: localhost:15012
statusPort: 15020
terminationDrainDuration: 0s
tracing: {}
2021-02-08T16:18:28.659603Z     info    Effective config: binaryPath: /home/howardjohn/go/src/istio.io/istio/out/linux_amd64/envoy
concurrency: 2
configPath: /home/howardjohn/kube/local/proxy
controlPlaneAuthPolicy: MUTUAL_TLS
discoveryAddress: localhost:15012
drainDuration: 45s
parentShutdownDuration: 60s
proxyAdminPort: 15000
proxyBootstrapTemplatePath: /home/howardjohn/go/src/istio.io/istio/tools/packaging/common/envoy_bootstrap.json
serviceCluster: istio-proxy
statNameLength: 189
statusPort: 15020
terminationDrainDuration: 0s
tracing: {}

2021-02-08T16:18:28.659617Z     info    Proxy role      ips=[<IP_ADDRESS> 2601:646:8a01:dc30::da24 2601:646:8a01:dc30:d870:60d6:b123:a0e5 2601:646:8a01:dc30:9de3:71d9:fd87:dc6d fe80::79ae:8863:632:79f0 <IP_ADDRESS> fc00:f853:ccd:e793::1 fe80::42:5dff:fedc:3666 fe80::1 <IP_ADDRESS> fe80::42:f8ff:fe29:82b8 fe80::4023:feff:fe56:588 fe80::14de:f7ff:fe0f:cb1 fe80::6c7b:22ff:fe39:9e6d] type=sidecar id=. domain=.svc.cluster.local
2021-02-08T16:18:28.659621Z     info    JWT policy is third-party-jwt
2021-02-08T16:18:28.659626Z     info    Pilot SAN: [istiod.istio-system.svc]
2021-02-08T16:18:28.659629Z     info    CA Endpoint localhost:15012, provider Citadel
2021-02-08T16:18:28.659650Z     info    Using CA localhost:15012 cert with certs: var/run/secrets/istio/root-cert.pem
2021-02-08T16:18:28.659712Z     info    citadelclient   Citadel client using custom root cert: localhost:15012
2021-02-08T16:18:28.683306Z     info    ads     All caches have been synced up in 25.192775ms, marking server ready
2021-02-08T16:18:28.683563Z     info    sds     SDS server for workload certificates started, listening on "./etc/istio/proxy/SDS"
2021-02-08T16:18:28.683576Z     info    xdsproxy        Initializing with upstream address "localhost:15012" and cluster ""
2021-02-08T16:18:28.683715Z     info    Starting proxy agent
2021-02-08T16:18:28.683781Z     info    Received new config, creating new Envoy epoch 0
2021-02-08T16:18:28.683908Z     info    Opening status port 15020
2021-02-08T16:18:28.683917Z     info    Epoch 0 starting
2021-02-08T16:18:28.683916Z     info    sds     Start SDS grpc server
2021-02-08T16:18:28.686900Z     info    Envoy command: [-c /home/howardjohn/kube/local/proxy/envoy-rev0.json --restart-epoch 0 --drain-time-s 45 --parent-shutdown-time-s 60 --service-cluster istio-proxy --service-node sidecar~<IP_ADDRESS>~.~.svc.cluster.local --local-address-ip-version v4 --bootstrap-version 3 --log-format %Y-%m-%dT%T.%fZ     %l      envoy %n     %v -l warning --component-log-level misc:error --concurrency 2]

Also, we do not want to pass --concurrency=0 to envoy - there is no point, user should set it to 1.

I opened https://github.com/istio/istio/pull/30750 to do something similar but different. PTAL and let me know what you think


Proposal: Extend (min|max)-provisioned-* to (idle|min|max)-provisioned-*

We have a lot of dynamo tables, most of which are idle (no consumption) most of the time.
I was considering that if there is no consumption we can provision as low as 1 or 10, but in the event of any comsumption set the min-provisioned to something relatively high like 100 to 1000.  The exponential scaling works well beyond that, but it can take a while to get from say, 10 to 1000 even doubling the provisioning each step.
So, as a proposal, in addition to min-provisioned and max-provisioned also support idle-provisioned as an alternative to min-provisioned when there is no consumption.  If idle-provisioned is not specified, continue using min-provisioned, as before.
This would allow us to increase our min-provisioned and reduce costs with idle-provisioned at a fraction of min-provisioned.
Any concerns, objections or alternative formulations?

Here is a typical scenario where a table update was throttled by capacity, scaling up too slowly.
It would have been nice to go straight from 5 to 100 once consumption was detected.
min-provisioned = 100
idle-provisioned = 5


feat: starknet plugin runner

Closes #107
I previously added the SN plugin in the starklings_tester binary but not in the regular compiler/runner.

This item belongs to payment request #19A990 on OnlyDust:

from shramee to enitrat
14 items included
$500 for 1 day of work


[D3D12RaytracingSimpleLighting] Fix a warning about the initial state of a buffer resource

Environment

OS: Windows 11
GPU: RTX 3080 Ti (Driver 526.86)
IDE: Visual Studio 2022
Build configuration: Debug x64

In D3D12RaytracingSimpleLighting::BuildAccelerationStructures():

D3D12 WARNING: ID3D12Device::CreateCommittedResource: Ignoring InitialState D3D12_RESOURCE_STATE_UNORDERED_ACCESS. Buffers are effectively created in state D3D12_RESOURCE_STATE_COMMON. [ STATE_CREATION WARNING #1328: CREATERESOURCE_STATE_IGNORED]

Changing the initial state to D3D12_RESOURCE_STATE_COMMON as reported solves the warning.

这是来自QQ邮箱的假期自动回复邮件。 你好，我最近正在休假中，无法亲自回复你的邮件。我将在假期结束后，尽快给你回复。

Thank you


C# file printing to console is not showing in the debug console when there is no new line

Type: Bug
When using Vs Code Insider...
When printing a file that contains
Console.Write("Hi, this is not showing");
Console.ReadLine();
But When I am printing like this:
Console.WriteLine("This is showing");
Console.ReadLine();
So, when printing with no new line,
And there is an enter any key the output not printing...
The output is not showing in the end...
Extension version: 2.8.23
VS Code version: Code - Insiders 1.84.0-insider (60182c7e1a666961ded4d0319c154f52d85daf30, 2023-10-30T23:41:49.215Z)
OS version: Windows_NT x64 10.0.22621
Modes:

Thanks for reporting this issue! The fix for https://github.com/dotnet/vscode-csharp/issues/6598 addresses this as well, so I am resolving it as a duplicate.


Move monitor to scheduler

We can do the same thing as the loop/sleep that was in monitor.py with the Heroku scheduler add-on.  The scheduler will just spin up the dyno to run every 10 minutes instead of constantly.
TODO

[ ] Add python monitor.py command to Heroku scheduler, https://cl.ly/d307e14049ac

I think we can close this


can we applied the plugin to cordova-android 6.2.3

For now the plugin is require cordova-android   >= 7.1.0. My project cant update to it ( current is 6.2.3 ) cause some thing... can i apply this plugin and inorge the require version ?

Earlier cordova-android versions have many bug I'm not going to deal with.


feat: replace prometheus annotations with servicemonitor

This PR replaces prometheus annotations with ServiceMonitor implementation.
changes:

remove config option to specify metrics port (it's not directly configurable through helmchart, and there should be no need to)
add dedicated $component-servicemonitor.yaml file that contains service + servicemonitor for each component

Screenshot with all enabled service monitors

Supersedes #779
Fixes #361

Hi, would it be possible to add documentation to this PR? https://github.com/external-secrets/external-secrets/blob/main/docs/guides-metrics.md

Looks pretty good to me (not a maintainer), however it seems that this will be a breaking change in the current format. I guess it's not such a big deal, as the breaking change doesn't break the application, just it's monitoring, and can be communicated clearly

LGTM, maybe it would be good to set some date/release when the prometheus option will be deprecated, but I am not sure how we would set such date right now

Thanks @fourstepper for taking a look and your suggestions :pray:
I added a notice to the helm values: deprecated. will be removed with 0.7.0, use serviceMonitor instead and created a issue to track the removal.
The helm chart itself is not (yet) subject to the deprecation policy. I think it's fine to remove the values with 0.7.0.

Happy to help, sounds good to me :)

I would suggest to add a deprecation notice in the NOTES.txt as well. Something like
{{- if  .Values.prometheus.enabled }}
The flag `prometheus.enabled` is deprecated and will be removed in the next release. Please use `servicemonitor.enabled` instead.
{{- end }}

Good Idea @gusfcarvalho, i added it to the NOTES.txt. It renders like this. Technically it's not the next release but it shows a certain urgency :dancers: :sweat_smile:
[...]
external-secrets has been deployed successfully!

In order to begin using ExternalSecrets, you will need to set up a SecretStore
or ClusterSecretStore resource (for example, by creating a 'vault' SecretStore).

More information on the different types of SecretStores and how to configure them
can be found in our Github: https://github.com/external-secrets/external-secrets

deprecation warning:
> The flag `prometheus.enabled` is deprecated and will be removed in the next release.
  Please migrate to using servicemonitor instead.

/approve

Awesome awesome! LGTM

/merge


Support unit files in devenv

This adds the ability to support unit files from AppManifest.json and therefore allowing to use VSS 4.0 and vss-tools to generate the vehicle model

This needs to be merged as first one https://github.com/eclipse-velocitas/vehicle-model-generator/pull/51


Enhancement request (tell user which gene from the input list is invalid)

Question: "What is the average expression of YING, TP53, AHR, MED4, LANCL2 in human lung?"

fixed, see API response


No.of items in compare should be displayed with compare tab in default theme

Bug report
Title
No.of items in compare should be displayed in default theme
Preconditions
1. framework Version. Master

Steps to reproduce
1. step1 - add products in compare list

Expected result
https://prnt.sc/tioqus
Actual result

@bhanu-webkul
Implemented compare number indicator option in default theme https://prnt.sc/tx9v9i


Add ability to create a TrustContext from PEM/DER certs in memory

Works for me.

wow, this github diff is quite terrible :(

addressed comments

just add a comment, maybe?
On Wed, Oct 12, 2016 at 9:02 AM jared2501<EMAIL_ADDRESS>wrote:

@jared2501 commented on this pull request.
In
ssl-config/src/main/java/com/palantir/remoting1/config/ssl/PemX509Certificate.java
https://github.com/palantir/http-remoting/pull/249:

*/

+package com.palantir.remoting1.config.ssl;
+
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import com.fasterxml.jackson.databind.annotation.JsonSerialize;
+import org.immutables.value.Value;
+
<EMAIL_ADDRESS>+@Value.Style(visibility = Value.Style.ImplementationVisibility.PACKAGE, jdkOnly = true)
+@JsonSerialize(as = ImmutablePemX509Certificate.class)
+@JsonDeserialize(as = ImmutablePemX509Certificate.class)
+public abstract class PemX509Certificate {
+

/** A X509.1 certificate in PEM format encoded in UTF-8. */
public abstract String pemCertificate();

they can be anything - PUBLIC KEY, CERTIFICATE, etc.. I don't think it
actually matters. Can write test if you wish?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/palantir/http-remoting/pull/249, or mute the thread
https://github.com/notifications/unsubscribe-auth/AGOdwXdZJZ2Qrothl0xkaxoN_xmIToPRks5qzQSXgaJpZM4KUJ_4
.

or a test too if it's simple enough.
On Wed, Oct 12, 2016 at 9:04 AM Robert Fink<EMAIL_ADDRESS>wrote:

just add a comment, maybe?
On Wed, Oct 12, 2016 at 9:02 AM jared2501<EMAIL_ADDRESS>wrote:
@jared2501 commented on this pull request.
In
ssl-config/src/main/java/com/palantir/remoting1/config/ssl/PemX509Certificate.java
https://github.com/palantir/http-remoting/pull/249:

*/

+package com.palantir.remoting1.config.ssl;
+
+import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
+import com.fasterxml.jackson.databind.annotation.JsonSerialize;
+import org.immutables.value.Value;
+
<EMAIL_ADDRESS>+@Value.Style(visibility = Value.Style.ImplementationVisibility.PACKAGE, jdkOnly = true)
+@JsonSerialize(as = ImmutablePemX509Certificate.class)
+@JsonDeserialize(as = ImmutablePemX509Certificate.class)
+public abstract class PemX509Certificate {
+

/** A X509.1 certificate in PEM format encoded in UTF-8. */
public abstract String pemCertificate();

they can be anything - PUBLIC KEY, CERTIFICATE, etc.. I don't think it
actually matters. Can write test if you wish?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/palantir/http-remoting/pull/249, or mute the thread
https://github.com/notifications/unsubscribe-auth/AGOdwXdZJZ2Qrothl0xkaxoN_xmIToPRks5qzQSXgaJpZM4KUJ_4
.

@markelliot I think you'll have to "approve" explicitly


Running taxi example crashes python

Hi Andrea,
I love the idea of this package but have been unlucky when trying to run it on my computer.
When I try to run any file with this package (in jupyter or a .py), a second python process fires up, even when I am only running import statements.
When I get through to a drawing (.show()) step, the kernel or python crashes unexpectedly.
I attempted this and had the process crash with both my own examples that I had worked on and your taxi example. My collaborator, however, had no such issues.
I did have luck getting a still image to pop up using .inline(), but that was it.
Any ideas what might be going wrong?

I'm getting the same segfault with regular python=3.6.5 on Mac OS Sierra. (I also get a similar crash with Jupyter/iPython using Anaconda)
This is my env:
future==0.16.0
geoplotlib==0.3.2
numpy==1.14.5
pyglet==1.3.2
--- code ---
>>> import geoplotlib
>>> data = geoplotlib.utils.read_csv('bus.csv')
>>> geoplotlib.dot(data)
>>> geoplotlib.show()
Segmentation fault: 11

Hi Andrea,
Same here, OSX 10.14, MBP 2018, Anaconda, Python 3.7.1. I run the example, the various maps show, when I try closing the window, Python crashes. Let me know what I can provide you with.
Thanks


Add Firebase AdMob API Coverage

Is it planned to add Firebase AdMob API? Thanks!

No plans yet, but PRs welcome!


serialization takes a long time

When serializing to RDF it is taking over two seconds per serialization.  The problem is I have a lot of serializations running.  And the time is really adding up, it takes and 2.6 seconds per serialization.  After 1,000 of them it is killing my app performance.
What can be done?

I discovered the issue with my serialization was that I had a loop running n^2 and it was iterative, so I was getting a huge number of results as the loop progressed.


Editing Kata : server error "User is not permitted to save"

Apparently I should be able to edit Kata.
I encountered a Kata for which the author did not respond for over 2 years to correct a small error which makes the Kata unsolvable for Haskell.
However, when trying to edit I get an error message:
server error 500
"User is not permitted to save"
What's going on? Is this a real permission error, then please improve error reporting, if not, please solve the failing permissions.

Same here with this link: https://www.codewars.com/kata/find-the-smallest-integer-in-the-array/edit/csharp

I get the same on every kata that I try to edit. I know I have previously been able to edit katas, so why not now?

Kata still has this error:
https://www.codewars.com/kata/classic-hello-world/edit/python

And this one too:
https://www.codewars.com/kata/ascii85-encoding-and-decoding/edit/python

@nomennescio I can edit the first but not the second perhaps because I'm the author of the first

As far as I know, approved katas are only editable by the author and contributors. And tests are locked once the number of submitted solutions is above the threshold (500?).
@omegahm were you able to edit approved kata that you had never contributed before?

@jhoffner I think it's really confusing how "Edit Kata" is visible even if you're not allowed to edit.
This looks like I'm allowed to edit:

When I click, I see this:

This message makes the situation worse because it looks like it's an error that I can't edit.
Suggestions

Show "Edit Kata" only if the user is allowed to edit, or
Improve the error message

@kazk I can't remember. Might have been unapproved katas, that I edited.
How can I contribute to the kata, if I can't edit it?
All I want to do, is fix various test cases, or even add additional ones, since the author might have forgot some corner cases.

I think that the edit link should be removed, if I'm not allowed to edit. It seems very weird to have the link, just to say I'm not allowed in.

See post #851: I can't translate one of my own kata... Server error.

@omegahm I usually make a comment labeled "Suggestion". I do this even for Beta katas if I don't know the author. I think the problem with katas with inactive authors should be discussed separately. I found #496.
@g964 Do you see "User is not permitted to save"? I think your issue is different from this one because you've been able to translate other katas?

I'm deployed some changes. Can someone test on preview.codewars.com and tell me if the edit link no longer shows up where it was before?

@jhoffner confirmed on preview.codewars.com.

Maybe also hide that "|"?

Trying it on preview and then.,...

5xx: Server Error
This doesn't happen often, but it looks like something is broken. Hitting the back button and trying >again might be your best bet. If that doesn't work you can head back to the homepage.
There might be more information on our status page.
Additional Details:
Web server is returning an unknown error
There is an unknown connection issue between Cloudflare and the origin web server. As a result, the >web page can not be displayed.
Ray ID: 3403265a798b58bb
Your IP address: <IP_ADDRESS>
Error reference number: 520
Cloudflare Location: Dallas

Still see this issue. I encountered it multiple times:
https://www.codewars.com/kata/my-smallest-code-interpreter-aka-brainf-star-star-k/edit/python
https://www.codewars.com/kata/evaluate-mathematical-expression/edit/ruby
https://www.codewars.com/kata/simpler-interactive-interpreter/edit/python
These are all Katas I completed, but I did not contribute to them.
I'm not sure if I should or should not be able to edit them (cannot think of a reason why as a moderator you're not allowed to edit?)

@nomennescio @10XL was able to fix some other kata by forking the problematic translation.
I think editing privilege for approved kata is highly debatable and there have been many discussions before.
For now, try contacting the translator by commenting on the translation or fork:

Python translation of "My smallest code interpreter (aka Brainf**k)"
Ruby translation of "Evaluate mathematical expression"

Unfortunately "Simpler Interactive Interpreter" doesn't have Python under /translations so we can't use this workaround. Also the author is inactive, last seen on March 2016, so even if the translation was available fork won't get approved.

It currently looks I have less ability to edit Katas.
The following Kata is abandoned, and has an error in it, which I could perfectly edit to make the Kata solvable again. Suddenly I do not even see the 'edit' button on this kata:
https://www.codewars.com/kata/hit-count/c
I'm not sure this is the correct way to handle moderation...

The following Kata is abandoned

Both the translator and the author are last seen Mar 2017?
Can you try the workaround I commented above? Try commenting the C translation, if the translator doesn't respond, fork it and ask the author to approve it.
I understand the frustration and inconvenience, but I don't think it's easy to fix this as it appears and I think there're more issues being worked on with higher priority. At least there's a  possible workaround and hiding the "Edit Kata" prevents further confusion about ability to edit. If you don't see it you can't edit.


Newlines should be trimmed from end of pasted recovery phrase / DID / gateway

This is actually a more general problem (any time we paste these values) which also affects https://github.com/subconsciousnetwork/subconscious/issues/824
Came up during recovery.
It'd be great to find a generalised fix to this, can we listen for paste and intercept?

Also: invite codes during onboarding


Assignment-1

Completed Assignment 1

Created .env file to store paths.
Loaded variables using dotenv
Loaded/located parquet files using glob (somehow I made an error in the path that duplicated the name, which created subfolders as a result so at this point I learned about recursive search to locate these files - that was a fun, time consuming detour.
Converted Dask DF to Pandas DF for easier calculation and manipulations
Added new columns for analysis: Lag, Returns, HI-Lo range
Calculate rolling 10 day avg

Please only commit required files and silence warnings, makes it very hard to load
A1 incomplete- need to use group_by ticker for features and rolling avg

Hi Ananya,
I've cleaned up the files, it'll be MUCH easier now!  I've updated to add groupby ( I didn't see that in the file so I didn't realize it was a requirement), it's looking good now.
I noticed that in the raw file it lists all the parquet files, but in VS code it does not.  Is that normal?
I added 05_src/process_data.py files to .gitignore and all but 1 have successfully been 'ignored'.  Can you help me understand why that last one remains?  Not sure why that one didn't get hidden.

PR has been cleaned of 11k+ files.  However, I'm unable to reduce beyond 131 files.
.gitignore file has been updated extensively
Assignment-1 has been updated and now includes 'groupby'.
Reached out to Ananya for assistance to reduce PR files from 131.  Otherwise, the assignment is ready for review.

A1 complete!


[1.16] Industrial's foregoing Book texture issue

Industrial Foregoing Version: 1.16
TeslaCoreLib Version: n/a
Crashlog (If Any): n/a
The book of industrial Foregoing have no model or texture:

Patchouli issue


Data [RFR]

updated data and added test images.  @lifehackett

What's the plan for the rest of the images?
What would you like the future of this branch to be? I provide feedback for you to continue to work on? Have me pick it up?  Get it merged (provided it looks ok) and we can each continue working on new branches?


Adding widget to bootstrap  Carousel

Hi,
I have a bootstrap carousel , each slide of carousel contains a gridstack. When i add widget , widgets are adding to all gridstacks ( all slides).  I want to to add widget to particular gridstack.
Please help me.

This may be an issue with the Bootstrap Carousel. Could you provide a jsfiddle for us to look at? Thanks!

Closing for inactivity. I'll note that, if you're using the Bootstrap JS, it does have some default elements, and I wouldn't be surprised if you're having a problem with it attaching to the wrong elements. It can be tricky. Reopen if you have a jsfiddle for us to take a look at.


How to load Kmeans model

Hi, I use dask_ml Kmeans to traing a model (I use dask on yarn), and I just dump the model when fit finished, like the following code snippet:
    from dask_ml.cluster import KMeans
    from sklearn.externals import joblib
    km = KMeans(n_clusters=500, max_iter=500)
    km.fit(fea_arr)
    joblib.dump(km, './kmeans_model.pkl')

And I get the kmeans_model.pkl file, when I load the model in python interpreter it throw some error like the following:
>>> from sklearn.externals import joblib
>>> joblib.load('kmeans_model.pkl')
Traceback (most recent call last):
  File "/home/ubuntu/data/richard/py3/lib/python3.5/site-packages/distributed/comm/core.py", line 190, in connect
    quiet_exceptions=EnvironmentError)
  File "/home/ubuntu/data/richard/py3/lib/python3.5/site-packages/tornado/gen.py", line 1133, in run
    value = future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
    raise self._exception
tornado.util.TimeoutError: Timeout

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ubuntu/data/richard/py3/lib/python3.5/site-packages/sklearn/externals/joblib/numpy_pickle.py", line 598, in load
    obj = _unpickle(fobj, filename, mmap_mode)
  File "/home/ubuntu/data/richard/py3/lib/python3.5/site-packages/sklearn/externals/joblib/numpy_pickle.py", line 526, in _unpickle
    obj = unpickler.load()
  File "/usr/lib/python3.5/pickle.py", line 1039, in load
    dispatch[key[0]](self)
  File "/home/ubuntu/data/richard/py3/lib/python3.5/site-packages/sklearn/externals/joblib/numpy_pickle.py", line 339, in load_build
    Unpickler.load_build(self)
  File "/usr/lib/python3.5/pickle.py", line 1510, in load_build
    setstate(state)
  File "/home/ubuntu/data/richard/py3/lib/python3.5/site-packages/distributed/client.py", line 338, in __setstate__
    c = get_client(address)
  File "/home/ubuntu/data/richard/py3/lib/python3.5/site-packages/distributed/worker.py", line 2577, in get_client
    return Client(address, timeout=timeout)
  File "/home/ubuntu/data/richard/py3/lib/python3.5/site-packages/distributed/client.py", line 636, in __init__
    self.start(timeout=timeout)
  File "/home/ubuntu/data/richard/py3/lib/python3.5/site-packages/distributed/client.py", line 759, in start
    sync(self.loop, self._start, **kwargs)
  File "/home/ubuntu/data/richard/py3/lib/python3.5/site-packages/distributed/utils.py", line 277, in sync
    six.reraise(*error[0])
  File "/home/ubuntu/data/richard/py3/lib/python3.5/site-packages/six.py", line 693, in reraise
    raise value
  File "/home/ubuntu/data/richard/py3/lib/python3.5/site-packages/distributed/utils.py", line 262, in f
    result[0] = yield future
  File "/home/ubuntu/data/richard/py3/lib/python3.5/site-packages/tornado/gen.py", line 1133, in run
    value = future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
    raise self._exception
  File "/home/ubuntu/data/richard/py3/lib/python3.5/site-packages/tornado/gen.py", line 1141, in run
    yielded = self.gen.throw(*exc_info)
  File "/home/ubuntu/data/richard/py3/lib/python3.5/site-packages/distributed/client.py", line 847, in _start
    yield self._ensure_connected(timeout=timeout)
  File "/home/ubuntu/data/richard/py3/lib/python3.5/site-packages/tornado/gen.py", line 1133, in run
    value = future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
    raise self._exception
  File "/home/ubuntu/data/richard/py3/lib/python3.5/site-packages/tornado/gen.py", line 1141, in run
    yielded = self.gen.throw(*exc_info)
  File "/home/ubuntu/data/richard/py3/lib/python3.5/site-packages/distributed/client.py", line 885, in _ensure_connected
    connection_args=self.connection_args)
  File "/home/ubuntu/data/richard/py3/lib/python3.5/site-packages/tornado/gen.py", line 1133, in run
    value = future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
    raise self._exception
  File "/home/ubuntu/data/richard/py3/lib/python3.5/site-packages/tornado/gen.py", line 1141, in run
    yielded = self.gen.throw(*exc_info)
  File "/home/ubuntu/data/richard/py3/lib/python3.5/site-packages/distributed/comm/core.py", line 201, in connect
    _raise(error)
  File "/home/ubuntu/data/richard/py3/lib/python3.5/site-packages/distributed/comm/core.py", line 182, in _raise
    raise IOError(msg)
OSError: Timed out trying to connect to 'tcp://<IP_ADDRESS>:46586' after 3 s: in <distributed.comm.tcp.TCPConnector object at 0x7efeeb7650b8>: ConnectionRefusedError: [Errno 111] Connection refused

I think the model contains some information about the dask worker and try to restore the model object in the worker, but the worker process is already exit, all the worker exit.
How can I load the model? and can I load the model in single machine like it is trained in a single machine? Thank you for you help!

My first guess is that the KMeans.labels_ are to blame, since IIRC they're the only delayed value. I'm not really sure why they would have a reference to the client though. LMK if you want to debug this further, and I could help guide you.

yes, you are right, I check the dask_ml doc and sklearn doc again
dask_ml:
cluster_centers_ : np.ndarray [n_clusters, n_features]
    A NumPy array with the cluster centers

labels_ : da.array [n_samples,]
    A dask array with the index position in cluster_centers_ this sample belongs to.

intertia_ : float
    Sum of distances of samples to their closest cluster center.

n_iter_ : int
    Number of EM steps to reach convergence

sklearn:
cluster_centers_ : array, [n_clusters, n_features]
    Coordinates of cluster centers. If the algorithm stops before fully converging (see tol and max_iter), these will not be consistent with labels_.

labels_ :
    Labels of each point

inertia_ : float
    Sum of squared distances of samples to their closest cluster center.

n_iter_ : int
    Number of iterations run.

It's the dask_ml Kmeans.lables_ to blame, it's a delayed value, so i just recreate my sklearn kmeans object to solve the problem, like the following code snippet:
    sk_km = sklearn.cluster.KMeans(n_clusters=500, max_iter=500)
    sk_km.cluster_centers_ = km.cluster_centers_
    sk_km.inertia_ = km.inertia_
    sk_km.n_iter_ = km.n_iter_
    joblib.dump(sk_km, './sk_km_model.pkl')

and it works, i can joblib.load sk_km_model.pkl now. I ignore the lables_ attribute, because i don't need it in my project. Also i think if you need it you can compute the labels_ and assign it to sklearn kmeans object. Thank you for your help, Tom!

@wanyikang can you provide a reproducible example? I'm having trouble with a simple one. http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports


Making Mockery ->shouldReceive()->withArgs() errors more useful

When I set an expectation that a given method should be called with given args, and the test fails, the error message only tells me what the expectation was. These error messages would be much more useful to me if they listed the calls that were received to that method, so that I can more easily see how the actual calls differed from the test's expectation.
Not very helpful:

Method query("INSERT INTO expectedTable ...") from Mockery_1_acc1_SqliteInterface should be
called exactly 1 times but called 0 times.

This also has the unfortunate side-effect of being potentially confusing to new users, as it might seem to imply that the method was never actually called, when in fact it may have been called, just with different arguments.
Much better:

Method query("INSERT INTO expectedTable ...") from Mockery_1_acc1_SqliteInterface should
match exactly 1 times but matched 0 times. Actual calls:

query("INSERT INTO oneTable ...")
query("INSERT INTO twoTable ...")

Eh, just realized it was an error in my test. The real error a person is likely to get is something more along the lines of this:

No matching handler found for Mockery_1_acc1_SqliteInterface::query("INSERT INTO org VALUES (6679,'','',NULL,'',NULL,'','','','','',NULL,'','','')"). Either the method was unexpected or its arguments matched no expected argument list for this method

That's much more reasonable, as it can be compared with the assertion in the failing test.


Add the Popover API (ex: Pop Up API aka. the popup attribute plus more)

https://open-ui.org/components/popup.research.explainer
Chrome:

https://chromestatus.com/feature/5463833265045504
https://bugs.chromium.org/p/chromium/issues/detail?id=1307772

https://twitter.com/jh3yy/status/1545141447992741888

Chrome developer blog article about this:
https://developer.chrome.com/blog/tether-elements-to-each-other-with-css-anchor-positioning/

Support for popover and popover=auto has been enabled in Safari TP 166:

https://github.com/WebKit/WebKit/commit/6a08cd63e8162f286d3b71ccd85807db31937d5b
https://github.com/WebKit/WebKit/commit/725f6435785d7cb7f5d84c6e11c8639e521db6db

Chrome developer blog article about this:
https://developer.chrome.com/blog/tether-elements-to-each-other-with-css-anchor-positioning/

The Anchor API does not appear to be part of the popover API, though the two naturally would go extremely well together. Indeed each would feel incomplete without the other. I created a separate issue for the Anchor API.

Hi! I'm not this this is what you're asking for, if not you can ignore my intervention.
From Hat I see popover element and APIs are currently present on CanIUse? Am I missing something?
https://caniuse.com/?search=popover

@TixieSalander
e.g. :popup-open


Display story author

It would be nice if stringer would show the story author along with the title and date. What do you think?

Any chance we could reconsider this, and at least add it behind a setting? Failing that, know of any patches/forks that do implement it?


Prevent swiping if all slides are visible?

Is there a way to prevent swiping automatically if all slides are visible? I have a swiper gallery with a few slides that require swiping controls on mobile devices, but if the browser window is made bigger, then all slides are visible on-screen and there is no longer a need to swipe.

Take a look at the watchOverflow parameter : http://idangero.us/swiper/api/#parameters
I think it will solve your problem.

Sorted, thanks.


Latest pre-release version

Describe the bug

1.When I use irm "https://christitus.com/windev" | iex
2. I get the above notice

Am I not getting the lassst pre-release?
Or is it me just not likeing RED text

If the newest Release is a Full release, meaning there is no newer release as the current Full release it will fail to get the newest pre-release bc there isn't one. This is the reason why it redirects to the full release.
Hope that helps :)


[VL] Daily Update Velox Version (2024-01-19)

Rebase velox 2024-01-19

the failure seems related default timezone change in velox:
https://github.com/facebookincubator/velox/pull/8432

@rui-mo Should we close this one?

@marin-ma Yes, let's close this one. Thanks.


Further improve build, add inline CUDA C compilation example

This builds on / improves / fixes some bugs in @musm's recent work on the build system, including:

fix building without CUDA_HOME/CUDA_PATH variables
embed toolchain/architecture information in ext.jl
use that information to add the CUDA C compilation example from CUDAdrv/CUDAnative
don't require CUDAdrv for building

That last one might seem strange, but I figured since how both APIs are really distinct from NVIDIA's POV, we shouldn't be mixing both too much except for where the documentation explicitly allows it (e.g. @vchuravy's work on context sharing). Instead, we could put common functionality like the GC handling in a separate package (CUDAapi.jl?).

CUDAApi.jl sounds like a good idea and might allow us to keep both packages lightweight.

Fixed issues. Builld failure is due to known GC issue.


JIRA collector re-write

I am re-writing JIRA collector for many reasons

Simplify code
Performance
Data correctness

Here is my fork: https://github.com/tabladrum/hygieia-core (little modifications to some models) and https://github.com/tabladrum/Hygieia/tree/master/collectors/feature/jira the collector (work in progress to add good amount of test cases with real data).
Would love people to take a test drive and provide early feedback.

Are you running the UI from the https://github.com/tabladrum/Hygieia/tree/master/UI?

I will tell you what I did, I cloned this repo
https://github.com/tabladrum/Hygieia.git
and ran UI from what I get after cloning in UI folder.
I am not getting how do I clone https://github.com/tabladrum/Hygieia/tree/master/UI which has tree in between.
I think I am missing this step.
Please advise.

@syedafirdaus can you pull the last master https://github.com/tabladrum/Hygieia and https://github.com/tabladrum/hygieia-core?

@Sbrenthughes  I followed what you mentioned above. And I am getting below error when I run jira collector
2019-02-18 14:33:44,846 ERROR c.c.d.c.story.StoryDataClientImpl - Failed to obtain sprint data from ["com.atlassian.greenhopper.service.sprint.Sprint@4ce48635
Whereas I have given sprint data field name properly.
Database Name
dbname=dashboarddb
dbusername=dashboarduser
dbpassword=dbpassword
dbhost=<IP_ADDRESS>
dbport=27017
Logging File location
logging.file=./logs/jira.log
feature.pageSize=100
feature.deltaStartDate=2018-03-01T00:00:00.000000
feature.masterStartDate=2018-03-01T00:00:00.000000
feature.deltaCollectorItemStartDate=2018-03-01T00:00:00.000000
feature.cron=0 * * * * *
feature.queryFolder=jiraapi-queries
feature.storyQuery=story
feature.epicQuery=epic
feature.projectQuery=projectinfo
feature.memberQuery=memberinfo
feature.sprintQuery=sprintinfo
feature.teamQuery=teaminfo
feature.trendingQuery=trendinginfo
feature.todoStatuses[0]=To Do
feature.doingStatuses[0]=In Progress
feature.doneStatuses[0]=Done
#feature.todoStatuses=Open
#feature.doingStatuses=IN PROGRESS
#feature.doneStatuses=Done
feature.sprintDays=60
feature.sprintEndPrior=7
feature.scheduledPriorMin=2
feature.jiraBaseUrl=https://cloudorganisation.atlassian.net
feature.jiraQueryEndpoint=/rest/api/3/
feature.jiraCredentials=XXXXXX
feature.jiraIssueTypeNames=Story,Epic
feature.jiraSprintDataFieldName=customfield_10007
feature.jiraEpicIdFieldName=customfield_10700
feature.jiraStoryPointsFieldName=customfield_10005
#feature.jiraTeamFieldName=customfield_11000
feature.jiraBoardAsTeam=true
Please advise

@Sbrenthughes @tabladrum  Any advise?

Can you paste the full stacktrace while I look into this ?

@syedafirdaus we have fully merged the new jira changes to the master branch. Please use that now. The error you are getting is with the old version of the jira collector.

@Sbrenthughes  I took the code from master. There is indeed no error, but I don't any data in dashboard when I select my board and team. everything shows 0 0 0
Log below
2019-02-21 06:56:00,000 INFO  c.c.d.collector.CollectorTask - Running Collector: Jira
2019-02-21 06:56:00,003 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2019-02-21 06:56:00,003 INFO  c.c.d.collector.CollectorTask - https://lineagelogistics.atlassian.net
2019-02-21 06:56:00,003 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2019-02-21 06:56:00,003 INFO  c.c.d.collector.FeatureCollectorTask - JIRA Collector is set to work in Board mode
2019-02-21 06:56:00,004 INFO  c.c.d.collector.FeatureCollectorTask - Hours since last run = 0. Collector is only collecting updated/new issues.
2019-02-21 06:56:00,006 INFO  c.c.d.collector.FeatureCollectorTask - Collecting 1 of 1 boards.
2019-02-21 06:56:11,326 INFO  c.c.d.collector.CollectorTask - Story Data Collected since 1970-01-01T00:00 0       11s
2019-02-21 06:56:11,330 INFO  c.c.d.collector.CollectorTask - Finished                        11s
2019-02-21 06:57:00,000 INFO  c.c.d.collector.CollectorTask - Running Collector: Jira
2019-02-21 06:57:00,004 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2019-02-21 06:57:00,004 INFO  c.c.d.collector.CollectorTask - https://cloudorganisation.atlassian.net
2019-02-21 06:57:00,004 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2019-02-21 06:57:00,004 INFO  c.c.d.collector.FeatureCollectorTask - JIRA Collector is set to work in Board mode
2019-02-21 06:57:00,004 INFO  c.c.d.collector.FeatureCollectorTask - Hours since last run = 0. Collector is only collecting updated/new issues.
2019-02-21 06:57:00,006 INFO  c.c.d.collector.FeatureCollectorTask - Collecting 1 of 1 boards.
2019-02-21 06:57:08,178 INFO  c.c.d.collector.CollectorTask - Story Data Collected since 2019-02-21T06:56:00.006 0        8s

@Sbrenthughes  And I dont find any data in mongodb with new version on jira collector
db.feature.find(); give no output

This is my application.properties file
dbname=dashboarddb
dbusername=dashboarduser
dbpassword=dbpassword
dbhost=<IP_ADDRESS>
dbport=27017
logging.file=./logs/jira.log
feature.pageSize=100
feature.deltaStartDate=2018-03-01T00:00:00.000000
feature.masterStartDate=2018-03-01T00:00:00.000000
feature.deltaCollectorItemStartDate=2018-03-01T00:00:00.000000
feature.cron=0 * * * * *
feature.queryFolder=jiraapi-queries
feature.storyQuery=story
feature.epicQuery=epic
feature.trendingQuery=trendinginfo
feature.todoStatuses[0]=To Do
feature.doingStatuses[0]=In Progress
feature.doneStatuses[0]=Done
feature.jiraBaseUrl=https://cloudorganisation.atlassian.net
feature.jiraQueryEndpoint=/rest/api/3/
feature.jiraCredentials=*****
feature.jiraIssueTypeNames=Story
feature.refreshTeamandProjectHours=1
feature.jiraSprintDataFieldName=customfield_10007
feature.jiraEpicIdFieldName=customfield_10700
feature.jiraStoryPointsFieldName=customfield_10005
feature.jiraTeamFieldName=
feature.jiraBoardAsTeam=true

We are facing the same issue. Any updates?

I think I have an issue with the constants for JIRA_STORY and JIRA_EPIC
found in DefaultJiraClient
private static final String JIRA_STORY = "7";
private static final String JIRA_EPIC = "6";

My Jira instance returns the following for issuetypes:
,
    {
        "self": "https://xxx/rest/api/latest/issuetype/7",
        "id": "7",
        "description": "Created by JIRA Software - do not edit or delete. Issue type for a big user story that needs to be broken down.",
        "iconUrl": "https://xxx/secure/viewavatar?size=xsmall&avatarId=13107&avatarType=issuetype",
        "name": "Epic",
        "subtask": false,
        "avatarId": 13107
    },
    {
        "self": "https://xxx/rest/api/latest/issuetype/8",
        "id": "8",
        "description": "Created by JIRA Software - do not edit or delete. Issue type for a user story.",
        "iconUrl": "https://xxx/secure/viewavatar?size=xsmall&avatarId=13115&avatarType=issuetype",
        "name": "Story",
        "subtask": false,
        "avatarId": 13115
    },

As you can see, they are different than the constants where my epic is 7 and story is 8.
If I alter the constants, the collector starts to store my issues as features in the DB. Without this change, the API returns issues, but none of them are persisted.
Also, I happen to config my issueTypeNames to query for more issue types, but I think the story id constant will filter anything out that is not a story (ex Bug,Technical Debt,Spike,etc) so I think there is a mismatch there.

Can you test this and let us know?

Also, I happen to config my issueTypeNames to query for more issue types, but I think the story id constant will filter anything out that is not a story (ex Bug,Technical Debt,Spike,etc) so I think there is a mismatch there.

We are facing the same issue. Any updates?

We have merged the latest to master. Can you pull the latest master and do the following:

Delete the scope, team, feature collections
Inside the collectors collection update the following fields for the Jira:
 lastExecuted = 0
lastRefreshTime = 0

Can you test this and let us know?

Also, I happen to config my issueTypeNames to query for more issue types, but I think the story id constant will filter anything out that is not a story (ex Bug,Technical Debt,Spike,etc) so I think there is a mismatch there.

jira-feature-collector.properties
feature.jiraIssueTypeNames=Story,Bug,Technical Debt,Spike
creates an issue query with a URL output of
https://xxx/rest/agile/1.0/board/3481/issue?jql=issueType in (''Story,'Bug','Technical Debt','Spike') and updatedDate>='2019/02/26 13:30'&fields=id,key,issuetype,status,summary,created,updated,project,issuelinks,assignee,sprint,epic,aggregatetimeoriginalestimate,timeoriginalestimate,null,customfield_10105,customfield_10106,customfield_10102&startAt=0
when that URL query is executed in DefaultJiraClient.getFeaturesFromQueryURL(), issues of types Story, Bug, Technical Debt and Spike are returned.
As those issues are processed within getFeaturesFromQueryURL(), any issue type that is not a story (and as long as I change my JIRA_STORY constant from previous comment) all issues that are not stories will not be added to the result because of this logic...
                    if (JIRA_STORY.equalsIgnoreCase(type)) {
                        Feature feature = getFeature((JSONObject) issue, board);
                        String epicId = feature.getsEpicID();
                        if (!StringUtils.isEmpty(epicId)) {
                            Epic epic = epicMap.containsKey(epicId) ? epicMap.get(epicId) : getEpic(epicId, epicMap);
                            processEpicData(feature, epic);
                        }
                        result.getFeatures().add(feature);
                    }

I personally have fixed it by changing to the logic to this...
                    if (!JIRA_EPIC.equalsIgnoreCase(type)) {...

but with only a naive understanding of the code, not sure of the downstream impacts of this change. It does make my numbers match with my Jira server UI.

We are facing the same issue. Any updates?

We have merged the latest to master. Can you pull the latest master and do the following:
1. Delete the scope, team, feature collections

2. Inside the `collectors` collection update the following fields for the Jira:
   ` lastExecuted = 0`
   `lastRefreshTime = 0`

We pulled the latest from master and deleted the scope, feature collections. Modified the Jira collector information as mentioned. But still no data in feature collection. It is not collecting the board data too.

Try adding feature.collectorItemOnlyUpdate=false to your properties and running. If this doesn't work can you verify that the below is also no the case of you?

I think I have an issue with the constants for JIRA_STORY and JIRA_EPIC
found in DefaultJiraClient
private static final String JIRA_STORY = "7";
private static final String JIRA_EPIC = "6";

My Jira instance returns the following for issuetypes:
,
    {
        "self": "https://xxx/rest/api/latest/issuetype/7",
        "id": "7",
        "description": "Created by JIRA Software - do not edit or delete. Issue type for a big user story that needs to be broken down.",
        "iconUrl": "https://xxx/secure/viewavatar?size=xsmall&avatarId=13107&avatarType=issuetype",
        "name": "Epic",
        "subtask": false,
        "avatarId": 13107
    },
    {
        "self": "https://xxx/rest/api/latest/issuetype/8",
        "id": "8",
        "description": "Created by JIRA Software - do not edit or delete. Issue type for a user story.",
        "iconUrl": "https://xxx/secure/viewavatar?size=xsmall&avatarId=13115&avatarType=issuetype",
        "name": "Story",
        "subtask": false,
        "avatarId": 13115
    },

As you can see, they are different than the constants where my epic is 7 and story is 8.
If I alter the constants, the collector starts to store my issues as features in the DB. Without this change, the API returns issues, but none of them are persisted.

still its not working, i changed the constants of JIRA_STORY and JIRA_EPIC as per our instance. But still i am not getting any data.
I see this in my logs
2019-02-27 11:02:00,575 ERROR c.c.d.collector.DefaultJiraClient - Error in calling JIRA API: https://xxxxx.com/rest/agile/1.0/board?startAt=0
2019-02-27 11:02:00,582 INFO  c.c.d.collector.CollectorTask - Board Data Collected. Added  0        0s
i assume it is trying to get the Board info based on this property
feature.jiraBoardAsTeam=true
But if i change this to false, i am getting 404 exception. Can you please help me understand what is happening.

Does your jira instance use the tempo team plugin ?

i got our instance updated to latest version and now i am able to get the board information. https://xxxxx.com/rest/agile/1.0/board?startAt=0
After changing the constants in DefaulJiraClient as per our instance i am able to get the Story data in feature collection. Thanks for your help.
But here is the issue i am having, on the Jira Widget, i am not seeing any data if i select the Sprint Type as Scrum, all the stories or epics are displayed only when i select Kanban. How can i get to display data for Scrum Type?

2019-02-28 09:25:56,053 ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [/api] threw exception
io.jsonwebtoken.SignatureException: JWT signature does not match locally computed signature. JWT validity cannot be asserted and should not be trusted.
@Sbrenthughes
Hi team ,
any idea on this error? I checked other issues where suggestions are there to delete cookies, but I dont want to go again and again to do that. Lot of manual work involvement. how to avoid this api breaking error.

Have been through everywhere possible, but unable to get jira collector to work the ideal way it should. Everything has been built off the latest Github Hygieia codebase and deployed as docker containers, but keep getting the below :-
2019-02-28 19:33:00,013 INFO  c.c.d.collector.FeatureCollectorTask - JIRA Collector is set to work in Board mode
2019-02-28 19:33:00,013 INFO  c.c.d.collector.FeatureCollectorTask - Hours since last run = 17. Collector is only collecting updated/new issues.
2019-02-28 19:33:00,020 INFO  c.c.d.collector.FeatureCollectorTask - Collecting 1 of 3 boards.
2019-02-28 19:33:00,579 INFO  c.c.d.collector.CollectorTask - Story Data Collected since 2019-02-28T19:32:00.029 0        0s
2019-02-28 19:33:00,588 INFO  c.c.d.collector.FeatureCollectorTask - Collecting 2 of 3 boards.
2019-02-28 19:33:01,213 INFO  c.c.d.collector.CollectorTask - Story Data Collected since 2019-02-28T19:32:00.567 0        1s
2019-02-28 19:33:01,219 INFO  c.c.d.collector.FeatureCollectorTask - Collecting 3 of 3 boards.
2019-02-28 19:33:01,769 INFO  c.c.d.collector.CollectorTask - Story Data Collected since 2019-02-28T19:32:01.201 0        1s
2019-02-28 19:33:01,775 INFO  c.c.d.collector.CollectorTask - Finished                         1s
And api logs are exactly as mentioned by syedfirdaus in the earlier comment.
My jira properties file has all that has been so far talked about in this entire forum and elsewhere. i am using boards as true. Even creating new issues aren't getting fetched. i also saw about  the Story ID and Epic ID discussion where those are defaulted to 7 and 6 respectively in DefaultJiraClient.java and since we use cloud jira so we have those values as 10108 and 10000 respectively but changing to those and rebuilding the jar followed by new docker image and container also didn't do any good. the UI jira widget also has an issue where it lists all projects and boards but one. i recently created a kanban board assuming this is never going to work for a scrum board, but that kanban board never shows up , rest all show up fine. But the bottomline is no matter what options you choose in the jira widget, the data always returns 0 issues and that's indicative of the logs. Since there is nothing in the codebase that i have changed and only the properties that pertain to my jira environment, i would request someone please help me here. It has been 2 long days and i haven't been able to get it work. It doesn't make sense to me when the widget shows up all projects, boards (but one), etc, why no issues returned then and yes i do have active sprint with issues in appropriate statuses, sprint field, epic field, etc and all those are correctly passed as application.properties in my docker container.

i got our instance updated to latest version and now i am able to get the board information. https://xxxxx.com/rest/agile/1.0/board?startAt=0
After changing the constants in DefaulJiraClient as per our instance i am able to get the Story data in feature collection. Thanks for your help.
But here is the issue i am having, on the Jira Widget, i am not seeing any data if i select the Sprint Type as Scrum, all the stories or epics are displayed only when i select Kanban. How can i get to display data for Scrum Type?

I would verify that your board is actually a scrum board. If you search in the team collection for "name": "<your_board_name>". you can see what type it is pulling as.

2019-02-28 09:25:56,053 ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [/api] threw exception
io.jsonwebtoken.SignatureException: JWT signature does not match locally computed signature. JWT validity cannot be asserted and should not be trusted.
@Sbrenthughes
Hi team ,
any idea on this error? I checked other issues where suggestions are there to delete cookies, but I dont want to go again and again to do that. Lot of manual work involvement. how to avoid this api breaking error.

 Until we implement the functionality to clear the token on the api side, you will be stuck having to clear the cache or reopen UI in incognito mode.

Have been through everywhere possible, but unable to get jira collector to work the ideal way it should. Everything has been built off the latest Github Hygieia codebase and deployed as docker containers, but keep getting the below :-
2019-02-28 19:33:00,013 INFO c.c.d.collector.FeatureCollectorTask - JIRA Collector is set to work in Board mode
2019-02-28 19:33:00,013 INFO c.c.d.collector.FeatureCollectorTask - Hours since last run = 17. Collector is only collecting updated/new issues.
2019-02-28 19:33:00,020 INFO c.c.d.collector.FeatureCollectorTask - Collecting 1 of 3 boards.
2019-02-28 19:33:00,579 INFO c.c.d.collector.CollectorTask - Story Data Collected since 2019-02-28T19:32:00.029 0 0s
2019-02-28 19:33:00,588 INFO c.c.d.collector.FeatureCollectorTask - Collecting 2 of 3 boards.
2019-02-28 19:33:01,213 INFO c.c.d.collector.CollectorTask - Story Data Collected since 2019-02-28T19:32:00.567 0 1s
2019-02-28 19:33:01,219 INFO c.c.d.collector.FeatureCollectorTask - Collecting 3 of 3 boards.
2019-02-28 19:33:01,769 INFO c.c.d.collector.CollectorTask - Story Data Collected since 2019-02-28T19:32:01.201 0 1s
2019-02-28 19:33:01,775 INFO c.c.d.collector.CollectorTask - Finished 1s
And api logs are exactly as mentioned by syedfirdaus in the earlier comment.
My jira properties file has all that has been so far talked about in this entire forum and elsewhere. i am using boards as true. Even creating new issues aren't getting fetched. i also saw about the Story ID and Epic ID discussion where those are defaulted to 7 and 6 respectively in DefaultJiraClient.java and since we use cloud jira so we have those values as 10108 and 10000 respectively but changing to those and rebuilding the jar followed by new docker image and container also didn't do any good. the UI jira widget also has an issue where it lists all projects and boards but one. i recently created a kanban board assuming this is never going to work for a scrum board, but that kanban board never shows up , rest all show up fine. But the bottomline is no matter what options you choose in the jira widget, the data always returns 0 issues and that's indicative of the logs. Since there is nothing in the codebase that i have changed and only the properties that pertain to my jira environment, i would request someone please help me here. It has been 2 long days and i haven't been able to get it work. It doesn't make sense to me when the widget shows up all projects, boards (but one), etc, why no issues returned then and yes i do have active sprint with issues in appropriate statuses, sprint field, epic field, etc and all those are correctly passed as application.properties in my docker container.
And here is my complete application.properties under my container config :-
dbname=dashboarddb
dbhost=*******************
dbport=27017
dbusername=dashboarduser
dbpassword=dbpassword
feature.cron=0 * * * * *
feature.pageSize=1000
feature.queryFolder=jiraapi-queries
feature.storyQuery=story
feature.epicQuery=epic
feature.projectQuery=projectinfo
feature.memberQuery=memberinfo
feature.sprintQuery=sprintinfo
feature.teamQuery=teaminfo
feature.trendingQuery=trendinginfo
feature.jiraProxyUrl=
feature.jiraProxyPort=
#feature.sprintDays=60
#feature.sprintEndPrior=7
feature.scheduledPriorMin=2
feature.deltaCollectorItemStartDate=2008-01-01T00:00:00.000000
feature.collectorItemOnlyUpdate=false
feature.jiraBaseUrl=****************
feature.jiraQueryEndpoint=rest/api/2/
feature.jiraCredentials=*************
#feature.jiraOauthAuthtoken=sdfghjkl==
#feature.jiraOauthRefreshtoken=sdfagheh==
#feature.jiraOauthRedirecturi=uri.this.is.test:uri
#feature.jiraOauthExpiretime=234567890987
feature.deltaStartDate=2015-03-01T00:00:00.000000
feature.masterStartDate=2008-01-01T00:00:00.000000
feature.jiraIssueTypeNames=Story
feature.todoStatuses[0]=Open
feature.todoStatuses[1]=Reopened
feature.doingStatuses[0]=In Progress
feature.doneStatuses[0]=Closed
feature.doneStatuses[1]=Resolved
feature.jiraIssueTypeId=Story
feature.jiraSprintDataFieldName=customfield_10021
feature.jiraEpicIdFieldName=customfield_10011
feature.jiraStoryPointsFieldName=customfield_10100
#feature.jiraTeamFieldName=
feature.jiraBoardAsTeam=true

Try adding feature.collectorItemOnlyUpdate=false and then starting with a fresh copy of the db. We will be enhancing the Jira collector at a later time to resolve some of these pain points. We appreciate the feedback.

Thanks for looking into this. However, that property is already set to false as in my application.properties i shared earlier.
When you say start with a fresh db, what does that mean in the world of containers? Is it just stopping the container, deleting it, deleting its image and then recreating it, or something else? I mean the db container.
Also didn’t get the last one regarding project tied to team. We don’t use team field. What should it be to address that then??

*Project is associated to the board.

Thanks for following up on this. To my surprise this morning i see my fourth board (the kanban one not showing up yesterday) in the jira widget of Hygieia, so not sure what happened. But still 0 issues fetched. So, i would now like to try once what you said regarding deleting the scope, team and feature collections followed by updating the 2 timestamp fields to 0 in jirfa collector object inside of the collectors collection. where do i make these changes, any notes ? Also do you suggest i change some of the time and delta related properties in my file like the ones below :-
feature.deltaCollectorItemStartDate=2008-01-01T00:00:00.000000
feature.deltaStartDate=2015-03-01T00:00:00.000000
feature.masterStartDate=2008-01-01T00:00:00.000000
Since today i am seeing the fourth board showing up in the widget while it was created yesterday, doesn't make sense to me and during all this time the containers were deleted and recreated a few times. so only showing up today kind of baffles me.

The documentation needs to be updated but the reason why it took so long to pull in is because of the property refreshTeamAndProjectHours it is defaulted to 24 hours. So that would make since why it took this long for it to pull. You can change this to lower.
Adding feature.collectorItemOnlyUpdate=false forces the collector to pull all the data.  If I am not mistaken the custom field jiraTeamFieldName is required. Let me look into this

Sure and you mentioned about "
delete the scope, team and feature collections. Then update the 2 timestamp fields to 0 in jira collector object inside of the collectors collection"
Could you please help advise how to do that? i would like to give that a try as well.

@ujjwal2101 Can you reach out to me on gitter?

Just updating the issue here. Looks like a lot of users are running into the issue where JIRA_STORY and JIRA_EPIC are not matching for their instances. For now you will need to update these 2 with the correct Ids for your instance. I will submit a PR moving these to the properties file soon.

I think I have an issue with the constants for JIRA_STORY and JIRA_EPIC
found in DefaultJiraClient
private static final String JIRA_STORY = "7";
private static final String JIRA_EPIC = "6";

My Jira instance returns the following for issuetypes:
,
    {
        "self": "https://xxx/rest/api/latest/issuetype/7",
        "id": "7",
        "description": "Created by JIRA Software - do not edit or delete. Issue type for a big user story that needs to be broken down.",
        "iconUrl": "https://xxx/secure/viewavatar?size=xsmall&avatarId=13107&avatarType=issuetype",
        "name": "Epic",
        "subtask": false,
        "avatarId": 13107
    },
    {
        "self": "https://xxx/rest/api/latest/issuetype/8",
        "id": "8",
        "description": "Created by JIRA Software - do not edit or delete. Issue type for a user story.",
        "iconUrl": "https://xxx/secure/viewavatar?size=xsmall&avatarId=13115&avatarType=issuetype",
        "name": "Story",
        "subtask": false,
        "avatarId": 13115
    },

As you can see, they are different than the constants where my epic is 7 and story is 8.
If I alter the constants, the collector starts to store my issues as features in the DB. Without this change, the API returns issues, but none of them are persisted.

Up to lastest.Rebuild all,reset db.
add properties in config file
feature.JiraStoryId=10002 feature.JiraEpicId=10001
Success sync data from jira to feature/scope/team,but got 0 0 0 in Hygieia board

Can you post the log and properties?

@yamazakei331 not sure if capitalization matters but you have "feature.Jira" rather than "feature.jira"

Not sure if it should be posted here or somewhere else, but I was having difficulties with the new single story id. So I made a pr that allows for multiple. https://github.com/Hygieia/Hygieia/pull/2793

glad i found this thread, i'm still having issues with this collector.  I can see the data in mongo, but i'm not able to see the information being displayed in the UI.  I recently pulled the code, has there been any updates on this problem?

Did you try in IE and Chrome?
On Fri, May 10, 2019 at 2:18 PM blaktek<EMAIL_ADDRESS>wrote:

glad i found this thread, i'm still having issues with this collector. I
can see the data in mongo, but i'm not able to see the information being
displayed in the UI. I recently pulled the code, has there been any updates
on this problem?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Hygieia/Hygieia/issues/2667#issuecomment-491384430,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJ6FCFYYZGSZ5C24BQVJOVDPUW37XANCNFSM4GPGQ4TQ
.

Did you try in IE and Chrome?
…
On Fri, May 10, 2019 at 2:18 PM blaktek @.***> wrote: glad i found this thread, i'm still having issues with this collector. I can see the data in mongo, but i'm not able to see the information being displayed in the UI. I recently pulled the code, has there been any updates on this problem? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#2667 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ6FCFYYZGSZ5C24BQVJOVDPUW37XANCNFSM4GPGQ4TQ .

Yeah this is the same for any browser.   When I select the project I'm getting the 0's for all stats

This is a configuration issue. Can you reach out on gitter or create a new issue to get help with configuration?

@Sbrenthughes 10-4

HI All,
I am getting the same issue. anyone has any idea how to resolve it.
2019-10-11 04:37:00,184 [taskScheduler-1] ERROR o.s.s.s.TaskUtils$LoggingErrorHandler - Unexpected error occurred in scheduled task.
org.springframework.web.client.HttpClientErrorException: 401 null
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:91) ~[spring-web-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]

@shekharshamra Jira collector has been rewritten. Please check the code at the new repository and retry - hygieia-feature-jira-collector

Earlier Jira collector was working fine , but now i am  getting below error
2020-02-09 19:25:00,000 INFO  c.c.d.collector.CollectorTask - Running Collector: Jira
2020-02-09 19:25:00,006 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2020-02-09 19:25:00,006 INFO  c.c.d.collector.CollectorTask - http://<IP_ADDRESS>:8080/
2020-02-09 19:25:00,006 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2020-02-09 19:25:00,006 INFO  c.c.d.collector.FeatureCollectorTask - JIRA Collector is set to work in Board mode
2020-02-09 19:25:00,006 INFO  c.c.d.collector.FeatureCollectorTask - Hours since last run = 13. Collector is only collecting updated/new issues.
2020-02-09 19:25:00,007 INFO  c.c.d.collector.FeatureCollectorTask - Collecting 1 of 2 boards.
2020-02-09 19:25:00,253 ERROR c.c.d.collector.FeatureCollectorTask - Failed to collect jira information
java.lang.ClassCastException: org.json.simple.JSONObject cannot be cast to org.json.simple.JSONArray
at com.capitalone.dashboard.collector.DefaultJiraClient.getSprint(DefaultJiraClient.java:563) ~[jira-feature-collector.jar!/:3.0.2-SNAPSHOT]
at com.capitalone.dashboard.collector.DefaultJiraClient.getFeature(DefaultJiraClient.java:486) ~[jira-feature-collector.jar!/:3.0.2-SNAPSHOT]
at com.capitalone.dashboard.collector.DefaultJiraClient.lambda$getFeaturesFromQueryURL$1(DefaultJiraClient.java:366) ~[jira-feature-collector.jar!/:3.0.2-SNAPSHOT]
at java.util.ArrayList.forEach(ArrayList.java:1257) ~[na:1.8.0_222]
at com.capitalone.dashboard.collector.DefaultJiraClient.getFeaturesFromQueryURL(DefaultJiraClient.java:356) ~[jira-feature-collector.jar!/:3.0.2-SNAPSHOT]
at com.capitalone.dashboard.collector.DefaultJiraClient.getIssues(DefaultJiraClient.java:267) ~[jira-feature-collector.jar!/:3.0.2-SNAPSHOT]
at com.capitalone.da
@rverma
@Sbrenthughes
any help would be appericiated

Same here. Also getting the JSON-Error
[taskScheduler-1] ERROR c.c.d.collector.FeatureCollectorTask - Failed to collect jira information java.lang.ClassCastException: java.lang.String cannot be cast to org.json.simple.JSONArray

I am also facing a similar issue.  Can anyone help me here?
2020-09-11 12:20:00,324 [taskScheduler-1] INFO  c.c.d.collector.FeatureCollectorTask - JIRA Collector is set to work in Board mode
2020-09-11 12:20:00,324 [taskScheduler-1] INFO  c.c.d.collector.FeatureCollectorTask - Hours since last run = 1. Collector is only collecting updated/new issues.
2020-09-11 12:20:00,328 [taskScheduler-1] INFO  c.c.d.collector.FeatureCollectorTask - Collecting 1 of 1 boards.
2020-09-11 12:20:00,732 [taskScheduler-1] INFO  c.c.dashboard.client.RestClient - makeRestCall op=GET url=https://XXXXXXXX.atlassian.net/rest/agile/1.0/board/1/issue?jql=issueType in ('Story') and updatedDate>='2020/08/12 12:20'&fields=id,key,issuetype,status,summary,created,updated,project,issuelinks,assignee,sprint,epic,aggregatetimeoriginalestimate,timeoriginalestimate,customfield_14401,customfield_10000,customfield_10002,customfield_10003&startAt=0 status=200 duration=404
2020-09-11 12:20:00,733 [taskScheduler-1] ERROR c.c.d.collector.FeatureCollectorTask - Failed to collect jira information
java.lang.ClassCastException: java.lang.String cannot be cast to org.json.simple.JSONArray
at com.capitalone.dashboard.collector.DefaultJiraClient.getSprint(DefaultJiraClient.java:611) ~[jira-feature-collector.jar!/:3.1.3-SNAPSHOT]
at com.capitalone.dashboard.collector.DefaultJiraClient.getFeature(DefaultJiraClient.java:534) ~[jira-feature-collector.jar!/:3.1.3-SNAPSHOT]
at com.capitalone.dashboard.collector.DefaultJiraClient.lambda$getFeaturesFromQueryURL$1(DefaultJiraClient.java:407) ~[jira-feature-collector.jar!/:3.1.3-SNAPSHOT]
at java.util.ArrayList.forEach(Unknown Source) ~[na:1.8.0_241]
at com.capitalone.dashboard.collector.DefaultJiraClient.getFeaturesFromQueryURL(DefaultJiraClient.java:393) ~[jira-feature-collector.jar!/:3.1.3-SNAPSHOT]
at com.capitalone.dashboard.collector.DefaultJiraClient.getIssues(DefaultJiraClient.java:269) ~[jira-feature-collector.jar!/:3.1.3-SNAPSHOT]
at com.capitalone.dashboard.collector.FeatureCollectorTask.lambda$updateStoryInformation$7(FeatureCollectorTask.java:277) [jira-feature-collector.jar!/:3.1.3-SNAPSHOT]
at java.util.ArrayList.forEach(Unknown Source) ~[na:1.8.0_241]
at com.capitalone.dashboard.collector.FeatureCollectorTask.updateStoryInformation(FeatureCollectorTask.java:274) [jira-feature-collector.jar!/:3.1.3-SNAPSHOT]
at com.capitalone.dashboard.collector.FeatureCollectorTask.collect(FeatureCollectorTask.java:159) [jira-feature-collector.jar!/:3.1.3-SNAPSHOT]
at com.capitalone.dashboard.collector.FeatureCollectorTask.collect(FeatureCollectorTask.java:48) [jira-feature-collector.jar!/:3.1.3-SNAPSHOT]
at com.capitalone.dashboard.collector.CollectorTask.run(CollectorTask.java:68) [core-3.7.24.jar!/:3.1.3-SNAPSHOT]
at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) [spring-context-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]
at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81) [spring-context-4.2.5.RELEASE.jar!/:4.2.5.RELEASE]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [na:1.8.0_241]
at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.8.0_241]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) [na:1.8.0_241]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [na:1.8.0_241]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_241]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_241]

@droy2019 I gave up on Hygieia and switched to Grimoirelab. Much more stable software and less buggy.

Thanks so much for this note... that tool does sound pretty good...shall
explore.....
On Fri 11 Sep, 2020, 18:44 dai-mk<EMAIL_ADDRESS>wrote:

@droy2019 https://github.com/droy2019 I gave up on Hygieia and switched
to Grimoirelab. Much more stable software and less buggy.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Hygieia/Hygieia/issues/2667#issuecomment-691087591,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM7FOMOXL6HWDC336MJ7IE3SFIPCPANCNFSM4GPGQ4TQ
.


Errors of using Shadow k-hop Sampler

🐛 Bug

To Reproduce
Steps to reproduce the behavior:
from torch_geometric.data import ShaDowKHopSampler
from torch_geometric.datasets import Planetoid

if __name__ == "__main__":
    dataset = Planetoid(root="./data/Planetoid/Cora", name="Cora")

    loader = ShaDowKHopSampler(dataset[0], depth=2, num_neighbors=20, batch_size=512)
    print(loader)
    for idx, g in enumerate(loader):
        print(idx, g)

When I run the codes above, some errors happen. It seems that torch_sparse is lack of ego_k_hop_sample_adj, but I use the latest modules.
<torch_geometric.data.shadow.ShaDowKHopSampler object at 0x7f6d75f8b700>
Traceback (most recent call last):
  File "/home/zhuyun/anaconda3/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/zhuyun/anaconda3/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/zhuyun/GraphSSL_EMD/data/buffer.py", line 183, in <module>
    for idx, g in enumerate(loader):
  File "/home/zhuyun/anaconda3/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 435, in __next__
    data = self._next_data()
  File "/home/zhuyun/anaconda3/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 475, in _next_data
    data = self._dataset_fetcher.fetch(index)  # may raise StopIteration
  File "/home/zhuyun/anaconda3/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 47, in fetch
    return self.collate_fn(data)
  File "/home/zhuyun/anaconda3/lib/python3.8/site-packages/torch_geometric/data/shadow.py", line 64, in __collate__
    out = torch.ops.torch_sparse.ego_k_hop_sample_adj(
  File "/home/zhuyun/anaconda3/lib/python3.8/site-packages/torch/_ops.py", line 61, in __getattr__
    op = torch._C._jit_get_operation(qualified_op_name)
RuntimeError: No such operator torch_sparse::ego_k_hop_sample_adj

Environment

OS: Linux
Python version: 3.8.3
PyTorch version: 1.7.0
CUDA/cuDNN version: 11.0
GCC version: 7.5.0
Any other relevant information:

torch-geometric: 1.7.0 (all the related packages are lastest, like torch-scatter, torch-sparse, ... )

Additional context
I wish to have your help. Thanks a lot.

I have already installed torch-sparse, but the problem also exists.
Looking in links: https://pytorch-geometric.com/whl/torch-1.7.0+cu110.html
Requirement already satisfied: torch-scatter in /home/XX/anaconda3/lib/python3.8/site-packages (2.0.6)
Requirement already satisfied: torch-sparse in /home/XX/anaconda3/lib/python3.8/site-packages (0.6.9)
Requirement already satisfied: scipy in /home/XX/anaconda3/lib/python3.8/site-packages (from torch-sparse) (1.6.3)
Requirement already satisfied: numpy<1.23.0,>=1.16.5 in /home/XX/anaconda3/lib/python3.8/site-packages (from scipy->torch-sparse) (1.20.3)

The result:
RuntimeError: No such operator torch_sparse::ego_k_hop_sample_adj

Yeah, the wheels from https://pytorch-geometric.com/whl/torch-1.7.0+cu110.html do not include such functionality yet. You need to clone the torch_sparse repository and run:
python setup.py install

from there in order to be able to access ego_k_hop_sample_adj.

I clone the torch_sparse repo, and run python setup.py install to compile and install it. The installed path is the same as the python environment that I use. But I can not use the function ego_k_hop_sample_adj.
Installment:
...
...
torch_sparse.__pycache__._version_cpu.cpython-38: module references __file__
torch_sparse.__pycache__._version_cuda.cpython-38: module references __file__
creating dist
creating 'dist/torch_sparse-0.6.9-py3.8-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing torch_sparse-0.6.9-py3.8-linux-x86_64.egg
creating /home/zhuyun/anaconda3/lib/python3.8/site-packages/torch_sparse-0.6.9-py3.8-linux-x86_64.egg
Extracting torch_sparse-0.6.9-py3.8-linux-x86_64.egg to /home/zhuyun/anaconda3/lib/python3.8/site-packages
Adding torch-sparse 0.6.9 to easy-install.pth file

Installed /home/zhuyun/anaconda3/lib/python3.8/site-packages/torch_sparse-0.6.9-py3.8-linux-x86_64.egg
Processing dependencies for torch-sparse==0.6.9
Searching for scipy==1.6.3
Best match: scipy 1.6.3
Adding scipy 1.6.3 to easy-install.pth file

Using /home/zhuyun/anaconda3/lib/python3.8/site-packages
Searching for numpy==1.20.3
Best match: numpy 1.20.3
Adding numpy 1.20.3 to easy-install.pth file
Installing f2py script to /home/zhuyun/anaconda3/bin
Installing f2py3 script to /home/zhuyun/anaconda3/bin
Installing f2py3.8 script to /home/zhuyun/anaconda3/bin

Using /home/zhuyun/anaconda3/lib/python3.8/site-packages
Finished processing dependencies for torch-sparse==0.6.9

Errors:
<torch_geometric.data.shadow.ShaDowKHopSampler object at 0x7f8c7cc427c0>
Traceback (most recent call last):
  File "/home/XX/anaconda3/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/XX/anaconda3/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/XX/GraphSSL_EMD/data/buffer.py", line 183, in <module>
    for idx, g in enumerate(loader):
  File "/home/XX/anaconda3/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 435, in __next__
    data = self._next_data()
  File "/home/XX/anaconda3/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 475, in _next_data
    data = self._dataset_fetcher.fetch(index)  # may raise StopIteration
  File "/home/XX/anaconda3/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 47, in fetch
    return self.collate_fn(data)
  File "/home/XX/anaconda3/lib/python3.8/site-packages/torch_geometric/data/shadow.py", line 64, in __collate__
    out = torch.ops.torch_sparse.ego_k_hop_sample_adj(
  File "/home/XX/anaconda3/lib/python3.8/site-packages/torch/_ops.py", line 61, in __getattr__
    op = torch._C._jit_get_operation(qualified_op_name)
RuntimeError: No such operator torch_sparse::ego_k_hop_sample_adj

Did you make sure to uninstall all previous installations of torch-sparse?

Thanks a lot, after uninstalling the previous installations of torch-sparse, it can run successfully.


Use cw-storage-plus

Better to make plus storage visible to newbies.

If plus-storage matured enough, maybe it is time to put it under separate repo?

This brings us into dependency hell. For every new version of CosmWasm, we need to upgrade the whole cosmwasm-plus repo before being able to update the template.

Well, we are usually doing -alphaor -beta releases, so we can easily make a PR that is working with eg. cosmwasm-plus v0.7.0-beta1 and test that. And as soon as we tag cosmwasm-plus v0.7.0 we can update and merge cosmwasm-template.
cosmwasm-plus is the most maintained repo outside of cosmwasm (cosmwasm-template is usually an afterthought and cosmwasm-examples more or less forgotten), so I don't see an issue with importing it.

Alright, fine with me. I just want to raise awareness of this problem, which hit us in CosmJS already where the generic CosmWasm client suddenly depended on cosmwasm-plus. If the benefics are greater than the pain, go for it.

I understand the pain. And cosmwasm-plus was lagging on a few upgrades. But we are now keeping it quite up to date and I doubt there will be multi-day PRs needed to update the dependencies any more.


Add support alpine as base docker image of edge-orchestration

Signed-off-by: Taras Drozdovskyi<EMAIL_ADDRESS>Co-authored-by: Vitalii55<EMAIL_ADDRESS>Description
In collaboration with Vitalii55, we have prepared support for the Alpine as a basic image for the edge-orchestration. The size of the image is up to 55Mb
Type of change

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
For x86_64
$ make distclean
$ make create_context CONFIGFILE=x86_64c_alpine
$ make

or for arm
$ make distclean
$ make create_context CONFIGFILE=armc_alpine
$ make

Test Configuration:

Firmware version: Ubuntu 18.04
Hardware: x86-64, ARM
Toolchain: Docker and Go recommended versions
Edge Orchestration Release: Coconut

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

This PR made me think a lot about container images.
Thanks for your contribution!

You remember I previously offered to use different Dockerfile files. And there are two reasons for it:

hard to make a universal Dockerfile
it will enable external developers to configure the own basic image of edge-orchestration.

As soon as this PR is applied I will include automatic build (github->action->workflow->build) testing for Alpine.

As soon as this PR is applied I will include automatic build (github->action->workflow->build) testing for Alpine.

I am opposite with you. Supporting both ubuntu and alpine requires too much effort to the code contribution, so I'd like to support only one Dockerfile officially.

As soon as this PR is applied I will include automatic build (github->action->workflow->build) testing for Alpine.

I am opposite with you. Supporting both ubuntu and alpine requires too much effort to the code contribution, so I'd like to support only one Dockerfile officially.

I understand your concern, but I would like to point out that we would need to support these two systems - since

using ubuntu it is easy for us to develop, test new features
but for releases, we need to use Alpine, since its image size is several times smaller, and this is critical for real devices.

As soon as this PR is applied I will include automatic build (github->action->workflow->build) testing for Alpine.

I am opposite with you. Supporting both ubuntu and alpine requires too much effort to the code contribution, so I'd like to support only one Dockerfile officially.

I understand your concern, but I would like to point out that we would need to support these two systems - since

using ubuntu it is easy for us to develop, test new features
but for releases, we need to use Alpine, since its image size is several times smaller, and this is critical for real devices.

Therefore, I want to automate testing as much as possible for all our options.
What do you think?

Your opinions have a point.  Let's assume that we use ubuntu for development and use alpine for release.
A new feature might be working good on ubuntu but not working correctly on alpine. The contributor does not know how to resolve it on alpine. Satisfying both systems can be a huge obstacle to the contributor and he/she might give up the contribution.
I would like to run test cases in the essential parts only. I think that maintainer would revise the Dockerfile for releases during the release or the refactoring period.

As soon as this PR is applied I will include automatic build (github->action->workflow->build) testing for Alpine.

I am opposite with you. Supporting both ubuntu and alpine requires too much effort to the code contribution, so I'd like to support only one Dockerfile officially.

I understand your concern, but I would like to point out that we would need to support these two systems - since

using ubuntu it is easy for us to develop, test new features
but for releases, we need to use Alpine, since its image size is several times smaller, and this is critical for real devices.

Therefore, I want to automate testing as much as possible for all our options.
What do you think?

Your opinions have a point. Let's assume that we use ubuntu for development and use alpine for release.
A new feature might be working good on ubuntu but not working correctly on alpine. The contributor does not know how to resolve it on alpine. Satisfying both systems can be a huge obstacle to the contributor and he/she might give up the contribution.
I would like to run test cases in the essential parts only. I think that maintainer would revise the Dockerfile for releases during the release or the refactoring period.

Seems we need a further PR for revising the current Dockerfile for releases for completely merging this PR. What do you think? 😄

As soon as this PR is applied I will include automatic build (github->action->workflow->build) testing for Alpine.

I am opposite with you. Supporting both ubuntu and alpine requires too much effort to the code contribution, so I'd like to support only one Dockerfile officially.

I understand your concern, but I would like to point out that we would need to support these two systems - since

using ubuntu it is easy for us to develop, test new features
but for releases, we need to use Alpine, since its image size is several times smaller, and this is critical for real devices.

Therefore, I want to automate testing as much as possible for all our options.
What do you think?

Your opinions have a point. Let's assume that we use ubuntu for development and use alpine for release.
A new feature might be working good on ubuntu but not working correctly on alpine. The contributor does not know how to resolve it on alpine. Satisfying both systems can be a huge obstacle to the contributor and he/she might give up the contribution.
I would like to run test cases in the essential parts only. I think that maintainer would revise the Dockerfile for releases during the release or the refactoring period.

Seems we need a further PR for revising the current Dockerfile for releases for completely merging this PR. What do you think? 😄

Currently, this PR looks good to me. However running github actions on alpine image seems unnecessary.


After exit from xdebug (by pressing F6) my F2 bind become broken

I have own bind on F2 key (saving current file). After stop debugging pressing on F2 not work.
I also tried to ask on SO, but have not received any answer yet http://stackoverflow.com/questions/33947899/vim-after-exit-from-xdebug-command-binded-on-f2-not-work
Is it possible to fix this? And if possible, how can I do it?

@sergio-ivanuzzo A quick workaround could be for you to remap F2 used by vdebug to something else.
see: https://github.com/joonty/vdebug/blob/master/doc/Vdebug.txt#L979

got it. Thanks.


add ipv6 parameter for apisix-build rpm build

this issue

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


Fixes #3867 ITK install fails if hdf5 is installed

Enabled ITK_USE_SYSTEM_HDF5 to use vcpkg's hdf5
Added a patch file for Modules/ThirdParty/HDF5/CMakeLists.txt. This patch ensure that find_package() found vcpkg's hdf5 correctly by config mode.

build confirmed x86-windows, x64-windows, x86-windows-static, x64-windows-static.
#3867

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

commit 7c22e85 looks good.
I successfully build itk:x64-windows and itk:x64-windows-static at c:\src\vcpkg
Could you proceed to merge ?

rebased


Modify swagger UI

How can I do custom modification of generated swagger UI (e.g. logo, theme etc.)? Is there any configuration that can be provided to add any custom file (CSS/JS)?
Thanks.

Hi, @monis01
There is no, at the moment, moreover, they are zipped and packed in order to reduce size of the package, which saves about 1MB, as it is critical when is used with functions.
In what cases you want to use the described scenario?

Closed as there is no activity


nature.com support

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.11.22. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.11.22

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Site support request (request for adding support for a new site)

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'http://www.nature.com/nature/videoarchive/tickling-rats/index.html', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.11.22
[debug] Python version 2.7.12 - Linux-4.4.0-47-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.8-0ubuntu<IP_ADDRESS>, ffprobe 2.8.8-0ubuntu<IP_ADDRESS>, rtmpdump 2.4
[debug] Proxy map: {}
[generic] index: Requesting header
WARNING: Falling back on generic information extractor.
[generic] index: Downloading webpage
[generic] index: Extracting information
ERROR: Unsupported URL: http://www.nature.com/nature/videoarchive/tickling-rats/index.html
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 1636, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/compat.py", line 2526, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/compat.py", line 2515, in _XML
    parser.feed(text)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1653, in feed
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1517, in _raiseerror
    raise err
ParseError: undefined entity  : line 329, column 64
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 694, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 357, in extract
    return self._real_extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 2443, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://www.nature.com/nature/videoarchive/tickling-rats/index.html

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: http://www.nature.com/nature/videoarchive/tickling-rats/index.html

To developers: YouTube Flash embed

Seems to work now:
$ youtube-dl "http://www.nature.com/nature/videoarchive/tickling-rats/index.html" -F
[generic] index: Requesting header
[redirect] Following redirect to http://www.nature.com/nature/videoarchive/tickling-rats/index.html?foxtrotcallback=true
[generic] index: Requesting header
WARNING: Falling back on generic information extractor.
[generic] index: Downloading webpage
[generic] index: Extracting information
[download] Downloading playlist: What makes rats ticklish? : Nature
[generic] playlist What makes rats ticklish? : Nature: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[youtube] K9YzB57OQuw: Downloading webpage
[youtube] K9YzB57OQuw: Downloading video info webpage
[youtube] K9YzB57OQuw: Extracting video information
[youtube] K9YzB57OQuw: Downloading MPD manifest
[info] Available formats for K9YzB57OQuw:
format code  extension  resolution note
139          m4a        audio only DASH audio   48k , m4a_dash container, mp4a.40.5@ 48k (22050Hz), 458.37KiB
249          webm       audio only DASH audio   54k , opus @ 50k, 503.13KiB
250          webm       audio only DASH audio   75k , opus @ 70k, 684.12KiB
171          webm       audio only DASH audio  121k , vorbis@128k, 1.06MiB
140          m4a        audio only DASH audio  128k , m4a_dash container, mp4a.40.2@128k (44100Hz), 1.19MiB
251          webm       audio only DASH audio  145k , opus @160k, 1.30MiB
278          webm       256x144    144p  108k , webm container, vp9, 30fps, video only, 851.56KiB
160          mp4        256x144    DASH video  115k , avc1.4d400c, 30fps, video only, 1.02MiB
133          mp4        426x240    DASH video  253k , avc1.4d4015, 30fps, video only, 2.24MiB
242          webm       426x240    240p  259k , vp9, 30fps, video only, 1.65MiB
243          webm       640x360    360p  464k , vp9, 30fps, video only, 3.04MiB
134          mp4        640x360    DASH video  633k , avc1.4d401e, 30fps, video only, 3.27MiB
244          webm       854x480    480p  867k , vp9, 30fps, video only, 5.29MiB
135          mp4        854x480    DASH video 1160k , avc1.4d401f, 30fps, video only, 6.23MiB
247          webm       1280x720   720p 1723k , vp9, 30fps, video only, 10.35MiB
136          mp4        1280x720   DASH video 2320k , avc1.4d401f, 30fps, video only, 11.84MiB
248          webm       1920x1080  1080p 3007k , vp9, 30fps, video only, 18.49MiB
137          mp4        1920x1080  DASH video 4337k , avc1.640028, 30fps, video only, 21.48MiB
17           3gp        176x144    small , mp4v.20.3, mp4a.40.2@ 24k
36           3gp        320x180    small , mp4v.20.3, mp4a.40.2
43           webm       640x360    medium , vp8.0, vorbis@128k
18           mp4        640x360    medium , avc1.42001E, mp4a.40.2@ 96k
22           mp4        1280x720   hd720 , avc1.64001F, mp4a.40.2@192k (best)
[download] Finished downloading playlist: What makes rats ticklish? : Nature

I think this issue can be closed.

That's an YouTube embed. If all videos on nature.com are that way, then yes, fine.

Right, here I could find one, that does not work:
http://www.nature.com/nature/videoarchive/memory/index.html