Update kpt roadmaps

I gutted the kpt roadmap: https://github.com/GoogleContainerTools/kpt/blob/main/docs/ROADMAP.md
We'll need to rebuild it once we get user feedback on package orchestration.
The porch roadmap needs to be prioritized:
https://github.com/GoogleContainerTools/kpt/blob/main/porch/docs/porch-roadmap.md
We will need to create a UI roadmap. For starters, there are quite a few features from the prototype UI that we don't have yet: https://www.youtube.com/watch?v=d_iV22_6nAM
The roadmap should be driven by UX, for specific scenarios/CUJs: CUJ UX drives UI drives porch drives kpt.

For backstage+porch, the next features I'd like to see, if they don't already exist, are:

Edits
Updates/upgrades (for individual downstream packages)
Restore

If/when the features do exist, we need to document them, such as by extending the guides or creating new guides.

Actually, let's move the roadmap from markdown to a project. I don't want to send PRs to change it, and I'd like it to be easy to link to issues and update with the current status.

Sounds good. We can re-purpose existing project https://github.com/GoogleContainerTools/kpt/projects/14 for this because this project hasn't been used in a while (I can clean this up). Or we can create a new project. Let me know.

I will create issues in the project for the items in the porch roadmap.
We should leverage the project to provide status on what is being worked on and it allows us to keep a roughly stack-ranked backlog. Not sure if we should put everything in one project or try to use multiple for different areas. Seems simplest to start with one and rely on the labels to focus on specific areas.


⚠ Turnos 24x7 has degraded performance

In a02eb48, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 2765 ms

Resolved: Turnos 24x7 performance has improved in 0132483.


Functions with duplicate names

Orientdb can have function with the same name but while retrieving the functions from java api, using meta data as below, it needs the function name. How can I know which function is getting retrieve from the below code? Is there way to retrieve the function using its RID?
db.getMetadata().getFunctionLibrary().getFunction("sum");

Are you sure orientdb can have a function with the same name?
As far as I can tell from the code, it's not possible.

@randikaf what's the purpose of having 2 functions with the same name?

@matanshukry , Yes, if you try from the Orientdb studio, you'll be able to create.
@lvca Actually this happened accidentally because of a issue in my code. But the problem is, Orientdb does not validate the function creation with the same name.
Can I use the function name to retreive the function consistently?

@randikaf you're right, my bad; Was looking at a different function.
@lvca - IMO, function names should be unique. Now I'm not too familiar with indices, but we can create (by default) a unique index on OFunction.name, that should be simple enough. What do you think?

@matanshukry , @lvca Are you planning to fix this?

i also observed that when importing the functions only from an export file using '-merge' option, duplicate function entries are created. not sure if creating index on OFunction will solve the problem. i suspect that it would need a change to import command to 'overwrite' the function in case of import.

@nagarajasr - I am not familiar with the import process, but doesn't the process add entries to the OFunction table through the index? That is, shouldn't a unique index throw error on duplicate functions?
I think it's the best option since even if you fix the import function, one can still create multiple functions with the same name, which I don't think make much sense. Unless you're planning an using parameters overloading, but then you'll need a more complex unique process.
@randikaf - I can take a look at it, just looking for some confirmation from the Orient team; They need to decide how they want to fix it (unique index? overwrite? else? ..)

+1 for the unique index (in v 2.2 IMHO)

@matanshukry yes, but i would expect that the import process should overwrite an existing function if the "-merge" option is specified


Ignore URL params when debugging and following Click to follow links in Debug Console

From @pjsvis on December 14, 2016 13:34

I use a version param to help with cache busting
EG http://localhost:55693/OTS.UTP/scripts/app/SomeFile.js?v=20161114132417363:107:48
When I click in the Debug Console to follow the link it reports Unable to open 'SomeFile.js?v=20161114132417363': File not found (\localhost:55693\OTS.UTP\scripts\app\SomeFile.js?v=20161114132417363).
I guess this is because of the param
It would be a nice enhancement if you could ignore the param
6 Otherwise chrome debugger is tons of fun

Copied from original issue: Microsoft/vscode-chrome-debug#307

It's also because of the URL. The console is looking for absolute paths, it won't download files.

+1.
And I find that when I click a link in one opened HTML file (such as <script src=a.js?v2>), VSCode also fails to open the correct file, which is so inconvenient.

Linkification was added again recently in https://github.com/microsoft/vscode/pull/80502. It looks like query parameters are now dealt with property.


Merge development (v2.0) into main

Merge development branch--with Maile's changes for coastalimagelib version 2--into main branch of CIRN repo.

I've run through the Juypter notebook CoastalImageLib_Illustrative_Example, including the "rectifying oblique images" section, and everything worked as expected. If Dylan reviews the Jupyter notebook and everything looks good, we can  merge the pull request. I'm working on documentation through the repository Wiki, which will be a separate pull request.

I've run with the updates to skimage and the merging is now working on my end. Also tested with my own separate raw argus files and rectify + merge worked as expected following the switch from opencv to skimage.


dbt init returns "No adapters available"

Hi there, I've done a pip install dbt-athena-community and I'm unable to init a new project.  I'm getting this output.
23:38:46  Running with dbt=1.3.1
No adapters available. Go to https://docs.getdbt.com/docs/available-adapters`

I've tried on another machine and running the pip install pointed at the repo with no luck.  I've verified that installing other adapters successfully get detected by dbt.

This issue should be fixed when we release this change: https://github.com/dbt-athena/dbt-athena/pull/59

This is now fixed when using the version 1.3.3 of this adapter ! 🎉


Refactor providers

Refactors provider and models
Ensured all tests passed after refactoring as described in #88 here

Please review @isedwards

@chinedu117 this branch still includes models for djangodemo and surface in the /opencdms/models/ directory.  Could you move both into /provider/?
Also there is a merge conflict because the /test.db binary file that is created by tests/unit/test_schema.py is stored in the repo.  Could you remove /test.db and also add this file to our .gitignore so that it's not added to the repo in future?


Saving with a LinkField can break the CMS in some cases

Version
gorriecoe/silverstripe-linkfield   1.0.1

Issue
In some cases, the instantiated LinkField can submit by its unaugmented name and override an object's component with the same name, which causes the CMS to break when saving the record.
Steps to reproduce
I'm not sure sadly. All I can observe concretely is that the LinkField needs to be used in such a way that Form::saveInto() considers it a $dataField(aka a saveableField)
Expected behaviour
The Field never writes data directly to the DataObject on save, because it is a superficial field.
Actual behaviour
The Field writes data to the object on save and overwrites the relation component that shares the same name, causing the CMS to be unable to process with writing the record because the component references are malaligned.
Uncaught TypeError: Argument 2 passed to SilverStripe\ORM\DataObject::skipWriteComponents() must be an instance of SilverStripe\ORM\DataObject, null given, called in /var/www/mysite/www/vendor/silverstripe/framework/src/ORM/DataObject.php on line 1625

Steps to reproduce: I'm not sure sadly.

Is this intermittent, or can you reliably reproduce it on some specific DataObject? If the latter, it is likely to do with a combination of the $db and $has_one (or $has_many or $many_many) config arrays and the getCMSFields method, so if you can reproduce it, providing those in this ticket might help us gets some steps to reproduce the behaviour.
If it's intermittent, then it's hard to tell whether your PR is actually resolving an issue or not, because there's no way for us to test it. If this is still an issue for you I think you'll need to dig down to see if you can find some steps to reliably reproduce the problem.

It depends how you look at it @GuySartorelli
gorriecoe\LinkField\LinkField is clearly a superficial field, and has no data to save. So the changes in my PR align the decoration of the class to match its role in a form.
I created the PR in a project which had this issue, but due to time constraints had to work directly towards a solution and couldn't take the time to investigate the root cause. The changes in my PR are working and resolve the issue in production.
I would say my PR isn't strictly a fix for this issue, it is an enhancement to the integrity of gorriecoe\LinkField\LinkField that just so happens to resolve this issue.


Updated unit tests

This PR adds a number of additional unit tests for increased code coverage and reliability, and also fixes a bug (a missing Ray::exception() method):

Updates PHPUnit configuration to allow generation of code coverage
Adds several tests to Unit/RequestTest that test various route response types (json, text, redirects)
Adds several tests to Unit/DumpTest for testing additional var dumper formats

Update: Removed the following changes:

Adds tests to Unit/LogTest for testing sending log messages with an exception context
Bug 1: ExceptionWatcher::register() references a missing Ray method, exception()

Fix 1: Adds Ray::exception($e) method for handling Log::error('message', ['exception' => $e]) calls
Fix 1: Adds ExceptionPayload class for Ray::exception() method

Could you remove the exception stuff. I've already made an implementation for that, see #142
We'll release that as soon as all related changes in de Ray app itself are good to go.

Apologies for the confusion. The requested changes are complete.

Thanks!


Don't conflate oauth client secrets with zcap key seeds

Zcap key seeds should use their own naming convention and not re-use the CLIENT_SECRET_VENDOR_NAME pattern.
Also please make sure env variables are marked so no one accidentally commits oauth or zcap secrets to this repo.
Add a section to the README that explains how to set organization wide CLIENT_SECRETS

I believe we want to use the format KEY_SEED_VENDOR for the zcap key seed material.

closing as this has been addressed.


Client Code

For review before merge into master

Merged before Travis-CI could check out. All tests passed locally c:

Coverage remained the same at 0.0% when pulling 7b07c6f71020af5c41c751f09ab28ee446c256b4 on client-dev into 5e18c1109afd00a8483e1a2a98a0432b898fc2a1 on master.


[BUG] - protostar commands are very slow

Protostar version
Protostar version: 0.3.0
Cairo-lang version: ^0.9.1
OS -
macOS Monterey version 12.4
Current Behavior
When running commands such as, protostar -v. I experience a lag of 1-5 seconds.
Expected Behavior
The CLI app should be responsive.
Steps to Reproduce

Follow instructions https://docs.swmansion.com/protostar/docs/tutorials/installation#linux-and-mac
run protostar -v

Possible Solution
I'm not sure I didn't look at the code, I'm just reporting the issue.

Thank you for reporting the issue! I believe we have some actionable steps on our roadmap to improve it!


Scoped DB context inject in ActiveRecord pattern implementation dont working

I trying to implement ActiveRecord instead repositoy patttern.

public abstract class Model<T> where T :  Model<T>
    {
        public virtual long Id { get; set; }

        [FromQuery(Name = "created_at")]
        public virtual DateTime? CreatedAt { get; set; }

        [FromQuery(Name = "updated_at")]
        public virtual DateTime? UpdatedAt { get; set; }

        [NotMapped]
        protected virtual List<string> Fill { get; set; }

        [NotMapped]
        protected virtual List<string> DontFill { get; set; }

        protected readonly DbContext context;
        protected DbSet<T> entities;

        public Model()
        {
            context = getContext();
            entities = context.Set<T>();

            this.Fill = new List<string> {};
            this.DontFill = new List<string>() { "Password" };

            this.CreatedAt = this.UpdatedAt = DateTime.Now;
        }

        public Model(DbContext context) : this()
        {
            this.context = context;
            entities = context.Set<T>();
        }

        protected static DbContext getContext() {
            return Services.Resolve<DatabaseContext>();
        }

        public void Save(bool applyChanges = true) {
            if(this.Id != null) {
                Update(applyChanges);
            }
            else {
                Save((T)this, applyChanges);
            }
        }

        public void Delete(bool applyChanges = true) {
            entities.Remove((T)this);

            if(applyChanges) {
                context.SaveChanges();
            }
        }
....
}

    public class Role : Model<Role>, IEquatable<Role>
    {
        [Required, MaxLength(100)]
        public string Title { get; set; }

        [Required, MaxLength(30)]
        public string Slug { get; set; }

        [JsonIgnore]
        public List<UserRole> UserRoles { get; set; }

        public Role() {}
}

