DITAVAL passthrough does not preserve attributes in HTML5 TOC #2598

Moved creating of property named "dita.input.valfile.url" from target "html5.init" to macrodef "html5.topics".
Signed-off-by: Vitaliy Danylyuk<EMAIL_ADDRESS>

This looks right to me - just made the change in develop and it fixed (currently) broken processing of filter conditions for HTML5.

This doesn't fix passthrough in map, only in topics. Fixed in 27a59d649487d95c3952a49b2a78e662e9f5f20f for 2.4.5 hotfix.


fix(fromEvent): allow fromEvent to handle symbols as event names

Allow passing a value of type symbol to eventName if a NodeStyleEventEmitter is passed to source, according to the documentation.
Closes #7338

Thank you, @demensky !


cli: switch migration CLI to GritQL

Description
Replaces the libCST integration with GritQL. This has a few advantages:

There's less code to maintain, as Grit handles the complexities of actually replacing imports and remapping correctly (notice the big red reduction).
Grit includes advanced features like --interactive to allow interactive review of changes.

Dependencies

Added gritQL

Twitter handle
https://x.com/morgantepell
Testing
Existing tests continue to run correctly for the cli_runner.

how do i run it?
(cli) ➜  langchain git:(c50273684) ✗ langchain-cli migrate .
Running GritQL pattern with args: /home/eugene/.cache/openai-python/.install/bin/marzano ['apply', 'langchain_all_migrations()', '.', '--grit-dir', PosixPath('/home/eugene/src/langchain/libs/cli/langchain_cli/namespaces/migrate/.grit')]
error: unexpected argument '--grit-dir' found

  tip: to pass '--grit-dir' as a value, use '-- --grit-dir'

Usage: grit apply <PATTERN_OR_WORKFLOW> <PATHS>...

Could we update the cache dir to either be library netural?
    dir_name = _cache_dir() / "openai-python"
    install_dir = dir_name / ".install"

As a user the the name of the marzano binary is a bit confusing, unclear what relationship it has to grit

how do i run it?

I will need to cut a release on the Grit side before this is runnable - I'd love feedback on the code / confirmation of this approach to make sure it's aligned before doing that.

Could we update the cache dir to either be library netural?
    dir_name = _cache_dir() / "openai-python"
    install_dir = dir_name / ".install"

Yes I'll change it to ~/.grit.

As a user the the name of the marzano binary is a bit confusing, unclear what relationship it has to grit

This ideally shouldn't be user facing at all.

I will need to cut a release on the Grit side before this is runnable - I'd love feedback on the code / confirmation of this approach to make sure it's aligned before doing that.

Overall looks good. I need we need the following prior to merging:

I need to be able to run it to verify correctness -- I'll double check correctness side by side with existing migration script.
ability to run on ipython notebooks since we rely on the migration script internally as well to migrate our own docs.
Update documentation for how to use the migration script the CLI
Upgrade documentation here -- I can help with this

I wanted to check in are you still planning on working on this? Anything else needed from me?

I wanted to check in are you still planning on working on this? Anything else needed from me?

Yeah, sorry for the delay! Parsing Jupyter proved a bit more complicated than I expected, but I should be able to wrap it up over the weekend.

Does grit.io have any solution to escape into imperative mode that allows writing the modifications in python? I now worked with ast-grep a lot -- the pattern matching (which is likely similar to grit.io) is very convenient, but re-writes can still be challenging if they require changing more than one kind of thing. For example, update the type signature from Iterable to List in matching methods + add from typing import List into the global namespace.

Does grit.io have any solution to escape into imperative mode that allows writing the modifications in python?

Not currently. We would consider building it, but honestly only if I saw genuine interest and usage of Grit already. If you're already preferring alternatives there's no reason for me to keep building.

I now worked with ast-grep a lot -- the pattern matching (which is likely similar to grit.io) is very convenient

Would love to understand why you prefer ast-grep to Grit. They are very similar and I don't think you should need to use two tools. If there's something in our UX you aren't understanding / finding simpler with AST-grep that's great to know.

For example, update the type signature from Iterable to List in matching methods + add from typing import List into the global namespace.

