feat: update Basis Theory dependencies

Description
Updates Basis Theory dependencies to converge interfaces at the SDK

Testing required outside of automated testing?

[x] Not Applicable

Screenshots (if appropriate):

[x] Not Applicable

Rollback / Rollforward Procedure

[x] Roll Forward
[ ] Roll Back

Reviewer Checklist

[ ] Description of Change
[ ] Description of outside testing if applicable.
[ ] Description of Roll Forward / Backward Procedure
[ ] Documentation updated for Change

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Include links

Links
Main
SWGEmu Forums
Mantis Bug Tracker
Gerrit Code Review
Mod The Galaxy
SWGEmu Server Stats
Dev
SWGEmu-Community-Contributions
Scrapbookv51
ANH Wiki
Convo Editor
String Search Tool
Netyoda's Creature Database
Previous FastTrack VM Image
Fun
Commit Logs From Last Night
A Girl and her Wookiee
Greep
Star Wars Weather Forecast

All in yoda now.


Very Low Contrast in comments in compare view (source control)

First of all, thanks for an amazing theme!
I'd love to see if it were possible to get a better contrast for diff's in comments.
Here with javascript

And this is C#

Comments might not be the most important thing in a compare view but it should at least be possible to see the changes at all 😄

Sorry about it, but the comments background color can't change, you can change the theme background
Add this code snippet in your 'settings.json' file
"workbench.experimental.colorCustomizations":{
    "activeTabBackground": "#282c34",
    "activityBarBackground":"#282c34",
    "editorGroupBackground": "#282c34",
    "sideBarBackground": "#282c34",
    "editorBackground": "the background color you want"
  }

thanks for the quick response and the tip!

@tolu
You can see this issue https://github.com/Binaryify/OneDark-Pro/issues/52#issuecomment-300348666

Fantastic, you made my day, thanks @binaryify!!!

@tolu
The new feature will come next version, but you can edit the 'setting.json' before the update come


Update README.md

Made a minor commit so sample can be picked up by https://docs.microsoft.com/en-us/samples/browse/

Closing this PR as we are archiving this sample. Please see https://github.com/microsoftgraph/msgraph-training-android for an Android sample.


Fix: Sia Buttons activate when text is clicked but not when button is clicked

Before:

After:

Fixing the broken tests....

Codecov Report

Merging #130 into master will not change coverage.
The diff coverage is 50%.

@@           Coverage Diff           @@
##           master     #130   +/-   ##
=======================================
  Coverage   60.96%   60.96%
=======================================
  Files          94       94
  Lines        1414     1414
=======================================
  Hits          862      862
  Misses        552      552

Impacted Files
Coverage Δ

src/components/elements/MenuLink.js
80% <ø> (ø)
:arrow_up:

src/components/TopNav/Preferences.js
66.66% <ø> (ø)
:arrow_up:

src/components/TopNav/NavMenu.js
86.66% <50%> (ø)
:arrow_up:

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 5ff23e8...8e7bc00. Read the comment docs.

Coverage remained the same at 57.034% when pulling 8e7bc00864afd453979a76a453e34496b50a9994 on macrobug:ux/menu-click-area into 5ff23e8bbfee0e49072c62a2e76fbbdc5390ac49 on Azure:master.


Can't cast from string to timestamp:

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I am trying to work with timestamps -- specifically converting data from csv, etc to timestamps
Describe the solution you'd like
I would like the cast kernel to support converting StringArray to TimestampNanosecondArray (and the other date / time / timestamp related types)
I would like the following Rust code to compile and produce a String array with value "1970-01-01 00:00:00.000000100":
Reproducer:
    let array = TimestampNanosecondArray::from(vec![100]);
    let array: ArrayRef = Arc::new(array);
    // array[0]: "1970-01-01 00:00:00.000000100"
    println!("array[0]: {:?}", array_value_to_string(&array, 0).unwrap());

    // cast to string array results in an error:
    // thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: CastError("Casting from Timestamp(Nanosecond, None) to Utf8 not supported")', src/main.rs:26:54
    let string_array = cast(&array, &DataType::Utf8).unwrap();

Additional context
The code exists in arrow to convert strings to timestamps (string_to_timestamp_nanos) and timestamps to strings, but the code is not connected to the cast kernel
Thus, it is not easy to convert an array of strings to an array of timestamps

Hello, Thanks for the awesome description.
I spent sometime reading through the code base to implement this cast.

one way to would be have a helper cast_timestamp_to_string helper which iterates over each of elements and calls array_value_to_string  and collect result and into it into GenericStringArray

or one could replicate what as_datetime does in the cast.rs but limit it to Timestamp(_,_) type

or one could just cast the array into a PrimitiveArray and call value_as_time and push into a Vec<String> and into a GenericStringArray (This seem to be the simplest approch but I am not sure how to bound it to ArrowTimestampType only since value_as_datetime expect to satisfy ArrowNumericType also)

I tried 2 and 3 but still wasnt sure.

Thanks @sum12 !  think the trait you want is ArrowTemporalType https://docs.rs/arrow/5.1.0/arrow/datatypes/trait.ArrowTemporalType.html
So then you could write a function like:
fn temporal_array_to_string<T>(array: &PrimitiveArray<T>) -> Result<ArrayRef>
where
    T: ArrowTemporalType,
{
  //  ... call array.value_as_datetime  here as appropriate
}

And then to call it you might do something like:
let timestamp_array = array.as_any().downcast_ref::<TimestampNanosecondArray>().unwrap();
temporal_array_to_string(timestamp_array)

I also updated the description to be consistent (the example code and description said the opposite)


Branch 1.5

Would you mind closing this PR? Doesn't seem like you meant to send it.

Can one of the admins verify this patch?

Can one of the admins verify this patch?


DefaultResultSetHandler createByConstructorSignature

it requires a full set match with resultSet and constructor, but  possibly only have a constructor with partial properties.
for this line, foundValues = value != null || foundValues,
possibly certain column of resultset is null value.  in this case, it will not be able to create a object.

Regarding 1, do you have any suggestions for the implementation?
We may need a repro for 2.

Regarding 1, if someone comes up with a reliable logic, please create a new issue.
Regarding 2, if it's a bug, please fill a bug report form or provide a repro.
Closing. Not enough information to proceed.


Volume level reset to 30 after restart

Hi, I have an issue with volume: I read somewhere that Phoniebox remembers last audio level after restart.
But no matter what value I setup audio level it‘s always reset to 30 after rebooting.

Hi,
I am facing the same issue. Interestingly the boot sound seems to be at a higher volume.
Best regards
Tom

Same here volume 30% after reboot

I changed in both configs the volume i require and seems to stay at that level.
In: sudo nano /etc/mopidy/mopidy.conf
I changed:
[audio]
output = alsasink
mixer_volume = 70
And in: sudo nano ~/.config/mopidy/mopidy.conf
[audio]
#mixer = software
mixer_volume = 70
output = alsasink
#buffer_time =
Looks like these values are not updated by the software.

Seems to work! Somehow I still have one strange behavior that I thought would be related to the volume. The first card that I am swiping does not play, only if I swipe a second different one it work. After that is runs all fine.

I found that swiping the first card is not the issue. The boot sound just comes to early, if I wait longer with the first swipe after the restart it works fine. So it seems the boot ready sound is not waiting for everything that is required for playing music.

@Prutsium: That means after every reboot volume starts at 70% no matter what value you had set when powering off?
So the issue basically still remains and you just found a workaround to change the always-the-same start up volume level?
What I did was to manually change the (maxed) volume dial that’s attached to my speakers so 30 percent is not as loud anymore.
@TM4G1: with my Phoniebox it takes 25 seconds after startup sound until it reacts to the first swipe.

Having the same issue with the spotify version.

+1


Missing opcode: ExternalOp

Stub since it is purely a hint towards the compiler

Yes, this is a no-op that can be ignored.

Implemented in ee28c8e38d5030bd13e58f3395ac6d9bc0867770


Warning re single instance VMs confusing

The article contains a warning regarding the use of single instance virtual machines and availability sets that begins "Avoid leaving a single instance virtual machine in an availability set by itself...."
This warning is a bit confusing as it seems to suggest that putting a single instance VM into an availability set is somehow worse than having a single instance VM in no availability set at all. My understanding is that it is the fact the VM is a single instance that is important and not whether it is in an AVS or not; putting a single instance VM into an AVS by itself makes no difference from a reliability or SLA point of view.
As it's not possible to add or remove a VM from an availability set after it is created, it normally makes sense to create an AVS for a single instance VM even if you do not plan to create multiple instances as there is no harm in doing so and it may come in useful if plans change.

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

ID: 948b29e3-d488-0a0e-89c7-42849a93522d
Version Independent ID: 8c986086-9343-4b99-ae53-f4fd1159d4f8
Content: Manage the availability of Windows VMs in Azure - Azure Windows Virtual Machines
Content Source: articles/virtual-machines/windows/manage-availability.md
Service: virtual-machines-windows
GitHub Login: @cynthn
Microsoft Alias: cynthn

@mdi-db Thanks for the Feedback! I am assigning the Issue to content author to add comments on this.

@cynthn Can you please look into this and add your comments on this doc feedback.


Yet another test file in data/ to be cleaned up.

This should fail on Ubuntu.

The Ubuntu test fails with
2022-11-14T00:13:13.9291441Z build/test/net/sourceforge/kolmafia/CustomScriptTest.class:83 | org.opentest4j.AssertionFailedError: test_finally_return.ash output does not match:  ==> expected: <You gave me 50 Good enough! I received 50 You gave me 100 I prefer 101 I received 101 You gave me 200 No way!> but was: <You gave me 50 Good enough! I received 50 You gave me 100 I prefer 101 I received 101 You gave me 200 No way! I received 0>
Running on Windows the final "I received 0" is not there.  I'll leave this out there for a bit in case anyone who runs js on Ubuntu wants to look at it.

Test is no longer failing so...


The

#
The

Steps to reproduce the behavior (Required)

CREATE TABLE '...'
INSERT INTO '....'
SELECT  '....'

Expected behavior (Required)
Real behavior (Required)
StarRocks version (Required)

You can get the StarRocks version by executing SQL select current_version()

an empty issue.


Check failed: ret == 0 (11 vs. 0)Thread tf_data_private_threadpool creation via pthread_create() failed. Aborted (core dumped)

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.15.0.post1
Custom code
Yes
OS platform and distribution
Rocky Linux 8.9
Mobile device
No response
Python version
3.10.12
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
<IP_ADDRESS>
GPU model and memory
NVIDIA A100-SXM4-80GB
Current behavior?
I am trying to run a simple denoising autoencoder. my training data and label data are 900 samples of healpy maps with nside 64 resolution, loaded as numpy array. After normalising the maps, I used tf.data.Dataset.from_tensor_slices, to create dataset. when I used random noise to create these maps and ran on jupyter notebook, although took ages to initiate training after doing model.fit(), but it did run and produced some result. knowing that the model works, I tried to run on GPU with real data. this is where the issue started.  it shows the following error: Check failed: ret == 0 (11 vs. 0)Thread tf_data_private_threadpool creation via pthread_create() failed. Aborted (core dumped), and the process stops.
Standalone code to reproduce the issue
Here is a colab link:

