Timer Thread can deadlock with usrsctp_conninput

Thank you for your work Michael! Recently I discovered a deadlock happening quite commonly based upon master usrsctp. This happens from time to time when a notification happens to be processed simultaneously with incoming traffic.
Timer Stack:
[Switching to thread 262 (LWP 4064001)]
#0 0x00007fec1eeb9e2b in __lll_lock_wait () from target:/lib/x86_64-linux-gnu/libpthread.so.0
(gdb) bt
#0 0x00007fec1eeb9e2b in __lll_lock_wait () from target:/lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007fec1eeb2843 in pthread_mutex_lock () from target:/lib/x86_64-linux-gnu/libpthread.so.0
#2 0x00007fec1efefcb3 in sctp_ulp_notify (notification=5, stcb=0x7fe974028ac0, error=0, data=0x7fe974003a60, so_locked=0) at netinet/sctputil.c:4282
#3 0x00007fec1eff1606 in sctp_release_pr_sctp_chunk (stcb=stcb@entry=0x7fe974028ac0, tp1=tp1@entry=0x7fe974003a60, sent=sent@entry=1 '\001', so_locked=so_locked@entry=0)
  at netinet/sctputil.c:5611
#4 0x00007fec1efdc358 in sctp_mark_all_for_resend (num_abandoned=<synthetic pointer>, num_marked=<synthetic pointer>, window_probe=0, alt=0x7fe720129c00,
  net=0x7fe720129c00, stcb=0x7fe974028ac0) at netinet/sctp_timer.c:645
#5 sctp_t3rxt_timer (inp=inp@entry=0x7fe9740338c0, stcb=stcb@entry=0x7fe974028ac0, net=net@entry=0x7fe720129c00) at netinet/sctp_timer.c:916
#6 0x00007fec1eff5adf in sctp_timeout_handler (t=t@entry=0x7fe720129d30) at netinet/sctputil.c:1905
#7 0x00007fec1ef9e10b in sctp_handle_tick (elapsed_ticks=<optimized out>) at netinet/sctp_callout.c:172
#8 0x00007fec1ef9e1db in user_sctp_timer_iterate (arg=<optimized out>) at netinet/sctp_callout.c:214
#9 0x00007fec1eeafea7 in start_thread () from target:/lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007fec1edcfacf in clone () from target:/lib/x86_64-linux-gnu/libc.so.6

Worker Thread Stack:
[Switching to thread 150 (LWP 4063886)]
#0 0x00007fec1eeb9e2b in __lll_lock_wait () from target:/lib/x86_64-linux-gnu/libpthread.so.0
(gdb) bt
#0 0x00007fec1eeb9e2b in __lll_lock_wait () from target:/lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007fec1eeb2843 in pthread_mutex_lock () from target:/lib/x86_64-linux-gnu/libpthread.so.0
#2 0x00007fec1efee7b9 in sctp_invoke_recv_callback (inp=inp@entry=0x7fe9740338c0, stcb=stcb@entry=0x7fe974028ac0, control=control@entry=0x7fe9740548c0,
  inp_read_lock_held=inp_read_lock_held@entry=1) at netinet/sctputil.c:5360
#3 0x00007fec1efeea9d in sctp_add_to_readq (inp=0x7fe9740338c0, stcb=0x7fe974028ac0, control=0x7fe9740548c0, sb=0x7fe974030388, end=1, inp_read_lock_held=0, so_locked=0)
  at netinet/sctputil.c:5467
#4 0x00007fec1efa6af6 in sctp_process_a_data_chunk (chk_type=<optimized out>, last_chunk=1, break_flag=<synthetic pointer>, abort_flag=0x7fe98dfe3d54,
  high_tsn=0x7fe98dfe3ef8, net=0x7fe720129c00, chk_length=<optimized out>, offset=<optimized out>, m=0x7fe98dfe4088, asoc=0x7fe974028b18, stcb=0x7fe974028ac0)
  at netinet/sctp_indata.c:2140
#5 sctp_process_data (mm=mm@entry=0x7fe98dfe4088, iphlen=iphlen@entry=0, offset=offset@entry=0x7fe98dfe3eec, length=length@entry=36, inp=0x7fe9740338c0,
  stcb=stcb@entry=0x7fe974028ac0, net=0x7fe720129c00, high_tsn=0x7fe98dfe3ef8) at netinet/sctp_indata.c:2792
#6 0x00007fec1efb6c85 in sctp_common_input_processing (mm=mm@entry=0x7fe98dfe4088, iphlen=iphlen@entry=0, offset=<optimized out>, offset@entry=12,
  length=length@entry=36, src=src@entry=0x7fe98dfe4090, dst=dst@entry=0x7fe98dfe40a0, sh=0x7fe9740539f0, ch=0x7fe9740539fc, compute_crc=1 '\001', ecn_bits=0 '\000',
  vrf_id=0, port=0) at netinet/sctp_input.c:6117
#7 0x00007fec1ef94419 in usrsctp_conninput (addr=<optimized out>, buffer=0x7fe98dfe6700, length=36, ecn_bits=<optimized out>) at user_socket.c:3320

Timer Thread                                        Worker Thread (conninput)
HAS SCTP_TCB_LOCK                        HAS SCTP_INP_READ_LOCK
WANTS SCTP_INP_READ_LOCK        WANTS SCTP_TCB_LOCK
To reproduce I add the following to sctputil.c in sctp_ulp_notify:
+	if (notification == SCTP_NOTIFY_SENT_DG_FAIL) {
+		sleep(1);
+	}
	if (notification != SCTP_NOTIFY_PARTIAL_DELVIERY_INDICATION) {
		SCTP_INP_READ_LOCK(inp);
	}

Then opened a connection and sent a high volume of messages for a few seconds to prompt the above notification to fire.

I do wonder if this issue is a duplicate: https://github.com/sctplab/usrsctp/issues/649
I am also wondering if we can
a). first check if the notification events are registered before acquiring SCTP_INP_READ_LOCK (in my case we actually don't have this event even registered)
b). Does the atomic decrement after the callback need the SCTP_TCB_LOCK? Alternatively, do we need to hold the SCTP_INP_READ_LOCK while calling into the sctp_invoke_recv_callback?


Uploading Attachable object to vendor error code 5010

Hi - When I try to create a vendor and then create an attachable, or in certain instances when I am tryin g to access an attachable on a vendor I am getting the error back from the quickbooks api -
[{'Message': 'Stale Object Error', 'Detail': 'Stale Object Error : You and API API were working on this at the same time. API API finished before you did, so your work was not saved.', 'code': '5010', 'element': ''}] -
and so I subsequently get an error from the sdk. Do you know how to prevent this error or is this an issue with the sdk?

I have not encountered this error before.  This thread suggests incrementing the sync token. You could do that like so:
vendor.SyncToken = 1


December release is missing (along with more detailed release notes)

Hi,
Please add the December release to this page &
So for the last 3 updates, the release notes haven't described ANYTHING at all in terms of what's been implemented in the release.  Can you guys actually populate something.  It could be as simple as "minor bugs" or "product optimization" or or something like that?
It's hard to know whether or not I should be concerned about deploying the new version or not without some kind of detail.
Cheers,
Fahim.

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

ID: 27fa3259-c8cf-bd35-7e6a-6f8a1f2a36cf
Version Independent ID: 187906ab-5531-bce0-084c-d90e3c009c82
Content: Previous monthly updates to the on-premises data gateways
Content Source: data-integration/gateway/service-gateway-monthly-updates.md
Product: on-premises-data-gateway
GitHub Login: @miquelladeboer
Microsoft Alias: mideboer

Hi @Teckfahimkanji
The December release came out mid-January. Odd timing I know.
https://powerbi.microsoft.com/en-us/blog/on-premises-data-gateway-december-release/
https://learn.microsoft.com/en-us/data-integration/gateway/service-gateway-monthly-updates
Good feedback about having some (any) details in the release notes. @nikkiwaghani if you have any context, please assist.
Thanks! Jason

Hi @Teckfahimkanji
Thanks for the feedback! The last several month's release notes have included more information about what's available in the current release.


Delete CI.md

Moved to https://github.com/icosa-gallery/open-brush-docs/blob/master/developer-notes/building-open-brush-using-github-ci.md

Yeah. I'm ambivalent.
On one hand - more people might find docs in two places
On the other - we have to keep them in sync.
I guess we should just make sure the docs are really clearly signposted. Should this wait until we've got the proper domain for the new docs?

I think one link to the gitbook is enough, especially for a document like this which was quite niche. I definitely don't want to duplicate things.

I think one link to the gitbook is enough, especially for a document like this which was quite niche. I definitely don't want to duplicate things.

Yes - but the bit about waiting for the right domain?

merge now?

Yeah but we should add a link to docs in the readme at the same time. I'll do a separate PR for that and we can merge them both together.

ok, great. Between that, this, and #169 , maybe we should just do one PR (then again, they're cheap ;-) )


Is a wasm instance/process a container?

Hello,
This might be a very abstract question and might not be the scope of this project itself, but rather for wasm spec.
So, whatever kubelet runs through a CRI/OCI runtime is called container which is also a Linux process on a worker host.
How would you explain this for wasm applications? Is it a container, or just an instance? Is it even a process?
I’m sorry for this noob question.😨

