Documentation for abstract fields?

It came up in an internal code review that abstract fields are not covered by the nnbd documentation, though they are part of the release.  Is this covered somewhere else?  If not, should we cover it as part of the null safety docs?
cc @kwalrath @munificent @eernstg

So you are thinking about something more immediately accessible than https://github.com/dart-lang/language/blob/master/accepted/future-releases/abstract-external-fields/feature-specification.md?

Yes, I pointed to that in the code review (and it's a good description!), but I think we should mention it somewhere in the language tutorials, Effective Dart, null safety documentation etc.

It feels weird to me to put it in the null safety docs. Maybe just in the CHANGELOG?

It feels weird to me to put it in the null safety docs.

It's definitely very relevant to null safety, I've already used it in one migration.  Any time you have an abstract class with a field and you intend the field to be non-nullable, the right migration (albeit a breaking one) is to use an abstract field.

 I spaced and read that as external fields. I forgot that we added both of them.
Yes, I think those are important enough to document in the Language Tour and other places. I like the idea of mentioning it in the null safety docs too as a recommended migration.


Repaired the building process of a factory data for Weather Station

In the Weather Station example, there was a problem with building factory data and merging it with firmware hex.

Fixed a problem with a wrong Kconfig name.
Fixed a problem with a wrong path to the default Certs.
Disabled generation new Certs and enabled getting the default Certs.

To build it use: west build -b thingy53_nrf5340_cpuapp -- -DOVERLAY_CONFIG="overlay-factory_data_build.conf"
This solution uses Certs from the Matter repo instead of generated ones.

/work/connectedhomeip/src/lib/core/Optional.h: In function 'bool emberAfOperationalCredentialsClusterCSRRequestCallback(chip::app::CommandHandler*, const chip::app::ConcreteCommandPath&, const chip::app::Clusters::OperationalCredentials::Commands::CSRRequest::DecodableType&)':
/work/connectedhomeip/src/lib/core/Optional.h:72:13: warning: '*((void*)& fabricIndexForCsr +1)' may be used uninitialized in this function [-Wmaybe-uninitialized]
   72 |             new (&mValue.mData) T(other.mValue.mData);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/work/connectedhomeip/src/app/clusters/operational-credentials-server/operational-credentials-server.cpp:1068:31: note: '*((void*)& fabricIndexForCsr +1)' was declared here
 1068 |         Optional<FabricIndex> fabricIndexForCsr;

However the PASE pass with provided setupincode and discriminator.

/work/connectedhomeip/src/lib/core/Optional.h: In function 'bool emberAfOperationalCredentialsClusterCSRRequestCallback(chip::app::CommandHandler*, const chip::app::ConcreteCommandPath&, const chip::app::Clusters::OperationalCredentials::Commands::CSRRequest::DecodableType&)':
/work/connectedhomeip/src/lib/core/Optional.h:72:13: warning: '*((void*)& fabricIndexForCsr +1)' may be used uninitialized in this function [-Wmaybe-uninitialized]
   72 |             new (&mValue.mData) T(other.mValue.mData);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/work/connectedhomeip/src/app/clusters/operational-credentials-server/operational-credentials-server.cpp:1068:31: note: '*((void*)& fabricIndexForCsr +1)' was declared here
 1068 |         Optional<FabricIndex> fabricIndexForCsr;

However the PASE pass with provided setupincode and discriminator.

It's a known false positive :)


How to open the popup window in the same inappwebview Flutter?

'm opening this customized web app in the inappwebview a Flutter plugin. The web app is opening correctly, but as soon as Razorpay's SDK function createPayment(data) runs it opens a window popup. This popup is now not visible inside the webview.
 @override
  Widget build(BuildContext context) {
    return WillPopScope(
      onWillPop: _handleBackPress,
      child: SafeArea(
        child: Scaffold(
          body: InAppWebView(
            initialUrlRequest: URLRequest(
              url: Uri.parse(Strings.checkoutUrl),
            ),
            initialOptions: InAppWebViewGroupOptions(
              crossPlatform: InAppWebViewOptions(
                clearCache: true,
                javaScriptCanOpenWindowsAutomatically: true, // I thought this will help, but not working
                mediaPlaybackRequiresUserGesture: false,
              ),
              android: AndroidInAppWebViewOptions(useHybridComposition: true),
              ios: IOSInAppWebViewOptions(allowsInlineMediaPlayback: true),
            ),
            onWebViewCreated: (controller) async {
              _controller = controller;
              _controller.clearCache();
              _controller.addJavaScriptHandler(
                handlerName: 'PaymentHandle',
                callback: (data) {
                  // ... Will do somthing
                },
              );
            },
            onLoadStop: (_, __) async {
              await _controller.evaluateJavascript(source: '''
                  window.parent.postMessage(${widget.paymentJsonData}, "*");
                ''');
            },
          ),
        ),
      ),
    );
  }

PS - Initialization of RazorPay is working correctly. And we running the Webview on the browser stand alone. The popup is opening correctly.
More details can be found here - https://stackoverflow.com/questions/69423930/how-to-open-the-popup-window-in-the-same-inappwebview-flutter

have anybody found the solution? I have the same issue. When i click the "pay" button nothing happens on android. On ios it goes to a blank white page.  I am using flutter_inappwebview: ^6.0.0-beta.22 & javaScriptCanOpenWindowsAutomatically: true, supportMultipleWindows: true

I have the same problem with a payment gateway that user "Google PAY".
Google Pay button needs to open a popup window that apparently does't work.

any update

@vitdan @akhandpratap14 Did either of you figure this out? Are we able to process google payments (gpay) through a Flutter app using this webview plugin?

@mkelleherUSSA it seems that version 6.x.x supports popups:
But I haven't tested yet. Probably i'll have problems upgrading from release 5.

@vitdan Thank you. I'll check out that example. Example code can be found here, fyi for v6.x.x:
https://github.com/pichillilorenzo/flutter_inappwebview_examples/blob/main/popup_window/lib/main.dart

@vitdan So... I gave that code a try and it was still no good for me. I might have not implemented it properly, but when I tried it... it still didn't allow Gpay to work with the webview. For Android, I am just going to open a native browser with link to checkout and Gpay. When finished, I am going to call an App Link and open the app at the post-checkout screen. I tried. 🤷♂
Thank you for your help and I hope someone else can find a better solution.

@vitdan So... I gave that code a try and it was still no good for me. I might have not implemented it properly, but when I tried it... it still didn't allow Gpay to work with the webview. For Android, I am just going to open a native browser with link to checkout and Gpay. When finished, I am going to call an App Link and open the app at the post-checkout screen. I tried. 🤷♂
Thank you for your help and I hope someone else can find a better solution.

That's exactly what we do now on our app! :-) Probably the only possible solution.

it seems that version 6.x.x supports popups

Nope, this plugin supports popup almost from the start, for example here is a blog post of 3 years ago about it: https://inappwebview.dev/blog/inappwebview-the-real-power-of-webviews-in-flutter/#how-to-manage-popup-windows-opened-with-target_blank-or-windowopen
Using javaScriptCanOpenWindowsAutomatically: true and supportMultipleWindows: true without implementing the onCreateWindow event doesn't make any sense, as it would do nothing.
API Reference for more details:

onCreateWindow: https://pub.dev/documentation/flutter_inappwebview/latest/flutter_inappwebview/PlatformWebViewCreationParams/onCreateWindow.html
javaScriptCanOpenWindowsAutomatically: https://pub.dev/documentation/flutter_inappwebview/latest/flutter_inappwebview/InAppWebViewSettings/javaScriptCanOpenWindowsAutomatically.html
supportMultipleWindows: https://pub.dev/documentation/flutter_inappwebview/latest/flutter_inappwebview/InAppWebViewSettings/supportMultipleWindows.html

To load the same URL inside the WebView, you can try to check if CreateWindowAction.request properties are not null.
If they are null and you can't get the URL from it, then you can only create a new InAppWebView (a custom popup window or using a HeadlessInAppWebView and listen for onLoadStart or onLoadStop event and then dispose it) and get the request URL.
After you are able to get the URL, you can load it inside the current WebView.
By the way, I think that, probably, the best thing to do is to create a new InAppWebView instead of loading the popup URL in the current WebView. If you do that, you can break the logic of the calling WebView.

I have inappwebivew and from the web view click I am trying to open one URL of my app with different data in external browser but it is not working in android 14, I have done all manifest setting as well.
@pichillilorenzo  any idea about this?
InAppWebViewGroupOptions options = InAppWebViewGroupOptions(
  crossPlatform: InAppWebViewOptions(
      useShouldOverrideUrlLoading: true,
      javaScriptCanOpenWindowsAutomatically: true,
      mediaPlaybackRequiresUserGesture: false),
  android: AndroidInAppWebViewOptions(
      useHybridComposition: true, supportMultipleWindows: true),
);

 Expanded(
            child: InAppWebView(
              initialOptions: controller.options,
              onWebViewCreated: (c) {
                controller.webViewController = c;
              },
              onLoadStart: (c, uri) {
                controller.handleLoadNewURL(uri.toString());
              },
              onCreateWindow: (c, createWindowAction) async {
                controller.openUrl(createWindowAction.request.url.toString());
                return true;
              },
              initialData: InAppWebViewInitialData(
                  data: controller.content.value,
                  mimeType: 'text/html',
                  encoding: 'utf-8',
                  baseUrl: Uri.parse(AppConstant.musicTogetherWebsite)),
              gestureRecognizers: <Factory<VerticalDragGestureRecognizer>>{
                Factory<VerticalDragGestureRecognizer>(
                  () => VerticalDragGestureRecognizer(),
                )
              }, // or null
            ),
          ),


Close Activity and Start again Player never start new mp3 file

Hi,
I'm using this code in Player Activity in Android.
CrossMediaManager.Current.Init(this);
After that i played all feautre but i'm finish this activity with ClearTop and ClearTask Flags. After that i'm returning player activity with another mp3 file. Player doesn't play anything. How can i successfully close and dispose CrossMediaManager.
Thanks.

Can't you call Init again with the new activity?
Also, please use and update the issue with an issue template.

You can also use CrossMediaManager.Android.SetContext(this); on any specific Activity in the app.


Getting "Can't Load the Data" when trying to upload CSV into platform builder

I'm trying to upload a CSV of Tweets, and after I validate the format, I am seeing an error of "Can't Load the Data." Hard refresh doesn't seem to change anything. Attached is the CSV I'm trying to upload. (I had to attach XLSX in GitHub, but it is the same file in CSV that I am using).
Kenya_tweets_for_MC_topic.xlsx

I think there might be a few problems with this. I downloaded the .xlsx file and saved it as a csv. It ends up adding is a special character to the front of the file, which causes problems for the system.
When I removed that character, I ran into another problem with the format of the dates. The system can only read certain formats of dates and Jan 29,   2020 @ 05:33:50.000 isn't "valid." When you export the data, do you happen to have the ability to change how the dates are formatted? Something like 2020-01-29 (I suspect even Jan 29, 2020 would work well. If that's not possible, i can script something up to reformat the dates.

Just so I have a paper trail -- one issue is the way excel exported the CSV. I ended up following the instructions on https://stackoverflow.com/questions/7297888/0xef-0xbb-0xbf-character-showing-up-in-files-how-to-remove-them/15137601#15137601 to remove the BOM characters.

This data came from the Twitter API originally, was the uploaded into Kibana, and then downloaded to a CSV. Rahul executed the data pull and upload, so I'm not sure if there are options regarding the dates there...

Got it! I'll whip something up to format the csv so you can test out the links.

It turns out the excel had a quick day to format the dates. Instructions at https://support.microsoft.com/en-us/office/split-text-into-different-columns-with-the-convert-text-to-columns-wizard-30b14928-5550-41f5-97ca-7a3e9c363ed7.
Here's a screenshot of what I did:

I'll send you the processed CSV separately.


grpckit: add kotlin support

It would be valuable if kotlin-grpc support is added as it generates kotlin code with coroutines and flow api support.
https://github.com/grpc/grpc-kotlin/tree/master/compiler

Added PR with this change: https://github.com/grpckit/grpckit/pull/8


fix(output): updated outputs.tf

Add outputs.tf
closes #11

This PR is included in version 0.1.1 :tada:


Carousel doesn't start working till browser resize gets to a point where the carousel needs to resize, then works as intended.

Bug is related to
Embla wont init till resize is triggered.

[ ] Vanilla 4.5.3
[ ] ES6 Webpack Project

Embla Carousel version

v4.5.3

Describe the bug

Carousel doesn't become interactive till a browser resize to the carousel's width is triggered.

Code

HTML

JS

const mainCarouselWrap = document.getElementById("c1");
        const mainCarouselView = mainCarouselWrap.querySelector("c1 .embla__viewport");
        const mainCarousel = EmblaCarousel(mainCarouselView, {
            selectedClass: "",
            slidesToScroll: 2,
            loop: false
        });

CSS

.embla {
            position: relative;
            background-color: #f7f7f7;
            padding: 20px;
            max-width: 670px;
            margin-left: auto;
            margin-right: auto;
        }

        .embla__viewport {
            overflow: hidden;
            width: 100%;
        }

        .embla__viewport.is-draggable {
            cursor: move;
            cursor: grab;
        }

        .embla__viewport.is-dragging {
            cursor: grabbing;
        }

        .embla__container {
            display: flex;
            user-select: none;
            -webkit-touch-callout: none;
            -khtml-user-select: none;
            -webkit-tap-highlight-color: transparent;
            margin-left: -10px;
        }

        .embla__slide {
            position: relative;
            min-width: 50%;
            padding-left: 10px;
        }

        .embla__slide__inner {
            position: relative;
            overflow: hidden;
            height: 190px;
        }

        .embla__slide__img {
            position: absolute;
            display: block;
            top: 50%;
            left: 50%;
            width: auto;
            min-height: 100%;
            min-width: 100%;
            max-width: none;
            transform: translate(-50%, -50%);
        }

Video:
https://youtu.be/Ff2r0oNi9hc

Hi @DarceyLloyd,
Please provide a CodeSandbox with your setup that reproduces the issue. I need that in order to debug properly. You can fork one of the CodeSandbox on the examples page.
This is most likely happening because you’re initializing Embla before you’ve rendered the correct sizes of the carousel elements. For example, if you’re toggling display: none on some parent element or similar.
Kindly,
David

Hi David,
Sorry can't create a sandbox of this one as it's inside a project under NDA, but the functionality is:

base html page is loaded
there is a container for overlay content where a html file is xmlhttprequest use to load the page and injected into the container.
once the xhr request succeeds the html is then injected into the container
then the corresponding javascript class is executed to init on the new html content, picking up the html elements etc and then running embla setup
during this time however the content container is display none, opacity: 0 and then GSAP tweened in from display: block, opacity: 1

Is there a force init command for embla? I guess I could slap a setTimout on the embla init function to delay the setup till the display: block and opacity: starts to tween in to 1...

I put a setTimout of 1000ms on the init and it works but it does do a little stutter.
https://youtu.be/3Ba5R2DzDlQ

Hi @DarceyLloyd,
Thanks for the additional information. As I suspected. display: none makes it impossible for Embla to pick up the carousel container and slide dimensions, because these elements won’t have any dimensions until display: none is removed.
My recommendation is as you’ve already figured out, to only animate opacity. You can use the reInit to re-initialize Embla and tell it to re-calculate all dimensions.
Best,
David

@DarceyLloyd let me know how it goes. Cheers.

@davidcetinkaya all good now thanks, the reInit did help prevent the setup glitch, but after applying the opacity fade, it adds a nice effect to the page to see the carousels fade (0.3s via GSAP )  👍
Thanks again for the info :)
Embla is my go to carousel, I've never been a fan of the others, and I wont touch anything jQuery. Embla is the closes way to how I would build a carousel and expect it to be init and behave. Also a 1/4 of the css the others take.
Keep up the great work.
Thanks
Darcey

