Quick-understanding with CSS

Can I just suggest you make it clear on how to use this - when it comes to CSS.
It seems like, given all your examples, you have to get the html/css all setup (maybe 100 lines) before you can use this.
But you've written that this is your "preference" and that is all.
Is it because it won't work any other way or you just prefer to create examples like this?
Then looking at the examples, I have to study carefully to figure out what CSS is in your own library and what I need to introduce.

Ah ok, I thought it was pretty clear.
The example in the readme file is 48 lines, including html boilerplate stuff. Some stuff would be necessary regardless. For example this, since the plugin doesn't know which size the website author wants on the parent container - body doesn't need to be the parent container.
html, body {
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

Using css is the only way to set up the split pane, so I might need to make that clearer in the readme.

Readme is updated. Thanks for your feedback!

Thanks.
Sorry this is probably not the place, but on my first attempt, downloading the latest, I get
split-pane.js:125 Uncaught TypeError: internalHandler is not a function

I got past that - was putting the css classes in the wrong divs.
Still, even though I've specified a div as split-pane-divider having that class.
I don't see a divider after splitPane runs.
And if I insert HTML dynamically into that pane, it isn't confined to the pane, so basically doesn't work.
I'll try document all this, but I don't think I can use it


stop suggesting playground for long messages without backticks

https://regex101.com/r/BhzMhy/3/

The playground suggesting feature is there to deter people from posting long walls of text. For those, Slack has snippets which should be used instead. I won't merge it, for now at least. I'll see if this can be improved in another way (such as automatically creating the snippet then removing the message).
Nonetheless, thank you for your PR.


Chapter04: MicroProfile Open API

Chapter04: MicroProfile Open API

Thanks @MikeEdgar for your feedback and inputs. I have incorporated them all.

@Emily-Jiang - Please merge this PR.

@ttelang please see my above suggestion. Once you have addressed this, I believe it can be merged.


Add minor QoL changes to xenial upgrade

Pin python requests, upgrade cryptography per dependency warning msg
Add symlink to virtualenv'd shell_manager from /usr/local/bin
Add virtualenv activation to interactive login

Addresses #101

Updated per discussion


Export gumdrop

No idea if it works - but it is a nice idea! :3

I ran into this with #216. You'll see that I had to use gumdrop::Options in the new binary as well. I tried this over there and it worked, but I wanted to split it.


Makes BeanFactoryPostProcessor bean static in Spring Configuration

Within a Spring Configuration class bean methods returning an instance
of a class that implements the BeanFactoryPostProcessor interface must
be static to prevent possible issues with some types of annotations.

All is well.


cloud docs URL to the schema for validation is wrong

Environment

Declarative Onboarding Version: 1.10.0-2
BIG-IP Version: 14.1.2-<IP_ADDRESS>

Summary
https://clouddocs.f5.com/products/extensions/f5-declarative-onboarding/latest/validate.html
says to add this to you declaration to validate it:
"$schema": "https://raw.githubusercontent.com/F5Networks/f5-declarative-onboarding/master/schema/latest/base.schema.json",

The source tree was refactored and the doc was not updated. Should read:
"$schema": "https://raw.githubusercontent.com/F5Networks/f5-declarative-onboarding/master/src/schema/latest/base.schema.json",

duplicate of https://github.com/F5Networks/f5-declarative-onboarding/issues/97

Closing as a duplicate.


WIP Optimize the labels memory usage

@roidelapluie @LeviHarrison
With millions metrics，memory will be the first limitation for most cases, so we did some work for this problem.
Optmize for labels caching
The flowing grafana is the tsdb top 10 label value pairs

There have a lot duplicated labels in the memory store with labels.Labels
With go pprof heap, almost half of the memory is used by labels
So we decide use dict cache to solve the problem, but the result is better than expect.
Results

4.6M metrics for mesh service

Memory from 43G to 14G, reduce 68%
CPU from 400% to 130%, reduce 67.5%

Another 29M metrics instance memory compared: 200G vs 50G
Less go gc time

The metric compre grafana screenshot

Best Reguards

Thanks for the PR. There are some CI errors.
FYI I have a WIP to do roughly the same thing but varint-encoding the string indexes, and using multiple string tables with different lifetimes.

On first reading I couldn’t spot your cache eviction policy; can you explain it please?

On first reading I couldn’t spot your cache eviction policy; can you explain it please?

OK，I'll expain it more~

I would like to suggest: this would be a much smaller PR if you left Label unchanged and made the int pairs an internal detail of Labels. This was the idea of adding abstractions like Labels.Range, which (in theory) don’t need to change as the internals evolve.

I would like to suggest: this would be a much smaller PR if you left Label unchanged and made the int pairs an internal detail of Labels. This was the idea of adding abstractions like Labels.Range, which (in theory) don’t need to change as the internals evolve.

Yes, this maybe a better idea. Most label string is genterated by func Metric(l *labels.Labels) string like :
func (p *PromParser) Metric(l *labels.Labels) string {
	// Copy the buffer to a string: this is only necessary for the return value.
	s := string(p.series)

	p.builder.Reset()
	p.builder.Add(labels.MetricName, s[:p.offsets[0]-p.start])

	for i := 1; i < len(p.offsets); i += 4 {
		a := p.offsets[i] - p.start
		b := p.offsets[i+1] - p.start
		c := p.offsets[i+2] - p.start
		d := p.offsets[i+3] - p.start

		value := s[c:d]
		// Replacer causes allocations. Replace only when necessary.
		if strings.IndexByte(s[c:d], byte('\\')) >= 0 {
			value = lvalReplacer.Replace(value)
		}
		p.builder.Add(s[a:b], value)
	}

	p.builder.Sort()
	*l = p.builder.Labels()

	return s
}

We can do label cache logic here, this need more function and performance test.

This the easy label cache mode: https://github.com/abitduck/prometheus/commit/815e976761331ae3533bb8ab462c700aed9be010
Result:

Memory from 43G to 20G
CPU from 429% to 113%

I'm sorry, I don't seem to have got my point across. I'm suggesting something like:
 type Label struct {
 	Name, Value string
 }

// A pair of indexes into the dictionary.
type internalLabel struct {
	name  int64
	value int64
}

// Labels is a sorted set of labels. Order has to be guaranteed upon
// instantiation.
type Labels []internalLabel

Compare here:
https://github.com/prometheus/prometheus/blob/7cd9f8a34030a0bdd56a49e80cc0d4f915f80deb/model/labels/labels_string.go#L41-L50
This is a completely different implementation of labels.Labels, but it has the same API - Range(), Get(), etc.

This the reason why ci-build failed, local make test don't have test with -tags=stringlabels

I'm sorry, I don't seem to have got my point across. I'm suggesting something like:

Thanks for your patient explain, I got your point!

need more work for rules optmize, close it first!


Merging pybind11 into main, to create a better reference point

Implemented basic cppyy bindings, made a technology choice over pybind11

Merging

Hi Anze, can you please approve?


Do not start config server maintainers until bootstrapping is done

Off the top of my head I don't know of any scenario where halting a bootstrap because a maintainer fails would be of benefit. Did you have anything particular in mind?

The two maintainers this PR removes: file distribution and session manager. If they fail it may because of full disk and we'd rather not start the config server?


Add solution to "Add a Text Alternative to Images for Visually Impaired Accessibility" challenge

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

I a validated the solution added passes all tests locally by running npm run test:curriculum.

Thank you @Dana94 for your contribution. Looking forward to more contributions from you! 🎉


docs(operators): add documentation for operator from

closes #77

Codecov Report

Merging #221 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #221   +/-   ##
=======================================
  Coverage   74.49%   74.49%
=======================================
  Files          10       10
  Lines         149      149
  Branches        7        7
=======================================
  Hits          111      111
  Misses         38       38

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8dd3584...5674210. Read the comment docs.

Done

thx @mustafamg !


ci: Introduce code formatter black

🚀 Feature
We've spent quite some time on fixing code formatting in code reviews by our own hands, but this should be done automatically by a Python code formatter.
List of formatters

black by Python Software Foundation (https://github.com/psf/black)

This blog post by DeepSource says black is the most popular one.

yapf by Google (https://github.com/google/yapf)
(autopep8, ...)

Additional context
I have used black with isort (for import formatting) and flake8 (for pep8 check) in Optuna, and it worked really well, so +1 for black.
In PL, black was added in https://github.com/PyTorchLightning/pytorch-lightning/pull/1610, but it hasn't been really used... We can start to employ the code formatter here, and if there seems no problem with it, we can enable it in PL later, too.
cc: @Borda @PyTorchLightning/bolts-contributors

I have used black earlier and we can add a simple CI check for it as well.
At places there are few collisions with black and flake8. I'm not sure if both can be together.
Black checks for linting errors too I think.
Also we can add to pre-commit-config.yamlfile present in bolts.

At places there are few collisions with black and flake8. I'm not sure if both can be together.

They can definitely work together, and black themselves published suggestions on how to make black work together with other tools such as flake8 and isort.
I think using black will significantly increase pl_bolts' formatting (and therefore code quality), so I'd be happy to help in anyway with adding this to the current array of CI tools.

I read the above black page, I think it will work fine as they have mentioned.
They have also mentioned how to use with precommite here
and Github CI action here
Plus add it to readme badge :smile: like this

@oke-aditya @briankosw Thank you both for sharing the useful information!
So, as I read your comments, I believe we should do the followings:

add black to pre-commit hooks

https://black.readthedocs.io/en/stable/version_control_integration.html

add black to GitHub Actions

https://black.readthedocs.io/en/stable/github_actions.html

update flake8 and isort configs to avoid conflicts with black

https://black.readthedocs.io/en/stable/compatible_configs.html

add the badge to readme

https://black.readthedocs.io/en/stable/show_your_style.html

Let's get to work on this once we have positive comments from other core members :]

@Borda Shall we introduce black so that we can easily check formatting including trailing-whitespaces in the pre-commit, and we don't need another PR like https://github.com/PyTorchLightning/pytorch-lightning/pull/5387 in the future?

@Borda Shall we introduce black so that we can easily check formatting including trailing-whitespaces in the pre-commit, and we don't need another PR like https://github.com/PyTorchLightning/pytorch-lightning/pull/5387 in the future?

we can easily check formatting including trailing-whitespaces

I think that we can do this check with flake8 right?
but yes, lest try black here :]

we can easily check formatting including trailing-whitespaces

I think that we can do this check with flake8 right?
but yes, lest try black here :]

@Borda I've just noticed your updated comment (though I already created a draft PR #507 to add black).
I agree that COALESCE_BRACKETS of yapf looks neat! Using black would be easier since it is widely used and has fewer parameters (and I've used it before), but we could use yapf if you'd like :]
@oke-aditya @briankosw Please leave your comments if you've got any.

@Borda I've just noticed your updated comment (though I already created a draft PR #507 to add black).
I agree that COALESCE_BRACKETS of yapf looks neat! Using black would be easier since it is widely used and has fewer parameters (and I've used it before), but we could use yapf if you'd like :]
@oke-aditya @briankosw Please leave your comments if you've got any.

Personally I would prefer flexibility over mainstream... I would not be affraid of using yapf since it Facebook in house tool...

Personally I would prefer flexibility over mainstream... I would not be affraid of using yapf since it Facebook in house tool...

I have used black. I do not like it much. it makes code too lengthy and is very strict checker, also collides with isort and flake8.
I'm not sure how to configure yapf, how to add CI, pre commit though. I agree with @Borda's suggestion. I would like a flexible formatted (like flake8). Also facebook style would be preferred.

I have used black. I do not like it much. it makes code too lengthy and is very strict checker, also collides with isort and flake8.
I'm not sure how to configure yapf, how to add CI, pre commit though. I agree with @Borda's suggestion. I would like a flexible formatted (like flake8). Also facebook style would be preferred.

for the record, this is the proposed config
[yapf]
based_on_style = pep8
spaces_before_comment = 2
split_before_logical_operator = true
COLUMN_LIMIT = 120
COALESCE_BRACKETS = true
DEDENT_CLOSING_BRACKETS = true
ALLOW_SPLIT_BEFORE_DICT_VALUE = false
BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF = true
NO_SPACES_AROUND_SELECTED_BINARY_OPERATORS = false

for the record, this is the proposed config
[yapf]
based_on_style = pep8
spaces_before_comment = 2
split_before_logical_operator = true
COLUMN_LIMIT = 120
COALESCE_BRACKETS = true
DEDENT_CLOSING_BRACKETS = true
ALLOW_SPLIT_BEFORE_DICT_VALUE = false
BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF = true
NO_SPACES_AROUND_SELECTED_BINARY_OPERATORS = false


test sharding/parallelization v2

fixed merge issues
fixed missing coverage warnings

Also, if possible, I would like to understand what the strategy for device creation and reuse is. Perhaps you've discussed it, but I am not in the know.

Still missing - DOCS!

@doronpr, time to stress test some build agents.


Detect correct filename without ext

Fixes #32
For some reason, .search does not work, while .sub will/does

Thank you for the PR! However I have opened a new one that implements this fix a bit differently, and should work correctly in cases where this one may not.


feat(writer): allow passing of custom types

@robinjoseph08 Hello, can you merge this? Really need this functionality.

@ScottBrenner any updates?


preferences: add support for preferences.locale

closes https://github.com/inveniosoftware/invenio-app-rdm/issues/2069

LGTM :)
However tests are failing, I suppose due to changes in invenio-db?

