remove k8s dashboard

Execution result of run-all plan in infrastructure/cloud :
time=2023-10-15T13:56:20Z level=info msg=The stack at /github/workspace/infrastructure/cloud will be processed in the following order for command plan:
Group 1
- Module /github/workspace/infrastructure/cloud/cloudflare/access
- Module /github/workspace/infrastructure/cloud/cloudflare/tunnel

Group 2
- Module /github/workspace/infrastructure/cloud/cloudflare/dns

Initializing the backend...

Initializing the backend...

Successfully configured the backend "s3"! Terraform will automatically
use this backend unless the backend configuration changes.

Successfully configured the backend "s3"! Terraform will automatically
use this backend unless the backend configuration changes.

Initializing provider plugins...
- Reusing previous version of cloudflare/cloudflare from the dependency lock file
- Reusing previous version of integrations/github from the dependency lock file
- Reusing previous version of hashicorp/aws from the dependency lock file

Initializing provider plugins...
- Reusing previous version of hashicorp/aws from the dependency lock file
- Reusing previous version of cloudflare/cloudflare from the dependency lock file
- Installing cloudflare/cloudflare v4.16.0...
- Reusing previous version of integrations/github from the dependency lock file
- Installing integrations/github v5.40.0...
- Installed cloudflare/cloudflare v4.16.0 (self-signed, key ID C76001609EE3B136)
- Installing integrations/github v5.40.0...
- Installed integrations/github v5.40.0 (signed by a HashiCorp partner, key ID 38027F80D7FD5FB2)
- Installing hashicorp/aws v5.21.0...
- Installed integrations/github v5.40.0 (signed by a HashiCorp partner, key ID 38027F80D7FD5FB2)
- Installing hashicorp/aws v5.21.0...
- Installed hashicorp/aws v5.21.0 (signed by HashiCorp)
- Installing cloudflare/cloudflare v4.16.0...
- Installed hashicorp/aws v5.21.0 (signed by HashiCorp)

Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/cli/plugins/signing.html

Terraform has made some changes to the provider dependency selections recorded
in the .terraform.lock.hcl file. Review those changes and commit them to your
version control system if they represent changes you intended to make.

Terraform has been successfully initialized!
- Installed cloudflare/cloudflare v4.16.0 (self-signed, key ID C76001609EE3B136)

Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/cli/plugins/signing.html

Terraform has made some changes to the provider dependency selections recorded
in the .terraform.lock.hcl file. Review those changes and commit them to your
version control system if they represent changes you intended to make.

Terraform has been successfully initialized!
cloudflare_tunnel.this: Refreshing state... [id=de250703-6c08-400d-b568-bc0aa34cabaf]
cloudflare_access_application.this: Refreshing state... [id=bcaa03ae-0a94-42ad-935c-487ca0a80723]
data.github_ip_ranges.this: Reading...
data.github_ip_ranges.this: Read complete after 0s [id=github-ip-ranges]
cloudflare_access_policy.this: Refreshing state... [id=1b62d9cb-f555-4d23-b815-dfe3f92bd2a1]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Initializing the backend...

Successfully configured the backend "s3"! Terraform will automatically
use this backend unless the backend configuration changes.

Initializing provider plugins...
- Reusing previous version of cloudflare/cloudflare from the dependency lock file
- Reusing previous version of integrations/github from the dependency lock file
- Reusing previous version of hashicorp/aws from the dependency lock file
- Installing hashicorp/aws v5.21.0...
- Installed hashicorp/aws v5.21.0 (signed by HashiCorp)
- Installing cloudflare/cloudflare v4.16.0...
- Installed cloudflare/cloudflare v4.16.0 (self-signed, key ID C76001609EE3B136)
- Installing integrations/github v5.40.0...
- Installed integrations/github v5.40.0 (signed by a HashiCorp partner, key ID 38027F80D7FD5FB2)

Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/cli/plugins/signing.html

Terraform has made some changes to the provider dependency selections recorded
in the .terraform.lock.hcl file. Review those changes and commit them to your
version control system if they represent changes you intended to make.

Terraform has been successfully initialized!
cloudflare_record.public_record: Refreshing state... [id=16e19a8901e14239e7345e3922f318f9]
cloudflare_record.internal_record["kiali_internal"]: Refreshing state... [id=3e29d0bc6567b4c0fecd6db58e432160]
cloudflare_record.internal_record["kubernetes_dashboard_internal"]: Refreshing state... [id=fa7088e7eea5b60e6faa22edc0efb01f]
cloudflare_record.internal_record["longhorn_internal"]: Refreshing state... [id=9d9e7849509ddd1ca1420bfb93085ddb]
cloudflare_record.internal_record["adguard_internal"]: Refreshing state... [id=5803590e9218027a34aae666383f8211]
cloudflare_record.internal_record["argocd_internal"]: Refreshing state... [id=ad2633b9ce86a1786416dd851cb5c4d3]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  - destroy

Terraform will perform the following actions:

  # cloudflare_record.internal_record["kubernetes_dashboard_internal"] will be destroyed
  # (because key ["kubernetes_dashboard_internal"] is not in for_each map)
  - resource "cloudflare_record" "internal_record" {
      - allow_overwrite = false -> null
      - created_on      = "2023-10-14T19:43:53.237008Z" -> null
      - hostname        = "kubernetes-dashboard.internal.siutsin.com" -> null
      - id              = "fa7088e7eea5b60e6faa22edc0efb01f" -> null
      - metadata        = {
          - "auto_added"             = "false"
          - "managed_by_apps"        = "false"
          - "managed_by_argo_tunnel" = "false"
          - "source"                 = "primary"
        } -> null
      - modified_on     = "2023-10-14T19:43:53.237008Z" -> null
      - name            = "kubernetes-dashboard.internal" -> null
      - proxiable       = false -> null
      - proxied         = false -> null
      - tags            = [] -> null
      - ttl             = 1 -> null
      - type            = "A" -> null
      - value           = "<IP_ADDRESS>" -> null
      - zone_id         = (sensitive value) -> null
    }

Plan: 0 to add, 0 to change, 1 to destroy.

Execution result of run-all plan in infrastructure/cloud :
time=2023-10-15T13:57:58Z level=info msg=The stack at /github/workspace/infrastructure/cloud will be processed in the following order for command plan:
Group 1
- Module /github/workspace/infrastructure/cloud/cloudflare/access
- Module /github/workspace/infrastructure/cloud/cloudflare/tunnel

Group 2
- Module /github/workspace/infrastructure/cloud/cloudflare/dns

Initializing the backend...

Initializing the backend...

Successfully configured the backend "s3"! Terraform will automatically
use this backend unless the backend configuration changes.

Successfully configured the backend "s3"! Terraform will automatically
use this backend unless the backend configuration changes.

Initializing provider plugins...
- Reusing previous version of integrations/github from the dependency lock file
- Reusing previous version of hashicorp/aws from the dependency lock file

Initializing provider plugins...
- Reusing previous version of cloudflare/cloudflare from the dependency lock file
- Reusing previous version of cloudflare/cloudflare from the dependency lock file
- Reusing previous version of integrations/github from the dependency lock file
- Reusing previous version of hashicorp/aws from the dependency lock file
- Installing integrations/github v5.40.0...
- Installing cloudflare/cloudflare v4.16.0...
- Installed integrations/github v5.40.0 (signed by a HashiCorp partner, key ID 38027F80D7FD5FB2)
- Installed cloudflare/cloudflare v4.16.0 (self-signed, key ID C76001609EE3B136)
- Installing hashicorp/aws v5.21.0...
- Installing integrations/github v5.40.0...
- Installed integrations/github v5.40.0 (signed by a HashiCorp partner, key ID 38027F80D7FD5FB2)
- Installing hashicorp/aws v5.21.0...
- Installed hashicorp/aws v5.21.0 (signed by HashiCorp)
- Installing cloudflare/cloudflare v4.16.0...
- Installed cloudflare/cloudflare v4.16.0 (self-signed, key ID C76001609EE3B136)

Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/cli/plugins/signing.html

Terraform has made some changes to the provider dependency selections recorded
in the .terraform.lock.hcl file. Review those changes and commit them to your
version control system if they represent changes you intended to make.

Terraform has been successfully initialized!
- Installed hashicorp/aws v5.21.0 (signed by HashiCorp)

Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/cli/plugins/signing.html

Terraform has made some changes to the provider dependency selections recorded
in the .terraform.lock.hcl file. Review those changes and commit them to your
version control system if they represent changes you intended to make.

Terraform has been successfully initialized!
cloudflare_tunnel.this: Refreshing state... [id=de250703-6c08-400d-b568-bc0aa34cabaf]
cloudflare_access_application.this: Refreshing state... [id=bcaa03ae-0a94-42ad-935c-487ca0a80723]
data.github_ip_ranges.this: Reading...
data.github_ip_ranges.this: Read complete after 0s [id=github-ip-ranges]
cloudflare_access_policy.this: Refreshing state... [id=1b62d9cb-f555-4d23-b815-dfe3f92bd2a1]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Initializing the backend...

Successfully configured the backend "s3"! Terraform will automatically
use this backend unless the backend configuration changes.

Initializing provider plugins...
- Reusing previous version of cloudflare/cloudflare from the dependency lock file
- Reusing previous version of integrations/github from the dependency lock file
- Reusing previous version of hashicorp/aws from the dependency lock file
- Installing cloudflare/cloudflare v4.16.0...
- Installed cloudflare/cloudflare v4.16.0 (self-signed, key ID C76001609EE3B136)
- Installing integrations/github v5.40.0...
- Installed integrations/github v5.40.0 (signed by a HashiCorp partner, key ID 38027F80D7FD5FB2)
- Installing hashicorp/aws v5.21.0...
- Installed hashicorp/aws v5.21.0 (signed by HashiCorp)

Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/cli/plugins/signing.html

Terraform has made some changes to the provider dependency selections recorded
in the .terraform.lock.hcl file. Review those changes and commit them to your
version control system if they represent changes you intended to make.

Terraform has been successfully initialized!
cloudflare_record.internal_record["kubernetes_dashboard_internal"]: Refreshing state... [id=fa7088e7eea5b60e6faa22edc0efb01f]
cloudflare_record.internal_record["kiali_internal"]: Refreshing state... [id=3e29d0bc6567b4c0fecd6db58e432160]
cloudflare_record.internal_record["longhorn_internal"]: Refreshing state... [id=9d9e7849509ddd1ca1420bfb93085ddb]
cloudflare_record.internal_record["argocd_internal"]: Refreshing state... [id=ad2633b9ce86a1786416dd851cb5c4d3]
cloudflare_record.internal_record["adguard_internal"]: Refreshing state... [id=5803590e9218027a34aae666383f8211]
cloudflare_record.public_record: Refreshing state... [id=16e19a8901e14239e7345e3922f318f9]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  - destroy

