Create Region lookup composition

In order to ensure the region is correctly passed to the composition for building the RDS cache cluster, a new composition needs to be created that wraps rdscacheclusters.xdatabases.crossplane.giantswarm.io
This composition will be given all the parameters for the rdscacheclusters along with additional clusterName and clusterNamespace
The purpose of this composition will then

Block Infrastructure creation
Look up clusters.cluster.x-k8s.io
Retrieve spec.infrastructureRef
Determine if this is an AWS cluster or AWS Managed cluster

If not, abort on a composition assertion as this composition currently only supports AWS

Perform a secondary lookup to retrieve the AWSCluster or AWSManagedCluster resource
Patch region back to status.region
Feed status.region to rdscacheclusters.xdatabases.crossplane.giantswarm.io.spec.region
Unblock infrastructure creation

This composition is ready for testing
composition: https://github.com/giantswarm/crossplane-gs-apis/tree/main/crossplane.giantswarm.io/xaws/compositions/rccwithregionlookup
definition: https://github.com/giantswarm/crossplane-gs-apis/blob/main/crossplane.giantswarm.io/xaws/v1alpha1/rccwithregionlookup_types.go
api doc https://github.com/giantswarm/crossplane-gs-apis/blob/main/apidocs/rccwithregionlookups.xaws.crossplane.giantswarm.io.md

Testing requires crossplane to be deployed to a management cluster as this requires access to CAPI/CAPA resources

Done


Referencing a source in a model injects the source name as the schema

Source YAML:
version: 2

sources:
  - name: mysource
    database: s3
    tables:
      - name: NYC_TRIPS_PARQUET

Model sql file:
with mytrip as (
select * from  {{ source('mysource','NYC_TRIPS_PARQUET') }}
)
select * from mytrip

Resulting query:
with mytrip as (
select * from  "s3"."mysource"."NYC_TRIPS_PARQUET"
)

Expectation:
with mytrip as (
select * from  "s3"."NYC_TRIPS_PARQUET"
)

Hi @ravjotbrar , it may not be a bug, but a standard dbt's behavior : source schema default value
Could you please try with 👍
version: 2

sources:
  - name: mysource
    database: s3
    schema: no_schema
    tables:
      - name: NYC_TRIPS_PARQUET

Best regards, Fabrice

Hi @fabrice-etanchaud, thank you for your suggestion. It seems like adding schema: no_schema does the trick!
The resulting schema is expected:
with mytrip as (
select * from  "s3"."NYC_TRIPS_PARQUET"
)


Replace special characters in package version

Proposed changes
This PR provides a quick fix to the tedge-apt-plugin bug, which prevents the package installation if it contains a colon character. More in #2666.

Types of changes

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
[ ] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue

#2666

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA (in all commits with git commit -s)
[x] I ran cargo fmt as mentioned in CODING_GUIDELINES
[x] I used cargo clippy as mentioned in CODING_GUIDELINES
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

Software not installed. errors=[('package-with-epoch', 'MISSING')]

You have to add package-with-epoch to the list of packages not filtered out by the tedge-apt-plugin.

@Ruadhri17
The reason why the Apply name filter test is now failing is because the default maintainer filter was added to the base integration test image, and in this test it is calling the tedge-apt-plugin list command manually which is inheriting the maintainer filter from the tedge.toml (which previously did not exist). So we just need to prevent that from happening by using --maintainer "" in the test.
Here is the git patch to fix the issue:
diff --git a/tests/RobotFramework/tests/plugin_apt/filter_packages_list_output.robot b/tests/RobotFramework/tests/plugin_apt/filter_packages_list_output.robot
index b921944f5e..12e74768ce 100644
--- a/tests/RobotFramework/tests/plugin_apt/filter_packages_list_output.robot
+++ b/tests/RobotFramework/tests/plugin_apt/filter_packages_list_output.robot
@@ -11,7 +11,7 @@ Test Tags           theme:software    theme:plugins
 *** Test Cases ***
 Apply name filter
     ${packages_list}=    Execute Command
-    ...    sudo /etc/tedge/sm-plugins/apt list --name tedge
+    ...    sudo /etc/tedge/sm-plugins/apt list --name tedge --maintainer ""
     ...    exp_exit_code=0
     Should Match Regexp    ${packages_list}    ^tedge\\s+${VERSION}


asyncCommitInFlight concurrency

Non-volatile field CommitManager.asyncCommitInFlight is updated from

CommitManager.commitAsync (decaton subscription thread)
 consumer.commitAsync callback (kafka background I/O thread)

To ensure it is always correctly updated, it should be atomic or at least volatile.

Against the name commitAsync, the callback is ensured to be triggered on consumer-loop's thread (i.e. subscription thread) at least as of current version kafka-clients.
Also we are checking it just in case:
https://github.com/line/decaton/blob/master/processor/src/main/java/com/linecorp/decaton/processor/runtime/internal/CommitManager.java#L134-L139

I misunderstood the Kafka docs. There is no problem.


Removed useless strict mode

ES Modules are already in strict mode. No need for the "use strict" at the top.
See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode#strict_mode_for_modules for more info.

You are right.


Bullets for passwords instead of stars

Would be great to hide password inputs with bullets (•) instead of stars (*). Both when typing, and in the actual conversation.
http://www.fileformat.info/info/unicode/char/2022/index.htm

closes w. 43526a3fbc35de48d880157552bcff91a4ffb144


How to implement redirection in auth_request?

hi, I have a problem with the redirecting in falcon.
I have configuration in ngnix:
location / {
auth_request /login_check;
...
}
location = /login_check {
proxy_pass    localhost/login_check;
...
}
and I want to redirect to another page that will authenticate me (for example - I want to call some api)
def on_get(self, req, resp):
...
raise falcon.HTTPMovedPermanently(location)
is it possible? or should I use something else?

Hi @czelsa !
Yes, raising an instance of HTTPStatus is a perfectly fine way of implementing redirects.
See also:

How do I implement redirects within Falcon? (FAQ)
Redirection (Framework Reference)

I'm closing this issue hoping the above mentioned resources shed light on the topic, but do not hesitate to reopen or file a new issue if needed. You are also very welcome to ask questions on our Gitter channels.


Definitions at end of section should be excluded

If you have the following:
## License

[npm]: http://npmjs.org

Upon running remark with remark-license plugin it will strip the link [npm] etc

Correct! It's not very pretty.
This plugin uses https://github.com/syntax-tree/mdast-util-heading-range, so the definitions are passed in 'nodes', and to make them persist you can add them to the returned nodes.
I think it makes the most sense to actually, optionally, let heading-range do this.
What do you think?

This package conflicts though with your own preset.
I get tons of these warnings now:
  93:1-93:30  warning  Move definitions to the end of the file (after the node at line `171`)  final-definition            remark-lint
    95:1-95:34  warning  Move definitions to the end of the file (after the node at line `171`)  final-definition            remark-lint
    97:1-97:37  warning  Move definitions to the end of the file (after the node at line `171`)  final-definition            remark-lint
    99:1-99:27  warning  Move definitions to the end of the file (after the node at line `171`)  final-definition            remark-lint
  101:1-101:41  warning  Move definitions to the end of the file (after the node at line `171`)  final-definition            remark-lint
  103:1-103:49  warning  Move definitions to the end of the file (after the node at line `171`)  final-definition            remark-lint
  105:1-105:36  warning  Move definitions to the end of the file (after the node at line `171`)  final-definition            remark-lint
  107:1-107:40  warning  Move definitions to the end of the file (after the node at line `171`)  final-definition            remark-lint
  109:1-109:43  warning  Move definitions to the end of the file (after the node at line `171`)  final-definition            remark-lint
  111:1-111:41  warning  Move definitions to the end of the file (after the node at line `171`)  final-definition            remark-lint
  113:1-113:71  warning  Move definitions to the end of the file (after the node at line `171`)  final-definition            remark-lint
  115:1-115:52  warning  Move definitions to the end of the file (after the node at line `171`)  final-definition            remark-lint
  117:1-117:41  warning  Move definitions to the end of the file (after the node at line `171`)  final-definition            remark-lint
  119:1-119:30  warning  Move definitions to the end of the file (after the node at line `171`)  final-definition            remark-lint
  121:1-121:40  warning  Move definitions to the end of the file (after the node at line `171`)  final-definition            remark-lint
  123:1-123:36  warning  Move definitions to the end of the file (after the node at line `171`)  final-definition            remark-lint

I know, I don't use the personally.
Plus that's not a reply to my above comment 😛

I was confused by the question so much hahahaha

@wooorm Since this plugin formats it to just a single line / node, shouldn't we only check for the next two immediate lines?

@wooorm How can we implement this?  I'm trying to read through the docs now and understand Compiler - looking at headings gap plugin and experimenting.

No, I don‘t think we can just check one node. This feature would benefit other plugins too.
First, have you read up on what mdast-util-heading-range does?
In essence: it searches for a section, and gives you its first node (a heading), the content in the section, and the end node (another heading, or nothing if it it’s not there).
I think we should change that, optionally, by looking at end and then walking back, and moving all those definitions “outside” the section.
E.g., say you have the following:
# License

Paragraph

[definition-a]: example.com

[definition-b]: example.com

Proposed: Paragraph would be in nodes, definition-a would be end.
Currently: Paragraph, definition-a, definition-b are in nodes, there’s no end.

Reading up on it now - this explanation you made makes sense 👌

I don't think I'd be able to do this efficiently, I just did write a major plugin enhancement though over at https://github.com/hughsk/remark-contributors/pull/4, so that taught me a lot about remark and retext so far.

Done! https://github.com/syntax-tree/mdast-util-heading-range/commit/9ec55003cfed8667128476c19a715038f1a0d7cb

Can you add to this package and version bump? @wooorm

Could you create the loose PRs first? That way my changes won’t conflict yours. I’ll update it here after that.


addrundata writes out metadata.proto files when fixing rundata

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

