Add Jets implementation

✨ Description
We release the JETS (Jointly Training FastSpeech2 and HiFi-GAN for End to End Text to Speech) model in Amphion. JETS has a simplified training pipeline and outperforms a cascade of separately learned models. Specifically, JETS is jointly trained FastSpeech2 and HiFi-GAN with an alignment module.
How to test: see egs/Jets/README.md
Major contribution for this PR: @hansheng-zhang @chenjianzhen666 @So1a
👨💻 Changes Proposed

[ ] Add the Jets model in the tts section
[ ] Add Jets' versioin of mpd and msd in vocoders/gan/discriminator

🧑🤝🧑 Who Can Review?
@lmxue @RMSnow
✅ Checklist

[ ]  Code has been reviewed
[ ]  Code complies with the project's code standards and best practices
[ ]  Code has passed all tests
[ ]  Code does not affect the normal use of existing features
[ ]  Code has been commented properly
[ ]  Documentation has been updated (if applicable)
[ ]  Demo/checkpoint has been attached (if applicable)

Thanks for the contribution! Some questions

I notice that you add msd and mpd implementations for jets, instead of using existing ones. Is it possible to reuse existing discriminators to improve readibility?
If some codes are reference other repos, please make sure to add acknowledgements in the readme, and on the top of each file.
Demos of your reproduction demos would be welcomed.

Original mpd and msd use y_hat and other variables while our's do not. Reuse may cause change in the original code, so we prefer to add JETS' version of mpd and msd.
I have added some more acknowledgement in the code. Copyright of JETS is at the end of readme.
Here're some demos. I used LJSpeech and trained for about 250 epochs.
demo.zip


New release 1.2.1 shouldn't have been called a patch

Hi. Thanks for working on this.
The previous release was over two years ago, and some changes were made in the intervening time to insert a QueryUnescape call in for parameters.
When we upgraded to the latest release, it broke some things. Can I suggest that you delete 1.2.1 and rename it to 1.3 to save other people from this?

It should be fixed


Remove usage of deprecated header boost/detail/iterator.hpp

This header was deprecated in favor of <iterator>. It generates compiler warnings and will be removed in a future release.

LGTM.

Ping? It would be nice to have this in master as well before 1.74.


JSON schema installation

Optional argument to webviz schema to auto-install in selected editors (e.g. VS Code):

Replaced by https://github.com/equinor/webviz-awesome/pull/2 + #369.


[DC-2261] [Cleaning Rule] Remove participants from fitbit datasets who are not in the combined dataset

@nishanthpp93 Thanks for your time yesterday! For the __init__() got multiple values for argument error we faced yesterday, I found out that we needed to add tablenamer=None to  init . Otherwise, our additional argument (reference_dataset_id for example) are loaded twice: Once as 4th parameter and the second time as reference_dataset_id=xyz. The debugging is not showing errors anymore, so it looks good on my end.
Here is the related StackOverflow link: https://stackoverflow.com/questions/21764770/typeerror-got-multiple-values-for-argument

Thanks for checking, @nishanthpp93 ! I updated the unit test accordingly.


Added metadata arg to make_declarative_base

This is to fix a compatibility issue with the latest released version of Flask-SqlAlchemy.
The method SQLAlchemy.make_declarative_base has changed signature: now it takes 1 argument which is an instance of the metaclass. This method is called in the __init__ method of the SQLAlchemy object:
class SQLAlchemy(object):
        def __init__(self, app=None, use_native_unicode=True, session_options=None, metadata=None):
                [...]
                self.Model = self.make_declarative_base(metadata)
                [...]

The Alchy class inherits from this one: in order to make it work we have to change its own implementation of  make_declarative_base accordingly.
This PR is intended to be committed together with Alchy PR #29

:+1:

Thanks for this :+1:!

FYI, looks like Flask-SQLAlchemy v3.0.0 is adding model_class and query_class arguments: https://github.com/mitsuhiko/flask-sqlalchemy/blob/095f19a177744f2077092d13affe90acd56faff4/CHANGES#L12
Once those changes are released, it will make this project somewhat obsolete. With that in mind, I'm leaning towards deprecated this project once that happens.

I've released this as v0.5.0: https://pypi.python.org/pypi/Flask-Alchy/0.5.0

Deprecating likely makes sense, although Flask-SQLAlchemy development moves quite slowly... 3.0 may not be for a year or more at the current rate as I know the goal is to make a lot more SQLAlchemy components swappable...


Any imported GLTF model switches engine to EEVEE

Describe the bug
Any imported GLTF model switches render engine to EEVEE.
To Reproduce
Steps to reproduce the behavior:

Open Blender
Switch render engine to Cycles
Import any GLTF model / scene
Check render engine

Expected behavior
Render engine shouldn't be switched to EEVEE.
Version

OS: Windows 10 64-bit
Blender Version:

Hello,
This was, at first, something intentional (based on 2.79 where we switch to Cycles), but OK, this is maybe time to enhance that and keep the render engine of user).
Setting this as enhancement, this is something quite easy to implement.
Thanks

Fixed in 2fbc5ab3d8ef2eeac4968f9bd89123b27f30bb42


I know that, by design, zoom is disabled when the image is too small, but we have a case where we'd like the user to zoom even if it will downgrade image quality.
Would it be possible?

You can use 'maxZoom'
$('.image-editor').cropit({       maxZoom: 1.5,    });


Translation Help

If you are a native speaker of any language not yet supported or want to improve the translations, please do so and leave a pull request.
You can use the en.json Translation File as a template.
Thank You!

I'm working on the Italian translation. Just waiting to test it on my side before committing it. I'm saying this to avoid duplicating work.

Dutch translation!


[SPARK-30668][SQL][FOLLOWUP] Raise exception instead of silent change for new TimestampFormatter

What changes were proposed in this pull request?
This is a follow-up work for #27441. For the cases of new TimestampFormatter return null while legacy formatter can return a value, we need to throw an exception instead of silent change. The legacy config will be referenced in the error message.
Why are the changes needed?
Avoid silent result change for new behavior in 3.0.
Does this PR introduce any user-facing change?
Yes, an exception is thrown when we detect legacy formatter can parse the string and the new formatter return null.
How was this patch tested?
Extend existing UT.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/22964/
Test PASSed.

Test build #118205 has started for PR 27537 at commit 4679600.

Test build #118205 has finished for PR 27537 at commit 4679600.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/118205/
Test FAILed.

Test build #118271 has started for PR 27537 at commit b9b3c8f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23030/
Test PASSed.

Test build #118271 has finished for PR 27537 at commit b9b3c8f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/118271/
Test PASSed.

@xuanyuanking can you fix the conflicts?

Sure, will also reuse the LegacyBehaviorPolicy added in #27579

Test build #118754 has started for PR 27537 at commit c07d09d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23505/
Test PASSed.

Test build #118754 has finished for PR 27537 at commit c07d09d.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/118754/
Test FAILed.

cc @MaxGekk

Test build #118846 has started for PR 27537 at commit 86313e5.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23594/
Test PASSed.

Test build #118846 has finished for PR 27537 at commit 86313e5.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/118846/
Test FAILed.

Test build #118856 has started for PR 27537 at commit 6f51b13.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23605/
Test PASSed.

Test build #118856 has finished for PR 27537 at commit 6f51b13.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/118856/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23768/
Test PASSed.

Test build #119021 has started for PR 27537 at commit cc9fd4f.

Test build #119021 has finished for PR 27537 at commit cc9fd4f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119021/
Test FAILed.

Test build #119034 has started for PR 27537 at commit addfccc.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23781/
Test PASSed.

Test build #119035 has started for PR 27537 at commit 5f28f5b.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23782/
Test PASSed.

Test build #119034 has finished for PR 27537 at commit addfccc.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119034/
Test FAILed.

Test build #119035 has finished for PR 27537 at commit 5f28f5b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119035/
Test PASSed.

Test build #119170 has started for PR 27537 at commit fbac26d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23912/
Test PASSed.

can we add tests for this fail-by-default behavior for json/csv data sources? (not sql functions)

Test build #119170 has finished for PR 27537 at commit fbac26d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119170/
Test PASSed.

Test build #119229 has started for PR 27537 at commit fa6e5fc.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/23968/
Test PASSed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119229/
Test FAILed.

Test build #119268 has started for PR 27537 at commit 46dbf9b.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24007/
Test PASSed.

Test build #119268 has finished for PR 27537 at commit 46dbf9b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119268/
Test PASSed.

Test build #119299 has started for PR 27537 at commit 1a92e0f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24040/
Test PASSed.

Test build #119306 has started for PR 27537 at commit 0e543da.

Test build #119299 has finished for PR 27537 at commit 1a92e0f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24046/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119299/
Test PASSed.

Test build #119306 has finished for PR 27537 at commit 0e543da.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119306/
Test FAILed.

Test build #119355 has started for PR 27537 at commit d01c750.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24092/
Test PASSed.

Test build #119355 has finished for PR 27537 at commit d01c750.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119355/
Test PASSed.

thanks, merging to master/3.0!

Thanks for the review!


Enable yarn's 'workspaces-experimental'

I had been receiving
'error The workspace feature is currently experimental and needs to be
manually enabled - please add "workspaces-experimental true" to your
.yarnrc file.'
So I added 'RUN yarn config set workspaces-experimental true' right
after the installation of yarn, and the error did not appear on next
runtime.
resolves: #18

I think there are a lot more issues with this repo than just this, so I'm going to close my own pull request here; this issue probably comes from larger versioning issues.


Update README.md

Added Brass TestFlight https://apps.apple.com/us/app/brass-custom-app-icons/id1533158013

Thanks


fix(fromEvent): don't enumerate valid sources

Description:
This PR adds a failing test and moves the check for a length property on the event source to last place - after the checks for DOM, JQuery and Node event sources.
It fixes the problem with using fromEvent on window - which has a length property.
Related issue (if exists): #3578

Coverage remained the same at 96.476% when pulling<PHONE_NUMBER>b5940c8e33b9aa092678fa12b00b7b on cartant:issue-3578 into c23d5d69c26738e98229fa3c4e92d2d6e89a884e on ReactiveX:master.

Nice! Thanks, @cartant!


west: gui: Updated lvgl revision

Updated lvgl revision to take in fix for 16-bit color space swap.
Fixes #17816

@vanwinkeljan please update the ref to a SHA

