feat(u): Add getVarSize helper function

Recreation of https://github.com/CityOfZion/neon-js/pull/603 to enable circleci

No idea how to solve the lint errors. I tried
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore

and it still errors. (related: https://github.com/CityOfZion/neon-js/pull/603#discussion_r502271886)

I've kept the default: case in there, because otherwise it complains about the return type. It however should be unreachable assuming the input matches serializables union


Can not add middleware auth together with web in route group

Hi sir,
Please help me about this problem with my codes below. Im using nwidart module. What I want is to implement authentication using auth middleware in my route::group()
Route::group(['middleware' => ['web','auth'], 'prefix' => 'teacher', 'namespace' => 'Modules\Teacher\Http\Controllers'], function()
{
Route::get('/setsession', 'TeacherController@index');
Route::get('/', 'TeacherController@getClassRecordList')->name('getClassRecordList');
});
In the code above, when I access directly the route getClassRecordList without logging in I will be redirected to login,this is OKAY the route is secured.
When I successfully logged in I will be redirected also to route getClassRecordList  but after reloading the page I will be redirected to login and can not access  the route getClassRecordList. I have to log in again.
The code below is working when I remove the auth in the middleware, everything works fine but no authentication.
Route::group(['middleware' => 'web', 'prefix' => 'teacher', 'namespace' => 'Modules\Teacher\Http\Controllers'], function()
{
Route::get('/setsession', 'TeacherController@index');
Route::get('/', 'TeacherController@getClassRecordList')->name('getClassRecordList');
});
Please help me.
Thank you.

Hello,
This seems to be an issue with your application itself.
Some things to consider:

Make sure your middleware only returns the redirect when needed
Make sure you're storing your sessions correctly


Include response output: yammer commands

Related to #3754

Add the response output for all the commands under the service:

yammer documentation location

You can reference the commands planner plan and planner bucket. They are already contain the Response heading in their documentation.
For more information what guidelines to follow, be sure to check out the epic issue #3754

Hi @Jwaegebaert
Could I work on this?


WSL support.

Additional parameter to support WSL.
Register-SecretVault -ModuleName 'SecretManagement.LastPass' -VaultParameters @{wsl = $true }

I wonder if it would be better to do a vault parameter called lpassPath instead and then that way you can specify the path to lpass inside of wsl. I thought that if you execute an executable that is in wsl that it will run in wsl... but I could be wrong. It might be only the other way around (invoking windows exes in wsl)

From MS Docs - Windows interoperability with Linux, I think what you describe is possible only from Linux to Windows and not the other way around.
I don't think there is a way to do  something like /PathToLpassCli/lpass and call it from windows. Wouldn't you have to mount the vhdx first (I believe within wsl, you get the windows path mount but not the other way around)  ?
In the end, even if it is possible, I don't think it will change things much on the command execution speed but it will definitely make it harder to configure than just call wsl and will force you to unregister / register your vault again if you change distribution.

I guess wsl is pretty unique... it feels weird having a thing in our product just for wsl though... I'm going back and forth.
What about something like @{ lpassCommand = "wsl lpass" } and then the default will just be lpass? This would also support scenarios where folks don't add lpass to their PATH but have it somewhere else. They can just do: @{ lpassCommand = "/path/to/lpass" }.
2 birds, one bug fix? :)

@TylerLeonhardt
Done.
Indeed, this is a much better solution.

the only thing that is problematic here is spaces... lpassCommand = "/tyler leonhardt/lpass" that will break this... but I think the user needs to fix it from there perspective and do: lpassCommand = "& '/tyler leonhardt/to/lpass'" can you include this in the README? Other than that I think this can go in.

@itfranck did you test if you can Set-Secret?

@TylerLeonhardt
There's indeed a problem.
Not only with WSL but I assume if you try to set a secret, you'll get the same issue natively than I since
$InputObject | Invoke-Expression -Command "$lpassCommand @Arguments"

is not good at all.
I assume It would need to be  more like
# For a path
Invoke-Expression -Command "$InputObject | $lpassCommand @Arguments"

but then it won't work for a command since you'd need to put the input in-between, something like :
Invoke-Expression -Command "$lpassCommand  $InputObject | lpass @Arguments"

Without splitting the parameter name in two (to deal with the custom path and command separately), A proper working remediation could be to use the --Field=FIELD parameter (I assume we can put this parameter as many time as we have fields to edit.
Give me 36h.
I'll make a PR to address this properly.
Reference
https://lastpass.github.io/lastpass-cli/lpass.1.html

I think we'll have to special case wsl... Because for that, I think the command needs to be :
wsl $inputObject | lpass...

But I could be wrong about that

In other news, I was writing some tests and found this behavior wasn't working so we shouldn't have this problem in the future :) I'll get those in once master is working.


bug: compute endpointType for all protocol types

Fixes: https://github.com/envoyproxy/gateway/issues/2832

able to add an e2e test?

able to add an e2e test?

the issue is do we want to route to an external FQDN ? Ive seen bad statuses being returned in the past due to middleware thinking we are bots etc, may cause flakes

able to add an e2e test?

the issue is do we want to route to an external FQDN ? Ive seen bad statuses being returned in the past due to middleware thinking we are bots etc, may cause flakes

flakes better than error?

/retest

/retest


Media picker: Switching camera button and exit button are not very visible

A shame because it's beautiful but makes it harder to use. Nead an alternative design

I added the header bar background to the camera view too. See https://github.com/vector-im/vector-ios/issues/533

Matthew, what do you think about the white header suggested by Ben? https://zpl.io/ZB7zyY
I'm not really convinced by this solution. Why not use a rounded background (white) for these 2 buttons?

yeah, it's a real shame to lose all that space to a toolbar. i think a rounded white background would also look ugly though - but it might work if it was translucent (a bit like how the volume control overlay works on iOS9+?)

Ok here is the iterated version of the controls https://zpl.io/ZB7zyY

this is a definite improvement - any hope of going for translucent white on the bg?

Ok I updated the background to have 40% opacity and 10px background blur. https://zpl.io/ZB7zyY

signed off

For information, I decided to use a black background with 40% opacity. This improves the rendering contrast, see the following screenshots:


Sync validators with the client spec and Pilosa server

Coverage remained the same at 100.0% when pulling f2d6fc7250dcf4a865beb7e366ef2398c836a829 on yuce:next-v0.3.3 into 3cdc80f61536416406126077bd231206e33b63ef on pilosa:master.


python311Packages.stim: 1.9.0 -> 1.12.1

Diff: https://github.com/quantumlib/Stim/compare/refs/tags/v1.9.0...v1.12.1
Changelog: https://github.com/quantumlib/Stim/releases/tag/v1.12.1
Description of changes
Fix build (https://hydra.nixos.org/build/241793432)

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 272237 run on x86_64-linux 1

4 packages built:

python310Packages.stim
python310Packages.stim.dist
python311Packages.stim
python311Packages.stim.dist


Fix compat with Composer 2 by using composer/package-versions-deprecated instead of ocramius/package-versions

As suggested by composer 2 when trying to upgrade deps.

Fixes https://github.com/symfony/demo/issues/1127

Might be fixed with a simple composer up if these PRs are accepted:

https://github.com/doctrine/migrations/pull/999
https://github.com/doctrine/dbal/pull/4084
https://github.com/doctrine/orm/pull/8184

All the above are merged.. so do we close this and wait for the above packages to be tagged?

Let's merge this now so it's ready for everybody ... and in the next update we'll install the other dependencies with the needed changes. Thanks Nicolas!


Fix BUILD_WITH_MMAP error in TFLite Makefile

@miaout17 Can you please take a look at this?

Thanks for sending the Pull Request.
However it doesn't look right to disable mmap_allocation when BUILD_WITH_MMAP is true.
Could you describe what issue are you running into?

I'm closing this PR since it's incorrect to simply flipping the logic.
Please create a bug report if you're hitting some issues, with reproduce steps.
Thanks a lot!

@miaout17 I think we should INCLUDE mmap_allocation.cc when BUILD_WITH_MMAP is true, not EXCLUDE it.


fix: Search by number not working

PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Context

[x] Closes #8793

Did your issue had any of the "$" label on it?

[x] Fill up your DOT address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot 📸

[x] My fix has changed something on UI;

breaking tests not related?

thanks!
pay 20 usd

😍 Perfect, I’ve sent the payout
💵 $20 @ 8.37 USD/DOT ~ 2.389 $DOT
🧗 13QUj3pZyFNfYj4AM336hRdyLQbevj5H3sR4PKmLEXLdwZhh
🔗 0xce3b7db95f828d6ddc2e1233795ff3c1572270cef8295dae4016c10423a1f4c8
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


[Question] The cost Q-value network is repeatedly add_module

Required prerequisites

[X] I have read the documentation https://omnisafe.readthedocs.io.
[X] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
[X] Consider asking first in a Discussion.

Questions

[ ] The cost_critic network is repeatedly called with add_module during the creation process in the classes ConstraintActorQCritic and QCritic.

In the class of QCritic:  self.add_module(f'critic_{idx}',critic)
In the class of ConstraintActorQCritic: self.add_moudle('cost_critic',self.cost_ritic)

Feel free to ask to reopen this if you have more questions.


Thank you for publishing the source code to this

It is rare that I read such a good paper, and then find source code to go with it that I can just fiddle with.
Thank you.
In my case, I've been trying to find a way to speed up the babeld daemon's "resend" oriented routines,
which use SADR routes (36 bytes), and also have a timeout associated with them. Presently (sigh) - it's a linked list which falls apart at a mere 10k routes. I considered rbtrees... but still had that pesky timeout...
I was merely trying to get to 64k routes, but hey, a few million wouldn't be bad.... :)

Thanks for the nice feedback.


Handle ads conflict

		// handle possible race condition: if a config change happens while the envoy
		// was getting the initial config, between LDS and RDS, the push will miss the
		// monitored 'routes'. Same for CDS/EDS interval.
		// Wait for proxy initialization

@hzxuzhonghu: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test release-notes_istio

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

@hzxuzhonghu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test release-notes_istio

unit-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test unit-tests_istio

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

@hzxuzhonghu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test release-notes_istio

unit-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test unit-tests_istio

integ-operator-controller-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-operator-controller-tests_istio

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

@hzxuzhonghu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test release-notes_istio

unit-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test unit-tests_istio

integ-operator-controller-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-operator-controller-tests_istio

integ-multicluster-k8s-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-multicluster-k8s-tests_istio

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

@hzxuzhonghu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test release-notes_istio

unit-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test unit-tests_istio

integ-operator-controller-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-operator-controller-tests_istio

integ-multicluster-k8s-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-multicluster-k8s-tests_istio

integ-ipv6-k8s-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-ipv6-k8s-tests_istio

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

@hzxuzhonghu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test release-notes_istio

unit-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test unit-tests_istio

integ-operator-controller-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-operator-controller-tests_istio

integ-multicluster-k8s-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-multicluster-k8s-tests_istio

integ-ipv6-k8s-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-ipv6-k8s-tests_istio

integ-distroless-k8s-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-distroless-k8s-tests_istio

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

@hzxuzhonghu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test release-notes_istio

unit-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test unit-tests_istio

integ-operator-controller-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-operator-controller-tests_istio

integ-multicluster-k8s-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-multicluster-k8s-tests_istio

integ-ipv6-k8s-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-ipv6-k8s-tests_istio

integ-distroless-k8s-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-distroless-k8s-tests_istio

integ-telemetry-k8s-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-telemetry-k8s-tests_istio

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

@hzxuzhonghu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test release-notes_istio

unit-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test unit-tests_istio

integ-operator-controller-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-operator-controller-tests_istio

integ-multicluster-k8s-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-multicluster-k8s-tests_istio

integ-ipv6-k8s-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-ipv6-k8s-tests_istio

integ-distroless-k8s-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-distroless-k8s-tests_istio

integ-telemetry-k8s-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-telemetry-k8s-tests_istio

integ-pilot-k8s-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-pilot-k8s-tests_istio

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

@hzxuzhonghu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test release-notes_istio

unit-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test unit-tests_istio

integ-operator-controller-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-operator-controller-tests_istio

integ-multicluster-k8s-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-multicluster-k8s-tests_istio

integ-ipv6-k8s-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-ipv6-k8s-tests_istio

integ-distroless-k8s-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-distroless-k8s-tests_istio

integ-telemetry-k8s-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-telemetry-k8s-tests_istio

integ-pilot-k8s-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-pilot-k8s-tests_istio

integ-security-k8s-tests_istio
8fd789aede8477ad4d89491738b446052390c2d0
link
/test integ-security-k8s-tests_istio

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


Bump the upper limit on compatible build

Replicates the direct edit I made to the generated plugin.xml to get it working in 2023.1 - works on my machine ;)

