Cant enter recovery

Got the first version and a windows keyboard tried ctrl+r win+r and alr+r two ways, from the computer off and from intel nuc screen all combination and Not woking.. Need yo boot there to use My time machine

Have you tried spamming alt+r constantly instead of holding it? Have you tried getting into OC boot picker first then holding alt+r and making a selection?

Spamed alt+r and that did the trick.. Running My time machine now.. Thanks


README states that Auto-Vk requires only a C++17 compiler, but it uses C++20 features

std::basic_string<CharT,Traits,Allocator>::ends_with (used in avk.cpp) is a C++20 feature.

Thanks for pointing that out. I'm using the std::c++latest feature set in MSVC which obviously already includes some C++20 features.
Does this cause any problems with GCC or Clang?
What did you have to adjust with those compilers to make it compile?

I only had to set the C++ Standard from 17 to 20 in CMakeLists.txt, so it wasn't that big of a deal.
I forgot to update the README though.

The readme has been updated in the meantime. Closing this.

The readme has been updated in the meantime. Closing this.


abci: Add relaxed local client synchronization models

Relates to #88.
In this PR, the proxy.ClientCreator interface is expanded such that the client creator has more control over the concurrency model imposed from Comet's perspective for each "connection" (i.e. group of ABCI methods).
This PR also effectively renames the "unsynchronized" local client creator to the "connection-synchronized" local client creator to be more clear on its purpose.
As an example of a more advanced local client concurrency model, it introduces a "consensus-synchronized" local client creator. This only imposes synchronization (i.e. a mutex) on the consensus "connection" to ensure that Comet serializes all of its consensus-related ABCI calls, while all other connections' concurrency models are left up to the application to decide.
Should be able to be reviewed commit by commit.

PR checklist

[ ] Tests written/updated
[x] Changelog entry added in .changelog (we use unclog to manage our changelog)
[ ] Updated relevant documentation (docs/ or spec/) and code comments

Should we also provide a fully unsynchronized local client creator, i.e., the unsyncLocalClientCreator from old PR #9660?

The question there is, do we want to leave the concurrency model up to the application when it comes to the consensus interaction? Or do we want to ensure serialization of all consensus-related requests to the application? My sense is that we'd want to actually enforce that, but just for consensus.
I can see how parallelizing vote extension verification, for instance, could be useful. But would we want to be able to parallelize Prepare/ProcessProposal and FinalizeBlock/Commit?

I can see how parallelizing vote extension verification, for instance, could be useful. But would we want to be able to parallelize Prepare/ProcessProposal and FinalizeBlock/Commit?

This is going to tie into optimistic execution in the SDK I believe. It's hard to imagine what this might look like if CometBFT gives us complete control, but having full concurrent calls to ABCI consensus methods is a game changer for us IMO and something we should have support for.

It's hard to imagine what this might look like if CometBFT gives us complete control, but having full concurrent calls to ABCI consensus methods is a game changer for us IMO and something we should have support for.

Since it's Comet who ultimately calls the application for consensus-related requests, it's up to us to make sure that it's safe and correct to make those calls at the right time(s), in the right sequence, and that requests don't conflict with each other, which is why it seems to make sense to me for us to control the concurrency model just for the consensus-related requests. I have no concerns around offering fully concurrent calling for mempool, query and state sync-related requests (or at least allowing the application control over the concurrency there).
@alexanderbez do you have specific ideas in mind as to how you'd like/need the consensus-related calls to be parallelized?

I think we should add the unsyncLocalClient and then get this merged.
The motivation for adding the fully unsynchronized local client is that this is being used in production (ref1, ref2) already. The main disadvantages: (a) more code for Comet team to maintain, (b) more risk for application builders to misuse the unsynchronized API. We can mitigate risk (b) through documentation and code comments cc @andynog. We cannot mitigate risk (a), but arguably the fact that there exist forks with this custom modification is a bigger risk for the ecosystem.

Sure thing @adizere, I've now added the unsynchronized local client creator :+1:

Yay, glad this got in!

SDK just mentioned they plan to have this tested before end of the year, and the change can be rolled out before the next release of SDK (because of separately versioned modules).

Should we backport this to v0.38.x?

Not sure. @tac0turtle do you see the value in backporting this to 0.38?

depends on when youre next release would be? if its before eoy or even january then it should be fine for us to wait as we will try to make serverv2 compatible with exisitng chains allowing chains to migrate to that sooner then an official release

depends on when youre next release would be? if its before eoy or even january then it should be fine for us to wait as we will try to make serverv2 compatible with exisitng chains allowing chains to migrate to that sooner then an official release

Great! Next release will be before EOY so then no need to backport. I might ask a couple of teams additionally if they need this backported. But by default we won't do it unless there's explicit need for backporting. Thanks!


Disable ws-butler by default in diff-mode

Describe your request
Hi,
IMHO, ws-butler should by disabled by default in diff-mode. Removing the white spaces automatically in this mode is not a good behavior because of the meaning of the white space in a patch and with the help of diff-mode, we could imagine edit manually a patch file (actually, I do that thing regularly).
Briefly explain its use-case

open a patch file
try to add a line with a single white space in a chunk
save the patch (C-x C-s)
the space is gone!

This issue should now be resolved. Let me know if that isn't the case and I'll reopen it. Thanks for bringing it to my attention!


Atlas is no longer able to fly.

Description
Even after stacking on a ton of thrusters I can't get it to move faster than 0.1m/s.

Atlas isnt in game rn iirc

Atlas isnt in game rn iirc

It is.

its no longer a shittle so doesnt apply


CSS fixes

[x] fix #192
[x] fix #193

These changes are required since https://github.com/TailorDev/monod/commit/26e7c58173b4286b61f8ff72759df1e9f2b76c32.

