I use the "-i" option for Youtube playlist, but youtube-dl won't move onto next video if current video " has already been downloaded and merged"

[X] I've verified and I assure that I'm running youtube-dl 2016.09.24

Before submitting an issue make sure you have:

[X] At least skimmed through README and most notably FAQ and BUGS sections
[X] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?
- [X] Question
$ youtube-dl -i -v https://www.youtube.com/watch?v=pA-x-zsDDeI&list=PLAZ27CqbEinagPtU4pFLXg9Kj711wR6YF
[1] 5249
h2g@laptop ~ $ [debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-i', u'-v', u'https://www.youtube.com/watch?v=pA-x-zsDDeI']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.09.19
[debug] Python version 2.7.12 - Linux-4.4.0-36-generic-x86_64-with-LinuxMint-18-sarah
[debug] exe versions: avconv 2.8.6-1ubuntu2, avprobe 2.8.6-1ubuntu2, ffmpeg 2.8.6-1ubuntu2, ffprobe 2.8.6-1ubuntu2
[debug] Proxy map: {}
[youtube] pA-x-zsDDeI: Downloading webpage
[youtube] pA-x-zsDDeI: Downloading video info webpage
[youtube] pA-x-zsDDeI: Extracting video information
[youtube] pA-x-zsDDeI: Downloading MPD manifest
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[download] Setting Up An Innocent Subject _ Derren Brown - The Guilt Trip-pA-x-zsDDeI.mkv has already been downloaded and merged
>

Description of your issue, suggested solution and other information
I'm trying to download all seven videos in this playlist: https://www.youtube.com/watch?v=pA-x-zsDDeI&list=PLAZ27CqbEinagPtU4pFLXg9Kj711wR6YF.
I may have some of the vids already downloaded.  When I get to videos that I've already downloaded, I'd like youtube-dl  to move onto the next video on the playlist and download.
I added the -i (ignore) option, thinking that this option would help, but download does not move on to the next video. it just stops  at the already downloaded video with this message similar to:

[download] VideoTitle pA-x-zsabcI.mkv has already been downloaded and merged

How can I resolve this problem?

This hasn't been resolved, not to me at least.

https://github.com/rg3/youtube-dl#video-url-contains-an-ampersand-and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command


[refactor] moving memtracer to gemini

The tests/test_data/test_deterministic_dataloader.py blocks the unittest. I do not know why it only make troubles in my PR.
@FrankLeeeee


Add dough and filling option to pie gen

The changes LGTM, but I think src/shared/js/routes/piegen.js and src/shared/js/models/pie.js should be removed, right? Carry-over from last PR.
Also, how about the pie.hbs and pie.svg.hbs views?

I'm using src/shared/js/routes/piegen.js route for testing the pie generator, demoing it and work on pie loading temporarily. Once the real routes land in repo, it can be removed (but please not before). pie.hbs and pie.svg.hbs are used in the router atm so they should stay as they are.

Cool, sounds good to me, then!


sap.m.Breadcrumbs: currentLocationText vertically misaligned

https://openui5nightly.hana.ondemand.com/entity/sap.m.Breadcrumbs/sample/sap.m.sample.Breadcrumbs

Hi,
Thank you for sharing this finding. I've created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.
Best,
Teo

Hi,  this issue was already reported in<PHONE_NUMBER>, therefore I will close the new internal incident<PHONE_NUMBER> as duplicated.
Best Regards,
Dobrin


Minor: return "not supported" for COUNT DISTINCT with multiple arguments

Which issue does this PR close?

Closes #11303.
Rationale for this change
COUNT with multiple arguments is a feature of Spark, and DataFusion handles COUNT(a, b, c) well.
But we do not have a DistinctCountAccumulator for multiple arguments.
COUNT(DISTINCT a, b, c) was incorrectly executed as COUNT(DISTINCT a).
Therefore, rather than returning an error result, it is better to make it unsupported.
What changes are included in this PR?

Are these changes tested?
Yes

Are there any user-facing changes?
Yes, although I don't think any users are using this syntax.

Thanks @comphead @alamb for the review.


Support for AST not recognized for LDC >=1.10

From LDC 1.10, the AST functionality no longer works. A bug in the version string recognition, which is converted to a float and 1.10 is less than 1.4, doh!
https://github.com/mattgodbolt/compiler-explorer/blob/master/lib/compilers/ldc.js#L61

LDC's version is semver-like in shape ("x.y.z"), but not really in meaning: change in "y" breaks old code. But it is an increasing version scheme.

Thanks for the fast fix!


_filter disjunction doesn't work with lookup tables

Repro
Create 2 patients
{
  "resourceType": "Patient",
  "name": [
    {
      "use": "official",
      "given": [
        "Alice"
      ],
      "family": "Doe"
    }
  ],
  "birthDate": "1974-12-25"
}

{
  "resourceType": "Patient",
  "name": [
    {
      "given": [
        "George"
      ],
      "family": "Washington"
    }
  ]
}

Run search query
Patient?_filter=birthdate eq 1974-12-25 or name co George

Expected Behavior
The search should return both Patients
Observed Behavior
Search only returns George Washington
Root Cause
I'm not 100% sure, but I think this is the issue

This code creates a Disjunction from the or
In SQL, this translates to an OR query
However, name is in the Patient_token lookup table, rather than the base Patient table, so the proper query would some kind of join

Will take a look.  I tested name co xyz and that works as expected, so it's something with the interplay with the "or".

I found it.  The human name logic used INNER JOIN when it should have been LEFT JOIN.  Fix incoming.


Modrinth command failed

I only recently got this issue yesterday. It was working normally and I had not changed the list of mods to be downloaded from Modrinth. Here's the server log

Server log

> 2023-02-16T16:20:43.831+10:00
[init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 10 1000 1000 6144 Feb 16 00:59 /data'

2023-02-16T16:20:46.504+10:00
[init] Resolved version given LATEST into 1.19.3 and major version 1.19

2023-02-16T16:20:47.237+10:00
[init] Resolving type given FABRIC

2023-02-16T16:20:51.142+10:00
[init] Downloading datapack https://www.dropbox.com/s/z7xv1sr7f4fleqv/Vein miner.zip?dl=1 ...

2023-02-16T16:20:54.790+10:00
[init] Downloading datapack https://www.dropbox.com/s/x3bx5pvf9zjqhh5/vanillarefresh-v1-4-8c.zip?dl=1 ...

2023-02-16T16:20:58.482+10:00
[init] Downloading datapack https://www.dropbox.com/s/zdrwwd6fer57efh/pk-waystones-v-1-0-5.zip?dl=1 ...

2023-02-16T16:21:01.946+10:00
[init] Downloading datapack https://www.dropbox.com/s/w5hmtyh73juqq97/BlazeandCaves Advancements Pack 1.15.3.zip?dl=1 ...

2023-02-16T16:21:06.675+10:00
[init] Downloading datapack https://www.dropbox.com/s/u6eeyul62vfxexg/Health Indications v2.2 1.19.zip?dl=1 ...

2023-02-16T16:21:10.261+10:00
[init] Downloading datapack https://www.dropbox.com/s/t87nhnc39t2nkjr/new-in-town-by-kanokarob-v2.14.zip?dl=1 ...

2023-02-16T16:21:14.344+10:00
[init] Downloading datapack https://www.dropbox.com/s/tt0xz19z2405r1w/custom-recipe-tools.zip?dl=1 ...

2023-02-16T16:21:17.826+10:00
[init] Downloading mod/plugin https://ci.opencollab.dev/job/GeyserMC/job/Geyser/job/master/lastSuccessfulBuild/artifact/bootstrap/fabric/build/libs/Geyser-Fabric.jar ...

2023-02-16T16:21:28.685+10:00
[mc-image-helper] 16:21:28.682 INFO : Downloading fabric-api-0.73.2+1.19.3.jar

2023-02-16T16:21:29.386+10:00
[mc-image-helper] 16:21:29.385 INFO : Downloading lithium-fabric-mc1.19.3-0.10.4.jar

2023-02-16T16:21:30.033+10:00
[mc-image-helper] 16:21:30.033 INFO : Downloading lazydfu-0.1.3.jar

2023-02-16T16:21:30.694+10:00
[mc-image-helper] 16:21:30.694 INFO : Downloading ferritecore-5.1.0-fabric.jar

2023-02-16T16:21:31.318+10:00
[mc-image-helper] 16:21:31.318 INFO : Downloading starlight-1.1.1+fabric.ae22326.jar

2023-02-16T16:21:32.824+10:00
[mc-image-helper] 16:21:32.824 INFO : Downloading memoryleakfix-1.19.3-0.7.0.jar

2023-02-16T16:21:34.690+10:00
[mc-image-helper] 16:21:34.690 INFO : Downloading mods-command-mc1.19.3-1.0.12.jar

2023-02-16T16:21:36.128+10:00
[mc-image-helper] 16:21:36.128 INFO : Downloading tabtps-fabric-mc1.19.3-1.3.16.jar

2023-02-16T16:21:36.751+10:00
[mc-image-helper] 16:21:36.751 INFO : Downloading fabrictailor-2.0.2.jar

2023-02-16T16:21:44.435+10:00
[mc-image-helper] 16:21:44.433 ERROR : 'modrinth' command failed. Version is 1.25.3

2023-02-16T16:21:44.435+10:00
io.netty.handler.timeout.ReadTimeoutException: null

Here's the environment variables I enabled

Environment variables
{
   "EULA":"TRUE",
   "MEMORY":"4G",
   "TYPE":"FABRIC",
   "DIFFICULTY":"normal",
   "ONLINE_MODE":"FALSE",
   "MOTD":"Hello World!",
   "MAX_PLAYERS":"5",
   "VIEW_DISTANCE":"10",
   "MODE":"survival",
   "ENABLE_COMMAND_BLOCK":"TRUE",
   "TZ":"Australia/Brisbane",
   "MODRINTH_PROJECTS":"fabric-api,lithium,lazydfu,ferrite-core,starlight,memoryleakfix,mods-command,tabtps,fabrictailor,no-chat-reports,convenient-mobgriefing",
   "MODRINTH_DOWNLOAD_OPTIONAL_DEPENDENCIES":"TRUE",
   "MODS":"https://ci.opencollab.dev/job/GeyserMC/job/Geyser/job/master/lastSuccessfulBuild/artifact/bootstrap/fabric/build/libs/Geyser-Fabric.jar",
}

The error was gone when I removed no-chat-reports from the MODRINTH_PROJECTS, but restarting the server (with no_chat_reports still removed) caused the error again.

Yup! Can confirm it helps. Thanks for the swift response. So, maybe the default timeout value was not enough for my server. To give more context, I deployed the server on AWS ECS in ap-southeast-3 region.

This issue seems to be back. After running docker compose restart I get the following in my logs:

I'm having a similar issue with Modrinth that has appeared in the last few days:
[init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 9 1000 1000 4096 Apr 13 10:04 /data' [init] Resolved version given LATEST into 1.19.4 and major version 1.19 [init] Autopause functionality enabled [init] Resolving type given FABRIC [mc-image-helper] 07:20:17.208 ERROR : 'modrinth' command failed. Version is 1.27.4 me.itzg.helpers.files.ManifestException: Failed to load existing manifest from /data/.modrinth-manifest.json

Hi,
same here I get this error since this last week.
I'm guessing that's a problem with a mod from Modrinth but I can't find which one is at fault.
Here is the error I get ( I don't always get it after the same mod downloading when I wathc the logs)  :
[mc-image-helper] 23:37:03.778 ERROR : 'modrinth' command failed. Version is 1.38.16
me.itzg.helpers.http.FailedRequestException: HTTP request of https://api.modrinth.com/v2/version/bg7gh7bA failed with 404 Not Found: Fetching object content

And here is my env :
EULA="TRUE"
TYPE=FABRIC
DEBUG="false"
VERSION="1.20.4"
INIT_MEMORY=4G
MAX_MEMORY=8G
ENABLE_WHITELIST="true"
ENABLE_RCON=true
RCON_PASSWORD=***
VIEW_DISTANCE=16
SIMULATION_DISTANCE=14
DIFFICULTY=hard
MODRINTH_PROJECTS=fabric-api,lithium,sodium,simple-voice-chat:beta,audioplayer:alpha,view-distance-fix:alpha,enhanced-groups:alpha,xaeros-world-map,xaeros-minimap,dynmap:beta,cloth-config,luckperms,viafabricplus,worldedit,starlight,discord-mc-chat:2.3.1,spark,krypton,ferrite-core,memoryleakfix,moreculling,carpet,carpet-fixes,forge-config-api-port:v20.4.3-1.20.4-Fabric,yawp:bg7gh7bA,comforts


🐛[BUG] Navbar white on overflow and mobile

🐛 bug 描述 [详细地描述 bug，让大家都能理解]
Sorry, I don't speak Chinese.
When the nav overflows it looks like this (on @ant-design/pro-layout 6.3.0 and 5.0.5):

And on mobile it looks like this (on @ant-design/pro-layout 6.3.0. It was fine on 5.0.5):

📷 复现步骤 [清晰描述复现步骤，让别人也能看到问题]
🏞 期望结果 [描述你原本期望看到的结果]
💻 复现代码 [提供可复现的代码，仓库，或线上示例]
© 版本信息

Ant Design Pro 版本: [e.g. 4.0.0]
umi 版本
浏览器环境
开发环境 [e.g. mac OS]

🚑 其他信息 [如截图等其他信息可以贴在这里]

For the first item I had to upgrade to Ant 4.4.0 for it to work properly.
The second item is still an issue though.


Summary functions.

Both ImageSource and Pipeline object require functions, named summary that output details regarding that object's state. For the ImageSource class that is a run down of the image sources that are currently loaded. The Pipeline's summary should output the operations that have been added so far,
Also, the ImageSource and Pipeline's summary function should output tables in Markdown valid syntax. This would mean that if the package is being used in Jupyter, a nicely formatted table will render when summary is called. Also, they would look fine in a REPL interpreter.
It should output valid Markdown such as the following output from an ImageSource object:
| Summary           |                    |
|:-----------------:|--------------------|
| Image count       | 120                |
| Dimensions        | 480x480 (120)      |
| Aspect ratio(s)   | 1:1                |
| File type(s)      | 1                  |
| File extension(s) | BMP                |
| File format(s)    | Grayscale          |

Example rendered output for an ImageSource object:

Summary

Image count
120

Dimensions
480x480 (120)

Aspect ratio(s)
1:1

File type(s)
1

File extension(s)
BMP

File format(s)
Grayscale

Note that the idea is that summary provides an overview of the interesting properties of the data source. For example it could be the case that all images are of different size, in that situation it wouldn't be very informative to print every size there is. However, if it is still the case that all images are of the same aspect ratio than that information is interesting and worth printing.

We are still working on File format(s) here.
Basically, we are not sure what the results of "File format(s)" should be.
Would it be possible to provide some more examples on this matter?

Well, the table should just output the types of file formats that a folder contains. For example, it would be useful to know if all the images were grayscale, black and white, or colour (RGB, etc.) - or a mixture of these. This is important because at the very least you want to have images of the same format for input into a neural network (therefore you might want to make all images grayscale). Also, colour RGB images contain three layers, one layer for each colour, and therefore have a matrix of shape [800x600x3] for an 800x600 image. Grayscale and Black&White images do not have three layers and therefore have a matrix shape of [800x600x1].

this issue should be finished


[Snyk] Upgrade webpack from 5.81.0 to 5.83.1

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade webpack from 5.81.0 to 5.83.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 4 versions ahead of your current version.
The recommended version was released a month ago, on 2023-05-17.

Release notes

Package name: webpack

5.83.1 - 2023-05-17Bug Fixes

Fix regression in import/export normailization effecting mini-css-extract-plugin by @ alexander-akait in #17214

Full Changelog: v5.83.0...v5.83.1

5.83.0 - 2023-05-17New Features

Normalize property access for imports and exports by @ bworline in #17137
Top Level Await is now enabled by default by @ burhanuday in #17192

Bug Fixes

Correct chunkgroup.groupsIterable return type by @ TheLarkInn in #17196
Fix bug in Rule Matcher type by @ alexander-akait in #17207
Fixed apply event callback and optimizing callback event type by @ nuintun in #16094
Fix types in hot module replacement APIs by @ alexander-akait in #17193

Developer Experience

Expose ChunkGroup to type definitions by @ TheLarkInn in #17201
Add NormalModuleFactory's ResolveData type to public interface by @ TheLarkInn in #17195
Document compilation.afterChunks hook by @ TheLarkInn in #17202

Dependencies & Maintenance

Bump @ webassemblyjs/wasm-edit from 1.11.5 to 1.11.6 by @ dependabot in #17168
Bump wast-loader from 1.11.5 to 1.11.6 by @ dependabot in #17163
Bump yarn-deduplicate from 6.0.1 to 6.0.2 by @ dependabot in #17184
Fix command by @ alexander-akait in #17154
Bump @ types/node from 18.16.3 to 20.1.7 by @ dependabot in #17205

New Contributors

@ bworline made their first contribution in #17137
@ nuintun made their first contribution in #16094

Full Changelog: v5.82.1...v5.83.0

5.82.1 - 2023-05-10Bug Fixes

[CSS] - Support nesting in CSS modules and bug fixes by @ alexander-akait in #17133
[CSS] - Fix crash with importModule when CSS enabled by @ alexander-akait in #17140
Fix bug where output.hashFunction was failing to generate debug hash by @ ahabhgk in #16950
Reduce the amount of generated code for chunk loading by @ lvivski in #17151
Use module preload for ESM module output by @ alexander-akait in #17143

Developer Experience

Improve module type strictness for Module.prototype.type expand ModuleTypeConstants by @ TheLarkInn in #17136

Dependencies & Maintenance

Update package.json description by @ JeraldVin in #17145
Bump webpack-cli from 5.0.2 to 5.1.0 by @ dependabot in #17146
Bump core-js from 3.30.1 to 3.30.2 by @ dependabot in #17149
Bump enhanced-resolve to v5.14.0 by @ snitin315 in #17160

New Contributors

@ JeraldVin made their first contribution in #17145

Full Changelog: v5.82.0...v5.82.1

5.82.0 - 2023-05-03 Read more

5.81.0 - 2023-04-26 Read more

    from webpack GitHub release notes

Commit messages

Package name: webpack

81c8fbd 5.83.1
5ed1649 Merge pull request #17214 from webpack/fix-regression
06a1f0b revert: return type
cba05da test: added
b8e0bcf fix: regression
ccb3b86 5.83.0
e11a572 Merge pull request #17154 from webpack/chore-fix-cover-report
fd09c33 Merge pull request #17193 from webpack/types-fix
a451bda Merge pull request #17207 from webpack/fix-matcher-bug
3b80086 fix: matcher type
73c2034 Merge pull request #17205 from webpack/dependabot/npm_and_yarn/types/node-20.1.7
0ff3b9f chore(deps-dev): bump @ types/node from 18.16.3 to 20.1.7
10be3f9 Merge pull request #17202 from webpack/thelarkinn/doc-after-chunks
1b6b741 docs(types): Add docs for compilation.afterChunks hook
03af176 Merge pull request #17201 from webpack/thelarkinn/expose-chunk-graph-type
53eccc3 refactor(types): Expose ChunkGroup to type definitions
793a063 Merge pull request #17195 from webpack/thelarkinn/add-nmrp-types
e3e896a chore: fix lint
ed31965 refactor(types): fix
6860a91 refactor: fix types
fa20888 refactor: fix types in hot
284e71b Merge pull request #16094 from nuintun/hot-event-optimizing
944403f Merge pull request #17192 from burhanuday/feat/enable-top-level-await
ffb6baa yarn fix

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Codecov Report
Patch and project coverage have no change.

Comparison is base (e0b89a3) 100.00% compared to head (d0cc300) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #67   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines          177       177
  Branches        53        53
=========================================
  Hits           177       177

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Add admiral/common/scripts/x86_64/Ubuntu_14.04/remote/installVault.sh

https://github.com/Shippable/pm/issues/10168

Verified.


tanzu-cli 1.4.1 on Linux context create hangs on kubernetes-release

Bug description
I am essentially here: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-with-tanzu-tkg/GUID-E5A804FA-BB03-436F-BF01-14CBF13DBB9D.html . Attemping to create a context against my Tanzu environment.
This works on Windows with tanzu-cli 1.4.1 down to generating me my kubeconfig. The same exact process, same endpoints, hangs on linux.
There is a load of CPU activity from the kswap0 process during this hang. My only way to exit is to eventually ctrl c out of it as the system becomes quite unresponsive.
Expected behavior
Plugins are installed and drops back out to shell, ready to move on to listing/connecting to a tanzu namespace.
Steps to reproduce the bug / Relevant debug output
dnf install tanzu-cli
tanzu plugin install --group vmware-tkg/default (installs pinniped auth)
tanzu context create MyContext --endpoint https://<IP_ADDRESS>

[hang on Linux Alma 9] @ - Installing plugin 'kubernetes-release:v0.29.0' with target 'kubernetes'

…
[or succeeds in Win 11]

Output of tanzu version
version: v1.4.1
buildDate: 2024-08-14
sha: bbde4b21
arch: amd64

on both OS'es
Environment where the bug was observed (cloud, OS, etc)
Win11 or Alma 9.1

I also get error while validating the Context object: context name cannot be empty


Backwards-incompatible change to ListUtils.map() breaks gradle plugin

It seems the change to ListUtils.map() at https://github.com/openrewrite/rewrite/commit/f4ca98215b0ad660292e17ffb5af3e05cb89f8cd breaks the Gradle plugin.
When trying to apply JUnit4to5Migration it fails with an exception, see details below.
According to https://github.com/openrewrite/rewrite-gradle-plugin/blob/main/plugin/src/main/java/org/openrewrite/gradle/isolated/DefaultProjectParser.java#L1392 the Gradle plugin is still trying to use the old version of "map()".
What version of OpenRewrite are you using?
Gradle-plugin:	id 'org.openrewrite.rewrite' version '6.27.1'
Dependency: rewrite("org.openrewrite.recipe:rewrite-testing-frameworks:2.23.0")
Gradle: 8.5
How are you running OpenRewrite?
Via a simple Gradle project
What is the smallest, simplest way to reproduce the problem?
The following Gradle file triggers the problem for me

plugins {
	id 'org.openrewrite.rewrite' version '6.27.1'
}

apply plugin: 'java'

repositories {
	mavenCentral()
}

dependencies {
	testImplementation 'org.junit.vintage:junit-vintage-engine:5.11.3'
	testImplementation 'org.junit.jupiter:junit-jupiter-api:5.11.3'
	testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.11.3'

	rewrite("org.openrewrite.recipe:rewrite-testing-frameworks:2.23.0")
}

rewrite {
	// https://docs.openrewrite.org/recipes/java/testing/junit5/junit4to5migration
	activeRecipe("org.openrewrite.java.testing.junit5.JUnit4to5Migration")
	setExportDatatables(true)
}

What did you expect to see?
I expect Gradle task rewriteRun to be executed successfully
What did you see instead?
Error: NoSuchMethodError: 'java.util.List org.openrewrite.internal.ListUtils.map(java.util.List,
What is the full stack trace of any errors you encountered?
Caused by: java.lang.NoSuchMethodError: 'java.util.List org.openrewrite.internal.ListUtils.map(java.util.List, java.util.function.UnaryOperator)'
        at org.openrewrite.gradle.isolated.DefaultProjectParser.listResults(DefaultProjectParser.java:1392)
        at org.openrewrite.gradle.isolated.DefaultProjectParser.run(DefaultProjectParser.java:420)
        at org.openrewrite.gradle.DelegatingProjectParser.lambda$run$2(DelegatingProjectParser.java:115)
        at org.openrewrite.gradle.DelegatingProjectParser.unwrapInvocationException(DelegatingProjectParser.java:164)
        at org.openrewrite.gradle.DelegatingProjectParser.run(DelegatingProjectParser.java:114)
        at org.openrewrite.gradle.RewriteRunTask.run(RewriteRunTask.java:36)

Are you interested in contributing a fix to OpenRewrite?
likely can't invest enough time here for now

Downgrading to rewrite("org.openrewrite.recipe:rewrite-testing-frameworks:2.22.0") makes it work again.

hi! Yes pinning back works, or recompiling your recipe jars. We're considering a roll back; you can follow along here:

https://github.com/openrewrite/rewrite/pull/4729

Fixed in https://github.com/openrewrite/rewrite-recipe-bom/releases/tag/v2.23.1
Thanks again for the prompt warning!


Devices : SNR Chart Fills with 0 values

Looks like the SNR values are filled in with 0s if there's no data present. I think this is technically OK but visually it doesn't look right.

Seems better.


Rasa nlu model is not updating (while server is running)

I have run the server for Rasa nlu using below command.
'python -m rasa_nlu.server -c config_spacy.json --server_model_dirs=./model_name'
Server started with 5000 port, I can able to get the response properly using 'http://localhost:5000/parse?q=hello' end point.
Now I have updated model with new intents while the server is in running state with below command.
'python -m rasa_nlu.train -c config_spacy.json'
But after updating the model while the server is in running state I am not able to get response with updated model data.
If I stop the server and again start the server then I am able to see my updated results.
Can't I get the updated result while running the server, why should I restart the server every time.
Please suggest and give me the solution for it.

Hi,
Could you please fill the issue template so we can have a better understanding of the situation :
rasa NLU version (e.g. 0.7.3):
Used backend / pipeline (mitie, spacy_sklearn, ...):
Operating system (windows, osx, ...):
Issue:
Content of configuration file (if used & relevant):
What was the server output during training? Did you see an error?

rasa NLU version (e.g. 0.7.3): 0.10.0a4
Used backend / pipeline (mitie, spacy_sklearn, ...): ["nlp_spacy", "tokenizer_spacy", "intent_featurizer_spacy",
"ner_crf", "ner_synonyms", "intent_classifier_sklearn"]
Operating system (windows, osx, ...): windows
Issue: If I update the model while the Rasa Server is running it is not reflecting my newly update data. If I stop the Rasa Server and again I start the Rasa Server then I am able to see my updated data.
As I said, for every update in model, I can't restart the Rasa Server.
Can I reflect my newly updated data without restarting the Rasa Server.
Content of configuration file (if used & relevant):
{
"name": "People",
"pipeline" : ["nlp_spacy", "tokenizer_spacy", "intent_featurizer_spacy",
"ner_crf", "ner_synonyms", "intent_classifier_sklearn"],
"path" : "./models",
"data" : "./data/examples/rasa/People.json"
}
What was the server output during training? Did you see an error?
I haven't seen any error in server output during training. I can see reflected json with my new values in models.
Please let me know if you require anything more info I will share thank you :)

After training, you should query the newly trained model by specifying its folder name:
curl 'localhost:5000/parse?q=hello&model=model_XXXXXX'
Instead of the default model_XXXXXX name, you can use a custom one during training:
[...]/train?name=my_model
Then :
curl 'localhost:5000/parse?q=hello&model=my_model'

Thank you so much :) @PHLF.
I added model name in parse end point, it is working now.

http://localhost:5000/parse?q=hello&model=my_model
In the above mentioned end point my_model(model name) is case sensitive or not?
why because I am asking this question my model name is 'People'
after training my model without any issue, I am getting different parse end point results for both small letter(people) and capital letter(People).
Please let me know whether the parse end point is case sensitive or not. if so how can I mention my model name in parse end point


Using with nuxt.js - The client-side rendered virtual DOM tree is not matching server-rendered content. or document is undefined

I use 'vue-rate-it' in vuejs. When I setup it in nuxt, it does not work.
If I set the config, it will be "document is undefined because it is for client-side only.
plugins: [
  { src:'@/plugins/vue-rate-it' },
],

If I add ssr: false, then I have got the "The client-side rendered virtual DOM tree is not matching server-rendered content"
Originally, in Vuejs template, I use it this way:
import { ImageRating } from 'vue-rate-it';
...
...
export default {
  name: 'BloggerQuickInfo',
  components: {
    ImageRating,
  },
}
...
...

// in template, the usage is
<image-rating
      :src="require('@/assets/img/rating-graphics.png')"
    />

Any one can help?
Thanks a lot.

Sorry, I have misplaced the issue/questions here.


Missing Recovered US data 30/03

Hello,
thanks a lot for sharing your code! I did a REST call but I noticed that for today, in US there is no data for the recovered, while on the dashboard there are data! Did you also notice it?

They are discontinuing reporting on the recovered cases.


API Error: Relationships

When calling the relationships API (/api/v1/relationships/IOC) if there's no defined relationships the result is:

This should instead return an empty JSON object. (I'm not just being lazy opening an issue, I'll fix it, I just wanted a reminder while I'm building other things).

Is the relationship API endpoint necessary? Relationships can be gathered from the other endpoints. Maybe I'm misunderstanding what this endpoint should be returning.


[L5] feature request: a version of eloquent using the Data Mapper pattern

I love eloquent and how intuitive it is. I love how I can access attributes using $person->name without ever having to configure or define that and the same for relations of models. What I don't like as much about Eloquent is that it uses the Active Record pattern. This encourages to mix all kinds of different logic together into the model, like business logic and persistence logic, which eventually makes everybody's code messier.
Of course one can choose to use the Repository pattern to tackle this, which I'm doing right now, but wouldn't it be nicer if the laravel framework encouraged separation of those different kinds of logic out of the box? I also know Doctrine 2 is an option, but the argument still stands. And besides, Doctrine 2 isn't as beautifully simple as Eloquent, so I trust that if you guys would want to do this, you'd be able to make something beautiful.
I'd love to hear what everybody thinks about this.

https://github.com/analogueorm/analogue

I think this has come up before. Note, just because I've closed this issue, it absolutely doesn't mean people can't continue to comment on it. :)


BS scraper fails with invalid date

it seems BS will once again publish on Monday. So we need to exclude those messages.


Apache takes a long time to reload

Hi,
If I activate my modsecurity 2.9.0 with commercial rules on Debian 7, Apache takes a long time to reload / restart (over 15s). Do you have a solution to reduce this time ?

This depends on the amount of rules being used. Please select only the applicable rules that are needed in the dashboard.


Expect fully qualified resource Id that start with '/subscriptions/{subscriptionId}'

I am trying to update a VMSS with the following command:
$ az vmss update --add virtualMachineProfile.storageProfile.imageReference.id /subscriptions/SUBSCRIPTION_ID/resourceGroups/images/providers/Microsoft.Compute/images/centos7-3.10-201807161436 -n ss-master -g kargakisosa --remove virtualMachineProfile.storageProfile.imageReference.offer --remove virtualMachineProfile.storageProfile.imageReference.publisher --remove virtualMachineProfile.storageProfile.imageReference.sku --remove virtualMachineProfile.storageProfile.imageReference.version

And I get back the following error:
Property id '['/subscriptions/SUBSCRIPTION_ID/resourceGroups/images/providers/Microsoft.Compute/images/centos7-3.10-201807161436']' at path 'properties.virtualMachineProfile.storageProfile.imageReference.id' is invalid. Expect fully qualified resource Id that start with '/subscriptions/{subscriptionId}' or '/providers/{resourceProviderNamespace}/'.

Doesn't make any sense, I already use the fully qualified path.

@yugangw-msft

It is generic update command, which is a bit hard to use, also the error from CRP service is bad, which makes lives hard.
--add means to add a new member to a list, but imageReference is an object, so --set should be used. I tweak your command to be accepted better by the service which gives you a better error of The Image type for a Virtual Machine Scale Set may not be changed. This is a correct one as you can't change the image from a PIR image to your own custom image.
az vmss update --set virtualMachineProfile.storageProfile.imageReference id=/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/images/providers/Microsoft.Compute/images/centos7-3.10-201807161436 -n ss-master -g kargakisosa --set virtualMachineProfile.storageProfile.imageReference.offer="" --set virtualMachineProfile.storageProfile.imageReference.publisher="" --set virtualMachineProfile.storageProfile.imageReference.sku="" --set virtualMachineProfile.storageProfile.imageReference.version=""

Closing per comment


Use final_layout_index in BackendEstimator

Summary
Just code refactoring.
I used final_layout_index introduced from 0.45 instead of complex workaround.
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
9 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.02%) to 86.945%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/lex.rs
3
91.67%

crates/qasm2/src/parse.rs
6
97.6%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
74369

Relevant Lines:
85536

💛  - Coveralls


proposal: Go 2: return exit code from main (remove log.Fatal)

UPDATED: Removed multiple syntax suggestions, leaving only one, and updated suggestion for library changes.
Background
I wrote a post a while back about how log.Fatal (and os.Exit) does not fit well with other Go patterns. This post forms the background for this proposal, and can be read to get some context.
In short, when using log.Fatal (or os.Exit), processes exit immediately, not allowing for deferred functions to run, or go-routines to complete. While this may be the desired way for a program to work in some cases, in many cases it's probably a bug. In my opinion, this pattern for exiting a program stands in contrast to how go's error handling works, where explicitness through error return values have been chosen over e.g. the less verbose (and probably less safe) exception throw/catch pattern used in some languages.
func main() int {
    defer func() {
        fmt.Println("defer functions may or may not run...")
        fmt.Println("...or they may get interrupted in the middle of execution")
    }()
    os.Exit(1)
}

I believe it would be more in line with Go language design to switch to returning exit codes ~or errors~ from the main function in Go 2, allowing for deferred functions to complete. I.e. similar to how this works in C, but not necessarily following the exact same syntax and semantics.
Note on numeric exit codes
The conventions for exit codes are quite different between POSIX and Windows, or even between different programs. Linux itself seam to accept an int32 where most Unix shells would only retrieve the last 8 bits, or fallback to 255 (out of range). Windows ExitCodes are defined to be int32, but treated as unsigned by the PowerShell.  There may or may not be some library support added to help define common error codes for Go programs (potentially with different values for different operating systems), but this is not the main objective of this proposal, so I will not go into any great depth about this.
However, usually languages (including Go) have been able to assume at least three values, and use them on all systems regardless of OS conventions: success (0), failure (1), invalid command-line flags or parameters (2).
Goal
Returnable exit codes should provide an easy and safe way for programmers to exit their programs so that deferred functions are run by default. The new pattern should "force" (a.k.a. help) the programmer to write safer programs, similar to how the explicit error handling "forces" programmers to deal with error in an explicit manner.
The overall goal is therefore that this limited language change would lead to fewer bugs in Go programs related to graceful shutdowns. To that end, some features may also be removed or changed in the standard library as returnable exit codes are added, to recommend better practices.
How it should work
Basically, the main function of the  main packages should receive a new required return parameter that returns a numeric exit code in some form, that is returned to the system when a program exits. The semantics of this would be equal to the following code in Go 1 today:
func main() {
    os.Exit(program())
}

func program() int {
    defer fmt.Println("defer function runs")
    return 0
}

As you can see, this is not a hard pattern to implement today, but it's also not an officially recommended or particular common pattern, which is what we are going to change. Thousands of new Go programmers could potentially arrive at this semantics within the first day of picking up the language, instead of several years later.
Suggested syntax
UPDATE: Simplified to only include one example.
Unless there is a good reason for something else, I suggest we follow the most obvious syntax, and let main return a normal int.
// main package examples
func main() int {
    defer fmt.Println("defer function run")
    return 0 // success
}

func main() int {
    defer fmt.Println("defer function run")
    return 1 // failure
}

Support in standard library (suggestions)
UPDATE: Add suggestion for errors package additions.
To make the feature more convenient in use, and to recommend better practices, the following changes are suggested for the standard library.
In particular, the removal of some functions is suggested to make space for the new feature, without accumulating language complexity.
These are only suggestions though, and real implementations may find better patterns or packages for containing such changes, depending on e.g. what else will change in the standard library for Go 2, if anything.
package errors
Package errors receives a new interface ExitCoder, and a function ExitCode(err error) int that can be used to retrieve an exit code from an error value.
// in package errors

// ExitCoder is an optional interface for error implementations that can
// be used to suggest an exit code for a given error.
type ExitCoder interface {
    // ExitCode recommends a numeric exit code to return
    // from the main function.
    ExitCode() int
}

// ExitCode returns 0 if err is nil, the result of ExitCode if ExitCoder is
// implemented by err, or 1.
func ExitCode(err error) int {}

Package flags
Errors returned from flags.FlagSet.Parse(args) error, will implement the errors.ExitCoder interface and always return 2 (error for invalid command line usage).
flag.Parse() is changed to flag.Parse() error, and will not exit on error by default. Preferably the whole flag.ErrorHandling parameters and options are simply removed, depending on how easy it is for tools like go fix to find and update Go 1 programs to have an explicit error handling for all flag.Parse() calls in a subsequent call to os.Exit(errors.ExitCode(err)) for Go 2.
Package logs
The log.Fatal and log.Fatalln functions are removed completely, both from the package and log.Logger type(s).  A go fix pattern is crated to update any usage of log.Fatal(x)/ log.Fatalln(x) in Go 1 programs to use log.Print(x)/log.Println(x) (or the equivalent call on a log.Logger instance) followed by os.Exit(1) for Go 2.
This removal should help recommend good practice. As mentioned in my post I have seen that even experienced Go programmers may use log.Fatal within imported packages, but the truth is that it isn't even safe to use for the main.main function, if that function includes a deferred function necessary for grace-full shutdown.

Updated to include single syntax example, rather than three different ones. Updated suggested changes to libraries.

There are other ways to exit a program without running any deferred functions: call panic from a different goroutine, call syscall.Exit.
The only advantage of returning a value from main is to skip the call to os.Exit.  Removing os.Exit entirely means that all programs have to thread their exit status back to the main function, which can be quite awkward, may require a global variable, and is especially painful when going through different goroutines.
If you want to adopt a programming style in which you don't call os.Exit or log.Fatal, that seems quite reasonable.  But not everybody will adopt that style.  I don't see a reason to change the language here.


Cannot load model

Thanks for your code and model, it works like a charm!
Just a strange thing I noticed when I tried to convert the average model (like what you did in the demo script) to a tf frozen graph. Basically I loaded the three models (capsule, var_capsule, noS_capsual) and average their outputs, and create a new model using the averaged output.
The problem is I can save and load any of your pretrained model, but as soon as I add anything on top of it (even some dummy layers), load_model will fail. Below are my dummy testing code to reproduce the issue.
Saving and loading pretrained model works as expected.
import numpy as np
from keras import backend as K
from keras.layers import Maximum, Input
from keras.models import Model, load_model

from lib.FSANET_model import *

# load a model the same way as you did.
num_capsule = 3
dim_capsule = 16
routings = 2
stage_num = [3,3,3]
lambda_d = 1
num_classes = 3
image_size = 64
num_primcaps = 7*3
m_dim = 5
S_set = [num_capsule, dim_capsule, routings, num_primcaps, m_dim]

model1 = FSA_net_Capsule(image_size, num_classes, stage_num, lambda_d, S_set)()
weight_file1 = 'pre-trained/300W_LP_models/fsanet_capsule_3_16_2_21_5/fsanet_capsule_3_16_2_21_5.h5'
model1.load_weights(weight_file1)
print('Finished loading model 1.')

# save and load the model the same way as you did
model1.save("temp.hd5")
K.clear_session()
sess = K.get_session()
K.set_learning_phase(0)
new_model = load_model("temp.hd5")  # model will load successfully

# inspect the loaded model
print(f"Model inputs information - {new_model.inputs}")
print(f"Model outputs information - {new_model.outputs}")

However, when I tried to add a dummy maximum layer, load_model will fail.
import numpy as np
from keras import backend as K
from keras.layers import Maximum, Input
from keras.models import Model, load_model

from lib.FSANET_model import *

# load a model the same way as you did.
num_capsule = 3
dim_capsule = 16
routings = 2
stage_num = [3,3,3]
lambda_d = 1
num_classes = 3
image_size = 64
num_primcaps = 7*3
m_dim = 5
S_set = [num_capsule, dim_capsule, routings, num_primcaps, m_dim]

model1 = FSA_net_Capsule(image_size, num_classes, stage_num, lambda_d, S_set)()
weight_file1 = 'pre-trained/300W_LP_models/fsanet_capsule_3_16_2_21_5/fsanet_capsule_3_16_2_21_5.h5'
model1.load_weights(weight_file1)
print('Finished loading model 1.')

# add dummy layer on top of model. I did it in the same way as you did in the demo scripts.
inputs = Input(shape=(64,64,3))
x = model1(inputs)
xx = Maximum()([x, x])  # xx is the same as x
dummy_model = Model(inputs=inputs, outputs=xx)
dummy_model.summary()

# test if the dummy model works
dummy_image = np.ones([1, 64, 64, 3], dtype=np.float32)
dummy_out = dummy_model.predict(dummy_image)
model_out = model1.predict(dummy_image)
assert np.array_equal(model_out, dummy_out)   # the dummy model works just fine

# save and load the dummy model the same way as before
dummy_model.save("temp_dummy.hd5")
K.clear_session()
sess = K.get_session()
K.set_learning_phase(0)
new_model = load_model("temp_dummy.hd5")   # Error here!!!

# inspect the loaded model
print(f"Model inputs information - {new_model.inputs}")
print(f"Model outputs information - {new_model.outputs}")

The error message is:
Traceback (most recent call last):
  File "training_and_testing/temp_dummy.py", line 44, in <module>
    new_model = load_model("temp_dummy.hd5")  # model will load successfully  # Error here!!!
  File "/home/hongtao/miniconda3/envs/ml-source/lib/python3.7/site-packages/keras/engine/saving.py", line 419, in load_model
    model = _deserialize_model(f, custom_objects, compile)
  File "/home/hongtao/miniconda3/envs/ml-source/lib/python3.7/site-packages/keras/engine/saving.py", line 274, in _deserialize_model
    reshape=False)
  File "/home/hongtao/miniconda3/envs/ml-source/lib/python3.7/site-packages/keras/engine/saving.py", line 682, in preprocess_weights_for_loading
    weights = convert_nested_model(weights)
  File "/home/hongtao/miniconda3/envs/ml-source/lib/python3.7/site-packages/keras/engine/saving.py", line 670, in convert_nested_model
    original_backend=original_backend))
  File "/home/hongtao/miniconda3/envs/ml-source/lib/python3.7/site-packages/keras/engine/saving.py", line 682, in preprocess_weights_for_loading
    weights = convert_nested_model(weights)
  File "/home/hongtao/miniconda3/envs/ml-source/lib/python3.7/site-packages/keras/engine/saving.py", line 658, in convert_nested_model
    original_backend=original_backend))
  File "/home/hongtao/miniconda3/envs/ml-source/lib/python3.7/site-packages/keras/engine/saving.py", line 800, in preprocess_weights_for_loading
    elif layer_weights_shape != weights[0].shape:
