Use Context for Timeout Handling

This wires up context to HTTP requests made by the extension to cancel them when a context deadline is reached or the context is cancelled. The existing timeout logic could be greatly simplified using contexts. This will require further refactoring.

Would invoking .Panic interrupt the execution of the Lambda function?

@mrickard The extension runs in a separate process from the lambda function. So the panics won't directly affect it. However, the InitError calls tell Lambda that something went wrong during initialization. After making this call, Lambda will restart the extension process anyway, so the panics are really just there to ensure execution is interrupted at that point.


Removing the warning suppression(ConstructorOnlyInitializesOrCallOtherConstructors )

Refactored the class according to this article:
http://www.yegor256.com/2015/05/07/ctors-must-be-code-free.htm
Fixing the issue(https://github.com/yegor256/takes/issues/595).

@sebing Let me find a reviewer for this pull request, thanks for submitting it

@mkordas this pull request is for you, please review

@mkordas I have to rewrite the test case too. I am a bit confused about my implementation of the key length check. I think, it is right to throw the exception and check for the size.

@sebing I'm on it

@sebing please avoid writing "fixing #XXX", as in that case GitHub may close issue automatically. It's better to write just "for #XXX".

@sebing test is failing:
 CcAESTest.encodesAndDecodes:67 » IllegalArgument the length of the AES key mus...

@sebing why so many commits? Can we reduce amount of them?

@sebing please see a few comments above

@mkordas I have a design question. I think, we need to have code in the constructor.
AlgorithmParameterSpec should be stored for decode and encode. Should I store them in the first call? That is ugly.. the other option is keep it in the constructor.

@sebing but keeping it in constructor will fail PMD, right?

@mkordas I have not pushed the changes. As I have not clear what should be the implementation :)
If we have anything other than assigning the field variables, PMD is complaining. Even I cannot call the setter methods.

@sebing and PMD is right, there should be nothing else in constructor

@mkordas I agree with you. I have made few changes.
 public CcAES(final Codec codec, final byte[] key) {
        this.origin = codec;
        this.key = new byte[key.length];
        System.arraycopy(this.key, 0, key, 0, key.length);
    }

I feel this is the the right way to initialize the byte array but PMD complains.

@sebing why not just key.clone()?

@mkordas That is perfect! Now can your re-review the code.

@mkordas One of the Travis jobs failed.
I think it is the same issue as(https://github.com/yegor256/takes/issues/573)

@sebing please see a few additional comments above

@mkordas fixed the issues.

When I add @Immutable the build breaks. (it is not the dependency, can you have a look at the log(https://ci.appveyor.com/project/yegor256/takes/build/2198) ?

@sebing please read http://stackoverflow.com/questions/17685670/maven-2-1-dependencyanalyze-transitive-dependencies-used-undeclared-dependenc

@sebing a few new comments above

@mkordas I have updated the comments.

@sebing thanks, looks good

@sebing just very minor comments left, I'm waiting for your response

@mkordas Can you re-review the the code?

@sebing sure, starting

@sebing looks clean, thanks!

@rultor merge

@rultor merge

@mkordas Thanks for your request. @yegor256 Please confirm this.

@yegor256 we need your review here

@sebing I see one problem with the code above, see my comment

@mkordas One of the Travis jobs failed.
I think it is the same issue as(https://github.com/yegor256/takes/issues/573)

@mkordas I am not sure, i understood the Temporal Coupling problem correctly.
Can you review my code?

@sebing

@mkordas One of the Travis jobs failed.
I think it is the same issue as(#573)

that's OK, I think it's fine now

@sebing solution looks OK to me, we'll see what @yegor256 says

@rultor merge

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@sebing @yegor256 Oops, I failed. You can see the full log here (spent 9min)
	at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:335)
	at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:217)
	at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:461)
	at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:261)
	... 35 more
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact commons-codec:commons-codec:pom:1.5 from/to central (http://repo.maven.apache.org/maven2): Connection reset
	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)
	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:239)
	at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:320)
	... 38 more
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact commons-codec:commons-codec:pom:1.5 from/to central (http://repo.maven.apache.org/maven2): Connection reset
	at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1016)
	at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1004)
	at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:725)
	at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.maven.wagon.TransferFailedException: Connection reset
	at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:935)
	at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
	at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
	at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
	at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:660)
	... 4 more
Caused by: java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:196)
	at java.net.SocketInputStream.read(SocketInputStream.java:122)
	at org.apache.maven.wagon.providers.http.httpclient.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:136)
	at org.apache.maven.wagon.providers.http.httpclient.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:152)
	at org.apache.maven.wagon.providers.http.httpclient.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:270)
	at org.apache.maven.wagon.providers.http.httpclient.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
	at org.apache.maven.wagon.providers.http.httpclient.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
	at org.apache.maven.wagon.providers.http.httpclient.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)
	at org.apache.maven.wagon.providers.http.httpclient.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:161)
	at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.maven.wagon.providers.http.httpclient.impl.conn.CPoolProxy.invoke(CPoolProxy.java:138)
	at com.sun.proxy.$Proxy19.receiveResponseHeader(Unknown Source)
	at org.apache.maven.wagon.providers.http.httpclient.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
	at org.apache.maven.wagon.providers.http.httpclient.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
	at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.MainClientExec.execute(MainClientExec.java:253)
	at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.ProtocolExec.execute(ProtocolExec.java:194)
	at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec.execute(RetryExec.java:85)
	at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
	at org.apache.maven.wagon.providers.http.httpclient.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186)
	at org.apache.maven.wagon.providers.http.httpclient.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
	at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.execute(AbstractHttpClientWagon.java:756)
	at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:854)
	... 8 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
container 328dd95d80f3e76859471ec17baaccc63a32d6d31565fb782b2852d90413afcf is dead
Tue Feb 16 18:55:44 UTC 2016

@rultor merge

@rultor merge

@mkordas Thanks for your request. @yegor256 Please confirm this.

@yegor256 this is ready for your review

@sebing this may sound minor, but I would like you to read that few pages attached. you will understand what's wrong with your method. @mkordas would be great if you take a look too

@mkordas can you review the file, as I changed the method name.

@yegor256 makes sense, I'll keep that rules in mind

@sebing looks good to merge

@rultor merge

@rultor merge

@mkordas Thanks for your request. @yegor256 Please confirm this.

@rultor merge

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 8min)

@rultor deploy

@rultor deploy

@mkordas Thanks for your request. @yegor256 Please confirm this.

@yegor256 pull request is waiting for your review and merge here

@rultor merge

@rultor merge

@sebing @yegor256 The pull request is closed already, so I can't merge it

@rultor merge