public static class Services {
        private static IServiceProvider _provider;

        public static void Init(IServiceProvider provider)
        {
            _provider = provider;
        }

        public static T Resolve<T>() => (T)_provider.GetService(typeof(T));
        public static object Resolve(Type t) => _provider.GetService(t);
    }

In startup.cs
        public void ConfigureServices(IServiceCollection services)
        {
            //Configura o contexto do banco de dados
            services.AddDbContext<Core.Persistence.DatabaseContext>(
                options => {
                    options.UseNpgsql(Configuration["DbContextSettings:ConnectionString"]);
                },
                ServiceLifetime.Scoped
            );
            ....
        }

        public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
        {
            Services.Init(app.ApplicationServices);
            ...
        }

I need inject the Scoped DatabaseContext in Model instances. The DatabaseContext need to be the same per request. EF require a empty constructor when load records, and i want this instances to have dbcontext injected.
With this way I get injected dbcontext but the instance is the same in all request, i want 1 instance per request. Why isnt ServiceLifetime.Scoped working?
Microsoft.AspNetCore 1.1.1
Microsoft.AspNetCore.Mvc 1.1.2
Entity Framework 1.1.1
Npgsql.EntityFrameworkCore.PostgreSQL 1.1.0

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.


File system repository location based on operating system

Fixed on c1fff39f6fbaf1069cd0c1c2b760dbf7ddcf17de.
Using user's own directory.


Improved research to work like supply/facilities

I've updated the way research works, as you couldn't check if it was possible to build. Now it's just like supply/facilities.
You can check the level of any research with:
res = empire.research()
print(res.energy.level)
print(res.energy.is_possible)
To build any research, just run:
empire.build(research.energy, id)

pls push to develop.
looks great i line it relly much

Perfect, I will do it. I've seen on discord that Zooreye made some similar upgrades to the init.py, but also adding ships and researches. If okay, I will do the push to develop with also those changes, which work pretty well tbh.


Exit code 1 if broken links are found

As of now, the tool exits with code 0 in all scenarios.
I know, you have a recent commit fixing it, but the tool in NPM does not have that fix yet.
Have you updated the NPM package?
Or is it a problem on my side?

A version was not released containing that fix. Instead v0.8.0 work began.

Thank you for response!
Do you have an estimate when the version with the fix (v0.8.0) will be released?

I have to complete specurl first, then complete more v0.8 features. It could be another month.

Thanks!
Would it be possible to release a minor version that fixes the issue?
It is a blocking factor, since the tool is useless if it "always succeeds".
I am planning to use it in my testing environment.

Sure. v0.7.4 released.

Thank you!
I appreciate it very much!


⚠ GitLab Server has degraded performance

In e3c2d1a, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 11696 ms

Resolved: GitLab Server performance has improved in b786985.


Changing the attachment filename (encrypted.asc)

This is a question/feature request ...
Is there any scope for changing the filename used as the encrypted attachment - currently 'encrypted.asc'? It looks fairly hard coded within EncryptedPart class - is that deliberately so? For example, could a timestamp be added so it became '2015.08.14-020312_encrypted.asc' or even be able to add in another unique ID to the name. I've potentially got quite a lot of encrypted attachments to deal with and a way to distinguish them without revealing anything about what's inside the message would be useful. Thanks.

see #26


Update gradle wrapper

This PR fixes followings.

Update gradle wrapper
Overwriting Gradle's built-in tasks is deprecated.
here: https://docs.gradle.org/4.8/release-notes.html#overwriting-gradle's-built-in-tasks
fix below warning for publishing.

As part of making the publishing plugins stable, the 'deferred configurable' behavior of the 'publishing {}' block is now deprecated.
Please add 'enableFeaturePreview('STABLE_PUBLISHING')' to your settings file and do a test run by publishing to a local repository.
If all artifacts are published as expected, there is nothing else to do.
If the published artifacts change unexpectedly, please see the migration guide for more details: https://docs.gradle.org/4.8/userguide/publishing_maven.html#publishing_maven:deferred_configuration.
In Gradle 5.0 the flag will be removed and the new behavior will become the default.

fix below warning for buildUi

Using TaskInputs.file() with something that doesn't resolve to a File object has been deprecated
and is scheduled to be removed in Gradle 5.0.
 Use TaskInputs.files() instead.

Note

This PR has a deprecation yet. so, I will try to fix deprecations in another PR.

need upgrade shadow plugin
A constructor for `org.gradle.api.internal.java.JavaLibrary` is used by Shadow plugin v1.2.x, and has been preserved for compatibility.
This has been deprecated and is scheduled to be removed in Gradle 5.0.
If you're using the Shadow plugin, try upgrading to v2.x.

Sorry, I missed following PR.
https://github.com/treasure-data/digdag/pull/789


Fix link to Faker::Twitter docs (trivial)

Faker repo was restructured, this tiny patch fixes the path to the Twitter doc in that repo.

Thanks!


Usage of --shapeInformation results in different outcome depending on the input values

Looking at the bertwquad12.onnx model (https://github.com/onnx/models/tree/main/text/machine_comprehension/bert-squad/model)
When I do shape inference with the ? dynamic values replace by 4, the final model is fully shaped with constant shapes
> onnx-mlir -O3 -v -EmitONNXIR bertsquad-12.onnx --shapeInformation="0:4,1:4x256,2:4x256,3:4x256"
> grep "?" bertsquad-12.tmp |wc -l
0

But when the ? values are replaced by 1, not all of the shapes are compile time shapes
>onnx-mlir -O3 -v -EmitONNXIR bertsquad-12.onnx --shapeInformation="0:1,1:1x256,2:1x256,3:1x256"
> grep "?" bertsquad-12.tmp |wc -l
9

To me that does not totally make sense. Would be nice to have someone investigate the discrepancy.

@negiyas any insight on what is happening?

Please look at the following outputs of the both cases.
** In the dynamic value== 1 case,**
%1110 = "onnx.Mul"(%1096, %1104) : (tensor<256x768xf32>, tensor<256x1xf32>) -> tensor<256x768xf32>
%1111 = "onnx.Mul"(%1110, %1105) : (tensor<256x768xf32>, tensor<768xf32>) -> tensor<256x768xf32>
%1112 = "onnx.Add"(%1111, %1109) {onnx_node_name = "bert/encoder/layer_11/output/LayerNorm/batchnorm/add_1"} : (tensor<256x768xf32>, tensor<256x768xf32>) -> tensor<256x768xf32>
%1113 = "onnx.Constant"() {value = dense<[256, 768]> : tensor<2xi64>} : () -> tensor<2xi64>
%1114 = "onnx.Constant"() {value = dense<[1, 256, 2]> : tensor<3xi64>} : () -> tensor<3xi64>
%1115 = "onnx.Reshape"(%1112, %1113) {allowzero = 0 : si64} : (tensor<256x768xf32>, tensor<2xi64>) -> tensor<?x?xf32>
%1116 = "onnx.Constant"() {value = dense<[1.25070888E-4, 1.26759609E-4]> : tensor<2xf32>} : () -> tensor<2xf32>
%1117 = "onnx.Gemm"(%1115, %92, %1116) {alpha = 1.000000e+00 : f32, beta = 1.000000e+00 : f32, transA = 0 : si64, transB = 0 : si64} : (tensor<?x?xf32>, tensor<768x2xf32>, tensor<2xf32>) -> tensor<?x2xf32>

In the dynamic value=4 case
%1110 = "onnx.Mul"(%1096, %1104) : (tensor<1024x768xf32>, tensor<1024x1xf32>) -> tensor<1024x768xf32>
%1111 = "onnx.Mul"(%1110, %1105) : (tensor<1024x768xf32>, tensor<768xf32>) -> tensor<1024x768xf32>
%1112 = "onnx.Add"(%1111, %1109) {onnx_node_name = "bert/encoder/layer_11/output/LayerNorm/batchnorm/add_1"} : (tensor<1024x768xf32>, tensor<1024x768xf32>) -> tensor<1024x768xf32>
%1113 = "onnx.Constant"() {value = dense<[4, 256, 2]> : tensor<3xi64>} : () -> tensor<3xi64>
%1114 = "onnx.Constant"() {value = dense<[1.25070888E-4, 1.26759609E-4]> : tensor<2xf32>} : () -> tensor<2xf32>
%1115 = "onnx.Gemm"(%1112, %92, %1114) {alpha = 1.000000e+00 : f32, beta = 1.000000e+00 : f32, transA = 0 : si64, transB = 0 : si64} : (tensor<1024x768xf32>, tensor<768x2xf32>, tensor<2xf32>) -> tensor<1024x2xf32>

Findings are as follows.
(1)  In the dynamic value=1 case, onnx.Constant and onnx.Reshape ops in %1113 and %1115 should be removed, because the input tensor shape (=<256x768xf32>) and the specified shape (=[256x768]) are identical.
(2) In the dynamic value=4 case, onnx.Constant and onnx.Reshape ops are removed correctly.
I am investigating why the RemoveIdentityReshapePattern in src/Dialect/ONNX/Rewrite.td does not work for the dynamic value=1 case.
Your comments and sugessions are very welcome!

Maybe it needs another call of shape-inference. Have you tried to use repeatOnnxTransform, e.g., set it to 1 or more to repeatedly call shape-inference and constant propagation?

Looking at this:
%1113 = "onnx.Constant"() {value = dense<[256, 768]> : tensor<2xi64>} : () -> tensor<2xi64>
%1114 = "onnx.Constant"() {value = dense<[1, 256, 2]> : tensor<3xi64>} : () -> tensor<3xi64>
%1115 = "onnx.Reshape"(%1112, %1113) {allowzero = 0 : si64} : (tensor<256x768xf32>, tensor<2xi64>) -> tensor<?x?xf32>

I believe Reshape needs a call of shape-inference to get its correct output's dimensions.

I tried epeatOnnxTransform=10 . but the results were the same.
Is there any reason why it works for the the dynamic value=4 case, but does not work for he dynamic value=4 case?
I am looking at the RemoveIdentityReshapePattern now.
def RemoveIdentityReshapePattern:  Pat<
  // Remove an identity pattern. Input tensor already has the specified shape.
  (ONNXReshapeOp $val, $shape, $az),
  // Remove the transpose.
  (replaceWithValue $val),
  // Check that val has the specified shape.
  [(HasSpecifiedConstantShape $val, $shape)]>;

And I am investigating inputs of the HasSpecifiedConstantShape function for the onnx.Reshape op that should be removed.
(1) In the dynamic value=1 case, HasSpecifiedConstantShape receives 256x768xf32 tensor as value and [1, 256, 768] as the shape, and returns false, because the value tensor is 2D and the shape is 3D. I suppose that the shape [1, 256, 768] passed to the function is wrong, and should be [256, 768].
(2) In the dynamic value=4 case, the HasSpecifiedConstantShape receives 1024x768xf32 tensor as value [1024, 768] as the shape and returns true. It seems be reasonable.
the dynamic value=1 case
ZZZ value[256, 768, ] => shape[1, 256, 12, 64, ] return FALSE
ZZZ value[256, 768, ] => shape[1, 256, 12, 64, ] return FALSE
ZZZ value[256, 768, ] => shape[1, 256, 12, 64, ] return FALSE
ZZZ value[1, 256, 12, 64, ] => shape[256, 768, ] return FALSE
ZZZ value[256, 768, ] => shape[1, 256, 768, ] return FALSE
the dynamic value=4 case
ZZZ value[1024, 768, ] => shape[4, 256, 12, 64, ] FALSE
ZZZ value[1024, 768, ] => shape[4, 256, 12, 64, ] return FALSE
ZZZ value[1024, 768, ] => shape[4, 256, 12, 64, ] return FALSE
ZZZ value[4, 256, 12, 64, ] => shape[1024, 768, ] return FALSE
ZZZ value[1024, 768, ] => shape[1024, 768, ] return TRUE
I am investigating why the shape [1, 256, 768] (should be [256, 768]) passed to the HasSpecifiedConstantShape in the dynamic value=1 case.
Your comments are suggestions are very welcome!

Please look at the following outputs of the both cases.

Good to see that you are finding inefficiencies that can be further optimized in the ?=1 case. Please try to also look at why we have more dyn cases that remains in the ?=4 case, which was the original issue with shape inference. We really need to remove as many dyn ref as possible for NNPA

@AlexandreEichenberger Thank you for your comments.
I found that "--repeatOnnxTransform=5" option can solve this issue.
This option can change the maximum number of transform pass repeat times.
The default value is currently "3", but we need 5 times at least in this case. Large default value (e.g. 5 or 10) does not cause a large issue, because the transform pass is stopped if a transform pass does not change the target code at all, as you know.
I propose to change the default value from 3 to 5 (or more) to avoid similar issues.
Your comments and suggestions are very welcome.  Thank you.

In the previous comment:

I tried epeatOnnxTransform=10 . but the results were the same.

and, now

I found that "--repeatOnnxTransform=5" option can solve this issue.

Does it mean value 5 worked but 10 did not?

I am sorry, I used the "--onnx-op-transform-threshold=5" (not "--repeatOnnxTransform=5") option.
(I updated my previous comments).

I don't think we can expect our users to setup this option. Can we set it up to a higher value?

if no changes occurs at iteration n, do we still execute all of the iteration or we have a simple mechanism to stop? I would not invest a lot of effort into this, but if it is simple, then we should consider it.
if a concern, we could enable =10 only at -O3... not a big difference as we expect all our users to run at -O3.

if no changes occurs at iteration n, do we still execute all of the iteration or we have a simple mechanism to stop? I would not invest a lot of effort into this, but if it is simple, then we should consider it.

Yes. We have simple mechanism to stop it by checking a tag calculated by the IR (look at ONNXOpTransformPass::runOnOperation in ./src/Transform/ONNX/ONNXOpTransformPass.cpp).

if a concern, we could enable =10 only at -O3... not a big difference as we expect all our users to run at -O3.

Because the iteration will be stopped when no changes occur, it should not be a big issue to change the value to10 for all cases.

@negiyas please do, it should be an easy one. Thanks for the investigation and finding a fix

Created PR#1633 ( https://github.com/onnx/onnx-mlir/pull/1633 ) to change the default value for the "--onnx-op-transform-threshold" from 3 to 10 .

can we close this issue now that PR #1633 has landed?

completed


carpetClient not working in singleplayer

since the last version where carpetClient now work on server, it stopped working in singleplayer

hm I will take a look thanks

I have fixed this for the next update


Fix RunPipeline build without code

#70

@onikolaiev Thanks.
I'm curious, why was this change made here, but not in https://github.com/fscpscollaborative/fscps.gh? It seems both repos contain the same actions, but the templates refer to the fscps.gh repo. So a change in this repo would not actually take effect?

@onikolaiev Thanks.
I'm curious, why was this change made here, but not in https://github.com/fscpscollaborative/fscps.gh? It seems both repos contain the same actions, but the templates refer to the fscps.gh repo. So a change in this repo would not actually take effect?

@FH-Inway The main repo is fscps. This repo contains all "FSCPS for GitHub" code. Then, this repo has scheduled nightly workflow that pushes changes into templates and actions repos.


Adding data and code from  asymmetric paper.

As the title says =)

