Toggle - CloseOnBlur doesn't always work with Voiceover or Talkback

Hi!
Not sure if this is a component or patterns ticket - a bit of both really!
I was doing a bit of AX testing today on a project that's directly using the ExclusiveToggles pattern and noticed it was a little confusing in iOS voiceover.
This pattern uses CloseOnBlur set to true on the toggle component to switch between the search/nav overlays.  iOS does not trigger focus/blur events on items from swipe alone - the user has to activate another item with a press before they trigger.
Therefore, if you open the search box - swipe through it and it closes visually, it's still possible to swipe back to it as the full blur function hasn't properly run.   This also happens with a single toggle, if you swipe through without clicking on another item, or toggling the menu closed.
I've attached a couple of videos to try and explain more clearly... not sure if they do though!
https://user-images.githubusercontent.com/62299569/158405401-40d16905-8d91-481b-a084-8ca4d6571cb4.MP4
https://user-images.githubusercontent.com/62299569/158405409-bc1f899d-ca17-4b5c-bd1e-758a1577d05b.MP4
Solving this could be difficult without proper running of the focus/blur events.  Should they perhaps have manual triggers only in this pattern?  Or would these cases be pretty infrequent?

I'd be keen to bottom-out whether we absolutely can't do this, and whether this behaviour is an iOS Voiceover bug that will be fixed in the future or not. If it's not a bug and we can't fix it, then our current preferred pattern for modal navigation is off the table - we need closeOnBlur to support a full screen navigation design that doesn't trap tab/is a real modal dialog, and closes when focus leaves the nav.
The closeOnBlur option (despite its name), is based on listening for the focusin event at a document level - it may be the case that another event is fired  that we can listen for at some level?

Findings so far are that the focus/focusin/focusout/blur events will only fire with VoiceOver when used on < button > elements and not < a > (or other focusable items / items with a tabindex set).
Video 1 with links:
https://user-images.githubusercontent.com/62299569/158555620-b80bacd4-23f3-467f-97b9-ff4533facc20.MP4
Video 2 with buttons:
https://user-images.githubusercontent.com/62299569/158555659-28ac91aa-340a-4217-8939-2396194f7efb.MP4
And then also, in order for the blur event to fire, the user has to swipe to another button.  They can't just swipe to a header or link.  Video below:
https://user-images.githubusercontent.com/62299569/158555953-c40cce19-c870-4e55-813d-09d450891191.MP4
And a couple of links detailing other people seeing the same issues:
https://stackoverflow.com/questions/31006404/accessibility-android-talkback-doesnt-fire-focus-event-on-html-content
https://stackoverflow.com/questions/47315314/android-talkback-not-registering-onfocus-for-web-how-do-i-manipulate-accessibil
No events fire on links apart from 'click, mousedown' when the user double taps the links to open them.  This sort of implies that any UI functionality that changes content availability based on focus alone might be best avoided.
In this instance the content will still be available, any menus etc will not visually close on these devices based on a swipe.  That's probably expected by a real-world user, but I do think it's the kind of thing that would be flagged by our internal AX reviews.  Hopefully we can get some more input on the modal navigation pattern from the wider team.

A note on the specific example of the exclusive toggles pattern:

User swipes to search icon
User double taps to open search toggle
User's focus is placed on the search input.  They can swipe past the input and the search button and onto the menu button
In this set up the closeOnBlur event DOES fire, because the next focusable element in the DOM is the Menu < button > tag and so the search overlay closes.
Double tap the menu button to open it.  Focus is placed on the close icon/button.
User can swipe through the menu and off the bottom, but the menu DOES NOT close until it hits another button in the content in < main >.

I think the fact that we can swipe back to the hidden search overlay might be a seperate, but related issue

Adding a bit of a survey result here on a few sites that are considered to have high AX standards:
https://www.scope.org.uk/

Has burger menu.
Opens as takeover
Swiping through, menu remains open and goes to page underneith.
Behaves the same way on desktop with keyboard navigation

https://sse.co.uk/energy

Has burger menu.
Opens as takeover
Swiping through, menu remains open and goes to page underneith.
Behaves the same way on desktop with keyboard navigation

https://www.applevis.com/

Has dropdown menu
Menu pushes down page content when opened
Menu does not loop, but carries on down the page on swipe
Behaves the same way on desktop with keyboard navigation

https://www.bbc.co.uk/

Has dropdown menu
Menu pushes down page content when opened
Menu does not loop, but carries on down the page on swipe
Behaves the same way on desktop with keyboard navigation

https://www.bbc.co.uk/news

Has burger menu.
Opens as takeover
Does not go to page content when swiping off the menu.  Page content cannot be accessed
No looping behaviour, user swipes back up to close menu
Behaves the same way on desktop with keyboard navigation

https://www.gov.uk/

Has dropdown menu
Menu pushes down page content when opened
Menu does not loop, but carries on down the page on swipe
Behaves the same way on desktop with keyboard navigation

https://www.barclays.co.uk/

Has burger menu.
Opens as takeover
Does not go to page content when swiping off the menu.  Page content cannot be accessed
No looping behaviour, user swipes back up to close menu
Behaves the same way on desktop with keyboard navigation

https://www.davidmacd.com/

Has dropdown menu
Menu pushes down page content when opened
Menu does not loop, but carries on down the page on swipe
Behaves the same way on desktop with keyboard navigation

https://www.tpgi.com/

Has burger menu.
Opens as slideout panel from the right
When reaching the end of the menu the user begins swiping through the page content.  No looping behaviour or option to close
Menu does not close on swipe, it remains visible open.  This behaviour is different on desktop/keyboard.  Tabbing out of the menu closes it and user continues on page.

https://www.deque.com/

Has dropdown menu
Menu pushes down page content when opened
Menu does not loop, but carries on down the page on swipe
Behaves the same way on desktop with keyboard navigation

https://www.nomensa.com/

Has dropdown menu
Menu pushes down page content when opened
Menu does not loop, but carries on down the page on swipe
Behaves the same way on desktop with keyboard navigation

They seem to sit in one of three camps:

Menu behaves the same way as ours, and suffers from the same V/O issue
Menu is a takeover, but does not attempt to close on blur or loop the user back to the close button.  The page content is not reachable while the menu is open
The menu does not use the takeover design and pushes content down instead.

Update:
AX Android Testing is will be done tomorrow which uses the Toggle Callback function to set aria-hidden on all non-header content in the style of 2 above.  Another option being tested is to try the use of CSS as per the BBC site.  Previously this hadn't been enough on its own but should be re-tested now with the latest VO update.
Depending on the outcome of this testing we might want to look at the ui pattern for the non-modal-modal navigation that is currently open for testing (See UI Patterns issue 19 and Slack channel)
A branch has been created for review on the patterns library, which suggests changing our default pattern of menu to number 3. above.

