cross testing on celeb-DF

Hello,
First, thank you for your excellent work; I am testing your model using by Celeb-DF dataset.
I used your provided model (FF++ c40) to test on celeb-DF.
I cropped the celeb-DF dataset using code #1 and then used your data loader and test.py script for testing.
However, the results I am getting are different from the paper.

Can you advise me if there is something wrong?
Thank you for your help, and waiting for your answer

Hi,
I just tested the provided FF++ c40 model on Celeb-DF and the results are
Test 314/314: : 314it [03:30,  1.49it/s]
Test, FINAL LOSS 0.8964, FINAL ACC 0.6793, FINAL AUC 0.6871
# EER: 0.3575(thresh: 0.9161)

There are several reasons that may cause the difference:

please make sure that you are using Celeb-DF v2 dataset published at CVPR 2020,
the hyperparameters used during pre-preprocessing. Unfortunately, I am not able to retrieve the specific parameter settings for pre-processing because it's been too long since the preprocessing task. However, the following information may be helpful. The test split of Celeb-DF we used contains 7,114 real frames and 12,939 fake frames. You may adjust the frame interval during pre-processing.
the platform and the pytorch version. Our code is tested on 2080Ti with pytorch 1.7.1.

Hello,
Thanks for your response. Could you please explain what you mean by specific parameter settings for preprocessing? I am using the code provided in #1 for the preprocessing. Do we need to apply another kind of preprocessing? Is the preprocessing the same for all datasets?
thank you in advance for your help

Hi,
I mean the hyperparameter --frame_interval in #1. We use the same preprocessing code to detect and crop facial images for the video-based datasets. However, the frame interval is set differently since these datasets vary in size.
If you need our preprocessed Celeb-DF dataset, you may access it through this link (Please note that this link is temporary since I do not have enough sharing space and may delete these files for space in the future).

Hello,
Thank you very much, and I appreciate your responsiveness. As I am new to deepfake detection, your answers greatly help me.
I changed the interval, and below are the results:

So I get the accuracy you have in the paper. However, I wonder how different methods are compared with each other in your paper. Did you retest other methods with your preprocessed dataset or the values are just taken from the papers?
BR,
Sahar

Hi,
For intra-testing, the results of other methods are taken from their papers if available, following the common practice of prior arts. However, some methods do not include the results on several datasets (e.g., DFDC). In this case, we re-implement some representative approaches according to their open-source repos or papers, and then run the experiments using our preprocessed data for comparison.
For cross-testing, since different methods may use different training sets (e.g., raw, c23, or c40 of FF++) in their original papers, basically we compare our method with the re-implemented approaches using our preprocessed data for a fair comparison.
Best wishes

Thank you

Hi @XJay18 @SaharHusseinim . Thanks for the enlightening discussion that you recently facilitated. It was indeed highly beneficial, and I garnered much from it.
In the course of the discussion, the previously shared link for the preprocessed Celeb-DF dataset was made. However, I have encountered a challenge with accessing this dataset as the link previously shared seems to have become invalid.
Consequently, I was wondering if it would be possible for you to re-share the link to the preprocessed Celeb-DF dataset @XJay18 . Or for @SaharHusseini ,  if you have the received contents readily available, I would greatly appreciate it if you could share them with me.
Your assistance in this matter will be highly beneficial to my ongoing research efforts. Thank you in advance for your kind consideration and help.

Hello,
Thank you very much, and I appreciate your responsiveness. As I am new to deepfake detection, your answers greatly help me.
I changed the interval, and below are the results:
So I get the accuracy you have in the paper. However, I wonder how different methods are compared with each other in your paper. Did you retest other methods with your preprocessed dataset or the values are just taken from the papers?
BR, Sahar

Hi,
I recently had a problem with this part when testing the celeb-df dataset. The preprocessed Celeb-DF dataset shared by the author before has expired. Can you share the one you received? My email is<EMAIL_ADDRESS>Best regards

Hello,
Thank you very much, and I appreciate your responsiveness. As I am new to deepfake detection, your answers greatly help me.
I changed the interval, and below are the results:
So I get the accuracy you have in the paper. However, I wonder how different methods are compared with each other in your paper. Did you retest other methods with your preprocessed dataset or the values are just taken from the papers?
BR, Sahar

Hi,
I recently had a problem with this part when testing the celeb-df dataset. The preprocessed Celeb-DF dataset shared by the author before has expired. Can you share the one you received? My email is<EMAIL_ADDRESS>Best regards

Hello,
Thank you very much, and I appreciate your responsiveness. As I am new to deepfake detection, your answers greatly help me.
I changed the interval, and below are the results:
So I get the accuracy you have in the paper. However, I wonder how different methods are compared with each other in your paper. Did you retest other methods with your preprocessed dataset or the values are just taken from the papers?
BR, Sahar

Hi,
I recently had a problem with this part when testing the celeb-df dataset. The preprocessed Celeb-DF dataset shared by the author before has expired. Can you share the one you received? My email is<EMAIL_ADDRESS>Best regards


Fix kubeadm lb

https://kubernetes.io/docs/setup/independent/high-availability/#set-up-the-first-control-plane-node

ci check this


Build fails with "Module not found" errors when using fumadocs in edge computing environment

To Reproduce

Install the latest version of fumadocs
Set up a Next.js project with fumadocs
Run next dev - this works without issues
Run next build - this fails with module not found errors

Current vs. Expected behavior
Current behavior:
When running next build, the process fails with multiple "Module not found" errors, specifically for 'path' and 'fs' modules. This seems to be related to incompatibility with edge computing platforms.
Expected behavior:
The build process should complete successfully, allowing the application to be deployed on edge computing platforms.
Provide environment information
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 23.4.0: Fri Mar 15 00:19:22 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T8112
  Available memory (MB): 16384
  Available CPU cores: 8
Binaries:
  Node: 20.15.1
  npm: 10.7.0
  Yarn: N/A
  pnpm: 8.6.12
Relevant Packages:
  next: 14.2.4 // There is a newer version (14.2.15) available, upgrade recommended!
  eslint-config-next: 14.2.5
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 5.5.3

Which area(s) are affected? (Select all that apply)
Core, Integrations (e.g OpenAPI, Typescript DocsGen)
Additional context
The error seems to be related to packages that are trying to use Node.js specific modules like 'path' and 'fs', which are not available in edge computing environments. The specific packages causing issues are:

@apidevtools/json-schema-ref-parser
image-size
fumadocs-core

The full error message includes:
../../node_modules/.pnpm/@apidevtools+json-schema-ref-parser@11.7.0/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/convert-path-to-posix.js:7:1
Module not found: Can't resolve 'path'

../../node_modules/.pnpm/@apidevtools+json-schema-ref-parser@11.7.0/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/url.js:44:1
Module not found: Can't resolve 'path'

../../node_modules/.pnpm/image-size@1.1.1/node_modules/image-size/dist/index.js:4:1
Module not found: Can't resolve 'fs'

../../node_modules/.pnpm/image-size@1.1.1/node_modules/image-size/dist/index.js:5:1
Module not found: Can't resolve 'path'

../../node_modules/.pnpm/image-size@1.1.1/node_modules/image-size/dist/types/tiff.js:6:1
Module not found: Can't resolve 'fs'

Fumadocs isn’t supposed to work on edge runtime


Implement both Default/Desktop and Mobile device types

Hello, I was wondering if you know how to implement the Embedding API v3 with the possibility to use both the Default or Desktop device setting together with the Mobile option. It seems the v2 and v3 only allow to choose one of them, while the v1 from the 'share' dialog works for any device it is previously set.
Thanks!

Hi @paarriagadap - Thank you for opening this issue. Do you mind clarifying what you mean by using both the default or desktop device setting together with the mobile option? What are you trying to achieve?

Hi! I'm trying to embed Tableau visualizations in a website, and show the Mobile design when using a mobile phone and the Desktop design when using a desktop device. It seems it's not possible with the API, as I'm forced to select only one of them. It is not the case with the embed code available at Tableau Public, for instance. With the Mobile/Desktop design I mean the layouts described here.

Hi @paarriagadap - Do you have repro of the issue you are seeing in v3?

It can be seen when opening the html files after download


queryparser: added safelisting of terms

closes https://github.com/inveniosoftware/invenio-records-resources/issues/447

I can fix tests when this is accepted, since now it's a "WIP" I will not fix them and focus on other tasks.

Needs updating (ref search)

https://github.com/inveniosoftware/docs-invenio-rdm/blob/63923ea359ad4ab41bc37440098d59d0fe494d26/docs/develop/howtos/search_terms_migration.md?plain=1#L23
https://github.com/inveniosoftware/invenio-users-resources/blob/10d739c945e371366026d6f0156566c87cfb5f1f/invenio_users_resources/services/groups/config.py#L38 <- Not sure about this one


better code: using _() in a template instead of trans

_() in templates is documented at least since django 1.4. I'm wondering
why it's not more emphasised in django doc. Give it a try.

Coverage remained the same at 94.444% when pulling ba1cbb7f7815c1723a0abeec7b76b41f23debebd on ollb:bugfix/escapejs_page_tree_base_html into f8e46853a966c8cbafaac1e2a5f39606a80b2f1e on divio:develop.

Coverage remained the same at 94.444% when pulling ba1cbb7f7815c1723a0abeec7b76b41f23debebd on ollb:bugfix/escapejs_page_tree_base_html into f8e46853a966c8cbafaac1e2a5f39606a80b2f1e on divio:develop.

Coverage remained the same at 94.444% when pulling ba1cbb7f7815c1723a0abeec7b76b41f23debebd on ollb:bugfix/escapejs_page_tree_base_html into f8e46853a966c8cbafaac1e2a5f39606a80b2f1e on divio:develop.

Coverage remained the same at 94.444% when pulling ba1cbb7f7815c1723a0abeec7b76b41f23debebd on ollb:bugfix/escapejs_page_tree_base_html into f8e46853a966c8cbafaac1e2a5f39606a80b2f1e on divio:develop.


Remove 09 template file

This file is in lesson 8 folder while it's content is the same as lesson 9.
I think it's a template file for lesson 9 that needs to be removed to not confuse anyone.
https://github.com/microsoft/generative-ai-for-beginners/blob/main/08-building-search-applications/example.md

Thanks for reporting!


docs: add version explain

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


Update BUILD.gn

Re: https://github.com/flutter/flutter/pull/6273 - Update the Fuchsia build to reference package:mustache.
@pylaligand Please let me know if this change works for you.

Uh – doesn't this point to packages that come in as part of GN for the SDK?
The SDK repo has mustache4dart – needed for dartdoc.
Not sure how this relates here...

I think we need to run a script to get this package into the Fuchsia build
/cc @pylaligand

https://fuchsia.googlesource.com/third_party/dart-pkg/+/master/pub/
Notice that mustache4dart exists there but mustache does not.

Merged as https://github.com/flutter/flutter/commit/2c41a4000483137b83b3f05fc485bda351c942c2


gitlab data not available