please update the ref to a SHA

@carlescufi done

please update the ref to a SHA

@carlescufi done

thanks, will merge as soon as CI passes

@vanwinkeljan can you rebase this to the latest master please? I think there's a CI failure that has been fixed


Add shift view can display a 'Time Format' hint

Current view of add shift doesn't indicate to the user the time format that needs to be followed in order to create a valid shift (hh:mm). If a simple hint or help line is added, a lot of users wont need the error messages to write the start/end times properly.

These are the two options I propose:

Option 1: * Time format -> hh:mm
Option 2: hh:mm

Please use patternfly styles:
http://www.patternfly.org/pattern-library/forms-and-controls/forms/#_

A way to select hours could be great too

Y esto http://www.patternfly.org/pattern-library/forms-and-controls/time-picker/#_code ?

That is really really cool

updated with this form and control, so the user selects it graphically


However I'm quite fond of the semicolon-free coding style and do not plan to support build tools that cannot handle them.
My recommendation is to use UglifyJS2 or to use the provided minified file, which does include semicolons.

See also #17


Fix #523

Title and Issue number

Title : New project
Issue No. : #523
Code Stack : React, MongoDB, Express, Node.js , Bootstrap , Firebase, javascript
Close #523

Video (mandatory)
https://clipchamp.com/watch/pQTE5DoQ8Lw

Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have created a helpful and easy to understand README.md
[X] I have updated the projectData.json file for my contribution
[X] I have added the img of my project in the assets/img section

Additional context (Mandatory )
Are you contributing under any Open-source programme?

Codepeak '23

Please award bonus points for the comprehensive tech stack utilized, which greatly enhances the project's quality.

please also add level ( hard if you like the project  :} ). Thank you


When will "Supports VB ##.#" be included in the .NET Core release information?

I can see many useful VB runtime members and windows desktop related VB templates have been ported to .NET Core 3.0 . But VB is still not listed in the release information page . I want to know when can we see "Supports VB 16.0-preview" in the release information.

@leecow @KathleenDollard this is feedback on what's on https://dotnet.microsoft.com/download/dotnet-core/3.0 page

We do have a place for the information in the data which drives the site but need to get more consistent with including updates. I'll work with @rowanmiller to have it surfaced on the release pages.


docs: enable DocSearch

anywidget was accepted for DocSearch program! This PR enables their search on the website. It's appears that it's fine to keep the Algolia API keys in the repo (Astro and Vite both do this).

https://user-images.githubusercontent.com/24403730/215651188-4e9674b5-dcf3-41e5-8f23-9ede15f395f0.mov


Investigate nesting

st = raw"""
    Some code
    @@colbox-yellow
    blah `quote` and done
    @@
    done
    """ * JuDoc.EOS

leads to

Some code
blah  quote and done
\n quote and done @@ done
\n

so doubling up, again this may be a case of deactivating and reactivating, either way it's not doing what it should but further than just fixing this one, it's good to maybe do a bunch of tests around encapsulation of div blocks or latex commands and check everything works.

In a similar vein,
~~~ will fail (no closing found) where it should disable the internal token

