text:
Update README.md

Hello,
I try to use your extension, but I didn't make it works.
I think the readme isn't up-to-date because the last commit is from 4 month and didn't talk about the prerequisite PluggableAuth.
Can you please update the readme for the new integration path ?
Thank you

Sorry about that, I haven't had time to update the README. Please take a look at https://www.mediawiki.org/wiki/Extension:JWTAuth for more info

Thank you, but I can't find the correct configuration...
In LocalSettings.php I have :
# PluggableAuth with JWTAuth

wfLoadExtension( 'PluggableAuth' );
wfLoadExtension( 'JWTAuth' );

$wgPluggableAuth_Config = [
	"Overbookd" => [
	  'plugin' => 'JWTAuth',
	  'data' => [
		'Key' => 'supersecret',
		'Algorithm' => 'HS256'
	  ]
	]
  ];

  $wgGroupPermissions['*']['autocreateaccount'] = true;
  $wgPluggableAuth_EnableAutoLogin	= true;
  $wgPluggableAuth_EnableLocalProperties	= false;

And the JWT I want to use is :
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6OCwidXNlcklkIjo4LCJ0ZWFtcyI6WyJhZG1pbiIsImhhcmQiXSwicGVybWlzc2lvbnMiOlsiYWRtaW4iLCJtYW5hZ2UtY29uZmlnIiwicmVhZC1mdCIsImFzay1mb3ItaGVscCIsInZpZXctdGltZWxpbmUiLCJoYXJkIiwidmFsaWRhdGVkLXVzZXIiLCJyZWFkLWZhIiwiZG93bmxvYWQtcGxhbm5pbmciLCJjcCIsInZpZXctc3RhdHMiLCJmaWxsLWF2YWlsYWJpbGl0eSJdLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJhZG1pbl9hZG1pbiIsImlhdCI6MTY5MzQyNTQzMSwibmJmIjoxNjkzNDI1NDMxLCJleHAiOjE2OTM1MTE4MzEsImF1ZCI6IlVzZXIgb2YgT3ZlcmJvb2tkIiwiaXNzIjoiT3ZlcmJvb2tkIC0gQ2x1YiBkZXMgMjRoIGRlIGwnSU5TQSIsInN1YiI6Ik92ZXJib29rZCJ9.9bjMTjfxDAuIWLy8UQfSlOB_KhsEHFfXbs26RYVgR6E
Decode JWT :
{
  "id": 8,
  "userId": 8,
  "teams": [
    "admin",
    "hard"
  ],
  "permissions": [
    "admin",
    "manage-config",
    "read-ft",
    "ask-for-help",
    "view-timeline",
    "hard",
    "validated-user",
    "read-fa",
    "download-planning",
    "cp",
    "view-stats",
    "fill-availability"
  ],
  "preferred_username": "admin_admin",
  "iat": 1693425431,
  "nbf": 1693425431,
  "exp": 1693511831,
  "aud": "User of Overbookd",
  "iss": "Overbookd - Club des 24h de l'INSA",
  "sub": "Overbookd"
}

I have all required fields according the documentation but I have always the following error message
"Unable to continue connection. Your session has probably expired."

Have I missed an information ?

Hi, I have a problem too.
I'm want to setting private environment for mediawiki selfhost and
following from extension installing and configuration guide but not work. I'm not sure what i did mistake or something wrong.
In LocalSettings.php I have setting 2 options
option 1 :
wfLoadExtension( 'PluggableAuth' );
wfLoadExtension( 'JWTAuth' );

$wgPluggableAuth_Config = [
	"JWT Login" => [
	  'plugin' => 'JWTAuth',
	  'data' => [
		'Key' => 'SECRET',
		'Algorithm' => 'HS256'
	  ]
	]
  ];
$wgGroupPermissions['*']['read'] = false;
$wgPluggableAuth_EnableAutoLogin	= true;
$wgPluggableAuth_EnableLocalProperties	= false;

option 2 :
wfLoadExtension( 'PluggableAuth' );
wfLoadExtension( 'JWTAuth' );
$wgJWTAuthAlgorithm = 'HS256';
$wgJWTAuthKey = 'SECRET';

$wgJWTGroupMapping = [
  // one group can map to multiple MediaWiki groups...
  'customgroup1' => [
    'sysop', 'bureaucrat'
  ],
  // ...or just one MediaWiki group.
  'customgroup2' => 'sysop'
];

$wgGroupPermissions['*']['read'] = false;
$wgPluggableAuth_EnableAutoLogin	= true;
$wgPluggableAuth_EnableLocalProperties	= false;

JWT :
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiIxIiwiRnVsbG5hbWUiOiJDaGFsZXJtY2hhdCBUaGFpcGVlcmFrdWwiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoid2thZG1pbiIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2VtYWlsYWRkcmVzcyI6ImNoYWxlcm1jaGF0LnRAaGFuZHMtb24uY28udGgiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOiJBZG1pbmlzdHJhdG9yIiwicHJlZmVycmVkX3VzZXJuYW1lIjoid2thZG1pbiIsImVtYWlsIjoiY2hhbGVybWNoYXQudEBoYW5kcy1vbi5jby50aCIsImZhbWlseV9uYW1lIjoiVGhhaXBlZXJha3VsIiwiZ2l2ZW5fbmFtZSI6IkNoYWxlcm1jaGF0Iiwic3ViIjoid2lraS1qd3QiLCJwZXJtaXNzaW9ucyI6WyJWSUVXIiwiQUREIiwiVVBEQVRFIiwiREVMRVRFIl0sIm5iZiI6MTcxMzk2NjExOSwiZXhwIjoxNzE0MDA5MzE5LCJpYXQiOjE3MTM5NjYxMTksImlzcyI6ImhhbmRzb24taXQiLCJhdWQiOiJoYW5kc29uLW1hcmtldGluZyJ9.tofP75EzM7nSVDeWmhQ_B5sHKpOwMS2MR1UR7bdILHU
Decode JWT :
  {
  "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/sid": "1",
  "Fullname": "admin wikimedia",
  "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": "wkadmin",
  "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress": "wkadmin@email.test",
  "http://schemas.microsoft.com/ws/2008/06/identity/claims/role": "Administrator",
  "preferred_username": "wkadmin",
  "email": "wkadmin@email.test",
  "family_name": "wikimedia",
  "given_name": "admin",
  "sub": "wiki-jwt",
  "permissions": [
    "VIEW",
    "ADD",
    "UPDATE",
    "DELETE"
  ],
  "nbf": 1713968554,
  "exp": 1714011754,
  "iat": 1713968554,
  "iss": "handson-it",
  "aud": "handson-marketing"
}

i used setting "option1" and "option2" but no luck and this is result
Result
Option 1:

Option 2:

Can you advice me for this problem?

Today I finally got the chance to update the docs. Your configs look correct, so I'm suspecting whether it's because it's not being POSTed to Special:PluggableAuthLogin. Please see https://www.mediawiki.org/wiki/Extension:JWTAuth#Integrating_your_auth_system_with_JWTAuth_on_MediaWiki for more info.

authors: ake-mon jeffw16 titouan-joseph


text:
How do you add sass style compressed using the asset plugin?

Hi,
I am looking for help on how to minify the css. Here's the config.yml that I am using:
assets:
js_compressor: uglifier
css_compressor: sass
cache:
sources:
- _assets/scss
- _assets/js
cachebust: hard

We no longer support v1.0, please update to 2.0 and read the README. Thanks.

source: gharchive/issue

authors: arunc envygeeks

repo: jekyll/jekyll-assets

license: mit

license_type: permissive

license_source: bigquery


text:
Unit-test-for-book-and-label

In this pull request i have done the following:
Perform unit tests with RSpec for all methods of the Books and Labels class

Thank you mate

source: gharchive/pull-request

repo: jellywiz/ruby-capston-project

license: MIT

license_source: github-api


text:
Compatibility with Unity Addressables 1.18.11+ plugin

I have tried multiple times to upgrade to multiple versions of Unity Addressables 1.18.11+ plugin, but they all don't work.
Can you please specify if any version of Unity Addressables 1.18.11+ plugin is supposed to work with the latest version in git?
I have no idea how to debug the problem with production code downloaded from Google Play.
Can you please tell me if you are familiar with this problem?
If you don't have time to debug it, can you please describe a possible method to debug the problem, so I would be able to do it by myself?

It should now work properly with 1.18.11+ and Unity 2021+ if you use version 1.0.1


text:
Bug: Screensaver mode is blank if no sounds are playing

Repro steps:

Load App
Make sure no sounds are playing
Go to Menu
Click on Screensaver mode
Blank Screen...

Seems like the option should be disabled or there should be a message (or at least a play button maybe)?

Fixed in #147 by adding default screensavers.

authors: dpaulino michael-hawker

repo: jenius-apps/ambie


text:
Compact overlay support

Resolves #22


text:
Requesting permissions

https://github.com/jenkinsci/zscaler-iac-scan-plugin
Description

Submitter checklist for adding or changing permissions

Always

[ ] Add link to plugin/component Git repository in description above

When enabling automated releases (cd: true)

[ ] Add a link to the pull request, which enables continous delivery for your plugin or component.
Follow the documentation to ensure, your pull request is set up properly.

When adding new uploaders (this includes newly created permissions files)

[ ] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[ ] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[ ] Make sure to @mention the users being added so their GitHub account names are known if they require GitHub merge access (see below).
[ ] All newly added users have logged in to Artifactory and Jira at least once

Reviewer checklist (not for requesters!)

[ ] Check this if newly added person also needs to be given merge permission to the GitHub repo (please @ the people/person with their GitHub username in this issue as well). If needed, it can be done using an IRC Bot command
[ ] Check that the $pluginId Developers team has Admin permissions while granting the access.
[ ] In the case of plugin adoption, ensure that the Jenkins Jira default assignee is either removed or changed to the new maintainer.
[ ] If security contacts are changed (this includes add/remove), ping the security officer (currently @Wadeck) in this pull request. If an email contact is changed, wait for approval from the security officer.

There are IRC Bot commands for it

Hey @AparnaSaripaka,
you need to log into Jira https://issues.jenkins.io/ and artifactory https://repo.jenkins-ci.org/ui/login to process this request.
Do @jragula-zs or @chandargadi approve this request?

Approved

Loggedin

authors: AparnaSaripaka NotMyFault jragula-zs


text:
Add "imeredith" to blueocean-executor-info-plugin upload

Description
https://github.com/jenkinsci/blueocean-executor-info-plugin
@kzantow @michaelneale
Submitter checklist for changing permissions
Always

[x] Add link to plugin/component Git repository in description above

When adding new uploaders (this includes newly created permissions files)

[x] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] All newly added users have logged in to Artifactory at least once

Oops my commit message had typos ><

LGTM

authors: imeredith michaelneale


text:
chore: bdd-spring-1573995458 to 0.0.1

chore: Promote bdd-spring-1573995458 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