How did you solved this?
I'm also facing the same error ;/

@dalalRohit the following issues might help you:

#159
#210

This will be handled automatically in the next release:

#159

@DarceyLloyd, @dalalRohit,
This feature has been released with v8.0.0-rc01.


event on contact EC2 isntance metadata service from container

Motivation
Detects attempts to communicate with the EC2 Instance Metadata Service from a container

Feature
event on triggering rule contact EC2 isntance metadata service from container

Alternatives

Additional context

/assign


20px margin on mobile

Duplicates ❌

[X] I have searched the existing issues

Libraries

[X] Vitamin Web UI Kit
[X] Vitamin Android UI Kit
[X] Vitamin iOS UI Kit
[ ] Vitamin Icons
[ ] Vitamin Assets
[ ] Vitamin Core theme (Light mode)
[ ] Vitamin Core theme (Dark mode)
[ ] Vitamin Base colors palette
[ ] Vitamin Extras kit
[ ] Not related to one Figma library

Current behavior 😯
We still provide guidelines and figma layout with 20px margins on mobile instead of 16px
Expected behavior 🤔
We should have 16px margins on mobile.
Context 🔦
No response
Screenshots / Videos 📸
No response

As discussed, we will do this in our next release because a lot of impact and breaking changes.


Prepackaged databases not loading in 3.0

Prepackaged databases worked fine before I updated. Now my prepackaged database isn't being loaded. I have the .db file in /src/main/assets and have verified that the data is in there correctly. I just pulled the db from the app, then prepackaged it in. If I copy the db to the databases directory myself on app launch, it works fine. Thanks!

is this still happening?

reopen if its still happening.


Update to openconfig/ygot v0.12.0

Also contains fix for swagger override tags for leaflist of enumerated type

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

214 of 229 (93.45%)  changed or added relevant lines in 8 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.3%) to 90.734%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

ygen/gogen.go
29
32
90.63%

ygot/render.go
73
77
94.81%

ygen/directory.go
64
72
88.89%

Files with Coverage Reduction
New Missed Lines
%

util/yang.go
1
96.32%

ygot/struct_validation_map.go
1
97.85%

Totals

Change from base Build<PHONE_NUMBER>:
0.3%

Covered Lines:
11281

Relevant Lines:
12433

💛  - Coveralls


Can we create KNOWN_DOMAINS dict instead of hard coding it?

Can we create the KNOWN_DOMAINS dictionary from the domains we enter in the geometry?
For the add simple model notebook, I want to include a very simple model of SEI growth which I think covers a good range of useful things PyBaMM can do. But the domains currently in KNOWN_DOMAINS aren't really applicable. It would be useful for the domains to be added when they are defined in the geometry.
Maybe there is a half way of being able to add an additional domains whilst still allowing us to take advantage of the structure of domains already in KNOWN DOMAINS.
Motivation
I really like what has been done in having a BaseModel and a BatteryBaseModel as it allows other simple models to be created which don't need to follow a full battery structure, which is useful for adding simple models. I think we should have something similar for domains.

Yea, it would be nicer to have something more flexible than the current KNOWN_DOMAINS. At the moment all we use it for is for (I think) is DomainConcatenation, which takes a mesh. So you could have the list of KNOWN_DOMAINS contained in each geometry, and which is then contained within each mesh?

It's also used in Symbol.domain setter, but I'm not fussed about getting rid of that?

Yea, I don't think we need to check that in Symbol. Its probably something
the mesh or discretisation should check anyway
On Fri, 10 May 2019 at 15:17, Valentin Sulzer<EMAIL_ADDRESS>wrote:

It's also used in Symbol.domain setter, but I'm not fussed about getting
rid of that?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pybamm-team/PyBaMM/issues/362#issuecomment-491305141,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIYL5B7R4GG45GCGWOCAILPUV7XPANCNFSM4HLYRGVQ
.


Refactor i18n

Move i18n out of assets because Angular copies the entire assets directory when building
Support Korean (second language needed for testing purposes)
Add tests for i18n

Very cool - thanks Jinseo!

I thank you!


[Bug] Remove duplicated challenge slug "chaimeleon"

Is there an existing issue for this?

[X] I have searched the existing issues

What product(s) are you seeing the problem on?
OpenChallenges
Current behavior
There are two challenges in main that have the same challenge slug: challenges with IDs 183 and 519.
https://github.com/Sage-Bionetworks/sage-monorepo/blob/main/apps/openchallenges/challenge-service/src/main/resources/db/challenges.csv
Tasks:

Fix the duplication
Review why the process allowed a duplicated challenge slug while they should be unique

Expected behavior
Upon starting, the challenge service should not thrown this warning reported by @zaro0508 :
2024-07-15 21:27:07 WARN  [main] o.f.c.i.s.DefaultSqlScriptExecutor - DB: Duplicate entry 'chaimeleon' for key 'slug' (SQL State: 23000 - Error Code: 1062)

Anything else?
No response
Commit ID
04dc1bb81f9ebe06706dca1e56b1ff4026666f04
Are you developing inside the dev container?

[X] I am using the dev container

Code of Conduct

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

Thanks for catching this, @tschaffter !  There was a small bug in the validation formula so it wasn't caught.  I have since fixed the formula, as well as updated the data so that there is no duplicate.


[BUG]Inconsistency in API HeadBucket between S3 and Minio

Describe the bug

After the fix of #1339 , it works with S3, but minio replacement breaks.
To Reproduce
Steps to reproduce the behavior:

Edit backup target to "S3", with a minio installed in cluster or independently, edit config like
{
"type": "s3",
"endpoint": "http://<IP_ADDRESS>:9000",
"accessKeyId": "",
"secretAccessKey": "",
"bucketName": "backupbucket",
"bucketRegion": "us-east-1",
"cert": "",
"virtualHostedStyle": true
}

