localstorage for remembering settings

[ ] I think it'd be nice to remember your line thickness and pen color between sessions in localstorage. I think this should be per room? Could also choose to set them to default on the entire machine, maybe via right click/double click for options menu.

[ ] Possibly even more useful is to keep track of the list of room IDs that this machine has visited (with I guess the option to delete some).  That list would be really handy, especially before but even with user accounts (#4).

[ ] Could also store remoteId, which would preserve your ID across reloads (so less likely to get a stale cursor), though this makes things slightly less private.  Maybe only store when name is stored, so intentionally broadcasting name?

So I'm almost certainly an edge case, but I generally don't retain any state across browser restarts.  So for me, I think that means that localstorage wouldn't actually be an effective store of anything.  I think with #4 in place, it would be great to store these settings in the database somewhere, and then have the option to override them via localstorage, or something like that.
localstorage does, of course, have the advantage of not requiring #4, though...

I also think that if we are going to keep track of recently-visited (or bookmarked) room IDs, it might also make sense to be able to give nicknames to rooms (either as an actual global part of that room, or just on a per-user basis) to make picking the appropriate room out of that lineup easier.

Yes, this is meant to be complementary to #4 (user accounts) for those who don't want to sign in. Even if you clobber all state between sessions, localstorage would probably still be useful between tabs during the same browser session. You might close and then re-open a board, or open a new board from an existing one -- this will preserve some of your state, which I think would feel nice.  Not a big deal.
I'm also interested in this because it's easier than #4, but offers at least some of the advantages. Not as much for you though. 🙂


Swift22 fixes

This PR resolves build errors in test target connected with change in declaration of one of XCTest methods (String was replaced with StaticString). It also resolves all warnings about deprecation of ++ operators etc. This PR should be merged after official release of Xcode 7.3.

Thank you! Does travis support Xcode 7.3? Wonder if bumping the .travis.yml file would allow tests to run?

I am not sure unfortunately. We should probably wait till official release.

Thanks!

@stephencelis Maybe it would be good idea to mark current HEAD as 0.93 version?

@SebastianOsinski I was hoping to resolve CocoaPods issues before bumping the version (see #380).

@stephencelis You're right, it sounds like a good idea, especially Carthage builds current version without a problem on Xcode 7.3.


server to use?

I use umurmurd on my server. It's very small and low on resources, but it's missing some features.
Which one should we use for hashing?

A friend and I both agreed on using umurmurd.

Bump on thoughts of umurmurd? And also,

Which ones should we use for hashing?

Typo?

Typo?

Probably.  can't remember any more.

+1 for umurmur


OpenSearchCon NA 24 - Session Edits

Please update the following sessions using the info provided below:
1)Session link: https://opensearch.org/events/opensearchcon/sessions/airbnb-embedding-platform.html
Update time: 10:00AM to 10:40AM
2)Session link: https://opensearch.org/events/opensearchcon/sessions/youve-deployed-user-behavior-insights-to-understand-your-users-now-what.html
Update time: 10:45AM to 11:25AM
3)Session link: https://opensearch.org/events/opensearchcon/sessions/exploring-opensearch-python-and-serverless-crafting-efficient-and-modern-search-applications.html
Update time: 11:30AM  to 12:00PM
4)Session link:https://opensearch.org/events/opensearchcon/sessions/building-ai-models-with-opensearchs-user-behavior-insights.html
Update time: 10:45AM to 11:25AM
Update room: Continental 7-9

@kaimmej - These should be the final session edits. Once this is done, we'll want to run a report to make sure they are all correct.

[Catch All Triage - 1, 2,  3,  4]


App Can not load Doc from website

Inside the app I should be able to load gabo.es document. To reproduce:

open app on desktop
press cmd-k to open quick switcher
paste https://gabo.es/
notice that it loads the document ID and version ID correctly, navigates to the publication, and then fails to load, eventually leading in an error

I'm not sure what is the fix here, but we need to somehow introduce my app to the site peer to download the doc I guess. Should I query for well-known and then add the peer manually from the front end? That seems very dramatic- maybe the user doesn't want to have this random site as an official peer??

this has been tested on gabo.es as well as my local site server

To clarify, are you able to “transform” the web url into the mintter url by following the same procedure we’ve outlined for link pasting in the editor?

However, even though the site is not serving the content, (and I think it is a good strategy not to flood everybody) the gateway will. But the gateway was down due to a lack of maintenance (basically we had an old version of the gateway and it was hung in a database locked state). Now we resolved the issue of the gateway and when you do the cmd-k is the gateway that gives you that file. Now it should work

seems crazy that self-hosted sites can't serve content without our centralized node being online and reachable

seems crazy that self-hosted sites can't serve content without our centralized node being online and reachable

I guess I could just wait for the request to fail, then look up the peering info from the site well-known, then add the peer

In theory any of the peers you have could provide the article you were looking for. I guess either you did not have any peers online or they did not know about the document yet

I don't understand why a 3rd party peer (or the gateway) would be required, because my app can connect directly to the site.
As you point out, a peer might not know about the content but the site definitely will

Shouldn't every site be able to act as a bootstrap node?

@ericvicenti You are right. Things are not working properly now. Mostly because of the fact that sites "hide" content from the p2p peers to avoid spamming them, but this was a workaround, not a solution. It makes absolutely no sense for the site to be able to serve content on the web, but unable to serve it via p2p.

Ok so we can transfer the syncing decision from the site to the peer. Site syncs everything, but node decides whether it takes it or not. But in the specific case Eric is talking about, when someone does cmd+k what it's basically doing is a getRemotePublication. We could connect to the peer, get the document, and then disconnect, right? (because we don't want that the peer that provided the document becomes a first level peer, like the ones you manually add). @burdiyan

We don't need to explicitly disconnect, but we indeed should have some way to distinguish first-level peers and other dynamically discovered ones.

Is there an update on this issue?

I was trying a site that does share everything with everybody (site.test.mintter.com). If you ctrl+k a document on that site (not the root because its old and it does not include the x-mintter-document-id and x-mintter-version headers) then you should get the document properly. For example: https://site.test.mintter.com/hello

wich leads to the new error from the site, which is
"failed to find object "bafy2bzacecsxjxvhad6eb32wmigkhcbg6dhjggghqgblfbxadwuhszw72xccw" at version "baeaxdiheaiqjzxqt5myarh3sccupo4mg6gvwe2c7uxkfxgafz7ss2yxkd6zfuea": failed to get permanode for draft bafy2bzacecsxjxvhad6eb32wmigkhcbg6dhjggghqgblfbxadwuhszw72xccw: ipld: could not find bafy2bzacecsxjxvhad6eb32wmigkhcbg6dhjggghqgblfbxadwuhszw72xccw"

any hint of what that means @burdiyan (latest master running on the site)

I think this is being addressed with the new sites implementation


Condition trips

Thinking kind of late, but it might be useful to have the concept of a "condition trip". For example, if a newline ever occurs in a certain place then that immediately makes some condition true and the printer immediately goes back to that condition. This would help a lot with performance I think and probably simplify some code.

Thought about this more today and this is essentially what's happening with info dependent conditions. Probably not worth introducing this concept and instead work only on refinement in #71.


Update image tags

In addition to those config files this variables.tf file needs to be updated https://github.com/Quansight/qhub-ops/blob/master/qhub_ops/template/{{ cookiecutter.project_name }}/infrastructure/variables.tf#L53-L85. After that looks good!

@costrouc , Thanks. I have made the changes.


New version: Kiwix.KiwixJS version <IP_ADDRESS>

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

/azp run

/azp run

Hmm. I can't see a good reason for this to be failing. Installation of manifest works fine locally:

@wingetbot run

@stephengillie Validation has now been restarted several times, but it keeps hanging and then coming up with this internal error. There is no substantial change in code from last month, and the app installs correctly and without complaint from the manifest (see screenshot above). So I don't think the app is at fault here.

Hi @Jaifroid,
We're having some pipeline issues. Sorry for the delay in validating.


Add withdrawal fee

Fix #101
For now, the default fee for a pool is 0, and it does not apply for emergency withdrawal (specs are unclear about those).

Ah, also the fee should apply for the emergency withdrawal as well, I guess


Use Standard Code Style

@boushley I am thinking to change the coding style and adopt standard coding style. I am loving the style gradually and already used to it. What do you think? Should I go for it. I have added necessary plugins and a npm script called lint in package.json. You find it in develop branch. Waiting for your call buddy

What's the standard style you're planning to adopt? Do you have a PR/branch where you added the plugins etc?
In general having a standard style and tools to ensure it is followed is a good idea.

@boushley for coding style I am talking about this : http://standardjs.com/ and ESLint to lint the code. It is in  develop branch. I did not resolve any styling issues yet. Run npm run lint to see it in action BTW I strictly follow git-flow to manage my branches. Let me know if you follow anything else.

Sure, following those standards seems like a great idea.

Cool.. I will soon make all style issues gone. Thanks @boushley


Bug: the input is not reset after deleting a contributor insight page

Describe the bug
https://github.com/open-sauced/app/assets/79809121/dba2ca23-8ccf-4bda-ac43-2feb9205bb99
Steps to reproduce

Go to your workspaces
delete one of them
try deleting another
notice that the input is not cleared

Did you want to work on this @takanome-dev?

@nickytonline can I take this?

.take

Did you want to work on this @takanome-dev?

Oh didn't see this, yeah I was planning to then forgot about it 😅
Will pick another one 👍


[Improvement] Add Method to Tag Editor Request Select Field

This PR adds the Request Method to the Request Select Field in the Tag Editor to see the difference between calls with different methods but same urls.

Screenshot based on request by @gschier


{Compute} az vm extension and az sig image-definition: Migrate commands to CodeGen V2

Related command

az vm extension delete
az sig image-definition show-shared/list/show/delete
Description

Migrate commands to CodeGen V2:

az vm extension delete
az sig image-definition show-shared/list/show/delete

Some commands in az vm extension and az sig image-definition groups are not migrated yet:

az vm extension show/list/set/wait
az sig image-definition show-community/list-community/list-shared
az sig image-definition create/update

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

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

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Compute

@AllyW @yanzhudd  Could you please help to see if the message for the breaking change meets expectations?

@AllyW Could you please help to see if the message for the breaking change meets expectations? I have two questions with this information:

Why are these added properties supports_no_wait, choices and nargs judged as breaking changes?
The description of added choices and nargs for no_wait parameter does not seem clear enough

Thanks for querying. For now breaking change detection tool does not deal with these three parameter property properly. Refinement is logged in this issue: https://github.com/Azure/azure-cli-dev-tools/issues/393.


iam:createRole is enough for cloudbreak, iam:* not needed

@doktoric

Refer to this link for build results (access rights to CI server needed):
http://ci.sequenceiq.com//job/cloudbreak-pull-request/2706/

Refer to this link for build results (access rights to CI server needed):
http://ci.sequenceiq.com//job/mock-integration-test/197/


[1.3] TV-Casting-App in the Test Harness giving Incorrect State issue