This is straightforward to do with GritQL.
`def matching_method($_): $type:
  $_` where {
    $type <: `Iterable` => `List`,
    add_import(source="typing", name="List")

Hi @morgante,
There are two different end users here: (1) langchain users for code mods, (2) me for doing internal refactors in the code base.
If I understand correctly, your goal is to roll out code mods to LangChain users that use grit as the underlying technology. I'm in support as it also reduces maintenance burden for core developers. The requirements for adopting the solution haven't changed: https://github.com/langchain-ai/langchain/pull/22052#issuecomment-2127747190. but it seems like the work has been deprioritized as it's been 2 months?
I'm looking into code-modding tools for internal refactors rather than distributing code mods to users -- so here the end user is just me. If we adopt grit for distributing code mods to users, then we'll use gritql for that purpose.

The requirements for adopting the solution haven't changed: https://github.com/langchain-ai/langchain/pull/22052#issuecomment-2127747190. but it seems like the work has been deprioritized as it's been 2 months?

Yeah, it has been on the backburner thus far.

so here the end user is just me

Understood. I'd still love your feedback / to understand why ast-grep is more compelling for you. If we're putting in the time to integrate Grit into langchain, I'd appreciate at least understanding why you wouldn't use it for everything - anything you do with ast-grep should be equally doable with Grit.

Understood. I'd still love your feedback / to understand why ast-grep is more compelling for you. If we're putting in the time to integrate Grit into langchain, I'd appreciate at least understanding why you wouldn't use it for everything - anything you do with ast-grep should be equally doable with Grit.

I don't have a preference -- just exploring available tools. Started with ast-grep b/c I've used it a bit in the past.
In terms of things that might be nice for internal refactors:

Being able to plug in an LLM for certain kinds of re-writes (e.g., update doc-strings). I can imagine doing this with the python API (https://ast-grep.github.io/guide/api-usage/py-api.html)

As far as I can tell none of the tools allows incorporating information collected during run time. I'd imagine running a test suite to collect type information and make it easier to roll out some kinds of re-writes (e.g., replace deprecated method with the newer method name). It feels like pattern matching this could be quite difficult in some cases (e.g., missing / incorrect type information in function signature, or accessing a class attribute from a method and not knowing the type of the attribute.)

Being able to plug in an LLM for certain kinds of re-writes (e.g., update doc-strings). I can imagine doing this with the python API (https://ast-grep.github.io/guide/api-usage/py-api.html)

We actually have built-in support for LLM rewrites using the ai_transform function. You can see an example here.

closing since this migration has occurred, but really appreciate the help @morgante! happy to try out GritQL for future migrations

comandeering

i don't have edit permissions here so continuing here: https://github.com/langchain-ai/langchain/pull/26427


Restore check_framework_firestore_symbols tests

Description
Disabled test after it caused failure in #11848 because of #11846. The test depends on SPM and CocoaPods using the same gRPC version.
We should get the versions re-aligned and restore this test before adding too many other Firestore changes since we don't have thorough SPM testing.
Reproducing the issue
Nightly zip tests
Firebase SDK Version
10.16
Xcode Version
14.2
Installation Method
Zip
Firebase Product(s)
Firestore
Targeted Platforms
All
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

Replace this line with the contents of your Podfile.lock!

@paulb777 Should we just downgrade SPM as well as CocoaPods then? Otherwise, it is unknown when we can get SPM and CocoaPods grpc versions back in sync because there are some issues with upgrading to the latest grpc version: something to do with linking problems and cyclic header dependencies (@wu-hui is looking into this).

Good point, but I think downgrading in a short time period is more risky than keeping SPM stable.
I see some inconsistencies with abseil dependencies that should be sorted out. If we can't upgrade gRPC in the M139 timeframe, let's work through pulling it back then.

Our podspecs (and Package.swift) are already defined to allow patch dependency updates, so developers would need to run pod update to get the fix.

It's normal workflow for CocoaPods users wanting to update to newer versions.


Not working in modal

I'm using the ng-bootstrap modal in combination with ng-inline-href. ng-inline-href works fine on the site, but not when you use it inside a modal. The inlineHref attribute stays untouched.
I guess that the dynamically added modal somehow doesn't trigger ng-inline-href as there's no error or anything.
The InlineHrefModule has been imported in app.module.ts. app.module.ts also imports the modal.

Angular v5.2.9
ng-bootstrap v2.0.0
ng-inline-href v2.1.2

Hey, I'll see if I can figure this out over the weekend. Are you able to provide an example project so I can duplicate the issue easily?

No public project, sorry, but I've found the issue.
All my modals have been declared (declarations) in a dedicated module called modals.module.ts which then has been imported into app.module.ts togther with InlineHrefModule. Moving everything from modal.module.ts into app.module.ts fixes the issue.
Thanks for the plugin!


Fix, that display only and cross-compile build works.

E.g. cross compile with flags
-DBUILD_WSI_XCB_SUPPORT=OFF -DBUILD_WSI_XLIB_SUPPORT=OFF -DCMAKE_SYSTEM_PROCESSOR=arm
now builds.
Samples except vulkaninfo are not build.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: b48616:x: FslNopperb48616 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.


Cleaning Intermediate images & Flag "noprune-rmi" having no effect

Hello!
I am using habitus to build a collection of docker images co-located on a single repository.
Some depends on others (as "dind-base" -> "devbox"), and we may have 2 nested levels ("java-base" -> "jenkins-base" -> "jenkins-custom").
I discovered that all the intermediate "parent" images are cleaned up at the end of the habitus build.,
even if they are specified by the build.yml file.
=> As a User, I don't understand this behavior by default.
However, reading the documentation on the page "habitus.io", I saw the following:

noprune-rmi: Doesn't prune unwanted images after the build

So I tried it, but my images are still deleted.
Am I missing something, or is it a bug?

A simplified build.yml file for reproduction:

# Habitus build file
build:
  version: 2016-03-14 # version of the build schema.
  steps:
    dind-base:
      name: dind-base
      context: ./dind-base
      dockerfile: Dockerfile
    devbox:
      name: devbox
      context: ./devbox
      dockerfile: Dockerfile
      depends_on:
        - dind-base

Dockerfiles:
# dind-base/Dockerfile
FROM alpine:3.7
RUN echo FOO > /foo.txt

# devbox/Dockerfile
FROM dind-base
RUN cat /foo.txt > /bar.txt

Here is the execution command (and log):
habitus -noprune-rmi
2018/05/29 09:48:31 ▶ Using '/Users/dadou/workspace/cloudbees/training-docker-library/tmp/build.yml' as build file
2018/05/29 09:48:31 ▶ Collecting artifact information
2018/05/29 09:48:31 ▶ Building 2 steps
2018/05/29 09:48:31 ▶ Step 1 - dind-base, image-name = 'dind-base'
2018/05/29 09:48:31 ▶ Step 2 - devbox, image-name = 'devbox'
2018/05/29 09:48:31 ▶ Step 1 - Build for dind-base
2018/05/29 09:48:31 ▶ Step 1 - Building dind-base from context '/Users/dadou/workspace/cloudbees/training-docker-library/tmp/dind-base'
2018/05/29 09:48:31 ▶ Step 1 - Parsing and converting 'Dockerfile'
2018/05/29 09:48:31 ▶ Step 1 - Writing the new Dockerfile into '/Users/dadou/workspace/cloudbees/training-docker-library/tmp/dind-base/Dockerfile.generated'
2018/05/29 09:48:31 ▶ Step 1 - Building the dind-base image from /Users/dadou/workspace/cloudbees/training-docker-library/tmp/dind-base/Dockerfile.generated
Step 1/2 : FROM alpine:3.7
3.7: Pulling from library/alpine
ff3a5c916c92: Already exists
Digest: sha256:7df6db5aa61ae9480f52f0b3a06a140ab98d427f86d8d5de0bedab9b8df6b1c0
Status: Downloaded newer image for alpine:3.7
 ---> 3fd9065eaf02
Step 2/2 : RUN echo FOO > /foo.txt
 ---> Running in a44978de8534
Removing intermediate container a44978de8534
 ---> d4647da426aa
Successfully built d4647da426aa
Successfully tagged dind-base:latest
2018/05/29 09:48:35 ▶ Step 2 - Build for devbox
2018/05/29 09:48:35 ▶ Step 2 - Building devbox from context '/Users/dadou/workspace/cloudbees/training-docker-library/tmp/devbox'
2018/05/29 09:48:35 ▶ Step 2 - Parsing and converting 'Dockerfile'
2018/05/29 09:48:35 ▶ Step 2 - Writing the new Dockerfile into '/Users/dadou/workspace/cloudbees/training-docker-library/tmp/devbox/Dockerfile.generated'
2018/05/29 09:48:35 ▶ Step 2 - Building the devbox image from /Users/dadou/workspace/cloudbees/training-docker-library/tmp/devbox/Dockerfile.generated
Step 1/2 : FROM dind-base
 ---> d4647da426aa
Step 2/2 : RUN cat /foo.txt > /bar.txt
 ---> Running in 744ba5f31949
Removing intermediate container 744ba5f31949
 ---> 31121503c301
Successfully built 31121503c301
Successfully tagged devbox:latest
2018/05/29 09:48:36 ▶ Step 1 - Removing unwanted image dind-base

=> It ends with Step 1 - Removing unwanted image dind-base
For information, using the flag -keep-all has the intented behavior.
What did I miss ?

Closing for lack of activity


Using excludeBotUsers() on conversation select element does not confrom to Slack API

First
This lib is terrific -- it's really sped up iterating with block kit and the it's very intuitive to use. Really well done!
Happy to do a PR, but I haven't oriented to the internals of the lib yet. Let me know if that'd be helpful!
Describe the Bug
When I use excludeBotUsers on a conversation-select element, Slack rejects the output:
{
  code: 'slack_webapi_platform_error',
  data: {
    ok: false,
    error: 'invalid_arguments',
    response_metadata: {
        messages: [
          '[ERROR] failed to match all allowed schemas [json-pointer:/view]',
          '[ERROR] invalid additional property: exclude_bot_users [json-pointer:/view/blocks/0/element]'
        ]
    ...
}

The issue appears to be that exclude_bot_users is included twice. Once in filters where it belongs and once on element where it does not:
    "blocks": [
        {
            "block_id": "my-channel",
            ...
            "element": {
                "action_id": "abc-channel-select",
                "exclude_bot_users": true, //  <---- THIS IS THE ISSUE
                "type": "conversations_select",
                "filter": {
                    "exclude_bot_users": true
                }
            },
    ],
}

If I delete exclude_bot_users from element before sending it to Slack, it works just fine.
To Reproduce
Using Bolt, display this modal in response to a shortcut:
async function showModal({ ack, shortcut, client }) {
  await ack();
  const myModal = Modal({
    title: 'My Modal',
    callbackId: 'my-modal',
   submit: 'Submit'
  })
  .blocks(
    Blocks.Input()
      .blockId('my-channel')
      .label('Choose channel')
      .element(
        Elements.ConversationSelect({
          actionId: 'abc-channel-select'
        })
        .excludeBotUsers() // works when I comment this out
      )
  )
  .buildToObject();

  await client.views.open({
    trigger_id: shortcut.trigger_id,
    view: myModal,
  });
}

Expected Behavior
The output conforms to the Slack API

Hi @ajkitson! Thanks for sending this over! I could get to this over the weekend or early next week, but feel free to send over a PR.
I definitely need to get to documenting the compositional approach to the library's source code, but it looks like the issue is probably here. The resulting DTOs are created dynamically by mapping the builder properties (camel case) to the API-supported properties (snake case).
I imagine removing along with the other filter related properties in Param would fix the issue. Let me know if you want to take a look, and if you don't have the time, I'll get to it in the next couple of days.
Cheers!

Also, I need to get around to adding contribution guidelines and the right Git hooks, but you might want to take a look at this for commit convention for this repo

Cool. That looks pretty straightforward. I've got some time this afternoon to try it out and put together a PR.


Cannot add extension "uuid-ossp"

What steps will reproduce the bug? (please provide code snippet if relevant)

Start postgresql embed with fresh database
run query CREATE EXTENSION IF NOT EXISTS "uuid-ossp";

What happens?
SQL Error [58P01]: ERROR: could not load library "/home/me/.theseus/postgresql/17.0.0/lib/uuid-ossp.so": libossp-uuid.so.16: cannot open shared object file: No such file or directory
What did you expect to happen instead?
Able to add "uuid-ossp" extension.
Add libossp-uuid.so to that directory?
Information about your environment

postgresql_embedded version: 0.17.2
Database version: 17.0.0
Operating system: Linux arch 6.11.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 10 Oct 2024 20:11:06 +0000 x86_64 GNU/Linux (Arch Linux)

solved by installing uuid https://aur.archlinux.org/packages/uuid


Feature/entity

For #170 . You can review @mraible  ;)
I had a lot of troubles for protractor issues (ion button click):  https://github.com/ionic-team/ionic-unit-testing-example/issues/62.
But now the e2e tests run for jwt and oauth2 generation, as shown in my last travis build: https://travis-ci.org/github/amanganiello90/generator-jhipster-ionic/builds/669676571?utm_source=github_status&utm_medium=notification.
I have modified also your jdl to test my templates with relationship and field types.

I have updated templates with correct year and resolved the random protractor latency.

Aahhh, just realized Travis is passing, it's just not being reported to GitHub properly. This is why we need to migrate to GitHub Actions!

Minor comments to cleanup code. I'll see if I can get Travis unstuck.

I have fix blank lines and run prettier on project.

Thanks, @amanganiello90! You rock!! 🤘

Thanks, @amanganiello90! You rock!! 🤘

Thank you very much! But for the timeout that in some cases occours, now I open another PR.


No assets uploaded to v0.13.0 release

Hi, it appears there have been no build assets uploaded to the latest release https://github.com/gruntwork-io/cloud-nuke/releases/tag/v0.13.0 like previous releases https://github.com/gruntwork-io/cloud-nuke/releases/tag/v0.12.3
cc @zackproser as the one performing the release

closing as the latest release as assets tied to it :smiley_cat: thanks for the silent fix!

@jbpratt Yes, there's a delay each time we cut a new release as our job to build and attach cross-platform binaries completes a few minutes later.

@zackproser for what its worth, it must have failed for the v0.13.0 release https://github.com/gruntwork-io/cloud-nuke/releases/tag/v0.13.0

@zackproser for what its worth, it must have failed for the v0.13.0 release https://github.com/gruntwork-io/cloud-nuke/releases/tag/v0.13.0

@jbpratt Roger, thanks for the report!


"ValueError: no objects to concatenate" since brainio update

After pulling the latest changes that merge brainio_collection and brainio_base into brainio (#278), stimulus sets and assemblies can no longer be loaded with a ValueError: no objects to concatenate.

Reinstall the repository to let the entrypoint changes take effect (e.g. "brain-score @ git+https://github.com/brain-score/brain-score").


[Feature Request] send form data to inline create popup

Feature Request
What's the feature you think Backpack should have?
Send form data to inline create modal
Have you already implemented a prototype solution, for your own project?
added  var form = element.closest('form') on line 239 and 'form': form.serializeArray() // all other form inputs on line 257
vendor\backpack\crud\src\resources\views\crud\fields\relationship\fetch_or_create.blade.php
Do you see this as a core feature or an add-on?
core future for fetch_or_create.blade.php file

Hello @kenjilabs
Thanks for raising this issue. We already have a PR to address it: #2912
I just reviewed and I think this will get merged soon.
I will close this as it's an already asked feature and we are about to provide it.
Best,
Pedro


Add conversion of quint nondet binders

Closes #2450
Also includes reorg of the long conversion functions into named functions so we
can keep the builtin conversion case analyses easier to scan. This is isolated
in b22cd39.

[x] Tests added for any new code
[x] Ran make fmt-fix (or had formatting run automatically on all files edited)
[x] Documentation added for any new functionality
[x] Entries added to ./unreleased/ for any new functionality

Codecov Report

Merging #2499 (1672dbf) into main (1aaaba3) will increase coverage by 0.00%.
The diff coverage is 94.59%.

:exclamation: Current head 1672dbf differs from pull request most recent head 999d95f. Consider uploading reports for the commit 999d95f to get more accurate results

@@           Coverage Diff           @@
##             main    #2499   +/-   ##
=======================================
  Coverage   78.40%   78.40%
=======================================
  Files         441      441
  Lines       15459    15470   +11
  Branches     2524     2491   -33
=======================================
+ Hits        12120    12129    +9
- Misses       3339     3341    +2

Impacted Files
Coverage Δ

...ain/scala/at/forsyte/apalache/io/quint/Quint.scala
86.63% <94.59%> (+0.22%)
:arrow_up:

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Shell completion support

This is probably something we can get if we move to a newer library like I mentioned in https://github.com/uptech/git-ps-rs/issues/182.
The idea is that if I type gps <TAB> into a shell prompt, then it should complete this as much as possible and give suggestions for possible completions. This makes typing commands very convenient.

I see thanks, I'll see about getting this into nixpkgs.


Cross-compilation to Android targets seems to fail due to use of OpenSSL

First of all, thank you for making this client available!
I'm trying to use it in a rust library that will be shipped to iOS and Android targets and I'm experiencing issues building for Android targets. The problem seems to be the use of OpenSSL by reqwest.
I've had this issue using reqwest directly. I've fixed it by changing the provider of TLS functionality:
reqwest = { version = "0.11", default-features = false, features = ["json", "socks", "rustls-tls"] }
Would you be open to exposing the selection of the TLS implementation of reqwest in this crate? If yes, I can work on a PR.

The error message that I get:
error: failed to run custom build command for `openssl-sys v0.9.75`

Caused by:
  process didn't exit successfully: `/target/debug/build/openssl-sys-88f374ddceb301fe/build-script-main` (exit status: 101)
  --- stdout
  cargo:rustc-cfg=const_fn
  cargo:rerun-if-env-changed=AARCH64_LINUX_ANDROID_OPENSSL_LIB_DIR
  AARCH64_LINUX_ANDROID_OPENSSL_LIB_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
  OPENSSL_LIB_DIR unset
  cargo:rerun-if-env-changed=AARCH64_LINUX_ANDROID_OPENSSL_INCLUDE_DIR
  AARCH64_LINUX_ANDROID_OPENSSL_INCLUDE_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
  OPENSSL_INCLUDE_DIR unset
  cargo:rerun-if-env-changed=AARCH64_LINUX_ANDROID_OPENSSL_DIR
  AARCH64_LINUX_ANDROID_OPENSSL_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_DIR
  OPENSSL_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_aarch64-linux-android
  cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_aarch64_linux_android
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS
  cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS
  cargo:rerun-if-env-changed=PKG_CONFIG_aarch64-linux-android
  cargo:rerun-if-env-changed=PKG_CONFIG_aarch64_linux_android
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=OPENSSL_STATIC
  cargo:rerun-if-env-changed=OPENSSL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-linux-android
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_linux_android
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-linux-android
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_linux_android
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-linux-android
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_linux_android
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  run pkg_config fail: "`\"pkg-config\" \"--libs\" \"--cflags\" \"openssl\"` did not exit successfully: exit status: 1\nerror: could not find system library 'openssl' required by the 'openssl-sys' crate\n\n--- stderr\nPackage openssl was not found in the pkg-config search path.\nPerhaps you should add the directory containing `openssl.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'openssl' found\n"

  --- stderr
  thread 'main' panicked at '

  Could not find directory of OpenSSL installation, and this `-sys` crate cannot
  proceed without this knowledge. If OpenSSL is installed and this crate had
  trouble finding it,  you can set the `OPENSSL_DIR` environment variable for the
  compilation process.

  Make sure you also have the development packages of openssl installed.
  For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.

  If you're in a situation where you think the directory *should* be found
  automatically, please open a bug at https://github.com/sfackler/rust-openssl
  and include information about your system as well as this message.

  $HOST = x86_64-unknown-linux-gnu
  $TARGET = aarch64-linux-android
  openssl-sys = 0.9.75

  ', /cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.75/build/find_normal.rs:191:5
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

@danielgranhao, did you build with the async-https features? It brings in the default TLS feature of reqwest

I just tried it now, doesn't seem to change anything. We ended up circumventing the problem by explicitly specifying a different tls lib in the following way:
reqwest = { version = "0.11", default-features = false, features = ["json", "socks", "rustls-tls"] }
esplora-client = { git = "https://github.com/bitcoindevkit/rust-esplora-client", default-features = false, features = ["async"] }

Ok, esplora-client = { version = "0.2.0" , default-features = false, features = ["blocking"] } seems to work


Add TS1 mechanism configuration and initial condtions to the examples

Added the following files to examples:
Directory of C:\2024\MusicBox\music-box-interactive-api\interactive\api\static\examples\TS1
08/01/2024  05:19 PM              .
08/01/2024  05:19 PM              ..
08/01/2024  05:02 PM                67 config.json
08/01/2024  05:02 PM             7,627 initial_conditions.csv
08/01/2024  05:02 PM           160,424 reactions.json
08/01/2024  05:02 PM            33,014 species.json
4 File(s)        201,132 bytes
2 Dir(s)  198,050,938,880 bytes free
Use Docker to verify that the JSON files are retrievable, for example:
http://localhost:8000/api/load-example?example=TS1

Just noticed the tests are failing - is this something unrelated to this PR?

Ready for another round of reviews after addressing requests. Note that TS1 will not run without this python change in music_box.py on about line 721. The addresses a gap in the ordered sequencing:

        rate_constants = {}
        for rate in curr_conditions.reaction_rates:

            if (rate.reaction.reaction_type == "PHOTOLYSIS"):
                key = "PHOTO." + rate.reaction.name
            elif (rate.reaction.reaction_type == "LOSS"):
                key = "LOSS." + rate.reaction.name
            elif (rate.reaction.reaction_type == "EMISSION"):
                key = "EMIS." + rate.reaction.name
            rate_constants[key] = rate.rate

        **ordered_rate_constants = (len(rate_constants.keys()) + 1) * [0.0]   # bogus + 1**

Formatted with indent = 2 spaces.

TS1 is ready for further development (restore initial conditions).


[ci skip] remove unused dependencies

Rattler-build doesnt use libsolv so we can remove the dependencies to build it.

Checklist

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

Closed in favor of #82


option for serializing blank fields

Any chance to see a merge of this feature ?
It's very usefull for Backbone Users...

@defunctzombie I've changed the option name per your request...

@khaled looks good, can you please squash the commits and I will merge.

All set.

@khaled, @defunctzombie
I have done another pull-request more advanced and I have updated the unit tests for this feature.
After testing it myself, the version of @khaled version to apply to my application, it seems to have some unespected behaviours with empty radio buttons, empty multi-level select and some few others that I don't remember etc...
@defunctzombie Can you please have a look on the pull request I have made  ?
@khaled hope you don't mind.

@veacks took a look. Your PR is doing more than this one. Could you elaborate a bit about the need for those additional checks?
@khaled does that PR suit your needs or do the added checks alter the behavior more than you were expecting?

Thanks for being vigilant about this folks. I do want to merge this feature in but also want to make sure we capture the intent properly to avoid breaking existing users and having to fix this up after release.

First sorry for my spelling, english isnt my native language. Hope it will be understandable.
In short, more and less the same as @khaled does initially but:

it wasn't setted up for the multiple-select tags
wasn't setted up and buggy for input type radio (it was treating radio buttons and checkbox as if it was the same kind of input but in fact these two have 2 diferent behaviours).
Also this one do not change at all the behavior of the initial script if option.empty is at false or null, so it guarantee the compatibility with the old versions.

The long answer:
For the radion buttons
Radio have the same behaviour as a select tag and Checkbox have a same as a multiselect.
It's not a problem for Checkbox because each one are true or false for a same group
But for radio, you need to take care of the orther elements with the same name and cannot be processed in the same loop
the @khaled version does:
on line 59  (@khaled) (!val && !options.empty)
That's why the tests fails when you run on radio button, when @khaled tried to don't run continue, it's not acting that radio buttons are a group of input.
on line 41 (mine) var radio_store = {}
What I do is storring each name of radio (group of radio) in an object ouside the loop as false by default.
If one of these have a value, I set the flag for the group at true.
on line 64 (mine)
// If we want the empty elements for radio
if (options.empty && element.type === 'radio') {
    if (!radio_store[element.name] && !element.checked) {
        radio_store[element.name] = false
    }
    else if (element.checked) {
        radio_store[element.name] = true
    }
}

Then, when the loop is finish and if the option.empty is at true, I do the serialisation to all groups marked at false (the empty ones).
on line 110 (mine)
// Check for all empty radio buttons and serialize them with key=""
if (options.empty) {
    for (var key in radio_store) {
        if (!radio_store[key]) {
            result = serializer(result, key, "");
        }
    }
}

So like that we can have the empty radio buttons.
For the checkboxes
I keep the same behaviour of @khaled for these one but he is sending element.checked as value which mean true or false.
What a checkbox does is, sending a value of the field if checked
So if we want to get the unchecked state, we need to send an empty value (after it's the interpretation of the developper to translate it at true or false for the needs)
For multiple select
Just did a flag as not selected by default.
Set the flag to true if one or more options are selected
If there is no options selected and the option.empty is set tu true
send a blank value.
on line 90 (mine)
var selectOptions = element.options;
var isSelectedOptions = false;
for (var j=0 ; j<selectOptions.length ; ++j) {
    var option = selectOptions[j];
    if (option.selected) {
        isSelectedOptions = true
        result = serializer(result, key, option.value);
     }
 }

// Serialize if no selected options and options.empty is true
if (!isSelectedOptions && options.empty) {
    result = serializer(result, key, "");
}

On the tests/index.js
Just tested in all cases if we have the behaviour expected when empty is setup and if empty+hash is setup

@veacks thank you very much for the detailed explanation. @khaled unless there is an objection, can you please test @veacks PR for your use case and I will merge that one instead.

@defunctzombie, @khaled
Hi guys, any news about the merge?

I was waiting for a review. Guess he is busy so I will take a look tonight
and merge it in.
On Sunday, February 22, 2015, Valentin Dubois<EMAIL_ADDRESS>wrote:

@defunctzombie https://github.com/defunctzombie, @khaled
https://github.com/khaled
Hi guys, any news about the merge?
—
Reply to this email directly or view it on GitHub
https://github.com/defunctzombie/form-serialize/pull/8#issuecomment-75480945
.

Cool, thanks.


Add support for trackpad gestures in safari 9 and force touch apis

Is it possible to detect pinch zoom on mac trackpad with hammer.js? How can I do this?

I am want to detect any pinch zoom on any supported browser other than the default zoom.

No it is not possible to use the trackpad in this way. Also as mentioned in #843 you cannot reliably detect zoom.

@QuantumInformation to follow up on this though, what google maps does is detect scroll events and prevent their default behavior and use them to zoom.  This is why you can't scroll around on a google map.  See some of the talk in
https://github.com/hammerjs/hammer.js/issues/658
and
https://github.com/hammerjs/hammer.js/issues/602

@runspired @QuantumInformation wants to detect pinching not scrolling zoom motions on the trac pad and wants to also be able to detect zoom level. @runspired correct me if i'm wrong but i don't believe either of these are possible.

@arschmitz visit maps.google.com, pinch to zoom :)  Notice only the map resizes, nothing else.

Maps also supports 3 finger drag on the map.

I'm pretty sure they do all three of these things by listening to scroll events, preventing the default behavior, then looking at the pointers involved.

This is currently out of scope of hammer, but it is something I'd like to see an OSS lib build to handle.

ah it acts as though ctrl key is pressed for pinching motions thats how they do it tricky...

@runspired what do you mean by 3 finger drag this does not work for me?

@arschmitz On Chrome I can use 3 fingers on the trackpad to move the map around on the screen.

@runspired on Yosemite Chrome for me anything 3 fingers triggers native OS actions

Interesting, I'm on Yosemite too.

Video'd it: https://twitter.com/Runspired/status/631849624928677888
You can start dragging with 3 fingers and drop to 2 or 1 and keep dragging so long as the remaining finger was the first finger put down.

@runspired crazy that does not work at all for me in fact if i start with one finger click to drag and add a second it continues to work but as soon as i put down a third it triggers the native switching screens or bringing up the mini screens thing lol removing the 3rd finger also does not restore dragging.

@runspired weird no matter what i do i cant reproduce that i even turned off all the OSX gestures this allows me to zoom in and out with 3 fingers but not to drag

Do you have to physically click or just tap to click on your keypad? I have to physically click.

physically

@runspired figured it out this is an OSX setting that you need to turn on nothing to do with chrome or google maps https://support.apple.com/en-us/HT204609

:'( I was really hopeful google had come up with a clever trick for doing it.  Their scroll tricks are still pretty neat.

yeah ctrl for detecting pinch scrolling direction is neat i didnt know about it.
But i do know there is no access to the touch point info for doing any type of actual gesture detection on a tracpad sadly.

also just a for reference people HATE the way scroll is hijacked for zoom on google maps
https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=google maps scrolling
there are tons of threads about it across the internet and even a browser plugin to disabled it and restore normal scrolling. https://chrome.google.com/webstore/detail/scrollmaps/jifommjndpnefcfplgnbhabocomgdjjg?hl=en
. People dislike this feature so much there is a popular mechanics article about it and how to use the plugin to remove it. http://www.popularmechanics.com/technology/apps/reviews/a10753/scrollmaps-is-the-google-maps-fix-you-need-16931788/ In all likely hood its best for user experience to not attempt this sort of thing.

Also worth noting if pinch zooming is disabled at the OS level it also breaks in google maps. As far as i can tell pinch zoom does not work at all in firefox on osx.

Looks like Safari 9.1 brings new events for trackpad on Mac:

iOS gesture events are now supported on Safari for OS X. Use OS X gesture events to detect pinching and rotation on the Magic trackpad. The gestureStart, gestureChange, and gestureEnd events are supported with event.rotation and event.scale properties. For more information on gesture events, see GestureEvent Class Reference.

Also, I found that Mapbox GL supports pinch-to-zoom on Mac too (examples). Their code is opensource: https://github.com/mapbox/mapbox-gl-js ; maybe something to find there ?

Interesting and worth looking into since we are a "gesture library"

worth looking into working with the forceTouch api's too at some point I think, or at least it will be if Google/Samsung release a competing feature which seems likely.

yeah +1

I know I’m 4 years late to the party, but what is the status on this?


Listen on separate port

To avoid exposing the metrics to anyone accessing the site, it would be nice to be able to instrument the server without adding the /metrics route to it.

https://github.com/roylines/node-epimetheus/pull/54


Document how to get log context

relocated from #68

Can’t find an easy way of getting the context of the log.  Usually the thing that helps identify the issue is actually on the lines above below.  Would be nice if could pull back say the 10 lines above and below.  Can we do this?

Document how to edit the filters to show all the logs around a particular log

Closed as Won't Fix due to project being retired to the CityIndex Attic.


Resource detail component

This PR implements https://github.com/okp4/dataverse-portal/issues/69

@0xLodz
Please, rebase your branch from origin/main before opening a PR, because this PR embeds commits from another branches and does not target main.
Thx

@0xLodz
I am a little bit confused about this PR, you say it implements #69, but how can we test the implementation requested in the feature as your component is imported nowhere?
If this PR aims to implement the feature, it should match the acceptance criteria asked from the product teal, that is obviously not the case.
Thanks .

@0xLodz I am a little bit confused about this PR, you say it implements #69, but how can we test the implementation requested in the feature as your component is imported nowhere? If this PR aims to implement the feature, it should match the acceptance criteria asked from the product team, that is obviously not the case. Thanks .

@fredericvilcot sorry for the confusion. This feature has the PR #138 as dependency, that's why I initially set feat/add-dataverse-items-dynamic-routes that implements #138 as the target branch, in order to provide only commits related to this feature. After reading you previous message, I changed the target branch and removed the commit that provided a way to test the feature. In this case I don't see any other solution than changing the target branch from main to feat/add-dataverse-items-dynamic-routes. What would you recommend?
Thanks.

@0xLodz
To keep a clean and consistant history, we need to wait for the merge of the blocking pull requests.
Please switch this one to draft meanwhile.
Thank you.


overriding rendering methods

How can I define customer render methods like with marked https://github.com/chjj/marked#overriding-renderer-methods ?

https://github.com/markdown-it/markdown-it/blob/master/docs/architecture.md#renderer


Fix tab opening behaviour for playbooks

Summary
The plugin id for playbooks has changed: update the heuristic in the desktop app used to detect same.
Ticket Link
None.
Checklist

[ ] Added or updated unit tests (required for all new features)
[ ] Has UI changes
[ ] read and understood our Contributing Guidelines
[ ] completed Mattermost Contributor Agreement
[ ] executed npm run lint:js for proper code formatting

Device Information
This PR was tested on: N/A
Screenshots
N/A
Release Note
NONE

Cherry pick is scheduled.


The camera channel gets stuck when I open it from HA with ffmpeg.

Hello!
I would like to ask for help in finding the problem:
I have a new Reolink Doorbell PoE camera.
If I add it to the configuration with default settings, I can get an image almost instantly without any problems in HA.
In this case, if I open the stream from go2rtc webUI, I see that it works in MSE mode, I get sound here, but no sound under HA.
Based on what I read on the internet, I set up ffmpeg in go2rtc.
I saw that this was necessary to handle the camera in RTC mode and to have sound during HA, as well as two-way sound.
After that, when I open the camera from the go2rtc webUI, it starts ffmpeg without error and switches to RTC mode.
No matter how many times I open it, close it, it works every time.

However, when I open the camera under HA, it always starts with a "stop producer" message first, and from that moment on it doesn't work even from the go2rtc webUI. It will not start ffmpeg anymore and keeps displaying "can't stop none producer" message.
This state persists until I restart go2rtc.

20:43:01 Start stream from HA.
20:43:21 Stop stream from HA.
20:44:45 Start stream from go2rtc webUI.
I also experienced a third case:
If I start the stream on the go2rtc webUI and it is running in rtc mode properly, I can open it from HA without any problems any number of times, and it has sound properly!
Thanks in advance for your help!
If you need any further information, I am at your disposal!
System data:
Used on all local networks.
go2rtc x64 1.6.4, 1.7.0, 1.7.1 (tried all three versions)
ffmpeg 6.0 x64
Home Assistant 2023.7.3 on 10.3 core

RTSPtoWebRTC

go2rtc config:
ffmpeg:
  bin: "d:/Programs/ffmpeg/bin/ffmpeg.exe"
  rtsp: "-fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_transport tcp -i {input}"

log:
  format: ""
  level: "debug"

streams:
  camera.camera1_sub:
    - rtsp://admin:xxxyyy@192.168.xx.xx:554/h264Preview_01_sub
    - ffmpeg:camera.camera1_sub#audio=pcm

It's better not to use RTSP for all Reolink cameras
https://github.com/AlexxIT/go2rtc#source-rtsp

It's better not to use RTSP for all Reolink cameras https://github.com/AlexxIT/go2rtc#source-rtsp

What protocol should I use that supports two way audio?
If the camera is at fault, why does it work properly when I open the stream in a browser from go2rtc webUi?
Any other suggestions on how I can solve the problem?

@AlexxIT
I investigated the problem further and read about other people's problems.
Someone here had a similar problem: #540
I downgraded go2rtc back to 1.6.0 and it worked for me!
After that, opening the stream from HA starts ffmpg and works properly!
If I can be of any help, please let me know.


[BP-526] Customers get logged out or lose cart content on Magento storefront

Hi Buckaroo,
When placing an order, go to the payment screens in Buckaroo and redirected back, the customer session is lost.
We have the issue with Magento 2.4.1 and it exactly looks like the problem as described here https://support.magento.com/hc/en-us/articles/360049032952-Customers-get-logged-out-or-lose-cart-content-on-Magento-storefront
We checked with your latest version (1.26.0). Can you check if you set the cookies correct?
Thanks,
Peter

@peteresser We are aware of this Magento bug and we fixed multiple things on our end. We are aware that some merchants are still having problems with this. Please have a close look at the Magento issue: https://github.com/magento/magento2/issues/26377 also a possible work-arround: https://github.com/magento/magento2/issues/26377#issuecomment-585497122
For now we are not working on any other fixes on our side since this is a Magento issue.

@Buckaroo-Rens @peteresser To be honest this was not the bug from Magento, the SameSite cookie approaching was released  from Feb 2020 by Chrome Browser at first.
Magento has also released the 2.4.1 with the updates to support this.
From the payment gateways, 3DS seem to be deprecated, they should be replaced from providers, switching to API for example.

@tuyennn  We will do some additional research. I'm aware that originally it's a 'browser update' what caused this issue.

@Buckaroo-Rens, @tuyennn, I had the same issue. Logged out after the redirect from Buckaroo payment page.
I've added
$this->checkoutSession->regenerateId();
To file Controller/Redirect/Process.php at line 425 and 474 to reset the customer cookie. After this change I stayed logged in after canceling and landing on the succespage.

@peteresser @tuyennn @stefanfr We made some adjustments to our code and it will be published into our next release which will follow next week.

@Buckaroo-Rens  any update on this? Next week since November 12th has already passed :)

@arnoudhgz Sorry, testing took at bit longer. We expect our release today.

Fix is released in v1.28.0.


Can we use single repo for both Android and iOS?

Hello Mojito Team,
We were trying hands-on with product and got stuck when we were using the same repo for our Android and iOS projects it is giving error based on the repo was created and imported from the platform
Eg: if repo is created with iOS strings file and if we pull in Android project then it gives the error
Asset with path [res/values/strings.xml] was not found in repo [Repo Name]

Not really if you mean sharing string/translations between the two code base.
Usually Mojito is used with 1 repository by project.
You can use 1 repository for 2 projects by adding --push-type NO_DELETE option .eg mojito push -r repo --push-type NO_DELETE -s android; mojito push -r repo --push-type NO_DELETE -s ios; . This has a side effect though: if you remove an asset from your code base, it won't be removed in Mojito.
But even if you do that, the strings won't be shared between Android and IOS, they'll be independent set of strings for each code base living in the same Mojito repository.


NUTS(0.65) versus NUTS(0.95)

In dc67846ea5f14a3a441822bd51d924210461a564, Martin Trapp has replaced many occurrences of NUTS(0.95) with NUTS(0.65). Still, I see both in this repository. Is there a reason why sometimes 0.65 should be used and at other times 0.95?

Not that I'm aware of. Originally when these models were developed Turing (Nuts) was a long way from where it is now! There are cases though where Turing has a harder time (compared to Stan) to work around a problem, e.g. in chapter 8 I believe there is a case. It would in fact be interesting to see if NUTS(0.65) would work in all models.

Check, I'll test it out when running the scripts.

This is now mostly fixed with #46. In general, 0.65 is better. Only if that fails, try 0.95.

This is now mostly fixed with #46. In general, 0.65 is better. Only if that fails, try 0.95.


Error trying to use ifc2json.py

I followed the instructions at /file_converters for Conda and tried to convert an IFC file to JSON.
This is the result:
ModuleNotFoundError: No module named 'ifcjson'
Any suggestions what went wrong?

Thanks a lot, that solved my problem!
Installation documentation is also more understandable now.


Clear local library

Either automatically (i.e. prune auto-cached stuff), or as a manual command, to reclaim disk space.

I don't think this is a big deal since you can just delete ~/Music/Submariner or do multiple delete in the local music library.


ContactUs: remove email

Remove the line emails us

Let's await clarification to determine if it is necessary to include an email address in ContactUs.adoc.


Derivative of the Hand MK5 coupling law possibly incorrect

I am working in order to fix https://github.com/robotology/gazebo-yarp-plugins/issues/647, and at some point I need to use the expression
$$
\frac{\partial{q2}}{\partial{q1}}
$$
provided in https://icub-tech-iit.github.io/documentation/hands/hands_mk5_coupling/#coupling-laws
I tried plotting the provided law and an alternative version obtained using finite differentiation on the positional law $q2(q1)$.

They look similar in terms of shape but they are different. Could it be that the law is incorrect? Is there any internal documentation where this law has been used  / tested ?
Thank you

Closing as I spotted an error in the testing code, they actually correspond quite closely:

Sorry for any incovenience.


您好，请问可以提供train代码吗？

Please check the test folder. Run the trainDDP_Base.py to train the baseline model without entropy loss for initialization. Run the trainDDP_Full.py for training the whole model.  "run.sh" gives an example for training.

Please check the test folder. Run the trainDDP_Base.py to train the baseline model without entropy loss for initialization. Run the trainDDP_Full.py for training the whole model. "run.sh" gives an example for training.

Thanks, Really appreciate your fast response!


Pinch does not work on latest version 3.6.1

Describe the bug
Pinch functionality does not seem to work at all on version 3.6.2, the entire page is zoomed instead of the element. When downgrading to version 3.5.1 it seems to work as expected.
To reproduce
Steps to reproduce the behavior:

Go to https://x8ynsx.csb.app/ on a mobile device (code is here)
Attempt to use pinch gestures
Notice the entire page is zoomed instead of the transform component

Expected behavior
The zoom effect should only be applied to the transform component, not the entire page.
Smartphone (please complete the following information):

Device: Samsung Galaxy A41
OS: Android 12
Browser: Chrome
Version: 128.0.6613.146

Additional context
This issue does not seem to exist on older versions.

I fought with this a lot and found that the pinch gesture is being interpreted as a pan gesture. It only detects the pinch if I start panning first with one finger and then put down the other finger afterwards.
Downgrading to 3.5.1 did fix it for me as well.

I have the same issue: downgrade to 3.6.0 helps. This PR make this issue happened https://github.com/BetterTyped/react-zoom-pan-pinch/pull/484/files

Same here.

madare hamatono gaiidam 🙌❤

Can confirm that this is the issue. Two tap events happens consecutively when a pinch gesture happens, and the second one triggers the isDoubleTap condition that prevents zoom from happening.


cursor controller bug fixes, 3D cursor reassignment, widget plugin & scene editor

Cursor controller bug fixes

Fix cursor depth scaling in Gear controller
Set controller active state in Gaze controller
Combined GVRInputManager and GVRInputManagerImpl into one class
GVRPicker enables SEND_TO_HIT_OBJECT when using controller
GVRInputManager.selectController remove context argument
Fix Gear controller duplicate motion events
Picking with the controller was wonky because the controller was
automatically generating motion events. GVRViewSceneObject and
GVRWidgetPlugin also convert controller events into motion events within
the quad representing the Android view. This patch suppresses the motion
events automatically generated by the controller which fixes picking
inside Android views. GVRGearController.sendEventsToActivity is added to
enable routing the events to the activity if this is desired.

3DCursor: handle cursor reassignment
The Gear controller comes on line later than the other controllers. This
patch makes the 3D cursor library recognize the controller and reassign
it to one of the active cursors. Previously an active cursor would never
get assigned to a different controller even if it was higher priority.
Support controller in scene editor and widget plugin
Modified widget plugin to handle controller events. Clicking works but
scrolling inside the widget does not.
GearVRF DCO signed off by: Nola Donato<EMAIL_ADDRESS>

gvr-controller - I think the bunnies could be scaled by dragging left and right, right? Whatever it is, if you attempt that the bunnies disappear.

gvr-keyboardview: the left-most keys can't be hovered above nor selected

gvr-modelviewer2: pause/resume the app, can't select anything anymore; even without pause/resume can't select alternative camera

gvr-widgetviewer crashes after pause/resume

There are way too many problems. I am quite confident we need to include few more bug fixes to this pull request before merging it. Otherwise the situation can quickly get out of hand.

In gvr-controller, the bunnies move but they do not scale. I think I have fixed the issue with dragging objects using the controller by making the drag thread-safe. Previously the app was doing the drag setup and the cursor controller could interrupt in the middle and change the cursor position.

I fixed the issue with gvr-keyboardview key picking.

I guess we could merge this round of fixes. But there is still good amount left. The widgetplugin-based demos have problems after pause/resume. I still see offset when picking and more. @NolaDonato any preferences?

The cursor scaling feels somewhat erratic.

In the next round of fixes please fix some regression issues when not using the controller. For example, no clicks go through in gvr-accessibility if the controller is not present.

I did not know that. I will make our own version of this class. I can make the API more closely match the Android Gesture detector. I thought it was OK since we are including it in all of our demos.

The widget plugin problem where events do not work after pause/resume is present without this change in both master and maint_v3.x. So it is completely separate issue.

Every 5-10 minutes of using the demo apps, I get a NPE like these:
12-14 08:06:54.688  7894  7894 E AndroidRuntime: FATAL EXCEPTION: main
12-14 08:06:54.688  7894  7894 E AndroidRuntime: Process: org.gearvrf.GVRWidgetViewer, PID: 7894
12-14 08:06:54.688  7894  7894 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'float android.view.MotionEvent.getX()' on a null object reference
12-14 08:06:54.688  7894  7894 E AndroidRuntime: 	at org.gearvrf.io.GVRTouchPadGestureDetector.onFling(GVRTouchPadGestureDetector.java:171)
12-14 08:06:54.688  7894  7894 E AndroidRuntime: 	at android.view.GestureDetector.onTouchEvent(GestureDetector.java:667)
12-14 08:06:54.688  7894  7894 E AndroidRuntime: 	at org.gearvrf.io.GVRTouchPadGestureDetector.onTouchEvent(GVRTouchPadGestureDetector.java:251)
12-14 08:06:54.688  7894  7894 E AndroidRuntime: 	at org.gearvrf.widgetViewer.GVRWidgetViewer.onTouchEvent(GVRWidgetViewer.java:83)
12-14 08:06:54.688  7894  7894 E AndroidRuntime: 	at org.gearvrf.widgetplugin.GVRWidgetPlugin$7$1.run(GVRWidgetPlugin.java:750)
12-14 08:06:54.688  7894  7894 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:751)
12-14 08:06:54.688  7894  7894 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:95)
12-14 08:06:54.688  7894  7894 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:154)
12-14 08:06:54.688  7894  7894 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6776)
12-14 08:06:54.688  7894  7894 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
--
12-14 08:10:44.726  1266  1877 D ConnectivityService: sending notification CAP_CHANGED for NetworkRequest [ id=17, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
12-14 08:10:44.726  1266  1826 D InputReader: Input event(10): value=0 when=5428421684000
12-14 08:10:44.726  1266  1826 I InputReader: Touch event's action is 0x1 (deviceType=0) [pCnt=1, s=] when=5428421684000
12-14 08:10:44.727  1266  1825 I InputDispatcher: Delivering touch to (9415): action: 0x1, toolType: 1
12-14 08:10:44.727  2037  2213 D NetworkController: onReceive: intent=Intent { act=android.net.wifi.RSSI_CHANGED flg=0x4000010 launchParam=MultiScreenLaunchParams { mDisplayId=0 mBaseDisplayId=0 mFlags=0 } bqHint=1 (has extras) }
12-14 08:10:44.728  9415  9415 D ViewRootImpl@31e4041[ModelViewer2Activity]: ViewPostImeInputStage processPointer 1
12-14 08:10:44.730  9415  9415 D TOUCH   : dispatchPickerActivity action = 1 2684.667969, 739.335938
12-14 08:10:44.747  1266  5147 D SSRM:SmoothScrollBooster: execute:: type = SMOOTH_SCROLL, value = TRUE, pid = 1266, uid = 1000
12-14 08:10:44.747  1266  5147 D SSRM:SmoothScrollBooster: Request from background package is ignored.
12-14 08:10:44.747  9415  9415 D AndroidRuntime: Shutting down VM
12-14 08:10:44.753  1266  5147 D SSRM:SmoothScrollBooster: execute:: type = SMOOTH_SCROLL, value = FALSE, pid = 1266, uid = 1000
12-14 08:10:44.755  1266  5147 D GameManagerService: identifyGamePackage. org.gearvrf.modelviewer2
12-14 08:10:44.757  9415  9415 E AndroidRuntime: FATAL EXCEPTION: main
12-14 08:10:44.757  9415  9415 E AndroidRuntime: Process: org.gearvrf.modelviewer2, PID: 9415
12-14 08:10:44.757  9415  9415 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'float android.view.MotionEvent.getX()' on a null object reference
12-14 08:10:44.757  9415  9415 E AndroidRuntime: 	at org.gearvrf.io.GVRTouchPadGestureDetector.onFling(GVRTouchPadGestureDetector.java:171)
12-14 08:10:44.757  9415  9415 E AndroidRuntime: 	at android.view.GestureDetector.onTouchEvent(GestureDetector.java:667)
12-14 08:10:44.757  9415  9415 E AndroidRuntime: 	at org.gearvrf.io.GVRTouchPadGestureDetector.onTouchEvent(GVRTouchPadGestureDetector.java:251)
12-14 08:10:44.757  9415  9415 E AndroidRuntime: 	at org.gearvrf.modelviewer2.ModelViewer2Activity.onTouchEvent(ModelViewer2Activity.java:90)
12-14 08:10:44.757  9415  9415 E AndroidRuntime: 	at org.gearvrf.widgetplugin.GVRWidgetPlugin$7$1.run(GVRWidgetPlugin.java:750)
12-14 08:10:44.757  9415  9415 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:751)
12-14 08:10:44.757  9415  9415 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:95)
12-14 08:10:44.757  9415  9415 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:154)
12-14 08:10:44.757  9415  9415 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6776)
12-14 08:10:44.757  9415  9415 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)

