Refactor/predicates include exclude

Purpose
Implements #313. With this implementation, one can specifies a predicates_blacklist of predicates to exclude from the set of registered predicates that the Interpreter can use. In addition, theregistered_predicates parameter is renamed to predicates_whitelist for consistency.
Implementation details

The blacklist is always applied after the whitelist to ensure that blacklisted predicates prevail on whitelisted predicates.
The predicates are specified as a list of <predicate_name>/[<arity>] strings. If a predicate name without arity is included in this list, then all predicates with that name will be considered regardless of arity.

Consideration
⚠ This PR introduces a breaking change due to the renaming of a property in the proto. The code that performs the migration v2 to v3 is included in the PR.
Todo

[x] specify proto
[x] implement feature
[x] add tests
[x] implement migration

@bdeneux This is excellent! Thanks for the improvement.

All right! Thanks so much guys. ❤

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


bump: add AzureRM version 4 support

Description
Add support to AzureRM version 4.
Fixes #77

Type of Change

[ ] Non-module change (e.g. CI/CD, documentation, etc.)
[x] Azure Verified Module updates:

[x] Bugfix containing backwards compatible bug fixes

[x] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description.
[ ] The bug was found by the module author, and no one has opened an issue to report it yet.

[ ] Feature update backwards compatible feature updates.
[ ] Breaking changes.
[x] Update to documentation

Checklist

[x] I'm sure there are no other open Pull Requests for the same update/change
[x] My corresponding pipelines / checks run clean and green without any errors or warnings
[x] I did run all  pre-commit checks

Please add a test for v3. You can just copy one of the existing ones for now @tobiasehlert

hi @jaredfholgate, do you mean an example? I can't locate ant existing tests

Please add a test for v3. You can just copy one of the existing ones for now @tobiasehlert

hi @jaredfholgate, do you mean an example? I can't locate ant existing tests

Sorry, yes. Our examples are also run as end to end tests.

@jaredfholgate, now I've added an example called basic-v3 that uses version = ">= 3.7, < 4.0".

Merging into a release branch so we can run the e2e tests.

#84


encoding/json: Marshal fails silently when two fields have the same struct tag

I'm on go version 1.5.0 on Mac OS X. The same problem occurs in the playground, which right now uses go 1.5.1. json.Marshal does not appear to encode any fields that have conflicting json struct tags. For example, the following type will get marshaled to an empty json object ("{}"):
type MyStruct struct {
	A string `json:"a"`
	B int    `json:"a"`
}

See this playground example. This just bit me in a real world application with a fairly large codebase and was hard to track down.
After re-reading the documentation for json.Marshal, it appears that this behavior is consistent with the documentation. However, I would consider this a silent failure, and I would like to consider having json.Marshal return an error for this specific case.
This in contrast to embedded structs with conflicting field names or struct tags. Here's a playground example with embedded structs. In this case, json.Marshal chooses the field in the parent struct. I believe that behavior is correct and consistent. I can imagine many cases where an embedded struct will have field names which "conflict" with the parent struct. In fact, it's a pattern I have used on occasion to share common behavior and data structures.
The case I am presenting is different, because I cannot imagine sane code which would assign conflicting struct tags to two different fields in the same struct. This was clearly an error on my part and can be easily fixed. The json package should help me, and other developers who make the same mistake, discover it and fix it as quickly as possible.

I think the behavior is primarily for consistent with
conflicting struct tags at the same level in different
embedded structs. http://play.golang.org/p/syh3z4m_OX

@minux, thanks for your reply. I have looked at your example and also took the time to read through https://github.com/golang/go/issues/11006, which is more similar to this issue than I originally thought.
I understand now that both the example you provided and the original example I provided match the documented behavior for json.Marshal. I don't necessarily agree with that behavior, but I understand that it cannot be changed without breaking backwards compatibility. For reference, the relevant part of the documentation is rule 3) concerning the visibility of struct fields.

Otherwise there are multiple fields, and all are ignored; no error occurs.

If possible, I think we should consider changing this in go 2.0. It is relatively common to have conflicting field names or struct tags in embedded struct types, and I am okay with leaving behavior as is for those cases. However, having two fields with conflicting struct tags in the same struct type, as in my original example, is a blatant mistake. There is no sane reason a developer should ever do this, and the json package should help developers by returning an error when it sees it. This would require amending the documentation, but the rule is simple enough to express in one sentence. E.g, "The key name cannot conflict with any other fields in the same struct type."
In the meantime, since this is probably something we don't want to change in go 1.x, I would like to see go vet report an error if you have a single struct type with conflicting struct tags, as in this example:
type MyStruct struct {
    A string `json:"a"`
    B int    `json:"a"`
}

Is that something we can consider? If so, I would be more than happy to contribute. I can also open a separate issue for this if you believe it is appropriate.

For go vet you maybe want @robpike also on board.
I think it would be a good and easy thing to add.

For a new vet check, I think we need to get some
statistics first. How many times does this problem
occur in the wild?
Perhaps this problem is not as frequent as one
expects.

Paging @josharian who has a corpus of open source Go code. Is there an easy way to check if this error appears anywhere else?
Each vet check we add has a cost; they shouldn't be added for insignificant issues.

I just want to point out that while scanning open source go code is a good idea, it is not a one-to-one correspondence with the number of times this mistake has been made in the wild. Oftentimes, I imagine developers making the mistake, finding it (maybe after scratching their heads for a while like I did), and then fixing it without ever committing the broken code to version control.
I also understand the desire to not make go vet too bloated, so getting some kind of metric for how often this happens makes sense. Would you be open to labelling this as question or something similar and gauging responses from the community as an additional metric for how useful this might be?

Sure, more input sounds good. We don't have a "Question" tag, but if you
want to ask around on mailing lists etc the please do.
On 1 October 2015 at 10:41, Alex Browne<EMAIL_ADDRESS>wrote:

I just want to point out that while scanning open source go code is a good
idea, it is not a one-to-one correspondence with the number of times this
mistake has been made in the wild. Oftentimes, I imagine developers making
the mistake, finding it (maybe after scratching their heads for a while
like I did), and then fixing it without ever committing the broken code to
version control.
I also understand the desire to not make go vet too bloated, so getting
some kind of metric for how often this happens makes sense. Would you be
open to labelling this as question or something similar and gauging
responses from the community as an additional metric for how useful this
might be?
—
Reply to this email directly or view it on GitHub
https://github.com/golang/go/issues/12791#issuecomment-144583659.

My corpus is no more, and I haven't built a new one yet.
FWIW, this seems prima facie to me like a reasonable vet check—catches a copy/paste error whose manifestation is quiet and delayed. And (without having tried), I think the implementation would be efficient and simple.

Thank you all for your responses. It's unclear to me what the consensus is. Can I go ahead and create a CL or do we want to collect more data first?

Go ahead and create the cl; happy to review.

Great. I'll work on the CL as soon as I get a chance, most likely this weekend.

Took a little longer than expected to find time for this, but the CL is out! https://go-review.googlesource.com/#/c/16704/


Don't do partition filter check on analyze call

Do you think ANALYZE <table> should be allowed with the partition filter check enabled (i.e. without specifying specific partitions)? That's currently not allowed.

Probably not. That’s effectively a full table scan and has the same cost of running a query without a partition filter

Thanks for the review, @findepi. I've incorporated your feedback and pushed a new commit.


adds Scip::createPartialSol.

Could you please provide more information? Why did you want to add this method and why did you close the pull request?

Could you please provide more information? Why did you want to add this method and why did you close the pull request?

I'm developing a modeling DSL. There will be some variable generated by the DSL and users don't know. So, the initial solution user could provide doesn't contains all the variable in the final model. I have tried in C interface. If i use "SCIP::createSol", the initial solution has no effect. I need to use "SCIP::createPartialSol".


Improve error message when LightningCLI(run=False) but user passes a stage as argument

Description & Motivation
This is a proposal to adjust the current error message
 error: Unrecognized arguments: fit

to something more meaningful when run=False and passing a stage is not needed. Below is a minimal example that demonstrates this:
from lightning.pytorch import LightningModule
from lightning.pytorch.cli import LightningCLI

class BoringModel(LightningModule):
    pass

def main():
    cli = LightningCLI(BoringModel, run=False)
    cli.trainer.fit(cli.model)

if __name__ == "__main__":
    main()

Run it like so:
python bug_report/bug_report_model.py fit

Error:
...
bug_report_model.py: error: Unrecognized arguments: fit

Pitch
Adjust the error for this case to a message like this, pointing out that run=False was configured.

Error: You passed 'fit' as stage but the LightningCLI is configured with run=False. Selecting a stage in this case is not supported.

Alternatives
Keep as is
Additional context
Raised by a question of a user in slack channel
cc @borda @carmocca @mauvilsa

This might be a possibility https://github.com/omni-us/jsonargparse/issues/335#issuecomment-1658615647


Copying accross different Azure subscriptions creates zero byte copies

Storage Explorer Version: 1.6.0
Platform/OS: Windows
Architecture:
Regression From: 1.5.0
Bug description
Copying of files across different Azure subscriptions is no longer working. A zero byte blob is created.
Steps to Reproduce
List the minimal steps clearly and concisely to reproduce the behavior:

Go to the source storage account of the first Azure subscription.
Select the blob container.
Select an item from the container.
Hit Copy-Button
Change to the destination account and there the blobcontainer
Hit the Paste-Button
Result: Job starts, created element has the right name with a size of zero bytes.

Expected Experience
An exact copy of the source is expected.
Actual Experience
A zero size copy is created.

Hey @dhoehne , can you try this again? I just tried it on 1.6.0, and the copy definitely worked. If it doesn't work, can you give me some more information such as:

type of storage account you are copying from (classic, premium, etc.)
type of storage account you are copying to (classic, premium, etc.)
type of blob you are copying (block, page, append)
do you think its 0 bytes because the editor shows the size as 0 bytes or because you opened it and nothing was there?

Hi @MRayermannMSFT,
Error also happenend in 1.6.0 and also in version 1.6.1. Previous versions had not been affected.
Are you able to provide a download link to a previous version in the meantime?
Do you think its 0 bytes because the editor shows the size as 0 bytes or because you opened it and nothing was there?
-> the opened or downloaded file has a 0 byte size, this size is also shown in Storage Explorer. The copy process is much to fast to copy between storage accounts.
Source and destination storage account are of different subscriptions but of the same type. Both are shown as storage account (without classic), standard LRS.
I cannot say anything about the type of blob - how to find out?
I just take a file, hit on copy, navigate to the destination hit on paste there.
Any other information that could be helpful? If so, just let me know how to find out.

