Wild and unexpected scrolling behavior

In Yakyak 1.5.10 on Windows 10, I'm seeing a periodic weird scrolling problem.  I click on one of my contacts and it pops up.  Then it starts scrolling backwards in time and never stops.  The only way to stop it from continuing backwards in time is to click on a different contact and then come back.  Sometimes, it doesn't scroll all crazy but starts in the past instead of on the latest messages.
Very intermittent and just started on the latest release.  Was something changed on the scrolling that could do this?

Can you test the beta version? I think that issue is resolved there.

Certainly!  What exact version should I test?

Nevermind, #1273 looks like it might be related so I'll get the version with that fix in it.  Thanks!

The prerelease v1.5.11-beta-rolling
I was waiting for people to test it out, but it seems some are already using it. (from another issue)

You're not alone as per #1271, but the good news is that this issue should indeed be fixed in the rolling release. Please let us know if you manage to test it so we can know for sure if it's fixed or not.

Yes, this appears to be fixed with the patch for 1271!  Awesome!

Also confirmed switching to the beta/rolling updates solves the scrolling issue

Thanks @HomerSp


Cannot request more pages of sent pings in the frontend

The backend returns a negative number of remaining pings when GETting /api/pings, do the "load more Pings" button is disabled because theres not ≥1 Ping to load.

Fixed in d4e422b9c46e5a8c88097bcd031f48d5594e379c


ios build fails: 'Flutter/Flutter.h' file not found

Hi, I seem to be having loads of issues with iOS. My app is in production and live on both the play store & app store however since upgrading to support null saftey I've been unable to get the iOS build working.
Error logs:

Output of flutter build ios --verbose: flutter_build_ios.log (2.5Mb)
Output of xcode trying to run on device:
Build Runner_2022-03-16T15-17-53.txt (18.6Mb)

I've tried removing ios/Flutter/Flutter.podspec, I've made sure I'm running the most up to date packages.  I've generally been having a generally bad experience with iOS + flutter for a while, maybe something in my case is wrong and fixable? These are the issues i've been living with:

Builds take 5-10 minutes which is just a nightmare for fixing issues or diagnosing build problems like this
I'm unable to run from VSCode - it tells me that i should try running from Xcode instead

Please let me know if you have any advice for sorting out my ios builds, thanks!

Flutter doctor -v
[✓] Flutter (Channel stable, 2.10.3, on macOS 12.3 21E230 darwin-x64, locale en-GB)
    • Flutter version 2.10.3 at /Users/jimmyff/flutter-sdk
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7e9793dee1 (2 weeks ago), 2022-03-02 11:23:12 -0600
    • Engine revision bd539267b4
    • Dart version 2.16.1
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/jimmyff/Library/Android/sdk
    • Platform android-31, build-tools 29.0.3
    • Java binary at: /Applications/Development/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Development/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)

[!] IntelliJ IDEA Ultimate Edition (version 2017.2)
    • IntelliJ at /Applications/Development/IntelliJ IDEA.app
    ✗ Flutter plugin version 15.1 - the recommended minimum version is 16.0.0
    • Dart plugin version 172.3317.48
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[✓] IntelliJ IDEA Ultimate Edition (version EAP IU-172.1909.2)
    • IntelliJ at /Applications/Development/IntelliJ IDEA 2017.1.2 EAP.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.65.1)
    • VS Code at /Applications/Development/Visual Studio Code.app/Contents
    • Flutter extension version 3.36.0

[✓] Connected device (2 available)
    • James’s iPhone (mobile) • 00008020-001A0D811A78002E • ios            • iOS 15.3.1 19D52
    • Chrome (web)            • chrome                    • web-javascript • Google Chrome 99.0.4844.51

[✓] HTTP Host Availability
    • All required HTTP hosts are available

Hi @jimmyff, Thanks for filing the issue. Sorry for the delayed response for some reason this issue didn't show up in untriaged issues.

/Users/jimmyff/Development/esc_party/esc_app/ios/Runner/Runner-Bridging-Header.h:1:9: note: in file included from /Users/jimmyff/Development/esc_party/esc_app/ios/Runner/Runner-Bridging-Header.h:1:
#import "GeneratedPluginRegistrant.h"
^
/Users/jimmyff/Development/esc_party/esc_app/ios/Runner/GeneratedPluginRegistrant.h:10:9: error: 'Flutter/Flutter.h' file not found
#import <Flutter/Flutter.h>
^
1 error generated.
:0: error: failed to emit precompiled header '/Users/jimmyff/Library/Developer/Xcode/DerivedData/Runner-gvjwzkyvgjwthnbmjzvxikjasgyi/Build/Intermediates.noindex/PrecompiledHeaders/Runner-Bridging-Header-swift_3B2RD1630KUEL-clang_56KV530HTHM6.pch' for bridging header '/Users/jimmyff/Development/esc_party/esc_app/ios/Runner/Runner-Bridging-Header.h'
/Users/jimmyff/Development/esc_party/esc_app/ios/Runner/Runner-Bridging-Header.h:1:9: note: in file included from /Users/jimmyff/Development/esc_party/esc_app/ios/Runner/Runner-Bridging-Header.h:1:
#import "GeneratedPluginRegistrant.h"
^
2 errors generated.

From your logs this issue looks same as this https://github.com/flutter/flutter/issues/99387,

Builds take 5-10 minutes which is just a nightmare for fixing issues or diagnosing build problems like this

Is this issue with a newly created flutter project too? if so I would recommend you to please file that as a separate issue.

I'm unable to run from VSCode - it tells me that i should try running from Xcode instead

Could you please share the complete error/message when this happens.
Closing as the duplicate of the above linked issue. Please follow up there for further updates. Incase you disagree feel free to write in the comments and we will reopen it.
Thank you.


Check for Rails before invocation

This line breaks when this library is a dependency of a ruby gem (such as the case of building a third party component library)

Summary
Refs #231 Support for this library as a dependency of third-party component libraries

@dpaola2 mind adding a changelog entry and your name to the README?

(It would be nice to have a test for this, but I could see that being difficult to do)


Videos without a title are not listed in the search results

Broadcasts with the title "Untitled Broadcast" are not recognized by the search

Fixed!


BND tool upgrade

awaits releasing 5.0.0 in early January, 4.2.1 is not compatible #552
it would be nice to also align using https://github.com/bndtools/bnd/issues/3470

"20 hours ago"5.0.0.RC2 ; BND tool is coming....


Clarification of "Delays must be a multiple of 16 samples [8043]" when sending jobs to IBMQ

I would like to get a clarification of how to solve this error Delays must be a multiple of 16 samples [8043] when sending a job to IBMQ backend. Presumably this is not Qiskit version or OS dependent. Below are steps I have done.

Sent a circuit A with Delay instruction of 2,4,6,8,10,12 (and more) dt to ibm_oslo and it raises the error Delays must be a multiple of 16 samples [8043]
Sent a circuit B with Delay instruction of 4,8,12 (and more) dt to ibm_nairobi and it runs without any error

My question is: both circuits have Delay instruction with duration less than 16dt, but why one raises an error and another one runs fine? Could someone please clarify am I getting the error message correctly, or what does this error actually means? Thank you!

Update: I've just found what potentially could be the reason. But still would like to get a clarification for the restriction of pulse_alignment, does it mean that (for Oslo) each Instruction must have start time at multiple of 16dt or does it mean that each duration of Instruction must be a multiple of 16dt, or something else?
This data is from running backend_nairobi.configuration().timing_constraints
for Nairobi
{'acquire_alignment': 16,
 'granularity': 16,
 'min_length': 64,
 'pulse_alignment': 1}

for Oslo
{'acquire_alignment': 16,
'granularity': 16,
'min_length': 64,
'pulse_alignment': 16}

Found an answer in https://github.com/Qiskit/qiskit-terra/issues/7317


Modify a copy of instruction instead of the same instance in circuit.data in QuantumCircuit.qasm() method.

What is the expected enhancement?
In QuantumCircuit.qasm() method, when id is added to the instruction name to make it unique if it is the same as an existing instruction. See: https://github.com/Qiskit/qiskit-terra/blob/34b8079844fb19ee719015681184233afb4f9f72/qiskit/circuit/quantumcircuit.py#L1465-L1468
It currently modifies the circuit data directly, which is not ideal. We could just store a copy of the instruction where we modified the name instead of storing the same instance that lives in circuit.data. See comment here by @Cryoris: https://github.com/Qiskit/qiskit-terra/pull/5887#discussion_r664023701

Grabbing this one for my intern, if that's alright :)

Yes, sure. Please go ahead :)

I have to give it up -- onboarding took up the time I was hoping to use on this. Apologies! I should have anticipated that

@epelaaez That was fast!!! Congrats on making your first code contribution to Qiskit! Way to go!!!

Happy to contribute!


createDaultConfiguration and the serialise a String returns -4 10

doing a simple serialisation test like this
`import org.nustaq.serialization.FSTConfiguration
FSTConfiguration ser = FSTConfiguration.createDefaultConfiguration()
byte[] bytes = ser.asByteArray("Hello");
System.out.println(new String(bytes,"UTF-8"))
Object deser = ser.asObject(bytes)
println "deserialised object shows as $deser"`
when i do that the asByteArray method returns -4 and 10 as first two bytes.  Wasnt expecting that
is this me doing something wrong or does the two extra bytes mean something
works fine with json fst and wraps the string with "" - no strange bytes on that

your expectations are wrong. there is some additional data inside a serialized byte[] e.g. to compress package names and avoid serializing class names twice etc.


Spaces or caps in e-mail aren't filtered

Hence frequent login failures from users.

Fixed by https://github.com/buckless-team/server/pull/257


Mjschanne/chat history UI integration

This pull request introduces several changes to both the frontend and backend of the application, primarily focusing on the WebApplicationExtensions.cs file and the chat functionality. The main changes include the removal of the Blazor Clippy streaming endpoint, the addition of a delete endpoint for chat sessions, and various modifications to error handling and chat session management.
Backend changes:

app/backend/Extensions/WebApplicationExtensions.cs: Removed unnecessary imports and the Blazor Clippy streaming endpoint, added a delete endpoint for chat sessions, and improved error handling in the chat functionality. The chat history session management was also modified, including changes to user authorization checks and the addition of a 3-word summary generation for the title. [1] [2] [3] [4] [5] [6] [7] [8]
app/backend/Services/CosmosChatHistoryService.cs and app/backend/Services/IChatHistoryService.cs: Updated the namespace for ChatHistorySession and improved the status code check in UpsertChatHistorySessionAsync. [1] [2] [3]
app/backend/appsettings.json: Added an ASPNETCORE_ENVIRONMENT setting and a username setting. [1] [2]

Frontend changes:

