(kubernetes management) Updatcli securitygroups from AWS

Checking the version the Security Group from AWS used by kubernetes.
Still WIP  @dduportal

Note: you can add all these suggestions in "batch suggestion" when you're on the "files" tab in order to create only one commit with all of them instead of one commit for each.


Add ROHeatshields to CKAN

We finally got around to releasing this, adding the netkan.

Is there a place with more information about the mod? There's no README in the zip, the one in the repo has only one line, and I also can't find a forum thread for it. Just to have a rough overview and making sure the tags fit.

Thanks for the reminder on that; as we've been using the prerelease for a while in the KSP-RO community I forgot that, well, folks might well want to know more.
I've updated the readme to be much clearer (on the repo) and included both readme and license in the root of the zip. There is no forum thread to point at though (as is true for all the other RO* mods e.g. ROTanks or ROCapsules), as most all discussion and support occurs on the RO discord.

Thanks for the submission!


Allow embedding of CORS proxy in fetch relay_url

Extends the syntax of relay_url for fetch to:
fetch[:CORS-PROXY-URL]

where CORS-PROXY-URL is a full URL pointing to the CORS proxy server, for example:
fetch:https://example.com/?url=

Fixes issue #1188.

I don't understand how the latest build error relates to this PR.

Feel free to correct me if I'm wrong.
@SuperMaxusa  I don't think your wrong about this. It does seem excessive now that I think about it. I'm just wondering if fetch based networks that work like the websocket do are faster(but then we're basically doing the exact same thing as the websocket).

@copy I'll rephrase what I wrote eralier.
In starter.js, WispNetworkAdapter is instantiated like this:
this.network_adapter = new WispNetworkAdapter(relay_url, this.bus, options);

Note that the options argument is the unmodifed object that was passed to the V86 constructor.
This is how options is then used in the constructor of WispNetworkAdapter:
this.id = config.id || 0;
this.router_mac = new Uint8Array((config.router_mac || "52:54:0:1:2:3").split(":").map(function(x) { return parseInt(x, 16); }));
this.router_ip = new Uint8Array((config.router_ip || "<IP_ADDRESS>").split(".").map(function(x) { return parseInt(x, 10); }));
this.vm_ip = new Uint8Array((config.vm_ip || "<IP_ADDRESS>").split(".").map(function(x) { return parseInt(x, 10); }));
this.masquerade = config.masquerade === undefined || !!config.masquerade;

My only question is whether this is correct or if WispNetworkAdapter should be constructed in starter.js like this instead:
this.network_adapter = new WispNetworkAdapter(relay_url, this.bus, options.net_device);

Are id, router_mac etc. supposed to be members of options or of options.net_device?

@SuperMaxusa Thank you for you info about rust.
In my opinion it should only be a single, optional CORS proxy in the fetch URL.

My only question is whether this is correct or if WispNetworkAdapter should be constructed in starter.js like this instead:
this.network_adapter = new WispNetworkAdapter(relay_url, this.bus, options.net_device);

Yes, WispNetworkAdapter should receive options.net_device, and id, router_mac, etc. should be on options.net_device.

@chschnell Good to merge?

@chschnell Good to merge?

Sure!


Representing a hierarchy of structural components in 3D genome structures

We need a method for representing a hierarchy of structural components, especially in 3D genome structures. The ihm_struct_assembly category provides a way of achieving this. However, the hierarchy is implicit and not explicitly defined. More information regarding the provenance of the hierarchy is required to create a generic data representation. The em_entity_assembly category in the PDBx/mmCIF dictionary is a good example with a self-linking parent.

IHM_STRUCT_ASSEMBLY_CLASS, IHM_STRUCT_ASSEMBLY_CLASS_LIST and _ihm_struct_assembly.parent_assembly_id have been added to the dictionary represent structural hierarchy.


Alter variable ADMIN_TEMPLATE not exist in config

Change to variable $ custom , as the variable , ADMIN_TEMPLATE is not defined anywhere

Sorry , for if I ended up making fast and did not see, but the problem is that if you want to define more than one variable , instead of using only constant

define('ADMIN_TEMPLATE', 'path/to/folder');
define('DEFAULT_TEMPLATE', 'path/to/folder');

You add those to your config.php and it should work when calling
Url::relativeTemplatePath(true);


Clean left pods on kubernetes cluster startup

After dirty shutdown some of the pods may still be in the registry and creation of them caused errors.
Adding flag which will allow to clear cluster on startup so that creation of pods is guaranteed.

run integration tests

run integration tests

run integration tests

run integration tests

run integration tests

run integration tests


Warining: "listener not found" in<EMAIL_ADDRESS>

[x] I've looked at the documentation to make sure the behavior is documented and expected
[x] I'm sure this is a Leaflet code issue, not an issue with my own code nor with the framework I'm using (Cordova, Ionic, Angular, React…)
[x] I've searched through the issues to make sure it's not yet reported

After updating to v18, I suddenly started receiving the following warning in L.imageOverlay:
▶ listener not found    Events.js:180

_off @ Events.js:180
off @ Events.js:89
setMaxBounds @ Map.js:453
initialize @ Map.js:145
i @ Class.js:24
t.map @ Map.js:1748
img.onload @ index.html:30
load (async)
(anonymous) @ index.html:25

Steps to reproduce

Expected behavior
What does this warning mean?
Environment

Leaflet version: 18.0.0
Browser (with version): Google Chrome 100.0.4896.127
OS/Platform (with version): macOS 12.3.1 (Monterey)

Minimal example reproducing the issue
https://codesandbox.io/s/condescending-kirch-hq7tbz

[x] this example is as simple as possible
[x] this example does not rely on any third party code

Thank you for reporting. We have already a fix for this: #8161
Duplicate of #7951

Thank you very much.
Sorry for opening duplicate issue.


dts: arm: st: new compatible, for instance st,stm32g0-exti

by-passed thanks to a new compatible
for instance st,stm32g0-exti added to the matching targets: G0/U5/L5/MP1:

Please rebase on top of latest main branch and remove "merge commit".

see #55844


[Enhancement] decimal multiplication opt

What type of PR is this：

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function
Implement fast decimal multiplication for cases following:

decimal32 x decimal32 produces decimal64/decimal128 directly without casting decimal32 to decimal64/decimal128.
decimal32 x decimal64 produces decimal64 directly without casting decimal32/decimal64 to decimal decimal128.
decimal64 x decimal64 produces decimal128 directly without casting decimal64 to decimal128.

Test
Several tests have be conducted on TPCDS-10T. table store_sales(28800104574) are used.
Test queries
 Q1(i64xi64=i64) : select sum((ss_wholesale_cost * ss_list_price)) from store_sales;
 Q2(i128xi128=i128): select sum(((ss_wholesale_cost+1000000000.00000001) * ss_list_price)) from store_sales;
 Q3(i64xi64=i128): select sum((ss_wholesale_cost + (CAST(1000000000.01 AS DECIMAL64(13,2)))) * ss_list_price) from store_sales;

Q1 is decimal64 multiplying decimal64 produces decimal64, so it is not optimized.
Q2 is decimal128 multiplying decimal64 produces decimal64, it is also not optimized.
Q3 is decimal64 multiplying decimal64 produces decimal128, it is optimized.
decimal multiplication adopts integer multiplication underlyingly.
i64 x i64 => i128 use inline assembly, reduce 3 64-bit mul instructions to 1.
template <class T, class U, std::enable_if_t<is_bit64<T>, T> = 0, std::enable_if_t<is_bit64<U>, U> = 0>
static int asm_mul(T x, U y, Int128Wrapper& res) {
    int8_t overflow;
    if constexpr (std::is_unsigned<T>::value && std::is_unsigned<U>::value) {
        __asm__ __volatile__(
                "mov %[x], %%rax\n\t"
                "mul %[y]\n\t"
                "mov %%rdx, %[high]\n\t"
                "mov %%rax, %[low]"
                : [ high ] "=r"(res.u.high), [ low ] "=r"(res.u.low), "=@cco"(overflow)
                : [ x ] "r"(x), [ y ] "r"(y)
                : "cc", "rdx", "rax");
    } else {
        __asm__ __volatile__(
                "mov %[x], %%rax\n\t"
                "imul %[y]\n\t"
                "mov %%rdx, %[high]\n\t"
                "mov %%rax, %[low]"
                : [ high ] "=r"(res.s.high), [ low ] "=r"(res.s.low), "=@cco"(overflow)
                : [ x ] "r"(x), [ y ] "r"(y)
                : "cc", "rdx", "rax");
    }
    return overflow;
}

i32 x i32 =>i64 can also optimized in the same way, but decimal32 is not exposed to our users, the inline assembly codes as follows:
static int64_t asm_mul32(int32_t x, int32_t y) {
    union {
        int64_t i64;
        struct {
#if __BYTE_ORDER == LITTLE_ENDIAN
            int32_t low;
            int32_t high;
#else
            int32_t high;
            int32_t low;
#endif
        } s;
    } z;
    __asm__ __volatile__(
            "mov %[x], %%eax\n\t"
            "imul %[y]\n\t"
            "mov %%edx, %[high]\n\t"
            "mov %%eax, %[low]"
            : [ high ] "=r"(z.s.high), [ low ] "=r"(z.s.low)
            : [ x ] "r"(x), [ y ] "r"(y)
            : "cc", "rax", "rdx");
    return z.i64;
}

Test result(pipeline_dop=1)
+===================+=================+======================+==================+=======================+=========+
| query             | pre-opt latency | pre-opt project cost | post-opt latency | post-opt project cost | speedup |
+===================+=================+======================+==================+=======================+=========+
| Q1(i64xi64=i64)   | 20.190s         | 5.736s               | 18.795s          | 5.743s                | 1X      |
| Q2(i128xi28=i128) | 102.887s        | 80s                  | 95.574s          | 81s                   | 1X      |
| Q3(i64xi64=i128)  | 69.426s         | 50.705s              | 27.861s          | 14.354s              | 3.54X   |
+-------------------+-----------------+----------------------+------------------+-----------------------+---------+

{pre-opt, post-opt} latency means the entire cost of the query.
{pre-opt, post-opt} project cost means the PushTotalTime of ProjectOperator of the query, this profile metric can be used to show the cost of the multiplication.
speedup means pre-opt  ratio of project cost / post-opt project cost.
so we can find that Q3 show the 3.54X speedup  in the terms of project cost. and in pre-opt test, project cost in Q3 is close to Q2.

Test result(pipeline_dop=0)
+===================+=================+======================+==================+=======================+=========+
| query             | pre-opt latency | pre-opt project cost | post-opt latency | post-opt project cost | speedup |
+===================+=================+======================+==================+=======================+=========+
| Q1(i64xi64=i64)   | 8.247s          | 1.421s               | 7.923s           | 1.418s                | 1X      |
| Q2(i128xi28=i128) | 21.271s         | 16.699s              | 20.853s          | 17.1s                 | 1X      |
| Q3(i64xi64=i128)  | 15.430s         | 10.908s              | 9.337s           | 3.80s                 | 2.87X   |
+-------------------+-----------------+----------------------+------------------+-----------------------+---------+

In Q3, post-opt project  outperform pre-opt project 2.87X.

run starrocks_admit_test


Cannot Unmute an Alert from GUI without refreshing the page

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):
Go to Alert Rules
Mute an Alert
Try to Unmute an alert
Result:
Error
Other details that may be helpful:
Refreshing the page works
API page works
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
2.4.3
Installation option (single install/HA):
HA

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported):
Machine type (cloud/VM/metal) and specifications (CPU/memory):
Kubernetes version (use kubectl version):