IndexError: list index out of range

I have tried to add the same dummy layer on top of the official keras mobilenet model, and no error during saving and loading. Therefore I'm guessing that some operations in your model might be the cause to this issue, can you help me with it? Thanks!

Updates
I tried the same thing with the keras inception_resnet_v2 model, and no errors:
model = keras.applications.inception_resnet_v2.InceptionResNetV2(include_top=True, weights='imagenet', input_tensor=None, input_shape=None, pooling=None, classes=1000)
print(model.inputs)

# add dummy layer on top of model. I did it in the same way as how you created the average model.
inputs = Input(shape=(299,299,3))
x = model(inputs)
xx = Maximum()([x, x])  # xx is the same as x
dummy_model = Model(inputs=inputs, outputs=xx)

# test is dummy model works
dummy_image = np.ones([1, 299, 299, 3], dtype=np.float32)
dummy_out = dummy_model.predict(dummy_image)
# print(dummy_out)
model_out = model.predict(dummy_image)
# print(model_out)
assert np.array_equal(model_out, dummy_out)   # the dummy model works just fine

# save and load the dummy model the same way as before
dummy_model.save("temp_dummy.hd5")
K.clear_session()
sess = K.get_session()
K.set_learning_phase(0)
new_model = load_model("temp_dummy.hd5", compile=False)  # Error here!!!

