Attribute inference attack that uses membership inference attack

Description
This is a new type of attribute inference attack.
Type of change
Please check all relevant options.

[ ] Improvement (non-breaking)
[ ] Bug fix (non-breaking)
[X ] New feature (non-breaking)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ X] This change requires a documentation update

Testing
Please describe the tests that you ran to verify your changes. Consider listing any relevant details of your test configuration.
Ran new unit tests + existing tests for membership attacks
Test Configuration:

OS: MacOS 10.15.7
Python version: 3.7
ART version or commit number
TensorFlow / Keras / PyTorch / MXNet version

Checklist

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

Codecov Report

Merging #1132 (82fceb8) into dev_1.7.0 (a0beb5f) will decrease coverage by 44.73%.
The diff coverage is 24.48%.

@@              Coverage Diff               @@
##           dev_1.7.0    #1132       +/-   ##
==============================================
- Coverage      65.02%   20.28%   -44.74%
==============================================
  Files            220      225        +5
  Lines          19118    20283     +1165
  Branches        3492     3756      +264
==============================================
- Hits           12432     4115     -8317
- Misses          5291    15932    +10641
+ Partials        1395      236     -1159

Impacted Files
Coverage Δ

.../attacks/inference/attribute_inference/baseline.py
28.07% <ø> (-35.09%)
:arrow_down:

...attacks/inference/attribute_inference/black_box.py
24.63% <ø> (-60.87%)
:arrow_down:

...nce/attribute_inference/white_box_decision_tree.py
23.63% <ø> (-45.46%)
:arrow_down:

...ute_inference/white_box_lifestyle_decision_tree.py
25.45% <ø> (-49.10%)
:arrow_down:

...mbership_inference/label_only_boundary_distance.py
19.27% <17.39%> (-21.90%)
:arrow_down:

...acks/inference/attribute_inference/meminf_based.py
20.25% <20.25%> (ø)

...ttacks/inference/membership_inference/black_box.py
10.98% <22.22%> (-74.65%)
:arrow_down:

...rence/membership_inference/black_box_rule_based.py
40.54% <26.66%> (-27.32%)
:arrow_down:

art/attacks/attack.py
65.92% <63.63%> (-24.08%)
:arrow_down:

.../attacks/inference/attribute_inference/__init__.py
100.00% <100.00%> (ø)

... and 165 more


Too many options in the testing matrix

It might be worth trimming down the tests. Testing against every version of Python and Django feels like overkill.
I think it's fine to:

Test against every supported Django version
Test against every supported Python version

I'm not sure we need or really want to test every Django version against every Python version.

I'm not sure that I like this pattern but it's what I have been mulling over:
@nox.session(python=PY_VERSIONS)
@nox.parametrize("django", DJ_VERSIONS)
def tests(session, django):
    skip = should_skip(session.python, django)
    if skip[0]:
        session.skip(skip[1])

@nox.session(python=["3.8", "3.9", "3.10", "3.11"])
@nox.parametrize("django", ["3.2", "4.2"])
def pytest_django_lts(session, django):
    session.install(f"django=={django}")
    session.run("pytest")

@nox.session(python=["3.10", "3.11"])
def pytest_django_dev(session):
    session.install("https://github.com/django/django/archive/refs/heads/main.zip")
    session.run("pytest")

@nox.session(python=["3.11"])
@nox.parametrize("django", ["4.0", "4.1"])
def pytest_django_deprecation(session, django):
    session.install(f"django=={django}")
    session.run("pytest")


PID before the date

Fixes #16041
If I can version this change to a framework major-minor version, let me know what framework version ANCMv2 came out. :ear:

There was a little miscommunication with the community and engineering on this one. The PID in the filename is covered correctly in the topic for ANCMv2. Turns out that the ask is to document ANCMv1, but we've never done that. We've always documented using the latest version of the ANCM. AFAIK, ANCM scenarios were rolled out at incongruous times with the framework, and it was best (perhaps safest) to imply that devs should only use the latest version. There's on-going discussion on the engineering issue, and we can react after guidance is received.


Xcode12 build failure

We see some build errors on current Xcode beta 5. See screenshot attached. Any advice?

This appears to be for a different project, we don't have any sources named CodedInputStream.swift or RingBuffer.swift.

Even I am facing the same issue in swift-protobuf while compiling in XCode 12.4 whereas it is working fine in 11.2

We see some build errors on current Xcode beta 5. See screenshot attached. Any advice?

Did you find any solution to your problem?

I suspect you are using https://github.com/alexeyxo/protobuf-swift  which is an entirely independent and unrelated project.

I suspect you are using https://github.com/alexeyxo/protobuf-swift which is an entirely independent and unrelated project.

Then I'll go for migration to your current library because I am new to my current project and I am not sure how tough it will be to migrate to your Swift-protobuf.


fix subscription when enable monitor

What is the purpose of the change
same fix on monitor in 2.7.x
because there is bug which willl block shutdown progress in 2.5.x and it was fixed in 2.6.3.
related: #2110
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[ ] Run mvn clean install -DskipTests & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #2167 into master will increase coverage by 0.36%.
The diff coverage is 57.14%.

@@             Coverage Diff              @@
##             master    #2167      +/-   ##
============================================
+ Coverage     54.26%   54.63%   +0.36%
- Complexity     5103     5129      +26
============================================
  Files           559      559
  Lines         24947    25187     +240
  Branches       4447     4568     +121
============================================
+ Hits          13538    13760     +222
- Misses         9373     9385      +12
- Partials       2036     2042       +6

Impacted Files
Coverage Δ
Complexity Δ

...g/apache/dubbo/config/AbstractInterfaceConfig.java
80.78% <57.14%> (-0.75%)
81 <0> (ø)

...ubbo/rpc/protocol/dubbo/ChannelWrappedInvoker.java
41.66% <0%> (-8.34%)
3% <0%> (ø)

...onfig/spring/extension/SpringExtensionFactory.java
78.57% <0%> (-7.15%)
10% <0%> (ø)

...he/dubbo/remoting/transport/netty/NettyServer.java
67.85% <0%> (-3.58%)
8% <0%> (-1%)

...e/src/main/java/com/alibaba/dubbo/rpc/Invoker.java
33.33% <0%> (-3.04%)
0% <0%> (ø)

...dubbo/rpc/protocol/dubbo/CallbackServiceCodec.java
77.2% <0%> (-1.48%)
29% <0%> (ø)

.../dubbo/remoting/transport/netty4/NettyChannel.java
65% <0%> (-1.25%)
22% <0%> (-1%)

.../src/main/java/org/apache/dubbo/rpc/RpcStatus.java
57.89% <0%> (-1.06%)
18% <0%> (ø)

...apache/dubbo/rpc/protocol/dubbo/DubboProtocol.java
58.33% <0%> (-0.84%)
30% <0%> (-1%)

...rpc/protocol/dubbo/telnet/InvokeTelnetHandler.java
55.69% <0%> (+3.79%)
13% <0%> (+2%)
:arrow_up:

... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d62e15d...0ffbde9. Read the comment docs.


Fix #1918 to add a integration test with camel-jdbc and camel-jms

Thanks every one for reviewing and I just upate with @aldettinger suggestion to replace with container.getContainerIpAddress() and leave a comment to check the --report-unsupported-elements-at-runtime in the future.

OK, I just find the root cause is from org.h2.jdbcx.JdbcDataSource.readObject() which is de-serializing the object by using ObjectStreamClass eventually. So I update to introduce artemis-jms-xa extension as a work around to support XA connection until https://github.com/quarkusio/quarkus/issues/14871 get resolved. In the term of the h2 issue, I just use
@TargetClass(className = "org.h2.jdbcx.JdbcDataSource")
final class Target_org_h2_jdbcx_JdbcDataSource {
    @Delete
    private void readObject(ObjectInputStream in) {
    }
}

And I think this might be fixed in the quarkus h2-jdbc extension. I will raise an issue in quarkus.
Finally with these changes, we can remove --report-unsupported-elements-at-runtime and dependency of quarkus-jackson.