(paste the output here)

Docker version (use docker version):

(paste the output here)

Websocket is not sending data with actions to UI. Introduced in https://github.com/rancher/rancher/commit/44f73ad06ed7bae3fddae27a7cad3a05f5f82e20#diff-00d385bb61358de9d6da349ec8a66ac8 https://github.com/rancher/rancher/commit/843e949b2286827f8ea971243dd18215f0df297f#diff-00d385bb61358de9d6da349ec8a66ac8

Version: rancher/rancher:v2.4.4
Steps to reproduce:

On Alerts Page, select one or more records and deactivate/mute them
Then choose those inactive records to re-activate/unmute them without refreshing the page

Result:
Error occures

Validation Version: rancher/rancher:master-head off June 11, 2020
Steps to reproduce:

On Alerts Page, choose one or more records and deactivate them, and then re-activate them
Choose one or more alerting records and mute them, and then unmute them

Result:
All the actions are functional, no need to refresh the page anymore to proceed further actions


Implement splash potions

Got all the previous comments resolved. Anything else I should change?

Anything else that should be changed?

Anything else I can change @Sandertv?

Is there anything else I should change here?


Support file schemes in SimpleBitmapLoader

Fixes #108

Done!

I've left a comment on the code, I was wondering if you saw it?

hm, i can't see any comment-

my bad, the comment should be published now

I have update the comments in case you didn't get a notice :)

Thanks! I merged the PR, with some changes and unit tests. It should appear here once we update the main branch


Flutter Add 2 App [iOS] On the second time launching, accessibility not working and can't do any action

Our page has two line texts and one button.
Launching our page and VoiceOver works as expected. The first line text is highlighted and VoiceOver speaks the text correctly.
Tap to select the button, double tap to action on the button to close the Flutter page. Our page also supports tap to outside of the page to close the page.
Launch the same page again.

Expected:
VoiceOver works as expected and behaves the same as the first time the page is launched.
Actual:

The page is launched, no item is highlighted and VoiceOver does not speak any item.
Can't tap to select the button.

Note:
Still can close the page by selecting the top status bar item, like time and battery, then double tap on screen.

@dnfield This bug is very similar to https://github.com/flutter/flutter/issues/31139#issuecomment-547152445
Basically, we have a FlutterViewController that we present in a modal fashion. Then, in Flutter, the user could close the view, causing the platform FlutterViewController to get dismissed.
Launching a new FlutterViewController afterwards then causes the bug @shihchanghsiungsonos is describing here. It would take some time to create a sample app for this. I've done that in Android for the bug I just linked, but if it is really needed for this bug on iOS, I'll try and build one soon. Please let me know.

Can you add the output of flutter doctor -v please?