One way or another the ordering will cause issues, so basically it seems like we should not have errors if we can't find something? this needs some thinking...
Etc and `~~~` will fail ~~~`~~~ then.

This will cause problem if ESCAPE is before INLINE and vice versa.
It seems that an alternative is to do a first pass attempting to close stuff and then a secondary pass. But of course this will likely be a crappy edge case

 aaa `~~~` and `~~~` bbb
aaa ~~~`~~~ and ~~~`~~~ bbb

That's likely not purely solvable (at least I can't see how just now), so can just say that user shouldn't mix those and that ~~~ will have priority over backticks and that  this `~~~` ... will throw an error (but should be a fairly special case).

For the first command, everything happening within a div should be removed so
@@dd but `x` and `y` @@

here the stack to insert includes both the div block but also the inline code where these should have been deactivated by the div.


Generator: Update SDK /services/dns

Generated from GitHub run<PHONE_NUMBER>3

There is a newer PR with same changes. https://github.com/stackitcloud/stackit-sdk-go/pull/991


[raz] Only use Anonymous auth handler and disable fetching instance metadata

What changes were proposed in this pull request?

(Please fill in changes proposed in this fix)

How was this patch tested?

(Please explain how this patch was tested. Ex: unit tests, manual tests)
(If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)

Please review Hue Contributing Guide before opening a pull request.

@Harshg999 I think we can close this one.


XIVY-5214 inject 'accountId' from restClientConfig

rather than re-declaring it on each and every RestClientCall activity.

depends upon sprint release 21, respectively https://bitbucket.org/axonivy-prod/ivy-core/pull-requests/3335


Skip the overhead of negative index tests when using an unsigned index

This improves performance when using indirect indexing, as reported in http://article.gmane.org/gmane.comp.python.numba.user/362

Just ran this through the performance example in my newsgroup post and this makes the performance with unsigned integers just as fast as for signed integers with the bounds check. Thanks!

as a side task, we should add a benchmark for this case to https://github.com/numba/numba-benchmark

we should add a benchmark for this case

Do you think the grouped sum example is representative enough, or can you think of something more realistic?

I think that example would be good.  It's fairly short but highlights the issue.

Is this still WIP?

I've added the benchmark in https://github.com/numba/numba-benchmark/commit/ef41bf153dcceaf4de2995361f1724562feead51

Not really WIP, no. I thought that we might review the other uses of indexing but we can just as well merge this PR as is.

Looks like this needs a merge with master again.

For future reference, llvm.assume (llvm 3.6 feature) may help as well.


ver 1.0.3 framework7.js search form bug

The search form elements cannot perform animation, the cancel button is missing. When I rollback to ver 1.0.2, that seems alright.

Please, look at change log and new search bar docs

You probably just need to add "searchbar-init" to your searchbar


RUST-3 Sprint task

r? @dirvine
(maidsafe_highfive has picked a reviewer for you, use r? to override)

r? @Viv-Rajkumar

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks pending.

Comments from the review on Reviewable.io


Add levelled logging to kpt.

Add levelled logging to kpt command. This will allow users to get debugging information (by level) while running these commands. This would be similar to -v=<NUMBER> in kubectl. We have initially agreed to use klog package.

We should also make sure this will allow us to output all logging to StdErr. For UIs that rely on in-place updates, it is important to be able to direct logs to a different place than the normal output.

Implemented with: https://github.com/kubernetes-sigs/cli-utils/pull/161


TextLineDataset stops after first segment of multiple gzip'ed files concatenated together

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Debian sid
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): source
TensorFlow version (use command below):v1.12.1-38511-ge95a955af8 2.4.0
Python version: 3.8.5
Bazel version (if compiling from source): 3.7.0
GCC/Compiler version (if compiling from source):  10.2.0
CUDA/cuDNN version: N/A
GPU model and memory: N/A

Describe the current behavior
Creating a TextLineDataset with the 'GZIP' compression type stops returning lines if the datafile consists of multiple gzipped files concatenated together.  This method of concatenating compressed files is explicitly called out in the gzip manpage as supported behavior.  And indeed, zcat, gunzip, and others do return all the uncompressed data.  Even Python's gzip.decompress() method does so, so it is confusing that Tensorflow does not.  The alternative is to decompress the files, concatenate them, then recompress, but this is undesirable due to the time required.
Standalone code to reproduce the issue
#!/usr/bin/python3

import tensorflow as tf
import gzip

f = open('data.gz', 'wb')
for i in range(10):
        line = str(i) + '\n' + str(i + 100) + '\n'
        f.write(gzip.compress(line.encode('utf-8')))
f.close()

ds = tf.data.TextLineDataset('data.gz', compression_type='GZIP')
for i in ds:
        print(i)

tf.Tensor(b'0', shape=(), dtype=string)
tf.Tensor(b'100', shape=(), dtype=string)
This only returns 2 of the 20 expected items.

I have tried in colab with TF 2.4, nightly version (2.5.0-dev20201123) and was able to reproduce the issue.Please, find the gist here. Thanks!


tsserver Error when Go to Definition in VSCode

TypeScript Version:  typescript@next (2.4.0-dev.20170510)
Code
When enable VSCode setting "typescript.tsserver.trace": "verbose", and I tried to go to definition in my react project file, the logs are below.
[Info  - 7:01:56 PM] Using tsserver from: /Users/blanu/.config/yarn/global/node_modules/typescript/lib/tsserver.js
[Info  - 7:01:56 PM] TSServer log file: /var/folders/fw/2qk8yy7935d68q1ctphcq9rr0000gn/T/vscode-tsserver-log-3QG2Lk/tsserver.log
[Error - 7:02:23 PM] 'definition' request failed with error.
Error processing request. Cannot read property 'name' of undefined
TypeError: Cannot read property 'name' of undefined
    at createDefinitionInfo (/Users/blanu/.config/yarn/global/node_modules/typescript/lib/tsserver.js:63970:53)
    at Object.getDefinitionAtPosition (/Users/blanu/.config/yarn/global/node_modules/typescript/lib/tsserver.js:63861:25)
    at Object.getDefinitionAtPosition (/Users/blanu/.config/yarn/global/node_modules/typescript/lib/tsserver.js:72058:38)
    at IOSession.Session.getDefinition (/Users/blanu/.config/yarn/global/node_modules/typescript/lib/tsserver.js:77189:64)
    at Session.handlers.ts.createMapFromTemplate._a.(anonymous function) (/Users/blanu/.config/yarn/global/node_modules/typescript/lib/tsserver.js:76748:61)
    at /Users/blanu/.config/yarn/global/node_modules/typescript/lib/tsserver.js:78041:88
    at IOSession.Session.executeWithRequestId (/Users/blanu/.config/yarn/global/node_modules/typescript/lib/tsserver.js:78032:28)
    at IOSession.Session.executeCommand (/Users/blanu/.config/yarn/global/node_modules/typescript/lib/tsserver.js:78041:33)
    at IOSession.Session.onMessage (/Users/blanu/.config/yarn/global/node_modules/typescript/lib/tsserver.js:78061:35)
    at Interface.<anonymous> (/Users/blanu/.config/yarn/global/node_modules/typescript/lib/tsserver.js:79242:27)

Another try gives different error info:
After turn off Occurrences Highlight ( "editor.occurrencesHighlight": false ), only error above will occur.
Expected behavior:
Go to definition place in VSCode
Actual behavior:
Result no definition.

Also seeing this error. It appears to be limited to GTD when the cursor is on JSX elements, where the component is imported from another file, and only when that component is defined as an ES6 class. E.g.:
test.js
import React from 'react';
import C from './C';

const foo = <C />;

C.js
import React from 'react';

export default class C extends React.Component {
  render() {
    return
Hello, World
;
  }
}

Thanks @andy-ms!

Upgraded Code to 1.13.0 but still face the problem.

@iddan Could you try installing typescript@next and settings typescript.tsdk to point to that?

I currently don't have typescript installed. So I guess I'll just have to wait for this update to get to Code.


Open code in IDE from lab notes

Improved UX ideas:

click on button/link in lab notes and open existing file in IDE.
click on snippet and add it to existing file (e.g. adding a @GetMapping)
more complex things (e.g. adding a @RestContoller annotation to an existing class, and organizing imports)

Now that we have the first bullet point covered, we can move onto second one. I might also want to split this up into separate tickets. Especially the 3rd bullet point as it might be a lot more difficult / challenging to implement.
As to the second one:

click on snippet and add it to existing file (e.g. adding a @GetMapping)

That probably isn't too hard to do. Most challening part of this is probably more in the 'desing' of it than the actual implementation. What I mean is... we have to think a little bit on how this ought to work from workshop author point of view. In particular... how does can/should the workshop author indicate the location at which the snippet is to be inserted? The most obvious idea would be a specigying the exact line + column in the file. However, I fear this might be somewhat too fragile when the user might have already made some changes to the file. Then, the location infos in the worksshop might not line up anymore and end up 'pasting' the snippet in the wrong place.

click on button/link in lab notes and open existing file in IDE.

@dsyer I just merged this into master from: https://github.com/eduk8s-tests/lab-spring-boot-k8s-getting-started/pull/7#issue-443771892 so you can try it out. There's some example links at the top of 'intro.md'.

The example seems to work, but not sure why it opens the Dockerfile on a random line. Would it be possible to specify the line number (and default to line 1)?

opens the Dockerfile on a random line

It opens on the line number 5 as specified in the 'render snippet in markdown:
{% render "code-server/open-file-widget.liquid", file: "/home/eduk8s/Dockerfile", lineno: 5 %}
                                                                                ^^^zero-based line number

... mind you the line number is 'zero based', same as vscode API. Perhaps the 'zero-based' index is what made it look 'random' (line number 6 instead of 5?). Or is it really not working at all?
Note: ofcourse we could just substract 1 from the parameter being passed into our vscode extension if that seems more logical.

I update our extension so that line nrs now starts at 1: https://github.com/eduk8s/eduk8s-vscode-helper/commit/10fbb8b30aa2c5d1445f5d9daadcf8aab5713ea9
Tested it a bit on our own eduk8s cluster and seems to work.

The second bullet point:

click on snippet and add it to existing file (e.g. adding a @GetMapping)

... is also implemented. Works on our (tools team) cluster, and I've merged this into master of this sample. So it should show up on main eduk8s instance as well in due course (I still don't fully understand how this 'pipeline' that makes it show up actually works, so not sure how / when it will show up. Might need someone to kick something to flush out stale sessions, portals, pods or what have you.
In the mean time, can try it here: http://lab-spring-boot-k8s-gs-ui.training.eduk8s.springapps.io/workshops/catalog/
The way it works (from workshop author point of view) is as in this example:
https://raw.githubusercontent.com/eduk8s-tests/lab-spring-boot-k8s-getting-started/master/workshop/content/intro.md
You create a <pre> element and put the pastable text inside. The functionality also needs two additional bits of info to be able to function.

what file to paste into. This Indicated by adding a attribute data-file to the <pre> tag.
whereabout in the file to paste. This is indicated by adding a data-prefixattribute.

The prefix is just a string that the paste function will look for in the file. If it finds the string, then the text will be pasted on the following line containing that string. If string is not found, paste text is appended to end of the file instead.

For the time being I propose we do not explore into more complex stuff (organize imports is not obvious how it can be done, vscode itself doesn't understand java, so... it is a bit hard to do this).

VSCode has a keyboard shortcut for “organize imports” so what do you mean when you say it doesn’t understand it? Surely we could ping that if we can ping the initializer wizard?

what do you mean when you say it doesn’t understand it?

The vscode-extension has access to vscode-api. Vscode itself doesn't know anything about Java, there is another vscode-extension that does. But there's no easy way/principled api for one extension to talk to another.
If we really really want to, I'm sure we can figure something out, but it could be very complex to hack up something like that. It depends a bit though, maybe it is as easy as finding a suitable 'command' regsirered by Java extension and trigger its execution somehow.

VSCode has a keyboard shortcut for “organize imports”

Actually, that's a good point, I think it means there's a 'command' for orgnize imports. It's not 'part of vscode' but its a command registered by the java extension. However, vscode does have api to execute commands, so that would probably work.

Earlier today in Zoom we discussed that it would be nice to specifically support some strategy for 'autopasting' yaml snippets. I imagine something where the desired location of the snippet would be given by a 'access path expression'. Something like like spec.template.containers[0] could be used to point a specific node in the yaml structure. This node can then be used as a 'reference' point to insert new text into the node as a 'child' or after of before the node as a 'sibling'. Details to be worked out.
A typescript/javascript library to parse yaml into a AST that carries position information will probably be needed to implement this. This looks like a good candidate: https://eemeli.org/yaml/#yaml

@dsyer A first attempt at a 'yaml specific' paste in editor. I saw that you cleaned house a bit in the 'intro.md' so rather than polute this again with our IDE experiemental cruft... I've placed this in separate markdown file now: https://github.com/eduk8s-tests/lab-spring-boot-k8s-getting-started/blob/master/workshop/content/playground.md
You can create a 'yaml auto paste' section like so:
<pre class="pastable" data-file="/tmp/deploy.yml" data-yaml-path="spec.template.spec.containers">
- name: another-container
  image: blah
  ports:
  - containerPort: 6677
</pre>

Works similar to other auto-paste snippets, but this one points to a location in a existng yaml file via a path of property names separated by .. You can also use [<integer>] to pointing at a element of a sequence. The paste snippet will be indented automatically to align with the existing children of the node pointed at.

@dsyer If you have chance to try out the yaml path 'auto paste'... feedback is welcome. Especially as currently only implemented one of several potential variants (i.e insert at start of node pointed at, where alternatives could be 'at-start' / ''at-end' / 'before' / 'after'. So curious to know if the current variant is good enough, or if we should implement all or some of the other variants as well.

Looks good. I think we might eventually need a "replace-node" as well as an "insert-at-start-of-node". But this is great for now. Thanks.


ERROR: No .egg-info directory found when install with pip

...ERROR: No .egg-info directory found, it appeared when I was installing cellrank with pip

...!pip install cellrank

...Collecting cellrank
  Using cached cellrank-2.0.4-py3-none-any.whl.metadata (8.0 kB)
Requirement already satisfied: anndata>=0.9 in d:\anaconda\lib\site-packages (from cellrank) (0.10.5.post1)
Requirement already satisfied: docrep>=0.3.0 in d:\anaconda\lib\site-packages (from cellrank) (0.3.2)
Requirement already satisfied: joblib>=0.13.1 in d:\anaconda\lib\site-packages (from cellrank) (1.2.0)
Requirement already satisfied: matplotlib>=3.5.0 in d:\anaconda\lib\site-packages (from cellrank) (3.7.2)
Requirement already satisfied: networkx>=2.2 in d:\anaconda\lib\site-packages (from cellrank) (2.8.8)
Requirement already satisfied: numba!=0.57.0,>=0.51.0 in d:\anaconda\lib\site-packages (from cellrank) (0.59.1)
Requirement already satisfied: numpy>=1.22.0 in d:\anaconda\lib\site-packages (from cellrank) (1.26.4)
Requirement already satisfied: pandas>=1.5.0 in c:\users\xuanjiechen\appdata\roaming\python\python311\site-packages (from cellrank) (2.2.2)
Requirement already satisfied: pygam>=0.8.0 in d:\anaconda\lib\site-packages (from cellrank) (0.9.1)
Collecting pygpcca>=1.0.4 (from cellrank)
  Using cached pygpcca-1.0.4-py3-none-any.whl.metadata (10 kB)
Requirement already satisfied: scanpy>=1.7.2 in d:\anaconda\lib\site-packages (from cellrank) (1.10.1)
Requirement already satisfied: scikit-learn>=0.24.0 in d:\anaconda\lib\site-packages (from cellrank) (1.3.0)
Requirement already satisfied: scipy>=1.2.0 in d:\anaconda\lib\site-packages (from cellrank) (1.11.1)
Collecting scvelo>=0.2.5 (from cellrank)
  Using cached scvelo-0.3.2-py3-none-any.whl.metadata (8.6 kB)
Requirement already satisfied: seaborn>=0.10.0 in d:\anaconda\lib\site-packages (from cellrank) (0.13.2)
Requirement already satisfied: wrapt>=1.12.1 in d:\anaconda\lib\site-packages (from cellrank) (1.14.1)
Requirement already satisfied: array-api-compat in d:\anaconda\lib\site-packages (from anndata>=0.9->cellrank) (1.4.1)
Requirement already satisfied: h5py>=3 in d:\anaconda\lib\site-packages (from anndata>=0.9->cellrank) (3.9.0)
Requirement already satisfied: natsort in d:\anaconda\lib\site-packages (from anndata>=0.9->cellrank) (8.4.0)
Requirement already satisfied: packaging>=20 in d:\anaconda\lib\site-packages (from anndata>=0.9->cellrank) (23.1)
Requirement already satisfied: six in d:\anaconda\lib\site-packages (from docrep>=0.3.0->cellrank) (1.16.0)
Requirement already satisfied: contourpy>=1.0.1 in d:\anaconda\lib\site-packages (from matplotlib>=3.5.0->cellrank) (1.0.5)
Requirement already satisfied: cycler>=0.10 in d:\anaconda\lib\site-packages (from matplotlib>=3.5.0->cellrank) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in d:\anaconda\lib\site-packages (from matplotlib>=3.5.0->cellrank) (4.25.0)
Requirement already satisfied: kiwisolver>=1.0.1 in d:\anaconda\lib\site-packages (from matplotlib>=3.5.0->cellrank) (1.4.4)
Requirement already satisfied: pillow>=6.2.0 in d:\anaconda\lib\site-packages (from matplotlib>=3.5.0->cellrank) (9.4.0)
Requirement already satisfied: pyparsing<3.1,>=2.3.1 in d:\anaconda\lib\site-packages (from matplotlib>=3.5.0->cellrank) (3.0.9)
Requirement already satisfied: python-dateutil>=2.7 in d:\anaconda\lib\site-packages (from matplotlib>=3.5.0->cellrank) (2.8.2)
Requirement already satisfied: llvmlite<0.43,>=0.42.0dev0 in d:\anaconda\lib\site-packages (from numba!=0.57.0,>=0.51.0->cellrank) (0.42.0)
Requirement already satisfied: pytz>=2020.1 in d:\anaconda\lib\site-packages (from pandas>=1.5.0->cellrank) (2023.3.post1)
Requirement already satisfied: tzdata>=2022.7 in d:\anaconda\lib\site-packages (from pandas>=1.5.0->cellrank) (2023.3)
Requirement already satisfied: progressbar2<5.0.0,>=4.2.0 in d:\anaconda\lib\site-packages (from pygam>=0.8.0->cellrank) (4.4.2)
Collecting jinja2==3.0.3 (from pygpcca>=1.0.4->cellrank)
  Using cached Jinja2-3.0.3-py3-none-any.whl.metadata (3.5 kB)
Requirement already satisfied: MarkupSafe>=2.0 in d:\anaconda\lib\site-packages (from jinja2==3.0.3->pygpcca>=1.0.4->cellrank) (2.1.1)
Requirement already satisfied: legacy-api-wrap>=1.4 in d:\anaconda\lib\site-packages (from scanpy>=1.7.2->cellrank) (1.4)
Requirement already satisfied: patsy in d:\anaconda\lib\site-packages (from scanpy>=1.7.2->cellrank) (0.5.3)
Requirement already satisfied: pynndescent>=0.5 in d:\anaconda\lib\site-packages (from scanpy>=1.7.2->cellrank) (0.5.11)
Requirement already satisfied: session-info in d:\anaconda\lib\site-packages (from scanpy>=1.7.2->cellrank) (1.0.0)
Requirement already satisfied: statsmodels>=0.13 in d:\anaconda\lib\site-packages (from scanpy>=1.7.2->cellrank) (0.14.0)
Requirement already satisfied: tqdm in d:\anaconda\lib\site-packages (from scanpy>=1.7.2->cellrank) (4.65.0)
Requirement already satisfied: umap-learn!=0.5.0,>=0.5 in d:\anaconda\lib\site-packages (from scanpy>=1.7.2->cellrank) (0.5.5)
Requirement already satisfied: threadpoolctl>=2.0.0 in d:\anaconda\lib\site-packages (from scikit-learn>=0.24.0->cellrank) (3.5.0)
Collecting loompy>=2.0.12 (from scvelo>=0.2.5->cellrank)
  Using cached loompy-3.0.7.tar.gz (4.8 MB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
ERROR: No .egg-info directory found in

Versions:

...Not applicable

I cannot reproduce the error. I suggest you try installing it without cached information.


Migrate publishing dialog field resets to use Stimulus

Fixes #11029
Complete the migration process for publishing field resets to stimulus controller
Please check the following:

[x] Do the tests still pass?[^1]
[x] Does the code comply with the style guide?

[x] Run make lint from the Wagtail root.

[x] For Python changes: Have you added tests to cover the new/fixed behaviour?
[ ] For front-end changes: Did you test on all of Wagtail’s supported environments?[^2]

[ ] Please list the exact browser and operating system versions you tested:
[ ] Please list which assistive technologies [^3] you tested:

[ ] For new features: Has the documentation been updated accordingly?

Please describe additional details for testing this change.
[^1]: Development Testing
[^2]: Browser and device support
[^3]: Accessibility Target

@lb- It was a tough one, but this is what I've got so far.

Code looks good thank you, I'll do some manual testing soon. Thanks so much for working through this @Chiemezuo - I hope you've enjoyed the process and the chance to learn about a range of code in Wagtail.

@lb- I thoroughly enjoyed myself. I got the tests wrong a number of times, but I got to learn something new each time. It also helped that you pointed me in the right direction. Big thanks!!

I'll look through the issues. Is there any non-js one you'd particularly like me to try, though?

I'll ping you in Slack. Thanks again.


[Spanish Phonemizer] Fixed consonant transition issue & added new functions

Consonant transition issues got fixed.
Now supports VCV with more than one consonant if the voicebank has it.
Supports "consonant VCV", e.g. [n da], [l ba] etc. if the voicebank has it.
Consonant transition adjustment

TODO: make VCV with "ny" work automatically as a substitute for "nh" if the voicebank has it, instead of always falling back to CVVC.

Found an error, my apologies.


Work around podman/runc bug

Works-around: https://github.com/ceph/ceph-salt/issues/130
Signed-off-by: Ricardo Marques<EMAIL_ADDRESS>

Codecov Report

Merging #134 into master will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #134   +/-   ##
=======================================
  Coverage   77.93%   77.93%
=======================================
  Files          10       10
  Lines        2116     2116
=======================================
  Hits         1649     1649
  Misses        467      467

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 71c823d...ac56d1d. Read the comment docs.


On Rebalance, Consumers won't be move till next message?

One of the interesting issues I've seen is that when a consumer group member starts watching a partition - it may not actually start working against that partition until the next message is sent - even if the partition has data.
i.e.  Partition X - End offset = 256
Consumer joins with startingOffset -2 - at position 0. It won't then read the 256 pre-existing messages until we've pushed a message #257 into the queue.
Is this a setting that's controlled via a flag?

Can you replicate this? Is there full output log?

Do you just need the logs from this with NSL_LEVEL=5?  Or something else?
I can arrange it Monday. Interestingly we've also observed during this scenario that some of the partition consumers don't actually ever start. They just keep showing in the Kafka manager as having not started at all.
Sent from my iPhone

On 6 Aug 2016, at 18:51, Oleksiy Krivoshey<EMAIL_ADDRESS>wrote:
Can you replicate this? Is there full output log?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

They just keep showing in the Kafka manager as having not started at all.

Maybe because there are more consumers than partitions?

100 partitions, issue manifested with 1 consumer and whilst some partitions seemed to come to life as I added a few more consumers in rancher - there was always a few that stayed at -1/not started. (-1 in kafka-manager just means there was no consumed offset stored for that consumer group/partition)
Interestingly if I just blow away the whole group and start the processes anew with a different groupId then it is sometimes ok.
Sent from my iPhone

On 6 Aug 2016, at 19:15, Oleksiy Krivoshey<EMAIL_ADDRESS>wrote:
They just keep showing in the Kafka manager as having not started at all.
Maybe because there are more consumers than partitions?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Here's all I've got from the output with NSL_LEVEL=5
8/8/2016 8:05:05 AM
8/8/2016 8:05:11 AM2016-08-07T22:05:11.868Z INFO worker-engine Joined group worker-group-operations-06 generationId 2 as worker-engine-cb247076-f4d9-49a6-8597-17daef4ef698
8/8/2016 8:05:11 AM2016-08-07T22:05:11.935Z DEBUG worker-engine Subscribed to events:67 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.936Z DEBUG worker-engine Subscribed to events:46 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.936Z DEBUG worker-engine Subscribed to events:22 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.938Z DEBUG worker-engine Subscribed to events:94 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.938Z DEBUG worker-engine Subscribed to events:55 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.938Z DEBUG worker-engine Subscribed to events:40 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.939Z DEBUG worker-engine Subscribed to events:79 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.939Z DEBUG worker-engine Subscribed to events:16 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.939Z DEBUG worker-engine Subscribed to events:97 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.942Z DEBUG worker-engine Subscribed to events:76 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.942Z DEBUG worker-engine Subscribed to events:88 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.943Z DEBUG worker-engine Subscribed to events:58 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.943Z DEBUG worker-engine Subscribed to events:82 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.944Z DEBUG worker-engine Subscribed to events:13 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.944Z DEBUG worker-engine Subscribed to events:64 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.944Z DEBUG worker-engine Subscribed to events:91 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.944Z DEBUG worker-engine Subscribed to events:85 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.945Z DEBUG worker-engine Subscribed to events:70 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.945Z DEBUG worker-engine Subscribed to events:52 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.945Z DEBUG worker-engine Subscribed to events:25 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.946Z DEBUG worker-engine Subscribed to events:1 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.946Z DEBUG worker-engine Subscribed to events:49 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.946Z DEBUG worker-engine Subscribed to events:19 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.946Z DEBUG worker-engine Subscribed to events:4 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.948Z DEBUG worker-engine Subscribed to events:31 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.948Z DEBUG worker-engine Subscribed to events:7 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.948Z DEBUG worker-engine Subscribed to events:37 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.948Z DEBUG worker-engine Subscribed to events:34 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.949Z DEBUG worker-engine Subscribed to events:28 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.950Z DEBUG worker-engine Subscribed to events:10 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.950Z DEBUG worker-engine Subscribed to events:43 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.951Z DEBUG worker-engine Subscribed to events:73 offset 0 leader kafka-events:9092
8/8/2016 8:05:11 AM2016-08-07T22:05:11.951Z DEBUG worker-engine Subscribed to events:61 offset 0 leader kafka-events:9092

If I push in a new message to Kafka, some partitions start advancing. However, no errors or output to help figure this out.

Can it be something with producer partitioner? Maybe it just omits some partitions?

I thought that too, but the partitioner is a modulo % toHashValue type operation - the distribution is reasonably uniform and all 100 partitions get data in them - something coorobated by the Kafka Manager UI.
Is there something I can do perhaps to get extra logging behind the consumers and why certain partitions don't start consuming? I might have a play with the code behind the assignment strategies and see if there's something to it - but I believe from eyeballing things that I do at least see all partitions covered in the list of allocations that gets printed after a group rebalance.
Sent from my iPhone

On 8 Aug 2016, at 17:08, Oleksiy Krivoshey<EMAIL_ADDRESS>wrote:
Can it be something with producer partitioner? Maybe it just omits some partitions?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Try logging out fetch request data here: https://github.com/oleksiyk/kafka/blob/master/lib/base_consumer.js#L56 and see if all partitions are there.

I'll have to figure out a way to hack that into the version of the worker on our hosts where the bulk data is. I'm wondering though: is the concurrency limiter potentially at play here? I'm looking at that code and wondering if it wont process any partitions beyond the first N and because I've got a lot of a partitions - and a lot of messages in them - so the map on line 56 might not run all the partitions at once because it's still grinding through the chain for the other partitions.
Does that make any sense? I'm not in front of a system to check - but it feels plausible. I could have sworn that if I left an instance long enough they all did eventually get processed - but that might have been one someone else restarted whilst I wasn't looking.

I don't see how it can be possible unless some of your handlers never return (don't settle).. Next fetch request won't be sent until all data from the previous fetch response is processed with map, no matter what concurrency limit is. Try dumping the response too.

I'm going to be trying this out in more detail tomorrow - I'm thinking to go through sprinking NSL logging code throughout the client/group consumer stuff. Is it worth me putting this stuff through as PR?

Probably no need in PR here.

@oleksiyk: Found the problem. Reproduction scenario:

Create a Kafka topic with ~100 partitions, use a single broker.
Put ~100mb of data into each topic in lots of small messages
Start a new GroupConsumer from the start of the topic (-2)

What happens is that effectively the initial fetch is so punishingly large that it times out things - effectively 100x maxBatchSize - I end up invariably with NodeJS quietly bombing out with a GC error/restarting the process. I'm guessing the times where I observed 'add a message' working was in relation to the passage of time. Production there's 1 partition/broker, so this isn't problematic - but in test with the same partition topology on a single server...
Long story short, changed the maxBytes for the consumer to 64kb - everything seemed much happier. If we'd had the brokers split out as we would in production, I imagine this wouldn't have been much of a problem - since we'd have never got so much data back in a single hit from one broker. Is there perhaps a need here to throttle the number of outstanding requests to a single broker?

Closing. PEBKAC.


[JS] When I install any apache-arrow version beyond 14 it throws error

Describe the bug, including details regarding any error messages, version, and platform.
it gives the error  npm ERR! path C:\hcc\hcc_interactive_map\web-ui\node_modules\apache-arrow\bin\arrow2csv.cjs
Component(s)
Other

Could you share more details? What is the version of npm used? Can you share slightly more details on how are you installing and more context on the logs? What happens if you install Arrow 13?

Fixed in #43342


Update to latest vscode version

Update to latest available Visual Studio Code version

figure out the latest available version
adapt the vscode ansible role to download + install the latest version
adapt the corresponding spec test

Note: you can find the VSCode CHANGELOG here

fixed via #50


Enforce proper alignment of serialized 'struct cmsghdr' inside 'psm->data'

The 'struct cmsghdr', referenced by 'msg_control', requires 'long' alignment. Right now the 'msg_control' is placed in data buffer directly after 'msg_name', that in some cases contains IPv6 header (28_B). In this case it violates expected alignment on 64-bit architectures according to 'CMSG_ALIGN' from socket.h

I did some more formatting fixes and added CMSG_ALIGN for non Linux platforms.
Thanks for the patch!


Auto focus not working properly, focuses to starting of the content

Autofocus not working properly. it autofocuses the cursor to the starting of the content.
is there a way to set the cursor position to end of the content?
please watch the gif for better understanding
Minimal code
      const initialContent = `<p>Hi rameez,</p><p>second line</p>`
      this.editor = new Editor({
        content: initialContent,
        autoFocus: true,
        extensions: [
          new Blockquote(),
          new BulletList(),
          new CodeBlock(),
          new HardBreak(),
          new Heading({ levels: [1, 2] }),
          new ListItem(),
          new OrderedList(),
          new TodoItem(),
          new TodoList(),
          new Bold(),
          new Code(),
          new Italic(),
          new Link(),
          new Strike(),
          new Underline(),
          new History(),
          new Placeholder({
            emptyClass: 'is-empty',
            emptyNodeText: 'Write something…',
            showOnlyWhenEditable: true
          })
        ]
      })

Ah, good point! For now you can use editor.focus('end'). But it would make sense to allow this option for autofocus too.

tried using
this.editor.focus('end')

after the plugin inited but same behaviour. ie focusing on start.

In the lastest release you can set autofocus: 'end'.

I tried updating to "tiptap": "^1.22.2" now my vue-nuxt-app crashes, no matter I set autofocus or not. i have added screencast below

@rameezcubet see #305

Got it..
changed
    "tiptap": "^1.22.2",
    "tiptap-extensions": "^1.22.2",

and removed package-lock.json file and node_modules folder then npm install

Does autofocus take a 'start' option? I checked the docs but couldn't find any reference to the string arguments.
I'm running into a scenario where, when an editor loads with a partial mention at the end, the search popup is triggered automatically because of the cursor focus event.

@jeremyphillipsfti this forked project of tip-tap seems to be a better version https://www.npmjs.com/package/tiptap-vuetify . it works in rapo with vuetify but you can style it for your needs without using vuetify. it also has v-model support by default.

When I delete something it focuses on the end, any idea why this might happen?
const editor = useEditor({
    extensions: [
        StarterKit,
        Link,
        Image
    ],
    onUpdate: ({ editor }) => {
        emit('update:modelValue', editor.getHTML())
    }
})


Is it possible to tap into the use of the root "/"?

I really like how you provide the usage, but I'd like to show these occurrences at different times.
How would it be possible to generate this documentation partially / manually?
E.g. on /challenges only show /challenges/1 and /challenges/2 documentation?

I also had a related question in issue #278
The relevant part is:

you should be able to see any of the other versions of the documentation by calling {api_endpoint}/v{version_in_question}/ or passing the version header.

@timothycrosley Do we have any official documentation about this?
So given
import hug

@hug.get('/echo', versions=1)
def echo(text):
    return text

@hug.get('/echo', versions=2)
def echo(text, something):
    return "Echo: {something} {text}".format(**locals())

Fetching the root documentation will returns the latest version
$ http http://localhost:8000/echo
HTTP/1.0 404 Not Found
Date: Mon, 04 Apr 2016 02:59:13 GMT
Server: WSGIServer/0.2 CPython/3.5.1
content-length: 1243
content-type: application/json

{
    "404": "The API call you tried to make was not defined. Here's a definition of the API to help you get going :)",
    "documentation": {
        "handlers": {
            "/echo": {
                "GET": {
                    "inputs": {
                        "something": {
                            "type": "Basic text / string value"
                        },
                        "text": {
                            "type": "Basic text / string value"
                        }
                    },
                    "outputs": {
                        "content_type": "application/json",
                        "format": "JSON (Javascript Serialized Object Notation)"
                    }
                }
            },
            "/hello": {
                "GET": {
                    "examples": [
                        "http://localhost:8000/v2/hello"
                    ],
                    "outputs": {
                        "content_type": "application/json",
                        "format": "JSON (Javascript Serialized Object Notation)"
                    }
                }
            }
        },
        "version": 2,
        "versions": [
            1,
            2
        ]
    }
}

Fetching the v1 documentation is:
 $ http http://localhost:8000/echo/v1
HTTP/1.0 404 Not Found
Date: Mon, 04 Apr 2016 02:59:19 GMT
Server: WSGIServer/0.2 CPython/3.5.1
content-length: 1113
content-type: application/json

{
    "404": "The API call you tried to make was not defined. Here's a definition of the API to help you get going :)",
    "documentation": {
        "handlers": {
            "/echo": {
                "GET": {
                    "inputs": {
                        "text": {
                            "type": "Basic text / string value"
                        }
                    },
                    "outputs": {
                        "content_type": "application/json",
                        "format": "JSON (Javascript Serialized Object Notation)"
                    }
                }
            },
            "/hello": {
                "GET": {
                    "examples": [
                        "http://localhost:8000/v1/hello"
                    ],
                    "outputs": {
                        "content_type": "application/json",
                        "format": "JSON (Javascript Serialized Object Notation)"
                    }
                }
            }
        },
        "version": 1,
        "versions": [
            1,
            2
        ]
    }
}

Finally, fetching the v2 documentation is:
(venv) ✔ ~/dev/explorations/hug [master|✚ 1]
 $ http http://localhost:8000/echo/v2
HTTP/1.0 404 Not Found
Date: Mon, 04 Apr 2016 02:59:22 GMT
Server: WSGIServer/0.2 CPython/3.5.1
content-length: 1243
content-type: application/json

{
    "404": "The API call you tried to make was not defined. Here's a definition of the API to help you get going :)",
    "documentation": {
        "handlers": {
            "/echo": {
                "GET": {
                    "inputs": {
                        "something": {
                            "type": "Basic text / string value"
                        },
                        "text": {
                            "type": "Basic text / string value"
                        }
                    },
                    "outputs": {
                        "content_type": "application/json",
                        "format": "JSON (Javascript Serialized Object Notation)"
                    }
                }
            },
            "/hello": {
                "GET": {
                    "examples": [
                        "http://localhost:8000/v2/hello"
                    ],
                    "outputs": {
                        "content_type": "application/json",
                        "format": "JSON (Javascript Serialized Object Notation)"
                    }
                }
            }
        },
        "version": 2,
        "versions": [
            1,
            2
        ]
    }
}

Hi @kootenpv,
Beyond that you can also fully customize how documentation is generated by overriding the not found page:
import hug

@hug.not_found()
def custom_documentation(hug_documentation):
    return modified_documentation

Hopefully this is helpful.
Thanks!
~Timothy

I will experiment with it, but I indeed expect this will work fine like that. Thanks for the reply!


UAT Bug?- left side menu doesn't work when in Non-attributable emissions page

Describe the Bug:
Cannot use left side menu when in Non-attributable emissions page
Steps to reproduce the behaviour:

On Non-Attributable Emissions page, click on menu listed on the left-hand side.

Screenshots:

Additional information:
Browser: Edge
Additional Context
User Story: As an Industry Reporter, I can fill out non-attributable emissions. Given that my answer to "did your non-attributable emissions exceeded 100 tCO2e" is yes, then I will see the activity name, source type, emission category, and gas type fields. Otherwise, I do not see these fields. #336
UAT TICKET: https://teams.microsoft.com/l/entity/com.microsoft.teamspace.tab.planner/mytasks?tenantId=6fdb5200-3d0d-4a8a-b036-d3685e359adc&webUrl=https%3A%2F%2Ftasks.teams.microsoft.com%2Fteamsui%2FpersonalApp%2Falltasklists&context={"subEntityId"%3A"%2Fv1%2Fplan%2FtGqZRZUMZk-c-CTHae_WtWUAGImJ%2Fview%2Fboard%2Ftask%2F764zrpauZkaZRE7Ya9TBqWUAJ6QT"}

@shon-button I think this is related to an issue you already flagged, but I may be mis-remembering. Let me know if you think this is a separate issue and we should keep this bug ticket active!


ENYO-5683: Not enable Spotlight by click and wheel when 'data-spotlight-container-disabled' prop is true

Checklist

[X] I have read and understand the contribution guide
[X] A CHANGELOG entry is included
[X] At least one test case is included for this feature or bug fix
[X] Documentation was added or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added
Even though the data-spotlight-container-disabled prop in Scroller is true, the Scroller Spotlight container becomes enabled when clicking the item in the Scroller.
Resolution
When clicking the item in the Scroller, the stop in the Scroller was called, then it always made the Scroller Spotlight container enabled by calling this.childRef.setContainerDisabled(false). Before calling it, I just checked if data-spotlight-container-disabled is false.
Additional Considerations
Links
ENYO-5683
Comments

As I look over this issue, I'm curious if there is any particular reason why Scrollable/ScrollableNative and the qa-sample knob are using and directly referencing the private data-spotlight-container-disabled prop of the container instead of the public container companion prop spotlightDisabled? The private props in this case shouldn't generally be designated as a public proptype in a component. Is this something we can update?
The same can also be said for the data-spotlight-id proptype of Scrollable which should normally be referenced via spotlightId - however, that's not specifically an issue in this ticket/PR.
As for the qa-sample: I wonder if this was simply an oversight, seeing as how there's no need to use data-spotlight-container-disabled as a knob label. Or perhaps there's a need to clarify the container has been spotlightDisabled rather than the individual items being spotlightDisabled :shrug:

@ybsung Ah, now that I look into it I see why data-* props were used instead. SpotlightContainerDecorator wraps the ScrollableBase before it is exported, so the data props are the only ones accessible at the time of use. That's probably something I'd change later, it's not worth changing for now.
I think the general approach in this PR is ok for now. I do see that ENYO-5688 will affect this in a minor way as well, but since this ticket preserves the spotlightDisabled status of the scroller, I would say this PR satisfies the ticket.

@ybsung I've added mousedown event prevention in Scrollable, which should fix the issue that @MikyungKim pointed out. That was happening because the item was gaining focus via the mousedown/click even though the container was spotlightDisabled. Then when you pressed 5way up, focus was leaving the item/container, causing a scroll behavior. Can you see if this adequately fixes your issue?
The only issue I see now is a sampler-only issue. If you select the knob for "spotlightDisabled", then try to click on a scroller item, the ev.preventDefault() will actually prevent the window from gaining focus at that point. So then if you attempt to 5way to the app-close button, it doesn't gain focus because focus is still in the knobs pane. You need to click somewhere else in the window first, in order to give the window focus. This won't be an issue in the real-world, since this is a sampler-only scenario. I thought you should be aware, as it will affect how you test this.

Hi @germboy
Thank you so much for your help and all information.


setup.cfg version metadata field vs __init__.py __version__ value

Hi, doing an initial release for a plugin, that used the cookiecutter to generate its initial structure, I noticed that the setup.cfg version doesn't use the __version__ value available at __init__.py. I fixed that on the plugin by changing:
https://github.com/napari/cookiecutter-napari-plugin/blob/d0c893f586c6c041d1d362eedfa7b85f6613a900/{{cookiecutter.plugin_name}}/setup.cfg#L4
To
version: attr: napari_ui_tracer.__version__

Which as a template I think it should be something like:
version: attr: {{cookiecutter.module_name}}.__version__

Is that the correct approach and a fix to do here?

No. Plugin uses setuptools_scm to determine version. And setuptools_scm both generate _version.py and update plugin metadata.

Maybe I experienced this because I didn't use the use_git_tags_for_versioning option which caused the plugin to not get the related setuptools_scm stuff?
https://github.com/napari/cookiecutter-napari-plugin/blob/d0c893f586c6c041d1d362eedfa7b85f6613a900/{{cookiecutter.plugin_name}}/setup.cfg#L3-L5
Just double checking, but if the change explained in the OP is not necessary feel free to close this :+1:

Ok. You are correct. I miss this variant. I think that it should be fixed.


fix: allow all URL forms in redirects

GoTrue limited wildcard redirect patterns only on http or https URLs. This presents a problem in mobile apps that have dynamic redirects back to their application.
See: #710.

There was some discussion here on this issue: https://github.com/supabase/gotrue/issues/99
This does open up the space to introduce a wider attack surface for mobile apps, although this is not as significant as it appears. On Android at least, apps can also listen to https URLs too. It is up to the user of GoTrue to make sure their settings are secure when they add redirect patterns.
cc @kangmingtay @awalias

Added to Security doc (yet unpublished). Excerpt:

Redirect URLs
Supabase Auth lets you redirect back to different URLs on susccessful
authentication. Your client app can specify the URL to redirect back to using
the redirectTo parameter.
Given that in sophisticated attacks this parameter may come from a malicious
source, Supabase Auth implements an allow list which will be consulted prior to
sending a redirect response. Should the redirect parameter not fall in the URL
allow list, the Site URL is used.
The allow list can be a simple list of exactly matching URLs, but it also
supports wildcard characters to match them as a pattern.
:::tip
You can configure the URL allow list in the Authentcation General Settings
page under Redirect URLs.
:::
Because wildcard patterns are also supported, you need to be careful when using
them, as you may be opening up your application to a larger attack surface.
Here are some examples of do's and don'ts.
Dont's.

**
This pattern would match any redirect URL.
com.mobile.app.*://**
This pattern would match any iOS application with a package name that starts
with com.mobile.app.. An attacker can use this to call on those apps in a
user's device.
https://*.com/**
This pattern would match any URL on the .com domain name. An attacker can use
this to redirect back to any website they control.

Dos.

https://app.example.com/**
This is the recommended form for most project use cases on the web. Any
redirects to the app.example.com domain will be allowed with any path. If
your project needs to support multiple such domains, add multiple entries like
this.
com.mobile.app://**
This is the recommended form for most project use cases on iOS. Any redirects
to the com.mobile.app application will be allowed with any path. If your
project needs to support multiple applications, add multiple entries. Avoid
using wildcards in the URL scheme!

:::tip
If you use exact or very specific URLs, make sure you always include a trailing
slash / as that is the proper valid form of URLs. Correct form:
https://app.example.com/*/sign-in/. Incorrect form:
https://app.example.com/*/sign-in.
:::


Use line ending normalization for JavaCompile tasks

Enables line ending normalization for the JavaCompile task and adds documentation for the new feature.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


Different scores?

Two queries are run in robokop.  One is (Ozone)-(gene)-(asthma) and the other is (asthma)-(gene)-(Ozone).  The same answers are returned.  But the scores are slightly different between the two.    Attached are two messages.  The first result in each (NCBIGene:7412) show the different scores.
ROBOKOP_message_asthma-gene-ozone_trapi1.4dev.json.txt
ROBOKOP_message_ozone-gene-asthma_trapi1.4dev.json.txt
As far as I can tell, the two results are the same in terms of number of edges bound, and the parameters of the omnicorp support edges.
This suggests to me a bug in ranker somewhere, but the differences are small enough that perhaps it is something numerical?
I also notice that every weight I saw has a value of 1.  Is this accurate?  Or are these weights no longer used in ranking?

Interesting case!
Looking at the first result in both sets, they are basically the same, but not exactly. I wrote some code to do a quick and dirty look at the content of the edges between the different curies in the result. I confirmed that if you remove directionality and only consider a symmetric weight matrix, the same edges are all present. The disagreements are between the subjects and objects on otherwise directionless edges. I believe this is due to Omnicorp and how it must make some arbitrary selection of subjects and objects.
This is fine, except in how it impacts ranker and weight calculation. Roughly for each subject/object pair, each source can only contribute a single weight for each property type. If there are multiple edges from the same source that have the same property value (ex. CTD publications), the maximum property value is taken. Once the edges are collapse for each unique subject/object/source/property, there can be subtle differences if the subjects, objects flip around.
Once we have a weight matrix, we make it symmetric when we calculate the graph laplacian. If instead we make the matrix symmetric while checking for subject/object/source/property collisions, it should clear up the discrepancy.
I believe this is fixed in #124 but I'd like a few more eyes on it. @uhbrar @maximusunc

Please disregard if this is too edge case, but I'd like to toss a small wrench. In ICEES-KG, we have many edges with the same subject/object/source/property but that come from different datasets and different years. It sounds like the current ranker would not handle this case.

I think that's an interesting point. We should consider what other aspects of TRAPI we should using to identify unique edges.


[tool_crash] RPCError

Command
flutter run -d a52403b6

Steps to Reproduce

...
...
...

Logs
RPCError
#0      new _OutstandingRequest (package:vm_service/src/vm_service.dart:266:34)
#1      VmService._call.<anonymous closure> (package:vm_service/src/vm_service.dart:1783:25)
#2      VmService._call (package:vm_service/src/vm_service.dart:1795:8)
#3      VmService.callServiceExtension (package:vm_service/src/vm_service.dart:1734:14)
#4      VmService.callMethod (package:vm_service/src/vm_service.dart:1717:12)
#5      FlutterVmService.callMethodWrapper (package:flutter_tools/src/vmservice.dart:501:28)
#6      FlutterVmService.renderFrameWithRasterStats (package:flutter_tools/src/vmservice.dart:606:49)
#7      ResidentHandlers.debugFrameJankMetrics (package:flutter_tools/src/resident_runner.dart:726:37)
<asynchronous suspension>
#8      TerminalHandler.processTerminalInput (package:flutter_tools/src/resident_runner.dart:1836:7)
<asynchronous suspension>

[✓] Flutter (Channel stable, 3.24.0, on Ubuntu 22.04.4 LTS 6.8.0-40-generic, locale en_US.UTF-8)
    • Flutter version 3.24.0 on channel stable at /home/ash/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 80c2e84975 (5 weeks ago), 2024-07-30 23:06:49 +0700
    • Engine revision b8800d88be
    • Dart version 3.5.0
    • DevTools version 2.37.2

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at /home/ash/Android/Sdk
    • Platform android-35, build-tools 35.0.0
    • ANDROID_HOME = /home/ash/Android/Sdk
    • Java binary at: /home/ash/Documents/android-studio/jbr/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✗] Linux toolchain - develop for Linux desktop
    • Ubuntu clang version 14.0.0-1ubuntu1.1
    • cmake version 3.22.1
    • ninja version 1.10.1
    • pkg-config version 0.29.2
    ✗ GTK 3.0 development libraries are required for Linux development.
      They are likely available from your distribution (e.g.: apt install libgtk-3-dev)

[✓] Android Studio (version 2024.1)
    • Android Studio at /home/ash/Documents/android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)

[✓] VS Code (version 1.92.2)
    • VS Code at /snap/code/current/usr/share/code
    • Flutter extension version 3.94.0

[✓] Connected device (3 available)
    • RMX2061 (mobile) • a52403b6 • android-arm64  • Android 11 (API 30)
    • Linux (desktop)  • linux    • linux-x64      • Ubuntu 22.04.4 LTS 6.8.0-40-generic
    • Chrome (web)     • chrome   • web-javascript • Google Chrome 127.0.6533.88

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Flutter Application Metadata
Type: malformed
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: null
Creation framework version: null
Plugins
android_alarm_manager_plus-4.0.3
android_intent_plus-5.1.0
audioplayers-6.0.0
audioplayers_android-5.0.0
audioplayers_darwin-6.0.0
audioplayers_linux-4.0.0
audioplayers_web-5.0.0
audioplayers_windows-4.0.0
google_mobile_ads-5.1.0
path_provider-2.1.3
path_provider_android-2.2.5
path_provider_foundation-2.4.0
path_provider_linux-2.2.1
path_provider_windows-2.3.0
permission_handler-10.4.5
permission_handler_android-10.3.6
permission_handler_apple-9.1.4
permission_handler_windows-0.1.3
shared_preferences-2.2.2
shared_preferences_android-2.2.1
shared_preferences_foundation-2.3.4
shared_preferences_linux-2.3.2
shared_preferences_web-2.2.1
shared_preferences_windows-2.3.2
sqflite-2.2.6
uni_links-0.5.1
uni_links_web-0.1.0
url_launcher-6.2.5
url_launcher_android-6.3.0
url_launcher_ios-6.2.5
url_launcher_linux-3.1.1
url_launcher_macos-3.2.0
url_launcher_web-2.3.1
url_launcher_windows-3.1.2
webview_flutter-4.8.0
webview_flutter_android-3.16.6
webview_flutter_wkwebview-3.14.0

Closing as duplicate of https://github.com/flutter/flutter/issues/117988


mounter(ticdc): adjust verify checksum method to get the checksum version

What problem does this PR solve?

Issue Number: close #8819
What is changed and how it works?

let the verifyChecksum return the checksum version.

Check List
Tests

Manual test (add detailed scripts or steps below)

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
`None`

/run-check-issue-triage-complete

/run-check-issue-triage-complete

/merge


Frequent hangs and catbombs

Hi,
I'm experiencing problems with frequent hangs on loading and subsequent disconnects in the game in version 4.2.7 since a few days. This seems to occur on any action that requires loading. Trying an older version did not resolve the issue.
I'm running a non-overclocked Win10 desktop with .NET 4.6 and the latest Flash updates. I can reproduce the issue on a separate Win10 device. The problem does not exist in Internet Explorer itself, so it does not seem to be a network issue. The issue persists after clearing the cache and deleting all application files and redownloading them.
Any idea how to troubleshoot this further?

Could you check if the issue persists in Grabacr07's builds?

Hi,
Yes, this seems to occur in Grabacr07's build as well.

Turns out my router was on the way out after all, it just didn't manifest in any other ways. Thanks.


Exported pdf is 0 bytes

Describe the bug
I am able to download the PDF file but it is 0 bytes and fails to open.  All other file types download/open correctly.

Expected behavior
PDF should have content and open as expected.
Minimal reproducible example
var grid = new Grid<String>();
grid.addColumn(String::toString).setHeader("Name");
grid.addColumn(String::toString).setHeader("Email");

grid.setItems("A", "B", "C");

var exporter = GridExporter.createFor(grid);
exporter.setTitle("Grid Export Title");
exporter.setFileName("GridExport_" + new SimpleDateFormat("yyyyddMM").format(Calendar.getInstance().getTime()));
exporter.setAutoAttachExportButtons(true);

add(grid);

Add-on Version
2.3.2
Vaadin Version
24.4.3
Additional information
Chrome (latest)

Hi @drewharvey ! ... thanks for the issue!
When one of the downloaded files is 0 bytes, that usually mean that a problem happened when generating the file. We have to fix this known issue (the exception logging is not correctly implemented), but can you add a breakpoint and debug this method to see if the generation happens correctly or there is an exception being hidden?

Problem occurs here: https://github.com/FlowingCode/GridExporterAddon/blob/ec5d5ad7bda3d1509a95c3af7a2daac17b3c7521/src/main/java/com/flowingcode/vaadin/addons/gridexporter/PdfInputStreamFactory.java#L62
Here the stacktrace:
Exception in thread "Thread-83" java.lang.NoClassDefFoundError: javax/xml/bind/ValidationEventHandler
	at com.flowingcode.vaadin.addons.gridexporter.PdfInputStreamFactory$1.run(PdfInputStreamFactory.java:63)
	at java.base/java.lang.Thread.run(Thread.java:1570)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.ValidationEventHandler
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
	... 2 more

Maybe this can also work for this issue, can you give it a try?

@mlopezFC Adding the maven dependencies in your link did fix the issue.
However, it is still doesn't work with a fresh project from vaadin.start.com.  For this project specificially, it seems to be caused by spring-boot-starter-data-jpa.
Has anyone looked into using docx4j 11.5.0?

I was able to update/add some deps to the GridExporterAddon project and was able to successfully export as pdf.
// remove docx4j-JAXB-Internal
<dependency>
   <groupId>org.docx4j</groupId>
   <artifactId>docx4j-JAXB-Internal</artifactId>
   <version>8.3.8</version>
</dependency>

// update other docx4j dep versions
<dependency>
	<groupId>org.docx4j</groupId>
	<artifactId>docx4j-JAXB-ReferenceImpl</artifactId>
	<version>11.5.0</version>
</dependency>
<dependency>
	<groupId>org.docx4j</groupId>
	<artifactId>docx4j-JAXB-MOXy</artifactId>
	<version>11.5.0</version>
</dependency>
<dependency>
	<groupId>org.docx4j</groupId>
	<artifactId>docx4j-export-fo</artifactId>
	<version>11.5.0</version>
</dependency>

// add following
<dependency>
	<groupId>org.apache.commons</groupId>
	<artifactId>commons-compress</artifactId>
	<version>1.27.1</version>
</dependency>
<dependency>
	<groupId>commons-io</groupId>
	<artifactId>commons-io</artifactId>
	<version>2.16.1</version>
</dependency>


Donut acceleration project

There is a README in the project directory.

@ShvetankPrakash PTAL

I verified on the board and LGTM! The difference is a bit hard to see with the naked eye, no? I can easily see from the cycle count being printed though between the accelerated and non accelerated versions which is really nice :)

@tcal-x you fine with merging this now? Will want this for HPCA :)

I'd like to review the speedup or lack thereof.   I thought I saw more speedup than you did.


Import Error

Describe the bug
error occurs when import matchzoo
Describe your attempts

import matchzoo as mz
Traceback (most recent call last):
File "", line 1, in
File "/app/python_venv/lib/python3.5/site-packages/matchzoo/init.py", line 13, in
from .data_pack import DataPack
File "/app/python_venv/lib/python3.5/site-packages/matchzoo/data_pack/init.py", line 1, in
from .data_pack import DataPack, load_data_pack
File "/app/python_venv/lib/python3.5/site-packages/matchzoo/data_pack/data_pack.py", line 215
f'{data_file_path} already exist, fail to save')
^
SyntaxError: invalid syntax

Context
centos7
matchzoo 2.2.0

Try Python 3.6 or 3.7, not 3.5.
The line with SyntaxError you provided is so-called "f-string", it is available since Python 3.6.


Danbooru doesn't work

Danbooru.donmai.us as a source doesn't work again. Any search done only brings in the result of "possible reasons: server offline".
Using your own user-agent in "Headers" no longer works either. Tried reinstalling a fresh v.7.10.1x64 just in case, both zip. and exe. but nothing.
Just a red error code for Cloudflare wall in the log, followed by a yellow "Warning: no valid source of the site returned result". Same with Html, Json and Xml, all three basic options.

Same

Just FYI:
https://danbooru.donmai.us/forum_topics/23284
"Bots or scripts that try to impersonate browsers are now blocked. I get too much traffic from people doing things like trying to scrape the entire site one post at a time, or checking the front page 10 times per second, or checking hundreds of tags every few minutes. It's hard to control this traffic because people do things like use tons of IPs to avoid rate limits, or rotate IPs to avoid bans, or spoof browsers to blend in with normal traffic. So now anything pretending to be a browser is blocked so I can better keep track of API traffic.
You can either set your user agent to something unique, that's not pretending to be a browser, or if you can't do that, ask the developer of the program to."

https://danbooru.donmai.us/forum_topics/22838
"Grabber works for me after creating a header titled "user-agent" and setting it's value as my username."
This one worked.

https://danbooru.donmai.us/forum_topics/22838
"Grabber works for me after creating a header titled "user-agent" and setting it's value as my username."
This one worked.

wow it works ! thank you.

It does not work when you add api-key which is not satisfying at all

yeah, I just set the user-agent to grabber/7.10.1 since my ruby scripts to sort/delete images I download worked just fine.

Workaround to API Key not working seems to be use your session cookie from your (logged in) browser


NoMethodError - undefined method `write' for #Syck::Emitter:0x0000001531c508