app/frontend/Models/ChatHistorySessionUI.cs: Removed the entire file, indicating a shift in how chat history sessions are managed in the UI.
app/frontend/Pages/Chat.razor and app/frontend/Pages/Chat.razor.cs: Refactored to work with the updated chat history session management, including changes to condition checks, question and answer handling, and chat history loading. The save chat history button was also removed. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]

Removed the change that adds ASPENETCORE_ENVIRONMENT variable - that was extraneous


Fix curly_braces_in_flow_control_structures lint

Dart CI is currently red: https://github.com/dart-lang/web/actions/runs/11088077104/job/30807510912

Go ahead and land on red – because of the known wasm issue w/ dev


introspector: enable additional target selectors

The current oracle for finding interesting targets for harnesses is by way of far-reach-low-coverage from Fuzz Introspector. However, the logic behind this API only represents a subset of ways commonly used to find interesting targets. For example, Fuzz Introspector itself provides multiple oracles for findings targets, some of which are displayed here https://introspector.oss-fuzz.com/target_oracle (it will load, but may take some seconds to do so).
This PR extends the data prep logic to enable one more heuristic from fuzz introspector, that's based on finding functions with interesting keywords in them (serialize, parse, read and such things) in combination with low coverage and decent cyclomatic complexity.
We can extend this into a direction where we can have X target oracles (there are a handful of oracles in FI already) as well as attach the oracle IDs to the benchmarks which can be useful for large-scale experiments to understand how various ways of finding interesting targets perform.
FYI this only works using a local deployment of FI -- a bump is needed on OSS-Fuzz to enable this using introspector.oss-fuzz.com

Thanks @DavidKorczynski!
I am very glad that you are working on this; selecting benchmarks is a great idea.
A similar idea is selecting public functions that take untrusted user inputs.
This will reduce false positive bugs (i.e., bugs are infeasible in real-world usage) by avoiding private functions or functions that do not take user inputs.
We have some preliminary heuristics and code. Would you be interested in considering adding them to FI?
We would really appreciate that.

A similar idea is selecting public functions that take untrusted user inputs. This will reduce false positive bugs (i.e., bugs are infeasible in real-world usage) by avoiding private functions or functions that do not take user inputs.
We have some preliminary heuristics and code. Would you be interested in considering adding them to FI? We would really appreciate that.

Yeah, definitely. We can try to characteristic this using the conditions that a function must:

Not be called by any other others in a given project (unless it's a test), and;
Have external linkage, and;
Have at least some arguments

?

Thanks for listing the ideas.

Not be called by any other others in a given project (unless it's a test) and

Good point, but would this be a hard rule?
It may lead to false negatives (i.e., excluding functions that are sensible to fuzz).

Have external linkage

I reckon this implies:

Excluding Functions without Prototypes in Header Files
Excluding Functions in Anonymous namespaces
Excluding Static Functions

Are there other specific rules under this idea?

Have at least some arguments.

Yep!
Also some idea to prioritize functions, please let me know if they make sense:

Prioritise functions in the ‘Include’ Directory

Project Example

Prioritise functions with high cyclomatic complexity.
Prioritise functions with high external usage (e.g., from other projects).


Show panorama world panels in mesh viewer

Would require the ability to render rectangles in 3D space when given a width, height variables, along with position  and angles vectors
For extra points, show some info on the front face, such as DPI and source XML file

Field name
type
hash

width
float
4171470989

height
float
1139940167

panel_dpi
float
665936565

ignore_input
boolean
2746975362

interact_distance
float
3474383802

panel_class_name
string
1464021590

dialog_layout_name
string
2757898095

We can trivially render rectangles, but do you have examples where this is used?

Quick look, Dota doesn't have any anymore, but Destinations still has them
First example I found is the valvelobby example in Destinations


All SendToClient API for messages shows obsolete.

All SendToClient API for messages shows obsolete.
Documentation may not be up to date; hard to say with API issue.

Seems to be intentional. All connectionId based communication was dropped in #422.

Will try to see why the API generation isn't showing the alternatives, but both of these are about to be removed anyway.

There is a legitimate bug here,   the docs are not showing the replacement

seems to work correctly in intellisense:

It works in intellisense because intellisense is picking up the [Obsolete("....")]. text not the xmldoc

works now that obsoletes are gone


[animations] OpenContainer should have a onOpen callback that is executed only once

I'm using openContainer in my app. I want call a function on OpenContainer's openBuilder page opened.
My Code Like this but the function runs 2-3 times onOpen and onClose. I want call only 1 time after page opened:
openBuilder: (BuildContext c,
                                                VoidCallback action) {
                                              _supRepo.getProductStore(context,
                                                  _userRepo.activePage['id'],
                                                  campaign: _userRepo
                                                              .campaignObject.values
                                                              .elementAt(
                                                                  campaignCatIndex)[
                                                          'campaigns']
                                                      [campaignIndex]['id']);
                                              return ProductPage(
                                                showAppBar: true,
                                              );
                                            },

really weird OpenContainer doesn't bind such an important callbacks and just a tappable property
and by the way i think _OpenContainerRoute should be in general public, because developers can come up with their own implementations of this

really weird OpenContainer doesn't bind such an important callbacks and just a tappable property
and by the way i think _OpenContainerRoute should be in general public, because developers can come up with their own implementations of this

@barangungor
can you provide your flutter doctor -v and a complete minimal reproducible code sample (not a snippet from production)

@barangungor
can you provide your flutter doctor -v and a complete minimal reproducible code sample (not a snippet from production)

flutter doctor -v output:
[√] Flutter (Channel beta, 1.25.0-8.2.pre, on Microsoft Windows [Version 10.0.19042.746], locale tr-TR)
• Flutter version 1.25.0-8.2.pre at C:\src\flutter
• Framework revision b0a2299859 (11 days ago), 2021-01-05 12:34:13 -0800
• Engine revision 92ae191c17
• Dart version 2.12.0 (build 2.12.0-133.2.beta)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at C:\Users\bbara\AppData\Local\Android\Sdk
• Platform android-30, build-tools 30.0.2
• ANDROID_SDK_ROOT = C:\Users\bbara\AppData\Local\Android\Sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
X Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[!] Connected device
! No devices available
! Doctor found issues in 2 categories.
And this is my OpenContainer Code :
`
OpenContainer(
transitionDuration:
Duration(milliseconds: 300),
closedBuilder: (BuildContext c,
VoidCallback action) {
return Container(
margin: EdgeInsets.only(
top: MediaQuery.of(context)
.size
.height /
150,
),
child: Image.network(
IMAGE_ORIGINAL +
_userRepo
.campaignObject
.values
.elementAt(campaignCatIndex)[
'campaigns'][
campaignIndex]
['image']
.toString()));
},
openBuilder: (BuildContext c,
VoidCallback action) {
_supRepo.getProductStore(context,
_userRepo.activePage['id'],
campaign: _userRepo
.campaignObject.values
.elementAt(
campaignCatIndex)[
'campaigns']
[campaignIndex]['id']);
return ProductPage(
showAppBar: true,
);
},
tappable: true,
);
`

flutter doctor -v output:
[√] Flutter (Channel beta, 1.25.0-8.2.pre, on Microsoft Windows [Version 10.0.19042.746], locale tr-TR)
• Flutter version 1.25.0-8.2.pre at C:\src\flutter
• Framework revision b0a2299859 (11 days ago), 2021-01-05 12:34:13 -0800
• Engine revision 92ae191c17
• Dart version 2.12.0 (build 2.12.0-133.2.beta)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at C:\Users\bbara\AppData\Local\Android\Sdk
• Platform android-30, build-tools 30.0.2
• ANDROID_SDK_ROOT = C:\Users\bbara\AppData\Local\Android\Sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
X Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[!] Connected device
! No devices available
! Doctor found issues in 2 categories.
And this is my OpenContainer Code :
`
OpenContainer(
transitionDuration:
Duration(milliseconds: 300),
closedBuilder: (BuildContext c,
VoidCallback action) {
return Container(
margin: EdgeInsets.only(
top: MediaQuery.of(context)
.size
.height /
150,
),
child: Image.network(
IMAGE_ORIGINAL +
_userRepo
.campaignObject
.values
.elementAt(campaignCatIndex)[
'campaigns'][
campaignIndex]
['image']
.toString()));
},
openBuilder: (BuildContext c,
VoidCallback action) {
_supRepo.getProductStore(context,
_userRepo.activePage['id'],
campaign: _userRepo
.campaignObject.values
.elementAt(
campaignCatIndex)[
'campaigns']
[campaignIndex]['id']);
return ProductPage(
showAppBar: true,
);
},
tappable: true,
);
`

[...] and a complete minimal reproducible code sample (not a snippet from production)

OpenContainer( transitionDuration: Duration(milliseconds: 300), closedBuilder: (BuildContext c, VoidCallback action) { return Container( margin: EdgeInsets.only( top: MediaQuery.of(context) .size .height / 150, ), child: Image.network( IMAGE_ORIGINAL + _userRepo .campaignObject .values .elementAt(campaignCatIndex)[ 'campaigns'][ campaignIndex] ['image'] .toString())); }, openBuilder: (BuildContext c, VoidCallback action) { _supRepo.getProductStore(context, _userRepo.activePage['id'], campaign: _userRepo .campaignObject.values .elementAt( campaignCatIndex)[ 'campaigns'] [campaignIndex]['id']); return ProductPage( showAppBar: true, ); }, tappable: true, );

@barangungor
this seems a snippet from production code rather than a minimal reproducible code sample
in this link you can find a reference to what this definition implies

[...] and a complete minimal reproducible code sample (not a snippet from production)

OpenContainer( transitionDuration: Duration(milliseconds: 300), closedBuilder: (BuildContext c, VoidCallback action) { return Container( margin: EdgeInsets.only( top: MediaQuery.of(context) .size .height / 150, ), child: Image.network( IMAGE_ORIGINAL + _userRepo .campaignObject .values .elementAt(campaignCatIndex)[ 'campaigns'][ campaignIndex] ['image'] .toString())); }, openBuilder: (BuildContext c, VoidCallback action) { _supRepo.getProductStore(context, _userRepo.activePage['id'], campaign: _userRepo .campaignObject.values .elementAt( campaignCatIndex)[ 'campaigns'] [campaignIndex]['id']); return ProductPage( showAppBar: true, ); }, tappable: true, );

@barangungor
this seems a snippet from production code rather than a minimal reproducible code sample
in this link you can find a reference to what this definition implies

I had to do this to explain my problem. I think it's pretty understandable. I want to run a function only once when it is opened. Instead of the code before "return" in the code block I provided, print ('TEST'); you can write and try. When opening my page, the function works 2 or 3 times and I don't want that to happen.

I had to do this to explain my problem. I think it's pretty understandable. I want to run a function only once when it is opened. Instead of the code before "return" in the code block I provided, print ('TEST'); you can write and try. When opening my page, the function works 2 or 3 times and I don't want that to happen.

Considering this as a proposal based on the use-case. I suggest to add an onOpen callback (similar to  onClosed) which should be called only once: when the container is being opened.
Thank you

Considering this as a proposal based on the use-case. I suggest to add an onOpen callback (similar to  onClosed) which should be called only once: when the container is being opened.
Thank you

Suggestion for me or for the flutter team?

Suggestion for me or for the flutter team?

Suggestion for me or for the flutter team?

For anyone working on a fix/PR for this issue

Suggestion for me or for the flutter team?

For anyone working on a fix/PR for this issue

Hey @pedromassangocode can I create a pr for this?

Hey @pedromassangocode can I create a pr for this?

Yes you can.

I made on @pedromassangocode

You should be able to achieve this behavior by setting OpenContainer.tappable to false and then wrapping whatever you return from the closedBuilder into a GestureDetector. In its onTap you call whatever you want, plus the action callback passed to the closedBuilder.

I had the same idea and it worked in my project. I still made a pr because I think it's a simple improvement without any drawbacks. Nevertheless we should maybe add some docs explainling the solution.

I've added the tappable: false property to my OpenContainer. I wrapped my ClosedBuilder with a GestureDetector. I added the function I ran in OpenBuilder to the onTap of the GestureDetector in my closedBuilder. My function worked, but my page in openBuilder did not open. how do i do this Am I doing something wrong?
OpenContainer(
                                          closedShape: RoundedRectangleBorder(
                                              borderRadius:
                                                  BorderRadius.circular(500)),
                                          transitionDuration:
                                              Duration(milliseconds: 500),
                                          closedBuilder: (BuildContext c,
                                              VoidCallback action) {
                                            return GestureDetector(
                                              onTap: () {
                                                print('HAHA');
                                                _supRepo.getProductStore(c,
                                                    _userRepo.activePage['id'],
                                                    brand: json.decode(_userRepo
                                                                .activePage[
                                                            'brands'])[index]
                                                        ['id']);
                                              },
                                              child: Container(
                                                child: Image.network(
                                                    IMAGE_SQUARE +
                                                        json.decode(_userRepo
                                                                    .activePage[
                                                                'brands'])[
                                                            index]['logo']),
                                              ),
                                            );
                                          },
                                          openBuilder: (BuildContext c,
                                              VoidCallback action) {
                                            return ProductPage(
                                              showAppBar: true,
                                            );
                                          },
                                          tappable: false,
                                        ),

Thanks for help i fixed my problem but i think it should be added as an option

Could someone please provide an Example of this? Tried everything but I can't get to execute the Callback. It either opens the Container or it executes the Callback without opening anything.

return OpenContainer(
  tappable: false,
  closedBuilder: (context, action) => GestureDetector(
     onTap: () {
       action();
       // your onOpen code
     },
     child: ....
  ),
);

return OpenContainer(
  tappable: false,
  closedBuilder: (context, action) => GestureDetector(
      behavior: HitTestBehavior.opaque,
     onTap: () {
       action();
       // your onOpen code
     },
     child: ....
  ),
);

Thank you so much! I was doing exactly the same but without the "()" in "action". Sorry, noob error.

This feature really is a must have. +1 from me and I'll be sure to follow whatever news in this thread.

I also need this, openBuilder returns a page but before the return, I'm logging with firebase analytics. That logging call gets triggered 5-10 times on every opening.

You can use the workaround proposed in the comment above: https://github.com/flutter/flutter/issues/74111#issuecomment-1150578660

I have been struggling with poor animation performance and also other strange behavior in my app until I noticed that the openBuilder gets called multiple times. All the issues I had were caused by this. The widget I build in openBuilder is a very complex page so it definitely must not be created multiple times.  This was quite unexpected behavior and unfortunately the suggested workaround does not help in my case for some reason. The openBuilder gets still called twice.
So I implemented another workaround which is to save the widget created in openBuilder and in subsequent calls return the saved widget. One challenge is that where to reset the saved instance (you can't do it in closeBuilder as it also gets called "randomly" multiple times). Here is a simplified sample of my solution if it helps anyone:
class AddEventFloatingActionButton extends StatefulWidget {
  const AddEventFloatingActionButton({super.key});

  @override
  State<AddEventFloatingActionButton> createState() =>
      _AddEventFloatingActionButtonState();
}

class _AddEventFloatingActionButtonState
    extends State<AddEventFloatingActionButton> {

  Widget? _openBuilderWidget;

  final _isMenuOpen = ValueNotifier<bool>(false);
  @override
  Widget build(BuildContext context) {
    return SpeedDial(
      onOpen: () => _openBuilderWidget = null,
      isOpenOnStart: _isMenuOpen.value,
      openCloseDial: _isMenuOpen,
      children: <AddEventCommand>[
        AddEventCommand(EventTypes.a),
        ...
      ].map(
        (c) {
          return SpeedDialChild(
            child: OpenContainer(
              openBuilder: (BuildContext context, VoidCallback _) {
                scheduleMicrotask(() {
                  _isMenuOpen.value = false;
                });

                if (_openBuilderWidget != null) {
                  return _openBuilderWidget!;
                }

                _openBuilderWidget = EditEventPage(newEventType: c.eventType);

                return _openBuilderWidget!;
              },
              closedBuilder: (context, openContainer) {
                return Container(...);
              },
            ),
          );
        },
      ).toList(),
    );
  }
}


Added workaround to the README for issue #18

Added a note in the README for how to make a Sinatra application respond to the OPTIONS request in order to get CORS working.
Currently, the gem doesn't automatically respond to this request because it is difficult, as discussed in issue #18 .

I believe I've added the appropriate language. This has been quite educational for me. I'd be happy to make any other changes if you want.

@RyanMarcus wonderful work, I think this is ready to merge. I'm glad it has been educational :). Thanks so much for the contribution!


Removing player commands behaviour on Android14 vs Android12/10

Using this code snippet from the docs:
https://developer.android.com/media/media3/session/background-playback#media-notification-controller
I am trying to remove the seek to previous button from the notification while adding custom seek commands.
                .remove(Player.COMMAND_SEEK_TO_NEXT)
                .remove(Player.COMMAND_SEEK_TO_NEXT_MEDIA_ITEM)
                .remove(Player.COMMAND_SEEK_TO_PREVIOUS)
                .remove(Player.COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM)

It works fine on android 14:

But on Android 12 and 10, the skip back button is still there:

I also tried removing the skip commands in the ForwardingPlayer. The button is removed from the notification but the custom commands are not placed correctly on android 12/10.

Note that removing .remove(Player.COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM) // Disable seek scrubbing in the timeline works fine on all tested android versions.

Hi @abouda,
Before Android 13, the notification actions and buttons are populated by the MediaNotification provided by the MediaNotification.Provider. We have a default implementation DefaultMediaNotificationProvider. In the default logic, the buttons are derived from the player.getAvailableCommands(), so that's why removing the skip commands works, but you may want to customize the placement by extending the DefaultMediaNotificationProvider and implement the addNotificationActions method.
From Android 13 onwards, the notification actions are directly derived from the Player state from the session, so that's why you see there is a behavior difference on Android 14.


Migrating away from Quartz Scheduler to HostedServices

Asp.Net Core has build in support for Hosted Service, so I would like to implement https://github.com/kdcllc/CronScheduler.AspNetCore to support background scheduled jobs.

Cool. We currently use Quartz only for one thing: retrying failed emails. But I do believe Quartz is overkill for what we're using it for. And I like to play with new tech, so bring on your CronScheduler. 👍


[WIP] Reformatted and cleaned some code

Reformatted PPO1, A2C, VPG (first 3 commits)

Reformatted the rewards tracking (separate commit)

Made getting observation shape and action shape consistent and the same across all files (refer to last commit)

Moved all saving related parameters to the trainer

[x] Saving/loading models: clean existing code, maybe #161 , #181

[x] Fix the evaluate function in Trainer (#164)

If there are any other changes required let me know.

@Sharad24 @Het-Shah @ajaysub110 Let me know if this looks good. It's mostly just reformatting but a lot of it was necessary to clean the code (got confusing with reward logging and atari support needed PPO to be reformatted to use actor-critic). Made mainly so that #175 didn't have too much new unrelated code.

I'm thinking of moving all saving/logging related arguments to the trainer. Currently, the Agent has save_model and run_num. It would just be cleaner (and more sound) to keep those arguments in the Trainer class instead.

Also, we could remove self.load_model from the agent and make it part of the trainer too. The Trainer could then call Agent.load_params() to load some path. The logic is that keep any arguments not needed for training outside of the agent. It makes more sense to include it as part of the Trainer instead.

Please add a [WIP] tag or mark the PR as draft? If its not complete

Do you think it would be a good idea to keep the issues you're facing for another PR (or separate PRs perhaps)?

Most of these changes are just reformatting or minor restructuring. I figured there would be too many PRs if they were to be solved separately. I've kept each commit sort of standalone. If you want I can open separate PRs next time, I didn't plan to do these many changes initially.

@ajaysub110 Was there a reason we added run_num as an argument? What it's doing is just letting the user choose which run number they want to save the model as (not load). Is that required?

If the Travis builds, we can merge this @Sharad24 . I'm not adding anything new in this PR.

Everything done?

There's an isort-black compatibility issue now :( I'll sort that out

I'd say keep it to 4.2.5 and open a separate issue for that? Because I think there are other compatibility issues as well

I modified .isort.cfg as recommended on the official black website. It seems to build fine now. (lint check has passed)

Ready to merge @Sharad24


The speakerphone fuctionality does not seem to work

Tested the script with three people and it seems that the speaker phone functionality where people should hear who you are on the phone or radio to does not work.

The dev branch now seems to have fixed this @FrazzIe


Create JoshuaKato

Add me to technical writers please

I have signed the CLA agreement for my pull request to come through.


make FIRDocumentListenOptions.includeMetadataChanges private

Discussion
As discussed in Firestore API discussion, the name clashes creates confusion. Android SDK already not exposing the property; here change iOS SDK to match it.
Testing
Tests pass.
API Changes
Its an implementation oversight. Fix to match Android SDK.

This is currently public, right? If so, it's a breaking change and can't be submitted until the next full version bump of the Firebase SDK.

Now merges with firestore-api-changes for next version.

@ryanwilson Firestore is still in beta, though, and in the past has (after alpha) made breaking changes without a major version bump.

@morganchen12 Ahhh right! I forgot it wasn't at 1.0 yet. I'm good with this going into master then if desired.

We're not yet merging to master because we're attempting to batch up a bunch of API changes into a single release rather than dribbling them out over time and making every upgrade painful.

Should I merge with master or with firebase-ios-sdk?

This should be squashed and merged into the firebase-api-changes branch since it's one of the breaking changes we're batching up.


Align cassio versions between examples for Cassandra integration

Just reducing confusion by requiring cassio>=0.0.7 consistently across examples.

thanks @hemidactylus!


⚠ gorzdrav.org has degraded performance

In 9b48bd9, gorzdrav.org (https://gorzdrav.org) experienced degraded performance:

HTTP code: 200
Response time: 9378 ms

Resolved: gorzdrav.org performance has improved in 5c3cae0 after 16 minutes.


Vertical Bar issue with Customization Bar, when fullscreen

Vertical Bar doesn't respect full screen Customization Bar shown when hovering top of the screen.

Done with 249ad40db0d50d9f3ca79d205bdcf2541cbf3442.


Rethink isFetching plugin

I have reasons, promise! I just need a bit more time to formulate them. Stay tuned!

We hashed this out and found something that feels much better for 0.20.0.


Investigate and document correlation between Rancher cacerts and server-url settings

The behavior of server-url and cacerts need better documentation to inform the user how Elemental uses these settings.
These settings are used for the elemental-register, and elemental-system-agent (and rancher-system-agent?) configs.
While the elemental-register can cope with a mismatching cacerts value, the elemental-system-agent is going to fail if the cacerts is not matching the server-url's certificate.
This is because the server-url is used to create the kubeconfig used by the elemental-system-agent, and by default we use the cacerts value to populate the certificate-authority-data in the config.
If I understand this correctly, the kubeconfig strictly uses the certificate-authority-data value to validate the k8s API. So this has a large impact when the server-url is pointing to a secondary ingress for example.
I think this is the relevant doc: https://ranchermanager.docs.rancher.com/getting-started/installation-and-upgrade/resources/update-rancher-certificate
Also relevant, the tls-rancher-ingress CA can be easily checked on https://my.rancher.domain/cacerts

Trying to successfully bring up a private CA Rancher environment, but hardcoding the cacerts.pem path does not really work well with cert-manager and tls secrets. This would need to be reopened: https://github.com/rancher/rancher/issues/36994

After playing with private CA setup and switching CAs, I have a few questions still to answer:

Does the process to update the Rancher certificate cover the rancher-system-agent that Elemental installs? More in specific is there anything already updating /var/lib/rancher/agent/rancher2_connection_info.json?

When using an ACME provider, like LetsEncrypt, does the cacerts Rancher setting get updated with the new CA or is that going to be empty?

There seem to be no process to update /var/lib/elemental/agent/elemental_connection.json, which is driven by the yip config: /oem/elemental-system-agent.yaml. This is going to be a problem, since we have no way to update anything on the machine once the elemental-system-agent fails due to the CA renewal.

Good news, the TLS enforcement mode can be configured on agents: https://ranchermanager.docs.rancher.com/getting-started/installation-and-upgrade/installation-references/tls-settings#agent-tls-enforcement
This is useful for the LetsEncrypt/empty cacerts scenario.

Spike is done, closing as a new set of issues was created as result: https://github.com/rancher/elemental/issues/1612


Broken link in document (NCBI-Sequence_submission_for_COVID-19.pdf)

Hi
the link
https://github.com/CDCgov/SARS-CoV-2_Sequencing/blob/master/NCBI-Submission/NCBI-Sequence_submission_for_COVID-19.pdf
is broken (404).
Just letting you know.
Marco Antoniotti

For completeness, it is under the heading "1. NCBI Submission Portal"

Good catch. Fixed. PDF was in the repository, I just bungled the link.


Add docs for local simulation, benchmarking and gas profiling

This adds the proper documentation for the new local simulation features added in https://github.com/aptos-labs/aptos-core/pull/12832.

@vgao1996 is this ready to be merged?

@hariria need to make some final adjustments to address the issues @georgemitenkov brought up. Please allow me a bit more time on this

@hariria @georgemitenkov I've addressed all the issues you brought up. Thank you both for the great feedback!
Will merge the PR soon once all tests pass. Let me know if you intend to request last minute changes


Single Quote Escape

How do you escape single quotes??

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

ID: 76e31411-f1a2-710b-94c0-39acf9e7314b
Version Independent ID: d5cefffe-dee0-2d2e-f3cb-8eefd5d40d17
Content: Expression and functions in Azure Data Factory
Content Source: articles/data-factory/control-flow-expression-language-functions.md
Service: data-factory
GitHub Login: @sharonlo101
Microsoft Alias: shlo

@jamesbascle Thanks for your feedback! We will investigate and update as appropriate.

FYI the answer is to escape it by doubling, aka ''

How do we escape json data?
My data looks like this: {"alex":"http://www.isawesome.com"} but I need it to look more like this: {\"alex\":\"http:\/\/www.isawesome.com\"}
How do we escape json data?


Is it possible to make multiple players without VPN? windows 2019 server

Is it possible to make multiple players without VPN? windows 2019 server
What Is Necessary To Play Without VPN?
Windows Server 2019

Not at the time, I don't know what is needed to do this.
I'm closing this in favor of #47


Max Ammo doesn't replenish grenades or monkey bombs

I am unsure if you intended for Max Ammo to have this function however I thought it was worth mentioning
Max Ammo doesn't replenish grenades or monkey bombs you have to get them back out the box and they are really really hard to pull xD they are like ray guns which I can understand with Monkeys but obviously grenades meh :)
Using Spigot 1.16
COMZ DEV comzombies-Universal-2.2.65.jar

Fixed in v2.2.86


embedding task fails with batch_size > 1 given variable length inputs

When calling embedding task say in the infinity demos, a batch is created by"[text] * batch_size" which works. However, this simply duplicates the same text "batch_size" times.
If a batch is created with containing strings of different sizes
input = grpcclient.InferInput(name="TEXT", shape=(batch_size,), datatype="BYTES")
input.set_data_from_numpy(np.asarray(["some text","some longer text"], dtype=object))
triton errors out with:
I0727 15:40:43.721558 1 grpc_server.cc:4195] Started GRPCInferenceService at <IP_ADDRESS>:8001
I0727 15:40:43.721777 1 http_server.cc:2857] Started HTTPService at <IP_ADDRESS>:8000
I0727 15:40:43.763422 1 http_server.cc:167] Started Metrics Service at <IP_ADDRESS>:8002
/usr/local/lib/python3.8/dist-packages/transformers/tokenization_utils_base.py:707: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
tensor = as_tensor(value)
0727 15:40:46.686280 218 pb_stub.cc:419] Failed to process the request(s) for model 'transformer_tensorrt_tokenize_0', message: ValueError: setting an array element with a sequence.
At:
/models/transformer_tensorrt_tokenize/1/model.py(60):
/models/transformer_tensorrt_tokenize/1/model.py(60): execute

Thanks @bbartlett-nv for the question.
Just to clarify, when you are generating texts of different sizes it doesn't work?
If you can provide some end to end reproducible example it would be helpful.
Moreover, below is a page related to how to gen packet to send to Triton:
https://github.com/ELS-RD/transformer-deploy/blob/main/docs/run.md#query-the-inference-server

thanks for the prompt response! I will try to explain a reproduceable example:

Run the following from within ghcr.io/els-rd/transformer-deploy:0.4.0
convert.py -m sentence-transformers/msmarco-distilbert-cos-v5 --backend onnx tensorrt --task embedding --seq-len 2 128 256 --batch-size 2 2 2

Output:
	latencies:
	[Pytorch (FP32)] mean=4.96ms, sd=0.17ms, min=4.83ms, max=6.84ms, median=4.91ms, 95p=5.18ms, 99p=5.39ms
	[Pytorch (FP16)] mean=5.02ms, sd=0.19ms, min=4.86ms, max=7.80ms, median=4.98ms, 95p=5.25ms, 99p=5.44ms
	[TensorRT (FP16)] mean=0.87ms, sd=0.19ms, min=0.76ms, max=2.75ms, median=0.77ms, 95p=1.19ms, 99p=1.20ms
	[ONNX Runtime (FP32)] mean=1.98ms, sd=0.25ms, min=1.90ms, max=3.58ms, median=1.92ms, 95p=3.02ms, 99p=3.03ms
	[ONNX Runtime (optimized)] mean=0.93ms, sd=0.01ms, min=0.91ms, max=1.03ms, median=0.93ms, 95p=0.96ms, 99p=0.97ms
	Each infence engine output is within 0.3 tolerance compared to Pytorch output

Spin up triton inference server:
docker run -it --rm --gpus all -p8000:8000 -p8001:8001 -p8002:8002 --shm-size=16g -v $PWD/triton_models:/models els-rd/transformer:tritron-infer bash -c "tritonserver --model-repository=/models"

Output:
	I0729 14:54:21.752279 1 grpc_server.cc:4195] Started GRPCInferenceService at <IP_ADDRESS>:8001
	I0729 14:54:21.752521 1 http_server.cc:2857] Started HTTPService at <IP_ADDRESS>:8000
	I0729 14:54:21.794053 1 http_server.cc:167] Started Metrics Service at <IP_ADDRESS>:8002