https://colab.research.google.com/drive/1odbf3gQT9h-DI6zdh5e1llmG9zhjY45l?usp=sharing

It runs on colab. but it doesn't run in the terminal.

Relevant log output
2024-03-27 12:14:07.288975: F external/local_tsl/tsl/platform/default/env.cc:74] Check failed: ret == 0 (11 vs. 0)Thread tf_data_private_threadpool creation via pthread_create() failed.
Aborted (core dumped)

@Wasim04,
I am trying to execute the mentioned code with the GPU and CPU environments and the time taken to execute the code is more than expected. Could you please allow some duration to analyse the issue and provide the update on the same. Thank you!

@tilakrayal
Thanks for your response. Please take your time.

@tilakrayal
Hi, just wondering if you had a chance to look into this issue?

Same issue here but not with tensorflow - the error seem to come from jax==0.4.30


Add Binomial theorem calculator

Is your feature request related to a problem? Please describe.
Add the Binomial theorem calculator in the algebra section.
The definition should be unique means u can see the definition from other websites but do not copy it directly. And also add the formulas list at the end of the calculator.
The calculator must be binomial expansion

Hi @Amit366, I want to work on this issue under JWoC.

Ok

@Trisha-tech update?

I want to work on this issue under JWOC.


Better error classification in clients/feeder

To reflect error message in the response first I have made a struct of errorResponse It consist of two members, Code and Message. first res.body will be decoded if there is an error . after that message from decoded res.body will be returned.
Fixed #1888

@RuneRogue we already have implementation in place in one of the PR-s

@RuneRogue we already have implementation in place in one of the PR-s

Okay, Is there anything to work on?

Okay, Is there anything to work on?

I'm going to mark good first issues that you can work on after next Tuesday. Before implementing fixes, please ping me in the issue you would like to work on for approval first.


[MM-47896] E2E tests for GM and Channel name collision

Summary

Fixes e2e tests and adds an extra test for GM name collision.
Fixed existing tests:

MM-T884_2

Added a new test:

MM-T884_3

Ticket Link

MM-47896
Related Pull Requests

Has a server PR https://github.com/mattermost/mattermost-server/pull/21639

Release Note

NONE

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

@jgilliam17 This addresses the E2E failures in https://github.com/mattermost/mattermost-server/pull/21639, and also adds another test to cover the new case.

/e2e-test

Successfully triggered E2E testing!
GitLab pipeline | Test dashboard

Thanks @mylonsuren
New tests look good and passing on the E2E report
I added a PR to update this test case in Zephyr to reflect new changes.

Added do not merge label until related PR is merged.

@saturninoabril Gentle ping to review this when you get a chance 🙂

Hello Mylon, sorry for the delay. I'll take a look.

/update-branch

Test flow looks good to me, except for properly using queries for this PR and for future reference.
Whenever possible, please use the queries being used for Accessibility. See our docs on what queries to use in order - https://developers.mattermost.com/contribute/more-info/webapp/e2e/which-query-to-use/. We're not fully compliant there yet but that's what we're aiming for.
The idea behind is to test the way our application is used, where in most cases users (human or accessibility devices) interact with text and not via element ID or CSS locators. Doing so will give us more confidence in our testing.

Thanks for the feedback @saturninoabril, I'll keep this in mind in when writing future E2Es! I've made the changes you requested, so should be good for another review 😄

/e2e-test

Successfully triggered E2E testing!
GitLab pipeline | Test dashboard

/update-branch

The daily test is failing after this was merged since the corresponding server PR is still pending review.


onedrive for business: fails to copy file with specific file name

What is the problem you are having with rclone?
Failed to copy: generalException: General exception while processing

Fails to copy a file named "2016_06_01_000002_create_oauth_access_tokens_table.php"
If I change the file name to "2016_06_01_000002_create_oauth_xxxxxx_tokens_table.php" it works with no problems (changing "access" to "xxxxxx")
What is your rclone version (output from rclone version)
Tested with 1.45 stable and the latest beta as follows:
rclone v1.45-037-gdf1faa9a-beta
os/arch: windows/amd64
go version: go1.11
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Windows 10 64 bit
Which cloud storage system are you using? (eg Google Drive)
OneDrive Business
The command you were trying to run (eg rclone copy /tmp remote:tmp)
./rclone copy "d:\2016_06_01_000002_create_oauth_access_tokens_table.php" onedrive:"" -vv

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)
2018/12/23 02:19:34 DEBUG : rclone: Version "v1.45-037-gdf1faa9a-beta" starting with parameters ["D:\\Apps\\rclone-v1.45-037-gdf1faa9a-beta-windows-amd64\\rclone.exe" "copy" "d:\\2016_06_01_000002_create_oauth_access_tokens_table.php" "onedrive:" "-vv"]
2018/12/23 02:19:34 DEBUG : Using config file from "C:\\Users\\masou\\.config\\rclone\\rclone.conf"
2018/12/23 02:19:34 DEBUG : One drive root '': Token expired but no uploads in progress - doing nothing
2018/12/23 02:19:37 DEBUG : Keeping previous permissions for config file: -rw-rw-rw-
2018/12/23 02:19:37 DEBUG : onedrive: Saved new token in config file
2018/12/23 02:19:38 DEBUG : 2016_06_01_000002_create_oauth_access_tokens_table.php: Couldn't find file - need to transfer
2018/12/23 02:19:38 DEBUG : 2016_06_01_000002_create_oauth_access_tokens_table.php: Starting multipart upload
2018/12/23 02:19:39 DEBUG : 2016_06_01_000002_create_oauth_access_tokens_table.php: Uploading segment 0/925 size 925
2018/12/23 02:19:39 DEBUG : 2016_06_01_000002_create_oauth_access_tokens_table.php: Cancelling multipart upload: generalException: General exception while processing
2018/12/23 02:19:39 NOTICE: 2016_06_01_000002_create_oauth_access_tokens_table.php: Failed to cancel multipart upload: generalException: General exception while processing
2018/12/23 02:19:39 ERROR : 2016_06_01_000002_create_oauth_access_tokens_table.php: Failed to copy: generalException: General exception while processing
2018/12/23 02:19:39 ERROR : Attempt 1/3 failed with 1 errors and: generalException: General exception while processing
2018/12/23 02:19:39 DEBUG : 2016_06_01_000002_create_oauth_access_tokens_table.php: Couldn't find file - need to transfer
2018/12/23 02:19:39 DEBUG : 2016_06_01_000002_create_oauth_access_tokens_table.php: Starting multipart upload
2018/12/23 02:19:41 DEBUG : 2016_06_01_000002_create_oauth_access_tokens_table.php: Uploading segment 0/925 size 925
2018/12/23 02:19:41 DEBUG : 2016_06_01_000002_create_oauth_access_tokens_table.php: Cancelling multipart upload: generalException: General exception while processing
2018/12/23 02:19:41 NOTICE: 2016_06_01_000002_create_oauth_access_tokens_table.php: Failed to cancel multipart upload: generalException: General exception while processing
2018/12/23 02:19:41 ERROR : 2016_06_01_000002_create_oauth_access_tokens_table.php: Failed to copy: generalException: General exception while processing
2018/12/23 02:19:41 ERROR : Attempt 2/3 failed with 1 errors and: generalException: General exception while processing
2018/12/23 02:19:41 DEBUG : 2016_06_01_000002_create_oauth_access_tokens_table.php: Couldn't find file - need to transfer
2018/12/23 02:19:41 DEBUG : 2016_06_01_000002_create_oauth_access_tokens_table.php: Starting multipart upload
2018/12/23 02:19:42 DEBUG : 2016_06_01_000002_create_oauth_access_tokens_table.php: Uploading segment 0/925 size 925
2018/12/23 02:19:42 DEBUG : 2016_06_01_000002_create_oauth_access_tokens_table.php: Cancelling multipart upload: generalException: General exception while processing
2018/12/23 02:19:42 NOTICE: 2016_06_01_000002_create_oauth_access_tokens_table.php: Failed to cancel multipart upload: generalException: General exception while processing
2018/12/23 02:19:42 ERROR : 2016_06_01_000002_create_oauth_access_tokens_table.php: Failed to copy: generalException: General exception while processing
2018/12/23 02:19:42 ERROR : Attempt 3/3 failed with 1 errors and: generalException: General exception while processing
2018/12/23 02:19:42 Failed to copy: generalException: General exception while processing

BTW, I can manually upload the file from the OneDrive Business web portal, it happens only with the API.

I've been able to reproduce this. Since there's a similar weird problem with OneDrive Personal, I tend to think it's some bug in their backend. Also, the error is a response for the request PUT /personal/XXX/_api/v2.0/drives/XXX/items/XXX/uploadSession?guid=... whose URL is actually given by the remote, so there doesn't seem to be a workaround.
Maybe the only thing that can be done is to report and wait for a fix.

Where have you been reporting onedrive bugs BTW?

I've been reporting them here https://github.com/OneDrive/onedrive-api-docs/issues
Hard to tell from the repo name right? ;)

;-)  Yes, I reported a bug there before and it got fixed!  That was another score for rclone's integration tests!

Do you want to report this one?

Sure, I'll report that.

Can you link it back here when you have? Thanks!

I've opened the issue here: https://github.com/OneDrive/onedrive-api-docs/issues/968

Update from upstream:

This issue should now be resolved - please let us know if you're still seeing issues.

It is fixed in my tests :-)  I'll close this now - thanks @Cnly for reporting it upstream


Support localized strings for 'Recommendation' document type (old ISO documents)

Source issue: https://github.com/metanorma/metanorma-iso/issues/1089

en:

fr;

Currently, for adoc:
:doctype: recommendation

the Presentation XML looks so:
        <ext>
            <doctype>recommendation</doctype>

Expected results:
        <ext>
            <doctype language="">recommendation</doctype>
            <doctype language="en">ISO Recommendation</doctype>

        <ext>
            <doctype language="">recommendation</doctype>
            <doctype language="fr">Recommandation ISO</doctype>

Note: for 'ru' I can't find the old document.

I'm not going to replace "Recommendation" with "ISO Recommendation"; I will add a new localisation string, iso-recommendation. The current i18n term is a provision: it alternates with Requirement and Permission as a block label type.

Clearly the doctype label will be either Recommendation or ISO Recommendation depending on the rendering label. I'll switch it accordingly.

The document-scheme values are going to be:

1951
1972
1987
1989
2012
2013 = current

I will make the doctype be ISO Recommendation only in the 1951 scheme.

Actually, let me back up: Recommendation is an obsolete document type. So it's fine to associate "recommendation" as a document type with ISO Recommendation.