(1)Problem One
I can't collect gitlab data when I run the program,No error was reported gitlab the connection, however, and it was not possible to determine whether the connection gitlab successful
application.properties
gitlab.cron=0/2 * * * * *
gitlab.host=xxx.com
gitlab.useProjectId=true
gitlab.protocol=https
gitlab.port=443
gitlab.selfSignedCertificate=false
gitlab.apiToken=xxxxxx
gitlab.commitThresholdDays=1
gitlab.key=xxx
(2)Problem two

How does this spring cloud configuration center solve .I didn't use the configuration center, but it did n' t work when I customized the port

@spennec @chtompki @yannschepens @Irvyne

gitlab service is not called, is there no call in the code

@spennec @chtompki @yannschepens @Irvyne

gitlab service is not called, is there no call in the code

2021-01-27 15:29:28,023 [taskScheduler-1] DEBUG org.mongodb.driver.protocol.query - Query completed
2021-01-27 15:29:28,023 [taskScheduler-1] INFO  c.c.d.collector.CollectorTask - Repo Count              0        0s
2021-01-27 15:29:28,023 [taskScheduler-1] INFO  c.c.d.collector.CollectorTask - New Commits             0        0s
2021-01-27 15:29:28,023 [taskScheduler-1] INFO  c.c.d.collector.CollectorTask - New Issues              0        0s
2021-01-27 15:29:28,023 [taskScheduler-1] INFO  c.c.d.collector.CollectorTask - New Pulls               0        0s
2021-01-27 15:29:28,023 [taskScheduler-1] INFO  c.c.d.collector.CollectorTask - Finished                         0s
2021-01-27 15:29:28,023 [taskScheduler-1] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'enableEncryptablePropertySourcesPostProcessor'
2021-01-27 15:29:28,023 [taskScheduler-1] DEBUG c.u.j.EnableEncryptablePropertySourcesPostProcessor - Application Event Raised: BeforeConvertEvent
2021-01-27 15:29:28,023 [taskScheduler-1] DEBUG c.u.j.EnableEncryptablePropertySourcesPostProcessor - Application Event Raised: BeforeConvertEvent
2021-01-27 15:29:28,023 [taskScheduler-1] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'enableEncryptablePropertySourcesPostProcessor'
2021-01-27 15:29:28,024 [taskScheduler-1] DEBUG c.u.j.EnableEncryptablePropertySourcesPostProcessor - Application Event Raised: BeforeSaveEvent
2021-01-27 15:29:28,024 [taskScheduler-1] DEBUG c.u.j.EnableEncryptablePropertySourcesPostProcessor - Application Event Raised: BeforeSaveEvent

2021-01-27 15:29:28,023 [taskScheduler-1] DEBUG org.mongodb.driver.protocol.query - Query completed
2021-01-27 15:29:28,023 [taskScheduler-1] INFO  c.c.d.collector.CollectorTask - Repo Count              0        0s
2021-01-27 15:29:28,023 [taskScheduler-1] INFO  c.c.d.collector.CollectorTask - New Commits             0        0s
2021-01-27 15:29:28,023 [taskScheduler-1] INFO  c.c.d.collector.CollectorTask - New Issues              0        0s
2021-01-27 15:29:28,023 [taskScheduler-1] INFO  c.c.d.collector.CollectorTask - New Pulls               0        0s
2021-01-27 15:29:28,023 [taskScheduler-1] INFO  c.c.d.collector.CollectorTask - Finished                         0s
2021-01-27 15:29:28,023 [taskScheduler-1] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'enableEncryptablePropertySourcesPostProcessor'
2021-01-27 15:29:28,023 [taskScheduler-1] DEBUG c.u.j.EnableEncryptablePropertySourcesPostProcessor - Application Event Raised: BeforeConvertEvent
2021-01-27 15:29:28,023 [taskScheduler-1] DEBUG c.u.j.EnableEncryptablePropertySourcesPostProcessor - Application Event Raised: BeforeConvertEvent
2021-01-27 15:29:28,023 [taskScheduler-1] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'enableEncryptablePropertySourcesPostProcessor'
2021-01-27 15:29:28,024 [taskScheduler-1] DEBUG c.u.j.EnableEncryptablePropertySourcesPostProcessor - Application Event Raised: BeforeSaveEvent
2021-01-27 15:29:28,024 [taskScheduler-1] DEBUG c.u.j.EnableEncryptablePropertySourcesPostProcessor - Application Event Raised: BeforeSaveEvent

@Irvyne HI
com.capitalone.dashboard.collector.GitlabGitCollectorTask #collect
for (GitlabGitRepo repo : enabledRepos(collector)) {
boolean isRepoFirstRun = isFirstRun(start, repo.getLastUpdated());
// moved last update date to collector item. This is to clean old data.
repo.removeLastUpdateDate();
xxxxxx
}
he loop in this method is not executed

@Irvyne HI
com.capitalone.dashboard.collector.GitlabGitCollectorTask #collect
for (GitlabGitRepo repo : enabledRepos(collector)) {
boolean isRepoFirstRun = isFirstRun(start, repo.getLastUpdated());
// moved last update date to collector item. This is to clean old data.
repo.removeLastUpdateDate();
xxxxxx
}
he loop in this method is not executed

Hello ,may I know if you have solved this issue now ? Since I met the same issue and have no idea how to solve it.

@Irvyne Hello ,any ideas can be suggested on this issue ?

I am having the same issue. I dont see the GitlabGitCollectorTask class the repo urls and also the above code posted is being  execute. Any help is appreciated.


Cleaning conditional directives that break statements.

A suggestion to compile entire statements and expressions, as suggested by code style guidelines from the Linux Kernel and practitioners.
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/CodingStyle#n892
https://www.cqse.eu/en/blog/living-in-the-ifdef-hell/

It might improve code understanding, maintainability and error-proneness.

I agree this helps with readability.

I agree in general but I find the proposed fix more taxing to read.


Alignment length field in the alignment result file is unrealistic

Expected Behavior
Correct alignment length field in the alignment result file
For example like this :
DRR002013.550760        GCF_001644725.1_ASM164472v1_genomic_00549       0.936   94      2       0       3       96      30      61      4.160E-15       65
DRR002013.550760        GCF_001721225.1_ASM172122v1_genomic_04257       0.926   94      2       0       3       96      30      61      7.866E-15       64
...

Current Behavior
DRR002013.550760        GCF_001644725.1_ASM164472v1_genomic_00549       0.936   94      2       0       3       96      30      61      4.160E-15       65
DRR002013.550760        GCF_001721225.1_ASM172122v1_genomic_04257       0.926   94      2       0       3       96      30      61      7.866E-15       64
DRR002013.1569295       GCF_001420935.1_ASM142093v1_genomic_01091       0.859<PHONE_NUMBER><PHONE_NUMBER>      0       82      10      242     266     9.274E-09       47
DRR002013.1569295       GCF_002057245.1_ASM205724v1_genomic_04018       1.000<PHONE_NUMBER>      0       0       57      3       1       19      5.148E-08       45
DRR002013.952557        GCF_001677775.2_ASM167777v2_genomic_02560       1.000<PHONE_NUMBER>      0       0       63      3       270     290     4.255E-10       51
DRR002013.1688478       GCF_000800675.1_ASM80067v1_genomic_03306        0.936<PHONE_NUMBER><PHONE_NUMBER>      0       98      5       17      48      4.160E-15       65
...

The output mixes realistic values like 94 and unrealistic values like<PHONE_NUMBER> very close to (2^32).
Steps to Reproduce (for bugs)
mmseqs convertalis read.db DB_clu_seq.fasta.db alnDB alnRes.tab
read.db are illumina reads created using createdb (from a FASTQ file)
DB_clu_seq.fasta.db is a protein db created using createdb (from a FASTA file)
alnDB is the result of this cmd:
mmseqs search read.db DB_clu_seq.fasta.db alnDB tmp
MMseqs Output (for bugs)
Program call:
convertalis read.db DB_clu_seq.fasta.db alnDB alnRes.tab

MMseqs Version:        	GITDIR-NOTFOUND
Sub Matrix             	blosum62.out
Alignment Format       	0
Format alignment output	query,target,pident,alnlen,mismatch,gapopen,qstart,qend,tstart,tend,evalue,bits
Translation Table      	1
Gap open cost          	11
Gap extension cost     	1
Database Output        	false
Preload mode           	0
Threads                	8
Verbosity              	3

Query Header database: read.db_h
Touch data file read.db_h ... Done.
Target database: DB_clu_seq.fasta.db
Touch data file DB_clu_seq.fasta.db_h ... Done.
Alignment database: alnDB
Start writing to alnRes.tab
...................................................................................................	1 Mio. sequences processed
...................................................................................................	2 Mio. sequences processed
.......Time for merging files: 0h 0m 0s 983ms
Time for processing: 0h 0m 4s 187ms

Context
Your Environment
Include as many relevant details about the environment you experienced the bug in.

Which MMseqs version was used: MMseqs2-7-4e23d
Which MMseqs version was used: self-compiled
For self-compiled and Homebrew: CMake 3.11.2 and gcc version 8.1.1 20180712 (Red Hat 8.1.1-5) (GCC)
Server specifications (especially CPU support for AVX2/SSE and amount of system memory): AVX2 and SSE supported
Operating system and version:  Linux - 4.17.9-200.fc28.x86_64 - x86_64

Sorry for the confusion. You have to run the search with either -a or --alignment-mode either 2 or 3 (See: https://github.com/soedinglab/MMseqs2/wiki#runtime-1).

Ok, now I understand.
Thank you !


ChangeType does not update escaped imports.

Imports still preserve the escapes on the identifiers:

Identify how imports are created.
Update the creation of imports to use Quoted to preserve escapes in a marker.

    @Test
    void changeImport() {
        rewriteRun(
          kotlin(
            """
              package a.b
              class Original
              """),
          kotlin(
            """
              import a.b.`Original`

              class A {
                  val type : Original = Original()
              }
              """,
            """
              import x.y.`Target`

              class A {
                  val type : Target = Target()
              }
              """
          )
        );
    }


Verify the worker pool doesn't collapse when things go wrong

It shouldn't cause problems because tunny appears to flag the worker as dead and moves on, however we may have to poke it a bit to make it work

It appears to be working fine and has been for over a year now.


refactor(views): Added return details to views, added status code enum, and imports

Added return details to views, added status code enum, and absolute imports
Added refactored returns in viewsadded absolute imports in all view files, and added status code enums to all responses.
Comments/issues: We talk about refactoring the detail return messages to norwegian so that frontend could actually use them,
is this what we want
#162
Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] PR name is descriptive

[ ] The PR includes the link to the relevant Trello task

[ ] Tests for the changes have been added (for bug fixes / features)

[ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)

[ ] python manage.py runserver was run locally witout errors

Pull request type
Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

And should we translate all details to Norwegian in this pr?

dont think so whe should do it a couple of files at a time

Hmm, får dette når jeg oppretter/oppdaterer events

Hvis vi skal begynne å sende responsen på norsk bør vi informere om det til hele teamet og informere om hvordan vi vil bruke meldingene. Jeg ønsker at vi skal bruke mer av django rest sine innebygde metoder, noe vi gjør allerede, og da må vi internationalize hele API-et. Det skal riktignok ifølge dokumentasjonen ikke være altfor komplisert, men det er greit å informere om likevel.
Med koden i denne PR-en vil API-et i noen tilfeller returnere en engelsk melding.