@yegor256 I'm sorry, I don't understand you :( Check this page and try again please

@mkordas you don't need to deploy yourself. we do it on our side, for every successfully merge PR

@yegor256 OK, I'll leave it to PMs, however I had situations when PM's deployment failed (they don't care about the result) and then my puzzle task was not closed for almost 2 weeks. Moreover PMs are recently so slow, that sometimes it takes 5-7 days for them to start the deployment.

@ypshenychka review this ticket please, for compliance with our quality rules

@rultor deploy

@rultor deploy

@davvd OK, I'll try to deploy now. You can check the progress here

@rultor deploy

@davvd Done! FYI, the full log is here (took me 16min)

@davvd Quality is good.

@davvd Quality is good.

@ypshenychka thanks!

@mkordas 10 mins was added to the account of @ypshenychka (for QA review), in transaction 79192559; Much appreciated! 1 hour and 13 mins was added to your account, payment ID 56d71cf46830f017b4000129, time spent is 374 hours and 29 mins; extra minutes for review comments (c=58); added +73 to your rating, now it is equal to +7963


Notifications

New Feature

Sites can now set webhooks for 'publish' and 'unpublish' events.

host: 'nymag.com'
#...config, etc
notify:
  webhooks:
    published:
      - http://some-url.com/some-path
    unpublished:
      - http://some-url.com/some-path

The webhook will be a POST and will set a X-Event header with the name of the event, and will include the data from the event.
The data that the events should send has not been made clear yet, so currently is just whatever is available.  Expect that to change later.

:+1:

Coverage remained the same at 100.0% when pulling ded5e4da9c74ccc8002f2c1732495bdc34ac29a2 on notifications into 5a9be1f4285e0d4e48a0e8cb1809f15f59d3cdf4 on master.


[PR Contrib] Add way to force checkout

Temp fix for Windows.
I believe @sapk mentioned it in his original PR, but on Windows there are complaints of a dirty worktree when running the contrib. However on Linux (and Mac?) machines the issue doesn't exist.
The only way to make it work is to add the Force option to the checkout, however having it on by default sounds dangerous in case there are uncommitted changes the dev wants to keep.
This PR just adds a way to run the Force without editing the code.
FORCE=true go run contrib/pr/checkout.go 0000 or FORCE=true PR=0000 make pr

Codecov Report

Merging #6322 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #6322      +/-   ##
==========================================
- Coverage   38.82%   38.81%   -0.02%
==========================================
  Files         359      359
  Lines       51137    51137
==========================================
- Hits        19854    19848       -6
- Misses      28411    28418       +7
+ Partials     2872     2871       -1

Impacted Files
Coverage Δ

models/unit.go
0% <0%> (-14.29%)
:arrow_down:

routers/repo/view.go
41.08% <0%> (-1%)
: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 91775c1...b548a60. Read the comment docs.

An other solution is to fallback to the git cli on windows.

make LG-TM work


Add a GPU ID command line parameter (main.cpp)

dedoppler should be passed a GPU ID parameter for use with cudaSetDevice(gpu_id)
Command line default: 0

Is it good enough to use the environment variable CUDA_VISIBLE_DEVICES ? I'd rather not support extra flags if there's already some way to do it.

rawspec, turbo_seti, and hyperseti have set a precedent by providing this flexibility

Should seticore become successful, this won't be the last user interface change

e.g. min_drift_rate which might be set quite high in the case of Mars

The author has the right to design how a specific device is selected. Therefore, I am closing this issue and opening a PR that just amends README.md to add a section on how to deterministically select a specific device using environment variables.


fix show help message

When run websocketd -h or -help or --help or --h , The help message is executed twice, once show default flag.Usage help message and once PrintHelp() ,,
#./websocketd -h
#./websocketd -help
#./websocketd --help
./websocketd --h

Usage of ./websocketd:
  -address value
      Interfaces to bind to (e.g. <IP_ADDRESS> or [::1]).

[...SNIP...]

  -version
      Print version and exit
websocketd (DEVBUILD (go1.18.3 linux-amd64) --)

websocketd is a command line tool that will allow any executable program

[...SNIP...]

Full documentation at http://websocketd.com/

Copyright 2013 Joe Walnes and the websocketd team. All rights reserved.
BSD license: Run 'websocketd --license' for details.

in this line
https://github.com/joewalnes/websocketd/blob/334a9ecc36f74a622f2a1899e4d9291a379e574f/config.go#L57
show default flag.Usage message disabled, but in next line
https://github.com/joewalnes/websocketd/blob/334a9ecc36f74a622f2a1899e4d9291a379e574f/config.go#L58
created new instance of flag with NewFlagSet

NewFlagSet returns a new, empty flag set with the specified name and error handling property. If the name is not empty, it will be printed in the default usage message and in error messages.

and we must set flag.CommandLine.Usage for stop printing default message

Thank you


Convert existing samples

the placement sample doesn't work.

We redid this on master together today.


Mouse tracking optimization, let the eyes always look at the mouse position

When the mouse position is far away, the eye follows strangely. So the calculation method was modified

LGTM, thanks for the contribution!


update genesis.proto

instead of using proto/tendermint/liquidity/v1beta1/genesis.proto in https://github.com/tendermint/liquidity/pull/235/files
I am making the suggested changes to genesis.proto here
seems simpler and will enable us to disposition each small change quickly and iteratively

Description

closes: #XXXX

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards.
[ ] Wrote unit and integration tests
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added relevant godoc comments.
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Review Codecov Report in the comment section below once CI passes

As @hallazzang comments in this #373, the generation of the corresponding *.pb.go files is needed when there is a change in any of the .proto files. Since this requires to configure development environment in your computer, I push the commit in your branch.


update templates-distribution to have working oras examples

The push and pull examples do not work with the current cli.  It looks like the --manifest-config option was renamed to --config some time ago.

The latest oras documentation describes the use of the --config option for the push and pull commands.  This parameter changes was documented as a breaking change in version 0.14.0 of the ORAS CLI, which was released in August 2022.

Thank you! ✨
Wondering, if you'd also be interested in making similar changes to the devcontainers/devcontainers.github.io repo? Thanks!
https://github.com/search?q=repo%3Adevcontainers%2Fdevcontainers.github.io --manifest-config %2Fdev%2Fnull%3Aapplication&type=code

Sure!  Thanks for approving this change.
Here's the other change.


There should be a way of replaying the transactions already in the chain against a chaincode

Kill the chain code and restart.
Would be it desirable obc-peer should replay all the transactions for that chaincode to the chaincode on restart to resync state?
There ought to be a way to do this.

@zmanian is this still an issue or can it be closed. Thanks

This should be closed. I didn't understand how the state db worked at this time.


can I fix the first row when scrolling the content?

the first row's infomation can help me know what i am editing, in my opinion , making it fixed when scrolling is very important.

The header row doesn't fit your needs (read options > has header)?
Actually I'm not a fan of the header row because it's not editable and with the last update changing the has header option will clear undo/redo
So I guess a new extension setting to fix the first X rows would be a good solution?

After some testing it seems that we need to make has header and fixed Rows mutually exclusive (has header has priority)

sorry, i didn't notice there is a has header option, that's what i want.

Ok but keep in mind you can't edit the header row and when you toggle the has header option the undo/redo is cleared


Refactoring, Enhancements, and Fixes

This pull request introduces several updates and fixes that correspond to the issues targeted for Iteration 6. Here's what has been done:

Ethereum and Solana Chain Support: The logic for supporting different blockchain architectures like Ethereum and Solana has been streamlined by removing unnecessary parts. This addresses issue #147.

Network Checks and Configurations: The network connection is now more reliable with the removal of unsupported network logic and the addition of specific network IDs for EVM chains. This resolves issue #86 and is a part of the fix for issue #148.

KyodoRegistry Updates: The deployment process for the KyodoRegistry now requires a deployment block number, simplifying the setup and removing the need for a block number in the environment variables. This change is a feature enhancement for issue #154.

Skill Tagging System: We've implemented a system for adding skill tags and weights. This feature is related to issues #39 and #153.

Testing and Chore Updates: Tests have been added for the new skills format, and skills are now fetched and displayed correctly. Additionally, we've removed outdated 'Spark' references, replacing them with 'Aave' configurations, which is a part of the fix for issue #167.

Professional Agreements Display: A new feature showing agreements for professionals has been implemented. This feature addresses issue #151.

Unified Script for Synchronization and Deployment: We have created a single script to synchronize sources, deploy the registry, and deploy contracts. This enhances our deployment process, as mentioned in issue #176.

Admin Role Enhancements: The AgreementsContract now includes W3D Admin roles, providing better control and management as per issue #85.

Configuration and Storage Refinements: By removing the KyodoTreasury address from the environment variables, and using admin configuration to store it at the Registry, addressing issue #155.

Architecture Visualization and Documentation: In addition to creating a visual architecture of the Kyodo code for better clarity on our codebase structure, addressing issue #166, we have also added basic documentation covering all public and external functions.

Codebase Optimization: We've improved our code structure and maintainability by reorganizing files and refining contract names for enhanced clarity, ensuring our codebase is clean and well-organized.

With these updates, we aim to close the following issues: #147, #148, #154, #39, #85, #86, #153, #155, #166, #167, #169, #176 and #151.

I can't select Solana anymore because it automatically opens Metamask / Ethereum wallet to connect

Error when trying to create agreement


MultiCollector.list bug

The code does this:
    public static <T> Multi<List<T>> list(Multi<T> upstream, int size) {
        return Infrastructure.onMultiCreation(new MultiBufferOp<>(upstream, size, size));
    }

So it will skip as many items as we want, I believe it should default to skip with 0 no?

Sorry this appears to be a feature, now that I read the javadoc.


Disabiling Speling tests

PR Summary

PR Checklist

[ ] PR has a meaningful title
[ ] Summarized changes
[ ] This PR is ready to merge and is not Work in Progress
[ ] Link to a filed issue
[ ] Screenshot of UI changes (if PR includes UI changes)

Enabling


Predict on batch being able to do the prediction with inputs of different first shapes

System information

TensorFlow version (you are using): 2.3
Are you willing to contribute it (Yes/No): yes

Describe the feature and the current behavior/state.
For a recommender system usage we want to be able to have a keras model that takes inputs with different first dimensions, for example one input with N rows and another with one row.
That feature was also asked here https://github.com/keras-team/keras/issues/13646 for another use case.
Until https://github.com/tensorflow/tensorflow/commit/56a0ce87911236765633d2a873e706ebc6401ef9 predict on batch did not check the cardinality of tensors before creating the dataset so our usage fits in the Keras api.
but now there is an additional _check_data_cardinality(data):
https://github.com/tensorflow/tensorflow/commit/56a0ce87911236765633d2a873e706ebc6401ef9#diff-f8dd40712ac721c1b363e1a1ec44c1a3R1523
that will break if you pass two inputs one with one row and one with N rows.
Will this change the current api? How?
Provide a way to disable that check, either making it a warning or removing it.
Who will benefit with this feature?
Users with non static input shapes, recommenders systems where we want to take into advantage the fact that we do a prediction on 1 movie for all the users to use broadcasting instead of running N times the same embedding.
Any Other info.

Hello,
you could just use the call method instead of the predict or predict_batch method.
This would make your code even shorter, because you can write:
output = model(input) instead of output = model.predict(input)
maybe it will solve your issue?

@tanguycdls As mentione in the above comment, did you try using the call method?

hi thanks @bela127 @gowthamkpr yes it works but for performance reason i want to graph it. I could wrap it into a tf function but my input is a dict of ragged tensor and those are currently not supported well while in a dict.
In the mean time i found another trick: if you use a generator and predict instead the check does not happen as well.
I just find that check odd at such high level of the api: for datasets the check makes sense since we might want to batch it so we would need to split the data in the first dim: But for predict_on_batch there is only one batch and if there is a shape issue I think Tensorflow in the graph will break with a clear error.

+1 to what @tanguycdls mentioned, in predict_on_batch we don't need such check, can we just raise an error if there is any issue following the "let it crash" philosophy?

@tanguycdls  It looks like you are using an older Version of Tensorflow (2.3). Many bugs have been fixed in the latest version. Can you please execute your code using Latest Version (2.4.1 or 2.5.0) and let us know if the issue still persists? Thanks!

@sushreebarsa Yes the issue persists, the workaround is to create a custom tf dataset and then we no longer call the check_data_cardinality function.
This is why I believe the behavior is strange, if you create a dataset using predict directly it breaks, if you create beforehand the tf dataset it works.

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.


'At-A-Glance' (AAG) Edge Annotations for high-level EPC information

The 'At-A-Glance' (AAG) idea refers to a set of 4-5 edge properties that provide a high level EPC summary, allowing users to make a first pass assessment of confidence and relevance for a given KG Edge (or a 'Result' that maps to a single asserted or predicted KG Edge).
There is a long history of proposals for this type of thing, coming from different perspectives and stakeholders (summarized here). These proposals have been aligned and refined over the past year.  IMO we are at a point where we need to move toward implementing it.
This issue  proposes an initial set of AAG properties to implement, and can serve as a place to discuss how to move this from idea to practice.  Separate tickets will be created for proposals/discussion around developing and implementing each proposed property.
Initial discussions focused on the following five types of information that AAG properties could provide:

Knowledge Level/Type:  the level/type of knowledge that is reported in an edge, based on how the knowledge was produced, the strength of evidence supporting it, or our confidence in its validity. (see #11)
a. e.g.  ‘Knowledge Assertion’, ‘Logical Entailment,  ‘Prediction’, ‘Statistical Association’, etc.

Agent Type: the type of agent that generated the statement expressed in an edge (see #12)
a. e.g. 'Manual Agent', 'Automated Agent', 'Computational Model', 'Text-Mining Agent', etc.

Supporting Evidence Type(s):  the types of information / data was used as evidence in generating the statement expressed in an Edge
a. e.g. ‘experimental data’, ‘clinical data’, ’sequence similarity data’, ‘mutant phenotype data’, etc.

Supporting Methodologies:  reasoning, analytical, or experimental methodologies that were applied in generating the stated knowledge, and/or the evidence supporting it.  t.b.d. if we want to report these at the type level, instance level, or linkouts to free-text descriptions.
a. examples of type level method info: . 'rule-based graph inference', 'unsupervised machine learning', 'chi-squared analysis', 'hidden markov model', 'electron microscopy', 'yeast-two-hybrid assay' etc.
b. examples of instance level method info: 2015 ACMG Variant Interpretation Guidelines, ClinGen SOP for Gene Validity Curation,  ARAGORN Rule-Mining Prediction algorithm, ICEES correlation analysis pipeline
c. examples of descriptions: see content of Translator Resource Wiki Pages, e.g. for Improving Agent

Edge Confidence Score(s): qualitative terms and/or quantitative values reflecting how confident an agent is in the veracity of the specific statement expressed an Edge
a. qualitative scores may include things like  'definitive,' 'possible', 'unlikely', or
'high confidence', 'medium confidence', 'low confidence'
b. quantitative scores will likely be scaled between 0 and 1 (e.g. '0.998', '0.032')
c. t.b.d. if/how we will normalize confidence scores, and if scores for Statements of different Knowledge Types will be directly comparable or evaluated on separate scales or only in comparison to other statements in the same category.

Notes:

These AAG properties would be implemented as Association Slots (aka Edge Properties) in the Biolink Model.
Where relevant, enumerations would be created in Biolink as well, to constrain permissible values for consistent data entry, and provide a central location to clearly define each value.
More detailed representation of EPC metadata will also be supported by the Biolink model - to complement / extend the superficial view provided by the AAG fields.
In TRAPI, this information could be captured using Edge Attributes keyed on these Biolink edge properties, alongside other Edge metadata. However, we might consider defining dedicated named properties that hang directly from an Edge object in the TRAPI schema -  which would reflect their importance, and promote their visibility / parsability.
In the UI, these AAG properties would be prominently displayed for each Edge or Result it returns to users- providing a high level understanding of supporting EPC, and allowing filtering / navigation down to Results of most interest/relevance. More detailed EPC would also be reported where provided by sources, and accessible to users upon deeper exploration of selected answers.

Examples of how AAG properties can tell a high level story about a given Edge: https://docs.google.com/document/d/1ESnpiPx_J2EmpsR8K6Q8IVROGfahbFOPF1XLTaM1YNQ/edit#heading=h.90lu494u3a11


RoleManager, setPosition is missing but getPosition exists

General Troubleshooting

[x] I have checked for similar issues.
[x] I have updated to the latest JDA version.
[x] I have checked the branches or the maintainers' PRs for upcoming features/bug fixes.

Issue
The RoleManager.setPosition(int) is absent! I am not sure if this is a bug or a feature request!
Issue Type

[x] Bug Report
[x] Feature Request
[x] Not sure

Description
There is no RoleManager.setPosition(int) method like in TextChannel, VoiceChannel and Category but a getPosition() in Role class!

Since setting positions needs knowledge/manipulations of all other roles, you need to modify them via GuildController#modifyRolePositions()

Discord does not support setting arbitrary positions on roles.


Adding items doesn't trigger mounted/created

Hi! First of all, just wanted to say thanks so much for creating this library, it works amazingly well and it's solved a lot of my problems. That said, I've discovered that when you add a new item to the items array, while the array is updated and the output changes, the added items never fire a mounted or created event until the element is scrolled out of view and then in again (along with all the others).
Is there a way to force this behaviour? I need newly added items to call one of their internal component functions when they're first loaded into view.
Thanks again!

I've done some further research into this and it seems like the last item in the array gets mounted, where as I'm presuming the others are recycled somehow.

I've solved this problem! I will leave the solution here for anyone who comes after me...
Because the components are recycled, there's no remount/recreate event. However, the item (data) object that is passed as a prop is updated! So if you watch the prop, you can then re-issue any commands you have in the mounted action.
Thanks again for an amazing library, you really saved me!


Updating the project pages to meet requirements

rancher/dashboard#567

I don't mean to pick on this particular PR but there are multiple obvious things wrong here, some of which are literally in the screenshots provided, and this has become a recurring problem.  There needs to be more thorough testing going on and more attention paid to details (for everyone) before submitting PRs to make sure the feature:

Works
Makes sense
Looks good
Is consistent with the rest of the product.

The header saying Namespaces for a project is completely misleading.  Nothing tells me I'm looking at a project. (yes I know the parent page is currently labeled Namespaces, but that doesn't make this ok).

Project detail has no detail top with create date/etc like every other resource (and created is for some reason not a standard part of that control, even though every resource has one).  There's a chasm of whitespace shown there instead.

Project description isn't shown anywhere.  Again I don't know why this isn't a standard part of the header.

Project YAML view is broken, shows an empty box.

Project detail has a cancel button for no reason.  This has been in multiple other places as well so this isn't unique to this page but clearly nobody's ever going to fix it without being pointed out.  Cancel from the broken YAML view explodes.

Container resource limit tab shows all n/a's instead of one message that says there are none like other places are starting to do

The info text for limit isn't in a banner

Resource Quota table is missing noRows content

The project dropdown in create NS is broken (probably not by this PR, but should have seen it while testing it):

Is this really how we want to display a list of potentially many namespaces?

Editing a project causes an API call even though they're all loaded (because the id has been prefixed and doesn't match), and then ends up loading a new model, which gives you duplicate entries in the store that show up in create NS.  The namespaces in clusterExternal are one per managed cluster or project.

Namespaces belong to zero-or-one projects.  The namespace picker in Edit Project shouldn't offer namespaces that are already in some other project (or already in another entry of the editor list, really).  This add/dropdown/remove style list is not a particularly appropriate control for this usage.

If you turn off namespace grouping by project, the projects column isn't linked so the project details are unreachable.

I can edit projects but not create them?

"Container default resource limits" on namespaces are a Rancher feature and should only be shown if in isRancher mode.

@vincent99 it looks like most of the concerns you listed are actually about the detail page which is still TBD (though it should mostly look like read version of the edit page) https://github.com/rancher/dashboard/issues/567 or the namespace page which I didn't actually test or modify much since the changes were completed elsewhere by someone else https://github.com/rancher/dashboard/issues/568. I will attempt to address the others via comment. I probably shouldn't have posted the detail page screenshots and probably should have linked the individual project issue instead.

The header saying Namespaces for a project is completely misleading. Nothing tells me I'm looking at a project. (yes I know the parent page is currently labeled Namespaces, but that doesn't make this ok).

It seems that maybe it should be renamed to Projects/Namespaces like Rancher has. I didn't notice a specific call out for this and was told a couple times that we're trying to deemphasize projects so I chose to have the project breadcrumb lead back to the namespace route. Given the  context I had this choice seemed the least misleading as it brought you back to the page you would use to get to the detail page. What do you see as a good solution for this?

Project detail has no detail top with create date/etc like every other resource (and created is for some reason not a standard part of that control, even though every resource has one). There's a chasm of whitespace shown there instead.

That's definitely my fault. I'll go ahead and fix it.

Project YAML view is broken, shows an empty box.

Is there a way to currently get the yaml from clusterExternal resources? The yaml link present on the steve resource doesn't appear to be present for clusterExternal resources.

Editing a project causes an API call even though they're all loaded (because the id has been prefixed and doesn't match), and then ends up loading a new model, which gives you duplicate entries in the store that show up in create NS. The namespaces in clusterExternal are one per managed cluster or project.

