Add non-functional swagger support

Yuki,
I started to create a grpc-gateway swagger client which generates a .swagger.json file for every proto that you load in. This is what I have right now. It is broken into two commits. The first clones protoc-gen-grpc-gateway into protoc-gen-swagger and the 2nd modifies it to emit a really terrible swagger definition.
Right now it has a number of shortcomings.

It doesn't take parameters in requests
It generates both a post and a get (and no other verbs)
It's super hacky
I have no idea what I'm doing
Doesn't load any comment information into the swagger spec which would make it MUCH easier to understand the output

I was wondering if you could provide some general feedback. This is the first thing of any size I've ever done in go so sorry if it isn't idiomatic. I'm seeking comments on places that you think could be improved but please do the delta from the 2nd commit on or it will be very painful to review. "This looks like it's on the right track" or "try again with this strategy" is ultimately what I would like to get from you.
Thanks so much for creating this project! It is making my life so much less painful.

Amazing!
I'm afraid, but it takes a bit long to take a look at this PR since it is large.
Maybe I have some time to do that this weekend.

@achew22
Thank you.  I really like the overall direction, e.g.

Map proto message to predefined message schema
Construct Swagger definition in process and marshal it in JSON afterward.

There are some comments.

You don't have to copy entire the protoc plugin. Code generator part of protoc-gen-grpc-gateway is pluggable by intention.  So you can reuse the existing message/option parser. Feel free to propose some extension of the parser if is functionality is not sufficient for your purpose.
I'm not sure, but sometimes it might be better to define parameters of paths with parameterObject rather than referenceObject because it is allowed to place some fields in request paths.

I have been on vacation for the past week. I intend to start taking a look at this in my spare time over this week.

:+1:

@yugui, I have done a bit of cleanup on this PR. Just for reference, once you're happy with it I would like to squash it into a single commit, so don't just hit the merge button :smile:.
I think your suggestion about using a parameter object is a great one. I looked at the docs and agreed with you when I was writing but I couldn't find a compelling way to do union types in Golang. Do you know what the best way to do a union type is? That seems to me like the only way to do it unfortunately.
I have updated the branch with changes to make it reuse the existing protoc-gen-grpc-gateway instead of my clone. Turns out almost all the stuff I wanted was there.

https://travis-ci.org/gengo/grpc-gateway/builds/97933023
The test is broken because master branch was broken.
Maybe you just need to rebase onto the current master to fix the test.

The thing I'm stuck on right now is that you can import arbitrary protos into your api. They don't necessarily have to be included in the file that you're currently compiling. My plan thus far had been to use "#/definitions/{{message.FQMN()}}" for all the definitions. This is great, except when it comes to iterating over all the messages, I get stuck because they may not be in the file.
Right now I'm expecting that I will have to create a registry of messages, like you did, then recurse through all the fields creating a set of messages that have been seen. I was planning on using a hashmap from FQMN to the actual message object then in the stage where I generate the definitions I can just emit each entry as a definition. Looking at the go code it solves this by importing 1 layer deep and then using the protoc-go library's output to solve the problem of transitive dependence, but you might have a cool trick up your sleeve so I thought I would ask.

Now I remember why this was hard! Field [https://godoc.org/github.com/gengo/grpc-gateway/protoc-gen-grpc-gateway/descriptor#Field] has a message attached, but it isn't the message I would expect. It is the message of it's parent. This is, no doubt, useful but not in the context that I need it. Lemme go dig in to see if I can figure out how to add a FieldMessage field to the Field struct. Meta-programming is hard!

After a bit of playing, I just plumbed the registry through to the generator and now I'm able to resolve these. Thanks for writing that!

Sorry, I accidentally closed this by pushing your master to github. It's all fixed now.
I think this is getting a lot closer. I have created a non-streaming example file which is the a bit of everything with the word streaming removed https://raw.githubusercontent.com/achew22/grpc-gateway/master/examples/examplepb/streamless_everything.swagger.json
If you want to see how their API viewer sees it, check out http://petstore.swagger.io/#/ and type that URL in at the top. If you want to see what linter checks it is failing you can go to https://editor.swagger.io and do the same thing.
Things that still need to be done:

[ ] EmptyProto is still an interesting edge case. Right now it is not being included in output and I haven't figured out why.
[ ] Even if empty proto is fixed in the swagger codegen to emit an empty dictionary, their editor will still barf on it https://github.com/swagger-api/swagger-spec/issues/452
[ ] Repeated fields need to be marked as arrays
[ ] Support for enums
[ ] Parameters should not all be typed as "String". They have type information and we should represent that.
[ ] More tests

I see. I'm looking forward to seeing it.

Alright, I think that the swagger output from this generator is valid (in spite of the bug in their validator) and I am able to generate swagger json definitions for all the test cases that you provided/I created. I will follow up with some unit tests but I would appreciate if you could take a look at it in its current form. I didn't intend for this to take so long, sorry about that but it's all there for the most part now.

@achew22
I want to hear your opinion about https://github.com/gengo/grpc-gateway/pull/68/files#r50193073.
Besides the comment and other small coding-level issues, I like the overall direction.

PTAL

The design looks good to me.
I'll add some coding-level comments.

Thank you so much for the review. This is my first bout with Golang and I'm happy to have someone reviewing it. I think I have addressed all your concerns and would appreciate if you could take another look at the code.

LGTM.
Thank you for your excellent work!


Bind BLOB fix from zombiezen

See https://github.com/crawshaw/sqlite/pull/95. Since the getlantern fork is being actively used, it will help to include all the relevant fixes we need there. Working around the bug fixed by the bind BLOB fix has performance ramifications, so it's better to just fix it.

Makes sense! LGTM!

Thanks @joesis


RangeError (length): Invalid value: Valid value range is empty: 0. Error thrown Instance of 'ErrorDescription'. _GrowableList.first

I am getting errors in Crash Analytics
Non-fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError
RangeError (length): Invalid value: Valid value range is empty: 0. Error thrown Instance of 'ErrorDescription'.
_GrowableList.first (_GrowableList.java)
RenderParagraph.assembleSemanticsNode (RenderParagraph.java:436)
_SwitchableSemanticsFragment.compileChildren (_SwitchableSemanticsFragment.java:3717)
_SwitchableSemanticsFragment.compileChildren (_SwitchableSemanticsFragment.java:3709)
RenderObject._updateSemantics (RenderObject.java:2631)
PipelineOwner.flushSemantics (PipelineOwner.java:1081)
RendererBinding.drawFrame (RendererBinding.java:441)
WidgetsBinding.drawFrame (WidgetsBinding.java:914)
RendererBinding._handlePersistentFrameCallback (RendererBinding.java:302)
SchedulerBinding._invokeFrameCallback (SchedulerBinding.java:1117)
SchedulerBinding.handleDrawFrame (SchedulerBinding.java:1055)
SchedulerBinding._handleDrawFrame (SchedulerBinding.java:971)

On HUAWEI Y9 Prime 2019, Pixel 2

Logs

[✓] Flutter (Channel stable, 1.22.3, on macOS 11.0.1 20B29, locale en-BY)
    • Flutter version 1.22.3 at /Users/nikitadold/development/flutter
    • Framework revision 8874f21e79 (3 weeks ago), 2020-10-29 14:14:35 -0700
    • Engine revision a1440ca392
    • Dart version 2.10.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/nikitadold/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Users/nikitadold/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.6858069/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

[!] Android Studio (version 4.1)
    • Android Studio at /Users/nikitadold/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.6858069/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] IntelliJ IDEA Ultimate Edition (version 2020.2.3)
    • IntelliJ at /Users/nikitadold/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin installed
    • Dart plugin version 202.8070

Hi @nikitadol
Can you please provide your flutter doctor -v, your flutter run --verbose?
Is there any additional log you can provide?
Do you have any minimal complete reproducible code sample that may reproduce this issue?
Thank you

Hi @pedromassangocode
I would really like to provide at least something, but I do not have such a phone
And I don't quite understand the error conditions

Hi @nikitadol
Please provide your flutter doctor -v?

Hi @pedromassangocode
[✓] Flutter (Channel stable, 1.22.3, on macOS 11.0.1 20B29, locale en-BY)
    • Flutter version 1.22.3 at /Users/nikitadold/development/flutter
    • Framework revision 8874f21e79 (3 weeks ago), 2020-10-29 14:14:35 -0700
    • Engine revision a1440ca392
    • Dart version 2.10.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/nikitadold/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Users/nikitadold/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.6953283/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

[!] Android Studio (version 4.1)
    • Android Studio at /Users/nikitadold/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.6953283/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Ultimate Edition (version 2020.2.3)
    • IntelliJ at /Users/nikitadold/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin installed
    • Dart plugin version 202.8070

Those logs are similar to https://github.com/FirebaseExtended/flutterfire/issues/3907#issuecomment-717187957.
Hi @nikitadol
I'm not sure if this issue as something to do with Flutter since this may be cause by your code.
Will leave this opened for further investigation.

Those logs are similar to FirebaseExtended/flutterfire#3907 (comment).

Hi @pedromassangocode
In your link, you can see that the crash occurs in code that is not inside Flutter
I have a slightly different case

/cc @chunhtai I think you fixed this crash recently?
@nikitadol Can you check whether this is still happening on master?

yes this should be fixed

@goderbauer
I will be able to check only when it is in stable
When will this happen?

Hi @nikitadol
You can see the Flutter release process at https://github.com/flutter/flutter/wiki/Release-process.

@pedromassangocode
Thanks
Anyway, I look forward to updating Flutter in stable
Otherwise I can not check

Since there's nothing for us to do, I am going to close this. Feel free to re-open if the issue persists once the change hit stable.

Am on stable flutter, and I have the same issue

`flutter doctor -v`