:doctype: recommendation

now consistently gives:
<doctype language="">recommendation</doctype><doctype language="en">ISO Recommendation</doctype>

@opoudjis thanks!


don't generate core peripherals if SVD is explicitly not Cortex M

Although the SVD spec states:

This section is mandatory if the SVD file is used to generate the device header file.

a bunch of SVDs from vendors (eg Fujistu) don't define a cpu element.
So, to avoid any regression, svd2rust will continue to generate core peripherals even if it isn't specified. It will only skip generation if the cpu name tag is a non-Cortex M CPU.
Relies on https://github.com/japaric/svd/pull/34

Maybe this can be made even more generic, by adding a --target=xxx command line flag for example.
When your CPU is not cortex-m some may also want to use another base crate instead of cortex-m, like the one I'm working on for msp430:
https://github.com/pftbest/msp430

@pftbest
I do agree that the dependency on cortex-m is probably less general than it need to (should) be. How do you think this can be solved?
Would all general embedded features (like Peripheral) have to be moved out of the cortex-m crate and use this new crate as a base?
Or rather implement these general embedded features in the file generated from svd2rust and make it self contained?
Would it be worth doing since "most" MCUs with svd files are ARM cores?

This seems OK as a first step but the generated file will still contain a dependency on the cortex-m crate (extern crate cortex_m) which is probably not what you want.
@ahixon Could you tell us more about your target device? Cortex A? non ARM device?

Yeah, the end-goal was basically to remove the hard dependency on the cortex-m crate on devices that don't need it.
as @kjetilkjeka mentions, that probably means Peripheral needs to get taken out of cortex-m and either put into a new crate or have it put into the generated Rust library. But, that's a pretty breaking change for anyone who uses cortex-m, so I was going to open an issue separately to discuss that. I've done that now: https://github.com/japaric/cortex-m/issues/50
I think the former makes the most sense anyway.
@japaric The target device is a Rockchip RK3399. It has a dual-core Cortex-A72 and quad-core Cortex-A53, as well as two separate Cortex-M0 cores.
Currently, svd2rust sticks in all the Cortex peripherals in the Cortex A library; which isn't a problem as long as you make sure your code doesn't use them, but they don't really belong there. Also interestingly, the Cortex-M0's peripheral blocks are just memory mapped to the AP's peripheral set, so the ones svd2rust generates aren't actually valid there either (i.e. they are not the standard ones provided by the ARMv7 spec).

I'm in favor of sharing abstractions like Peripheral between all the different svd2rust users: msp430, cortex-m, etc. I would prefer having both the msp430 and the cortex-m crate depend on a common crate rather than use duck typing (i.e. let svd2rust assume that msp430::Peripheral and cortex-m::Peripheral have the same API / semantics).
Looking just at svd2rust generated code these are the cortex-m things it depends on:

Peripheral
Context
Nr

Looking at the msp430 and cortex-m crates these are the things they share in common:

Peripheral
Context
CriticalSection
Mutex
Nr. I think this is unused in the msp430 crate, but the SVD spec mandates that <interrupt> entries have a number associated to it.

So it probably makes sense to put all those in common crate, and have svd2rust generated code directly depend on the common crate rather than on cortex-m or msp430. The big question is how do we call that common crate?
@ahixon We may be able to get away with doing this without breaking the cortex-m crate if the cortex-m crate re-exports all the common crate API exactly where it currently provides e.g. Peripheral.

svd2rust generated code also depends on cortex-m::Reserved but it has different repr size in this crates. Not sure if it can be moved inside.
Also there is still one open question, do we go with cpu section in SVD file, like is suggested by this patch, or do we have a command line switch. I don't have a strong preference here, but it has to be decided at some point.

I took a stab at extracting the common bits. The common crate contains the bits that both cortex-m and msp430 can reuse.
@pftbest Could you test if you can implement your msp430 crate on top of the common crate?
@ahixon How much of the common crate can you use for your use case? Note that the common crate is missing an implementation of critical sections so you would have to create your own. I suppose that the criticical section in the cortex-m crate (interrupt::free) is applicable for your use case but you probably don't want to depend on the cortex-m crate.
I also made a branch where I have changed the cortex-m crate to re-export all the stuff in common rather than re-implement it. I believe the public interface hasn't changed with this refactor.
Finally I tried to make svd2rust generated code not depend on the cortex-m crate. I found two problems:

The first one is the core peripherals re-exports which this PR would solve.
The other problem which I didn't notice earlier is that svd2rust generates a interrupt::Handlers struct and a interrupt::DEFAULT_HANDLERS constant which are used to register interrupts / exceptions in application code. The problem is that DEFAULT_HANDLERS currently depends on cortex_m::exception::default_handler which can't be moved into the common crate because it contains ARM specific code.

I have a revamp of the interrupt/exception registration mechanism in the works which might make the second problem disappear but I have yet to post a RFC on the topic.

do we go with cpu section in SVD file, like is suggested by this patch, or do we have a command line switch.

My preference would be a command line switch instead of trying to make svd2rust "too smart". cpu.name is an enumeration as per the SVD spec and there's no MSP430 variant in it so we probably can't do option 1 in any case.

Could you test if you can implement your msp430 crate on top of the common crate?

@japaric I've merged your patch in branch common, and it looks good. The one example project based on msp430g2553 crate that I use for testing didn't show any regressions.

Yeah, probably makes sense then we just go the command line flag route, if there's also the msp430 base crate.
Possibly the default interrupt handler could then be sourced from whatever crate is specified via the command line?
@japaric all the Cortex-A stuff I've been doing so far runs with interrupts disabled, so I haven't written any interrupt handling support yet (I'm not sure if I'll even end up doing that for my project). However, if I do, it will require some special thought since I need to worry about multiple exception tables for each Exception Level, and configuring the GIC.
The M0, will, yeah, probably have the same interrupt::free implementation as cortex-m. Though, this M0 core has some multiplexed IRQ weirdness that isn't SVD related-information.
Because of that, I'll probably be supplementing the interrupt stuff from a separate tool and simply rely on svd2rust for peripheral generation.

@pftbest Thanks for testing. BTW, could you open an issue about the svd2rust changes you had to do to get it working with msp430?
@ahixon I hope that cortex_m::exception::default_handler won't be required once I refactor the exception registration stuff.
I suppose that for your use case you want a --arch none mode where the svd2rust generated code contains no references to the cortex-m or msp430 crate but only to the common crate?
We need a better name for the common crate. Any suggestion?

I hope that cortex_m::exception::default_handler won't be required once I refactor the exception registration stuff.

I have opened an RFC about the exception registration refactor in japaric/cortex-m#51. The required svd2rust changes are in #118. With those changes the generated crate will no longer depend on cortex-m's Reserved, Context or default_handler as all those will be deleted from cortex-m.

:umbrella: The latest upstream changes (presumably 5e2da93) made this pull request unmergeable. Please resolve the merge conflicts.

#120 subsumes this PR.
@ahixon thanks for starting the discussion on this topic. 👍


Move .elixir_ls folder inside of _build directory

Background
This is a straight port of JakeBecker/elixir-ls#166. See that PR for more details, but essentially it moves .elixir_ls under the top-level _build directory which I think makes more sense than a separate directory.

I think this generally makes sense but I'm testing this out locally first to see if everything works smoothly in my experience. I think the biggest downside is that if a user removes their whole _build then they'll have to wait for a full dialyzer re-run. I also want to test removing the whole _build directory while ElixirLS is running since I expect that to be much more common in this new location compared to the .elixir_ls directory being removed.
A small note on the code is that I think we should consolidate the prefix into a single function vs having it strewn across the code. But I'm not sure which module it fits under best.

Also wanted to link https://github.com/elixir-lang/elixir/issues/7356#issuecomment-366644546, although I think this PR avoids that issue because it is creating a sub-build directory in _build.

Its a common first shot when there are unexplainable errors during compilation, mostly happened through mixed artifacts when recompiling deps after update or config change.
Also when changing the erlang/elixir version this is sometimes necessary.
I do this quite a lot locally when I run my tests before pushing branches for a PR.

I do this quite a lot locally when I run my tests before pushing branches for a PR.

Yeah. As another datapoint, I do too. FWIW I like ElixirLS's isolation and I wouldn't want to move under _build for the PLT regen reason mentioned at top by @axelson.

Maybe we should move the .elixir_ls directory into _build by default but make it configurable and provide an example to get the previous behavior back.

I would prefer some kind of temporary directory, either global
(~/.config/elixir-ls) or local to the project. I also think it's reasonable
to add such directories to .gitignore files -- we could always ask elixir
core and phoenix core to add our directory to the default gitignore they
generate, for instance, as another solution.
On Sat, Dec 7, 2019 at 1:40 PM Jason Axelson<EMAIL_ADDRESS>wrote:

Maybe we should move the .elixir_ls directory into _build by default but
make it configurable and provide an example to get the previous behavior
back.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/elixir-lsp/elixir-ls/pull/64?email_source=notifications&email_token=AAAQSSPSU4QCPXOPRMTF6KTQXPUZTA5CNFSM4JFOSKV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGGM3FI#issuecomment-562875797,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAQSSK3PNCQP4LQ25ZCLV3QXPUZTANCNFSM4JFOSKVQ
.

I know this has languished for a bit, but I don't think I want to change the default at this time. But I would accept a PR that made the build directory configurable.


NFT Video Contract Deployment Fails

Getting an error due to MongoDB thats causing the contract deployment to fail.

Ok...

Have you a Mongodb instance running on your machine?
Kindly open open your dev console and observe the logs; we should get a better trace of the error.

Then I can know where to start debugging from.


[Feat]: Streaming not only the video, but also the image on top of it

Version
1.2.0
Environment that reproduces the issue
Iphone 13, iOS 17.5.1
Use case description
Is it possible to broadcast live not only the video that comes from the ApiVideoCameraPreview, but also add more on top of this video - for example, an advertising banner that could be placed at the bottom in the corner, or some kind of picture on top of the video. Or, for example, put a link to a donation widget at the top of the video, which will display donations?
Is it possible to implement this somehow with the current version of the package?
Proposed solution
No response
Alternative solutions
No response

Here is an example of how I would like to broadcast a banner live. Is it possible to do this?

It is not possible with the current version.
It is a lot of work and specially works with OpenGL.
i doubt we will add this feature in this package.
Morover, I have the feeling this part should be done on the server or player side instead of in this package.


Prepare for 0.14.0-rc1release and automate sync process

What this PR does / why we need it:

Syncs the helm chart with the latest kustomization configs
Automates the sync process of generated resources

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Type of changes
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Feature/Issue validation/testing:
Please describe the tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.

[ ] Test A

[ ] Test B

Logs

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Checklist:

[ ] Have you added unit/e2e tests that prove your fix is effective or that this feature works?
[ ] Has code been commented, particularly in hard-to-understand areas?
[ ] Have you made corresponding changes to the documentation?

