Please include php version support in every composer.json

Hi i noticed you don't include min php version needed for some of your packages.
Please update your composer.json files.

I'm not sure what min PHP version for my another package. But I use PHP 5.5.x when I develop them.
I will close this, because this package already have min php version in composer.json.


Throw exceptions when permissions checks fail

Add and throw missing exceptions when permissions checks fail. This
prevents certain operations that the user does not have privileges to
perform from succeeding anyway.

Why not make the methods throw the exception themselves? It looks like they are already throwing ThriftSecurityException.

That would be a bigger change,
That would be inconsistent with how the methods are used today, and
In some cases, we don't want to fail yet... as it's one of several conditions which can be satisfied to perform the operation, so the boolean is needed.

Why not make the methods throw the exception themselves? It looks like they are already throwing ThriftSecurityException.

1. That would be a bigger change,

2. That would be inconsistent with how the methods are used today, and

3. In some cases, we don't want to fail yet... as it's one of several conditions which can be satisfied to perform the operation, so the boolean is needed.

OK I see that now.  For example, the Auditing needs to know the result so it can be logged.

Shouldn't spotbugs have noticed the boolean returned not being used?

Shouldn't spotbugs have noticed the boolean returned not being used?

It is my understanding that spotbugs doesn't check the return value of every method, only well-known ones whose return values are expected to be used. It's possible that at level 20, it would report it. However, we run spotbugs at maxRank 16, because higher is too spammy, and the value of what it finds is diminished.

@Manno15 has backported these fixes to 1.10.1 in #1830 , and has described tests he will add. With two approvals already, I'll merge this now, so the tests can be more easily merged forward from those changes later.


Parse -0 and -0x0 as unsigned 0 even on Mac

Works around a difference between Xcode's std::istringstream
and that of other platforms.
Addresses part of https://github.com/KhronosGroup/SPIRV-Tools/issues/45

Turns out that such cases are rejected at a higher level anyway.  I'll post a different merge request to expand the test cases at the higher level instead.


Image upload

The image upload has no state to manage when an upload is been uploaded

you mean progesss bar upload image or show loading ?

Yes

Yes, i mean showLoading. Is that present that I didn't know?

thank for your feedback. I will check this later


Copy edit preparing for gcp edit (S3C-1207)