# inspect the loaded model
print(f"Model inputs information - {new_model.inputs}")
print(f"Model outputs information - {new_model.outputs}")

Hello, I am no expert of the keras and tensorflow structure, but it seems to me that it is not a resolvable issue.
https://github.com/keras-team/keras/issues/10428
Therefore, I would suggest you save separate sub-models and load them separately.

Thanks for the reference. I'll settle on loading the three models separately for now. Will keep you updated if I find anything new.


stackdriver: prepare for release

Changes

Update to latest gcp_auth (0.11.0)
Switches the default authenticator to gcp_auth (which I've always used, and which I maintain)
Update changelog

Merge requirement checklist

[x] CONTRIBUTING guidelines followed
[x] Unit tests added/updated (if applicable)
[x] Appropriate CHANGELOG.md files updated for non-trivial, user-facing changes
[x] Changes in public API reviewed (if applicable)

https://crates.io/crates/opentelemetry-stackdriver/0.19.0 released

Thanks!


[Angular 10] RadListView (rc) causing App crash

To reproduce
1.Start a new project by nsc create sampleapp --template @nativescript/template-hello-world-ng@rc
2. tns  plugin add nativescript-ui-listview@rc
3. add a RadListView to ItemsComponent as
<ActionBar title="My App">
</ActionBar>

<GridLayout>
	<RadListView [items]="items">
        <ng-template tkListItemTemplate let-item="item">
            <StackLayout orientation="vertical">
                <Label class="nameLabel" text="name"></Label>
            </StackLayout>
        </ng-template>
    </RadListView>
</GridLayout>

add NativeScriptUIListViewModule to app.module
import { NativeScriptUIListViewModule } from 'nativescript-ui-listview/angular';
tns run android

Error:
System.err: Calling js method onCreateView failed
System.err: Error: JNI Exception occurred (SIGABRT).
System.err: =======
System.err: Check the 'adb logcat' for additional information about the error.
System.err: =======
System.err:
System.err:
System.err: StackTrace:
System.err: updateSelectionBehavior(file: node_modules\nativescript-ui-listview\ui-listview.android.js:1933:0)
System.err:     at createNativeView(file: node_modules\nativescript-ui-listview\ui-listview.android.js:1120:0)
System.err:     at _setupUI(file: node_modules@nativescript\core\ui\core\view-base\index.js:524:0)
System.err:     at (file: node_modules@nativescript\core\ui\core\view-base\index.js:566:0)
System.err:     at eachChildView(file: node_modules@nativescript\core\ui\layouts\layout-base-common.js:101:0)
System.err:     at eachChild(file: node_modules@nativescript\core\ui\core\view\view-common.js:700:0)
System.err:     at _setupUI(file: node_modules@nativescript\core\ui\core\view-base\index.js:565:0)
System.err:     at (file: node_modules@nativescript\core\ui\core\view-base\index.js:566:0)
System.err:     at eachChildView(file: node_modules@nativescript\core\ui\layouts\layout-base-common.js:101:0)
System.err:     at eachChild(file: node_modules@nativescript\core\ui\core\view\view-common.js:700:0)
System.err:     at _setupUI(file: node_modules@nativescript\core\ui\core\view-base\index.js:565:0)
System.err:     at (file: node_modules@nativescript\core\ui\core\view-base\index.js:566:0)
System.err:     at eachChildView(file: node_modules@nativescript\core\ui\content-view\index.js:65:0)
System.err:     at eachChildView(file: node_modules@nativescript\core\ui\page\page-common.js:99:0)
System.err:     at eachChild(file: node_modules@nativescript\core\ui\core\view\view-common.js:700:0)
System.err:     at _setupUI(file: node_modules@nativescript\core\ui\core\view-base\index.js:565:0)
System.err:     at _addViewCore(file: node_modules@nativescript\core\ui\core\view-base\index.js:428:0)
System.err:     at _addView(file: node_modules@nativescript\core\ui\core\view-base\index.js:417:0)
System.err:     at onCreateView(file: node_modules@nativescript\core\ui\frame\index.android.js:738:0)
System.err:     at onCreateView(file: node_modules@nativescript\core\ui\frame\fragment.android.js:25:0)
System.err:     at com.tns.Runtime.callJSMethodNative(Native Method)
System.err:     at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1286)System.err:     at com.tns.Runtime.callJSMethodImpl(Runtime.java:1173)
System.err:     at com.tns.Runtime.callJSMethod(Runtime.java:1160)
System.err:     at com.tns.Runtime.callJSMethod(Runtime.java:1138)
System.err:     at com.tns.Runtime.callJSMethod(Runtime.java:1134)
System.err:     at com.tns.FragmentClass.onCreateView(FragmentClass.java:55)
System.err:     at androidx.fragment.app.Fragment.performCreateView(Fragment.java:2439)
System.err:     at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1460)
System.err:     at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1784)
System.err:     at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1852)
System.err:     at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:802)
System.err:     at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManager.java:2625)
System.err:     at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2411)
System.err:     at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2366)
System.err:     at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2273)
System.err:     at androidx.fragment.app.FragmentManagerImpl$1.run(FragmentManager.java:733)
System.err:     at android.os.Handler.handleCallback(Handler.java:873)
System.err:     at android.os.Handler.dispatchMessage(Handler.java:99)
System.err:     at android.os.Looper.loop(Looper.java:193)
System.err:     at android.app.ActivityThread.main(ActivityThread.java:6669)
System.err:     at java.lang.reflect.Method.invoke(Native Method)
System.err:     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Package.json
{   "nativescript": {     "id": "org.nativescript.sampleapp",     "tns-ios": {       "version": "6.5.2"     },     "tns-android": {       "version": "6.5.3"     }   },   "description": "NativeScript Application",   "license": "SEE LICENSE IN <your-license-filename>",   "repository": "<fill-your-repository-here>",   "scripts": {     "clean": "npx rimraf hooks node_modules package-lock.json platforms",     "ngcc": "ngcc --properties es2015 module main --first-only",     "postinstall": "npm run ngcc"   },   "dependencies": {     "@angular/animations": "~10.0.0",     "@angular/common": "~10.0.0",     "@angular/compiler": "~10.0.0",     "@angular/core": "~10.0.0",     "@angular/forms": "~10.0.0",     "@angular/platform-browser": "~10.0.0",     "@angular/platform-browser-dynamic": "~10.0.0",     "@angular/router": "~10.0.0",     "@nativescript/angular": "rc",     "@nativescript/core": "rc",     "@nativescript/theme": "~2.3.0",     "nativescript-ui-listview": "rc",     "reflect-metadata": "~0.1.12",     "rxjs": "^6.5.0",     "zone.js": "~0.10.3"   },   "devDependencies": {     "@angular/compiler-cli": "~10.0.0",     "@nativescript/types": "rc",     "@nativescript/webpack": "rc",     "@ngtools/webpack": "~10.0.0",     "typescript": "~3.9.0"   },   "readme": "NativeScript Application" }