Synchronize ACLs from Confluent Cloud Cluster

What is currently missing?
It is not possible to synchronize ACLs from Confluent Cloud Clusters. That is because Confluent uses different endpoint mappings. There is also no hint in the UI that indicates the lack of Confluent ACL support.
How could this be improved?
The idea is to provide support for Confluent ACLs. This could be done by the following steps (not a complete list)

add a new enum type (CONFLUENT) in AclsNativeType.
add new Service Class in the io.aiven.klaw.clusterapi.services package that maps requests for Confluent
in ClusterApiController#getAcls, check for the new AclsNativeType and call the newly created Service

Confluent uses the same base URLs for all ACL-related CRUD operations. It is in the form https://{endpoint_url}/kafka/v3/clusters/{cluster_id}/acls (for example https://pkc-00000.region.provider.confluent.cloud/kafka/v3/clusters/{cluster_id}/acls). The base url could be configured in the application.properties file.
List ACLs

GET Request
Optional Parameters: https://docs.confluent.io/cloud/current/api.html#tag/ACL-(v3)/operation/getKafkaAcls

Create ACLs

POST Request
See https://docs.confluent.io/cloud/current/api.html#tag/ACL-(v3)/operation/createKafkaAcls for request body schema

Delete ACLs

DELETE Request
See https://docs.confluent.io/cloud/current/api.html#tag/ACL-(v3)/operation/deleteKafkaAcls for query parameters

Is this a feature you would work on yourself?
Currently not, might change in the future

@nf3lix  thanks for submitting. Klaw currently supports confluent kafka but not confluent cloud kafka.
Here is Confluent flavor in klaw
Will keep you updated on the progress of this issue.

@nf3lix we are happy to mention that klaw now supports confluent cloud.
you may pull the changes from main branch and let us know if you were able to connect to CC and create topics/acls/sync etc..

@nf3lix closing this issue. If you encounter any problems with this implementation, please create another issue.
Looking fwd to your tests.


implemented api using ts

Homework-8
Topics covered:
-typescript
Ouput:

Metric
Value

alert_status
:white_check_mark: OK

bugs
0

code_smells
21

reliability_rating
A (0 Bugs)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0

Didn't add the drift video
Proper commit message's format must be used
Work on directory structure


[CVE-2022-28355] Scala.js should not provide a cryptographically insecure UUID.randomUUID() implementation

I'm specifically referencing this section of code:
https://github.com/scala-js/scala-js/blob/058532aa8c504b76431b40e3e1b51b2cdef87643/javalib/src/main/scala/java/util/UUID.scala#L139-L147
The Java 8 docs for UUID.randomUUID() state:

Static factory to retrieve a type 4 (pseudo randomly generated) UUID. The UUID is generated using a cryptographically strong pseudo random number generator.

Furthermore, https://github.com/tc39/proposal-uuid states that:

Developers who have not been exposed to RFC 4122 might naturally opt to invent their own approaches
to UUID generation, potentially using Math.random() (in TIFU by using Math.random()
there's an in-depth discussion of why a Cryptographically-Secure-Pseudo-Random-Number-Generator
(CSPRNG) should be used when generating UUIDs).

It's unclear to me how a developer cross-compiling their library or application for Scala.js should become aware that in fact they cannot rely on UUID.randomUUID() for cryptographically strong UUIDs.
This seems a lot like a CVE to me.
See also discussion in https://github.com/typelevel/cats-effect/issues/2882#issuecomment-1079502344.
PS would be good to set up a security policy at https://github.com/scala-js/scala-js/security.

That is very unfortunate, and concerning.
This code was introduced during the infancy of Scala.js, 8 years ago:
https://github.com/scala-js/scala-js/commit/b1e239d2678214396f464509cae7e58c97385460
I don't think it would have passed review in the later years.
Unfortunately, removing the method now is not an option, since that would break backward binary compatibility. We can only do so in Scala.js 2.0.0.
The best we can do is mitigate the issue by using the available secure random facilities of recent browsers and Node.js when they are there. Hopefully, that will be good enough, as it's unlikely that such kind of security would be a concern in another obscure environment.

I've never had to submit a CVE. I'll have to check what is involved there.

We might do a similar thing we did with weakref for java.secure.Random or UUID. That would isolate the CVE into a single "fake" package.
Most users will likely be OK to depend on crypto, so they can take the real package.

Thanks for your attention to this.
I was also thinking along the lines of of @gzm0's suggestion: isolate the current implementation into an aptly named "not-cryptographically-strong-uuid-use-at-your-own-risk" package, like the fake weakref. Then provide "webcrypto-uuid" and "node-uuid" packages, for example.

Hopefully, that will be good enough, as it's unlikely that such kind of security would be a concern in another obscure environment.

IMO I think it's best to let the users make this sort of judgement call.

Ah yes, we could use a trick similar to WeakReference.
The situation is a bit different, though, since for WeakReference, the entire classes were broken without WithRef support. Here, most of UUID is just fine. The only problematic method is randomUUID. There could be a number of libraries that only need to manipulate UUIDs, but not generate them using randomUUID. These libraries would have to make a choice on what UUID support library they depend on, for no reason, but it would have consequences for their users.
We might need to be a bit more creative than for the weak references.

These libraries would have to make a choice on what UUID support library they depend on, for no reason

Well, not really. Libraries won't need UUID support for compiling. They may need it to run their tests, but that's only a test dependency.
I do agree with your point though, that this is confusing.

But then they would have to tell their users to add a dependency on some of the UUID libs? That's not helping. There is 0 chance we can clearly explain to all library maintainers how they must or must not depend on UUID and what to tell their users to do about that.

The alternative is that we implement java.security.SecureRandom in that package and simply depend on it from UUID. (similar to what we do with java.text). The downside is that we likely increase the vulnerability surface in the vulnerable package.

That's tempting from a linking architecture point of view but:

The downside is that we likely increase the vulnerability surface in the vulnerable package.

That is probably not acceptable. That would mean deliberately introduce in the ecosystem vulnerabilities that do not exist today, in order to mitigate one that does. Plus, while UUID.randomUUID is specified as cryptographically secure, it's another level of expectation for SecureRandom whose name says that it's secure.

Ok, here's a new idea: what if we extract UUID into a separate artifact, that supports both Node.js and WebCrypto and throws a runtime error otherwise. This should cover the majority of use-cases, so libraries can depend on it without too much disruption for their users.
By keeping it a separate artifact, it still gives opportunity for applications to specifically exclude that dependency and replace it with something else suitable for their obscure environment. It's not very convenient to do this, but it is possible.
I think it's best to avoid providing the insecure implementation anywhere, if possible. It's what started this mess to begin with.
Bonus points: add something to the sbt-scalajs plugin to make it easy to exclude the default UUID dependency.

throws a runtime error otherwise

Well, if we are willing to go down that path, we can provide a SecureRandom that throws a runtime error. That would essentially have the same effect, without making the other parts of UUID unusable.
But at that point, I do not see the upside of this compared to making randomUUID not link anymore (except for honoring binary compatibility to the letter).

I have requested a CVE for this issue. We'll see whether they actual give us one. From what I read about CVEs, this is a bit borderline when it comes to what "deserves" a CVE or not (it's a library method, and an actual vulnerability can only be created in a context-dependent fashion, based on how it's used).

I have given more thoughts about the possible fixes here, also talking to some other people here to get ideas. I am actually warming up to the idea of depending on SecureRandom, and implement SecureRandom in two different libraries:

the fully secure one, requiring webcrypto or Node.'s crypto module (and otherwise throwing)
the insecure one, in which we could actually implement something decent, while still advertising it as insecure.

For the latter, we could implement some CSPRNG algorithm. We would have to seed with a relatively bad source such as a combination of time + Math.random. But at least it would reduce the attack vector to having to guess that initial seed, as opposed to observing any publicly created UUID.

Thanks for looking into the CVE.
Yes, I like the SecureRandom idea too. That plan makes sense.

the insecure one, in which we could actually implement something decent, while still advertising it as insecure.

This also sounds like a good idea, and is certainly better than using an insecure PRNG :) FWIW I'm still not entirely sure if anybody actually needs this, but I guess it's good to have just in case?

After discussion with the Scala Center, actually implementing the CSPRNG as fallback in the insecure version does not seem to be worth it. At least not as an urgent thing to do right now.
@gzm0 If that seems OK to you, I'll proceed with creating two repos for SecureRandom. I guess the names could be scala-js-java-securerandom and scala-js-fake-insecure-java-securerandom. Does the latter reads "bad enough"?

OK, the 3 PRs are open.
As I see it, the next steps are:

Get approval on https://github.com/scala-js/scala-js/pull/4659, https://github.com/scala-js/scala-js-fake-insecure-java-securerandom/pull/1 and https://github.com/scala-js/scala-js-java-securerandom/pull/1
Merge https://github.com/scala-js/scala-js/pull/4659
Update the other two PRs to point to the resulting scala-js/scala-js head commit
Merge them when the CI passes
Launch the release process for Scala.js v1.10.0
Once artifacts are published, release the two securerandom libraries
Publish release notes for Scala.js v1.10.0
Issue a proper security advisory that tells people to upgrade to Scala.js v1.10.0

(I am still waiting for a reply about the CVE number.)

We received the CVE number CVE-2022-28355 for this issue.

It seems there is some failures when upgrading Scala.js to 1.10
https://github.com/ThoughtWorksInc/Dsl.scala/runs/5826473345?check_suite_focus=true

@atry the Scala.js 1.10 release notes explain how to fix it :)
https://www.scala-js.org/news/2022/04/04/announcing-scalajs-1.10.0/

Yes, that is expected. Please read the release notes: http://www.scala-js.org/news/2022/04/04/announcing-scalajs-1.10.0/

Thank you! I found the related issue in ScalaTest https://github.com/scalatest/scalatest/issues/2116


microphone-sound distance

Dear authors,
Could you please let me know in the paper, how could you deal with the sound location?
You assume it co-located with the microphone?
Because RIR is related with the microphone-sound path, i didn;t find the information in the paper.
Do you randomly locate a sound?

Hi, apologies for the late response; missed this earlier!
We only have scene-level correspondance, so we focus on late reverberation (which is less sensitive to within-room position and source-mic distance) and don't use other metrics (DRR, EDT) which reflect these other kinds of variation. This is also part of the motivation for using a stochastic mapping. However, you may be interested in this very interesting recent work.
Paper quotes (from ours, describing this) in case they're of interest:
From Data Aggregation (3.1): "Although this dataset contains high variability in several reverberant parameters, e.g. early reflections and source-microphone distance, it allows us to learn characteristics of late-field reverberation."
From Limitations and Future Work (4.4): "Our dataset also contains much variation in other relevant parameters (e.g. DRR and EDT) in a way we cannot semantically connect to paired images, given the sources of our data."


NewAuth usage