While checking for null in GVRTouchPadGestureDetector can be effective the root cause must be identified for this one, I believe.
gvr-simplephysics - still can't launch balls without the controller
Whomever is going to review and finally merge this - the changes must be independently verified by going through all the demos with and without the controller.

gvr-3dcursor - no controller; after resetting the scene (the big red button) the reticle disappears.

I have fixed the issues with gvr-3dcursor.

I fixed the issues with gvr-simplephysics in GearVRf-Demops #556

I have replaced the GVRTouchPadGestureDetector class that we cannot distribute. Now it is calls GVRTouchPadGestureListener and it is implemented as a subclass of OnGestureListener instead of a GestureDetector. This is a completely different implementation and a different API (matches OnGestureListener) so we should be OK.

Tested on S7 with all the files involving interactivity and procedural animations from the Tests->X3D repo -> Scripting, Scripting_Per_Frame, Switch_node, TouchSensors, anchor folders.
25 total test invoking animations or using JavaScript to modify GVRTransform, GVRMaterial, light properties, change viewpoint location and open web pages.  All passed!
LGTM - Looks Good To Me

has conflicts and needs rebase.


gazebo_ros_pkgs: 2.5.6-2 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository gazebo_ros_pkgs to 2.5.6-2:

upstream repository: https://github.com/ros-simulation/gazebo_ros_pkgs.git
release repository: https://github.com/ros-gbp/gazebo_ros_pkgs-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.5.21
previous version for package: 2.5.6-0

