fix: add code field for callback error type

The error object being returned has a code field as well. This PR adds that

The tests are broken though...

@ofrobots See updated change

ping @stephenplusplus @ofrobots


GSoC Demo code changes

GSoC Demo code changes

Codecov Report

Merging #36 (0d712ea) into main (65d574d) will decrease coverage by 22.65%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main      #36       +/-   ##
===========================================
- Coverage   74.41%   51.76%   -22.66%
===========================================
  Files          17       12        -5
  Lines         172       85       -87
  Branches       20        6       -14
===========================================
- Hits          128       44       -84
+ Misses         44       41        -3

Impacted Files
Coverage Δ

diagnostics-app/src/environments/environment.ts
100.00% <ø> (ø)

...tics-extension/src/services/fake_telemetry.data.ts

diagnostics-extension/src/services/telemetry.ts

diagnostics-extension/src/controllers/events.ts

diagnostics-extension/src/utils.ts

diagnostics-extension/src/controllers/telemetry.ts

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 65d574d...0d712ea. Read the comment docs.


Purge user event not work

I'm facing this issue using both REST API and the client library. The response looking something like
curl -X POST -H "Authorization: Bearer "$(gcloud auth print-access-token blabla)"" \
      -H "Content-Type: application/json; charset=utf-8" \
     --data '{
              "filter":"eventTime<\"2020-09-17T18:25:43.511Z\"",
              "force":"false"
    }' \
    "https://recommendationengine.googleapis.com/v1beta1/projects/blabla/locations/global/catalogs/default_catalog/eventStores/default_event_store/userEvents:purge"

{
  "name": "purge-userevents-default_catalog-default_event_store-11256037574273429083"
}

I think this suppose to list the event that about to be deleted, setting force to true/false or any filter return the same result.

It looks like this RPC returns an Operation (long running process) and does not complete immediately. For operations like these, you'll want to poll the operation until it succeeds.
If you are using google-cloud-recommendations-ai client library, purgeUserEventsAsync should be handling the polling of the long running operation for you.

It has been 3 months since I trigger the purge request, nothing happened since then unfortunately

Still having this same problem....
Triggering the following request with "force":"true"
https://recommendationengine.googleapis.com/v1beta1/projects/<project-id>/locations/global/catalogs/default_catalog/eventStores/default_event_store/userEvents:purge
gives me the operation-id, but once I trigger the curl request against the following operation:
https://recommendationengine.googleapis.com/v1beta1/projects/<project-id>/locations/global/catalogs/default_catalog/operations/purge-userevents-default_catalog-default_event_store-<operation>
It does nothing....
Any updates on this?


Multiple acro form fields filling issue

Hi, thank you for this library :)
I'm using the library to fill the acro PDF form. But I encountered an issue very similar to #169
I want to fill several form fields and show using renderer. But I'm only able to see single value(first one entered).
Here's example test code:
    private fun test() {
        fillField(0)
        fillField(1)
        fillField(2)
        fillField(3)

        renderDoc()
    }

    private fun fillField(fieldPosition: Int) {
        val pdTextField = fields[fieldPosition] as PDTextField
        pdTextField.value = "Test value"
    }

In this case I will see only form filled with index 0.
In case I comment out this line:
    private fun test() {
        //fillField(0)
        fillField(1)
        fillField(2)
        fillField(3)

        renderDoc()
    }

Form filled with index 1 will be rendered correctly etc.
I can see that in PDFStreamEngine#processAnnotation annotation does contain the text values for all fields.
This feels like a big issue and not sure it could've been missed so maybe I'm doing something wrong. Any suggestion would be appreciated.

Issue is with canvas.clipPath in PageDrawer:
private void setClip()
    {
        Region clippingPath = getGraphicsState().getCurrentClippingPath();
        if (clippingPath != lastClip)
        {
            canvas.clipPath(clippingPath.getBoundaryPath());
            lastClip = clippingPath;
        }
    }

Removing it solves the issue but probably causes some performance drop?

Good find. I think it would cause other rendering issues. I remember removing it at one point because I suspected it might have caused some other rendering issues, but I put it back because it didn't seem to change anything


Ignore new empty sockets on weapons

These started appearing in Episode 2 - Revenant (Oct. 2024)

Fixed 2.0


Daniel/fsm

updated trailbot_fsm and navigator_node

Not needed anymore, testing in sim worked well, we've migrated the FSM to main separately from the 2D sim which is now out of date.


[openexr] Update

@dg0yt, Thanks for your PR, when I tested the feature by command ./vcpkg install openexr[tools]:x64-windows, I get this warning, please take a look:
2/msys/x86_64/msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst -> msys2-msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst...
-- Using msys root at F:/Feature-test/openexr/downloads/tools/msys2/1e74ca60daa10104
-- Fixing pkgconfig file: F:/Feature-test/openexr/packages/openexr_x64-windows/debug/lib/pkgconfig/OpenEXR.pc
-- Installing: F:/Feature-test/openexr/packages/openexr_x64-windows/share/openexr/usage
-- Installing: F:/Feature-test/openexr/packages/openexr_x64-windows/share/openexr/copyright
-- Performing post-build validation
F:\Feature-test\openexr\ports\openexr\portfile.cmake: warning: The following executables were found in ${CURRENT_PACKAGES_DIR}/bin or ${CURRENT_PACKAGES_DIR}/debug/bin. Executables are not valid distribution targets. If these executables are build tools, consider using `vcpkg_copy_tools`. To suppress this message, add set(VCPKG_POLICY_ALLOW_EXES_IN_BIN enabled)
F:\Feature-test\openexr\packages\openexr_x64-windows: note: the executables are relative to ${CURRENT_PACKAGES_DIR} here
note: bin/exrmanifest.exe
F:\Feature-test\openexr\ports\openexr\portfile.cmake: warning: Found 1 post-build check problem(s). These are usually caused by bugs in portfile.cmake or the upstream build system. Please correct these before submitting this port to the curated registry.
Stored binaries in 1 destinations in 5.3 s.
Elapsed time to handle openexr:x64-windows: 2.5 min
openexr:x64-windows package ABI: 6fc8608ba42966f2f56b8d1c7e9af6e080a007ccf8fa4feebfe10e274ab4d135
Total install time: 2.5 min
openexr provides CMake targets:

    find_package(OpenEXR CONFIG REQUIRED)
    target_link_libraries(main PRIVATE OpenEXR::OpenEXR)

Udpated.

Tested feature successfully in the following triplet:

x86-windows
x64-windows
x64-windows-static


Add route unit tests

[x] create patient routes tests
[x] create queue routes tests
[x] create sanity routes tests
[x] create visit routes tests
[x] get test coverage beyond routes

Closed description can be seen in: https://github.com/healthy-queue/back-end/issues/44#issuecomment-1066502274


[2.5] Backport chart version sorting

Backport https://github.com/rancher/rancher/pull/30404

https://github.com/rancher/rancher/issues/29696


Need to be revised

The text mentions a limitation of single AD per region, then in the later sentence, says that there can be multiple if they are in different subscriptions. This leads the reader to think that as long as they're netapp accounts are deployed in different subscriptions, they can have multiple AD domains.
"Azure NetApp Files doesn’t support multiple AD connections in a single region, even if the AD connections are created in different NetApp accounts. However, you can have multiple AD connections in a single subscription if the AD connections are in different regions. If you need multiple AD connections in a single region, you can use separate subscriptions to do so."

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

ID: 2e1e6f07-0b90-fa0d-4244-7cd0458dd6e0
Version Independent ID: c0d266d6-b07e-cdad-59c0-1fb744b45ff0
Content: Create and manage Active Directory connections for Azure NetApp Files
Content Source: articles/azure-netapp-files/create-active-directory-connections.md
Service: azure-netapp-files
GitHub Login: @b-hchen
Microsoft Alias: anfdocs

@kris1254
Thanks for your feedback! We will investigate and update as appropriate.