@lonemanotzi perhaps running npm run ios | android might lead you to a better outcome.
However I faced this problem on the rc branch a week ago:
CONSOLE ERROR file: node_modules/@angular/core/fesm2015/core.js:4197:0: ERROR Error: Uncaught (in promise): TypeError: Cannot call a class constructor without |new|
ContainerView(file: node_modules/@nativescript/core/ui/core/view/index.ios.js:599:0)
at RadListView(file: node_modules/nativescript-ui-listview/ui-listview.common.js:381:0)
at RadListView(file: node_modules/nativescript-ui-listview/ui-listview.ios.js:908:0)
at createView(file: node_modules/@nativescript/angular/fesm2015/nativescript-angular.js:2543:0)

when trying to render a grid radlistview in a new and cleaned project.

it didn't work, same error with --no-hmr flag.
Man, this NS upgrade is so bad that every plugin is broken, every component has broken features. this is worse than the angular2 upgrade.
We use quite a few plugins in our App and every single one of them is broken because of the namespace change. Our shared web project is now at ng8 and there is growing pressure to upgrade to ng10.
@NathanWalker: any pointers on how to make the current plugin work  with ng10? I see that even plugins that have some of the best NS contributors are still not released an rc version (check nativescript-camera for instance) and your PR is still  stuck for almost a month. I tried pulling down the code  and locally update the code/dependencies and use the .tgz file in my app. This is giving more errors due to ngcc incompatibility...i am  lost...