41 of 47 (87.23%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 57.209%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tools/addrundata/rundata.go
11
13
84.62%

tools/addrundata/case.go
30
34
88.24%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
1234

Relevant Lines:
2157

💛  - Coveralls


 I'm not really sure how you would fail to have space in a docker image that you're downloading for the content in the image.
Also, do you still see this issue with nipreps/fmriprep?

my point -- why images should carry /root/.npm/_cacache/ at all?  Still trying to figure out what/where space is lacking since I still have GBs and free inodes whenever it crashes

The LTS Dockerfile can definitely be better optimized - for example, the npm steps are spread out in 3 separate RUN commands.
Re: space issues: You might wanna run a docker system prune to clear out some space.

FWIW, here is what I observe (on another box, where it managed to pull fresh (which took 15 minutes, primarily to extract I believe. box is on a 10Gbps, IO during extraction was about 150MBps read)
$> docker run -it --entrypoint bash poldracklab/fmriprep -c 'find /root/ | nl | tail'
  2579	/root/.npm/_cacache/index-v5/ff/d3
  2580	/root/.npm/_cacache/index-v5/ff/d3/eca629ba696cac5a91e13f61bb768d7cbf82072f798d17071572ab3943f2
  2581	/root/.npm/_cacache/tmp
  2582	/root/.npm/_locks
  2583	/root/.npm/anonymous-cli-metrics.json
  2584	/root/.conda
  2585	/root/.conda/environments.txt
  2586	/root/.conda/pkgs
  2587	/root/.conda/pkgs/urls
  2588	/root/.conda/pkgs/urls.txt

$> docker run -it --entrypoint bash poldracklab/fmriprep -c 'du -scm /root/'
76	/root/
76	total

Hey @yarikoptic, this probably holds after the change, but you should be using nipreps/fmriprep instead (I believe).

Should be fixed in next release.


[REQUEST] Progress for generators with unknown length

Related https://github.com/willmcgugan/rich/issues/1022
Hey @willmcgugan!
We're trying to make Rich the main progress bar in PyTorch Lightning, superseding TQDM: https://github.com/PyTorchLightning/pytorch-lightning/pull/9647
However we noticed that generators are not supported for the progress object, which means IterableDatasets cannot be supported (a common use case for PyTorch). Do you have any suggestions on something that could replace this and give atleast some iteration progress or know if support for generators is possible?

Generators absolutely are supported by Progress.
However, there is no way to get the total number of steps from a generator. Without it, theres no way to calculate total progress, time remaining etc. In this case you would need to specify the total manually.
So what would you want Rich to do when total is not available?

thanks @willmcgugan! appreciate you and this awesome library ❤
we came up with a solution, but maybe you have ideas to deal with my hacky lil solution :) the goal is to support an unknown total, as it cannot be defined
Currently it looks like this now:

It involved overriding a few methods of a couple of components to support total=float('inf') as an input. These can be seen here:
https://github.com/PyTorchLightning/pytorch-lightning/pull/9647/files#diff-1ed8aa90c90b04a74eeb942b0ad5483dff76b05a7de68787495dddbc6aaa40c0R29-R93
Overall it seems to work great, but I wonder if you have any feedback!

So what would you want Rich to do when total is not available?

rich can follow the tqdm's approach. When total is not available, it can show the number of tasks executed along with the time it spent, but hiding progress bar and remaining time.

Dupe of #1054


Performance is low on our custom data

Hi, we are currently training Spleeter using two classes: the machine class and the noise class. For training purposes, we are providing three classes as input: the machine class, the noise class, and a mix of both classes. Each class consists of 360 voices. However, despite conducting eight experiments, we have not observed any improvement in performance. We are seeking assistance to address this issue and improve the results.

The training is stopped.

Can you please tell me what these files are for and what I should do if I need to reproduce them in python, please


TypeError: Cannot read property 'user' of undefined

Sometimes I receive this error in sentry:
TypeError: Cannot read property 'user' of undefined
  File "/path/to/node_modules/raven/lib/client.js", line 152, col 49, in Raven.process
    kwargs.user = extend({}, this._globalContext.user, domainContext.user, kwargs.user);
  File "/path/to/node_modules/raven/lib/client.js", line 246, col 12, in null.<anonymous>
    self.process(eventId, kw, cb);
  File "/path/to/node_modules/raven/lib/parsers.js", line 52, col 5, in null.<anonymous>
    cb(kwargs);
  File "/path/to/node_modules/raven/lib/utils.js", line 199, col 30, in null.<anonymous>
    if (--callbacks === 0) cb(frames);
  File "fs.js", line 445, col 3, in FSReqWrap.readFileAfterClose [as oncomplete]

Can you post your setup/init code? The only way I can imagine this happening as described is if raven-node is not being initialized correctly (maybe missing .config() call).

I think I may have just figured out that this is happening only in our submodule that also uses raven, but isn't being initialized correctly inside the module.

Cool, thanks for the report - in that case I'm gonna go ahead and close this as a case of misconfiguration/lack of initialization. I'll add a check to capturing/processing of exceptions that make sure initialization has happened so the error message can be better.

This still happens, when the setup code is not executed properly and can be quite confusing.
TypeError: Cannot read property 'user' of undefined
    at Raven.process (/home/prior/repositories/go3/node_modules/raven/lib/client.js:218:50)
    at /home/prior/repositories/go3/node_modules/raven/lib/client.js:395:12
    at /home/prior/repositories/go3/node_modules/raven/lib/parsers.js:55:5
    at /home/prior/repositories/go3/node_modules/raven/lib/utils.js:362:5
    at /home/prior/repositories/go3/node_modules/raven/lib/utils.js:272:35
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)
error:  TypeError: Cannot read property 'user' of undefined
    at Raven.process (/home/prior/repositories/go3/node_modules/raven/lib/client.js:218:50)
    at /home/prior/repositories/go3/node_modules/raven/lib/client.js:395:12
    at /home/prior/repositories/go3/node_modules/raven/lib/parsers.js:55:5
    at /home/prior/repositories/go3/node_modules/raven/lib/utils.js:362:5
    at /home/prior/repositories/go3/node_modules/raven/lib/utils.js:272:35
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)


Remove support for Singleton manifests

Description of the new feature / enhancement
Creating this issue as I haven’t seen one officially made yet. I know it has been discussed, but not seeing anything formally tracking it.
This would be a potentially breaking change.
As tools to create manifests are now to the point that multimanifests are easy to make, the singleton manifest may be phased out.
Proposed technical implementation details

Have a warning in the community repo for a period, notifying users that singletons will not be supported in the future
Transition to a pipeline failure in the community repo
Eventually fully remove support for singletons in future manifest versions

Why?
As someone that edits the manifest by hand for each release and only supports English, the singleton fits my needs nicely.
Once singleton support is removed I will stop pushing updates to Winget, hopefully the community will fill in for me...

@sredna Please tell more about your package. If it will be possible, I would add it to my automation.


DimLinePosition retrun a wrong result

When read the LinearDimension which is rotated in 90° or 270° will get a wrong result.
Here is a pic,the result is mirrored with real result.

Where is the LinearDimension coming from? Are you using the latest netDxf release?
If it is coming from a DXF upload a sample file, I do not know which program are you using and I might not have it, I guess it is AutoCAD by the looks of the image.
If you are creating the LinearDimension programmatically post the code you are using to generate it.
For the time being, when your dimension line is parallel to the measured line, it is easier to use an AlignedDimension instead.

The LinerDimension is made by AutoCAD2016
In the pic below left:CMD right:AutoCAD2016

And here is the dxf file
ddd.zip

Ok, I uploaded a fix to the repository. It only affected Linear Dimensions loaded from a DXF and only under certain circumstances, it was related to the order of the reference points and the rotation. It should work know.

Thumbs up to you


WIP:  issue #255 - start handling even more datetimes as ranges

on call with Paul and John, we identified about 7 other related things
that need to get done, but hopefully these changes are a step in the right direcation
TODO:

remove DATE column and always use DATE_START and DATE_END (even for instants)
handle date search parameter query params as instants when prefixed by lt, gt, le, or ge
handle date search parameter query params as implicit ranges in all other cases (when no fractional seconds are passed)

Signed-off-by: Lee Surprenant<EMAIL_ADDRESS>

I believe I've captured all the changes in the PR in PR 499
Leaving open for Lee to confirm


Feature Request: ng init - to output npm installing versbosly

Feature Request
Show the npm installing output when the ng init command is run. Like this!

Motivation
For anyone starting with the angular-cli, the first command they typically use is ng init and on all platforms, this is the screen they see.

This can be stuck for at least a few minutes, depending on the internet connection, which can be confusing for new users, as they don't see the familar npm installation output. Basically it makes the npm install look like it could be stuck.
How hard would it be to pipe the output from npm install to the angular-cli?

At the moment npm is started by the exec-function. All output is buffered and written after return of the command. So that would not be live output.
Maybe that could be changed to spawn, making error-handling a bit tricky.
The feature could be connected to the verbose-flag.

Superseded by https://github.com/angular/angular-cli/issues/4416

@Meligy so the ng init has been removed as a breaking change?


Remove functionality to convert arbitrary JSON-LD to n-quads. Not pos…

…sible after changes to json_to_dataset.

 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.

Hey, @awoie. In my reading of the code, json_to_dataset doesn't take an arbitrary JSON-LD string anymore. I can create a different version that does (which the old version did)... is it worth the effort to do that or should we just remove this functionality?


Update version strings to 3.4.0-dev

For the development branch, use "x.y.z-dev" notation.
Change made automatically in all rule files using Airween's cool tool from #2085:
python3 -m pip install --user --upgrade msc_pyparser
cd util/change-version
./change-version.py "../../rules/*.conf" ../../rules/ "OWASP_CRS/3.4.0-dev" "3.4.0-dev"

Also, the version number in crs-setup.conf.example (rule 900990) was updated manually.

Looks like the comment version still contains the old version here.
May be you should run the script this way to be sure:
python3 -m pip install --user --upgrade msc_pyparser
cd util/change-version
./change-version.py "../../crs-setup.conf.example" ../../ "OWASP_CRS/3.4.0-dev" "3.4.0-dev"

This will change the all occurrence of comment versions.

Thank you for spotting this!
I've now also ran:
./change-version.py "../../rules/*.conf.example" ../../rules/ "OWASP_CRS/3.4.0-dev" "3.4.0-dev"
./change-version.py "../../crs-setup.conf.example" ../../ "OWASP_CRS/3.4.0-dev" "3.4.0-dev"

When I made the tool, I was thinking about how we change the version string? I mean the script would expect the old and the new versions too, and replace the ver value only if the old value matches with the given value.
But now I see were some newer version string (eg. 3.4.0), which are changed to the 3.4.0-dev - so I think it was a good decision to ignore to ask the old version too.
The pleasant side-effect of the tool is it formats the rule set. I mean it sets the "correct" indentation (see here our "reference"). Note, that there is an example in msc_pyparser which does the same.
Btw: LGTM.


INCLUDE lines being duplicated, causing errors

This is, I suppose, actually a QB64 error but it seems to only happen when I use InForm. If I don't fix an error on a line fast enough, it will duplicate the '$INCLUDE:'InForm\InForm.ui' line, causing more errors,

That should have been fixed in 1.3. Are you in 1.3?

This was the fix to QB64 https://github.com/Galleondragon/qb64/commit/a4a2b4f6dbf5ca5b93ac1f11d3894c21d6dc7405

Yes, I am using 1.3
If it matters, I'm using the 32 Bit version of QB64.

Interesting. I'll try to reproduce it. Thanks for reporting.