Hi, and thanks for the question!
In the case of a regular Kubernetes node, you are right - the kubelet schedules a Linux container that gets executed by the OCI runtime. That Linux container is, in the end, a list of isolated processes (isolated at the cgroup and namnespace level, with a separate filesystem and networking interface).
Krustlet, on the other hand, schedules a WebAssembly module. Depending on what underlying provider is used (the WASI provider, or the wasmCloud provider), the runtime creates a new instance of the WebAssembly module using Wasmtime (a reference implementation of the WASI specification).
In the case of the WASI provider, each module is spawned on an a new Rust Tokio task, which can be thought of as a "green thread", which executes each module in a "WebAssembly sandbox" - an isolation layer which ensures the modules executed has its own linear memory space, and has no access to files, devices, or network (actually a current WASI limitation), and WASI defines a way to granularly pass directories, environment variables, and arguments to the instance.
(But while the two can seem rather similar at a first glance, they are quite different - Linux (and Windows) containers offer isolation at the OS level, while WebAssembly provides a "virtual machine" that executes Wasm bytecode, similar to how the JVM or .NET CLR execute Java bytecode and .NET IL).
I hope this doesn't raise more questions than it answers (but I'd be happy to answer follow-up questions), and I'll let @thomastaylor312 and / or @bacongobbler add to my answer here.

and I'll let @thomastaylor312 and / or @bacongobbler add to my answer here.

The only thing I might add here is that we should add this to the topics guide in the documentation! This was a great write-up. Thanks @radu-matei. I'll add that as a TODO item.

@radu-matei @bacongobbler Thank you for your words.
Yeah, I am aware of that the WASM runs on something that is similar to JVM or BEAM(in Erlang).
My biggest question there actually was if there's any concrete name for the "instance" thingy. While in the normal Kubernetes we run Containers, what do we run with WASM provider on Krustlet?

"Instance" is what we have been using so far, and it seems to be in line with the Wasm core specification's "module instance" naming (see Wasm spec).

Thank you sir!

I'll leave this issue open since you added the label. So please feel free to close this once your doc is modified!


feat: Keep viewer state when switching tabs

One annoying aspect of the editor is that when switching tabs the current context is lost. This fixes this problem.

That's what I usually do :-)
On Wed, Aug 24, 2022 at 5:36 PM Dustin Byrne @.***>
wrote:

@.**** approved this pull request.
In package.json
https://github.com/applandinc/vscode-appland/pull/451#discussion_r954320613
:

@@ -363,6 +363,7 @@
"openapi-types": "^11.0.1",
"prettier": "^1.19.1",
"prettier-eslint": "^12.0.0",

"project-root-directory": "^1.0.3",

This is a 3 line module with ~10 weekly downloads. Maybe we consider just
copying it into our project?
—
Reply to this email directly, view it on GitHub
https://github.com/applandinc/vscode-appland/pull/451#pullrequestreview-1084540103,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAVC66YWFIVI6SKXO2JJF3V22IU5ANCNFSM55Y7R5MQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

:tada: This PR is included in version 0.41.0 :tada:
The release is available on:

v0.41.0
GitHub release

Your semantic-release bot :package::rocket:


Fixed retention of keys in compaction

Motivation
This change fixes few issues in the compaction mechanism, the

When a reader is created, reading from "earliest" message, it should read the compacted data and then continue from the next message.
When the compaction consumer starts, it shouldn't seek to the beginning. This causes 2 issues:

Rescanning of the topic each time the compaction runs
Keys that are being dropped from the topic are also getting dropped from the compacted view, while in fact they should be there until explicitly deleted (with an empty message for a key).

The main source of the problem is that when creating a cursor on "earliest" message, the cursor gets automatically adjusted on the earliest message available to read. This confuses the check for the read-compacted because it may think the reader/consumer is already ahead of the compaction horizon.
Modifications
Introduced a "isFirstRead" flag to make sure we double check the start message id and use MessageId.earliest instead of the earliest available message to read on the topic. After the first read, the positioning will be fine.

thanks for your contribution. For this PR, do we need to update docs?


Add files via upload

Fastlane sigh simplified usage.

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context

Description

Brilliant tool to resign the IPAs. Made it simpler. Sigh.sh is the script you should run which is included here.

I've signed it.

Thanks for your submission. What is your thought about how this would be used by fastlane users? Clearly you gave a lot of thought to installing fastlane for users, but how would they get their hands on this .sh file? Also, the "enter your IPA", etc workflow is already present (in a slightly) different form, when you run fastlane sigh resign without any command-line arguments; do you imagine this being used differently?
Thanks again!  🚀

Yes sigh is simplified aswell I know dear sir but I wrote this script so that people shouldn't really worry about mistakes while writing the command. This is relatively very easy. ( According to me ). They just have to enter their details and press enter/ If you could add the script in your readme or in the main folder and ask users to use the script if they please. I hope you will oblige. It'd be a great honour. Thanks. :)

Hey @Dershowitz011 - thanks a lot of the contribution. While I think this is a great script, I'm not sure that we have a good distribution mechanism for getting this script in the wild given that we promote the installation of fastlane. Also, I think because this is not a fastlane feature, we might overlook it in the future which could cause some breaking changes for folks.
I am going to close this PR for now, but please feel free to continue conversation here and we would absolutely love to have you contribute further to fastlane! 🚀 🐙

You can just include the script and add it in the description of fast lane sigh saying use this script for an easier way to resign your apps. If there's any change I should do, please let me know and I will. It's an honour contributing to this brilliant tool. 😇

I think this would be really great for a personal blog post of yours if you have your own place to post one? This is a great example of a way that our community can promote fastlane and share usage patterns rather than keeping it in the fastlane repo 😄  🚀


Compiling for esp32c3

What parameters need to be changed to use it with the advanced pcb that @davidebeatrici designed. I can get it to compile but the esp just boot loops.

ok i got it to compile by replacing this..
esp32:
  variant: ESP32C3
  board: esp32-c3-devkitm-1
  framework:
    type: esp-idf

Seems like my boot loop was caused by low voltage from the usb uart i was using, when powered from the inverter its starting fine.
However i'm not getting any communication, can someone clarify the gpio pins used for tx/rx on the advanced design.

Figured it out
  inverter_tx_pin: GPIO7
  inverter_rx_pin: GPIO6

When using the advanced pcb
All seems to be working fine, maybe this will help anyone that makes the advanced pcb in the future.

Thank you for using my advanced PCB!
For reference, it was added in #10.
Please note that I've been using arduino as framework type without setting the flash mode, but it's probably more correct to use esp-idf since it's the official Expressif framework.
Would you like to create a pull request to add the instructions to https://github.com/odya/esphome-powmr-hybrid-inverter/blob/063f91e16edf12ee3f00fc5a1b3e03f57f2eb2c1/pcb/advanced/README.md?


Provide Docker image with Node 12.14.

Could you please build and push Docker image with Node 12.14?

Sure, open an issue in cypress-Docker-images please
Sent from my iPhone

On Dec 29, 2019, at 20:18, Oleg Burov<EMAIL_ADDRESS>wrote:

Could you please build and push Docker image with Node 12.14?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Closing as this is concerned with https://github.com/cypress-io/cypress-docker-images repo.

Sorry, I didn't see the other repo. Open a couple PRs https://github.com/cypress-io/cypress-docker-images/pull/194 and https://github.com/cypress-io/cypress-docker-images/pull/195.


Group chat - Group chat name edited in offline before creating group is not greyed out

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.34-2
Reproducible in staging?: Y
Reproducible in production?: Y
Issue reported by: Applause Internal Team
Action Performed:

Go to https://staging.new.expensify.com/home
Go offline
Tap fab -- start chat
Select "add to group" button next to a user and tap next
Tap group name
Rename and save it
Note group name edited in offline is not greyed out
Tap create group
Tap header -- group name
Tap group name -- rename & save it
Note group name is greyed out

Expected Result:
Group chat name edited in offline before creating group must be greyed out.
Actual Result:
Group chat name edited in offline before creating group is not greyed out but after creating group greyed out.
Workaround:
Unknown
Platforms:

[x] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/e9d2c796-69d6-4b52-9c70-62fc186b2282

View all open jobs on GitHub

@strepanier03  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

Proposal
Please re-state the problem that we are trying to solve in this issue.

When group created offline - group name is not greyed out on reportDetails page.
Group avatar isn't greyed out.
Group description isn't greyed out.
For new Expanse report none of the fields are greyed out

What is the root cause of that problem?

On reportDescription page we are not passing report.pendingFields?.createChat to any of the corresponding following components.
https://github.com/Expensify/App/blob/00bc167940607f1418109f00e2b4e2d7d4ae858b/src/pages/ReportDetailsPage.tsx#L517
https://github.com/Expensify/App/blob/00bc167940607f1418109f00e2b4e2d7d4ae858b/src/pages/ReportDetailsPage.tsx#L621
https://github.com/Expensify/App/blob/00bc167940607f1418109f00e2b4e2d7d4ae858b/src/pages/ReportDetailsPage.tsx#L662
https://github.com/Expensify/App/blob/00bc167940607f1418109f00e2b4e2d7d4ae858b/src/pages/ReportDetailsPage.tsx#L728
Additionally we are not wrapping renderedAvatar and nameSectionExpenseIOU in offlineWithFeedback at all so all the fields of offline created expanse report would not grey out on detailsPage at all.
https://github.com/Expensify/App/blob/587698f1f4c703bab45d10056551ede97a67abe0/src/pages/ReportDetailsPage.tsx#L490-L534
https://github.com/Expensify/App/blob/587698f1f4c703bab45d10056551ede97a67abe0/src/pages/ReportDetailsPage.tsx#L576-L617

What changes do you think we should make in order to solve the problem?

Pass report.pendingFields?.createChat on all 4 places

For avatar
https://github.com/Expensify/App/blob/00bc167940607f1418109f00e2b4e2d7d4ae858b/src/pages/ReportDetailsPage.tsx#L517

For Room
https://github.com/Expensify/App/blob/00bc167940607f1418109f00e2b4e2d7d4ae858b/src/pages/ReportDetailsPage.tsx#L621

For Expanse report
https://github.com/Expensify/App/blob/00bc167940607f1418109f00e2b4e2d7d4ae858b/src/pages/ReportDetailsPage.tsx#L662

