Android requestMultiple not handling blocked state properly

Bug report
Summary
When using the requestMultiple and clicking the Do not ask again OS checkbox. The method returns state RESULTS.DENIED while it should be RESULTS.BLOCKED in some cases.
Environment info
react-native info output:
System:
    OS: macOS 11.3.1
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 262.54 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.16.1 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 6.14.12 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.10.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
    Android SDK:
      API Levels: 28, 29, 30
      Build Tools: 28.0.3, 29.0.2, 29.0.3, 31.0.0
      System Images: android-19 | Intel x86 Atom, android-23 | Intel x86 Atom_64, android-24 | Intel x86 Atom_64, android-29 | Intel x86 Atom_64, android-29 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 4.1 AI-201.87<IP_ADDRESS>99119
    Xcode: 12.5/12E262 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_271 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1
    react-native: 0.63.3 => 0.63.3
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Library version: 3.0.3
Steps to reproduce

Request 2 permissions using the requestMultiple (for example PERMISSIONS.ANDROID.CAMERA and PERMISSIONS.ANDROID.RECORD_AUDIO)
accept first (camera) and decline second (audio) -> this correctly ends with [GRANTED, DENIED]
Call the same request again (now only the audio permission is prompted). Check the Don't ask again checkbox and decline the audio permission again.
The request incorrectly results in [GRANTED, DENIED]

What you expected to happen:
The second call should result in [GRANTED, BLOCKED]
Reproduced on Android 8.0 (Sony Xperia X)

Thanks, i just published version 3.0.4 with it: https://github.com/zoontek/react-native-permissions/releases/tag/3.0.4


Docker Image - Host Not Found, Connection Times Out

I've started your tutorial with the Docker image and I'm already stuck. When I run ssh-keygen, I'm told the IP is not found in the known_hosts file.
$ ssh-keygen -f "~/.ssh/known_hosts" -R ${ip_ct_test};
Host <IP_ADDRESS> not found in /c/Users/merlin/.ssh/known_hosts

I assume this is actually okay because the comment above is about preventing collisions. But then I proceed and attempt to ssh in and I get a time out error
$ ssh ${ip_ct_test}
ssh: connect to host <IP_ADDRESS> port 22: Connection timed out

Thoughts on the issue?

Yes you can ignore that ssh-keygen error message.
For the other, please try ...
docker ps -a

... and ...
docker ps

The first lists all your created containers.  The second lists all created containers that are actually running.
I suspect you just need to do
docker start ${  your container   }

docker ps lists my container as running. I ran the docker start command anyway and tried ssh again. I got the same timeout error.
I am trying to do this on Windows though I don't think that should make much of a difference

Figured it out. Apparently I need to ssh into the Docker machine first and then ssh into the container.
$ docker-machine ssh default
docker@default:~$ ssh<EMAIL_ADDRESS>

Oh dear.  That's a Windows  "thing"  I knew nothing about.
In that case, you are running a virtual machine in a virtual machine. :-(
If you have some alternative virtualization, (eg, VMWare, VirtualBox, Hyper-V) etc. that you prefer and that runs Xubuntu correctly, you might be better off.  I don't know.  I really don't know much about Windows.


[BrokenLinksH2] Fix path in link

Fixing broken link

Docs Build status updates of commit 729428d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamics-nav/Preparing-for-Deploying-Microsoft-Dynamics-NAV-on-Microsoft-Azure.md
:bulb:Suggestion

Details

dynamics-nav/Preparing-for-Deploying-Microsoft-Dynamics-NAV-on-Microsoft-Azure.md

Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@SusanneWindfeldPedersen - Please can you review and merge, or comment in the PR with any changes you'd like to see. Thanks!

I have also updated the FwLink.


Error: Unknown error (INVALID_PROTO) RELAYD

Using this version:
Powered by LuCI Master (git-18.207.66253-ddf4c2b) / OpenWrt SNAPSHOT r7561-7316515
Problem:
RELAYD / Router is working, but luci says "Error: Unknown error (INVALID_PROTO)"
Installed Packages:
relayd 2016-02-07-ad0b25ad-2
luci-proto-relay  git-18.207.66253-ddf4c2b-1

Try a reboot, this error is reported by netifd and cannot be fixed in LuCI.


[wip] Think through the monitoring system

We are going to need a way to monitor externally, the delta between master/ and the deployed content does not drift past a reasonable state ( ~ 6 to 8 hrs ? )

Should detect:

Failed builds
Missing builds

Do we have this in zabbix? (@jfchevrette)


Trusty ACE too old for gcc-7

On Ubuntu Trust (as used on Travis), the system version is ace-6.0.3. Using a recent gcc gives an error when compiling Gadgetron
/usr/include/ace/TSS_T.cpp:357:39: error: no matching function for call to
ACE_Thread::keycreate(ACE_thread_key_t*, void (*)(void*), void*)(void *) this);

see an example Travis log. This is likely due to the fact that the ACE configuration files don't know about this compiler yet. A probably related message on compiling ACE 6.1 and later with gcc-8.1 is here.

We cannot do anything about this, aside from building it, but see #174


fluxctl: 1.15.0 -> 1.16.0

Motivation for this change
https://github.com/fluxcd/flux/releases/tag/1.16.0
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

Notify maintainers
cc @Gonzih

This change is

hey @nlewo, could you please also take a look at #72289? thanks!


chore: remove eslint

we're completely on typescript (except for our cypress tests), so there's almost
no benefit in using eslint. on the other hand i frequently have problems when
working with fixtures as those seem to trip up the eslint-call in our pre-commit
hook.
bye bye!

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

v5.2.7
GitHub release

Your semantic-release bot :package::rocket:


Request code to add copy function

Hello, when I use
Console.WriteLine("hello")

it cannot be copied automatically. If it is possible, can you add this function? Thank you

A button shown on top-right of the code area to copy all text in this area, like the GitHub one?

I will give it a try :)

A button shown on top-right of the code area to copy all text in this area, like the GitHub one?

I will give it a try :)

yes,like this
thanks!谢谢


Mark OS Specific APIs

In Net5.0 and onwards the Platform Compatability Analyzer will be enabled by default.
We should mark OS Specific APIs using SupportedOSPlatform and UnsupportedOSPlatform.

@Perksey do upstreams mark such OS specific APIs somehow?

Unfortunately not, this will have to be functionality defined in generator.json somehow.

That's unfortunate.
We should in the future also look into targeting only the platforms that we want to target, which automatically hides stuff like iOS packages from windows targeting people. (net5.0 onwards)

In 3.0 we want to exclusively target net6.0 so assigning this to that milestone.


After Register not redirect to login page

@jeevan10017 I see that after registration, it does not redirect to the login page.

@Pushpa472 linking doesn't counts under contribution. Try to find more issues/bugs/ features  and integrate it
Thank you

ok


TypeError: Invalid value used as weak map key

Hi,
While trying this out, I got the error TypeError: Invalid value used as weak map key
My test code looks roughly like:
const puppeteer = require('puppeteer');
const Polly = require('@pollyjs/core').Polly;
const { PuppeteerAdapter } = require('@pollyjs/adapter-puppeteer');

// skipping setup/teardown in this example
it('does foo', async function() {
  let page = await browser.newPage();

  Polly.register(PuppeteerAdapter);
  await page.setRequestInterception(true);

  const polly = new Polly('first_recording', {
    adapters: ['puppeteer'],
    adapterOptions: {
      puppeteer: { page }
    }
  });

  polly.connectTo('puppeteer');
  await page.goto('http://example.com');
  polly.disconnectFrom('puppeteer');

});

The stack trace:
     TypeError: Invalid value used as weak map key
      at WeakMap.set (native)
      at WeakMap.<anonymous> (node_modules/@pollyjs/core/dist/cjs/pollyjs-core.js:1586:34)
      at Function.register (node_modules/@pollyjs/core/dist/cjs/pollyjs-core.js:4054:28)
      at Context.<anonymous> (test/pollyjs-hello-world.js:129:13)
      at <anonymous>
      at process._tickCallback (internal/process/next_tick.js:188:7)

I'm running node v8.11.3.  Help!

Change:
const { PuppeteerAdapter } = require('@pollyjs/adapter-puppeteer');
to
const PuppeteerAdapter = require('@pollyjs/adapter-puppeteer');
Feel free to comment/reopen if this doesn't address your issue.


Fix static analyzer