A version of a toggle-overlay menu with a call back adding aria-hidden to other page elements passed AX testing on devices (with the acknowledgement that manually scrolling back to the close button wasn't ideal).
This resolved the bug with the focus dropping to the page underneath, so could be a good option if the overlay menu is a requirement.

A version of the full screen toggle-based menu using the BBC-style CSS only approach (display: none, visibility: hidden on everything other than the nav) has passed ax testing on two of our recent sites.
I think that both the CSS and the aria-hidden approaches are viable options.
I personally favour the CSS approach because in situations where we need an inline always-visible nav on larger screens and off-canvas -> full screen nav on small screens - we don't need to worry about cleaning up aria-hidden markup if the screen resolution changes from small to large.

I've changed the implementation of the exclusive toggles pattern (still to be deployed to Netlify) to use the toggle.open custom events rather than closeOnBlur.
I think we need to add some guidance for closeOnBlur in this repo about the limitations discussed here.

Updated readme with a short dev note - https://github.com/stormid/components/pull/225  Does this sound OK?

Closing this with the pattern library and readme updates 🎉
Thanks @sarah-storm.


Create a window from another streams's window

Allows creation of a stream window with the same configuration as an existing window.
// Create a new window with the same configuration as another window
TWindow<T,Object> window(TWindow<?,?> configWindow);

I think the signature needs to be:
 TWindow<T,K> window(TWindow<?,?> configWindow, Function<T,K> keyer);


tests: add tests for exception policy master switch - v4

Previous PR: #1039
Changes from previous PR:

update tests that used  'disabled' in favour of the already existing 'ignore'

Suricata PR: Suricata PR: https://github.com/OISF/suricata/pull/8287

Replaced by #1044


Modify backup/Action interface

Per https://github.com/heptio/ark/pull/54#issuecomment-324368048, it would be nice to update the Action interface.
@ncdc now that I'm looking again at what you were proposing I realized it's not what I originally thought it was. Should we just include the Backup as a field on the ActionContext, and keep allowing the Actions to modify it as necessary? Since we're not going to use an Options struct, I don't see any major issue with this.

Yes, I think putting the backup on the ActionContext makes sense.

will address this as part of #65 since the interface will be changing for that


Clean up

Copying from this last comment on the first (primary) PR - there is some outstanding work that may be worth doing, and it may make sense to break these up into separate issues. For now here is the full list:
Feel strongly about

Subtrees get out of hand quickly for even the smallest of repos. We should try to find a way to not force all users to deal with ever-growing helper lib checkouts.
filehandling/lib (even though it was straight from SO) at the very least needs some comments but it really could be better if the logic flow was cleaned up to be more readable.
The : ${FOO:?"Something"} pattern is really hard to read when compared to an if/else
The [[ <check> ]] | die "foo" and <cmd> || die patterns are also really hard to read when compared to an if/else
If/else pattern where the else is returning 1 should be changed to be if !condition return 1 and then do the positive condition (unconditionally)
tests-for-this-repo needs a better name. Don't know what it should be but the current one isn't great.
Bats tests and Dockerfiles should have more liberal use of newlines in tests to show given/when/then sections
[[ <check> ]] by itself should go away as a pattern as it's unclear what it's doing without knowing bash in depth

Should probably fix

local rc=0/return $rc pattern looked in most cases superfluous. Some tests do seem to need it but we should probably use a named variable rather than return code as the saved state variable.
https://github.com/conjurinc/bash-lib/pull/1/files#diff-9e74f9f10627a857b3f795b8264c89adR14 space between " and \
https://github.com/conjurinc/bash-lib/pull/1/files#diff-9e74f9f10627a857b3f795b8264c89adR30 - should probably quote the image/tag variable
run_tests should probably do a loop over an array rather than have 3 individual sections on what it's testing
We should probably use echo with echo message instead of echo -e '\nmessage
tests-for-this-repo/run-bats-tests quote both sting values that are being compared

On the fence but leaning towards needing a fix

Some of your awk chomping of refs could be done with sed
Even though all of the script import -e flag, I think it would be good to explicitly set it in all toplevelish scripts that you expect might want to bail on errors
k8s/platform_login seems like it probably doesn't need main function given that the whole thing is tiny

Nits

https://github.com/conjurinc/bash-lib/pull/1/files#diff-04c6e90faac2675aa89e2176d2eec7d8R124 needs bold tags
tests-for-this-repo/python-lint/Dockerfile /mnt volume would probably be something else

Random thoughts

https://github.com/conjurinc/bash-lib/pull/1/files#diff-e37f0136aa3ffaf149b351f6a4c948e9R34 We should probably think about what happens if the used doesn't have credentials to to the submodule checkout but they have the code already on the machine.
I think pylint is a bit better than pyflake but I'd be curious to see how pyflake works nowadays

@sgnn7 @dividedmind you were both involved with this before, please feel free to update / revise this if it makes sense.


EOFError - with command line input

Error:
   File "build.spec", line 8, in <module>
     dirName =  str(input('Insert the path of your files :'))
EOFError: EOF when reading a line
Insert the path of your files :

Tried passing this error with an except but still won't work. Thinking it has to do something with the Windows compiler for Linux if I am right in saying?
Thanks for your awesome work on this script as well! :+1:
PS; Maybe add an option to auto build the spec file into the dist on first run if not found!
Another ps; Linux Action isn't working properly. Name-of-artifact.zip only contains the files trying to be built with no executable for Linux.

I don't think I'm too keen on the auto build spec as it'll inevitably lead to users not being aware of their spec file which details exactly what they want
Have you got a way to reproduce your error?


DELIA-54683: Cleanup /helpers

for #2637, to keep only files intended for share

this pr includes 2 commits from #2639

a link to successful Gerrit verification: https://gerrit.teamccp.com/#/c/643671/


open_manipulator_with_tb3

I'm implementing it with a real manipulator, but I'm not sure how to move the actual manipulator.
Can you tell me how to run it?
https://www.youtube.com/watch?v=Qhvk5cnX2hM
https://www.youtube.com/watch?v=P82pZsqpBg0
Like the above video, I would like to use the manipulator after recognizing the Ar Marker.
실제 매니퓰레이터를 가지고 구현 중에 있는데 실제 매니퓰레이터를 움직이는 방법을 잘 모르겠다.
구동하는 방법 알려주실 수 있나요?
https://www.youtube.com/watch?v=Qhvk5cnX2hM
https://www.youtube.com/watch?v=P82pZsqpBg0
위의 동영상 처럼 Ar Marker 인식 후 매니퓰레이터를 통하여 잡고 싶다

Hi :)
You can find related wiki in emanual. I attached link below
http://emanual.robotis.com/docs/en/platform/turtlebot3/manipulation/#manipulation

http://emanual.robotis.com/docs/en/platform/turtlebot3/manipulation/#manipulation i know this link
But there is only simulation data. It is difficult because there is no way to actually implement it.
-----Original Message-----
From: "Taehun<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Sent: 2018-10-23 (화) 19:59:43
Subject: Re: [ROBOTIS-GIT/open_manipulator_with_tb3] open_manipulator_with_tb3 (#5)
Hi :)
You can find related wiki in emanual. I attached link below
http://emanual.robotis.com/docs/en/platform/turtlebot3/manipulation/#manipulation
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