Well, all of these changes work fine with GraalVM 21.

Since I had to fix up something on the quarkus-master branch I have manually merged this.
Thanks again @zhfeng.


search bar functionality updated in course section

Issues Identification
Closes: #(issue number)
Description
Summary
A brief description of what this pull request does and why it is needed.
Details
Include any detailed information about the changes in this pull request.
Types of Changes
Please check the boxes that apply

[ ] Bugfix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Please check the boxes that apply

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

Screenshots
If applicable, please attach screenshots of the changes made to the user interface.
Additional Information
Please provide any other information that is relevant to this pull request.

@satyamra1 can you share some video proof for this, so that i can check and review it.

@satyamra1 can you share some video proof for this, so that i can check and review it.
And please mention the issue number also.

Sure sir,
Issue no :- 552
https://github.com/user-attachments/assets/0e990d1d-035e-448f-aa33-3117852e1586


Add PININT API

This pull request is based on #226. I recommend reviewing/merging that one first.

Rebased, ready for review.

Review comment applied. Merging.


Fix perf issues in allocation and make bootstrappers sequential

Bootstrapping in parallel adds a ton of extra pressure in scheduling goroutines and using resources, this change makes existing bootstrappers sequential.  This shows a marked improvement both in write capability and also too with the duration length to bootstrap overall.
The fs bootstrapper only uses a single goroutine to open references to file sets now which means there is less fs reader creation which helps avoid creating many large index buffers during bootstrapping and only opens the fs readers just before use by the processors.
The concurrency for peer streaming is also set to half CPUs by default instead of 1024 which just created too many concurrent streams to manage.
There is also some allocations that are heavy that don't need to be, i.e. no bytes buffering in the simple identifier pool, not using a proto buffer in the fs reader and a few other places.
cc @xichen2020 @kobolog @prateek

Coverage increased (+0.1%) to 77.847% when pulling a17d7006be097780d8a57209956f42898d13752a on r/fix-general-perf-issues into 65a9226e0518ca3005c498b5fb7b3c317a877788 on master.

Coverage increased (+0.06%) to 77.785% when pulling f7373ace8721e87e1dabcbb1426846f0d4314bcf on r/fix-general-perf-issues into 65a9226e0518ca3005c498b5fb7b3c317a877788 on master.

Coverage increased (+0.02%) to 77.738% when pulling 8ba79c157f5afd563b275b679fec4a48473ff2b2 on r/fix-general-perf-issues into 65a9226e0518ca3005c498b5fb7b3c317a877788 on master.

Coverage increased (+0.1%) to 77.863% when pulling 7c0e408c87785d6b0968aede4896ce3c350c89f1 on r/fix-general-perf-issues into 65a9226e0518ca3005c498b5fb7b3c317a877788 on master.


Remove investor share computational in housing_fund pallet

The share of investors in the housing_fund is updated each time a contribution or a withdraw is done.
This share should be calculated when needed.
The pallet must not compute anymore the share when a contribution or a withdraw is done.

Remove the share field from the contribution struct
Remove the call of update_contribution_share from contribute_to_fund and withdraw_fund
Remove update_contribution_share from functions.rs
Update the tests and benchmarking

It is important to determine when/where the share is/will be needed before taking a final decision:

It will be needed when selecting a group of investors as owners of a given asset. At this moment all investor's shares need to be available to the algorithm through designated storage. If we are not calculating the shares in the housing_fund, we will be doing the same computation during future owner selection.
I think this needs to be discussed.

The computation of the share is done at each contribution and withdraw for all the investors. It's some heavy work that can be done when needed from the investor's contribution and the amount in the fund. It's a similar change as the total amount of the fund that is calculated now instead of stored in the fund. A method giving the share of each investor will be called when it's needed. This change will greatly reduce the load on the blockchain.

I don't Know:
we should also consider the nature of the platform. it's won't be a Dex/Defi platform where you have several contributions/withdraws by one account in a hours/days (this amount of transactions would actually be suspicious)

The algorithm needs to call the share calculation method on  ALL investors each time it is invoked
VS
Calculation occurs during any transaction between the fund and an account.
The balance tilt does not appear so clear to me...

agreed this is only foe the total share to the fund, these percentages dont need be calculated on chain.


K8s versioning

There are many changes, since I have accommodated Kevin's request to rename some variables from viya_kubelet_version_min to viya_k8s_version_min.
Unit tested on AWS.

I'd also invite others to review the README file changes.   Does the content cover what we need to document at this point for this enhancement?    My approach was to add minimal changes necessary but to also include the support statement we discussed (@erharb , @lasiva ).


fix: TestAuthRequestRepo_nextSteps

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


New site, but Zola

TL;DR: It's #14 but in Zola
Honestly it's true that the website isn't very attractive, and I think it would be bad not having a good site for such an amazing app! So I looked in the pull requests and saw #14 which I really liked, and I saw you didn't approve it because it uses Hugo instead of Zola. So I decided to port his site in Zola and here it is

Thanks! The general idea is good, but there are some layout issues that definitely need to be fixed.

Please try to bind your site to CloudFlare pages or autobuild it with your GH pages, so everyone can easily see and comment on the site preview.
The dark theme was deleted.
There are many layout issues if you make a low-height landscape site.
As I already mentioned in the closed PR, it's better to show several screenshots in the landscape mode, instead of waiting while one screen in the center will change.
Mobile layout also needs love and tuning. The idea with a phone frame is ok in portrait, but it should be enlarged to take almost all screen space (otherwise the picture is too small and unreadable).

I think that I'll create a whole new site then, because it will be hard to edit another one's code, and I don't agree neither with all his programming choices etc so it'd be easier to just do it again from scratch, using his beautiful site as a base.

The hardest part is to properly layout everything for all devices. It's plain HTML/markdown and CSS, so the programming choice does not matter much. Taking our code as a base and modifying it step by step may be a better idea than throwing everything out.

Then I'll also use your code.
Also would it be possible to have a SVG of your logo? If not don't worry, I can vectorize it in Illustrator

I've uploaded logos into the static folder.
@rtsisyk we need to insert a visible and recognizable logo somewhere :) Any ideas?

Ok so I made the new site

https://organicmaps-github-io.vercel.app/
Added back
Not anymore
As you can see it's part of added but fully bugged, that's the part I need to work on
Not the case anymore

As you can see I didn't fully replicate his site but customized it a bit, I felt like it missed colors so I made the header green and material design. Tell me if you don't like it or if you'd like to change some things!

I can't scroll further on the screenshots right now

I can't scroll further on the screenshots right now

You're right, it should be fixed now

The color of the titles is slightly off, is that intentional?

Yes, when I tested I saw it was difficult to read it on a light theme with the exact accent color

I tested it again and saw I was wrong ; I'll put the real accent color intstead

It's difficult to distinguish the titles and the links, but I don't know how to solve it. Adding the underline again? A slightly different color?

Change the color to the lighter green, but only when in dark mode

Change the color to the lighter green, but only when in dark mode

I did that yes, but I was not talking about distinguishing the titles and the links from the background of the page, but distinguishing the links from the titles, it's difficult as they look the same

Ahh, then I'd just add the underline to the links again

Looks better now. Issues:

Top screen space is used inefficiently: there is a lot of free space, the title "Organic Maps" is duplicated.
Stores buttons are of different sizes.
Screenshots should wrap depending on the width, without scroll (it's unusable).
Screenshots will look better and more readable if their size will be bigger (ideally the same or similar as it's now).
Footer text should be smaller.

[ ] Top screen space is used inefficiently: there is a lot of free space, the title "Organic Maps" is duplicated.
[ ] Stores buttons are of different sizes.
[ ] Screenshots should wrap depending on the width, without scroll (it's unusable).
[ ] Screenshots will look better and more readable if their size will be bigger (ideally the same or similar as it's now).
[ ] Footer text should be smaller.
[ ] Please also rebase your PR or resolve conflict by merging the updated README.

For the "Organic Maps" repeated twice I don't think it's a problem, it would be really strange to just start with "Offline Hike, Bike, Trails and Navigation" without a title for me (I think the title in the header doesn't really count as it's not in the content)
For the screenshots which should not scroll, maybe, but I think wrapping them would be a bad idea, it would take years scrolling to finally get to the content

For the badges, there are rules to use it and you can't resize them or re-arrange elements as you want so I don't think it's authorized to use unofficial ones. And official App Store and Google Play badges' width differ so...

This is not usable.
Badges may and should be of the equal size, it's our site and we want it to look great.
Screenshots are the best way to quickly demonstrate features. Current version proves it.

This looks very strange.

It's true that on your screen there is too much top space, but for the title repeated twice I don't see any problem

Badges may and should be of the equal size, it's our site and we want it to look great.

Alright then, I'll fix that

Screenshots are the best way to quickly demonstrate features. Current version proves it.

I agree but I don't know if putting them like this vertically is the best way. But I'll try it anwyay

The badges should now be of the same size

Now it should do what you want for the screenshots

I think I fixed all the points you said

Also do you want me to rebase and sign off my commits to make DCO succeed?

Maybe increase font size for popular 1920x1080?

Ah yes, I work on a laptop so I kind of forget this some times x)
I can't today but I'll fix that tomorrow (or maybe this evening)

It should now be fixed

As I already mentioned in another PR, I do not understand why you deleted all existing files and introduced a completely different file structure, instead of modifying CSS and HTML templates for a new look.
The top part also needs to be improved:

I would reduce the space from the top bar to the heading.
I would prefer to append the second heading to the main one because Organic Maps is already visible in the top left.
We want to insert the FAQ page there, and later few more pages. How it will look in your design?

As I already mentioned in another PR, I do not understand why you deleted all existing files and introduced a completely different file structure, instead of modifying CSS and HTML templates for a new look.

Yes I'm sorry for that

We want to insert the FAQ page there, and later few more pages. How it will look in your design?

You'll be able to add any markdown content, it will look like the privacy and terms page basically

I would prefer to append the second heading to the main one because Organic Maps is already visible in the top left.

Like Organic Maps: Offline Hike, Bike, Trails and Navigation ?

I reduced the top space, and made it smaller on small screens

The fixed top menu consumes important vertical space on small screens. It's better to make a normal scrollable header/menu where FAQ and language switcher can be inserted later.

Ah you want the menu to be in the normal page flow so that it  disappears when scrolling?


Long extension names misalign the icons

AFTER:

BEFORE:

The body has a fixed width 320px
On Mon, Mar 16, 2020, 23:44 Federico Brigante<EMAIL_ADDRESS>wrote:

@fregante commented on this pull request.
In src/manifest.json
https://github.com/hankxdev/one-click-extensions-manager/pull/35#discussion_r393118883
:

@@ -1,7 +1,7 @@

{
"name": "MSG_extName",
"description": "MSG_extDesc",

"version": "<IP_ADDRESS>6",

"version": "<IP_ADDRESS>2",

⬇ Suggested change

"version": "<IP_ADDRESS>2",

"version": "0.0.0",

This is set automatically by the publisher
In src/popup.css
https://github.com/hankxdev/one-click-extensions-manager/pull/35#discussion_r393120056
:

\ No newline at end of file

+}

+.extUrl.disabled:before{

content: "";

+}
+.extUrl.disabled:hover{

background-color: white;

cursor: initial;

+}

+.show-option button{

max-width: 246px;

+}
This isn't the right way to do it, the page is flexible so this only works
in some situations. I'll look into a solution
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hankxdev/one-click-extensions-manager/pull/35#pullrequestreview-375338593,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZ3QB7AR7RYXIWHZ3ZNKRTRHZCOHANCNFSM4JTFIIAA
.

this is for the local extensions that do not have web store url. it will hide their web store icon and prevent clicking on it.

I don't understand, there's already logic to use homepageUrl for local extensions:
https://github.com/hankxdev/one-click-extensions-manager/blob/1e780b66ba5bc17192d93f54ae9c4f1cdfd4308f/src/popup.js#L150
If there's no homepageUrl, the link won't be created
https://github.com/hankxdev/one-click-extensions-manager/blob/1e780b66ba5bc17192d93f54ae9c4f1cdfd4308f/src/popup.js#L163-L165

How's life now in Chengdu?

How's life now in Chengdu?

it's safer than before, only 19 cases left and more than 14 days no new case. ppl can go out now, store and restaurants and gym reopend. Back to normal slowly.
Found 1 case fly from Italy to Chengdu today though. still need to wearing facemask.
How's your area?

this is for the local extensions that do not have web store url. it will hide their web store icon and prevent clicking on it.

I don't understand, there's already logic to use homepageUrl for local extensions:
https://github.com/hankxdev/one-click-extensions-manager/blob/1e780b66ba5bc17192d93f54ae9c4f1cdfd4308f/src/popup.js#L150
If there's no homepageUrl, the link won't be created
https://github.com/hankxdev/one-click-extensions-manager/blob/1e780b66ba5bc17192d93f54ae9c4f1cdfd4308f/src/popup.js#L163-L165

need to add this icon but not showing it so other icons won't align to left if there is no homepage url

You commits are great. but still here is one small issue

What’s the issue?

Ah i see what you meant to do. The alignment issue I reported was the icons shifting to the right, not the text appearing between the icons (like in your last screenshot).
If we keep the text away from the icons, it feels like a bug, because there’s space but we still clip the text

Ah i see what you meant to do. The alignment issue I reported was the icons shifting to the right, not the text appearing between the icons (like in your last screenshot).
If we keep the text away from the icons, it feels like a bug, because there’s space but we still clip the text

ok, no problem then, should we merge this PR?

Back to normal slowly.

That's good to hear, I hope that will happen soon here too. Here it's still increasing, probably it will be bad for at least 2 weeks more before getting better.

Back to normal slowly.

That's good to hear, I hope that will happen soon here too. Here it's still increasing, probably it will be bad for at least 2 weeks more before getting better.

  Hot weather is good, helps to kill the virus.

I've come back to Italy just a couple of days ago actually, bad timing. We're all staying home in Italy, nobody is allowed to go out

oh. Sorry to hear that,  it must be tough for Italy as it's a global disaster. Stay safe, you and all the Italian people. 🙏


Use Source.queue

OverflowStrategy.dropNew has been deprecated
Use Source.queue

Cool, thanks, I will check it locally after Friday work

thanks for all @pjfanning @He-Pin @samueleresca . I used an idea sort and further manually adjusted it, following the rules of pekko - empty line - and then third-party libraries.
I can't use sortImports in pekko-http, because we not add plugin scalafix


famous example tutorial for ETH Denver

potential examples:
Imatinib and ABL -> first targeted cancer drug
Remdesivir ->  SarsCov2 polymerase https://www.rcsb.org/structure/7BV2
Kras inhibitor vs KrasG12C -> https://www.rcsb.org/structure/6OIM


LLM selection UI is not accessible (name and role)

Issue Description: The menu button and menu list are not accessible for a few reasons and there are a few WCAG SC issues in this element. Primarily, there is no accessible, programmatic name for the element and the element has no role (currently just identified as "generic" and so naming issues will not be found by automated checkers). There are also conflicting aria attributes in the UI (aria-haspopup set to dialog, but it opens a dialog with menulist which must be part of a menu/menubar composite widget) and lack of indication of the state (no indication when an item in the list is selected.) To make the UI of the element accessible the role and name should be identified with a clear composite widget role to be used as well as any accessibility descendants.
WCAG Criteria: 3.3.2 Labels or Instructions - A, 4.1.2 Name, Role, Value, Label in name 2.5.3
Screenshot or Snippet: Link to Screenshot
Notes: A name for this field could be "LLM Model" and then the value would be the LLM. selected Then the Value will be described and the label name, eg. "Anthropic Claude, LLM Model".  A useful pattern to consider for the UI of this element is the listbox or single column datagrid to accommodate nested button and actions.

Is now resolved:


update rusoto to latest 0.38 version

thanks for merging this. one of the benefits is that I can now compile it on Archlinux (previously it would fail compiling openssl).

@gdamjan that's awesome! not sure what's the default way of installing packages on Archlinux, can you add info on the README on how to install it? I want to make it easy for non-rust users as well, for macOS we have home-brew, even tho you can install with cargo we could distributed the pre-compiled bin somehow...

I can make an AUR package easily.


Update search-npm extension

Description
Adds a new Copy Package URL action.
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hi @reloadedhead, thanks for the contribution. I have just submitted a PR with a bunch of updates to the extension which also make use of the new extension APIs. Might I suggest that you wait until that is merged and resubmit this PR?

Sure thing, @mrmartineau! Looking forward to it 🙂


"none" option missing for enriched category's matchType

Enriched response

Current docs

Thanks @mailaneel for raising this. We return none value, when we are unable to classify a business classification code. I will update the enums shortly.


AIX build on POWER8 32bits

Hello,
OpenBLAS 0.3.10 does not compile in 32 bits on AIX 7.2, in Power 8 mode (works on Power 6), with GCC 8.4.
cgemm_kernel_r_nomacros.s: line 20833: Too few arguments

The kernel/power/cgemm_kernel_8x4_power8.S file that generates cgemm_kernel_r_nomacros.s has addi    r11, 224, whereas 3 argument are needed. The PR adds SP like in the 64 bits part.
A ^ character that causes a warning in GCC is also erased.
With this PR, OpenBLAS compiles in 32 bits in Power 8 mode, but some tests are failing for other reason.

@trex58


demo doest work on iOS

LOG from device iPhone XS 64GB:
CONSOLE LOG file:///app/bundle.js:1273:15: SQLITE.ALL - Prepare Error 11
LOG from device iPhone XS 64GB: CONSOLE LOG file:///app/bundle.js:421:20: !!! SQLITE.ExecSQL Failed Prepare: 11 insert into names (name) values (?)
LOG from device iPhone XS 64GB: CONSOLE LOG file:///app/bundle.js:421:20: !!! SQLITE.ExecSQL Failed Prepare: 11 insert into names (name) values (?)
LOG from device iPhone XS 64GB:

@mirozahorak - Was there any errors before this?
Real device or Simulator?

In case people see this issue, my guess is they didn't have a db open or created.    I have tested the code many times since this point on iOS and Android.


crashing n8n instance on install

Hi
I tried installing n8n-nodes-betterpeople as a community node on a self-hosted n8n instance (v1.42.1) running on docker but ended up in constantly having crashes during n8n startup.
I used the CLI for install: npm i n8n-nodes-betterpeople in ~/.n8n/nodes
Are there any prerequisites to for installing/using these nodes?

thank you for your feedback!
I could install v2.2.0 now and add the midjourney-node to a workflow, but I am encountering more problems now:

on the node itself the "credentials" dialogue seems broken, it seems there is no possibility to create new credentials like in core-nodes.
I tried creating credentials in the "n8n credentials" section but could not find anything matching your cutom-node.
strangely, after returning to my workflow and trying to add the midjourney-node again, it does not appear anymore in the list of installed nodes even though it still is showing up under "community-nodes".

I am using n8n 1.46.0


Troubles in 10.5

Hey Nathan! I hope you had a good vacation.
Posted this on Discord but figured it might be easier here. Had been on Magic 10.4 with Paper-119 and experienced the same issues as everyone else. Updated today to Magic 10.5 with Paper-132 and had some weird behavior:
RP did not load automatically despite resource_pack_default_auto: true in the config and history of loading everything properly <10.5. /getrp loaded it properly.
Everything in magic that was right-click-to-use was not working. I tested the broom, goggles, diving helmet, enchanting table (with the wand), and the wand itself (opening the inventory). No response or errors.
Spells seemed to have all gone, even our custom ones. /cast missile, etc. responded with unknown spell.
Looking at console it also seemed to have been unable to find my player data on join.
[19:28:48 WARN]: [Magic]  Failed to load player data for mercurialmusic
java.lang.ClassCastException: class org.bukkit.configuration.SectionPathData cannot be cast to class java.lang.Integer (org.bukkit.configuration.SectionPathData is in unnamed module of loader java.net.URLClassLoader @7aec35a; java.lang.Integer is in module java.base of loader 'bootstrap')
        at com.elmakers.mine.bukkit.magic.CasterProperties.getSpells(CasterProperties.java:474) ~[Magic-10.5.jar:?]
        at com.elmakers.mine.bukkit.magic.BaseMageModifier.updateSpellTriggers(BaseMageModifier.java:385) ~[Magic-10.5.jar:?]
        at com.elmakers.mine.bukkit.magic.BaseMageModifier.loadProperties(BaseMageModifier.java:362) ~[Magic-10.5.jar:?]
        at com.elmakers.mine.bukkit.magic.MageClass.load(MageClass.java:90) ~[Magic-10.5.jar:?]
        at com.elmakers.mine.bukkit.magic.Mage.load(Mage.java:1278) ~[Magic-10.5.jar:?]
        at com.elmakers.mine.bukkit.tasks.MageLoadTask.run(MageLoadTask.java:17) ~[Magic-10.5.jar:?]
        at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.18.1.jar:git-Paper-132]
        at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[paper-1.18.1.jar:git-Paper-132]
        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1547) ~[paper-1.18.1.jar:git-Paper-132]
        at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:480) ~[paper-1.18.1.jar:git-Paper-132]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1470) ~[paper-1.18.1.jar:git-Paper-132]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1264) ~[paper-1.18.1.jar:git-Paper-132]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.18.1.jar:git-Paper-132]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]