text:
Delete application bdd-spring-1573539194 from this environment

The command jx delete application was run by  and it generated this Pull Request

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


text:
fix: upgrade to version 3.1.221

from: https://github.com/jenkins-x/jx-cli

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign cagiti
You can assign the PR to them by writing /assign @cagiti in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jenkins-x-bot-test: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
3a6a84991b78b252af7494743e89e2fbc043a4f5
link
/test vault

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 jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
3a6a84991b78b252af7494743e89e2fbc043a4f5
link
/test vault

tls
3a6a84991b78b252af7494743e89e2fbc043a4f5
link
/test tls

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 jenkins-x/lighthouse repository. I understand the commands that are listed here.

/retest

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

tls
3a6a84991b78b252af7494743e89e2fbc043a4f5
link
/test tls

vault
3a6a84991b78b252af7494743e89e2fbc043a4f5
link
/test vault

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 jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
3a6a84991b78b252af7494743e89e2fbc043a4f5
link
/test vault

tls
3a6a84991b78b252af7494743e89e2fbc043a4f5
link
/test tls

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 jenkins-x/lighthouse repository. I understand the commands that are listed here.

/retest

authors: jenkins-x-bot-test jstrachan


text:
[JENKINS-60940] Porting CliGitAPIImplTest to GitClientTest

JENKINS-60940
Tests from CliGitAPIImplTest have been ported to GitClientTest
Checklist

[x] I have read the CONTRIBUTING doc
[x] I have referenced the Jira issue related to my changes in one or more commit messages
[ ] I have added tests that verify my changes
[ ] Unit tests pass locally with my changes
[ ] I have added documentation as necessary
[ ] No Javadoc warnings were introduced with my changes
[x] No spotbugs warnings were introduced with my changes
[ ] I have interactively tested my changes

@MarkEWaite Hi, thanks for taking out the time to review the PR.
After your suggestions, I have done two things:

Shifted all the necessary functionalities of CliGitAPIImplTest class to GitClientTest (that includes VersionTest)

Deleted CliGitAPIImplTest because there was no need for it.

One thing necessary to mention here is the need to port GitAPITestCase because it contains most of the test cases extended by CliGit and JGit tests. Also, apart from @before, @after(Junit 3 -> 4) changes in GitAPITestCase, there is a need to make the tests more coherent to GitClientTest test implementations.

Thanks very much.  I don't think we are ready to delete CliGitAPIImplTest yet.  The tests from GitAPITestCase are only executed for the command line git implementation because CliGitAPIImplTest extends GitAPITestCase.  The GitClientTest is a parameterized test that replaces the inheritance technique with a parameter that has values "git", "jgit", and "jgit-apache".
I'll review the specific changes as well, but wanted to reply on your specific deletion of CliGitAPIImplTest.
While thinking about VersionTest and how it interacts with the parameterized GitClientTest, I wonder if my advice to copy it into GitClientTest should be replaced with placing it in a completely independent test.  Placing the VersionTest into GitClientTest will cause it to be executed 3 times, once for each value of the parameter.  Only 1 of those 3 executions is needed. The others are a waste of time and output.
What do you think?