I'll dig into this one more but I don't fully understand it at the moment. It seems like ultimately I should work on ensuring the extraneous call isn't made. It seems like conceptually maybe all resources should be stored and requested using fqid but maybe there's a reason that can't be done.

Namespaces belong to zero-or-one projects. The namespace picker in Edit Project shouldn't offer namespaces that are already in some other project (or already in another entry of the editor list, really). This add/dropdown/remove style list is not a particularly appropriate control for this usage.

To me it seems like the control would be appropriate as long as the options were filtered appropriately. Would you agree? If not, do you have a suggestion?

If you turn off namespace grouping by project, the projects column isn't linked so the project details are unreachable.

I'll fix this, good catch.

I can edit projects but not create them?

This is what I was told by @deniseschannon
we will not have a specific "create project" page but we will still need the ability to edit/view projects. we will incorporating being able to simply add a project into the namespace creation workflow and if you want to set thse other fancier things for project, you woul d need to edit the project to enable those features. we're trying to start downplaying project usage for new users

"Container default resource limits" on namespaces are a Rancher feature and should only be shown if in isRancher mode.

I'll go ahead and add this condition.

I'll dig into this one more but I don't fully understand it at the moment. It seems like ultimately I should work on ensuring the extraneous call isn't made. It seems like conceptually maybe all resources should be stored and requested using fqid but maybe there's a reason that can't be done.