Reproduction steps
Steps to reproduce:
As part of TC-APPOBSERVER-13.1 step 1 we should be using TV Casting App in the Test Harness. But when starting the TV Casting App, we are observing an Incorrect State error and we are not seeing any manual code too to pair. Below is the log.
TV Casting App log:
ubuntu@ubuntu:~/apps$ ./chip-tv-casting-app
[1709755206.175976][5583:5583] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_casting_kvs
[1709755206.176284][5583:5583] CHIP:DL: writing settings to file (/tmp/chip_casting_kvs-42JjK8)
[1709755206.179387][5583:5583] CHIP:DL: renamed tmp file to file (/tmp/chip_casting_kvs)
[1709755206.184890][5583:5583] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_factory.ini
[1709755206.185180][5583:5583] CHIP:DL: writing settings to file (/tmp/chip_factory.ini-tU5uRf)
[1709755206.185394][5583:5583] CHIP:DL: renamed tmp file to file (/tmp/chip_factory.ini)
[1709755206.185510][5583:5583] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_config.ini
[1709755206.185620][5583:5583] CHIP:DL: writing settings to file (/tmp/chip_config.ini-CN57OX)
[1709755206.185733][5583:5583] CHIP:DL: renamed tmp file to file (/tmp/chip_config.ini)
[1709755206.185812][5583:5583] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_counters.ini
[1709755206.185907][5583:5583] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-qatl7b)
[1709755206.186011][5583:5583] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
[1709755206.186223][5583:5583] CHIP:DL: writing settings to file (/tmp/chip_factory.ini-JCtjR2)
[1709755206.186655][5583:5583] CHIP:DL: renamed tmp file to file (/tmp/chip_factory.ini)
[1709755206.186706][5583:5583] CHIP:DL: NVS set: chip-factory/unique-id = "77A22C07598993FB"
[1709755206.186838][5583:5583] CHIP:DL: writing settings to file (/tmp/chip_factory.ini-4Say0p)
[1709755206.195003][5583:5583] CHIP:DL: renamed tmp file to file (/tmp/chip_factory.ini)
[1709755206.195074][5583:5583] CHIP:DL: NVS set: chip-factory/vendor-id = 65521 (0xFFF1)
[1709755206.195254][5583:5583] CHIP:DL: writing settings to file (/tmp/chip_factory.ini-aCFuit)
[1709755206.195661][5583:5583] CHIP:DL: renamed tmp file to file (/tmp/chip_factory.ini)
[1709755206.195709][5583:5583] CHIP:DL: NVS set: chip-factory/product-id = 32769 (0x8001)
[1709755206.195831][5583:5583] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-wNAiaA)
[1709755206.196127][5583:5583] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
[1709755206.196174][5583:5583] CHIP:DL: NVS set: chip-counters/reboot-count = 1 (0x1)
[1709755206.196284][5583:5583] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-zuoKAw)
[1709755206.206843][5583:5583] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
[1709755206.206932][5583:5583] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0)
[1709755206.207195][5583:5583] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-vIMkD7)
[1709755206.207806][5583:5583] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
[1709755206.207885][5583:5583] CHIP:DL: NVS set: chip-counters/boot-reason = 0 (0x0)
[1709755206.208079][5583:5583] CHIP:DL: writing settings to file (/tmp/chip_config.ini-p24mvF)
[1709755206.208662][5583:5583] CHIP:DL: renamed tmp file to file (/tmp/chip_config.ini)
[1709755206.208756][5583:5583] CHIP:DL: NVS set: chip-config/regulatory-location = 0 (0x0)
[1709755206.208978][5583:5583] CHIP:DL: writing settings to file (/tmp/chip_config.ini-dVzIVi)
[1709755206.218640][5583:5583] CHIP:DL: renamed tmp file to file (/tmp/chip_config.ini)
[1709755206.218728][5583:5583] CHIP:DL: NVS set: chip-config/location-capability = 2 (0x2)
[1709755206.221656][5583:5583] CHIP:DL: Failed to get Ethernet interface
[1709755206.224158][5583:5583] CHIP:DL: Failed to reset Ethernet statistic counts
[1709755206.225094][5583:5583] CHIP:DL: Got WiFi interface: wlan0
[1709755206.228034][5583:5583] CHIP:DL: Found the primary WiFi interface:wlan0
[1709755206.228430][5583:5583] CHIP:DL: ChipLinuxStorage::Init: Using KVS config file: /tmp/chip_casting_kvs
[1709755206.228551][5583:5583] CHIP:DL: ChipLinuxStorage::Init: Attempt to re-initialize with KVS config file: /tmp/chip_casting_kvs