Just upgraded to 1.6.1 and I can confirm that when copying a blob from a classic to a StorageV2 container (that is my use case, didn't test others) the file is copied immediately but if you check the CopyStatus attribute in the blob properties it shows 'pending' and if you wait long enough it changes to 'success'. So imho the only thing missing is the copying progress. I downgraded to 1.5.0 and now percentual copying progress works fine again.


Logout doesn't clear private session key for secrets

Issue type
[ ] Feature request
[X] Bug report
[ ] Documentation

Environment

Python version:  3.4.5
NetBox version:  v2.2.6

When logging out the session key a user is making use of and has entered is not cleared.  It should be cleared when a user logs out.
I have 2 users "admin" and "named user."  Using a single browser (Firefox) and having logged in as "admin" and performing a number of actions related to secrets including an import and then after logging out and logging back in as a different user (my own "named user") the problem is observable in that I am not asked for my key when trying to unlock a secret.  I am greeted with a prompt (browser alert) stating ["Invalid session key."].
Note that the area on my "named user" profile after logging out from my "admin" session where the "Delete session key" button is simply shows "No session key" and I am not able to clear out the session key unless I log out of my own "named user" account and log back in as "admin".

I noticed the same thing yesterday while installing (for the first time). I thought this was intended and the Session Key was representing the browser/device in itself ? Note that I don't know any details about it, I just noticed that I encountered bugs only since I changed logins, so I thought this was it.
If it's a bug, I report it as well on Netbox 2.2.6 and Python 3.4.2.


Error: Query failed with (6): rpc error: code = Unknown desc = failed to execute message; message index: 0: 0: unknown proposal

hi.
i'm using

"@cosmjs/cosmwasm-stargate": "^0.31.3",
"@keplr-wallet/types": "^0.12.38",
"cosmjs-types": "^0.9.0",
(among other things)

I am creating the vote via
  const prop = BigInt(proposal_id);
        const vote = CosmosMsgVote.fromPartial({
          option,
          voter: account,
          proposalId: prop,
        });

        return [
          {
            value: vote,
            typeUrl: '/cosmos.gov.v1beta1.MsgVote',
          },
        ];
      }

which used to work, (and other transactions appear to work).
but when I call  SigningCosmWasmClient.simulate
it gives me
rpc error: code = Unknown desc = failed to execute message; message index: 0: 0: unknown proposal

(the proposal exists on the chain).
The only 'strange' thing is when I print out the msg it shows up as
proposalId: 18n,

(note the 'n') .
any hints?

cosmjs-types ^0.9.0 is dsigned for the upcoming CosmJS 0.32. The current 0.31.x works with cosmjs-types ^0.8.0. I know this is not super convenient but maybe it helps to get closer to a solution.

it does..
it had something to do with long/bigints.. switching to 'longs' (in 0.8.0 cured it)


ENYO-5549: Apply rounding to seconds like any other.

Checklist

[ ] I have read and understand the contribution guide

[ ] A CHANGELOG entry is included

[ ] At least one test case is included for this feature or bug fix

[ ] Documentation was added or is not needed

[ ] This is an API breaking change

Issue Resolved / Feature Added
Fix to apply rounding to seconds like any other. This is for consistent display.
Links
ENYO-5549
Enact-DCO-1.0-Signed-off-by: Hyeok Jo<EMAIL_ADDRESS>

 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.hyeok jo seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Update docs layout based on figma designs [STORM-587]

included CTA to start free trial/login
Now has top nav header on bigger screen as well
Figma design: https://www.figma.com/file/7WJmFHfRjwZ68j72AVfaQT/Aiven-docs?node-id=448%3A6125&t=Jvl4tcGv5wz013Hl-0

@niklas-lumio-aiven This looks good! Is there someone on the UX team with an eye for spacing, etc., that we could get to do a final review? :)

@staceysalamon-aiven Venla gave 1 comment about the header overflowing in really small screen, so we decided to decrease the logo size in the mobile header. Should be good to go otherwise.


cannot overwrite alert rules with containsAny conditions

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

az monitor activity-log alert action-group add --ids  --action-group  --debug
Describe the bug
the command above fails to overwrite the alert rule, if the alert rule has any "containsAny" conditions.
running the debug command shows the following output.
--> it successfully GETs the containsAny conditions:
"condition": {
"allOf": [
{
"field": "category",
"equals": "Administrative"
},
{
"field": "resourceType",
"equals": "microsoft.resources/subscriptions/resourcegroups"
},
{
"field": "operationName",
"equals": "Microsoft.Resources/subscriptions/resourceGroups/write"
},
{
"field": "level",
"containsAny": [
"informational"
]
},
{
"field": "status",
"containsAny": [
"succeeded"
]
}
]
},
later when it tries to PUT the action rule with the new action groups, it removes the containsAny parameters:
"condition": {"allOf": [{"field": "category", "equals": "Administrative"}, {"field": "resourceType", "equals": "microsoft.resources/subscriptions/resourcegroups"}, {"field": "operationName", "equals": "Microsoft.Resources/subscriptions/resourceGroups/write"}, {"field": "level"}, {"field": "status"}]}
this fails as it is an invalid condition definition:
{"code":"ConditionMisconfigured","message":"condition is misconfigured. Activity ID: 8228169b-49f5-4801-a434-129ec1cbf7b9."}
To Reproduce

create an activity alert rule that has a containsAny parameter (for example, clicking only one error level in the GUI instead of "all")
try to add an action group to the alert rule with the CLI command

Expected behavior
should be able to overwrite the alert rule and add an action group.
I would not be surprised if this affects other commands as well, as the problem is with the conditions, not the action groups, but I did not check.
Environment summary
running in Cloud Shell
az --version                                                                                azure-cli                         2.43.0
core                              2.43.0
telemetry                          1.0.8
Extensions:
log-analytics                      0.2.2
logic                              0.1.5
amg                                0.2.0
resource-graph                     2.1.0
connectedk8s                      1.2.11
scheduled-query                    0.5.0
log-analytics-solution               0.1.1
k8s-extension                      1.2.4
communication                      1.3.0
monitor-control-service               0.3.0
ai-examples                        0.2.5
ml                                2.11.0
ssh                                1.1.3
Dependencies:
msal                              1.20.0
azure-mgmt-resource             21.1.0b1
Python location '/usr/bin/python3.9'
Extensions directory '/home/austin/.azure/cliextensions'
Extensions system directory '/usr/lib/python3.9/site-packages/azure-cli-extensions'
Python (Linux) 3.9.14 (main, Oct 29 2022, 22:18:10)
[GCC 11.2.0]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
I thought it may be an API version issue, but using DevTools in the portal, it is clear that the portal is using the same API version 2017-04-01 for these alert rules with containsAny conditions, so that does not seem to be related.

monitor

@Nustinian lost properties are added from 2020-10-01 api version and are being upgradingin cli.


Improve layout

Currently it's not possible to see all the registers in a wide horizontal window.  The debug view in intellij/clion is wide by default.
At a minimum, when working with ARM processors, you need to be able to see r0-r12, sp, lr, pc, xpsr, msp, psp, primask, basepri, faultmask, and control registers.  for MCU's with an FPU you also need to see fpscr.

Improvements can be made:
a) reduce the padding around each box.
b) use more than 2 columns.  suggest either letting the user choose the amount of columns from a toolbar button or dynamically adding columns as window-space allows.

I had published a new version. It will be available within 2 business days but if you want you can check it from here: https://plugins.jetbrains.com/plugin/17203-regdebug/versions/stable/144671


Can you please build the framework for the Simulator

Please consider submitting the following information (if relevant):

Library setup method:,Carthage, CocoaPods
Version of the library. 23.0
Xcode version. Example: 812.4
OS version. Example: iOS 14

When running in debug mode from Xcode with debug session active, the app launches in the simulator and I am able to debug.
But when I am trying to launch the app in the simulator without debug session (by double clicking on the icon), it crashes with the log message below.
Everything is fine on the real device.
Can you please build the framework for the Simulator?

Aww I am sorry, it wasn't the framework issue.
I fixed it by following these steps
Went to Build Phases. Click the + icon in the top-left of the editor and select New Run Script Phase. Add the following command to the block of code under Run Script:
/usr/local/bin/carthage copy-frameworks
Click the + icon under Input Files and add an entry for each framework:
$(SRCROOT)/Carthage/Build/iOS/Cosmos.framework
Issue is solved.

Thank you so much for sharing the solution. Have a great day!


n_bins parameter to Evaluator() to control lift curve computation

fixes #35

added argument n_bins to the Evaluator() class, to allow flexibility in terms of choosing the number of lift curve bins to compute and hence plot
by default argument is at 10, so deciles, meaning nothing changes compared to before if the user ignores the argument

Looks good, but please could you add one unit test to see if the function _compute_lift_per_bin() really returns as many bins as asked? Might be straightforward, but let's try having a good test coverage, thanks!

Series of small commits but the test is there.
Strange it gives conflicts - all new code is an addition, not a modification. You can resolve using the web editor and merge to develop.

@sborms thanks, all good, conflicts resolved (just some small annoyance).
Please do not forget to always add a project label and linked issue (right side).
I also deleted the dev branch from here (remote).


Support for iPad?

Has anyone got this working for iPad? I'm getting only a black screen with DCIntrospect on it.

I've tried to add a static variable to remember the first orientation the method goes through and use that to counter the expected rotation. See https://github.com/gradha/DCIntrospect/commit/bae3260b4477c731f8c0029174b2f2cdda788272
Now the black bar seems to be positioned and rotated correctly but I'm missing the labels.

Ok, ignore that one, I was looking at the wrong place, this should work better: https://github.com/gradha/DCIntrospect/commit/548afd9cbec17f210b902d4c592d1419da58a7c1
The help still comes up rotated incorrectly, but the bar should not be a problem any more. See if it works for you.

Looks good. This does fix the status bar orientation issue for me.


Fixed ceph StoragePoolExtraSpec.Advanced map pointer nil bug

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

Coverage increased (+0.9%) to 56.62% when pulling bcf0f9bd4597f35b5077ab92b1a9ed2a67cf9c7c on xxwjj:ceph_bug into 8b4302f0cdc41a360b74b93aeea0d0d01d602727 on opensds:development.

Coverage increased (+0.9%) to 56.62% when pulling bcf0f9bd4597f35b5077ab92b1a9ed2a67cf9c7c on xxwjj:ceph_bug into 8b4302f0cdc41a360b74b93aeea0d0d01d602727 on opensds:development.

Coverage increased (+0.9%) to 56.62% when pulling bcf0f9bd4597f35b5077ab92b1a9ed2a67cf9c7c on xxwjj:ceph_bug into 8b4302f0cdc41a360b74b93aeea0d0d01d602727 on opensds:development.

Coverage increased (+0.9%) to 56.62% when pulling bcf0f9bd4597f35b5077ab92b1a9ed2a67cf9c7c on xxwjj:ceph_bug into 8b4302f0cdc41a360b74b93aeea0d0d01d602727 on opensds:development.

Coverage increased (+0.9%) to 56.62% when pulling bcf0f9bd4597f35b5077ab92b1a9ed2a67cf9c7c on xxwjj:ceph_bug into 8b4302f0cdc41a360b74b93aeea0d0d01d602727 on opensds:development.

lgtm


Add functionality to ease designing experiments in DynaSim

Anyway to define an experiment and run it? e.g. inject certain amount of current to certain cell at a defined point (instead of a constant Iapp in the population equations)?

