JDK16 - axon-messaging own unit test fail on

Hi:
Is there any plan to support JDK16 ?
Basic information

Axon Framework version: 4.5.1
JDK version:  16
artifactId: axon-messaging
Unit Test class: org.axonframework.eventhandling.ReplayTokenSerializationTest

Error
[INFO] Running org.axonframework.eventhandling.ReplayTokenSerializationTest
[ERROR] Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.01 s <<< FAILURE! - in org.axonframework.eventhandling.ReplayTokenSerializationTest
[ERROR] testTokenShouldBeSerializable{TestSerializer}[2]  Time elapsed: 0 s  <<< ERROR!
com.thoughtworks.xstream.converters.ConversionException:
No converter available
---- Debugging information ----
message             : No converter available
type                : java.util.concurrent.ConcurrentSkipListSet
converter           : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
message[1]          : Unable to make field private static final long java.util.concurrent.ConcurrentSkipListSet.serialVersionUID accessible: module java.base does not "opens java.util.concurrent" to unnamed modu
le @72b6cbcc
-------------------------------
        at org.axonframework.eventhandling.ReplayTokenSerializationTest.testTokenShouldBeSerializable(ReplayTokenSerializationTest.java:28)

Reason
According to the JEP 396 https://openjdk.java.net/jeps/396
Code that uses reflection to access private fields of exported java.* APIs will no longer work by default.

The serialization mechanism needs to be adjusted to avoid reflective access to the private serialVersionUID property of the java.* class.

There are definitely plans to support JDK 16.
Moving that direction will, however, have quite some impact on the framework.
As such, it is not a decision we can take lightly.
I'll leave your issue open as a marker for us that this is an issue for JDK 16.
But I cannot give you an ETA right now when work towards JDK 16 will start.
For moving forward with Axon Framework, it's easiest to move to another version of the JDK for now.
My apologies for any inconvenience this might cause.

understand ，thanks.

Much appreciated @zcglisp.
We'll be certain to be vocal about it as soon as we support JDK 16; don't worry :-)

Hi,
Now that JDK17 is available do you have an ETA for JDK16 and 17 support ?
Thanks!

Please follow this ticket to note when JDK 17 support will work.
The framework will internally not use JDK17 yet, as that's simply too much work on short notice.
Assuring it builds through JDK 17 should be doable in a more user-friendly timeline, however.

Hey @smcvb, it looks like the ticket you linked is merged and there's no follow up ticket linked. I'm still running into this issue with JDk17, are there any updates?

We haven't made any public issue for this indeed.
I have not forgotten the JDK 17 support from Axon, however.
Given the amount of work stacked up for AxonIQ, I don't have any immediate resources to get this done today or this week.
But, I can guarantee you it will happen. I just can't give you a date today.
If it's currently blocking you, any help to fix the JDK17 issues in the build is, of course, much appreciated.
Added, there's glory in this, as you'd be the one to enable JDK17 support for the framework in that case.
Hope this clarifies things for you @bbrinx!

Hi @smcvb, apologies if this has been addressed elsewhere, but is there an issue to track JDK17 so that we may sync our adoption with yours?

Thanks for the extended interest in this subject, @onodim.
I can confirm for you (and others reading this) that there are several users successfully combining Axon Framework with JDK 17.
As I've linked earlier (on September the 17th), we have adjusted the framework's build process to include JDK 17.
Although the JDK 17 build still fails (with a couple of known predicaments), it has not withheld others from using Java's latest.
So, @onodim, you should without any hassle be able to move to JDK17.
If predicaments remain, be sure to reach out here.

... but is there an issue to track JDK17 so that we may sync our adoption with yours?

As far as "syncable" tickets go, I guess this issue has become it ;-)

Thanks for the quick response @smcvb!
Actually we were seeing the serialization error that was mentioned in the initial description when using sagas with xstream and the JpaSagaStore with JDK17.
We switched the default serializer to jackson and with some jackson-specific annotations on the fields we need to serialize, and it seems to work. I know that the axon documentation specifically recommends against using jackson for the default serializer, but since we're still not in prod we'll watch this issue and switch when the xtream issue is resolved.
fwiw there seems to be a question issue on the xtream project discussing something similar, where someone suggested using --add-opens though we haven't tested this.

Ah, the point of XStream... The world of XStream seems to be breaking down somewhat, as becomes apparent from this issue.
One of the contributors (joehni) states the following on that issue:

Well, XStream mimics Java serialization, but it does stuff that is not available in public API and it even violates the Java specification (by calling for an object the ctor of the unserializable parent only). My guess is in combination with the security flaws, that it will be cut off in the long run also.
What does it mean for XStream? Actually it can still use reflection for types in modules that can be opened to it. You will be able to use it for your own types. For any stuff in the java.base module XStream will have to provide custom converters - reflection will no longer work. However, in consequence XStream will no longer be able to serialize some types out of the box at all (e.g. XStream will no longer be able to marshal a synchronized collection, because it cannot detect, what actual collection type is wrapped). Users of XStream will definitely have to write more custom converters in future.

Knowing this, we can assume we're required to write custom converters for Axon's XStreamSerializer.
Whenever the serialization issue arises from Java internals, the line blurs somewhat whether it's Axon's job, XStream's job, or the user's job.
So as long as things are in flux given XStream's time and place in conjunction with JDK17, I would recommend using the JacksonSerialzier Axon provides to serialize all components.
If you're not yet ready to go to JDK17, then sticking to the defaults (which is XStream) should work fine.

Got it, in that case we'd already come to the same conclusion :)
Our hesitation came from our understanding of the documentation that mentions that Jackson is good for events but not so much for the rest. Maybe a small mention in that paragraph of Jackson being the recommended way forward would save someone else from going down that rabbit hole :)

@smcvb, will xstream continue being supported by axon out of the box given the fact you recommend jackson for JDK17 projects?
As you can imagine migrating an existing project containing millions of events from xstream to jackson is not really an option :)

Couldn't agree more with @abuijze here.
We're definitely not planning such major breaking changes. :-)
FYI, the Reference Guide has seen an adjustment when it comes to the Serialization page to provide some additional guidance on the subject.
For those interested, the PR for that can be found here.

It's been some time, but we've ascertained that Axon Framework runs fine with JDK17.
We have more recently also confirmed the Axon Framework build to succeed on JDK17; this should give some additional certainty.
Adjusting the JDK Axon Framework releases with (currently JDK8) is, however, a breaking change.
As such, we need to postpone that process until we start work on Axon Framework 5.
Since JDK17 and below are ascertained to work with the current version of Axon Framework, I will close this issue as resolved.
Everybody can expect another ticket to upgrade the JDK version when efforts on Axon Framework 5 commence.


⚠ Jenkins Plugins Artifactory has degraded performance

In ac2be9c, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1255 ms

Resolved: Jenkins Plugins Artifactory performance has improved in ba68ade after 38 minutes.


Can we use curl to make the request?

Presumbaly BE is just wrapping curl, and it might make it more future friendly..

exactly

in progress in a private branch for later release


[Defaults]: Regex for AAC could be tweaked

Link to File
defaults/overlays/audio_codec.yml
Version Number
1.19.0-nightly66 (Docker)
What branch are you on?
nightly
Describe the Bug
Currently, the regex for AAC files is as follows:
- key: aac
  value: '(?i)\b(aac|stereo|2\.0)\b'

However, this is matching against some commentary tracks that I have encoded in Opus format:
<Stream id="371337" streamType="2" selected="1" default="1" codec="opus" index="1" channels="6" bitrate="361" language="English" languageTag="en" languageCode="eng" audioChannelLayout="5.1" requiredBandwidths="366,366,366,366,366,366,366,366" samplingRate="48000" title="Surround" displayTitle="English (OPUS 5.1)" extendedDisplayTitle="Surround (English OPUS 5.1)">
</Stream>
<Stream id="371338" streamType="2" codec="opus" index="2" channels="2" bitrate="164" language="English" languageTag="en" languageCode="eng" audioChannelLayout="stereo" requiredBandwidths="165,165,165,165,165,165,165,165" samplingRate="48000" title="Commentary" displayTitle="English (OPUS Stereo)" extendedDisplayTitle="Commentary (English OPUS Stereo)">
</Stream>

Not sure that PMM should be analyzing anything other than the first/default audio track, but that's another issue I'll open.
Since plenty of other audio formats can be in stereo and indeed have the word "stereo" or even "2.0" in them, I would suggest changing the regex to:
- key: aac
  value: '(?i)\baac.?(stereo|2\.0)\b'

This will capture anything that contains "aac" AND either "Stereo" or "2.0".  Personally, I would do away with the "Stereo" and "2.0" bits, but that's just me and it was likely put in there for a reason.

Now that I've done a little more investigating, it appears as though the codec of a given stream is available via the PlexAPI.  Would it make more sense to use that value rather than using regexes?

You're right. It's matching now to 'aac' or 'stereo' or '2.0', you also got for example aac 5.1 or 7.1 or other audio setups. or even mono could exist.
My suggestion would be:
the following regex
(?i)\baac.?(stereo|[0-9]\.[0-9]|mono)\b
I know HE-AAC (high efficency AAC) gets listed as HE-AAC i wonder if the for example  AAC-LD/AAC-LC also gets listed.
Otherways the regex needs further tweaking. or like you said only trigger on 'aac' but mayby they didnt wanted that since its such a short word that it might end up in some notes of the audio description.
or working towards something more like universal?
(?i)(?<![a-z])aac(?![a-z])
which will not accept the word aac if its in a word somehow, if theres before or after direct a letter after or before AAC