danny.valente$ flutter doctor -v
[✓] Flutter (Channel beta, v1.12.13+hotfix.6, on Mac OS X 10.14.6 18G4032, locale en-US)
• Flutter version 1.12.13+hotfix.6 at /Users/danny.valente/Library/flutter/1.12.13+hotfix.6-beta
• Framework revision 18cd7a3601 (4 months ago), 2019-12-11 06:35:39 -0800
• Engine revision 2994f7e1e6
• Dart version 2.7.0
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/danny.valente/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.3.1, Build version 11C505
• CocoaPods version 1.7.5
[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 44.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

danny.valente$ flutter doctor -v
[✓] Flutter (Channel dev, v1.16.2, on Mac OS X 10.14.6 18G4032, locale en-US)
• Flutter version 1.16.2 at /Users/danny.valente/Library/flutter/1.16.2-dev
• Framework revision 58cad787d8 (8 days ago), 2020-03-23 08:33:41 -0700
• Engine revision 2d42c74a34
• Dart version 2.8.0 (build 2.8.0-dev.16.0 ba8baa46b4)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/danny.valente/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.
[!] Xcode - develop for iOS and macOS (Xcode 11.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.3.1, Build version 11C505
! CocoaPods 1.7.5 out of date (1.8.0 is recommended).
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To upgrade:
sudo gem install cocoapods
[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 44.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

I was able to reproduce it with:
[✓] Flutter (Channel master, v1.16.4-pre.34, on Mac OS X 10.14.6 18G2022, locale en-US)
    • Flutter version 1.16.4-pre.34 at /Users/aaclarke/dev/flutter
    • Framework revision a2d62df3ee (16 hours ago), 2020-03-30 21:51:48 -0700
    • Engine revision 10887c2abe
    • Dart version 2.8.0 (build 2.8.0-dev.18.0 e21c435300)

It can only be reproduced if you turn on VoiceOver and never turn it off.  If you turn it off and on while the Flutter view is visible, VoiceOver will work correctly.

I'm glad you can repro @gaaclarke.
I'm curious. Do you have a sample app where you can dismiss the FlutterView and open it again? Or did you find a different set of repro steps?

Yea, I made one months ago and just keep it around with the default Flutter project.  When you press a button it pops the FlutterViewController onto the UINavigationController.

It's likely that we're just not resetting the a11y bridge state on detachment - we had to do something similar for Android.

i.e. https://github.com/flutter/engine/pull/14142

1
Shell::OnEngineUpdateSemantics and AccessibilityBridge::UpdateSemantics are called before the view controller is first presented.  The second time the view controller is presented, it isn't called.

2
UpdateSemantics appears to be triggered by Dart:
#0	0x00000001028d3264 in flutter::Shell::OnEngineUpdateSemantics(std::__1::unordered_map<int, flutter::SemanticsNode, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<int const, flutter::SemanticsNode> > >, std::__1::unordered_map<int, flutter::CustomAccessibilityAction, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<int const, flutter::CustomAccessibilityAction> > >) at /Users/aaclarke/dev/engine/src/flutter/shell/common/shell.cc:987
#1	0x00000001028d35c0 in non-virtual thunk to flutter::Shell::OnEngineUpdateSemantics(std::__1::unordered_map<int, flutter::SemanticsNode, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<int const, flutter::SemanticsNode> > >, std::__1::unordered_map<int, flutter::CustomAccessibilityAction, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<int const, flutter::CustomAccessibilityAction> > >) ()
#2	0x0000000102896a3c in flutter::Engine::UpdateSemantics(std::__1::unordered_map<int, flutter::SemanticsNode, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<int const, flutter::SemanticsNode> > >, std::__1::unordered_map<int, flutter::CustomAccessibilityAction, std::__1::hash<int>, std::__1::equal_to<int>, std::__1::allocator<std::__1::pair<int const, flutter::CustomAccessibilityAction> > >) at /Users/aaclarke/dev/engine/src/flutter/shell/common/engine.cc:453
#3	0x0000000102863c74 in flutter::RuntimeController::UpdateSemantics(flutter::SemanticsUpdate*) at /Users/aaclarke/dev/engine/src/flutter/runtime/runtime_controller.cc:297
#4	0x000000010282a26c in flutter::(anonymous namespace)::UpdateSemantics(_Dart_NativeArguments*) at /Users/aaclarke/dev/engine/src/flutter/lib/ui/window/window.cc:49
#5	0x0000000103ea7058 in dart::NativeEntry::AutoScopeNativeCallWrapperNoStackCheck(_Dart_NativeArguments*, void (*)(_Dart_NativeArguments*)) at /Users/aaclarke/dev/engine/src/third_party/dart/runtime/vm/native_entry.cc:215
...
#25	0x0000000103e44414 in dart::DartEntry::InvokeCode(dart::Code const&, dart::Array const&, dart::Array const&, dart::Thread*) at /Users/aaclarke/dev/engine/src/third_party/dart/runtime/vm/dart_entry.cc:190
#26	0x0000000103e44024 in dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned long) at /Users/aaclarke/dev/engine/src/third_party/dart/runtime/vm/dart_entry.cc:168
#27	0x0000000103ee2294 in dart::Library::Invoke(dart::String const&, dart::Array const&, dart::Array const&, bool, bool) const at /Users/aaclarke/dev/engine/src/third_party/dart/runtime/vm/object.cc:12281
#28	0x00000001041cfa60 in ::Dart_Invoke(Dart_Handle, Dart_Handle, int, Dart_Handle *) at /Users/aaclarke/dev/engine/src/third_party/dart/runtime/vm/dart_api_impl.cc:4615
#29	0x000000010393bd34 in tonic::DartInvokeField(_Dart_Handle*, char const*, std::initializer_list<_Dart_Handle*>) at /Users/aaclarke/dev/engine/src/flutter/third_party/tonic/logging/dart_invoke.cc:16
#30	0x0000000102829550 in flutter::Window::BeginFrame(fml::TimePoint) at /Users/aaclarke/dev/engine/src/flutter/lib/ui/window/window.cc:353
#31	0x0000000102863420 in flutter::RuntimeController::BeginFrame(fml::TimePoint) at /Users/aaclarke/dev/engine/src/flutter/runtime/runtime_controller.cc:208
#32	0x0000000102894fcc in flutter::Engine::BeginFrame(fml::TimePoint) at /Users/aaclarke/dev/engine/src/flutter/shell/common/engine.cc:224
#33	0x00000001028d2b14 in flutter::Shell::OnAnimatorBeginFrame(fml::TimePoint) at /Users/aaclarke/dev/engine/src/flutter/shell/common/shell.cc:938
#34	0x00000001028d2b50 in non-virtual thunk to flutter::Shell::OnAnimatorBeginFrame(fml::TimePoint) ()
#35	0x000000010287b8e8 in flutter::Animator::BeginFrame(fml::TimePoint, fml::TimePoint) at /Users/aaclarke/dev/engine/src/flutter/shell/common/animator.cc:142
#36	0x0000000102890f08 in flutter::Animator::AwaitVSync()::$_3::operator()(fml::TimePoint, fml::TimePoint) const at /Users/aaclarke/dev/engine/src/flutter/shell/common/animator.cc:242
#37	0x0000000102890e10 in decltype(std::__1::forward<flutter::Animator::AwaitVSync()::$_3&>(fp)(std::__1::forward<fml::TimePoint>(fp0), std::__1::forward<fml::TimePoint>(fp0))) std::__1::__invoke<flutter::Animator::AwaitVSync()::$_3&, fml::TimePoint, fml::TimePoint>(flutter::Animator::AwaitVSync()::$_3&, fml::TimePoint&&, fml::TimePoint&&) at /Users/aaclarke/dev/engine/src/buildtools/mac-x64/clang/include/c++/v1/type_traits:4350
#38	0x0000000102890d48 in void std::__1::__invoke_void_return_wrapper<void>::__call<flutter::Animator::AwaitVSync()::$_3&, fml::TimePoint, fml::TimePoint>(flutter::Animator::AwaitVSync()::$_3&, fml::TimePoint&&, fml::TimePoint&&) at /Users/aaclarke/dev/engine/src/buildtools/mac-x64/clang/include/c++/v1/__functional_base:349
#39	0x000000010288f8f0 in std::__1::__function::__func<flutter::Animator::AwaitVSync()::$_3, std::__1::allocator<flutter::Animator::AwaitVSync()::$_3>, void (fml::TimePoint, fml::TimePoint)>::operator()(fml::TimePoint&&, fml::TimePoint&&) at /Users/aaclarke/dev/engine/src/buildtools/mac-x64/clang/include/c++/v1/functional:1572
#40	0x00000001026ba8bc in std::__1::function<void (fml::TimePoint, fml::TimePoint)>::operator()(fml::TimePoint, fml::TimePoint) const at /Users/aaclarke/dev/engine/src/buildtools/mac-x64/clang/include/c++/v1/functional:1923
#41	0x00000001029528d0 in flutter::VsyncWaiter::FireCallback(fml::TimePoint, fml::TimePoint)::$_0::operator()() const at /Users/aaclarke/dev/engine/src/flutter/shell/common/vsync_waiter.cc:128
#42	0x0000000102952714 in decltype(std::__1::forward<flutter::VsyncWaiter::FireCallback(fml::TimePoint, fml::TimePoint)::$_0&>(fp)()) std::__1::__invoke<flutter::VsyncWaiter::FireCallback(fml::TimePoint, fml::TimePoint)::$_0&>(flutter::VsyncWaiter::FireCallback(fml::TimePoint, fml::TimePoint)::$_0&) at /Users/aaclarke/dev/engine/src/buildtools/mac-x64/clang/include/c++/v1/type_traits:4350
#43	0x00000001029526c8 in void std::__1::__invoke_void_return_wrapper<void>::__call<flutter::VsyncWaiter::FireCallback(fml::TimePoint, fml::TimePoint)::$_0&>(flutter::VsyncWaiter::FireCallback(fml::TimePoint, fml::TimePoint)::$_0&) at /Users/aaclarke/dev/engine/src/buildtools/mac-x64/clang/include/c++/v1/__functional_base:349
#44	0x000000010295114c in std::__1::__function::__func<flutter::VsyncWaiter::FireCallback(fml::TimePoint, fml::TimePoint)::$_0, std::__1::allocator<flutter::VsyncWaiter::FireCallback(fml::TimePoint, fml::TimePoint)::$_0>, void ()>::operator()() at /Users/aaclarke/dev/engine/src/buildtools/mac-x64/clang/include/c++/v1/functional:1572
#45	0x000000010271e840 in std::__1::function<void ()>::operator()() const at /Users/aaclarke/dev/engine/src/buildtools/mac-x64/clang/include/c++/v1/functional:1923
#46	0x0000000102736acc in fml::MessageLoopImpl::FlushTasks(fml::FlushType) at /Users/aaclarke/dev/engine/src/flutter/fml/message_loop_impl.cc:127
#47	0x0000000102736900 in fml::MessageLoopImpl::RunExpiredTasksNow() at /Users/aaclarke/dev/engine/src/flutter/fml/message_loop_impl.cc:137
#48	0x000000010274fbf4 in fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) at /Users/aaclarke/dev/engine/src/flutter/fml/platform/darwin/message_loop_darwin.mm:75

3
Turning off and on VoiceOver seems to work because it triggers -[FlutterViewController onAccessibilityStatusChanged:] and PlatformViewIOS::SetSemanticsEnabled

4
  FlutterEngine *flutterEngine = [(AppDelegate *)[[UIApplication sharedApplication] delegate] flutterEngine];
  FlutterViewController *flutterViewController = [[FlutterViewController alloc] initWithEngine:flutterEngine nibName:nil bundle:nil];
  [self pushViewController:flutterViewController animated:YES];

Should trigger a new update semantics because it has a new AccessibilityBridge, but of course that isn't happening.  It is almost certainly required to reuse the engine to reproduce the bug.

5
View did appear attempts to update the semantics:
#0	0x0000000100a5567c in flutter::Shell::OnPlatformViewSetSemanticsEnabled(bool) at /Users/aaclarke/dev/engine/src/flutter/shell/common/shell.cc:833
#1	0x0000000100a31e58 in flutter::PlatformView::SetSemanticsEnabled(bool) at /Users/aaclarke/dev/engine/src/flutter/shell/common/platform_view.cc:52
#2	0x0000000100851f84 in flutter::PlatformViewIOS::SetSemanticsEnabled(bool) at /Users/aaclarke/dev/engine/src/flutter/shell/platform/darwin/ios/platform_view_ios.mm:126
#3	0x0000000100812cb8 in ::-[FlutterViewController onAccessibilityStatusChanged:](NSNotification *) at /Users/aaclarke/dev/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterViewController.mm:1046
#4	0x000000010080f718 in ::-[FlutterViewController viewDidAppear:](BOOL) at /Users/aaclarke/dev/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterViewController.mm:600

Something is silently gobbling up our attempts though.
Ultimately that call leads to calling back into Dart:
void Window::UpdateSemanticsEnabled(bool enabled) {
  std::shared_ptr<tonic::DartState> dart_state = library_.dart_state().lock();
  if (!dart_state)
    return;
  tonic::DartState::Scope scope(dart_state);

  tonic::LogIfError(tonic::DartInvokeField(
      library_.value(), "_updateSemanticsEnabled", {tonic::ToDart(enabled)}));
}

https://github.com/flutter/flutter/blob/210f4d83136a2eae773bda471db90ac27676f662/packages/flutter/lib/src/semantics/semantics.dart#L2610
 void sendSemanticsUpdate() {
    if (_dirtyNodes.isEmpty)
      return;
    ...

This code in the framework seems to silently gobble up our call to update semantics

@goderbauer may have some context on the framework implementation

@gaaclarke @dnfield I just noticed that after the FlutterViewController is dismissed, Voice Over is just completely broken in the native app as well. Do you think your fix will fix that, or should that be logged as a separate issue?

Looks like it was because the app crashed and the debugger was stopped on the crash. I've been getting a lot of random crashes when using Voice Over. Are there any known crashes that have been logged?

@dannyvalentesonos

Do you think your fix will fix that, or should that be logged as a separate issue?

Yep, will be fixed there.

Are there any known crashes that have been logged?

None that I know of or saw in testing this bug.  Please file an issue if you find something.


Waypointing issues with Town03 roundabout

I'm trying to calculate a set waypoints between two custom road positions using the GlobalRoutePlanner, i.e. via calling the set_destination function of the BehaviourAgent. Somehow the waypoints seem to be broken for the roundabout (see attached picture)? I'm using Carla 0.9.11.

Okay, so we found a workaround: We increase the _sampling_resolution of the BehaviorAgent from 4.5 m to 0.5 m and downsample the waypoints afterwards.

Hey @seawee1. That is indeed the case. The global planner uses the topology of the road to create the graph. This works fine but the roundabout lanes are pretty hectic and with a resolution of 4.5m, the resulting route is weird.
This is quite an old feature and we are improving it right now. When it's ready, this problem won't be there anymore

I got the same bug again. I set my sample resolution to 0.1m, it still doesn't work. I use CARLA 0.9.12. Here is my test code
from agents.navigation.global_route_planner import GlobalRoutePlanner
import carla
import time

client = carla.Client("localhost", 2000)
client.set_timeout(2.0)

world = client.get_world()
map = world.get_map()

sampling_resolution = 0,1
global_planner = GlobalRoutePlanner(map, sampling_resolution)

start_location = carla.Location(x=52.61, y=-7.84, z=1.84)
end_location = carla.Location(carla.Location(x=-84.81,y=27.02,z=1.84))
res = global_planner.trace_route(start_location, end_location)

while True:
    for wpt, _ in res:
        world.debug.draw_point(wpt.transform.location, size=0.5, life_time=1.0)
    time.sleep(1)


how to implement click the pic close PhotoBrowser

I want to click the pic close PhotoBrowser

- (void)handleSingleTap:(CGPoint)touchPoint {
	[_photoBrowser performSelector:@selector(toggleControls) withObject:nil afterDelay:0.2];
}

In the original design, single click the image will toggle control bar on the top. If you want to dismiss the photo browser, just replace toggleControls in the selector in handleSingleTap


Draft blog text for release

Blog posts
#1228 P0 - Announcing the Lit brand
Consolidated our libraries into one org
Move away from polymerlabs
Can link to the more technical lit 2.0 release
This blog will be our Hallmark post
#1229 P0 - Lit 2.0 release
New features, changes, etc.
P1 - Lit-SSR
Mention it in the Lit 2.0 release, but there should be an announcement for the pre-release

Fixed by https://github.com/lit/lit.dev/pull/328


Resource doesn't exist error deploying Function App container on infrastructure created via Bicep

When deploying a Function App container, I get the error Resource doesn't exist. even though the resource definitely exists. In my attempts it seems to me that the error occurs arbitrarily.
Attempt 1
I created an empty resource group via the Azure CLI. Via the Azure Portal I created manually a new Function App Container and Container Registry with all required dependencies. I created the service principal rights via the Azure CLI, as described in the tutorial. After that, I ran the GitHub Actions workflow.
Usually the deployment always worked, but today I had some attempts where the deployment failed. After that the deployment worked again, without changing anything.
Attempt 2
Like the first attempt, but here the resources are created by a Bicep file. After that, I ran the GitHub Actions workflow. In this case I always get the Resource doesn't exist. error. Last week it worked once, since then I couldn’t get it to work anymore.
I've been trying to find the cause for the problem for days now and just can't find any solution. What am I missing?
The repository with all the code and scripts I used for the tests, you can find here.

Sorry for inconvenience, but issue is not with this action. This is an Azure resource manager issue affecting multiple actions like: https://github.com/Azure/functions-action/issues/116 . Investigation is still on going.

@patelchandni Thank you very much for the answer. I was beginning to wonder if I had done something wrong.


Case of synchronous operations

Provided we have the following $runner object:
$callbackRunner = new CallbackOperationRunner();
$waitStrategy = new CountLimited(
    new ExponentialBackOff(
        new SleepWaiter(),
        1
    ),
    3
);

$runner = new RetryOperationRunner(
    $callbackRunner,
    $waitStrategy
);

When we do:
$operation = new Callback(function() {
    return $this->client->locate('<IP_ADDRESS>');
});
$this->runner->run($operation);

We can then access to the result via $operation->getResult() which is a CallbackOperation method and not one of the Operation interface.
The issue here is that $this->runner->run($operation); is incoherent with the OperationRunner::run(Operation): Operation signature that says it returns an Operation object. The signature implies that the runner returns a new Operation instance, potentially different from the was passed as an input. It makes sense if we pass an operation meant to be run asynchronously for example. But in the case of a CallbackOperation that we want to run synchronously to get a result, this is not ideal.
So I would rather have two different runner interfaces, one for synchronous operations and in which case the run() signature would be OperationRunner::run(Operation): void, i.e. the operation passed is the same as the one returned. And a different one for asynchronous operations with the same signature as the actual runner, for which the returned operation may be a different as the one passed to the runner.

That's a fair point. What I would do instead is to stop returning an operation from the operation runner, that makes almost no sense in fact. I would prefer to introduced a RunOperation (ie an operation that have been run) that exposes a getResult() method (maybe a isSuccessful() method too). In the case of asynchronous operations, the getResult() method will simply throw an exception such as a OperationResultNotAvailable.

So how would you do it for cases where the runner was returning a new operation object like the QueuedOperation case?
To me it makes sense that the runner is returns something. What doesn't make sense is maybe returning an Operation systematically. Instead maybe your could return the returned value if the callback returns a value and is run synchronously, an operation when it makes sense, and null if there is no new operation to return or nothing and throw an exception if an error occurred or even the operation failed.
The result would be that in this case we have:
$operation = new Callback(function() {
    return $this->client->locate('<IP_ADDRESS>');
});
$result = $runner->run($operation);

If has been ran synchronously

As the $operation is supposed to return something we can use $result right away
If may client failed nonetheless and thrown AddressNotFoundException, the runner would throw this exception
If is not mean to return anything, can keep going as an exception would have been thrown if something went wrong

If has been ran asynchronously: we're not supposed to get any $result. If everything has ran as expected then that's it. If an error occurred an exception is expected.

What do you think?

It wouldn't return an Operation but a RunOperation (in the past term of run, could also be named OperationResult).
Synchronously I disagree that we only need the result. For instance for the fallback operation runner (see #7) we obviously want the result but we might want to know if that was successfully ran or not. So, for a synchronous operation we would have:
$result = $runner->run(new Callback(function() {
    return $this->client->locate('<IP_ADDRESS>');
})->getResult();

For asynchronous operations, we would for instance receive a QueuedOperation, on which we could know that it was successfully queue but also get the "message ID", or things like that:
$queuedOperation = $client->run(new CommandOperation($command));

$logger->debug('Queued operation', [
    'operation' => $queuedOperation
]);

I think that it makes more sense :)

Synchronously I disagree that we only need the result. For instance for the fallback operation runner (see #7) we obviously want the result but we might want to know if that was successfully ran or not.

I'm no following you: if the runner ran the operation successfully in this case, we get a return value (potentially no return value), if en error occurred, we get an exception. In the case of the fallback which I quite like, I would put the logger in the decorator for example. It's the runner responsibility to handle the failing operation to provide a fallback, so looks natural to have it says when it had to switch on the fallback.
If I get your solution right, you would rather have a OperationResult object which can gives the result (in the case of a failed operation with a fallback runner that would be the fallback result) but still be unsuccessful. I find it confusing: how can you have a failed operation that still has a result? Yeah seems legit with the fallback case. But much less if you're using the Runner interface for example and have no idea of the runner type. Also you would be more likely to do something like:
$result = $runner->run(new Callback(function() {
    return $this->client->locate('<IP_ADDRESS>');
})->getResult();

if (! $result->isSucessful()) {
    // handle case where the operation couldn't be run properly
}

Where in fact you would need to do:
$result = $runner->run(new Callback(function() {
    return $this->client->locate('<IP_ADDRESS>');
})->getResult();

if (! $result->isSucessful() && $result->getValue() !== null) {
    // handle case where the operation couldn't be run properly
}

assuming ResultOperation::getValue() get the real result value.

This is true, the idea of simply returning the result of available sounds good to me.

:+

Fixed by #41.

Cheers


Windows 10 ODBC 64bit msi file does not create data source

Hi all!
I recently downloaded and installed the clickhouse_odbc_x64.msi file release <IP_ADDRESS>90611 from https://github.com/yandex/clickhouse-odbc/releases, but when I opened ODBC Data Sources to create a new data source, both options (ANSI and Unnicode) opened the window to type the parameters and failed to actually create the data source.
Here are some screeen captures:

Here you can see that Clickhouse ODBC client for Windows was successfully installed.

After clicking OK in this window, the data source does not appear in the list below.

I have tried several times. I have uninstalled and re-installed the ODBC client, and tried both with ANSI and Unicode unsuccessfully. So, I'm asking myself now if I'm doing something wrong or if this is a known issue with the ODBC client for Windows? Is there any workaround to solve this problem? I need to create a new data source for Clickhouse so I can see my data from Power BI.
Thanks for any help you can give!
Greetings!

Install both clickhouse_odbc_x64.msi and clickhouse_odbc_x32.msi

Please give this a try: https://github.com/ClickHouse/clickhouse-odbc/releases/tag/v<IP_ADDRESS>91108


Compatibility issue with generated speech audio in WAV format

We're going to heavily rely on azure cognitive text-to-speech API to convert textual information to speech. Further we're passing generated speech audio (WAV) to an IVR service which says audio file must have following codec configuration:
Codec: PCMS16LE (araw)
Channel: Mono
Sample Rate: 8000
Bits per Sample :16

To make sure we're aligned with this configuration we used:
Riff8Khz16BitMonoPcm | Raw8Khz16BitMonoPcm (file format error)

We can double-check generated speech audio file has configuration as same as required by an IVR service. When uploading generated speech audio to IVR, it's responding with an error however works fine any other wav file generated from audio tools. See the attached audio files.

Azure Speech Audio
Audio Tool File

We used an online tool - (metadata2go) to see metadata of both file, but didn't able to catch such difference, here's metadata link for both files

Metadata - Azure Speech Audio
Metadata - Audio Tool File-37thKisaan.wav

To further more dive into this issue, we tried passing azure generated speech audio file to a tool - called 3Cx - to convert file to wav format again, this time IVR service accepts this converted file and working fine there.
Here's converted file (success.wav ---> converted_success.wav):  Converted - Azure Speech File
With the help of metadata tool, we can see  audio file  Raw Header to see what happened after converting azure speech audio file.
 How we can resolve this Azure Cognitive Services?

duplicated of https://github.com/microsoft/cognitive-services-speech-sdk-js/issues/513, close here


WIP: Washtenaw County, MI, USA: updated data url and conform

Appears to only be Ann Arbor, needs investigation.

This seems blocked for the time being as we have no way of obtaining a token. Going to close as stale for now.


Removed the need to import css files

This pull request closes #224
Pre-Flight Checklist
I have made sure to

[x] add tests to maintain 100% test coverage & add a Storybook example (when
this makes sense)
[x] manually test all the Storybook examples
[x] run $ yarn build to build the project code

The explanation behind closing this is here: https://github.com/rpearce/react-medium-image-zoom/issues/224#issuecomment-593435421


Fix and improve autocomplete

Fixes #2917
Makes the sizing of the autocomplete popup more consistent and logical.

For me this results in some bad mis-layout as soon as I focus the compose box:

The app bar is gone; plus the input is partially obscured by the keyboard.
That's on an emulated Pixel 2 XL, on Android 8.
Perhaps the issue is that the render method with the Dimensions.get call isn't getting re-run when the keyboard pops up, and so we're still basing the size on the old dimensions?
More broadly, even if we find a way to do this that seems to work, I'd worry about edge cases where we don't get re-rendered -- even if we find a way that it's clearly documented should work, this feels like an area where RN is likely to have bugs in edge cases, because at least on Android it's a notoriously tricky area to get right. (What if the user enters split-screen mode? Or leaves it? Or moves their focus between split screens? Or if the keyboard itself aborts, or changes its height?)
So I'd be more confident if we can find a solution that doesn't involve our code having to find out the height.

Ah, playing with the react-devtools inspector a bit, I think I see the reason this is tricky: it's that we have AutocompleteViewWrapper as a child of ComposeBox, when the layout we're going for really calls for making it a sibling of ComposeBox and of MessageList.
Pulling it up to be a sibling will require some tricky rewiring of how the autocomplete communicates with the input fields, as it'll be one layer farther away. I think that's totally doable, but it'll be less work if we wait to do it until we've de-duplicated ComposeBox again -- which we had a previous effort at in #2886, but now is probably best done after upgrading to RN v0.57, which in turn will follow #2789 upgrading to v0.56.
Meanwhile, we should do something to make the autocomplete at least not look broken. How about setting its height to a fixed number of rows -- like 5? That should be an improvement over the status quo.

@borisyankov and I chatted a bit about this today.

The second commit is a simple styling fixup that's independent of the major layout change. I'm going to go ahead and merge it.
The other commit, we'll skip. As discussed above, we'll come back and fix this the right way after we lay some groundwork; in the meantime we'll do a quick fix like a fixed height.

As always for a UI change, some screenshots make a key piece of the PR. For this one, I took some just now.
These are for just the smaller (second) commit on its own.
Before:

After:

Merged that piece as 69ece87fa. Thanks @borisyankov !


NacosMockTest.getConfig:77 expected:  but was:

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description
Error:  Failures:
Error:    NacosMockTest.getConfig:77 expected: <null> but was: <VALUE>
Error:    NacosMockTest.removeConfig:149 expected: <true> but was: <false>
[INFO]
Error:  Tests run: 8, Failures: 2, Errors: 0, Skipped: 0

https://github.com/apache/incubator-seata/actions/runs/10764848855/job/29848248173?pr=6819
Ⅱ. Describe what happened
If there is an exception, please attach the exception trace:
Just paste your stack trace here!

Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)

xxx
xxx
xxx

Minimal yet complete reproducer code (or URL to code):
Ⅴ. Anything else we need to know?
Ⅵ. Environment:

JDK version(e.g. java -version):
Seata client/server version:
Database version:
OS(e.g. uname -a):
Others:

I would like to fix it. Could you please assign it to me?

I would like to fix it. Could you please assign it to me?

Could you first tell me how you plan to fix this issue? I hope our communication can help resolve the problem as quickly as possible.

本地ut没有复现出异常，不知道是否是环境有差异。
对于“Error:    NacosMockTest.getConfig:77 expected:  but was: ”：
是不是可以在ut执行前使用：configService.removeConfig(SUB_NACOS_DATAID, NACOS_GROUP)，来保证干净的配置.
对于“Error:    NacosMockTest.removeConfig:149 expected:  but was: ”:
这个同样没有复现出来，期望得到一些提示～

这个实际上是因为jdk8和jdk21的ci同时并发跑导致的，因为他们都使用了公网上给用户演示的nacos
我建议你可以直接在ci上拉取一个nacos的镜像跑起来，让每个ci都拥有自己独立的nacos，这样就不会冲突
https://github.com/apache/incubator-seata/blob/2.x/.github/workflows/build.yml
你可以参考着上面拉取redis镜像的做法


Handle extended tweets

When a threaded mention is an extended tweet, reminders are typically not created since the text is truncated. See example:
https://twitter.com/stock_reminder/status/1378655603808202752?s=20
These tweets can be handled with tweepy with the tweet_mode="extended" property:
https://docs.tweepy.org/en/latest/extended_tweets.html#examples

Fixed: https://twitter.com/stock_reminder/status/1378687919855128576?s=20


manifest: hostap: Pull fix for duplicate AP enable event

The event is sent from both WPA supplicant and hostapd, but hostapd should only be sent when using hostapd to create the AP.

hostap PR is now merged, manifest can be updated


Revamp About Page

Currently the about page loading is slow.  This could be because of unnecessary code and large image size. Please comment how are you going to work on this?

@harshita2216 Please assign me this issue.
Proposed changes:

Remove excess scripts
Covert all scripts to a single .js file
Add a suitable illustration to the page and remove the background image.
Style the font
Structure the sections using css grid layout.


Password hashing

Updated password storage to store a hash instead of a password string using bcrypt
closes #25

Good job @IrfanSalim and thanks for your contribution.


Adding video to a inpress.js presentation

is there any way to add a video to a presentation, I have tried to add a couple diffrent html5 players and none of them work, any ideas?
Thanks

It shouldn't be a problem with HTML5 video.
I haven't tried any "HTML5 player", but it was working fine for me with video added with HTML5 video tag:
<video src="http://video-js.zencoder.com/oceans-clip.mp4"></video>

@jhiner1978 it's plain HTML/CSS/JavaScript and impress doesn't block any functionalities.. just configure it the way you would configure it for regular website

There's a chrome bug that sends the video (html5 or youtube embedded flash) behind any other objects inside that .step class. Works like a charm in the latest Safari and is almost there in Chrome Canary.

When it comes to flash video (like embedded youtube) I'm pretty sure there will be problems with transforming it in 3d.

Simple  tag done the trick for swf files in firefox but still issues in chrome.

Can you test it and get a functional demo?

I'm closing this issue.
Then it comes to video - impress.js should work fine with HTML5 video.
I'm not sure about some strange video players or flash based players (youtube). If it doesn't work with impress.js (flash is quite likely not to work as browser will not be able to transform it in 3d) it wont work and I can't do anything about it.

I have had issues with videos or the default video controls showing up in certain cases. I wish I had precise examples, but I find it hard to pin down. I don't think these are ImpressJS specific issues, more likely browser and CSS Transform issues.
To fix this I use this CSS workaround to push it above:
video {
    -webkit-transform: translateZ(1px);
}

The iPad seems to have issues playing videos as well. I've solved this in the past by dynamically injecting the video on click of an element.


incoherent validation messages

If I try to login with wrong crdentials the (bad) http response payload is something similar to this
{non_field_errors: ["Unable to log in with provided credentials."]}

I've understood I can change the name of this field using this settings:
REST_FRAMEWORK = {
  'NON_FIELD_ERRORS_KEY' : "validation_errors"
}

so that the response would become:
{validation_errors: ["Unable to log in with provided credentials."]}

If I send wrong fields during registration (so using allauth) I receive a structure similar to this:
{
    password1 : ["This field is required."]
    password2 : ["This field is required."]
    username  : ["This field is required."]
}

Completely different from the previous one.
I don't know who is responsable for the validation messages (and structure) in the first and second case: Django, Form validation, Allauth or django-rest-auth?
A clarification would help in order to always send a similar structure in case of errors.
Also, are only validation error sent back? Exposing internal errors would be a risk, but I guess this should be disabled with DEBUG = False, unless this apps is exposing something more, isn't it?

I think I've got it: the non_field_errors identifies generic validation errors not linked to a specific field, so I guess this is the correct behavior


Add update flag in the create command

Summary
Add update flag in the create command.
Use Cases
User want to use 1 command to create or update an resource(cron wf、workflow template、clusterworkflowtemplate).
edited by agilgur5: Source https://github.com/argoproj/argo-workflows/pull/12803#pullrequestreview-1945224384

Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritize the proposals with the most 👍.

Add update flag in the create command.

I don't think this should be done. create and update are two separate verbs in k8s and CRUD conventions more generically. We should not be re-inventing the wheel and breaking existing conventions.
Not to mention create --update is actually longer to type than update, so I do not see any benefit in this, only cons.

User want to use 1 command to create or update an resource

It sounds like you might be looking for apply, for example kubectl apply, which is a third, separate command

I believe that supporting version control for workflows and templates is crucial, rather than directly updating existing objects, which can be a risky operation.

I believe that supporting version control for workflows and templates is crucial, rather than directly updating existing objects, which can be a risky operation.

The update action should still have many uses. If think the risk is high, can not use this API. Version control may be a more advanced use and requires more design.

The update action should still have many uses.

Completely agree. In fact, we have implemented our own logic for updating workflows based on the Kubernetes client to enable intervention operations such as step skipping and parameter updates.

As I wrote above and elsewhere, I can agree to an apply command, but create --update seems like a confusing anti-pattern to me


Create example on how to scrape single page app

https://stackoverflow.com/questions/58269492/how-do-i-add-input-with-puppeteer

The issue has been solved already.


combine serveral files in a new drectory

Description of the new feature / enhancement
A context menu to combine several selected files in a new directory ( like the function in the Mac OS X Finder!)
Scenario when this would be used?
to organize your data in the explorer for example
Supporting information
There is exact such a function in Mac OS X Finder:
(https://support.apple.com/sq-al/guide/mac-help/mh26885/mac)

Thanks for your message. This is a Duplicate of an other issue. Additional comments may be added there. /dup #3569


Localizable StepText

It's possible to set localized Text property of Wizard Page, but StepText in StepWizardControl isn't localizable.
As a result, we get the page title in a different language from the text on the list.

Fixed in 2.2.4, releasing shortly.


Install

Hi, how to install this firmware? Thks.

web esphome

on your wake-word-voice-assistant bin repository but the sound detection is weak you have to speak very loudly

"Web esphome" from HA addon? If yes, just  loading your "esp32-s3-box-3.yaml" file into the ESP device?

I do it with this esphome site https://web.esphome.io/


Only extract the inline javascript for production mode

In development mode (npm start), the Hot Module Replacement (HMR) is not working because of the JavaScript was extracted inline.  The ScriptExtHtmlPlugin shall apply only in production mode.
The icon-large-maskable.png added in https://github.com/GoogleChromeLabs/squoosh/pull/709 was placed in root instead of the src/assets/ folder.

@googlebot I fixed it.

@googlebot I fixed it.

@googlebot I fixed

@googlebot I consent.


deal with stripped symbols in go executables

We've done two new things if we can't find the symbols we need for go executables:

we've improved messaging.  Previously, when symbols were stripped, we would always output "... was compiled with a version of go older than go1.8", which in the case of stripped symbols might not have been true.
we're no longer outputting anything on stderr, we're putting warning messages in our log instead.  This should avoid side-effects from scope when using scripts or other uses where stderr is being used (parsed, even?).

The new messaging:
If symbols have not been stripped, and the version of go is between go1.4 and go1.7:
... was compiled with go version `%s`.  AppScope can only instrument go1.8 or newer.  Continuing without AppScope.
If the symbols have been stripped, or the version of go is older than 1.4:
... was either compiled with a version of go older than go1.4, or symbols have been stripped.  AppScope requires symbols and can only instrument go1.8 or newer.  Continuing without AppScope.


Unexpected behavior for BlobStream pause and resume?

Hello,
I'm having issues pausing and resuming the stream upload using BlobStream.pause() and and BlobStream.resume(). I read BlobStream returned a Readable Stream and that these methods were implemented. Pause does nothing, and resume emits 1 data event and pauses.
Have I missed something ? What would be the best way to pause and resume a stream upload?
Thanks a lot! :)

Maybe your stream is in paused mode? I'm not sure but #pause() looks a method for flowing mode.
Or can you post your code which we can reproduce the issue if possible?

I am having a similar issue. Pause works, but resume emits 1 data event and then pauses.
Here's my hacky solutuon:
blobStream.on("data", function() { this.resume() });

Actually, that wasn't a solution. Worked fine locally, but when I threw it on a remote server it didn't work. Turns out I had to unpipe the stream to pause, then re-pipe it to resume.


Warns when package is pinned

This PR warns when a package is pinned to a specific version.
This is what it looks like:
Paket version <IP_ADDRESS>
Updating Ninject.Extensions.Logging.Log4Net in D:\Projects\paket-test\paket.dependencies
Resolving packages:
 Ninject.Extensions.Logging.Log4Net is pinned to version <IP_ADDRESS>
 - Ninject.Extensions.Logging.Log4Net <IP_ADDRESS>
 Ninject.Extensions.Logging is pinned to version <IP_ADDRESS>
 - Ninject.Extensions.Logging <IP_ADDRESS>
 - Ninject <IP_ADDRESS>
 - log4net 2.0.3
D:\Projects\paket-test\paket.lock is already up-to-date
2 seconds - ready.

This is the first PR I'm working on to better report why a package had a version chosen, aiming to close #786 and #946.

very cool. will look at it on monday when I'm back at work.

could please only warn if there is a new version available and we can't updte due to the lock? I think at the moment it's always reporting the pins, right?

It's always reporting the pin, indeed. I can warn only when a new version is available, however, to do that, I'll have to get the available versions for those packages, which will increase the resolve time.
Is that OK?

Yes that would be OK. I thought we already do this in the resolver. If so
you can reuse the cached information.
On Aug 24, 2015 5:13 PM, "Marcio Rinaldi"<EMAIL_ADDRESS>wrote:

It's always reporting the pin, indeed. I can warn only when a new version
is available, however, to do that, I'll have to get the available versions
for those packages, which will increase the resolve time.
Is that OK?
—
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/pull/999#issuecomment-134242456.


How to pass in my headers and query parameters to server on each chunk upload?

I cant find a way to do so in the documentation.

Have a look at the query and header options in the docs. Generally, the same options are sent with every chunk, but both properties can ta


moveit_simple_actions: 0.0.4-1 in 'indigo/distribution.yaml' [bloom]

Increasing version of package(s) in repository moveit_simple_actions to 0.0.4-1:

upstream repository: https://github.com/nlyubova/moveit_simple_actions
release repository: https://github.com/nlyubova/moveit_simple_actions-release.git
distro file: indigo/distribution.yaml
bloom version: 0.5.20
previous version for package: 0.0.5-1

moveit_simple_actions
* fixing with changes in moveit visual tools
* Contributors: Natalia Lyubova

Same question as #10064.

ah, I see, closing


Recommendation on Grid system

Our grid system mainly exists to provide basic functionality and to mirror what govuk-frontend offers.
For something more complex we would expect a parent application to implement their own grid system or use an existing library.
We should provide details on this and suggestions of libraries in the readme.
This thread is to track doing this and for suggestions/discussions of libraries.

https://rebassjs.org/Flex

I think there is value in considering a system for managing gutters, instead of a full, 3rd party grid system;
Flexbox alone provides a better experience by being fully documented, with most FE developers having experience using it, over a separate, non-w3c layout grid library that essentially applies flex layout props via some mechanism that must be learnt/maintained.
This leaves gutters which are the heart of a grid layout and are accounted for, in different ways, by 3rd party grid systems. In the last few projects I have built, I implemented gutters via a sass mixin (which I wrote) and have been really impressed with the results, as not only can I use this gutter mixin for spacing grid elements, but I can use it for all elements on a page, allowing me to rapidly implement global spacing, that is sympathetic to a grid system quickly.
There are several advantages to this approach;

No 3rd party grid library
W3C Flexbox and CSS Grid used for layout
Gutter system applied to any grid element, or group of grid elements that require gutters
Gutter system can also be used for spacing other elements ensuring the applications spacing is consistent

The negatives to this approach;

It's not widely accepted as a universal approach for applying grid layouts, most people reach for a 3rd party library and/or expect some 'thing' to do 'grid stuff'
It's not used by GDS currently
It requires other people to understand the approach (so, potentially lengthy documentation and examples or support time)

Either way I think it is worth considering, it doesn't have to be surfaced to the end user, so they are still provided with a strict set of grid components they put together, or it could even be provided alongside this, so both could be used... I've had a great time using this approach personally so figured I should try and mention it here in some way. : )


Added Grinder setup for XA performance test.

I expanded on this in https://github.com/apache/tomee/pull/488


feat: optional last executed date

add a showDate privacy setting that allows to hide the last executed date.
with it enabled, Last executed at <date> in <time> becomes Last executed in <time>.
it allows to safely share screenshots of your notebooks without leaking the timezone you are in.

Hi @banteg thanks for the PR. Can you please sign the CLA before review? https://github.com/deshaw/jupyterlab-execute-time/blob/master/CONTRIBUTING.md

sure, done

rebased


hello_xr: On Vulkan, explicitly add surface extensions for mirror window.

Some OpenXR providers may return these extensions from
xrGetVulkanInstanceExtensionsKHR, but they don't have to. Since they are
required for hello_xr to call vkCreateWin32SurfaceKHR, we should include
them explicitly.

Notably, the Linux SteamVR OpenXR provider does not return any surface extensions. So we would definitely need this if mirror windows are ever supported on Linux, and it seems correct to do it on Windows, too.

Thanks for this! I think I simultaneously did this internally as well, but I'll merge this and ensure you get credit too.

Thanks for this! I think I simultaneously did this internally as well, but I'll merge this and ensure you get credit too.


Update index.md

Reverted image link text to the "proper", working format, giving up on the alternate format that didn't always work.

Closed issue. There is a branch to delete as well.


astroid should default required notmuch setting

I had this in my home configuration:
  programs.notmuch = {
    extraConfig = {
      search = {
        exclude_tags = "deleted;spam;killed;";
      };
    };
  };

which over-wrote the default value of the extraConfig and exposed an issue where astroid requires maildir.synchronize_flags to be set to true. This changeset defaults it to true.

I solved this in an alternative way in #458. Ideally the extraConfig options should be left empty by Home Manager and be reserved for user configuration. My PR changes things up so that the default is {}.
Thanks for raising the issue!

@rycee nice, thanks for the fix!


Скласти інтро

Junior Front-End Developer

Mariia Petrukhnova

I'd like to start my new career way as strong Junior Frontend developer to implement interesting projects, raise my
            professional level and to be useful specialist for my new team. I'm glad to propose my all my knowleges, tenacity and
            purposefulness for diversing and challenging project with possibility of everlasting learning and self-developing.

Add about information

Add about information


[Dropdown Menus] dropdown arrow is not responsive

<ul class="vertical medium-horizontal dropdown menu" data-dropdown-menu>

Arrow is always pointing right regardless of media size.

Just ran into this same issue. Looks like if the .vertical class is present, it always adds the .is-right-arrow class to the menu. The dropdown component should check and see if horizontal classes are also present on the dropdown menu.

Probably an easy fix.

Closing in favor of #7978. Both problems are caused by the same issue.


feat: BitVec.{toFin, toInt, msb}_umod

This PR adds a toFin and msb lemma for unsigned bitvector modulus. Similar to #6402, we don't provide a general toInt_umod lemmas, but instead choose to provide more specialized rewrites, with extra side-conditions.

This should now be ready for review, but since I'm on holidays I'll keep it as a draft until I'm back and can respond to reviews timely


Update brew-desc.rb

I improved some descriptions for a few formulae I use on my system, according to their homepages or manpages.

I really appreciate the purpose of brew desc. Thank you guy!
I just tried to edit some descriptions to give more comprehensive information.
Regards.

I appreciate the work. Some of these would make descriptions longer than a single average-sized line in the terminal (circa 80 chars). I usually try to avoid that, but I'll tweak and consider these. Thanks again.

I adjusted a handfull of these, merged and added you to the contributors list.
Thanks again!

@telemachus Sorry for the too-long texts as one-line descriptions. I really thought I paid attention not to be longer than the longest already existing description that I took as limit length.
Happy to read that you used these contributions. Thanks.

@Yann-R No worries at all. I have to admit that the existing descriptions do not all keep to that rule. But it's something I try to follow wherever possible.


RN 0.21.0 Unable to connect with remote debugger.

After upgrading to RN 0.21.0 I encounter the following error:
Unable to connect with remote debugger

onFailure
DevSupportManagerImpl.java 593

npm module version: 0.21
When switching back to 0.20 it works ok, Any idea ?

Looks like a regression, @mkonicek

I can confirm this issue. I'm on windows + android device over wifi, debugging broke after upgrading to 0.21. Downgrading to 0.20 works.

In case it's relevant, Genymotion + "Debug in Chrome" resulted in this error for us. Error in 0.21 and 0.22-pre. Downgrading to 0.20 fixed it.

This also happens on iOS with the simulator. Downgrading to 0.20 worked.

I see this issue on react-native 0.21, but only on android :-(

yes, my nuclide editor also can not connect with remote debugger.

Same here. Downgrading now.

Downgrading worked for me. I'm wondering if the way I upgraded was wrong?
Sent from my iPhone

On Mar 16, 2016, at 11:57 AM, Hamiltontx<EMAIL_ADDRESS>wrote:
Same here. Downgrading now.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub

+1. Same issue for me
Linux or windows -- same problem
This is also reflected on Stackoverflow
http://stackoverflow.com/questions/35973511/react-native-0-21-android-remote-debugger-chrome-cannot-connect

It looks like it happens on Android (Linux, Windows too?), and also iOS (Mac OS)? I tried with 0.22.0-rc on Mac OS with and Android app but couldn't repro, selecting "Debug JS" opens the Chrome debugger and I can set breakpoints.

I have the bad luck of running into this issue at my Hello World stage wrt React Native. How do I "downgrade to 0.20.0"?
I have installed react-native-cli and created a project with react-native init Hello
and this created the Hello directory with package.json specifying "react-native": "^0.21.0". I tried changing it to "0.20.0" and re-running react-native run-android, but it didn't resolve the issue nor did it seem to download and install the lower version (I would have noticed because I have a slow connection).
How do I downgrade properly?

Run npm install after modifying package.json.

Same here. Linux, genymotion, debugging android application fails on 0.21. Downgrading to 0.20 fixes the issue.

As far as I can tell, this has been resolved in 0.22. Now works well for me.

I can confirm it's working on master as well.
@facebook-github-bot close

Tested with 0.22.2 on win7, still not working.

@taypo I think you should open a new issue then, as this one is about 0.21 and has been confirmed fixed twice. What you're seeing is probably a different issue.

I have been hitting my head against the wall for the past 24hrs. even dreamt of this issue. I thought i broke something. will try to upgrade but i fear something else will just break again but i have to.

Tested with 0.22.2 .  Still not working
E/unknown:React: Unable to connect to remote debugger
com.facebook.react.bridge.WebsocketJavaScriptExecutor$WebsocketExecutorTimeoutException: Timeout while connecting to remote debugger

                                                                         at com.facebook.react.bridge.WebsocketJavaScriptExecutor$3.run(WebsocketJavaScriptExecutor.java:146)
                                                                          at android.os.Handler.handleCallback(Handler.java:739)
                                                                          at android.os.Handler.dispatchMessage(Handler.java:95)

Win 10 / Android API 22
cleaned node_module directories
used to work 0.20

Not working with 0.22.2
OSX, Android Stock Emulator

0.23.0 also.

Has this been fixed in a later version or 0.20 is the last know good release? Thanks.

@naeemulhaque - I think it's fixed in 0.23 at least. There will always be ways to get things to break, but seems maybe the consensus that if it's broken in 0.23, maybe it's no longer because of RN itself. :smile:

I can confirm that it is working in 0.23.1. (But hot reloading is not)

Working for me as well in 0.23.1.
Was previously having connection issues to the debugger on Win 10 with Android devices.

not working on 0.24.1, didn't work on 0.23.x either............................

@taypo, @christophermark, @ferologics What OS are you using (Linux, Windows, Mac)?

@mkonicek I've got this working on 0.23.1 on Windows 10 with a Genymotion emulator running android 6.0.

OS X, el capitan
On Fri, 29 Apr 2016 at 04:49 Martin Konicek<EMAIL_ADDRESS>wrote:

@taypo https://github.com/taypo, @christophermark
https://github.com/christophermark, @ferologics
https://github.com/ferologics What OS are you using (Linux, Windows,
Mac)?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/facebook/react-native/issues/6390#issuecomment-215691304

--
Frantisek Hetes, iOS Developer, Makeschool student
<EMAIL_ADDRESS><EMAIL_ADDRESS>| @ferbini | makeschool.com
http://makeschool.com

I am facing nearly the same problem. In my project, I choose rn 0.23.1 which got this problem(With win7 , android), too.
What is wired is that I have another project which is also rn 0.23.1, but it's ok...
So it seems that this problem is not so related with rn version?
Need to be solved.

I made a comparison between my projects which one is good and the other is bad. And I tried a solution to solve this.

find android/build.gradle, check if it's like this:

allprojects {
    repositories {
        mavenLocal()
        jcenter()
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url "$projectDir/../../node_modules/react-native/android"
        }
    }
}

The most important codes are the maven rows which is the difference between my good project and my bad project.
2.react-native run-android to pack apk
Then it's ok for me.
By the way, I am using rn 0.23.1 with win7.
I don't know if it's all right for everyone ,but it's worth to try~

I still have this problem at 0.25 basically since 0.21 I cannot debug for last 3 months, on Windows 10 or Linux, API 23 or 22. Does not matter.
Keep getting "Unable to connect with remote debugger"
I am not sure why it stopped working. Can somebody chime in who has the following setup:
a) uses Android SDK
b) Android Emulator
c) does not compile React-native him/her self.
d) uses react-native  start  to start up the packager and the start is defined as package.json
"start": "node_modules/react-native/packager/packager.sh",
preferably somebody who uses react-native-material kit.. although I doubt that it matters

@vladp Does a brand new app work? The nuclear option seems to be to create a fresh app and copy over your app's src files. Depending on the size/structure of your app this may not be feasible, but as with @coolguy001tv's diff strategy, it might help indicate the problem.

As for me this solved by next steps:

Enable remote debug on device/emulator. (must got error with unable to connect to remote debugger)
Open new debug tab in google chrome browser.
Reload JS on device/emulator, debugging must connect to new tab from step 2.

Tested on RN: 0.23.0, 0.24.0.
Seems that problem is in packager, when it tries to open new chrome tab

thx for quick replies. @bo4a10. I am now paying attention to the messages coming from the package
I am getting

The method /launch-chrome-devtools is deprecated. You are  probably using an application created with an older CLI with the  packager of a newer CLI. Please upgrade your application: https://facebook.github.io/react-native/docs/upgrading.html

How is this possible, that I am using deprecated stuff,  if I did
rm -rf ./node_modules  and then
npm install --no-shrink-wrap

is it possible that some where I am not getting the update packager ?
my react-native-cli is at  0.2.0

So far I had tried to
a) Add  maven { url "$...
to the node_modules/react-native-material-kit/android/build.gradle
It was not there before
(that's the library I use to suplement react).. my applicaiton is hybrid about 60% java, 40% react stuff.)
Now the build.gradle for the react-native looks like this

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.1.0'
    }
}

