安装时找不到  triton==1.0.0

aigc@ewesion-ubuntu:~/Fengshenbang-LM$ pip3 install --editable .
Defaulting to user installation because normal site-packages is not writeable
Obtaining file:///home/aigc/Fengshenbang-LM
Preparing metadata (setup.py) ... done
Collecting transformers>=4.17.0
Using cached transformers-4.26.0-py3-none-any.whl (6.3 MB)
Collecting datasets>=2.0.0
Using cached datasets-2.9.0-py3-none-any.whl (462 kB)
Requirement already satisfied: pytorch_lightning>=1.5.10 in /home/aigc/.local/lib/python3.10/site-packages (from fengshen==0.0.1) (1.8.2)
Collecting deepspeed==0.5.10
Using cached deepspeed-0.5.10.tar.gz (515 kB)
Preparing metadata (setup.py) ... done
Collecting jieba-fast>=0.53
Using cached jieba_fast-0.53.tar.gz (7.5 MB)
Preparing metadata (setup.py) ... done
Collecting jieba>=0.40.0
Using cached jieba-0.42.1.tar.gz (19.2 MB)
Preparing metadata (setup.py) ... done
Collecting hjson
Using cached hjson-3.1.0-py3-none-any.whl (54 kB)
Collecting ninja
Using cached ninja-1.11.1-py2.py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (145 kB)
Requirement already satisfied: numpy in /home/aigc/.local/lib/python3.10/site-packages (from deepspeed==0.5.10->fengshen==0.0.1) (1.23.4)
Requirement already satisfied: packaging in /home/aigc/.local/lib/python3.10/site-packages (from deepspeed==0.5.10->fengshen==0.0.1) (21.3)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/psutil/
Collecting psutil
Using cached psutil-5.9.4-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (280 kB)
Collecting py-cpuinfo
Using cached py_cpuinfo-9.0.0-py3-none-any.whl (22 kB)
Requirement already satisfied: torch in /home/aigc/.local/lib/python3.10/site-packages (from deepspeed==0.5.10->fengshen==0.0.1) (1.12.1+cu113)
Requirement already satisfied: tqdm in /home/aigc/.local/lib/python3.10/site-packages (from deepspeed==0.5.10->fengshen==0.0.1) (4.64.1)
INFO: pip is looking at multiple versions of fengshen to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement triton==1.0.0 (from deepspeed) (from versions: 2.0.0.dev20221030, 2.0.0.dev20221031, 2.0.0.dev20221101, 2.0.0.dev20221103, 2.0.0.dev20221105, 2.0.0.dev20221117, 2.0.0.dev20221120, 2.0.0.dev20221202)
ERROR: No matching distribution found for triton==1.0.0
[notice] A new release of pip available: 22.3.1 -> 23.0
[notice] To update, run: pip install --upgrade pip

window下吗？可以用linux试试

如果找不到，triton = 2.0.0 版本我们也测试过没问题的。
triton-pre-mlir              2.0.0

This is an automatic reply, confirming that your e-mail was received. Thank you.--------------------------------------------Best WishesWenxue Ye.


Zipkin bringing the application down

Hi All,
We have got an issue where if the zipkin-collector is throwing 500 errors due to slowness or huge load, it getting the spring boot application down. Calls are async but application is crashing when there are lot of 500 errors.
Chrome/59.0.3071.115 Safari/537.36" <IP_ADDRESS>:51037 x_forwarded_for:"-" x_forwarded_proto:"https" vcap_request_id:b10dd514-fc80-4806-58c3-d14e726fe154 response_time:1.157678941 app_id:9aa98259-a95e-461b-921e-035f7ad41ef8
2017-08-03T14:17:49.96-0700 [RTR/3] OUT
2017-08-03T14:17:52.68-0700 [APP/1] OUT org.springframework.web.client.HttpServerErrorException: 500 null
2017-08-03T14:17:52.68-0700 [APP/1] OUT     at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:66)
2017-08-03T14:17:52.68-0700 [APP/1] OUT     at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:653)
2017-08-03T14:17:52.68-0700 [APP/1] OUT     at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:628)
2017-08-03T14:17:52.68-0700 [APP/1] OUT     at org.springframework.cloud.sleuth.zipkin.RestTemplateSender.post(RestTemplateSender.java:73)
2017-08-03T14:17:52.68-0700 [APP/1] OUT     at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:700)
2017-08-03T14:17:52.68-0700 [APP/1] OUT     at java.lang.Thread.run(Thread.java:745)
2017-08-03T14:17:52.68-0700 [APP/1] OUT     at org.springframework.cloud.sleuth.zipkin.RestTemplateSender.sendSpans(RestTemplateSender.java:46)
2017-08-03T14:17:52.68-0700 [APP/1] OUT     at zipkin.reporter.AsyncReporter$BoundedAsyncReporter.flush(AsyncReporter.java:228)
2017-08-03T14:17:52.68-0700 [APP/1] OUT     at zipkin.reporter.AsyncReporter$Builder.lambda$build$0(AsyncReporter.java:153)
2017-08-03T14:17:52.68-0700 [APP/1] OUT 2017-08-03 14:17:52.682 [AsyncReporter(org.springframework.cloud.sleuth.zipkin.RestTemplateSender@50554539)] WARN  [,,] z.r.AsyncReporter$BoundedAsyncReporter - :[onError]: - Dropped 3 spans due to HttpServerErrorException(500 null)

We testing the application by bringing the zipkin node downs, till now the calls are good and application is up. will test for another hour and if no issues are observed will close the issue.

Is it really bringing the application down? The async reporter just throws an exception and that's it, right? We have a bounded queue so at some point the spans will get dropped.

Raised https://github.com/openzipkin/zipkin-reporter-java/issues/55 as I
think we shouldn't be logging a warning like this (as we're already
incrementing a counter and a surge could fill logs)

Looks good after the testing


Migrate index creation from nbdev-index

This PR adds the function create_index, which has been migrated from the nbdev-index repo. Additionally, a change was made to this index creation to allow for built-ins to be properly indexed from python's standard lib. However, in order to use this function Sphinx needs to be installed (pip install sphinx). It has been made an optional dependency, but has been added to the dev requirements in order for CI/CD to work. This PR is a dependency for the PR that I have in nbdev-index. So, I think the order will matter here - you'll need to merge this one first, and then nbdev-index will need to be merged.

@jph00 not sure why this one CI test is running for so long. Any ideas?

@jph00 not sure why this one CI test is running for so long. Any ideas?

Just manually restarted it.

Weird. Seems to be stuck in the same place. I'll merge this and check locally. BTW I think the nb changes you made won't look great in the docs -- maybe you can clean up that a bit so this new functionality has clearer documentation and easier to understand tests?


LSP support for Objeck

Basic LSP messages like 'hover', 'didchange', 'didsave' and 'publishdiagnostics' all work fine. When I try to search symbols, I get an error stating that the LSP server is not running; however, it is. Any ideas?
Last, when edits are made, are files locked until they are saved? I get an error that I cannot read the file, but once saved (and I reread) behavior returns to normal. I code around this. However, I have run into this issue with other editors.

When I try to search symbols, I get an error stating that the LSP server is not running; however, it is. Any ideas?

That's the message you'll get when the server closed unexpectedly (crashed). ecode logs with -ldebug flag should help you, sometimes the server report the issues. Or you might debug the LSP server by running it manually and testing it with TCP instead of stdio.

Last, when edits are made, are files locked until they are saved?

No locks, edits are only in-memory operations.

I get an error that I cannot read the file, but once saved (and I reread) behavior returns to normal.

Mmmhh... the LSP server should never read the file from the disk. It should keep the document state in memory and apply the changes required from the client. That's probably an incorrect implementation. LSP servers must be able to work without direct access to the file system, the protocol is designed in that way to allow the server to run separately from the client.

Fixed the issue https://github.com/objeck/objeck-lsp/commit/a7569dfdf8f907ffa97ecea826a7049d2800e756

Thank you, I fixed the issue objeck/objeck-lsp@a7569df. I had a dependency on an option parameter.

BTW - I do reread from disk when I get a save message from the client. It is a sync point for the memory document in use.

Great that you were able to fix it with a minor patch!
Regarding the textDocument/didSave capability you might be able to sort the issue by requesting the client to send the document text with the event, setting the server capability  includeText as true and then processing the text field sent by the client as the document synchronization.


NFV mode

Currently set up for the multicast group, but needs to be slightly different to do NFV

Make socket promiscuous instead of on the multicast group (easy)
Remember the dest_mac we receive and return packets to that dest_mac instead of the multicast group

This is kind of working - for one port it's ok, needs to spin up a state machine for each port I guess


Adding last batch policy for image loaders

Adding last batch policy for image loaders
Supports FILL, DROP and PARTIAL last batch policies

@SundarRajan28 can you resolve the comments? We need to merge this to mark multi-node as complete

@rrawther I have addressed the review comments. Removed the last batch parameters from Context and Pipeline and added them to decoders.py. Please check.

@kiritigowda Can we merge this. Required for multi-node


Complex Serialisation

This is a first draft on complex type serialisation #6. The code is in heavy development and a complete mess.
To be as maintainable as possible the macro creates internal structs and uses the serde::Serialize macro for serialisation, where possible.
Implementation State
Serialisation:

[x] Unit Modus (serialize as an integer type)
[x] Externally Tagged ({"42": { ... }})
[x] Internally Tagged ({"tag": 42, ... })
[x] Adjacently Tagged ({"tag": 42, "content": {...}})

Deserialisation:

[x] Unit Modus (deserialize as an integer type)
[x] Externally Tagged ({"42": { ... }})
[ ] Internally Tagged ({"tag": 42, ... })
[ ] Adjacently Tagged ({"tag": 42, "content": {...}})

Changes in Behavior of the Previous Macro
I have not found any
Internal Changes of generated Code

Uses the expression of the variant instead of casting, since this is not possible with non unit variants
The Unit case is reimplemented, with some minor changes.

Serialisation is now fully functional, I will continue working on deserialisation, but this will be harder since i need to work with visitors.