Release note:

Re-running failed tests

/rerun-all - rerun all failed workflows.
/rerun-workflow <workflow name> - rerun a specific failed workflow. Only one workflow name can be specified. Multiple /rerun-workflow commands are allowed per comment.

/lgtm
/approve


importing ColorGrid from an existing Bridges assignment

The server expose all uploaded assignment through an API. We should support importing existing ColorGrid. There is an implementation in C++, though it is mess becasue of how rapidjson deals with malformed JSON:
https://github.com/krs-world/bridges-cxx/blob/2.4.0-dev/src/DataSource.h

I fixed the makefile for the java from your c++ version.
By the way
java  ./avl .....
wont work -- something to do with Java; needs
java avl ......
to to run java
- krs
On 12/27/18 9:44 PM, Erik Saule wrote:

The server expose all uploaded assignment through an API. We should
support importing existing ColorGrid. There is an implementation in
C++, though it is mess becasue of how rapidjson deals with malformed JSON:
https://github.com/krs-world/bridges-cxx/blob/2.4.0-dev/src/DataSource.h
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/krs-world/bridges-python/issues/15, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AFZSOHeI69qvxQhP-n_5nsjTjq_OfWxUks5u9YWagaJpZM4ZjYxV.

--
Kalpathi Subramanian                                 Ph:<PHONE_NUMBER>
Associate Professor                                    Email<EMAIL_ADDRESS>Dept of Computer Science                          Web:http://webpages.uncc.edu/krs
The University of North Carolina
Charlotte, NC 28202-0001

I have written a test for color grid import from bridges (C++). Its in
teh data_src_dependent folder (Adapted Alex's example).
-- krs
On 12/27/18 9:44 PM, Erik Saule wrote:

The server expose all uploaded assignment through an API. We should
support importing existing ColorGrid. There is an implementation in
C++, though it is mess becasue of how rapidjson deals with malformed JSON:
https://github.com/krs-world/bridges-cxx/blob/2.4.0-dev/src/DataSource.h
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/krs-world/bridges-python/issues/15, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AFZSOHeI69qvxQhP-n_5nsjTjq_OfWxUks5u9YWagaJpZM4ZjYxV.

--
Kalpathi Subramanian                                   Ph:<PHONE_NUMBER>
Associate Professor                                    Email<EMAIL_ADDRESS>Dept of Computer Science                               Web:http://webpages.uncc.edu/krs
The University of North Carolina
Charlotte, NC 28223-0001

This is complete, however the current schema of assignment JSON differs between the Clone and CS Bridges servers, so I do not currently feel confident that it is stable.
link


Markdown: scroll bars are hard to find and hard to use for long cells

Azure Data Studio Version:

Steps to Reproduce:

Duplicate


ARROW-12611: [CI][Python] Add different numpy versions to pandas nightly builds

@github-actions crossbow submit test-pandas

@kszucs I needed to pin numpy to an older version for the pandas-0.24 build, but so at once added a numpy version for each of the builds, so we also have one build with an older version of numpy and with nightly version

@github-actions crossbow submit test-conda-python-3.6-pandas-0.23

Is there a significant difference between pandas "nightly" and "master"?

Is there a significant difference between pandas "nightly" and "master"?

No (on average only a few commits of difference, since nightly is updated every day). IMO testing both is using more CI resources than needed. I am fine with only a single nightly or master build.
(I seem to recall I argued for having only one of both when it was added by @kszucs, but don't remember exactly)
@kszucs this also adds again a build with numpy nightly, which seems to have been accidentally lost in the refactor in https://github.com/apache/arrow/pull/10130

@kszucs this also adds again a build with numpy nightly, which seems to have been accidentally lost in the refactor in #10130

Thanks @jorisvandenbossche for fixing that!


made responsive calendar

Issue  📐

I Abhishek have worked for #71

Guidelines 🔐
I accept the fact that i have followed the guidelines and have not copied the codes from around the internet

[x] Contribution Guidelines
[x] Code of Conduct

Issue to be closed 🛅

My pull request closes #71

Screenshots 📷
Here are the pictures of changes that i have made 🔽

Looks Good to me!✅
Make sure to star this repository.💚


Cover more test/widgets tests with leak tracking #10

Description
This PR changes testWidgets by testWidgetsWithLeakTracking in number of flutter/test/widgets tests according to the https://github.com/dart-lang/leak_tracker/issues/134.
Marks leaks

https://github.com/flutter/flutter/issues/135137;
https://github.com/flutter/flutter/issues/135141.

Tests

Updates sliver_fill_viewport_test.dart to use testWidgetsWithLeakTracking;
Updates sliver_list_test.dart to use testWidgetsWithLeakTracking;
Updates sliver_main_axis_group_test.dart to use testWidgetsWithLeakTracking;
Updates sliver_persistent_header_test.dart to use testWidgetsWithLeakTracking;
Updates sliver_prototype_item_extent_test.dart to use testWidgetsWithLeakTracking;
Updates sliver_semantics_test.dart to use testWidgetsWithLeakTracking;
Updates sliver_visibility_test.dart to use testWidgetsWithLeakTracking;
Updates slivers_appbar_floating_pinned_test.dart to use testWidgetsWithLeakTracking;
Updates slivers_appbar_floating_test.dart to use testWidgetsWithLeakTracking;
Updates slivers_appbar_pinned_test.dart to use testWidgetsWithLeakTracking;
Updates slivers_appbar_scrolling_test.dart to use testWidgetsWithLeakTracking;
Updates slivers_appbar_stretch_test.dart to use testWidgetsWithLeakTracking;
Updates slivers_block_global_key_test.dart to use testWidgetsWithLeakTracking;
Updates slivers_block_test.dart to use testWidgetsWithLeakTracking;
Updates slivers_evil_test.dart to use testWidgetsWithLeakTracking;
Updates slivers_keepalive_test.dart to use testWidgetsWithLeakTracking;
Updates slivers_padding_test.dart to use testWidgetsWithLeakTracking;
Updates slivers_protocol_test.dart to use testWidgetsWithLeakTracking;
Updates slivers_test.dart to use testWidgetsWithLeakTracking;
Updates slotted_render_object_widget_test.dart to use testWidgetsWithLeakTracking;
Updates snapshot_widget_test.dart to use testWidgetsWithLeakTracking;
Updates spacer_test.dart to use testWidgetsWithLeakTracking;
Updates spell_check_test.dart to use testWidgetsWithLeakTracking;
Updates stack_test.dart to use testWidgetsWithLeakTracking;
Updates state_setting_in_scrollables_test.dart to use testWidgetsWithLeakTracking;
Updates stateful_component_test.dart to use testWidgetsWithLeakTracking;
Updates stateful_components_test.dart to use testWidgetsWithLeakTracking;
Updates status_transitions_test.dart to use testWidgetsWithLeakTracking;
Updates syncing_test.dart to use testWidgetsWithLeakTracking;
Updates table_test.dart to use testWidgetsWithLeakTracking;
Updates tap_region_test.dart to use testWidgetsWithLeakTracking;
Updates text_golden_test.dart to use testWidgetsWithLeakTracking;
Updates text_scaler_backward_compatibility_test.dart to use testWidgetsWithLeakTracking.

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.
[ ] 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] All existing and new tests are passing.

cc @polina-c

@polina-c thanks for the review!


Cannot downvote categories

Found in 20220504 pre-release check and can be reproduced easily on production.
Related incident report on slack: https://g0v-slack-archive.g0v.ronny.tw/index/channel/C2PPMRQGP#ts-1651762349.5851

Root cause TBA


Refactor produce into a functional one-liner

Size-limit:   346 B 335 B (-11 B)
[...Array(n).keys()] generates an array of [0,1,2,3...]
The function now looks a bit cryptic, but I would add a comment above to explain what it does:
"Generates a string of N characters produced with a generator callback"?

@molefrog I had a solution like this before:
const times = (number, callback) => {
  return Array(number).map((_, index) => callback(index));
};

But I found out that a simple for solution is 33—60% faster than this.
Quick benchmark:
const fill = () => Math.random();

console.time("ARRAY");
[...Array(1000).keys()].map(fill).join("");
console.timeEnd("ARRAY");

console.time("FOR");
const result = [];
for (let index = 0; index < 1000; index++) result.push(fill());
result.join("");
console.timeEnd("FOR");

=> ARRAY: 0.879150390625ms
=> FOR:   0.369873046875ms

Hmmm. Looks like my previous solution is faster than the current one 🤨
Array(1000).map((_, index) => callback(index)).join("")

=> NEW: 0.252ms


Remove _results from tasks

We should just store them in a Dict[Task, result].
Currently, if a solved dependant is executed concurrently, task results will overwrite each other since they share an object.

Fixed in 583326c


Add WeFork organization members to Wekan organization?

Since WeFork has been merged back in to Wekan, would it be appropriate to also merge the WeFork organization members into to the Wekan organization?

Done.


Issues

I wanted to double-check whether you had gone through Zeplin and checked the pages against the development? There are still a lot of issues that will take me a lot of time to go through if I have to go through them one by one.
For example, this is the page in Zeplin, https://app.zeplin.io/project/5dcd57edea1de42333f90a5d/screen/5df4195b3a049e4c3b24c272
then this is the development,
https://deckerdence.netlify.com/hire/hire-option-4 -
I have double-checked and the images are tagged for it to have been created correctly with the correct images.

Another issue, for example, is when you click "View more" (incorrect spelling on the button) on the images on the Weddings, parties, events, and hospitality it should load a separate gallery page -
https://app.zeplin.io/project/5dcd57edea1de42333f90a5d/screen/5df424f345b55fa54d428549
Text underneath forms is incorrect in some places:

Images are still squashed and are not the correct image on the different hire pages:

Should be a space before the amount of money:

Can you please go through and double-check all pages against the design, I will then go through and check the site properly again once you feel it matches the design.

[ ] Could you make images open bigger into a modal window (like we did on Commbus)

[ ] Make header logo bigger

[ ] Make blog feature images taller - (look a little squashed currently):

Zeplin design:

Current development:

[ ] Make the text bigger
[ ] Reduce the thickness of the font

[ ] Where the box is red, the writing needs to be white

[ ] Please make this font size bigger again (Sorry it just looks too tiny in that space now)

@kpierduta  Could you tell me which Sections of images open into a modal window?

Hey @dharmveer97
Could this be on all gallery pages:

& on all pages where there is this 6 block, please


More robust Counter name parsing

Dataflow users have reported problems with the queryMetrics call. These occur when the worker reports metrics counters with system_name on their step, instead of original name, and thus the internal name to user name translation fails.
e.g. a counter with step name "s2-c17" can not be translated using the transformStepNames property of the dataflow job.
The stacktrace is:
Stacktrace:
Exception in thread "main" java.lang.NullPointerException
at org.apache.beam.runners.dataflow.DataflowMetrics.metricHashKey(DataflowMetrics.java:84)
at org.apache.beam.runners.dataflow.DataflowMetrics.populateMetricQueryResults(DataflowMetrics.java:124)
at org.apache.beam.runners.dataflow.DataflowMetrics.queryServiceForMetrics(DataflowMetrics.java:188)
at org.apache.beam.runners.dataflow.DataflowMetrics.queryMetrics(DataflowMetrics.java:201)

This pr has been tested with job 2017-06-28_15_15_24-11569447414969849684.
r: @tgroh

Coverage increased (+0.02%) to 70.881% when pulling 4c06dc19e048f92dba1748d7bfe3aa05df3b38f5 on pabloem:parse-cnt-name into 1e16aa201ad0ab5bd12ab00deba044648074ca78 on apache:master.

Coverage increased (+0.01%) to 70.874% when pulling 4c06dc19e048f92dba1748d7bfe3aa05df3b38f5 on pabloem:parse-cnt-name into 1e16aa201ad0ab5bd12ab00deba044648074ca78 on apache:master.


Go to definition (bash script) doesn't work

VSCode Version: 1.14.1
OS Version: 10.12.5

Steps to Reproduce:

Create a simple bash script

#!/bin/bash

main() {
  echo "You're in!"
}

main

Put the cursor on the last line, where main is. Press F12
Cursor doesn't move to the function definition.

Reproduces without extensions: Yes
I don't remember this ever working.

I don't think we have intellisense for bash at this moment. It's definitely a good candidate for extensions. Thanks for reporting.

Intellisense for bash would be great.

Duplicate of #309. This could be contributed by an extension


Custom Tolerations and affinity

It would be nice if the main Chart supported these attributes so it would be easier to use in environment where the pod scheduling is carefully controlled.

The chart is here: https://github.com/appscode/voyager/tree/master/chart/voyager Do you want to send a pr?


Reading camera poses after reconstruction?

I am trying to read camera pose data using this code:
class CameraPose:
    def __init__(self, camera_id, bundle, quat, position):
        self.camera_id = camera_id
        self.bundle = bundle
        self.quat = quat
        self.position = position

camera_image_index = {}
    for image in reconstruction.images.values():
        if image.registered:
            camera_pose = CameraPose(image.camera_id, None, image.cam_from_world().rotation,
                                     image.cam_from_world().translation)

Which gives this error:
    camera_pose = CameraPose(image.camera_id, None, image.cam_from_world().rotation,
TypeError: 'pycolmap.Rigid3d' object is not callable

What is the correct way to do this?

Image.cam_from_world is a property, not a function.

So I just remove the ( ) ? Is that all I need to do?

Yes.


EXC_BAD_INSTRUCTION when trying to split a message

let s = "string\r\nhenk\r\nstring\r\nhenk\r\nstring"
for part in s.split(byString: "string") {
    print(part)
}

This causes an EXC_BAD_INSTRUCTION at line 117 in String.swift

Thanks!


Update regex version to fix security bug in regex crate

Closes #230

We don't need to bump the minimum versions to fix this for users – see https://github.com/env-logger-rs/env_logger/issues/230#issuecomment-1206265567.


[webview_flutter_wkwebview] 'Flutter/Flutter.h' file not found Xcode 15

I'm upgraded on Xcode 15 and has this problem on build

I update Podfile before because I have error on build
DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead

Podfile

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      if config.base_configuration_reference
        xcconfig_path = config.base_configuration_reference.real_path
        xcconfig = File.read(xcconfig_path)
        xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR")
        File.open(xcconfig_path, "w") { |file| file << xcconfig_mod }
      end
    end
  end
end

I make flutter flutter pub get and flutter pub upgrade
I use mac os on m1, Ventura 13.5.2

flutter doctor -v

[✓] Flutter (Channel stable, 3.13.4, on macOS 13.5.2 22G91 darwin-arm64, locale
    ru-RU)
    • Flutter version 3.13.4 on channel stable at
      /opt/homebrew/Caskroom/flutter/3.10.3/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 367f9ea16b (7 дней назад), 2023-09-12 23:27:53 -0500
    • Engine revision 9064459a8b
    • Dart version 3.1.2
    • DevTools version 2.25.0
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from:
https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK
components.
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup
for detailed instructions).
If the Android SDK has been installed to a custom location, please use
flutter config --android-sdk to update to that location.
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15A240d
• CocoaPods version 1.12.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[!] Android Studio (not installed)
• Android Studio not found; download from
https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup
for detailed instructions).
[✓] VS Code (version 1.82.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.72.0
[✓] Connected device (3 available)
• iPhone 15 Pro (mobile) • F2DFADF7-4A62-4EA8-8293-85735B8CABBB • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
• macOS (desktop)        • macos                                • darwin-arm64   • macOS 13.5.2 22G91 darwin-arm64
• Chrome (web)           • chrome                               • web-javascript • Google Chrome 116.0.5845.187
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 2 categories.

Hi @Auramel. Thanks for filing this. Can you try out the suggested solution in this thread to see if it works in your case?

@dam-ease Hello. Yes, I did it. It is not solved my problem. I found this thread and it not help me too.

I have same problem with url_laucnher package. After flutter pub upgrade it disappeared

I think the problem is in my Podfile. Here guy has same problem

I did all the things on the internet and nothing worked!
Please don't update to xcode 15.  That's terrible.

@chanjungkim I'm downgraded to Xcode 14.3.1, then delete:

ios/Pods
ios/Podfile.lock
ios/.symlinks
pubspec.lock
Remove all Xcode files from my computer (Caches, Virtual devices and other)
run
flutter clean
flutter pub get
flutter pub upgrade
and it worked.

hi, i receive this error, xcode15 ios 17
`#import <Flutter/Flutter.h>
#import <Foundation/Foundation.h>
#import <WebKit/WebKit.h>
NS_ASSUME_NONNULL_BEGIN
/**

App and package facing native API provided by the webview_flutter_wkwebview plugin.

This class follows the convention of breaking changes of the Dart API, which means that any
changes to the class that are not backwards compatible will only be made with a major version
change of the plugin. Native code other than this external API does not follow breaking change
conventions, so app or plugin clients should not use any other native APIs.
/
@interface FWFWebViewFlutterWKWebViewExternalAPI : NSObject
/*
Retrieves the WKWebView that is associated with identifier.

See the Dart method WebKitWebViewController.webViewIdentifier to get the identifier of an
underlying WKWebView.

@param identifier The associated identifier of the WebView.
@param registry The plugin registry the FLTWebViewFlutterPlugin should belong to. If

   the registry doesn't contain an attached instance of `FLTWebViewFlutterPlugin`,

   this method returns nil.

@return The WKWebView associated with identifier or nil if a WKWebView instance associated
with identifier could not be found.
*/

(nullable WKWebView *)webViewForIdentifier:(long)identifier
withPluginRegistry:(id)registry;
@end

NS_ASSUME_NONNULL_END`

I also use XCode 15 Build 15A240d and run below sample code on iPhone 14 Pro, iOS 17.0 but can't reproduce this issue.

Minimal sample code
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// ignore_for_file: public_member_api_docs

import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';

void main() => runApp(const MaterialApp(home: WebViewExample()));

class WebViewExample extends StatefulWidget {
  const WebViewExample({super.key});

  @override
  State<WebViewExample> createState() => _WebViewExampleState();
}

class _WebViewExampleState extends State<WebViewExample> {
  late final WebViewController controller;

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

    // #docregion webview_controller
    controller = WebViewController()
      ..setJavaScriptMode(JavaScriptMode.unrestricted)
      ..setBackgroundColor(const Color(0x00000000))
      ..setNavigationDelegate(
        NavigationDelegate(
          onProgress: (int progress) {
            // Update loading bar.
          },
          onPageStarted: (String url) {},
          onPageFinished: (String url) {},
          onWebResourceError: (WebResourceError error) {},
          onNavigationRequest: (NavigationRequest request) {
            if (request.url.startsWith('https://www.youtube.com/')) {
              return NavigationDecision.prevent;
            }
            return NavigationDecision.navigate;
          },
        ),
      )
      ..loadRequest(Uri.parse('https://google.com/'));
    // #enddocregion webview_controller
  }

  // #docregion webview_widget
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Flutter Simple Example')),
      body: WebViewWidget(controller: controller),
    );
  }