Tagging @bouzaghrane and @hassanobeid1994 for visibility and to let you all know that the data is here.

Addresses part of issue #13


[BUG] Cluster breaks when scaling down etcd nodes in an RKE2 cluster

Rancher Server Setup

Rancher version: 2.8-head commit id: 01127d8 and v2.7.8
Installation option (Docker install/Helm Chart): docker and helm install of rancher

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): RKE1

Information about the Cluster

Kubernetes version: on 2.8-head - v1.27.6+rke2r1 and on 2.7.8 - v1.26.8+rke2r1
Cluster Type (Local/Downstream): Downstream RKE2

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom) admin

Describe the bug
Cluster breaks when scaling down etcd nodes in an RKE2 cluster
To Reproduce

Deploy a 3 etcd, 2 cp and 3 worker nodes RKE2 cluster.
Once the cluster is Active, Scale down etcd nodepool by 1
The node is deleted and cluster comes up Active
Scale down the nodepool by one more node
Cluster is stuck in Updating state with message - configuring bootstrap node(s) sow-new-pool1-58d8d65466x8nszz-n4cc6: waiting for probes: etcd
One of the etcd nodes is stuck in Deleting state.
Error seen in Rancher logs

2023/10/07 15:49:44 [ERROR] [rkebootstrap] fleet-default/sow-new-bootstrap-template-6hmgn: cluster fleet-default/sow-new machine fleet-default/sow-new-pool2-5fc989cd98x4ghfb-q6xmh was still joined to deleting etcd machine fleet-default/sow-new-pool1-58d8d65466x8nszz-kmk64

Expected Result
etcd nodes should get deleted and cluster should come up Active
Additional context

I am able to reproduce this on 2.7.8 rancher version also
Could be related to this - https://github.com/rancher/rancher/issues/42034
looks similar to this one that's reported - https://github.com/rancher/rancher/issues/42709

I did an investigation into this, and every time it occurred on my setup, it was due to the fact that the cattle-cluster-agent was not rescheduled on my downstream cluster.
In my specific case, the cattle-cluster-agent was running on the node that was Deleting. With CAPR, CAPI is responsible for deleting the v1.Node within the downstream cluster when the machine is deleting -- notably, it does this by dialing the downstream cluster Kubernetes API through the cattle-cluster-agent. As we have additional finalizers on the controlplane/etcd nodes, these objects can also linger around with errors from the rke-bootstrap-cluster-name handler as the rkebootstrap controller requires a healthy cattle-cluster-agent connection in order to validate that the machine has been safely removed from the cluster.
I expect that the cluster will eventually recover; however, we are waiting on Kubernetes taint based eviction to kick off the cattle-cluster-agent in order to allow the CAPR + CAPI controllers to perform their job and allow this tear down.
More or less, I can assess this as something we should probably release note, and look at in the future. I do not believe that we can implement a fix quickly for this as it deals with the intricacies of CAPI and the cattle-cluster-agent.

I've also spent some time looking into this and I just wanted to dump some of my observations here.
Initial state

2 CP, 3 etcd, 3 worker
Cluster is brand new and healthy

After scaling down etcd pool from 3 to 2

Cluster remains healthy
The etcd node that was selected for removal was not the init node
The 2 CP nodes remain joined to the original etcd init node

After scaling down etcd pool for 2 to 1