```
[✓] Flutter (Channel stable, 1.22.4, on macOS 11.0.1 20B29 darwin-x64, locale en-IN)
    • Flutter version 1.22.4 at /Users/dheeraj2dj/flutter
    • Framework revision 1aafb3a8b9 (3 weeks ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/dheeraj2dj/Library/Android/sdk
• Platform android-30, build-tools 29.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.2, Build version 12B45b
• CocoaPods version 1.10.0
[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 49.0.2
• Dart plugin version 193.7547
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[!] IntelliJ IDEA Community Edition (version 2020.2.1)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.dev/intellij-setup/#installing-the-plugins
[✓] VS Code (version 1.51.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.16.0
[!] Connected device
! No devices available
! Doctor found issues in 2 categories.
</description>
</summary>

@dheeraj2dj  do you have a repro to reproduce the crash?

Hi @nikitadol
You can see the Flutter release process at https://github.com/flutter/flutter/wiki/Release-process.

Unortunately this document does not exist any more. Can we learn about the process anywhere else?

I'm using flutter 2.0.4 and I got similar error (logs below)
Should I open a new issue for that?
Non-fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: RangeError (index): Invalid value: Valid value range is empty: 1. Error thrown Instance of 'ErrorDescription'.
       at _GrowableList.[](_GrowableList.java)
       at _PrePairingDialogState.<fn>(_PrePairingDialogState.java:62)
       at _InkResponseState._handleTap(_InkResponseState.java:991)
       at GestureRecognizer.invokeCallback(GestureRecognizer.java:182)
       at TapGestureRecognizer.handleTapUp(TapGestureRecognizer.java:607)
       at BaseTapGestureRecognizer._checkUp(BaseTapGestureRecognizer.java:296)
       at BaseTapGestureRecognizer.handlePrimaryPointer(BaseTapGestureRecognizer.java:230)
       at PrimaryPointerGestureRecognizer.handleEvent(PrimaryPointerGestureRecognizer.java:475)
       at PointerRouter._dispatch(PointerRouter.java:93)
       at PointerRouter.<fn>(PointerRouter.java:138)
       at _LinkedHashMapMixin.forEach(_LinkedHashMapMixin.java)
       at PointerRouter._dispatchEventToRoutes(PointerRouter.java:136)
       at PointerRouter.route(PointerRouter.java:122)
       at GestureBinding.handleEvent(GestureBinding.java:381)
       at GestureBinding.dispatchEvent(GestureBinding.java:361)
       at RendererBinding.dispatchEvent(RendererBinding.java:278)
       at GestureBinding._handlePointerEventImmediately(GestureBinding.java:316)
       at GestureBinding.handlePointerEvent(GestureBinding.java:280)
       at GestureBinding._flushPointerEventQueue(GestureBinding.java:238)
       at GestureBinding._handlePointerDataPacket(GestureBinding.java:221)


weighting gradient feedback of each instance wrt class distribution in case of class imbalance

Given a imbalanced data I would like to set the contribution of each instance to the loss value and the gradient wrt the portion of data with the same category. For instance, if this is 2 classes problem then
Class A with K instances
ClassB with K/2 instances
which means Class B contributes to gradient feedback with coefficient 1 and Class A with coefficient 1/2.
What would be the be4st way to implement it in mxnet? Or do you have any other trick to cope with class imbalance?

You can do it by adding an extra input to the loss layer that holds the scales.
Would you like to propose a PR?

What would be the use of this idea for a new PR? Is it an additional argument to loss layers or any other method? Caffe solves this by using infogain layer which uses a class-wise relation matrix and you can define diagonals of the matrix with these frequency scalers.

I'm interested in this as well. It can be done by writing custom loss functions of course.

How did you resolve it finally?

is there any example for this?

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!


Link to Modin Slack in Readme and docs

Make it more obvious that there's a place people can come to with questions

Thanks @jeffreykennethli for #4555. @devin-petersohn  Should we open another issue to add a link to the slack to the readthedocs?

There is a link to the slack on the readthedocs in the Navbar, but I agree that we could make it more visible. Where do you envision adding the link?


Automatic download of the UKPN Grafana data

Pull Request
Description
This PR corresponds to automatic data acquisition from UKPN Grafana dashboard. For the weblink of the dashboard, please click here
Fixes #
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Please also list any relevant details for your test configuration

[ ] Yes

If your changes affect data processing, have you plotted any changes? i.e. have you done a quick sanity check?

[ ] Yes

Checklist:

[x] My code follows OCF's coding style guidelines
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have checked my code and corrected any misspellings

Codecov Report

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

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main      #17   +/-   ##
=======================================
  Coverage        ?   78.05%
=======================================
  Files           ?        3
  Lines           ?      237
  Branches        ?        0
=======================================
  Hits            ?      185
  Misses          ?       52
  Partials        ?        0

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

Just make sure all the tests pass before merging


Add content/pt/docs/concepts/containers/container-lifecycle-hooks.md

Changes:

Create content/pt/docs/concepts/containers/container-lifecycle-hooks.md

Related to #13939

/assign

/lgtm
/approve
Thank you!


Problems with reproduction of registration results FPFH+MAC from the paper

Dear Mr. Zhang,
Thank you for the excellent paper, the very interesting approach and the fact that you have open sourced your implementation!
I am struggling to reproduce the results on KITTI with FPFH features that you have reported in the paper and hope you can help me find the parameters you have used. In the paper, you mention that FPFH+MAC has a recall of 99.46%. You do not further discuss whether you have done finegrain matching, so I will presume that you did not. As of today, I only manage to obtain a recall rate of ~76% so I think I must be doing something wrong.
To begin with, I am running this on Linux and am certain that I have the correct versions of the dependencies (PCL = 1.10.1, igraph = 0.9.9).
As you have already discussed in the following issue , I have adapted the registration code in the following manner:
// in my own calling class
PointCloudPtr src_cloud(new pcl::PointCloud<pcl::PointXYZ>);
PointCloudPtr des_cloud(new pcl::PointCloud<pcl::PointXYZ>);
PointCloudPtr new_src_cloud(new pcl::PointCloud<pcl::PointXYZ>);
PointCloudPtr new_des_cloud(new pcl::PointCloud<pcl::PointXYZ>);

// populate pointcloud ...
float src_resolution = MeshResolution_mr_compute(src_cloud);
float des_resolution = MeshResolution_mr_compute(des_cloud);
float resolution = (src_resolution + des_resolution) / 2;

double downsample = 0.3;
Voxel_grid_downsample(src_cloud, new_src_cloud, downsample);
Voxel_grid_downsample(des_cloud, new_des_cloud, downsample);

std::vector<std::vector<float>> src_feature, des_feature;
FPFH_descriptor(new_src_cloud, downsample * 5, src_feature);
FPFH_descriptor(new_des_cloud, downsample * 5, des_feature);

std::vector<Corre_3DMatch> raw_correspondence, correspondence;
feature_matching(new_src_cloud, new_des_cloud, src_feature, des_feature, raw_correspondence);

// randomly downsample correspondences
vector<int>rand_idx;
boost_rand(5000, 0, (int)raw_correspondence.size() - 1, 5000, rand_idx);
for(int i = 0; i< 5000; i++){
    correspondence.push_back(raw_correspondence[rand_idx[i]]);
}

registration(src_cloud, des_cloud, correspondence, ov_lable, folderPath, resolution, 0.95);
// adapt the code to return the transform and compare with ground truth

I have searched all mentions of KITTI in the code and set the values in the registration() function used by the demo code similarly:
line 1041
string descriptor = "fpfh";
string name = "KITTI";

line 1240
igraph_maximal_cliques(&g, &cliques, 4, 0);

line 1280
inlier_thresh = 0.6;

As a concrete example of log output on failure, I want to show the result of KITTI run 08, registration pair 168 - 177:
5000 correspondences, took 721 ms
graph construction: 2.26546
coefficient computation: 0.212927
0.912101->min(0.912101 1.43598 2.47595)
clique computation: 0.248005
clique selection: 0.0180683
hypothesis generation & evaluation: 0.111791
3890 : 130873
total time 4130.55 (ms)
TE: 10.8942, RE: 0.954748

Thanks a lot for your help, I look forward to hearing from you!
Robert

1、The last parameter in the registration function should be set larger (e.g., 0.999)
2、In experiments on dataset KITTI, we reference https://github.com/ZhiChen902/SC2-PCR  to save the correspondence data generated by FPFH, which is then input to MAC for testing. I suggest you follow the same approach. Here is the code used for saving data.
get_correapondence_KITTI.zip
The main.cpp file provides testing code for the KITTI dataset.

Thank you for your swift answer! Sorry for missing that important information in the paper, I will check again :).


Typing in comment box seems to have fundamental race condition, scrambles the order of letters on slow devices

Description
Typing in comment box seems to have fundamental race condition and seems to scramble the order of letters on slow devices in the comment box. Needless to say, this makes typing kind of a huge pain. I can reproduce this on my Allwinner PinePhone in Firefox with codeberg.org at least, I imagine it might also show with something like an old Raspberry 2 or 3 if you type fast enough.
(I assume it also reproduces on the demo site, I just don't have the login credentials for that one here rn since I'm traveling, that's also why I'm using the phone and ran into this)
Gitea Version
1.17.3+104-g5904fd9
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Accessing it via Linux Wayland (not Android)
How are you running Gitea?
Using Codeberg instance
Database
No response

Can you post a video showing the issue?

I'm not able to reproduce

This problem should have been fixed by " Introduce GitHub markdown editor, keep EasyMDE as fallback #23876 ", now the editor uses native textarea, there shouldn't be any input problem.


Websockets support

It appears that the proxy does not support web-sockets. Any plans to add that support?
Thanks for a great product!

There are now two separate PRs opened to add websocket support - #14  and #64 - but no movement on either. The first hasn't been touched in over a year. Can we have this issue re-opened as a tracker until support is actually added?

:+1: I would love support for websockets.

+1

+1

I love seeing the support for this feature. Anyone want to champion this with a patch to add websocket support?

+1 running into this same problem trying to proxy ipython.

+1, @jehiah ... looks like the following PR (comments as recent as 13 days ago) were also submitted. adding to this thread for visibility...
https://github.com/bitly/oauth2_proxy/pull/145

Is there any chance to have websockets supported anytime soon ?

likewise... big +1 here

As a workaround, you can use nginx with auth_request, right?

looks like someone figured out how to integrate the web sockets fixes into a fork of this.
https://github.com/funkymrrogers/oauth2_proxy

This work for me (nodered behing nginx/oauth2_proxy :
server {
	listen   443;
	server_name     nodered.mycompany.fr;
	ssl on;
	ssl_certificate /etc/letsencrypt/live/nodered.mycompany.fr/fullchain.pem;
	ssl_certificate_key /etc/letsencrypt/live/nodered.mycompany.fr/privkey.pem;
	ssl_session_timeout 5m;
  ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
  ssl_ciphers ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA;
  ssl_session_cache shared:SSL:50m;
  ssl_prefer_server_ciphers on;
	add_header Strict-Transport-Security max-age=2592000;

  location /oauth2/ {
    proxy_pass       http://<IP_ADDRESS>:4180;
    proxy_set_header Host                    $host;
    proxy_set_header X-Real-IP               $remote_addr;
    proxy_set_header X-Scheme                $scheme;
    proxy_set_header X-Auth-Request-Redirect $request_uri;
  }

  location / {
    auth_request /oauth2/auth;
    error_page 401 = /oauth2/sign_in;
    # pass information via X-User and X-Email headers to backend,
    # requires running with --set-xauthrequest flag
    auth_request_set $user   $upstream_http_x_auth_request_user;
    auth_request_set $email  $upstream_http_x_auth_request_email;
    proxy_set_header X-User  $user;
    proxy_set_header X-Email $email;

    # if you enabled --cookie-refresh, this is needed for it to work with auth_request
    auth_request_set $auth_cookie $upstream_http_set_cookie;
    add_header Set-Cookie $auth_cookie;
    proxy_pass http://<IP_ADDRESS>:3008;

    chunked_transfer_encoding off;
    proxy_buffering off;
    proxy_cache off;

  	proxy_redirect     off;
  	proxy_http_version 1.1;
  	proxy_set_header Upgrade $http_upgrade;
  	proxy_set_header Connection "Upgrade";
  	proxy_set_header Host $http_host;
    }
}

alright, so no chance that this will ever be merged i guess?

Hope this repo supports websockets and it would be very helpful many websites use websockets


what is the file extension esq in your makefile?

Hi
Thanks for making this tester file;
I tried to learn from your tester program where I noticed you use .esq in
  1 exec: $(SRC)
10          @$(CC) -o t0.esq $^ $(CFG) -D BUFFER_SIZE=0
  1         @$(CC) -o t1.esq $^ $(CFG) -D BUFFER_SIZE=1
  2         @$(CC) -o t2.esq $^ $(CFG) -D BUFFER_SIZE=2
  3         @$(CC) -o t42.esq $^ $(CFG) -D BUFFER_SIZE=42
  4         @$(CC) -o t42000.esq $^ $(CFG) -D BUFFER_SIZE=42000
  5

I couldn't find anywhere to understand what that meant. Is there any chance you could explain it a bit?
Many thanks!
David

Hello David,
I read my code and I laughed a lot.
With the use of the dangerous rm -rf command, using an unlikely arbitrary
name was my solution I found at the time to avoid deleting files that
weren't mine. My code is bad, I should use /tmp for my temporary files, and
check whether or not the names I choose exist before using them.
Extensions are never reliable. Don't look at extensions. They're just for
humans. You can create an executable with a .shrdlu or .png extension or
whatever you want, nothing is the convention on Unix, .exe on Windows.
Unlike Windows, Unix generally doesn't use extensions, but analyzes the
contents of the file to determine its type. You can do the same to find out
what a file really is with this command: file
Looking for all special and limit cases (corner points), doing my own tests
and automation scripts has helped me a lot in my common core. I read your
school project notes on github. I like your mindset.
Kodp

Hello David,
I read my code and I laughed a lot.
With the use of the dangerous rm -rf command, using an unlikely arbitrary name was my solution I found at the time to avoid deleting files that weren't mine. My code is bad, I should use /tmp for my temporary files, and check whether or not the names I choose exist before using them.
Extensions are never reliable. Don't look at extensions. They're just for humans. You can create an executable with a .shrdlu or .png extension or whatever you want, nothing is the convention on Unix, .exe on Windows.
Unlike Windows, Unix generally doesn't use extensions, but analyzes the contents of the file to determine its type. You can do the same to find out what a file really is with this command
file <path>
Looking for all special and limit cases (corner points), doing my own tests and automation scripts has helped me a lot in my common core. I read your school project notes on github. I like your mindset.
Kodp

Hi Kodp,
Thanks for reply. Aw sweet, I think we all have that moment: feeling cringe about our own code. But I think it is great as I don't know much about shell scripts. I would love to know more about how you design the tests so I am able to write it on my own. I am still learning about your test shell script.
To be honest, I don't know much about why using /temp is better. why do you think it is a better idea?
Best,
David


client.GetQuote() returns error "inappropriate ioctl for device"

Hi, there.
I tried tools/attest/attest.go but got error. However, I was able to get quote with Intel official tdx-tools.
If u need more info plz let me know.

What’s your output for uname -a? The driver has been in flux, so we’d need the kernel version.

It's Linux tdx-test 6.2.16-v5.0.mvp40-generic #tdx SMP PREEMPT_DYNAMIC Mon Nov  6 11:00:15 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux, both host and guest

Hey @deeglaze,
i have been running into the same issue. v0.3.1 returns an empty report for me when querying through the configfs, and the device doesn't seem to be supported anymore in this version. I tried to run v0.2.2., which should be the last version supporting the device, and client.GetRawQuote() returns "inappropriate ioctl for device".
Guest kernel is 6.7.0, host is 6.8.0-1004-intel.

tdx-guest is not an upstream driver. This repo started as a means to test attestation with proposed patches. Now that configfs-tsm has been merged upstream, the configfs quote provider should be the only one that works. Still, this all depends on how your distro is managing their kernel patches and built config. Which distro are you using? We test the public images on GCE that are marked with TDX_CAPABLE guestOsFeatures.

tdx-guest is not an upstream driver. This repo started as a means to test attestation with proposed patches. Now that configfs-tsm has been merged upstream, the configfs quote provider should be the only one that works. Still, this all depends on how your distro is managing their kernel patches and built config. Which distro are you using? We test the public images on GCE that are marked with TDX_CAPABLE guestOsFeatures.

Yeah, I know. I don't think my issue specifically revolves around go-tdx-guest. I can manually query a report on the machine through the ioctl, so I think the reason for v0.2.2 not working is some API differential between the library and the driver since then.
Regarding the configfs, I'll see and try to debug this. I think this is a kernel / distro issue, as manually querying a report through the configfs yields an empty report too. But I think this is nothing you, as a library author, should invest any time in.


Add easy and hard difficulty modes.

Supports Easy mode (any five letters are permitted) and Hard mode (correctly guessed letters and positions must be used in subsequent guesses).

Closes #6 , adds Easy and Hard modes.


Fixed bug?

I think I got the typo you made, which causes heating not to work. Or is it?

Thanks for identifying and fixing it.


Button in Form

Hi,
how can i apply cssstyle to button?
New-PodeWebForm -Name 'name' -Content @() -CssStyle @{?????} -ScriptBlock {}
like this:

Hi @eugen257,
-CssStyle is just a hastable that takes the raw CSS property name/values. Such as:
-CssStyle @{ 'background-color' = 'purple' }

Hi @Badgerati,
it only affects the form itself:

Have you tried using the -CssStyle @{ 'background-color' = 'purple' } parameter on the New-PodeWebButton itself instead of the whole form?  As documented here: https://badgerati.github.io/Pode.Web/Functions/Elements/New-PodeWebButton/

Hi @jbaechtelMT,
thanks )), but I meant when using the form: New-PodeWebForm
is it possible to do something with the button.

Hi @eugen257,
If you want to style the button the form renders you'll need to use -CssClass to give the form a custom class:
New-PodeWebForm -Name Example -CssClass 'my-custom-class'

Then create a CSS file at /public/custom.css to pin-point the button:
form.my-custom-class button[type='submit'] {
    /* your properties here */
}

And then you can load the CSS file in Pode.Web via `Import-PodeWebStylesheet -Url '/custom.css'