TL;DR you shouldn't be adding the namespace to the fqid in the external case... if ( !isExternalType && schema?.attributes?.namespaced && namespace ) {.  That will have the side-effect of matching the entry already in store and not making a second request or adding a 2nd copy to the store.
"fqid"s are sort of a cheat to inject a namespace collection level between the type collection and individual resources into an API system that doesn't really know about them.  For namespaced resources the type is say configmap, and the id API returns is <namespace>/<name>.  When that is put together into a url it becomes .../v1/configmaps/<namespace>/<name> to get an individual resource, which works.  If you take off the name you can get just the configmaps for that ns (though the UI doesn't use this), and if you go one more level you get all the configmaps.
But the clusterExternal API is a special filtered view of the resources which tells you "for the given cluster Foo, what resources exist in the management cluster but are for Foo"?  Those resources are stored in mgmt cluster in a namepace for each cluster (e.g. if foo is c-a1934f then there's a namespace in mgmt called c-a1934f in it).
These views are mounted "inside" the cluster (/v1/...clusters/c-a1934f/projects) so the namespace to be looked for is already known (it's the cluster id) and is therefore made invisible to you the client and not part of the resource ID.  So it's just ``/v1/...clusters/c-a1934f/projectsfor the list and/v1/...clusters/c-a1934f/projects/p-8384a` for a single project inside that.

To me it seems like the control would be appropriate as long as the options were filtered appropriately. Would you agree? If not, do you have a suggestion?

I do not; if you have N independent dropdowns and only want to show valid unique options in each:

The available options for every dropdown depends on selected value of all the N-1 other dropdowns.
Every one has to be recomputed each time any one changes.
Each dropdown the user clicks has a slightly different list of values in it, for what will not be an obvious reason.
Changing a value in one dropdown sometimes results in one action (add to this ns) and sometimes two (remove from old ns, add to new).  Changing the existing value in an existing dropwdown doesn't sound as dangerous as clicking "remove" but has the same effect.

So I would start the bidding at: don't have management of the n:1 relationship in project edit at all.  This is what 2.x does.  You can manage what namespaces belong to a project with bulk actions in the list page (or potentially drag & drop), and you can move a single namespace to a different project from the namespace details, but not manage many namespaces in project details.
If we do still want n:1 editing on project detail, I would present the dropdown of choices only once.  The obvious choice seems like a <[v-]Select :multiple="true" ...>.  The namespaces that already belong to a project (!= this one) could show as disabled options, or be hidden entirely.  Picking up a NS that has no projectId is relatively harmless, but I definitely don't think you should be able to move a NS from [an assigned project] to [this project] in this screen.
Alternately you could do lots of checkboxes <label v-for="ns in namespaces"><input type="checkbox" value="ns.id"> {{ns.nameDisplay}}</label>
Or show static text values for the currently selected rows with a remove button on each and a single dropdown + add button to add one more (not that we have anything like this currently):
[ select a namespace | v ] [ Add ]

current ns 1  [remove]
current ns 2  [remove]
current ns 3 [remove]


Timing of single word subtitles are inaccurate

When using one word per line, the subs are off by anywhere from 1 to 7 frames on average, with some subs being off by a few seconds. By the end of a 1 minute clip, the subtitles will be off by several seconds in total. The only solution seems to be manually adjusting 80% or more of the subtitle positions, and because they aren't consistent (I.e all off by the same amount of frames), it is very time consuming to fix.
Is there any best practices for improving the timing? Does it have to do with project framerate, or the settings of the initial audio export by the script?

Yea the timings are not great even with the "improve timings" checkmark.
This plugin is still a massive improvement over the default subtitles though!

The timings are seemingly improved as the language model size is increased. If I use another program altogether that allows for the large model to be used, I can get consistent results that are accurate within a couple frames of where the words should be, and that is an acceptable tolerance.
Can we get an update that allows for the large whisper model to be used?
Currently I am getting good results (meaning no or negligeable timing or word touch up's required) by using a combination of three tools, and it should be more or less easy to combine them into this tool which already has resolve integration.


Add shapely.geometry.polygon.orient to all, bug #722

Fixes #722.

related to https://github.com/shapely/shapely/pull/1690

Any update on this?

Apologies for the slowness! Happy to provide a review now.
Shouldn't orient be added to __all__ in shapely/geometry/polygon.py instead of shapely/geometry/__init__.py?

I have added it there, I think it belongs in both.

Why does it need to be added to both modules? It's documented as part of the shapely.geometry.polygon module, since it applies to Polygon geometries. Adding orient to multiple modules is a bit confusing.

When it's documented like that I agree.
For me it was a bit confusing that Polygon, LinearRing are both added to shapely.geometry.polygon, shapely.geometry and shapely (which is the documented location).

True, Polygon and some other classes are in __all__ for a few modules. But to resolve this issue, it just needs to be defined once in shapely/geometry/polygon.py. This PR only needs to roll-back changes to shapely/geometry/__init__.py and it should be good to go.

Accidentally closed this PR by renaming the branch (thanks GitHub), so there is now a follow-up that should do exactly as required.


Stop making "project duration" field required by Wagtail system

Right now the Wagtail system enforces the "project duration" field to be incuded (along with application title, applicant name, and applicant email address).
If a user tried to create a form, and does not add this field, their work cannot be saved.
It is possible that the way the project duration question is asked in the future will need to be changed, so we're making this field no longer a Wagatil system enforced required field.

I tested, but the concept note won't save https://test-apply.opentech.fund/admin/funds/applicationform/edit/23/

Thanks for the report, must have missed a part of the code. Will fix that and then we can retest.

@fourthletter Please try on the new Hypha test site instead. It has the test, content and the same user accounts etc.
https://test-apply.hypha.app/admin/funds/applicationform/edit/23/
I will specify the test address clearly moving forward.

@frjo Thank you, please release it. I no longer have the administrative access to change the labels.

This is now on test again.

I was able to delete the duration field from forms. Works great!


✨🐛  add date formatting to API

Pull Request Description
Add a method to the API to format a partial CalDate (with an optional end CalDate) to a string.
Changes Proposed

Add method to API
Consolidate date -> string parsing into a function that can be used by both API and event helper

Additional Notes

Added a test for these alternate range strings
Moved computation of padding for days/months to static calendar data (updated when month is changed)

Outstanding questions:
You had range expressed always in "MMM D, YYYY" format. I don't know how you want to resolve consolidated range strings with the date format specified by the calendar.

Per our discussion:

Custom year names need to be added to the formatter (whoops). If custom years are enabled, the year name should always be displayed, never the number.
For range strings:

every fully defined date gets formatted
ideally, if its just a month, it gets turned into number or month name depending on format
everything else is just passed back as it is currently

Per our discussion:
1. Custom year names need to be added to the formatter (whoops). If custom years are enabled, the year name should always be displayed, never the number.

I think I was already doing this:
    let startY: string = `${year}`;
    if (useCustomYears) {
        startY = years[year - 1].name;
    }

2. For range strings:

every fully defined date gets formatted
✅
ideally, if its just a month, it gets turned into number or month name depending on format
everything else is just passed back as it is currently

test/event.parseAltFormat.test.ts has the output..


A question/suggestion - constant letters for buffers

I think the alphabets keep on changing for a buffer. Once a buffer is assigned a letter, it mustn't change until it is closed. This way, i can remember the key's for the particular buffer I'm interested in.
Right now, the alphabets change and everytime I have to read the list to figure which keys to press, and reading the list takes time. I just want to go to the file in just a thought.
One suggestion would be to assign only new keys to newly opened buffers.
Before

After closing some buffers

You can see the letters have completely changed.
I know it is a big ask, but do you think it would be useful?

No this is definitely something I can allow I wanted to implent this as a option like persist_tags. Ill implement this after Im back from holidays

One alternative (I think?) would be to explicitly mark specific buffers in the list as "pinned" so they wouldn't change letter while leaving the rest to continue to update dynamically as it does now.
It would also be interesting to have the option to manually set the letter for pinned entries, and again have the other dynamic non-pinned entries just work around it.

I have actually looked into this more, and unfortunately it is an ambiguity issue, if I persist single letter tags, I will have to partition the dictionary so that prefixes don't overlap. Please correct me if I am wrong but I have not been able to find solutions out there that tag in such a way due to this ambiguity in the prefixes.
Just to be clear, e.g. we have the dictionary "abc" and open three buffers:
a foo
b bar
c baz

If I add a new buffer "billy" and try to maintain the old tags:
a foo
b bar
c baz
aa billy

Notice that now you cannot open "foo" as there is a new buffer "billy" with a longer match. This would work in neovim I think however it would only trigger the single letter tags after a timeout which is just more annoying I think. Any other ideas are appreciated

@leath-dub I can see the issue for the specific unavoidable case of switching from single-letter to multi-letter tags, but surely there is no issue for the generic case?
In other words, when a buffer is opened or closed, existing tags are not changed. New buffers simply select the first available from the dictionary of tags that are not already in use.
When the number of buffers exceeds the number for single-character tags, a character is prepended as currently to make a multi-character tag. Again tags could remain constant.
The only minor issue I can think of for the multi-character tags is that if the number of buffers drops back below the threshold to use only single characters again, snipe would continue to use multi-character tags in order to preserve the naming.
But could also be solved with the following either/both:

A mappable function reset_tags() which would recreate all tags ignoring their previous values
If the existing multi-character tags all have the same first character, they can automatically be dropped back down to single-character


Remaining imports from angular2/angular2

Moved over from https://github.com/angular/angular/issues/5951
In https://angular.io/docs/ts/latest/guide/dependency-injection.html we still got imports from angular2/angular2
@PascalPrecht ?

closed by #584


Fast scrolling in the in TextEdit with Alt key does not actually speed up the scroll if smooth scrolling is enabled

Godot version
4.0b1 (affects >=3.4)
System information
Linux/Manjaro
Issue description
#48599 added a feature to TextEdit to scroll 5x faster when the Alt key is held. This works great on TextEdits without smooth scrolling, but on those with it, instead of scrolling faster, it will simply put the "target line" further, which will take longer to scroll to.
Related/possible duplicate of: #56317
Steps to reproduce

Make a TextEdit and fill it with plenty of lines to scroll through
Scroll through it holding Alt, note the speed
Set scroll_smooth to true
Try scrolling with Alt again and note the difference in behavior.

Minimal reproduction project
No response

I don't have the time for this, but to anyone who wants to: The naughty code is in text_edit.cpp and would probably be fixed by somehow temporarily increasing v_scroll_speed to 5 times its value in the line that defines the Alt+Scroll behavior.


4.x: Refactor Linq operator unit tests into separate files/classes

This PR refactors the various operator unit tests into their separate files and allows:

locating tests of an operator by name instead of a category,
running tests of one operator instead of a group of operators.

Now the fun part. Finding out which is that 1 test that didn't run twice:

@akarnokd that could be due to the removal of some of the TFM's. We removed netcoreapp1.1, so that could account for one test depending on what the base version is.

I was verifying periodically if the test runner still has the original 3534 test listed and it still shows me that:

that could be due to the removal of some of the TFM's.

This shows 7010 as well:

Can you build it locally through the script, it should open a coverage report at the end, if it didn't decrease, it'll be good to merge.

Looks like there were changes on the master earlier and I compared against another PR probably pointing further back in time.


Add new-uuid support to trust.

new-uuid generates a uuid and an RSA 2048 keypair. It creates a CSR using the uuid in the CN. i.e. "manifest PRODUCT:" The uuid, CSR and privatekey are stored in the ~/.config/machine/trust dir.
Signed-off-by: Joy Latten<EMAIL_ADDRESS>

Thanks, good to merge once the two comments are addressed.


empty strings and nulls in column names causes data offset

When a column name is an empty string or null, looks like it's being skipped, which causes all the data to be shown incorrectly after that (with offset of 1). If column names are not allowed as empty strings or nulls perhaps it would be better to warn / error, since it 'looks' as if the graph is shown correctly, but actually it's not.
Happens on v0.4.10, reproduction code:

var x = {
    bindto: "#a",
    axis: { x: {type: "category"} },
    data: {
        columns: [
            ["x", "2014-04", "2014-05", "2014-06", "a", "2014-08", "2014-09", "2014-10"],
            ["a", null, null, null, null, null, null, "50"],
            ["b", "10", "11", "9", "2", "16", "2", "50"],
            ["c", null, null, "13", "16", "20", "5", "50"]
        ],
        x: "x"
    }
};

c3.generate(x);
x.bindto="#b";
x.data.columns[0][4] = "";
c3.generate(x);

A possible workaround until this is fixed is to title the column with whitespace.


Add php 7.3 to travis build

Thank you for contributing! 🎉

Coverage remained the same at 100.0% when pulling c4dafd127dd115769c9f3788c7eed5e9f9791341 on staabm:patch-1 into ce1d2319224544736897926abb0e1c1b1c16d14d on ramsey:master.


Further Secure Interaction with Manifest (yaml)

Background
The manifest file is meant to be in the target repo that you want to access. This way, If you are in Repo A and write in Repo B, the repo needs to have the YAML, and Repo A can get a token on the other side.
Proposed Enhancement
For added protection, it would be best to enforce branch protection to prevent modification of the yaml file. If STS is fetching the yaml from the default branch, it should also warn that the file is in a non-protected branch or not fetch if the branch is not protected. While there is some branch protection in the settings, may also want to consider using RUles for apps within the repo. It's best to have a more granular configuration in the settings. Another alternative is to use code owners in addition to branch protection. There is ongoing work by by Chainguard to add a check validating the structure of the yaml file.
P.S Idea from @fproulx in discussion with @mattmoor and @dnlfdz on 2024-05-06.

Other option could be to support cryptographic signature of the manifests so that even if they are tampered with it can be detected. But that is quite a bit more complex.


Update libz-sys to 1.0.6

Fixes a build error on OSX
Closes #3037

@bors: r+

:pushpin: Commit d971f11 has been approved by alexcrichton

@alexcrichton: no appropriate reviewer found, use r? to override

:hourglass: Testing commit d971f11 with merge 88e46e9...

:sunny: Test successful - cargo-cross-linux, cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64
Approved by: alexcrichton
Pushing 88e46e9f9ce2d3a8230c930b35ee27ae2a23c955 to master...


Could not detect cloneorg version

bin ❯ npm -v
2.14.4
bin ❯ node -v
v4.1.1
Any ideas why I'm getting this please?

I tested here with same versions and it worked correctly
~  $ npm -v
2.14.4
~  $ node -v
v4.1.1
~  $ cloneorg -v
cloneorg v0.1.1

Did you get any errors? What OS are you using? (I'm on OS X 10.10.2)

Also having this issue:
node 0.12.7
npm 2.11.3

I'm running on OSX:
~ ❯ uname -a
Darwin daemon.local 15.0.0 Darwin Kernel Version 15.0.0: Tue Sep 22 20:33:10 PDT 2015; root:xnu-3<IP_ADDRESS>.1~1/RELEASE_X86_64 x86_64
~ ❯
El Capitan Version 10.11.1 Beta (15B22c)

Ah - looks like cli version is looking in the wrong place for package.json when run from anywhere else other than install directory?

Looks like you right, I'm setting package.json with relative path, which is probably causing the issue. I'll take a look and fix soon.
Thanks for reporting that.

Just published version 0.2.2 with the fix.


Networkcloud v20240701 Stable api version - Aaz command model changes

Networkcloud v20240701 Stable api version- aaz command model changes
corresponding PR for azure-cli-extension https://github.com/Azure/azure-cli-extensions/pull/8311

@kairu-ms  can we request a review on this PR please ?


Paloma LIghtNode Sale Vyper Contracts go Multichain

As a user, I want to be able to use my liquidity on any of the Paloma target chains to purchase nodes for the node sale so that I do not have to change chains to use my liquidity to purchase a Paloma Light Node.
Acceptance Criteria

Track balance of slots available and GRAINs available on Paloma CW contract
Mint the Node NFT and the settlement when Paloma CW confirms the balance
Store all the users’ purchase information on Paloma CW Contract
Collect all funds from all chains into one address controlled by Paloma
All funds must be stored on the same address on the target chain
Taariq will provide the address for funds collection on the target chain
Target Chains:

ETH
BNB
ARB
OP
BASE
BLAST
MATIC

Test
[]  unit test
[]  integration test

step 1: user fetch the estimated price for node sale
step 2: user run the tx with that estimated value.
step 3: on paloma side, we fetch the event and check if the current amount is correct. if it’s correct,move to step 4. not, move to step 5.
step 4: mint nft function.
step 5: mint refund function. (in refund function, we need to refund USDC, not original input token)
step 6: fetch the mint nft token event (or refund event) and if that transaction failed, we need to call that function again.
@taariq


Naming issues

Whenever I download something neither season no nor episode no shows. Any way to fix this?

So you want a more informative output?
Normally something like this is shown when downloading

So you want a more informative output?
Normally something like this is shown when downloading

Yeah kinda informative , more like a simple S01E01 will help will to track the season and Episode I am doing

kk i will include this in the next update. That will probably come within the next 1 or 2 weeks. I'm currently waiting for another person who has discovered more crunchyroll api endpoints to post them so I can implement these new discoveries here

kk i will include this in the next update. That will probably come within the next 1 or 2 weeks. I'm currently waiting for another person who has discovered more crunchyroll api endpoints to post them so I can implement these new discoveries here

Another Problem I faced is when I was trying on windows it's failing to convert to mkv or MP4 , probably due to ffmpeg binary of linux. Anyway to fix it for windows?

The ffmpeg windows binary has to be in PATH or in the same directory as the crunchy downloader

The ffmpeg windows binary has to be in PATH or in the same directory as the crunchy downloader

Ok thanks , I will try and let you know , and great work

I'm facing similar issue have already put the ffmpeg binary in PATH /same directory but didn't worked. (for some reason file path end with \ file.mkv isntead of /file.mkv).
cmd i used is [ crunchy download --audio ja-JP -o "test.mkv" https://www.crunchyroll.com/darling-in-the-franxx/episode-1-alone-and-lonesome-759575 ]

Urgh ok.

I'm facing similar issue have already put the ffmpeg binary in PATH /same directory but didn't worked. (for some reason file path end with /file.mkv isntead of \file.mkv).
cmd i used is [ crunchy download --audio ja-JP -o "test.mkv" https://www.crunchyroll.com/darling-in-the-franxx/episode-1-alone-and-lonesome-759575 ]

Urgh ok. I set up a windows vm now and test it there, but this may take a while

I've created #3 for everything which is not related with the original purpose of this issue

Added in release v1.1.0


Attachments integration

Hi all, any chance we can support attachments too ?

hi @mfaizanshaikh Conversational Form supports input[type=file] here is a jsbin to illustrate the support.

thanks for the jsbin @felixnielsen


Dispatch iloc calls to getitem

[x] Tests added / passed
[x] Passes black dask / flake8 dask

Alternate solution to speeding up certain iloc calls xref #6345 #6264
This is a much smaller change and also provides a nice speedup for my simple local benchmarks:
timeseries parquet file created with dask.dataframe.demo with 4 columns and 34447680 rows
current master:
In [3]: %time len(ddf)
CPU times: user 11.8 s, sys: 1.89 s, total: 13.7 s
Wall time: 7.1 s
Out[3]: 34447680

In [4]: %time len(ddf)
CPU times: user 10.1 s, sys: 1.6 s, total: 11.7 s
Wall time: 5.2 s
Out[4]: 34447680

this branch:
In [3]: %time len(ddf)
CPU times: user 5.9 s, sys: 777 ms, total: 6.68 s
Wall time: 3.79 s
Out[3]: 34447680

In [4]: %time len(ddf)
CPU times: user 4.01 s, sys: 504 ms, total: 4.51 s
Wall time: 1.72 s
Out[4]: 34447680

This PR may win the compute-hours-saved / lines-of-code contest

Can you add a couple sanity tests that the result of a df.iloc[:, ...] is correct with duplicate columns?

df.iloc[:, 0] with duplicate columns and different values for the columns with the same name
df.iloc[:, list_of_integers] selecting some duplicates and some non-duplicate columns
df.iloc[:, negative_slice]

Added these tests with duplicate columns and without.

Thanks Gil


Navbar and Header changes color by their own

Describe the bug
the navbar won't let me change its color to my background color but every other color is possible ?_? but after a white it go back to white.
Desktop (please complete the following information):

Windows
brave
newest

@1eurs are u using the latest version of the library? If yes, you need to change your sidebar color by using the theme system.

@1eurs have you had the chance to create a reproduction of this issue?

@1eurs I'm going to close this since we haven't heard back, but please feel free to reopen if you can't use a theme on the Navbar to do what you want. You can find an example of adding a theme here:
https://github.com/tulupinc/flowbite-next-starter/blob/main/src/theme.ts
https://github.com/tulupinc/flowbite-next-starter/blob/main/src/pages/_app.tsx


Car Movement

As a manager I want the car to be able to move around carrying the mails in all directions in the usual terrain.

Acceptance criteria:  There should be functions which allow the manager to steer the car forward, backward, left and right.

This also should be for the next sprints after having functional buttons linked to the arduino

This issue has been changed after we reworked our user stories so it's not useful for our project. The issue that replaced it is car direction issue#24

Fixing car movement

Car Movement Fix


cadence: auth support

Is your feature request related to a problem? Please describe.
We should communicate over a secure and authenticated channel between pipeline and cadence.

https://github.com/square/ghostunnel

Cadence team targets the release of TLS support by the end of August.
https://github.com/uber/cadence/issues/2018

That's good to know, thanks!

TLS support in Temporal:
https://github.com/temporalio/temporal/issues/304

Cadence will not receive an auth layer. It will be available in Temporal.


feat: Extend HealthChecks to allow AzureCosmosDbHealthCheckOptions t…

Closes #417
Adds an overload to the HealthChecksBuilderExtensions to allow AzureCosmosDbHealthCheckOptions to be provided and bypass assembly scanning to look for IItem container names.

@IEvangelist On it. 👍

@IEvangelist Looks like there's a failed workflow run on main after this was merged, something to do with the docs site.
Is that something you can help with?
https://github.com/IEvangelist/azure-cosmos-dotnet-repository/actions/runs/8189444429

I fixed it, thanks though @philip-reed - your changes will be part of the 8.1.4 NuGet, should be live in about 15 mins: https://github.com/IEvangelist/azure-cosmos-dotnet-repository/releases/tag/8.1.4
Thanks again!


Add theme synchronize command

This PR adds a command to automatically synchronize the theme-config in the database with the ones from the Theme.php.
Description
Please describe your pull request:

Why is it necessary? User is wondering why there is a field missing from the Theme-Config – He doesn't know he has to reload the config
What does it improve? Automatic Theme-Deployment. Now there's a command for adding the missing fields
Does it have side effects? No

Questions
Answers

BC breaks?
no

Tests pass?
yes

How to test?
run bin/console sw:theme:synchronize

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-17571.
Please use this issue to track the state of your pull request.

Hm, the hook didn't trigger. I close this issue as it has been merged into 5.3.


Possession of different Pawns can sometime fail

Description
When a client switches pawn possession, server and/or client RPCs can get indefinitely queued, sometimes resulting in a client soft-lock.
Internal ticket
UNR-1816

Resolved in 0.8.1 and later.

This was fixed by: https://github.com/spatialos/UnrealGDK/pull/1284


re-add functions required by client_golang

Adding back some functions that were removed during refactoring.
These are needed by client_golang for backwards compatibility.
They are now marked deprecated and can be removed once there
are no more dependencies on them.
Related to PR #162

CC @peterbourgon

@pgier Thanks for the quick turn around!

I don't get the urgency. Things change, depending code breaks. You need to account for that either way. There are solutions to handle that.. That being said, sounds reasonable to re-add.

@pgier also thanks for tagging v0.0.1. For the transition to the non-deprecated types, it would be handy to also have a version tag after this PR (where both new and old are present). Essentially, just tagging current head with v0.0.2 would do.


[BUG] CI failure in Build and Test k-NN Plugin on MacOS

What is the bug?
[  4%] Building CXX object external/faiss/faiss/CMakeFiles/faiss.dir/AutoTune.cpp.o
In file included from /Users/runner/work/k-NN/k-NN/jni/external/faiss/faiss/AutoTune.cpp:25:
In file included from /Users/runner/work/k-NN/k-NN/jni/external/faiss/faiss/IndexHNSW.h:17:
/Users/runner/work/k-NN/k-NN/jni/external/faiss/faiss/impl/HNSW.h:14:10: fatal error: 'omp.h' file not found
#include <omp.h>
         ^~~~~~~
1 error generated.
make[3]: *** [external/faiss/faiss/CMakeFiles/faiss.dir/AutoTune.cpp.o] Error 1
make[2]: *** [external/faiss/faiss/CMakeFiles/faiss.dir/all] Error 2
make[1]: *** [CMakeFiles/opensearchknn_faiss.dir/rule] Error 2
make: *** [opensearchknn_faiss] Error 2

Task :buildJniLib FAILED
FAILURE: Build failed with an exception.

How can one reproduce the bug?
Failure example: Build and Test k-NN Plugin on MacOS (11)
What is the expected behavior?
No failure
What is your host/environment?
Main branch and 2.x branch
Do you have any screenshots?
N/A
Do you have any additional context?
N/A

https://github.com/actions/runner-images?tab=readme-ov-file#available-images shows macos-latest as being an ARM platform recently.
Related issue: https://github.com/actions/runner-images/issues/9741


Symlinked Directories Cannot be Deleted in Windows

Trying to delete a symlinked directory on Windows results in an EACCESS error.
It looks like this is the same issue as CHEF-3960.
I have tested Chef 12.5 on Windows Server 2008 R2.
With this resource:
directory 'C:/Temp/B' do
  action :create
end
link "C:/Temp/A" do
  to 'C:/Temp/B'
end
link "C:/Temp/A" do
  action :delete
end

When running Chef the following is logged:
[2015-10-19T12:57:48+01:00] INFO: Auto-discovered chef repository at C:/temp/Chef
[2015-10-19T12:57:48+01:00] INFO: Started chef-zero at chefzero://localhost:8889 with repository at C:/temp/Chef
  One version per cookbook

Starting Chef Client, version 12.5.1
[2015-10-19T12:57:53+01:00] INFO: *** Chef 12.5.1 ***
[2015-10-19T12:57:53+01:00] INFO: Chef-client pid: 1436
[2015-10-19T12:58:09+01:00] INFO: Setting the run_list to [#<Chef::RunList::RunListItem:0x4284bd0 @version=nil, @type=:r
ecipe, @name="test">] from CLI options
[2015-10-19T12:58:09+01:00] INFO: Run List is [recipe[test]]
[2015-10-19T12:58:09+01:00] INFO: Run List expands to [test]
[2015-10-19T12:58:09+01:00] INFO: Starting Chef Run for <hostname>
[2015-10-19T12:58:09+01:00] INFO: Running start handlers
[2015-10-19T12:58:09+01:00] INFO: Start handlers complete.
[2015-10-19T12:58:09+01:00] INFO: HTTP Request Returned 404 Not Found: Object not found:
resolving cookbooks for run list: ["test"]
[2015-10-19T12:58:09+01:00] INFO: Loading cookbooks<EMAIL_ADDRESS>Synchronizing Cookbooks:
  - test (0.1.0)
Compiling Cookbooks...
[2015-10-19T12:58:09+01:00] WARN: Cloning resource attributes for link[C:/Temp/A] from prior resource (CHEF-3694)
[2015-10-19T12:58:09+01:00] WARN: Previous link[C:/Temp/A]: c:/chef/local-mode-cache/cache/cookbooks/test/recipes/defaul
t.rb:10:in `from_file'
[2015-10-19T12:58:09+01:00] WARN: Current  link[C:/Temp/A]: c:/chef/local-mode-cache/cache/cookbooks/test/recipes/defaul
t.rb:13:in `from_file'
Converging 3 resources
Recipe: test::default
  * directory[C:/Temp/B] action create[2015-10-19T12:58:09+01:00] INFO: Processing directory[C:/Temp/B] action create (t
est::default line 7)
[2015-10-19T12:58:09+01:00] INFO: directory[C:/Temp/B] created directory C:/Temp/B

    - create new directory C:/Temp/B
  * link[C:/Temp/A] action create[2015-10-19T12:58:09+01:00] INFO: Processing link[C:/Temp/A] action create (test::defau
lt line 10)
[2015-10-19T12:58:09+01:00] INFO: link[C:/Temp/A] created

    - create symlink at C:/Temp/A to C:/Temp/B
  * link[C:/Temp/A] action delete[2015-10-19T12:58:09+01:00] INFO: Processing link[C:/Temp/A] action delete (test::defau
lt line 13)

    ================================================================================
    Error executing action `delete` on resource 'link[C:/Temp/A]'
    ================================================================================

    Errno::EACCES
    -------------
    Permission denied - C:/Temp/A

    Resource Declaration:
    ---------------------
    # In c:/chef/local-mode-cache/cache/cookbooks/test/recipes/default.rb

     13: link "C:/Temp/A" do
     14:   action :delete
     15: end

    Compiled Resource:
    ------------------
    # Declared in c:/chef/local-mode-cache/cache/cookbooks/test/recipes/default.rb:13:in `from_file'

    link("C:/Temp/A") do
      action [:delete]
      retries 0
      retry_delay 2
      default_guard_interpreter :default
      to "C:/Temp/B"
      link_type :symbolic
      target_file "C:/Temp/A"
      declared_type :link
      cookbook_name "test"
      recipe_name "default"
    end

[2015-10-19T12:58:09+01:00] INFO: Running queued delayed notifications before re-raising exception

Running handlers:
[2015-10-19T12:58:09+01:00] ERROR: Running exception handlers
Running handlers complete
[2015-10-19T12:58:09+01:00] ERROR: Exception handlers complete
Chef Client failed. 2 resources updated in 21 seconds
[2015-10-19T12:58:09+01:00] FATAL: Stacktrace dumped to c:/chef/local-mode-cache/cache/chef-stacktrace.out
[2015-10-19T12:58:09+01:00] FATAL: Errno::EACCES: link[C:/Temp/A] (test::default line 13) had an error: Errno::EACCES: P
ermission denied - C:/Temp/A

Using irb,
irb(main):001:0> File.delete('C:/Temp/A')
Errno::EACCES: Permission denied - C:/Temp/A
        from (irb):1:in `delete'
        from (irb):1
        from C:/opscode/chef/embedded/bin/irb:12:in `<main>'

whereas
irb(main):002:0> Dir.delete('C:/Temp/A')
=> 0

File.delete is called here:
https://github.com/chef/chef/blob/master/lib/chef/provider/link.rb#L142-L149
I guess we need to check if the target is a directory, and call Dir.delete instead? (but only on Windows?)

ping @chef/client-windows

I'd bed that Dir.delete also works on linux. So we could have a single code path apply to both.

@mwrock Dir.delete does not work on Linux for any kind of link. It works fine with File.delete. I have verified this and fixed here.

This is fixed by #5234 and will be in the next release.


forgot some tests

Sorry about this, forgot to push these two files with some more test coverage

Test this

circleci test


feat: Notes RSS

Hi there!
I've enjoyed reading your notes and I thought it'd be nice to have a RSS feed for them as well :). At the moment, the script relies on the notes being separated by <article> tags, if you ever stop doing that it should be easy to modify the script to split notes looking for h2 tags (or /##[^#].*\n/ in markdown). It's also getting everything from a single file, so if you ever start doing pagination it'll break as well. Hopefully this can serve you for a long time until then :).
I also found some typos, if you write your notes and posts in VSCode I suggest that your install this extension, as a non-native english speaker myself I find it really useful: Code Spell Checker.
I've also added a couple of links to the <head>, this allows browsers to show links to the feeds in the navigation bar (and I think that's how many readers find feeds if you type a site url, but I'm not 100% sure about that). You'll probably want to add the links to the notes RSS somewhere on the notes page as well, but I didn't do it because I'm not sure how you'd want it.

Thanks a lot!

It works great, thanks again. I have moved the entry from /note-feed.xml to https://antfu.me/notes/feed.xml fyi.


Wrong response codes for check notification

Hello!
According to documentation: https://developers.cloudpayments.ru/#check
11 code means AccountId is wrong. However enum ResponseCodes states:
export declare enum ResponseCodes {
    SUCCESS = 0,
    UNKNOWN_INVOICE_ID = 10,
    INVALID_AMOUNT = 11,
    REJECTED = 13,
    EXPIRED = 20
}

I guess 11 should be INVALID_ACCOUNT_ID, while 12 should be INVALID_AMOUNT.
Thank you

Hi, it seems like what the codes have been changed. I think these changes may breaks something and i have published it in new major version.


[citrix-app-desktops] Add 2203 CU1

https://docs.citrix.com/en-us/citrix-virtual-apps-desktops/2203-ltsr/whats-new/cumulative-update-1.html

Instead of tracking CUs in the release cycle, split that properly.


"Failed to load plugin", when trying to enable

Big fan of the concept! Just found out about your plugin from the newsletter, and installed it via BRAT; but when I go to enable it in the list of Community plugins it tells me that it "failed to load plugin".
I also tried downloading the zip directly and put it in the plugins folder with the same result.
This occurs both in Legacy mode and the newer one.
I'm on version 0.13.23 (installer version 0.12.15)
Thanks :)

Can you open the developer console (ctrl/shift/i or cmd/option/i) and let me know if there are any errors.

When I try and enable the plugin, the console says this:

That'd be cool, but no rush, it's the weekend haha :)