apply plugin: 'com.android.library'

android {
    compileSdkVersion 23
    buildToolsVersion '23.0.3'

    defaultConfig {
        minSdkVersion 17
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_7
        targetCompatibility JavaVersion.VERSION_1_7
    }
}

repositories {
    mavenLocal()
    jcenter()
    mavenCentral()
}

dependencies {
    provided 'com.facebook.react:react-native:0.+'
}

allprojects {
    repositories {
        mavenLocal()
        jcenter()
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url "$projectDir/../../node_modules/react-native/android"
        }
    }
}

b) I had replaced in my package.json

"scripts": {

	"start": "node_modules/react-native/packager/packager.sh",

}

with
"scripts": {
        "start": "node node_modules/react-native/local-cli/cli.js start",
}

Neither one of the changes had helped sofar. And I am still seeing the

The method /launch-chrome-devtools is deprecated. You are  probably using an application created with an older CLI with the  packager of a newer CLI. Please upgrade your application: https://facebook.github.io/react-native/docs/upgrading.html

in the command window every time I tried to lauch the debugger with Ctrl+M     from the emulator

@vladp, I updated RN to 0.25.0, and upgraded local cli to 0.2.0, and if I start chrome debugging in simple way(choose Debug JS Remotely in dev tools menu) it doesn't work as it was. But if I open chrome debug tab manualy - it connects to it and I can debug