Can you please try to install latest version of nativescript-ui-listview: 9.0.1 which should work with Angular 10.

@lonemanotzi id be happy to help update your project and get you unblocked if you’d like - send email to<EMAIL_ADDRESS>and if can add me as contributor I can submit you a PR

You can also try using the officially published Angular 10 NativeScript template (you can omit the rc on that - we updated the blog post to reflect this as well):
nsc create sampleapp --template @nativescript/template-hello-world-ng

I have a working sample generated from that exact command including a modal component sample as well just for quick reference for anyone if helpful:
https://github.com/NathanWalker/ns-angular10-modal-sample

Thank you @NathanWalker Trying a new sample app using the command provided.

confirming that latest nsc temaplate and nativescript-ui-listview: 9.0.1 is working for radlist.
Thanks @NathanWalker  and @mohammadrafigh for tips.
QQ: what is the recommended  approach for plugins that are  not updated to latest tns version (ie have tns* dependencies)? Is it better to download the source  and update  the package and use "tns plugin add xxx.tgz" until the plugin owner is releasing a compatible package? I will try to contribute by PR to those plugins, but priority is to get the App updated first.

@lonemanotzi You can custom pack them if in a jam but also please post those which are giving you trouble here as we have updated quite a number of them and are continually doing so everyday. Here's a full list as of right now that have been updated - we will be providing a full list of all those updated at the time of the {N} 7.0 release. As always if one is missed we are happy to help update more plugins. Most of these either have an rc published or official version. For any still in rc, they are safe to use now and a final version will be published as well with the official {N} 7 release at end of month.

@nativescript/firebase
Breaking changes:

import { firebase } from @nativescript/firebase vs. import * as firebase from @nativescript/firebase

All pro ui suite plugins (autocomplete, calendar, chart, dataform, gauge, listview, sidedrawer)
All @nativescript-community/ui-* plugins (there are the Material plugins - previously nativescript-material-*)
@nativescript/imagepicker (replaces nativescript-imagepicker)
@nativescript/camera
@nativescript/zip
@nativescript/appversion
@nativescript/appsync
@nstudio/nativescript-pulltorefresh
@nativescript/secure-storage
@nstudio/nativescript-mapbox
@nstudio/root-detection
@nativescript/fingerprint-auth
@nativescript/directions
@nativescript/email
@nstudio/nativescript-https: "~3.0.0" - (https://github.com/EddyVerbruggen/nativescript-https/pull/68/files)
@nstudio/nativescript-cardview

Thanks @NathanWalker . Possible to look  at this nativescript-stripe plugin for  Ng10?
Your (and NS Team) work is  outstanding, keep  up the good work.

@lonemanotzi yes definitely that one was on a todo already - I'll post a PR to it today 👍

@lonemanotzi @funder7 here's the PR for nativescript-stripe and angular10:
https://github.com/funder7/nativescript-stripe/pull/1

@NathanWalker I tried this PR  in local and found 2 issues

pack.sh gives an error npm run build.native not found. I added this script from  one of your plugins and that built the tgz file.
After adding the tgz file through tns plugin, I am getting this error "ERROR in Symbol CreditCardViewDirective declared in c:/temp/x/node_modules/nativescript-stripe/angular/nativescript-stripe.directives.d.ts is not exported from nativescript-stripe/angular (import into c:/temp/x/src/app/app.component.tns.ts)"

Any idea how to fix this.
@funder7: Can you please push this PR  to the original repo and see they can release an official version?

Hi @lonemanotzi, can you pull the last version and rebuild the plugin please?
Apart from that, the CreditCardViewModule now must be imported with import { CreditCardViewModule }                             from 'nativescript-stripe/angular'; otherwise you will get that error.
If you have imported the code from the demo-angular project, then the html markup will probably cause some other errors related to UI events (card element not found). That's a bit strange: if you pull the latest version you will see that the demo-angular project will compile and run without any problems. Those errors are showing only when I export the example project code in another application.
A bit of work is still needed, but at least now the plugin seems to work fine ;)
Once everything will be fixed, I'll try to find some time to update the documentation too