I can't figure out how to new NewAuth() function together with NewClient(). Could you provide an example please? This, of course, doesn't work"
kinesis_client = kinesis.New(kinesis.NewAuth(), kinesis.Region{os.Getenv("KINESIS_REGION")})

It gives me panic: runtime error: invalid memory address or nil pointer dereference, though compiles okay

ksis := kinesis.New(&kinesis.Auth{}, kinesis.Region{})

@le0pard It doesn't invoke NewAuth and thus env variables are never used

So, kinesis cli doesn't work, does it?

@le0pard I didn't test it. But I can't understand how it can work, if it NewAuth accepts zero arguments and then tries to do something with auth variable. I can provide pull request with a fix, if it's really a bug.

@Fodoj will be good, because right now I couldn't test it.

closed by #24


[V2V] Datastore validation in Transformation Mapping

This PR validates that the source and target datastores (storages) are associated with the parent EmsCluster.  This time around the validation is done as a part of after_create step.  This was necessary to work with the transformation_mapping API
Target Datastores
RHV: Class Storage, Filters: Must belong to target cluster
OSP: Class CloudVolume, Filters: Must belong to target CloudTenant's ExtManagementSystem
Source Datastores
VMW: Class Storage, Filters: Must belong to one of the source clusters
https://trello.com/c/1x31IdD0/241-spike-mapping-and-plan-api-validation-of-input
https://bugzilla.redhat.com/show_bug.cgi?id=1666840

Ivanchuk backport details:
$ git log -1
commit 3f62e68babd523f2464dda17868395c08426435e
Author: Adam Grare<EMAIL_ADDRESS>Date:   Wed Aug 28 12:47:43 2019 -0400

    Merge pull request #19204 from thearifismail/new_dev_5

    [V2V] Datastore validation in Transformation Mapping

    (cherry picked from commit 3ea54802461a28a5687e5e1fcf3a7a4947a569b9)

    https://bugzilla.redhat.com/show_bug.cgi?id=1768517


Having Global Option Groups

Not sure if this is possible or not, but it would be super convenient if one could use Option Groups as Global Options.
I'm creating a tool where all commands require the same mutually exclusive Key items to define the input source (different possible variations of sources, but there must be one and only one).
What I am doing now is for each command, I'm doing this:
    @Key("-p", "--project")
    var project: String?
    @Key("-w", "--workspace")
    var workspace: String?
    @Key("-f", "--file")
    var file: String?
    var optionGroups: [OptionGroup] {
        return [.exactlyOne($project, $workspace, $file)]
    }

I'd ideally like to make that global.

This should be possible with cli.globalOptionGroups -- https://github.com/jakeheis/SwiftCLI/blob/master/Sources/SwiftCLI/CLI.swift#L44


MAINT: stats: support string array for _contains_nan and add tests.

Reference issue

Ref #16140
What does this implement/fix?

I added codes to support string array for _contains_nan and add tests based on the discussion in #16140. cc @mdhaber

Thanks @AtsushiSakai this is fine.
I think we did a reasonable thing here: we assumed there was some reason that the function was written as it was, and we extended it to do something more.
With the experience we've gained, I think we can see that the following will work:

if np.issubdtype(a.dtype, np.inexact), do the summation (maybe using Python sum) method
elif np.issubdtype(a.dtype, object)) (or not isinstance(a, np.ndarray) perhaps, if we stick with np.sum above), do the iteration method
else there are no NaNs.

Do you think that would cover all cases you've seen?

OK. I will try to clean up the _contains_nan function after #16140 is finished.


Custom Scorer for CV inside plot_learning_curve

Hello,
I am using cross-validation with a particular metric, Kappa score, rather than the standard accuracy metric.
cross_val_score(clf, x_train, y_train, scoring=kappa_scorer, cv=kf, n_jobs=-1)
I would like to to set the CV done inside the plot_learning_curve method for each set of train_sizes to use the Kappa Scorer and not the accuracy score. I would also like to use the Kappa Scorer to evaluate the models performance for the training set. Is there any way to set this in the plot_learning_curve method ?

Hi @david1309 ! You're right, I can just expose that as an additional parameter. I'll be working on it but feel free to submit a PR if you want.

Closed by #55


add validating webhook e2e test

Signed-off-by: akihikokuroda<EMAIL_ADDRESS>Add simple tests for bundle name length check.
Closes #189

I think we're getting pretty close after the latest force push (assuming those changes pass the e2e checks that are running now).


Box sizing

The ability to specify how large a box is explicitly.
This should clip if you exceed the size. Otherwise you're padded with spaces (as is the default anyway).

Leaving this open because we can do it now, but it will likely be subsumed into #8.

This is unblocked now.

I would like to clarify what else is currently expected within this issue?

Probably nothing! Let's close. Anything else specific can get its own issue.


Adds Approximate check-boxes for Creation Date

Why was this change made?
Fixes #938

How was this change tested?
New component tests
Which documentation and/or configurations were updated?
n/a

LGTM


blog entry cannot be displayed probably due to missing galleries

seems to be due to corrupt data on my dev instance as I didn't copy everything.

deleting all galleries and creating a new one did the trick. Next up might be testing what deleting a gallery will lead to.

also fixed for homepage


Randomly apply manipulator when applying manipulator with limit

ArbitraryNodes found by expression has fixed ordering.
So applying manipulator with parameter limit, which parameter used as limiting the number of applied ArbitraryNode, always returns same applied ArbitraryNode.
It is not an intuitive result.
In short, this issue is to shuffle all ArbitraryNodes found by ArbitraryExpression.

적용 회수를 입력받는 연산 (limit 을 입력받는 연산)에서 조회한 노드 순서대로 적용하는 게 아니라 랜덤하게 적용하도록 수정합니다.

Hi @seongahjo, I'm interested in working on this issue.
if it is ok with you, do you mind putting the description in English when you get a chance?
Thank you!

@sandrawangyx
Yes, sure.
Thank you for paying attention to good first issue
This issue could be translated as below.
ArbitraryNodes found by expression has fixed ordering.
So applying manipulator with parameter `limit`, which parameter used as limiting the number of applied ArbitraryNode, always returns same applied ArbitraryNode.
It is not an intuitive result.

In short, this issue is to shuffle all `ArbitraryNodes` found by `ArbitraryExpression`.

If you have any question, feel free to ask!
Thank you

Hi @seongahjo  thanks for the comment.
My initial thought on the approach is to re-arrange the tree node.
Let me know if I am on the right track.
we should update the arbitrary tree whenever we update it, is this correct?

@sandrawangyx
yes, but I think you should not need to rearrange nodes on tree actually.
Because there are some situations below.
set("*.*", "value" , 5)
"*.*" is hard to refer on tree.
I think rearranging nodes found by expression is better.
Feel free to share other opinions.


On a small screen, I cannot scroll to the end of the "Add references" page

Describe the improvement
On the page https://eliot1.ugent.be/biblio-backend/publication/add-multiple, I cannot scroll to the end of the page to see the upload/drag and drop area of the "No Web of Science file?" panel.
Screenshots

Browser: chrome

what is the devise used? the design, as a backend administrative app, is not optimized for small screens


Don't show restore dialog for non-editor dock items

The Nuclide file tree was causing this dialog to be shown every time.
With this commit, we exclude non-editor dock items from the "dirty"
check.
cc @BinaryMuse @maxbrunsfeld

Thanks @matthewwithanm!!! 😄


Cite keys containing symbols are changed during Typst export

When a cite-key includes a hyphen or . (e.g. Eban-Rothschild2020), exporting to Typst fails, whereas MS Word export works just fine.
Description
Here's just the long output from the terminal as it fails - mostly to show that it happens exclusively for hyphenated cite keys and is the event that breaks the export.
❯ myst build 01-Chapters/02-Chapter.md
(node:8092) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
📬 Performing exports:
   01-Chapters/02-Chapter.md -> Exports/Chapter-2.pdf
   01-Chapters/02-Chapter.md -> Exports/Chapter-2.docx
📖 Built 00-Front-Matter/00-Front-Page.md in 278 ms.
📖 Built 00-Front-Matter/01-Declaration.md in 279 ms.
📖 Built 00-Front-Matter/02-Abstract.md in 279 ms.
📖 Built 00-Front-Matter/03-Preface.md in 279 ms.
📖 Built 00-Front-Matter/04-Acknowledgements.md in 279 ms.
📖 Built 00-Front-Matter/05-Dedication.md in 279 ms.
📖 Built 00-Front-Matter/06-Glossary.md in 280 ms.
📖 Built 00-Front-Matter/00-Front-Page.md in 256 ms.
📖 Built 00-Front-Matter/01-Declaration.md in 256 ms.
📖 Built 00-Front-Matter/02-Abstract.md in 258 ms.
📖 Built 00-Front-Matter/03-Preface.md in 259 ms.
📖 Built 00-Front-Matter/04-Acknowledgements.md in 259 ms.
📖 Built 00-Front-Matter/05-Dedication.md in 259 ms.
📖 Built 00-Front-Matter/06-Glossary.md in 259 ms.
📖 Built 01-Chapters/01-Introduction.md in 1.51 s.
📖 Built 01-Chapters/03-Chapter.md in 1.51 s.
📖 Built 01-Chapters/04-Chapter.md in 1.51 s.
📖 Built 01-Chapters/05-Discussion.md in 1.5 s.
📖 Built 01-Chapters/01-Introduction.md in 1.49 s.
📖 Built 01-Chapters/03-Chapter.md in 1.49 s.
📖 Built 01-Chapters/04-Chapter.md in 1.49 s.
📖 Built 01-Chapters/05-Discussion.md in 1.49 s.
⛔ 01-Chapters/02-Chapter.md container of kind table contains no valid content besides caption, legend
   Valid content types include image, referenced notebook cell, table, code, iframe, subfigure
⛔ 01-Chapters/02-Chapter.md container of kind table contains no valid content besides caption, legend
   Valid content types include image, referenced notebook cell, table, code, iframe, subfigure
⛔ 01-Chapters/02-Chapter.md container of kind table contains no valid content besides caption, legend
   Valid content types include image, referenced notebook cell, table, code, iframe, subfigure
⚠  01-Chapters/02-Chapter.md unexpected figure content of type table found in legend node
⚠  01-Chapters/02-Chapter.md unexpected figure content of type table found in legend node
⚠  01-Chapters/02-Chapter.md unexpected figure content of type table found in legend node
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "beta"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "95% ci1"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "p-value"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "contrast"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "95% ci"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "p-value"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "characteristic"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "moving"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "idle"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "beta"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "95% ci1"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "p-value"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "beta"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "95% ci1"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "p-value"
⛔ 01-Chapters/02-Chapter.md:10:244 Could not find DOI "10.5555/1593511" from doi.org as doi:10.5555/1593511
   Please check the DOI and, if correct, add citation info to local BibTeX file
📖 Built 01-Chapters/02-Chapter.md in 3.86 s.
📚 Built 12 pages for export (including 11 dependencies) from /Users/roaldarbol/Filen/Thesis in 5.67 s.
🔍 Querying template metadata from https://api.mystmd.org/templates/typst/myst/lapreprint-typst
⛔ 01-Chapters/02-Chapter.md container of kind table contains no valid content besides caption, legend
   Valid content types include image, referenced notebook cell, table, code, iframe, subfigure