Have u ever tried repack your apk? Cuz last time I met the warning You are probably using an application created with an older CLI with the packager of a newer CLI., I just pack my apk again and it never shows again.

@bo4a10 I am sorry, I did not understand.
When I go to Chrome and, for example, type  chrome://inspect/#devices
I can see my application, because use Facebooks Stetho  Timberlog.

myApp (powered by Stetho)
inspect

And that let's me see on chrome browser my Java's Timber.d("...")  logs.
But that's not enough for me. I need to see the console log and the be able to setup debug breakpoints in my react-native. Just like was able to do prior to 0.21.
I asked this before, but it does not seem like the Facebook stetho and The react-native debugger conflict to each other... may be I am wrong and they some how conflict (I do not know how to disable stetho easily)
Is there a Debug JS Remotely somewhere in Chrome that I am not seeing?
@coolguy001tv   I just do Run  | Run 'app' from the Android studio menu (I am on the latest android studio 2.1.1
Is there way to repackge apk  manually?

@vladp I'll explain step by step properly how I connect to JS chrome debugger.

Start your app on device/emulator
Open dev tools by shaking device or press CTRL+M on keyboard if u use emulator
In dev tools u must see first item - Reload JS, second item Debug JS or Debug JS Remotely(on latest v of RN). Press Debug JS or Debug JS Remotely. You must see red RN error Unable to connect to remote debugger...
Go to google chrome and open new tab with this url http://localhost:8081/debugger-ui, press F12 to see dev console in chrome
Come back to your device/emulator and press Reload JS.
Your app must connect to your tab in google chrome, and u must be able to see console.log() and set breakpoints

@bo4a10
Thx for the explanation above.
Unfortunately I do not see Debug JS or Debug JS Remotely.  I see Chrome Debugging. And that's what I keep clicking.
See my screen shot attached

Success. Thx all for help.  When @bo4a10  explicitly listed the menu items, I am supposed to see in Ctrl+M screen, it was clear that I was not getting the same screen.  Therefore, I reasoned, that the problem has to be in the way my app Links to the react-native JAR.
Even though I had followed @coolguy001tv  suggestion to examine my dependencies section and to include url $projectDir ... , I had done that incorrectly.
Essentially, I had left in my compile section
compile "com.facebook.react:react-native:0.20+"
And I think, what was happening, is that the build process was still puling the Maven JAR released last february when the whole debugging thing broke.
Once I changed the above to
compile "com.facebook.react:react-native:+"
everything started working.
In fact the first error I saw was in compilation, that there was no longer onPause, onResume methods.
Instead they were replaced by onHostPause, and onHostResume.
Unfortunately, the react documentation for 0.25 still shows the old onPause and onResume.
https://facebook.github.io/react-native/docs/embedded-app-android.html#content
And I had consulted with that documentation earlier on, but because it was showing outdated APIs, it did not raise any alerts for me.  So I missed that potential warning sign.
But it is working now. thx for all the help

I had the same issue and also saw the out-dated version of the debug menu. I had to fix it by editing android/app/app.iml and changing the line:
    <orderEntry type="library" exported="" name="react-native-0.24.1" level="project" />

To
    <orderEntry type="library" exported="" name="react-native-0.25.1" level="project" />

There was also one other line in that file that mentioned 0.24.1 which I changed to 0.25.1 but that didn't seem to make a difference either way.

@almost   If you are having old entries for react-native in app.iml , that most likely means that Android Studio cannot find the react-native directory pointing by the url

maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$projectDir/../../node_modules/react-native/android"
}