Regression in 4.2.0 onward: Calling addTrack/removeTrack on local MediaStream does not trigger onaddtrack/onremovetrack events on remote end

This commit changed the way addStream in Chrome shims works in such a way that stream supplied to origAddStream method is not the one supplied to shim - but rather it's copy which does not propagate addTrack/removeTrack calls from original stream. Thus calling addTrack/removeTrack on stream has no effect since PeerConnection has different stream stored and will changes in stream's tracks won't get reflected to SDP, causing remote to be oblivious to track changes.
Working JSFiddle with 4.1.1
Broken JSFiddle with 4.2.0
Broken JSFiddle with latest

the behaviour you're relying on does not work in Firefox at all. See also https://bugs.chromium.org/p/webrtc/issues/detail?id=7815
If you want to send the track over the peerconnection you'll need to call pc.addTrack.

It doesn't work in Firefox because it does not support legacy stream WebRTC API, while Chrome currently only supports legacy (and track API behind flag), and this breaks it.

firefox does support addStream -- it does not support the behaviour you rely on. If you want this behaviour then don't use adapter.js.

Confirming Firefox supports addStream. It doesn't doesn't support removeStream.


⚠ File access has degraded performance

In b514447, File access (https://fyle.uk/file/fish) experienced degraded performance:

HTTP code: 200
Response time: 7784 ms

Resolved: File access performance has improved in 18495a4 after 9 minutes.


Incorrect default values on gamerule tooltips.

Tooltips on the gamerule menu does not show the default values for gamerules. Instead it shows their "initial" values, the one they had upon opening the menu.
That is a flaw in the design of the vanilla gamerule menu. It does not seek the rules' default values, but assumes that the values initally provided are the default ones. That assumption works on new-world creation, but is broken on existing world.

Since this is an issue on the Vanilla screen, this can effectively be fixed by using my Cloth Gamerules Screen mod.
It's unlikely that I will ever fix this on the Vanilla screen.

I've realized my other mod Preferred-Gamerules is also affected, which would make it much more difficult to properly fix this.
Both mods are intended to be able to work either together or alone. To properly fix it in both mods, each of them would need to have their own copy of the fix, but implemented in a way that doesn't conflicts with the other mod's fix (and potentially other mods).
The cleanest way to fix this is to make a third separate mod wholly dedicated to fixing this issue. Arguably this mod already exists and is Cloth-Gamerules.


[Optimization] Common mappings across indices

Is your feature request related to a problem? Please describe.
When there are large number of mappings across multiple indices in the cluster, the size of cluster state increases. It could potentially make the cluster unstable as it would be consume more system resources to make updates to large cluster state.
For search use cases, customers generally define less number of indices (<10). But for log analytics use cases, customer define an index template from which indices are created on a daily basis. Even though the mappings are same as the template, they are still duplicated to the indices. This is redundant and can be avoided.
Describe the solution you'd like
When the index is created from a template, we can create a reference to the mappings of the template and point the indices to the reference. In this way we can avoid duplication of mappings and save memory and disk usage.

Code Analysis
There are a couple of optimizations that can be done:

Point the index mappings to the common template mappings in the ClusterState object
Point the MapperService of the indices to the MapperService defined for the template.

Performed the analysis of the cluster state object from different perspectives:

In Memory
Even though the mappings are large when viewed as a json object, they are stored in compressed form in memory inside the ClusterState object
https://github.com/opensearch-project/OpenSearch/blob/1f3a7a87eb64f8280bf984eed8fa821f1351b583/server/src/main/java/org/opensearch/cluster/metadata/MappingMetadata.java#L66
On disk
The cluster state is persisted on disk in a lucene index. Even while storing in the lucene index, the index mappings are in compressed state
https://github.com/opensearch-project/OpenSearch/blob/1f3a7a87eb64f8280bf984eed8fa821f1351b583/server/src/main/java/org/opensearch/cluster/metadata/IndexMetadata.java#L1627-L1632
Over the wire
The cluster state object is sent to other nodes over the transport layer. This happens when there is some change in cluster state or when a node tries to join the cluster. Even over the transport layer, the mappings are sent in compressed form
https://github.com/opensearch-project/OpenSearch/blob/8bebf5b9efe7a6f6668a69d4c156d42f30b99332/server/src/main/java/org/opensearch/cluster/metadata/MappingMetadata.java#L158-L162

Based on this analysis, it looks like we will not get benefit if we point the index mappings to the template mappings in the ClusterState object.
POC for pointing the index MapperService to the template's MapperService object
For the optimization to point the MapperService of the indices to the template's MapperService, a POC was performed. Draft PR for the POC: https://github.com/opensearch-project/OpenSearch/pull/8310. In the draft PR, I was able to use the MapperService of the template instead of creating a new MapperService for each index. Also, the indexing and search was working as per the expectations
Following are some considerations/caveats:

Unique template ID - Currently index templates are created using a name and an optional version field. The template can be updated but the index should only refer to the version of the template present at the time of index creation. Since the version field in template is externally provided (not auto-generated), it will not be possible to use this field to determine the unique template using which the index was created. We will need to introduce another field like a templateId which may be an auto-generated UUID. This templateId should change with every update made in the template.
Deletion of template - When a template is deleted, existing indices should keep working using the reference of template’s MapperService. In case, process is restarted the indices should create their own versions of MapperService as the previous template will not be found. An alternate approach would be retain the previous versions of templates as long as there is atleast one index referring it.
Overridden Mappings - Mappings can be overridden when the customer invokes the put mappings API. In these cases, the MapperService of the template cannot be used unless we define a hierarchical structure for each of the mappings which tells us which field mapper should be used for every field. But this would be harder to maintain.
Addition of new mappings - Similar to overridden mappings, we will need to create new MapperService when the mappings are added or modified to the index.
Legacy Templates - There are two versions of the template API - the old v1 template (_template URI) and the new v2 template(_index_template URI). Assumption is the v1 template will eventually be phased out. Also with v1 template there can be multiple template applying on a single index so there will be added complexity. So these should not be covered to keep the design simple.
Index Settings - Index mappings depend on the setting for any custom analyzer defined for a mapping. The source of settings and mappings should be same in order to keep the field analyzers in sync with those defined in the settings. So a new MapperService should be created when the analyzer settings are updated.

The use case of addition of new mappings is common where the customer creates a template once for creating indices for log analytics use cases. If new mappings are present in the documents during ingestion then they get added in the index when dynamic mapping is enabled but the template does not get updated. This would break our logic of using the MapperService of the template since new MapperService will be created for the index as soon as the dynamic mapping is added. For this reason, it is better not use this optimization for now. I will look for alternate ways to optimize this.

I'll admit I don't know this particular area of the code base super well, but just want to throw out an idea for consideration: Would it be possible to implement this in a way that any two indexes that had identical mappings would reference the same mappings even if they were not created from a template? Speaking generally, this could be implemented where the mappings might be stored in a map keyed by a hash of their content. When a new index is created, you could then look to see if its mappings already exist by hashing its mappings and looking to see an existing reference could be reused. This is basically a content-addressable storage approach. Does this approach even make sense here?

When there are large number of mappings across multiple indices in the cluster, the size of cluster state increases.

Curious, what's "large" and "size"?
I'm not familiar with this topic, but why do mappings need to be part of cluster state at all?

So if a user modifies the mapping for an index template, it won't affect the existing indices which will point to older template version(as expected). So if the user has to modify mapping on existing indices, they have to go through individual indices and update the mapping. In such cases, even though mapping is same finally, we won't be able to reuse the solution above.
It might be good to explore if we can reference to the same mapping in these cases as well. Similar to what @andrross recommended for indices with identical mapping.

why do mappings need to be part of cluster state at all?

@dblock The index mappings define how fields are stored and indexed at the index level, which means they apply to all shards and all shards must agree on the mapping definition. Cluster state is the mechanism for this sort of cluster-wide consensus.

Thanks @andrross and @soosinha. In OpenSearch there are cases where not all nodes have all indices, so that could be an optimization, albeit not sure how big of an optimization that would be.
Then don't we send around a lot of cluster state that doesn't change? Seems like that protocol is ripe for disruption to be versioned and only send changes around, or splitting parts of cluster state so that it can only be resent when needed (only when a mapping changes).

Building on @dblock's observation that not every node necessarily needs the metadata for all indices, is the following architecture possible?

Mapping definitions are stored separate from cluster state, perhaps in a system index, with a unique ID using a content-addressable scheme to avoid duplicate entries for identical mapping definitions
The index metadata in the cluster state contains only the unique ID that points to the mapping definition
Nodes can read the mapping information into memory when needed

This is likely a big change with tradeoffs involved, but it could solve the problem here and perhaps significantly reduce the size of the cluster state being passed around. @soosinha is this a crazy idea?


Black rendering on materialed mesh.

Godot version:

Godot 3.2.3.rc4.official
OS/device including version:

OS: Windows 10 64-bit version 2004 build 19041.450
GPU: Intel UHD Graphics 620 driver version <IP_ADDRESS>87
GLES3
Issue description:

Adding/creating material for a mesh will cause the mesh's rendering to be completely black in a certain distance, as shown in the attached file:

Steps to reproduce:

Create the MeshInstance node.
Add/create material for the MeshInstance.

Minimal reproduction project:

reproduction_project.zip

Like https://github.com/godotengine/godot/issues/30330, this is likely specific to Intel HD 620 IGPs on Windows.


Add email

@bamyam Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.


Preparation for Kibana 5 : wrong line deleted on "Alarms" tab

A bug detected in Kibana 5 branch :

when I am on "Alarms" tab, if I delete the second alarm line, the wrong line is deleted (for example : the first line is deleted)

5.2.2 released for testing - closing old issues to welcome new ones:
https://github.com/sirensolutions/sentinl/releases/tag/tag-5.2.2


(issue): Dropdown item clipped if positioned right of a Menu

Steps
Create a top menu bar with the last item being a dropdown and with position ="right".
Some of the downdown's items have a long content
Expected Result
The dropdown is displayed completely and not clipped when expanded
Actual Result
The dropdown items are clipped and not fully visible
Version
0.71.1
Testcase
https://codepen.io/youbi/pen/RZNWjz

The Dropdown currently does not support menu direction.  PRs welcome.
The Fix
We need to add a direction prop to the Dropdown.Menu which simply adds the left className when direction='left'.
A Workaround
Adding an inline style to the Dropdown.Menu will get the results you need for now:
https://codepen.io/levithomason/pen/XaXjma
<Dropdown.Menu style={{ left: 'auto', right: 0 }}>

Note that in future versions we are considering deprecating the Dropdown sub component API.  We would then have only props for defining the menu and items.  This will only happen if we can support all features via props, but I wanted to make you aware.

is the ticket available can i contribute to this issue ?

@mprambadi I've not seen a PR for this yet.  I think you're in the clear.
Dropdown PRs


Add gradle maven

I'll need to update the version here and everywhere soon.  This is just getting this checked in.

LGTM


Further bugfixes and documentation fixes

This cleans up the v1.4.0 release and makes progress on past milestones

Fixes #159
Fixes #339
Fixes #336
Fixes #273
Fixes #272

I will need to address https://github.com/Arduino-CI/arduino_ci/issues/339 in this PR.

#339 should be fixed by my 2021-02-15_rescue.updates branch. It is now rebased on top of ianfixes/2022-12-28_tweaks.

@hlovdal disregard my other message on your closed PR, I will cherry pick your changes into this branch

I believe this verifies the fix for #339 -- fixing the problem that @RobTillaart was seeing:
https://github.com/ianfixes/FRAM_I2C/actions/runs/3876505881/jobs/6610424853

The PR looks good to me so if there are no other showstoppers please merge and add a tag!
👍

Sorry for the delay, this has been released as v1.5.0


Add top, right, bottom, left margin of icon.

Add top, right, bottom, left margin of icon. and adjust default margin value.

Hey @neetrath can you please cleanup some of the whitespace changes in this PR? It's very hard to review with so many unrelated changes


[Bug][Resource] After uploading a shell script file, only one node exists the file.

Describe the bug
After uploading a shell script file, only one node exists the file.
To Reproduce
Steps to reproduce the behavior, for example:

Upload a shell script file on a DS Cluster which include two nodes.
Only one node exists the file.

Which version of Dolphin Scheduler:
-[1.3.4-release]

I don't know what you mean. Can you take a screenshot

I don't know what you mean. Can you take a screenshot

Close this issue since it can't be reproduced due to no updates for long time


Deprecation warnings...

On recent versions of Chrome, I get warnings "'webkitIDBRequest' is deprecated. Please use 'IDBRequest' instead.".  While it appears to be a simple fix, I leave it to someone who already knows this code.

Duplicate of #45


strip() plugin isn't working ?

Hi
Great site! :+1:
I tried to use the Rollup strip plugin, which is listed as "compatible".
I copied the config shown when clicking the little info icon:
// ...
import strip from "@rollup/plugin-strip"

export default defineConfig({
  // other options here...

  plugins: [
    vue(),
    WindiCSS(),
    {
      ...strip(),
      apply: 'build',
    },
  ]
}

Somehow couldn't get it to work. Specifically: console.log() and console.assert() still showed after vite build.
Curiously no warnings or any errors from vite build, so the config appears to be syntactically correct at least.
I trried via rollupOptions as well but no luck:
  build: {
    rollupOptions: {
       plugins: [strip()],
    },

Instead I remembered an option in Terser, and I was able to strip console statements this way :
export default defineConfig({
  build: {
    terserOptions: {
      compress: {
        drop_console: true,
      },
    },
  },

Just wondering if the config for strip() is incorrect or there is something else it needs somehow?

Hey @fabd ! Thanks for the feedback and this report, great to see that you are using the listing 👍🏼
About @rollup/plugin-strip, the default value for the include config doesn't match against .vue files. You will need to do something like:
  {
    ...strip({ include: '**/*.+(vue|js)' }),
    apply: 'build'
  }

We could add a note about this, but this is more general and it should be something framework agnostic.

Ah my bad. Thank you!

I can confirm this works:
    {
      ...strip({ include: "**/*.(js|ts)" }),
      apply: "build",
    },

I should have mentioned Typescript. It appears the plugin doesn't see the .vue file but sees the separate template/vue/script.
So logically speaking, for someone using plain javascript Vue (no TS), then the default options of the plugin should work.
Thanks again! I may edit the title for search engines because I often find some issues helpful myself when I google up things.

Thank you! And please get back if you find other things 🙌🏼
I need to find a way to get people to send PRs with the community rollup plugins that they are using in their apps :)


plutus-contract: Add a pubkeyhash constructor to Wallet type

When dealing with cardano-wallet's API we have to use hashes of public keys to identify wallets. This PR changes the Wallet type to just a single constructor with the wallet's public key hash. The MockWallet PrivKey constructor is deleted.
One consequence of this change is that walletPubKey now returns a Maybe PubKey.  But we can still compute walletPubKeyHash for all wallets, and that's enough for most current uses of walletPubKey.

Pre-submit checklist:

Branch

[ ] Tests are provided (if possible)
[ ] Commit sequence broadly makes sense
[ ] Key commits have useful messages
[ ] Relevant tickets are mentioned in commit messages
[ ] Formatting, materialized Nix files, PNG optimization, etc. are updated

PR

[ ] Self-reviewed the diff
[ ] Useful pull request description
[ ] Reviewer requested

@sjoerdvisscher: Since our last call/conversation about this PR, I made some further simplifications. The most significant change is that Wallet now only has a single constructor for a public key hash:
https://github.com/input-output-hk/plutus/pull/3995/files#diff-37635360b5a733791a5bc60d0e5c05bb5d318718fd00681779556c8a333b369fL93
I also moved the code that deals with the keys of emulated wallets to Ledger.CardanoWallet.


heavy problems by scrolling long lists on mobile

It's impossible to scroll a long select list on mobile phone by touch, without selecting the touched item. I had to remove the 'touchstart' events from your code to get it running.
You can test it on your own test site by adding three items to the list.
https://fasys.it/andreamariani/lab/zurb-foundation6-multiselect/docs-example/

Hello,
atm I've a lot of work to do, so I can't properly test this fix; can you please help me to figured out if this can solve that problem? I've create a new branch:
https://github.com/icyz/zurb-foundation6-multiselect/blob/testing/src/zmultiselect.js

hey @rteinze , did you tried that ?
https://github.com/icyz/zurb-foundation6-multiselect/blob/testing/src/zmultiselect.js

hey @rteinze , did you tried that ?
https://github.com/icyz/zurb-foundation6-multiselect/blob/testing/src/zmultiselect.js

hey @icyz , not yet. At the moment the hacked copy of the script is running. There I only disabled touchevents. I did it inside the .min.js :D
...d="click";"ontouchstart"in document.documentElement/*TODO RT:prevents disfunction on touch devices:*/&&false&&(d="touchstart")...

..."touchstart"!==d&&setTimeout(function(){/*TODO RT:prevents autofocus: a(".zselect#"+c+" ul li.zmsfilter input").focus()*/},1)):f.hide...

Hope, that helps.


pull request for e2e test at 01/17/2017 01:56:16

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


[rmlui] Update to version 4.4

Describe the pull request

What does your PR fix?
Updates the RmlUi library to version 4.4

Which triplets are supported/not supported? Have you updated the CI baseline?
Triplet support should be unchanged, tested with x64-windows.

Does your PR follow the maintainer guide?

Yes

Thanks for the update!


Joining IRA (CF) tables

Since we are trying to join IRA tables with other IRA tables we should use CF fields (INSITUTION_CODE, STRM) instead of IR legacy fields (COLLEGE_IR, TERM_DATE). Maybe it is something we can discuss at the next meeting.

Here is an example of what I mean
--student enrollment table
from IRDB_DW.WC_IRA_PS_STDNT_CAR_TERM_TS CART

--institution table that has two John Jay records since John Jay was comprehensive college and now senior college
inner join IRDB_DW.WC_IRA_INSTITUTION_D INST
        on CART.INSTITUTION = INST.IR_INSTITUTION_CODE
       and CART.STRM between INST.IR_BEGIN_TERM_CODE
                         and INST.IR_END_TERM_CODE

This type of coding needs to be done with LU_PS_INSTRUCT_MODE as well now that there are two “O” records, one for prior to June 2020 when it meant hybrid and one for June 2020 to the present where it’s online… the begin/end STRM values are structured the same way.
-mvc
Mark Casazza
Director, CUNY Business Intelligence
City University of New York
Office of Applied Research, Evaluation, and Data Analytics
(OAREDA)
Data and Reporting Unit
555 West 57th Street, Suite 1140
New York, NY 10019
Mark.Casazza10
<EMAIL_ADDRESS>http://cuny.edu/ir
From: binbh @.>
Reply-To: betsyCC/OAREDA_Syntax_Library @.>
Date: Wednesday, January 18, 2023 at 13:28
To: betsyCC/OAREDA_Syntax_Library @.>
Cc: Subscribed @.>
Subject: Re: [betsyCC/OAREDA_Syntax_Library] Joining IRA (CF) tables (Issue #14)
ATTENTION: This email came from an external source. Do not open attachments or click on links from unknown senders or unexpected emails.
Here is an example of what I mean
--student enrollment table
from IRDB_DW.WC_IRA_PS_STDNT_CAR_TERM_TS CART
--institution table that has two John Jay records since John Jay was comprehensive college and now senior college
inner join IRDB_DW.WC_IRA_INSTITUTION_D INST
    on CART.INSTITUTION = INST.IR_INSTITUTION_CODE

   and CART.STRM between INST.IR_BEGIN_TERM_CODE

                     and INST.IR_END_TERM_CODE

—
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_betsyCC_OAREDA-5FSyntax-5FLibrary_issues_14-23issuecomment-2D1387525281&d=DwMCaQ&c=mRWFL96tuqj9V0Jjj4h40ddo0XsmttALwKjAEOCyUjY&r=FW1qjambfYDPaDeXWU8eVRHudNTomyvPglsIs-VyQ6Y&m=yBk53F8gVQK3aXEHck1nJ_QTqVHdRiBkBwI5VAHeCXWgGwb_C6cAuVVrg0WQZKhh&s=TFI4l0f6xiu2SAIzgDv3zky2-Q45hniQeb8kFqNP7W0&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ABNWQE4MDLKI4Y6NG3DNCYDWTAY4DANCNFSM6AAAAAAT7M4G7Q&d=DwMCaQ&c=mRWFL96tuqj9V0Jjj4h40ddo0XsmttALwKjAEOCyUjY&r=FW1qjambfYDPaDeXWU8eVRHudNTomyvPglsIs-VyQ6Y&m=yBk53F8gVQK3aXEHck1nJ_QTqVHdRiBkBwI5VAHeCXWgGwb_C6cAuVVrg0WQZKhh&s=KYqBzh6RhBlXJZ14VxovHrWx5WNiY47nVky7_8b6_Cw&e=.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


protein transport along microtubule to cell tip/end

Whatever the outcome of this
https://github.com/geneontology/go-ontology/issues/12822
I suggest a generic
GONEW microtubule-based protein transport
GONEW --protein transport along microtubule to cell tip/end
because even if transport on the tip exists tea2 does transport other proteins along the microtubule (tip1)
see
https://curation.pombase.org/pombe/curs/ce1fc9c90e999884/ro/

Did "protein transport along microtubule to cell tip" get committed? I don't see it ...

Did "protein transport along microtubule to cell tip" get committed? I don't see it ...

Yep. There have been ongoing problems with the GO release though, most recently because of svn permissions issues.  Assuming this is what has held it up.

OK, thanks

p.s. for a FYPO logical def ... what's the ID?

GO:0099117

ta muchly :)

Hmmm...  seems like some of my edits got deleted last week!   (Probably happened due to roll back of commits with large diffs that turned out to be due to pipeline errors).   Edits not lost locally, so will be in next commit later today.

That makes me feel substanially less mad ;)
Thanks again.


[Feature Request]: Optimize PetAdoption Contract for Gas Efficiency and Readability

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description

Add a custom onlyOwner modifier to simplify permission checks for owner-only functions.
Optimize the use of memory for returning arrays.
Improve code readability by refining function logic and making variable types consistent.

Use Case
These improvements would enhance the project by:

Custom onlyOwner Modifier: Simplifies permission checks, leading to cleaner and more maintainable code.

Optimize memory for Returning Arrays: Clarifies data handling, improving readability and reducing confusion.

Consistent Variable Types and Improved Logic: Enhances code readability and minimizes gas costs, making it easier for developers to contribute.

Benefits
No response
Priority
High
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 Extd contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

Go ahead!


⚠ Jenkins Plugins Artifactory has degraded performance

In f26aeb2, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 2013 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 6bd680d after 12 minutes.


Added LBC Support

Hey Ledger Team - my name is Tom and I'm from the LBRY team. Please let me know if you have any questions about this and how we can support an expedited process to get this integrated!

I think these are the correct values for P2PKH and P2SH - https://github.com/tzarebczan/blue-app-btc/commit/c9f80ea3708ac0319a56495c2a2f07865b77edd1

@Nageki please correct your PR or let me know if you don't agree.

Please close this in favor of https://github.com/LedgerHQ/ledger-app-btc/pull/61


Is user auth through v2.0 endpoint supported?

Hi,
I'm working on a desktop app that will integrate with Groove. I am currently trying to use MSAL for user authentication. The authentication process seems to go successfully, but when using the obtained token for Groove API calls, I see "INVALID_AUTHORIZATION_HEADER" error.
Does this mean that I cannot use MSAL to obtain a user token that would work with Groove API?
It's possible I am providing the wrong scope for the token request. However, if I provide the scope of "MicrosoftMediaService.GrooveApiAccess" to the PublicClientApplication when getting a token, the login pop up hits the following error:
AADSTS70011: The provided value for the input parameter 'scope' is not valid. The scope MicrosoftMediaServices.GrooveApiAccess openid email profile offline_access is not valid.

Here is my code for obtaining the token from my implementation of IUserTokenManager, using PublicClientApplication from MSAL:
public async Task<string> GetUserAuthorizationHeaderAsync(bool forceRefresh = false)
{
    string clientId = "MyClientId"
    string[] scope = new string[]{ clientId }; // Is this the correct scope?
    PublicClientApplication app = new PublicClientApplication(clientId);
    AuthenticationResult result = await app.AcquireTokenAsync(scope); // result.Token looks like a valid token
    return (result != null && result.Token != null) ? $"Bearer {result.Token}": null;
}

Hi Antoine,
It's unfortunate that AAD is not supported currently. However, I was able to get user authentication working. The documentation you linked was helpful, but I also found this sample very helpful with regards to how to perform the authentication flow specifically for a desktop app.
Thanks for the help!


Not working while i'm using proxy

what shall i do ?

Hi there @MahamdiAmine. KickThemOut is used to Arp-spoof devices outside of a Local Area Network (LAN). It's not expected to be able to run on external networks, hence it won't be able to kick out devices over a proxied connection. If you have any further questions, be sure to re-open this issue. Thanks!


Add new ambassador Dr. Mahammad Gulam Ghouse Pasha

Dr. Mahammad Gulam Ghouse Pasha	Librarian and Educational Resources Manager	British Applied College 	United Arab Emirates

Will there be any photo?

Will there be any photo?

working on adding

Could you check it please?


Cpp solution to Potential Palindrome

Language
C++
Challenge
Potential Palindrome

note: I checked that the challenge is about another approach to check palindrome. I working in the algorithm and I will update the PR today 👍

all very well ✔


 component

internal tooling (for now)

Merker at et mye bedre navn på en slik prop er autocomplete 🤔

check out the cool branch virtualfocus-combobox-test to see how it could look 👀 ⭐ 🚀 (if it looks bad, we can change this API completely / add more defaults)

There are some changes I want to backport from the test branch, will bring them here & remove them from the test branch.

@JulianNymark Can merge after errors are fixed 🚀


feat(router): add basic payment using mollie connector based on redir…

Enable redirection based payment using Mollie connector & automatic capture
Type of Change

[ ] Bugfix
[x] New feature
[ ] Enhancement
[ ] Refactoring
[ ] Dependency updates

Description
Mollie connector integration using its own payment selection screen for further processing.
Additional Changes

[ ] This PR modifies the database schema
[x] This PR modifies application configuration/environment variables

config/config.example.toml
config/Development.toml
config/docker_compose.toml
loadtest/config/Development.toml
Motivation and Context

Hackathon assigned connector - Mollie
How did you test it?

Write one unit test case for payment creation
Rest it is tested using Postman, Relevant screenshots attached :

Checklist

[x] I formatted the code cargo +nightly fmt --all
[x] I addressed lints thrown by cargo clippy
[ ] I reviewed submitted code
[ ] I added unit tests for my changes where possible
[ ] I added a CHANGELOG entry if applicable

All changes as per suggestions have been done.


Lower the limit.

Otherwise it takes forever to load release on kovan.

Github failure seems unrelated.


Remove non-operational value parameter from file upload component

For security reasons, all contemporary web browsers disallow the value attribute to be set to anything other than an empty string, be that via HTML or JavaScript, effectively making it a read only attribute. This parameter has thus never actually done anything other than output a non-functioning HTML attribute value. As such, we should probably get rid of it.
Our tests for this functionality appear to have been passing because it was comparing the value of the HTML attribute against what it was set to, without regarding that the underlying API property didn't match either of them.
Changes

Removes the value parameter and related code from the component.
Removes the value parameter documentation.
Removes tests relating to the parameter.

Thoughts
Would we consider this a breaking change? One the one hand, it's a change to the component API that has been in place since 2017. On the other, it's been non-operational that entire time.
There's a possibility that other services or forks have implemented it, on the basis of the same (flawed) test we had and which may have their own tests fail with its removal. I'm not sure if that speculation is reason enough to consider it breaking, however.

From a cursory search, folks are indeed using the value param, even if it's almost certainly not doing anything. Probably this is going to break tests, which isn't necessarily the end of the world but does mean we'd be putting out a knowlingly breaking change. I'm going to suggest we follow due process and deprecate this instead.
I reckon we can still remove the test and instead of removing the param from the docs, maybe just adding a note that it's deprecated or even replacing the existing docs with a deprecation note.

Playing it safe and putting this through the deprecation and removal process. I've put this in the v6 milestone and added a PR to deprecate it here: https://github.com/alphagov/govuk-frontend/pull/5330


Would SIMD powered sort (on top of Panama) be worth it?

Description
I came across this writeup of Intel's https://github.com/intel/x86-simd-sort, and then across this blog post about how to do something similar in Java on top of Panama.
We do a fair amount of sorting in Lucene, especially during indexing.  Could/should we explore using this Java Panama SIMD sort algorithm for them, when the right SIMD instructions are available?

maybe it would be best to try to make more use out of Arrays.sort given that openjdk is doing this kind of optimization, e.g. https://bugs.openjdk.org/browse/JDK-8309130
currently, lucene has a lot of its own sorting.

that openjdk is doing this kind of optimization, e.g. https://bugs.openjdk.org/browse/JDK-8309130

Ahh that is great news that the JDK is working to fold SIMD driven sort into the Arrays.sort for primitives.

maybe it would be best to try to make more use out of Arrays.sort given that openjdk is doing this kind of optimization

+1

currently, lucene has a lot of its own sorting.

Yeah, some of our custom sorts are because we want to sort one array, but use the sort key from another parallel array.  Unfortunately I don't think (?) the JDK has existing APIs for this usage, yet, the way the SIMD sorting works, it would be a perfect fit (it reports the indices into the array that it then permute to, to achieve the sort ... so we'd want those sorted indices so we could permute our own (possible non-primitive) arrays).

Yeah, some of our custom sorts are because we want to sort one array, but use the sort key from another parallel array. Unfortunately I don't think (?) the JDK has existing APIs for this usage, yet, the way the SIMD sorting works, it would be a perfect fit (it reports the indices into the array that it then permute to, to achieve the sort ... so we'd want those sorted indices so we could permute our own (possible non-primitive) arrays).