Terraform will perform the following actions:

  # cloudflare_record.internal_record["kubernetes_dashboard_internal"] will be destroyed
  # (because key ["kubernetes_dashboard_internal"] is not in for_each map)
  - resource "cloudflare_record" "internal_record" {
      - allow_overwrite = false -> null
      - created_on      = "2023-10-14T19:43:53.237008Z" -> null
      - hostname        = "kubernetes-dashboard.internal.siutsin.com" -> null
      - id              = "fa7088e7eea5b60e6faa22edc0efb01f" -> null
      - metadata        = {
          - "auto_added"             = "false"
          - "managed_by_apps"        = "false"
          - "managed_by_argo_tunnel" = "false"
          - "source"                 = "primary"
        } -> null
      - modified_on     = "2023-10-14T19:43:53.237008Z" -> null
      - name            = "kubernetes-dashboard.internal" -> null
      - proxiable       = false -> null
      - proxied         = false -> null
      - tags            = [] -> null
      - ttl             = 1 -> null
      - type            = "A" -> null
      - value           = "<IP_ADDRESS>" -> null
      - zone_id         = (sensitive value) -> null
    }

Plan: 0 to add, 0 to change, 1 to destroy.


weather: fix widget icon

Only the widget was broken, not the app.
Fixes https://github.com/espruino/BangleApps/issues/1049#issuecomment-1005560918

Thanks @rigrig for fixing this!


Support for transposing instruments

Hi there,
I already asked about this in the musickit project, but maybe it's a more relevant issue for mxml.
I wanted to know if there was support for the  tags in MusicXML files, so I can display a score differently depending on what instrument is used.
If not, would you be able to point me in the right direction in implementing this feature myself?
Thanks again for your work!

Sounds like you would have to keep track of the transpose and modify the pitches. Sorry for not being much help, it's been a while since I looked at the code.

No worries, thank you for getting back to me!
I have done it this way and have it nearly working— going through each note and transposing it manually with a helper method that I made. However I'm having problems setting the overall key of the score. I'm doing it like this:
    for (auto& part : _score->parts()) {

        for (std::size_t measureIndex = 0; measureIndex < part->measures().size(); measureIndex += 1) {
            Measure& measure = *part->measures().at(measureIndex);

			//set the key
			if (measureIndex == 0) {
				auto attributes = std::unique_ptr<dom::Attributes>(new dom::Attributes{});

				std::unique_ptr<dom::Key> newKey = std::unique_ptr<dom::Key>(new dom::Key{});

				NSLog(@"transposition: setting to circle of fifths: %d", [self transpositionToFifths]);

				newKey->setFifths([self transpositionToFifths]);
				attributes->setKey(1, std::unique_ptr<dom::Key>(new dom::Key(*newKey)));
				attributes->setParent(&measure);
				measure.addNode(std::move(attributes));
			}

            for (auto& node : measure.nodes()) {
                if (TimedNode* timedNode = dynamic_cast<TimedNode*>(node.get())) {
                    if (Chord* chord = dynamic_cast<Chord*>(timedNode)) {
                        for (auto& note : chord->notes()) {
							//transpose note
                            note->pitch = transposePitch(std::unique_ptr<dom::Pitch>(new dom::Pitch(note->pitch->step(), note->pitch->alter(), note->pitch->octave())), [[[NSUserDefaults standardUserDefaults] objectForKey:@"current_transposition"] floatValue]);
                        }
                    }
                }
            }
        }
    }

With the above code the key change appears right before the beginning of the second measure, instead of at the beginning of the score. I tried setting the parameter to the score pointer instead of the first measure in this line:
attributes->setParent(&measure);

Except it's giving me this error:
Cannot initialize a parameter of type 'const mxml::dom::Node *' with an rvalue of type 'std::unique_ptr<mxml::dom::Score> *'
I'm sure I will figure this out eventually, I'm just a bit rusty with C++ (usually work with Objc and swift here). If you see anything obvious that I'm missing, let me know 👍
Thanks again!

I figured it out — what I was doing before was adding additional attributes tags to the measure instead of editing the existing ones. I solved this issue using this code:
for (auto & node : measure.nodes()) {
     if (Attributes* attributes = dynamic_cast<Attributes*>(node.get())) {
          attributes->setKey(1, std::unique_ptr<dom::Key>(new dom::Key(*newKey)));

          if ([[[NSUserDefaults standardUserDefaults] objectForKey:@"bassClef"] boolValue]) {
               std::unique_ptr<dom::Clef> bassClef = std::unique_ptr<dom::Clef>(new dom::Clef{});
               bassClef->setSign(presentOptional(Clef::Sign::F));
               attributes->setClef(1, std::unique_ptr<dom::Clef>(new dom::Clef(*bassClef)));
          }
     }
}


make deployed version accessible

Is there some version information available to check what's deployed? Or can we make it available?

The git sha is now simply logged to the console when we load the app. Of course we could also show it in the UI somewhere, but not sure if this is really needed atm.


Error: missing field choices at line 8 column 1

I saw you answered this in Discord but figured i'd document it here. When loading it up for the first time my openai response is invalid:
Error: missing field `choices` at line 8 column 1

After changing my API Key permissions i was able to get it to work:
Permissions: Restricted
Models: Read
Model capabilities: Write
Assistants: Read
Threads: Read
Fine tuning: None
Files: None

You might want to consider calling some kind of meta endpoint to check the API key. Or if the response is invalid add some extra detail to the error message about what may be the problem. Perhaps there is a header or status code you can go off of? Not very familiar with openai's API

This will likely need to be handled per plug-in, as may differ based on LLM service implementation.  Improving the error handling for the built-in plug-ins would definitely help onboarding.
For now, noting a few options for troubleshooting.
A good way to check a tokens would be to call their service directly with curl.
OpenAI:
curl -v https://api.openai.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -d '{
    "model": "gpt-3.5-turbo",
    "messages": [
      {
        "role": "system",
        "content": "You are a helpful assistant."
      },
      {
        "role": "user",
        "content": "Who won the world series in 2020?"
      }
    ]
  }'

Perplexity:
curl --request POST \
    --url https://api.perplexity.ai/chat/completions \
    --header "Authorization: Bearer $PERPLEXITY_API_KEY" \
    --header 'accept: application/json' \
    --header 'content-type: application/json' \
    --data '
{
 "model": "llama-3-sonar-small-32k-online",
 "messages": [
   {
     "role": "system",
     "content": "Be precise and concise."
   },
   {
     "role": "user",
     "content": "How many stars are there in our galaxy?"
   }
 ]
}
'

Cloudflare:
curl https://api.cloudflare.com/client/v4/accounts/$CF_ACCOUNT_ID/ai/run/@cf/meta/llama-3-8b-instruct \
  -H "Authorization: Bearer $WORKERS_AI_TOKEN" \
  -d '{ "prompt": "Where did the phrase Hello World come from" }'

You can also test specific plug-ins directly via the extism cli with increased logging, like this:
extism call https://cdn.modsurfer.dylibso.com/api/v1/module/114e1e892c43baefb4d50cc8b0e9f66df2b2e3177de9293ffdd83898c77e04c7.wasm completion \
      --set-config="{\"api_key\": \"$OPENAI_API_KEY\"}" \
      --input="Explain extism in the context of wasm succinctly." \
      --allow-host=api.openai.com --log-level=info

All plugins now have improved error handling to surface details from their respective API on non-200 responses. Updating to release 2.2+ will migrate the local configuration to use the latest plugins and keep them updated moving forward.


fix: Infinite loader after saving Robotoff answers

What

If a user is not connected, and he answers one or more Robotoff questions, he can sign in to have this contribution linked to his account

Once the user is connected, there was an infinite loader

The issue is that the loader is expecting a value from the Future to dismiss the dialog

Fixes bug(s)

Fixes: #2954

Codecov Report

Merging #2991 (448522a) into develop (4401af0) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           develop   #2991      +/-   ##
==========================================
- Coverage     6.58%   6.58%   -0.01%
==========================================
  Files          239     240       +1
  Lines        11821   11884      +63
==========================================
+ Hits           779     782       +3
- Misses       11042   11102      +60

Impacted Files
Coverage Δ

...ges/smooth_app/lib/pages/product/summary_card.dart
0.00% <0.00%> (ø)

packages/smooth_app/lib/pages/question_page.dart
0.00% <0.00%> (ø)

...s/smooth_app/lib/data_models/user_preferences.dart
8.91% <0.00%> (-0.47%)
:arrow_down:

...es/smooth_app/lib/pages/scan/ml_kit_scan_page.dart
0.45% <0.00%> (ø)

...th_app/lib/pages/product/add_new_product_page.dart
0.00% <0.00%> (ø)

...pp/lib/cards/product_cards/product_title_card.dart
0.00% <0.00%> (ø)

...smooth_app/lib/helpers/haptic_feedback_helper.dart
0.00% <0.00%> (ø)