The packages are used to simulation and actual platform.
You are supposed to upload firmware (http://emanual.robotis.com/docs/en/platform/turtlebot3/manipulation/#opencr-setup) and bringup it.
Then you can find /joint_states topic and controller it using MoveIt! (http://emanual.robotis.com/docs/en/platform/turtlebot3/manipulation/#moveit)

Yes, we only support to that. It is resonable because TB3 has OpenCR and controlled by it.
But if you want to using only laptop, you can make your own packages that includes DynamixelSDK or Dynamixel-Workbench to control Manipulator and TB3.

한국에 계시면 전화로 물어봐도 될까요?
-----Original Message-----
From: "Taehun<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Sent: 2018-10-23 (화) 20:32:03
Subject: Re: [ROBOTIS-GIT/open_manipulator_with_tb3] open_manipulator_with_tb3 (#5)
Yes, we only support to that. It is resonable because TB3 has OpenCR and controlled by it.
But if you want to using only laptop, you can make your own packages that includes DynamixelSDK or Dynamixel-Workbench to control Manipulator and TB3.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Currently I am trying to control openmanipulator with tb3 with opencr, but turtlebot3_with_open_manipulator_core seems to have a problem.
I downloaded the version of develop and tried to use it, but the same error appears.
i tried it on another computer
https://github.com/ROBOTIS-GIT/OpenCR/commit/dc825997581e0f845e9d9b17edbfd5d4e9ee3e82

Because library file is modified, you are supposed to change library folder in Arduino.
I attached a reference how to setup
https://community.robotsource.org/t/howto-adding-multiple-opencr-boards-to-the-arduino-ide/1497

This issue will be closed since there were no actions for a while. You can reopen this issue to show this issue to the users whenever. Thanks.


Always validate Seed selection for multi zonal Shoots

How to categorize this PR?

/area high-availability
/kind bug
What this PR does / why we need it:
At the moment the Seed selection for multizonal Shoots is carried out only when the shoot is scheduled or rescheduled. This does not cover the case, when a shoot should be updated to a HA configuration with failureTolerance type zone while remaining scheduled on the same seed.
This PR removes the condition for the validation, that it runs on any update of the shoot.
Which issue(s) this PR fixes:
Fixes #7190
Special notes for your reviewer:
Release note:

Prevent updating `Shoot`s which are scheduled to a `Seed` with less then 3 zones to `spec.controlPlane.failureTolerance.type: zone`

/assign

/milestone v1.62

/cherry-pick release-v1.59

/cherry-pick release-v1.60

/cherry-pick release-v1.61

I'll do that.


Add F# to IDE0005 and IDE0059

Fixes #36552.

Internal previews

📄 File
🔗 Preview link

docs/fundamentals/code-analysis/style-rules/ide0001.md
Simplify name (IDE0001)

docs/fundamentals/code-analysis/style-rules/ide0005.md
"IDE0005"

docs/fundamentals/code-analysis/style-rules/ide0059.md
Remove unnecessary value assignment (IDE0059)

@psfinaki Could you review this? Also, I couldn't get IDE0001 to fire. Can you help me with that? This is what I tried:
let sentence = System.String.Empty

@gewarren thanks for this - looks good.
As for IDE0001, here in an example:
open System

let yesterday = DateTime.Now.AddDays(-1)
let now = System.DateTime.Now // IDE0001: Name can be simplified.

@gewarren thanks for this - looks good.
As for IDE0001, here in an example:
open System

let yesterday = DateTime.Now.AddDays(-1)
let now = System.DateTime.Now // IDE0001: Name can be simplified.

@psfinaki I'm still not seeing IDE0001. @BillWagner Could you try?

Ohhh I know what's going on. This code fix is off by default @gewarren.
Devs need to enable it in the settings:

We hope it will be on by default soon - but one never knows. For now it might be worth adding a note about this.

Thanks @gewarren :)


Cannot build program that uses cpp-netlib 0.12.0: asio/ip/address.hpp file not found

I tried upgrading an application that uses cpp-netlib from version 0.11.2 to 0.12.0.
When trying to build the application, I get:

cpp-netlib/include/boost/network/uri/builder.hpp:9:10: fatal error: 'asio/ip/address.hpp' file not found

I notice the source distribution contains a deps/asio folder, but make install doesn't seem to install that anywhere.

Manually copying $SRCDIR/deps/asio/asio/include/asio to $CMAKE_INSTALL_PREFIX/include/asio fixes the problem.

I got bit by this at the end of a long day yesterday, and your quick fix saved me a lot of frustration this morning -- thankyou so much!

We're going to recommend that people don't use 0.12 in the future, that release introduced a number of important issues, including this installation issue. I am sorry that you lost time because of this.

I didn't lose loads -- like I said, it was the end of the day, and I found HighCommander4's suggestion this morning, so that was all to the good! :)
So is there a stable version after 0.12 that is currently recommended? I'll switch to that, if there is.

Take a look at the 0.13-release branch. It uses Boost.Asio, and not standalone asio, so you won't need to manually copy the sources.

cpp-netlib.org states that 0.12.0-final is the latest stable release. But you are saying that we should be using the 0.13-release branch. It looks like this is being actively worked on. Is it stable?

@deanberris Perhaps you can comment?

The 0.13-release is waiting on @glynos or me getting around to packaging and updating the documentation of the changes. As far as I'm concerned, what's in 0.13-release will be 0.13.0 (except for some documentation updates and re-generating of the HTML and updating the website).
We certainly think it's stable now because we don't expect any more changes.
How important is it to you @ksl67 that a tagged/released version of 0.13.0 be done soon?

How important is it to you @ksl67 that a tagged/released version of 0.13.0 be done soon?
@deanberris Well, obviously the sooner the better. But if as you say it's pretty much complete, then I can work with that for now.
Thanks.

deanberris commented on Oct 13, 2016

The 0.13-release is waiting on @glynos or me getting around to packaging and updating the documentation of the changes. As far as I'm concerned, what's in 0.13-release will be 0.13.0 (except for some documentation updates and re-generating of the HTML and updating the website).

Just noted that 0.13 has still not been released. Do you have an update?

@ksl67 I see that these milestone issues are still open https://github.com/cpp-netlib/cpp-netlib/issues?q=is%3Aopen+is%3Aissue+milestone%3A0.13


[4.x] Drop ShadyCSS and IE11 specific workarounds

Description
There is still some CSS related to workarounds for ShadyCSS, IE11 and old Edge versions.
We should remove it and make sure that visual tests pass and component looks properly.

Done by https://github.com/vaadin/vaadin-tabs/pull/183/commits/3c1348a5c89c7fb3ba06c35536dab12f1a643cee, https://github.com/vaadin/vaadin-tabs/pull/183/commits/bccdb0021e6c86ff5b078962a3f40a2e3362abe2 and cd308b6cd333389623399f96852522e8878fc846.


[spawn] search expanded configs endpoint

implements a cache for expanding configurations, keyed on job IDs
creates a new endpoint /search/all?q=QUERY which returns a json stream of search results

I'll implement a little front-end for this endpoint in a different PR
I'm not sure if I am doing all of the stream management properly w.r.t. to closing and handling IOExceptions, etc.

Looks good to me.


Problem with firefox and y-webrtc

Describe the bug
I am currently building a collab whiteboard using SyncedStore (wrapper for yjs) and Sveltekit. So far everything works normally in Chrome. I use the y-webrtc provider for the SyncedStore and the connection is established successfully. However, if I use Firefox initially, no connection to the room is established. If I use a Chrome in parallel (Firefox next door still open in the non-synced tab) and establish the connection, Firefox also establishes the connection in parallel and synchronizes the document. I have attached a video below, which shows the exact procedure.
Expected behavior
Firefox connects to the y-webrtc provider just like Chrome when you open the page and synchronizes the document.
Environment Information

Firefox 116.0.3
Chrome 116.0.5845.111

Additional context

Framework used: Sveltekit with SyncedStore
y-webrtc

import { syncedStore, getYjsDoc } from '@syncedstore/core';
import { svelteSyncedStore } from '@syncedstore/svelte';
import { env } from '$env/dynamic/public';
import type { RetroBoard } from '$lib/types';
import { WebrtcProvider } from 'y-webrtc';

export const store = syncedStore({
	board: {} as RetroBoard
});
export const svelteStore = svelteSyncedStore(store);

const doc = getYjsDoc(store);

const provider = new WebrtcProvider('retrorealm-room', doc, {
	signaling: [env.PUBLIC_SIGNALING_SERVER],
	filterBcConns: false
});

export const awareness = provider.awareness;

https://github.com/yjs/y-webrtc/assets/26124256/ecccd10f-2eab-4153-83dc-feaceb02586a

I don't have a fix for this but I think that the source of the error is that Firefox WebRTC peers don't deliver ArrayBuffer data by default. They deliver blobs. Thus new UInt8Array(data) has a length of 0 and it fails. In the onmessage handler we'll need something like:
      // https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/binaryType
      const buffer = peer.channel.binaryType === "arraybuffer" ? event.data : await event.data.arrayBuffer()

@ikezedev ah, sorry I was referencing the buffered fork from @disarticulate. In the default y-webrtc the starting point is https://github.com/yjs/y-webrtc/blob/0cb5412e09e5d0c413ef72d87d8393093590cc06/src/y-webrtc.js#L233 (which is passed into readPeerMessage and then readMessage as you pointed out). The type hints in the signature claim that a UInt8Array is expected but it is a blob. (There is another spot in the broadcast channel handling and I am not sure if that is another spot where this happens). I think the fix in the default would be to put this into the peer handler, convert the data and then pass the appropriate buffer into readPeerMessage.

I have a similar issue. Each browser can connect to each other but not in betweeen. For example they can connect within firefox or within chrome or within chrome private windows.


Global catch?

Sorry I couldn't find this in doco anywhere.
Is there support for a global catch/error? Basically I want to say:
qwest.catch(function(xhr, response, e) {
   if (xhr.status === 401) { showLogin(); }
});

Something like that, which applied to every request.

I thin it's impossible to set a global catch with promises, by design. You should create your own global function to create your requests like :
function sendRequest(url, data, options, callback) {
    qwest.get(url, data, options)
             .then(callback)
             .catch(function(xhr, response, e) {
                  if (xhr.status === 401) { showLogin(); }
             });
}

Ok, no worries. Figured I should ask. :)
Thanks.

