Assignement of labels to frames occurs in reveresed order

My actions before raising this issue

[✓] Read/searched the docs
[✓] Searched past issues

Expected Behaviour

Using the web interface at https://cvat.org/, when exporting task dataset, the annotations should be assigned to the frames as they are shown in the interface.
Current Behaviour

When loading the images into the interface by selecting them all from a given directory, the uploading occurs without problems and they are shown in the correct order in the interface. However, when exporting the task dataset, labels are assigned to frames in reversed order, making the annotations unusable.  This does not seem to occur when a video is loaded instead of a batch of separate images.
Possible Solution

Steps to Reproduce (for bugs)

This link shows a sequence loaded in the right order but when you export with the "save the images" option clicked, the images are saved in reversed order. In other words, frame one contains last frame:.
https://cvat.org/tasks/154079/jobs/234353
Context

Your Environment

Operating System and version (e.g. Linux, Windows, MacOS): Ubuntu 18.04

Next steps
You may join our Gitter channel for community support.

@Marishka17 , could you please investigate?

@Chicone, Hi, could you please describe step by step your case?
I can not reproduce a case when labels are assigned to frames in reversed order.


Be able to load config from config file and override with env vars

Currently we can only load config from config file however, there are several situations it is more convenient to also load them from env vars e.g. https://github.com/openfga/openfga-envoy/pull/1/files#diff-ab4fe07ea2ef780130aa6da25ff29b4d97d746b6caabb4b1f392d275056288d3R4 using something like viper e.g. https://dev.to/techschoolguru/load-config-from-file-environment-variables-in-golang-with-viper-2j2d

Hi @jcchavezs,
I would like to work on that, is there already development ongoing?

Hi @holgerson97, there is not ongoing on this. Feel free to pick it up.

Hi @holgerson97, did you have the time to look into this?

@jcchavezs not yet, I will let you know asap when I've got time


docs: First cut draft of revised Tutorial - Relations, Filtering, Aggregation

This time for sure.

I finally have the docs-tutorial back in my own Github repo, so I can use my normal workflow.
Changed all examples to use invoices, not albums because math makes more sense on prices than on artist_id.
 Is this the best terminology?
I think I know how this stuff works, but would be pleased to have someone correct this.

@richb-hanover when you're done merge into docs-tutorial so I can squash it. The merges there are getting out of hand :D

@aljazerzen @max-sixty  - Thanks for all these comments.

@richb-hanover when you're done merge into docs-tutorial so I can squash it. The merges there are getting out of hand :D

That's nothing. You should have seen the commit history on my local machine!

This is really great!
My only tweak would be to not use total as the column being summed — it means "it's the total" means several things. But possibly there's not that much we can do with the sample data.

My only tweak would be to not use total as the column being summed

Yeah, but there's nothing for it. invoices is the only table in the Chinook database with "interesting" data, and the total column is the only one that really makes sense to aggregate. I, too, wish they had chosen a better name for that column.
I think the current description and variable name (sum_of_orders) are good enough. Let's commit what we have so others can give it a good going over.
PS And what's the deal with the pre-commit.ci failing with Prettier...???

Yeah, but there's nothing for it. invoices is the only table in the Chinook database with "interesting" data, and the total column is the only one that really makes sense to aggregate. I, too, wish they had chosen a better name for that column.

OK, good point

PS And what's the deal with the pre-commit.ci failing with Prettier...???

This branch needs to merge in main...

I'm hitting the button! Thank you @richb-hanover !

Thanks!


egui integration (second batch)

Follows fragcolor-xyz/shards#267
Acceptance criteria

[ ] close the feature gap with the former ImGui integration

[ ] all missing widgets
[ ] all missing parameters

where is the PR for this?

Also it's partially blocked majority of improvements don't need enums

where is the PR for this?

It is still in progress, so no PR yet.

@Kryptos-FR do we have a file picker? If not we need one quite soon.

@sinkingsugar we don't have a file picker yet. Let's create a separate issue for it.


Fix post component date separator and mobile view

Summary
Need to reopen https://github.com/mattermost/mattermost-webapp/pull/12194 because the branch name starting with release is preventing the bundle from building and we cannot run e2e tests.
Ticket Link
https://mattermost.atlassian.net/browse/MM-50395
https://mattermost.atlassian.net/browse/MM-50357
Release Note
UI fixes for the new post component

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

/update-branch

/e2e-test

Successfully triggered E2E testing!
GitLab pipeline | Test dashboard

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Cherry pick is scheduled.

Error trying doing the automated Cherry picking. Please do this manually
+++ Updating remotes...
Fetching upstream
Failed to add the RSA host key for IP address '<IP_ADDRESS>' to the list of known hosts (/app/.ssh/known_hosts).
From github.com:mattermost/mattermost-webapp
   d2d054ecbc..b8b056b834  MM-49474-collect-reason-for-downgrade-to-free -> upstream/MM-49474-collect-reason-for-downgrade-to-free
 * [new branch]            MM-50226-add-true-up-docs-link-to-true-up-banner -> upstream/MM-50226-add-true-up-docs-link-to-true-up-banner
   d0f7459e38..def918ee96  apps-modal-response-navigate -> upstream/apps-modal-response-navigate
   f49849d8ee..4bd80e61a9  fix-app-bar-scroll -> upstream/fix-app-bar-scroll
 * [new branch]            hh_redux-saga      -> upstream/hh_redux-saga
   0f4b9c0e9c..99ce9e0fe9  master             -> upstream/master
   81699197ca..f9c9ba284b  playwright-upgrade -> upstream/playwright-upgrade
   9e30406e4a..fc89628bc4  release-7.7        -> upstream/release-7.7
   a50a1106c7..d75d852402  true-up-telemetry-and-bug -> upstream/true-up-telemetry-and-bug
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
Fetching origin
Failed to add the RSA host key for IP address '<IP_ADDRESS>' to the list of known hosts (/app/.ssh/known_hosts).
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
+++ Updating remotes done...
!!! 'upstream/release-7.9' not found. The second argument should be something like upstream/release-0.21.
    (In particular, it needs to be a valid, existing remote branch that I can 'git checkout'.)

+++ Returning you to the master branch and cleaning up.


Not able to install hpctoolkit with Intel Compiler using spack

