added sar usecase for dask chunks

Added an additional use-case with mobyle sar example with the idea of exploring dask chunks and how it affects performance. We need to keep in mind that this is not a simple use-case and would require some effort from the students. We need to make this clear when they try this out. I would suggest that this be the use-case that people do when they are done with phenology. @meiertgrootes or @fnattino or @rogerkuou, could someone take a quick look and merge it if its fine?

Hi @cpranav93, thanks! Looks nice, but I am a bit concerned that it might be quite challenging for anyone that is not very experienced with SAR datasets (a lot of concepts, e.g. SLC, mrm, azimuth and range, may not mean anything to non experts?). We could include it and let people decide (however, I am not sure how helpful I could be myself on this if there will be questions 😅 )

Looks good so far @cpranav93 I was checking it out. @fnattino I think it should be ok. The very basic concepts are simple enough, At the end of the day itt's radar reflectance in a coordiante system which requires transformation. I like the preamble which highlights the goal (dask chunks) a lot. The rest is just flavour to drive home the point that it has real world applicaions...

I would agree with Meiert that the idea is to focus on dask. I have given as many hints as possible in the notebook to help them figure out the flow. Otherwise we could also help them out as needed. Merging this now.


Search viewlet gives padding to selected/hovered results incorrectly

VSCode 1.12 stable candidate
Notice the selected item and the hovered item have different right padding to the other items.

Probably related to https://github.com/Microsoft/vscode/issues/25906 actually

/duplicate of #25906


Notifications from klaviyo are not being received.

Would you please check and confirm if notifications are really being received with using the following package?
I have created a campaign in Klaviyo dashboard to send a notification to the device after a certain event is triggered.
Klaviyo events are triggering with this Flutter package but notifications are not being received.
Moreover, when i paste the Klaviyo token (copied from the log in flutter debug) to send the notification to a certain device from the klaviyo dashboard it throws an error that the provided token is not associated with any account.

Hello abubakarf, could you please double check notifications setup and integration according Apple and Google requirements.
You can also look on Klaviyo native platform integration: Android, and iOS projects.
Please also check Klaviyo API logs for your Klaviyo account at https://www.klaviyo.com/developer-tools/logs


Add a dictionary processor

There are lots of use cases where we might want to map a field to a new value following a predefined dictionary. Regardless of how that field might be targeted (json path, metadata, etc) we can satisfy all possibilities by creating a general dictionary processor, where the raw contents of the message are referred against a cache resource and the value returned replaces the contents. If the key is not found within the cache then we would use an optional default value.
The first step in this new feature will be to support static key/values in a cache type. The memory cache is the obvious candidate since the data will be stored in memory. We could add a field like so:
type: memory
memory:
  compaction_interval: 60s
  ttl: 300
  static_values:
    foo: bar
    baz: buz

But we'd need to consider whether TTLs should apply to static values (it doesn't really make sense to TTL a statically configured value, but it might be assumed by users).
The second piece of work is our processor. In reality, we can already implement dictionary behaviour as this point with a cache processor:
- process_field:
    path: foo
    processors:
    - cache:
        cache: foo
        operator: get
        key: "${!content}"
    - catch:
      - text:
          operator: set
          value: default_value

So we could leave it there and document this pattern. There is already a need for more "advanced patterns" documentation so this would be a good candidate. Otherwise, we would implement a dictionary processor that basically does this same thing, but perhaps we would have a default_value field instead of recommending the catch approach (although catching would still be necessary since caches can fail.)

I've implemented the cache part: https://github.com/Jeffail/benthos/commit/c3639a70657bbb0f2e4752cf2c1a5a2d8247ca76
I'll write out the advanced patterns guide first and if we decide a dictionary is needed we can reopen this ticket.


created scrape and scrape meta for Monterey County District Attorney

Description
Created the scraper for Monterey County District Attorney
Summary of Changes

Added a separate file for the headers in the config folder and added created the scraper for Monterey County District Attorney

Related Issues

#65

Great start @naumansharifwork! I left a few comments to help get this scraper into better shape for usage in the application layer.

Hey @newsroomdev please review this one as well, Thanks a lot.

@newsroomdev can you check i think i don't have merge access.


Update for<EMAIL_ADDRESS>

<EMAIL_ADDRESS>has just been released and it contains breaking changes. See https://github.com/vadimdemedes/ink/releases for more info.
PR updates this component for the latest Ink and contains some important fixes, like moving ink to devDependencies.

Thanks!
process.stdout.columns can change, right? Best to do that in render at least, if we don't subscribe to it in some way.

Good point!

Fixed.

Thanks! 2.0.0


Insecure private networking with DigitalOcean

I am looking at the tutorial for setting up CoreOS on digitalOcean, and the default is to listen on the private_ip. The problem is that private networking on digitalocean is shared.
Wouldn't that mean that everybody inside the private networking on digitalocean would be able to join my coreos cluster?

You can use TLS with etcd to keep your peer traffic secure: https://coreos.com/etcd/docs/latest/security.html#example-3-transport-security-&-client-certificates-in-a-cluster
The examples on that guide are etcd command line flags, but the same parameters map directly to env vars as well.

Yes, but a beginner might not know that and I was thinking that the docs should say, "not secure, you can be hacked"!

It's hard to balance ease of use, consistency with the way other platforms are bootstrapped, and working around the inferior practices of some of the providers.
Would be happy to a look at a PR if you want to put a suggestion together.


reduceBy's initial value should be shallowly copied to prevent mutations

Written code
const reduceToNamesBy = reduceBy((names, { name }) => {
  names.push(name)
  return names
}, [])
const namesByGrade = reduceToNamesBy(({ score }) => cond([
  [lt_(65), always('E')],
  [lt_(70), always('D')],
  [lt_(80), always('C')],
  [lt_(90), always('B')],
  [T, always('A')]
])(score))
const students = [
  { name: 'Lucy', score: 92 },
  { name: 'Drew', score: 85 },
  { name: 'Bart', score: 62 }
]

namesByGrade(students)

Expectations
Expected value to equal:
      {"A": ["Lucy"], "B": ["Drew"], "E": ["Bart"]}
    Received:
      {"A": ["Lucy", "Drew", "Bart"], "B": ["Lucy", "Drew", "Bart"], "E": ["Lucy", "Drew", "Bart"]}

It happens because initial value [] is shared with every group which makes it mutable for all of them
I can provide fix if immutability here is an issue for Ramda
Example with concat
Example with push

Please see https://github.com/ramda/ramda/pull/2039#issuecomment-270146445.
Ramda intentionally remains a fairly low-level library.  While Ramda does not mutate your data, it makes no attempt to prevent you from doing so.  While it's been extremely infrequent, I have seen cases where this is used to good effect.  (Pun most definitely intended!)

@CrossEye I don't agree with you here
I don't want to mutate all the time
I just don't want to create extra arrays all the time, it's about the performance, isn't it?
Method itself creates potential place to mutate data

should be shallowly copied

I just don't want to create extra arrays

Not trying to be mean, but you are contradicting yourself.


Add nationality editing to support interface

Context
We would like to make more areas of an application form editable in the support interface
Some work has already been completed to allow certain characteristics to be updated. This should be expanded to encompass all Personal Details, to assist with support queries.

Changes proposed in this pull request

Add the nationality editing from the candidate interface to the support interface, including the right to work section.

Guidance to review

Should be easy to test in the review app, just need to navigate to an application form in support

Link to Trello card
https://trello.com/c/vYKaG1or

Things to check

[ ] This code does not rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] API release notes have been updated if necessary
[ ] New environment variables have been added to the Azure config

Going to merge this. The candidate/applicant nomenclature question is being discussed here https://ukgovernmentdfe.slack.com/archives/CN9Q1VB2M/p1608289760147300. Can pick up any changes in a separate PR.


refactor: remove extra CommonJs dependency locations

Summary
Related to #7422

Checklist

[ ] Tests updated (or not required).
[ ] Documentation updated (or not required).

I found it necessary to introduce SyntheticDependencyLocation because some chunk files are generated virtually, which is beneficial for building information localization.

I will start governance again, and some dependencies can be directly addressed using RealDependencyLocation, as its location is actually determined. And in some places, we may need to use SyntheticDependencyLocation and DependencyLocation.
struct RealDependencyRange {
  pub end: u32,
  pub start: u32,
}

struct SyntheticDependencyName {
  pub end: u32,
  pub start: u32,
}

enum DependencyLocation {
  Real(RealDependencyRange),
  Synthetic(SyntheticDependencyName),
}

@h-a-n-a cc

I will start governance again, and some dependencies can be directly addressed using RealDependencyLocation, as its location is actually determined. And in some places, we may need to use SyntheticDependencyLocation and DependencyLocation.
struct RealDependencyRange {
  pub end: u32,
  pub start: u32,
}

struct SyntheticDependencyName {
  pub name: String
}

enum DependencyLocation {
  Real(RealDependencyRange),
  Synthetic(SyntheticDependencyName),
}

Looks good. We might need index for SyntheticDependencyName as well in some places.

I changed the title to make it more specific.

Looks good. We might need index for SyntheticDependencyName as well in some places.

Yes, I will add index when necessary.


#12 Rails 5.0 incompatibilities Fix

Cause:
Debugging #12 seems when the client-side middleware is chained in server, Apartment::Tenant.current is set to base tenant overriding the correct current_tenant stored in item['apartment'].
Chaining client-side in both places is mentioned in Sidekiq docs https://github.com/mperham/sidekiq/wiki/Middleware#sometimes-client-side-middleware-should-be-registered-in-both-places but not sure why it's breaking things now in rails 5.
Fix:
Removing the server chain fixes this for me [rails5, mysql, using schema=true]
P.S
Not sure if this has some other side effects and it will require more testing.

@nimi - Any word on why this hasn't been pushed in almost three years?

@ACPK due to conflicts :P


Skip flaky test

Follow-up issue: https://github.com/dotnet/aspnetcore/issues/22333

This code now exists in aspnetcore. Once @JunTaoLuo has finished the aspnetcore-tooling migration this test wont exist here any longer. Aka, if we get this in we'll be giving him conflicts 😄

This code now exists in aspnetcore. Once @JunTaoLuo has finished the aspnetcore-tooling migration this test wont exist here any longer.
@NTaylorMullen

However as it stands, the code is still in the aspnetcore-tooling repo, and so this test should be passing without the flakiness still, correct?
I've been trying to diagnose another issue of failing CI builds and it's rooted to this test failure. Doing some reverts seems to fix the flakiness of this test, so I believe this could be hinting at a broader problem.

The test has already migrated to aspnetcore, so you'll want to make the change there too.