They all run localy for me (need to import the other moduels though to pass tests etc)
Will follow with a pic of all tests passing soon


How can I train my data set with your pre-training model

Hi.How can I train my data set with your pre-training model

训练代码我怎么没有找到

The training code is at KAIR. We follow the same training setup as SwinIR by Jingyun Liang. We are working on KAIR integration 👀 More details about the training setup in our paper.怎么没找到Swin2SR的训练代码


[Unification] Move all cnn_lstm components to examples

Summary:
Move CNNEncoder, LSTMEncoder and cnn_lstm_classifier to examples since they are solely used for demonstration purposes and not used by any other component in the library.
Test plan:
pytest test -vv
python -m pytest examples -vv

Codecov Report

Merging #145 (5d0e00a) into main (5a481cf) will decrease coverage by 0.14%.
The diff coverage is n/a.

:exclamation: Current head 5d0e00a differs from pull request most recent head bbe8dca. Consider uploading reports for the commit bbe8dca to get more accurate results

@@            Coverage Diff             @@
##             main     #145      +/-   ##
==========================================
- Coverage   92.18%   92.04%   -0.15%
==========================================
  Files          49       46       -3
  Lines        2724     2676      -48
==========================================
- Hits         2511     2463      -48
  Misses        213      213

Impacted Files
Coverage Δ

examples/cnn_lstm/cnn_encoder.py

examples/cnn_lstm/cnn_lstm.py

examples/cnn_lstm/lstm_encoder.py

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5a481cf...bbe8dca. Read the comment docs.


When SAP return a big array, error happen.

Hello sir!
I meet a problem when submit a form.
we have a sales report in SAP, which have many selection options. if we input more condition, we'll get less result,else we'll get huge result. In SAP, everything works fine. But when I submit a form with very less selection condition(ex. S_month: 01 - 10), error happen like this:
Failed to invoke function ZFIR010 in /php/wwwroot/others/saperp/index/zsap_zfir010.php:69 Stack trace: #0 /php/wwwroot/others/saperp/index/zsap_zfir010.php(69): SAPNWRFC\RemoteFunction->invoke(Array) #1 {main} thrown in /php/wwwroot/others/saperp/index/zsap_zfir010.php on line 69
is the rfc interface has limite?
could you help, thanks!

Please turn on tracing and run the failing code again. Then attach the trace file (make sure to redact confidential information).

Category               ABAP Programming Error
Runtime Errors         CALL_FUNCTION_SEND_ERROR
ABAP Program           SAPLZ_WX_SD_GROUP01
Application Component  Not assigned
Date and Time          2016.10.27 20:42:26
Short Text
" " (I/O error)
What happened?
CPIC-CALL: 'ThCMSEND', communication rc: CM_DEALLOCATED_NORMAL (cmRc=18),
taskhandler rc: SAP_O_K (thRc=0)#统计不活动
An error occurred while making a Remote Function Call.
Error analysis
An error occurred while making a Remote Function Call.
CPIC-CALL: 'ThCMSEND', communication rc: CM_DEALLOCATED_NORMAL (cmRc=18),
 taskhandler rc: SAP_O_K (thRc=0)#static not active

State of connection.. CODE=CM_DEALLOCATED_NORMAL CM_SEND_RECEIVED
 CM_COMPLETE_DATA_RECEIVED  SAPCODE=0  CONV=02687074
Internal error code... "RFC_IO5"
There is an error in the communication system. To clarify and resolve
the error, contact your system administrator.

Internal notes
The termination was triggered in function "jfunc_back" of the SAP kernel, in
line 8589 of module "//bas/742_STACK/src/krn/abap/runt/abfunc.c#2".
The internal operation just processed is "FUNC".
Internal mode started at<PHONE_NUMBER>4226.
Connection description: "IO HANDLE=1 DRV=INT LINE=4015 CODE=5 : GET ID=ffff
LINE=0 CODE=0 : PUT ID=4004 LINE=145 "

it seems php memory overflow....

Have you tried using memory_get_usage()? What's your memory_limit setting?

yes, trid that. memory_get_usage() usually less than 1M. memory_limit = 521M.
I tried the same code with java (jco). No problem!

I haven't been able to reproduce this issue locally.
Have you tried memory_get_peak_usage()?

Can you show me the detailed exception output when the function call fails?
try {
    $c = new \SAPNWRFC\Connection($config);
    $f = $c->getFunction('YOUR_FUNCTION');
    $f->invoke([/* your params*/]);

    echo "peak usage: " . (int)memory_get_peak_usage(true) ."\n";

    echo "ok\n";
} catch(\SAPNWRFC\FunctionCallException $e) {
    echo "failed: {$e->getMessage()}\n";
    print_r($e);
}

I'm especially interested in the errorInfo property of the exception object.

I get the following error infomation:
SAPNWRFC\FunctionCallException Object
(
[message:protected] => Failed to invoke function zfir001
[string:Exception:private] =>
[code:protected] => 22
[file:protected] => /index/zfir001.php
[line:protected] => 79
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /index/zfir001.php
[line] => 79
[function] => invoke
[class] => SAPNWRFC\RemoteFunction
[type] => ->
[args] => Array
(
[0] => Array
(
[P_VKORG] => 1000
[P_GJAHR] => 2016
[S_MONATLOW] => 01
[S_MONATHIGH] => 06
[S_BZIRK] =>
[S_VKBUR] =>
[S_SPART] =>
[P_RPSTA] =><PHONE_NUMBER>
)
                    )

            )

    )

[previous:Exception:private] =>
[errorInfo:protected] => Array
    (
        [code] => 22
        [key] => RFC_CONVERSION_FAILURE
        [message] => Could not convert from 4110 codepage to 4103 codepage, rc = 512
    )

)

I have tried the following, but it didn't work. I think the main reason might be SAP
return too many data, and php array can't process so many data, the error happens.
because if I limit the [S_MONATLOW] and [S_MONATHIGH] like 01 - 03, it works.
if 01-04 (means more data return from SAP than contition 01-03), error happens.
if 04 -04 , it works……
https://archive.sap.com/discussions/thread/1857186
DCP = 4110
UCP = 4110

@bmoif the error msg states something about the codepage (encoding)

Could not convert from 4110 codepage to 4103 codepage, rc = 512

So it seems not to be the size

Yes, it seems to be an error on the ABAP side, not PHP. I have tested with large array and never had any problems.
I'll have another more detailed look in the next few days though...

but if it is about encoding, if I submit php with  [S_MONATLOW] and [S_MONATHIGH] like 01 -01, it works.
ST22 error info:
Category               ABAP Programming Error
Runtime Errors         CALL_FUNCTION_SEND_ERROR
ABAP Program           SAPLZ_WX_SD_GROUP01
Application Component  Not assigned
Date and Time          2016.11.18 16:13:38
Short Text
" " (I/O error)
What happened?
CPIC-CALL: 'ThCMSEND', communication rc: CM_DEALLOCATED_NORMAL (cmRc=18),
taskhandler rc: SAP_O_K (thRc=0)#state not active
An error occurred while making a Remote Function Call.

Error analysis
An error occurred while making a Remote Function Call.
CPIC-CALL: 'ThCMSEND', communication rc: CM_DEALLOCATED_NORMAL (cmRc=18),
 taskhandler rc: SAP_O_K (thRc=0)#state not active

State of connection.. CODE=CM_DEALLOCATED_NORMAL CM_SEND_RECEIVED
 CM_COMPLETE_DATA_RECEIVED  SAPCODE=0  CONV=87617125
Internal error code... "RFC_IO5"
There is an error in the communication system. To clarify and resolve
the error, contact your system administrator.