// #enddocregion webview_widget
}

Can you try running this sample on new project or plugin example to see if you can replicate the issue?

@Auramel have you resolve?

@huycozy hi, for firebase we have chenge the podfile for the bug  DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead. I think the problem is here, can you try to add firebase and change the podfile.

@stoppimyse no, I delete Xcode 15 and install Xcode 14.3.1

i've resolve usinng this podfile configuration
post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)

    # shim for CocoaPods issue, should remove when 1.13.0 is released
    # more info: https://github.com/CocoaPods/CocoaPods/issues/12012#issuecomment-1659803356
    target.build_configurations.each do |config|
      xcconfig_path = config.base_configuration_reference.real_path
      xcconfig = File.read(xcconfig_path)
      xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR")
      File.open(xcconfig_path, "w") { |file| file << xcconfig_mod }
    end
  end
end

@huycozy yes, I create new project and it running on Xcode 15. But! I replaced my ios folder from new flutter project and it not working.

@Auramel I can reproduce this issue with your initial Podfile configuration but I notice it's missing flutter_additional_ios_build_settings(target) when comparing it with @stoppimyse's comment above. And it indeed works after I added the line back (it's the default when creating a project). Can you try adding it back and confirm?
Also, regarding https://github.com/flutter/flutter/issues/135099#issuecomment-1729214830, there is a related topic at flutterfire repository: https://github.com/firebase/flutterfire/issues/11614. It's cocoapods issue and looks like you are attempting to solve it with workaround, right?
@Auramel @chanjungkim Please try the podfile configuration above and confirm this.

i've resolve usinng this podfile configuration
post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)

    # shim for CocoaPods issue, should remove when 1.13.0 is released
    # more info: https://github.com/CocoaPods/CocoaPods/issues/12012#issuecomment-1659803356
    target.build_configurations.each do |config|
      xcconfig_path = config.base_configuration_reference.real_path
      xcconfig = File.read(xcconfig_path)
      xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR")
      File.open(xcconfig_path, "w") { |file| file << xcconfig_mod }
    end
  end
end

With this, I got :
Error (Xcode): SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a'; try increasing the minimum deployment target