Query Triton with simple http request script (based on "triton_client.py" in infinity demo)

import numpy as np
import tritonclient.http

if __name__ == "__main__":

    model_name = f"transformer_onnx_inference"
    url = "<IP_ADDRESS>:8000"
    model_version = "1"
    batch_size = 2

    text = ["some text", "some text of different size"]

    triton_client = tritonclient.http.InferenceServerClient(url=url, verbose=False)
    query = tritonclient.http.InferInput(name="TEXT", shape=(batch_size,), datatype="BYTES")
    model_score = tritonclient.http.InferRequestedOutput(name="output", binary_data=False)
    time_buffer = list()

    query.set_data_from_numpy(np.asarray(text, dtype=object))
    response = triton_client.infer(
        model_name=model_name, model_version=model_version, inputs=[query], outputs=[model_score]
    )

    print(response.as_numpy("output"))

Python Script Output:
Traceback (most recent call last):
	  File "/root/Code/faiss_sandbox/triton/triton_test.py", line 23, in <module>
	    response = triton_client.infer(
	  File "/opt/conda/lib/python3.8/site-packages/tritonclient/http/__init__.py", line 1418, in infer
	    _raise_if_error(response)
	  File "/opt/conda/lib/python3.8/site-packages/tritonclient/http/__init__.py", line 65, in _raise_if_error
	    raise error
	tritonclient.utils.InferenceServerException: in ensemble 'transformer_onnx_inference', Failed to process the request(s) for model instance 'transformer_onnx_tokenize_0', message: ValueError: setting an array element with a sequence.

	At:
	  /models/transformer_onnx_tokenize/1/model.py(60): <dictcomp>
	  /models/transformer_onnx_tokenize/1/model.py(60): execute

Triton Server Output:
	/usr/local/lib/python3.8/dist-packages/transformers/tokenization_utils_base.py:707: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
	  tensor = as_tensor(value)
	0729 14:59:06.143282 360 pb_stub.cc:419] Failed to process the request(s) for model 'transformer_onnx_tokenize_0', message: ValueError: setting an array element with a sequence.

	At:
	  /models/transformer_onnx_tokenize/1/model.py(60): <dictcomp>
	  /models/transformer_onnx_tokenize/1/model.py(60): execute