...b/pages/preferences/user_preferences_settings.dart
10.40% <0.00%> (+0.20%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Implement selector widget and add poc

Also:

Move poc/example to poc/src/bin so that each file compiles by default.
Fix the poc/menu description reporting: there was a mistake in string convention

Some quickstart could be added to the README like:
git clone https://github.com/dankamongmen/libnotcurses-sys; cd libnotcurses-sys
cd example/poc
cargo build

Hey @tinmarino thank you so much for your valuable contribution!
I've not given much attention to the widgets yet, and there'are still many unfinished implementing, so if you want to work on them it will be very welcome. As well as any new example you feel inspired to work on.
There's a lot going on in this PR, and the changes are intermixed with all the big refactoring I did yesterday.
Could you please rebase your changes against the latest master, in order to clean up the commit history? Therefore removing the huge merge fix commit and the keys file addition and deletion. Or you could also open a new PR (or multiple PRs) if that's easier for you.
Regarding the NCCHANNEL*_INITIALIZER macros, they are not really needed, since that functionality is already accesible from the ncchannel_set_rgb8 function and the from_rgb8 NcChannel & NcChannels methods, among others, so that can go out too.
I'm not sure about the change on the poc examples from being examples to binaries. What would be the practical benefit? The drawback is that now there's an inconsistency with some examples running as examples and anothers as binaries.
Regarding how to create buttons, there's not a widget for that, and no mechanism. They have to be implemented manually using bare elements. If you see a need for them an issue/discussion should be opened in the notcurses repository first for that.
Finally, the menu poc has never worked well, and it'd need some attention in order to figure out what the bugs are and fix them. I've opened an issue for that.

Hi @joseluis,
I agree with your changes, even if I like the NCCHANNEL*_INITIALIZER macro.
I warn you here when it is done.

Rebase my work so that history is clean (no create / delete)
Keep in example and not src/bin (how do you compile those examples ?)
Remove NCCHANNEL*_INITIALIZER so no touch to macro.rs

@dankamongmen, I read and copied the src/poc/selector.rs but once this PR is accepted, I'll have a look at other POCs.

I agree with your changes, even if I like the NCCHANNEL*_INITIALIZER macro.
I warn you here when it is done.

fantastic.
There are several more macros defined in the C library, like e.g. for initializing cells, that I didn't port either. Instead this library uses constructor methods when possible, for consistency, and in order to encapsulate functionality as much as possible.

Keep in example and not src/bin (how do you compile those examples ?)

go to the project folder and run any of these equivalent commands:

cargo run --example selector
cargo re selector

(I added mnemonic cargo aliases in the .cargo/config.toml file to avoid writing too much when compiling and testing things.)

Changes applied (git rebase origin/pr_7)


MacOS rustPackages build broken because of libiconv

When updating to 21.05, an upstream bug broke the Mac build. Should be fixed before the next release:

Okay, apparently this won’t work for now because of https://github.com/NixOS/nixpkgs/pull/122231.
Merging and hoping it will solve itself before the next release.
Originally posted by @Profpatsch in https://github.com/nix-community/lorri/issues/51#issuecomment-864890216

May be related: https://github.com/NixOS/nixpkgs/issues/126182


Fix Chutzpah URL

I think http://mmanela.github.io/chutzpah/ is a better link. Could you update your PR?


Small changes

yes I think it's best to keep it that way because you may begin with epochs
coming from other's work and may want to add your own cleaning, or test the
impact of a particular cleaning function
Le jeu. 22 avr. 2021 à 22:54, Denis A. Engemann @.***>
a écrit :

@.**** commented on this pull request.
In meegpowreg/power_features.py
https://github.com/DavidSabbagh/meegpowreg/pull/16#discussion_r618731676
:

@@ -120,7 +123,7 @@ def compute_features(
covs = _compute_covs_raw(inst, clean_events, fbands, duration)

 elif isinstance(inst, BaseEpochs):

   epochs_clean = inst

   epochs_clean = clean_func(inst)

but OK with keeping something like this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/DavidSabbagh/meegpowreg/pull/16#discussion_r618731676,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIC2QGQF6V6KQGIMKNPJ4U3TKCEIPANCNFSM43NKYSTQ
.

OK, I am fine with that.

On 22 Apr 2021, at 22:48, David Sabbagh @.***> wrote:
You can view, comment on, or merge this pull request online at:
https://github.com/DavidSabbagh/meegpowreg/pull/16 https://github.com/DavidSabbagh/meegpowreg/pull/16
Commit Summary
cleaning the epochs too
more precise doc string of compute_features
File Changes
M meegpowreg/power_features.py https://github.com/DavidSabbagh/meegpowreg/pull/16/files#diff-448b55185af85956ad4f9bb084550b8f3a2c33c563c41c601a77f73392dcf4d0 (19)
Patch Links:
https://github.com/DavidSabbagh/meegpowreg/pull/16.patch https://github.com/DavidSabbagh/meegpowreg/pull/16.patch
https://github.com/DavidSabbagh/meegpowreg/pull/16.diff https://github.com/DavidSabbagh/meegpowreg/pull/16.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/DavidSabbagh/meegpowreg/pull/16, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOR7CQDHR6ODBTEZCIWWK3TKCDSTANCNFSM43NKYSTQ.

--
Dr. Denis-Alexander Engemann
Research Scientist at Inria-Saclay, Parietal team, Paris, France
Visiting Fellow at the Max Planck Institute for Human Cognitive and Brain Sciences, Department of Neurology, Leipzig, Germany
https://denis-engemann.de
https://twitter.com/dngman
https://github.com/dengemann

@DavidSabbagh thank you!


fix(segment_evaluation): use django_id if present

@matthewelwell need to implement this in the engines of all SDKs.

Note that I've created this issue for tracking the other SDKs.


Clean up kubectl help for auto-gen'd kubectl.md

I accidentally closed https://github.com/GoogleCloudPlatform/kubernetes/pull/4065 when I tried to rebase :/
These are the same changes, rescued by @jlowdermilk  - thanks!!

lgtm, kicking shippable


[Bug] Profiles beginning with numbers other than 0 don't show in Address Directory

Bug Description
At https://home.omg.lol/directory in the # section, only 3 profiles which all begin with 0 show, while the API returns quite a few more profiles beginning with numbers.
Steps to Reproduce
See limited profiles at https://home.omg.lol/directory:

More profiles when accessed via API:
"directory": [
"0",
"0x7f",
"0xdade",
"2k",
"4",
"420",
"6",
"7au",
"8",
"8bit",
"a2",

Thanks, great catch. Just fixed!


[MINOR] update dstream.py with more accurate exceptions

What changes were proposed in this pull request?
The exception messages for dstream.py when using windows were improved to be specific about what sliding duration is important.
Why are the changes needed?
The batch interval of dstreams are improperly named as sliding windows. The term sliding window is also used to reference the new window of a dstream collected over a window of rdds in a parent dstream. We should probably fix the naming convention of sliding window used in the dstream class, but for now more this more explicit exception message may reduce confusion.
Does this PR introduce any user-facing change?
No
How was this patch tested?
It wasn't since this is only a change of the exception message

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@srowen I had missed your comment, I've added minor to the title of the PR. Is that what you meant?

Yes, and change dstream in the changed message

Test build #5005 has started for PR 27525 at commit 3bfc4b1.

Test build #5005 has finished for PR 27525 at commit 3bfc4b1.

This patch fails Python style tests.
This patch does not merge cleanly.
This patch adds no public classes.

@kykrueger if you'll update, I think we can merge this after tests

Reopen if you update this.


Chore/lesq 752/transcript a11y expansion [LESQ-752]

Description
Music year: 1988

Add aria-controls on show/hide transcript button
add aria-expanded on show/hide transcript button
refator the expandable buttons so there is less duplication

Issue(s)
Fixes #
https://www.notion.so/oaknationalacademy/I-want-expanded-true-false-on-the-transcript-component-2b6734dcfec74b958c1a8036c736008f?pvs=4
How to test

Go to https://deploy-preview-2405--oak-web-application.netlify.thenational.academy/teachers/programmes/combined-science-secondary-ks4-higher-ocr/units/eukaryotic-and-prokaryotic-cells/lessons/cells#video
Click on show transcript
You should see the aria-expanded tag changes from hidden = true to false on toggle

@jack-skerrett-oak I can't see any reason in the code, shall I remove the aria-label?

:tada: This PR is included in version 1.427.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


tf grid marketplace homepage feedback

[x] Threefold Marketplace should be TF Grid Marketplace

[x]  'S' should be big on 'Solutions', all titles should have first letter on Caps.

[x] 'Capacity Pools' 'Network' should be on the first top 2 on infrastructure.

[x] can we agree to never write 3Bot as threebot anymore....

3Bot should stay 3Bot. the mobile application is called 3bot connect not 3bot server connect nor 3bot admin connect. Application used to login/connect to a 3Bot
3Bot should be in Apps not because it's simplified, the user doesn't bother with pools, networks, .. etc. @despiegk already signed off on making it an App
Marketplace is enduser first, so probably 3Bot should be the first available app, and Apps to be the first section to be shown
For infrastructure solutions, should be ordered indeed with Pool, Network, Ubuntu
Difference between New and Workloads is new starts the chatflow for new X, while workloads you see all of the deployed X instances and a way to create a new X, this isn't an object to change at this point.

other issues tracked in #709  #710


[Issue] : Update responsive navbar on other pages

Issue Description
Navbar is currently not consistent and responsive on women.html, men.html, arrivals.html as compared to index.html. In the image below is from women.html for example. I would like to fix this.

Are you a Hacktoberfest'21 contributor

[X] Yes, I'am Hacktoberfest'21 contributor

sure @thanh-cao


REACTIVE CLIENT MODELS or DYNAMIC CUSTOMER MODELS TO VALIDATE

Suggestion of changes to validate in blazor, my suggestion is for the case of validations is to make the data model, validate the same or similar to the concept of reactive forms ANGULAR, so I suggest that everything is done through the model of data on the client's side, in conclusion that is the MODEL IN THE CUSTOMER INSTEAD OF THE FORM, because in summary THE MODEL IS THE FORM IN 95% OF THE CASES

Thanks for the suggestion. We're tracking validation in #17.
Yes, I expect it's likely that there will be some model-based approach to validation.

Example
WeatherForecast weatherForecastModelViewADD;
void ADD()
{
    weatherForecastModelViewADD.Date.Validate(new { }, message)
      weatherForecastModelViewADD.Date.Validate(new { })

}

Excellent!!! thank you very much.


building packages that verify gpg keys

How would I add a public gpg key so verification works?

I think a patch is needed for gpg verification to work. Maybe read validpgpkeys from the PKGBUILD and auto-import them in https://github.com/ouuan/pkgbuild-action/blob/master/entrypoint.sh. PR is welcomed :)


Join in the Wandb group to access permission

Dear Sir,
The code shows that:
It appears that you do not have permission to access the requested resource. Please reach out to the project owner to grant you access. If you have the correct permissions, verify that there are no issues with your networking setup.(Error 404: Not Found)
I'm wondering that if this is a private project or we just need to inform you for permission in wandb?
Thanks!

@littleSkirt you can delete codes having wandb, and run it on your laptop directly.


make attribute resolving extendable (branch 3.0)

.. need to extend attribute resolving (if i can not add custom interfaces and it is not a map, a list or an array..)

did a port of pull request #280

As it appears this repo is dying, I have decied to create and maintain a new fork of Pebble at JavaEden/Pebble, and I would love to get this PR merged into the new repo. Please take this PR and open a new one to the dev branch of JavaEden/pebble.
The future of Pebble has been shaky for a while now, but I refuse to let Pebble die. It is a great project, and I hope to give it same love and care that the original maintainers have as they built Pebble. If you have any questions about the future of Pebble, please reach out on Gitter. Let's keep this community alive, I hope to see you over at the new location!
New Pebble Home

Original announcement of new ownership: https://github.com/PebbleTemplates/pebble/issues/311#issuecomment-379496941
https://github.com/JavaEden/pebble
https://bintray.com/javaeden/Eden/Pebble
https://gitter.im/JavaEden/pebble

I like this PR !


[test] Move Swift REPL tests into lang/swift

Move the Swift REPL tests into a more appropriate location within the
project structure. This ensures that the tests run on the Swift bots.
See: https://github.com/apple/swift/pull/19260

@swift-ci test macOS

@swift-ci test

I need to do this again, after discussion with Vedant. Closing.


Add mavensmate session support

Those of us using mavensmate might find this useful. This modification allows grunt-ant-sfdc to use the mavensmate session config for authentication. I haven't done extensive testing... but I did add some tests for the parse auth function.

Sorry for the delay on this. I'll check it out and see how it works.

Thanks, just released this in 1.0


Update AWS screens across all documentation

As they have done a huge UI overall recently.

Duplicate of #1674


Updated API fix for patch ^3.4.1/^10.0.2

Quick fix to update to blizzard's new APIs for bag slots.

Did you actually change Ace or did you just grab the latest version?


Stock Page

From the R1 requirements:

You should have a stock page for any ticker symbols that the user may "punch in". Displayed data should include:

Current price
Day's high
Day's low
Yearly high
Yearly low
An interactive chart of the stock (not just a retrieved image)

PR https://github.com/TeamMartinez/YOLO-Client/pull/36


Application Sharing Failed in Distributed Setup

Description
Description
In a distributed setup Application sharing feature is not working.
Note: This is an issue only in the distributed setup, locally this feature is working fine
Doc reference: https://apim.docs.wso2.com/en/latest/consume/manage-application/sharing-applications/sharing-applications/
Steps to Reproduce

Create a tenant
Create User1 in Org1
Sign in to the devportal as User1
Create an Application in Org1 and logout
Create User2 in Org1
Sign in to the devportal as User2
The Application created by User1 is visible to User2 but it is not accessible, no changes can be made to this application by User2

Affected Component
APIM
Version
4.4.0
Environment Details (with versions)
Distributed Setup
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

Hi @DivyaPremanantha,
This is the default behavior as only the owner of the application can update an application. The same behavior can be seen in both in all-in-one and distributed setups.


add mutable boolean flag to the bus structure

So, this PR in the end seems to be slower, not drammatically slower, but slower


Add support for ALIAS

Super usefull SDK as we have 750+ PLC connected thru KEPServers.
It would be even greater to cover the whole configuration process by providing a way to CRUD KEPServer aliases.
I tried to set it up within the device DATA struct without any success.
Any roadmap for this one ?
Thx

@oh-thinky Thanks for the feedback. Sorry I missed the notification, but it is certainly something that could be added.
What are you using aliases for?

Np. Thank for coming back on this.
We use aliases to standardise naming of the underlying PLC.
Two objectives:
1- Independence from the subcontractor's PLC Name set in KEPWare : it allows us to automate the SCADA configuration's address path without having to query KEPServer (as it wasn't possible when we started 7 yrs ago) or even, configure the SCADA before the PLC is implemented.
2- It also shorten the access paths for the SCADA (AVEVA in our case)

Makes sense. I'll look to add that subset sometime soon.
You can hack this in temporarily by using the internal methods for the server class instance. You just need to manually build the URL, which shouldn't be too hard, since it's /config/v1/project/aliases
Here's an example of reading the aliases. I didn't do any exception handling but you'll get the HTTP/URL exceptions if the calls fail:
from kepconfig.connection import server

server =  server(host = 'localhost', port = 57412, user = 'Administrator', pw = '', https=False)

# server.url will return http://host:port/config/v1
# Get Aliases
r = server._config_get(server.url + '/project/aliases')
print (r.payload)

# Add Alias
alias = {
    "common.ALLTYPES_NAME": "Test",
    "common.ALLTYPES_DESCRIPTION": "",
    "servermain.ALIAS_MAPPED_TO": "Channel1.Device1",
    "servermain.ALIAS_SCAN_RATE_MILLISECONDS": 0
}

r = server._config_add(server.url + '/project/aliases', alias)
print(r.reason)

# Change Alias
alias["servermain.ALIAS_MAPPED_TO"] = 'Channel2.Device1'
alias['FORCE_UPDATE'] = True

r = server._config_update(server.url + '/project/aliases' +'/'+ alias['common.ALLTYPES_NAME'], alias)
print(r.reason)

# Delete Alias
r= server._config_del(server.url + '/project/aliases' +'/'+ alias['common.ALLTYPES_NAME'])
print(r.reason)

We also developed an API viewer that could be helpful as well if you need to look at the data models and urls of the API here

Thank you I’ll check into that.
Have a good day,
Olivier HAUTIER
+32.(0)477.031.487
THINKY srl
Avenue des Sorbiers, 10
B – 1410 Waterloo
Belgium
De : Ray Labbe @.>
Envoyé : mardi 3 décembre 2024 17:50
À : PTCInc/Kepware-ConfigAPI-SDK-Python @.>
Cc : Olivier Hautier @.>; Mention @.>
Objet : Re: [PTCInc/Kepware-ConfigAPI-SDK-Python] Add support for ALIAS (Issue #33)
Makes sense. I'll look to add that subset sometime soon.
You can hack this in temporarily by using the internal methods for the server class instance. You just need to manually build the URL, which shouldn't be too hard, since it's /config/v1/project/aliases
Here's an example of reading the aliases. I didn't do any exception handling but you'll get the HTTP/URL exceptions if the calls fail:
from kepconfig.connection import server
server =  server(host = 'localhost', port = 57412, user = 'Administrator', pw = '', https=False)
server.url will return http://host:port/config/v1
Get Aliases
r = server._config_get(server.url + '/project/aliases')
print (r.payload)
Add Alias
alias = {
"common.ALLTYPES_NAME": "Test",

"common.ALLTYPES_DESCRIPTION": "",

"servermain.ALIAS_MAPPED_TO": "Channel1.Device1",

"servermain.ALIAS_SCAN_RATE_MILLISECONDS": 0

}
r = server._config_add(server.url + '/project/aliases', alias)
print(r.reason)
Change Alias
alias["servermain.ALIAS_MAPPED_TO"] = 'Channel2.Device1'
alias['FORCE_UPDATE'] = True
r = server._config_update(server.url + '/project/aliases' +'/'+ alias['common.ALLTYPES_NAME'], alias)
print(r.reason)
Delete Alias
r= server._config_del(server.url + '/project/aliases' +'/'+ alias['common.ALLTYPES_NAME'])
print(r.reason)
We also developed an API viewer that could be helpful as well if you need to look at the data models and urls of the API herehttps://github.com/PTCInc/Kepware-Example-Scripts/tree/master/Config API/Config API Endpoint and Property Viewer
—
Reply to this email directly, view it on GitHubhttps://github.com/PTCInc/Kepware-ConfigAPI-SDK-Python/issues/33#issuecomment-2515086367, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUOBLJ4P34YT6CDRCXZPOG32DXOMRAVCNFSM6AAAAABLA57MEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJVGA4DMMZWG4.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>


Configure wizard is partly shown

In some low resolution screen, configure wizard first page is only partly shown with no scroll bar to access the input fields for completing the wizard.
@paulmchen

We need to port this from initial branch into the latest branch as well.


Contexts without any tests

In the following code, I accidentally created a context without any tests, because the it 'is chunky' is after the context has ended.
describe Bacon do
  let(:bacon) { Bacon.new(chunkiness) }
  let(:chunkiness) { false }
  context 'extra chunky' do
    let(:chunkiness) { true }
  end

  it 'is chunky' do
    expect(bacon.chunky?).to be_truthy
  end
end

Contexts without any tests should generate an offense.

:+1:

Interesting. I wish it was easy for us to have a namespace of our own like RuboCop does. Then this could be classified as RSpec/Lint/EmptyContext

This is in master now


denv script [build|web]pro_REV

script should look for buildpro_REV in root CMakeLists.txt file first, so project can override if buildpro_REV is set in a toplevel.cmake in a submodule (like CommonLibraries)
add ability for project to
set(webpro_REV NONE)

so that it can set this in the root CMakeLists.txt and override if webpro_REV is set in a toplevel.cmake in a submodule (like CommonLibraries)

completed with commit to main branch referenced above


Redis implementation in 0.4.x

Hi,
Just wondering what your ideas are for Redis implementation in 0.4.x. Will you use Redis to replace the taskdb/scheduler part or more?  Redis will be very good for the task and scheduler part but I doubt anything more than that.

Yes, Redis as database and message queue is in TODO list of 0.3.x before 0.4.0 release.
Redis database is an option, you can use it to replace taskdb, projectdb and/or resultdb as well as the message queue.
Redis is an in-memory database and have better performance. But it will cost more memory resource to store task information (including the finished tasks).

Good implementation of Redis can reduce memory a lot. For example tumblr http://instagram-engineering.tumblr.com/post/12202313862/storing-hundreds-of-millions-of-simple-key-value

I saw you committed redis queue, how is the performance/benchmark from your side?

redis:
[I 150430 00:52:15 bench:143] message queue put 1000
[I 150430 00:52:15 bench:152] cost 0.22s, 4648.37/s 0.22ms
[I 150430 00:52:15 bench:155] message queue get 1000
[I 150430 00:52:16 bench:162] cost 0.17s, 5734.86/s 0.17ms
[I 150430 00:52:16 bench:143] message queue put 10000
[I 150430 00:52:17 bench:152] cost 1.90s, 5250.92/s 0.19ms
[I 150430 00:52:17 bench:155] message queue get 10000
[I 150430 00:52:19 bench:162] cost 1.85s, 5409.21/s 0.18ms
compare with rabbitmq:
[I 150430 00:54:05 bench:143] message queue put 1000
[I 150430 00:54:05 bench:152] cost 0.38s, 2634.15/s 0.38ms
[I 150430 00:54:05 bench:155] message queue get 1000
[I 150430 00:54:06 bench:162] cost 0.36s, 2747.07/s 0.36ms
[I 150430 00:54:06 bench:143] message queue put 10000
[I 150430 00:54:09 bench:152] cost 3.73s, 2681.52/s 0.37ms
[I 150430 00:54:09 bench:155] message queue get 10000
[I 150430 00:54:13 bench:162] cost 3.58s, 2790.52/s 0.36ms
beanstalk:
[I 150430 00:55:12 bench:143] message queue put 1000
[I 150430 00:55:12 bench:152] cost 0.16s, 6153.16/s 0.16ms
[I 150430 00:55:12 bench:155] message queue get 1000
[I 150430 00:55:12 bench:162] cost 0.25s, 4051.47/s 0.25ms
[I 150430 00:55:12 bench:143] message queue put 10000
[I 150430 00:55:14 bench:152] cost 1.63s, 6142.39/s 0.16ms
[I 150430 00:55:14 bench:155] message queue get 10000
[I 150430 00:55:16 bench:162] cost 2.43s, 4115.67/s 0.24ms
builtin:
[I 150430 01:05:23 bench:144] message queue put 1000
[I 150430 01:05:23 bench:153] cost 0.01s, 94758.69/s 0.01ms
[I 150430 01:05:23 bench:156] message queue get 1000
[I 150430 01:05:23 bench:167] cost 0.02s, 52579.31/s 0.02ms
[I 150430 01:05:23 bench:144] message queue put 10000
[I 150430 01:05:23 bench:153] cost 0.10s, 98862.11/s 0.01ms
[I 150430 01:05:23 bench:156] message queue get 10000
[I 150430 01:05:24 bench:167] cost 0.22s, 44738.53/s 0.02ms


Acronyms list for user support

linking to FAQ (issue #7), explaining error issues (issues #11)
Purpose: have a list of acronyms used in support documentation or that are useful for interacting with ADC.
doi - digital object identifier
eml - ecological metadata language, read more at https://en.wikipedia.org/wiki/Ecological_Metadata_Language
sid
urn -
uuid - universally unique identifier

I went through the website and defined all first instances of an acronym on a page - I think that should be sufficient to close out this issue.


Why does the SVG contain references to scripts?

The output SVG contains numerous relative path references to JavaScript files:
<svg:script xmlns="http://www.w3.org/1999/xhtml" type="text/ecmascript" xlink:href="../js/syntaxdiagram-svg/constants.js" xlink:type="simple" xlink:actuate="onLoad" xlink:show="other"/>
<svg:script xmlns="http://www.w3.org/1999/xhtml" type="text/ecmascript" xlink:href="../js/syntaxdiagram-svg/diagram.js" xlink:type="simple" xlink:actuate="onLoad" xlink:show="other"/>
<svg:script xmlns="http://www.w3.org/1999/xhtml" type="text/ecmascript" xlink:href="../js/syntaxdiagram-svg/sequence.js" xlink:type="simple" xlink:actuate="onLoad" xlink:show="other"/>
<svg:script xmlns="http://www.w3.org/1999/xhtml" type="text/ecmascript" xlink:href="../js/syntaxdiagram-svg/loop.js" xlink:type="simple" xlink:actuate="onLoad" xlink:show="other"/>
<svg:script xmlns="http://www.w3.org/1999/xhtml" type="text/ecmascript" xlink:href="../js/syntaxdiagram-svg/decision.js" xlink:type="simple" xlink:actuate="onLoad" xlink:show="other"/>
<svg:script xmlns="http://www.w3.org/1999/xhtml" type="text/ecmascript" xlink:href="../js/syntaxdiagram-svg/revdecision.js" xlink:type="simple" xlink:actuate="onLoad" xlink:show="other"/>
<svg:script xmlns="http://www.w3.org/1999/xhtml" type="text/ecmascript" xlink:href="../js/syntaxdiagram-svg/boxed.js" xlink:type="simple" xlink:actuate="onLoad" xlink:show="other"/>
<svg:script xmlns="http://www.w3.org/1999/xhtml" type="text/ecmascript" xlink:href="../js/syntaxdiagram-svg/unboxed.js" xlink:type="simple" xlink:actuate="onLoad" xlink:show="other"/>
<svg:script xmlns="http://www.w3.org/1999/xhtml" type="text/ecmascript" xlink:href="../js/syntaxdiagram-svg/text.js" xlink:type="simple" xlink:actuate="onLoad" xlink:show="other"/>
<svg:script xmlns="http://www.w3.org/1999/xhtml" type="text/ecmascript" xlink:href="../js/syntaxdiagram-svg/void.js" xlink:type="simple" xlink:actuate="onLoad" xlink:show="other"/>
<svg:script xmlns="http://www.w3.org/1999/xhtml" type="text/ecmascript" xlink:href="../js/syntaxdiagram-svg/notecontainer.js" xlink:type="simple" xlink:actuate="onLoad" xlink:show="other"/>
<svg:script xmlns="http://www.w3.org/1999/xhtml" type="text/ecmascript" xlink:href="../js/syntaxdiagram-svg/note.js" xlink:type="simple" xlink:actuate="onLoad" xlink:show="other"/>
<svg:script xmlns="http://www.w3.org/1999/xhtml" type="text/ecmascript" xlink:href="../js/syntaxdiagram-svg/main.js" xlink:type="simple" xlink:actuate="onLoad" xlink:show="other"/>

However, -format=html5 does not copy such files to the output. So, when I view an SVG syntax diagram in a web browser, the browser console contains a "file not found" error for each of these script files.
I can see most of the required script files (or at least, files with those names)—with the notable exception of constants.svg—in com.moldflow.dita.syntaxdiagram2svg\js. I tried copying those files to the relative path expected by the SVG. In addition to the expected remaining error:
GET [...]/syntaxdiagram-svg/constants.js net::ERR_FILE_NOT_FOUND

I got numerous errors about syntaxdiagram_Dispatch being undefined:
diagram.js:3 Uncaught ReferenceError: syntaxdiagram_Dispatch is not defined at diagram.js:3

The documentation in com.moldflow.dita.syntaxdiagram2svg\doc\reference.xml states that com.moldflow.dita.syntaxdiagram2svg\xsl\make-constants.xsl transforms com.moldflow.dita.syntaxdiagram2svg\resource\constants.xml into constants.js—or should do—but I haven't gone looking any further; I decided to write this issue instead.
I notice that the documentation in reference.xml refers to "dynamic SVG".
The "static" SVG syntax diagrams seem (to me) to render just fine in my web browser without those script files (setting aside the browser console errors about the missing files). So... are they required? I've only looked at them briefly, so I'm probably completely wrong about this, but they seem to contain code to dynamically generate the SVG that the static SVG output file already contains.
And: if they're required (which they don't seem to be), then that's going to be a problem for formatting environments such as Antenna House Formatter 6.5 that don't support <script> elements in SVG, right?
Why does the SVG contains those references to <script> elements?
Can you offer more details about the "dynamic SVG" mentioned in reference.xml?
Have I overlooked some documentation that describes all of this?

I tried commenting-out some of the "arrowHead" calls in those JavaScript files and, sure enough, the corresponding arrowheads did not appear in the output SVG. So I'm making some progress (baby steps) at understanding how this plugin works, and also at customizing the appearance of the output.
My original question about why those <script> elements are in the static SVG output remains.

Hi Graham.
The documentation you've found is the only documentation available; it's the documentation that Deborah provided with the original version of the plugins.
The JavaScript is evaluated by Batik (well, Rhino, within Batik) as part of the relatively convoluted path from DITA markup to SVG markup + batik to static SVG. I have not done anything to add or remove the JS references along the path, and they should not cause any problems, so I do not expect to change this (thus the closing of this ticket).
FYI I have been doing a lot of investigation into the arrows, with some small amount of progress, but nothing that I'm really able to share or post at this point. As it stands right now, every arrow in the diagram is generated using exactly the same JS function, resulting in exactly the same CSS class, so simply turning the arrows on/off (in the JS or in the CSS) will remove both the arrows critical that you do want as well as the arrows that you do not want.

Hi @robander,
You wrote:

simply turning the arrows on/off (in the JS or in the CSS) will remove both the arrows critical that you do want as well as the arrows that you do not want.

Really? See the (counter)example diagram under the heading "Example with some of my suggested changes" in my recent comment on issue #2. As described in that comment, I created that diagram by selectively commenting-out calls in the JavaScript to the function that draws the arrowheads (here, I'm deliberately using the specific term "arrowheads", not arrows). That has not removed the "critical" arrowheads that I want to keep.


Gitea API can't handle slash on method https://git_url/api/v1/repos/repo_owner/repo_name/branch_protections

Description
When using Gitea API method https://git_url/api/v1/repos/repo_owner/repo_name/branch_protections and in particular aiming to branches with a slash on the name the response is 404 page not found instead of a treated message from the API itself, got me thinking that maybe this method is not ready to handle slashes on URL.
This is the request:
curl -X 'GET' \
  'https://git_url/api/v1/repos/repo_owner/repo_name/branch_protections/release%2F1' \
  -H 'accept: application/json'

But if I use other method for example:
curl -X 'GET' \
  'https://git_url/api/v1/repos/devops/sample-java-app/branches/release%2F1' \
  -H 'accept: application/json'

I got an expected response from the API:
{
  "errors": null,
  "message": "The target couldn't be found.",
  "url": "https://git_url/api/swagger"
}

Gitea Version
1.17.1
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.37.2
Operating System
CentOS 8
How are you running Gitea?
Running gitea as a systemd service together with postgres DB on a CentOS 8
Database
PostgreSQL

I removed the Authorization header from this thread on purpose but I get expected responses from other methods.
Nothing relevant in the logs, just the trace of the request itself.
Also, something I forgot to mention is we have Nginx on top of Gitea.
I'm attaching prints from swagger to help explain it:
Failed request on branch_protection with just a 404:

Request on branches method that we can see API accepts it and responds:

Can you try to reproduce on the demo?
As well, maybe try on your server directly using curl without hitting the proxy, just to check.

Ok it worked on demo gitea, definitely something wrong on my end, will try to investigate it further.
Thank you @jolheiser

Check you nginx config (especially the ending slash for proxy_pass)
Some reverse proxy will decode the path from release%2F1 to release/1, but Gitea expects to see release%2F1, you can check whether the URI is correct in Gitea's access log.

After doing the mentioned change here https://github.com/go-gitea/gitea/issues/20890#issuecomment-1222347277 just fixed this issue,
thanks, everyone!


chore: Update .codegen.json with commit hash of codegen and openapi spec

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.07%) to 53.907%

Files with Coverage Reduction
New Missed Lines
%

Box.Sdk.Gen/Schemas/ClientError/ClientErrorContextInfoField.cs
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>4:
0.07%

Covered Lines:
8357

Relevant Lines:
16181

💛  - Coveralls


Does this plugin work with MAUI

I want to use BT Classic from a .NET MAUI application on Android.
Do Xaramin plugins work in MAUI?
Can I use this plugin?

I haven't been able to get it working...


Enable torch for scanning , IntentIntegrator

This is my first android project  , I didnt find a way to open the torch while scanning , my code is like this
    IntentIntegrator integrator = new IntentIntegrator(this);
    integrator.setDesiredBarcodeFormats(IntentIntegrator.ONE_D_CODE_TYPES);
    integrator.setPrompt("Scan the barcode");
    integrator.setCameraId(0);  // Use a specific camera of the device
   integrator.setBeepEnabled(true);
    integrator.setCaptureActivity(CaptureActivityAnyOrientation.class);
    integrator.setOrientationLocked(false);
    integrator.initiateScan();

There isn't currently a method to do that via the intent. The user can however control the flashlight with the volume up/down keys. If you need more control than that, you can create a custom Activity.

Thank you very much , i didnt know about the volume keys , it solves my problem

please add torch control also in barcodeview

You can use the ActionBar to add a button


audio not playing after paused prop changes  for the first time, After that it works as expected

Bug
The audio paused when the paused prop changes, but wont start playing after props set to false for first time
Platform
IOS and Android
Which player are you experiencing the problem on:

iOS
Android ExoPlayer
Android MediaPlayer

Environment info

React native info output:
    OS: macOS Mojave 10.14.6
    CPU: (4) x64 Intel(R) Core(TM) i5-4260U CPU @ 1.40GHz
    Memory: 120.88 MB / 4.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 13.8.0 - /usr/local/bin/node
    Yarn: 1.22.0 - /usr/local/bin/yarn
    npm: 6.13.7 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
  IDEs:
    Android Studio: 3.6 AI-192.7<IP_ADDRESS>00805
    Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0
    react-native: 0.61.4 => 0.61.4
  npmGlobalPackages:
    react-native-cli: 2.0.1

I was facing the same problem. For me commenting the following line of code in ReactExoPlayerView.java worked:
 case AudioManager.AUDIOFOCUS_LOSS:
                eventEmitter.audioFocusChanged(false);
//              pausePlayback();   //Comment out this line
                audioManager.abandonAudioFocus(this);
                break;

after changing pause prop whole audio is play from the start. how to prevent it?

@V3RT1AG0 looks like this has been removed in newer versions but im still facing the same issue. i.e. starting paused and setting state to unpause has no sound.
@ncmajith did you find a solution?

I got the exact same problem. Changing the paused prop again or uncommenting the line which @V3RT1AG0 mentions fixes this problem.


Music Recommender enhances and edge cases

Work on a few edge cases and enhancements for the music recommender

[x] Work on the initialization issue and bad API calls
[ ] Automatically stop music playing for an already running audio card when another audio card starts playings
[ ] Add a loader for when changing the layouts
[ ] Put a loader in place for song cards(or hide it) when the weather API is loading
[ ] Show more button/Pagination to allow more songs to show up, currently the limit is 6
[ ] UI enhancements where possible - Particularly for the preference cards

@OmkarAcharekar and I will be working on this. Anyone else who wishes to help out/join in, feel free to ping us
cc: @yashika51

@Mutugiii can you convert those into tasks so that we can get an idea about what tasks are left in this issue.

Thanks for the suggestion @JyotimoyKashyap I've done that!

@JyotimoyKashyap please comment the issue if you are working on any..

Currently, I am working on task 5, Omkar is working on task 4, and we are looking into fixes for task 2

I can work for the 3rd one.

Hey, @Mutugiii @OmkarAcharekar I am planning to work on task 6. Is there anything specific I should keep in mind?

@KKhushhalR2405 not really, feel free to be creative


Intermittent failure of CI for Julia 1.3

Sometimes CI fails for Julia 1.3 (never 1.0). Maybe this is related to #48 and will go away when that is resolved (unsafe multithreading). For the record I'm recording the problem here:
ERROR: LoadError: On worker 2:
392LoadError: LoadError: EOFError: read end of file
393read at ./iostream.jl:361
394parse_cache_header at ./loading.jl:1334
395stale_cachefile at ./loading.jl:1413
396_require_search_from_serialized at ./loading.jl:752
397_require at ./loading.jl:1001
398require at ./loading.jl:922
399require at ./loading.jl:917
400include at ./boot.jl:328 [inlined]
401include_relative at ./loading.jl:1105
402include at ./Base.jl:31 [inlined]
403include at /home/travis/build/alan-turing-institute/MLJTuning.jl/test/models.jl:7
404top-level scope at /home/travis/build/alan-turing-institute/MLJTuning.jl/test/models.jl:14
405include at ./boot.jl:328 [inlined]
406include_relative at ./loading.jl:1105
407include at ./Base.jl:31
408include at ./client.jl:424
409top-level scope at none:0
410eval at ./boot.jl:330
411#105 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Distributed/src/process_messages.jl:290
412run_work_thunk at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Distributed/src/process_messages.jl:79
413run_work_thunk at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Distributed/src/process_messages.jl:88
414#98 at ./task.jl:333
415in expression starting at /home/travis/build/alan-turing-institute/MLJTuning.jl/test/models/DecisionTree.jl:7
416in expression starting at /home/travis/build/alan-turing-institute/MLJTuning.jl/test/models.jl:14
417Stacktrace:
418 [1] sync_end(::Array{Any,1}) at ./task.jl:300
419 [2] macro expansion at ./task.jl:319 [inlined]
420 [3] remotecall_eval(::Module, ::Array{Int64,1}, ::Expr) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Distributed/src/macros.jl:217
421 [4] top-level scope at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Distributed/src/macros.jl:201
422 [5] include at ./boot.jl:328 [inlined]
423 [6] include_relative(::Module, ::String) at ./loading.jl:1105
424 [7] include(::Module, ::String) at ./Base.jl:31
425 [8] include(::String) at ./client.jl:424
426 [9] top-level scope at none:6
427

cc: @OkonSamuel

fixed by #57


Why does Logger is an interface and not a concrete type?

Find the reasons why the Logger type is an interface and not a concrete type (as it was before some commit)

Premature optimization


add logout route

Is your feature request related to a problem? Please describe.
There is currently no way to logout on the frontend.
Describe the solution you'd like
there should be a route /logout that removes the token from the cache. Links to the logout screen should be added when appropriate.
Checklist:

[x] I have double checked that the issue does not currently exist.
[x] I have added the appropriate labels (e.g. feature, front-end, back-end).
[x] I have added the Platform Project project

I'd like to try this

we should leave this to the @701-T4/front-end team

contained in #72


fatal error: cusparse.h: No such file or directory

🐛 Bug
When I run the command:  python setup.py build develop, it has fatal error:
In file included from /home/ubuntu/yuan/maskrcnn-benchmark/maskrcnn_benchmark/csrc/cuda/ROIPool_cuda.cu:3:0:
/home/ubuntu/.conda/envs/pt10/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:12:22: fatal error: cusparse.h: No such file or directory
compilation terminated.
error: command '/usr/local/cuda-9.0/bin/nvcc' failed with exit status 1

And I also check the enviroment:
(pt10) ubuntu@dgx1-84-1:~/yuan/maskrcnn-benchmark$ conda list
# packages in environment at /home/ubuntu/.conda/envs/pt10:
#
# Name                    Version                   Build  Channel
blas                      1.0                         mkl
ca-certificates           2019.1.23                     0
certifi                   2019.3.9                 py36_0
cffi                      1.12.2           py36h2e261b9_1
cudatoolkit               9.0                  h13b8566_0
cycler                    0.10.0                    <pip>
Cython                    0.29.7                    <pip>
intel-openmp              2019.3                      199
kiwisolver                1.0.1                     <pip>
libedit                   3.1.20181209         hc058e9b_0
libffi                    3.2.1                hd88cf55_4
libgcc-ng                 8.2.0                hdf63c60_1
libgfortran-ng            7.3.0                hdf63c60_0
libstdcxx-ng              8.2.0                hdf63c60_1
matplotlib                3.0.3                     <pip>
mkl                       2019.3                      199
mkl_fft                   1.0.10           py36ha843d7b_0
mkl_random                1.0.2            py36hd81dba3_0
ncurses                   6.1                  he6710b0_1
ninja                     1.9.0                     <pip>
ninja                     1.9.0            py36hfd86e86_0
numpy                     1.16.2                    <pip>
numpy                     1.16.2           py36h7e9f1db_0
numpy-base                1.16.2           py36hde5b4d6_0
openssl                   1.1.1b               h7b6447c_1
pip                       19.0.3                   py36_0
pycocotools               2.0.0                     <pip>
pycparser                 2.19                     py36_0
pyparsing                 2.4.0                     <pip>
python                    3.6.8                h0371630_0
python-dateutil           2.8.0                     <pip>
pytorch-nightly           1.1.0.dev20190417 py3.6_cuda9.0.176_cudnn7.4.2_0    pytorch
PyYAML                    5.1                       <pip>
readline                  7.0                  h7b6447c_5
setuptools                41.0.0                   py36_0
six                       1.12.0                    <pip>
sqlite                    3.27.2               h7b6447c_0
tk                        8.6.8                hbc83047_0
tqdm                      4.31.1                    <pip>
wheel                     0.33.1                   py36_0
xz                        5.2.4                h14c3975_4
yacs                      0.1.6                     <pip>
zlib                      1.2.11               h7b6447c_3

I also check the gcc version:
(pt10) ubuntu@dgx1-84-1:~/yuan/maskrcnn-benchmark$ gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I don't know how to deal with it. What should I do now?

What is your PyTorch's version ?

@LeviViana You can see that, my torch version is 1.1.0, pytorch-nightly.

I got the same problem as well and for me it was solved after reinstalling CUDA.

You can add this file: cusparse.h in your computer: cuda-9.0/include.  It is missed when you install CUDA

You could find the file: cusparse.h from other computer which installed completely

I have solved this problem. Use pip to install pytorch environment and the problem will be solved.
Run this command to install the environment: pip install torch torchvision.

when i tried to use pip, it tells me requirement already satisfied. I think my cuda is installed correctly, cause i have ran other projects successfully.

I got the same problem.
In file included from /xxx/awesome-semantic-segmentation-pytorch/core/nn/csrc/cuda/syncbn_cuda.cu:5:0:
/usr/local/lib/python3.5/dist-packages/torch/lib/include/ATen/cuda/CUDAContext.h:12:22: fatal error: cusparse.h: No such file or directory
compilation terminated.
error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1

It's caused by missing the cusparse.h in cuda directory. I get into the directory /user/local/ and find 2 cuda directory: cuda and cuda-9.0. I move the directory cuda into another directory. The problem is then solved, for it use the right command '/usr/local/cuda-9.0/bin/nvcc'.

I had this error running my code in the tensroflow/tensorflow:1.11.0-gpu-py3 Docker container
I was able to fix this issue by installing Cuda on my host OS using these instructions.

Same problem here. Manually placing the file only moves the problem to the next missing file.
Re-installing CUDA serves no purpose except create a huge mess with apt screaming everywhere.
This happens on a perfectly well-working installation with CUDA and TF2.0-GPU enabled (and working fine).

Hey,
I have struggled with the same issue, and the solution is really simple:
apt-get install cuda-cusparse-dev--
For me it was:
apt-get install cuda-cusparse-dev-10-1
-dev is the package that contains cusparse.h
For further reference, here is where I've found it:
http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/
Hope this helps

I got the same problem.
In file included from /xxx/awesome-semantic-segmentation-pytorch/core/nn/csrc/cuda/syncbn_cuda.cu:5:0:
/usr/local/lib/python3.5/dist-packages/torch/lib/include/ATen/cuda/CUDAContext.h:12:22: fatal error: cusparse.h: No such file or directory
compilation terminated.
error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1

It's caused by missing the cusparse.h in cuda directory. I get into the directory /user/local/ and find 2 cuda directory: cuda and cuda-9.0. I move the directory cuda into another directory. The problem is then solved, for it use the right command '/usr/local/cuda-9.0/bin/nvcc'.

Can you show me the command you use to move the directory cuda into another directory?Thx

In file included from csrc/multi_tensor_sgd_kernel.cu:3:0:
/usr/local/lib/python3.6/dist-packages/torch/include/ATen/cuda/CUDAContext.h:6:22: fatal error: cusparse.h: No such file or directory
compilation terminated.
error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1
:/usr/local# ls
bin  cuda  cuda-10.0  etc  games  include  lib  man  sbin  share  src
Q: what should i do next?

If your cuda version is different from @ImJustAskingDude, you can search http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/ for the compatiable version
for example cuda10.2 then you can use  apt-get install cuda-cusparse-dev-10-2.
Thanks so much for your help!!!@ImJustAskingDude!!!Solved my problem!!!

if some one has >=11 cuda version install like below from here
sudo apt install ./libcusparse-11-2_<IP_ADDRESS>2-1_amd64.deb
sudo apt install ./libcusparse-dev-11-2_<IP_ADDRESS>-1_amd64.deb


RI WNP_ToastNotification_L2 into WNP_ToastNotification_L1

Bringing back the last few changes from our L2 into our L1. This brings the L1 to parity with L2 as L2 gets closer to being retired.
There are two changes in this PR:

Bug fix for the push notification demo
Change to dev/ToastNotifications/ToastActivationCallback.h that was inadvertently left behind in a previous RI.

I've used BeyondCompare to verify on a file by file basis that all changes made to the L2 have been RI'd into the L1.

/azp run


Review bellpepper* and arecibo dependencies

In #33 I had to have the triplet bellpepper, bellpepper-core and arecibo as dependencies, and I got a bit lost in how they are managed.
Looking at a some projects having those as dependency, it seems that most of them have adopted the "fork" approach that let's us quickly pull updates (lurk-rs, circom-scotia, arecibo, ...) while others (such as this one) have opted for a fixed crate version.
I think we would probably gain to try and unify the way we import those dependencies.
As @huitseeker suggested I tried various triplets of dependencies and it seems that the one that worked for me is bellpepper = 0.4.1 bellpepper-core as fork and arecibo as fork. We could use this as a global approach.

Fixed with #39


Example URL has project twice

The example/template URL directly below the heading "Get a list of pull requests in the project" has "project" in it twice.
.../DefaultCollection/{project}/{project}/_apis/...

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

ID: 9d5409d2-2ea5-c5c5-e193-58551d3bf11d
Version Independent ID: 74dc0d16-70c1-7ab1-56e6-6207e99f6aa4
Content: Git Pull Requests
Content Source: docs/integrate/previous-apis/git/pull-requests/pull-requests.md
Product: devops
GitHub Login: @elbatk
Microsoft Alias: elbatk

ah @jallman112 , that's not gonna get devs very far, I'll get this fixed!

This is fixed and should go live by end of day, thanks again!


[Site] Insert comma into thousandths place for number of tests run

Current Behavior
Just like the https://layer5.io/meshery site has the number of performance tests run with a comma inserted into the thousandths place, so too should the perf test number on the smp-spec site have a comma.

Contributor Resources

See the Contributing to Meshery.io Website section of the readme.md.

I'll like to do this

Perfect, @jomefavourite 👌

Assuming success on Meshery.io, there is a very similar issue open on SMP-spec.io, too

Assuming success on Meshery.io, there is a very similar issue open on SMP-spec.io, too

Okay, I'll check it out.

I'm sorry I couldn't find SMP-spec.io, is it a repository?

I'm sorry I couldn't find SMP-spec.io, is it a repository?

I'm guessing its service-mesh-performance right?


reIntroduceZeroTickFarms Not Working?

Describe the bug:
reIntroduceZeroTickFarms Seems to not be working? Every time i try and use it nothing i do can get it to work i tried it on my server first and did not work but it has a few mods so thought it might be one of them and moved to single player with only fabric api, carpet and carpet fixes and still does not work
To Reproduce:
Steps to reproduce the behavior:
Install fabric api, carpet and carpet fixes go into single player and make a farm and the farm will not work at least the one's iv tried
Expected behavior:
0 Tick farms working
Screenshots

Minecraft Version

1.19.0
Carpet-Fixes Version
1.19-1.11.2
Carpet Version:
1.19-1.4.79

Additional context
I'm prob just missing something super obvious but i can't think of anything else

Try in v1.13.0

It is not functional in the latest version.

It will be fixed in the latest release

should be closed as complete....


NoClassDefFoundError: org/springframework/cloud/openfeign/ribbon/LoadBalancerFeignClient when using spring-cloud-dependencies:2020.0.0

Using     implementation "io.opentracing.contrib:opentracing-spring-jaeger-cloud-starter:3.2.2" I upgraded to the new   mavenBom "org.springframework.cloud:spring-cloud-dependencies:2020.0.0"
spring-cloud 'Hoxton.SR9' worked correctly
Since then I get the following error on startup.
It seems ribbon was removed from spring cloud in 2020 but is required by jaeger (but not included) with spring-jaeger
Removing spring-jaeger and my application works correctly with spring-cloud 2020
It looks like simply updating the cloud version in java-spring-cloud is not so easy, is a migration planned?
Caused by:
  java.lang.NoClassDefFoundError: org/springframework/cloud/openfeign/ribbon/LoadBalancerFeignClient
      at io.opentracing.contrib.spring.cloud.feign.TracedFeignBeanFactory.from(TracedFeignBeanFactory.java:40)
      at io.opentracing.contrib.spring.cloud.feign.TraceFeignContext.addTracingClient(TraceFeignContext.java:64)
      at io.opentracing.contrib.spring.cloud.feign.TraceFeignContext.getInstance(TraceFeignContext.java:46)
      at org.springframework.cloud.openfeign.FeignClientFactoryBean.get(FeignClientFactoryBean.java:272)
      at org.springframework.cloud.openfeign.FeignClientFactoryBean.feign(FeignClientFactoryBean.java:99)
      at org.springframework.cloud.openfeign.FeignClientFactoryBean.getTarget(FeignClientFactoryBean.java:325)
      at org.springframework.cloud.openfeign.FeignClientFactoryBean.getObject(FeignClientFactoryBean.java:315)
      at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:169)
     ... 149 more

a

I can confirm the issue. We ran into the same problem when we tried to upgrade to SpringBoot 2.4.x with SpringCloud 2020.0.0

I can confirm the issue. We ran into the same problem when we tried to upgrade to SpringBoot 2.4.x with SpringCloud 2020.0.0

I am facing similar issue. is there any timeline to support  SpringCloud 2020.0.0 ?

fyi , after adding below in property file , we are not seeing this error . hope this helps ..
opentracing.spring.cloud.feign.enabled=false

+1, facing same issue

+1

This is the same issue as https://github.com/opentracing-contrib/java-spring-jaeger/issues/127 and the author has opened the PR https://github.com/opentracing-contrib/java-spring-cloud/pull/324 that solves the problem.
I believe we should merge the PR because the issue affects everyone who upgraded Spring Boot and uses OpenFeign.

Same problem any workaround to fix this ?
	@Bean
	public Client feignClient(CachingSpringLoadBalancerFactory cachingFactory, SpringClientFactory clientFactory) {
		return new LoadBalancerFeignClient(new OkHttpClient(), cachingFactory, clientFactory);
	}

As a really nasty workaround in the meantime, I believe you can resolve this by defining the classes which it is looking for. This should be safe, because it won't actually use them (it just does an instanceof LoadBalancerFeignClient check which will of course fail because nothing will create one)
With that in mind, adding the following files in the correct packages "works":
package org.springframework.cloud.openfeign.ribbon;

import feign.Client;
import org.springframework.cloud.netflix.ribbon.SpringClientFactory;

public class LoadBalancerFeignClient {
    public LoadBalancerFeignClient(Client delegate, CachingSpringLoadBalancerFactory lbClientFactory, SpringClientFactory clientFactory) {
        throw new UnsupportedOperationException();
    }

    public Client getDelegate() {
        throw new UnsupportedOperationException();
    }
}

package org.springframework.cloud.netflix.ribbon;

public class SpringClientFactory {}

package org.springframework.cloud.openfeign.ribbon;

public class CachingSpringLoadBalancerFactory {}

As a really nasty workaround in the meantime, I believe you can resolve this by defining the classes which it is looking for. This should be safe, because it won't actually use them (it just does an instanceof LoadBalancerFeignClient check which will of course fail because nothing will create one)
With that in mind, adding the following files in the correct packages "works":
package org.springframework.cloud.openfeign.ribbon;

import feign.Client;
import org.springframework.cloud.netflix.ribbon.SpringClientFactory;

public class LoadBalancerFeignClient {
    public LoadBalancerFeignClient(Client delegate, CachingSpringLoadBalancerFactory lbClientFactory, SpringClientFactory clientFactory) {
        throw new UnsupportedOperationException();
    }

    public Client getDelegate() {
        throw new UnsupportedOperationException();
    }
}

package org.springframework.cloud.netflix.ribbon;

public class SpringClientFactory {}

package org.springframework.cloud.openfeign.ribbon;

public class CachingSpringLoadBalancerFactory {}

It worked for me! Thanks

instead of this hacky workaround I'd simply exclude opentracing-spring-cloud-feign-starter from your build. This solved the issue for me.

i resolved this problem adding this dependency

org.springframework.cloud
spring-cloud-openfeign-core
2.2.6.RELEASE

i resolved this problem adding this dependency
<dependency>
	<groupId>org.springframework.cloud</groupId>
	<artifactId>spring-cloud-openfeign-core</artifactId>
	<version>2.2.6.RELEASE</version>
</dependency>

As a really nasty workaround in the meantime, I believe you can resolve this by defining the classes which it is looking for. This should be safe, because it won't actually use them (it just does an instanceof LoadBalancerFeignClient check which will of course fail because nothing will create one)
With that in mind, adding the following files in the correct packages "works":
package org.springframework.cloud.openfeign.ribbon;

import feign.Client;
import org.springframework.cloud.netflix.ribbon.SpringClientFactory;

public class LoadBalancerFeignClient {
    public LoadBalancerFeignClient(Client delegate, CachingSpringLoadBalancerFactory lbClientFactory, SpringClientFactory clientFactory) {
        throw new UnsupportedOperationException();
    }

    public Client getDelegate() {
        throw new UnsupportedOperationException();
    }
}

package org.springframework.cloud.netflix.ribbon;

public class SpringClientFactory {}

package org.springframework.cloud.openfeign.ribbon;

public class CachingSpringLoadBalancerFactory {}

Thank you @davidje13, this worked for me

As a really nasty workaround in the meantime, I believe you can resolve this by defining the classes which it is looking for. This should be safe, because it won't actually use them (it just does an instanceof LoadBalancerFeignClient check which will of course fail because nothing will create one)
With that in mind, adding the following files in the correct packages "works":
package org.springframework.cloud.openfeign.ribbon;

import feign.Client;
import org.springframework.cloud.netflix.ribbon.SpringClientFactory;

public class LoadBalancerFeignClient {
    public LoadBalancerFeignClient(Client delegate, CachingSpringLoadBalancerFactory lbClientFactory, SpringClientFactory clientFactory) {
        throw new UnsupportedOperationException();
    }

    public Client getDelegate() {
        throw new UnsupportedOperationException();
    }
}

package org.springframework.cloud.netflix.ribbon;

public class SpringClientFactory {}

package org.springframework.cloud.openfeign.ribbon;

public class CachingSpringLoadBalancerFactory {}

actuatly, I confused to implement this tip. can you explain??, how access and inject this code to package org.springframework.cloud.openfeign.ribbon ?

facing same issue

this class seems has been replaced by org.springframework.cloud.openfeign.loadbalancer.FeignBlockingLoadBalancerClient

fyi , after adding below in property file , we are not seeing this error . hope this helps ..
opentracing.spring.cloud.feign.enabled=false

it works, But at the same time, we also lost the track from openfeign.


Engines not restarting

The controller dies (sometimes) when the engines crash on S3.
Here is the last lines of the engine log:
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/tornado-5.0.2-py3.5-linux-x86_64.egg/tornado/ioloop.py", line 759, in _run_callback
    ret = callback()
  File "/usr/local/lib/python3.5/dist-packages/tornado-5.0.2-py3.5-linux-x86_64.egg/tornado/stack_context.py", line 276, in null_wrapper
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/ipyparallel/controller/scheduler.py", line 325, in <lambda>
    lambda : self.handle_stranded_tasks(uid),
  File "/usr/local/lib/python3.5/dist-packages/ipyparallel/controller/scheduler.py", line 335, in handle_stranded_tasks
    for msg_id in lost.keys():
RuntimeError: dictionary changed size during iteration
2018-05-18 05:45:54.257 [IPControllerApp] task::task 'f1deb1b6-b37031dc55e5e6b59d3d7e2b' finished on 2

While parsl continues to run without any more updates. The last result was an engine exception: RESULTS ERROR: EngineError(Engine b'05d9696c-90ff4acfd19e998391dc666f' died while running task 'f1deb1b6-b37031dc55e5e6b59d3d7e2b')

Hey @reidmcy Can you paste you parsl.log and controlller log into gist and add a link here ?

The parsl.log is here
And the Remote_IPP.controller.err is here
It looks like this is related to a known issue in ipyparallel, I did have 1025 jobs running

I've run the script again IPP.controller will not restart engines even with many fewer jobs running. Going through my logs it seems like all 6 engines failed as time progressed, all on memory intensive tasks (e.g. one was trying to examine all the commits in the Rust source code)

Closing, because this is about now-removed IPP executor


Parsing fails when first identifier after import starts with "as"

This fails:
module Main exposing ( asUndefined )
import Debug
asUndefined : a
asUndefined = Debug.todo "asUndefined"

Messages:
- Main.elm
  > Could not load file due to: Unexpected parse error

Changing the import to import Debug as Debug fixes the problem. So does changing asUndefined to undefined.
This is all with elm-analyse 0.16.1.

I'm guessing this is the same as https://github.com/stil4m/elm-syntax/issues/29.

Definitely looks that way! Based on that issue, upgrading to elm-syntax at least version 7.0.6 should fix this problem.


speed issues (standard 3.11.0)

Here's a simple change in our code that brings down standard execution time down from 16s to 1s. https://github.com/hoodiehq/pouchdb-hoodie-api/commit/3aefb7c170f4694e3f7dc8b0bddb36375b820ab3
Instead of ignoring the dist/ and docs/ folders, we instead pass the blobs for files we want to be checked. Both should have the same effect, but the difference in time execution is 1600%. Any idea what could cause this? Are we doing it wrong:tm: ?

Yeah, I noticed this slowdown before too. See issue: https://github.com/feross/standard/issues/130
Your opening this issue prompted me to finally run git bisect and figure this out. Turns out this innocent change in v3.7.0 was the root cause: https://github.com/feross/standard/commit/04fe0efecb39d300dc8ee106ab4348ab8f8e3d8d
By reverting this change, standard is now 12.6x faster to run! (1.79s vs 22.59s over the webtorrent codebase)
Published as 3.11.1.

fuckyeah! That's fantastic news! Thanks Feross!!
btw, talking about "standards", I think you'll love https://www.npmjs.com/package/semantic-release very much. Once you start using it, you won't look back (just like standard form me :) ). Happy to help with the setup. And if you don't like it, drinks on me :beers: :cocktail:


Sometimes it will ask for confirmation after :wq from nested session: press Enter or command to continue

It seems that this issue has been fixed.


"3 months of Stay at home (strict compliance)" model doesn't seem to match description

From the model reference, the shelter in place model makes these R assumptions: "1.3 for 4 weeks, 1.1 for 4 weeks, 0.8 for 4 weeks."
However the results for the "3 months of Stay at home (strict compliance)" model appear to temporarily accelerate after each assumed decrease in R, rather than start declining. This appears to be true in each county and state level model (while all examples screenshotted are in CA, this appears true across every state I've checked).

Apologies for the delayed response, but we've substantially improved our approach to modeling since you sent your concerns. The changes reworked how interventions get applied, and I believe they should have addressed your concerns.
I'm closing this for now, but please feel free to re-open if we haven't adequately addressed this.


Revert "Support for having LighthouseJobs and Tekton jobs in multiple namespaces"

Reverts jenkins-x-plugins/jx-gitops#835
Side effect: kind: Namespace resources are appearing and are in some corner cases pruned by kubectl apply --prune
Will need to prepare a fix to this before we will merge this back.

/ok-to-test

/lgtm

/hold

/hold cancel

OH NO :(

@nicolaerosia I feel the same, heh. Don't worry, I will figure out within few days how to proceed with it.


[Trudvang Chronicles] add data-i18n tags to the sheet

Hello,
Trudvang Chronicles will soon be translatedand published in french. I've checked if I'm able to translate the sheet but I'm not because there's no data-i18n tags in the code of this sheet.
@TheAziraphale can you add them?
Or someone else?
BRgds

Hmm, Maybe it's time for me to dust of my ACSI script again. I'll see how well it does.

Thank you Andreas

Alright, so I got a first draft of a translated Trudvang sheet now.  It still have around 45 placeholder text instances that needs language tags, as my script doesn't do them yet.
Trudvang Chronicles translated files

data-i18n tags have been added


[2693] Fix another apply integration snag

Context
https://trello.com/c/NZSTxBFm/2693-add-accredited-provider-code-to-apply-register-api-course-attributes
While testing apply integration with the Register app, we discovered that some applications couldn't be imported because the application was associated with a training provider instead of an accredited provider. I order to fix this in Register Apply Register API was updated to return accredited_provider_code so that we can determine the accredited provider in which there are two ways:

accredited_provider_code is not nil (nice and easy)
accredited_provider_code is nil but training_provider_code isn't (which means the training provider is also the accredited provider for the course)

Changes proposed in this pull request

Rename ApplyApplication#provider_code to ApplyApplication#accredited_body_code
Update ApplyApi::ImportApplication to handle the two scenarios outlined in the above context

Guidance to review

 Add accredited provider code to Apply Register API course attributes

 Test apply integration with real data + final snag


Add setting to enable/disable replication plugin

Signed-off-by: Ankit Kala<EMAIL_ADDRESS>Description
This change adds a setting to enable/disable the replication plugin
###Testing done

Manual testing locally.
Plugin's UT and ITs.

Check List

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Can you share testing details? Does OS come up if we spin with plugin disabled? (Just want to ensure returning empty is fine for all plugin interface methods overridden.

Incase we keep the plugin disabled, the OS comes up healthy and replication API fails as the REST handlers are not found.


Print "resume" message when device is free again

When plotting stops due to no space left on the device and then resumes, it doesn't say so. It's not a big problem during the plotting because the process is verbose enough to get some message after it resumes.
But when this happens during the move of the final plot to -d, the user will not be notified about the resume of this copy operation until it's finished.

Closing low-priority issue


Only Secure Origins are Allowed

Getting this when using mobile Chrome browser trying to use the cameras.
PermissionDeniedError - Only secure origins are allowed

Website must have SSL certificates installed for this program to work properly due to recent security changes that Google Chrome has done.  #figureditoutonmyown lol

You can always use "localhost" which by default is considered "secured origin" ;)

you can always use "localhost" which by default is always considered "secured origin" ;)


Can't find a heading other than H1

I specified Clippings in 'Daily/Weekly Note Position' field of the plugin preferences and added ## Clippings to the daily/weekly note template. However, the plugin fails to find the heading, probably because it only looks for level-one heading (# Clippings).
It'd be nice if the plugins looks for the heading at the second level as well, given that the first level is usually for a page title.

I will look into adding support for this. This can make things tricky when trying to support appending/prepending within a configured Header because previous clipped content could contain headers (h1, etc).
I currently allow the Markdown headers within clipped data to be configured and I always set my H1 to render as ##.
Let me think about this a bit more.

How about increasing the levels of all headings in the clipped content by N, where N is the level of the position heading?

Just adding a ➕ to this. I can't get it to find even H1 headings and get the error whether the heading is, e.g., # Clippings or ## Clippings. I re-downloaded the personal plugin after each change, so I'm guessing that the correct settings got transferred.

@benvenker just want to make sure, but you are not putting the # in the field are you? Right now you just put in the heading value Clippings and it will only look for an H1 with the value Clippings.

This support is being added in the version 1 release. If you are using a header, it will support setting the level of header you want to use. It will also create the header if it can't find the header.


kprove unsound when a spec rule leads to infinite loop

Look at this (incorrect) rule:
    rule A => false
        requires  chop( 1 &Int bool2Word ( A ) ) ==K 0 [trusted]

It will be compiled into a spec rule, not a function rule, e.g.: <k> A => false ...</k>...
Now if this rule applies once, it will normally continue to apply indefinitely, rewriting the spec to itself. kprove has a mechanism to prevent this:
https://github.com/kframework/k5/blob/7aa7d407a89ccb682729153f3808a239e0a7face/java-backend/src/main/java/org/kframework/backend/java/symbolic/SymbolicRewriter.java#L624-L625
If a a configuration is encountered the 2nd time, the respective path will be considered proven. Thus, in our case kprove will report that spec is proved, while in fact it would execute indefinitely. I propose considering looping path "not proven" and print an appropriate message. Will submit a fix ASAP.

@denis-bogdanas I'm not sure this is correct. Everything is true about infinite repeating paths in Reachability Logic (the "relative" part of relatively complete).
Perhaps the issue is more about how the looping behavior is in the side condition, so isn't actually making progress? @bmmoore?
I'm confused by your example though, the above rule, compiled into <k> A => false ... </k>, should *not* apply to the Ain the side-condition, which does not show up at the front of the` cell. Can you provide the full definition?

It has nothing to do with side condition. I put here the rule that gave me headaches unchanged. If A is false, the rule will rewrite the the configuration to itself. If it wouldn't be for that if, it would lead to infinite loop.
I agree that this is not an issue in the sense of partial correctness, but we can reasonably assume a computation that does not finish is an undesirable behavior and has to be reported. In this precise case it was caused by an error in my helper rule.

I still don't understand. Computation that does not finish has every reachability claim about it true, so it should prove it. The only case I could see an argument otherwise if side-conditions are expected to be evaluated fully (and must have closed finite proof trees), which I think @bmmoore can probably answer.
Unless by "computation that does not finish" you mean the kprover itself gets stuck in an infinite loop (and are not referring to the execution traces of the program).

I agree that reachability claims are satisfied. What I say is that computation that does not finish represents a possible issue that should be reported to the user, regardless of whether reachability is satisfied. Right now it is simply swallowed and specification is proved correct with no explanation.
In this particular case that I encountered, I was tempted to just consider my specification finished and go on with the next task. Yet there was something dubious about the way it was proved, so I spent one more day investigating. This report is the result of the effort. And it turns out the spec was not proved at all. I just wrote some ridiculously wrong helper rules that made all execution paths to not terminate. The spec was proven vacuously.
I would prefer to see a warning like "infinite loop detected". Maybe adding the non-finishing condiguration to the list of final configurations is not correct, but at least we have to report a warning.

Well, any time there is a loop-invariant in the spec, it will be printed to this list of looping rules, right? And the user will expect it to be looping, so it will be information they already know. I'm not sure it makes sense to print it every time. Maybe we could add an explicit loop attribute to rules which then if it's looping and the user did not add it, then they get the warning? But I think it will be quite too much output if every loop invariant is re-printed after the proof.

Oh, there are also loop invariants... Never had to deal with them yet. I agree with loop attribute proposal.