@Auramel I can reproduce this issue with your initial Podfile configuration but I notice it's missing flutter_additional_ios_build_settings(target) when comparing it with @stoppimyse's comment above. And it indeed works after I added the line back (it's the default when creating a project). Can you try adding it back and confirm?
Also, regarding #135099 (comment), there is a related topic at flutterfire repository: firebase/flutterfire#11614. It's cocoapods issue and looks like you are attempting to solve it with workaround, right?
@Auramel @chanjungkim Please try the podfile configuration above and confirm this.

My Podfile configuration I found in Google. Ok, I will try. I deleted Xcode 15, I'll have to download it again.

Flutter should inject a workaround for the DT_TOOLCHAIN_DIR issue the first time you run, so manually changing your Podfile to do that should not be necessary unless you already had a custom Podfile.

@Auramel Please do not post pictures of text; they are much harder to read, and they aren't searchable.
It's also not clear to me how that is related to this issue. It's not the same error, and it's not even from a Flutter-team-provided plugin. Does this mean you no longer have an issue with webkit_flutter?

i've resolve usinng this podfile configuration
post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)

    # shim for CocoaPods issue, should remove when 1.13.0 is released
    # more info: https://github.com/CocoaPods/CocoaPods/issues/12012#issuecomment-1659803356
    target.build_configurations.each do |config|
      xcconfig_path = config.base_configuration_reference.real_path
      xcconfig = File.read(xcconfig_path)
      xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR")
      File.open(xcconfig_path, "w") { |file| file << xcconfig_mod }
    end
  end
end

With this, I got : Error (Xcode): SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a'; try increasing the minimum deployment target

were you able to resolve this? I updated my podfile and am getting the same error that you mentioned.

Issue is still open.
Upgraded Cocoapods to v1.13.0 and the fix mentioned above is not needed anymore.
Then with pod install there is the error 'Flutter/Flutter.h' file not found on all pods.
Below is Podfile:
`# Uncomment this line to define a global platform for your project
platform :ios, '13.0'
CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}
def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), FILE)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
end
File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT=(.*)/)
return matches[1].strip if matches
end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
flutter_ios_podfile_setup
target 'Runner' do
use_frameworks!
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(FILE))
#target 'RunnerTests' do
inherit! :search_paths
#end
end
post_install do |installer|
installer.generated_projects.each do |project|
project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
end
end
end
end
`

Solution:
Delete Xcode 15.
Download Xcode 14.3 : https://developer.apple.com/download/all/?q=Xcode 14 & its command tools.

我调整build phases 配置顺序解决了“'Flutter/Flutter.h' file not found”
调整后：
buildPhases = (
		87B419743B513AB9E3637B1D /* [CP] Check Pods Manifest.lock */,
		9740EEB61CF901F6004384FC /* Run Script */,
		97C146EA1CF9000F007C117D /* Sources */,
		97C146EB1CF9000F007C117D /* Frameworks */,
		97C146EC1CF9000F007C117D /* Resources */,
		9705A1C41CF9048500538489 /* Embed Frameworks */,
		E583813125B0628A003E7508 /* Embed Watch Content */,
		35565F8214D07D71E5076AFE /* [CP] Embed Pods Frameworks */,
		89FFCF69F1320183F0FA1830 /* [CP] Copy Pods Resources */,
		3B06AD1E1E4923F5004D2608 /* Thin Binary */,
	);


Bug for calculating safety distance cooperated informally

https://github.com/HybridRobotics/cbf/blob/d8a1b376e7e910de71df60cdf3619f68c40ab3ed/control/dcbf_optimizer.py#L168
Mentioned by Sha, it shall be correctly implemented as follows on the right hand side,
omega_i * param.gamma^i *(cbf_curr - param.margin_dist) + param.margin_dist

I'm agreeing with it, how do you think about it? @AkshayThiru

I agree with (cbf_curr - param.margin_dist) part. But I think param.gamma should still be raised to (i+1) and not i.
The same change would also apply to this line, I think.
https://github.com/HybridRobotics/cbf/blob/d8a1b376e7e910de71df60cdf3619f68c40ab3ed/control/dcbf_optimizer.py#L119

@AkshayThiru Agreed with you as mentioned above, not too sure what you meant for "But I think param.gamma should still be raised to (i+1) and not i." Would you mind doing a quick fix and sending a PR for it?

Hi Jun and Akshay,
Thank you for following up on this issue. I was mostly just following the equation 20e in the ICRA2022 paper. It's k+1 on the left hand side and k for gamma on the right hand side.

Hi Yisha,
Thank you for pointing out the bug. For the code, we are using the exponential DCBF controller, which is equation 22, with a constant value of gamma. So I believe param.gamma ** (i+1) is correct.

Hi Akshay,
Another small question on this equation. In the left hand side of this equation -ca.mtimes(robot_g.T, mu[:, i]) + ca.mtimes((ca.mtimes(mat_A, robot_T) - vec_b).T, lamb[:, i]), it seems to be using robot poses at time i+1 but lamb and mu at time i. Shouldn't they match with each other (from my understanding all should be i+1 but I might be wrong)?
I know this may not affect the performance much. But I still want to make sure I understand the code and the paper precisely to avoid possible future problems. Thank you again for your help!

Hi Yisha,
It is just due to array indices starting from 0 (in the paper we assume indices to be starting from 1). We want to enforce the constraint h(x_{i+1}) >= gamma^(i+1) h(x_0) for different values of i >= 0. mu[:, 0] and lamb[:, 0] correspond to the first constraint h(x_1) >= gamma h(x_0), which is why mu[:, i] and lamb[:, i] are associated with x_{i+1} on the LHS.

Ohh I get it now. Thank you!!


StringEnumConverter fails to process nullable enum

Source/destination types
[JsonConverter(typeof(StringEnumConverter))]
public FlagColor? Flag_color { get; set; }

FlagColor is an enum
Expected behavior
When Flag_color set to null, resulting field in Json is set to null
Actual behavior
Sorry about Russian. Even with my Studio set to English errors are still in Russian for some reason.

в System.Enum.ToObject(Type enumType, Object value)
в Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)
Result Message:
System.AggregateException : Произошла одна или несколько ошибок.
----> Newtonsoft.Json.JsonSerializationException : Error converting value {null} to type 'YNABConnector.YNABObjectModel.FlagColor'. Path 'data.transaction.flag_color', line 1, position 172.

I've seen something similar in #708, if that helps

My bad. Everything works fine

what did you change to let it work ??


Timeout when there's an erasure of the flash chip (IDFGH-7665)

Environment

Development Kit: none
Module or chip used: ESP32-S2
IDF version (run git describe --tags to find it): v4.4
Build System: idf.py
Compiler version (run xtensa-esp32-elf-gcc --version to find it): xtensa-esp32s2-elf-gcc.exe (crosstool-NG esp-2021r2-patch2) 8.4.0
Operating System: Windows
(Windows only) environment type: ESP Command Prompt
Using an IDE?: Yes - VSCode
Power Supply: USB

Problem Description
I tried to perform an esp_flash_erase_chip() of a flash memory chip that is located outside of the ESP32-S2 module. It is a 16MB Winbond flash 25Q128JVFQ.
When I try to do the operation, I obtain a ESP_ERR_TIMEOUT.
Reading this topic, I tried to check the Flash timeout checkout disabled option in menuconfig.
Doing so, I confirm the absence of the timeout error, however I find multiple WDT triggers before it finishes the job (see the log).
Expected Behavior
I think it should erase the chip without problems. I can't understand if there is something missing in the steps I followed.
Actual Behavior
E (40496) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (40496) task_wdt:  - IDLE (CPU 0)
E (40496) task_wdt: Tasks currently running:
E (40496) task_wdt: CPU 0: main
E (40496) task_wdt: Print CPU 0 (current core) backtrace

Backtrace:0x4009D11F:0x3FFC5E200x40024552:0x3FFC5E40 0x4002D543:0x3FFD1EB0 0x4002D6F9:0x3FFD1EF0 0x40034456:0x3FFD1F30 0x40034F17:0x3FFD1F70 0x40034F45:0x3FFD1F90 0x40034D5D:0x3FFD1FC0 0x4002585A:0x3FFD1FE0 0x4008BACE:0x3FFD2010 0x40087AF7:0x3FFD2030 0x4010C747:0x3FFD2060
0x4009d11f: task_wdt_isr at C:/Espressif/frameworks/esp-idf-v4.4/components/esp_system/task_wdt.c:183 (discriminator 3)

0x40024552: _xt_lowint1 at C:/Espressif/frameworks/esp-idf-v4.4/components/freertos/port/xtensa/xtensa_vectors.S:1111

0x4002d543: gpspi_flash_ll_set_dummy at C:/Espressif/frameworks/esp-idf-v4.4/components/hal/esp32s2/include/hal/gpspi_flash_ll.h:361
 (inlined by) spi_flash_hal_gpspi_configure_host_io_mode at C:/Espressif/frameworks/esp-idf-v4.4/components/hal/spi_flash_hal_common.inc:124

0x4002d6f9: spi_flash_hal_gpspi_common_command at C:/Espressif/frameworks/esp-idf-v4.4/components/hal/spi_flash_hal_common.inc:150

0x40034456: memspi_host_read_status_hs at C:/Espressif/frameworks/esp-idf-v4.4/components/spi_flash/memspi_host_driver.c:123

0x40034f17: spi_flash_chip_generic_read_reg at C:/Espressif/frameworks/esp-idf-v4.4/components/spi_flash/spi_flash_chip_generic.c:376

0x40034f45: spi_flash_chip_generic_wait_idle at C:/Espressif/frameworks/esp-idf-v4.4/components/spi_flash/spi_flash_chip_generic.c:426

0x40034d5d: spi_flash_chip_generic_erase_chip at C:/Espressif/frameworks/esp-idf-v4.4/components/spi_flash/spi_flash_chip_generic.c:136

0x4002585a: esp_flash_erase_chip at C:/Espressif/frameworks/esp-idf-v4.4/components/spi_flash/esp_flash_api.c:526

0x4008bace: spi_ext_flash_erase_partition at C:\Users\fgraziani\Documents\Lavoro\build/../components/spi_manager_component/spi_manage.c:460

0x40087af7: app_main at C:\Users\fgraziani\Documents\Lavoro\build/../main/main.c:141 (discriminator 3)

0x4010c747: main_task at C:/Espressif/frameworks/esp-idf-v4.4/components/freertos/port/port_common.c:129

@filgra96 About the task watchdog, please check the related section of the Programming Guide: https://docs.espressif.com/projects/esp-idf/en/v4.4.1/esp32/api-reference/system/wdts.html#task-watchdog-timer. The task watchdog triggers because your task is running a long operation without yielding to the idle task.
You can try using esp_flash_erase_region function instead of esp_flash_erase_chip in this case — this will allow the driver to yield once in a while, preventing the watchdog timeout.
One possible improvement for us to make is to let esp_flash_erase_chip function yield while waiting for the erase operation to complete (via check_yield in the driver).

Yes, I know I could either increase the timer of the WDT or feed the WDT. My main question was why the WDT gets triggered using an official library, but you answered. Thank you!

I tried to erase the single sectors of the flash memory, however the WDT get triggered again..
E (65492) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (65492) task_wdt:  - IDLE (CPU 0)
E (65492) task_wdt: Tasks currently running:
E (65492) task_wdt: CPU 0: main
E (65492) task_wdt: Print CPU 0 (current core) backtrace