gazebo_msgs

No changes

gazebo_plugins
* fix gazebo7 deprecation warnings on kinetic
* Contributors: Steven Peters

gazebo_ros
* Remove deprecated spawn_gazebo_model service
* Contributors: Steven Peters

gazebo_ros_pkgs

No changes

yay, the tags look good now!


[Android] Incorrect stack traces with stub code

When running the test example/glance_integration_test/touch_event_jank_test.dart,
bash scripts/glance_integration_test.sh android > log.txt

The stack traces may include lines referencing stub xxx code, which leads to incorrect stack traces. An example of such a stack trace is shown below:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 15353, tid: 15412, name 1.ui
os: android arch: arm64 comp: yes sim: no
build_id: '4dbecf54286318dce1688d7392b0d927'
isolate_dso_base: 7ddf5cf000, vm_dso_base: 7ddf5cf000
isolate_instructions: 7ddf685840, vm_instructions: 7ddf66f000
...
#48     stub _iso_stub_AllocateMintSharedWithFPURegsStub+0x40
#49     stub _iso_stub_StackOverflowSharedWithFPURegsStub+0xcc
...

It's not sure if it is related to logic in the Dart SDK https://github.com/dart-lang/sdk/blob/8fa0f56f453a1e22406f0e057be27787bf49b3be/runtime/vm/profiler.cc#L1370, but it most likely that there is no way check the stub code outside the Dart VM.