For Room Description
https://github.com/Expensify/App/blob/00bc167940607f1418109f00e2b4e2d7d4ae858b/src/pages/ReportDetailsPage.tsx#L728

And wrap renderedAvatar and nameSectionExpenseIOU in offlineWithFeedback here
https://github.com/Expensify/App/blob/587698f1f4c703bab45d10056551ede97a67abe0/src/pages/ReportDetailsPage.tsx#L490-L534
https://github.com/Expensify/App/blob/587698f1f4c703bab45d10056551ede97a67abe0/src/pages/ReportDetailsPage.tsx#L576-L617

What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

Proposal
Please re-state the problem that we are trying to solve in this issue.
Group chat - Group chat name edited in offline before creating group is not greyed out
What is the root cause of that problem?
We are not adding pending fields when we create group chats, we only add createChat pending field
https://github.com/Expensify/App/blob/00bc167940607f1418109f00e2b4e2d7d4ae858b/src/libs/actions/Report.ts#L868
What changes do you think we should make in order to solve the problem?

We should add pending field ADD (or UPDATE) for reportName for group chats
                ...(ReportUtils.isGroupChat(newReportObject) && newReportObject.reportName && {reportName: CONST.RED_BRICK_ROAD_PENDING_ACTION.ADD}),

I see also similar case for room, so we can consider add pending fields ADD for room name and description.
What alternative solutions did you explore? (Optional)

Proposal
Please re-state the problem that we are trying to solve in this issue.
Group chat - Group chat name edited in offline before creating group is not greyed out
What is the root cause of that problem?
We are not adding pending fields for reportName when we create group chats, we only add createChat pending field
https://github.com/Expensify/App/blob/00bc167940607f1418109f00e2b4e2d7d4ae858b/src/libs/actions/Report.ts#L868
What changes do you think we should make in order to solve the problem?

We should add pending field ADD (or UPDATE) for reportName for group chats
                ...(ReportUtils.isGroupChat(newReportObject) && newReportObject.reportName && {reportName: CONST.RED_BRICK_ROAD_PENDING_ACTION.ADD}),

I see also similar case for create room, so we can consider adding pending fields ADD for room name and description in addPolicyReport.
What alternative solutions did you explore? (Optional)

Tested here and this is recreatable. I'm not sure the expected behavior though so looking into that before labeling.

I don’t think we should gray out the group name when the group hasn’t been created yet. We’re not making any API calls or waiting for a server response.
cc: @strepanier03

Yes, we should gray out the group name if the user has edited the name of the group chat just same as we do gray out name and other fields when we create a new workspace.

Yes, we should gray out the group name if the user has edited the name of the group chat just same as we do gray out name and other fields when we create a new workspace

@FitseTLT Can you please explain this further? For new workspace, name update happens after we have created it and there is a separate API call for this. But in case of group page, the user has not submitted the form yet.

@parasharrajat I am not suggesting to gray out the name on create group chat flow but after they created the group chat if they have set a custom group chat name the field should be grayed out in the details page of the chat (which opens when pressing on the report header ofcourse) until the API that creates the group chat succeeds as we do for workspace.
In the case of workspace, there is the create workspace API call here
https://github.com/Expensify/App/blob/0989ddac76e1f26e360e88fcf446652110c0585e/src/libs/actions/Policy/Policy.ts#L1823
and when we build the optimistic data of the policy we set name, description etc. fields pendingFields as ADD here
https://github.com/Expensify/App/blob/0989ddac76e1f26e360e88fcf446652110c0585e/src/libs/actions/Policy/Policy.ts#L1647-L1650

@FitseTLT Could you please show a recording on the workspace behavior you mentioned?

Here it is:
https://github.com/user-attachments/assets/1c84cac5-7668-49ac-8271-e11dc5e2d265

Yes I think it should.
But honestly I think I would also expect the default name to be grayed out in the details page until the user goes online? Either way, I do think it makes sense to gray it out on the details page after creation.
I think in the create flow, we shouldn't gray out anything.

But honestly I think I would also expect the default name to be grayed out in the details page until the user goes online?

I am not sure if we should gray out only for default group chat names case because that means the user hasn't set the group chat name at all and what we see in the details page in this case is the names of the participants combined, in the front end. WDYT

That's fine, just noting that the whole chat is grayed out upon creation offline and in the case of making a workspace offline, that default name is also grayed out upon creation offline. Not a big deal IMO though.

That's fine, just noting that the whole chat is grayed out upon creation offline and in the case of making a workspace offline, that default name is also grayed out upon creation offline. Not a big deal IMO though.

I think that makes sense. We better gray it out 👍

@parasharrajat Updated 👍

@parasharrajat checklist pending then we can pay out

HOLD FOR CHECKLIST
Payment Summary

[x] $250 - @FitseTLT paid via Upwork.
[ ] $250 - @parasharrajat via New Expensify manual requests

@parasharrajat - I'm off for the day very shortly but I'll check in when I'm online this weekend and see if the checklist is completed, then I'll remove the hold from the summary.

@parasharrajat - The Payment Summary is here and I removed the hold, feel free to request in New Expensify now.

$250 approved for @parasharrajat


Can not add via yarn

I got error message :
'error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "6.9.1".

Please fix node js version (engine).

@in1004kyu Thanks for pointing it.
Fixed in 1.1.5 release.


Reported Bug

Issue reported by<EMAIL_ADDRESS>Web component version: 1.27.0
Angular/React version: 5.3.0
Expected Behaviour
Expected
Actual Behaviour
Actual
Replication Steps
Replication

Closing as not an issue


Update drone to not publish artifacts for engine tags

Signed-off-by: dereknola<EMAIL_ADDRESS>Proposed Changes
Prevent CI from publishing artifacts around engine-1.21 tags. We need the tag for other repos to latch onto, but not the artifacts.

Types of Changes
Enhancement

User-Facing Change

NONE

Further Comments

Codecov Report

Merging #4062 (019c5a0) into engine-1.21 (da379fb) will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           engine-1.21    #4062   +/-   ##
============================================
  Coverage        11.48%   11.48%
============================================
  Files              137      137
  Lines             8910     8910
============================================
  Hits              1023     1023
  Misses            7663     7663
  Partials           224      224

Flag
Coverage Δ

inttests
0.68% <ø> (ø)

unittests
11.13% <ø> (ø)

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

Continue to review full report at Codecov.

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


RAC-6008: Implement a PullRequest.groovy to provides library to handle pull requests

Implement 2 methods:

addCommentsToPR: add comments to pull request if pr gate failed.
setStatusOfPR: set the result of jenkins test in pull request.

👍


resource.raccess.public is set without setting isPublic AVU, so iRODS and Django disagree on public status