Pull request template
Description
A whole lot of copy editing.
Motivation and context
There were inconsistencies, solecisms, formatting errors, Franglish. I've tightened things up a bit.
Related issues
Please use the following link syntaxes #600 to reference issues in the
current repository
Checklist
Add tests to cover the changes
New tests added or existing tests modified to cover all changes
Code conforms with the [style guide]
Correct me if I'm wrong...
(https://github.com/scality/Guidelines/blob/master/CONTRIBUTING.md#coding-style-guidelines)
Sign your work
Signed-off-by: William Abernathy<EMAIL_ADDRESS>

PR has been updated. Reviewers, please be cautious.

CONFLICT (add/add): Merge conflict in tests/locationConfig/locationConfigTests.json
CONFLICT (add/add): Merge conflict in tests/functional/raw-node/utils/makeRequest.js
CONFLICT (add/add): Merge conflict in tests/functional/raw-node/package.json
CONFLICT (add/add): Merge conflict in tests/functional/aws-node-sdk/test/support/awsConfig.js
CONFLICT (add/add): Merge conflict in tests/functional/aws-node-sdk/test/multipleBackend/listParts/azureListParts.js
CONFLICT (add/add): Merge conflict in tests.bash
CONFLICT (add/add): Merge conflict in package.json
CONFLICT (add/add): Merge conflict in lib/metadata/wrapper.js
CONFLICT (add/add): Merge conflict in lib/metadata/ModelVersion.md
CONFLICT (add/add): Merge conflict in lib/data/multipleBackendGateway.js
CONFLICT (add/add): Merge conflict in lib/data/locationConstraintParser.js
CONFLICT (add/add): Merge conflict in lib/data/external/utils.js
CONFLICT (add/add): Merge conflict in lib/data/external/GCP/index.js
CONFLICT (add/add): Merge conflict in lib/data/external/GCP/gcp-2017-11-01.api.json
CONFLICT (add/add): Merge conflict in lib/data/external/GCP/GcpService.js
CONFLICT (add/add): Merge conflict in lib/data/external/AwsClient.js
CONFLICT (add/add): Merge conflict in lib/api/api.js
CONFLICT (add/add): Merge conflict in lib/Config.js
CONFLICT (add/add): Merge conflict in docs/USING_PUBLIC_CLOUDS.rst
CONFLICT (add/add): Merge conflict in docker-entrypoint.sh
CONFLICT (add/add): Merge conflict in constants.js
CONFLICT (add/add): Merge conflict in config.json
CONFLICT (add/add): Merge conflict in README.md

CONFLICT (add/add): Merge conflict in tests/unit/utils/responseStreamData.js
CONFLICT (add/add): Merge conflict in tests/locationConfig/locationConfigTests.json
CONFLICT (add/add): Merge conflict in tests/functional/raw-node/utils/gcpUtils.js
CONFLICT (add/add): Merge conflict in tests/functional/aws-node-sdk/test/support/awsConfig.js
CONFLICT (add/add): Merge conflict in tests/functional/aws-node-sdk/test/multipleBackend/utils.js
CONFLICT (add/add): Merge conflict in tests.bash
CONFLICT (add/add): Merge conflict in package.json
CONFLICT (add/add): Merge conflict in lib/server.js
CONFLICT (add/add): Merge conflict in lib/metadata/wrapper.js
CONFLICT (add/add): Merge conflict in lib/data/locationConstraintParser.js
CONFLICT (add/add): Merge conflict in lib/data/external/utils.js
CONFLICT (add/add): Merge conflict in lib/data/external/GcpClient.js
CONFLICT (add/add): Merge conflict in lib/data/external/GCP/gcp-2017-11-01.api.json
CONFLICT (add/add): Merge conflict in lib/data/external/GCP/GcpUtils.js
CONFLICT (add/add): Merge conflict in lib/data/external/GCP/GcpService.js
CONFLICT (add/add): Merge conflict in lib/data/external/AwsClient.js
CONFLICT (add/add): Merge conflict in lib/api/objectCopy.js
CONFLICT (add/add): Merge conflict in lib/api/initiateMultipartUpload.js
CONFLICT (add/add): Merge conflict in lib/api/bucketPutVersioning.js
CONFLICT (add/add): Merge conflict in lib/api/apiUtils/object/processMpuParts.js
CONFLICT (add/add): Merge conflict in lib/api/apiUtils/object/createAndStoreObject.js
CONFLICT (add/add): Merge conflict in lib/Config.js
CONFLICT (add/add): Merge conflict in docs/USING_PUBLIC_CLOUDS.rst
CONFLICT (add/add): Merge conflict in docker-entrypoint.sh
CONFLICT (add/add): Merge conflict in constants.js
CONFLICT (add/add): Merge conflict in config.json
CONFLICT (add/add): Merge conflict in README.md

PR has been updated. Reviewers, please be cautious.

PR has been updated. Reviewers, please be cautious.

CONFLICT (content): Merge conflict in lib/data/locationConstraintParser.js


Doble space after a pasted link add an unwanted dot

Is there an existing issue for this?

[X] I have searched the existing issues

Flutter Quill version
9.3.6
Steps to reproduce

in case of physical android device make sure your keyboard has the "double space per period" setting enabled, but you can reproduce the error also in android and ios simulator
copy a link (for example https://github.com) from the browser
open the quill example app, empty section
paste the link
immediately after the link add two spaces

Expected results
Text: https://github.com
Link: https://github.com
Actual results
Text: https://github.com
Link: https://github.com.
Notice: these is a point at the end of a link which can make the link invalid but the writer doesn't notice
Code sample
No changes to the sample code
Screenshots or Video

Screenshots / Video demonstration

Logs
Logs
[Paste your logs here]

Does this issue still persists? I will close it. If it does, please reopen.

@mbenci Can you confirm if this still an issue?


Refactor workbox-build defaults, and update the injection-point-not-found message

R: @addyosmani @gauntface
Fixes #1053
In the course of addressing the issue I ended up refactoring how defaults are passed through to joi, keeping them in an external module instead of inline. That made it easier to tell whether the effective option that we were dealing with was overridden by the developer, or was the default value, which in turn made it possible to customize the error message accurately.

Changes Unknown when pulling 66b6202f2f0d3412194b65114ec6c04e81e11ebe on improve-cli-inject-manifest-error into ** on v3**.


react-native run-ios tries to run on a non-existent device/simulator

Description
Pretty much the title; freshly created react-native apps fail to run because xcodebuild is passed an invalid destination specifier.
Steps to reproduce

Create a new app with npx react-native init testapp or npx react-native@latest init testapp
Answer either yes or no to the "install pods" question, doesn't seem to matter (I picked y)
cd testapp
Run the app with npm run ios or npx react-native run-ios

xcodebuild then fails with this error: xcodebuild: error: Unable to find a destination matching the provided destination specifier: { id:00008301-A08E7096220BC02E }
React Native Version
0.73.5
Affected Platforms
Build - MacOS
Output of npx react-native info
info Fetching system and libraries information...
(node:41413) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
System:
  OS: macOS 14.3.1
  CPU: (10) arm64 Apple M1 Pro
  Memory: 770.73 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 21.7.0
    path: /opt/homebrew/bin/node
  Yarn:
    version: 1.22.21
    path: /opt/homebrew/bin/yarn
  npm:
    version: 10.5.0
    path: /opt/homebrew/bin/npm
  Watchman:
    version: 2<IP_ADDRESS>
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.14.3
    path: /usr/local/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.4
      - iOS 17.4
      - macOS 14.4
      - tvOS 17.4
      - visionOS 1.1
      - watchOS 10.4
  Android SDK: Not Found
IDEs:
  Android Studio: 2022.2 AI-222.4459.24.2221.9971841
  Xcode:
    version: 15.3/15E204a
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.10
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.73.5
    wanted: 0.73.5
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Stacktrace or Logs
$ npx react-native init testapp

               ######                ######
             ###     ####        ####     ###
            ##          ###    ###          ##
            ##             ####             ##
            ##             ####             ##
            ##           ##    ##           ##
            ##         ###      ###         ##
             ##  ########################  ##
          ######    ###            ###    ######
      ###     ##    ##              ##    ##     ###
   ###         ## ###      ####      ### ##         ###
  ##           ####      ########      ####           ##
 ##             ###     ##########     ###             ##
  ##           ####      ########      ####           ##
   ###         ## ###      ####      ### ##         ###
      ###     ##    ##              ##    ##     ###
          ######    ###            ###    ######
             ##  ########################  ##
            ##         ###      ###         ##
            ##           ##    ##           ##
            ##             ####             ##
            ##             ####             ##
            ##          ###    ###          ##
             ###     ####        ####     ###
               ######                ######

                  Welcome to React Native!
                 Learn once, write anywhere

✔ Downloading template
✔ Copying template
✔ Installing dependencies
✔ Do you want to install CocoaPods now? Only needed if you run your project in Xcode directly … yes
✔ Installing Ruby Gems
✔ Installing CocoaPods dependencies  (this may take a few minutes)

info 💡 To enable automatic CocoaPods installation when building for iOS you can create react-native.config.js with automaticPodsInstallation field.
For more details, see https://github.com/react-native-community/cli/blob/main/docs/projects.md#projectiosautomaticpodsinstallation

✔ Initializing Git repository

  Run instructions for Android:
    • Have an Android emulator running (quickest way to get started), or a device connected.
    • cd "/Users/martin/testapp" && npx react-native run-android

  Run instructions for iOS:
    • cd "/Users/martin/testapp"

    • npx react-native run-ios
    - or -
    • Open testapp/ios/testapp.xcworkspace in Xcode or run "xed -b ios"
    • Hit the Run button

  Run instructions for macOS:
    • See https://aka.ms/ReactNativeGuideMacOS for the latest up-to-date instructions.

$ cd testapp
$ npm run ios

><EMAIL_ADDRESS>ios
> react-native run-ios

(node:40648) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
info Another process is running on port 8081.
✖ Use port 8082 instead? › Yes
error Prompt cancelled.
info Run CLI with --verbose flag for more details.

$ npm run ios

><EMAIL_ADDRESS>ios
> react-native run-ios

(node:40720) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
info Found Xcode workspace "testapp.xcworkspace"
info Found booted Martin’s Apple Watch
info Building (using "xcodebuild -workspace testapp.xcworkspace -configuration Debug -scheme testapp -destination id=00008301-A08E7096220BC02E")

info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor

error Failed to build iOS project. "xcodebuild" exited with error code '70'. To debug build logs further, consider building your app with Xcode.app, by opening 'testapp.xcworkspace'.
Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace testapp.xcworkspace -configuration Debug -scheme testapp -destination id=00008301-A08E7096220BC02E

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

2024-03-08 16:07:34.164 xcodebuild[40911:354182] Writing error result bundle to /var/folders/nk/k75g6p1x4_17fp6_rh620n_h0000gn/T/ResultBundle_2024-08-03_16-07-0034.xcresult
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
		{ id:00008301-A08E7096220BC02E }

	Available destinations for the "testapp" scheme:
		{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00006000-001031901429801E, name:My Mac }
		{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
		{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
		{ platform:iOS, id:00008101-000808291190001E, name:eyePhone, error:eyePhone is not connected Xcode will continue when eyePhone is connected and unlocked. }
		{ platform:iOS Simulator, id:D7DC661B-557B-4C52-874A-6379E1B3DA46, OS:17.2, name:iPad (10th generation) }
		{ platform:iOS Simulator, id:D7DC661B-557B-4C52-874A-6379E1B3DA46, OS:17.2, name:iPad (10th generation) }
		{ platform:iOS Simulator, id:C649952F-2B16-4173-9357-06015E5502A1, OS:17.4, name:iPad (10th generation) }
		{ platform:iOS Simulator, id:C649952F-2B16-4173-9357-06015E5502A1, OS:17.4, name:iPad (10th generation) }
		{ platform:iOS Simulator, id:0BEE9BED-D23F-4BD7-9781-7998D4CAB3CC, OS:17.2, name:iPad Air (5th generation) }
		{ platform:iOS Simulator, id:0BEE9BED-D23F-4BD7-9781-7998D4CAB3CC, OS:17.2, name:iPad Air (5th generation) }
		{ platform:iOS Simulator, id:A5388DF3-009F-431B-941C-AE898F7A3F02, OS:17.4, name:iPad Air (5th generation) }
		{ platform:iOS Simulator, id:A5388DF3-009F-431B-941C-AE898F7A3F02, OS:17.4, name:iPad Air (5th generation) }
		{ platform:iOS Simulator, id:FD4EE6CB-8E5F-4B10-84B9-A84C7AF03B0C, OS:17.2, name:iPad Pro (11-inch) (4th generation) }
		{ platform:iOS Simulator, id:FD4EE6CB-8E5F-4B10-84B9-A84C7AF03B0C, OS:17.2, name:iPad Pro (11-inch) (4th generation) }
		{ platform:iOS Simulator, id:09DD1481-EB74-4774-9ED4-8080BF258D01, OS:17.4, name:iPad Pro (11-inch) (4th generation) }
		{ platform:iOS Simulator, id:09DD1481-EB74-4774-9ED4-8080BF258D01, OS:17.4, name:iPad Pro (11-inch) (4th generation) }
		{ platform:iOS Simulator, id:2D54378D-2E5C-4CCD-B79C-1C7EBDF2DDB2, OS:17.2, name:iPad Pro (12.9-inch) (6th generation) }
		{ platform:iOS Simulator, id:2D54378D-2E5C-4CCD-B79C-1C7EBDF2DDB2, OS:17.2, name:iPad Pro (12.9-inch) (6th generation) }
		{ platform:iOS Simulator, id:A539844A-22E0-4782-8FE5-38A6DF1F7D9D, OS:17.4, name:iPad Pro (12.9-inch) (6th generation) }
		{ platform:iOS Simulator, id:A539844A-22E0-4782-8FE5-38A6DF1F7D9D, OS:17.4, name:iPad Pro (12.9-inch) (6th generation) }
		{ platform:iOS Simulator, id:56D357EC-09A5-48D8-812D-29937BB72AC6, OS:17.2, name:iPad mini (6th generation) }
		{ platform:iOS Simulator, id:56D357EC-09A5-48D8-812D-29937BB72AC6, OS:17.2, name:iPad mini (6th generation) }
		{ platform:iOS Simulator, id:D9DB7C3D-7B70-46ED-80CC-E2849558741D, OS:17.4, name:iPad mini (6th generation) }
		{ platform:iOS Simulator, id:D9DB7C3D-7B70-46ED-80CC-E2849558741D, OS:17.4, name:iPad mini (6th generation) }
		{ platform:iOS Simulator, id:02634CB4-6BAC-4A0A-9616-20E035594BB3, OS:17.2, name:iPhone 15 }
		{ platform:iOS Simulator, id:02634CB4-6BAC-4A0A-9616-20E035594BB3, OS:17.2, name:iPhone 15 }
		{ platform:iOS Simulator, id:C97C038A-C517-4793-BE93-53A9B63AFB11, OS:17.4, name:iPhone 15 }
		{ platform:iOS Simulator, id:C97C038A-C517-4793-BE93-53A9B63AFB11, OS:17.4, name:iPhone 15 }
		{ platform:iOS Simulator, id:942D6A88-E357-4357-8A0F-52C6AD13A77D, OS:17.2, name:iPhone 15 Plus }
		{ platform:iOS Simulator, id:942D6A88-E357-4357-8A0F-52C6AD13A77D, OS:17.2, name:iPhone 15 Plus }
		{ platform:iOS Simulator, id:9E24B7B6-44E6-4071-BD4D-77515000EF0D, OS:17.4, name:iPhone 15 Plus }
		{ platform:iOS Simulator, id:9E24B7B6-44E6-4071-BD4D-77515000EF0D, OS:17.4, name:iPhone 15 Plus }
		{ platform:iOS Simulator, id:E8834C45-0973-4BDF-85A0-1BCF13E4C5C8, OS:17.2, name:iPhone 15 Pro }
		{ platform:iOS Simulator, id:E8834C45-0973-4BDF-85A0-1BCF13E4C5C8, OS:17.2, name:iPhone 15 Pro }
		{ platform:iOS Simulator, id:C450F8ED-AD20-4491-9684-0538C8EFF66C, OS:17.4, name:iPhone 15 Pro }
		{ platform:iOS Simulator, id:C450F8ED-AD20-4491-9684-0538C8EFF66C, OS:17.4, name:iPhone 15 Pro }
		{ platform:iOS Simulator, id:5CFB8C89-5040-45D1-9661-E8AAA6D7E451, OS:17.2, name:iPhone 15 Pro Max }
		{ platform:iOS Simulator, id:5CFB8C89-5040-45D1-9661-E8AAA6D7E451, OS:17.2, name:iPhone 15 Pro Max }
		{ platform:iOS Simulator, id:113E7810-A1FB-4177-AF75-7BD5D4FC9C0D, OS:17.4, name:iPhone 15 Pro Max }
		{ platform:iOS Simulator, id:113E7810-A1FB-4177-AF75-7BD5D4FC9C0D, OS:17.4, name:iPhone 15 Pro Max }
		{ platform:iOS Simulator, id:44D8F66D-3A5B-4AB1-AA60-E43FA8FB0456, OS:17.2, name:iPhone SE (3rd generation) }
		{ platform:iOS Simulator, id:44D8F66D-3A5B-4AB1-AA60-E43FA8FB0456, OS:17.2, name:iPhone SE (3rd generation) }
		{ platform:iOS Simulator, id:27A84CF4-A345-4A5F-82AF-D418996284A6, OS:17.4, name:iPhone SE (3rd generation) }
		{ platform:iOS Simulator, id:27A84CF4-A345-4A5F-82AF-D418996284A6, OS:17.4, name:iPhone SE (3rd generation) }

Reproducer
https://github.com/mortie/recat-natvie-testapp
Screenshots and Videos
No response

The reproduction steps are there. There's no further info necessary to reproduce.

The repro repo is completely unchanged from what the npx react-native init generated fwiw, so it's probably not that interesting

Hi @mortie
Thanks for reporting this issue.
The code of run-ios lives inside the CLI, so please open this issue against this other repo:
https://github.com/react-native-community/cli/issues


Bump rustler_precompiled to v0.5.2

Rustler Precompiled had a bug in v0.5.1 wherein precompiled NIFs could not run on Fedora and RHEL machines. See
https://github.com/philss/rustler_precompiled/issues/30
This commit bumps Rustler Precompiled to v0.5.2 to eliminate this bug in html5erver.

@Benjamin-Philip thanks again! Since the version requirement is relaxed, you can upgrade rustler_precompiled in projects using html5ever_elixir by running mix deps.update rustler_precompiled.
In any case, this change is going to force the upgrade, so it's good.

In that case I'm gonna send a PR to Floki as well.

Could you release a new patched version as well?

Could you release a new patched version (v0.13.2) as well?

@Benjamin-Philip sure! But I'm going to do that in the morning. Sleep time for me now :smile:

Sure! It's 9:30 am for me.

@philss, I don't mean to be rude, but ping

@Benjamin-Philip no problem. This is released in v0.14.0.

Could you release a new patched version (v0.13.2) as well?

I forgot to say that this would be a minor, since it would break who were depending of 0.4 of rustler_precompiled for some reason.


Always visible deleteButton

Hello! How I can make deleteButton always visible?

If it is cancelable, the "Cancel" button will appear instead of the "Delete" button.
If cancellation is not possible, you can use a method to always display the "Delete" button by modifying the source code.

What I should change in source code?

This package needs to be modified.
If the previous suggestion is acceptable, we will address it.


fix currency support in bill_data

According to the documentation, currency can be specified within the bill_data, but previously, it had no impact since 'CHF' was hardcoded. This fix utilizes the currency value and defaults to 'CHF' when the currency is no specified.

Hi franco
Thank you for your pull request. I will look into it and implement the fix as soon as possible.
Best,
Mischa


Docker bip configuration change

I'm having an issue with my cluster connecting to my private docker registry.
My registry is on a network within my organization on a 172.17.x.x network.
Unfortunately, I've tracked it down to the fact that this is the default BIP configuration for docker so I cannot route to my personal network as all requests are trying to be routed to docker.
I've found some cloud-init configuration that allows me to change the bip docker config, and I can do it manually via EC2 and a new instance of CoreOS, however I cannot figure out the "correct" way to do this with kube-aws..  My initial thought was to inject my cloud-init snippet into the cloud-config-worker yaml file before issuing the up command, but this seems hokey.
Something like this is what I need to add:
coreos:
  units:
    - name: docker.service
      drop-ins:
        - name: 10-docker.conf
          content: |
            [Service]
            Environment="DOCKER_OPTS=--bip=<IP_ADDRESS>/24 --fixed-cidr=<IP_ADDRESS>/24"
Is there a way to add/modify the generated cloud-init yaml via kube-aws?
Thanks

Hi @qpaulson, thanks as always for trying kube-aws!
I believe injecting your snippets into cloud-config files is a correct way, especially when you rely on the git-based workflow @redbaron suggests.
On the other hand, I understand that some users want to complete all the customizations in cluster.yaml.
How about enabling to customize DOCKER_OPTS in cluster.yaml like suggested in #134?
docker:
  options:
  - bip: <IP_ADDRESS>/24
  - fixed-cidr: <IP_ADDRESS>/24
  # To keep the kube-aws's default docker opts: DOCKER_OPTS=--log-opt max-size=50m --log-opt max-file=3
  - log-opt: maxsize=50m
  - log-opt: max-files=3

@redbaron Would you like the configuration syntax above? Or more simpler ones like https://github.com/kubernetes-incubator/kube-aws/issues/134#issuecomment-271747021?
Regarding the latter, I'm afraid that users forget to include the default log-opts in their own docker.opts string ❓

Thanks Mumoshu, you're very helpful as usual.
I believe since Docker is a core component of the cluster it makes sense to add these options to the cluster.yaml configuration options.
Also, we're looking at using Dex for Authentication integration - We're still in investigation stages, but I expect there to be K8s API specific configuration for Dex to work. Should this be in the cloud-config as well do you figure? Is there a plan to incorporate Dex & Dex configuration options into kube-aws?
Thanks again!

@qpaulson No ETA for now but a dex integration is definitely in my own plan!(Btw I'd appreciate it if anyone could take a lead implementing it)
Until then, cloud-config files should be customized by you to add appropriate oidc-* flags to kube-apiserver as described in https://github.com/coreos/dex/blob/master/Documentation/kubernetes.md#configuring-the-openid-connect-plugin

@qpaulson FYI, #506 addresses the dex support

Similarly to #789, we would want the setting key for this to be dockerOpts for consistency, rather than docker.options which I've originally suggested.


[Bug Report] 💡 All entries in this playlist were longer than the allowed maximum (00:00)

Bug Description
0.3.7 solved this issue with YT not playing back (single song), but trying to load up a YT playlist still errors
"💡 All entries in this playlist were longer than the allowed maximum (00:00)"
Seems like a separate issue but this began happening at the same time as the YT play back error that prompted 0.3.7 fix. Changing the config time length has no effect
Steps to Reproduce
que up any yt playlist (not individual song) example : (>> being my bots prefix)

play https://www.youtube.com/playlist?list=PLw2HgxPxeoFRP5_3hFZfTd_yh0CF6KjAK

returns:
💡 All entries in this playlist were longer than the allowed maximum (00:00)
Expected Result
YT playlist queing worked fine until todays other YT issue.
Debug Output
System Properties:
java.version = 11.0.7
java.vm.name = OpenJDK Server VM
java.vm.specification.version = 11
java.runtime.name = OpenJDK Runtime Environment
java.runtime.version = 11.0.7+10-post-Raspbian-3deb10u1
java.specification.version = 11
os.arch = arm
os.name = Linux
JMusicBot Information:
Version = 0.3.7
Owner =<PHONE_NUMBER>5913856
Prefix = >>
AltPrefix = null
MaxSeconds = 0
NPImages = false
SongInStatus = false
StayInChannel = true
UseEval = false
UpdateAlerts = true
Dependency Information:
JDA Version = 4.3.0_324
JDA-Utilities Version = 3.0.5
Lavaplayer Version = 1.3.78
Runtime Information:
Total Memory = 66
Used Memory = 33
Discord Information:
ID =<PHONE_NUMBER>22226000
Guilds = 1
Users = 6
Additional Info
No response
Checklist

[X] I have looked for information about this within the documentation
[X] I have searched for similar issues on the issues page
[X] I am running the latest version of the bot:

There are two problems here:

The playlist is failing to load any entries
The error message doesn't account for a possible empty playlist

the playlist works fine and is not empty,, its the same play list we have been using for months. additionally no other playlists will load, they all display the same error

I know the playlist isn't empty, youtube made a change today

When will YouTube solve this problem?

I hope that you will get this problem fixed and that we will soon be able to use the bot again as usual.

We have the same issue :

(Frisky is just the name, under the hood its MusicBot

We have the same issue :  (Frisky is just the name, under the hood its MusicBot)

Everyone has the same issue when loading playlists rn, its a pain to debug but there will be a patch when one is found I'm sure

There's no need to post more screenshots, all playlists are broken and will display this (incorrect) error message.

I have found the cause of this bug & made a fix. A new version of JMusicBot containing this fix should release soon.

I have found the cause of this bug & made a fix. A new version of JMusicBot containing this fix should release soon.

That's awesome, thank you very much for all your efforts.

Thanks, will look out for update.

Fixed as of v0.3.8

Fixed as of v0.3.8

Amazing! TY for your hard work, this bots awesome and my community loves it!


SSR Doesn't work in my app with Supabase

Describe the problem
I have an issue with my Nuxt 3 App. It is not rendering is SSR mode. When I look at page in "View page source" mode, it is not rendered in SSR. In main "__nuxt" block I got empty

 .
Reproduction
https://stackblitz.com/edit/nuxt-shortener-url?file=app.vue,app.config.ts
Notes
I left example.env file in reproduction, with my Supabase datas. So please don't steal it :)
P.S. Problem comes from Supabase. When I fully disable the Supabase the website starts to render in SSR correctly, but when I enable it, i get only empty __nuxt block.

Update!
I set the redirect option to false and it fixed my issue.
Closing.


Carve out Algebra, Data and Order sublibraries

The bottom part of mathlib is quite a mess. Algebra, data structures and order theory could be developed separately (at least for a while) but are not. Instead, "horizontal" imports keep happening between what would otherwise be three disjoint trees.
The main sources of trouble are

Nat and Int, as they are ubiquitous. Their basic properties can be accessed through typeclass-mediated lemmas by importing Data.Nat.Basic and Data.Nat.Order.Basic. However this comes at the cost of importing basic algebra or basic algebraic order theory where unnecessary. Instead, we can use the Nat- and Int-specific lemmas provided by Std.
Many pure algebraic/order theoretic/data structuresque files import non-pure algebraic/order theoretic/data structuresque files just to prove a few properties of an object defined in the non-pure file. In that case, the import can be reversed so that the pure file has pure imports.
Misplaced files. Eg Polynomial, Real or Set.Icc are defined under Data. The solution is to simply move them to the correct top-level folder.

The purpose of this issue is to collect the PRs doing at least one of the above:

#11601
#11633
#11653
#11661
#11711
#11715
#11716
#11725
#11729
#11732
#11741
#11750
#11751
#11753
#11765

Once all these issues will be fixed, we will be able to create three new Lean libraries Algebra, Data, Order, all still living in the current repository.
After such a split, these sublibraries would form a DAG in terms of dependencies. This adds some constraints to future refactors, as that DAG would essentially become immutable.
The benefits?

working towards it requires drastically cleaning up the import graph, which currently is full of "horizontal gene transfer".
the sublibrary DAG being immutable is also helpful: it prevents some dependency regressions!
even though everything will remain in one repository (this is important to minimise the cost of cross-repository refactors), it will be possible in lake to specify that you only want to depend on a subset of these libraries.

it will be possible in lake to specify that you only want to depend on a subset of these libraries.

I don't understand why this is useful. Already, if you do lake build in your project, it only builds the bits of mathlib that you actually import. You can use lake exe cache in a similar way. So the "unused" bits of mathlib are already not meaningfully "depended" on.


Rewire index

Opinions welcome.
I turned upside-down part of index.php and the dispatcher.
The idea behind is that it's easier to ask the controller if he needs the theme or to track the stats rather than having to use an hook to create an array of values and do in_array, etc.
To me it looks cleaner and even more readable now.
Reminder: if the PR is not accepted, there is a bug in the if to check if dlattach should not load the whole theme.

I  like this. Much more clean and logical.

darn... conflicts... :sob:

Well, judging by the thumbs-up I feel the PR makes sense.
Before merging it I'd stress this PR removes one hook  (because its function is now taken care by the controller itself) and removes one parameter from another one (because the directory is now taken care by the autoloader).
If there are no objection in a couple of days I'll merge. :angel:

this PR removes one hook

I wonder if anyone other than portals used it.

That's my feeling as well. I had a moment thinking about adding a way to keep supporting the hook at least for 1.1, but then I felt it may be easier and better support anyone in need of help upgrading custom code.

I used it in SP but no where else .. it will be a lot nicer moving it to the controller.

My addon just reacted to this:
        // Hey man, what happened? /stoner voice

To add some context: my main controller used its constructor to initialise things which in turn broke upon this update.
Bleeding edge development sure is fun! :P

Dave's not here, man :P


Create a 1.0.0 release, and get releases and snapshots published via CI.

Hoping for some help from @joschi or any other @dropwizard-committers who's familiar with what the process is to get artifact publishing all set up!

I did create this: https://issues.sonatype.org/browse/OSSRH-48580
But I'm not sure who has a deployer role for io.dropwizard.modules

@mzamani1 We have a dedicated account at Sonatype OSS for publishing artifacts, no need to get individual access there. I'll take a look at setting up the release process on the weekend.

@joschi That'd be great, thanks! I'll try to get a few more modules up this week, so we can knock a few out this weekend.

This should work as soon as https://issues.sonatype.org/browse/OSSRH-48760 has been resolved.

Planning on getting a 1.0.0 release published later this week/weekend.

Published 1.3.11-1


Can't use with Angular 11?

I'm trying to use canvas-datagrid with Angular 11 but I can't. I've created a new project, then installed canvas-datagrid, and tried a few approaches to get it to work.
I added canvas-datagrid.js into scripts in angular.json. I have also imported it to my component.ts like this
import * as canvasDatagrid from 'canvas-datagrid';
Tried to follow the example and added some HTML:
<canvas-datagrid class="myGridStyle" data="">[
    {"col1": "row 1 column 1", "col2": "row 1 column 2", "col3": "row 1 column 3"},
    {"col1": "row 2 column 1", "col2": "row 2 column 2", "col3": "row 2 column 3"}
]</canvas-datagrid>

Unfortunatelly got error NG8001: 'canvas-datagrid' is not a known element. I tried to import somehow this component to app.module but couldn't.
Then tried the second way of implementation:
grid = canvasDatagrid();

ngOnInit(){
    document.body.appendChild(this.grid);
    this.grid.data = [
        {col1: 'row 1 column 1', col2: 'row 1 column 2', col3: 'row 1 column 3'},
        {col1: 'row 2 column 1', col2: 'row 2 column 2', col3: 'row 2 column 3'}
    ];
}

Error: Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "canvas-datagrid" has already been used with this registry at CustomElementRegistry.target. [as define]
Third approach
grid = canvasDatagrid({
    parentNode: document.getElementById('gridctr'),
    data: [{col1: 'foo', col2: 0, col3: 'a'},
    {col1: 'bar', col2: 1, col3: 'b'},
    {col1: 'baz', col2: 2, col3: 'c'}]
});

Got the same error as in second.
Finally I tried to put <canvas-datagrid>[]</canvas-datagrid> in HTML and while app was served, it was showing like one cell of spreadsheet, getting console error on click: "Cannot read property 'length' of undefined". If added first, then serving the app, getting "Cannot GET/" result.
What am I doing wrong? How to use it on Angular?

I haven't used Angular before so I can't say exactly what is going wrong here. The error Failed to execute 'define' would occur if it was getting registered twice.  Is there another place you're registering something with the same name as a web component maybe by accident?  I don't think this lib would try and register itself twice.  At least I haven't heard that bug before.
For the first error it saying 'canvas-datagrid' is not a known element likely means the lib was not given enough time to load before the page was rendered.  That sounds like the easier path to take to implement.  You just need to make sure the canvas-datagrid lib is finished loading (it's all sync) before you try and render your page.  I haven't used angular so I don't know the framework specific way you're supposed to do that - and surely there is a good/bad way to do it in angular.  You should google "angular custom element" and see how they want you to import such things.
A bad way to do it without knowing much about angular is to load the canvas-datagrid lib before the angular lib.  That would ensure the custom element is registered.  Unless it is angular complaining about the thing, in which case there is likely an angular setting to suppress this error, there is such a thing in Vue.

I haven't used Angular before so I can't say exactly what is going wrong here. The error Failed to execute 'define' would occur if it was getting registered twice.  Is there another place you're registering something with the same name as a web component maybe by accident?  I don't think this lib would try and register itself twice.  At least I haven't heard that bug before.
For the first error it saying 'canvas-datagrid' is not a known element likely means the lib was not given enough time to load before the page was rendered.  That sounds like the easier path to take to implement.  You just need to make sure the canvas-datagrid lib is finished loading (it's all sync) before you try and render your page.  I haven't used angular so I don't know the framework specific way you're supposed to do that - and surely there is a good/bad way to do it in angular.  You should google "angular custom element" and see how they want you to import such things.
A bad way to do it without knowing much about angular is to load the canvas-datagrid lib before the angular lib.  That would ensure the custom element is registered.  Unless it is angular complaining about the thing, in which case there is likely an angular setting to suppress this error, there is such a thing in Vue.

Oh that's bad. I'd really love to use your library in my project. I push this case a little bit forward but stuck again, maybe you will know what is up.
So, I've added schemas: [ CUSTOM_ELEMENTS_SCHEMA ] to my app.module, which is supposed to eliminate error that says it is not known element. It worked, I served the app, compiled, no errors. But...
I tried old good <canvas-datagrid>[]</canvas-datagrid>, (visual effect the same as before):
Screenshoot: https://imgur.com/wKSSBJG
Clicking on it still produces error: core.js:5980 ERROR TypeError: Cannot read property 'length' of undefined. I was trying to pass something between those selectors but it failed. Anyways I passed something with data property.
<canvas-datagrid data="[{col1: 'foo', col2: 0, col3: 'a'},
                          {col1: 'bar', col2: 1, col3: 'b'}]">
  </canvas-datagrid>

Displayed element on page changed, it's showing a column now, but it produces errors when served.
Screenshoot: https://imgur.com/o0SNRc6
Clicking on this old element still produces Cannot read property 'length', anyways clicking on this A column seems to work fine, it makes the arrow showing sort direction change to the opposite.
Any further ideas?

Oh that's bad. I'd really love to use your library in my project. I push this case a little bit forward but stuck again, maybe you will know what is up.
So, I've added schemas: [ CUSTOM_ELEMENTS_SCHEMA ] to my app.module, which is supposed to eliminate error that says it is not known element. It worked, I served the app, compiled, no errors. But...
I tried old good <canvas-datagrid>[]</canvas-datagrid>, (visual effect the same as before):
Screenshoot: https://imgur.com/wKSSBJG
Clicking on it still produces error: core.js:5980 ERROR TypeError: Cannot read property 'length' of undefined. I was trying to pass something between those selectors but it failed. Anyways I passed something with data property.
<canvas-datagrid data="[{col1: 'foo', col2: 0, col3: 'a'},
                          {col1: 'bar', col2: 1, col3: 'b'}]">
  </canvas-datagrid>

Displayed element on page changed, it's showing a column now, but it produces errors when served.
Screenshoot: https://imgur.com/o0SNRc6
Clicking on this old element still produces Cannot read property 'length', anyways clicking on this A column seems to work fine, it makes the arrow showing sort direction change to the opposite.
Any further ideas?

Here is an example project how to use this library with angular: https://ng-run.com/edit/V8aQLT3Ubbg3v5b1zhig
The important stuff:
app.component.ts
import { Component, VERSION, ViewChild, ElementRef, AfterViewInit } from '@angular/core';
// @ts-expect-error canvas datagrid doesn't have typings yet
import * as canvasDatagrid from 'canvas-datagrid';

@Component({
  selector: 'my-app',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent implements AfterViewInit {
  @ViewChild('container') container: ElementRef<HTMLDivElement>;

  ngAfterViewInit() {
    const grid = canvasDatagrid({
      parentNode: this.container.nativeElement,
      data: [{ col1: 'foo', col2: 0, col3: 'a' },
      { col1: 'bar', col2: 1, col3: 'b' },
      { col1: 'baz', col2: 2, col3: 'c' }]
    });
  }
}

app.component.html
<div #container style="width: 100%"></div>

And you have to add canvas-datagrid to the dependencies in package.json and run npm i.

html
<canvas-datagrid #datatable [style.width.%]="100" [style.height.px]="600" [style.direction]="'ltr'" [data]="data" (rendercell)="rendercell($event)"> </canvas-datagrid>
ts
@ViewChild('datatable') datatable: any; this.datatable.nativeElement.scrollIntoView(1, 3);

I think this issue can be closed?

@Dassderdie am trying to use canvas-datagrid(version-0.3.2) in angular 12,if i installed latest version of 0.4.5,application is not compiling only,so used 0.3.2 and issue is


Optimizer: eliminate common expressions

In the present, the optimizer doesn't realize any information abount common expression.
This causes the Expression Evaluator to evaluate expressions repeatedly for every input tuple.
For Example:
> explain select x * 2 + y, x * 2 + y + 4 from test;
PhysicalProjection:
    ((InputRef #0 * 2) + InputRef #1)
    (((InputRef #0 * 2) + InputRef #1) + 4)
  PhysicalTableScan:
      table #0,
      columns [0, 1],
      with_row_handler: false,
      is_sorted: false,
      expr: None

Maybe we should rewrite the plan to:
> explain select x * 2 + y, x * 2 + y + 4 from test;
PhysicalProjection:
    (InputRef #0)
    ((InputRef #0) + 4)
  PhysicalProjection:
      ((InputRef #0 * 2) + InputRef #1)
    PhysicalTableScan:
          table #0,
          columns [0, 1],
          with_row_handler: false,
          is_sorted: false,
          expr: None

That's cool! We can see if we can do this optimization with optimizer rule 🤣


In terminology page, indicate confidence classes used for clinical reporting

Merged into release/110 and master

This is now live and can be seen here https://www.ebi.ac.uk/gene2phenotype/terminology


WIP: Link picking informations in _LinkViewer

This PR links picking points in _LinkViewer and adds a picking parameter to link_brains().

[x] Link add_point()
[x] Link remove_point()
[x] Synchronize points colors

Related to https://github.com/mne-tools/mne-python/issues/7959#issue-650610319
It's an item of https://github.com/mne-tools/mne-python/issues/7162

I mitigated the issue with synchronized colors by just clearing the initial picked points. I don't have a real solution for now.

Show a union of all picked points on all linked brains at the time of linking, by removing then re-adding once linked? That way at least the first brain will have colors stay the same, and all picked points persist

I'll build the union list and re-add then

thx @GuillaumeFavelier


If query goes over 10 seconds, discord.py will abort and share the incomplete results.

Tweaking the n_predict and the n_threads seems to help, but not really a good solution.
See https://discordpy.readthedocs.io/en/stable/faq.html?highlight=heartbeat#what-does-blocking-mean

Fixed with https://github.com/mkinney/discord_aibot/commit/b2fcbf21b6af796355b5e58d66799456bb02c1e0


refactoring

Codecov Report

Merging #322 into hotfix/datapack_to_dataframe will not change coverage.
The diff coverage is 100%.

@@                     Coverage Diff                     @@
##           hotfix/datapack_to_dataframe   #322   +/-   ##
===========================================================
  Coverage                           100%   100%
===========================================================
  Files                                28     28
  Lines                               763    761    -2
===========================================================
- Hits                                763    761    -2

Impacted Files
Coverage Δ

matchzoo/datapack.py
100% <ø> (ø)
:arrow_up:

matchzoo/engine/base_preprocessor.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


nhost success/failure URL settings

Where should I configure the following URLs from the OAuth example?
/// Success redirect URL: `nhost-example://oauth.login.success`.
/// Failure redirect URL: `nhost-example://oauth.login.failure`

On GitHub I filled the following form:

there's only one URL to set (the Homepage URL)
And on NHost I am asked for URLs in the Settings -> Authentication page shown below:

The GitHub configuration doesn't show any URL other than the callback that I set on GitHub's settings

You can't set URLs for success/failure. Instead, Auth will always redirect the user to either the Client URL or an allowed redirect URL.
If there is an issue during the sign-in process, there will be parameters in the URL describing the error.
I can't see the OAuth URLs changing. They have always included signin/.
Some steps we can take to avoid confusion in the future:

Document how Client URL, Allowed URLs, and Redirect URL works.
Document what happens on success/failure during the OAuth sign-in process.

I can't see the OAuth URLs changing. They have always included signin/.

I took the URL from the Oauth example in nhost-dart:
https://github.com/nhost/nhost-dart/blob/main/packages/nhost_flutter_auth/example/lib/oauth_providers_example.dart
as well as the instructions to setup urls

Oh, I see. Would you mind creating a separate issue for that specifically? And we can keep this issue here for documentation.

Done. https://github.com/nhost/nhost-dart/issues/93


Activated code coverage

PR Summary
This is to check whether Pester is still slow with code coverage.
#262 is related.
PR Checklist

[ ] Write Help
[ ] Write Unit Test
[ ] Update CHANGELOG.md

I made a test and basically switched the PowerShell task to use PowerShell core.
You can see the difference when using PS 5 on windows takes roughly 24 minutes (whole pipeline 28 minutes)
https://loecda.visualstudio.com/Team Module/_build/results?buildId=1872&view=logs&j=df7cdcec-8c9a-591d-7383-990f35cfc117&t=1ad5f601-14eb-5211-34b7-3146063ec0a0
the same with PS core takes only around 10 minutes (whole pipeline 16 minutes) on the same machine:
https://loecda.visualstudio.com/Team Module/_build/results?buildId=1873&view=logs&j=df7cdcec-8c9a-591d-7383-990f35cfc117&t=1ad5f601-14eb-5211-34b7-3146063ec0a0
Do you think it that is fast enough again @DarqueWarrior? How long did it take before the bug?

I changed it to only have code coverage on the windows machine.

@DarqueWarrior what do you say? Is the time enough to turn it on again?

It is still really slow. I have been testing locally.

The windows build already takes the longest. Wonder if it would not make sense to enable on one of the other platforms instead so they can be running at the same time.

For pester there is an open issue or the plan to separate test on to multiple processes or agents. Not sure how far they are that would speed up things!
As for running the tests on another agent, we could do it. I will modify this PR and switch it to a Mac OS agent. I made tests in the past and Mac OS seemed always the fastest to me.

@DarqueWarrior as you can see I ran the code coverage on mac and Unix in parallel.
They even took a bit longer around 20 minutes. So this is not faster, but I got an idea of how to maybe solve it, but it is a bit of effort. Look at  the following graphic

So we would split the unit tests into subfolders within the pipeline (not in the repo) dynamically by a divisor X of the number of unit test files.
Then we run multiple unit tests in parallel, collect the results, merge them and then commit them.
What do you say? Too much effort or manageable?

How much faster do you think this will make it?

How much it speeds up depends on the following parameters:

how many agents can we run maximum in parallel:

one for mac
one for Unix
8 left for code coverage testing with unit tests

If we expect that only one build pipeline instance is running at a certain point in time. I would generally expect that there are not more than 2 at the same time with the current workload.
I would suggest dividing the workload by at least 4 parallel agents in a YAML loop on job level. But how long each package needs really depends on the number of unit tests per file. I would only simply divide the number of unit test files by X and then put them in subfolders.
We also have some overhead for each job, since we have to install all the needed modules every time (e.g. Pester).
In the best case, it would then be around 3 minutes for all agents and in worst case 5 minutes for all. It would get better when we use more agents.
I could give it a try and prototype something.

The performance is still too slow.


arrow-array ffi: FFI_ArrowArray.null_count is always interpreted as unsigned and initialized during conversion from C to Rust.

Describe the bug
The Arrow C data interface spec states, that the null_count field of an ArrowArray structure instance
"MAY be -1 if not yet computed" .
Currently the arrow-array crate's ffi  always treats this field as unsigned and initialized, though this assumption can be
false, if the arrow C data interface specification is strictly followed. Because of that one can get all sorts of nasty bugs
when working with arrays coming from C.
To Reproduce

Construct an instance of an FFI_ArrowArray and set its null_count field to -1.
Convert the above instance into an ArrayData instance with the help of the from_ffi
(or  from_ffi_and_data_type) function.
Call the null_count() method on the resulting ArrayData instance (calls into NullBuffer's null_count()).
The result is a usize::MAX due to conversion from signed to unsigned.

Expected behavior
If the null_count field of an FFI_ArrowArray instance is -1 (uninitialized):
- Either initialize the null_count field of a NullBuffer instance  during ffi conversion by inspecting the null buffer itself,
- or stick to the arrow C data interface spec, by making the null_count field of theNullBuffer an Option and adding
support for lazy initialization during  the call to its null_count() method.

Computing the null count if not provided makes sense to me, various kernels rely on this being precomputed to efficiently perform kernel selection and so changing this would be highly disruptive

take


@autobind decorator is not working in react-native 0.32

It gives the following error

@anuragalla is it still happening with the latest versions?

Not anymore this should help you.
npm install --save-dev babel-plugin-transform-decorators-legacy

.babelrc
{
	 "presets": [
	    "react-native"
	  ],
	  "plugins": ["transform-decorators-legacy"]
}

Closing since this is not a problem with this module.


Can go2sky support output to kafka

Can go2sky library output data to kafka instead of :11800?
If go2sky can't, I can work on this under guides

I think we can't for now.

@wu-sheng Is this feature appropriate or in roadmap? Can I work on this?

https://github.com/SkyAPM/go2sky-plugins/tree/master/kafkareporter @Shoothzj  Is this?

I think so. Kafka reporter is in the plugin repo.


Added nameable, capitalize, Decorator and a trimmer

In this milestone I used the Decorator design pattern to correct the names of people

I created a class Nameable that implements a method called correct_name that will raise a NotImplementedError.
I turned the Person class to Nameable
I created a class Decorator and make sure that this is inherited from Nameable
I create a class called CapitalizeDecorator and once called TrimmerDecorator and make sure that classes are inherited from the base Decorator class.

Hello Lydia
Can you tell me, please what should I do?
On Thu, 28 Jul 2022 at 19:03, Arslan Bisharat @.***>
wrote:

@.**** requested changes on this pull request.
Hi @stanleySimeon https://github.com/stanleySimeon,
While you made a great effort in this project, unfortunately, I cannot
proceed to review your code.
Invalid Code Review Request
You have submitted a project, that has failing linters.
Your Code Review Request will be marked as invalid in your Dashboard, so
please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something
is not 100% clear.
Please, remember to tag me in your question so I can receive the
notification.
Please, do not open a new Pull Request for re-reviews. You should use the
same Pull Request submitted for the first review, either valid or invalid
unless it is requested otherwise.
Invalid Code Review Request does not count into the code reviews limit.
—
Reply to this email directly, view it on GitHub
https://github.com/stanleySimeon/OOP_SCHOOL/pull/4#pullrequestreview-1054540656,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVYCZFMUIMEHXMOXAOWD7ITVWLDQBANCNFSM542R53GQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Or, What do you think if I leave the project and repeat the week just
because the reviewers won't be able to tell me what I should change when
the project can't be approved?
On Thu, 28 Jul 2022 at 19:23, Stanley Simeon @.***> wrote:

Hello Lydia
Can you tell me, please what should I do?
On Thu, 28 Jul 2022 at 19:03, Arslan Bisharat @.***>
wrote:

@.**** requested changes on this pull request.
Hi @stanleySimeon https://github.com/stanleySimeon,
While you made a great effort in this project, unfortunately, I cannot
proceed to review your code.
Invalid Code Review Request
You have submitted a project, that has failing linters.
Your Code Review Request will be marked as invalid in your Dashboard, so
please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if
something is not 100% clear.
Please, remember to tag me in your question so I can receive the
notification.
Please, do not open a new Pull Request for re-reviews. You should use
the same Pull Request submitted for the first review, either valid or
invalid unless it is requested otherwise.
Invalid Code Review Request does not count into the code reviews limit.
—
Reply to this email directly, view it on GitHub
https://github.com/stanleySimeon/OOP_SCHOOL/pull/4#pullrequestreview-1054540656,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVYCZFMUIMEHXMOXAOWD7ITVWLDQBANCNFSM542R53GQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Register @inspectit with npm

We should reserve the @inspectit with the npm org
DDD

@inspectit is registered and ready for publishing modules

completed

Registered @projectit as org with npm


"AttributeError: 'ComputerTool' object has no attribute 'target_dimension'" on Mac M1

Hi!
I'm getting this error when I asked it to perform a simple operation: open a folder on the desktop.
(base) ***@*** computer_use_ootb % python app.py
/opt/homebrew/Caskroom/miniconda/base/lib/python3.11/site-packages/gradio/components/chatbot.py:225: UserWarning: You have not specified a value for the `type` parameter. Defaulting to the 'tuples' format for chatbot messages, but this is deprecated and will be removed in a future version of Gradio. Please set type='messages' instead, which uses openai-style 'role' and 'content' keys.
  warnings.warn(
* Running on local URL:  http://<IP_ADDRESS>:7860
* Running on public URL: https://87375beed12293e4f1.gradio.live

This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run `gradio deploy` from the terminal in the working directory to deploy to Hugging Face Spaces (https://huggingface.co/spaces)
Resolution: 1728x1117
Traceback (most recent call last):
  File "/opt/homebrew/Caskroom/miniconda/base/lib/python3.11/site-packages/gradio/queueing.py", line 712, in process_events
    response = await route_utils.call_process_api(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Caskroom/miniconda/base/lib/python3.11/site-packages/gradio/route_utils.py", line 323, in call_process_api
    output = await app.get_blocks().process_api(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Caskroom/miniconda/base/lib/python3.11/site-packages/gradio/blocks.py", line 2015, in process_api
    result = await self.call_function(
             ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Caskroom/miniconda/base/lib/python3.11/site-packages/gradio/blocks.py", line 1574, in call_function
    prediction = await utils.async_iteration(iterator)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Caskroom/miniconda/base/lib/python3.11/site-packages/gradio/utils.py", line 710, in async_iteration
    return await anext(iterator)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Caskroom/miniconda/base/lib/python3.11/site-packages/gradio/utils.py", line 704, in __anext__
    return await anyio.to_thread.run_sync(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Caskroom/miniconda/base/lib/python3.11/site-packages/anyio/to_thread.py", line 56, in run_sync
    return await get_async_backend().run_sync_in_worker_thread(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Caskroom/miniconda/base/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 2441, in run_sync_in_worker_thread
    return await future
           ^^^^^^^^^^^^
  File "/opt/homebrew/Caskroom/miniconda/base/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 943, in run
    result = context.run(func, *args)
             ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Caskroom/miniconda/base/lib/python3.11/site-packages/gradio/utils.py", line 687, in run_sync_iterator_async
    return next(iterator)
           ^^^^^^^^^^^^^^
  File "/opt/homebrew/Caskroom/miniconda/base/lib/python3.11/site-packages/gradio/utils.py", line 848, in gen_wrapper
    response = next(iterator)
               ^^^^^^^^^^^^^^
  File "/Users/***/Dropbox/GitRepos/computer_use_ootb/app.py", line 181, in process_input
    for message in sampling_loop(state):
  File "/Users/***/Dropbox/GitRepos/computer_use_ootb/app.py", line 205, in sampling_loop
    for message in accumulate_messages(
  File "/Users/***/Dropbox/GitRepos/computer_use_ootb/app.py", line 191, in accumulate_messages
    for message in sampling_loop_sync(*args, **kwargs):
  File "/Users/***/Dropbox/GitRepos/computer_use_ootb/computer_use_demo/loop.py", line 235, in sampling_loop_sync
    result = asyncio.run(tool_collection.run(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Caskroom/miniconda/base/lib/python3.11/asyncio/runners.py", line 190, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Caskroom/miniconda/base/lib/python3.11/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Caskroom/miniconda/base/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/Users/***/Dropbox/GitRepos/computer_use_ootb/computer_use_demo/tools/collection.py", line 32, in run
    return await tool(**tool_input)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/***/Dropbox/GitRepos/computer_use_ootb/computer_use_demo/tools/computer.py", line 179, in __call__
    return await self.screenshot()
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/***/Dropbox/GitRepos/computer_use_ootb/computer_use_demo/tools/computer.py", line 204, in screenshot
    screenshot = screenshot.resize((self.target_dimension["width"], self.target_dimension["height"]))
                                    ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ComputerTool' object has no attribute 'target_dimension'

Same issue here from Windows 10 this morning, using python3.12 installed with miniconda3

I have this error as well. MacBook M3 Pro.

Same issue, M1 pro

I think I was able to solve this by adding some code in the init for ComputerTool.

Hi, the latest version has added support for any resolution scale:), along with the fix for this issue.

@DanielKehoe I just set the target resolution to have default values. My apologies, I meant to open up a merge request with the changes.


Legacy loader fails

May as well remove if not being used?
filtered_idx = [i for i, _ in enumerate(data) if eval(f_eval)]

Originally posted by @paddyroddy in https://github.com/quantumjot/btrack/pull/334#discussion_r1224135831

This change needs to be reverted.

Fixed by #341


Transfer sovler specific routines from FEStorage to FESolver

FESolver:

applyBoundaryConditions() methods are moved to FESovler. Now particular
FESovler can incorporate it's own time-dependent BC for transient analysis.
FESolver has addFix and addLoad methods to register constant BC for dofs and
its rhs (concentrated load). This is simplest BCs.
FESolver calculates RHS and restores reactions loads (for constrained dofs)
by its own. Now, FEStorage->updateResults() only triggers element->update()
routines.
FESolver keeps matK, matC, matM, vecU, vecDU, vecDDU, vecF, vecR references
to FEStorage corresponding data. FESolver is fully responsible for updating
vecU, vecDU, vecDDU, vecR (FEStorage just provides an interface to these
vectors and stores them).

FEStorage:

Now matK, matC, matM matrices are BlockSparseSyMatrix<2> that means that its
have 3 diffecrent blocks (block(1) = constrained-constrained dofs,
block(1,2) = constrained-unknown dofs, block(2) = unknown-unknown dofs
(including Mpc's lambdas).
FEStorage don't have information which DoFs are fixed (constrained). Now
FESolver should provide this information by using
setConstrained[Node/Element]Dof().
The right algorithm to initialize solution data in FEStorage is the next: 1.
storage->initDofs() 2. storage->setConstrained[Node/Element]Dof(..)
3. storage->assignEquationNumbers() 4.  storage->initSolutionData()
FEStorage stores to vectors for RHS of global eq. system: vecF for element
internal loads (vecFc and vecFs parts) and for RHS of Mpc equations (vecFl);
vecR for external concentrated loads (vecRs) and constrained DoF reactions
(vecRc). vecRl should remain 0.0.
FEStorage stores solutions vectors: vecU, vecDU (first time derivatives),
vecDDU (second time derivatives). But FEStorage never touches these values.
FESolver should update all this vectors based on particular solution procedure.
Now anyone should use nElements(), nNodes(), nConstrainedDofs(),
nUnknownDofs(), nMpc() in order to obtain number of corresponding entities
stored in FEStorage.
All FEStorage's methods to work with BC were excluded: addDofFixation,
addDofLoad, addBoundaryCondition, applyBoundaryConditions. Now FESolver is
responsible for applying BC to the model.
Now, FEStorage->updateResults() (former updateSollutionResults()) only
triggers element->update() routines.
FEStorage::get[Node/Element]DofSolutionDelta were removed, because now
FEStorage knows nothing about non-linear incremental approach.

math:

perfrom matrix-vector multiplications for sparse matrices in the same way as
for dense matrices: matBVprod() and matBTVprod()
introduce double vector class with dynamic size dVec. It has two modes: 1.
dVec allocates the memory. 2. dVec just point to already allocated by
another dVec memory. Simple vector math operations are also available for
this class.
introduce BlockSparseSymMatrix to store different blocks of the global matrix
as different sparse matrices and provide an interface to easily add values to
the global matrix
sparse matrices now have reinit method to change their size and/or sparsity
after class initialization Also there is default Constructor for this case.

Misc:

Transfer readCdbFIle to FEReaders.cpp, the last isn't a part of nla3d lib

TODO:

delete commented code
Write test on BlockSparseSymMatrix
Write test on dVec


Create a link for the GeneTracker record in the GCI

In order to allow easy access to gene-disease records, the inclusion of the direct GT record link to a GDM record in the GCI would be beneficial.
Requirement(s)
Use export for the GT records for the initial population of this data to the GCI.

https://broadinstitute.atlassian.net/browse/CGSP-231

" Precuration within Gene Tracker" link name


Create Event: Shows "Create Event Not Successful" message even when all fields are completely inputted

Create Event inputs:

Create Event Not Successful message:

UPDATE:
This is actually a date collision. Create Event is not successful because another event is already created on the same date. I think the user should be informed why the Create Event is not successful (in this case, date collision).


Memory access response rework

I don't want to be the only person reviewing this.  We should get Todd to review this as well


Filter recipes for container

It would be extremely helpful if we could filter recipes to only show the ones specific for the container being used. For example, when playing with mods that add other "crafting tables" like Farmer's Delight and their addons it is kinda difficult to keep track of what I can and cannot do with the cooking pot or with the keg etc. This applies to many other mods. Is this feature possible in any way?

Looking up uses of a workstation (like a cooking pot) will show you recipe categories that can be made there, and recipe categories (the tabs in the recipe screen) should represent unique processing types that are associated with workstations when looking up recipes.

If a mod hasn't registered a workstation then the lookup won't show anything. You can additionally click the "view all recipes" button in EMI and browse every recipe for every specific recipe category.


add get and get_mut functions

Thanks for the PRs, I've merged and published updated version to crates.io.


Overflowing Checkboxes

E.g. in learning curves (see picture). Design choice, how to deal with arbitrary number of checkbox-elements?

Fixed in 1a2a2694df90b2c1535d6d1a41105c818560768f by adapting design and layout-width to number of elements in checkbox.


[NEED HELP] Routing doesn't work as expected

Hi, @jkyberneees Thank you for making this package. I'm on a pretty hard deadline and have been unable to get the gateway to work the way I want.
As an example, I have my microservice called service-catalog with two routes attached to it, and they are prefixed with the API version as are all the other services /v1/services and /v1/service-categories When I add this route to the API gateway the request gets forwarded to the server as / which returns a 404. How do I get all routes in the gateway to forward the request as is?
const routes = [
  {
    prefix: '/v1/services',
    target: findServiceUrl('service-catalog-service'),
  },
  {
    prefix: '/v1/service-categories',
    target: findServiceUrl('service-catalog-service'),
  },
];

@itajenglish Please follow the documentation. You may use prefixRewrite or urlRewrite to properly route your urls.

I was able to get it working! Thank you.


Typo in WEB5 project section

similar to #838
I think full stop should not be there in that section as well !

It should be like this:-

Hey @captain-Akshay just checking in! 😊 Do you need any help with this one?

Hi @angiejones @leordev, can I work on this issue, if it has not been addressed yet?

Sorry to say @aniketh-varma it's already been fixed !


Added TextAreaInput widget

Added the TextAreaInput widget similarly to PasswordInput.

Looks good to me!

@julwin Sorry should have reviewed better, here is the rendered documentation: https://pyviz-dev.github.io/panel/reference/widgets/TextAreaInput.html
Do you mind making another PR fixing this which isn't an accurate description:

The TextAreaInput allows entering any string using a obfuscated text input box.

and removing the stray import.


Exclude list for parsing

Input distributions declared in setup will be created at run time.
Genesis parsing already handles this properly. Sirepo parsed codes do not yet.
Probably also want to just add a list of any file names to not check for existence.

Part of #102


IE11 issues

Please see this thread: https://github.com/STRML/react-grid-layout/issues/29

There is no longer an issue in this library with IE11; confirmed with recent testing. There must be another bug in RGL.


is it possible to give seaweedfs the name I want the file to be saved as? like "default_picture"

Use filer.


Parameter of type list doesn't work

If the model has sample parameters.yaml:
test_size: 0.2
random_state: 3
features:
  - engines
  - passenger_capacity
  - crew
  - d_check_complete
  - moon_clearance_complete
  - iata_approved
  - company_rating
  - review_scores_rating

Then plugin tansforms it into pipeline arguments:
  arguments:
    parameters:
    - {name: test_size, value: '0.2'}
    - {name: random_state, value: '3'}
    - {name: features, value: '["engines", "passenger_capacity", "crew", "d_check_complete",
        "moon_clearance_complete", "iata_approved", "company_rating", "review_scores_rating"]'}

And passes to the pods in the way that it fails:
$ kedro run --params 'test_size:0.2,random_state:3,features:["engines","passenger_capacity", "crew", "d_check_complete","moon_clearance_complete", "iata_approved", "company_rating","review_scores_rating"]' --node preprocess_companies_node
2021-07-06 09:47:29,448 - root - INFO - Registered hooks from 1 installed plugin(s): kedro-kubeflow-0.3.1
2021-07-06 09:47:29,490 - root - INFO - Registered CLI hooks from 1 installed plugin(s): kedro-telemetry-0.1.1
Kedro-Telemetry is installed, but you have opted out of sharing usage analytics so none will be collected.
Usage: kedro run [OPTIONS]
Try 'kedro run -h' for help.

Error: Invalid format of `params` option: Item `"passenger_capacity"` must contain a key and a value separated by `:`.

It looks the recommended way to fix it is to use parameters.yaml instead of passing these via CLI, as described here: https://stackoverflow.com/a/62493314

One of the possible solutions would be to create config.yaml before the run. It works well with strings (even multiline) and numbers, but it can't handle arrays easily (it treats these are strings):
$ python -c 'import yaml, sys; print(dict(zip(sys.argv[1::2], sys.argv[2::2])))' param1 0.5 param2 text param3 "multiline
text" param4 '[1, 2, 3]'
{'param1': '0.5', 'param2': 'text', 'param3': 'multiline\ntext', 'param4': '[1, 2, 3]'}


LRO methods with no return value should return Operation

For example, DeviceUpdate.DeleteUpdate (line 12)
public virtual Operation<BinaryData> DeleteUpdate(WaitUntil waitUntil, string provider, string name, string version, RequestContext context = null);

In HLC-generated code, the return type of an LRO method is a subtype of Operation when there is no value returned from the LRO.
For the same case, a protocol method should return Operation instead of Operation<BinaryData>.

Hi @annelo-msft There is an type LowLevelFuncOperation<T>, so we will rename it to ProtocalOperation<T>, and if LRO methods with no return value, it will return ProtocalOperation. Right?

hi @annelo-msft  I created an draft PR https://github.com/Azure/autorest.csharp/pull/2238 to content to generate. Would you please help to take a look at the PR and check if it is what we want. Thanks


[Windows] Enable tf.contrib.tensor_forest in CMake build and tests

Fixes error message appears when loading an OpKernel without the corresponding op. For example:
E c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:943] OpKernel ('op: "BestSplits" device_type: "CPU"') for unknown op: BestSplits

Since we're building the kernels anyway, this change also runs the tensor_forest tests.
Fixes #6500. (Note however that the hybrid ops are not yet ported to work on Windows.)

@gunan This should probably be cherry-picked into 1.0.0. Would you prefer this PR in a different form (e.g. against the 1.0 branch)?

Merging to master first is better, i will look into this in an hour
On Jan 17, 2017 4:11 PM, "Derek Murray"<EMAIL_ADDRESS>wrote:

@gunan https://github.com/gunan This should probably be cherry-picked
into 1.0.0. Would you prefer this PR in a different form (e.g. against the
1.0 branch)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/6908#issuecomment-273342341,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHlCOf4uSF_Gx6XmAyXNezJ24JtZC5Mkks5rTVjFgaJpZM4Ll_jv
.


Part of keymap is ignored in XPrompt

Problem Description
When invoking shellPrompt dialog with promptKeymap config field set f.E. to emacsKeymap, all keys without a modifier(equal to 0) are ignored:
  ++
  map (first $ (,) 0) -- <key>
  [ (xK_Return, acceptSelection)
  , (xK_KP_Enter, acceptSelection)
  , (xK_BackSpace, deleteString Prev)
  , (xK_Delete, deleteString Next)
  , (xK_Left, moveCursor Prev)
  , (xK_Right, moveCursor Next)
  , (xK_Home, startOfLine)
  , (xK_End, endOfLine)
  , (xK_Down, moveHistory W.focusUp')
  , (xK_Up, moveHistory W.focusDown')
  , (xK_Escape, quit)
  ]

Steps to Reproduce

modify XConfig for XPrompt to use emacs keymap
myPromptTheme = def { promptKeymap = emacsLikeXPKeymap }
assign XPrompt action to some keybinding
 ("M-<Escape>",      shellPrompt myPromptTheme)
invoke shellPrompt with above keybinding
attempt to use any of keys without a modifier (ie. without controlMask, Mod1Mask) like Up, Down, Home, Right do not work

Configuration File
module Main (main) where

import XMonad
import XMonad.Prompt
import XMonad.Prompt.Shell
import XMonad.Util.EZConfig

main :: IO ()
main = xmonad $ def
  { modMask = mod4Mask
  }
  `additionalKeysP`
  myKeymap

myKeymap =
  [  ("M-<Escape>",      shellPrompt myPromptTheme)
  ]

myPromptTheme = def { promptKeymap = emacsLikeXPKeymap }

I tested my configuration

[ X] With xmonad version <IP_ADDRESS> (commit XXX if using git)
[ X] With xmonad-contrib version git-20231011 (commit XXX if using git)

EDIT: config file

I use emacsLikeXPKeymap here with git xmonad-contrib and the arrow keys work fine.

I use emacsLikeXPKeymap here with git xmonad-contrib and the arrow keys work fine.

Can you provide a minimal working example for shellPrompt?
In my case arrow keys do not work even with default [defaultXPKeymap](https://xmonad.github.io/xmonad-docs/xmonad-contrib/src/XMonad.Prompt.html#defaultXPKeymap). I invoke shellPrompt with M-Escape, type-in some chars like "abcd", then press Left key and it does not move cursor at all. Arrow/Home/End/Delete etc however do work normally in Xorg session and other X11 or GTK+ applications.
additional info:
GHC 9.6.3
Xorg X server 21.1.9

My keybinding is at https://github.com/geekosaur/xmonad.hs/blob/hilfy-2023/xmonad.hs#L240 and myXPKeymap is defined at https://github.com/geekosaur/xmonad.hs/blob/hilfy-2023/xmonad.hs#L338-L341.

@geekosaur Thank you for the quick reply, however the same setup still does not make arrow keys work on my instance. I did even made a more reduced minimal example, where arrow keys do not work:
module Main (main) where

import XMonad
import XMonad.Prompt
import XMonad.Prompt.Shell
import XMonad.Util.EZConfig

main :: IO ()
main = xmonad $ def
  { modMask = mod4Mask
  }
  `additionalKeys`
  [  ((mod4Mask, xK_p),      shellPrompt def)
  ]

I do remember when about a several months ago I have been using XMonad, arrow keys did worked normally in XPrompt. Weird.

Interestingly, that reduced example does not work in my testbed.
@slotThe, any ideas? I think you touched this code last.

Whoops! This should be addressed by https://github.com/xmonad/xmonad-contrib/pull/850


Problem of Large action spaces in interest evolution

I am trying to use RecSim(decompose_q with interest evolution) for training of recommendation.
My action space( video ) is quite large and one-hot encoding will not work as we do in interest_evolution environment.
Can you please suggest some other methodology by which we can simulate the environment.

Hi,
Sorry for the late reply. You probably need an embedding layer mapping from
videos to action encoding and more thoughts on how we enumerate
action/slate space efficiently. Thanks for using RecSim.
On Wed, Mar 9, 2022 at 3:28 AM riskr12 @.***> wrote:

I am trying to use RecSim(decompose_q with interest evolution) for
training of recommendation.
My action space( video ) is quite large and one-hot encoding will not work
as we do in interest_evolution environment.
Can you please suggest some other methodology by which we can simulate the
environment.
—
Reply to this email directly, view it on GitHub
https://github.com/google-research/recsim/issues/23, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALVSYDQZRF4PF2J5D6GMWDLU7CDPLANCNFSM5QJH767Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Question:

Hi,
Thanks for this awesome lib!
I'm using it to extract faces from photos, check if they are tilted, if they are, rotate the canvas to straighten the face and then store it as a new image.
I'm basically doing it like this:
    const c = await image(inputPath);
    const face = await detectFace(c);
    const locations = await faceapi.locateFaces(c);
    const faceImg = await faceapi.extractFaces(c, locations);
    const final = canvas.createCanvas(face.landmarks.imageWidth, face.landmarks.imageHeight);

    const roll = face.angle.roll;
    final.getContext('2d').rotate(roll * Math.PI / 180);
    final.getContext('2d').drawImage(faceImg[0], 0, 0);
    writeFileToDirectory(outputPath, final.toBuffer('image/jpeg'));

I'm having 2 questions.

Do I rly have to call faceapi.locateFaces(c) to get the locations to extract the face?
Is it somehow possible, to make all faces the same size?

My endgoal is to have all faces the same size (e.g 800x600) later on

locateFaces is a reduced version of detectAllFaces, so in your cases just use locateFaces, you shouldn't need anything before
for resizing, there are tons of options, but since you already have a canvas you've created, you can simply resize it fore writing it to file

closing due to inactivity, but can be reopened if additional information is needed

Thanks :)


feat: allow kinesis source start with timestamp

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
close #12247

as title
Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[x] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[x] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.
allow kinesis scan.startup.mode be timestamp
and new option scan.startup.timestamp.millis as i64
please consider removing scan.startup.sequence_number and scan.startup.mode = sequence_number in the doc
because kinesis seq num encodes shard-related info.
lets say seq_num_0 is specified when shard 1, 2, 3 are available, but later some scale op are performed, shard 1 goes down and shard 4 goes up. Specify seq_num_0 can start with shard 2 and 3 but shard 4. The shard 4's executor will goes into a crash loop.
cc @neverchanje and @fuyufjh

For the doc, we remove the existing seq number option to avoid users from using in the future
and provide the new timestamp option

？
why does the bot do that

[ ]  My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).

@tabVersion forgot to tick "My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future)."


Linkify contributors & add collaborator list

Wrong repo (???)

Go ahead and post this on the main repo and I'll merge it in


Add support for composite run commands

Odo currently doesn't support run commands that are composite.

[ ] this needs to support parallel flag as well

simple example with composite run command for testing
schemaVersion: 2.1.0
metadata:
  name: nodejs

components:
  - container:
      endpoints:
        - name: http-3000
          targetPort: 3000
      image: registry.access.redhat.com/ubi8/nodejs-14:latest
    name: runtime

commands:
  - id: install
    exec:
      commandLine: npm install
      component: runtime
      workingDir: /projects
  - id: start
    exec:
      workingDir: /projects
      commandLine: npm start
      component: runtime
  - id: run
    composite:
      commands:
        - install
        - start
      group:
        isDefault: true
        kind: run

/kind feature
/priority high

blocked on merging https://github.com/redhat-developer/odo/issues/5648 first
/status blocked


Same score order is alphabetical.

The same score on the same map by different players is ordered alphabetically instead of submit date as it should be.
This can be seen on this maps leaderboard on the finnish ladder https://scoresaber.com/leaderboard/219995?page=1
A picture for reference.

You're right. I don't sort by any field other than the score at all. I will correct this as next after releasing the new version I am currently working on.


Display SSH fingerprint when node is created

Please show the SSH fingerprints of the node after it is created or in node_info.

Hey,
Thanks for contacting. Unfortunately, no way to do this as I can't predict what the fingerprint will be. You might be able to do an ipxe spawn and specify the host key and grab the fingerprint from that. Or put a secret on the server with an install script, grab the secret over SSH, and if it matches add that key.
This can be a bit of a tricky grey area. Do you know of any existing hosts that do this, and how they solved it?
-Teran


[epic] RPC / CLI repo split fallout

High-level tracking issue to keep track of the work done and left to do related to the repository split.

[x] e2e/system-test failure on soroban-cli
[ ] https://github.com/stellar/soroban-rpc/issues/81
[x] completing remaining rpc release process
[ ] updating documentation (public developer docs)
[ ] https://github.com/stellar/soroban-rpc/issues/82
[ ] https://github.com/stellar/soroban-rpc/issues/83
[ ] https://github.com/stellar/soroban-rpc/issues/84
[ ] https://github.com/stellar/soroban-rpc/pull/80
[ ] https://github.com/stellar/soroban-rpc/issues/85
[ ] https://github.com/stellar/soroban-rpc/issues/86

Few more things that I could think of

golangcli failures
rename soroban-rpc crates to soroban-rpc-rust-client

rename soroban-rpc crates to soroban-rpc-rust-client

For consistency with other libs we have, I suggest we use the name rs-soroban-rpc-client.

Thanks @leighmcculloch !! we are not moving crate to its own repo at least for now

Closing this, the 2 remaining tasks are still on the board but have lower priority than this overall initiative


[shared_preferences] Shared preferences linux endorsement

Description
Endorses shared_preferences_linux.
Since shared_preferences_linux is pure Dart, this uses manual registration of the Linux implementation. It is similar to the solution used for path_provider, but improves on it by more narrowly tailoring the registration to cases where another registration hasn't already been done, and only checking the first time, thus avoiding the need for a variable to override it.
Also adds a driver test for shared_preference_linux, which I missed in reviewing the initial shared_preferences_linux landing.
Related Issues
Fixes https://github.com/flutter/flutter/issues/41720
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[x] I updated CHANGELOG.md to add a description of the change.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

Review notes:

The linux/example/ files are just generated from the flutter create template without changes.
The test_driver files are duplicated verbatim from existing platform implementations.

In case there are still dependency conflict issues I tried a version that uses XDG directly to avoid the problem; that passed all tests. Now that the tools are updated I'm trying going back to path_provider, although this time I'm using path_provider_linux directly to reduce the transitive plugin burden on other platforms. (That was something I had thought about a while back, but slipped my mind when reviewing shared_preferences_linux so wasn't in the initial version.)


Latte-dock-git does not install

@wizard-28
It seems latte-dock-git does not build anything anymore

Thank you for the commit.
I still get missing dependencies, it seems latte-dock.log

Thank you for the commit. I still get missing dependencies, it seems latte-dock.log

Does latte dock work?

No it’s not building it seems

Based on the log you sent, it is building and installing.

The installation was successful, as per your logs

It installs without building, then I get command not found: latte-dock

Why doesn't cmake fail if the dependencies weren't satisfied?

What is this in the logs?
	[>] Running install
cat install.sh >install
chmod a+x install

Not sure

[�[1;34m>�[0m] Running install
cat install.sh >install
chmod a+x install

It's the ANSI color encoded text I believe, you can cat the log file, to see the colors

I meant more the two other lines. I found out the issue.
pacstall runs install() in the latte-dock git folder instead of inside thatSameFolder/build

:/tmp/latte-dock master ± sudo make install DESTDIR=target
cat install.sh >install
chmod a+x install

vs
/tmp/latte-dock/build master ± sudo make install DESTDIR=target
[  1%] Generating mo...
[  1%] Built target pofiles-25ec4fa72206eab41621582ad7d80ee6
[  2%] Generating ts...
[  2%] Built target tsfiles-25ec4fa72206eab41621582ad7d80ee6

I meant more the two other lines. I found out the issue. pacstall runs install() in the latte-dock git folder instead of inside thatSameFolder/build

so cd-ing into build/ fixes it?

Yes. I remember we had a similar issue in the 3.0.0 pacstall version

cf. https://github.com/pacstall/pacstall-programs/pull/1682

Okay, so this seems like a pacstall bug, @Henryws is working on a fix.

I added a cd build/ to install()

I added a cd build/ to install()

So the solution is to change all pacscript which needs to stay in the same folder to use cd? Other packages are affected like obs-backgroundremoval

@Henryws cf. https://github.com/pacstall/pacstall-programs/pull/2101 , #2102
Other packages might also have been broken by the change


AppMap view out of date in JetBrains

Both of these buttons should not be appearing in the most recent version of @appland/components. Is this out of date in the IntelliJ plugin?

The latest version of @appland/components is v2.21.0.
In 2.x the front-end requires an event to inform it of the true location of a source file. It'll initially emit an event requesting the source location be resolved, then it expects to receive a response in the form of an event. This allows us to transform file paths into GitHub or GitLab URLs for instance.
The VS Code implementation is quite simple, and we can just follow along with that. It receives the request and sends the source location back unchanged.
https://github.com/getappmap/vscode-appland/blob/master/web/src/appmapView.js#L52-L57

:tada: This issue has been resolved in version 0.25.0 :tada:
The release is available on:

v0.25.0
GitHub release

Your semantic-release bot :package::rocket:


Conda environment management command

Did you find a doc bug or broken link that needs to be fixed?

What is the file name(s) where you found the bug?
https://github.com/Qiskit/qiskit/blob/master/docs/install.rst

What is the current text that needs to be fixed or removed? (You can copy and paste)
The current text uses source activate name_of_my_env for linux and mac and activate name_of_my_env for windows to activate a conda environment.

What should the documentation say instead?
Since conda 4.6, it seems to use conda activate to activate an environment.
https://docs.conda.io/projects/conda/en/latest/commands.html#conda-vs-pip-vs-virtualenv-commands
I'm afraid that I didn't test it because I'm a virtualenv user.

Are there other related issues or pull requests about this bug?
I have no idea.

Does existing documentation need to be updated with new content?

Which files need to be updated?
https://github.com/Qiskit/qiskit/blob/master/docs/install.rst

What content needs to be updated or replaced? (You can copy and paste)

What new content needs to be added?
If qiskit supports only conda 4.6 or later, it seems good to replace source activate name_of_my_env and activate name_of_my_env with conda activate name_of_my_env; but if qiskit supports 4.5 or before, it is necessary to keep the current text.

It is right to do so. Conda gives warning that activate/deactivate is depreciated. We should use conda deactivate


Delete previous idb and upgrade for v3

R: @jeffposnick @philipwalton
Phil pointed out the issue was the version number. This bumps the number and cleans up the previous release.
Fixes #1109

Changes Unknown when pulling 690fa9f1a14239879d65cf4aaa0b3272a74add88 on precaching-version into ** on v3**.


Ability to update a sitemap

It would be useful to have an ability to update a sitemap. The use case is where URLs are being added dynamically. Currently, I can't easily append just one URL to the sitemap.

Interesting idea. That would involve either reading existing XML and writing it again or directly appending...

@samdark Directly appending - bad idea, because need check duplicates. We can save serialized xml as cache, but I'm think it's should be in the extension of Sitemap.

If there are 50K URLs in a map, deserializing it completely into memory is a very bad idea. It basically won't fit.

@samdark

reading existing XML and writing it again
it's same, I don't see other ways for check url element in sitemap.

Considered it and it seems it's not a good idea overall. It's better to re-generate.


docs: Publish v8.56.0 release highlights

Prerequisites checklist

[x] I have read the contributing guidelines.

What is the purpose of this pull request?

What changes did you make? (Give an overview)
Added highlights and published the v8.56.0 release blog post.
Related Issues
Is there anything you'd like reviewers to focus on?

Just removed md from ways-to-extend.md because it appeared as a link.


Add Ember v3.20.x tests

v5.2.1
# Changelog

- Add Ember v3.20.x tests
- Update packages

@jpadilla I personally still use ember 2.x in a number of applications so I would prefer to keep it. The only downside is that running all the test scenarios takes awhile.

@jpadilla I personally still use ember 2.x in a number of applications so I would prefer to keep it. The only downside is that running all the test scenarios takes awhile.


Fix issue in deploy.sh to push helm charts (bp #663)

backport of pull request #663 and fixed conflicts in #685

canary charts are available here https://github.com/ceph/csi-charts/tree/master/docs


Automatically pull git submodules?

I used submodules in my repository and I had to add a line to the postBuild for the submodules to be pulled as well.
git submodule update --init --recursive

It seems like better form to have this be automatic (since the folders for the submodules still show up but are simply empty).

Yup, git clone should ~always be git clone --recursive. Fixed by https://github.com/jupyter/repo2docker/pull/233


Combined boolean filter cannot be removed from a project

v1.20.1
Steps to reproduce:

Open a table
Open filters and add 'combined boolean' filter
Save project
Open the project again
Remove 'combined boolean' filter from the filters
Save project
Open the project again

Expected results: 'combined boolean' filter should not re-appear unexpectedly if it was removed and saved.
Actual results: 'combined boolean' filter re-appears. There is no way to remove it from the project once it was added.

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-16488


not all buttons are being re-expanded after being shrunk

In the image below, the save buttons and the apply button in the content controls field set are still icon only, though the other buttons have expanded to include their labels.

I'm on ctc-oss/main and am not seeing this issue. I'm not entirely sure what else would cause this since the Button component collapsing is derived from the document.body.clientWidth.

@stricklandrbls, it happens when the buttons are hidden while the expansion takes place.  If the Content Controls or the Save buttons are not visible at the time of the expansion, they don't get expanded when they are visible again.

Like in the image below? I'm not sure how the Apply button can be hidden while the expansion takes place.