I also introduced the `const_format``crate, since it is the only way for me to create a compiletime static string from an const expression.

@dtolnay I hope its okay if I ping you here, I would really appreciate some input from your side.

Also, i know the code is a complete mess rn, but there are a lot of cases to cover, while beeing heavily codependent, but I will look into modularizing this suff once all represenations are covered.

I decided to implement this in the main serde derive macro, since there are a lot of edge cases. With this full support should be garanteed. https://github.com/serde-rs/serde/pull/2354


[Feature] [terraform] Elastic Defend integration configuration

Is your feature request related to a problem? Please describe.
Using elasticstack_fleet_integration_policy works well for standard TCP / logs integration, as showcased in the documentation, but for the Elastic Defend integration no custom configuration can be applied because of its structure.
Describe the resource you would like to have implemented.
We'd need some extension of the capabilities of the /api/fleet/package_policies/[integration ID] endpoint. We basically need an extension from the capabilities of https://github.com/elastic/terraform-provider-elasticstack/blob/main/internal/fleet/integration_policy_resource.go to support customization for Elastic Defend integration.
Describe the solution you'd like
I'd like to be able to customize the Elastic Defend integration with the elasticstack_fleet_integration_policy resource, the same way the UI offers:

Describe alternatives you've considered
There is currently no workaround with pure Terraform, as the API endpoint are simply not instrumented in the provider.
Additional context
Looking at what Kibana does when saving the integration through the UI, the custom settings of the Defend Integration look like this:
{
  "version": "WzU0NTAsMV0=",
  "name": "Defend integration",
  "namespace": "default",
  "description": "A sample integration policy",
  "package": {
    "name": "endpoint",
    "title": "Elastic Defend",
    "version": "8.13.0"
  },
  "enabled": true,
  "policy_id": "85ea0949-8d7b-4da0-bf2c-bbff166bbb72",
  "vars": {},
  "inputs": [
    {
      "type": "endpoint",
      "enabled": true,
      "config": {
        "integration_config": {},
        "artifact_manifest": {[some stuff]},
        "policy": {[some other stuff]}
      },
      "streams": []
    }
  ]
}

We don't currently have support for artifact_manifest and policy, but only the streams bit which is unused by the Defend integration.

@andrewkroh would you be able to help route this request. I believe your team developed the terraform provider. TIA
cc: @cmacknz

Looking at the API^1 in Kibana, config is listed as an object so it would make sense for the elasticstack_fleet_integration_policy^2 resource to support config_json as a parameter for the input blocks.
The API doesn't have a description for config and apart from this one use-case for Endpoint, I haven't never seen it. So we need one from Fleet to describe it for the Terraform documentation.
Adding it to the code here is probably not a big task.

Any plans to implement this in the near term?

Any plans to implement this in the near term? @henurah

Unfortunately at the moment there's no target delivery of this enhancement


Sub-project idea. highj-generalized-mtl

I have made a small start on highj-js-monad, a JavaScript generation monad (JS<> being the replacement for IO<>). But this small start may become big when I've auto-generated all the FFI from Web IDL and XML documentation to get a nice JavaScript Prelude going.
The problem I run into now is that none of the monad transformers will work, because they use products (T2) and co-products (Either) from the Java world. When for the JavaScript monad I really need them to use JST2 and JSEither. So I need a way to switch which data types are being used for products and coproduct in the monad transformers, thus generalized monad transformers for code generation monads.
Such a sub-project library would be very nice as it would provide:
highj + {langX Monad} -> langX
or in my case
highj + {JavaScript Monad} -> JavaScript. Making highj an alternative to Scala.js and PureScript.
As an example of what I mean by generalized mtl, here is our current StateT in PureScript to keep things short.
newtype StateT s m a = StateT (s -> m (Tuple a s))
and to make it generalized I'd parameterize the Tuple.
newtype StateT p s m a = StateT (s -> m (p a s))
and now StateT works for any code generation monad targeting any language. Which would make the combination of highj and Java become language agnostic.

I will go forward with this later. Closing for now.


[android] - onShouldStartLoadWithRequest - form action=url method=post

Bug description:
On Android OS onShouldStartLoadWithRequest isn't called when using submit button on the following HTML (example).
User is navigated but I can't handle how this URL is being opened while I would like it to be opened by OS web browser.
<form action="https://any-url.com" method="POST">
 <input name="test" value="testValue"/>
 <button type="submit">SUBMIT</button>
</form>

Is there any way to handle it and open OS web browser?
Environment:

OS: Android
react-native version: 0.62.*
react-native-webview version: 10.*

+1 @tero-paananen any advice would be appreciated

+1 I can confirm we experience the same problem. We use 10.7.0

We still have this issue in version 11.23.1, please open again.

still have the issue.


Video and logs location

Please tell me where the uploaded videos are stored, as well as all the logs?
my docker-compose.yml
volumes:
      - cvat_data:/home/django/data
      - cvat_keys:/home/django/keys
      - cvat_logs:/home/django/logs
      - cvat_models:/home/django/models

but nothing is saved along these paths

find at /var/lib/docker/volumes/cvat_cvat_data/_data/data/


Use redial on the client when the server shuts down for an update.

Description
This would allow clients to restart and automatically connect to the server when it shuts down for an update.

pretty sure it does now


Delete Recordings for CallingServerClient

All SDK Contribution checklist:
This checklist is used to make sure that common guidelines for a pull request are followed.

[x] Please open PR in Draft mode if it is:

Work in progress or not intended to be merged.
Encountering multiple pipeline failures and working on fixes.

[ ] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[x] I have read the contribution guidelines.
[x] The pull request does not introduce breaking changes.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[ ] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code. (Track 2 only)
[ ] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK. Please double check nuget.org current release version.

Additional management plane SDK specific contribution checklist:
Note: Only applies to Microsoft.Azure.Management.[RP] or Azure.ResourceManager.[RP]

[ ] Include updated management metadata.
[ ] Update AzureRP.props to add/remove version info to maintain up to date API versions.

Management plane SDK Troubleshooting

If this is very first SDK for a services and you are adding new service folders directly under /SDK, please add new service label and/or contact assigned reviewer.

If the check fails at the Verify Code Generation step, please ensure:

Do not modify any code in generated folders.
Do not selectively include/remove generated files in the PR.
Do use generate.ps1/cmd to generate this PR instead of calling autorest directly.
Please pay attention to the @microsoft.csharp version output after running generate.ps1. If it is lower than current released version (2.3.82), please run it again as it should pull down the latest version.

Note: We have recently updated the PSH module called by generate.ps1 to emit additional data. This would help reduce/eliminate the Code Verification check error. Please run following command:
  `dotnet msbuild eng/mgmt.proj /t:Util /p:UtilityName=InstallPsModules`

Old outstanding PR cleanup
Please note:
If PRs (including draft) has been out for more than 60 days and there are no responses from our query or followups, they will be closed to maintain a concise list for our reviewers.

Can you also create apiview for this and link in the PR :)

API changes have been detected in this PR. You can review API changes here
API changes
+         public virtual Response DeleteRecording(Uri deleteEndpoint, CancellationToken cancellationToken = default);
+         public virtual Task<Response> DeleteRecordingAsync(Uri deleteEndpoint, CancellationToken cancellationToken = default);

This should not be merged into main, but rather a feature branch. Since this branch is ahead of the feature branch, closing and moving to https://github.com/Azure/azure-sdk-for-net/pull/24307 to avoid issues with git history


Make it a template repository

https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-template-repository

Hi. I initially thought about doing that, but GitHub's templating support is not good enough when it comes to customization. For instance, I would like to offer the user a choice between having a grammar or just an LSP for the extension. But I will re-evaluate that decision if it makes things easier for the end user.

My bad, I didn't know about cargo-generate. I initially thought it was based on "Liquid" because of extension.toml.liquid, which doesn't seem to target end users. So ended up replacing all the {{ template variables }} manually. 🫠
The repo tag is easy to miss, maybe you could change the "About" of the repo to:

A cargo-generate template for creating a new extension for Zed editor

The repo tag is easy to miss, maybe you could change the About of the repo to:

Yeah, that's a good idea! Changed that.

My bad, I didn't know about cargo-generate. I initially thought it was based on "Liquid" because of extension.toml.liquid, which doesn't seem to target end users. So ended up replacing all the {{ template variables }} manually. 🫠

I still wonder how to make this repo available for GitHub's templating feature, as that would make it easier to start your own Zed extension. Probably by using different branches or something else.


Auth style probing results in AWS Cognito invalid grant

Traefik Forward Auth appears to be utilising the default behaviour of the underlying Golang oauth2 library (https://github.com/golang/oauth2/blob/master/internal/token.go#L188) and attempts to detect the auth style by sending multiple probes. The probing appears to be incompatible with AWS Cognito and results in an invalid grant (HTTP response 400) on the second auth style probe.
Would it be possible to add support for a new environment variable (https://github.com/thomseddon/traefik-forward-auth/blob/master/internal/provider/generic_oauth.go#L42 - auth style parameter) to set the Golang oauth2 auth style (https://github.com/golang/oauth2/blob/f6687ab2804cbebdfdeef385bee94918b1ce83de/clientcredentials/clientcredentials.go#L106)?

Yes indeed, good idea, we already have "TokenStyle" to "AuthStyle" could work similarly

Hey guys, I started working on this issue as I urgently need to use traefik-forward-auth with Cognito OIDC.
This is my first shot: https://github.com/Obirah/traefik-forward-auth/commit/7daa87b0ea484d7a7850df8c637ffb1c1dc3d20c
However, I'm still a golang newbie and now I'm facing the problem that I'm getting an invalid_client error instead of the invalid_grant error whenever I'm setting one of the two explicit auth styles instead of "auto-detect" (0). It looks like client ID and secret are not sent at all when using those styles.
Do you have any idea what I'm doing wrong? If get this thing to work, I'll of course happily contribute the change.

Ok, I solved my problem. My changes are working, the error was caused by my redirect URL (I'm using AUTH_HOST) starting with http:// (I think because the traefik-forward-auth service uses http) which Cognito never accepts.
So, I simply had to add this Middleware to my auth host IngressRoute:
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
  name: add-https-headers
spec:
  headers:
    customRequestHeaders:
      X-Forwarded-Port: '443'
      X-Forwarded-Proto: https

I will provide a Pull Request for this issue shortly.

@Obirah I have your same issue, the callback is http, but I need https

For the time being I have modified the code and upload my own image:
func redirectBase(r *http.Request) string {
	return fmt.Sprintf("%s://%s", "https", r.Host)
}

Unfortunately I could not find any solution other than hard-code the https protocol

I'm using the following middlewares:
Authentication:
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
  name: forward-authentication
spec:
  forwardAuth:
    address: http:/my-forward-auth-service.my-forward-auth-namespace.svc:4181
    authResponseHeaders:
      - "X-Forwarded-User"
    trustForwardHeader: true

HTTPS:
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
  name: add-https-headers
spec:
  headers:
    customRequestHeaders:
      X-Forwarded-Port: '443'
      X-Forwarded-Proto: https

Composition of both:
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
  name: authenticate
spec:
  chain:
    middlewares:
      # Necessary to consistently stick with HTTPS URIs in the redirect ping-pong with Cognito.
      - name: my-forward-auth-namespace-add-https-headers@kubernetescrd
      - name: my-forward-auth-namespace-forward-authentication@kubernetescrd

I can add the last one (the authenticate Middleware) on any Ingress/IngressRoute and it will authenticate against Cognito. Please note, this will only work with my changes from this Pull Request and the <PROVIDER_NAME>_AUTH_STYLE set to header until @thomseddon merges my change. So ideally, you should pull my fork and create your own image.

Please note, when working with Cognito this will only work when using my changes from this Pull Request and the <PROVIDER_NAME>_AUTH_STYLE set to header

Aha, gotcha. Thanks man!


Fixing resource issue in daemonset

Daemon set is running out of resource for cpu

/ok-to-test
ok to test

test this please

test this please


Updated CPM to 0.40.2

required since the CPM uses fetchContent populate is depricated.

^^ @TheLartians


Ionic: Video and audio issue

When recording video plus audio in Android using ionic, there is a lot of lag in video and audio is completely missing. I am recording remote stream in a video call, when user stop recording it is saved in android file system.
    `var options = {
      mimeType: 'video/webm\;codecs=h264'
    };

    $scope.recordRTC = RecordRTC($scope.remoteVideoStream, options);
    $scope.recordRTC.startRecording();

    //for stoping record
    $scope.recordRTC.getDataURL(function (dataURL) {
        //save base64 data in file
    }`

Let me know if i am doing anything wrong

Did you try vp9/vp8?

Yes same issue, although lagging issue is better but it still lags and no audio.

Any suggestions??

Still an issue?

yes same issue while using vp9/vp8, video is lagging plus no audio.


Replaces inflection library

Replaces the github.com/go-openapi/inflect package with github.com/gertd/go-pluralize for improved handling when converting words between singular and plural.
Motivated by issue #3224.
This may result in breaking changes as some words will be spelled differently (e.g. AddCampusIDs instead of AddCampuseIDs).

Thank you for the suggestion, @henrywoody. Unfortunately, we cannot modify this library at this point, unless we have some type of migration plan for it.

This may result in breaking changes as some words will be spelled differently (e.g. AddCampusIDs instead of AddCampuseIDs).

To unblock you, we can address this issue separately for now. WDYT?

Hey @a8m, makes sense and I can help with the migration plan when the appropriate time comes. I currently just use sed to change the problematic names (in my case AddCampuseIDs) after running go generate, which is not too much of a hassle.
A smaller and non-breaking change could be to expose a way to add custom inflection rules. Ideally that would work in a more general way that is not exactly the same as the inflect library's API so that if we do swap libraries in the future we don't introduce another breaking change. What do you think? I can explore this.


feat(engine): set_replay_file during runtime

I can't git clone your branch with commit8478f61ace910586747e76fd403130dcfbddb5e0 for some reason. When I git clone by:
git clone --recursive https://github.com/zhc134/CityFlow.git
and check git log, the last two commits are:
commit 7f2cc2e1a31bcb2a8592ae2a3f54ddd02bae9e9d
Author: zhc134<EMAIL_ADDRESS>Date:   Thu Aug 29 15:55:01 2019 +0800

    docs: eng.reset() and replay (#30)

commit 04b36f62c14c6386648f918f3f0386a8236b65b5
Author: 이중건 Isaac Lee<EMAIL_ADDRESS>Date:   Thu Aug 29 16:07:34 2019 +0900

    fix(UI): support path starting with '/' (#28)

as you can see from the log, the commit that implements set_log_file is not included.
But when I download it as a zip file, the last commit that was missing is properly applied. I've never seen this kind of issue before. Do you think you have a clue?

@ThisIsIsaac
This feature is developed in a separate branch, try checkout issue-29 branch?

When I do git branch I only see master.
And I got the address from your branch:

which is: https://github.com/zhc134/CityFlow.git

Try
git fetch
git checkout issue-29

worked like charm! thanks!

I have successfully installed from issue-29 but I get:
>>> import cityflow
>>> cityflow.set_replay_file("hello.txt")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'cityflow' has no attribute 'set_replay_file'

from python 3.6.8

the API is bind to engine object.
try
eng = cityflow.Engine(config, 1)
eng.set_replay_file("path")


Fixes Node arrays appear as Object arrays in the inspector

Fixes: #75982

Hi @kleonc, could you please explain the purpose of the label cherrypick:4.0 that I have noticed on my PR on occasion? I checked the documentation, and it appears to describe a feature that can be incorporated into a stable branch after being merged into the master branch. Should I create a Pull Request to backport this feature to the current 4.0 branch, or is it best to leave this task to the team members?

Hi @kleonc, could you please explain the purpose of the label cherrypick:4.0 that I have noticed on my PR on occasion? I checked the documentation, and it appears to describe a feature that can be incorporated into a stable branch after being merged into the master branch. Should I create a Pull Request to backport this feature to the current 4.0 branch, or is it best to leave this task to the team members?

@nongvantinh It means that after merging this PR to the master branch (which currently is for 4.x (as of now future 4.1)) the changes should also be applied to the 4.0 branch (for the future 4.0.x version). From time to time a maintainer will look at such marked PRs and batch them together in a single PR, e.g. like in #76476.
If the code is the same between the branches then the commit can be cherry-picked as is, the same changes can be applied, and the maintainer will include such changes. If the differences are trivial then they will also likely apply them. Otherwise they'd write in the relevant PR that the PR/commit is not easily cherry-pickable and hence a separate dedicated PR is needed against the 4.0 branch.
So no further action is needed from you, unless you'll be asked for it. :slightly_smiling_face:

Thanks!

Cherry-picked for 4.0.3.


fix: migration to AuditBuilder

Please ensure your pull request adheres to the following guidelines:

[ ] make sure to link the related issues in this description
[ ] when merging / squashing, make sure the fixed issue references are visible in the commits, for easy compilation of release notes

Related Issues
Thanks for contributing!

:tada: This PR is included in version 1.12.7 :tada:
The release is available on:

v1.12.7
GitHub release

Your semantic-release bot :package::rocket:


fixed path for safe_format_and_mount in kubelet break coreos on gce

Hi,
Kubelet on gce is looking for safe_format_and_mount in /usr/share/google but in coreos the path is /usr/share/oem/google-startup-scripts/ on RO partition.
I must compile kubelet to reflect the new path, instead of setting a simple parameter.
Best regards

I would love to see this get fixed and willing to help. Given that #8530 was pushed to after 1.0, I would like to avoid the custom kubelet binary for all my deployments.
I could use some suggestions on how to best fix this? Would looking for safe_format_and_mount in /usr/share/oem/google-startup-scripts before /usr/share/google be a reasonable fix?

I am also seeing this problem on CoreOS/AWS. A kubelet command-line parameter for setting script path  would be nice.

+1
After a lengthy eval period, I think this is really the last impediment to us rolling out kubernetes across the board in our shop.

Yes, this is really a blocker for a lot of use cases with CoreOS on AWS :(

+1, ended up writing a CloudFormation setup that users my own custom build that cherry-picks #8530.

+1

+1

I believe we have now embedded equivalent code to safe_format_and_mount, so the script is no longer required (by kubelet, though e.g. kube-up uses it).  Closing.


Removed the specific versions from 'setup.py', making the package installable

Related to issue number #49
Also related to PR #36

Codecov Report

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

@@           Coverage Diff           @@
##           master      #50   +/-   ##
=======================================
  Coverage   95.46%   95.46%
=======================================
  Files          16       16
  Lines         618      618
=======================================
  Hits          590      590
  Misses         28       28

Continue to review full report at Codecov.

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

Hi, this issue has already been identified and the resulting fix has already been implemented in the dev branch. We plan to release the updated package soon.
So, we won't be merging this PR. Thanks for the contribution though!


Update cats-effect, cats-effect-laws to 3.3.1

Updates

org.typelevel:cats-effect
org.typelevel:cats-effect-laws

from 3.3.0 to 3.3.1.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel" } ]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #358.


How can I get a good result on the real scene

Hi, I use the nerfato method on desoltation dataset after 10w interations. The traning psnr is 25db, and the testing psnr is 20db. The result lost some detail and is blur. How can I get good result using nerfato method?

Hi，I use mobile phone to capture a indoor scene, and walk slowly ahead with my phone. The phone is alway facing forward, tooks a full circle path indoors. I use the ns-process-data to process this data. After processed, the dateset has 1020 frames. And then, I use  ns-train nerfacto --data {PROCESSED_DATA_DIR} to train the data, but the reslut of render image is blur with losting some details. testing psnr(20db) is lower than training psnr(28db).

Can you provide example example renders. Also a screenshot of the camera distribution (from the visualization in the viewer).

Thanks for your reply. Sorry I have not visualize the camera distribution in the viewer. The camera distribution is as shown in the following figure.

The white indicates the camera distribution, and the red indicates the camera orientation. The render
trajectory is the same as camera distribution.

If you are able to recapture the scene, you should try rotating as you walk through the scene in increase the number of angles that you view the scene.

I can get good result on this data using instant-ngp.  Is the nerfacto method not suitable this data?

If it works works with NGP it should also do reasonably well with nerfacto. Can you share an example of your results to make debugging easier?


Discover newer versions of dependencies than package.json allows

I originally asked about this on the discussion group and was told to file an issue:
http://groups.google.com/group/npm-/browse_thread/thread/8030a3a14767f906
Suppose I want to restrict the version of a dependency in my package.json, because newer versions might not be compatible with my code:
{
        ...
        "dependencies" {
                ...
                "mongoose": ">= 1.8.3 < 1.9"
                ...
        }
        ...
}

"npm outdated" and "npm update" won't tell me about the existence of versions of mongoose newer than 1.8.x, but eventually such a version will be released (in fact mongoose 2 is already out), and I will want to know about that, so that I can update my code to use that newer version. Possibly "npm outdated" and "npm update" could say "Hey, 2.1.3 is available, but I'm only gonna give you 1.8.4 cause that's what you asked for." Or there could be a new npm command to check for this.

Submitted a pull request https://github.com/isaacs/npm/pull/1638


Data node admin password truncated upon setup

After starting up Arachne via Docker, I was unable to log in with the default credentials. I connected to the Docker container running PostgreSQL and found that the password was truncated. See below:
arachne_datanode=# SELECT password FROM users;
 password
----------
 $2a$10
(1 row)

Updating the password fixes the issue:
arachne_datanode=# \x
Expanded display is on.
arachne_datanode=# SELECT password FROM users;
-[ RECORD 1 ]----
password | $2a$10

arachne_datanode=# UPDATE users SET password = '$2a$10$JrltmCF6zqvfdpZTYOTM0uByU1Cx9C3X0x0iRQFqlXX3bTOEsWJae' where id = 1;
UPDATE 1
arachne_datanode=# SELECT password FROM users;
-[ RECORD 1 ]----------------------------------------------------------
password | $2a$10$JrltmCF6zqvfdpZTYOTM0uByU1Cx9C3X0x0iRQFqlXX3bTOEsWJae

The password's hash is passed incorrectly from the env file via docker-compose.
https://docs.docker.com/compose/environment-variables/env-file/#syntax

Fixed by pull request https://github.com/OHDSI/Arachne/pull/39
"password" --> 'password'


Cleaner iteration API for Objects

The current iteration API for objects feels like an unfortunate hack to me. To declare an integer iterator for range(6), you do this:
class MyIterator:
	func _iter_init(arr):
		arr[0] = 0
		return true

	func _iter_next(arr):
		if arr[0] >= 5:
			return false
		arr[0] += 1
		return true

	func _iter_get(iter):
		return item

Note that in _iter_init and _iter_next a 1-size array is used as a crutch for returning an out value. Then on _iter_get you suddenly get the iterator.
This PR changes the API to this:
class MyIterator:
	func _iter_init():
		return [0]

	func _iter_next(iter):
		if iter[0] >= 5:
			return false
		else:
			iter[0] += 1
			return true

	func _iter_get(iter):
		return iter[0]

It's now up to MyIterator how to construct an iterator object that can be modified using _iter_next. It can use an array with an integer, as in this case, but it could also (and might often) want to construct an object instance and return it; in the latter case, the whole array-1 crutch becomes obsolete and should not be enforced by the API.
_iter_next and _iter_get both get the iterator instance returned by _iter_init.
_iter_init returns nil if no elements are initially available.

My feeling with this is that the API is still a hack, no matter how much it's changed. Passing an array at least makes it more obvious how it needs to be used, even if less flexible, so I am not sure I am in favor of changing it. What would be an use case to make it more generic and variant based?

The current implementation basically separates implementation from data, and encourages hacky, unreadable code IMHO:
class SomeComplexIterator:
	func _iter_init(arr):
		arr[0] = array(1, 3, 7)
		return true

	func _iter_next(arr):
		arr[0][0] = arcane_iteration_logic(arr[0][0], arr[0][1], arr[0])
		return arr[0][2]

	func _iter_get(iter):
		return iter[0] -- hu?

I mean, really, GDScript is OOP, so everyone expects things like this:
class SomeComplexIteratorState:
	var a
	var b
	var c

	func get():
		...

	func next():
		...

Now, for wrapping my nice, encapsulated SomeComplexIteratorState class into an data-free iterator, I can either have this:
class MyIteratorCurrent:
	func _iter_init(arr):
		arr[0] = SomeComplexIteratorState.new()
		return true

	func _iter_next(arr):
		return arr[0].next()

	func _iter_get(iter):
		return iter.get()

or this:
class MyIteratorWithPR:
	func _iter_init():
		return SomeComplexIteratorState.new()

	func _iter_next(iter):
		return iter.next()

	func _iter_get(iter):
		return iter.get()

To me, the latter is much more clear.
Upon re-reading the PR, I'm not even sure that _iter_init() should return nil if no elements are available.
Regarding use cases (not sure if I get your question right) I think implementing any of the following would make me want to use that dedicated SomeComplexIteratorState code + data model from above:

https://docs.python.org/3/library/functions.html#zip
https://docs.python.org/3/library/functions.html#reversed
https://docs.python.org/3/library/functions.html#sorted (without full sorting, using a heap)
https://docs.python.org/2/library/itertools.html#itertools.cycle
https://docs.python.org/2/library/itertools.html#itertools.chain

I will close this for now, given there is not much desire to break compatibility and there is no really much of an urgency to improve this API. Lets discuss this again closer to 4.0, when we can break compatibility and change more core aspects of GDScript.


Tracking issue: Rolling this out to other repositories I touch

As of end of August 2023, I want to roll out the current state of this template to other repositories I'm a maintainer -or at least a recently strong committer- on. Filing this tracking issue to make it easier to see which ones have had it applied.
I'm going to iteratively:

Start sending initial PRs for all these repos

As issues come up, I'll file them in the same Milestone: Post-Rename Migration this issue is in

Get to the bottom of the applicable repos
If there were any issues filed that change the output repository structure, go back to step 1 and repeat
Merge the PRs

Status key:

✅: Done
🏗: Templated repository; ran / will run --mode migrate to upgrade to latest template features
📜: Pre-template repository; ran / will run --mode migrate to onboard to template
🙅: Not applicable; will not use template
🛑: Blocked on an external issue or PR

Status
Repo
Issue or PR

✅
dmnd/dedent
https://github.com/dmnd/dedent/pull/55

✅
JoshuaKGoldberg/all-contributors-auto-action
https://github.com/JoshuaKGoldberg/all-contributors-auto-action/pull/69

✅
JoshuaKGoldberg/all-contributors-for-repository
https://github.com/JoshuaKGoldberg/all-contributors-for-repository/pull/102

✅
JoshuaKGoldberg/are-docs-informative
https://github.com/JoshuaKGoldberg/are-docs-informative/pull/99

✅
JoshuaKGoldberg/console-fail-test
https://github.com/JoshuaKGoldberg/console-fail-test/pull/209

✅
JoshuaKGoldberg/eslint-plugin-expect-type
https://github.com/JoshuaKGoldberg/eslint-plugin-expect-type/pull/88

✅
JoshuaKGoldberg/eslint-plugin-package-json
https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/67

✅
JoshuaKGoldberg/github-sponsors-to-markdown
https://github.com/JoshuaKGoldberg/github-sponsors-to-markdown/pull/90

✅
JoshuaKGoldberg/JoshuaKGoldberg
https://github.com/JoshuaKGoldberg/JoshuaKGoldberg/pull/16

✅
JoshuaKGoldberg/prettier-plugin-curly
https://github.com/JoshuaKGoldberg/prettier-plugin-curly/pull/87

✅
JoshuaKGoldberg/refined-saved-replies
https://github.com/JoshuaKGoldberg/refined-saved-replies/pull/160

✅
JoshuaKGoldberg/sentences-per-line
https://github.com/JoshuaKGoldberg/sentences-per-line/pull/8

✅
JoshuaKGoldberg/should-semantic-release
https://github.com/JoshuaKGoldberg/should-semantic-release/pull/104

✅
JoshuaKGoldberg/sinon-timers-repeatable
https://github.com/JoshuaKGoldberg/sinon-timers-repeatable/pull/11

✅
JoshuaKGoldberg/tidelift-me-up-site
https://github.com/JoshuaKGoldberg/tidelift-me-up-site/pull/171

✅
JoshuaKGoldberg/tidelift-me-up
https://github.com/JoshuaKGoldberg/tidelift-me-up/pull/96

✅
JoshuaKGoldberg/ts-api-utils
https://github.com/JoshuaKGoldberg/ts-api-utils/pull/272

✅
JoshuaKGoldberg/ts-function-inliner
https://github.com/JoshuaKGoldberg/ts-function-inliner/pull/124

✅
omnidan/node-emoji
https://github.com/omnidan/node-emoji/pull/142

🙅
automutate/automutate-tests
https://github.com/JoshuaKGoldberg/TypeStat/issues/1341 [^1]

🙅
automutate/automutate
https://github.com/JoshuaKGoldberg/TypeStat/issues/1341 [^1]

🙅
budgielang/Budgie

🙅
budgielang/CS-Budgie

🙅
budgielang/NBudgie

🙅
budgielang/ts-budgie

🙅
JoshuaKGoldberg/astro-konamimojisplosion
https://github.com/JoshuaKGoldberg/emojisplosion/issues/172

🙅
JoshuaKGoldberg/Emojisplosion
https://github.com/JoshuaKGoldberg/emojisplosion/issues/172

🙅
JoshuaKGoldberg/FullScreenShenanigans/ChooseYourFramework

🙅
JoshuaKGoldberg/FullScreenShenanigans/EightBittr

🙅
JoshuaKGoldberg/FullScreenShenanigans/FullScreenPokemon

🙅
JoshuaKGoldberg/Konamimojisplosion
https://github.com/JoshuaKGoldberg/emojisplosion/issues/172

🙅
JoshuaKGoldberg/mock-react-redux
https://github.com/JoshuaKGoldberg/mock-react-redux/issues/71

🙅
JoshuaKGoldberg/typedoc-plugin-konamimojisplosion
https://github.com/JoshuaKGoldberg/emojisplosion/issues/172

🙅
JoshuaKGoldberg/TypeStat
https://github.com/JoshuaKGoldberg/TypeStat/issues/1341

🙅
typescript-eslint/typescript-eslint

[^1]: automutate is only used by TypeStat, so there's no time pressure to migrate it just now.

These are all either ✅ or 🙅, so closing as resolved for now. ✔


Suppress Style/RegexpLiteral when otherwise AmbiguousRegexpLiteral?

Is your feature request related to a problem? Please describe.
obj.method /^Regexp/ # <= triggers Lint/AmbiguousRegexpLiteral
# But...
obj.method %r{^Regexp} # <= triggers Style/RegexpLiteral
# Therefore only...
obj.method(/^Regexp/) # is warning-free

Describe the solution you'd like
Is it possible to relax Style/RegexpLiteral so that it won't complain when using the normal Regexp literal would invoke AmbiguousRegexpLiteral?
Describe alternatives you've considered
To add an config option for Style/RegexpLiteral to the same effect.
Additional context
Currently, the linter only allows it when the normal Regexp literal itself creates a syntax error.
https://rubydoc.info/gems/rubocop/RuboCop/Cop/Style/RegexpLiteral

NOTE: The following %r cases using a regexp starts with a blank or = as a method argument allowed to prevent syntax errors.

(notation corrected by me)
I am not aware of existence of a general design principle that prefers primary literals over parentheses omission for final arguments, but correct me if I am wrong.

If you don't want to enforce parentheses around method arguments, you should configure Style/MethodCallWithArgsParentheses with EnforcedStyle: omit_parentheses. This will then allow %r regexp literals in Style/RegexpLiteral without offense:
$ cat test.rb
obj.method %r{^Regexp}

$ cat .rubocop.yml
Style/RegexpLiteral:
  EnforcedStyle: slashes

Style/MethodCallWithArgsParentheses:
  EnforcedStyle: omit_parentheses

$ rubocop test.rb -A
Inspecting 1 file
.

1 file inspected, no offenses detected

If you want parentheses around methods, RuboCop's autocorrect will add them in this case which does not create an infinite loop:
$ cat test.rb
obj.method %r{^Regexp}

$ cat .rubocop.yml
Style/RegexpLiteral:
  EnforcedStyle: slashes

Style/MethodCallWithArgsParentheses:
  EnforcedStyle: require_parentheses

$ rubocop test.rb -A
Inspecting 1 file
W

Offenses:

test.rb:3:12: W: [Corrected] Lint/AmbiguousRegexpLiteral: Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the / if it should be a division.
obj.method /^Regexp/
           ^
test.rb:3:12: C: [Corrected] Style/RegexpLiteral: Use // around regular expression.
obj.method %r{^Regexp}
           ^^^^^^^^^^^

1 file inspected, 2 offenses detected, 2 offenses corrected

$ cat test.rb  (after correction)
obj.method(/^Regexp/)

Therefore there does not seem to be any bug.


Remove commit. from string

This is enough IMO without the commit. part: v0.16.rc0-7-ge5d8aacf3

I think it must be at least v0.16.rc0-7+ge5d8aacf3 to indicate version should not be ordered by the commit hash. But the commit. is consistent with solidity versioning, so I'm not going to change it myself.  Patches welcome.


Run commented test cases as the required opcodes have been implemented

What was wrong?
Few tests were previously commented out as all the opcodes haven't been implemented. Most of those commented tests are now running. This also fixes the infinite loop in get_valid_jump_destinations when there is no valid opcode.
Cute Animal Picture

@SamWilsn @lightclient can you please review this? Thanks.


libnd4j: max_pool_with_argmax operation needs to support integer types (for TF import)

The max_pool_with_argmax operation supports the following datatypes in tensorflow:
https://github.com/eclipse/deeplearning4j/blob/master/nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/resources/ops.proto#L17816
  attr {
    name: "T"
    type: "type"
    allowed_values {
      list {
        type: DT_FLOAT
        type: DT_DOUBLE
        type: DT_INT32
        type: DT_UINT8
        type: DT_INT16
        type: DT_INT8
        type: DT_INT64
        type: DT_BFLOAT16
        type: DT_UINT16
        type: DT_HALF
        type: DT_UINT32
        type: DT_UINT64
      }
    }
  }

Our implementation does not seem to support integer datatypes.
For INT32 and INT64 dtypes of INPUT_VARIABLE  we have exception
Isolated test and stacktrace:
https://gist.github.com/atuzhykov/ed892efe472f00721aecb98b291027b1

Fixed in my branch, will be merged later.


register v0.8.0

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/14069
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.8.0 -m "<description of version>" e0a3c9bf7a454c06ee49e1c23d51a29d4c2dd1cc
git push origin v0.8.0

new try


Issues with install

I am having an issue with installing this, I ran the batch script and I am unsure as to where I would find the component. It didn't show up within Unity. I am having a hard time understanding what needs to be done.  Do I need to copy and paste anything into any of the folders, or am I missing something else?Could someone walk me through it one step at a time?
Thank you in advance!

Open his sample cube scene and just hit run. Then open a browser and go to a site that requires a webcam, then you will see "UnityCam" in the dropdown when the browser asks you if you want to grant the site permissions. Allow it and you will see his test scene in the web page's webcam feed.

When you run the "Register.bat" under the corresponding folder to your OS (x64 for Win10), make sure to right click and choose "Run as administrator". A pop up should show the following message:
"DllRegisterServer in UnityCamService.dll succeeded".
Then as @Straafe mentioned, use a website with camera support such as "https://appr.tc/" and select UnityCam from the camera list.


detect incomplete buffers

Is there a way to detect if a buffer is incomplete? For example, a value in the buffer object could be set. I sometimes have black stripes in the image, which indicate that the buffer isn't completed.

@tobiasf88 Excuse me, I have just a trivial bug that had blocked you to work with that. Regards, Kazunari.

@tobiasf88 Excuse me, I have just a trivial bug that had blocked you to work with that. Regards, Kazunari.


Create calfw calendar with correct grid width

Description
This PR addresses issue #1190 regarding calfw grid size when opening the calendar with =calendar from the calendar module.
Problem

Calfw calendar displays with an incorrect grid size
Caused by the new calendar workspace displaying the doom splash screen with window margins
Calfw uses the selected window to determine the size of the calendar grid

Solution

Selects the scratch buffer before creating the calendar
Calfw generates the calendar grid based off of the resulting correct window margins

Verification

Calendar displays correctly with both workspace feature enabled and disabled
Calendar displays correctly  while having the distraction free writeroom-mode active

Good work! Thanks for the help and for figuring out this elusive bug!


THANK YOU! But...

Osiris is awesome! Just wondering though, do the graffiti's work? I tried couple but they don't come out when I spray them on the wall or ground.

Sadly not :/

Bummers. Oh well, just a minor thing but would've loved to use them. Still the dopest free hack out there!


[ feature request ] Exit if all processes stop

It would be nice if, by additional CLI flag, mprocs could automatically quit when all process have stopped, so long as all processes exit with status code zero.
An additional flag would enable mprocs to automatically quit even if one or more processes exited with non-zero.

The two flags can be combined into one. For eg.
--exit-after-stop
--exit-after-stop-when=success      Exit when all processes have successfully stopped with exit code zero. This is the default.
--exit-after-stop-when=failure        Exit when all processes have stopped, regardless of exit status.


Honey bee in shop not implemented

    def test_honey_shop(self):
        scorpion = Pet("scorpion")
        scorpion.status = "status-honey-bee"
        player = Player(shop=Shop(["sleeping-pill", "mushroom"]), team=Team([scorpion]))
        player.buy_food(0, 0)
        self.assertEqual(player.team[0].pet.name, "scorpion")

The assert at the end should be self.assertEqual(player.team[0].pet.name, "honey-bee")

Here's the version of the test without the mushroom in the shop and the correct assert
def test_honey_shop(self):
    scorpion = Pet("scorpion")
    scorpion.status = "status-honey-bee"
    player = Player(shop=Shop(["sleeping-pill"]), team=Team([scorpion]))
    player.buy_food(0, 0)
    self.assertEqual(player.team[0].pet.name, "pet-honey-bee")


Peer Review - Verification and Validation Team roles

Artifact Under Review
Verification and Validation Team Role Assignments and description.
Team Number for Team Doing the Review
27
Description of Issue
The roles of team members are generally clear, but the document could benefit from more specifics on their project responsibilities. While Amirhossein is the primary advisor, it would help to specify what each peer reviewer—Gurnoor, Jared, Ahmad, Hamza, and Harrison would be reviewing, such as particular modules, code, or documentation sections. Clarifying these responsibilities and how their feedback contributes to the development process would improve the V&V workflow and ensure thorough coverage of the project.

@Tan630

@Tan360


Sources > add source modal resumes after cancelling

Describe the bug
After cancelling add source modal after some steps, when we try to add new source and select its type, the modal returns us to the step in which we closed the first modal.
To Reproduce
Steps to reproduce the behavior:

Go to sources
Click on "Add source", go through the onboarding and cancel at the confirmation
Click on "Add source" again, select the provider type
See that modal resumed to the confirmation dialog, without filling in any information

Expected behavior
Correct modal navigation, selecting provider type shouldn't skip any steps at all.
Screenshots

Desktop (please complete the following information):

OS: rhel
Browser Chrome 75

Additional context
Tested on CI beta/stable

Thanks @dchorvat1 I will look at it now.

OK the problem is simple. The index of the step we are is stored in the component and not in the Redux. Now I thought rendering the first step if type is not set will solve that. However, to really solve it I need to set index to 0 if type is not set before rendering the wizard.
I will push a fix in the following hours.


Logo Purpose

The visual identity is such an important part of an open source project. Since I couldn't find any logo - or this kind of thing here - I decided to draft a very basic logo purpose.

It consists of the project's name (spyck) written using the same Josefine Sans Serif font used in the framework presentation slides at XI Pylestras. Also I used a radial gradiant based on a dark desaturated shade of cyan (#2c5957) - which brings a flat atmosphere to the logo.
Nothing too speacial - one of the goals is to be minimalist - but I hope you like.

Why do you write "spick"? The project's name is "spyck".

Sorry, my bad. I'll surely fix this ASAP. Any other fixes or recommendations?

Fixed it in #3 @brunomacabeusbr :smile:


YodaStyleFixer - Fix yoda_style with yield statements

This PR:

[x] Is a current work-in-progress

@SpacePossum As you wrote this fixer, can you help on this one? I'm kind of blocked.
Fix #5810

hi!
does the yield from ever make sense as you cannot yield from an bool, for example yield from $a === 1; will not work nor the yoda variant yield from 1 === $a; ?

hi!
does the yield from ever make sense as you cannot yield from an bool, for example yield from $a === 1; will not work nor the yoda variant yield from 1 === $a; ?

You're right, yield from doesn't make sense.

Closed in favor of #5823


Confirmations

[X] I have checked the issues tab, and couldn't find an existing open issue for the issue I want to report.

OS Type
Windows
Python Version
3.12
Package Version
2.52
Description

why i see numbers 38;20
Output Log
Microsoft Windows [Version 10.0.19045.3930]
(c) Microsoft Corporation. All rights reserved.

C:\Users\Truee>isubrip https://tv.apple.com/us/movie/expend4bles/umc.cmc.58hhrxiygps9w6i593hvq607k
←[38;20mUser config file detected at 'C:\Users\Truee\.isubrip\config.toml' and will be used.←[0m
←[38;20mScraping 'https://tv.apple.com/us/movie/expend4bles/umc.cmc.58hhrxiygps9w6i593hvq607k'...←[0m
←[38;20mFound movie: Expend4bles [2023] (ID:<PHONE_NUMBER>)←[0m
←[38;20mNo matching subtitles were found.←[0m

Config
No response

Hey @NaorSevilia.
These are ANSI color tags (to color specific lines in specific colors) which aren't supported in older shells like Windows CMD.
It will however work on terminals like Windows Terminal (which is highly recommended) or (I believe) Windows PowerShell.
I can look into not adding these tags when they're not supported, but I can't promise it will happen anytime soon, since it's nothing urgent, and I'm pretty sure Windows Terminal comes pre-installed on Windows 11.

@MichaelYochpaz and in 2.52 not see Release date (iTunes):
can fix it?

@MichaelYochpaz and in 2.52 not see Release date (iTunes): can fix it?

@NaorSevilia I'm going to need more information, like which content you were checking (URL), if it worked on a previous version, and preferably, also logs.
Please open a separate issue for that, as it's unrelated to the one you mentioned here.

@MichaelYochpaz שמתי לב שאתה מישראל
פתחתי הצעה חדשה.


drivers: interrupt_controller: enable PINT-irq when deepsleep is not used

DisableDeepSleepIRQ() disables the NVIC irq, while PINT need it to fire an event when the interrupt is used. So while the interrupt is not used in DeepSleep mode, it should still be available to be used.
fixes #71345

@HesselM , thank you for the change. Can you please change to use irq_enable


Why does new_token_owner located in stages, not token?

I think new_token_owner is a feature of token, not stages.
Especially for users who want to make token.

misundertood.


Presets missing in package

The presets mentioned in the ReadMe seem to be missing in the package.
Suggest placing OrbConfiguration in a dedicated OrbConfiguration.swift file.

Created a separate configuration file in ab531882bbfe8a36c510a10d4ceec1df0bf1dccc.

I don't think we should add the presets to the file her. Given the number of attributes, this seems like something devs can modify as they need from the documentation.

Makes sense! Maybe we can clarify the documentation to indicate so?
It currently says that they are included in the package.
Could be in the lines of:
Preset Configurations
Explore these beautiful example configurations to see what you can achieve with OrbConfiguration. Copy any of the presets below to use in your own project, and feel free to customize them to match your vision.

👍 Fixed. b5cfa069132dc0e4c7033eff68a72f74cc84cc43


This device cannot be added from the UI

Version of the custom_component
0.0.1

Configuration
Initial install
No logs or yaml code to post.

Describe the bug
A clear and concise description of what the bug is.
When trying to install the component as per the readme file, it gives the message: "This device cannot be added from the UI", and there's no additional instructions on how to install it in the config file.
Debug log

No logs available.

Hello, sorry I didn't have the time until now, I posted an example in #30 I need to add to the documentation but I didn't have the KVM on hand for 3 months

Thanks,
I had already figured it out by reading the source code. My comment was because it said on the github page that it could be added from the UI, but when I tried to do that, the UI had a message that it couldn't be added.
I'm also having an issue where HA locks up during a restart, and I have to reset it multiple times before it comes up completely. If I remove the tesmart from the config, then it restarts with no problems.
I haven't had much time to troubleshoot it, but should I open another issue for this?
These are great switches, and they are not very expensive for their quality. I have a couple of them and it would be great if I could get them to work reliably with HA.


Upgrade project-build-plugin to 8.0.4

https://jenkins.ivyteam.io/job/ivy-project-demos/job/upgrade-project-build-plugin-8.0.4/


Add bloom

👷 Deploy Preview for gladia processing.

Name
Link

🔨 Latest commit
aee6fc756d8ce07a20816204ab564b6c36165650

🔍 Latest deploy log
https://app.netlify.com/sites/gladia/deploys/6450c1121551fa00083249c3


Add a solution to problem 995

The idea is to apply a greedy approach: We iterate through the nums array, and whenever we encounter a zero, we perform a k-bit flip starting at that position. If the last k-bit flip requires flipping a position outside the nums array, we return -1. Otherwise, we return the number of times we applied the k-bit flips.
To prove the correctness, you can argue that the optimal solution must perform a k-bit flip starting at the first zero bit position. Furthermore, after the flips, the suffix subarray starting from the position right next to the zero bit must also be flipped in an optimal way. By applying this argument recursively, you can establish the correctness of the solution.
If you implement the greedy approach using a simulation, you will obtain an O(kN) solution, but we can improve it further. Consider the case where a zero bit is followed by a one bit. After performing the k-bit flips at the zero bit position, the next position to apply the k-bit flips is the one bit position, and a number of bits are flipped back to their original values. By carefully coding to avoid unnecessary flips and examining the implementation, we find that the work done is O(How much we advance the index), resulting in a O(N) solution.

We can also apply the sliding window technique to solve the problem. The main idea remains the greedy approach. However, while iterating through the nums array, we can determine the number of times a position has been flipped previously by counting the number of flips within a window of length k that ends at that position. The sliding window technique comes into play when tracking the number of flips within the moving window.


[Client] Async callback for Swap never invoked when node rejects install

To reproduce, call swap with an incorrect swap rate so that node rejects the install (or any other mechanism to get node to reject).
A failing test for this already exists in swap itests.

What exactly is expected behavior, that a REJECT_INSTALL is fired? And I'm assuming it's this test?


Fails on FIPS systems - bundled crypto module missing fix from Ansible 2.9

The operator fails to deploy on FIPS enabled systems with the following error
Traceback (most recent call last):
  File "/tmp/.ansible-/tmp/ansible-tmp-1605639519.1729925-24168-234385709602156/AnsiballZ_openssl_privatekey.py", line 102, in <module>
    _ansiballz_main()
  File "/tmp/.ansible-/tmp/ansible-tmp-1605639519.1729925-24168-234385709602156/AnsiballZ_openssl_privatekey.py", line 94, in _ansiballz_main
    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
  File "/tmp/.ansible-/tmp/ansible-tmp-1605639519.1729925-24168-234385709602156/AnsiballZ_openssl_privatekey.py", line 40, in invoke_module
    runpy.run_module(mod_name='ansible.modules.crypto.openssl_privatekey', init_globals=None, run_name='__main__', alter_sys=True)
  File "/usr/lib64/python3.6/runpy.py", line 205, in run_module
    return _run_module_code(code, init_globals, run_name, mod_spec)
  File "/usr/lib64/python3.6/runpy.py", line 96, in _run_module_code
    mod_name, mod_spec, pkg_name, script_name)
  File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmp/ansible_openssl_privatekey_payload_rg2zb9st/ansible_openssl_privatekey_payload.zip/ansible/modules/crypto/openssl_privatekey.py", line 692, in <module>
  File "/tmp/ansible_openssl_privatekey_payload_rg2zb9st/ansible_openssl_privatekey_payload.zip/ansible/modules/crypto/openssl_privatekey.py", line 676, in main
  File "/tmp/ansible_openssl_privatekey_payload_rg2zb9st/ansible_openssl_privatekey_payload.zip/ansible/modules/crypto/openssl_privatekey.py", line 303, in generate
  File "/tmp/ansible_openssl_privatekey_payload_rg2zb9st/ansible_openssl_privatekey_payload.zip/ansible/modules/crypto/openssl_privatekey.py", line 545, in _get_fingerprint
  File "/tmp/ansible_openssl_privatekey_payload_rg2zb9st/ansible_openssl_privatekey_payload.zip/ansible/module_utils/crypto.py", line 164, in get_fingerprint_of_bytes
ValueError: [digital envelope routines: EVP_DigestInit_ex] disabled for FIPS

I thought initially this was an issue with the community crypto collection as discussed here but I was pointed back to where this was an Ansible 2.9 issue which was resolved back in March with these fixes openssl_* modules: prevent crash on fingerprint determination in FIPS mode #67515 and [2.9] openssl_* modules: prevent crash on fingerprint determination in FIPS mode #67519
This operator bundles a crypto.py that does not include the FIPS fix based on comparisons of the code. The relevant sections missing appear to be this:
crypto.py (lines starting around 158(ish)
        try:
            h = f(source)
        except ValueError:
            # This can happen for hash algorithms not supported in FIPS mode
            # (https://github.com/ansible/ansible/issues/67213)
            continue

Based on the conversations around this issue at https://github.com/ansible-collections/community.crypto/issues/144 the suggested fix here was just requiring Ansible >=2.9.6 and removing this forked crypto version.

Looks like automation didn't close this out after the PR linked merged. Thanks for the BZ and for outlining the fix.
/close

Looks like automation didn't close this out after the PR linked merged. Thanks for the BZ and for outlining the fix.
/close


fix user not existing on reload

The problem with the user being not existing on page reload, is that firebase is not initialized on the home page (only on login screens). Therefore, i could just trigger the initialization of firebase in App.vue and let the already existing autoSignIn action do its magic
Closes #50

Man this is brilliant!

I replaced mounted hook with created, also there is a problem that games doesn't load after signing up. But it there after refresh, investigating

If you write an issue for the problem with the game logic, I might have some time to look at it :)

Ah, it's not caused by that PR. Looks like I overlooked it in some previous changes. Yeah I'll do the issue

found the bug - looks like I just forgot to commit a fix:)


Clean up documentation of esp_wifi_set_country

This fixes some language style mistakes in the documentation of esp_wifi_set_country and removes trailing whitespaces.

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

Thank you @seppestas for fixing this description :+1:
I will put this PR to the merge queue.

Thank you for this PR as well, merged in 264315ab816e66d3276ce3dd739c04260abc7560.


Regression: PipelineTaskRunSpec.Metadata incompatible with older webhooks

Expected Behavior
PipelineTaskRunSpec should be safely passed to older webhooks.
Actual Behavior
    serviceaccount_test.go:163: Failed to create PipelineRun `pipeline-run-with-service-accounts-dsofxybx`: admission webhook "defaulting.webhook.pipeline.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "metadata"
    panic.go:661: ############################################
    panic.go:661: ### Dumping objects from arendelle-7ntt4 ###
    panic.go:661: ############################################

Steps to Reproduce the Problem

Install Tekton < https://github.com/tektoncd/pipeline/pull/4834
Create PipelineRun using client >= https://github.com/tektoncd/pipeline/pull/4834

Additional Info
We think we've found the root cause (shout out to @n3wscott for finding it):
https://github.com/tektoncd/pipeline/blob/b19a9abdb81ac0d7608a0457348ccb24afa65316/pkg/apis/pipeline/v1beta1/pipelinerun_types.go#L605
should be:
Metadata *PipelineTaskMetadata `json:"metadata,omitempty"`

Will send a PR!
cc @austinzhao-go in case you have any thoughts
/kind bug

/assign @wlynch

thanks this catch!
applied this update in another field addition PR for TEP-0104
https://github.com/tektoncd/pipeline/pull/4877


Mass Verify: Design CSV Spec

Requirements

Define a CSV specification for use with batch set

Details needed: Email, roleid

CSV Spec:
Email, Role ID

Example
Email, Role ID
<EMAIL_ADDRESS>735446293496856597
<EMAIL_ADDRESS>735446293496856598


[ownership] Clean up BorrowScopeIntroducingValue.

Specifically, I got rid of the constructors for BorrowScopeIntroducingValue and
made it so one can only construct BorrowScopeIntroducingValue from the static
constructor.
I also changed the place where we mapped values from BorrowScopeIntroducingValue
-> BorrowScopeIntroducingValueKind. This simplifies the whole thing.

@swift-ci smoke test

@swift-ci smoke test linux platform


Investigate Morelinq Dependency

There's a dependency on Morelinq, but it's only leveraged once on one line: https://github.com/Azure/azure-functions-sql-extension/blob/ad352485aad33a10d457d550fc80a0475d3a93fb/src/SqlBinding/SqlAsyncCollector.cs#L148
(batch docs can be found here: https://morelinq.github.io/3.1/ref/api/html/Overload_MoreLinq_MoreEnumerable_Batch.htm)
If it significantly decreases the amount of code that we'd need to write (and we couldn't leverage another library), then it's not a huge deal to keep it, but just wanted to file an issue to keep track of this dependency.

One option would just to create n lists, where n = ceiling(# of rows / batch size). We wouldn't need to batch in that case. Unsure if there would be further tradeoffs, would need to be investigated.


Add I2SClocklessLedDriver.h to headers in library.json

Please add this to your headers. This is a simple change and fixes compilation.

Thank you. I have merged the change


How to train my own data ？

Thanks,How to train my own data and implement reasoning on a single graph or multiple graphs?

Code it made to be worked only with provided examples. To train on your own data code will require some modifications.
This is a fast solution, not for production usage

create folder for you data in "mvtec_anomaly_detection" folder - you folder must be with "bottle", "cable" etc.
inside your folder orginize data similar to mvtec_anomaly with "good" and other folders.
modify "run_pathcore.py":
in run > if save_segmentation_images
before patchcore.utils.plot_segmentation_images add code:
"""
image_save_path = os.path.join(
run_save_path, "segmentation_images", dataset_name
)
os.makedirs(image_save_path, exist_ok=True)
"""
This will allow you to save segmented images.
run patchcore training with bash/cmd command:
python bin/run_patchcore.py --gpu 0 --seed 0 --save_segmentation_images "results_path" patch_core -b wideresnet50 -le layer2 -le layer3 --faiss_on_gpu --pretrain_embed_dimension 1024 --target_embed_dimension 1024 --anomaly_scorer_num_nn 1 --patchsize 3 sampler -p 0.1 approx_greedy_coreset dataset --resize 224 --imagesize 224 -d "your_train_dataset" mvtec "mvtec_anomaly_detection"

"results_path" - path to place where you will save training results
"mvtec_anomaly_detection" - path to place where you keep mvtec datasets (you dataset must be with them)
"your_train_dataset" - name of your dataset (name of your folder in mvtec folder)

If someone will go wrong then check errors, carefully read README.md of this repo, check code - some things are missed in READMe.md (like how to properly save segmentation images).

However it's a fast solution. Patchcore requires a lot of work before it could be used on production.

Why didn't I find the mvtec folder? Where should I put my own dataset folder  and where to change parameters


Add Zoom utility

Description of the new feature / enhancement
it would be great to have a feature like ZoomIt integrated to PowersToys
Scenario when this would be used?
During Live session or meeting.
Supporting information
No response

Duplicate of

#3096

Closing as duplicate of #3096


Add validation for environment variables in infisical.connect

Currently, infisical.connect just fetches back secrets from Infisical.
In the future, we want infisical.connect to also be able to accept validator arguments so that you can for instance:

Cast environment variables that are fetched back as strings to a different type.
Throw an error if a required environment variable is missing.
Fallback to default values.

Here's what I have in mind:
Users can define a custom configuration object containing each environment variable and its details that such as description, type, default, transform (i.e. function that transforms the input environment variable).
This would significantly minimize errors for folks using the Infisical Node SDK.

@dangtony98 Have a look at https://www.npmjs.com/package/envalid


TimeWrap or TimeWarp?

"Settings" section in README.md says there is "TimeWrap" variable,
but BepuSettings class has "TimeWarp" variable.Which may be correct?

https://github.com/Nicogo1705/Stride.BepuPhysics/issues/6
Oops, we forgot to update the readme. We are moving the readme to the wiki, but since the project is still under development, the docs quickly become outdated.

just updated the Wiki now, thank you.

https://github.com/Nicogo1705/Stride.BepuPhysics/pull/40 PR to remove old readme and reference the Wiki instead.


Add custom defaults to columns

This will allow the programmer to customize the default for columns instead of using what is currently there. Therefore, they can continue to use null or '-' (depending on the column), but now they can choose for it to say e.g. 'N/A'.

Excellent! Thanks a lot @zachweix 🙏 I've moved this to 4.2 since we'll be releasing it by the end of the month.
Looks very clean to me in terms of implementation. Very straightforward - it'll basically allow devs to write something other than - when the value is null (or false in boolean).
@promatik can you please take a look at this and thoroughly test it? If everything's ok, please create a docs PR for 4.2 for this, and give me the green light to merge. Or of course, let us know if you think we shouldn't do this 😀
Cheers!

Hi @zachweix, I wanted this! For a long time, thank you for the PR!
I think this raises some stuff we should take into consideration.
Right now we just can't change the default - that appears in some fields. This PR solves it by adding the default everywhere, BUT, I think this is more like a placeholder and not a default 😕
In some cases like the date field, we can't set the default to -, because the default should be a date or null. But one may want the default date to be kept as null and a placeholder of - when date is null. That is not possible.
@tabacitu I think you need to step in ✌
Should we keep it simple, and allow to customize the real placeholder (-) just in some places, or should we do this the right way, and provide a default and a placeholder?

By the way, there is an open PR that standardize the default '-'. https://github.com/Laravel-Backpack/CRUD/pull/3437

Hi @zachweix!
Thank you for your contribution, I merged it into #3936, that new PR includes #3437 too.
Let's move the conversation to the new #3936 🙌


README: README updated

A Gitpod link is added to configure the repository on the browser.

Step 8 is corrected for staging commits by committing only those files/folders you have worked upon.

Closes #40

Update your branch to the latest .. @chirag0002  all set to merge then .
Great work .. :smile:

I think my branch is up to date.
If there is any issue, please do tell me and if not, I'll be happy that my PR is going to merge :)

@chirag0002 greate ..Do one thing Raise this same issue in Solidity-Pathshala if possible.
Looking forward for your more contribution .
happy coding 🙂


No SourceFiles and References for .NET 5 VB project

With .NET 5 RC2 installed.
dotnet new console -lang VB
using System;
using Buildalyzer;
using System.Linq;

namespace ConsoleApp2
{
    class Program
    {
        static void Main(string[] args)
        {
            IProjectAnalyzer analyzer = (new AnalyzerManager()).GetProject(@"c:\x\x.vbproj");
            IAnalyzerResults results = analyzer.Build();
            IAnalyzerResult result = results.First();

            Console.WriteLine($"SourceFiles {result.SourceFiles.Count()}");
            Console.WriteLine($"References {result.References.Count()}");
        }
    }
}

Actual output is:
SourceFiles 0
References 0

Expected output: several SourceFiles and References.

@daveaglick Would you be willing to look at a PR that adds VB support, in the same style as #146 ?

Yes, definitely - as with F# support I won't really be able to support it myself, but I'm happy to bring it in and add a disclaimer or follow-up in issues to that effect.

I suspect adding VB to be easier then F# since the compiler is the same.
I don't know but would expect the following:
1 - you can use TaskCommandLineEventArgs
2 - that would make the output format the same so you could use existing ProcessCscCommandLine
You would have to look into the possibility of using the _cscCommandLineArguments and maybe rename then to _roslynCommandLineArguments
You would need to make a test version to confirm this, and a lot of MSBuild Structured Log Viewer 😂
My tip to anyone trying this: print all BuildMessageEventArgs in src/Buildalyzer/Logging/EventProcessor.cs a lot of data go's thru here and maybe the sourcefiles and references are already there, they  just don't come from Csc or Fsc.
I wish you good luck!

I think this is resolved in #207 courtesy of @cslong - at a minimum an AnalyzerResult is now created for Visual Basic projects (and tested via unit test). I'll close this issue since it's working as far as I can tell, but please open a new one if it looks like there are still problems with VB support (though my ability to help will be limited since I don't know the first thing about VB or VB projects).


Deployed artifacts with curl do not appear when browsing

Bug Description
When you create a new storage, raw repository and then deploy an artifact it does not appear in the directory listing / browsing. If, however, you deploy the same artifact to storage-raw/raw-releases it'll work just fine.
Steps To Reproduce

mvn clean install -DskipTests
cd strongbox-web-core
mvn spring-boot:run
Go to http://localhost:48080/admin/storages
Add a new storage & raw reposiotry
curl -X PUT -u admin --data-binary ./strongbox-web-core/target/strongbox-web-core-1.0-SNAPSHOT.jar http://localhost:48080/storages/test-raw-storage/test-raw-repository/strongbox-web-core-1.0-SNAPSHOT.jar
http://localhost:48080/admin/storages/test-raw-storage/test-raw-repository

Expected Behavior
Should be listing the newly deployed artifacts.
Environment

Strongbox Version: 1.0-SNAPSHOT f8aa5c5
OS: Linux / Ubuntu

@sbespalov I'm guessing this issue is probably related to some  ArtifactEntry records not being added?

@steve-todorov I will have a look

@steve-todorov the issue is that you probably need to enable "Directory Browsing" for repository.

@steve-todorov you agree to close it as false positive?

Ahhh... Sorry I haven't had a chance to check it out but I think you're right. I didn't check the allow directory browsing checkbox. Let's close it. Thanks for looking into this!


Add 'X' for Filter by Keyword

As an ECMPS user, I want to ability to delete the keywords I entered at once so that I can enter a new value
Acceptance Criteria:
Given I am an ECMPS user on the Select Configurations screen
And I type in the 'Filter by Keyword' field
When I click on 'X'
Then I see that the characters I type in are deleted

Testing
Test Case: TC1222
Tester: @mosesdeeCVP

Test Passed


Dev/t ppesic/federation tab in sfx

Federation Visualization in SFX
This PR should add another tab in SFX, which should represent basic visualization of federation.

make sure you resolve the conflicts and the zip file is not necessary. If there are specific scenarios in focus to show they should be included as E2E tests.


init nixops-hetznercloud at 0.1.2

Description of changes
Finally seen that poetry2nix has withPlugins, and nixopsUnstable is working nicely. Would like to add nixops-hetznercloud to the mix so I can archive nixops-plugged, as that was been how I've been using nixops until now, but this is the right way to do it. If the repo needs modifying in some way let me know, happy to co-operate :)

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1570


Disable private snippet option on edit page

Do we declare $scope.tags before we get access to its element? When I run the program this morning it threw an error - cannot read property 0 of undefined.

Is there a reason why we switched from tag1/tag2/tag3 to tag[0]/tag[1]/tag[2]?  The reason I wrote it that way in the first place was to avoid ending up with empties in the tag array if somebody filled out the fields in a non-sequential order.  Otherwise, as Mario says we can just make sure that $scope.tags is defined as a global within the EditController to avoid throwing that error.

Just wanna ensure consistency - on snippet we use tag1/tag2/tag3 while on edit we use tag[0]/tag[1]/tag[2]. So it's better to design which way we should use to keep track of the data of tags.

Let's go ahead with the indexed tag[0]/tag[1]/tag[2] format for consistency.  Let me know if it's still giving errors for some reason.

We need to initialize $scope.tags as an array (empty or of length 3) before getting access to its element like this:
$scope.tags = [];
$scope.tags = [null, null, null];
There're a lot of way to implement it. The key points are to have a declared variable and to ensure compatibility.

The reason I went with tag[0] tag[1] tag[2] for the edit page is because tags are being pulled out of the database as an array. So the tag1, tag2, tag3 references didn't work and the tag fields don't get populated with the retrieved tags.
I'm not particular re how it gets fixed. I just went with tag[0], tag[1], tag[2] because it worked.


Need Shorter Translations if anyone knows French Fluently.

Any translation improvments are appreciated, but the ones below are the ones I am most interested in.
My translations to French were created using google translate and some of them may be longer than necessary.
I am looking for shorter / more concise translations of the following:
[languages.fr.translations]
Search = "Recherche"
Recent_Posts = "Messages Récents"
Powered_by = "Alimenté par"
About = "À propos"
Posts = "Des postes"
Tags = "Mots clés"
Privacy = "Confidentialité"
Sitemap = "Plan du site"

Also, any that are as short as they can be while still making sense, let me know, thank you.

[languages.fr.translations]
Search = "Recherche"
Recent_Posts = "Articles Récents"
Powered_by = 1
About = "À propos"
Posts = "Articles"
Tags = "Mots-clés"
Privacy = 2
Sitemap = "Plan du site"

I went with "Articles" for posts but there's also "billet" which is popular.

a bit tricky to translate: https://french.stackexchange.com/questions/7486/an-equivalent-to-powered-by-in-software Propulsé is probably the most recognizable because of Wordpress
Do you mean Privacy Policy? If so then Politique de confidentialité

Awesome, I went ahead and went with Propulsé.
In english I just used the word Privacy for the link, but it is short for privacy policy. I have seen some larger sites do this, if you scroll to the bottom of ebay.com you will see they do the same thing and just use "Privacy", so I think it's probably ok to shorten it like this.
Thank you so much for these translations, I appreciate it!


Ability to trigger secret refresh

Related to https://github.com/external-secrets/kubernetes-external-secrets/issues/127
For large clusters, a poll based system is very inefficient and if the intervals are too large, can be too slow to update.  A push based model, even optionally, would save downstream API requests, update secrets faster, and reduce costs.

@moolen @mcavoyk is this somethink that makes sense in ESO?
@cep21 Would you be willing to implement this an sending us a PR?

This project has the advantage of a refreshInterval that is definable per ExternalSecret rather than at a controller level, so polling can more easily be reduced compared to the polling in KES. I think some more controls over the provider rate limiting could be added to the SecretStore spec, but I'm unsure how well a webhook fits into our current operator.

We have a very large cluster and lots of secrets.  What's the problem with webhooks like

/refresh&secret= that refreshes the external secret at this namespace/name
/refresh&external_path=<secret_path> that refreshes all external secrets that reference a secret at a path

I absolutely see the use-case! Is there something which you can not do through the Kubernetes API server? I'm a little hesitant adding this kind of feature because it involves duplicating a lot of features that are already present in the API server (authentication, authorization, TLS, list by label, cross-referencing resources).
I mean, it's a simple kubectl annotate externalsecret foobar rotate=$(date +%s) away. You can do this via CronJob or some Kubernetes SDK.
Every other user presumably needs other rotation criteria (rotate by secret path/label/namespace/ns-by-selector/es-name/...) and in the end all that ends up in this operator while it can already be done through the API server.
I definitely see a lack of documentation here like a guide with examples or a blog post explaining how to do that.

I agree @moolen, I should have been more specific that my previous statement was in-regards to supporting a specific webhook service for the operator that could be used.
A refresh action is already support based on the current implementation of ExternalSecret. Any update to the ES, like an annotation being added/updated, will trigger a refresh of the secret. This should be added to the documentation as mentioned.

We manage our kubernetes objects via gitops (Flux).  It's a bit more annoying to setup a pipeline from SecretsManager -> Clone Repo -> Modify file ->Git Push -> Bot PR accept -> Git Merge -> Push than it is to setup SecrestManager -> webhook, and it will pollute our git repository with a bunch of commits, but it's not the end of the world.
It's good to know the annotation does a refresh.  I agree with others it would help to move it from "implementation detail" to "guaranteed behavior".

I think the annotation doesn't need to be committed in the repo, i'd say it's kind of similar to the kubectl/last-applied-configuration annotation or generated values (uid, creationTimestamp, managedFields..). Yes, they are important for the cluster and something makes use of it but it shouldn't be stored in a git repo because it's something that belongs to the cluster where the resource is located at.
Flux and ArgoCD use apply semantics to update resources, so i don't think it's an issue to just add a label. I suppose it won't even notice something has changed.

This is great information.  So annotations are ignored by apply and not unsynced normally by gitops? Thanks for the info!

From the docs

This command will compare the version of the configuration that you're pushing with the previous version and apply the changes you've made, without overwriting any automated changes to properties you haven't specified.

Apply basically ensures that the stuff from your repo is exactly how you intend it to be while leaving all other fields as they are.


really 0.2.3 and not 0.3.2 ?

Hello,
the new Tag is a little bit low. You set 0.2.3 and not 0.3.2 ? is that correct ?
Regards,
Bjoern

PING

Sorry. Wasn't here for a while. Your are right, of course, it's 0.3.2


Create element-extensions.md

This PR adds documentation for CommunityToolkit.Maui.Markup's ElementExtensions.cs
Included is the documentation for .Text() and .TextColor extension methods added in this currently open PR on CommunityToolkit.Maui.Markup: https://github.com/CommunityToolkit/Maui.Markup/pull/39

Microsoft authors of articles need to make updates through the private repository, so the updates can be staged and validated by current validation rules. After you review staging and fix all validation issues, you can add the sign-off comment to let the PR reviewers know the updates are ready to be merged.
It's easy to access the private repo version of your articles in GitHub. Just add -pr to the URL, as follows:
 Public repo URL: https://github.com/MicrosoftDocs/{docs-repo}
 Private repo URL: https://github.com/MicrosoftDocs/{docs-repo-pr}
We have closed this pull request. Please resubmit the updates through the private repo. For more information, see the contributor guide.

Docs Build status updates of commit fbcb87d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/maui/markup/extensions/element-extensions.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

PRMerger Results

Issue
Description

Added File(s)
This PR contains added files. New files require human review.

File Change Percent
This PR contains file(s) with more than 20% file change.

Docs Build status updates of commit 8b2c7ff:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/maui/TOC.yml
:white_check_mark:Succeeded
View

docs/maui/markup/extensions/element-extensions.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

PRMerger Results

Issue
Description

Added File(s)
This PR contains added files. New files require human review.

File Change Percent
This PR contains file(s) with more than 20% file change.

Docs Build status updates of commit 8b2c7ff:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/maui/TOC.yml
:white_check_mark:Succeeded
View

docs/maui/markup/extensions/element-extensions.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

PRMerger Results

Issue
Description

Added File(s)
This PR contains added files. New files require human review.

File Change Percent
This PR contains file(s) with more than 20% file change.

Docs Build status updates of commit 638de88:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/maui/TOC.yml
:white_check_mark:Succeeded
View

docs/maui/markup/extensions/element-extensions.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

PRMerger Results

Issue
Description

Added File(s)
This PR contains added files. New files require human review.

File Change Percent
This PR contains file(s) with more than 20% file change.

Docs Build status updates of commit 31869c8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/maui/TOC.yml
:white_check_mark:Succeeded
View

docs/maui/markup/extensions/element-extensions.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

PRMerger Results

Issue
Description

Added File(s)
This PR contains added files. New files require human review.

File Change Percent
This PR contains file(s) with more than 20% file change.

Docs Build status updates of commit 4220068:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/maui/TOC.yml
:white_check_mark:Succeeded
View

docs/maui/markup/extensions/element-extensions.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

PRMerger Results

Issue
Description

Added File(s)
This PR contains added files. New files require human review.

File Change Percent
This PR contains file(s) with more than 20% file change.

Docs Build status updates of commit 8df2956:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/maui/TOC.yml
:white_check_mark:Succeeded
View

docs/maui/markup/extensions/element-extensions.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

PRMerger Results

Issue
Description

Added File(s)
This PR contains added files. New files require human review.

File Change Percent
This PR contains file(s) with more than 20% file change.


Programatically select a cell?

Is it possible to automate selecting a cell?
Something as simple grid[row][col] = {value, selected: true}; in onCellsChanged, or some other way.
I can't seem to find a way to do this.

https://github.com/nadbm/react-datasheet#advanced-options
I think you're looking for the selected option.

Thanks for the fast reply, you solved my problem! Although I did notice that when the selected option is present, but undefined it doesn't allow manual selection. I think this shouldn't be the case, and it should check for the value of the prop, not the existence of it. Leads to some messy code for me.
Thanks again!

Also, even when the selection is present and in correct form, the user is not allowed to manually override the select. Is there a workaround for this?

Hey @darajava , that prop was added to make selection fully controlled, you can achieve the user select as long as you combine with the "onSelect" prop.
https://github.com/nadbm/react-datasheet/issues/60

Thank you :)