Because the iml file is generated by Android Studio (or its gradle integration plugin) from build.gradle.  What is really problematic, is that you will not get any errors from Android Studio or gradle  -- if the url pointing to react-native is wrong.  Instead, the build process will use some old version of react-native.  In my case it was pulling 0.21  -- and I could not for the life of me, figure that out.. It took me really long time, unfortunately.
So check your url directory to make sure it points to correct react-native directory under node_modules, and then  your .iml files should have the correct react-native  , automatically

Seeing this issue on RN 0.19 on OS X 10.11.6 (15G31) in Genymotion and iOS simulator. FWIW was not occurring on a different machine under same codebase running OS X 10.11.5 (15F34).

same issue here with RN 0.36 :s

same issue here with RN 0.38, someone can resolve this issue?

For those dropping in it'd be great to hear feedback on the workaround I've provided above.

RN .37, same issue.

This is super old and it looks like chrome debugging works in recent versions

@ericvicenti The larger OSS tools (e.g. Jekyll) I work with tend to tag their issues as stale before closing, giving the community some time to respond, and this can be automated by a bot to save human time. Given the last reported occurrence of this was just a couple of months ago, I'd let this one hang out for a bit longer (like 6 months longer) before you blaze that trail.

@jhabdas Your solution worked for me, but using standard laptop + ubuntu. Thanks :smiley:

@ericvicenti this is clearly still a problem. Could you please respond to my previous question and/or reopen this issue? Thanks

This happens to me on only android in following environment and solution from @jhabdas does not work for me .
React native 0.43.3
gradle version 3.3
android plugin version 2.3.1
android studio version 2.3.1
hope I can get some news from you guys! thanks for taking a look.

On linux I ran into this issue because it was trying to launch chrome with the command google-chrome  I only had chromium installed, so I used created a symlink in /usr/bin/ like:
google-chrome -> chromium-browser

Sadly when we create new toys sometimes to make life seemingly easier, we in fact make it more complex.

FWIW, I had both Chrome and Canary installed on my machine, and the debugger would always open in Canary (even though Chrome was my default browser)
I started getting this error, and noticed that for whatever reason I couldn't launch Canary, it would just die. Uninstalled Canary, and Chrome stepped up for remote debugging.

This seems to be old but it's happening to me now. It was working last friday, but after a reboot of my machine, every time I try to debug the JS remotely, a new tab is open in chrome, and the error message  "Unable to connect with remove debugger. Expected HTTP 101 response but was '400 bad request' shows up. If I try again, a new tab opens and the error repeats.
This is driving me crazy :)

This is what I see in the debugger window in th browser:
VM76:35 WebSocket connection to 'ws://localhost:8081/debugger-proxy?role=debugger&name=Chrome' failed: Error during WebSocket handshake: Unexpected response code: 400
debugger-ui:92 Uncaught TypeError: Cannot set property 'volume' of null
at Object.render (debugger-ui:92)
at Object.setState (debugger-ui:46)
at WebSocket.ws.onclose (debugger-ui:187)

If I use create-react-native-app, this problem is gone. But using react-native-cli to create app, it 100% happen. I have try these both. They are totally fresh new app.
OS: windows
Mobile: android

Suffering from this in react-native 42.3. I've tried all of the above workarounds. Simply can't connect to the packager despite being on the same network. Makes working with a real device very painful.

I got similar error that @fredbt got
Uncaught TypeError: Cannot set property 'volume' of null
at Object.render (debugger-ui:92)
at Object.setState (debugger-ui:46)
at WebSocket.ws.onopen (debugger-ui:150)
I'm using CRNA with Expo 20 and React Native 0.47 :(