It does print more than the first page on long document :(

I works !!! 🎉


[Bug]: Autocomplete does not show the right data type

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When I try to reference a property, autocomplete sometimes does not show the right data type for the property.
Steps To Reproduce
[slack thread]
Public Sample App
No response
Environment
Production
Issue video log
No response
Version
Cloud

@arunvjn please run an RCA and share next steps

Duplicate of #28371


Incomplete definition of type 'struct x509_st' error when using sk_X509_value(certificates, 0)->signature

Hello,
We are using OpenSSL 1.0 in our project and Its working fine.
Recently we are trying to update  OpenSSL library to 1.1.1 version for the project.
We replaced all the header files, libcrypto.a and libssl.a with from https://github.com/krzyzanowskim/OpenSSL.
But we are getting build error in one of our existing C implementation.
The function with  C implementation is below.
const char *getFileSignature(const char *filePathBytes, size_t filePathSize) {
     const char *signature = NULL;
     STACK_OF(X509) *certificates = NULL;
     //..... Implementations
     X509 *certValue = sk_X509_value(certificates, 0);
     const unsigned char *signatureData;
     int signatureLength;
     signatureLength = certValue->signature->length; //Incomplete definition of type 'struct x509_st'
     signatureData = certValue->signature->data; //Incomplete definition of type 'struct x509_st'
     //..... Implementations
     return signature;
}

Getting build error Incomplete definition of type 'struct x509_st' in signatureLength = certValue->signature->length; and signatureData = certValue->signature->data; lines.
Any idea how can resolve this issue from our implementation or any alternative solution for this case?
Thanks in advance

The X509 type (along with many others) was made opaque in 1.1.0 and above. Use the X509_get0_signatureto get the signature value instead:
https://www.openssl.org/docs/man1.1.1/man3/X509_get0_signature.html

Thanks @mattcaswell
Your answer helped me to resolve the issue.
Below is the resolved code snippet with X509_get0_signature usage.
const char *getFileSignature(const char *filePathBytes, size_t filePathSize) {
     const char *signature = NULL;
     STACK_OF(X509) *certificates = NULL;

     //..... Implementations

     X509 *certValue = sk_X509_value(certificates, 0);
     const unsigned char *signatureData;
     int signatureLength;

     const ASN1_BIT_STRING *asnSignature;
     X509_get0_signature(&asnSignature, NULL, certValue);

     signatureLength = asnSignature->length;
     signatureData = asnSignature->data;

     //..... Implementations

     return signature;
}


polling_updates.py:23: Перенести классы в отдельные файлы 20

The puzzle 899-195b4149 from #899 has to be resolved:
https://github.com/blablatdinov/tg-quranbot/blob/faf3d14afbd20f44e1eebc1b0ab150628e5ddda5/src/integrations/tg/polling_updates.py#L23-L23
The puzzle was created by Ilaletdinov Almaz on 20-Jun-24.
role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 899-195b4149 has disappeared from the source code, that's why I closed this issue.


I want to train this model

I want to train your model, but I couldn't find the corresponding train.py. How can I train this model?

Hi @nil0330 ,
Our method is optimization-based and doesn't require training using train.py. Please refer to here for optimization commands and parameters. You can also find more details in diff_latent_attack.py.

Thanks for your answer !

您好，请问一下我已经把您发的预训练模型下载到了本地，更改了代码中的路径，还是出现这个问题呢，请问这是怎么回事？谢谢


fix: add _update_wrap_data_at_convex_pos

Codecov Report

Merging #52 (99509ba) into master (ad3d5db) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #52   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           24        24
  Lines         1626      1630    +4
  Branches       298       298
=========================================
+ Hits          1626      1630    +4

Impacted Files
Coverage Δ

solutions/adv_2022_22.py
100.00% <100.00%> (ø)

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


Does the learning rate change during training?

rms = RMSprop()
model.compile(loss='categorical_crossentropy', optimizer=rms)
model.fit(X_train, Y_train,
batch_size=batch_size, nb_epoch=nb_epoch,
show_accuracy=True, verbose=2,
validation_data=(X_test, Y_test))
if I used the above optimizer or any other optimizer, does the learning rate change during training?
Shall I change the learning rate manually?

Yes, the learning rate usually changes during training, depending on the optimizer you choose. As no one wants to manually change the learning rate, there are different mechanisms (so called learning rate schedules) to automatically do this. Momentum is another trick to change the learning rate.
Furthermore, some optimizers such as SGD maintain a global learning rate across all parameters, whereas other approaches such as Adagrad or RMSprop effectively use per-parameter learning rates. A nice summary is given here.
Check the keras documentation for the default parameter values.

Use SGD wit mom.
Yes, it will change, absolutely!

@rpinsler Thanks very much.
Could I use the real-time learning rate when the model is trained?

In the Callbacks module, LearningRateScheduler can do what you want.


Build a gpu variant

At the moment we compile caffe from source in our cudnn image. It would be better, but maybe too complicated, to have conda packages. Some links:

Conda-forge docker images WIP for a new image based on nvidia-cuda.
Branch with conda-forge caffe compiled with GPU support

Done


Use Data.Colour as Colour representation

Use package Data.Colour to represent colour in this package, replacing the simple enumerated types I used for Zurihac.

Fixed by ab264f5


Worker panicked if connection reset by peer

thread '<main>' panicked at 'Error occurs: Error { repr: Os { code: 54, message: "Connection reset by peer" } }', /Users/zonyitoo/Projects/coio/examples/tcp-echo-server-limited.rs:64
thread '<unnamed>' panicked at 'Error occurs: Error { repr: Os { code: 54, message: "Connection reset by peer" } }', /Users/zonyitoo/Projects/coio/examples/tcp-echo-server-limited.rs:64
thread '<unnamed>' panicked at 'Error occurs: Error { repr: Os { code: 54, message: "Connection reset by peer" } }', /Users/zonyitoo/Projects/coio/examples/tcp-echo-server-limited.rs:64
thread '<main>' panicked at 'Error occurs: Error { repr: Os { code: 54, message: "Connection reset by peer" } }', /Users/zonyitoo/Projects/coio/examples/tcp-echo-server-limited.rs:64
stack backtrace:
thread '<unnamed>' panicked at 'Error occurs: Error { repr: Os { code: 54, message: "Connection reset by peer" } }', /Users/zonyitoo/Projects/coio/examples/tcp-echo-server-limited.rs:64
   1:        0x10d83c440 - sys::backtrace::write::h6000c312610142aew8r
thread '<unnamed>' panicked at 'Error occurs: Error { repr: Os { code: 54, message: "Connection reset by peer" } }', /Users/zonyitoo/Projects/coio/examples/tcp-echo-server-limited.rs:64
thread '<unnamed>' panicked at 'Error occurs: Error { repr: Os { code: 54, message: "Connection reset by peer" } }', /Users/zonyitoo/Projects/coio/examples/tcp-echo-server-limited.rs:64
thread '<unnamed>' panicked at 'Error occurs: Error { repr: Os { code: 54, message: "Connection reset by peer" } }', /Users/zonyitoo/Projects/coio/examples/tcp-echo-server-limited.rs:64
   2:        0x10d83f799 - panicking::on_panic::h5ba6699237c7b4d5NKw
   3:        0x10d832df2 - rt::unwind::begin_unwind_inner::h4aca1755d37f737c0fw
   4:        0x10d83345d - rt::unwind::begin_unwind_fmt::h1bdaeee21161054d6ew
   5:        0x10d78879a - rt::unwind::try::try_fn::h2379474388515555596
   6:        0x10d83efa8 - __rust_try
   7:        0x10d83bc40 - rt::unwind::try::inner_try::hd8216b9fe11fca4cTbw
   8:        0x10d788ac3 - boxed::F.FnBox<A>::call_box::h3910618379480855939
   9:        0x10d79b7bf - coroutine::coroutine_initialize::hf427719d2d249c9bNyc
thread panicked while panicking. aborting.

Minimal test case
extern crate coio;

use coio::Scheduler;

fn main() {
    Scheduler::new().with_workers(2).run(|| {
        loop {
            Scheduler::spawn(|| {
                Scheduler::sched();
                panic!("Just panic!");
            });
        }
    }).unwrap();
}

This program will print out
thread 'Worker 1' panicked at 'Just panic!', examples/loop_panic.rs:10
thread 'Worker 1' panicked at 'Just panic!', examples/loop_panic.rs:10
stack backtrace:
   1:        0x1036a0888 - sys::backtrace::tracing::imp::write::hce2f1d7df9a6ac6eW5s
   2:        0x1036a204f - panicking::log_panic::closure.38916
   3:        0x1036a1af9 - panicking::log_panic::hb9569ec1e39cdd527Uw
   4:        0x1036989f4 - sys_common::unwind::begin_unwind_inner::haeffb18d8a0216a0u8r
   5:        0x103615ca7 - sys_common::unwind::begin_unwind::h299509344594415806
   6:        0x10364375e - main::closure.7655
   7:        0x1036435f2 - scheduler::Scheduler::spawn_opts::closure.7652
   8:        0x1036435cd - try::closure.7649
   9:        0x1036433a7 - thread::catch_panic::closure.7645
  10:        0x103643389 - sys_common::unwind::try::try_fn::h11047726112562185057
  11:        0x10369fd58 - __rust_try
  12:        0x10369de3e - sys_common::unwind::try::inner_try::h5efc4bb9f1eaef3c24r
  13:        0x103643340 - sys_common::unwind::try::h8731999042205468625
  14:        0x10364319d - thread::catch_panic::h17773043214844242791
  15:        0x10364313b - try::h16045251145919867838
  16:        0x10364306a - scheduler::Scheduler::spawn_opts::closure.7642
  17:        0x103644a1c - boxed::F.FnBox<A>::call_box::h12398177750358903531
  18:        0x10366db1b - boxed::Box<FnBox<A, Output $u3d$$u20$R$GT$$u2b$$u20$$u27$a$GT$.FnOnce$LT$A$GT$::call_once::h10680920054568869059
  19:        0x10366d9a7 - coroutine::coroutine_initialize::__rust_abi
  20:        0x10366d93c - coroutine::coroutine_initialize::he3e5684adeeeb7baobc
thread panicked while panicking. aborting.An unknown error occurred

Still wondering why it said "thread panicked while panicking."

Bug does not exists in the latest commit.


Add Operator docs using a tag wildcard

@EricWittmann hi, this is a simple change to include all present & future Operator releases, please take a look. How do I rebuild the site after this is merged?


Type-X in use (indicates user demand and worthiness of future financing?)

 It seems like a greatly beneficial tool.”
Mirko Velomirovic: “I use type-x constantly for proofing  Construction sign WIP Construction sign. There’s something invaluable about being able to see your changes in context in near real time. Also who doesn’t want the confidence boost of seeing their favorite sites set in their type without the hassle of negotiating contracts”
Johannes López Ayala: “Wow, excellent tool. Looking forward to the Firefox version.”
Toshi Omagari: “Sounds like the exact kind of plug-in I’ve always wanted.”
Alanna Munro: “Yes! I use this for proofing in progress fonts in the browser with real content as well!”
Plau: “Use it all day everyday. Proofing custom fonts in client's own product is what it's all about.”
Justin Penner: “Thanks for building Type-X! I use it for immersive proofing when I'm working on a typeface. Auto-reloading would be my top feature request (I see there’s a GH issue already).”
Gor Jihanian: ”Type-X is incredibly useful for testing fonts on real websites with real content. It has become an integral part of my workflow…even have shortcuts set up to export font->switch to chrome->active type-x->load font”
Alessia Mazzarella: “I use Type-X every time I want to test my typefaces in the real world. Love it! Another round please”
Tweets from the Production Type Twitter account:

From the release newsletter of DJR’s February Font of the Month: Warbler Text

I feel there'd be good use for site-specific filters, (e.g. for side-by-side comparisons)

Love the tool and would buy / donate to keep it going!

DJR:
https://www.instagram.com/p/Cm_6KsBr0QK/

https://typo.social/@w__h_/109866945982657811

I want to make a simple webpage for proofing fonts that has typeset text with different styles and weights and sliders for macro- and micro- typography ... most of the drag-and-drop testers only test a single style at a time..
I've just been running something like @arrowtype's Type-X on pages with already good typography but I wonder if there's something I can start with already...


Copied HTML content through textutil and pbcopy is not showing

I have a use case where I am dynamically pushing html content to the clipboard using a shell command and noticed that maccy for some reason does not support it.
Steps to reproduce:

Open the terminal
Execute the following command

echo "google" | textutil -stdin -stdout -format html -convert rtf | pbcopy

Paste into the Notes app and get a clickable link like this: google
Trigger maccy and the copied content does not appear on the list

Notes:

It doesn't appear to be an issue with pbcopy because plain text content works fine, like this example

echo "this is a test" | pbcopy

tried a couple of other options to push html content to the clipboard but didn't find one yet that works with maccy, currently using something similar to the following apple script:
set rawHTML to "google"
set escapedData to do shell script "echo " & (quoted form of rawHTML) as «class HTML»
set the clipboard to escapedData

I located where this was failing in Maccy. In Clipboard() line 177 this condition if types.contains(.string) && isEmptyString(item) is true because the string type is empty. The data is there but it is being populated into the rtf type instead of string.

If only rtf type is present, Maccy will ignore it indeed as it's unaware of how to present this data inside its UI. I suppose there is a way to convert RTF to a plain string for the UI purpose, so I think this is something that can be fixed.

I was able to format the rtf data using NSAttributedString(rtf: ) as seen in the development branch of my fork. but what I noticed is the rtf field of NSPasteboard is populated quite often. Copying any text in MacOS for example, populates the formatting data into the rtf field. So would need a new approach in Maccy, to review the rtf data and determine whether or not it is relevant to the current copy operation. In this example, which part of the copied data should Maccy capture, the text, the hyperlink, or the full rtf data?

Whenever there is a pasteboard item that has RTF/HTML but no plain text, Maccy should still capture and store it. For UI purposes, it needs to construct a plain text string from the input somehow.

Yep, agreed. The plain text is easily extracted from the rtf data using NSAttributedString.

This is a bit trickier that I anticipated, but I've just pushed a first attempt to support RTF/HTML copies. Both examples of textutil and AppleScript now work, though copying RTF from Maccy would not properly detect the old copy and create a new one. There are probably more edge cases so I'll do some testing.


Dump offline-plugin's version to SW/AppCache output

This will help to know which version of offline-plugin produces particular SW/AppCache when debugging.

Fixed in v4.


ROX-15260: Add option to show all network policies

Description
This PR adds an option to show all network policies like in Network Graph 1.0

Checklist

[ ] Investigated and inspected CI test results
~[ ] Unit test and regression tests added~
~[ ] Evaluated and added CHANGELOG entry if required~
~[ ] Determined and documented upgrade steps~
~[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)~

/retest


Added support for transparency images

This will ensure that images with transparency will be allowed to perform color transformations on Android

Many thanks @ckrempp91 !
Shouldn't we do that for all transformations? Or it's needed only for this one?

I believe it is only an issue with Android because it can not determine the correct Bitmap.Config, I was able to test UWP and it works properly. I am unable to test the other platforms though.

Many thanks @ckrempp91 👍


Add airbnb style linting and correct all lint errors

Big PR, but minor changes.  Simply implements linting via eslint and airbnb style preset.

Changes Unknown when pulling 7baab62d2dc64bd58a21bcbf7397359e8efb352e on add-linting into ** on master**.


Full instance scope of uhdmref_obj via vpiActual

You got it.
If you want to avoid going back and forth, you can invoke the optional UHDM uniquification phase:

In Surelog option -elabuhdm, or
after reloading UHDM, invoke the UHDM elaborator in your main: (2 lines of code) https://github.com/alainmarcel/UHDM/blob/4926f83bfe5b8d7f16ffd9572e280e6236fca25c/util/uhdm-dump.cpp#L131)

That way you can navigate the uhdmTopModules and don't need to go to the uhdmAllModules. Memory is larger or course, but all types and sizes are uniquified.
Originally posted by @alaindargelas in https://github.com/chipsalliance/UHDM/issues/319#issuecomment-962473989

Hi @alaindargelas
We are able to uniquify uhdmallModules and uhdmtopModules structures, and we're able to fetch the full paths of, for example, nets in continuous assignments when we're walking through uhdmtopModules -- except that some objects of type uhdmref_obj do not produce full instance paths when queried for vpiFullName, and so, we instead fetch the handle for vpiActual (according to uhdm-dump) which gives us another uhdmref_obj with which we again query vpiFullName; this is giving a segmentation fault. However, vpiName (instead of vpiFullName) prints the local name as expected. Any idea what's going on here? Could segmentation error be for something else?
The relevant part of our code looks like this:
std::string visitref_obj(vpiHandle h) {
  vpiHandle actual = vpi_handle(vpiActual, h);
  if(actual) { //because some objects are directly resolved
    result += "found actual: ";
    result += vpi_get_str(vpiFullName, actual); //vpiName works just fine
  }
  else result += vpi_get_str(vpiFullName, h); //also works fine
  return result;
}

If you need more details, I can share the entire code.
TIA
Anoop

Resolved the issue. So, vpiActual when available, will have a vpiFullName (at least we did). But the segmentation fault was because sometimes, this ref_obj would be of type uhdmenum_const in which case vpiFullName was throwing the segmentation fault; we were able to mitigate this issue by having a conditional vpiDecompile for uhdmenum_const.


Series

What is this PR trying to achieve?
Sorry for the jumbo PR.

Abstracts out the series container (I realise the word container is used in the CSS - we need to have a pow wow about naming / semantics)
Creates the list page, now used for series and content types (A drop in the ocean, articles)

I went down the route of using route classes as when I tried to use the page-description I landed up in that horrible place of changing one thing and breaking two.
What does it look like?

For interface components

[x] Browser testing - Have you checked the component in our supported browsers
[X] No javascript - Have you checked the component with javascript disabled
[X] A11y testing - Have you run pa11y against the component and fixed/verified all errors, warnings and notices?

Next up:
Pagination controls.


flutter 打包ios包，审核时一直被拒，提示说是app 一直停留在启动页

我直接运行是没有问题的，生产环境的证书配置也是没有问题的。打包上线的就被appstore拒绝。拒绝的信息如下，后台我咨询确认了一次，他们的意思就是应用停留在启动页。
Guideline 2.1 - Performance - App Completeness
We discovered one or more bugs in your app when reviewed on iPhone and iPad running iOS 12.4 on Wi-Fi.
Specifically, your app stays at the splash screen after launch.
Next Steps
To resolve this issue, please run your app on a device to identify any issues, then revise and resubmit your app for review.
If we misunderstood the intended behavior of your app, please reply to this message in Resolution Center to provide information on how these features were intended to work.
For new apps, uninstall all previous versions of your app from a device, then install and follow the steps to reproduce the issue. For updates, install the new version as an update to the previous version, then follow the steps to reproduce the issue.
Resources
For information about testing your app and preparing it for review, please see Technical Note TN2431: App Testing Guide.
For a networking overview, please review About Networking.

@huifeidemao This is a question better suited for StackOverflow, since there doesn’t seem to be anything wrong with Flutter itself, but relates to AppStore review policies and the app implementation. See https://flutter.dev/community for support options. Closing as it's not an issue report.
If you disagree, feel free to open a new issue, providing more details about the app.
For future, please use English while describing your issue as it's generally accepted, not that many people who could help are speaking Chinese and it can scare them away.

打包之前运行下如下命令就可以了  flutter build ios --release


Onboarding security analytics dashboards plugin.

Description
Onboarding security analytics dashboards plugin. Security analytics 3.0 isn't available yet (currently, it is set to version 2.4), so the checks are expected to fail for now. This PR https://github.com/opensearch-project/opensearch-dashboards-functional-test/pull/380 will onboard security analytics directly to the 2.x branch.
Issues Resolved
[List any issues this PR will resolve]
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@AWSHurneyt Please check the workflow failure https://github.com/opensearch-project/opensearch-dashboards-functional-test/actions/runs/3415650616/jobs/5685003590

@tianleh The security analytics back and frontend plugins are currently set to version 2.4, so 3.0 artifacts aren't available. That seems to be the cause of the failure.

@tianleh The security analytics back and frontend plugins are currently set to version 2.4, so 3.0 artifacts aren't available. That seems to be the cause of the failure.

In this case, please notify on the thread when it is ready for review. (when 3.0 artifact has your changes)

@tianleh The security analytics back and frontend plugins are currently set to version 2.4, so 3.0 artifacts aren't available. That seems to be the cause of the failure.

In this case, please notify on the thread when it is ready for review. (when 3.0 artifact has your changes)

@tianleh Will do. For now, I'll revert this PR back to a draft as well.

@AWSHurneyt The PR is still in draft status. Are you ready to move it to be ready for review? If not needed, could you close the PR?


RTSP stream as output and custom functions

First of all, thanks for the amazing repo!
I am a beginner in DeepStream and currently learning Savant to convert pytorch-based multi-streamsCV analytics pipeline to DeepStream/Savant based pipeline to improve runtime performance on Jetson devices. I want to implement custom functions such as line-cross counting similar to sample video and also want to stream outputs as RTSP stream. Also, I want to upload counted results to Azure CosmosDB or Firebase in interval. I am struggling to integrate these functions to Savant and kinda lost on where to start right now. Can you please guide me on this? Thanks in advance!

Hello, @HtutLynn we haven't yet officially published Savant. In the nearest days, we will finally publish it and provide live examples and a Medium article on how to use it. I will keep you posted.

@bwsw , that is really helpful! I am really looking forward to the official publication of Savant along with examples and docs. Would love to contribute too!

Outdated


Move elemental services to /etc

Move elemental-setup-* and elemental-rootfs services from /usr/lib/systemd/system to /etc/systemd/system.
Fixes #1896

Not sure if this is acceptable in SLE though.
afaik, /usr/lib/systemd/system == vendor-owned systemd files, /etc/systemd/system == user-owned systemd files 🤔

Not sure if this is acceptable in SLE though. afaik, /usr/lib/systemd/system == vendor-owned systemd files, /etc/systemd/system == user-owned systemd files 🤔

Wasn't that what was agreed in https://github.com/rancher/elemental-toolkit/issues/1896#issuecomment-1880763476 ?
Should I revert this and we can try to get the files into the rpm db instead?

Let's leave it as-is for now. But we need to be prepared for pushback from IBS 😞


Support go multiple return values as an array

Add support for go funcs which return multiple values by returning them as an array.
In the future this can be used along side destructuring assignment to provide a nice way to deal with multiple value returns e.g.
[val, err] = MyGoFunc()

:+1:

:+1:


Support AWS Provider V5

what
Support AWS Provider V5
Major release due to breaking change in S3 upgraded module
Linter fixes
why
Maintenance
references
https://github.com/hashicorp/terraform-provider-aws/releases/tag/v5.0.0

/terratest

/terratest

/terratest

/terratest

/terratest

/terratest

Ready to review / merge

/terratest

/terratest

@max-lobur can you fix all tests outputs like @Nuru asks

not expecting this to be finished given the comments in the sweetops slack


Add VQEProgram

Summary
Add the VQEProgram as convenient user-facing interface to call the runtime VQE script. Implements the MinimumEigensolver interface to be usable as drop-in replacement for other algorithms such as VQE or NumPyMinimumEigensolver.
Details
I've added tests in a seperate test directory like in the other Qiskit repos. I see that we don't yet have that e.g for the circuit runner. Did we just not yet get around to creating a test directory or is there a reason not to have one? 🙂

Did we just not yet get around to creating a test directory or is there a reason not to have one?

There's actually a test directory in circuit-runner that should be moved to root test directory...


Wrong logic in NXP driver for watchdog

Describe the bug
I am working on a i.MX from NXP and implemented the watchdog using the Zephyr API. During development the watchdog was not behaving as expected and I looked into the driver code and probably found a bug
To Reproduce
In the following file the logic is wrong. The watchdog options for sleep and debug get set when the corresponding bit is 0, which is not correct according the Zephyr API.
https://github.com/zephyrproject-rtos/zephyr/blob/2815b6d710ad9c7ba25725ae34c402fc9153c427/drivers/watchdog/wdt_mcux_imx_wdog.c#L44-L48
I corrected it for my i.MX RT, but found two more files in Zephyr 3.6 where this issue is also existent:
https://github.com/zephyrproject-rtos/zephyr/blob/2815b6d710ad9c7ba25725ae34c402fc9153c427/drivers/watchdog/wdt_mcux_wdog.c#L45-L49
https://github.com/zephyrproject-rtos/zephyr/blob/2815b6d710ad9c7ba25725ae34c402fc9153c427/drivers/watchdog/wdt_mcux_wdog32.c#L53-L57
Expected behavior
The correct way would be invert the logic, just like this:
 data->wdog_config.workMode.enableStop =
 	(options & WDT_OPT_PAUSE_IN_SLEEP) == WDT_OPT_PAUSE_IN_SLEEP;

 data->wdog_config.workMode.enableDebug =
 	(options & WDT_OPT_PAUSE_HALTED_BY_DBG) == WDT_OPT_PAUSE_HALTED_BY_DBG;

I fixed it locally, but it would be nice to have it in the next Zephyr release included :)
Impact
The watchdog runs just fine and also triggers fine. But it does not stop when the device is put to sleep, which can cause miss-triggers. Also when debugging the code and halting the core wit the debugger the watchdog also triggers.
This is annyoing, especially when you don't know the cause of the reset.
Logs and console output
N/A
Environment (please complete the following information):
Probably all i.MX processors, also all S32 processors. I am not sure, which processor are using the file wdt_mcux_wdog.c and wdt_mxuc_wdog32.c, but this bug could have a big scope
Should I create a PR for this to be fixed? I can open one for the 3 above mentioned files