Hi, in light of your suggestion, I tried finding a solution to where we could separate test cases which needed only a selective parameter and I found the Runner Class but upon some inspection, this works only when we have some parameterized and non-parameterized test cases in the same class.
Initially I didn't understand the need of CliGitAPIImplTest anymore, but after what you have said and the need to place classes like VersionTest in a separate test class makes it more obvious.
So we can either maintain VersionTest class in CliGitAPIImplTest and derive instances of these in GitClientTest (I'll revert my changes), or we could create a separate utility class. The role of the utility class would become clearer when other test classes have been ported as well.
What would you suggest?

Good insights. Let's return to your original implementation that references VersionTest from inside CliGitAPIImplTest so that we can bring this pull request to completion.  As you continue working on the changes, I think you'll find which works best based on your experiences with the code.

authors: MarkEWaite rishabhBudhouliya

repo: jenkinsci/git-client-plugin


text:
Parent Packaging POM: Allow overriding Jenkinsfile Runner version

Currently the Jenkinsfile Runner version is hardcoded to the Parent POM version. It leads to two issues:

It is not possible to create downstream parent POMs with independent versioning
It is not possible to override JFR versions. In the future I would like to detach Parent POM to another repository, and it may become a use-case for it.

TL;DR: It is a bad idea when combining this approach with maven-dependency-plugin. I will debug it locally, likely via a series of direct pushes in the release flow

repo: jenkinsci/jenkinsfile-runner


text:
Make permissions matrix-auth-3.0+ compatible

Make permissions matrix-auth-3.0+ compatible by adding support to explicitly assign permissions to groups or users.
With https://github.com/jenkinsci/matrix-auth-plugin/releases/tag/matrix-auth-3.0 ambiguous permissions will show a warning. With this change, matrix-auth-3.0+ users can resolve the warning by using the appropriate methods.
Inspired by https://github.com/jenkinsci/job-dsl-plugin/pull/1249
Testing done
Added test cases and manually deployed and tested the hpi on a Jenkins 2.440.3 instance.
Job DLS

UI

XML

Submitter checklist

[x] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
[x] Ensure that the pull request title represents the desired changelog entry
[x] Please describe what you did
[x] Link to relevant issues in GitHub or Jira
[x] Link to relevant pull requests, esp. upstream and downstream changes
[x] Ensure you have provided tests - that demonstrates feature works or fixes the issue

@basil @jamietanna - are you still the main maintainers? It would be great if you could have a look at this PR.

As per https://github.com/jenkinsci/job-dsl-plugin?tab=readme-ov-file#jenkins-job-dsl-plugin I'm looking for support with maintainence.
I appreciate that this is fixing a warning, but I think my priority - if I were to be able to have time to support the plugin - would be to triaging the other outstanding issues and work out priority from there

As per jenkinsci/job-dsl-plugin#jenkins-job-dsl-plugin I'm looking for support with maintainence.
I appreciate that this is fixing a warning, but I think my priority - if I were to be able to have time to support the plugin - would be to triaging the other outstanding issues and work out priority from there

Sure, prioritize as best for you. Glad to see that there is a maintainer left.
I would like to emphasize that this also addresses thttps://issues.jenkins.io/browse/JENKINS-67411 - maybe a coin to raise this issue in its priotity.

authors: eva-mueller-coremedia jamietanna

repo: jenkinsci/job-dsl-plugin


text:
Modernize to Jenkins 2.440.3

Hi!
This PR aims to move this plugin to the recommended Jenkins baseline version.
If there are additional requirements for accepting PRs - such as additional lag time before adopting a baseline - feel free to reply in the comments.
Testing done
Ran mvn clean verify.
### Submitter checklist
- [x] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!
- [x] Ensure that the pull request title represents the desired changelog entry
- [x] Please describe what you did
- [x] Link to relevant issues in GitHub or Jira
- [x] Link to relevant pull requests, esp. upstream and downstream changes
- [x] Ensure you have provided tests - that demonstrates feature works or fixes the issue

Refs: sghill-rewrite/campaigns#4
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.jenkins.ModernizePlugin?organizationId=SmVua2lucyBDSQ%3D%3D

Thanks for your PR. 2.426.x is still supported by update sites (as is 2.414.x) and I see no reason to update to a later version at this time.

Thanks for the note. Would you consider update site support the main factor in your decision to upgrade, or are there others?

Would you consider update site support the main factor in your decision to upgrade

It's one of the reasons. I'm co-author of most of the criteria listed in the docs, and support most of them. I just see the recommendation more as a fallback, rather than "if you end up older than this, you should update".

authors: daniel-beck sghill sghill-rewrite

repo: jenkinsci/matrix-auth-plugin


text:
get distanceField on near query

I have a geo near query and needs the return distance field, but i cant find the way to do it with this package. With the Mongo shell its works. Ty for help and dev this pack.
DB::collection('properties')->raw(function($collection) {
    return $collection->find([
         'location' => [
                '$near' => [
                    'type' => 'Point',
                    'coordinates' => [1, 36]
                ],
                '$maxDistance' => 1000000,
                '$distanceField' => 'distance'
         ],
    ]);
});

MongoDB\Exception\InvalidArgumentException with message '$pipeline is not a list (unexpected index: "location")'
DB::collection('properties')->whereraw([
     'location' => [
            '$near' => [
                'type' => 'Point',
                'coordinates' => [1, 36]
            ],
            '$maxDistance' => 1000000,
            '$distanceField' => 'distance'
     ],
])->first()

MongoDB\Driver\Exception\RuntimeException with message 'invalid argument in geo near query: $distanceField'

Any idea how to get the distance ?

repo: jenssegers/laravel-mongodb


text:
MongoDB\Driver\Exception\BulkWriteException: Updating the path 'my_collection.updated_at' would create a conflict at 'my_collection'

This happens in my unit tests after i upgraded to 3.5. This can be simply reproduced:
$model = MyCollectionModel::first();

$model->update($model->toArray());

This is the stacktrace (the right order is from bottom to top; error occurs on Update.php:179)
vendor/mongodb/mongodb/src/Operation/Update.php:179
vendor/mongodb/mongodb/src/Operation/UpdateMany.php:105
vendor/mongodb/mongodb/src/Collection.php:1008
vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Collection.php:45
vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Query/Builder.php:834
vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Query/Builder.php:591
vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Eloquent/Builder.php:47
vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:741
vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:656
vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:603
app/Jobs/Soccer/ParsePlayerProfileSchema.php:77

In my job, @ line 77 i have:
$storedPlayer->update($data);

This job also does an API call. The fact is that $data contains the existing Player model as well as some modifications that come from the API call in order to update my stored player with the freshest data, while keeping the other details intact.
Briefly, this line does the same thing as explained before:
$model = MyCollectionModel::first();

$model->update($model->toArray());


text:
Ignore local PHPUnit overrides

It's me again 👋
while working on #2239, I copied the phpunit.xml.dist to phpunit.xml so that I could use my locally installed MongoDB instance with different connection parameters.
Since the repo already has the phpunit.xml.dist, I'd like to suggest ignoring phpunit.xml so that local overrides can be applied without risking to commit them to the repo by accident 🤞.
Long story short: see PR title 😂
:octocat:

Thank you for your contribution @jeromegamez !

authors: divine jeromegamez


text:
ci: add bandit to pre-commit hooks to check for common security issues

As mentioned in issue #5 I added the bandit tool as a pre-commit hook.
I do have a few concerns though:

There are currently 146 open issues and 48 open pull requests, and progress seems sluggish.
pyproject.toml configuration isn’t currently supported (issue https://github.com/PyCQA/bandit/issues/733) but seems to have been committed to mainstream (commit https://github.com/PyCQA/bandit/commit/44f5c416cc0b7d62ca55b78e90bd1f7ee3d16082) but I couldn’t make that work.
Our unit tests make explicit use of the assert statement which is flagged by bandit as issue B101, and it’s not possible to disable that for tests only (issue https://github.com/PyCQA/bandit/issues/457); so I’ve disabled it globally through the command-line (because the pyproject.toml isn’t working).

So, while I think that bandit can be useful, in its current state it’s a bit limited and inflexible for CI.

My suggestion would be to make it usable for running locally but not integrated as part of a github action.  This allows us to parse the issues and give feedback to bandit.  Hopefully over time it these bandit issues will get fixed.

We could add bandit to the development dependencies
https://github.com/jenstroeger/python-package-template/blob/7292ee9804ba6cae77b63726ae9691e9aeb154e4/setup.py#L61-L73
Then it’ll be installed, and users can use it if they want… or not.

@jenstroeger Saw this issue mentioned somewhere, and thought you might be interested in how to get the toml config working. https://github.com/PyCQA/bandit/issues/902#issuecomment-1132322452

repo: jenstroeger/python-package-template


text:
🛑 Wanted Gigs is down

In 1f86592, Wanted Gigs (https://www.wanted.co.kr/gigs) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wanted Gigs is back up in 519a31f.

repo: jeongsk/upptime


text:
🛑 Wanted Gigs is down

In 8d43fd7, Wanted Gigs (https://www.wanted.co.kr/gigs) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wanted Gigs is back up in 3b72bc2.


text:
Angle-Averaged Detection Probability

@jeremy-baier I think the clean thing to do here is to merge my changes into your branch and then merge your PR into the master branch.
This fork/PR has all of the changes needed to include a third Detection Probability (False Dismissal Probability) for single sources that is averaged over the inclination and polarization angles. This is different than the one that already exists in hasasia which uses the angle-averaged signal to noise ratio in the F-statistic directly, giving a different distribution. See our new paper for more details.

merged ! @Hazboun6

repo: jeremy-baier/hasasia


text:
Feature Request: Set file ctime & mtime after download

Thanks for making ss3.  I'm using it to download an S3 bucket to local files.  The bucket objects were created over several years, but the downloaded files all show today's date.  I wish ss3 would set the file creation and modification times to the times of the source S3 objects.
The tool could also set the file creation time to the time of the oldest object version.

Sorry for the delay. This is an interesting requirement. Do you know what is the behavior of the default AWS S3 CLI ?

I don't know.

authors: jeremychone mleonhard


text:
Version Upgrades

Description of Change
Moved several version numbers to properties and setup auto-incrementing the versions on every clean operation. Added a safety net via a custom maven-enforcer rule that will break the build if we upgrade to a dependency that requires JRE v8+. We currently are supporting Java 7 until next June when Jenkins drops support for Java 7.
Have test cases been added to cover the new functionality?
Existing tests

Can one of the admins verify this patch?

Jeremy. I think you might have misunderstood the email I sent. As of this June, Jenkins only support Java 8. They still have LTS releases that are still supported that can only run on Java 7, but all new releases since June require Java 8.

authors: jeremylong stevespringett

repo: jeremylong/DependencyCheck


text:
Ctrl-Enter does not move text to console (having the issue on Windows 7 and Arch Linux)

Highlighting text and hitting Ctrl-Enter moves the cursor to the next line without copying the text to the console. Selecting the text and using the command palate to send text to the console works though. I am seeing this issue on both a Windows 7 and Arch Linux install.

Works perfectly, thanks!

repo: jeremyramin/terminal-plus


text:
[BUG] Sidebar Search Over Menu Items [sidebar-custom-search] redirect to 404

Hello,
first thanks a lot for this great work
I'm using sidebar-custom-search
 [
            'type' => 'sidebar-menu-search',
            'text' => 'search',
        ],

when I navigate to results , it goes to something like http://127.0.0.1:8000/admin/http%3A//127.0.0.1%3A8000/admin/users

This is a bug from the underlying AdminLTE v3.1.0 package. There is a temporal solution on #900 and this problem will be solved on the next release of AdminLTE v3.2.0.

Thanks @Shidersz
this is my release : "jeroennoten/laravel-adminlte": "^3.7"
Do I need to update  ?

authors: AMoktar Shidersz

repo: jeroennoten/Laravel-AdminLTE


text:
Error setting up entry Smart Irrigation for smart_irrigation

What happened?
The integration reports it has fault (smart irrigation is not shown in the menu). downloading a diagnostic file is not possible. I don't know what is wrong. Please help.
How to reproduce
after each start-up of HA.
Relevant log output
Logger: homeassistant.config_entries
Bron: config_entries.py:604
Eerst voorgekomen: 18:31:46 (1 gebeurtenissen)
Laatst gelogd: 18:31:46

Error setting up entry Smart Irrigation for smart_irrigation
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/smart_irrigation/__init__.py", line 77, in async_setup_entry
    store = await async_get_registry(hass)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/smart_irrigation/store.py", line 714, in async_get_registry
    data = await task
           ^^^^^^^^^^
  File "/config/custom_components/smart_irrigation/store.py", line 709, in _load_reg
    await registry.async_load()
  File "/config/custom_components/smart_irrigation/store.py", line 312, in async_load
    inst = m(self.hass, module[MODULE_DESCRIPTION], modconfig)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/smart_irrigation/calcmodules/static/__init__.py", line 25, in __init__
    super().__init__(
  File "/config/custom_components/smart_irrigation/calcmodules/calcmodule.py", line 26, in __init__
    raise e
  File "/config/custom_components/smart_irrigation/calcmodules/calcmodule.py", line 24, in __init__
    self._schema(config)
  File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 205, in __call__
    return self._compiled([], data)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 549, in validate_dict
    return base_validate(path, data.items(), out)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 382, in validate_mapping
    raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: expected float for dictionary value @ data['delta']

Which version are you running?
V2024.8.1-beta-8
Diagnostics file

[X] I have attached a diagnostics file

Additional information
No response

Please install versions 2024.8.0

Also version 2024.8.0 had the same issue

The integration has worked correctly till a moment in time. To resolve the issues I reinstalled the integration. You may consider this as a new installation, I think.

ok, thanks for letting me know, I will try to see what is going on

I can't reproduce this, can you post the contents of the storage file please? https://jeroenterheerdt.github.io/HAsmartirrigation/usage-troubleshooting.html

I'm having the same issue.  I'm on a docker image for HA and don't see the diagnostic folder mentioned in the link and SmartIrrigstuon isn't showing up as an integration in the menu.

downloading a diagnostic file is not possible.
I can not find the smart_irrigation.storage not the configuration/.storage directory on the system.
What to do?

the storage directory is hidden. it should be under config/.storage.

smart_irrigation.storage.txt
as requested, attached the smart_irrigation.storage file

I see there is a bug here the delta on the Static module is somehow an empty string, not a number. I still can't reproduce this but will try to make sure it doesn't happen any more.

Latest beta solved this issue. Thx.

authors: Erwiiinst jeroenterheerdt mgomezdev

repo: jeroenterheerdt/HAsmartirrigation


text:
Type of Marker Query

Hello,
I just had 2 quick questions relating to markers.
Firstly, can one only use the hiro and kanji markers or can one use a custom image as a marker? If so, how would I go about incorporating this on the marker-camera preset?
Also, can one add a pre-rigged and animated model (from TurboSquid for example) and if so, how would I do this? Would the files need to be converted to JSON in Blender or something?

on adding a model, use the usual three.js/aframe technic - ar.js doesnt enter in this
to learn a new markers, see

marker generator http://jeromeetienne.github.io/AR.js/three.js/examples/markerGenerator/examples/generator.html
detail https://artoolkit.org/documentation/doku.php?id=3_Marker_Training:marker_training

to change the preset=''.

remove the preset=''
add type='pattern' and patternUrl='http://your/markers'

i hoipe this helps

http://jeromeetienne.github.io/AR.js/three.js/examples/markerGenerator/examples/generator.html
The link is not working

where did you get it ?
On Thu, Jun 1, 2017 at 1:21 PM curtello notifications@github.com wrote:

http://jeromeetienne.github.io/AR.js/three.js/examples/markerGenerator/examples/generator.html
The link is not working
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jeromeetienne/AR.js/issues/67#issuecomment-305477081,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPcIlVMnR2LmmWS9qRM2Z7eV6TJIah0ks5r_qy1gaJpZM4NhelH
.

You have just used it when you commented up there on this issue

oh ok my bad. Stuff are moving fast, so backward compatibility isnt easy. i always try to maintain the proper links in the README.md tho, in the examples section
here is the new location for marker training https://jeromeetienne.github.io/AR.js/three.js/examples/marker-training/examples/generator.html

authors: Jaysonvdw curtello jeromeetienne


text:
Adding platform.sh profile

As a truly, fully distributed team... I kindly ask you for inclusion.

Thanks for filling this out! :)

authors: OriPekelman jessicard

repo: jessicard/remote-jobs


text:
[Feature Request] Add completion for scripts

When I hit tab after devbox run , it can provide all the script names (just like Makefile).

this would be great to enable

@hezhizhen that's a really good idea. Is this something you can take on? Happy to brainstorm approaches if needed

@hezhizhen that's a really good idea. Is this something you can take on? Happy to brainstorm approaches if needed

Sure, I can try it. But I have no idea how completion works. Does it rely on shell completions?

I can add scripts to devbox run command as cobra commands and their names can be autocompleted. But it requires devbox to build itself every time users add or remove scripts.

I can add scripts to devbox run command as cobra commands and their names can be autocompleted. But it requires devbox to build itself every time users add or remove scripts.

See https://github.com/jetpack-io/devbox/pull/774

I've noticed that cobra command has field ValidArgs and ValidArgsFunction. Maybe I can use them.

See https://github.com/jetpack-io/devbox/pull/775 . I think this solution is better.

Thanks again @hezhizhen for taking the time to implement this.
Closed by #775.

authors: gcurtis hezhizhen mikeland86 savil

repo: jetpack-io/devbox


text:
Unable to install joulescope via Pipenv

joulescope can safely be installed directly on my machine:
test-joulescope $ pip3 install joulescope
Collecting joulescope
  Downloading joulescope-0.9.7.tar.gz (602 kB)
     |████████████████████████████████| 602 kB 4.1 MB/s
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting pymonocypher>=0.1.3
  Downloading pymonocypher-3.1.0.0.tar.gz (100 kB)
     |████████████████████████████████| 100 kB 11.5 MB/s
  Preparing metadata (setup.py) ... done
Requirement already satisfied: python-dateutil>=2.7.3 in /Users/digitalorder/.asdf/installs/python/3.8.9/lib/python3.8/site-packages (from joulescope) (2.8.2)
Collecting numpy>=1.17
  Using cached numpy-1.21.4-cp38-cp38-macosx_10_9_x86_64.whl (16.9 MB)
Requirement already satisfied: psutil in /Users/digitalorder/.asdf/installs/python/3.8.9/lib/python3.8/site-packages (from joulescope) (5.8.0)
Collecting pyjls>=0.3.3
  Downloading pyjls-0.3.4.tar.gz (243 kB)
     |████████████████████████████████| 243 kB 10.6 MB/s
  Preparing metadata (setup.py) ... done
Requirement already satisfied: six>=1.5 in /Users/digitalorder/.asdf/installs/python/3.8.9/lib/python3.8/site-packages (from python-dateutil>=2.7.3->joulescope) (1.16.0)
Building wheels for collected packages: joulescope, pyjls, pymonocypher
  Building wheel for joulescope (pyproject.toml) ... done
  Created wheel for joulescope: filename=joulescope-0.9.7-cp38-cp38-macosx_11_0_x86_64.whl size=512786 sha256=2d27138ac2e042e4d9e0bb0ef177be797e10f47431f845356c0bbec0a1b8c424
  Stored in directory: /Users/digitalorder/Library/Caches/pip/wheels/17/4c/e1/8a97f0e2c0bba539ab4bcaa152ad156341655e43736f8dbb45
  Building wheel for pyjls (setup.py) ... done
  Created wheel for pyjls: filename=pyjls-0.3.4-cp38-cp38-macosx_11_0_x86_64.whl size=173232 sha256=64020c272310d8b84c1b2f8d965027f218ec34889351b10d4c816b45e35e584f
  Stored in directory: /Users/digitalorder/Library/Caches/pip/wheels/12/aa/a4/356fbb8a81119d7c143049645e8f8d532a2f086a86620d62d2
  Building wheel for pymonocypher (setup.py) ... done
  Created wheel for pymonocypher: filename=pymonocypher-3.1.0.0-cp38-cp38-macosx_11_0_x86_64.whl size=91267 sha256=d8650d5b2bb16cfb0e52731a21b2bff25ce4a313a4336a6c0b4f934910978378
  Stored in directory: /Users/digitalorder/Library/Caches/pip/wheels/fa/dc/91/c095ac73b6a6a29bea175954b2c9348da64934bc18cb4d1ef1
Successfully built joulescope pyjls pymonocypher
Installing collected packages: numpy, pymonocypher, pyjls, joulescope
Successfully installed joulescope-0.9.7 numpy-1.21.4 pyjls-0.3.4 pymonocypher-3.1.0.0

Then I try minimal pipenv setup. My Pipfile:
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]

[packages]
joulescope = "*"

[requires]
python_version = "3.8"

And it fails for me:
$ pipenv install
Warning: the environment variable LANG is not set!
We recommend setting this in ~/.profile (or equivalent) for proper expected behavior.
Creating a virtualenv for this project…
Pipfile: /Users/digitalorder/dev/test-joulescope/Pipfile
Using /Users/digitalorder/.asdf/installs/python/3.8.9/bin/python3 (3.8.9) to create virtualenv…
⠼ Creating virtual environment...created virtual environment CPython3.8.9.final.0-64 in 253ms
  creator CPython3Posix(dest=/Users/digitalorder/.local/share/virtualenvs/test-joulescope-a23cxIFY, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/Users/digitalorder/Library/Application Support/virtualenv)
    added seed packages: pip==21.3.1, setuptools==58.3.0, wheel==0.37.0
  activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator

✔ Successfully created virtual environment!
Virtualenv location: /Users/digitalorder/.local/share/virtualenvs/test-joulescope-a23cxIFY
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
✔ Success!
Updated Pipfile.lock (851909)!
Installing dependencies from Pipfile.lock (851909)…
An error occurred while installing pywin32==302 --hash=sha256:2393c1a40dc4497fd6161b76801b8acd727c5610167762b7c3e9fd058ef4a6ab --hash=sha256:251b7a9367355ccd1a4cd69cd8dd24bd57b29ad83edb2957cfa30f7ed9941efa --hash=sha256:48dd4e348f1ee9538dd4440bf201ea8c110ea6d9f3a5010d79452e9fa80480d9 --hash=sha256:496df89f10c054c9285cc99f9d509e243f4e14ec8dfc6d78c9f0bf147a893ab1 --hash=sha256:543552e66936378bd2d673c5a0a3d9903dba0b0a87235ef0c584f058ceef5872 --hash=sha256:79cf7e6ddaaf1cd47a9e50cc74b5d770801a9db6594464137b1b86aa91edafcc --hash=sha256:af5aea18167a31efcacc9f98a2ca932c6b6a6d91ebe31f007509e293dea12580 --hash=sha256:d3761ab4e8c5c2dbc156e2c9ccf38dd51f936dc77e58deb940ffbc4b82a30528 --hash=sha256:e372e477d938a49266136bff78279ed14445e00718b6c75543334351bf535259 --hash=sha256:fe21c2fb332d03dac29de070f191bdbf14095167f8f2165fdc57db59b1ecc006! Will try again.
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 9/9 — 00:00:30
Installing initially failed dependencies…
[pipenv.exceptions.InstallError]:   File "/Users/digitalorder/Library/Python/3.8/lib/python/site-packages/pipenv/core.py", line 1863, in do_install
[pipenv.exceptions.InstallError]:       do_init(
[pipenv.exceptions.InstallError]:   File "/Users/digitalorder/Library/Python/3.8/lib/python/site-packages/pipenv/core.py", line 1246, in do_init
[pipenv.exceptions.InstallError]:       do_install_dependencies(
[pipenv.exceptions.InstallError]:   File "/Users/digitalorder/Library/Python/3.8/lib/python/site-packages/pipenv/core.py", line 858, in do_install_dependencies
[pipenv.exceptions.InstallError]:       batch_install(
[pipenv.exceptions.InstallError]:   File "/Users/digitalorder/Library/Python/3.8/lib/python/site-packages/pipenv/core.py", line 763, in batch_install
[pipenv.exceptions.InstallError]:       _cleanup_procs(procs, not blocking, failed_deps_queue, retry=retry)
[pipenv.exceptions.InstallError]:   File "/Users/digitalorder/Library/Python/3.8/lib/python/site-packages/pipenv/core.py", line 681, in _cleanup_procs
[pipenv.exceptions.InstallError]:       raise exceptions.InstallError(c.dep.name, extra=err_lines)
[pipenv.exceptions.InstallError]: []
[pipenv.exceptions.InstallError]: ['ERROR: Could not find a version that satisfies the requirement pywin32==302 (from versions: none)', 'ERROR: No matching distribution found for pywin32==302']
ERROR: ERROR: Package installation failed...

Setup:

macOS 11.4
Python 3.8 via asdf
pipenv 2021.11.23

So missing pywin32 on macOS is understandable, but not exactly what I would expect to pop up here.
Note 1: same thing when I try to do pipenv install on an Ubuntu host
Note 2: Pipfile.lock appears at the of a failed pipenv install and I can just delete offending pywin32 and pypiwin32 from it directly. But I would like to get to the bottom of the problem.

TIL pipenv exists, and it looks to not fully support the requirements.txt format.  The pyjoulescope requirements.txt has this line:
pypiwin32>=223; sys_platform == 'win32'

Since pywin32 shows up in the Pipfile, it looks like pipenv ignores sys_platform.  Here's a StackOverflow question.

Thanks for the tip. These lines in Pipfile actually help to some extent:
pypiwin32 = {version = ">=223", sys_platform = "== 'win32'"}
pywin32 = {version = "*", sys_platform = "== 'win32'"}

This solution still ignores lines like this from you setup.py
https://github.com/jetperch/pyjoulescope/blob/ab9645a2774cf5d5355dee4c1e60a566419b0e00/setup.py#L179-L180
for my linux-based setup. pipenv for whatever reason uses windows rule for numpy>=1.20 and it conflicts with another package that have which requires numpy==1.19.
Anyway, I believe this topic is not relevant to this repository anymore because we start to debug pipenv here.

repo: jetperch/pyjoulescope


text:
Adds sign interfaces for Issuers

What this PR does / why we need it:
Adds sign interface to interfaces 	Sign(context.Context, *v1alpha1.CertificateRequest) (*IssueResponse, error)
This is a requirement for moving over to using CertificateRequests to issue certificates using x509 certificate requests instead of exposing keys.
Special notes for your reviewer:
Rebased on top of #1789
Adds Sign interface to Issuers

/retest

/assign @

/unassign
/assign @munnerz

Can you rebase on master since #1789 has merged?

/lgtm
/approve

/retest

authors: JoshVanL munnerz

repo: jetstack/cert-manager


text:
Bump version strings for v0.14.2

What this PR does / why we need it:
As-per the title 😄 this is still required for the release-0.14 branch patch releases.
Release note:
NONE

/assign @meyskens

/kind cleanup

Thanks! & nope:
https://github.com/jetstack/cert-manager/blob/44fd0db04c561bbb89920843c03c1dea80fc5f43/hack/build/repos.bzl#L1517-L1524


text:
Only consider running pods when determining version

Some clusters may have failed pods that are not garbage collected. These pods should not be considered when determining version numbers.
Signed-off-by: John Chadwick 86682572+johnwchadwick@users.noreply.github.com

What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #4614
Special notes for your reviewer:
Release note:

Fixed a bug that can cause `cmctl version` to erroneously display the wrong webhook pod versions when older failed pods are present. (#4616)

Good finding! This should avoid seeing the corner-case where the "new" version is displayed when in the middle of a cert-manager upgrade that went wrong (I often use invalid --set image.tag).
The only mild behavior change is that cmctl version will start returning a version later than: when deploying cert-manager for the first time, you will have to wait until the pod is running (image pulled and so on); currently, the cmctl version starts working as soon as the pod is created.
I think this change is fine and won't break anyone.
@wallrj I think we can go ahead and merge this, right? I'll hold in case, please unhold if you feel it's OK. It is a feature, right?
/area ctl
/kind feature
/ok-to-test
/lgtm
/hold

I'm taking a look at the test failures, I did not have a working Bazel setup locally, initially.
Adding a test that ensures this behavior might not be a bad idea, either.

@maelvls this looks good to merge, correct? It seems like low-hanging-fruit to merge before 1.7!
(I'd mark it LGTM myself but since you reviewed it initially I think it's best if you have another glance over)

Yes, I think we can go ahead and merge it!

/I hold

/approve
/unhold

authors: SgtCoDFish johnwchadwick maelvls


text:
Improve errors for missed installation steps

It's my hope that these messages will guide users who have jumped the gun on the operator installation steps and encourage them to go back to deploy the operator before continuing.
I also hope that the messages make it clearer where they are connecting to in case it's a kubeconfig context issue that's causing issues.
$ jsctl operator installations status
no installation CRD found in cluster "https://127.0.0.1:52378", have you run 'jsctl operator deploy'?
exit status 1
$ jsctl operator installations apply
no installation CRD found in cluster "https://127.0.0.1:52378", have you run 'jsctl operator deploy'?
exit status 1
$ jsctl operator installations status --stdout
cannot use --stdout flag with status command. When using --stdout, jsctl does not connect to kubernetes
exit status 1

Signed-off-by: Charlie Egan charlieegan3@users.noreply.github.com

Closing in favour of https://github.com/jetstack/jsctl/pull/30

repo: jetstack/jsctl


text:
Please add interface minimize to tray

Please add interface minimize to tray

Added this feature in version 4.12.

authors: goodbitlabsuz jfchapman

repo: jfchapman/VUPlayer


text:
RFE: is it possible to start making github releases?🤔

Is it possible next time on release new version make the github release to have entry on https://github.com/jfhbrook/pyee/releases? 🤔
I'm asking because only on make gh release is spread notification about new release to those who have set watch->releases.
My automation process those notification trying make preliminary automated upgrade of building packages which allow save some time on maintaining packaging procedures.
More about gh releases is possible to find on
https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository
https://github.com/marketplace/actions/github-release
https://pgjones.dev/blog/trusted-plublishing-2023/

I made a PR:
https://github.com/jfhbrook/pyee/pull/138
It needs review and I need to decide if I'm OK changing the tag format, but otherwise I think this will work. It's pushed for perusal, and otherwise I'll review and pull it in when I do a future pyee release.

I'm now making github releases and publishing to pypi with an action:
https://github.com/jfhbrook/pyee/actions/runs/6972654612
The initial release using this feature is here:
https://github.com/jfhbrook/pyee/releases/tag/v11.1.0
Feel free to kick the tires on it. Let me know if you'd like something different and I can see what's possible.

Yep .. it works 👎
Thank you 😄

authors: jfhbrook kloczek

repo: jfhbrook/pyee


text:
➕ [RESOURCE] -

Idea Contribution

[X] I have read all the resource request issues.
[X] I'm interested in working on this issue
[X] I'm part of GSSOC organization

Where do you want to add the resource? Specify the category and section.
I would like to add competitive programming roadmap
Provide the URLs of the resources you are adding
No response
Any alternative approaches/features
No response
Additional Context
No response
Code of Conduct

[X] I follow the CONTRIBUTING GUIDELINE of this project.

Maybe you can add it in the DSA category

Maybe you can add it in the DSA category

Ok

Maybe you can add it in the DSA category

Can I create a separate folder for Competitive Programming  inside the DSA folder

Okay.

repo: jfmartinz/ResourceHub


text:
💡 [FEATURE] - Adding jump to top arrow button

Idea Contribution

[X] I have read all the feature request issues.
[X] I'm interested in working on this issue
[X] I'm part of GSSOC organization

Explain feature request
I observed that their is no jump to top arrow button so I want to add it.
Explain your solution
No response
Any alternative approaches/features
No response
Additional Context
I want to work on this issue.
Please assign me this issue.

The issue is resolved

authors: harinisayani jfmartinz


text:
Boost install error

When attempting to install using cocoapods, I'm getting this error when videocore attempts to pull boost.
Installing boost (1.51.0)
[!] Error installing boost
[!] /usr/bin/tar xfz /Users/UserName/SourceTree/ProjName/Pods/boost/file.tgz -C /Users/UserName/SourceTree/ProjName/Pods/boost
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.

Actually, I just tried installing boost on its own instead of VideoCore and I still get the same thing, so I believe it's on their end.

repo: jgh-/VideoCore


text:
does not use video mixer and use VideoCore in background

hi  @jgh-
i  am using videocore to stream my iOS Screen data,  i found that the video mixer use opengles, so it can not be used in background,
what if i just have one  video source（ios screen data),  so i do not need to use video mixer, so i can run videocore in backgroud.  is that possible?

yes, is possible .  Just modify the method  GLESVideoMixer::pushBuffer  ,  use memcpy to set the screen data in m_pixelBuffer

Alternatively you can just take the mixer out of the equation if you have a source that provides reliable timestamps to the RTMP session (the metadata object passed to the encoder should have the timestamp as a double in Milliseconds)

@notedit @jgh- how does screen capture work with VideoCore? is it possible to add an example? thank you!

if you're doing screen capture in the background you will almost certainly not get into the app store (see Shou, iRec, others who are on alternative app stores / don't work on iOS 9)

@jgh- Could you provide a simple example of streaming a screen capture with VideoCore?

authors: KCastiglione jgh- notedit rgerovski toss156


text:
Crash after call startRtmpSessionWithURL on  VCSimpleSession

when i try to connect with the remote server im getting the next exception stack
2015-10-20 16:12:24.780 SampleBroadcaster[1068:374509] Creating context
2015-10-20 16:12:24.815 SampleBroadcaster[1068:374509] Context creation succeeded
Apple::AudioMixerplayPath: live, app: liveClientState: 1
ClientState: 2
ClientState: 3
2015-10-20 16:12:40.247 SampleBroadcaster[1068:374713] This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes.  This will cause an exception in a future release.
Stack:(
0   CoreFoundation                      0x0000000183c24f74  + 148
1   libobjc.A.dylib                     0x000000019881bf80 objc_exception_throw + 56
2   CoreFoundation                      0x0000000183c24ea4  + 0
3   Foundation                          0x0000000184c3e5d8  + 88
4   Foundation                          0x0000000184ac0a1c  + 36
5   UIKit                               0x000000018927f93c  + 64
6   UIKit                               0x0000000189280454  + 244
7   UIKit                               0x00000001899a677c  + 268
8   UIKit                               0x000000018947dfb0  + 176
9   UIKit                               0x0000000189176ff0  + 644
10  QuartzCore                          0x000000018897df14  + 148
11  QuartzCore                          0x0000000188978b20  + 292
12  QuartzCore                          0x00000001889789e0  + 32
13  QuartzCore                          0x000000018897807c  + 252
14  QuartzCore                          0x0000000188977dd0  + 516
15  QuartzCore                          0x00000001889714bc  + 80
16  CoreFoundation                      0x0000000183bdbc30  + 32
17  CoreFoundation                      0x0000000183bd99d4  + 372
18  CoreFoundation                      0x0000000183b08de0 CFRunLoopRunSpecific + 416
19  Foundation                          0x0000000184a7c7ec  + 308
20  Foundation                          0x0000000184ad1e14  + 88
21  SampleBroadcaster                   0x0000000100103dcc _ZN9videocore5Apple13StreamSession12startNetworkEv + 344
22  SampleBroadcaster                   0x0000000100103c68 ___ZN9videocore5Apple13StreamSession7connectENSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEiNS2_8functionIFvRNS_14IStreamSessionElEEE_block_invoke + 32
23  libdispatch.dylib                   0x00000001004b1d70 _dispatch_call_block_and_release + 24
24  libdispatch.dylib                   0x00000001004b1d30 _dispatch_client_callout + 16
25  libdispatch.dylib                   0x00000001004be7f0 _dispatch_queue_drain + 1036
26  libdispatch.dylib                   0x00000001004b5a20 _dispatch_queue_invoke + 464
27  libdispatch.dylib                   0x00000001004b1d30 _dispatch_client_callout + 16
28  libdispatch.dylib                   0x00000001004c0f38 _dispatch_root_queue_drain + 2344
29  libdispatch.dylib                   0x00000001004c0600 _dispatch_worker_thread3 + 132
30  libsystem_pthread.dylib             0x0000000199229478 _pthread_wqthread + 1092
31  libsystem_pthread.dylib             0x0000000199229028 start_wqthread + 4
)
2015-10-20 16:12:40.260 SampleBroadcaster[1068:374713] This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes.  This will cause an exception in a future release.
Stack:(
0   CoreFoundation                      0x0000000183c24f74  + 148
1   libobjc.A.dylib                     0x000000019881bf80 objc_exception_throw + 56
2   CoreFoundation                      0x0000000183c24ea4  + 0
3   Foundation                          0x0000000184c3e5d8  + 88
4   Foundation                          0x0000000184ac0a1c  + 36
5   UIKit                               0x000000018927f93c  + 64
6   UIKit                               0x00000001899a60ac  + 156
7   UIKit                               0x0000000189280820  + 100
8   Foundation                          0x0000000184ac0aa0  + 168
9   UIKit                               0x000000018927f93c  + 64
10  UIKit                               0x0000000189280454  + 244
11  UIKit                               0x00000001899a677c  + 268
12  UIKit                               0x000000018947dfb0  + 176
13  UIKit                               0x0000000189176ff0  + 644
14  QuartzCore                          0x000000018897df14  + 148
15  QuartzCore                          0x0000000188978b20  + 292
16  QuartzCore                          0x00000001889789e0  + 32
17  QuartzCore                          0x000000018897807c  + 252
18  QuartzCore                          0x0000000188977dd0  + 516
19  QuartzCore                          0x00000001889714bc  + 80
20  CoreFoundation                      0x0000000183bdbc30  + 32
21  CoreFoundation                      0x0000000183bd99d4  + 372
22  CoreFoundation                      0x0000000183b08de0 CFRunLoopRunSpecific + 416
23  Foundation                          0x0000000184a7c7ec  + 308
24  Foundation                          0x0000000184ad1e14  + 88
25  SampleBroadcaster                   0x0000000100103dcc _ZN9videocore5Apple13StreamSession12startNetworkEv + 344
26  SampleBroadcaster                   0x0000000100103c68 ___ZN9videocore5Apple13StreamSession7connectENSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEiNS2_8functionIFvRNS_14IStreamSessionElEEE_block_invoke + 32
27  libdispatch.dylib                   0x00000001004b1d70 _dispatch_call_block_and_release + 24
28  libdispatch.dylib                   0x00000001004b1d30 _dispatch_client_callout + 16
29  libdispatch.dylib                   0x00000001004be7f0 _dispatch_queue_drain + 1036
30  libdispatch.dylib                   0x00000001004b5a20 _dispatch_queue_invoke + 464
31  libdispatch.dylib                   0x00000001004b1d30 _dispatch_client_callout + 16
32  libdispatch.dylib                   0x00000001004c0f38 _dispatch_root_queue_drain + 2344
33  libdispatch.dylib                   0x00000001004c0600 _dispatch_worker_thread3 + 132
34  libsystem_pthread.dylib             0x0000000199229478 _pthread_wqthread + 1092
35  libsystem_pthread.dylib             0x0000000199229028 start_wqthread + 4
)
2015-10-20 16:12:40.272 SampleBroadcaster[1068:374713] This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes.  This will cause an exception in a future release.
Stack:(
0   CoreFoundation                      0x0000000183c24f74  + 148
1   libobjc.A.dylib                     0x000000019881bf80 objc_exception_throw + 56
2   CoreFoundation                      0x0000000183c24ea4  + 0
3   Foundation                          0x0000000184c3e5d8  + 88
4   Foundation                          0x0000000184ac4f3c  + 56
5   Foundation                          0x0000000184ac0afc  + 260
6   UIKit                               0x000000018927f93c  + 64
7   UIKit                               0x0000000189280454  + 244
8   UIKit                               0x00000001899a677c  + 268
9   UIKit                               0x000000018947dfb0  + 176
10  UIKit                               0x0000000189176ff0  + 644
11  QuartzCore                          0x000000018897df14  + 148
12  QuartzCore                          0x0000000188978b20  + 292
13  QuartzCore                          0x00000001889789e0  + 32
14  QuartzCore                          0x000000018897807c  + 252
15  QuartzCore                          0x0000000188977dd0  + 516
16  QuartzCore                          0x00000001889714bc  + 80
17  CoreFoundation                      0x0000000183bdbc30  + 32
18  CoreFoundation                      0x0000000183bd99d4  + 372
19  CoreFoundation                      0x0000000183b08de0 CFRunLoopRunSpecific + 416
20  Foundation                          0x0000000184a7c7ec  + 308
21  Foundation                          0x0000000184ad1e14  + 88
22  SampleBroadcaster                   0x0000000100103dcc _ZN9videocore5Apple13StreamSession12startNetworkEv + 344
23  SampleBroadcaster                   0x0000000100103c68 ___ZN9videocore5Apple13StreamSession7connectENSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEiNS2_8functionIFvRNS_14IStreamSessionElEEE_block_invoke + 32
24  libdispatch.dylib                   0x00000001004b1d70 _dispatch_call_block_and_release + 24
25  libdispatch.dylib                   0x00000001004b1d30 _dispatch_client_callout + 16
26  libdispatch.dylib                   0x00000001004be7f0 _dispatch_queue_drain + 1036
27  libdispatch.dylib                   0x00000001004b5a20 _dispatch_queue_invoke + 464
28  libdispatch.dylib                   0x00000001004b1d30 _dispatch_client_callout + 16
29  libdispatch.dylib                   0x00000001004c0f38 _dispatch_root_queue_drain + 2344
30  libdispatch.dylib                   0x00000001004c0600 _dispatch_worker_thread3 + 132
31  libsystem_pthread.dylib             0x0000000199229478 _pthread_wqthread + 1092
32  libsystem_pthread.dylib             0x0000000199229028 start_wqthread + 4
)
ClientState: 4
ClientState: 5
ClientState: 6
Request to change incoming chunk size from 128 -> 1445375560
received unknown packet type: 0x00
received server window size: 2500000
received peer bandwidth limit: 2500000 type: 66
received ping, sending pong.
Received invoke
(lldb)

@jgh- what version of rtmp handshake is used in the lib?

Hi I am also facing same issue but my app not crashing after cliet state 7 it is entering into clientstate 11 i don't how to resolve it
below is my log please help me out
ClientState: 1
2015-11-21 13:38:20.165 [6114:84511] ============================VCSessionStateStarting
ClientState: 2
ClientState: 3
ClientState: 4
ClientState: 5
ClientState: 6
received server window size: 10000000
received peer bandwidth limit: 10000000 type: 2
received ping, sending pong.
Received invoke
pktId: 1
received invoke _result
tracked command: connect
ClientState: 7
ClientState: 11
2015-11-21 13:38:21.627 [6114:84511] =========================================disconnect

@AlejandroRuiz did you connect to RTMP server please help me

@bintu1234 I decided to create my own client this is due a rtmp version incompatibility (i think so)

@AlejandroRuiz  can you please share your code how you will done that your own client means?

@AlejandroRuiz  hi ,fat man ,are resolve it ? I meet it too

@AlejandroRuiz do u resolve it ?   I meet the problem now ...help  please

try to put callback delegate tin to main thread then the warning will be gone.

(void) connectionStatusChanged:(VCSessionState) state
{
dispatch_async(dispatch_get_main_queue(), ^{
// code here
});

}

@iop883684 thank you, it works for me.

@iop883684  i am using red5 server and my rtmp url like rtmp://server.tv/server/streamkey.But i am unable to connect to the server please help me. I am struggling from last 1 month

thank you,it works


text:
Main Edit Menu not working on Mac OSX

Preflight Checklist
Main Edit Menu Options not working on MAC even using mouse click

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
The Main edit menu options on OSX do not work
The application uses only the internal embeded menu but not the application one.
This prevents remmaping of shortcut keys

Thank you

Issue template not filled, low quality, wont fix... OK!
Its had enough quality to describe the problem but you prefer the red tape.

repo: jgraph/drawio


text:
more than 1000 graphics,become very slow!

After loading more than 1000 graphics, scaling and other operations become very slow, how to solve?

Load less than 1000 graphics?

more than 1000 shape.

Github issues is more for developers with bug reports. For end user questions, please use https://groups.google.com/forum/#!forum/drawio

authors: davidjgraph lijunay


text:
Selecting multiple groups is impossible using shift click method.

Preflight Checklist

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
Once the selection process started it is impossible to add groups to it by shift-clicking.
To Reproduce

Create a new diagram
Add Two shapes
Group them (Group A)
Select the Group A
Make a Copy (Group B)
Move a copy next to the first group
Select Group A by clicking on any element in the group
Attempt to select a second group by Shift-clicking an element Group B

Expected behavior
The Group B should get added to selection as a whole.
draw.io version (In the Help->About menu of the draw.io editor):

draw.io version [13.2.4]

Desktop (please complete the following information):

OS: [MacOS]
Browser [chrome/firefox]

Additional Context
So far it seems that the only way to select multiple groups would be to Mouse drag across all elements in all groups, then manually deselect all elements inside the groups leaving only the groups selected (Which proves difficult when you have 15 elements per group).
Alternatively, a fill or outline can be added to the group thus making it selectable on its own.

Thanks for the report. This will be fixed in the next release.

authors: NonLogicalDev alderg


text:
Offset in mouse selections when page is scrolled down

Apparently, any scroll in a page causes an offset for mouse events in the graph, making nearly impossible to use (in particular, creating new connections) when scrolled down the page. I was able to reproduce this behaviour in the example Helloport when making the browser window small enough to allow scrolling:

Offset in mouse events problem when page is scrolled

Working correctly when scroll is at the top of the page
I found this problem in Google Chrome and Firefox.
Moving and resizing components seems to be working fine.

Duplicate of https://desk.draw.io/helpdesk/tickets/3257

Thanks for the report, this will be fixed in the next release.

Hi @alderg Is this issue got fixed ? I am currently using 3.7.0.1 version.

yes, fixed in 3.7.1

Thank You @alderg

this problem is still alive.

@joulestaa Have you tried this helloport example? If yes and it fails, which browser/browser version are you using? Are you sure you are looking at the latest (cleared cache)?

helloport is working but whan i use graph with page which has scroll problem appears like

Can you repost a simple, complete reproduction example?

I found the problem to keep happening in a specific case, but I haven't been able to reproduce in a simple example yet

@angrykoala does this happen in all browsers? Post a video of it in your app, maybe we can log some numbers to debug it.

If i changed window scroll , drag drop event of an edge or toolbar items appears under my cursor and add that position

how can i fix this problem ? reset all mouse events or what?

Fix what problem? I don't see a clear problem description

I will explain in detail. When I down the page with scroll bar, to combine the cells in graph with edge, the edge appears to be under than the merge field down. I posted this photo at previous post

Joulestaa, I had a very similar problem when I started with my application.
It turned out to be a bug in the specific version of the library I was
using (I was using 3.7.0.1).
As soon as I updated to 3.7.1 the problem went away.
Nigel
On 23 March 2017 at 10:53, David Benson notifications@github.com wrote:

Fix what problem? I don't see a clear problem description
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jgraph/mxgraph/issues/58#issuecomment-288744383, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AKti7W7GObOSNOCRqhklSY05V-pco_jiks5roodRgaJpZM4MOhXd
.

I already use the latest version. I will open a new window in the same way as the graph examples at full height.
Thanks a lot.

@davidjgraph Sorry, I cannot send a video/screenshot of the application at the moment. However, the problem is exactly the described in this issue, but only under certain conditions instead of always (Sorry, I couldn't figure out the exact conditions that trigger the problem). In my app (running on a Chrome browser) one graph behaves properly, while another graph in other page is misbehaving. Both (obviously) are running the same version (after the fix) of mxGraph, and basically the same browser and web.
Before the fix, both graphs were misbehaving, so the main issue (the one I could reproduce with helloport) is fixed, but in unknown conditions it is still happening

Can you please provide a test case to reproduce this issue?

Has anything transpired with this issue? I am experiencing this exact behavior described in the top post. The outer div has an 'overflow: auto' and dragging appears to be fine as long as the scroll is at the top of the page. When scrolling down, an offset in mouse position causes issues when moving edges or dragging symbols onto the graph.
Using mxgraph version 3.7.4, javascript in a google chrome browser.

Can you check if this fix for mxUtils.getScrollOrigin fixes it: https://groups.google.com/d/msg/drawio/vtRndSnOKrM/wcvwVA_-BwAJ

Yes, Hallelujah! This was such a big concern for me. Thank you for responding so quickly with a viable solution @alderg

authors: EdwinThivyaraj alderg angrykoala davidjgraph jchiellini joulestaa nlinnett

repo: jgraph/mxgraph


text:
jq filter

So here is the jq filter feature.
It actually became three jq* parameters, see README.md. This allows for very complex queries which can turn the k8s JSON upside down, if need be.

@x3nb63 thanks for this!


text:
connectionString know what to put in the fields...

I can't fill in all the fields, could you give an example with photos?, to know what to put in the fields...
connectionString="Server=YOURIP;port=YOURPORT;Database=YOURDB;User Id=YOURUSER;Password=YOURPASSWORD;" providerName="Npgsql"
Thank you so much, Víctor.

Here's an example that assumes a Server at IP 192.168.178.2 Port 5433 with a database named MyEvents, a postgres user named MyPostgresUser and a password MySuperSecretPassword:
<connectionStrings>
    <add name="EventsDbContext" connectionString="Server=192.168.178.2;port=5433;Database=MyEvents;User Id=MyPostgresUser;Password=MySuperSecretPassword;" providerName="Npgsql" />
  </connectionStrings>

Does that help?

Here's an example that assumes a Server at IP 192.168.178.2 Port 5433 with a database named MyEvents, a postgres user named MyPostgresUser and a password MySuperSecretPassword:
<connectionStrings>
    <add name="EventsDbContext" connectionString="Server=192.168.178.2;port=5433;Database=MyEvents;User Id=MyPostgresUser;Password=MySuperSecretPassword;" providerName="Npgsql" />
  </connectionStrings>

Does that help?

Hi @jh-isw ,
can you export and submit your postgresql event table so you can import and create the same table with the same fields?
Best regards, Víctor.

Hi @runtimevic,
I had the DB only temporarily for testing, but I guess what you are missing is to update the database with the migration:
Build the software, so all nuget packages get fetched.
Then, from within the Visual Studio Developer console, try:
enable-migrations
update-database -Verbose

Then, you can start the application.
Did that work?

authors: jh-isw runtimevic

repo: jh-isw/EventLoggerConnector


text:
[REST-compliance] Use request body options to merge similar APIs

Following #144
maybe try try to thing about using request bodies to specify some options like:

/api/servers/spring-boot/banner with a required request body attribute of the wanted type instead of /api/servers/spring-boot/banner/jhipster-v2 & others
merge /api/servers/sonar/java-backend and /api/servers/sonar/java-backend-and-frontend in /api/servers/sonar (btw, sonar is not a server, this could also be changed)

This is to have a self explaining API. It's easier to list the different options allowed.

Is it still true with the modules APIs?

let's close this

authors: DamnClin hdurix pascalgrimaud

repo: jhipster/jhipster-lite


text:
SonarSmell: Remove ApiResponses wrapper

Relates #381
cc: @pascalgrimaud

Thanks :))

authors: pascalgrimaud swarajsaaj


text:
hyperparameters optimization

Integrate custom kernel based on spherical covariance function.
Implement stochastic optimization with early stopping for hyperparameter tuning.

This is a draft to plug the hyperparameter optimizations into the GaussianProcessModel (for now only with maximum likelihood estimation). I think some of the functions might be redundant with your code, so feel free to remove them from my code. I reshaped the data array for the hyperparameter optimization, but depending on the shape of the data we feed into the fit method of the Gaussian processes, this could cause problems. Do you know what the shape of y_train will be?

I'm not entirely sure if my understanding of theta is correct, so I've converted the PR to a draft to work on it further. Don't hesitate to share any input you have on this.

So I push-forced to the branch after having rebased, and thus there are some conflicts to be solved. Sorry for this.
First, and just in case, do a copy of your work in a separate folder. Then, assuming upstream is the nipreps/eddymotion repository, and origin is yours (i.e. esavary/eddymotion),
git checkout main
git fetch upstream
git merge upstream/main
git push origin main
git checkout gaussian-process
git rebase upstream/ImplementGaussianProcess

And solve conflicts. If you run into trouble, we could do a zoom call so that I can help you sort this out.
Other comments:

Very nice the subclassing of the sklearn.gaussian_process.kernels.Kernel: the GP requires a Kernel instance, so :ok_hand: .  Looks good, but we'll see as we make progress if further changes are required.
Probably good idea to add your tests so that we can have an idea of how the classes are called (SphericalCovarianceKernel), and whether they give the expected result with some simple data.

Do you know what the shape of y_train will be?

X needs to be (n_samples, n_features), and y (n_samples). If I did not get things totally wrong, in our case, X are the bvecs, so shape (:, 3), and y are the dwi data values, so shape (:). The estimation in each voxel is independent as far as I understand. So in the most simple case, assuming a single-shell, and assuming we have e.g. 100 total gradient directions, if we want to predict one of them, we would leave it out, and include the rest for the training, i.e. X (99, 3) and y (99), and we would give X (1,3) to the prediction method. And doing this for every voxel, we would have 1 prediction for every voxel, for every gradient direction, which would eventually give us our 4D volume.
See https://github.com/nipreps/eddymotion/pull/188/files#diff-b7713b8731a4d1f895063e58f31f8ab54f7bb6ca0e2b1712d85683874d94a6e6R137
Also, I will split my PR so that some parts that can be finalised independently (e.g. the shell identification, angle computation, etc.) can be worked on and merged independently.

Thanks a lot for your inputs! The dimension of the input is now clearer to me. It's a good idea to add tests specifically for the kernel. I'll work on adding them to the PR.

After our discussion, I believe that the kernel part would probably fit better into a separate kernels.py module. That way we would reduce conflicts in utils.py and keep things cleaner.

I push forced again (beb0839). I added a notebook that takes the test code snippet and adds a simple visualization of the signal vs. the prediction. In the future, the loop would disappear and be more readable. Might be helpful when we will be checking visually how good the prediction is. Rebasing on the tip of the branch will require fixing the conflicts; apologies again Elodie.
Once the utils PRs are merged, there should be less conflicts. Refactoring the kernel construction into their own module will also help. If they can be tested without relying on the GP iterative process, maybe they can be put into a separate PR soon and get them merged.

What is the overlap of this and nipreps/eddymotion#202, nipreps/eddymotion#203 & nipreps/eddymotion#204? Are the contents of this PR all included within those PRs to the upstream repo?

What is the overlap of this and nipreps#202, nipreps#203 & nipreps#204? Are the contents of this PR all included within those PRs to the upstream repo?

Yes, everything is included in nipreps#202, nipreps#203 & nipreps#204. I'm closing this pull request.

authors: esavary jhlegarreta oesteban

repo: jhlegarreta/eddymotion


text:
Running without server set up?

Hello,
How do I run the code without a server set up?
    self.parser.add_argument('--display_winsize', type=int, default=256, help='display window size')
    self.parser.add_argument('--display_id', type=int, default=1, help='window id of the web display')
    self.parser.add_argument('--display_server', type=str, default="http://localhost", help='visdom server of the web display')
    self.parser.add_argument('--display_port', type=int, default=8097, help='visdom port of the web display')

However it seems kind of unreasonable to assume that most people will have an http port set up for running visdom.

Nevermind I got it to work by setting display_id to -1.


text:
Colorize output when printing to terminal

Just like some other file-searching related tools do (fd, ripgrep, exa - to mention some), fselect could use colors too. Since fselect doesn't support command line options, there might be a simple rule, colorize the output if it prints to terminal, but disable colors if the output is redirected.
Personally, I'd like to see paths colorized according to LS_COLORS variable, that would help to visually distinguish the files by types.

Thank you for a great tool! :wrench:

Implemented in master.

Great, thank you!

authors: jhspetersson sudo-nice

repo: jhspetersson/fselect


text:
Get make bootstrap working again

make bootstrap has not worked in a while.  Please figure out how to fix it.
Currently, the development environment can only build on existing snapshots.  For jhu-idc/idc-general#295, we will need to create a clean "initial snapshot".  The current snapshot for idc-isle-dc is "dirty", as it contains some "convenience" data in it, and past mistakes.  In order to create a clean snapshot, we need to start from a clean islandora install.  make bootstrap was the easiest and most straightforward way to do that

@birkland who should this be assigned to?

authors: birkland htpvu

repo: jhu-idc/idc-isle-dc


text:
NACC sort order needs to use different value for invalid (zero no good)

Note that nacc_sort_order == 0 is valid (Highland Tinamou)

This should be OK, see INVALID_NACC_SORT_ORDER

This should be OK, see INVALID_NACC_SORT_ORDER


text:
对于软件改进的一些建议

在我使用Maple-Latex时（如下图），翻译结果许多地方有问题，我认为还可以再改进

1. 公式中的 \left \right 环境并未完全移除，留下了left right，详见上图
2. 公式中的运算函数如\cos x被翻译为cosx，而应该是cos(x)或者cos x，详见上图
3. 公式中的大型运算符格式均不对，下图中为正确结果的求和符号、积分符号、极限符号

4. 某些符号翻译错误，如无穷大\infty 应译为infinity，否则maple无法识别
5. 颜色环境未移除，结果内可见 color Blue 等
附：
第一幅图中的latex：
\frac{\frac{{\color{Blue} \int_{0}^{+\infty } e^{-s} s^{5} ds }}{2}  +\frac{{\color{Brown} \int_{-\infty }^{+\infty } e^{-\frac{t^{2}}{2}}dt } } {{\color{Gray}  \int_{0}^{+\infty } \sin t^{2} dt}}  \left (  \frac{{\color{Green} \sum_{n=0}^{\infty } \frac{\left ( -1 \right )^{n}}{2n+1}  }} {{\color{Orange}\int_{0}^{+\infty }\frac{\sin x}{x} dx  } } +\frac{{\color{Purple} \sum_{n=1}^{\infty }\arctan \frac{2}{n^{2} }   }} {{\color{Red} \lim_{t \to 0} \int_{-2020}^{2020}\frac{t\cos x}{x^{2}+t^{2}}dx}  }\right )} {{\color{Violet}\lim_{n \to \infty}\left \{ \left [ \left ( \int_{0}^{1}\frac{x^{n-1} }{1+x} dx  \right ) n-\frac{1}{2}  \right ]  \frac{n}{2} \right \}   }  }=
翻译结果：
(( ( color Blue int0^(+infty) exp(-s) s^5 ds ) )/ 2  +( ( color Brown int[-infty]^(+infty) exp(-(t^2)/ 2 )dt ) )/  ( ( color Gray int0^(+infty) sint^2 dt ) )  left ( ( ( color Green sum[n=0]^infty (left ( -1 right )^n)/ ( 2n+1 ) ) )/  ( ( color Orange int0^(+infty) ( sinx)/ x dx ) )  +( ( color Purple sum[n=1]^infty arctan2/ ( n^2 ) ) )/  ( ( color Red lim[t to 0] int[-2020]^2020 (t cosx)/ ( x^2+t^2 ) dx ) ) right ))/  ( ( color Violet lim[n to infty]left ( left ( left ( int0^1 (x^(n-1) )/ ( 1+x ) dx right ) n-1/ 2 right ) n/ 2 right ) ) ) =

@zhou-tian-xing
好的, 谢谢你. 因为主要是我自己在用, 平时主要处理一些微分多项式, 所以很多其它情况都没有做处理.
你提的这几点我后续尽可能添加上去.

@zhou-tian-xing
另外, 你这个latex可能是自己写的, 目前的功能只处理 mathpix snipping tool 识别生成的latex.
因为每个人书写习惯可能都不太一样, 情况比较复杂. 这个公式识别软件的话, 生成的 latex 基本比较统一, 处理起来方便一点.

@zhou-tian-xing
已经支持积分转换, 求和与极限暂时不能添加, 这两个命令不太好判断作用对象(像积分可以根据 d x 来判断).

对于极限, 求和等函数, 关键问题在于如何匹配作用对象. 例如: 对于 sin t^2 + ... 中 t^2 的匹配, 当然这个比较简单. 对于多层括号嵌套, 分式等作用对象, 比较麻烦. 因为此类命令没有结束标识.

authors: jiandandaoxingfu zhou-tian-xing

repo: jiandandaoxingfu/maple-latex


text:
分支合併回主線

1.20240613-分支變更測試-3

加一點說明


text:
Keyboard appearance

Hi!
Is there any plans to support .keyboardAppearance for textfields?
Thanks for great lib :)

b45415547719265da43792926be834fc9624b7f1 I added the properties you need, theme_keyboardAppearance.
Here are some ways to use it:
someTextField.theme_keyboardAppearance = [.default, .dark, .light]
someTextField.theme_keyboardAppearance = "somePlistKeyPath"

Objective-C:
// Note: StringStyle is not case sensitive.
someTextField.theme_keyboardAppearance = [ThemeKeyboardAppearancePicker pickerWithStringStyles:@[@"Default", @"Dark", @"Light"]];
someTextField.theme_keyboardAppearance = [ThemeKeyboardAppearancePicker pickerWithKeyPath:@"somePlistKeyPath"];

I noticed that if the keyboard appears while the theme is switched, the keyboard does not immediately switch the style. Reappear when it is ok, it should be the behavior of the system, for this situation you can manually resign the keyboard. Of course, I think this scene may be very rare.

Great! Many thanks!

Hi!
How can I update lib through cocoapods? When I'm trying pod update it says that there is no new version.
Regards

I did not release a new version, so you can specify a commit:
pod 'SwiftTheme', :git => 'https://github.com/jiecao-fm/SwiftTheme', :commit => 'b454155'

Thanks for the help, I'll try it

authors: spacedema wxxsw

repo: jiecao-fm/SwiftTheme


text:
[Feature Request] A "previous category" button

Problem: It can feel cumbersome to have to navigate through every category sequentially. If I want to go to my final category in the list from the first category, I feel that I should be able to do that in one action with a "Previous category" button.
Suggestion: Bind "Previous category" and "Next category" to up and down on the d-pad, respectively. This would also free up the square button in the future for another function.

Closing issue prior to archiving

Featured has been added


text:
🛑 SLAS is down

In fce80f5, SLAS ($SECRET_SITE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SLAS is back up in 2bfdaa0 after 7 minutes.

repo: jimmymjin/uptime


text:
feat: use sqlite backend

[x] update code
[x] update docs

done

Make sure to test that restarting the Flow keeps the Indexer with the data

Isn't it that test doing that ?
https://github.com/jina-ai/executor-simpleindexer/blob/895fb7076779aa244e5043fb3918d9cd507ca499/tests/test_simple_indexer.py#L80
(well not exactly but I guess it is enough )

Make an integration test if possible

Maybe a clear endpoint can be useful

done

authors: JoanFM samsja

repo: jina-ai/executor-simpleindexer


text:
Check Typing in code

Expected outcome:

no more “ANY” type in code

Link to feature: https://jinaai.productboard.com/feature-board/planning/features/7154528

repo: jina-ai/jina-hub


text:
要是事务能支持不定参数就更好了

每次事务写出来，会觉得代码有点别扭
return db.Transaction(func(tx *gorm.DB) error {})
这种方式又不支持传参，要是能支持不定参数就更好了。

感觉最好外面包装一层吧，或者block里引用外部变量也行，不定参数过于灵活，用起来很容易出错

authors: DanPlayer jinzhu

repo: jinzhu/gorm


text:
Adds "associationforeignkey" tag in the has_one and belongs_to cases

To handle when the foreign key is not the primary key.
This has not been heavily tested (enough tested to work in all my cases).

This is related to issue #530

Hi @crystalin
Could you add some tests about this?

Going to close this one, as we have rewritten those part of code, and it can't be merged already.

authors: crystalin jinzhu


text:
error: accumulating resources

I went through the steps to deploy Jitsi on my microk8s cluster with kustomize and recieve following error:
error: accumulating resources: accumulation err='accumulating resources from 'https://github.com/jitsi-contrib/jitsi-kubernetes/tree/main/doc/kustomize': yaml: line 218: mapping values are not allowed in this context': evalsymlink failure on '/tmp/kustomize-2873540753/tree/main/doc/kustomize' : lstat /tmp/kustomize-2873540753/tree: no such file or directory
What have I done wrong?
The plan is to run jitsi on a internal server and access the Service with the IP, without exposing anything to the internet, so a https certificate by letsencrypt is not required or relevant for us.
I enabled the Ingress microk8s addon and created the .yaml files like this:
010-deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    k8s-app: jitsi
  name: jitsi
  namespace: jitsi
spec:
  template:
    metadata:
      labels:
        k8s-app: jitsi
    spec:
      containers:
        - name: web
          env:
            - name: PUBLIC_URL
              value: "http://192.168.1.70"

        - name: prosody
          env:
            - name: PUBLIC_URL
              value: "http://192.168.1.70"

041-ingress.yaml
---
###################################################
# Ingress
###################################################
kind: Ingress
apiVersion: networking.k8s.io/v1
metadata:
  name: jitsi
  namespace: jitsi
  annotations:
    cert-manager.io/cluster-issuer: "letsencrypt-prod"
spec:
  tls:
  - hosts:
    - 192.168.1.70
    secretName: tls-jitsi
  rules:
  - host: 192.168.1.70
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: web
            port:
              number: 80

kustomization.yaml
namespace: jitsi
bases:
- https://github.com/jitsi-contrib/jitsi-kubernetes/tree/main/doc/kustomize

resources:
- 041-ingress.yaml

patchesStrategicMerge:
- 010-deployment.yaml

Thank you for your help!

I attempted a fresh microk8s installation on my local computer and ended up with the same Error, mentioning line 220.
Here are all commands i executed:
Installing Microk8s and dashboard:
sudo snap install microk8s --classic
sudo ufw allow in on cni0 && sudo ufw allow out on cni0
sudo ufw default allow routed
sudo microk8s enable dns dashboard storage
sudo microk8s status
sudo microk8s kubectl get all --all-namespaces
token=$(microk8s kubectl -n kube-system get secret | grep default-token | cut -d " " -f1)
sudo microk8s microk8s kubectl -n kube-system describe secret $token
Attempting installation with kustomize:
mkdir my-jitsi
cd my-jitsi
vim kustomization.yaml
vim 010-deployment.yaml
-> I took the ingress file out
-> I set the PUBLIC_URL to my IP
sudo microk8s kubectl create namespace jitsi
sudo microk8s kubectl create secret generic jitsi-config -n jitsi --from-literal=JICOFO_COMPONENT_SECRET=start --from-literal=JICOFO_AUTH_PASSWORD=start --from-literal=JVB_AUTH_PASSWORD=start
sudo microk8s kubectl apply -k ./my-jitsi

Oh! Now I see that there is a typo in the docu.
The deployment file is 030-deployment.yaml and not '010-.....'
I think this causes the problem. Just rename your 010-deployment.yaml into 030-deployment.yaml This should do the trick.
I will update the documentation. Please let me know if this works for you.

I updated the file name and kustomization.yaml
Sadly the issue remains.
error: accumulating resources: accumulation err='accumulating resources from 'https://github.com/jitsi-contrib/jitsi-kubernetes/tree/main/doc/kustomize': yaml: line 225: mapping values are not allowed in this context': evalsymlink failure on '/tmp/kustomize-1066009744/tree/main/doc/kustomize' : lstat /tmp/kustomize-1066009744/tree: no such file or directory

Then please take out the patchesStrategicMerge resoruce and test if this did work.
If yes, than something in your 030-deployment.yaml is incorrect.

The attempt with just the kustomization.yaml, without the resources and patchesStrategicMerge files did not work either, same error.
I appreciate your support!
Another idea is, the containerization of snap could cause issues accessing the tmp files.

ok, then I am no longer convinced that microk8s fully support kustomize. The error messages are also not helpful.

Since I also do not know how to continue here, we have gone back to working with Kompose.

Same issue here. I am on a bare metal cluster so i dont think it is because of microk8s.

Just to sort things out: if you remove the resources and patches in your kustzomiz file like the following one. Is it working?
namespace: jitsi
bases:
- https://github.com/jitsi-contrib/jitsi-kubernetes/tree/main/doc/kustomize

#resources:
#- 041-ingress.yaml

#patchesStrategicMerge:
#- 030-deployment.yaml

I have tried the helm install. Helm install is working.

Still same issues when resources and patches are removed..

Can someone narrow down the issue if this is related to the kubernetes environment/version? I am running in v1.21.6 and can not reproduce this kind of issue.

I am running v1.22.4

Running 1.21.7 in aks.
We managed to use a workaround by downloading all the base files locally and not use the base feature. We have a plan to test this with a clean microk8s environment.

From: Jose Olivera @.>
Sent: Wednesday, February 23, 2022 1:10:26 PM
To: jitsi-contrib/jitsi-kubernetes @.>
Cc: Tim Nilimaa-Svärd @.>; Comment @.>
Subject: Re: [jitsi-contrib/jitsi-kubernetes] error: accumulating resources (Issue #19)
I am running v1.22.4
—
Reply to this email directly, view it on GitHubhttps://github.com/jitsi-contrib/jitsi-kubernetes/issues/19#issuecomment-1048717883, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABN27S4DDKT42J5BUN6HIIDU4TFDFANCNFSM5NX323SA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID: @.***>

same problem, k3s v1.22.7

Ok so the deal is that kustomize git urls are a complete mess and there's a whole chaos of issues and PRs about it, with this being the latest: https://github.com/kubernetes-sigs/kustomize/issues/4454
What worked for me was removing https:// and /tree/main from the url, so you have:
`
namespace: jitsi
bases:

github.com/jitsi-contrib/jitsi-kubernetes/doc/kustomize
...
`
I can go ahead and make a PR for this.

Yes you are totally right! There is in deed a wrong URL in the docu and I have overseen this all the time during this discussion.

Please give us some feedback if this solves your problem.
Solution:
replace in your kustomization.yaml  file the line
- https://github.com/jitsi-contrib/jitsi-kubernetes/tree/main/doc/kustomize

with
- github.com/jitsi-contrib/jitsi-kubernetes/doc/kustomize

authors: Buluc-Chabtan OverwhelmedStudent TimNilimaa Y0ngg4n foobarbecue rsoika

repo: jitsi-contrib/jitsi-kubernetes


text:
Error with Jest Test

Hi all !
I'm trying to test my app with Jest and using the sdk. However, as soon as I try to test a component using JitsiMeeting, impossible.
Just in case it was my setup, I started from scratch with a blank CRA project, I just installed the SDK, it does the same.
Help :/
` ● Test suite failed to run
Jest encountered an unexpected token

Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.

Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.

By default "node_modules" folder is ignored by transformers.

Here's what you can do:
 • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
 • If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
 • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
 • If you need a custom transformation specify a "transform" option in your config.
 • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.

You'll find more details and examples of these config options in the docs:
https://jestjs.io/docs/configuration
For information about custom transformations, see:
https://jestjs.io/docs/code-transformation

Details:

/Users/nathanpanchout/Documents/Societé/dossier sans titre/jitsi-test/node_modules/@jitsi/react-sdk/lib/index.js:1
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){export * from './components';
                                                                                ^^^^^^

SyntaxError: Unexpected token 'export'

  1 | import * as React from 'react';
> 2 | import {JitsiMeeting} from "@jitsi/react-sdk";
    | ^
  3 |
  4 | export interface VideoMeetingProps {
  5 | }

  at Runtime.createScriptFromCode (node_modules/jest-runtime/build/index.js:1728:14)
  at Object.<anonymous> (src/components/VideoMeeting/VideoMeeting.tsx:2:1)
  at Object.<anonymous> (src/components/VideoMeeting/VideoMeeting.test.tsx:3:1)`

Hey! I'm facing the same problem. Were you able to solve it?

authors: PanchoutNathan ivnxyz

repo: jitsi/jitsi-meet-react-sdk