Fixed in upcoming v1.4 of QB64: 498d2cee54b0b635c484749ab4a98494d5139550 yay! 🎉


Possibility to pass video constraints to getUserMedia

I added the possibility to specify constraints for video. For example:
var player = videojs("myVideo",
{
    plugins: {
        record: {
            audio: true,
            video: {
                width: 1280,
                height: 720
            },
            maxLength: 5
        }
    }
});

Thanks!


Changes to variable names

Rename variables for clarity

I think it's good now. Let me know if you see anything else


BWT-206

Jira Ticket:
BWT-206
Jira Ticket URL:
https://bcparksdigital.atlassian.net/browse/BWT-206
Description:
Fix reservations notes mismatch in park operation & sub area.

Instead of a merge, you need to do a rebase.  This will avoid this problem:


Error while trying to generate photo first time

./start-webui.sh
Starting FastSD CPU please wait...
Found python command
Python version : 3.10.6
Running on Linux platform
OS: Linux-6.5.0-21-generic-x86_64-with-glibc2.35
Processor: x86_64
Using device : cpu
Found 5 LCM models in config/lcm-models.txt
Found 7 stable diffusion models in config/stable-diffusion-models.txt
Found 3 LCM-LoRA models in config/lcm-lora-models.txt
Found 4 OpenVINO LCM models in config/openvino-lcm-models.txt
Starting web UI mode
No lora models found, please add lora models to /home/lts/fastsdcpu/lora_models directory
Running on local URL:  http://<IP_ADDRESS>:7860
To create a public link, set share=True in launch().
Torch datatype : torch.float32
Reshape and compile
{'diffusion_task': 'text_to_image',
'guidance_scale': 1.0,
'image_height': 512,
'image_width': 512,
'inference_steps': 1,
'init_image': None,
'lcm_lora': {'base_model_id': 'Lykon/dreamshaper-8',
'lcm_lora_id': 'latent-consistency/lcm-lora-sdv1-5'},
'lcm_model_id': 'stabilityai/sd-turbo',
'lora': {'enabled': False,
'fuse': True,
'models_dir': '/home/lts/fastsdcpu/lora_models',
'path': '',
'weight': 0.5},
'negative_prompt': '',
'number_of_images': 1,
'openvino_lcm_model_id': 'rupeshs/sd-turbo-openvino',
'prompt': 'cat',
'seed': 123123,
'strength': 0.6,
'use_lcm_lora': False,
'use_offline_model': False,
'use_openvino': True,
'use_safety_checker': False,
'use_seed': False,
'use_tiny_auto_encoder': False}
***** Init Text to image (OpenVINO) - rupeshs/sd-turbo-openvino *****
Traceback (most recent call last):
File "/home/lts/fastsdcpu/env/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py", line 261, in hf_raise_for_status
response.raise_for_status()
File "/home/lts/fastsdcpu/env/lib/python3.10/site-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 503 Server Error: Service Temporarily Unavailable for url: https://huggingface.co/rupeshs/sd-turbo-openvino/resolve/main/model_index.json
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/lts/fastsdcpu/env/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1232, in hf_hub_download
metadata = get_hf_file_metadata(
File "/home/lts/fastsdcpu/env/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/home/lts/fastsdcpu/env/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1608, in get_hf_file_metadata
hf_raise_for_status(r)
File "/home/lts/fastsdcpu/env/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py", line 303, in hf_raise_for_status
raise HfHubHTTPError(str(e), response=response) from e
huggingface_hub.utils._errors.HfHubHTTPError: 503 Server Error: Service Temporarily Unavailable for url: https://huggingface.co/rupeshs/sd-turbo-openvino/resolve/main/model_index.json
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/lts/fastsdcpu/env/lib/python3.10/site-packages/diffusers/configuration_utils.py", line 370, in load_config
config_file = hf_hub_download(
File "/home/lts/fastsdcpu/env/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/home/lts/fastsdcpu/env/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1349, in hf_hub_download
raise LocalEntryNotFoundError(
huggingface_hub.utils._errors.LocalEntryNotFoundError: An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/lts/fastsdcpu/env/lib/python3.10/site-packages/gradio/routes.py", line 442, in run_predict
output = await app.get_blocks().process_api(
File "/home/lts/fastsdcpu/env/lib/python3.10/site-packages/gradio/blocks.py", line 1392, in process_api
result = await self.call_function(
File "/home/lts/fastsdcpu/env/lib/python3.10/site-packages/gradio/blocks.py", line 1097, in call_function
prediction = await anyio.to_thread.run_sync(
File "/home/lts/fastsdcpu/env/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "/home/lts/fastsdcpu/env/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2144, in run_sync_in_worker_thread
return await future
File "/home/lts/fastsdcpu/env/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 851, in run
result = context.run(func, *args)
File "/home/lts/fastsdcpu/env/lib/python3.10/site-packages/gradio/utils.py", line 703, in wrapper
response = f(*args, **kwargs)
File "/home/lts/fastsdcpu/src/frontend/webui/text_to_image_ui.py", line 54, in generate_text_to_image
images = future.result()
File "/home/lts/miniconda3/envs/sdcpu/lib/python3.10/concurrent/futures/_base.py", line 458, in result
return self.__get_result()
File "/home/lts/miniconda3/envs/sdcpu/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
raise self._exception
File "/home/lts/miniconda3/envs/sdcpu/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/lts/fastsdcpu/src/context.py", line 50, in generate_text_to_image
self.lcm_text_to_image.init(
File "/home/lts/fastsdcpu/src/backend/lcm_text_to_image.py", line 132, in init
self.pipeline = get_ov_text_to_image_pipeline(
File "/home/lts/fastsdcpu/src/backend/openvino/pipelines.py", line 47, in get_ov_text_to_image_pipeline
pipeline = OVStableDiffusionPipeline.from_pretrained(
File "/home/lts/fastsdcpu/env/lib/python3.10/site-packages/optimum/modeling_base.py", line 344, in from_pretrained
config = cls._load_config(
File "/home/lts/fastsdcpu/env/lib/python3.10/site-packages/optimum/intel/openvino/modeling_diffusion.py", line 506, in _load_config
return cls.load_config(config_name_or_path, **kwargs)
File "/home/lts/fastsdcpu/env/lib/python3.10/site-packages/diffusers/configuration_utils.py", line 397, in load_config
raise EnvironmentError(
OSError: rupeshs/sd-turbo-openvino does not appear to have a file named model_index.json.

I think I know what the problem is huggingface is down

I think I know what the problem is huggingface is down我想我知道问题出在哪里 huggingface is down

Did you solve this problem?I also downloaded the model and placed it in the cache directory of Hugging Face, but it didn't take effect.


Fix compile time mismatched types error when running "cargo build --all --all-targets  --release"

When running the command cargo build --all --all-targets  --release, I see this error below. It is likely from the recent ACL change and should be a small change to fix the casting.
error[E0308]: mismatched types
   --> src/context/mod.rs:504:74
    |
504 |             let command = raw::RedisModule_GetCommand.unwrap()(self.ctx, command_name);
    |                           ------------------------------------           ^^^^^^^^^^^^ expected `*const u8`, found `*const i8`
    |                           |
    |                           arguments to this function are incorrect
    |
    = note: expected raw pointer `*const u8`
               found raw pointer `*const i8`

error[E0308]: mismatched types
   --> src/context/mod.rs:505:72
    |
505 |             raw::RedisModule_SetCommandACLCategories.unwrap()(command, acl_flags).into()
    |             -------------------------------------------------          ^^^^^^^^^ expected `*const u8`, found `*const i8`
    |             |
    |             arguments to this function are incorrect
    |
    = note: expected raw pointer `*const u8`
               found raw pointer `*const i8`

@KarthikSubbarao If you have the time could you check if #143 fixes this build error?

@KarthikSubbarao - did you ran cargo build --all --all-targets  --release on Windows to repro this?

Hello, I did not run the command on Windows. I can likely to doing so in a day or so

@KarthikSubbarao - so how did you repro this problem?

@KarthikSubbarao - so how did you repro this problem?

On a linux machine running the command I shared:
cargo build --all --all-targets  --release

merged https://github.com/valkey-io/valkeymodule-rs/pull/143


operator dell-csm-operator-certified (1.6.0)

Adding dell-csm-operator-certified version 1.6.0 to catalog

/pipeline restart operator-hosted-pipeline


chore: add nvmrc file for use specific node version

add the .nvmrc file for using specific node version in this project

:tada: This PR is included in version 1.0.5 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


scheduler azkaban

image
Dr-elephant comepare and FlowHistroy how to configure
The configuration scheduler azkaban is also not displayed

Are your Azkaban jobs getting analyzed and exactly what error you are facing while comparing two flows?

Dr-elephant comepare and FlowHistroy how to configure
The configuration scheduler azkaban is also not displayed @ @ShubhamGupta29

Can you provide the screenshot of the attempt when you are trying to compare the flows? Also kindly check the logs (dr.log and dr_elephant.log) too

Correct:
<workflow_client>com.linkedin.drelephant.clients.azkaban.AzkabanWorkflowClient</workflow_client>

how do  conf azkaban scheduler.xml   url

Dr-elephant still does not display azkaban    @ShubhamGupta29


Docs: Rules table icon column and icons are inaccessible

The last column of the rules table produced by crates/ruff_dev/src/generate_rules_table.rs is inaccessible:

The column has no text in its heading cell.
Every column heading cell misses the scope attribute.
There is no descriptive text for the icons.

There is a title attribute on a span surrounding each icon, but title attributes do nothing accessibility-wise.
Possible solution
A solution could be to use visually-hidden spans with descriptive text and hide the icons.
This code:

  ✔
  🛠

Could become this:

  Rule is stable
  ✔
  Automatic fix available
  🛠

This solution reuses the existing copy and makes a minor change to the table generator.
A bonus to this approach is that tools like Google Translate translate regular text on the page while ignoring attribute contents (like title or aria-label).

Suggestions for the CSS portion of this fix are welcome!


Removed caniusepython3 from api-doc-tools

Description: Removing caniusepython3 from api-doc-tools
JIRA: https://openedx.atlassian.net/browse/BOM-1664
Merge checklist:

[ ] All reviewers approved
[x] CI build is green
[x] Version bumped
[x] Changelog record added
[ ] Documentation updated (not only docstrings)
[ ] Commits are squashed

Post merge:

[ ] Create a tag
[ ] Check new version is pushed to PyPI after tag-triggered build is
finished.
[ ] Delete working branch (if not needed anymore)

Thanks for the pull request, @sksankarraj! I've created OSPR-4604 to keep track of it in JIRA. JIRA is a place for product owners to prioritize feature reviews by the engineering development teams.
Feel free to add as much of the following information to the ticket:

supporting documentation
edx-code email threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will still be done via the GitHub pull request interface. As a reminder, our process documentation is here.

@sksankarraj Thank you for your contribution! @UsamaSadiq This might be ready for another review. If all looks well to you, can you merge?

@sksankarraj 🎉 Your pull request was merged!
Please take a moment to answer a two question survey so we can improve your experience in the future.


test setup-ruby

setup-ruby action needs to be updated to consume workflow defaults
https://github.com/ruby/setup-ruby/blob/52b8784594ec115fd17094752708121dc5dabb47/index.js#L45


Update the Jmeter websocket sampler link

Purpose
Updated the above link, as it no longer works.
Examples
Checklist

[ ] Linked to an issue
[ ] Updated the specification
[ ] Updated the changelog
[ ] Added tests
[ ] Checked native-image compatibility

Same as https://github.com/ballerina-platform/module-ballerina-websocket/pull/979. Hence closing.


"(HTML - PDF) on GitBook" link invalid

when i click (HTML - PDF) on GitBook href, it redirects to https://www.gitbook.com/?utm_source=legacy&utm_medium=redirect&utm_campaign=close_legacy

Here's the link: https://astaxie.gitbooks.io/build-web-application-with-golang/content/en/


Update intl to latest version

please update intl to the latest version

Hi @Prashanthkumar1998 ,
Can you elaborate more?
The package is not depends on intl . only use flutter without first or third party plugin.
https://github.com/pmatatias/input-quantity/blob/a8cf42e50fb60b1fab5566ed64921691d6285c86/pubspec.yaml#L17-L24

for my project i am using intl  ^0.18.1 , when trying add this packages getting error " every version of quantity_input depends on intl ^0.17.0 and figeit_app depends on intl ^0.18.1, quantity_input is forbidden."
forbidden.

Sorry now i am able to install

Hi one suggestion if possible please add field value  so that we can reset it

Thank you.

Hi one suggestion if possible please add field value so that we can reset it

Ok, I will considering creating this feature.


[BUG][opensearch-dashboards] invalid type for io.k8s.api.core.v1.ConfigMap.data: got "map", expected "string"

Describe the bug
#294 broke my deployment with terraform:
Error: error validating "": error validating data: ValidationError(ConfigMap.data.opensearch_dashboards.yml): invalid type for io.k8s.api.core.v1.ConfigMap.data: got "map", expected "string"

values.yaml
config:
  opensearch_dashboards.yml: |
    server:
      name: dashboards
      host: <IP_ADDRESS>
      ssl:
        enabled: false

To Reproduce
Steps to reproduce the behavior:

deploy dashboards chart v1.7.0 with yaml above
upgrade to v1.7.1

Expected behavior
Patch upgrade should not break existing users
Chart Name
opensearch-dashboards
Screenshots
no screenshots
Host/Environment (please complete the following information):

Helm Version: [e.g. 3.x.x] terraform hashicorp/helm v2.6.0
Kubernetes Version: [e.g. 1.16.x] v1.23.9+k3s1 (k3s)

Additional context
Add any other context about the problem here.

Hey @viceice @DandyDeveloper I have raised a PR that should fix this issue
Now following both should work, can you please test with my fork @viceice
config:
  opensearch_dashboards.yml: |
     server:
       name: dashboards
       host: <IP_ADDRESS>

config:
  opensearch_dashboards.yml:
     server:
       name: dashboards
       host: <IP_ADDRESS>

@peterzhuamazon @bbarani @TheAlgo

Close this as it is fixed now.
Thanks.


feat: Sidebar Redesign

What it solves
Resolves #3504
How this PR fixes it

Adjusts the design according to Figma.
Adds a Home link to the navigation
Adds Queue, History links to the navigation

How to test it

Open the Safe app
Observe that there is a Home link
Observe that there are links to the Transaction Queue and History
Observe that the Sidebar looks according to the design

Open questions
Should some of these changes be done in the safe-react-components package
Screenshots

Menu font seems a bit too thick compared to Figma
Accordion arrows on Figma are black
No arrow icon on the New Transaction button
Copy/share icons should be green inside the gray buttons
I think dividers are thinner in the new design

Why no semicircle around arrow that opens the sidebar ser?

Menu font seems a bit too thick compared to Figma

I think this has to do with cross-browser font-rendering. We might be able to improve it with font-smoothing (Although I haven't noticed a difference on my end)

[ ] The arrow icon when the 'non-Safe' sidebar is shown is misplaced:

[ ] The tooltips only display if you hover on the icon. I think you should bring them up a level to display when hovering over the button itself. Here I'm hovering on the button but see no tooltip:

[ ] I feel like the semicircle needs to be shift left a little bit more:

[ ] I think the 'New transaction' button shouldn't have bold text

I think the 'New transaction' button shouldn't have bold text

Agreed, I changed the style to be like other buttons in the app (16px font-size, not bold)


Change metadata errors log level

Open to thoughts and comments.
Metadata collection is often problematic and we often see the Unable to transform version metadata because the version string doesn't exactly match the expected format.
Most integrations are logging version metadata errors at the debug log level at the moment, this PR pushes the same id to the base class

Yeah, until/if metadata becomes a feature anything other than debug is noise


After 1.48.2 update, Start Menu no longer obeys VisualElements manifest.

Issue Type: Bug

Pin VSCode to Start Menu.

Note neither the custom tile background color (#2D2D30) nor icon image (code_150x150.png) are shown.  Instead, the Start Menu uses the application icon and applies the default tile color (based on the current color theme).
Also note that unpinning and re-pinning has no effect.  Force closing StartMenuExperienceHost.exe has no effect.  Restarting Windows has no effect.
VS Code version: Code 1.48.2 (a0479759d6e9ea56afa657e454193f72aef85bd0, 2020-08-25T10:13:11.295Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz (4 x 3400)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.89GB (13.15GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (2)

Extension
Author (truncated)
Version

vscode-great-icons
emm
2.1.47

ayu
tea
0.20.1

Found a fix.  touching the .lnk shortcut caused the Start Menu to reload the manifest and show the expected content:
(ls "$env:APPDATA\Microsoft\Windows\Start Menu\Programs\Visual Studio Code\Visual Studio Code.lnk").LastWriteTime = Get-Date

Not sure why Windows got confused after this most recent update.  Perhaps a rare race condition between the setup process writing the new shortcut and the Start Menu refreshing its cached data.  Or maybe Defender held a lock on a file a little too long.
Regardless, this is no longer an issue for me; however I will let you close the issue, once you feel confident there is nothing wrong with the installer that is triggering this behavior.


Remove unused dependency node-fl

I noticed you removed it from usage, but it remained in the package.json file.

Merge PR


Making mutable Index class pluggable.

Making mutable Index class pluggable.

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

Project coverage is 0.00%. Comparing base (59551e4) to head (1c65b96).
Report is 1435 commits behind head on master.

:exclamation:  There is a different number of reports uploaded between BASE (59551e4) and HEAD (1c65b96). Click for more details.
HEAD has 53 uploads less than BASE

Flag
BASE (59551e4)
HEAD (1c65b96)

integration
7
1

integration2
3
1

temurin
12
1

java-21
7
1

skip-bytebuffers-true
3
0

skip-bytebuffers-false
7
1

unittests
5
0

unittests1
2
0

java-11
5
0

unittests2
3
0

integration1
2
0

custom-integration1
2
0

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #14609       +/-   ##
=============================================
- Coverage     61.75%    0.00%   -61.76%
=============================================
  Files          2436        3     -2433
  Lines        133233        6   -133227
  Branches      20636        0    -20636
=============================================
- Hits          82274        0    -82274
+ Misses        44911        6    -44905
+ Partials       6048        0     -6048

Flag
Coverage Δ

custom-integration1
?

integration
0.00% <ø> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <ø> (ø)

java-11
?

java-21
0.00% <ø> (-61.63%)
:arrow_down:

skip-bytebuffers-false
0.00% <ø> (-61.75%)
:arrow_down:

skip-bytebuffers-true
?

temurin
0.00% <ø> (-61.76%)
:arrow_down:

unittests
?

unittests1
?

unittests2
?

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

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


Lazy loading results

Is there a simple way of lazy loading the results as the users scrolls down the page?
Would be great to load say 24 results, then as they scroll down load another 24.

Any ideas on this?


Halyard Pod not created while installing Spinnaker on Kubernetes(legacy) with default values using Helm chart

Is this a request for help?:
help
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT

Version of Helm and Kubernetes:
Helm version:
Client: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
Kubectl version:
Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.2", GitCommit:"5fa2db2bd46ac79e5e00a4e6ed24191080aa463b", GitTreeState:"clean", BuildDate:"2018-01-18T10:09:24Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.7", GitCommit:"b30876a5539f09684ff9fde266fda10b37738c9c", GitTreeState:"clean", BuildDate:"2018-01-16T21:52:38Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
Which chart:
stable/spinnaker
What happened:
Halyard Pod is not created while installing Spinnaker on Kubernetes(legacy) with default values using Helm chart
What you expected to happen:
Halyard Pod should be created while installing Spinnaker with default values using Helm chart.
How to reproduce it (as minimally and precisely as possible):
Just install Spinnaker using Helm chart with following command:
helm install --name spinnaker stable/spinnaker --timeout 600
Anything else we need to know:
Around 2 months ago, when I installed Spinnaker using Helm chart, Halyard Pod was successfully created, but now it is not created using latest git repo.

The problem is that there are several switches included in the /workdir/.hal/config file what are only compatible with the most recent versions of halyard. Even the latest stable version( 1.12.0) is not compatible.
The first of several is checkPermissionsOnStartup.
The work around is to use a 1.13.x version of halyard. That being said I still cannot get this chart to install successfully.


Question: Angular-formio vs formio.js

I have a couple of quick questions regarding the two libraries. Does the angular-formio contain all the components that formio.js has? Is there any major differences between the two libraries apart from the platform?

Hello @learner291,
Thanks for reaching out!
Angular-formio contains all that form.io has. As you can see in the changelogs, that formio.js is referenced in angular-formio. https://github.com/formio/angular-formio/blob/master/CHANGELOG.md
There are no major differences between the two libraries.
I hope that this helps.
Thanks.

Thanks


More general scheduling constraints

There have been a few folks who have asked about machine constraints for scheduling.  Let's use this issue as a place to gather ideas and requirements.
@timothysc

+1 for @jbeda suggestion

Have a "avoid co-schedule" labels on each pod. That way the pod would say "don't schedule me on any node that has pods that match this label selector".

Also the SQL-alike syntax for defining this would be a awesome-to-have, but not a priority, I reckon.

@pires @jbeda @brendanburns @bgrant0607 Am a bit late to this discussion, but in case this issue is still relevant, here is my take. The "avoid co-schedule" functionality is now easier to implement in a more generic manner, while also being closer to what the user actually intended.
The user could either want to avoid co-scheduling on a per-minion basis, or for a rack/zone/etc. https://github.com/GoogleCloudPlatform/kubernetes/pull/2906 implemented the priority functions for the scheduler that spreads pods across, for lack of a better word, "node groups" that are defined based on node labels. We could easily add a configuration parameter to this priority function that specified the maximum number of pods that can be placed on a single "node group". If co-scheduling is to be avoided on a per-minion basis, then there is a service spreading priority function that can be modified to accept the max-pods-per-minion parameter.
If a proper fit is not available, the pod would fail to be scheduled and this is an area where we don't currently have visibility (error being surfaced to the user properly). I would suggest going for these simple enhancements once we have the mechanism to bubble up scheduling constraint violations to the user/admin.
https://github.com/GoogleCloudPlatform/kubernetes/pull/4674 deals with accepting the scheduler configuration via a JSON file.

See also anti-affinity discussion here: https://github.com/GoogleCloudPlatform/kubernetes/issues/4301#issuecomment-74355529

I've been looking to eval: https://github.com/hashicorp/hcl and ttps://www.terraform.io/docs/configuration/syntax.html as an extensible config language for constraints, but it also has other applications: #7739

@timothysc have you seen HOCON? It looks extremely similar to hcl/terraform.

Thanks for the pointer, but this is getting off-topic. You could use #1743 or file a new issue to discuss higher-level configuration mechanisms, such as parameterization and object cross references. You could also browse issues relating to the broader topic of configuration:
https://github.com/GoogleCloudPlatform/kubernetes/labels/area%2Fapp-config-deployment

Docker Swarm supports:

[Filters] which limit the set of nodes that a container can be scheduled on.
Scheduling Strategies which affect how various eligible nodes are ranked.

Filters include:

Constraint, where container label has to match node label.
Affinity, where a container label needs to be near another container.
Port, which is largely not relevant in K8s due to IP per pod.
Dependency, which is when two containers need to be near the same volume.  Pods captures this case for kubernetes.
Health: keeps containers off unhealthy nodes.

Scheduling Strategies include one which does spreading.

/cc @willb @erikerlandson - re background.

We have constraints via nodeSelector.
Affinity, Port, and Dependency are covered by pods.
Health should be automatic.
Strategies are currently baked into the scheduler, which is configurable, thus preserving what/how separation. We've discussed making it possible to disable default scheduling, which would enable users to run their own schedulers.

We have constraints via nodeSelector.

Swarm has regular and "soft" constraints. We don't have the latter yet, but I filed #8008 for us to implement it.

After giving this a fair amount of thought... for service orchestration you could likely boil down most options into two categories (affinity, and anti-affinity).  We could get far more fancy, but at some point I wonder "Everything Should Be Made as Simple as Possible..."
Here are my distilled thoughts:
function (label or annotation)
SPREADBY  - typical use case - SLA uptime
GROUPBY  - typical use case - SLA performance
operators:
& |
Constraint: SPREADBY (rack) & GROUPBY (datacenter)
/cc @eparis @rrati @jayunit100

I'd think a ! operator would be in order

There are "soft constraints" (scheduling goals) and "hard constraints." I think you're talking about the first?
What is the use case and semantics of the | operator? (For connecting SPREADBY and GROUPBY clauses, I assume)
Same question for !

@davidopp soft
Constraint evals to simlpe true or false expressions, so it should really be &&, || this way you can connect them including simple predicate matching.
GROUPBY (cluster) ||  rack==funkytown
The more I think about it, the less I want to tread into config language space given the cattle idiom on services.  Weather they are soft or hard could either be denoted kia keyword or some other semantics.

So IIUC the way the thing you're proposing would work would like this?
GROUPBY expr1 || expr2 => put a virtual label X on all the machines that match expr1 or expr2, and then try to co-locate all the pods of the service on machines with label X
GROUPBY expr1 && expr2 => put a virtual label X on all the machines that match expr1 and expr2, and then try to co-locate all the pods of the service on machines with label X
SPREADBY expr1 || expr2 => put a virtual label X on all the machines that match expr1 or expr2, and then try to spread all the pods of the service across machines with label X
SPREADBY expr1 && expr2 => put a virtual label X on all the machines that match expr1 and expr2, and then try to spread all the pods of the service across machines with label X
It would be good to flesh out some use cases...

I agree that flavors of affinity and anti-affinity are the basic 2 features that would satisfy most use cases.
With respect to As Simple As Possible, specifying just whether to group or spread seams like the simplest possible API. That needs to be associated with some set of pods, via label selector (in which object TBD). Node groups to concentrate in or spread across could be configured in the scheduler in most cases.

+1

cc/ @pwittrock

https://github.com/kubernetes/kubernetes/pull/13524

This is part of #18261

@davidopp I think it reasonable to close this issue, in lieu of the assorted proposal.

@timothysc Let's wait until we merge the proposal.

Affinity/anti-affinity proposals merged and implementations are underway.


[Release Task] IIS Web App Deploy : XML Substitution broken

Environment

VSTS
Agent: Private on Windows Server 2012 R2 Standard

Issue Description
Since 2017/11/03 the XML variable substitution is broken in version 0.0.27 of the IISWebAppDeploymentOnMachineGroup task. No variables are substituted anymore (at least when used within a release definition).
Workaround
Use the old task version 0.0.25 instead of 0.0.27 released on 2017/11/03. Delete the new folder and manually rename the old folder in _work_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba.

@KuehneThomas , apologies for the inconvenience.
Currently, we are working on finding the root cause of the issue.

Which logs do you need? I recognized that many log files contain sensitive information and thus, need to be redacted manually.

@KuehneThomas , we identifed the root cause and resolved the issue.
The issue will be hotfixed, which will take a day or two.
In the meantime, You can unblock yourself by removing comments in config files.

@KuehneThomas , The issue is hot-fixed. Can you please re-run the release?

Unfortunately, our build server did not download a new version of the task (=no substitution in the release).

@KuehneThomas , apologies. the hotfix is not completed for all the regions.
Will update the thread once it is done.

Our releases magically started to do botched deploys recently when using variable substitution.  We found that removing comments from our web.config resolved the issue.  (The comments have existed in the web.config for many months and many successful deploys)

@KuehneThomas , @Jacob-McKay , we have hot-fixed the issue.
Please re-run the release for the updated task (3.3.25 version)

Confirmed, the issue has been fixed.
Thanks a lot!


Cookie needed for custom monitoring software

In our organization, the Mendix app is behind an IIS server that rewrites all the URLs. We use Dynatrace to monitor and trace some deep links for troubleshooting. We would need a short-lived cookie added to the response so that we may hook Dynatrace to it. I will create a pull request for your approval. Thanks.

Closed because of inactivity.


[Crash] Plugin crashes when inserting item into Hash Map (process function)

I defined my Plugin struct like so:
struct ClockworkPlugin {
    params: Arc<ClockworkPluginParams>,
    active_notes: HashMap<u8, NoteEvent>,
    last_midi_send_timestamp: SystemTime,
}

In the process function, I call on_note_on when a note on Event is received:
fn process(
    &mut self,
    _buffer: &mut Buffer,
    _aux: &mut AuxiliaryBuffers,
    context: &mut impl ProcessContext,
) -> ProcessStatus {
    while let Some(event) = context.next_event() {
        match event {
            NoteEvent::NoteOn { .. } => self.on_note_on(event),
            NoteEvent::NoteOff { .. } => self.on_note_off(event),
            _ => (),
        }
    }
    self.on_midi_send_opportunity(context);
    ProcessStatus::Normal
}

In on_note_on I am trying to insert the triggered note into the Hash Map:
fn on_note_on (&mut self, note_event: NoteEvent) {
    if let NoteEvent::NoteOn {note, ..} = note_event {
        self.active_notes.insert(note, note_event);
    }
}

When running the plugin, it crashes as soon as it receives MIDI input. By commenting out other parts of the code, I pinned down the crash to the self.active_notes.insert(note, note_event); line.
Link to the full code: https://github.com/AlexW00/clockwork/blob/master/src/lib.rs
How to avoid this crash? I already tried wrapping the HashMap in a Mutex, but it still crashes.

You've enabled the assert_process_allocs feature and you're allocating on the audio thread. Enabling this feature will cause all audio thread allocations to panic. You should avoid allocating on the audio thread, as allocations may stall the program for an undetermined amount of time. In general you'll want to avoid any operation that doesn't have a known upper runtime limit on audio threads (anything that isn't wait-free, although lock-free algorithms are almost always perfectly fine if there's not a ton of congestion). So that excludes, (de)allocations, file operations, mutexes, and most system calls.


Block flashing with initial size for single frame on creation

Hi, glad to see this project is still up and running! I recently updated to the latest commits and noticed that new Blocks will flash with the initial size for a single frame now. It's due to the updates for the Block not getting applied in the same frame that ThreeMeshUI.update gets called so for the first rendered frame the scale is [1,1,1]
Depending on how fast your computer is you may or may not notice it in this fiddle: https://jsfiddle.net/bevq1szj/3/
I'm not sure if updates are intended to occur synchronously or not for this package? If so, then I think the Promise handling would have to change in UpdateManager. If they are intended to be treated asynchronously, then do you have any recommendations on how to best avoid the initial scale being used for the Blocks first rendered frame? I'm currently just adding this.frame.scale.set( 0, 0, 1 ); to Line 40 of Block.js as a quick and cheap solution which I could add a PR for easily

Hi @kalegd,
The promise handling in updateManager has indeed to be updated, asynchronous turns out to be not ideal. I'm free right now so I will give it a try.
In the meantime you can mitigate the issue by calling ThreeMeshUI.update() right after any change to a component :
https://jsfiddle.net/felixmariotto/0tsyj4dL/1/

OK it's fixed with version 5.2.1 : https://jsfiddle.net/felixmariotto/0tsyj4dL/6/
updates are now all asynchronous, and I also set the default Block size to 0, so if you instantiate a Block and set its size and content later, you won't see a 1x1 empty panel in the meantime.

Thanks for getting to this so quickly!! Much appreciated


Add a testing package to setup metrics.Domain()

This mirrors what we do for system.Namespace() today.

/retest

/lgtm
so many init()'s lately ;)


Auth client: connection to MongoDB via SSL is not working

Before opening a new issue, please make sure that isn't already an open (or
closed/resolved) issue concerning the problem. If unsure if older issues are
about the exact same thing, just open a new issue rather than posting in the old
one - but please reference the possibly related issues in the new issue.
Please do not insert images of text, but insert the text instead.
Environment

VerneMQ Version: 1.8
OS: Docker
VerneMQ configuration (vernemq.conf) or the changes from the default
Follow parameters are specified

vmq_diversity.mongodb.login=login
vmq_diversity.mongodb.password=password
vmq_diversity.mongodb.keyfile=/etc/ssl/mongo_client.key
vmq_diversity.mongodb.certfile=/etc/ssl/mongo_client.crt
vmq_diversity.mongodb.database=db
vmq_diversity.mongodb.port=27017
vmq_diversity.auth_mongodb.enabled=on
vmq_diversity.mongodb.cafile=/etc/ssl/ca.crt
vmq_diversity.mongodb.ssl=on
vmq_diversity.mongodb.host=mongodb

Cluster size/standalone: standalone

Expected behavior
That auth client via mongoDB SSL auth-db provider is working. I.e. setup connection and working. But
`
Actual behaviour
Connection up to mongoDb could not be setup. What i see in stdout log:
...
09:27:50.028 [warning] Could not connect to mongodb due to closed
09:27:50.028 [warning] Could not connect to mongodb due to closed
09:27:50.028 [warning] Could not connect to mongodb due to closed
09:27:50.028 [warning] Could not connect to mongodb due to closed
09:27:51.056 [warning] Could not connect to mongodb due to closed
09:27:51.056 [warning] Could not connect to mongodb due to closed
09:27:51.057 [warning] Could not connect to mongodb due to closed
09:27:51.057 [warning] Could not connect to mongodb due to closed
09:27:51.058 [warning] Could not connect to mongodb due to closed
...
`
I checked ssl-connectivity via:
openssl s_client -connect mongodb:27017 -CAfile /etc/ssl/ca.crt -nbio -debug -msg -state -cert /etc/ssl/mongo_client.crt -key /etc/ssl/mongo_client.key
and it is OK:
`...
04a0 - 89 3c 45 9c 39 d7 7d f5-ce 80 15 ba 83 19 66 76   .<E.9.}.......fv
04b0 - 05 89 1e 5a 78 2b c7 09-10 4b 67 11 4d ee 8e 82   ...Zx+...Kg.M...
Start Time:<PHONE_NUMBER>
Timeout   : 7200 (sec)
Verify return code: 0 (ok)
Extended master secret: no`

it means that ssl-connectivity is OK. I also could connect with the same credentials(login/password) and ssl cert+key pair to the mongoDB server.

Thanks for opening the issue. Do you see any suspicious logs on the Mongo DB instance? Moreover how does your CA.crt look like? Does it contain intermediate certificates?

Hello @dergraf

CA.crt contains rootCA+intermediate CA(i'm testing on self-signed chains)
About mongo DB: 2 lines per connection: connection is opened and right after closed(by broker)

Hi, have you found any other information since last ? Did you find a workaround? From the logs above I'm not sure what's going on - does it work with VerneMQ + MongoDB if you configure it to not use TLS at all at both ends?

My workaround is use sidecar-container or proxy before Mongo which convert plain->ssl.
Without TLS - it works correctly.
What kind of debug need to add ?
I have debug with openssl_server and openssl_client and it is OK. And solution with proxy is working.

What kind of debug need to add ?

not sure ;)
My guess is that the certs is in some format which VerneMQ (Erlang) doens't like - perhaps you can compare them to the test ones which are located here: https://github.com/vernemq/vernemq/tree/master/apps/vmq_server/test/ssl. The relevant files are all-ca.crt, server.crt, server.key and for the client client.crt and client.key. Perhaps there's some difference there?

Ok I will try

Hi - did you figure out the problem? I'll close this for now - feel free to reopen if more information becomes available.

What kind of debug need to add ?

not sure ;)
My guess is that the certs is in some format which VerneMQ (Erlang) doens't like - perhaps you can compare them to the test ones which are located here: https://github.com/vernemq/vernemq/tree/master/apps/vmq_server/test/ssl. The relevant files are all-ca.crt, server.crt, server.key and for the client client.crt and client.key. Perhaps there's some difference there?

Hello! What kind of certificates are they? Is there any guide to see how to generate them?

Hello @seguidor777 it is normal SSL certificates. You could use https://mosquitto.org/man/mosquitto-tls-7.html guide i think

I just tried to convert my existing certs with openssl x509 -in src-ca.pem -text -out dst-ca.pem without success
@marsianin Thanks for the great help! I will take a look


OSSM-5883 Change make target to build arm and amd64 image

Jira: https://issues.redhat.com/browse/OSSM-5883
Checking the current make target _%_arm64 was not correctly working because was looking for -f<EMAIL_ADDRESS>docker and that file does not exist, instead of changing the format of the name of the docker file I added docker buildx to prepare the image builder to build for multiarch in the near future. FOr now will build: PLATFORMS ?= linux/arm64,linux/amd64

/test test-infra-build-containers-2-5

/test test-infra-build-containers-2-5

/test test-infra-build-containers-2-5

/test test-infra-build-containers-2-5

/test asf

/test test-infra-push-containers-2-5

/test test-infra-push-containers-2-6

docker buildx does not support load to local docker a multiarch image: https://github.com/docker/buildx/issues/59. So, I'll make changes to run docker buildx with push when make push target runs

/test test-infra-build-containers-2-5

/test test-infra-push-containers-2-5

/test test-infra-push-containers-2-6


Fix Ruby syntax error

Summary
This fixes this syntax error:
syntax error, unexpected (... (SyntaxError)
  def tag_options(options, ...)
                           ^~~
syntax error, unexpected ')'
... super(dehydrated_options, ...)                           ^

Note: This error was triggered with Ruby 2.7.2

I'm pretty sure this syntax was introduced in Ruby 2.7.3 🤔 Wondering if I should set that as the minimum Ruby version.

Bumped the min ruby version to 2.7.3 in #109


Build fails when using a src directory

When running open-next build, specifically when creating the middleware bundle, a src directory is never taken in to account.
https://github.com/serverless-stack/open-next/blob/1f57e3dbe6cdae1a101c9a75f148984ef5bd5aa0/src/build.ts#L187
Excerpt from next docs:

The src directory is very common in many apps and Next.js supports it by default.

So in my case the following would work:
const src: string = buildOutput.output['src/middleware'].files["index.js"].data;

But obviously both should be supported :)

Can confirm I just had the same issue.
Traced Next.js server files in: 2.289s
Created all serverless functions in: 1.006s
Collected static files (public/, static/, .next/static): 4.206ms
┌────────────────────────────┐
 │ Generating OpenNext bundle │
└────────────────────────────┘
Using v0.4.2
Bundling server function...
Bundling image optimization function...
Bundling middleware edge function...
file:///Users/alexis.walravens/.npm/_npx/a94ce00fc9d9ef90/node_modules/open-next/dist/build.js:146
    const src = buildOutput.output.middleware.files["index.js"].data;
                                              ^

TypeError: Cannot read properties of undefined (reading 'files')
    at createMiddlewareBundle (file:///Users/alexis.walravens/.npm/_npx/a94ce00fc9d9ef90/node_modules/open-next/dist/build.js:146:47)
    at build (file:///Users/alexis.walravens/.npm/_npx/a94ce00fc9d9ef90/node_modules/open-next/dist/build.js:23:5)

Thanks @skivis @AlexisWalravens.
Fixed in v0.5.2


Explicit close should clear retry timeout

Based on a quick read of this source code:
https://github.com/jjxxs/websocket-ts/blob/0b9673c1799293d08d9de9d0d71c6711c628412b/src/websocket.ts#L150-L160
And this:
https://github.com/jjxxs/websocket-ts/blob/0b9673c1799293d08d9de9d0d71c6711c628412b/src/websocket.ts#L71-L74
I believe it to be the case that:

if you have a pending reconnect timeout, then
you call close()

…the reconnect timeout won't be cancelled, and the websocket will try to reconnect. I believe this shouldn't happen after an explicit call to close().

you are correct. i will include this in the upcoming release and leave this issue open until then. thanks for the report!

Fixed in latest release https://github.com/jjxxs/websocket-ts/releases/tag/v2.1.4
Closing this issue, thanks for the report @steveluscher


Replace .Count() > 0 with .Any()

Description
Using Any() is faster than .Count() > 0 because, depending on the underlying type, the latter has to calculate the total count and only then can it return true, whereas the Any() method can stop as soon as there is at least one item.
How Has This Been Tested?
By building the solution and running all tests. This PR isn't a fundamental change of the code, simply a change of calculation.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[ ] I've added relevant tests.

@henon  this looks reasonable

Thanks!


Made the examples self contained

Closes #4.
Also makes all the examples lazy loaded. This should speed up first load speed of the examples website but should be tested whether this works properly in a production build too. Locally for me with a production build served with http-server it did work.

Hi @leroydev , thank you very much for deep dive into code and propose optimization!
However, adapter is designed to be a global config. Just like you need to config global providers for redux, some UI libs, etc. So using nice form consists of two parts, one for config and the other is real usage.

Hi @supnate, thanks for taking the time to review quickly!
What do you think about adding a comment above the example code that adds the adapters, that mentions that this should only be done globally but is done within the example to make them self-contained?
Then you have the best of both worlds, users can more quickly setup an example locally to play around with it and it is clear to them that the adapters is supposed to be global configuration.
If not, I do feel that including the definition of the custom datepicker in each example does add value.
Otherwise the user will be searching for a bit and would have to run into the one example that does have that code in it.
And the lazy loading should make the docs faster to load so might also be an improvement you want to consider.
Let me know which parts you want in what form and I'll make adjustments 🙂

Thanks @leroydev .

The get started section in readme should help users to know how to configure nice form. Examples mainly shows different scenarios of usage.
For widget definition, we think it's usually configured globally for common widgets to avoid duplicated code. But I agree adding a doc link would be helpful.
Lazy load for examples code is good change 👍

Closed in favor of #6


error message

Required Info

Camera Model
R200, F200 or SR300

Firmware Version

Operating System & Version

Kernel Version (Linux Only)

Build System
VS2013, XCode or Makefile

SR 300, Mac ElCapitan10.11.50, XCode
When trying to compile XCode examples I get the folowing error:
dyld: Library not loaded: /usr/local/lib/libusb-1.0.0.dylib
Referenced from: /Users/geraldineerman/Library/Developer/Xcode/DerivedData/c-tutorial-1-depth-dmbdcchtfexvyaesbopvojjjccyo/Build/Products/Debug/c-tutorial-1-depth
Reason: Incompatible library version: c-tutorial-1-depth requires version 2.0.0 or later, but libusb-1.0.0.dylib provides version 1.0.0
(lldb)
I did follow your OSX directions re homebrew and lib installs...any help/suggestions,please?
Thanks

This doesn't appear to be an easily-replicable issue. I would start by Googling around Reason: Incompatible library version or Reason: Incompatible library version libusb From a very quick survey of the results, it seems there's something funky going on with brew and possibly an older install of libusb on your system.

thanksfor your quick response---reinstalled libusb , getting new error :
Ld /Users/geraldineerman/Library/Developer/Xcode/DerivedData/librealsense-dpitndvxkguxwncwadjitpicdtbn/Build/Products/Debug/librealsense.dylib normal x86_64
cd /Users/geraldineerman/Desktop/librealsense-master/librealsense.xc
export MACOSX_DEPLOYMENT_TARGET=10.10
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -L/Users/geraldineerman/Library/Developer/Xcode/DerivedData/librealsense-dpitndvxkguxwncwadjitpicdtbn/Build/Products/Debug -L/usr/local/lib -F/Users/geraldineerman/Library/Developer/Xcode/DerivedData/librealsense-dpitndvxkguxwncwadjitpicdtbn/Build/Products/Debug -filelist /Users/geraldineerman/Library/Developer/Xcode/DerivedData/librealsense-dpitndvxkguxwncwadjitpicdtbn/Build/Intermediates/librealsense.build/Debug/librealsense.build/Objects-normal/x86_64/librealsense.LinkFileList -mmacosx-version-min=10.10 -Xlinker -no_deduplicate -stdlib=libc++ -lusb-1.0.0 -Xlinker -dependency_info -Xlinker /Users/geraldineerman/Library/Developer/Xcode/DerivedData/librealsense-dpitndvxkguxwncwadjitpicdtbn/Build/Intermediates/librealsense.build/Debug/librealsense.build/Objects-normal/x86_64/librealsense_dependency_info.dat -o /Users/geraldineerman/Library/Developer/Xcode/DerivedData/librealsense-dpitndvxkguxwncwadjitpicdtbn/Build/Products/Debug/librealsense.dylib
ld: file too small (length=0) file '/usr/local/lib/libusb-1.0.0.dylib' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

thanksfor your quick response---reinstalled libusb , getting new error :
Ld
/Users/geraldineerman/Library/Developer/Xcode/DerivedData/librealsense-dpitndvxkguxwncwadjitpicdtbn/Build/Products/Debug/librealsense.dylib
normal x86_64cd
/Users/geraldineerman/Desktop/librealsense-master/librealsense.xcexport
MACOSX_DEPLOYMENT_TARGET=10.10/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
-arch x86_64 -dynamiclib -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
-L/Users/geraldineerman/Library/Developer/Xcode/DerivedData/librealsense-dpitndvxkguxwncwadjitpicdtbn/Build/Products/Debug
-L/usr/local/lib
-F/Users/geraldineerman/Library/Developer/Xcode/DerivedData/librealsense-dpitndvxkguxwncwadjitpicdtbn/Build/Products/Debug
-filelist
/Users/geraldineerman/Library/Developer/Xcode/DerivedData/librealsense-dpitndvxkguxwncwadjitpicdtbn/Build/Intermediates/librealsense.build/Debug/librealsense.build/Objects-normal/x86_64/librealsense.LinkFileList
-mmacosx-version-min=10.10 -Xlinker -no_deduplicate -stdlib=libc++
-lusb-1.0.0 -Xlinker -dependency_info -Xlinker
/Users/geraldineerman/Library/Developer/Xcode/DerivedData/librealsense-dpitndvxkguxwncwadjitpicdtbn/Build/Intermediates/librealsense.build/Debug/librealsense.build/Objects-normal/x86_64/librealsense_dependency_info.dat
-o
/Users/geraldineerman/Library/Developer/Xcode/DerivedData/librealsense-dpitndvxkguxwncwadjitpicdtbn/Build/Products/Debug/librealsense.dylib
ld: file too small (length=0) file '/usr/local/lib/libusb-1.0.0.dylib' for
architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
http://myvernacular.tumblr.com
On Sun, Jun 26, 2016 at 2:42 PM, Dimitri Diakopoulos <
<EMAIL_ADDRESS>wrote:

This doesn't appear to be an easily-replicable issue. I would start by
Googling around Reason: Incompatible library version or Reason:
Incompatible library version libusb From a very quick survey of the
results, it seems there's something funky going on with brew and possibly
an older install of libusb on your system.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/IntelRealSense/librealsense/issues/184#issuecomment-228615689,
or mute the thread
https://github.com/notifications/unsubscribe/AMTR4NTZkScfyfu5NLd4GjYoOkC9UiBFks5qPsgkgaJpZM4I-muT
.

Reinstalled libusb yet again and fixed linkages with "brew doctor" /got Xcode examples working. Thanks for your help!

Great! Glad you fixed it :)


 Application is now able to be built and distributed in executables. It contains a main view page and all labels, journal entries, and tasks are stored in local databases.
Testing
Database functions are tested using extensive unit tests.
Confirmation of Change

Absolutely wonderful work everyone!


feat(HACBS-2216): Removem chains-ca-cert support

Description
The chains-ca-cert Secret is no longer needed. See https://issues.redhat.com/browse/HACBS-2216. This change removes the test that verifies it exists, so we can actually remove it from the cluster in https://github.com/openshift-pipelines/pipeline-service/pull/673.
Issue ticket number and link
https://issues.redhat.com/browse/HACBS-2216
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Tested against my dev cluster.
Checklist:

[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("STONE-123456789 devfile source")
[x] I have updated labels (if needed)

/lgtm

/lgtm
/approve

/approve


lists/getbytitle('listname')/items extraction of data from full list?

Hi team,
Regarding the API lists/getbytitle('listname')/items, what view does it extract from? Or does it extract out all the items in a list irregardless of the view? Thanks!

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

ID: 3aa0c9cd-d807-8d1b-1eb0-66373fa254b9
Version Independent ID: 409a88a8-7ae9-afde-d66c-81529ad15669
Content: Get to know the SharePoint REST service
Content Source: docs/sp-add-ins/get-to-know-the-sharepoint-rest-service.md
Product: sharepoint
GitHub Login: @VesaJuvonen
Microsoft Alias: vesaj

It pulls items from the list regardless of view. It will by default only pull 100 items, and a max of 5,000 items at a single time (if you specify the $top odata filter.

Hi @bcameron1231 , thanks for the reply. How do I pull >5000 items if the site has more than that?
Also, I am currently using $top=1000000 since I did not know about the 5000 limit, does this mean that the amount of items pulled will still be capped at 5000? Thanks!

@debbielee1996 yes, you will need to make multiple calls to retrieve more than 5000 items.

I see, thanks for the information! :)


MXNet TensorRT releases requires higher limits

Hello, I'd like to request some slightly higher limits for two of my packages.  These distributions are MXNet packages that are optimized for neural network inference on specific GPUs.   Unfortunately this code brings the compressed wheel size over the limits for PyPi.  As a work around I'm shipping code that will be JIT'd on the client side, but this introduced a large delay when the library is first loaded, and it disables some of the GPU specific optimizeations, neither of which is desirable for users.
The name of the project:
mxnet-tensorrt-cu92 and mxnet-tensorrt-cu90
The size of your release, in megabytes:
150 should be more than enough for portable optimized builds supporting major GPU architectures.
Which index/indexes you need the increase for (PyPI, Test PyPI, or both):
PyPI

@KellenSunderland I've set the limit for mxnet-tensorrt-cu92 and mxnet-tensorrt-cu90 to 150MB on PyPI. Please be mindful about how often you make releases of these packages, mxnet-* projects currently occupy 9 out of the top 15 projects on PyPI by total package size.

Thanks for the quick fix.  That's a lot of usage.  I'll follow up and see if that amount of storage is really required.


undefined type types.Capability error on docker build

Current Behavior
I seem to be getting this error undefined type types.Capability error when i run docker build .
command
Expected Behavior
there shouldnt be any errors and build should be completed successfully
Screenshots/Logs

Environment

Host OS: Linux
Platform: Docker

Thank you, @moazfarrukh!
Are you interested in working on this?

@leecalcote i think someone is already working on it at https://github.com/meshery/meshery-adapter-library/pull/161


[question] Potential dependency mismatch between FastAPI and Starlette?

Describe the bug
Installing from source and including the server in a fresh venv raises the following:
ERROR: fastapi 0.63.0 has requirement starlette==0.13.6, but you'll have starlette 0.19.0 which is incompatible.
To Reproduce
To reproduce
python -m venv venv
source venv/bin/activate
pip install .[server]

Then if we run python -m rubrix we get:
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/Users/dani/recognai/rubrix101/venv/lib/python3.8/site-packages/rubrix/__main__.py", line 19, in <module>
    uvicorn.run(
  File "/Users/dani/recognai/rubrix101/venv/lib/python3.8/site-packages/uvicorn/main.py", line 463, in run
    server.run()
  File "/Users/dani/recognai/rubrix101/venv/lib/python3.8/site-packages/uvicorn/server.py", line 60, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/runners.py", line 43, in run
    return loop.run_until_complete(main)
  File "uvloop/loop.pyx", line 1501, in uvloop.loop.Loop.run_until_complete
  File "/Users/dani/recognai/rubrix101/venv/lib/python3.8/site-packages/uvicorn/server.py", line 67, in serve
    config.load()
  File "/Users/dani/recognai/rubrix101/venv/lib/python3.8/site-packages/uvicorn/config.py", line 458, in load
    self.loaded_app = import_from_string(self.app)
  File "/Users/dani/recognai/rubrix101/venv/lib/python3.8/site-packages/uvicorn/importer.py", line 31, in import_from_string
    instance = getattr(instance, attr_str)
  File "/Users/dani/recognai/rubrix101/venv/lib/python3.8/site-packages/rubrix/utils.py", line 79, in __getattr__
    module = self._get_module(self._class_to_module[name])
  File "/Users/dani/recognai/rubrix101/venv/lib/python3.8/site-packages/rubrix/utils.py", line 111, in _get_module
    raise RuntimeError(
RuntimeError: Failed to import rubrix.server.app because of the following error (look up to see its traceback):
cannot import name 'UJSONResponse' from 'starlette.responses' (/Users/dani/recognai/rubrix101/venv/lib/python3.8/site-packages/starlette/responses.py)

Expected behavior
Not sure if version ranges could be improved to avoid this, or there's something we could do
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS [e.g. iOS]: MacOS
Browser [e.g. chrome, safari]:
Rubrix Version [e.g. 0.10.0]: master
ElasticSearch Version [e.g. 7.10.2]: NA
Docker Image (optional) [e.g. rubrix:v0.10.0]:  NA

Additional context
Add any other context about the problem here.

Arg, I could reproduce this issue with a pip version <20.3, that is using the old deps resolver.
To solve this, I propose to make the starlette dependency of the client optional, that is if someone wants to use the monitoring feature, the user has to install starlette manually (as we do for other features like read_datasets or the Snorkel label model).
cc @frascuchon


TOK-412: List all activated builders

What

List all the activated Builders

Jira Ticket

I allocated some rewards and we need to update the formating:

I may be wrong, but we are still missing the flags in the builder name.

I may be wrong, but we are still missing the flags in the builder name.

We agree to handle this in a different task


cls_Better_Access_Chart.cls is imported as Module

When importing cls_Better_Access_Chart.cls into a fresh Access-Database, a new Module ("Modul1") is created.
Expected was the Import a new Class-Module.

Thank you for bringing this issue to my attention.
However, your pull request is only a one-time solution. This is due to my process of deploying a new version. Whenever I create a new version, I export the class module. For this I use the function "PrepareAndExportClassModule" from the module "mdl_Helpers".
The first thing I will do now is to accept your pull request. Then I will expand the mentioned function so that your additions are included in the file.

I have now changed the code in the mentioned function.
Instead of "Application.SaveAsText" I now use the export method from the VBComponent.


Outcomes 2.0 LisResult issues (ResultAgent and ResultStatus)

Hi Andy,
As always, first a thank you for your great work!
My team is implementing the Outcomes 2.0 using your Library and running into some issues (I've logged a single ticket as they affect the same class):
If we compare the Draft specification (especially http://www.imsglobal.org/lti/model/mediatype/application/vnd/ims/lis/v2p1/result%2Bjson/index.html#LISResult)
to your implementation:
https://github.com/andyfmiller/LtiLibrary/blob/master/LtiLibrary.Core/Outcomes/v2/LisResult.cs
we encounter a couple of issues.

The spec says resultAgent is a LISPerson hence a compound "userid" with optional "id".
Your LisResult.cs dictates a URI.
==> A value of { "userid": "*userid*" } should be provided/accepted (not an URI). (Of course the optional "id" should also be supported)

The spec says resultStatus is an enumeration that needs to be referenced by their simple names (Completed, Final, Initialized, Started).
Your implementation (un)marshalls from/to the enumeration index (e.g. 0 instead of "Completed")
===> The simple names should be provided/accepted (not the enumeration index)

I eagerly await your feedback.
Regards,
Jeroen H
P.S. My team could provide a pull request if you agree with my interpretation of the spec.

I'll take a look asap. I love pull requests!

@jeroenhabets - I'm sorry I took so long to look at this. I imagine you have already fixed this locally.
I just checked in some changes to fix both issues and tested them with SimpleLti over in LtiSamples. I have not tried any certification tests yet.


Upmerge branch

Upmerge branch
See https://github.com/nrfconnect/sdk-nrf/pull/16860

Once this PR: https://github.com/bjarki-andreasen/sdk-connectedhomeip/pull/1 is merged we need to remove this one: https://github.com/nrfconnect/sdk-connectedhomeip/pull/478/commits/c429269f0f682aebbfb5d0e839bea1ca90601d59


Blue light when selecting options

WHERE YOU CAN REPLICATE: application/DEMO
ТС-01
Steps to reproduce:

Open Application - DEMO
Click on three dots

Actual result:
The selected option is highlighted in blue

ТС-02
Steps to reproduce:

Open Application - DEMO
Open entity
Add tag

Actual result:
The "Tag" field is highlighted in blue

Fixed


Added code to support monitoring of 2 meters

@cooldil Thanks for the PR, though I think if multiple meters is a scenario (I don't have any), do you know how many meters are supported? Rather than duplicating all the code, it would probably be better to use string templates in a for loop for the meters based on the configured quantity

@dave92082 this really insightful Fronius talk on sunspec integration mentions 4 meters


Enable the GCStartStopEvents CTF Tests

I have disabled the tests GCStartStopEvents  in CtfTraceTests.cs because it asserts in the method
GetTraceEvent(CtfEvent evt)
At this assert.
Debug.Assert(evt.Name.StartsWith("lttng") || _eventMapping.ContainsKey(evt.Name), evt.Name);
If you remove the 'Assert.Inconclusive' and run the test on a debug build it should repo.
Vance

:memo: The file auto-20151103-132930.lttng.zip appears to be missing from the repository. When I switched the test to using the file I did find, auto-20151103-132930.trace.zip, it was passing.

Fixed via #1117.


No output when using tensor_parallel

HI, I want to inference vicuna-13b with tensor_parallel, but output is nothing even I wait for 10+h.


Invalid unreachable code reported

Input
→ View on sorbet.run
# typed: strict
class A
  extend T::Sig

  sig{void}
  def simple_operation
    retried = false
    begin
      raise "xxx" if rand < 0.5
      puts "passed"
    rescue
      raise if retried
      retried = true
      retry
    end
  end
end

Observed output
editor.rb:12: This code is unreachable https://srb.help/7006
    12 |      raise if retried
              ^^^^^
    editor.rb:12: This condition was always falsy (FalseClass)
    12 |      raise if retried
                       ^^^^^^^
  Got FalseClass originating from:
    editor.rb:7:
     7 |    retried = false
                      ^^^^^
Errors: 1

Expected behavior
No errors should be reported for this sample.

Sorbet does not seem to take into account that variable retried is assigned the value of true and the block is rerun after the retry keyword.

This can be fixed by adding a type annotation to retried:
sorbet.run link
# typed: strict
class A
  extend T::Sig

  sig{void}
  def simple_operation
    retried = T.let(false, T::Boolean)
    begin
      raise if rand < 0.5
      puts "passed"
    rescue
      raise if retried
      retried = true
      retry
    end
  end
end

The issue here is that the type of retried is initially FalseClass, so when the rescue block is processed it looks like the raise will never happen.

Thanks for the tip!


Problems Importing DXF file with GUI

Hello. I'm just a beginner using Pyleecan. My version is:

Nevertheless, i was trying to use the DXF import utility within the GUI when defining the rotor holes and the following dialog window shown up.

Looking at the Jupyter notebook cell it shows no error tracing. So I'm not able to see where is the problem.
¿Can someone help me?
Thanks

Hello,
Sorry for the late answer, I was in holiday. On the current master of pyleecan a more recent version of the DXF import is available. I just checked and I managed to import a hole with it. I will soon release a new version of pyleecan with these modifications.
Best regards,
Pierre

Pyleecan 1.3.7 is now available, can you try again and confirm if your issue is corrected ?

Hello together,
I am working with Pyleecan version 1.3.8. and getting the same error.
Additional I tried to import and export the dxf data with FEMM without any improvement.
Do you have any solution for this problem?
Thank you for your support.
Best regards,
Tobias

Hello,
The import DXF has been rework with PR #485  and pyleecan v1.4.0 was released and I managed to use DXF import with the exe version.
Can we close this issue or do you still have errors on your side ?
Best regards,
Pierre


Error:  is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules

I created a new demo project with the standard proccess, then I added the @sveltejs/adapter-static@next plugin. If I npm run dev I get:
Error:  is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules
Otherwiser, npm run build works fine.

"@sveltejs/adapter-static": "^1.0.0-next.24",
"@sveltejs/kit": "^1.0.0-next.231",
"svelte": "^3.46.0",
"sveltestrap": "^5.9.0"

Same problem 😞

I had a running project I just updated all the dependencies and now I get the above error on .
If I build it works fine.

I'm in the same boat. It was working just fine a few weeks ago. Just bumped everything and now getting the same error. Like @GaryAustin1 rolling back doesn't even fix the issue. Any idea?

I was able to get moving at the moment doing this:
https://github.com/floating-ui/floating-ui/issues/1588
modifying jspopper as described.  Not a real fix,though.

I was able to get moving at the moment doing this: floating-ui/floating-ui#1588 modifying jspopper as described. Not a real fix,though.

Thanks for the tip! So the issue is not with sveltestrap, at least we can work around it.

Not sure sveltestrap can't solve it.  See here:
https://github.com/bestguy/sveltestrap/issues/463

add "type"="module" in popperjs package.json seems fix it

Hi, can you please test with the latest release and confirm it resolves? v5.11.2


Create standard Verify and Release workflows

We should be able to just do something similar to what we already have in apicurio-common-rest-client for this.

@EricWittmann Looks like both the workflows are already in place and working. Were you looking for some custom modifications instead?

Geez!  I didn't even remember doing that.  Sorry for the noise @riprasad


Fixes #961 - different abstraction for user message, take 1

#961

Looks good, but I wanted to put a discussion question out there; is this premature abstraction? It seems it's only currently being used in one file; are we sure this is something that's going to be reused?

We do plan to re-use it as we move forward. Also, It seemed like a more concrete abstraction to me. We also discussed that it could use a better name.


angular2-runtime 0.5.0 error

I just upgraded packages and have the following errors in the console when running my app:
Uncaught Error: Cannot find module 'angular2-meteor-polyfills/browser'
Uncaught reflect-metadata shim is required when using class decorators

I've found that if I downgrade angular2-runtime to 0.2.3_2 then everything works. Any thoughts? Thanks!

It works with 0.5.0 if I npm install angular2-meteor-polyfills. The documentation makes it seem like this shouldn't be necessary though:

you can install barbatus:angular2-runtime, a package that adds all the required dependencies. Since it's a package, it's loaded by Meteor before any user code.

If you prefer to install polyfills manually for some reason, you can try angular2-meteor-polyfills NPM.

Yes, 0.5.0 is designated for the next version of Angular2-Meteor. angular2-meteor-polyfills is added as dependency in the master https://github.com/Urigo/angular2-meteor/blob/master/package.json#L32.
Some people had issues with the prev version of angular-runtime, so I released 0.5.0 kinda ahead of time. I thought it's not hard to guess with the message Cannot find module, that one needs to install this NPM. But it turns out most people can't get it.

Ok, good to know. I agree that it's not hard to troubleshoot. I was just pointing out that it contradicts the documentation. I thought one of the goals of the documentation was to provide a setup guide that didn't result in errors.


Fix rules updates and node_group creates

This pull request fixes an issue with creating node_groups when rules are set
in the resource.  In addition, this pull request repairs an issue where rules
for multiple node_group resources are combined as they are parsed by the agent.

Awesome this speeds it up.  Thanks.


match with google cloud: allow disabling the application default credentials prompt

Feature Request
Right now, using application default credentials with GCP and match, every time I run a match operation it asks:
[11:07:58]: Do you want to use this system's Google Cloud application default keys? (y/n)

This is unnecessary, in what is otherwise a command that requires no user input.
Motivation Behind Feature
We run match in various developer scripts, and are attempting to switch from git to GCP - this effectively blocks the transition.
Feature Description
Add an option to match, something like google_cloud_prompt_for_application_credentials(false).
Alternatively, just remove the confirmation prompt entirely, as I'm not sure what benefit it provides.
Alternatives or Workarounds
yes | fastlane match ...

@mattmckeon looks like you did the work to enable application credentials - thoughts? I'm happy to get a PR going but am not sure the preferred solution.

@fastlane-bot this is still an issue... I'm waiting on guidance for the preferred solution