If you could submit a PR, that'd be great. If these bugs are confirmed, they should be backported too.

This bug was with v3.6 but was fixed in v3.7


Check equipment use logged by the model

PR #1341 allowed for the logging of equipment used for service delivery in the model. The healthsystem.summary logger now records by Facility_ID which pieces of equipment are called upon my modules to run HSIs. Based on an unconstrained 10-year run (100,000 population) from 11 July 2024, 50 pieces of equipment were logged across different levels of care - see .csv file below. This issue requests disease module leads to verify whether this log makes sense, i.e. whether they would like to incorporate the use of any further pieces of equipment at any level or remove any.
tlo_equipment_log_summary.csv

Easily readable version of .csv below

|   | Facility_Level |   |   |   |
-- | -- | -- | -- | -- | -- | --
Equipment_name | Item_code | 1a | 0 | 2 | 3 | 4 | 5
Height Pole (Stadiometer) | 0 | TRUE | - | TRUE | - | - | -
Weighing scale | 1 | TRUE | - | TRUE | - | - | -
Autoclave | 2 | - | - | TRUE | - | - | -
Blood pressure machine | 6 | TRUE | - | TRUE | - | - | -
Thermometer | 7 | TRUE | - | TRUE | - | - | -
Stethoscope | 13 | - | - | TRUE | - | - | -
Glucometer | 15 | TRUE | - | - | - | - | -
Haemoglobinometer | 17 | - | - | TRUE | - | - | -
Ultrasound, combined 2/4 pole   interferential with vacuum and dual frequency 1-3MHZ | 279 | TRUE | - | - | - | - | -
MUAC tape | 24 | TRUE | - | - | - | - | -
Sputum Collection box | 30 | TRUE | - | TRUE | - | - | -
Ordinary Microscope | 31 | TRUE | - | TRUE | TRUE | - | -
Bed, adult | 35 | - | - | TRUE | - | - | -
Resuscitaire | 293 | TRUE | - | TRUE | - | - | -
Nasal Prongs | 294 | TRUE | - | TRUE | - | - | -
Bucket,10L | 40 | - | - | TRUE | - | - | -
Lamp, Anglepoise | 41 | - | - | TRUE | - | - | -
Light, emergency, solar, with battery   backup | 43 | TRUE | - | TRUE | - | - | -
Suction machine | 62 | TRUE | - | TRUE | - | - | -
Drip stand | 68 | TRUE | - | TRUE | - | - | -
Stool, adjustable height | 69 | - | - | TRUE | - | - | -
Sponge Holding Forceps | 70 | TRUE | - | - | - | - | -
Oxygen concentrator | 365 | TRUE | - | TRUE | - | - | -
Patient monitor | 111 | - | - | TRUE | - | - | -
Patient monitor | 113 | - | - | TRUE | - | - | -
Casting chairs | 115 | - | - | TRUE | - | - | -
Sphygmomanometer | 372 | TRUE | - | TRUE | - | - | -
Tilt table | 117 | TRUE | - | - | - | - | -
X-ray viewer | 119 | - | - | TRUE | - | - | -
Casting platform | 123 | - | - | TRUE | - | - | -
Analyser, Combined Chemistry and   Electrolytes | 125 | - | - | TRUE | - | - | -
#N/A | 403 | - | - | TRUE | - | - | -
Ultrasound scanning machine | 161 | - | - | - | TRUE | - | -
Computed Tomography (CT machine) | 164 | - | - | TRUE | - | - | -
CT scanner accessories | 165 | - | - | TRUE | - | - | -
Infusion pump | 170 | TRUE | - | TRUE | - | - | -
Delivery Trolley | 171 | - | - | TRUE | - | - | -
Cuscoâs/ bivalved Speculum (small,   medium, large) | 172 | TRUE | - | TRUE | - | - | -
Oxygen concentrator | 179 | TRUE | - | - | - | - | -
Delivery set | 184 | TRUE | - | TRUE | - | - | -
Stethoscope, foetal, monaural, Pinard,   plastic | 188 | TRUE | - | TRUE | - | - | -
X-ray machine | 202 | - | - | TRUE | - | - | -
Laparotomy Set | 212 | - | - | TRUE | TRUE | - | -
Hysterectomy set | 213 | - | - | - | - | - | -
Bipolar Diathermy Machine | 214 | - | - | TRUE | - | - | -
Suction Curettage machine | 218 | - | - | TRUE | - | - | -
Analyser, Chemistry | 221 | TRUE | - | TRUE | - | - | -
Pulse oximeter | 243 | TRUE | TRUE | TRUE | - | - | -