I tried the demo-angular project by downloading your PR and it is giving the exact same error.
Here is what I did. (I tried a whole bunch of other combinations that are present in package.json but all  of them failed)
cd src
npm install
cd publish
pack.sh
cd demo-src
tns plugin add nativescript-stripe....tgz
nsc run android

Hi @lonemanotzi try to pull the latest version (just pushed it now), I've tested it, it works...but you cannot do any operation if you don't insert Stripe API keys into the code (check stripe.service.ts).
You don't need to run pack.sh when running demo projects, it's required only for publishing the plugin, or testing it into an external project. Probably there are better methods to include the plugin, but I do like that to simulate a real install from the npm repository.


[Feature Request]: Expandable table row

Description
Expandable table row, just like the ones in CloudWatch:

Currently, I have found no way to do something like this using the API for the Table component or any other component. I can achieve the same effect manually by doing three things:

remove overflow: hidden from body-cell
add vertical-align: top to body-cell
add an element to accept mouse clicks and show/hide the bottom part of the first column.

I suppose this can be implemented by adding an optional overrideStyle property in columnDefinitions. Would this be a good way to implement the feature?
I can contribute code as soon as this feature request is approved. Thanks!
Update: I have re-read CONTRIBUTING.md, apparently code contributions for new features are not accepted right now.
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate requests

I have been able to replicate a similar effect with this simple patch:
diff --git a/src/table/interfaces.tsx b/src/table/interfaces.tsx
index 401bce5..c7a3a6d 100644
--- a/src/table/interfaces.tsx
+++ b/src/table/interfaces.tsx
@@ -241,6 +241,7 @@ export namespace TableProps {
     width?: number | string;
     minWidth?: number | string;
     maxWidth?: number | string;
+    style?: React.CSSProperties;
   } & SortingColumn<T>;

   export type SelectionType = 'single' | 'multi';