Please note that if the variable "text" in the above python script is set to ["some text", "some text"], the request completes as expected:
Output:
	[[-0.00714493  0.01116943 -0.01734924 ... -0.01394653 -0.03530884
	   0.05587769]
	 [-0.00714493  0.01116943 -0.01734924 ... -0.01394653 -0.03530884
	   0.05587769]]

It appeared that it is caused by a change of behavior in the HF tokenizer, now padding is disabled by default!
To fix, you need to modify the generated tokenizer script and add padding=True when the tokenizer is called.
tokens = self.tokenizer(text=query, return_tensors=TensorType.NUMPY, padding=True)

this worked well, thanks !


Enhance: Refactoring of structure

Better accommodate exporters.

Hello @victorock, thanks for reaching out!
The current structure is tied to the way the OperatorSDK works, you can see the generated scaffold here: https://sdk.operatorframework.io/docs/building-operators/ansible/tutorial/
Can you provide more information regarding your proposal?

@raelga sorry about not clarifying what i meant.
I was referring to the ansible content under: roles/prometheusexporter/.

What did you have in mind?

@raelga follow here an example to validate the idea, before going through testing, etc...

Thanks for the input @victorock, let us review it carefully as there are many changes, and we will get back to you, but the overall looks good!

@victorock your changes look really good, thanks for the improvements.
I can't think right now, for the current operator, an escenario that pre/post task may come helpful who knows. The rest of the changes, makes the code more clean and extensible.
Feel free to push a pull request so we can do a final review and integrate your changes. :)

@victorock, as @raelga said, the overall looks really nice, cleaner and easier to integrate a new exporter. Just a few comments/suggestions before opening the pull request:

Role name should not be renamed from prometheusexporter to prometheus_exporter, this comes from default operator-sdk behaviour, and we prefer not doing so:

$operator-sdk init --plugins=ansible --domain=3scale.net
   Next: define a resource with:
   $ operator-sdk create api
$ operator-sdk create api --group monitoring --version v1 --kind PrometheusExporter --generate-role
$ ll roles/
total 0
drwxr-xr-x 9 slopez slopez 200 Dec  3 11:40 prometheusexporter

PrometheusRules can not be included into the role, they are just examples, it is something that depends totally on each db/host scenario with lots of possible casuistics and values to finetune, details at https://github.com/3scale/prometheus-exporter-operator#prometheusrules.
Tasks management seems a bit complex with pre/post roles/tasks... taking into account the purpose of the operator to be very simple on its roots, which is to manage very simple applications (exporters) by creating a few standard k8s resources per exporter, (service, deployment, serviceMonitor, GrafanaDashboard). Right now I cannot think about an scenario needing it, but would be nice if you have thought about a possible reasons to have those kinds of tasks :)
Bear in mind we have updated blackbox exporter dashboard on https://github.com/3scale/prometheus-exporter-operator/pull/16 since you forked the repo :)

Closing issue, it was resolved on https://github.com/3scale-ops/prometheus-exporter-operator/pull/24 where we applied some operator improvements.


[ENG-6491] remove internal expo id from device:list

Remove expo ID from formatDevice method. The ID is not needed for anything.
Move UDID to the top.

/changelog-entry chore Remove internal expo id from device formatter.


Implementing ExecuteSyncCommand.

Refactoring kill and kill child processes to UnixUtilities.

@gregg-miskelly @caslan @chuckries @wesrupert

            if (PlatformUtilities.IsLinux() || PlatformUtilities.IsOSX())

This should probably change to 'CanExecuteCommand'