⛔ 01-Chapters/02-Chapter.md container of kind table contains no valid content besides caption, legend
   Valid content types include image, referenced notebook cell, table, code, iframe, subfigure
⛔ 01-Chapters/02-Chapter.md container of kind table contains no valid content besides caption, legend
   Valid content types include image, referenced notebook cell, table, code, iframe, subfigure
⚠  01-Chapters/02-Chapter.md unexpected figure content of type table found in legend node
⚠  01-Chapters/02-Chapter.md unexpected figure content of type table found in legend node
⚠  01-Chapters/02-Chapter.md unexpected figure content of type table found in legend node
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "beta"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "95% ci1"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "p-value"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "contrast"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "95% ci"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "p-value"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "characteristic"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "moving"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "idle"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "beta"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "95% ci1"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "p-value"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "beta"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "95% ci1"
⚠  01-Chapters/02-Chapter.md Duplicate identifier in file "p-value"
⛔ 01-Chapters/02-Chapter.md:10:244 Could not find DOI "10.5555/1593511" from doi.org as doi:10.5555/1593511
   Please check the DOI and, if correct, add citation info to local BibTeX file
📖 Built 01-Chapters/02-Chapter.md in 4.94 s.
📚 Built 12 pages for export (including 11 dependencies) from /Users/roaldarbol/Filen/Thesis in 6.76 s.
🔍 Querying template metadata from https://api.mystmd.org/templates/docx/myst/default
🐕 Fetching template from https://github.com/myst-templates/lapreprint-typst/archive/refs/heads/main.zip
🐕 Fetching template from https://github.com/myst-templates/docx_default/archive/refs/heads/main.zip
💾 Saved template to path _build/templates/docx/myst/default
🌠 Converting 8 images with extensions .pdf, .svg to supported formats .png, .jpg, .jpeg
WARNING: The convert command is deprecated in IMv7, use "magick"

WARNING: The convert command is deprecated in IMv7, use "magick"

** (org.inkscape.Inkscape:8116): WARNING **: 11:10:12.824: Invalid child element found in parameter 'matchwhat' in extension 'burghoff.scaleplots'. Expected 'option'.

** (org.inkscape.Inkscape:8116): WARNING **: 11:10:12.824: Invalid child element found in parameter 'matchto' in extension 'burghoff.scaleplots'. Expected 'option'.

** (org.inkscape.Inkscape:8117): WARNING **: 11:10:12.877: Invalid child element found in parameter 'matchwhat' in extension 'burghoff.scaleplots'. Expected 'option'.

** (org.inkscape.Inkscape:8117): WARNING **: 11:10:12.877: Invalid child element found in parameter 'matchto' in extension 'burghoff.scaleplots'. Expected 'option'.

** (org.inkscape.Inkscape:8120): WARNING **: 11:10:12.879: Invalid child element found in parameter 'matchwhat' in extension 'burghoff.scaleplots'. Expected 'option'.

** (org.inkscape.Inkscape:8120): WARNING **: 11:10:12.879: Invalid child element found in parameter 'matchto' in extension 'burghoff.scaleplots'. Expected 'option'.

** (org.inkscape.Inkscape:8119): WARNING **: 11:10:12.881: Invalid child element found in parameter 'matchwhat' in extension 'burghoff.scaleplots'. Expected 'option'.

** (org.inkscape.Inkscape:8119): WARNING **: 11:10:12.882: Invalid child element found in parameter 'matchto' in extension 'burghoff.scaleplots'. Expected 'option'.

** (org.inkscape.Inkscape:8118): WARNING **: 11:10:12.884: Invalid child element found in parameter 'matchwhat' in extension 'burghoff.scaleplots'. Expected 'option'.

** (org.inkscape.Inkscape:8118): WARNING **: 11:10:12.884: Invalid child element found in parameter 'matchto' in extension 'burghoff.scaleplots'. Expected 'option'.

** (org.inkscape.Inkscape:8121): WARNING **: 11:10:12.890: Invalid child element found in parameter 'matchwhat' in extension 'burghoff.scaleplots'. Expected 'option'.

** (org.inkscape.Inkscape:8121): WARNING **: 11:10:12.890: Invalid child element found in parameter 'matchto' in extension 'burghoff.scaleplots'. Expected 'option'.

💾 Saved template to path _build/templates/typst/myst/lapreprint-typst
🌠 Converting 2 images with extensions .pdf to supported formats .svg, .png, .jpg, .jpeg
2024-06-10 11:10:13.418 inkscape[8120:4533457] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.

WARNING: The convert command is deprecated in IMv7, use "magick"

WARNING: The convert command is deprecated in IMv7, use "magick"

2024-06-10 11:10:13.544 inkscape[8117:4533451] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.

2024-06-10 11:10:13.645 inkscape[8121:4533458] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.

2024-06-10 11:10:13.667 inkscape[8116:4533445] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.

2024-06-10 11:10:13.787 inkscape[8119:4533455] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.

2024-06-10 11:10:13.918 inkscape[8118:4533452] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.

⛔ Exports/Chapter-2.docx Node of type "legend" is not supported by docx renderer
⛔ Exports/Chapter-2.docx Node of type "legend" is not supported by docx renderer
⛔ Exports/Chapter-2.docx Node of type "legend" is not supported by docx renderer
⛔ Figure with no non-caption content: tbl:ch2:state_interaction
⛔ Figure with no non-caption content: tbl:ch2:mod_light_marg
⛔ Figure with no non-caption content: tbl:ch2:mod_light
📑 Exported typst in 15 s, copying to _build/temp/mystV0CbGO/Chapter-2.typ
📄 Exported DOCX in 18 s, copying to Exports/Chapter-2.docx
error: key `Eban-Rothschild2020` does not exist in the bibliography
   ┌─ _build/temp/mystV0CbGO/Chapter-2.typ:66:736
   │
66 │ Behaviour unfolds and chang
es over time. A behavioural state is a description of what an animal is doing at a particular time and reflects internal processes, both neural and physiological #cite(<Flavell2022>). Behaviour
al states are traditionally discrete, which has e
nabled identification of transi
tions between states to a po
int in time (however, see #ci
te(<Berman2016>, form: "pros
e") for continuous states).
As a concept, behavioural sta
te has been used and interp
reted in various ways, often
prompted by differences in ai
m, methods and scientific tr
aditio
n
. Common uses range from direct movement classi
f
icat
ion, e.g. movement and idleness
in animal movement ana
lysis, to sleep and wakefulness withi
n neurosc
ience and physio
logy #cite(<Eban-Rothschild2
020>) #cite(<Rosner2010>
).

   │

    ^^^^^^^^^^^^^^^^^^^^^^^
^^^^

error: key `Perez-Atencio2018` does not exist in the bibliography
   ┌─ _build/temp/mystV0CbGO/Chapter-2.typ:68:283
   │
68 │ Y
et, behaviour unfolds on vastly diff
erent time scales #cite(<Ber
man2018>) #cite(<Bialek2024
a>) #cite(<Kaplan2020>) #c
ite(<Kim2020>) #cite(<Smit
h2006>), from brief milliseco
nd movements of halteres in _Drosophila_ #
cite(<Ros
ner2010>) t
o long-du
ration sleep throughout lasting hours #cite(<Perez-Atencio2018>). One of the earliest pre-cursor to beh
avioura
l
 states a
s a concept centred on the idea of hierarchical organisation
of behaviour #cit
e(<Tinbergen1942>), especially by temporal clustering/hierarchy by #cite(<Dawkins1976>, form: "prose") as a way to bridge these time
 scales. However, as methods of quantitativ
e data collection have ...,
 analysing behaviour acro
ss time scales remains a
 fundamental problem.

   │

             ^^^^^^^^^^^
^^^^^^^^^^^^^^

error: key `J.Jing2009` does not exist in the bibliography

   ┌─ _build/temp/mystV0CbGO/Chapter-2.typ:70:
31
   │
70 │ Arousal state and its effects #cit
e
(<J.Jing2009>, form: "prose")
   │
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^

error
: key `Perez-Atencio2018` does not exist in the bibliography
   ┌─ _build/temp/mystV0CbGO/Chapter-2.typ
:
80:73
   │
80 │ Using HMM to dete
rmi
ne REM/non-rem/wake,
 and the effects

o
f light phase #cite(<Per
e
z-Atencio2
018>
).

 │

^^^^^^^^^
^^^^^^^^^^^^^^^^

error: key `10.5555/1593511` does not exist in the bibliography
    ┌─ _build/temp/mystV0CbGO/Chapter-2.typ:133:243
    │
133 │ Data coll
ection was done with a Raspberry Pi 4 (Raspbe
rry Pi 4, Raspberry Pi Founda
tion, Ca
m
bri
dge, United Kingdom), in a custom written P
ython script, in
which video recordings wer
e synchronised with envir
onmental logging of light inte
nsity #cite(label("10.5555/1593511")).
    │

               ^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^

error: key `Ben-Shachar2020` does not exist in the bibliography
    ┌─
 _build/temp/mystV0CbGO/Chapter-2.typ:175:672

    │

175 │
To tes
t relati
onship
s, we fitted Generalized Linear Mixed Models (GLMMs) with a Gamma family using the `{glmmT
MB}` R pac
kage#cite(<Brooks
2017a>). Beetle ID and experimen
t ID was included as a random effect in all mode
ls. The most parsimonious mo
dels were selected using the
`compare_performance(rank
= TRUE)` function in the `{perf
ormance}` package #cite(<Ludecke2021>), which uses a combination of various model performance measures (incl. AIC, BIC).  Effect sizes were c
alculated with the `{effect
size}` R package #cite(<Ben-
Shachar2020>).
    │

  ^^^^^^^^^^^^^^^^^^^^^^^

error: key `Helfrich-Forster2020` does not exist in the bibliography
    ┌─ _build/temp/mystV0CbGO/Chapter-2.typ:478:330
    │
478 │
 Although time of day and light environment freq
uently co-occur, their mechanism of action
 may be different: the tim
e of day likely has an ef
fect through the interna
l circadian rhythm #cite(<Bertolini20
21>), whereas light acts as an externa
l stimulus, possibly affecting systems
 at multiple levels, incl
uding the circadian rhythm #
cite(<Helfrich-Forster2020>) #cite(<LeGates2
014>) #cite(<Zotov2008>). To
 test whether the observe
d context-dependency of
episodes was related to inte
rnal or external factors, we tested the same individua
ls again in two different light
ing regimes: Continuous darkn
ess (DD) and continuous li
ght (LL).
    │

  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error:
key `Perez-Atencio2018` does not exist in the bibliography
     ┌─ _build/temp/mystV0CbGO/Chapter-2.typ:1296:190
     │
1296 │
 We find that whereas arousal st
ate greatly impact duration of episodes
 of movement and idleness, light e
nvironment has a comparativ
ely little effect. This r
esembles similar results i
n mice #cite(<Perez-Atencio2018>
), where lighting was found to only

 │

                     ^^^^^^