@ThaDafinser I tested again, maybe it really caused by the encoding!!
for example:
we have 1073 entries in SAP ECC for condition [S_MONATLOW] and [S_MONATHIGH] =(03,03). but if I submit with this condition, it works well.
we have 1268 entries in SAP ECC for condition [S_MONATLOW] and [S_MONATHIGH] =(06,06). if I submit with this condition, error happen.
[errorInfo:protected] => Array
(
[code] => 22
[key] => RFC_CONVERSION_FAILURE
[message] => Could not convert from 4110 codepage to 4103 codepage, rc = 512
)
we have 712 entries in SAP ECC for condition [S_MONATLOW] and [S_MONATHIGH] =(04,04). if I submit with this condition, error happen.
[errorInfo:protected] => Array
(
[code] => 22
[key] => RFC_CONVERSION_FAILURE
[message] => Could not convert from 4110 codepage to 4103 codepage, rc = 2048
)
we have 1489 entries in SAP ECC for condition [S_MONATLOW] and [S_MONATHIGH] =(02,03). if I submit with this condition, it works well.
so, this encoding might be the real reason...

Seeing this numbers I'm convinced it is an encoding issue. I have tested with some 10.000 returned rows without a problem.

do you have any suggestion for this?
based on the msg([message] => Could not convert from 4110 codepage to 4103 codepage, rc = 2048)
it seems we have two kind of encoding in SAP, but the php file's encoding is utf8.
CODEPAGE              = '4110' "UTF-8
CODEPAGE              = '4103' "UTF-16

Sadly, I have no suggestion...ö


Update maven publication to include cksums.

Signed-off-by: Marc Handalian<EMAIL_ADDRESS>Issue #, if available:
closes #223
Description of changes:
This change adds a task to publish to a local staging repo under build/ that includes cksums.  It also updates build.sh to use this new task and copy the contents of the staging repo to the output directory.
The maven publish plugin will not include these cksums when publishing to maven local but will when published to a separate folder.
./scripts/build.sh -v 1.2.0 -s false

~/workspace/alerting (maven)$ find ./artifacts/maven/org/opensearch/notification/
./artifacts/maven/org/opensearch/notification/
./artifacts/maven/org/opensearch/notification//maven-metadata.xml.sha256
./artifacts/maven/org/opensearch/notification//maven-metadata.xml
./artifacts/maven/org/opensearch/notification//maven-metadata.xml.sha512
./artifacts/maven/org/opensearch/notification//<IP_ADDRESS>
./artifacts/maven/org/opensearch/notification//<IP_ADDRESS>/notification-<IP_ADDRESS>.pom.sha256
./artifacts/maven/org/opensearch/notification//<IP_ADDRESS>/notification-<IP_ADDRESS>.jar.sha512
./artifacts/maven/org/opensearch/notification//<IP_ADDRESS>/notification-<IP_ADDRESS>.jar.sha1
./artifacts/maven/org/opensearch/notification//<IP_ADDRESS>/notification-<IP_ADDRESS>-sources.jar.sha256
./artifacts/maven/org/opensearch/notification//<IP_ADDRESS>/notification-<IP_ADDRESS>-sources.jar.sha1
./artifacts/maven/org/opensearch/notification//<IP_ADDRESS>/notification-<IP_ADDRESS>-javadoc.jar.md5
./artifacts/maven/org/opensearch/notification//<IP_ADDRESS>/notification-<IP_ADDRESS>-javadoc.jar.sha512
./artifacts/maven/org/opensearch/notification//<IP_ADDRESS>/notification-<IP_ADDRESS>-javadoc.jar
./artifacts/maven/org/opensearch/notification//<IP_ADDRESS>/notification-<IP_ADDRESS>-sources.jar
./artifacts/maven/org/opensearch/notification//<IP_ADDRESS>/notification-<IP_ADDRESS>.pom.sha1
./artifacts/maven/org/opensearch/notification//<IP_ADDRESS>/notification-<IP_ADDRESS>-sources.jar.sha512
./artifacts/maven/org/opensearch/notification//<IP_ADDRESS>/notification-<IP_ADDRESS>.pom.md5
./artifacts/maven/org/opensearch/notification//<IP_ADDRESS>/notification-<IP_ADDRESS>.pom.sha512
./artifacts/maven/org/opensearch/notification//<IP_ADDRESS>/notification-<IP_ADDRESS>.jar.sha256
./artifacts/maven/org/opensearch/notification//<IP_ADDRESS>/notification-<IP_ADDRESS>.pom
./artifacts/maven/org/opensearch/notification//<IP_ADDRESS>/notification-<IP_ADDRESS>.jar.md5
./artifacts/maven/org/opensearch/notification//<IP_ADDRESS>/notification-<IP_ADDRESS>-sources.jar.md5
./artifacts/maven/org/opensearch/notification//<IP_ADDRESS>/notification-<IP_ADDRESS>-javadoc.jar.sha1
./artifacts/maven/org/opensearch/notification//<IP_ADDRESS>/notification-<IP_ADDRESS>.jar
./artifacts/maven/org/opensearch/notification//<IP_ADDRESS>/notification-<IP_ADDRESS>-javadoc.jar.sha256
./artifacts/maven/org/opensearch/notification//maven-metadata.xml.md5
./artifacts/maven/org/opensearch/notification//maven-metadata.xml.sha1

CheckList:
[x ] Commits are signed per the DCO using --signoff
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #224 (9b3a8ff) into main (8b337e7) will decrease coverage by 0.20%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main     #224      +/-   ##
============================================
- Coverage     78.63%   78.43%   -0.21%
+ Complexity      215      212       -3
============================================
  Files           173      173
  Lines          6959     6959
  Branches        912      912
============================================
- Hits           5472     5458      -14
- Misses         1002     1017      +15
+ Partials        485      484       -1

Impacted Files
Coverage Δ

...arch/alerting/core/schedule/JobSchedulerMetrics.kt
55.55% <0.00%> (-16.67%)
:arrow_down:

...rch/alerting/core/action/node/ScheduledJobStats.kt
55.55% <0.00%> (-11.12%)
:arrow_down:

.../opensearch/alerting/core/schedule/JobScheduler.kt
69.44% <0.00%> (-6.95%)
:arrow_down:

...in/kotlin/org/opensearch/alerting/MonitorRunner.kt
71.38% <0.00%> (-0.68%)
:arrow_down:

...ain/kotlin/org/opensearch/alerting/AlertService.kt
78.04% <0.00%> (-0.49%)
:arrow_down:

...e/action/node/ScheduledJobsStatsTransportAction.kt
75.51% <0.00%> (ø)

.../kotlin/org/opensearch/alerting/core/JobSweeper.kt
72.25% <0.00%> (+0.52%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8b337e7...9b3a8ff. Read the comment docs.


Incorrect Percentage Calculation on Quiz Page

What happened?
The calculation for the quiz results is miscalculated after adding the data for OSS, Game Dev, and ICPC.  The Game Dev results are always 0 as well.

Reference #1059

Game dev results in 0 because in src/lib/public/quiz/questions/types.ts TeamMatch, GAMEDEV is defined as 'Game Dev' with a space, thus being recorded as 'Game Dev' in responses. When calculating matches, match = match?.toLowerCase() as TeamMatch; is used, resulting in 'game dev' string. But in src/lib/public/board/data/teams.json, Game Dev team Id is "gamedev" without a space.
When displaying quiz results, team data such as progress bar color is accessed using TEAMS[match].
<h2 class="match-title" style={`--team-color: ${TEAMS[match].color}`}>
      {match} Team

Click the teams below to see your next step

 showTeamDetails(TEAMS[match])}
        on:keydown|preventDefault|stopPropagation={() => showTeamDetails(TEAMS[match])}
        style={`--border-color: ${TEAMS[match].color}`}
        role="button"
        tabindex="0"
      >

Since it's trying to access TEAMS['game dev'], it returns nothing.
Also, as a result of this, whenever you get game dev as your match, page simply doesn't render.

Proposed solution :
in src/lib/public/quiz/questions/types.ts TeamMatch, change GAMEDEV = 'Game Dev', to GAMEDEV = 'GameDev',
After doing the said change and making choices to get gamedev match:

I don't see src/lib/public/quiz/questions/types.ts being used outside of quiz module, so there shouldn't be a problem.

As for progress bar, issue is with the formula that calculates percentage. It is {(talliedResponses[match] / data.questions.length) * 100}.
data.questions.length is a number of questions, which is always 13, while talliedResponses stores amount of matches for each team, which varies depending on the responses chosen, and the sum is variable, resulting in percentages being off.
My proposal:
change the formula to {(talliedResponses[match] / sumOfTallies) * 100}, where sumOfTallies is calculated by a function
 function totalTallies(tallies: Record<string, number>) {
    let totalTallies = 0;
    Object.values(tallies).forEach(value => totalTallies += value);
    return totalTallies;
  }

After doing the said change:

Unfortunately, because of rounding it adds up to 99% sometimes. I have no fix for that(yet), and would take suggestions.


Show errors when connecting to stats/logs/shell websockets

This already logged in a couple of other scenarios:
https://github.com/rancherio/rancher/issues/104
https://github.com/rancherio/rancher/issues/226

I'm going to claim that this is not needed anymore since all the connections go to websocket-proxy now instead of direct to individual hosts.


promise that is resolved on each call to backend

I am trying to figure out how to get the promise that is resolved each time the poller ticks.  I want to show a quick busy indicator starting when the poller goes to the backend and ending when the callback is complete.  Is this possible without changing the poller?

You could use an http intercept...you may have to do a bit of path matching on the calls you want this on, but you could then flag/broadcast on request and then on response.

Thanks Justin.  After much learning as an Angular newbie, I've gotten this to work.
I wrote an $Http interceptor which broadcasts the $http config object for each request.  In my controllers where the pollers are defined, I receive these broadcasts and look for ones that have the same HTTP method and Url.  I create a promise and assign it to the controller scope.
The interceptor also broadcasts responses and response errors.  The controller also receives these and after checking to see if the HTTP method and Url matches, resolves the promise on the scope.  I am using the angular-busy module which expects a promise to show a waiting indicator until the promise is resolved.  http://cgross.github.io/angular-busy/demo/

Yup, thats sounds good. It is a bit more code than you'd ideally want to do this but does avoid amending the poller.
As a side note, the poller uses a deferred notify callback. I haven't really looked deep enough at the poller code yet to work out why it does, rather than allowing the promise to be used in the usual success, fail, notify pattern.
For instance, the notify could be used for informing of progress, that does away with the above intercept, and then allow the developer to implement their own success and fail if they wish to.


Add conditionally executed filters

Adds when property to filters which can be used to run them based on specified condition.