To be safe I rolled back our player data to the last backup and went back to Paper-119 and Magic 10.4 without issue.
Sorry for the headaches and thanks for tackling this!

Thank you- it looks like I missed a case, but I'm  not sure how this didn't show up in my own testing :(

I'm hoping this is fixed in 10.5.1, but I still haven't ben able to do any extensive testing.

Thank you sir! Will try it out.

So far so good! Thanks again!

Thank you for letting me know! Hopefully there aren't any more cases lurking in the shadows.


K8SPXC-842: delete backup from folder

Before that change, we were undable to delete backup due to path
error. With this fix, we can easily delete backup from user's
folder, not just a bucket

Test name
Status

storage
passed

scheduled-backup
passed

scaling
passed

upgrade-haproxy
passed

recreate
passed

haproxy
passed

big-data
passed

scaling-proxysql
passed

self-healing
passed

init-deploy
passed

security-context
passed

upgrade-proxysql
passed

self-healing-chaos
failed

limits
passed

restore-to-encrypted-cluster
passed

monitoring-2-0
passed

self-healing-advanced
passed

smart-update
passed

affinity
passed

one-pod
passed

demand-backup
passed

self-healing-advanced-chaos
failed

auto-tuning
passed

operator-self-healing
passed

proxysql-sidecar-res-limits
passed

operator-self-healing-chaos
failed

users
passed

upgrade-consistency
passed

pitr
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

demand-backup-encrypted-with-tls
failed

validation-hook
passed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/999/commits/3fa7b1b6187b4134b535a9485bf458b8f5fac76e
image: perconalab/percona-xtradb-cluster-operator:PR-999-3fa7b1b6

Test name
Status

scheduled-backup
passed

haproxy
passed

upgrade-haproxy
passed

big-data
passed

storage
passed

scaling
passed

recreate
passed

init-deploy
passed

self-healing
passed

scaling-proxysql
passed

restore-to-encrypted-cluster
passed

limits
passed

security-context
passed

demand-backup
passed

monitoring-2-0
passed

self-healing-chaos
passed

pitr
passed

affinity
passed

demand-backup-encrypted-with-tls
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

users
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

validation-hook
passed

upgrade-proxysql
passed

smart-update
passed

upgrade-consistency
passed

self-healing-advanced
passed

self-healing-advanced-chaos
passed

operator-self-healing
passed

operator-self-healing-chaos
passed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/999/commits/3fa7b1b6187b4134b535a9485bf458b8f5fac76e
image: perconalab/percona-xtradb-cluster-operator:PR-999-3fa7b1b6

Test name
Status

recreate
passed

haproxy
failed

scheduled-backup
passed

big-data
passed

upgrade-haproxy
passed

storage
passed

self-healing
passed

restore-to-encrypted-cluster
passed

upgrade-proxysql
passed

init-deploy
passed

demand-backup
passed

smart-update
passed

self-healing-chaos
passed

limits
passed

monitoring-2-0
passed

self-healing-advanced
passed

affinity
passed

one-pod
passed

pitr
passed

auto-tuning
passed

self-healing-advanced-chaos
passed

upgrade-consistency
passed

proxysql-sidecar-res-limits
passed

users
passed

operator-self-healing
failed

demand-backup-encrypted-with-tls
passed

operator-self-healing-chaos
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
failed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/999/commits/233d3253b1ca8104a2a7b7f13a639a235664d557
image: perconalab/percona-xtradb-cluster-operator:PR-999-233d3253

Test name
Status

haproxy
passed

scheduled-backup
passed

recreate
passed

restore-to-encrypted-cluster
passed

demand-backup
passed

pitr
passed

demand-backup-encrypted-with-tls
passed

upgrade-haproxy
passed

scaling
passed

storage
passed

self-healing
passed

self-healing-chaos
passed

self-healing-advanced
passed

self-healing-advanced-chaos
passed

operator-self-healing
passed

big-data
passed

upgrade-proxysql
passed

scaling-proxysql
passed

smart-update
passed

upgrade-consistency
passed

init-deploy
passed

limits
passed

monitoring-2-0
passed

affinity
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

users
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

security-context
passed

validation-hook
passed

operator-self-healing-chaos
passed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/999/commits/233d3253b1ca8104a2a7b7f13a639a235664d557
image: perconalab/percona-xtradb-cluster-operator:PR-999-233d3253


feat: add resilience middleware

Closes SAP/cloud-sdk-backlog#667.

This PR contains too many steps. Please reduce it also for easier review and do follow ups:

do not expose the middle ware yet
do not include the retry yet
refactor the code by using a resilience middleware created from the resilience options see ADR with PR
In principle your addResilience function should be off type MiddleWare
Simplify the addResilience perhaps with the idea mentioned in the PR seeing the resilience steps as middle wares itself which are easily accumulated.
For some requests the RequestContext with its URL, method etc is not so obvious but a look at the mocks in the tests shows which URL is called e.g. xssec.

Superseded by SAP/cloud-sdk-js#2695.


Default to python3 for gyp

If npm_config_python is not set, then the build process for sqlite3 defaults to searching for python command. Using this command is ambiguous at best on what version of python will run, and at worst does not exist (e.g. on alpine). It is encouraged that scripts use an explicit python version (python2 or python3) to ensure best compatibility with supported python platform. In this case, python3 works perfectly, and so no reason to use the EOL python2.

Hm, I guess this breaks the Windows test build at least as it only ever provides python.exe in the environment. However, defaulting to python breaks various Linux distros, and may at some point break on macOS:

WARNING: Python 2.7 is not recommended.
This version is included in macOS for compatibility with legacy software.
Future versions of macOS will not include Python 2.7.
Instead, it is recommended that you transition to using 'python3' from within Terminal.

Not sure what the ideal solution here is to get this to work consistently out of the box for everyone, without encoding some sort of "python look-up" into node.

Seems like sqlite3 may not be installable on a fresh mac running 12.3 as python might be removed? https://developer.apple.com/documentation/macos-release-notes/macos-12_3-release-notes#Python

Can confirm @MasterOdin's prediction.
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c
/bin/sh: python: command not found
make: *** [Release/obj/gen/sqlite-autoconf-3310100/sqlite3.c] Error 127

For both mac and linux environments, using node-sqlite3 has mandated first running npm config set python python3.

Replacing this python script with a js one should solve the python wonkery: #1570

Closing this as I think #1570 is the superior solution where as you say, tar is already a transitive dependency so just doing it all in node costs nothing in that regard, and avoids dealing with looking up python vs python3 for the executable.


<EMAIL_ADDRESS>Regular Expression Denial of Service

https://snyk.io/test/npm/extract-zip

I would love if this PR was merged. (related to https://github.com/maxogden/extract-zip/issues/48)

Please close in favor of
https://github.com/maxogden/extract-zip/pull/52
I believe 2.6.9 or higher must be used as well

Let's merge this!

Please do not merge this. The fix is in 2.6.9 or higher

nsp check >= 2.6.9 < 3.0.0 || >= 3.1.0

Yes. So let's close this and merge #52 😎


Favorites Menu loading UX is janky

Having the full vertical length of the menu show up without any visible data next to the lone icons makes the UI look janky and unpolished (see attached screenshot).
We might want to consider showing a centered loading indicator on a full width but empty menu instead, while the data loads.

Yep, fixed in #1622


The ListMemberships handler should support query parameters

Description
Currently the list members endpoint returns the entire list of members from the database and returns it to the client. This makes for a significantly long response time and also a memory issue as we are required to store all of these records in memory and then send them in the response. Additionally the table on the frontend becomes very long. We should aim to reduce this problem using pagination
Approach

Add support on the list memberships endpoint for 2 new query parameters

limit: Number of records to return

Maximum allowed limit is 100, if the value in the query is greater than this amount, default to returning 100

page: Will be used to determine the offset

This number should be >= 1

Using these new parameters, add the appropriate clauses to the SQL query to limit and offset the response
Modify the response to return

{
	"memberships": [...], // Existing Response
	"totalMemberships": // Count of all members in the semester
}

NOTE: If these query parameters are not present, for now we will return all members. This is to keep backwards compatibility with the app until it gets updated with a pagination component.

Blocks
Blocked By
Related To

There aren't any checks on the values for the parameters, so somebody can supply a negative offset or limit, this needs to be fixed.


Fix and improve release.yaml workflow

Relevant to https://github.com/TheBevyFlock/bevy-template/issues/19.
Overview of changes:

Trigger release on pushed tag of the format vA.B.C instead of any tag.
Fix "prepare package" step of web release job (copy from the wasm-release folder instead of release).
Set correct project and itch.io names.
Add wasm-opt step for web release.
Add name field to every step.
Pull duplicate values into local env variables.
Add helpful comments.
Clean up formatting, names, wording, etc.

Jan mentioned earlier that if we modify the base CI template we should submit the changes to the upstream, I think I agree with that

Yeah that's probably true. Note that their env variables and cargo build commands will look a bit different.


Fix installing of ramalama

There are subtle differences between install locations on Linux, macOS x86 and macOS aarch64, just something to be aware of


Upcoming Events

Can we use the meetup API to gather all the upcoming events for the webpage?

I think we can set up a feed like this. We could create a new meetup account, join all ASRG groups, synchronize the meetup calendar with the google calendar according to the guide and then publish the calendar as I suggested in #24.
We can't use the regular API for this as we would need a token and don't have a server backend (yet). It would be a terrible idea to use the token on the static page 👨🔫.

The problem with putting all the meetups on one account is that they want to charge around 150 Eurs per month. Not really possible for us. I’m going to look into alternatives for meetup. I was hoping that LinkedIn was going to publish a competitive product but I haven’t seen it yet.

Actually, I think we can attach all the different calendars in a google calendar... not quite sure how... but I will work on it after christmas.


Update Cranelift-ISLE integration docs to reflect no more checked-in code.

In #4143, we removed the checked-in-generated-code aspect of the ISLE
build process, in order to simplify the development cycle and reduce
errors. However, I failed to update the docs at the same time. This PR
fixes that. Supersedes #4228 (thanks @jlb6740 for noticing this issue!).

Cool! More detail here I didn't realize. LGTM!


timestamped index in elastica formatter

Like other elasticsearch data provider monolog handler should add timestamp in index definition. It allows to easily purge old data by safely removing matching indexes.

cc @lyrixx any opinion here? I don't know the ES stuff enough to judge if this is a horrible idea or not.. Sounds like changing the index name is a BC break though.

This is is really opinionated and this will lead to some issue:

The elastica formatter is used in combinaison with ElasticHandler. And it push data in a blocking way. I would not recommend it in production. So this change is not really needed since it's not needed to log-rotate in dev env
This will create a new index each day. It means people need to use an index template to avoid bad surprise. I'm not sure this feature is well known by everybody
This will lead to many many indexes. So many many shards.  A good cleaning tooling is required for that

TL;DR: A configuration option is needed for that
Note: I uses to use this strategy, but I knew what I was doing ... putting theses defaults seems harmful without good knowledge of ES

I didn't see in the documentation that this handler is dedicated for dev only. Thanks for this precision.
I saw this PR https://github.com/Seldaek/monolog/pull/1334 that works in non blocking way but it is rejected and it does not include timestamp indexes and it is not recommanded for production :-(.
So what is your advise to send logs from a PHP application to elasticsearch in production (micro-service application architecture)?
Thanks for your help.
Do you wish I adapt my PR to make timestamped index optionnal ?

I didn't see in the documentation that this handler is dedicated for dev only.

Calling ES each time you got a log is a terrible idea. You can wrap it in a Buffer Handler or a Cross Fringer Handler but you will one extra HTTP call to ES while you are processing a Client Request.
More over, you will add pressure on ES with many documents to process.
People usually prefer to use LogStash (or similar tool) that is able to listen on lower and faster protocol (raw TCP or even better: UDP). Theses tools are also able to buffer many documents before sending them to ES and so reduce the presure on ES.
That's why I discourage people to use this handler in a production environment.

Do you wish I adapt my PR to make timestamped index optionnal ?

Yes, please

I'd suggest maybe closing this and doing the change with an optional parameter only in https://github.com/Seldaek/monolog/pull/1339 for 2.0, this sounds like not really worth adding to 1.x anymore..


Fix missing translation bug

This PR fixes an error that occurs during account creation (funding flow), once the 'account funded' modal shows. The error only occurs if the selected language in the Wallet is Chinese or Russian.
To test this fix:

Switch language in the Wallet to either Chinese or Russian
Create a new account that requires funding
Successfully create and fund the account without any errors

@vgrichina @kcole16 the translation bug fix is ready for review.

Note that this PR does not include most recent Chinese translations added in this PR: https://github.com/near/near-wallet/pull/1397/files. The most recent translations will be merged to stable with https://github.com/near/near-wallet/pull/1390
This PR simply fixes current stable branch


Move KVM VM between Hosts using Local Disk Storage and Clusters with different Primary Storage

ISSUE TYPE

Feature Idea

COMPONENT NAME

VM live migration

CLOUDSTACK VERSION

4.19

CONFIGURATION

OS / ENVIRONMENT

SUMMARY

From what I understand，KVM or libvirt has supported vm live migration between different storage to deal with disaster recovery scenarios. Do you have any plans to implement it on cloudstack?
Requirement 1：Support KVM VMs Live Migration between Hosts using Local Disk Storage.
Requirement 2：Support KVM VMs Live Migration between Clusters with different Primary Storage.
STEPS TO REPRODUCE

EXPECTED RESULTS

ACTUAL RESULTS

@hixiaobo
have you tested with <IP_ADDRESS> ? as far as I know, both are supported.

I have checked the doc（http://docs.cloudstack.apache.org/en/latest/adminguide/storage.html?highlight=migration#id2），KVM does not  support Migrating Storage For a Running VM，It supported on XenServer and VMware.

I have checked the doc（http://docs.cloudstack.apache.org/en/latest/adminguide/storage.html?highlight=migration#id2） KVM does not support Migrating Storage For a Running VM，though t's supported on XenServer and VMware.

@hixiaobo
the doc is probably not update-to-date.
I think all are supported now. (1) local <-> local (2) local <-> share; (3) cross-cluster migration
please refer to https://github.com/apache/cloudstack/pull/2983

AFAIK @weizhouapache is correct, both features are supported already. Is there any reason to keep this open @hixiaobo?

created a doc PR to update the documentation to make it clear about the possibilities
https://github.com/apache/cloudstack-documentation/pull/424


Fix typos

Change Let's the workload to Let's run the workload

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/65e41ddc6816d3859f44a3400152ae2cf75e7d22/
Edited pages:

v19.2/secure-a-cluster.md
v19.2/start-a-local-cluster-in-docker-windows.md
v19.2/start-a-local-cluster.md
v20.1/secure-a-cluster.md
v20.1/start-a-local-cluster-in-docker-windows.md
v20.1/start-a-local-cluster.md

Thanks, @john-g-g, and sorry for the long delay. In the meantime, this has been fixed in our docs, so I'll go ahead and close this PR.


Freeze bcrypt version to 3.1.7 to fix build dev-box

Coverage remained the same at 34.828% when pulling dbb53024cd52b25bb8f8721d3f02dab55c1b22f4 on yiyi/freeze_bcrypt_version_3.1.7 into c0a616d890802d592ba32345ac196822db329316 on master.


Bump go.opentelemetry.io/* from 0.0.20 to 1.0.0-RC1 and go.opentelemetry.io/contrib/* from 0.0.20 to 0.0.21

Update go.opentelemetry.io/otel* dependencies to v1.0.0-RC1.
Update go.opentelemetry.io/contrib* dependencies to v0.21.0.
Drop support for Go 1.14 as<EMAIL_ADDRESS>did the same.
Configure golangci-lint to use revive instead of deprecated golint.

@MrAlias Can you change the required jobs in branch protection rules and merge the PR, please?

@MrAlias Can you change the required jobs in branch protection rules and merge the PR, please?

I do not have these permissions anymore. @flands maybe?

@flands can you remove these jobs from the branch protection rules, please:


AlignmentGeometryTween should extend Tween (not nullable) instead of Tween<AlignmentGeometry?> (nullable)

The class AlignmentGeometryTween  extends from Tween<AlignmentGeometry?>, this means that when creating an animation out of it, the animation will be an Animation<AlignmentGeometry?>. (note how AlignmentGeometry can be null)
https://github.com/flutter/flutter/blob/e7b7ebc066c1b2a5aa5c19f8961307427e0142a6/packages/flutter/lib/src/rendering/tweens.dart#L65
The problem is that classes like AlignTransition only accept Animation<AlignmentGeometry> (note the lack of nullable values) making it impossible to use.
A Tween with a null output can only happen if both begin and end values are null, as we can see in the lerp implementation of AlignmentGeometry:
https://github.com/flutter/flutter/blob/e7b7ebc066c1b2a5aa5c19f8961307427e0142a6/packages/flutter/lib/src/painting/alignment.dart#L93
IMO if a Tween is outputting a null value that's a mistake on the developer side for providing two null values.
For example, AlignmentTween is not nullable: https://github.com/flutter/flutter/blob/e7b7ebc066c1b2a5aa5c19f8961307427e0142a6/packages/flutter/lib/src/rendering/tweens.dart#L42 and the solution is simple, add a ! in the lerp call: https://github.com/flutter/flutter/blob/e7b7ebc066c1b2a5aa5c19f8961307427e0142a6/packages/flutter/lib/src/rendering/tweens.dart#L52
This was not an issue before null safety, but with null safety the existing code does not compile anymore. To fix this on my project I created a custom Tween that cannot be nullable.
Steps to Reproduce

Create new Flutter project
Bump SDK version to 2.12.0
Copy the following code using AlignmentGeometryTween and AlignTransition:

import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key? key}) : super(key: key);

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> with TickerProviderStateMixin {
  late AnimationController _controller;
  late Animation<AlignmentGeometry?> _animation;

  @override
  void initState() {
    super.initState();

    _controller = AnimationController(
      duration: const Duration(milliseconds: 600),
      vsync: this,
    )..addStatusListener((status) {
        if (status == AnimationStatus.completed) {
          _controller.reverse();
        } else if (status == AnimationStatus.dismissed) {
          _controller.forward();
        }
      });

    _animation = AlignmentGeometryTween(
      begin: Alignment.topCenter,
      end: Alignment.bottomCenter,
    ).animate(CurvedAnimation(
      parent: _controller,
      curve: const Interval(
        0.0,
        1.0,
        curve: Curves.easeInOut,
      ),
    ));
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: AlignTransition(
        alignment: _animation,
        child: Container(
          color: Colors.red,
          width: 20,
          height: 20,
        ),
      ),
    );
  }
}

Expected results:
No compilation errors.
Actual results:
Compilation errors:
ERROR: lib/main.dart:60:20: Error: The argument type 'Animation<AlignmentGeometry?>' can't be assigned to the parameter type 'Animation<AlignmentGeometry>' because 'AlignmentGeometry?' is nullable and 'AlignmentGeometry' isn't.
ERROR:  - 'Animation' is from 'package:flutter/src/animation/animation.dart' ('../../dev/tools/flutter/packages/flutter/lib/src/animation/animation.dart').
ERROR:  - 'AlignmentGeometry' is from 'package:flutter/src/painting/alignment.dart' ('../../dev/tools/flutter/packages/flutter/lib/src/painting/alignment.dart').
ERROR:         alignment: _animation,
ERROR:                    ^
Exception: Build process failed

If I change late Animation<AlignmentGeometry?> _animation; to late Animation<AlignmentGeometry> _animation;:
ERROR: lib/main.dart:46:7: Error: A value of type 'Animation<AlignmentGeometry?>' can't be assigned to a variable of type 'Animation<AlignmentGeometry>' because 'AlignmentGeometry?' is nullable and 'AlignmentGeometry' isn't.
ERROR:  - 'Animation' is from 'package:flutter/src/animation/animation.dart' ('../../dev/tools/flutter/packages/flutter/lib/src/animation/animation.dart').
ERROR:  - 'AlignmentGeometry' is from 'package:flutter/src/painting/alignment.dart' ('../../dev/tools/flutter/packages/flutter/lib/src/painting/alignment.dart').
ERROR:     ).animate(CurvedAnimation(
ERROR:       ^
Exception: Build process failed

analyzing alignment_geometry_tween...

  error • The argument type 'Animation<AlignmentGeometry?>' can't be assigned to the parameter type 'Animation<AlignmentGeometry>' • lib/main.dart:60:9 • argument_type_not_assignable

1 issue found. (ran in 0.7s)

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.5, on Linux, locale en_US.UTF-8)
    • Flutter version 2.0.5 at /home/miquel/dev/tools/flutter
    • Framework revision adc687823a (4 weeks ago), 2021-04-16 09:40:20 -0700
    • Engine revision b09f014e96
    • Dart version 2.12.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /home/miquel/Android/Sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /usr/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_292-8u292-b10-0ubuntu1~20.04-b10)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] IntelliJ IDEA Ultimate Edition (version 2020.3)
    • IntelliJ at /home/miquel/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/203.6682.168
    • Flutter plugin version 55.1.3
    • Dart plugin version 203.8173

[✓] VS Code (version 1.56.0)
    • VS Code at /usr/share/code
    • Flutter extension version 3.22.0

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Linux
    • Chrome (web)    • chrome • web-javascript • Google Chrome 90.0.4430.93

! Doctor found issues in 1 category.

Thanks for the detailed report and code sample.
With 2.12.0 version:

and _animation is declared as late Animation<AlignmentGeometry?> _animation;
With 2.7.0 version, no such compile error:

flutter doctor -v

[✓] Flutter (Channel master, 2.3.0-2.0.pre.139, on Mac OS X 10.15.4 19E2269
    darwin-x64, locale en-GB)
    • Flutter version 2.3.0-2.0.pre.139 at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e621ebfb34 (3 hours ago), 2021-05-11 23:29:03 -0400
    • Engine revision 8e332453b8
    • Dart version 2.14.0 (build
      2.14.0-edge.b99466d472e369990eb22de332cb5b2967b3ea00)

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin
        code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see
      https://guides.cocoapods.org/using/getting-started.html#installation for
      instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.55.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (3 available)
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                               •
      web-javascript • Google Chrome 90.0.4430.212

! Doctor found issues in 1 category.

can you assign me this issue?

@darshankawar


How to implement this script?

can u give me an example step to make order using this source?
search product -> getproductID -> checkout product -> guestcheckout -> payment -> suceess or failed.

reading is a powerful tool -> Resources - the rest has nothing todo with the SDK, it´s about using the ebay api, therefor you have to read the docs.

btw.. why don´t people never close their issues... i will never understand this... 🤔


[SPARK-31483][PySpark] Update find-spark-home

Use SPARK_PYTHON or 'python' to run find_spark_home.py

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

Can one of the admins verify this patch?

Can one of the admins verify this patch?


Very simple preformatted code block does not get converted properly

I have a very simple element:

fruits = ["apple", "banana", "cherry"]

for fruit in fruits:
  print(fruit)

that I would like converted to a fenced code block via TurndownService::turndown
I initialize the TurndownService with
var turndownService = new TurndowSnService({codeBlockStyle: "fenced"});

However, turndown yields the following string when I pass my element:
"fruits = [\"apple\", \"banana\", \"cherry\"]\n\nfor fruit in fruits:\n  print(fruit)"

I've verified by hand that the fencedCodeBlock.filter returns true when passed my element and that fencedCodeBlock.replacement returns the expected string sandwiched by the fence, but this behavior is not reproduced as expected when using TurndownService::turndown

This looks like it's working on the live demo: https://mixmark-io.github.io/turndown/
The output is:

```

fruits = ["apple", "banana", "cherry"]

for fruit in fruits:
  print(fruit)
```

Looks like this happens only when I pass the HTML element directly, whereas if I instead do
turndownService.turndown(element.outerHTML)

the element is converted as I expected.  Is this intended behavior?
FWIW, I see that when I pass the element directly, the thing that makes it to fencedCodeBlock.filter is a node with "
...
" stripped away, ie a code node, which fails the filter criteria

The codeBlockStyle option will do this for you. For example:
var turndownService = new TurndownService({ codeBlockStyle: 'fenced' })
turndownService.turndown('
console.log("hello world")
')


build-softlayer-centos6-x64-1 failng to build openj9

HotSpot builds seem ok but the openj9 ones are having issues with this failure on the new machine:
/home/jenkins/workspace/build-scripts/jobs/jdk8u/jdk8u-linux-x64-openj9/workspace/build/src/build/linux-x86_64-normal-server-release/vm/compiler/../compiler/net/StreamExceptions.hpp:25:10: fatal error: net/gen/compile.pb.h: No such file or directory
 #include "net/gen/compile.pb.h"
          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Not immediately obvious why but I'll remove the gcc75 label from the machine until we can identify a solution.
Ref: https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk8u/job/jdk8u-linux-x64-openj9/544/console

A quick search points to it being a Protobuf issue. If I'm reading this right, the file in question is meant to be output here: https://github.com/eclipse/openj9/blob/5f64d16f35681782bcda4c81f236eadc354e2d68/runtime/compiler/CMakeLists.txt#L111

I've rebuilt Protobuf v3.7.1 on the machine to see if that solves the issue

Doesn't appear to have resolved it based on re-enabling the machine:
https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk8u/job/jdk8u-linux-x64-openj9-linuxXL/506/console

Removed gcc75 tag and re-enabled one of the other centos machines until we've fixed this problem.

Running https://github.com/eclipse/openj9/blob/5f64d16f35681782bcda4c81f236eadc354e2d68/runtime/compiler/CMakeLists.txt#L114 manually causes the required files to be generated, where they're expected to be. So it's not the way it's built thats the issue.

https://github.com/eclipse/openj9/issues/8681
Closing as this is not an infrastructure issue.

On that basis I have added the gcc75 label back onto that machine


Elastic apm runtime error

We've seen this issue when running elastic APM on the following stack:
Python 2.7.11
Django 1.8.19
Elastic apm 3.0.0
Traceback (most recent call last):   File "/usr/local/lib/python2.7/site-packages/django/http/response.py", line 309, in close     signals.request_finished.send(sender=self._handler_class)   File "/usr/local/lib/python2.7/site-packages/django/dispatch/dispatcher.py", line 189, in send     response = receiver(signal=self, sender=sender, **named)   File "/usr/local/lib/python2.7/site-packages/elasticapm/contrib/django/apps.py", line 50, in <lambda>     lambda sender, **kwargs: client.end_transaction() if _should_start_transaction(client) else None,   File "/usr/local/lib/python2.7/site-packages/elasticapm/base.py", line 260, in end_transaction     self._collect_transactions()   File "/usr/local/lib/python2.7/site-packages/elasticapm/base.py", line 298, in _collect_transactions     self._stop_send_timer()   File "/usr/local/lib/python2.7/site-packages/elasticapm/base.py", line 323, in _stop_send_timer     self._send_timer.join()   File "/usr/local/lib/python2.7/threading.py", line 929, in join     raise RuntimeError("cannot join thread before it is started") RuntimeError: cannot join thread before it is started
This happens in a production environment or on the test server where we simulate higher rps on the server. On the staging environment with lower rps rate apm runs normally.
It doesn't happen immediately. We get for about 1-2 minutes of records before if crashes.
Do you recommend changing any setting to have it running more stable?

Hi @pusnik. Thanks for opening the issue!
We've seen this issue before, but only once or twice in our test environment. What's really puzzling is that we're checking if the thread is alive before calling .join():
https://github.com/elastic/apm-agent-python/blob/e8b134d6af323c96b7ecc44b929a57bf696df524/elasticapm/base.py#L320-L323
Only thing I can imagine is that calling .cancel() sometimes makes the thread die immediately, so that the .join() right after fails. As cancel() only sets an Event, we can probably move it out of the if clause, that would fix it if this is indeed the root cause. Basically:
def _stop_send_timer(self):
    if self._send_timer and not self._send_timer == threading.current_thread():
        self._send_timer.cancel()
        if self._send_timer.is_alive():
            self._send_timer.join()

I pushed this change to a branch. Would you mind giving this a test run in your test environment under high load to see if it fixes it? You can install it like this:
pip install git+https://github.com/beniwohli/apm-agent-python.git@possible-fix-276

Hi @beniwohli
Thank you for the quick response. I have deployed it to the test environment. Tests are pending.
Will let you know as soon as I know something.
Best,
Grega

@beniwohli it seems that the RuntimeError is gone, at least I can't see it anymore in logs. Will monitor them.
Nevertheless the metrics are still not visible on our Kibana at high load, but this is due to our server not having enough resources. We'll be scaling on Monday.
You can close the ticket and I'll reopen if needed.
Thank's again.

Thanks for giving it a test run @pusnik! I will release this with a couple other bug fixes later today.


Indicate multiple use options in help

I think it would be nice to append a ... to the metavar when multiple is true. Using curl as an example, -H TEXT would become -H TEXT....

Can you please explain your overall reasoning? Maybe I am misunderstanding, but couldn't you do this -

@click.command()
@click.option('--color', multiple=True, metavar='<COLOR>', help='Specify a color')
@click.option('--size', multiple=True, metavar='<SIZE>', help='Specify a size')
def cli(color, size):
    click.echo(f'You selected the colors: {", ".join(color)}')
    click.echo(f'You selected the sizes: {", ".join(size)}')

if __name__ == '__main__':
    cli()

Then you would get -
$ python script.py --color red --color green --color blue --size small --size large
You selected the colors: red, green, blue
You selected the sizes: small, large


Rasa x problem decoding in portuguese language

Rasa Version     : 2.3.0
Rasa SDK Version : 2.3.1
Rasa X Version   : 0.37.0
Python Version   : 3.7.6
Operating System : Windows-10
Issue:
when running rasa x in my project in portuguese get the above error, can you help?
I can train the model, run it and deploy it to an rest channel, the only thing that doens't work is rasa x
I tested rasa x with the sample rasa init and trained model and it works fine
Error (including full traceback):
Starting Rasa X in local mode... �
Traceback (most recent call last):
  File "c:\users\moraisca\anaconda3\envs\rasa\lib\site-packages\rasa\shared\utils\io.py", line 122, in read_file
    return f.read()
  File "c:\users\moraisca\anaconda3\envs\rasa\lib\codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe3 in position 441: invalid continuation byte

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\users\moraisca\anaconda3\envs\rasa\lib\site-packages\rasa\cli\x.py", line 500, in run_locally
    domain_path=domain_path,
  File "c:\users\moraisca\anaconda3\envs\rasa\lib\site-packages\rasax\community\local.py", line 242, in main
    project_path, data_path, session, args.port, config_path, domain_path
  File "c:\users\moraisca\anaconda3\envs\rasa\lib\site-packages\rasax\community\local.py", line 169, in _initialize_with_local_data
    domain_path=domain_path,
  File "c:\users\moraisca\anaconda3\envs\rasa\lib\asyncio\base_events.py", line 583, in run_until_complete
    return future.result()
  File "c:\users\moraisca\anaconda3\envs\rasa\lib\site-packages\rasax\community\initialise.py", line 375, in inject_files_from_disk
    username,
  File "c:\users\moraisca\anaconda3\envs\rasa\lib\site-packages\rasax\community\initialise.py", line 135, in inject_stories
    story_files, team, project_id, username
  File "c:\users\moraisca\anaconda3\envs\rasa\lib\site-packages\rasax\community\services\story_service.py", line
553, in save_stories_from_files
    is_test=is_test,
  File "c:\users\moraisca\anaconda3\envs\rasa\lib\site-packages\rasax\community\services\story_service.py", line
438, in save_stories
    story_string, filename, domain, is_test
  File "c:\users\moraisca\anaconda3\envs\rasa\lib\site-packages\rasax\community\services\story_service.py", line
366, in _extract_stories_yaml
    story_string, data.FileFormat.YAML, domain, filename, test_stories=is_test
  File "c:\users\moraisca\anaconda3\envs\rasa\lib\site-packages\rasax\community\services\story_service.py", line
212, in get_story_steps
    return StoryService._reader_read_from_string(reader, story_string)
  File "c:\users\moraisca\anaconda3\envs\rasa\lib\site-packages\rasax\community\services\story_service.py", line
133, in _reader_read_from_string
    return reader.read_from_file(temp_path)
  File "c:\users\moraisca\anaconda3\envs\rasa\lib\site-packages\rasa\shared\core\training_data\story_reader\yaml_story_reader.py", line 98, in read_from_file
    filename, rasa.shared.utils.io.DEFAULT_ENCODING
  File "c:\users\moraisca\anaconda3\envs\rasa\lib\site-packages\rasa\shared\utils\io.py", line 129, in read_file
    f"Failed to read file '{os.path.abspath(filename)}', "
rasa.shared.exceptions.FileIOException: Failed to read file 'C:\Users\MORAISCA\AppData\Local\Temp\tmp_8mz0abk', could not read the file using utf-8 to decode it. Please make sure the file is stored with this encoding.

Sorry, something went wrong (see error above). Make sure to start Rasa X with valid data and valid domain and config files. Please, also check any warnings that popped up.
If you need help fixing the issue visit our forum: https://forum.rasa.com/.

Thanks for the issue, @alopez will get back to you about it soon!
You may find help in the docs and the forum, too 🤗

@alopez in advance, using an down grade of versions to the following it works
Rasa X | Rasa Open Source | Rasa SDK
0.32.2 | 1.10.14 | 1.10.2
We need help because we have bots to go to production

Seems similar to https://github.com/RasaHQ/rasa/issues/8201

Closing as it appears to be a duplicate of #8201