@EvaJanouskova do you know what item_code 403 is?

Initial thoughts/ things we can check:

Suprised stethoscope not used at 1a
I think that ultrasound should definitely be used at other levels?
Need to look at delivery trolley and set, why is set used at 1a, 1b/2 and trolley only at 1b/2
Why is hysterectomy set listed but not used?

Also just to say in the list here some of these items have been combined (i.e. a regular stethoscope and feotal stethoscope). Just checking now with the original

Hi @sakshimohan (@tbhallett @EvaJanouskova). I went through all the modules quickly and checked to see if there was equipment in the code that hadn't been logged in this output. Following are missing:

Hi @joehcollins Many thanks for taking a look at this. This is very helpful. Looking through the latest Equipment catalogue in master I realised that some of the item_code to equipment_name mapping might have updated since I put together the costing database. I have now remapped the equipment names in the table above (in bold). You'll notice that 7 pieces of equipment are different now. This addresses some of your points (checked below)-

[ ]  * Analyser, heamotology used in NCDs but not on list - now used at levels 1a and 2

[ ]  * Trolley, patient used in HIV but not on list - used at level 2

[ ]  * Delivery forceps or Vacuum extractor used in Labour not on the list - effect of small numbers

[ ]  * Analyser, heamotology used in Labour but not on list

[ ]  * Tray, emergency used in Labour but not on list - ** used at 1a and 2**

[ ]  * Gene Expert (16 Module) in Tb but not on list
A few other comments we could maybe discuss:

[ ]  * Some of the items above seem to be a combination of multiple items - I've checked with the original

[ ]  * Delivery Trolley doesnt appear to be called anywhere in the code...dont know how it made the list - Item_code 171 was incorrectly mapped to this name

[ ]  * Why is hysterectomy set listed but not used?

[ ]  * In the original spreadsheet there are some repeats of equipment with the same codes? (oxygen concentrator/patient monitor). Is this a combination? - Oxygen concentrator and Patient monitor were incorrectly mapped to two Item_codes

[ ]  * Why is the microscope being use at level 1a...

[ ]   Why is the microscope being use at level 1a...

It could be because of HSI_Tb_ScreeningAndRefer.

I've gone through the catalogue and found a few additional items missing from your list beyond those Joe identified:

[ ] Cystoscope ... used in bladder_cancer, level 1b
[ ] Endoscope ... used in oesophagealcancer, level 1b

Btw, a few items have some name issues:

[ ] Cusco‚Äôs/ bivalved Speculum (small, medium, large) You could probably remove the apostrophe if you like so it won't create any issues. It was without the apostrophe in the original data anyway. Now I do know why.
[ ] item 363, the name is 'exer' and alternative name 'Thin mattress' (Obviously smt went wrong there. From the original data I would say that the item name should be 'Thin mattress', and alternative name 'thin mattres'---the alternative is the name from the original data which includes a typo.)

I have also looked up the cancer modules and find a few items which are in your list but not in the fac. level for which the equipment is called. Maybe HSI can be redirected to another level? I haven't dive into this in the model yet, hence cannot say if that's so.

[ ] Ultrasound scanning machine ... is called from bladder_cancer, other_adult_cancers and prostate_cancer, level 1b
[ ] Blood pressure machine ... Major surgery pkg, that includes this item, is called from bladder_cancer, breast_cancer, oesophagealcancer, other_adult_cancers and prostate_cancer, level 3

The items called from contraception module seem to be logged correctly. There is no equipment in stunting and wasting.


Universal macOS Binary

Can you update the Action to build universal macOS (Darwin) binary?
Not sure if GitHub Action needs special care, but in Terminal it's:
# Rust Cross-compile Support
rustup target add x86_64-apple-darwin
rustup target add aarch64-apple-darwin

# Cargo Build
SDKROOT=$(xcrun -sdk macosx --show-sdk-path) cargo build --target=x86_64-apple-darwin --release
SDKROOT=$(xcrun -sdk macosx --show-sdk-path) cargo build --target=aarch64-apple-darwin --release

# Combine Archs
mkdir -p ./target/release
lipo -create ./target/x86_64-apple-darwin/release/dovi_tool ./target/aarch64-apple-darwin/release/dovi_tool \
     -output ./target/release/dovi_tool

We already have a x86 build, so what you need is a build targeting Apple silicon?
Such as the M1/M2.

Yes. Apple has been releasing new Macs exclusively with Apple Silicon chips for quite some time. Sooner or later x86 will be obsolete.
A universal binary combines artifacts for both architectures in a “fat” file. It runs (natively) no matter the client arch. While you can make arm64 a separate download, it’s more user-friendly to release a universal binary, so end users just pick that macOS download and wouldn’t need to worry about machine-specifics.

On Aug 28, 2022, at 21:45, quietvoid @.***> wrote:

We already have a x86 build, so what you need is a build targeting Apple silicon?
Such as the M1/M2.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

I went over the issue in your edit. I think the issue focuses more on building universal binaries using Rust/Cargo only.
My script only uses Rust/Cargo to build single arch releases (like usual), then relies on macOS/Xcode tools to actually produce the universal binary. I don't think this workflow is affected by that issue. All commands check out and the final binary is reported to support both archs. Since dovi_tool artifact is single-file, I also don't think there will be issues resolving dependencies.
I only have access to Intel machine at the moment. I'll find a way to test the produced binary on both platforms and report back my findings.

VasID's workflow is correct, it's just usually hidden by XCode.  Since you're not (?) worried about Mac store submission you don't need the rest of the mess.
I'll concur that from my unfortunate time as a dev on some Clang-based witchcraft that you can just build the two architectures in sequence and slap them together with lipo.  It was standard on iPhones back when I was doing it during the transitions from ARMv6 to 7 and then 7 to AArch64, and you could do debug builds for x86-based iDevice emulation that also contained the ARM binary.  You can't do cross-platform (phone + desktop), or at least couldn't before, but there wasn't any reason to.  Because of the way the tool I was a compiler engineer / dev on worked, our XCode integration hijacked their normal build steps and inserted lots more, and did exactly what Vas is doing when both were in binary form.   It never failed unless we were dealing with XCode betas, which screw up more than a meth-starved carnie at a sobriety contest.
The only dependency issues would be externals.   Since this isn't a very complicated piece of software you can statically link and avoid those problems.
I normally don't promote it but if nobody has an ARM mac, just build both and run it through lipo and see if anybody complains.    dyld will take care of loading the correct architecture and if there's an accidentally malformed ARM binary in there somehow that lipo didn't catch (possibly set to a phone chip on accident?), it'll probably just silently load it anyway;  since the Mx macs emulate x86 you won't know unless you debug it or trace logs from the loader.
Just my 2 cents.

I have a Homebrew formula in a custom tap I've been using to build what I use on macOS. I've used it for quite a while so I consider it stable enough to submit it to the main Homebrew repository. If @quietvoid is ok about it and we get enough interest I'll submit it.

The goal would be to have the CI build the binary for releases, so having a brew package isn't really relevant.

I've tested this on a M2 system and it works fine, so I'll add it to the CI soon.

Sample binary for testing: https://github.com/quietvoid/dovi_tool/actions/runs/3791703498
Otherwise it'll be present in the next release.


Pyflyte prettified

TL;DR
pyflyte is used by thousands of developers, lets make it pretty
Type

[ ] Bug Fix
[x] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[x] Smoke tested
[x] Unit tests added
[x] Code documentation added
[x] Any pending items have an associated Issue

This is amazing!


Improve Website Responsiveness

Description:
This pull request addresses the responsiveness issue described in #4.
It begins the process of improving the overall responsiveness of the website on a feature branch responsive-angular. Using TailwindCSS’s built-in responsive utilities (e.g., sm:, md:, lg:), I've started adjusting various components to ensure they scale properly across different screen sizes, starting with the header.
Changes made:
Implemented TailwindCSS responsive classes across the header component to ensure proper display on mobile devices and smaller screens.
Made layout adjustments to improve the user experience on different screen sizes.
Next steps:
Additional commits will be added to continue addressing responsiveness issues across other parts of the website as part of an ongoing effort to make the site fully responsive before merging.
Screenshots/Preview:

So far everything is turning out to be good. All NonAuth routes have been made responsive.
Todo: Auth Routes
https://github.com/user-attachments/assets/b59dce91-1fc6-4c2f-9fee-1ef9080de2a1


[AIRFLOW-2369] Fix gcs tests

The version was hardcoded and would break if you update the version of Apache Airflow.
Make sure you have checked all steps below.
JIRA

[x] My PR addresses the following Airflow JIRA issues and references them in the PR title. For example, "[AIRFLOW-2369] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-2369
In case you are fixing a typo in the documentation you can prepend your commit with [AIRFLOW-2369], code changes always need a JIRA issue.

Description

[ ] Here are some details about my PR, including screenshots of any UI changes:

Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[ ] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[ ] In case of new functionality, my PR adds documentation that describes how to use it.

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.

Code Quality

[ ] Passes git diff upstream/master -u -- "*.py" | flake8 --diff

😀 Apologies. This LGTM 🤩

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@813136f). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #3260   +/-   ##
=========================================
  Coverage          ?   75.29%
=========================================
  Files             ?      197
  Lines             ?    14712
  Branches          ?        0
=========================================
  Hits              ?    11078
  Misses            ?     3634
  Partials          ?        0

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 813136f...2b34681. Read the comment docs.


Run Dialogue One Line command with Admin Permission

I would like to see the read me also mention that you can use the run dialogue and type:
powershell iwr -useb https://christitus.com/win | iex
Then do CTRL + SHIFT + ENTER to execute the PowerShell command as administrator.

Never used this for elevation, but is interesting. I added a routine at the beginning to auto elevate so this isn't needed.


-path-derivative and -path-out are redundant

Originally posted in https://github.com/spinalcordtoolbox/manual-correction/issues/12#issue-1580052623:

-path-derivative and -path-out are kind of redundant/confusing. They could be merged

I believe these flags are not redundant, indeed:

-path-derivative should be used to specify the path from the bids dataset to the derivatives folder we want to use (ex: derivatives/labels or derivatives/labels_softseg see --> spinegeneric)
-path-out should be used to specify the full path to the output folder where the modified data will be stored (ex: /tmp/new_labels) --> this way, the user won't be obliged to modify the current datasets

That sounds doable! Could you please propose a PR?

Resolved in https://github.com/spinalcordtoolbox/manual-correction/pull/43 in the context of input args refactoring.


05/29/2018 03:01 : Create Pull Request for branch master -> prTesting1_2018052902

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon1.md
:white_check_mark:Succeeded

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


Making differential work when you use gzipRename

when using gzipRename it's necessary to rename object.dest before comparing against the server files.

Ah! Good shout, however I'm having a hard time working out exactly what changed (the diff is a little messy). Did you essentially move the rename part before the isFileDifferent check (what would make sense)?

yeah, I moved all the rename part to a separate function and I just call it before checking if object.dest is in the server list.
P.S.: maybe checking the diff with 'split' style helps? git made some clever diff thing in the commit that makes it very confusing.

Published in 0.12.2. Thank you!


fix wrong comment

Signed-off-by: Xiang Dai<EMAIL_ADDRESS>Fix wrong comment.

Hi @daixiang0. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/ok-to-test


Fix IndexError in title extraction

If the title consists of only the open graph site name and a splitter,
an IndexError is hit in clean_title.
Fixes: #59

This looks straight forward and I like that it has a test! I will do a more in-depth review in the next day or so. Thanks for the catch!


Promise.pending missing from API docs

Or has this been left out on purpose?

It has been deprecated in 2.0 too (probably even 1.x) , use the promise constructor.


feat(ci-cd): add sync-docs action

Description
This PR Adds sync-docs action to automatically raise pull request on arc-docs for any documentation updates.
Fixes #90

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Field arithmetic constraints for foreign fields

Implement field arithmetic constraints for foreign fields generally
https://hackmd.io/XZUHHGpDQsSOs0dUGugB5w?view
This is useful for many goals, including

Shrinking # pub inputs to snark because we can do field arithmetic native in field rather than passing to inductive step
Performing signature verification for bitcoin and ethereum

General notes about kimchi constraints:

First 7 columns work for permutation argument (other columns can be though of as scratch space)
Adjacent rows can be constrained
Max 4 plookups per row (to keep max degree of constraints low)

Notes about ploookup

We can support at most width 15 table (= 2^15 size)
It's usually a good idea to keep the plookup table as small as possible (for kimchi performance)

Note that for goal (1) above we need to support the following non-native, native field combinations

Native
Foreign

Fp Pallas
Fq Vesta

Fq Vesta
Fp Pallas

where Pallas and Vesta a the pasta curves used by Mina with field moduli

p = 2^254 +<PHONE_NUMBER>1419706090280762371685220353
q = 2^254 +<PHONE_NUMBER>1506369815346746415080538113

For goal (2), recall that Bitcoin and Ethereum use secp256k1, where the field modulus is

b =  2^256 - 2^32 - 2^9 - 2^8 - 2^7 - 2^6 - 2^4 - 1

Here we'd want to support these combinations

Native
Foreign

Fp Pallas
Fb secp256k1

Fq Vesta
Fb secp256k1

The field moduli require the following number of bits

Modulus
Bits

b
256

p
255

q
255

The ideal plookup table width w for Kimchi is somewhere in [0, 12].
With w = 12 a naive approach would mean 12-bits per limb, but for 256-bit foreign field elements, this would result in 22 limbs per operand, increasing the number of terms and constraints required.
An alternative approach is to simulate a limb using sub-limbs.  For example, we can define a sub-limb as 88-bits and support up to 264-bit for the foreign field modulus, plenty of room for our goal.
Each sub-limb can be constrained by a combination of smaller plookups and degree-4 "crumb" constraints.
Specifically, given an 88-bit sub-limb L

Let Lpi := ith 12-bit chunk of L [constrained by 12-bit plookup]
Let Lci := ith 2-bit crumb of L [constrained by x * (x - 1) * (x - 2) * (x - 3)]

L can be decomposed like this

L = Lp5 ... Lp0Lc7 ... Lc0

or this

L = Lp3 ... Lp0Lc19 ... Lc0

88-bits in total.
Mapping to Kimchi rows
Given a 3-limb foreign field element
L = L0...L2
a limb Lk can be written as
Lk = Lk,p0Lk,p1Lk,p2Lk,p3Lk,p4Lk,p5Lk,c0Lk,c1Lk,c2Lk,c3Lk,c4Lk,c5Lk,c6Lk,c7
or
Lk = Lk,p0Lk,p1Lk,p2Lk,p3Lk,c0Lk,c1Lk,c2Lk,c3Lk,c4Lk,c5Lk,c6Lk,c7Lk,c8Lk,c9Lk,c10Lk,c11Lk,c12Lk,c13Lk,c14Lk,c15Lk,c16Lk,c17Lk,c18Lk,c19
and we pack the field element into 4 rows like this.

0
1
2
3
4
5
6
7
8
9
10
11
12
13
14

L0
plookup L0,p0
plookup L0,p1
plookup L0,p2
plookup L0,p3
copy  L0,p4
copy  L0,p5
crumb L0,c0
crumb L0,c1
crumb L0,c2
crumb L0,c3
crumb L0,c4
crumb L0,c5
crumb L0,c6
crumb L0,c7

L1
plookup L1,p0
plookup L1,p1
plookup L1,p2
plookup L1,p3
copy  L1,p4
copy  L1,p5
crumb L1,c0
crumb L1,c1
crumb L1,c2
crumb L1,c3
crumb L1,c4
crumb L1,c5
crumb L1,c6
crumb L1,c7

L2
plookup L2,p0
plookup L2,p1
plookup L2,p2
plookup L2,p3
crumb L2,c0
crumb L2,c1
crumb L2,c2
crumb L2,c3
crumb L2,c4
crumb L2,c5
crumb L2,c6
crumb L2,c7
crumb L2,c9
crumb L2,c9

plookup L0,p4
plookup L0,p5
plookup L1,p4
plookup L1,p5
crumb L2,c10
crumb L2,c11
crumb L2,c12
crumb L2,c13
crumb L2,c14
crumb L2,c15
crumb L2,c16
crumb L2,c17
crumb L2,c18
crumb L2,c19

Work was happening on this branch before David's reorg https://github.com/o1-labs/proof-systems/tree/feature/nnmul
Old issue in mina repo was https://github.com/MinaProtocol/mina/issues/9905
It's now been moved to this branch https://github.com/o1-labs/proof-systems/tree/feature/foreign_mul


object using custom directives does not trigger events