It's weird that it works fine on the example, which is the same as this scenario, simulates the expensive function call in the click event.

Maybe related https://github.com/getsentry/sentry-dart/issues/1106#issuecomment-1657846953


Modernize helm create Ingress Template

This pull request and idea is open for discussion
It's based on this discussion: https://github.com/helm/helm/issues/9462

fix non-working values in helm create template
introduce support for Ingress v1
support ingressClass support of K8s 1.18
remove support for Kubernetes 1.13 and below

TODO (as soon of a community acceptance):

adjust unit tests & test data
adjust documentation
test on older clusters

with the release of k8s 1.21, we could consider to remove support for 1.18.
this would ease the template slightly
https://kubernetes.io/docs/setup/release/version-skew-policy/

with the release of k8s 1.21, we could consider to remove support for 1.18.

Sadly, 1.18 is still widely used in managed Kubernetes distributions. I understand the Kubernetes support policy, but it's simply not practical to follow when more than half of the world (or more) is still on earlier versions.
(I still receive PRs/feature requests to support versions as early as 1.14 which is insane, but the world is apparently not ready for upgrading their systems at this velocity.)

So it looks like there is more than one, little bit hidden change in this PR:

order of rules and tls changed (Why?)
it's no longer possible to have multiple paths for a single rule (Why?)