Backtrace:0x4009DD83:0x3FFC5A300x400245DE:0x3FFC5A50 0x4001AA8D:0x3FFD3630 0x40026049:0x3FFD3650 0x40034B76:0x3FFD3670 0x40034E5D:0x3FFD36A0 0x40025ADA:0x3FFD36E0 0x4008BDB8:0x3FFD3730 0x40087B3D:0x3FFD3750 0x4010D9CF:0x3FFD3790
0x4009dd83: task_wdt_isr at C:/Espressif/frameworks/esp-idf-v4.4.1/components/esp_system/task_wdt.c:183 (discriminator 3)

0x400245de: _xt_lowint1 at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/xtensa/xtensa_vectors.S:1111

0x40026049: delay_us at C:/Espressif/frameworks/esp-idf-v4.4.1/components/spi_flash/spi_flash_os_func_app.c:148

0x40034b76: spi_flash_chip_generic_wait_idle at C:/Espressif/frameworks/esp-idf-v4.4.1/components/spi_flash/spi_flash_chip_generic.c:443

0x40034e5d: spi_flash_chip_winbond_erase_sector at C:/Espressif/frameworks/esp-idf-v4.4.1/components/spi_flash/spi_flash_chip_winbond.c:118
 (inlined by) spi_flash_chip_winbond_erase_sector at C:/Espressif/frameworks/esp-idf-v4.4.1/components/spi_flash/spi_flash_chip_winbond.c:99

0x40025ada: esp_flash_erase_region at C:/Espressif/frameworks/esp-idf-v4.4.1/components/spi_flash/esp_flash_api.c:616

0x4008bdb8: spi_ext_flash_erase_partition at C:\Users\fgraziani.ELFA\Documents\Lavoro\Wurth\27b1con\build/../components/spi_manager_component/spi_manage.c:468

0x40087b3d: app_main at C:\Users\fgraziani.ELFA\Documents\Lavoro\Wurth\27b1con\build/../main/main.c:150 (discriminator 2)

0x4010d9cf: main_task at C:/Espressif/frameworks/esp-idf-v4.4.1/components/freertos/port/port_common.c:129

here my code (for a 16MB of flash and 4KB of sector):
esp_err_t
spi_ext_flash_erase_partition (esp_flash_t * flash_chip)
{
    esp_err_t ret = ESP_FAIL;
    uint32_t iteration = 0;
    uint32_t start_addr = 0;
    const uint32_t sector_size = 4096;
    const uint32_t number_of_sect = 4096;

    for (iteration = 0; iteration < number_of_sect; ++iteration)
    {
        ret = esp_flash_erase_region(flash_chip, start_addr, sector_size);
        if (ESP_OK != ret)
        {
            break;
        }
        else
        {
            start_addr += sector_size;
        }
    }

    if (ESP_OK == ret)
    {
        ESP_LOGI(g_p_tag, "Memoria flash esterna cancellata con successo");
    }
    else
    {
        ESP_LOGE(g_p_tag,
                 "Tentativo di cancellazione memoria esterna con errore %s",
                 esp_err_to_name(ret));
    }

    return ret;
}

Could you please attach your sdkconfig file? I'm interested in the values of options which control yielding during flash operations:
CONFIG_SPI_FLASH_YIELD_DURING_ERASE
CONFIG_SPI_FLASH_ERASE_YIELD_DURATION_MS
CONFIG_SPI_FLASH_ERASE_YIELD_TICKS

I manipulated the parameters according to the offical documentation, i started with the following parameters (it triggers the wdt using esp_flash_erase_chip() or esp_flash_erase_region()):

# CONFIG_ESP_TASK_WDT_PANIC is not set
CONFIG_SPI_FLASH_YIELD_DURING_ERASE=y
CONFIG_SPI_FLASH_ERASE_YIELD_DURATION_MS=20
CONFIG_SPI_FLASH_ERASE_YIELD_TICKS=1
CONFIG_ESP_TASK_WDT_TIMEOUT_S=5

and I switched to these (also here it triggers with both instructions):

# CONFIG_ESP_TASK_WDT_PANIC is not set
CONFIG_SPI_FLASH_YIELD_DURING_ERASE=y
CONFIG_SPI_FLASH_ERASE_YIELD_DURATION_MS=2
CONFIG_SPI_FLASH_ERASE_YIELD_TICKS=20
CONFIG_ESP_TASK_WDT_TIMEOUT_S=5

@igrr This is my complete sdkconfig if you need it sdkconfig.txt

I got the same issue. Is there any solution or temporary workaround?

Also, I can't understand why the automatic formatting (after a failed mount operation) requires1/2 seconds, while erasing the memory requires a minute or two. Is there a way to manually perform the same formatting operation that happens when mounting? In this case there aren't timeouts