it will report error:
operation error S3: HeadBucket, exceeded maximum number of attempts, 3, https response error StatusCode: 0, RequestID: , HostID: , request send failed, Head "http://backupbucket.<IP_ADDRESS>:9000/": dial tcp: lookup backupbucket.<IP_ADDRESS> on <IP_ADDRESS>:53: no such host
Expected behavior

The minio replacement of S3 should still work.
Support bundle

Environment:

Harvester ISO version:
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630):
Baremetal Server, single node harvester, master-head ISO

Additional context
Add any other context about the problem here.
related issues:
#1051
#1339

A quick analysis,
When "HeadBucket" is called and the "Endpoint" is not NULL, AWS sdk will try to build an URI,  here it becomes "http://backupbucket.<IP_ADDRESS>:9000/":
But the DNS does not know it. It caused the error.
Before commit of #1339, the "ListBuckets" API is called, it does not care about bucket name,  the credential is used to get all buckets. the URL is not touched.
S3 endpoint is in different format comparing with minio, need to consider how to identify them.
The worst way is to try "HeadBucket" first, then "ListBucket", if both fail, then report fail.

Planed solution is:
check the endpoint, if it is not empty and not contains "amazonaws.com", assume it is NONE s3, then call ListBuckets,
in other cases, call HeadBucket
It is verified locally.
awss3EndpointKeyword = "amazonaws.com"
       if target.Endpoint != "" && !strings.Contains(target.Endpoint, awss3EndpointKeyword) {
              // s3 replacement, like minio
               output, err := client.ListBuckets(h.ctx, &s3.ListBucketsInput{})
               if err != nil {
                       return err
           } else {
             // aws s3
              headBucketInput := s3.HeadBucketInput{
                      Bucket: &target.BucketName,
              }
       ....

s3 url format (endpoint):
https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html
https://stackoverflow.com/questions/47755043/what-is-difference-between-aws-s3-virtual-hosted-style-url-v-s-path-style-url
In a virtual-hosted–style:
  http://bucket.s3.amazonaws.com
  http://bucket.s3-aws-region.amazonaws.com.

In a path-style URL :
  http://s3.amazonaws.com/bucket
  http://s3-aws-region.amazonaws.com/bucket

for minio (s3 replacement): the endpoint is required, like
  https://minio-service.default:9000
  http://<IP_ADDRESS>:9000

Local test: set the backup target as s3, or s3 replacement minio.
Please notice: when error, the return messages have difference between them.
                                           s3                             minio
valid input                                 OK                            OK
none existing  bucket                  NotFound                       bucket ´name´ does not exist
credential error                 api error Forbidden: Forbidden       api error InvalidAccessKeyId: The Access Key Id you provided does not exist in our records

The new update below, makes s3 and minio both works. There issue here is gone.
https://github.com/harvester/harvester/pull/1447

I seem to be experiencing this exact thing when trying to configure Logging to use minio as a target. rancher-logging-root-fluentd-0 is crashing because
error="#<Seahorse::Client::NetworkingError: Failed to open TCP connection to harvester-logs.<IP_ADDRESS>:9000 (getaddrinfo: Name does not resolve)>"

I have endpoint set to http://<IP_ADDRESS>:9000/ and bucket set to harvester-logs. What is the solution for this?
I'm running Harvester 1.2.0

set UsePathStyle to true


⚠ Bofrost.at has degraded performance

In c526137, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1203 ms

Resolved: Bofrost.at performance has improved in 45318cc after 8 minutes.


Dominant Color is always white

I have tried many urls but they all return a same dominant color that is white , i dont why it is happening

This is a known issue but it does not come from the library, this is a spotify issue,
you can try with this link, you will always have white color https://open.spotify.com/embed?uri={spotifyURI}

Allright closing this thanks!


bug: Slidebox in a modal and container.offsetWidth

Type: bug
Platform: all

Hi,
I post here an issue I got since this commit with a slidebox in a modal :
https://github.com/driftyco/ionic/commit/040dabf2
I used the new Ionic tool (congrats for play, it's very useful to submit issues :) ) to show rapidly the issue : http://play.ionic.io/app/e1935c0d427b
I try to directly slide to the second image at load and it doesn't work, we can see in the console : 'Cannot read property 'length' of undefined'
Because the modal container offsetWidth is undefined. Before the commit, it was working fine.
Any way to prevent that ?
Thanks

Greetings @mellinas!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

Not 100% sure that that commit has to do with the issue, since dropping the version to rc-3 still produces it.
http://play.ionic.io/app/90e9a52df435
Also, removing the ion-modal-view did not remove the issue so I don't believe it has to do with that.
Seems to do with making sure the slidebox is ready to be interacted with.
http://play.ionic.io/app/078b2c71ef78
Another way would be to use the ionic view events.
http://codepen.io/mhartington/pen/EjVqze

Yea, you are right, It's not working on rc3 in my example.
I put the complete example (except design) from my project :
The use case : a grid of clickage images that open a modal viewer (like Facebook)
Here rc3 (works) : http://codepen.io/melina34/pen/QbyjBX
Here rc5(don't work) : http://codepen.io/melina34/pen/waMKxN

It's just a change of some things moving to be asyncronous and others opting to be syncronous when possible. Here's a new working version.
http://codepen.io/perrygovier/pen/yNeJxy?editors=101
Note, this is well beyond the intended use of the slidebox, so while it works, it'll be prone to breaking between versions and might one day not work at all.

Thanks a lot for the new working version :)
Yea I understand it's a specific usecase. But I wanted to create something similar to Facebook gallery/modals and it was the component which seems the most close to it :)


feat(daycolor): updated days changed to error on light

Alaska Airlines Pull Request
Fixes: #48
Summary:
Updated the color of the days changed to error-on-light
Type of change:
Please delete options that are not relevant.

[ ] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Waiting on @jdeeezzy to comply with CLA requirements.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Poor iOS sim performance when one or more extra tabs in Chrome opened alongside Debugger

Description
iOS Simulator connected to debugger runs very slow in Chrome when the Chrome Window containing the debugging tab also has any other tabs. If the only tab open is the debugging tab, everything runs smooth as normal.
Reproduction

Open up React Native app in iOS sim, and enable remote JD debugging.
Open up a second tab along side the React Native Debugger tab.
Watch as performance of simulator drastically decreases (sometimes this decrease in performance is delayed, and takes a few minutes to set in).
Close the second tab you opened in step 2, leaving ONLY the React Native Debugger tab open.
Performance returns to normal.

This issue was reproduced on another colleague's machine on a completely different project, but started happening to both of us at the same time. We suspect an update to Chrome is the root cause for this.
Additional Information

React Native version: 0.34
Platform: iOS
Operating System: MacOS
Chrome version: 54.0.2840.71 (64-bit)

Same problem on real device and RN 0.36, using Firefox I have no issue.

@jdoyle65 I'm experiencing the same issue. As a workaround using the React Native Debugger
 works for me. Hope this is helpful :)

Thanks for the issue! This seems to be a duplicate of #10559.


Added 7 courses on ML, DL, Django, DSA

Added 7 courses on ML, DL, Django, DSA

Please don't spam video tutorials with documentations.

Looking forward for more such awesome resources from you.


Adjusted very large font sizes on header

Header fonts were breaking or getting out of the screen in some devices
I tested.
I reduced the font-size and made it inline (just because it is prettier
in my opinion).
See if you like it 😄

Thank you very much @khaosdoctor


Update scalar-udf-inlining.md

Update documentation to reflect the full coverage - SQL MI is now rolled out almost completely
Update documentation to mention change in behavior  - under important notes

@Pookam90 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

this change looks good to me, thanks @Pookam90 #sign-off @ktoliver fyi

@MashaMSFT: I'm sorry - only the author of this article, @s-r-k, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


NuGet.Server: unlisting does not re-evaluate IsLatest and IsAbsoluteLatest

Steps
Tested on 2.11.3 and latest dev build.

Set enableDelisting configuration value to true.
Start NuGet.Server.
Push a package. It's easiest to verify if you push a package with a new ID.
Delete the package.
Check the Listed, IsLatest, and IsAbsoluteLatest properties in the OData feed.

Expected
Listed should be true, IsLatest should be false, and IsAbsoluteLatest should also be false.
Actual
Listed is set to true properly but IsLatest and IsAbsoluteLatest are not updated accordingly.

Fixed in the following releases:
https://www.nuget.org/packages/NuGet.Server/2.14.2
https://www.nuget.org/packages/NuGet.Server/3.0.1


As a user I can save polygons

Polygon validation?

Setup PostGIS to OpenShift
Setup outbound route from OpenShift
Setup schemas according to architecture plan
Document schemas to the wiki


A bug on elmo.py

HI, i try to train a elmo model by runing  python src/train.py -h ,but i got a SyntaxError: invalid syntax
in elmo.py, line 134

You will need python 3.6 to run the training script.

i try to use python 3.6 to run script, but bug still exist.
hidden_states:List[Optional[Tuple[torch.Tensor,
torch.Tensor]]] = [None] * len(self.forward_layers)
SyntaxError: invalid syntax
also i am a little confused about the colon in " hidden_states:List ", what does this mean?
thanks

I am sorry but I cannot reproduce the error.

I believe colon in "hidden_states:List" is PEP 526: Syntax for variable annotations introduced in Python 3.6. See https://docs.python.org/3/whatsnew/3.6.html. By the way, we adopt this code from AllenNLP, and I believe it was well-tested. So, please double check your python version.

Hi,i want to get the hdf5 format file with BiLM weights corresponding this ELMO,how can i do it?Hope to get your reply，thank you.


Tests failing: Error while reading ShaDa file

Describe the bug
Hi everyone,
I'm trying to run tests on my local clone of orgmode. On Windows it was impossible, so I'm using WSL. The steps I've done and written below were all done through WSL, to avoid any problem with line endings.
Some tests run succesfully, but those that fail all seem to have the same exact problem (which I honestly don't believe is caused by my code changes):
./tests/plenary/ui/helpers.lua:3: Vim(edit):E576: Error while reading ShaDa file: there is an item at position 5289 that must not be there: Missing items are for internal uses only

            stack traceback:
                ./tests/plenary/ui/helpers.lua:3: in function 'load_file_content'
                ...tti/nvim/orgmode/tests/plenary/ui/mappings/todo_spec.lua:10: in function <...tti/nvim/orgmode/tests/plenary/ui/mappings/todo_spec.lua:9>

This error appears a ton of time. Does anyone know how to fix it and go on with the testing?
Steps to reproduce

Clone orgmode
Clone nvim-treesitter and plenary.nvim in the same folder
run make test

Expected behavior
It should run the tests (which it does). It also tells me which tests fail, but it doesn't make sense that it is the same error over and over, in a file I didn't touch.
Emacs functionality
No response
Minimal init.lua
It uses the one that comes with the tests (/tests/minimal_init.vim)
Screenshots and recordings
No response
OS / Distro
Ubuntu 22.04 WSL (Windows 10)
Neovim version/commit
0.8.0-1210
Additional context
No response

Thank you, it worked flawlessly. In the end, my shada file was messed up for some reasons...


Expansion to Other Time series dataset

Can this study be applied to other time series data? I'm curious about the data selection criteria for mHealth, HAPT, opportunity.

Sure, CrossMatch does not have any preference on the dataset. I chose those datasets based on popularity.


Improve project README

The current README for the project is a little big overwhelming to get started. I believe the user will benefit greatly if we simplify the README to just topic user will first look for, and link to a more advanced topics in the docs/ directory.
Here's some example of a project I stumbled upon that has a great README or something we could take hint from:

FoundationDB — very concise and clear, and has everything I want to know about the project at a glance. I especially like the "Compiling from source" which is loosely written, but very easy to follow.
Milksnake — this is organized in a "Why", "What", and "How" which I like. I think making the heading a question make it easy to focus on explaining a single thing, and it coincides nicely with the user's expectation of the README in the first place, e.g. if we have "How to install?" section for when user look for how to install.
Re-frame — a bit different from what I'm proposing for README, and it's more of an article, but the framework require full understanding of the concept and the author did a great job putting all pieces together that you'd be able to use it immediately after finished reading the README.

Feel free to add more examples.

Agreed, definitely planning to do this before 1.0 release. If you want to tackle it, be my guest :D

Will review those examples later. Meanwhile, these are some of the main README feedbacks I got from those who're looking to integrate our SDKs:

Information overload for someone to start by reading the readme, with too many options and jumps. --> Consider make the README one straight flow without branching different options, and put the options as separate pages?
They got confused in the "Getting Started" section. Unclear whether Docker, Goban and the rest are continuous or they are mutual options. --> Same solution as point above.
ENVs are not too clear of which ones are required for which environment. E.g. EWALLET_SECRET_KEY is required for prod but not dev. --> List the ENVs along with the requirements in each environment?

Need to update README for admin panel too.


Account request for Simkl List

Please add Simkl to the anime tracking list, it is a very great service that allows you to keep your movie, tv show, and anime all in one place and would be great to add for further support.

Please add Simkl to the anime tracking list, it is a very great service that allows you to keep your movie, tv show, and anime all in one place and would be great to add for further support.

What's wrong with Anilist and Mal?


[SCB-708] Aggregate simple query params into object param in spring mvc style

Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Format the pull request title like [SCB-XXX] Fixes bug in ApproximateQuantiles, where you replace SCB-XXX with the appropriate JIRA issue.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Run mvn clean install to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See details in SCB-708

Coverage decreased (-0.1%) to 86.944% when pulling d8d0e6085ae881458f41118921d892f4dfcdc851 on yhs0092:aggregate_simple_param_in_SpringMVC_style into 6c4c1c1e9adc8e99fcc57cc4165576dc9655c4d9 on apache:master.


USB Webcam

Hi,
I really like the idea of a webserver to view the output so I can run a headless Pi running Raspbian Lite. However, I only have a USB webcam, and I'm not sure how to implement the code for running this project with a USB webcam.
Also, what is the install process for opencv?

Hi jiffybutter,
USB webcams can only be accessed by index via OpenCV's VideoCapture as in camera.py. The Pi Camera Module works with VideoStreamCV2 with index set to 0. Since I don't have a USB camera at hand, that's not been tested yet myself. But OpenCV does work with USB cameras for sure. Try experimenting with different values (make sure to switch your camera instance to camera = VideoStreamCV2() inside __init__.py) to see which works for you.
class VideoStreamCV2(object):
    def __init__(self, **kwargs):
        self.cap = cv2.VideoCapture(0, **kwargs)
...

As for installation for OpenCV, I followed these tutorials and found them pretty comprehensive and helpful (pyimagesearch, learnopencv). Certainly some configurations need to be adapted with your environment, so whenever you're not so sure about what a package does or what those flags mean when compiling, feel free to let me know, or just google it, cause that's exactly how I learn new things. :)


fix(api): readjust hardware controller end state in engine cleanup

Overview
While handling a bug in engine cleanup in #13339, we rearranged the sequence of motor disengage, re-engage and home, which undid the work done in   to not end a run with motors disengaged. This PR re-rearranges the sequence again, with additional refactors for clarity and upcoming support for disengaging the 96-channel at the end of runs.
See this document for detailed notes on requirements for motor disengaging.
Also separates out the concerns of post-run-tip-drop & post-run-homing-and-disengaging.
Test Plan

On a Flex as well as OT2:

Start a protocol run and while a motor is moving, cancel the run abruptly. Check that:

[ ] the motion is halted immediately.
[ ] The motor halt is smooth (i.e., not jerky & loud) and is followed by a tip drop and home

Start a maintenance run via HTTP requests (not through the app), load a pipette and verify that a moveTo command succeeds without any MustHomeErrors or other errors indicating that motors are disengaged. (This checks for starting state of maintenance run after a protocol run)
Delete the maintenance run and verify that the gantry does not home.
Restart another maintenance run. Verify that moveTo command still works correctly as in (2), without requiring a Home. (This checks for starting state of maintenance run after a previous maintenance run)
During the maintenance run, send a move command and immediately send a DEL request to delete the maintenance run. Verify that the deletion request fails with EngineConflictError. Then reattempt deletion after the movement is over and it should delete the run successfully and keep the gantry in place.

Changelog

Added a PostRunHardwareState enum that clearly defines the allowed end states for hardware after a run is finished.
Updated engine.finish() by splitting the drop_tips_and_home argument into:

drop_tips_after_run: whether to drop tips during the current run's cleanup
post_run_hardware_state: whether to home and/or disengage motors after the run cleanup

Hardware control changes:

updated api.halt() to optionally disengage motors before performing an abrupt halt/stop
made task cancellation and execution manager state update a part of api.stop() so that halt only cares about halting hardware motion while stop does all the cleanup.

Updated tests to cover all scenarios of tip drops and post-run-hardware-state.

Review requests

Does the code add more clarity after the refactor?
Is it fine to have hardware end states in the enum that aren't used yet? I've added them in preparation for 96-channel support.
any comments about hardware controller changes?

Risk assessment
Medium. Re-implements the intentions of #13185 so that's a state change sequence we had been using and testing with before the run cancellation bug fix. Thorough testing will make sure we aren't introducing any regressions.

Tested on an OT-2:

Start a protocol run and while a motor is moving, cancel the run abruptly. Check that:

[x] the motion is halted immediately.
[x] The motor halt is smooth (i.e., not jerky & loud) and is followed by a tip drop and home
[x] Delete the maintenance run and verify that the gantry does not home.
[x] Restart another maintenance run. Verify that moveTo command still works correctly as in (2), without requiring a Home. (This checks for starting state of maintenance run after a previous maintenance run)

Tested the following on a Flex:

Start a protocol run and while a motor is moving, cancel the run abruptly. Check that:

[x] the motion is halted immediately and the motor halt is smooth (i.e., not jerky & loud) and is followed by a tip drop and home
[x] Starting a maintenance run and issuing a moveTo command moves the gantry and does not raise a MustHomeError or motor error
[x] Delete the maintenance run and verify that the gantry does not home.
[x] Restart another maintenance run. Verify that moveTo command still works correctly without requiring a Home. (This checks for starting state of maintenance run after a previous maintenance run)
[x] Deleting the maintenance run mid-move did not cancel the run and raised a RunNotIdle error
[x] Deleting the maintenance run after the move had completed deleted the run successfully and did not cause the gantry to move

We think this is going to help with RQA-1450. Per discussion in that ticket, we might want to tweak behavior slightly—for example, never home after a protocol failure? We're going to merge this now, and then discuss any changes that might need to be done on top of this.
Thank you again for getting to the bottom of this!


Add automatic linting to the code

Hello! I'm going to try tackling this using ESLint.

PR #9 is ready for your review.
Thanks!

Issues has been fixed


Adding pull to refresh

What

[ ] Adding pull to refresh to search
[ ] Adding pull to refresh to the product page
[ ] #1337 (for History)

Part of

Refresh strategy

@teolemon Here is for search page
https://user-images.githubusercontent.com/46121493/160287810-ece2b9fc-6011-461b-b432-6982a937176d.mp4

@teolemon Here is for product page
https://user-images.githubusercontent.com/46121493/160291276-bb442c34-cebd-4ed9-982e-8ca59de07e85.mp4


Update Amazon IVS Broadcast SDK to 1.2.0

Update Amazon IVS Broadcast SDK to 1.2.0
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

LGTM. Thank you for the PR @uldiszz . Will merge and close.


UERAN container ping failed

I added the iptables command mentioned in https://githubmemory.com/repo/free5gc/free5gc-compose/issues/26?page=1
The ping still failed.

Thank you for your time and help!

@abousselmi  I found 2 error messages.

After running docker-compose up

nrf              | 2021-08-17T16:11:14Z [INFO][NRF][MGMT] Create NF Profile

nrf              | 2021-08-17T16:11:14Z [INFO][NRF][MGMT] Location header:  http://nrf.free5gc.org:8000/nnrf-nfm/v1/nf-instances/15cbd9c6-1167-4224-9461-31d486851da6

nrf              | 2021-08-17T16:11:14Z [INFO][NRF][GIN] | 201 |   <IP_ADDRESS> | PUT     | /nnrf-nfm/v1/nf-instances/15cbd9c6-1167-4224-9461-31d486851da6 |

nrf              | 2021/08/17 16:11:14 http2: server connection error from <IP_ADDRESS>:48868: connection error: PROTOCOL_ERROR

After running sudo build/nr-ue -c config/free5gc-ue.yaml

sudo build/nr-ue -c config/free5gc-ue.yaml

Then I tried ping -I uesimtun0 <IP_ADDRESS> still failed.
Thank you in advance.

The error message that you see in the NRF is caused by http2 library. According to http2 specs

Clients and servers MUST treat an invalid connection preface as a
connection error (Section 5.4.1) of type PROTOCOL_ERROR.  A GOAWAY
frame (Section 6.8) MAY be omitted in this case, since an invalid
preface indicates that the peer is not using HTTP/2.

Who has the ip address <IP_ADDRESS> ?

@abousselmi Thank you for reply. The Ip address is belong to UDM container.

Hi @minziran, this is weird, I'm not sure why UDM made a wrong request to the NRF. Can you confirm whether this PROTOCOL_ERROR is due to the ueransim container somehow or not ?

Hi @minziran, this is weird, I'm not sure why UDM made a wrong request to the NRF. Can you confirm whether this PROTOCOL_ERROR is due to the ueransim container somehow or not ?

Thank you so much! I upgrade UERANSIM and it works.

Could you please let us know which version of UERANSIM that you upgraded to ?

Could you please let us know which version of UERANSIM that you upgraded to ?

git checkout v3.1.0

This issue has been mentioned on free5GC. There might be relevant details there:
https://forum.free5gc.org/t/free5gc-http2-server-connection-error-from-ip-connection-error-protocol-error/1316/3


The mechanical arm cannot deposit or extract items from an andesite funnel or a brass funnel.

Describe the Bug
The mechanical arm cannot deposit or extract items from an andesite funnel or a brass funnel.
Regarding the associated entries, it shows that they can be linked to these; if it is not an error, and it was an intentional change, it should be removed from the guide as it causes confusion.
Version: 0.5.1.b Patch 2
Reproduction Steps
1.Right-click on the andesite funnel or the brass funnel.
2.
3.
...
Expected Result
I would like the error to be fixed in an upcoming bug fix update.
Screenshots and Videos

Crash Report or Log
No response
Operating System
windows 11
Mod Version
0.5.1b
Minecraft Version
1.19.2
Other Mods
No response
Additional Context
No response

working fine for me.
they can only insert, and can only insert to inward-facing funnels.


encountered error when bringing up docker-compose

An error occured when bringing up system. Cannot pinpoint the issue. Is there additional logs that are needed?
*** command line ***
$ docker-compose up
Starting agent1.webhook           ... done
Starting agent2.webhook           ... done
Starting agent3.localhost         ... done
Starting aries-playground_nginx_1 ... done
Starting agent3.webhook           ... done
Starting agent1.localhost         ... done
Starting agent2.localhost         ... done
Attaching to aries-playground_nginx_1, agent3.localhost, agent2.localhost, agent1.localhost, agent3.webhook, agent1.webhook, agent2.webhook
agent3.webhook      |  * Serving Flask app "app" (lazy loading)
agent3.webhook      |  * Environment: production
agent3.webhook      |    WARNING: Do not use the development server in a production environment.
agent3.webhook      |    Use a production WSGI server instead.
agent3.webhook      |  * Debug mode: on
agent2.webhook      |  * Serving Flask app "app" (lazy loading)
agent2.webhook      |  * Environment: production
agent2.webhook      |    WARNING: Do not use the development server in a production environment.
agent2.webhook      |    Use a production WSGI server instead.
agent2.webhook      |  * Debug mode: on
agent1.webhook      |  * Serving Flask app "app" (lazy loading)
agent1.webhook      |  * Environment: production
agent1.webhook      |    WARNING: Do not use the development server in a production environment.
agent1.webhook      |    Use a production WSGI server instead.
agent1.webhook      |  * Debug mode: on
agent3.localhost    | usage: aca-py start [-h] [--admin  ] [--admin-api-key ]
agent3.localhost    |                     [--admin-insecure-mode] [--no-receive-invites]
agent3.localhost    |                     [--help-link ] [--webhook-url ] [--debug]
agent3.localhost    |                     [--debug-seed ] [--debug-connections]
agent3.localhost    |                     [--debug-credentials] [--debug-presentations] [--invite]
agent3.localhost    |                     [--invite-role ] [--invite-label ]
agent3.localhost    |                     [--invite-multi-use] [--invite-public]
agent3.localhost    |                     [--test-suite-endpoint ] [--auto-accept-invites]
agent3.localhost    |                     [--auto-accept-requests] [--auto-respond-messages]
agent3.localhost    |                     [--auto-respond-credential-proposal]
agent3.localhost    |                     [--auto-respond-credential-offer]
agent3.localhost    |                     [--auto-respond-credential-request]
agent3.localhost    |                     [--auto-respond-presentation-proposal]
agent3.localhost    |                     [--auto-respond-presentation-request]
agent3.localhost    |                     [--auto-store-credential] [--auto-verify-presentation]
agent3.localhost    |                     [--plugin ] [--storage-type ]
agent3.localhost    |                     [-e  [ ...]] [--read-only-ledger]
agent3.localhost    |                     [--tails-server-base-url ]
agent3.localhost    |                     [--ledger-pool-name ]
agent3.localhost    |                     [--genesis-transactions ]
agent3.localhost    |                     [--genesis-file ]
agent3.localhost    |                     [--genesis-url ]
agent3.localhost    |                     [--log-config ] [--log-file ]
agent3.localhost    |                     [--log-level ] [--auto-ping-connection]
agent3.localhost    |                     [--invite-base-url ] [--monitor-ping]
agent3.localhost    |                     [--public-invites] [--timing] [--timing-log ]
agent3.localhost    |                     [--trace] [--trace-target ]
agent3.localhost    |                     [--trace-tag ] [--trace-label ]
agent3.localhost    |                     [--preserve-exchange-records] -it
agent3.localhost    |                     -ot  [-l ]
agent3.localhost    |                     [--max-message-size ]
agent3.localhost    |                     [--enable-undelivered-queue]
agent3.localhost    |                     [--max-outbound-retry MAX_OUTBOUND_RETRY]
agent3.localhost    |                     [--seed ] [--wallet-local-did]
agent3.localhost    |                     [--wallet-key ]
agent3.localhost    |                     [--wallet-rekey ]
agent3.localhost    |                     [--wallet-name ]
agent3.localhost    |                     [--wallet-type ]
agent3.localhost    |                     [--wallet-storage-type ]
agent3.localhost    |                     [--wallet-storage-config ]
agent3.localhost    |                     [--wallet-storage-creds ]
agent3.localhost    |                     [--replace-public-did]
agent3.localhost    | aca-py start: error: the following arguments are required: -it/--inbound-transport, -ot/--outbound-transport
agent3.localhost    | ./startup.sh: line 2: -it: command not found
agent3.localhost    | ./startup.sh: line 3: -ot: command not found
agent3.localhost    | ./startup.sh: line 4: -e: command not found
agent3.localhost    | ./startup.sh: line 5: --label: command not found
agent3.localhost    | ./startup.sh: line 6: --admin: command not found
agent3.localhost    | ./startup.sh: line 7: --admin-insecure-mode: command not found
agent3.localhost    | ./startup.sh: line 8: --auto-accept-requests: command not found
agent3.localhost    | ./startup.sh: line 9: --auto-respond-credential-proposal: command not found
agent3.localhost    | ./startup.sh: line 10: --auto-respond-presentation-proposal: command not found
agent3.localhost    | ./startup.sh: line 11: --genesis-url: command not found
agent3.localhost    | ./startup.sh: line 12: --wallet-type: command not found
agent3.localhost    | ./startup.sh: line 13: --wallet-name: command not found
agent3.localhost    | ./startup.sh: line 14: --webhook-url: command not found
agent2.localhost    | usage: aca-py start [-h] [--admin  ] [--admin-api-key ]
agent2.localhost    |                     [--admin-insecure-mode] [--no-receive-invites]
agent2.localhost    |                     [--help-link ] [--webhook-url ] [--debug]
agent2.localhost    |                     [--debug-seed ] [--debug-connections]
agent2.localhost    |                     [--debug-credentials] [--debug-presentations] [--invite]
agent2.localhost    |                     [--invite-role ] [--invite-label ]
agent2.localhost    |                     [--invite-multi-use] [--invite-public]
agent2.localhost    |                     [--test-suite-endpoint ] [--auto-accept-invites]
agent2.localhost    |                     [--auto-accept-requests] [--auto-respond-messages]
agent2.localhost    |                     [--auto-respond-credential-proposal]
agent2.localhost    |                     [--auto-respond-credential-offer]
agent2.localhost    |                     [--auto-respond-credential-request]
agent2.localhost    |                     [--auto-respond-presentation-proposal]
agent2.localhost    |                     [--auto-respond-presentation-request]
agent2.localhost    |                     [--auto-store-credential] [--auto-verify-presentation]
agent2.localhost    |                     [--plugin ] [--storage-type ]
agent2.localhost    |                     [-e  [ ...]] [--read-only-ledger]
agent2.localhost    |                     [--tails-server-base-url ]
agent2.localhost    |                     [--ledger-pool-name ]
agent2.localhost    |                     [--genesis-transactions ]
agent2.localhost    |                     [--genesis-file ]
agent2.localhost    |                     [--genesis-url ]
agent2.localhost    |                     [--log-config ] [--log-file ]
agent2.localhost    |                     [--log-level ] [--auto-ping-connection]
agent2.localhost    |                     [--invite-base-url ] [--monitor-ping]
agent2.localhost    |                     [--public-invites] [--timing] [--timing-log ]
agent2.localhost    |                     [--trace] [--trace-target ]
agent2.localhost    |                     [--trace-tag ] [--trace-label ]
agent2.localhost    |                     [--preserve-exchange-records] -it
agent2.localhost    |                     -ot  [-l ]
agent2.localhost    |                     [--max-message-size ]
agent2.localhost    |                     [--enable-undelivered-queue]
agent2.localhost    |                     [--max-outbound-retry MAX_OUTBOUND_RETRY]
agent2.localhost    |                     [--seed ] [--wallet-local-did]
agent2.localhost    |                     [--wallet-key ]
agent2.localhost    |                     [--wallet-rekey ]
agent2.localhost    |                     [--wallet-name ]
agent2.localhost    |                     [--wallet-type ]
agent2.localhost    |                     [--wallet-storage-type ]
agent2.localhost    |                     [--wallet-storage-config ]
agent2.localhost    |                     [--wallet-storage-creds ]
agent2.localhost    |                     [--replace-public-did]
agent2.localhost    | aca-py start: error: the following arguments are required: -it/--inbound-transport, -ot/--outbound-transport
agent3.localhost exited with code 127
agent2.localhost    | ./startup.sh: line 2: -it: command not found
agent2.localhost    | ./startup.sh: line 3: -ot: command not found
agent2.localhost    | ./startup.sh: line 4: -e: command not found
agent2.localhost    | ./startup.sh: line 5: --label: command not found
agent2.localhost    | ./startup.sh: line 6: --admin: command not found
agent2.localhost    | ./startup.sh: line 7: --admin-insecure-mode: command not found
agent2.localhost    | ./startup.sh: line 8: --auto-accept-requests: command not found
agent2.localhost    | ./startup.sh: line 9: --auto-respond-credential-proposal: command not found
agent2.localhost    | ./startup.sh: line 10: --auto-respond-presentation-proposal: command not found
agent2.localhost    | ./startup.sh: line 11: --genesis-url: command not found
agent2.localhost    | ./startup.sh: line 12: --wallet-type: command not found
agent2.localhost    | ./startup.sh: line 13: --wallet-name: command not found
agent2.localhost    | ./startup.sh: line 14: --webhook-url: command not found
agent1.localhost    | usage: aca-py start [-h] [--admin  ] [--admin-api-key ]
agent1.localhost    |                     [--admin-insecure-mode] [--no-receive-invites]
agent1.localhost    |                     [--help-link ] [--webhook-url ] [--debug]
agent1.localhost    |                     [--debug-seed ] [--debug-connections]
agent1.localhost    |                     [--debug-credentials] [--debug-presentations] [--invite]
agent1.localhost    |                     [--invite-role ] [--invite-label ]
agent1.localhost    |                     [--invite-multi-use] [--invite-public]
agent1.localhost    |                     [--test-suite-endpoint ] [--auto-accept-invites]
agent1.localhost    |                     [--auto-accept-requests] [--auto-respond-messages]
agent1.localhost    |                     [--auto-respond-credential-proposal]
agent1.localhost    |                     [--auto-respond-credential-offer]
agent1.localhost    |                     [--auto-respond-credential-request]
agent1.localhost    |                     [--auto-respond-presentation-proposal]
agent1.localhost    |                     [--auto-respond-presentation-request]
agent1.localhost    |                     [--auto-store-credential] [--auto-verify-presentation]
agent1.localhost    |                     [--plugin ] [--storage-type ]
agent1.localhost    |                     [-e  [ ...]] [--read-only-ledger]
agent1.localhost    |                     [--tails-server-base-url ]
agent1.localhost    |                     [--ledger-pool-name ]
agent1.localhost    |                     [--genesis-transactions ]
agent1.localhost    |                     [--genesis-file ]
agent1.localhost    |                     [--genesis-url ]
agent1.localhost    |                     [--log-config ] [--log-file ]
agent1.localhost    |                     [--log-level ] [--auto-ping-connection]
agent1.localhost    |                     [--invite-base-url ] [--monitor-ping]
agent1.localhost    |                     [--public-invites] [--timing] [--timing-log ]
agent1.localhost    |                     [--trace] [--trace-target ]
agent1.localhost    |                     [--trace-tag ] [--trace-label ]
agent1.localhost    |                     [--preserve-exchange-records] -it
agent1.localhost    |                     -ot  [-l ]
agent1.localhost    |                     [--max-message-size ]
agent1.localhost    |                     [--enable-undelivered-queue]
agent1.localhost    |                     [--max-outbound-retry MAX_OUTBOUND_RETRY]
agent1.localhost    |                     [--seed ] [--wallet-local-did]
agent1.localhost    |                     [--wallet-key ]
agent1.localhost    |                     [--wallet-rekey ]
agent1.localhost    |                     [--wallet-name ]
agent1.localhost    |                     [--wallet-type ]
agent1.localhost    |                     [--wallet-storage-type ]
agent1.localhost    |                     [--wallet-storage-config ]
agent1.localhost    |                     [--wallet-storage-creds ]
agent1.localhost    |                     [--replace-public-did]
agent1.localhost    | aca-py start: error: the following arguments are required: -it/--inbound-transport, -ot/--outbound-transport
agent1.localhost    | ./startup.sh: line 2: -it: command not found
agent1.localhost    | ./startup.sh: line 3: -ot: command not found
agent1.localhost    | ./startup.sh: line 4: -e: command not found
agent1.localhost    | ./startup.sh: line 5: --label: command not found
agent1.localhost    | ./startup.sh: line 6: --admin: command not found
agent1.localhost    | ./startup.sh: line 7: --admin-insecure-mode: command not found
agent1.localhost    | ./startup.sh: line 8: --auto-accept-requests: command not found
agent1.localhost    | ./startup.sh: line 9: --auto-respond-credential-proposal: command not found
agent1.localhost    | ./startup.sh: line 10: --auto-respond-presentation-proposal: command not found
agent1.localhost    | ./startup.sh: line 11: --genesis-url: command not found
agent1.localhost    | ./startup.sh: line 12: --wallet-type: command not found
agent1.localhost    | ./startup.sh: line 13: --wallet-name: command not found
agent1.localhost    | ./startup.sh: line 14: --webhook-url: command not found
agent2.localhost exited with code 127
agent1.localhost exited with code 127

Unable to reproduce the error. Noting that the error occurred while running in MinGW from windows 10.


HTTP version should be 2 and 3 instead of 2.0 and 3.0

Changes
HTTP protocol has the following versions:

HTTP/1.0 - RFC1945
HTTP/1.1 - RFC2616 and its updates
HTTP/2 - RFC7540
HTTP/3 - RFC9114

This PR updates examples of network protocol versions in HTTP spec to use this set of versions.
Merge requirement checklist

[x] CONTRIBUTING.md guidelines followed.
[x] CHANGELOG.md updated for non-trivial changes.
[x] schema-next.yaml updated with changes to existing conventions.

I wonder if https://github.com/open-telemetry/semantic-conventions/blob/main/model/trace/general.yaml#L49 shouldn't be an enum 🤔

great point! the problem is that it's a generic one and there could be protocols with version 2.0 and HTTP with version 2. I think what could help is if we could redefine enum values in semconv that references them - https://github.com/open-telemetry/build-tools/issues/192


Welcome Back! What about Edge and Spotify patches?

hi , welcome back @Blaukovitch
so great  news you are back!
would you transfer also into the MDL forums?
also what patching x86 Edge https://learn.microsoft.com/en-us/deployedge/microsoft-edge-relnote-stable-channel
and spotify x86 https://www.spotify.com/us/download/other/
looking forward for news from you!
take care :)

@darkalexis1990, hi!
I glad to see you in this repo ^)
"also what patching x86 Edge https://learn.microsoft.com/en-us/deployedge/microsoft-edge-relnote-stable-channel
and spotify x86 https://www.spotify.com/us/download/other/"
Sorry! At this time at lot of work.
I think for now I'll just keep an eye on the current repository for closure, as Google and Microsoft are now actively monitoring it after the release of the paid version of the Google Chrome browser.