@garan82
any solution?

@ruler47 sorry no, I gave up :(

Having this same issue now

Is there any solution? I'm running into this issue on android real phone...

I am running into same problem. Sometimes it works, sometimes it does't. Frustrating

After trying all of the suggestions listed in this thread, I actually decided to pay attention to the onFailure info, stating it failed at DevSupportManagerImpl. This prompted me to update Google Chrome, which worked.
Rookie mistake, remember to actually look at the error messages!
This is on Ubuntu RN 0.50.4 (not that it would make a different to this specific problem)

Hi every body I have the same issue any solution?

Hello maacaro
At this point the most likely cause of the error is "regression". Especially if the OnFailure is in 'DevSupportManager'.
Try upgrading your Chrome browser to the latest before you try anything else, it will likely fix your issue.
Cheers

Found that on StackOverflow and it worked for me:

run

adb reverse tcp:8081 tcp:8081

reload app

This solved my problem:https://stackoverflow.com/questions/44446523/unable-to-load-script-from-assets-index-android-bundle-on-windows/47035389

It's work awesome. No need to run any commands. Check my answer.
https://stackoverflow.com/questions/40898934/unable-to-connect-with-remote-debugger/50258218#50258218

@igor-bv
I used the steps as listed by @igor-bv in 2016 and it worked for me on RN v55.4
Thanks a bunch


better visuals for deleted files

deleted files are not very well indicated in Quick Stage
in the native SCM view they are 'strike-through' and when you 'Open' them they show the file with  a tab title of "Deleted"
this behavior should be mimicked as best as possible.
currently no preview is being shown at all.

show a preview
visually change the menuItem to indicate the file is deleted

the native view opens the file in an editor with a "deleted" subtitle in red. figure out how this is done

attempting to open a deleted file in DIFF is actually causing a silent error. this needs to be handled when the file is attempted to be opened.


refactor: upgrade external secrets to 8.3.0

Signed-off-by: ankitm123<EMAIL_ADDRESS>Fixes a bunch of CVEs: https://github.com/external-secrets/kubernetes-external-secrets/releases/tag/8.2.1, probably best to upgrade to the latest version (8.3.0)

/cc @rawlingsj

/test gsm

/approve


All  setCustomTransactionAnimation

Please can you add also overloaded method
public abstract FragmentTransaction setCustomAnimations(@AnimRes int enter,
        @AnimRes int exit);

public abstract FragmentTransaction setCustomAnimations(@AnimRes int enter,
        @AnimRes int exit, @AnimRes int popEnter, @AnimRes int popExit);

@carmas123 thank you for your feedback, we are looking into and will get back to you

@carmas123 we have integrated the changes to version 1.1.1.


feat: add aws Lambda instrumentation

This instrumentation allow user to use the handler to extract parent context from header that produce distributed tracing.
Inspired by splunk ruby lambda layer and opentelemetry python lambda layer.
Ruby layer creation can be found in opentelemetry-lambda PR
Sample wrapper should be added in layer creation (with lambda instrumentation).
# wrapper.rb
require 'opentelemetry/sdk'
require 'opentelemetry/exporter/otlp'
require 'opentelemetry/instrumentation/all'

OpenTelemetry::SDK.configure do |c|
  c.service_name = '<YOUR_SERVICE_NAME>'
  c.use_all() # enables all instrumentation!
end

def otel_wrapper(event:, context:)
  otel_wrapper = OpenTelemetry::Instrumentation::AwsLambda::Handler.new()
  otel_wrapper.call_wrapped(event: event, context: context)
end

To test with aws lambda, you can try to follow the steps here

@xuan-cao-swi - Are there any tests I should run using both your opentelemetry-lambda PR and this one?

I will create a detailed step to test lambda-related instrumentation.

@kaylareopelle I have created a gist for the steps; but let me know if it's uncleared or failed.

I wasn't able to get the telemetry data into New Relic, but I don't think this needs to be a blocker for the PR. Besides that, everything worked as expected.

Are you using otel default samplers? If that's the case, I need to go back to check if I made some mistakes either in layer side or instrumentation side.

I have added another instruction/result here that I was experimenting with Jaeger on aws lambda instrumentation.
This instrumentation can also help complete the lambda layer build on opentelemetry-lambda

@xuan-cao-swi - I was able to get the lambda instrumentation to work with your updated instructions! 🎉
The key was adding the AWS_LAMBDA_EXEC_WRAPPER=/opt/ruby/otel-handler environment variable.

@xuan-cao-swi While reviewing #887, I noticed you made a few changes to release-please-related files. Do those changes need to be made for the lambda gem as well, or are releases different for this gem?

@xuan-cao-swi While reviewing https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/887, I noticed you made a few changes to release-please-related files. Do those changes need to be made for the lambda gem as well, or are releases different for this gem?

Yes, that would be great if can release together. I have updated the release files.

It looks like we're getting close, @xuan-cao-swi! Is there anything else you were hoping to accomplish before we sync with main and merge this in?

It looks like we're getting close, @xuan-cao-swi! Is there anything else you were hoping to accomplish before we sync with main and merge this in?

Hi @kaylareopelle , no, I think it should be ok. I will open new PR if anything come up (esp. when incorporating with lambda layer build on lambda repo)


Fix compatibility with mono

Since Mono does not support System.Deployment.Application, this fixes the compatibility issue with it.

If you compile it under windows it should work, a better option is just to remove the Application.Deployment dependancy and stick to using the assembly version.


TypeError: Tensor is unhashable. Instead, use tensor.ref() as the key.

Hi.
I am trying to train the model ImageAI but I get this error.
I was previously getting the error regarding the floatt AttributeError: module 'tensorflow' has no attribute 'to_float'
and it was fixed with the code below.
import tensorflow as tf
tf.to_float = lambda x: tf.cast(x, tf.float32)
How can I fix TypeError: Tensor is unhashable. Instead, use tensor.ref() as the key.
I am using Tensorflow 2.x that is on Kaggle.
Tahnks.

use tensorflow 1.13.1 gpu, its solve ypur problem , imageAi is not comfortable with tensorflow 2.0 , so use the lower version of tensorflow.


Tagbuilds

Provides tag driven builds for all jdk versions, main & evaluation
Features:

Triggers when a new "unpublished" upstream build source tag appears eg.jdk-11.0.23+2
OverridePublishName set to "<tag>-ea"
Published binaries release name set to "<tag>-ea-beta"
Artifact filenames contains publish name pruned as per standard release naming,eg.11.0.23_2, or 8u412b03
Main & Evaluation pipelines triggered
Old scheduled builds disabled
Daily Slack status updated to support tag driven builds for all versions

Test job: https://ci.adoptium.net/job/build-scripts/job/utils/job/betaTrigger_17ea/24/console
Fixes: https://github.com/adoptium/ci-jenkins-pipelines/issues/902

run tests

run tests

run tests

pipeline-build-check failed in part because the jdk8 pipeline was on a host that ran out of space.

pipeline-build-check failed in part because the jdk8 pipeline was on a host that ran out of space.

yep, I think @steelhead31 's hopefully fixed it, i'll re-trigger

run tests

Not so sure on the commented out code, would prefer to see it deleted I think (Git will let us get it back)

@karianna yes, agree, better to delete the lines

run tests

run tests

Not so sure on the commented out code, would prefer to see it deleted I think (Git will let us get it back)

@karianna yes, agree, better to delete the lines

In this case I'd actually prefer to have them present and commented out so it's obvious where the time-based scheduling can be re-enabled if desired. We will presumably still need this functionality for new releases while they are maintained by Oracle and not getting regular tags.
I guess as a middle ground we could just leave it in the JDK22+ ones if you don't want to retain it for all of them.

Initial comment before I properly analyse the code - can we add some end-user information on this new process into https://github.com/adoptium/ci-jenkins-pipelines/blob/master/README.md where we describe the current nightly triggering.

thanks for pointing out, yes updated

Initial comment before I properly analyse the code - can we add some end-user information on this new process into https://github.com/adoptium/ci-jenkins-pipelines/blob/master/README.md where we describe the current nightly triggering.

thanks for pointing out, updated and added description of pipeline groovy and parameters

Not so sure on the commented out code, would prefer to see it deleted I think (Git will let us get it back)

@karianna yes, agree, better to delete the lines

In this case I'd actually prefer to have them present and commented out so it's obvious where the time-based scheduling can be re-enabled if desired. We will presumably still need this functionality for new releases while they are maintained by Oracle and not getting regular tags.
I guess as a middle ground we could just leave it in the JDK22+ ones if you don't want to retain it for all of them.

Yes, i've added back in as a comment for jdk22.groovy, which will be used as a basis for jdk22u.groovy which will required the schedule

Raised question in slack about whether there might be a better name than main for the non-evaluation pipelines (especially since main is now used by github as the default branch in new repositories) but that shouldn't be considered a blocker from my pespective


does this currently download the links??

Is this about the link checker or the web crawler?
For the link checker, --check-external-links controls whether it requests the content type of external resources (to ensure the resource exists). It does not download the content of external resources.
For the web crawler, --external-links check requests the content type of external resources (only), and --external-links follow will download the items (up to the specified crawl depth).
Hope that helps!

I meant does it just crawl and show the statistics after or does it
download the crawled links, like Httrack
On Fri, 17 Feb 2023, 00:09 Jared Krinke, @.***> wrote:

Is this about the link checker or the web crawler?
For the link checker, --check-external-links controls whether it requests
the content type of external resources (to ensure the resource exists). It
does not download the content of external resources.
For the web crawler, --external-links check requests the content type of
external resources (only), and --external-links follow will download the
items (up to the specified crawl depth).
Hope that helps!
—
Reply to this email directly, view it on GitHub
https://github.com/jaredkrinke/link_checker/issues/2#issuecomment-1433782962,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJB5FCPF4HTR6REJHJRYN2LWX2QRHANCNFSM6AAAAAAU52MGYA
.
You are receiving this because you authored the thread.Message ID:
@.***>

I should add that I just looked at HTTrack, and it sounds like it might modify the downloaded resources (rewriting links). Adding something like that to this tool would not be a trivial change.
I don't currently have a need for anything like that, so this isn't something I'm actively planning to implement.


Separate http4s Macros into their own project

After a lengthy discussion with @rossabaker, the best way to prevent any leaking of scala-reflect is to separate macros into their own project. Normally this wouldn't be needed, but the usage of QuasiQuotes plus scala 2.10.x support means that we need to pull in scala-reflect to compile the macros for scala 2.10.x.
If we separate out any usages of macros into their own sub project, make that subproject have a scala-reflect as a provided dependency, then the projects that depend on that sub project (in this case, http4s), won't pull the scala-reflect dependency.
Im fairly sure this is how it works, as I have done it before, will attempt this during the weekend, or early next week

Two years and no complaints. Closing.