Unable to map users with users connected

Expected Behavior
I could add any user connected through any auth provider to backstage groups.
Actual Behavior
My user connected through my gitlab provider could not be added to any backstage group.
Steps to Reproduce

Create users and groups :

---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
  name: a-team
spec:
  type: team
  children: []
  members: [ 'LvffY', 'user1' ] ## LvffY is my user connected through Gitlab authentification
---
apiVersion: backstage.io/v1alpha1
kind: Group
metadata:
  name: b-team
spec:
  type: team
  children: [ ]
  members: ['LvffY', 'user1'] ## LvffY is my user connected through Gitlab authentification
---
apiVersion: backstage.io/v1alpha1
kind: User
metadata:
  name: user1
  description: This is a test user
  title: User Test
spec:
  profile:
    displayName: User TEST
    email<EMAIL_ADDRESS>  memberOf: []

Deploy your app
Your connected user shouldn't be in any group while the user user1 should be in both team.

Context
I have multiple auth providers set up and I'd like to be able to map my users from my authentications system to map them into local groups that would have been created in backstage. Because of my multiple auth providers could be differents, we'd like to mix both imported groups/users and local groups to ensure to be consistent through our multiple auth providers.
Your Environment
yarn run v1.22.18
OS:   Linux <IP_ADDRESS>-microsoft-standard-WSL2 - linux/x64
node: v16.14.2
yarn: 1.22.18
cli:  0.16.1-next.0 (installed)

Dependencies:
  @backstage/app-defaults                          1.0.1-next.0
  @backstage/backend-common                        0.13.1, 0.13.2-next.0
  @backstage/backend-tasks                         0.2.2-next.0
  @backstage/catalog-client                        1.0.0, 1.0.1-next.0
  @backstage/catalog-model                         1.0.0, 1.0.1-next.0
  @backstage/cli-common                            0.1.8
  @backstage/cli                                   0.16.1-next.0
  @backstage/config-loader                         1.0.0, 1.0.1-next.0
  @backstage/config                                1.0.0
  @backstage/core-app-api                          1.0.1-next.0
  @backstage/core-components                       0.9.2, 0.9.3-next.0
  @backstage/core-plugin-api                       1.0.0
  @backstage/errors                                1.0.0
  @backstage/integration-react                     1.0.1-next.0
  @backstage/integration                           1.0.0, 1.0.1-next.0
  @backstage/plugin-api-docs                       0.8.4-next.0
  @backstage/plugin-app-backend                    0.3.31-next.0
  @backstage/plugin-auth-backend                   0.13.0-next.0
  @backstage/plugin-auth-node                      0.1.6, 0.2.0-next.0
  @backstage/plugin-azure-devops-backend           0.3.10-next.0
  @backstage/plugin-azure-devops-common            0.2.2
  @backstage/plugin-azure-devops                   0.1.20-next.0
  @backstage/plugin-catalog-backend-module-azure   0.1.2-next.0
  @backstage/plugin-catalog-backend-module-gitlab  0.1.1
  @backstage/plugin-catalog-backend-module-msgraph 0.3.1-next.0
  @backstage/plugin-catalog-backend                1.0.0, 1.0.1-next.0
  @backstage/plugin-catalog-common                 1.0.0, 1.0.1-next.0
  @backstage/plugin-catalog-graph                  0.2.16-next.0
  @backstage/plugin-catalog-import                 0.8.7-next.0
  @backstage/plugin-catalog-react                  1.0.0, 1.0.1-next.0
  @backstage/plugin-catalog                        1.0.1-next.0
  @backstage/plugin-github-actions                 0.5.4-next.0
  @backstage/plugin-org                            0.5.4-next.0
  @backstage/plugin-permission-common              0.5.3
  @backstage/plugin-permission-node                0.5.5, 0.5.6-next.0
  @backstage/plugin-permission-react               0.3.4
  @backstage/plugin-proxy-backend                  0.2.25-next.0
  @backstage/plugin-scaffolder-backend             1.0.1-next.0
  @backstage/plugin-scaffolder-common              1.0.0, 1.0.1-next.0
  @backstage/plugin-scaffolder                     1.0.1-next.0
  @backstage/plugin-search-backend-module-pg       0.3.2-next.0
  @backstage/plugin-search-backend-node            0.5.3-next.0
  @backstage/plugin-search-backend                 0.5.0-next.0
  @backstage/plugin-search-common                  0.3.2, 0.3.3-next.0
  @backstage/plugin-search                         0.7.5-next.0
  @backstage/plugin-tech-radar                     0.5.11-next.0
  @backstage/plugin-techdocs-backend               1.0.1-next.0
  @backstage/plugin-techdocs-node                  1.0.1-next.0
  @backstage/plugin-techdocs                       1.0.1-next.0
  @backstage/plugin-user-settings                  0.4.3-next.0
  @backstage/release-manifests                     0.0.2
  @backstage/search-common                         0.3.2, 0.3.3-next.0
  @backstage/test-utils                            1.0.1-next.0
  @backstage/theme                                 0.2.15
  @backstage/types                                 1.0.0
  @backstage/version-bridge                        1.0.0

My bad, just the wrong API used.
For now, I've come to a code like this (for gitlab and microsoft) :
// packages/backend/src/plugins/auth.ts
import {
  AuthResolverContext,
  createGitlabProvider,
  createMicrosoftProvider,
  createRouter,
  OAuthResult,
  SignInInfo,
} from '@backstage/plugin-auth-backend';
import {Router} from 'express';
import {PluginEnvironment} from '../types';
import {DEFAULT_NAMESPACE, stringifyEntityRef,} from '@backstage/catalog-model';
import {BackstageSignInResult} from '@backstage/plugin-auth-node';

const customResolver = async (
  info: SignInInfo<OAuthResult>,
  ctx: AuthResolverContext,
): Promise<BackstageSignInResult> => {
  // Call a custom validator function that checks that the email is
  // valid and on our own company's domain, and throws an Error if it
  // isn't.
  // TODO: Implement this function
  // validateEmail(email);

  // List of entity references that denote the identity and
  // membership of the user
  const ent: string[] = [];

  // Let's use the username in the email ID as the user's default
  // unique identifier inside Backstage.
  const email = info.profile.email ?? ''; // Handle undefined case
  const [id] = email.split('@');
  const userEntityRef = stringifyEntityRef({
    kind: 'User',
    namespace: DEFAULT_NAMESPACE,
    name: id,
  });
  ent.push(userEntityRef);

  // Resolve group membership from the Backstage catalog
  const fullEnt = await ctx.catalogIdentityClient.resolveCatalogMembership({
    entityRefs: [id].concat(ent),
    logger: ctx.logger,
  });

  // Issue the token containing the entity claims
  const token = await ctx.tokenIssuer.issueToken({
    claims: { sub: userEntityRef, ent: fullEnt },
  });
  return { id, token };
};

export default async function createPlugin(
  env: PluginEnvironment,
): Promise<Router> {
  return await createRouter({
    logger: env.logger,
    config: env.config,
    database: env.database,
    discovery: env.discovery,
    tokenManager: env.tokenManager,
    // Map authentication accounts to local accounts/groups
    // See https://backstage.io/docs/auth/identity-resolver
    providerFactories: {
      // Map gitlab accounts to local accounts/groups
      gitlab: createGitlabProvider({
        signIn: {
          resolver: customResolver,
        },
      }),
      // Map microsoft accounts to local accounts/groups
      microsoft: createMicrosoftProvider({
        signIn: {
          resolver: customResolver,
        },
      }),
    },
  });
}

The code is probably not the best you've ever seen, but for now it works.
I'll try to update this code if I move to anything else.

Ok - let us know how you get on! Going to close this for now!


Can't run shaders on a local server if there's no internet connection

Start VEDA with disabled internet connection and try to run a shader on a local server, Just a white screen appears, no errors in the console (just [VEDA] Connected to the server). If I connect to the internet atfer that, the shader loads and runs successfully.

As it turns out, the access to the internet is not necessary, just a connection to some network. I've connected to a mobile hotspot with no internet connection and it worked.


Turn on geo/time extractions in Dockerfile

Currently useTimeNorm and useGeoNorm are set to false by default in reference.conf, and this change propagates into the dockerized version of Eidos. Would it make sense to set these to true in the Dockerfile? Are there any other steps needed to make geo/time extractions work other than changing the config file?

I should remove those from reference.conf.  They are no longer used by Eidos.  Instead, Eidos checks the list of entityFinders, first in eidos.conf and only if needed in reference.conf.  If it sees "geonorm" or "timenorm" in the list, then it uses them.  Does that coincide with the behavior that you are observing?  This part of Eidos has changed quite a bit recently.

Got it, that wasn't clear to me! Yes, then removing them from reference.conf should be fine.

Resolved by #641


Design main docs page

Right now it is a bit empty:

Cross posting from the search results page/search page discussion. Proposed layout for the docs landing page:

@ststimac @qzhou1607 is this done?

This the Docs landing page so if that's merged it should be complete.

Confirmed that this has been merged so I will close.
Making a minor style edit in a PR to fix an alignment issue.


Error: Expected a value of type 'Object', but got one of type 'Null'