@hyi @pkdash @mjstealey @dtarb
In issue #2031 @hyi asked why the isPublic AVU doesn't always match the ResourceAccess.public flag according to check_irods_files. I found out why just now.
In the REST API, the setting of the isPublic AVU is carefully modified to always match the setting of ResourceAccess.public using the private routine hs_core/views/__init__.py:_set_resource_sharing_status.
However, there are several places in the code (hs_core/HydroShare/resource.py, hs_core/views/utils.py, and hs_core/views/__init__.py in which this is not used, ResourceAccess.public is modified, and the AVU is not set to match ResourceAccess.public. There are several places where Resource.public is set to False, and one place where ResourceAccess.public is set to True and HYRAX updates are not scheduled as documented in _set_resource_sharing_status.
Will attempt a hotfix for 1.10.0.

@alvacouch Thanks for finding the issue and for trying to make a fix to it. I think it'd be good to make the private method _set_resource_sharing_status public so that it can be the single point of truth for changing resource sharing flag.

@hyi I have taken a different approach. There are routines BaseResource.set_public(Bool) and BaseResource.set_discoverable(Bool) that understand the logic and make corrections.
I left _set_resource_sharing_status alone, as it is for REST, and I need something for the native API which is where public is being changed. Will post PR soon.

@alvacouch Sounds good. I'll keep an eye out on the PR then.

@dtarb @horsburgh I noticed in fixing this issue that there are a number of places around the code where we allow a resource to be public and not discoverable. Is this intentional or an oversight?
It would seem that making something public would implicitly make it discoverable, and that making something not discoverable would implicitly make it not public.
Is there a use case for resources that are public but never show up on the discovery interface?

I think this is an oversight.  We have written in our access control policy "Public implies Discoverable, but not the other way around" and I do not have any recollection of ever deciding anything else.  I suppose there could  be a use case of security by obscurity where we allow this, but I do not think we should do this at this stage, and it would require us to change the UI (again something I do not want to advocate at this stage).

Agreed. I say public = discoverable.

@alvacouch I agree with @dtarb and @horsburgh, but want to point out this just in case. If you are looking at public flag and discoverable flag in the code base, as I remembered, we use public=False and discoverable=True to imply a resource is discoverable, and if public is true, then the resource is public without even looking at discoverable flag. Looping in @pkdash in case he has more to say regarding this.

@dtarb @hyi @horsburgh @pkdash
I have "discovered" (very bad pun intended) that updating of discoverable and public in response to resource metadata changes is very, very inconsistent.  Hence, so is updating of isPublic.
In add_metadata, it's updated only if deleting all subjects, (???) and then, if metadata still validates after doing that, , discoverable is enabled even if it's currently turned off!  (!!!)  (What were we thinking?)
In other metadata routines and file edits (update_metadata, move_file_or_folder, delete_folder, ...) , requirements for public or discoverable aren't checked and resources are allowed to be discoverable after changes make absence of metadata or files insufficient for discovery.
In summary, the majority of the code:

Enforces metadata and file requirements when setting something discoverable or public.
Does not continue to enforce these standards when something public or discoverable gets changed.

I'm a bit worried about "fixing" this in 1.10.0, because there's no time to see whether this will be accurately reflected in the UI.  So I am peppering the code with TODOs.

Just to expedite 1.10.0, I suggest that we:

remove the obvious silliness in add_metadata.
leave all of the native API not validating (like it is now). Changes within the UI will never set discoverable to False even if that is quite well deserved.
leave the REST API validating as it is now.

And then sort out the mess in 1.11.0

I am OK with this approach.

@alvacouch  Looking at the silliness of the add_metadata (probably I wrote the code to fix an issue with editing of resource level keywords) the code that enables 'discoverable' is never executed.
The fix you have proposed for 1.10 sounds good.

@alvacouch

In other metadata routines and file edits (update_metadata, move_file_or_folder, delete_folder, ...) , requirements for public or discoverable aren't checked and resources are allowed to be discoverable after changes make absence of metadata or files insufficient for discovery.

There is no need to set public/discoverable in case of metadata update (since only existing metadata getting is getting updated). Only in the case of resource title being updated, we check to see if the resource public to be reset.
delete_metadata_element() view function should have been checking for possible resting of these flags. The reason it was not done that the UI does not allow to delete any required metadata elements. The only required metadata elements that can be deleted is the keyword which is part of the add_metadata_element() view function where we check (silly code) for resetting these flags.
In case of delete folder, which calls delete_resource_file,  public/discoverable is reset if needed.
If we are moving file or folder I think there is no need to check or reset these flags.

I am not sure how the discovery interface filters resources in terms of using the discoverable/public flags. From the resource landing page point of view, for anonymous user we check the flag public to decide if content files be displayed or not.
REST api for accessing metadata xml file the authorization is successful if either the resource is public or discoverable.

@pkdash Discovery displays something if it is either public or discoverable.
The approach above presumes a lot about the validation process (if only subject and title are flagged as being necessary to check). If someone decides to validate more metadata, this will have to be changed.

@pkdash I also note that validation of logical file metadata only occurs during changes to logical files, and is not checked when one tries to publish a resource. I am changing that.

Merged #2084 to repair this for Release Candidate 1.10.0

Theoretically, this has been addressed.


Support for inline actions

Implementation status

[ ] TypeScript (host apps can handle the onAnchorClicked event)
[ ] UWP
[ ] .NET
[ ] iOS
[ ] Android
[ ] Documentation

Problem
There are quite a few scenarios where it makes sense to have an action displayed as a link on a part of the text in a TextBlock. As an example, GitHub is showing this as I write this issue:

In that screenshot, contributing is just a link, but in the context of Adaptive, card authors may want to hook it to a Submit or ShowCard action (or even Http action in Outlook.)
Asks

Microsoft Teams
Outlook

Solution
To support this, the proposal is to use standard markdown markup to make the text a link and use a special "protocol" name (namely action) in the URL part. The host would be responsible for handling the "action" protocol and fall back to system processing if the protocol isn't "action". This capability would be exposed by renderers through, for example, an event.
ALT: [aleader] Shouldn't the renderer handle the "action" protocol itself? With the option for the host to override it? This should work by default when installing the SDK, rather than requiring the host to add code to support this.
By using markdown as the solution, any markdown-enabled string in Adaptive can now embed actions.
Of course this requires that the action referenced in markup be defined as a card-wide resource, as it would not really practical to fully specify an action within a string. The proposal is to add a resources property to the AdaptiveCard type, and in that resources property add an actions collection. We can add more resource types in the future.
Example
So let's say the above screen grab is done with Adaptive and clicking "contributing" triggers a Submit action. The payload for such a card would be this:
{
	"type": "AdaptiveCard",
	"body": [
		{
			"type": "TextBlock",
			"text": "Before you open an issue please review the [contributing](action:contributeAction) guidelines for this repository."
		}
	],
	"resources": {
		"actions": [
			{
				"type": "Action.Submit",
				"id": "contributeAction",
				...
			}
		]
	}
}

Alternate solution 2
[Andrew Leader] Mimick what XAML does with RichTextBlock... This wouldn't require the addition of a resources array of actions to be referenced.
{
  "type": "RichTextBlock",
  "wrap": 2,
  "paragraphs": [
    {
      "inlines": [
        {
          "type": "TextRun",
          "text": "Before you open an issue please review the "
        },
        {
          "type": "TextRun",
          "text": "contributing",
          "selectAction": {
            "type": "Action.Submit",
            …
          }
        },
        {
          "type": "TextRun",
          "text": " guidelines for this repository."
        }
      ]
    }
  ]
}

This could also be our solution for inline colors, #1079, and inline advanced emojis #1645, and inline text highlighting #1885

Please allow actions in resources to be included, even if not explicitly tied to a link. I.e. please don't check if they're referenced inside the card, because that allows for a number of scenarios where actions are to be handled by the host and triggered outside the immediate card UI.

Hey @ignacionr can you give an example of the scenario you're worried about? As the proposed spec was written, the author is explicitly choosing whether to use an inline action, or the standard actions.

I like this, just a few things I think should be changed...
Right now, the spec says it's the host's responsibility to handle the clicks? Shouldn't we instead have the renderer handle these clicks by default, and then if the host wants to override it, they can? Providing the default implementation is the only way this will be supported by all hosts.
For the resources section, I assume the actions section is an array instead of a isn't a key-value pair based on ID, since in the future we're thinking that actions themselves will gain an id property?
As it stands today, it seems to make more sense if it was key-value pair, like...
	"resources": {
		"actions": {
			"contributeAction": {
				"type": "Action.Submit",
				...
			}
	         }
    }

But if actions will gain an id property in the future for other purposes, then it probably makes sense to go with the array that you had.

Oh I missed that, seems like the documentation was never updated, the schema explorer is still missing the id property.
In that case, I agree with the proposal (the array)!

@andrewleader hey! My only concern is, since our implementations go past parsing (e.g. they purposely remove values that are not defined in enumerations), I worried that if a certain resource isn't used it may get removed from the model. But I don't think anybody needs to go to those extents. As soon as we get this into the models I'll probably propose a unit test.

I don't think we'd remove resources that aren't used (as that'd require extra work to implement).
In parsing an object, we only parse known properties, but this is an array of resources, so by definition we'd simply parse each one. Removing one if it wasn't used would require extra coding with likely very little benefit.
What's the scenario you're thinking of that would require non-consumed resources to be parsed? Just to make sure we're thinking about the end-to-end scenario.
I believe custom elements (host-defined elements) would require all resources to be parsed, wondering if you have another scenario in mind.

Proposal needs more review time. Concerns around...

Making sure this is compatible with universal actions
The general markdown debate

Closing in favor of using inline text runs (#1933) to achieve actions within text


About the input data shape

Hello, thanks for your great work!
I am not familiar with MONAI's API,  so there are som confusions about the input shape.
I suppose every data will crop 16 no_overlap patch such as vit, and random crop 2 patch.
According to the code of dataloader and the function concat_img , I think the img shape is [batch_size *  4 * 4, 1, h, w, d], and the crops shape is [batch_size * 2, 1, h, w, d], and the labels shape is [batch_size, 2, 4*4]. Is it right?
https://github.com/Luffy03/VoCo/blob/1ae3fc9ece19031a74c54cb12c1c8f01715d7f90/models/voco_head.py#L173

First, many thanks for your attention to our work! Your understanding of the input shapes is correct.

Thanks for your reply.
Accoding to this line:
https://github.com/Luffy03/VoCo/blob/1ae3fc9ece19031a74c54cb12c1c8f01715d7f90/models/voco_head.py#L176
sw = batch_size * 4 * 4 // batch_size = 4 * 4
However, On the one hand,  I noticed you regard sw as num_of_random_crop throughout the entire code, so sw should be 2 .
On the other hand, Accoding to this line
https://github.com/Luffy03/VoCo/blob/1ae3fc9ece19031a74c54cb12c1c8f01715d7f90/models/voco_head.py#L194
if sw is 16, what is the meaning of 16 in bases_stu_all[i * 16:(i + 1) * 16]?

After carefully reading the code， I think you regard x_stu as random crop patch features, and regard base_stu as regular crop patch features,
so we should change
https://github.com/Luffy03/VoCo/blob/1ae3fc9ece19031a74c54cb12c1c8f01715d7f90/models/voco_head.py#L175
to
total_size = crops.size()[0]

and change https://github.com/Luffy03/VoCo/blob/1ae3fc9ece19031a74c54cb12c1c8f01715d7f90/models/voco_head.py#L180
to
inputs = torch.cat([crops, img], dim=0)

I am so sorry, your code is right. I am confused the meaning of img and crops

Dear researchers, our work is now available at Large-Scale-Medical, if you are still interested in this topic. Thank you very much for your attention to our work, it does encourage me a lot!


Getting time in ms format

Something I trying to accomplish for some time now is to be able to get timestamp with ms precision, as for when I send a NAV-PVT message the response is up to seconds. I do get the nano field but oddly this is a 6 digit number so it doesn't contain any milliseconds info... I've tried to configure the time pulse thinking maybe it'll change the resolution but am yet to have it working for this.
I'm asking the question here just thought maybe I could get help here, since I've been going through the datasheet lately but I feel like I'm missing something 🤔.
Help would be very appreciated!

Hi,
Not sure why it's been designed this way, but this is expected behaviour. If the navigation solution interval is a multiple of whole seconds, the nano field comes back as 6 digits, but if you set the solution interval to a fractional second value (e.g. 100ms or 200ms) you will start to see the nano field come back with 9 digits, including millisecond values (I'm guessing the reasoning is that if you're only taking a position solution at whole seconds, you're not bothered about the milliseconds???)
e.g. here's a NAV-PVT message with solution interval set to 1000ms (i.e. 1 Hz, the default with most standard devices):
<UBX(NAV-PVT, iTOW=12:30:34, year=2021, month=3, day=11, hour=12, min=30, second=32, valid=b'7', tAcc=27, nano=365524, fixType=3, flags=b'\x01', flags2=b'\xea', numSV=17, lon=-21232382, lat=512307334, height=90061, hMSL=41577, hAcc=3703, vAcc=3321, velN=69, velE=14, velD=43, gSpeed=71, headMot=35236592, sAcc=875, headAcc=4125051, pDOP=130, reserved1=52016683286528, headVeh=0, magDec=0, magAcc=0)>
... and here's a NAV-PVT message with the solution interval set to 100ms (i.e. 10Hz):
<UBX(NAV-PVT, iTOW=12:26:21.500000, year=2021, month=3, day=11, hour=12, min=26, second=19, valid=b'7', tAcc=25, nano=500349559, fixType=3, flags=b'\x01', flags2=b'\xea', numSV=12, lon=-21232208, lat=512306896, height=85667, hMSL=37183, hAcc=2376, vAcc=2172, velN=-10, velE=82, velD=1, gSpeed=83, headMot=14830342, sAcc=354, headAcc=6644024, pDOP=168, reserved1=52016683286528, headVeh=0, magDec=0, magAcc=0)>
If you want to change the solution interval to check this out, you can either send a CFG-RATE message or a CFG-VALSET message with a keyid of 0x30210001 ("CFG_RATE_MEAS").
Hope this helps.