I'm having this issue too

Still having this issue even though it's closed. Don't wanna open a new issue though...

What is your OS, Obsidian version, and Obsidian installer version?

I need some help😂😂

@qianyingzhuyuan not the creator of this plugin, but Excalidraw is an entirely different plugin


LDAP user with RBAC role gets Failure unable to update endpoint status

Bug description
A user was created in Native LDAP, assigned to an LDAP group, auto-provisioned & assigned to their (manually created) team in Portainer, which is assigned an endpoint-admin RBAC role gets:
Failure unable to update endpoint status after logging in and clicking the endpoint they should have access to.
EDIT: Occurs with AD LDAP also
Expected behavior
Clicking the endpoint the user has access to should give no errors.
Portainer Logs
2020/01/28 02:25:53 http error: Unauthorized (err=Unauthorized) (code=403)
2020/01/28 02:25:53 http error: Permission denied to access endpoint (err=Authorization required for this operation) (code=403)
2020/01/28 02:25:53 http error: Unauthorized (err=Unauthorized) (code=403)
2020/01/28 02:25:53 http error: Access denied (err=Authorization required for this operation) (code=403)
2020/01/28 02:25:56 http error: Unauthorized (err=Unauthorized) (code=403)
2020/01/28 02:25:56 http error: Permission denied to access endpoint (err=Authorization required for this operation) (code=403)
2020/01/28 02:25:56 http error: Unauthorized (err=Unauthorized) (code=403)
2020/01/28 02:25:56 http error: Access denied (err=Authorization required for this operation) (code=403)
2020/01/28 02:27:52 http error: Unauthorized (err=Unauthorized) (code=403)
2020/01/28 02:27:52 http error: Permission denied to access endpoint (err=Authorization required for this operation) (code=403)
2020/01/28 02:27:52 http error: Unauthorized (err=Unauthorized) (code=403)
2020/01/28 02:27:52 http error: Access denied (err=Authorization required for this operation) (code=403)
2020/01/28 02:28:16 http error: Unauthorized (err=Unauthorized) (code=403)
2020/01/28 02:28:16 http error: Permission denied to access endpoint (err=Authorization required for this operation) (code=403)
2020/01/28 02:28:16 http error: Unauthorized (err=Unauthorized) (code=403)
2020/01/28 02:28:16 http error: Access denied (err=Authorization required for this operation) (code=403)
2020/01/28 02:28:48 http error: Invalid JWT token (err=Invalid JWT token) (code=401)
2020/01/28 02:28:53 http error: Unauthorized (err=Unauthorized) (code=403)
2020/01/28 02:28:53 http error: Permission denied to access endpoint (err=Authorization required for this operation) (code=403)
2020/01/28 02:28:53 http error: Unauthorized (err=Unauthorized) (code=403)
2020/01/28 02:28:53 http error: Access denied (err=Authorization required for this operation) (code=403)
2020/01/28 02:34:57 http error: Unauthorized (err=Unauthorized) (code=403)
2020/01/28 02:34:57 http error: Permission denied to access endpoint (err=Authorization required for this operation) (code=403)
2020/01/28 02:34:57 http error: Unauthorized (err=Unauthorized) (code=403)
2020/01/28 02:34:57 http error: Access denied (err=Authorization required for this operation) (code=403)