Bug Report
More info:
https://github.com/php-soap/psr18-transport/pull/13
ERROR: MixedArgumentTypeCoercion - src/Middleware/Wsdl/DisableExtensionsMiddleware.php:21:15 - Type mixed should be a subtype of Psr\Http\Message\ResponseInterface (see https://psalm.dev/194)
            ->then(function (ResponseInterface $response): ResponseInterface {

ERROR: MixedArgumentTypeCoercion - src/Middleware/Wsdl/DisablePoliciesMiddleware.php:20:15 - Type mixed should be a subtype of Psr\Http\Message\ResponseInterface (see https://psalm.dev/194)
            ->then(function (ResponseInterface $response): ResponseInterface {

The issue here is related to httplug/promise 1.2 and the
Plugin not specifying the generic Promise's  type.
It's on their radar: https://github.com/php-http/client-common/issues/235

Fixed by upgrading psalm


Basic usage not working

Hi, i tried creating an inferno app using this tool but it's generating a broken app.
Environment:

Windows 10
Chrome 65.0.3325.125 (latest at this time)
node v9.8.0
npm v5.7.1
npx v9.7.1

Steps:

npx create-inferno-app test
cd test
npm start

Expected behavior: localhost:3000 should load a working inferno-based app
Actual behavior: the local server starts fine, but delivers an app which renders nothing and crashes with the following error:
Uncaught TypeError: Cannot read property 'close' of undefined
    at Object.<anonymous> (index.js:72)
    at Object../node_modules/inferno-dev-utils/node_modules/chalk/index.js (index.js:228)
...

Here's a screenshot of the error: https://www.screencast.com/t/ghJsLdwMr8UG
Please advise :)
Thank you for your time!

Strange, I cannot reproduce this in Windows / Linux

Maybe it's environment-specific. I suggest closing it after a while if nobody else reports having the same issue. Thank you.

The next major version will require Node 20 or newer.


Error link to data source

The newly committed link for Train data throws a 404 error: https://drive.google.com/drive/folders/1zdHsSb-xHhY8imIy3uWt_XfBW_YQX4Vh
I guess it has not been made public yet.

Should work now.


Support template-based variable for secure and reuse specifications

Objective

To hide sensitive values from all users by using templates with variable support in specifications, allowing for reusable and secure configurations.
Current System State

Currently, specifications are statically compiled, which means all values must be determined at compile time. This results in sensitive information, such as database credentials, being directly included in the specification and exposed to all users. Additionally, the static nature of the current system makes it difficult to reuse specifications across multiple environments.
Proposed Changes

- kind: block
  specs:
    - kind: rdb
      driver: postgresql
      source: 'postgresql://{{ username }}:{{ password }}@{{ host }}:{{ port }}/{{ database }}'
  links:
    init:
      - name: postgresql
        port: in

- kind: snippet
  name: postgresql
  language: json
  code: >
    {
      "username": "myuser",
      "password": "mypassword",
      "host": "localhost",
      "port": 5432,
      "database": "mydatabase"
    }

Using runtime variables as first-class objects is not ideal due to the varied security requirements and formats of these variables. Instead, we can designate an initialization port init to initialize the specification. Using the load hook, a request is sent to the init port when the symbol is loaded, creating a packet based on the symbol's specification. The response is used as environment variables during the initialization of the specification.
These environment variables, along with the target sub-specification, are rendered using a template engine to produce a complete specification, which is then compiled to the sub-node. This approach allows for flexible control over variables and lets users define the template format, enhancing extensibility. Additionally, the init process can define compilation dependencies across workflows.
Some specification parameters need to be obtained at runtime rather than compile time. If the specification itself does not support payload-based expressions, these variable specifications must be supported not only at the initialization stage but also during the runtime when packets are transmitted.
- kind: block
  specs:
    - kind: snippet
      language: cel
      code: self.data
    - kind: write
      filename: '{{ filename }}'

It may not be the most elegant solution.
this method requires an additional specification to wrap the variable specification. Since other nodes might reference the port during compilation, intermediate ports need to expose the internal node's ports externally, which can lead to performance overhead.
Additional Information

Integrating environment variables and secret information into the existing workflow logic using the init port can increase workflow complexity and expose sensitive information to users who should not have access, as they could retrieve these variables and secrets with the same permissions as the workflow. Therefore, the existing approach is not suitable.
Instead, we plan to provide these as first-party resources managed at the same level as the nodes.


Add heu processor library files (for secure boost scheme phase 2)

Add the heu library implementation for the processor interface of secure xgboost. The processor interface is defined in #10124. @ZiyueXu77 @trivialfis
The heu relative code is here, and work is still in progress.

I wonder what's the specific purpose of introducing heu?

Hmm, may I get an introduction to this? I couldn't find any proposal for including a different library/dependency's complete source code into xgboost?

Hello,
In line with our conversations highlighted in Issue #9987 on the XGBoost repository, I would like to introduce HEU, an open source Homomorphic Encryption library. This library is integral to powering the secureboost feature within the SecretFlow project and boasts high-performance Partially Homomorphic Encryption (PHE) operations.
To facilitate this, we have developed a processor interface for HEU that aims to enhance the secureboost functionality currently implemented in XGBoost. We welcome you to test it out and benchmark its performance.
Please note that the pull request provided is a preliminary draft meant to showcase our ongoing efforts. We are open to discussions on how best to seamlessly integrate this functionality into the existing XGBoost SecureBoost framework.
Thank you for considering this enhancement. Your feedback would be greatly appreciated!


Jest hangs up on coverage with bail option

🐛 Bug Report
With bail flag jest hangs up a computer on Running coverage on untested files. It becomes completely unusable even mouse doesn't work.
So basically when we have a lot of untested files.
To Reproduce

Change some test to fail
Run yarn jest --coverage --bail

Expected behavior
It should consume resources as normal and should not hang up a computer

Link to repl or repo (highly encouraged)
It reproduces even in jest repo so I leave it empty
envinfo
  System:
    OS: macOS 10.15.6
    CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
  Binaries:
    Node: 14.0.0 - ~/.fnm/current/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.4 - ~/.fnm/current/bin/npm

Note that this bug reproduces even on i9 with 16GB RAM.

Duplicate of #9401

Thanks @apaatsio


Crop Aspect Ratio

I would like to know what should I do so as to enable a 1/1 crop ration and resize the image before saving the image.  Is there an option to do that in the plugin?

I also have a need to restrict my crop window to a particular aspect ratio, and resize the image prior to upload.  Do these features exist?


Xcode 13 Problem "dyld: Library not loaded: @rpath/SQLite.framework/Versions/A/SQLite"

I have used SQLite.swift before in an iOS project and it worked fine (Many thanks)
I recently updated to Xcode 13 and downloaded the latest SQLite.swift-master
Dragged/Dropped it into my MacOS application project and it built OK but when I run it I get the errors;
dyld: Library not loaded: @rpath/SQLite.framework/Versions/A/SQLite
Referenced from: /Users/username/Library/Developer/Xcode/DerivedData/CSS_Editor-bgoenpovwcecaffqishrfloactge/Build/Products/Debug/CSS_Editor.app/Contents/MacOS/CSS_Editor
Reason: no suitable image found.  Did find:
/Users/username/Library/Developer/Xcode/DerivedData/CSS_Editor-bgoenpovwcecaffqishrfloactge/Build/Products/Debug/SQLite.framework/Versions/A/SQLite: code signature in (/Users/username/Library/Developer/Xcode/DerivedData/CSS_Editor-bgoenpovwcecaffqishrfloactge/Build/Products/Debug/SQLite.framework/Versions/A/SQLite) not valid for use in process using Library Validation: mapping process has no Team ID and is not a platform binary
/Users/username/Library/Developer/Xcode/DerivedData/CSS_Editor-bgoenpovwcecaffqishrfloactge/Build/Products/Debug/SQLite.framework/Versions/A/SQLite: stat() failed with errno=1
/Users/username/Library/Developer/Xcode/DerivedData/CSS_Editor-bgoenpovwcecaffqishrfloactge/Build/Products/Debug/CSS_Editor.app/Contents/MacOS/../Frameworks/SQLite.framework/Versions/A/SQLite: code signature in (/Users/username/Library/Developer/Xcode/DerivedData/CSS_Editor-bgoenpovwcecaffqishrfloactge/Build/Products/Debug/CSS_Editor.app/Contents/MacOS/../Frameworks/SQLite.framework/Versions/A/SQLite) not valid for use in process using Library Validation: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)
/Users/username/Library/Developer/Xcode/DerivedData/CSS_Editor-bgoenpovwcecaffqishrfloactge/Build/Products/Debug/CSS_Editor.app/Contents/MacOS/../Frameworks/SQLite.framework/Versions/A/SQLite: stat() failed with errno=1
I din't remember doing anything different from what I did for iOS and MacOS. Am I missing something or is this a known issue

I am actually having the same issue right now. I don't really see how anything is changed on my side which i didn't really change and i get missing symbols

The error message seems to indicate that it is  a problem with code signing, so maybe a problem with your project set up?

@nikiizvorski in your application you have a framework which depends on SQLite? Have you tried downgrading cocoapods? Did you add the SQLite dependency to the framework target, or the app target?

Hey @jberkel we used a previous version of cocoapod that was quite old and it was working good as we tested it. Next step i will try again to downgrade to a previous version. Which one do you believe it would be the best? The dependency is added to the XCFramework and it is with Do not embed and into the test app is do not embed also but also it is been installed manually this is the usage in both:
pod 'SQLite.swift', '~> 0.13.0'

I have tried completely downgrading to 1.10.2 and same issue. After i downgraded to 1.8.4 version everything worked as expected. Seems something have to be updated. Even if it's manual i would appreciate the help for example editing the paths somehow i don't really have any good idea right now but taking suggestions. The SQLite implementation you guys have is awesome and works very very well. I even added tests to it and we are happy with it.

Have you tried static linking with use_frameworks! :linkage => :static ?

Hey @jberkel should that be in both project or only the app side?

After using the suggestion seems to work as expected! I am using cocoapods 1.10.0 currently. Maybe i should switch to a higher version. Here is the issue i am getting right now:
objc[367]: Class PodsDummy_SQLite_swift is implemented in both /private/var/containers/Bundle/Application/7ACF543F-7E06-4FE7-95AD-6DC441A5A1A4/NikiApp.app/Frameworks/TestSDK.framework/TestSDK (0x101c9e408) and /private/var/containers/Bundle/Application/7ACF543F-7E06-4FE7-95AD-6DC441A5A1A4/NikiApp.app/NikiApp (0x101125770). One of the two will be used. Which one is undefined.
objc[367]: Class _TtC6SQLiteP33_AC67620244ED67AEDED85ABF4E1A194813SQLiteEncoder is implemented in both /private/var/containers/Bundle/Application/7ACF543F-7E06-4FE7-95AD-6DC441A5A1A4/NikiApp.app/Frameworks/TestSDK.framework/TestSDK (0x101ca5de0) and /private/var/containers/Bundle/Application/7ACF543F-7E06-4FE7-95AD-6DC441A5A1A4/NikiApp.app/NikiApp (0x101125a70). One of the two will be used. Which one is undefined.

I have tried having the following which works and i am using version 1.10.0 right now. It's used in both projects framework and app
use_frameworks! :linkage => :static

What i get as output is the following
objc[367]: Class PodsDummy_SQLite_swift is implemented in both /private/var/containers/Bundle/Application/7ACF543F-7E06-4FE7-95AD-6DC441A5A1A4/NikiApp.app/Frameworks/TestSDK.framework/TestSDK (0x101c9e408) and /private/var/containers/Bundle/Application/7ACF543F-7E06-4FE7-95AD-6DC441A5A1A4/NikiApp.app/NikiApp (0x101125770). One of the two will be used. Which one is undefined.
objc[367]: Class _TtC6SQLiteP33_AC67620244ED67AEDED85ABF4E1A194813SQLiteEncoder is implemented in both /private/var/containers/Bundle/Application/7ACF543F-7E06-4FE7-95AD-6DC441A5A1A4/NikiApp.app/Frameworks/TestSDK.framework/TestSDK (0x101ca5de0) and /private/var/containers/Bundle/Application/7ACF543F-7E06-4FE7-95AD-6DC441A5A1A4/NikiApp.app/NikiApp (0x101125a70). One of the two will be used. Which one is undefined.

What i use and i think i need more than the static is dynamic which doesn't seem to find the dependency
use_frameworks! :linkage => :dynamic

What i get as output is the following
dyld: Symbol not found: _$s6SQLite10ConnectionC8LocationO8inMemoryyA2EmFWC
  Referenced from: /private/var/containers/Bundle/Application/4A52E5A2-2A12-457C-A0AC-BADD4A3F6BFB/NikiApp.app/Frameworks/TestSDK.framework/TestSDK
  Expected in: /private/var/containers/Bundle/Application/4A52E5A2-2A12-457C-A0AC-BADD4A3F6BFB/NikiApp.app/Frameworks/SQLite.framework/SQLite
 in /private/var/containers/Bundle/Application/4A52E5A2-2A12-457C-A0AC-BADD4A3F6BFB/NikiApp.app/Frameworks/TestSDK.framework/TestSDK
dyld: launch, loading dependent libraries
DYLD_LIBRARY_PATH=/usr/lib/system/introspection
DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib

From this i should be able to get some suggestions right? Once again it's highly appreciated. I believe with the old version it was linked dynamically because i never got duplicate symbols on 1.8.4
Once again. Really appreciate the feedback and all the help you have provided. If i could get them to link dynamically would be perfect.

It looks like the libraries are not part of the resulting binary. It's really hard to help you without access to the project, and I'm fairly  sure that this is not a problem with SQLite.swift, but a problem with your project setup, so will close this issue.
I'd suggest starting a new minimal project from scratch, and see if the pod integration works there.

/Users/nikiizvorski/Library/Developer/Xcode/DerivedData/NikiApp-cueifmmncljweneycdourckmtrke/Build/Products/Debug-iphoneos/TestSDK.framework/Modules/TestSDK.swiftmodule/arm64-apple-ios.swiftinterface
/Users/nikiizvorski/Library/Developer/Xcode/DerivedData/NikiApp-cueifmmncljweneycdourckmtrke/Build/Products/Debug-iphoneos/TestSDK.framework/Modules/TestSDK.swiftmodule/arm64-apple-ios.swiftinterface:12:8: Cannot load underlying module for 'SQLite'
That's the latest error get no matter how i add the dependency it will always complain. I see absolutely nothing wrong with the current project it's the same as the previous one. Maybe it could be the XCode version but i rather not switch that at this stage.


Cleanup unused prow scripts

These scripts are no longer needed; the prow just just directly call the
targets.
Please provide a description for what this PR is for.
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
x] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: howardjohn
To complete the pull request process, please assign utka
You can assign the PR to them by writing /assign @utka in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

prow/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: howardjohn, icygalz
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

prow/OWNERS [icygalz]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@howardjohn: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/integ-new-installer-k8s-presubmit-tests.sh
f52966fcdf31392b3a27d9023ae6a3d74812241c
link
/test integ-new-install-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/integ-new-installer-k8s-presubmit-tests.sh
f52966fcdf31392b3a27d9023ae6a3d74812241c
link
/test integ-new-install-k8s-presubmit-tests-master

prow/integ-mixer-k8s-presubmit-tests.sh
f52966fcdf31392b3a27d9023ae6a3d74812241c
link
/test integ-mixer-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Add Str(const String &) noexcept constructor

I was actually working on a PR to do this a day or two ago, thanks for this!


Starting to add e2e tests for fastlane build reporter

NOTE: These are definitely not done, just creating this PR to get some feedback on what i've done and how they can be improved/added to. I am sure there are places that I can reduce code, or simplify things.
One area that I have been unable to get working is checking if mapped values are correct. i.e. when providing source control a dict of key value pairs is created, but I have been unable to index individual values from the dict.
My attempts so far went along the lines of:
And the field "sourceControl.revision" for multipart request 0 equals "12345" Where the value revision was passed as "12345".
Goal
There are currently no or few e2e tests for Fastlanes send_build_to_bugsnag function. This PR intends to rectify that making it easier to test future changes to the tool.
Design
Cucumber was used for e2e tests, with most changes being inspired by similar e2e tests for Fastlane dsym upload functions.
Changeset
fastlane_build_report.feature file added to house all build reporting scenarios. Modifications made to other files to enable test functionality.
Testing
Not sure what to put here. Test run locally?

Note that the repo is using a very old version of Maze Runner (v1, latest is v7).  That's kind of ok and I wouldn't try to change that here, but if we're embarking on improving the tests then I would suggest bring it up-to-date sooner rather than later (as a separate PR).

For the testing section in the description, I think there's an opportunity here to set up a basic CI pipeline at the same time - that's what will really reinforce the use of the tests.  Let's have a chat IRL about how we might put that into place.


⬆  Bump main to 5.0.0~pre1

The ign-gui4 branch was created off main for the Dome release.
Now bumping main to version 5 so it may receive breaking changes.

There are references in tutorials for 4.0 version of API docs. I think that we are not generating documentation for main/master branch, is this correct?

Nice catch, yes that's correct. I don't think we have a better link to point these tutorials to now. This is not ideal because once we release Edifice we may forget to update these links :confused:


Removed CPP restriction on Control.Monad

The void operator does exist in older versions of
Control.Monad. Removing this constraint allows stack based builds to
occur successfully under lts-6.27.

Thanks, @AndrewRademacher. I was trying to squelch a warning under GHC 7.10, but I guess I was overzealous. Sorry about that.


Payment sheet not opening with Error Code: Failed. The operation couldn't be completed Stripe.PaymentSheetError error 1

Describe the bug
Every time I create payment intent it gets processed but the Payment Sheet appears and immediately goes out not allowing the user to introduce a credit card or choose any payment method available.
CLIENT CODE
  const fetchPaymentSheetParams = async () => {
    const response = await fetch(
      `${stripeAPI}/payment-sheet`,
      {
        method: 'POST',
        headers: {
          'Content-Type': 'application/json',
        },
        body: JSON.stringify({
          amount: parseInt(price),
          customerId: 'cus_N7fSPqEmxp7M0e',
          description: `${name} · ${date} · ${organizer}`,
        }),
      },
    )
    const {
      paymentIntent,
      ephemeralKey,
      customer,
      error,
    } = await response.json();
    return {
      paymentIntent,
      ephemeralKey,
      customer,
      error,
    };
  };

  const initializePaymentSheet = async () => {
    const {
      paymentIntent,
      ephemeralKey,
      customer,
      publishableKey,
    } = await fetchPaymentSheetParams();

    const {error} = await initPaymentSheet({
      customerId: customer,
      merchantDisplayName: 'Flow',
      customerEphemeralKeySecret: ephemeralKey,
      paymentIntentClientSecret: paymentIntent,
      allowsDelayedPaymentMethods: true,
      // returnURL: 'stripe-example://stripe-redirect',
      defaultBillingDetails: {
        name: 'Flow',
      },
    });
    if (error) {
      console.log('STRIPE ERROR', error.code, error.message)
    } else {
      setLoading(true);
    }
  };

  const openPaymentSheet = async () => {
    const {error} = await presentPaymentSheet();

    if (error) {
      Alert.alert(`Error code: ${error.code}`, error.message);
    } else {
      Alert.alert('Success', 'Your order is confirmed!');
    }
  };

  useEffect(() => {
    initializePaymentSheet();
  }, []);

SERVER CODE
var express = require('express')
const stripe = require('stripe')('sk_test_51MMuO2DkPvEybFTYGd0vu...00J5MeamHA');
const app = express()

app.post('/payment-sheet', async (req, res) => {
  let { amount, customerId, description } = req.body;
  const customer = await stripe.customers.retrieve(customerId);
  const ephemeralKey = await stripe.ephemeralKeys.create(
    {customer: customer.id},
    {apiVersion: '2022-11-15'}
  );
  const paymentIntent = await stripe.paymentIntents.create({
    amount: amount,
    currency: 'eur',
    customer: customer.id,
    setup_future_usage: 'off_session',
    description: description,
    // payment_method_types: ['card'],
    automatic_payment_methods: {
      enabled: true,
    },
  });

  res.json({
    paymentIntent: paymentIntent.client_secret,
    ephemeralKey: ephemeralKey.secret,
    customer: customer.id,
    publishableKey: 'pk_test_51MMuO2DkPvEybFTYugmJEOiRKMnY...oI000JNQ2KrRl'
  });
});

Expected behavior
On payment button tap, show the PaymentSheet with the possibility to choose a payment method (enter a card number or choose any other option) and complete the payment.
Screenshots

Smartphone (please complete the following information):

Device: iPhone 14 pro
OS:iOS 16.2
React Native Mobile App

Additional context
Using "@stripe/stripe-react-native": "0.19.0"
Everything seems correct, the fetchPaymentParams function post works correctly. The sheet appears for a second with a spinner and goes out throwing the following error:
Error Code: Failed.
The operation couldn't be completed Stripe.PaymentSheetError error 1

Please delete the issue, the problem was the amount, was too small, everything works fine now. Sorry for the inconvenience.

thanks for following up @matmac !


Silence warnings

This PR silences two warnings:

In CDSPResampler.h, initialize NormFreq, as e.g. VS2017 cannot infer that it will be initalized on all code paths, at least not in debug builds.

In CSDPBlockConvolver.h, there are two variable declarations named op in the same function on different nesting levels, which also causes a warning on various compilers.

Thanks for the tip - I've updated the source code.


Building package suitesparse:x64-windows failed

Environment
OS: win10
Compiler: vs2019
:\vcpkg>vcpkg install g2o:x64-windows
Computing installation plan...
The following packages will be built and installed:
g2o[core]:x64-windows

suitesparse[core]:x64-windows
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
Could not locate cached archive: C:\Users\Administrator\AppData\Local\vcpkg\archives\ed\ede17f4001ea5a12ee48042cb99172004850c8a6.zip
Could not locate cached archive: C:\Users\Administrator\AppData\Local\vcpkg\archives\de\ded744d08e1819c5a197d0b21c81ec90b2819a23.zip
Starting package 1/2: suitesparse:x64-windows
Building package suitesparse[core]:x64-windows...
-- Downloading https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/71e330ca2bc0a2f12f416c461d23dbca21db4d8f.tar.gz...
-- Downloading https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/71e330ca2bc0a2f12f416c461d23dbca21db4d8f.tar.gz... Failed. Status: 18;"Transferred a partial file"
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:182 (message):
Failed to download file.
If you use a proxy, please set the HTTPS_PROXY and HTTP_PROXY environment
variables to "https://user:password@your-proxy-ip-address:port/".
Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issues

Call Stack (most recent call first):
scripts/cmake/vcpkg_from_github.cmake:143 (vcpkg_download_distfile)
ports/suitesparse/portfile.cmake:1 (vcpkg_from_github)
scripts/ports.cmake:136 (include)
Error: Building package suitesparse:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: suitesparse:x64-windows
Vcpkg version: 2020.11.12-nohash
Additionally, attach any relevant sections from the log files above.
Expected behavior
I hope to see the solutions to solve this error and build the g2o successfully.
Failure logs
rror: Building package suitesparse:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: suitesparse:x64-windows
Vcpkg version: 2020.11.12-nohash

Seems your network couldn't download the source package, please set a proxy then try again.
Thanks.

How can I install this package to skip step

vcpkg doesn't provide the binaries directly, the port should be downloaded and built.

thanks


Adding sphinx_panels to pip requirements

Adding missing sphinx_panels dependency within docs/requirements.txt file

:tada: This PR is included in version 1.3.13-develop.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.6.0-develop.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.6.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


When creating an Inbound Endpoint using Developer Studio, it shows a warning before anything is done

Description:
originally reported at https://github.com/wso2/product-ei/issues/2227
Suggested Labels:

Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

Fixed


Fix tests after restructuring of evaluation

This PR fixes the tests, making sure that they can run under the new evaluation structure.
I included words, all_cmds, and 1M.txt so that the tests can run without anything being online.

@nvasilakis if you find that OK, feel free to merge

We need to figure out what is wrong with the link, because it now returns not found

@nvasilakis both  evaluation/tests/input/all_cmds.txt and  evaluation/tests/input/words also need to be pulled from somewhere (here and in the evaluation/benchmarks/oneliners/input/setup.sh where they are currently not pulled).

@angelhof it turns out that the URL prefix was wrong — not sure how we missed this after that time when apha.ndr.md went offline a year ago (I can now see why "this hasn't worked more times than it has":-). I added generation fallback when links fail, and we can copy to other input scripts (cc @dkarnikis)
When ready, please merge-by-squash because to jettison all obsolete input files:-)


[BUG] Build fails for version 2.6.0

What is the bug?
Preparing for 2.6 includes changing dependencies from 3.0.0 to 2.6.0-snapshot cause issues for both job-scheduler dependency and opensearch dependency
How can one reproduce the bug?
Steps to reproduce the behavior:

change OpenSearch & job-sdheduler version dependency’s to 2.6

What is the expected behavior?
it should work
What is your host/environment?

OS: [e.g. iOS]
Version [e.g. 22]
Plugins

Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.

found to be a non-issue...


Release notes

Describe the feature request
It would be great if you have release notes

Naman writes release notes for every minor version release https://stylexjs.com/blog/


Support for pod structure.

I would be nice to have support for the pod project structure in ember-mode. This would also help with future compatibility with ember-cli. I believe pod structure will be the default in future versions of ember-cli.

Hi rlb3,
We have considered POD support before but did not find a direct need for it in our current projects. Ember-mode alleviates many issues the POD structure solves.  We did not find a solid way to see if the project was built with PODs or not and the format of the POD structure was still evolving.  As time moves on, POD support indeed becomes more and more relevant and we certainly aim to support it in the long run.
Support for using POD structures should not be hard to add at first sight, given that a project is either fully structured with PODs, or fully without them.  Do you know of an easy way to check if the current project is following the POD structure?  That could greatly speed up adoption.  Ideally speaking, we can run the ember and request info about the current project.  Any pointers?

The only way to tell if a project it using pod structure is to look in the .ember-cli file in the root of the project. It contains json for command line switches that should always be applied. For example:
{
  "disableAnalytics": false,
  "usePods": true
}

The problem is that a user can add --pod to every command they run. It may be easier to have a custom group option that lets the user specify what layout they have.

I don't think either using the hint in the .ember-cli file, nor the custom group option are sufficient for all common cases.  I expect at least some users to both have projects in a POD structure and some not in a POD structure.  I'm willing to make an abstraction from projects which are moving towards a POD structure as that seems to be a one-shot operation.
The .ember-cli file is optional, that doesn't seem to be an all-round solution.  A group option would change the mode for all your projects, which doesn't sound awesome if you have multiple ember projects.
Perhaps we can specify an overriding variable in .dir-locals.el.  In the short term, we will accept the setting of that file.  In the long term, it will serve as an override.  With the following snippet, PODS would be enabled
((nil . ((mode . ember)
         (ember-use-pods . t)))

We can later on extend this with a system that tries to discover if PODs are enabled or not.  What system would be used in order to figure that out, could be selected in a custom group option.
Does that sound like a sane approach, or am I missing something?

Yeah, It's sane. I looked into it a while ago and Ember doesn't even know if a file is pod or traditional until it's resolved at runtime in the browser. Anyways if you use autocompletion like ido or helm it is easy enough to browse pod modules. For example you're in index/controller.js and you type C-x C-f t and by then it has already autocompleted index/template.hbs and you press enter.

I would be fine with a .dir-locals.el based solution.

Experimental support has been added on the devel branch (see commit d09c7909325d17cb5fd678c312da95f1e4d09d88).  Can you try it out and see if it behaves as expected?

I'm going to try it out today.

If you have "usePods": true in your .ember-cli file and generate a file with --pod it creates the file in the old layout.
version: 1.13.8
installing route
  create app/routes/users/new.js
  create app/templates/users/new.hbs
updating router
  add route users/new
installing route-test
  create tests/unit/routes/users/new-test.js

If I remove the --pod from the command:
version: 1.13.8
installing route
  create app/users/new/route.js
  create app/users/new/template.hbs
updating router
  add route users/new
installing route-test
  create tests/unit/users/new/route-test.js

I suppose this will best be solved when we learn to detect the setting from .ember-cli.  We could parse the value and (potentially) support both cases.
Can you temporarily unset usePods in .ember-cli and see if it behaves as expected in that case?
I feel like it could be a non-feature to supply the --pod as default arguments when you have enabled pods in the .dir-locals.el, but not in .ember-cli.  On the one hand, it could be nice, on the other hand, I doubt the case will occur that often.  Shall we remove the --pod default for the optional argument?

I think it would be good to remove the --pod optional argument. The fact that it uses the original structure if both usePods is set to true and --pod is given as an argument is too surprising.

@rlb3 The latest commit on devel ce1280a41d098c043fdd29dff659b7ef6940b2d2 does not have --pod as a default argument anymore.  It also tries to detect the usePods setting from .ember-cli.
Can you give the latest devel branch another test run to check if it now behaves as expected?
@jesse-black Are we missing anything else for POD support or can we merge this into master if it is stable?

I've been using the latest commit this week and it has been working great. Thank for taking the time for this.
robert

Grace period over.  I haven't noticed problems either.  Merging.
Thanks for your input.


Support Kafka 3.2.x

Is your feature request related to a problem? Please describe.
Apache Kafka 3.2.0 was out since May 17, 2022.
https://kafka.apache.org/downloads
Describe the solution you'd like to see
I‘d like to see Kafka 3.2.x is supported in Koperator
Describe alternatives you've considered
Where does the github repo host the Dockerfile of ghcr.io/banzaicloud/kafka image? If it's publicly available, I can build my own image with the desired version I want.
Additional context
Add any other context or screenshots about the feature request here.

Hey @frankwg, thank you for bringing this up. We have Kafka 3.2 support in our internal project roadmap, unfortunately, we don't have a target date to release the Kafka 3.2 support yet
And yes, the Dockerfile that builds the kafka image is publicly available: https://github.com/banzaicloud/docker-kafka.
If would also be great if you are willing to help us test out Kafka 3.2 (and give us feedback on any issues that you see) after your build your own image for your needs

Hey @frankwg - with https://github.com/banzaicloud/koperator/pull/1006, Koperator now supports up to Kafka 3.4.1. If you'd like to use any versions between 3.1.2 and 3.4.1, you can use https://github.com/banzaicloud/docker-kafka as a reference to build the appropriate version that feeds your need.


Building FFmpeg executable from source

Hi,
I can see that you've fixed the text relocations issue on x86 devices. but I want to know how you fixed this and can you share the steps or commands you used for this fix?

You should be able to build it for x86 with the --disable-asm flag.

are you using this flag on every single dependency you build or just on ffmpeg...
because i`m already using it and still get the error


Unhelpful error message when missing } in query

Product
Hot Chocolate
Version
14.0.0-rc.2
Link to minimal reproduction
See below
Steps to reproduce
This code:
public class Query
{
    public string X => "";
}

And this query:
query { x

What is expected?
An error message that says something about } being expected, not a NameToken.
What is actually happening?
{
  "errors": [
    {
      "message": "Expected a `Name`-token, but found a `EndOfFile`-token.",
      "locations": [
        {
          "line": 1,
          "column": 10
        }
      ],
      "extensions": {
        "code": "HC0011"
      }
    }
  ]
}

Relevant log output
No response
Additional context
No response

Member order is not guaranteed in .NET
This is the call we do:
        var members = includeStatic
            ? type.GetMembers(Instance | Static | Public)
            : type.GetMembers(Instance | Public);

But properties are kind of not real ... so the first members are the internal setter and getter methods ... the actual props that we capture are at the end. Be aware that there are also order differences depending on the compilation.

This one is fixed and will be integrated into rc.3


Change enhancer.py to send a list to initialize a Receipt object

Now it seems to work. I tested on my own dev branch. Thank you for your contribution. Even small contribution help a lot!
Regards,
William


  partial update to better support the new "Encore" default Spotify look

Updated a small change to each of the 4 themes to better support the new "Encore" Spotify theme as followed,

New search bar and search bar hover

New top buttons (can't seem to get the hover to work)

Removed a shadow between the "Liked songs" button and the playlists

Preview of change
Before Change

After Change

Example of hover NOT working on the new top buttons. Tried .main-topBar-button:hover to no luck.

though it does on the search bar .nav-alt .x-searchInput-searchInputInput:hover

also, the JS scripts included for each theme seem to not allow these changes to apply though I'm not sure why.

Might have been better to open this as a drafted pull request, my bad. Changes still required are,

Need to fix the new parts of the CSS themes not loading when the JS file from each theme is loaded extension (I do not know why it behaves that way)
Need to fix the top button hovers not working (small issue)

Hey there! :wave:
Much appreciated, I'll check this branch out soon - I'll mark it as a WIP meanwhile.

Spotify reverted their new look back to their old one so this pr is no longer applicable 👍🏻

Interesting, I never even got the look on my end. Thanks for following up on this!

Yeah, no problem :)
Guess people must have complained or maybe Spotify decided against redesigning their look 🤷🏻


Added jdownloader.rb

Readded jdownloader.rb with new download-urls, fixes
https://github.com/caskroom/homebrew-cask/issues/19544

Thank you for the contribution. It needed some fixes, so they were made in 372f173ebc83d5355cc3a618c1d9278c333d27d0. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.

Ah I see, missed the user_agent indentation.
You're welcome, thank you for merging!

@winkelsdorf brew cask style jdownloader --fix :) (It's also in our new PR template :D)

Haha, caught me :D My excuse: I created the final PR in GH Desktop, which does not show the templates ;)
I'll keep style next to audit in my mind. Thanks for the hint!
Cheers,
Frederik


Test: Verify_PowInt

Hello,
Currently trying to use this library for a project, but one test is currently failing in Verify_PowInt.
Is this a known issue?
 Verify_PowInt
   Source: BigFloatTests.cs line 761
   Duration: 71 ms

  Message:
Assert.IsTrue failed. Failed on: 0.0004343108345321096^6, BigFloatToPOW:6711258727336544e-36

  Stack Trace:
BigFloatTests.Verify_PowInt() line 919
RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Hello, Thanks for your msg. This is new and its interesting because there have been no recent updates. I think the top part of Verify_PowInt() is too sensitive, and my guess is a .NET change triggered it. I also notice it on my system. The whole top part of the Verify_PowInt() is a little funky and not that clean and I am thinking of replacing it with the below:
for (int jj = 0; jj < 20; jj++)
    for (double ii = 0.00001; ii < 100000; ii *= 1.01)
    {
        BigFloat BigFloatToPOW = BigFloat.Pow((BigFloat)ii, jj);                    // Double->BigFloat->POW->String
        BigFloat POWToBigFloatLo = (BigFloat)double.Pow(Math.BitDecrement(ii), jj); // Double->POW->BigFloat->String
        BigFloat POWToBigFloatHi = (BigFloat)double.Pow(Math.BitIncrement(ii), jj); // Double->POW->BigFloat->String

        IsTrue(BigFloatToPOW >= POWToBigFloatLo && BigFloatToPOW <= POWToBigFloatHi,
            $"Failed on: {ii}^{jj}, BigFloatToPOW:{BigFloatToPOW}, " +
            $"should be in the range {POWToBigFloatLo} to {POWToBigFloatHi}.");
    }

Thank you, I wanted to use it on .NET Standard 2.1 and realized it was not supported.
So, I decided to test and make sure everything works as expected and then try to backport.
Why?
I need to port Threeten library (the java.time backport for Java 7 and lower), which still exists
under BSD license. This is to be used in port of the Java/GeoAPI to .NET. The GeoAPI uses the
ISO Temporal interfaces (for time), which are  not supported on libraries like Nodatime.
However, a small part of the Threeten used Java/BigDecimal, and for mainly interface-based API like GeoAPI,
I feel .NET Standard will be a good choice.

Just to report that the above seems to work on my system and my port of the library.

It is slower, by the tests results, but that is expected for functions not using the the
Intrinsic routines (of BitOperations). The results are shown below:
BigFloatTests
  Tests in group: 66
   Total Duration: 1.6 sec

Outcomes
   66 Passed

Against, ported library results
BigFloatTests
  Tests in group: 66
   Total Duration: 5.7 sec

Outcomes
   66 Passed

Test PC:

Intel Xeon E-2136 CPU @ 3.30GHz 3.31 GHz
Windows 11 Pro for Workstations

It's great that you got it working for .NET Standard. It's interesting that performance dropped by 4x for .NET Standard 2.1. I am wondering what functions were hit the hardest—maybe ones that used native 128-bit internally?
I wonder, for the missing Int128/UInt128, the following could also have been used: https://github.com/dotnet/runtime/blob/main/src/libraries/System.Private.CoreLib/src/System/UInt128.cs? (though it would add a lot of bloat)
I just tried to compile it on my machine to see what I would get:
BigFloatTests
  Tests in group: 66
   Total Duration: 1.1 sec (debug .net 8)

Outcomes
   65 Passed (same test failed as talked about above)

Test PC:
AMD Ryzen 9 7950X3D @ 4.20 GHz
Windows 11 Pro
By the way, maybe not a help to you but I hope to publish a new version soon. I did not really create a branch so its a bulk of updates so I will be splitting them up in many smaller updates.
Thanks for sharing what you're using it for.

It's interesting that performance dropped by 4x for .NET Standard 2.1.

Not yet investigated, but my guess is that since the new BigInteger uses BitOperations for most operations.
and I used a backport, https://www.nuget.org/packages/Shim.System.Numerics/, to duplicate those required by
BigFloat it took performance hit.
The backport of BitOperations enables and uses only the software fall backs, which are already part of that class.
Also, the backport of the methods like BigInteger.GetBitLength() used by BigFloat uses reflection to access
the internal _sign and _bits fields of BigInteger.

I wonder, for the missing Int128/UInt128, the following could also have been used:

I think it is possible. I planned to look into it as I am planning a class-based number types with a common
base interface, INumber (not the INumber<TSelf> of .NET7+), similar to Java Number class.

By the way, maybe not a help to you but I hope to publish a new version soon.

Actually looking forward to it. By the results, I think it will be better to fully support .NET Standard,
but retain the support of .NET 8+. The 3 years LTS cycle for the .NET platform is a real issue for this type of work.
Thanks so much for the understanding and cooperation.

Observations (since you are planning an update, I could not help it 😄)

When you enable XML documentation generation, there are a number of badly formed XML (like using <param name="scale"> instead of <paramref name="scale"/> in the summary).
I do know about you, but the following properties names are not natural to .NET

GetPrecision (expected Precision)
GetAccuracy (expected Accuracy)
OutOfPrecision (this one is personal preference: IsOutOfPrecision)

Will you consider implementations of Java's BigDecimal methods like?

divide (overloads specify scale and/or rounding modes)
divideAndRemainder (or DivRem in C# like in BigInteger.DivRem)
movePointLeft and movePointRight methods.

Enabling nullable types does not require much change to the library.


[stable/datadog] Default rbac.create to false

This PR reverts a change brought in by https://github.com/kubernetes/charts/pull/2769.
This chart is the only one (https://github.com/kubernetes/charts/search?l=Markdown&p=1&q=rbac&type=&utf8=✓) which enables rbac by default.
For the sake of consistency rbac.create should be false in values.yaml.

I'll close this PR since rbac.create=true is the new convention according to https://github.com/kubernetes/helm/issues/3098.


[BACKLOG-8808] Fixing tooltips for run, inspect buttons and label

Build Completed
:x: This pull request has errors. They will need to be addressed before it can be accepted. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/unit-test -f core/build.xml clean-all resolve jacoco && ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/integration-test -f core/build.xml jacoco-integration checkstyle publish-local
ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/unit-test -f engine/build.xml clean-all resolve jacoco && ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/integration-test -f engine/build.xml jacoco-integration checkstyle publish-local
ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/unit-test -f ui/build.xml clean-all resolve jacoco && ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/integration-test -f ui/build.xml jacoco-integration checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  core/src/org/pentaho/di/core/extension/KettleExtensionPoint.java
  engine/src/org/pentaho/di/core/gui/AreaOwner.java
  ui/src/org/pentaho/di/ui/spoon/trans/TransGraph.java
  ui/src/org/pentaho/di/ui/spoon/trans/TransPainterFlyoutTooltipExtension.java

Unit test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.core.extension.KettleExtensionPoint

Instruction Change:  + .01%

org.pentaho.di.job.entries.ftpsget.JobEntryFTPSGet

Branch Change:  + .53%
Complexity Change:  + .56%
Instruction Change:  + .07%

org.pentaho.di.job.entries.sql.JobEntrySQL

Instruction Change: -3.28%:small_red_triangle_down:
Line Change: -3.87%:small_red_triangle_down:

org.pentaho.di.job.entries.waitforsql.JobEntryWaitForSQL

Branch Change: -.66%:small_red_triangle_down:
Complexity Change: -.93%:small_red_triangle_down:
Instruction Change: -.13%:small_red_triangle_down:

org.pentaho.di.trans.steps.checksum.CheckSumMeta

Instruction Change: -.11%:small_red_triangle_down:

org.pentaho.di.trans.steps.constant.ConstantMeta

Instruction Change:  + .10%

org.pentaho.di.trans.steps.datagrid.DataGridMeta

Instruction Change:  + .09%

org.pentaho.di.trans.steps.groupby.GroupByMeta

Branch Change:  + 2.08%
Complexity Change:  + 2.11%
Instruction Change:  + .14%
Line Change:  + .37%

org.pentaho.di.trans.steps.ifnull.IfNullMeta

Branch Change:  + 2.00%
Complexity Change:  + 1.89%
Instruction Change:  + .17%

org.pentaho.di.trans.steps.insertupdate.InsertUpdateMeta

Instruction Change: -.05%:small_red_triangle_down:

org.pentaho.di.trans.steps.ldapoutput.LDAPOutputMeta

Instruction Change:  + .06%

org.pentaho.di.trans.steps.memgroupby.MemoryGroupByMeta

Branch Change: -1.18%:small_red_triangle_down:
Complexity Change: -1.35%:small_red_triangle_down:

org.pentaho.di.trans.steps.processfiles.ProcessFilesMeta

Branch Change: -3.57%:small_red_triangle_down:
Complexity Change: -2.13%:small_red_triangle_down:
Instruction Change: -.33%:small_red_triangle_down:

org.pentaho.di.trans.steps.replacestring.ReplaceStringMeta

Instruction Change:  + .07%

org.pentaho.di.trans.steps.rowgenerator.RowGeneratorMeta

Instruction Change:  + .08%

org.pentaho.di.trans.steps.setvalueconstant.SetValueConstantMeta

Instruction Change:  + .14%

org.pentaho.di.trans.steps.singlethreader.SingleThreaderMeta

Instruction Change: -.08%:small_red_triangle_down:

org.pentaho.di.trans.steps.symmetriccrypto.symmetriccryptotrans.SymmetricCryptoTransMeta

Branch Change: -3.33%:small_red_triangle_down:
Complexity Change: -1.85%:small_red_triangle_down:
Instruction Change: -.28%:small_red_triangle_down:

org.pentaho.di.trans.steps.synchronizeaftermerge.SynchronizeAfterMergeMeta

Instruction Change: -.04%:small_red_triangle_down:

org.pentaho.di.trans.steps.tableoutput.TableOutputMeta

Branch Change:  + .91%
Complexity Change:  + .82%

org.pentaho.di.trans.steps.uniquerows.UniqueRowsMeta

Instruction Change: -.18%:small_red_triangle_down:

org.pentaho.di.ui.spoon.trans.TransGraph

Complexity Change: -.00%:small_red_triangle_down:
Instruction Change: -.00%:small_red_triangle_down:
Line Change: -.00%:small_red_triangle_down:
Method Change: -.00%:small_red_triangle_down:

Integration test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.trans.step.BaseStep

Branch Change: -.29%:small_red_triangle_down:
Complexity Change: -.18%:small_red_triangle_down:
Instruction Change: -.05%:small_red_triangle_down:
Line Change: -.08%:small_red_triangle_down:

License header violations

:heavy_exclamation_mark: Copyright year is not the current year on engine/src/org/pentaho/di/core/gui/AreaOwner.java. Found 2013. Was expecting 2016

Checkstyle violations
The code submitted is not complying with one or more of our guidelines. To perform these checks locally, please use this tool.
/home/buildguy/project/core/src/org/pentaho/di/core/extension/KettleExtensionPoint.java

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 41 Column: 87

/home/buildguy/project/ui/src/org/pentaho/di/ui/spoon/trans/TransGraph.java

:heavy_exclamation_mark: Using the '.' form of import should be avoided - org.pentaho.di.trans.. at Line: 136

:heavy_exclamation_mark: ';' is preceded with whitespace. at Line: 2,935 Column: 32

Build Completed
:x: This pull request has errors. They will need to be addressed before it can be accepted. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/unit-test -f core/build.xml clean-all resolve jacoco && ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/integration-test -f core/build.xml jacoco-integration checkstyle publish-local
ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/unit-test -f engine/build.xml clean-all resolve jacoco && ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/integration-test -f engine/build.xml jacoco-integration checkstyle publish-local
ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/unit-test -f ui/build.xml clean-all resolve jacoco && ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/integration-test -f ui/build.xml jacoco-integration checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  core/src/org/pentaho/di/core/extension/KettleExtensionPoint.java
  engine/src/org/pentaho/di/core/gui/AreaOwner.java
  ui/src/org/pentaho/di/ui/spoon/trans/TransGraph.java
  ui/src/org/pentaho/di/ui/spoon/trans/TransPainterFlyoutTooltipExtension.java

Unit test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.core.extension.KettleExtensionPoint

Instruction Change:  + .01%

org.pentaho.di.job.entries.ftpsget.JobEntryFTPSGet

Branch Change: -.53%:small_red_triangle_down:
Complexity Change: -.56%:small_red_triangle_down:
Instruction Change: -.07%:small_red_triangle_down:

org.pentaho.di.job.entries.sql.JobEntrySQL

Instruction Change:  + 3.28%
Line Change:  + 3.87%

org.pentaho.di.repository.kdr.KettleDatabaseRepositoryCreationHelper

Branch Change: -1.64%:small_red_triangle_down:
Complexity Change: -.69%:small_red_triangle_down:
Instruction Change: -2.40%:small_red_triangle_down:
Line Change: -3.51%:small_red_triangle_down:

org.pentaho.di.trans.step.StepMeta

Instruction Change: -.19%:small_red_triangle_down:
Line Change: -.27%:small_red_triangle_down:

org.pentaho.di.trans.steps.checksum.CheckSumMeta

Instruction Change: -.11%:small_red_triangle_down:

org.pentaho.di.trans.steps.constant.ConstantMeta

Instruction Change:  + .10%

org.pentaho.di.trans.steps.csvinput.CsvInputMeta

Instruction Change:  + .05%

org.pentaho.di.trans.steps.datagrid.DataGridMeta

Instruction Change:  + .09%

org.pentaho.di.trans.steps.dbproc.DBProcMeta

Instruction Change: -.11%:small_red_triangle_down:

org.pentaho.di.trans.steps.ifnull.IfNullMeta

Branch Change:  + 2.00%
Complexity Change:  + 1.89%
Instruction Change:  + .17%

org.pentaho.di.trans.steps.insertupdate.InsertUpdateMeta

Instruction Change: -.05%:small_red_triangle_down:

org.pentaho.di.trans.steps.ldapoutput.LDAPOutputMeta

Instruction Change:  + .06%

org.pentaho.di.trans.steps.replacestring.ReplaceStringMeta

Instruction Change:  + .07%

org.pentaho.di.trans.steps.setvalueconstant.SetValueConstantMeta

Instruction Change:  + .14%

org.pentaho.di.trans.steps.sort.SortRowsMeta

Instruction Change: -.08%:small_red_triangle_down:

org.pentaho.di.trans.steps.synchronizeaftermerge.SynchronizeAfterMergeMeta

Instruction Change: -.04%:small_red_triangle_down:

org.pentaho.di.trans.steps.tableoutput.TableOutputMeta

Branch Change:  + .91%
Complexity Change:  + .82%

org.pentaho.di.trans.steps.textfileinput.TextFileInputMeta

Branch Change: -.53%:small_red_triangle_down:

org.pentaho.di.trans.steps.uniquerows.UniqueRowsMeta

Instruction Change:  + .18%

org.pentaho.di.ui.spoon.trans.TransGraph

Complexity Change: -.00%:small_red_triangle_down:
Instruction Change: -.00%:small_red_triangle_down:
Line Change: -.00%:small_red_triangle_down:
Method Change: -.00%:small_red_triangle_down:

Integration test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.trans.step.BaseStep

Branch Change:  + .29%
Complexity Change:  + .18%
Instruction Change:  + .05%
Line Change:  + .08%

License header violations

:heavy_exclamation_mark: Copyright year is not the current year on engine/src/org/pentaho/di/core/gui/AreaOwner.java. Found 2013. Was expecting 2016

Checkstyle violations
The code submitted is not complying with one or more of our guidelines. To perform these checks locally, please use this tool.
/home/buildguy/project/core/src/org/pentaho/di/core/extension/KettleExtensionPoint.java

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 41 Column: 87

/home/buildguy/project/ui/src/org/pentaho/di/ui/spoon/trans/TransGraph.java

:heavy_exclamation_mark: ';' is preceded with whitespace. at Line: 2,941 Column: 32

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/unit-test -f core/build.xml clean-all resolve jacoco && ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/integration-test -f core/build.xml jacoco-integration checkstyle publish-local
ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/unit-test -f engine/build.xml clean-all resolve jacoco && ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/integration-test -f engine/build.xml jacoco-integration checkstyle publish-local
ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/unit-test -f ui/build.xml clean-all resolve jacoco && ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/integration-test -f ui/build.xml jacoco-integration checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  core/src/org/pentaho/di/core/extension/KettleExtensionPoint.java
  engine/src/org/pentaho/di/core/gui/AreaOwner.java
  ui/src/org/pentaho/di/ui/spoon/trans/TransGraph.java
  ui/src/org/pentaho/di/ui/spoon/trans/TransPainterFlyoutTooltipExtension.java

Unit test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.core.extension.KettleExtensionPoint

Instruction Change:  + .01%

org.pentaho.di.job.entries.getpop.MailConnectionMeta

Branch Change:  + 1.00%
Complexity Change:  + 1.41%
Instruction Change:  + .30%

org.pentaho.di.job.entries.waitforsql.JobEntryWaitForSQL

Branch Change:  + .66%
Complexity Change:  + .93%
Instruction Change:  + .13%

org.pentaho.di.repository.kdr.KettleDatabaseRepositoryCreationHelper

Branch Change: -1.64%:small_red_triangle_down:
Complexity Change: -.69%:small_red_triangle_down:
Instruction Change: -2.40%:small_red_triangle_down:
Line Change: -3.51%:small_red_triangle_down:

org.pentaho.di.trans.step.StepMeta

Instruction Change:  + .19%
Line Change:  + .27%

org.pentaho.di.trans.steps.checksum.CheckSumMeta

Instruction Change:  + .11%

org.pentaho.di.trans.steps.constant.ConstantMeta

Instruction Change: -.10%:small_red_triangle_down:

org.pentaho.di.trans.steps.datagrid.DataGridMeta

Instruction Change:  + .09%

org.pentaho.di.trans.steps.dbproc.DBProcMeta

Instruction Change: -.11%:small_red_triangle_down:

org.pentaho.di.trans.steps.groupby.GroupByMeta

Branch Change: -1.04%:small_red_triangle_down:
Complexity Change: -1.05%:small_red_triangle_down:

org.pentaho.di.trans.steps.ifnull.IfNullMeta

Branch Change:  + 2.00%
Complexity Change:  + 1.89%
Instruction Change:  + .17%

org.pentaho.di.trans.steps.ldapoutput.LDAPOutputMeta

Instruction Change: -.06%:small_red_triangle_down:

org.pentaho.di.trans.steps.memgroupby.MemoryGroupByMeta

Branch Change:  + 1.18%
Complexity Change:  + 1.35%

org.pentaho.di.trans.steps.pgbulkloader.PGBulkLoaderMeta

Branch Change:  + 1.75%
Complexity Change:  + .93%
Instruction Change:  + .23%
Line Change:  + .28%

org.pentaho.di.trans.steps.rowgenerator.RowGeneratorMeta

Instruction Change: -.08%:small_red_triangle_down:

org.pentaho.di.trans.steps.setvalueconstant.SetValueConstantMeta

Instruction Change: -.14%:small_red_triangle_down:

org.pentaho.di.trans.steps.sort.SortRowsMeta

Instruction Change:  + .08%

org.pentaho.di.trans.steps.sortedmerge.SortedMergeMeta

Instruction Change:  + .18%

org.pentaho.di.trans.steps.symmetriccrypto.symmetriccryptotrans.SymmetricCryptoTransMeta

Branch Change:  + 3.33%
Complexity Change:  + 1.85%
Instruction Change:  + .28%

org.pentaho.di.trans.steps.tableoutput.TableOutputMeta

Branch Change:  + .91%
Complexity Change:  + .82%

org.pentaho.di.trans.steps.uniquerows.UniqueRowsMeta

Instruction Change:  + .18%

org.pentaho.di.trans.steps.webservices.WebServiceMeta

Branch Change: -1.79%:small_red_triangle_down:
Complexity Change: -1.19%:small_red_triangle_down:
Instruction Change: -.07%:small_red_triangle_down:

org.pentaho.di.ui.spoon.trans.TransGraph

Complexity Change: -.00%:small_red_triangle_down:
Instruction Change: -.00%:small_red_triangle_down:
Line Change: -.00%:small_red_triangle_down:
Method Change: -.00%:small_red_triangle_down:


Stuck while loading bundles on second app launch with cache flag enabled

Environment
Localhost dev
Description
Hello I've tried to enable caching in my project following the caching and versioning guide. The app runs with all the remotes loaded and working the first time I launch it. However, if I close the app and launch it again, it gets stuck at the launch screen.
I initially thought it was an issue with the project code, but the same problem occurs when I try it with the sample project super-app-showcase.

I've tried to debug and it seems like it stuck at Federated.importModule().
I didn't get this issue if I set the cache flag to false, but then the app downloads the remote bundles every time I need to access them, which is not optimal.
Reproducible Demo

Clone and setup super-app-showcase

In
packages/booking/index.js
packages/dashboard/index.js
packages/host/index.js
packages/shell/index.js
packages/shopping/index.js
Add
import AsyncStorage from '@react-native-async-storage/async-storage';

...

ScriptManager.shared.setStorage(AsyncStorage);

...

and set cache: true

Hi @hafiz-azman-cd, please check the related PR and try the canary version and see if fixes your issue, thanks!

Hello @jbroma I was testing the canary lib with super-app-showcase. I manage to get it running and enabled the caching based on here. I wasn't sure what to expect with the cache enabled. I still see the app requesting the bundle files from the dev server instead of loading from AsyncStorage when the app is killed and relaunched. I debugged the AsyncStorage and confirmed that the bundle files are present in their key-value pairs when the cache is enabled.
What I did in super-app-showcase:

pnpm remove -r @callstack/repack --save-dev
Update devDependencies.json > @callstack/repack > version change to<EMAIL_ADDRESS>pnpm add -r<EMAIL_ADDRESS>-D
pnpm pods
Update booking, dashboard, shell and shopping index.js to enable cache as in here
pnpm start + pnpm run:host:ios

Hi @hafiz-azman-cd  do we really need step 5, If we're testing just the host.
Also, switching to the new version did not fix the Caching issue

Hi @jbroma , So I switched to the canary version but I still have caching issue.
I enabled cache in the host, create a release build
Bug Description and Reproduction

Open the app for the first time
Open Booking, wait for it to load completely
Do the same for Shopping, News and Dashboard Min Apps
Close the App and reopen
Open Booking, Booking gets stuck at loading screen
Same thing happens in Shopping and News
But Dashboard which is the last Mini App I opened when I opened the app for the first time opens correctly and gets cached

index.js of Host
/**
 * @format
 */

import { Federated, Script, ScriptManager } from '@callstack/repack/client';
import AsyncStorage from '@react-native-async-storage/async-storage';
import { AppRegistry, Platform } from 'react-native';
import { name as appName } from './app.json';
import App from './src/App';

!__DEV__ && ScriptManager.shared.setStorage(AsyncStorage);

ScriptManager.shared.addResolver(async (scriptId, caller) => {
  const RealContainers = {
    auth: 'https://github.com/vlack-coder/repacbundle/releases/download/repack/[name][ext]',
    booking:
      'https://github.com/vlack-coder/repacbundle/releases/download/booking/[name][ext]',
    dashboard:
      'https://github.com/vlack-coder/repacbundle/releases/download/dashboard/[name][ext]',
    news: 'https://github.com/vlack-coder/repacbundle/releases/download/news/[name][ext]',
    shopping:
      'https://github.com/vlack-coder/repacbundle/releases/download/shopping/[name][ext]',
  };
  const resolveURL = Federated.createURLResolver({
    containers: RealContainers,
    // containers,
  });

  let url;
  if (false) {
    // if (__DEV__ && caller === 'main') {
    url = Script.getDevServerURL(scriptId);
  } else {
    url = resolveURL(scriptId, caller);
  }
  console.log('repackurl', url);

  if (!url) {
    return undefined;
  }

  return {
    url,
    cache: !__DEV__,
    query: {
      platform: Platform.OS, // only needed in development
    },
    // verifyScriptSignature: __DEV__ ? 'off' : 'strict',
  };
});

AppRegistry.registerComponent(appName, () => App);

Link to Repo - https://github.com/vlack-coder/superapp_clone/tree/repackCache

Hi @vlack-coder,
I managed to narrow down the issue to files being overridden on the native side, (on the device storage).
Here is the example of what's happening:

Request auth mini-app:

Download and cache auth.container.bundle
Download and cache vendor-1.chunk.bundle
Download and cache vendor-2.chunk.bundle
Auth fully loaded

Request booking mini-app

Download and cache auth.container.bundle
Download and cache vendor-2.chunk.bundle
Download and cache vendor-3.chunk.bundle
Booking fully loaded

Downloading booking will override vendor-2.chunk.bundle on the filesystem, which originally comes from auth so on the next startup, when loading auth, wrong content will be loaded and our app ends up in an rather undefined state 😅
Working on a fix!

@jbroma , I thought as much, The last opened minapp overrides the previously opened miniapp. Thank you.

@vlak-koder please check this canary release<EMAIL_ADDRESS>

@vlak-koder @hafiz-azman-cd  please check this canary release<EMAIL_ADDRESS>Please remember to:

install the canary release
iOS: reinstall pods and rebuild the app
Android: rebuild the app

The cache in the super app showcase should work correctly with this change.

@jbroma I'm happy to report that it works now in the super-app-showcase!
I loaded the booking feature for the first time, then killed the app. After relaunching and clicking on booking again, it no longer requests the bundle file from the dev server. Great work and thanks!
I have the super-app-showcase with the cache enabled pushed here if anyone wants to check it out.

Hi @jbroma , thank you, it's no longer stuck on the loading screen for this new update
Just an observation, when I was testing from my end and i opened the micro app, it looked as though there was a bundle download as my internet speed meter spiked up.
Also, can we use this canary release in our current project

@vlak-koder please double check, ideally check with some network monitoring tool to verify this - nothing like this should be happening unless you set shouldUpdateScript to invalidate the cache.
I will release 4.2.0 today, no need to use the canary version

@jbroma  noted, it might be the pictures in the micro app.
1 more thing, please I also have 2 issues I raised

reloading micro apps - https://github.com/callstack/repack/issues/526#issuecomment-2276145383
memory issues - https://github.com/callstack/repack/issues/675#issuecomment-2276132546

Any idea about them, thanks


Should the Linter Action also Automatically Correct Style Issues?

Someone in my group raised this question, but I wanted to ask other groups. Does the linting action have to fix the issues raised by the linter, or should we be doing that manually? I know there are some linters that do both as mentioned in class, but since we're sticking with pylint I'm not sure if we should implement another action that does this

@WildJimmy please let me know if you figure that out

nope, you do not have to fix the errors.
I feel linting is useless


Paypal fails with Invalid Action v65 // 3.18.2

Describe the bug
I'm trying to use the drop in solution to handle the paypal flow. This fails with an Error: Invalid Action.

To Reproduce
Steps to reproduce the behavior:
The paymentMethod is taken from the onSumit call within a checkout.create('dropin')
1. Payment request
curl https: //checkout-test.adyen.com/v65/payments \
-H "x-API-key: XXXX" \
-H "content-type: application/json" \
-d '{
    "additionalData": {
        "allow3DS2": true
    },
    "amount": {
        "currency": "EUR",
        "value": 12400
    },
    "billingAddress": {
        "city": "Berlin",
        "country": "DE",
        "houseNumberOrName": "63",
        "postalCode": "10117",
        "street": "Friedrichstrasse"
    },
    "channel": "Web",
    "countryCode": "DE",
    "deliveryAddress": {
        "city": "Berlin",
        "country": "DE",
        "houseNumberOrName": "63",
        "postalCode": "10117",
        "street": "Friedrichstrasse"
    },
    "lineItems": [
        {
            "amountIncludingTax": 11900,
            "description": "An Elephant",
            "id": "some-id",
            "quantity": 1,
            "taxCategory": "high"
        }
    ],
    "merchantAccount": "MyMerchantAccount",
    "origin": "http://localhost:3030",
    "paymentMethod": {
        "subtype": "sdk",
        "type": "paypal"
    },
    "reference": "my-order-id",
    "returnUrl": "http://localhost:3030/checkout/return?oid=my-order-id",
    "shopperEmail"<EMAIL_ADDRESS>    "shopperIP": "::1",
    "telephoneNumber": "0000"
}'

2. Returns CartOrderResponse
  {
    "resultCode": "Pending",
    "action": {
        "paymentData": "Ab0...",
        "paymentMethodType": "paypal",
        "sdkData": {
            "token": "EC-3.."
        },
        "type": "sdk"
    },
    "details": [
        {
            "key": "token",
            "type": "text"
        }
    ],
    "outputDetails": {
        "token": "EC-3.."
    },
    "paymentData": "Ab0...",
}

3. Render within React
    const setupAdyenPayment = async (orderResponse: CartOrderResponse) => {
        try {
            // eslint-disable-next-line
            // @ts-ignore
            await import('@adyen/adyen-web/dist/adyen.css');

            const AdyenCheckout = await import('@adyen/adyen-web');
            const configuration = {
                locale: config.adyenLocale,
                environment: config.adyenEnv,
                clientKey: config.adyenClientKey,
                translations,
                onAdditionalDetails: async (state: any) => {
                    try {
                        await onSubmitChallenge(state.data);
                    } catch (err) {
                        console.log(err);
                    }
                }
            };
            if (containerRef.current) {
                const checkout = new AdyenCheckout.default(configuration);
                checkout.createFromAction(orderResponse.action).mount(containerRef.current);
            }
        } catch (err) {
            console.log(err);
        }
    };

Expected behavior
Should not throw an error but handle paypal
Desktop (please complete the following information):

OS: osx
Browser ff
Version: latest

Hi @steffenmllr, and thanks for reaching out.
For the PayPal Component, you have to use the component.handleAction method instead of using the checkout.createFromAction method.
The reason for this is that the component will create a promise which will be resolved when the action is sent back to it. In other words, once the PayPal button is clicked, it will wait for the data inside the action object sent in the /payments endpoint response to show the pop-up.
I hope this helps, let us know if there's any other questions.

@pabloai Thanks for your reply.
Our current Checkout Layout has a step for Payment (where we mount the drop in, checkout.create('dropin').mount), followed by a confirm step (unmounts the payment dropin, calls the /payment api on the server after the buy now button is clicked) and a "processing payment step"  which cals createFromAction
At this point we want to use the action from the backend to display the paypal popup (or redirect to paypal). Is that even possible or do we need take capture the payment when the user clicks on the paypal button the during the payment step and call your payment endpoint during that phase of the checkout?
Another thing that the documentation was not clear: is it possible to do a express checkout (getting address data from paypal) with your drop in solution /api or do I need to use the paypal component sdk for this?

Hi @steffenmllr,
Unfortunately, the PayPal Smart Payment buttons flow cannot be triggered programatically, as discussed here: paypal/paypal-checkout-components#287
With that in mind, you could hide the button from the Drop-in but you'd need to show it somewhere else on the page (or on a different page later), but it would still need a click from the shopper to trigger the flow.

Thanks for the support, we adjusted our checkout flow so it works with paypal

@pabloai I might closed this too soon. F
or our pay now flow we need to set the https://developer.paypal.com/docs/api/orders/v2/#definition-order_application_context shipping_preference to force Paypal to show the shipping address select. Any idea how this is possible ?

Closing this issue as it seems stale. If you still have problems integrating PayPal, I am happy to reopen it and help you out with that!


Fixes #1556 - Allow proxying to leader with HTTPS

so it works if http is disabled.
It assumes that all Marathon instances are similarly configured.

Just 2 minor comments. Looks good!

Thanks for the comments! Rebased and followed up on your comments.


Fixing limit scenario of queries with millions of parameters

@vincentlauvlwj Hello!
I hope you are well!
This micro-PR just fixes a small bug, on the edge-case when the user exceeds the maximum number of parameters permitted by PostgreSQL.
It was exceeding that limit before because the algorithm didn't check if the size was already bigger than the limit (MAX_SQL_EXPR_BATCH_SIZE) before adding one more entry to the batch. Now it checks and flushes it before adding the next batch, so avoiding the subsequent PostgreSQL error.
Btw when are you releasing the 3.4.0?
Cheers!

will release 3.4.0 in a month

So strange the checks are failing, but locally on my computer they pass:
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details

> Task :ktorm-core:detekt
........................................

40 kotlin files were analyzed.
Complexity Report:
        - 12,137 lines of code (loc)
        - 6,470 source lines of code (sloc)
        - 4,801 logical lines of code (lloc)
        - 4,165 comment lines of code (cloc)
        - 1,716 cyclomatic complexity (mcc)
        - 685 cognitive complexity
        - 0 number of total code smells
        - 64% comment source ratio
        - 357 mcc per 1,000 lloc
        - 0 code smells per 1,000 lloc

Project Statistics:
        - number of properties: 421
        - number of functions: 890
        - number of classes: 128
        - number of packages: 6
        - number of kt files: 40

Successfully generated plain text report at /home/pedro/Desktop/projectos/ktorm/ktorm-core/build/reports/detekt/detekt.txt

> Task :ktorm-global:detekt
.....

5 kotlin files were analyzed.
Complexity Report:
        - 757 lines of code (loc)
        - 259 source lines of code (sloc)
        - 168 logical lines of code (lloc)
        - 427 comment lines of code (cloc)
        - 51 cyclomatic complexity (mcc)
        - 3 cognitive complexity
        - 0 number of total code smells
        - 164% comment source ratio
        - 303 mcc per 1,000 lloc
        - 0 code smells per 1,000 lloc

Project Statistics:
        - number of properties: 10
        - number of functions: 43
        - number of classes: 0
        - number of packages: 1
        - number of kt files: 5

Successfully generated plain text report at /home/pedro/Desktop/projectos/ktorm/ktorm-global/build/reports/detekt/detekt.txt

> Task :ktorm-jackson:detekt
......

6 kotlin files were analyzed.
Complexity Report:
        - 633 lines of code (loc)
        - 407 source lines of code (sloc)
        - 261 logical lines of code (lloc)
        - 141 comment lines of code (cloc)
        - 72 cyclomatic complexity (mcc)
        - 49 cognitive complexity
        - 0 number of total code smells
        - 34% comment source ratio
        - 275 mcc per 1,000 lloc
        - 0 code smells per 1,000 lloc

Project Statistics:
        - number of properties: 36
        - number of functions: 31
        - number of classes: 6
        - number of packages: 1
        - number of kt files: 6

Successfully generated plain text report at /home/pedro/Desktop/projectos/ktorm/ktorm-jackson/build/reports/detekt/detekt.txt

> Task :ktorm-support-mysql:detekt
.......

7 kotlin files were analyzed.
Complexity Report:
        - 1,231 lines of code (loc)
        - 572 source lines of code (sloc)
        - 405 logical lines of code (lloc)
        - 532 comment lines of code (cloc)
        - 129 cyclomatic complexity (mcc)
        - 37 cognitive complexity
        - 0 number of total code smells
        - 93% comment source ratio
        - 318 mcc per 1,000 lloc
        - 0 code smells per 1,000 lloc

Project Statistics:
        - number of properties: 35
        - number of functions: 56
        - number of classes: 23
        - number of packages: 1
        - number of kt files: 7

Successfully generated plain text report at /home/pedro/Desktop/projectos/ktorm/ktorm-support-mysql/build/reports/detekt/detekt.txt

> Task :ktorm-support-oracle:detekt
.

1 kotlin file was analyzed.
Complexity Report:
        - 122 lines of code (loc)
        - 77 source lines of code (sloc)
        - 54 logical lines of code (lloc)
        - 26 comment lines of code (cloc)
        - 20 cyclomatic complexity (mcc)
        - 9 cognitive complexity
        - 0 number of total code smells
        - 33% comment source ratio
        - 370 mcc per 1,000 lloc
        - 0 code smells per 1,000 lloc

Project Statistics:
        - number of properties: 5
        - number of functions: 6
        - number of classes: 3
        - number of packages: 1
        - number of kt files: 1

Successfully generated plain text report at /home/pedro/Desktop/projectos/ktorm/ktorm-support-oracle/build/reports/detekt/detekt.txt

> Task :ktorm-support-postgresql:detekt
........

8 kotlin files were analyzed.
Complexity Report:
        - 2,169 lines of code (loc)
        - 983 source lines of code (sloc)
        - 735 logical lines of code (lloc)
        - 958 comment lines of code (cloc)
        - 180 cyclomatic complexity (mcc)
        - 102 cognitive complexity
        - 0 number of total code smells
        - 97% comment source ratio
        - 244 mcc per 1,000 lloc
        - 0 code smells per 1,000 lloc

Project Statistics:
        - number of properties: 85
        - number of functions: 83
        - number of classes: 33
        - number of packages: 1
        - number of kt files: 8

Successfully generated plain text report at /home/pedro/Desktop/projectos/ktorm/ktorm-support-postgresql/build/reports/detekt/detekt.txt

> Task :ktorm-support-sqlite:detekt
.

1 kotlin file was analyzed.
Complexity Report:
        - 77 lines of code (loc)
        - 45 source lines of code (sloc)
        - 28 logical lines of code (lloc)
        - 21 comment lines of code (cloc)
        - 10 cyclomatic complexity (mcc)
        - 2 cognitive complexity
        - 0 number of total code smells
        - 46% comment source ratio
        - 357 mcc per 1,000 lloc
        - 0 code smells per 1,000 lloc

Project Statistics:
        - number of properties: 3
        - number of functions: 4
        - number of classes: 2
        - number of packages: 1
        - number of kt files: 1

Successfully generated plain text report at /home/pedro/Desktop/projectos/ktorm/ktorm-support-sqlite/build/reports/detekt/detekt.txt

> Task :ktorm-support-sqlserver:detekt
..

2 kotlin files were analyzed.
Complexity Report:
        - 212 lines of code (loc)
        - 136 source lines of code (sloc)
        - 93 logical lines of code (lloc)
        - 46 comment lines of code (cloc)
        - 29 cyclomatic complexity (mcc)
        - 13 cognitive complexity
        - 0 number of total code smells
        - 33% comment source ratio
        - 311 mcc per 1,000 lloc
        - 0 code smells per 1,000 lloc

Project Statistics:
        - number of properties: 9
        - number of functions: 11
        - number of classes: 3
        - number of packages: 1
        - number of kt files: 2

Successfully generated plain text report at /home/pedro/Desktop/projectos/ktorm/ktorm-support-sqlserver/build/reports/detekt/detekt.txt

BUILD SUCCESSFUL in 1m 14s
56 actionable tasks: 56 executed


RStudio Version 1.2.1335

Hello, the color of the latest version of RStudio is still blue.

Hey @hhuili thanks for making an issue. I just pushed some updates that should fix this. Can you try it out and let me know if the problem persists?
Also, can you provide me with what OS you're using and what version of RStudio you have?

Hello you all. The same is still happening to me.
I'm currently using RStudio Version 1.2.1335 and  macOS Mojave Version 10.14.5.

@verasls, is this happening with the most recent push to this repo?

Yes @livelaughriley. I made the push today.

Can you right click and inspect the element and paste the contents in the properties, @verasls?

Sure. Didn't know exactly what you need, so here's a screenshot:

If you go to settings Cmd+, -> Appearance -> RStudio theme, what do you have selected? It doesn't play nice with Classic or Sky. Do you have Modern selected?
Also, what theme are you using?

Yes, I'm using Modern. But I've already tried with Sky (the console panel stayed blue) and Classic (everything goes white).
The theme I'm currently using is Idle Fingers, although I've also tried other dark themes, with the same result.

I think I figured it out.
I typically have the Jobs tab open next to Console. It seems that there was a different rule for the background when only one tab is shown (in your case, Console).
I just pushed the edits--can you test it out for me @verasls?

It works perfectly right now! Thanks for the attention @livelaughriley!

No problem! Glad it's working for you 😄
And hopefully @hhuili too. Closing this for now.


Add AWS profile configuration support

When have a more complex configuration like MFA, multiple accounts, more roles, etc... This is convenient to defined all the configurations inside ~/.aws/config and ~/.aws/credentials files.
This enhancement add the ability to use this configuration with the Boto3 session to retrieve all the logs.

Hi, is it possible for you to check this pull request please ?


TUF Integration Proposal

This PR explores the possiblity of TUF integration.

Introduce new command set nv2 tuf for possible TUF integration.
Document how nv2 works with TUF at docs/tuf/README.md.
Canonical JSON serialization

Related: #6, https://github.com/shizhMSFT/nv2/pull/17

Housecleaning:
@shizhMSFT, is this still active? Should we merge into the prototype-1 branch, or close as it's become dated?

Close this PR as it become outdated.


Docker image build and push from CI

Bit more info in the commit messages.
This adds a Dockerfile ported over from the origin fork and sets the syndesis.yml template to use the tag latest-react (this enables the use of minishift via syndesis minishift --install --local). Also adds CircleCI configuration to build and publish to Docker Hub.

PR Storybook available here

PR Storybook available here

OK, so I think this might work, but it needs to be merged to master for the environment variables DOCKER_LOGIN and DOCKER_PASSWORD set on the CircleCI settings to be present.


[EoD] remove vcats from element info

we didn't need them there in the first place

uhhh seems ok


266 improve animationsystem tests

Codecov Report

Merging #267 (610e61a) into master (ee94f22) will increase coverage by 0.11%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #267      +/-   ##
==========================================
+ Coverage   28.96%   29.08%   +0.11%
==========================================
  Files         106      108       +2
  Lines        2137     2142       +5
  Branches     1112     1113       +1
==========================================
+ Hits          619      623       +4
+ Misses       1067     1065       -2
- Partials      451      454       +3

Impacted Files
Coverage Δ

.../GraphicECS/SFML/Components/AnimationComponent.hpp
50.00% <0.00%> (ø)

...CS/SFML/Components/AnimationFrequencyComponent.hpp
50.00% <0.00%> (ø)

libs/GraphicECS/SFML/Systems/AnimationSystem.cpp
12.50% <0.00%> (+12.50%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[capture] Replace pyxkcp.kmac128 with pycryptodome

Capture setup for kmac was developed a long time ago, before pycryprodome supported KMAC128. As a temporary solution we used pyXKCP to verify the computation result.
In the meantime KMAC128 was added to the latest version of pycryptodome.
This PR replaces calls to pyxkcp.kmac128 with the pycryptodome calls.
I've tested the modified capture functions on FPGA and it all works properly.

. Should we also add a minimum version to pycryptodome,

Yes of course. I've now added minimal version 3.12.0
Thanks @m-temp  for catching this.

we should deal with those leftovers in a second commit/PR/issue.
Indeed, I've added a second commit that removes the files.


Refactor pruning plugin

New algorithm:

this block is encountered for the first time in this "analysis thread"? -> execute
somewhere along this path are state modifications that have been observed to affect execution -> execute
somewhere along this paths are dependencies on state that has been modified in the previous transaction -> execute
otherwise -> skip

No regressions on quick Edelweiss run.


Relaxo Logo?

I added Relaxo to my encyclopedia of databases:
https://dbdb.io/db/relaxo
Is there a logo for Relaxo that I can use?
-- Andy

@picatz do you feel like making a logo? :)
Relaxo is a mix of couchdb and github.

Ideas?

@picatz bump.

SVG Version as Gist

Nice! Done:
https://dbdb.io/db/relaxo

Haha that's awesome!


Backport

Do you plan to backport 1.4 to previous version (mainly 1.20.1)? except removing riding height

Almost, I'm planning to release v1.5 for 1.20-1.20.1 and 1.20.2 separately

Backported to 1.20-1.20.1