one of the main questions for me is about the target group of "helm create". is it the experienced guy for a complex app with all the things (affinity, anti-affinity, node selectors... etc etc). or for the guy which got in contact with helm / k8s manifests the first time?
currently the default template is pretty crowded. i can imagine people are scared to modify it...
at another side, it's not super flexible too. there are a lot of cases where it's lacking (eg multiple services, pv/pvc...)
with multiple routes it would be still possible to route another path. of course paths could also be an optional option....
at the other side, i could imagine that forward routes to anothet service in an ingress is more common: e.g. /api to a backend, all othetd to the frontend which mostly might be a spa which wants all routes on index.html
maybe it's an idea for a parameter to helm create to
a) select the minimal target k8s version
b) allow some levels or templates (webapp, workerapp etc)
maybe even remove that from the main code and extract it to plugins

IMHO the template serves as an example and as such, it should aim for compatibility and presenting the available options. I don't really see ingress changing much in the forseeable future, so I wouldn't mind a more detailed example that we can simplify over time (ie. remove 1.14 support in a year or something).

with multiple routes it would be still possible to route another path. of course paths could also be an optional option....

This is actually a breaking change in the sense that it works entirely different from how it worked before. If new charts start to behave differently, we should have a good reason for that and I don't see one at the moment.
This is what I implemented for now: https://github.com/sagikazarmark/helm-charts/pull/57
And I'm already thinking about renaming rules to hosts, but I actually like the new name there, so I might keep it.