Steps to reproduce the issue:

Have existing instance with previously configured AD & RBAC
Setup Native LDAP, create a user e.g. ldapand a group e.g. dev  and assign them to the group
Configure Portainer for native LDAP with auto-provisioning
Log in with Native LDAP user and see no endpoints
Log out and login as admin
Create matching team in Portainer as the one defined in Native LDAP server
Assign team as endpoint admin
Log in as user and see endpoint then click endpoint
Receive error

GET /api/endpoints/1/docker/_ping results in:
{
   "message":"Permission denied to access endpoint",
   "details":"Authorization required for this operation"
}

GET /api/endpoints/1 params:{"Status":2} results in:
{
   "message":"Access denied",
   "details":"Authorization required for this operation"
}

Deleting user from Portainer and logging in again resolves the issue
Adding a new endpoint resolves the issue
Adding a new ldap user and group to ldap server and following above steps causes issue again across both endpoints
New user auto-provisioned => Team created & given access to endpoint in portainer => bug
Team created & given access to endpoint in portainer => New user auto-provisioned => fine
Team created in portainer => New user auto-provisioned => access assigned to endpoint => fine
Does not occur with RBAC disabled
Also occurs against endpoint-groups with RBAC

Technical details:

Portainer version: 1.23.0
Docker version (managed by Portainer): 19.03.05
Platform (windows/linux): Linux
Command used to start Portainer (docker run -p 9000:9000 portainer/portainer): portainer-agent-stack
Browser: FireFox, Chrome