Yes, but I doubt that vectorization can help much here. Actually the problem with parallel arrays should be solved at some time with Project Valhalla, so you can have real Java representations like  array of struct { int a, float b} which doe snot havethe overhead and is much friendier to caches.

Yeah, some of our custom sorts are because we want to sort one array, but use the sort key from another parallel array. Unfortunately I don't think (?) the JDK has existing APIs for this usage, yet, the way the SIMD sorting works, it would be a perfect fit (it reports the indices into the array that it then permute to, to achieve the sort ... so we'd want those sorted indices so we could permute our own (possible non-primitive) arrays).

I really don't think this is a good candidate for lucene. I would actually be opposed to merging any code that does this. Here's why:

Vector API is in incubation and has very high maintenance cost for us
Vector API has a lot of performance landmines
sorting is not a mega hotspot in any of our benchmarks
algorithm is AVX 512 only

I see lots of issues being opened to vectorize this or that, and I know it's soon my time to play bad guy again, but I can and will veto performance gains that are overall a bad tradeoff. This would be one of them.
We should really focus on only the hottest of hotspots, we should really focus on the big wins where vectorization is a natural fit, and where it works on most everyone's hardware, and seek to minimize the surface area we touch with vector API.

To give more perspective, look at this algorithm and think about the instructions used and possibly of downclocking causing performance regressions.
Think about trying to detect that all these insns are supported by hardware... We can't. We dodge these issues by limiting what we do to basic stuff like addition and multiplication which has wide general support.  This is very different from trying to prevent performance regressions across any hardware.
This is why we should not be vectorizing everything and just stick with only methods that are white hot. Vectorizing everyday business logic like this is a real risk.