layers: Rework Destroy/Free data structure cleanup

Fixes #750
When destroying dispatchable objects we must cleanup internal data
structures prior to calling down the chain in the event that another
thread were to prempt execution and re-allocate a freed handle prior
to the layer cleanup code executing.
For non-dispatchable handles this shouldn't be a requirement due to
the fact that layers only see unique handles. However, moved some
non-dispatchable cleanup before the call to ICD as well for consistency
and to be extra safe.

Looks good to me.

cherry-picked and pushed to master

:+1:


Change helper fn 'write_os_str_to_wide_str'

Helper fn write_os_str_to_wide_str now works on Scalar<Tag>, just like other read/write os_str helper functions.
The 2nd commit contains some changes made to src/shims/env.rs in PR #1225, in order to keep it from bloating too much.

Looking good, thanks. :)
@bors r+

:pushpin: Commit 07f7083409c3cdb112249bc4f5930c3713d1bbb4 has been approved by RalfJung

:hourglass: Testing commit 07f7083409c3cdb112249bc4f5930c3713d1bbb4 with merge e2a9c7baed31d29c02d62acfcf49e61af1c37f12...

:sunny: Test successful - checks-travis, status-appveyor
Approved by: RalfJung
Pushing e2a9c7baed31d29c02d62acfcf49e61af1c37f12 to master...


Small bugfix in user import script.

In a past commit (8903c03e4b2e47a5776f6ff370ffa9a3a81959ab), I changed the status code when creating a user from 201 from 200.
Unfortunately, I never updated the import user script.
...until now.

:+1:


[GHA] Use newer workflows and add dependabot

Remove manifest, and automatically develop the package when running the
benchmarks, similarly to what happens when building the docs.

Sounds like I was too optimistic, the manifest seems to be necessary.  This is so annoying.

Codecov Report

Merging #139 (f316963) into master (d1ac981) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head f316963 differs from pull request most recent head 311d17f. Consider uploading reports for the commit 311d17f to get more accurate results

@@           Coverage Diff           @@
##           master     #139   +/-   ##
=======================================
  Coverage   95.45%   95.45%
=======================================
  Files          12       12
  Lines         726      726
=======================================
  Hits          693      693
  Misses         33       33

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


Interactive list

For this PR, I:

Add a new JavaScript file and import it as a module:
it will contain methods related to the status updates (completed: true/false).
Add event listener to the checkbox (change).
Update items object's value for completed key upon user actions.
Implement a function for the "Clear all completed" button (use filter() method).
Store the updated array of items in local storage, so the user gets the correct list of values after the page reloads (which means that any changes made to the list should be preserved).

Thank you for approval!


Unresolved References when creating a new custom Visual using CustomVisualTemplate

I followed instructions in https://github.com/Microsoft/PowerBI-visuals/wiki/Create-new-Power-BI-Visuals-using-template and created a custom visual.

in VS I see many "Cannot Find name" errors,
eg. cannot find name "utility"
cannot find name "DataViewObjectPropertyIdentifier"
sample code line is
import SelectionManager = utility.SelectionManager;
The template has a reference to _references.ts which is unresolved (please see below) with a comment above that looks like
/* Please make sure that this path is correct */
///
I searched the entire computer but I do not find a file named _references.ts (not even hidden files)

How do I resolve these?

@ChamaraIC, At first you should execute command “gulp build”. Then you should remove reference to “_references.ts” and add your visual to tsconfig.json.

@ignatvilesov, Added visual to tsconfig.json. Now "gulp build" throws duplicate identifier errors such as the ones shown below.
TypeScript error: visuals\MyCustomVisual.ts(45,9): error TS2300: Duplicate identifier 'name'.
TypeScript error: visuals\sampleVisual.ts(45,9): error TS2300: Duplicate identifier 'name'.
I commented out the following in MyCustomVisuals and got it compile without errors finally.
export interface TeamData {
name: string;
value: number;
color: string;
identity: SelectionId;
}


Add support for AzureOpenAI

I see that langkit is not supporting Azure Open AI. When can this be supported?

Hi @rajib76! Thanks for opening an issue.
Are you looking for support of an Azure OpenAI deployed LLM in LangKit's OpenAIDefault  kind of thing like we do in the Choosing an LLM example? or something else?
I wanted to get some better support for Azure hosted models into LangKit soon, we could probably focus on changes to support the Azure OpenAI models as a first iteration if that is helpful (e.g. gpt-35-turbo, gpt4)?

Yes, looking for support in LangKit's OpenAIDefault. Currently if I need to do hallucination checks, looks like I cannot do it using Azure Open AI. It is only supported for open ai. I am looking at using to evaluate the response from Azure Open AI for hallucination, prompt injection, contextual relevancy and all

Ok, working on it. If you want to try an initial dev build:
pip install langkit==0.0.26.dev0
New class and usage looks like this:
from langkit import response_hallucination
from langkit.openai import OpenAIAzure

response_hallucination.init(llm=OpenAIAzure(engine="LangKit-test-01"), num_samples=1)

Also need to set these new env vars:
os.environ["AZURE_OPENAI_ENDPOINT"]
os.environ["AZURE_OPENAI_KEY"]

As referenced in this example: https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/chatgpt?tabs=python&pivots=programming-language-chat-completions#working-with-the-gpt-35-turbo-and-gpt-4-models

Was able to run it but saw one thing. I tried the example code for hallucination score. I did not see a way to add a context and then tell the LLM to grade the response based on question and context

Was able to run it but saw one thing. I tried the example code for hallucination score. I did not see a way to add a context and then tell the LLM to grade the response based on question and context

I think I got how it is working. It is self check validation. The prompt is being sent to the same model to get and answer again and then we are checking back with the response. Is it possible to do below

Send a ground truth instead of LLM creating sample
If I need to create a sample with a llm, can I use a different LLM than the one which actually does the hallucination check(or is the hallucination check done by the LLM or through a ML model)

Thanks for the reply @rajib76
For #1, yes, it should be possible to perform the semantic similarity based consistency check without the presence of an LLM.
And #2 also makes a lot of sense for your and others' scenarios
I created two issues to reflect both topics we are discussing:

https://github.com/whylabs/langkit/issues/205

https://github.com/whylabs/langkit/issues/204

We'll plan those changes in future sprints


update homepage with modal changes implemented in user_profile page

You changed the font to Times New Roman, you might want to use the same font across pages
Just updated the fonts for consistency :)

It might be better to move the Event Listeners to your js files
Agreed! I do this in my users authentication branch, I'll merge that in after the prototype presentation.


fix selected tab styling to stay even of mouse focus is out

Codecov Report

Merging #145 into refactor-ui will increase coverage by 0.05%.
The diff coverage is 0.00%.

@@                Coverage Diff                @@
##             refactor-ui     #145      +/-   ##
=================================================
+ Coverage          46.93%   46.98%   +0.05%
  Complexity           524      524
=================================================
  Files                131      131
  Lines               2544     2541       -3
  Branches             303      304       +1
=================================================
  Hits                1194     1194
+ Misses              1253     1250       -3
  Partials              97       97

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/trackitnus/ui/SidePanel.java
0.00% <0.00%> (ø)
0.00 <0.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 c13f4ca...173c180. Read the comment docs.


When integrating via cocoa pods, G8 prefixed headers are not present in framework

On the left is the cocoapods framework, on the right is the framework from the products directory in the repo. Sample code depends on g8 classes.

Just wondering if you can suggest a method of preventing cocoa pods from re-downloading the repository every time I do a pod install. Seems like because it's set to download from github as you suggest, the normal caching is disabled.

@joeldrotleff you can clone the GitHub repository somewhere local on your computer, and then in your podfile use:
pod 'TesseractOCRiOS', :path => "/path/to/Tesseract-OCR-iOS"

Ah that works great. Thanks!

On Feb 4, 2015, at 10:29 PM, Kevin Conley<EMAIL_ADDRESS>wrote:
@joeldrotleff https://github.com/joeldrotleff you can clone the GitHub repository somewhere local on your computer, and then in your podfile use:
pod 'TesseractOCRiOS', :path => "/path/to/Tesseract-OCR-iOS"
—
Reply to this email directly or view it on GitHub https://github.com/gali8/Tesseract-OCR-iOS/issues/111#issuecomment-72996517.

Fixed by #123.


Add coding entertainment

A list of puzzles, challenges, games, CTFs, and other entertainment via coding.

Could be interesting, but a random list of links isn't very useful. Add succinct descriptions to the links and I'll reconsider.

@sindresorhus this looks marture but still needs descriptions as you said