Generally speaking, the PMM Defaults files follow the TRaSH naming conventions (https://trash-guides.info/), so any changes would come from there.
I will make the suggestion that we take the task of re-checking and aligning to make sure we're up-to-date with their conventions.

Generally speaking, the PMM Defaults files follow the TRaSH naming conventions (https://trash-guides.info/), so any changes would come from there.
I will make the suggestion that we take the task of re-checking and aligning to make sure we're up-to-date with their conventions.

Removed my comment, but saw now you already replied.
Since my last suggestion was invalid, since the \b in the regex already does by checking its not in a word.
But thats explains, Since after reading your comment i checked and the regex for AAC is now:
  },   "name": "AAC",   "includeCustomFormatWhenRenaming": false,   "specifications": [{           "name": "AAC",           "implementation": "ReleaseTitleSpecification",           "negate": false,           "required": true,           "fields": {               "value": "\\bAAC(\\b|\\d)"           }       },
So seems they have tweaked it, so i guess re-checking of all would do good to sync up again incase other tweakings also be found.

Originally comment of mine:
You're right. It's matching now to 'aac' or 'stereo' or '2.0', you also got for example aac 5.1 or 7.1 or other audio setups. or even mono could exist.
My suggestion would be:
the following regex
(?i)\baac.?(stereo|[0-9]\.[0-9]|mono)\b
I know HE-AAC (high efficency AAC) gets listed as HE-AAC i wonder if the for example  AAC-LD/AAC-LC also gets listed.
Otherways the regex needs further tweaking. or like you said only trigger on 'aac' but mayby they didnt wanted that since its such a short word that it might end up in some notes of the audio description.
or working towards something more like universal?
(?i)(?<![a-z])aac(?![a-z])
which will not accept the word aac if its in a word somehow, if theres before or after direct a letter after or before AAC


wasm-bindgen broken from proc-macro2/serde

Hi, I'm not sure if this is an issue with proc-macro2 or serde but there is a bug that is causing the build for wasm-bindgen to break:
rustwasm/wasm-bindgen#263

Until we know what happened let's keep the discussion in one place: https://github.com/rustwasm/wasm-bindgen/issues/263. Thanks!


Reset Password Flow Using GeneratePasswordResetTokenAsync

It seems if you use GeneratePasswordResetTokenAsync to generate your own reset token it will not work in conjunction with ResetPasswordAsync.  It may be that the only way to initiate a password reset flow is to have Cognito generate the password reset email directly.

Hi,
You can have a look at this doc explaining which api to call for the reset workflow:
https://github.com/aws/aws-aspnet-cognito-identity-provider/blob/master/docs/5-User Management - Change and reset passwords.md
The apis are slightly different due to the nature of the workflow difference between Identity and Cognito.
As you mentioned, Cognito can not 'generate' a token, it only 'sends' a token to email, Hence the apis mentioned in the docs!

A doubt.
Is there a way for admin to create a new password without being interacted by email?
@fnalin, https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminSetUserPassword.html

@klaytaybai tks
worked perfectly


NTR: histone methyltransferase inhibitor activity

Please provide as much information as you can:

Suggested term label:
histone methyltransferase inhibitor activity (It's H3K27 but that seems very specific? I'm annotating the methylase target protein in an extension)

Definition (free text)
Binds to and stops, prevents or reduces the activity of histone methyltransferase, which catalyzes of the addition of a methyl group to histones, proteins complexed to DNA in chromatin and chromosomes

Reference, in format PMID:#######

30923826

Gene product name and ID to be annotated to this term
EZHIP

Parent term(s)

enzyme inhibitor activity
new? histone methyltransferase regulator activity
neg reg of histone methyltransferase activity

histone methyltransferase inhibitor activity GO180000

@pgaudet  should I add this grouping term?
histone methyltransferase inhibitor activity
Note that although  "enzyme inhibitor activity" has an equivalence axion, none of the descendants do. This should be easy to add, but do you already  have design patterns for these?


Oracle driver name has been changed to godror from goracle

same to title.  so bind. go  should be adjust

There is also a new library for Oracle in pure go https://github.com/sijms/go-ora which uses the driver name "oracle".


How to chain multiple controller actions to a single path?

I want to know if is possible to chain multiple controller actions actions to a single path like this:
 'get /chain': [         'AlgoController.fn1',         'AlgoController.fn2'     ]
I'm trying it but when I call next() in fn1 i got this error:

next (as in req,res,next) should never be called in an action function (but in action algo/fn1, it was!)  It was called with no arguments.  Please use a method like res.ok() or res.json() instead.

How can I call next function?

Hi @kalmecak,
We are in the process of moving all open Sails issues into one repo to help make it easier to keep an eye on issues.
Have a good day!


Consul, Zookeeper and etcd support for storing configuration

is there support for Consul, Zookeeper and etcd support for storing configuration?

etcd is supported (see https://helidon.io/docs/latest/#/config/08_supported-formats)

@m0mus What does P5 mean? Possibly being worked on?

@gcameo It means low priority. We will take a look on it eventually, but after more important tasks are finished. If you contribute a PR it would speed up the process significantly.

Helidon now has integration with Vault.


More Dependency updates for JDK17

I believe that with these extra dependency-updates at least the Maven build works with JDK17.

Perhaps you can also enable the jdk17 build in the github actions script?


Fails to detect automated tests

We have at least one repository, but I think a few other ones where GreenKeeper thinks that there are no automated tests, when there are several running on the repo. This leads to spamming of PR's that shouldn't need to be there as all tests are passing.
An example of that can be found here: https://github.com/AtomLinter/linter-sass-lint/pull/67
We've tried disabling greenkeeper and re-enabling it on this repo before, but that didn't seem to work. Is there something we aren't setting up properly, or why is it failing to detect them for this repository?

Hey @Arcanemagus,
sorry for this. I just had a quick look at your Travis configuration and saw that you're only running the tests on master. https://github.com/AtomLinter/linter-sass-lint/blob/master/.travis.yml#L20-L22
Greenkeeper creates branches on your own repository and subscribes to status changes, which don't happen, because Travis does not run without us opening a PR.
I'd suggest you add at least greenkeeper-* to that branches list in the .travis.yml.
Happy to reopen if that didn't help.
Best,
Stephan

Actually that's not quite the way it works, the CI configuration like that still runs a test on the branch, it just runs a test on the state of master as if the branch had been merged in, instead of the branch itself. If you don't have that configuration Travis runs two sets of builds for every PR.
You can see that Travis is still running on the branch, and we have dozens of other repositories configured in this manner that work just fine. When I first filed this it looks like I was mistaking this for a different repo where this issue is more common, I'm trying to find that now.
If you want an example of this configuration working just fine this PR on linter-stylelint ran properly, even though it's Travis configuration is the same.

Ah, looks like the other problem repo was linter-pydocstyle, see this PR.

Going to jump onto this as well and say it's not working for me, but I use a less-strict config: https://github.com/yaycmyk/markdown-to-jsx/blob/master/.travis.yml
However, greenkeeper doesn't detect that the tests do in fact run: https://github.com/yaycmyk/markdown-to-jsx/pull/14


bound param of value null causes error

Describe The Bug
If the parameter of a prepared statement has the value null an error occurs int he library code
To Reproduce

query SELECT :a  (does not have to be executed)
bind :a to null

Error Stack
batchUpdate error: TypeError: Cannot read property 'getDate' of null
    at Connection.generateBindDefinitionEntry (/home/till/IdeaProjects/bas-syncserver/server/node_modules/simple-oracledb/lib/connection.js:1691:25)
    at Connection.generateBindDefinitions (/home/till/IdeaProjects/bas-syncserver/server/node_modules/simple-oracledb/lib/connection.js:1740:18)
    at Connection.insertOrUpdate (/home/till/IdeaProjects/bas-syncserver/server/node_modules/simple-oracledb/lib/connection.js:581:14)

Code Sample
oracleconnection.batchUpdate(`SELECT :a`,[{a: null}]);

The reason is here:
Connection.prototype.generateBindDefinitionEntry = function (bindDefinitions, key, item) {
 if (typeof item === 'object') {
        if (typeof item.getDate === 'function') {

as null is considered type object

Hi, i'd love to, but wont, because i actually am not sure what to do with an item of type null here. I mean what to do with bindDefinitions if anything.

In node-oracledb:
    const sql = `select :a from dual`;
    const binds = [null];
    const options = { outFormat: oracledb.OUT_FORMAT_OBJECT };
    const result = await connection.execute(sql, binds, options);
    console.dir(result, { depth: null });

gives
 { metaData: [ { name: ':A' } ], rows: [ { ':A': null } ] }

@sagiegurari If it helps, you can create a free DB using Oracle Cloud https://www.oracle.com/cloud/free/  The top level wording is confusing IMHO but the bottom two boxes have the details. You start with a free trial to all services. At the end of the trial you get to keep using free DB and free compute and some other free bits and pieces forever.


Cursor is pointer on algolia search modal in docs website

What version of Remix are you using?
remix.run
Are all your remix dependencies & dev-dependencies using the same version?

[X] Yes

Steps to Reproduce

Access remix.run/docs
Click top left algolia search button.
Cursor is pointer on the modal.

Expected Behavior
Cursor is default on the modal.
Actual Behavior
Cursor is pointer on the modal.
Algoliasearch modal has [role=button] attribute.
When [role=button], cursor is pointer.
This class is set by TailwindCSS.
But algoliasearch don't set css for cursor.
So add css for cursor, fix that.
Ex.
.DocSearch-Container {
    cursor: auto;
}

Hey, Assign this task to me I solved it.


四个多月都没更新了呀，不知道什么时候可以发布新版本呢

我们鼓励使用英文，如果不能直接使用，可以使用翻译软件，您仍旧可以保留中文原文。
We recommend using English. If you are non-native English speaker, you can use the translation software.
Which Component
eg. Nacos Discovery, Sentinel
Describe what problem you have encountered
A clear and concise description of what you want to do.
Describe what information you have read
eg. I have read the reference doc of Sentinel

我们鼓励使用英文，如果不能直接使用，可以使用翻译软件，您仍旧可以保留中文原文。 We recommend using English. If you are non-native English speaker, you can use the translation software.
Which Component eg. Nacos Discovery, Sentinel
Describe what problem you have encountered A clear and concise description of what you want to do.
Describe what information you have read eg. I have read the reference doc of Sentinel

A new version is expected to be released next week


[Docs]: Add A Troubleshooting guide for Dynamic Menu

Is there an existing issue for this?

[X] I have searched the existing issues

Engineering Ticket Link
NA
Release Date
NA
First Draft
No response
Loom video
No response
Discord/slack/intercom Link if needed
No response
PRD
No response
Test plan/cases
No response
Use cases or user requests
Add a troubleshooting section under widget errors for 'source array has more than 10 items.
If the dynamic source array has more than 10 items, the SourceData fields show an error message: Source data cannot have more than 10 items.

Closing this issue as the troubleshooting guide in itself is not extra helpful. The callout in the widget reference guide is enough - https://docs.appsmith.com/reference/widgets/menu-button#dynamic
Besides there is nothing more we are saying besides what is already in the error message. cc: @jnikhila


settings for multiple vector tile sources

I am looking at how to combine multiple vector tile files. Could you explain what settings are needed to have a single entry point containing vector tile data of both (or multiple) sources?

You mean like the "all" alias that the Mapzen be Tor tile service uses? That's controlled in the main config.yaml file in vector-datasource.

On Oct 2, 2016, at 07:54, musicformellons<EMAIL_ADDRESS>wrote:
I am looking at how to combine multiple vector tile files. Could you explain what settings are needed to have a single entry point containing vector tile data of both (or multiple) sources?
―
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I am not sure I understand, so I will try to be more specific. I would like to use Mapzen vector-datasource (mvt) tiles and combine these with an extra custom layer in vector tile (mvt) format. I use mapbox-gl-js and there I find (this is mapbox-gl but at mapbox-gl-js they reference to this, so it applies to both):
https://github.com/mapbox/mapbox-gl-native/issues/3141#issuecomment-160581589
tl;dr: Should be solved on server side (and thus both sources should come from same server). So I should have my own vector-data tiles and my custom layer and solve it at the server. I am not exactly sure how to do that:

Do you first have 'to mingle' (compositing) them together at database level?
Or could just serve multiple tiles and set the server to do so?

Hope it makes sense.

Could it be you mean this 'all' in vector-datasource/queries.yaml ?
all:

water
earth
places
landuse
roads
buildings
pois
boundaries
transit

These guys make it look easy:
https://github.com/osm2vectortiles/osm2vectortiles/issues/26
stating: "vector tiles are designed in a way which supports merging by direct binary concatenation."

Oops, I had a weird auto correct about Tor in my last comment! I meant to say Mapzen vector tiles.
We use tilezen/tileserver for decomposition:
https://github.com/tilezen/tileserver/blob/master/tileserver/__init__.py
It listens for requests to for certain layers - if a layer other than "all" is asked for them we'll peal out just those layers to return in the response (which is comparable with osm2vectortiles statement).
But this only decomposes the general Tilezen tiles, it doesn't (yet) have logic to combine &/or decompose any arbitrary tile data from arbitrary sources.

On Oct 2, 2016, at 10:32, musicformellons<EMAIL_ADDRESS>wrote:
These guys make it look easy:
osm2vectortiles/osm2vectortiles#26
stating: "vector tiles are designed in a way which supports merging by direct binary concatenation."
―
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks. That would be a useful feature to add I think.

Closing for inactivity.


عباس

[Enter feedback here]

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

ID: 345168b8-6731-39db-e34e-31cc3573ddea
Version Independent ID: 345168b8-6731-39db-e34e-31cc3573ddea
Content: Create and reply to comments in bot topics - Power Virtual Agents
Content Source: power-virtual-agents/authoring-comments.md
Service: power-virtual-agents
GitHub Login: @iaanw
Microsoft Alias: iawilt

مرحبا

ممكن استشاره

Hi

كيف اكون شخصيه قويه

Thanks for your comment, @Abbas8484. This issue has been assigned to the doc author for review.

Closing as I don't know what the request is.


Extract conversions to a separate crate

The conversions listed in conversions.rs file
https://github.com/foundry-rs/starknet-foundry/blob/621a1a5abb49fe41f459f655901cff0c915809e8/crates/cheatnet/src/conversions.rs#L8
Should be moved to a separate crate (like cheatnet and forge).
They also should be unified to use a reference to an object, and return a new object (so that they don't drop the used value, for convenience).

there is one
contract_address_from_felt252

@war-in i think it's no longer the case and it's been changed


Fullscreen landscape video does not fill screen

I have found this code extremely helpful, I was just wondering if you might know why I'm having this issue.
The activity my video enabled WebView is housed in is required to be in portrait mode. I want the full screen video layout to be in landscape. I tried "faking" this by rotating the container for the full screen video layout, however this gives me two issues.

Rotated video does not fill the entire screen.
The YouTube video player controls disappear.

Any ideas why this is happening / how to fix? Thanks!
<RelativeLayout
   android:id="@+id/videoLayout"
   android:layout_width="match_parent"
   android:layout_height="match_parent"
   android:rotation="90" />

           activityVideoView.addView(videoViewContainer, new ViewGroup.LayoutParams(100,  100);
You will find this in the VideoEnabledWebChromeClient.java.


pure objective-c library

What is the issue?
... Swift libraries are a non starter, need old documentation information that relates to the unfortunately obsoleted library. Need to set up a global channel and am having problems finding the requisite information.
Is it a crash report? Submit stack traces or anything that you think would help
...
Any improvements you suggest
don't force people to use swift.
...

CC @pusher/mobile

Why are Swift libraries a non-starter for you? What old documentation are you referring to, and which obsoleted library? Also what global channel are you talking about?
You can always use libPusher if you'd prefer an Objective-C library.

I think i probably meant public channel. i figured out my problem. however to elaborate why swift libraries are a non starter.

fragile, apple has taken way to long to care about API/ABI stability
dreadful build speeds
tether you to the latest version of Xcode
drastic increase in app binary size
with all its flaws swift has zero benefit over obj-c, & strict typing is counterproductive. so i refuse to use any swift in any of my projects.

don't know why i had trouble finding the libpusher repo again since its the one im already using.
thanks.


Amplify.Auth does not Sendable conform, will this be solved until release of Swift 6?

Describe the bug
Regarding using Amplify.Auth in SwiftUI with Swift 5.10, there will be warnings over all the place because some of the Auth's classes, protocols, etc. are not actor'ized.
This will lead to compilation errors in Swift 6 but currently there will be a lot of warnings that may break CI checks for warning threshold.
If this can be solved in the client app, please let me know.
Steps To Reproduce
Steps to reproduce the behavior:
1. Create a SwiftUI project
2. Embed `2.36.0` of Amplify iOS SDK
3. Use methods like `_ = await Amplify.Auth.signOut()`
4. See warnings (Swift 5) or errors (Swift 6)

> Non-sendable type 'any AuthSignOutResult' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary

Expected behavior
Amplify.Auth works fine with SwiftUI, actors
Amplify Framework Version
2.36.0
Amplify Categories
Auth
Dependency manager
Swift PM
Swift version
5.10
CLI version
not installed - iOS only
Xcode version
Version 15.4 (15F31d)
Relevant log output
<details>
<summary>Log Messages</summary>
No logs
</details>

Is this a regression?
No
Regression additional context
No response
Platforms
iOS
OS Version
iOS 17
Device
all
Specific to simulators
no
Additional context
No response

Reference to class property 'Auth' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6 is also shown from a line such as
let result = await Amplify.Auth.signOut()

Is there any update on this issue?
@5d did you enable the Swift 6 warnings? :)

@5d I am using Xcode 15.3 with Strict Concurrency Checking set to Complete

Thank you for your patience - our team will take a look and post updates here.


begin What's New update for 2.7.0

Signed-off-by: Gary A Korhonen<EMAIL_ADDRESS>
Summary
Fixes #4777

Updating the What's New section in Dashboard for 2.7.0 (with references to 2.6.8 and 2.6.9)
Occurred changes and/or fixed issues
The UI has a section that details, from a high level, what's new with each version of Rancher since 2.6.0.
Areas or cases that should be tested

Make sure the copy is legible, rendered logically and accurate

Codecov Report
Base: 36.88% // Head: 36.82% // Decreases project coverage by -0.06% :warning:

Coverage data is based on head (b31e285) compared to base (bae50a2).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7172      +/-   ##
==========================================
- Coverage   36.88%   36.82%   -0.07%
==========================================
  Files         986      986
  Lines       17633    17647      +14
  Branches     4541     4544       +3
==========================================
- Hits         6504     6498       -6
- Misses      11129    11149      +20

Flag
Coverage Δ

e2e
47.35% <ø> (-0.08%)
:arrow_down:

merged
36.82% <ø> (-0.07%)
:arrow_down:

unit
5.20% <ø> (-0.01%)
:arrow_down:

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

Impacted Files
Coverage Δ

shell/mixins/metric-poller.js
77.77% <0.00%> (-22.23%)
:arrow_down:

shell/plugins/steve/steve-class.js
33.33% <0.00%> (-16.67%)
:arrow_down:

shell/plugins/steve/mutations.js
34.04% <0.00%> (-12.77%)
:arrow_down:

shell/utils/poller.js
75.00% <0.00%> (-10.00%)
:arrow_down:

shell/plugins/dashboard-store/mutations.js
58.27% <0.00%> (-7.95%)
:arrow_down:

shell/utils/gc/gc.ts
27.50% <0.00%> (-3.34%)
:arrow_down:

shell/mixins/resource-fetch.js
81.15% <0.00%> (-2.90%)
:arrow_down:

shell/plugins/dashboard-store/actions.js
51.72% <0.00%> (-2.69%)
:arrow_down:

shell/config/uiplugins.js
29.41% <0.00%> (-2.51%)
:arrow_down:

shell/models/management.cattle.io.cluster.js
28.78% <0.00%> (-0.75%)
:arrow_down:

... and 11 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@gaktive I've updated the text for extensions - please take a look. Thanks.


Closing a window immediately destroys background blur instead of at animation end

Hyprland Version
da863459c49c8b9a82e6a1180c2592a2b63feccd
Bug or Regression?
Bug
Description
This is more like a request/improvement than a bug.
When you close a window (with blur enabled) the blur is destroyed immediately when the animation starts, which leads to a flash of the background, and a less pleasant animation.
Destroying the blur after the animation ended would be a more pleasant experience, in my opinion.
In the video I slowed down the animations a little bit, and gave more transparency than I actually use, but without these changes it's noticeable enough.
How to reproduce

Open a window
Close the window

Crash reports, logs, images, videos
https://github.com/hyprwm/Hyprland/assets/150595692/d43b60c1-a672-49ec-9b38-3734b1c5073d

it's been like that forever, and it's because of how the snapshot is stored. :/

I assumed, that's why I said it's more like a request. Feel free to close the issue if it's complicated to implement, I can live without it.


[ADP-3084] Bring back the flaky test SHARED_TRANSACTIONS_DELEGATION_02

[x] Bring back the test after merged fixes
[x] use noRetiringPools in NEW_TRANS_JOIN_01)

ADP-3084

No progress


Calico for windows network issue with BGP networking on RKE cluster

Calico for windows network issue with BGP networking on RKE cluster
Expected Behavior

While configuring calico for windows on RKE cluster(provisioned by Rancher Dashboard), I followed official documentation
https://docs.projectcalico.org/getting-started/windows-calico/kubernetes/rancher
In this case we have used BGP networking
https://docs.projectcalico.org/getting-started/windows-calico/quickstart#install-calico-for-windows
The Expected behavior would be ConnectivityStatus should be Connected for all windows and linux nodes. This causing the  issue that the windows pod can not communicate with service/pod which is running on linux node
Current Behavior

Get-BgpPeer

PeerName         LocalIPAddress PeerIPAddress PeerASN OperationMode ConnectivityStatus
--------         -------------- ------------- ------- ------------- ------------------
Mesh_****                 ****    WindowsNode2   64512   Mixed         Connected
Mesh_****                 ****    LinuxNode1   64512   Mixed         Connecting
Mesh_****                 ****    LinuxNode2   64512   Mixed         Connecting
Mesh_****                 ****    LinuxNode3   64512   Mixed         Connecting
Mesh_****                 ****    LinuxNode4   64512   Mixed         Connecting
Mesh_****                 ****    LinuxNode5   64512   Mixed         Connecting
Mesh_****                 ****    LinuxNode6   64512   Mixed         Connecting
Mesh_****                 ****    LinuxNode7   64512   Mixed         Connecting
Mesh_****                 ****    LinuxNode8   64512   Mixed         Connecting

Steps to Reproduce (for bugs)

Provision RKE cluster(all linux nodes) with Calico as plugin from Rancher Manager Dashboard (BGP peering and IPIP overlay)
Try to register windows nodes into the RKE cluster by configuring Calico For Windows with BGP networking model
Ref: - https://docs.projectcalico.org/getting-started/windows-calico/kubernetes/rancher
After registering the windows nodes into the  RKE cluster, try to communicate from windows pod to one of service/pod running on linux nodes internally (as shown in the diagram)

Context

We are trying to setup windows logging with loki-promtail. For that windows-promtail configured  as a daemonset  and then trying to send logs from windows promtail pods to loki for segregation (here loki service internal fqdn - loki-loki.loki-loki.svc.cluster.local)
Your Environment

Calico version =  v3.18.1
Orchestrator version (e.g. kubernetes, mesos, rkt): v1.19.6
Operating System and version: RHEL8.2 / Windows Server 2019
Link to your project (optional): - https://rancher.com/docs/rke/latest/en/

Please find attached files
i) calico-confd-err.log
ii) calico-config_linux_rke
iii) calico-config-windows
iv) calico-node.log
calico-confd-err.log
calico-config_linux_rke.txt
calico-config_windows.txt
calico-node.log

@lwr20 could you please assist in this?

@song-jiang is the windows expert.
A couple of questions from me though - is there anything blocking BGP (TCP port 179) between nodes in your network?  What does the BGP status look like from the Linux nodes?  i.e. run calicoctl node status on one of your linux nodes.
You say you're using BGP and IPIP overlay in your cluster, but the windows quickstart says this mode is explicitly NOT supported.  https://docs.projectcalico.org/getting-started/windows-calico/quickstart#before-you-begin

Networking must be VXLAN or BGP without encapsulation. (Note: for EKS, networking is set to none since AWS VPC networking is used.)

Can you try to access pod ip between linux pod and windows pod? Maybe this is an kube-proxy issue.
As @lwr20 said, IPIP is not supported on Windows.

Hi @song-jiang and @lwr20
Sorry for late reply. Thanks for your suggestions.
I patch up the bgp Ipv4 address for each windows nodes. Now the BGP peer status showing connections are Established,
but connectivity from linux pod/service to windows pod/service and vice versa still not working
./calicoctl node status
Calico process is running.

IPv4 BGP status
+--------------+-------------------+-------+----------+-------------+
| PEER ADDRESS |     PEER TYPE     | STATE |  SINCE   |    INFO     |
+--------------+-------------------+-------+----------+-------------+
| xx.xxx.x.21  | node-to-node mesh | up    | 09:36:48 | Established |
| xx.xxx.x.22  | node-to-node mesh | up    | 09:36:48 | Established |
| xx.xxx.x.12  | node-to-node mesh | up    | 09:36:48 | Established |
| xx.xxx.x.13  | node-to-node mesh | up    | 09:36:49 | Established |
| xx.xxx.x.31  | node-to-node mesh | up    | 09:36:48 | Established |
| xx.xxx.x.32  | node-to-node mesh | up    | 09:36:48 | Established |
| xx.xxx.x.33  | node-to-node mesh | up    | 09:36:50 | Established |
| xx.xxx.x.41  | node-to-node mesh | up    | 09:57:32 | Established |   Windows node1
| xx.xxx.x.42  | node-to-node mesh | up    | 10:07:49 | Established |   Windows node2
+--------------+-------------------+-------+----------+-------------+

IPv6 BGP status
No IPv6 peers found.

from windows pod to linux pod connectivity test

PS C:\Users\Administrator> kubectl -n logging exec -it loki-promtail-win-7zfkd -- powershell
PS C:\Loki> ping xx.xx.xxx.17

Pinging xx.xx.xxx.17 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.

Following are my findings
ICMP may be blocked some reason

Windows Pod <-> Windows Pod: Is it available?(Ping/Curl)

PS C:\Users\Administrator> kubectl.exe get pods -n logging -o wide
NAME                      READY   STATUS    RESTARTS   AGE   IP             NODE       NOMINATED NODE   READINESS GATES
loki-promtail-win-7zfkd   1/1     Running   1          25d   xx.xx.xxx.89   cpocww01   <none>           <none>
loki-promtail-win-j6rzq   1/1     Running   0          25d   xx.xx.xxx.80   cpocww02   <none>           <none>
PS C:\Users\Administrator>

PS C:\Loki> ping  xx.xx.xxx.89

Pinging xx.xx.xxx.89 with 32 bytes of data:
Reply from xx.xx.xxx.89: bytes=32 time<1ms TTL=128
Reply from xx.xx.xxx.89: bytes=32 time<1ms TTL=128
Reply from xx.xx.xxx.89: bytes=32 time<1ms TTL=128

Ping statistics for xx.xx.xxx.89:
    Packets: Sent = 3, Received = 3, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
Control-C
PS C:\Loki>

Windows Pod --> Service -> Linux Pod and Windows Pod: Is it available from Linux Pod and Windows Pod?(Ping/Curl)
Ans: The linux service (loki-stak) connecting from windows pod (loki-promtail-win)

PS C:\Users\Administrator> kubectl.exe get svc -n loki-stack -o wide
NAME                  TYPE        CLUSTER-IP     EXTERNAL-IP   PORT(S)          AGE    SELECTOR
loki-grafana          ClusterIP   xx.xx.xxx.18   <none>        80/TCP           37d    app.kubernetes.io/instance=loki-grafana,app.kubernetes.io/name=grafana
loki-stack            NodePort    xx.xx.xxx.58   <none>        3100:xxxxx/TCP   121d   app=loki,release=loki-stack
loki-stack-headless   ClusterIP   None           <none>        3100/TCP         121d   app=loki,release=loki-stack
PS C:\Users\Administrator>

PS C:\Loki> Test-NetConnection "xx.xx.xxx.58" -DiagnoseRouting -InformationLevel Detailed
ComputerName                      : xx.xx.xxx.58
RemoteAddress                     : xx.xx.xxx.58
SelectedSourceAddress             : xx.xx.xxx.89
OutgoingInterfaceIndex            : 37
SelectedNetRoute                  : DestinationPrefix: <IP_ADDRESS>/0
                                    NextHop: xx.xx.xxx.66
DestinationAddressSelectionEvents :
RouteSelectionEvents              :
SourceAddressSelectionEvents      :
RouteDiagnosticsSucceeded         : True

Windows BGB connection(Get-BGPPeer)?

PS C:\Users\Administrator> Get-BGPPeer

PeerName         LocalIPAddress PeerIPAddress PeerASN OperationMode ConnectivityStatus
--------         -------------- ------------- ------- ------------- ------------------
Mesh_xx_xxx_xx_11 xx.xxx.x.41    xx.xxx.x.11   64512   Mixed         Connected
Mesh_xx_xxx_xx_12 xx.xxx.x.41    xx.xxx.x.12   64512   Mixed         Connected
Mesh_xx_xxx_xx_13 xx.xxx.x.41    xx.xxx.x.13   64512   Mixed         Connected
Mesh_xx_xxx_xx_21 xx.xxx.x.41    xx.xxx.x.21   64512   Mixed         Connected
Mesh_xx_xxx_xx_22 xx.xxx.x.41    xx.xxx.x.22   64512   Mixed         Connected
Mesh_xx_xxx_xx_31 xx.xxx.x.41    xx.xxx.x.31   64512   Mixed         Connected
Mesh_xx_xxx_xx_32 xx.xxx.x.41    xx.xxx.x.32   64512   Mixed         Connected
Mesh_xx_xxx_xx_33 xx.xxx.x.41    xx.xxx.x.33   64512   Mixed         Connected
Mesh_xx_xxx_xx_42 xx.xxx.x.41    xx.xxx.x.42   64512   Mixed         Connected

You can't ping to service IPs in kubernetes.  You'll need to use curl or the windows equivalent.

Can you access Linux pod by a Windows pod via Pod IP? I don't see the output from your log above.

Can you access Linux pod by a Windows pod via Pod IP? I don't see the output from your log above.

No, I can't

from windows loki-promtail-win pod to linux loki-stack pod

PS C:\Loki> New-Object System.Net.Sockets.TcpClient("xx.xx.xxx.58", 3100)
New-Object : Exception calling ".ctor" with "2" argument(s): "A connection attempt failed because the connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to respond xx.xx.xxx.58:3100"
At line:1 char:1
+ New-Object System.Net.Sockets.TcpClient("xx.xx.xxx.58", 3100)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [New-Object], MethodInvocationException
    + FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCommand

linux pod to windows pod

kubectl -n loki-stack run -i --tty busybox --image=busybox --restart=Never -- sh
If you don't see a command prompt, try pressing enter.
/ # ping xx.xx.xx.98
PING xx.xx.xxx.98 (xx.xx.xxx.98): 56 data bytes

It could be a routing issue. I saw errors in calico-confd-err.log . Could you verify if you see routes from your Linux node  to windows pod cidr by executing ip r ?

@song-jiang Sorry for late reply
I tried to change from bgp to vxlan on both windows and linux nodes(RKE)
- Windows
Calico Networking Backend from windows-bgp to vxlan

- Linux

name: CALICO_IPV4POOL_VXLAN
value: Always

- env:
        - name: DATASTORE_TYPE
          value: kubernetes
        - name: WAIT_FOR_DATASTORE
          value: "true"
        - name: NODENAME
          valueFrom:
            fieldRef:
              apiVersion: v1
              fieldPath: spec.nodeName
        - name: CALICO_NETWORKING_BACKEND
          valueFrom:
            configMapKeyRef:
              key: calico_backend
              name: calico-config
        - name: CLUSTER_TYPE
          value: k8s,bgp
        - name: IP
          value: autodetect
        - name: CALICO_IPV4POOL_IPIP
          value: Never
        - name: CALICO_IPV4POOL_VXLAN
          value: Always
        - name: FELIX_IPINIPMTU
          valueFrom:
            configMapKeyRef:
              key: veth_mtu
              name: calico-config
        - name: FELIX_VXLANMTU
          valueFrom:
            configMapKeyRef:
              key: veth_mtu
              name: calico-config
        - name: FELIX_WIREGUARDMTU
          valueFrom:
            configMapKeyRef:
              key: veth_mtu
              name: calico-config
        - name: CALICO_IPV4POOL_CIDR
          value: <IP_ADDRESS>/16
        - name: CALICO_DISABLE_FILE_LOGGING
          value: "true"
        - name: FELIX_DEFAULTENDPOINTTOHOSTACTION
          value: ACCEPT
        - name: FELIX_IPV6SUPPORT
          value: "false"
        - name: FELIX_LOGFILEPATH
          value: none
        - name: FELIX_LOGSEVERITYSYS
        - name: FELIX_LOGSEVERITYSCREEN
          value: Warning
        - name: FELIX_HEALTHENABLED
          value: "true"
        - name: FELIX_IPTABLESBACKEND
          value: auto

but still connection from  linux to windows pod is not working.

@song-jiang
Even I tried with Never on RKE cluster and on windows  with windows-bgp.
spec:
        containers:
        - env:
          - name: DATASTORE_TYPE
            value: kubernetes
          - name: WAIT_FOR_DATASTORE
            value: "true"
          - name: NODENAME
            valueFrom:
              fieldRef:
                apiVersion: v1
                fieldPath: spec.nodeName
          - name: CALICO_NETWORKING_BACKEND
            valueFrom:
              configMapKeyRef:
                key: calico_backend
                name: calico-config
          - name: CLUSTER_TYPE
            value: k8s,bgp
          - name: IP
            value: autodetect
          - name: CALICO_IPV4POOL_IPIP
            value: Never
          - name: CALICO_IPV4POOL_VXLAN
            value: Never
          - name: FELIX_IPINIPMTU
            valueFrom:
              configMapKeyRef:
                key: veth_mtu
                name: calico-config
          - name: FELIX_VXLANMTU
            valueFrom:
              configMapKeyRef:
                key: veth_mtu
                name: calico-config
          - name: FELIX_WIREGUARDMTU

@vgaurihar did you ever get to the bottom of this?


Add chef/rest as a requirement for Chef 12.7 compatibility

This changed in Chef 12.7 due to an API deprecation
Resolves #34

I think the idea was to stop using Chef::REST entirely. /cc @thommay

@coderanger could be a re-factor later in another PR. This resolves the current issue at hand, but this particular change could break previous chef version compatibility too.

Added a rescue block to help with compatibility. Seems this issue goes a bit deeper into the actual push clients themselves in https://github.com/chef/opscode-pushy-client/pull/84

there's already a rest method in Chef::Knife that will do the right thing; the correct fix here, and one that will work for all of time, is to simply stop creating a new rest instance and use the one provided.

so I'm :-1: on this change as it stands, we're just creating work for ourselves down the line.

@thommay Any guidence on where to look for that API then? As it stands push-jobs client and server are broken across ChefDK 0.11.0, Chef Server 12.4.1, and Chef Client 12.7.2

delete all the lines like rest = Chef::REST.new(Chef::Config[:chef_server_url]), and it should just work.

@thommay Even for older Chef clients?

@martinisoft yeah, all the way back to Chef 0.9 at least

@thommay All corrected :+1:

you shouldn't need the imports either…

@thommay Done :+1:

:+1: LGTM, thanks!

Cleaned up the white spacing so the change set is cleaner and smaller.

:+1: Good solution, thanks for taking the time to sort this out @martinisoft

:+1:

:+1:

:+1:

@stevendanna Welcome! Would love to see this and the related issues merged because we're currently unable to use Chef Push Jobs at all with ChefDK 0.11, Chef Server 12.4.1, and Chef Client 12.7.2 :cry:

@thommay I think this is still broken:
/Users/scalp/.rvm/gems/ruby-2.2.4@chef/bundler/gems/knife-push-e295f1e87927/lib/chef/knife/job_helpers.rb:97:in `run_helper': undefined local variable or method `rest' for Chef::Knife::JobHelpers:Module (NameError)
	from /Users/scalp/.rvm/gems/ruby-2.2.4@chef/bundler/gems/knife-push-e295f1e87927/lib/chef/knife/job_start.rb:106:in `run'
	from /Users/scalp/.rvm/gems/ruby-2.2.4@chef/gems/chef-12.8.1/lib/chef/knife.rb:421:in `block in run_with_pretty_exceptions'
	from /Users/scalp/.rvm/gems/ruby-2.2.4@chef/gems/chef-12.8.1/lib/chef/local_mode.rb:44:in `with_server_connectivity'
	from /Users/scalp/.rvm/gems/ruby-2.2.4@chef/gems/chef-12.8.1/lib/chef/knife.rb:420:in `run_with_pretty_exceptions'
	from /Users/scalp/.rvm/gems/ruby-2.2.4@chef/gems/chef-12.8.1/lib/chef/knife.rb:219:in `run'
	from /Users/scalp/.rvm/gems/ruby-2.2.4@chef/gems/chef-12.8.1/lib/chef/application/knife.rb:148:in `run'
	from /Users/scalp/.rvm/gems/ruby-2.2.4@chef/gems/chef-12.8.1/bin/knife:25:in `<top (required)>'
	from /Users/scalp/.rvm/gems/ruby-2.2.4@chef/bin/knife:22:in `load'
	from /Users/scalp/.rvm/gems/ruby-2.2.4@chef/bin/knife:22:in `<main>'
	from /Users/scalp/.rvm/gems/ruby-2.2.4@global/bin/ruby_executable_hooks:15:in `eval'
	from /Users/scalp/.rvm/gems/ruby-2.2.4@global/bin/ruby_executable_hooks:15:in `<main>'

$> bundle show | egrep "chef \(|knife-push"
  * chef (12.8.1)
  * knife-push (0.9.1 e295f1e)

@scalp42 Can you try this with 12.7.2 and re-test? I'm wondering if 12.8.1 introduced a regression there.

I think the issue is that JobHelper is used via module methods rather than being mixed into the knife command's class so it doesn't have access to the rest method.

@martinisoft trying right now with 12.7.2
Will report.

@martinisoft @stevendanna
scalp@mbp42:~/chef (*)>  bundle show | egrep "chef \(|knife-push"
  * chef (12.7.2)
  * knife-push (0.9.1 e295f1e)

scalp@mbp42:~/chef (*)> bundle exec knife job list | tail
run_timeout: 1200
status:      complete
updated_at:  Sun, 13 Mar 2016 07:19:41 GMT

command:     apt-purge
created_at:  Sun, 13 Mar 2016 21:34:17 GMT
id:          7d5743956007883752a3bfcb09470580
run_timeout: 30000
status:      complete
updated_at:  Sun, 13 Mar 2016 21:34:25 GMT

scalp@mbp42:~/chef (*)> bundle exec knife job start apt-purge -s 'chef_environment:*' --timeout  30000 --quorum 1%
ERROR: knife encountered an unexpected error
This may be a bug in the 'job start' knife command or plugin
Please collect the output of this command with the `-VV` option before filing a bug report.
Exception: NameError: undefined local variable or method `rest' for Chef::Knife::JobHelpers:Module

So that is probably related to #36 then, what do you think @stevendanna and @thommay ?

Can confirm this is still an issue, any headway on it (error report below)?
Getting an undefined rest error for me using a fresh install of the ChefDK and fresh install of knife-push
INFO: Using configuration from /Users/austin/chef/chef-repo/.chef/knife.rb
/Users/austin/.chefdk/gem/ruby/2.1.0/gems/knife-push-0.9.1/lib/chef/knife/job_helpers.rb:95:in `run_helper': undefined local variable or method `rest' for Chef::Knife::JobHelpers:Module (NameError)
	from /Users/austin/.chefdk/gem/ruby/2.1.0/gems/knife-push-0.9.1/lib/chef/knife/job_start.rb:106:in `run'
	from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/knife.rb:416:in `block in run_with_pretty_exceptions'
	from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/local_mode.rb:44:in `with_server_connectivity'
	from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/knife.rb:415:in `run_with_pretty_exceptions'
	from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/knife.rb:214:in `run'
	from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/application/knife.rb:148:in `run'
	from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/bin/knife:25:in `<top (required)>'
	from /opt/chefdk/bin/knife:50:in `load'
	from /opt/chefdk/bin/knife:50:in `<main>'

knife-push:
$ gem list | grep knife-push
knife-push (0.9.1)

ChefDk:
$ chef -v
Chef Development Kit Version: 0.11.2
chef-client version: 12.7.2
berks version: 4.2.0
kitchen version: 1.5.0

$ knife -v
Chef: 12.7.2

ChefDk packaged ruby:
$ which ruby
/opt/chefdk/embedded/bin/ruby
$ ruby -v
ruby 2.1.6p336 (2015-04-13 revision 50298) [x86_64-darwin12.0]

#36 is the bug report on this issue, stop responding to a closed+merged PR


Fixes system and object capacity card

BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2185042
The following changes are present in this commit

Changing System capacity to "System raw capacity"
Adding a tooltip to explain system raw capacity
Removing progress bar and total capacity for object capacity card as it is quantifiable for external object providers.
Filtering out MCG standalone and external mode storage systems and displaying only internal mode ones as it not applicable for the former.

/retitle Fixes system and object capacity card

LGTM once we add comment: https://github.com/red-hat-storage/odf-console/pull/1016#discussion_r1312674683
nits: in external provider card, since we have removed a column and ended up with just 2 columns now, I can see extra expty space on right hand side of the card... maybe we can try to add some space-between current 2 columns or we can maybe use as well:
  <Level>
    <LevelItem>Level Item</LevelItem>
    <LevelItem>Level Item</LevelItem>
  </Level>

cc @bipuladh PTAL

All updated PR description

Added more space between the columns

/lgtm

/lgtm

/cherry-pick release-4.14


Error on selecting Deploy

When I'm selecting deploy in Google app engine launcher i'm getting this error : NameError
can somebody help me?

Use Python 2.7
See JackNova's answer: http://stackoverflow.com/questions/10227142


[Bug]: CalendarId shown instead of calendar names in progress

What happened?
$ ./corso backup create exchange --user <<user_id>> --retain-progress
Connecting to repository:      1s done
Connecting to M365:         done
Backing Up ∙ <<user_id>>
Discovering items to backup:      8s done
∙ contacts:      0s done
∙ email:      3s done
∙ events:      2s done
Backing up data:      9s ●∙∙
events ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙    2 - AAMkADk1MTI5Mzg3LWM2NWEtNDIyYy04YzM2LTk4MmQyODQ1MTg1NQBGAAAAAACkroLh15brS61qBdQVWICOBwAizZwHWpf_SrrO5GWjW75SAAAAAAEGAAAizZwHWpf_SrrO5GWjW75SAAAJHlsFAAA=
email ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙   20 - Inbox
events ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙●∙∙∙∙∙  141 - AAMkADk1MTI5Mzg3LWM2NWEtNDIyYy04YzM2LTk4MmQyODQ1MTg1NQBGAAAAAACkroLh15brS61qBdQVWICOBwAizZwHWpf_SrrO5GWjW75SAAAAAAEGAAAizZwHWpf_SrrO5GWjW75SAAAJHlsGAAA=
Corso Version?
unreleased-10d8b9c
Where are you running Corso?
ubuntu vm
Relevant log output
No response

closing as duplicate

Dup #3013


Added tests

Tests are organized in their own package under directory v2/module_test/.
Tests added in this PR: tests for integers, real numbers and money data types.

Start an Oracle instance locally with Docker:
$ docker run --restart unless-stopped -d --name oracle-xe -p 1521:1521 -e ORACLE_PWD=SecretPassword1 container-registry.oracle.com/database/express:21.3.0-xe

Run tests:
$ export ORACLE_DSN="oracle://system:SecretPassword1@localhost:1521/?SID=XE"
$ cd v2/module_test
$ go test -v -count 1 -p 1 ./

P/S: if a value stored in a floating point column (e.g. NUMERIC(x,y)) have zero fraction part (e.g. 123.00) then it is fetched as an integer (e.g. Go's int/uint).
I consider this is a bug because the fetched value should be in Go's float32/float64. Hence some tests currently fails.

More tests (strings, unicode, date/time/timezone) are coming when I am available after New Year.
Merry Xmas & Happy New Year

Happy new year and thanks for your contributions


AKMicrophone: it is impossible to set an AV session sample rate other than the device's default

AK version 4.5.2: sample rate other than the device's default for the microphone causes the app to crash on defining mic=AKMicrophone() - there are multiple issues that raise that problem.
It is possible to prevent the crash by setting before the input device definition:
AKSettings.sampleRate = AudioKit.engine.inputNode.inputFormat(forBus: 0).sampleRate
However, this means that AudioKit will disregard the sample rate set by AVSession, for instance:
try AVAudioSession.sharedInstance().setPreferredSampleRate(44_100)
For a 48K device, functions such as FFT analysis will still happen with 48K sample rate, even if you try to manually override this setting in FFTTap. Therefore it is difficult to create an app for devices that have different sample rates (for instance, the newest iPad Pro, 3rd generation, has a different hardware sample rate than previous generations).
I'll be happy to provide a sample project, if this issue is not known.

AudioKit v4.5.5 just released should have this fixed @evenbrenna


Manage relay connection

Right now if the relay disconnects, there is no logic to handle reconnecting.
The plugin should monitor the health of the connection and attempt to re-open the connection if the relay disconnects.

I added an attempted fix in 7eca2235563e16c011096d128b65c05e05c63bdc
Does it work? TBD


changing env dependencies compatible with cudatoolkit 11.3

NVIDIA GeForce RTX 3090 with CUDA capability sm_86 is not compatible with the current PyTorch installation.

cla failed..


How to disable future dates?

Is there any way to disable selection of future dates.

I need to disable previous dates from a selected date


CDN cloudfront link for WB image URL

https://admin.virtusasystems.com/question_sets/251/view_question/4

[
{
"t": "addImgBG",
"draw": "1",
"url": "https://vss-prod.s3.amazonaws.com/questions/L2GEOANGTRIAN-Q4.png",
"d": [
1166,
185,
6,
55,
0
],
"at": "vss"
}
]
JSON is invalid.
2. We will add a folder in S3 CDN  and then we will create an image URL on the CDN name, for example:- https://cdn.virtusasystems.com/L2GEOANGTRIAN-Q1.png
3. ### REASON
A. https://vss-prod.s3.amazonaws.com/questions/L2GEOANGTRIAN-Q4.png  S3 URL taking time to load so go through

Cloudfront
and create CDN S3 link for the image which would take less time to load the image

Fixed


BACKEND: evaluate (de)serialization performance with protocol buffers

https://protobufjs.github.io/protobuf.js/#performance

As tested within the protobuf branch, switching to protobuf.js seems to result in consistent performance gains between 10% and 15% in both higher read/write speeds and lower disk usage. In terms of bundle size the impact is also minimal, with only 6.5 KB added to the browser-side bundle. Changing the serialization format breaks current installation and thus deserves to be scheduled for a major release.

Closing in favor of the approach taken in the low-level-serialization branch.

Closing in favor of the approach taken in the low-level-serialization branch.


vs lost  tmp file

sometimes , when I open the vs  by click ,I found out my tmp files lost . should I must save my tmp files everytime?  By the way ,when openning a file  use vs,tmp files also may lost.

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

vscode fills /tmp with sock files (#20490)
Not resolved yet.

These are not valid reproducable steps.
File an issue with reproducable steps so we can actually try to do something to fix this.


feat(portal): support for tls only smtp servers

tls_options are only used for STARTTLS. To handle SMTP servers where SSL/TLS is enforced (i.e ssl: "true"), users must be able to provide custom sockopts
https://github.com/gen-smtp/gen_smtp/blob/da7893dbe5dc20f1d6137141a4ec49f910a7cef6/src/gen_smtp_client.erl#L853

Thank you @Intuinewin


Changes to support Python 3

use str instead of unicode for py3
use dict.items instead of dict.iteritems for py3

you can directly override the unicode variable on python 3, minimizing code changes
If it's python 3, unicode = str
if not, nothing.

Any update on when a Python 3 version will be available?

Hey @cheevahagadog!
I manage a fork of this project that has incorporated the Python 3 support already. I will work soon on merging my fork back into this repo. Until that is accomplished, I would recommend that you check out the fork in case you need Python 3 support right now.

I believe there's a requirements bug with flask-whooshalchemy (0.8) and your fork @dhamaniasad. Both require Flask==0.10.1 and Whoosh==2.6.0, much older packages than should be necessary IMO


Android: Position in Collection not supported by Flatlist, SectionList, VirtualizedList, or ScrollView

Issue https://github.com/facebook/react-native/issues/30977
Pull Request https://github.com/facebook/react-native/pull/31666

[ ] port flatlist example
[ ] test
[ ] list of scenarios to tests
[ ] save test cases
[ ] post test cases in pull request

[ ] understand which scenarios causes accessibilityCollectionInfo.columnCount to be undefined

Test Cases

<FlatList numColumns={undefined} /> should not trigger Runtime Error NoSuchKey exception columnCount when enabling TalkBack.

<FlatList numColumns={undefined} />

Expected Result:
No Runtime Error
Actual Result:
Enabling TalkBack triggers a Runtime Error NoSuchKeyException columnCount
CLICK TO OPEN RUNTIME ERROR

CLICK TO OPEN DETAILS

https://github.com/fabriziobertoglio1987/react-native/blob/e36f46a003a0c279d6d7e84bdfefc0b1a61d5cb7/Libraries/Lists/FlatList.js#L671-L675
https://github.com/fabriziobertoglio1987/react-native/blob/e36f46a003a0c279d6d7e84bdfefc0b1a61d5cb7/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollView.java#L201

CLICK TO OPEN TESTS RESULTS - WITHOUT RUNTIME

CLICK TO OPEN TESTS RESULTS - WITH RUNTIME

Evaluate Alternative Implementations

[ ] calculating number of childs on the native side. https://github.com/fabriziobertoglio1987/react-native-notes/blob/5d3e3f8abd1cb9ece663db88137aded23e4c50d8/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactShadowNodeImpl.java#L256

Scenarios to tests

[ ] Horizontal FlatList
[ ] Vertical FlatList
[ ] Horizontal FlatList
[ ] Horizontal FlatList when fixed layout
[ ] FlatList when numColumns > 1
[ ] FlatList when numColumns > 1 and fixed layout
[ ] Simple 1 column FlatList
[ ] Simple 1 column FlatList - Fixed layout
[ ] Nested FlatList

In which cases does the user need rowSpan or columnSpan of 1?
https://github.com/fabriziobertoglio1987/react-native-notes/blob/875076952dc8658d2cd61026411dbc24e05e90a3/Libraries/Lists/FlatList.js#L619
https://github.com/fabriziobertoglio1987/react-native-notes/blob/875076952dc8658d2cd61026411dbc24e05e90a3/Libraries/Lists/FlatList.js#L621
https://github.com/fabriziobertoglio1987/react-native-notes/blob/875076952dc8658d2cd61026411dbc24e05e90a3/Libraries/Lists/FlatList.js#L651-L653

Test Cases

Columns in FlatList with multiple columns are not announced

A blind user uses TalkBack to navigate items in the FlatList.
The FlatList has 2 columns and 6 rows (grid layout)
TalkBack announces each of the items and their column and row number

CLICK TO OPEN SOURCE CODE

data
const DATA = [
  {
    id: 'bd7acbea-c1b1-46c2-aed5-3ad53abb28ba',
    title: 'Marketplace',
  },
  {
    id: '3ac68afc-c605-48d3-a4f8-fbd91aa97f63',
    title: 'FriendsList',
  },
  {
    id: '58694a0f-3da1-471f-bd96-145571e29d72',
    title: 'Groups',
  },
  {
    id: 'bd7acbea-c1b1-46c2-aed5-3ad53abb8bbb',
    title: 'Pages',
  },
  {
    id: '3ac68afc-c605-48d3-a4f8-fbd91aa97676',
    title: 'Fifth Item',
  },
  {
    id: '58694a0f-3da1-471f-bd96-145571e27234',
    title: 'Sixth Item',
  },
];
// and more items

JSX
<>
      <FlatList
        keyExtractor={item => item.id}
        numColumns={2}
        pagingEnabled={true}
        data={DATA}
        renderItem={renderItem}
        keyExtractor={item => item.toString()}
      />
</>

Expected Result:
Talkback announces:

Marketplace row 1 column 1
FriendsList row 1 column 2
Groups row 2 column 1
Pages row 2 column 2
Fifth Item row 3 column 1
Sixth Item row 3 column 2

Actual Result:
Talkback announces:

Marketplace row 1
FriendsList
Groups row 2
Pages
Fifth Item row 3
Sixth Item

The TalkBack announcements are correct when using 1 column.
CLICK TO OPEN TESTS RESULTS

https://github.com/fabriziobertoglio1987/react-native-notes/blob/875076952dc8658d2cd61026411dbc24e05e90a3/Libraries/Lists/FlatList.js#L620
https://github.com/fabriziobertoglio1987/react-native-notes/blob/875076952dc8658d2cd61026411dbc24e05e90a3/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactAccessibilityDelegate.java#L237
more info at https://github.com/fabriziobertoglio1987/react-native-notes/issues/6#issuecomment-1034528419
The index is set correctly for columns 1 and 2, but TalkBack does not announce them.
The reason is that our Java Implementation of FlatList numColums does not use GridView, but simply uses ScrollView formatting data as a 2 columns table.
https://github.com/fabriziobertoglio1987/react-native-notes/blob/875076952dc8658d2cd61026411dbc24e05e90a3/Libraries/Lists/FlatList.js#L492-L506
https://github.com/fabriziobertoglio1987/react-native-notes/blob/875076952dc8658d2cd61026411dbc24e05e90a3/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollView.java#L67
https://github.com/aosp-mirror/platform_frameworks_base/blob/1ac46f932ef88a8f96d652580d8105e361ffc842/core/java/android/widget/ScrollView.java#L56-L80
https://github.com/aosp-mirror/platform_frameworks_base/blob/1ac46f932ef88a8f96d652580d8105e361ffc842/core/java/android/widget/GridView.java#L54-L69
https://github.com/fabriziobertoglio1987/react-native-notes/blob/875076952dc8658d2cd61026411dbc24e05e90a3/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactAccessibilityDelegate.java#L146
Removing the above line:

TalkBack announces the item when scrolling pages
Rows are not announced anymore

CLICK TO OPEN TESTS RESULTS

TODOs for https://github.com/fabriziobertoglio1987/react-native-notes/issues/6#issuecomment-1035963648

[ ] Test Swipe page
[ ] Complete the fix

Test Cases

ScreenReader announcing the wrong page ranges when scrolling up

CLICK TO OPEN SOURCECODE

<FlatList
  keyExtractor={item => item.id}
  numColumns={3}
  pagingEnabled={true}
  data={DATA}
  renderItem={renderItem}
  keyExtractor={item => item.toString()}
/>

Expected Result:

First Page - ScreenReader announces items 1-10
Second Page - ScreenReader announces items 5-10
First Page - ScreenReader announces items 1-10

Actual Result:

First Page - ScreenReader announces items 1-10
Second Page - ScreenReader announces items 5-10
First Page - ScreenReader announces items 10-10

CLICK TO OPEN TESTS RESULTS

SOLUTION FOR ISSUE https://github.com/fabriziobertoglio1987/react-native-notes/issues/6#issuecomment-1038591574
The issue is caused by isPartiallyScrolledInView not computing correctly visible childs of ScrollView.
https://github.com/fabriziobertoglio1987/react-native-notes/blob/79777766ae8eec8594c1f0947f28a8965ef26653/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollView.java#L158
https://github.com/fabriziobertoglio1987/react-native-notes/blob/79777766ae8eec8594c1f0947f28a8965ef26653/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollView.java#L407-L412
https://stackoverflow.com/a/4629167/7295772
CLICK TO OPEN VIDEO

SOLUTION FOR ISSUE https://github.com/fabriziobertoglio1987/react-native-notes/issues/6#issuecomment-1038591574
Debugging

Test Cases

Not announcing first page first item

Expected Result:
Actual Result:
CLICK TO OPEN SOURCECODE

<>
  <Component />
</>

CLICK TO OPEN VIDEO - ANNOUNCING FIRST ITEM FIRST PAGE

CLICK TO OPEN VIDEO - NOT ANNOUNCING FIRST ITEM FIRST PAGE

[ ] find a callback to run event.setFromIndex(0) when ScrollView reaches top of the list

Using `height` instead of `width`

Using  isMostlyScrolledInView instead of isPartiallyScrolledInView with height instead of width. The method was taked from ReactHorizontalScrollView which scrolls in a different direction.
 computeScrollDeltaToGetChildRectOnScreen automatically makes this changes through inheritance from ScrollView instead of HorizontalScrollView.
  /** Returns whether the given descendent is "mostly" (>50%) scrolled in view */
  private boolean isMostlyScrolledInView(View descendent) {
    int scrollDelta = getScrollDelta(descendent);
    descendent.getDrawingRect(mTempRect);
    return scrollDelta != 0 && Math.abs(scrollDelta) < (mTempRect.height() / 2);
  }

Executing this logic for a specific event TYPE_WINDOW_CONTENT_CHANGED

if (event.getEventType() == AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED) {
    // event.setItemCount(10)
}

Loop through each column

Each View has numColumns number child views (for each column).
The last 2 columns of each last row are not announced.
https://github.com/fabriziobertoglio1987/react-native-notes/blob/79777766ae8eec8594c1f0947f28a8965ef26653/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollView.java#L171
needs to be changed somehow
if (childCount > 0 && accessibilityCollectionItemInfo == null) {
  for(int child = 0; child < childCount; child++) {
    View nestedNextChild =  ((ViewGroup) nextChild).getChildAt(child);
    if (nestedNextChild != null) {
      // logic
    }
  }
}

Not announcing correctly the last page (partial scroll)

Introduced with commit https://github.com/fabriziobertoglio1987/react-native/commit/cbe286d4a84ae555b7c2dd54f032a99e2f628811

Test Cases

Android GridView announces Item Range

Expected Result:
ReactScrollView: Adding the Grid role should announce the item range showing item 10 to 21 of 29.
https://github.com/fabriziobertoglio1987/react-native-notes/blob/ee23f451bc428431e9b29e26e5b00c7580fa3e78/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactAccessibilityDelegate.java#L145-L146
Actual Result:
ReactScrollView: Does not read AccessibilityNodeInfo.RangeInfo showing item 10 to 21 of 29.
CLICK TO OPEN VIDEO TESTS

On Android GridView the functionality works. https://github.com/fabriziobertoglio1987/MyApplication/commit/0bfa67e43ce10c67adfedab2dc4af948e9ad8aee

[ ] check if you can use https://developer.android.com/reference/androidx/core/view/accessibility/AccessibilityNodeInfoCompat#isVisibleToUser() to detect which nodes are visible in
https://github.com/fabriziobertoglio1987/react-native-notes/blob/ee23f451bc428431e9b29e26e5b00c7580fa3e78/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactAccessibilityDelegate.java#L437-L439
[ ] Move logic to ReactAccessibilityDelegate and test the
https://github.com/fabriziobertoglio1987/react-native-notes/blob/ee23f451bc428431e9b29e26e5b00c7580fa3e78/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollView.java#L201-L229
/AccessibilityNodeInfoCompat#isVisibleToUser() to detect which nodes are visible in
https://github.com/fabriziobertoglio1987/react-native-notes/blob/ee23f451bc428431e9b29e26e5b00c7580fa3e78/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactAccessibilityDelegate.java#L437-L439

use mock values to set nodeInfo.setCollectionItemInfo

use mock values to set nodeInfo.setCollectionItemInfo (each node of the collection) and hear reading aloud each cell row and column, as done with the header role https://github.com/fabriziobertoglio1987/react-native-notes/issues/6#issuecomment-1035689327
https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.CollectionItemInfo

 debug grid example

Understand how they calculate visible children's https://github.com/aosp-mirror/platform_frameworks_base/blob/1ac46f932ef88a8f96d652580d8105e361ffc842/core/java/android/widget/AdapterView.java#L664-L682

use isVisibleToUser to detect visible node

use isVisibleToUser to detect which nodes are visible
https://github.com/fabriziobertoglio1987/react-native-notes/blob/ee23f451bc428431e9b29e26e5b00c7580fa3e78/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactAccessibilityDelegate.java#L437-L439

move logic from onInitializeAccessibilityInfo to ReactAccessibilityDelegate

Move logic to ReactAccessibilityDelegate and test scenario https://github.com/fabriziobertoglio1987/react-native-notes/issues/6#issuecomment-1035689327
https://github.com/fabriziobertoglio1987/react-native-notes/blob/ee23f451bc428431e9b29e26e5b00c7580fa3e78/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollView.java#L201-L229
https://github.com/fabriziobertoglio1987/react-native-notes/blob/ee23f451bc428431e9b29e26e5b00c7580fa3e78/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactAccessibilityDelegate.java#L437-L439

[ ]onInitializeAccessibilityNodeInfo

Test Case

Expected/Actual Result:
CLICK TO OPEN SOURCECODE

https://github.com/fabriziobertoglio1987/ReactNativeAwesomeProject/blob/af0d0baa95f4520cd05d61031a69a66ec8521bf0/App.js
<FlatList
  horizontal={true}
  data={DATA}
  renderItem={renderFlatList}
  keyExtractor={item => item.toString()}
/>

const Item = ({title}) => (
  <View style={styles.item}>
    <Text style={styles.title}>{title}</Text>
  </View>
);

const renderFlatList = ({item}) => (
  <View>
    <Item title={item.title} />
  </View>
);

data used in flatlist

const DATA = [
  {
    id: '1',
    title: '1 Item',
  },
  {
    id: '2',
    title: '2 Item',
  },
  {
    id: '3',
    title: '3 Item',
  },
  {
    id: '4',
    title: '4 Item',
  },
  {
    id: '5',
    title: 'Fifth Item',
  },
  {
    id: '6',
    title: 'Sixth Item',
  },
  {
    id: '7',
    title: 'Seven Item',
  },
  {
    id: '8',
    title: 'Eight Item',
  },
  {
    id: '9',
    title: 'Nine Item',
  },
  {
    id: '10',
    title: 'Ten Item',
  },
  {
    id: '11',
    title: 'Eleven Item',
  },
  {
    id: '12',
    title: 'Twelve Item',
  },
  {
    id: '13',
    title: 'Thirdteen Item',
  },
  {
    id: '14',
    title: 'Fourteen Item',
  },
  {
    id: '15',
    title: 'Fifthteen Item',
  },
  {
    id: '16',
    title: 'Sixteen Item',
  },
  {
    id: '17',
    title: '17 Item',
  },
  {
    id: '18',
    title: '18 Item',
  },
  {
    id: '19',
    title: '19 Item',
  },
  {
    id: '20',
    title: '20 Item',
  },
  {
    id: '21',
    title: '21 Item',
  },
  {
    id: '22',
    title: '22 Item',
  },
  {
    id: '21',
    title: '23 Item',
  },
  {
    id: '22',
    title: '24 Item',
  },
  {
    id: '22',
    title: '25 Item',
  },
  {
    id: '23',
    title: '26 Item',
  },
  {
    id: '24',
    title: '27 Item',
  },
  {
    id: '25',
    title: '28 Item',
  },
  {
    id: '26',
    title: '29 Item',
  },
];

CLICK TO OPEN VIDEO TESTS

TalkBack announces pages and cells with Vertical Flatlist in the PaperRenderer

Expected/Actual Result:
Talkback announces:

2 Item column 2
4 Item row two column 1
11 Item column 2

Expected/Actual Result:
Talkback announces the pages
Showing Item 10 to 19 of 29

CLICK TO OPEN SOURCECODE

https://github.com/fabriziobertoglio1987/ReactNativeAwesomeProject/commit/016921e96940693fbb2ed195c5e8d051330462ff
class App extends React.Component {
  constructor(props) {
    super(props);
  }
  header = () => {
    return (
      <View>
        <Text>POSTS</Text>
      </View>
    );
  };
  render() {
    return (
      <FlatList
        accessible={true}
        accessibilityRole="grid"
        numColumns={3}
        keyExtractor={item => item.id}
        pagingEnabled={false}
        data={DATA}
        renderItem={renderItem}
        keyExtractor={item => item.toString()}
      />
    );
  }
}

const renderItem = ({item, key}) => (
  <View key={key} style={styles.item}>
    <Text key={key}>{item.title}</Text>
  </View>
);

const Item = ({title}) => (
  <View style={styles.item}>
    <Text style={styles.title}>{title}</Text>
  </View>
);

const renderFlatList = ({item}) => (
  <View>
    <Item title={item.title} />
  </View>
);

data used in flatlist

const DATA = [
  {
    id: '1',
    title: '1 Item',
  },
  {
    id: '2',
    title: '2 Item',
  },
  {
    id: '3',
    title: '3 Item',
  },
  {
    id: '4',
    title: '4 Item',
  },
  {
    id: '5',
    title: 'Fifth Item',
  },
  {
    id: '6',
    title: 'Sixth Item',
  },
  {
    id: '7',
    title: 'Seven Item',
  },
  {
    id: '8',
    title: 'Eight Item',
  },
  {
    id: '9',
    title: 'Nine Item',
  },
  {
    id: '10',
    title: 'Ten Item',
  },
  {
    id: '11',
    title: 'Eleven Item',
  },
  {
    id: '12',
    title: 'Twelve Item',
  },
  {
    id: '13',
    title: 'Thirdteen Item',
  },
  {
    id: '14',
    title: 'Fourteen Item',
  },
  {
    id: '15',
    title: 'Fifthteen Item',
  },
  {
    id: '16',
    title: 'Sixteen Item',
  },
  {
    id: '17',
    title: '17 Item',
  },
  {
    id: '18',
    title: '18 Item',
  },
  {
    id: '19',
    title: '19 Item',
  },
  {
    id: '20',
    title: '20 Item',
  },
  {
    id: '21',
    title: '21 Item',
  },
  {
    id: '22',
    title: '22 Item',
  },
  {
    id: '21',
    title: '23 Item',
  },
  {
    id: '22',
    title: '24 Item',
  },
  {
    id: '22',
    title: '25 Item',
  },
  {
    id: '23',
    title: '26 Item',
  },
  {
    id: '24',
    title: '27 Item',
  },
  {
    id: '25',
    title: '28 Item',
  },
  {
    id: '26',
    title: '29 Item',
  },
];

CLICK TO OPEN VIDEO TESTS

Summary
This issue fixes https://github.com/facebook/react-native/issues/30977.
The Pull Request was previously published by intergalacticspacehighway with https://github.com/facebook/react-native/pull/31666.
The solution consists of:

Adding Javascript logic in the FlatList component to add accessibility information (row and column position) for each FlatList cell.
The information are saved on the native side in the AccessibilityNodeInfo.RangeInfo and announced by TalkBack when changing row, column or page (video example).

Adding Java logic in ReactScrollView.java and HorizontalScrollView to announce pages with TalkBack when scrolling up/down.
The missing Android logic in ReactScrollView.java (see also the GridView example) responsible for announcing Page Scrolling with TalkBack.

Relevant discussions https://github.com/fabriziobertoglio1987/react-native-notes/issues/6
Changelog
[Android] [Added] - Accessibility announcement for list and grid in FlatList
Test Plan
1. TalkBack announces pages and cells with Horizontal Flatlist in the Paper Renderer (link)
2. TalkBack announces pages and cells with Vertical Flatlist in the Paper Renderer (link)

TalkBack announces pages and cells with Vertical Flatlist in the rn-tester app
Expected/Actual Result:
Talkback announces the selected item row and column changes:

2 Item column 2
4 Item row two column 1
11 Item column 2

Expected/Actual Result:
Talkback announces the pages when scrolling down:
Showing Item 10 to 19 of 29

CLICK TO OPEN VIDEO TESTS

https://reactnative.dev/docs/flexbox#flex

flex will define how your items are going to “fill” over the available space along your main axis. Space will be divided according to each element's flex property.

without {flex: 1}
with {flex: 1}

https://github.com/facebook/react-native/pull/33180#discussion_r820864643
https://github.com/fabriziobertoglio1987/react-native/commit/42de4dc21bf922b650dc4a4575a0e838f1873341
https://github.com/facebook/react-native/commit/32676ebe5f7555809c9d3e51efaff73ee287f5bd

https://github.com/facebook/react-native/pull/33180#discussion_r820866420

incompatible types _getItemCount(data) and this.props.data

_getItemCount takes as parameter ?Array
For simplicity, data is just a plain array. If you want to use something else, like an
immutable list, use the underlying VirtualizedList directly.
data: ?$ReadOnlyArray,

the local variable _getItemCountInternal is only available in function _getAccessibilityCollection.

   _getAccessibilityCollection = () => {
     const _getItemCountInternal = (data: any): number => {
       return this._getItemCount(data);
     };

https://github.com/fabriziobertoglio1987/react-native/commit/e36b2610dcd2f7400fc454e9bd21dd684924aa7e
https://app.circleci.com/pipelines/github/facebook/react-native/12280/workflows/f115b583-2f98-4aaf-9525-7b981588797d/jobs/237664/steps

[ ] find the best solution
[ ] ask for her opinion

moving logic to virtualized list

https://github.com/fabriziobertoglio1987/react-native-notes/blob/ce18d88eb12e50e40b5e6c02bc08da74a5ed5392/Libraries/Lists/FlatList.js#L685
and
https://github.com/fabriziobertoglio1987/react-native-notes/blob/ce18d88eb12e50e40b5e6c02bc08da74a5ed5392/Libraries/Lists/FlatList.js#L615-L640
move to
https://github.com/fabriziobertoglio1987/react-native-notes/blob/ce18d88eb12e50e40b5e6c02bc08da74a5ed5392/Libraries/Lists/VirtualizedList.js#L1983-L2017

move accessibilityCollectionItem logic to VirtualizedList

https://github.com/fabriziobertoglio1987/react-native-notes/blob/ce18d88eb12e50e40b5e6c02bc08da74a5ed5392/Libraries/Lists/FlatList.js#L615-L640
move to
https://github.com/fabriziobertoglio1987/react-native-notes/blob/ce18d88eb12e50e40b5e6c02bc08da74a5ed5392/Libraries/Lists/VirtualizedList.js#L1983-L2017


Preface page with signatures

Add a preface page after the contents-section.

I've been told (by students on older semesters) that it isn't unusual for this page to be excluded from a report, because it doesn't serve a real purpose anymore since it isn't handed in physically.


totalVI baseline

Hello,
I came across this file
https://github.com/openproblems-bio/neurips2021_multimodal_viash/blob/main/src/joint_embedding/methods/baseline_totalvi/script.py
It seems as though totalVI is not using the count data (relative to how the aws hosted anndata is formatted, with count layers).
Also what does the max_epochs=20 mean at the top of the file? That would probably be far too few for a baseline.
Happy to help iterate on this baseline. Thanks!

@xlancelottx @rcannood can you guys comment on this? I have been using scVI with far more epochs previously as well... but I guess this might have been done to fit within the 10 min/1 hour/longer evolving time limit that was placed?


Congenital muscular dystrophy without intellectual disability

Hi! In the list provided by MONDO to us (NORD) this term was obsoleted and I did not find it in MONDO. I did not find a ticket related to the reason for it to be obsoleted and I would like to know the reason as this term is still in Orphanet.https://www.orpha.net/en/disease/detail/370980?name=congenital muscular dystrophy without intellectual disability&mode=name
Thank you!
Best,
Gioconda

@galyea123 this term was also obsoleted as part of our mass obsoletion effort to exclude grouping classes that group together terms based on phenotypic features.
Let me know if you have further questions or if further action is needed. Thanks!

Hi Nicole!  I  see that Orphanet consider it to be a disorder in the classification:
ORPHA:370980 https://www.orpha.net/en/disease/detail/370980
Classification level: Disorder
Synonym(s):
CMD without intellectual disability
CMD-no MR
Congenital muscular dystrophy-dystroglycanopathy without intellectual disability
GARD does list it too. See also OMIM:  https://omim.org/entry/613152
Of note, FKTN variants are responsible for a clinical spectrum ranging from CMD without brain involvement to isolated, dilated cardiomyopathy.
Thank you, Gioconda

might be solved by https://github.com/monarch-initiative/mondo/issues/7693

[like]  Gioconda Alyea reacted to your message:

From: Sabrina Toro @.>
Sent: Tuesday, June 4, 2024 11:00:44 PM
To: monarch-initiative/mondo @.>
Cc: Gioconda Alyea @.>; Mention @.>
Subject: Re: [monarch-initiative/mondo] Congenital muscular dystrophy without intellectual disability (Issue #7566)
might be solved by #7693https://github.com/monarch-initiative/mondo/issues/7693
—
Reply to this email directly, view it on GitHubhttps://github.com/monarch-initiative/mondo/issues/7566#issuecomment-2148550167, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4QAWD3C55K2UUH2GPTMLUTZFZBJZAVCNFSM6AAAAABF5KZN22VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBYGU2TAMJWG4.
You are receiving this because you were mentioned.Message ID: @.***>
Any review, use, distribution or disclosure by others is strictly prohibited.


Extending @searchable resolver slots file naming inconsistency

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[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.

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
14.18.2
Amplify CLI Version
7.6.12
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made to the cloud.
Amplify Categories
api
Amplify Commands
push
Describe the bug
Extending a @searchable query's slots, such as Query.searchTodos.init.1.req.vtl does not get picked up. After running amplify api gqp-compile produces a SearchableStack.json that does not include this in the pipeline: SearchableStack-Query.searchTodos.txt
Instead, I found that using Search.Todo.init.1.req.vtl will be picked up and added to the pipeline: SearchableStack-Search.Todo.txt
This is inconsistent with the the file naming following the GraphQL {typeName}.{fieldName}.
Expected behavior
After setting up a project with a the GraphQL schema detailed below and running amplify api gql-compile, the following are automatically created in build/resolvers:

Query.searchTodos.auth.1.req.vtl
Query.searchTodos.postAuth.1.res.vtl
Query.searchTodos.req.vtl
Query.searchTodos.res.vtl

I would expect, then, to be able to use the slot extensions in the same way with Query.searchTodos.init.1.req.vtl, etc.
Reproduction steps

amplify init
amplify add api

Include Cognito User Pool auth.

Update the schema to the one below.
Add a custom resolver for Query.searchTodos.init.1.req.vtl
amplify api gql-compile
Inspect the SearchableStack in build/stacks and the init function will be missing.

GraphQL schema(s)

type Todo
  @model
  @searchable
  @auth(rules: [{allow: owner}])
{
  id: ID!
  name: String!
  description: String
}

Log output

# Put your logs below this line

Additional information
No response

Hey @pmulka :wave: thanks for raising this! I'm seeing the resolver is picked up on my end, as well as in the posted SearchableStack. Can you confirm whether you're seeing the init function populated in the searchTodos pipeline?

Hi @josefaidt. Using Amplify 7.6.15, the init slot files starting with the name Query.search are now added to my pipelines as I would expect. Thank you! 👍

Awesome, glad to hear it @pmulka 🙌
Closing issue 🙂


Can't install extensions with circular dependencies behind proxy

Does this issue occur when all extensions are disabled?: Yes

Version : 1.66.1 (system setup)
Validation : 8dfae7a5cd50421d10cd99cb873990460525a898
Date : 2022-04-06T14:50:12.141Z
Electron : 17.2.0
Chromium: 98.0.4758.109
Node.js : 16.13.0
V8 : <IP_ADDRESS>-electron.0
OS : Windows_NT x64 10.0.19042

I am able to install most extensions, sometimes it works automatically and sometimes I have to manually install it.
If an extension requires other packages, I first have to install the dependencies, and then I am able to install the extension. For instance, I had to download Jupyter Notebook Renderers and Jupyter Keymap separately before installing Jupyter.
However, I have been completely unable to install the Python extension, since it notably requires Pylance, and Pylance requires the Python extension as well.
For information, the message I get is:
Corrupt ZIP: end of central directory record signature not found: Invalid: Corrupt ZIP: end of central directory record signature not found.
I believe I am not the only one having this issue, looking at https://github.com/microsoft/pylance-release/issues/2280
Would there be any way to install the Python extension from my office?
Steps to reproduce:
This is mostly tied to the proxy configuration, which I'm not sure how to get unfortunately.

Can you please start fresh and try to reproduce it and share following log?

F1 > Open View... > Log (Shared)

Invalid: Corrupt ZIP: end of central directory record signature not found

It seems the ZIP is corrupted. Can you please clear the cache/remove the ZIP from this location c:\Users\e35068\AppData\Roaming\Code\CachedExtensionVSIXs and try again

The Pylance and Python extensions didn't appear in that folder, only the succesfully installed extensions were there.
So when I did what you ask, nothing different happened.
I believe the pylance extension isn't downloaded properly due to the proxy rules.

any update?

The Pylance and Python extensions didn't appear in that folder, only the succesfully installed extensions were there.
So when I did what you ask, nothing different happened.

Yes we clean up if the ZIP is corrupted. Can you please let us know if you are seeing this issue for all extensions or only for specific extension?
Can you also please try downloading the extension from Marketplace and see if it works?

I was able to install all these extensions, either manually or using the marketplace directly.
Extensions (29)

Extension
Author (truncated)
Version

better-comments
aar
3.0.0

python-six
asc
2022.5.0

path-intellisense
chr
2.8.1

vscode-markdownlint
Dav
0.47.0

python-environment-manager
don
1.0.4

gitlens
eam
12.1.1

vsc-material-theme
Equ
33.5.0

vsc-material-theme-icons
equ
2.3.1

prettier-vscode
esb
9.5.0

mdmath
goe
2.7.4

gc-excelviewer
Gra
4.2.55

vsc-python-indent
Kev
1.17.0

markdown-converter
man
5.1.2

theme-monokai-pro-vscode
mon
1.1.20

vscode-language-pack-fr
MS-
1.66.3

pyright
ms-
1.1.247

jupyter
ms-
2022.3.1000901801

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.8

hexeditor
ms-
1.9.7

material-icon-theme
PKi
4.18.1

geo-data-viewer
Ran
2.5.0

vscode-thunder-client
ran
1.16.5

r-debugger
RDe
0.4.7

r
REd
2.5.0

pdf
tom
1.2.0

vscodeintellicode
Vis
1.2.21

markdown-all-in-one
yzh
3.4.3

material-theme
zhu
3.15.2

I am not able to install Python or Pylance through the marketplace too.
I still believe it's linked to Python requiring Pylance and vice versa, I'm pretty sure it's a very rare case, and so I'm able to install almost any extension but these two.

Can you please try using a different user data dir and extensions dir - say, start code from the command line like below:
code --user-data-dir <new-dir> --extensions-dir <new-dir>

I just tried this out, the errors remain the same.
Did you close by mistake the issue? I'll have to reopen another one if it's still closed as the problem is still there.

Sorry, it got closed by mistake

Are you still on this version - 1.66.1, if so, can you please update to latest stable and try?

Yes I am, but I can't update it, I'm bound by my company

I see. I would recommend to update VS Code to latest that includes many bug fixes.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Minor typo in MatrixIndex enum

https://github.com/Shopify/react-native-skia/blob/8942d3f38201dc5a6898c01f129489c97aa8661c/package/src/skia/types/Matrix.ts#L12
should have been Persp2 instead of persp2

Hi @xcoderreal - thanks for reporting this - remember that PRs are always welcome :):)


Under iOS the on-screen keyboard slides over the form

Describe the Bug
Under iOS the on-screen keyboard slides over the Malteser help form so that I can't see what I'm typing. On Android the form moves up as expected
Steps to Reproduce

Go to Malte - Testumgebung - Deutsch
Click on [Krieg in der Ukraine] - [Hilfe für Ukrainer und Ukrainerinnen]
Scroll down to Help form
try to write into fields

Expected Behavior
The form should move up as in Android
Actual Behavior
on-screen keyboard slides over the Malteser help form
Additional Information

Still does not work for all input fields @LeandraH
with an additional <KeyboardAwareScrollView extraScrollHeight={120}> it works
https://github.com/digitalfabrik/integreat-app/assets/37902063/99ac995e-aafb-4ddd-b159-b7ddcb0c66a1


Fix install_helm to handle x86_64 arch

Description
The implementation of install_helm naively passed python's platform.machine() through as the $(ARCH) for downloading. This helper method returns the more likely build architectures found in binary download packages, and fixes a couple other helpers to take architecture into account.
History Notes

This checklist is used to make sure that common guidelines for an Azure CLI pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.
[x] I adhere to the Command Guidelines.
[x] I adhere to the Error Handling Guidelines.

I tested this in Codespaces with an x86_64 architecture, and on Mac with arm64.


Main web app project shouldn't contain testing related code

The web app project contains code needed for integration testing. As much of the testing logic as possible, if not all, should be moved out of the main project. The code bellow is the most evident problem since it contains test data that is strongly bound to the integration tests.
https://github.com/PSW-2020-ORG9/HealthcareIS/blob/a2872fe5af1d2cc9b876363487ffe983dfa842f7/HospitalWebApp/Context/MySqlTestContext.cs#L1-L152

 [E0.2] Setup integration tests project.

 (5) Create pipeline for integration tests execution as part of PR validation

Since the devops part of integration testing heavily depends on this issue, i'm bringing it all together here.


Scroll is always seen

In the old FP the scroll is only seen when hovering on the dimension.
See video:
New FP:

Old FP:

This is a very big task and we need to do it for all nebula charts like sn-table. I will convert this to an improvement.

I think we can close this since we have PM decision on keeping the always visible scrollbars


Create procedural macro interface library

Stack:

#1100
#1110
#1093
#1091
#1060
#1124 ⬅

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.