I'm getting this error after upgrading to Rails 3.1 (which does not necessarily mean that's the cause, lots of Gems were updated and other changes):
===========================================================================
Exception that got raised:
NoMethodError - undefined method `write' for #<Syck::Emitter:0x0000001531c508>
===========================================================================
/home/rails/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/psych/visitors/emitter.rb:17:in `end_document'
/home/rails/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/psych/visitors/emitter.rb:17:in `visit_Psych_Nodes_Document'
/home/rails/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/psych/visitors/visitor.rb:10:in `accept'
/home/rails/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/psych/visitors/emitter.rb:10:in `block in visit_Psych_Nodes_Stream'
/home/rails/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/psych/visitors/emitter.rb:10:in `each'
/home/rails/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/psych/visitors/emitter.rb:10:in `visit_Psych_Nodes_Stream'
/home/rails/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/psych/visitors/visitor.rb:11:in `accept'
/home/rails/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/psych/nodes/node.rb:36:in `to_yaml'
/home/rails/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/psych.rb:166:in `dump'
/home/rails/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/psych/core_ext.rb:13:in `psych_to_yaml'
/home/rails/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/syck/rubytypes.rb:114:in `node_export'
/home/rails/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/syck/rubytypes.rb:114:in `add'
/home/rails/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/syck/rubytypes.rb:114:in `block (3 levels) in to_yaml'
/home/rails/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/syck/rubytypes.rb:113:in `each'
/home/rails/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/syck/rubytypes.rb:113:in `block (2 levels) in to_yaml'
/home/rails/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/syck/rubytypes.rb:112:in `seq'
/home/rails/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/syck/rubytypes.rb:112:in `block in to_yaml'
/home/rails/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/syck.rb:401:in `call'
/home/rails/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/syck.rb:401:in `emit'
/home/rails/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/syck.rb:401:in `quick_emit'
/home/rails/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/syck/rubytypes.rb:111:in `to_yaml'
/home/rails/.rvm/gems/ruby-1.9.2-p290@rails-3.1/gems/backup-3.0.18/lib/backup/storage/object.rb:39:in `block in write'
/home/rails/.rvm/gems/ruby-1.9.2-p290@rails-3.1/gems/backup-3.0.18/lib/backup/storage/object.rb:38:in `open'
/home/rails/.rvm/gems/ruby-1.9.2-p290@rails-3.1/gems/backup-3.0.18/lib/backup/storage/object.rb:38:in `write'
/home/rails/.rvm/gems/ruby-1.9.2-p290@rails-3.1/gems/backup-3.0.18/lib/backup/storage/base.rb:62:in `cycle!'
/home/rails/.rvm/gems/ruby-1.9.2-p290@rails-3.1/gems/backup-3.0.18/lib/backup/storage/s3.rb:56:in `perform!'
/home/rails/.rvm/gems/ruby-1.9.2-p290@rails-3.1/gems/backup-3.0.18/lib/backup/model.rb:222:in `block in perform!'
/home/rails/.rvm/gems/ruby-1.9.2-p290@rails-3.1/gems/backup-3.0.18/lib/backup/model.rb:222:in `each'
/home/rails/.rvm/gems/ruby-1.9.2-p290@rails-3.1/gems/backup-3.0.18/lib/backup/model.rb:222:in `perform!'
/home/rails/.rvm/gems/ruby-1.9.2-p290@rails-3.1/gems/backup-3.0.18/bin/backup:130:in `block in perform'
/home/rails/.rvm/gems/ruby-1.9.2-p290@rails-3.1/gems/backup-3.0.18/bin/backup:109:in `each'
/home/rails/.rvm/gems/ruby-1.9.2-p290@rails-3.1/gems/backup-3.0.18/bin/backup:109:in `perform'
/home/rails/.rvm/gems/ruby-1.9.2-p290@rails-3.1/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
/home/rails/.rvm/gems/ruby-1.9.2-p290@rails-3.1/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
/home/rails/.rvm/gems/ruby-1.9.2-p290@rails-3.1/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
/home/rails/.rvm/gems/ruby-1.9.2-p290@rails-3.1/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
/home/rails/.rvm/gems/ruby-1.9.2-p290@rails-3.1/gems/backup-3.0.18/bin/backup:288:in `<top (required)>'
/home/rails/.rvm/gems/ruby-1.9.2-p290@rails-3.1/bin/backup:19:in `load'
/home/rails/.rvm/gems/ruby-1.9.2-p290@rails-3.1/bin/backup:19:in `<main>'
===========================================================================