Good morning @tonybaines 👋🏼
Many thanks for your merge request and contribution. I appreciate that. However on the next branch, I made this change already. I am gonna merge this merge request soonish. Thanks again.
Greetings 🖐🏼

Good morning @tonybaines 👋🏼
Many thanks for your merge request and contribution. I appreciate that. However on the next branch, I made this change already. I am gonna merge this merge request soonish. Thanks again.
Greetings 🖐🏼

I guessed as much, but I didn't want to just raise an issue - seems like
nagging.
Thanks again for the plugin
On Thu, 6 Apr 2023 at 08:49, Yusuf Uğur ÖZBEK @.***>
wrote:

Good morning @tonybaines https://github.com/tonybaines 👋🏼
Many thanks for your merge request and contribution. I appreciate that.
However on the next branch, I made this change already. I am gonna merge this
merge request
https://github.com/yusufugurozbek/testcontainers-port-updater/pull/129
soonish. Thanks again.
Greetings 🖐🏼
—
Reply to this email directly, view it on GitHub
https://github.com/yusufugurozbek/testcontainers-port-updater/pull/128#issuecomment-1498635181,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAC4V6KAZJ7KXSRMWAHQX3LW7ZYP3ANCNFSM6AAAAAAWVAWMLA
.
You are receiving this because you were mentioned.Message ID:
@.***
com>

--
~Tony

I don't mind if you create an issue or a merge request. I love to hear from the plugin users 🤗
Btw. I released a new version. In the next few days, that should be available.


Separate MFA configuration for frontend/backend users

Overview
It's plausible that a site may have different security requirements for backend (CMS) and frontend users - where MFA may be required for the CMS but optional for frontend users.
User story
As a developer, I want the ability to enable distinct MFA settings based on user permissions, so that MFA could be enforced for one set of users and optional for another set.
ACs

There is configuration at a developer level to separately manage how MFA is enforced for at least two types of member permissions.

@brynwhyman given that MFA is enabled only for CMS access users (configurable) does this ticket need to remain open?
I'm unsure what the actions for it.

This issue covers functionality requirements that are far from the scope of our current implementation project. Closing.


Added question word filter

Hi! Thanks for your neat PR.

The check seems to have failed. Could you please fix this?

test = {'class': 'ContractionExpansions', 'inputs': {'sentence': "Alex can't afford to buy that car"}, 'outputs': {'sentence': 'Alex cannot afford to buy that car'}}
    def execute_sentence_operation_test_case(transformation, test):
        filter_args = test["inputs"]
        outputs = test["outputs"]
        perturbs = transformation.generate(**filter_args)
        for pred_output, output in zip(perturbs, outputs):
>           assert pred_output == output["sentence"]
E           TypeError: string indices must be integers

I wonder if you have considered expanding the filter to also cover broader question types (those defined in e.g. UIUC question classification, or in the SQuAD paper)? It might give us more interesting insights beyond question words!

Hi! Thanks for your neat PR.

The check seems to have failed. Could you please fix this?

test = {'class': 'ContractionExpansions', 'inputs': {'sentence': "Alex can't afford to buy that car"}, 'outputs': {'sentence': 'Alex cannot afford to buy that car'}}
    def execute_sentence_operation_test_case(transformation, test):
        filter_args = test["inputs"]
        outputs = test["outputs"]
        perturbs = transformation.generate(**filter_args)
        for pred_output, output in zip(perturbs, outputs):
>           assert pred_output == output["sentence"]
E           TypeError: string indices must be integers

I wonder if you have considered expanding the filter to also cover broader question types (those defined in e.g. UIUC question classification, or in the SQuAD paper)? It might give us more interesting insights beyond question words!

Thanks for the review  @tongshuangwu

Will fix that issue in the next commit
Indeed, will extend it to cover the broader question types as stated in the SQuAD paper

I think the PR satisfies the review criteria in the current state. I also think this is a good opportunity where there could be more question types incorporated (as @tongshuangwu mentioned the UIUC taxonomy). So, I highly recommend you to do that in a subsequent PR if you are interested.
Besides, for this PR, please add the spacy fix and the docstrings and I am happy to approve. :)
Great work @tanay2001!

Hi @kaustubhdhole
I am not exactly sure why the test is failing when it's passing locally, even the error message doesn't seem to originate from my code as much as I could understand , would appreciate your help !
Thanks


Rat King AI is Hostile

Rat King AI is Hostile

Makes the rat king a hostile AI if spawned, rather than wandering around and ignoring players.
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl: Whisper

fix: Rat King AI is no longer friendly and will attack players.

Let me know if I missed anything, I borrowed the code from the rat servant and it seems to be right.


Crash report seems to come from VMP (Index -1 out of bounds for length 8193

Describe the bug
The server starts backing up with mod "Textile backup", shortly after it crashes and the crashlog includes only a reference to VMP in the stacktrace.
To Reproduce
Steps to reproduce the behavior:

install Textile Backup
Wait a few backup cycles (it doesnt always crash on the same backup attemp)

Expected behavior
The backup running through smoothly as it does all of the other times without getting a crash.
Screenshots
-none-
Runtime info (please complete the following information):

OS: Linux (amd64) version 5.15.74-1-pve
Minecraft version: 1.20.1
Mod version: Very Many Players 0.2.0+beta.7.96
Mod branch: (fill this if you are not using the default ver branches)

Crash reports / logs
Crash-report: https://mclo.gs/hNdrhqL
Other mods

Checklist

[x ] I am using the official version of the mod.
[ ] I tried the latest development version but the issue persists.
[x ] I searched for similar open issues and could not find an existing bug report on this.

Additional context

This issue is likely related to Szum123321/textile_backup#123.
Textile backup appears to be saving worlds asynchronously, which might have caused this issue:
https://github.com/Szum123321/textile_backup/blob/04533f89fdd4d615f90932f86d46b698339d8f2d/src/main/java/net/szum123321/textile_backup/core/create/ExecutableBackup.java#L69
Changes have been made to prevent asynchronous access to ticket level propagator.


Diff wrong on large files

Issue Description
Type: bug report
Describe what happened (or what feature you want)
During PR review, it seems like with larger line counts the syntax highlighting gets tripped up and it will consider the entire file new/changed.
Describe what you expected to happen
Only show the one line that changed as new instead of the whole file.
How to reproduce it (as minimally and precisely as possible)

Set up a PR with one line changed in a file with 1,000+ lines (currently the one I am looking at is 1,082)
:Octo <url here>
:Octo review start

Tell us your environment

Octo at 1e2376ac6966805be9967f4ea0e4cf7c750f8214
NVIM v0.9.5

Anything else we need to know?
The only config I've changed from default is set use_local_fs to true.

I'm also having this issue, though I haven't found a consistent reproduction. With you, does that always happen when reviewing large files?

I had thought so, but I hadn't been paying close attention. However right now it's happening on a file with only 290 lines.


only prepend dir_path when folder path ist not absolute

Absolute paths for download folders "path.ebooks=/home/user/library/ebooks" will now work so that they are not forced to be in the packtpub folder.
Since paths starting with a slash would have broken the script ("/ebooks" -> "packtpub//ebooks"), this should not break any configurations.

I have to spend some more time on it, it might cause issues with the optional folder structure.


Models providing seemingly random text?

I couldnt run gpt4all-j model for the same reason as the people in this thread: https://github.com/go-skynet/LocalAI/issues/88
However, I can run other models, like ggml-gpt4all-l13b-snoozy.bin, ggml-vicuna-7b-1.1-q4_2.bin etc.
But when I do the api responds the weirdest text.
curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/json" -d '{
     "model": "ggml-gpt4all-l13b-snoozy.bin",
     "messages": [{"role": "user", "content": "What is Kubernetes?"}],
     "temperature": 0.7
   }'

{"object":"chat.completion","model":"ggml-gpt4all-l13b-snoozy.bin","choices":[{"message":{"role":"assistant","content":"Yes, there are several other ways to generate random numbers in Python. Here are a few examples:\n```python\nimport random\n\n# Generate a list of random integers between 1 and 6\nrandom.sample(range(1, 7), 3)\n\n# Generate a string of random characters\nimport string\nimport random\n\n# Generate a string of length 5 containing only letters (a-z)\nrandom_string = ''.join([random.choice(string.ascii_uppercase) for _ in range(5)])\n```"}}],"usage":{"prompt_tokens":0,"completion_tokens":0,"total_tokens":0}}%

curl http://localhost:8080/v1/completions -H "Content-Type: application/json" -d '{
     "model": "ggml-gpt4all-l13b-snoozy.bin",
     "prompt": "What is a cat?",
     "temperature": 0.7
   }'
{"object":"text_completion","model":"ggml-gpt4all-l13b-snoozy.bin","choices":[{"text":"The question is about the origin of life on Earth, specifically the role of the Big Bang and abiogenesis in shaping the conditions for life to emerge."}],"usage":{"prompt_tokens":0,"completion_tokens":0,"total_tokens":0}}%