I added new schema for this version. Currently I marked it as v1.1
IMPORTANT THING TO DO BEFORE THE MERGE
We should make a decision whether the schema version should be v1 (updated) or v1.1. If we decide to update v1 then I would probably prefer to remove v1, or maybe we should make a copy of current v1 and name it v1.0? This way the users could choose if they want to see additional features in schema or not. v2 will be used when something compatibility breaking will happen to the schema. A nice thing about keeping schemas online is that we can update them and the user doesn't need to do anything but it also means that we should be careful how we do it.

I think the best solution is to keep the versions used in schemas generated by regolith with only the major number (v1, v2 etc.) but we should also keep minor versions on the schema repository. So for example if in the future we will have version v1.5, v1 will also point at it, but the user could change the config to use any schema they want.

I think I know how I want to handle schemas I described it in the README file of this commit: https://github.com/Bedrock-OSS/regolith-schemas/commit/1ca6e06cc22cf2d3a00cd0bb0fd6adbec1714d85
It still can be changed (the 1.1 version is not being used by anything yet).

The feature should also be documented.

Current changes:

Added 'when' property to the filters
Added tests for the use of the 'when' property
Updated documentation

Could you remove those additional exe filter fields from documentation as well?
https://github.com/Bedrock-OSS/regolith/blob/conditional-filters/docs/_pages/docs/filter_types/exe-filters.md


Sahar

👷 Deploy Preview for adoring-leavitt-e31a11 processing.

Name
Link

🔨 Latest commit
7dfacfd5d758a2d29023ae7b2f5c9ed3375b32db

🔍 Latest deploy log
https://app.netlify.com/sites/adoring-leavitt-e31a11/deploys/628787e0edd5df00099c2e1e


Suggestion for buy order placement

Having the max quantity you can buy with the money you have exceeding the max place order makes it a bit annoying to place the last order, so I suggest having the number of maxed orders + the extra amount for easier reading

You could easily just divide the whole number by 71680 showing just the whole number and add the extra to reach that quantity.
So with this new system, you won't have to mess around with the last order to know how much you can afford

Sounds good! I think I would prefer the notation to be a bit longer and self-explanatory, e.g. under "Number of Offers" it could show "7x Max + 1 of 24555" or something like that - would that work for you?

Yeah that would work great, that way you won't have to mess around with the last offer

Hi, sorry for the long delay in implementing this! I have updated the software to look like this - please let me know if that meets your needs.

No reply after 6 weeks, closing issue


Nucleo H723ZG : add a flash memory partition to use MCUboot

Is your enhancement proposal related to a problem? Please describe.
Due to the absence of a flash partition, it is not possible to use MCUboot with a nucleo_h723zg board.
Describe the solution you'd like
Add a flash partition (and the Zephyr-chosen associated property) to the file zephyr/boards/st/nucleo_h723zg/nucleo_h723zg.dts.
Additional context
Adding this partition will have no impact on applications that don't use MCUboot, and will enable MCUboot to be used with this board.
Here is an example of such partition:
&flash0 {
	partitions {
		compatible = "fixed-partitions";
		#address-cells = <1>;
		#size-cells = <1>;

		/* 128KB for bootloader */
		boot_partition: partition@0 {
			label = "mcuboot";
			reg = <0x00000000 DT_SIZE_K(128)>;
			read-only;
		};

		/* primary application image slot: 384KB */
		slot0_partition: partition@20000 {
			label = "image-0";
			reg = <0x00020000 DT_SIZE_K(384)>;
		};

		/* secondary application image slot: 384KB */
		slot1_partition: partition@80000 {
			label = "image-1";
			reg = <0x00080000 DT_SIZE_K(384)>;
		};

		/* swap slot: 128KB */
		scratch_partition: partition@e0000 {
			label = "image-scratch";
			reg = <0x000e0000 DT_SIZE_K(128)>;
		};
	};
};

Hi @thomasbouston,
Thanks for submitting this proposal. Don't hesitate to push a github Pull Request, since you already have a working partition.
This will be the fastest way to get the change integrated.


SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode

When I upgrade to sbt-typescript 0.3.1, after config complete. I execute run in my play project. Then the sbt catch an exception.
[error] (enuma-url/web-assets:typescript) com.typesafe.sbt.jse.SbtJsTask$JsTaskFailure: /home/djx314/pro/workspace/enuma/enuma-url/target/typescript/typescriptc.js:17
[error] class Logger {
[error] ^^^^^
[error]
[error] SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
[error]     at exports.runInThisContext (vm.js:53:16)
[error]     at Module._compile (module.js:373:25)
[error]     at Object.Module._extensions..js (module.js:416:10)
[error]     at Module.load (module.js:343:32)
[error]     at Function.Module._load (module.js:300:12)
[error]     at Function.Module.runMain (module.js:441:10)
[error]     at startup (node.js:139:18)
[error]     at node.js:968:3
[error] Total time: 1 s, completed 2016-9-25 21:11:02

And I take a look at the typescript.js. It seems that lost the "use strict"; in the top of the file.
class Logger {
    constructor(logLevel) {
        this.logLevel = logLevel;
    }

I think it should be(I am not good at javascript)
"use strict";
class Logger {
    constructor(logLevel) {
        this.logLevel = logLevel;
    }

Any fix or workaround?

Now I add "use strict"; and it throw an other exception
[info] TypeScript compiling on 57 source(s)
[error] /home/djx314/pro/workspace/enuma/enuma-url/target/typescript/typescriptc.js:132
[error]     let createProblem = (diagnostic, lineCol = {line: 0, character: 0}, fileName = 'Global', lineText = '') => {
[error]                                              ^
[error]
[error] SyntaxError: Unexpected token =
[error]     at exports.runInThisContext (vm.js:53:16)
[error]     at Module._compile (module.js:373:25)
[error]     at Object.Module._extensions..js (module.js:416:10)
[error]     at Module.load (module.js:343:32)
[error]     at Function.Module._load (module.js:300:12)
[error]     at Function.Module.runMain (module.js:441:10)
[error]     at startup (node.js:139:18)
[error]     at node.js:968:3

Now I use nodejs 4.4.3 and I have tried to use Trireme but it failed any way.

Why don't you update node?

Sorry, you should have at least the version 6.6.0 of node: http://node.green/

OK, I will have a try. Beacuse debain's deb repo cannot install node 6.6.0, I will goto https://nodejs.org and have a try. Thanks.

But BTW @wassertim ,should it be emphasized in Readme.md?
Because I use
com.typesafe.sbt.jse.JsEngineImport.JsEngineKeys.engineType := com.typesafe.sbt.jse.JsEngineImport.JsEngineKeys.EngineType.Trireme

And it will compile failed.
That the reason that I create this issue.

Yes you are right … I will update the readme. Sorry for the confusion.

On 25 Sep 2016, at 17:35, 水山清风<EMAIL_ADDRESS>wrote:
But BTW @wassertim https://github.com/wassertim ,should it be emphasized in Readme.md?
Because I use
com.typesafe.sbt.jse.JsEngineImport.JsEngineKeys.engineType := com.typesafe.sbt.jse.JsEngineImport.JsEngineKeys.EngineType.Trireme
And it will compile failed.
That the reason that I create this issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/ArpNetworking/sbt-typescript/issues/47#issuecomment-249428339, or mute the thread https://github.com/notifications/unsubscribe-auth/AAN5ey8XV9ngqTeuGSSNiuJMlKJSz0zqks5qtpSugaJpZM4KF5ns.

Already upgrade node to 6.6.0 and the problem really fixed. Thanks a lot for the greate pull request.
And just an idea. Typescript is es6 + type. How about change typescriptc.js to typescriptc.ts. And compile it when package this plugin with target "es3", then I think the java js engine will work well.

Yeah, I already thought about using typescript inside the plugin. I will try to implement this. Thanks for reporting the issues.

I created 2 issues: https://github.com/ArpNetworking/sbt-typescript/issues/49, https://github.com/ArpNetworking/sbt-typescript/issues/48 so you can follow them.

this will fix the Trireme usage: https://github.com/ArpNetworking/sbt-typescript/pull/50


Unable to package app

Running yackage build out/ results in Error: rcedit.exe failed with exit code 1. Fatal error: Unable to commit changes

System restart probably fixed the problem, it works now :')


Handle invalid token when using only rest

This happens when a wrong token is used
jshell> catnip.rest().user().modifyCurrentUser(null, new okhttp3.OkHttpClient().newCall(new okhttp3.Request.Builder().url("https://i.warosu.org/data/jp/img/0133/96/1430233591090.jpg").build()).execute().body().bytes()).toCompletableFuture().join()
$4 ==> User (null#null)

Should just validate token automatically when building catnip instances maybe?

maybe check the response for invalid tokens as well

I guess really we could just be checking here https://github.com/mewna/catnip/blob/69cc0d1072bb5da819b0e0607870ba100a86f5af/src/main/java/com/mewna/catnip/rest/RestRequester.java#L107-L112 for if it's a 401 or 403 and fail the request / log an error as needed.

I'm a fan of validating tokens when building catnip instances. Discord.Net does this in its REST client, but IIRC it can be disabled if necessary.
Maybe another option here would be to have a 'validateToken' method which should be called on most uses of catnip, but for those who know they are only passing valid tokens (e.g. OAuth tokens generated by Discord) it is not necessary?

Fixed in 6175a9347e9d2a8bac336d9a5e861cfadc81b863 by always validating token when building instances.


feat(swapper): serialize GetTradeQuoteInput type args

Serialize GetTradeQuoteInput type args so we can use getTradeQuote with RTK query, which only supports serializable arguments.
A HDWallet object isn't actually needed.
This is a breaking change for @shapeshiftoss/swapper.

Note for @gomesalexandre as you'll probably look at this when you wake up - my local linking isn't working at the moment, so I haven't been able to actually test this yet, though the logic change is pretty straightforward.


Remove unnecessary docs steps which cause bugs during docs build

Description
This PR seeks to fix the error seen in https://github.com/WayScience/CytoDataFrame/actions/runs/11601536468 which is a reference to files which have changed for docs from coSMicQC to CytoDataFrame.
Thanks for any feedback!
What kind of change(s) are included?

[x] Documentation (changes docs or other related content)
[ ] Bug fix (fixes an issue).
[ ] Enhancement (adds functionality).
[ ] Breaking change (these changes would cause existing functionality to not work as expected).

Checklist
Please ensure that all boxes are checked before indicating that this pull request is ready for review.

[x] I have read and followed the CONTRIBUTING.md guidelines.
[x] I have searched for existing content to ensure this is not a duplicate.
[x] I have performed a self-review of these additions (including spelling, grammar, and related).
[x] These changes pass all pre-commit checks.
[ ] I have added comments to my code to help provide understanding
[ ] I have added a test which covers the code changes found within this PR
[x] I have deleted all non-relevant text in this pull request template.

Thanks @jenna-tomkinson, agreed! Merging this in.


Pyolite: Matplotlib not working anymore

I think due to the Comm support PRs.

Thanks for catching this :+1:
Probably we should get some end to end testing setup some time soon to help catch these (#6).


Change Query Strings in SQLiteStorageIO class to not be concatenated

You can literally have SQL injection with the reason string you dummy

Should be fixed now with PreparedStatements


Level 2 and 3 PA still singuloosing

Description
Singularity still grows too large on the intended settings. #28720 intended for a level 2 or 3 PA to not loose, but level 2 still will end up loosing over time.
Reproduction
Fire up a singulo with the PA at level 2, it will eventually loose.
Additional context
I believe the singularity may sometimes be eating the emitter shots through the barrier, otherwise I don't know why sometimes the energy levels jump up without the singulo eating anything.

Really odd. In my testing with a 6x6 containment field, it seemed like the singulo would always flucuate between 480 - 520/570 (with level 2 & 3 respectively.)


[fix][broker] Revert "[fix][load-balancer] skip mis-configured resource usage(>100%) in load balancer

Motivation
Discuss is https://github.com/apache/pulsar/issues/18598
Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

/pulsarbot run-failure-checks

Error:  COMPILATION ERROR :
[INFO] -------------------------------------------------------------
Error:  /home/runner/work/pulsar/pulsar/pulsar-common/src/test/java/org/apache/pulsar/policies/data/loadbalancer/LocalBrokerDataTest.java:[61,21] cannot find symbol
  symbol:   method getMaxResourceUsageWithWeightWithinLimit(double,double,double,double,double)
  location: variable data of type org.apache.pulsar.policies.data.loadbalancer.LocalBrokerData

Please take a look at this problem.

Codecov Report

Merging #18645 (55203aa) into master (b579bb8) will decrease coverage by 10.46%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master   #18645       +/-   ##
=============================================
- Coverage     47.51%   37.05%   -10.47%
+ Complexity    10520     1967     -8553
=============================================
  Files           698      209      -489
  Lines         68079    14420    -53659
  Branches       7280     1573     -5707
=============================================
- Hits          32351     5343    -27008
+ Misses        32151     8491    -23660
+ Partials       3577      586     -2991

Flag
Coverage Δ

unittests
37.05% <ø> (-10.47%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...va/org/apache/pulsar/client/impl/ProducerBase.java
32.69% <0.00%> (-1.93%)
:arrow_down:

.../org/apache/pulsar/client/impl/ConnectionPool.java
37.43% <0.00%> (-1.03%)
:arrow_down:

...rg/apache/pulsar/client/impl/PulsarClientImpl.java
43.85% <0.00%> (-0.95%)
:arrow_down:

...loadbalance/impl/LeastResourceUsageWithWeight.java

...roker/loadbalance/impl/ModularLoadManagerImpl.java

...lsar/broker/loadbalance/impl/ThresholdShedder.java

...ache/pulsar/broker/service/EntryFilterSupport.java

...e/bookkeeper/mledger/impl/LedgerMetadataUtils.java

...ache/pulsar/broker/admin/impl/BrokerStatsBase.java

...n/exception/buffer/TransactionBufferException.java

... and 482 more

Error:  COMPILATION ERROR :
[INFO] -------------------------------------------------------------
Error:  /home/runner/work/pulsar/pulsar/pulsar-common/src/test/java/org/apache/pulsar/policies/data/loadbalancer/LocalBrokerDataTest.java:[61,21] cannot find symbol
  symbol:   method getMaxResourceUsageWithWeightWithinLimit(double,double,double,double,double)
  location: variable data of type org.apache.pulsar.policies.data.loadbalancer.LocalBrokerData

Please take a look at this problem.

Fixed.

@heesung-sn Could you please help review this ?

LGTM


QA: Test Query (LOG DATA)

Parent:
#582 - DEV: Query (LOG DATA)
Test Query (LOG DATA) with LOG DATA (Complete) and LOG DATA with Null (??)

We are receiving log Data in responses, tested successfully in QA.  Closing the card


support textDocument/documentHighlight

highlight the following symbols

same variables
pair of here doc start / end words

should implement the following steps

find definition of current symbol
find references of the above found

already implemented!!


Testing issues comments

Here we are expecting two type of comments!

Comment coming from the API!
Lets test the markdown!
# Header
## Smaller
### More smaller!


descriptor: add new httpgw module

this module provides the following methods:

getSign()
request(path, data)

And this improve #147 and #154, and also deprecates the activity.get() for #110.

Checklist

[ ] npm test passes
[ ] tests and/or benchmarks are included
[ ] documentation is changed or added

The CI is broken by #165 :(
/cc @morrowind

/cc @legendecas @FeelyChau @lolBig

Done and wait for CI.


Method Update Template files is not implemented

Hi,
I've noticed that this method form HS documentation (https://app.hellosign.com/api/reference#update_template_files) is not implemented on this sdk yet.
I'm using HS api on my application and would like to use this method.

Hi!  You're correct, that endpoint is not currently implemented but it should be fairly straightforward to implement.  I've put in an internal request for this and I'll keep the issue updated with any progress.  Thanks!

status check.

any update on this ?

This is an important feature for my opinion, any progress on this?

Noted, I'll take a look. We're currently roadmapping a new version of the SDK so I'll be sure to include this in there if we can't squeeze it in beforehand :)

this has been resolved in a recent PR: https://github.com/HelloFax/hellosign-nodejs-sdk/pull/65


Wildcard permission does not seem to inherit all plugin and bukkit permissions.

LuckPerms dev 362
With a group that has a '*' wildcard to inherit all permissions by default, LuckPerms does not seem to be granting all plugin loaded and bukkit permissions.
/lp user <user> setprimarygroup Senior-Admin
Player tries to use the command /tps.
Player does not have permission to use the command despite having a wildcard inheritance  '*' from the group Admin - which Senior-Admin inherits.
/lp verbose on returns bukkit.command.tps false.
Player tries to use the worldedit command //wand.
Player does not have permission to use the command despite having a wildcard inheritance worldedit.* from the group Senior-Admin.
/lp verbose on returns worldedit.wand false.

With PEX.
/pex user <user> group set Senior-Admin
Player tries to use the command /tps.
Command works and returns the server tps.
/pex toggle debug - console returns [PermissionsEx] User mibby checked for permission 'bukkit.command.tps', regex-matched a value of true from cache.
Player tries to use the worldedit command //wand.
Command works and provides a worldedit wand.
/pex toggle debug - console returns [PermissionsEx] User mibby checked for permission 'worldedit.wand', regex-matched a value of true from worldedit.* (CACHE MISS)

Server copy for testing. PermissionsEx plugin is in the PermissionsEx directory.
https://www.dropbox.com/s/xggdu3pnxjbgpev/server.zip?dl=0
# If the plugin should apply wildcard permissions.
# If set to true, LuckPerms will detect wildcard permissions, and resolve & apply all registered
# permissions matching the wildcard.
apply-wildcards: true

# If the plugin should parse regex permissions.
# If set to true, LuckPerms will detect regex permissions, marked with "r=" at the start of the
# node, and resolve & apply all registered permissions matching the regex.
apply-regex: true

# If the plugin should complete and apply shorthand permissions.
# If set to true, LuckPerms will detect and expand shorthand node patterns.
apply-shorthand: true

# If the plugin should apply Bukkit child permissions.
# Plugin authors can define custom permissions structures for their plugin, which will be resolved
# and used by LuckPerms if this setting is enabled.
apply-bukkit-child-permissions: true

# If the plugin should apply Bukkit default permissions.
# Plugin authors can define permissions which should be given to all users by default, or setup
# permissions which should/shouldn't be given to opped players.
# If this option is set to false, LuckPerms will ignore these defaults.
apply-bukkit-default-permissions: true

# If the plugin should apply attachment permissions.
# Other plugins on the server are able to add their own "permission attachments" to players. This
# allows them to grant players additional permissions which last until the end of the session, or
# until they're removed. If this option is set to false, LuckPerms will not include these attachment
# permissions when considering if a player should have access to a certain permission.
apply-bukkit-attachment-permissions: true

Yeah, i noticed that too

First of all: Stop comparing things of LuckPerms with PEX.
And next: There are many reasons, why this maybe won't work.

The permission is not default for OPs
You need to change the world/server, that permissions update (That's the case for Luckperms.autoop)

@mibby The behavior you are experiencing is in fact intentional. You have the specific permissions set to false in previous groups.
Let me give you an example:
Let's suppose you have 2 groups: A, B (inherits from A)
When you set the permission * in B, everyone in the group has all permissions.
But now when you set test.test to false in A, it is false in B too! This is intentional behavior! To work around that simply give A explicit permissions to test.test.
I case you are curious as to why that's the way it is, it is because LP first checks explicit permissions, before wildcard permissions are checked. This is that way because it vastly improves performance.

To summarise what @BrainStone said in relation to your scenario:
Although SeniorAdmin has a * permission set, it most likely inherits the negated bukkit.command.tps command from your default group, which takes priority over the wildcard.
Three key facts:

Non-wildcard permissions will be considered before wildcards
More specific wildcards (for example worldguard.*) will be considered before less specific wildcards (for example *)
Inheritance is fully resolved before wildcards are considered.

This is how LuckPerms is by design. I'm indifferent about which design is better (whether inheritance should be considered after wildcards vs how it is now), however, the current approach is significantly faster, which is why I opted for it.
It's not currently viable to maintain a toggle between these behaviours. You can just override negations higher up the inheritance tree to obtain the behaviour you desire.

@Andre601 I believe it is perfectly acceptable to compare LuckPerms to PEX since that is what most people would be coming from. If the comparison chart is suppose to show that LuckPerms is the overall better permissions plugin to use, behavior should function similarly without issues when migrating from another permissions plugin, otherwise people will assume the plugin is broken when commands don't work. As far as I remember when testing, most permissions plugins followed the same behavior regarding inheritance.
@lucko

Although SeniorAdmin has a * permission set, it most likely inherits the negated bukkit.command.tps command from your default group, which takes priority over the wildcard.

Except no groups inherits from default. Even removing the negation from default, I still can't use the command. However looking further into it, it seems to be due to the inherited negation from the member group.

You can just override negations higher up the inheritance tree to obtain the behaviour you desire.

That's what I thought behavior would be like. As I negate all worldedit perms in the Admin group but provide them in the Senior-Admin group with the worldedit.* flag. Senior-Admin group should have a higher priority and override the negation in Admin, but this is not the case.
What seems to be the issue is the negation of this permission in the admin group.
- fawe.permpack.basic:
    value: false

It is a group of permissions set in the plugin.yml of FastAsyncWorldEdit which just provide a list of worldedit permissions. Inheriting the worldedit.* permission in the Senior-Admin group doesn't seem to override the negations and re-inherit them.
Thus two questions.

What kind of performance difference is there when allowing the '*' wildcard to inherit all permissions (including plugin.yml false set permissions) by default and override any negation down lower in the inheritance tree? Since that behavior is what people are familiar with when using a global wildcard to override all.

With PEX, the * wildcard forced inheritance of all permissions again if they were negated earlier in group inheritance unless they were specifically negated again in the same group above the wildcard. For example, a plugin may provide permissions to everyone by default, which you may not like, so you negate it for members. But you want admins to still be able to use the command, so you give admins a global wildcard flag to have access to everything. There is still a command you wouldn't want admins to have, so you also re-negate it in the same group before the wildcard. For example if you didn't want admins to have worldedit from the * wildcard.

Similarly to above, is there much of a performance impact to allow plugin wildcard inheritance (i.e. worldedit.*) to override earlier negation?

That's what I thought behavior would be like. As I negate all worldedit perms in the Admin group but provide them in the Senior-Admin group with the worldedit.* flag. Senior-Admin group should have a higher priority and override the negation in Admin, but this is not the case.
What seems to be the issue is the negation of this permission in the admin group.

fawe.permpack.basic:
value: false

Quote from @lucko

Three key facts:

Non-wildcard permissions will be considered before wildcards
More specific wildcards (for example worldguard.*) will be considered before less specific wildcards (for example *)
Inheritance is fully resolved before wildcards are considered.
In your case it's because fawe.permpack.basic does not have any wildcarts and because of that, does override any worldedit-permissions, because you're using wildcarts there.
Just set the fawe-permission to true for your admin-group and it should work fine.

I believe it is perfectly acceptable to compare LuckPerms to PEX

Agree - but it's silly to assume that it would function in exactly the same way. If LuckPerms worked in the same way as PEX, it would be just that: exactly the same. That has never been my aim with this project.

behavior should function similarly without issues when migrating from another permissions plugin, otherwise people will assume the plugin is broken when commands don't work.

As stated on the Migration wiki page:

LuckPerms has some similarities with other permission plugins, however, some parts are fundamentally different, and therefore sometimes automatic migration is tricky.

The migration does a pretty damn good job of accurately replicating setups, especially considering the complexity of the plugins it pulls data from.

As far as I remember when testing, most permission plugins followed the same general behavior regarding inheritance.

Yes I agree, but the point you are arguing here is an intricacy, and not general behaviour.]

Except no groups inherits from default. Even removing the negation from default, I still can't use the command. However looking further into it, it seems to be due to the inherited negation from the member group.

That was my point, swap "default" with "member" in my comment - it applies in the same way.

It is a group of permissions set in the plugin.yml of FastAsyncWorldEdit which just provide a list of worldedit permissions. Inheriting the worldedit.* permission in the Senior-Admin group doesn't seem to override the negations and re-inherit them.

Yes, I imagine that's exactly what it is. The reason you're experiencing this is because child permissions are processed before wildcards. As Andre said, you can just set the permpack permission to true to override it higher up.

What kind of performance difference is there when allowing the '*' wildcard to inherit all permissions (including plugin.yml false set permissions) by default and override any negation down lower in the inheritance tree? Since that behavior is what people are familiar with when using a global wildcard to override all.

By implementing the current inheritance design, the plugin is able to completely flatten the inheritance tree when setting up a user. This is the most expensive (in terms of performance) part of the permission checking process. We can do this before any permission checks have even taken place - in the case of LuckPerms, asynchronously.
Once a users permissions are flattened, they are much easier and faster to query. Child permissions, wildcards, regex permissions are then processed (in that order) at check-time, critically, after inheritance.
The alternative is on and for each permission check:

Resolving one level of inheritance
Checking for a direct match
Checking for a child permission, wildcard or regex match
Processing the next level in the same way

(this is how most other permission plugins implement inheritance + wildcards, as you point out)
I've spent the last year painstakingly optimising this process - this stuff makes a huge difference on servers with deep inheritance trees & frequent permission checks.

Similarly to above, is there much of a performance impact to allow plugin wildcard inheritance (i.e. worldedit.*) to override earlier negation from a lower group in the tree?

Same answer as above, since all wildcards are handled by the same system.

you also re-negate it in the same group before the wildcard.

As I mentioned earlier, this is super messy when you want to store your data in SQL - order fundamentally does not matter in LP, and that's not going to change.
I hope my reply doesn't come across as dismissive or rude - I appreciate your comments. However, I've spent a long time developing and improving this system, and wholeheartedly believe it to be superior.


Fix time_driver

Thank you for your contribution!
We appreciate the time and effort you've put into this pull request.
To help us review it efficiently, please ensure you've gone through the following checklist:
Submission Checklist 📝

[ ] I have updated existing examples or added new ones (if applicable).
[x] I have used cargo xtask fmt-packages command to ensure that all changed code is formatted correctly.
[x] My changes were added to the CHANGELOG.md in the proper section.
[x] My changes are in accordance to the esp-rs API guidelines

Extra:

[x] I have read the CONTRIBUTING.md guide and followed its instructions.

Pull Request Details 📖
Description
Fixes #1872 - thanks to @ProfFan for the original reproducer
Testing
See #1872 for a reliable way to reproduce the original issue

@JurajSadel this is what we need to check for in the tests


Upgraded and fixed unit tests to work with latest libparodus.

Local "make test" output:
4: Run Summary:    Type  Total    Ran Passed Failed Inactive
4:               suites      1      1    n/a      0        0
4:                tests      8      8      8      0        0
4:              asserts     51     51     51      0      n/a
4:
4: Elapsed time =    9.952 seconds
4: [1487195546][PARODUS][Debug]:
4: [1487195546][PARODUS][Debug]:
4:
4: [1487195546][PARODUS][Info]: parodus process with pid 8444 is stopped
4/4 Test #4: simple ...........................   Passed   66.37 sec
100% tests passed, 0 tests failed out of 4
Total Test time (real) =  70.41 sec


Exit status code with report

Connection with my pump gives an error, but it is not issue right now.
The problem is, that the report doesn't give correct exit code.
root@rasp:~/a/my1# openaps report show
pump://JSON/read_status/status.json.new
status.json.new  raised  ACK is 0 bytes:
root@rasp:~/a/my1# echo $?
0
But direct command returns correct exit code:
root@rasp:~/a/my1# openaps use pump status
[lots of output]
decocare.errors.AckError: ACK is 0 bytes:
root@rasp:~/a/my1# echo $?
1

This was fixed in ffbbb73a4018fecb8f05281b8128277f7eef7f6b.

Thanks :)


Added assertDoesNotThrow* assertions (and more)

[x] Added two new assertions assertDoesNotThrow and assertDoesNotThrowWithMessage.
[x] Updated documentation and corresponding tests.
[x] Now these assertions can be used with callable functions that expect parameters!
[x] Removed support for PHPUnit 6 version, since functionalities present since PHP 7.1 were required.
[x] Added phpunit.xml file.
[x] Test on php 7.3 and 7.4 .

Note 1: this should be tagged as version 1.1.x or 2.x to allow people using PHPUnit 6 to stay 1.0.x
Note 2: These changes would allow adding this library as a dependency in 'Verify' and eliminate this possible duplicate code.
@Naktibalda waiting for review.

@DavertMik

Thank you! Looks good to me

I think we can tag this 2.0


better plots

Codecov Report

Merging #68 (a8b1329) into master (8a90dc5) will decrease coverage by 2.45%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #68      +/-   ##
==========================================
- Coverage   43.48%   41.02%   -2.46%
==========================================
  Files           6        6
  Lines         568      602      +34
==========================================
  Hits          247      247
- Misses        297      331      +34
  Partials       24       24

Impacted Files
Coverage Δ

cmd/dnspyre/plot.go
0.00% <0.00%> (ø)

cmd/dnspyre/report.go
55.86% <0.00%> (-0.64%)
:arrow_down:

cmd/dnspyre/root.go
8.10% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Tuya smart plug energy monitoring not working

Hey, got some Tuya smart plugs with energy monitoring, but Homey dont recognize them and add it as a generic device. Can you please add it in the app? 🙏🏻
Model: Tuya BSD033
Producer ID: _TZ3000_kx0pris5
Product ID: TS011F
Thanks! 😁

Added to next test release.


NeurIPS '18 | Neural ordinary differential equations.

Chen R T Q, Rubanova Y, Bettencourt J, et al. Neural ordinary differential equations.

Related Reference

Altieri N, Duvenaud D. Variational inference with gradient flows.
Grathwohl W, Chen R T Q, Bettencourt J, et al. Scalable reversible generative models with free-form continuous dynamics.

Neural ODE

VAE

Normalizing Flow

Diffusion Model


formal vs. spin_dens

review for JOSS
Please describe the difference between the EJ_Calc/spin_dens directory and the EJ_Calc/formal/ directory. Are they different codes? A large amount of the code is reproduced between the two. This is bad coding practice. One should identify the subroutines that are needed for both codes and move them to a separate file, which can then be linked to both executables. Reproducing code is very bad from a maintainability point of view.
The differences between the two codes needs to be explained better. I was under the impression that ej_calc and suscep were the two codes provided by this repository.

As far as I can capture some details are given in the wiki, but I would also recommend to rethink the structure of the repository.

The ej_calc code has been restructured to have a single source code. The compilation of the code produces two executables ej_calc_spin and ej_calc_form. The usage of both executables has been descibed in the wiki.

The structure looks a bit cleaner. I think this can be closed now.


HOF Accessibility Blog

Last year I wrote a blog for the Home Office that was meant to get published but it got put on the backburner.  @easternbloc and Gavin Boulton collaborated on it with me
I've been asked to resurrect and update the blog by @timgent and @shabe from the Centre of Excellence. Their main aim is to promote HOF and the Home Office as a whole
I've partially updated it but it needs some more work and probably different examples because HOF has moved on and I've moved on.  Before investing more time, I'd be grateful for your thoughts and specifically:

how useful do you think this would be?
are there better examples I can use?
do you think this has the right tone and explains things well?
also is this in the right repo?

I'd rather we close this for now and do a catch up blog post first. Then we can look at a series of deep dives for this type of content later.

We can add it to our next SO sprint as an item so it's delivered in the next sprint.

sounds fair @easternbloc


Implement a program to reverse an array in Java

Description

Implement a program to reverse an array in Java
Programming Language Used: Java

Type of change

[ ] New Project
[x] New Feature
[ ] Bug fix

Issue number: #37

Checklist:

[X] I have included a README.md file for my project clearly explaining its purpose, functionality, and usage instructions (applicable for new projects, not bug fixes).
[X] My code adheres to the style guidelines outlined by this project.
[X] I have thoroughly reviewed my code to identify and address any potential errors or inconsistencies.
[X] I have added clear and concise comments to my code, especially in sections that might be challenging to understand at first glance.
[X] I have reviewed and followed the project's Contributing Guidelines to ensure my contribution aligns with the project's requirements.

thank you @farhan-sayeed


Bundler version

Same issue, not sure why it's closed https://github.com/danielpclark/faster_path/issues/174
Bundler could not find compatible versions for gem "bundler":
  In Gemfile:
    faster_path (~> 0.3.10) was resolved to 0.3.10, which depends on
      bundler (~> 1.12)

    rails was resolved to 5.2.3, which depends on
      bundler (>= 1.3.0)

  Current Bundler version:
    bundler (2.0.1)

Looks like this is fixed on master but needs a new gem release https://github.com/danielpclark/faster_path/commit/855d1b9a27a2d7893b7ed55b2ff9a59d9c8ef098


[ISSUE 2830] Update junit4 to junit5 - remove dup dependencies in sub-modules

// Describe your PR here; eg. Fixes #issueNo

About #2830 , remove dup dependencies in sub-moduels.
Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #2862 (a213028) into master (1e887eb) will decrease coverage by 0.38%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #2862      +/-   ##
============================================
- Coverage     60.14%   59.76%   -0.39%
+ Complexity     4467     4423      -44
============================================
  Files           691      691
  Lines         19927    19924       -3
  Branches       1775     1774       -1
============================================
- Hits          11986    11908      -78
- Misses         6930     7009      +79
+ Partials       1011     1007       -4

Impacted Files
Coverage Δ

...ache/shenyu/plugin/grpc/cache/GrpcClientCache.java
68.75% <0.00%> (-31.25%)
:arrow_down:

...henyu/admin/service/impl/UpstreamCheckService.java
42.85% <0.00%> (-20.64%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
67.85% <0.00%> (-10.72%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
52.12% <0.00%> (-10.64%)
:arrow_down:

...apache/shenyu/admin/utils/ShenyuDictH2Trigger.java
63.63% <0.00%> (-9.10%)
:arrow_down:

...ache/shenyu/admin/utils/PluginHandleH2Trigger.java
63.63% <0.00%> (-9.10%)
:arrow_down:

.../apache/shenyu/admin/model/dto/BatchCommonDTO.java
50.00% <0.00%> (-7.15%)
:arrow_down:

...apache/shenyu/admin/model/dto/AuthPathWarpDTO.java
57.14% <0.00%> (-7.15%)
:arrow_down:

...org/apache/shenyu/admin/model/dto/AuthPathDTO.java
58.82% <0.00%> (-5.89%)
:arrow_down:

...che/shenyu/admin/model/vo/DashboardUserEditVO.java
60.86% <0.00%> (-4.35%)
:arrow_down:

... and 26 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1e887eb...a213028. Read the comment docs.


Use the pympipool executor

Closes #75
Replaces Node.executor = True/False with providing actual executor instances (while keeping infrastructure support for instead instructing how to build an executor in the future, for nesting/reconnection/submitters).
The only big catch right now is that the tests hang on my local machine with the pympipool executor (while they run fine for the built-in and much simpler/weaker CloudpickleProcessPoolExecutor). This happens whenever a macro/workflow with children is the one getting an executor -- all the tests where function nodes have an executor work totally fine with both executors. Since this might be related to pympipool tests hanging on mac, I'm just going to naively push this PR and see if the tests pass OK on linux and windows. Additionally, the hanging tests work totally fine when run in a jupyter notebook -- so I'm optimistic this is something that can be overcome, I just need more data to figure out how.
TODO:

[ ] Update docs
[ ] Update demo notebook (at least the quickstart still uses executor = True
[ ] Go look at pympipool for how the flux and slurm guys get tested and try to do something similar here

File "/usr/share/miniconda3/envs/my-env/lib/python3.10/site-packages/pympipool/backend/serial.py", line 30, in main
    input_dict = interface_receive(socket=socket)
  File "/usr/share/miniconda3/envs/my-env/lib/python3.10/site-packages/pympipool/shared/communication.py", line 147, in interface_receive
    return cloudpickle.loads(socket.recv())
ModuleNotFoundError: No module named 'test_macro'

This is the cause of failure for a couple of these. Might be those awkward expectations pympipool has on the PYTHONPATH that I mentioned somewhere else (the linked issue maybe?)

Ah, perhaps it runs in the notebook because it recognizes that things are being defined in __main__ and so knows to use by-value serialization, but when I'm running the tests they're in a .py file and so thinks that by-reference serialization will it doesn't realize that somehow this py file is not actually in the python path.

Ok, failures are from referencing objects defined in the same file but different scopes, such that the executor thinks it's something that should be available by reference but really it still needs to be pickled by value. Cf. this issue over on pympipool for a minimal(ish) example.
I can get around this by modifying the existing tests so they never have this same-file-different-scope problem, but I don't want some user/node dev to run into this problem later so let's see if it can be intelligently fixed upstream before giving up.

Failure was already resolved by pympipool! I was just using an outdated version

Nope, tests still hang and when I cancel them I get
....Traceback (most recent call last):
  File "/usr/share/miniconda3/envs/my-env/lib/python3.11/site-packages/pympipool/backend/serial.py", line 64, in <module>
    main(argument_lst=sys.argv)
  File "/usr/share/miniconda3/envs/my-env/lib/python3.11/site-packages/pympipool/backend/serial.py", line 30, in main
    input_dict = interface_receive(socket=socket)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/miniconda3/envs/my-env/lib/python3.11/site-packages/pympipool/shared/communication.py", line 147, in interface_receive
    return cloudpickle.loads(socket.recv())
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'test_macro'

The pympipool also causes the test suite to hang on my local machine, although 100% of the tests register as passing -- it just doesn't shut down. It's not clear to me whether these two things are connected or not.

Pycharm no longer hangs, but all the CI tests here still do.

On cancellation, each of the unit tests fails with
File "/Users/runner/miniconda3/envs/my-env/lib/python3.11/site-packages/pympipool/backend/serial.py", line 64, in <module>
    main(argument_lst=sys.argv)
  File "/Users/runner/miniconda3/envs/my-env/lib/python3.11/site-packages/pympipool/backend/serial.py", line 30, in main
    input_dict = interface_receive(socket=socket)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/runner/miniconda3/envs/my-env/lib/python3.11/site-packages/pympipool/shared/communication.py", line 147, in interface_receive
    return cloudpickle.loads(socket.recv())
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'test_macro'

While the coverage fails similarly but with unit instead of test_macro (this makes enough sense, since the unit tests are being invoked from tests/unit, while the coverage gets invoked directly from tests).
The correct version of pympipool (0.7.9) is getting installed according to the logs, and the versions of mpi4py (3.1.5), cloudpickle (3.0.0), and pyzmq (25.1.1), tqdm (4.66.1) also all match the current pympipool env files and my local environment.
One thing I find particularly interesting is that the unit test failure occurs in test_macro; alphabetically test_function creates an executor first, but this test raises an exception before we ever use that executor to call submit, so the failure is occurring at the first instance of the executor being used.

That did nothing, I'm getting the exact same ModuleNotFoundErrors. Let's take one more crack at it from the env side.

The path is as expected. Maybe the path needs to be added in another process too? I am now trying just manually using a pympipool test (mostly), where we first cd and then discover tests in ..

Ok, it looks like the cd then discover . worked -- it ran into errors discovering the static package, but it finished cleanly and the only errors had nothing to do with the executor:
======================================================================
ERROR: test_creator_access_and_registration (test_composite.TestComposite.test_creator_access_and_registration)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pyiron_workflow/interfaces.py", line 205, in _verify_identifier
    module = import_module(package_identifier)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/miniconda3/envs/test/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1140, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'static'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/runner/work/pyiron_workflow/pyiron_workflow/tests/unit/test_composite.py", line 71, in test_creator_access_and_registration
    self.comp.register("demo", "static.demo_nodes")
  File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pyiron_workflow/composite.py", line 517, in register
    cls.create.register(domain=domain, package_identifier=package_identifier)
  File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pyiron_workflow/interfaces.py", line 163, in register
    self._verify_identifier(package_identifier)
  File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pyiron_workflow/interfaces.py", line 212, in _verify_identifier
    raise ValueError(
ValueError: The package identifier is static.demo_nodes is not valid. Please ensure it is an importable module with a list of Node objects stored in the variable `nodes`.

======================================================================
ERROR: test_registration (test_interfaces.TestCreator.test_registration)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pyiron_workflow/interfaces.py", line 205, in _verify_identifier
    module = import_module(package_identifier)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/miniconda3/envs/test/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1140, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'static'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/runner/work/pyiron_workflow/pyiron_workflow/tests/unit/test_interfaces.py", line 27, in test_registration
    self.creator.register("demo", "static.demo_nodes")
  File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pyiron_workflow/interfaces.py", line 163, in register
    self._verify_identifier(package_identifier)
  File "/usr/share/miniconda3/envs/test/lib/python3.11/site-packages/pyiron_workflow/interfaces.py", line 212, in _verify_identifier
    raise ValueError(
ValueError: The package identifier is static.demo_nodes is not valid. Please ensure it is an importable module with a list of Node objects stored in the variable `nodes`.

----------------------------------------------------------------------

So it looks like the problem is that pympipool requires to first CD and then discover tests. IMO that's a problem with pympipool and not with pyiron_workflow. I'll go over there and see if I can reproduce this behaviour more simply with some new workflows and get help there.

Dammit, I can't invoke the reusable workflow as a step. That means, and the docs explicitly point this case out, that I can't modify the GITHUB_ENV of the called workflow.
If this problem can't be fixed directly in pympipool that will mean adding a step like below to the reusable workflow itself.
    - name: "Add test dirs to pythonpath (pympipool compliance)"
      run: |
        PWD=$(pwd)
        echo "PYTHONPATH=$PWD/tests/benchmark:$PYTHONPATH" >> $GITHUB_ENV
        echo "PYTHONPATH=$PWD/tests/integration:$PYTHONPATH" >> $GITHUB_ENV
        echo "PYTHONPATH=$PWD/tests/unit:$PYTHONPATH" >> $GITHUB_ENV

Per pympipool #239, I'm trying to modify the centralized CI to allow the python path to be expanded. Targeting the branch seems to have failed and push-pull didn't even run:
error parsing called workflow
".github/workflows/push-pull.yml"
-> "pyiron/actions/.github/workflows/push-pull-main.yml@tests_in_python_path"
: failed to fetch workflow: reference to workflow should be either a valid branch, tag, or commit

Ahaaaa, because I have a typo in "pythonpath"

Perfect! Worked for all three OSs. I updated the upstream branch to also apply the same trick for the coverage job, which is still hanging.

Note that once everything is settled, the workflow tags will need to be reset to main or a release.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

35 of 43 (81.4%)  changed or added relevant lines in 3 files are covered.
70 unchanged lines in 8 files lost coverage.
Overall coverage decreased (-0.7%) to 85.327%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pyiron_workflow/interfaces.py
16
24
66.67%

Files with Coverage Reduction
New Missed Lines
%

function.py
1
91.86%

io.py
2
90.23%

pyiron_workflow/io.py
2
85.71%

pyiron_workflow/util.py
2
80.0%

util.py
2
89.66%

composite.py
9
87.13%

interfaces.py
20
80.2%

node.py
32
86.67%

Totals

Change from base Build<PHONE_NUMBER>:
-0.7%

Covered Lines:
3332

Relevant Lines:
3905

💛  - Coveralls


How can I remove collection-fs packages from my app?

How can I remove collection-fs packages from my app completely? After I remove and my app throws following exception on server console:
Got exception while polling query: Error: Custom EJSON type FS.File is not defined

I removed all the collections from mongodb, all the references from my source code.
I removed following packages:
cfs:standard-packages
cfs:filesystem
cfs:graphicsmagic
cfs:ui
cfs:gridfs
cfs:ejson-file

And added following package back to fix the error:
cfs:ejson-file

The cost must be calling FS methods. Find the part in that code and remove it. This will prevent the error.


Update quick start guide to compatible with Siddhi 5.x.x

Purpose
This PR Update quick start guide to compatible with Siddhi 5.x.x  and also adds a section on how to run siddhi app as a docker micro service
Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes
Ran FindSecurityBugs plugin and verified report? yes
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes

Codecov Report

Merging #1231 into master will increase coverage by 0.03%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1231      +/-   ##
============================================
+ Coverage     61.45%   61.48%   +0.03%
  Complexity       35       35
============================================
  Files           619      619
  Lines         24942    24942
  Branches       3909     3909
============================================
+ Hits          15327    15336       +9
+ Misses         8288     8279       -9
  Partials       1327     1327

Impacted Files
Coverage Δ
Complexity Δ

...ut/stream/state/AbsentStreamPreStateProcessor.java
85.21% <0%> (-1.41%)
0% <0%> (ø)

...e/src/main/java/io/siddhi/core/util/Scheduler.java
81.41% <0%> (-1.29%)
0% <0%> (ø)

.../io/siddhi/core/util/snapshot/SnapshotService.java
39.13% <0%> (+0.82%)
0% <0%> (ø)
:arrow_down:

.../siddhi/core/util/event/handler/StreamHandler.java
74% <0%> (+12%)
0% <0%> (ø)
:arrow_down:

...c/main/java/io/siddhi/core/util/ThreadBarrier.java
100% <0%> (+20%)
0% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aa9fbd5...0577bda. Read the comment docs.


Weapon stats aren't sorted by selected column upon search

When using the "Search Weapon Name" search bar at the character weapon page, the selected column sort is not applied. I think (hope) this is as simple a fix as calling a JS function on page load.
To Reproduce

Lookup any character and select the "Weapons" tab
Sort by one of the columns (e.g. "Acc")
2a. Note that the rows are properly sorted by the column
Use the search bar to look up any weapon (as long as it returns multiple rows)
See that while the correct rows are returned, they are not ordered by the selected column
4a. A workaround is to click the column twice to properly sort the rows.

Yes, this should be an easy fix and the workaround is kind of my hack solution.
`function updateSortTable() {
if (!didTableRecieveStyleUpdate()) {
let toSortDesc = table.querySelector(".desc");
let toSortAsc = table.querySelector(".asc");
        if (toSortDesc != undefined) {
            toSortDesc.click();
            toSortDesc.click();
        } else if (toSortAsc != undefined) {
            toSortAsc.click();
            toSortAsc.click();
        }
    }
}`


Remove non-filtered symbol tooltip

Is this default symbol tooltip useful(the non-filtered one)? What are the use-cases?

It seems like it just pops up after end of expression or declaration? And it doesn't happen so often that I want to write two expression on the same line. So I don't want auto-complate suggestions.

Is this default symbol tooltip useful (the non-filtered one)

Not for me. But I can imagine someone liking it. Admittedly it is over aggressive and that issue is tracked here : https://github.com/TypeStrong/atom-typescript/issues/141


Update tone integration docs

Connector docs

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


No module named 'connections.init'; 'connections' is not a package

Using a Udemy tutorial, help?
Error:
Traceback (most recent call last):   File "C:\Users\matth\Desktop\tens.py", line 1, in <module>     from pybrain.tools.shortcuts import buildNetwork   File "C:\Users\matth\AppData\Local\Programs\Python\Python37\lib\site-packages\pybrain\tools\shortcuts.py", line 7, in <module>     from pybrain.structure.networks.feedforward import FeedForwardNetwork   File "C:\Users\matth\AppData\Local\Programs\Python\Python37\lib\site-packages\pybrain\structure\__init__.py", line 1, in <module>     from connections.__init__ import * ModuleNotFoundError: No module named 'connections.__init__'; 'connections' is not a package
Code:
from pybrain.datasets import SupervisedDataSet
from pybrain.supervised.trainers import BackpropTrainer

neuralNetwork = buildNetwork(2, 3, 1, bias=True)

dataset = SupervisedDataSet(2, 1)

#AND logicl relation
dataset.addSample((0,0),(0))
dataset.addSample((1,0),(0))
dataset.addSample((0,1),(0))
dataset.addSample((1,1),(0))

trainer = BackpropTrainer(neuralNetwork, dataset= dataset, learningRate=0.01, momentum=0.06)

for i in range(10000):
    error = trainer.train()
    if i % 1000 == 0:
        print("Error in iteration ", i," is: ", error)
        print(neuralNetwork.activate([0,0]))
        print(neuralNetwork.activate([1,0]))
        print(neuralNetwork.activate([0,1]))
        print(neuralNetwork.activate([1,1]))

print("\nResults: ")
print(neuralNetwork.activate([0,0]))
print(neuralNetwork.activate([1,0]))
print(neuralNetwork.activate([0,1]))
print(neuralNetwork.activate([1,1]))

Fixed it, was using python3.


library not found for -lflutter_blue

 Flutter (Channel stable, v1.9.1+hotfix.4, on Mac OS X 10.15 19A583, locale zh-Hans-CN)
    • Flutter version 1.9.1+hotfix.4 at /Users/blackshark-leo/Dev/Flutter/path/flutter
    • Framework revision cc949a8e8b (12 days ago), 2019-09-27 15:04:59 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
    • Android SDK at /Users/blackshark-leo/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.1, Build version 11A1027
    • CocoaPods version 1.8.3

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 40.0.2
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] Connected device (1 available)
    • iPhone 11 Pro Max • B4AD60F1-93BB-4BA8-AEB9-81C93878224C • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-1 (simulator)

 ld: library not found for -lflutter_blue
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    note: Using new build systemnote: Planning buildnote: Constructing build description

iOS 13 device appear

library not found for -lProtobuf

This is a weird one.
You can try the latest version 0.6.3 to see if that solves your issue, but I have a feeling this is different.
Also, you might want to try creating a new project template and adding flutter_blue, just to make sure it's not an Android/iOS generated file that's gone wonky.

Resolved。
xcode find  cannel  "Build Settings -Valid Architectures "


Custom loading script for VDF in HuggingFace Datasets

https://huggingface.co/docs/datasets/dataset_script


support  low latency hls (llhls)  encrpytion

I am working on llhls  with this open source project  https://github.com/bluenviron/mediamtx
it works well,   however missing  llhls encrpytion feature.
I wonder how to do that in llhls .
llhls  will generate normal  segment.fmp4   and  a smaller fragment.fmp4
shall we just encrypt  segment.fmp4    fragment.fmp4 one by one ?
witch encryption method shall we use ?
    METHOD=SAMPLE-AES    = SAMPLE-AES-CTR   ?? ['SAMPLE-AES', 'SAMPLE-AES-CTR', 'SAMPLE-AES-CENC'];
    METHOD=AES-128       = AES-128-CBC

I see there is an example decrypted example https://github.com/Eyevinn/mp4ff/tree/master/examples/decrypt-cenc
could you provide an encrypt example ?

Implementation of encrypting segments in mp4ff is not planned for the near future, but Eyevinn is a video consultancy company so you can contact us if you want to speed it up by sponsoring the implementation, see the bottom of the main README
Encryption of fMP4 should be done in cbcs format, and is clear from the HLS specification. Bento4 and MP4Box should both have support for generating such segment..


Adding hover effects and changing texts for our mission, our vision, next plan

These are the changes I am planning to make if there is anything else please let me know.
@anuragverma108 please assign me this issue and also mark as hacktoberfest.

hey @anuragverma108 let assign me this issue ..

Thanks for creating the issue in WildGuard! The issue has been assigned to you.
Before you start working on your PR, please make sure to:

⭐ Star the repository if you haven't already.
Pull the latest changes to avoid any merge conflicts.
Attach before & after screenshots in your PR for clarity.
Include the issue number in your PR description for better tracking.

Don't forget to follow @anuragverma108 – Project Admin & @PriyaGhosal -Project Collaborator  – for more updates!
We're excited to see your contribution as part of Hacktoberfest 2024! 🎉
Happy open-source contributing!


CAMEL-11492: offer an introduction to user manual page

To the user manual page, a brief introduction is provided about Apache Camel and the link to the Introduction is provided as well along with the paragraph.
Hence, from the Overview section, the link to Introduction is removed as it can be easily accessed before the list of chapters itself.

Looks good, thanks!

Forgot that we need a title at the start of the document. I'll fix this quickly.


[FEATURE] List of gpg keys to encryt secrets for

Might not be the usual case, for me it is.
Is your feature request related to a problem? Please describe.
I've strictly separated users for private and work. I've different gpg keyrings. Different private keys. Currently I can encrypt secrets for one key, which means I cannot use secrets in the same repository on other hosts with different keyrings.
Describe the solution you'd like
I hope it would be easily managable to add gpg_user_ids in addition to gpg_user_id as a list of gpg keys to encrypt data for.
Describe alternatives you've considered
Third-party like git crypt and bypass bombadil secrets management, I guess.

This is usual indeed, I will try to implement this and we shall see.