@kris1254
Thank you for your feedback!
Since this issue isn't directly related to improving our docs, and to gain a better understanding of your issue, I'd recommend working closer with our support team via an [Azure support request] (https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request). Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
[Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows.
[Microsoft Teams Community forum] (https://answers.microsoft.com/en-us/msteams/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1)
Thank you for your time and patience throughout this issue.


Add a custom message for zappy

        // TODO: Add a custom message for zappy

https://github.com/tonybaloney/vscode-pets/blob/58a4b6d61a5373babeb4a1b750dfa9b26645375f/src/panel/pets.ts#L960-L963

@tonybaloney I would like to contribute to this issue

@tonybaloney what is zappy???
Which animal??

The lightning bolt. It's a mascot for Azure Functions

Completed by #207


custom class name

Bug description
i have class with this name SignIn$Mutation$AuthPayload  i need to custom this name
can I custom classes name
Specs
Artemis version: [e.g. 6.0.3-beta.1]

build.yaml:
targets:
  $default:
    sources:
      - $package$
      - lib/$lib$
      - lib/graphql/**
      - general.schema.graphql
    builders:
      artemis:
        options:
          fragments_glob: lib/graphql/fragments.graphql
          schema_mapping:
            - schema: general.schema.graphql
              queries_glob: lib/graphql/auth/*.graphql
              output: lib/generatedql/auth/graphql_api.dart
            - schema: general.schema.graphql

Artemis output:
[ +168 ms] executing: [/Users/ahmed_pc/Development/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +92 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 8b3760638a189741cd9ca881aa2dd237c1df1be5
[   +3 ms] executing: [/Users/ahmed_pc/Development/flutter/] git tag --points-at HEAD
[ +150 ms] Exit code 0 from: git tag --points-at HEAD
[        ] 1.22.0-12.1.pre
[  +21 ms] executing: [/Users/ahmed_pc/Development/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +16 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [/Users/ahmed_pc/Development/flutter/] git ls-remote --get-url origin
[  +17 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +101 ms] executing: [/Users/ahmed_pc/Development/flutter/] git rev-parse --abbrev-ref HEAD
[  +53 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[  +15 ms] executing: sw_vers -productName
[  +72 ms] Exit code 0 from: sw_vers -productName
[        ] Mac OS X
[        ] executing: sw_vers -productVersion
[  +22 ms] Exit code 0 from: sw_vers -productVersion
[        ] 10.15.6
[        ] executing: sw_vers -buildVersion
[  +25 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 19G2021
[ +125 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +8 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[  +63 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +6 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[  +98 ms] Using /Users/ahmed_pc/Development/flutter/.pub-cache for the pub cache.
[        ] executing: /Users/ahmed_pc/Development/flutter/bin/cache/dart-sdk/bin/pub run build_runner build --verbose
[INFO] Generating build script...
[INFO] Generating build script completed, took 623ms

[INFO] Creating build script snapshot......
[INFO] Creating build script snapshot... completed, took 21.2s

[INFO] BuildDefinition:Initializing inputs
[INFO] BuildDefinition:Building new asset graph...
[INFO] BuildDefinition:Building new asset graph completed, took 844ms

[INFO] BuildDefinition:Checking for unexpected pre-existing outputs....
[INFO] BuildDefinition:Checking for unexpected pre-existing outputs. completed, took 2ms

[INFO] Build:Running build...
[FINE] artemis:artemis on lib/$lib$:-> Input class
[FINE] artemis:artemis on lib/$lib$:┌ [][ProductsOrderByOrderByClause]
[FINE] artemis:artemis on lib/$lib$:|   [][ProductsOrderByOrderByClause][ClassName(name:r'ProductsOrderByColumn') ClassPropertyName(name:r'field')] -> ProductsOrderByColumn
[FINE] artemis:artemis on lib/$lib$:|   [][ProductsOrderByOrderByClause][ClassName(name:r'SortOrder') ClassPropertyName(name:r'order')] -> SortOrder
[FINE] artemis:artemis on lib/$lib$:└ [][ProductsOrderByOrderByClause]
[FINE] artemis:artemis on lib/$lib$:<- Generated input class ProductsOrderByOrderByClause.
[FINE] artemis:artemis on lib/$lib$:-> Enum
[FINE] artemis:artemis on lib/$lib$:<- Generated enum ProductsOrderByColumn.
[FINE] artemis:artemis on lib/$lib$:-> Enum
[FINE] artemis:artemis on lib/$lib$:<- Generated enum SortOrder.
[FINE] artemis:artemis on lib/$lib$:-> Input class
[FINE] artemis:artemis on lib/$lib$:┌ [][ProductFilter]
[FINE] artemis:artemis on lib/$lib$:|   [][ProductFilter][ClassName(name:r'ID') ClassPropertyName(name:r'id')] -> String
[FINE] artemis:artemis on lib/$lib$:|   [][ProductFilter][ClassName(name:r'String') ClassPropertyName(name:r'name')] -> String
[FINE] artemis:artemis on lib/$lib$:|   [][ProductFilter][ClassName(name:r'String') ClassPropertyName(name:r'sku')] -> String
[FINE] artemis:artemis on lib/$lib$:|   [][ProductFilter][ClassName(name:r'ID') ClassPropertyName(name:r'category')] -> List<String>
[FINE] artemis:artemis on lib/$lib$:|   [][ProductFilter][ClassName(name:r'ID') ClassPropertyName(name:r'brand')] -> List<String>
[FINE] artemis:artemis on lib/$lib$:|   [][ProductFilter][ClassName(name:r'ID') ClassPropertyName(name:r'store')] -> List<String>
[FINE] artemis:artemis on lib/$lib$:└ [][ProductFilter]
[FINE] artemis:artemis on lib/$lib$:<- Generated input class ProductFilter.
[FINE] artemis:artemis on lib/$lib$:-> Input class
[FINE] artemis:artemis on lib/$lib$:┌ [][OrderInput]
[FINE] artemis:artemis on lib/$lib$:|   [][OrderInput][ClassName(name:r'ID') ClassPropertyName(name:r'address_id')] -> String
[FINE] artemis:artemis on lib/$lib$:|   [][OrderInput][ClassName(name:r'ID') ClassPropertyName(name:r'voucher_id')] -> String
[FINE] artemis:artemis on lib/$lib$:└ [][OrderInput]
[FINE] artemis:artemis on lib/$lib$:<- Generated input class OrderInput.
[FINE] artemis:artemis on lib/$lib$:-> Input class
[FINE] artemis:artemis on lib/$lib$:┌ [][LoginInput]
[FINE] artemis:artemis on lib/$lib$:|   [][LoginInput][ClassName(name:r'String') ClassPropertyName(name:r'email')] -> String
[FINE] artemis:artemis on lib/$lib$:|   [][LoginInput][ClassName(name:r'String') ClassPropertyName(name:r'password')] -> String
[FINE] artemis:artemis on lib/$lib$:|   [][LoginInput][ClassName(name:r'String') ClassPropertyName(name:r'device_token')] -> String
[FINE] artemis:artemis on lib/$lib$:└ [][LoginInput]
[FINE] artemis:artemis on lib/$lib$:<- Generated input class LoginInput.
[FINE] artemis:artemis on lib/$lib$:-> Input class
[FINE] artemis:artemis on lib/$lib$:┌ [][ResetPasswordInput]
[FINE] artemis:artemis on lib/$lib$:|   [][ResetPasswordInput][ClassName(name:r'String') ClassPropertyName(name:r'email')] -> String
[FINE] artemis:artemis on lib/$lib$:|   [][ResetPasswordInput][ClassName(name:r'String') ClassPropertyName(name:r'new_password')] -> String
[FINE] artemis:artemis on lib/$lib$:|   [][ResetPasswordInput][ClassName(name:r'String') ClassPropertyName(name:r'token')] -> String
[FINE] artemis:artemis on lib/$lib$:└ [][ResetPasswordInput]
[FINE] artemis:artemis on lib/$lib$:<- Generated input class ResetPasswordInput.
[FINE] artemis:artemis on lib/$lib$:-> Input class
[FINE] artemis:artemis on lib/$lib$:┌ [][RegisterInput]
[FINE] artemis:artemis on lib/$lib$:|   [][RegisterInput][ClassName(name:r'String') ClassPropertyName(name:r'name')] -> String
[FINE] artemis:artemis on lib/$lib$:|   [][RegisterInput][ClassName(name:r'String') ClassPropertyName(name:r'email')] -> String
[FINE] artemis:artemis on lib/$lib$:|   [][RegisterInput][ClassName(name:r'String') ClassPropertyName(name:r'password')] -> String
[FINE] artemis:artemis on lib/$lib$:|   [][RegisterInput][ClassName(name:r'String') ClassPropertyName(name:r'password_confirmation')] -> String
[FINE] artemis:artemis on lib/$lib$:└ [][RegisterInput]
[FINE] artemis:artemis on lib/$lib$:<- Generated input class RegisterInput.
[FINE] artemis:artemis on lib/$lib$:-> Input class
[FINE] artemis:artemis on lib/$lib$:┌ [][AddressInput]
[FINE] artemis:artemis on lib/$lib$:|   [][AddressInput][ClassName(name:r'String') ClassPropertyName(name:r'first_name')] -> String
[FINE] artemis:artemis on lib/$lib$:|   [][AddressInput][ClassName(name:r'String') ClassPropertyName(name:r'last_name')] -> String
[FINE] artemis:artemis on lib/$lib$:|   [][AddressInput][ClassName(name:r'ID') ClassPropertyName(name:r'area_id')] -> String
[FINE] artemis:artemis on lib/$lib$:|   [][AddressInput][ClassName(name:r'String') ClassPropertyName(name:r'info')] -> String
[FINE] artemis:artemis on lib/$lib$:|   [][AddressInput][ClassName(name:r'String') ClassPropertyName(name:r'additional_info')] -> String
[FINE] artemis:artemis on lib/$lib$:|   [][AddressInput][ClassName(name:r'String') ClassPropertyName(name:r'mobile')] -> String
[FINE] artemis:artemis on lib/$lib$:|   [][AddressInput][ClassName(name:r'String') ClassPropertyName(name:r'lat')] -> String
[FINE] artemis:artemis on lib/$lib$:|   [][AddressInput][ClassName(name:r'String') ClassPropertyName(name:r'lng')] -> String
[FINE] artemis:artemis on lib/$lib$:|   [][AddressInput][ClassName(name:r'Boolean') ClassPropertyName(name:r'isDefault')] -> bool
[FINE] artemis:artemis on lib/$lib$:└ [][AddressInput]
[FINE] artemis:artemis on lib/$lib$:<- Generated input class AddressInput.
[FINE] artemis:artemis on lib/$lib$:-> Input class
[FINE] artemis:artemis on lib/$lib$:┌ [][UpdateProfile]
[FINE] artemis:artemis on lib/$lib$:|   [][UpdateProfile][ClassName(name:r'String') ClassPropertyName(name:r'name')] -> String
[FINE] artemis:artemis on lib/$lib$:|   [][UpdateProfile][ClassName(name:r'String') ClassPropertyName(name:r'mobile')] -> String
[FINE] artemis:artemis on lib/$lib$:└ [][UpdateProfile]
[FINE] artemis:artemis on lib/$lib$:<- Generated input class UpdateProfile.
[FINE] artemis:artemis on lib/$lib$:-> Input class
[FINE] artemis:artemis on lib/$lib$:┌ [][CartInput]
[FINE] artemis:artemis on lib/$lib$:|   [][CartInput][ClassName(name:r'ID') ClassPropertyName(name:r'product_id')] -> String
[FINE] artemis:artemis on lib/$lib$:|   [][CartInput][ClassName(name:r'Int') ClassPropertyName(name:r'quantity')] -> int
[FINE] artemis:artemis on lib/$lib$:└ [][CartInput]
[FINE] artemis:artemis on lib/$lib$:<- Generated input class CartInput.
[FINE] artemis:artemis on lib/$lib$:-> Input class
[FINE] artemis:artemis on lib/$lib$:┌ [][ReviewInput]
[FINE] artemis:artemis on lib/$lib$:|   [][ReviewInput][ClassName(name:r'Int') ClassPropertyName(name:r'product_id')] -> int
[FINE] artemis:artemis on lib/$lib$:|   [][ReviewInput][ClassName(name:r'Int') ClassPropertyName(name:r'rating')] -> int
[FINE] artemis:artemis on lib/$lib$:|   [][ReviewInput][ClassName(name:r'String') ClassPropertyName(name:r'review')] -> String
[FINE] artemis:artemis on lib/$lib$:└ [][ReviewInput]
[FINE] artemis:artemis on lib/$lib$:<- Generated input class ReviewInput.
[FINE] artemis:artemis on lib/$lib$:-> Input class
[FINE] artemis:artemis on lib/$lib$:┌ [][WishlistInput]
[FINE] artemis:artemis on lib/$lib$:|   [][WishlistInput][ClassName(name:r'Int') ClassPropertyName(name:r'product_id')] -> int
[FINE] artemis:artemis on lib/$lib$:└ [][WishlistInput]
[FINE] artemis:artemis on lib/$lib$:<- Generated input class WishlistInput.
[FINE] artemis:artemis on lib/$lib$:-> Input class
[FINE] artemis:artemis on lib/$lib$:┌ [][OrderByClause]
[FINE] artemis:artemis on lib/$lib$:|   [][OrderByClause][ClassName(name:r'String') ClassPropertyName(name:r'field')] -> String
[FINE] artemis:artemis on lib/$lib$:|   [][OrderByClause][ClassName(name:r'SortOrder') ClassPropertyName(name:r'order')] -> SortOrder
[FINE] artemis:artemis on lib/$lib$:└ [][OrderByClause]
[FINE] artemis:artemis on lib/$lib$:<- Generated input class OrderByClause.
[FINE] artemis:artemis on lib/$lib$:-> Enum
[FINE] artemis:artemis on lib/$lib$:<- Generated enum Trashed.
[FINE] artemis:artemis on lib/$lib$:-> Class
[FINE] artemis:artemis on lib/$lib$:┌ [TypeName(name:r'SignUp'), TypeName(name:r'Mutation')][Mutation][null null] ()
[FINE] artemis:artemis on lib/$lib$:|   [TypeName(name:r'SignUp'), TypeName(name:r'Mutation')][Mutation][ClassName(name:r'User') ClassPropertyName(name:r'register')] -> SignUp$Mutation$User
[FINE] artemis:artemis on lib/$lib$:|   -> Class
[FINE] artemis:artemis on lib/$lib$:|   ┌ [TypeName(name:r'SignUp'), TypeName(name:r'Mutation'), ClassName(name:r'User')][User][null null] ()
[FINE] artemis:artemis on lib/$lib$:|   |   [TypeName(name:r'SignUp'), TypeName(name:r'Mutation'), ClassName(name:r'User')][User][ClassName(name:r'ID') ClassPropertyName(name:r'id')] -> String
[FINE] artemis:artemis on lib/$lib$:|   |   [TypeName(name:r'SignUp'), TypeName(name:r'Mutation'), ClassName(name:r'User')][User][ClassName(name:r'String') ClassPropertyName(name:r'name')] -> String
[FINE] artemis:artemis on lib/$lib$:|   |   [TypeName(name:r'SignUp'), TypeName(name:r'Mutation'), ClassName(name:r'User')][User][ClassName(name:r'String') ClassPropertyName(name:r'email')] -> String
[FINE] artemis:artemis on lib/$lib$:|   |   [TypeName(name:r'SignUp'), TypeName(name:r'Mutation'), ClassName(name:r'User')][User][ClassName(name:r'String') ClassPropertyName(name:r'mobile')] -> String
[FINE] artemis:artemis on lib/$lib$:|   └ [TypeName(name:r'SignUp'), TypeName(name:r'Mutation'), ClassName(name:r'User')][User][null null] ()
[FINE] artemis:artemis on lib/$lib$:|   <- Generated class SignUp$Mutation$User.
[FINE] artemis:artemis on lib/$lib$:└ [TypeName(name:r'SignUp'), TypeName(name:r'Mutation')][Mutation][null null] ()
[FINE] artemis:artemis on lib/$lib$:<- Generated class SignUp$Mutation.
[FINE] artemis:artemis on lib/$lib$:-> Class
[FINE] artemis:artemis on lib/$lib$:┌ [TypeName(name:r'ResetPassword'), TypeName(name:r'Mutation')][Mutation][null null] ()
[FINE] artemis:artemis on lib/$lib$:|   [TypeName(name:r'ResetPassword'), TypeName(name:r'Mutation')][Mutation][ClassName(name:r'Boolean') ClassPropertyName(name:r'resetPassword')] -> bool
[FINE] artemis:artemis on lib/$lib$:└ [TypeName(name:r'ResetPassword'), TypeName(name:r'Mutation')][Mutation][null null] ()
[FINE] artemis:artemis on lib/$lib$:<- Generated class ResetPassword$Mutation.
[FINE] artemis:artemis on lib/$lib$:-> Class
[FINE] artemis:artemis on lib/$lib$:┌ [TypeName(name:r'Logout'), TypeName(name:r'Mutation')][Mutation][null null] ()
[FINE] artemis:artemis on lib/$lib$:|   [TypeName(name:r'Logout'), TypeName(name:r'Mutation')][Mutation][ClassName(name:r'Boolean') ClassPropertyName(name:r'logout')] -> bool
[FINE] artemis:artemis on lib/$lib$:└ [TypeName(name:r'Logout'), TypeName(name:r'Mutation')][Mutation][null null] ()
[FINE] artemis:artemis on lib/$lib$:<- Generated class Logout$Mutation.
[FINE] artemis:artemis on lib/$lib$:-> Class
[FINE] artemis:artemis on lib/$lib$:┌ [TypeName(name:r'ForgetPassword'), TypeName(name:r'Mutation')][Mutation][null null] ()
[FINE] artemis:artemis on lib/$lib$:|   [TypeName(name:r'ForgetPassword'), TypeName(name:r'Mutation')][Mutation][ClassName(name:r'Boolean') ClassPropertyName(name:r'forgetPassword')] -> bool
[FINE] artemis:artemis on lib/$lib$:└ [TypeName(name:r'ForgetPassword'), TypeName(name:r'Mutation')][Mutation][null null] ()
[FINE] artemis:artemis on lib/$lib$:<- Generated class ForgetPassword$Mutation.
[FINE] artemis:artemis on lib/$lib$:-> Class
[FINE] artemis:artemis on lib/$lib$:┌ [TypeName(name:r'SignIn'), TypeName(name:r'Mutation')][Mutation][null null] ()
[FINE] artemis:artemis on lib/$lib$:|   [TypeName(name:r'SignIn'), TypeName(name:r'Mutation')][Mutation][ClassName(name:r'AuthPayload') ClassPropertyName(name:r'login')] -> SignIn$Mutation$AuthPayload
[FINE] artemis:artemis on lib/$lib$:|   -> Class
[FINE] artemis:artemis on lib/$lib$:|   ┌ [TypeName(name:r'SignIn'), TypeName(name:r'Mutation'), ClassName(name:r'AuthPayload')][AuthPayload][null null] ()
[FINE] artemis:artemis on lib/$lib$:|   |   [TypeName(name:r'SignIn'), TypeName(name:r'Mutation'), ClassName(name:r'AuthPayload')][AuthPayload][ClassName(name:r'String') ClassPropertyName(name:r'access_token')] -> String
[FINE] artemis:artemis on lib/$lib$:|   |   [TypeName(name:r'SignIn'), TypeName(name:r'Mutation'), ClassName(name:r'AuthPayload')][AuthPayload][ClassName(name:r'String') ClassPropertyName(name:r'refresh_token')] -> String
[FINE] artemis:artemis on lib/$lib$:|   |   [TypeName(name:r'SignIn'), TypeName(name:r'Mutation'), ClassName(name:r'AuthPayload')][AuthPayload][ClassName(name:r'Int') ClassPropertyName(name:r'expires_in')] -> int
[FINE] artemis:artemis on lib/$lib$:|   |   [TypeName(name:r'SignIn'), TypeName(name:r'Mutation'), ClassName(name:r'AuthPayload')][AuthPayload][ClassName(name:r'String') ClassPropertyName(name:r'token_type')] -> String
[FINE] artemis:artemis on lib/$lib$:|   └ [TypeName(name:r'SignIn'), TypeName(name:r'Mutation'), ClassName(name:r'AuthPayload')][AuthPayload][null null] ()
[FINE] artemis:artemis on lib/$lib$:|   <- Generated class SignIn$Mutation$AuthPayload.
[FINE] artemis:artemis on lib/$lib$:└ [TypeName(name:r'SignIn'), TypeName(name:r'Mutation')][Mutation][null null] ()
[FINE] artemis:artemis on lib/$lib$:<- Generated class SignIn$Mutation.
[INFO] build_resolvers:Generating SDK summary...
[INFO] Heartbeat:6.1s elapsed, 1/3 actions completed.
[INFO] build_resolvers:Generating SDK summary completed, took 5.4s

[INFO] Heartbeat:7.2s elapsed, 1/3 actions completed.
[FINE] json_serializable:json_serializable on lib/generatedql/auth/graphql_api.dart:Running JsonSerializableGenerator - 1 of 2
[FINE] json_serializable:json_serializable on lib/generatedql/auth/graphql_api.dart:Running JsonLiteralGenerator - 2 of 2
[FINE] json_serializable:json_serializable on lib/generatedql/auth/graphql_api.graphql.dart:Running JsonSerializableGenerator - 1 of 2
[FINE] json_serializable:json_serializable on lib/generatedql/auth/graphql_api.graphql.dart:Running JsonLiteralGenerator - 2 of 2
[INFO] Build:Running build completed, took 9.1s

[INFO] Build:Caching finalized dependency graph...
[INFO] Build:Caching finalized dependency graph completed, took 114ms

[INFO] Build:Succeeded after 9.2s with 4 outputs (6 actions)

[+58955 ms] "flutter run" took 59,192ms.
[ +262 ms] ensureAnalyticsSent: 255ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 0

GraphQL schema:
type Mutation {
  login(input: LoginInput!): AuthPayload!
  register(input: RegisterInput!): User!
}

input LoginInput {
  email: String!
  password: String!
  device_token: String!
}

type AuthPayload {
  token_type: String
  expires_in: Int
  access_token: String
  refresh_token: String
}

GraphQL query:
mutation SignIn($email: String!, $password: String!,$deviceToken:String!){
    login(input: {email: $email, password: $password, device_token:$deviceToken }){
        access_token
        refresh_token
        expires_in
        token_type
    }
}

First of all - update to the latest beta)
There are a lot of bug fixes)

Could you clarify the use case?
Why do you need the custome” class name?

I am very sorry for the late reply
I want to change the names because sometimes it is too long
Is there a way to custom the name of class

You can present the selection set with Fragment and you'll get a class with name [FragmentNameMixin] it will be much shorter.

okay, I think this helps me a little, but now no way to custom class name, right?

Currently there is no way to customize class name. The “fragmentation” is the only way. As far as it ads only “Mixin” postfix overhead it works pretty good.
Actually we didn’t wanted to make such lo$oo$ng names. But in complex query sets the chance of name duplication with different selection set is pretty high.

You can also try a simple naming schema...
May be it will fit your needs even better.

Hey @vasilich6107, I want to change the name of the class so I can set it as a type that my widget accepts but it's too long, not very readable, and too specific. I wanted to handle it myself by creating another general class that includes only the fields that I care about but dart apparently doesn't work the same as typescript :/
here is the generated class:
// ...
@JsonSerializable(explicitToJson: true)
class Home$Query$LatestProducts$Product with EquatableMixin {
  Home$Query$LatestProducts$Product();

  factory Home$Query$LatestProducts$Product.fromJson(
          Map<String, dynamic> json) =>
      _$Home$Query$LatestProducts$ProductFromJson(json);

  String id;

  String name;

  double price;

  String image;

  Home$Query$LatestProducts$Product$Author author;

  List<Home$Query$LatestProducts$Product$Category> categories;

  @override
  List<Object> get props => [id, name, price, image, author, categories];
  Map<String, dynamic> toJson() =>
      _$Home$Query$LatestProducts$ProductToJson(this);
}
// ...

and there are many duplicates of this exact class in the generated code:
// ...
@JsonSerializable(explicitToJson: true)
class Home$Query$PaginatedCategoryResponse$Category$PaginatedProductResponse$Product
    with EquatableMixin {
  Home$Query$PaginatedCategoryResponse$Category$PaginatedProductResponse$Product();

  factory Home$Query$PaginatedCategoryResponse$Category$PaginatedProductResponse$Product.fromJson(
          Map<String, dynamic> json) =>
      _$Home$Query$PaginatedCategoryResponse$Category$PaginatedProductResponse$ProductFromJson(
          json);

  String id;

  String name;

  double price;

  String image;

  Home$Query$PaginatedCategoryResponse$Category$PaginatedProductResponse$Product$Author
      author;

  List<Home$Query$PaginatedCategoryResponse$Category$PaginatedProductResponse$Product$Category>
      categories;

  @override
  List<Object> get props => [id, name, price, image, author, categories];
  Map<String, dynamic> toJson() =>
      _$Home$Query$PaginatedCategoryResponse$Category$PaginatedProductResponse$ProductToJson(
          this);
}
// ...

And all I want is to accept a simple list of products in my widget like so:
// ...
class ProductsRow extends StatelessWidget {
  const ProductsRow({Key key, @required this.title, @required this.items})
      : assert(title != null && items != null),
        super(key: key);

  final String title;
  final List<Product> items;

  @override
  Widget build(BuildContext context) {
    return Column(
      children: [
        Text(title),
        ListView.builder(
          itemCount: items.length,
          itemBuilder: (context, index) {
            return Text(items[index].name);
          },
        ),
      ],
    );
  }
}

So I created this general-purpose abstract class with just the fields that I care about
// ...
abstract class Product {
  String id;
  String name;
}

but the issue is that I get a type mismatch even though they're the same fields that are contained in the previous classes.
It would be great to change the generated class name or even extend some other class or something.

@msal4 split your query into fragments.
Every fragment will get its own mixin FragmentNameMixin and you'll be able to use it in your class as type

@msal4 you must have solved this already, but you could also create a Product wrapper which forwards get / set calls to the generated classes.
But honestly that & the Fragment ideas seem unnatural.  I like the idea of custom class types.  That the artemis framework knows how to map into / out of.

@formvoltron i agree with your opinion. can i get some example for wrapping generated classes? thanks

@formvoltron I split my query into fragments as @vasilich6107 suggested they worked pretty well but I'm curious about your idea it would be nice if you shared a code snippet or a link to get an idea of how it would be implemented

class Post extends GetPosts$Query$PostWithPagination$Post {}
this is the way i did. seems work?

I was thinking about using encapsulation. so:
class Post {
GetPosts$Query$PostWithPagination$Post _genPost;
String get post { _getPost.post }
}
Like that... but that gets pretty boring writing those & so maybe this class could even be generated.
I'm going to skip all of this & just use json_serializable on my model classes & write some code to generate them based on responses from the server code.

@formvoltron @OdysseyJ @BeshoyMelika
Dart 2.13 released support of type aliases.
This possibly could help you in solving your issue


Auto-Switching QR-Code Display

As plenty of restaurants, pubs etc have TV's or similar displays, would there be a chance to create an "CWA QR-Code display-app" that automatically iterates through a number of codes to prevent the aforementioned attacks?
Originally posted by @KST1810 in https://github.com/corona-warn-app/cwa-wishlist/issues/399#issuecomment-808516326
On the note of creating QR-Codes and iterating through several of them to prevent profiling attacks:
We could create a simple QR-Code Display app that's optimized for android TV and tablets which is able to iterate through these codes. This enhances the usability and user friendliness for the venues as the managers will no longer need to print out sheets of paper displaying these codes.

Internal Tracking ID: EXPOSUREAPP-6087

Just FYI, the app itself (building it locally) shows this reg. the switching of QR-Codes:

So this display shouldn't change the code every 1 hour or so but only once a day.

@KST1810 Thank you for your suggestion. We created an internal ticket. Any news on this issue will be published here.

Corona-Warn-App Open Source Team

To completely prevent people from e.g. photographing and tweeting QR-Codes (see janboehm on twitter) they would have to be renewed after every scan. This is not trivial however because it would require a privacy preserving backend that keeps track of scanned codes. But expiring the code every few seconds could already mitigate the problem.

@pkreissel
I saw the tweets from Jan Böhmermann on Twitter (and also commented below one).
I think for CWA it should be enough if venue owners change the code once a day, because:

According to the documented threads - targeting specific venues, "CWA only allows a certain number of check-ins per day."
1.1 So if somebody want's to target venues in a noticeable scale, he needs more than one device running CWA (and he needs a positive result on more than one device, see point 2)

To warn other people via the Corona-Warn-App, you need to register a positive test result. This is only possible thorough either a QR-Code linked to a positive test result, this can only be obtained if somebody really is tested positive, or via a TAN requested from the Verification hotline
2.1 The TeleTAN IHMO is the way an attacker would go, it's too hard to somehow get "positive QR-Codes".
2.2 If somebody obtains a TeleTAN without having a positive test result, he/she already now is able to send out false positive warnings.

The CWA system can't be "DDOS"sed by faking many check-ins.
3.1 The luca app only hands the contacts of a positive tested over to the health authority, they then alert the contacts.
If there was an event, which has been "DDOS"sed by many fake check-ins, luca tells the health authority that there were, for example, 10.000 people with you in this little restaurant.
The health authority now would have to identify who really was there or warn all or no contacts.
3.2 The CWA works different. Even if there were 10.000 users checked-in with you at the same time (because somebody faked check-ins), all these 10.000 users can be notified, since the system is fully automatic.
Thus, also your real contacts would be notified from CWA in such a "fake check-in" scenario.

For sure, the from you described way is even safer, but as you said that would need a backend which keeps track of the QR-Codes (which belong to which event).
If the QR-Code would only change after it was scanned, I also see one disadvantage:
The check-in would no longer work without internet connection, because the app would need to tell the server that the QR-Code has to be changed because somebody checked-in with it.

What's about dynamcaly generated qr codes on e.g. TV-Screens, wich are only valid for f.e. 5min. See #442

@Ein-Tim

The check-in would no longer work without internet connection, because the app would need to tell the server that the QR-Code has to be changed because somebody checked-in with it.

Not  necessarily: One could imagine i.e. that in the morning (or day before) the host of an event create a set of QR codes and the transfers this the tablet/screen with the "display-app".

@dsarkar
Yeah right, but @pkreissel talked about a automatic switch of the QR-Code after it was scanned.
This would only be possible with internet connection, or am I missing something here?

The host needs to know, that the code was scanned, but this could be done without internet connection, f.e. like I proposed with scanning a qr code by the host from the clients device.

Actually, the current implementation on https://www.coronawarn.app/en/eventregistration/ comes somewhat close to this proposal, with the difference that it is not "auto"-switching, but the create button has to be pressed whenever desired.
Nice-to have additionally:

"show QR code full screen"-button
and an "renew QR code / create QR code"-button next to the QR code

There's a big difference I think, cause in this implementation, if you change the code, there's no warning between the two codes.


ReadCodes error

Loading codes from data/processed/XLM_en_zh/50k/codes ...
fast: fastBPE/fastBPE.hpp:458: void fastBPE::readCodes(const char*, std::unordered_map<std::pair<std::basic_string, std::basic_string >, unsigned int, fastBPE::pair_hash>&, std::unordered_map<std::basic_string, std::pair<std::basic_string, std::basic_string > >&): Assertion `codes.find(pair) == codes.end()' failed.
kev123456  said    (https://github.com/glample/fastBPE/issues/7#issue-404186789)
Delete extra “o o 0” line in codes files.
I did this but
Sorry, there is still the same mistake.
what should I do?

if nCodes is wrongly chosen there will be errors when 'applybpe'.  How to choose this number? What exactly is it used for? I don't know. But lowering it solves the problem (choose a low value to see).

The problem is that, your 50K/codes file has some repeated entry.
A more common error is when you end up splitting same thing in 2 different ways, like you make 2 BPE code files; English and German, and in one "ant" is split as
a nt
and in the other it is split as
an t.
Now when you join these 2 BPE files, trouble will happen. Following error will come :
Assertion `reverse_codes.find(pair) == reverse_codes.end()' failed.
I have written a script to solve both of these, here . Feel free to checkout.


feat: unit place selector search filter parameter

PT-1733 PT-1743.
The unit place selector now uses a schools and kindergaratens list query with search-filter-parameter, since the API has changed the data source and the service now supports using it. So instead of always loading everything to memory, the client now requests a new options everytime when the search input changes.
NOTE: Needs https://github.com/City-of-Helsinki/palvelutarjotin/pull/350 as a dependency.

kultus-ui branch is deployed to platta: https://kultus-ui-pr318.dev.hel.ninja :rocket::rocket::rocket:

kultus-ui branch is deployed to platta: https://kultus-ui-pr318.dev.hel.ninja :rocket::rocket::rocket:

kultus-ui branch is deployed to platta: https://kultus-ui-pr318.dev.hel.ninja :rocket::rocket::rocket:


Xcode 6.3 Beta

XVim does not work on the latest Xcode 6.3 Beta for me. Compiles fine but runs in to the following error at runtime.
2015-02-09 12:03:24.465 Xcode[28138:2648581] [MT] DVTAssertions: UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Extension Xcode.IDEKit.CmdHandler.DebugSessionStressTest class 'DBGDebugMenuController' not found for required key 'handlerClass'
UserInfo: {
    DVTExtensionClassNameErrorKey = DBGDebugMenuController;
    DVTExtensionIdentifierErrorKey = "Xcode.IDEKit.CmdHandler.DebugSessionStressTest";
    DVTPlugInExecutablePathErrorKey = "/Applications/Xcode.app/Contents/PlugIns/DebuggerUI.ideplugin";
    DVTPlugInIdentifierErrorKey = "com.apple.dt.dbg.DebuggerUI";
}
Hints: None
2015-02-09 12:03:24.559 Xcode[28138:2648581] [MT] DVTAssertions:
Backtrace:
  0  0x00007fff97ffb634 __exceptionPreprocess (in CoreFoundation)
  1  0x00000001001ea084 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
  2  0x00007fff94f396de objc_exception_throw (in libobjc.A.dylib)
  3  0x000000010004e3d9 -[DVTExtension _adjustClassAttribute:forKey:inParameterData:] (in DVTFoundation)
  4  0x000000010004defd -[DVTExtension _adjustClassReferencesInParameterData:usingSchema:] (in DVTFoundation)
  5  0x00000001000d1256 -[DVTExtension _fireExtensionFault:] (in DVTFoundation)
  6  0x00000001000d0bb5 __63-[DVTExtension _valueForKey:inParameterData:usingSchema:error:]_block_invoke (in DVTFoundation)
  7  0x0000000102022d43 _dispatch_client_callout (in libdispatch.dylib)
  8  0x00000001020240b1 _dispatch_barrier_sync_f_invoke (in libdispatch.dylib)
  9  0x00000001002217fd DVTDispatchBarrierSync (in DVTFoundation)
 10  0x0000000100020354 -[DVTDispatchLock performLockedBlock:] (in DVTFoundation)
 11  0x00000001000d0991 -[DVTExtension _valueForKey:inParameterData:usingSchema:error:] (in DVTFoundation)
 12  0x00000001000d0d86 -[DVTExtension valueForKey:error:] (in DVTFoundation)
 13  0x000000010146a6cf __55+[IDECommandManager cacheCommandDefinitionsAndHandlers]_block_invoke (in IDEKit)
 14  0x0000000102022d43 _dispatch_client_callout (in libdispatch.dylib)
 15  0x0000000102022d2e dispatch_once_f (in libdispatch.dylib)
 16  0x0000000101227d00 +[IDECommandManager cacheCommandDefinitionsAndHandlers] (in IDEKit)
 17  0x00000001012272f2 -[IDEApplicationController applicationWillFinishLaunching:] (in IDEKit)
 18  0x00007fff97fb7cbc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ (in CoreFoundation)
 19  0x00007fff97ea91b4 _CFXNotificationPost (in CoreFoundation)
 20  0x00007fff8dbc4ea1 -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation)
 21  0x00000001001c9303 -[NSNotificationCenter(DVTNSNotificationCenterAdditions) _dvt_postNotificationName:object:userInfo:] (in DVTFoundation)
 22  0x00007fff8e025187 -[NSApplication finishLaunching] (in AppKit)
 23  0x000000010075f572 -[DVTApplication finishLaunching] (in DVTKit)
 24  0x00007fff8e024c51 -[NSApplication run] (in AppKit)
 25  0x00007fff8e0102d4 NSApplicationMain (in AppKit)
 26  0x00007fff9bb3f5c9 start (in libdyld.dylib)
 27  0x0000000000000003

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

$ make builds successfully on my OS X Yosemite. But XVim does not work after Xcode 6.3 Beta restarts.

@deanchen
Are you trying to run Xcode from Xcode? (Did you "Run" Xcode from Xcode?)
It's not the way you should do when using XVim. Build XVim and Restart your Xcode (Kill the process completely and restart)
(Or you can see my last comment at #628 )
@XiaonuoGantan
Is your problem same as @deanchen mentioned? If so you can solve it by following my comment above.
If not let me know.

I've pulled latest master, make, seems to build fine and XVim is placed in plugins folder. The XVim menu item doesn't appear in xcode6.3-beta and there is no xvim functionality.

The UDID solution worked for me thanks! If people want, I can submit a pull request.

That worked, thanks!

Works for me as well. Thanks!


[C-1359] Activities Report: Activities by Platform bar doesn't take 100% width

problem:
in the Activities Report, when selecting 7d/14d/30d/3m the horizontal bar shows like this:

expected behavior:
the vertical bar should take 100% width (see below)

From SyncLinear.com | C-1359

This issue should be fixed


378 test queue parameter

Thank you @RamonAra209!
There are some type and linting errors that should be fixed.


Partition Manager - Sub-partition improvements

Add two new partition manager keywords:

'inside': (inversion of 'span') Place this partition inside the span of the referenced partition.
'inherit_size': (more flexible version of 'sub_partitions') Make this partition the same size as the referenced partition.

Both keywords take a list. The list works the same as for e.g 'after' where the first partition in the list that can be found in the project is selected.
Also added:

Support for nested sub-partitions.
Asserts on the tests, so they become "automatic".
"Pretty" printing of partition address and size.

Related PRs:

https://github.com/NordicPlayground/fw-nrfconnect-mcuboot/pull/32
https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/705

Found the following issues, please fix and resubmit:
Codeowners issues
New files added that are not covered in CODEOWNERS:

scripts/partition_manager_report.py

Please add one or more entries in the CODEOWNERS file to cover those files

Changes in the last push:

Split into more commits.
Move printing into its own file and run it when running ninja rom_report.
partition_manager now writes an output YAML file which contains the merged contents of all pm.ymls as well as the addresses and sizes they were given. This file is parsed by the report printing script.
Some small refactoring in the file generation code.

Missing sauce tags

Done. Also squashed, as discussed.


Generate Cluster Configs - missing clusters/clusters.yaml

I think I miss something here. for example the gce-asia-east1 portion:
sed -i "s|SERVER_ADDRESS|${serverAddress}|g" clusters/gce-asia-east1.yaml
Should I have a sub directory clusters generated after the Get credentials section or else?
I don't have such so the sed can't work. Also, the sed command seems strange but I guess all we need is to insert the server address in the missing yaml.
What did I miss?
BTW thanks for the detailed writeup!

Ok I got it. Just missed the cluster directory I need to add.


Add react-native exmaples of working with brain.js

brain.js React Native Example

Description
Adding example react native project that works with offline trained model.
Motivation and Context
Request for examples below.
issue
How Has This Been Tested?
N/A these changes are not changing the library.
Screenshots (if appropriate):

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Author's Checklist:

[ ] My code focuses on the main motivation and avoids scope creep.
[ ] My code passes current tests and adds new tests where possible.
[ ] My code is SOLID and DRY.
[ X] I have updated the documentation as needed.

Reviewer's Checklist:

[ ] I kept my comments to the author positive, specific, and productive.
[ ] I tested the code and didn't find any new problems.
[ ] I think the motivation is good for the project.
[ ] I think the code works to satisfies the motivation.

What if we opened a new project under BrainJS foundation, and merged this there so this can be reused and as well used as a platform for other react components?

Yeah that would be fine

To hasten the acceptance: https://github.com/BrainJS/ReactNative
While this is fantastic work, one of the items we'd really like to aim for is neural networks that are simple enough for kids to use.  That being said, would it be possible to get a rated G version of the classifier?

Understood, I'll re-train and republish to the newly created ReactNative area of the repo. It's a public holiday here in Canberra Australia so later today I'll push the changes.


nodeexporter container should utilize "host" networking driver to also collect host level network metrics

Right now nodeexporter and other containers as part of this deployment utilize bridge network driver.
Even though / host file system is mounted into this container, network interface metrics will only be collected for the nodeexporter container and not for host.
The reason for that is that /proc/net -> self/net is a symlink which gets resolved to self/net inside the container which means only container metrics will be retrieved.
To also collect metrics for other host interfaces, the easiest approach is to change network type to host:
  nodeexporter:
    image: prom/node-exporter:v1.3.0
    container_name: nodeexporter
    volumes:
      - /proc:/host/proc:ro
      - /sys:/host/sys:ro
...
    restart: unless-stopped
    expose:
      - 9100
    ports:
      - <IP_ADDRESS>:9100:9100
    # We run it in host network mode so we get access to metrics for all the
    # interfaces
    network_mode: host

And then prometheus config also needs to be updated to utilize internal IP for the nodeexporter target.
For example:
scrape_configs:
  - job_name: 'nodeexporter'
    scrape_interval: 30s
    static_configs:
      #- targets: ['nodeexporter:9100']
      # If network_mode host is used for node exporter, we need to use host
      # internal IP
      - targets: ['<IP_ADDRESS>:9100']

If there are no objections, I will open a PR which explains this in the readme.

That's what https://github.com/stefanprodan/dockprom/blob/master/docker-compose.exporters.yml is for.
Happy for you to PR an explanation and referring to that file in the README though.

That file isn't even mentioned in the Readme. I suppose we should use the contents of that file instead, for those 2 containers?

The whole point of this issue and discussion was regarding updating the README.
You can use the extend syntax, replace the networking mode in the main docker-compose.yml or override/pull in the docker-compose.exporters.yml.
There's not just a single way to achieve this outcome.

@nightah thanks I didn't know about using multiple compose files! But I will stick with one for now :)
But the exporters.yml doe not contain this part below, without this, since nodeexporter and cadvisor are not in the same docker network as Prometheus, isn't this required?

And then prometheus config also needs to be updated to utilize internal IP for the nodeexporter target.
For example:
scrape_configs:
  - job_name: 'nodeexporter'
    scrape_interval: 30s
    static_configs:
      #- targets: ['nodeexporter:9100']
      # If network_mode host is used for node exporter, we need to use host
      # internal IP
      - targets: ['<IP_ADDRESS>:9100']

If there are no objections, I will open a PR which explains this in the readme.

Yes that's right if you plan to use the other Dockerfile you will need to also adjust your Prometheus configuration to point to the host to capture metrics.


test: improve test coverage of Google Maps adapter

Improve Test coverage of Google Maps Adapter
Add more tests for the Google Maps adapter. With these changes, coverage by statements and by lines are now just over 80% for the Google Maps adapter.
Closes #88
Details
Note that these changes add JSDOM to enable DOM emulation for the tests. This was the simplest way to get the tests up and running for this adapter. For now I've only enabled the JSDOM environment for the Google Maps adapter (via the @jest-environment directive in the docblock ), so the environment remains the same (still node) for the other modules.
In addition to JSDOM, I also considered Happy DOM, which worked just fine on a functional level, but wasn't consistently faster during casual testing (no real performance testing done).1 Nonetheless, it wouldn't be hard to add it later on - just install the @happy-dom/jest-environment package, and specify it as the @jest-environment at the top of the file)
Verification
The changes themselves are either tests, or minor refactorings to make the library code more testable, and all tests are passing.
Beyond that, I set up a Google Maps API key, added it to the local .env file, and briefly clicked through the Terra Draw Google Maps instance locally. I was able to add & remove shapes and anotations without errors:

1 - Casual observation demonstrated similarly large variance with both JSDOM and Happy DOM, likely more tied to the number of background processes that happened to be running on my development machine than anything else.

@JamesLMilner I verified these changes in the dev instance locally, and have added details on my verification steps to description, so these changes should now be ready to review.

Amazing work, this looks good to go! I would just make one small request which is if you would kindly perhaps condense this down to one commit? i.e. test: improve test coverage of Google Maps adapter - this just helps make the commit history a bit cleaner as it drives the change log.

done


[ENH] save/load functionality for models

It would be useful to have save/load functionality for models, e.g., as a method with a primary preferred mode.
A way to implement this could be a save method that BaseEstimator has, similar to keras.save, which saves and/or returns (parameter dependent) a pickle.
"Ordinary" estimators would have the pickle default in save, which can be overridden by specific functionality, e.g., in BaseCNNClassifier, for neural networks.
The counterpart would be a load method - in each given module root, e.g., from sktime.classification import load.
Usage:
# session 1 - building/fitting an estimator
stuff
my_estimator.fit(data)
stuff
my_estimator.save(hd_location) # saves fitted estimator

# session 2 - retrieving/loading estimator
from sktime.classification import load

my_estimator = load(hd_location)

Hey,
Can I take it since no one seems to be claiming it?, hope its fine!

of course, @AurumnPegasus, thanks!
If you think it´s a good idea to implement this?

I think so, went through a bit of documentation related to it and here are my findings:
Sources: official documentation, stack overflow answer

We need to create either a __get_state__ or __set_state__  (ideally, this will be done in the BaseEstimator class as you have mentioned). Only issue is whether to use this, or __reduce__. I will try to understand the difference a bit better before commenting on it.
It introduces a simple overwriting for DL models (which will be consistent for all DL models) and hence we would have a save/load functionality (which can be used for transfer learning purposes as well later on) and we wont have to ignore the pickle tests like we are currently doing

I´m not sure whether I get this. Could you kindly be more explicit which classes would have which methods, and what they would do?

Okay so:
Currently none of the classes have any method which I propose to introduce.
I am proposing to introduce a save functionality in BaseEstimator class (as discussed above)
For this, we need to introduce either __get_state__ and __set_state__ OR __reduce__ methods in BaseEstimator class.
These functions are used to pickle a class's object.
An example from stack overflow of how it is used:
class Foo(object):
  def __init__(self, val=2):
     self.val = val
  def __getstate__(self):
     print("I'm being pickled")
     self.val *= 2
     return self.__dict__
  def __setstate__(self, d):
     print("I'm being unpickled with these values: " + repr(d))
     self.__dict__ = d
     self.val *= 3

import pickle
f = Foo()
f_data = pickle.dumps(f)
f_new = pickle.loads(f_data)

We will overwrite this in BaseDeepClassifier (and other DL models) to save the DL models using keras.save instead


Can't get url list file to work

When i try to get wig to parse i file with links it fails.
Command:
python3 wig.py -l sites.txt

I get this error mesage
Traceback (most recent call last):
  File "wig.py", line 383, in <module>
    wig = Wig(args)
  File "wig.py", line 62, in __init__
    'url': args.url.lower(),
AttributeError: 'NoneType' object has no attribute 'lower'

Using wig for singular url work fine
python3 wig.py domain.com

I have tried url's with and without http/www
My environment
Ubuntu 12.04
editor NANO
Both python 2.7.3 and python3.2.3 installed
sites.txt --> file permission 777
wig git pull --> up to date
I have used url from list before

Hi trond7,
Thanks for the bug report!
I just pushed a fix for the issue - could you please test it and report back if it works for you ?

Hi jekyc,
Tanks for the lightning fast respons.
It works fine now.
Keep up the good work.
Wig is a really nice tool

Hi trond7,
Thanks for the kind words, and I'm glad that the fix worked.
I'll close the issue.

jekyc


How about to update this starter kit with Gatsby 2?

Thank you ;)

Thanks for the reminder @nikbelikov. I'll update it asap.  :)
Cheers

Startersite is now upgraded to Gatsby 2


test/pod: save test-pod logs to file

[skip ci]
ref: #1640
Open to any opinions on making the logfile name/location configurable.

We need to save the "test pod's logs" as well.

@hongchaodeng can you please clarify. This is saving only the test pod's logs.
run-test-pod runs the test pod and prints out its logs to the screen. Now it saves it to a file as well.

This is saving only the test pod's logs.

No. It's not. Test pod's log is:
kubectl logs test-pod

Sorry My mistake.. It's saving the test log now.

OK. LGTM

lgtm

As a follow-up, can you save operators' logs too?

@hongchaodeng I can try adding that but I suspect that might introduce concurrency in the bash script in trying to get the logs of multiple pods before they are removed.

Let's add that into umbrella issue :)


doc: Remove "Changes from Version 1 Kernel" document

doc/kernel/overview/changes.rst contains information about changes from kernel release 1.5 ("Version 1 Kernel") to the combined "Version 2 Kernel".  It's probably time to remove this from the v1.10 documentation set (it remains in the doc archives) and TOC.

yes, we can remove it.


FlowRouter?

The docs only refer to IronRouter. Does this package also work with FlowRouter? I assume that, since both packages are from the same developer. But I'm not really sure. So it would be helpful if the docs mentioned FR as well (or state that it does not work).

Check this: https://kadira.io/academy/meteor-routing-guide/content/subscriptions-and-data-management/using-subs-manager

Thanks!


Fix yaml indentations in secret.md

This is a revert action.
Some indentations in YAML were occasionally changed by certain script in #41137, which seems inconsistent with using pod and YAML conventions.
See preview please.

The current indentation is valid, so no need to fix.
The problem is about whether additional two spaces are needed for list items.
This is a personal preference thing rather than a YAML spec issue.
I'd vote for the current indentation over the proposed one because it looks much cleaner to me.

ok, all right. Then this can be closed.
/close


New VPN User. MacOS 10.13.6 Stuck on the Top Up screen [bug]

Describe the bug
I am not able to get past the Top Up / Enter Referral Code screen. I've topped up twice (each time $3.99) using crypto (receipts provided to Isaac on<EMAIL_ADDRESS>thinking that the payment didn't go through. Then I uninstalled and reinstalled the software. Still no luck.
To Reproduce
Steps to reproduce the behavior:

Download MysteriumVPN-10.12.4-universal.dmg from the https://www.mysteriumvpn.com/download

Double click MysteriumVPN-10.12.4-universal.dmg

In the window that opens drag the Mysterium file to Applications. Wait until it copies.

Run Mysterium VPN

Go through the series of welcome screens

Arrive at the Your Wallet screen

There's no sign of 2x$3.99 that I paid and I can't get to the next screen to register.

Expected behavior
See $7.98 in the wallet and be able to use the VPN.
Logs
Screenshots
See attached.
Desktop (please complete the following information):

MacOS 10.13.6
Mysterium VPN App 10.12.4

Additional context

same thing on windows for me

Honestly what is this project? It seems like nothing ever gets fixed.

Same here... still not fixed

Please download newest app version manually instead, it should work then:https://github.com/mysteriumnetwork/mysterium-vpn-desktop/releases/


Create Splash screen

https://www.figma.com/file/eR9WSsPKudnuIjvHud8REF/Star-Book?node-id=497%3A1291&t=kx5c3AJmpet29cX8-0

not native

Code pushed #316


Build broken on Mac/OSX

To reproduce, use a Mac:
BUILD_WITH_CONTAINER=0 make istioctl

ISTIO_OUT=/Users/snible/go/src/istio.io/istio/out/darwin_amd64 ISTIO_BIN=/Users/snible/go/bin GOOS_LOCAL=darwin bin/retry.sh SSL_ERROR_SYSCALL bin/init.sh
script: illegal option -- -
usage: script [-adkpqr] [-t time] [file [command ...]]
Unexpected failure

The problem seems to be that OSX uses BSD-style script, but Istio expects GNU-style script.  It looks like this started a month ago, with https://github.com/istio/istio/commit/10540330579e5db4ce0011ba5c0ea3e90da83a56#diff-83635019e8ef09ebacebca4fac44b290c12790bd98c35380541fc99805c45c4fR39 which added script for the first time.
I first looked for an OSX Mac work-around, but I can't find a way to replace the built-in script with a GNU-style script.  For now my work-around is to leave off BUILD_WITH_CONTAINER=0 (but of course that slows down my builds).
FYI git bisect run bash -c make istioctl` doesn't report the commit that introduced the problem, perhaps because of caching or lack of need to retry something.
FYI @howardjohn

https://github.com/istio/istio/pull/33172

Note that the build is not broken as the build uses a build container and as you note that does work.

I believe this is now fixed.

@esnible can you please confirm and if it is fixed, can you close it?

Closing as fixed. Please re-open if you still see the issue.


Database migrations error

Hey there,
Anyone knows how to deal with the migrations error?
@calcom/prisma:post-install: Prisma schema loaded from schema.prisma @calcom/prisma:db-deploy: Prisma schema loaded from schema.prisma @calcom/prisma:db-deploy: Datasource "db": PostgreSQL database "calendso", schema "public" at "database:5432" @calcom/prisma:db-deploy:  @calcom/prisma:db-deploy: 114 migrations found in prisma/migrations @calcom/prisma:db-deploy:  @calcom/prisma:db-deploy: Error: P3009 @calcom/prisma:db-deploy:  @calcom/prisma:db-deploy: migrate found failed migrations in the target database, new migrations will not be applied. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve @calcom/prisma:db-deploy: The<PHONE_NUMBER>0334_adds_missing_oncascades` migration started at 2022-07-22 00:45:36.162648 UTC failed
@calcom/prisma:db-deploy:
@calcom/prisma:db-deploy:
@calcom/prisma:db-deploy: error Command failed with exit code 1.
@calcom/prisma:db-deploy: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@calcom/prisma:db-deploy: error Command failed with exit code 1.
@calcom/prisma:db-deploy: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@calcom/prisma:db-deploy: ERROR: command finished with error: command (packages/prisma) yarn run db-deploy exited (1)
@calcom/embed-snippet:build: cache miss, executing 780b246fb816ab16
@calcom/embed-react:build: cache miss, executing 4ec764ec469d46e1
command (packages/prisma) yarn run db-deploy exited (1)
Tasks:    1 successful, 2 total
Cached:    0 cached, 2 total
Time:    4.067s
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1 error occurred:
* Status: The command '/bin/sh -c yarn build' returned a non-zero code: 1, Code: 1
`

I am observing the exact same error

That's a pretty extensive migration, you may need to debug this by running the packages manually and not in the container.
This shouldn't be related to the container but the latest calcom versions. Can you open up an issue in the core cal.com repository?

It seems this migration was added out of order. I ran into the same issue. The reason for this is that the migration<PHONE_NUMBER>5322_destination_calendar_one_to_many_bookings already ran which removes the bookingId column from the DestinationCalendar.
Just run the migration without the conflicting line and mark the migration as successful:
-- DropForeignKey
ALTER TABLE "DestinationCalendar" DROP CONSTRAINT IF EXISTS "DestinationCalendar_bookingId_fkey";

-- DropForeignKey
ALTER TABLE "DestinationCalendar" DROP CONSTRAINT "DestinationCalendar_eventTypeId_fkey";

-- DropForeignKey
ALTER TABLE "DestinationCalendar" DROP CONSTRAINT "DestinationCalendar_userId_fkey";

-- DropForeignKey
ALTER TABLE "EventType" DROP CONSTRAINT "EventType_teamId_fkey";

-- DropForeignKey
ALTER TABLE "EventType" DROP CONSTRAINT "EventType_userId_fkey";

-- DropForeignKey
ALTER TABLE "EventTypeCustomInput" DROP CONSTRAINT "EventTypeCustomInput_eventTypeId_fkey";

-- DropForeignKey
ALTER TABLE "Membership" DROP CONSTRAINT "Membership_teamId_fkey";

-- AddForeignKey
ALTER TABLE "EventType" ADD CONSTRAINT "EventType_userId_fkey" FOREIGN KEY ("userId") REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE;

-- AddForeignKey
ALTER TABLE "EventType" ADD CONSTRAINT "EventType_teamId_fkey" FOREIGN KEY ("teamId") REFERENCES "Team"("id") ON DELETE CASCADE ON UPDATE CASCADE;

-- AddForeignKey
ALTER TABLE "DestinationCalendar" ADD CONSTRAINT "DestinationCalendar_eventTypeId_fkey" FOREIGN KEY ("eventTypeId") REFERENCES "EventType"("id") ON DELETE CASCADE ON UPDATE CASCADE;

-- AddForeignKey
ALTER TABLE "DestinationCalendar" ADD CONSTRAINT "DestinationCalendar_userId_fkey" FOREIGN KEY ("userId") REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE;

-- AddForeignKey
-- ALTER TABLE "DestinationCalendar" ADD CONSTRAINT "DestinationCalendar_bookingId_fkey" FOREIGN KEY ("bookingId") REFERENCES "Booking"("id") ON DELETE CASCADE ON UPDATE CASCADE;

-- AddForeignKey
ALTER TABLE "Membership" ADD CONSTRAINT "Membership_teamId_fkey" FOREIGN KEY ("teamId") REFERENCES "Team"("id") ON DELETE CASCADE ON UPDATE CASCADE;

-- AddForeignKey
ALTER TABLE "EventTypeCustomInput" ADD CONSTRAINT "EventTypeCustomInput_eventTypeId_fkey" FOREIGN KEY ("eventTypeId") REFERENCES "EventType"("id") ON DELETE CASCADE ON UPDATE CASCADE;

-- Mark as ok
UPDATE _prisma_migrations SET finished_at = '2022-08-03 18:21:46.411971+00', applied_steps_count = 1 where migration_name = '20220628190334_adds_missing_oncascades';

@krumware any ideas?

How can we stop migration and start from the scratch?
Because we are not using Calcom but we can't update it because of migration on post-install errors.
Thanks :)

Hi @satoshinotdead I'm unsure what you're asking. Can you rephrase?
If you want to start fresh, you can specify a new database. The migrations will run again and are necessary to create the proper schemas.


(maint) Remove errant console.log

Remove errant console.log

Doesn't removing this remove the output in the Debug console when launching the extensionhost debugger?

Kind of....it should probably be going through the logger not console.log

Fixed.  Now running through the logger.


Header capitalization phase 2

Overview
Our documentation guidelines recommend using sentence case for headlines, something our docs currently do inconsistently. This is phase 2 of #6893  (I broke them up so it isn't 100+ files all at once) to fix up our headers.
NOTE: These PRs are only intended to update headers. Some non-header casing changes may have made their way in, but I'm trying to split these changes into more reviewable chunks.

/azp run mrtk_docs


How to create payment form using custom desiging

Hi,
I want to create my own payment form and it contains (card number, exp month/year, cvv) with my own css. But I don't understand what should be the field name for card number etc and where this data get submitted I want my payment form should look like this https://prnt.sc/uzafjs
I am using the card web payin
Please let me know how can I acheive this because there is no much information is given in API doc
Thank you

Hi @kapil191,
For card web pay you https://docs.mangopay.com/endpoints/v2.01/payins#e269_create-a-card-web-payin
will be redirected to a hosted payment page
You can customize use the following parameter TemplateURLOptions

To avoid this you can, 'register a card' and process a payment using this card
https://docs.mangopay.com/endpoints/v2.01/cards#e178_create-a-card-registration
then
https://docs.mangopay.com/endpoints/v2.01/payins#e278_create-a-card-direct-payin

Please refer to doc for more info
Cheers,
Max


Failed backends after Trident volumes were moved across aggregate

Describe the bug
A part of an ontap cluster upgrade,   trident volumes created under backends of type ontap-nas-economy were moved to new aggregates.  Their backends are now in failed state and many PVs are in Terminating state although their PVCs are still bound.
New backends were created for these new aggr but obviously Trident is now confused to find existing PVs
Is there a way to update some trident CR to get back to a normal state ?
Environment
Provide accurate information about the environment to help us reproduce the issue.

Trident version: 20.07.1
Trident installation flags used: Using the operator
Container runtime: Docker 19.3.12
Kubernetes version: 1.19.2
Kubernetes orchestrator: none (kubeadm)
Kubernetes enabled feature gates: [e.g. CSINodeInfo]
OS: Centos 7.7
NetApp backend types: ONTAP AFF 9.7p9
Other:

To Reproduce
Use vol move on a trident managed volume
Expected behavior
Good question !   Storage admins expects all volumes can be migrated any time, so if there a preperation steps to allow this Trident admins need to know.
Additional context

I should have put additional context about the backends... to minimise indirect netapp node traffic,  we create a backend for each node home lif and we are explicit about the aggregate to use so we always hit the home node of aggregates.   The volumes tho were moved across aggregates and netapp nodes (because they needed to go offline in this migration)

Is there any update on this ?
Our Storage Team recently did a Aggregate Migration and the PVC's are not binding now throwing errors pointing to older aggregates
Generated from csi.trident.netapp.io_trident-csi
13 times in the last 25 minutes
failed to provision volume with StorageClass "ontap-std": rpc error: code = Unknown desc = encountered error(s) in creating the volume: [Failed to create volume pvc-63c4001d-9490-4db2-8841-6b1feaab8731 on storage pool bocfs10_3b_SATA_aggr2_FP from backend ontapnas_svm: backend cannot satisfy create request for volume bo_ose_hpc_prod_pvc_63c4001d_9490_4db2_8841_6b1feaab8731: (ONTAP-NAS pool bocfs10_3b_SATA_aggr2_FP/bocfs10_3b_SATA_aggr2_FP; error creating volume bo_ose_hpc_prod_pvc_63c4001d_9490_4db2_8841_6b1feaab8731: API status: failed, Reason: Aggregate bocfs10_3b_SATA_aggr2_FP not found. Reason: entry doesn't exist. , Code: 14420)]

@somejfn the result of your error message is because a Trident backend is configured with an aggregate name that is no longer present. You should be able to confirm this with the output of tridentctl get backend -o yaml -n tridentand see if there's a specific aggregate requested. It could also just be that the new aggregate was not assigned to the SVM itself on ONTAP.
Volumes created by Trident are not tightly bound to the aggregate name. I believe moving volumes or modifying aggregate disks should not cause a problem for Trident as long as you bounce the Trident controller pod once this is done.
@tejagalla88 this would be the same in your case. Can you share the output of tridentctl get backend -o yaml? You should also bounce the Trident controller pod and see if that fixes it

I have just bounced all the Pods under Trident Project before your response & it resolved the issue and the new backend shows the updated new aggregate :)
So I have posed a query to NetApp to share a documentation or instruction for future in case of such migrations.
I believe there should be an online way without even bouncing a pod

@tejagalla88 glad to hear that fixed your problem!
The challenge here is with initializing the backend when any changes are made to it (such as aggregate migrations). Trident does not watch over backends to proactively fetch this information. The simple fix would be to bounce the controller pod.


fix: mv the validate files to .github folder

Following this comment by @nickmccurdy, this will mv to workflow file to .github folder also :)

@all-contributors please add @MatanBobi for code


Add Swedish translations

Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch<EMAIL_ADDRESS>for the project I'm working on.

Here is the diff that solved my problem:
diff --git a/node_modules/rn-emoji-keyboard/src/index.tsx b/node_modules/rn-emoji-keyboard/src/index.tsx
index 1782c28..1e49cd4 100644
--- a/node_modules/rn-emoji-keyboard/src/index.tsx
+++ b/node_modules/rn-emoji-keyboard/src/index.tsx
@@ -19,12 +19,13 @@ import tr from './translation/tr'
 import no from './translation/no'
 import ro from './translation/ro'
 import np from './translation/np'
+import se from './translation/se'
 import EmojisData from './assets/emojis.json'
 import type { EmojisByCategory } from './types'

 export { EmojiKeyboard }
 export { useRecentPicksPersistence }
-export { en, pl, ko, it, fr, id, es, de, pt, ru, ua, vi, cs, ja, tr, no, ro, np }
+export { en, pl, ko, it, fr, id, es, de, pt, ru, ua, vi, cs, ja, tr, no, ro, np, se }
 export type { EmojisByCategory, EmojiType } from './types'
 export const emojisByCategory = EmojisData as EmojisByCategory[]

diff --git a/node_modules/rn-emoji-keyboard/src/translation/se.ts b/node_modules/rn-emoji-keyboard/src/translation/se.ts
new file mode 100644
index 0000000..c410327
--- /dev/null
+++ b/node_modules/rn-emoji-keyboard/src/translation/se.ts
@@ -0,0 +1,16 @@
+import type { CategoryTranslation } from '../types'
+
+const en: CategoryTranslation = {
+  recently_used: 'Senast använda',
+  smileys_emotion: 'Smileys & Känslouttryck',
+  people_body: 'Människa & Kropp',
+  animals_nature: 'Djur & Natur',
+  food_drink: 'Mat & Dryck',
+  travel_places: 'Resa & Platser',
+  activities: 'Aktiviteter',
+  objects: 'Objekt',
+  symbols: 'Symboler',
+  flags: 'Flaggor',
+  search: 'Sök',
+}
+export default en

This issue body was partially generated by patch-package.

Hi @skaramicke,
Thanks for choosing the rn-emoji-keyboard for your project. I see that you added the translation. If you would like to contribute to the library you can create a pull request with your translation.
We have even a separate section in our docs with step by step guide:
https://thewidlarzgroup.github.io/rn-emoji-keyboard/docs/contributions/translations
Please let me know if you're interested. We will definitely add your translation if you prefer us to handle it.
I'm also interested in hearing about your experience with using rn-emoji-keyboard. Your feedback would be very valuable.


Error page from box get stored as content

When the link expires and we get an invalid page it looks like the import has run successfully for box
This error page is stored in ScholarSphere:

.

			The link you're trying to access can't be used to share files. Please ask the file owner to provide you with a shared link instead.
			 Contact Box Support if you need help.

👊

@cam156 the expiration time seems to be in the link header:
https://github.com/projecthydra/browse-everything/blob/master/lib/browse_everything/driver/box.rb#L41
I don't know if we're setting the expiration time, or if that's the time required by Box.


Added a config provider

Simple change to make the uiMaskConfig value into a provider. This just allows easy global configuration without having to edit the source files.

This is a great idea!
How is this going to affect existing users who are expecting a value? As long as we make this a major version bump I think it's okay to break them. Otherwise perhaps the provider should modify a shared value for backwards compatibility?

Thanks for doing this! I was always thinking I should make a PR for this but never got around to doing it.
Also, as @NickTomlin suggested would this break a use case such as:
app.run([ 'uiMaskConfig',
        function (uiMaskConfig) {
            uiMaskConfig.clearOnBlur = false;
            var isAndroid = /(android)/i.test(navigator.userAgent);
            if (isAndroid) {
                var index = uiMaskConfig.eventsToHandle.indexOf('input');
                uiMaskConfig.eventsToHandle.splice(index, 1);
            }
        }
    ]);

You are both right. The scenario mentioned would have broken with the change as it was written. I think it's worth including the value as it was, if nothing else, for backwards compatibility. I updated the provider to merge the value and the provider config on get. This should allow the scenario to work fine.
I think this might need some unit tests now so let me look at that before this gets merged.

Unit tests are in. Let me know if any other changes are needed.


should elm-doc fail when @docs tags don't exist?

This would prevent problems like this one: https://github.com/elm-lang/core/issues/24
I'd be happy to try and add this but I'm not sure where to start.

Track this on the WIP issue


ja: Make docs/tutorials/kubernetes-basics/explore/explore-intro.html follow v1.18 of the original text

This is a Feature Request

What would you like to be added
Update docs/tutorials/kubernetes-basics/explore/explore-intro.html to follow v1.18 of the original (English) text.
Why is this needed
content/ja/docs/tutorials/kubernetes-basics/explore/explore-intro.html is outdated.
Comments
/language ja
/good-first-issue
File to update
https://github.com/kubernetes/website/blob/dev-1.18-ja.1/content/ja/docs/tutorials/kubernetes-basics/explore/explore-intro.html
Original
https://github.com/kubernetes/website/blob/fb6364d/content/en/docs/tutorials/kubernetes-basics/explore/explore-intro.html
diff between translated and v1.18
https://gist.github.com/6fc0fb88b707b3ac6f9c0bbbccb530d4
Note
Currently, we use dev-1.18-ja.1 branch. Please open a PR targeting the branch.
ref
https://kubernetes.io/ja/docs/contribute/localization/
If you have a question, feel free to ask us at slack.k8s.io #kubernetes-docs-ja channel.

/close


chore - don`t ignore and delete .nuxtignore during clean

Codecov Report

Merging #5169 into dev will decrease coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             dev    #5169      +/-   ##
=========================================
- Coverage   96.6%   96.52%   -0.09%
=========================================
  Files         72       72
  Lines       2447     2447
  Branches     620      620
=========================================
- Hits        2364     2362       -2
- Misses        68       70       +2
  Partials      15       15

Impacted Files
Coverage Δ

packages/vue-renderer/src/renderer.js
94.81% <0%> (-1.04%)
:arrow_down:

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 1caa17b...2ea85fa. Read the comment docs.


Weird error when starting an invalid pod

DCOS-13434
I see the following error

when I try to submit this (obviously wrong) pod definition, marathon actually tries to start it. Is this expected behaviour or some checks needs to be added?
{
  "id": "/",
  "containers": [
    {
      "name": "container-1",
      "resources": {
        "cpus": 1,
        "mem": 128
      }
    }
  ],
  "scaling": {
    "kind": "fixed",
    "instances": 1
  },
  "networks": [
    {
      "mode": "host"
    }
  ]
}

We need to check for an non empty id.
https://phabricator.mesosphere.com/D447

But id / is quite cool ;-)


Replace forward slash to back slash

Bash needs back slash as command continuation in next line. Replaced.

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

Thank you! @blakhani-msft


Add files to vsix in batches to avoid error EMFILE - too many open files

Fix for #99
Read and add files to VSIX in btaches.

Looks good!


feat: layer3 data provider [alchemy data provider update]

layer3 data provider as per https://github.com/sismo-core/sismo-hub/issues/1435
I haven't created a separate data provider, I updated the Alchemy data provider to support requesting a single nft tokenid.
I created a sample layer3 group.
Let me know if you'd like me to make a separate layer3 data provider that extends the alchemy provider

Hey @sampolgar sory for the wait!
Thanks a lot for this great recap, I understand way better!
Agree with all what you said, especially to put the getOwnersByTokenIds in private 👍


Rendering Video router in Getting Started is wrong

This should router to rendering-videos not rendering-video

we have updated the website and removed the wrong link, thanks for pointing it out! https://re.video/


chore: consistency for terraform plan

Hi,
i noticed google_bigquery_dataset.four_keys was creating an inconsistent plan and running apply multiple times tried to recreate the table. As far as my understanding is that is not how it is intended. In my tests it looked fine.
i did also an update of gcp terraform provider.
Hope that helps.
Max

@maximilianbraun Thanks for the PR! These look like smart changes to me. I'll run the E2E tests and if everything looks good, I'll merge this in.


Update issue

Hi there,
there is something strange that happen when I try to refresh the list of events.
So my situation is this one:

user explore the calendar and let's say an event is showed into listview
now the user come back to another view and add some events
users can now check if the event just created is the calendar view

How can I trigger the refresh of the listview?
$("#calendar").trigger("refresh"); seems not working as well as $("#calendar").trigger('refresh', date); where date is today.
Can you help me, please?
Thanks!

I think you end up having two calendar instances and updating the wrong one. Please provide a JSfiddle or something so we can see the problem in the context of your application.

Hey, thank you for your quick answer.
In short this is the action related to the click on "Check Calendar View". All the event come out from a db.
$('#checkCalendarView').on('click', function (e) {
var date = new Date();
var d = date.getDate();
var m = date.getMonth();
var y = date.getFullYear();

var arr = [];

database.transaction(function(tx) {
		 tx.executeSql('SELECT * FROM eventLog', [], function(tx, results) {
			var len = results.rows.length;
			for (var i = 0; i < len; i++) {
			var begin = createDate(results.rows.item(i).data+ " " +results.rows.item(i).hour);

				 arr.push({
					"summary": results.rows.item(i).type,
					"begin": begin,
					"end": begin
				});

			}

			 $("#calendar").jqmCalendar({
				events : arr,
				months: ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"],
				days: ["Do","Lu", "Ma", "Me", "Gi", "Ve", "Sa"],
				startOfWeek: 1
			}, []);

   	}, function(err) {
			console.log('ERROR Events: ' + JSON.stringify(err));
		});
            });

	});

In addition I checked this on your .js
$.fn.jqmCalendar = function(options) {
return this.each(function() {
if (!$(this).data('jqmCalendar')) {
$(this).data('jqmCalendar', new $.jqmCalendar(this, options));
}
  });

And if I create a new istance the old one is of course showed and the new one is correctly populated.
Where I am doing wrong?
Thanks!

Currently, a new events array can't be passed as options parameter for the update call. That should have been implemented but we never got to it. Have a look at this comment to see how to work around: https://github.com/JWGmeligMeyling/jqm-calendar/issues/12#issuecomment-31121742

Err strange thats what you're actually doing. Is this how you create the calendar or how you update it?

You can't do this this way.
You should have something like this:
var arr = [];

$('#view').on('pageinit', function() {
             $("#calendar").jqmCalendar({
                events : arr,
                months: ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"],
                days: ["Do","Lu", "Ma", "Me", "Gi", "Ve", "Sa"],
                startOfWeek: 1
            });
});

$('#checkCalendarView').on('click', function (e) {
database.transaction(function(tx) {
         tx.executeSql('SELECT * FROM eventLog', [], function(tx, results) {
            var len = results.rows.length;
            for (var i = 0; i < len; i++) {
            var begin = createDate(results.rows.item(i).data+ " " +results.rows.item(i).hour);

                 arr.push({
                    "summary": results.rows.item(i).type,
                    "begin": begin,
                    "end": begin
                });

            }

             $("#calendar").trigger('update);
    })
})

Ahhh I see the point. Nice solution!
Have you any idea how to manage doubled entry?

Clear the array first. http://stackoverflow.com/a/1232046/2104280

Peerfeect!!
Sometimes I forget the basics... ;)
Btw great plugin, really!

Life would have been so much easier if they just added a clear() function to the array :wink: Glad you like it and the plugin is still being used! (It's from 2013 :blush: )

Hi there, all works as expected but there is a strange behaviour when users change day in calendar view. So basically even if events are already there (and the dot is showed just under the number) if a tap on the previous day and then I tap again on the fully populated day, no event is showed. It is seems like all is cleaned up. Do you think I need to listen to every change? I mean if my array is already populated do I need to repopulate again at every change?
Let me know..
Pier

Strange, haven't seen this before. Is the same happening in the example? Then it might be an issue, if not, please share your event handler.


Switched for loop with foreach

Appreciate the PR, but there's no reason to actually change this.

I don't know, maybe less code (1 line, lol) :D
Also, I think forEach is more cute than for


Repaired the use of underscore

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 4 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.007%) to 87.28%

Totals

Change from base Build<PHONE_NUMBER>:
0.007%

Covered Lines:
9385

Relevant Lines:
10383

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

4 of 4 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 87.303%

Totals

Change from base Build<PHONE_NUMBER>:
0.03%

Covered Lines:
9385

Relevant Lines:
10383

💛  - Coveralls


I Saw the tests codes, with
C++ Struct
`
struct DLL_API Bar
{
};
`
C#
var bar = new Bar(); bar.Dispose();
should I call Dispose function after new?

@setlin yes. We have planned generation of code which implements the IDisposable pattern but there are some difficulties. Until we've overcome them, Dispose() must be called on anything new or any returned value which is documented as a responsibility of the caller in the original C++ library.

Thank you very much, I do believe we can overcome them!