I'm more than happy to close this change in favours of yours!
Maybe i was wrong thinking that helm create is an important aspect in aligning and helping the helm community for best practises. There might be too many different requirements for a command without any parameters and without clear goals.
It's a huge task anyway. Thanks a ton for fixing these two issues! This will help a lot.
But based on the limited communication about changes on ingress or other aspects of the template, I think we for us have to change to another approach and create a more opinionated "create new template engine" for our customers. maybe as helm plugin or including in our cloud control plane cli. and/or recommend to start from scratch (e.g by creating resources with kubectl (it got better), and then template it for helm
cheers to you!

I don't think you should close it. It's a good start, we should iterate on it.

@bacongobbler can we get some eyes on this PR? Would be nice to make it part of the 3.6 release.

@adrianliechti you might want to sign your commits so that all checks are passing.

I guess the adaption done in create.go needs to be done in pkg/lint/rules/testdata/v3-fail/templates/ingress.yaml too.

if one looks at skaffolding tools like:

https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-new
https://maven.apache.org/guides/introduction/introduction-to-archetypes.html
angular, react new... etc. etc.

creating a single template to fit it all seems really hard... their solution is a way to select from multiple templates.
maybe this could be a future of the helm create command (helm plugin support is already there).
the current one could be the "default". there might be a "minimal stateless web app" one, and a "stateful app with persistence"

Agreed. helm create was built long ago when the project hardly had 100 users. These are the tech problems that arise once you reach a certain scale.
If you're interested in proposing a rewrite of helm create, I would suggest looking at The Contributing Guide under "Proposing an idea". A plugin would be a great first step to prove out that idea.


PDFLATEX flake

Something weird is happening with the latex rendering engine on RTD.  There's a periodic failure that occurs in a flakey fashion that seems to fail RTD builds.
https://readthedocs.com/projects/feature-labs-inc-evalml/builds/651380/
https://readthedocs.com/projects/feature-labs-inc-evalml/builds/651420/
Scrolling down past the file extension errors and hyper reference errors, you find:
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on feature-labs-inc-evalml.log.
Latexmk: Index file 'feature-labs-inc-evalml.idx' was written
Rule 'makeindex feature-labs-inc-evalml.idx': File changes, etc:
   Non-existent destination files:
      'feature-labs-inc-evalml.ind'

This seems to occur three times for three rules that fail.

I didn't even see it on the PR build for the very last merge to main, the release branch.  Which is weird....but I tried wiping main and will try again.

The last main I see that's passing is after Parthiv's #2344.  It seems that #2256 got merged after that and since then, main has not passed RTD.  We might need a nightly RTD build, at least.  Not sure why this is happening.

Ran this draft PR to try and re-check #2256 's RTD which triggered the build and it completed.

@chukarsten I think we can close this?

@chukarsten confirmed, closing !

Quick note: this was caused by an extra tick mark in our release notes 🤯 #2368


No way to delete draft meeting in SDK App

feedback from @chunyu3

@honghr  maybe we should add a filter for meetings


create button.py

Codecov Report

Merging #1497 (2b69015) into dev (c379b94) will decrease coverage by 0.04%.
The diff coverage is 74.28%.

@@            Coverage Diff             @@
##              dev    #1497      +/-   ##
==========================================
- Coverage   80.36%   80.32%   -0.05%
==========================================
  Files         227      228       +1
  Lines        6702     6733      +31
==========================================
+ Hits         5386     5408      +22
- Misses       1316     1325       +9

Impacted Files
Coverage Δ

zhaquirks/__init__.py
77.89% <ø> (-0.24%)
:arrow_down:

zhaquirks/adeo/color_controller.py
82.50% <ø> (ø)

zhaquirks/aduro/adurolightncc.py
100.00% <ø> (ø)

zhaquirks/aurora/aurora_dimmer.py
82.60% <ø> (ø)

zhaquirks/ikea/dimmer.py
100.00% <ø> (ø)

zhaquirks/ikea/fivebtnremote.py
100.00% <ø> (ø)

zhaquirks/ikea/fivebtnremotezha.py
100.00% <ø> (ø)

zhaquirks/ikea/fourbtnremote.py
100.00% <ø> (ø)

zhaquirks/ikea/shortcutbtn.py
100.00% <ø> (ø)

zhaquirks/ikea/symfonisk.py
100.00% <ø> (ø)

... and 9 more

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 5272b4c...2b69015. Read the comment docs.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

20 of 29 (68.97%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.05%) to 80.321%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

zhaquirks/thirdreality/button.py
20
29
68.97%

Totals

Change from base Build<PHONE_NUMBER>:
-0.05%

Covered Lines:
5408

Relevant Lines:
6733

💛  - Coveralls

@dmulcahey please help to review the merge require,thanks

@dmulcahey  hello, can you tell me how to make this commit take effect?

Update to the latest HA

@weihuan1111 in this PR, did you remove LevelControl and replace the Ota output cluster with Basic intentionally, or was this a mistake? The device supports OTA.

@puddly What is the meaning of replacement in the code? Is it neccessary to remove the repacement?

Replacement allows you to change standard clusters for modified versions. It also allows you to add or remove clusters if they aren’t functional or if they’re missing. Lots of devices don’t follow the specifications and we need a way to correct them

Replacement allows you to change standard clusters for modified versions. It also allows you to add or remove clusters if they aren’t functional or if they’re missing. Lots of devices don’t follow the specifications and we need a way to correct them

OK， i will remove the repacement and test it

For one Zigbbee Light controller is sending all commands from out cluster so OnOff and Level control must being on the out part.
One very good example of bad devices is tuya TS004F that have both on in and out and is making ZHA thinking its one light that can being controller from the GUI = false then its one remote that only sending commands.
In the quirk we have deleting them in the replacement from the in and its sending commands OK from the out cluster and ZHA is not making one light in the GUI that  can sending commands to it (that is not possible then its one sleeping device) and all is working OK (the group cluster is little special then the device is not supporting binding and need it as in cluster for adding groups like lights but its one other story).


Fixed GH action configurations.

Corrected platform for actions.

@deepakkumarnd Please review. The CI fails because it has broken specs and security vulnerabilities. The GH action works now.


Firebase Auth - Incompatible

Describe the bug
When using the latest version, it appear to cash the entire app for no apparent reason, when downgrading it works.
This is not an uncommon issue with the firebase libraries, please can you look into it properly and correct it, you are causing us a lot of pain.

I'm not facing any issues while working with latest version.
Kindly elaborate what kind of issue you're facing.

@broberts-nybble Can you reproduce it on any project, or on the some exact one?

I was able to find the issue / conflicts:

Firebase auth - conflicting with firebaseml & firebase core, versions we're all on android-x, but after migration it helped
Firebase auth - major conflict with "local_auth" package

The documentation when it crashes / fails isn't really helpful which leads you on a mindless hunt, but this is approx. the 3rd time I've updated these libraries and each time there are issues where it crashes the app and creates instabilities.


Implement Providers in "upcoming" script

Providers for the dates of upcoming launches
Introduction
This PR implements a new structure for the "upcoming" script that simplifies and facilitates the implementation of additional sources of information for the launch date, when the launch is within a specified threshold. I've called each source of information for the script, a "provider". The goal is to make it easier to implement other providers in the future, like trusted users and Twitter scraping, into the calculation of the dates of upcoming launches.
Details & Motivation
In order to:

Clean the "upcoming" script code and make it more maintainable and testable
Get ready for the addition of Twitter scraping, trusted users and possibly other APIs or parts of the wiki in the future

The two current providers of launch dates, the main code for retrieving and processing, both the wiki manifest and the data from the Launch Library API, have been separated into different files, leaving in the "upcoming" script mostly the logic merging the dates from both sources and update the database.
With this implementation it should be far less complicated and cumbersome to implement other providers. Also it makes the main script more readable and shorter.
There was a bug in my previous implementation, which calculated wrongly the last update time of the wiki, it used the last time the API fetched the manifest, which was an inaccurate measurement.
The new code relies instead on the history of revisions of the wiki, available here, and keeps track of the UUID of the revision and actually compares the stored launch date and the new launch date in the manifest, to see if it changed.
Finally, the new fields required to make the new code work will only be added to the launch document in the database once it is within the threshold, so it will not alter any launch until it is close enough.
Changes in the database
New Fields
Here are the new fields for the launches (Only added when the launch enters the threshold).
Wiki provider

last_wiki_launch_date: The most recent launch date from the manifest
last_wiki_update: The date of the most recent revision we use of the manifest
last_wiki_revision: The UUID of the revision from which we grab the launch date

LL provider

last_ll_launch_date: The most recent launch date from Launch Library. Is null if it cannot be reached or the mission name hasn't passed the fuzzy match.
last_ll_update: The date of the last update of the launch date as given by LL. Is null if it cannot be reached or the mission name hasn't passed the fuzzy match.

General

launch_date_source: Which provider's date is used to calculate the main dates of the launch. For now, it can be "wiki" or "launch_library".
last_date_update: The date of the most recent update to the launch date, from the provider in 'launch_date_source'

Fields that have to be removed manually
And these are the fields, added by the old code, that should be removed from the live database because they are replaced and improved by the new ones:

is_date_from_wiki
last_wiki_update

Sorry for the delay, planning on merging this weekend alongside the database changes.


Running Clang Format

This reformats Firestore based on the output of:
clang-format --version
clang-format version 7.0.0 (tags/google/stable/2018-01-11)

I think your clang-format is just out of date.
I have:
clang-format version 7.0.0 (tags/google/stable/2018-04-24)


Remove unused 'maxLength' argument from addPoints

Sorry, just saw this! This appears to have been obviated by v0.4.0 cleanup.

NP, I was analyzing your code and figured I'd point it out. :)


prisma/migrate not generating type declaration file in the correct location

Bug description
In our codebase, we import the Migrate class from prisma/migrate:
import { Migrate } from '@prisma/migrate'

When upgrading from prisma 3 to 4 (4.13.0 to be exact), we are getting a type error on that line, stating that the declaration is missing.
<EMAIL_ADDRESS>declares that types should be located at types: 'dist/index.d.ts', but this does not exist. There is an index.js file and a types.js file though. index.d.ts is located under dist/src/index.d.ts.
How to reproduce

Attempt to add import { Migrate } from '@prisma/migrate' in a prisma 4.13.0 project

Expected behavior
There is no typescript error
Prisma information

// Add your schema.prisma

generator client {
provider        = "prisma-client-js"
previewFeatures = ["fullTextSearch", "metrics"]
}
datasource db {
provider = "postgresql"
url      = env("DATABASE_URL")
}
// Add your code using Prisma Client

Environment & setup

OS: macOS
Database: PostgreSQL
Node.js version: 16.18

Prisma Version
prisma                  : 4.13.0
@prisma/client          : 4.13.0
Current platform        : darwin-arm64
Query Engine (Node-API) : libquery-engine 1e7af066ee9cb95cf3a403c78d9aab3e6b04f37a (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli 1e7af066ee9cb95cf3a403c78d9aab3e6b04f37a (at node_modules/prisma/node_modules/@prisma/engines/migration-engine-darwin-arm64)
Format Wasm             : @prisma/prisma-fmt-wasm 4.13.0-50.1e7af066ee9cb95cf3a403c78d9aab3e6b04f37a
Default Engines Hash    : 1e7af066ee9cb95cf3a403c78d9aab3e6b04f37a
Studio                  : 0.484.0
Preview Features        : fullTextSearch, metrics

I second this issue on v5.17.0.
A pristine project with migrate installed is all that is needed.
Looking at the bundled code in node_modules, you'll be able to notice that index.d.ts, declared in package.json, is clearly missing from the build.


Snapshot with erase simulator and add photo duplicates photos in camera roll photos.

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
After ```
snapshot --erase_simulator --add_photos fastlane/test_img.jpeg --ios 9.2 --scheme iOSApp --devices 'iPhone 6s'

Proper solution should be, I got only default images from simulator and and one extra (test_img).

##### Complete output when running fastlane, including the stack trace and command used

snapshot --erase_simulator --add_photos fastlane/test_img.jpeg --ios 9.2 --scheme iOSApp --devices 'iPhone 6s'
[10:24:10]: $ xcodebuild -list -workspace ./Egnyte.xcworkspace
2016-09-19 10:24:11.084 xcodebuild[16277:2174385] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
+----------------------------+---------------------------------------------------------------+
|                                Summary for snapshot 1.14.0                                 |
+----------------------------+---------------------------------------------------------------+
| erase_simulator            | true                                                          |
| add_photos                 | ["fastlane/test_img.jpeg"]                                    |
| ios_version                | 9.2                                                           |
| scheme                     | iOSApp                                                        |
| devices                    | ["iPhone 6s"]                                                 |
| workspace                  | ./Egnyte.xcworkspace                                          |
| output_directory           | /Users/dsmakulski/Development/ios-rearch/fastlane/screenshots |
| languages                  | ["en-US"]                                                     |
| launch_arguments           | [""]                                                          |
| skip_open_summary          | false                                                         |
| clear_previous_screenshots | false                                                         |
| reinstall_app              | false                                                         |
| localize_simulator         | false                                                         |
| buildlog_path              | ~/Library/Logs/snapshot                                       |
| clean                      | false                                                         |
| number_of_retries          | 1                                                             |
| stop_after_first_error     | false                                                         |
+----------------------------+---------------------------------------------------------------+
[10:24:12]: Building and running project - this might take some time...
[10:24:12]: snapshot run 1 of 1
[10:24:12]: Patching '/Users/dsmakulski/Library/Preferences/com.apple.iphonesimulator.plist' to scale simulator to 100%
[10:24:13]: Erasing iPhone 6s...
[10:24:13]: Launch Simulator iPhone 6s
[10:24:13]: $ xcrun instruments -w 47C9C4EF-FADA-4D3B-84BE-C18E1009B83F &> /dev/null
[10:24:15]: Adding 'fastlane/test_img.jpeg'
[10:24:15]: $ xcrun simctl addphoto 47C9C4EF-FADA-4D3B-84BE-C18E1009B83F fastlane/test_img.jpeg &> /dev/null

### Configuration Files

Please copy the complete content of your `Fastfile` and any other configuration files you use below:

Fastfile:
```ruby
# INSERT CONTENT HERE

Environment
fastlane version (run fastlane -v): latest
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)?
NO
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)?
rvm system (OSX)

@smaky Are you able to duplicate this on a blank project? I want to verify and then get this over to the team here. Thanks!


When using getViewState in a for loop, the view method only works once

Here is an example code where I call the view method through a presenter in a loop:
Presenter:
  for (int i = 0; i<exampleList.size(); i++) {
        String title = exampleList.get(i).getTitle;
        int id = exampleList.get(i).getID;
        getViewState().addMenuItem(title, id);
        Log.d(TAG, "addMenuItem: "+i);
            }