Np ;)


ZonedDateTime doesn't handle forward timezone transition correctly for some durations

🐛 Bug Report
While trying to fix https://github.com/adobe/react-spectrum/issues/4701 in PR https://github.com/adobe/react-spectrum/pull/4702 I discovered a bug with ZoneDateTime froward timezone transitions when trying to add a new test.
ZonedDateTime is designed to handle timezone transitions when adding duration https://react-spectrum.adobe.com/internationalized/date/ZonedDateTime.html#adding-and-subtracting-durations

Adding and subtracting is time zone aware. When adjusting a date around a daylight saving time transition, the hour may be adjusted accordingly. For example, in the United States, adding one hour during a "spring forward" transition skips the 2 AM hour, and adding an hour in a "fall back" transition repeats the 1 AM hour. Under the hood, the UTC offset is changing instead.

The documentation example shows an example of adding a day which adjusts the hours
// A "spring forward" transition
let date = parseZonedDateTime('2020-03-07T02:00-08:00[America/Los_Angeles]');
date.add({days: 1}); // 2020-03-08T03:00-07:00[America/Los_Angeles]

This seems to work for some duration values, but not others.
Adding 1 day and 24 hours result in the same output.
Adding 2 days and 48 hours does not result in the same output. Adding "48 hours" adjusts the hour for the transition. Adding "2 days" does not adjust the hour.

Similarly, adding "168 hours" adjusts the hour. Adding "7 days" does not.
🤔 Expected Behavior
Adding 2 days should adjust the spring forward transition the same as adding 48 hours.
// A "spring forward" transition
let date = parseZonedDateTime('2020-03-07T02:00-08:00[America/Los_Angeles]');
date.add({days: 2});

// A "spring forward" transition
let date = parseZonedDateTime('2020-03-07T02:00-08:00[America/Los_Angeles]');
date.add({hours: 48});

😯 Current Behavior
// A "spring forward" transition
let date = parseZonedDateTime('2020-03-07T02:00-08:00[America/Los_Angeles]');
date.add({days: 2});
// 2020-03-09T02:00:00-07:00[America/Los_Angeles]
// hour is not adjusted

// A "spring forward" transition
let date = parseZonedDateTime('2020-03-07T02:00-08:00[America/Los_Angeles]');
date.add({hours: 48});
// 2020-03-09T03:00:00-07:00[America/Los_Angeles]
// hour is adjusted

💁 Possible Solution
Not sure
🔦 Context
Trying to add a test to ZonedDateTime.test.js https://github.com/adobe/react-spectrum/blob/e783f0bb5df33425c26cc80aa20f292fbca24672/packages/%40internationalized/date/tests/ZonedDateTime.test.js#L17
💻 Code Sample
https://codesandbox.io/p/sandbox/eager-christian-76ltpw?file=%2Fsrc%2FApp.tsx%3A20%2C1-22%2C11
🌍 Your Environment

Software
Version(s)

react-spectrum
3.3.0

Browser
Chrome 114.0.5735.133 (Official Build) (arm64)

Operating System
macOS 13.4.1

🧢 Your Company/Team

🕷 Tracking Issue (optional)

You are correct that adding two days and adding 48 hours are difference, and I believe this is expected behavior. When adding days, the behavior is to preserve the hour so if it was at 8am before it'll still be 8am after even if the timezone offset changed. This would make sense if you were rescheduling an appointment to be one day later, for example. However, if you add 48 hours, we add exactly 48 hours from the starting time, which may mean that the resulting hour field changes. This matches the behavior in the upcoming TC39 Temporal spec as well.

@devongovett Ah thanks for the explanation. TIL about TC39.
For clarity, the original example of adding 1 day changes the hour because 02:00-07:00 would be invalid.
// A "spring forward" transition
let date = parseZonedDateTime('2020-03-07T02:00-08:00[America/Los_Angeles]');
date.add({days: 1}); // 2020-03-08T03:00-07:00[America/Los_Angeles]

The Temporal API produces the same result
Temporal.ZonedDateTime.from('2020-03-07T02:00-08:00[America/Los_Angeles]').add({days:1})
// 2020-03-08T03:00:00-07:00[America/Los_Angeles]


Remove proposer bonus

Description
This PR removes the proposer bonus within distribution. This is because Osmosis distributes rewards on an epoch'd basis, and in this setting it doesn't make sense to give this reward to the proposer, since it won't get amortized to all proposers according to stake distribution.
The reason this proposer bonus existed was to incentivize precommit inclusion. However, if you knew ahead of time that a particular block would have a higher reward, this would incentivize not voting on the block until you were the proposer -- clearly harmful. Thus we remove this proposer bonus here.
(This has the additional side affect of removing the slight incentivization of stake centralization that has existed in all SDK chains thus far!)

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards.
[ ] Wrote unit and integration tests
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added relevant godoc comments.
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Review Codecov Report in the comment section below once CI passes

In hindsight, a much simpler plan would have been to just make the proposer bonus params 0. I think we should go with that instead


Many doc links are broken

E.g. see https://github.com/toxicFork/react-three-renderer/wiki/Materials and click on the links that go to threejs docs.
Hints on how to fix:

write a message here to say if you'd like to give it a try
clone the repo
search for threejs.org/docs in the docs directory

E.g. https://github.com/toxicFork/react-three-renderer/blob/master/docs/src/internalComponents/meshBasicMaterial.js#L5

fix one or two of them by changing the links to correct URLs (or all if you are patient)

e.g. https://threejs.org/docs/#api/materials/MeshBasicMaterial

run gulp doc to verify ( optional, can be done by @toxicFork too )
create a PR!
receive love and creds

Should we close this issue due to merged PR?

Aww yiss! Thanks @AndrewRayCode and good shout, @ashl1 :)


Is there any function to calculate minimum amount needed to perform ethereum transaction?

Hello,
I wanted to know is there any function in web3swift to validate minimum amount required to make transaction ?

Hi, @DiwakarThapa
Think you need estimateGas function. It estimates a minimal amount of gas required to run a transaction. To do it the Ethereum node tries to run it and counts how much gas it consumes for computations. Setting the transaction gas limit lower than the estimate will most likely result in a failing transaction.
Usage example
let web3 = Web3.InfuraMainnetWeb3()
            let sendToAddress = EthereumAddress("recepient_address")
            let keystore = try! EthereumKeystoreV3(password: "")
            let keystoreManager = KeystoreManager([tempKeystore!])
            web3.addKeystoreManager(keystoreManager)
            let contract = web3.contract(Web3.Utils.coldWalletABI, at: sendToAddress, abiVersion: 2)
            guard let writeTX = contract?.write("fallback") else {return} // you can use any other tx method
            writeTX.transactionOptions.from = tempKeystore!.addresses?.first // its your address
            writeTX.transactionOptions.value = BigUInt("1.0", .eth) // value in eth
            let estimate = try writeTX.estimateGasPromise().wait()
            print(estimate) // here you'll get gas estimation