[1709755206.228581][5583:5583] CHIP:SPT: *** WARNING: Using temporary passcode 20202021 due to no neither --passcode or --spake2p-verifier-base64 given on command line. This is temporary and will disappear. Please update your scripts to explicitly configure onboarding credentials. ***
[1709755206.228608][5583:5583] CHIP:SPT: PASE PBKDF iterations set to 1000
[1709755206.228655][5583:5583] CHIP:SPT: LinuxCommissionableDataProvider didn't get a PASE salt, generating one.
[1709755206.236080][5583:5583] CHIP:SVR: Setting random rotatingDeviceIdUniqueId
[1709755206.237304][5583:5583] CHIP:SVR: Initializing subscription resumption storage...
[1709755206.237721][5583:5583] CHIP:DL: writing settings to file (/tmp/chip_casting_kvs-lPouxz)
[1709755206.238286][5583:5583] CHIP:DL: renamed tmp file to file (/tmp/chip_casting_kvs)
[1709755206.238349][5583:5583] CHIP:SVR: Server initializing...
[1709755206.238382][5583:5583] CHIP:FP: Initializing FabricTable from persistent storage
[1709755206.238455][5583:5583] CHIP:TS: Last Known Good Time: [unknown]
[1709755206.238486][5583:5583] CHIP:TS: Setting Last Known Good Time to firmware build time 2023-10-14T01:16:48
[1709755206.238627][5583:5583] CHIP:DL: writing settings to file (/tmp/chip_casting_kvs-woCLQl)
[1709755206.239868][5583:5583] CHIP:DL: renamed tmp file to file (/tmp/chip_casting_kvs)
[1709755206.239950][5583:5583] CHIP:DMG: AccessControl: initializing
[1709755206.239970][5583:5583] CHIP:DMG: Examples::AccessControlDelegate::Init
[1709755206.240386][5583:5583] CHIP:DMG: AccessControl: setting
[1709755206.240408][5583:5583] CHIP:DMG: DefaultAclStorage: initializing
[1709755206.240437][5583:5583] CHIP:DMG: DefaultAclStorage: 0 entries loaded
[1709755206.240464][5583:5583] CHIP:IN: UDP::Init bind&listen port=5540
[1709755206.240575][5583:5583] CHIP:IN: UDP::Init bound to port=5540
[1709755206.240597][5583:5583] CHIP:IN: BLEBase::Init - setting/overriding transport
[1709755206.240618][5583:5583] CHIP:IN: TransportMgr initialized
[1709755206.240864][5583:5583] CHIP:DL: writing settings to file (/tmp/chip_casting_kvs-V7LJlr)
[1709755206.241377][5583:5583] CHIP:DL: renamed tmp file to file (/tmp/chip_casting_kvs)
[1709755206.241538][5583:5583] CHIP:DL: writing settings to file (/tmp/chip_casting_kvs-0YqsRi)
[1709755206.242096][5583:5583] CHIP:DL: renamed tmp file to file (/tmp/chip_casting_kvs)
[1709755206.251090][5583:5583] CHIP:DL: writing settings to file (/tmp/chip_casting_kvs-aHRj7s)
[1709755206.251736][5583:5583] CHIP:DL: renamed tmp file to file (/tmp/chip_casting_kvs)
[1709755206.251800][5583:5583] CHIP:ZCL: Using ZAP configuration...
[1709755206.251939][5583:5583] CHIP:DMG: Failed to read stored attribute (0, 0x0000_0028, 0x0000_0005: src/platform/Linux/KeyValueStoreManagerImpl.cpp:53: CHIP Error 0x000000A0: Value not found in the persisted storage
[1709755206.251981][5583:5583] CHIP:DMG: Failed to read stored attribute (0, 0x0000_0028, 0x0000_0010: src/platform/Linux/KeyValueStoreManagerImpl.cpp:53: CHIP Error 0x000000A0: Value not found in the persisted storage
[1709755206.252020][5583:5583] CHIP:DMG: Failed to read stored attribute (0, 0x0000_002B, 0x0000_0000: src/platform/Linux/KeyValueStoreManagerImpl.cpp:53: CHIP Error 0x000000A0: Value not found in the persisted storage
[1709755206.252055][5583:5583] CHIP:DMG: Failed to read stored attribute (0, 0x0000_002C, 0x0000_0000: src/platform/Linux/KeyValueStoreManagerImpl.cpp:53: CHIP Error 0x000000A0: Value not found in the persisted storage
[1709755206.252089][5583:5583] CHIP:DMG: Failed to read stored attribute (0, 0x0000_002C, 0x0000_0001: src/platform/Linux/KeyValueStoreManagerImpl.cpp:53: CHIP Error 0x000000A0: Value not found in the persisted storage
[1709755206.252123][5583:5583] CHIP:DMG: Failed to read stored attribute (0, 0x0000_002D, 0x0000_0000: src/platform/Linux/KeyValueStoreManagerImpl.cpp:53: CHIP Error 0x000000A0: Value not found in the persisted storage
[1709755206.252166][5583:5583] CHIP:DMG: AccessControlCluster: initializing
[1709755206.252184][5583:5583] CHIP:ZCL: Initiating Admin Commissioning cluster.
[1709755206.252224][5583:5583] CHIP:DMG: Endpoint 0, Cluster 0x0000_0030 update version to d25b2493
[1709755206.252247][5583:5583] CHIP:ZCL: AttributeChangeCallback cluster: 0x0000_0030 attribute:0x0000_0000
[1709755206.252310][5583:5583] CHIP:ZCL: GeneralDiagnostics: OnDeviceReboot
[1709755206.252333][5583:5583] CHIP:DMG: Endpoint 0, Cluster 0x0000_0033 update version to c73251eb
[1709755206.252439][5583:5583] CHIP:EVL: LogEvent event number: 0x0000000000000000 priority: 2, endpoint id:  0x0 cluster id: 0x0000_0033 event id: 0x3 Epoch timestamp: 0x0000018E155A0A6C
[1709755206.252476][5583:5583] CHIP:ZCL: DeviceInfoProvider is not registered
[1709755206.252500][5583:5583] CHIP:ZCL: Trying to write invalid Calendar Type
[1709755206.252517][5583:5583] CHIP:ZCL: Failed to write calendar type with error: 0x87
[1709755206.252539][5583:5583] CHIP:DMG: Endpoint 1, Cluster 0x0000_0004 update version to 689ccffb
[1709755206.252557][5583:5583] CHIP:ZCL: AttributeChangeCallback cluster: 0x0000_0004 attribute:0x0000_0000
[1709755206.252577][5583:5583] CHIP:DMG: Endpoint 1, Cluster 0x0000_0004 update version to 689ccffc
[1709755206.252595][5583:5583] CHIP:ZCL: AttributeChangeCallback cluster: 0x0000_0004 attribute:0x0000_FFFC
[1709755206.252613][5583:5583] CHIP:ZCL: TV Casting Linux App: ContentAppObserverManager::SetDefaultDelegate
[1709755206.252636][5583:5583] CHIP:DIS: Updating services using commissioning mode 0
[1709755206.262035][5583:5583] CHIP:DIS: CHIP minimal mDNS started advertising.
[1709755206.276106][5583:5583] CHIP:IN: CASE Server enabling CASE session setups
[1709755206.276220][5583:5583] CHIP:IN: SecureSession[0xaaaaec841620]: Allocated Type:2 LSID:56884
[1709755206.276285][5583:5583] CHIP:SC: Allocated SecureSession (0xaaaaec841620) - waiting for Sigma1 msg
[1709755206.276312][5583:5583] CHIP:SVR: Joining Multicast groups
[1709755206.276339][5583:5583] CHIP:IN: UDP::Init bind&listen port=5560
[1709755206.276436][5583:5583] CHIP:IN: UDP::Init bound to port=5560
[1709755206.276457][5583:5583] CHIP:IN: TransportMgr initialized
[1709755206.276478][5583:5583] CHIP:ZCL: Emitting StartUp event
[1709755206.276546][5583:5583] CHIP:EVL: LogEvent event number: 0x0000000000000001 priority: 2, endpoint id:  0x0 cluster id: 0x0000_0028 event id: 0x0 Epoch timestamp: 0x0000018E155A0A84
[1709755206.276578][5583:5583] CHIP:SVR: Server initialization complete
[1709755206.276612][5583:5583] CHIP:SVR: Server Listening...
[1709755206.276654][5583:5583] CHIP:SVR: PersistenceManager::ReadAllVideoPlayers called
[1709755206.276721][5583:5583] CHIP:SVR: ReadAllVideoPlayers error: src/platform/Linux/KeyValueStoreManagerImpl.cpp:53: CHIP Error 0x000000A0: Value not found in the persisted storage
[1709755206.276742][5583:5583] CHIP:SVR: PersistenceManager::ReadAllVideoPlayers called
[1709755206.276770][5583:5583] CHIP:SVR: ReadAllVideoPlayers error: src/platform/Linux/KeyValueStoreManagerImpl.cpp:53: CHIP Error 0x000000A0: Value not found in the persisted storage
[1709755206.276789][5583:5583] CHIP:SVR: No cached video players found during discovery
[1709755206.277273][5583:5583] CHIP:DIS: Warning: Attempt to mDNS broadcast failed on otbr0:  src/inet/UDPEndPointImplSockets.cpp:417: OS Error 0x02000065: Network is unreachable
[1709755206.278569][5583:5583] CHIP:DIS: mDNS broadcast had only partial success: 8 successes and 1 failures.
[1709755206.436183][5583:5583] CHIP:DL: HandlePlatformSpecificBLEEvent 32786
[1709755206.436248][5583:5583] CHIP:DIS: Updating services using commissioning mode 0
[1709755206.445510][5583:5583] CHIP:DIS: CHIP minimal mDNS started advertising.
[1709755206.459405][5583:5583] CHIP:DL: HandlePlatformSpecificBLEEvent 32790
[1709755206.459841][5583:5583] CHIP:IM: No subscriptions to resume
[1709755207.278955][5583:5583] CHIP:DIS: Warning: Attempt to mDNS broadcast failed on otbr0:  src/inet/UDPEndPointImplSockets.cpp:417: OS Error 0x02000065: Network is unreachable
[1709755207.280487][5583:5583] CHIP:DIS: mDNS broadcast had only partial success: 8 successes and 1 failures.
[1709755209.280762][5583:5583] CHIP:DIS: Warning: Attempt to mDNS broadcast failed on otbr0:  src/inet/UDPEndPointImplSockets.cpp:417: OS Error 0x02000065: Network is unreachable
[1709755209.282359][5583:5583] CHIP:DIS: mDNS broadcast had only partial success: 8 successes and 1 failures.
[1709755211.280511][5583:5583] CHIP:SVR: No commissioner discovered, commissioning must be initiated manually!
[1709755211.280621][5583:5583] CHIP:SVR: Cannot load binding table: src/platform/Linux/KeyValueStoreManagerImpl.cpp:53: CHIP Error 0x000000A0: Value not found in the persisted storage
[1709755211.280755][5583:5583] CHIP:IN: SecureSession[0xaaaaeddd57f0]: Allocated Type:1 LSID:56885
[1709755211.280790][5583:5583] CHIP:SC: Assigned local session key ID 56885
[1709755211.280810][5583:5583] CHIP:SC: Waiting for PBKDF param request
[1709755211.281022][5583:5583] CHIP:DL: writing settings to file (/tmp/chip_counters.ini-jpMItO)
[1709755211.283658][5583:5583] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
[1709755211.283728][5583:5583] CHIP:DL: NVS set: chip-counters/life-count = 1 (0x1)
[1709755211.283806][5583:5583] CHIP:DIS: Updating services using commissioning mode 1
[1709755211.294938][5583:5583] CHIP:DIS: CHIP minimal mDNS started advertising.
[1709755211.311484][5583:5583] CHIP:DL: Using wifi MAC for hostname
[1709755211.311647][5583:5583] CHIP:DIS: Advertise commission parameter vendorID=65521 productID=32769 discriminator=0000/00 cm=1 cp=0
[1709755211.311695][5583:5583] CHIP:DIS: Responding with _matterc._udp.local
[1709755211.311717][5583:5583] CHIP:DIS: Responding with 5B51CAEBC2C6E40C._matterc._udp.local
[1709755211.311735][5583:5583] CHIP:DIS: Responding with D83ADD1116D30000.local
[1709755211.311751][5583:5583] CHIP:DIS: Responding with D83ADD1116D30000.local
[1709755211.311771][5583:5583] CHIP:DIS: Responding with _V65521._sub._matterc._udp.local
[1709755211.311821][5583:5583] CHIP:DIS: Responding with _T41._sub._matterc._udp.local
[1709755211.311843][5583:5583] CHIP:DIS: Responding with _S0._sub._matterc._udp.local
[1709755211.311864][5583:5583] CHIP:DIS: Responding with _L0._sub._matterc._udp.local
[1709755211.311884][5583:5583] CHIP:DIS: Responding with _CM._sub._matterc._udp.local
[1709755211.311915][5583:5583] CHIP:DIS: Responding with 5B51CAEBC2C6E40C._matterc._udp.local
[1709755211.311933][5583:5583] CHIP:DIS: CHIP minimal mDNS configured as 'Commissionable node device'; instance name: 5B51CAEBC2C6E40C.
[1709755211.318506][5583:5583] CHIP:DIS: Warning: Attempt to mDNS broadcast failed on otbr0:  src/inet/UDPEndPointImplSockets.cpp:417: OS Error 0x02000065: Network is unreachable
[1709755211.318549][5583:5583] CHIP:DIS: mDNS broadcast full failed in 1 separate send attempts.
[1709755211.318570][5583:5583] CHIP:DIS: Failed to advertise records: src/inet/UDPEndPointImplSockets.cpp:417: OS Error 0x02000065: Network is unreachable
[1709755211.330767][5583:5583] CHIP:DIS: mDNS service published: _matterc._udp
[1709755211.330824][5583:5583] CHIP:DL: Device Configuration:
[1709755211.330884][5583:5583] CHIP:DL:   Serial Number: TEST_SN
[1709755211.330936][5583:5583] CHIP:DL:   Vendor Id: 65521 (0xFFF1)
[1709755211.330965][5583:5583] CHIP:DL:   Product Id: 32769 (0x8001)
[1709755211.330984][5583:5583] CHIP:DL:   Product Name: TEST_PRODUCT
[1709755211.331011][5583:5583] CHIP:DL:   Hardware Version: 0
[1709755211.331030][5583:5583] CHIP:DL:   Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
[1709755211.331047][5583:5583] CHIP:DL:   Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 0 (0x0)
[1709755211.331072][5583:5583] CHIP:DL:   Manufacturing Date: (not set)
[1709755211.331089][5583:5583] CHIP:DL:   Device Type: 41 (0x29)
[1709755211.331105][5583:5583] CHIP:SVR: To run discovery again, enter: cast discover
[1709755211.335551][5583:5584] CHIP:DL: CREATE service object at /chipoble/15cf/service
[1709755211.336060][5583:5584] CHIP:DL: Create characteristic object at /chipoble/15cf/service/c1
[1709755211.336313][5583:5584] CHIP:DL: Create characteristic object at /chipoble/15cf/service/c2
[1709755211.336407][5583:5584] CHIP:DL: CHIP BTP C1 /chipoble/15cf/service
[1709755211.336428][5583:5584] CHIP:DL: CHIP BTP C2 /chipoble/15cf/service
[1709755211.336445][5583:5584] CHIP:DL: CHIP_ENABLE_ADDITIONAL_DATA_ADVERTISING is TRUE
[1709755211.336462][5583:5584] CHIP:DL: Create characteristic object at /chipoble/15cf/service/c3
[1709755211.336701][5583:5584] CHIP:DL: CHIP BTP C3 /chipoble/15cf/service
[1709755211.344457][5583:5583] CHIP:DL: BlueZ integration init success
[1709755211.351237][5583:5584] CHIP:DL: BluezPeripheralRegisterAppDone done
[1709755211.357291][5583:5583] CHIP:DL: HandlePlatformSpecificBLEEvent 16392
[1709755211.357542][5583:5584] CHIP:DL: Create BLE adv object at /chipoble/15cf/advertising

(process:5583): GLib-CRITICAL **: 05:00:11.357: g_variant_new_string: assertion 'string != NULL' failed
(process:5583): GLib-CRITICAL **: 05:00:11.358: g_variant_new_string: assertion 'string != NULL' failed
[1709755211.359040][5583:5583] CHIP:DL: SET service data to {'[Invalid UTF-8]': <[byte 0x00, 0x00, 0x00, 0xf1, 0xff, 0x01, 0x80, 0x01]>}
[1709755211.365038][5583:5584] CHIP:DL: FAIL: RegisterAdvertisement : GDBus.Error:org.bluez.Error.Failed: Failed to parse advertisement.
[1709755211.365235][5583:5583] CHIP:DL: HandlePlatformSpecificBLEEvent 16393
[1709755211.365276][5583:5583] CHIP:DL: Disabling CHIPoBLE service due to error: src/platform/Linux/BLEManagerImpl.cpp:290: CHIP Error 0x00000003: Incorrect state
[1709755213.283567][5583:5583] CHIP:DIS: Warning: Attempt to mDNS broadcast failed on otbr0:  src/inet/UDPEndPointImplSockets.cpp:417: OS Error 0x02000065: Network is unreachable
[1709755213.285122][5583:5583] CHIP:DIS: mDNS broadcast had only partial success: 8 successes and 1 failures.
[1709755221.286900][5583:5583] CHIP:DIS: Warning: Attempt to mDNS broadcast failed on otbr0:  src/inet/UDPEndPointImplSockets.cpp:417: OS Error 0x02000065: Network is unreachable
[1709755221.287846][5583:5583] CHIP:DIS: mDNS broadcast had only partial success: 8 successes and 1 failures.
[1709755237.289558][5583:5583] CHIP:DIS: Timeout waiting for mDNS resolution.
Bug prevalence
Always
GitHub hash of the SDK that was being used
9f6d627e0262e1d023986291948bb4e845be803e
Platform
raspi
Platform Version(s)
No response
Type
Common Cluster Logic
Anything else?
No response

The error in the above log

The error in the above log (process:5583): GLib-CRITICAL **: 05:00:11.357: g_variant_new_string: assertion 'string != NULL' failed
(process:5583): GLib-CRITICAL **: 05:00:11.358: g_variant_new_string: assertion 'string != NULL' failed
[1709755211.359040][5583:5583] CHIP:DL: SET service data to {'[Invalid UTF-8]': <[byte 0x00, 0x00, 0x00, 0xf1, 0xff, 0x01, 0x80, 0x01]>}
[1709755211.365038][5583:5584] CHIP:DL: FAIL: RegisterAdvertisement : GDBus.Error:org.bluez.Error.Failed: Failed to parse advertisement.

The error in the above log might be because of the network restrictions in the SVE lab. I switched to hotspot and it worked fine. But the TV Casting app should show Manual Pairing code or QR code for few Commissioners/Controllers to control the accessory application which the TV Casting app is currently not providing. That needs to be added to the app.


testing to trigger pr builder

build

Coverage remained the same at 99.796% when pulling ead1af5bf225ab7bc9054c8a2328b15b4a5f1fab on crubin/pr-builder-testing into 3620e5cb0b84629619e032d695ff35c45eeb4d5c on master.


Wallet "To" address display issue

Describe the bug
When I paste a wallet address into the "To" field on the "Send SMH" screen, the address I see displayed to the right under Summary doesn't match the address I pasted.
To Reproduce
Steps to reproduce the behavior:

Go to WALLET
Go to Send SMH
Paste an address into the first field, the "To...." field

Expected behavior
The TO address displayed under Summary to the right should match the pasted address. (It appears to display the final few bytes of the address, not the full address)
Screenshots

Desktop (please complete the following information):

OS: Linux
Version: 0.1.0

We have this canonical form for a string that displays a tx which is 0x1234...5678 that we used everywhere in smapp where 1234 are the first 4 hex chars of the address and 5678 the last.
It looks like this breaks in the To field - 0x1e3d....6a94 should be displayed.
@IlyaVi

Looks like this was fixed in https://github.com/spacemeshos/smapp/pull/567 -
thanks Ilya!


Register package

@JuliaRegistrator register()

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/106658
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.0.0 -m "<description of version>" bc6dd511caa2575ef7a78a2ee462a5544e795b9b
git push origin v1.0.0


Documentation - no existing remote

Describe you new feature you'd like
Is it possible to pair ESPSomfy-RTS with blinds without an existing remote or migrate the configuration from RFLink? Until now i have been controlling my curtains using RFLink device and the original remote broke years ago. I want to migrate to ESPSomfy-RTS, but havent found any information how to actually do that.

Yes it is fairly easy to do.  I have never used RFLink so if there is a way to open the memory with a prog command from the RFLink then you simply treat it as a remote.
If there is not then you will need to factory reset the blinds and perform the initial pairing sequence using the virtual remote.  First, create a shade definition and then click on the Virtual Remote tab.  Select the new shade definition and go through the initial pairing steps for your motor.  Every remote button and button combination you require exists on this tab.
If the RFLink is capable of opening the memory with a long press prog command then you simply pair it as if it was the original remote.
After you pair the motor to ESPSomfy RTS do not forget to link the RFLink to the ESPSomfy RTS shade definition in the linked remotes list.  Then you can use either method to control your blinds.

RFLink is most likely capable of sending the prog command, but i dont have the required command to send and i may be wrong, but as far as i remember pairing process was tricky even with the original remote as i have multiple motors plugged in directly to mains.
Would it not be possible to just take the RFLink device ID (which is 0A0A0A in my case) and clone it?

If you do that then your RFLink will stop working and if you use it it will cause ESPSomfy RTS to also stop working.  However, we may be able to get you through this and still have your cake and eat it too.
Step 1:
Open the logs screen and observe/record the address and rolling code sent by RFLink
Step 2:
Create a new shade definition in ESPSomfy RTS and call it RFLink.  Use the address that you received from RFLink.
Step 3:
After adding the shade definition click the set rolling code button and set the rolling code to the address from RFLink
Step 4:
Create another shade definition for your blind.  DO NOT USE THE ADDRESS FROM RFLink.  Let ESPSomfy RTS assign this address.
Step 5:
Open the virtual remote tab and select RFLink from the dropdown.  Then press and hold the prog button until the blind jogs.
Step 6:
Edit the blind you created and click pair and follow the instructions.  The blind should already be in pairing mode.
Step 7:
Delete the RFLink shade definition.  You should be able to use the RFLink interface after sending a few commands from it and the rolling code catches up.

@Dinth I assume you have gotten sorted with this so I am going to close it.


No Wiki Footbar

Can a repository member create a footer for the wiki.

What would it contain?

"The websocketd user guide is a publicly editable wiki. Please contribute!"

It would probably look better there.
Also, footers generally look awesome.

Done. Don't really see the benefit, but then I don't have a strong opposition either.


[WORK-IN-PROGRESS] Merge back core/client/component/server in

Quick update; I'm not gonna merge back client/server/component/core together, but I'll continue my refactors on this branch as it's much easier and then rebase/port for each project.


HDDS-9143. [Linked Bucket] Ozone bucket Info command output does not have key "link"

What changes were proposed in this pull request?
Ozone bucket list doesn’t print "link" value to as "true" or "false" for linked buckets, which IMO is an important metadata to be displayed in case of linked bucket.
[root@quasar-rsyvvc-1 ~]# ozone sh bucket list /voltest1
[ {
  "metadata" : { },
  "volumeName" : "voltest1",
  "name" : "buckettest1",
  "storageType" : "DISK",
  "versioning" : false,
  "usedBytes" : 0,
  "usedNamespace" : 0,
  "creationTime" : "2023-08-09T15:42:42.274Z",
  "modificationTime" : "2023-08-09T15:42:42.274Z",
  "sourcePathExist" : true,
  "quotaInBytes" : -1,
  "quotaInNamespace" : -1,
  "bucketLayout" : "FILE_SYSTEM_OPTIMIZED",
  "owner" : "hdfs",
  "link" : false
}, {
  "volumeName" : "voltest1",
  "bucketName" : "link-to-bucket1",
  "sourceVolume" : "voltest1",
  "sourceBucket" : "buckettest1",
  "creationTime" : "2023-08-09T15:42:47.714Z",
  "modificationTime" : "2023-08-09T15:42:47.714Z",
  "owner" : "hdfs"
}

The second bucket [link-to-bucket1] here  is a linked bucket , that should have a metadata info as "link" : true
Steps to repro :
ozone sh volume create /voltest1
ozone sh bucket create /voltest1/buckettest1
ozone sh bucket link /voltest1/buckettest1 /voltest1/link-to-bucket1
ozone sh bucket link /voltest1/buckettest2 /voltest1/link-to-nonexistent-bucket
ozone sh bucket link /voltest1/buckettest2 /voltest1/other-link-to-nonexistent-bucket
ozone sh bucket list /voltest1

What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-9143
How was this patch tested?
This patch is tested manually by running above commands locally on a docker cluster as well as Junit test case.

@sumitagrawl @ashishkumar50 @ChenSammi  - kindly review.


[SDL 0296] Possibility to update video streaming capabilities during ignition cycle

Proposal: Possibility to update video streaming capabilities during ignition cycle

The main purpose of this proposal is to make it possible to update video streaming capabilities (VSC) during the ignition cycle.

Review: https://github.com/smartdevicelink/sdl_evolution/issues/983
Steering Committee Decision:
The Steering Committee voted to accept this proposal with the following revisions:

(Item 3) For iOS, change streamingVideoDelegate to delegate.  For Both iOS and Java Suite, use VideoStreamingRange.
(Item 10) Use VideoStreamingCapability struct for the AppCapability feature.  While each capability will have to be reviewed to see if they can be reused for both system and app capabilities, we do feel confident enough to reuse VideoStreamingCapability for both.
(Item 11) Add the following to the HMI Integration Guidelines, and extend the Resolution Switching diagram to document this behavior.

The HMI should stop displaying video to the user after resizing the window instead of waiting for the StopStream request from Core. Video would resume after the video service is restarted. See the following example state flow: "user attempts to resize" -> "HMI stops displaying video" -> "head unit sends OnAppCapabilityUpdated" -> "HMI resizes/waits for stop and start of video stream" -> "display new video stream".

(Item 12) Add HMI as an impacted platform.

The proposal .md file was updated to reflect these revisions on 7/27/2020.

Closed via https://github.com/smartdevicelink/rpc_spec/pull/272

The proposal markdown file has been updated per the revisions included in the accepted review issue: Revise SDL-0296 Possibility to update video streaming capabilities during ignition cycle.
Accepted revisions can be reviewed in the merged PR here: https://github.com/smartdevicelink/sdl_evolution/pull/1124.


ctags use

2. Extract function type information for type features.
By utilizing ctags, this will extract type information. This will add abstract_args_type and abstract_ret_type into the previously created .pickle file.
python helper/extract_functype.py
--source_list "example/source_list.txt"
--input_list "example/input_list_find.txt"
--ctags_dir "data/ctags"
--threshold 1
Does ctags_dir "data/ctags"  mean the directory where I install ctags? But it doesn't add abstract_args_type and abstract_ret_type into the .pickle file.

Hi @lumi0 , the --ctags_dir directory is where the ctags information of the source files (given by --source_list) will be stored.
For the output issue, please check if you give the correct suffix for the .pickle file. See here.
Otherwise, please describe your detailed steps so that I can reproduce it.
Thanks!

收到

Thank you! The output issue is successfully solved.
But the --ctags_dir directory is still empty. I have downloaded the gnu_packages and put them in the directory where
--source_list indicates.

Glad you addressed it. For the ctags issue, could you check if

--source_list is the source file that contains the list of source directories, and
the ctags command is available in your machine?

收到


update dependencies and add OSSF badge

Codecov Report

Merging #90 (56d123a) into master (28c6874) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #90   +/-   ##
=======================================
  Coverage   99.74%   99.74%
=======================================
  Files           4        5    +1
  Lines        1196     1198    +2
=======================================
+ Hits         1193     1195    +2
  Misses          3        3

Flag
Coverage Δ

unittests
99.74% <ø> (+<0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

pycep/__init__.py
100.00% <0.00%> (ø)

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


fix parameter initializer referencing identifier declared after it

treat IIFEs as inlined
check computed property names
check ShorthandPropertyAssignment

Fixes: #29139

toooooooooo difficult about that🤦🏻♂

I started reviewing this, then realized that I hated how checkParameterInitializer worked entirely. I have opened https://github.com/Microsoft/TypeScript/pull/30349, which refactors the same checks into resolveName, which is, IMO, where they should have been all along.


fix(@sap-ux/annotation-converter): Remove the setter for lazy properties

This makes lazy properties read-only but leaves the rest of the converted structure mutable. It is a (small) first step towards an immutable structure.

I'm doing some tests right now. I would actually assume that we cannot simply make the output (or parts of it) immutable without any effect on consuming code

I'm doing some tests right now

Works in FE. Can't tell about other consumers; @stefanschreck: This would make it impossible to set some (not all) properties on the converted output - those that are created through by the lazy() function


Broken optimised wasmd build

When compiling wasmd with optimisation (via CGO_CFLAGS="-O" go build) the resulting binary crashes with a panic when iterating over a range of map entries from a smart contract.
This is part of the stack trace:
This is part of the stack trace for reference:

goroutine 459 [running, locked to thread]:
runtime.throw({0x3335f99?, 0xc0057bc178?})
  runtime/panic.go:1077 +0x5c fp=0xc0057bc128 sp=0xc0057bc0f8 pc=0x446fbc
runtime.sigpanic()
  runtime/signal_unix.go:875 +0x285 fp=0xc0057bc188 sp=0xc0057bc128 pc=0x45e1c5
github.com/CosmWasm/wasmvm/internal/api.cNext({0x7f5f167fabd8?, 0x0?}, 0x7f5f00008f70?, 0x7f5f167fab88?, 0x7f5f167fabe0?, 0x413665?, 0xc004b86340?)
  [github.com/CosmWasm/wasmvm@v1.5.2/internal/api/callbacks.go:291](mailto:github.com/CosmWasm/wasmvm@v1.5.2/internal/api/callbacks.go:291) +0xb0 fp=0xc0057bc228 sp=0xc0057bc188 pc=0x1fafc90
_cgoexp_5bd3f86fb1b2_cNext(0x7f5f167faae0)
...

A SEGV when iterating over and calling the "next" method. Only happens on Linux machines AFAIK.
The offending line turns out to be https://github.com/CosmWasm/wasmvm/blob/v1.5.2/internal/api/callbacks.go#L291
where accessing a uninitialised / invalid errOut vector causes the crash.
Funnily, removing the check over errOut fixes / prevents the bug from triggering, as this is the only instance the variable is being used in that code path.
This seems to be caused by optimisations removing some initialisation. Perhaps because the variable is not really being used, except for the check. Perhaps because of an optimiser bug under Linux.
There may be other places this issue may be present as well.
Oddly, compiling wasmd with optimisation level 2 (CGO_CFLAGS="-O2") doesn't trigger the bug; which may point to an optimiser bug or similar.
Reporting this so that is known, and can (perhaps) be fixed.
For reproducing, it's enough to build wasmd with CGO_CFLAGS="-O", deploy a smart contract that iterates over a range, and call that code, either through a query or execute call.
In https://github.com/maurolacy/iterator-contract there's A PoC contract to help with reproducing / triggering this under Linux.
Tested with wasmd v0.50.0 and wasmvm v1.5.2.

Related: https://github.com/babylonchain/babylon/pull/642.

Thank you for digging into this!
You are using a standard wasmvm build, right? No custom compilation of the library. Do you know how CGO_CFLAGS is used? As the code in question is already compiled at that point, it can only affect the linking step.


server: fix NPE for the case where volume is not attached to a VM

Fixes NPE when trying to find suitable storage pools for a volume
when the volume is not attached to a VM, when trying to call the findStoragePoolsForMigration API.
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-263

@blueorangutan test centos7 vmware65

@borisstoyanov unsupported parameters provided. Supported mgmt server os are: centos6, centos7, ubuntu. Supported hypervisors are: kvm-centos6, kvm-centos7, kvm-ubuntu, xenserver-71, xenserver-65sp1, xenserver-62sp1, vmware-65u2, vmware-60u2, vmware-55u3, vmware-51u1, vmware-50u1

@blueorangutan test centos7 vmware-65u2

@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + vmware-65u2) has been kicked to run smoke tests

Trillian test result (tid-340)
Environment: vmware-65u2 (x2), Advanced Networking with Mgmt server 7
Total time taken: 34688 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3566-t340-vmware-65u2.zip
Smoke tests completed. 77 look OK, 0 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File


Initial Theming Changes

This PR contains the initial theming changes to begin testing and playing around with theming.

Added a Theme Toggle in Account Settings page
Changed tailwind variables for light theme
Modified theme-provider to automatically set theme to the selected system theme if the user has selected "System" as their theme preference

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Deserializing to proxy type throws "Member already exists" error in WebAssembly

Source/destination types
public interface IMyInterface
{
    public string MyProperty { get; set; }
}

Source/destination JSON
{"MyProperty": "Hello"}

CustomCreationConverter
public class ProxyConverter<T> : CustomCreationConverter<T>
{
    private static readonly ProxyGenerator Generator = new ();

    public override T Create(Type objectType)
    {
        var proxy = Generator.CreateInterfaceProxyWithoutTarget(typeof(T), new ProxyInterceptor<T>());
        return (T) proxy;
    }
}

Expected behavior
The proxy converter should create a new proxy type that is populated during deserialization.
Actual behavior
Deserialization works properly in a regular .NET application, such as a console app, but fails when running in WebAssembly. In WebAssembly, the following error is produced:
Unhandled exception rendering component: A member with the name '' already exists on 'Castle.Proxies.IMyInterfaceProxy'. Use the JsonPropertyAttribute to specify another name.
Newtonsoft.Json.JsonSerializationException: A member with the name '' already exists on 'Castle.Proxies.IMyInterfaceProxy'. Use the JsonPropertyAttribute to specify another name.
   at Newtonsoft.Json.Serialization.JsonPropertyCollection.AddProperty(JsonProperty property)
   at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateConstructorParameters(ConstructorInfo constructor, JsonPropertyCollection memberProperties)
   at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract(Type objectType)
   at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract(Type objectType)
   at System.Collections.Concurrent.ConcurrentDictionary`2[[System.Type, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[Newtonsoft.Json.Serialization.JsonContract, Newtonsoft.Json, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed]].GetOrAdd(Type key, Func`2 valueFactory)
   at Newtonsoft.Json.Utilities.ThreadSafeStore`2[[System.Type, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[Newtonsoft.Json.Serialization.JsonContract, Newtonsoft.Json, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed]].Get(Type key)
   at Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract(Type type)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Populate(JsonReader reader, Object target)
   at Newtonsoft.Json.Serialization.JsonSerializerProxy.PopulateInternal(JsonReader reader, Object target)
   at Newtonsoft.Json.JsonSerializer.Populate(JsonReader reader, Object target)
   at Newtonsoft.Json.Converters.CustomCreationConverter`1[[Shared.IMyInterface, Shared, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null]].ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonConverter[] converters)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[IMyInterface](String value, JsonConverter[] converters)
   at Shared.InstanceCreator.CreateInstance() in C:\repos\ConsoleApp\Shared\InstanceCreator.cs:line 9
   at WebAssemblyApp.Pages.Index.OnInitialized() in C:\repos\ConsoleApp\WebAssemblyApp\Pages\Index.razor:line 12
   at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()

Steps to reproduce
Reproduction Repo: https://github.com/smfields/NewtonsoftIssueRepro

Run the ConsoleApp project to see the expected behaviour.
Run the WebAssemblyApp project to see the error.

What you see is quite likely the effect of trimming applied to the Blazor webassembly project (note the empty property name in the exception message, which is typically an indication of this).
Therefore, first verify if trimming is the actual cause of your problem by disabling trimming for your Blazor webassembly project and check whether the problem still occurs without trimming.
If you have identified trimming to be the cause of the problem, evaluate whether you can switch to System.Text.Json, a json serializer using code generators. Because Newtonsoft.Json/Json.NET relies heavily on reflection, and reflection-based code often does not play very well with trimming without special care.
Quote from https://learn.microsoft.com/en-gb/dotnet/core/deploying/trimming/prepare-libraries-for-trimming:

Sometimes the existing design of an API will render it mostly trim-incompatible, and you may need to find other ways to accomplish what it is doing. A common example is reflection-based serializers. In these cases, consider adopting other technology like source generators to produce code that is more easily statically analyzed.

(Emphasis mine)
If you prefer to use Newtonsoft.Json/Json.NET while still trimming your project, you will have to configure your Blazor web assembly in a manner so that the trimmer does not trim away the types (or the respective type members) of any possible (data) objects and interfaces that potentially participating deserialization - such as properties, fields and especially constructors that will only be accessed by the Json.NET (de)serializer through reflection. For documentation/guidance, see here: https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/trimming-options#trimming-granularity

What you see could be the effect of trimming applied to the Blazor webassembly project (note the empty member name in the exception message, which could be an indication of this).
Therefore, first verify if trimming is the actual cause of your problem by disabling trimming for your Blazor webassembly project and check whether the problem still occurs without trimming.
If you have identified trimming to be the cause of the problem, evaluate whether you can switch to System.Text.Json, a json serializer using code generators. Because Newtonsoft.Json/Json.NET relies heavily on reflection, and reflection-based code often does not play very well with trimming without special care.
Quote from https://learn.microsoft.com/en-gb/dotnet/core/deploying/trimming/prepare-libraries-for-trimming:

Sometimes the existing design of an API will render it mostly trim-incompatible, and you may need to find other ways to accomplish what it is doing. A common example is reflection-based serializers. In these cases, consider adopting other technology like source generators to produce code that is more easily statically analyzed.

(Emphasis mine)
If you prefer to use Newtonsoft.Json/Json.NET while still trimming your project, you will have to configure your Blazor web assembly in a manner so that the trimmer does not trim away the types or the respective type members of any possible (data) objects and interfaces that potentially participating deserialization - such as properties, fields and especially constructors that will only be accessed by the Json.NET (de)serializer through reflection. For documentation/guidance, see here: https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/trimming-options

Thanks for your quick (and thorough) repsonse. Forgive me if I've misunderstood, I'm not very familiar with the idea of trimming.
I tried disabling trimming in the WebAssembly project by adding <PublishTrimmed>false</PublishTrimmed> and/or <TrimMode>partial</TrimMode> to the csproj. The error still reproduced, but I'm not entirely sure if this actually disables trimming or not.
I also tried explicitly turning on trimming for the ConsoleApp to see if I could get it to reproduce the error, but it did not. That being said, it looks like starting in .NET 7 all assemblies have trimming enabled by default. Again, forgive me if I've misunderstood.
I'd really prefer to stick with JSON.NET in this case, so are there any other potential causes for this error? It's unfortunately quite difficult to debug 3rd party libraries in WASM, so I can't easily dig into things myself.

Hmm, looking closer, you are uisng Castle DynamicProxy, which itself uses System.Reflection.Emit, apparently to create proxy types dynamically at runtime. (My suspicion regarding trimming was a false flag. My apologies.)
Considering this and your stacktrace that indicates Json.NET inspecting some ConstructorInfo for the dynamically generated proxy type that then leads it to detect a constructor parameter with no/empty name, i took a look at the respective method in Json.NET. (Side note: look at the code comment inside that method there, lol):
https://github.com/JamesNK/Newtonsoft.Json/blob/0a2e291c0d9c0c7675d445703e51750363a549ef/Src/Newtonsoft.Json/Serialization/DefaultContractResolver.cs#L687-L716
Note how the constructor parameter names are tested against null. But they are not tested against an empty string. I don't know if Castle can create constructor parameters for a proxy with a name that is not null but an empty string under certain circumstances, but it almost looks like that. And if that were to be the case, then Json.NET is not yet prepared for this (and therefore this being a bug/limitation).
Unfortunately, i am unable to set up and test your webassembly project (nor do i have much technical experience with wasm anyways), so i can't check for myself. If you want to, perhaps try reflecting over the type of the generated proxy instance when running as part of your webassembly project, and see/log if the parameter names of the constructor(s) of this type are either null, an empty string or some other name consisting only of some weird Unicode zero-width control/format characters. Not that this will help you fixing or working around the issue, but it could help confiriming what the actual constructor parameter names of the proxy object are when running in the webassembly...

I setup the test you recommended and as you predicated it looks like the constructor parameter names are being set to null in the ConsoleApp, but an empty string in the WebAssemblyApp.

There might perhaps also be another possibility: Despite your "Shared" project using the Newtonsoft.Json package 13.0.3, perhaps the execution environment for your webassembly for whatever strange reason pulls in an older Json.NET library.
The DefaultContractResolver.CreateConstructorParameters method (shown in my previous comment) of newer Json.NET versions has if (parameterInfo.Name == null) { continue; } in the foreach loop. However, this particular guard was only added with commit cdf1015 in July 2019.
That's before Json.NET 12.0.3 had been released. Can you double-check which Json.NET version is active during the execution of the webassembly project. For example, log/print out the library's full assembly name (which contains its major version number), which you can obtain by something like typeof(JsonConverter).Assembly.FullName...

(Sorry, i deleted my last comment. I misread your comment, falsely reading that the ctor parameter name is null. Ooops...)

an empty string in the WebAssemblyApp.

Alright. That is then an issue with Json.NET library...

Is there any workaround or a resolution for this issue. Have been facing this issue with a weird usecase, My API deserialization works with Debug configuration but throws error in Release configuration
Newtonsoft.Json.JsonSerializationException: A member with the name '' already exists on 'System.Tuple2[System.String,System.String]'. Use the JsonPropertyAttribute to specify another name

@RagavanPV Did you get any solution for it? I am also facing similar issue...


Update jsr305 to 3.0.2

Updates com.google.code.findbugs:jsr305 from 1.3.9 to 3.0.2.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.google.code.findbugs", artifactId = "jsr305" } ]

labels: semver-major

Codecov Report

Merging #290 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #290   +/-   ##
========================================
  Coverage    61.29%   61.29%
========================================
  Files           50       50
  Lines         1540     1540
  Branches        40       40
========================================
  Hits           944      944
  Misses         596      596

Continue to review full report at Codecov.

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


[iOS] URL format results in ”Track is missing a required key"

Describe the Bug
[A clear and concise description of what the bug is.]
On iOS, adding id, and URL formated like this https://example.com/s/pAc4RpJbQKprzps/download/Stressad,%203%20min.mp3 to an object in the playlist makes the TrackPlayer.add() function throw ”Track is missing a required key”.
Renaming the URL to 'https://example.com/s/pAc4RpJbQKprzps/download/min.mp3’  makes it work.
Code To Reproduce
const url = 'https://example.com/s/pAc4RpJbQKprzps/download/Stressad,%203%20min.mp3’ ;
await TrackPlayer.add([
            {
              id: url,
              title,
              artist: ’Artist',
              genre: ’Genre',
              url,
              artwork: imageUrl,
            },
          ]);

Replicable on Example App?
Can you replicate this bug in the React Native Track Player Example App?
Environment Info:
Paste the results of npx react-native info
System:
    OS: macOS 13.1
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
    Memory: 635.80 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 14.19.0 - ~/.nvm/versions/node/v14.19.0/bin/node
    Yarn: 1.22.17 - ~/.nvm/versions/node/v14.19.0/bin/yarn
    npm: 8.5.0 - ~/.nvm/versions/node/v14.19.0/bin/npm
    Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.11.3 - /Users/henrik/.rvm/gems/ruby-2.7.6/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
    Android SDK: Not Found
  IDEs:
    Android Studio: 2021.3 AI-213.7172.25.2113.9123335
    Xcode: 14.2/14C18 - /usr/bin/xcodebuild
  Languages:
    Java: <IP_ADDRESS> - /usr/local/opt/openjdk@11/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.1.0 => 18.1.0
    react-native: 0.70.6 => 0.70.6
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Paste the exact react-native-track-player version you are using
3.2
Real device? Or simulator?
Simulator

I am not able to replicate this issue in nightly with the url you provided.. But seeing as it is a non-existing url, perhaps you could you give me a working example url to test with?

Sorry for not being able to give you the original file (it is an copy righted file from a third company), but my guess was that it was because the spaces and comma sign in the file name.
Regards, Henrik

From: Jonathan Puckey @.>
Sent: Tuesday, February 14, 2023 16:19
To: doublesymmetry/react-native-track-player @.>
Cc: Henrik Andoff @.>; Author @.>
Subject: Re: [doublesymmetry/react-native-track-player] [iOS] URL format results in ”Track is missing a required key" (Issue #1925)
I am not able to replicate this issue in nightly with the url you provided.. But seeing as it is a non-existing url, perhaps you could you give me a working example url to test with?
—
Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdoublesymmetry%2Freact-native-track-player%2Fissues%2F1925%23issuecomment-1429916896&data=05|01|henrik.andoff%40funmed.se|2103869b17b34ee2773c08db0e9ed859|d8d4ff56a74746e2a9658a14d809c5da|1|0|638119847616319829|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=mjqJV9U6zpnbCwRz1cZHSwkWRdk2AfTDbMQP9QVF%2BN4%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAT3QMGOUXLYFLZMAV4NPOYDWXOO7PANCNFSM6AAAAAAU3OGCKU&data=05|01|henrik.andoff%40funmed.se|2103869b17b34ee2773c08db0e9ed859|d8d4ff56a74746e2a9658a14d809c5da|1|0|638119847616319829|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=N%2BxO2rn%2B1Qs4Dwr3yvrC%2B4zBhf%2FbJDqeGpwjpnmw2UU%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.***>

I can echo to this. This happened because of space sign in the file name. However, this is not always the case (some url work okay for me). I am on 3.2.0 so will try nightly to see if it got fix

If anyone wants to give me a working broken url, I will look into it : )

@puckey here you go https://evergraceapp.com/Stressad, 3 min.mp3
This is the exact same file name as mentioned above.
But I wonder if the OP is actually passing an invalid URI? Perhaps he needs to be encodeURI()ing it?
OR, perhaps RNTP is decoding it and it's failing?
> decodeURI('https://example.com/s/pAc4RpJbQKprzps/download/Stressad,%203%20min.mp3')

'https://example.com/s/pAc4RpJbQKprzps/download/Stressad, 3 min.mp3'

I was unable to replicate this in nightly using either https://evergraceapp.com/Stressad, 3 min.mp3 https://evergraceapp.com/Stressad,%203%20min.mp3
@s123121 do you have an update from your side on this?

Will reopen if someone can provide a way to replicate this


Checkboxes in PopupMenuItems don't respond to taps on the menu item

From @Hixie on May 12, 2015 19:25
The checkbox control doesn't automatically get checked when you tap on a menu item that contains it.
Copied from original issue: domokit/mojo#162

No it's not. :-)

From @abarth on June 11, 2015 20:30
Apparently this bug isn't about tapping on the checkbox itself but upon the text associated with the check box.

From @abarth on June 11, 2015 19:43
This is fixed in stocks2.


No Darwin entries in the new index

Hello 👋 . I'm a maintainer for the Homebrew project.
While packaging jabba 0.12.1 we encountered failures during testing. It appears this is due to the new index not containing any entires for Darwin (macOS).
Related to https://github.com/Homebrew/homebrew-core/pull/123572

Apologies, I made a silly error when updating the index generator. Fixing it now

Hi @p-linnane, this has been fixed now, I had commented windows and mac from the script when looking into an issue with linux jdks, and forgot to uncomment them. Have restored and run the index manually now so they're all back.

Thank you! Confirming everything is working as expected.


Modify service additions/replacements

Based on the discussion @melkodary & I had during the maintainer's meeting on the 20.03.2024
Short
Enabling the possibility to add/append/replace services to already existing applications.
Proposal
See the code changes in this MR as an initial proposal. My changes only modify the PUT method, i.e. the use case where you want to replace an already existing service with another one.
I wanted to support any legacy code so I added a new optional query param that can be set via ?replace=true. If a service needs to be replaced the old service needs to be properly removed and the new one properly added. Just using the legacy replace code does not work because the DB entity will be an invalid hybrid. Here is an example:

A few issues there are when it comes to adding/changing services of an app:

There is no dedicated methods for this yet (AFAIK)
The provided change object needs to be a proper SLA object, which usually needs to be fabricated specifically beforehand. I.e. not simply fetching the already existing DB entry via the API, adjusting it and pushing it back, this does not work.
The required SLA object requires the app part of the SLA too otherwise the SLA parser will throw an error, i.e. it is not possible to provide a simple SLA object with just the new service in it.
Note following example I tried out: When you have an app with 3 services running and you want to add/replace one of those services you can do this: Create a new SLA with the wanted new service, wrap it in the app (SLA properties) you want (app ID, name should be sufficient) - without the other services, etc, so rather light weight! - you can send this and the app will be properly updated as expected - i.e. this is a current workaround - not ideal but it works without any SLA schema changes, etc.

Ratio
This is important because there are times where you would like to replace a service with another or simply append a new service dynamically. This is not trivially possible right now.
Impact

system-manager
maybe the SLA schema

Development time
Depends on the degree of refactoring. If using what is already there (a more "hacky" approach) this should be possible in a few hours. If a proper refactoring is performed, including SLA changes, etc. This can take one to a couple of days I assume.
Status
@melkodary wanted to take a look at this, and I thought instead of just opening a ticket I could already share my workaround for brain fodder.
The changes you see here work fine for me to fulfill my use case of replacing a service in an app dynamically.
The (unit) tests still need to be adjusted.
I am open to collaborate on this.

So as far as I get without the replace flag the service will be updated anyway creating the inconsistency?

I think so yes, which is not a great design.
To be fair I am no longer sure if this PR is needed. Because from my experience now it seems to  be no problem to append a service to an application anymore. At least I am doing this with FLOps and have no issue or need for the changes in this PR. 😅

I agree. Shall I close it then?


Works 100%

This is the best bot ever!

Fax

how did u get it working?
when i run 'pip install -r requirements.txt' i just get errors.

how did u get it working? when i run 'pip install -r requirements.txt' i just get errors.

Open an issue with some context

have u got discord?


3 master backup is successful, but the Recovery fails

Describe the Bug
3 master backup is successful, but the Recovery fails.
The filesystem is FS

Environment
3 master and all nodes be mounted
For example: CentOS 7.5 / 3 masters:  8cpu/8g; 3 nodes: 8cpu/16g
(and other info are welcomed to help us debugging)

/assign @Metrora

/milestone v1.1.0

/assign @zhuzhenfan

/closed


Stop URL-Copy-Paste

Instead of copy-pasting the URLs from the STiNE website, provide a way to fetch all available modules for your course of study.
getAvailableModules(depth)
This should return a structure with all the corresponding information about the module. The depth specifies how many sub-categories should be fetched, e.g. depth 2 would fetch all modules listed under (Elective Modules > Chemie).
A specific module struct for each module returned by the function can then be passed to functions like CreateModuleRegistration() instead of the URL.

Implemetend in latest release


Error on iOS devices due to sharedCookiesEnabled prop doesn`t work: Infinite loop on render.

Bug description:
Hello guys,
I have an error only on iOS devices because the third party's cookies don't work. I think prop sharedCookiesEnabled doesn't work.
I have tried the following things but they didn't work:

Put this link inside a webview
This website shows if third party cookies is enabled or not. On iOS is always shown 'No', but on Android devices is shown 'Yes'.
If you change sharedCookiesEnabled between true or false, it doesn't change.
I have applied a NSCrossWebsiteTrackingUsageDescription on Info.plist
I have changed the NSCrossWebsiteTrackingUsageDescription on the app settings between true or false.

Anyway, my main problem is as I'm working with microstrategy demo dashboard, when the html has been rendered, the webview is stuck on a loop due to this prop being broken.
I know it is because of that prop because in Chrome and android devices is working fine.
To Reproduce:
<WebView
    originWhitelist={['*']}
    source={{
      uri: 'https://www.whatismybrowser.com/detect/are-third-party-cookies-enabled',
    }}
    style={styles.webview}
    javaScriptEnabled
    thirdPartyCookiesEnabled={true}
    sharedCookiesEnabled={true}
 />

Expected behavior:
See the webpage on the app with 'Yes' as a result of third-party cookies enabled on iOS devices.
Environment:

OS: iOS
OS version: 17.1
react-native version: ^0.72.6
react-native-webview version: ^13.6.2

I appreciate any help.
Thank you!

Hi guys, any help?

i am facing the same issue since 6 months but no solution provided tested on 13.7.1 version.

sharedCookiesEnabled property has nothing to do with Third-Party Cookies.
It is needed for iOS 7 or older where cookies would have been stored in NSHTTPCookieStorage and sharedCookiesEnabled must be set on webviews to ensure access to them.

So what's going on? Why I could see this website with "Yes" (as third-party-cookies enabled)?
I don't understand it..


WIP: Upload notebook's checkpoint content

I am closing this now as production version of this code had been merged.


[TVM] Fix Tvm Integration

Description
Fix issue #1425. Update docker and enable tvm test.
Checklist
Essentials

[x] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage
[ ] Code is well-documented

Changes

[ ] Add monkey patch to update operator map in TVM's MXNet frontend locally.

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

cc @dmlc/gluon-nlp-team

FYI @icemelon9 @yzhliu , we added the monkey patch to try to fix the TVM conversion from the GluonNLP side.

FYI @icemelon9 @yzhliu , we added the monkey patch to try to fix the TVM conversion from the GluonNLP side.


deps: webapp-api-client package update

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines

What kind of change does this PR introduce?
Update dependencies of webapp-api-client package, these are:

@graphql-codegen/*
@graphql-tools/*
also @apollo/client updated in root package
msw

There are packages like axios or apollo-upload-client, which with next major versions introduce too many issues and it's simply not worth the overhead.

msw update created too many issues to resolve for now.


Error when running Falcon-Unzip

Operating system
Linux/torque/HPC
Package name
/pb-assembly/0.0.2_conda/Falcon_Unzip
Describe the bug
fc_run finished properly, but fc_unzip failed when generating 3-unzip/2-htigs.
Error message
Attached.
run-Pb0fc005d51d45e.bash.stderr.txt
Configuration file
Attached.
fc_unzip.cfg.txt
Thanks!

Closing due to lack of activity.


issue: No error logs appear in case a FHIRClient error occurs

Issue report
Expected Behavior
If en exception occurs with the FHIRClient, it should be logged within the PPDDM Agent.
Actual Behavior
No logs are printed.

fixed by #15


on hold txs accepted on l1

https://testnet.starkscan.co/tx/0x17235c4000298e9f123191ed3d4468b3fa6944eefce61304a6302f84e7ba81e

it's also buggy on starknet quest


docs: authentication docs overhaul

Thanks for submitting a PR! Please check the boxes below:

[x] I have run pre-commit to check linting
[x] I have added information to docs/ if required so people know about the feature!
[x] I have filled in the "Changes" section below?
[x] I have filled in the "How did you test this code" section below?
[x] I have used a Conventional Commit title for this Pull Request

Changes
Merge/rewrite these docs about setting up SAML into the first one:
https://docs.flagsmith.com/system-administration/saml
https://docs.flagsmith.com/deployment/configuration/authentication/SAML
https://docs.flagsmith.com/deployment/configuration/enterprise-edition#saml-authentication
Add a dedicated section for managing permissions via SAML, and what happens by default if no groups are mapped.
Rewrite the root Authentication doc to be clearer, and mention that 2FA is supported in Scale-Up and above.
Add Okta below the SAML category, to make it immediately obvious that Okta is configured with SAML. Other IdPs can later be added on to this category.
Update a screenshot showing an old groups UI
Add instructions specifically for Okta, manually tested today.
Add redirects for all the deleted/moved pages.
The order for authentication methods is intentional, from most-relevant to least (SAML > OAuth > LDAP > ADFS).
Not included
The docs for ADFS and LDAP could use some love, but I decided to leave them for a future change.
How did you test this code?
Docs tested locally, manually. Redirects tested manually from this preview deployment:

https://docs-69pv7n6f5-flagsmith.vercel.app/guides-and-examples/okta-configuration
https://docs-69pv7n6f5-flagsmith.vercel.app/deployment/configuration/authentication/ADFS
https://docs-69pv7n6f5-flagsmith.vercel.app/deployment/configuration/authentication/LDAP
https://docs-69pv7n6f5-flagsmith.vercel.app/deployment/configuration/authentication/OAuth
https://docs-69pv7n6f5-flagsmith.vercel.app/deployment/configuration/authentication/Okta
https://docs-69pv7n6f5-flagsmith.vercel.app/deployment/configuration/authentication/SAML

I think Okta should be at the same level as SAML - I get why its a subfolder but its easily missed and we want people to know about it. Otherwise all good!


Beginner tutorial fails parsing pipeline def

What happened?:
Beginner tutorial fails due to parsing pipeline def error: malformed pipeline spec: invalid character '#' looking for beginning of value.

@marcadella I assume you copy/pasted the spec from the tutorial snippet into your own file instead of using the create-pipeline command in the tutorial or using edges.json spec we provide on Github: https://github.com/pachyderm/pachyderm/blob/master/examples/opencv/edges.json?
The actual snippet in the docs has an invalid comment at the top: #edges.json which is there for clarity. We can remove that if it's too confusing, but if you use the create-pipeline command in the tutorial, or use the spec on GH, or simply remove the comment which isn't valid json, everything should work fine. Please let us know if you have any other issues.


Add data and queries

What does this PR do?
This PR is raised to implement the following features: 👍 :

[x]  Add species and owners table
[x] Insert more data into the species and owners' table

Description of the task to be completed ↓↓

Insert more data into the table

Screenshots of the queries.

Modify your inserted animals so it includes the species_id value:

If the name ends in "mon" it will be Digimon
All other animals are Pokemon

Modify your inserted animals to include owner information (owner_id):

Sam Smith owns Agumon.
Jennifer Orwell owns Gabumon and Pikachu.
Bob owns Devimon and Plantmon.
Melody Pond owns Charmander, Squirtle, and Blossom.
Dean Winchester owns Angemon and Boarmon.

What animals belong to Melody Pond?

List of all animals that are pokemon (their type is Pokemon).

List all owners and their animals, remember to include those that don't own any animal.

How many animals are there per species?

List all Digimon owned by Jennifer Orwell.

List all animals owned by Dean Winchester that haven't tried to escape.

Who owns the most animals?

Thanks for reviewing my PR 😊

Thank you @m05e5 for reviewing my PR👍🏽 Cheer and happy coding 😎


Input fields appear larger than buttons

Place a button and an input field next to each other. They appear to have different heights due to one using inset shadows and one having normal shadows. We need to align them. Please also check other form components such as selects.
Check with @mrkskmn what the correct shadow should be (inset or not). I propose to use inset.

  <div class="cat-flex">
    <cat-button>sfdsfds</cat-button><cat-input label-hidden></cat-input>
  </div>

I'd also agree to use inset and checking that the hover/focus states still work.

#194


Move sysdata.rda

This is not an R file. It is a binary file. It has nothing to do with the proper functioning of our package and everything to do with tests. Move it to the test folder.
Please see the first sentence here: http://r-pkgs.had.co.nz/r.html

In using devtools::use_data, the two most important ones are making the data external to the user in data/ folder or to make the data internal for use in the package.
The way to make data internal with the package is to store it as sysdata.rda in the R/ folder itself.
Look at the Data chapter of the same book here: http://r-pkgs.had.co.nz/data.html
I'll take suggestions on how to tackle this, if you still are not convinced by sysdata.rda 😄

The way to make data internal with the package is to store it as sysdata.rda in the R/ folder itself.

You can also make data internal within the package by putting it in tests.

Look at the Data chapter of the same book here: http://r-pkgs.had.co.nz/data.html

This recommends using an R/sysdata.R for functions that need precomputed data tables. None of our functions use precomputed data tables -- only our tests do. Put it in tests.
From the article:

Again, to make this data reproducible it’s a good idea to include the code used to generate it. Put it in data-raw/.

If any of those underlying functions change, or even more likely, our input data changes, all those tests that use the precomputed dataframes will break. Better to be reproducible than to save a few seconds running tests each time.

I will remove these two tests, as discussed with Phil in the morning, and we decided to remove away the hard coded examples for now, as it forms a chicken egg problem, how do we generate the test_*file used to crosscheck against the function output? Is by using a working version of that function. So it is better that we check for the flow of the code.
So with that I'll remove sysdata.rda since it only contains the test_*files


How to upload picture to a repetition field/ write data to a repetition field?

Thank you very much for your fantastic package.
I tried to upload pictures to a repetition field as your instruction below, assuming that the field named 'Photo' and the repetition number is 5.
Could I use it as below?
$newPet->photo(1) = [$file1, 'fluffy1.jpg'];
$newPet->photo(2) = [$file2, 'fluffy2.jpg']
Thanks
========
$file = new File(storage_path('app/public/gator.jpg'));
$newPet->photo = $file;
$newPet->save();

I don't believe we currently have support for repetitions, but repetitions really shouldn't be used in general. It's a very, very old feature of FileMaker which they have maintained support for to not break older systems, but in almost every case you should use related records instead of repetitions.
I strongly recommend reevaluating your use of repetitions and to consider using a relationship and related records instead.


Release notes 1.4

[ ] Additional function parameters, change functionality or change defaults?
[ ] New estimator in cr.tl.estimators?
[ ] New kernel in cr.tl.kernels?
[ ] New gene trend model in cr.ul.models?
[ ] New plotting function in cr.pl?
[ ] Other?

...

closed via #647


remove RuntimeValue::decode_{f32,f64} methods

Reason:

Those methods expose details about the F32 and F64 that should not be handled or dealt by the RuntimeValue type but by those type respectively via their from_bits methods.
Replacing those removed methods with their respetive F{32,64}::from_bits().into() is simple and therefore the gains of having those convenience methods is minimal to start with.

Codecov Report

Merging #317 (cdd695e) into master (fdcfa6c) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #317      +/-   ##
==========================================
+ Coverage   79.88%   79.92%   +0.03%
==========================================
  Files          70       70
  Lines        9328     9324       -4
==========================================
  Hits         7452     7452
+ Misses       1876     1872       -4

Impacted Files
Coverage Δ

src/value.rs
73.27% <ø> (+1.32%)
:arrow_up:

src/module.rs
73.96% <100.00%> (ø)

src/v1/module/instantiate.rs
48.92% <100.00%> (ø)

Continue to review full report at Codecov.

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


Bumped production RELEASE for 1.20-9

Bumped production RELEASE for 1.20-9
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/unhold

/lgtm


CS2-PlayerModelChanger

Could you teach how to control this plugin's skin selection with WASD? I still don't understand how to configure WASDMenuAPI PLugin

Same issue here!

Found a fix.
in PlayerModelChanger.json file, replace
"MenuType": "centerhtml"
for
"MenuType": "wasd",

this issue isn't related to this plugin. reopen it in the relevant plugin if the issue is still relevant


build(snap): add script to generate version

This PR adds a script which is meant to replace version generation logic from this and other snaps. As before, the script generates the version from the short git tag, excluding the v prefix.
This script is meant to be used for versioning of this snap by calling it locally and all other snaps by downloading and executing at build-time.
In addition to the current versioning approach, the script appends some build metadata to the version whenever there are untagged commits. The metadata is chosen to be the number of commits after the tag.
Semver build metadata is denoted by appending a + followed by the metadata: https://semver.org/#spec-item-10
For example, if the current version is 2.1.0 and the HEAD is 1 commit ahead of it, the version would extended to 2.1.0+1.
Build metadata is useful for distinguishing nightly or manual builds from a branch that doesn't get tagged on every commit. This is based on the assumption that jakarta branch is not going to be tagged after every merged PR.
Signed-off-by: Farshid Tavakolizadeh<EMAIL_ADDRESS>

If your build fails  due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:

[x] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[x] I am not introducing a new dependency (add notes below if you are)
[ ] I have added unit tests for the new feature or bug fix (if not, why?)
[x] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[ ] I have opened a PR for the related docs change (if not, why?)

Testing Instructions

Before making this commit
$ snapcraft
...
Building version
+ /root/parts/version/src/bin/set-version.sh
~/project ~/parts/version/build
v2.2.0-dev.2
Version: 2.2.0-dev.2
~/parts/version/build
...
Snapped edgexfoundry_2.2.0-dev.2_amd64.snap

After making this commit
$ snapcraft
...
Updating build step for version ('pull' step changed)
+ /root/parts/version/src/bin/set-version.sh
~/project ~/parts/version/build
v2.2.0-dev.2-1-gd1e12c50
Version: 2.2.0-dev.2+1
~/parts/version/build
...
Snapped edgexfoundry_2.2.0-dev.2+1_amd64.snap

Since this commit is not tagged, there is a +1 in the version.
Use from another snap
snapcraft snippet:
adopt-info: version
parts:
  version:
    plugin: nil
    build-packages: [curl]
    override-pull: |
      curl -s https://raw.githubusercontent.com/farshidtz/edgex-go/snap-version-script/snap/local/build-helpers/bin/set-version.sh | bash

build:
$ snapcraft
...
Pulling version
+ curl -s https://raw.githubusercontent.com/farshidtz/edgex-go/snap-version-script/snap/local/build-helpers/bin/set-version.sh
+ bash
~/project ~/parts/version/src
v2.0.2-dev.1-13-gee1913c
Version: 2.0.2-dev.1+13
~/parts/version/src
...
Snapped edgex-device-camera_2.0.2-dev.1+13_amd64.snap

This is in a branch from a branch which is 13 commits ahead of 2.0.2-dev.1.
New Dependency Instructions (If applicable)

Codecov Report

Merging #3829 (d1e12c5) into main (b2bbeb2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #3829   +/-   ##
=======================================
  Coverage   45.77%   45.77%
=======================================
  Files         112      112
  Lines        9640     9640
=======================================
  Hits         4413     4413
  Misses       4844     4844
  Partials      383      383

Continue to review full report at Codecov.

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

I have used your PR with these device services. device-camera is not been tagged yet as Jakarta. I got version 2.1.0 for device-camera, but I have expected it as 2.0.x.
For device-snmp, device-rest, device-mqtt, which all have tagged as Jakarta, but I got them e.g. Snapped edgex-device-snmp_2.0.1-dev.4+7_amd64.snap. I have expected them as 2.1.0. Should we use "git describe --tags git rev-list --tags --max-count=1" to get tags across all branches, not just the current branch?

Thanks for testing it. I believe this is because your branch doesn't have all the upstream tags. Check your local tags with git tag to confirm you do have 2.1.0.
If not, you need to fetch the tags into your local copy. Assuming you have upstream remote as upstream:
git fetch --tags upstream

If that doesn't solve it, there is a bug somewhere.

@farshidtz  Thanks for your explanation.
$ git tag
[...]
v2.0.1-dev.6
v2.1.0

$ snapcraft
+ curl -s https://raw.githubusercontent.com/farshidtz/edgex-go/snap-version-script/snap/local/build-helpers/bin/set-version.sh
+ bash
~/project ~/parts/version/src
v2.0.1-dev.6
Version: 2.0.1-dev.6

@MonicaisHer This is caused because the commit that is tagged as v2.1.0 isn't available on the main branch. The script is simply calling git describe and using it's output to get the version. Same as how it's done right now without the script.
We can use the --merged flag to know which tags are reachable from the current branch. From git tag --help:
      --merged [<commit>]
           Only list tags whose commits are reachable from the specified
           commit (HEAD if not specified).

       --no-merged [<commit>]
           Only list tags whose commits are not reachable from the specified
           commit (HEAD if not specified).

Using your repo, let's dig deeper:
$ git clone https://github.com/MonicaisHer/device-snmp-go.git
Cloning into 'device-snmp-go'...
remote: Enumerating objects: 777, done.
remote: Counting objects: 100% (345/345), done.
remote: Compressing objects: 100% (214/214), done.
remote: Total 777 (delta 132), reused 277 (delta 92), pack-reused 432
Receiving objects: 100% (777/777), 223.70 KiB | 3.24 MiB/s, done.
Resolving deltas: 100% (300/300), done.
$ cd device-snmp-go/
$ git tag
1.0.0
v0.0.0
v1.1.0
v1.1.1
v1.2.2
v1.3.0
v1.3.1
v2.0.0
v2.0.1-dev.1
v2.0.1-dev.2
v2.0.1-dev.3
v2.0.1-dev.4
$ git describe --tags
v2.0.1-dev.4-7-gd6a2d44

# your repo is behind. Let's fix that first:

$ git remote add upstream https://github.com/edgexfoundry/device-snmp-go.git
$ git fetch upstream
remote: Enumerating objects: 1372, done.
remote: Counting objects: 100% (1372/1372), done.
remote: Compressing objects: 100% (1086/1086), done.
remote: Total 1372 (delta 204), reused 1369 (delta 201), pack-reused 0
Receiving objects: 100% (1372/1372), 2.06 MiB | 13.37 MiB/s, done.
Resolving deltas: 100% (204/204), completed with 2 local objects.
From https://github.com/edgexfoundry/device-snmp-go
 * [new branch]      dependabot/go_modules/github.com/soniah/gosnmp-1.27.0 -> upstream/dependabot/go_modules/github.com/soniah/gosnmp-1.27.0
 * [new branch]      edinburgh       -> upstream/edinburgh
 * [new branch]      fuji            -> upstream/fuji
 * [new branch]      initial-checkin -> upstream/initial-checkin
 * [new branch]      jakarta         -> upstream/jakarta
 * [new branch]      main            -> upstream/main
 * [new branch]      semver          -> upstream/semver
 * [new tag]         v2.0.1-dev.5    -> v2.0.1-dev.5
 * [new tag]         v2.0.1-dev.6    -> v2.0.1-dev.6
 * [new tag]         v2.1.0          -> v2.1.0
$ git merge upstream/main
Already up to date.
$ git tag
1.0.0
v0.0.0
v1.1.0
v1.1.1
v1.2.2
v1.3.0
v1.3.1
v2.0.0
v2.0.1-dev.1
v2.0.1-dev.2
v2.0.1-dev.3
v2.0.1-dev.4
v2.0.1-dev.5
v2.0.1-dev.6
v2.1.0
$ git describe --tags
v2.0.1-dev.6

# v2.1.0 is there but not reachable from the current branch (main):

$ git tag --merged
v0.0.0
v1.2.2
v1.3.0
v1.3.1
v2.0.0
v2.0.1-dev.1
v2.0.1-dev.2
v2.0.1-dev.3
v2.0.1-dev.4
v2.0.1-dev.5
v2.0.1-dev.6

$ git tag --no-merged
1.0.0
v1.1.0
v1.1.1
v2.1.0

# let's switch to the branch which commits are reachable from that tag:

$ git checkout -t upstream/jakarta
Branch 'jakarta' set up to track remote branch 'jakarta' from 'upstream'.
Switched to a new branch 'jakarta'
$ git tag --merged
v0.0.0
v1.2.2
v1.3.0
v1.3.1
v2.0.0
v2.0.1-dev.1
v2.0.1-dev.2
v2.0.1-dev.3
v2.0.1-dev.4
v2.0.1-dev.5
v2.0.1-dev.6
v2.1.0
$ git describe --tags
v2.1.0

Now executing that script from the same directory (outside of snapcraft environment for simplicity):
$ curl -s https://raw.githubusercontent.com/farshidtz/edgex-go/snap-version-script/snap/local/build-helpers/bin/set-version.sh | SNAPCRAFT_PROJECT_DIR=$(pwd) bash
...
Version: 2.1.0
...

@farshidtz  Thanks a lot for your instruction! I got the expected version:2.1.0 now!

This is based on the assumption that jakarta branch is not going to be tagged after every merged PR.

I discussed with @ernestojeda offline and it turns out the the above assumption was wrong. I've marked the PR as draft to investigate further if adding build metadata to version is useful at all.

Closing this for now in favor of continuing to perform the versioning operations inline in every snap.