Refers to: src/MICore/Debugger.cs:622 in ab47616. [](commit_id = ab47616c64d1a437880f78008e033c488a3411ee, deletion_comment = False)

        {

And eliminate this

Refers to: src/MICore/Debugger.cs:610 in ab47616. [](commit_id = ab47616c64d1a437880f78008e033c488a3411ee, deletion_comment = False)

:shipit:

Tested C# and gdb scenarios with VSCode on Linux.


Add table for VPC endpoint

For VPC endpoint first we need to activate private link , fo which we need to submit an application "apply for public preview Qualification". It is still beta version. After discussion with Lalit , it is on hold.


made small edits to release blog

edited date and fixed a broken link

@anzhou5 i piggy bagged a little editorial update (removed vaccine reference).


chore: replace io/ioutil package

Type of change:

[ ] Bugfix
[ ] New feature provided
[ ] Improve performance
[ ] Backport patches

What this PR does / why we need it:

As of Go 1.16, io/ioutil package is deprecated, and  the same functionality is now provided by package io or package os, so we maybe can replace io/ioutil package.
Pre-submission checklist:

[ ] Did you explain what problem does this PR solve? Or what new features have been added?
[ ] Have you added corresponding test cases?
[ ] Have you modified the corresponding document?
[ ] Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

Codecov Report

Merging #1485 (39ba77a) into master (ed92690) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1485   +/-   ##
=======================================
  Coverage   41.26%   41.26%
=======================================
  Files          83       83
  Lines        7365     7365
=======================================
  Hits         3039     3039
  Misses       3972     3972
  Partials      354      354

Impacted Files
Coverage Δ

pkg/apisix/cluster.go
36.12% <100.00%> (ø)

pkg/config/config.go
64.13% <100.00%> (ø)

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

@tao12345666333 hi, can you please take a look, thx.

Thanks!


Add button to wallet status "cannot connect to: (node _address)" when specific node is selected

Design: https://zpl.io/VQk9pA5
When wallet cannot connect to specific/Integrated node please show this status + button "change". Button leads to settings/node, so user can change the node manually

If 1 node lost connection:

Wallet screen - Change wallet status to "connection to DASH/BITCOIN/etc node lost: <IP_ADDRESS>" and change color to red also add button "reconnect" that leads to settings/node block https://zpl.io/VQk9pA5

Atomic Swap screen - https://zpl.io/V1Dl1l4

Settings screen - https://zpl.io/bJJrJeE (in the bottom)

If 2+ nodes lost connection:

Wallet screen - Change wallet status to "lost connection to nodes" and change color to red also add button "reconnect" that leads to settings/node block (first - to the first node in the list) https://zpl.io/aXerrkE

Atomic swap screen - https://zpl.io/agjDDwN

Settings screen - https://zpl.io/bJJrJeE (in the bottom).

Bottom line:
green status - all good
red status - 1 or more nodes not connected (lost connection)
yellow status - reconnecting

Please, fix the error on the UTXO screen.

When the wallet lost connection to Beam node the button "change settings" should open beam node block in settings

Checked


[FEATURE REQ] Please add ability to specify if a client-side feature is being used in User-Agent strings

Library name
Azure.Core
Please describe the feature.
We would like to append the User-Agent strings in the Storage SDKs to indicate if a customer is using client-side encryption. This ask is coming out of an MSRC case where we had a security vulnerability in our client-side encryption, but we were unable to tell which SDK customers were using the feature.
https://github.com/Azure/azure-sdk/issues/5401

Moving to the backlog, pending discussion in the linked issue from the main Azure SDK repository.   This is something that would need discussion among all architects and a common format decided upon.

After discussion and planning, this is not a feature that will be added to Core.   Closing this out.


extensions/time: make to_compact_s 4x faster

Time#to_compact_s appears as a hot method in profiling and this should improve its total CPU time.

What is slow in the old implementation? strftime or the sub ?

What is slow in the old implementation? strftime or the sub ?
edit: I see #80 which kind of explains it is 50/50.

Yes, kinda. The sub is a bit more expensive in my tests, and using newer Rubies the multiple grows a bit more (seems to imply the VM better optimises the Ruby code vs strftime + sub).

@unleashed this looks good. However, we should add a comment that explains why this was done. Otherwise, other contributors might think that the code is too complicated and revert it back.
I also think that we should document the different in CPU usage in the PR and the commit description.
I measured the difference using the 2.91.1 version. I profiled the worker while processing around 10k jobs. To be clear, this is just CPU time.
Without the patch:
==================================
  Mode: cpu(1000)
  Samples: 3403 (0.00% miss rate)
  GC: 198 (5.82%)
==================================
     TOTAL    (pct)     SAMPLES    (pct)     FRAME
       523  (15.4%)         523  (15.4%)     Hiredis::Ext::Connection#read
       445  (13.1%)         445  (13.1%)     ThreeScale::Backend::TimeHacks#to_compact_s
       225   (6.6%)         225   (6.6%)     Redis::Connection::Hiredis#write
       198   (5.8%)         198   (5.8%)     (garbage collection)
       116   (3.4%)         116   (3.4%)     ThreeScale::Backend::Period::Cache.get
       109   (3.2%)         109   (3.2%)     ThreeScale::Backend::Period::HelperMethods#get_granularity_class
        98   (2.9%)          98   (2.9%)     ThreeScale::Backend::Period::HelperMethods#get_granularity_class
        78   (2.3%)          78   (2.3%)     ThreeScale::Backend::StorageKeyHelpers#encode_key
        67   (2.0%)          67   (2.0%)     ThreeScale::Backend::Period::Boundary::Methods#minute_start
        65   (1.9%)          65   (1.9%)     #<Module:0x0000000001edfc50>.expire_time_for_granularity
       239   (7.0%)          58   (1.7%)     Redis::Namespace#method_missing
        57   (1.7%)          57   (1.7%)     MonitorMixin#mon_enter
        55   (1.6%)          55   (1.6%)     ThreeScale::Backend::Period::Boundary::Methods#week_start
        94   (2.8%)          53   (1.6%)     Redis::Pipeline#call
        52   (1.5%)          52   (1.5%)     ThreeScale::Backend::Period::Boundary::Methods#day_start
      1002  (29.4%)          47   (1.4%)     ThreeScale::Backend::Stats::Aggregators::Base#aggregate_values
        58   (1.7%)          45   (1.3%)     Logger::LogDevice#write
        45   (1.3%)          45   (1.3%)     Yajl::Encoder.encode
        45   (1.3%)          45   (1.3%)     ThreeScale::Backend::Memoizer.fetch
        42   (1.2%)          42   (1.2%)     ThreeScale::Backend::Storage.instance
        41   (1.2%)          41   (1.2%)     Redis::Future#initialize
       331   (9.7%)          40   (1.2%)     ThreeScale::Backend::Stats::Keys#counter_key
        40   (1.2%)          40   (1.2%)     ThreeScale::Backend::Period::HelperMethods#get_granularity_class
        38   (1.1%)          38   (1.1%)     ThreeScale::Backend::Period::Boundary::Methods#hour_start
        33   (1.0%)          33   (1.0%)     Redis::Namespace#clone_args
        60   (1.8%)          30   (0.9%)     ThreeScale::Backend::Transaction#initialize
        29   (0.9%)          29   (0.9%)     MonitorMixin#mon_check_owner
        29   (0.9%)          29   (0.9%)     ThreeScale::Backend::Metric::Collection#sane_value?
        25   (0.7%)          25   (0.7%)     ThreeScale::Backend::Period::Boundary::Methods#year_start
       181   (5.3%)          24   (0.7%)     Redis::Namespace#call_with_namespace

With the patch:
==================================
  Mode: cpu(1000)
  Samples: 4616 (0.00% miss rate)
  GC: 260 (5.63%)
==================================
     TOTAL    (pct)     SAMPLES    (pct)     FRAME
       843  (18.3%)         843  (18.3%)     Hiredis::Ext::Connection#read
       326   (7.1%)         326   (7.1%)     Redis::Connection::Hiredis#write
       260   (5.6%)         260   (5.6%)     (garbage collection)
       197   (4.3%)         197   (4.3%)     ThreeScale::Backend::TimeHacks#to_compact_s
       155   (3.4%)         155   (3.4%)     ThreeScale::Backend::Period::HelperMethods#get_granularity_class
       142   (3.1%)         142   (3.1%)     ThreeScale::Backend::Period::HelperMethods#get_granularity_class
       136   (2.9%)         136   (2.9%)     ThreeScale::Backend::Period::Cache.get
       105   (2.3%)         105   (2.3%)     ThreeScale::Backend::StorageKeyHelpers#encode_key
       102   (2.2%)         102   (2.2%)     ThreeScale::Backend::Period::Boundary::Methods#day_start
       100   (2.2%)         100   (2.2%)     ThreeScale::Backend::Period::Boundary::Methods#minute_start
        95   (2.1%)          95   (2.1%)     MonitorMixin#mon_enter
        88   (1.9%)          88   (1.9%)     #<Module:0x0000000002ccb508>.expire_time_for_granularity
        79   (1.7%)          79   (1.7%)     ThreeScale::Backend::Storage.instance
        94   (2.0%)          79   (1.7%)     Logger::LogDevice#write
        76   (1.6%)          76   (1.6%)     Yajl::Encoder.encode
      1174  (25.4%)          71   (1.5%)     ThreeScale::Backend::Stats::Aggregators::Base#aggregate_values
       118   (2.6%)          70   (1.5%)     Redis::Pipeline#call
        64   (1.4%)          64   (1.4%)     ThreeScale::Backend::Period::Boundary::Methods#week_start
        64   (1.4%)          64   (1.4%)     ThreeScale::Backend::Metric::Collection#sane_value?
       345   (7.5%)          62   (1.3%)     Redis::Namespace#method_missing
        61   (1.3%)          61   (1.3%)     Redis::Namespace#clone_args
        55   (1.2%)          55   (1.2%)     ThreeScale::Backend::Period::Boundary::Methods#hour_start
        55   (1.2%)          55   (1.2%)     ThreeScale::Backend::Period::HelperMethods#get_granularity_class
       169   (3.7%)          54   (1.2%)     ThreeScale::Backend::Stats::Keys#counter_key
        49   (1.1%)          49   (1.1%)     ThreeScale::Backend::Period::Boundary::Methods#month_start
        48   (1.0%)          48   (1.0%)     Redis::Future#initialize
        40   (0.9%)          40   (0.9%)     ThreeScale::Backend::Memoizer.fetch
        82   (1.8%)          38   (0.8%)     ThreeScale::Backend::Metric::Collection#process_parents
        37   (0.8%)          37   (0.8%)     ThreeScale::Backend::StorageKeyHelpers#encode_key
        36   (0.8%)          36   (0.8%)     ThreeScale::Backend::Memoizer.build_args_key

According to this profiling, the time spent in the patched method went from 13.1% to 4.3%.

bors r=@davidor


[build] add ARCH=dev BUILD=resim build

use with resim ./build/resim/puzzles after installing resim with pip install remarkable-sim

this allows you to compile for PC and use resim to test on PC. the compile is a bit faster, but the resim UI is a bit too small on short monitors. just showing how to enable it if you want to try it out.


Bintray downloads not working

The download on the main page gives a 404 error.
There's also a 403 Forbidden! on https://dl.bintray.com/kyrptonaught/customportalapi/net/kyrptonaught/customportalapi/0.0.1-beta29-1.16/customportalapi-0.0.1-beta29-1.16.pom
This is probably an issue with Bintray, and if so will likely be a permanent issue with bintray.
It likely has something to do with this announcement regarding end of support for bintray on may 1st: https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/

https://github.bajins.com/kyrptonaught

This error also is related, the best solution considering end of support is to transfer platforms

I apologize guys, I didn't get the time to make the switch before the EOL.
For now you can use jitpack.

Hi, what is the jitpack url for customportalapi?

https://jitpack.io/#kyrptonaught/customportalapi/-SNAPSHOT

not working for me

I did move cpa to my own maven server. Use the following url
Http://maven.kyrptonaught.dev

This has been fixed, view the readme for updated instructions.


reorganize the source code

Instead of having all the code in the top level index file, split out
read and write into separate files and add a simple shared module to
stash the config.
Also made a couple minor changes to the tests in order to allow the
db host to be specified in the environment and thereby easily runnable
inside a container.

@bkutil

The test failures are caused by JuttleMoment.compare change - #29 should fix that.

I rebased the PR on top of #29 and cleaned up the test modification a bit (I think we should be able to pass influx port as well).
Otherwise, looks good. I'll merge on green - thanks :)

There were some test failures, but re-running the builds fixed them (they were unrelated to the code). Merging.


Issue installing IoT Edge samples (Javascript) on Windows and LInux

I am following: https://github.com/Azure-Samples/iot-edge-samples.
On windows I am getting:
`C:\Users\kevinsay\Desktop>mkdir gateway
C:\Users\kevinsay\Desktop>cd gateway
C:\Users\kevinsay\Desktop\gateway> git clone https://github.com/Azure-Samples/iot-edge-samples.git
Cloning into 'iot-edge-samples'...
remote: Counting objects: 590, done.
remote: Compressing objects: 100% (175/175), done.
Receiving objects:  91% (537/590)   d 219 (delta 66), pack-reused 328
Receiving objects: 100% (590/590), 553.60 KiB | 0 bytes/s, done.
Resolving deltas: 100% (249/249), done.
C:\Users\kevinsay\Desktop\gateway>cd iot-edge-samples
C:\Users\kevinsay\Desktop\gateway\iot-edge-samples>npm install
npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\kevinsay\Desktop\gateway\iot-edge-samples\package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\kevinsay\Desktop\gateway\iot-edge-samples\package.json'
npm WARN iot-edge-samples No description
npm WARN iot-edge-samples No repository field.
npm WARN iot-edge-samples No README data
npm WARN iot-edge-samples No license field.
up to date in 0.112s
C:\Users\kevinsay\Desktop\gateway\iot-edge-samples>npm run local
npm ERR! path C:\Users\kevinsay\Desktop\gateway\iot-edge-samples\package.json
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\kevinsay\Desktop\gateway\iot-edge-samples\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR!      C:\Users\kevinsay\AppData\Roaming\npm-cache_logs\2017-06-28T20_11_27_777Z-debug.log
C:\Users\kevinsay\Desktop\gateway\iot-edge-samples>`
On Ubuntu I am getting:
`kevinsay@kevinsayUbunto:~$  git clone https://github.com/Azure-Samples/iot-edge-samples.git
Cloning into 'iot-edge-samples'...
remote: Counting objects: 590, done.
remote: Compressing objects: 100% (175/175), done.
remote: Total 590 (delta 103), reused 219 (delta 66), pack-reused 328
Receiving objects: 100% (590/590), 553.21 KiB | 0 bytes/s, done.
Resolving deltas: 100% (249/249), done.
Checking connectivity... done.
kevinsay@kevinsayUbunto:~$ cd iot-edge-samples/
kevinsay@kevinsayUbunto:~/iot-edge-samples$ npm install
npm WARN enoent ENOENT: no such file or directory, open '/home/kevinsay/iot-edge-samples/package.json'
npm WARN iot-edge-samples No description
npm WARN iot-edge-samples No repository field.
npm WARN iot-edge-samples No README data
npm WARN iot-edge-samples No license field.
kevinsay@kevinsayUbunto:~/iot-edge-samples$ npm run local
npm ERR! Linux 4.4.0-81-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "local"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2
npm ERR! path /home/kevinsay/iot-edge-samples/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/home/kevinsay/iot-edge-samples/package.json'
npm ERR! enoent ENOENT: no such file or directory, open '/home/kevinsay/iot-edge-samples/package.json'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR!     /home/kevinsay/iot-edge-samples/npm-debug.log
kevinsay@kevinsayUbunto:~/iot-edge-samples$
Doc1.docx
`
What am I missing?

It looks like you are in the wrong working directory…
cd iot-edge-samples/js/simple
Thanks,
-jc
From: ksaye<EMAIL_ADDRESS>Sent: Wednesday, June 28, 2017 1:34 PM
To: Azure-Samples/iot-edge-samples<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [Azure-Samples/iot-edge-samples] Issue installing IoT Edge samples (Javascript) on Windows and LInux (#29)
I am following: https://github.com/Azure-Samples/iot-edge-sampleshttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure-Samples%2Fiot-edge-samples&data=02|01|jcline%40microsoft.com|c4edc8d752084a9a1a1308d4be64f269|72f988bf86f141af91ab2d7cd011db47|1|0|636342788162738512&sdata=0tIOhtfEXMISW2kaQXRMB9R1zwGPHe8LgyGzrzR8RFs%3D&reserved=0.
On windows I am getting:
`C:\Users\kevinsay\Desktop>mkdir gateway
C:\Users\kevinsay\Desktop>cd gateway
C:\Users\kevinsay\Desktop\gateway> git clone https://github.com/Azure-Samples/iot-edge-samples.githttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure-Samples%2Fiot-edge-samples.git&data=02|01|jcline%40microsoft.com|c4edc8d752084a9a1a1308d4be64f269|72f988bf86f141af91ab2d7cd011db47|1|0|636342788162738512&sdata=BIStsWjbvB9Edz0gWo4o0fVatmqi7GcTlkkRbm34STA%3D&reserved=0
Cloning into 'iot-edge-samples'...
remote: Counting objects: 590, done.
remote: Compressing objects: 100% (175/175), done.
Receiving objects: 91% (537/590) d 219 (delta 66), pack-reused 328
Receiving objects: 100% (590/590), 553.60 KiB | 0 bytes/s, done.
Resolving deltas: 100% (249/249), done.
C:\Users\kevinsay\Desktop\gateway>cd iot-edge-samples
C:\Users\kevinsay\Desktop\gateway\iot-edge-samples>npm install
npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\kevinsay\Desktop\gateway\iot-edge-samples\package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\kevinsay\Desktop\gateway\iot-edge-samples\package.json'
npm WARN iot-edge-samples No description
npm WARN iot-edge-samples No repository field.
npm WARN iot-edge-samples No README data
npm WARN iot-edge-samples No license field.
up to date in 0.112s
C:\Users\kevinsay\Desktop\gateway\iot-edge-samples>npm run local
npm ERR! path C:\Users\kevinsay\Desktop\gateway\iot-edge-samples\package.json
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\kevinsay\Desktop\gateway\iot-edge-samples\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR!  C:\Users\kevinsay\AppData\Roaming\npm-cache_logs\2017-06-28T20_11_27_777Z-debug.log
C:\Users\kevinsay\Desktop\gateway\iot-edge-samples>`
On Ubuntu I am getting:
`kevinsay@kevinsayUbunto:$ git clone https://github.com/Azure-Samples/iot-edge-samples.githttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure-Samples%2Fiot-edge-samples.git&data=02|01|jcline%40microsoft.com|c4edc8d752084a9a1a1308d4be64f269|72f988bf86f141af91ab2d7cd011db47|1|0|636342788162738512&sdata=BIStsWjbvB9Edz0gWo4o0fVatmqi7GcTlkkRbm34STA%3D&reserved=0
Cloning into 'iot-edge-samples'...
remote: Counting objects: 590, done.
remote: Compressing objects: 100% (175/175), done.
remote: Total 590 (delta 103), reused 219 (delta 66), pack-reused 328
Receiving objects: 100% (590/590), 553.21 KiB | 0 bytes/s, done.
Resolving deltas: 100% (249/249), done.
Checking connectivity... done.
kevinsay@kevinsayUbunto:$ cd iot-edge-samples/
kevinsay@kevinsayUbunto:/iot-edge-samples$ npm install
npm WARN enoent ENOENT: no such file or directory, open '/home/kevinsay/iot-edge-samples/package.json'
npm WARN iot-edge-samples No description
npm WARN iot-edge-samples No repository field.
npm WARN iot-edge-samples No README data
npm WARN iot-edge-samples No license field.
kevinsay@kevinsayUbunto:/iot-edge-samples$ npm run local
npm ERR! Linux 4.4.0-81-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "local"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! path /home/kevinsay/iot-edge-samples/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/home/kevinsay/iot-edge-samples/package.json'
npm ERR! enoent ENOENT: no such file or directory, open '/home/kevinsay/iot-edge-samples/package.json'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /home/kevinsay/iot-edge-samples/npm-debug.log
kevinsay@kevinsayUbunto:~/iot-edge-samples$
Doc1.docxhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure-Samples%2Fiot-edge-samples%2Ffiles%2F1110139%2FDoc1.docx&data=02|01|jcline%40microsoft.com|c4edc8d752084a9a1a1308d4be64f269|72f988bf86f141af91ab2d7cd011db47|1|1|636342788162738512&sdata=BRvxNNUsxp5G7n13Gdo5%2BFfhTajBs2MZkiQMAkhqMsA%3D&reserved=0
`
What am I missing?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure-Samples%2Fiot-edge-samples%2Fissues%2F29&data=02|01|jcline%40microsoft.com|c4edc8d752084a9a1a1308d4be64f269|72f988bf86f141af91ab2d7cd011db47|1|0|636342788162738512&sdata=0bc5%2BrPjKJw%2FZ2CBetlOAaAONWeS%2BYYrHuMrrgUIL2Y%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FATdoUEn6SZy-5DJol5vWsWXa9BrYiP86ks5sIribgaJpZM4OIfb8&data=02|01|jcline%40microsoft.com|c4edc8d752084a9a1a1308d4be64f269|72f988bf86f141af91ab2d7cd011db47|1|0|636342788162738512&sdata=izpy4LapuPhoDT%2B5OP2mavKbUmENCweiJUGiSOIi%2FCE%3D&reserved=0.

that was it, thanks!


Minor readability improvements

Thanks.

@WillSullivan Wow, you're fast. Are you doing this with automation?


Remove node reachable condition

Node reachable condition is not v1.0, and it's not used anywhere in k8s.  Let's remove it and simplify things a little bit for 1.0
/cc @davidopp @gmarek

I think I already have a branch for it, so I'm assigning to myself.

Closed by #6094


Improved verify

Redoing this completely since I broke the last one.
This PR addresses a few issues in the CLI verification process, and #1079

Stacked exceptions were yielding lots of tracebacks
Rather than using exceptions for non-error failure states, I've updated the code to use return values (False = revoked, True = good, None = unknown).  Exceptions were left in place where they are for unexpected errors (parse errors, http errors, etc.)

Verifying a large number of certificates was causing slowdowns as the code was pulling the same  CRL over and over for certs with the same CRL.
I implemented an extremely simple cache so that an individual CRL is only downloaded once.  This works fine for the CLI where the code is loaded fresh each time but it could be a problem if the verify methods are used by the running web app, as the cache has no update/expire feature.  Currently, verification is only in use by the CLI code.

Better logging
Added debug logging output in case anyone needs to troubleshoot the process.  Also, parse the cert in verify() and pass it to crl_verify() and ocsp_cerify() so they both have access to cert data for logging purposes.

Tests, flake8 and docstrings have been updated since the previous PR and master is merged in.

Build appears to be failing in test-cli, I don't think it's related to anything in this PR.  test-python locally passes fine.

This appears to be an issue with lint. Try running flake8. The specific error in Travis-CI is:
--> Linting Python files
PYFLAKES_NODOCTEST=1 flake8 lemur
lemur/tests/test_verify.py:16:53: E711 comparison to None should be 'if cond is None:'
make: *** [lint-python] Error 1

Coverage decreased (-0.08%) to 60.831% when pulling 40f444409998895831132d47b9f3c0447c737b6a on explody:improved_verify into c7b57e21a510f5f648d17fa38218e7764b8cd11a on Netflix:master.


Replace code generators with C# 14 extensions

The extension code generators should be replaced with the C# 14 extensions feature when it lands. This will get rid of about 400,000 lines of generated code and make the wrapper significantly easier to maintain and contribute to as we will only have to write extension methods once and have it be usable by many types.
https://github.com/dotnet/csharplang/blob/main/proposals/extensions.md
public struct Entity : IEntity { ... }
public struct Component<T> : IEntity { ... }
public struct System<T, ...> : IEntity { ... }
public struct Observer<T, ...> : IEntity { ... }

public static class EntityMethods
{
    // All types that implement the IEntity interface will receive .Get and .Set methods.
    extension<T> (T entity) where T : IEntity
    {
        public ref TComponent Get<TComponent>()
        {
            ...
        }

        public ref T Set<TComponent>(TComponent value)
        {
            ...
        }
    }
}

Apparently this is already possible with the current C# instance extension syntax. Wasn't aware of this and will begin getting rid of most of the extension source generators.

Current extension syntax doesn't work well with methods that have type parameters.
public static class EntityMethods
{
    public static TEntity Add<TEntity, T>(this TEntity self) where TEntity : IEntity
    {
        return self.Add(Type<T>.Id(self.World));
    }
}

// Both type parameters must be passed.
Entity e = world.Entity();
e.Add<Position>(); // Invalid
e.Add<Entity, Position>(); // Valid

Will have to wait until the new extensions feature in .NET 10.


Phase4 FVT Impact Analysis

Here is the draft version of Phase4 Witherspoon FVT impact analysis based on development phase 4 issues/enhancements.

openbmc-openbmc-issues15May2017Phase4FVTImpact.xlsx

openbmc-openbmc-issues15May2017Phase4FVTImpact.xlsx

Updated Phase4 Impact analysis
openbmc-openbmc-issues15May2017Phase4FVTImpact.xlsx


Github Discussions

We will use github discussions to:

hash out issues for the backlog
ask and answer questions
keep meeting notes and set agendas
share thoughts, readings, musings

Are there any tasks that need to be completed?

Are there any tasks that need to be completed?

Working out the next kickoff. Hoping to get the group together sometime next week (maybe Monday?) to work through some of the known items. At the moment, the project has been on hold until more interest / bandwidth became available. There are a number of people reaching out lately to get involved so it is looking like we can start breaking down work into a backlog again.
I am thinking we should give the project a new name. This initiative is one that many care about, but the name came from merging with another group who shared the same goals. Since adopting their name for the project, they became too busy and were no longer attending Monday meetings. If we are going to press forward with this again, it should be a name we can all rally around so there isn't any confusion from past parties who presented the original name.
This could be a nice ice breaker for our next kickoff. I will share more info before end of week.

Created our second discussion based on the question asked above, and noticed another discussion there that I missed before. I am moving this ticket to done, and we can review it during kickoff.


Addressing issue when refresh Process Groups the user does not have READ access to

NIFI-2534:

Refreshing using component IDs.
Code clean up.

Reviewing...

Looks good, will merge to master


Collect all reusable portions of index tool code into pds4_index_tools.py

The large majority of the code for these projects should be collected into a single file.  Standalone tools to be executed at the command line will import that file.

This task should only be undertaken after issues #20, #21, #26, #27, and #37 are all completed, with pull requests closed and branches merged.  This will supply sufficient functionality that it will be easier to look for commonalities and abstract them into functions to live in the package file.


make send protected (send is private)

I'm trying to subclass the client to add my own method (statsJob to get stats) but I cannot call $this->send from a subclass because it's private and not protected.

How about just PRing that method? :-)

@markkimsal ping.

@kelunik I think this issue can be closed by https://github.com/amphp/beanstalk/pull/5

Yes, was about to comment that as well.


52: Add click events for uses/qty on sheet - [merged]

In GitLab by @Asacolips on Jun 11, 2021, 10:47
Merges 52-equipment-uses -> beta
Closes #52

In GitLab by @Asacolips on Jun 11, 2021, 10:48
mentioned in commit 07c6dd7b7c3ab9b170e6d1374f9986c3f84a247c


issue : Application error: a client-side exception has occurred (see the browser console for more information).

Version Number
7.44.3
Codesandbox/Expo snack
.
Steps to reproduce

this error show when open website react-hook-form on chrome or edge
Expected behaviour
normal website react-hook-form
What browsers are you seeing the problem on?
Chrome, Edge
Relevant log output
No response
Code of Conduct

[x] I agree to follow this project's Code of Conduct

@aranlucas any idea on this? I couldn't reproduce this.

Without logs, it's going to be hard to debug. Since it doesn't seem to be reproducible
But if I had to guess possible spots to break the page.

https://github.com/react-hook-form/documentation/blob/901f1b7085fcc083dca788f9cbe74d4f3e515630/src/pages/_document.tsx#L12-L15 is being accessed without any null checks to see if script was downloaded. CDN could have been down for a moment.
NextJS version issues with deployment.

Clear cache and refresh will probably work for this situation

I'm leaning towards general deployment/NextJS/AWS issues today. I tried removing docSearch script, and I at least get a blue background.

Thanks a lot @aranlucas yes, I think it could be related to that. We can close this issue for now, until more information is provided.

could you share the console log for the error?

it's work now thsnks for all

https://github.com/react-hook-form/documentation/pull/975
Any's are the Javascript killers


Error on startup on SD.Next. object has no attribute 'needs_reload_ui'

19:27:53-370166 ERROR    executing callback:
C:\Programas\StableDiffusion\automatic\extensions\sd-webui-weight-helper\scripts\weight_helper.py
ui_settings_callback: AttributeError
┌───────────────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────────────┐
│ C:\Programas\StableDiffusion\automatic\modules\script_callbacks.py:205 in ui_settings_callback                                      │
│                                                                                │
│   204 │   │   │   t0 = time.time()                                                                                │
│ > 205 │   │   │   c.callback()                                                                                │
│   206 │   │   │   timer(t0, c.script, 'ui_settings')                                                                                │
│                                                                                │
│ C:\Programas\StableDiffusion\automatic\extensions\sd-webui-weight-helper\scripts\weight_helper.py:11 in on_ui_settings              │
│                                                                                │
│   10 │   shared.options_templates.update(shared.options_section(section, {                                                          │
│ > 11 │   │   'weight_helper_enabled': shared.OptionInfo(True, 'Enabled').needs_reload_ui(),                                         │
│   12 │   │   'weight_helper_context_menu_scale': shared.OptionInfo(0.9, "Context menu scale",                                       │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ AttributeError: 'OptionInfo' object has no attribute 'needs_reload_ui'
I have tried re-install and other kind of stuff, nothing worked. So the UI is not showing-up when click on Lora. Also i'm using Firefox and its working on original A1111 for me.

@FutonGama
Thank you for your contact.
“needs_reload_ui” is a function for A1111, and it seems that it is not available in SD.Next. I thought it was kind, because it shows “(requires Reload UI)” on the setting screen, but it seems to have compatibility issues, so I will delete it. Please update to the latest version.
I have not tested it on SD.Next, so I would appreciate it if you could let me know if you find any problems.

Since there has been no further update, I'll consider the issue resolved.

just as info:  in SDNEXT "needs_reload_ui" can be replaced by  "needs_restart"
Another kind of way around:
https://github.com/John-WL/sd-webui-backend-console/commit/f0835c606844840b302e553ca5d27ae5c7ebe4b9

just sharing findings ^^


cmd/compile: cannot use tilde for struct type in type parameter

What version of Go are you using (go version)?

$ go version
go1.18

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="auto"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/changkun/.cache/go-build"
GOENV="/home/changkun/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/changkun/go/pkg/mod"
GONOPROXY="poly.red/x"
GONOSUMDB="poly.red/x"
GOOS="linux"
GOPATH="/home/changkun/go"
GOPRIVATE="poly.red/x"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/changkun/goes/go1.18"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/changkun/goes/go1.18/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.18"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/changkun/dev/poly.red/polyred/go.mod"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2419884666=/tmp/go-build -gno-record-gcc-switches"

What did you do?
https://go.dev/play/p/ugNI3jmBrjG
package main

type Type struct{}

type MyType Type

func F[T ~Type](t T) {}

func main() {
	x := Type{}
	y := MyType{}
	F(x)
	F(y)
}

What did you expect to see?
Compile success
What did you see instead?
./prog.go:7:10: invalid use of ~ (underlying type of Type is struct{})
./prog.go:12:3: cannot implement ~Type (empty type set)
./prog.go:13:3: cannot implement ~Type (empty type set)

Go build failed.

I am not sure if this was discussed somewhere, but I could not quickly find a discussion about this. This is the closest: https://go.googlesource.com/proposal/+/refs/heads/master/design/43651-type-parameters.md#approximation-constraint-element that discusses the requirements for a constraint to be valid.
According to the spec:
UnderlyingType = "~" Type .

Type      = TypeName [ TypeArgs ] | TypeLit | "(" Type ")" .
TypeName  = identifier | QualifiedIdent .
TypeArgs  = "[" TypeList [ "," ] "]" .
TypeList  = Type { "," Type } .
TypeLit   = ArrayType | StructType | PointerType | FunctionType | InterfaceType |
	    SliceType | MapType | ChannelType .

Tilde "~" can be used to a StructType. The defined function func F[T ~Type](t T)
is essentially func F[T interface{~Type}](t T), and the type constraints interface{~Type} is valid because its core type is Type.
It is also confusing for this error message:
cannot implement ~Type (empty type set)

Not entirely clear to me: why Type does not implement ~Type? why is it an empty type set?

~Type means the type set where the underlying  type is Type, not struct{}. Type's underlying type is struct{},  not Type, so it doesn't satisfy the interface. This is also true for non-struct type, e.g. https://go.dev/play/p/X6mE1QQGDlJ

~Type means the type set where the underlying type is Type, not struct{}. Type's underlying type is struct{}, not Type, so it doesn't satisfy the interface. This is also true for non-struct type, e.g. https://go.dev/play/p/X6mE1QQGDlJ

I don't know what is the correct understanding for this. Your example seems align with your provided interpretation. The following example is also confusing because it feels like it is impossible to limit the type parameters to a slice that its element's "underlying" type is Type:
package main

type Type struct{}

type MyType Type

func main() {
	x := []Type{}
	y := []MyType{}
	F1(x) // OK

	F1(y) // ERROR: MyType does not implement Type
	F2(y) // ERROR: cannot implement ~Type (empty type set)
	F3(y) // ERROR: MyType does not implement interface{struct{}} (possibly missing ~ for struct{} in constraint interface{struct{}})
}

func F1[S []Elem, Elem Type](t S) {}

func F2[S []Elem, Elem ~Type](t S) {} // ERROR: invalid use of ~ (underlying type of Type is struct{})

func F3[S []Elem, Elem interface{ struct{} }](t S) {}

it feels like it is impossible to limit the type parameters to a slice that its element's "underlying" type is Type

Yeah, same issue. It is impossible because there is no type whose underlying type is Type.
F3 would work if you use ~struct{}.

OK the trick is to use ~ in struct{}:
func F4[S []Elem, Elem interface{ ~struct{} }](t S) {}

But what if it is a struct that we can't easily write? Does that mean we must provide and declare the nested struct in the type parameter? What if it is a circular struct?
func F5[S []Elem, Elem ~struct { /* Next *CircularType??? */ ](t S) {}

type CircularType struct {
	Next *CircularType
}

F5([]CircularType{})

I think ~struct { Next *CircularType } actually works. https://go.dev/play/p/Bw3Y4Pya_nX . I agree it is a bit awkward.
I don't know what to do with unexported fields.
Do you have a real use case that you need to define the element type with a different name? (i.e. use []MyType instead of just []Type ?)

Do you have a real use case that you need to define the element type with a different name? (i.e. use []MyType instead of just []Type ?)

I don't know how to answer what could be a real use case, but I am trying to write code like this:
A polygon mesh structure that consists of a slice of polygons:
type PolygonMesh struct { Faces []Polygon }

type Polygon struct {
    verts []Vertex
    ....
}

A specialized polygon, triangle, or quad has some sort of specialized implementation for polygons, such as computing normals, etc.
type Triangle Polygon

func (t Triangle) Normal() Vec3 { /* ... do stuff with vertices */ }

type Quad Polygon

... more specialized methods ...

There are also specialized polygon mesh structures:
type TriangleMesh struct { Faces []Triangles }
type QuadMesh struct     { Faces []Quad }

Now, I am expecting an iterator over all faces:
package mesh

func IterateFaces[F []Elem, Elem ~Polygon](faces F) { ... }

So that on the caller side:
mesh.IterateFaces(TriangleMesh{}.Faces)
mesh.IterateFaces(QuadMesh{}.Faces)
mesh.IterateFaces(PolygonMesh{}.Faces)

Thanks. Would it be possible to define Polygon an alias type, i.e. type Polygon = struct { verts []Vertex; ... }? Then I think ~Polygon would work. (But you cannot define methods on Polygon, then.)
If you believe there is a missing feature and it is useful to add the support, you are welcome to file a proposal to change the language spec. (With the current spec, I think the compiler is correct.) Thanks.

Would it be possible to define Polygon an alias type, i.e. type Polygon = struct { verts []Vertex; ... }? Then I think ~Polygon would work. (But you cannot define methods on Polygon, then.)

I don't think it is possible to define as an alias because Polygon also its own specialized methods. Moreover, the Polygon struct itself will have circular fields pointing to another polygon, and so on. This is not a made up need but actually from research. I could also imagine in an abstract way that a similar need will happen as described on top of the issue. But I guess my provided case should be enough.
I don't have an idea about what a proposal could be. Sigh for this confusion.

Another possible workaround would be, instead of defining Triangle etc. as type Triangle Polygon, embed Polygon in them, i.e. type Triangle struct { Polygon }. Then you might be able to  use ~struct { Polygon } as the constraint for generic functions? (I didn't try it myself.)
I guess one idea that you could potentially proposing is to change the type set ~T not to mean types whose underlying type is T, but types whose underlying type is the underlying of T (or use a different  notation than ~T for it), if you think that's helpful.


Enabled drag & drop of files

It's now possible to drop files on the list, files with inactive extension filters will be skipped
ListView Header visible for user column resizing
Property filter and text filter editable even when not active; make it easier setup the filter and then apply
RMB menu item to process selected files
Removed usage of FFMPEG and moved CropImage() in commontasks.vb

It seems the ListViewFiles has lost its group, It should look like this:

OK.  I've got to go into the office this morning.  I'll look at it this afternoon.
Looking at Form1.Designer.vb (the text file, not the graphics)  it seems to have increased the number indicators on those objects.
Dim ListViewGroup7 As System.Windows.For...
Dim ListViewGroup8 As System.Windows.For...
Dim ListViewGroup9 As System.Windows.For...
...

Ttry to close and reopen the solution, it happened to me before its just VS that gets crazy

That didn't fix it for me.

I had a look at your last commits and there is no difference with my last pull request so it happened after the merge

You are right it has increased at you side

Yeah, that's it.  I gotta go now.  I'll change that stuff back later today.


Force skipping traefik

That is odd. I am not seeing that behavior. Although I am not working with the master branch and I'm not up to date with the changes you guys have made. I wonder if --disable traefik is not being passed to the K3S playbook?

I thought it was very odd too but the it's definitely in the systemd unit file. However, as the article linked in the PR shows, it seems like it's a two step process.