Hope this will help you


Enable country mappings

If we enable them, I can write an event to make the Raj, Malaya and East Indies created as vassals, but we would still need some kind of post-conversion cores based on states, like in EU4Vic2

That'll be part of the 0.3 series of changes, and I'll just create all the appropriate atonymous regions during that series. No need for events to do it.


Slot set with something not detected as Entity by the rasa_nlu

Rasa Core version: 0.8.3
Python version: 3.6.3 : Anaconda custom (64-bit)
Operating system (windows, osx, ...): Windows
Issue:  I have a model in my rasa_nlu that work just fine. But rasa_core set one of my slot with a word that rasa_nlu does not recognize (rightfully) as an entity. Basically I have an entity "name" in rasa_nlu and an equivalent slot in rasa_core, this entity can be or not in my intents. When there is no entity "name" provided by the user, rasa_nlu detect the right intent with no entities (as it should be) but in my rasa_core, the slot "name" is set with a word from the input sentence whereas it should not.
How is it possible that the slot is changed whereas nothing is given by the input ?
I have tried doing it with a slot type of "text" then "categorical" but rasa_core keeps setting my slot with a value that is not in the values given in my domain.yml so how does it end up in my slot ? If a previous question has been asked with an entity "name" then the slot should have the previous value still set ?
Content of domain file (if used & relevant):
name:
    type: categorical
    - STV
    - STU

Can you provide a minimal non-working example that will help me to reproduce this? Good would be the stories file, domain as well as nlu data & commands you used for training.

Here I provided a small example with the same thing happening.
If you type "quel est son type" it sometime take type as a "name" entity/slot whereas it should not !
In this small example it does not happend every time but i managed to do it by typing several times.
github.zip


Crash: io.branch.referral.Branch$BranchWindowCallback.dispatchKeyEvent

Fatal Exception: java.lang.IllegalStateException:
http://crashes.to/s/3a4ba58f020
Please check the crash log in the above link.
Thanks
Deepak

