Salsa - Type discovering for angularjs 1 js controllers

TypeScript Version:  1.8.10
Using the controller above (written in javascript) the type of injected parameters can't be infered.
Code
(function () {
    'use strict';

    angular
        .module('app')
        .controller('TestController', TestController);

    TestController.$inject = ['$q', '$http', '$timeout'];
    /* @ngInject */
    function TestController($q, $http, $timeout) {
        var vm = this;

        activate();

        function activate() {

        }
    }
})();

Expected behavior:
parameters $q, $http and $timeout well typed
Actual behavior:
parameters $q, $http and $timeout of type any
Check: https://github.com/Microsoft/vscode/issues/8163

This is a feature I strongly desire. Please remedy this soon!

Check out typings on npm!
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/angularjs/angular.d.ts

@githop, have you checked the related issue in vscode project?

@githop unfortunately the problem here seems to be that VSCode itself no longer supports Typings as fully as it did a few weeks ago, after a recent update. Check the referenced issue @miguelchico made, he explains in there.

@miguelchico This has absolutely nothing to do with typings, and everthing to do with how you have structured you code.

Angular controllers have no specific interface they are required to implement, they must simply be instantiable view new so  there is nothing regarding the parameter types that can be inferred inferred, because there are no limitations on them. Even if you wrote you controller inline, a bad practice but useful to illustrate my point, you would see the following

There is no specific type the function type the framework requires hence the : Function annotation.

When you write this code in TypeScript you would do the following (note I am not trying to be idiomatic).

function TestController(
    $q: ng.IQService,
    $http: ng.IHttpService,
    $timeout: ng.ITimeoutService) { ... }

Of course this is JavaScript so you cannot write type annotations, but the new TypeScript Salsa service understands type annotations in JSDoc commonts, consider

/**
 * @param {ng.IQService} $q
 * @param {ng.IHttpService} $http
 * @param {ng.ITimeoutService} $timeout
 */