^^^^^^^^^^^^^^^^^^^

Error: Command failed: typst compile "/Users/roaldarbol/Filen/Thesis/_build/temp/mystV0CbGO/Chapter-2.typ"
error: key `Eban-Rothschild2020` does not exist in the bibliography
   ┌─ _build/temp/mystV0CbGO/Chapter-2.typ:66:736
   │
66 │ Behaviour unfolds and changes over time. A behavioural state is a description of what an animal is doing at a particular time and reflects internal processes, both neural and physiological #cite(<Flavell2022>). Behavioural states are traditionally discrete, which has enabled identification of transitions between states to a point in time (however, see #cite(<Berman2016>, form: "prose") for continuous states). As a concept, behavioural state has been used and interpreted in various ways, often prompted by differences in aim, methods and scientific tradition. Common uses range from direct movement classification, e.g. movement and idleness in animal movement analysis, to sleep and wakefulness within neuroscience and physiology #cite(<Eban-Rothschild2020>) #cite(<Rosner2010>).
   │                                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: key `Perez-Atencio2018` does not exist in the bibliography
   ┌─ _build/temp/mystV0CbGO/Chapter-2.typ:68:283
   │
68 │ Yet, behaviour unfolds on vastly different time scales #cite(<Berman2018>) #cite(<Bialek2024a>) #cite(<Kaplan2020>) #cite(<Kim2020>) #cite(<Smith2006>), from brief millisecond movements of halteres in _Drosophila_ #cite(<Rosner2010>) to long-duration sleep throughout lasting hours #cite(<Perez-Atencio2018>). One of the earliest pre-cursor to behavioural states as a concept centred on the idea of hierarchical organisation of behaviour #cite(<Tinbergen1942>), especially by temporal clustering/hierarchy by #cite(<Dawkins1976>, form: "prose") as a way to bridge these time scales. However, as methods of quantitative data collection have ..., analysing behaviour across time scales remains a fundamental problem.
   │                                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^

error: key `J.Jing2009` does not exist in the bibliography
   ┌─ _build/temp/mystV0CbGO/Chapter-2.typ:70:31
   │
70 │ Arousal state and its effects #cite(<J.Jing2009>, form: "prose")
   │                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: key `Perez-Atencio2018` does not exist in the bibliography
   ┌─ _build/temp/mystV0CbGO/Chapter-2.typ:80:73
   │
80 │ Using HMM to determine REM/non-rem/wake, and the effects of light phase #cite(<Perez-Atencio2018>).
   │                                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^

error: key `10.5555/1593511` does not exist in the bibliography
    ┌─ _build/temp/mystV0CbGO/Chapter-2.typ:133:243
    │
133 │ Data collection was done with a Raspberry Pi 4 (Raspberry Pi 4, Raspberry Pi Foundation, Cambridge, United Kingdom), in a custom written Python script, in which video recordings were synchronised with environmental logging of light intensity #cite(label("10.5555/1593511")).
    │                                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: key `Ben-Shachar2020` does not exist in the bibliography
    ┌─ _build/temp/mystV0CbGO/Chapter-2.typ:175:672
    │
175 │ To test relationships, we fitted Generalized Linear Mixed Models (GLMMs) with a Gamma family using the `{glmmTMB}` R package#cite(<Brooks2017a>). Beetle ID and experiment ID was included as a random effect in all models. The most parsimonious models were selected using the `compare_performance(rank = TRUE)` function in the `{performance}` package #cite(<Ludecke2021>), which uses a combination of various model performance measures (incl. AIC, BIC). To assess the importance of state and context we report marginal effects of the relevant predictors using the `{ggeffects}` R package #cite(<Ludecke2018>). Effect sizes were calculated with the `{effectsize}` R package #cite(<Ben-Shachar2020>).
    │                                                                                ^^^^^^^^^^^^^^^^^^^^^^^

error: key `Helfrich-Forster2020` does not exist in the bibliography
    ┌─ _build/temp/mystV0CbGO/Chapter-2.typ:478:330
    │
478 │ Although time of day and light environment frequently co-occur, their mechanism of action may be different: the time of day likely has an effect through the internal circadian rhythm #cite(<Bertolini2021>), whereas light acts as an external stimulus, possibly affecting systems at multiple levels, including the circadian rhythm #cite(<Helfrich-Forster2020>) #cite(<LeGates2014>) #cite(<Zotov2008>). To test whether the observed context-dependency of episodes was related to internal or external factors, we tested the same individuals again in two different lighting regimes: Continuous darkness (DD) and continuous light (LL).
    │                                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: key `Perez-Atencio2018` does not exist in the bibliography
     ┌─ _build/temp/mystV0CbGO/Chapter-2.typ:1296:190
     │
1296 │ We find that whereas arousal state greatly impact duration of episodes of movement and idleness, light environment has a comparatively little effect. This resembles similar results in mice #cite(<Perez-Atencio2018>), where lighting was found to only
     │                                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^

It seems that, in the build process, when main.bib is generated, the hyphenated references have their cite-key changed. So in my bib file I have the following entry:
@article{Eban-Rothschild2020,
  title = {Arousal {{State-Dependent Alterations}} in {{VTA-GABAergic Neuronal Activity}}},
  author = {{Eban-Rothschild}, Ada and Borniger, Jeremy C. and Rothschild, Gideon and Giardino, William J. and Morrow, Joshua G. and de Lecea, Luis},
  year = {2020},
  month = mar,
  journal = {eNeuro},
  volume = {7},
  number = {2},
  publisher = {Society for Neuroscience},
  issn = {2373-2822},
  doi = {10.1523/ENEURO.0356-19.2020},
  urldate = {2024-05-22},
  abstract = {Decades of research have implicated the ventral tegmental area (VTA) in motivation, learning and reward processing. We and others recently demonstrated that it also serves as an important node in sleep/wake regulation. Specifically, VTA-dopaminergic neuron activation is sufficient to drive wakefulness and necessary for the maintenance of wakefulness. However, the role of VTA-GABAergic neurons in arousal regulation is not fully understood. It is still unclear whether VTA-GABAergic neurons predictably alter their activity across arousal states, what is the nature of interactions between VTA-GABAergic activity and cortical oscillations, and how activity in VTA-GABAergic neurons relates to VTA-dopaminergic neurons in the context of sleep/wake regulation. To address these, we simultaneously recorded population activity from VTA subpopulations and electroencephalography/electromyography (EEG/EMG) signals during spontaneous sleep/wake states and in the presence of salient stimuli in freely-behaving mice. We found that VTA-GABAergic neurons exhibit robust arousal-state-dependent alterations in population activity, with high activity and transients during wakefulness and REM sleep. During wakefulness, population activity of VTA-GABAergic neurons, but not VTA-dopaminergic neurons, was positively correlated with EEG {$\gamma$} power and negatively correlated with {\texttheta} power. During NREM sleep, population activity in both VTA-GABAergic and VTA-dopaminergic neurons negatively correlated with {$\delta$}, {\texttheta}, and {$\sigma$} power bands. Salient stimuli, with both positive and negative valence, activated VTA-GABAergic neurons. Together, our data indicate that VTA-GABAergic neurons, like their dopaminergic counterparts, drastically alter their activity across sleep-wake states. Changes in their activity predicts cortical oscillatory patterns reflected in the EEG, which are distinct from EEG spectra associated with dopaminergic neural activity.},
  chapter = {Research Article: Confirmation},
  copyright = {Copyright {\copyright} 2020 Eban-Rothschild et al.. This is an open-access article distributed under the terms of the Creative Commons Attribution 4.0 International license, which permits unrestricted use, distribution and reproduction in any medium provided that the original work is properly attributed.},
  langid = {english},
  pmid = {32054621},
  keywords = {arousal,dopamine,fiber photometry,GABA,VTA},
  file = {/Users/roaldarbol/Zotero/storage/PQ64TEDS/Eban-Rothschild et al._2020_Arousal State-Dependent Alterations in VTA-GABAergic Neuronal Activity.pdf}
}

...but in main.bib in the _build folder, it has been changed to:
@article{Eban2020Arousal,
	note = {[Online; accessed 2024-05-22]},
	author = {Eban-Rothschild, Ada and Borniger, Jeremy C. and Rothschild, Gideon and Giardino, William J. and Morrow, Joshua G. and de Lecea, Luis},
	chapter = {Research Article: Confirmation},
	journal = {eNeuro},
	doi = {10.1523/ENEURO.0356-19.2020},
	issn = {2373-2822},
	number = {2},
	year = {2020},
	month = {3},
	publisher = {Society for Neuroscience},
	title = {Arousal {State}-{Dependent} {Alterations} in {VTA}-{GABAergic} {Neuronal} {Activity}},
	volume = {7},
}

So now the reference in the text no longer matches the cite-key in the bib file, and the export fails altogether.
Alternative solutions
Removing the hyphen in the cite-key manually removes the issue, but the issue is that they will be overwritten on the next bib export (from Zotero). And changing the cite-key manually in Zotero is not possible to my knowledge.

I am almost certain this is the same issue as https://github.com/executablebooks/mystmd/issues/1318 - we were not preserving original ids when writing out .bib files; if they had an "invalid" character, a different id was generated. Now, with v1.2.9, we are preserving these ids: https://github.com/executablebooks/mystmd/blob/main/packages/citation-js-utils/src/index.ts#L10-L11
I'm closing this issue, but please don't hesitate to re-open or create a new issue if you see this behavior again with MyST >= 1.2.9.

Awesome, thanks @fwkoch that's great!


Getting HTTP/2 Encoder/Decoder effectiveness stats out of netty?

Internally we have been doing some investigation into the effectiveness of the HPACK Dynamic/Static Tables, and we're wondering what the best approach is to get that data out of netty.
In particular we'd need to export how often the static/dynamic indexes are used and for which header names, how often new headers are indexed and their names, and how many headers have been encoded/decoded.  The code that would likely end up gathering these stats, or firing some sort of event when these actions take place, is buried pretty deeply in the Encoder/Decoder/DynamicTable classes, and as far as I can tell is not easily exposed without subclassing much of the HTTP/2 code.
The advantage of being able to gather these metrics is that service implementers can tune a custom SensitivityDetector to avoid indexing headers that churn the HPACK table making it less effective.
@Scottmitch  @normanmaurer  I'm game to try to implement something for this, if there is no recommended path for gathering these stats.

There is no good way to extract these types of metrics today, but it seems generally useful. We really only have SensitivityDetector to determine if a header should be considered sensitive (in HPACK terms) or not.
In terms of metrics collection we have had some general discussions https://github.com/netty/netty/pull/5397#r67203858 on different approaches. Do you have thoughts / opinions here?

I like the idea of the metrics being push not pull. In this particular case, how would one bind for the push events, given that the encoder and decoder are essentially hidden.
Spring has an implementation of this which is pseudo pub-sub, listeners register via the EventListener interface, and event publishers are registered via the ApplicationEventPublisher interface. What's nice is that it allows for multiple event receivers.
http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/context/event/EventListener.html
http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/context/ApplicationEventPublisher.html
This is likely way too heavy for netty, but conceptually it provide a nice decoupling of publisher and consumer.