Hi @dbharani -- are you on the latest version? We removed window callbacks a bit ago. Let me know if using the latest version (2.5.5 - https://github.com/BranchMetrics/android-branch-deep-linking/releases) helps!

Hi dbharani -- I've come to understand that you are using Segment (this repo https://github.com/BranchMetrics/Segment-Branch-Android), and that my colleagues are assisting you directly over e-mail. Let's continue to work directly through e-mail as this could confuse our native Android users.


adding MPU patch to my kernel - I cannot see the new module

Hi,
I am trying to port this to my imx7 using technexion pico-imx7 module.
I have added rpmsg_sysfs_interface.patch and linux-fslc-imx_4.1-1.0.x.bb to my kernel, my project is working with krogoth, the after building I cannot find the rpmsg_multiept under drivers.
I am not sure how to confirm the patched has been added to linux kernel.
After those changes I have bitbake core-image-base and not driver on it.
Then I rebuild doing a sstate cleanup with same result.
bitbake -c cleansstate linux-tn-imx
bitbake -f -c compile linux-tn-imx
bitbake -c deploy linux-tn-imx
bitbake core-image-base

Would you kindly give an advice please.

Hi mhanuel26,
are kernel-mudules part of  you core-image base?  (kernel-modules allowed in some bb layer) You can easily checkit. Google something like adding kernel-module to core-image-minimal.
If kernel-modules are part of your build then you can try enable rpmsg-multiendpoint in menuconfig.

Hi @Hadatko
Thanks for your response,
I have added the line
IMAGE_INSTALL_append += "kernel-modules kernel-devicetree python-dev python-numpy python-argparse python-subprocess python-modules python-distribute gcc gcc-dev"
to my local.conf file, which I think enable kernel-modules.
I have also buil the kernel menuconfig and looking at the RPMSG option I can only see the two defaults of original linux-tn-kernel

But I cannot see the rpmsg_multiept module.
The files structure is below.

There should be something else I am missing.
Please let me know if you have any idea.

Hi @mhanuel26,
because you don't see driver in menuconfig it looks like patch in bb layer is not applied. After bitbake you should see in same directory as original rpmsg multiendpoint c source file (rpmsg_multient.c or something like that). Also kConfig file and Makefile in same directory should be changed.
Here are my working sets.
in file sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.9.%.bbappend i added SRC_URI_append += " file://0001-rpmsg_sysfs_interface_4_9_51.patch
Patch is located in sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx/

My patch is newer because i am using newer kernel - 4.9.51 and it is not working with older kernel for which was intented your patch.

Be sure that bitbake ends without errors.

Hi @Hadatko
I appreciate your support,
Do you mean I should not add the linux-fscl-imx_4.1-1.0.x.bb file as instructed here
If so, I understand I should only add the old patch rpmsg_sysfs_interface.patch to the
sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx/
instead of the meta-fsl-arm also instructed in aforementioned script.
I will try that way.
Best,

It did't work. Perhaps I should not use the meta-fsl-bsp-release folder, I guess you have it since somewhere I read that meta-fsl-arm is deprecated but my setup might still depend on that.
Here is how changes looks like

Also in my working set there was no linux-imx folder.
The missing meta-fsl-arm might be the reason you add SRC_URI_append to .bbappend file, original script here does it using file linux-fslc-imx_4.1-1.0.x.bb.
I understand the file linux-fslc-imx_4.1-1.0.x.bb is applied by the local.conf in meta-fsl-arm which is
# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"

# We have a packages directory, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
            ${LAYERDIR}/recipes-*/*/*.bbappend"

BBFILE_COLLECTIONS += "fsl-arm"
BBFILE_PATTERN_fsl-arm := "^${LAYERDIR}/"
BBFILE_PRIORITY_fsl-arm = "5"

FSL_EULA_FILE = "${LAYERDIR}/EULA"

FSL_MIRROR ?= "http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/"

MIRRORS += " \
${FSL_MIRROR}	http://download.ossystems.com.br/bsp/freescale/source/ \n \
"

# Let us add layer-specific bbappends which are only applied when that
# layer is included in our configuration
BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \
               for layer in BBFILE_COLLECTIONS.split())}"
# Add layer-specific bb files too
BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bb' % layer \
               for layer in BBFILE_COLLECTIONS.split())}"

but it seems not , probably I am wrong.

Hi @Hadatko,
Finally I got it, I found the layer that was needing the  SRC_URI_append for technexion imx7 is meta-edm-bsp-release, so I copy patch and add the line
SRC_URI += "file://rpmsg_sysfs_interface.patch"
to linux-tn-imx_4.1.15-2.0.0.bb

Now I can see the files in sources as

Will make use of it and report back.

Hi @mhanuel26,
i am happy for you. I was near to midnight and out of work so i couldn't send information for older kernel. This was what i was working on recently.
I am looking forward for report ;)

Hi @Hadatko ,
I have some problem to make it work the rpmsg example, would you please see below description and let me know what might be wrong,
I have started the Cortex M4 core using the compiled rpmsg_mcu_mpu_hello_world.bin by changing the m4image u-boot parameter
reading zImage
6001232 bytes read in 390 ms (14.7 MiB/s)
Booting from mmc ...
reading rpmsg_mcu_mpu_hello_world.bin
17168 bytes read in 26 ms (644.5 KiB/s)
## Starting auxiliary core at 0x007F8000 ...
baseboard is hobbit
reading imx7d-pico_hobbit-m4.dtb
44400 bytes read in 29 ms (1.5 MiB/s)

The M4 debug uart don't show anything.
I know my M4 is working since I have loaded a hello world demo that prints on it, but rpmsg_mcu_mpu_hello_world do not print anything, looking at main.c code I guess it should print at least Hardware initialized because the code tarts with
void test(void *unused)
{
    int recved = 0;
    unsigned long src;
    char buf[256];
    int len;

    hardware_init();
    PRINTF("Hardware initialized\r\n");

I have loaded both debug and release binaries with same result.
I have installed the python application and when called from linux it produces
pico-imx7:~/Devel/erpc-imx-demos/MPU/example_rpmsg$ python example.py
Datagram endpoint Test:
Could not create endpoint!
Exception AttributeError: "RpmsgEndpoint instance has no attribute 'fd'" in <bound method RpmsgEndpoint.__del__ of <rpmsg.sysfs.RpmsgEndpoint instance at 0x76acbf08>> ignored

I have converted back the imx7d-pico_hobbit-m4.dtb and search for rpmsg to found
            rpmsg {
                compatible = "fsl,imx7d-rpmsg";
                status = "okay";
                reg = <0x9fff0000 0x73656d61>;
            };

The second  number is somehow different from what is defined here but I am not expert, it might be mix up with something else to get final range.
I have notice the traceback of python has a number similar to the above but different value, that is ,
0x76acbf08, does this have to match? what this number means?
The memory field in dts is
    memory {
        device_type = "memory";
        reg = <0x80000000 0x000000dc>;
        linux,usable-memory = <0x80000000 0x63707573>;
    };

Not sure if I have to modify somehow the M4 application, I have notice that under porting there is no platform_info.c but instead only platform.c and VRING values are not defined as I was used to see, that is
#define VRING0_BASE                       0xBFFF0000
#define VRING1_BASE                       0xBFFF8000

Will appreciate your comments,

I hope your test function in m4 app is called at the beginning of main function. I would put hardware initialization and printf as first two function in the main function.
About memory map. This area is pretty new for me. I started with it yesterday and i was able do some settings. To be sure about memory mapping you need reference memory where is described memory mapping. There you can find physical address for shared memory (for linux A core side).  Here( reg = <0x9fff0000 0x73656d61>;)  first number means address of shared memory and second size. It is mapped in device tree because we need reserve this memory for rpmsg and forbid linux to use it for differed purpose. This (reg = <0x80000000 0x000000dc>;) is confusing for me. Like Linux can use only 0xdc size of memory. But then there is  (linux,usable-memory = <0x80000000 0x63707573>;) which looks reasonable.
Here my basic knowledge ends. I will pass this question to @MarekNovakNXP . He is autor of RPMSG-lite and also he played with yocto more than me. I hope he can bring more light here.

Hello @Hadatko @MarekNovakNXP ,
I have sucessfully ported the M4 rpmsg example application to my pico hobbit imx7 board. Now when M4 boot it shows
Hardware initialized
Waiting for master to get ready...
.....................................

I have done several things to source code but leaving original code and adding extra folder for pico board.
Try to build erpc too but it has some problem with memory as below
/home/mhanuel/Devel/technexion/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld: debug/erpc_mcu_mpu_hello_world.elf section `.text' will not fit in region `m_text'
/home/mhanuel/Devel/technexion/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld: region m_text overflowed with text and data
/home/mhanuel/Devel/technexion/gcc-arm-none-eabi-4_9-2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld: region `m_text' overflowed by 2840 bytes
collect2: error: ld returned 1 exit status
CMakeFiles/erpc_mcu_mpu_hello_world.dir/build.make:1077: recipe for target 'debug/erpc_mcu_mpu_hello_world.elf' failed
make[2]: *** [debug/erpc_mcu_mpu_hello_world.elf] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/erpc_mcu_mpu_hello_world.dir/all' failed
make[1]: *** [CMakeFiles/erpc_mcu_mpu_hello_world.dir/all] Error 2
Makefile:76: recipe for target 'all' failed
make: *** [all] Error 2
-- TOOLCHAIN_DIR: /home/mhanuel/Devel/technexion/gcc-arm-none-eabi-4_9-2015q3/
-- BUILD_TYPE: Release
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_TOOLCHAIN_FILE

Anyway I want to test first  the rpmsg and now I face a problem with python in MPU.
I am not sure but in order to run example_rpmsg, should I load a kernel module? the only one that I tried to load is imx_rpmsg_tty.
After running example.py under example_rpmsg I ot the following error
pico-imx7:~/Devel/imx/erpc-imx-demos/MPU/example_rpmsg$ python example.py
Datagram endpoint Test2:
Traceback (most recent call last):
  File "example.py", line 111, in <module>
    sys.exit(main())
  File "example.py", line 70, in main
    RpmsgEndpoint.Types.DATAGRAM)
  File "build/bdist.linux-armv7l/egg/rpmsg/sysfs.py", line 116, in __init__
Exception

Am I doing something wrong or missing anything here?
Could you please let me know more details about how the python app should be setup.
I have installed module under middleware/rpmsg-python/ by doing
python setup.py install --user
Will appreciate your comments,

Hi @mhanuel26, at least you should load multiendpoint rpmsg kernel module with modprobe (that one from patch). Otherwise it looks like you have same issue as Vadim on community https://community.nxp.com/docs/DOC-334083?commentID=52054&et=watches.email.document_comment#comment-52054 (at the bottom).
With binary size and arm gcc we are actually facing issue of size. We are not able to strip some redundant code from linker. Not sure with which version of armgcc this issue started. Try add if not present options like fno-rtti and fno-noexception. Otherwise you can look if you can't extend mtext data size in linker file (you need read memory mapping if you can extend memory).

Hello @Hadatko ,
I have read Vadim problem which looks similar but there is no solution there or further information of exactly what was wrong, I understood he use the C code and it worked.
First thing I did (I was doing it already) is to modprobe the kernel using
modprobe rpmsg_multiept
which don't output any feedback by the way.
Let's separate things.
ERPC.
I could build the release version doing the flags you mentioned.
When loading example_erpc on M4 the code seems to get stuck on  Hardware Initialized, I have included a PRINTF as below
void app_task(void *param)
{
    hardware_init();
    PRINTF("Hardware initialized\r\n");

    erpc_transport_t transport = erpc_transport_rpmsg_lite_rtos_remote_init(
            30, 1024, BOARD_SHARED_MEMORY_BASE,
             0, NULL);
    PRINTF("call to erpc_mbf_t\r\n");

and code don't reach the second PRINTF("call to erpc_mbf_t\r\n");
Further debugging shows I cannot PRINTF inside erpc_transport_rpmsg_lite_rtos_remote_init, but inside the s_transport->init I have included a PRINTF also unreachable (commenting any code there).
Do you think it might crash creating the static array
static ManuallyConstructed<RPMsgZCRTOSTransport> s_transport;
I have not found any other reason since I also commented  s_transport.construct(); function.
Unfortunately I cannot debug using JTAG.
RPMSG
I have a few doubts here, the M4 runs and keeps printing dots after
Hardware initialized
Waiting for master to get ready...

Is ok this behaviour? I have tested with only one or both of the kernel modules loaded as shown
The code that keeps waiting for something is
    while(!rpmsg_lite_is_link_up(my_rpmsg))
    {
       PRINTF(".");
       vTaskDelay(300);
    }
    PRINTF("Sending name service announcement to Linux...\r\n");
    rpmsg_ns_announce(my_rpmsg, ctrl_ept, "rpmsg-openamp-demo-channel", RL_NS_CREATE);

Does it wait for kernel module, for user space app? Could you please giveme a hint here.
root@pico-imx7:/home/mhanuel/Devel/imx-m4fwloader# lsmod
    Not tainted
rpmsg_multiept 15340 0 - Live 0x7f025000
imx_rpmsg_tty 2623 0 - Live 0x7f021000

Also, remember my dtsi rpmsg section is
            rpmsg {
                compatible = "fsl,imx7d-rpmsg";
                status = "okay";
                reg = <0x9fff0000 0x73656d61>;
            };

I have change the address defined as BOARD_SHARED_MEMORY_BASE in board.h to be
#define BOARD_SHARED_MEMORY_BASE  ((void*)0x9FFF0000)
Would you please let me know more details how can I debug rpmsg-lite.
Thanks in advance,

Hi @mhanuel26 , RPMSG is question more for @MarekNovakNXP. But he is busy these days.  But i think he will try answer soon. I think at first M4 app should be run, then modprobe rpmsg modul, then run Linux app (but i am not sure). If you changed address in board.h you need be sure that this address is ca access M4 and it is not mapped differently (also in linker file for M4 app is used to be shared memory address specified, but maybe that is in newer apps.). For M4 side you can try newest RPMSG-lite. There were several bug fixes. And it is still compatible to commnicate with Linux RPMSG of your version of kernel (should be, binary format of messages is same)
If it is crashing during s_transport.construct() that means you have defined small stack size in app. This is calling class constructor on address preallocated during compaling/linking.
Linux you can debug also with dmesg command

Hello @Hadatko ,
Thank your for comments,
I have increase stack size by changing the following defines in main.c
#define APP_TASK_STACK_SIZE 512

void* rpmsg_lite_base = BOARD_SHARED_MEMORY_BASE;

#define TASK_STACK_SIZE 1000

I also change linker to
HEAP_SIZE  = DEFINED(__heap_size__)  ? __heap_size__  : 0x0800;
STACK_SIZE = DEFINED(__stack_size__) ? __stack_size__ : 0x0800;

with same results.
The example code I am running is example_rpmsg, how can I run the newest RPMSG-Lite?
The linker ha only this address range to change but really don't know how this has to be with the 0x9FFF0000 address
/* Specify the memory areas */
MEMORY
{
  m_interrupts          (RX)  : ORIGIN = 0x1FFF8000, LENGTH = 0x00000240
  m_text                (RX)  : ORIGIN = 0x1FFF8240, LENGTH = 0x00007DC0
  m_data                (RW)  : ORIGIN = 0x20000000, LENGTH = 0x00008000
}

I really will appreciate support to move forward on this project.
Hope @MarekNovakNXP can give me some hints too.

You can replace rpmsg-lite on m4core with https://github.com/codeauroraforum/rpmsg-lite. But i am not sure how it will work with your old app. In current apps we are putting shared memory information into linker file. Maybe you can go here https://mcuxpresso.nxp.com/en/welcome download example for LPCXpresso54114. Look on rpmsg remote example.
In reference manual for board you should find shared memory mapped for Mcore perspective.
But maybe i am confusing you and we should wait for @MarekNovakNXP .

Hi @Hadatko, @MarekNovakNXP
Regarding the RPMSG-lite (also original RPMSG)
I finally make it work and found at least the reason why it was not working,
I was doing all my tests using the imx-m4fwloader tool, which I have tested using hello world without problems, that is, I can load a new hello world app that only prints to serial debug console and it works without having to configure u-boot.
For some reason with rpmsg application, using this tool makes the code to remain in this while loop forever
   while(!rpmsg_lite_is_link_up(my_rpmsg))
    {
       PRINTF(".");
       vTaskDelay(300);
    }

I was suspicious of this and decide to load using u-boot and bump, after booting without loading kernel module it goes thru, that is printing
Hardware initialized
Waiting for master to get ready...
...Sending name service announcement to Linux...
Waiting for any messages from Linux...

When kernel module is loaded it prints
root@pico-imx7:~# modprobe imx_rpmsg_tty
imx_rpmsg_tty rpmsg0: new channel: 0x400 -> 0x1e!
Install rpmsg tty driver!

and /dev/ttyRPMSG works as expected so far!
I was thinking that u-boot was not loading the correct dtb since it might happen if .bin file is not found or readable, but I repeat the test once it was working, that is trying to load a new rpmsg application using imx-m4fwloader with same result.
My conclusion is that there is something wrong with imx-m4fwloader that might affect rpmsg M4 applications or perhaps other type of applications causing to not  load correctly which by the way make it useless since reboot seems to be required anyway.
About the Python app, here are my findings.
Running example_rpmsg give me
pico-imx7:~/Devel/erpc-imx-demos$ python MPU/example_rpmsg/example.py
Datagram endpoint Test:
Could not create endpoint!
Exception AttributeError: "RpmsgEndpoint instance has no attribute 'fd'" in <bound method RpmsgEndpoint.__del__ of <rpmsg.sysfs.RpmsgEndpoint instance at 0x76ab6030>> ignored

The problem is that class RpmsgEndpoint int method is rasing an exception because of self.id = -1, that is,
        if self.id == -1:
            raise Exception()

but the real exception is because del method is been called with None value in self.fd attribute, I have change the first part of del method to
    def __del__(self):

        # Close the opened endpoint
        try:
           if self.fd is None:
              return
           os.close(self.fd)
        except:
           print "problem here with fd"
           return

and the example now runs and throws
pico-imx7:~/Devel/erpc-imx-demos$ python MPU/example_rpmsg/example.py
Datagram endpoint Test:
Could not create endpoint!
problem here with fd

It seems init method try to access /sys/class/rpmsg
files = os.listdir(RpmsgEndpoint.RPMSG_ROOT)
which do not exist in my system
root@pico-imx7:~# ls /sys/class/
ata_device    bdi           drm           graphics      input         mem           net           ptp           rtc           sound         tty           video4linux
ata_link      block         edm           hwmon         lcd           misc          pci_bus       pwm           scsi_device   spi_master    ubi           vtconsole
ata_port      bluetooth     firmware      i2c-dev       leds          mmc_host      power_supply  regulator     scsi_disk     spidev        udc           watchdog
backlight     dma           gpio          ieee80211     mdio_bus      mtd           pps           rfkill        scsi_host     thermal       vc

I can see rpmsg here
root@pico-imx7:~# ls /sys/bus/rpmsg/
devices            drivers            drivers_autoprobe  drivers_probe      uevent
root@pico-imx7:~# ls /sys/bus/rpmsg/devices/
rpmsg0

and  the following kernel message while booting
virtio_rpmsg_bus virtio0: rpmsg host is online
imx rpmsg driver is registered.

a little later
virtio_rpmsg_bus virtio0: creating channel rpmsg-openamp-demo-channel addr 0x1e
I am not sure how /sys/class/rpmsg gets populated.
Will appreciate your comments,

@Hadatko
Ok , I have forgotten to load the rpmsg_multiept kernel module.
Now /sys/class/rpmsg is populated.
But my application gives me the already reported error
pico-imx7:~/Devel/erpc-imx-demos$ python MPU/example_rpmsg/example.py
Datagram endpoint Test:
Traceback (most recent call last):
  File "MPU/example_rpmsg/example.py", line 111, in <module>
    sys.exit(main())
  File "MPU/example_rpmsg/example.py", line 70, in main
    RpmsgEndpoint.Types.DATAGRAM)
  File "build/bdist.linux-armv7l/egg/rpmsg/sysfs.py", line 116, in __init__