Hi 👋
Did you provided the gpt4all prompt template for the model?

I think there was a regression as the input was cleared up if the model template is missing. Fix is in #187

That should be fixed now. cutting a new patch release - please feel free to reopen if it doesn't work!


Fix Default missing some default values

Fixes https://github.com/milessabin/shapeless/issues/474

@alexarchambault should these tests be using assertTypedEquals instead of ascribing the type (which could influence inference)?
I assume that the return types can be inferred.

Good point, it'd be better to ensure we get the right type without influencing inference.
I'm not too keen about using assertTypedEquals[A] for that though, as it only checks that the type under scrutiny is <: A, not that it is =:= A. I'd like to be sure that the Some parameters aren't literal ones, e.g. I want Some[String], not Some[Witness.`"b"`.T] (note that this point is not tested currently, just saying it would be better like this).
There's a equalInferredType function that does just that. So here, I think I'd prefer to devise a assertSameTypeEquals, ensuring that the inferred types of both of its arguments are the same (and not that they are just <: to a common super type).

I just recalled that I think we are reliving a past conversation :) https://github.com/milessabin/shapeless/pull/97#issuecomment-45450057
This PR seems to fix the much bigger problem of default arguments not working for top-level classes, so I'd hate for it to get hung up on being finicky about testing the exact inferred types. I say :+1: for either merging it now or with assertTypedEquals and/or equalInferredType, and we can always revisit our typed equal test functions.

@ceedubs I remember https://github.com/milessabin/shapeless/pull/97 :-) I just used assertTypedEquals in the tests of Default, so that it would easier to revisit them later.

:+1:

Who else could :+1: that... :smile: @travisbrown ?

:+1:, looks good to me!

Changed the above comment following @travisbrown advice.
As the last change is rather minor, I'll consider this good to merge in a few hours unless anyone objects.

(Forced push a change in a test method name (now topLevel), that should have been done along with the previous change.)

Thanks folks :-)


Remove deprecated lifecycle methods screen settings

Summary
Remove deprecated lifecycle method (UNSAFE_componentWillRecieveProps, v.React 17+ ) to newer feature lifecycle method called static getDerivedStateFromProps .
Not specially a UI change just a background behaviour changes, thats why no screenshots are included and no need.
Ticket Link
https://github.com/mattermost/mattermost-server/issues/12354
Checklist

[x] Has UI changes

Device Information
MacOS
Screenshots

Not understanding why these tests are failing
`FAIL  app/screens/settings/notification_settings_email/notification_settings_email.ios.test.js
● NotificationSettingsEmailIos › should save preference on back button only if email interval has changed
expect(jest.fn()).toHaveBeenCalledTimes(1)

Expected mock function to have been called one time, but it was called zero times.

  64 |         wrapper.setState({newInterval: '0'});
  65 |         instance.componentDidDisappear();
> 66 |         expect(baseProps.actions.updateMe).toHaveBeenCalledTimes(1);
     |                                            ^
  67 |         expect(baseProps.actions.savePreferences).toHaveBeenCalledTimes(1);
  68 |     });
  69 |

  at Object.toHaveBeenCalledTimes (app/screens/settings/notification_settings_email/notification_settings_email.ios.test.js:66:44)

`

Hey @GunnlaugurCalvi, thanks for your contribution! There is a build failure from above, can you help review it? If any questions about it, let us know!

@GunnlaugurCalvi Thanks for your contribution.  I'll run some test once initial code reviews from @migbot are addressed.

This issue has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!
/cc @jasonblais @hanzei

Hey @GunnlaugurCalvi,
Is the provided feedback clear? Do you have any questions?

Closing as the fork was removed. Will re-open the ticket as up for grabs


Implement methods for setting the timeout for HTTP & WebSocket communication

As per title

Solved by pull request https://github.com/ros-industrial/abb_librws/pull/44


Windows Hello Integration does not Address Office/AAD Use

This article is OLD - 2016. It hardly applies to real use and does not even attempt to cover applications that are built to use Azure services and AAD as the "server" of credentials. The integration is convoluted. If this article does cover this integration then it totally fails at describing the process.
Consider HoloLens 2 - this is a Windows 10 device and UWP. There is no keyboard/mouse and it is not practical to even think about a login MFA experience with the built in capability of HoloLens 2.
There MUST be a way to use Hello on tablets and devices not equipped for keyboard/mouse.
This article should be updated and expanded to include "modern" Windows and cloud use. At least a new section should be developed and added to address implement the "Passwordless" application.
The sample referenced in the Overview are VS2015 - Here. Typical Microsoft - write once and forget! Nobody would use this model today.

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

ID: 4b1a69a3-81e8-4ef3-e928-6cf348d402c3
Version Independent ID: 395b9716-26fa-c43a-6f45-a691b729f3ff
Content: Create a Windows Hello login app - UWP applications
Content Source: windows-apps-src/security/microsoft-passport-login.md
Product: uwp
Technology: platform
GitHub Login: @hickeys
Microsoft Alias: hickeys

Thanks for submitting your feedback and we apologize for the delayed response. I see that updates have not been made since the creation of this Issue, so I went ahead and created an internal work item to incorporate your suggestions for the new Windows Hello docs for WinUI apps. The timeline for this may vary, so I will go ahead and close this and circle back when the changes are live.
Though the Issue will be marked as Closed, we will monitor any replies that come afterwards so treat this like an open Issue. Many thanks!


feat: (EVPN GW API) Add "components" field to each API object's status

This is an API enhancement for the EVPN GW use case.
The addition of a "components" field in the status sector of each API object will enable the capture of the state and details that are generated by the different subscribed components (FRR component, Linux component, etc...) which are realizing the configuration for each API object.
This addition follows the re-architecture of the opi-evpn-br which has been described here

Thank you @sandersms


fix: add def in test

Proposed changes
missing def will cause variable is global, it's easily to cause concurrent problem
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


The application crashes when viewing emails

Checklist

[X] I have used the search function to see if someone else has already submitted the same bug report.
[X] I will describe the problem with as much detail as possible.

App version
6.502
Where did you get the app from?
Google Play
Android version
12
Device model
No response
Steps to reproduce

Click to email
Crash!

Expected behavior
Crash
Actual behavior
WebView 107.0.5304.105(530410503)(7.0-13.0)
Logs
k9mail-logs.txt

This is a crash in the WebView component on your device, not K-9 Mail. Make sure to update to the latest WebView version available for your device. If that doesn't fix the issue, report this as a bug to the creator of the Android version on your device.


add checks to disable buttons who are coming from links without enough permissions

would be nice to fix the CI 😄

Right. I just fixed this earlier today, but on main ;)


problems with authentication on GIT BASH

the command git phlow auth doesn't work as it should on GIT BASH, what happens is when you type in your username and press enter your password is being set to the same as your username. instead of you getting the chance to fill in your password

issue is related to #158 and is fixed


Apps doesn't opens specific page  when App comes from background.

I'm using [https scheme, custom scheme, https and custom schemes] and am testing
on my [iPhone6, Google Pixel, iOS Simulator, Android Emulator],
which is running [iOS8.1, Android 8: Oreo].
...add any other context about the problem here.
e.g. I call '...' method and... nothing happens!!!

This plugin is not going to navigate your app by magically. It is up to you as a developer to use the details from this plugin to then do the navigation programmatically.

@avioli maybe he tried. I tried and it's not working. It's working just if the app is closed.

I can confirm that it does not work anymore.

@avioli maybe he tried. I tried and it's not working. It's working just if the app is closed. I tried with linkStream and uriLinkStream

If you are using android emulator, use the full command as shown in the readme :
adb shell 'am start -W -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d "unilinks://host/path/subpath"'

Actually for me the problem was pushAndRemoveUntil(). If I use push() is working.

i am facing the same issue...when app is not running in back ground, it able to go to next screen. but when app running in back background we are not able move to next screen

try this https://github.com/avioli/uni_links/issues/125#issuecomment-875509859

The opposite happens to me when the app is closed it does not open a url that I want to show ... it only opens the home ... what can I do there?

i have same issue

i solve this issue by do this

don't forget add the
WidgetsBinding.instance.addPostFrameCallback

you can close this issue


no such file or directory, scandir 'E:\keycloak_custom\my-app\build_keycloak\src\main\resources\theme\my-app\tmp_xxKdLpdIdLd\keycloak\login\resources'

Error: ENOENT: no such file or directory, scandir 'E:\keycloak_custom\my-app\build_keycloak\src\main\resources\theme\my-app\tmp_xxKdLpdIdLd\keycloak\login\resources'
    at Object.readdirSync (node:fs:1390:3)
    at crawlRec (E:\keycloak_custom\my-app\node_modules\keycloakify\bin\tools\crawl.js:41:39)
    at crawl (E:\keycloak_custom\my-app\node_modules\keycloakify\bin\tools\crawl.js:61:9)
    at transformCodebase (E:\keycloak_custom\my-app\node_modules\keycloakify\bin\tools\transformCodebase.js:48:50)
    at generateKeycloakThemeResources (E:\keycloak_custom\my-app\node_modules\keycloakify\bin\build-keycloak-theme\generateKeycloakThemeResources.js:124:51)
    at main (E:\keycloak_custom\my-app\node_modules\keycloakify\bin\build-keycloak-theme\build-keycloak-theme.js:57:73)
    at Object.<anonymous> (E:\keycloak_custom\my-app\node_modules\keycloakify\bin\build-keycloak-theme\index.js:17:37)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32) {
  errno: -4058,
  syscall: 'scandir',
  code: 'ENOENT',
  path: 'E:\\keycloak_custom\\my-app\\build_keycloak\\src\\main\\resources\\theme\\my-app\\tmp_xxKdLpdIdLd\\keycloak\\login\\resources'
}

On Windows you'll have to use WSL.
are you?

hi @garronej thank you for your response,
Yes, I'm using WSL on my pc, also, docker was running while I was performing the operation.

Ok bummer,
Are you using create-react-app?
Could you please try to build the demo project and tell me if it work?

Hi, i run the demo project and got this error

@kousherAlam This is what you get when it's working:

Hi @garronej , I still get the error, and as you can see, 34.8M is downloaded properly

okay, this is something else then...
Is it you that submited this request for help on the keycloak comunity server ?

No not me bro.
But did you guys solved this issue ??

I am currently setting up a Windows Dev environment to try reproduce the issue

Can't reproduce. It work on my machine.