diff --git a/src/table/internal.tsx b/src/table/internal.tsx
index 0b41ebe..7880fa9 100644
--- a/src/table/internal.tsx
+++ b/src/table/internal.tsx
@@ -317,11 +317,12 @@ const InternalTable = React.forwardRef(
                             key={getColumnKey(column, colIndex)}
                             style={
                               resizableColumns
-                                ? {}
+                                ? { ...column.style }
                                 : {
                                     width: column.width,
                                     minWidth: column.minWidth,
                                     maxWidth: column.maxWidth,
+                                    ...column.style,
                                   }
                             }
                             column={column}

Then each entry in columnDefinitions can contain a styles object to override the default style. Full-on CloudWatch-like UI will need some extra work.

Hello!
In our design system overriding any styles is not supported. This is our implementation detail and we change it very often, even in patch releases. Thanks for exploring this option, but it will not work this way.
For this use case, opening more details for a table item, we have another pattern, split view, which should be used instead.
Apologies for a delayed response, could you check if split panel component may address your use-case?

Closing due to inactivity. Feel free to reopen if you have additional comments.


Improve voice responsiveness

Improved prompts and instructions for voice responses and text-to-speech
Extended system prompts with datetime context template usage
Streamlined voice output by removing markdown, lists, and other unpronounceable elements
Added voice filler and acknowledgement systems for long-running operations
Added duplicate request control for critical pathways
Reduced memory token limits from 15k to 5k to improve efficiency
Updated memory guidelines to be more selective about what is stored
Added voice-specific text converter pathway
Improved error handling and voice feedback during processing
Removed some redundant message templates and system prompts

gdreview v1.0.1
Getting diff for branch main
Asking Cortex for a code review... (may take a few seconds)
This code review covers changes to multiple files in a system that handles AI entity interactions, with significant updates to memory management, voice response handling, and system messaging capabilities.
Summary: The changes primarily focus on improving voice interaction capabilities by adding new voice-specific pathways, refining memory management by reducing token limits and adding selectivity, and enhancing datetime awareness across the system. New files for voice response handling and improvements to existing pathways for better conversational flow have been added.
Detailed Review:

Potential Bugs/Errors/Omissions:

In sys_entity_start.js, there's a potential race condition between ackResponse and fetchChatResponse
The new calculateFillerTimeout function could potentially create very long delays with high fillerIndex values
Missing error handling in some of the new voice response pathways
Some voice conversion pathways may not properly handle markdown or structured content

Security Risks:

Token limits reduction in sys_memory_update.js (from 15000 to 5000) could potentially cause memory truncation
No validation on voice filler responses before they're sent to TTS
Potential for memory leaks in timeout handling if promises reject unexpectedly

Simplification Opportunities:

// Could simplify timeout calculation
const calculateFillerTimeout = (fillerIndex) => {
    return 6500 + Math.min(fillerIndex * 1000, 5000);
};

// Could extract voice filler logic into separate utility
const handleVoiceFillers = async (args, resolver) => {
    // ... filler handling logic
};

Best Practices Recommendations:

Add TypeScript interfaces for consistent data structures
Implement retry logic for voice response failures
Add logging for voice response performance metrics
Consider using a state machine for managing voice response states
Add unit tests for new voice response pathways
Use constants for magic numbers like timeout values
Add JSDoc comments for new functions and pathways
Consider implementing a circuit breaker for voice response failures

Determination: REQUIRES CHANGES

The code changes introduce important improvements but need several critical fixes:

Add proper error boundaries and recovery mechanisms for voice response failures
Implement validation for voice filler responses
Add proper cleanup for timeouts in error cases
Add proper typing and documentation
Implement proper handling for markdown/structured content in voice responses
Add metrics and monitoring for voice response performance
Add proper testing coverage for new pathways

Once these changes are made, the code will be more robust and maintainable. The core functionality appears sound, but the implementation needs more safeguards and proper error handling before being approved for merge.


url.js 1.2.0

Removed duplicated stringifing . Fixed #14
Like I commented out here, this was an old bug in the parseQuery function which was fixed. However, I forgot to do this change which was actually hiding the issue.
Now, everything should run smoothly! :dizzy:
/cc @renoke

Hopefully everything works fine. :smile:
:ship: Shipping 1.2.0 :tada:


Negative numbers in NumberPickerPreference

Ability to have negative numbers in NumberPickerPreference. Maybe implement similar to this:
http://stackoverflow.com/questions/14357520/android-numberpicker-negative-numbers

Implemented in version 2.1.0.


Suggestion for Neural Machine Translation with Attention tutorial

Please make sure that this is a documentation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:doc_template
System information

TensorFlow version:
2.0
Doc Link:
https://www.tensorflow.org/alpha/tutorials/text/nmt_with_attention

Describe the documentation issue

max_length function is not needed. The keras.preprocessing.sequence.pad_sequences already pad the sequence to max length. One can just get max length by input_seqs.shape[1]
need to explain why we skip 0 for "convert" and "loss_function". I think it is because of padding
Validation set is not used.  This could be an good example to explain how we evaluate the model.
GRU unit in encoder,  Dense in Attention weight calculation,  GRU unit in decoder all have the same units parameter. This is not necessary.  A note could be added to explain that same unit is used for convenience.

We welcome contributions by users. Will you be able to update submit a PR (use the doc style guide) to fix the doc Issue?
Yes

Assigning to Mark who in charge of doc and colab. I think all the suggestions here make sense and would improve the readability for the colab.

These updates sound great. Can you please send a PR here (https://github.com/tensorflow/docs/blob/master/site/en/r2/tutorials/text/nmt_with_attention.ipynb)?

@jasonzhang2022 I think this tutorial was updated based on your suggestions. I am closing this issue as it was resolved. Please feel free to reopen if I am mistaken. Thanks!


feat: add usdt to osmosis assets

This will only be updated on-chain when we run the scrape script and cron-job.


Allow resizing action to be performed on selected folder

Duplicating whats currently possible with element actions - accept automatically doing so for a chosen folder. Particularly handy for large folders. @mmikkel

Added in 0.1.3.

Awesome, @engram-design – thanks!


Updated Azure CPI config docs to include new and existing features…

… related to the following Azure CPI PRs/issues:

https://github.com/cloudfoundry/bosh-azure-cpi-release/pull/651 (Fixes https://github.com/cloudfoundry/bosh-azure-cpi-release/issues/644)
https://github.com/cloudfoundry/bosh-azure-cpi-release/pull/541 (Fixed https://github.com/cloudfoundry/bosh-azure-cpi-release/issues/328)
https://github.com/cloudfoundry/bosh-azure-cpi-release/pull/638 (Fixed https://github.com/cloudfoundry/bosh-azure-cpi-release/issues/111)

Note: This commit assumes that PR cloudfoundry/bosh-azure-cpi-release/pull/651 will be included in a new v37.7.0 release of the Azure CPI (in order to properly document the CPI version requirements of new features). If PR # 651 is instead included in a different CPI version, then this PR will need to be amended appropriately.

I hink it make sense to extend the Example of a load balancer now because there are more configuration options.

Done. And also added 3 examples for application_gateway.

blocked as its depending on https://github.com/cloudfoundry/bosh-azure-cpi-release/pull/651


ppci-cc: impossible to redefine a struct/union/enum tag in inner scopes

C Struct/union/enum tags follow the same rules than other identifiers for scope. They may be redeclared in an inner scope and the inner declaration hides the outer ones.
The following legal code is reported as erroneous :

void f(int n) {
struct S { int a; };
if (n == 10) {
struct S { int b; } s;    // error "multiple definitions"
s.b = 1;
}
s.a = 2;
}
4:    struct S { int b; } s;
^ Multiple definitions
2020-01-22 00:37:59,248 |     INFO |       root | ppci 0.5.7 on CPython 3.6.9 on Linux
2020-01-22 00:37:59,254 |     INFO |   cbuilder | Starting C compilation (c99)
2020-01-22 00:37:59,256 |    ERROR |       root | Multiple definitions
2020-01-22 00:37:59,257 |    ERROR |       root | (bug20.c, 5, 5)

Same behaviour for union/enum (which share the tag namespace)

Agreed, verified this was implemented wrongly. Addressed in 2ac2d764e899340547be2e96e7204efe1940188d.


Support message colours in chatbot_card

Right now the chat messages in chatbot_card stick to the app theme. It would be great if we can have the ability to change colours of the message bubbles.
TIA!

Thanks for the suggestions @lo5, I didn't notice them until now.
#1998 changed the chatbot card layout to a more appropriate one, deprecating the need for custom colors I believe.


Change the name-space level

Currently, the name-space is on the YAML children level.
Per discussion with @alfsuse we decided to move the level up, so one plugin is specific for one name-space.
If the user needs more plugins, it will use the #12
This change will make the plugins easier to understand and to write.

duplicate of https://github.com/kf5i/k3ai-core/issues/36


National Library of Australia "Trove"

Provider API Endpoint / Documentation
https://trove.nla.gov.au/about/create-something/using-api/v3/api-technical-guide
Provider description
The National Library of Australia aggregates works from libraries, museums, and galleries across Australia. The API supports search by rights, pagingation, and date sorting.
The API also includes cultural sensitivity information that should be captured in Openverse and presented on the Openverse frontend (would need new designs for this subset of the work). Related to #2593.
Licenses Provided
Various CC and PDM
Provider API Technical info
Requires a key and has rate limits. I'm not sure how many records exist but it would probably be a significant provider.
Checklist to complete before beginning development

[X] Verify there is a way to retrieve the entire relevant portion of the provider's collection in a systematic way via their API.
[X] Verify the API provides license info (license type and version; license URL provides both, and is preferred)
[X] Verify the API provides stable direct links to individual works.
[X] Verify the API provides a stable landing page URL to individual works.
[X] Note other info the API provides, such as thumbnails, dimensions, attribution info (required if non-CC0 licenses will be kept), title, description, other meta data, tags, etc.
[ ] Attach example responses to API queries that have the relevant info.

Implementation

[ ] 🙋 I would be interested in implementing this feature.

NLA also has a Flickr commons page that could be added as a separate, distinct source: https://www.flickr.com/photos/national_library_of_australia_commons/
This is different from "trove" which is the NLA's tool that aggregates multiple GLAM institutions across Australia.

I've just discovered that Trove also includes a good deal of Flickr stuff and we already overlap with them for some stuff. We'd need to filter out Flickr results, I guess?
E.g.: https://openverse.org/image/ffed1feb-0f8b-42fb-a016-2d824983156a?q=galah
https://trove.nla.gov.au/work/231741142?keyword=galah&l-advrights=Free with conditions&l-advrights=Free

This is a really remarkable resource! Very compelling approaches to text correction, cultural sensitivity info, and other community features.


Update build-test.md & debug-publish.md

I think there is a mistake about the id field with type UID in Sword and Forge structs

Got it! I will update the main branch in the future. Sorry about my mistake

Got it! I will update the main branch in the future. Sorry about my mistake

No worries, my friend. You new change looks great!
https://github.com/MystenLabs/sui/pull/4275


examples/motoko_examples/persistent-storage benchmarks

Re-write the example at examples/motoko_examples/persistent-storage in Rust/Motoko and generate corresponding benchmarks.

[ ] Rust
[x] Motoko
[x] Azle
[x] Benchmarks

There are a couple of things left in the rust code to write, but everything else is looking like it's good to go.


updated while loop

this is my first time participating in open source contribution.
Thank you

this is my first time participating in open source contribution.
Thank you

Add new solutions.
Do not updated previously created files


Vector tile source

https://github.com/user-attachments/assets/52c89ecd-64a3-46eb-9c4f-5196e1402040

Maybe we could build a gallery of vector tile sources too, if we find enough free sources

please update snapshots

Triggering CI

Thanks @martinRenou
To fix the right panel form we should change the selection of layer and source type here:
https://github.com/QuantStack/jupytergis/blob/e52fe9f6db97e80a24813ca0c2957b1df364fde8/packages/base/src/panelview/objectproperties.tsx#L240-L245)
with something like:
    if (selectedObj.type === 'RasterLayer') {
      SourceForm = RasterSourcePropertiesForm;
    } else if (selectedObj.type === 'VectorLayer') {
      LayerForm = VectorLayerPropertiesForm;
    }

    if (selectedObjSource.type === 'GeoJSONSource') {
      SourceForm = GeoJSONSourcePropertiesForm;
    }

Thanks for the review!

change the icon of the newGeoJSONLayer command (the icon already exist)

Yes, actually the official GeoJSON icon could suit best for the newGeoJSONLayer command


Rename styled components to $

Description :sparkles:
As discussed with @melniiv and @Nizar-Rahme , lets rename styled-components to use shorter name $
Reference: https://zzzzbov.com/blag/styled-components-naming-convention
Issues :bug:
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

Codecov Report

Merging #167 (698c0b5) into develop (4a75a07) will decrease coverage by 54.89%.
The diff coverage is 29.03%.

@@             Coverage Diff              @@
##           develop     #167       +/-   ##
============================================
- Coverage    66.91%   12.01%   -54.90%
============================================
  Files          272       55      -217
  Lines         5712      674     -5038
  Branches       432      114      -318
============================================
- Hits          3822       81     -3741
+ Misses        1853      579     -1274
+ Partials        37       14       -23

Impacted Files
Coverage Δ

frontend/shared/.eslintrc.js
0.00% <ø> (ø)

...nd/shared/src/components/container/Container.sc.ts
0.00% <0.00%> (ø)

...tend/shared/src/components/container/Container.tsx
0.00% <0.00%> (ø)

...nd/shared/src/components/forms/fields/Fields.sc.ts
0.00% <0.00%> (ø)

...omponents/forms/fields/fieldLabel/FieldLabel.sc.ts
0.00% <0.00%> (ø)

.../components/forms/fields/fieldLabel/FieldLabel.tsx
0.00% <0.00%> (ø)

.../shared/src/components/forms/heading/Heading.sc.ts
0.00% <0.00%> (ø)

...nd/shared/src/components/forms/heading/Heading.tsx
0.00% <0.00%> (ø)

...red/src/components/forms/section/FormSection.sc.ts
0.00% <0.00%> (ø)

...hared/src/components/forms/section/FormSection.tsx
0.00% <0.00%> (ø)

... and 200 more

Continue to review full report at Codecov.

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


AttributeError: 'MyVanna' object has no attribute 'ddl_collection'

A strange questions, when I run the code on vn.train(dll). This error was returned.
It happended on chromadb_vector.py
def add_ddl(self, ddl: str, **kwargs) -> str:
id = deterministic_uuid(ddl) + "-ddl"
self.ddl_collection.add(
documents=ddl,
embeddings=self.generate_embedding(ddl),
ids=id,
)
return id

Does this problem have anything to do with the value of my ddl?

Do you have more of the stack trace?
self.ddl_collection is initialized here:
https://github.com/vanna-ai/vanna/blob/8263d0dbb52d578337937fd395aa4da684d17edc/src/vanna/chromadb/chromadb_vector.py#L48-L52
Are you possibly not calling the constructor? What does your MyVanna object setup look like?

Do you have more of the stack trace?
self.ddl_collection is initialized here:
https://github.com/vanna-ai/vanna/blob/8263d0dbb52d578337937fd395aa4da684d17edc/src/vanna/chromadb/chromadb_vector.py#L48-L52
Are you possibly not calling the constructor? What does your MyVanna object setup look like?

That's correcectly, I made a mistake on MyVanna setup. It's not a problem. Thanks for the heads-up.


regression in flutter run --profile mode

When running an app in profile mode (flutter run --profile), I now often see the message:
No Flutter views available on <device name>

And - from IntelliJ - we don't think we've successfully launched an application; we're never able to establish a service protocol connection to the running app. There's been some work in the code that lists Flutter views - have haven't bisected this issue, but that's a possible cause of the regression.
@aam

The app does come up on the device, we just don't get enough data to establish a connection to it.

And, from the cli:
flutter run --profile
Initializing gradle...                                       1.3s
Resolving dependencies...                                    1.7s
Launching lib/main.dart on Nokia 6 1 in profile mode...
Gradle task 'assembleProfile'...
Gradle task 'assembleProfile'... Done                        1.7s
Built build/app/outputs/apk/profile/app-profile.apk (8.8MB).
No Flutter views available on Nokia 6 1
No Flutter view is available
<eom>

We're seeing this issue in regular (--debug) runs as well; we hit this during a user study.

It was running on a slow machine; perhaps a race condition which is more likely to happen on slow launches (slow machines or --profile mode).

cc @mraleph who saw this in flutter test context on our head-head-head infratructure

Closing this issue since the fix has since landed


⚠ Avatar API Endpoint has degraded performance

In 859c92e, Avatar API Endpoint (https://avatar.roblox.com/v1/avatar-rules) experienced degraded performance:

HTTP code: 200
Response time: 4186 ms

Resolved: Avatar API Endpoint performance has improved in 5e9d7ed after 6 minutes.


1.0 - refactor Step as time.Duration throughout

(i'll address the Testing OOM today and ping you when it's passing)


Analytics display and download csv

Hi, the "Analytics" functionality doesn't display nicely the csv (as below). Besides, the "Download as CSV" doesn't work.

Besides, the "Download as CSV" doesn't work.

@NehzUx What is the problem exactly? It just does nothing?

On my side it is not even displayed:

I close this issue but we keep track of it in the storage issue.


IntegralMatrixLike's type argument is bound to ComplexLike rather than IntegralLike

https://github.com/braedynl/matrices-py/blob/cdd4531f481971a66c956223f78a4282c84c44b0/matrices/protocols.py#L554
Stub file appears okay:
https://github.com/braedynl/matrices-py/blob/cdd4531f481971a66c956223f78a4282c84c44b0/matrices/protocols.pyi#L21

Fixed in version 0.2.2.


Hotspot issue

Was chatting with VG regarding the issue so decided to send PR
I do understand the hotspot is defined by default IP for hotspot however not everyone have tethering  plan which is blocked by provider however if you know ways around  android you can still have tethering most common is using proxy where users don't have to do much as far as rooting the phone goes however only issue with that is just IP address is different which 192.168.49. except for 192.168.43. so probably add if statement for android for IP.
Other suggestion i had regarding same issue was probably  add it ask APK option just in case for some reason the IP is different probably allow user to enter IP manually?

Looks like this should be more of a GitHub issue and not a pull request.

@vanillagorillaa  yeah i should have i just modify the code not sure which is valid though.

Closing this PR for now.
Please open an issue for this and you can open another PR with tested, working code.


Paper Typo

Hi, thank you for this really nice paper. This is just a quick note to say there is a typo in the current arXiv version. In this sentence on the final page, "weather" should be replaced by "whether."

Thanks!


Reset worker offset

Hi @xhl1988, @fx19880617
I want to reset worker offsets for some cases like

target topic was deleted, I want to restart from the beginning
I want to skip some messages
How can do that?

@ntviet18

The easiest way to reset offset is to delete the committed offset node in source cluster zk, like /<your cluster>/consumers/<your consumer group>/offsets/<your topic>,  and set https://github.com/uber/uReplicator/blob/master/config/consumer.properties#L38 to smallest, then restart the workers and it will consume from the beginning
You can refer to this pull request: https://github.com/uber/uReplicator/pull/132/files, you need to a: provide filterProps and set enabled to true; b. implement your own needToSend logic to do the filtering.

@xhl1988 , thank you very much
your solutions are very elegant and helpful


Support microcks-testcontainers-dotnet?

Reason/Context
We come from the .NET community and would like to have the ability to use microrocks with testcontainers
Description
We just came around in some communities like Java, Go, and Node and saw there are native supports to run microrocks with testcontainers, and see that there are a lot of benefits on integration tests, and mocking some external services (via OpenAPI or even AsyncApi specs). My question is do we have a plan to support it for .NET/C#? Thank you very much.
Implementation ideas
No response

Sorry. I posted in the wrong place. Ignored it.


AdvancedCompany.Lib.Equipment.GetSpawnedEquipment does not check for null

Describe the bug
When calling AdvancedCompany.Lib.Equipment.GetSpawnedEquipment() at the start of a match, one will encounter a NullReferenceException due to calling IEnumerable<>.ToArray() on the null equipment array.
To Reproduce
Steps to reproduce the behavior:

Create a mod
Call AdvancedCompany.Lib.Equipment.GetSpawnedEquipment()

Expected behavior
The function has a defined behavior other than throwing an exception when the player has not equipped anything.
Logfiles
Example stack trace:
[Error  : Unity Log] ArgumentNullException: Value cannot be null.
Parameter name: source
Stack trace:
System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) (at <dab7f68612224ba3ae40f651d44f9d4c>:0)
AdvancedCompany.Lib.Equipment.GetSpawnedEquipment (GameNetcodeStuff.PlayerControllerB controller, AdvancedCompany.Lib.Equipment+Slot slot) (at G:/Unity/AdvancedCompany/UpgradeCompany/Lib/Equipment.cs:25)
OpenBodyCams.Compatibility.AdvancedCompanyCompatibility.CollectCosmetics (GameNetcodeStuff.PlayerControllerB player) (at <cdc14779f2384541a12b5f80877eba04>:0)
OpenBodyCams.CosmeticsCompatibility.CollectCosmetics (GameNetcodeStuff.PlayerControllerB player) (at <cdc14779f2384541a12b5f80877eba04>:0)
OpenBodyCams.BodyCamComponent.UpdateCurrentTargetInternal () (at <cdc14779f2384541a12b5f80877eba04>:0)
OpenBodyCams.BodyCamComponent.UpdateCurrentTarget () (at <cdc14779f2384541a12b5f80877eba04>:0)
OpenBodyCams.BodyCamComponent.UpdateSettings () (at <cdc14779f2384541a12b5f80877eba04>:0)
OpenBodyCams.BodyCamComponent.EnsureCameraExists () (at <cdc14779f2384541a12b5f80877eba04>:0)
OpenBodyCams.BodyCamComponent.Start () (at <cdc14779f2384541a12b5f80877eba04>:0)

WIll be fixed in 142


[Request] Sidekick

Package Request
Criteria
For a package to be acceptable in the Extras bucket, it should be:

[x] a well-known and widely used tool (e.g. if it's a GitHub project, it should have at least 100 stars and 50 forks)
[x] the latest stable version of the program

Information
Name: Sidekick
Description: Sidekick is designed for the ultimate online work experience and brings together every web tool you use.
Homepage: https://www.meetsidekick.com/
Download link(s): https://www.meetsidekick.com/download/
Some indication of popularity/repute: [GitHub stars/software reviews etc.]

Done in #9317


Mono.Android=v5.0

Hi, how to target rebuild Mono.Androidv5?

Sorry, Marshmallow is currently not supported. I plan to support it in the future, but currently there is nothing on the board.


David Mazieres talk about Stellar Consensus Protocol @ NYU (NYC) Feb 3 11:30am

See https://cs.nyu.edu/dynamic/news/colloquium/720/

THE STELLAR CONSENSUS PROTOCOL: A FEDERATED MODEL FOR INTERNET-LEVEL CONSENSUS
Synopsis:
This talk will present federated Byzantine agreement (FBA), a generalization of the standard Byzantine agreement problem. Unlike traditional Byzantine agreement--which presupposes unanimous agreement on system membership--the FBA model grants organizations individual control over whom to trust, allowing membership to grow organically out of pairwise relationships between participants. Compared to proof-of-work and proof-of-stake, two other decentralized alternatives to Byzantine agreement, FBA enables far more efficient constructions with greater margins of computational security. The talk will further present the Stellar consensus protocol (SCP), the first FBA protocol. SCP forms the backbone of the Stellar payment network, where it secures financial transactions.  Other potential applications include secure timestamping and strengthening certificate transparency.
Speaker Bio:
David Mazières was a faculty member at NYU from from 2000-2007 and currently serves as the Chief Scientist of Stellar Development Foundation, where he conducted the work presented in this talk. Additionally, he is a Professor of Computer Science at Stanford and a co-founder of Intrinsic (formerly GitStar).  Prof. Mazières works on operating systems, distributed systems, and security, but is perhaps best known for co-authoring "Get Me Off Your F------ Mailing List," a novelty paper that in 2014 was accidentally accepted for publication by the International Journal of Advanced Computer Technology (IJACT).

I will be going. if you're in NYC, join :)

This looks cool! Post notes!

Is there a vídeo?

From SF BitDevs around the same time: https://www.youtube.com/watch?v=hjRQLYF599w

thank you @se3000 !:D


[Python] Add bindings for JSON format in Dataset

Describe the enhancement requested
https://github.com/apache/arrow/pull/33732 adds C++ support for reading (but not writing) JSON datasets. Once that's finalized, we should expose the new format via Python.
Component(s)
Python

take


Add a doc to explain 'how to' disable data collection at the begin

https://mseng.visualstudio.com/VSIoT/IoT Dev Kit/_git/IoTDevKitInstallation.Win/pullrequest/307988

https://github.com/Microsoft/azure-iot-developer-kit/pull/357/files

https://github.com/Microsoft/azure-iot-developer-kit/pull/357

https://github.com/Microsoft/azure-iot-developer-kit/pull/366


Redmine #4924 Improve pkg version comparison

This compares 2 package version strings by spliting the strings into pieces that are digits and pieces that are anything else. e.g.
"utility-24.9_5 pkg v4.5"
becomes
"utility-"
24
"."
9
"_"
5
" pkg v"
4
"."
5
A new version might be:
"utility-24.10_5 pkg v4.5"
Each component is compared.
If both corresponding components are "integer chunks" they are compared using "<" and ">" - that means that 10 becomes greater than 9.
If either component is not "integer" then string comparison is done. This makes the ordinary string changes work as expected and also stuff like "1.05" and "1.1" - a change like this will be seen as an upgrade (previously it might have been seen that ("05" = 5) and (5 > 1)).
Note that I have left the string comparison case-sensitive. If someone making their version string changes the "fixed text" they have put in the version string then anything is possible :) It is a bit difficult to guess all of that.
Also if people use alphabetic versioning that does not follow strcmp() sort order then there is always trouble - it works by luck with "-BETA" then "-RELEASE" because the English words happen to sort as expected.
I think this provides a reasonably generic way to compare version strings which should work for all the combinations used by reasonably imagined packages.

Should this really be case sensitive? IMHO just another can of worms. Why should Zabbix be newer than zabbix, or Apache than apache, etc. Better make it strcasecmp().
And yeah, the whole concept of greater or less as a result of string comparison is IMHO flawed (also, locale dependent is bad), but that's outside the scope here.

Yeh, I changed it to strcasecmp() - that does seem more sensible. Now these thingscompare the same and do not trigger upgrade (or downgrade):
"utility-1.2.3" and "Utility-1.2.3"
"thing-1.2.3 pkg v4.5" and "thing-1.2.3 pkg V4.5" and...

Note: I have done this against RELENG_2_2.
If and when it is reviewed and committed I am happy to look at what is relevant and how to do it in master for 2.3. I know there are big changes to the package install system coming for 2.3 so it seemed easier to work directly against RELENG_2_2 and get a working solution then port it forward to master.

:+1:

Another PR against RELENG_2_2 - merging of this is not affected by the recent folder structure changes in master - good.


fetch more rerun parameters from last run

we only fetch seed and subset param's from previous reruns right now,
this adds fetching ceph_branch, sha1, suite_branch, suite_repo as
well from last ran job.
Signed-off-by: Deepika Upadhyay<EMAIL_ADDRESS>

I could image why we parse the log run log, but I would suggest to get rid of parsing the log and start generate some status file for a run in json/yaml format which can be easily parsed, with just a single line.

Any updates on this, if it is not actual already, just close maybe?

sorry, could not update it recently, will do this week

sorry, could not update it recently, will do this week

can work on a fix and open a new PR, closing for now, thanks!


Upgrading all requirements

Pushing deps upgrade to run tests on Travis.

@feanil @michaelyoungstrom if you get a moment.


I cannot download subtitles ;/

Hello I am trying to download subtitles by following command
subliminal --debug --opensubtitles 'shirobachi' 'hereIsMyPassword' download -l en friends_s01e21_720p_bluray_x264-sujaidr.mkv
And unfortunately it does not download any ;/
Debug output: https://pastecode.io/s/5Btvf92QoJ
I wanted kindly ask what's wrong,
Thanks!

Problem resolve, just stop using complicated password. It seems like some chars in password can be challenging for sublimanal


functools.partial() does not work on an async dependable

Discussed in https://github.com/tiangolo/fastapi/discussions/9744

Originally posted by lieryan June 26, 2023
First Check

[X] I added a very descriptive title here.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
from functools import partial

from fastapi import FastAPI, Depends

app = FastAPI()

def the_answer():
    return 42

async def dep1(
    n: int = Depends(the_answer),
):
    return n + 1

@app.get("/")
def main(
    d1=Depends(partial(dep1, n=10)),
):
    print(d1)   # prints "<coroutine object dep1 at 0x7facc996fb50>"
    return {}

if __name__ == '__main__':
    import uvicorn
    uvicorn.run(app, port=1122)

Description
I would've expected d1 above to be the return value of the dependable, but it seems like fastapi didn't identify the partial as an coroutine function and instead passed the unawaited coroutine into the view function.
inspect.iscoroutinefunction() and inspect.signature() were able to deconstruct the partial object to correctly identify whether a partial contains a coroutine or a regular function, so it seems like it should've been possible for FastAPI to use handle partial correctly:
In [5]: def regular(a, b): pass

In [6]: async def coro(a, b): pass

In [7]: inspect.iscoroutinefunction(partial(regular, 1))
Out[7]: False

In [8]: inspect.iscoroutinefunction(partial(coro, 1))
Out[8]: True

In [20]: inspect.signature(partial(coro, 1))
Out[20]: <Signature (b)>

Operating System
Linux
Operating System Details
No response
FastAPI Version
0.98.0
Python Version
Python 3.10.6
Additional Context
No response

I understand that using an asynchronous function without await in a synchronous function will naturally result in a coroutine object. Could you please clarify the intention behind your question? It seems evident that this behavior is expected in Python's asynchronous programming model.

I understand that using an asynchronous function without await in a synchronous function will naturally result in a coroutine object. Could you please clarify the intention behind your question? It seems evident that this behavior is expected in Python's asynchronous programming model.

In my opinion,in FastAPI, dependency functions are automatically executed with await added.
This is based on the documentation

@Kludex it works as expected with yield:
async def dep1(
    n: int = Depends(the_answer),
):
    yield n + 1

Output 1:
@app.get("/")
def main(
    d1=Depends(partial(dep1)),
):
    print(d1)  # prints 43
    return {}

Output 2:
@app.get("/")
def main(
    d1=Depends(partial(dep1, n=10)),
):
    print(d1)  # prints 11
    return {}

There is a pull request that has the test cases and the fix for this issue: #9753.
@atapin yeah, async generator dependency works, but it doesn't work for async regular function dependency.