Exception

Investigating...

@Hadatko
Ok, got it.
The problem is that both kernel drivers cannot be enable since each consume a channel with M4.
After loading the rpmsg_multiept module I found you need root privileged to execute the python script.
pico-imx7:~/Devel/erpc-imx-demos$ sudo python MPU/example_rpmsg/example.py
Datagram endpoint Test:
TX - Status: 0, Destination: 0, Message: Hello world, Length: 11
TX - Status: 0, Destination: 0, Message: Hello world, Length: 11
TX - Status: 0, Destination: 0, Message: Hello world, Length: 11
RX - Source: 30, Message: Oh you don't say number 1024!, Length: 29
RX - Source: 30, Message: Oh you don't say number 1024!, Length: 29
RX - Source: 30, Message: Oh you don't say number 1024!, Length: 29
RX - Source: 30, Message: , Length: 0

That's great that now it is working for you. So now we can close this thread? I am appreciating your engagement.

I think so, I appreciate your help, sometimes we only need to have another opinion to kick off things ;)
By the way, should I open an issue on imx-m4fwloader repo about the issue with rpmsg code?

I don't know nothing about imx-m4loader. If you think it is issue you should report it. Thank you very much.


Access parameters in report titles

Being able to access $variables from Parameter Select in the title of other Report objects I think is useful. Currently we need to continually look at the filter to see what we've selected. This becomes a bigger issue if the dashboard has more content one scrolls down and the filter disappears from view.