Activity:
@Override
 public void addMenuItem(String title, int id) {
     navMenuCategory.add(R.id.menu_category, id, Menu.FIRST, title);
 }

For example: I need to add 5 menu items. Of these, only the last fifth item will be added. Default Strategy (Tried to add SingleStrategy, AddToEndSingleStrategy, did not help).
Is there a solution to this problem, or is it better for me to transfer the list of necessary items in view and cyclically add them to the menu?
Thank you in advance for your response!

The best solution is to have a method with a list parameter with AddToEndSingleStrategy:
void showMenuItems(List<MyMenuItem> items);
It's a better abstraction and works fine with Moxy.
A loop in presenter is not a good idea, because it makes Presenter more complicated and forces you to have an additional method in View, like clearMenuItems(). Also it's hard to make this work correctly ViewState strategies, as you've already found out.

Thanks for your reply! I will use your recommendation. I just wanted to clarify about the cycles, it turns out they are better to use in the view and interactors, bypassing the presenter?

Not sure what you mean, feel free to use cycles anywhere you want) It's just in this particular case using the loop to populate View's menu seems like a bad separation of concerns and doesn't play nice with Moxy.

I understood. Thanks again!


Possibility to use to avoid idle state

Hi @PanayotCankov, this package seems to be one of the limited options to work long-term in NativeScript apps without user interaction.
Can this also be used to avoid going into idle state to e.g. keep a socket connection alive? If yes, how could this be achieved?
Thanks in advance!

Hi,
No, it won't keep your app awake. You may be looking for something like "background mode" for iOS or something?

Too bad, my fault. Thanks for the fast response!


Show course status update time

When registering a class, it is very useful to check the status of the class (Full/WL), and I think it is better to add an update time beside the Status

When registering a class, it is very useful to check the status of the class (Full/WL), and I think it is better to add an update time beside the Status

ui idea for this: when they hover over the number or status, last updated time will show up.


locale_to_json: add automatic creation of datepicker webpack file

For bootstrap-datepicker component, we need a list of require() statements for webpack to include its language packs into the final bundle. Since we have the list of languages available during the po_to_json task and we're writing into ui-classic repo here, I decided to include automatic generation of those require statements into this task.
The result of this will be a file in ui-classic repo app/javascript/packs/bootstrap-datepicker-languages.js with the following content:
// This is file is automatically generated by rake locale:po_to_json task
require('bootstrap-datepicker/dist/locales/bootstrap-datepicker.de.min.js');
require('bootstrap-datepicker/dist/locales/bootstrap-datepicker.es.min.js');
require('bootstrap-datepicker/dist/locales/bootstrap-datepicker.fr.min.js');
require('bootstrap-datepicker/dist/locales/bootstrap-datepicker.it.min.js');
require('bootstrap-datepicker/dist/locales/bootstrap-datepicker.ja.min.js');
require('bootstrap-datepicker/dist/locales/bootstrap-datepicker.ko.min.js');
require('bootstrap-datepicker/dist/locales/bootstrap-datepicker.pt-BR.min.js');
require('bootstrap-datepicker/dist/locales/bootstrap-datepicker.zh-CN.min.js');
require('bootstrap-datepicker/dist/locales/bootstrap-datepicker.zh-TW.min.js')

This file will be truncated & updated any time the locale:po_to_json task is run.
@himdel

@chessbyte Please review.

@chessbyte fixed

@mzazrivec The pack filename should end with -common.js, if we want it to autoload (otherwise it has to be explicitly loaded in javascript_common_packs)

@mzazrivec @chessbyte should this go to kasparov branch since https://github.com/ManageIQ/manageiq-ui-classic/pull/7439 is backported?

@simaishi I'd say yes.

Kasparov backport details:
$ git log -1
commit 18cbb75c1fd62e1241c48386ace740d33f29dad1
Author: Oleg Barenboim<EMAIL_ADDRESS>Date:   Thu Nov 5 12:03:33 2020 -0500

    Merge pull request #20769 from mzazrivec/add_automatic_datepicker_lang_packs_creation

    locale_to_json: add automatic creation of datepicker webpack file

    (cherry picked from commit 8730f3d5c29522828d69944c36e423d86afaf8e4)


libdnf: add zchunk support

Motivation for this change
zchunk now compiles fine in darwin and linux, might as well add support for it to our libdnf.
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 133769 run on x86_64-darwin 1

2 packages built:

libdnf
microdnf

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

2 packages built:

libdnf
microdnf


Get steempress markdown processing to sync with steemit

e.g. the #-tagged items and @-mentions of user accounts in the body should link to either steemit or local blog (a config setting).

For reference, the code that handles the parsing of content currently is located here:
https://github.com/aaroncox/steempress/blob/master/src/SteemPress/Model/Comment.php#L29-L41

Good stuff. I'm going to just keep filing issues, and some of them I'll take care of myself :)
I also got @ntomaino up and running and got a steemithunt instance up so we have some "real" sites up. We'll centralize issues here.

Absolutely, it'll be a good way for us to keep track of what needs to happen.


log: document Print and Printf adding newlines more

Ref.: https://github.com/golang/go/issues/16564
Why not a flag (e.g.: log.Ldate) to disable that (newline)? What's the problem? Such change would be so easy to be implemented.
_Note: fmt isn't log, and log has everything needed minus this newline.
Thank you!

If you want complete control over output formatting, use the fmt package.  If you want a simple way to generate logs, use the log package.  There is no reason for the log package to provide all the capabilities of the fmt package.
I'll add that there a number of third party log packages out there, you aren't required to use the one in the standard library.
I'm going to close this issue because it doesn't add anything to the existing #16564, which was already closed.

Hello, @ianlancetaylor!  I'm asking for just that: a flag...

Again, this issue doesn't add anything to the existing #16564.  In general we don't want to continually revisit decisions that have already been made.  Thanks.


Megali Idea (Greece) not working properly.

When you use the Megali idea decision you get your cores on turkish land but you don't get a casus belli to get them, also i think the decision is bugged because it says (*) you have to be on a sphere of influence and it only works when you are NOT in a sphere of influence.

Agree. Will remove that requirement.

The decision is correct it is just that the Vic2 popup text is incorrect, it states "is in sphere" even if the decision is set to "part_of_sphere = no" as requirement.
You do get the cb (acquire_core_state always = yes) as long as your ruling party does not have pacifism as policy.


More combinators

For #139

Add the A combinator
Add the C combinator
Add the B combinator
Add the S combinator

:information_source: I'm going to commit the changes as a result of your feedback on top. I'll neatly squash everything back down to the four commits once we're done. :)

Lovely work, Aldwin! At some point I'd like you to squash your commits and git rebase master. :)

I'll get straight to it. Would you like them as the original four commits (one per combinator) or rather all in one?

Would you like them as the original four commits (one per combinator) or rather all in one?

One commit per combinator makes sense to me. I :heart: the care you've taken, and the notes you've included with each commit message. I tend to be a bit lazy with commit messages since I assume I'll always be able to refer to pull request descriptions, but having these notes in the Git history is even better. Thanks!

:deciduous_tree: Thank you for the high-quality patches. Welcome to the Sanctuary team!


fix: Enable RAG_WEB_SEARCH_CONCURRENT_REQUESTS

Pull Request Checklist
Before submitting, make sure you've checked the following:

[x] Target branch: Please verify that the pull request targets the dev branch.
[x] Description: Provide a concise description of the changes made in this pull request.
[x] Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
[x] Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
[x] Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
[x] Testing: Have you written and run sufficient tests for validating the changes?
[x] Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
[x] Prefix: To cleary categorize this pull request, prefix the pull request title, using one of the following:

fix: Bug fix or error correction

Changelog Entry
Description

The RAG_WEB_SEARCH_CONCURRENT_REQUESTS environment variable is not passed as the requests_per_second parameter in get_web_loader, causing it to not function properly.
According to Langchain code here, requests_per_second is used as an asyncio.Semaphore and is only effective in loader.aload(). However, since loader.load() is being used instead, it does not work concurrently and is therefore slow. For example, loading 10 sites takes 13.9 seconds.

Test
Setting RAG_WEB_SEARCH_CONCURRENT_REQUESTS to 10 and loading 10 sites reduced the time from 13.9s to 2.3s, making it 6 times faster.

I wrote a bug report issue here. #7026

Thanks!


Update version of opus_paracrawl dataset

This PR updates OPUS ParaCrawl from 7.1 to 9 version.
Fix #4815.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Add env file support

Similar to how debug launch configurations support env files, it would be nice to support env files in .vscode-test.mjs.

Note that on Node 20 you can pass node --env-file=.env ... but this is awkward when calling a CLI app

I'm not sure I plan to do anything special here, it's easy enough for folks who want this to grab dotenv and pass that in their configs.


Cleans up tests

Some tests passed for the wrong reason because of drift in CLI parsing
inside the fake envoy server. This fixes that and also moves the fake
admin endpoint into the fake envoy server. This allows us to verify
admin address path parsing works as we expect it to.

cool got a flake similar to windows on go 1.17.. I will sort this out
--- FAIL: TestFuncERun (1.90s)
    run_test.go:63:
        	Error Trace:	run_test.go:63
        	Error:      	Not equal:
        	            	expected: "initializing epoch 0\nstarting main dispatch loop\n"
        	            	actual  : "initializing epoch 0\n"

        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1,3 +1,2 @@
        	            	 initializing epoch 0
        	            	-starting main dispatch loop

        	Test:       	TestFuncERun
invoking shutdown hooks with deadline [2021-08-22 09:42:49.301]
failed shutdown hook: unable to create file to write ps output to: open /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/2738671499/envoy_home/runs/1629625363974914000/node/ps.txt: no such file or directory
failed shutdown hook: unable to capture Envoy configuration and metrics: unable to read /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/2738671499/envoy_home/runs/1629625363974914000/admin-address.txt: open /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/2738671499/envoy_home/runs/1629625363974914000/admin-address.txt: no such file or directory
failed shutdown hook: open /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/2738671499/envoy_home/runs/1629625363974914000/node/network_interface.json: no such file or directory
failed shutdown hook: open /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/2738671499/envoy_home/runs/1629625363974914000/node/connections.json: no such file or directory
sending interrupt to envoy (pid=6547)

thanks for the help takeshi-san I will rebase the other in-flight PR then do the package refactoring as I agree there's too much weight in the main code solely for CI flakes that occur now with go 1.17


Select a  Licence

We need to select a licence for the library

Selected Apache-2.0. It protects Trademarks and demands to state changes made