Why don't you create a vector instead of scalar value with whatever values you'd like in there?
For instance to target a single specific unit you can use a vector of all zeros with the only exception of the cell position you want, and add that position whatever current you want to inject.

and if you want to make it vary in time, instead of a constant value, you will need to set a function of t (time)

and if you want to make it vary in time, instead of a constant value, you will need to set a function of t (time)

Thanks! I'll try the vector.
Would it be a more straightforward solution to have an explicit module to control these functions? Sort of like the 'electrode' window of NEURON, if I remember correctly.

Yes, I totally agree. it would be great to have easy ways to "design" experiments in DynaSim.

For a low-level electrophysiological experiment, the 'mechanism' framework
provides a pretty good solution - it is easy to create a mechanism that
constructs and applies any special input current to the cell, for example
by modifying the mechanism for tonic input.
On Thu, Oct 10, 2019 at 8:51 AM kupiqu<EMAIL_ADDRESS>wrote:

Ideally, the functionality of "designing" experiments in DynaSim should
account for both:

Low level electrophysiological experiments (such as the one
described above)
High level cognitive experiments (most generally, thinking about
task designs involving sessions of blocks of trials in which conditions are
varied)

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DynaSim/DynaSim/issues/583?email_source=notifications&email_token=ABQY4VPFVLCTSLLG3EE7LF3QN4QNBA5CNFSM4I7E7NY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA4EYQA#issuecomment-540560448,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQY4VOHZC3GETFP3XGWFJDQN4QNBANCNFSM4I7E7NYQ
.

This is (I think) what I described above wrt the original question. I think @hsingchien would like something more user friendly. He mentioned about 'electrode' in NEURON. Is anybody familiar with it?

NEURON has a built-in clamp module as shown in this screen shot. More complex electrodes can be defined in the code/command line. I think what @benpolletta suggest is by far the best solution. A custom mechanism would do the job. Then however, another problem is how to apply the mechanism to only a subset of neurons in a population? Obviously the target cell can be separated and be its own population, but that is not very elegant. This might be solved by feeding an input mask, it seems. I am trying to figure out how that works.

Well, I guess I failed to see that you didn't have a specific mechanism implemented for the injected current, which certainly is what you should do, as @benpolletta suggested.
But once you have the mechanism, all what I explained above about the vector array should apply.


[Heroicons] Copy name as PascalCase

Extension
https://www.raycast.com/haack/heroicons
Description
Would be very neat to add ability to copy the name as PascalCase, right now it copies only in kebab-case.
Who will benefit from this feature?
People who use the heroicons npm dependency need to manually convert the name right now to PascalCase.
Anything else?
No response

Extension
https://www.raycast.com/haack/heroicons
Description
Would be very neat to add ability to copy the name as PascalCase, right now it copies only in kebab-case.
Who will benefit from this feature?
People who use the heroicons npm dependency need to manually convert the name right now to PascalCase.
Anything else?
No response

That's a neat addition to the extension, I haven't even thought of. I will implement it ASAP.
Thank you very much, for bringing it to my attention!

Keep this detail in mind if you're intention is to support the specific use-case I mentioned above:

Icons use an upper camel case naming convention and are always suffixed with the word Icon.

For a more general approach simply doing the PascalCase is enough.
Thanks for a great extension!


OnLaneClick

Added OnLaneClick
(I also had to add a version to package.json for npm to work)

Have pushed your changes as a separate commit: https://github.com/rcdexta/react-trello/commit/9656c0399f6d83f024d7a7e332655516545c78b3
The latest version should have onLaneClick feature.


Custom recipes Sagmill