OK thanks for all the exciting discussion.  I agree we should focus on only the white-hot spots given how risking using Panama vector APIs is (trappy performance pitfalls).  Let's wait for OpenJDK to vectorize things like sorting.

Yeah, some of our custom sorts are because we want to sort one array, but use the sort key from another parallel array. Unfortunately I don't think (?) the JDK has existing APIs for this usage, yet, the way the SIMD sorting works, it would be a perfect fit (it reports the indices into the array that it then permute to, to achieve the sort ... so we'd want those sorted indices so we could permute our own (possible non-primitive) arrays).

Yes, but I doubt that vectorization can help much here.

One correction: I think the SIMD sorting would in fact help here.  The way it works is to do the hard part of the sorting to produce a "permute array" (the indices into the original array to achieve the sort).  One could easily use that to sort a second parallel array.
Valhala (efficient array of structs) would be a nice option too, once it finally arrives.

Some exciting updates here ... Intel continues to improve this "super fast sorting using SIMD instructions" library: https://www.phoronix.com/news/Intel-x86-simd-sort-4.0
And apparently NumPy (fast Python numeric extensions) adopted it, and now also OpenJDK: https://www.phoronix.com/news/Intel-x86-simd-sort-3.0
I wonder which version of OpenJDK we will first see this released in?  So, yeah, we should try to use Arrays.sort more in Lucene instead of our own sort impls when possible!