Delete posts in groups

is there a way to delete all posts to a specific group from activity log ?

this will work as soon as I get activity log stuff working


[FEATURE REQUEST] Rook/Ceph Kubernetes Native Storage for Azure AKS

Is your feature request related to a problem? Please describe.
We don't have support for Kubernetes Native Storage in Kubernetes at the moment for AKS Kubernetes cluster.
Describe the solution you'd like
We want to add support for Cloud Native Storage for AKS Kubernetes based on Rook/Ceph solution that based on our comparison: https://github.com/mkyc/k8s-pv is the best option.
Describe alternatives you've considered
None.
Additional context
Historical task for define additional disks with discussion: #139
Non-AKS version: #2890
Kubernetes storage comparison: https://github.com/mkyc/k8s-pv

DoD checklist

[ ] Changelog updated
[ ] COMPONENTS.md updated / doesn't need to be updated
[ ] Schema updated / doesn't need to be updated
[ ] Feature has automated tests
[ ] Automated tests passed (QA pipelines)

[ ] apply
[ ] upgrade

[ ] Idempotency tested
[ ] Documentation added / updated / doesn't need to be updated
[ ] All conversations in PR resolved
[ ] Solution meets requirements and is done according to design doc
[ ] Usage compliant with license
[ ] Backport tasks created / doesn't need to be backported

Closing because of the decision not to implement modules.


typescript defs

I'm trying to use xatlas w/ babylonjs and typescript, should I be using xatlas-three?  I cannot find typescript type defs in xatlasjs.

Hi, this repo xatlas-three is for using xatlas.js in three.js. Some changes might be required in the Unwrapper to use it in Babylon.
xatlas.js doesn't have typescript definitions right now, but you can use it by @ts-ignore(similar to how it is used in this, see XAtlasJs.ts) or adding xatlasjs to your globals.d.ts
I can probably add ts definitions in some days to xatlasjs. Would you mind creating an issue there, I have enabled it now.


feat(bpdm-cert): created workflow for publishing swagger hub api

Description
In this pull request, we are creating gitHub workflow for creating/updating swagger hub apis regarding bpdm certificate management application.
Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[ ] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[ ] Copyright and license header are present on all affected files

Looks good , you can just refactor the commits for better understanding

@fabiodmota, thanks for review yes we are squashing them


F #5682: GOCA - improve monitoring integration

Change monitoring method signature to returns some data structures instead of a raw string

Merged as per 2d251749a0c04f5ea5a65a81af468a134d6ea8e9
Thanks!


Git cloning failed!

Awsome job! I'm just working on this topic and find your data. Very lucky for me!
However, when I use git clone to clone your repo, I get an error:
error: unable to create file 6-deep_learning/2-FAST/PLANet/2-train/true_lig_alone_modify_dists/shuffle_true/epoch_500/diff_split/rm_core_ids/PDBbind_minimized_intersected_Uw_union_Uw/complex_6A/train_PDBbind_minimized_intersected_Uw_union_Uw_median_Rm_core_ids_cpx_1.sh: Filename too long
So maybe you can re-arrange your file tree to make it possible for easy cloning?
Many thanks!

Hello, sorry for the delayed response. The filename has been shortened now, you can have a try to see if it works.


Release v0.3

This is blocked by https://github.com/endlessm/endless-key-flatpak/pull/48.
This helps Add org.endlessos.Key for Publish the Endless Key app on Flathub.

The new flatpak builds and works.
Also, Flathub's testing version works. https://github.com/flathub/flathub/pull/4481#issuecomment-1718701804


Running on OpenShift 4.5

Hello,
Did you manage to run this on openshift?
I installed the modules on RHEL 7.8, made some minor fixes to fit it to the kernel version (3.10).
However, the "systemctl is-system-running" returning always degraded.
I tried to look over the logs, but found nothing. When I tried to run the anbox launch command from the docker manually, it returned [daemon.cpp:61@Run] Failed to connect to DBus.
I installed apt install dbus-x11 && export $(dbus-launch). The second run of anbox launch returned Failed to initialize SDL: No available video device.

Haven't tried, but kernel 3.10 might be too old


Use master as default branch instead of current master-telenav

Currently we're using master-telenav as default branch because we hope to keep master to sync with the original Project-OSRM/osrm-backend repo's master. But I feel that the name master-telenav is a little too long and not that explicitly to team(it breaks the Git's convention that always use master as default branch). Also, it will lead to some confusion if people need to import our golang packages(usually import xxx@master to find the latest but that's not correct in our repo).
Here's the new proposal:

create new branch master-projectosrm to sync/track with the master that fork from
sync master with current master-telenav, then use master as default branch of this repo.

Github use master as default branch to show pages
later PR should always target to master
deprecate the old master-telenav

@CodeBear801  @hellotechx  How's your opinion? I'll do the change if you're ok.

@wangyoucao577 Please go ahead.

I have created master-projectosrm instead of original master.
When we have a chance that all PR have been merged, I'll sync master with master-telenav and make it as default.

Done. Also modified wiki https://github.com/Telenav/osrm-backend/wiki/Contribution-Guidelines#pull-request-target-branch


getDeviceLocale() unexpected behavior on iOS device

Summary
Return values for the getDeviceLocale() API do not match the API documentation on iOS version 11.0+, only when running on a physical device. Behavior works as expected in the iOS simulator.

Version
0.21.5

Affected OS
iOS

OS Version
11.0+

Current behavior
Given: Running on a physical iOS device, OS level >= 11.0
When: Using the getDeviceLocale() API
Then: The return value is in the {language-country} format (e.g. en-US).
Expected behavior
The return value should match the API documentation and return a language code only (e.g. en).
Notes
This appears to be an issue with [NSLocale preferredLanguages] in iOS 11.0+.

Just FYI this behaviour is going to be normalised in the version 1.0.0 according to this PR: https://github.com/rebeccahughes/react-native-device-info/pull/354

Running a poll with a proposal to defer to @react-native-community/react-native-localize package where this is likely handled better https://github.com/react-native-community/react-native-device-info/issues/627

https://github.com/react-native-community/react-native-device-info/issues/627


Update CHANGELOG to fix incorrectly placed PR #363

Checklist

[x] I checked the Contributing Guidelines before creating this request.
[x] New extensions are written in Swift 4.
[x] New extensions support iOS 8.0+ / tvOS 9.0+ / macOS 10.10+ / watchOS 2.0+.
[x] I have added tests for new extensions, and they passed.
[x] All extensions have a clear comments explaining their functionality, all parameters and return type in English.
[x] All extensions are declared as public.
[x] I have added a changelog entry describing my changes.

This issue fixes #376

          1 Message

:book:
Thank you for submitting a pull request to SwifterSwift. The team will review your submission as soon as possible.

  Generated by :no_entry_sign: Danger

Thank you for contributing to SwifterSwift! I've invited you to join the SwifterSwift GitHub organization - no pressure to accept! If you'd like more information on what that means, check out our contributing guidelines. Feel free to reach out if you have any questions! 😃

Hehe :)


Fix Docker Compose & Add Boilerplate Project

This PR works on the developer experience for bot-core by adding better infrastructure and boilerplate to help developers test out their changes. This is achieved by adding prominent documentation which explains how to test features in sample and real projects, adding a sample project which contains all the boilerplate for rapid prototyping, and a fixed docker configuration which should work better for this project.
I also added aiodns as an explicit dependency. Our downstream projects already have it so they don't encounter issues, but for local testing it had to be added. We should remove it downstream as well.

@HassanAbouelela rebase


update-jm1

OPS Build status updates of commit b725601:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/index.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Automated discovery (determination) and assignment

Consider adding rules about how to handle automated vulnerability discovery (determination in the curent CNA Operational Rules revision) and assignment. Related:
https://cve.mitre.org/data/board/archives/2015-11/msg00010.html
https://github.com/ossf/wg-vulnerability-disclosures/issues/123
Specification: OpenSSF Compliant Automated Vulnerability Fix Campaign
User Stories

The details matter, but automated vulnerabilit discovery (determination) may meet the requirement that for evidence of a vulnerability. Setting aside important vulnerability coordination issues, automated CVE ID reservation and record publication should be allowed. This has the potential to add "a lot" of CVE IDs to the corpus.


Auto import images for containerd image store

Proposed Changes

ADR
Auto import images form .txt files and tar files

Types of Changes

New Feature

Verification

run a k3s server

k3s server

create a .txt file and add a docker.io image path to the .txt file

docker.io/library/mysql:latest

move the file to /var/lib/rancher/k3s/agent/images

cp example.txt /var/lib/rancher/k3s/agent/images

then see if the file was imported in the containerd image store

k3s ctr images list | grep "mysql"

you can also change the file inside var/lib/rancher/k3s/agent/images

nano /var/lib/rancher/k3s/agent/images/example.txt

then you can add

docker.io/library/redis:latest

the controller will see the change and then import the redis image

k3s ctr images list | grep "redis"

Testing

Linked Issues

https://github.com/k3s-io/k3s/issues/9759

User-Facing Change

Users can now auto import images to containerd by just throwing the image in the agent/images folder while k3s is running

Further Comments

We probably shouldn't do it in this PR, but it would be nice if whatever we used for watching image file changes was generic, and could be reused by the deploy controller - right now it just re-scans everything once a minute:
https://github.com/k3s-io/k3s/blob/master/pkg/deploy/controller.go#L85-L100

Another request - we get INFO-level log messages when images from a file are imported - we should probably get INFO-level messages when the file goes away and the labels are removed.
INFO[0594] Pulling images from /var/lib/rancher/k3s/agent/images/bb.txt
INFO[0594] Pulling image docker.io/library/busybox:latest
INFO[0594] Imported docker.io/library/busybox:latest
INFO[0594] Imported images from /var/lib/rancher/k3s/agent/images/bb.txt in 700.488292ms