Hello everybody good night
I am playing with the enderIO through FTB infinity lite 1.10.2 and I am having problems regarding silicon production since with sand it is 50% chance so I decided to add a custom recipe in the mod I went to the file following the instructions but in my game Does not work the custom recipe in any way I took my log and in the line of custom recipes the error below appears.
[20:24:03] [Client thread/ERROR] [EnderIO]: Could not load user defined recipes from file: SAGMillRecipes_User.xml
My XML
http://pastebin.com/5H4kY7V8
How can I fix this?
Thank you for your help.`

//

//

use an editor that has xml support, e.g. http://www.tutorialspoint.com/online_xml_editor.htm

I'm pretty sure the  recipe should be within a recipegroup, either add one or move it to the group EnderIO.


sentry-cli: 2.32.1 -> 2.33.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/sentry-cli/versions.
meta.description for sentry-cli is: Command line utility to work with Sentry
meta.homepage for sentry-cli is: https://docs.sentry.io/cli/
meta.changelog for sentry-cli is: https://github.com/getsentry/sentry-cli/raw/2.32.2/CHANGELOG.md
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.32.2 with grep in /nix/store/arbvqmvn6mxvmf965p7xmrp6p750fy8m-sentry-cli-2.32.2
found 2.32.2 in filename of file in /nix/store/arbvqmvn6mxvmf965p7xmrp6p750fy8m-sentry-cli-2.32.2

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

sentry-cli

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/arbvqmvn6mxvmf965p7xmrp6p750fy8m-sentry-cli-2.32.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A sentry-cli https://github.com/r-ryantm/nixpkgs/archive/0eea9e7c43ae46c08c876cbd4956191256b70a85.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/0eea9e7c43ae46c08c876cbd4956191256b70a85#sentry-cli

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/arbvqmvn6mxvmf965p7xmrp6p750fy8m-sentry-cli-2.32.2
ls -la /nix/store/arbvqmvn6mxvmf965p7xmrp6p750fy8m-sentry-cli-2.32.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

sentry-cli

Maintainer pings
cc @Rizary for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/sentry-cli/versions.
meta.description for sentry-cli is: Command line utility to work with Sentry
meta.homepage for sentry-cli is: https://docs.sentry.io/cli/
meta.changelog for sentry-cli is: https://github.com/getsentry/sentry-cli/raw/2.33.0/CHANGELOG.md
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.33.0 with grep in /nix/store/x32y51clpxksakfv1fczh4cnmwphic3z-sentry-cli-2.33.0
found 2.33.0 in filename of file in /nix/store/x32y51clpxksakfv1fczh4cnmwphic3z-sentry-cli-2.33.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

sentry-cli

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/x32y51clpxksakfv1fczh4cnmwphic3z-sentry-cli-2.33.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A sentry-cli https://github.com/r-ryantm/nixpkgs/archive/5921dfcd83a1ea0e45cb3a31f3514c800e9ced47.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/5921dfcd83a1ea0e45cb3a31f3514c800e9ced47#sentry-cli

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/x32y51clpxksakfv1fczh4cnmwphic3z-sentry-cli-2.33.0
ls -la /nix/store/x32y51clpxksakfv1fczh4cnmwphic3z-sentry-cli-2.33.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

sentry-cli

Maintainer pings
cc @Rizary for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/getsentry/sentry-cli/releases.
meta.description for sentry-cli is: Command line utility to work with Sentry
meta.homepage for sentry-cli is: https://docs.sentry.io/cli/
meta.changelog for sentry-cli is: https://github.com/getsentry/sentry-cli/raw/2.33.1/CHANGELOG.md
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.33.1 with grep in /nix/store/50zxn77d22qq50lgnh3xsalyjpa443ga-sentry-cli-2.33.1
found 2.33.1 in filename of file in /nix/store/50zxn77d22qq50lgnh3xsalyjpa443ga-sentry-cli-2.33.1

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

sentry-cli

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/50zxn77d22qq50lgnh3xsalyjpa443ga-sentry-cli-2.33.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A sentry-cli https://github.com/r-ryantm/nixpkgs/archive/f892146ee50a65353de058addc8adcf479818b89.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/f892146ee50a65353de058addc8adcf479818b89#sentry-cli

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/50zxn77d22qq50lgnh3xsalyjpa443ga-sentry-cli-2.33.1
ls -la /nix/store/50zxn77d22qq50lgnh3xsalyjpa443ga-sentry-cli-2.33.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

sentry-cli

Maintainer pings
cc @Rizary for testing.


Compatibility with bpnet-refactor

Hello,
I have recently run the bpnet-refactor workflow and obtained SHAP attribution scores, which I would now like to load into TF-MoDISco. I'm having some trouble seeing how to do that - the bpnet-refactor documentation says you can do it with tfmodisco-lite but otherwise is a bit spare on the subject.
 I see from the Jupyter notebook that you use bpnet-lite, which has an 'interpet' function to make the one-hot sequence encoding and attribution scores, but bpnet-refactor seems not to have the same program, or anything named similarly, in its /bin. Is there some way to take what I've already got and render it useable for TF-MoDISco?
Thanks,
Greg
Edited: realized that bpnet-lite is indeed on GitHub, just not in Kundaje lab's repositories.

Hi Greg
If you use the i option in modisco motifs you can specify a h5 file that is formatted the way that bpnet-refactor generates them. Specifically, modisco motifs -i counts_scores.h5 ... should run modisco on the count attributions contained in that file (https://github.com/jmschrei/tfmodisco-lite/blob/main/modisco#L31).
Let me know if you encounter any issues with that.

Hi Jacob,
This worked, and I was able to get FiNeMo running as well - thanks for clarifying about the command-line parameters.


Fix compilation for 32 bit targets

Regression introduced in 47df0e9eaa7f1231a07f86fc44426936c7a2589a
Casting fullscreen_atom (which is the result from XInternAtom, i.e.
c_ulong) as i64 is obviously wrong -- the whole point of types such as
c_ulong is that long in C does not always have the same bit size...
Cast it as c_long instead.
While this is the most straightforward fix, I'm not sure it's the best
one: perhaps the x11 crate should offer a set_ulong() method along with
set_long(), which could be used here instead of the cast?

I pushed an updated patch. Is it fine now?

Thanks!


Support building with LLVM 18

Support building bpftrace against the recently released LLVM 18.
Checklist

[ ] Language changes are updated in man/adoc/bpftrace.adoc
[ ] User-visible and non-trivial changes updated in CHANGELOG.md
[x] The new behaviour is covered by tests

Is it possible to backport this PR to release/0.20.x branch or release new version out of master? 🤔

Hi @kloczek , speaking for myself, I'd prefer not to yet. We don't have LLVM 18 running in CI yet. So consider llvm 18 support under development.

Any update about LLVM 18.1.x supporting new version? 🤔

@kloczek almost! Nix is about to release 24.05 (https://github.com/NixOS/nixpkgs/issues/303285) which contains llvm 18 package

Quick update: nix 24.05 is out and llvm 18 is present. I'm having a bit of trouble getting the nix build to function. Currently stuck with this error:
$ ./result/bin/bpftrace
./result/bin/bpftrace: error while loading shared libraries: libicuuc.so.74: cannot open shared object file: No such file or directory

LD_DEBUG=all is quite helpful. Seems like this is related to the recent lldb dependency addition:
$ LD_DEBUG=all ./result/bin/bpftrace
[..]
   2726159:     file=libicuuc.so.74 [0];  needed by /nix/store/hcag2qn4njvps4wpy7fnjb20y80fynni-lldb-18.1.5-lib/lib/../../../../lib/libxml2.so.2 [0]
   2726159:     find library=libicuuc.so.74 [0]; searching
[..]

@tyroguru We're you seeing a similar issue in your VM?

Looks like master is broken atm too: https://github.com/NixOS/nixpkgs/issues/315214#issuecomment-2134307949

@tyroguru We're you seeing a similar issue in your VM?

Yes, that was it. Well remembered!


Issue #1237: Correct Swagger version after Swagger conversion to v3

This PR does the following:

Adds a test to check that the OpenAPI version of the OpenAPI returned by the SwaggerConverter is the original Swagger version
Propagates the Swagger version to the OpenAPI version in the SwaggerConverter

Still waiting for review or comments on this PR. I'm not sure if this is still a problem now after +1 year


Placeholder CL for fsgroup policy beta

KEP at https://github.com/kubernetes/enhancements/issues/695
The KEP feature is currently alpha. In 1.20 we are updating it to beta and will be changing the documentation accordingly.
/milestone 1.20

/assign @gnufied

/milestone 1.20

/assign @eagleusb
/hold no k/k pr
/sig storage

I've updated the description with some PRs that are for the beta effort.

The two of the k/k PRs is still opened, does the exception accepted for this?

The two of the k/k PRs is still opened, does the exception accepted for this?

These should be closed before the code freeze on 12 Nov.

Yeah I don't think any exception should be necessary.

Hi @mattcary
Are there any behavior changes other than graduation to beta? If not, this looks like it could be marked as ready for review.

@sftim the feature is moving to beta without any change in behaviour.

Thanks all. I've marked this ready for review.

/retitle Promote ConfigurableFSGroupPolicy feature to beta

Remaining open PR is kubernetes/kubernetes#95739

/hold cancel
all k/k prs merged
/lgtm

/approve


Incomplete schema inference while reading from DynamoDB table

DynamoDB Table:

I am reading the above table using the following code:
spark.read
        .option("tableName", config.tableName)
        .option("region", config.ddbConfig.region)
        .format("dynamodb")
        .load()
df.show()

Result:
|s_id|         created_on|p_id|
+----+-------------------+----+
| 002|2018-11-20 12:01:19|   2|
| 001|2018-11-19 12:01:19|   1|
| 006|2018-11-20 12:01:19|   6|
| 005|2018-11-19 12:01:20|   5|
| 004|2018-12-19 12:01:19|   4|
| 003|2019-11-19 12:01:19|   3|
The "num" column was missing from the df. Why did this happen? Is there any flag which I need to set to ensure complete schema inference?

You can pass userSchema option and your schema along with that otherwise it creates schema from the data on your first page of dynamodb table.

thanks! this helps.
This library returned an empty dataframe when I tried to read a DDB table with both range key and hash key. Is this a known behaviour?

@siah210 you should pass schema with .schema() parameter just like you do to normal DF that would work.


notebook can't  select any kernel

Does this issue occur when all extensions are disabled?: Yes

版本: 1.63.0-insider (system setup)
提交: 3bd29c1d6c6ef5b6265614def99b7257b671ae19
日期: 2021-11-12T12:04:20.740Z
Electron: 13.5.2
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.22499
Steps to Reproduce:

BTW
V1.62.2 WORK WELL

Sorry for the slow response. Is this still happening in Insiders?


[Research] Research the usage of package node-sass in OUI

Research the usage of package node-sass in OUI and determine if we can get rid of this dependency.
Reason: node-sass depends on request which is deprecated and causing #630

@joshuarrrr I would like to take this issue. Currently working on issue #595 with @BSFishy to clean up dependencies.

I think this should have been removed in #1001, but we should still make sure we have removed all remnants

@BSFishy,
Upon review of the base code, the only place where we still see node-sass is under the react-datepicker package at ./packages/react-datepicker/package.json. Below a screenshot from the search (of course without considering the results of CHANGELOG.md)

Should we get rid of this dependency on this file + the related scripts?
Regards,
Samuel

Should we get rid of this dependency on this file + the related scripts?

I'm hesitant to do that in react-datepicker. We currently have a built bundle for it, but don't want to cut ourselves off in the future if we want to build a new one.

Should we get rid of this dependency on this file + the related scripts?

I'm hesitant to do that in react-datepicker. We currently have a built bundle for it, but don't want to cut ourselves off in the future if we want to build a new one.

Ok @BSFishy, I did some further investigation and indeed the last release (version 4.21) does not use node-sass package but instead sass package (check here). In the OUI base code, I see that the version for react-datepicker package is 2.0, if I am not wrong.
So what I did was download the last release of react-datepicker, create the bundle and replace the new JS file in ./pacakges folder (.packages/react-datepicker.js)

Hi @joshuarrrr, @BSFishy,
I would appreciate your feedback on my last message! Just to see how we should proceed!
Regards,
Samuel

Yeah I think this is a difficult one. react-datepicker has been a task in the backlog for a while (#205). I think it's going to be difficult to upgrade it while making sure nothing breaks. I think we had a few conversations about possible options but ultimately landed on leaving the package the way it is. I can't find anything on Github right now but @AMoo-Miki might have more context

Thanks @BSFishy. Let's wait for what @AMoo-Miki suggest. But regardless of what we decide, I think this issue is resolved regarding the research of node-saas package and its usage in OUI.

Closing since the original objective of this issue has been achieved. If there is any followup work, a new issue can be created.


Redefining default keybinds in submap displays duplicates

What system are you running Yazi on?
Linux X11
What terminal are you running Yazi in?
kitty
Did you try the latest code to see if this problem got fixed?
Tried, but the problem still
yazi --debug output

Details
Yazi
Version: 0.2.5 (c65a14c 2024-04-23)
OS: linux-x86_64 (unix)
Debug: false
Emulator
Emulator.via_env: ("xterm-kitty", "")
Emulator.via_csi: Ok(Kitty)
Emulator.detect: Kitty
Adaptor
Adaptor.matches: Kitty
Desktop
XDG_SESSION_TYPE: Some("tty")
WAYLAND_DISPLAY: None
DISPLAY: Some(":1")
SSH
shared.in_ssh_connection: false
WSL
/proc/sys/fs/binfmt_misc/WSLInterop: false
Variables
SHELL: Some("/bedrock/cross/bin/bash")
EDITOR: Some("kak")
ZELLIJ_SESSION_NAME: None
YAZI_FILE_ONE: None
YAZI_CONFIG_HOME: None
file(1)
Version: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "file-5.45\nmagic file from /usr/share/misc/magic\n", stderr: "" })
Text Opener
default: Some(Opener { run: "${EDITOR:=vi} "$@"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })
block: Some(Opener { run: "${EDITOR:=vi} "$@"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })
tmux
TMUX: false
Ueberzug++
Version: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })

Describe the bug

Expected Behavior
No duplicates displayed
To Reproduce
add duplicate submap keybinds via prepend_keymap
Configuration
[manager]
prepend_keymap = [
  { on = [ "g", "d" ], run = "plugin shellcd --args='xdg-user-dir DOWNLOAD'", desc = "Go to downloads" },
  { on = [ "g", "m" ], run = "plugin shellcd --args='echo /run/media/$USER'", desc = "Go to mounted media" },
  { on = [ "g", "c" ], run = "plugin shellcd --args='echo $XDG_CONFIG_HOME'", desc = "Go to config directory" },
  { on = [ "g", "D" ], run = "plugin shellcd --args='echo $XDG_DATA_HOME'", desc = "Go to data directory" },
]

Anything else?
No response

Maybe we can filter them out when displaying the which components. Anyone want to give it a try?
https://github.com/sxyazi/yazi/blob/681612f9764d45f61bbac622c57e0a48342b05c1/yazi-core/src/which/commands/show.rs#L48-L53
should be the only place that needs to change.

I think I was able to solve this. Will open a PR soon.


WIP: add plain json writers

Related: https://github.com/aiven/aiven-kafka-connect-gcs/issues/81
I'm not a java developer, I appreciate your feedback on how I can improve the code. Thank you!

Addressed in #57


Drop support for node v8

Our tools are updating / want to update and drop support for node v8. Do we see any problems with dropping support?

v8 had End of support on 2019-12-31
https://en.wikipedia.org/wiki/Node.js#Releases
so imho moving off v8 is a good thing


Update init.py

Changed order in search criteria imap, fixing error message BAD [b'Invalid search criteria'].

I have made a merge request for _init.py on behalf of imap-search order change

Thanks


1.0.0 repository: examples directory can be deleted?

Seems there is a folder in the 1.0.0 directory that can be deleted:
see: "releases/1.0.0/examples"
Seems the files in this folder are still copies from the geoDCAT-AP repository (which we used as a baseline).
In 1.0.0, we didn't use any examples.
Suggestion: delete the entire example folder.
In 1.0.1., we will publish some example files, which will be saved in this future folder: "releases/1.0.1/examples

Related to #29

I opted for deleting the example folders for the release and the draft versions. Consequently, I also deleted the related text in index.html referring to those examples.
As proposed by Peter in #29 we can add examples for the new draft/release, then we will include again similar text and files.

@lcomet the examples in the drafts/latest folder were correct and we added a proper text within the Appendix C with links. Only the examples referenced in Section 4 and the related text should be removed.

@marioscrock thank you for the clarification. I assumed the examples were still the old ones and did not check them in detail. I reverted the deletion of the examples folder and text for the latest draft version.


Pylint: catch useless suppressions

The project which actively uses Pylint can contain many disables of
Pylint checkers via the code comments:
http://pylint.pycqa.org/en/latest/user_guide/message-control.html

this can significantly clutter a code with tons of comments (Pylint,
flake, mypy, etc., individually or all together)
can hide actual code errors
can slows down Pylint analysis

Pylint provides the means to prevent that
http://pylint.pycqa.org/en/latest/user_guide/message-control.html#detecting-usele>

When pylint get better and false positives are removed, disable that
became useless can accumulate and clutter the code. In order to clean
them you can enable the useless-suppression warning.

Fixes: https://github.com/stanislavlevin/tox-no-deps/issues/6

The feature test expectedly fails, removing the test commit.


add REST API command line interface 'rest-cli'.

Context

Like rcon-cli, it supports a REST API command line interface.
Choices

Since rcon-cli is convenient, I also tried imitating rest-cli.
Test instructions

download test script.
test-rest-cli.zip

extract to project root.

unzip test-rest-cli.zip
chmod +x test-rest-cli.sh

build docker image with debug tag.

docker build -t thijsvanloef/palworld-server-docker:debug .

run test-rest-cli.sh and connect server from client manualy.

$ ./test-rest-cli.sh
[+] Running 1/2
 ⠸ Network palworld-server-docker_default  Created
  ✔ Container palworld-server               Started
wait healthy...... done.
TEST ... docker exec -i palworld-server rest-cli
OK
TEST ... docker exec -i palworld-server rest-cli -h
OK
TEST ... docker exec -i palworld-server rest-cli announce -h
OK
TEST ... docker exec -i palworld-server rest-cli ban -h
OK
TEST ... docker exec -i palworld-server rest-cli unban -h
OK
TEST ... docker exec -i palworld-server rest-cli kick -h
OK
TEST ... docker exec -i palworld-server rest-cli shutdown -h
OK
TEST ... docker exec -i palworld-server rest-cli unknown foo bar
OK
TEST ... docker exec -i palworld-server rest-cli info
OK
TEST ... docker exec -i palworld-server rest-cli settings
OK
TEST ... docker exec -i palworld-server rest-cli metrics
OK
SERVER ADDRESS: <IP_ADDRESS>:8211
TEST ... docker exec -i palworld-server rest-cli players
wait login..OK
TEST ... docker exec -i palworld-server rest-cli announce "Hello PalWorld!"
OK
TEST ... docker exec -i palworld-server rest-cli announce '{"message":"Logout to continue tests."}'
OK
TEST ... cat json-file | docker exec -i palworld-server rest-cli announce -
OK
TEST ... docker exec -i palworld-server rest-cli save
OK
TEST ... docker exec -i palworld-server rest-cli shutdown 300
OK
wait shutdown or logout......logout to stop now
TEST ... docker exec -i palworld-server rest-cli stop
OK
... done.
TEST ... docker exec -i palworld-server rest-cli info
OK
[+] Running 2/2
 ✔ Container palworld-server               Removed
 ✔ Network palworld-server-docker_default  Removed

Checklist before requesting a review

[x] I have performed a self-review/test of my code
[x] I've added documentation about this change to the docs.
[x] I've not introduced breaking changes.
[x] My changes do not violate linting rules.

Due to an increase in minor fixes, I will temporarily organize the commits.

Hi @MusclePr ! Thanks again for the REST API PR's! Will take a look at it tonight

Fixed a part of README.md.

Sorry I took so long, got sidetracked, merging!


driver/usbdev: support userspace to access ep0

Summary
driver/usbdev: support userspace to access ep0 by device node, eg: /dev/mtp/ep0
Packets with receivers being interfaces or endpoints in the EP0 setup packet are sent to the application layer(because the usbdev fs driver is common usb class driver, don't deal different class logic), where they are received and an ACK is sent back.
To achieve this, a character device node for EP0 is created in usbdevfs, along with a ctrlreq queue. The setup packet is saved to this queue, and the application is notified through the node.
Impact
Add usb ep0 device node
Testing
mtp

@Donny9 please include an Apps/ example or include a proper Documentation/ otherwise it will generate more support for us in the future, like the SPI Slave example

fastboot is one of examples: https://github.com/apache/nuttx-apps/pull/2562
adb is another: https://github.com/apache/nuttx-apps/tree/master/system/adb


Publish to Pursuit

safe-coerce hasn't been published to Pursuit yet; we'll need to publish it so its documentation can be searched.

This has been published.


Look into type specs

https://hexdocs.pm/type_check/readme.html

Would need to convert from typed struct to type check, punt for later.


bug in epochs.plot() with single channel

@jaeilepp I discovered this bug:
import mne
from mne import io
from mne.datasets import sample
data_path = sample.data_path()

raw_fname = data_path + '/MEG/sample/sample_audvis_filt-0-40_raw.fif'
event_fname = data_path + '/MEG/sample/sample_audvis_filt-0-40_raw-eve.fif'
event_id, tmin, tmax = 1, -0.2, 0.5

#   Setup for reading the raw data
raw = io.Raw(raw_fname)
events = mne.read_events(event_fname)

# pick EEG channels
picks = mne.pick_types(raw.info, meg=True, eeg=True, stim=False, eog=True,
                       exclude='bads')
# Read epochs
epochs = mne.Epochs(raw, events, event_id, tmin, tmax, picks=picks,
                    baseline=(None, 0), reject=dict(eeg=80e-6, eog=150e-6),
                    preload=True)
epochs.pick_channels(['EEG 005'])
epochs.plot()

I see a flat channel basically

I think it has something to do with reference channel. Does mne use average EEG reference? You can try plotting two channels and marking the other one bad. The other one falls flat immediately.

shouldn't it come as an option in the proj button if the average EEG reference should be applied or not? That's what happens with raw but not with epochs

The projections are applied automatically. You should construct the epochs with param proj=False to see the proj button.

hmm ... okay. It wasn't obvious to me. Feel free to close


Field updates

https://api.slack.com/changelog/2017-02-minor-field-changes

Migrated to https://github.com/SlackKit/SlackKit/issues/104


LPE: make compatible with lockstep simulation

This fixes SITL with lockstep when using LPE and q estimator.
The required changes are:

Publish ekf2_timestamps because simulator_mavlink expects them.
Run LPE at 250 Hz instead of 80 Hz in order to keep everything in lockstep running at 250 Hz.

Thanks. Can you fix it for SYS_MC_EST_GROUP=3 (Q estimator only) as well?

@bkueng I didn't know that was an option. Is it documented somewhere? E.g. here: https://dev.px4.io/master/en/advanced/switching_state_estimators.html

It's documented with the parameter (which is the reference), and I updated the docs as well (https://github.com/PX4/Devguide/commit/1932e9088bf1bb63240f97679600cf67fd301284)

Thx. I'm not sure how to handle it though. This means we need an option for the q estimator to publish ekf2_timestamps only in the case when LPE is not running.

Or simply checking the value of SYS_MC_EST_GROUP in the simulator.

@bkueng follow up: https://github.com/PX4/Firmware/pull/14288


Ingest UI unnecessary polling pages every 5 seconds

Steps to reproduce:

Log into Ingest UI.
Click on the All submissions link.
Open Web developer tool and go to the Network tab

Notice that every 5 seconds the page refreshing itself.
I am not sure it is necessary on this page.
You can also notice that most of the response is 200, but there are some 500 as well.
We should investigate if this polling is really necessary and if not then remove it.
The auto-save feature might causing this, but it is just a wild guess.

I think is no longer the case right? This was fixed with https://github.com/ebi-ait/ingest-ui/pull/75
@ke4

I tested this on dev and unfortunately it is still happening.

This has been fixed in https://github.com/ebi-ait/ingest-ui

This has been fixed in https://github.com/ebi-ait/ingest-ui


Linking error while using DMA for OCTOSPI with STM32H573 discovery board (STM32H573i_dk)

Describe the bug

Linking error for DMA for OCTOSPI with STM32H573 Discovery board (STM32H573i_dk)
I am trying to enable DMA for Currently supported OCTOSPI flash driver on Discovery board.
Compatible for QSPI driver = "st,stm32-ospi"
Compatible for flash nor driver = "st,stm32-ospi-nor"
To Reproduce

Zephyr version: 3.6.0
Added below dmas property in overlay file to activate DMA in OCTOSPI node
&octospi1 {
pinctrl-0 = <&octospi1_io0_pb1 &octospi1_io1_pd12
&octospi1_clk_pf10 &octospi1_ncs_pg6>;
/* request 57 for XSPI1 */
dmas = <&gpdma1 4 57 STM32_DMA_PERIPH_TX
&gpdma1 5 57 STM32_DMA_PERIPH_RX>;
dma-names = "tx", "rx";
mx25lm51245: ospi-nor-flash@90000000 {
spi-bus-width = <OSPI_SPI_MODE>;
data-rate = <OSPI_STR_TRANSFER>;
};
};
prj.conf :
CONFIG_STDOUT_CONSOLE=y
CONFIG_FLASH=y
CONFIG_SPI=y
step to compile code: west build -b stm32h573i_dk -p
Expected behavior

Compliable with DMA.
Impact

showstopper
Logs and console output

Getting linking errors:
/zephyr/drivers/flash/flash_stm32_ospi.c:1979:41: error: 'XSPI_HandleTypeDef' has no member named 'hdma'; did you mean 'hdmatx'?
1979 |         __HAL_LINKDMA(&dev_data->hospi, hdma, hdma);
|                                         ^~~~
1979 |         __HAL_LINKDMA(&dev_data->hospi, hdma, hdma);
Environment (please complete the following information):

OS: Windows 10
Toolchain : zephyr-sdk-0.16.5-1
Commit SHA : 468eb56cf242eedba62006ee758700ee6148763f

Additional context

Hi @HemantFargade-eaton,
Thanks for raising this issue, but please note that v3.6.0 is coming to end of life shortly (https://github.com/zephyrproject-rtos/zephyr/wiki/Release-Management).
Would you mind testing on a more recent Zephyr version v3.7.0 for instance, which is a Long Term Support version ?


Unable to install plugins after upgrading to 0.18

llm --version
llm, version 0.18

llm install llm-bedrock-anthropic

Traceback (most recent call last):
  File "/opt/homebrew/bin/llm", line 8, in <module>
    sys.exit(cli())
             ~~~^^
  File "/opt/homebrew/Cellar/llm/0.18/libexec/lib/python3.13/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/llm/0.18/libexec/lib/python3.13/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/opt/homebrew/Cellar/llm/0.18/libexec/lib/python3.13/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/opt/homebrew/Cellar/llm/0.18/libexec/lib/python3.13/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/llm/0.18/libexec/lib/python3.13/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/opt/homebrew/Cellar/llm/0.18/libexec/lib/python3.13/site-packages/llm/cli.py", line 1271, in install
    run_module("pip", run_name="__main__")
    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen runpy>", line 222, in run_module
  File "<frozen runpy>", line 142, in _get_module_details
ImportError: No module named pip

I don't know brew, but you could give uv a try, e.g.:

uv python install 3.12
uv venv --python 3.12
source .venv/bin/activate
uv pip install llm

Thanks @ar-jan.  Looks like uv doesn't yet support global installs which is what I would want for llm.  The joys of python :)


[Plutus] Filter out combined-plutus-haddock, and read-the-docs-site from the non-x86_64-linux builders.

They don't need to be build anywhere outside of x86_64-linux, and take a long time (up to timeout), thus producing contention and blocking other jobs.

@zeme-iohk could you please take a look at this issue and say what you think?

Asked Lorenzo privately, he told me the issue got done somewhere along the way, hence closing.


Can't publish symbols because name collision on nuget.org

Describe the bug
I can no longer publish symbols on nuget.smbsrc.net because someone published (and later delisted) a package with the same name.
To Reproduce
Steps to reproduce the behavior:

Download MSI nupkg from https://dev.azure.com/heaths/public/_build/results?buildId=210&view=artifacts&type=publishedArtifacts
Regenerate my key (it had expired), copy it, and try to publish to wither www.nuget.org (either package or symbol package) or nuget.smbsrc.net (symbol package).

Expected behavior
I can publish the symbol package.
Actual behavior
I get an HTTP 403 error. Seems someone published https://www.nuget.org/packages/msi, which is the name of my package for powershellgallery.com. I've been publishing symbols this way for a while, but no longer can because of a name collision on nuget.org. There was never a need to publish the package to nuget.org (it's a PowerShell module). Seems authentication and authorization shouldn't necessarily be tied together. Is there some other way?
I can't seem to log into www.symbolsource.org anymore either. I can't remember account information (it's been a long time since I logged in), but http://www.symbolsource.org/Public/Account/SendPasswordMail says it requires a secure connection, but www.symbolsource.org doesn't respond via HTTPS.
Additional context
Add any other context about the problem here.
Link to MSI package on PowerShell Gallery: https://www.powershellgallery.com/packages/MSI

Hi, the NuGet team doesn't run Symbol Source so we can't help. We're not sure who the best contact is for these kinds of problem, so I'd try reaching out to the .NET Foundation (possibly on Twitter).
I'll close this off for now since we can't take any further action, but feel free to comment if you have any additional questions!


[Custom Transport] micro_ros_agent not generating any messages in response to packets sent from arduino via UDP

Hardware description: Arduino DUE, ENC28J60 SPI ethernet peripheral
Installation type: Micro_ros publisher example, micro_ros_agent udp4 mode
Version or commit hash: ROS2 galactic

I am trying to implement a UDP transport layer, by modifying the arduino_default transport, which is set up to use the Serial port by default.
I have modified the default open, read, write and close functions according to the ethernet.h documentation here and here

byte mac[] = {
0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED};
IPAddress ip(10, 42, 0, 10);
IPAddress remoteHost(10, 42, 0, 1);
unsigned int remotePort = 11349;
unsigned int localPort = 11345; // local port to listen on
EthernetUDP Udp;

bool arduino_transport_open(struct uxrCustomTransport *transport)
{
Ethernet.init(41);
Ethernet.begin(mac, ip);
Udp.begin(localPort);
return true;
}

bool arduino_transport_close(struct uxrCustomTransport *transport)
{
return true;
}

(Includes printing the packet buffer for debugging purposes)

size_t arduino_transport_write(struct uxrCustomTransport *transport, uint8_t *buf, size_t len, uint8_t *errcode)
{
Udp.beginPacket(remoteHost, remotePort);
int temp = Udp.write((char *)buf, len);
for(int i = 0; i<len; i++)
{
  SerialUSB.print(buf[i], HEX);
  SerialUSB.print(" ");
}
SerialUSB.println("");
Udp.endPacket();
SerialUSB.println("send packet");
return temp;

}
size_t arduino_transport_read(struct uxrCustomTransport *transport, uint8_t *buf, size_t len, int timeout, uint8_t *errcode)
{
int packetSize = Udp.parsePacket();
if (packetSize)
{
Udp.read((char *)buf, len);
}
return packetSize;
}

I start the micro ros agent with the command

ros2 run micro_ros_agent micro_ros_agent udp4 --port 11349 -v6 ROS_DOMAIN_ID=0

Upon starting the arduino due I can see UDP packets arriving on the terminal, and can verify the correct packet is received by comparing it to the output of the serial console. I don't see any response being generated from the micro_ros agent, and no new topics show up when executing

ros2 topic list .

Sample output from the micro_ros agent

I'm not sure where to look. Maybe someone has tried a similar thing and can help me out?

After digging around, I tried setting XRCE framing to false in file micro_ros_arduino.h, in the function set_microros_transports, and now it seems to connect as it should. I am a beginner in the ROS2 and microros environments so I don't really understand the implications of that change or why it makes it work, so I'm leaving this issue open for now, until a more experienced developer can chime in (and close it if they consider this to be a proper solution).

You need to disable framing when using packet-oriented transports. Framing is only used in stream-like transport. More information here: https://micro-xrce-dds.docs.eprosima.com/en/latest/transport.html#stream-framing-label


[dotnet] Enable supported RASP features

Motivation
Enable the system tests related to RASP with features that we already support.
Changes

Workflow

⚠ Create your PR as draft ⚠
Work on you PR until the CI passes (if something not related to your task is failing, you can ignore it)
Mark it as ready for review

Test logic is modified? -> Get a review from RFC owner. We're working on refining the codeowners file quickly.
Framework is modified, or non obvious usage of it -> get a review from R&P team

:rocket: Once your PR is reviewed, you can merge it!
🛟 #apm-shared-testing 🛟
Reviewer checklist

[ ] If PR title starts with [<language>], double-check that only <language> is impacted by the change
[ ] No system-tests internal is modified. Otherwise, I have the approval from R&P team
[ ] CI is green, or failing jobs are not related to this change (and you are 100% sure about this statement)
[ ] A docker base image is modified?

[ ] the relevant build-XXX-image label is present

[ ] A scenario is added (or removed)?

[ ] Get a review from R&P team

Thanks for the review!


Fragmentation of REQUEST_STREAM and REQUEST_CHANNEL frames

In case the REQUEST_STREAM or REQUEST_CHANNEL frames must be fragmented (containing the F flag), should it contain the Initial Request N field in all fragments? Seems like a waste of resources to xmit/recv the same field over and over.
It'd make more sense to only send the Initial Request N field on the first frame, but this approach implies having a state machine to handle reassembly.
Thoughts?

I've been assuming that only the first frame is of type REQUEST_STREAM or CHANNEL, and all additional request fragments are PAYLOAD frames.  why repeat the initial request header and allow for conflicting values?  I don't think the protocol is clear enough.  This part of the CHANNEL doc implies my thinking is correct, but its a weak assumption.

A requester MUST send only one REQUEST_CHANNEL frame. Subsequent messages from requester to responder MUST be sent as PAYLOAD frames.

Maybe we should clarify that this is also true for other request* frames that must be fragmented?
The frames that allow the F(ollow) flag today are:

REQUEST_RESPONSE (0x04)
REQUEST_FNF (0x05)
REQUEST_STREAM (0x06)
REQUEST_CHANNEL (0x07)
PAYLOAD (0x0A)

This allows the potential scenario of:
-- PAYLOAD frame 1
Frame type = One of the supported above: 0x04 - 0x07, 0x0A
Frame length = 16MB
(M)etadata present = 1
(F)ollows = 1 (fragments coming)
Metadata Length = 16MB

16MB of METADATA
0MB of Data

-- PAYLOAD frame 2
Frame type = PAYLOAD (0x0A)
Frame length = 16MB
(M)etadata present = 1
(F)ollows = 1 (fragments coming)
Metadata Length = 4MB

4MB of METADATA
12MB of Data

-- PAYLOAD frame 3
Frame type = PAYLOAD (0x0A)
Frame length = 13MB
(M)etadata present = 0
(F)ollows = 0

0MB of METADATA
13MB of Data

Also perhaps add @tmontgomery's comment on cancellation of fragmented streams? This means frames 2 or 3 above could be either PAYLOAD (0x0A),  CANCEL (0x09), or ERROR (0x0B).

I generally like this, though it feels like an exception in this spec to use PAYLOAD for anything other than the stream messages. But, I do agree it's cleaner than re-sending all other aspects of the initial request frame.

@tmontgomery and @lehecka, what do you think?

Proposed changes in https://github.com/ReactiveSocket/reactivesocket/pull/216

merged.


[DO NOT MERGE] Sync starters for kedro 0.18.0

Motivation and Context

Fixes https://github.com/kedro-org/kedro-starters/issues/67
TODO: CircleCI config update to use matrix, like we do in kedro.
How has this been tested?

Checklist

[ ] Opened this PR as a 'Draft Pull Request' if it is work-in-progress
[ ] Assigned myself to the PR
[ ] Added tests to cover my changes

@datajoely I know you were making some changes to the spaceflights tutorial as well - any idea what's the desired fix for the build errors here?

@datajoely No, I know that. I mean https://app.circleci.com/pipelines/github/kedro-org/kedro-starters/199/workflows/b15facb0-e01b-4d4e-84ce-b87827bd50d9/jobs/1194
ValueError: Pipeline input(s) {'params:data_science.model_options_experimental', 'params:data_science.active_modelling_pipeline.model_options'} not found in the DataCatalog

Are parameters now namespaced in 0.18.x? I think that's the issue here.
https://github.com/kedro-org/kedro/issues/399
Need to fix this I  think

Are parameters now namespaced in 0.18.x? I think that's the issue here. kedro-org/kedro#399

Yes I know that, sorry I should've been explicit from the start what the problem was. My issue is idk the preferred fix. We'll work sth out.

It looks like the logs/journals directory still exists in the starters, but it can be completely removed 🗑

I removed them in https://github.com/kedro-org/kedro-starters/pull/68/commits/fa1c2437e3f3563da0c879a360834eda842b3a8f , and double-checking locally the logs folder only contains a .gitkeep file. 🤔

It looks like the logs/journals directory still exists in the starters, but it can be completely removed 🗑

I removed them in fa1c243 , and double-checking locally the logs folder only contains a .gitkeep file. 🤔

Ah okay, then it's probably github just being confused!


Added access to high-dimensional simplicial set through class UMAP

I also updated the documentation of UMAP and simplicial_set_embedding to account for the new parameter negative_sample_rate, instead of the old n_edge_samples.

Thanks! The doc updates are very helpful as well. Greatly appreciated.

It is my pleasure. Thank you for this great piece of work.
On Tue, Feb 27, 2018, 11:45 PM Leland McInnes<EMAIL_ADDRESS>wrote:

Thanks! The doc updates are very helpful as well. Greatly appreciated.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lmcinnes/umap/pull/52#issuecomment-369120250, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AKrj_ycMkOsdp72Zy_kkiggrh-hS_8dmks5tZNnwgaJpZM4SV74H
.


An unexpected error has occurred

both of those urls are showing An unexpected error has occurred.
https://github-actions-hero.now.sh/playground
https://github-actions-hero.now.sh/lessons/1

https://github.com/cschleiden/github-actions-hero/issues/10#issue-773079008

https://github.com/cschleiden/github-actions-hero/issues/10#issue-773079008

#10 (comment)

#10 (comment)

Duplicate of https://github.com/cschleiden/github-actions-hero/issues/9

Duplicate of https://github.com/cschleiden/github-actions-hero/issues/9


Disabling Hibernation not working

When running the Tweaks and have Disabling Hibernation it does not turn off Hibernation.
To Reproduce
Steps to reproduce the behavior:

Go to 'Tweaks'
Click on 'Desktop'
Check root of c:\ for hiberfil.sys

Expected behavior
hiberfil.sys should be deleted
Additional context
Also tried rebooting and the hiberfil.sys is still there.   if you run powercfg /HIBERNATE it does turn it off and remove the hiberfil.sys file

Fixed in c4b3c9f
Will be commited to main soon.


Remove axolotl and python3-blinker in XPU finetune image

Description

Remove axolotl from image to reduce image size.
Remove python3-blinker to avoid axolotl lib conflict.

1. Why the change?

2. User API changes

3. Summary of the change

4. How to test?

[ ] N/A
[ ] Unit test
[ ] Application test
[ ] Document test
[ ] ...

5. New dependencies

[ ] New Python dependencies
- Dependency1
- Dependency2
- ...
[ ] New Java/Scala dependencies and their license
- Dependency1 and license1
- Dependency2 and license2
- ...

https://github.com/intel-analytics/ipex-llm/actions/runs/9218545342/job/25362265370


subscribe_tickers can't recv any data on binance

The program is blocked on tickers.next().await in https://github.com/Nouzan/exc/blob/main/examples/examples/binance_ticker.rs

blocked on https://github.com/Nouzan/exc/blob/430a95fed042a55ad44b3359207367fd0134fdf3/exc/src/util/subscribe_tickers.rs#LL122C29-L122C29
export ENDPOINT=binance-u
export INST=BTCUSDT

And, example binance_trade_bid_ask is work

The correct instrument format is all lowercase and without separators for Binance, like btcusdt. But it is a problem that it won't throw an error when the format is wrong.

And you can also try the InstrumentsLayer which will create a conversion layer that can convert between the standard instrument format and the exchange-defined format. You can check the examples for binance and okx. Though there are too many details and not easy to use for now, not until I define the ToExchange trait.

ok, export INST=btcusdt is work


Installing brain-score leads to pytorch fail to load dylib error

I had pytorch installed in my conda env and was working fine, but when I install brain-score I get fail to load dylib whenever I try to import torch

brain-score only has a dependency on tensorflow, is tensorflow maybe missing with one of your dependencies? Does the error also occur if you install all dependencies except tensorflow?

is tensorflow maybe missing with one of your dependencies?

So I've tried installing all dependencies first and then installing brainscore as follows:

Create new conda env: conda create --name=brain_score python=3.7

Installing dependencies (including tensorflow)

Installing brainscore

At this point everything works fine. However when I install pytorch and then try importing it I still get the dylib error. For clarity I am using pytorch=1.4.0 so I'm really not sure what the issue is.

Does the error also occur if you install all dependencies except tensorflow?

I don't really know what you mean as brainscore automatically installs tensorflow regardless of if I have it installed...tensorflow also works fine but pytorch is the one not working. If possible, might you be able to provide an environment.yml that has both brainscore and pytorch working, that would be quite helpful.

what is the difference between torch and pytorch, when torch is installed, it works fine although I then get a /opt/conda/envs/brain_score/lib/python3.7/site-packages/torch/cuda/__init__.py:143: UserWarning:  NVIDIA A40 with CUDA capability sm_86 is not compatible with the current PyTorch installation. The current PyTorch install supports CUDA capabilities sm_37 sm_50 sm_60 sm_70. If you want to use the NVIDIA A40 GPU with PyTorch, please check the instructions at https://pytorch.org/get-started/locally/warnings.warn(incompatible_device_warn.format(device_name, capability, " ".join(arch_list), device_name)) warning followed by a RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. error, however at this point if I try conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch then both pytorch and torch exist simultaneously and that causes this dylib error

I don't really know what you mean as brainscore automatically installs tensorflow regardless of if I have it installed

you could install brainscore without its dependencies, using pip's --no-dependencies flag, and then manually install all the dependencies in the setup.py except tensorflow.
Here's a working environment I'm using (lots of dependencies that you likely won't need):
name: candidate-models
channels:
  - defaults
dependencies:
  - _libgcc_mutex=0.1=main
  - _pytorch_select=0.2=gpu_0
  - _tflow_select=2.1.0=gpu
  - absl-py=0.9.0=py37_0
  - astor=0.8.1=py37_0
  - blas=1.0=mkl
  - c-ares=1.15.0=h7b6447c_1001
  - ca-certificates=2021.1.19=h06a4308_1
  - certifi=2020.12.5=py37h06a4308_0
  - cffi=1.14.0=py37h2e261b9_0
  - cudatoolkit=10.1.243=h6bb024c_0
  - cudnn=7.6.5=cuda10.1_0
  - cupti=10.1.168=0
  - cycler=0.10.0=py37_0
  - dbus=1.13.16=hb2f20db_0
  - expat=2.2.9=he6710b0_2
  - fontconfig=2.13.0=h9420a91_0
  - freetype=2.10.2=h5ab3b9f_0
  - glib=2.63.1=h5a9c865_0
  - google-pasta=0.2.0=py_0
  - grpcio=1.31.0=py37hf8bcb03_0
  - gst-plugins-base=1.14.0=hbbd80ab_1
  - gstreamer=1.14.0=hb453b48_1
  - h5py=2.10.0=py37hd6299e0_1
  - hdf5=1.10.6=hb1b8bf9_0
  - icu=58.2=he6710b0_3
  - intel-openmp=2020.1=217
  - jpeg=9b=h024ee3a_2
  - keras=2.3.1=0
  - keras-applications=1.0.8=py_1
  - keras-base=2.3.1=py37_0
  - keras-preprocessing=1.1.0=py_1
  - kiwisolver=1.2.0=py37hfd86e86_0
  - lcms2=2.11=h396b838_0
  - libedit=3.1.20191231=h14c3975_1
  - libffi=3.2.1=hd88cf55_4
  - libgcc-ng=9.1.0=hdf63c60_0
  - libgfortran-ng=7.3.0=hdf63c60_0
  - libpng=1.6.37=hbc83047_0
  - libprotobuf=3.13.0=hd408876_0
  - libstdcxx-ng=9.1.0=hdf63c60_0
  - libtiff=4.1.0=h2733197_1
  - libuuid=1.0.3=h1bed415_2
  - libxcb=1.14=h7b6447c_0
  - libxml2=2.9.10=he19cac6_1
  - lz4-c=1.9.2=he6710b0_1
  - markdown=3.2.2=py37_0
  - matplotlib=3.3.1=0
  - matplotlib-base=3.3.1=py37h817c723_0
  - mkl=2020.1=217
  - mkl-service=2.3.0=py37he904b0f_0
  - mkl_fft=1.1.0=py37h23d657b_0
  - mkl_random=1.1.1=py37h0573a6f_0
  - ncurses=6.2=he6710b0_1
  - ninja=1.10.0=py37hfd86e86_0
  - nodejs=10.13.0=he6710b0_0
  - numpy-base=1.19.1=py37hfa32c7d_0
  - olefile=0.46=py37_0
  - openssl=1.1.1k=h27cfd23_0
  - pcre=8.44=he6710b0_0
  - pillow=7.2.0=py37hb39fc2d_0
  - pip=20.2.2=py37_0
  - protobuf=3.13.0=py37hf484d3e_0
  - pycparser=2.20=py_2
  - pyparsing=2.4.7=py_0
  - pyqt=5.9.2=py37h05f1152_2
  - python=3.7.4=h265db76_1
  - python-dateutil=2.8.1=py_0
  - pytorch=1.4.0=cuda101py37h02f0884_0
  - pytz=2020.1=py_0
  - pyyaml=5.3.1=py37h7b6447c_1
  - qt=5.9.7=h5867ecd_1
  - readline=7.0=h7b6447c_5
  - seaborn=0.9.0=py37_0
  - setuptools=49.6.0=py37_0
  - sip=4.19.8=py37hf484d3e_0
  - six=1.15.0=py_0
  - sqlite=3.33.0=h62c20be_0
  - tensorflow-base=1.14.0=gpu_py37he45bfe2_0
  - tensorflow-gpu=1.14.0=h0d30ee6_0
  - tk=8.6.10=hbc83047_0
  - torchvision=0.2.1=py37_0
  - tornado=6.0.4=py37h7b6447c_1
  - werkzeug=1.0.1=py_0
  - wheel=0.34.2=py37_0
  - wrapt=1.12.1=py37h7b6447c_1
  - xz=5.2.5=h7b6447c_0
  - yaml=0.2.5=h7b6447c_0
  - zlib=1.2.11=h7b6447c_3
  - zstd=1.4.5=h9ceee32_0
  - pip:
    - atomicwrites==1.3.0
    - attrs==19.3.0
    - backcall==0.1.0
    - bagnets==0.1
    - bleach==3.1.0
    - boto3==1.10.0
    - botocore==1.13.0
    - brain-score==0.2
    - brainio==0.1.0
    - brainio-base==0.1.0
    - brainio-collection==0.1.0
    - cached-property==1.5.2
    - cftime==<IP_ADDRESS>
    - chardet==3.0.4
    - dask==2.6.0
    - dcgan==0.1
    - decorator==4.4.0
    - defusedxml==0.6.0
    - docutils==0.15.2
    - dotmap==1.3.17
    - efficientnet-pytorch==0.7.0
    - entrypoints==0.3
    - fire==0.2.1
    - fixing-the-train-test-resolution-discrepancy-scripts==1.0
    - gast==0.2.2
    - gitdb2==2.0.6
    - gitpython==3.0.4
    - idna==2.8
    - imageio==2.6.1
    - importlib-metadata==0.23
    - ipykernel==5.1.3
    - ipython==7.8.0
    - ipython-genutils==0.2.0
    - ipywidgets==7.5.1
    - jedi==0.15.1
    - jinja2==2.10.3
    - jmespath==0.9.4
    - joblib==0.14.0
    - json5==0.9.4
    - jsonschema==3.1.1
    - jupyter==1.0.0
    - jupyter-client==5.3.4
    - jupyter-console==6.0.0
    - jupyter-core==4.6.0
    - jupyterlab==2.1.0
    - jupyterlab-server==1.1.0
    - latexcodec==2.0.1
    - littleutils==0.2.2
    - markupsafe==1.1.1
    - mistune==0.8.4
    - mock==3.0.5
    - model-tools==0.1.0
    - more-itertools==7.2.0
    - nbconvert==5.6.0
    - nbformat==4.4.0
    - netcdf4==<IP_ADDRESS>
    - networkx==2.5
    - notebook==6.0.1
    - numpy==1.16.5
    - opt-einsum==3.3.0
    - outdated==0.2.1
    - packaging==19.2
    - pandas==1.3.2
    - pandas-flavor==0.2.0
    - pandocfilters==1.4.2
    - parso==0.5.1
    - patsy==0.5.2
    - peewee==3.11.2
    - pexpect==4.7.0
    - pickleshare==0.7.5
    - pingouin==0.5.0
    - pluggy==0.13.0
    - prometheus-client==0.7.1
    - prompt-toolkit==2.0.10
    - ptyprocess==0.6.0
    - py==1.8.0
    - pybtex==0.22.2
    - pygments==2.4.2
    - pymongo==3.9.0
    - pyrsistent==0.15.4
    - pytest==5.2.1
    - pywavelets==1.1.1
    - pyzmq==18.1.0
    - qtconsole==4.5.5
    - requests==2.22.0
    - s3transfer==0.2.1
    - scikit-image==0.17.2
    - scikit-learn==0.21.3
    - scipy==1.7.1
    - send2trash==1.5.0
    - sklearn==0.0
    - smmap2==2.0.5
    - statsmodels==0.13.0
    - tabulate==0.8.9
    - tensorboard==1.15.0
    - tensorflow==1.15.0
    - tensorflow-estimator==1.15.1
    - termcolor==1.1.0
    - terminado==0.8.2
    - testpath==0.4.2
    - texture-vs-shape==0.1.0
    - tfutils==0.2.dev1
    - tifffile==2020.9.3
    - tnn==0.0.0
    - toolz==0.10.0
    - tqdm==4.45.0
    - traitlets==4.3.3
    - unsup-vvs==0.1.0
    - urllib3==1.25.6
    - wcwidth==0.1.7
    - webencodings==0.5.1
    - widgetsnbextension==3.5.1
    - xarray==0.17.0
    - zipp==0.6.0

Note that I installed pytorch and tensorflow via conda, did you do the same? Or pip install?


Fix(plugins): Raise AnsibleFilterError when range is invalid

Change Summary

raise when in any range the first id is bigger than the last (if they are == it is still valid even if very convoluted way of writing things)
Update unit tests to verify it raises
Move filter unit tests to the correct folder for expand_range

Related Issue(s)
Fixes #3161
Component(s) name
plugins
Proposed changes
cf Summary
How to test
Unit tests added
Checklist
Repository Checklist

[x] My code has been rebased from devel before I start
[x] I have read the CONTRIBUTING document.
[x] My change requires a change to the documentation and documentation have been updated accordingly.
[x] I have updated molecule CI testing accordingly. (check the box if not applicable)

I suggest making this part of the other range PR we have.

I suggest making this part of the other range PR we have.

probably best to have the tests in place before refactoring? To make sure we don't omit this


Bug: lualine appears on dashboard filetype even if I set it to be disable

Self Checks

[x] I'm using the latest lualine.
[x] I didn't find the issue in exsisting issues or prs.

How to reproduce the problem

install dashboard-nvim plugin
https://github.com/glepnir/dashboard-nvim
Expected behaviour
Disable lualine for dashboard
Actual behaviour
Lualine appears on dashboard filetype

Minimal config to reproduce the issue
packer.lua
use 'nvim-lualine/lualine.nvim'
use 'glepnir/dashboard-nvim'

lualine.lua
require'lualine'.setup({
        options = {
                theme = 'nord', -- nightfly, nord, grubbox_dark, material, tokyionight
        },
        disabled_filetypes = {
                statusline = { 'dashboard' },
                winbar = { 'dashboard' }
        },
        sections = {
                lualine_a =  { 'mode' },
                lualine_b = { 'branch' },
                lualine_c = { 'filename' },
                lualine_x = { '' },
                lualine_y = { 'filetype' },
                lualine_z = { 'progress' }
        },
        inactive_sections = {
                lualine_a = {},
                lualine_b = {},
                lualine_c = {},
                lualine_x = {},
                lualine_y = {},
                lualine_z = {}
        },
        extensions = { 'nvim-tree', 'fugitive', 'fzf', 'quickfix' }
})

Config
<!--
  =================
  ### IMPORTENT ###
  =================
<p>You need to provide a way to reproduce the issue without influence
of other plugins.
Issues without proper format and a proper way to
reproduce might be ignored.
This script can help you with that.
https://github.com/nvim-lualine/lualine.nvim/blob/master/scripts/nvim_isolated_conf.sh
Create an isolated config directory with:
`nvim_isolated_conf.sh -c DirectoryName`

Then modify the DirectoryName/.config/nvim/init.vim
so you can reproduce the issue .
You can load the config to see if the issue is occuring with
`nvim_isolated_conf.sh -l DirectoryName`

Paste the DirectoryName/.config/init.vim without comments below
-->

Aditional information

I tried both and same issue.
I forgot to mention it sorry.


text to speech converter Hactoberfest2023

i have made java text to speech converter using netbeans and  freetts library hope this helps :).
texttospeech.java.txt


Fix traces sampler

After migrating to the OTel collector SDK we broke trace sampling. This PR adds the sampling functionality back in, but we need to follow-up with a PR which enables the same thing for the Alloy component. @marctc maybe you know how we can do this with Alloy?
It wasn't simple matter of enabling what we do for enabled internal metrics. What that does is actually enable the collector SDK to generate spans about pushes to v1/metrics, in which case it internally uses the OTel Go SDK and generates the memory and CPU intensive Span objects. So all that configuration about batching etc, is purely for the internal metrics.
Having fixed this, it makes me wonder actually do we do any batching or timeouts with the collector trace SDK?

Codecov Report
Attention: Patch coverage is 85.18519% with 4 lines in your changes missing coverage. Please review.

Project coverage is 53.12%. Comparing base (84767c1) to head (643ab7b).

Files with missing lines
Patch %
Lines

pkg/export/otel/traces.go
85.18%
2 Missing and 2 partials :warning:

:exclamation:  There is a different number of reports uploaded between BASE (84767c1) and HEAD (643ab7b). Click for more details.
HEAD has 3 uploads less than BASE

Flag
BASE (84767c1)
HEAD (643ab7b)

oats-test
1
0

k8s-integration-test
1
0

integration-test
1
0

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1240       +/-   ##
===========================================
- Coverage   72.97%   53.12%   -19.86%
===========================================
  Files         136      137        +1
  Lines       11466    11489       +23
===========================================
- Hits         8367     6103     -2264
- Misses       2436     4989     +2553
+ Partials      663      397      -266

Flag
Coverage Δ

integration-test
?

k8s-integration-test
?

oats-test
?

unittests
53.12% <85.18%> (?)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

but we need to follow-up with a PR which enables the same thing for the Alloy component. @marctc maybe you know how we can do this with Alloy?

I'd expect that behavior is done by chaining OTEL components using something like https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.processor.tail_sampling/. Unless we want to make Beyla component the one that already emits sampled traces.


No matching ActionLib Distribution

When I run conda env create -f lane_environment.yml I get the following error: Collecting actionlib==1.11.7 Could not find a version that satisfies the requirement actionlib==1.11.7
If actionlib is required for this, can you maybe update the environment file with another compatible version?
Thanks

I too getting the same issue

You should be able to remove actionlib from the environment file without issue - it's actually related to ROS. If it still isn't working for you, I'll try to look into cutting down the environment file to just the bare necessities over the next couple of weeks.

I get the same problem, some else file also could not be found,. I am trying to work on ubuntu

I'm going to try at some point to narrow down the environment file to just what is truly need to run the code as is, so hopefully that will (years later :) ) help with this.

Hi all! Finally closing this one out as I've vastly simplified the environment file, and it should now be much easier to fix any issues that arise - it now only includes the seven primary libraries used in the code.


Python2: GUI crashes when folder name contains unicode character

Tested with a folder called 你好.

Python 2 is not supported anymore.


Remove shell syntax highlighting from some outputs

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/0724f74eb9b7fc50d7d0f0caf33a4750ed1799bf/
Edited pages:

v1.0/build-a-go-app-with-cockroachdb-gorm.md
v1.0/build-a-go-app-with-cockroachdb.md
v1.0/build-a-nodejs-app-with-cockroachdb.md
v1.0/build-a-python-app-with-cockroachdb.md
v1.0/build-a-ruby-app-with-cockroachdb.md
v1.1/build-a-go-app-with-cockroachdb-gorm.md
v1.1/build-a-go-app-with-cockroachdb.md
v1.1/build-a-nodejs-app-with-cockroachdb.md
v1.1/build-a-python-app-with-cockroachdb.md
v1.1/build-a-ruby-app-with-cockroachdb.md
v19.1/build-a-go-app-with-cockroachdb.md
v19.1/build-a-ruby-app-with-cockroachdb.md
v19.2/build-a-go-app-with-cockroachdb.md
v19.2/build-a-ruby-app-with-cockroachdb-activerecord.md
v19.2/build-a-ruby-app-with-cockroachdb.md
v2.0/build-a-go-app-with-cockroachdb-gorm.md
v2.0/build-a-go-app-with-cockroachdb.md
v2.0/build-a-ruby-app-with-cockroachdb.md
v2.1/build-a-go-app-with-cockroachdb-gorm.md
v2.1/build-a-go-app-with-cockroachdb.md
v2.1/build-a-ruby-app-with-cockroachdb.md
v20.1/build-a-go-app-with-cockroachdb.md
v20.1/build-a-ruby-app-with-cockroachdb.md


Remove .vscode

Itsd recomended to remove personal config files from your project

they aren't personal settings rather makes some formatting restrictions so all developers have the same settings

Format on paste and format on save are both entirely personal. I can understand the formatter, however the rest are entirely personal settings

I'm gonna move this to a new PR for ease


[Errno 2] No such file or directory: '\VOCdevkit\VOC2007\ImageSets\Main\trainval.txt'

I check file is present .... why this showed to me ....  and also others are 👍
[Errno 2] No such file or directory: '\VOCdevkit\VOC2007\ImageSets\Main\trainval.txt'
File "C:/Users/Semab Ali/Downloads/keras-frcnn-master/train_frcnn.py", line 79, in
[Errno 2] No such file or directory: '\VOCdevkit\VOC2007\ImageSets\Main\test.txt'
all_imgs, classes_count, class_mapping = get_data(options.train_path)
File "C:\Users\Semab Ali\Downloads\keras-frcnn-master\keras_frcnn\pascal_voc_parser.py", line 46, in get_data
annots = [os.path.join(annot_path, s) for s in os.listdir(annot_path)]

FileNotFoundError: [WinError 3] The system cannot find the path specified: '\VOCdevkit\VOC2007\Annotations'

@yhenon @Ajk4  @NathanYee  @kevinkit

try to replace the relative path with absolute path. If that works, it is a problem about path

Are you sure you have the 2007 set? I just saw a similar error, but it turned out that is because I only have the 2012 set. The instructions only mention that, but the code does seem to require both years.

@SemabAli
You can modify the code to have either voc2007 or voc2012 if you only have one dataset.
The are both in voc data format, so make sure the format is correct before test.
Just follow the processing in debug mode to see which files are missing.

@shuuchen  it worked by changing relative path to absolute path  ....  one more thing can i made this to detect objects in videos ....?

@SemabAli
Just use opencv to convert your videos to images.
The trained model can be downloaded from
https://github.com/yhenon/keras-frcnn/issues/23#issuecomment-299265366

@shuuchen     i want to train using simple parser
C:\Users\Semab Ali\Desktop\DATASET PREPARATION\image000002.jpg, 201, 118, 233 ,138 , car
C:\Users\Semab Ali\Desktop\DATASET PREPARATION\image000003.jpg, 413, 251, 475 ,319 , car
C:\Users\Semab Ali\Desktop\DATASET PREPARATION\image000003.jpg, 110, 133, 156 , 159, car
this gave me error      "ValueError: not enough values to unpack (expected 6, got 5)"
but  this runs without errors
C:\Users\Semab Ali\Desktop\DATASET PREPARATION\image000002.jpg, 201, 118, 233 ,138 , car
C:\Users\Semab Ali\Desktop\DATASET PREPARATION\image000003.jpg, 413, 251, 475 ,319 , car
i didnot understand the reason


Using Kenlm with wav2vec model in huggingface

I tried using the convert_wav2vec2_original_pytorch_checkpoint_to_pytorch to export the my trained model with the kenlm to huggingface. Though exporting alone the trained model gives same performance locally and on huggingface, Using the model with language model doesn't give same performance as local but moreover degrades it. Can you please help with this

Got the issue sorted the problem was with preprocessing code


Increase ssh tunnel's kChunkSize for faster reads

This greatly reduces the hangs we are sometimes seeing on capture
stop. The real cause is the fact that the tunnel is updated on the ui
thread, which shouldn't be the case as it can being drastically delayed
by a long render frame.
See b/172686811

Should this actually go into release/1.55 or only master at this point?

Should this actually go into release/1.55 or only master at this point?

Ah right, this is actually targeting the release branch...

Right - this should go to master.

Per discussion with @pierricgimmig, this should now actually go into release/1.55.