At least OpenJDK 22 on modern-ish Intel x86-64 CPUs will sometimes using SIMD for fast Arrays.sort!


Any update?

Any update on the offline installer?

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

ID: 5cd139e6-bbd6-4c1a-1b40-5abd63031a9a
Version Independent ID: bc91c619-c340-40e6-9c55-8c496eb24da5
Content
Content Source

needed !
Please help

Please update. This silence is unacceptable.

We understand this is a feature people care about, but unfortunately we have no additional information at this time.
To ensure your feedback is heard, please use the Give product feedback button. There you can vote for features and participate in the discussion on when and how they are implemented.

I'm also voting for this feature at uservoice.com


Update Environment and VM attributes

Changes made to update the following:

Optionally add variable number of disks to a VM
Optionally give an environment a name
Optionally assign new environment to a project
Updated README.md and CHANGELOG.md to reflect changes.
Updated version to 0.3.7

Thank you very much for this PR. Unfortunately we need some changes before we can accept it.

The semantics for the disks setting will make it harder to support other use cases cleanly in the future. I have a proposed fix for this below.
Are the Gemfile and Gemfile.lock changes necessary? I'm concerned about backward compatibility. Please remove if not necessary.
For tracking purposes, we would prefer separate pull requests for unrelated changes. (You can leave the environment name and project id changes in the same patch if you want, but ideally the project id change would have its own issue created and separate PR.)
We don't normally accept PRs from outside parties that update the plugin version or modify the changelog.