@Blaukovitch  :(

@Blaukovitch  please come to mdl forum . i need edge and spotify :( ..... looking forward to have good news from you...

@Blaukovitch its too unfair chrome only patched and not spotify and edge :(

Hey, @darkalexis1990,
Just wanted to drop a quick note about your recent comment. I get where you're coming from with the frustration about the lack of patching for Spotify and Edge, but let's cut Blaukovitch some slack.
He already mentioned that he's got a lot on his plate, and there's a real risk of his repo getting blocked again. Instead of guilt-tripping him, let's be patient and show some appreciation for what he's already done. Remember, he doesn't owe us anything.
Cheers,
i486

spotify :(

https://github.com/Blaukovitch/GOOGLE_CHROME_Windows_7/releases/tag/spotify_new
Please, test with Open TAB (login).

The latest Spotify x64 could install and run with VxKex 1.1.1.
Check Enable, Report (as Win 10), Use stronger report.
https://download.scdn.co/SpotifyFullSetupX64.exe - full download.
https://download.scdn.co/SpotifyFullSetup.exe - full x86 download. Installed but still can not run with VxKex.

Hey, @darkalexis1990,
Just wanted to drop a quick note about your recent comment. I get where you're coming from with the frustration about the lack of patching for Spotify and Edge, but let's cut Blaukovitch some slack.
He already mentioned that he's got a lot on his plate, and there's a real risk of his repo getting blocked again. Instead of guilt-tripping him, let's be patient and show some appreciation for what he's already done. Remember, he doesn't owe us anything.
Cheers, i486

im not guilt-tripping NOONE. im THANKING @Blaukovitch every day for his work. I JUST TOLD HIM  TO GO ON MDL FORUMS so no one can watching him every time and make sure that his work wont be deleted. so @i486 youre completely  wrong.bye

wow, you managed to get back :smile: not sure what you had to do to get ur repo back but, its amazing its back
Thank you for you good work

I’ll be back ^)
Thanks for you support!

Chrome Enterprise Premium

https://cloud.google.com/blog/products/identity-security/introducing-chrome-enterprise-premium
I need the Trial version of THIS paid browser.

The latest Spotify x86/x64 could install and run with VxKex 1.1.1. Few api-ms-X.dll are needed. Check Enable, Report (as Win 10), Use stronger report. Spotify is strict about modding, emulating, bithacking. They could drop down this repo again. Use web player better.
https://download.scdn.co/SpotifyFullSetupX64.exe - full download. https://download.scdn.co/SpotifyFullSetup.exe - full x86 download.
Enable VxKex for Spotify.exe and try on Win 7 32bit (run with X.bat, login goes to default browser): https://github.com/adeii/supermium-portable/releases/download/C125/SpotiXy-portable-<IP_ADDRESS>1-x86-VxKex.7z

hi can you answer me on the above-> does the vxkex 1.1.1 conflict with the bypass tool? cause the nt 6.1 is still updated we use update or win7 machines.
thanks.

cause the nt 6.1 is still updated

It is tested with kernel 6.1.7601.24545. It is Win 7 SP1 + Bypass ESU v12 + UpdatePack7 from 23.12.12 (newer can not boot in my PC). No conflicts.

@adeii    any hints regarding

Bypass ESU v12 + UpdatePack7 from 23.12.12

thanks

@Blaukovitch after discusiion on the MDL forum someone had the idea to use the pached api dll's from the edge 125 windows 7 repo that is already patched and IT WORKED. that guy also tested 126 and also worked.the thing is that with the Edge Stable 127.0.2651.74 the patched does not work anymore, cause the API dllls needs again patching. can you please patch/update your api dlls so we can test with 127? thanks youre the best!!! looking for news from you.
https://github.com/Blaukovitch/EDGE.Patcher/issues/1

any hints regarding

BypassESU - Somewhere in this thread https://forums.mydigitallife.net/threads/bypass-windows-7-extended-security-updates-eligibility.80606/
After testing, the current Win7 can install BypassESU v12 to continue to install subsequent ESU patches, but you have to go to the Microsoft Update Catalog website to download the patches yourself.
Updates could be found here: https://hackandpwn.com/windows-7-esu-patching/
or use the newest UpdatePack7R2; https://blog.simplix.info/updatepack7r2/
Also useful:
https://github.com/abbodi1406/dotNetFx4xW7A
https://github.com/abbodi1406/vcredist

Thanks a lot!
that was very helpful for sure

The latest Spotify x86/x64 could install and run with VxKex 1.1.1. Few api-ms-X.dll are needed. Check Enable, Report (as Win 10), Use stronger report. Spotify is strict about modding, emulating, bithacking. They could drop down this repo again. Use web player better.
https://download.scdn.co/SpotifyFullSetupX64.exe - full download. https://download.scdn.co/SpotifyFullSetup.exe - full x86 download.
Enable VxKex for Spotify.exe and try on Win 7 32bit (run with X.bat, login goes to default browser): https://github.com/adeii/supermium-portable/releases/download/C125/SpotiXy-portable-<IP_ADDRESS>1-x86-VxKex.7z

@adeii can you tried to run discord with vxkex???

The latest Spotify x86/x64 could install and run with VxKex 1.1.1. Few api-ms-X.dll are needed. Check Enable, Report (as Win 10), Use stronger report. Spotify is strict about modding, emulating, bithacking. They could drop down this repo again. Use web player better.
https://download.scdn.co/SpotifyFullSetupX64.exe - full download. https://download.scdn.co/SpotifyFullSetup.exe - full x86 download.
Enable VxKex for Spotify.exe and try on Win 7 32bit (run with X.bat, login goes to default browser): https://github.com/adeii/supermium-portable/releases/download/C125/SpotiXy-portable-<IP_ADDRESS>1-x86-VxKex.7z

Spotify Neither Discord Works Anymore with VxKex.


added direct downloading links

as per the user report #7030 , so i added the following direct downloading links
windows 10 adk v2004
https://download.microsoft.com/download/8/6/c/86c218f3-4349-4aa5-beba-d05e48bbc286/adk/adksetup.exe
windows 10   pe addson  v2004
https://download.microsoft.com/download/3/c/2/3c2b23b2-96a0-452c-b9fd-6df72266e335/adkwinpeaddons/adkwinpesetup.exe
setupdiag
https://download.microsoft.com/download/d/8/1/d8149356-6590-4bec-b1bd-a2adcf84ace9/SetupDiag.exe

I would prefer not to have direct download links on this page as these links can change, and it's a blind link. It's better to link to the summary page that is updated if the links change.


Allow multiple swipe actions per direction

Checklist

[X] I have used the search function to see if someone else has already submitted the same feature request.
[X] I will describe the problem with as much detail as possible.
[X] This issue only contains a request for one single feature, not multiple (related) features.

App version
6.400
Problem you are trying to solve
Make more than two actions available via swipe in the message list.
Suggested solution
Change the action depending on the swipe distance, e.g. short left swipe "archive", long short swipe "mark as read".
Screenshots / Drawings / Technical details
This was requested here: https://forum.k9mail.app/t/enhancement-to-swipe-actions-compound-actions-and-different-swipe-action-depending-on-swipe-lenghts/5792
Note: Before starting on an implementation we'll have to come up for a UI/UX design for this feature.

change action on swipe distance might be very confusing -  take a look at mail on ios a full swipe triggers an action a partial swipe gives you options to choose from -  that seems more intuitive to me

My 2¢. The mark-as-read action isn't as convenient as it may seem. I do a lot of marking-as-read via K9 and I prefer to select multiple messages starting with one long touch and then short "clicks" and use the envelope icon than swiping. I'd rather have the flagging (a.k.a. starring) operation swipeable as there is ambiguity at the right edge of the screen between the stars and the scroll bar.
Multiple actions? I don't know. Configurable? Sounds interesting.

@steelman: Swipe actions are already configurable. See https://docs.k9mail.app/en/current/settings/general/#swipe-actions

@steelman indeed selecting multiple messages to mark-as-read could be more convenient. However, I noticed that it only works for a very high number of messages. For a couple of messages swipes would be simpler. What's more, usually when i mark message as read I do want to archive it and with selection method, after marking as read the selection is gone and I have to re-select all the messages again, which is quite daunting.

after marking as read the selection is gone

It shouldn't be. It isn't in 6.400. I select messages, mark them as read and move to spam without any issues. There was a bug like the one you described, but it has long been fixed.

It shouldn't be. It isn't in 6.400. I select messages, mark them as read and move to spam without any issues. There was a bug like the one you described, but it has long been fixed.

@steelman actually you are right. I simply assumed it was intended behaviour from the start, so I never thought to re-check it after the upgrade :-)


yabai scripting addition causes crash/logout on Catalina Beta 6

I am currently running macOS 10.15 Beta (19A536g) and have installed yabai from the head branch via brew. Accessibility API and codesign prerequisites have been met.
I currently experience crashes upon closing my laptop's lid when scripting addition is enabled. Crash report traces it to WindowServer: https://pastebin.com/H05xLFs4

Please keep everything Catalina in #22.

Regression by Apple, nothing I can do about this, but remove the feature if they don't fix it.


avoid collect/copy of payload after encode

Closes: EspressoSystems/jellyfish#417 and #2115

This PR:
Addresses the issue of collect/copy of the encoded payload like here:
https://github.com/EspressoSystems/HotShot/blob/15c776d32001ce88edf2a87f3c520301da22a582/crates/hotshot/src/lib.rs#L217-L226
This is done by changing the output type of BlockPayload::encode to Result<impl AsRef<[u8]> + Send, Self::Error> and thereby avoiding collect/copy when using it in fx vid_commitment.

NB: This has implications for components downstream (espresso-sequencer, hotshot-query-service, hotshot-builder-core) using this trait interface.
This PR does not:

Key places to review:

Really appreciate the comments.
The simplicity of the Arc<[u8]>-based approach is appealing. I've updated the PR so that it uses this.
Note, this is merely to have a concrete suggestion to analyze trade-offs. In other words, I'm happy to revert back or go in another direction if this seems more appealing to you.
Also, did not implement the updated (Arc-based) trait interface on the espresso-sequencer side, yet. So still unknown if this interface design will work seamlessly downstream.

However, I'm a little worried about the performance hit from the guarantee of atomic operations in Arc versus normal memory access.

I don't know the answer to that question. But presumably cloning a vec requires some form of thread safety at some level just to allocate the memory no?
We could try with Rc instead of Arc and see whether the compiler yells. 😛

Modified according to the comments above. Specifically:

Changed to idiomatic use of Arc::clone.
Limit the use of Arc for payload values to a minimum.
Changed back to Arc<[u8]> instead of Arc<Vec<u8>> since I did not identify any advantage in using Vec and we can save a memory allocation for vec capacity.


How to train this network on new dataset?

Hi @anewell
Thank you so much for sharing this training code. I am wondering if there is a tutorial for training on a new dataset. For example the cub-200-2011 birds dataset. It has provided key points locations and bounding box annotations. Are these enough for making the network run? Thanks!

Hi,
To have this run on a new dataset you can create a file similar to src/util/dataset/mpii.lua and then run with the additional command "-dataset your-new-dataset". Hopefully it shouldn't be too much trouble to adapt the necessary functions.
For example, most of the relevant information to generate a sample is passed through "getPartInfo" which returns the keypoint locations of the target person, along with a coordinate for the center of the person and a scale value. You can adapt the bounding box info from your dataset to provide an appropriate center and scale.
Let me know if you have any questions about getting it set up!

Alejandro

Hi, Alejandro.
Thank you for your timely reply. I now get the model working on my own dataset. But another thing I was confused about is I don't see the training converge. I tried several learning rate, 2.5e-4, 1e-3, 1e-2, etc, all of them will give nearly 0.0% accuracy when testing after several epochs, and the key point output remains constant no matter what the input is. I know there must be something wrong, but I have no clue where. Can you shed some light onto it? I am using the pre-trained model on human and fine tune it on bird dataset.  Thanks!

Pei

Sorry, that's caused by my own implementation bug...


Problem: gorc hardcodes local private keys (fixes #109)

Solution:

upgraded relevant dependencies and adjusted API
CosmosSigner trait made async
AWS KMS signer added based on the ethers one,
but using the official SDK instead of Rusoto
gorc adjusted to allow non-local signing (private key printouts removed, ...)

NOTE: this opened a can of worms, because gorc UX was centred
around having local keys. This would need a major refactoring
before upstreaming.

first parse looks okay
we might want to deploy it to testnet after the upgrade to test it


Fix Path Error

Fix the path error of  Run a distributed TensorFlow training job with gang scheduler demo.

/lgtm

Thanks very much!


gopass: 1.15.12 -> 1.15.13

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 302157 run on x86_64-darwin 1

5 packages built:

git-credential-gopass
gopass
gopass-hibp
gopass-jsonapi
gopass-summon-provider

Nitpick, commit message git-credential-gopass: 1.15.13 -> 1.15.13.


Redirects from backend service to internal IP

The headers X-Forwarded-* headers set in PreDecorationFilter are ignored by default spring-boot services built on Tomcat. As a consequence, redirects to absolute URLs (due to context.setUseRelativeRedirects(false) in TomcatEmbeddedServletContainerFactory) will go to the value in Host rather than X-Forwarded-Host.
For instance, this happens with server.contextPath: /foo and a request to curl -H 'X-Forwarded-Host: api.example.com' http://<IP_ADDRESS>/foo with a redirect to http://<IP_ADDRESS>/foo/ (due to context.setMapperContextRootRedirectEnabled(true) in TomcatEmbeddedServletContainerFactory)
I think there are 2 workaround.

proxy: use a  ZuulFilter to set Host additionally to X-Forwarded-Host

client: add a Valve to override the server name:

	@Bean
	public EmbeddedServletContainerCustomizer customizer() {
		return (final ConfigurableEmbeddedServletContainer container) -> {

			final TomcatEmbeddedServletContainerFactory tomcat = (TomcatEmbeddedServletContainerFactory) container;

			tomcat.addContextCustomizers((final Context context) -> {
				context.setMapperContextRootRedirectEnabled(false);
			});

			tomcat.addContextValves(new ValveBase() {

				@Override
				public void invoke(final Request request, final Response response) throws IOException, ServletException {

					final MessageBytes serverNameMB = request.getCoyoteRequest().serverName();
					String originalServerName = null;
					final String forwardedHost = request.getHeader("X-Forwarded-Host");
					if (forwardedHost != null) {
						originalServerName = serverNameMB.getString();
						serverNameMB.setString(forwardedHost);
					}

					int originalPort = -1;
					final String forwardedPort = request.getHeader("X-Forwarded-Port");
					if (forwardedPort != null) {
						try {
							originalPort = request.getServerPort();
							request.setServerPort(Integer.valueOf(forwardedPort));
						} catch (final NumberFormatException e) {
							log.debug("ignoring forwarded port {}", forwardedPort);
						}
					}

					try {
						getNext().invoke(request, response);
					} finally {
						if (forwardedHost != null) {
							serverNameMB.setString(originalServerName);
						}
						if (forwardedPort != null) {
							request.setServerPort(originalPort);
						}
					}
				}
			});
		};
	}

Note: requires disabling mapperContextRootRedirectEnabled for Valve processing to kick in in order to work with the example above

You shouldn't have to do anything if the backend is aware of the proxy headers (http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#howto-use-tomcat-behind-a-proxy-server).

@dsyer please correct me if I'm wrong but from documentation and code it seems that server.use-forward-headers only enables Tomcat's RemoteIpValve which "replaces the apparent client remote IP address and hostname for the request with the IP address list presented by a proxy or a load balancer via a request headers (e.g. X-Forwarded-For)".
So by default, it only checks X-Forwarded-For and X-Forwarded-By and is configured  to check X-Forwarded-Proto and X-Forwarded-Port as well.
It does however not check X-Forwarded-Host. I actually can't find any mention of this headers in either spring-boot or Tomcat code.

Ok, just found #2603 which came to the conclusion that all spring libraries should build their own support for X-Forwarded-Host. It also mentions a pending Tomcat issue that nobody seems interested in. So basically spring libraries are relying on a feature that isn't implemented in Tomcat.
I discovered this issue when Tomcat was redirecting to a context (/foo to /foo/) using an absolute redirect (which is configured as default by spring-boot) without any involvement of other libraries than Tomcat. So this simply can't work as designed.
As long as Tomcat does not support X-Forwarded-Host out of the box it's possibly best to either set Host using a ZuulFitler or configure the Valve posted above (minus the X-Forwarded-Port part which is handled by Tomcat):
    @Bean
    public EmbeddedServletContainerCustomizer customizer() {
        return (final ConfigurableEmbeddedServletContainer container) -> {

            final TomcatEmbeddedServletContainerFactory tomcat = (TomcatEmbeddedServletContainerFactory) container;

            tomcat.addContextCustomizers((final Context context) -> {
                context.setMapperContextRootRedirectEnabled(false);
            });

            tomcat.addContextValves(new ValveBase() {

                @Override
                public void invoke(final Request request, final Response response) throws IOException, ServletException {

                    final MessageBytes serverNameMB = request.getCoyoteRequest().serverName();
                    String originalServerName = null;
                    final String forwardedHost = request.getHeader("X-Forwarded-Host");
                    if (forwardedHost != null) {
                        originalServerName = serverNameMB.getString();
                        serverNameMB.setString(forwardedHost);
                    }

                    try {
                        getNext().invoke(request, response);
                    } finally {
                        if (forwardedHost != null) {
                            serverNameMB.setString(originalServerName);
                        }
                    }
                }
            });
        };
    }

I think the "standard" proxy behaviour is to set the Host header, so maybe that's what we should do in Zuul. I don't think there's anything else that we could usefully do here. Is that correct?

Basically yes, because support for X-Forwarded-Host is unreliable. That's true for spring-boot apps and even more so for everything else. So the header name should probably be configurable.

One more thing: Jetty accepts the X-Forwarded-Host header when configured with server.use-forward-headers. It does however ignore the X-Forwarded-Port header as it expects the port as part of the host header (i.e. the same format as the regular Host header). As a consequence, it's not possible to use non-default proxy ports with Jetty.
So there are obviously subtle differences in the implementations of proxy header handling in Tomcat and Jetty, adding to the mess here. Therefore I'd suggest that headers should even be configurable on a per-route basis.

We can't just set the "Host" header unconditionally, and I don't think it should be the default either, because anyone running in a platform (Heroku, CloudFoundry, many others including in-house built environments) will need to have the "Host" header set to the target in order to route the request correctly. I think what we have works in the sense that it adds new information and doesn't take anything away, so the backend has to be able to figure it out. The fact that the existing server components don't do that and you have to rely on filters and custom configuration is regrettable, but from a Spring Cloud point of view it still just comes down to documentation. If you need to set another header it's easy in a ZuulFilter.

I agree with you that Host shouldn't be set by default. I'd still recommend the following minor changes to simplify the issues:

add zuul.add-host-header property to set Host header
add port to X-Forwarded-Host as defined by RFC 7239
extract PreDecorationFilter.filterOrder() into a public constant so custom filters don't have to rely on a magic number to run before or after

I'm not sure we should set the Host header at all, so we'll pass on 1. Good idea on 2. and 3., thanks.

I was already working on the PR before I've read your comment, so I've already implemented Host support. Let me know in the PR comments section what else to change and I'll fix it all at once


Nftables firewall blocks requests to dnsmasq DHCP

When networking.nftables.enable = true; libvirt and lxd guests fail to run DHCP request with dnsmasq on host.
Work-around is to set networking.firewall.trustedInterfaces = [ "lxdbr0" "virbr0" ];
Similar to #10101 but setting networking.firewall.checkReversePath = false; doesn't fix the problem.
Setting trustedInterfaces isn't ideal, because it removes a layer of separation (the firewall) between the guests and the host.
Is there a better way to fix this?
EDIT:
with networking.nftables = false; I run into this issue only with LXD, not libvirt. But with true it happens for both.
Steps To Reproduce
Set networking.nftables.enable = true; and networking.firewall.enable = true; ,
nixos-rebuild, restart libvirtd.service, and start a guest.
Expected behavior
guests can send DHCP requests to host dnsmasq via virtual network bridge.
Notify maintainers
@mkg20001

Metadata
nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.5.8, NixOS, 23.11 (Tapir), 23.11.20231023.b3bc9d1`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.17.1`
 - channels(root): `"nixos"`
 - nixpkgs: `/run/current-system/nixpkgs`

I'm not sure how it worked with iptables before
What's possible is to add extra trusted interfaces at runtime via a set, but im not sure if thats the best solution
If its possible and the software affected already does nftables rules management it could accept the packets before the nixos nftables rules reject it
(which would also mean changing the priority of the nixos-fw table hooks to be after the default priority for each hook)

You may use the networking.firewall.extraInputRules option like this:
networking.firewall.extraInputRules = ''
  iifname { "lxdbr0", "virbr0" } meta l4proto { tcp, udp } th dport 53 accept comment "DNS"
  iifname { "lxdbr0", "virbr0" } meta nfproto ipv4 udp dport 67 accept comment "DHCP server"
'';

I'm not enabling/disabling nftables explicitly, but I started running into this issue after updating my system from a nixpkgs-unstable rev from around 8/30 to one from 9/15.  The workaround of setting networking.firewall.trustedInterfaces = [ "lxdbr0" "virbr0" ]; worked for me.
It seems that I am using nf_tables, since iptables --version yields iptables v1.8.9 (nf_tables).
But perplexingly, nixosConfigurations.myhost.config.networking.nftables.enable  evaluates to false in nix repl.  Not sure what that means.

@FlyingWombat thanks for the informative note + explanation!  Agreed that this should probably not be closed yet.   I'm wondering why the behavior seemed to have changed between nixpkgs revisions.  Previously I did not have to set trusted interfaces or open any ports.
I had only run into this issue with LXD, but just now tried libvirt after setting network.nftables = true; and have the same issue there too.

@khaled Instead of networking.firewall.trustedInterfaces = [ "lxdbr0" "virbr0" ]; I've recently found that it also works with allowing only the dnsmasq ports 53 and 67, similar to how @duament suggested.
  networking.firewall.interfaces.lxdbr0.allowedTCPPorts = [ 53 ];
  networking.firewall.interfaces.virbr0.allowedTCPPorts = [ 53 ];
  networking.firewall.interfaces.lxdbr0.allowedUDPPorts = [ 53 67 ];
  networking.firewall.interfaces.virbr0.allowedUDPPorts = [ 53 67 ];

This solved #255110 for me.

nftables allows wildcards for iifname and oifname, so you can do something like this in input chain: iifname "virbr*" udp dport { 53, 67 } accept.
Judging by the implementation at https://github.com/NixOS/nixpkgs/blob/3030f185ba6a4bf4f18b87f345f104e6a6961f34/nixos/modules/services/networking/firewall-nftables.nix#L125, I think we can just pass the expression into Nix configuration and it hopefully can work (I haven't tested yet):
  networking.firewall.interfaces."virbr*".allowedUDPPorts = [ 53 67 ];

Ref: https://manpages.debian.org/bullseye/nftables/nft.8.en.html#META_EXPRESSIONS

@folliehiyuki That's slightly better but still requires that every new interface be named virbr*. Instead of statically configuring the firewall, libvirt should use appropriate hooks to configure the firewall dynamically as new networks are added. https://libvirt.org/hooks.html#etc-libvirt-hooks-network

Looks like the same change also broke NetworkManager Wi-Fi hotspot. Without DHCP port open on firewall, my Android phone will get stuck on “Obtaining IP address” and without DNS, it will report not being connected to the Internet.
Not sure if it is good idea to enable the ports on the wlp2s0 interface used for hotspot, as the same interface is other times used for connecting to public Wi-Fi networks.

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/wifi-sharing-gnome-and-kde-plasma/44195/2

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/simple-standalone-network-manager-wifi-hotspot/49327/2


A few fixes, cleaned up in nice commits

Based on my own needs and a few issues.

@philippeluickx Thank you for your great work! Did you get it work with https://github.com/sahat/satellizer?
I tried it with the following satellizer settings (DRF app running on localhost), but it didn't work:
$authProvider.facebook({
        url: 'http://<IP_ADDRESS>:8000/rest-auth/facebook/',
        clientId: 'MY-FB-CLIENT-ID'
    });

Hey @ClairePhila !
I got everything running smoothly on my side. However I have a few more settings, something here might point you in the right direction?
$authProvider.tokenName = 'key';
$authProvider.authToken = 'Token';
$authProvider.baseUrl = apiUrl;
$authProvider.loginUrl = 'auth/login/';
$authProvider.signupUrl = 'auth/registration/';
$authProvider.loginRedirect = '';

$authProvider.facebook({
  clientId: facebookClientId,
  url: 'auth/facebook/',
});

Hi @philippeluickx !
Thank you very much for your help, but this doesn't work for me either. In your case, is the redirect ('auth/facebook/') calling the client (satellizer) or the server (django-rest-auth)? I do still not get the coincidence of satellizer and django-rest-auth, because both a django user has to be created and this user has to be set in satellizer.
Do you no a sample project using both technologies?

The redirect needs to be set on both the frontend (satellizer) and backend, the same value. Check out the docs in the code at https://github.com/Tivix/django-rest-auth/blob/master/rest_auth/registration/views.py#L98
Make sure your facebook settings are correct too.

Thank you again, @philippeluickx !
Now, it almost seems to work, despite of the fact that the Facebook redirect is a GET to '/auth/facebook'. But since the SocialLoginView is a LoginView, it only accepts POST requests (https://github.com/Tivix/django-rest-auth/blob/master/rest_auth/views.py#L52). I'm so sorry, but I think I still didn't get it right.

The redirect value is just a common agreed value. If I remember correctly, it does not actually do a redirect to that page.
My front-end is pretty simple, this should work:
    /**
    * @name authenticate
    * @desc authenticate a user with a social provider
    * @memberOf application.authentication.controllers.LoginController
    */
    function authenticate(provider) {
      $auth.authenticate(provider)
      .then(function(response) {
          $state.transitionTo('home');
      })
      .catch(function(response) {
      });
    };

I assume there is a 2-step process:

GET the code from FB
POST the code to your own backend.


found version 4, expected 3

V 3.x
@angular/core": "^4.4.3",
ERROR in Error: Metadata version mismatch for module  /node_modules/ngx-monaco-editor/index.d.ts, found version 4, expected 3, resolving symbol AppModule in app/app.module.ts

Tracking in #27


aws - ec2 userdata filter - initialize user data key during filter class init

fixes #2968

open question as to why the unit test schema validation isn't catching this but the cli does.

boolean group filters werent' propagating validate methods, fixed.

todo - add an e2e test to verify removal on notification (prepare_* in notification)