指定了模型地址，还是提示 Incorrect path_or_model_id: '/data/shared/Qwen/Qwen-Chat/'

是否已有关于该错误的issue或讨论？ | Is there an existing issue / discussion for this?

[X] 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答？ | Is there an existing answer for this in FAQ?

[X] 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior
使用官方docker镜像微调，指定了模型地址
IMAGE_NAME=qwenllm/qwen:cu121
CHECKPOINT_PATH=/zyxy/Qwen/Qwen/Qwen-7B-Chat-Int4                # 下载的模型和代码路径
#CHECKPOINT_PATH=/path/to/Qwen-7B-Chat-Int4     # 下载的模型和代码路径 (Q-LoRA)
DATA_PATH=/zyxy/Qwen/data                    # 准备微调数据放在 ${DATA_PATH}/example.json
OUTPUT_PATH=/zyxy/Qwen/checkpoint          # 微调输出路径

DEVICE=all
#DEVICE='"device=0,1,2,3"'

mkdir -p ${OUTPUT_PATH}

docker run --gpus ${DEVICE} --rm --name qwen \
    --mount type=bind,source=${CHECKPOINT_PATH},target=/data/shared/Qwen/Qwen-7B \
    --mount type=bind,source=${DATA_PATH},target=/data/shared/Qwen/data \
    --mount type=bind,source=${OUTPUT_PATH},target=/data/shared/Qwen/output_qwen \
    --shm-size=2gb \
    -it ${IMAGE_NAME} \

这是仓库位置

报错信息
root@ubuntu:/zyxy/Qwen# bash train.sh

==========
== CUDA ==
==========

CUDA Version 12.1.0

Container image Copyright (c) 2016-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.

This container image and its contents are governed by the NVIDIA Deep Learning Container License.
By pulling and using the container, you accept the terms and conditions of this license:
https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license

A copy of this license is made available in this container at /NGC-DL-CONTAINER-LICENSE for your convenience.