Additional context
Result of GET /api/users/3:
{
   "Id":3,
   "Username":"ldap",
   "Role":2,
   "PortainerAuthorizations":{
      "PortainerDockerHubInspect":true,
      "PortainerEndpointExtensionAdd":true,
      "PortainerEndpointExtensionRemove":true,
      "PortainerEndpointGroupList":true,
      "PortainerEndpointInspect":true,
      "PortainerEndpointList":true,
      "PortainerExtensionList":true,
      "PortainerMOTD":true,
      "PortainerRegistryInspect":true,
      "PortainerRegistryList":true,
      "PortainerTeamList":true,
      "PortainerTemplateInspect":true,
      "PortainerTemplateList":true,
      "PortainerUserInspect":true,
      "PortainerUserList":true,
      "PortainerUserMemberships":true
   },
   "EndpointAuthorizations":{

   }
}

Result of GET /api/endpoints?limit=1&start=0:
[
   {
      "Id":1,
      "Name":"primary",
      "Type":2,
      "URL":"tcp://tasks.agent:9001",
      "GroupId":2,
      "PublicURL":"",
      "TLSConfig":{
         "TLS":true,
         "TLSSkipVerify":true
      },
      "Extensions":[

      ],
      "AzureCredentials":{
         "ApplicationID":"",
         "TenantID":"",
         "AuthenticationKey":""
      },
      "Tags":[

      ],
      "Status":1,
      "Snapshots":[
         {
            "Time":1580179489,
            "DockerVersion":"19.03.5",
            "Swarm":true,
            "TotalCPU":1,
            "TotalMemory":6250795008,
            "RunningContainerCount":3,
            "StoppedContainerCount":0,
            "VolumeCount":2,
            "ImageCount":5,
            "ServiceCount":3,
            "StackCount":2,
            "SnapshotRaw":{
               "Containers":null,
               "Volumes":null,
               "Networks":null,
               "Images":null,
               "Info":null,
               "Version":null
            }
         }
      ],
      "UserAccessPolicies":{

      },
      "TeamAccessPolicies":{
         "4":{
            "RoleId":1
         }
      },
      "EdgeKey":"",
      "AuthorizedUsers":null,
      "AuthorizedTeams":null
   }
]

Result of GET /api/users/3/memberships:
[
   {
      "Id":2,
      "UserID":3,
      "TeamID":4,
      "Role":2
   }
]