function TestController($q, $http, $timeout) {

and that reads the types right out of the .d.ts file and gives you intellisense as shown

You probably know, but ngInject is not relevant here and is made completly redunant but the explicit inject property which pass. What you have done is good practice, just remove the superfluous @ngInject

/* @ngInject */
function TestController($q, $http, $timeout) {

A couple of notes. I am using<EMAIL_ADDRESS>in VSCode by settings "typescript.tsdk", I jsconfig.json file in my project with empty object {}.
It is also worth noting that the maintainer of ng-annotate is moving on, see olov/ng-annotate/issues/245.
I think the whole notion of inferring types from parameter names is a very unsound and is very confusing. The fact the you are explicitly setting $inject speaks to this; it is simply unreliable at best.

Here is the setup https://github.com/aluanhaddad/salsa-ng-1x-example

thank for your explanation @aluanhaddad, but my point is still there.
If you check the issue I opened to vscode team, I explained there that for the same code I wrote here (I know @ngInject is not necessary at all for the example) before the TypeScript Salsa service the types of controllers parameter were automatically discovered.
I know I can do the same writing type annotations in JSDoc, but it force me to write a lot of information that was not necessary before.
You can try your example with a previous version of vscode (0.10.9) and you'll see that even without the JSDoc comments, the editor is able to detect the injected parameters in the controller.
This issue is to ask for that behavior again.

@miguelchico Sorry, I didn't read the VSCode issue. I have since done so and noticed the comment

To be honest, we did something very 'pragmatic'/hackish to enable this in the past.

I imagine they must have had a mapping somewhere that looked like { "$scope", ng.IScopeService, .. }, and while I cannot speak for the TypeScript team in any way, I doubt this kind of thing will be supported. There is no way to event attempt type resolution in these cases without building support for angularjs directly into TypeScript.
Since VSCode is using TypeScript to power it's JavaScript experience, you are going to see less guesswork, but more reliable results in intellisense, this is better in the long run.
You probably want to checkout #6508

@aluanhaddad Just for some more background. VS Code always used TypeScript to power JavaScript. In the past we used some source rewriting that translates JS to TS behind the scenes and then used TS to get Intellisense etc. As part of this translation we did the pragmatic mapping of $scope -> ng.I{Scope}Service in the generated JS code. Now that TS is supporting JS directly we have switched to this support and could remove the source code rewriting.

I think the only solution to fix this issue, is to wait for https://github.com/Microsoft/TypeScript/issues/6508 and implement an angular1 plugin like I have done with ternjs https://github.com/angelozerr/angularjs-eclipse/wiki/Javascript-Features#completions

@egamma thank you for the explanation and context, it is a very enlightening.

Given how injection work in Angular1, I do not think there is a way for the express that to the TypeScript typesystem other than hardcoding the support in. We have avoided hard coding any behaviours for frameworks, and that has served us well in the past.
I


Bug: NavTabs don't have focus on Firefox

Describe the bug
In Firefox, NavTabs are not getting focus when using keyboard navigation
To Reproduce
Steps to reproduce the behavior:

Go to the NavTabs doc on Firefox
Try to navigate the page with keyboard shortcuts
Notice that focus is missing

Expected behavior
NavTabs have focus on all supported browsers
Screenshots
Correct Chrome: https://recordit.co/Ygadmivenk
Fragmented Firefox: https://recordit.co/9X5XMI92J1
Additional context
We should check Hyperlink as well

This is a known issue for Firefox + Mac: https://stackoverflow.com/questions/11704828/how-to-allow-keyboard-focus-of-links-in-firefox
The workaround is a configuration on the machine. The component is behaving as expected, so there's nothing we can do to fix it.


Bump version to 1.0.3-canary.6

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

Project coverage is 22.04%. Comparing base (4a5c4e2) to head (bf5e889).

Additional details and impacted files
@@           Coverage Diff            @@
##             main     #462    +/-   ##
========================================
  Coverage   22.04%   22.04%
========================================
  Files          96       96
  Lines        3602     3602
  Branches      593      607    +14
========================================
  Hits          794      794
+ Misses       2807     2659   -148
- Partials        1      149   +148

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


Selectable system message/personas

It would be great if we could create system messages in the backend, which are then selectable from a drop down list in each conversation in the front end.
That way we can create customisable ‘personas’ for different needs.
From acting as a code genius to an advertiser to a character from a movie, it just helps personalise the user experience a little more. I found some good examples here: https://prompts.chat/

I second this, but I’d like to be able to change the system message on the front end even mid-conversation. GPT-4 pays a lot more attention to the system message so making small adjustments in the middle of a conversation is massively helpful.


fix: fix runtime switch logic

Description
when current project set runtime template and different from previous runtime, remove previous runtime and use new template.
Task Item
#minor
Screenshots

Coverage remained the same at 56.73% when pulling 1dadfd03284111060d143a1e631ea8e7e9bfad08 on wenyluo/fixremove into 6e552e32f6d7f306c779b95ae040d8419fbfeb13 on main.


feat: Runtime detection, take 2

What type of PR is this?

feat: A new feature
Check the PR title.

[x] This PR title match the format: <type>(optional scope): <description>
[x] The description of this PR title is user-oriented and clear enough for others to understand.
[ ] Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:
This PR adds runtime detection of SIMD features but, unlike in #55, not on the level of SIMD instructions, but instead implements enum dispatch over multiple inner parsers that each either use AVX2, SSE2, or NEON (or the scalar fallback).
(Optional) Which issue(s) this PR fixes:

Closes #14
(optional) The PR that updates user documentation:

This isn't conditionally doing the improvements for the NEON backend via the NeonBits struct yet. Thinking about also adding support for that.

Thanks a lot, i need time to review this

That commit should get rid of a bunch of compile issues related to adding generic types to structs that don't take them.
I was testing this on an x86 system that only compiled with SSE2 support, meaning I didn't even get to see the errors.

I'm still trying to figure out what the best way forward is to make to_bitmask64 on NEON CPUs work.

Thanks a lot, I will review the PR this week. I will benchmark the performance at first~

@liuq19 Would you be up to benching the speed of an implementation for NEON that runtime dispatches the bitmask creation? We could technically cache the result whether NEON (or any other feature, really) is supported in globals. That way the performance loss shouldn't be too bad.
Because hacking in runtime dispatch for bitmask creation otherwise is really tricky.

Hacked in the version that dispatches on each bitmask call. Maybe the performance hit is too severe to justify..

Okay, I'm not sure why this is broken? It's on ARM64, right?
I guess I'll have to whip out the cross-compilation for now. I don't own a suitable ARM machine for testing.

Now I just need to find a way to properly express this in trait form, preferrably very generic.

I benched in x86 and maybe the simd is not work in runtime-detect
     Running benches/deserialize_struct.rs (target/release/deps/deserialize_struct-016910da72a3ea13)
twitter/sonic_rs::from_slice_unchecked
                        time:   [861.50 µs 862.23 µs 863.02 µs]
                        change: [+76.254% +76.499% +76.735%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 5 outliers among 100 measurements (5.00%)
  4 (4.00%) high mild
  1 (1.00%) high severe
twitter/sonic_rs::from_slice
                        time:   [885.21 µs 885.86 µs 886.62 µs]
                        change: [+73.328% +73.607% +73.868%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 5 outliers among 100 measurements (5.00%)
  4 (4.00%) high mild
  1 (1.00%) high severe

citm_catalog/sonic_rs::from_slice_unchecked
                        time:   [1.6269 ms 1.6298 ms 1.6327 ms]
                        change: [+71.170% +71.493% +71.800%] (p = 0.00 < 0.05)
                        Performance has regressed.
citm_catalog/sonic_rs::from_slice
                        time:   [1.6559 ms 1.6572 ms 1.6587 ms]
                        change: [+67.728% +67.938% +68.127%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 3 outliers among 100 measurements (3.00%)
  2 (2.00%) high mild
  1 (1.00%) high severe

canada/sonic_rs::from_slice_unchecked
                        time:   [4.5318 ms 4.5332 ms 4.5349 ms]
                        change: [+20.602% +20.659% +20.716%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 7 outliers among 100 measurements (7.00%)
  3 (3.00%) high mild
  4 (4.00%) high severe
canada/sonic_rs::from_slice
                        time:   [4.5934 ms 4.5951 ms 4.5970 ms]
                        change: [+20.546% +20.602% +20.659%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 6 outliers among 100 measurements (6.00%)
  2 (2.00%) high mild
  4 (4.00%) high severe

That's weird. On my local machine, the change is somewhat in the ballpark of ~3-4%, which is acceptable (I'd need to profile it to get a closer idea of what's going on with the 5%)
     Running benches/deserialize_struct.rs (target/release/deps/deserialize_struct-b15a6d4de21d32b1)
Gnuplot not found, using plotters backend
twitter/sonic_rs::from_slice_unchecked
                        time:   [438.48 µs 440.11 µs 442.07 µs]
                        change: [+4.0017% +4.6062% +5.2032%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 13 outliers among 100 measurements (13.00%)
  3 (3.00%) high mild
  10 (10.00%) high severe
twitter/sonic_rs::from_slice
                        time:   [445.74 µs 447.52 µs 449.94 µs]
                        change: [+3.0931% +3.6056% +4.2171%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 12 outliers among 100 measurements (12.00%)
  4 (4.00%) high mild
  8 (8.00%) high severe

citm_catalog/sonic_rs::from_slice_unchecked
                        time:   [856.18 µs 856.77 µs 857.50 µs]
                        change: [+1.2295% +1.3723% +1.5158%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 6 outliers among 100 measurements (6.00%)
  4 (4.00%) high mild
  2 (2.00%) high severe

could you remove or comment the config in .cargo/config.toml

Already wasn't active due to my global Cargo config. But for the benches above I set -C target-cpu=native. I can somewhat reproduce your findings when I toggle -C target-cpu=native for the main branch, and disable it for the runtime detection branch. But that ignores that all the optimizations the Rust compiler by default doesn't do if it isn't aware of the target CPU model.
I added debug statements and the runtime correctly detects that my CPU supports AVX2, with and without target-cpu=native.

So it is much slower without target-cpu=native but that is to be expected with all the CPU-specific optimizations LLVM can do. But the runtime detection only sets performance back by under 5%, which is IMO acceptable as an opt-in feature.

Never mind, I get what you mean. Let me look into it.

maybe we can try to compare more benchmarks

any updates?

Sorry, I've been busy the last two weeks, but I can hopefully do some work today at the airport


[CHORE]: Updated Readme with new images

Issue  📐

I Vedanth Bora have worked for #58

Guidelines 🔐
I accept the fact that i have followed the guidelines and have not copied the codes from around the internet

[x] Contribution Guidelines
[x] Code of Conduct

Issue to be closed 🛅

My pull request closes #58

✅ Happy Contributing!! Make sure to leave a star 🌟


Replaced English comments with Japanese translations

This is a PR to fix issue #12880
This issue is fixing the comment sections for the French and Japanese translations so that the comments are in those respective languages, and not in English.
I looked over both:
samples/fr/Premiers pas
samples/ja/Getting Started
The French translation had already been done, so I worked out the translations for the Japanese and made the changes to the comment sections. If a more accurate translation comes up, please let me know.
This should close the issue if everyone is satisfied with the translations.
Here are the translation equivalents:
自分のファイルで始めましょう
Let’s start with your own file
Brackets のは何ですか
What is Brackets?
ご意見をお聞かせ
Tell us your opinion
HTML、CSSとJavaScriptとの関係
Relationship between HTML, CSS and JavaScript
<3とJAVASCRIPTで作成
Created with <3 and Javascript
ライブ プレビュー
Live preview

I had a Japanese friend look over the translations. She only recommended a slight change to two of them because they sounded better to her when she read it that way. Everything else was fine with her.

Usually Japanese translations are done by the Adobe team. I'm not sure about the samples...
@swmitra @saurabh95 ?
You should revert all the changes to the indentation of the closing -->.

Yeah generally Adobe ALF team does translations, but we can definitely get this reviewed by them(since they would be having more context), and get it merged.
@VibhaMalhotra @ArturOledzki @pantkowiak @rajjain Could you please review  this?

sorry @ficristo , what are you saying about indentation of the closing -->  ??
I didn't move anything except change the wording, the placement is still the same from beforehand.

If you look at the GitHub interface you can notice some changes to lines with the closing -->.
It seems you accindentally convert some spacing to tabs, please undo that.

Sorry I had deleted my forked version.. I have to redo all this.


feat: Dynamic load template and controller

Type: feat
Platform: all
ionic load all template and controller after router config at once. While I need to make a big project, load all things at once will let it show slowly. I find angularAMD can figure out this problem base on angular and angular-ui-router, but when i use ionic.bundle.js, it only can load controller on demand , but load template all at once. Is this problem link to what ionic do to ion-nav-view?
How to load template on demand? that means when I click a  tag, it load the relative template and controller.

Greetings @echizen!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

+1

Greetings @echizen!
I've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.
Thank you for allowing me to assist you.


Generate Random Name

Description 📜
Added a Random Name Generator website which will be create everytime You click on generate button.
Fixes #786

Type of change 📝

[X] Add a new project

Domain of Contribution 📊
Please delete options that are not relevant.And in order to tick the check box just but x inside them for example [x] like this

[X] Project using HTML, CSS & JS

Checklist ✅

[X] I have performed a self-review of my own code or work.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] My changes generates no new warnings.
[X] I'm GSSoC'22 contributor

Screenshots / Gif (Optional) 📸
https://user-images.githubusercontent.com/77873383/163334099-57dc4ea0-325c-4313-9cbe-6c11b742af4a.mp4

Kindly resolve the conflicts

Kindly resolve the conflicts

@khushi-purwar resolved conflicts

Kindly resolve the conflicts

@khushi-purwar resolved conflicts

conflicts resolved in hue h branch file sab delete hogyi hai apki

Kindly resolve the conflicts

@khushi-purwar resolved conflicts

conflicts resolved in hue h branch file sab delete hogyi hai apki

Sob moho Maya ho raha hain mere sath..avi to dekha thik tha 🙂

Kindly resolve the conflicts

@khushi-purwar resolved conflicts

conflicts resolved in hue h branch file sab delete hogyi hai apki

Sob moho Maya ho raha hain mere sath..avi to dekha thik tha 🙂

mere me to file + data sab dikha raha hain

Mere me ye link exist ni krti aisa aara h,
Kuch commit krna shyd thik hojaye
On Fri, 15 Apr, 2022, 16:55 TRIDIB BAG, @.***> wrote:

Kindly resolve the conflicts
@khushi-purwar https://github.com/khushi-purwar resolved conflicts
conflicts resolved in hue h branch file sab delete hogyi hai apki
Sob moho Maya ho raha hain mere sath..avi to dekha thik tha 🙂
[image: image]
https://user-images.githubusercontent.com/77873383/163565292-e7d01778-493f-493d-b826-349c9c1117bd.png
mere me to file + data sab dikha raha hain
—
Reply to this email directly, view it on GitHub
https://github.com/khushi-purwar/WebDev-ProjectKart/pull/807#issuecomment-1100050164,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARSWKZLNYC5MBGDPPXHI53DVFFGZJANCNFSM5TM4F5NQ
.

On Fri, 15 Apr, 2022, 16:55 TRIDIB BAG, @.> wrote: Kindly resolve the conflicts @khushi-purwar https://github.com/khushi-purwar resolved conflicts conflicts resolved in hue h branch file sab delete hogyi hai apki Sob moho Maya ho raha hain mere sath..avi to dekha thik tha 🙂 [image: image] https://user-images.githubusercontent.com/77873383/163565292-e7d01778-493f-493d-b826-349c9c1117bd.png mere me to file + data sab dikha raha hain — Reply to this email directly, view it on GitHub <#807 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARSWKZLNYC5MBGDPPXHI53DVFFGZJANCNFSM5TM4F5NQ .
On Fri, 15 Apr, 2022, 16:55 TRIDIB BAG, @.> wrote: Kindly resolve the conflicts @khushi-purwar https://github.com/khushi-purwar resolved conflicts conflicts resolved in hue h branch file sab delete hogyi hai apki Sob moho Maya ho raha hain mere sath..avi to dekha thik tha 🙂 [image: image] https://user-images.githubusercontent.com/77873383/163565292-e7d01778-493f-493d-b826-349c9c1117bd.png mere me to file + data sab dikha raha hain — Reply to this email directly, view it on GitHub <#807 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARSWKZLNYC5MBGDPPXHI53DVFFGZJANCNFSM5TM4F5NQ . You are receiving this because you commented.Message ID: @.>

Done...ab dekho

abb dekho

Hn ab hogya thik

Hn ab hogya thik

acha


upload workouts from stronglifts backup file.

Changes Unknown when pulling 850685db6d8b99ac4e7e0bf4376e33c8e650fac3 on mokhan:workouts into ** on stronglifters:master**.


Speech Recognition Error

I have downloaded sdk for ios and import the ApiAiDemoSwift workspace into the xcode. I received this error "Error Domain=voice.detection.error Code=1 "(null)"" when i run Voice Button Request.
Other two modules named as "Simple Voice Request" and "Text Request" are working fine.

Facing the exact same error.. any update on this?
What am I missing in the setup?

Hi everyone,
This error mean, that VAD (Voice Activity Detection) cannot determinate voice in sound stream.

So how to fix it? I just have a basic setup with API.AI..
Followed all the instructions on integrating it inside my app on iOS..

Ahh ok.. I was trying to run it in the simulator..
Works on the device.. Is that the correct behaviour or am I still missing something?

We use some algorithm for detecting end of speech in audio stream. This algorithm have some error rate for detecting end-of-speech, I will try to improve it in future.

You just need to set below settings for audio :
AVAudioSession *session = [AVAudioSession sharedInstance];
[session setCategory:AVAudioSessionCategoryPlayAndRecord
withOptions:(AVAudioSessionCategoryOptionAllowBluetooth | AVAudioSessionCategoryOptionDefaultToSpeaker)
error:nil];
[session setActive:YES
withOptions:AVAudioSessionSetActiveOptionNotifyOthersOnDeactivation
error:nil];
And it will work . in my case everything is working.

Sometimes i got below error : can anyone getting same or found any solution for that ?
status =     {
code = 403;
errorDetails = "Api.ai speech recognition is included with all of our paid plans.";
errorType = forbidden;
};

@thakurdDev I am also getting this. with Voice Button Request , but Text Request is working perfect and is executing my desired Intent with action I have defined in my Api.ai dashboard.
status = {
code = 403;
errorDetails = "Api.ai speech recognition is included with all of our paid plans.";
errorType = forbidden;
};

Above response means you have to upgrade your Api.ai account with a paid plans.

@thakurdDev @qadirsuh Please read pricing: https://api.ai/pricing/
Free plan doesn't contain voice recognition, and now, it's really disabled for free plans.
Please, just read error text, why you couldn't do it?

Thanks for information.
But i want to confirm: Is it with new account as well ?
Because i have worked with voice request more then 20 days (3500 voice request.) with my first account. And then it  is stopped. that's why i want to confirm is it any new updation inside api.ai or for all my new account the rule will work.


Missing cities from ParkAPI

This issue exists to track the split between the sources available in ParkAPI and ParkAPI2. It will include already opened PRs (and link to them).
Missing:

[ ] Aachen (no active support)
[ ] Hamburg (https://github.com/ParkenDD/ParkAPI2-sources/pull/11)
[ ] Hanau (https://github.com/ParkenDD/ParkAPI2-sources/pull/8)
[ ] Heilbronn (https://github.com/ParkenDD/ParkAPI2-sources/pull/7)
[ ] Karlsruhe (https://github.com/ParkenDD/ParkAPI2-sources/pull/10)
[ ] Rosenheim (no active support)

Outstanding PRs:

Aachen (#20)
Rosenheim (#4)

With the merge of #10, all cities that were still missing are now merged


Allow override support for auth endpoints for proxy abilities

This PR adds the ability to override the identitytoolkit auth api and securetoken auth api so that organizations can place a proxy behind a firewall for control against attackers. #11858

Thanks @jostster for the PR and issue description!
@renkelvin Please evaluate if we want to move forward and want to make an API proposal.

Thanks @jostster for the PR and issue description!
@renkelvin Please evaluate if we want to move forward and want to make an API proposal.

Thanks @paulb777 . Could you clarify what would be needed for the API Request? There shouldn't need to be any backend api changes as this just routes the client to a proxy behind a firewall that then routes it to the regular firebase api endpoints after appending a firebase key that has access to the identity tool kit and secure token api.

@jostster Every public Firebase API needs to go through an internal approval process. We need to sort that out internally and we have everything we need from you. Thanks!

@jostster Every public Firebase API needs to go through an internal approval process. We need to sort that out internally and we have everything we need from you. Thanks!

Sounds good. We do have some google support tickets that I can send you in private if you need those for the internal discussion which represents the issues we have been having with attackers taking down our firebase service which led us to this solution.


Custom Yolov8 model

Hi, I was wondering if anybody had successfully tried bringing their own yolov8 model into the traffic_meter sample?
I tried with .pt weights with both yolov8m and yolov8s models. My process was

Export weights as onnx: yolo export model=mymodel.pt --format=onnx
Replace models/traffic_meter/yolov8m/yolov8m.onnx with mymodel.onnx but keeping original name
Adjust labels.txt with my one class and change num-detected-classes=80 to num-detected-classes=1 in config
Run docker-compose again (it worked fine with the provided Savant test model)

The traffic_meter module creates the engine file but when it tries to start using it the container crashes with code 139. The log is below. One interesting difference between the Savant yolo8m model and mymodel is that Savant model has 4 layers compared to my 2:
INFO: [Implicit Engine Info]: layers num: 4
0   INPUT  kFLOAT input           3x640x640
1   OUTPUT kFLOAT boxes           8400x4
2   OUTPUT kFLOAT scores          8400x1
3   OUTPUT kFLOAT classes         8400x1
vs
INFO: [Implicit Engine Info]: layers num: 2
0   INPUT  kFLOAT images          3x640x640
1   OUTPUT kFLOAT output0         5x8400
How is the onnx used in savant created? Am I missing some config change some place with my new, only 1 class model?
Docker traffic_meter_module log:
INFO  insight::savant::gstreamer::runner                   > Received EOS from pipeline0.
INFO  insight::savant::gstreamer::runner                   > The pipeline is about to stop. Operation took 0:01:35.600607.
INFO  insight::savant::deepstream::encoding                > Encoder for codec 'h264' is available
INFO  insight::savant::deepstream::utils::pipeline         > No telemetry provider specified. Using noop tracer.
INFO  insight::savant::traffic_meter-yolov8m               > Pipeline frame processing parameters: {'width': 1280, 'height': 900, 'batch-size': 1, 'buffer-pool-size': 4, 'batched-push-timeout': 2000, 'live-source': False, 'interpolation-method': 6, 'drop-pipeline-eos': True}.
INFO  insight::savant::gstreamer::runner                   > Starting pipeline traffic_meter-yolov8m<NvDsPipeline>: zeromq_source_bin:v1(name=source) -> nvstreammux:v1(name=muxer) -> pyfunc:v1(name=pyfunc+gstpluginpyfunc0) -> nvinfer@detector:v1(name=yolov8m) -> nvtracker:v1(name=nvtracker0) -> pyfunc:v1(name=pyfunc+gstpluginpyfunc1) -> pyfunc:v1(name=pyfunc+gstpluginpyfunc2) -> nvstreamdemux:v1(name=demuxer)...
INFO  insight::savant::healthcheck::status                 > Setting module status to ModuleStatus.STARTING.
gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so
[NvMultiObjectTracker] Initialized
0:01:50.852184924     1      0xb353a10 INFO                 nvinfer gstnvinfer.cpp:682:gst_nvinfer_logger: NvDsInferContext[UID 2]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1988> [UID = 2]: deserialized trt engine from :/models/yolov8m/model_b1_gpu0_fp16.engine
WARNING: [TRT]: The getMaxBatchSize() function should not be used with an engine built from a network created with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag. This function will always return 1.
INFO: [Implicit Engine Info]: layers num: 2
0   INPUT  kFLOAT images          3x640x640
1   OUTPUT kFLOAT output0         5x8400
0:01:51.028996066     1      0xb353a10 INFO                 nvinfer gstnvinfer.cpp:682:gst_nvinfer_logger: NvDsInferContext[UID 2]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2091> [UID = 2]: Use deserialized engine model: /models/yolov8m/model_b1_gpu0_fp16.engine
0:01:51.497449471     1      0xb353a10 INFO                 nvinfer gstnvinfer_impl.cpp:328:notifyLoadModelStatus: [UID 2]: Load new model:/models/yolov8m/model_b1_gpu0_fp16_config_savant.txt sucessfully
INFO  insight::savant::utils::zeromq                       > Starting ZMQ source: socket ipc:///tmp/zmq-sockets/input-video.ipc, type ReceiverSocketTypes.SUB, bind True.
INFO  insight::savant::gstreamer::runner                   > The pipeline is initialized and ready to process data. Initialization took 0:00:04.668293.
INFO  insight::savant::healthcheck::status                 > Setting module status to ModuleStatus.RUNNING.
INFO  insight::savant::savant_rs_video_decode_bin          > Adding branch with source town-centre-processed
INFO  insight::savant::savant_rs_video_decode_bin          > Branch with source town-centre-processed added
INFO  insight::savant::savant_rs_video_demux               > Created new src pad for source town-centre-processed: src_town-centre-processed.
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 261
NvMMLiteBlockCreate : Block : BlockType = 261
Opening in BLOCKING MODE
INFO  insight::savant::traffic_meter-yolov8m               > Added source town-centre-processed
NvMMLiteOpen : Block : BlockType = 4
===== NvVideo: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4

@elfar
you'd better ask in Discord https://discord.gg/KVAfGBsZGd
You can see that we use a custom YOLOV8-Face model in the ReID sample and YOLOV8-Seg in yolov8-seg sample. As long as your model is correct and properly specified it must work.
139 is a segmentation fault. Something wrong happens.
Join Discord, and share your archive with model files. We will take a look. As it is not a bug or feature, I will close the issue.

Understood, thank you


Integrate TaskManager in reth main

Describe the feature
The tasks crate provides TaskManager and TaskExecutor
The TaskExecutor is used for spawning new tasks (can be critical tasks, e.g. network tasks, or regular, like p2p session tasks)
The TaskManager is notified when a critical task has panicked, which can be used as an exit condition.
It's intended that the TaskManager is the main entry point when launching the node.
For example, this will run until a critical task has panicked
let panicked = manager.next().await;

// this will terminate _all_ tasks spawned via an executor
drop(manager)

The shutdown process needs some additional work, I guess ideally we want to listen for ctrl-c -> shutdown tasks
https://github.com/paradigmxyz/reth/blob/main/crates/tasks/src/lib.rs
Additional context
ref #807

I would like to take this.
Currently,  cargo run --bin reth node is returning a Could not load config error.

appreciate it, but this would do more harm atm, since there's a bunch of work underway for the CLI
blocked by
#1017
#963
If you want to take on something that's slightly more challenging but can be done incrementally https://github.com/paradigmxyz/reth/issues/1037 would be a good start
I believe the config error is due to #1046

Alright, I'll take 1037.

Should no longer be blocked

Alright, will still like to take this.
Concerning making TaskManager optional, how would that work? Does reth main run without the task manager by default,  maybe have a cli flag for the task manager functionality?

same as:
https://github.com/paradigmxyz/reth/blob/e8d7c051cab95a383f9bcd34c00bec3ea47adfa1/crates/net/network/src/config.rs#L70-L71
I think we need a helper type for Option<TaskExecutor>
perhaps MaybeTaskManager(Option<TaskExecutor>)

Blocked by #1079 now, sorry

Ok, so what we've to do is set it here:
https://github.com/paradigmxyz/reth/blob/e8d7c051cab95a383f9bcd34c00bec3ea47adfa1/bin/reth/src/node/mod.rs#L133-L143 Cause it's None by default.


Migrate to official MongoDB driver

https://github.com/mongodb/mongo-go-driver has now a RC. Since it's the official library for MongoDB we should use that instead.
I am particularly interested on using the method countDocuments that is only available in the driver above.
cc/ @prydonius

Thanks for capturing this, I think it's more likely that we'd want to put effort into switching to another storage backend (https://github.com/kubeapps/kubeapps/issues/651) if we were to modify the driver.


Failed to upgrade from v1.2.0 to v1.2.1 due to false error "there are degraded volumes"

Describe the bug
admission webhook "validator.harvesterhci.io" denied the request: there are degraded volumes, please check all volumes are healthy.
But all volumes are ok

To Reproduce
Steps to reproduce the behavior:

Go to '...'

Expected behavior

Support bundle

Environment

Harvester ISO version:
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630):

Additional context
Add any other context about the problem here.

@farukahmmed
please check if any LH volume is in a degraded state by LH dashboard.
If there is, please make sure the volume has the desired replica count (maybe the configured replica count is larger than the number of nodes, you can decrease it dynamically (>=1 for sure)).


CA Injector - missing documentation for inject-ca-from?

According to Google, this page used to have documentation for cert-manager.io/inject-ca-from but now it just says:

This component is configured using the cert-manager.io/inject-apiserver-ca: "true" and cert-manager.io/inject-apiserver-ca: "true" annotations on the ValidatingWebhookConfiguration and MutatingWebhookConfiguration resources.

Note that it documents inject-apiserver-ca twice. Is the second reference supposed to be to inject-ca-from?

@adrianludwin This got fixed in https://github.com/cert-manager/website/commit/c52d477e2e8e5407ffe21881685eb65907148cc3#diff-75148ae39540c4cc1d7d8ded0a277d7d

Thanks!


Bamboo can't run a Fastlane lane

New Issue Checklist

[X ] Updated fastlane to the latest version
[X ] I have read the Contribution Guidelines

Issue Description
I am trying to make bamboo make a daily build, when i run the fastlane beta command in the terminal it works but when bambo tries it is saying : Code signing is required for product type 'Application' in SDK 'iOS 10.2'
in Bamboo i configured a simple job to move to the project folder and to run fastlane beta, is there anything i am missing it is the first time i am working with bamboo
Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
[🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.12.3

Ruby
2.2.4

Bundler?
false

Git
git version 2.10.1 (Apple Git-78)

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.12.3 (16D32)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
true

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.2.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.19.3"

default_platform :ios

platform :ios do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."

  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    # match(type: "appstore") # more information: https://codesigning.guide
    cert
    sigh(
       force: false
       )
    gym(
      clean: true
    ) # Build your app - more options available
    #pilot
    crashlytics(api_token: "2d0f6f32b1f4ce5322258bc0b964fb799583eae5",
              build_secret: "30d7659cfbe3a72e81fa58126b735857f29c84c35bb924eea362b5ed97b7db2c")

    # sh "your_script.sh"
    # You can also use other beta testing services here (run `fastlane actions`)
  end

  desc "Deploy a new version to the App Store"
  lane :release do
    # match(type: "appstore")
    # snapshot
    gym(
    scheme: "Survey") # Build your app - more options available
    deliver(force: true,
    output_directory: "/Users/bamboo/Downloads")
    # frameit
  end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer

`./fastlane/Appfile`
app_identifier "com.xpand-it.survey" # The bundle identifier of your app
apple_id<EMAIL_ADDRESS># Your Apple email address

team_id "NB5SMLFRY7"  # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.20.0
🚫 Update available

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-update_project_codesigning
0.2.0
✅ Up-To-Date

Loaded gems

Gem
Version

CFPropertyList
2.3.5

activesupport
<IP_ADDRESS>

addressable
2.5.0

babosa
1.0.2

bigdecimal
1.2.6

bundler
1.14.3

claide
1.0.1

colored
1.2

commander
4.4.3

domain_name
0.5.20161129

dotenv
2.2.0

excon
0.55.0

excon
0.54.0

faraday
0.11.0

faraday-cookie_jar
0.0.6

faraday_middleware
<IP_ADDRESS>

fastimage
2.1.0

fastimage
2.0.1

fastlane-plugin-update_project_codesigning
0.2.0

gh_inspector
1.0.3

google-api-client
0.9.26

googleauth
0.5.1

highline
1.7.8

http-cookie
1.0.3

httpclient
2.8.3

hurley
0.2

i18n
0.8.1

i18n
0.7.0

io-console
0.4.3

json
1.8.1

jwt
1.5.6

libxml-ruby
2.9.0

little-plugger
1.1.4

logging
2.2.0

logging
2.1.0

memoist
0.15.0

mime-types
3.1

mime-types-data
3.2016.0521

mini_magick
4.5.1

minitest
5.10.1

minitest
5.4.3

multi_json
1.12.1

multi_xml
0.6.0

multipart-post
2.0.0

nanaimo
0.2.3

nokogiri
1.5.6

os
0.9.6

plist
3.2.0

power_assert
0.2.2

psych
2.0.8

public_suffix
2.0.5

rake
10.4.2

rdoc
4.2.0

representable
2.3.0

retriable
2.1.0

rouge
1.11.1

rubygems-update
2.5.2

rubyzip
1.2.1

rubyzip
1.2.0

security
0.1.3

signet
0.7.3

slack-notifier
1.5.1

sqlite3
1.3.13

terminal-notifier
1.7.1

terminal-table
1.7.3

test-unit
3.0.8

thread_safe
0.3.6

thread_safe
0.3.5

tty-screen
0.5.0

tzinfo
1.2.2

uber
0.0.15

unf
0.1.4

unf_ext
<IP_ADDRESS>

unicode-display_width
1.1.3

word_wrap
1.0.0

xcodeproj
1.4.2

xcpretty
0.2.4

xcpretty-travis-formatter
0.0.4

generated on: 2017-03-22
]

@LuffyCosta
You need to make sure that your Bamboo setup matches your laptop setup.
You need to have same keychain(s) installed.
Before you run gym and any kind of code signing operation, you need to make sure that correct keychain is used and unlocked. Keep in mind that most keychains will be unlocked for 5 minutes only by default, so if you unlock then build and your build takes longer than 5 mins, you will end up having errors.
We are using Debug configuration for debugging and Release for the distribution builds. Code signing identity and provisioning profiles are configured as part of Xcode build settings. So on CI server we have to make sure the expected keychain is available and unlocked.

@mgrebenets
The bambo server is my laptop :( it is running using sudo so the keychain beeing locked or not having the necessary certificates it is the most likely, can you please tell me how can i unlock it ou change it to use the user keychain instead of the system?

Oh, sudo - that's probably 2nd largest source of problems after HTTP_PROXY vars :)
I would recommend to change Bamboo setup to not use sudo - that surprisingly solves tons of issues, starting from write permission and ending up with keychains access.
I mean the keychains are configured for you normal user, right?
When Bamboo runs as super user, it probably doesn't even get access to same list of keychains.
security is the command line utility that you can try to use directly to list, unlock and do other things with keychains.

Does the super user even see the keychains it needs to see?
That's where I'd start looking, but in the long run, sudo is the difficult bit and getting rid of it would be for good.

I have this on bamboo when i ran the Security list-keychains:
27-Mar-2017 14:29:08	    "/Users/fastlane/Library/Keychains/login.keychain-db"
27-Mar-2017 14:29:08	    "/Library/Keychains/System.keychain"
and when in run it a terminal it gives me the same result.
I think you are right when i use the sudo fastlane beta it gives me the same error in the terminal as in Bamboo, yes you are right this is eating my mind :S i think i am going mad :P

I have changed bamboo to the user it is working but now it is giving me this
[16:04:14]: ▸ Archive Succeeded
xattr: No such file: /Users/fastlane/Library/Developer/Xcode/Archives/2017-03-27/Survey 2017-03-27 16.04.11.xcarchive
[16:04:14]: The generated archive is invalid, this can have various reasons:
[16:04:14]: Usually it's caused by the Skip Install option in Xcode, set it to NO
[16:04:14]: For more information visit https://developer.apple.com/library/ios/technotes/tn2215/_index.html
[16:04:14]: Also, make sure to have a valid code signing identity and provisioning profile installed
[16:04:14]: Follow this guide to setup code signing https://docs.fastlane.tools/codesigning/GettingStarted/
[16:04:14]: If your intention was only to export an ipa be sure to provide a valid archive at the archive path.
:(

got it running by changing the archive path but now it asks me for a password every time

I guess Login keychain is the default, so it needs to unlock System keychain to use it...
Are your private keys and certs still in System keychain?
Can you move them from System to Login?
Since you are not using sudo any more, it only makes sense to put keychain items to Login keychain.
That's the basic setup, something to start with.
If you get it working, you can then create more keychains and unlock/set-as-default those keychains as part of your lanes.

Wow thank you soooo much you help a lot :D


Copy to clipboard button

Uses IconButton tertiary as per figma; related issue #1478

On mobile

No tooltip for now since it breaks responsivity -- to be investigated

Added an item in go/v2 to handle tooltip


Currently, Canine works only on debian linux. This needs to be made global, so it works with every linux.

Lines of change:
generate-workers.sh:1-2
sudo apt-get update
sudo apt-get -y install socat conntrack ipset

This needs to be changed, either into a check for apt/dnf/yum or install via wget etc.
https://github.com/Prathamkrishna/canine-core/blob/57a94640fc98582e9d30480f3c8685571959b983/generate-workers.sh#L1-L2

Added configuration for making canine usable with both debian and fedora linux(apt and yum).


Add filtering of Magic output

Add an argument to the Magic operation, as suggested in #438 , to filter the results outputted to only those which match the regex provided by the user.

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

Awesome work, thanks very much.
I made a couple of changes. It's important to remember that the Magic operation can explore multiple levels of encoding. The user's crib might not appear until the final level is processed, so it's important not to filter branches out too early.
We now don't filter at all within the Magic class, we just tag each result with whether or not it matches the crib. Back in the Magic operation, we can decide to filter down to just those results that actually revealed the crib now that all branches have been fully explored.
I also made the crib case insensitive.


generated headings might need extra line breaks ord indenting fixed?

As mentioned in https://github.com/jgrassler/mkdocs-pandoc/issues/5#issuecomment-173835953 the generated output might need unexpected extra line breaks.
To reproduce this have a look at mkoertgen/mkdocs-pandoc-samples. The ./headings directory contains a sample project that reproduces this issue - at least on Windows.
I used
mkdocs2pandoc -o mydocs.pd
pandoc --toc -f markdown+grid_tables+table_captions -o mydocs.pdf mydocs.pd

Here is the relevant section in the generated .pd
#### Another Heading 2

Lorem ipsum...
## Say B

### Say B (Heading 1)

For me the generated mydocs.pd looks ok but may the pd-syntax requires empty lines between headings. So maybe it's pandoc that requires an extra line here.
Finally, the generated mydocs.pdf includes some lines ending with the extra headings generated by mkdocs2pandoc (cf. attachments)

mydocs-with-workaround.pdf
mydocs-issue.pdf

As a workaround i started adding html page breaks (at the end of overview/a.md)

After that i realized that adding an extra line break at the end of the files also works around this issue.

That's exhaustive, thanks! I'll try to reproduce this on Linux and/or check the documentation I use for testing (https://github.com/autostrap/autostrap-docs.git) for an accidental occurence of the workaround you mentioned.

Bug confirmed: it affects Linux as well, and it's not related to CRLF line terminators (converting the files to unix style newline-only line causes the same breakage. I'll try to make some time to fix it tomorrow.

Great, thx.

Fixed in branch issues/8. Tested fine on Linux with Python 2.7 and Python 3. Can you check if everything works on Windows as well?
If so I'll merge it and cut a new release.

Looks good.
btw, maybe some hints for Windows installation would be a good fit for the readme.
Chocolatey has become quite popular. You would need
choco install python
choco install pandocpdf

Happy to hear it works. Merged.
Before I cut the official we-now-support-Windows release let me get the installation procedure for Windows/Chocolatey straight:
choco install python
choco install pandocpdf
pip install mkdocs-pandoc

is that all it takes?

Yup, that's all it takes. Typically you would additionally install mkdocs as well
pip install mkdocs

but for mkdocs-pandoc that's all.

Ok, thanks. Then I'll add that to the README.md, minus the mkdocs part, that is. Technically it's not needed but since I wasn't too sure initially, I added it to the package dependencies back when I wrote mkdocs-pandoc. As you pointed out, it makes sense to have it around so I'll continue to keep it in there  :-)


En 426 fix eip scanner include paths

Modified the include paths for the EIPScanner so that all nested paths are explicit. This removes potential confusion with linking as only the /usr/local/include/ directory needs to be referenced by a cmake project using the EIPScanner.
Also updated the Examples to use the EIPScanner library rather than relative paths to the <PROJECT_DIR>/src directory. That is slighly hacky as a separate cmake process is run. This is required as the EIPScanner library needs to be installed before the examples can be built.

NOTE: The unit tests still are not building as expected.
This is something that should still be fixed. Afterwards, this branch can be merged back into the forked source


Add a progress bar & background upload inside of the multiple observations upload screen

Right now, when you are using the multiple observations uploader, the upload only begins once you finish processing all your observations. Some users want the uploads to begin in the background immediately when they tap "upload now" - this is a better UX and also does what the button says it does.
This new UI, combined with the "# observations" at the top of the screen and "# of #" should cohesively help a user understand the upload state of all their observations.
Add the following to the multiple observations upload screen. Here are the designs.

[ ] when there are observations that have been saved or uploaded, display a progress state bar that is sticky to the bottom bar that can be populated with # uploading, # upload failed, # saved, and # uploaded. This bar should sit on top of everything else on this screen (basically attached to the bottom sticky buttons), so all other UI should scroll behind it.
[ ] When an observation is uploading, display a progress bar that functions the same way as the progress bar on the home screen when observations are uploading (with the same amount of time before it disappears)
[ ] If we get background upload working inside of this flow, please make sure to make an issue to make sure background upload also works from MyObs, which it currently does not.

Thanks Abhas. I'm not sure this addresses the lack of visual transition after saving or uploading an observation and landing on the next observation.

Got it, I don't think I understood your original request till now. I agree that is confusing. Here's another issue covering what you mentioned:
https://github.com/inaturalist/iNaturalistReactNative/issues/2325

Based on our discussion in the mobile meeting, this may require more exploration to see what we can do to get background upload working while you are in the app.


Scale up/down button missing in Workload Row

Scaling up/down of a workload is a common activity and it involves multiple clicks/navigations to do that simple operation.

The prior solution in 2.5.x has a + and - to allow scaling up. There also used to be a green/red bar above to indicate the health of the workloads instead of fractions
Widgets exist in the Apps & Marketplace.

We may consider putting this in the Dot Menu.

The Fleet UI has similar widgets that can be leveraged.

https://xd.adobe.com/view/0e46bd9f-b93f-4b6f-96c5-e1e4027dc81f-5b15/

Updating this with more versions to choose from: https://xd.adobe.com/view/0e46bd9f-b93f-4b6f-96c5-e1e4027dc81f-5b15/

It's worth noting there's a similar concept in the Cluster Management -->  --> Machines tab / list for scaling machines in a machine pool (though there we show scale up/down buttons in a group's header). Slightly related there's also a sectioned bar for showing nodes state in a machine set . What @lvuch has proposed looks good, but we should also think about making these components generic and applying them in that context too

image from @richard-cox

@richard-cox I have added a page that shows the rocker button on the group 'tab' in tables https://xd.adobe.com/view/0e46bd9f-b93f-4b6f-96c5-e1e4027dc81f-5b15/

@gaktive @mantis-toboggan-md Will take a look, but is this really a release blocker?

@nwmac this was a customer request that had some urgency but I think with the other work that got into 2.6.3, we can push this out. I'll confirm with PM.

We're getting requests from the community for this, in both slack and rancer/rancher (https://github.com/rancher/rancher/issues/35149)

Test Environment:
Rancher version: v2.6-head 4375161
Rancher cluster type: HA
Docker version: 20.10
Downstream cluster type: ec2 6 nodes cluster

Testing:
New column "Health" is added to the following pages with an interactive bar per a resource row:

workload

all resources on page

all health bars are interactive (can be clicked on to expand/collapse)
see info below to find out which ones have an option to scale a resource up/down

workload -> cronjobs

shows how many jobs have been processed (defaults to the last 3)

in the screenshot I modified the cronjob to keep last 15

workload -> daemonsets

shows on how many nodes the daemon sets are running (6 nodes in my case)

workload -> deployments

shows how many resources are deployed

can be scaled up/down

PUT request to /v1/apps.deployments is made with updated replicas passed

workload -> jobs

shows job status

workload -> statefulsets

shows how many resources are deployed

can be scaled up/down

PUT request to v1/apps.statefulsets is made with updated replicas passed

replica set

shows how many resources are deployed

can be scaled up/down

PUT request to v1/apps.replicasets is made with updated replicas passed

replication controller

shows how many resources are deployed

can be scaled up/down

PUT request to v1/replicationcontrollers is made with updated replicas passed

Testing Notes:

When a resources is added/edited/removed via kubectl the UI is updated accordingly (including the health bar and resource data)
User can't click - if a resource has 0 replicas

Health bars shows correct % proportion for resources

If a resource is not in Active/Successful state the health bar color is brighter compared to the Active ones

if a user starts clicking - or + too many times in a row without allowing a cluster to create resources the error will pop up

409 error code is returned by back end and UI shows it correctly

Checked local and downstream clusters to make sure sclaling up and down is working as expected
All resources got their health bar after upgrading a cluster from 2.6.2 to 2.6 head with all resources mentioned above
Checked Dark/Light mode to see if colors/values are readable

Checked Chrome/Firefox/Safari/Opera to verify that health bars and buttons to scale up/down look correct and interactive


Get-ExcelColumnName again

This expression looks strange:
			if ($columnName.length -eq 0) {
				[char](65 + $modulo)
			}

It will never work. It shoots output, not the variable. Even if it worked (imagine) you would get an array of 2 elements instead of just a string. The first element is string, the second one is pscustomobject.
So shecking "if ($columnName.length -eq 0)" in cycle is overhead.
It does not make sense using arraylist, because in typical case array will be very short.
I would suggest this solution:
function Get-ExcelColumnName {
	param (
		[Parameter(ValueFromPipeline=$true)]
		$columnNumber = 1
	)

	Process {
		$dividend   = $columnNumber
		$columnName = @()
		while ($dividend -gt 0) {
			$modulo      = ($dividend - 1) % 26
			$columnName += [char](65 + $modulo)
			$dividend    = [int](($dividend - $modulo)/26)
		}

		if ($columnName.count -gt 1) {[array]::reverse($columnName)}
		[PSCustomObject]@{
			ColumnNumber = $columnNumber
			ColumnName   = -join $columnName
		}
	}
}

It is faster than arraylist version (in this case).

I used the list to allow inserts in order to fix the problem without re-writing.  There may very well be better solutions.  Feel free to fork the code and submit a PR.


The cloud-init example in the documentation does not work

I have been playing around with the terraform provider for xenorchestra and wanted to use cloud-init to setup my vm's.
I found that the example given in the documentation does not work:
resource "xenorchestra_cloud_config" "demo" {
  name = "cloud config name"
  template = <<EOF
#cloud-init

runcmd:
 - [ ls, -l, / ]
 - [ sh, -xc, "echo $(date) ': hello world!'" ]
 - [ sh, -c, echo "=========hello world'=========" ]
 - ls -l /root
EOF
}

resource "xenorchestra_vm" "bar" {
  // ...
  cloud_config = xenorchestra_cloud_config.demo.template
  // ...
}

The culprit is the commentline #cloud-init
After changing this to #cloud-config, all worked fine. Took me a full hour to figure this out why the cloud-init wasn't working. I suggest to change the documentation into the following:
resource "xenorchestra_cloud_config" "demo" {
  name = "cloud config name"
  template = <<EOF
#cloud-config

runcmd:
 - [ ls, -l, / ]
 - [ sh, -xc, "echo $(date) ': hello world!'" ]
 - [ sh, -c, echo "=========hello world'=========" ]
 - ls -l /root
EOF
}

resource "xenorchestra_vm" "bar" {
  // ...
  cloud_config = xenorchestra_cloud_config.demo.template
  // ...
}

Thanks for spotting this @TheBeems. I opened up a PR to fix this discrepancy.


[Analysis] crop data to user-defined x range - v2

This is v2 of #142. Differences with respect to previous PR:

Simplified time range computation by getting it from TRAPpy
Added a method to compute the plot window instead of calculating it in __parseTrace(). Also, it avoids the window attribute to have None values, but rather sets the two plot bounds to the actual plot window. This provides a reference from where to get the range of values that represent the boundaries for the x time range.

close #142

I think some of this was addressed in https://github.com/ARM-software/lisa/pull/435. If you think the contents of this PR are still relevant, could you please update it ? Otherwise we could close it.


[BUG?, RR1] Unable to connect to worker: invalid data found in the buffer (possible echo)

I use RoadRunner for a project on laravel in docker. When I add extension xdebug server not work.
But if I remove extension xdebug all working well.
 Supported TCP and Unix sockets.
  listen: tcp://:6001

metrics:
  # prometheus client address (path /metrics added automatically)
  address: <IP_ADDRESS>:2112

  # list of metrics to collect from application
  collect:
    # metric name
    app_metric:
      # type [gauge, counter, histogram, summary]
      type: histogram
      # short description
      help: "Custom application metric"
      # metric groups/tags
      labels: [ "type" ]
      # for histogram only
      buckets: [ 0.1, 0.2, 0.3, 1.0 ]
      # objectives defines the quantile rank estimates with their respective
      #	absolute error [ for summary only ]
      objectives:
        - 1.4: 2.3
        - 2.0: 1.4

# http service configuration.
http:
  # http host to listen.
  address: <IP_ADDRESS>:80
  ssl:
    # custom https port (default 443)
    port:     443
    # force redirect to https connection
    redirect: false
    # ssl cert
#    cert:     server.crt
    # ssl private key
#    key:      server.key
    # rootCA certificate
#    rootCa:   root.crt

  # max POST request size, including file uploads in MB.
  maxRequestSize: 200

  # file upload configuration.
  uploads:
    # list of file extensions which are forbidden for uploading.
    forbid: [ ".php", ".exe", ".bat" ]

  # cidr blocks which can set ip using X-Real-Ip or X-Forwarded-For
  trustedSubnets: [ "<IP_ADDRESS>/8", "<IP_ADDRESS>/8", "<IP_ADDRESS>/12", "<IP_ADDRESS>/16", "::1/128", "fc00::/7", "fe80::/10" ]

  # http worker pool configuration.
  workers:
    # php worker command.
    #
    # Allowed arguments:
    # - `--(not-)force-https`
    # - `--(not-)reset-db-connections`
    # - `--(not-)reset-redis-connections`
    # - `--(not-)refresh-app`
    # - `--(not-)inject-stats-into-request`
    # - `--not-fix-symfony-file-validation`

#    command: "php ./vendor/bin/rr-worker --refresh-app --reset-redis-connections"
    command: "php ./vendor/bin/rr-worker --reset-redis-connections"
    # connection method (pipes, tcp://:9000, unix://socket.unix). default "pipes"
    relay: "pipes"
    # user under which process will be started
    user: ""
    # worker pool configuration.
    pool:
      # number of workers to be serving.
      numWorkers: 16
      # maximum jobs per worker, 0 - unlimited.
      maxJobs: 64
      # for how long worker is allowed to be bootstrapped.
      allocateTimeout: 60
      # amount of time given to worker to gracefully destruct itself.
      destroyTimeout: 60

# Additional HTTP headers and CORS control.
headers:
  # Middleware to handle CORS requests, https://www.w3.org/TR/cors/
  cors:
    # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin
    allowedOrigin: "*"
    # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers
    allowedHeaders: "*"
    # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods
    allowedMethods: "GET,POST,PUT,DELETE"
    # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials
    allowCredentials: true

    exposedHeaders: "Cache-Control,Content-Language,Content-Type,Expires,Last-Modified,Pragma"
    # Max allowed age in seconds
    maxAge: 600

  # Automatically add headers to every request passed to PHP.
  request:
#    "Example-Request-Header": "Value"
  # Automatically add headers to every response.
  response:
    "X-Powered-By": "RoadRunner"

# monitors rr server(s)
limit:
  # check worker state each second
  interval: 1

  # custom watch configuration for each service
  services:
    # monitor http workers
    http:
      # maximum allowed memory consumption per worker (soft)
      maxMemory: 100
      # maximum time to live for the worker (soft)
      TTL: 0

      # maximum allowed amount of time worker can spend in idle before being removed (for weak db connections, soft)
      idleTTL: 0
      # max_execution_time (brutal)
      execTTL: 60

# static file serving. remove this section to disable static file serving.
static:
  # root directory for static file (http would not serve .php and .htaccess files).
  dir: "public"
  # list of extensions for forbid for serving.
  forbid: [ ".php", ".htaccess" ]
  # Automatically add headers to every request.
  request:
#    "Example-Request-Header": "Value"
  # Automatically add headers to every response.
  response:
    "X-Powered-By": "RoadRunner"

# health service configuration
health:
  # http host to serve health requests.
  address: <IP_ADDRESS>:2113

# reload can reset rr servers when files change
reload:
  # refresh internval (default 1s)
  interval: 1s
  # file extensions to watch, defaults to [.php]
  patterns: [ ".php" ]

  # list of services to watch
  services:
    http:
      # list of dirs, "" root
      dirs: [ "" ]
      # include sub directories
      recursive: true

System information
PHP version 8,0,1
roadrunner-laravel 3.7
RoadRunner version 1.9.2
Environment docker

Does manual php worker.php work and does not produce any output until you type anything in CLI?
Check Troubleshooting here https://roadrunner.dev/docs/php-worker

Does manual php worker.php work and does not produce any output until you type anything in CLI?
Check Troubleshooting here https://roadrunner.dev/docs/php-worker

if you log in to the container and run it in manual mode
bash-5.1$ php ./vendor/bin/rr-worker

Warning: JIT is incompatible with third party extensions that override zend_execute_ex(). JIT disabled. in Unknown on line 0

if start server
bash-5.1$ //usr/local/bin/rr serve -c /var/www/.rr.yml -w /var/www -d
ERRO[0000] [http]: [http]: unable to connect to worker: invalid data found in the buffer (possible echo): signal: killed
Error: [http]: unable to connect to worker: invalid data found in the buffer (possible echo): signal: killed

if you log in to the container and run it in manual mode
bash-5.1$ php ./vendor/bin/rr-worker

Warning: JIT is incompatible with third party extensions that override zend_execute_ex(). JIT disabled. in Unknown on line 0

if start server
bash-5.1$ //usr/local/bin/rr serve -c /var/www/.rr.yml -w /var/www -d
ERRO[0000] [http]: [http]: unable to connect to worker: invalid data found in the buffer (possible echo): signal: killed
Error: [http]: unable to connect to worker: invalid data found in the buffer (possible echo): signal: killed

if disable JIT in PHP, all work well, but I think its not correct behavior. If start script in PHP CLI  JIT disabled and we see the warning

if disable JIT in PHP, all work well, but I think its not correct behavior. If start script in PHP CLI  JIT disabled and we see the warning

Sounds like your version of xDebug conflicts with JIT, RR has nothing to do with it. But such behavior breaks the communication protocol. You can try to use Unix pipes but the problem still is there.

Sounds like your version of xDebug conflicts with JIT, RR has nothing to do with it. But such behavior breaks the communication protocol. You can try to use Unix pipes but the problem still is there.

Thank's!

Thank's!

@sergey-yabloncev If your problem was solved, feel free to close the issue :)

@sergey-yabloncev If your problem was solved, feel free to close the issue :)


add: shresritik

Description
[Include a brief description of the changes you've made]
Related Issues
[Include any related issues or pull requests that this PR addresses or is related to. Use GitHub's shorthand syntax to link to them, like #1234.]
Changes Proposed
[Describe the changes you've made in detail. Be specific and include any relevant code snippets.]
Checklist

[ ] I have read and followed the Contribution Guidelines.
[ ] All new and existing tests passed.
[ ] I have updated the documentation to reflect the changes I've made.
[ ] My code follows the code style of this project.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots
Note to reviewers

@shresritik Thank you so much for your contribution! Your efforts are greatly appreciated and will go a long way in improving our project. Please feel free to share it with others and Star the repo to help us grow even further!


failed to serve volume using SCSI: mkdir /sys/kernel/config/target: no such file or directory

i try to attach a volume via tcmu , got his error, attach via nbd it does work
torusblk  tcmu test
2016-10-19 19:03:41.708337 I | torus: creating metadata service: etcd
2016-10-19 19:03:41.720762 I | torus: 301d51ea-9488-11e6-941e-0a281e822a50: 1
2016-10-19 19:03:41.720779 I | torus: 7562a233-948a-11e6-abe6-62e8f0322c24: 1
2016-10-19 19:03:41.721024 I | torus: creating blockstore: temp
2016-10-19 19:03:41.724378 I | torus: 301d51ea-9488-11e6-941e-0a281e822a50: 1
2016-10-19 19:03:41.724393 I | torus: 7562a233-948a-11e6-abe6-62e8f0322c24: 1
failed to serve volume using SCSI: mkdir /sys/kernel/config/target: no such file or directory
``

lsmod | grep target_core_user
target_core_user       20480  0
target_core_mod       286720  1 target_core_user
uio                    16384  1 target_core_user

cat /etc/os-release
NAME=CoreOS
ID=coreos
VERSION=1122.2.0
VERSION_ID=1122.2.0
BUILD_ID=2016-09-06-1449
PRETTY_NAME="CoreOS 1122.2.0 (MoreOS)"
ANSI_COLOR="1;32"
HOME_URL="https://coreos.com/"
BUG_REPORT_URL="https://github.com/coreos/bugs/issues"

ok configfs was missing, after running
modprobe configfs
mount -t configfs configfs /sys/kernel/config

it does work


Ast format alternative

Potentially think this is a path for prettier ASTs, or I could learn how to do newlines etc properly in babel

I don't care that it doesn't lint, this is ready to go


Request: Add support for converting Raid scriptdata

Not possible without using some kind of sblt plugin that reverse engineered its format. Which won't happen.

However, if you need to get the scriptdata from raid it's possible to use this version I made a long time ago for Raid: https://github.com/Luffyyy/Raid-Editor


examples page buttons is not working

hi guys,
the buttons in this page is not working and not navigating to the appropriate part of the documentation:

I've tried it on multiple browsers but it still have the same issue
Edit:
apparently there is an error in the examples.js file that occurs when the page loads:

@ahmedmagdy492 Just reviewed it and I can't reproduce the isssue, could it be related to your internet service provider?

It turned out that you are right, yes the issue was caused by my internet service provider, when i tried with a vpn the page just worked properly without any issues.


Responsive base

everything except:

home
archives
search

so with the responsive styls, youre first just copying everything from site.styl, and then removing whats unnecessary later? im confused why you have s-into-#, m-into-#, and l-into-# on all the styls


Howto open subtree and link with one click

I want to open the submenu AND the link in submenus parent(mainmenuitem1) at the same time with ONE click on the line containing the main menu item. How can I do that with navgoco?
mainmenuitem 1
submenuitem 1
submenuitem 2

I have the same question. When a user clicks a link to a page, the menu should automatically add an open class to all parent items. I'm adding this script below my sidebar:
<script>$("li.open").parents('li').toggleClass("open");</script>

It works but the result is a flicker when the page loads. First the menu opens all the way, and then the class gets applied and the menu opens properly. I want the class loaded before the menu displays. How do I do that?


Treat lists as lists

Fixes #832
@jcrist this could use your review.  Also I had to fail one of the imperative tests.

In general, I'm totally for this. This was one of the confusing parts of the spec, and resulted in non-intuitive bugs.
A few things

I may be wrong, but dask.bag may rely on this for efficiency.
A few places that demand a list are annotated with list2. These aren't harmful, but may no longer be necessary.

list2 was used for a slightly different reason.  The functions in dask.bag genuinely produce iterators.  These are wrapped with (list, ...) for correctness reasons.  These calls to list are removed if we can fuse tasks.  list2 was used to avoid this fusion.


test: fix LIVE-9694

📝 Description
Fixes LIVE-9694 by effectively stopping Lottie animations.
❓ Context

Impacted projects: LLD tests
Linked resource(s): LIVE-9694

✅ Checklist

[x] Test coverage
[x] Atomic delivery
[x] No breaking changes

📸 Demo

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

/generate-screenshots


Trying to connect

Please include the following information in your ticket.
I'm trying to connect but I received the error bellow
IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2393' ('MQRC_SSL_INITIALIZATION_ERROR').

ibmmq-jms-spring version(s) that are affected by this issue.
1.3.72

Java version (including vendor and platform).
openjdk 11.0.8 2020-07-14

A small code sample that demonstrates the issue.

There are a lot of reasons for that error code. There's often something in the error logs (AMQERR*.LOG) on either the client or qmgr side that can give more information. Most common reasons include

local keystore not accessible
certificate (or signing cert from CA) not in partner's keystore
invalid/non-matching cipherspec between partners

closing as no further updates


MTSRE-481 Cleanup

py-mtcli
Description
Cleaned up the creation of kind: Template through Jinja-Template and the corresponding tests.

/ok-to-test


React Fiber - MenuItem not rendering due to findDOMNode

Problem description
Modal-based components fail to render due to findDOMNode returning null in this line.
Possibly related to https://github.com/facebook/react/pull/8905, https://github.com/facebook/react/issues/9475, and https://github.com/facebook/react/issues/8854
Versions

Material-UI: next
React: 16.0.0-alpha.12
Browser: Chrome 60

Any idea regarding how to fix that issue?

Looks like an issue with the portal stuff. I have the following error, the ref callback is called after componentDidUpdate.

    return (
      <Portal
        open
        ref={node => {
          this.mountNode = node ? node.getLayer() : node;
        }}
      >
        <div
          data-mui-test="Modal"
          className={classNames(classes.modal, className)}
          ref={node => { // Called after componentDidUpdate
            this.modal = node;
          }}
          {...other}
        >
          {!disableBackdrop && this.renderBackdrop(backdropProps)}
          {modalChild}
        </div>
      </Portal>
    );

I have found a relevant issue: #9808.

I have managed to narrow down a minimal reproduction with the very same code, only the React version changed:

react@latest: https://jsfiddle.net/q75fmstr/: componentDidUpdate is called last
react@next: https://jsfiddle.net/3apqnhmw/ componentDidUpdate isn't called last

I think that we can use @gaearon comment: https://github.com/facebook/react/issues/9808#issuecomment-308085984, to write a cross next/latest Portal component.

I still get this issue on react 16 beta-5.
Material UI v1-beta-4. any fix?


Use pathlib for git-graph python module

To run this package as a Python module will crash as explained in #3
Since Python 3 it's a good practice to use Pathlib when needed.
This closes #3

All tests are now passing but it's failing with Travis CI due to flake8. Will try to correct that later.

Fixed the issue with Travis CI due to flake8 used with incorrect python version.
Now all is green and working again. I will let you review the fixes and merge them and drop a new pypi package.
Have a nice day! :)


fix smithy language server version

Problem
I attempted to build the current Smithy language server using the two most recent Java versions, 17 and 20, but neither was successful.
Old version (e4675485051c4931381470299a7d3ce50408f7c7)

New version (708bfc4ff8ca1b266a66c9919d269cd74dffe2e1) based on the latest comment

So whenever there's a change to a package definition (anything under packages/) there will be a new release  made immediately. After merging a PR it takes a couple of seconds to actually publish the release, and then a couple more seconds (or minutes) for APIs involved to revalidate their cache.
The registry used by mason.nvim is basically updated automatically 0-2 times per day (depends on how much you interact with mason.nvim). You can always manually update the registry by doing :MasonUpdate (or pressing C to check for new package versions when the :Mason window is open).

Awesome Thanks so much for your insight explanation 🙏


No module named 'spatial_correlation_sampler'

When running inference.py:
from spatial_correlation_sampler import SpatialCorrelationSampler
ModuleNotFoundError: No module named 'spatial_correlation_sampler'
I can't find any reference to this module on the repo.

Realized that when running pip install requirements.txt for some reason the module wasn't installed. Sorry!


Enable Python Timeout xDS Interop Test

Turns out the issue was just that the Java server need to be updated. 🤦
Passing manual run.


Unable to select from history

When open a command from history the url is in Label field instead of text, hence unable to select the text
Expected outcome
I should be able to select the text
Actual outcome
Text is a label, so can't select anything, just headers and payload.
Versions
App: <IP_ADDRESS>-stable
Chrome: 48.0.2564.116
Platform: Mac OS X (10_10_5)
Steps to reproduce

I click on history
select with checkbox a previous command
The right hand rail appears
I try to select the URL and can't

P.S. Don't know if you aware, but on google store very bad reviews for popup feature and this new release, my colleagues are also highly disappointed with pop-up screen.

Hi,
Thank you for your issue report.
As for popup window issues, please, refer to the issue #510 for detailed discussion and explanation.
As per your issue, do you mean that you can't select text in the saved list panel?
Thanks.

I'm closing this issue because of lack of response.


Apply MSSQL License using Docker

Hello,
As mentioned in this issue Issue, whenever we acquire a license key we don't have to apply it to the docker container and we simply need to set the MSSQL_PID to the correct license type. However, on the  documentation page it is listed that we set the MSSQL_PID to the SQL Server Edition OR product key, can you please clarify in which situation you would use one or the other? I thought we should use both or maybe just the SQL Server Edition.
Thanks!

I also have the same question. Can anyone clarify this?


Expose class parameters on command line

Instead of #620, let's limit the scope a bit and start with this thing first

LGTM

Coverage decreased (-27.4%) to 48.49% when pulling dd29271edc6f674e2cf74ef4a70e2ee29a14ce2c on erikbern/expose-class-parameters into 86726aa42ec646437078cd06db74ac588c6179bc on master.

I think coveralls is confused by the latest tox refactoring :(


Add a storaging structure for the images

Add a storaging structure for images. Maybe this could be used: storaging with kivy: This would be the module of my choice: "kivy.storage.jsonstore.JsonStore: use a JSON file as a store".

Done in branch kivy_startscreen. Pull request will follow soon.


[TypeScript] Possible breakage of LegacyElementMixin type definition with the release of 3.4.0 (No problem on 3.3.1)

Steps to Reproduce

Import a Polymer component in TypeScript with an interface that extends both LegacyElementMixin and HTMLElement (e.g., https://www.webcomponents.org/element/@polymer/paper-dialog).
import { PaperDialogElement } from<EMAIL_ADDRESS>Try to compile your project.

#### Expected Results
No error during compilation.

#### Actual Results
The following errors occur:
node_modules/@polymer/paper-dialog/paper-dialog.d.ts:78:11 - error TS2320: Interface 'PaperDialogElement' cannot simultaneously extend types 'LegacyElementMixin' and 'HTMLElement'.
  Named property 'removeAttribute' of types 'LegacyElementMixin' and 'HTMLElement' are not identical.

78 interface PaperDialogElement extends PaperDialogBehavior, NeonAnimationRunnerBehavior, LegacyElementMixin, HTMLElement {
             ~~~~~~~~~~~~~~~~~~

node_modules/@polymer/paper-dialog/paper-dialog.d.ts:78:11 - error TS2320: Interface 'PaperDialogElement' cannot simultaneously extend types 'LegacyElementMixin' and 'HTMLElement'.
  Named property 'setAttribute' of types 'LegacyElementMixin' and 'HTMLElement' are not identical.

78 interface PaperDialogElement extends PaperDialogBehavior, NeonAnimationRunnerBehavior, LegacyElementMixin, HTMLElement {
             ~~~~~~~~~~~~~~~~~~

Found 2 errors.

I looked a bit into it and it seems that on Polymer v3.3.1 there were no removeAttribute and setAttribute methods on the LegacyElementMixin interface, whereas they are present in v3.4.0.
That wouldn't be a problem, but the method signature doesn't match the one found on HTMLElement so when an interface tries to extend both of those at the same they will clash.
On HTMLElement you have the following signatures:
removeAttribute(qualifiedName: string): void;
setAttribute(qualifiedName: string, value: string): void;

On version 3.4.0's LegacyElementMixin you have these signatures:
setAttribute(name: any, value: any): void;
removeAttribute(name: any): void;

As you can see, they are not pefect matches. string should be used instead of any.
I don't know exactly how do you generate your type definitions, since the library is not written in TypeScript. But you are probably doing it by extracting type information from JSDoc.
So could you please fix this small issue and make a quick v3.4.1 release?
Thanks in advance.
Browsers Affected

Not applicable, this is a build time issue.

Versions

@polymer/lit-element: v2.3.1
@polymer/paper-dialog: v3.0.1
@polymer/polymer: v3.4.0

Came to report the same thing, one of our CI pipelines broke today. Confirmed that pinning polymer ~3.3.0 fixes the issues
../../node_modules/@polymer/paper-icon-button/paper-icon-button.d.ts(75,11): error TS2320: Interface 'PaperIconButtonElement' cannot simultaneously extend types 'LegacyElementMixin' and 'HTMLElement'.
  Named property 'removeAttribute' of types 'LegacyElementMixin' and 'HTMLElement' are not identical.
../../node_modules/@polymer/paper-ripple/paper-ripple.d.ts(86,11): error TS2320: Interface 'PaperRippleElement' cannot simultaneously extend types 'LegacyElementMixin' and 'HTMLElement'.
  Named property 'setAttribute' of types 'LegacyElementMixin' and 'HTMLElement' are not identical.
../../node_modules/@polymer/paper-spinner/paper-spinner.d.ts(52,11): error TS2320: Interface 'PaperSpinnerElement' cannot simultaneously extend types 'LegacyElementMixin' and 'HTMLElement'.
  Named property 'removeAttribute' of types 'LegacyElementMixin' and 'HTMLElement' are not identical.

Looks like this PR maybe the intended fix:  https://github.com/Polymer/polymer/pull/5650
It came not long after v3.4.0 was released

Thanks for reporting! Yes, #5650 should fix this but I'm currently working some issues importing it internally since it goes through a different type checker there. Once that's fixed, I'll be make a v3.4.1 release.

Sorry about the wait, turnaround time for those tests is kind of long and we had to do a few cycles. v3.4.1 is now released and should resolve this issue; let me know here if you're still experiencing this issue after upgrading. Again, thanks for reporting!


ur_client_library: 1.0.0-1 in 'rolling/distribution.yaml' [bloom]

Increasing version of package(s) in repository ur_client_library to 1.0.0-1:

upstream repository: https://github.com/UniversalRobots/Universal_Robots_Client_Library
release repository: https://github.com/UniversalRobots/Universal_Robots_Client_Library-release.git
distro file: rolling/distribution.yaml
bloom version: 0.10.7
previous version for package: null

ur_client_library
* Added Cartesian streaming interface #75 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/75>
* Added trajectory forwarding interface #72 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/72>
* Refactored Reverse interface #70 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/70> from fmauch/refactor_reverse_interface
* Added option for robot_ip as runtime argument for rtde_test (#71 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/71>)
* Added reverse_ip parameter (#52 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/52>)
* Move calibration check out of constructor. #65 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/65> from fmauch/calibration_check_optional
* Install the resources folder instead of the script file directly (#62 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/62>)
* Use a non-blocking tcp server for the ReverseInterface and ScriptSender. #46 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/46> from fmauch/tcp_server
* Added LogHandler #40 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/40> from urmahp/logging_feature
* Fixed links in README (#35 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/35>)
* Contributors: Felix Exner, G.A. vd. Hoorn, JS00000, Lennart Puck, Mads Holm Peters, Tristan Schnell

Holding for transition to Jammy.

Holding for transition to Jammy.

Because this transition will require re-running Bloom to pick up the new target platforms this pull request will not be merge-able so I am going to close it.
@fmauch if you're interested in releasing this package for Rolling on Jammy please follow  the Discourse thread for the transition hold. When the Jammy transition is complete and releases can be run again that thread will link to the announcement.


Can more than one websocket be connected to a charger at a time?

Can you clarify this?  Normally when an OCPP EVSE boots, it will send an HTTP request to the central system.  Then there is a connection upgrade to HTTP2 (websocket) via upgrade header and negotiation, then the server holds the connection and TX and RX messages with the EVSE.
Is the question, "Can an EVSE connect to more than one Central Server at a time?"


Fix: mode=app not working correct on macOS

Fixes the issue where mode=app has no effect on macOS because options.create_app_bundle was not being used.
Summary by Sourcery
Bug Fixes:

Fix the issue where mode=app was not functioning correctly on macOS by ensuring the correct option is used to create an app bundle.

This will go directly to 2.5.5 hotfix too


Add specification for telemetry

Two strategies for tracking message reliability:

A:

User sends message with light push and notifies telemetry after receiving success confirmation from minimum number of peers (likely 1 peer)
Telemetry waits for a store node to have received the message

B: (more akin to end-to-end reliability)

User sends message with Light Push and notifies telemetry (after success)
Another user running Waku receives the message via Filter and notifies telemetry

Note that for B, both users must be running the Waku application at the same time, since we do not expect "offline" nodes to receive a historical message via Filter
Message that was sent but never received by store node is worst case
In each case, the latency between steps 1 and 2 can be a metric to measure.

Types of metrics, sorted by priority:

Reliability
Bandwidth
Latency

Should telemetry implementation be purely external or purely internal? i.e. with current work in status-go and waku dogfooding, all metrics are collected without making changes within the go-waku and js-waku libraries. This makes telemetry an application-level feature (or perhaps an application in itself), and thus any changes to the implementation or spec should not affect the protocol. It also limits metrics to use data exposed by the waku libraries' public interfaces.
If purely internal, then telemetry becomes more closely coupled with core Waku specs/implementation but allows for more granular metric collection.

Should telemetry implementation be purely external or purely internal? i.e. with current work in status-go and waku dogfooding, all metrics are collected without making changes within the go-waku and js-waku libraries. This makes telemetry an application-level feature (or perhaps an application in itself), and thus any changes to the implementation or spec should not affect the protocol. It also limits metrics to use data exposed by the waku libraries' public interfaces.
If purely internal, then telemetry becomes more closely coupled with core Waku specs/implementation but allows for more granular metric collection.

There could be merit of having telemetry at both level.
The issue with telemetry at Waku level is that a number of information and learning would be lost, as telemetry also hleps understand application behaviour but if it's at Waku level then application information (e.g. status message type) is lost.
For now, let's focus telemetry at application level. We can review if Waku level telemetry is something wanted later.

I think this is not necessary anymore because of the direction we have taken for telemetry.
Let's review as part of 2025 H1 roadmap but it looks like having Prometheus metrics is good enough for what we need and we can move in this direction.
I think a spec was more necessary when we had a complex behaviour as per the original telemetry design.


Fixing systemd metadata so sendLoadState, sendSubState and sendActiveState options work again

I'm still unsure why gauge.substate.running doesn't have a group, but I left a comment on the other PR so I won't duplicate it here.
Looks good otherwise!

this is a default metric, the only metric that gets sent without any option enabled.


Support for Dev Containers

Please describe the feature you would like to see implemented.
I am really loosing my mind over contributing to this repo, I just can't get it working locally so I use GitPod all the time, my free tier is now used up and I don't really want to pay for it. Nix devenv also won't work for me, out of the box atleast, and in GitPod I regularly just throw away my instances and reload everything.
There is a new, open specification for development containers, like Gitpod but it works everywhere
Currently VS Code supports it, Github Codespaces supports it, PhpStorm is working on it, so it may make a lot of sense.
I'm starting to work on this to get ourselves a working .devcontainer

Since https://github.com/shopware/platform/commit/05eff4b52f3b74adf49583c7f402598e065abe08 Gitpod should work normal again.
I am currently adding Devenv which is already added to this repo to Gitpod https://github.com/gitpod-io/workspace-images/pull/999 without needing to install it.

For Opensource Gitpod also offers a special plan somewhere is a Google Form to get it.


[CSharp-Samples] Update to Microsoft.Bot.Builder 3.5.0

Hi @pcostantini, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, AZPRBOT;

@willportnoy


Don't allow user to add/remove genes when gene.iobio is run inside clin.iobio

Now, when gene.iobio is run inside clin.iobio, the genes search only allows genes that have been selected in gene panel to be selected.  The edit genes button is hidden and the remove X glyph for gene badges is also hidden.

Fixed


How to train a high-quality model

I am currently attempting to train a base model, but it is difficult to achieve a level of similarity comparable to that of existing open-source models. I was wondering if there are any specific techniques or strategies for effectively training a base model. I would greatly appreciate a detailed response.

I am currently attempting to train a base model, but it is difficult to achieve a level of similarity comparable to that of existing open-source models. I was wondering if there are any specific techniques or strategies for effectively training a base model. I would greatly appreciate a detailed response.

我最近也在做类似的事情，用现有的预训练模型在某些情况下存在发音异常，所以也希望重训一个更好的模型。但是训了一段时间之后效果仍不理想。


make tests work when run in a child_process

process.stdout.cursorTo and process.stdout.clearScreenDown only exist
if stdout is a tty. When smoke testing Node.js builds, citgm is used
to make sure breaking changes are not being made to popular packages.
This package fails due to not checking if the cursorTo and
clearScreenDown functions exists on process.stdout before using them.
(https://github.com/nodejs/citgm/issues/70)
/cc @TheAlphaNerd

There was checks for them in 3.2.0 but I had to quickly revert it due to a critical issue and haven't had time to add them back yet.

@petkaantonov as soon as those checks are back in we can add bluebird to citgm, the smoketester we use before every release

Ok landed this just now in 3.2.2.

Thanks @petkaantonov!


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 49 ms

Resolved: ClamAV performance has improved in 8e20c04.


Add annotated developer docs for the async API

originally filed as https://github.com/engineblock/engineblock/issues/154

This is no longer relevant with the advent of the virtual thread approach. Any use of async APIs internally should be limited to accessing discrete queuing of requests separate from retiring operations. This should be constrained to be within the single-threaded flow of a single operations, since virtual threads are being relied on to handle the effects of concurrency on the client side, irrespective the native driver in use.


[Feature Request] Attach injections to form/survey

Add a feature that supports adding injections to forms/surveys.
This could be implemented through a custom Action Tag.
Important would be to validate that all required fields for the injection are available and accessible.
The download could be hooked into the same method that currently fills PDF documents.

Probably related to https://github.com/Research-IT-Swiss-TPH/redcap-pdf-injector/issues/17


chore(main): release metamask-testing-tools 1.1.2

:robot: I have created a release beep boop
1.1.2 (2023-07-14)
Bug Fixes

improve fixture cleanup (cefcbad)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/hugomrdias/filsnap-testing/releases/tag/metamask-testing-tools-v1.1.2 :sunflower:


v1.0.7 throwing "Cannot find module ‘@adobe/reactor-sdk’"

Expected Behaviour
The sdk can be required as a dependency
Actual Behaviour
Error is thrown
Steps to Reproduce
npm i -S @adobre/reactor-sdk
const Reactor = require('@adobe/reactor-sdk').default
Platform and Version
All platforms
All node versions

@adobe export issue to Jira project PDCL as Bug


Fix for multiple select with dynamic selection.

This is a follow-up to https://github.com/tildeio/glimmer/pull/266 and adds tests for dynamic selected attributes (as opposed to only static).
Related to https://github.com/emberjs/ember.js/issues/13992.

Updated with a fix that uses setAttribute for initial render, and sets via a property for updates.

While researching the failure, we discovered a somewhat fundamental issue with the way that we are doing our DOM building.
Currently, attributes are attached to a given element when we call in the close-element opcode.  This is problematic in the <select multiple> case because the multiple attribute must be present when <option>'s are added or the selectedness for all but the last <option that has a selected attribute will be changed to false.  Relevant section from the spec.

@chancancode and I started spiking on adding a flush-attributes opcode that would be ran before the first opcode that is not a static-attr or dynamic-attr.  This will allow us to flush all attributes to the element before any child contents are added.

OK, after more discussion with @chancancode we decided to leave this PR as a failing test PR and do the actual implementation separately.


Scale isolated label ASW

Isolated label ASW is not scaled, so that the expected output range would be between -1 and +1
https://github.com/theislab/scib/blob/98ee9a20260993ca5df960054dcc82ff8fd75b20/scib/metrics/isolated_labels.py#L237-L249
Solution: Add scaling option to metric

We'll need a new release and then an open problems PR to pin to that release @danielStrobl


Stop words in hyphenated compounds

When two words are used together to yield a new meaning, a compound is formed. Compound words can be written in three ways: as open compounds (spelled as two words, e.g., ice cream), closed compounds (joined to form a single word, e.g., doorknob), or hyphenated compounds (two words joined by a hyphen, e.g., long-term).  It will not only find results for the compound, but also for the compound excluding all stop words. In one of the examples above, using the default stop words, elasticlunr will search for mother and law, since in is a stop word. The list of results may be much longer than for mother-in-law. A search for would-be, however, will not have any results at all, since both parts of this compound are stop words.

elasticlunr.clearStopWords();
Will remove all stopwords.
Since , Td idf is already lowering the score of most common words.
You dont need  to worrying about them.

I would like to see the score of compound word matches raised. If you are searching for mother-in-law, the score of an exact compound match should be higher than that of mother is in the house studying law (all parts of the compound word are present, but not as a compound) or if you ask the lawyer mother, law comes first (same but with stop words removed).


Define the Provider trait with all subtraits.

@greged93 Should be closed by https://github.com/kkrt-labs/kakarot-rpc/pull/1337 no?


Ability to handle data [0, 0, 0, 0]

Expect: a thin line as shown in last 3 columns of data = [100, 0, 0, 0]
Actual: no line at all
Expect: percentages to be empty
Actual: NaN%

@greghub I think you can close this issue now.

Do not forget to build the project to NPM, pls. Thanks!