This error happens after these lines:
[2011/10/14 22:20:50][message] Backup started cleaning up the temporary files.
[2011/10/14 22:20:50][message] Backup::Notifier::Mail started notifying about the process.

If I execute the backup command via bundle exec I get a different error:

[2011/10/14 22:31:31][message] Backup started cleaning up the temporary files.
[2011/10/14 22:31:31][message] Backup::Notifier::Mail started notifying about the process.
===========================================================================
Exception that got raised:
NoMethodError - undefined method `sort' for false:FalseClass
===========================================================================
/home/rails/apps/myapp/shared/bundle/ruby/1.9.1/gems/backup-3.0.18/lib/backup/storage/object.rb:28:in `load'
/home/rails/apps/myapp/shared/bundle/ruby/1.9.1/gems/backup-3.0.18/lib/backup/storage/base.rb:53:in `cycle!'
/home/rails/apps/myapp/shared/bundle/ruby/1.9.1/gems/backup-3.0.18/lib/backup/storage/s3.rb:56:in `perform!'
/home/rails/apps/myapp/shared/bundle/ruby/1.9.1/gems/backup-3.0.18/lib/backup/model.rb:222:in `block in perform!'
/home/rails/apps/myapp/shared/bundle/ruby/1.9.1/gems/backup-3.0.18/lib/backup/model.rb:222:in `each'
/home/rails/apps/myapp/shared/bundle/ruby/1.9.1/gems/backup-3.0.18/lib/backup/model.rb:222:in `perform!'
/home/rails/apps/myapp/shared/bundle/ruby/1.9.1/gems/backup-3.0.18/bin/backup:130:in `block in perform'
/home/rails/apps/myapp/shared/bundle/ruby/1.9.1/gems/backup-3.0.18/bin/backup:109:in `each'
/home/rails/apps/myapp/shared/bundle/ruby/1.9.1/gems/backup-3.0.18/bin/backup:109:in `perform'
/home/rails/apps/myapp/shared/bundle/ruby/1.9.1/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
/home/rails/apps/myapp/shared/bundle/ruby/1.9.1/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
/home/rails/apps/myapp/shared/bundle/ruby/1.9.1/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
/home/rails/apps/myapp/shared/bundle/ruby/1.9.1/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
/home/rails/apps/myapp/shared/bundle/ruby/1.9.1/gems/backup-3.0.18/bin/backup:288:in `<top (required)>'
/home/rails/apps/myapp/shared/bundle/ruby/1.9.1/bin/backup:19:in `load'
/home/rails/apps/myapp/shared/bundle/ruby/1.9.1/bin/backup:19:in `<main>'
===========================================================================

so it seems to be caused by either syck or psych, or both. i'll investigate in the upcoming week.

Yes, for the first error the accepted solution seems to be to require psych early on so it takes precedence over Syck.

I fixed the last error. The issue was that there was a empty S3.yml in my data folder, for whatever reason. That is why, in object.rb, it recognized that the file existed but returned false as the content.

Merged your pull request, thanks!


Feature/fast api 0.100.0

Use of fast API 0.100.0 and Pydantic 2.0.0
Changes

Use of poetry to manage dependencies
Use of computed field in pydantic models
Use sqlite for testing
Remove stock entity
Use of alembic to generate migration with postgres
Use of loggers

Work in progress

[ ] Use of poetry inside docker image
[x] Create github action for backend
[ ] Test that nothing has been broken in the frontend
[x] Add dependabot for backend

Commits

✨ Use of poetry
✨ Setup pre commit hooks
🙈 Exclude .venv folder from .gitignore
🔧 Setup vscode settings for backend
🗃 Setup async in alembic migration + support postgres enums
📦 Import plugins for alembic
🔥 Remove stock entity
✨ Create a set of commands to reset, init and migrate the DB
♻ Refactor Pydantic creatoin of query parameters model
🔊 Use of logger in alert backend
♻ Add 3 configs depending on your env
⚰ Remove synchronized code
🔇 Add logger to middleware
🐛 Fix translated fromat elements
♻ Define SecurityScopes instead of dynamic creation
🎨 Use of model_dump to get data in CRUD
🎨 Make crud_transaction more readable
🎨 Clean and simplify code of crud_treasury
✨ Add endpoints to get version and status
⚡ Add load_submodule utility
✨ Add logger and get_version utilities
♻ Load api using load_submodules
📝 🔊 Add logger and documentations to endpoints v1
🚚 Move Database logic from session to DatabaseInterface
✨ Add support for sqlite in test and dev
🎨 Add a method to create SQLAlchemy model for test
✨ Create a pre-start function using tenacity to check DB
🎨 Replace Enum in models for type_checking
⚰ Remove stock from models
✨ Use of computed field and migrate to Pydantic V2 in schemas
🔊 Add logs to dependencies
🎨 Clean main file
🤖 Add BaseTest and conftest
🤖 Add tests for api endpoints
🤖 Add tests for schemas
🤖 Add tests for core modules
🤖 Add tests for utilities
🤖 Add test for the databases
🤖 Add test for crud
🤖 Add test for command
🤖 Add test for dependencies
🚨 Lint file

Bug on group by when result is null


Create my_articles feature

Resolve #77 and #95
Adding my_articles feature

Resolve #77 and #95

I think it will close just issue #77.
try:
Resolve #77
Resolve  #95


Improved whoison mod

We need to improve this mod, because it's not enought accurate !
Sample exit of the mod at this moment : "player is online more than 2 weeks" (for a played time of 2week 6 days, 23hours...)
We need an exit like :  "player has a total playing time of YY/MM/DD/HH/MM/SS" (Year/Mounth/Day/Hour/Minute/second)
We also need the alias  "/played " for the command "/timeonline ", and if the player name is not specified, take the played time of the player who did the command

By rewriting this mod I can easiliy create such a precise mod. I will do this quickly.

I could do it also. But I will not have the time before Friday.

I know but don't worry @Gael-de-Sailly the rewriting is begin. You can help @LeMagnesium if you want :)

https://github.com/Ombridride/minetest-minetestforfun-server/commit/0a18b1255e35aa318588af11ea055f91a92c1022
Should be enough, the rest of the code is working properly.

Finally ! Good work Mg ! :) (it doesn't crah the server anymore if you se the command ?)

Knowing that I added this on May 22th, and I fixed it the following day, it won't crash, and you've maybe already used it.