@kousherAlam damn,
I didn't notice but you have backslashes (\) in the screen shot you shared with me!!!
This means that node for windows is running instead of node for linux.
Are you sure you are using WSL and not cygwin?
I am not familiar with WSL but maybe you haven't installed node for your ubuntu and it's faling back to node for windows.
Anyway you need to install node and yarn for linux:
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
npm install --global yarn

Then
rm -rf node_modules
yarn
yarn keycloak

Hi, @garronej
You were right, now it's successfully building the demo app.
Thanks for your help bro.

@kousherAlam no problem!
If I may ask, would you follow me on github? I need to reach 100 follower.
If you do, thank you!

That's a create-react-app issue

@kousherAlam damn, I didn't notice but you have backslashes (\) in the screen shot you shared with me!!! This means that node for windows is running instead of node for linux. Are you sure you are using WSL and not cygwin? I am not familiar with WSL but maybe you haven't installed node for your ubuntu and it's faling back to node for windows. Anyway you need to install node and yarn for linux:
curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
npm install --global yarn

Then
rm -rf node_modules
yarn
yarn keycloak

When I run 'npm install --global yarn' I get this: node: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by node)... Could you please help me!

npm install --global yarn

Hey @garronej

for the advanced app I'm having this error, could you plz help me?

Hi @bakh4966,
I'll need more info, your screen shot is cropped I can't see the relevent part.
And please open another ticket.

I have this issue as well. I am trying to set up a keycloak theme, using the starter project. Isn't this just supposed to work on Windows? I don't understand why you need to run the yarn commands in Linux.
yarn install v1.22.19
success Already up-to-date.
$ copy-keycloak-resources-to-public
node:fs:1527
  handleErrorFromBinding(ctx);
  ^

Error: ENOENT: no such file or directory, scandir 'C:\Wefabricate\Projects\keycloakify-starter\public\keycloak-resources\tmp_suLeKsxId_c5f68d7a\keycloak\account\resources'
    at Object.readdirSync (node:fs:1527:3)
    at crawlRec (C:\Wefabricate\Projects\keycloakify-starter\node_modules\keycloakify\bin\tools\crawl.js:43:35)
    at crawl (C:\Wefabricate\Projects\keycloakify-starter\node_modules\keycloakify\bin\tools\crawl.js:65:5)
    at transformCodebase (C:\Wefabricate\Projects\keycloakify-starter\node_modules\keycloakify\bin\tools\transformCodebase.js:52:50)
    at C:\Wefabricate\Projects\keycloakify-starter\node_modules\keycloakify\bin\keycloakify\generateTheme\downloadKeycloakStaticResources.js:107:63
    at step (C:\Wefabricate\Projects\keycloakify-starter\node_modules\keycloakify\bin\keycloakify\generateTheme\downloadKeycloakStaticResources.js:56:23)
    at Object.next (C:\Wefabricate\Projects\keycloakify-starter\node_modules\keycloakify\bin\keycloakify\generateTheme\downloadKeycloakStaticResources.js:37:53)
    at fulfilled (C:\Wefabricate\Projects\keycloakify-starter\node_modules\keycloakify\bin\keycloakify\generateTheme\downloadKeycloakStaticResources.js:28:58) {
  errno: -4058,
  syscall: 'scandir',
  code: 'ENOENT',
  path: 'C:\\Wefabricate\\Projects\\keycloakify-starter\\public\\keycloak-resources\\tmp_suLeKsxId_c5f68d7a\\keycloak\\account\\resources'
}


Update Rust Exporter

Is your feature request related to a problem? Please describe.
The rust exporter currently outputs really old Rust.
Describe the solution you'd like
Update the rust exporter. These are things I noticed

No need for extern crate lines
No macro_use are necessary anymore
Requires use serde::{Serialize, Deserialize}

Describe alternatives you've considered
Currently I'm rewriting the code automatically once generated.

any update on this?


Table formatting seems to be no longer working in preview and exported HTML

Hi there,
This is the issue:

This is how it looks with marp: false

Any hint towards what the issue may be will be greatly appreciated.
So far I tried a different laptop, re-installing the plugin.
I checked exporting the presentation to HTML, which works, but the end result also looks like preview (table with ASCII art).
I'm running VS code 1.52.1
Ubuntu 20.04.
Marp 0.17.3.
Copy & paste-able table from the screenshot:
---
marp: true
title: Kubernetes Upgrades
theme: gaia
paginate: true
_paginate: true
---

# Kubernetes versions

Bright | Kubernetes | Initial release | Release
:-----|------|----|----|----|
8.0 | 1.6.0 | Mar 28 2017 | Mar 28 2017
8.1 | 1.10.13 | Mar 27 2018 | Feb 13 2019 |
8.2 | 1.12.10 | Sep 28 2018 | Jul 8 2019
9.0 | 1.16.1 | Sep 18 2019 | Oct 2 2019
9.1 | 1.18.8 | Mar 25 2020 | Aug 13 2020

Omitting versions of CNI, Helm, Calico, CoreDNS, Etcd, *etc.*

Cheers,
Ray

There is too much splitter in the delimiter row of your table.
 Bright | Kubernetes | Initial release | Release
-:-----|------|----|----|----|
+:-----|------|----|----|
 8.0 | 1.6.0 | Mar 28 2017 | Mar 28 2017
 8.1 | 1.10.13 | Mar 27 2018 | Feb 13 2019 |
 8.2 | 1.12.10 | Sep 28 2018 | Jul 8 2019
 9.0 | 1.16.1 | Sep 18 2019 | Oct 2 2019
 9.1 | 1.18.8 | Mar 25 2020 | Aug 13 2020

The reason why you could see the different output between Markdown preview and Marp preview is that you're using an outdated VS Code 1.52. It's using markdown-it module v10.0.0 as Markdown parser, but Marp and the latest VS Code use markdown-it v12.x.x that has included the updated and more strict table parser.
Try update your VS Code to get strict rendering.

Woah, you're right, I tried updating VS Code and now it also fails to render with marp: false. Sorry didn't double check my markdown, I assumed it wasn't broken :dizzy_face:

Thanks for the response, I guess I can close it!


Change Python Logo

Hi is there a way to change the python logo back to what PyCharm normally uses?
I love this plugin and all the icons, except the Python one. Like orange really? It's driving me crazy while coding lol
I can fork this repo and do it myself if you can point me in the right direction to how to disable certain icons; not a java guy at all unfortunately.
I see that Jetbrains had a whole section on developing plugins I could use to get this done.
Would be a nice feature to add for people to choose which plugins are enabled or not.

Same needs here. This plugin and the icons are outstanding, however, some of the file icons that I would like to enable the default one. If there could an option that user can choose whether to use the default icon would be really nice.

@luokuning I came across this plugin which has a lot of the atom icons and it is possible to edit them.
Unfortunately I couldn't use it though because it removed the breakpoint icons in PyCharm for me.

I’m finally working on the custom file associations, though in all honesty I am not sure that will be what you request but it would allow you to override the default ones


Configure aws terraform to allow multiple efs

For https://github.com/2i2c-org/infrastructure/issues/4461

Terraform output
Terraform planned the following actions, but then encountered a problem:

  # aws_efs_file_system.homedirs will be destroyed
  # (because resource uses count or for_each)
  - resource "aws_efs_file_system" "homedirs" {
      - arn                             = "arn:aws:elasticfilesystem:us-west-2:783616723547:file-system/fs-b25253b5" -> null
      - creation_token                  = "ded6e536cc9e07f14207cd7df6c6f666" -> null
      - dns_name                        = "fs-b25253b5.efs.us-west-2.amazonaws.com" -> null
      - encrypted                       = true -> null
      - id                              = "fs-b25253b5" -> null
      - kms_key_id                      = "arn:aws:kms:us-west-2:783616723547:key/45bb02b5-4366-4f64-a500-7bcf57c4470f" -> null
      - name                            = "hub-homedirs" -> null
      - number_of_mount_targets         = 3 -> null
      - owner_id                        = "783616723547" -> null
      - performance_mode                = "generalPurpose" -> null
      - provisioned_throughput_in_mibps = 0 -> null
      - size_in_bytes                   = [
          - {
              - value             =<PHONE_NUMBER>064
              - value_in_ia       =<PHONE_NUMBER>20
              - value_in_standard =<PHONE_NUMBER>44
            },
        ] -> null
      - tags                            = {
          - "Name" = "hub-homedirs"
        } -> null
      - tags_all                        = {
          - "Name" = "hub-homedirs"
        } -> null
      - throughput_mode                 = "bursting" -> null
        # (2 unchanged attributes hidden)

      - lifecycle_policy {
          - transition_to_primary_storage_class = "AFTER_1_ACCESS" -> null
            # (2 unchanged attributes hidden)
        }
      - lifecycle_policy {
          - transition_to_ia                    = "AFTER_90_DAYS" -> null
            # (2 unchanged attributes hidden)
        }

      - protection {
          - replication_overwrite = "ENABLED" -> null
        }
    }

  # aws_efs_file_system.homedirs["filestore"] will be created
  + resource "aws_efs_file_system" "homedirs" {
      + arn                     = (known after apply)
      + availability_zone_id    = (known after apply)
      + availability_zone_name  = (known after apply)
      + creation_token          = (known after apply)
      + dns_name                = (known after apply)
      + encrypted               = (known after apply)
      + id                      = (known after apply)
      + kms_key_id              = (known after apply)
      + name                    = (known after apply)
      + number_of_mount_targets = (known after apply)
      + owner_id                = (known after apply)
      + performance_mode        = (known after apply)
      + size_in_bytes           = (known after apply)
      + tags                    = {
          + "Name" = "hub-homedirs"
        }
      + tags_all                = {
          + "Name" = "hub-homedirs"
        }
      + throughput_mode         = "bursting"

      + lifecycle_policy {
          + transition_to_primary_storage_class = "AFTER_1_ACCESS"
        }
      + lifecycle_policy {
          + transition_to_ia = "AFTER_90_DAYS"
        }

      + protection (known after apply)
    }