Regarding the disks setting: I don't think adding should be the default behavior, since we will support resizing and deletion at some point. Coming up with the right format for that could be a bit tricky, and it will be helpful to start with a clean slate. Also, adding disks every time Vagrant starts a VM should not be the default behavior, since this could be very surprising.
Here's a possible fix to get you folks up and running. I propose that we use a specific format for the disks setting that handles your use case exactly the way you have it here. If it doesn't match this format, we just ignore the setting for now. Once we work out the details for those other use cases, we would support this as a legacy format.
box.disks = :add_on_run, [<disk size>, ...]

How does that sound?
P.S. I'll write up some contributor guidelines as soon as I get a chance.

Feel free to decline the PR and take the pieces of code you want out of
it.  Your points are completely valid.  I'll try your fix for disks and see
how that works.
I've created a .gem file and we're using it as our vagrant-skytap plugin
for now.  When you make the appropriate updates we'll replace the plugin
with the official one.
And while you are in the code, I'd ask that you also look at adding an
enhancement to update VM attributes, such as the display name.  Yeah, it's
cosmetic, but it's helpful to quickly distinguish between VMs in the Skytap
console.  I'll add an issue in the issues list for this request.
On Fri, Mar 23, 2018 at 5:53 PM, Eric True<EMAIL_ADDRESS>wrote:

Thank you very much for this PR. Unfortunately we need some changes before
we can accept it.

The semantics for the disks setting will make it harder to support
other use cases cleanly in the future. I have a proposed fix for this below.
Are the Gemfile and Gemfile.lock changes necessary? I'm concerned
about backward compatibility. Please remove if not necessary.
For tracking purposes, we would prefer separate pull requests for
unrelated changes. (You can leave the environment name and project id
changes in the same patch if you want, but ideally the project id change
would have its own issue created and separate PR.)
We don't normally accept PRs from outside parties that update the
plugin version or modify the changelog.

Regarding the disks setting: I don't think adding should be the default
behavior, since we will support resizing and deletion at some point. Coming
up with the right format for that could be a bit tricky, and it will be
helpful to start with a clean slate. Also, adding disks every time Vagrant
starts a VM should not be the default behavior, since this could be very
surprising.
Here's a possible fix to get you folks up and running. I propose that we
use a specific format for the disks setting that handles your use case
exactly the way you have it here. If it doesn't match this format, we just
ignore the setting for now. Once we work out the details for those other
use cases, we would support this as a legacy format.
box.disks = :add_on_run, [, ...]
How does that sound?
P.S. I'll write up some contributor guidelines as soon as I get a chance.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/skytap/vagrant-skytap/pull/30#issuecomment-375827333,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATdw5Yt3Znh0QBo7x_nSx3O9nx5bZtzvks5thYsAgaJpZM4S2MtE
.


Dart Support for the Bearded Theme

I love the extension! I've been using them for all of my school projects. It looks beautiful in Java, but when I create a Dart project all the syntax is just white and purple.

Sorry, this might just be a VSCode syntax highlighting issue. My apologies

Ahah no prob

Do you know how I can make the dart syntax highlighting look more appealing like the java highlighting syntax?


Cannot override AutoMap() in the ElasticClients Map method

NEST/Elasticsearch.Net version:
5.0.0
Elasticsearch version:
5.1.1
Description of the problem including expected versus actual behavior:
In version 2.x of Nest/ES you could override the AutoMap() method in the ElasticClient.Map method like this
client.Map<Person>(
                p =>
                    p.AllField(af => af.Enabled(false)).AutoMap()
                        .Properties(
                            PersonIndexMapping.PersonPropertiesDescriptor));

Now it seems that it only execute the AutoMap() method without the overridden properties.
Is this correct behavior or is there something I'm missing?

No, this should work as you're expecting.  Need some more info though to see why it's not for you.
Are you getting an error, or are the overrides just not being mapped?
Can you share the raw request and response if possible (by setting .DisableDirectStreaming() and .PrettyJson() on your ConnectionSettings)?
Also, can you post the code for PersonIndexMapping.PersonPropertiesDescriptor?

My bad. I was missing a UpdateAllTypes() which was not needed before.
I'm sorry I wasted your time.


CosmosClientOptions should set DefaultApplicationId

When setting the CosmosClientOptions.ApplicationName, the ClientOptions.DiagnosticsOptions.DefaultApplicationId should be set accordingly for diagnostics event to have the correct value.

The user agent string should be added to every diagnostics.


🇬🇧Integration with British Gas

I'd be up for giving the UK energy integrations a go as I'm based here and use one of the big providers myself. Anything I should consider from your experience @martincollignon?

Hey Liam, the Ørsted integration should be a decent example, where I think
the contributor found the endpoint by looking at requests.  Amazing that
you want to help!
On Sat, Oct 19, 2019, 19:41 Liam Garrison<EMAIL_ADDRESS>wrote:

I'd be up for giving the UK energy integrations a go as I'm based here and
use one of the big providers myself. Anything I should consider from your
experience @martincollignon https://github.com/martincollignon?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tmrowco/tmrowapp-contrib/issues/145?email_source=notifications&email_token=AAT333WGLHJEIXDXT7BIK53QPNBC3A5CNFSM4I25MBWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBXYCXQ#issuecomment-544178526,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAT333TMTAJLLSEHZQUWDZDQPNBC3ANCNFSM4I25MBWA
.

Cool, I'll take a look at that integration


Update argonaut to 6.3.7

Updates io.argonaut:argonaut from 6.3.1 to 6.3.7.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.argonaut", artifactId = "argonaut" } ]

labels: library-update, semver-patch

Superseded by #1436.


[RN] Uncaught (in promise) ReferenceError: TORUS_FAILED is not defined

Precondition:
The start page with the google/facebook button is opened
Steps to reproduce:

Click the google button
Select a mailbox
Pay attention to the error message

Actual result: The error message and everlasting spinner are displayed after trying to sign up/in into wallet via Google/Facebook
Expected result: The user should be successfully logged up/in after trying to sign up/in into wallet via Google/Facebook
Checked on https://goodnative.netlify.app/ V1.3.1-1
LG V30+ // Android 8.0 // Google Chrome 85.0.4183.121
Desktop: Windows 10 // Google Chrome 85.0.4183.121

Pushed hotfix to the react native. Please test in 20-30min

another issue from now

@sirpy @mauriguz user is able to sign up/in
https://www.screencast.com/t/6nyjAibL
Checked on  native 1.3.1-1
Desktop: Windows 10 // Google Chrome  86.0.4240.75


DocsArchive-<IP_ADDRESS>Auto archive content

Auto archive content from https://github.com/OPS-E2E-PPE/docs-archive-test-source

Docs Build status updates of commit 00781c0:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Release_Archive_master_2020-03-19-06-12-14 has been deleted or has been force pushed: fatal: couldn't find remote ref refs/heads/Release_Archive_master_2020-03-19-06-12-14

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