@brandond the file when gets removed/renamed, it's only removed the auto import label, should we remove also the pinned labels?

Also, and this is probably a dumb edge case, but the label values may need to be quoted or escaped when filtering:
root@k3s-server-1:/# echo docker.io/library/busybox:1.36.0 > '/var/lib/rancher/k3s/agent/images/💯.txt'

root@k3s-server-1:/# echo docker.io/library/busybox:1.36.1 > '/var/lib/rancher/k3s/agent/images/!!!.txt'

root@k3s-server-1:/# ctr image ls | grep k3s
docker.io/library/busybox:1.36.0                                                                                application/vnd.docker.distribution.manifest.list.v2+json sha256:9e2bbca079387d7965c3a9cee6d0c53f4f4e63ff7637877a83c4c05f2a666112 2.5 MiB   linux/386,linux/amd64,linux/arm/v5,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/mips64le,linux/ppc64le,linux/riscv64,linux/s390x io.cattle.k3s.import=💯.txt,io.cattle.k3s.pinned=pinned,io.cri-containerd.image=managed,io.cri-containerd.pinned=pinned
docker.io/library/busybox:1.36.1                                                                                application/vnd.oci.image.index.v1+json                   sha256:c230832bd3b0be59a6c47ed64294f9ce71e91b327957920b6929a0caa8353140 2.1 MiB   linux/386,linux/amd64,linux/arm/v5,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/mips64le,linux/ppc64le,linux/riscv64,linux/s390x io.cattle.k3s.import=!!!.txt,io.cattle.k3s.pinned=pinned,io.cri-containerd.image=managed,io.cri-containerd.pinned=pinned

root@k3s-server-1:/# rm /var/lib/rancher/k3s/agent/images/*

root@k3s-server-1:/# ctr image ls | grep k3s
docker.io/library/busybox:1.36.0                                                                                application/vnd.docker.distribution.manifest.list.v2+json sha256:9e2bbca079387d7965c3a9cee6d0c53f4f4e63ff7637877a83c4c05f2a666112 2.5 MiB   linux/386,linux/amd64,linux/arm/v5,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/mips64le,linux/ppc64le,linux/riscv64,linux/s390x io.cattle.k3s.pinned=pinned,io.cri-containerd.image=managed,io.cri-containerd.pinned=pinned
docker.io/library/busybox:1.36.1                                                                                application/vnd.oci.image.index.v1+json                   sha256:c230832bd3b0be59a6c47ed64294f9ce71e91b327957920b6929a0caa8353140 2.1 MiB   linux/386,linux/amd64,linux/arm/v5,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/mips64le,linux/ppc64le,linux/riscv64,linux/s390x io.cattle.k3s.import=!!!.txt,io.cattle.k3s.pinned=pinned,io.cri-containerd.image=managed,io.cri-containerd.pinned=pinned

logs:
INFO[0407] Pulling images from /var/lib/rancher/k3s/agent/images/💯.txt
INFO[0407] Pulling image docker.io/library/busybox:1.36.0
INFO[0409] Imported docker.io/library/busybox:1.36.0
INFO[0409] Imported images from /var/lib/rancher/k3s/agent/images/💯.txt in 1.699184924s
INFO[0414] Pulling images from /var/lib/rancher/k3s/agent/images/!!!.txt
INFO[0414] Pulling image docker.io/library/busybox:1.36.1
INFO[0416] Imported docker.io/library/busybox:1.36.1
INFO[0416] Imported images from /var/lib/rancher/k3s/agent/images/!!!.txt in 1.741612489s
I1114 21:52:11.709701      27 range_allocator.go:241] "Successfully synced" key="k3s-server-1"
ERRO[0433] Failed to clear auto import label for /var/lib/rancher/k3s/agent/images/!!!.txt: filters: parse error: [labels."io.cattle.k3s.import" >|=|< =!!!.txt]: unsupported operator "==!!!": invalid argument: invalid argument

I feel like we should remove the import label when the file is removed, but only remove the pins on restart. Previous releases did not unpin images when the files were removed, and users may be relying on that behavior to ensure that their images don't get pruned even if they delete the tarball after k3s starts.
We also say in the docs that they're pinned, and do not mention that the files need to remain present.
https://docs.k3s.io/installation/registry-mirror#enabling-the-distributed-oci-registry-mirror

Images imported via air-gap image tar files are pinned in containerd to ensure that they remain available and are not pruned by Kubelet garbage collection.

I saw one edge case that could happen
If the user creates a file with docker.io/library/busybox:1.36.1 and then create another one with the same image.
the newer file is going to overwrite the k3sAutoImportLabel since with that we use to filter the file that was imported.

yeah I noticed the same, I don't think we can make the label multi-valued.
I guess I've forgotten what we're using that label for, if we're not un-pinning the images when the file is removed, probably we don't need it at all?

Yeah, I agree, we used the label to see what image was imported by the image watcher, but we don't really need it.

I tested with two .tar.gz files
The first one with 606M:
This one works nice with one second of delay.
The second one with 2.0G:
This one probably need two seconds? but I think it depends of the machine disk (My server has a Nvme). Also, this one was imported two times, because we still got events after 1 sec of delay.
INFO[1167] Importing images from /var/lib/rancher/k3s/agent/images/test.tar.gz
INFO[1272] Imported docker.io/library/alpine:latest
INFO[1272] Imported docker.io/library/ruby:latest
INFO[1272] Imported docker.io/library/memcached:latest
INFO[1272] Imported docker.io/library/httpd:latest
INFO[1272] Imported docker.io/library/docker:latest
INFO[1272] Imported docker.io/library/sonarqube:latest
INFO[1272] Imported docker.io/rancher/mirrored-library-busybox:1.37.0
INFO[1272] Imported docker.io/library/busybox:latest
INFO[1272] Imported docker.io/rancher/mirrored-library-busybox:1.36.1
INFO[1272] Imported docker.io/library/golang:latest
INFO[1272] Imported docker.io/library/wordpress:latest
INFO[1272] Imported docker.io/library/rabbitmq:latest
INFO[1272] Imported docker.io/library/influxdb:latest
INFO[1272] Imported docker.io/library/ubuntu:latest
INFO[1272] Imported docker.io/library/nginx:latest
INFO[1272] Imported images from /var/lib/rancher/k3s/agent/images/test.tar.gz in 1m44.515602662s

Looking better!
root@k3s-server-1:/# echo -e 'docker.io/rancher/mirrored-library-busybox:1.36.1\ndocker.io/rancher/mirrored-library-busybox:1.37.0' >> /var/lib/rancher/k3s/agent/images/busybox.txt

root@k3s-server-1:/# echo > /var/lib/rancher/k3s/agent/images/busybox.txt

root@k3s-server-1:/# rm /var/lib/rancher/k3s/agent/images/busybox.txt

First step looks good:
INFO[0215] Pulling images from /var/lib/rancher/k3s/agent/images/busybox.txt
INFO[0215] Pulling image docker.io/rancher/mirrored-library-busybox:1.36.1
INFO[0217] Pulling image docker.io/rancher/mirrored-library-busybox:1.37.0
INFO[0219] Imported docker.io/rancher/mirrored-library-busybox:1.36.1
INFO[0219] Imported docker.io/rancher/mirrored-library-busybox:1.37.0
INFO[0219] Imported images from /var/lib/rancher/k3s/agent/images/busybox.txt in 3.497094926s

Next one not so much - it should probably skip empty lines or maybe just anything that can't be parsed as a valid reference string.
INFO[0246] Pulling images from /var/lib/rancher/k3s/agent/images/busybox.txt
time="2024-11-27T20:11:59.612637749Z" level=error msg="ImageStatus for \"\" failed" error="can not resolve \"\" locally: ambiguous digest string"
INFO[0246] Pulling image
time="2024-11-27T20:11:59.612956980Z" level=info msg="PullImage \"\""
time="2024-11-27T20:11:59.613015025Z" level=error msg="PullImage \"\" failed" error="failed to parse image reference \"\": invalid reference format"
ERRO[0246] Failed to import /var/lib/rancher/k3s/agent/images/busybox.txt: failed to pull images from /var/lib/rancher/k3s/agent/images/busybox.txt: rpc error: code = Unknown desc = failed to parse image reference "": invalid reference format
ERRO[0246] Failed to process image event: failed to pull images from /var/lib/rancher/k3s/agent/images/busybox.txt: rpc error: code = Unknown desc = failed to parse image reference "": invalid reference format

Final step is OK
DEBU[0299] File removed from the image watcher controller: /var/lib/rancher/k3s/agent/images/busybox.txt


Put Hosted-Web-App back in main repo release/master branch?

It appears that hosted-web-app has been removed from the main repo.
I see that there is a new branch called hosted-app-2017.
The world needs the ability to make hosted web apps simply.
See for instance:
https://stackoverflow.com/questions/48476685/how-to-make-a-simple-cordova-hosted-webapp-that-retrieves-content-from-a-remote
It would be great if you could add this branch back into the main repo (first) and add some documentation to it (second) so that the rest of us can use it.
Meanwhile, going to attempt to use the hosted-app-2017 branch, but not sure what state it's in.
Thanks for your help in creating this repo.
Thanks

Agreed.  I'm trying to follow Microsoft's Run Your Hosted Web App in an Apache Cordova App guide which links to and is intended to be used with this repo, but without the hosted-web-app folder the content doesn't match up.
Did I stumble upon some outdated documentation or is this mismatch a legitimate issue?
Thanks!

I worked on the docs as a contractor to Microsoft more than a year ago. I've not touched them since.  If I remember correctly, I updated the source code as I updated the doc, but I no longer have those files. All I can suggest is that you look back in history to find it.

I just submitted a PR to put those files back in to the repo and asked one of my colleagues to look at it.