Result of GET /api/endpoints?limit=100&start=0:
[
   {
      "Id":1,
      "Name":"primary",
      "Type":2,
      "URL":"tcp://tasks.agent:9001",
      "GroupId":2,
      "PublicURL":"",
      "TLSConfig":{
         "TLS":true,
         "TLSSkipVerify":true
      },
      "Extensions":[

      ],
      "AzureCredentials":{
         "ApplicationID":"",
         "TenantID":"",
         "AuthenticationKey":""
      },
      "Tags":[

      ],
      "Status":1,
      "Snapshots":[
         {
            "Time":1580179489,
            "DockerVersion":"19.03.5",
            "Swarm":true,
            "TotalCPU":1,
            "TotalMemory":6250795008,
            "RunningContainerCount":3,
            "StoppedContainerCount":0,
            "VolumeCount":2,
            "ImageCount":5,
            "ServiceCount":3,
            "StackCount":2,
            "SnapshotRaw":{
               "Containers":null,
               "Volumes":null,
               "Networks":null,
               "Images":null,
               "Info":null,
               "Version":null
            }
         }
      ],
      "UserAccessPolicies":{

      },
      "TeamAccessPolicies":{
         "4":{
            "RoleId":1
         }
      },
      "EdgeKey":"",
      "AuthorizedUsers":null,
      "AuthorizedTeams":null
   }
]

LDAP config:

@deviantony any ETA to get this one fixed? This is showstopper for us which why I needed to downgrade our production environment all to way back to 1.19.1 (last version where external resources are public and access control can be done on endpoint level).
I also wonder that how it is possible that this kind of major bug have passed Portainer release testing?

Hey there @olljanat this wasn't included in 1.23.1 due to the push to reduce the required API version - reverting the version change in release (v1.23) in December 9th 2019 which breaks some functionality in Portainer. Current focus now is to release 1.23.2 ASAP which will bring a fix for this LDAP issue.
Our release testing is completed manually, and as such we currently cover the most common test cases. As you can imagine with RBAC, LDAP, OAuth and ownership, different combinations of these features as well as the steps taken in the test case can lead to quite complex scenarios that can arise and many many many combinations.
This bug was previously missed in release testing as it is triggered by the specific case where the admin chooses to login and auto-provision the user BEFORE creating the team in Portainer that they are then assigned to. This scenario is now part of our release test plan.


Update to Vaadin 23.0.0

 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.


Fatal error: Class 'evseevnn\Cassandra\Database' not found in

I'm starting try use this lib, but it have that error at index.php file
My php is 5.5
My code here:
$nodes = [
<IP_ADDRESS>'
];
try {
// Connect to database.
$database = new \evseevnn\Cassandra\Database($nodes, 'demodb');
$database->connect();
Please tell me how to fix!
Thanks

Hi, I am new to cassadra and searching for the php driver and got this one after implementing this i also get the same error! I tries to write an auto loader  using spl_autoload_register() but failed to meet the driver requirement  and sudenly i found "Unavailable exception" in the issue section of this project and i sure that additional files required(vendor directory, use composer to get the directory)

After composer install command you will get a "vendor" directory then use this code

namespace evseevnn;   include_once(DIR.DIRECTORY_SEPARATOR."vendor".DIRECTORY_SEPARATOR."autoload.php");
$nodes = [
    '<IP_ADDRESS>',
    '<IP_ADDRESS>:9042' => [
        'username' => '<user_name>',
        'password' => '<password>'
    ]
];

// Connect to database.
$database = new Cassandra\Database($nodes, '<keyspace>');
$database->connect();
// Run query.
$users = $database->query('SELECT * FROM "test"');
var_dump($users);


fix #890: add cloudera manager integration support for gearpump

Add cloudera manager integration support.
Currenlty, general parameter setting is not working (but auto set master address based on role selection working).

Not understand why HistoryMetricsServiceSpec will fail:
[info] HistoryMetricsServiceSpec:
[info] SingleValueMetricsStore
[info] - should retain metrics and expire old value *** FAILED ***
[info]   5 did not equal 3 (HistoryMetricsServiceSpec.scala:68)
[info] MinMaxMetricsStore
[info] - should retain min and max metrics data and expire old value
[info] HistogramMetricsStore
[info] - should retain corse-grain history and fine-grain recent data
[info] MeterMetricsStore
[info] - should retain corse-grain history and fine-grain recent data
[info] CounterMetricsStore
[info] - should retain corse-grain history and fine-grain recent data
[info] HistoryMetricsService
[info] - should retain lastest metrics data and allow user to query metrics by path

The UT failure is not relevant to this PR. It has been addressed by another PR #894.

@whjiang
Would you want to host this as a standalone project at github.com/gearpump?

Close this as we will do this in repo https://github.com/gearpump


Back to top position

What happened?
There is need to positioned back to top button it overlapped to above button.

How can we reproduce this bug?
By giving some padding to the back to top button .
Desktop Information (Optional)
No response
Urgency (Optional)
High priority
Record

[X] I agree to follow this project's Code of Conduct
[X] I have checked the existing issues
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

Too easy issue, just bottom property need to be changed


Docs: Managed service accounts disclaimer and config option

What this PR does / why we need it:
This PR documents the managed_service_accounts_enabled configuration option.
Following https://github.com/grafana/grafana/issues/91844, I thought we could make it extra clear that we only support single organization setups.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Associated with: https://github.com/grafana/grafana/pull/93883

I'll GA the externalServiceAccounts feature then re-open this one for review without the feature toggle line.


Don't pull in non-required default features of chrono

This saves a dependency on time 0.1; multiple incompatible
versions of time exist (0.1, 0.2, 0.3 soon) and tend to
cause duplicate dependencies.

Travis failure is due to the release of chrono 0.4.10 (last year), which has a higher MSRV than yasni currently does (since a patch that added no-std support).


Information for maximum or minimum values of some attributes

Description
I can't find information for maximum value for zoom.
Steps to Reproduce
  var map = L.Wrld.map("map", "api key", {
    center: [51.517327, -0.120005],
    zoom: 22
  });

Expected behavior:
To be closer to the ground.
Actual behavior:
I think that 20 is maximum to the ground.
Reproduces how often:
Always. :)
Additional Information

You're correct, the current maximum zoom level is 20.   I'll leave this ticket open until we can update the documentation.


readme error

Hello!
seems the readme's for a few of the examples are the same and also don't match the actual example.
Example: https://github.com/aws-samples/serverless-app-examples/tree/master/python/kinesis-firehose-process-record-python
readme is talking about a Slack slash command. Happy to update the readme once I've implemented the solution?

@francalovescakes Thanks for bringing this to our attention. If you'd like to contribute the fix, we'd be happy to review your PR! 😊

Few of them don't even have READMEs

+1 kinesis-firehose-syslog-to-json has the readme for Slack.


Refactor filters

Which issue(s) this PR fixes

Fixes None
Additional comments

Gather enums in the same module to avoid circular imports
Extract filters from the Dag class
Refactor filter to use the strategy pattern
Provide tests for the filters

Agreements

[X] I hereby declare this contribution to be licensed under the Apache License Version 2.0, January 2004.
[X] I hereby agree to grant TOSIT a copyright license to use my contributions.

If not specified, the filter-type does not appear in output anymore compared to previously. Check option below.
master branch
(venv) sbaume-consultant01@M093-1309930:~/Documents/tdp/tdp-ops$ tdp plan dag --filter ranger_admin_config --preview
2024-02-23 17:21:50,336 - INFO - root - Logging is configured.
[WARNING]: Could not match supplied host pattern, ignoring: kafka_broker
[WARNING]: Could not match supplied host pattern, ignoring: zk_kafka_client
[WARNING]: Could not match supplied host pattern, ignoring: zk_kafka
[WARNING]: Could not match supplied host pattern, ignoring: kafka_client
[WARNING]: Could not match supplied host pattern, ignoring: zk_kafka_edge
[WARNING]: Could not match supplied host pattern, ignoring: airflow
Creating a deployment plan for the whole DAG.
Deployment details
id
options          {'filter_type': 'GLOB', 'filter_expression': 'ranger_admin_config'}
start_time
end_time
state            PLANNED
deployment_type  DAG

Operations
deployment_id      operation_order  operation            host    extra_vars    start_time    end_time    state    logs
---------------  -----------------  -------------------  ------  ------------  ------------  ----------  -------  ------
                                 1  ranger_admin_config                                                  PLANNED

this branch:
(venv) sbaume-consultant01@M093-1309930:~/Documents/tdp/tdp-ops$ tdp plan dag --filter ranger_admin_config --preview
2024-02-23 17:31:05,135 - INFO - root - Logging is configured.
[WARNING]: Could not match supplied host pattern, ignoring: kafka_broker
[WARNING]: Could not match supplied host pattern, ignoring: zk_kafka_client
[WARNING]: Could not match supplied host pattern, ignoring: zk_kafka
[WARNING]: Could not match supplied host pattern, ignoring: kafka_client
[WARNING]: Could not match supplied host pattern, ignoring: zk_kafka_edge
[WARNING]: Could not match supplied host pattern, ignoring: airflow
Creating a deployment plan for the whole DAG.
Deployment details
id
options          {'filter_expression': 'ranger_admin_config'}
start_time
end_time
state            PLANNED
deployment_type  DAG

Operations
deployment_id      operation_order  operation            host    extra_vars    start_time    end_time    state    logs
---------------  -----------------  -------------------  ------  ------------  ------------  ----------  -------  ------
                                 1  ranger_admin_config                                                  PLANNED


CIV-14290 added publish instructions so WA

JIRA link (if applicable)
CIV-14290
Change description
CCD changes for WA part
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[X] No

Is Create_SDO_DJ missing here?

Definitely right, STANDARD_DIRECTION_ORDER_DJ was missing


Attempting to chain multiple parent hydrates together across tables does not work

Assuming I have the following tables:

Table A

ListConfig has a Hydrate using ListResourceA

Table B

ListConfig has a ParentHydrate using ListResourceA and Hydrate using ListResourceB

Table C

ListConfig has a ParentHydrate using ListResourceB and Hydrate using ListResourceC

If I query Table C, I get an error like Error: rpc error: code = Internal desc = hydrate function ListResourceB failed with panic interface conversion: interface {} is nil, not *service.ResourceB (SQLSTATE HV000)
Is this expected behaviour?

How about renaming ParentHydrate into ParentTable  to take a Table instead of directly an HydrateFunc?
Parent hydrate functions could then be automatically discovered and executed as needed, wouldn't they?