@filgra96 I'm sorry, I have missed the point in your original issue report that you are working with an external flash chip.
For some reason we only implement the automatic "yield" operation during flash erase only for the main flash chip:
https://github.com/espressif/esp-idf/blob/c9140caf8cb501f17e4e0703a43a5693a6c28f6d/components/spi_flash/spi_flash_os_func_app.c#L190-L211
(the "yield" and "check_yield" functions are not implemented for external flash)
I'll check internally to see if there was any underlying reason for this. If not, we will add support for automatic yield for external flash.
In the meantime, you can add logic like this to your implementation of spi_ext_flash_erase_partition function:
    for (iteration = 0; iteration < number_of_sect; ++iteration)
    {
        if (iteration % 16 == 0) vTaskDelay(1);  // Yield for 1 tick every 16 sectors
        ...

Also, I can't understand why the automatic formatting (after a failed mount operation) requires1/2 seconds, while erasing the memory requires a minute or two. Is there a way to manually perform the same formatting operation that happens when mounting? In this case there aren't timeouts

I think the reason is that FAT FS library only initializes part of the sectors when formatting the filesystem, not all the sectors.
At what point do you want to erase the filesystem — before calling the esp_vfs_fat_spiflash_mount or after?

Thank you for your help @igrr

At what point do you want to erase the filesystem — before calling the esp_vfs_fat_spiflash_mount or after?

My idea is: the first time I use the flash, it will be validated and mounted (it will fail so the system will format and mount again the flash device).
After that, in case of some unwanted behavior (detected by a read of a known content in flash) I want to erase the chip and I unmount it. Then I mount it again. The mount operation will fail again and the chip will be formatted.
I experimented this last part and I'm pretty sure it works in this way.
At the moment of speaking, because of it was impossible to erase without the WDT trigger, I created a function that invalidate (i.e. it erases only 32KB block of memory and then stops) the flash and it seems sufficient for a re-format operation performed when I mount it.
It is not a 100% correct way, infact I think your logic mentioned

In the meantime, you can add logic like this to your implementation of spi_ext_flash_erase_partition function:

will be ok. But I think it will require a lot of time to perform the erasure, right?

Another "temporary" solution for anyone else that still hits this for any reason.
It's simple to disable the WDT, and re-enable it.
Code:
esp_task_wdt_delete(xTaskGetIdleTaskHandleForCPU(0));
esp_task_wdt_delete(xTaskGetIdleTaskHandleForCPU(1));

// call format code here

esp_task_wdt_add(xTaskGetIdleTaskHandleForCPU(0));
esp_task_wdt_add(xTaskGetIdleTaskHandleForCPU(1));

@igrr, also I want to add, I've hit the WDT during SD card mounting as well. I think my WDT was 5 seconds. Ideally, mounting should yield as well.


Gallatin Conntection Issue for Exchange Online Powershell Module v2

follow the doc, create the azure app and grant permisson and upload cert, added aad roles as Exchange Administrator as SPN. run the command:
Connect-ExchangeOnline -ExchangeEnvironmentName O365China -AppId f9684132-be1f-45da-835a-e296116f7cb8 -CertificateThumbprint XXXXX -Organization "XXXXXX.partner.onmschina.cn" -Verbose

New-ExoPSSession : Processing data from remote server partner.outlook.cn failed with the following error message: [AuthZRequestId=2f19e449-d15e-48f3-8cb3-9555bcbeaf][FailureCategory=AuthZ-CmdletAccessDeniedException] The application **f9684132-be1f-45da-835a-e296116f7cb8** isn't assigned to any management roles. Please check online documentation for assigning Directory Roles to Azure AD Application. For more information, see the about_Remote_Troubleshooting Helpvtopic.
At C:\Program Files\WindowsPowerShell\Modules\ExchangeOnlineManagement\2.0.5\netFramework\ExchangeOnlineManagement.psm1:475 char:30
+ ... PSSession = New-ExoPSSession -ExchangeEnvironmentName $ExchangeEnviro ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [New-ExoPSSession], PSRemotingTransportException
    + FullyQualifiedErrorId : System.Management.Automation.Remoting.PSRemotingDataStructureException,Microsoft.Exchange.Management.ExoPowershellSnapin.New
   ExoPSSession

with the same steps on WW instance, no issue found. please help, thanks!

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

ID: d2cfafdf-cbe9-2ffe-eabe-becc66d51728
Version Independent ID: 4a46c8a8-dc70-d877-271e-6679c465a6d5
Content: App-only authentication
Content Source: exchange/docs-conceptual/app-only-auth-powershell-v2.md
Service: exchange-online
GitHub Login: @chrisda
Microsoft Alias: chrisda

@jackbob2020110 Hope this comment is helpful for you. Considering the nature of the issue, as advised, please open a service ticket in your tenant and follow with them for the resolution. We proceed to close it as here we are limited to documentation fixes and improvements only.

ok, thanks!


Page content missing

I followed the install instructions as described. Unfortunately the content on all pages including the homepage is missing. When I go into customise the only sections I have to add to each page is announcement bar, navbar and footer. If I try to switch to another page I get a Shopify error "Something went wrong. Please try again in a few minutes."
Here is the URL of the store: https://traderiq.myshopify.com/
I do get errors when creating the a new Theme Kit:
 theme new --password=************************** --store=traderiq.myshopify.com --name=traderiq-theme
[traderiq.myshopify.com] theme created
[traderiq.myshopify.com] config created
Exists config.
        Exists config/settings_data.json.
        Exists config/settings_schema.json.
Exists layout.
        Exists layout/theme.liquid.
Exists locales.
        Exists locales/en.default.json.
Exists templates.
        Created templates/collection.list.liquid.
        Exists templates/page.liquid.
        Exists templates/404.liquid.
        Created templates/article.liquid.
        Created templates/blog.liquid.
        Created templates/collection.liquid.
        Created templates/page.contact.liquid.
        Created templates/product.liquid.
        Created templates/search.liquid.
        Created templates/cart.liquid.
        Exists templates/gift_card.liquid.
        Created templates/index.liquid.
        Created templates/list-collections.liquid.
Exists templates/customers.
        Exists templates/customers/activate_account.liquid.
        Exists templates/customers/addresses.liquid.
        Exists templates/customers/login.liquid.
        Exists templates/customers/order.liquid.
        Exists templates/customers/register.liquid.
        Exists templates/customers/reset_password.liquid.
        Exists templates/customers/account.liquid.
Exists assets.
        Created assets/application.css.liquid.
        Created assets/application.js.
[traderiq.myshopify.com] uploading new files to shopify
[development] 100|100 [==============================================================================]  100 %
[development] 100 files, Updated: 100, Errored: 11
[development] Errors encountered:
        [development] (templates/page.contact.json) Section type 'contact-form' does not refer to an existing section file
        [development] (templates/product.json) Filename product already exists with liquid extension, Section type 'template-product' does not refer to an existing section file, Section type 'separator' does not refer to an existing section file, and Section type 'recommended-products' does not refer to an existing section file
        [development] (templates/blog.json) Section type 'parallax-image' does not refer to an existing section file and Section type 'template-blog' does not refer to an existing section file
        [development] (templates/page.about.json) Section type 'carousel' does not refer to an existing section file, Section type 'richtext' does not refer to an existing section file, Section type 'cards-with-image' does not refer to an existing section file, and Section type 'separator' does not refer to an existing section file
        [development] (templates/index.json) Section type 'carousel' does not refer to an existing section file, Section type 'cards-with-image' does not refer to an existing section file, Section type 'external-video' does not refer to an existing section file, Section type 'faq' does not refer to an existing section file, Section type 'richtext' does not refer to an existing section file, Section type 'separator' does not refer to an existing section file, and Section type 'html' does not refer to an existing section file
        [development] (templates/list-collections.liquid) Filename list-collections already exists with json extension
        [development] (templates/password.json) Layout 'password' not found
        [development] (templates/search.json) Filename search already exists with liquid extension
        [development] (templates/cart.liquid) Filename cart already exists with json extension
        [development] (templates/article.json) Filename article already exists with liquid extension and Section type 'template-article' does not refer to an existing section file
        [development] (templates/collection.json) Filename collection already exists with liquid extension
finished command with errors
MacBook-Pro-2:shopify keithpower$ theme deploy
[development] This is the live theme on traderiq. If you wish to make changes to it, then you will have to pass the --allow-live flag
cannot make changes to a live theme without an override
MacBook-Pro-2:shopify keithpower$ theme deploy --allow-live
[development] Warning, this is the live theme on traderiq.
[development] 100|100 [==============================================================================]  100 %
[development] 100 files, Updated: 11, No Change: 89, Errored: 9
[development] Errors encountered:
        [development] (templates/cart.liquid) Filename cart already exists with json extension
        [development] (templates/product.json) Filename product already exists with liquid extension, Invalid value for type in block '8b1fb7b0-dfa9-43f1-90b7-3a36c06e06df'. Type must be defined in schema., Invalid value for type in block '6013329c-a6f0-468d-b01b-b2faf3421650'. Type must be defined in schema., Invalid value for type in block '63acad5a-9780-4912-bd50-b63a4a10d2c8'. Type must be defined in schema., Invalid value for type in block 'fbdb557a-90da-432b-984d-26c8ef0ef590'. Type must be defined in schema., Invalid value for type in block 'f706cec8-65d0-451f-a7e2-aab03ef5b5e0'. Type must be defined in schema., and Invalid value for type in block 'ca528907-98ac-4215-a696-a16f10fe4364'. Type must be defined in schema.
        [development] (templates/list-collections.liquid) Filename list-collections already exists with json extension
        [development] (templates/article.json) Filename article already exists with liquid extension
        [development] (templates/blog.json) Filename blog already exists with liquid extension and Section type 'parallax-image' does not refer to an existing section file
        [development] (templates/page.contact.json) Filename page.contact already exists with liquid extension
        [development] (templates/collection.json) Filename collection already exists with liquid extension
        [development] (templates/index.json) Filename index already exists with liquid extension
        [development] (templates/search.json) Filename search already exists with liquid extension
finished command with errors

I have also created a new folder and tried anther install with the same outcome

I did what you suggested. The homepage is now working. However I am having another issue. I have opened a different issue ticket because not sure if related

I'm glad to hear that


Include TCP_INFO and save results on disk

This change is

Pull Request Test Coverage Report for Build 248

3 of 11 (27.27%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 65.199%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

ndt-server.go
3
11
27.27%

Totals

Change from base Build 246:
-0.3%

Covered Lines:
311

Relevant Lines:
477

💛  - Coveralls

Merging, thank you!


feature: add a warn log for long gc duration

Signed-off-by: SataQiu<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
feature: add a warn log for long gc duration
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews
/cc @Starnop @yeya24

Codecov Report

Merging #953 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #953      +/-   ##
==========================================
+ Coverage   46.45%   46.47%   +0.01%
==========================================
  Files         114      114
  Lines        6737     6737
==========================================
+ Hits         3130     3131       +1
  Misses       3351     3351
+ Partials      256      255       -1

Impacted Files
Coverage Δ

supernode/daemon/mgr/scheduler/manager.go
22.6% <0%> (+0.68%)
:arrow_up:

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 a37632b...46dbec4. Read the comment docs.

@SataQiu Could you please rebase your code and push it again?

Any updates?

Sorry for the delay, it has been updated @Starnop

LGTM


deblur 2021.09

Coverage increased (+0.008%) to 91.171% when pulling 0820f8d5230722eb8f4e0076c2bb0e3b04f6e3a9 on antgonza:deblur_2021.09 into 7d4ad951f805f629dff915153a9da861b74da23a on qiita-spots:dev.

Thanks @antgonza!

Thank you all for the feedback.


ROCm 5.4.3, gfx1012, can not build 28.rccl.sh, error: instruction not supported on this GPU

Environment

Hardware
description

GPU
AMD RX5500M

CPU
AMD R7 4800H

Software
version

OS
Ubuntu 20.04 (Docker) and Debian 12 (host)

ROCm
5.4.3

Python
3.8.10

Hello I try to build Docker with you solution and I can not build 28.rccl.sh with my RX5500M and I got this error instruction not supported on this GPU (please look on logs and Dockerfile that I attached)
I also had patch conflict in 25.rocsparse.sh but I fixed it manually (I also attached it to archive with Dockerfile)
I not sure but looks like we can remove this patch and use CXXFLAGS=-DROCSPARSE_USE_MOVE_DPP=0 as described here https://github.com/ROCmSoftwarePlatform/rocSPARSE/commit/f9446b8f4c3cb3a3c6d38734f9980712a82b9db9
Also I not sure that I correctly resolved this patch - but it built without problems
PS: I used Ubuntu 20.04 as you described in instruction (you can see all steps in Dockerfile)
logs.txt
Dockerfiles_and_patch.zip

Sorry looks like it duplicate of https://github.com/xuhuisheng/rocm-build/issues/44

Fixed build issue using this patch
rccl_patch.zip

And Docker complete building and successfully run Mnist test on my RX5500M


CLBOSS warning on Raspiblitz

Curious if you all as the builders still agree with the warning provided on Raspiblitz specifically mentioning that clboss is not meant for running a profitable routing node. Have more recent versions become more and more economical or even potentially profitable? I'm not looking to make a killing, but very enticing to be able to automate most of the management if able to break even or rake in a few sats every now and then.

@nomo-nomad apologies for the delayed response
We (the VLS project) use CLBOSS to stimulate activity on nodes which allows us to test, develop, benchmark, etc the connected VLS signer.  It's been really helpful.  But we aren't generally concerned w/ profitability so I hesitate to make a recommendation.  I think it's easily better than a poorly maintained node however.
There have also been some recent issues (https://github.com/ZmnSCPxj/clboss/issues/189) which prevented it from working well after the CLN v24.02 release.  I do think we've found the major problem and are close to restoring functionality with https://github.com/ZmnSCPxj/clboss/pull/190
Have you found other alternatives in the meantime?  Always interested in hearing what other things are working out ...

I don't think CLBOSS will be profitable for a while, unless a lot more developer resources are devoted to it.
It's possible that if you just gave CLBOSS a ton of capital, it could actually start routing a lot more payments than my tiny node does. But I'm not aware of anyone who has tried this.
I have lots of ideas for how to make it lose less money, but right now it will lose a few dollars a month on swaps, and there's not much you can do about this. However, if you want a super reliable node for sending and receiving payments, there is no second best.


CRAYSAT-1919: Update to cfs-config-util version 5.1.1

Summary and Scope
The cfs-config-util image is used by the update-mgmt-ncn-cfs-config.sh script, which is used during patch installs. This script updates the CFS configuration assigned to management nodes so that it uses the latest version of the Ansible content from the csm-config-management repo in VCS.
This new version of cfs-config-util adds support for CFS v3, and it fixes a couple bugs that resulted in data being lost from configurations that were modified with this tool (additional_inventory and special_parameters). It also better handles unknown fields in CFS configurations, so if, in the future, additional fields are added to CFS configurations, they won't be lost.
Issues and Related PRs

Resolves CRAYSAT-1919

Testing
Tested on:

drax

Test description:
Built a CSM release distribution that contained the shell script and the latest version of the cfs-config-util image and copied it to drax. Mocked out a new CSM release and associated branch in the csm-config-management repo in VCS. Then executed the script to update the configuration currently assigned to management nodes. The script successfully updated 3 configurations assigned to those nodes and then waited for the nodes to reach a configured status.
Risks and Mitigations
This is pretty low risk, especially for CSM 1.6.0. I do not think this script currently gets used in the normal installation of CSM 1.6.0. As far as I'm aware it has only been used in the installation of CSM 1.4 and 1.5 patch versions (e.g. 1.5.2). It is good to get this fixed well before we have to release CSM 1.6.z patches though.
I will also backport to CSM 1.5 so that the fix will be in place for the next CSM 1.5 patch release, if any.
Pull Request Checklist

[x] Version number(s) incremented, if applicable
[x] Copyrights updated
[x] License file intact
[x] Target branch correct
[x] Testing is appropriate and complete, if applicable
[x] HPC Product Announcement prepared, if applicable

/backport release/1.5


(#513) Refactor into set_log_streams_for_tests() to manage unit-test outputs.

This commit refactors existing chunks of code that exists in different unit- test sources to manage output file handles to a common function, now defined in new file unit/unit_tests_common.c ; set_log_streams_for_tests().
Tests that check error-raising behaviour will now need to call set_log_streams_for_neg_tests(), to manage output streams.
Minor correction to TEST_DB_NAME; change it to conform to the r.e. defined in .gitignore to suppress listing this in 'git status' output.

NOTE: I did not try to make this even more generic beyond unit-tests to have functional/ tests also call into these interfaces. That's why this new file unit_tests_common.c is in tests/unit sub-dir and not in top-level tests/ dir.
I think, let's see how this settles down and if we ever find the need to make functional tests also get this capability, we can consider relocating this new file to tests/ sub-dir.

Small reminder @rosenhouse - to see if you can spend some time on this review. I just rebased off of /main and pushed an updated commit set. Thanks!