Plan: 1 to add, 0 to change, 1 to destroy.
╷
│ Error: Instance cannot be destroyed
│
│   on efs.tf line 42:
│   42: resource "aws_efs_file_system" "homedirs" {
│
│ Resource aws_efs_file_system.homedirs has lifecycle.prevent_destroy set, but the plan calls for this resource to be destroyed.
│ To avoid this error and continue with the plan, either disable lifecycle.prevent_destroy or reduce the scope of the plan using
│ the -target option.

Will try a dry-run of terraform state mv as @sgibson91 described in https://github.com/2i2c-org/infrastructure/pull/4373

Because of the extra complexities of creating mount targets in each network subnet, there had to be 5 state mv commands:
terraform state mv 'aws_efs_file_system.homedirs' 'aws_efs_file_system.homedirs["filestore"]'
terraform state mv 'aws_efs_backup_policy.homedirs' 'aws_efs_backup_policy.homedirs["filestore"]'

terraform state mv 'aws_efs_mount_target.homedirs["subnet-0048ebd5f1c78fc2f"]' 'aws_efs_mount_target.homedirs["subnet-0048ebd5f1c78fc2f.fs-b25253b5"]'
terraform state mv 'aws_efs_mount_target.homedirs["subnet-0c6a10d3839a0697d"]' 'aws_efs_mount_target.homedirs["subnet-0c6a10d3839a0697d.fs-b25253b5"]'
terraform state mv 'aws_efs_mount_target.homedirs["subnet-0dcca381809b80b79"]' 'aws_efs_mount_target.homedirs["subnet-0dcca381809b80b79.fs-b25253b5"]'

And now the terraform plan output is clean:
Changes to Outputs:
  ~ nfs_server_dns            = "fs-b25253b5.efs.us-west-2.amazonaws.com" -> [
      + "fs-b25253b5.efs.us-west-2.amazonaws.com",
    ]

You can apply this plan to save these new output values to the Terraform state, without changing any real infrastructure.

So, I did something else in order to avoid running the terraform state mv 5 times for all of the aws clusters as I was afraid that process will be very error prone.
The last commit keeps the original EFS related terraform resources and just adds new ones to account for the new map of EFSes that's now possible.
I verified this on the 2i2c-aws-us cluster and with the current code it's a no-op, so that's good.
I will leave this as it is atm because it's late and don't want to mess anything, but tomorrow I will need to run terraform state mv back for the openscapes cluster, and then create a new efs for the staging hub there, and merge this PR once that's done.
So until tomorow terraform state for openscapes is currently broken.

In its current state, the terraform plan output now is:
Terraform will perform the following actions:

  # aws_efs_backup_policy.homedirs has moved to aws_efs_backup_policy.homedirs[0]
    resource "aws_efs_backup_policy" "homedirs" {
        id             = "fs-b25253b5"
        # (1 unchanged attribute hidden)

        # (1 unchanged block hidden)
    }

  # aws_efs_file_system.homedirs has moved to aws_efs_file_system.homedirs[0]
    resource "aws_efs_file_system" "homedirs" {
        id                              = "fs-b25253b5"
        name                            = "hub-homedirs"
        tags                            = {
            "Name" = "hub-homedirs"
        }
        # (14 unchanged attributes hidden)

        # (3 unchanged blocks hidden)
    }

Plan: 0 to add, 0 to change, 0 to destroy.

Changes to Outputs:
  + nfs_server_dns_list       = []

You can apply this plan to save these new output values to the Terraform state, without changing any real infrastructure.

So I'll go ahead and merge this PR since it's not breaking anything existing


Test mirroring in service mesh

We need to test mirroring with service mesh and update the docs accordingly. On a cluster with istio, check that mirroring works with HTTP1 and HTTP2, and with gRPC over HTTP1 and HTTP2.

After some testing it seems that post update so mirroring interceptor listens to lo interface on meshed clusters (unless specified otherwise) both HTTP1.1 and HTTP2.0 traffic seem to mirror successfully.
I used the yages grpc echo server for tests + .net 8 c# implementation of said yages-schema.proto with rider + mirrord plugin to test out the mirroring. (easy deployment and supports grpc reflection for easy tests)
Haven’t tested grpc streaming api though it probably will have the same limitations as non meshed mirroring. Retrospectively the update so listener for mirroring would change to lo should have been added with update to iptables on stealing api to support mirroring because it's essentially the same problem.


faster crop

This makes the crop faster in a few ways:

Do the crop on an Array, which has faster indexing than a Tensor.
Do the derivative only with respect to the bounding box position, so that we don't spend time calculating the derivative with respect to the input image.
Do the pullback with a custom vjp that is more efficient than the synthesized vjp.

@ProfFan this is just the speedups that I have already shown you. I have some additional speedups that I'll put in a separate PR soon.

Nice !


Create open data portal to show aggregated stats across programs

#1337 lets CiviForm admins export demographic and other aggregate data to put on the City's open data portal. But it might be useful to show overall (coarse) stats for programs right on CiviForm itself. We can just have a "Data" tab that shows the number of applications to each program, with perhaps a little more high-level demographic data.

Is this for CiviForm admin or program admin?

This should be a publicly-visible page on the site (perhaps put a link in the footer to this page).


Clicking on the Code-tab leads to invalid URL

Gitea version (or commit ref): 1.4.2
Git version: 2.17.0
Operating system: macOS 10.13.4
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[x] No, but on https://git.damutten.ch/Nicolas/todolist
[ ] Not relevant

Log gist:

Description
When browsing a tag, clicking on the Code-tab leads to an invalid url/404. It incorrectly gets linked to src/branch/tagname instead of src/tag/tagname.
Screenshots

As far as I see this issue only occurs on the release/1.4 branch. Is this correct?
@johnrazeur of course, we are happy if you do!

Yes, the issue doesn't occurs on master.

@daviian It seems like it, yes. Just wanted to comment on it, but you were a few seconds faster…
I reinstalled it with brew reinstall --devel and it works like a charm now.
@johnrazeur Thanks for offering to help!
I'm closing the issue for now.

@cleverer I would like stay this on v1.4.3 @johnrazeur please send a PR to release/v1.4

Found the commit, which fixes the behaviour: 3a6f3c8c119927b4ed9ea814342f1b15bd29d93d, #3908

Fixed by #4263


[windows] Add pack script for windows tests

It's successfull to pack in windows8

BUG=https://crosswalk-project.org/jira/browse/XWALK-4904

@Honry Pls also help to review

@qiuzhong Pls also help to review

Please update your summary since this script is not only for usecase-wrt-windows-tests

LGTM

LGTM


[Bug] Your Bug Report Here Requesting changes to 'List Governance Groups' (list-workgroups)

Describe the bug A clear and concise description of what the bug is.
It is possible to use the "filters" parameter within the endpoint. However, it is not included in the documentation.
To Reproduce Steps to reproduce the behavior:
https://{{name}}.api.identitynow.com/beta/workgroups?filters=name eq "xpto"
Expected behavior A clear and concise description of what you expected to happen.
Actual behavior A clear and concise description of what actually happens.
Screenshots If applicable, add screenshots to help explain your problem.
Operating System (please complete the following information):

OS: [e.g. Windows 10 19044.1889, Ubuntu 18.04, Mac OS Monterey 12.4]
CLI Environment [e.g. Command Prompt, Powershell, Terminal]
Version [e.g. 1.04]

Browser (please complete the following information):

Browser: [e.g. Chrome, Firefox, Brave, Safari]
Version [e.g. 1.04]

Additional context Add any other context about the problem here.

Currently being worked on in https://github.com/sailpoint-oss/api-schema-validator/issues/6


NovelCovid 2.1.1

Thanks for a great library!
Currently my app has been using Version 1 via react JS
However Version 2 of NovelCovid does not seem to work.
Documentation: https://www.npmjs.com/package/novelcovid
Eg:
    const api = require("novelcovid");

    // you can choose which URL to use, this will not change the behaviour of the API
    api.settings({
      baseUrl: "https://disease.sh" | "https://api.caw.sh" | "https://corona.lmao.ninja",
    });
    debugger;
    // Any call to api() triggers an error
    api.all().then(console.log);

Error
CentraRequest.js:13 Uncaught TypeError: URL is not a constructor
    at new CentraRequest (CentraRequest.js:13)
    at<EMAIL_ADDRESS>(createRequest.js:3)
    at fetchJson (index.js:3)
    at Object.countries (index.js:54)
    at eval (eval at UiContainer._this.setCountryData (UiContainer.js:119), <anonymous>:1:5)
    at UiContainer._this.setCountryData (UiContainer.js:119)
    at UiContainer.componentDidMount (UiContainer.js:171)
    at commitLifeCycles (react-dom.development.js:19814)
    at commitLayoutEffects (react-dom.development.js:22803)
    at HTMLUnknownElement.callCallback (react-dom.development.js:188)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:237)
    at invokeGuardedCallback (react-dom.development.js:292)
    at commitRootImpl (react-dom.development.js:22541)
    at unstable_runWithPriority (scheduler.development.js:653)
    at runWithPriority$1 (react-dom.development.js:11039)
    at commitRoot (react-dom.development.js:22381)
    at finishSyncRender (react-dom.development.js:21807)
    at performSyncWorkOnRoot (react-dom.development.js:21793)
    at scheduleUpdateOnFiber (react-dom.development.js:21188)
    at updateContainer (react-dom.development.js:24373)
    at react-dom.development.js:24758
    at unbatchedUpdates (react-dom.development.js:21903)
    at legacyRenderSubtreeIntoContainer (react-dom.development.js:24757)
    at render (react-dom.development.js:24840)
    at Module../src/index.js (index.js:12)
    at __webpack_require__ (bootstrap:784)
    at fn (bootstrap:150)
    at Object.1 (serviceWorker.js:141)
    at __webpack_require__ (bootstrap:784)
    at checkDeferredModules (bootstrap:45)
    at Array.webpackJsonpCallback [as push] (bootstrap:32)
    at main.chunk.js:1

Thanks in advance

documentation != code you can copy and paste
by this, what is meant is that you can specify one of those 3 urls (the line being an OR operator)
api.settings({
      baseUrl: "https://disease.sh" | "https://api.caw.sh" | "https://corona.lmao.ninja",
});

you can leave that part out completely though as it is optional to specify a different domain to the API

Hi @puf17640 Thanks for the clarification and quick reply.
I retested again leaving that portion out and setting only one URL, but the issue remains.
      const api = require("novelcovid");

       // you can choose which URL to use, this will not change the behaviour of the API
       api.settings({
           baseUrl: "https://disease.sh",
       });
       debugger;
       // Any call to api() triggers an error
       api.all().then(console.log);

The issue seems to be caused by the node module @aero/centra/createRequest.js
Perhaps it can be fixed by setting a specific version of that package that works on your end?
Thanks in advance

Test Result
     const api = require("novelcovid")
      debugger;
      // Any call to api() triggers an error
      api.all().then(console.log);

Result

@puf17640


Can't diable "Exposure Auto" and "Gain Auto" on DFK 23G618 in Python