Hey, when I start my Flutter web app I get this error when I'm using this package:
Error: Expected a value of type 'Object', but got one of type 'Null'
    at Object.throw_ [as throw] (http://localhost:60029/dart_sdk.js:5032:11)
    at Object.castError (http://localhost:60029/dart_sdk.js:5005:15)
    at Object.cast [as as] (http://localhost:60029/dart_sdk.js:5314:17)
    at Function.as (http://localhost:60029/dart_sdk.js:6508:31)
    at Object._argumentErrors (http://localhost:60029/dart_sdk.js:5150:19)
    at Object._checkAndCall (http://localhost:60029/dart_sdk.js:5233:29)
    at Object.dcall (http://localhost:60029/dart_sdk.js:5242:17)
    at Object.ret [as replaceState] (http://localhost:60029/dart_sdk.js:57497:21)
    at _engine.CustomUrlStrategy.fromJs.replaceState (http://localhost:60029/dart_sdk.js:140910:28)
    at _engine.MultiEntriesBrowserHistory.new.tearDown (http://localhost:60029/dart_sdk.js:140622:42)
    at tearDown.next (<anonymous>)
    at runBody (http://localhost:60029/dart_sdk.js:37229:34)
    at Object._async [as async] (http://localhost:60029/dart_sdk.js:37260:7)
    at _engine.MultiEntriesBrowserHistory.new.tearDown (http://localhost:60029/dart_sdk.js:140609:20)
    at _engine.EngineSingletonFlutterWindow.new._useSingleEntryBrowserHistory (http://localhost:60029/dart_sdk.js:170475:76)
    at _useSingleEntryBrowserHistory.next (<anonymous>)
    at runBody (http://localhost:60029/dart_sdk.js:37229:34)
    at Object._async [as async] (http://localhost:60029/dart_sdk.js:37260:7)
    at _engine.EngineSingletonFlutterWindow.new.[_useSingleEntryBrowserHistory] (http://localhost:60029/dart_sdk.js:170469:20)
    at _engine.EngineSingletonFlutterWindow.new.handleNavigationMessage (http://localhost:60029/dart_sdk.js:170521:56)
    at handleNavigationMessage.next (<anonymous>)
    at runBody (http://localhost:60029/dart_sdk.js:37229:34)
    at Object._async [as async] (http://localhost:60029/dart_sdk.js:37260:7)
    at _engine.EngineSingletonFlutterWindow.new.handleNavigationMessage (http://localhost:60029/dart_sdk.js:170514:20)
    at _engine.EnginePlatformDispatcher.__.[_sendPlatformMessage] (http://localhost:60029/dart_sdk.js:155384:68)
    at _engine.EnginePlatformDispatcher.__.sendPlatformMessage (http://localhost:60029/dart_sdk.js:155214:33)
    at _DefaultBinaryMessenger.[_sendPlatformMessage] (http://localhost:60029/packages/flutter/src/services/system_channels.dart.lib.js:2180:38)
    at _DefaultBinaryMessenger.send (http://localhost:60029/packages/flutter/src/services/system_channels.dart.lib.js:2224:40)
    at OptionalMethodChannel._invokeMethod (http://localhost:60029/packages/flutter/src/services/system_channels.dart.lib.js:948:50)
    at _invokeMethod.next (<anonymous>)

The functionality, however, works fine. I am using Flutter 2.0.1 stable and version 0.2.0 of this package.

Hi @devj3ns 🙂  Thanks a lot for opening the issue ❤
I think this is an issue with Flutter that I cannot do anything about (in this package). So I would suggest opening this issue at https://github.com/flutter/flutter/issues instead :)

See https://github.com/flutter/flutter/issues/78017 for more details.

This is a package issue that shows up when null safety is running. I remove the package and zero errors!

What do you mean by "I remove the package" @danieldoddjr?
Are you also removing the function all? :) In this case, what I said before still holds true. The function that is called in this package is part of the Flutter SDK, which is why it belongs to flutter/flutter#78017.

I understand your frustration @danieldoddjr ❤ The issue here is not with the package, however. The package directly calls a function from the Flutter framework (see https://github.com/flutter/flutter/issues/78017#issuecomment-807466285).
The type error happens within the framework code, not within the package code.

I have exactly the same issue for web with Flutter 2.10.1 stable. But Android works properly.

While my app works fine on Android and IOS, I get the same error on the web.
Error: Expected a value of type 'Object', but got one of type 'Null'
i packages use
#db
firebase_auth: ^4.1.2
firebase_core: ^2.2.0
firebase_crashlytics: ^3.0.5
firebase_database: ^10.0.1
firebase_messaging: ^14.1.0
#web
firebase_core_web: ^2.0.1
firebase_analytics_web: ^0.5.1+4
firebase_auth_web: ^5.1.2
firebase_messaging_web: ^3.2.6
Here is the error output
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 266:49      throw_
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 99:3        castError
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 470:10  cast
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/core_patch.dart 73:24                 as
packages/firebase_core_web/src/firebase_core_web.dart 64:20                                                                    get [_ignoredServiceScripts]
packages/firebase_core_web/src/firebase_core_web.dart 115:28                                                                   _initializeCore
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 85:54                runBody
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 124:5                _async
packages/firebase_core_web/src/firebase_core_web.dart 107:31                                                                   [_initializeCore]
packages/firebase_core_web/src/firebase_core_web.dart 149:11                                                                   initializeApp
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 85:54                runBody
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 124:5                _async
packages/firebase_core_web/src/firebase_core_web.dart 145:44                                                                   initializeApp
packages/firebase_core/src/firebase.dart 43:47                                                                                initializeApp
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 85:54                runBody
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 124:5                _async
packages/firebase_core/src/firebase.dart 39:43                                                                                initializeApp
packages/swivenetworkproject/main.dart 28:18                                                                                main
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 85:54                runBody
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 124:5                _async
packages/swivenetworkproject/main.dart 26:18                                                                                main$
web_entrypoint.dart 24:31                                                                                <fn>
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 352:37  _checkAndCall
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 357:39  dcall
C:/b/s/w/ir/cache/builder/src/out/host_debug/lib/ui/initialization.dart 77:15                                                  <fn>
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 46:50                <fn>
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/zone.dart 1660:54                                              runUnary
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/future_impl.dart 147:18                                        handleValue
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/future_impl.dart 767:44                                        handleValueCallback
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/future_impl.dart 796:13                                        _propagateToListeners
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/future_impl.dart 567:5                                         [_completeWithValue]
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/future_impl.dart 640:7                                         callback
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/schedule_microtask.dart 40:11                                  _microtaskLoop
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/async/schedule_microtask.dart 49:5                                   _startMicrotaskLoop
C:/b/s/w/ir/cache/builder/src/out/host_debug/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 167:15               <fn>


Add rake task to run spec for all Ruby versions

For #124
Create a rake task to test the specs in all Ruby versions automatically and display the result.
Tests for all versions are ran using rake all.

OK so this is one part of the solution. But if there is a failure in Ruby 2.0.0, I will need to scroll all the way up to see that. It should ideally print the test report (number of tests passed and failures) for each ruby version at the bottom of the terminal output, so that in case there are failures, I know where to look instantly.

Btw it should also run rubocop.

How about just printing the number of passed/failed for each Ruby? The user can just change Ruby version and run rspec if he wants to know about the failures.

Yeah that works too. Make sure you use appropriate colours (red for fail, green for pass).

Ok. I did like I said but adding colors would need a little more work.
Should the rubocop also run in this same task or should I create another task for it?

You can add the :cop task as a subtask of :all.

:cop doesn't need to run for all rubies right?

Color support is added. Now :all firstly runs rubocop then it writes the summary for all rubies.

@v0dro I think this is ready to be merged. Just a small thing. Please specify the complete versions names to be tested. Currently I have these: https://github.com/v0dro/daru/pull/129/files#diff-52c976fc38ed2b4e3b1192f8a8e24cffR7


Upgrade all the things

The scss package at the latest version that works on Meteor 1.1 gives
incorrect source maps, which is annoying for @neynah.  So.
This change:

upgrades the Meteor platform version to 1.2.1
switches meteorhacks:flow-router to its new name, kadira:flow-router
switches meteorhacks:flow-layout to its new name, kadira:blaze-layout

Transitions FlowLayout.render() calls to BlazeLayout.render()

removes the outdated vendored copy of reactive-dict in favor of the ones
that will be pulled in by other more up-to-date packages

This commit was very gently tested, by which I mean I looked at the main page and a couple of app pages and nothing jumped out at me as broken.  I'm not sure what all the features of the app market are, but I'd like to hand further QA off to @paulproteus if that's okay.

I just want to say I appreciate this a lot. @zarvox Thanks so much. :)

Manual testing indicates this seems to have worked. I tested:

Visiting an app page

Clicking on screenshots

I didn't test:

Leaving a review

but I did test that path up until the "Login with GitHub" step, and then didn't have a client secret etc. configured, so didn't keep testing.

Yes! Me too. Thanks @zarvox for doing this.


fix: HoldApplicationUntilProxyStarts feature.

Description:
fix HoldApplicationUntilProxyStarts feature.

Testing done:
Done

Affected area:

Functional Area

New Functionality
[ ]

CI System
[ ]

CLI Tool
[ ]

Certificate Management
[ ]

Control Plane
[ ]

Demo
[ ]

Documentation
[ ]

Egress
[ ]

Ingress
[ ]

Install
[ ]

Networking
[ ]

Observability
[ ]

Performance
[ ]

SMI Policy
[ ]

Security
[ ]

Sidecar Injection
[ ]

Tests
[ ]

Upgrade
[ ]

Other
[X]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? no

Is this a breaking change? no

Has documentation corresponding to this change been updated in the fsm-docs repo (if applicable)? no

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 50.00000% with 2 lines in your changes missing coverage. Please review.

Please upload report for BASE (release/v1.5@73241bd). Learn more about missing BASE report.

Files with missing lines
Patch %
Lines

pkg/messaging/broker.go
50.00%
2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@               Coverage Diff               @@
##             release/v1.5     #575   +/-   ##
===============================================
  Coverage                ?   14.95%
===============================================
  Files                   ?      841
  Lines                   ?    62177
  Branches                ?        0
===============================================
  Hits                    ?     9297
  Misses                  ?    52704
  Partials                ?      176

Flag
Coverage Δ

unittests
14.95% <50.00%> (?)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


fish: 3.5.0 -> 3.5.1

Description of changes
https://github.com/fish-shell/fish-shell/releases/tag/3.5.1
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 182220 run on x86_64-linux 1

10 packages built:

direnv
fish
fishPlugins.done
fishPlugins.fishtape
fishPlugins.fishtape_3
fishPlugins.fzf-fish
kitty
oh-my-fish
vimPlugins.cmp-fish
vimPlugins.direnv-vim

@cole-h Sure, don't mind at all. Can I tack that onto this PR, or should I make a separate one?

I'd prefer a separate PR, please :) And also, thank you! :bowing_man:

I realize now that my earlier message could be seen as saying I didn't want you, @kilianar, to become a maintainer -- and that was unintended! I welcome any and all maintainers.

@winterqt could you add me as well please? I could make a PR too but I prefer to avoid extra work for people with commit access :)


Update documentation

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:
/kind api-change
/kind bug
/kind cleanup
/kind design
/kind documentation
/kind failing-test
/kind feature
/kind flake

/kind documentation
What this PR does / why we need it: Update documentation.
Which issue(s) this PR fixes:

Fixes #206
Fixes https://github.com/kubernetes/cloud-provider/issues/6
Special notes for your reviewer:
Release note:
NONE

/cc @nilo19

/lgtm
/approve


Fix immutable record exceptions

The problem is that right now the assert is caught by the catch that is there to revert model cache in case of an error. There multiple problems here. The problem is that planet.name = 'Earth' is a sync operation, but it will execute in background an async operation. It means there is no way to catch exceptions. try { planet.name = 'Earth'; } catch (e) {} will not work because exceptions are thrown from an async operation executed in the background. This PR in its current form just puts some lipstick on the pig by running assert as a sync operation before scheduling the update. I don’t think this is an acceptable solution in it current form. Posting the PR to demonstrate the problem. We can do a 0.17-beta release but I think we should hold the final 0.17 until I have a reasonable fix for this situation. I am actively working on it.

I updated with what I think is a more reasonable approach. At some point we should think more about how to deal with getters with async side effects.


jsx-wrap-multilines auto fix makes no sense

Hi, great project!
But I have an issue with auto fix for jsx-wrap-multilines rule. All it does is just wrapping existing source in parenthesis. So if we had something like this:
const Cmp = () =>

after auto fix we'll get something like that:
const Cmp = () => (

)

It would be better, if the output would look something like this:
const Cmp = () => (

)

Probably there're some problems with correcting indentation. But in that case would be better to just disable auto fixing support for that rule.
For example, some co-workers on my team use Atom auto fixing. It runs on every save. We just turned that rule on and transitioning to new style, and it started saving code like that, we did not want that, so we just disabled this rule, while fixing it manually :-(

Also it would be great to have a rule that forbids this:
const Cmp = () => (

)

as technically this is a valid style, but is far from readable.

The paren-wrapping is correct - the indentation rule should be doing the autofixing to the format you specified. Similarly, the indent rule should be able to forbid the latter example if you like.

I don't think jsx-indent rule is covering that case. Is that correct?

That might be so (I can't check atm, am mobile). If not, then a PR to include checking that case would be great!

I think prettier works well, doesn't make sense to fix auto fix anymore for me.


response should include contact

In case of dialog, yes but not like this. Use dialog managment to respond or send requests


Wexflow - Yet another workflow engine and task scheduler

Can you add Wexflow to the list please?
Wexflow is an open source extensible workflow engine and task scheduler with a cross-platform manager and designer. The goal of Wexflow is to automate recurring tasks without user intervention. Wexflow aims to make automations, workflow processes, long-running processes and interactions between systems, applications and folks easy, straightforward and clean.

That’s not an Awesome list.


Fix video block can't be re-selected once it has been clicked on

fixes #4117
Approach
By passing an extra prop (selected=boolean) from Edit.jsx to Body.jsx. And also we were using defaultActive prop of <Embed /> which I replaced with Active prop.
Screenshots
https://user-images.githubusercontent.com/99530996/208292113-50d4e373-8c02-4b11-9846-62ad8155ba25.mp4

A last check: @jackahl @ericof @pnicolli @avoinea regarding the GDPR add-ons, is this interfering with the features in the add-ons out there?

And as I have limited knowledge of cypress..... this 1 failing test is giving me horror, something's wrong in listingblock.js
Below is the error,  I'll try googling if i can find what's the problem ..... and.....please help (>_<)

Timed out retrying after 4050ms: cy.click() failed because this element is detached from the DOM.
<button class="ui basic icon button listing">...</button>
Cypress requires elements be attached in the DOM to interact with them.
The previous command that ran was:

cy.contains()

This DOM element likely became detached somewhere between the previous and current command.
Common situations why this happens:

Your JS framework re-rendered asynchronously
Your app code reacted to an event firing and removed the element
You typically need to re-query for the element or add 'guards' which delay Cypress from running new commands.

Don’t worry, most probably at some point a change inadvertingly introduced
a flaky test. Not your fault. We will take a look into it back from
holidays. Retry the test (in the GHA) ciuld be that at some try it passes.
As a workaround, pass .click({force: true}) to the offebding test.
On Mon, 26 Dec 2022 at 15:26, Mohammad Hussain @.***>
wrote:

And as I have limited knowledge of cypress..... this 1 failing test is
giving me horror, something's wrong in listingblock.js
Below is the error, I'll try googling if i can find what's the problem
..... and.....please help (>_<)
Timed out retrying after 4050ms: cy.click() failed because this element is
detached from the DOM.
...
Cypress requires elements be attached in the DOM to interact with them.
The previous command that ran was:
cy.contains()
This DOM element likely became detached somewhere between the previous and
current command.
Common situations why this happens:

Your JS framework re-rendered asynchronously
Your app code reacted to an event firing and removed the element
You typically need to re-query for the element or add 'guards' which
delay Cypress from running new commands.

—
Reply to this email directly, view it on GitHub
https://github.com/plone/volto/pull/4147#issuecomment-1365221353, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AADW4D2IO57P7Y3CK6JNPKLWPGTJTANCNFSM6AAAAAATCN65JQ
.
You are receiving this because your review was requested.Message ID:
@.***>

--
Víctor Fernández de Alba
Github/Twitter: sneridagh

@MAX-786 we appreciate your diligence and care to fix things.
To rerun a flaky Cypress test (or any failing job in a GitHub Action):

Click the failing Details link.

Then in the upper right corner, click the "Re-run this job" icon.

In general, when a test fails in a job in a GitHub action and it is unrelated to your PR, it is a possible and likely that it is flaky, another PR introduced a regression, or that there was a build or network error during the GitHub job itself. Re-run the failed job, and it usually clears up.
If it does not clear up, it might be that the GitHub job installs an unpinned dependency's latest version, and the maintainers need to take a closer look, such as in this one in plone.api where the latest tox needs to be configured accordingly.

Thanks a lot, both of you !😊, this info saved me a lot of time

Retry the test (in the GHA) ciuld be that at some try it passes.

Then in the upper right corner, click the "Re-run this job" icon.

Yay! worked like a charm 😂

A last check: @jackahl @ericof @pnicolli @avoinea regarding the GDPR add-ons, is this interfering with the features in the add-ons out there?

Yes, it would be interfering with the customization here https://github.com/collective/volto-gdpr-privacy/blob/master/src/customizations/components/manage/Blocks/Video/Body.jsx
But I think it would not break it. The customization in the add-on will just need to be updated after this is released, and possibly some version hint added in the README and in the peerDependencies, but it's totally fine.

I see, I am a bit late to the show :)
Will take care of updating the addon accordingly.


do_update_messages: Delete user_message if guest user loses access.

When a topic is moved to a different stream, the message may no
longer be reachable to guest user, if the user is not subscribed
to the new stream.
We used to send message update event to the client in these cases,
which seems to be confusing both to the client updating the message
and the server sending push_notifications for it.
Now, we delete the UserMessage entry for these messages for the
user and send a delete message event to the client; which makes
both push_notification and the event handling client think that
the message was deleted and hence no confusion in the code is
raised.

I suppose we should be able to rebase this now that #15285's backend is done.

@timabbott this is ready for review.

@timabbott updated this! Thanks for improving this.

@timabbott updated this!

Merged, thanks @amanagr!  We should probably serialize https://github.com/zulip/zulip/pull/15277#discussion_r441278446 to an issue, since it is something we'll need to spend more time on before moving topics to/from private streams, though I don't think we should consider it a priority to work on for the 2.2 release.

Opened https://github.com/zulip/zulip/issues/15438


[Feature Request] For Smart Select "Subword" option, consider kebab-case as having subwords

I love smart select and was happy to see this feature added long ago: https://github.com/microsoft/vscode/pull/182571
I just realized that it's only considerate of snake_case, PascalCase, and camelCase. It would be nice if kebab-case could be included for consideration.
My Use Case
I was trying to do a multi-line copy with strings that appeared as:
@scope-1/authentication-mfe/config/federation
@scope-1-a/patient-mfe/config/federation
@scope-2/happy-path-mfe/config/federation
@scope-2/sad-path-mfe/config/federation
@scope-2-a/self-service-account-creation-mfe/conig/federation

and I wanted the second part of each path like:
authentication-mfe
patient-mfe
happy-path-mfe
sad-path-mfe
self-service-account-creation-mfe

I have "subwords" disabled, but smart select couldn't help me when I expected it would in this instance as kebab-case is not considered "subwordable".

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

In most language configurations VSCode considers '-' to be a word separator. If you are working in a language that accepts '-' in names, like CSS, the subword smart select works fine.
A possible issue is it does not work in plaintext files. I'm not sure if this should be fixed or not.

This is within a String in JS and TS. I think it should be fixed.

or Strings in any language.

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


[ALLUXIO-2665] Make TimeoutRetryTest final.

https://alluxio.atlassian.net/browse/ALLUXIO-2665
To avoid accidental subclass extension.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/14218/
Test FAILed.


t2i_workflow.json and ti2i_workflow.json cannot match code, please fix is.

t2i_workflow.json and ti2i_workflow.json cannot match code, please fix is.

ti2i connects an image to the latent (?!)
And when I tried entering a latent there it was interpreted as an input image ...
Also the node for text: Why not using one of the available text or string boxes floating around?

yeah these workflows don't actually function.  a bit annoying and frustrating.

yeah these workflows don't actually function. a bit annoying and frustrating.

Don't get frustrated, just use any of the alternative nodes!
Like: https://github.com/chflame163/ComfyUI_OmniGen_Wrapper
I'm trying to modify it to play nice with Comfy_UI, i.e. use the memory management and data types from the core, but is WIP: https://github.com/set-soft/ComfyUI_OmniGen_Wrapper
In the "vae" branch I'm moving the VAE decode outside, eliminating temporal files, adding negative prompt and I'll use the external VAE to encode (next step).
Note: this model is funny, but is slow and doesn't produce very good images, but you can use its output as base for a Flux image to image workflow.


Fix insertOrDelete for freehand tool after recent changes to toolData schema.

Update the freehand tool after add/remove point functionality broke after recent changes to the freehand toolData schema.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Instructions for 'Start' are inaccurate

Following the steps to check out this library from the readme:
import evalml
X, y = evalml.demos.load_breast_cancer()
X_train, X_test, y_train, y_test = evalml.preprocessing.split_data(X, y)

results in the following:
>>> import evalml
>>> X, y = evalml.demos.load_breast_cancer()
>>> X_train, X_test, y_train, y_test = evalml.preprocessing.split_data(X, y)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: split_data() missing 1 required positional argument: 'problem_type'

@elahmo Thanks for pointing that out! We will get that fixed soon.


how can delete old photo when update image post ?

Hi guys
why after change post image the old image in storage file will not be delete !!!!!!
That's big bug for increase memory disk !

Hi.
This is a bug indeed.
There are 2 more bugs related:

if we delete a post, all related images are not being removed from the server (PR #1284 sent)
button for delete image is missing

Thanks for the tip

I believe the above issues have been resolved in other PRs.  Closing for now.  If this is still an issue after the 1.0 release, please open a new issue

use mutators in case you want to remove old image after update;
f.e.
   public function setAvatarUrlAttribute($value)
    {
        // in case of edit and send new avatar image
        if (strtolower(request()->method()) === 'put' && $value !== $this->avatar_url) {
            Storage::disk('public')->delete($this->avatar_url);
        }

        $this->attributes['avatar_url'] = $value;
        return $this->attributes['avatar_url'];
    }

Please don't comment on issues that have been closed for so long (3 years in this case).  It was for a VASTLY different version of Voyager


chore: add eslint for frontend

Coverage increased (+1.7%) to 31.516% when pulling 82ffca4136ac72e10ba5cd7108d9649d5dfd72b4 on frontend-eslint-and-backend-code-coverage into b113f11d7f4b0bba5a57b0cdee85032e3ce461c6 on main.


Academy beta tag

Changed style of Academy beta tag in navigation to the updated comp. Also changed the mobile nav  font weight to 400. It was 300, and looked a little thin.

Hello @richbachman,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


PlayStation Symbols

PSP
A user interface containing pictograms similar to the PlayStation Portable (PSP) can be found .
PS4

Idea
Especially the PlayStation buttons are interesting. As they are just simple shapes they are not covered by any copyright law. However, they appear very widely in game manuals and cheat books. The meaning of the symbols is concluded here.
Interestingly Unicode 11.0 includes the four new characters

1F7D5 CIRCLED TRIANGLE
1F7D6 NEGATIVE CIRCLED TRIANGLE
1F7D7 CIRCLED SQUARE
1F7D8 NEGATIVE CIRCLED SQUARE

as “Go stone markers”. This set should be renamed to “Circled geometric shapes” and the characters:

[ ] 1F7D9 CIRCLED MULTIPLICATION X
[ ] 1F7DA NEGATIVE CIRCLED MULTIPLICATION X
[ ] 1F7DB CIRCLED CIRCLE
[ ] 1F7DC NEGATIVE CIRCLED CIRCLE

should be added.
Standard References

How to propose other additions or changes to Unicode (required form, email address: docsubmit＠unicode.org)
Unicode document submission form

Note: The symbol left to the A-B character is not a camera, but a UMD, a Sony proprietary optical disc format.

Related: https://en.wikipedia.org/wiki/Template:PlayStation_key_press

Instead of the proposed 1F7D9 CIRCLED MULTIPLICATION X, the alternative
⮿ U+2BBF CIRCLED BOLD X
would be possible, but it still needs a negative counterpart for the pressed button.


[Feature][JsonSplit-api] export/import of ProcessDefinition api

#5498
#5503

Codecov Report

:exclamation: No coverage uploaded for pull request base (json_split_two@3a4c608). Click here to learn what that means.
The diff coverage is n/a.

@@                Coverage Diff                @@
##             json_split_two    #5910   +/-   ##
=================================================
  Coverage                  ?   44.39%
  Complexity                ?     3593
=================================================
  Files                     ?      609
  Lines                     ?    24777
  Branches                  ?     2817
=================================================
  Hits                      ?    11000
  Misses                    ?    12725
  Partials                  ?     1052

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 3a4c608...9166bc9. Read the comment docs.


Contact Control Panel Logged out error in IFrame

We are using Amazon Connect Streams API (Streams) and have embedded the Contact Control Panel (CCP) UI components into the application. Although it was working fine till we noticed that when the agent is not logged in or goes offline and comes again on the page since the session is logged out, the page shows an error in connecting with the instance.
We also have whitelisted our domain in amazon connect application integration

We want to have login either inside the IFrame or we want some control over this authentication event so that we can handle this error gracefully

what is the process you following for the logout ?
I am getting the same error when I call logout manually. There should be some clean way to logout and login back again.
https://<>.awsapps.com/connect/logout

I am logging out through CCP window and also when I am not logged in at that time also integrated IFrame shows error and that is not a good user experience.

yeah I have the same issue... the loginPopup doesn't work either.
I get
Refused to display 'https://<>.awsapps.com/connect/login?landat=%2Fconnect%2Fccp#/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
I create and delete the agent everytime they want login and logout.

Agreed this is a valid Concern for SAML auth and this needs to solved from the library.
Here is the code which Causes this issue for SAML login - https://github.com/aws/amazon-connect-streams/blob/master/src/core.js#L302
this needs to take care of whether to reload the page or open a login popup to re-authenticate the user. (and Provide a dedicated event for the same) -  Currently it just reloads and hence CCP does not know how to authenticate the SAML user and redirects to a access denied page which is not enabled for XFraming.(other directory logins works because we have a dedicated login page for the same)
Interim you can use below event to determine the ACK timeout use case.
connect.core.getEventBus().subscribe(connect.EventType.ACK_TIMEOUT, function() {
// Triggered when ACK fails (needs re-login)
// Use this to handler hide the CCP or show some custom message or popup the login window to re login
})

@jagadeeshaby
I am not using SAML but still, when a user logs out from the CCP, there doesn't seem for my app to know that the user has logged out. The ACK_TIMEOUT is also not occurring. Here is a screen shot of the same.

The First ACK_TIMEOUT that you see is when I first loaded the page, it opened a second tab for the user to login but user accidently closed the login page, now there is no way for me to know the login has not happened. The same issue happens if I logout from the CCP. It just keeps trying to load the login page inside the IFrame but doesn't give any event from which I can detect if the user is logged in or not.


Sending email (certificate zip file) based on locale that user selected

create i18n file in directory src\main\distrib\data

mail.tmpl_xx_YY
instructions_xx_YY

new paramter in  file src\main\java\com\gitblit\wicket\GitBlitWebApp.properties
gb.emailClientCertificateSubject = Your Gitblit client certificate for {0}

failed if user.getPreferences().getLocale() is null


Issues when using within a NestedScrollView

RecyclerViews can now be used with height="wrap_content" within a NestedScrollView to scroll the entire layout. Unfortunately, this doesn't work when the RecyclerView is within a SwipyRefreshLayout. Looks like the height calculation breaks and is 0.
Here's an example:
<android.support.v4.widget.NestedScrollView
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <com.orangegangsters.github.swipyrefreshlayout.library.SwipyRefreshLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <android.support.v7.widget.RecyclerView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"/>

    </com.orangegangsters.github.swipyrefreshlayout.library.SwipyRefreshLayout>

</android.support.v4.widget.NestedScrollView>

Hello @grote
Unfortunately the SwipyRefreshLayout is not meant to be used that way yet.
If you find a solution, don't hesitate to do a pull request.
Cheers,
Olivier

Did you find a way around this?

No, unfortunately not. Would still be interested in solutions/workarounds.


[Question] Will you generate a docker-image for linux/arm/v7?

Just the question above:
Will you generate a docker-image for linux/arm/v7?
Thank u in advance

not actually sure if we can support it ill let you know

Sorry not possible


Bigtable : Protobuf UpdateAppProfileMetadata class is missing and Longrunning operation needed Google::Gax::Operation wrapper

Protobuf class missing for UpdateAppProfileMetadata in bigtable_instance_admin_pb.rb
Ref: bigtable_instance_admin.proto

Some of the Google::Longrunning::Operation jobs are not wrapped into Google::Gax::Operation

partial_update_instance
https://github.com/GoogleCloudPlatform/google-cloud-ruby/blob/bdfe9bcc71f91bb9c9a6e83c61ec523a7b57644b/google-cloud-bigtable/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin_client.rb#L569

update_app_profile
https://github.com/GoogleCloudPlatform/google-cloud-ruby/blob/bdfe9bcc71f91bb9c9a6e83c61ec523a7b57644b/google-cloud-bigtable/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin_client.rb#L1024

snapshot_table
https://github.com/GoogleCloudPlatform/google-cloud-ruby/blob/bdfe9bcc71f91bb9c9a6e83c61ec523a7b57644b/google-cloud-bigtable/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin_client.rb#L763

I think GAPIC code need to regenerate to fix missing class and longrunning operation wrapper.

Yes, this is correct. I regenerated locally and it looks like all of those updates were included.
There were also a few other minor changes that it pulled in. I'll follow up with a PR shortly.

Fixed by #2102.


Error in CMake

I tried building project files for opengl-examples for visual studio using cmake-gui. The source I used was cloned opengl-examples.
Cmake settings
Where is the source code: e:/Users/iJam/Source/Repos/opengl-examples
Where to build the binaries: e:/Users/iJam/Source/Repos/opengl-examples/build
After i press configure, i get error in dialog box
Error
Error in configuration process, project files may be invalid

I tried putting proper glew and glfw directory like below

After press configure until no reds, heres what i get.

It might be silly mistake on my end, but im kinda noob in this cmake thing.
What did i do wrong and how to fix it?
Thanks.

Apparently, i got it working by putting location to glew library file instead of library directory.
Unfortunately, i got another error
Cannot open png.lib

Here are my cmake settings

I have got same errors, so many pain to get it working :(

@publicENEMY @diego3 Sorry for unforgivable late reply. Did you find a solution to this problem?
BTW, the problem should be related with custom CMake's FindGLFW.cmake file used by the project to find the lib on your system. Apparently, the Win version doesn't handle it so well...


[MM- 15838] Handle selected elements in Jira issue creation screen

Summary
This PR handles two issues, both for custom Jira fields

if the custom field is a textarea, mimic that in the create-issue dialog window.
Select List (single choice) field.  Values were not showing up in the dropdown.

Ticket Link
Please view the following ticket for a description
https://mattermost.atlassian.net/browse/MM-15838

@jasonblais You are confusing the jira_field.jsx file with jira_fields.jsx.  I only changed the jira_field.jsx file so if that is the file you were looking at, it wouldn't have this code, but jira_fields.jsx will  :)
https://github.com/mattermost/mattermost-plugin-jira/blob/2c4e3a1defbe1857e4b88b9b6dfe9352c82e79b6/webapp/src/components/jira_fields.jsx#L30

@jfrerich got it - do we need to make any changes to jira_fields.jsx so that all the fields we support (multi-text area, etc.) show up in the dialog?
Or would this be part of your error handling ticket (https://mattermost.atlassian.net/browse/MM-15924)?

@jasonblais I am going to address that issue next.  We have two issues left regarding fields.

handle the case where Jira instance requires fields that we do not yet support (and send an ephemeral message in MM)
handle the case where a supported field is not filled out when user hits the create button. (and let show them on the create issue dialog window)

With respect to jira_fields.jsx, I will have to edit it.  My initial thought is that I will maintain a list of field types we DO support.  Then compare all visible jira fields to that list and if a field doesn't fall under one of those, I'll error out and report back in MM.

Sounds good, thanks @jfrerich!


Updated .Net to 4.7.2

I personally just wanted to add TensorFlowSharp which required a higher .Net.
So this PR is just regarding the update to .Net 4.7.2
Description
Removed QC's LinqExtensions.ToHash because Linq now has a native method.
Some ZIP packages were changed
Some packages were added (Due to the .NET update?)
All tests pass exactly the same as master.
Motivation and Context
To allow new packages work.
How Has This Been Tested?
Tested everything against the results of the master branch.
Some tests fail but it's exactly the same result (I checked every test name)
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 change)
[ ] Non-functional change (xml comments/documentation/etc)

Checklist:

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.
[ ] My branch follows the naming convention bug-<issue#>-<description or feature-<issue#>-<description>

Thank you for the PR Worthy7 -- closing for now as no reply, and its a PR with mixed concerns. An upgrade like this will need a careful and tactical review to ensure won't break any of the regression suites.

@Worthy7 Just wondering, No reply to what? Did I miss a message somewhere?


Improved user setting page responsiveness and few alignments

Wow looks good! I was not looking forward to building this page lol


Refactoring draw_piece function

In my opinion, the current draw_piece does two essentially different things inside the playfield and outside the playfield, which makes the code more complex. I have split it into two functions to simplify the code.
show_ghost, clear_ghost and update_ghost just moved the definition location.

Yeah. You are right.
Thank you very much.


question - other than TLE inputs

I'm just starting but it appears the only option for adding object is by loading TLE.  Which leads me to believe the software is using SGP4 as the propagator.
I'm working a project where I simulate satellites uising numerical integration, but I propagate state vector (e.g. position, velocity) which I would like to visualize with satvis.
I'm going to keep digging but I wanted to ask if there were opther input options.
I figure worst case I create a dirty-TLE with COEs and update it from my simulation frequently.

Like many other javascript satellite programs, this relies on satellite.js for SGP4 propagation.
https://github.com/Flowm/satvis/blob/b7db88c1c8701f5a2594fa13cb820e452e8bd36d/src/modules/Orbit.js#L25
You could modify that section of the code to use your propagated values instead of the output from satellite.js. I would be very interested in hearing how you are calculating the position and velocity if not using SGP4. I believe this program calculates position and velocity using SGP4 every 1 second (notionally) and then relies on a basic position + velocity * time-since-last-screen-draw , which I think is what you are calling numerical integration.

The explanation and quoted section by @thkruz are exactly the place to start when another propagation method is desired.
Just one additional step:
For performance reasons the positions are calculated in advance for the next time period with a sampling interval of 30s and then interpolated with a Cesium SampledPositionProperty every Cesium clock tick:
https://github.com/Flowm/satvis/blob/11054d95c4e997f4d6db05ce86d5dd45674b47a2/src/modules/SatelliteProperties.js#L104
So either keep the existing interpolation logic and replace the propagation in https://github.com/Flowm/satvis/blob/11054d95c4e997f4d6db05ce86d5dd45674b47a2/src/modules/Orbit.js#L25
or alternatively directly set the position for the individual entities (e.g. the white point at the position of the satellite) in
https://github.com/Flowm/satvis/blob/11054d95c4e997f4d6db05ce86d5dd45674b47a2/src/modules/SatelliteEntityWrapper.js#L91
      const point = new Cesium.PointGraphics({
      position: new Cesium.CallbackProperty((timeAsJulianDate) => {
        return satellitePositionPropagatorThatReturnsACesiumCartesian3Object(timeAsJulianDate),
      }, false),
      pixelSize: 10,
      color: Cesium.Color.WHITE,
    });

Sry for the slow response. Did you ever get around to add your own propagation algorithm?

The explanation and quoted section by @thkruz are exactly the place to start when another propagation method is desired.
Just one additional step:
For performance reasons the positions are calculated in advance for the next time period with a sampling interval of 30s and then interpolated with a Cesium SampledPositionProperty every Cesium clock tick:
https://github.com/Flowm/satvis/blob/11054d95c4e997f4d6db05ce86d5dd45674b47a2/src/modules/SatelliteProperties.js#L104
So either keep the existing interpolation logic and replace the propagation in https://github.com/Flowm/satvis/blob/11054d95c4e997f4d6db05ce86d5dd45674b47a2/src/modules/Orbit.js#L25
or alternatively directly set the position for the individual entities (e.g. the white point at the position of the satellite) in
https://github.com/Flowm/satvis/blob/11054d95c4e997f4d6db05ce86d5dd45674b47a2/src/modules/SatelliteEntityWrapper.js#L91
      const point = new Cesium.PointGraphics({
      position: new Cesium.CallbackProperty((timeAsJulianDate) => {
        return satellitePositionPropagatorThatReturnsACesiumCartesian3Object(timeAsJulianDate),
      }, false),
      pixelSize: 10,
      color: Cesium.Color.WHITE,
    });

Sry for the slow response. Did you ever get around to add your own propagation algorithm?

I'm glad to see the question. I'm confused about the parameter of samplesFwd  and samplesBwd . How to set it  and is it related to interval()? I hope you can answer it. Thanks.

I'm glad to see the question. I'm confused about the parameter of samplesFwd  and samplesBwd . How to set it  and is it related to interval()? I hope you can answer it. Thanks.

The function uses interval (in seconds) as step size between samples and calculates samplesFwd position samples forward and samplesBwd position samples backward with the referenced SGP4 propagation mechanism (through satellitejs).
With the default values this function fills the SampledPositionProperty with the satellites position ranging 60min back (120 samplesBwd * 30s) from the current simulation time and 120min forward (240 samplesFwd * 30s).
This avoids any orbit calculations as long as the simulation time is within this timeframe as it relies on the interpolation of the Cesium SampledPositionProperty for interpolation between theses sample positions. (In reality a bit less as the orbit line also uses this sampled position and is also drawn forward and backward.)
Full code of the updateSampledPosition function for reference:
https://github.com/Flowm/satvis/blob/11054d95c4e997f4d6db05ce86d5dd45674b47a2/src/modules/SatelliteProperties.js#L104-L150

The function uses interval (in seconds) as step size between samples and calculates samplesFwd position samples forward and samplesBwd position samples backward with the referenced SGP4 propagation mechanism (through satellitejs).
With the default values this function fills the SampledPositionProperty with the satellites position ranging 60min back (120 samplesBwd * 30s) from the current simulation time and 120min forward (240 samplesFwd * 30s).
This avoids any orbit calculations as long as the simulation time is within this timeframe as it relies on the interpolation of the Cesium SampledPositionProperty for interpolation between theses sample positions. (In reality a bit less as the orbit line also uses this sampled position and is also drawn forward and backward.)
Full code of the updateSampledPosition function for reference:
https://github.com/Flowm/satvis/blob/11054d95c4e997f4d6db05ce86d5dd45674b47a2/src/modules/SatelliteProperties.js#L104-L150


feat: Introduced WebHook Service (#4736)

Closes #4736
Closes #4742

I'm playing around with the webhook-service, and it already looks really good.
I just encountered some changes requests:
Webhook.conf in ./webhook/
The

Right now, the webhook.conf is stored directly in the folder of the service.
[ ] However, it should be stored in the webhook folder.

Adoption in finished event

Right now, the webhook-service returns a finished event as follows:

{
  "data": {
    "labels": null,
    "project": "sockshop",
    "result": "pass",
    "service": "carts",
    "sh.keptn.event.test.triggered": {
      "responses": [
        "ok"
      ]
    },
    "stage": "dev",
    "status": "succeeded"
  },
  "id": "a3248326-892b-43d0-bda7-0e338c108de0",
  "source": "webhook-service",
  "specversion": "1.0",
  "time": "2021-09-02T12:07:20.593Z",
  "type": "sh.keptn.event.test.finished",
  "shkeptncontext": "49206abf-a201-40d5-945e-4d21d5a76500",
  "triggeredid": "8c8f4598-5cb0-4f11-bf94-21acdc5c6ece"
}

[ ] Change the data payload to contain just test and not the full event type sh.keptn.event.test.triggered

Error log when no webhook.conf available

[ ] When the webhook-service has a subscription on, e.g., sh.keptn.event.test.triggered for all stages (and all services), but not webhook.conf file is available, I would like to get an error log telling me about the missing webhook.conf.

I encountered a problem with the webhook-service as explained in this image:


[BUG] Marketplace tab not loading

Describe the bug
After update from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>Clicking on the "Marketplace" tab results in an empty page

Hi @harlev, I would like to ask some questions before we proceed.

Is Flowise Hosted or Local?
You're running on yarn, npx or docker?

Hi @chungyau97
I am running a local install. I was unig npx. Basically followed the vanilla instructions on the README page.
I installed the 1.2.13 on my machine and on an EC2 machine. Then upgraded both by running npm install again, and got the issue on both.
Eventually I just started from a clean install to avoid the issue.

I'm not able to replicate your error using quick-start guide

For upgrading, I believe you need to use npm install -g flowise instead of npm install
Then spin up Flowise with npx flowise start
If you're running on using setup guide and using yarn dev
Remember to complete steps 6

@harlev feel free to reopen if you're still having issue.

I'm also facing same issue even after upgrading flowise
*index-CPHl8PIk.js:1 TypeError: t[r].usecases is not iterable (cannot read property undefined)
at index-CPHl8PIk.js:1:9434
at Wp (index-BEPqkojn.js:62:24283)
at fl (index-BEPqkojn.js:62:42409)
at index-BEPqkojn.js:62:40726
at P (index-BEPqkojn.js:47:1600)
at MessagePort.q (index-BEPqkojn.js:47:1970)
index-BEPqkojn.js:62 TypeError: t.categories.join is not a function
at H (index-CPHl8PIk.js:1:7777)
at Array.filter ()
at as (index-CPHl8PIk.js:1:13826)
at my (index-BEPqkojn.js:60:19539)
at Wv (index-BEPqkojn.js:62:3139)
at iE (index-BEPqkojn.js:62:44833)
at nE (index-BEPqkojn.js:62:39790)
at Z4 (index-BEPqkojn.js:62:39718)
at fp (index-BEPqkojn.js:62:39570)
at Qv (index-BEPqkojn.js:62:35934)
index-BEPqkojn.js:62 Uncaught TypeError: t.categories.join is not a function
at H (index-CPHl8PIk.js:1:7777)
at Array.filter ()
at as (index-CPHl8PIk.js:1:13826)
at my (index-BEPqkojn.js:60:19539)
at Wv (index-BEPqkojn.js:62:3139)
at iE (index-BEPqkojn.js:62:44833)
at nE (index-BEPqkojn.js:62:39790)
at Z4 (index-BEPqkojn.js:62:39718)
at fp (index-BEPqkojn.js:62:39570)
at Qv (index-BEPqkojn.js:62:35934)


chore: release main

:robot: I have created a release beep boop
0.1.1
0.1.1 (2024-06-15)
Miscellaneous Chores

release 0.1.1 (01d1aab)

0.1.1
0.1.1 (2024-06-15)
Miscellaneous Chores

release 0.1.1 (01d1aab)

0.1.1
0.1.1 (2024-06-15)
Miscellaneous Chores

release 0.1.1 (01d1aab)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/hansetag/iceberg-catalog/releases/tag/v0.1.1 :sunflower:


Issue with GCP PubSub scaledObject

Discussed in https://github.com/kedacore/keda/discussions/4751

Originally posted by raghu-manne June 29, 2023
I am trying to test out keda with GCP pubsub andd the getting below error. Any insights where am i doing wrong?
2023-06-29T11:26:13Z    ERROR   Reconciler error        {"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"test","namespace":"default"}, "namespace": "default", "name": "test", "reconcileID": "5b54cc98-02bf-4dea-a270-125a70a957b5", "error": "HorizontalPodAutoscaler.autoscaling \"keda-hpa-test\" is invalid: spec.metrics[0].external.target.averageValue: Invalid value: resource.Quantity{i:resource.int64Amount{value:0, scale:0}, d:resource.infDecAmount{Dec:(*inf.Dec)(nil)}, s:\"0\", Format:\"DecimalSI\"}: must be positive"}
My scaledobject looks like this
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
  name: pubsub-test
  namespace: default
spec:
  scaleTargetRef:
    name: consume-pubsub-messages #Target Workload Name
  triggers:
  - type: gcp-pubsub
    authenticationRef:
      name: test
    metadata:
      subscriptionName: "keda-test-subscription" # Required

Scaledobject events says this
Events:
  Type     Reason                   Age                    From           Message
  ----     ------                   ----                   ----           -------
  Warning  ScaledObjectCheckFailed  2m6s (x16 over 4m50s)  keda-operator  failed to ensure HPA is correctly created for ScaledObject
```</div>

I think that the solution in the code is just adding the default value during meta initializtion here:
https://github.com/kedacore/keda/blob/d48475b7f9327f5fa22401ae10131d8bde8fc4ff/pkg/scalers/gcp_pubsub_scaler.go#L66-L71

@JorTurFer  I could see this has been fixed but i am getting the same error when i tried.
Events:
  Type     Reason                   Age                  From           Message
  ----     ------                   ----                 ----           -------
  Normal   KEDAScalersStarted       27m                  keda-operator  Scaler gcp-pubsub is built.
  Warning  ScaledObjectCheckFailed  6m1s (x19 over 27m)  keda-operator  failed to ensure HPA is correctly created for ScaledObject

k get apiservices.apiregistration.k8s.io

v1beta1.external.metrics.k8s.io        keda/keda-operator-metrics-apiserver   True        33m
v1beta1.metrics.k8s.io                 kube-system/metrics-server             True        36m

operator logs:

2023-12-09T13:03:46Z	ERROR	Reconciler error	{"controller": "scaledobject", "controllerGroup": "keda.sh", "controllerKind": "ScaledObject", "ScaledObject": {"name":"pubsub-test","namespace":"default"}, "namespace":  "default", "name": "pubsub-test", "reconcileID": "29855436-fd09-4aa3-ba95-626896b36e93", "error": "HorizontalPodAutoscaler.autoscaling \"keda-hpa-pubsub-test\" is invalid: spec.metrics[0].external.target.averageValue: Invalid value: resource.Quantity{i:resource.int64Amount{value:0, scale:0}, d:resource.infDecAmount{Dec:(*inf.Dec)(nil)}, s:\"0\", Format:\"DecimalSI\"}: must be positive"}

@JorTurFer I could see this has been fixed but i am getting the same error when i tried.

The fix is solved because the PR is merged, but it hasn't been released yet. You can check the first release where the PR is included, checking the PR directly:

And this other PR has a fix already released:

You can expect this fix released on Jan release

Thanks for the information!


Embed doesn't work when using vimeoUrl.

Hi,
Strange error. When trying to embed a vimeo url it is not possible to retrieve the video. This problem occurs on every envi in the cloud.
Localhost i don't have the problem.
Running latest Umbraco 8 in the cloud
error: Could not embed media - please ensure the URL is valid
url used: https://vimeo.com/451441279

Hi @jkulker
Could you try if you can embed it using the embed option in the rich text editor ?
Because I'm using the built in embed functionality for retreiving the embed code.
Dave

Have the same problem on the default on the richt text

And only on cloud. Not locally ?

that is correct

Then I would recommend to open a issue here : https://github.com/umbraco/Umbraco.Cloud.Issues/issues
Dave

So reply from Umbraco:
The reason you're seeing this is because Vimeo has implemented a ban on the Umbraco Cloud IP address.
I have previously investigated this with help from Vimeo support I've narrowed this issue down to the following:
Random site makes way too many requests to the Vimeo API
Vimeo implements a 24 hour ban on the IP the site currently has
The ban is into effect for all Cloud sites currently on that IP
you can close this issue


Does this repository support training code for SDXL turbo?

Thank you for this repository. The general inference time for the SDXL model is too long for me.
I'd like to try using SDXL turbo, but I'm not sure where to start with training.
Would appreciate it if anyone could give me some guidance.

https://huggingface.co/stabilityai/sdxl-turbo


Player-mpris-tail: no output when playing some things in vlc

If the media being played by vlc doesn't have an artist or a title (like some movies or tv shows), the only output is the 'stopped icon'.
I think it would be better if it would display the name of the file being played when the title is empty.

@Cybolic any comments? :cowboy_hat_face:

Just showing the stopped icon is definitely not the appropriate action for the script; that will get fixed.
As for the text output, I think having another conditional tag for when a tag does not exist could be the solution.
e.g.
-f '{icon} {:title:{title} }{:-title:{filename}}'
Would that be a desirable solution?

That would work great, please add it :)
Thanks for the quick response!


Row values decoding performance optimisation

This is a "better" row values decoding optimisation compared to the first attempt https://github.com/datastax/cpp-driver/pull/508
It skips creating Value objects and populating the row vector on every next row decode, instead it simply updates Value's Decoder instance and Value internal state.
So there is no refcounting, no vector cleanup and memory allocations.
cass::ResultIterator::next() - 13.28%

cass::ResultIterator::next() - 4.45%

@mpenick could you please let me know if this PR has a chance to be merged.


Input size (width dimension)

Is your feature request related to a problem? Please describe.

It is not possible to scale the length of the "input", because the size attribute is already defined (xs, sm, lg...).
Describe the solution you'd like
It will be nice to have a prop for the length of the input (dimension not characters).
Describe alternatives you've considered

Additional context

Why don't you just use a class?
<UInput class="w-48" />

Because it don't works!!
It only works if are big widths...try small widths.
' // equivalent to 64px
But if you use the width with pixels, it works!
'
But it's not practical, and you loose a lot of time figuring out how to solve...unless you document it.
Thanks

After #509, it should work on the Edge version. You can try it by following: https://ui.nuxtlabs.com/getting-started/installation#edge


File event change but doesn't reload in browser- random

I have an issue with BrowserSync set up via Gulp in both Laravel Valet and VVV Vagrant workflows using WordPress. (Valet and VVV are not run at the same time - I just have noticed the issue in both)
I find that that new sites created work fine with BrowserSync and all watched files when changed update and the browser reloads - however randomly after a while the browser reload stops even though the file event change is recognised in the output. Other Gulp tasks carry on working normally just the BrowserSync stops.
I have macOS Sierra 10.12.6
Gulp 3.9.1
Node 8.11.3
BrowserSync 2.24.6
Once the issues occurs it fails in all browsers and on restart - it also fails if executed as a command in a terminal session - ie
browser-sync start --proxy "mysite.test" --files "*.css"

My gulp file task...
var gulp = require('gulp');
var gutil = require('gulp-util');
var browserSync = require('browser-sync').create();
var sitename = 'mysite';

// Fire up browserSync
gulp.task('sync', function() {
    browserSync.init({
        proxy: sitename +'.test',
	xip: true,

	files: ["./*.css","*.php","css/*css","lib/*.php", "includes/*.php", "includes-child/*.php", "includes-child/woocommerce/*.php", "includes-child/woocommerce/*.css"],

    });

});

My Task output
> Executing task: node_modules/.bin/gulp sync <

[18:26:01] Using gulpfile ~/Sites/mysite/wp-content/themes/mytheme/gulpfile.js
[18:26:01] Starting 'sync'...
[18:26:01] Finished 'sync' after 69 ms
[Browsersync] Proxying: http://mysite.test
[Browsersync] Access URLs:
 --------------------------------------------
       Local: http://<IP_ADDRESS>.xip.io:3000
    External: http://<IP_ADDRESS>.xip.io:3000
 --------------------------------------------
          UI: http://localhost:3001
 UI External: http://<IP_ADDRESS>.xip.io:3001
 --------------------------------------------
[Browsersync] Watching files...
[Browsersync] File event [change] : style.css
[Browsersync] File event [change] : style.css
[Browsersync] File event [change] : style.css
[Browsersync] File event [change] : style.css

Any thoughts?

wrong repo - closed


managed-gitops update: cherry pick #2557 to staging only, update components/gitops/staging/base/kustomization.yaml

Cherry pick the staging commit from https://github.com/redhat-appstudio/infra-deployments/pull/2557 to staging only.

/retest


[npm]npm ERR! code SELF_SIGNED_CERT_IN_CHAIN

 npm install
npm WARN registry Unexpected warning for http://registry.npmjs.org/: Miscellaneous Warning SELF_SIGNED_CERT_IN_CHAIN: request to https://registry.npmjs.org/babel-plugin-istanbul failed, reason: self signed certificate in certificate chain
npm WARN registry Using stale package data from http://registry.npmjs.org/ due to a request error during revalidation.
npm ERR! code SELF_SIGNED_CERT_IN_CHAIN
npm ERR! errno SELF_SIGNED_CERT_IN_CHAIN
npm ERR! request to https://registry.npmjs.org/@ant-design%2Ficons failed, reason: self signed certificate in certificate chain

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2023-01-14T16_08_12_975Z-debug.log

npm set strict-ssl false

yarn config set "strict-ssl" false


The JavaExecHandleBuilder generates invalid Class-Path entries

Current Behavior
When on windows, the behavior in JavaExecHandleBuilder to create Class-Path entries in the jar manifest is useful effort.
See #10544 and #10114
But the code in the master branch generates the entries with absolute URLs
https://github.com/gradle/gradle/blob/84a06b8c37547adcc2977ea696c4307ab2b3e0c3/subprojects/core/src/main/java/org/gradle/process/internal/JavaExecHandleBuilder.java#L405-L411
This is not what the JAR spec allows for the Class-Path attribute.
See: https://docs.oracle.com/en/java/javase/17/docs/specs/jar/jar.html#class-path-attribute
Those entries are supposed to be relative URL reference to the context of the jar file that contains those entries.
The absolute URL references are not considered valid.
See bullet point 2 of the above referenced javadoc (copy/pasted here)

A Class-Path entry is valid if the following conditions are true:

It can be used to create a URL, by resolving it against the context JAR’s URL.
It is relative, not absolute, i.e. it does not contain a scheme component, except for the case when the context JAR is loaded from the file system, in which case the file scheme is permitted for compatibility reasons.
The location of the JAR file or directory represented by this entry is contained within the containing directory of the context JAR. Use of "../" to navigate to the parent directory is not permitted, except for the case when the context JAR is loaded from the file system.

Invalid entries are ignored. Valid entries are resolved against the context JAR. If the resulting URL is invalid or refers to a resource that cannot be found, then it is ignored. Duplicate URLs are ignored.

Expected Behavior
The Class-Path entries should be generated as relative URL references to the JAR file that has those entries.
Context (optional)
No response
Steps to Reproduce
See examples at

https://stackoverflow.com/q/77055635/775715
https://stackoverflow.com/q/77017801/775715

Gradle version
all
Build scan URL (optional)
No response
Your Environment (optional)
No response

Sorry that you're having trouble with Gradle!
We appreciate the effort that went into filing this issue, but we must ask for more information.
As stated in our issue template, a minimal reproducible example is a must for us to be able to track down and fix your problem efficiently. Our available resources are severely limited, and we must be sure we are looking at the exact problem you are facing.
If we have a reproducer, we may be able also to suggest workarounds or ways to avoid the problem.
The ideal way to provide a reproducer is to leverage our reproducer template. You can also use Gradle Project Replicator to reproduce the structure of your project.
This issue will be closed after 7 days unless you provide more information.

While you provided us a great explanation about why it might be a problem, we want to be 100% sure that this is a problem in practice.

While you provided us a great explanation about why it might be a problem, we want to be 100% sure that this is a problem in practice.

There are 2 open questions that show the problem in practice on stackoverflow right now.
Both have examples, and logs, and details of the manifest.

https://stackoverflow.com/q/77055635/775715
https://stackoverflow.com/q/77017801/775715

Both happen to be on Windows.

I agree that your analysis is great. However, could you please provide a reproducer which demonstrates the issue in isolation? The issues you're pointing at contain some steps, sure, however, we're not 100% sure that the problem is caused by Gradle and not some integration issues.

Do you have an example project that uses JavaExecHandleBuilder that I can build a reproducer from?
If you ask me to build one, it's going to require a Windows box with multiple drive letters accessible from Java.

No, we don't have such a template. I think you can use the SO questions you mentioned and adapt the basic template I mentioned before. Creating a custom task with create<JavaExec> should be enough to reach JavaExecHandleBuilder.
We don't provide Windows boxes. I believe Microsoft has some free images available for testing.


Package not configuring

Hey,
although declared as stand alone, the CMakeLists.txt contains an install target called PROGRAMS, the cmake configure phase thus can't complete (because the target PROGRAMS is not declared in non-ros installations). We're using the class_loader in ROCK.

Thanks @hemker for reporting. This looks similar to https://github.com/ros/class_loader/pull/88
Can you confirm that it would solve your issue ?

@mikaelarguedas
Perfect, the PR solves the configure issue.
Thank you.

Fixed in #88


Increase 200 line limit

Neovim has hardcoded limit of 200 lines in messages.
If the output of a command produces more than 200 line at once (like some huge table), it might not be possible to capture it with this plugin.
However, I think a good improvement would be to append new messages to the bmessages buffer as opposed to overriding the whole message stack.
Another nice opt-in feature would be to store all the messages in some cache file and append to it.

Hey @sarmong this should be possible to implement as an additional feature. But it may become more involved in checking if a new message is a duplicate of the last message or not. I'm a bit busy atm with life but open to take any PRs that set it as a non-default option.


debian package install main docker-compose.yaml in /opt/moveit_pro/

Talking with @sea-bass I realized that it's to really needed as this is only used on CI and it currently works as is. Closing.


Revert "Resolve breaking change of adding a method to ChangeNotifier."

Reverts flutter/flutter#134953
Several failures on CI

[2023-09-18 16:14:51.463282] [STDOUT] stdout:   error • Static members from supertypes must be qualified by the name of the defining type • packages/flutter/test/material/app_test.dart:1573:5 • unqualified_reference_to_non_local_static_member
[2023-09-18 16:14:51.463397] [STDOUT] stdout:   error • 1 positional argument expected by 'maybeDispatchObjectCreation', but 0 found • packages/flutter/test/material/app_test.dart:1573:33 • not_enough_positional_arguments


issues with apex

Thanks a lot for providing the code.
Would someone please give more information on how to install apex properly, and also possibly which  apex version and pytorch version to ise.
I followed the steps here: https://github.com/NVIDIA/apex
I am using docker with image: pytorch/pytorch:1.6.0-cuda10.1-cudnn7-devel
Then I installed apex, as in the quick start instructions of apex, using:

pip install -v --disable-pip-version-check --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./

and it seems to have been installed successfully.
Currently, I am facing these issues, when attempting to train on fever (bash fever_train.sh):
1-line 167 from 'transformer-xh/main.py'
from apex.optimizers import FP16_Optimizer,  gives:

ImportError: cannot import name 'FP16_Optimizer' from 'apex.optimizers'.

I tried to solve this by doing: from apex.contrib.optimizers import FP16_Optimizer instead, based on https://github.com/NVIDIA/apex/issues/593
2- With the previous fix, I still face an error at line 176:

ModuleNotFoundError: No module named 'fused_adam_cuda'

Would someone please point at what I am doing wrong here?

closed, resolved through emails.


[dash0] deploy new releases automatically

I yoinked most of this from https://github.com/dash0hq/dash0/blob/main/.github/actions/deploy-development/action.yaml and adapted it for the otel-demo.


Unable to run Quarkus example project

I was trying to use Komapper (nice library by the way) alongside Quarkus, but ran into some nasty Gradle issues when configuring the project. Using the example projects from both Quarkus and this repo i am getting the error listed below.
I have tried with various combinations of Gradle/Kotlin versions but all see errors. Are you currently able to run the Quarkus example project successfully? I believe a workaround was added due to circular dependency issues which might be contributing, but it also doesnt work with that snippet.
I have a cut down sample repo that reproduces it here https://github.com/raharrison/quarkus-komapper-example
FAILURE: Build failed with an exception.

* What went wrong:
Some problems were found with the configuration of task ':compileTestKotlin' (type 'KotlinCompile').
  - Gradle detected a problem with the following location: 'C:\projects\build\classes\java\quarkus-test-generated-sources'.

    Reason: Task ':compileTestKotlin' uses this output of task ':compileQuarkusTestGeneratedSourcesJava' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

    Possible solutions:
      1. Declare task ':compileQuarkusTestGeneratedSourcesJava' as an input of ':compileTestKotlin'.
      2. Declare an explicit dependency on ':compileQuarkusTestGeneratedSourcesJava' from ':compileTestKotlin' using Task#dependsOn.
      3. Declare an explicit dependency on ':compileQuarkusTestGeneratedSourcesJava' from ':compileTestKotlin' using Task#mustRunAfter.

    Please refer to https://docs.gradle.org/8.0.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
  - Gradle detected a problem with the following location: 'C:\projects\build\classes\java\quarkus-test-generated-sources\grpc'.

    Reason: Task ':compileTestKotlin' uses this output of task ':compileQuarkusTestGeneratedSourcesJava' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

    Possible solutions:
      1. Declare task ':compileQuarkusTestGeneratedSourcesJava' as an input of ':compileTestKotlin'.
      2. Declare an explicit dependency on ':compileQuarkusTestGeneratedSourcesJava' from ':compileTestKotlin' using Task#dependsOn.
      3. Declare an explicit dependency on ':compileQuarkusTestGeneratedSourcesJava' from ':compileTestKotlin' using Task#mustRunAfter.

    Please refer to https://docs.gradle.org/8.0.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
  - Gradle detected a problem with the following location: 'C:\projects\build\classes\java\quarkus-test-generated-sources\avdl'.

    Reason: Task ':compileTestKotlin' uses this output of task ':compileQuarkusTestGeneratedSourcesJava' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

    Possible solutions:
      1. Declare task ':compileQuarkusTestGeneratedSourcesJava' as an input of ':compileTestKotlin'.
      2. Declare an explicit dependency on ':compileQuarkusTestGeneratedSourcesJava' from ':compileTestKotlin' using Task#dependsOn.
      3. Declare an explicit dependency on ':compileQuarkusTestGeneratedSourcesJava' from ':compileTestKotlin' using Task#mustRunAfter.

    Please refer to https://docs.gradle.org/8.0.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
  - Gradle detected a problem with the following location: 'C:\projects\build\classes\java\quarkus-test-generated-sources\avpr'.

    Reason: Task ':compileTestKotlin' uses this output of task ':compileQuarkusTestGeneratedSourcesJava' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

    Possible solutions:
      1. Declare task ':compileQuarkusTestGeneratedSourcesJava' as an input of ':compileTestKotlin'.
      2. Declare an explicit dependency on ':compileQuarkusTestGeneratedSourcesJava' from ':compileTestKotlin' using Task#dependsOn.
      3. Declare an explicit dependency on ':compileQuarkusTestGeneratedSourcesJava' from ':compileTestKotlin' using Task#mustRunAfter.

    Please refer to https://docs.gradle.org/8.0.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
  - Gradle detected a problem with the following location: 'C:\projects\build\classes\java\quarkus-test-generated-sources\avsc'.

    Reason: Task ':compileTestKotlin' uses this output of task ':compileQuarkusTestGeneratedSourcesJava' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

    Possible solutions:
      1. Declare task ':compileQuarkusTestGeneratedSourcesJava' as an input of ':compileTestKotlin'.
      2. Declare an explicit dependency on ':compileQuarkusTestGeneratedSourcesJava' from ':compileTestKotlin' using Task#dependsOn.
      3. Declare an explicit dependency on ':compileQuarkusTestGeneratedSourcesJava' from ':compileTestKotlin' using Task#mustRunAfter.

Are you currently able to run the Quarkus example project successfully?

Yes, it works.

I have a cut down sample repo that reproduces it here https://github.com/raharrison/quarkus-komapper-example

Your project also works.
I cannot reproduce your problem.
The problem may be specific to your environment. My environment is as follows:
$ ./gradlew -v

------------------------------------------------------------
Gradle 8.0.1
------------------------------------------------------------

Build time:   2023-02-17 20:09:48 UTC
Revision:     68959bf76cef4d28c678f2e2085ee84e8647b77a

Kotlin:       1.8.10
Groovy:       3.0.13
Ant:          Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM:          17.0.5 (Eclipse Adoptium 17.0.5+8)
OS:           Mac OS X 12.6 x86_64

Turns out it was an IntelliJ issue. Invalidating the caches and using Gradle directly from the terminal seems to work out ok for now 👍


Remove unused in-memory index hash

The series map on Measurement was updated and deleted but never
actually used.  Series keys can be very big since they are the
string representation of the measurement plus sorted tags.
Locally I see ~20%-30% reduction in memory usage with 1M series.

yesss +1

Nice!


Does this package use Google Places Geolocation API

Does this package use Google Places Geolocation API
Okay, my question is, on the introduction section of this package. There's the following note

This plugin uses the free Geocoding services provided by the iOS and Android platforms. This means that there are restrictions to their use. More information can be found in the Apple documentation for iOS and the Google documentation for Android.

Then Visiting Google Maps Billing i.e places tab , the current charge for geocoding as of now is $5 per 1000 requests.
So I guess my main question is, if this package uses a free API, why does Google Maps make us pay if we are to use their service instead. Is the Google Maps geocoding service i.e place cordinates and names just updated more frequently or something? My application heavily relies on GeoCoding by giving address to location co-ordinates. So what do you advise? Should I use the free Geocoding services throught this package or go with the paid Google maps geocoding API, is it worth it, or do they do 100% the same thing?
Thank you...

No this package uses the default geocoding services provided on the platform you run your App on. This means:

On Android we use the Geocoder API which relies on a backend service installed with Google Play Services;
On iOS devices we use  the CLGeocoder API which relies on a free version of the Apple Maps SDK.


feat: enable USE_DB_SERVICES flag on mainnet

This PR toggles the USE_DB_SERVICES feature flag on in the mainnet environments, enabling the usage of the new DB service methods rather than inline SQL queries via sequelize.

 Since it is enabled the behavior is to exclude phone from the valid set of recovery method kinds. The same flag exists in near-wallet but it is not enabled there. Not sure which is correct but I assume they both need to be enabled or disabled in order to function as expected.

enable ledger fail (didn't complete key deletion)

I can reproduce this but as far as I can tell it's because the frontend isn't calling the deleteRecoveryMethods endpoint to delete phrases. It looks like that second error (TypeError: l is undefined) is preventing the deletion from going through. I'll look at the frontend code to see where things might be going wrong.

I'm able to reproduce the same issue on mainnet, it looks like the Remove Existing Keys and Recovery Methods button only works to remove the keys from the blockchain.

enable email with ledger ok, but didn't change the key!

@stefanopepe could you clarify the behavior you're seeing with this one please? When I add an email recovery method with ledger enabled I don't see anything out of the ordinary. Is there something I should be looking for in particular?


Added a new fact

Closes #4

Closes #4

good job catching the issue in README @allenjamesvinoy14 . And nice facts xD.

This isn't even a valid JSON!


Patch 173

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (d35f33e) 83.90% compared to head (d007af9) 83.90%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #183   +/-   ##
=======================================
  Coverage   83.90%   83.90%
=======================================
  Files         269      269
  Lines       20044    20045    +1
=======================================
+ Hits        16818    16819    +1
  Misses       3226     3226

Flag
Coverage Δ

tests
83.90% <100.00%> (+<0.01%)
:arrow_up:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

This minor change allows aurora to explicitly pass the list of filters to remove during processing calibration.  Specifically, in the instance that no calibration is required, an empty list is passed.  Before this update, an empty list would trigger the channel_resposne to create a possibly non-empty list of filters.


Add a Server Errors (500s) panel just like NOT FOUND URLS (404S) panel

this is very crucial feature needed for analysing quickly, which urls are causing server errors, more important than the 404s
if possible please add the panel into the goaccess terminal as well in html format.

The possivel and now workaround is:

Change 404 status [%s field specifier] for 204 or  304 or 504.
Change  50x status for 404 and uri like a /uri to 50x@/uri;

Thus do you have a 404s panel with your 50x errors


Training job hangs after I delete a pod from kubernetes.

I found this issue too. when I pod is deleted, the task it was handling will be kept in master's pending queue. The whole training process might have been finished before the task timeout (20min). at the moment of task times out and get dispatched, no trainers are available to take it since tasks are all completed and trainers are all terminated.


Add Support for Reporting "Multiple Versions of Same Component"

This is an enhancement that is similar to #31, but this time I an interested in examining a single SBOM, rather than comparing two SBOM with each other.
I mainly use Maven and find that clashing component versions are normally resolved correctly, such that it is the latest version that actually gets included in my shaded jar.  But it does not always work...  occasionally, it's the older version that is used.
However,  my SBOMs report all versions... so all that is needed is to simply be able to analyse the SBOM and report that  a clash exists.  Once spotted,  such clashes are easy to resolve.

Available in v0.8.0


Can't add custom repository

Trying to add custom HACS repository on HA 2024.11.1 with HACS 2.0.1 gives me the error message:

<Integration nobodyguy/ha_prusaconnect_webcam_uploader_integration> Repository structure for main is not compliant

Thank you for the report. It should work now.


UDP/TCP packets getting dropped by container

docker info
Containers: 4
Images: 124
Storage Driver: devicemapper
Pool Name: docker-253:0-88356-pool
Pool Blocksize: 65.54 kB
Backing Filesystem: xfs
Data file:
Metadata file:
Data Space Used: 7.43 GB
Data Space Total: 107.4 GB
Data Space Available: 99.94 GB
Metadata Space Used: 9.302 MB
Metadata Space Total: 2.147 GB
Metadata Space Available: 2.138 GB
Udev Sync Supported: true
Library Version: 1.02.107-RHEL7 (2015-12-01)
Execution Driver: native-0.2
Kernel Version: 3.10.0-123.el7.x86_64
Operating System: Oracle Linux Server 7.2
CPUs: 2
Total Memory: 7.641 GiB
Name: ispaaaems1
ID: 6MUK:HS3D:OQTS:QMWY:WCKE:AZT6:COJP:F7EA:RPNX:7RHY:TKFB:D4LT
uname -a
Linux ispaaaems1 3.10.0-123.el7.x86_64 #1 SMP Wed Jul 9 18:59:11 PDT 2014 x86_64 x86_64 x86_64 GNU/Linux
Container OS is OEL6.6
I am sending a request from radius client , TCP/UDP packets are  reaching my host machine but not few packets(3 out of 5) are getting dropped by the container.

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

@ArshiaSayed can you pls try with the newer version of docker and open new issue?
This issue lacks activity due to missing docker version output and networking is changing at very fast pace.