Thanks for this resolved


Can't run for desktop window

Can't run for desktop window

@akunzz Can you please provide details around errors you are getting and provide any stack traces etc. Also please specify steps to reproduce your errors.
You can easily help the community to help you better by providing relevant details in your issue.

Here is error

Oh ok. This project currently does not support the Windows platform.

Expand this folder into your project folder, it's working fine for me.
windows.zip

Expand this folder into your project folder, it's working fine for me.
windows.zip

thanks so much! It working for me!

Expand this folder into your project folder, it's working fine for me.
windows.zip

should be a pull request

Expand this folder into your project folder, it's working fine for me.
windows.zip

should be a pull request

Added 👍🏻

Fixed, check the latest update.


signal subgraph

there are now 3 papers that due "signal subgraph"

https://arxiv.org/abs/1804.09567
https://arxiv.org/abs/1108.1427
https://arxiv.org/abs/1801.07683v1

let's have at least some way of doing it here.

who is working on this?

@Vikram Chandrashekhar<EMAIL_ADDRESS>see
https://github.com/neurodata/subgraphing
On Mon, Mar 4, 2019 at 11:44 AM Jaewon Chung<EMAIL_ADDRESS>wrote:

who is working on this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/graspy/issues/120#issuecomment-469324147,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACjctg7od9K4aOTs_2Qq5gpjjJrXkfQks5vTU1ugaJpZM4bDkeZ
.

--
the glass is all full:  half water, half air.
neurodata.io

https://arxiv.org/abs/1701.08140

I've started working on the second paper linked above.

I am implementing the two algorithms from this paper:
https://arxiv.org/abs/1108.1427

@caseypw @gkang7 I know this issue is already open, but you should do more than just link the paper. Please describe what the algorithms are doing at a high level and what you will actually PR

I will be working on the coherent and incoherent subgraphing algorithms from this paper: https://arxiv.org/abs/1108.1427
The subgraphing algorithms seek to find a subset of edges such that the conditional probabilities of these edges existing are distinctly different for different classes, as quantified by Fisher's exact test. Once the subgraph has been found for a training set of graphs with class labels, the subgraph can be used to classify a set of training data into those same classes.
The incoherent subgraphing algorithm simply finds m edges that have the lowest Fisher's stats, with no additional constraints.
The coherent algorithm applies a similar sorting process. but with the added constraint that the m edges must be incident to at least one vertex from a set of n vertices.
I will be focused on PRing these two algorithms
I've sent you a Slack message about the data validation portion, if you're able to check it

I will be merging the iterative and non-iterative signal sub-graph screening algorithms from this paper: https://arxiv.org/abs/1108.1427
These algorithms are two screening methods for estimating the signal sub-graph for a collection of distinguishable graphs, classified according to a covariate of interest.
The non-iterative algorithm sets a threshold for the correlation between a graph type and the covariate of interest, and then extracts the nodes that pass that threshold. This set of nodes is the estimated signal subgraph.
The iterative algorithm runs the non-iterative algorithm once, extracting a certain quantile of correlations as opposed to thresholding by a set value. The correlation value for that new set of nodes is tested, and then the quantile of that set is taken and the process is repeated. Whichever group of nodes that had the highest correlation value is given as the estimated signal subgraph.
Multiscale Graph Correlation (MGC) and Distance Correlation (DCorr) will be utilized to quantify the correlation between a set of graphs and the class label. These functions will be sourced from the mgcpy package, as well as RV and CCA from the mgcpy package will be included for comparison.
The implementation of both of these algorithms, as well as unit tests, will be PR'd into Graspy.


The item model does not match the display

Describe the bug
The item model does not match the display
Reproducibility

[X] I reproduced this issue with as few other mods as possible installed.
[ ] I am unable to reproduce this issue consistently.

Screenshots and/or videos
No response
Logs
no logs
Debug Logs
No response
Crash Reports
No response
MWC Version
0.1.3
Forge Version
1.12.2 forge <IP_ADDRESS>60
Red Core Version
0.6 dev 3
MixinBooter Version
9.1
Java Version
1.8
Java Virtual Machine
Hotspot
Operating System
windows 11
GPU Vendor
NVIDIA
Code of Conduct

[X] I agree to follow this project's Code of Conduct

https://github.com/Cubed-Development/Modern-Warfare-Cubed/assets/130232431/30997ae9-1db0-4b70-b1cb-bf4ccd06eb41

The item model does not match the display, and it also flickers


0.11.0 not released to jcenter

The documentation was bumped to 0.11.0 but it looks like the archive was never uploaded to jcenter.

Are you trying to use the badge link or is it failing to resolve in Gradle/maven build? There is a known issue (fixed in the dev branch) related to the badge being out of date.

gradle is failing is how I found out.  The readme shows you can use the depencency of
compile 'org.codehaus.groovy.modules:http-builder-ng:0.11.0'
But on the bintray website it shows only 0.10.2 as the latest.

Hmm... its published and like I said, the badge is wrong. Let me take a look, maybe I missed a step when the project was split up.

Yep... looks like I had to request that the "new" sub-project artifacts be added to jcenter. I have submitted the request for both libraries - usually they get added pretty quickly, but I will keep this issue open until then. Also there are some issues with the README that I will go fix right now.
Thanks for pointing these out!

As a workaround, you can add:
maven { url 'https://dl.bintray.com/http-builder-ng/dclark/' }

to your Gradle build repositories config... if you are using Maven, sorry, I don't remember how to do that right now.

@aaronhagopian @cjstehno
I can now pull both artifacts from bintray. Bin sure to specify either http-builder-ng-core or http-builder-ng-apache. We are separating support for different back ends into different libraries. This is a breaking change from 0.10.x

I am closing this bug. If this issue still is a problem please comment here again and we will take another look.

Yeah they were published a few hours ago. I will remove the note from the readme tomorrow.


cannot resolve method setProductID( )

unable to compile in version 0.5.1

Please provide more details on your issue.

Closing due to lack of response. Please re-open if you have more information.


feat(TFD-2590) FieldSelector

What is the current behavior? (You can also link to an open issue here)
There is no way to select field
What is the new behavior?
We added the FieldSelector components.
Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features) ?
[x] The code coverage on new code >75%
[x] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: success :star:
Sonar results

Pull request test result: success :star:
Sonar results

Pull request test result: success :star:
Sonar results

Pull request test result: success :star:
Sonar results

Pull request test result: failure :x:

Pull request test result: success :star:
Sonar results

Pull request test result: success :star:
Sonar results

Pull request test result: success :star:
Sonar results

Pull request test result: success :star:
Sonar results

Pull request test result: success :star:
Sonar results