Hello,
I am using DFK 23G618 (GigE) camera with python3 on Ubuntu 20.04 LTS.
I am able to run the tcam-capture example fine, with the "Exposure Auto" and "Gain Auto" check box to enable/diable the features.
However, when I ran this peice of code in Python3 , expecting the gain and exposure to be fixed.  It didn't.  The brightness of the video keep oscillating.
def main():
    Gst.init(sys.argv)  # init gstreamer
    serial = None
    pipeline = Gst.parse_launch("tcambinname=bin"
                                " ! video/x-raw,format=BGRx,width=640,height=480,framerate=15/1"
                                " ! videoconvert"
                                " ! ximagesink")

    # retrieve the bin element from the pipeline
    camera = pipeline.get_by_name("bin")

    # serial is defined, thus make the source open that device
    if serial is not None:
        camera.set_property("serial", serial)

    #print(camera.get_tcam_property("Exposure Auto"))
    camera.set_tcam_property("Exposure", 31451)
    camera.set_tcam_property("Gain", 16.04)
    camera.set_tcam_property("Exposure Auto", False)
    camera.set_tcam_property("Gain Auto", False)

    pipeline.set_state(Gst.State.PLAYING)
    print("Press Ctrl-C to stop.")

    # We wait with this thread until a
    # KeyboardInterrupt in the form of a Ctrl-C
    # arrives. This will cause the pipline
    # to be set to state NULL
    try:
        while True:
            time.sleep(1)

    except KeyboardInterrupt:
        pass
    finally:
        pipeline.set_state(Gst.State.NULL)

Here are the list of what I tried:

Changing from camera.set_tcam_property("Exposure Auto", False) to camera.set_tcam_property("Exposure Auto", "Off") like what suggested in the other post had no effect.
I listed the property of the camera with tcam-ctrl , no parameter named "Exposure Auto" and "Gain Auto" can be found.

Exposure                                (int) min=10 max=30000000 step=1 default=31451 value=31451 category=Exposure group=Exposure
Trigger Selector                        (enum)  default=FrameStart category=Special group=Trigger Mode
						value=FrameStart
							 FrameStart
Trigger Mode                            (enum)  default=Off    category=Special group=Trigger Mode
						value=Off
							 Off
							 On
Trigger Source                          (enum)  default=Any    category=Special group=Trigger Mode
						value=Any
							 Any
							 Line1
							 Software
Trigger Activation                      (enum)  default=RisingEdge category=Special group=Trigger Mode
						value=RisingEdge
							 FallingEdge
							 RisingEdge
Software Trigger                        (button) category=Special group=Trigger Mode
Gain                                    (double) min=0 max=36.6234 step=0.001 default=16.0384 value=16.0384 category=Exposure group=Gain
Balance Ratio Selector                  (enum)  default=Red    category=Color group=Whitebalance
						value=Red
							 Blue
							 Green
							 Red
BalanceRatioRaw                         (int) min=0 max=255 step=1 default=64 value=64 category=Color group=INVALID_PORPERTY
GPIO                                    (int) min=0 max=3 step=1 default=2 value=2 category=Special group=GPIO
GPIn                                    (int) min=0 max=1 step=1 default=1 value=1 category=Special group=GPIO
GPOut                                   (int) min=0 max=1 step=1 default=0 value=0 category=Special group=GPIO
Strobe Enable                           (enum)  default=Off    category=Special group=Strobe Enable
						value=Off
							 Off
							 On
Strobe Polarity                         (enum)  default=ActiveLow category=Special group=Strobe Enable
						value=ActiveLow
							 ActiveHigh
							 ActiveLow
Strobe Operation                        (enum)  default=Exposure category=Special group=Strobe Enable
						value=Exposure
							 Exposure
							 FixedDuration
Strobe Duration                         (int) min=0 max=10000 step=1 default=100 value=100 category=Special group=Strobe Enable
Strobe Delay                            (int) min=-10000 max=10000 step=1 default=0 value=0 category=Special group=Strobe Enable

I can disable the property using these commands:

tcam-ctrl -p -s "Gain Auto=false" <SERIAL NO.>
tcam-ctrl -p -s "Exposure Auto=false" <SERIAL NO.>

Running example 01-list-properties.py also doesn't show parameter named "Exposure Auto" and "Gain Auto".
Running example 02-set-properties.py gives this error:

Traceback (most recent call last):
  File "02-set-properties.py", line 104, in <module>
    sys.exit(main())
  File "02-set-properties.py", line 84, in main
    print_properties(camera)
  File "02-set-properties.py", line 38, in print_properties
    category, group) = camera.get_tcam_property("Exposure Auto")
TypeError: unknown type (null)

Any idea how can I disable Exposure Auto and Gain Auto in python?

As shown in the property output, the automatics are string / enum values. So you use
camera.set_tcam_property("Exposure Auto", "Off")
camera.set_tcam_property("Gain Auto", "Off")
I am annoyed about the USB and GigE interfaces boing different too. USB is boolean, GigE is string. Maybe in a future version this will be unifyed.
I hope, this helps
Stefan

Thank you for the quick response.  But using "Off" instead of False doesn't work.  I also didn't see these 2 properties in the property output.  It seems like in Python, the "Exposure Auto" and "Gain Auto" are inaccessible.
Kanawat

As I posted in my 1st post, I am unable to use Python script to list "Exposure Auto" and "Gain Auto", I can see all other properties but not these two.  When executing  camera.get_tcam_property("Exposure Auto"), it gives the following error (this is the result from running the included example python script).
Traceback (most recent call last):
  File "02-set-properties.py", line 104, in <module>
    sys.exit(main())
  File "02-set-properties.py", line 84, in main
    print_properties(camera)
  File "02-set-properties.py", line 38, in print_properties
    category, group) = camera.get_tcam_property("Exposure Auto")
TypeError: unknown type (null)

Kanawat.

Hello
Please, can you run the list properties Python sample?
Stefan

Hello Stefan,
Nevermind the confustions.  I know that the camera model is probably too old to be working smoothly with recent software.  But your last advice did the trick! -- Thank you!
After setting camera into PLAYING state and list out the properties, I can see several more parameters, including the automatic gain & exposure.
Just in case anybody experiencing the same problem, here's the working code --- the key is to set the automatic properties ONLY AFTER the pipeline is set into PLAYING state:
def main():
    Gst.init(sys.argv)  # init gstreamer

    serial = None

    pipeline = Gst.parse_launch("tcambin name=bin"
                                " ! video/x-raw,format=BGRx,width=640,height=480,framerate=15/1"
                                " ! videoconvert"
                                " ! ximagesink")

    # retrieve the bin element from the pipeline
    camera = pipeline.get_by_name("bin")

    # serial is defined, thus make the source open that device
    if serial is not None:
        camera.set_property("serial", serial)

    pipeline.set_state(Gst.State.PLAYING)

    print("Press Ctrl-C to stop.")
    time.sleep(1)

    # with 23G camera model Automactics parameters are in software, camera must be in PLAYING state for software to be able to set these automatics
    camera.set_tcam_property("Exposure", 31451)
    camera.set_tcam_property("Gain", 16.04)
    camera.set_tcam_property("Exposure Auto", False)
    camera.set_tcam_property("Gain Auto", False)

    print_properties(camera) # this function is copied from 01-list-properties.py example

    # We wait with this thread until a
    # KeyboardInterrupt in the form of a Ctrl-C
    # arrives. This will cause the pipline
    # to be set to state NULL
    try:
        while True:
            time.sleep(1)

    except KeyboardInterrupt:
        pass
    finally:
        pipeline.set_state(Gst.State.NULL)

Hello
Thank you for your code!
Stefan


Add elapsed_time as an available template variable

This PR is designed to provide a workaround for https://github.com/travis-ci/travis-ci/issues/5811 for those of us that want it.
It allows the usage of elapsed_time as a variable in custom templates for Travis-CI notifications, which is arguably more useful than duration for parallelized builds.
I will note, as an aside, that this is the same number that is used in the build emails that Travis-CI sends

@svenfuchs Any feedback? I would really love to get this into Travis and start using it with our app.

@Jacobkg Thanks for the PR. Could you also open a PR for documentation update? https://github.com/travis-ci/docs-travis-ci-com


repl?

Hi @dop251 !  This is such a cool project.
I was just curious if there is already a REPL (interpretive prompt), or an easy way to make one?
Thank you.

Hi @glycerine. As far as I'm aware there isn't and I don't have any plans to write one, sorry.

@dop251 no worries, thanks for the quick reply!  If I wrote one, would it be something goja would accept a pull request for?

Not as part of the core, maybe goja_nodejs or as a separate project..


card-tricks: introduce multiple-return-values concept

This is part of our September Spring to get the Go Track in shape. Please read the Overview issue for more details. This exercise is unclaimed. To claim it, please comment below.