feat: upgrade go to 1.20 to use coverage profiling for integration tests.

Description
What this PR does / why we need it:
Upgrade go version to 1.20 to leverage coverage profiling support for integration tests.
This PR doesn’t make a big difference in the test coverage, but it adds 600 more lines to the reports.
Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
https://github.com/deislabs/ratify/issues/791
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Helm Chart Change (any edit/addition/update that is necessary for changes merged to the main branch)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration
Test coverage breakdown in main branch:

Test coverage breakdown in this PR:

Checklist:

[ ] Does the affected code have corresponding tests?
[ ] Are the changes documented, not just with inline documentation, but also with conceptual documentation such as an overview of a new feature, or task-based documentation like a tutorial? Consider if this change should be announced on your project blog.
[ ] Does this introduce breaking changes that would require an announcement or bumping the major version?
[ ] Do all new files have appropriate license header?

Post Merge Requirements

[ ] MAINTAINERS: manually trigger the "Publish Package" workflow after merging any PR that indicates Helm Chart Change

Thanks for taking care of this. I think we need to update the dockerfile image builder version here? https://github.com/deislabs/ratify/blob/86a67891fc1a2ffeb343b6e8d514ecd032499f2e/httpserver/Dockerfile#L2


Fix package name in cache-v53 blueprint.xml

If I try to deploy the jar infinispan-hibernate-cache-v53 to Karaf. I receive the error from server:
java.lang.ClassNotFoundException: org.infinispan.hibernate.cache.v51.StrategyRegistrationProviderImpl not found by .m2_repository_org_infinispan_infinispan-hibernate-cache-v53_9.3.0.Final_infinispan-hibernate-cache-v53-9.3.0.Final.jar

Please do this as part of ISPN-8023.

Thank you guys! I didn't amend commit message, adding the JIRA id.


Application permission User.ReadWrite.All can call this /users/{ID}/revokeSignInSessions

[Enter feedback here]
As per this doc, Application only permissions are not supported.
However, I can call /users/{ID}/revokeSignInSessions with only application permissions user.ReadWrite.All.
Sample request logs.
request-id ---> de859712-f864-4cfb-b0ae-24154fea726b
client-request-id" ---> de859712-f864-4cfb-b0ae-24154fea726b
Time Stamp --> Mon, 26 Feb 2024 14:20:59 GMT
Original QnA thread: https://learn.microsoft.com/en-us/answers/questions/1555410/application-permissions-able-to-revoke-user-sign-i

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

ID: 4662c3f7-8566-09b3-962c-2cfcccfcfc2f
Version Independent ID: 1cdc7db2-7c2c-9b23-16f7-05e76f588f6c
Content: user: revokeSignInSessions - Microsoft Graph v1.0
Content Source: api-reference/v1.0/api/user-revokesigninsessions.md
Product: users
Technology: microsoft-graph
GitHub Login: @yyuank
Microsoft Alias: MSGraphDocsVteam

Thank you @zemuldo for reporting this issue.
The permissions information is read from an internal data source. I've therefore filed bug 2853435 assigned to @yyuank for the data to be fixed. The changes will be propagated downstream to the docs within 48 Hours of the fix.
I'll close this issue here since it's a product bug.


Keys held down when the last x window closes continue to be held down when the next one opens

Open urxvt
Close it with ctrl+d
Open urxvt again, it immediately closes because ctrl+d continues to be held down so far as it can tell

Alternatively:

Open urxvt (or any x terminal)
Close it with ctrl+d
Open chromium/firefox/etc and see that it prompts you to save a bookmark (ctrl+d shortcut)

Maybe related https://github.com/Cloudef/orbment/issues/93
[If you're using orbment, perhaps submit to orbment's issue tracker?]

Not using orbment, but thanks for the link.

c8e73ea

Thanks!


Context is caching old values in db after ExecuteScalar

Steps to reproduce
First I read data from the database on an entity that has foreign keys at a values-table into my model.
model.FormSubmission = ctx.FormSubmissions
.Where(fs => fs.CustomerId == id && fs.ProcessedDate == null && fs.CancelDate == null && fs.FormId == form.FormId)
.Include(fs => fs.FormSubmissionState)
.Include(fs => fs.FormSubmissionValues) --here should be old values
.Include(f => f.FormSubmissionChapters).ThenInclude(fc => fc.FormChapter)
.FirstOrDefault();
Then I execute a command using ExecuteScalar updating the values table.
var command = ctx.Database.GetDbConnection().CreateCommand();
command.CommandType = CommandType.StoredProcedure;
command.CommandText = "sp_FormSubmissionValidate";
var param = command.CreateParameter();
param.ParameterName = "@FormID";
param.Value = form.FormId;
command.Parameters.Add(param);
command.Connection.Open();
command.ExecuteScalar();
command.Connection.Close();
If I read the values-table after the procedure has been run I get the old values from the database and not the ones that got updated with the procedure I ran in the ExecuteScalar.
model.FormSubmissionValues = ctx.FormSubmissionValues.Where(fs => fs.FormSubmissionId == model.FormSubmission.FormSubmissionId).ToList();
I understand that a caching mechanism occurs since i touch the same entities (which I will remove - saw this by mistake) but how can I make sure it reads from the database and not from cache? sometimes it is nice to be sure to be sure...
EF Core version: 1.1.0-alpha-21937
Operating system: Win10
Visual Studio version: VS 2015 Update 3

You are going down to the ADO.NET level, and this is not connected with EF change tracking. You need to re-read the updated data using LINQ.

Is there a way to exec the procedure using EF as of now (I now it is not implemented yet)? It is not returning anything. I guess I could make it return FormSubmissionValues and use .FromSQL instead but I really want to avoid it if possible.
By Linq you mean using "from x where"-instead?

I tried these two but with the same result (cached values):
model.FormSubmissionValues = ctx.FormSubmissionValues.FromSql("Select * from dbo.FormSubmissionValues Where FormSubmissionId = {0}", model.FormSubmission.FormSubmissionId).ToList();
model.FormSubmissionValues = (from fs in ctx.FormSubmissionValues where fs.FormSubmissionId == model.FormSubmission.FormSubmissionId select fs).ToList();

@johanskoldekrans I think what you are seeing is that when the context is already tracking an entity, then any query for that entity will not bring back a new entity or update any values in the entity, but rather just return the same instance that is being tracked.
This usually only causes problems when the context is being kept around for more than a single unit of work, so the usual recommendation here is to use a short lived context such that the query that happens after the update is running with a new context instance.
Another way to deal with this is to use Reload, but that hasn't been implemented yet--it is being tracked by issue #1203. You can usually do the equivalent of reload by making an AsNoTracking query for the entity, which will always return the values from the database, and then copying these values into the entity and setting its state to Unchanged.

I was hoping for a reload-option or a way to force the entity to acknowledge the change. I can easily workaround it for now. Thanks for the info and help! Would be nice to force a reload by stating changed objects by the stored procedure.


Make URL creation more fault tolerant

Hello,
Firstly, thanks for this awesome package!
I experienced a 404 error on a production environment because APP_URL in my .env had a forward slash / at the end of it. As a result, the url was created as "www.example.com//opcache-api", which caused the 404.
I've added trimming to the point where the url is created, which will make this more error proof.
Hopefully you can merge this PR in, if you also think it will benefit users of this package.
Thanks again!

Thanks!


Repeat weights in dense layer / Forum registration not possible

Hello I tried to ask this question in the Forum, but somehow the Forum won't let me register saying something about timeout even if I refresh the page for registering. So instead I post this here as feature request.
What I want to achieve is that say for a 3x8x8 input for a dense layer I want the same 8x8 weights to be trained and repeated over the whole input. Is there a condition I can set for the training to repeat the weights multiple times so I train 8x8 weights over a Nx8x8 input instead of training Nx8x8 individual weights over the input?

@Sur3,
Can you please fill the issue template.Also can you please elaborate about your Feature and please specify the Use Cases for this feature. Thanks!

System information

TensorFlow version (you are using): tensorflow-2.5.0
Are you willing to contribute it (Yes/No): maybe

Describe the feature and the current behavior/state.
Training a dense layer on say 3x4 inputs results in 3x4 weights for every output:
a b c d
e f g h
i j k l

It would be nice to tell the layer that some weights are equal, meaning for example with a repeating pattern of four weights:
a b c d
a b c d
a b c d

Who will benefit with this feature?
This greatly reduces the number of weights in cases where the inputs for a layer have similar properties, e.g. in my case training on configurations of thousand water molecules where every molecule is a 8x8 matrix, I could calculate them with only 8x8=64 weights for every output on the first layer instead of 64000 weights for every output which should greatly increase training speed, accuracy and inference.
Will this change the current api? How?
Somehow specifying a condition for the layer to repeat specific weights.
But I just realized this could be seen as a subset of convolutional layers with valid padding where the filter is strided by the filters size, so I will probably try to implement it that way. Though this is not a real convolution as no sliding is happening as the stride is exactly the filter size, therefore this could get more optimized than a convolutional layer.
But implementing it as a convolutional layer is of course a convenient workaround, so I guess this issue could be closed for now.
But still I cant register for the Forum should I still keep the issue open for that regard?


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 811 ms

Resolved: Bofrost.at performance has improved in a277227 after 6 minutes.


Invalid regular expression: invalid group specifier name

Error reported on older versions of Safari:
Invalid regular expression: invalid group specifier name

This is due to the bug in Safari.
I tested it on iOS 13.
Version 2.1.0 has no issues, while version 3.0.3 will throw an error.

We only support the latest browsers. If you need to support an older browser you can use an older version.


lock ts version and move env travis to internal

Coverage remained the same at 100.0% when pulling 8c9cd825c565b6c5cc95e480c66a2658798c0452 on fix-ts into 8c981d777bb96d1626ea040a9b694ca8314d3fe8 on master.

Coverage remained the same at 100.0% when pulling 8c9cd825c565b6c5cc95e480c66a2658798c0452 on fix-ts into 8c981d777bb96d1626ea040a9b694ca8314d3fe8 on master.