Output of compilers.yaml
compilers:
compiler:
paths:
cc: /usr/bin/gcc
cxx: /usr/bin/g++
f77: /usr/bin/gfortran
fc: /usr/bin/gfortran
operating_system: centos7
target: x86_64
modules: []
environment: {}
extra_rpaths: []
flags: {}
spec<EMAIL_ADDRESS>compiler:
paths:
cc: /home/apps/cdac/gcc/8.3.0/bin/gcc
cxx: /home/apps/cdac/gcc/8.3.0/bin/g++
f77: /home/apps/cdac/gcc/8.3.0/bin/gfortran
fc: /home/apps/cdac/gcc/8.3.0/bin/gfortran
operating_system: centos7
target: x86_64
modules: []
environment: {}
extra_rpaths: []
flags: {}
spec<EMAIL_ADDRESS>compiler:
paths:
cc: /opt/ohpc/pub/apps/intel/2018/compilers_and_libraries_2018.5.274/linux/bin/intel64/icc
cxx: /opt/ohpc/pub/apps/intel/2018/compilers_and_libraries_2018.5.274/linux/bin/intel64/icpc
f77: /opt/ohpc/pub/apps/intel/2018/compilers_and_libraries_2018.5.274/linux/bin/intel64/ifort
fc: /opt/ohpc/pub/apps/intel/2018/compilers_and_libraries_2018.5.274/linux/bin/intel64/ifort
operating_system: centos7
target: x86_64
modules: []
environment:
set:
LD_LIBRARY_PATH : /home/apps/cdac/gcc/8.3.0/lib64:/opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/lib
extra_rpaths:
- /opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/lib
- /home/apps/cdac/gcc/8.3.0/lib64
- /usr/local/lib64
flags: {}
spec<EMAIL_ADDRESS>
I am trying to build hpctoolkit with intel compiler using spack with following command:-
spack install --only dependencies hpctoolkit<EMAIL_ADDRESS>It is showing error in dependencies "m4-1.4.19-bbvsx5nrssevyt2vxdxeyapq37jpjgdi"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... /home/mohitkumar20/spack/lib/spack/env/intel/icc
checking whether the C compiler works... no
configure: error: in `/tmp/mohitkumar20/spack-stage/spack-stage-m4-1.4.19-rl5r7qkcwxawxpxwqaqrnabi5nhg77zf/spack-src/spack-build':
configure: error: C compiler cannot create executables
Please someone help me regarding this.

We never install HPCToolkit with anything other than the GNU compilers. From your file above, you should use gcc 8.3.0.
If you build HPCToolkit with GNU compilers, you can use it to measure applications built with Intel compilers. There is no need to build it with Intel compilers.

Thanks @jmellorcrummey for clarification.


DNN-20316: Cannot create new user with email address as username

Pull string to static field to be used in other project as well

When looking at the space checking why not use string.IsNullOrWhiteSpace() to check since it captures more options of whitespace?

Please review changes

Changes pushed

Looking good otherwise @mitchelsellers ?


[Installed Extension] Various enhancements

Added a few enhancements @erics118 - do you mind checking 🙂

Looks good, just one small nitpick that I didn't notice before


Does it support TAP feature?

Hi,
Using python code as keymap is quite simple, and I wonder if it support tap feature, like QMK Mod-Tap
Thanks for making this amazing keyboard!

Will add it soon. Mod-Tap is similar to Tap-key which is already supported.

Thanks for replying


Empty file Select.jsx

This component seems to be empty, probably a left over: https://github.com/plone/volto/blob/master/src/components/manage/Select/Select.jsx

Hi, I am looking to contribute to this project.
As I am new here can you help me where to start from?
@tiberiuichim Yup It should be deleted.


Forms version

Not sure if this is a general Xamarin Forms question/problem but: FreshMvvm when got through nuget has been build with Forms 1.4.... We are currently at Forms 1.5.1. This seemed to be no problem until we started getting errors about 'xamlctask compilation'
I resolved this by removing the FreshMvvm nuget package, build the FreshMvvm dll's using the zip from nuget and referencing the resulting Dll's in my project.
Any comments?

This is just a Xamarin.Forms issue.


SequenceFormula should not throw errors on infinite values

If a given formula returns an infinite number in an instance of SequenceFormula, that should terminate the sequence (at the prior index). Certainly it should not just throw an error caused by being unable to convert Infinity to a bigint.

A reproducible way to view the current behaviour:  if I put in a giant formula like factorial(n) in the sequence-by-formula sequence, then it will return +Infinity and when combined with a visualizer that calls fairly many terms, Numberscope will throw an error saying that can't be made into a bigint.


Can I make a deep copy of the scanpy object?

I subseted the scanpy object to view some subpopulations. But I was amazed that whether conducting deep copy yields different results.
Here are the snippets:
#VERSION 1:
import copy
Tcells= copy.copy(adata[adata.obs["Leiden0.7"].isin(["2","3","8","15"])]  )
sc.tl.pca(Tcells, svd_solver='arpack',n_comps=50)
sc.pp.neighbors(Tcells, n_neighbors=10, n_pcs=40)
sc.tl.umap(Tcells, min_dist=0.2, random_state=42)
sc.pl.umap(Tcells,color=["Leiden0.7"])
#VERSION 2:
import copy
Tcells= adata[adata.obs["Leiden0.7"].isin(["2","3","8","15"])]
sc.tl.pca(Tcells, svd_solver='arpack',n_comps=50)
sc.pp.neighbors(Tcells, n_neighbors=10, n_pcs=40)
sc.tl.umap(Tcells, min_dist=0.2, random_state=42)
sc.pl.umap(Tcells,color=["Leiden0.7"])
The two VERSIONS of snippet just give different umaps (even though I fixed the random seed), and different number of clusters (that's unacceptable, as far as I know, clustering is based on PCs).
Versions:
scanpy==1.4.5.post1 anndata==0.7.1 umap==0.3.10 numpy==1.18.1 scipy==1.4.1 pandas==1.0.3 scikit-learn==0.22.1 statsmodels==0.11.1 python-igraph==0.8.0
So should I make a deep copy of the scanpy object? It looks like deep copy ruined something in the object.

I found that after doing deep copy, sc.tl.pca doesn't change the PC values in the object, which may affect the downstream umap and Leiden clustering.
But why? I thought a deep copied object was supposed to behave the same as the non-deep copy one.

Copying using the copy module is a bit ill defined for AnnData objects currently. This has to do with some internals of how we do views of arrays. In general I'd recommend doing copies via adata.copy(), which performs a deep copy.
But it looks like there might be another problem with the PCA not being exactly reproducible. After a fair amount of checking that it was exactly reproducible, it looks like we forgot to actually pass the random seed... There has been fixed, and there will be a bug-fix release soon (#1240).
This still does not fix the issue of reproducibility if you've made a shallow copy of a AnnData view with copy. I'll have to look into this a bit more.

The release with PCA bug fix is now on pypi

Hmm. Did your original object already have a pca computed on it? I'm not sure if the values in obsm would have been updated when you made a shallow copy with copy.

I am having a similar issue.I try to copy the AnnData object with adata.copy() but it tells me
TypeError: cannot unpack non-iterable NoneType object
I would like to copy the observations that match a criteria.
adata_subset[i] = adata[adata.obs['column']==i].copy()
Any advice?

@mariaasierra could you open a new issue for this on the anndata repo? A full traceback and versions of software would also be useful.
I'm going to close this issue since it's quite old, I believe should be solved, and I think unrelated to what @mariaasierra is seeing.


fixed issue 114, AttributeError

A little fix for issue that it was described here: https://github.com/orzih/mkdocs-with-pdf/issues/114

Someone please merge this!

Well for whatever reason, it fails to work when I tried the fork.  Chrome launches but doesnt go any further:
selenium.common.exceptions.WebDriverException: Message: Can not connect to the Service google-chrome

Please for now  ignore the selenium version.
Consider this pull request only to solve the issue #114

common

@joshua-jandyco  do you run the tests and have installed the chrome webdrive  ?


Context Decorators

In an effort to intercept calls to methods of the different contexts.
We need a decent way to decorate the context instances.
What I mean here is:
IContext.RequestAsync →  MyDecoratorContext.RequestAsync →  ActorContext.RequestAsync
And something similar for RootContext.
First of all, RootContext is currently just created with new, for this to work properly, we need some factory for root contexts.
e.g. RootContext.Create() // returns an IRootContext with potential decorators wrapped
in the case of actors, it's easier. we can simply have a WithContextDecorator on Props
Then when the ActorContext invokes ReceiveAsync on the actor, we just pass the wrapper context.
Thoughts ?

Relates to #406

I tried to used something like that but ... Proto is not ready ... and it's not 4.5.2 compatible.
  class OpenTracingDecorator<T> : DispatchProxy
    {
        private OpenTracingDecorator() { }

        T _context;

        public static T Create<T>(T context, SpanSetup sendSpanSetup, ITracer tracer)
        {
            var proxy = Create<T, OpenTracingDecorator<T>>();
            var t = proxy as OpenTracingDecorator<T>;
            t._context = context;
            return proxy;
        }

        protected override object Invoke(MethodInfo targetMethod, object[] args)
        {
            if (targetMethod.Name == nameof(ISenderContext.RequestAsync))
                throw new InvalidCastException("Just to know I passed here");

            return targetMethod.Invoke(_context, args);
        }
    }

As our need is not that general, we could implement some "ContextBuilder" that will be able to add middleware/aspect for each methods :
props.WithContextDecorator(ctxBuilder => {
  ctxBuilder.WithRequestAsync(async (next, target, message) => {
    // do something before
    var result =   await next(target, message);
    // do something after
  };
});

I'm thinking if we just implement a base class for decorators, that manually forwards each call. no magic, just code.
Then the implementor of a decorator could just override the method they want to intercept

I've pushed this: https://github.com/AsynkronIT/protoactor-dotnet/blob/dev/src/Proto.Actor/ActorContextProxy.cs
Inherit and override the request methods. that should at least technically work.
Then we just need to make it all happen in the ActorContext so that the decorator is the one passed to the middlewares and the actor

I'm closing this one as it is done, we could open new issues if there are bugs or API design ideas


Explore deleting the Oniguruma dependency

I've just stumbled across this project, which aims to convert Ruby regexes to JS regexes. /cc @jaynetics, in case you are interested in this.
Not everything is supported at the moment, but a lot is, so I think there might be a chance that the missing features are not used in existing TM grammars, or if they are used in a few spots maybe the affected grammars could be tweaked slightly to not use them.
If TM grammars could be evaluated without Oniguruma that would allow VS Code to drop a fairly large dependency, and possibly also speed syntax highlighting up significantly, as regexes would be executed natively rather than with a userland regex engine.
Potentially if deleting our dependency on Oniguruma entirely is impractical it may still be interesting to explore taking an hybrid approach, converting what can be converted faithfully at runtime and executing those natively, and deferring execution to Oniguruma only for the trickiest regexes (if any).

@fabiospampinato thanks for the mention!
As an avid vscode user, i'd be happy to help!
If I understand correctly, you're suggesting to add transpilation-like capabilities to VSCode that are applied to TS grammars at runtime, as opposed to providing pre-transpiled grammars in some way?
If so, this transpilation would need to be coded in TypeScript - is that right?
That would be a big project then. js_regex was a big project, and was only possible to its current extent because there was a pre-existing parser for Onigmo regexps in Ruby (b.t.w., Ruby and thus js_regex are based on Onigmo, a fork of Onigiruma, and the syntaxes of Onigmo and Oniguruma have diverged a bit).

If I understand correctly, you're suggesting to add transpilation-like capabilities to VSCode that are applied to TM grammars at runtime, as opposed to providing pre-transpiled grammars in some way?

I think there would be use cases for both, potentially, but transpiling at runtime would be preferable.

If so, this transpilation would need to be coded in TypeScript - is that right?

TS or something that compiles to JS or WASM I guess.

That would be a big project then. js_regex was a big project, and was only possible to its current extent because there was a pre-existing parser for Onigmo regexps in Ruby (b.t.w., Ruby and thus js_regex are based on Onigmo, a fork of Onigiruma, and the syntaxes of Onigmo and Oniguruma have diverged a bit).

If it would allow for deleting Oniguruma it'd still be worth it imo 🤔 There seem to be some projects for compiling Ruby to JS, maybe those are good enough and could spare us from porting js_regex.

For syntax coloring, we will continue investigating Tree Sitter (see https://github.com/microsoft/vscode/pull/161479). But for the foreseeable future we will support TM grammars and these grammars use the oniguruma regex syntax. To not break anyone, we will therefore continue shipping the oniguruma regex library.

Could it still make sense to explore converting some popular TM grammars to use native JS regexes? Like I'm thinking if converting the JS/TS/Markdown/CSS/HTML/etc. grammars at build time to not use Oniguruma could meaningfully improve the experience for a large portion of users it might still be worth it?
Either way I'm interested in exploring this myself, eventually, I'll report interesting findings back here if it could be useful 👍


cloudwatch_without_retention_period_specified

Expected Behavior
Actual Behavior
Steps to Reproduce the Problem

Create a terraform-aws cloudwatch log group with a retention period using a variable:

resource "aws_cloudwatch_log_group" "foo" {
  name              = "foo"
  retention_in_days = var.common.default_log_retention_period
  kms_key_id        = var.kms_key_arn
}

When running Kics an error (MEDIUM level) is raised while it should not:

CloudWatch Without Retention Period Specified, Severity: MEDIUM, Results: 4
Description: AWS CloudWatch Log groups should have retention days specified
Platform: Terraform

The bug is obviously in https://github.com/Checkmarx/kics/blob/master/assets/queries/terraform/aws/cloudwatch_without_retention_period_specified/query.rego
Look like the check is based on an hard-coded list of values.
I would be happy to fix this, but I don't know how to handle this case (the retention_period value should be evaluated).
Another solution could be to only check existence of the 'retention_period', but not sure this is good enough?
Specifications

Version: 1.4.2
Platform: Docker

@frediana Hi, I hope you are doing well.
First of all, thanks for reaching us. I see you are using terraform variable to define your value, are you using a .auto.tfvars files or terraform.tfvars file to define your variable? Today KICS only supports this kind of files as you can see here.
If you are using supported files and if possible, could you provide more information on how you are defining common variable?

Hello, thanks for your response.
Here is how I'm defining the variable, as a simple variable, with a default value that can/coud be overrident specifying .auto.tfvars or terraform.tfvars  as you suggested. But I have to admit, in my project the default value is always being used.
variable "default_log_retention_period" {
  default              =  60
}

resource "aws_cloudwatch_log_group" "foo" {
  name              = "foo"
  retention_in_days = var.default_log_retention_period
  kms_key_id        = var.kms_key_arn
}

@frediana Hello again, I made some tests using your example and I couldn't reproduce using retention_in_days = var.default_log_retention_period. 🙁
Also, I realized in your first example, you uses  var.common.default_log_retention_period instead of var.default_log_retention_period, so I tried the following snippet:
variable "common" {
  default = {
    default_log_retention_period = 60
  }
}

resource "aws_cloudwatch_log_group" "foo" {
  name              = "foo"
  retention_in_days = var.common.default_log_retention_period
  kms_key_id        = var.kms_key_arn
}

KICS didn't complain in this case too. 😕
What I think that might be happening in this case is that you are defining the variable variable "default_log_retention_period" and trying to access it as var.common.default_log_retention_period instead var.default_log_retention_period. If that is not the case and if it is possible, could you provide more information, please?

Hello, @felipe-avelar and thank your for the response. I can reproduce the issue with the following situation:
Sorry, I didn't simplified the actual use case I have wich is this precisely:
module "common" {
     # have an output called default_log_retention_period with a default value set to 60.
}

resource "aws_cloudwatch_log_group" "foo" {
  name              = "foo"
  retention_in_days = var.common.default_log_retention_period
  kms_key_id        = var.kms_key_arn
}

Not that in my case the common variable is actually the output of another module, called common. With this pattern, running kiks 1.4.2 fails this way:
CloudWatch Without Retention Period Specified, Severity: MEDIUM, Results: 4
Description: AWS CloudWatch Log groups should have retention days specified
Platform: Terraform

	[1]: ../../path/modules/batch_launcher/log.tf:3
		002:   name              = "/aws/lambda/batch-launcher${var.common.suffix}"
		003:   retention_in_days = var.common.default_log_retention_period
		004:   kms_key_id        = var.kms_key_arn

	[2]: ../../path/modules/compute_unit/log.tf:7
		006:   name              = local.log_group_name
		007:   retention_in_days = var.common.default_log_retention_period
		008:   kms_key_id        = var.kms_key_arn

	[3]: ../../path/modules/engine/log.tf:3=
		002:   name              = "/aws/lambda/${local.lambda_function_name}"
		003:   retention_in_days = var.common.default_log_retention_period
		004:   kms_key_id        = var.kms_key_arn

	[4]: ../../path/modules/monitoring/log.tf:3
		002:   name              = "/aws/lambda/${local.lambda_function_name}"
		003:   retention_in_days = var.common.default_log_retention_period
		004:   kms_key_id        = var.kms_key_arn

Hi, @frediana I see your problem now. Right now KICS does not support any kind of modules (in our roadmap we have a task to support verified terraform modules from terraform registry, but not personal modules), also we still do not support output values.
I'll take this topic to our team as soon as possible, to discuss the possibility to include both supports on our roadmap. Also, if you want, you can request this features as a separate issue and can close this one if you want.
If not, as soon as we have a position about this, we will answer you.

Hi @felipe-avelar thank your for your time. I shall soon create a separate issue for this feature. For now I just disabled this rule to get my think work.


When guard is in place page is displayed with incorrect transition state

When I navigate to a page that has a guard on it (eg if the user is not logged in) the navigation locks on the original page in its end transition state so eg if I transition from page 1 to page 2 and page 2 has a canActivate guard that returns false the original page is displayed but with an opacity that makes it barely legible.  Can you advise how to best deal with this scenario, and when you have a demo perhaps demonstrate it?

This should be fixed with 0.2.6 with adding NavigationCancel as a trigger too, thanks for reporting the issue!


Consider making sdk/lib/libraries.yaml extensible

We should look into making it easier to define multiple, yet similar, configurations in sdk/lib/libraries.yaml. In particular, flutter currently contains a modified clone of this file.

/cc @aam @sigmundch @johnniwinther @zanderso

Is this the mechanism that embedders would use rather than updating CFE source to add new dart: libraries? If so, I would urge a (much) higher priority for this issue---the bar for creating new embeddings of the VM is already too high. If not, could you add some text about what problem this is solving.

As far as the format goes, one of my motivations for using names for each target in the original design was exactly for this reason: to make it easy to extend and override the definition of one target with another.
For example:
vm:
  async: ...
  io: ...
  convert: ...
  isolate: ...
  mirrors: ...

flutter:
  extends: vm  # inherit all definitions from the vm target
  ui: ...      # add more `dart:` libraries
  mirrors: ... # override some `dart:` libraries (for example, to disallow them)

To support flutter, I think the extension mechanism should look like this:
flutter:
  extends:
    path: ".../sdk/lib/libraries.yaml"
    name: "vm_common"
  libraries:
    ui: ...

If the extension mechanism supports paths, then we can also split the yaml file into multiple files, one for each major backend: VM, dart2js, and DDC.


Made the changes

Purpose

Adding a new line at the end of the KafkaReceiver.java file to fix check style.

did the requested changes.


Specifying headers and relying on $_SERVER

Hello,
I was trying to do a test on a controller using Mobile Detect lib (https://github.com/serbanghita/Mobile-Detect).
Like this:
$browser
->interceptRedirects()
->actingAs($user->_real())
->get('/', [
  'headers' => [
     'User-Agent' => 'blabla'
  ]
]);

However mobile detect lib seems to use $_SERVER to do his job, so $_SERVER['HTTP_USER_AGENT'].
And using $browser as before does not seems to change $_SERVER. So I end up adding the following before my test:
$_SERVER['HTTP_USER_AGENT'] = 'blabla'
Which is working but not great as I also need to reset this value for any other tests in the same class.
I was wondering if I'm using the library the wrong way (zenstruck browser) or if there's anything that can be improved.
Regards,
Jean

Hello @jeanatpi
zenstruck/browser is using symfony/browser-kit to perform requests, and they don't modify the super globals ($_GET, $_SERVER, etc...).
As far as I can see, you're using the library the good way, but relying on super globals is not really the "symfony-way" and it is not a good practice. I'm very surprised that a so popular library is relying on super globals without any way to mitigate this.
In the docs, they are advertising for some bundle, maybe you can use one of them?
If this is not a solution, maybe you can override Browser::request() method, detect the presence of a user agent in the headers and fill $_SERVER here, so that this will be automatically done once for all, but I don't think we want to mess up with super globals is this library


Refactor aries-agent-rust

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 0.05%. Comparing base (a3c5a99) to head (e46ce62).
Report is 1 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #1153   +/-   ##
=====================================
  Coverage   0.05%   0.05%
=====================================
  Files        476     479    +3
  Lines      24134   24100   -34
  Branches    4500    4482   -18
=====================================
  Hits          13      13
+ Misses     24121   24087   -34

Flag
Coverage Δ

unittests-aries-vcx
0.05% <ø> (+<0.01%)
:arrow_up:

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

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


How to retrieve image from s3?

Trying to retrieve images from S3. The documentation is not clear how to do this.
let filePath = 'https://test.s3.amazonaws.com/2016_8_2/e21ccf2144df91bf6baab69d6ab0017e.png';

S3Client.readFile(filePath).then(
      (d) => {
        console.log(d);
      }, (err) => {
        console.log(err);
      });

Neither the error or success are run...
SO Question

Please take a look at the documentation which has multiple examples of usage of the module.
In the case of what you are attempting to do you appear to be using an absolute URL to retrieve a file from this which won't work. Think of this like it is a replacement for FS and use it that same way.

Thanks. Lots on info on reading, but none on writing in that link above..

Writing files
var S3FS = require('s3fs');
var fsImpl = new S3FS('test-bucket', options);
fsImpl.writeFile('message.txt', 'Hello Node').then(function() {
  console.log('It\'s saved!');
}, function(reason) {
  throw reason;
});

As mentioned in the documentation there, enjoy!


Development Environment Documentation results in error(health check 403 forbidden)

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Steps to Reproduce
I found some similar issues like #7396 #5449 and #6629 but none of them can solve my problem.

followed steps in docs: https://opencv.github.io/cvat/docs/contributing/development-environment/
set up docker service by: docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build cvat_opa cvat_db cvat_redis_inmem cvat_redis_ondisk cvat_server
launch server:debug and server:chrome
start UI server yarn start:cvat-ui

I've checked my storage usage and it's below 90%.

Expected Behavior
I can connect to the server
Possible Solution
No response
Context
docker ps
CONTAINER ID   IMAGE                                 COMMAND                   CREATED        STATUS                  PORTS                              NAMES
ddc68a54606f   cvat/server:v2.11.2                   "./backend_entrypoin…"   13 hours ago   Up 13 hours             8080/tcp, <IP_ADDRESS>:9090->9090/tcp   cvat_server
a57194d1021f   redis:7.2.3-alpine                    "docker-entrypoint.s…"   13 hours ago   Up 13 hours             <IP_ADDRESS>:6379->6379/tcp             cvat_redis_inmem
a8bc1a7794e7   apache/kvrocks:2.7.0                  "kvrocks -c /var/lib…"   13 hours ago   Up 13 hours (healthy)   <IP_ADDRESS>:6666->6666/tcp             cvat_redis_ondisk
8a0e249e8fb1   openpolicyagent/opa:0.45.0-rootless   "/opa run --server -…"   13 hours ago   Up 13 hours             <IP_ADDRESS>:8181->8181/tcp             cvat_opa
9bbc9912e631   postgres:15-alpine                    "docker-entrypoint.s…"   13 hours ago   Up 13 hours             <IP_ADDRESS>:5432->5432/tcp             cvat_db

 docker exec -t cvat_server python manage.py health_check
Cache backend: default   ... working
Cache backend: media     ... working
DatabaseBackend          ... working
DiskUsage                ... working
MemoryUsage              ... working
OPAHealthCheck           ... working

 docker logs cvat_server
wait-for-it.sh: waiting for cvat_db:5432 without a timeout
wait-for-it.sh: cvat_db:5432 is available after 0 seconds
Operations to perform:
  Apply all migrations: account, admin, analytics_report, auth, authtoken, contenttypes, dataset_repo, db, django_rq, engine, organizations, quality_control, sessions, sites, socialaccount, webhooks
Running migrations:
  No migrations to apply.

163 static files copied to '/home/django/static'.
wait-for-it.sh: waiting for cvat_db:5432 without a timeout
wait-for-it.sh: cvat_db:5432 is available after 0 seconds
waiting for migrations to complete...
2024-03-19 15:28:45,933 INFO Creating socket unix:///tmp/uvicorn.sock
2024-03-19 15:28:45,934 INFO Closing socket unix:///tmp/uvicorn.sock
2024-03-19 15:28:45,935 INFO RPC interface 'supervisor' initialized
2024-03-19 15:28:45,935 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2024-03-19 15:28:45,935 INFO supervisord started with pid 1
2024-03-19 15:28:46,937 INFO spawned: 'clamav_update' with pid 86
2024-03-19 15:28:46,939 INFO spawned: 'nginx-0' with pid 87
2024-03-19 15:28:46,940 INFO spawned: 'smokescreen' with pid 88
2024-03-19 15:28:46,941 INFO Creating socket unix:///tmp/uvicorn.sock
2024-03-19 15:28:46,942 DEBG fd 20 closed, stopped monitoring <PInputDispatcher at<PHONE_NUMBER>06704 for <Subprocess at<PHONE_NUMBER>95328 with name uvicorn-0 in state STARTING> (stdin)>
2024-03-19 15:28:46,942 INFO spawned: 'uvicorn-0' with pid 89
2024-03-19 15:28:46,943 DEBG fd 24 closed, stopped monitoring <PInputDispatcher at<PHONE_NUMBER>07280 for <Subprocess at<PHONE_NUMBER>95184 with name uvicorn-1 in state STARTING> (stdin)>
2024-03-19 15:28:46,944 INFO spawned: 'uvicorn-1' with pid 90
2024-03-19 15:28:46,944 DEBG fd 7 closed, stopped monitoring <POutputDispatcher at<PHONE_NUMBER>30896 for <Subprocess at<PHONE_NUMBER>30800 with name clamav_update in state STARTING> (stdout)>
2024-03-19 15:28:46,944 DEBG fd 9 closed, stopped monitoring <POutputDispatcher at<PHONE_NUMBER>05120 for <Subprocess at<PHONE_NUMBER>30800 with name clamav_update in state STARTING> (stderr)>
2024-03-19 15:28:46,945 INFO exited: clamav_update (exit status 0; expected)
2024-03-19 15:28:46,945 DEBG received SIGCHLD indicating a child quit
2024-03-19 15:28:46,945 DEBG 'nginx-0' stderr output:
nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)

2024-03-19 15:28:46,947 DEBG 'smokescreen' stderr output:
{"level":"info","msg":"starting","time":"2024-03-19T15:28:46Z"}

2024-03-19 15:28:46,949 DEBG 'uvicorn-0' stderr output:
wait-for-it.sh: waiting for cvat_db:5432 without a timeout

2024-03-19 15:28:46,952 DEBG 'uvicorn-0' stderr output:
wait-for-it.sh: cvat_db:5432 is available after 0 seconds

2024-03-19 15:28:46,955 DEBG fd 14 closed, stopped monitoring <POutputDispatcher at<PHONE_NUMBER>05360 for <Subprocess at<PHONE_NUMBER>94608 with name nginx-0 in state STARTING> (stderr)>
2024-03-19 15:28:46,956 DEBG 'uvicorn-0' stderr output:
wait-for-it.sh: waiting for cvat_redis_inmem:6379 without a timeout

2024-03-19 15:28:46,956 DEBG 'uvicorn-1' stderr output:
wait-for-it.sh: waiting for cvat_db:5432 without a timeout

2024-03-19 15:28:46,959 DEBG 'uvicorn-0' stderr output:
wait-for-it.sh: cvat_redis_inmem:6379 is available after 0 seconds

2024-03-19 15:28:46,959 DEBG 'uvicorn-1' stderr output:
wait-for-it.sh: cvat_db:5432 is available after 0 seconds

2024-03-19 15:28:46,964 DEBG 'uvicorn-0' stderr output:
wait-for-it.sh: waiting for cvat_redis_ondisk:6666 without a timeout

2024-03-19 15:28:46,964 DEBG 'uvicorn-1' stderr output:
wait-for-it.sh: waiting for cvat_redis_inmem:6379 without a timeout

2024-03-19 15:28:46,967 DEBG 'uvicorn-0' stderr output:
wait-for-it.sh: cvat_redis_ondisk:6666 is available after 0 seconds

2024-03-19 15:28:46,967 DEBG 'uvicorn-1' stderr output:
wait-for-it.sh: cvat_redis_inmem:6379 is available after 0 seconds

2024-03-19 15:28:46,973 DEBG 'uvicorn-1' stderr output:
wait-for-it.sh: waiting for cvat_redis_ondisk:6666 without a timeout

2024-03-19 15:28:46,977 DEBG 'uvicorn-1' stderr output:
wait-for-it.sh: cvat_redis_ondisk:6666 is available after 0 seconds

2024-03-19 15:28:47,980 INFO success: nginx-0 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-03-19 15:28:47,981 INFO success: smokescreen entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-03-19 15:28:47,981 INFO success: uvicorn-0 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-03-19 15:28:47,981 INFO success: uvicorn-1 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-03-19 15:28:48,259 DEBG 'uvicorn-0' stderr output:
INFO:     Started server process [89]
INFO:     Waiting for application startup.

2024-03-19 15:28:48,260 DEBG 'uvicorn-0' stderr output:
INFO:     ASGI 'lifespan' protocol appears unsupported.
INFO:     Application startup complete.

2024-03-19 15:28:48,260 DEBG 'uvicorn-0' stderr output:
INFO:     Uvicorn running on socket /tmp/uvicorn.sock (Press CTRL+C to quit)

2024-03-19 15:28:48,898 DEBG 'uvicorn-0' stdout output:
INFO:     <IP_ADDRESS>:0 - "GET /api/auth/rules HTTP/1.0" 200 OK

2024-03-19 15:28:50,078 DEBG 'uvicorn-1' stderr output:
INFO:     Started server process [90]
INFO:     Waiting for application startup.

2024-03-19 15:28:50,078 DEBG 'uvicorn-1' stderr output:
INFO:     ASGI 'lifespan' protocol appears unsupported.
   2 minutes ago    Up 2 minutes              <IP_ADDRESS>:8282->80/tcp                                     cvat_vector
71e1c1bbb0e5   traefik:v2.10                               "/entrypoint.sh trae…"   3 minutes ago    Up 2 minutes              <IP_ADDRESS>:8080->8080/tcp, 80/tcp, <IP_ADDRESS>:8090->8090/tcp   traefik
001975a905d7   clickhouse/clickhouse-server:23.11-alpine   "/entrypoint.sh"          3 minutes ago    Up 2 minutes              9000/tcp, <IP_ADDRESS>:8123->8123/tcp, 9009/tcp               cvat_clickhouse
46bc29e11bcb   cvat/server:v2.11.2                         "./backend_entrypoin…"   4 minutes ago    Up 2 minutes              8080/tcp, <IP_ADDRESS>:9092->9092/tcp                         cvat_worker_export
46a693d43b90   cvat/server:v2.11.2                         "./backend_entrypoin…"   4 minutes ago    Up 2 minutes              8080/tcp, <IP_ADDRESS>:9095->9095/tcp                         cvat_worker_analytics_reports
b363008e3c4b   cvat/server:v2.11.2                         "./backend_entrypoin…"   4 minutes ago    Up 2 minutes              8080/tcp, <IP_ADDRESS>:9091->9091/tcp                         cvat_worker_annotation
d259d4152ca0   cvat/server:v2.11.2                         "./backend_entrypoin…"   4 minutes ago    Up 2 minutes              8080/tcp, <IP_ADDRESS>:9093->9093/tcp                         cvat_worker_import
bfab9a3b156b   cvat/server:v2.11.2                         "./backend_entrypoin…"   4 minutes ago    Up 2 minutes              8080/tcp                                                 cvat_worker_webhooks
1f9d54979d15   cvat/server:v2.11.2                         "./backend_entrypoin…"   4 minutes ago    Up 2 minutes              8080/tcp, <IP_ADDRESS>:9094->9094/tcp                         cvat_worker_quality_reports
321abe8152f1   cvat/server:v2.11.2                         "./backend_entrypoin…"   4 minutes ago    Up 2 minutes              8080/tcp                                                 cvat_utils
6382306f6a15   cvat/ui:v2.11.2                             "/docker-entrypoint.…"   4 minutes ago    Up 2 minutes              80/tcp                                                   cvat_ui
7a678ffb2ff6   grafana/grafana-oss:10.1.2                  "sh -euc 'mkdir -p /…"   23 minutes ago   Up 23 minutes             3000/tcp                                                 cvat_grafana
fe5b63fcf9a4   cvat/server:v2.11.2                         "./backend_entrypoin…"   40 minutes ago   Up 40 minutes             8080/tcp, <IP_ADDRESS>:9090->9090/tcp                         cvat_server
e9e17c39c575   postgres:15-alpine                          "docker-entrypoint.s…"   40 minutes ago   Up 40 minutes             <IP_ADDRESS>:5432->5432/tcp                                   cvat_db
cd9396a86d56   openpolicyagent/opa:0.45.0-rootless         "/opa run --server -…"   40 minutes ago   Up 40 minutes             <IP_ADDRESS>:8181->8181/tcp                                   cvat_opa
82691d95d32c   redis:7.2.3-alpine                          "docker-entrypoint.s…"   40 minutes ago   Up 40 minutes             <IP_ADDRESS>:6379->6379/tcp                                   cvat_redis_inmem
bf3c06535e2a   apache/kvrocks:2.7.0                        "kvrocks -c /var/lib…"   40 minutes ago   Up 40 minutes (healthy)   <IP_ADDRESS>:6666->6666/tcp                                   cvat_redis_ondisk

but still it can't work

Hey @HaleyCH,
The command for running the docker container is this,
export DOCKER_DEFAULT_PLATFORM=linux/amd64 &&  docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build \
  cvat_opa cvat_db cvat_redis_inmem cvat_redis_ondisk cvat_server

I tried using export DOCKER_DEFAULT_PLATFORM=linux/amd64 && docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build instead
here is output of docker ps
> docker ps
CONTAINER ID   IMAGE                                       COMMAND                   CREATED          STATUS                    PORTS                                                    NAMES
e61142aaf5f0   timberio/vector:0.26.0-alpine               "/usr/local/bin/vect…"   2 minutes ago    Up 2 minutes              <IP_ADDRESS>:8282->80/tcp                                     cvat_vector
71e1c1bbb0e5   traefik:v2.10                               "/entrypoint.sh trae…"   3 minutes ago    Up 2 minutes              <IP_ADDRESS>:8080->8080/tcp, 80/tcp, <IP_ADDRESS>:8090->8090/tcp   traefik
001975a905d7   clickhouse/clickhouse-server:23.11-alpine   "/entrypoint.sh"          3 minutes ago    Up 2 minutes              9000/tcp, <IP_ADDRESS>:8123->8123/tcp, 9009/tcp               cvat_clickhouse
46bc29e11bcb   cvat/server:v2.11.2                         "./backend_entrypoin…"   4 minutes ago    Up 2 minutes              8080/tcp, <IP_ADDRESS>:9092->9092/tcp                         cvat_worker_export
46a693d43b90   cvat/server:v2.11.2                         "./backend_entrypoin…"   4 minutes ago    Up 2 minutes              8080/tcp, <IP_ADDRESS>:9095->9095/tcp                         cvat_worker_analytics_reports
b363008e3c4b   cvat/server:v2.11.2                         "./backend_entrypoin…"   4 minutes ago    Up 2 minutes              8080/tcp, <IP_ADDRESS>:9091->9091/tcp                         cvat_worker_annotation
d259d4152ca0   cvat/server:v2.11.2                         "./backend_entrypoin…"   4 minutes ago    Up 2 minutes              8080/tcp, <IP_ADDRESS>:9093->9093/tcp                         cvat_worker_import
bfab9a3b156b   cvat/server:v2.11.2                         "./backend_entrypoin…"   4 minutes ago    Up 2 minutes              8080/tcp                                                 cvat_worker_webhooks
1f9d54979d15   cvat/server:v2.11.2                         "./backend_entrypoin…"   4 minutes ago    Up 2 minutes              8080/tcp, <IP_ADDRESS>:9094->9094/tcp                         cvat_worker_quality_reports
321abe8152f1   cvat/server:v2.11.2                         "./backend_entrypoin…"   4 minutes ago    Up 2 minutes              8080/tcp                                                 cvat_utils
6382306f6a15   cvat/ui:v2.11.2                             "/docker-entrypoint.…"   4 minutes ago    Up 2 minutes              80/tcp                                                   cvat_ui
7a678ffb2ff6   grafana/grafana-oss:10.1.2                  "sh -euc 'mkdir -p /…"   23 minutes ago   Up 23 minutes             3000/tcp                                                 cvat_grafana
fe5b63fcf9a4   cvat/server:v2.11.2                         "./backend_entrypoin…"   40 minutes ago   Up 40 minutes             8080/tcp, <IP_ADDRESS>:9090->9090/tcp                         cvat_server
e9e17c39c575   postgres:15-alpine                          "docker-entrypoint.s…"   40 minutes ago   Up 40 minutes             <IP_ADDRESS>:5432->5432/tcp                                   cvat_db
cd9396a86d56   openpolicyagent/opa:0.45.0-rootless         "/opa run --server -…"   40 minutes ago   Up 40 minutes             <IP_ADDRESS>:8181->8181/tcp                                   cvat_opa
82691d95d32c   redis:7.2.3-alpine                          "docker-entrypoint.s…"   40 minutes ago   Up 40 minutes             <IP_ADDRESS>:6379->6379/tcp                                   cvat_redis_inmem
bf3c06535e2a   apache/kvrocks:2.7.0                        "kvrocks -c /var/lib…"   40 minutes ago   Up 40 minutes (healthy)   <IP_ADDRESS>:6666->6666/tcp                                   cvat_redis_ondisk

but still it can't work

Can you provide the logs of cvat_opa container.

I read the log and find it strange that the OPA is receiving <IP_ADDRESS> and <IP_ADDRESS>/8 addresses. I also checked the /etc/hosts file in case there might be some resolution issues causing this.
  Do not change this entry.
##
<IP_ADDRESS>	localhost
<IP_ADDRESS>	broadcasthost
::1             localhost

<IP_ADDRESS> raw.githubusercontent.com
<IP_ADDRESS> *.example.com

Hey @HaleyCH, The command for running the docker container is this,
export DOCKER_DEFAULT_PLATFORM=linux/amd64 &&  docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build \
  cvat_opa cvat_db cvat_redis_inmem cvat_redis_ondisk cvat_server

Also first execute
yarn run start:cvat-ui

Then launch the server: debug

Thanks for your advice. I tried the Docker command, but when I ran docker ps, it did not show port 3000 as open, which I believe is required by the API service. So I directly ran export DOCKER_DEFAULT_PLATFORM=linux/amd64 && docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build to start all relevant containers directly.

stop the cvat_opa container and start it like this docker run -d --rm
--name cvat_opa_debug -p 8181:8181 -v ${PWD}/cvat/apps/iam/rules:/rules
openpolicyagent/opa:0.45.0-rootless run --server
--set=decision_logs.console=true /rules
On Sun, 24 Mar 2024 at 10:29, hluvmiku @.***> wrote:

Hey @HaleyCH https://github.com/HaleyCH, The command for running the
docker container is this,
export DOCKER_DEFAULT_PLATFORM=linux/amd64 &&  docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build
cvat_opa cvat_db cvat_redis_inmem cvat_redis_ondisk cvat_server
Also first execute
yarn run start:cvat-ui
Then launch the server: debug
Thanks for your advice. I tried the Docker command, but when I ran docker
ps, it did not show port 3000 as open, which I believe is required by the
API service. So I directly ran export DOCKER_DEFAULT_PLATFORM=linux/amd64
&& docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d
--build to start all relevant containers directly.
—
Reply to this email directly, view it on GitHub
https://github.com/opencv/cvat/issues/7642#issuecomment-2016699356, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A2XV346RAO6EQMTZAXRKBJ3YZZQB3AVCNFSM6AAAAABE6YFGPKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWGY4TSMZVGY
.
You are receiving this because you commented.Message ID:
@.***>

Sorry for my delay.
I modified the cvat_opa in the docker-compose.dev.yml file as shown below:
  cvat_opa:
    ports:
      - '8181:8181'
    volumes:
      - ${PWD}/cvat/apps/iam/rules:/rules
    command:
      - run
      - --server
      - --log-level=error
      - --set=services.cvat.url=http://cvat-server:8080
      - --set=bundles.cvat.service=cvat
      - --set=bundles.cvat.resource=/api/auth/rules
      - --set=bundles.cvat.polling.min_delay_seconds=5
      - --set=bundles.cvat.polling.max_delay_seconds=15
      - --set=decision_logs.console=true

After modifying, I ran the container using the command docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build cvat_opa cvat_db cvat_redis_inmem cvat_redis_ondisk cvat_server.
Here is the log for cvat_opa:
2024-03-29 16:36:36 {"level":"error","msg":"Bundle load failed: request failed: Get \"http://cvat-server:8080/api/auth/rules\": dial tcp <IP_ADDRESS>:8080: connect: connection refused","name":"cvat","plugin":"bundle","time":"2024-03-29T08:36:36Z"}
2024-03-29 16:36:36 {"level":"error","msg":"Bundle load failed: request failed: Get \"http://cvat-server:8080/api/auth/rules\": dial tcp <IP_ADDRESS>:8080: connect: connection refused","name":"cvat","plugin":"bundle","time":"2024-03-29T08:36:36Z"}
2024-03-29 16:36:36 {"level":"error","msg":"Bundle load failed: request failed: Get \"http://cvat-server:8080/api/auth/rules\": dial tcp <IP_ADDRESS>:8080: connect: connection refused","name":"cvat","plugin":"bundle","time":"2024-03-29T08:36:36Z"}
2024-03-29 16:36:36 {"level":"error","msg":"Bundle load failed: request failed: Get \"http://cvat-server:8080/api/auth/rules\": dial tcp <IP_ADDRESS>:8080: connect: connection refused","name":"cvat","plugin":"bundle","time":"2024-03-29T08:36:36Z"}
2024-03-29 16:36:36 {"level":"error","msg":"Bundle load failed: request failed: Get \"http://cvat-server:8080/api/auth/rules\": dial tcp <IP_ADDRESS>:8080: connect: connection refused","name":"cvat","plugin":"bundle","time":"2024-03-29T08:36:36Z"}
2024-03-29 16:36:37 {"level":"error","msg":"Bundle load failed: request failed: Get \"http://cvat-server:8080/api/auth/rules\": dial tcp <IP_ADDRESS>:8080: connect: connection refused","name":"cvat","plugin":"bundle","time":"2024-03-29T08:36:37Z"}
2024-03-29 16:36:38 {"level":"error","msg":"Bundle load failed: request failed: Get \"http://cvat-server:8080/api/auth/rules\": dial tcp <IP_ADDRESS>:8080: connect: connection refused","name":"cvat","plugin":"bundle","time":"2024-03-29T08:36:38Z"}
2024-03-29 16:36:40 {"level":"error","msg":"Bundle load failed: request failed: Get \"http://cvat-server:8080/api/auth/rules\": dial tcp <IP_ADDRESS>:8080: connect: connection refused","name":"cvat","plugin":"bundle","time":"2024-03-29T08:36:40Z"}

The log for cvat_server is as follows:
2024-03-29 16:36:35 wait-for-it.sh: waiting for cvat_db:5432 without a timeout
2024-03-29 16:36:36 wait-for-it.sh: cvat_db:5432 is available after 1 second
2024-03-29 16:36:39 wait-for-it.sh: waiting for cvat_db:5432 without a timeout
2024-03-29 16:36:39 wait-for-it.sh: cvat_db:5432 is available after 0 seconds
2024-03-29 16:36:38 Operations to perform:
2024-03-29 16:36:38   Apply all migrations: account, admin, analytics_report, auth, authtoken, contenttypes, dataset_repo, db, django_rq, engine, organizations, quality_control, sessions, sites, socialaccount, webhooks
2024-03-29 16:36:38 Running migrations:
2024-03-29 16:36:38   No migrations to apply.
2024-03-29 16:36:39
2024-03-29 16:36:39 163 static files copied to '/home/django/static'.
2024-03-29 16:36:39 waiting for migrations to complete...
2024-03-29 16:36:40 2024-03-29 08:36:40,844 INFO Creating socket unix:///tmp/uvicorn.sock
2024-03-29 16:36:40 2024-03-29 08:36:40,844 INFO Closing socket unix:///tmp/uvicorn.sock
2024-03-29 16:36:40 2024-03-29 08:36:40,845 INFO RPC interface 'supervisor' initialized
2024-03-29 16:36:40 2024-03-29 08:36:40,845 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2024-03-29 16:36:40 2024-03-29 08:36:40,845 INFO supervisord started with pid 1
2024-03-29 16:36:41 2024-03-29 08:36:41,847 INFO spawned: 'clamav_update' with pid 88
2024-03-29 16:36:41 2024-03-29 08:36:41,849 INFO spawned: 'nginx-0' with pid 89
2024-03-29 16:36:41 2024-03-29 08:36:41,851 INFO spawned: 'smokescreen' with pid 90
2024-03-29 16:36:41 2024-03-29 08:36:41,851 INFO Creating socket unix:///tmp/uvicorn.sock
2024-03-29 16:36:41 2024-03-29 08:36:41,852 DEBG fd 20 closed, stopped monitoring <PInputDispatcher at<PHONE_NUMBER>97776 for <Subprocess at<PHONE_NUMBER>86400 with name uvicorn-0 in state STARTING> (stdin)>
2024-03-29 16:36:41 2024-03-29 08:36:41,853 INFO spawned: 'uvicorn-0' with pid 91
2024-03-29 16:36:41 2024-03-29 08:36:41,854 DEBG fd 24 closed, stopped monitoring <PInputDispatcher at<PHONE_NUMBER>98352 for <Subprocess at<PHONE_NUMBER>86256 with name uvicorn-1 in state STARTING> (stdin)>
2024-03-29 16:36:41 2024-03-29 08:36:41,855 INFO spawned: 'uvicorn-1' with pid 92
2024-03-29 16:36:41 2024-03-29 08:36:41,855 DEBG fd 7 closed, stopped monitoring <POutputDispatcher at<PHONE_NUMBER>21968 for <Subprocess at<PHONE_NUMBER>21872 with name clamav_update in state STARTING> (stdout)>
2024-03-29 16:36:41 2024-03-29 08:36:41,856 DEBG fd 9 closed, stopped monitoring <POutputDispatcher at<PHONE_NUMBER>96192 for <Subprocess at<PHONE_NUMBER>21872 with name clamav_update in state STARTING> (stderr)>
2024-03-29 16:36:41 2024-03-29 08:36:41,856 INFO exited: clamav_update (exit status 0; expected)
2024-03-29 16:36:41 2024-03-29 08:36:41,856 DEBG received SIGCHLD indicating a child quit
2024-03-29 16:36:41 2024-03-29 08:36:41,857 DEBG 'nginx-0' stderr output:
2024-03-29 16:36:41 nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)
2024-03-29 16:36:41
2024-03-29 16:36:41 2024-03-29 08:36:41,860 DEBG 'uvicorn-1' stderr output:
2024-03-29 16:36:41 wait-for-it.sh: waiting for cvat_db:5432 without a timeout
2024-03-29 16:36:41
2024-03-29 16:36:41 2024-03-29 08:36:41,860 DEBG 'smokescreen' stderr output:
2024-03-29 16:36:41 {"level":"info","msg":"starting","time":"2024-03-29T08:36:41Z"}
2024-03-29 16:36:41
2024-03-29 16:36:41 2024-03-29 08:36:41,860 DEBG 'uvicorn-0' stderr output:
2024-03-29 16:36:41 wait-for-it.sh: waiting for cvat_db:5432 without a timeout
2024-03-29 16:36:41
2024-03-29 16:36:41 2024-03-29 08:36:41,862 DEBG 'uvicorn-1' stderr output:
2024-03-29 16:36:41 wait-for-it.sh: cvat_db:5432 is available after 0 seconds
2024-03-29 16:36:41
2024-03-29 16:36:41 2024-03-29 08:36:41,862 DEBG 'uvicorn-0' stderr output:
2024-03-29 16:36:41 wait-for-it.sh: cvat_db:5432 is available after 0 seconds
2024-03-29 16:36:41
2024-03-29 16:36:41 2024-03-29 08:36:41,865 DEBG fd 14 closed, stopped monitoring <POutputDispatcher at<PHONE_NUMBER>96432 for <Subprocess at<PHONE_NUMBER>85680 with name nginx-0 in state STARTING> (stderr)>
2024-03-29 16:36:41 2024-03-29 08:36:41,865 DEBG 'uvicorn-1' stderr output:
2024-03-29 16:36:41 wait-for-it.sh: waiting for cvat_redis_inmem:6379 without a timeout
2024-03-29 16:36:41
2024-03-29 16:36:41 2024-03-29 08:36:41,867 DEBG 'uvicorn-0' stderr output:
2024-03-29 16:36:41 wait-for-it.sh: waiting for cvat_redis_inmem:6379 without a timeout
2024-03-29 16:36:41
2024-03-29 16:36:41 2024-03-29 08:36:41,868 DEBG 'uvicorn-1' stderr output:
2024-03-29 16:36:41 wait-for-it.sh: cvat_redis_inmem:6379 is available after 0 seconds
2024-03-29 16:36:41
2024-03-29 16:36:41 2024-03-29 08:36:41,869 DEBG 'uvicorn-0' stderr output:
2024-03-29 16:36:41 wait-for-it.sh: cvat_redis_inmem:6379 is available after 0 seconds
2024-03-29 16:36:41
2024-03-29 16:36:41 2024-03-29 08:36:41,872 DEBG 'uvicorn-1' stderr output:
2024-03-29 16:36:41 wait-for-it.sh: waiting for cvat_redis_ondisk:6666 without a timeout
2024-03-29 16:36:41
2024-03-29 16:36:41 2024-03-29 08:36:41,872 DEBG 'uvicorn-0' stderr output:
2024-03-29 16:36:41 wait-for-it.sh: waiting for cvat_redis_ondisk:6666 without a timeout
2024-03-29 16:36:41
2024-03-29 16:36:41 2024-03-29 08:36:41,874 DEBG 'uvicorn-0' stderr output:
2024-03-29 16:36:41 wait-for-it.sh: cvat_redis_ondisk:6666 is available after 0 seconds
2024-03-29 16:36:41
2024-03-29 16:36:41 2024-03-29 08:36:41,875 DEBG 'uvicorn-1' stderr output:
2024-03-29 16:36:41 wait-for-it.sh: cvat_redis_ondisk:6666 is available after 0 seconds
2024-03-29 16:36:41
2024-03-29 16:36:42 2024-03-29 08:36:42,740 DEBG 'uvicorn-1' stderr output:
2024-03-29 16:36:42 INFO:     Started server process [92]
2024-03-29 16:36:42 INFO:     Waiting for application startup.
2024-03-29 16:36:42
2024-03-29 16:36:42 2024-03-29 08:36:42,740 DEBG 'uvicorn-1' stderr output:
2024-03-29 16:36:42 INFO:     ASGI 'lifespan' protocol appears unsupported.
2024-03-29 16:36:42 INFO:     Application startup complete.
2024-03-29 16:36:42
2024-03-29 16:36:42 2024-03-29 08:36:42,740 DEBG 'uvicorn-1' stderr output:
2024-03-29 16:36:42 INFO:     Uvicorn running on socket /tmp/uvicorn.sock (Press CTRL+C to quit)
2024-03-29 16:36:42
2024-03-29 16:36:42 2024-03-29 08:36:42,770 DEBG 'uvicorn-0' stderr output:
2024-03-29 16:36:42 INFO:     Started server process [91]
2024-03-29 16:36:42 INFO:     Waiting for application startup.
2024-03-29 16:36:42
2024-03-29 16:36:42 2024-03-29 08:36:42,770 DEBG 'uvicorn-0' stderr output:
2024-03-29 16:36:42 INFO:     ASGI 'lifespan' protocol appears unsupported.
2024-03-29 16:36:42 INFO:     Application startup complete.
2024-03-29 16:36:42
2024-03-29 16:36:42 2024-03-29 08:36:42,770 DEBG 'uvicorn-0' stderr output:
2024-03-29 16:36:42 INFO:     Uvicorn running on socket /tmp/uvicorn.sock (Press CTRL+C to quit)
2024-03-29 16:36:42
2024-03-29 16:36:42 2024-03-29 08:36:42,824 DEBG 'uvicorn-1' stdout output:
2024-03-29 16:36:42 INFO:     <IP_ADDRESS>:0 - "GET /api/auth/rules HTTP/1.0" 200 OK
2024-03-29 16:36:42
2024-03-29 16:36:43 2024-03-29 08:36:43,826 INFO success: nginx-0 entered RUNNING state, process has stayed up for more than 1 second (startsecs)
2024-03-29 16:36:43 2024-03-29 08:36:43,827 INFO success: smokescreen entered RUNNING state, process has stayed up for more than 1 second (startsecs)
2024-03-29 16:36:43 2024-03-29 08:36:43,827 INFO success: uvicorn-0 entered RUNNING state, process has stayed up for more than 1 second (startsecs)
2024-03-29 16:36:43 2024-03-29 08:36:43,831 INFO success: uvicorn-1 entered RUNNING state, process has stayed up for more than 1 second (startsecs)
2024-03-29 16:36:57 2024-03-29 08:36:57,029 DEBG 'uvicorn-0' stdout output:
2024-03-29 16:36:57 INFO:     <IP_ADDRESS>:0 - "GET /api/auth/rules HTTP/1.0" 304 Not Modified
2024-03-29 16:36:57
2024-03-29 16:37:04 2024-03-29 08:37:04,457 DEBG 'uvicorn-0' stdout output:
2024-03-29 16:37:04 INFO:     <IP_ADDRESS>:0 - "GET /api/auth/rules HTTP/1.0" 304 Not Modified
2024-03-29 16:37:04
2024-03-29 16:37:11 2024-03-29 08:37:11,152 DEBG 'uvicorn-1' stdout output:
2024-03-29 16:37:11 INFO:     <IP_ADDRESS>:0 - "GET /api/auth/rules HTTP/1.0" 304 Not Modified
2024-03-29 16:37:11
2024-03-29 16:37:20 2024-03-29 08:37:20,114 DEBG 'uvicorn-0' stdout output:
2024-03-29 16:37:20 INFO:     <IP_ADDRESS>:0 - "GET /api/auth/rules HTTP/1.0" 304 Not Modified
2024-03-29 16:37:20
2024-03-29 16:37:28 2024-03-29 08:37:28,846 DEBG 'uvicorn-1' stdout output:
2024-03-29 16:37:28 INFO:     <IP_ADDRESS>:0 - "GET /api/auth/rules HTTP/1.0" 304 Not Modified
2024-03-29 16:37:28
2024-03-29 16:37:43 2024-03-29 08:37:43,389 DEBG 'uvicorn-1' stdout output:
2024-03-29 16:37:43 INFO:     <IP_ADDRESS>:0 - "GET /api/auth/rules HTTP/1.0" 304 Not Modified
2024-03-29 16:37:43
2024-03-29 16:37:50 2024-03-29 08:37:50,250 DEBG 'uvicorn-0' stdout output:
2024-03-29 16:37:50 INFO:     <IP_ADDRESS>:0 - "GET /api/auth/rules HTTP/1.0" 304 Not Modified
2024-03-29 16:37:50
2024-03-29 16:38:00 2024-03-29 08:38:00,722 DEBG 'uvicorn-0' stdout output:
2024-03-29 16:38:00 INFO:     <IP_ADDRESS>:0 - "GET /api/auth/rules HTTP/1.0" 304 Not Modified
2024-03-29 16:38:00
2024-03-29 16:38:12 2024-03-29 08:38:12,277 DEBG 'uvicorn-0' stdout output:
2024-03-29 16:38:12 INFO:     <IP_ADDRESS>:0 - "GET /api/auth/rules HTTP/1.0" 304 Not Modified
2024-03-29 16:38:12
2024-03-29 16:38:20 2024-03-29 08:38:20,918 DEBG 'uvicorn-0' stdout output:
2024-03-29 16:38:20 INFO:     <IP_ADDRESS>:0 - "GET /api/auth/rules HTTP/1.0" 304 Not Modified
2024-03-29 16:38:20
2024-03-29 16:38:32 2024-03-29 08:38:32,793 DEBG 'uvicorn-0' stdout output:
2024-03-29 16:38:32 INFO:     <IP_ADDRESS>:0 - "GET /api/auth/rules HTTP/1.0" 304 Not Modified
2024-03-29 16:38:32
2024-03-29 16:38:41 2024-03-29 08:38:41,964 DEBG 'uvicorn-0' stdout output:
2024-03-29 16:38:41 INFO:     <IP_ADDRESS>:0 - "GET /api/auth/rules HTTP/1.0" 304 Not Modified
2024-03-29 16:38:41
2024-03-29 16:38:53 2024-03-29 08:38:53,256 DEBG 'uvicorn-0' stdout output:
2024-03-29 16:38:53 INFO:     <IP_ADDRESS>:0 - "GET /api/auth/rules HTTP/1.0" 304 Not Modified
2024-03-29 16:38:53
2024-03-29 16:39:02 2024-03-29 08:39:02,531 DEBG 'uvicorn-0' stdout output:
2024-03-29 16:39:02 INFO:     <IP_ADDRESS>:0 - "GET /api/auth/rules HTTP/1.0" 304 Not Modified
2024-03-29 16:39:02
2024-03-29 16:39:07 2024-03-29 08:39:07,906 DEBG 'uvicorn-0' stdout output:
2024-03-29 16:39:07 INFO:     <IP_ADDRESS>:0 - "GET /api/auth/rules HTTP/1.0" 304 Not Modified
2024-03-29 16:39:07
2024-03-29 16:39:17 2024-03-29 08:39:17,720 DEBG 'uvicorn-0' stdout output:
2024-03-29 16:39:17 INFO:     <IP_ADDRESS>:0 - "GET /api/auth/rules HTTP/1.0" 304 Not Modified

Based on the logs, it seems that the cvat_opa (<IP_ADDRESS>) is unable to connect to the cvat_server (<IP_ADDRESS>). However, the cvat_server is actually returning a "304 Not Modified" response.
Here are the network configurations for cvat_server and cvat_opa:
cvat_server:
"Networks": {
    "cvat_cvat": {
        "IPAMConfig": {},
        "Links": null,
        "Aliases": [
            "cvat_server",
            "cvat-server",
            "053559131c2f"
        ],
        "MacAddress": "02:42:ac:12:00:06",
        "NetworkID": "4b0123a8654b3ec8ba09bc12cf1af667defbd5b8e98ccde80a356954eb31c06c",
        "EndpointID": "fbc78bf6e66fa885fc9612113b218f62ed4160dbc475f697929d5c62d7219611",
        "Gateway": "<IP_ADDRESS>",
        "IPAddress": "<IP_ADDRESS>",
        "IPPrefixLen": 16,
        "IPv6Gateway": "",
        "GlobalIPv6Address": "",
        "GlobalIPv6PrefixLen": 0,
        "DriverOpts": null,
        "DNSNames": [
            "cvat_server",
            "cvat-server",
            "053559131c2f"
        ]
    }
}

cvat_opa:
"Networks": {
    "cvat_cvat": {
        "IPAMConfig": {},
        "Links": null,
        "Aliases": [
            "cvat_opa",
            "opa",
            "ce52559e78cd"
        ],
        "MacAddress": "02:42:ac:12:00:05",
        "NetworkID": "4b0123a8654b3ec8ba09bc12cf1af667defbd5b8e98ccde80a356954eb31c06c",
        "EndpointID": "7ad507db905b18b9f7cbfc6507b075d0fcb357f376d8536a60a231455948575e",
        "Gateway": "<IP_ADDRESS>",
        "IPAddress": "<IP_ADDRESS>",
        "IPPrefixLen": 16,
        "IPv6Gateway": "",
        "GlobalIPv6Address": "",
        "GlobalIPv6PrefixLen": 0,
        "DriverOpts": null,
        "DNSNames": [
            "cvat_opa",
            "opa",
            "ce52559e78cd"
        ]
}

The connection refused error I encountered was likely due to OPA starting before the server had fully started. Upon reviewing the logs carefully, I realized that this issue shouldn't be directly related to the problem occurring during actual runtime.


#282 Application Review table renamed to application round review

@bohraji this has been merged on UAT. Please test and confirm.


Add support for supplementary characters

This app is great, but I cannot find any character higher than U+FFFF, for example, 🔞(U+1F51E). Looking forward to the support of emoji's. Thank you very much:smile:

This is not the scope of this App now. But thanks anyway! It's a great idea, I may plan it in future release.

The issue is fixed in today's release. Closing it now.


2D Navmesh

When is 2D navmesh available

Not any time soon.

Not any time soon.

@turadr What about the promised Package?
Any time soon'ish' ??

@xCyborg Please follow issue #172.  You will receive notifications when we'll post news there. It's been progressing well but it will take a bit more time to release it.


Fix null reference on GetSessionEnumerator()

Prevent race condition when getting audio device manager allowing it to be null before the first time it is needed.  Also, early exit if the device manager is null.

Waiting on @TybaIt to confirm if this resolves the intermittent issues he was seeing and that a volume level is still reported every launch.

Tybalt confirmed that the changes did resolve the issue for him.

Fixes #327


Simple HTTP cache control middleware

I'd be happy to discuss with you the relevance and implementation of this feature in this pull request.
This middleware provides a simple abstraction to set the max-age value of the HTTP Cache-Control header in a fluent way. One could rely on express usage of Etag mechanism by default and not even pay attention — that's fine. But in cases where a finer-grained, per-resource HTTP caching strategy is involved, it could come handy.
Changes
cache is now labelled ramCache and API changes accordingly.
API
var router = dolman.router([
  // Use `httpCache`. Setting a string value equals setting `Cache-Control` header manually.
  {
    url: '/foo',
    httpCache: 'public, max-age=3600, s-maxage=3600'
  }

  // Setting using an object, where key is the time unit and value is the corresponding value.
  // Accept `seconds` up to `weeks`. Doesn't combine values. If several values are given,
  // only the last one is taken into account.
  {
    url: '/bar',
    httpCache: {minutes: 30}
  },
  {
    url: '/baz',
    ramCache: 'foobarbaz', // still works, mind the name change!
    httpCache: {
      hours: 1,
      minutes: 30,
      seconds: 25
    } // => useless - ultimately set to 25 seconds
  }
]);

This would force the browser to check for a 304 answer and uses its cache, is that it?

TL;DR
In essence, yes.

I wouldn't say "force". It's still up to the client to observe this header.
I'm no expert but from what I know, the Cache-Control header will "trigger" caching in the browser
(and for capable proxies along the way unless prevented by Cache-Control: private), AND
provide simple information as to how long before the cache could normally go stale.
You'd also send another tag along enabling estimation of , e.g. Last-Modified or Etag... which is what connect/express already does.
Cache-Control would most likely be the knob you'd play around the most if you wanted to get fancy-but-not-overkill with HTTP cache control on your resources (e.g. forcing cache busting on all requests on a specific resource: Cache-Control: no-cache, no-store, must-revalidate).
So this feature is merely an abstraction for conveniently setting this header in the response.

Fair enough. However, I don't feel that the ramCache key is future-proof since we envisioned to add a possibility to plug store into it etc. I guess that let it remain cache would be better for the time being.


Amazon Linux 1&2 Log4j status update

Submission Template
Please provide the following information.

Vendor Name: Amazon (AWS)
Product Name: Amazon Linux 1 & 2
Version(s) affected: None
Status:  Not Affected
Update Available:  No
Notes: Amazon Linux 1 had aws apitools which were Java based but these were deprecated in 2015 (https://forums.aws.amazon.com/thread.jspa?threadID=323611). AMIs used to inspect and verify (base spin ups) - amzn-ami-hvm-2<IP_ADDRESS>00318.1-x86_64-gp2 and amzn2-ami-kernel-5.10-hvm-2.0.20211201.0-x86_64-gp2
References: Update for Apache Log4j2 Issue (CVE-2021-44228)
Last Updated:  15th Dec 2021

For questions about choice for status, please see the information below.

Unknown - Status unknown.  Default choice.
Affected - Reported to be affected by CVE-2021-44228.
Not Affected - Reported to NOT be affected by CVE-2021-44228 and no further action necessary.
Fixed - Patch and/or mitigations available (see provided links).
Under Investigation - Vendor investigating status.

Thank you for reaching out to CISA we have updated our records.


Unable to create @ with Finnish keyboard layout

Godot version
Godot 4 alpha 14
System information
MacOS 12.1
Issue description
On Finnish keyboard layout (I believe this is true for all nordic layouts) option + 2 is needed to create @ symbol. However now it is selecting 3D viewport instead - meaning you can't type @ in a script.
Steps to reproduce
Set keyboard type to Finnish. Try to use option + 2 to make @ symbol in a script.
Minimal reproduction project
No response

Duplicate of https://github.com/godotengine/godot/issues/61468.


refactor(client)!: Remove request wrappers - KvClient::compact

Depends-On: #912
Please briefly answer these questions:

what problem are you trying to solve? (or if there's no problem, what's the motivation for this change?)

what changes does this pull request make?

are there any non-obvious implications of these changes? (does it break compatibility with previous versions, etc)

wait for #912


Urgent Help: Unable to link Jupyter Notebook to Julia

Hello,
I am using Julia for the first time. I downloaded Julia and tried to attach jupyter notebook to it. But I am getting an error as shown below:
julia> notebook()
install Jupyter via Conda, y/n? [y]: y
[ Info: Downloading miniconda installer ...
ERROR: failed process: Process('C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' -Version 3 -NoProfile -Command "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12; (New-Object System.Net.Webclient).DownloadFile('https://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86_64.exe', 'C:\Users\Admin\.julia\conda\3\installer.exe')", ProcessExited(3221225477)) [3221225477]
Please help me in resolving the issue.

Looks like you are using an ancient version of Windows and may need their "easy fix", see https://julialang.org/downloads/platform/#windows_7_windows_server_2012_installation_notes.

Looks like you are using an ancient version of Windows and may need their "easy fix", see https://julialang.org/downloads/platform/#windows_7_windows_server_2012_installation_notes.

This can be closed.


Typo "Azure Pipeline"→"Azure Pipelines"

https://docs.microsoft.com/en-us/azure/devops/pipelines/release/?view=azure-devops
#PingMSFTDocs

@hyoshioka0128 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good; merging. Thanks.


BottomNavigationBar elevation

I try to create a transparent BottomNavigationBar that has the same color as entire page. But navigation bar has non-switchable shadow effect. In sources I see that navigation bar layout has elevation is setted 8.0. Can you add constructor argument to change elevation value?

That's a reasonable request, will do.


fix a little copy&paste error

In deviceInformation there was device.model two times instead of device.deviceType

@cla-bot check


Help, cannot figure out how to customize Easy rating

I'm trying to replicate the spacing intervals on the Anki FSRS with py fsrs and cannot figure this out. I made a simple Python code that loops through a list of ratings and automatically sets the next review date as the recommended due date.
import fsrs
import datetime as dt

f = fsrs.FSRS()
card = fsrs.Card()
date = dt.datetime.now()

ratings = [3, 3, 3]

for rating in ratings:
    card_schedules = f.repeat(card, date)
    card = card_schedules[rating].card

    print(f"Lapse: {card.lapses}\nRating: {rating}\nStability: {card.stability}\nDate reviewed: {date}\nDays between: {card.due - date}\nDue Date: {card.due}\n\n\n")

    date = card.due  # next date reviewed is due date

I've been working on trying to replicate the Anki FSRS into Python for the past 3-4 days. Today I realized the Anki FSRS Visualizer shows reviews, so it ignores the initial dates. So I edited the fsrs.py code to have my own initial dates.
if card.state == State.New:
    self.init_ds(s)

    s.again.due = now + timedelta(minutes=1)
    s.hard.due = now + timedelta(hours=12)
    s.good.due = now + timedelta(days=1)
    # easy_interval = self.next_interval(s.easy.stability)
    # s.easy.scheduled_days = easy_interval
    s.easy.due = now + timedelta(days=2)

This works fine for Good.
Lapse: 0
Rating: 3
Stability: 7.0
Date reviewed: 2024-05-23 16:50:43.177066
Days between: 1 day, 0:00:00
Due Date: 2024-05-24 16:50:43.177066

Lapse: 0
Rating: 3
Stability: 7.0
Date reviewed: 2024-05-24 16:50:43.177066
Days between: 7 days, 0:00:00 ⬅
Due Date: 2024-05-31 16:50:43.177066

Lapse: 0
Rating: 3
Stability: 18.200353648176815
Date reviewed: 2024-05-31 16:50:43.177066
Days between: 18 days, 0:00:00 ⬅
Due Date: 2024-06-18 16:50:43.177066

After initialization, the intervals match up.

This works fine for Hard (okay nvm looking at it now it does not).
Lapse: 0
Rating: 2
Stability: 3.0
Date reviewed: 2024-05-23 16:52:57.263225
Days between: 12:00:00
Due Date: 2024-05-24 04:52:57.263225

Lapse: 0
Rating: 2
Stability: 3.0
Date reviewed: 2024-05-24 04:52:57.263225
Days between: 1 day, 0:00:00 ⬅
Due Date: 2024-05-25 04:52:57.263225

Lapse: 0
Rating: 2
Stability: 3.0
Date reviewed: 2024-05-25 04:52:57.263225
Days between: 1 day, 0:00:00 ⬅
Due Date: 2024-05-26 04:52:57.263225

Then it breaks completely for Easy.
Lapse: 0
Rating: 4
Stability: 9.0
Date reviewed: 2024-05-23 16:55:42.639656
Days between: 2 days, 0:00:00
Due Date: 2024-05-25 16:55:42.639656

Lapse: 0
Rating: 4
Stability: 20.912799345272045
Date reviewed: 2024-05-25 16:55:42.639656
Days between: 21 days, 0:00:00 ⬅
Due Date: 2024-06-15 16:55:42.639656

Lapse: 0
Rating: 4
Stability:<PHONE_NUMBER>295799
Date reviewed: 2024-06-15 16:55:42.639656
Days between: 137 days, 0:00:00 ⬅
Due Date: 2024-10-30 16:55:42.639656

My main question is, what does the Anki FSRS represent initially? Because the input is called "Reviews." So I'm unsure how the Python FSRS deals with the initial Rating. That's by far the most confusing thing to me.
The other thing is, how is Easy being treated differently? Because the stability is duplicated for Good.
Lapse: 0
Rating: 3
Stability: 7.0 ⬅
Date reviewed: 2024-05-23 16:55:36.644540
Days between: 1 day, 0:00:00
Due Date: 2024-05-24 16:55:36.644540

Lapse: 0
Rating: 4
Stability: 7.0⬅
Date reviewed: 2024-05-24 16:55:36.644540
Days between: 8 days, 0:00:00
Due Date: 2024-06-01 16:55:36.644540

But it is not for Easy.
Lapse: 0
Rating: 4
Stability: 9.0 ⬅
Date reviewed: 2024-05-23 16:55:42.639656
Days between: 2 days, 0:00:00
Due Date: 2024-05-25 16:55:42.639656

Lapse: 0
Rating: 4
Stability: 20.912799345272045 ⬅ (different)
Date reviewed: 2024-05-25 16:55:42.639656
Days between: 21 days, 0:00:00
Due Date: 2024-06-15 16:55:42.639656

Lapse: 0
Rating: 4
Stability:<PHONE_NUMBER>295799
Date reviewed: 2024-06-15 16:55:42.639656
Days between: 137 days, 0:00:00
Due Date: 2024-10-30 16:55:42.639656

I would really like some help here, please. I've been trying to use this py FSRS for the past 3-4 days and cannot figure it out. Maybe another solution is to directly take the data from the Anki FSRS if possible. Maybe I can simulate the FSRS somehow.
Any help would be appreciated. I'm completely lost!

This repository ignores Learning card state. So, in ts-fsrs mode I had to replace the state and due date of the card with some simple calculations. You can see them here:
https://github.com/open-spaced-repetition/anki_fsrs_visualizer/blob/b4aca4fe02c16ca7166ee6b0ffc446fdd7090f82/src/tsFsrsCalculator.ts#L43
But the Easy state doesn't use the Learning state, so I'm not really sure what you're looking for.

I believe it would have been more appropriate to create the issue in the py-fsrs GitHub as my problems are more related to there.
Regarding your post, you mention that Easy does not use the Learning state, but I'm confused because isn't it used here on line 43?
https://github.com/open-spaced-repetition/py-fsrs/blob/5d36ec32bcac350b489b78dd6c20b26a38582d09/src/fsrs/fsrs.py#L40-L43
Also, I'm unsure what ts-fsrs is, a quick explanation would be appreciated.
I'll be more precise with my previous questions, information on these would seriously help me out:

Does the FSRS Anki assume New state? When I look at the FSRS Anki, the input box to place repetitions is called "Reviews". I assume that means that if I were to input 234, that 2 is in the Learning state and not New.
Does hard-coding the initial time intervals for New cards in fsrs.py break the algorithm or cause any inconsistencies between FSRS Anki and py-fsrs?
For example, before:
https://github.com/open-spaced-repetition/py-fsrs/blob/5d36ec32bcac350b489b78dd6c20b26a38582d09/src/fsrs/fsrs.py#L35-L39

after my custom intervals:
s.hard.due = now + timedelta(hours=12)
s.good.due = now + timedelta(days=1)
# easy_interval = self.next_interval(s.easy.stability)
# s.easy.scheduled_days = easy_interval
s.easy.due = now + timedelta(days=2)

Is there any Python code you made that I can use that shows exactly how to replicate the results in Anki FSRS with py-fsrs? I'm not sure what else to do here because I feel I tried everything. I thought once I placed the parameters for w it would work but I seriously cannot seem to find how both Anki FSRS and py-fsrs relate.

Thank you so much for your help and information.

Here is the simple Python code that repeats the behavour of this repository:
from datetime import datetime, timedelta, timezone

from fsrs import *

reviews = [[3, 3, 3, 3],
           [3, 3, 3, 2],
           [3, 3, 3, 1],
           [2, 3, 3, 3],
           [1, 3, 3, 3],
           [4, 3, 3, 1]]

for review in reviews:
    print(review)

    f = FSRS()
    f.p.w = (0.5701, 1.4436, 4.1386, 10.9355, 5.1443, 1.2006, 0.8627, 0.0362,
             1.6290, 0.1342, 1.0166, 2.1174, 0.0839, 0.3204, 1.4676, 0.2190, 2.8237)

    card = Card()
    card.due = datetime.now(timezone.utc)

    for grade in review:
        scheduling_cards = f.repeat(card, card.due)
        card = scheduling_cards[grade].card

        if (card.state != State.Review):
            card.state = State.Review
            interval = f.next_interval(card.stability)
            card.due = card.due + timedelta(days=interval)

        print(f"{card.stability:.2f}")

You should pass real review date into the second parameter of f.repeat method.

I am happy to say everything works exactly how what I want. Thank you so much! The system I made using fsrs is a dream. Thank you!!


Columns Glitch on Search Page

When using this plugin, custom columns are displayed on the search page, but the headings are not added correctly, resulting in a malformed site structure. The same issue occurs in the global inbox (essentially wherever tickets from multiple mailboxes are displayed together).

I propose that custom columns should not be shown on the search and global mailbox pages.

Thanks for the report. I can confirm the issue on the search page.
I'm happy for fixes or code suggestions as I'm currently not working on the project.


3.0.1 not published in npm

Looks like version 3.0.1 wasn't published in npm.
Could you publish that version? Is version 3.0.0 safe to use?
Thanks.

Done


Enhance API Key Security

The current implementation exposes the Superhero API key  directly in the client-side JavaScript code. It's not recommended to expose your API keys in client-side code as it can be accessed by anyone. Consider moving it to a server-side environment or using environment variables.
Impact
Exposing the API key presents a security risk for potential misuse of the key if discovered. It's a best practice to avoid embedding secrets in client-side code.
Moving the key to a server-side env var or secrets service will improve security and prevent leakage of the key.

Hi, please assign me this issue. I would like to work on it.

You can work on this issue @animeshchaudhri

I have fixed the issue by proving a placeholder for it and added comments to JavaScript code for better readability.

Hey @animeshchaudhri
I don't think we need a .env file to store our project's API key. Our API key is quite simple, and adding a .env file might make it harder for beginners to understand and work on the project.


feature request: retry

AWS retries failed invocations for 24-48 hours i believe (however long the stream retains records), though idk with what kind of backoff algorithm. Is this something you're planning to add?

The current implementation is very hard to simulate this behavior due to pubsub model provided by the 3rd party lib
I will consider to overwrite this in future. At the mean time, PR is welcome.


Blueprint file fails to validate

Similar to #140, I'm running into an issue where Buildasaur 0.6 fails to validate the blueprint file. I've confirmed that a blueprint file exists in the .xcworkspace/xcshareddata directory. I've also added the old xccheckout file as well.
The only thing that's different in this project that I can tell from the other projects I have is that there are two repos listed in the blueprint and the checkout file. I don't know why, and I don't know how to tell Xcode to ignore the irrelevant one. (if you have any tips, that would be great).

Hello @grantjk are you using two remotes?

Not according to .git/config. Not sure why Xcode things there's 2

Hmmm can you post the blueprint? If you view the remotes in Xcode does it display two of them?

@grantjk This shouldn't be a problem, because the way Buildasaur parses the files is that it only picks the primary remote anyway. How does it fail? When adding the project does Buildasaur reject it?

It fails here when I try to add the workspace file

I created a bot through Xcoce already and it runs fine

One question - can you make sure that the blueprint/checkout files are in the workspace, if you're adding the workspace to Buildasaur, or in the project if you're adding the project? It only looks inside the file you give it: project vs workspace. That might be the reason why you have the required files, just in the other project/workspace file.

Definitely in the workspace:
~/path-to-proj/ProjectName.xcworkspace/xcshareddata$ lsa
total 24
drwxr-xr-x  5 twg  staff   170B 14 Oct 08:43 .
drwxr-xr-x  5 twg  staff   170B 13 Oct 22:08 ..
-rw-r--r--  1 twg  staff   1.9K 14 Oct 08:43 ProjectName.xccheckout
-rw-r--r--  1 twg  staff   1.1K 13 Oct 22:42 ProjectName.xcscmblueprint
-rw-r--r--  1 twg  staff   264B 13 Oct 22:03 WorkspaceSettings.xcsettings

Here's the (obfuscated) blueprint file:
{
  "DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "token",
  "DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : {
  },
  "DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : {
    "token" : 0,
  },
  "DVTSourceControlWorkspaceBlueprintIdentifierKey" : "identifier",
  "DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : {
    "token" : "repo-name"
  },
  "DVTSourceControlWorkspaceBlueprintNameKey" : "ProjectName",
  "DVTSourceControlWorkspaceBlueprintVersion" : 204,
  "DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "ProjectName.xcworkspace",
  "DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [
    {
      "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "ssh:\/\/github.com\/repo",
      "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
      "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "identifier"
    }
  ]
}

Hmm if you have Buildasaur running in the debugger, please try to see exactly what is failing, it might be actually failing to parse the file (but it's finding it).
For one thing, I don't think DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey should start with ssh. Buildasaur's SSH URL is github.com:czechboy0/Buildasaur.git, for instance.

@czechboy0 That was it. Not sure why Xcode would have generated the url that way...
:shrug:

So it works? :+1:

Yup. Works now. The error was parsing that url: here
Again, not sure why Xcode things that's the url...

Yeah I've never seen that either. Well, glad it works! (Make sure to commit the blueprint in your repo if you haven't already.)


Remove KSP and use new transform in sample

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#141
#140  👈
#139
#123 : 2 other dependent PRs (#124 , #137 )
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @rbro112 and the rest of your teammates on  Graphite


api: signals connected to an app

Signed-off-by: Harris Tzovanakis<EMAIL_ADDRESS>

Is it any reason we include SQLAlchemy-Continuum in the install_requirements since we  required invenio-db[versioning] which includes SQLAlchemy-Continuum cc @lnielsen

ping @switowski

LGTM, let's waffle it!


Worker does not logging

Hi, I've configured a worker with Sneakers pointing to master branch.
Gemfile
source "https://rubygems.org"

gem 'pry-meta'
gem 'pry-remote'
gem 'sneakers', git: "git://github.com/jondot/sneakers.git", branch: "master"
gem 'json'
gem 'bson'
gem 'redis'

Here is my boot and my processor files:
boot.rb
require './processor'
require 'pry'
require 'pry-remote'
require 'bson'
require 'sneakers/metrics/logging_metrics'
Sneakers.configure :metrics => Sneakers::Metrics::LoggingMetrics.new

processor.rb
require 'sneakers'
require 'redis'
require 'json'

class Processor
  include Sneakers::Worker
  from_queue :logs,
    #logger: Logger.new(STDOUT),
    threads: 1

  def work(msg)
    logger.info msg
    ack!
  end
end

When I start my worker:  sneakers work Processor --require boot.rb. It stops logging on configuration:
2015-07-14T22:41:08Z p-68589 t-ovfzgnftw WARN: Loading runner configuration...
2015-07-14T22:41:08Z p-68589 t-ovfzgnftw INFO: New configuration: #<Sneakers::Configuration:0x007fa3c9bf9360 @hash={:runner_config_file=>nil, :metrics=>#<Sneakers::Metrics::LoggingMetrics:0x007fa3c9c22698>, :daemonize=>false, :start_worker_delay=>0.2, :workers=>4, :pid_path=>"sneakers.pid", :timeout_job_after=>5, :prefetch=>10, :threads=>10, :durable=>true, :ack=>true, :heartbeat=>2, :exchange=>"sneakers", :exchange_type=>:direct, :exchange_arguments=>{}, :hooks=>{}, :amqp=>"amqp://guest:guest@localhost:5672", :vhost=>"/", :handler=>Sneakers::Handlers::Oneshot, :logger=>#<ServerEngine::DaemonLogger:0x007fa3c9c22490 @rotate_age=5, @rotate_size=1048576, @logdev_class=Logger::LogDevice, @progname=nil, @level=0, @default_formatter=#<Logger::Formatter:0x007fa3c9c223c8 @datetime_format=nil>, @formatter=Sneakers::Support::ProductionFormatter, @logdev=#<IO:<STDOUT>>>, :worker_type=>"process", :worker_classes=>[Processor]}>
2015-07-14T22:41:08Z p-68589 t-ovfzgnftw WARN: Loading runner configuration...
2015-07-14T22:41:08Z p-68589 t-ovfzgnftw INFO: New configuration: #<Sneakers::Configuration:0x007fa3ca14b750 @hash={:runner_config_file=>nil, :metrics=>#<Sneakers::Metrics::LoggingMetrics:0x007fa3c9c22698>, :daemonize=>false, :start_worker_delay=>0.2, :workers=>4, :pid_path=>"sneakers.pid", :timeout_job_after=>5, :prefetch=>10, :threads=>10, :durable=>true, :ack=>true, :heartbeat=>2, :exchange=>"sneakers", :exchange_type=>:direct, :exchange_arguments=>{}, :hooks=>{}, :amqp=>"amqp://guest:guest@localhost:5672", :vhost=>"/", :handler=>Sneakers::Handlers::Oneshot, :logger=>#<ServerEngine::DaemonLogger:0x007fa3c9c22490 @rotate_age=5, @rotate_size=1048576, @logdev_class=Logger::LogDevice, @progname=nil, @level=0, @default_formatter=#<Logger::Formatter:0x007fa3c9c223c8 @datetime_format=nil>, @formatter=Sneakers::Support::ProductionFormatter, @logdev=#<IO:<STDOUT>>>, :worker_type=>"process", :worker_classes=>[Processor]}>
2015-07-14T22:41:08Z p-68589 t-ovfzgnftw WARN: Loading runner configuration...
2015-07-14T22:41:08Z p-68589 t-ovfzgnftw INFO: New configuration: #<Sneakers::Configuration:0x007fa3ca1488c0 @hash={:runner_config_file=>nil, :metrics=>#<Sneakers::Metrics::LoggingMetrics:0x007fa3c9c22698>, :daemonize=>false, :start_worker_delay=>0.2, :workers=>4, :pid_path=>"sneakers.pid", :timeout_job_after=>5, :prefetch=>10, :threads=>10, :durable=>true, :ack=>true, :heartbeat=>2, :exchange=>"sneakers", :exchange_type=>:direct, :exchange_arguments=>{}, :hooks=>{}, :amqp=>"amqp://guest:guest@localhost:5672", :vhost=>"/", :handler=>Sneakers::Handlers::Oneshot, :logger=>#<ServerEngine::DaemonLogger:0x007fa3c9c22490 @rotate_age=5, @rotate_size=1048576, @logdev_class=Logger::LogDevice, @progname=nil, @level=0, @default_formatter=#<Logger::Formatter:0x007fa3c9c223c8 @datetime_format=nil>, @formatter=Sneakers::Support::ProductionFormatter, @logdev=#<IO:<STDOUT>>>, :worker_type=>"process", :worker_classes=>[Processor]}>

but the worker works. It sends the ack to the Rabbit. The only problem is the log. I tried to configure the worker with logger: Logger.new(STDOUT) but haven't worked.
When I use the last stable (1.0.4), it works well (with the heartbeat log too).

Thanks so much :smile:
:beers:

@duduribeiro try changing the log level in your Sneakers initializer:
Sneakers.logger.level = Logger::INFO

Niiiice =D..
Thanks so much @lukaszkorecki, I didn't find this configuration on the Wiki.. Now I searched, and found on How-to:-running-a-stand-alone-worker topic of the wiki.
Can I create a section to enable the logger on Configuration topic?
Thanks so much :beers:


intel: Update to reflect that we have bootable images created

Please only merge this once 12159 has been merged into master.  Thanks!
Bug-AGL: SPEC-963

OK, I've pushed a v2 of the original doc update.  It no longer removes the sections about mkefi-agl.sh and references that as an option that is needed in some cases.

Tom, 12159 was merged. Based on your new comment should this still be merged or should it be abandoned?

Let get it merge as it is in V2.
After CES, I will need to review it and make clear that dd or bmap tools should only be used by developer or people using a Minnow board. Those using an up2 or an MRB will better with the script.
BUt until CES, V2 will do.
Dominig


Potential optimization in checker board break-up

Static type of Eigen matrix class (Eigen::Matrix4d) should be replaced with dynamical ones (Eigen::MatrixXd) to obtain acceleration by linking eigen to mkl.
More tests are needed.

it seems like no accelaration can be achieved by doing so ...


test github

I am a newbie, i test github by add Test_github.txt

Hi, Closing this PR as this is not adding any value to the Keras.


Ability to add comments to yaml

I don't know if this already a feature or not but it would be useful to add comments to the output yaml string.
I have no idea how this could be implemented in dict -> yaml but probably there could be a method that adds a comment next to a value specified on it. On class -> yaml this could be done by reading the class doc attribute and parse it into comments, or still having the function mentioned above.
I don't really have a direct idea on how this could be implemented if not yet available but it would be an useful feature when generating an yaml file based on a class

Something like this might become possible if #131 is implemented.
Closing as it's already on the radar.

Something like this might become possible if #131 is implemented. Closing as it's already on the radar.

Haven't use the library for a long time. Any updates on this?

We are working towards the ability to add metadata to structured config fields via #131. Thus dataclasses / attr classes will be able to have e.g. a description or comment or help data.
As for yaml files specifically, there are no plans to add support for comments. Yaml comments would not be round-trippable OmegaConf -> Yaml -> OmegaConf since, according the YAML spec, comments "are a presentation detail and must not have any effect on the serialization tree or representation graph."


Why is the Cinder CSI Controller Plugin a Statefulset?

/kind question
Why is the CSI controller plugin for cinder deployed as a statefulset and not as deployment [0]? Is there a reason for that?
Regards,
Andreas
[0] https://github.com/kubernetes/cloud-provider-openstack/blob/master/manifests/cinder-csi-plugin/cinder-csi-controllerplugin.yaml

@afritzler  you can use deployment also https://github.com/kubernetes/community/blob/master/contributors/design-proposals/storage/container-storage-interface.md#cluster-level-deployment

Thanks @adisky!


Clean Code

Right now a separate html file has been created for each CSE section.

[ ] Come up with a way to isolate timetable data from the page data.
[ ] Use only one page for every section.
[ ] Dynamically update the timetable data according to user's section preference.

I am Interested to work
@Abhinav-ark

@Abhinav-ark
I am interested

I am Interested to work @Abhinav-ark

Hi leela, I've assigned the Issue to you. You have time till 2nd January to come up with a partially completed pull request. After which the Issue will get reassigned, if there's no progress.

@Abhinav-ark I am interested

Sorry @punithsai18, The issue is assigned to @Leela0o5 on first come first serve basis.


Relax what HTTP status code we accept when the definition doesn't spe…

…cify it.
A fix for https://github.com/rusoto/rusoto/issues/893 . Some work to go still due to compilation warnings, but it appears to work.
Test case (cargo test --features lambda -- --nocapture):
#[test]
fn should_run_function() {
    let client = LambdaClient::simple(Region::UsWest2);
    let request = InvocationRequest {
        function_name: "rusototest".to_owned(),
        invocation_type: Some("Event".to_owned()),
        ..Default::default()
    };

    let result = client.invoke(&request).sync().unwrap();
    println!("{:#?}", result);
}

master:
thread 'should_run_function' panicked at 'called `Result::unwrap()` on an `Err` value: Unknown("")', src/libcore/result.rs:906:4
note: Run with `RUST_BACKTRACE=1` for a backtrace.

This branch:
InvocationResponse {
    executed_version: None,
    function_error: None,
    log_result: None,
    payload: Some(
        []
    ),
    status_code: Some(
        202
    )
}

I can confirm now the bug is fixed.

🎉 !
Anything you'd like called out in migration notes? https://github.com/rusoto/rusoto/issues/930 is where we're capturing what we should document for users going from 0.31 to async Rusoto at >0.32.0.

Actually I just every sync temporarily, i.e. calling wait at every site. I'll fully migrate my application to tokio maybe sometime later.


Add Zoë to the org

Hello, I’d like to be added to the org.
Name: Zoë Bijl
Function: Falcon Accessibility Lead
Email: zoe.bijl

Verified on internal slack. Welcome, @ZoeBijl! 👋
Added you to the CrowdStrike GitHub org. Many projects have their own repo-level permissions, e.g. for merge access, which means you might need to ping your repo-level collaborators for further accesses.


Add images to event list

Adds images to the placeholder boxes on event list EventCard component
Pre-flight check-list
Before raising a pull request

Documentation
[x] Unit tests

Pre-merge check-list

Tester approved

Looks good. Just need to update the snapshot tests, I think.

Oops. Thanks.


"Vorona" is listed in the drop-down menu

Description:
"Vorona" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Vorona" in the search bar.

Expected results
The location is listed in the drop-down menu as "Vorona, Botoșani".


Confused about pypi library

I stumbled upon some repositories that use the following Pypi repo:
https://pypi.org/project/stable-diffusion-sdkit/
When checking out the links, it links to this repository.
The owner is cmdr2, the user exists in GitHub and has similar-sounding repositories, but those are not it.
Cmdr2 also pushes to another repo https://github.com/easydiffusion/sdkit, which uses the stable-diffusion-sdkit.
I would love some clarity on where does this library actually come from. I tried searching GitHub for an answer but came up short. The library does not seem malicious (I checked the code and virus total), but still field weird.

Thanks for clarification, I will be closing the issue.


Addeed JS to application

This PR added JS code we need for the prework study guide application

This PR added JS code and functionality to the prework study guide application.


[DO NOT MERGE] Remove constraint around local restrictions

⛔ DO NOT MERGE! ⛔
Trello: https://trello.com/c/UDdYKNd9
We added a constraint around local restrictions so that we could deploy the bulk
of the code, but prevent people from looking up the guidance prematurely.
The lookup is almost ready to be turned on, so we can remove these constraints.
:warning: This application is Continuously Deployed: :warning:

Merged changes are automatically deployed to staging and production.

Make sure you follow the guidance for deployments before you merge.

Check your branch is being deployed in the Release app, after merging.

Do we still need the error_404 in the CoronavirusRestrictionsController? https://github.com/alphagov/collections/blob/5feda9d458d6d362d1d6d1b37bc92437930452db/app/controllers/coronavirus_local_restrictions_controller.rb#L76

Do we still need the error_404 in the CoronavirusRestrictionsController?
https://github.com/alphagov/collections/blob/5feda9d458d6d362d1d6d1b37bc92437930452db/app/controllers/coronavirus_local_restrictions_controller.rb#L76

No, we don't. Good spot!