*************************
** DEPRECATION NOTICE! **
*************************
THIS IMAGE IS DEPRECATED and is scheduled for DELETION.
    https://gitlab.com/nvidia/container-images/cuda/blob/master/doc/support-policy.md

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/transformers/utils/hub.py", line 389, in cached_file
    resolved_file = hf_hub_download(
  File "/usr/local/lib/python3.8/dist-packages/huggingface_hub/utils/_validators.py", line 110, in _inner_fn
    validate_repo_id(arg_value)
  File "/usr/local/lib/python3.8/dist-packages/huggingface_hub/utils/_validators.py", line 158, in validate_repo_id
    raise HFValidationError(
huggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': '/data/shared/Qwen/Qwen-Chat/'. Use `repo_type` argument if needed.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "web_demo.py", line 209, in <module>
    main()
  File "web_demo.py", line 203, in main
    model, tokenizer, config = _load_model_tokenizer(args)
  File "web_demo.py", line 41, in _load_model_tokenizer
    tokenizer = AutoTokenizer.from_pretrained(
  File "/usr/local/lib/python3.8/dist-packages/transformers/models/auto/tokenization_auto.py", line 737, in from_pretrained
    tokenizer_config = get_tokenizer_config(pretrained_model_name_or_path, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/transformers/models/auto/tokenization_auto.py", line 569, in get_tokenizer_config
    resolved_config_file = cached_file(
  File "/usr/local/lib/python3.8/dist-packages/transformers/utils/hub.py", line 454, in cached_file
    raise EnvironmentError(
OSError: Incorrect path_or_model_id: '/data/shared/Qwen/Qwen-Chat/'. Please provide either the path to a local folder or the repo_id of a model on the Hub.

期望行为 | Expected Behavior
No response
复现方法 | Steps To Reproduce
No response
运行环境 | Environment
- OS:
- Python:
- Transformers:
- PyTorch:
- CUDA (`python -c 'import torch; print(torch.version.cuda)'`): 12.1

备注 | Anything else?

请问这是怎么解决的


Color

Hi Dominic,
We added some small code in the lines 112-126 to support adding a color to the structure. The syntax is a "|" followed by the rgb values of the color:
EX: zNS_O_Bo,CONTROL|255,255,0=Bowel_Small.And(zAll_PTVs).HighRes()
Additionally, we added an asterisk to the beginning of any line to request that the structure dictionary (from visual scripting) be used to match structure Ids.
Ex: *zNS_O_Bo,CONTROL|255,255,0=Bowel_Small.And(zAll_PTVs).HighRes()
The additionally structure dictionary service class and the changes to the method "GetStructureFromBase" in line 423-439.
Sincerely, GS401 Automation course November 2024.

Hey Matt, thanks for sending these. A quick question related to the structure dictionary service. How would a user set their own server? Also, could you update the ReadMe with the changes listed here?

Hi Domenic, I think the server name would just need to be updated into the source code. I agree that some thought might need to be put into the workflow. A lot of this was me showing a class how to perform a pull request 😆 . I can take some steps to update the readme and integrate this a little more thoughtfully.
I was a little concerned as well about dropping that asterisk in the beginning as a way of notifying the code that the structure dictionary should be used. I thought perhaps you might have some more elegant ideas in that? Happy to implement any way you see best.

No problem! I like the suggestions. I may take this a step further and add
a configuration file variable for the server name so it can be easily
changed without rebuilding the solution. I'll think about the asterisk to
see if I can come up with something a bit more elegant.
On Fri, Nov 15, 2024 at 10:29 AM GatewayScripts @.***>
wrote:

Hi Domenic, I think the server name would just need to be updated into the
source code. I agree that some thought might need to be put into the
workflow. A lot of this was me showing a class how to perform a pull
request 😆 . I can take some steps to update the readme and integrate this
a little more thoughtfully.
I was a little concerned as well about dropping that asterisk in the
beginning as a way of notifying the code that the structure dictionary
should be used. I thought perhaps you might have some more elegant ideas in
that? Happy to implement any way you see best.
—
Reply to this email directly, view it on GitHub
https://github.com/ddicostanzo/CC-Gen/pull/1#issuecomment-2479170360,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE4YIFQFWAIDRI6URWJ4S4D2AYHNVAVCNFSM6AAAAABROCFOUOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZZGE3TAMZWGA
.
You are receiving this because you commented.Message ID:
@.***>

I don't know that I've worked with a binary plugin script that had a configuration file. I have generated my own configuration file (i.e. Not compiled into the application), but binary plugins can be a little strange in that I think they execute in a different location on the file system than they exist so relative paths are sometimes changed. I can't remember exactly how that works its been some time since I've worked with that.
Thanks for being willing to think about the structure. I'll work on the ReadMe in the meantime and update the forked repository. I might not get to it for about a week. Happy to touch base any time.
Thank you,
[cid:abf9d925-ab85-4961-85ea-8fc1e6cc79e7]
Matthew Schmidt
Gateway Scripts LLC
https://www.gatewayscripts.com

From: Dominic DiCostanzo @.>
Sent: Friday, November 15, 2024 9:44 AM
To: ddicostanzo/CC-Gen @.>
Cc: Matthew Schmidt @.>; Author @.>
Subject: Re: [ddicostanzo/CC-Gen] Color (PR #1)
No problem! I like the suggestions. I may take this a step further and add
a configuration file variable for the server name so it can be easily
changed without rebuilding the solution. I'll think about the asterisk to
see if I can come up with something a bit more elegant.
On Fri, Nov 15, 2024 at 10:29 AM GatewayScripts @.***>
wrote:

Hi Domenic, I think the server name would just need to be updated into the
source code. I agree that some thought might need to be put into the
workflow. A lot of this was me showing a class how to perform a pull
request 😆 . I can take some steps to update the readme and integrate this
a little more thoughtfully.
I was a little concerned as well about dropping that asterisk in the
beginning as a way of notifying the code that the structure dictionary
should be used. I thought perhaps you might have some more elegant ideas in
that? Happy to implement any way you see best.
—
Reply to this email directly, view it on GitHub
https://github.com/ddicostanzo/CC-Gen/pull/1#issuecomment-2479170360,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE4YIFQFWAIDRI6URWJ4S4D2AYHNVAVCNFSM6AAAAABROCFOUOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZZGE3TAMZWGA
.
You are receiving this because you commented.Message ID:
@.***>

—
Reply to this email directly, view it on GitHubhttps://github.com/ddicostanzo/CC-Gen/pull/1#issuecomment-2479266476, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6WN233BFAC7IX6PGHDR7XD2AYJE3AVCNFSM6AAAAABROCFOUOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZZGI3DMNBXGY.
You are receiving this because you authored the thread.Message ID: @.***>


Avalonia nuget site provides an incorrect PackageReference node :)

PTAL at https://nuget-feed-all.avaloniaui.net/packages/avalonia/11.1.999-cibuild0042674-beta

please compare with nuget.org:

:)

ahhh the / is missing 😄

fixed by https://github.com/loic-sharma/BaGet/pull/737 but not yet released by them.


TEST" logo/ad issue

Not experiencing on production

My bad Denise - I was switching branches in git on test2 and forgot to recompile assets to update the CSS.  Should be fine now.


chore: enhance semver commit message

creates a commit message for semver allowing us to skip ci on tag pushes.

lgtm


Add custom python setup.py develop

As mentioned in PR #173

closing for now, please reopen if there's still interest


SBP: Deposits #2

Why process_new_transaction()  in spacewalk pallet does not return an Error?
Unhandled Error from T::Currency::deposit(currency_id, &destination, amount) in send_payment_tx(). The Event::Deposit is always triggered regardless it fails or not.

Thanks for the comment, we will look into it.

@TorstenStueber @gonzamontiel
The send_payment_tx() is called inside a loop.
What happens to the other successful payments, when it fails in the middle?
Ex. the payment_ops length is 5, and send_payment_tx() went fine at index 0 and 1. But it fails at index 2. Do we revert the payment of index 0 and 1 ?

@b-yap We will change the logic when implementing the last two milestones of the web3 grant. Let us postpone this discussion until after this change has been implemented.

Closing this because the structure of the depositing changed and this does not apply anymore.


Add a basic shell.nix file for development on NixOS.

Is this missing the actual shell.nix or is there no need for that with flakes?
Incidentally, I also wrote one a while ago 😁 but it was still with LLVM 12 and Qt 5.

Ah yeah the PR title is out of date after flakeization :-)


Cookie Handling

Setting and deleting a cookie via APIs

Adding a new API to set multiple cookies makes the API complex. In favour of simplicity of the API's, we have decided not to implement a API to set multiple cookies at once.

@nehashri Are you saying we can extend the existing API to accept multiple cookies?

@saikrishna321 No, We had a small discussion and we decided that we will not extend the api or create new ones to support setting multiple cookies at once. This is mainly because, we didn't want to complicate the api or introduce new ones.
The user should be able to use the setCookie api to do this.


enable dependabot

Codecov Report

Merging #11 (b6f9bbc) into main (d55d762) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main      #11   +/-   ##
=======================================
  Coverage   66.45%   66.45%
=======================================
  Files          42       42
  Lines        3861     3861
=======================================
  Hits         2566     2566
  Misses       1057     1057
  Partials      238      238

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


How to handle post requests

Hello, I have the following business logic:
Besides logging on to use post, I also need to use post to submit more data.
For example, log in (post) - > get to the exam title (post) - > post submit the test results (post), redirect to the page that passed or failed the exam.

？？？？？


2.5.0 compiles in Xcode 5, but 2.5.1 does not.

I can understand why support  for Xcode 5 would end at some point, but I was surprised that it ended in a minor version number change. Was this a mistake? (Compile error in AFURLConnectionOperation.h line 219.)

Possibly relevant link: http://stackoverflow.com/questions/24119896/ns-designated-initializer-expected-colon

Yes, this is the issue. Yes, I can work around it. And yes, you are right.

Fixed by #2559


subcriber received two same event

When I subcribe an event in a fragment,then open an activity,and then add a fragment in the activity,in the fragment I post an event,but I received twice.Why?

You registered it twice or you have two instances of the fragment.

thanks, I registered it twice.


Create Node.js parser wrapper

Implement a Node.js wrapper of the Go one, by using the C shared object resulting from the compilation here: https://github.com/asyncapi/parser/blob/master/compile.sh.
There's already some experimental work here: https://github.com/asyncapi/parser-nodejs. It would be nice to continue working there.
It should be fairly straightforward to code but we need to make sure we understand how to compile C for different platforms and architectures.
References

https://gist.github.com/steeve/6905542#gistcomment-1988684
https://github.com/nodejs/node-gyp

I'm assigning this to me if thats okay

If you're working on it, please move it to "In Progress".


tighten test_umap_sparse_trustworthiness bound

Hi,
The test test_umap_sparse_trustworthiness  in test_umap_trustworthiness.py has an assertion bound (assert (trust >= 0.85)) that is too loose. This means potential bug in the code could still pass the original test.
To quantify this I conducted some experiments where I generated multiple mutations of the source code under test and ran each mutant and the original code 100 times to build a distribution of their outputs. Each mutant is generated using simple mutation operators (e.g. > can become < ) on source code covered by the test. I used KS-test to find mutants that produced a different distribution from the original and use those mutants as a proxy for bugs that could be introduced. In the graph below I show the distribution of both the original code and also the mutants with a different distribution.

Here we see that the bound of 0.85 is too loose since the original distribution (in orange) is greater than 0.85. Furthermore in this graph we can observe that there are many mutants (proxy for bugs) that are above the bound as well and that is undesirable since the test should aim to catch potential bugs in code. I quantify the "bug detection" of this assertion by varying the bound in a trade-off graph below.

In this graph, I plot the mutant catch rate (ratio of mutant outputs that fail the test) and the original pass rate (ratio of original output that pass the test). The original bound of 0.85 (red dotted line) has a catch rate of 0.63.
To improve this test, I propose to tighten the bound to 0.88 (the blue dotted line). The new bound has a catch rate of 0.69 (+0.06 increase compare to original) while still has >99 % pass rate (test is not flaky, I ran the updated test 500 times and observed >99 % pass rate). I think this is a good balance between improving the bug-detection ability of the test while keep the flakiness of the test low.
Do you guys think this makes sense? Please let me know if this looks good or if you have any other suggestions or questions.
My Environment:
python=3.7.11
numpy=1.20.3

my umap Experiment SHA:
ec9832cbdb7f106a727e6bbd4c54c78fae30f26f

@lmcinnes Does this look okay to you?


Create a ShuttleAIModel for chatcompletions.

This will be for the standard/llms/concrete/ShuttleAIModel
The API KEY name in the test file should be:
SHUTTLEAI_API_KEY
Here is documentation:
https://docs.shuttleai.app/getting-started/introduction
Our focus will only be on the chat completions endpoint:
https://docs.shuttleai.app/api-reference/endpoint/chat-completion
The allowed models should include:
shuttle-2-turbo
shuttle-turbo
gpt-4o-2024-05-13
gpt-4-turbo-2024-04-09
gpt-4-0125-preview
gpt-4-1106-preview
gpt-4-1106-vision-preview
gpt-4-0613
gpt-4-bing
gpt-4-turbo-bing
gpt-4-32k-0613
gpt-3.5-turbo-0125
gpt-3.5-turbo-1106
claude-3-opus-20240229
claude-3-sonnet-20240229
claude-3-haiku-20240307
claude-2.1
claude-2.0
claude-instant-1.2
claude-instant-1.1
claude-instant-1.0
meta-llama-3-70b-instruct
meta-llama-3-8b-instruct
llama-3-sonar-large-32k-online
llama-3-sonar-small-32k-online
llama-3-sonar-large-32k-chat
llama-3-sonar-small-32k-chat
blackbox
blackbox-code
wizardlm-2-8x22b
wizardlm-2-70b
dolphin-2.6-mixtral-8x7b
codestral-latest
mistral-large
mistral-next
mistral-medium
mistral-small
mistral-tiny
mixtral-8x7b-instruct-v0.1
mixtral-8x22b-instruct-v0.1
mistral-7b-instruct-v0.2
mistral-7b-instruct-v0.1
nous-hermes-2-mixtral-8x7b
gemini-1.5-pro-latest
gemini-1.0-pro-latest
gemini-1.0-pro-vision
lzlv-70b
figgs-rp
cinematika-7b

The test file will require parameterization and should include all free APIs:
shuttle-2-turbo
shuttle-turbo
gpt-4-0613
gpt-4-bing
gpt-4-turbo-bing
gpt-3.5-turbo-0125
gpt-3.5-turbo-1106
claude-instant-1.0
wizardlm-2-8x22b
wizardlm-2-70b
dolphin-2.6-mixtral-8x7b
mistral-medium
mixtral-8x7b-instruct-v0.1
mixtral-8x22b-instruct-v0.1
mistral-7b-instruct-v0.2
mistral-7b-instruct-v0.1
nous-hermes-2-mixtral-8x7b

An example of parameterization:
To execute a pytest while changing one variable each time, the best approach is to use parameterization. Pytest allows you to run a test function multiple times with different sets of arguments using the @pytest.mark.parametrize decorator. This way, you can easily vary one or more variables across different test runs.
Here’s a step-by-step guide on how to do it:

Define Your Test Function
First, define your test function that accepts the variable(s) you want to change.

def function_to_test(variable):
    # Your function logic here
    return variable * 2  # Example logic

Use @pytest.mark.parametrize to Change the Variable
Use the @pytest.mark.parametrize decorator to specify the variable and the values you want to test.

import pytest

@pytest.mark.parametrize("variable", [1, 2, 3, 4, 5])
def test_function_to_test(variable):
    result = function_to_test(variable)
    assert result == variable * 2  # Example assertion

@pytest.mark.parametrize("variable", [1, 2, 3, 4, 5]): This line tells pytest to run test_function_to_test 5 times, each time with variable set to one of the values in the list [1, 2, 3, 4, 5].
test_function_to_test(variable): This is your test function that will be run multiple times with the different values of variable.
assert result == variable * 2: This is an example assertion that checks if the function behaves as expected for each value of variable.
Handling Multiple Variables
If you need to vary more than one variable, you can pass multiple arguments to @pytest.mark.parametrize. For example:
@pytest.mark.parametrize("variable1, variable2", [(1, 2), (3, 4), (5, 6)])
def test_function_to_test(variable1, variable2):
    result = function_to_test(variable1, variable2)
    assert result == expected_value  # Replace with actual logic

This will run the test function for each pair of (variable1, variable2) values.

we will parameterize in a later version


More accurate collisions/ Multi RayCast

Hi @adrenak,
Thanks for sharing this project! Really great work!
I was thinking of developing the wheel collider code to handle multiple raycasts per wheel (many more radiating from the center). How do you think this would work with the wheel script? I mean it looks like the wheel script is designed to only handle one hit point. Thanks for any thoughts on this!

Glad you like the project!
Yes that was the idea initially but I went ahead with a single ray so that I can resume the development of the rest of my game without taking too much time on this.
If you have the time and interest to work on this please go ahead!

Hello,
First of all. Thanks @adrenak for sharing the project.
@eblabs I was thinking the same about the wheel collider. Maybe there's no need of more than one ray for all the games but id could be good to add width to the collider. I was thinking that adding the width value and how many rays do you want to test on each wheel could be nice.

A parameter to specify the number of rays along width and radius would be great. Would improve the accuracy significantly when the wheel approaches steps or bumps.
Games that are fine with a single ray can use 1 for both width and radial ray count.

Hi,
Just setup a quick wheelcast script. Ill have to figure out how to combine these hit points into something usable by the wheel script....

This looks great! I think a weighted average of raycast hit points, weighted by (L - D) where L is ray length and D is hit distance could give some good results.
This video here has some insights: https://youtu.be/SKXqWcaoTGE?t=263

Slightly comically broken, haha.
@adrenak, do you have any ideas what I'm doing wrong? Here's my fork:
https://github.com/eblabs/Tork
The one think Im not sure about is how to handle the hit distance. With the one ray solution its always directly in line with the wheel axis. In this situation, with multiple ray casts, the hit point can be off axis. Thanks for any ideas! (I hacked the wheelcast script into your wheel script, its a bit messy, but hopefully it makes sense.)

I've tried to shoe-horn it in, but I think I'll try to strip the whole thing down and build it up piece by piece. It'll be more manageable that way.
By all means, have a look though and let me know if you had any thoughts.
More to come...

Had a bit more success. Basically works, but its really unstable and could probably be simplified.

Had some more success, needed to rethink how the rays provide information about collisions. I didn't realize it at first, but the rays provide more information than just the contact point. They also project the full range of the suspension past the actual wheel radius. So I broke this process into two steps, first get the contact point at the radius, THEN calculate how this relates to the suspension range along the suspension axis. It's working pretty well so far, although I'm noticing a lot of lateral sliding on angled surfaces. This seems to be in the original version as well, Ill make a separate issue about this. I have some cleanup and more testing to do before I make a PR. Thanks!!

Thanks @eblabs , I'm out for a few days but I'll check out your fork once I'm back.

Sounds good @adrenak, I just did a bit of a house cleaning version which you can find here (https://github.com/eblabs/Tork). Im sure the coding style can use some improvements, but give it a try when you get a chance :)

@eblabs this is awesome. I will definitely have a look. Exactly what a couple of people have been asking. Thanks!

This would defently be a big improvement! Any update?

@MCrafterzz , the update is available via the fork, hope that helps! I'm not sure if @adrenak is actively working on this anymore, I haven't been involved since May 2019 either.
https://github.com/eblabs/Tork

@MCrafterzz , the update is available via the fork, hope that helps! I'm not sure if @adrenak is actively working on this anymore, I haven't been involved since May 2019 either. https://github.com/eblabs/Tork

Hi @eblabs  . This is really great job.  I would like to see a car suspension tutorial created by you. Is this possible?

Hey, I'm no longer working on this either. Good luck!


raft: port read index request on quorum check

For issue #960

This PR would wait to port https://github.com/coreos/etcd/pull/6275 when it's merged, since that's the final version for read index feature.

This PR ports https://github.com/coreos/etcd/pull/6275 and https://github.com/coreos/etcd/pull/6401
PTAL @siddontang @BusyJay @ngaut

Any update?
Seem etcd has merged all related PRs.

@siddontang All related PRs are ported in this PR. PTAL.

PTAL @siddontang @BusyJay @ngaut

LGTM

PTAL @BusyJay

LGTM


FocusManager throws AccessViolationException in NavMenuListView

Both FocusManager.TryMoveFocus and the TryMoveFocus workaround in XamlNavigation/cs/Controls/NavMenuListView throw AccessViolationException

Thank you for your feedback on the issue regarding an exception with the FocusManager. In order to investigate this thoroughly, please provide us with some more information. Were you running the sample on a Desktop or Mobile build? Also, what are the specific steps to reproduce the exception you encountered?

Closing due to inactivity, no response from OP.


This page needs to update api calls to Microsoft Graph for restoring extension app

The Microsoft Graph apis for lisitng deleted applications and restoring  are given below
https://docs.microsoft.com/en-us/graph/api/directory-deleteditems-restore?view=graph-rest-1.0&tabs=http
https://docs.microsoft.com/en-us/graph/api/directory-deleteditems-list?view=graph-rest-1.0&tabs=http
We should remove AAD Graph apis and replace with MSGraph
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: de278669-8936-37ff-9a5d-b6a3cf01642e
Version Independent ID: abc215d4-e956-a453-88c0-1f13785b414f
Content: Extensions app in Azure Active Directory B2C
Content Source: articles/active-directory-b2c/extensions-app.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@agrabhi - Thanks for brining this to our attention. We will investigate it further and update you shortly.

@agrabhi - Thanks again for bringing this to our attention. We have updated the Doc and it will be live once its merged.  We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


[Enhancement/功能请求]  More in depth crafttweaker examples

Checks/检查

[X] I confirm that I have searched for existing issues / pull requests before reporting to avoid duplicate reporting./我确认在报告之前我已经搜索了现有的问题或者拉取请求，以避免重复报告。
[X] I confirm that I noted that if I don't follow the instructions, the issue may be closed directly./我确认我已经检查，如果我不按照说明进行操作，该问题可能会被直接关闭。

Description/描述
craftweaker is the go to for new pack makers and since this mods names "Avaritia" is well known, meaning both new and old pack creators a like will be going to it for the custom recipes alone
the problem is that the craftweaker code example is very lacking compared to most other craftweaker examples I've seen
best example of this is
mods.avaritia.ExtremeTableCrafting.addShaped("name",output, ingredients);
mods.avaritia.ExtremeTableCrafting.addShapeless("name",output, ingredients);

both look like shapeless recipes yet one is clearly not, and a new pack dev will look at these not see the diffrence, get error after error, pushing them on to you unless they see the Kubejs side that is in depth and are using kubejs
Most will not see the Kubejs side or not use it do to only be using craftweaker
Again this just a request to make the craftweaker examples more in depth to help new devs (and some older ones)

added


Application views do not refresh when the cursor is moved.

Describe the bug
Application views do not refresh when the cursor is moved. Affected versions are all above 1.9.0
Screenshots

To Reproduce
using Terminal.Gui;

namespace Test
{
    public class Program
    {
        static readonly List<string> GlobalList = new() { "1" };
        static readonly ListView GlobalListView = new() { Width = Dim.Fill(), Height = Dim.Fill() };
        static object? _token = null;

        static void Main()
        {

            Application.Init();

            var startButton = new Button("Start");
            var stopButton = new Button("Stop") { Y = 1 };
            var container = new View() { X = Pos.Center(), Y = Pos.Center(), Width = 8, Height = 8, ColorScheme = Colors.Error };

            startButton.Clicked += Start;
            stopButton.Clicked += Stop;

            GlobalListView.SetSource(GlobalList);
            container.Add(GlobalListView);

            Application.Top.Add(container);
            Application.Top.Add(startButton, stopButton);
            Application.Run();

            return;
        }

        private static void Start()
        {
            _token = Application.MainLoop.AddTimeout(TimeSpan.FromMilliseconds(100), Add);
        }

        private static void Stop()
        {
            Application.MainLoop.RemoveTimeout(_token);
        }

        private static bool Add(MainLoop mainLoop)
        {
            GlobalList.Add(new Random().Next(100).ToString());
            GlobalListView.MoveDown();

            return true;
        }
    }
}

Expected behavior
Application views should refresh
Desktop
MacOS Ventura

I tested it on macOS Big Sur hosted on Windows 11 with VirtualBox and it's working well. Unfortunately it isn't possible install macOS Ventura on a Windows 11 with VirtualBox and so I can't test it.

Anyone else with Mac?

@kacperpikacz can you run your code with the PR #2848, please. I think it is unrelated because is an issue that affect the SynchronizationContext but worth to try.

@BDisp nothing changed after running code with #2848

I already suspect that. The fix was for threading issue. I hope someone else with macOS Ventura can confirm that, because with Big Sur the timer is always refreshing the screen.

@BDisp I am on Ventura, and after applying your changes the UICatalog threading example works now. Before I had to move my mouse or do other inputs in order to get the async tasks to start, but now it works as expected.

@BDisp I am on Ventura, and after applying your changes the UICatalog threading example works now. Before I had to move my mouse or do other inputs in order to get the async tasks to start, but now it works as expected.

Thanks for your answer, although this should be witted on the #306.
In this issue I ask, as you are on Ventura, if you can run the example code above and confirm if you have the same behavior as @kacperpikacz meant on this issue, please.

@BDisp Ah, I misunderstood. Your change did not fix this issue:
https://github.com/gui-cs/Terminal.Gui/assets/2939992/dbd3bfd1-9227-4bbc-9e88-6145b0fcaa6a

@TylerReid thanks very much. My fix was only for the threading issue and this one is different. It doesn't use no thread at all and if we continuously move the mouse, the console isn't refreshed. I don't have a mac, but only Big Sur installed on Oracle VM VirtualBox and this behavior doesn't happens. Due this limitation I can't find what is causing this behavior on Ventura. I already tried to install it on VirtualBox without success. It seems that now isn't possible to install it on a non-mac machine.

@kacperpikacz and @TylerReid please run the Mouse scenario of the UICatalog and see the output for the mouse move event. Perhaps it's returning some other event. Thanks.

@BDisp I see a steady stream of ReportMousePosition events getting reported when I move in the same way.

@BDisp I see a steady stream of ReportMousePosition events getting reported when I move in the same way.

And when the mouse is continuously moved do the report still refreshing or not?

Yes, the report list refreshes with no pauses

The problem is laying somewhere inside ProcessInput method from CursesDriver. In 1.9 there was no GetEscSeq method.
Commenting Curses.timeout (10) in ProcessInput will help but will not solve the problem completely.
Maybe #2375
v1.14
https://github.com/gui-cs/Terminal.Gui/assets/76921244/00ab7633-466e-403e-be64-2455631b28c6
v1.9
https://github.com/gui-cs/Terminal.Gui/assets/76921244/1d73ff4d-13c9-4677-98ea-daaf3203792f
using Terminal.Gui;

namespace Test
{
    public class Program
    {
        static readonly List<string> GlobalList = new() { "1" };
        static readonly ListView GlobalListView = new() { Width = Dim.Fill(), Height = Dim.Fill() };

        static Label CounterLabel = new();
        static Label BlinkingLabel = new();

        static int Counter = 0;

        static object? _listToken = null;
        static object? _blinkToken = null;
        static object? _countToken = null;

        static void Main()
        {
            Application.Init();

            var startButton = new Button("Start");
            var stopButton = new Button("Stop") { Y = 1 };
            var container = new View() { X = Pos.Center(), Y = Pos.Center(), Width = 8, Height = 8, ColorScheme = Colors.Error };

            CounterLabel = new Label("0") { X = container.X - 4, Y = container.Y - 6};
            BlinkingLabel = new Label("Blink") { X = CounterLabel.X, Y = CounterLabel.Y + 11 };

            startButton.Clicked += Start;
            stopButton.Clicked += Stop;

            GlobalListView.SetSource(GlobalList);
            container.Add(GlobalListView);

            Application.Top.Add(container, CounterLabel, BlinkingLabel);
            Application.Top.Add(startButton, stopButton);
            Application.Run();

            return;
        }

        private static void Start()
        {
            _listToken = Application.MainLoop.AddTimeout(TimeSpan.FromMilliseconds(100), Add);
            _blinkToken = Application.MainLoop.AddTimeout(TimeSpan.FromMilliseconds(1000), Blink);
            _countToken = Application.MainLoop.AddTimeout(TimeSpan.FromMilliseconds(1000), Count);
        }

        private static void Stop()
        {
            Application.MainLoop.RemoveTimeout(_listToken);
            Application.MainLoop.RemoveTimeout(_blinkToken);
            Application.MainLoop.RemoveTimeout(_countToken);
        }

        private static bool Add(MainLoop mainLoop)
        {
            GlobalList.Add(new Random().Next(100).ToString());
            GlobalListView.MoveDown();

            return true;
        }

        private static bool Blink(MainLoop mainLoop)
        {
            Application.MainLoop.Invoke(() =>
            {
                if (BlinkingLabel.Visible)
                {
                    BlinkingLabel.Visible = false;
                    System.Diagnostics.Debug.WriteLine(BlinkingLabel.Visible);
                }
                else
                {
                    BlinkingLabel.Visible = true;
                    System.Diagnostics.Debug.WriteLine(BlinkingLabel.Visible);
                }

            });

            return true;
        }

        private static bool Count(MainLoop mainLoop)
        {
            Application.MainLoop.Invoke(() =>
            {
                Counter++;
                CounterLabel.Text = Counter.ToString();
            });

            return true;
        }
    }
}

Commenting Curses.timeout (10) in ProcessInput will help but will not solve the problem completely.

This is necessary for waiting a while after a Esc key is detected to check if it was pressed alone or if it's part of a escape sequence, like Key.Home or mouse event, etc.
Well, I think the culprit is the poll method waiting infinitely if pollTimeout=-1 until some action is detected. I did the fix in the #2848.
I also did some change to your code:
Avoid initialize a view twice because if you use Debug.Assert with Responder.Instances to validate all instances it will fail. So, only declare the fields or initialize with all properties or initialize only with new(); and setting the properties in the Main().
        static Label CounterLabel;
        static Label BlinkingLabel;

You don't need to use the return; in a void Main. Instead replace it with Application.Shutdown();
Also for accurating that the timeout action is running on the UI thread, change the Add method to call the Application.MainLoop.Invoke:
	private static bool Add(MainLoop mainLoop)
	{
		Application.MainLoop.Invoke(() => {
			GlobalList.Add(new Random().Next(100).ToString());
			GlobalListView.MoveDown();
		});

		return true;
	}

I appreciate you can run to check if the issue still persist or not. If it's fix I'll also do a commit to the v2 as well. Thanks.

You also should avoid setting the view position by using the view.X or view.Y because they will only have the correct value after running and you are only playing with fixed values until achieve the correct values. The correct way to position them is using the Pos.X(View) and Pos.Y(View) which the are dynamically calculate on the LayoutViews:
CounterLabel = new Label ("0") { X = Pos.X (container), Y = Pos.Y (container) - 2 };
BlinkingLabel = new Label ("Blink") { X = Pos.X (container), Y = Pos.Bottom (container) + 1 };

After running with #2848, I see no more problem present. Good job @BDisp

Sorry, I've used wrong source. The problem is still present.

But are you sure you are running with the #2848? You'll have to debug that and try to find the cause because I can't. Loo at the IMainLoopDriver.EventsPending of the UnixMainLoop.cs. The fixes I did was for CursesDriver which freeze on the var n = poll (pollmap, (uint)pollmap.Length, pollTimeout);.

Yes, i can confirm that after running on #2848 the problem is still present + resizing terminal will cause complete freeze of the app.

Yes it's reproducing in macOS Monterey. The resizing terminal issue didn't happens before I had commit the latest changes?

No issue with resizing before.

Thanks, can you test the threading scenario, please?

On resizing in the CursesDriver.cs on the ProcessInput method this var code = Curses.get_wch (out wch); is returning code = -1 which is equal to Curses.ERR and wch = 0. That why the ProcessWinChange method doesn't run. On Linux this doesn't happens at all. I have to do some workaround on this.

Threading scenario, when I don't move cursor the return will never happen. Tested on develop and #2848.
https://github.com/gui-cs/Terminal.Gui/assets/76921244/f260058e-bd4c-4e39-9a73-62916ea761c1

Latest commit, fixes issue with resizing. But still the views will not refresh when moving cursor fast.
public override void Refresh ()
{
	Curses.raw ();
	Curses.noecho ();
	Curses.refresh ();
+	ProcessWinChange ();
}

Running on #2848. Inside GetEscSeq()method there is code = Curses.get_wch(out wch2) which returns -1.
https://github.com/gui-cs/Terminal.Gui/assets/76921244/79119194-b019-4403-99e7-50c7644c6581

Under SSH, the terminal mouse drop into the "SELECT " state and mouse click don't working. When install 1.9.0 all works ok.

The bug is still not fixed completly.

The bug is still not fixed completly.

@kacperpikacz you are right. There still some more issue. But the related with this issue is already fix. Instead of reopening this I'll use the #2865, which is more related with the resize issue. Thanks.

Can someone take a look at this please?


node: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by node)

Before opening, please confirm:

[X] I have checked the custom domains troubleshooting guide.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
d1c6hzkoiamnhy
Region
us-east-1
Step
Build fail
Status
Failed
Issue or question
update Astro which require node js version <IP_ADDRESS> and I have updated the node js version by changing build setting but build not getting completed as it gives error
Amazon  AWS amplify use build image Amazon Linux 2
build log: https://us-east-1.console.aws.amazon.com/amplify/home?region=us-east-1#/d1c6hzkoiamnhy/update/4?step=BUILD
Error message
Starting phase: preBuild
2023-10-07T18:15:08.707Z [INFO]: # Executing command: npm ci
2023-10-07T18:15:08.708Z [WARNING]: node: /lib64/libm.so.6: version GLIBC_2.27' not found (required by node)                                     node: /lib64/libc.so.6: version GLIBC_2.28' not found (required by node)
2023-10-07T18:15:08.709Z [ERROR]: !!! Build failed
2023-10-07T18:15:08.709Z [ERROR]: !!! Non-Zero Exit Code detected
2023-10-07T18:15:08.709Z [INFO]: # Starting environment caching...
2023-10-07T18:15:08.709Z [INFO]: # Environment caching completed
Terminating logging.
Additional information
Using Astro v3 for build and this is working fine till previous version of astro.. here is my package.json
{
  "name": "grateful-galaxy",
  "type": "module",
  "version": "0.0.1",
  "scripts": {
    "dev": "astro dev",
    "start": "astro dev",
    "build": "astro build",
    "preview": "astro preview",
    "astro": "astro"
  },
  "dependencies": {
    "@astrojs/mdx": "^0.17.2",
    "@astrojs/rss": "^2.1.1",
    "@astrojs/sitemap": "^1.1.0",
    "astro": "^3.2.0"
  },
  "devDependencies": {
    "typescript": "^5.2.2"
  }
}

Closing as it's a duplicate of https://github.com/aws-amplify/amplify-hosting/issues/3754.


Use translation placeholders for plate numbers

Removes the need for separate localized strings:

[ ] real world test

I have no hob to verify this. Also I'm not sure if I should remove the plate_0, etc. somewhere.


ISPN-8003 ProtobufMetadataManagerInterceptor fails the InterceptorDefinesAllReadWritesCheck

https://issues.jboss.org/browse/ISPN-8003

Rebased.

Integrated, thanks Adrian!
Please have a chat with @pruivo about the overlapping log id ranges :)


Parent element has position absolute (left: -20%) and is rotate to 30 degree

It's start with half of second slide if carousel's parent element has position absolute (left: -20%) and is rotate to 30 degree.

If I call restartCarousel() the slider looks well


feat(Workflows): Added new notification channel type called servicenow_app

The purpose of this update was to add the new channel type "SERVICE_NOW_APP", but there were a few other changes that we hadn't updated which I added as well.

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

Project coverage is 38.40%. Comparing base (3ff4ee2) to head (8d351dd).
Report is 77 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1200      +/-   ##
==========================================
- Coverage   38.84%   38.40%   -0.44%
==========================================
  Files          86       96      +10
  Lines        5612     4822     -790
==========================================
- Hits         2180     1852     -328
+ Misses       3266     2795     -471
- Partials      166      175       +9

Flag
Coverage Δ

unit
38.40% <ø> (-0.44%)
:arrow_down:

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.


Release v2.2.6+ not compatible with Home Assistant core modbus integration

After Upgrading to v 2.2.6 with the new pymodbus version my HA internal Modbus integration is broken. Checking config says: 'Component error: modbus - No module named 'pymodbus.client.sync' and won't let me reboot. Also my manually configured Modbus sensors are unavailable.
I'm on HA 2022.11.1. Rolling back to 2022.11.0 before the 2.2.6 upgrade didn't help.

After removing SolarEdge Modbus Multi Device and reinstalling v2.2.5 internal Modbus integration is working!

I had the same issue and rolled back. I also have the older single inverter integration installed and in use, so am wondering if they’re clashing?On 4 Nov 2022, at 12:20, Simon Dolenec @.***> wrote:
2.2.6 also not working for me..
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

We are using pymodbus 3.0.0 as of release 2.2.6 which is probably not compatible with other things that depend on old versions of pymodbus.

I will try testing on my dev system with also setting up the modbus core integration.

I've confirmed I can see the issue when using the core modbus integration together.
All versions of Home Assistant still use a version of pymodbus older than 3.0.0 so changing any HA version won't help.
pymodbus 3.0.0 contains changes that are not backwards compatible with code that relies on old versions.
If you are using the core modbus integration I expect that Home Assistant will eventually update to a current release version of pymodbus, but they have not done so yet. Unfortunately this means you can't use any version of solaredge-modbus-multi newer than v2.2.5 together with the core modbus integration until Home Assistant gets updated.
If you are NOT using the modbus core integration, I recommend completely removing all other custom integrations that rely on older versions of pymodbus to use solaredge-modbus-multi v2.2.6 and newer. We updated to use pymodbus 3.0.0 quickly because it resolved issues several users were having, so we can't downgrade since it would break issues that were closed as fixed.
As far as me fixing it: I'm not going to open a PR with Home Assistant core to fix this because I tried making some simple contributions in the past (start small and work up to bigger things) but they were rejected as unwanted. Shortly after that though someone else submitted a PR for the exact same thing I did which was accepted without question, so what I took away from that experience was that I'm not welcome there.

So this mean that we must wait until HA is updated to pymodbus 3.0.0?

I've confirmed I can see the issue when using the core modbus integration together.
All versions of Home Assistant still use a version of pymodbus older than 3.0.0 so changing any HA version won't help.
pymodbus 3.0.0 contains changes that are not backwards compatible with code that relies on old versions.
If you are using the core modbus integration I expect that Home Assistant will eventually update to a current release version of pymodbus, but they have not done so yet. Unfortunately this means you can't use any version of solaredge-modbus-multi newer than v2.2.5 together with the core modbus integration until Home Assistant gets updated.
If you are NOT using the modbus core integration, I recommend completely removing all other custom integrations that rely on older versions of pymodbus to use solaredge-modbus-multi v2.2.6 and newer. We updated to use pymodbus 3.0.0 quickly because it resolved issues several users were having, so we can't downgrade since it would break issues that were closed as fixed.
As far as me fixing it: I'm not going to open a PR with Home Assistant core to fix this because I tried making some simple contributions in the past (start small and work up to bigger things) but they were rejected as unwanted. Shortly after that though someone else submitted a PR for the exact same thing I did which was accepted without question, so what I took away from that experience was that I'm not welcome there.

Sorry to hear such @WillCodeForCats as I think this is the best SE integration available and you did a great job with it. As per the issue I will keep 2.2.5 until a new solution is found

ok so rolling back will not work for me it seems - this happen while trying to setup 2.2.5 and also tried with 2.2.4

2022-11-04 18:26:06.493 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading configuration flow for integration solaredge_modbus_multi: cannot import name 'ModbusTcpClient' from 'pymodbus.client' (/usr/local/lib/python3.10/site-packages/pymodbus/client/__init__.py)

So this mean that we must wait until HA is updated to pymodbus 3.0.0?

Yes, you'll have to wait for Home Assistant to catch up if you want to use the core modbus integration as released together with solaredge-modbus-multi v2.2.6+.
Or if you feel like trying an override to the core modbus integration with a custom one, I went through the core integration and changed a few things to get it to load. I haven't tested it beyond reading a couple registers from a modbus power meter I have.
Download this file: modbus.zip
Unzip the folder and copy it into your config/custom_components folder and restart Home Assistant. You may have to comment out any modbus sections in configuration.yaml to get it to pass the config reboot test.
Source code: https://github.com/WillCodeForCats/home-assistant-core/tree/pymodbus-3-0-0
Changes: https://github.com/home-assistant/core/compare/dev...WillCodeForCats:home-assistant-core:pymodbus-3-0-0

I removed first 2.2.6 and my modbus config started back working - do you mean comment out just for the time of the setup of 2.2.5? because I have other stuff integrated via modbus that need to keep

I would just try commenting it out for the purposes of getting it to forget that it had pymodbus 3.0.0 loaded, I didn't mean permanently.

The maintainer for the modbus integration in Home Assistant said it isn't getting an update anytime soon, they are waiting for a 3.0.1 release and they are going to rewrite some code first. No idea how long that will be.
So unfortunately the bottom line for anyone using Home Assistant modbus core along with solaredge-modbus-multi, you are stuck at release v2.2.5 until Home Assistant gets updated.
Ref: https://github.com/riptideio/pymodbus/issues/873#issuecomment-1303943371

I removed first 2.2.6 and my modbus config started back working - do you mean comment out just for the time of the setup of 2.2.5? because I have other stuff integrated via modbus that need to keep

I removed the integration first, then deleted the HACS component. After reboot enabled Modbus again and as it was working I reinstalled the HACS component 2.2.5 and set up the integration.

same steps followed but get the invalid handler error

Added a compatibility warning to the 2.2.6 release about other modbus integrations.
New pymodbus 3.0.1 was just released so maybe it won't be too long before Home Assistant catches up.

Added a compatibility warning to the 2.2.6 release about other modbus integrations.
New pymodbus 3.0.1 was just released so maybe it won't be too long before Home Assistant catches up.

After some reading and searching for a solution I came across a new release: pymodbus 3.0.2
pymodbus 3.0.1 and pymodbus 3.0.2 were released shortly after each other.

We're already using it.

Faster than light, how wonderful! Keep up the good work! From my side, thank you very much for the effort!

Upgrading the HA modbus integration is a bit more complicated than anticipated but it is on my short list.
@WillCodeForCats I am sorry to hear about your experience with HA, some of the reviewers can be quite “tough” but I do not remember I have seen anything from you for the modbus integration, I normally react very fast to PR for that integration with a positive result.

I'm having this issue...the only modes item i have is my SolarEdge inverter.
I've been using the other Solaredge plugin today....
what do I need to do? delete the other plugin? how do I get rid of the HA Modbus core integration? I don't believe this is something I've installed or can see

You have configured modbus in the ha configuration file.

Checked my config file. No mention of modbus. Sent from my iPhoneOn 15 Nov 2022, at 5:20 pm, jan iversen @.***> wrote:
You have configured modbus in the ha configuration file.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

As you might have noted my response was deleted, because you need to do a number of things. The real problem is that this integration uses a tight coupling to HA and not a loose coupling (separate process) that would allow the use of different versions of third party libraries,

Sorry didn’t notice till now…just replied to the email.
Guess I just have to wait till HA updates the library

It is not as simple as just to update the Library. I am the current maintainer of both the modbus integration and pymodbus and I have a number of issues (mainly long term stability and error recovery) that needs solving before I add it to HA.

Developing for HA is still somewhat new for me so I'm not aware if there is a different method of loading the integration that would let it run with a newer version of pymodbus than HA core uses without breaking the modbus integration in core.

I would very much like use this plugin. Can anyone detail what I need to do to get it to work?

I would very much like use this plugin. Can anyone detail what I need to do to get it to work?

In your logs the conflicting components should log "Unable to import component: No module named 'pymodbus.client.sync'".
If you are using any of the other solaredge modbus custom integrations, you need to delete them (clear from your custom_components folder ore delete in HACS) and reboot before you install v2.2.6 of solaredge-modbus-multi.

Thanks!

Home Assistant core has merged pull requests to update pymodbus to v3.1.1 so this issue should be resolved shortly. Once there's a HA release with a current version of pymodbus, I will update the minimum required HA version to match.

https://github.com/home-assistant/core/pull/85961
https://github.com/home-assistant/core/pull/86513

Looks like it will be the 2023.2 HA release.

Yes, but be aware that pymodbus 3.1.2 is already released and pymodbus 3.1.3 will be released within a week, it solves a requirement problem. The modbus integration will be bumped again in February to 3.1.3

In Release v2.2.10-pre.1 I've changed requirements to =>3.0.2 so any newer version should be fine, but I'll update the minimum to be at whatever version HA 2023.2.0 releases with.
Anyone who wants to try the 2023.2 beta channel with any of the v2.2.10 pre-releases it should work when loading mobus built-in integration along with solaredge-modbus-multi. I've tried it on my dev system with 2023.2.0b8 and it works without conflicts.


want equivalent to curl's "--connect-timeout " option

I'm using the restify client to talk to CAPI. Say CAPI is down (nothing listening on that port)... currently with retries and no timeout that means that with the current (apparently) 75 second timeout on hitting ... it ends up being 5 minutes before my request attempt comes back with RestCodes.RetriesExceeded.
Is there something like this in restify?
Aside: I see there is one reference to "minTimeout" on "retryOptions" in client.js... not used?

Oh yeah, this was shipped in 1.0.0

"connectTimeout" option to "createJsonClient". Thanks!
Docs say:
	Number	Amount of time to wait for a socket

That's in milliseconds I presume, right?

Yep - it's just passed to a setTimeout


Add FPS counter

A small FPS counter that displays average/min/max FPS, based on the clock.py code.

Excellent, very useful


Add initial repo definitions for new prometheus exporters & team for them

Repos for some of our infra monitoring prometheus exporters.
Questions:

Should pushbot be on these at all if we're going to use Quay's built-in image builder?
Should the team name be prometheusexporters or something like prometheusexportermaintainers? Seemed to be getting a bit long...

cc: @oybed

And I suppose a third question: Should anyone else be on the prometheus exporter maintainer team?

/assign @pabrahamsson

@jacobsee A couple of suggestions:

pushbot - no, not needed and should be fine without, but also doesn't hurt having one set up for future use. I'll leave it up to you.
team name - I'd probably just recommend that we name it the same as the repo - i.e: monitoring
With the lack of grouping in quay.io, how about naming the images with a prefix that make them easier to identify - perhaps something like monitoring- or prometheus- ... it will make for a somewhat long name, but IMHO that's ok.
team members - please add myself for now and we can always update later as more people get involved

@oybed Sounds good on all counts 👍


nvs: Fix deletion of the last entry added

Make sure that the last entry added is deleted correctly by storing the
fact that one was found in a local variable.
Fix by Laczen JMS<EMAIL_ADDRESS>Fixes #18813.
Signed-off-by: Carles Cufi<EMAIL_ADDRESS>

@nvlsianpu @Laczen the test suite run failed, could you take a look and see if you can share what the issue is?

@carlescufi, @nvlsianpu, this was something nasty to find. The fix should be ok, but it brought up an error in the test: The test should fail at the specified location because it is trying to rewrite the same data. The fix for the test is simple: remove line 506 (filling_id--) in test main.c

@carlescufi, @nvlsianpu, this was something nasty to find. The fix should be ok, but it brought up an error in the test: The test should fail at the specified location because it is trying to rewrite the same data. The fix for the test is simple: remove line 506 (filling_id--) in test main.c

Thank you @Laczen. I have now updated the test.

@carlescufi, @nvlsianpu, this was something nasty to find. The fix should be ok, but it brought up an error in the test: The test should fail at the specified location because it is trying to rewrite the same data. The fix for the test is simple: remove line 506 (filling_id--) in test main.c

@Laczen good catch - I missed this, test was passing among other things, because this bug was present.

I will back-port this manually once merged. (I expect automatic back-port failure)


[Noetic] Global python in develspace

Fixes ros/ros_comm#1830
This provides python in $PATH when the devel space is sourced by creating a symlink to python in CATKIN_DEVEL_PREFIX/CATKIN_GLOBAL_BIN_DESTINATION. I haven't seen unit tests run using python 2 with this fix.
Using catkin_make this creates a single symlink <your-ws>/devel/bin/python. With catkin_make_isolated this creates a symlink in <your-ws>/devel_isolated/<package>/bin/python, which I think means $PATH has more entries because every package now has a global bin destination. I have not yet tested with catkin-tools.
I've tested using catkin_make_isolated to build a Noetic workspace and run tests. I've also sourced that devel_isolated workspace and built an overlay using catkin_make. I have not yet tested with an overlay of an install space.
I moved some symlink creation code into a new function _catkin_create_symlink so it could be reused. The only change to it is @CMAKE_COMMAND@ became ${CMAKE_COMMAND} to avoid a CMP0053 warning.

See https://github.com/ros/ros_comm/issues/1830#issuecomment-583167335

Closing in favor of https://github.com/ros/ros_comm/pull/1879


Data Curation Failure in NVIDIA NeMo Docker Container (nvcr.io/nvidia/nemo:24.07) Using DataCurator with JSONL Files

**Bug Description
The NeMo Curator DataCurator class does not seem to work as expected when running a data curation script in the NVIDIA NeMo Docker container (nvcr.io/nvidia/nemo:24.07). The script loads a JSONL file, applies filters, and writes curated results to a new JSONL file, but fails during the curation process.
Steps to Reproduce the Bug
Pull the NVIDIA NeMo container:
bash
Copier le code
sudo docker pull nvcr.io/nvidia/nemo:24.07
Run the container with volume mounts:
bash
Copier le code
sudo docker run -it --rm
-v /home/aghadghadi/script:/workspace
-v /home/aghadghadi/test:/workspace/data
nvcr.io/nvidia/nemo:24.07
Inside the container, execute the Python script using the following code:
python
Copier le code
from nemo.collections.nlp.data.data_curator import DataCurator
from nemo.collections.nlp.data.data_curator.filters import (
DeduplicationFilter,
QualityFilter,
ContentFilter,
ToxicityFilter,
)
from nemo.collections.nlp.data.data_curator.processors import TextNormalizationProcessor
curator = DataCurator()
deduplication_filter = DeduplicationFilter()
quality_filter = QualityFilter(min_quality_score=0.8)
content_filter = ContentFilter(keywords=["relevant_topic"], exclude_keywords=["unwanted_topic"])
toxicity_filter = ToxicityFilter(max_toxicity_score=0.2)
curator.add_filter(deduplication_filter)
curator.add_filter(quality_filter)
curator.add_filter(content_filter)
curator.add_filter(toxicity_filter)
normalization_processor = TextNormalizationProcessor(lowercase=True, remove_punctuation=True)
curator.add_processor(normalization_processor)
input_path = '/workspace/data/falcon.jsonl'
output_path = '/workspace/data/falcon_sampled.jsonl'
curated_data = []
with open(input_path, 'r', encoding='utf-8') as f:
for line in f:
data_entry = json.loads(line)  # Parse each line as JSON
data = curator.curate_data(data_entry)
if data is not None:
curated_data.append(json.dumps(data))
with open(output_path, 'w', encoding='utf-8') as f:
for entry in curated_data:
f.write(entry + "\n")
print("Data curation complete. Curated data saved to", output_path)
Expected Behavior
The script should:
Load each line of the JSONL file, apply defined filters, and normalize text.
Write the curated data back to a new JSONL file (falcon_sampled.jsonl) without issues.
Actual Behavior
The script fails during the curation process, with errors related to loading or filtering the JSON data lines.
Environment Overview
Environment location: Docker
Docker run command:
bash
Copier le code
sudo docker run -it --rm
-v /home/aghadghadi/script:/workspace
-v /home/aghadghadi/test:/workspace/data
nvcr.io/nvidia/nemo:24.07
NeMo Curator Installation: Pre-installed in Docker image nvcr.io/nvidia/nemo:24.07
Environment Details
Since the NVIDIA Docker image is used, the base OS version, Dask, and Python versions are not modified from the container.
Additional Context
The JSONL file is large and contains structured JSON lines.
Mounted volumes are set correctly, and file paths are accessible within the container.
Questions or Suggestions:
Please confirm compatibility with the DataCurator API in this container image.
Could there be an issue with JSON parsing or filter application within curate_data?

Thanks for opening the issue! Quick question though, I'm looking at your code and I see these import statements:
from nemo.collections.nlp.data.data_curator import DataCurator
from nemo.collections.nlp.data.data_curator.filters import (
DeduplicationFilter,
QualityFilter,
ContentFilter,
ToxicityFilter,
)
from nemo.collections.nlp.data.data_curator.processors import TextNormalizationProcessor

Why are you doing these import statements?nemo.collections.nlp.data.data_curator is not a module. That points to NeMo, but all of the data curation pieces in the container are in the nemo_curator package. Are you following a tutorial somewhere? I'm wondering if there is some out of date documentation. The user guide should show how to properly run NeMo Curator, and you can check out the tutorials for some examples.

Hello Ryan,
I have a JSONL file with the following structure:
json
{
"id": "48e29ec3-570b-4349-bbb9-5f83e35dfac1",
"text": "In today’s ever-shrinking world, how do you create the culture of your family? As the Jewish High Holidays are being celebrated, I think about the traditions created and cherished during this time. Although I couldn’t participate this year, I enjoy joining local temples that welcome visitors. It's incredible to witness history being honored and children being loved and celebrated through these traditions. Even if they don’t fully understand the meanings, they appreciate how special these moments are. Celebrating year after year, children come to value these traditions deeply.\n\nI want that for my children, maybe not Yom Kippur specifically, though I will celebrate it with them when possible, but traditions and celebrations that they can look forward to. No matter what happens, these traditions stand the test of time. Through loss, change, and challenges, these constants can provide reassurance and strength for children.\n\nI’m curious to hear from others who are blending and creating their own family cultures. What traditions do you uphold? How are you creating your culture? Reflect on these questions to understand how you may already be creating a culture of purpose and love:\n\n1) What traditions from your parents do you continue with your family? For example, do you open presents on Christmas Eve with friends and family or have Saturday morning cleaning rituals?\n\n2) Are there spiritual or cultural holidays you celebrate? How do you celebrate them? For example, Christmas, Yom Kippur, Kwanzaa, or Three Kings Day—do you follow traditional customs, or have you created your own blend of celebrations?\n\n3) Does your family include individuals from different cultural, religious, ethnic, or racial backgrounds? How do you blend the various traditions and celebrations? For example, do you have a Christmas tree next to a Hanukkah bush or celebrate both Christmas and Kwanzaa followed by Three Kings Day?\n\nI look forward to hearing your insights. Thanks in advance.\n\nPosted on Monday, September 28, 2009",
"src": "http://createyourculture.blogspot.com/2009/09/how-do-you-create-your-culture.html",
"type": "Eng",
"title": "How Do You Create Your Culture"
}
I’d like to integrate NVIDIA NeMo into my code to improve data quality. Could you provide guidance on the best way to accomplish this?

I can also recommend some tutorials that show how to use features of NeMo Curator. The tutorials folder has them all, but here are a few highlights that are focused around pre-trainining.

pretraining-data-curation focuses on filtering the raw common crawl snapshots used to create the Red Pajama V2 Dataset.
zyda2-tutorial allows you to directly reproduce the Zyda 2 dataset for LLM pretraining from Zyphra.
single_node_tutorial gives a general overview of a lot of the features in NeMo Curator by curating Thai Wikipedia.


Fix #22

Add parameter javawrapperversion to allow customers to pin to a particular version of the wrapper. Parameter is optional; pulls latest when no value is specified.

Need to fix pipeline, but that was broken before this commit ....


Composed schemas are not getting flattened by the parser for the OpenAPI definitions written in v3.1.0

Description:
While trying out the below code pieces with openAPI version 3.1.0 and 3.0.1 it behaves in two different ways. \
With OpenAPI version 3.0.1 : path parameter has inline anyOf
openapi: 3.0.1
info:
  title: V4
  version: 0.1.0
servers:
  - url: http://localhost
paths:
  /pet/{id}:
    post:
      operationId: operation_post_/pet
      parameters:
        - name: id
          in: path
          description: Id of the point
          required: true
          schema:
            anyOf:
              - type: integer
              - type: string
      responses:
        "202":
          description: Accepted

execute commands : bal openapi -i <yaml> , bal openapi -i <yaml> --mode client
output: generated ballerina codes as expected
With OpenAPI version 3.1.0 : path parameter has inline anyOf
openapi: 3.1.0
info:
  title: V4
  version: 0.1.0
servers:
  - url: http://localhost
paths:
  /pet/{id}:
    post:
      operationId: operation_post_/pet
      parameters:
        - name: id
          in: path
          description: Id of the point
          required: true
          schema:
            anyOf:
              - type: integer
              - type: string
      responses:
        "202":
          description: Accepted

execute commands : bal openapi -i <yaml> , bal openapi -i <yaml> --mode client
output: command execution failed with stack traces
ballerina: Oh no, something really went wrong. Bad. Sad.

We appreciate it if you can report the code that broke Ballerina in
https://github.com/ballerina-platform/ballerina-lang/issues with the
log you get below and your sample code.

We thank you for helping make us better.

[2023-04-25 10:15:08,232] SEVERE {b7a.log.crash} - null
java.lang.NullPointerException
        at io.ballerina.openapi.core.generators.client.FunctionSignatureGenerator.getPathParameters(FunctionSignatureGenerator.java:375)
        at io.ballerina.openapi.core.generators.client.FunctionSignatureGenerator.setFunctionParameters(FunctionSignatureGenerator.java:205)
        at io.ballerina.openapi.core.generators.client.FunctionSignatureGenerator.getFunctionSignatureNode(FunctionSignatureGenerator.java:152)
        at io.ballerina.openapi.core.generators.client.BallerinaClientGenerator.getClientMethodFunctionDefinitionNode(BallerinaClientGenerator.java:563)
        at io.ballerina.openapi.core.generators.client.BallerinaClientGenerator.createRemoteFunctions(BallerinaClientGenerator.java:501)
        at io.ballerina.openapi.core.generators.client.BallerinaClientGenerator.getClassDefinitionNode(BallerinaClientGenerator.java:256)
        at io.ballerina.openapi.core.generators.client.BallerinaClientGenerator.generateSyntaxTree(BallerinaClientGenerator.java:214)
        at io.ballerina.openapi.cmd.BallerinaCodeGenerator.generateClientFiles(BallerinaCodeGenerator.java:334)
        at io.ballerina.openapi.cmd.BallerinaCodeGenerator.generateClient(BallerinaCodeGenerator.java:205)
        at io.ballerina.openapi.cmd.OpenApiCmd.generatesClientFile(OpenApiCmd.java:352)
        at io.ballerina.openapi.cmd.OpenApiCmd.openApiToBallerina(OpenApiCmd.java:280)
        at io.ballerina.openapi.cmd.OpenApiCmd.execute(OpenApiCmd.java:180)
        at java.base/java.util.Optional.ifPresent(Optional.java:183)
        at io.ballerina.cli.launcher.Main.main(Main.java:51)

This is common for anyOf,oneOf and allOf composed schemas and also we can find this issue in any section where there is a schema; parameter, requestbody, response.
Reason for the error:
OpenAPI version 3.1.0 gives inline anyOf type as a JsonSchema while OpenAPI version 3.0.1 is giving flattened schema references.
These are two behaviour for these two versions although it has the same content.

Closing as the compiler issue is now working with the restructure - https://github.com/ballerina-platform/openapi-tools/pull/1668


High CPU usage

A sidekick program by default (empty app, no heavy rendering or processing) uses approximately 25 - 30% of CPU power on idle (Windows 10).

Issue fixed


Train CIFAR10 models (with e.g. Google Colab)

Definition of Done for our model: one trained model in PyTorch, one in Tensorflow, demonstrate accuracy on test data for the two different classes --> should be a reasonable accuracy (80-90)

model construction for Pytorch is ready
tofo: create model with Tesorflow and add a test for accuracy


bug: Logic.Stop() does not detach and clear state

Logic.Stop() does not Detach from the current state. You need to add Value.Detach() to Stop().
This leads to bugs that are difficult to track down.

Great! It sounds logical and will be convenient to use.
Thank you


Add move/drag shortcuts

Holding down one of these keys
Q W E
A S D
Z X C
while moving the mouse should have the same effect as click+dragging from that edge.
Suggested by @allenywang

Gabe and I were discussing other keys. One thing to note is that D was originally served for deleting a keyframe. Are you guys okay with delete using - (delete goes back a page for most browsers if you were thinking of using that)? Also, I still liked the original key scheme of the arrows moving an object if it's selected and fast forwarding/ rewinding if no object is selected. What do you guys think? Should anything else be included? Because we need to decide on this before we start the tutorial @GabeArr @szhu @antingshen.

I think you should make the tutorial modular and easy to change, since this stuff will change later.
I'm personally in favor of having separate keys for forward/rewind, and having all shortcuts be reachable on the left hand.

I don't like that approach because that would make the keys to modal ie what a key does depends on what state the system is in. Also why would arrow keys movean object instead of resizing it? Do we need similar shortcuts for resizing?


lint: fix 'isort' rules

In commit 6714f1dd564a555acb683545a4a7609bd0603d8b, id3manager.py has been split into multiple source files stored in src/ directory. This broke lint job because isort kept looking for id3manager.py in the repository root.

I don't understand why it did not fail for me locally...

Because isort was looking for id3manager.py in the repo root.


Filegroup reference and partitioning scheme' is not supported when deployed to Azure Web Service

When I deployed the project to Azure and run at first time, even I removed the security check of the database. Below error displayed during the migration of the sample data. I checked the web the script should be modified. Is this the recommended method ?
Felix
http://anandpandey.com/post/2014/03/31/filegroup-reference-and-partitioning-scheme-is-not-supported-in-this-version-of-sql-server
Server Error in '/' Application.
'Filegroup reference and partitioning scheme' is not supported in this version of SQL Server.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: 'Filegroup reference and partitioning scheme' is not supported in this version of SQL Server.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SqlException (0x80131904): 'Filegroup reference and partitioning scheme' is not supported in this version of SQL Server.]

Also TEXTIMAGE_ON [PRIMARY], in short remove anything with [PRIMARY]


Campd Bulk Data Files Prod Issue

It looks like the bulk data files may not be updating in CAMPD. After looking into the issue the following is causing the problem:
The state file below was not regenerated because we do not see the Feb 24 submission record.

Upon further investigation: dm_emission records are not being updated correctly from the informatica process. This is currently being looked into from the informatica side. These dm_emissions records are what drives the file generation.

[ ] Related to ticket 5618

@shahbazkhan1999 if you haven't already, can you reach out to the informatica team to find out what the latest is ahead of our meeting this afternoon? I'd like to see how soon we can resolve this, and make sure the informatica team knows that this is a prod issue so we want to resolve it asap. thx!

Vamshi, Shabaz, and I truncvated the dm_emissions table and reloaded it to sync the data between oracle and coud.gov. The bulk files that needed to be regenerated were completed that night after the nightly runs.


Allow items passed to preCache to be Promises for URLs as well as just URLs

R: @jeffposnick @addyosmani

:+1:


[Enhancement] dcos task ssh

I would like to have a way to ssh into the environment of a certain task rather than just a node itself. For example, to ssh in to the environment of any/every elasticsearch node to install plugins etc.
For docker, this would mean using 'docker exec', but for the mesos isolator, this would just be about dropping you in the right folder.

We discussed this when designing the new CLI commands.  Cody and I were for it, but Thomas thought it didn't make sense because Alice's aren't going to have SSH access.
Take it up with him.

Weird so what about node ssh? Also that doesn't currently work on AWS.

On Aug 5, 2015, at 3:32 PM, mgummelt<EMAIL_ADDRESS>wrote:
We discussed this when designing the new CLI commands. Cody and I were for it, but Thomas thought it didn't make sense because Alice's aren't going to have SSH access.
Take it up with him.
—
Reply to this email directly or view it on GitHub.

Argument was that node ssh is for Dan, who does have access, and Dan doesn't care about tasks

And yea, sucks that it doesn't work on AWS.  It's because the slaves are unroutable from outside the cluster.  We could have added a --bastion= option that would first hop to e.g. the master, but Thomas thought it was just a hack around our lack of a real VPN solution.
You could argue the hack is worth it until we get a VPN solution, but yea, that's how it went.


fix: partial fix of types

I've got it to the point that it's complaining about one call.

Hi. Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We are happy to accept these changes and look forward to future contributions. 📝


Auto resizing keeps getting larger with each click inside Iframe

Hello and thank you for this library. I have been pulling my hair out trying to resize my iframe dynamically.  I have implemented this per the getting started and it does resize the iframe.
The problem is that when the page loads it starts at minimal size and then every click I do inside the iframe makes the size get slightly larger. I can do this indefinitely to fill the iframe to the bottom of the page. I am making a social media website and I have the comments hidden till the post is clicked on. My example post has a few comments below it and when clicked they dont show up till i click repeatedly to make the iframe "grow"
I have checked for CSS styling that might be affecting it size wise but I only have the width set to 100%

The problem is your CSS is setting an element to be more than 100% of the page height and this creates a loop. Your option are:

Fix your CSS
Try différent height calculation methods
Set the tolerance option

Sorry just read your post again, that is more weird, I would still try the different height calculation methods though

Thanks for the reply, I will look over my CSS again and see if something else is affecting it. I'm fairly new to website development and am taking a course thats not responsive so I'm trying to add in features to it as I go.

So I've been playing around with the code and when I try to use the heightcalculationmethod in the function call its returning undefined. I've tried moving the parent script src tag around from the header to the bottom of the index page and a few other places. The comment section is getting called from a php function. Could that be causing the problem?
I have also tried using the jquery call as well from a separate js file linked to the page but get the same result of undefined. I did motice that its jsut the heightcalculationmethod thats returning undefined, the log and I also added in the enablePublicMethods and those dont return an undefined error in the chrome development console

I've no idea, try making a simple test case and asking a question on Stack Overflow


Fix default value for MaxSurge in RollingUpdates for DaemonSets beat feature

The implementation defines the default value for MaxSurge being 0, as to
preserve the current behavior of rolling updates in DaemonSets.
This change is just a copy-paste of the docblock defined in the types.go
file.
See:

https://github.com/kubernetes/kubernetes/blob/10a3cc815bea73f78f7126cab5df95233da96e1b/pkg/apis/apps/types.go
https://github.com/kubernetes/kubernetes/blob/10a3cc815bea73f78f7126cab5df95233da96e1b/pkg/apis/apps/v1/defaults.go#L87-L91

/lgtm

Each PR should be for one localization.
Please update this PR to be for the English [en] site only
Once the PR for the English [en] site is merged, PRs for Korean [ko] and Chinese [zh] localizations can be created
The English [en] site is considered upstream. Changes to localizations follow changes to the English [en] site.
Placing a hold until this PR is updated only for the English [en] site
/hold

Closing due to author not responding to comments or feedback in 2 or more weeks.
Feel free to reopen if you decide to continue working on it
/close

I kinda lost the notification from November last year. Thank you for the feedback. We can reopen this merge request now.
/reopen

I undid the rebase and pushed a new commit removing the changes. Should be able to reopen now.
/reopen

/unhold
/remove-language ko
/remove-language zh

@renan https://github.com/kubernetes/kubernetes/blob/10a3cc815bea73f78f7126cab5df95233da96e1b/pkg/apis/apps/types.go#L423 implies the default for maxSurge is 1. Have I got that right?

/sig apps

Ah, https://github.com/kubernetes/kubernetes/blob/10a3cc815bea73f78f7126cab5df95233da96e1b/pkg/apis/apps/types.go#L567 is the line to look at.


Modified to use BRCM specific code from gerrit and remove local Nexus dir.

 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.


Bug Report - Backup to URL doesn't work with case sensitive collation

While executing backup to URL on an instance with case sensitive collation, I receive the error:
Msg 50000, Level 16, State 1, Procedure DatabaseBackup, Line 1179 [Batch Start Line 0]
The value for the parameter @Credential is not supported.
I checked the parameter check at line 1184, and it fails becuase looks for a credential_identity = 'SHARED ACCESS SIGNATURE', while on my instance the credential is present with identity = 'Shared Access Signature'.
The starting statement is:
EXECUTE dbo.DatabaseBackup
@Databases = 'ALL_DATABASES',
@URL = 'containerUrl',
@BlockSize = 65536,
@MaxTransferSize=4194304,
@BackupType = 'FULL',
@Compress = 'Y',
@Verify = 'Y',
@CleanupTime = NULL,
@CheckSum = 'Y',
@LogToTable = 'Y'
Same statement on a case-insensitive instance is working fine; once credential_identity was corrected on the case-sensitive instance, the statement was executed correctly.
Created PR #182 to address this issue.

I have fixed this issue now. Thank you for reporting it.

Many thanks to you, Ola. Your Maintenance Solution is a must for me :).


Possibility to approve mobile device

Is your feature request related to a problem? Please describe.
Currently it is possible to retrieve mobile device from Device Management (Remove-GSMobileDevice) or retrieve the list of Mobile Devices registered for the user's account (Get-GSMobileDevice)
Describe the solution you'd like
The possibility to approve mobile device (Update-GSMobileDevice)

hey @lucafabbri365 - Checking this out! Thanks, Luca!

Hey @lucafabbri365 - This has been released as Update-GSMobileDevice in v2.20.2! Update when you can, cheers!

Hey @lucafabbri365 - This has been released as Update-GSMobileDevice in v2.20.2! Update when you can, cheers!

Thank you very much @scrthq !! I started using it.
Bye,
Luca

Cheers!


state_class missing for energy sensor

Again thanks for node-red-contrib-ha-mqtt it's a great way to tinker between node-red and homeassistant and enables uses outside of "cloud polling" modules !
I am extracting energy consumption and sending it to homeassistant using your module :

Here is what the settings looks like :

But on the homeassistant side I get the following warning :
Logger: homeassistant.components.energy.sensor
Source: components/energy/sensor.py:262
Integration: Energy (documentation, issues)
First occurred: February 21, 2022, 3:14:34 PM (1 occurrences)
Last logged: February 21, 2022, 3:14:34 PM

Found unexpected state_class None for sensor.electricity_base

Reading https://developers.home-assistant.io/docs/core/entity/sensor/#available-state-classes I get a sense that I should add state_class: total_increasing and have tried a few combinations in  the  配置 (configure) field, but not sure it worked.
Can this be done by matter of configuration or does it need to be changed in the code ?

Thank you for use. You can update to the latest version
The configuration field replaces the default configuration
Please refer to this document
https://www.home-assistant.io/integrations/sensor.mqtt/

Great! Thanks for the documentation / explanation, it seems to be working !