Cluster gets stuck in "Updating"
There are still two etcd nodes left in the cluster. The etcd node that was selected for deletion is in state Deleting, while the other is in state Reconciling.
The etcd node that is Deleting appears to have been the etcd leader (although I'm not sure whether this really matters). This Deleting node is no longer running etcd at all – the only pods running on it, according to systemd, are kube-proxy and calico. This, to me, is strange, but it's possible I'm just misinterpreting what I'm seeing. As @Oats87 is saying, CAPI cannot delete this node because it needs to be able to call the kube API server to do so – it does this via the cluster agent – but the cluster agent (running on control plane nodes) is down, because all control plane nodes are down, because there is no functioning data plane, because the only running instance of etcd is unhealthy.
The other etcd node that is stuck in Reconciling has a permanently-unhealthy etcd pod that constantly logs the following errors.

2023-10-18T00:05:28.813465509Z stderr F {"level":"warn","ts":"2023-10-18T00:05:28.813201Z","caller":"etcdserver/v3_server.go:897","msg":"waiting for ReadIndex response took too long, retrying","sent-request-id":1354610693535264727,"retry-timeout":"500ms"}
2023-10-18T00:05:29.313763958Z stderr F {"level":"warn","ts":"2023-10-18T00:05:29.313527Z","caller":"etcdserver/v3_server.go:897","msg":"waiting for ReadIndex response took too long, retrying","sent-request-id":1354610693535264727,"retry-timeout":"500ms"}
2023-10-18T00:05:29.814292215Z stderr F {"level":"warn","ts":"2023-10-18T00:05:29.814083Z","caller":"etcdserver/v3_server.go:897","msg":"waiting for ReadIndex response took too long, retrying","sent-request-id":1354610693535264727,"retry-timeout":"500ms"}
2023-10-18T00:05:30.315383116Z stderr F {"level":"warn","ts":"2023-10-18T00:05:30.315136Z","caller":"etcdserver/v3_server.go:897","msg":"waiting for ReadIndex response took too long, retrying","sent-request-id":1354610693535264727,"retry-timeout":"500ms"}
2023-10-18T00:05:30.719334012Z stderr F {"level":"info","ts":"2023-10-18T00:05:30.718527Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"cb1da3a69b0212cc is starting a new election at term 3"}
2023-10-18T00:05:30.71937804Z stderr F {"level":"info","ts":"2023-10-18T00:05:30.718733Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"cb1da3a69b0212cc became pre-candidate at term 3"}
2023-10-18T00:05:30.719411712Z stderr F {"level":"info","ts":"2023-10-18T00:05:30.718767Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"cb1da3a69b0212cc received MsgPreVoteResp from cb1da3a69b0212cc at term 3"}
2023-10-18T00:05:30.719418041Z stderr F {"level":"info","ts":"2023-10-18T00:05:30.718791Z","logger":"raft","caller":"etcdserver/zap_raft.go:77","msg":"cb1da3a69b0212cc [logterm: 3, index: 5712] sent MsgPreVote request to 289d64efcdec96c2 at term 3"}
2023-10-18T00:05:30.81670116Z stderr F {"level":"warn","ts":"2023-10-18T00:05:30.816418Z","caller":"etcdserver/v3_server.go:897","msg":"waiting for ReadIndex response took too long, retrying","sent-request-id":1354610693535264727,"retry-timeout":"500ms"}
2023-10-18T00:05:31.317362124Z stderr F {"level":"warn","ts":"2023-10-18T00:05:31.317134Z","caller":"etcdserver/v3_server.go:897","msg":"waiting for ReadIndex response took too long, retrying","sent-request-id":1354610693535264727,"retry-timeout":"500ms"}
2023-10-18T00:05:31.494112781Z stderr F {"level":"warn","ts":"2023-10-18T00:05:31.493967Z","caller":"etcdhttp/metrics.go:173","msg":"serving /health false; no leader"}
2023-10-18T00:05:31.494155853Z stderr F {"level":"warn","ts":"2023-10-18T00:05:31.494111Z","caller":"etcdhttp/metrics.go:86","msg":"/health error","output":"{\"health\":\"false\",\"reason\":\"RAFT NO LEADER\"}","status-code":503}
2023-10-18T00:05:31.818845316Z stderr F {"level":"warn","ts":"2023-10-18T00:05:31.818547Z","caller":"etcdserver/v3_server.go:897","msg":"waiting for ReadIndex response took too long, retrying","sent-request-id":1354610693535264727,"retry-timeout":"500ms"}
2023-10-18T00:05:32.319568753Z stderr F {"level":"warn","ts":"2023-10-18T00:05:32.319361Z","caller":"etcdserver/v3_server.go:897","msg":"waiting for ReadIndex response took too long, retrying","sent-request-id":1354610693535264727,"retry-timeout":"500ms"}
2023-10-18T00:05:32.799453823Z stderr F {"level":"warn","ts":"2023-10-18T00:05:32.79923Z","caller":"rafthttp/probing_status.go:68","msg":"prober detected unhealthy status","round-tripper-name":"ROUND_TRIPPER_SNAPSHOT","remote-peer-id":"289d64efcdec96c2","rtt":"1.10541ms","error":"dial tcp <IP_ADDRESS>:2380: connect: connection refused"}
2023-10-18T00:05:32.815786147Z stderr F {"level":"warn","ts":"2023-10-18T00:05:32.815545Z","caller":"rafthttp/probing_status.go:68","msg":"prober detected unhealthy status","round-tripper-name":"ROUND_TRIPPER_RAFT_MESSAGE","remote-peer-id":"289d64efcdec96c2","rtt":"6.105871ms","error":"dial tcp <IP_ADDRESS>:2380: connect: connection refused"}

These logs are the reason I say that the node that is stuck in Deleting appears to have been the leader, but I'm not sure why the only remaining etcd node is unable to become the new leader. By my logic, the last remaining etcd node should not become unhealthy here.

Reproducible on v2.7.6
Attempted to reproduce on 3 downstream clusters, results are as follows:
Cluster # 1 - :x:

provisioned downstream rke2 w/ k8s v1.26.8+rke2r1
once active, scale down etcd node pool by 1
Verified - etcd node pool successfully scaled down
once active, scaled own etcd node pool by 1
REPRODUCED

Cluster # 2 - :x:

provisioned downstream rke2 w/ k8s v1.26.8+rke2r1
once active, scale down etcd node pool by 1
REPRODUCED

Cluster # 3 - :white_check_mark:

provisioned downstream rke2 w/ k8s v1.26.8+rke2r1
once active, scale down etcd node pool by 1
Verified - etcd node pool successfully scaled down
once active, scaled own etcd node pool by 1
Verified - etcd node pool successfully scaled down

Test Environment:
Rancher version: v2.8-head bd93f32
Rancher cluster type: HA
Docker version: 20.10
Downstream cluster type: rke2 aws node driver cluster

Testing:
This issue was tested with the following steps:
1.Deploy a 3 etcd, 2 cp and 3 worker nodes RKE2 cluster. (k8s v1.27.6)
2. Once the cluster is Active, Scale down etcd nodepool by 1
3. The node is deleted and cluster comes up Active
4. Scale down the nodepool by one more node
Result
I also attempted scaling down on multiple clusters just like Josh did on 2.7.6
All three clusters were able to scale down the etcd nodepool successfully and all clusters came up active with all pods also active.

Reopening this issue to revert the fix as it may make matters worse if affected by https://github.com/rancher/rancher/issues/42582. @jakefhyde to open revert and provide additional information on the reasons.
Following the revert, the issue's milestone should be changed to the next.

#43097 With this bug present, clusters may get stuck when scaling down. Although this behavior is undesirable, this can actually prevent total cluster loss when #42582 is encountered, as with this fix, machines can then be successfully removed which will only leave s3 snapshots as a means of restoring the cluster, since the underlying infra machines will have been cleaned up and the local snapshots with them.

Moved to next milestone since this issue was added to release notes draft for 2.8.0 already.

This bug mentioned RKE2 but I saw the same kind of behaviour with K3s: can it happen on both or is it only tied to RKE2?

Currently blocked by the same reason as https://github.com/rancher/rancher/issues/42582 (https://github.com/rancher/rancher/issues/45090)

Ready to test based on CAPI bumped to a version with the fix, see https://github.com/rancher/rancher/issues/42582#issuecomment-2123755947.

Ticket #43097 - Test Results - ✅

Scenario
Test Case
Result

1.
Scaling test
Pass

Verified with (HA Helm or Docker) on Rancher 	v2.9-3c48a195381ad55f9fef7e9bf32b1593d43368ca-head:
Scenario 1: Scaling test

Create a 8 node 3etcd 2cp 3worker cluster
Scale down the cluster by 1 etcd node
Wait for the cluster to come up active
Scale down the cluster by 1 more etcd node

Results: All nodes get deleted properly and the cluster remains in a healthy state


TextInput::make('nominal')

TextInput::make('nominal')
->label('Jumlah (IDR)')
->required()
->reactive()
->extraAttributes([
'id' => 'rupiah',
'oninput' => 'formatRupiah(this)',
])
->afterStateHydrated(function ($state, callable $set) {
$set('nominal', 'Rp. ' . number_format($state, 0, ',', '.'));
})
->dehydrateStateUsing(fn ($state) => str_replace(['Rp. ', '.'], '', $state))
->prefix('Rp. ')
->hint('Masukkan jumlah uang dalam Rupiah'),
How do I input Indonesian currency when typing in the form
Originally posted by @rachmathikam in https://github.com/filamentphp/filament/discussions/12489#discussioncomment-10495490

Donate 💰 to fund this issue

You can donate funding to this issue. We receive the money once the issue is completed & confirmed by you.
100% of the funding will be distributed between the Filament core team to run all aspects of the project.
Thank you in advance for helping us make maintenance sustainable!

Let’s keep this in discussions, as it may not necessarily be considered an issue


[BUG] text classification failing if num_classes in validation < num_classes in training data

Prerequisites

[X] I have read the documentation.
[X] I have checked other issues for similar problems.

Backend
Local
Interface Used
CLI
CLI Command
autotrain --config training.yml
UI Screenshots & Parameters
training.yml:
task: text_classification
base_model: google-bert/bert-base-multilingual-uncased
project_name: products-to-categories-finetuned
log: tensorboard
backend: local

data:
  path: data/
  train_split: train # this must be either train.csv or train.json
  valid_split: validate # this must be either validate.csv or validate.json
  column_mapping:
    text_column: name # this must be the name of the column containing the text
    target_column: category_id # this must be the name of the column containing the target

params: # Default values...
  max_seq_length: 512
  epochs: 3
  batch_size: 4
  lr: 2e-5
  optimizer: adamw_torch
  scheduler: linear
  gradient_accumulation: 1
  # mixed_precision: fp16

hub:
  username: ${HF_USERNAME}
  token: ${HF_TOKEN}
  push_to_hub: false

Error Logs
INFO     | 2024-10-01 14:22:42 | __main__:train:70 - loading dataset from disk
ERROR    | 2024-10-01 14:22:42 | autotrain.trainers.common:wrapper:120 - train has failed due to an exception: Traceback (most recent call last):
  File "/Users/anthony/.pyenv/versions/3.11.2/lib/python3.11/site-packages/autotrain/trainers/common.py", line 117, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/anthony/.pyenv/versions/3.11.2/lib/python3.11/site-packages/autotrain/trainers/text_classification/__main__.py", line 98, in train
    raise ValueError(
ValueError: Number of classes in train and valid are not the same. Training has 1936 and valid has 1064

ERROR    | 2024-10-01 14:22:42 | autotrain.trainers.common:wrapper:121 - Number of classes in train and valid are not the same. Training has 1936 and valid has 1064

Additional Information
Replacing the check with if num_classes_valid > num_classes: (or removing it, because a previous check makes sure that there are no classes in the validation data that are not in the training data) does not seem to cause any additional issues.
Is there a reason for this check?
Is it possible to make this change permanent?
Thank you!

we cannot calculate metrics if the validation classes are not same as training classes.
are you validation classes a subset of training classes and you are getting this error?


minor readme terminology change

Apologies if this just seems like pedantry.
Your readme confused me briefly because it talked about a "bi-weekly" (which means twice a week) meeting when I think it should say "fortnightly".

Your readme confused me briefly because it talked about a "bi-weekly" (which means twice a week) meeting when I think it should say "fortnightly".

Hi @maninalift, welcome!  I am not sure if using fortnightly adds much clarity though as it is not a commonly used word in the US. Biweekly does technically mean every other week or twice a week, since we also explicitly set Tuesday as the day for the meeting this eliminates that ambiguity.
https://en.wikipedia.org/wiki/Biweekly
Going to close this, but I appreciate taking the time to make the issue. If we here of additional confusion like this we can revisit.


Missing Command line Utilities?

I noticed that vorpal, inquirer are listed, but not commander or args.
Both are actually mentioned in inquirer's README, and commander is probably the oldest of them. I was thinking of making a PR, but felt it was wiser to first ask why they were left out!

commander is a pos

Besides of meow and minimist, yargs has recently found entry into the list (and it receives a high npms score if this is something to consider). I guess it will be difficult to have them added.

@ORESoftware What is pos ?
@florianb I was referring to args not yargs.
Isn't this supposed to be a list of libraries, letting the user decide which one to chose?  I don't know which is good, but when I go on vorpal which is listed here, and i find there a reference to commander, it makes me wonder if this list is comprehensive, or if it is opiniated, especially when commander is the CLI utility that has the most number of stars!
I'm confused :P

This list is opinionated, that's the point. Stars are not a very useful measure of quality, just popularity.

Oh, good to know. Thx!

@piotryordanov pos is a pejorative term, that is why I did not spell it out :)

Sorry @piotryordanov, it wasn't my intention to confuse you. I mentioned yargs since it plays in the same discipline is already added. It is getting harder to add a library with a functionality a listed library already provides. 😃

@ORESoftware ah, I thought it meant Point Of Serivice xD
@florianb no worries, I got it :)


Updates .... and suggestions to future

an excellent software for mobile tweaking, but here are some tips for improvements...
1 - hide apps script
2 - chmod permissions boot android script
3 - extract script img files
some tips and improvements for future updates

i dont know if this is already added xD but how do i extract the apk or download it from my phone to my pc?

i dont know if this is already added xD but how do i extract the apk or download it from my phone to my pc?

not implemented yet, if you can open an issue requesting it :)

@TomieAi now available https://github.com/msartore/ATA-GUI/releases/tag/v2.1.0

The following request:

extract script img files

has been implemented in the v3.7.2, check it out!

@marmmc
As this is already a messy ticket (the closed ones aren't better), I decided to add my suggestions and delete this comment later if problematic.
Please add a custom platform-tools path input field in the settings, with or without a "browse" button, because mine purposely aren't "installed", so I have to keep this one's .exe in the root of the platform-tools folder and this is not an optimal solution for me.
It must also have a Dark Theme.
Please react with an emoji, like "eyes", so I know that you saw this. Thank You in advance.

Please add a custom platform-tools path input field in the settings, with or without a "browse" button, because mine purposely aren't "installed", so I have to keep this one's .exe in the root of the platform-tools folder and this is not an optimal solution for me.

Just added the support for environment variables scanning on the latest release . Let me know if everything works!

It must also have a Dark Theme.
It will be added in the future

It automatically finds the platform-tools now [Thanks], but my idea was for their location path in the settings of ATA for the cases when the PATH is NOT added to the Environment Variables, just like the Wiki mentions or specify the path within ATA-GUI's settings, but I don't see such option, or it's only available/visible in certain scenarios (like the PATH or the platform-tools folder missing from C:, because I didn't play around much, testing without them for now)...?
I have other similar tools on the machine I'm writing from (and at least 2 other, very similar to ATA-GUI - I guess they are based on each other) and would like if you can implement a File Browser/Explorer, like the following have: adbGUI, ADB Explorer, Aow Tools, DroidDevBros & maybe ADB AppControl, along with their specific options, for example adbGUI (v.2.2) has the most (insane amount of - I haven't even used half of them), but I don't expect you to add all of them. ;)

Location path in the settings of ATA for the cases when the PATH is NOT added to the Environment Variables

The custom path inside ATA-GUI's settings will be added in the future

I guess they are based on each other
This application is based on an old script developed for Windows and Linux by me. Then I wanted to develop something more user-friendly, so I started to build on that base to add more and more features.

implement a File Browser/Explorer
I thought about it, but I did not have time for it yet.

Please consider adding/mentioning the ver. of the asset files file name in /releases, instead of all being "ATA-GUI" - less confusing to have app name with ver. when DLing, not having to rename during or afterwards (or letting them automatically be renamed if you keep an older one with a number in brackets by the browser/download manager) ;)