The card-tricks exercise uses multiple return values, but it does not have this as a taught concept.
This concept also includes teaching students how to do if x, y := z; !y . (i.e. checking for a value and then having a condition.
Note: don't teach about discard values (_).

[ ] Add multiple-return-values as an official concept

The exercise introduction should introduce multiple return values
Add multiple-return-values to the concepts property of the card-tricks exercise's entry in the config.json file
Add an entry to the concepts array for the multiple-return-values concept
Create a concepts/multiple-return-values directory with its required files

To be clear: Multiple return values should be its own concept connected to functions. It should not live inside the slices concept.

Once the multiple-return-values concept is created, it needs to be added to Gross Store exercise.

@moshegood What Erik means is that the exercise "Card Tricks" should teach two concepts, slices and multiple-return-values.
I agree with you that the new exercise about functions would be a better fit but the problem @ErikSchierboom saw is that a lot exercises already need multiple return values before the student would get to functions in the concept tree. This is why he suggested to add this as a separate concept here.

Indeed. It is definitely possible for multiple-return-values to be explained in a new functions exercise, but we would have to do careful analysis to see if the dependencies make sense. For now, the easiest fix is to explain multiple-return-values alongside slices in the "Card Tricks" exercise and then we can always move this concept to a different exercise later on.

I am taking care of this issue. Not sure if the first comment on this issue should be updated to reflect that.


Intermittent Issue: Contributors are not gated after creating PRs even if EasyCLA is enforced

Steps:

For GH Repo: ashav-test-stgjan4/stgjan4-repo1, its observed that following users are not gated: av-janqa, priyatham-maverick, wanyaland-test
For GH Repo: ashav-test-stgjan3/stgjan3-repo1, its observed that following users are not gated: Diptil

Test Data:
Foundation Name: ASHAJANTESTFOUNDATION1
CLA Groups: AshaJanTest-CLAGroup3, AshaJanTest-CLAGroup4
Note: There is no ICLA/CCLA signed for these PRs so gating should happen. Project console doesn't show any signatures.
Expected Result: PRs should be gated.

@vinod-kadam need more info on this issue - will help cut down on the time it takes to locate the logs:

when it occurred,
which environment

I found the following in the STAGING log:
2021-01-19T12:06:01 DEBUG cla: utils.user_signed_project_signature - CCLA signature check failed for user: id: 364944c5-f41b-4ca6-a360-670044257204, username: priyatham-maverick, gh id: 72910932, gh username: priyatham-maverick, lf email: None, emails<EMAIL_ADDRESS><EMAIL_ADDRESS>ldap id: None, lf username: None, user company id: bd3400ce-8668-473f-9037-818fda54d871, note: None, user external id: None on project: id:1efa52c0-4c66-4c3b-a8d5-0ad96e6334c1, project_name:AshaJanTest-CLAGroup4, project_name_lower:ashajantest-clagroup4, project_external_id:a097c000007ngxdAAA, foundation_sfid:a097c000007ngxdAAA, project_icla_enabled: True, project_ccla_enabled: True, project_ccla_requires_icla_signature: False, project_live: False, project_acl: {'ashav.lfstgadmin'}, root_project_repositories_count: 1, date_created: 2021-01-19 11:56:02+00:00, date_modified: 2021-01-19 12:04:27+00:00, version: v2
2021-01-19T04:06:01.509-08:00	2021-01-19T12:06:01 DEBUG cla: utils.user_signed_project_signature - User: id: 364944c5-f41b-4ca6-a360-670044257204, username: priyatham-maverick, gh id: 72910932, gh username: priyatham-maverick, lf email: None, emails<EMAIL_ADDRESS><EMAIL_ADDRESS>ldap id: None, lf username: None, user company id: bd3400ce-8668-473f-9037-818fda54d871, note: None, user external id: None failed both ICLA and CCLA checks
2021-01-19T04:06:01.509-08:00	2021-01-19T12:06:01 INFO cla: Loading signature by project for project_id: 1efa52c0-4c66-4c3b-a8d5-0ad96e6334c1
2021-01-19T04:06:01.516-08:00	2021-01-19T12:06:01 INFO cla: Returning 0 signatures for project_id: 1efa52c0-4c66-4c3b-a8d5-0ad96e6334c1
2021-01-19T04:06:01.517-08:00	2021-01-19T12:06:01 DEBUG cla: Found 0 CCLA signatures for company: bd3400ce-8668-473f-9037-818fda54d871, project: 1efa52c0-4c66-4c3b-a8d5-0ad96e6334c1 in our database.
2021-01-19T12:06:01 DEBUG cla: update_change_request - PR: 1, updating github pull request for repo: 330964778, with signed authors: [] with missing authors: [('608fe4c8256bb3effae59ec182288167ef0e350e', [72910932, 'Priyatham Maverick', None])]

which indicates the signature check failed and we have missing authors. As a result, the PR failed.
Same for user Diptil:
2021-01-19T10:10:41 DEBUG cla: update_change_request - PR: 6, updating github pull request for repo: 329918223, with signed authors: [] with missing authors: [('b9ea0d0a29e431b30cb2ce7cf5a46574373ed124', [72866144, 'Dipti lalwani', 'diptil@proximabiz.com'])]
...
2021-01-19T02:10:42.058-08:00	2021-01-19T10:10:42 INFO cla: utils.get_comment_body - Getting comment body for repository type: github
2021-01-19T10:10:42 DEBUG cla: EasyCLA App checks fail for PR: 6. CLA signatures with signed authors: [] and with missing authors: [('b9ea0d0a29e431b30cb2ce7cf5a46574373ed124', [72866144, 'Dipti lalwani', 'diptil@proximabiz.com'])]
2021-01-19T10:10:42 DEBUG cla: Creating new CLA failure status - 0 passed, [('b9ea0d0a29e431b30cb2ce7cf5a46574373ed124', [72866144, 'Dipti lalwani', 'diptil@proximabiz.com'])], signing url: https://api.lfcla.staging.platform.linuxfoundation.org/v2/repository-provider/github/sign/14101121/329918223/6?version=2
2021-01-19T02:10:43.340-08:00	2021-01-19T10:10:43 INFO cla: Successfully posted status failure on PR 6: Commit b9ea0d0a29e431b30cb2ce7cf5a46574373ed124

@vinod-kadam need more info on this issue - will help cut down on the time it takes to locate the logs:

when it occurred,
which environment

I found the following in the STAGING log:
2021-01-19T12:06:01 DEBUG cla: utils.user_signed_project_signature - CCLA signature check failed for user: id: 364944c5-f41b-4ca6-a360-670044257204, username: priyatham-maverick, gh id: 72910932, gh username: priyatham-maverick, lf email: None, emails<EMAIL_ADDRESS><EMAIL_ADDRESS>ldap id: None, lf username: None, user company id: bd3400ce-8668-473f-9037-818fda54d871, note: None, user external id: None on project: id:1efa52c0-4c66-4c3b-a8d5-0ad96e6334c1, project_name:AshaJanTest-CLAGroup4, project_name_lower:ashajantest-clagroup4, project_external_id:a097c000007ngxdAAA, foundation_sfid:a097c000007ngxdAAA, project_icla_enabled: True, project_ccla_enabled: True, project_ccla_requires_icla_signature: False, project_live: False, project_acl: {'ashav.lfstgadmin'}, root_project_repositories_count: 1, date_created: 2021-01-19 11:56:02+00:00, date_modified: 2021-01-19 12:04:27+00:00, version: v2
2021-01-19T04:06:01.509-08:00	2021-01-19T12:06:01 DEBUG cla: utils.user_signed_project_signature - User: id: 364944c5-f41b-4ca6-a360-670044257204, username: priyatham-maverick, gh id: 72910932, gh username: priyatham-maverick, lf email: None, emails<EMAIL_ADDRESS><EMAIL_ADDRESS>ldap id: None, lf username: None, user company id: bd3400ce-8668-473f-9037-818fda54d871, note: None, user external id: None failed both ICLA and CCLA checks
2021-01-19T04:06:01.509-08:00	2021-01-19T12:06:01 INFO cla: Loading signature by project for project_id: 1efa52c0-4c66-4c3b-a8d5-0ad96e6334c1
2021-01-19T04:06:01.516-08:00	2021-01-19T12:06:01 INFO cla: Returning 0 signatures for project_id: 1efa52c0-4c66-4c3b-a8d5-0ad96e6334c1
2021-01-19T04:06:01.517-08:00	2021-01-19T12:06:01 DEBUG cla: Found 0 CCLA signatures for company: bd3400ce-8668-473f-9037-818fda54d871, project: 1efa52c0-4c66-4c3b-a8d5-0ad96e6334c1 in our database.
2021-01-19T12:06:01 DEBUG cla: update_change_request - PR: 1, updating github pull request for repo: 330964778, with signed authors: [] with missing authors: [('608fe4c8256bb3effae59ec182288167ef0e350e', [72910932, 'Priyatham Maverick', None])]

which indicates the signature check failed and we have missing authors. As a result, the PR failed.
Same for user Diptil:
2021-01-19T10:10:41 DEBUG cla: update_change_request - PR: 6, updating github pull request for repo: 329918223, with signed authors: [] with missing authors: [('b9ea0d0a29e431b30cb2ce7cf5a46574373ed124', [72866144, 'Dipti lalwani', 'diptil@proximabiz.com'])]
...
2021-01-19T02:10:42.058-08:00	2021-01-19T10:10:42 INFO cla: utils.get_comment_body - Getting comment body for repository type: github
2021-01-19T10:10:42 DEBUG cla: EasyCLA App checks fail for PR: 6. CLA signatures with signed authors: [] and with missing authors: [('b9ea0d0a29e431b30cb2ce7cf5a46574373ed124', [72866144, 'Dipti lalwani', 'diptil@proximabiz.com'])]
2021-01-19T10:10:42 DEBUG cla: Creating new CLA failure status - 0 passed, [('b9ea0d0a29e431b30cb2ce7cf5a46574373ed124', [72866144, 'Dipti lalwani', 'diptil@proximabiz.com'])], signing url: https://api.lfcla.staging.platform.linuxfoundation.org/v2/repository-provider/github/sign/14101121/329918223/6?version=2
2021-01-19T02:10:43.340-08:00	2021-01-19T10:10:43 INFO cla: Successfully posted status failure on PR 6: Commit b9ea0d0a29e431b30cb2ce7cf5a46574373ed124

Need more details and walkthrough from the test team as the logs indicate the PR status should have failed.

Need more details and walkthrough from the test team as the logs indicate the PR status should have failed.

Manish tried PRs today & he didn't face any issue.
So, as discussed in the standup today, closing this ticket.
If QA encounters a similar issue then they can raise a ticket with details.


Express Entity List Field value save Not working

Version 9.0.0RC2
"Display pagination interface in results." Save Not working Under Express Entity List Block. You could try by Uncheck this option

I think this has been fixed by my recent Express Entry List updates because it's working now. Also, double-check that you have enough results in your list to have more items displayed than the number per page.

But if you're still having issues then this should be fixed in 9.0.0RC3.


Add cmd to reset xcode-select to initial state

[x] documentation is changed or added

I think this might be reasonable, xcode-select --reset is the only addition here, can anyone else confirm the sanity and safety of this?

This solved the issue I was having.

Thanks! It works now!

@cclauss when you merge could you please adjust the commit messages and add the PR-URL and Reviewed-By metadata to make it work nicely with the tooling we have?
In this case I'm force pushing over this:
commit 8c0c0a6239cedf980b9b8a6e29b6b12e91807669 (HEAD -> master, origin/master)
Author: Valera Rozuvan<EMAIL_ADDRESS>Date:   Thu Oct 15 17:31:17 2020 +0300

    Add cmd to reset `xcode-select` to initial state (#2235)

with this:
commit 54f97cd2434b61d06516fe2a062dc34a93cbb901 (HEAD -> master)
Author: Valera Rozuvan<EMAIL_ADDRESS>Date:   Thu Oct 15 17:31:17 2020 +0300

    doc: add cmd to reset `xcode-select` to initial state

    PR-URL: https://github.com/nodejs/node-gyp/pull/2235
    Reviewed-By: Christian Clauss<EMAIL_ADDRESS>
Some details on the prefixes and message formatting @ https://github.com/nodejs/node/blob/master/doc/guides/contributing/pull-requests.md#commit-message-guidelines
The metadata stuff has been swallowed up by tooling in nodejs/node which I don't think we can apply here, I just do it manually.
It's consumed primarily by rules that got backed in @ https://github.com/nodejs/changelog-maker#eh

My apologies @rvagg .  Thanks for the fix.

Wow, thanks a lot, working amazing


Does not support live view contrast detect AF on Nikon

On my D800 while using live view, you can select an arbitrary focus point for contrast detection instead of having to use the AF sensor points.  In this case, the plugin doesn't parse the required metadata for displaying the AF point.
I recommend copying the default delegate parser into a Nikon delegate file and add this support to the getAfPoints() function.
Please assign to me so I can submit a PR on a feature branch for this issue.

Can't you just add the metadata to the fallback points?

This is an architectural decision that has to be made.  Since this is a Nikon specific behavior the question then becomes is Nikon the "default" behavior or should it have a specific delegate like the other makes.  Let me know which direction you want and I'll make the PR.

From the description, it sounds like simply adding another fallback that could be added for nikon cameras. Feel free to put some images into https://github.com/musselwhizzle/Focus-Points-Sample-Images which display this behavior. Link to them in here and then describe what should be shown.

you could also take a stab at it and then we could do some clean up work as needed.

When using the AF sensor, the "AF Area Mode" is set to "Dynamic Area" and the regular logic for using "AF Points Used" and "Primary AF Point" apply.
Under contrast detect with Live View, "AF Area Mode" is "Contrast-detect (normal area)" and the regular metadata is empty.  Instead, the AF point is populated using "AF Area X Position" and "AF Area Y Position".  Additionally, the width and height are in "AF Area Width" and "AF Area Height", respectively.
For example:
https://github.com/musselwhizzle/Focus-Points-Sample-Images/blob/master/Nikon/D800/D800-contrast1.NEF
The focus point is at the 3'oclock position on the volume knob, close to where it intersects the chassis.

I'll add it to the default delegate and make the PR.  Since its a feature branch and a small change, a follow-on issue can be made to break it out into a Nikon delegate or do other work based on it.

ok, sounds pretty similar to what the Fuji and other cameras are doing. Be sure to test vertical in both directions as well. You up for taking a crack at it? If the focus point is null, you can delegate back over to DefaultDelgate.

That sounds like a better idea...make a Nikon delegate that looks for contrast and then defaults if none is found?  I can do any one of the discussed three ideas since I already have code to find it (its really short).  Which one do you want me to PR?

You can do a PR and i'll move it to a feature branch and test on my cameras for a while. From there, we'll merge over after a QA period. I'm not going to work today so I'll get to it tomorrow.

Need to test with NEF files of the camera shot at 90 CW and 90 CCW then will merge into master

I've submitted a PR in the sample images repo with one example.  I can take another tonight.

I shot some images and verified it. Good code. Good catch!


Harbor registryctl - doesn't work properly when internal TLS in the cluster is enabled

Which image/versions are related to this issue/feature request?
harbor-registryctl:2.11.0
Official Harbor helm chart version 1.15.0
Issue/Feature description
The registryctl throws the following error when using Azure Blob Storage as the storage driver while internalTLS is active within the cluster:
2024-08-01T11:09:03Z [ERROR] [/registryctl/config/config.go:63]: failed to load storage driver, err:Put "https://xxx.blob.core.windows.net/images?restype=container": tls: failed to verify certificate: x509: certificate signed by unknown authority
2024-08-01T11:09:03Z [FATAL] [/registryctl/main.go:102]: Failed to load configurations with error: Put "https://xxx.blob.core.windows.net/images?restype=container": tls: failed to verify certificate: x509: certificate signed by unknown authority

XXX is a redacted value.
It works fine when using plain communication. Any ideas on how to resolve this?
Thank you, regards

@aechegoyan17 add ca-certificates package?


https://www.iotexscan.io/action?actionType=execution does not load

query error: https://github.com/iotexproject/iotex-analytics/issues/294


Checks for matching association class before multitenanting

This PR will make sure that the gem will only tenant with the correct classes. I.e.
Given that:

Tenant has many Items,
Company has many users

It was possible to incorrectly se tup multitenant with
Multitenant.with_tenant @company do
  @items = Item.all
end

The fix in this PR will do a check on the association to make sure that association classes match before applying multi-tenanting.
BONUS: I've also updated the specs to work with activerecord ~> 4.0.0

Thans for the contribution @tansengming!
Could you provide a little context on why the disambiguation is desired?  Is your app configured with two different "Tenant" classes?

@wireframe yes! Specifically We've been multitenanting on the controller, with something like:
class UsersController < ApplicationController
  def index
    Multitenant.with_tenant @company do
      @users = User.all  # correctly scopes to company.id
      @items = Item. all # INCORRECTLY scopes to company.id
    end
  end
end

Thanks for the info @tansengming.  The use case you describe sounds quite unique IMO.  Multiple "multi-tenant" objects in one system introduces enough complexity that I wouldn't consider this really a "bug fix" scenario.
IMO, supporting multiple types of "multi-tenant" objects in a single code base would require:

support multiple invocations of with_tenant with different object types
internal map of multi-tenant types to the current defined record
reflection in the default scope (from this pull request) to lookup the correct type of tenant needed for the specific query.

I'll close this pull request out at this time, but please feel free to open a follow-up request if you think the above items are worthwhile.  Thanks again!

HI @wireframe thanks for the input! Maybe I need more coffee but I'm not totally sure about your concerns, do you have an example? Thanks!


⚠ Samsung has degraded performance

In 7116a17, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2587 ms

Resolved: Samsung performance has improved in c1991df.


feat(question): add question component

Changes

add question component

Screenshots

Mobile

Dark mode

We are using all caps for the button text here. When on all other buttons we use lower case with the first letter being uppercase.

Use Text/Primary color style for the text inside the buttons and "divider" color style for the border

I suggest changing button state to Secondary/Main for bg and Common/White for text when it's pressed


TextEngine: better restrict

In flash every character is excluded after '^'.

In flash every character is excluded after ^.

Yeah, in Flash, more than one character or range can appear after ^. We allowed only one, for some reason.


automerge.generateSyncMessage  --> the generate message has no changes there, automerge v.2.2.4

Hello team!
First things first, kudos for the project!
I am using automerge v2.2.4 to sync docs across multiple clients. I am not using the automerge-repo FYI. So I came across the following problem while generating a SyncMessage to share over the network:
In the example bellow dummyChanges is a list of all changes perform to the document.
However these changes are not included in the msg generated by the automerge.generateSyncMessage function. msg is not nil it just does not include any changes.
        const dummyDoc = automerge.change(automerge.from(
            {content: ""}), doc => { doc.content = "dummy" })
        console.log("document to be sent is: ", dummyDoc)
        const dummyChanges = automerge.getAllChanges(dummyDoc)
        console.log(dummyChanges)
        let dummyState = automerge.initSyncState()
        let msg: Uint8Array | null = null;
        [dummyState, msg] = automerge.generateSyncMessage(dummyDoc, dummyState)

        if (msg) {
            console.log("the decoded message is: ")
            console.log(automerge.decodeSyncMessage(msg))
        }

Any idea ?
I am not sure if I miss anything here, there is plenty of documentation out there (some of it outdated) so I am little bit confused regarding  iff this is an issue ...
Cheer,
C.

closing the issue, accidentally opened in the wrong Repo!


[Frontend] Use the swift_static directory when appropriate.

We should be using /usr/lib/swift_static and not /usr/lib/swift when we're using the static resource directory.
rdar://123506588

@swift-ci Please smoke test


can you export maxWidth option to idea plugin?

can you export maxWidth option to idea plugin?

hi! we don't currently have plans to make ktfmt configurable; the rationale is very similar to Google Java Format's (https://github.com/google/google-java-format/wiki/FAQ#i-just-need-to-configure-it-a-bit-differently-how)


Doc story for kpt fn catalog

Figure out a detailed plan about the site for kpt function catalog.
Kpt functions are versioned independently from the kpt version.
We should have a site that can allow users to choose what version of the document they want to see. An example is https://registry.terraform.io/modules/terraform-google-modules/kubernetes-engine/google/latest

Other concerns:

[ ] Function usage docs are consistent across 1st party functions
[ ] Function examples are consistent
[ ] Function categorization is rationalized
[ ] Function versioning in docs

Let's update the list in https://github.com/GoogleContainerTools/kpt/issues/1489 if needed.

What's the difference between these issues? Do you want dedup?


Fixes headlines

No idea why GH decided to change their parser, very annoying

Haha. PR swapsies... Loveit! 👍


[Issue 69] Adding Links to Readme

Adding a few links to the Readme so I could create another PR to merge in with the main branch. My last PR did not have a proper title for the semantic release GitHub Action to create a release for, so I am using this PR to create the release instead. Hoping this will create and push a new tag which will kick off the deploy pipeline. Fingers crossed.
Closes #69

:tada: This PR is included in version 1.1.11 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[GHSA-cchp-3rq6-69wj] events2 TYPO3 extension insecure direct object reference (IDOR) vulnerability

Updates

Affected products
CWEs

Comments
I believe that CWE-639 + CWE-284 more accurately reflect the specific nature of this IDOR vulnerability.
[reference]
CWE-639: Authorization Bypass Through User-Controlled Key

Hi @iepn, I agree that CWE-639: Authorization Bypass Through User-Controlled Key is more specific and CWE-639 is a good choice for GHSA-cchp-3rq6-69wj.


Seekbar feature

Increased the size of the progress bar just a little and added a seek feature to it.
Includes a tooltip to let users know what timestamp they are seeking to in the song.
(Tooltip styled for light and dark theme)

Another improvement would be to look at rebasing against my current master (to prevent a bunch of extra commits). Not a big deal if you don't get it for this issue as I can fix it at merge time.

I made the changes you suggested! Thanks for the guidance btw, I haven't used Vue before.
I attempted the rebase, but I'm not sure I did it correctly. Looks messy. If you don't mind fixing it I will make sure any future pull requests start from the current master (or feel free to tell me where I went wrong and how to properly rebase).


Terminal window freezes after installing bash-it

It show this message:
Bash-it no longer bundles the nvm script. Please install the latest version from

https://github.com/creationix/nvm.git

if you want to use nvm. You can keep this plugin enabled once you have installed nvm.
-bash: /usr/local/share/chruby/chruby.sh: No such file or directory
-bash: /usr/local/share/chruby/auto.sh: No such file or directory
-bash: /usr/local/share/chruby/chruby.sh: No such file or directory
You must install fasd before you can use this plugin
See: https://github.com/clvv/fasd
alias gh='cd "$(git rev-parse --show-toplevel)"'
-bash: cd: too many arguments
Please install argcomplete to use conda completion

Then it freezes. I can't access my terminal anymore, I can't run anything.
Please Help.

@nwinkler ?

Can you please provide info on which plugins you have enabled? Is it possible that you have enabled all plugins? You should probably disable all plugins and then only enable the ones that are really needed.

This issue is very stale, so I close it. Thanks for contributing and posting!


Add other annotations for Kubernetes

I am new to prometheus land and sorry If this issues is already discussed. The current way of accessing different scrap path is using annotations like prometheus.io/path. This is nice because I can access our endpoints from the exact configuration of prometheus. some annotations such as path, scheme, scrap are already existing for configuration. Please provide other annotations as well such as:
basic_auth:
  [ username: <string> ]
  [ password: <string> ]

[ bearer_token: <string> ]

What do you think?

This is not possible, see #1176