Hell yeah!! Thanks @jwargo -- very much appreciate your work on the docs and being so proactive about helping us out here!!

This is merged back into master, now. Thanks all!


Fixed issue#1: pretrained model selection bug

Removed the select field for previous networks snapshots from forms.py, due to wtforms validation issues. Then included code in views.py and new.html, to display the select fields for previous networks snapshots in html and for validating these fields. These changes fix the pretrained model selection bug. Also these changes ensure the display of error message, incase user selects the job that doesn't exists (this scenario happens when a user selects the job and at the same if another user deletes this job)
fix to the following issue: when validation fails, the selected radio buttons in "previous networks" tab remains selected but the select input field and customize button beside the selected previous network is in hidden status, which is wrong. same issue exists in standard networks tab. Modified new.html to ensure that select field and customize button beside selected radio button will be visible even when validation fails.
Modified the test case related to pretrained model selection.
Included the changes to display the selected "pretrained model" details in show.html file

Thanks for the great work, @Sravan2j! Everything works great, I just added a few nitpicky comments.

Looks great, thanks for the fixes! Just squash all that into one commit and I'll merge it in.


Disable / Configure Automatic Security Binding

I have a micro-service using this library for Discovery.  I don't want to secure application using Single Sign On.
https://cloud.spring.io/spring-cloud-cloudfoundry/1.1.x/
Is it possible to disable or configure the security auto-configuration?

@andresoviedo Please clarify what client dependencies you are using, showing a maven or gradle snippet if possible. It's not clear whether you are using org.springframework.cloud:spring-cloud-cloudfoundry, org.springframework.cloud:spring-cloud-cloudfoundry-connector, or possibly io.pivotal.spring.cloud:spring-cloud-services-*.

Hi.

@andresoviedo It's not clear to me how Spring Security is getting pulled in with the dependencies above. However, given that Security is getting pulled in, the solution you posted above is the best way to work around the issue you're having.
As an example, the Spring Cloud Services client libraries do depend on Spring Security, and recommend a similar approach for applications that don't want the default Security applied to the application that uses the SCS client libs.
As Spring Cloud Connectors is not being used, I'm going to close this issue as not related to this project.


River on worldmap but not heightmap (CS2)

This is a picture from my worldmap:

And here is the same area found in the heightmap:

I tried experimenting with different zoom levels and various other configuration options, especially in regards to smoothing and littoral, but I can't seem to find out why these two maps are rendering the rivers differently. The location I am generating is here:
42°27'10.7"N 75°03'47.3"W
These are my current settings:

I found this to be consistent through all areas that the highmap overlaps with the worldmap. Any ideas on what might be causing this?

There are two types of water bodies in Mapbox: water and water ways. The narrow part is water way, and the wide part is water. Even the same location changes depending on the zoom level.
Heightmap and WorldMap are generated from different zoom levels to save on API requests, and that might be the cause. I plan to improve this in future updates.

No worries, thanks for looking into it! It just makes actually mapping the rivers a little more difficult but not undoable. I greatly appreciate this service, it's saved me a lot of time and has been super helpful.


Server Crash on Lootr Chest Interact

1.20.1 Forge
Server crashes when interacting with any lootr chest
crash-2024-04-15_15.49.50-server.txt
crash-2024-04-15_16.07.37-server.txt
latest.log
Log is for the latest crash

Please check #172 for solutions to this error; this is actually an issue with Vanilla minecraft, where treasure and exploration maps are struggling to locate targets and end up causing chunk generation on the main thread.
This can be solved with the mod "Async Locator".


Always codesign when running native Xcode tests in CI

macOS 14 added new requirements that sandbox apps should be codesigned to avoid this popup:

Waiting for this UI caused macOS tests to fail on macOS 14 because the test runner forced codesigning off.  The chromium bots have the codesigning certs on them b/326078082#comment4, so always run xcodebuild test with codesigning.
On this PR:
Passing plugin_test_macos
Passing native_ui_tests_macos
Fixes framework part of https://github.com/flutter/flutter/issues/149264. I still need to investigate a fix for packages macos_platform_tests test.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] I followed the breaking change policy and added Data Driven Fixes where supported.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Unfortunately, looks like this doesn't fix https://github.com/flutter/flutter/issues/149264
I ran the tests against your PR and tests still timeout with Test runner never began executing tests after launching
Tried it twice:
https://ci.chromium.org/ui/p/flutter/builders/staging.shadow/Mac plugin_test_macos/4/infra
https://ci.chromium.org/ui/p/flutter/builders/staging.shadow/Mac plugin_test_macos/5/infra

Trying again with Automatic style codesigning.

Closing.


Remove non-breaking spaces from VAT ID

Hi,
users sometimes copy and paste VAT ids from various resources using various formatting. The validation method already removes common separators.
This adds non-breaking space removal which is sometimes used as a number separator. It removes both Unicode and ISO-8859-x representation.
Though it might be handy for other users that's why I'm submitting this PR.
Thank you!

Thank you! :)


Implement Accounts service and resource ownership

Implement the v2alpha public API Accounts service, as well as the relevant methods that involve modifying resource ownership.
The initial version for Milestone 1B need not depend on OpenID Connect. Instead, another identity type (e.g. simple username/password) can be added for creating admin accounts for testing, with the Accounts service not being exposed outside the cluster.

Completed in #409.


Random exceptions when calling ToastNotificationManager.CreateToastNotifier()

Describe the bug
Occassionally (once every 10..20 execs) I am getting an exception when creating a notifier object using the following code:
var notifier = ToastNotificationManagerCompat.CreateToastNotifier();
var toastSetting = notifier.Setting;
_pluginSupported = toastSetting == NotificationSetting.Enabled;

The code executes in a WinUI Desktop app that is pakaged using a .wapproj.
The above code executes in the UI thread and is there to find out whether the user has disabled notifications in Windows Settings.
The exception is:
Object is not connected to server (0x800401FD (CO_E_OBJNOTCONNECTED))

at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|20_0(Int32 hr)
at ABI.Windows.UI.Notifications.IToastNotificationManagerStaticsMethods.CreateToastNotifier(IObjectReference _obj)
at Windows.UI.Notifications.ToastNotificationManager.CreateToastNotifier()
at CommunityToolkit.WinUI.Notifications.ToastNotificationManagerCompat.CreateToastNotifier()
at SyncFolder.ViewModel.MirrorCopyOptionsViewModel.<InitializeExistingAsync>d__307.MoveNext() in C:\Users\joshu\Projecten\Software\Eigen\trunk\SyncFolder.2\SyncFolder\ViewModel\MirrorCopyOptionsViewModel.cs:line 1153

I am using CommunityToolkit.WinUI.Notifications, Version=<IP_ADDRESS>.
The error often disappears when re-compiling / re-deploying the app.
This app must become eventually an update of an already existing UWP desktop bridge app where the same code and concept is being used, and where I have never seen this issue.
Steps to reproduce the bug
Add the above code in a WinUI desktop app.
Expected behavior
No response
Screenshots
No response
NuGet package version
1.0.0
Packaging type
Packaged (MSIX)
Windows version
Windows 10 version 21H2 (19044, November 2021 Update)
IDE
Visual Studio 2022
Additional context
No response

I get also random exceptions of the same type but with another WinRT call: Windows.Storage.Search.QueryOptions..ctor
Application: Waf Music Manager

Source: https://github.com/jbe2277/musicmanager/releases/tag/v3.0.0
Platform: .NET 6 / WPF application

Environment:

Windows 10 21H2

So far I have not found a way to reproduce it. But I see it occasionally.
Exception:
System.Runtime.InteropServices.COMException (0x800401FD): Objekt ist nicht mit dem Server verbunden. (0x800401FD (CO_E_OBJNOTCONNECTED))
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|20_0(Int32 hr)
   at Windows.Storage.Search.QueryOptions._IQueryOptionsFactory.CreateCommonFileQuery(CommonFileQuery query, IEnumerable`1 fileTypeFilter)
   at Windows.Storage.Search.QueryOptions.<>c__DisplayClass16_0.<.ctor>b__0()
   at Windows.Storage.Search.QueryOptions..ctor(CommonFileQuery query, IEnumerable`1 fileTypeFilter)
   at Waf.MusicManager.Presentation.Services.FileService.GetFiles(String directory, Boolean deep, String userSearchFilter, String applicationSearchFilter, CancellationToken cancellation)
   at Waf.MusicManager.Applications.Controllers.ManagerController.UpdateMusicFiles(Boolean deep)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run()
   at Waf.MusicManager.Presentation.App.Main()


FM to XML, backslashes are not escaped

Backslashes are not escaped completely when converting from fm objects to xml:
Here are some examples of how backslashes are halved with every iteration of converting to xml and then back to FM:

I sent a pull request that gracefully solves this issue. It was a problem with setting a var from a shell script echo in prettifyXML.

Thanks for the pull request. That seems to fix this well.


[2.12.0] Ensure compatibility with admin credential changes in 2.12.0 release

Is your feature request related to a problem?
Starting in 2.12.0, security demo config install script will require an initial admin password. opensearch-php CI should work with these new changes
What solution would you like?
A clear and concise description of what you want to happen.
What alternatives have you considered?
A clear and concise description of any alternative solutions or features you've considered.
Do you have any additional context?
Add any other context or screenshots about the feature request here.

Draft PR: #234

Closed via #234


Assign a Unicode symbol to a shortcut.

Inspired by https://github.com/microsoft/PowerToys/issues/2668
The power toys already offer assignment of some key to a shortcut, maybe you can just add more customization and allow to use Unicode symbols with the shortcut so we can create our own keyboard layouts. This is specially useful for typing accented letters, for example in French.
The idea is following - you press alt key and e and it gives you é, alt+r becomes è, alt+w becomes ê, alt+c becomes ç, etc.

good idea, Tracked in #3826