In this particular case, how would one bind for the push events, given that the encoder and decoder are essentially hidden.

We can configure metrics listeners though builders or other publicly accessible areas if necessary.


Process Hangs when any transfer is seeding

Describe the bug
When there are any transfers that are status 'Finished and Seeding' no other processes will proceed. For example:

this transfer is done, and the one below it is waiting to import to radarr until the seeding is done (1 day for public tracker, 14 for private)
To Reproduce
Steps to reproduce the behavior:

Have a transfer in the 'Finished and Seeding' Status
Try to complete any other processes (add transfer/download/import)
observe that they seem to all be waiting for the seeding to finish

NOTE: Cancelling the seeding transfer seems to leave things in a broken state.
** Logs **
Logs showing a few transfers starting/stopping before hanging around the seeding.
** Configuration **
username = "***"
password = "***"
download_directory = "/downloads"
bind_address = "<IP_ADDRESS>"
port = 9091
loglevel = "info"
uid = 1026
polling_interval = 10
skip_directories = ["sample", "extras"]
orchestration_workers = 10
download_workers = 4
[putio]
api_key =  "***"
[radarr]
url = "http://***7878"
api_key = "***"

Environment
Docker container on a synology NAS
Docker
Using the docker compose provided
Screenshots
see above

Thanks for this! Since there are a few other tickets open that have to do with state management, I'd like to fix that first, since that has a large likelihood to fix this as well. I'll keep you posted.

@wouterdebie Thanks for the quick reply! I'm definitely not a rust programmer, but have extensive experience with the put.io API, so if you'd like any help I'm happy to contribute.
I saw your comment in another issue about how to create states using put.io. Something I've done in my apps is use the config endpoints to store stateful values. They allow you to upload any string key and any json object to their config dictionary. So it could look somethinglike
"config": {
"putioarr:(FILE/TRANSFER ID)": "STATEDATA"
}
Here's the endpoint I'm referencing: link
Maybe you've already thought of this and there's some issue, figured I'd throw it out there. If you'd like to discuss or want me to contribute on something feel free to reach out on Discord (kikootwo); Im much better at responding there.
And thanks for this project, its amazing!

@kikootwo that is super helpful! I was unaware of this functionality, but that is super helpful! Thanks and I'll definitely take this into account!


propagate socket errors on .reset

Motivation:
Since #286, we do eagerly detect connection resets which is good. To
resolve the situation we first try to read everything off the socket. If
something fails there, everything is good and the client gets the
correct error. If that however doesn't lead to any errors, we would
close the connection with error: ChannelError.eof which the client
would then see for example on a connect that happened to get
ECONNRESET or ECONNREFUSED. That's not right so these situations are
fixed here.
Modifications:

on reset, try to get the socket error if any
if no socket error was detected, we send a ECONNRESET because we
know we have been reset but not why and didn't encounter any errors
write tests for these situations

Result:
connection resets that don't hit any other errors will now see the
correct error

@Lukasa feedback addressed


Native: add Native Custom Assets section

This is the documentation related to https://github.com/prebid/Prebid.js/pull/6220.
After reading the whole documentation, I think it is the best place to add it, but let me know if you have another suggestion.

@osazos - can you give me write access to your branch? This is a find first cut, but there's some wordsmithing I'd like to do...

@bretg done, let me know if you need something else.

@osazos - made some updates. Please confirm that I understand the usage in the template correctly here:
    <div id="mytemplate">
    ... render a lovely creative ...
    ... refer to ##hb_native_bidderA_specialtracking## when appropriate ...
    </div>

Hi @bretg,
It is ok regarding the usage in the template.

Released with 4.29.


Configure new jsx transform

Description
Please include a summary of the change and the issue (if is related to a one)
Type of change

[ ] 🐛 Bug fix
[ ] 💻 New feature
[ ] 📖 Documentation
[ ] 💅 Layout
[ ] 🧹 Chore

Checklist:

[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I updated the docs related to the changes

Codecov Report

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

@@            Coverage Diff            @@
##            master      #414   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           15        13    -2
  Lines          182       170   -12
=========================================
- Hits           182       170   -12

Flag
Coverage Δ

#cypressspecs
?

#jestspecs
100.00% <100.00%> (ø)

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

Impacted Files
Coverage Δ

...s/Board/components/Column/components/Card/index.js
100.00% <ø> (ø)

.../components/CardAdder/components/CardForm/index.js
100.00% <ø> (ø)

...rd/components/Column/components/CardAdder/index.js
100.00% <ø> (ø)

...c/components/Board/components/ColumnAdder/index.js
100.00% <ø> (ø)

...c/components/Board/components/DefaultCard/index.js
100.00% <ø> (ø)

...ents/Board/components/DefaultColumnHeader/index.js
100.00% <ø> (ø)

src/components/withDroppable/index.js
100.00% <ø> (ø)

src/components/Board/components/Column/index.js
100.00% <100.00%> (ø)

...ponents/ColumnAdder/components/ColumnForm/index.js
100.00% <100.00%> (ø)

src/components/Board/index.js
100.00% <100.00%> (ø)

... and 1 more

Continue to review full report at Codecov.

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

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


:sparkles: Change load to async

Close #169

Change def to async def for the load functions

The example in the doc is already written as async...
https://github.com/SatelCreative/spylib/blob/f191886c597b0a26f4911484b22a149865b26e49/docs/admin-api.md?plain=1#L19
Any suggestion on where else I should write the reminder?

The example in the doc is already written as async...
https://github.com/SatelCreative/spylib/blob/f191886c597b0a26f4911484b22a149865b26e49/docs/admin-api.md?plain=1#L19
Any suggestion on where else I should write the reminder?

At this line you can something like:
Note: up to version 0.8.x, the load was sync instead of async.
Some sort of breaking change warning would be nice such as :boom:

Prior to 0.8.1 should just be sync. I don't think you can override it with async


Support eager singleton

There doesn't seem to be a way to bind eager singletons. The only reference is in the Module's provides method, but this is unreferenced.
def provides(interface, scope=None, eager=False):

Yes, I should remove that from the method signature. I don't think it will be added at this stage.

Not added because it's not under active development or a time issue? Or not useful/practical?
BTW, are you still actively developing the project? Is there a better alternative?
Thanks.

Mostly the latter; not useful enough to warrant the effort IMO.
Yes, Injector is still being developed, it's just mostly stable so there's not much activity.
You can have a look at pinject, but it hasn't been touched in two years and IMO is not as nice as Injector anyway ;)

I can confirm that the lack of activity is due to the code just working.

Fair enough :).
I find myself in a minority of Python developers who can't live without DI,
so thanks for this package.
I do however, think eager singletons are important. As would like to see
Sequence and Map keys support instantiation by class (rather than by
instance). I'll try to send a pull request for the workarounds that I have
created.
On Thu, Sep 17, 2015 at 6:14 PM Jakub Stasiak<EMAIL_ADDRESS>wrote:

I can confirm that the lack of activity is due to the code just working.
—
Reply to this email directly or view it on GitHub
https://github.com/alecthomas/injector/issues/44#issuecomment-141251598.

On a similar note, I'd like to be able instantiate all singletons when my server starts, something analogous to Guice's Stage.PRODUCTION.  Any particular reasons why it's not supported? Would you mind if I added it? I'd probably do it as a stage parameter to Injector.

I completely forgot this issue was still open :) I wouldn't be against it in principle, I'm just wondering what the actual implementation would look like.

Yeah I'm not saying it's not useful, it's the implementation I wondered about, the general case seems tricky. For example:

@singleton
SomeClass:
    pass

injector = Injector()
eagerly_instantiate_singletons(injector)

With auto_bind enabled (the default) Injector doesn't know anything about SomeClass until it's instantiated so the eager instantiation mechanism would need to actively look for classes (All loaded classes? Classes in a particular module?).
Depending on the application the easiest and the most helpful could be to do
for t in [list, of, some, known, singletons, that, can, cause, trouble]:
    injector.get(t)

at the start of your program.
BTW not sure if memory saving would work in the scenario you describe, see https://instagram-engineering.com/dismissing-python-garbage-collection-at-instagram-4dca40b29172

So for Guice it only knows about the singletons mentioned in the module or through dependencies. It would be a great start to instantiate those.

I found myself wanting this feature quite badly. I use Injector to inject my service layer in my flask (flask-rebar to be precise) controllers. Some services need to fetch external dependencies, so the first call to the API takes a big hit in performances. I will try the trick of forcing the injector to get the type, but an eager parameter in the @singleton decorator would be much cleaner.

I would like to request a feature like this as well. I would like to be able to annotate singletons so that they are automatically instantiated upon creation of the injector.
The reason is that I have a module that is to be included by many injectors that have different set of modules, and it would be nice to not need to do injector.get(MySingleton) from all the places where injectors are created.

in the meantime, I would like to share my solution:
from typing import Callable

from injector import Binder

def eager_initialize(eager_modules: list):
    def decorate_function(configure: Callable):
        def wrapper(self, binder: Binder, *args, **kwargs):
            result = configure(self, binder, *args, **kwargs)

            for module in eager_modules:
                binder.injector.get(module)

            return result

        return wrapper

    return decorate_function

You can use it as a decorator in your configure Module method, like this:
class RequestedManufacturerNameModule(Module):
    @eager_initialize([RequestedManufacturerNameService])
    def configure(self, binder: Binder) -> None:
        binder.bind(JobHandler, to=JobHandlerFactory.from_app, scope=singleton)
        binder.bind(DataframeFactory, scope=singleton)
        binder.bind(
            DataframeTransformer,
            to=RequestedManufacturerNameDataframeTransformer,
            scope=singleton,
        )
        binder.bind(RequestedManufacturerNameService, scope=singleton)
        binder.bind(
            RequestedManufacturerNameFeatureExtractor,
            to=RequestedManufacturerNameFeatureExtractor.from_app,
            scope=singleton,
        )
        binder.bind(
            RequestedManufacturerNameClassifier,
            to=RequestedManufacturerNameClassifier.from_app,
            scope=singleton,
        )

You can pass a list of eager classes to it and it should work. But, in any case, it would be way better doing so in the binder directly.

@jstasiak would you be willing to accpet @delucca implementation as a PR (including documentation update)?

@jstasiak?


Decoding Issue in RBuckets.get Function

Expected behavior
can use a different codec rather than the codec defined in config to encode and decode the object.
Actual behavior
it works when encoding, but doesn't work when decoding
Steps to reproduce or test case
        RBuckets buckets = client.getBuckets(StringCodec.INSTANCE);
        Map<String, String> items = buckets.get("buckets:A", "buckets:B", "buckets:C");

        items.put("buckets:A", "XYZ");
        items.put("buckets:B", "OPM");
        items.put("buckets:C", "123");

        buckets.set(items);
        items = buckets.get("buckets:A", "buckets:B", "buckets:C");
        Assert.assertEquals(3, items.size());
        Assert.assertEquals("XYZ", items.get("buckets:A")); // this line will be fail. because the value of this key is a byte array.

