I have error Parse message failed after update flutter

Actual results:

Logs
Parse message failed: "number":721,"startTime":55258322478,"elapsed":19394,"build":14914,"raster":4086}}}}�~o{"jsonrpc":"2.0", "result":{"type":
Parse message failed: M","name":"vm","architectureBits":64,"hostCPU":"Unknown","operatingSystem":"ios","targ
Parse message failed: CPU":"arm64","version":"2.9.2 (stable) (Wed Aug 26 12:44:28 2020 +0200) on \"ios_arm64\"","_profilerMode":"VM","_nat
Parse message failed: eZoneMemoryUsage":0,"pid":1770,"startTime":1599574456766,"_embedder":"Flutter","_maxRSS":277495808,"_currentRSS":26755
Parse message failed: 20,"isolates":[{"type":"@Isolate","id":"isolates\/25921
Parse message failed: 828734791","name":"main","number":"2592128828734791"}],"
Parse message failed: olateGroups":[{"type":"@IsolateGroup","id":"isolateGroups\/3314611313181365563","name":"main.dart","number":"331461
Parse message failed:<PHONE_NUMBER>3"}]},"id":"1068"}�~~{"jsonrpc":"2.0","m
Parse message failed: hod":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flu
Parse message failed: er.Frame","isolate":{"type":"@Isolate","id":"isolates\/2592128828734791","name":"main","number":"2592128828734791"},
Parse message failed: imestamp":1599575134379,"extensionData":{"number":722,"startTime":55259322549,"elapsed":19148,"build":15091,"raster"
Parse message failed: 732}}}}�~o{"jsonrpc":"2.0", "result":{"type":"VM",
Parse message failed: ame":"vm","architectureBits":64,"hostCPU":"Unknown","operatingSystem":"ios","targetCPU":"arm64","version":"2.9
Parse message failed:  (stable) (Wed Aug 26 12:44:28 2020 +0200) on \"io
Parse message failed: arm64\"","_profilerMode":"VM","_nativeZoneMemoryUsage":0,"pid":1770,"startTime":1599574456766,"
Parse message failed: mbedder":"Flutter","_maxRSS":277495808,"_currentRSS":267550720,"isolates":[{"type":"@Isolate","id":"i

[✓] Flutter (Channel stable, 1.20.3, on Mac OS X 10.15.6 19G2021, locale en-TH)
    • Flutter version 1.20.3 at /Users/sukitz/flutter
    • Framework revision 216dee60c0 (7 days ago), 2020-09-01 12:24:47 -0700
    • Engine revision d1bc06f032
    • Dart version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/sukitz/Library/Android/sdk
    • Platform android-29, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.7, Build version 11E801a
    • CocoaPods version 1.9.1

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 39.0.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[✓] VS Code (version 1.48.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.13.2

[✓] Connected device (1 available)
    • xxxxxx • ios • iOS 13.6.1

• No issues found!

Experiencing the same since updating plugins on android studio. It seems that my app starts crashing after a certain period.
❯ flutter doctor -v
[✓] Flutter (Channel beta, 1.21.0-9.2.pre, on Mac OS X 10.15.6 19G2021, locale de-DE)
    • Flutter version 1.21.0-9.2.pre at /Users/ikazhdan/flutter
    • Framework revision 81a45ec2e5 (12 days ago), 2020-08-27 14:14:33 -0700
    • Engine revision 20a9531835
    • Dart version 2.10.0 (build 2.10.0-7.3.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/ikazhdan/Library/Android/sdk
    • Platform android-30, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.48.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.14.0

[✓] Connected device (2 available)
    • Web Server (web) • web-server • web-javascript • Flutter Tools
    • Chrome (web)     • chrome     • web-javascript • Google Chrome 85.0.4183.83

• No issues found!

e message failed: e,"id":"libraries\/@920440318","name":"","uri":"package:file\/src\/forwarding\/forwarding_file.dart"},{"type":"@Libra
Parse message failed: ","fixedId":true,"id":"libraries\/@921127901","name":"","uri":"package:file\/src\/backends\/local\/local_link.dart"},{"ty
Parse message failed: ":"@Library","fixedId":true,"id":"libraries\/@922226071","name":"","uri":"package:file\/src\/interfac
Parse message failed: /file_system.dart"},{"type":"@Library","fixedId":true,"id":"libraries\/@923466249","name":""
Parse message failed: uri":"package:file\/src\/interface
Parse message failed: file_system_entity.dart"},{"type":"@Library","f
Parse message failed: edId":true,"id":"libraries\/@924242419","name":"","uri":"package:file\/src\/forwarding\/forwarding_file_system_entity.da
Parse message failed: "},{"type":"@Library","fixedId":true,"id":"libraries\/@925247555","name":"","uri":"package:file\/src\/interface\/lin
Parse message failed: dart"},{"type":"@Library","fixedId":true,"id":
Parse message failed: ibraries\/@926143497","name":"","uri":"package:file\/src\/forwarding\/forwarding_link.dart"},{"type":"@Libra
Parse message failed: ","fixedId":true,"id":"libraries\/@927411429","name":"","uri":"package:file\/src\/interface\/directory.dart"},{"type":"@L
Parse message failed: rary","fixedId":true,"id":"libraries\/@928323156","name":"","uri":"package:file\/src\/forwarding\/
Parse message failed: rwarding_file_system.dart"},{"type":"@Library","fixedId":true,"id":"libraries\/@929427498","name":"","uri":"pac
Parse message failed: ge:file\/src\/interface\/error_codes.dart"},{"type":"@Library","fixedId":true,"id":"libraries\/@9
Parse message failed: 437608","name":"","uri":"package:file\/src\/inte
Parse message failed: ace\/error_codes_dart_io.dart"},{"type":"@Library","fixedId":true,"id":"libraries\/@931003337","name":
Parse message failed: ,"uri":"package:fl_chart\/src\/cha
Parse message failed: \/bar_chart\/bar_chart.dart"},{"type":"@Library","fixedId":true,"id":"libraries\/@932479717","name":"","uri":"packag
Parse message failed: fl_chart\/src\/chart\/bar_chart\/bar_chart_data.dart"},{"t
Parse message failed: e":"@Library","fixedId":true,"id":"libraries\/@933450083","name":"","uri":"package:fl_chart\/src\/chart\/base\/a
Parse message failed: s_chart\/axis_chart_data.dart"},{"type":"@Library","fixedId":true,"id":"libraries\/@934180645","name":"",
Parse message failed: ri":"package:fl_chart\/src\/chart\/base\/base_chart\/base_chart_data.dart"},{"type":"@Library","fixedId":true,"id":"l
Parse message failed: raries\/@935092748","name":"","uri":"package:fl_chart\/src\/chart\/base\/base_chart\/touch_input.d
Parse message failed: t"},{"type":"@Library","fixedId":true,"id":"libraries\/@936336301","name":"","uri":"package:fl_chart\/src\/chart\/

Hi @sukitz @igoriuz
Can you please provide flutter run --verbose and a minimal complete reproducible code sample?
Thank you

@pedromassangocode
It doesn't show a problem.
What should I do next?

Do you have an idea of what is causing this issue and the steps to reproduce it?

It says json-rpc error.

Hi @igoriuz
Are you using this package https://pub.dev/packages/petitparser?

Hey @pedromassango unfortunately not. Nearly every flutter package was listed in these error messages. Even widgets.dart from the flutter framework was in this error output.
I haven't received this error messages anymore since restarting android studio. I'll keep an eye on it.

Hi @igoriuz
I've restarted But still showing an error message

Hi @sukitz
It seems like the message is showing up when you do a hot-reload. Can you please provide flutter run --verbose and then try to do a hot-reload?

Hi @pedromassangocode
I have no problem with this command. flutter run --verbose
But i run the command from this button

When I switch the screen out of Android Studio for a moment, a message pops up.

Could not find the cause of this issue and could not reproduce it with Android Studio so this will need additional triage.

None of the comments here say how to reproduce this problem. We are eager to resolve it but we need to know exactly what you are doing to trigger what you are seeing...
Please file a new bug with clear steps to reproduce and we will look into it! Thanks!

Actual results:
Logs
Parse message failed: "number":721,"startTime":55258322478,"elapsed":19394,"build":14914,"raster":4086}}}}�~�o{"jsonrpc":"2.0", "result":{"type":
Parse message failed: M","name":"vm","architectureBits":64,"hostCPU":"Unknown","operatingSystem":"ios","targ
Parse message failed: CPU":"arm64","version":"2.9.2 (stable) (Wed Aug 26 12:44:28 2020 +0200) on \"ios_arm64\"","_profilerMode":"VM","_nat
Parse message failed: eZoneMemoryUsage":0,"pid":1770,"startTime":1599574456766,"_embedder":"Flutter","_maxRSS":277495808,"_currentRSS":26755
Parse message failed: 20,"isolates":[{"type":"@Isolate","id":"isolates\/25921
Parse message failed: 828734791","name":"main","number":"2592128828734791"}],"
Parse message failed: olateGroups":[{"type":"@IsolateGroup","id":"isolateGroups\/3314611313181365563","name":"main.dart","number":"331461
Parse message failed:<PHONE_NUMBER>3"}]},"id":"1068"}�~�~{"jsonrpc":"2.0","m
Parse message failed: hod":"streamNotify","params":{"streamId":"Extension","event":{"type":"Event","kind":"Extension","extensionKind":"Flu
Parse message failed: er.Frame","isolate":{"type":"@Isolate","id":"isolates\/2592128828734791","name":"main","number":"2592128828734791"},
Parse message failed: imestamp":1599575134379,"extensionData":{"number":722,"startTime":55259322549,"elapsed":19148,"build":15091,"raster"
Parse message failed: 732}}}}�~�o{"jsonrpc":"2.0", "result":{"type":"VM",
Parse message failed: ame":"vm","architectureBits":64,"hostCPU":"Unknown","operatingSystem":"ios","targetCPU":"arm64","version":"2.9
Parse message failed:  (stable) (Wed Aug 26 12:44:28 2020 +0200) on \"io
Parse message failed: arm64\"","_profilerMode":"VM","_nativeZoneMemoryUsage":0,"pid":1770,"startTime":1599574456766,"
Parse message failed: mbedder":"Flutter","_maxRSS":277495808,"_currentRSS":267550720,"isolates":[{"type":"@Isolate","id":"i

[✓] Flutter (Channel stable, 1.20.3, on Mac OS X 10.15.6 19G2021, locale en-TH)
    • Flutter version 1.20.3 at /Users/sukitz/flutter
    • Framework revision 216dee60c0 (7 days ago), 2020-09-01 12:24:47 -0700
    • Engine revision d1bc06f032
    • Dart version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/sukitz/Library/Android/sdk
    • Platform android-29, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.7, Build version 11E801a
    • CocoaPods version 1.9.1

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 39.0.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[✓] VS Code (version 1.48.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.13.2

[✓] Connected device (1 available)
    • xxxxxx • ios • iOS 13.6.1

• No issues found!

Has anyone solved this problem?
I also encountered this problem,when using iphone by android studio

same problem.


action intent example

I think having this example would be useful Ref: https://github.com/gunthercox/ChatterBot/issues/820

👍

@gunthercox Hi, will you do a enhancement for this purpose?

@nggary I'm not planning on doing one.


Use tabbed amp-selector for description

Fixes #776
@sebastianbenz this is the first version

@ericlindley-g I deployed it here. WDYT?

UI looks great, and the text is a good start.
I recommend adding lorem ipsum to pad out the descriptions more so they're at least a paragraph in length. It would be nice to also make at least one tab contain more content, so users can see the tabs vary in size. I think that would make it easier to understand what's happening on the page. WDYT?

@ericlindley-g Thanks I added the text.
@sebastianbenz PTAL

@sebastianbenz PTAL


On provision, service-catalog doesn't write the description or status code of an unexpected broker response

If a broker doesn't return an expected response code, it writes nothing into the status.conditions field of the newly created Instance. It should at least write the status code returned by the broker server.
Repro steps:

Follow all steps in this demo repository through "View Service Classes"
Follow steps in "Provision a New Service"
Follow steps in "Provision a New Service" again
Notice that the 2nd Instance has an empty conditions field, while the broker server failed and the controller logs showed an error response from the broker server

Note that service-catalog currently implements a proper client for the OSB API spec, but silently failing for brokers that are not 100% adherent to the spec presents a very difficult user experience. I'd like for at least the status code and the response body to be written into a condition in the failed Instance's status.conditions field.

I read through #925 & #915 and I am missing some higher level understanding to get what is being addressed here.

/remove-lifecycle rotten
/lifecycle frozen

This project is being archived, closing open issues and PRs.
Please see this PR for more information: https://github.com/kubernetes/community/pull/6632


connector: Validate database and/or user name before sending to database

Currently, if a request is sent to create a database with values that are not valid for the database server, they'll be passed on regardless. For example:
curl -X POST -d '{"database_name":"1111", "username":"1exampleUser", "password":"liferay"}' localhost:7000/create-database
The database name 1111 is invalid for mysql. As a result, creating it fails with the following response:

{"Status":500,"Message":"executing create database query failed: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1111 CHARSET utf8' at line 1"}

This is not a very good or descriptive error message, as an end user may not have any idea about what the error message entails.
Having simple regexes for the different database vendors for databases / schemas / users (where applicable), we could catch these before handing them off to the database server, and also present a better error message.

Closing, will continue on #68


RFC: Add a task to create an app based on user input

With using the app-template there could be a task that takes user input and generates the YAML for it's deployment, this would only handle "simple" applications where anything below can be used
It could ask simple questions like:

Application Namespace?
Application Name?
Application Container with Tag?
Application Env?
Application Args?
Application Port?
Application Storage Class?
Application Persistence Size?

I am generally looking for feedback on any of this.

I think it would be quite useful, would certainly cut out a lot of 'boilerplate' writing that is shared between most apps. I would also want to add some sort of volsync integration, not only for automated configuration of backups, but also for those migrating from V1 to V2 app template or similar.


Crawl seems to be missing some pages

The crawl results seem to miss some pages, even though they should fall within the current specified depth.
Current behavior
Crawl results are incomplete. For example, last night's run used --depth=4. But the results under /owning-a-home/compare/ only include two sub-pages even though the page sidebar has 5 sub-pages:

From the page root, these links should only be at depth 3:

Home page (/)
Mega menu link to Buying a House (/owning-a-home/)
Link to Compare page (/owning-a-home/process/compare/)
Sub-pages

Expected behavior
All pages with the specific depth are crawled.

The above example is wrong! Confusingly, those sub-pages of /owning-a-home/compare/ are actually under /owning-a-home/process/compare/. And those are getting properly crawled. Need to do more review of a more thorough crawl.

An example that fails: on Submit a complaint, the "Start a new complaint" button points to https://www.consumerfinance.gov/complaint/getting-started. Because we use Django's settings.APPEND_SLASH this redirects to the actual page at https://www.consumerfinance.gov/complaint/getting-started/. But wget doesn't even try to download this link.
This URL shows up in wget's rejection log as being rejected because of reason RULES. I think this is because we now use --accept html. This works if wget hits a URL ending in slash, and creates an index.html file. I suspect when it sees a URL like "getting-started", it treats that as a file of type "getting-started", and thus ignores it. We might need to go back to the old version from 2ab81ec749ce55fc105b93e2934e927ff9f75c21 where we instead explicitly reject non-html file types.

We might need to go back to the old version from 2ab81ec where we instead explicitly reject non-html file types.

Fixed by #15; see for example that /complaint/getting-started/index.html is properly saved.


TEST PR - update codegen-ui w/ minimized datastore imports

DO NOT MERGE THIS PR
this dev tagged release of codegen has minized imports from datastore its a proposed change before releasing a full version of datastore
ref: #11028

Description of changes

Issue #, if available

Description of how you validated changes
Checklist

[ ] PR description included
[ ] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies
[ ] Pull request labels are added

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #11154 (63a9543) into dev (0993af9) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev   #11154   +/-   ##
=======================================
  Coverage   49.66%   49.66%
=======================================
  Files         666      666
  Lines       31931    31931
  Branches     6500     6500
=======================================
+ Hits        15858    15859    +1
+ Misses      14594    14593    -1
  Partials     1479     1479

Impacted Files
Coverage Δ

...li/src/domain/amplify-usageData/getUsageDataUrl.ts
100.00% <0.00%> (+12.50%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Custom theme

I found no way to declare a custom theme base on colored theme. The class ConsoleHtmlColor is set to internal so I can't use it.
Any idea, or should I send a PR?

You don't really need ConsoleHtmlColor in order to create a custom theme... Colors are just HTML color code strings. E.g.:
var customTheme = new RichTextBoxConsoleTheme
(
    new Dictionary<RichTextBoxThemeStyle, RichTextBoxConsoleThemeStyle>
    {
        [RichTextBoxThemeStyle.Text] = new RichTextBoxConsoleThemeStyle { Foreground = "#ffffff" },
        [RichTextBoxThemeStyle.SecondaryText] = new RichTextBoxConsoleThemeStyle { Foreground = "#c0c0c0" },
        // etc.
    }
);

That said, if the ConsoleHtmlColor class is useful for creating custom themes, I'd take a PR to make the class public.

Ah, great... thanks 💖
So I think its not needed to make it public. I will make an example for white background and take it in the readme as PR.


Requirements for forced tonneling are not provided

[Enter feedback here]
https://docs.microsoft.com/en-us/azure/machine-learning/how-to-secure-workspace-vnet#enable-azure-container-registry-acr
If you're connecting to a private link-enabled workspace using ExpressRoute's forced tonnering, you'll need to add an Azure Resource Manager IP address as a UDR, but that information is not provided.
Please see Incident 234829863.

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

ID: 226c7926-de43-598b-d9d7-4f5f2ffbd72e
Version Independent ID: 2cf84d0c-927e-3678-4aac-ae15398a2638
Content: Secure an Azure Machine Learning workspace with virtual networks - Azure Machine Learning
Content Source: articles/machine-learning/how-to-secure-workspace-vnet.md
Service: machine-learning
Sub-service: core
GitHub Login: @PeterCLu
Microsoft Alias: peterlu

@damochiz Thanks for sharing the incident ID, @PeterCLu Could you help review the ICM and update the document?

Thanks @damochiz for the request, we are currently working on updates to the secure workspace series. I've added your comment to the list of requirements for the next iteration.
We are tracking this issue, and similar feedback on this article series. Daigo, I may reach out to you directly if I have further questions. #please-close


Cabal configure problem (Haskell 8.4.2 and striot-<IP_ADDRESS>)

I've just upgraded to haskell 8.4.2 on Windows 10. When I try to run  cabal configure  I hit the problem:
$ cabal configure
Resolving dependencies...
Warning: solver failed to find a solution:
Could not resolve dependencies:
[__0] trying: striot-<IP_ADDRESS> (user goal)
[__1] next goal: base (dependency of striot)
[__1] rejecting: base-<IP_ADDRESS>/installed-4.1... (conflict: striot => base>=4.9
&& <4.10)
[__1] fail (backjumping, conflict set: base, striot)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: striot, base
Trying configure anyway.
Configuring striot-<IP_ADDRESS>...
cabal.exe: Encountered missing dependencies:
HTF -any, base ==4.9.*, time ==1.6.*

Anyone any ideas how to fix this?

I believe the issue is caused by the base package for Haskell 8.4.2 being base-<IP_ADDRESS>, which we have restricted in our build file as <4.10. Changing the dependency in the striot.cabal file L22 and L29 would potentially fix this error, but could introduce others. I do not know which versions of the packages we use are compatible with one another, and whether they are all supported in Haskell 8.4.2, but I'll have a look tomorrow and get back to you.

Hi Adam
That’s really helpful thanks.. I’ll revert to 8.2.1
Regards
Paul
From: Adam Cattermole<EMAIL_ADDRESS>Sent: 07 May 2018 13:23
To: striot/striot<EMAIL_ADDRESS>Cc: Paul Watson<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [striot/striot] Cabal configure problem (Haskell 8.4.2 and striot-<IP_ADDRESS>) (#19)
You can change the dependency lists on L22https://github.com/striot/striot/blob/master/striot.cabal#L22 and L29https://github.com/striot/striot/blob/master/striot.cabal#L29 to allow base >=4.9 && <5 and time >=1.6 && <2 to prevent cabal complaining. However, none of the Docker related stuff will be using the newest version of Haskell until we have tested it, and the official haskell docker imagehttps://hub.docker.com/r/_/haskell/ for 8.4.2 is released (currently at 8.2.1).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/striot/striot/issues/19#issuecomment-387048013, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AG9g8GGFS8Icaa3f2k1zKMUTHv2BiDsLks5twDy0gaJpZM4T0LDl.


Update hosting bundle installer link

@Rick-Anderson Just to cover the security situation, I think we could do this now ... then change it later after Lee gets back to me on providing a permanently stable link.

@guardrex  Thanks!


Update OWNERS file

What does this PR do?:

Update the owners file to reflect our current members on devfile services.
Which issue(s) this PR fixes:

PR acceptance criteria:
Testing and documentation do not need to be complete in order for this PR to be approved. We just need to ensure tracking issues are opened and linked to this PR, if they are not in the PR scope due to various constraints.

[X] Unit/Functional tests

[ ] QE Integration test

[ ] Documentation (READMEs, Product Docs, Blogs, Education Modules, etc.)

[ ] Client Impact

[X] Gosec scans

How to test changes / Special notes to the reviewer:

[ ] QE Integration test

[ ] Documentation (READMEs, Product Docs, Blogs, Education Modules, etc.)

[ ] Client Impact

N/A


load_balancer_config is required for COMPUTE_INSTANCE_GROUP_ROLLING_DEPLOYMENT deploy_stage_type

Getting the below error when running the devops_instance_group
Error: 400-InvalidParameter
Provider version: 4.34.0, released on 2021-07-07. This provider is 1 update(s) behind to current.
Service: Devops Deploy Stage
Error Message: loadBalancerConfig.backendPort must be greater than or equal to 1
OPC request ID: 0c55ed7e9531a4f078304f2532af5c2f/667978EBF93A6A63401B60D070DA26A1/5C2F0ABF975713AF15E081294CF83EBB
Suggestion: Please update the parameter(s) in the Terraform config as per error message loadBalancerConfig.backendPort must be greater than or equal to 1
Cause: load_balancer_config - (Required when deploy_stage_type=COMPUTE_INSTANCE_GROUP_ROLLING_DEPLOYMENT | LOAD_BALANCER_TRAFFIC_SHIFT) (Updatable) Specifies config for load balancer traffic shift stages.
Proposed fix: Add load_balancer_config section: Line 154 -> https://github.com/oracle-quickstart/oci-arch-devops/blob/master/devops_instance_group/devops.tf
I am happy to contribute.
Regards,
Adam

Above complicate the code a bit as it seems that existing load balancer id is required so either an option to pick existing one (variable lb_ocid and/or data based (nam) search) or create a new one be added.
Maybe use COMPUTE_INSTANCE_GROUP_LINEAR_ROLLOUT_POLICY_BY_PERCENTAG instated and add batch_count to  Line 175-> https://github.com/oracle-quickstart/oci-arch-devops/blob/master/devops_instance_group/devops.tf

@KartikShrikantHegde could you please take a look at this problem?

Hi,
load_balancer_config should be optional and shouldn't throw an error if not specified. does it throw an error if not specified?

Yes, error should be pasted into an issue description...
Sent on the go with Vodafone
-------- Original message --------
From: Kartik Hegde @.>
Date: 31/7/21 01:37 (GMT+10:00)
To: oracle-quickstart/oci-arch-devops @.>
Cc: Adam Szynkowski @.>, Author @.>
Subject: [External] : Re: [oracle-quickstart/oci-arch-devops] load_balancer_config is required for COMPUTE_INSTANCE_GROUP_ROLLING_DEPLOYMENT deploy_stage_type (#6)
Hi,
load_balancer_config should be optional and shouldn't throw an error if not specified. does it throw an error if not specified?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/oracle-quickstart/oci-arch-devops/issues/6*issuecomment-889975193__;Iw!!ACWV5N9M2RV99hQ!e5AT5qELWui3gToHMRsbxgFPGxBDW9IHethbq7TutV6WAXo6PktJY0swh_yiABL0lJh8EQ$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ARUMNX2C546CYTA7TE63QT3T2LBNBANCNFSM5AU6YMQQ__;!!ACWV5N9M2RV99hQ!e5AT5qELWui3gToHMRsbxgFPGxBDW9IHethbq7TutV6WAXo6PktJY0swh_yiABJZIqzR0A$.


Add and use loaded features array

Summary
Features may need to be aware of certain other features being enabled. For example, pause-recording needs to know if dual-channel-recording is enabled to determine the API to use.
Unfortunately, simply checking if a feature is enabled is not perfect--if a feature has been removed, for example, it is possible that the flex-config lists it as enabled even though the feature does not exist.
This PR adds a simple array to the config helper that is populated by the feature-loader after each feature loads. This provides template features with a list of the actually-loaded features, rather than simply reading the config.
There is a bit of a catch with this, of course--if we haven't finished loading features, the array is incomplete. This means that the array should only be accessed after feature loading is complete.
Checklist

[x] Tested changes end to end
[x] Requested one or more reviewers

@dremin Love this idea! Just have a couple questions.

To avoid the race condition of attempting to check if a feature is enabled before all features are enabled, is it suggested the developer use the "pluginsInitialized" event to know when it's safe to check if a feature is enabled?
Should the template docs be updated to highlight this new method for checking if a feature is enabled, including how to ensure they avoid the potential race condition?

To avoid the race condition of attempting to check if a feature is enabled before all features are enabled, is it suggested the developer use the "pluginsInitialized" event to know when it's safe to check if a feature is enabled?

The array is valid as soon as the first deferred hook begins to execute. This means we can actually access the array from some hooks before pluginsInitialized, as that event doesn't fire until after deferred hooks execute. That said, this is sensitive to the access time-- for example, if it is read from a module-level constant, then the access would actually happen when it is pulled in by the feature's index.ts, which would be too early. But if it is read from within the hook function, it isn't accessed until the hook executes, so that would be fine.
As you can tell, this could be easy to mis-use. I suppose we could address this somewhat by adding a console warning/error when it is accessed too early?

Should the template docs be updated to highlight this new method for checking if a feature is enabled, including how to ensure they avoid the potential race condition?

I'm inclined to not document its existence due to the complexity outlined above...

To avoid the race condition of attempting to check if a feature is enabled before all features are enabled, is it suggested the developer use the "pluginsInitialized" event to know when it's safe to check if a feature is enabled?

The array is valid as soon as the first deferred hook begins to execute. This means we can actually access the array from some hooks before pluginsInitialized, as that event doesn't fire until after deferred hooks execute. That said, this is sensitive to the access time-- for example, if it is read from a module-level constant, then the access would actually happen when it is pulled in by the feature's index.ts, which would be too early. But if it is read from within the hook function, it isn't accessed until the hook executes, so that would be fine.
As you can tell, this could be easy to mis-use. I suppose we could address this somewhat by adding a console warning/error when it is accessed too early?

Should the template docs be updated to highlight this new method for checking if a feature is enabled, including how to ensure they avoid the potential race condition?

I'm inclined to not document its existence due to the complexity outlined above...

Considering the need to check if another feature is enabled is a fairly common use case, I'd prefer we provide some documentation on how to safely do so, and this new approach is better than checking Flex config directly for all the reasons you mentioned in the PR. Users of the template will inevitable use this new approach as they look to existing features for examples of how to do it. I'd rather we make the timing concern explicit in our docs versus leaving it open to developers only finding it during testing.
If there is a reliable way of also logging a warning / error when it's read too early, that would be a great improvement. Could drastically reduce troubleshooting time if a developer encounters it.

Considering the need to check if another feature is enabled is a fairly common use case, I'd prefer we provide some documentation on how to safely do so, and this new approach is better than checking Flex config directly for all the reasons you mentioned in the PR. Users of the template will inevitable use this new approach as they look to existing features for examples of how to do it. I'd rather we make the timing concern explicit in our docs versus leaving it open to developers only finding it during testing.
If there is a reliable way of also logging a warning / error when it's read too early, that would be a great improvement. Could drastically reduce troubleshooting time if a developer encounters it.

Fair enough! I have an idea on how to do this, and we can mention the log as part of the doc for the util so that developers are aware of what to expect.

@trogers-twilio I've added the warning as well as docs, let me know what you think!


Remove @pmlandwehr as a maintainer

I haven't done any maintenance on this feedstock in ages! Removing myself as a maintainer.

Checklist

[x] Used a personal fork of the feedstock to propose changes
~* [ ] Bumped the build number (if the version is unchanged)~
~* [ ] Reset the build number to 0 (if the version changed)~
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender


Vulkan Mobile: Mesh Flickering in VR on Quest 3

Tested versions
Reproducible in Godot 4.2.1.stable
System information
Windows 10 / Oculus Quest 3 Android OS, XR2 Gen2 processor, Vulkan (Mobile) renderer
Issue description
After a couple of seconds of the game running natively on Meta Quest 3, all meshes and shadows start flickering. This issue wasn't happening before disabling glow in the WorldEnvimoement node, which increased FPS. Further performance optimizations, like baking the lights, seemed to have worsened the problem. I suspect the more FPS the game runs on, the faster and worse it glitches.
https://github.com/godotengine/godot/assets/74175210/bbfff011-fdd5-42f1-b4cb-5a4418a9102c
Steps to reproduce
Download the demo included below and export it for your Quest device
The bug should occur on its own after a little bit of time
Minimal reproduction project (MRP)
The file is too big for GitHub, so I had to share it through Google Drive
https://drive.google.com/file/d/1C3jSADayxaEMJkqjGh7-FmBzPASskql_/view?usp=sharing
This is the most basic Godot VR project with the ability to export for the Quest family of devices. Inside you can find a lot of stacked cube meshes that demonstrate very well these artifacts.

Can you please try in 4.2.2.rc2?

The bug still appears after re-exporting the game using 4.2.2.rc2
https://github.com/godotengine/godot/assets/74175210/96bfb5c2-7c91-418b-afdd-2b4a983ee400

I can confirm this issue. I get the same effect on Quest 3 in my application. It appears to get worse as more complex meshes are added to a scene.

I can also confirm this issue. I tried different rendering pipeline without seeing any difference, also note that the flickering is gain worse (or it is simply more noticable?) when using passthrough.

I have the same problem on Quest 3 with the mobile renderer using Godot 4.2.2. For me the problem completely disappears when switching to the compatibility renderer.

Any progress on this topic? It is also apparent in 4.3 beta 1. It seems to get worse when using large meshes. In the forums the flickering is also mentioned. https://forum.godotengine.org/t/grey-flickering-in-vr-on-quest-3/54447
Any thing I can do?
Kind regards,
Eelco

I can confirm the issue remains on Godot 4.3 Beta 2 with the 3.0.0 Beta2 vendor library and visible in the OpenXR Tools Demo scenes. Quest 3 firmware <IP_ADDRESS>8.356.614892285

Reported to meta as I am having the same issue, godotengine dev chat discussions have revealed the most likely cause is a driver issue.
https://communityforums.atmeta.com/t5/Quest-Development/Standalone-Vulkan-in-headset-not-working-correctly-Huge/m-p/1213491#M10147

Great that this issue is known, but as long as it exists, making oculus games is impossible.

The driver issue is flagging a warning every time the flickering occurs, it looks like the same frequency
Android 19421 20:48:20 vk_core.cpp(4739) Warning [0] The following warning was triggered: VKDBGUTILWARN003. Please refer to the Adreno Game Developer Guide for more information: https://developer.qualcomm.com/sites/default/files/docs/adreno-gpu/snapdragon-game-toolkit/learn_guides.html

Taken from the meta quest render doc app.
I am working on solving this problem, I am installing the snapdragon tools as per the manual here it recommends this because I can find the sub pass specifically that is failing.
Relevant docs are here:

https://developer.qualcomm.com/sites/default/files/docs/adreno-gpu/snapdragon-game-toolkit/learn_guides.html

I am working on this for the mirror right now and hope I can find a fix for the problem if I can I'll submit a PR and a patch to unblock things.

@clayjohn I just tried a an export based on your pull request on my 'true' full scale project and the improvement on quest3 is amazing even with the passthrought activated (where there was a lot of flickering, even more than with pure vr rendering)  :
https://github.com/user-attachments/assets/66856153-69ff-4506-b0a7-dd208d6d6178
Comparaison with nearly identical project state on godot 4.3.beta2 :
https://github.com/user-attachments/assets/db695d27-20f8-4713-ba40-1a63fb54d1e0
Thanks a lot and congrats to all of you by the way, I followed some conversations and this bug seems very obscure :p
I will made more extensive testing and will report if some glitches are still spotted.

Does this mean the "fix" will be applied to the next beta/release
candidate? It would be great!
Kind regards,
Eelco
Op ma 15 jul 2024 om 14:10 schreef GaelFG-Anderon @.***

:

@clayjohn https://github.com/clayjohn I just tried a an export based on
your pull request on my 'true' full scale project and the improvement on
quest3 is amazing even with the passthrought activated (where there was a
lot of flickering, even more than with pure vr rendering) :
https://github.com/user-attachments/assets/66856153-69ff-4506-b0a7-dd208d6d6178
Comparaison with nearly identical project state on godot 4.3.beta2 :
https://github.com/user-attachments/assets/db695d27-20f8-4713-ba40-1a63fb54d1e0
Thanks a lot and congrats to all of you by the way, I followed some
conversations and this bug seems very obscure :p
I will made more extensive testing and will report if some glitches are
still spotted.
—
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/89985#issuecomment-2228353044,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAX5CQYUY4SRVH77G6D6YW3ZMO32PAVCNFSM6AAAAABFNDAHFGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRYGM2TGMBUGQ
.
You are receiving this because you commented.Message ID:
@.***>

Does this mean the "fix" will be applied to the next beta/release candidate? It would be great!

That's the plan! We would like to include this fix in RC1

And is the fix implemented in RC1? I can't see it in the release notes.
Kind regards,
Eelco
Op wo 17 jul 2024 om 07:03 schreef Clay John @.***>:

Does this mean the "fix" will be applied to the next beta/release
candidate? It would be great!
That's the plan! We would like to include this fix in RC1
—
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/89985#issuecomment-2232423398,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAX5CQ63GO3CQXTT2R2OI4DZMX3JNAVCNFSM6AAAAABFNDAHFGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZSGQZDGMZZHA
.
You are receiving this because you commented.Message ID:
@.***>

@eelcor It is, see https://godotengine.github.io/godot-interactive-changelog/#4.3-rc1

Use a spec constant to control whether the MultiMesh branch is used in the vertex shader (GH-94289).


Create LICENSE

Happy with an MIT license @dstansby & @paddyroddy?

MIT is basically fully open-source, do what you like. It's what we've chosen for all BG stuff unless there are other factors at play. Just wanted to check with both of you before I applied it here (as you wrote everything in the first place!).


fix: links pointing to relative slugs

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Selenium Error When Raven is Initialized

All my Selenium tests pass before I integrated Raven. Tests still pass if I load the Raven JS file but not initialize Raven. Tests fail in Firefox ONLY with:
Error: [frame("even-iframe-embed1")] Error response status: 13, UnknownError - An unknown server-side error occurred while processing the command. Selenium error: Permission denied to access property "__raven__"

if Raven is loaded and initialized. Here is the initialization code:
window.Raven.config('<%=loggerKey%>', {
  release: '<%=version%>'
}).install();

Any help with this issue will be appreciated.

+1 Facing the same issue when running on Firefox using Selenium

Is there any possibility of either of you putting together a repository with a reproducible example?
Questions I'd have:

Does the error occur when install() is called? Or later during test execution?
Does the error occur on a particular type of event, e.g. an event listener or XHR handler?

Error seems to happen during install(). If I remove that call, tests work; if I add it back in, tests fail. I ran across this problem on an internal project. I will try to put together an example.
@srshah19 If you have something that you could share, I would appreciate it.

Unfortunately I will not be able to share the repo. But I can try and explain what is happening:
Our app is a Django Project.

Using Raven JS directly from the CDN in the base template.
Calling the Raven.captureException(error); on a function().then().catch() block.

Selenium tests only fail when using Firefox. Here is the exception: Unexpected Exception: Error: Permission denied to access property "__raven__".
Does this help?

After some more digging, it seems that the problem is caused by line 249:
// We don't wanna wrap it twice!
if (func.__raven__) {
    return func;
}

A console log right before this line shows that func is a native function. So it would seem that a combination of WebDriver and FF throws exceptions when trying to modify a native function. Adding a try..catch before this line to handle the error case fixes the problem:
try {
  func.__raven__;
} catch (e) {
  return func;
}

@benvinegar However, I am not certain that this is the right long-term fix. Please advise.

Also for completeness, I should mention that the caller function that is triggering this exception is line 683:
return orig.call(this, evt, self.wrap(fn), capture, secure);

in the function _wrapBuiltIns. Removing self.wrap() or moving it into the try block also fixes the problem.

We should probably do what you've done, which is try/catch the __raven__ access.
I notice that the folks at Bugsnag put try/catch around their entire wrap function. Looks like it was to solve the same problem.
So I'm in favor of going ahead with that solution. I can put a fix together w/ a test shortly and cut it w/ the same release. Or if you're so inclined, I'll accept a PR too :)

@benvinegar I don't quite understand the reasoning and logic behind wrapping addEventListener and removeEventListener. It's going to take me some time to grok it and put in a fix. I can certainly do it, but might take a little while.

@bluecollarcoder – to be clear, I prefer the solution of putting the try/catch in Raven.wrap when accessing the __raven__ property.

In that case, I will work on it later this week.
Just so I understand the fix, what is the correct behavior if func is a native function (thus throwing the exception)? Should it be returned as is (like in my workaround), or should it be wrapped anyway (like in the original logic)?
If the correct behavior is to wrap it, then we would still need to mark a function as wrapped without causing the permission exception. Maybe instead of attaching a flag to the function itself, we would need to use a collection that holds the wrapped functions.
Let me know your thoughts.

What's the status with this issue? Will it be fixed in an upcoming release?

@dkiriakakis I'll get a fix together today and we'll cut a release ASAP.

Thanks @benvinegar !

Running an older version of Selenium and running into Permission denied to access property '__raven_wrapper__'
It appears to be this error that is cropping up. I'm running latest 2.1.1, importing via commonjs (webpack) and calling install.

This just popped up for us today.  Is anyone else seeing this issue?

@Githraine Are you using the latest version of Raven?

@Githraine you need this fix in ~2-3 places in raven: https://github.com/scothis/raven-js/commit/152598ae8511eafcd1534139aea320e0a8f5d7c4

It literally just started failing today.  If Raven updated then it did so silently.

I also have this issue with webdriver-manager and firefox 53.0.3


Possible loaded thing corruption for extension methods in classes that have changed shape

Working with fix for Issue #72, I found that I would get an error changing an extension method after the class has had it's class shape changed ... probably some things wrong with the book keeping while moving extension methods to new class versions ...

In order to reproduce this issue, I created a Rowan test case: RwRowanProjectIssuesTest>>testIssue01 where I've performed the following steps:

create class issue91Class in package 1.
add extension method foo in package 2.
add a new instance variable to Issue01Class and force a new version of the class to be created in package1.
change the extension method 'foo' in package 2.
Running this as a test does not produce an error. however, if these steps are followed in a Jadeite browser, the following stack shows up:

a UserDefinedError occurred (error 2318), reason:halt, Internal error -- no existing LoadedMethod found for the old compiledMethod.

UserDefinedError (AbstractException) >> _signalWith: @5 line 25
UserDefinedError (AbstractException) >> signal @2 line 47
RwGsSymbolDictionaryRegistry (Object) >> error: @6 line 7
[] in  ExecBlock0 (RwGsSymbolDictionaryRegistry) >> addRecompiledMethod: @2 line 26
IdentityCollisionBucket (AbstractCollisionBucket) >> at:ifAbsent: @10 line 10
IdentityKeyValueDictionary >> at:ifAbsent: @15 line 13
RwGsSymbolDictionaryRegistry >> addRecompiledMethod: @14 line 23
RwGsMethodSourceSymbolDictPatch >> installSourcePatch @3 line 5
[] in  ExecBlock1 (RwGsPatchSetBasic) >> updateMethodDictionaries @2 line 10
[] in  ExecBlock1 (Set) >> do: @2 line 11
[] in  ExecBlock2 (KeyValueDictionary) >> keysDo: @2 line 7
KeyValueDictionary >> keysAndValuesDo: @23 line 20
KeyValueDictionary >> keysDo: @2 line 6
Set >> do: @3 line 11
RwGsPatchSetBasic >> updateMethodDictionaries @4 line 10
RwGsPatchSetBasic >> apply @20 line 25
RwGsTestImage class (RwGsImage class) >> applyModification:instanceMigrator: @10 line 9
RwPrjLoadTool >> loadProjectSetDefinition:instanceMigrator: @13 line 13
RwPrjLoadTool >> loadProjectSetDefinition: @4 line 4
[] in  ExecBlock2 (RwPrjBrowserTool) >> addOrUpdateMethod:inProtocol:forClassNamed:isMeta:inPackageNamed: @41 line 55
RwPrjBrowserTool >> addOrUpdateMethod:inProtocol:forClassNamed:isMeta:inPackageNamed: @23 line 85
RwPrjBrowserTool >> addOrUpdateMethod:inProtocol:forClassNamed:isMeta: @12 line 37
Issue91Class class (Behavior) >> rwCompileMethod:category: @9 line 4
[] in  ExecBlock0 (JadeServer64bit3x) >> compileMethod:behavior:symbolList:inCategory: @7 line 7
ExecBlock0 (ExecBlock) >> on:do: @3 line 42
[] in  ExecBlock0 (JadeServer64bit3x) >> compileMethod:behavior:symbolList:inCategory: @2 line 14
ExecBlock0 (ExecBlock) >> on:do: @3 line 42
JadeServer64bit32 (JadeServer64bit3x) >> compileMethod:behavior:symbolList:inCategory: @2 line 16
JadeServer64bit32 (JadeServer) >> sbSaveMethod: @12 line 9
JadeServer64bit32 (JadeServer) >> systemBrowserCommand @121 line 40
[] in  ExecBlock0 (JadeServer) >> systemBrowserA: @14 line 10
Time class >> secondsElapsedTime: @5 line 11
Time class >> millisecondsElapsedTime: @2 line 6
JadeServer64bit32 (JadeServer) >> millisecondsElapsedTime: @2 line 3
JadeServer64bit32 (JadeServer) >> systemBrowserA: @2 line 4
JadeServer64bit32 (JadeServer) >> systemBrowser: @3 line 2
[] in  ExecBlock0 (JadeServer64bit) >> systemBrowser: @2 line 4
ExecBlock0 (ExecBlock) >> on:do: @3 line 42
JadeServer64bit32 (JadeServer64bit) >> systemBrowser: @2 line 5
GsNMethod class >> _gsReturnToC @1 line 1

Sooo, at this point I am assuming that Jadelite may not be working with the proper version of the class ... cached ClassOrganizer or something else?

Hmmm ... Running the reproduction case doesn't produce the bug for me.
One odd thing about your report.

add a new instance variable to Issue01Class and force a new version of the class to be created in package1.

Two notes though:

What do you mean by "force..."? The only way to add the inst var sets the package to package1 by default.
Interestingly in step 3 of the issue report, if I create the new version of the class in package 2 (where the extension method lives), Rowan moves the class definition to package 2. However, it loses my method.

Reassigning to @dalehenrich for possible bug in bullet 2.

You say that the "Running the reproduction case doesn't produce the bug for me." ... did you execute smalltalk code or do the steps in the browser?

Missed that. I did this in a browser.

Using Jadeite [Alpha1.0] and the latest on dale branch (983f3af) with number of bugfixes in this area and was not able to reproduce my original bug report ... I did my test using the packages tab ... I will make another run at this using the dictionaries tab.

works with dictionaries tab ... calling this fixed

RwHybridBrowserToolTest>>testHybridMoveMethod reproduces the original failure. Reopening

wrong bug


Exception when open Polyhedron

When opening Polyhedron tab on my PC. On other laptop tab was opening fine.
System.ArgumentException: Value does not fall within the expected range.
   at Test.DX11Ctrl.IDevice.CreatePixelShader(Byte* ShaderBytecode, IntPtr BytecodeLength, Void* ClassLinkage)
   at Test.DX11Ctrl.apply() in c:\RationalNumerics\Test\mini3d\DX11Ctrl.cs:line 388
   at Test.DX11Ctrl.DC.DrawMesh(VertexBuffer vb, IndexBuffer ib, Int32 i, Int32 n) in c:\RationalNumerics\Test\mini3d\DX11Ctrl.cs:line 1223
   at Test.DX11ModelCtrl.render(DC dc, Int32 was, Group[] nodes) in c:\RationalNumerics\Test\mini3d\DX11ModelCtrl.cs:line 86
   at Test.DX11ModelCtrl.OnRender(DC dc) in c:\RationalNumerics\Test\mini3d\DX11ModelCtrl.cs:line 107
   at Test.DX11Ctrl.Refresh() in c:\RationalNumerics\Test\mini3d\DX11Ctrl.cs:line 147
   at Test.DX11Ctrl.WndProc(Message& m) in c:\RationalNumerics\Test\mini3d\DX11Ctrl.cs:line 621
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)

My video card is NVIDIA GeForce 210 where it fails. If some requirement are not met, maybe at least try/catch inside WndProc, so application would not crash.


IE11 flex-direction: column bug

http://codepen.io/nicothin/pen/dYPxjz?editors=110

You've provided no description, so it's hard for me to know what bug you're trying to report here, but at first glance, this is a duplcated of flexbug 3.


Separate out spectral transforms from operators for easy switching

It would be great for flexibility if we could separate out conceptually and in code the spectral transforms from the operators. This would allow swapping of transforms (wavelets, spherical harmonics, Fourier, etc.) and it may allow also mix-and-match type transforms (e.g., spherical harmonic + legendre in the vertical).
An example of how this could be done can be found here: https://github.com/CliMA/OperatorFlux.jl/tree/main/src

An abstract type on top of SpectralConv type would work. Maybe AbstractKernelConv? Since the transformation here should be a kernel and the layer forms a general convolution operation.

@yuehhua, So in your idea we will get various kind of XxxConv type under AbstractTransform, is that correct?

Here, I would like to make several changes.

In OperatorFlux.jl there is a transform field, I'll probably go with that way and extend the SpectralConv.
The name of FourierOperator layer in NeuralOperators.jl is ambiguous. Since the whole model is regarded as a "operator". I'll change that to some other name.

In OperatorFlux.jl there is a transform field, I'll probably go with that way and extend the SpectralConv.

It should be the same way here. Your idea is to parametrize out transform field and let it be interchangeable with other xxxConv under abstract type AbstractTransform. It is simple to make AbstractTransform type as an interface that we could define a series of functions for different xxxConv type. For example, a transformation requires a forward transform forward method and an inverse transform inverse method. For different xxxConv types, they should have their own implementations., e.g. forward(::FourierTransform, x). So, I think the design here in OperatorFlux.jl gives a pretty good model to follow on and it is easy to add new transformation and easy to read, which fits open-closed principle and readability well in software engineering.

The name of FourierOperator layer in NeuralOperators.jl is ambiguous. Since the whole model is regarded as a "operator". I'll change that to some other name.

This idea agrees with mine! We should abstract out a parametric type NeuralOperator from FourierOperator. I would like it to be some what like NeuralOperator{FourierTransform}.

It should be the same way here. Your idea is to parametrize out transform field and let it be interchangeable with other xxxConv under abstract type AbstractTransform. It is simple to make AbstractTransform type as an interface that we could define a series of functions for different xxxConv type. For example, a transformation requires a forward transform forward method and an inverse transform inverse method. For different xxxConv types, they should have their own implementations., e.g. forward(::FourierTransform, x). So, I think the design here in OperatorFlux.jl gives a pretty good model to follow on and it is easy to add new transformation and easy to read, which fits open-closed principle and readability well in software engineering.

I totally agree with that.

This idea agrees with mine! We should abstract out a parametric type NeuralOperator from FourierOperator. I would like it to be some what like NeuralOperator{FourierTransform}.

Here, suppose you mean the FourierOperator in NeuralOperators.jl. And no, this is not an "operator" but just a layer.

Summary:

[ ] Change the name FourierOperator to OperatorKernel
[ ] Implement transform family with abstract type AbstractTransform
[ ] Extend OperatorKernel to OperatorKernel{<:AbstractTransform}
[ ] Implement SpectralConv function as a constructor of OperatorKernel{FourierTransform}

this is not an "operator" but just a layer.

Here, I feel like something weird. In its meaning, it is still an operator. It learns a function mapping from a function space to another function space but just we implement it as a layer. I think that's why we call it neural operator, which makes a metaphor to user "this operator is implemented in the form of a neural network layer".

Here, I feel like something weird. In its meaning, it is still an operator. It learns a function mapping from a function space to another function space but just we implement it as a layer. I think that's why we call it neural operator, which makes a metaphor to user "this operator is implemented in the form of a neural network layer".

Maybe @zongyi-li also have a different way of looking at it?

I can provide another example. Neural ODE and neural PDE are another metaphor to hint user that they learn a continuous ODE/PDE function in the form of a neural network layer. In neural ODE, the ODE part is defined by the problem setting and the key is to learn a continuous function over a neural network layer. Thus, a ODE solver is used to provide a solution of continuous function for neural network layer.


V5 current version compiled and other downloads margin-right and padding-right missing!

solved

Please simply close your issue. Title may help.

Please simply close your issue. Title may help.


3.0.1 Whitelisting is not working as expected when referencing your specs

Bug report

[X] I have checked other issues to make sure this is not a duplicate.

Describe the bug
Hello, big fan of this package! Not sure if this is entirely a bug, could be an implementation detail I'm not understanding. With the latest 3.0.1 I'm trying out the whitelist option and I ran into this scenario and was wondering if this was a bug or not.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

This is my GraphQL Schema

type User {
  id: Int!
  username: String!
  role: String!
  isActive: Boolean
  email: String!
  profile: UserProfile
  auth: UserAuth
}
Query{
  currentUser: User
}

Query this

{
  currentUser {
    id
    username
    isActive,
    role
  }
}

Use that permissions

const isAuthenticated = rule()(
  async (parent, args, ctx, info) => {
    const result = true;

    log.info('test....', result);
    return result;
  });
const permissions = shield({
  Query: {
    currentUser: allow
  },
  Mutation: {},
  User: {
    id: isAuthenticated,
    username: isAuthenticated,
    isActive: isAuthenticated,
    role: deny
  }
}, {
  debug: true,
  whitelist: true
});

See error

{
  "data": {
    "currentUser": null
  },
  "errors": [
    {
      "message": "Not Authorised!",
      "locations": [
        {
          "line": 6,
          "column": 5
        }
      ],
      "path": [
        "currentUser",
        "role"
      ]
    }
  ]
}

Expected behavior
What I expected for this interactions (I was referencing your specs when deriving my example) https://github.com/maticzav/graphql-shield/pull/119/files#diff-6b51ffc4039e2d70d0a58c36b16f55dcR77
I was expecting to get a partial object with the deny field role would be returned as null, just like in the specs.
{
  "data": {
    "currentUser": {
      "id": 1,
      "username": "admin",
      "isActive": true,
      "role": null
    }
  }
}

Actual behaviour
I receive this input
{
  "data": {
    "currentUser": null
  },
  "errors": [
    {
      "message": "Not Authorised!",
      "locations": [
        {
          "line": 6,
          "column": 5
        }
      ],
      "path": [
        "currentUser",
        "role"
      ]
    }
  ]
}

Additional context
This seems to work fine if I nest another object into the currentUser, whitelist everything about currentUser, and deny that nested object in currentUser, I obtain the currentUser correctly and the nested object is returned as null.

Whoa, @IsaaX what an issue report! 🎉 I introduced templates yesterday and can see the benefits immediately. How did you like it? Does everything seem in place, anything missing? Let me know, and huge thanks for trying it out. 😄

Regarding your problem now, it's an implementation detail that is messing your code. I call it the GraphQL Schema contract - I'll also be posting an article about it, but for now you can read the idea in one of the recent issues.
https://github.com/maticzav/graphql-shield/issues/126#issuecomment-416524581
Long story short, it's the role: deny and role: String! lines that are preventing your query from resolving the way you expect. Briefly, you are trying to convince the client that it will 💯 receive the data but in the next step hide it. Because of this it cannot resolve User as a whole correctly and resolves in null.
I hope this gives you some leads to your problem. Let me know if you need any help implementing it! 🙂

That makes complete sense and I had read that issue yesterday too! I didn't connect the dots, doh! I get what is happening now. So Ill close this and appreciate the quick response!
RE: Templates
Not going to lie, it made reporting easy and really helped me guide my thoughts down in a simple manner. I'll provide a bit of feedback and feel free to use/disregard it as you see fit! I would suggest the following template with tweaks that I made that would make the process a bit simpler for future candidates which should help them copy and paste their relevant info I'd hope. It's basically just rearranging your current template a bit more (the bottom part to the more relevant parts). So I hope this helps. I'll try to help with the repo soon as well once I'm setup with this. It's been awesome working with it thus far! Great job on everything you've been doing.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

This is my GraphQL Schema. (Delete the filler code and replace it with your own)

type Query {
  book: Book!
}

type Book {
  id: ID!
  name: String!
  content: String!
}

Query that is invoked

book {
  id
  name
  content
}

Use these permissions

const permissions = shield({
  Query: {
    book: allow,
  },
  Book: {
    content: deny,
  },
})

See error

<insert error here>

Expected behavior
A clear and concise description of what you expected to happen.
Actual behaviour
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Just changed! Great additions. Thank you for contributing 🎉


Access control allow origin

Hi Zyphrax,
I'm writing a REST service in my app to serve an image when called. Let say my iPad web server is listening on <IP_ADDRESS>:9000, configured as unsecure server.
Calling client is an angularjs app running on my PC, let say on localhost:8080/myclientapp.
My angularjs app call http://<IP_ADDRESS>:9000/getimage but iOS app web server returns:
Failed to load http://<IP_ADDRESS>:9000/getimage/20171107121552614: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access.
How can I allow cross origin ajax calls on iOS unsecure web server?
EDIT: If I open this URL http://<IP_ADDRESS>:9000/getimage/20171107121552614 from a Chrome tab it correctly returns b64 image data without complain.
Thank you.

Hi Zyphrax,
I'm able to resolve this situation by adding a custom request handler like this:
public class HTTPCORSHandler: HTTPRequestHandler {
        public func respond(to request: HTTPRequest, nextHandler: HTTPRequest.Handler) throws -> HTTPResponse? {
            let response = try nextHandler(request)
            response?.headers["Access-Control-Allow-Origin"] = "*"
            return response
        }
    }
...
server = Server()
server.httpConfig.requestHandlers.insert(HTTPCORSHandler(), at: 0)

like you said in your README > HTTP: Middleware.
Is this the right way?
Thank you!

Hi @riki-dexter, yes that's a great solution!
As an extra security measure you might want to check that the request is a GET:
public class HTTPCORSHandler: HTTPRequestHandler {
  public func respond(to request: HTTPRequest, nextHandler: HTTPRequest.Handler) throws -> HTTPResponse? {
    let response = try nextHandler(request)

    // Add access control header for GET requests
    if request.method == .get {
      response?.headers["Access-Control-Allow-Origin"] = "*"
    }

    return response
  }
}


Integration with other Verilog-based projects

To better support other Verilog/SystemVerilog-based projects that use Verilator for simulation, it would be nice to have the following features:

Passing customized file list to Verilator (-f option)
Support for more Verilator options, especially those used to suppress warnings
Linking the shared library against other libraries
#73
Instantiating a Verilog module with parameters
More advanced flags such as setting rpath during the actual C++ test bench compilation

@yo96 Any other things you would like to have for black-parrot testing?

These look good to me. I think maybe we can organize all the flags read by import pass into an object called settings (like hypothesis does) so that we can set flags like this:
s.import_settings = ImportSettings(
  import = True,
  src_path = '../queue.v',
  list_path = '../flist.verilator',
)

This way it may be easier to manage all these flags (I'm sure there will be a ton of flags as we make the import pass more flexible) and it also saves name space. Anyway the general goal is to make the import as seamless as possible!

@yo96 Can you please remind me of why we wanted a special parameter import_params to the construction method of some placeholder to be imported?

To compute the type for some ports

Closed as #80 has been merged into master


Running examples in unity gives error

Getting error while running example
DllNotFoundException: mediapipe_c
Director.OnDisable () (at Assets/Mediapipe/Examples/Scripts/Director.cs:35)

Steps to reproduce
step 1- git clone MediapipeUnityPlugin
step 2 - open in unity
step 3 - run HandTrackingGPU scene

You need to identify what causes the DllNotFoundException.
Will you try checking (or unchecking) Load on startup in Plugin load settings section?

@homuler i think it is not even present at the path Assets/Mediapipe/SDK/Plugins/

Well, it surely exists in the above screenshot. libmediapipe_c.so is that.

Yeah, my bad.

Will you try checking (or unchecking) Load on startup in Plugin load settings section?

I tried this. its not working in either case.
On enabling

On disabling

OK. Please check Load on startup and click Apply button, and restart Unity Editor.
I expect some warning logs will show up in the console when Unity Editor starts.

By the way, if you use Debian or Ubuntu, and your OpenCV's shared object files are installed under /usr/lib/x86_64-linux-gnu/, then you may need to edit opencv_linux.BUILD. (cf. https://github.com/homuler/MediapipeUnityPlugin#opencv)

if you use Debian or Ubuntu, and your OpenCV's shared object files are installed under /usr/lib/x86_64-linux-gnu/

I have modified opencv_linux.BUILD

But same problem is here,

I expect some warning logs will show up in the console when Unity Editor starts.

Yeah right

on disabling the setting there is no warning at start

but showing same error at runtime

https://github.com/homuler/MediapipeUnityPlugin/issues/2#issuecomment-689501672 may be relevant.

But same problem is here,

I expect some warning logs will show up in the console when Unity Editor starts.

Please copy and paste that warning log in text.
I know it continues to fail, I'd like to know why it fails.

I have modified opencv_linux.BUILD

After editing, did you run make, make install and restart Unity Editor?
This file is not read at runtime. If it is not correct at build time, OpenCV will not be linked statically.

After editing, did you run make, make install and restart Unity Editor?

@homuler it worked after i run make and make install command and restart unity.

@homuler it is running on Unity but when i am trying to build android apk file. it is giving errors
Assets/Mediapipe/Examples/Scripts/Director.cs(7,31): error CS0234: The type or namespace name 'Windows' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)
Error building Player because scripts had compiler errors
Build completed with a result of 'Failed' in 6 seconds (6063 ms)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /home/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:197)

UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
  at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002af] in /home/bokken/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:194
  at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in /home/bokken/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:95
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /home/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:197)

I'm planning to support Android, but currently Linux Desktop is the only supported platform (this error may be not relevant though).
https://github.com/homuler/MediapipeUnityPlugin/issues/3

okay @homuler ,  waiting for android support, btw, thanks for your help.


Type issue in table.query()

I noticed that there are no type hints on the query property on table.query because RenameKeys is called on any type.

To get you unblocked:
Its using the types from typesafe-dynamodb: https://github.com/sam-goodwin/typesafe-dynamodb/blob/main/src/query.ts
There is an example here: https://github.com/thantos/functionless/blob/main/test/table.test.ts#L285

Where is that any coming from in RenameFields? I see more when there is a type in the first field.

Looks like not much shows up before you start adding properties.

Weird... why don't I see that type hint? here is the context of that code:
const resolver = new AppsyncResolver(($context) => {
      return table.query({
        index: 'GSI1',
        query: {
          expression: ':pk = #pk',
          expressionValues: { '#pk': $context.arguments.apiKey },
          expressionNames: { ':pk': 'PK' },
        },
      });
    });

Also note that I had to mark SK type as any because it only accepts a "PK" literal since SK type extends PK type.

What happens when you emit the SK type param? It defaults to undefined if I recall.

undefined works, too. I figured that I might as well fill it in, though.

This could be related. There are red line sunder the imports in the type definition file.

They could also be vs code doing weird things.
Can you provide a snippet that reproduces this error? I'll take a look and try and fix.

It looks correct. typesafe-dynamodb isn't in the node_modules directory -- nor the other ones.

I fixed it by adding it to the deps in .projenrc.js file.

Oh interesting. Looks like we have it as a peer dependency. We should update the Functionless projen to add it.

I fixed it by adding typesafe-dynamodb to the deps in .projenrc.js file.

Tracking fix to projen https://github.com/functionless/functionless-projen/issues/7


Allow attaching ASG to other target groups

Ignore changes to load_balancers and target_group_arns attributes.
The objective of this change is to allow for more flexibility in infrastructure customisations while not changing current behaviour.
Currently, any changes to the ASG 'asg' that happen outside of this module, such as attaching it to another target group, get reverted once this module runs as described in the Terraform documentation (https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/autoscaling_group)
Having multiple target groups attached to this ASG can be useful for deployments that have 2 load balancers (ex: private and public).

Hi @jakjohnson not sure I am following why you wouldn't simply define all target_group_arns in this module?  I appreciate the want for flexibility but there is a clear dependency tree here where you create a Target Group and assign it to the ASG.
You can already attach multiple target groups to the ASG as per your comment - but you cannot handle that association externally to this module - could you provide an example of why this change is needed and why its not possible to associate the target_group with this module directly?

Hi @jbeemster, we actually don't call this module directly but we use it though the collector-kinesis-ec2 module which sets the target_group_arns argument to the value of the collector_lb_tg_id variable which is a string so only allows one value.
We have a deployment in which we have the same collector ASG attached to a HTTP target group and a TCP target group which are used respectively by an internet facing ALB (JS tracker events) and an internal NLB (backend events).
Since the ID of the ASG is an output of the collector-kinesis-ec2 module, we can attach the collector ASG to the NLB  target group with a aws_autoscaling_attachment resource from the calling code (but these changes are currently being undone each time when changes are applied since target_group_arns gets updated). Ignoring future changes to target_group_arns effectively allows the ASG to be attached to multiple target groups.
An alternative would be to modify the collector-kinesis-ec2 module to allow for more than one load balancer, IIUC this would require accepting a list of target group IDs to attach the ASG to and a list of source security groups.
Please let me know if that seems like a more acceptable solution to you!

Hey @jakjohnson that makes a ton of sense!  Yes if you could please add that to the Collector stack instead that would be the preferred place to implement this.


Add apache kafka icon to devicon 2

Added a new icon for Apache Kafka.

The icons are generated from the source repos. The devicon2 repo removed a file which was used to lookup all icon names of the font. Last version that works in the current state is v2.12.0 which is included in the latest v2.4.0 release.


pull out StreamPool/StreamData from WindmillServerStub file. Organize…

Move StreamPool to its own file

add tests
use ConcurrentHashMap instead of HashMap

Move Windmill Appliance implementations of windmill server to their own directory for clarity

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Dataflow Streaming ValidatesRunner

r: @scwhittle

Run Dataflow Streaming ValidatesRunner

@zhoufek we are good merge if it looks good to you
got LGTMs
thank you!

@tvalentyn we are good merge if it looks good to you
got LGTMs
thank you!

merging based on @scwhittle' s LGTM. I did not review but I ran internal test suites on a somewhat recent version of the PR and nothing failed.


Provide low inventory notifications when distributions are created or updated

Written in collaboration with @cfanpnk. Resolves #1725.
Description
In this PR, we add flash messages when a distribution causes an inventory item to fall below the recommended or minimum quantities (on create or update). In order to do this, we created a new service object called the InventoryCheckService that takes a distribution and figures out if the items associated with that distribution have low inventory.
Open Question 🚨
Currently, the flash messages saying that the distribution was created and that any items have fallen below the recommended on hand quantity disappear on their own, but the error message with items that have fallen below the minimum quantity stays until the user dismisses it. Is this acceptable behavior?
Type of change
New feature (non-breaking change which adds functionality)
How Has This Been Tested?
We have provided service tests, as well as unit tests for the controller and new service object.
 This is absolutely perfect. Thank you so much for this! :)

I don't know what best practices are on images being dismissed. We can totally remove the javascript function that dismisses the messages.

Awesome thanks for this!!!


Unable to download original raw file on selecting "Export to original" in pivot table.

I created a pivot table and on clicking "Drill to detail"->"Edit chart" - > "Export to original .csv" , I expected to be able to download a file containing all the raw records (not the summary shown in the pivot table).
But downloaded file contains only summary.

browser type and version: Chrome Version 118.0.5993.117
superset version: superset version 3.0.1

This is currently open as a feature request discussion here: https://github.com/apache/superset/discussions/19705
I'll close this thread in favor of that one, since it's not a bug per se, but rather a feature request. You can, of course, always pivot in your spreadsheet tool in the meantime.


Filter input for build

Sometimes, we may want to build a part of source files in a project for various purpose.  (e.g. generating styleguide by using built css files)
--filter **/*.scss option would be helpful in that case.

implemented via 1602950


Make LocalVector -> Vector automatic conversion safe for non-trivial types.

We can be lucky it hasn't caused problems so far. I've looked through all its uses, and it appears so far it's only been used for trivial types.

Thanks!


Bug fix: changed the no-reply email for prod

The bug raised in this ticket:
https://www.pivotaltracker.com/story/show/100752692
This should be merged in once it's confirmed that the new email is fully operational with WebOps crew & Jiten.

DO NOT MERGE UNTIL FRIDAY 16th OCTOBER


feat(unsubscribe): add checkbox for removing email from DB

Fixes #
Adds the ability to remove email from DB altogether.
How to test

Login with subscribed account
Open manage email subscription modal
Turn off all options
The checkbox should appear
Turn on the checkbox and update your preferences
Ensure that you are no longer subscribed for notifications and for subscription you need to enter your email again and sign a request to BE

To-Do

[ ]

Self-review checklist

[x] I have performed a full self-review of my changes
[ ] I have tested my changes on a preview deployment
[x] I have tested my changes on different screen sizes (sm, md)
[x] I have tested my changes on a custom domain
[x] I have run end-to-end tests yarn cypress:test:e2e, and they have passed

@Todmy what is the plan for this and https://github.com/snapshot-labs/snapshot/pull/3983? Can we close them for now?


Will packets be lost if they come in too fast?

Hi, sorry to bug you with this.  I'm looking at the code for udpreceiver and am a little confused.  Are the received packets getting buffered somewhere?  Unless I am missing something it appears they are not.
If say, 10 UDP packets come in since my last read, it looks like I would only get the most recently received one, or am I missing something?  Not that familiar with the UE networking and class libraries yet and trying to learn.

The 10 UDP packets will always arrive in sequence. Assuming the transmission channel is reliable, none should be lost.
Buffer size is set on initialization in the code. If you want to change it, you would have to modify the code and rebuild the plugin.
Perhaps it makes sense to expose this setting to blueprints. Feel free to issue a feature request.

Sorry if I'm being an idiot, but reading the code it looks like the Recv delegate gets called whenever a packet is available, this passes data to archive which converts it to your data format, passes it to updatereceiverobject that stores the data in MyData till someone calls getdata to get it.
It seems like, if another packet comes in before getdata is called, this process will repeat and MyData will be overwritten with the new packet, losing the old one.
Is there something I'm missing that is preventing MyData from being overwritten every time a new packet arrives?

No, in fact, it is important to ask such questions. Also, sorry for not replying sooner, I've been on my summer break.
Generally, I think the situation is such that yes, it may happen that packets get lost. But remember, this is UDP — there is NO GUARANTEE that the packet will arrive anyway. Hence, from this perspective it is not really an issue of the plugin, rather of the specification.
Still, thank you for your interest! If you have further questions, feel free to reach out.

I can also add that in our current application for visualizing control plant dynamics where transmission rates vary from 10Hz to 1kHz, we have not experienced any real issues with the plugin (even if a packet gets lost, it is not critical from the application's standpoint).
However, if you want to create a reliable multiplayer experience with this, you should probably use something else, like Unreal's implementation or certain components thereof.


Update failing to degraded

/assign @dmage @adambkaplan

forgot to git add -f vendor
let's try this again ;)

/retest

/retest

/lgtm
Thanks so much @coreydaley !


docs: update LICENSE

Changes the license to be under Catppuccin, as specified in the template.

whoops had forgotten to change that, thanks!


Sorting - everything is sorted ASC and not DESC

The normal flow of interacting with the monitor is to monitor the latest jobs, instances, workflows, and so on, but everything is ordered ASC and not DESC (and there isn't any sorting ability).
How can one have the tables sorted DESC and not ASC? If you could direct me to the code I don't mind doing a pull request (not a java developer, but...).
Thanks!

Adding the ability to sort every table and column would be a bigger change.
Which tables are the most important for you?
By which column do you want to sort?

@saig0 processes (main page)
And under each process the instances table (once you enter a process, you see his instances)
Sorting by date
Many many thanks!

Okay, I'll try to implement something for these tables (in the next weeks). Hopefully, this pattern can be applied later for other tables as well :rocket:

Idea:

use the Spring Data Web support
sort the processes by adding ?sort=timestamp,desc
sort the instances by adding sort=start,desc
add the deployment time to the processes table
have a button (or link) to change the ordering
configure the default ordering in the app config


Attachment still marked as shared when related chat was unshared

EPAM AI DIAL chat version
0.10.0
How to reproduce

User 1 create chat with file pdf (DIAL RAG or echo)
User1 share chat with file
User2 open shared link
User1 open shared chat
User1 revoke access to this file chat
User1 open Manage Attacghment form and find file attached to the chat

Actual result
File is still marked as shared : arrow is displayed on the file icon

Note: file also is not unshared when user1 change model to shared chat
Expected result
File should be shown as unshared ( without arrow on file icon)
Confidential information

[X] I confirm that do not share any confidential information

will be fixed in core team in https://github.com/epam/ai-dial-core/issues/310

Agreed with @sdryapko on daily-status-call that it's expected behavior.


Show Call Hierarchy doesn't handle overridden methods correctly

Environment data

Language Server version: 2022.5.0-pre.1
OS and version: Windows 11
Python version: 3.11.0a7

Repro steps

Paste the code below in a .py file
Right-click on Derived.method and select Show Call Hierarchy
Examine the generated call hierarchy
Right-click on Base.method and select Show Call Hierarchy
Examine the generated call hierarchy

Expected behavior
Since "Find All References" considers the method calls in both BaseConsumer and DerivedConsumer to be references of both Base.method and Derived.method, I would expect both calls to appear in both call hierarchies.
Actual behavior
Both call hierarchies contain a single call -- the call from BaseConsumer.
Additionally, in the call hierarchy for Derived.method, when I click on the root of the hierarchy, it takes me to Base.method, so perhaps that's a clue to what's going wrong.
Code Snippet / Additional information
import abc

class Base(abc.ABC):
    @abc.abstractmethod
    def method(self):
        pass

class Derived(Base):
    def method(self):
        pass

class BaseConsumer:
    def consumer(self, base: Base):
        base.method()

class DerivedConsumer:
    def consumer(self, derived: Derived):
        derived.method()

This issue has been fixed in prerelease version 2023.7.31, which we've just released. You can find the changelog here: CHANGELOG.md


cosign: 0.3.0 -> 0.3.1

Motivation for this change
Bump cosign to 0.3.1
Add ldflags to make the release smaller (21 MB -> 19 MB) and version info
The upstream release looks like follows:
GitVersion:    v0.3.1
GitCommit:     76fde761a4e016c57293113ee1362f1c24a647cb
GitTreeState:  clean
BuildDate:     '2021-04-20T22:40:17Z'
GoVersion:     go1.16.3
Compiler:      gc
Platform:      linux/amd64

I've left out the other parts that are commonly skipped in nixpkgs like date etc as they're better left as the default
GitVersion:    v0.3.1
GitCommit:     unknown
GitTreeState:  unknown
BuildDate:     unknown
GoVersion:     go1.16.3
Compiler:      gc
Platform:      linux/amd64

I've also added myself as a maintainer if you dont mind @LeSuisse
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Done in #120029

I've also added myself as a maintainer if you dont mind @LeSuisse

Not at all :+1:

Ah sorry, I had a look for the PR but I missed it :sweat_smile:
I'll rebase now


institution_id should contain homepage/url (copied from CMIP6_CVs)

Making sure that the info in https://github.com/WCRP-CMIP/CMIP6_CVs/issues/379 is considered as we continue to augment CV formats and contents

Reference to discussion in branch ror.
Checklist:

[ ] Discuss what is needed in the data and if this a suitable representation.
[ ] Populate any missing entries from/on ROR.
[ ] Submit a request to add CMIP acronyms/aliases for each institution.
[ ] Create a self updating / ROR checker tool.

It would be nice to be able to determine from the json file directly (without an interface, but by reading):

The list of sources (list of acronyms), possibly grouped by MIP era, that the institution created (had primary responsibility for).
The list of additional sources, that the institution has an affiliation with.
The list of consortia that the institution contributes to.

For a consortium, it would be nice to see in the file:

The list of institutions (by acronym) in the consortium
The list of "lead" institutions for the consortium (or "NA" if the consortium has no lead)

Also, do we want to include an individual contact for each institution, when available, with email/phone/address etc.?

I support the ROR reference but I have to comments:

I would use RORs (including the resolver) as a reference and not duplicate the information. I don't think we need that and it would create additional effort to synchronize with RoR. On a webpage, we can dynamically include that information from RoR.
I like the idea to use the RoR to identify an entry because this does not change. And to use institutions as entries, specifying the consortia it belongs to.
Our institutions are partly consortia without a RoR, as Karl has pointed out. But the members of a consortium might have a RoR. Furthermore, our acronyms are those used in the DRS.

Let me put all these comments in a suggestion for an alternative (minimal) institution_id structure:
{
  "05m7pjf47": {
    "acronym": "UCD",
    "name": "University College Dublin",
    "url": "http://www.ucd.ie/",
    "ror": "https://ror.org/05m7pjf47",
    "consortia": [
      {
        "drs": "UCD",
        "task": "lead"
      }
    ]
  },
  "03qn8fb07": {
    "acronym": "CSIRO",
    "name": "Commonwealth Scientific and Industrial Research Organisation",
    "url": "http://www.csiro.au/",
    "ror": "https://ror.org/03qn8fb07",
    "consortia": [
      {
        "drs": "CSIRO",
        "task": "lead"
      },
      {
        "drs": "CSIRO-ARCCSS",
        "task": ""
      },
      {
        "drs": "CSIRO-COSIMA",
        "task": ""
      }
    ]
  },
  "0288wcg94": {
    "acronym": "ARCCSS",
    "name": "Australian Research Council Centre of Excellence for Climate System Science",
    "url": "https://www.climatescience.org.au/",
    "ror": "https://ror.org/0288wcg94",
    "consortia": [
      {
        "drs": "CSIRO-ARCCSS",
        "task": ""
      }
    ]
  }
}


Support M1 (Apple Silicon) for PDF_Handler pre-compiled XMPFiles plugin

Is there any intention releasing a M1-compiled version of the PDF_Handler XMPFiles plugin? What is the expected time for that?
If not, will you share the source code for PDF_Handler so it can be compiled locally?
Thank you

It's already in our plan, we will be releasing M1 compiled version of PDF_Handler in near future.

Thank you @Priyanka-Gupta, I didn't find the new version of PDF_Handler in 2022.02 release. What is the expected timeline for the release?

Hello @Priyanka-Gupta, do you have any update regarding the timeline for releasing the PDF_Handler plugin for Apple Silicon?

Hello @Priyanka-Gupta! would it be possible to give any hint on expected timeline for Apple Silicon support for PDF_Handler?

PDF_Handler universal binary has been released as part of December 2023 Release and is available at XMPFilesPlugins/PDF_Handler/macintosh/universal/PDF_Handler.xpi


Allow generation of prediction problems with no entity id

#107

Good idea from Patrick. Merged in here:
https://github.com/trane-dev/Trane/pull/116


feat: replace local uikitConfigProvider \w uikit-tools one

Description Of Changes
Drop the whole logic under lib/UIKitConfigProvider/* and replace the logic with the same one in @sendbird/uikit-tools made by https://github.com/sendbird/sendbird-uikit-react-native/pull/94.

Things to consider for checking:

Decide whether to include the @sendbird/uikit-tools package in the source code or add it as a dependency
(e.g., @sendbird/chat vs ts-pattern)

We have decided to deprecate the previously used options and migrate them to the newly implemented UIKit configs. Should we consider deprecating React props as well?


Add error event hander for the body stream even if the body isn't accessed

Fixes #378

Codecov Report

Merging #379 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #379   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           6      6
  Lines         424    431    +7
  Branches      133    135    +2
=====================================
+ Hits          424    431    +7

Impacted Files
Coverage Δ

src/body.js
100% <100%> (ø)
:arrow_up:

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 a9c76c1...9073ad5. Read the comment docs.

I think this make sense but I am not certain how browser actually handle this. Fetch Spec seems to suggest a different approach (see step 10):
https://fetch.spec.whatwg.org/#http-network-fetch

I tested this in firefox and chrome and both seem to behave like I implemented it.
I have no good overview of the fetch spec, could you please explain what you think would be the right behavior.

@MoritzKn Sorry I haven't had time to look deep into browser behavior recently.
Do you happen to have any screenshots or output from browsers? Do they actually reject invalid encoding instead of just returning result without decompression or garbled result?
The last time I checked Fetch doesn't expose this sort of information.

Sorry I have no screenshots of the output or anything but I could make some this evening. In my tests with invalid encoding the fetch promise was resolve but the .text() promise was rejected.


Get stdout stderr

Tests are still missing

Pull Request Test Coverage Report for Build 273

56 of 92 (60.87%) changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-2.4%) to 88.784%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

server/resources/execution_stderr.py
8
17
47.06%

server/resources/execution_stdout.py
8
17
47.06%

server/resources/helpers/executions.py
6
24
25.0%

Totals

Change from base Build 258:
-2.4%

Covered Lines:
1979

Relevant Lines:
2229

💛  - Coveralls

Still missing tests, but due to the simplicity of the feature, I believe we could merge. What do you think @louis-ver ?

Sounds good to me


Country translations not working

Describe the bug
I published the package config, I moved the translations (/resources/lang/vendor/world/*) to /lang folder in root project, but translations not loading.
I moved folder because I use filament php and shield packages and this package create /lang folder.
My .env file has APP_LOCALE=es
To Reproduce
Steps to reproduce the behavior:

Execute php artisan vendor:publish --tag=world --force.
Move /resources/lang/vendor/world to /lang in root project. result path: /lang/vendor/world/*

@Faridleo1998 hi and thank you for your input. My understanding is that the .env props are undefined in production and you should try to programatically set the locale using the config helper.
please check the code where the country translations is done and it will be clearer.

My project is local environment and it has .env file with language configuration but the countries names not show in spanish.

to set the locale you need to programatically set it not only .env
try in a middleware to add
app()->setLocale('es');
will this work
look at this part of the code in the package
setLocale($setLocale);

		return $next($request);
	}
}

How I use the setLocale function in filament php?

How I use the setLocale function in filament php?

i guess you call the facade of the world package and then call the World::setLocale('localeString')->countries()

I trying use the facade but not working, I put in a service provider in boot method.

Please refer to the Readme file it shows an example how the facade is used.


SQLite JDBC: inconsistent internal state when trying to access ResultSetMetaData past reading the last row

Describe the bug
When consuming a ResultSet entirely, but before closing it, it is no longer possible to access ResultSet.getMetaData() content.
To Reproduce
try (Statement s = connection.createStatement();
    ResultSet rs = s.executeQuery("select 1")) {

    rs.next();
    rs.next();
    System.out.println(rs.getMetaData().getColumnCount());
}

Expected behavior
print 1
Logs
Exception in thread "main" java.lang.IllegalStateException: SQLite JDBC: inconsistent internal state
	at org.sqlite.core.CoreResultSet.checkCol(CoreResultSet.java:95)
	at org.sqlite.jdbc3.JDBC3ResultSet.getColumnCount(JDBC3ResultSet.java:602)
	at org.jooq.testscripts.JDBC.main(JDBC.java:70)

Environment (please complete the following information):

OS: Microsoft Windows [Version 10.0.22000.1219]
CPU architecture: x86_64
sqlite-jdbc version: <IP_ADDRESS>

Additional observations
The current behaviour is explained by org.sqlite.jdbc3.JDBC3ResultSet.next(), see:
        switch (statusCode) {
            case SQLITE_DONE:
                close(); // aggressive closing to avoid writer starvation
                return false;

This then resets the ResultSetMetaData content, which I think isn't correct. You can argue that ResultSet::getMetaData should throw:

SQLException - if a database access error occurs or this method is called on a closed result set

But I (the user) didn't close the result set. I'm closing it right after in try-with-resources. In fact, this still reproduces the problem:
try (Statement s = connection.createStatement();
    ResultSet rs = s.executeQuery("select 1")) {

    rs.next();
    ResultSetMetaData meta = rs.getMetaData();
    rs.next();
    meta.getColumnCount();
}

Despite the fact that ResultSet::close says:

When a ResultSet is closed, any ResultSetMetaData instances that were created by calling the getMetaData method remain accessible.

Either way, the exception that is thrown is IllegalStateException, when it should be at least a SQLException

Thanks Lukas for the detailed report. I've fixed this and added some tests.

Thanks a lot!

Thanks a lot!

Well thank you sir, i'm a big fan of jOOQ and use it too, so it comes back to me in the end :)

Hah, great to hear! :)