Descriptive comments and Re-factorization of the Interpolation, Differentiation and non-linear Systems methods

حله سلطان واسا چک کنم


Complete translate in ko-KR

Hi, I've completed translate in ko-KR.
and I've added translation link in README.md.
(path is -> https://github.com/AllThingsSmitty/jquery-tips-everyone-should-know/tree/master/translations/ko-KR)
so maybe if you merge, you will see right away.
I'm glad to translate this project. :D thank you!

It looks like some additional files that are related to this repo were included with your commit. Please remove anything under the "ideas" directory and only commit the master README.md and /translations/ko-KO/README.md. Additionally, please place the link to the Korean translation on the master README.md after the Magyar link.

It looks like some additional files that are related to this repo were included with your commit. Please remove anything under the "ideas" directory and only commit the master README.md and /translations/ko-KO/README.md. Additionally, please place the link to the Korean translation on the master README.md after the Magyar link.

@AllThingsSmitty
Maybe I think the '.idea' directory is because of 'Webstorm'.
I deleted '.idea' and another things.
and placed Korean link after the Magyar link.
If you need another thing more, please comment again. Thank you. :D

@AllThingsSmitty
Maybe I think the '.idea' directory is because of 'Webstorm'.
I deleted '.idea' and another things.
and placed Korean link after the Magyar link.
If you need another thing more, please comment again. Thank you. :D

Thanks, but it looks like your latest commit contains changes delete other files in the repo. Please only commit the master README.md and /translations/ko-KO/README.md files.

Thanks, but it looks like your latest commit contains changes delete other files in the repo. Please only commit the master README.md and /translations/ko-KO/README.md files.

Sorry, maybe I didn't understand about "Please only commit the master README.md and /translations/ko-KO/README.md files." means
I restored master README.md and Added Korean link after the Magyar link.
is it right?

Sorry, maybe I didn't understand about "Please only commit the master README.md and /translations/ko-KO/README.md files." means
I restored master README.md and Added Korean link after the Magyar link.
is it right?

I am sorry for not checking that part.
However, I found out that VSCode automatically caused an error you mentioned once I add a link on translated list. I already checked several times, so please refer to that.
At the moment, I found a way to add the certain part without an error by using Webstorm, so I made a commit so that only link for translation can be added.

I am sorry for not checking that part.
However, I found out that VSCode automatically caused an error you mentioned once I add a link on translated list. I already checked several times, so please refer to that.
At the moment, I found a way to add the certain part without an error by using Webstorm, so I made a commit so that only link for translation can be added.


Unsuspend linux host

Host:  M2 Mac
Guest:  Qemu - Aarch64 (Arm64) ubuntu
On my real linux laptop, I can suspend it and then unsuspend by hitting a key or opening the lid.
On here, if I run systemctl suspend then try and press keys or move the mouse in the window, the guests screen remains black.

I've briefly looked into this but I can't figure out how to resume it from QEMU. If you can figure out how to get it working on QEMU, we can add it.

The savevm/loadvm monitor commands look useful:
https://superuser.com/a/1785127
(scroll down "To create a snapshot in an online VM")

@stuaxo we already do that when you press the "pause" button. I think you're asking for something different which is: if a guest decides to go to sleep, QEMU should be aware and not freeze up. If you can get that to work in a QEMU environment, let me know what commands you've used.

The pause button is always greyed out for me, do I need to change something to enable it ?

Yes, that means that "savevm"/"restorevm" is not supported for your configuration. If you run the same VM in QEMU and try to run "savevm" it will give you an error.

You're right on the first point - I have derailed this, in that this issue is about the host being able to restore a suspended guest.
I'll try and work out how to use the qemu monitor and work out what's up.

Closing, since I no longer use a Mac with UTM+Qemu so won't be able to reproduce this or give further feedback.

I ran into a similar issue while running An Alpine Linux (with GNOME+Wayland desktop) under UTM 4.5.3. Aarch64 architecture, on an Apple Silicon host. As a workaround, I switched off auto-suspend in the GNOME settings, but it would be nice to have suspend/resume work properly in Linux VM guests like this.


change badge to transparent&white, add warning for users

badges changed to b&W
add validation for badge with note that it needs to be B&W
add test case for validation

This fixes https://github.com/manifoldjs/ManifoldJS/issues/219


Update video instructions for installing The Things Stack Enterprise and Open Source deployments

Summary
The video instructions for installing The Things Stack Enterprise and open source deployments in the documentation are outdated.  Hence, we believe it would be good to have updated video instructions for Installing The Things Stack.
Why do we need this ?
To provide a smooth experience to the users while installing The Things Stack.
What is already there? What do you see now?
Video Instructions for Installing The Things Stack Enterprise and Open Source deployments embedded in Installing The Things Stack.
What is missing? What do you want to see?
Updated video instructions with the latest changes included for installing The Things Stack Enterprise and Open Source deployments.
How do you propose to document this?
...
Can you do this yourself and submit a Pull Request?
No, @benolayinka

@benolayinka have you looked into this?

Will add this to my backlog

This is very much nice to have. @benolayinka: Please prioritise this after the conference.

@benolayinka: Please pick this item up in October.


Multilingual support

First of all, thanks for such a great theme! Is it possible to add localization support?

Sure. I probably won't have the time to do it since I'm not actively adding new features for this theme. But if you wanted to submit a PR I'd look at it.
I've tackled this in my other themes so I'd be looking for something similar if I was to merge it in.
Anything beyond localizing simple text strings pushes things into plugin territory and I'd like to avoid that since it's best left for the user to decide if they want to add it.

Hi,
If you want, I already implement a kind of multilingual feature on my own blog. My blog is still in French, but I add the ability of adding post in English.
First, I've created a lang attribute on my post's templates.
And when I loop on articles, I check if lang is defined to put a flag.
Look:
{% for post in site.posts %}
//...
    {% if post.lang == "en" %}

 {{ post.title }}

    {% else %}

{{ post.title }}

    {% endif %}
//...
{% endfor %}

Here's the result: http://maxpou.fr (look line: "Vagrant, Symfony and Windows are not incompatibles")


For a 0.2.8 release

#41

Codecov Report

Merging #42 into master will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #42   +/-   ##
=======================================
  Coverage   99.11%   99.11%
=======================================
  Files           7        7
  Lines         225      225
=======================================
  Hits          223      223
  Misses          2        2

Impacted Files
Coverage Δ

src/convention/coerce.jl
100.00% <100.00%> (ø)

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 72c0b44...f56c12d. Read the comment docs.


About the PR

Added a Cooler Clarinet. With Program value 120 And special Examine text and name. All else is the same.
Why / Balance

Because its funny and i needed to practice instruments.
Technical details

Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

add: Added Cooler_Clarinet

literally me when i merge


Vue i18n multi language

@lisandroiraguen this PR seems to be the Vuex implementation PR + i18n changes. lets close PR (https://github.com/CodingOnChain/lift-wallet/pull/39/files) and just use this one to do both vuex and i18n

uff. yes, you are right


differ fails after latest whiteout parent directories fix

Creating a separate issue for https://github.com/containerd/containerd/pull/2095#issuecomment-364552030 for better tracking.
After fix for adding the parent directories for whiteouts #2095 the originally reported testcase for that PR in buildkit fails to create diff tarballs, failing with error: failed to solve: rpc error: code = Unknown desc = failed calculaing diff pairs for exported snapshot: mount callback failed on /tmp/containerd-WithTempMount737087017: mount callback failed on /tmp/containerd-WithTempMount631635316: failed to write compressed diff: failed to create diff tar stream: stat /tmp/containerd-WithTempMount631635316/usr/share/aclocal-1.15: no such file or directory
stacktrace:
time="2018-02-09T11:56:52-08:00" level=error msg="/moby.buildkit.v1.Control/Solve returned error: stat /tmp/containerd-WithTempMount631635316/usr/share/aclocal-1.15: no such file or directory
failed to create diff tar stream
github.com/moby/buildkit/vendor/github.com/containerd/containerd/archive.WriteDiff
	/home/dev2/data/go/src/github.com/moby/buildkit/vendor/github.com/containerd/containerd/archive/tar.go:62
github.com/moby/buildkit/vendor/github.com/containerd/containerd/diff/walking.(*walkingDiff).Compare.func1.1
	/home/dev2/data/go/src/github.com/moby/buildkit/vendor/github.com/containerd/containerd/diff/walking/differ.go:99
github.com/moby/buildkit/vendor/github.com/containerd/containerd/mount.WithTempMount
	/home/dev2/data/go/src/github.com/moby/buildkit/vendor/github.com/containerd/containerd/mount/mount.go:71
github.com/moby/buildkit/vendor/github.com/containerd/containerd/diff/walking.(*walkingDiff).Compare.func1
	/home/dev2/data/go/src/github.com/moby/buildkit/vendor/github.com/containerd/containerd/diff/walking/differ.go:66
github.com/moby/buildkit/vendor/github.com/containerd/containerd/mount.WithTempMount
	/home/dev2/data/go/src/github.com/moby/buildkit/vendor/github.com/containerd/containerd/mount/mount.go:71
github.com/moby/buildkit/vendor/github.com/containerd/containerd/diff/walking.(*walkingDiff).Compare
	/home/dev2/data/go/src/github.com/moby/buildkit/vendor/github.com/containerd/containerd/diff/walking/differ.go:65
github.com/moby/buildkit/cache/blobs.GetDiffPairs.func2.1

Reproducing dockerfile (same as #2094):
FROM golang:1.9.3-alpine3.7
RUN apk add --no-cache --virtual .builddeps automake
RUN apk del .builddeps

It seems that the stat error comes from the includeParent() call that was added by the fix, but in this case, it calls stat with a path that doesn't exist anymore.
@dmcgowan

https://github.com/containerd/continuity/pull/103


More detail on how how the managed endpoints actually work

Can we please get more information on how the managed endpoint is working under the hood.
I'm following the MLOps-v2 accelerator (https://github.com/Azure/mlops-v2) and i'm confused about how models can be promoted between environments.  The models are registered at the end of the training pipeline, and then we need to promote the model between the different environments, as per https://github.com/Azure/mlops-v2/blob/main/documentation/architecturepattern/AzureML_CML_Architecture.png.
My company keep our different environments segregated and i'm not sure how the model moves between the different AML workspaces, do we need to register it in each workspace or is the docker container pushed between the Azure Container Registries in each workspace.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 73827af2-b318-3e56-6e01-98958ed2d495
Version Independent ID: 87217130-657e-8d95-95b1-da78f709a327
Content: What are endpoints? - Azure Machine Learning
Content Source: articles/machine-learning/concept-endpoints.md
Service: machine-learning
Sub-service: mlops
GitHub Login: @dem108
Microsoft Alias: sehan

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.


[bug] sorting migrations are not done by name

Problem
It seems that the order in which migrations are run, are either not working as expected or I haven't got migration naming correct.
Scenario
When running two migrations, where the latter creates a constraint on the former.
The one with the constraint is run before the referenced table is created.
Running the two migrations separate is a work around in this case.
Steps to reproduce

Create two migrations with the following statements
run php tempest migrate:up
the following error occurs
General error: 1824 Failed to open the referenced table 'authors

Tabel 1 (authors)
# migration name: 1970-01-02_create_authors_table
create table if not exists authors (
    id bigint auto_increment primary key,
    name varchar(255) not null
);

Table 2 (books)
# migration name: 1970-01-03_create_books_table
create table books
(
    id        bigint auto_increment primary key,
    title     varchar(255) not null,
    author_id bigint       null,
    constraint books_authors_id_fk foreign key (author_id) references authors (id)
);

create index books__authors__index on books (author_id);

Yeah they should definitely be sorted. Do you wanna take a look? I'm happy to fix it as well

I'm working in there already, so it can help me understand the inner working more. So I'll take a look.
If you have any pointers that might help I'm all ears :)


Script y/n loop error

script loops last command like so:
The process is finished. Closing in 3 seconds
The process is finished. Closing in 3 seconds
The process is finished. Closing in 3 seconds
The process is finished. Closing in 3 seconds
The process is finished. Closing in 3 seconds
The process is finished. Closing in 3 seconds

can be fixed with can be fixed with previous version of the loop code

Fixed by reverting to old version killing script in directly from loop command


Simulated-Annealing doesn't return a state

Figure 4.5 - SIMULATED-ANNEALING describes an optimization algorithm that is supposed to return a state, as per the first line of the function declaration. The rest of the implementation, however, goes on to return a node instead of its state. I am not certain about the reason behind this, but I think the pseudocode should change to match the function declaration (and the standard format of other optimisation functions in the book, such as HILL-CLIMBING). I am unsure about how to propose this as an edit to the pseudocode (or even whether I should do so or not).

Update:
I have added #40 to the aima-pseudocode repo, and #369 to the aima-python repo to fix this - if I am making an error, then these can be ignored, but I went ahead and made the pull requests anyway because they weren't very substantial edits.

Perspective from the aima-java repo:
I had a look at the aima-java implementation to get a greater idea about this. Both the optimisation functions (Hill-Climbing and Simulated-Annealing) is to return a Node, rather than a state.
HillClimbingSearch.java
SimulatedAnnealingSearch.java
Maybe I was wrong with my edit - Hill-Climbing should have been changed instead of Simulated-Annealing. However, in my opinion, returning a solution state seems more intuitive than a solution node. Could somebody please weigh in on this?

I'll have to think about this some more, and I welcome more discussion. Clearly, the path searching functions like A* search need to give you a path, which you get from a Node. For the optimization functions, if you are really using them for optimization, all you care about is the state. The difficulty is that sometimes you apply them where you aren't interested only in optimization, and you do want the path. I'm inclined to say that you should be returning the state, and if you really want to recover some other information, that should be part of the state. But I'm open to counter-arguments.

We can have a different approach that combines the best of both features:

Since the text introduces both the Hill-Climbing and Simulated-Annealing as optimisation functions, we can stick to returning states in the pseudocode, as would be required for most optimisation problems.

However, in the python implementation, it is easy to have the best of both worlds - a helper function that does the actual optimal path searching - returning a node, and a wrapper that simply returns the state of the given node, thus forming a user interface consistent with that provided in the textbook.

This has a major drawback though - the python implementation will look slightly different from the pseudocode - an outcome that is clearly undesirable given the explicit goals of the aimacode project.

I think the algorithms and the pseudocode should be changed to use states rather than nodes. The only purpose of Nodes is to define paths, and in hillclimbing and simulated annealing, we don't define a path, so there is no need for Nodes.

I would just like to say that the Python implementation has already been modified to use states in #369, and the aima-pseudocode repository also already mentions this change in issue 45. So this issue can probably be closed now if the matter has been decided.


ACL Sigmoid layer performs slower than OpenMP implemntation

Output of 'strings libarm_compute.so | grep arm_compute_version':
arm_compute_version=v20.02.1 Build options: {'arch': 'armv7a', 'opencl': '0', 'neon': '1', 'build': 'cross_compile', 'debug': '0', 'os': 'linux'} Git hash=unknown
Platform: Raspberry Pi 4 Model-B Quad core Cortex-A72 (ARM v8) 64-bit SoC @ 1.5GHz
Operating System: Linux
I have implemented the Sigmoid layer using ACL NEActivationLayer API and OpenMP custom implementation. I found that ACL performs 1.3x slower than OpenMP implementation.
FYI, I have attached the source code of both implementations, you can download this implementation from this link.
Please download the scripts and follow the below steps to see the results:

Download the benchmark scripts from the above link.
To see ACL results:
Enable USEACLIMPL preprocessor flag in onlySigmoid.cpp.
run "make acl" from the terminal.
Run onlySigmoid_acl_exe then it will prints runtime in milliseconds.

To see OpenMP implementation results:

Disable USEACLIMPL preprocessor flag in onlySigmoid.cpp.
run "make openmp" from the terminal.
Run onlySigmoid_openmp_exe then it will prints runtime in milliseconds.

Let me know if need any help to reproduce this issue.
Thanks,
Hari

Hi @Hari-MathWorks
You will get better performance if you build ACL with arch=arm64-v8a. Is there any particular reason why you are using armv7a? If possible please try with v8a. I'd also advice updating to v21.05, v20.02.1 is very old.
I built and ran your test with the head of master and I see ACL doing better than the openmp implementation.
root@acl_hikey_dev:~/tmp/pabtel01/mathworks# LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. ./onlySigmoid_openmp_exe
Using hand-coded implementation..
Average time:42.400000
root@acl_hikey_dev:~/tmp/pabtel01/mathworks#
root@acl_hikey_dev:~/tmp/pabtel01/mathworks#
root@acl_hikey_dev:~/tmp/pabtel01/mathworks#
root@acl_hikey_dev:~/tmp/pabtel01/mathworks# LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. ./onlySigmoid_acl_exe
Using ACL implementation..
Average time:12.200000
root@acl_hikey_dev:~/tmp/pabtel01/mathworks#
root@acl_hikey_dev:~/tmp/pabtel01/mathworks#
root@acl_hikey_dev:~/tmp/pabtel01/mathworks#
root@acl_hikey_dev:~/tmp/pabtel01/mathworks#
root@acl_hikey_dev:~/tmp/pabtel01/mathworks#
root@acl_hikey_dev:~/tmp/pabtel01/mathworks#
root@acl_hikey_dev:~/tmp/pabtel01/mathworks# LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. ./onlySigmoid_openmp_exe
Using hand-coded implementation..
Average time:41.200000
root@acl_hikey_dev:~/tmp/pabtel01/mathworks# LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. ./onlySigmoid_acl_exe
Using ACL implementation..
Average time:11.400000
root@acl_hikey_dev:~/tmp/pabtel01/mathworks# LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. ./onlySigmoid_openmp_exe
Using hand-coded implementation..
Average time:40.600000
root@acl_hikey_dev:~/tmp/pabtel01/mathworks# LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. ./onlySigmoid_acl_exe
Using ACL implementation..
Average time:10.400000

Hi @morgolock ,
Thanks for your response. It was good to see that ACL performing better on arch=arm64-v8a.
But in my case, I'm trying to deploy on a Raspberry Pi 4 device that has armv7a. Is this performance difference expected on armv7a?
Thanks,
Hari

Hi @Hari-MathWorks
Please see below the results of the test on armv7a.
ACL is 2 times faster than the openmp implementation.
root@acl_hikey_dev:~/tmp/pabtel01/mathworks# LD_LIBRARY_PATH=../acl_neon+cl_release_v7a/ ./onlySigmoid_openmp_exe
Using hand-coded implementation..
Average time:43.200000
root@acl_hikey_dev:~/tmp/pabtel01/mathworks# LD_LIBRARY_PATH=../acl_neon+cl_release_v7a/ ./onlySigmoid_acl_exe
Using ACL implementation..
Average time:22.400000

Could you please share the ouput of the following command?:
LD_LIBRARY_PATH=../acl_neon+cl_release_v7a/ ./arm_compute_validation  | head -n 20
You should see something like this:
root@acl_hikey_dev:~/tmp/pabtel01/mathworks# LD_LIBRARY_PATH=../acl_neon+cl_release_v7a/ ./arm_compute_validation  | head -n 20
Version = arm_compute_version=v0.0-unreleased Build options: {'test_examples': '0', 'standalone': '0', 'test_filter': 'DirectConvolutionLayer.cpp', 'opencl': '1', 'neon': '1', 'debug': '0', 'validation_tests': '1', 'examples': '0', 'benchmark_tests': '0', 'arch': 'armv7a', 'benchmark_examples': '0'} Git hash=3bf76b1ade354f0b3a4d329a6e80ac4f90fcf11d
CommandLine = ./arm_compute_validation
Seed = 445901339
CL_DEVICE_VERSION = OpenCL 2.0 not_released.51d50be.a616490a17cf20b2ee8ef25409eb8a1f
cpu_has_fp16 = false
cpu_has_dotprod = false
CPU0 = GENERIC
CPU1 = GENERIC
CPU2 = GENERIC
CPU3 = GENERIC
CPU4 = A73
CPU5 = A73
CPU6 = A73
CPU7 = A73


Liveness probe fails with 500 and "workflow never reconciled" (using semaphores)

Version 3.1.1 is failing a lot for us:
$ kubectl get pod
NAME                                   READY   STATUS             RESTARTS   AGE
argo-server-895985bb9-fz2hf            1/1     Running            0          13h
workflow-controller-6c79bf6684-8xlbx   0/1     CrashLoopBackOff   83         9h

$ kubectl describe pod workflow-controller-6c79bf6684-8xlbx
[...]
Events:
  Type     Reason     Age                   From     Message
  ----     ------     ----                  ----     -------
  Warning  Unhealthy  4m54s (x251 over 9h)  kubelet  Liveness probe failed: HTTP probe failed with statuscode: 500
  Warning  BackOff    17s (x952 over 8h)    kubelet  Back-off restarting failed container

$ kubectl -n argo logs workflow-controller-6c79bf6684-8xlbx --tail=10
time="2021-07-16T06:50:23.197Z" level=info msg="Get leases 200"
time="2021-07-16T06:50:23.206Z" level=info msg="Update leases 200"
time="2021-07-16T06:50:28.211Z" level=info msg="Get leases 200"
time="2021-07-16T06:50:28.219Z" level=info msg="Update leases 200"
time="2021-07-16T06:50:33.224Z" level=info msg="Get leases 200"
time="2021-07-16T06:50:33.233Z" level=info msg="Update leases 200"
time="2021-07-16T06:50:38.238Z" level=info msg="Get leases 200"
time="2021-07-16T06:50:38.245Z" level=info msg="Update leases 200"
time="2021-07-16T06:50:42.410Z" level=info msg="List workflows 200"
time="2021-07-16T06:50:42.413Z" level=info msg=healthz age=5m0s err="workflow never reconciled: webhook-test-2h4zr" instanceID= labelSelector="!workflows.argoproj.io/phase,!workflows.argoproj.io/controller-instanceid" managedNamespace=

$ curl -si http://localhost:6060/healthz
HTTP/1.1 500 Internal Server Error
Date: Thu, 15 Jul 2021 21:24:52 GMT
Content-Length: 45
Content-Type: text/plain; charset=utf-8

workflow never reconciled: webhook-test-2h4zr

$ kubectl -n e2e get wf webhook-test-2h4zr
NAME                 STATUS   AGE
webhook-test-2h4zr

$ kubectl -n e2e get wf webhook-test-2h4zr -oyaml
[...]
status:
  artifactRepositoryRef:
    default: true
  finishedAt: null
  message: 'Waiting for e2e/ConfigMap/semaphore/all-workflows lock. Lock status: 1/1 '
  progress: 0/0
  startedAt: null
  storedTemplates: [...]
  synchronization:
    semaphore:
      waiting:
      - semaphore: e2e/ConfigMap/semaphore/all-workflows

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

Interesting... this workflow does not have status.phase set, so the health check thinks it has not been reconcilled.

@atombender can you provide the full workflow yaml (sample which we can reproduce) and controller log for that workflow?

I've committed a change, and our CI will push engineering builds argoproj/workflow-controller:dev-6351 and  argoproj/argoexec:dev-6351 in 1h. Can you please test to see if it fixes your issue?

@sarabala1979 I jumped on this issue as (a) it will prevent workflows from running and (b) I wrote the code and (c) I could see a clear fix so knew it would be quick.

Thanks! We haven't seen the issue today, actually, but we've been heavily developing our workflows and things haven't really had a chance to "settle". I will see if I can put this fix into testing soon.

Thank you. The problem will only occur if you are using semaphores.

We haven't tried the build yes, as I need some support from our SRE staff. In the meantime, we got a panic relating to one of these workflows that don't have a status. Does this log help?

New log from the dev-6351 build: https://gist.github.com/atombender/03520de681ca7a09c9535065469ddc22

I've fixed the panic. Can you please test again?

Deployed it and testing. I'm not seeing any status-less workflow, but it is apparently buggy in a different way: My workflow is stuck progressing on a daemon step that has successfully started.

Workflow controller log
Output of `kubectl describe pod´ for stuck pod

When I roll back to the release version, it works.

I see this with multiple workflows. The initial pods start successfully, but no new steps are scheduled.

Can you try using :latest too?

Same behaviour. In case it's relevant, the wait container just says:
time="2021-07-20T15:38:55.097Z" level=info msg="Starting Workflow Executor" executorType=k8sapi version=untagged
time="2021-07-20T15:38:55.102Z" level=info msg="Creating a K8sAPI executor"
time="2021-07-20T15:38:55.103Z" level=info msg="Executor initialized" [...]
time="2021-07-20T15:38:55.104Z" level=info msg="Starting deadline monitor"
time="2021-07-20T15:38:55.111Z" level=info msg="Watch pods 200"

Looking at the kubectl describe output, your main container is still running, which is not terminated.
Can you double-check that this runs on v3.1.

It's a daemon: true step that's part of a DAG. Reverting to 3.1.2 works.

@atombender can you please raise a separate bug?

Sure.

https://github.com/argoproj/argo-workflows/issues/6379

So we can close this issue, can you test with a workflow that does not use daemon steps?

We haven't confirmed whether your fix solves this issue. Unfortunately, the problem doesn't always show up, and I have no idea what provokes it, but I will try to reproduce it. We don't have any workflows that don't use daemon steps.

I am experiencing similar issue but without semaphor - saw this error in the logs:
argo-workflows-workflow-controller-7786c48df-zkwrj controller time="2024-06-23T09:48:19.772Z" level=error msg="recovered from panic &{%!q(*logrus.Logger=&{0xc000098030 map[2:[0xc0007242d0] 3:[0xc0007242d0] 4:[0xc0007242d0]] 0xc0000b9c20 false 4 {{0 0} false} {{} 0xc088e8b000 16 0xc000186000 0 <nil>} 0x4f4480 <nil>}) map[\"fromPhase\":\"Succeeded\" \"namespace\":\"workflows\" \"toPhase\":\"Error\" \"workflow\":\"recon-0394134a-f3ea-43f2-85c5-22fe67c0e06c-rspl8\"] \"2024-06-23 09:48:19.56050614 +0000 UTC m=+368.315614323\" \"panic\" %!q(*runtime.Frame=<nil>) \"workflow is already fulfilled\" \"<nil>\" <nil> \"\"}. Call stack:\ngoroutine 390 [running]:\ngithub.com/argoproj/argo-workflows/v3/util/runtime.RecoverFromPanic(0xc081379da0?)\n\t/go/src/github.com/argoproj/argo-workflows/util/runtime/panic.go:15 +0x65\npanic({0x23d9b00?, 0xc0020ab0a0?})\n\t/usr/local/go/src/runtime/panic.go:920 +0x270\ngithub.com/sirupsen/logrus.(*Entry).log(0xc0020ab030, 0x0, {0xc0311e9ec0, 0x1d})\n\t/go/pkg/mod/github.com/sirupsen/logrus@v1.9.3/entry.go:260 +0x491\ngithub.com/sirupsen/logrus.(*Entry).Log(0xc0020ab030, 0x0, {0xc002783bf0?, 0x7?, 0xc002783a18?})\n\t/go/pkg/mod/github.com/sirupsen/logrus@v1.9.3/entry.go:304 +0x48\ngithub.com/sirupsen/logrus.(*Entry).Panic(...)\n\t/go/pkg/mod/github.com/sirupsen/logrus@v1.9.3/entry.go:342\ngithub.com/argoproj/argo-workflows/v3/workflow/controller.(*wfOperationCtx).markWorkflowPhase(0xc0874423c0, {0x27be158, 0x3a5b2c0}, {0x2414c81, 0x5}, {0xc001a04500, 0xf2})\n\t/go/src/github.com/argoproj/argo-workflows/workflow/controller/operator.go:2291 +0x325\ngithub.com/argoproj/argo-workflows/v3/workflow/controller.(*wfOperationCtx).markWorkflowError(0x24135ec?, {0x27be158, 0x3a5b2c0}, {0x2794340?, 0xc05d12c100?})\n\t/go/src/github.com/argoproj/argo-workflows/workflow/controller/operator.go:2424 +0x56\ngithub.com/argoproj/argo-workflows/v3/workflow/controller.(*wfOperationCtx).operate.func2()\n\t/go/src/github.com/argoproj/argo-workflows/workflow/controller/operator.go:204 +0x234\npanic({0x23d9b00?, 0xc0020aae00?})\n\t/usr/local/go/src/runtime/panic.go:920 +0x270\ngithub.com/sirupsen/logrus.(*Entry).log(0xc0020aad90, 0x0, {0xc0311e9e40, 0x1d})\n\t/go/pkg/mod/github.com/sirupsen/logrus@v1.9.3/entry.go:260 +0x491\ngithub.com/sirupsen/logrus.(*Entry).Log(0xc0020aad90, 0x0, {0xc0027849e8?, 0x7?, 0x30?})\n\t/go/pkg/mod/github.com/sirupsen/logrus@v1.9.3/entry.go:304 +0x48\ngithub.com/sirupsen/logrus.(*Entry).Panic(...)\n\t/go/pkg/mod/github.com/sirupsen/logrus@v1.9.3/entry.go:342\ngithub.com/argoproj/argo-workflows/v3/workflow/controller.(*wfOperationCtx).markWorkflowPhase(0xc0874423c0, {0x27be158, 0x3a5b2c0}, {0x2416255, 0x6}, {0xc089c145b0, 0x64})\n\t/go/src/github.com/argoproj/argo-workflows/workflow/controller/operator.go:2291 +0x325\ngithub.com/argoproj/argo-workflows/v3/workflow/controller.(*wfOperationCtx).markWorkflowFailed(...)\n\t/go/src/github.com/argoproj/argo-workflows/workflow/controller/operator.go:2420\ngithub.com/argoproj/argo-workflows/v3/workflow/controller.(*wfOperationCtx).operate(0xc0874423c0, {0x27be158?, 0x3a5b2c0})\n\t/go/src/github.com/argoproj/argo-workflows/workflow/controller/operator.go:261 +0xaf4\ngithub.com/argoproj/argo-workflows/v3/workflow/controller.(*WorkflowController).processNextItem(0xc000158000, {0x27be158, 0x3a5b2c0})\n\t/go/src/github.com/argoproj/argo-workflows/workflow/controller/controller.go:811 +0x627\ngithub.com/argoproj/argo-workflows/v3/workflow/controller.(*WorkflowController).runWorker(0xc000015ea0?)\n\t/go/src/github.com/argoproj/argo-workflows/workflow/controller/controller.go:734 +0x88\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1(0x30?)\n\t/go/pkg/mod/k8s.io/apimachinery@v0.24.3/pkg/util/wait/wait.go:155 +0x33\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil(0x0?, {0x2796540, 0xc083347290}, 0x1, 0xc0002d12c0)\n\t/go/pkg/mod/k8s.io/apimachinery@v0.24.3/pkg/util/wait/wait.go:156 +0xaf\nk8s.io/apimachinery/pkg/util/wait.JitterUntil(0x17ba8a0?, 0x3b9aca00, 0x0, 0xe0?, 0x17ba9a0?)\n\t/go/pkg/mod/k8s.io/apimachinery@v0.24.3/pkg/util/wait/wait.go:133 +0x7f\nk8s.io/apimachinery/pkg/util/wait.Until(0xc000015f80?, 0xa005aa001?, 0xc000015fa0?)\n\t/go/pkg/mod/k8s.io/apimachinery@v0.24.3/pkg/util/wait/wait.go:90 +0x1e\ncreated by github.com/argoproj/argo-workflows/v3/workflow/controller.(*WorkflowController).Run in goroutine 84\n\t/go/src/github.com/argoproj/argo-workflows/workflow/controller/controller.go:344 +0x1885\n" namespace=workflows workflow=recon-0394134a-f3ea-43f2-85c5-22fe67c0e06c-rspl8

Once I deleted the workflow in the log the controller is live again - but it was very old workflow so I am not sure what happened

were still experiencing this issue, memory util of controller is at 30%.

I am experiencing similar issue but without semaphor [sic]

That's a different issue then. Same error message but different cause. Please open a new issue with a reproduction.
This specific issue was with semaphores and was resolved 3 years ago with no further comments.


Fix menu code duplication

There are two sets of menu/shortcuts calls in the main process. Clean these up.

Merged everything together in the displays branch.


Adds fullstaq to commercial support

Signed-off-by: Wiard van Rij<EMAIL_ADDRESS>Adds fullstaq to commercial support

Can you sort yourself in alphabetically, please?

Head's up: We may require a Prometheus-specific landing page listing specific services soonish, but that's not decided yet, and it would be unfair to block anyone from being merged in while that's not finalized.

Thanks!

Head's up: We may require a Prometheus-specific landing page listing specific services soonish, but that's not decided yet, and it would be unfair to block anyone from being merged in while that's not finalized.

Thanks, I will communicate this internally.
Do you recon a more generic observability landing page would be fine as-well? We have no specific focus other than that it's cloud-native. So this could as-well be Thanos, Elastic, Loki, etc.

No clear guidance yet, my gut is we will end up with "something focused on metrics", with PromCorThanos being the main projects to talk about.


Failure to store match in Database: AttributeError: 'SaltySocket'

Describe the bug
Program fails to store match as of latest commit
To Reproduce
Traceback (most recent call last):
  File "C:\Users\xxx\PycharmProjects\SaltyBot_local\SaltyStateMachine.py", line 100, in <module>
    database.record_match(my_parser.get_p1name(),my_parser.get_p1odds(), my_parser.set_p1winstatus(), my_parser.get_p2name(), my_parser.get_p2odds(), my_parser.set_p2winstatus(), my_socket.adj_p1winstreak, my_socket.adj_p2winstreak, my_socket.adj_p1_tier, my_socket.adj_p2_tier, ratings_to_db[0].mu, ratings_to_db[0].sigma, ratings_to_db[1].mu, ratings_to_db[1].sigma, game_time.snapshot, bettor.outcome, 1)
AttributeError: 'SaltySocket' object has no attribute 'adj_p1winstreak'. Did you mean: 'adjust_winstreak'?

Yeah I noticed this tonight.  I've reverted some changes, and will be pushing in the morning.  I think I got a bit overzealous in my fix.
I'm close, but not close enough to have it fixed, without it breaking something else.
Sorry,

Reverted for now


Version on Safari Gallery Extension

Hello, I see here that latest version is 2018-3-2 (And for safari is February version).
I'm using Safari and the extension installed from safari gallery extension but the version is 2018.1.30, and I can't understand where to find latest version. Can you help me? Thanks :-)

Seconded, if the distribution channel for the Safari extension is to be via the Apple Extension store then it must be kept current.
As of writing, 2018-3-15 is available but the "official" Safari release for users/customers is still 2018.1.30. Is DDG policy to ignore Safari users?
I can't promote adoption by organisations I advise without some consistency in deployment and versions in use …
Please resolve the version discrepancies, or if the distribution mechanism via Apple is the cause of the delays then provide a sanctioned private URL for installing/updating the Safari extension easily for users.

Is this extension still supported for Safari or we need to look somewhere else? Thanks

The latest version is always available here: https://duckduckgo.com/extensions/duckduckgo.safariextz

Thank you. I can’t undestand why it isn’t on download page that link

Please add this link to the readme.md for the project at least, it would also be sensible to add this to the extensions page on DDG, rather than link to the Apple Safari Extensions as the definitive source.
BTW, (as of 2018-04-18), the extension linked above fails to install in Safari 11.1 (macOS 10.13.4) …

Seems we've fallen 3x releases behind in the Apple Safari Extensions website again (2018.5.24 is the latest being offered to the public) whilst 2018-7-18 is now available.
Is there a web-hook or mechanism for auto-pushing releases into the Apple distribution channel?

Safari 12, just released uses a new App Store and the extension is missing completely. Safari also marks the currently installed version as having "performance problems" and disabled it.

I saw the same issue with Safari 12, any news on this?

https://duck.co/help/add-ons/safari-12


ci: Enforce MSRV

Blocked on #344
Ensures that AccessKit can compile with the minimum Rust version as advertised in the workspace's Cargo.toml.
cargo clippy deliberately runs on stable so we can allow/deny lints that are not present on older Rust versions.

This looks fine, but it should probably be rebased before merging.

Just a reminder that this looks fine, but to make sure we do a clean merge, I believe this branch needs to be rebased.

@mwcampbell You might have missed the notification, it was rebased days ago. I'll merge this now.


BUG:

Description
I did
" pip install jax==0.3.16+ipu jaxlib==0.3.15+ipu.sdk310 -f https://graphcore-research.github.io/jax-experimental/wheels.html "
as mentioned in the documentation.
When I open a Python session and try to "import jax" I get the following error message:
[...]
    from . import ipu_xla_client_pybind as _ipu_xla
ImportError: /home/ipuuser/manu_tests/.venv_pytorch/lib/python3.8/site-packages/jaxlib/ipu_xla_client_pybind.so: undefined symbol: _ZNK6poplar8IPUModel12createDeviceENS_11OptionFlagsEbj, version V0

What jax/jaxlib version are you using?
JAX 0.3.16+ipu , JAXLIB .3.15+ipu.sdk310
Which accelerator(s) are you using?
IPU
Additional System Info
Python 3.8.10, Ubuntu 20.04.5 LTS

Sorry to hear it did not work out of the box!
Do you know which version of the Poplar SDK are you using? jaxlib is compiled against Poplar C++ libraries, so will need a local install of the later. In my experience, the easiest way is run inside one of the Graphcore docker image (e.g. https://hub.docker.com/layers/graphcore/pytorch/3.2.0-ubuntu-20.04/)

I could reproduce the issue with SDK 3.0. I'll give it a try at compiling jaxlib with it, but I can't guarantee a successful outcome.
In the meantime, if you want to try IPUs with latest SDK version, the easiest way for you (and students) is to use IPU on Paperspace. Once logged, you'll be able to run notebooks with IPUs. For instance, here is the quickstart JAX on IPU notebook: https://console.paperspace.com/github/graphcore-research/jax-experimental?container=graphcore%2Fpytorch-jupyter%3A3.1.0-ubuntu-20.04&machine=Free-IPU-POD4&file=%2Fipu%2Fexamples%2Fjax_ipu_quickstart.ipynb
Hopefully this one should run out of the box!

I didn t succeeded to log in. The blue "sign in" refresh the page. I tried on Ubuntu & Windows: Chrome, Firefox, Edge.

Sorry to hear, I have forwarded the issue to the internal Paperspace team. It may help to first create & login on the main page (https://www.paperspace.com/), and then reload the notebook?
In the meantime, I have also manage to compile jaxlib for Poplar SDK 3.0. The following install should now work:
pip install jax==0.3.16+ipu jaxlib==0.3.15+ipu.sdk300 -f https://graphcore-research.github.io/jax-experimental/wheels.html

All basics should be working properly. Please tell us if there is any feature we can improve!

I saw you have just compiled and published the 3.0 wheel, congratulations!  Jax is working fine.
Regarding my cloud account, I have an issue with Paperspace account and not related to you. The graphcore-jax notebook on the cloud is working fine with my colleague account.
Thank you!


Unauthenticated Admin Context

Multiple requests to be able to instantiate an admin context outside of a Request from Shopify.
E.g:
shopify.unauthenticated.admin(shop)

Fixed in: https://github.com/Shopify/shopify-app-js/blob/main/packages/shopify-app-remix/CHANGELOG.md#110


ARROW-11660: [C++] Move RecordBatch::SelectColumns method from R to C++ library

Thanks for the update. I will wait for CI before merging.

CI failures are unrelated. Thank you @thisisnic !


Android: The onProgress event progressively fires more frequently each time the paused prop is toggled

Bug
Each time the value of the paused prop is toggled, for example via a Play/Pause button, the frequency with which the onProgress callback fires will increase, but only on Android. This can be seen by logging the value of currentTime to the console from the onProgress callback.
Platform
Which player are you experiencing the problem on:

Android

Environment info
React native info output:
System:
    OS: macOS 12.3
    CPU: (10) arm64 Apple M1 Pro
    Memory: 1.18 GB / 32.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.21.1 - ~/.nvm/versions/node/v14.21.1/bin/node
    Yarn: Not Found
    npm: 6.14.17 - ~/.nvm/versions/node/v14.21.1/bin/npm
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
    Android SDK: Not Found
  IDEs:
    Android Studio: 2021.3 AI-213.7172.25.2113.9123335
    Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.17 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.1.0 => 18.1.0
    react-native: ^0.70.6 => 0.70.6
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Library version: 6.0.0-alpha.3
Steps To Reproduce
See below for a minimum sample component that reproduces the problem.

Add an onProgress callback
Implement a means of toggling the paused prop, for example a play/pause button
Observe on Android that each time the paused prop is toggled, the onProgress callback fires twice as frequently than it should
Rinse and repeat

Expected behaviour

The frequency with which the onProgress event fires should remain stable

Reproducible sample code
import { React, useState } from 'react';
import { SafeAreaView, Text, TouchableOpacity } from 'react-native';
import Video from 'react-native-video';

const App = () => {
	const [isPaused, setPaused] = useState(false);

	return (
		<SafeAreaView>
			<Video
				source={{
					uri: 'https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4',
				}}
				style={{
					width: 320,
					height: 240,
				}}
				paused={isPaused}
				onProgress={(data) => {
					console.log(data.currentTime);
				}}
				progressUpdateInterval={1000}
			/>
			<TouchableOpacity
				onPress={() => {
					setPaused( !isPaused );
					console.log(isPaused ? 'Resumed' : 'Paused')
				}}
			>
				<Text>
					{isPaused ? 'Play' : 'Pause'}
				</Text>
			</TouchableOpacity>
		</SafeAreaView>
	);
};

export default App;

Video sample
I don't have a video sample, but see below for the console log that shows the frequency of the the onProgress event increasing. The console should log once per second, and does so until the video is paused and resume, upon which it logs 3X too often.
 LOG  Running "nativevideo" with {"rootTag":1}
 LOG  0
 LOG  0.875
 LOG  1.878
 LOG  2.876
 LOG  3.879
 LOG  Paused
 LOG  4.478
 LOG  Resumed
 LOG  4.51
 LOG  4.699
 LOG  5.298
 LOG  5.539
 LOG  5.707
 LOG  6.303
 LOG  6.544
 LOG  6.703
 LOG  7.309
 LOG  7.341
 LOG  7.507
 LOG  7.749
 LOG  7.909
 LOG  8.515
 LOG  8.74
 LOG  8.929
 LOG  9.505
 LOG  9.747
 LOG  9.928
 LOG  10.511
 LOG  10.747
 LOG  10.927

Could you provide a code repro. I have a feeling other components may be causing rerenders

@cross19xx with the updated sample in this PR : https://github.com/react-native-video/react-native-video/pull/2960
It can be reproduced.
I have a quick look into the code, some messages are not cleared (SHOW_PROGRESS) . It causes the issue

Fix available here: https://github.com/react-native-video/react-native-video/pull/2972

fixed in 6.0.0-alpha.5

still same issue? Any one help me to fixed it.


HacktoberFest-2022

PR accepted @AbhayBhadauria111
Successfully merged to HacktoberFest_22 repo.
Need to Star this repo incase not done.
🚀🚀👍


Can not read info from multi.cool files

"cooler info" works on single resolution cooler files. But it doesn't work on multi-resolution cooler files.
I ran "cooler zoomify" and generated a multi-resolution file for HiGlass. When I tried to read the metadata of that file using
cooler info myfilemulti.cool"
It gave me the following exception:
$ cooler info ~/U54-ESC4DN-FA-DpnII-2017524-R2-A.10000.multi.cool
Traceback (most recent call last):
File "/home/ozadamh/bin/miniconda3/bin/cooler", line 11, in
sys.exit(cli())
File "/home/ozadamh/bin/miniconda3/lib/python3.6/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/home/ozadamh/bin/miniconda3/lib/python3.6/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/ozadamh/bin/miniconda3/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/ozadamh/bin/miniconda3/lib/python3.6/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ozadamh/bin/miniconda3/lib/python3.6/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/home/ozadamh/bin/miniconda3/lib/python3.6/site-packages/cooler/cli/info.py", line 36, in info
c = Cooler(cool_uri)
File "/home/ozadamh/bin/miniconda3/lib/python3.6/site-packages/cooler/api.py", line 78, in init
_ct = chroms(grp)
File "/home/ozadamh/bin/miniconda3/lib/python3.6/site-packages/cooler/api.py", line 366, in chroms
.append(pandas.Index(h5['chroms'].keys()))
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper (/tmp/pip-s_7obrrg-build/h5py/_objects.c:2840)
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper (/tmp/pip-s_7obrrg-build/h5py/_objects.c:2798)
File "/home/ozadamh/bin/miniconda3/lib/python3.6/site-packages/h5py/_hl/group.py", line 169, in getitem
oid = h5o.open(self.id, self._e(name), lapl=self._lapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper (/tmp/pip-s_7obrrg-build/h5py/_objects.c:2840)
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper (/tmp/pip-s_7obrrg-build/h5py/_objects.c:2798)
File "h5py/h5o.pyx", line 190, in h5py.h5o.open (/tmp/pip-s_7obrrg-build/h5py/h5o.c:3734)
KeyError: "Unable to open object (Object 'chroms' doesn't exist)"

You can use cooler list -l to list the zoom levels and their resolutions and e.g., cooler info myfile.multi.cool::10. Technically, the root group is not a cooler, but it is bad to have it error like that.

For now, it seems better to display a helpful error listing all coolers inside a file when attempting to instantiate a Cooler object with an .mcool. This has been implemented.


Support React 17

We've been using the plugin with React 17 for some time and it seems to work fine.
Release notes: https://reactjs.org/blog/2020/10/20/react-v17.html

Hello! We would also be interested in this change. Is there any chance it might be accepted?

Thank you for the head sup. This should be covered by v0.2.0 :)