I tried to use a select2 integration following the official Custom Directive Example (http://vuejs.org/examples/select2.html).
In this scenario the classic v-on:change="someMethod" approach stop working. If I remove the custom directive and the select become a simple standard select the event handling work again.

This is because select2 doesn't dispatch native change events. You can use a watcher to watch the bound value instead.


Rule based application discovery in myaccount portal

Is your feature request related to a problem? Please describe.

Right now all the applications which are marked as discoverable are visible in the myaccount portal but there are usecases where there is a need to filter apps based on roles, tenant, etc
Describe the solution you would prefer

Additional context

Especially if you use role-based PDP policies like we do, apps that are discoverable by all are unfavorable. This leads us again and again to level 1 support requests. From my point of view this would be a very important feature!

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


[WIP] [kwokctl] Add tool stage

What type of PR is this?

/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #1027
Based on #1067
Special notes for your reviewer:
Does this PR introduce a user-facing change?

[kwokctl] Add `tool stage`

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

NONE

/retest


Cookiecutter treeviewitem Names are not accessible to Screen Readers

The cookiecutter treeview does not properly define AutomationProperties for its items, so Windows UIAutomation api exposes the type name of the viewmodels backing the items. This prevents users relying on assistive technology (such as screen readers) from knowing what those items are.

Thanks for the report. We'll have a look.


It's not possible to set an email recipient's name when using a Notification sent via the Mail channel

This affects Laravel 5.6.
When sending email, it's best practice to set the recipient name alongside their email address — e.g. John Smith<EMAIL_ADDRESS>This can help reduce the likelihood of emails going to spam.
When using a Illuminate\Mail\Mailable class, you can use the to() function to set the name and address:
/**
 * Set the recipients of the message.
 *
 * @param  object|array|string  $address
 * @param  string|null  $name
 * @return $this
 */
public function to($address, $name = null)
{
    return $this->setAddress($address, $name, 'to');
}

Likewise, you can also do this with the Mail facade:
Mail::to([['name' => 'John Smith', 'email'=> 'john.smith@example.com']])->send(
    (new MyMailable($content))
);

However, the Laravel docs suggest using an Illuminate\Notifications\Messages\MailMessage class to issue notifications. This class doesn't have any kind of to() method defined on it.
It will automatically detect the recipient's email when you call it against a User class, but will simply send to<EMAIL_ADDRESS>as opposed to John Smith<EMAIL_ADDRESS>The latter option would increase deliverability and reduce the likelihood of emails disappearing into spam.

I can make changes and send pull request if nobody working on it yet.

hi. it seems this is already fixed a while ago.
https://github.com/laravel/framework/pull/24606

Hi there,
Welcome to Laravel and we are glad to have you as part of the community.
Unfortunately this GitHub area is not for ideas, suggestions etc. This is only for issues/bugs with the framework code itself.
I will be closing your ticket here. You are able to open a ticket at https://github.com/laravel/ideas
Alternatively you are able to open a PR using the Contributions guidelines: https://laravel.com/docs/5.7/contributions#which-branch
If you feel I've closed this issue in error, please provide more information about how this is a framework issue, and I'll reopen the ticket.
Thanks in advance.


[VL] Fix hash aggregate fail with mixed supported and unsupported aggregate functions

What changes were proposed in this pull request?
This pr fixes the bug that in native validation, when we check the aggregate signatures, we will return true once one of the aggregate functions matches. This pr changes to return ture only if all aggregate functions signatures match.
select c1, collect_set(c2), max(c2) from t group by c1;

23/08/24 13:27:45 ERROR TaskSetManager: Task 1 in stage 9.0 failed 1 times; aborting job
org.apache.spark.SparkException: Job aborted due to stage failure: Task 1 in stage 9.0 failed 1 times, most recent failure: Lost task 1.0 in stage 9.0 (TID 23) (<IP_ADDRESS> executor driver): java.lang.RuntimeException: Exception: VeloxUserError
Error Source: USER
Error Code: INVALID_ARGUMENT
Reason: Aggregate function 'array_distinct' not registered
Retriable: False
Function: intermediateType
File: /Users/cathy/Desktop/code/gluten/ep/build-velox/build/velox_ep/velox/exec/Aggregate.cpp
Line: 248

How was this patch tested?
add test

thank you @PHILO-HE for review , merging to main!

query
log/native_master_08_25_2023_time.csv
log/native_master_08_25_2023_9e627a6cc_time.csv
difference
percentage

q1
43.20
43.72
0.524
101.21%

q2
24.53
24.50
-0.031
99.87%

q3
36.86
35.54
-1.318
96.42%

q4
39.38
39.98
0.597
101.51%

q5
69.79
69.75
-0.046
99.93%

q6
6.83
6.27
-0.554
91.89%

q7
85.31
84.51
-0.801
99.06%

q8
78.10
79.62
1.523
101.95%

q9
117.88
115.92
-1.966
98.33%

q10
46.18
46.82
0.643
101.39%

q11
19.76
19.63
-0.136
99.31%

q12
24.70
25.40
0.693
102.81%

q13
49.41
49.82
0.415
100.84%

q14
19.61
14.11
-5.497
71.96%

q15
29.15
25.98
-3.165
89.14%

q16
16.13
15.81
-0.319
98.02%

q17
119.41
119.49
0.083
100.07%

q18
161.99
160.67
-1.317
99.19%

q19
11.83
12.35
0.515
104.35%

q20
24.07
25.09
1.021
104.24%

q21
231.74
235.03
3.294
101.42%

q22
15.41
15.36
-0.048
99.69%

total
1271.28
1265.39
-5.890
99.54%


Make preference-opening command universal

The $EDITOR ~/.hyperterm.js && exit requires that the default shell recognize variables as commands and to recognize the && syntax, so it does not work with fish shell. The new command works with all common shells, including fish.
Old behavior with fish:

Brilliant. Thank you


feat(tx-interpret): sign transaction interpretation

Changes description
When signing from dapps, should show transaction interpretation. Users should understand what they signing, for example, sending fund before they approve the transaction
Preview

Ref finance swap

Ref finance add liquidity

Ref finance stake liquidity pool

Burrow supply

Burrow staking

Burrow withdraw

Paras buy nft

Linear staking

Linear liquid unstake

@race-of-sloths

@superokid Thank you for your contribution! Your pull request is now a part of the Race of Sloths!

Current status: waiting for scoring
We're waiting for maintainer to score this pull request with @race-of-sloths score [0,1,2,3,5,8,13] command. Alternatively, autoscoring [1,2] will be applied for this pull request
What is the Race of Sloths

Race of Sloths is a friendly competition where you can participate in challenges and compete with other open-source contributors within your normal workflow
For contributors:

Tag @race-of-sloths inside your pull requests
Wait for the maintainer to review and score your pull request
Check out your position in the Leaderboard
Keep weekly and monthly streaks to reach higher positions
Boast your contributions with a dynamic picture of your Profile

For maintainers:

Score pull requests that participate in the Race of Sloths
Engage contributors with fair scoring and fast responses so they keep their streaks
Promote the Race to the point where the Race starts promoting you
Grow the community of your contributors

Feel free to check our website for additional details!

Bot commands

For contributors

Include a PR: @race-of-sloths include to enter the Race with your PR

For maintainers:

Assign points: @race-of-sloths score [1/2/3/5/8/13] to award points based on your assessment.
Reject this PR: @race-of-sloths exclude to send this PR back to the drawing board.
Exclude repo: @race-of-sloths pause to stop bot activity in this repo until @race-of-sloths unpause command is called

@race-of-sloths score 8


Mirror meta-mingw

Mirror meta-mingw repository. Some restructuring was necessary to support additional repos.
Closes #10

Mirror Repo: https://github.com/jhnc-oss/meta-mingw


[Feature] Add image optimisation

Use @nuxt/image to optimise images.

🥇

nevermind. adding this and switching to NuxtPicture (required appears to have broken things)

I will merge this to my branch and see then merge it to the develop branch as noone is picking up.

Found authorImage is being used instead of post.authorImage


Stacked mounts don't work as expected

Due to the lack of an intermediate representation (pre-chroot filesystem), stacking mounts doesn't work due to the check_path() check. check_path operates on the host path, where the intermediate mount is in the image's tree (inside the namespace)
For example:
from: /tmp
to:/picnic,
from:/picnic
to:/picnic
(assuming /picnic doesn't exist outside the namespace).
This could be solved by presenting the admin with an option to disable the sanity checks. Otherwise, we need to pass the in-image path to check_path() only when we are stacking mounts
This is really only necessary if we assume that the image can't/shouldn't be prepared in advance

Need to verify this is still broken after 13960278c0d15c3fe91bd7f2e036ee517b89ca5c.


Setup not working - Fix xComputerManagement required version

Probably doing something really simple wrong but it’s eluding me. I’ve read all the instructions and postings.
Started with a fresh install of Windows and PS-Autolab
PSVersion : 5.1.17763.592
Edition   : Desktop
OS        : Microsoft Windows 10 Enterprise LTSC
PSAutolab : 4.2.0
Lability  : 0.18.0
Memory    : 4100236
Followed all the steps in the Readme.md file but Unattend-Lab will not download anything so I manually downloaded the ISO files and put them in the Autolab\ISOs directory. Using Get-Labmedia cmdlet from the Lability module to find the download link and saved the file using the filename.
Still none of the labs will configure. Here’s what happens.
PS C:\Autolab\Configurations\PowerShellLab> Unattend-Lab
This runs Setup-Lab, Run-Lab, and Validate-Lab
Starting the lab environment
This is the Setup-Lab script. This script will perform the following:
    * Run the configs to generate the required .mof files

Note! - If there is an error creating the .mofs, the setup will fail
* Run the lab setup
Note! If this is the first time you have run this, it can take several        hours to download the ISO files and resources depending on the configuration. You may also see new drives being added and removed as the ISO is mounted and converted. This step should only happen the first time you run this command.
** Possible problem
If the downloads finish but the script doesn't continue (pauses), press the Enter key once and it should continue
*You will be able to wipe and rebuild this lab without needing to perform the downloads again.
Installing required DSCResource modules from PSGallery
You may need to say "yes" to a Nuget Provider
xActiveDirectory [v<IP_ADDRESS>] requires no updates.
xComputerManagement [v<IP_ADDRESS>] requires no updates.
xNetworking [v<IP_ADDRESS>] requires no updates.
xDhcpServer [v<IP_ADDRESS>] requires no updates.
xWindowsUpdate [v<IP_ADDRESS>] requires no updates.
install xPSDesiredStateConfiguration version <IP_ADDRESS>
xPendingReboot [v<IP_ADDRESS>] requires no updates.
xAdcsDeployment [v<IP_ADDRESS>] requires no updates.
xDnsServer [v<IP_ADDRESS>] requires no updates.
xWebAdministration [v<IP_ADDRESS>] requires no updates.
Build the .Mof files from the configs
At C:\Autolab\Configurations\PowerShellLab\VMConfiguration.ps1:26 char:5

Import-DSCresource -ModuleName PSDesiredStateConfiguration,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Could not find the module '<xComputerManagement, <IP_ADDRESS>>'.
+ CategoryInfo          : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : ModuleNotFoundDuringParse
Building the lab environment for PowerShellLab
Failed to start lab configuration.
Cannot locate node 'DOM1' file and no DSC configuration can be applied. Ensure the DSC configuration has been run successfully.
At line:114 char:13

        throw ($localized.CannotLocateMofFileError -f $Name);

        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : OperationStopped: (Cannot locate n...n successfully.:String) [], RuntimeException
FullyQualifiedErrorId : Cannot locate node 'DOM1' file and no DSC configuration can be applied. Ensure the DSC configuration has been run successfully.

Any help would be greatly appreciated.
Thank you,

I had found an issue with DSC resource versioning that I thought I had fixed. In the meantime, I think the short term fix is to manually install the resource setup is looking for.  In an elevated PowerShell session run:
Install-Module xComputerManagement -requiredversion <IP_ADDRESS> -force

Then try setup again.

Thank you so much. It is downloading and trying to setup the lab. Unfortunately, I'm getting this error for the last several hours now:
Invoke-Pester : A parameter cannot be found that matches parameter name 'Show'.
At C:\Program Files\WindowsPowerShell\Modules\PSAutoLab\4.2.0\functions\public.ps1:478 char:49

    $test = Invoke-Pester -Script $testpath -Show none -PassThru

                                            ~~~~~

CategoryInfo          : InvalidArgument: (:) [Invoke-Pester], ParameterBindingException
FullyQualifiedErrorId : NamedParameterNotFound,Invoke-Pester

Sorry I just read problem #195 and it applies to my setup. I'll try it that. :)

This should be addressed in v4.3.0 which updates Pester during host setup.


Failed to get the dns service IP list

kdocker agent app v0.2.0
Failed to get the dns service IP list

Hwo To Reproduce
In the program, the default dns service label is selected as "k8s-app": "kube-dns". In the official definition of core-dns, this label is not available, resulting in an empty IP list corresponding to the acquisition of DNS services, resulting in a subsequent index error on the list:Panic details: runtime error: index out of range [0] with length 0
The default core-dns service name is :kubernetes.io/name: "CoreDNS", official link: https://github.com/coredns/helm/blob/master/charts/coredns/templates/_helpers.tpl
Expected behavior
Correct DNS service IP address list

@carryaimp  Thank you for raising this issue. The kube-dns label does look a bit old. You are welcome to submit a PR to fix this issue.


csrf.exempt  CSRF fails under nested blueprints

When adding csrf.exempt on a blueprint that has a child blueprint, it only works on the parent blueprint.
bp_main = Blueprint('main', __name__)
csrf.exempt(bp_main)

bp_child = Bluepirnt('child', __name__)

bp_main.register_blueprint(bp_child)

I'd really like to fix it, but I wonder if it's better to check all blueprints in the before_request section with if any([blueprint in self._exempt_blueprints for blueprint in request.blueprints]): (csrf.py, line 220) or to add child blueprints recursively when adding a blueprint to self._exempt_blueprints (csrf.py, line 295). The first one would be much more readable but less performant, the second one would bug, if new blueprints are registered on the blueprint after adding it to the excemts.
Any opinions on this?

Unfortunately I'm not qualified to give an opinion on this, but having just run into this issue myself, I thought I'd comment to re-raise the issue.
Especially since explicitly marking sub-blueprints as csrf exempt also seems not to work:
from flask import Flask, Blueprint
from flask_wtf import CSRFProtect

app = Flask(__name__)
app.config.from_mapping({
    'API_TITLE': 'TEST API',
    'API_VERSION': 0.1,
})
app.secret_key = 'SOME_SECRET'
csrf = CSRFProtect(app)

blp1 = Blueprint('blp-one', __name__, url_prefix='/blp-one')
blp2 = Blueprint('blp-two', __name__, url_prefix='/blp-two')

@blp1.route('/test', methods=('POST',))
def post_test():
    return 'OK'

@blp2.route('/test', methods=('POST',))
def post_test():
    return 'OK'

blp1.register_blueprint(blp2)
app.register_blueprint(blp1)

csrf.exempt(blp1)
csrf.exempt(blp2)

app.run(port=12345)

As this demonstrates
import requests

ret = requests.post('http://localhost:12345/blp-one/test')
assert ret.status_code == 200
ret = requests.post('http://localhost:12345/blp-one/blp-two/test')
assert ret.status_code == 400

print(ret.text)
"""
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>400 Bad Request</title>

Bad Request

The CSRF token is missing.

"""

Fix released in 1.1.2

I don't know whether it is intended, but an exempt on the parent blueprint still leads to the views of the nested blueprint to be protected.
From what you did in the tests, i would have expected that exempting the parent would lead to the children being exempted as well.

In some of my projects we splitted a bigger exempted blueprint into multiple smaller nested blueprints, that should all share the exempt of the parent. Exempting them individually is possible but was not intuitive to me, since conceptually they are part of the parent blueprint

One thing I am not sure how to deal with is a situation like this:
bp1 is exempted
bp2 is not exempted
bp3 is nested in bp1 and also in bp2
In that situation bp3 could be exempted or not exempted depending on the urls. I am wondering if that could cause difficulties in some ways :thinking:

To be honest, I did not think of such a construct. Maybe one could use a config variable deciding if the the .blueprint is checked or if it is enough when any of the blueprints is exempted


Error when loading in-place

Fixed problem that labeling mechanism tried to find first event while loading (which was null).


Running docker container will not mount the datadir in host volume

Steps to reproduce
Run a daemon
docker run -it -d --name tdexd --restart unless-stopped -p 9945:9945 -p 9000:9000 -v `pwd`/tdexd:/.tdex-daemon ghcr.io/tdex-network/tdexd:latest

Check the folder inside, you will notice folders there
docker exec -it tdexd bash
cd home/user/.tdex-daemon/
ls

If you exit and check the local tdexd mounted folder will be empty instead

never mind was the wrong location of the -v flag -v pwd/tdexd:/home/tdex/.tdex-daemon
documentation is outdated and lead this error

Fixed https://github.com/tdex-network/dev-portal/pull/46


[web] Hides that Flutter uses requireJS in debug.

Flutter web uses requireJS in debug mode to assemble a DDC-compiled app from a bunch of small files ("modules").
This caused that canvaskit.js (and all other modules that used a browserify-like loading header) didn't work because they attempted to use the define function provided by Flutter's instance of requireJS (which kept the defined modules private, rather than as globals on the page, as the users of the JS expected).
A fix was added to flutter/engine to trick loaders into not using the requireJS module loader, but a recent change in the fix's js-interop layer subtly changed its JS output on the page (objects went from undefined to null), causing this:

https://github.com/flutter/flutter/issues/126131 (and others)

This PR hides a bit of code that is commonly used by module loaders to decide that they may use the define function provided by requireJS (so the engine workaround can be removed).
Next steps

https://github.com/flutter/engine/pull/42941

Issues
Partially addresses: https://github.com/flutter/flutter/issues/126131 (and others)
Tests

Added a unit test to ensure the delete stays
Manually tested with the Gallery app in debug mode with a bunch of user-supplied scripts that currently fail to load.

Also tested hot restart as suggested by @nshahan

Pre-launch Checklist

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

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

@ditman is this one ready to merge?

@christopherfujino yes, but I'm gardening for flutter/packages and was waiting until monday to land this, so I can pay attention to potential breakages caused by this. I'll add the autosubmit label and let the bot do its thing :P

Try again my beloved bot!

Try again, again, my beloved bot!


Move native-tls dependencies from with-tokio feature to use-tokio-native-tls feature

This should fix #369

Seems like it's actually not that simple since rust-s3 seems to depend directly on hyper-tls which doesn't support rustls. Sorry for the noise, I thought this would be a simple change.


new fixes and stuff

...And embracing CSS attribute selectors because that's where our craft is headed.

I have a newer revision of this. Also I am too tired to bother with posting the same witty bollocks again.


🐛 Fix type annotations for Model.parse_obj(), and Model.validate()

fix SQLModel.parse_obj, SQLModel.validate method return type
"SQLModel" -> _TSQLModel
issues link

Good catch, thank you @phi-friday! :cake:
This will be available in the next release, SQLModel 0.0.7, released in the next hours. :tada:


Subscript parsimonious regrammar

There are some outstanding issues here, to do with several macro functions, and subscript selection. However, I think at this point it is an improvement on the master, and we should make this the new master.

Changes Unknown when pulling 5c5cf05f3e1429e19d08713905525565097940f3 on subscript-parsimonious-regrammar into ** on master**.


 The codebase pre-dates lockfiles, so there is no yarn.lock or package-lock.json to pin library versions. Evidently something has drifted.
In general, we should be able to upgrade this addon's version of Ember-CLI and commit the update with a lockfile.
Refs: https://github.com/rwjblue/ember-debug-handlers-polyfill/pull/3

Since caching is set up on Travis, maybe getting the node_modules from a cache would help determine working versions? If this seems worth looking into, let me know.


Binding a server to <IP_ADDRESS> doesn't expose that particular IP

I'm not sure if this is specifically a WSL problem or a Windows problem, but if I run a server in WSL that binds to http://<IP_ADDRESS>:9966, going to that URL doesn't work. I have to specify localhost for the site to resolve.
Any recommendations?

This one does not look specific to WSL. Windows probably does not allow socket connect API to take wildcard addresses. #388 has a good discussion on this. You can also confirm this by removing WSL out of the picture and just writing a simple native Windows app.

Marking this one closed. If you feel that this is WSL specific, please re-open it.


update.py throws an error

See original issue on GitLab
In GitLab by [Gitlab user @traveltissues] on Jul 10, 2019, 17:43
Steps to reproduce
PYTHONPATH=$(pwd):$PYTHONPATH ./tests/cachekey/update.py
will raise a BstError from get_last_task_error ("Getting the last task error is only supported when running tests")
What is the expected correct behavior?
The element.expected files should be updated with the new cache keys.
Possible fixes
update.py could mock BST_TEST_SUITE to the os.environ dict

In GitLab by [Gitlab user @traveltissues] on Jul 10, 2019, 17:43
changed the description

In GitLab by [Gitlab user @traveltissues] on Jul 10, 2019, 17:44
changed the description

In GitLab by [Gitlab user @traveltissues] on Jul 10, 2019, 18:01
assigned to [Gitlab user @traveltissues]

In GitLab by [Gitlab user @traveltissues] on Jul 10, 2019, 18:05
mentioned in merge request !1468

In GitLab by [Gitlab user @traveltissues] on Jul 10, 2019, 18:44
mentioned in commit 04caf8e5bfc9a5f2315fc97bedc1e776aa54099f

In GitLab by [Gitlab user @traveltissues] on Jul 15, 2019, 10:59
mentioned in commit 8d69d7098fb7a7cde83d8639415d164d29c1f56b

In GitLab by [Gitlab user @traveltissues] on Jul 15, 2019, 16:42
mentioned in commit 8f9e4a81361b2ee25af4885b79227dfff8b59526

In GitLab by [Gitlab user @traveltissues] on Jul 18, 2019, 10:20
mentioned in commit db57101b66629d3c3ac0af76354042eddfc3fff9

In GitLab by [Gitlab user @marge-bot123] on Jul 18, 2019, 11:44
closed via merge request !1468

In GitLab by [Gitlab user @marge-bot123] on Jul 18, 2019, 11:45
mentioned in commit d79747d7ee2596a73f4ec68bd40bd2ca04427a93

In GitLab by [Gitlab user @traveltissues] on Jul 18, 2019, 16:02
mentioned in commit 974bc9f91271a0de8d2f5a15357a14ba249e75a1

In GitLab by [Gitlab user @traveltissues] on Jul 25, 2019, 15:24
mentioned in commit 5e7cba3949d81df2e40d51119389afb4e0c1817b


Charts-syncer homebrew package

Most other container tools are retrievable by homebrew and it makes it easy to update all my packages once.

Hello @sa02!
We will consider this request for future development.

Thank you  @jotadrilo. Here is the kubectl homebrew package as an example.
https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/kubernetes-cli.rb


Add Prerequisite data

Ensure the data is captured well, details documented as should, give something worth a look.

All seems good. Merge and let's see the output.


fatal error: Index out of range

I have followed the example, and running the code results in the above error in the
func moveHighlighterView(toItemAt toIndex: Int) {
        guard let countItems = dataSource?.numberOfItems(inTabSwitcher: self) where countItems > toIndex else {
            return
        }

        let toLabel = labels[toIndex]
        let toIcon = buttons[toIndex]

        // offset for first item
        let point = convertPoint(toIcon.frame.origin, toView: self)
        let offsetForFirstItem: CGFloat = toIndex == 0 ? -HighlighterViewOffScreenOffset : 0
        highlighterView.frame.origin.x = point.x + offsetForFirstItem

        // offset for last item
        let offsetForLastItem: CGFloat = toIndex == countItems - 1 ? HighlighterViewOffScreenOffset : 0
        highlighterView.frame.size.width = toLabel.bounds.width + (toLabel.frame.origin.x - toIcon.frame.origin.x) + 10 - offsetForFirstItem + offsetForLastItem

        highlighterView.backgroundColor = dataSource!.tabSwitcher(self, tintColorAt: toIndex)
    }

section of the ColorMatchTabs Source Code

Hi @akhilm3! Thanks for reporting the issue
Have you faced the issue in our example or in your own?

In my own code, I basically followed the example but put everything into one file and changing a few lines to get them to work.

Could you describe what you've changed? It'd be great if you can provide the project with the crash

The Bug is 100% reproducible.

Support landscape and portrait mode (example is only portrait)
Run the app
Rotate to landscape and select e.g. item 3
Rotate back to portrait mode
Crash

@mooseDev, thanks for the report. I'll investigate the issue

@mooseDev currently we don't support landscape orientation. If you wanna fix it, please, create a PR

Still getting this error in portrait mode and ive copied almost everything except i changed the viewcontrollers to my own.

Never mind i fixed it by adding reloadData() Sorry for the hassle


BLE suddenly disconnected, Wi-Fi and BLE coexist case. (IDFGH-13900)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.3.1
Espressif SoC revision.
ESP32-D0WDR2-V3-V3 (revision v3.1)
Operating System used.
Windows
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
None
Development Kit.
Custom Board
Power Supply used.
USB
What is the expected behavior?
I expected BLE to keep connected.
What is the actual behavior?
BLE will be randomly disconnected.
Steps to reproduce.

Wi-Fi & BLE coexist;
ESP32 keep receiving BLE notificaiton data;
Using ESP32 Wi-Fi publish notification data to MQTT;
...

Debug Logs.

Attached BLE & log level set to verbose.
2024-10-17_debug.log

Hi @Sky-Soo-Ap , thanks for reporting the issue and the logs. I would like to collect following information for further analysis.

Can you provide the sdkconfig file of the project?
How frequently does this issue reproduce, and how long it does it take?
I would like to confirm on the activities of Wi-Fi and BLE when the issue occurs:

Wi-Fi STA mode is in use and Soft AP mode is not enabled, right?
For BLE, there is only one connection, without other activities include scanning or advertising, right?

Does this issue happens in the same scenario : https://github.com/espressif/esp-idf/issues/14743
How severe is the air wireless interference? What is the distance from the remote BLE device?

Hi Wmy,
1.Can you provide the sdkconfig file of the project?
The attachment is the sdkconfig file.
sdkconfig.txt
2.How frequently does this issue reproduce, and how long it does it take?
A few hours or 1 day or 2 days.
3.I would like to confirm on the activities of Wi-Fi and BLE when the issue occurs:

Wi-Fi STA mode is in use and Soft AP mode is not enabled, right?
Yes, Soft AP is not enabled.
For BLE, there is only one connection, without other activities include scanning or advertising, right?
Yes.

Does this issue happens in the same scenario : https://github.com/espressif/esp-idf/issues/14743
Yes, if BLE is disconnected before it gets stuck, it can be reconnected.
Continue to receive notification data transmitted by BLE and publish MQTT data using Wi-Fi.
How severe is the air wireless interference? What is the distance from the remote BLE device?
How to measure wireless interference in the air? The distance to the remote BLE device is about 50cm.

Hi @Sky-Soo-Ap thanks for the information.
For Question 5 on estimation of wireless interference, it is enough to roughly tell me how many wireless devices(BLE devices, WLAN APs, etc) that uses 2.4GHz band are there in your test environment, and what are the distances from the device under test nearby.
Here is my initial analysis for this issue:
LOG1:
I (11:39:09.557) azp_gatt_client: ESP_GATTC_CONNECT_EVT conn_id = 0, link_role = 0, remote_bda = bb a0 50 78 97 d5, interval = 12, latency = 0, timeout = 600

Analysis: Device acts as a central(master) role in BLE connection, connection  interval is 15ms(12 * 1.25ms), connection timeout is 6s(600 * 10ms).

LOG2:
W (2604698) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x8

Analysis: BLE link disconnects, due to supervision timeout(rsn 0x8). Supervision timeout means that one device has not received valid packets from peer device for as long as Supervistion_Timeout, which is 6s in this scenario.

In case of wireless coexistence of BLE connection + WiFi STA mode, part of BLE connection events(15ms interval) will be pre-empted by Wi-Fi activities, however, the SupervisionTimeout is as long as 6s, which allows at most 400 chances for two devices to communicate and restore synchronization. In this case, occasional interference(not severe) is not likely to break the connection, I think.
However, we don't know yet whether the BLE supervision timeout is caused by the DUT(central) or the remote BLE device. So I would suggest to
continue to investigate the following factors:

What is the remote BLE device? Is it also an ESP32? Does it enable other wireless activities other than BLE?
Set BLE sleep clock accurcy to 500ppm, instead of 250ppm:

    CONFIG_BTDM_BLE_DEFAULT_SCA_250PPM=n
    CONFIG_BTDM_BLE_DEFAULT_SCA_500PPM=y

This may make peripheral to use larger Rx window and improve the robustness of BLE link.
Besides, suggest to modify the following configuration options, which may improve the wireless coexistence performance:

CONFIG_FREERTOS_HZ=1000: to improve context switch frequency to reduce possible lagging of scheduling BLE lower level task.
Change Bluedroid related log levels from VERBOSE to WARNING, to reduce CPU loading

Hi Wmy,
Thank you for your detailed reply.
I will modify what you mentioned as follows and try to get the log:
CONFIG_BTDM_BLE_DEFAULT_SCA_250PPM=n
CONFIG_BTDM_BLE_DEFAULT_SCA_500PPM=y
CONFIG_FREERTOS_HZ=1000
Change Bluedroid-related log levels from VERBOSE to WARNING.

What is the remote BLE device? Is it also an ESP32? Does it enable other wireless activities other than BLE?
Not ESP32 and no support for wireless activities other than BLE.

However, We don't know yet whether the BLE supervision timeout is caused by the DUT (central) or the remote BLE device.
Is there a way to add the log to determine whether a packet has been sent, received, or missed in each connection interval?

Hi Wmy,
About the estimation of wireless interference, there are another 2 devices that use the 2.4 GHz band at about 5 meters.
I’m attaching the log and sdkconfig files after changing those suggestions except “CONFIG_BTDM_BLE_DEFAULT_SCA_250PPM=y” due to only this option.
2024-10-21.log
sdkconfig.txt
BTW, do you know how the ESP32 client (master) role in BLE listens and responds to peripheral (slave) update connection interval parameters requests?

HI @Sky-Soo-Ap

Is there a way to add the log to determine whether a packet has been sent, received, or missed in each connection interval?

I am afraid we don't have such lower-level statistics. If you have a sniffer you can check the air packets.

BTW, do you know how the ESP32 client (master) role in BLE listens and responds to peripheral (slave) update connection interval parameters requests?

Usually ESP32 as BLE central will accept the connection update request from peripheral.
I have check the log file "2024-10-21.log", there is a new phenomenon that did not occur in "2024-10-17_debug.log":
I (17:48:38.102) azp_gatt_client: update connection params status = 0, min_int = 12, max_int = 40, conn_int = 40, latency = 10, timeout = 600

This indicates connection parameter is updated, connection interval is increased to 50ms(40 * 1.25ms), and slave latency is set to 10. This parameter set will behave quite differently from the original log that uses 15ms connection interval and 0 slave latency. Current parameter is more risky in case of BLE connection robustness in wireless coexistence mode.
My questions:

In your previous tests when BLE disconnects due to reason 0x8, do similar connection parameter update procedure happen?
In your application, can you determine the BLE connection parameter and choose another parameter set or reject the slave request?
What is your expected performance on BLE connection? If BLE disconnection is unavoidable and some reconnection mechanism must be performed, how much influence does it have on your product/solution?

Hi Wmy,

In your previous testing, does a similar connection parameter update process occur when BLE is disconnected with reason 0x8?
In the previous test, no connection parameters were updated; however, there will be preset values for the peripherals in the future, which is under debugging.

In your application, can you determine the BLE connection parameters and select another parameter set or deny the request from the device?
In my application, BLE connection parameter requests from the device or MQTT subscription are not rejected.

What performance can you expect from your BLE connection? If BLE disconnection is unavoidable and some reconnection mechanism must be implemented, how much impact does this have on your product/solution?
The impact is huge. Because it is Central (master), it is connected to more than one peripheral device. If one device BLE is disconnected and encounters an exception when reconnecting, it will be stuck for 30 seconds until it times out, and other devices will not be able to update data in real time. If the connection is blocked three times after reconnection, the data cannot be updated in real time for one and a half minutes.

Also, how do I set the BLE connection timeout?

Hi @Sky-Soo-Ap ,

how do I set the BLE connection timeout?

The default BLE supervision timeout is 6s when acting as central. There is an inner macro BTM_BLE_CONN_TIMEOUT_DEF in Bluedroid. As central device, ESP32 can initiate connection parameter update using API esp_ble_gap_update_conn_params

Hi Wmy,
I mean connect BlE device with the API esp_ble_gattc_open, how to set time out for this API?

I am afraid there is no argument to set connection timeout provided in the API esp_ble_gattc_open. The default connection timeout value is set inside Bluedroid Host i.e. using macro BTM_BLE_CONN_TIMEOUT_DEF.
An option is to use esp_ble_gap_update_conn_params to update the parameter after BLE connection is established.

Hi Wmy,
The macro BTM_BLE_CONN_TIMEOUT_DEF is the default supervision timeout, and the value is 600 (6 seconds), not for API esp_ble_gattc_open.
Could you point out where the macro is defined?
And, can I change the macro value?
Thanks.

Hi @Sky-Soo-Ap  the macro BTM_BLE_CONN_TIMEOUT_DEF is defined in esp-idf/components/bt/host/bluedroid/stack/include/stack/btm_ble_api.h. You can change it in your test and debugging. If you need it as an argument in our API, I can tell the colleague to evaluate this feature request.

Hi Wmy,
You misunderstood my meaning.
I’m looking for the API esp_ble_gattc_open timeout definition. This API seems to timeout after 30 seconds.

Hi @Sky-Soo-Ap . I guess this is what you need: there is a sdkconfig parameter: CONFIG_BT_BLE_ESTAB_LINK_CONN_TOUT, you can modify it and rebuild the project.

Hi wmy-espressif,
Yes, that's what I want, thanks.
It takes up to 30 seconds to establish a Bluetooth connection. Are there any considerations?


Vendor OpenTelemetry.ResourceDetectors.Azure resource detector package.

Steps to Vendor
Clone the OpenTelemetry.NET Contrib Repository
git clone https://github.com/open-telemetry/opentelemetry-dotnet-contrib.git

Fetch the Tags
git fetch --tags

Check Out the Tag for the Recent Release
git checkout tags/ResourceDetectors.Azure-1.0.0-beta.3

Create a New Branch
While you are at this tag, create a new branch:
git checkout -b my_local_branch

Copy Folders
Copy the following folders from OpenTelemetry.NET Contrib to the Vendoring folder of Azure.Monitor.OpenTelemetry.AspNetCore:

OpenTelemetry.ResourceDetectors.Azure

Remove Unnecessary Files
Remove the following files:

*.csproj
README.md
CHANGELOG.MD
AssemblyInfo.cs

Additional Changes

Added #nullable enable to all copied files.
Removed existing instrumentation package and resource detector references from Packages.Data.props
Remove OpenTelemetry.ResourceDetectors.Azure from the distro.
Add missing constants to ResourceSemanticConventions.cs.
Modified all resource detector public APIs to internal.

TODO

Follow up with changelog and readme update.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Monitor.OpenTelemetry.AspNetCore