the issue should be in the CommandAsyncService.executeBatchedAsync function. when the Redis is not in cluster mode, the parameter codec is useless.
    private <T, R> RFuture<R> executeBatchedAsync(boolean readOnly, Codec codec, RedisCommand<T> command, SlotCallback<T, R> callback, String... keys) {
        if (!this.connectionManager.isClusterMode()) {
            return readOnly ? this.readAsync((String)null, command, keys) : this.writeAsync((String)null, command, keys);
        } else {
            Map<MasterSlaveEntry, List<String>> range2key = new HashMap();
            String[] var7 = keys;
            int var8 = keys.length;

            ...

Redis version
5
Redisson version
3.11.4
Redisson configuration
        config = new Config();
        config.setCodec(ByteArrayCodec.INSTANCE)
              .useMasterSlaveServers()
              .setMasterAddress("redis://xxx.aws.com:6379")
              .addSlaveAddress("redis://xxx.aws.com:6379")
              .setConnectTimeout(5000)
              .setTimeout(2000)
              .setClientName("Tester")
              .setRetryInterval(500);

        client = Redisson.create(config);

Fixed! Thanks for report


cmig is a default dir

@h1alexbel thank you for reporting this. I'll assign someone to take care of it soon.

@l3r8yJ this is your task now, please go ahead. Deadline (when this ticket should be closed) is 2023-08-28T14:29:15.660457.
Estimation here is 60 minutes, that's how much you will be paid.
Remember, you don't have to solve everything in this ticket - you can solve it partially and leave todo markers in the code, which will become future tasks.
If you have any questions don't ask me, I'm not a technical person. Open new tickets instead.
If you don't have time or simply don't want to work on this, you can always resign.


Standardization

@joshuathompson this doesn't need to be pushed in right away since @byerc and I will be adding some changes I have locally to this and we'll need to wait for updated aries to be shipped

@joshuathompson made all recommended changes. thanks for looking this over!


Sometimes can't open file

Environment

Operating System:
Vim version :version:  8.0 and newer
NERDTree version git rev-parse --short HEAD:
NERDTree settings applied in your vimrc, if any:

Process

sometimes cant open file, must restart vim to make it work

You have given no useful information we can use to recreate, let alone fix, the issue. Please include steps needed to consistently recreate the issue.

It's been two months.  Closing due to lack of feedback.


fix(api): Fix trough calibration location and add new container definitions

overview
This PR closes #1963, #1951 and #2057. The testing_database has also been updated with fail-safes put in place on the Makefile so that a user shouldn't have to manually checkout a previous copy of the testing database from the edge branch after running make test.
changelog

Fixed trough location problem
Add fail-safe to makefile so that there is a clean testing_database after all tests have run
Add container definitions for 4-in-1 tuberacks + biorad hardshell PCR plate
Remove length and width logic from the testing database

review requests
Please test on your own robot! Note that some tests have been marked as 'xfail' and we will need to fix them at some point as per #2116

Tested on Morgan-bot and young-moon with the attached protocol. Positions for multichannel in the trough are ok with and without calibration.
Things we need in future PRs:

drop_tip is crashing the head, probably a definitions issue
15_50ml test tube racks are way off, ditto.

Protocol:
from opentrons import robot, labware, instruments

tiprack = labware.load('tiprack-200ul', '4')
trough = labware.load('trough-12row', '2')

pm = instruments.P300_Multi(mount='left', tip_racks=[tiprack])

pm.pick_up_tip()
pm.aspirate(location=trough['A1'], volume=2)
robot.pause()
pm.move_to(robot.fixed_trash.top())
pm.drop_tip()

Findings from 3.0.0 with this PR added:

Trough calibration is slightly too far in +X, but still makes it in the first well in multichannel. In single channel it is dead-on. After calibration dead-on for both
96-flat: Still makes it into the well but for both multichannel and single change it is a few mm off in the +X, +Y and -Z (almost halfway down the well). After calibration it looks good for the single channel, but the multichannel is still too far right within the well. [Single channel was used to calibrate here.]
Tiprack 300ul was initially off by +4mm in X, but take note of weird behavior section for further info
Drop tip worked perfectly for single and multichannel

Weird behavior observed:

First 'clean database' had to make adjustments to certain labwares such as opentrons-tiprack-300ul
When I created a new "clean database" those adjustments seemed to persist - unclear why as I did not find any other random databases that were created.
During protocol run (only occurred once) the single channel completely missed it's tip (going in between first and second tip) after being calibrated. This same tiprack/position was used in a run just previous which was successful in picking up tips.


About the counterfactual

Hi, I read your paper and got some new experiences; I have a question about counterfactual attention, where you use random attention sampled from a uniform distribution U(0, 2). I wonder why not sampling from the Gaussian distribution from ubiquitous and intuitive considerations?  Or is there a reference for this design?

@raoyongming


content-length not in header make spyder fail

Sometimes there is no content-length, i didn't know python.
It could be nice if the download is done even without progress bar
Traceback (most recent call last):   File "script/spider.py", line 44, in main     packpub.download_ebooks(types)   File "/Users/Shared/bin/packtpub-crawler/script/packtpub.py", line 129, in download_ebooks     download_file(self.__session, download['url'], directory, download['filename'], self.__headers))   File "/Users/Shared/bin/packtpub-crawler/script/utils.py", line 63, in download_file     total_length = int(response.headers.get('content-length')) TypeError: int() argument must be a string or a number, not 'NoneType'

Hi,
please update to the latest version, until now I had no errors in the last weeks.
If happen again please give me more details on the command that you are running and C&P th complete stacktrace so that I will be able to reproduce the error.
If it happen again please reopen the issue.
Thanks


Fix Address Type position when switch Regular/Max Privacy

RPReplay_Final1609925817.MP4.zip
Text Address Type "jumping" when switch Regular/Max Privacy on Receive screen

checked

checked


Godot 4.1-dev3 Errors

4.1 is far from a stable release, so this is low priority issue.
However, these problems have popped up:
  res://addons/rmsmartshape/editors/normal_range_inspector_plugin.gd:32 - Parse Error: The function signature doesn't match the parent. Parent signature is "_parse_property(Object, Variant.Type, String, PropertyHint, String, int, bool) -> bool".
  res://addons/rmsmartshape/plugin.gd:375 - Invalid call. Nonexistent function 'new' in base 'GDScript'.

Issue created to start discussion

As evident from the error message, usage_flags in the signature of the _parse_property is expected to be int. Curiously, the documentation still claims it should be PropertyUsageFlags enum. The fix is straightforward - change usage_flags to int.
However, that won't work in 4.0, since it's expected to be PropertyUsageFlags :shrug:. Should it be considered a bug in Godot 4.1-dev?

FYI still have these notices as of 4.1-rc2

Still occurring in 4.1.1-stable

I think only some custom UI property editors are not loading properly, e.g. normal range editor. I've opened a PR with the fix - still waiting for a review.

I think only some custom UI property editors are not loading properly, e.g. normal range editor. I've opened a PR with the fix - still waiting for a review.

https://github.com/SirRamEsq/SmartShape2D/pull/126
Thanks!

Resolved by #126. Can be closed now.


Implement nats.io message bus

Description
As Carbonable I should be able to implement nats.io message bus
inorder to stream data to our users
In a file located at internal/dispatcher/nats.go implement interface EventDispatcher located in dispatcher.go
Additional Information
[Medium Difficulty  - Go - Medium Priority]
Acceptance Criteria

[ ]  nats.io message bus

Contribute to Carbonable during ODHack:
Provable environmental infra

Go to the CarbonableOD Telegram: https://t.me/carbonableOD
Present yourself and tell us which issue you want to pick
Explain shortly how you want to tackle the issue
Ask a question if you need some clarity
When you're selected you will be assigned to the issue

I'm interested in contributing to this issue :)


Migration guide : Tensorflow to Keras 3.0

@divyashreepathihalli , Can we close this PR, since changes were merged in the recent PR.


Using Netty recycler to store pub ack message in order to avoid more GC.

Motivation
If user specifies the QoS to AT_LEAST_ONCE， there would be a lot of pub ack response.
Using Netty recycler could re-use the obj and decrease the GC.

I can work on it.

Close. See Netty#11973


Update to go 1.15

Update .travis.yml for testing on Go 1.14 and 1.15

Remove unnecessary GO111MODULE env

Update README

It seems that my VSCode config is a bit glitched😅
I used Sublime instead and worked fine


infinite loop with pause

Thank you for your wonderful CSS library. It's awesome!
Can you please explain the simplest way to make "tada" infinite loop with a pause of for example 5 seconds? It is possible to achieve that without using the JS?

That's not possible with CSS only unless you'd take your time to rewrite the animations to include a pause in the keyframes that sets the animation, which is not easy or recommended at all.
The best way is to use js. Listen to the animation end (like noted on the readme), remove the class, use a setTimeout and go through the whole process again.
If you need more help with the code, please use stackoverflow, as you'll get more helpful answers there as this is an issue tracker, focused on problems and improvement of the library.

@eltonmesquita how about putting delay with combination of loop?

@WarenGonzaga, animation-delay only delays the initiation of the animation, it doesn't delay between iterations of it. Above I cited the only two ways I can think of how to achieve such thing. I honestly think there's no other way that will be much different from those ones.

@eltonmesquita I see, when can we start working on the animate.css v4 ?

Our current list for animate v4 is still a bit small, considering the library itself (excluding readme, website, docs, etc). There are somethings which I think would be nice to be added but I still couldn't propose it here.
There isn't still any clear path or even a roadmap for the new release, but it doesn't mean that the work can't be done. Feel free to get any issue with the v4 label and start working on it or even just discuss about the problem/proposal.

@eltonmesquita I created slack chat for the animate.css actually you want we can discuss there together with @daneden send me your email here<EMAIL_ADDRESS>

@konstantin83 better to use it with javascript

Any ideas how to reach this with javascript?

Listen to the animation end (like noted on the readme), remove the class, use a setTimeout and go through the whole process again.
If you need more help with the code, please use stackoverflow, as you'll get more helpful answers there as this is an issue tracker, focused on problems and improvement of the library.

Ok? Mind if I close this as it's unrelated to the library itself?


Modifier -> SwiftUI -> App extensions: widgetLabel(label:)

Doc: https://developer.apple.com/documentation/swiftui/view/widgetlabel(label:)

[ ] Swift implementation
[ ] Elixir implementation

Widgets cannot be created with LiveView Native.

We won't support this one for now


modified ldm

it will bring an error that ldm daemonset not found since the namespace of the key not set

I have modified the ldmChecking to solve the problem and committed it.

lgtm


bug: error link for Local Deployment in Contributor Guide

Current State
When I click the link of Local Deployment in Contributor Guide, but got 404 error page, the screenshot like below:

Desired State
Redirect to https://shenyu.apache.org/docs/deployment/deployment-local/

can you fix it？

can you fix it？

OK, let me try


Translations update from Weblate
Translations update from Weblate for Demo1/New Name.

@SaptakS Can you please do testing on your own repo? Polluting it here is not really needed ;-)

Sorry.