is the first time user experience too mysterious?

I asked my team to add license_finder to a gradle project and it was a rocky start. Turns out the problem was mostly #222. With the gradle discovery broken, the feedback from license_finder was misleadingly happy -- a few dots then exit 0. If they were adding license_finder to the job without somebody around (me) who knows how the gem normally behaves, there wouldn't have been any way for them to know something was wrong.
I wonder if the default output should be more verbose, to make it more obvious when something is totally broken, and to set user expectations a bit better.
discovering package managers...
found gradle
found npm
discovering dependencies...
found 0 dependencies

@LukeWinikates this feels like a vote to fix #222, would you mind if I closed this?

It's not a duplicate of #222. I'm saying that the behavior of having effectively zero output if everything seems to go well makes the gem hard to use, and makes it hard to tell if something surprising has happened (like gradle not being discovered).
IOW, #222 is obviously a bug, but is it also a usability bug that #222 is effectively undiscoverable? Should the tool give more feedback about what it's doing, so that debugging is easier?
Package manager discovery is kind of magical but there's not a good way to sniff out whether the discovery is working or not.

Looks like it would be pretty easy to have
LicenseFinder::CLI::Main#action_items print a message when
license_finder.acknowledged.empty? It could also return a non-zero exit
code, though that may be incorrect because it really is possible to have no
dependencies. Maybe a PR would clarify the scope and utility of the change.
On Mon, Jul 11, 2016 at 10:40 AM Luke Winikates<EMAIL_ADDRESS>wrote:

It's not a duplicate of #222
https://github.com/pivotal/LicenseFinder/issues/222. I'm saying that
the behavior of having effectively zero output if everything seems to
go well makes the gem hard to use, and makes it hard to tell if something
surprising has happened (like gradle not being discovered).
IOW, #222 https://github.com/pivotal/LicenseFinder/issues/222 is
obviously a bug, but is it also a usability bug that #222
https://github.com/pivotal/LicenseFinder/issues/222 is effectively
undiscoverable? Should the tool give more feedback about what it's doing,
so that debugging is easier?
Package manager discovery is kind of magical but there's not a good way to
sniff out whether the discovery is working or not.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pivotal/LicenseFinder/issues/235#issuecomment-231808045,
or mute the thread
https://github.com/notifications/unsubscribe/AAAadl4pOTFi1uNsZHVWSAUZdaIegdWkks5qUn_5gaJpZM4JJk1P
.

There's a --debug option, but it's incompletely and inconsistently implemented. In your case, @LukeWinikates, it should tell you that gradle isn't present.
I agree that output from LF is terrible, but unfortunately we have a very limited amount of engineering time that we can put towards overhauling UX. I'll leave this open.

I wasn't aware of the debug option, and I am happy to know it exists! Although Nuget is missing from the list it prints out... 🤔
I'm interested in doing a PR. Honestly, I think my first suggestion would be to show the debug output, and possibly a count of the discovered dependencies per package manager. That would make the current output more verbose, but would make it more obvious what's happening under the hood.
I kind of want license_finder to print help text when invoked with no arguments, the way git or cf do. That would mean action_items wouldn't be the default command anymore though, and that would be a significant breaking change. So I suspect that the more verbose output for action_items would be more respectful to existing users.

I ran into a similar issue: Ran license-finder on a Golang project but did not have golang itself installed.
LF returned with no output: means no action items, right? Wrong!
A note/warning that no dependencies were found would have helped :)

How about if license_finder prints a warning when it looks like a project is using a package manager, but the prerequisites aren't installed on the current machine? E.g. if we find packages.json but no npm executable, or in @dkoper 's situation where golang itself is not installed. I haven't looked at the code in a pretty long time, but this is probably a more modest change than my proposals from July. I find the code hard to follow, but I think that the active? check on each package manager conflates "does this project use this package manager?" with "does the environment have everything I need to interrogate the dependencies managed by this package manager?", and teasing apart that distinction would be valuable.
https://github.com/pivotal/LicenseFinder/blob/master/lib/license_finder/package_manager.rb#L19
I think we LF could also have a nonzero exit status for that case without needing to call that out as a breaking change.
I'll see if I can get some time to make a PR so that I'm not all talk and no action on this subject.


[Fixed #17] Offline issues

IOException must be thrown for the outer logic to work correctly.
Otherwise, the stream will be null which leads to NPE that exits the publishing loop.
Online -> Offline -> Online works fine now

Looks good, not sure why the indentation was moved though.

Hi Stephen!
Sorry about that, I noticed that you use tabs instead of spaces when I
posted the PR.
I'll update the commit.
Best Regards,
Jim
2015-03-31 11:54 GMT+02:00 Stephen Hynes<EMAIL_ADDRESS>
Looks good, not sure why the indentation was moved though.
—
Reply to this email directly or view it on GitHub
https://github.com/logentries/le_android/pull/18#issuecomment-88019473.

Hi again,
There is a new commit with the indentation fixes.
/Jim
2015-03-31 13:07 GMT+02:00 Jim Arnell<EMAIL_ADDRESS>
Hi Stephen!
Sorry about that, I noticed that you use tabs instead of spaces when I
posted the PR.
I'll update the commit.
Best Regards,
Jim
2015-03-31 11:54 GMT+02:00 Stephen Hynes<EMAIL_ADDRESS>
Looks good, not sure why the indentation was moved though.
—
Reply to this email directly or view it on GitHub
https://github.com/logentries/le_android/pull/18#issuecomment-88019473.

Great thanks! Ill merge this in and update the jar


🚀 Feature: Forwarding user reference in service to service communication

🔖 Feature description
Forwarding user reference in service to service communication.
🎤 Context
We need access to user stored settings on service to service level on behalf of the user.
For example using user settings for personalized background scheduled data imports.
Or any other service to service call where you want to forward also user entity ref.
✌ Possible Implementation
Are there any specific best practices regarding running something on behalf of the user with service2service token?
For example which header to use?
I just skimmed the repo and was not able to identify similar occurrence.
So for now just changing (in user-settings-backend)
  /**
   * Helper method to extract the userEntityRef from the request.
   */
  const getUserEntityRef = async (req: Request): Promise<string> => {
    // throws an AuthenticationError in case the token exists but is invalid
    const identity = await options.identity.getIdentity({ request: req });
    if (!identity) {
      throw new AuthenticationError(`Missing token in 'authorization' header`);
    }

    return identity.identity.userEntityRef;
  };

to something like this
  /**
   * Helper method to extract the userEntityRef from the request.
   */
  const getUserEntityRef = async (req: Request): Promise<string> => {
    // throws an AuthenticationError in case the token exists but is invalid
    const identity = await options.identity.getIdentity({ request: req });
    if (!identity) {
      const token = getBearerTokenFromAuthorizationHeader(
        req.headers.authorization,
      );

      if (!token) {
        throw new AuthenticationError(
          `Missing token in 'authorization' header`,
        );
      }
      // check if token is valid service to service token
      const validToken = await options.tokenManager
        .authenticate(token.toString())
        .then(
          () => true,
          () => false,
        );

      if (!validToken) {
        throw new AuthenticationError(
          `Invalid token in 'authorization' header`,
        );
      }
      return req.header('user-entity-ref');
    }

I am mainly looking for confirmation or help how/where would be best to place the header constant or if name is good. So it could be made an example for other plugins for "on behalf of user" functionality.
For me it would make sense to export it from @backend/common as there is TokenManager type and ServerTokenManager located.
export const USER_ENTITY_REF_HEADER_KEY = 'user-entity-ref';
Or should we instead use some minimal construct inspired by SignInResolver to generate user token in our backend plugin and call the API with user token?
I can prepare PR with tests and updated documentation if this is approved.
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

Thank you for the suggestion! 👍
This is planned as part of the work tracked in #15999, I've added a separate item there now too and linked to this issue.
I'm a bit hesitant to move this work forward before we pick up that part of #15999 though tbh. It's pretty intertwined the token manager and changes that we would make to it. For example one refactor that could be useful now is to have the token manager take the entire req rather than just the token, allowing us to extract a header like that too. That's a high impact change though and we'd want to sync that up with any other changes we want to make as part of #15999 at the same time, so in the end I think it's best to let this one sit for a bit. Curious about any suggestions or use-cases here though to help drive design.


Fixes a bug where the "Register To Bid" button displays that IDV is required after begin verified

fixes https://artsyproduct.atlassian.net/browse/AUCT-986
We have talked about this a couple times, but the current user object is locally stored in the phone and doesn't get updated unless the user explicitly logs out and back in. As a result of this, the identity verification status stays unchanged even after the user completes the verification. This PR adds another call to /me to get fresh data about the user to displays the latest information.
We may want to iterate on the /me call in general once we merge this PR, so we could use the up-to-date data everywhere else rather than throwing it away after the sale screen is gone. Let me know what you think.
Todos

[x] Add more test coverage
[x] Get error handling right: https://github.com/artsy/eigen/pull/3206/files#diff-cc7a410bdaac96a51f5a008b854d4788L169-R200 left a comment there
[x] Fix the failing specs (they fail only locally due to snapshot mismatch, but they don't in CI) couldn't find the root cause, but might be worth looking into later.

Screenshots

Feel free to merge when ready, possibly removing that TODO comment 👍

Thanks both for reviewing :+1: merging...


how to xvfb.startSync with path to xvfb-run binary

How can create a xvfb instance specifying a target xvfb-run binary file?

This is unnecessary, Xvfb has tons of dependencies, not possible doing this.


Integrate semantic versioning

Should be done. Tested with #9 .
@lumir-mrkva  is this enough ? or there is anything else to setup ? thanks.

looks good


Update specific tiles to support undo

These are the changes needed for the other tiles to support undo.

This has been addressed in other PRs.


poetry run cli.py error on Linux

-Latest version of Poetry installed with "curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - " on Ubuntu 22.04

Cloned latest repo and ran "poetry install" - virtual environment is created and dependencies installed with 1 warning "The lock file is not up to date with the latest changes in pyproject.toml. You may be getting outdated dependencies. Run update to update them". This seems to be a Poetry issue and was fixed with command "poetry lock --no-update" to resolve dependencies.

Ran "poetry run cli.py" with the following:

`  FileNotFoundError
[Errno 2] No such file or directory: b'/home/me/.local/bin/cli.py'
at ~/Documents/anaconda3/lib/python3.9/os.py:607 in _execvpe
603│         path_list = map(fsencode, path_list)
604│     for dir in path_list:
605│         fullname = path.join(dir, file)
606│         try:
→  607│             exec_func(fullname, *argrest)
608│         except (FileNotFoundError, NotADirectoryError) as e:
609│             last_exc = e
610│         except OSError as e:
611│             last_exc = e
`
Tried copying cli.py to the /home/me/.local/bin/ directory and got "PermissionError" and same error code block. Changed permissions on cli.py and got "OSError" and same code block.
Not sure if that is a poetry issue.

It appears to be related to https://github.com/python-poetry/poetry/issues/1567.  Replacing "poetry run cli.py" with "poetry run python cli.py" seems to work.


My device has no alsa driver. How do I use AVS? Do you have such a test case?

hi ,
My device has no alsa driver. How do I use AVS? Do you have such a test case?

Hi, @dhpp
Ok, thanks.


[Bug] ImportError: cannot import name 'fake_neo' from 'neo.test.generate_datasets'

Describe the bug
After updating Neo to the latest release in Fedora, we're seeing builds failing with this error: ImportError: cannot import name 'fake_neo' from 'neo.test.generate_datasets'. I can't find fake_neo in neo.test.generate_datasets here, so maybe it was removed?
https://github.com/NeuralEnsemble/python-neo/blob/aec6832292b538c54d71622fe1a1ba6469d64687/neo/test/generate_datasets.py
Full trace:
==================================== ERRORS ====================================
_______________ ERROR collecting elephant/test/test_neo_tools.py _______________
ImportError while importing test module '/builddir/build/BUILD/elephant-0.10.0/elephant/test/test_neo_tools.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
elephant/test/test_neo_tools.py:14: in <module>
    from neo.test.generate_datasets import fake_neo, get_fake_values
E   ImportError: cannot import name 'fake_neo' from 'neo.test.generate_datasets' (/usr/lib/python3.10/site-packages/neo/test/generate_datasets.py)
_____________ ERROR collecting elephant/test/test_pandas_bridge.py _____________
ImportError while importing test module '/builddir/build/BUILD/elephant-0.10.0/elephant/test/test_pandas_bridge.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
elephant/test/test_pandas_bridge.py:18: in <module>
    from neo.test.generate_datasets import fake_neo
E   ImportError: cannot import name 'fake_neo' from 'neo.test.generate_datasets' (/usr/lib/python3.10/site-packages/neo/test/generate_datasets.py)
=============================== warnings summary ===============================
../../../../usr/lib/python3.10/site-packages/joblib/backports.py:7
  /usr/lib/python3.10/site-packages/joblib/backports.py:7: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
    from distutils.version import LooseVersion
elephant/test/test_cell_assembly_detection.py:8
  /builddir/build/BUILD/elephant-0.10.0/elephant/test/test_cell_assembly_detection.py:8: DeprecationWarning: Importing from numpy.testing.utils is deprecated since 1.15.0, import from numpy.testing instead.
    from numpy.testing.utils import assert_array_equal
elephant/parallel/__init__.py:47
  /builddir/build/BUILD/elephant-0.10.0/elephant/parallel/__init__.py:47: UserWarning: mpi4py package is missing. Please run 'pip install mpi4py' in a terminal to activate MPI features.
    warnings.warn("mpi4py package is missing. Please run 'pip install mpi4py' "
-- Docs: https://docs.pytest.org/en/stable/warnings.html
=========================== short test summary info ============================
ERROR elephant/test/test_neo_tools.py
ERROR elephant/test/test_pandas_bridge.py
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
================= 4 deselected, 3 warnings, 2 errors in 3.93s ==================

We had various problems with the fake_neo function, so it was removed and replaced with various functions you can find in https://github.com/NeuralEnsemble/python-neo/blob/master/neo/test/generate_datasets.py

Unit and ChannelIndex have also been deprecated, so they'll have to be removed from tests too.

Thanks for the report. We're currently working on the Neo 0.10 adaptation and replacing the outdated fake_neos, there are also a few subtle things outside the tests that require fixing.

Thanks very much. Please do let me know if there's any testing etc. that I can help with.


RASA Forms keeps on failing instead of validating the slot value entered by user! Action Execution Rejected

Rasa version: 1.10.3
Rasa SDK version (if used & relevant):1.10.1
Rasa X version (if used & relevant):0.28.3
Python version:3.7.4
Operating system (windows, osx, ...):MacOS Catalonia 10.15.4
Issue: I am facing the issue in forms where the form is supposed to make validation of the slot value entered by user, but instead it predicts fallback action and then action_execution_rejected .
The objective which we are trying to achieve is that, the user wants to check for the account information status, but now the user exists in multiple systems. So we have implemented buttons as part of enhancement, but that doesn't shows up in RASA X. Well that's not the main issue. The Main Issue is that when the user enters any wrong SystemName for once or twice when the form is active, instead of making validation of the slot in forms it starts giving action_execution_rejected for every input going forward.
Error (including full traceback):
^C(base) L-156183367:IRIS_PRD_BOT at20017363$ rasa run actions --actions actions -vv
2020-06-17 11:02:29 INFO     rasa_sdk.endpoint  - Starting action endpoint server...
2020-06-17 11:02:29 INFO     rasa_sdk.executor  - Registered function for 'action_reset_slot'.
2020-06-17 11:02:29 INFO     rasa_sdk.executor  - Registered function for 'action_greet_time'.
2020-06-17 11:02:29 INFO     rasa_sdk.executor  - Registered function for 'action_mailing'.
2020-06-17 11:02:29 INFO     rasa_sdk.executor  - Registered function for 'action_bye'.
2020-06-17 11:02:29 INFO     rasa_sdk.executor  - Registered function for 'action_user_accounts_info'.
2020-06-17 11:02:29 INFO     rasa_sdk.executor  - Registered function for 'action_mailing_on_denial'.
2020-06-17 11:02:29 INFO     rasa_sdk.executor  - Registered function for 'system_username_form'.
2020-06-17 11:02:29 INFO     rasa_sdk.executor  - Registered function for 'system_username_form_access_issues'.
2020-06-17 11:02:29 DEBUG    rasa_sdk.utils  - Using the default number of Sanic workers (1).
2020-06-17 11:03:04 DEBUG    rasa_sdk.executor  - Received request to run 'action_greet_time'
2020-06-17 11:03:04 DEBUG    rasa_sdk.executor  - Finished running 'action_greet_time'
2020-06-17 11:03:08 DEBUG    rasa_sdk.executor  - Received request to run 'action_user_accounts_info'
/opt/anaconda3/lib/python3.7/site-packages/rasa_sdk/executor.py:78: FutureWarning: Use of `utter_button_message` is deprecated. Use `utter_message(text=<text> , buttons=<list of buttons>)` instead.
  FutureWarning,
2020-06-17 11:03:09 DEBUG    rasa_sdk.executor  - Finished running 'action_user_accounts_info'
2020-06-17 11:03:14 DEBUG    rasa_sdk.executor  - Received request to run 'system_username_form'
2020-06-17 11:03:14 DEBUG    rasa_sdk.forms  - There is no active form
2020-06-17 11:03:14 DEBUG    rasa_sdk.forms  - Activated the form 'system_username_form'
required_slots(tracker:Tracker)
2020-06-17 11:03:14 DEBUG    rasa_sdk.forms  - No pre-filled required slots to validate.
2020-06-17 11:03:14 DEBUG    rasa_sdk.forms  - Validating user input '{'text': '/uc_account_locked', 'intent': {'name': 'uc_account_locked', 'confidence': 1.0}, 'intent_ranking': [{'name': 'uc_account_locked', 'confidence': 1.0}], 'entities': []}'
required_slots(tracker:Tracker)
2020-06-17 11:03:14 DEBUG    rasa_sdk.forms  - Validating extracted slots: {}
required_slots(tracker:Tracker)
2020-06-17 11:03:14 DEBUG    rasa_sdk.forms  - Request next slot 'e_system_we_need'
2020-06-17 11:03:14 DEBUG    rasa_sdk.executor  - Finished running 'system_username_form'
2020-06-17 11:03:17 DEBUG    rasa_sdk.executor  - Received request to run 'system_username_form'
2020-06-17 11:03:17 DEBUG    rasa_sdk.forms  - The form '{'name': 'system_username_form', 'validate': True, 'rejected': False, 'trigger_message': {'text': '/uc_account_locked', 'intent': {'name': 'uc_account_locked', 'confidence': 1.0}, 'intent_ranking': [{'name': 'uc_account_locked', 'confidence': 1.0}], 'entities': []}}' is active
2020-06-17 11:03:17 DEBUG    rasa_sdk.forms  - Validating user input '{'intent': {'name': 'uc_account_locked', 'confidence': 0.17173866927623702}, 'entities': [{'entity': 'e_system_we_need', 'start': 0, 'end': 2, 'value': 'se', 'extractor': 'DIETClassifier'}], 'intent_ranking': [{'name': 'uc_account_locked', 'confidence': 0.17173866927623702}, {'name': 'goodbye', 'confidence': 0.13644510507583602}, {'name': 'uc_global_issue', 'confidence': 0.11342133581638301}, {'name': 'greet', 'confidence': 0.107379108667373}, {'name': 'mood_unhappy', 'confidence': 0.102872863411903}, {'name': 'affirm', 'confidence': 0.09984621405601501}, {'name': 'uc_access_right_issues', 'confidence': 0.08911455422639801}, {'name': 'uc_chit_chat', 'confidence': 0.071754023432731}, {'name': 'mood_great', 'confidence': 0.061665158718824005}, {'name': 'uc_access_right_issues and intent:uc_account_locked', 'confidence': 0.045762948691844}], 'response_selector': {'faq': {'response': {'name': 'There is a Certain flow in which i have been designed. I get your username from the Slack Token and need SYSTEMNAME in order to find the latest deatils for you! The more precisely you would ask the questions, the more precisely i can asnwer your query. Below is the Disclaimer', 'confidence': 0.9999976158142091}, 'ranking': [{'name': 'There is a Certain flow in which i have been designed. I get your username from the Slack Token and need SYSTEMNAME in order to find the latest deatils for you! The more precisely you would ask the questions, the more precisely i can asnwer your query. Below is the Disclaimer', 'confidence': 0.9999976158142091, 'full_retrieval_intent': 'faq/ask_requirements'}, {'name': 'My name is IRIS. Please have a look at the below Disclaimer!', 'confidence': 1.051168396770663e-06, 'full_retrieval_intent': 'faq/ask_name'}, {'name': 'I have been made to communicate in ENGLISH only. Please have a look at the below Disclaimer!!', 'confidence': 8.397013289140887e-07, 'full_retrieval_intent': 'faq/ask_language'}, {'name': 'I am a joint operation of. Please have a look at the below Disclaimer!!', 'confidence': 4.7422722104784043e-07, 'full_retrieval_intent': 'faq/ask_developer'}, {'name': 'I can help you with Account Issues like LOCKED USER and BAD PADDWORD scenarios. Access Right Issues, like requesting for a new access and chekcing on the existing access in the systems!.Below is the Disclaimer', 'confidence': 1.2485062761413701e-08, 'full_retrieval_intent': 'faq/ask_what_can_you_do'}], 'full_retrieval_intent': 'faq/ask_requirements'}}, 'text': 'sedina'}'
required_slots(tracker:Tracker)
2020-06-17 11:03:17 DEBUG    rasa_sdk.forms  - Trying to extract requested slot 'e_system_we_need' ...
2020-06-17 11:03:17 DEBUG    rasa_sdk.forms  - Got mapping '{'type': 'from_entity', 'entity': 'e_system_we_need', 'intent': [], 'not_intent': ['uc_access_right_issues', 'uc_chit_chat', 'uc_other_questions'], 'role': None, 'group': None}'
2020-06-17 11:03:17 DEBUG    rasa_sdk.forms  - Successfully extracted 'se' for requested slot 'e_system_we_need'
2020-06-17 11:03:17 DEBUG    rasa_sdk.forms  - Validating extracted slots: {'e_system_we_need': 'se'}
required_slots(tracker:Tracker)
2020-06-17 11:03:17 DEBUG    rasa_sdk.forms  - Request next slot 'e_system_we_need'
2020-06-17 11:03:17 DEBUG    rasa_sdk.executor  - Finished running 'system_username_form'
2020-06-17 11:03:28 DEBUG    rasa_sdk.executor  - Received request to run 'system_username_form'
2020-06-17 11:03:28 DEBUG    rasa_sdk.forms  - The form '{'name': 'system_username_form', 'validate': True, 'rejected': False, 'trigger_message': {'text': '/uc_account_locked', 'intent': {'name': 'uc_account_locked', 'confidence': 1.0}, 'intent_ranking': [{'name': 'uc_account_locked', 'confidence': 1.0}], 'entities': []}}' is active
2020-06-17 11:03:28 DEBUG    rasa_sdk.forms  - Validating user input '{'intent': {'name': 'uc_access_right_issues', 'confidence': 0.210862413048744}, 'entities': [{'entity': 'e_system_we_need', 'start': 15, 'end': 21, 'value': 'SEDONA', 'extractor': 'DIETClassifier'}], 'intent_ranking': [{'name': 'uc_access_right_issues', 'confidence': 0.210862413048744}, {'name': 'affirm', 'confidence': 0.131056249141693}, {'name': 'uc_other_questions', 'confidence': 0.127590999007225}, {'name': 'goodbye', 'confidence': 0.12025873363018001}, {'name': 'uc_global_issue', 'confidence': 0.097507320344448}, {'name': 'mood_unhappy', 'confidence': 0.086410075426101}, {'name': 'greet', 'confidence': 0.078933000564575}, {'name': 'uc_access_right_issues and intent:uc_account_locked', 'confidence': 0.069741286337375}, {'name': 'deny', 'confidence': 0.038953211158514}, {'name': 'uc_account_locked', 'confidence': 0.038686741143465}], 'response_selector': {'faq': {'response': {'name': 'I can help you with Account Issues like LOCKED USER and BAD PADDWORD scenarios. Access Right Issues, like requesting for a new access and chekcing on the existing access in the systems!.Below is the Disclaimer', 'confidence': 0.950558006763458}, 'ranking': [{'name': 'I can help you with Account Issues like LOCKED USER and BAD PADDWORD scenarios. Access Right Issues, like requesting for a new access and chekcing on the existing access in the systems!.Below is the Disclaimer', 'confidence': 0.950558006763458, 'full_retrieval_intent': 'faq/ask_what_can_you_do'}, {'name': 'My name is IRIS. Please have a look at the below Disclaimer!', 'confidence': 0.018919201567769002, 'full_retrieval_intent': 'faq/ask_name'}, {'name': 'I have been made to communicate in ENGLISH only. Please have a look at the below Disclaimer!!', 'confidence': 0.014612353406846001, 'full_retrieval_intent': 'faq/ask_language'}, {'name': 'There is a Certain flow in which i have been designed. I get your username from the Slack Token and need SYSTEMNAME in order to find the latest deatils for you! The more precisely you would ask the questions, the more precisely i can asnwer your query. Below is the Disclaimer', 'confidence': 0.009513396769762001, 'full_retrieval_intent': 'faq/ask_requirements'}, {'name': 'I am a joint operation of. Please have a look at the below Disclaimer!!', 'confidence': 0.006397072225809, 'full_retrieval_intent': 'faq/ask_developer'}], 'full_retrieval_intent': 'faq/ask_what_can_you_do'}}, 'text': "oh sorry, it's SEDONA"}'
required_slots(tracker:Tracker)
2020-06-17 11:03:28 DEBUG    rasa_sdk.forms  - Trying to extract requested slot 'e_system_we_need' ...
2020-06-17 11:03:28 DEBUG    rasa_sdk.forms  - Got mapping '{'type': 'from_entity', 'entity': 'e_system_we_need', 'intent': [], 'not_intent': ['uc_access_right_issues', 'uc_chit_chat', 'uc_other_questions'], 'role': None, 'group': None}'
2020-06-17 11:03:28 DEBUG    rasa_sdk.forms  - Failed to extract requested slot 'e_system_we_need'
2020-06-17 11:03:28 ERROR    rasa_sdk.endpoint  - Failed to extract slot e_system_we_need with action system_username_form
2020-06-17 11:03:49 DEBUG    rasa_sdk.executor  - Received request to run 'system_username_form'
2020-06-17 11:03:49 DEBUG    rasa_sdk.forms  - The form '{'name': 'system_username_form', 'validate': True, 'rejected': False, 'trigger_message': {'text': '/uc_account_locked', 'intent': {'name': 'uc_account_locked', 'confidence': 1.0}, 'intent_ranking': [{'name': 'uc_account_locked', 'confidence': 1.0}], 'entities': []}}' is active
2020-06-17 11:03:49 DEBUG    rasa_sdk.forms  - Validating user input '{'intent': {'name': 'uc_global_issue', 'confidence': 0.999968290328979}, 'entities': [], 'intent_ranking': [{'name': 'uc_global_issue', 'confidence': 0.999968290328979}, {'name': 'mood_great', 'confidence': 1.1397009984648323e-05}, {'name': 'uc_chit_chat', 'confidence': 3.7660240650438932e-06}, {'name': 'bot_challenge', 'confidence': 3.102950131506077e-06}, {'name': 'goodbye', 'confidence': 2.625069782880018e-06}, {'name': 'affirm', 'confidence': 2.502144525351468e-06}, {'name': 'uc_account_password_reset', 'confidence': 2.414937398498296e-06}, {'name': 'uc_access_right_issues and intent:uc_account_locked', 'confidence': 2.141310460501699e-06}, {'name': 'uc_other_questions', 'confidence': 1.944765926964464e-06}, {'name': 'feedback', 'confidence': 1.8219136563857308e-06}], 'response_selector': {'faq': {'response': {'name': 'There is a Certain flow in which i have been designed. I get your username from the Slack Token and need SYSTEMNAME in order to find the latest deatils for you! The more precisely you would ask the questions, the more precisely i can asnwer your query. Below is the Disclaimer', 'confidence': 1.0}, 'ranking': [{'name': 'There is a Certain flow in which i have been designed. I get your username from the Slack Token and need SYSTEMNAME in order to find the latest deatils for you! The more precisely you would ask the questions, the more precisely i can asnwer your query. Below is the Disclaimer', 'confidence': 1.0, 'full_retrieval_intent': 'faq/ask_requirements'}, {'name': 'My name is IRIS. Please have a look at the below Disclaimer!', 'confidence': 1.2543512086167271e-25, 'full_retrieval_intent': 'faq/ask_name'}, {'name': 'I have been made to communicate in ENGLISH only. Please have a look at the below Disclaimer!!', 'confidence': 6.661935891269686e-26, 'full_retrieval_intent': 'faq/ask_language'}, {'name': 'I am a joint operation of. Please have a look at the below Disclaimer!!', 'confidence': 1.600243481137292e-26, 'full_retrieval_intent': 'faq/ask_developer'}, {'name': 'I can help you with Account Issues like LOCKED USER and BAD PADDWORD scenarios. Access Right Issues, like requesting for a new access and chekcing on the existing access in the systems!.Below is the Disclaimer', 'confidence': 2.415451081515984e-29, 'full_retrieval_intent': 'faq/ask_what_can_you_do'}], 'full_retrieval_intent': 'faq/ask_requirements'}}, 'text': 'I need some help'}'
required_slots(tracker:Tracker)
2020-06-17 11:03:49 DEBUG    rasa_sdk.forms  - Trying to extract requested slot 'e_system_we_need' ...
2020-06-17 11:03:49 DEBUG    rasa_sdk.forms  - Got mapping '{'type': 'from_entity', 'entity': 'e_system_we_need', 'intent': [], 'not_intent': ['uc_access_right_issues', 'uc_chit_chat', 'uc_other_questions'], 'role': None, 'group': None}'
2020-06-17 11:03:49 DEBUG    rasa_sdk.forms  - Failed to extract requested slot 'e_system_we_need'
2020-06-17 11:03:49 ERROR    rasa_sdk.endpoint  - Failed to extract slot e_system_we_need with action system_username_form
2020-06-17 11:03:49 DEBUG    rasa_sdk.executor  - Received request to run 'action_user_accounts_info'
2020-06-17 11:03:50 DEBUG    rasa_sdk.executor  - Finished running 'action_user_accounts_info'
2020-06-17 11:03:52 DEBUG    rasa_sdk.executor  - Received request to run 'system_username_form'
2020-06-17 11:03:52 DEBUG    rasa_sdk.forms  - The form '{'name': 'system_username_form', 'validate': True, 'rejected': True, 'trigger_message': {'text': '/uc_account_locked', 'intent': {'name': 'uc_account_locked', 'confidence': 1.0}, 'intent_ranking': [{'name': 'uc_account_locked', 'confidence': 1.0}], 'entities': []}}' is active
2020-06-17 11:03:52 DEBUG    rasa_sdk.forms  - Validating user input '{'text': '/uc_account_locked', 'intent': {'name': 'uc_account_locked', 'confidence': 1.0}, 'intent_ranking': [{'name': 'uc_account_locked', 'confidence': 1.0}], 'entities': []}'
required_slots(tracker:Tracker)
2020-06-17 11:03:52 DEBUG    rasa_sdk.forms  - Trying to extract requested slot 'e_system_we_need' ...
2020-06-17 11:03:52 DEBUG    rasa_sdk.forms  - Got mapping '{'type': 'from_entity', 'entity': 'e_system_we_need', 'intent': [], 'not_intent': ['uc_access_right_issues', 'uc_chit_chat', 'uc_other_questions'], 'role': None, 'group': None}'
2020-06-17 11:03:52 DEBUG    rasa_sdk.forms  - Failed to extract requested slot 'e_system_we_need'
2020-06-17 11:03:52 ERROR    rasa_sdk.endpoint  - Failed to extract slot e_system_we_need with action system_username_form

Command or request that led to error:
This is the log form the Terminal running RASA X
Starting Rasa X in local mode... 🚀

The server is running at http://localhost:5002/login?username=me&password=UluC9xICwnan

WARNING:rasax.community.services.event_consumers.event_consumer:Saving event failed due to an 'IntegrityError'. This means that the event is already stored in the database. The event data was '{"sender_id": "bf1bdf2b00f746829d35a63faa688955", "event": "bot", "timestamp":<PHONE_NUMBER>.052106, "text": "System where you might need help due to BAD PASSWORD Events -> SEDONA MEGADEW", "data": {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, "metadata": {}}'. (sqlite3.IntegrityError) UNIQUE constraint failed: conversation_event.conversation_id, conversation_event.timestamp, conversation_event.type_name
[SQL: INSERT INTO conversation_event (conversation_id, type_name, timestamp, intent_name, action_name, slot_name, slot_value, policy, is_flagged, data, evaluation, rasa_environment) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]
[parameters: ('bf1bdf2b00f746829d35a63faa688955', 'bot',<PHONE_NUMBER>.052106, None, None, None, None, None, 0, '{"sender_id": "bf1bdf2b00f746829d35a63faa688955", "event": "bot", "timestamp":<PHONE_NUMBER>.052106, "text": "System where you might need help due to BA ... (23 characters truncated) ... DONA MEGADEW", "data": {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, "metadata": {}}', None, 'production')]
(Background on this error at: http://sqlalche.me/e/gkpj)
2020-06-17 11:03:28 ERROR    rasa.core.actions.action  - Failed to extract slot e_system_we_need with action system_username_form
2020-06-17 11:03:49 ERROR    rasa.core.actions.action  - Failed to extract slot e_system_we_need with action system_username_form
2020-06-17 11:03:52 ERROR    rasa.core.actions.action  - Failed to extract slot e_system_we_need with action system_username_form

Content of configuration file (config.yml) (if relevant):
# Configuration for Rasa NLU.
# https://rasa.com/docs/rasa/nlu/components/
language: en
pipeline:
#  - name: WhitespaceTokenizer
#  - name: RegexFeaturizer
#  - name: LexicalSyntacticFeaturizer
#  - name: CountVectorsFeaturizer
  - name: HFTransformersNLP
    model_weights: "bert-base-uncased"
    model_name: "bert"
  - name: LanguageModelTokenizer
  - name: LanguageModelFeaturizer
  - name: CountVectorsFeaturizer
    analyzer: "word"
    min_ngram: 1
    max_ngram: 4
  - name: DIETClassifier
    epochs: 300
  - name: EntitySynonymMapper
  - name: ResponseSelector
    retrieval_intent: faq
    epochs: 100

# Configuration for Rasa Core.
# https://rasa.com/docs/rasa/core/policies/
policies:
  - name: TEDPolicy
    max_history: 5
    epochs: 100
  - name: FallbackPolicy
    nlu_threshold: 0.4
    core_threshold: 0.3
    fallback_action_name: "action_default_fallback"
  - name: MemoizationPolicy
    max_history: 5
  - name: FormPolicy
  - name: MappingPolicy

Content of domain file (domain.yml) (if relevant):
session_config:
  session_expiration_time: 60
  carry_over_slots_to_new_session: true
intents:
- uc_global_issue
- feedback
- greet
- uc_access_right_issues
- goodbye
- uc_account_locked
- faq
- affirm
- uc_other_questions
- mood_great
- deny
- mood_unhappy
- bot_challenge
- uc_chit_chat
- uc_account_password_reset
- tell_me_a_joke
- faq/ask_developer
- faq/ask_language
- faq/ask_name
- faq/ask_requirements
- faq/ask_what_can_you_do
- uc_access_right_issues and intent:uc_account_locked
entities:
- e_system_we_need
- e_system_we_need_access
slots:
  e_system_we_need:
    type: unfeaturized
    auto_fill: false
  e_system_we_need_access:
    type: unfeaturized
    auto_fill: false
  mailing_slot:
    type: text
  requested_slot:
    type: unfeaturized
responses:
  utter_account_password_response:
  - text: " You will have to change the password using below tdtoolbox link.\n https://toolbox.com\
      \ \n Go to account => Change Password => Select Environment and then reset the\
      \ password. OR Please use latest Teradata JDBC Driver. You may be using legacy\
      \ driver not compatible with."
  utter_ack_feedback:
  - text: "Thank You for your Feedback. \n Have a Nice Day"
  - text: Have a Nice Day!
  - text: Your feedback is important to us! I will keep on improving!
  utter_ask_e_system_we_need:
  - text: SystemName Please for more drill down detailing information!
    buttons:
    - payload: /uc_account_locked{"e_system_we_need":"SEDONA"}
      title: SEDONA
    - payload: /uc_account_locked{"e_system_we_need":"MEGADEW"}
      title: MEGADEW
    - payload: /uc_account_locked{"e_system_we_need":"REDWOOD"}
      title: REDWOOD
    - payload: /uc_account_locked{"e_system_we_need":"CRESCENT"}
      title: CRESCENT
    - payload: /uc_account_locked{"e_system_we_need":"BLANEY"}
      title: BLANEY
    - payload: /uc_account_locked{"e_system_we_need":"EDDIES"}
      title: EDDIES
  - text: I need SystemName for more drill down information! Like Logon Status, Event,
      Logon Source and Last Logon Time!
    buttons:
    - payload: /uc_account_locked{"e_system_we_need":"SEDONA"}
      title: SEDONA
    - payload: /uc_account_locked{"e_system_we_need":"MEGADEW"}
      title: MEGADEW
    - payload: /uc_account_locked{"e_system_we_need":"REDWOOD"}
      title: REDWOOD
    - payload: /uc_account_locked{"e_system_we_need":"CRESCENT"}
      title: CRESCENT
    - payload: /uc_account_locked{"e_system_we_need":"BLANEY"}
      title: BLANEY
    - payload: /uc_account_locked{"e_system_we_need":"EDDIES"}
      title: EDDIES
  - text: Please enter the SystemName for more detailed approach and issue detailing!
    buttons:
    - payload: /uc_account_locked{"e_system_we_need":"SEDONA"}
      title: SEDONA
    - payload: /uc_account_locked{"e_system_we_need":"MEGADEW"}
      title: MEGADEW
    - payload: /uc_account_locked{"e_system_we_need":"REDWOOD"}
      title: REDWOOD
    - payload: /uc_account_locked{"e_system_we_need":"CRESCENT"}
      title: CRESCENT
    - payload: /uc_account_locked{"e_system_we_need":"BLANEY"}
      title: BLANEY
    - payload: /uc_account_locked{"e_system_we_need":"EDDIES"}
      title: EDDIES
  utter_ask_e_system_we_need_access:
  - text: SystemName Please for more drill down detailing information!
    buttons:
    - payload: /uc_access_right_issues{"e_system_we_need_access":"SEDONA"}
      title: SEDONA
    - payload: /uc_access_right_issues{"e_system_we_need_access":"MEGADEW"}
      title: MEGADEW
    - payload: /uc_access_right_issues{"e_system_we_need_access":"REDWOOD"}
      title: REDWOOD
    - payload: /uc_access_right_issues{"e_system_we_need_access":"CRESCENT"}
      title: CRESCENT
    - payload: /uc_access_right_issues{"e_system_we_need_access":"BLANEY"}
      title: BLANEY
    - payload: /uc_access_right_issues{"e_system_we_need_access":"EDDIES"}
      title: EDDIES
  - text: I need SystemName for more drill down information! Like Logon Status, Event,
      Logon Source and Last Logon Time!
    buttons:
    - payload: /uc_access_right_issues{"e_system_we_need_access":"SEDONA"}
      title: SEDONA
    - payload: /uc_access_right_issues{"e_system_we_need_access":"MEGADEW"}
      title: MEGADEW
    - payload: /uc_access_right_issues{"e_system_we_need_access":"REDWOOD"}
      title: REDWOOD
    - payload: /uc_access_right_issues{"e_system_we_need_access":"CRESCENT"}
      title: CRESCENT
    - payload: /uc_access_right_issues{"e_system_we_need_access":"BLANEY"}
      title: BLANEY
    - payload: /uc_access_right_issues{"e_system_we_need_access":"EDDIES"}
      title: EDDIES
  - text: Please enter the SystemName for more detailed approach and issue detailing!
    buttons:
    - payload: /uc_access_right_issues{"e_system_we_need_access":"SEDONA"}
      title: SEDONA
    - payload: /uc_access_right_issues{"e_system_we_need_access":"MEGADEW"}
      title: MEGADEW
    - payload: /uc_access_right_issues{"e_system_we_need_access":"REDWOOD"}
      title: REDWOOD
    - payload: /uc_access_right_issues{"e_system_we_need_access":"CRESCENT"}
      title: CRESCENT
    - payload: /uc_access_right_issues{"e_system_we_need_access":"BLANEY"}
      title: BLANEY
    - payload: /uc_access_right_issues{"e_system_we_need_access":"EDDIES"}
      title: EDDIES
  utter_cheer_up:
  - image: https://i.imgur.com/nGF1K8f.jpg
    text: 'Here is something to cheer you up:'
  utter_default:
  - text: "I'm sorry, I couldn't comprehend that. Please rephrase your question. Or\
      \ below are the quick references of my functionalities for you convenience.\n\
      \  1) Account Related Issue(Login Issue,Password Reset issue)\n 2) Access Right\
      \ Issues(Need Access in a System,Access blocked or Denied)\n 3) SQL Related\
      \ Queries\n 4) Teradata ToolBox Related Queries\n"
  utter_did_that_help:
  - text: Did that help you?
  - text: Was I helpful?
  - text: I tried my best!. Am i upto your expectation?
  utter_disclaimer:
  - text: "----- DISCLAIMER ----- \n1) IRIS doesn't support client installation of\
      \ Software, please contact the GBI platform team\n2) For assistance with support\
      \ issues, please create a request or incident in Central Station\n3) For Interactive\
      \ User creation, please a create request in Access Manager\n4) You can Unlock\
      \ your user and review bad password attempts in TDToolBOX\n5) Password once\
      \ reset will take 30 minutes to get activated\n How can i help you..?"
  utter_dropping_mail:
  - text: Please type in your issue.We are dropping the mail to EDWDBA Team. They
      will contact you shortly..!!
  utter_give_feedback:
  - text: Please provide your FeedBack!
  - text: Your feedback is important to us!
  utter_global_response:
  - text: " Please let me know what Kind of Help you need! \nI can help you with the\
      \ Below functionalities\n 1) Account Related Issue(Login Issue,Password Reset\
      \ issue)\n 2) Access Right Issues(Need Access in a System,Access blocked or\
      \ Denied)\n 3) SQL Related Queries\n 4)Teradata ToolBox Related Queries\n"
  utter_goodbye:
  - text: Bye {name}
  - text: Bye. {name} Take care!
  - text: See you soon! {name}
  - text: adiós {name}
  - text: addio {name}
  - text: au revoir {name}
  utter_greet:
  - text: "Hey! My name is IRIS \n How you doing?"
  utter_happy:
  - text: Great, carry on!
  utter_iamabot:
  - text: I am a bot, powered by Rasa. Named as IRIS
  - text: RASA is the black Magic behind me!
  utter_quick_note:
  - text: 'One Quick FAQ:'
  utter_telling_joke:
  - text: One of Our Developer is in love with ALIA BHATT.....poor boy!!😜
  - text: I can totally keep secrets. It’s the people I tell them to who can’t.😛
  - text: When people go underwater in scary movies, I like to hold my breath and
      see if I would have survived that situation. I almost died in Finding Nemo.😅
  utter_write_mail_description:
  - text: Please let me know your issue, the same will be copied in the mail!
  utter_wrong_e_system_we_need:
  - text: Sorry there is no such system. Please provide the correct Systemname!.Systems
      i am aware are SEDONA, MEGADEW, REDWOOD, EDDIES, CRESCENT, BLANEY
  utter_wrong_e_system_we_need_access:
  - text: Sorry there is no such system. Please provide the correct Systemname!.Systems
      i am aware are SEDONA, MEGADEW, REDWOOD, EDDIES, CRESCENT, BLANEY
actions:
- action_bye
- action_greet_time
- action_mailing
- action_mailing_on_denial
- action_reset_slot
- action_user_accounts_info
- respond_faq
- utter_account_password_response
- utter_ack_feedback
- utter_ask_e_system_we_need
- utter_ask_e_system_we_need_access
- utter_cheer_up
- utter_default
- utter_did_that_help
- utter_disclaimer
- utter_dropping_mail
- utter_give_feedback
- utter_global_response
- utter_goodbye
- utter_greet
- utter_happy
- utter_iamabot
- utter_quick_note
- utter_telling_joke
- utter_write_mail_description
- utter_wrong_e_system_we_need
- utter_wrong_e_system_we_need_access
forms:
- system_username_form
- system_username_form_access_issues

One of the Story I'm using:
## interactive_story_1
* greet
    - action_greet_time
    - utter_disclaimer
* uc_global_issue
    - utter_global_response
    - action_user_accounts_info
* uc_account_locked
    - system_username_form
    - form{"name": "system_username_form"}
    - slot{"requested_slot": "e_system_we_need"}
* form: uc_account_locked{"e_system_we_need": "SEDONA"}
    - form: system_username_form
    - slot{"e_system_we_need": "SEDONA"}
    - form{"name": null}
    - slot{"requested_slot": null}
    - action_reset_slot
    - reset_slots
    - utter_did_that_help
* uc_global_issue
    - utter_global_response
    - action_user_accounts_info
* uc_access_right_issues
    - system_username_form_access_issues
    - form{"name": "system_username_form_access_issues"}
    - slot{"requested_slot": "e_system_we_need_access"}
* form: uc_access_right_issues{"e_system_we_need_access": "MEGADEW"}
    - form: system_username_form_access_issues
    - slot{"e_system_we_need_access": "MEGADEW"}
    - form{"name": null}
    - slot{"requested_slot": null}
    - action_reset_slot
    - reset_slots
    - utter_did_that_help
* feedback
    - utter_ack_feedback
* goodbye
    - action_bye

My Validation function in actions.py:
@staticmethod
   def systemname_db() -> List[Text]:
       """Database of supported DataBAseNames"""

       return [
           "megadew",
           "blaney",
           "crescent",
           "eddies",
           "sedona",
           "redwood",
       ]

   # USED FOR DOCS: do not rename without updating in docs
   def validate_e_system_we_need(
       self,
       value: Text,
       dispatcher: CollectingDispatcher,
       tracker: Tracker,
       domain: Dict[Text, Any],
   ) -> Dict[Text, Any]:
       """Validate DataBAseNames value."""

       if value.lower() in self.systemname_db():
           # validation succeeded, set the value of the "cuisine" slot to value
           return {"e_system_we_need": value}
       else:
           dispatcher.utter_message(template="utter_wrong_e_system_we_need")
           # validation failed, set this slot to None, meaning the
           # user will be asked for the slot again
           return {"e_system_we_need": None}

Also, attaching the screenshot from RASA X.
The purpose is somewhat same ass the Restaurant Bot where the bot makes a check if the cuisine is present in DB or not, if not, then prompt again for entering the correct cuisine.
In my case action_execution_rejected is continuously the next action followed by the fallback action.
Can anyone clarify if this is indeed a bug or am I doing something wrong?

Thanks for the issue, @dakshvar22 will get back to you about it soon!
You may find help in the docs and the forum, too 🤗

Any Solution to this?

@mishra-atul5001 Can you try with the latest version 1.10.11 and see if the issue persists?

@dakshvar22
There isn't any final solution to this it seems. We tried to catch the execution by mentioning the intents on which the actions should not do anything.
This made the bot stable for 80%.


Galai not cleaning the downloaded zip files

I just installed galai and started downloading the standard version on notebook.
Since each update of the progress bar creates a new line of log instead of refreshing the progress bar I stopped the download to start again on terminal.
The problem is when I try to download the model again it begins to download the second file... And if you interrupt again and try again to download the model it will crash with this error message: PytorchStreamReader failed reading zip archive: failed finding central directory
I am pretty sure the zip file it downloads are not cleared so it tries to unpack incomplete files and crashes because of that
Is there any way to delete the model files to download again?

I also stopped downloading one model file and got the same error when trying to re-download it. A manual way to delete the zip file would seem reasonable. How can I find the saving path ?

I've been exploring this as well. My local files are in ~/.cache/galactica/. The comment in the code seems to be off. It indicates ~/.cache/galai/ but the code shows ~/.cache/galactica/ - https://github.com/paperswithcode/galai/blob/bef775fc8bccdd172e0bef69e77023de6cb35c5f/galai/utils.py#L121

Hi all, in galai 1.1.0 we switched to transformers for checkpoints management. See the details at https://huggingface.co/docs/transformers/installation#cache-setup for information about where the cache is located and how to change it. Please reopen if you still have any issues.


Begin to revisit tokenization

This PR begins to revisit tokenization:

Further implement deserialization of the tokenization tests, and add unit tests
Drop the TokenTrait trait, TokenType enum, and type_of method, as matches! and match can be used here instead
Simplify assertions in pass/fail CI tests by using partial equality to compare tokens
Remove stutter from the names of token variants

@emwalker Thanks for the PR.. I like these small PR's that does a single thing. Makes it a lot easier to check :-=)


Add support for GitHub security severity levels

As per https://github.blog/changelog/2021-07-19-codeql-code-scanning-new-severity-levels-for-security-alerts/#about-security-severity-levels, rules in the SARIF output will now have security-severity set as a property enabling critical/high/medium/low to be displayed in the GitHub UI:

I will close this PR without merging as I had to add a few more things. Thanks @ctcampbell for flagging this and adding the code!
A new version of this action will be published very soon.


bin/backup_contacts.php dying

So this happens:
lhl@snowball2 flickr $ php /www/flickr/bin/backup_contacts.php

array (
  'ok' => 0,
  'error' => 'The Flickr API did not return any contacts',
)

Will debug and see if I can pinpoint at least where it's dying...

Note to self: At a minimum this code should check that the Flickr API hasn't failed before purging contacts.

This is sort of half-fixed, now. Specifically I've added retry code:
https://github.com/straup/parallel-flickr/commit/f581c75484a8cc668f3f5a24c031fa3bbce29be4
I'll leave this ticket open until I tweak the code to buffer all new contacts (read: retries) before purging anything that's already in the database.

Fixed: https://github.com/straup/parallel-flickr/commit/c9824f5e1ee2a710ea0930e5ae4fe525b9b8b1d1

Been dealing w/ work issues so haven't gotten a chance to take much of a look. Did a merge, here are the results:
backup contacts for lhl
page: 1/ tries: 1/10 ok: 1
page: 1/4 tries: 1/10 ok: 0
page: 1/4 tries: 2/10 ok: 0
page: 1/4 tries: 3/10 ok: 0
page: 1/4 tries: 4/10 ok: 0
page: 1/4 tries: 5/10 ok: 0
page: 1/4 tries: 6/10 ok: 0
page: 1/4 tries: 7/10 ok: 0
page: 1/4 tries: 8/10 ok: 0
page: 1/4 tries: 9/10 ok: 0
page: 1/4 tries: 10/10 ok: 0
array (
  'ok' => 0,
  'error' => 'Unable to fetch contacts: The Flickr API did not return any contacts',
)

Grrrrnnnn.
The good news is that it appears as though the retry code is working. This makes it seems like there's still a bug though:
page: 1/ tries: 1/10 ok: 1
page: 1/4 tries: 1/10 ok: 0
That second line should say "page: 2/4"
The bad news is that the Flickr API continues to wig out. It's almost as though contacts are being stored in Vespa or something...

I'm 95% that getContacts is hitting the DBs.

Also, just to be clear: This is no longer purging all the contacts for a user before re-fetching them via the API.
If there is a "fatal" error re-fetching contacts it just means that the local database is not updated. All previous contacts are left untouched.

I'm seeing this intermittently as well (as of c9824f5e1ee2a710ea0930e5ae4fe525b9b8b1d1).


Feature df map driver customize annotations

@davidiad : hi dave. i cant merge this in, tested in branch and it wont compile as its missing pickup_icon.pdf. can you sort , thanks


SLO does not work with Python3

SLO does not function properly. Probably only affects Python3.
Symptoms:
calling OneLogin_Saml2_Auth.process_slo() leads to:

in the log: invalid_logout_request
defusedxml writes into stdout: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.

Cause
logout_request.py:115:
self.__logout_request = compat.to_string(logout_request)

Afterwards python3-saml in OneLogin_Saml2_XML.to_etree() calls defusedxml.lxml.fromstring with text argument containing a str instance (unicode in Python3), which causes the error.
Notes:
defusedxml.lxml.fromstring is actually called twice during OneLogin_Saml2_Auth.process_slo().

First time while extracting ID of the request as far as I can remember. It passes correct arguments to defusedxml.lxml.fromstring.
Second time while validating the request. This time with invalid arguments which causes defusedxml to fail.

Possible solution:
Replacing in logout_request.py:115
self.__logout_request = compat.to_string(logout_request)

with
self.__logout_request = logout_request

solves the problem and makes SLO to function.
I am however not sure why compat.to_string() was used and which side effects removing it might cause.
Versions
python3-saml==1.3.0
defusedxml==0.5.0
lxml==4.1.1
xmlsec==1.3.3

That was already reported at #60 , can you verify that #77 solves the issue for you?

@pitbulk Sorry, maybe I should have searched better and updated #60 instead :frowning:
Unfortunately #77 does not solve the issue. Head of  lxml_valuerror behaves exactly the same as the installed from pip version.
While checking #60 I found an important difference: I use an IdP-initiated SLO.
Unlike #60, I don't experience any problems with __logout_response. I don't even get an exception! :anger: Instead after the following:
response_url = auth.process_slo(delete_session_cb=logout_callback)
errors.extend(auth.get_errors())

now errors contain ['invalid_logout_request'] and response_url is None
When the ValueError is being raised (caught and print()-ed in logout_request.py:343) the relevant part of the stack looks like the following:
File "./_/_/views.py", line 178, in get\n    response_url = auth.process_slo(delete_session_cb=logout_callback)
File "./python3-saml/src/onelogin/saml2/auth.py", line 160, in process_slo\n    logout_request = OneLogin_Saml2_Logout_Request(self.__settings, get_data[\\'SAMLRequest\\'])
File "./python3-saml/src/onelogin/saml2/logout_request.py", line 113, in __init__\n    self.id = self.get_id(logout_request)
File "./python3-saml/src/onelogin/saml2/logout_request.py", line 151, in get_id\n    elem = OneLogin_Saml2_XML.to_etree(request)
File "./python3-saml/src/onelogin/saml2/xml_utils.py", line 66, in to_etree\n    return OneLogin_Saml2_XML._parse_etree(xml)
File "./.venv/lib/python3.5/site-packages/defusedxml/lxml.py", line 143, in fromstring\n    rootelement = _etree.fromstring(text, parser, base_url=base_url)

Please let me know if I can provide any additional info that can help.


Does this plan on getting updated?

This is not working for me and im just wondering if you plan to bring this forward to work with latest versions of betterdiscord?

I'm not even sure myself.  Furthermore, there are other plugins out there that provide the same/similar functionality to this one so it's not like it's really filling a gap in the BD plugin scene or anything.

Archived: Discord is finally adding this feature


Handle missing size when grabbing config

Fallback for when a custom actor size is added to the config, actors are assigned the custom size, then the custom config is not loaded. In these instances, it will fallback to the medium actor size data. This could alternatively be a placeholder, such as 'Unassigned' as the size isn't actually reassigned when the sheet is opened. Reloading the custom config is likely preferable to having every actor with a custom size actually reverted to medium, but this at least avoids a breaking error when opening the sheet.

Changed to an Unassigned label as the previous commit didn't account for removal of core actor sizes, such as Medium.

Needs a rebase before merge, if you don't mind.

@Larkinabout Missed this PR and fixed the bug separately myself here: https://github.com/foundryvtt/dnd5e/commit/fcfcbdb97127933a39b8a2e9988f710f27e1da9b


Place for discussions

Hello @mrkent, very nice article. The idea of open-sourced government is very actual today, but for some reason not very popular. This topic is huge and at least consists from some sub-topics: collective decision making (like https://www.loomio.org), project tracking (like JIRA), government services (https://en.wikipedia.org/wiki/E-government) , also context-aware system that integrates three previous topics would be essential. Each of these topics is a serious project on its own, so I think some platform discussions would be needed (loomio?), or do you think Github issues and wiki is good enough?
Regarding concurrent governments: how would they share resources if their "members" are located in the same territory?

@lextiz Sorry for late reply.

Each of these topics is a serious project on its own, so I think some platform discussions would be needed (loomio?), or do you think Github issues and wiki is good enough?

I don't know much about loomio, but my concept of an open source government is very abstract. Each "government" is more or less a dictatorship, controlled by the maintainers of the repository. Changes can be made through pull requests, but it's up to the maintainers whether to include them. If the population wants the new change, and maintainers refuse to include, they can simply subscribe to the fork. Now the person maintaining the new fork is the dictator. A core belief in my theory is based on Voice vs Exit. The ease of exit gives power to voice.

Regarding concurrent governments: how would they share resources if their "members" are located in the same territory?

I don't claim I know how to manage such a government, merely that with this scheme, those that know can compete to create the best governments.
How did you find this BTW?

I have found this repo while searching github for something like "opensource government" striving to find opensource projects that develop system for society self ruling and collaborative decisions making to contribute to. I did not get from the beginning that the purpose of this repo is to focus on the theory.

@lextiz Thanks. Happy to hear your thoughts/feedback on the topic.


[CYPRESS] : Add Bambora APAC Connector

Description:
This task involves adding a connector for the Bambora APAC functionality in Cypress.
For reference, similar connectors have already been implemented in the repository. You can refer to the existing connectors here:
https://github.com/juspay/hyperswitch/tree/main/cypress-tests/cypress/e2e/PaymentUtils
Pre-requisites:

Cypress is the testing framework that Hyperswitch is using to run automated tests. Having good grip on Javascript to work on Cypress is a must.
Please follow the README for guidelines on file structure, formatting and instructions on how to set up and run Cypress.

Steps:

Add the Bambora APAC connector .js files under the PaymentUtils directory:
PaymentUtils Directory

Add the card details and corresponding test case functions for Bambora APAC, following the format used in the Cybersource.js connector.

In the Bambora APAC connector, map the test cases and statuses properly. To do this, use the below dashboard credentials where Bambora APAC is already configured, test the flows, and then assign the correct statuses.

URL: https://integ.hyperswitch.io
Username and Password: Please drop a comment requesting credentials. The Creds are only shared on request
Test Cases:

Add test cases only for card payments.

Postman Collection for reference
https://www.postman.com/altimetry-participant-63653904/hyperswitch
Note:

Test cases for other payment methods should be skipped.
The test cases are already written under PaymentTest:
PaymentTest Directory.Just map the test cases and their statuses in the config.js file.

Submission Process:

Ask the maintainers for assignment of the issue, you can request for assignment by commenting on the issue itself.
Once assigned, submit a pull request (PR).
Maintainers will review and provide feedback, if any.
Maintainers can unassign issues due to inactivity, read more here.

Refer here for Terms and conditions for the contest.

@gorakhnathy7 @Gnanasundari24 I would like to take this up. Kindly assign the issue to me.

This issue is assigned to you @hgupta12,
happy coding!

Hey @hgupta12 ,
Kindly let us know, if you're still working on the issue? If you have any questions or need assistance, feel free to reach out in the community.


Installing a certificate

Hi,
I've a Synology NAS with my Let's Encrypt certificate perfectly working on it for webs which are not under docker but I'm trying to install  it for your docker app and connect to Handbrake via HTTPS. I'm terribly lost. Could you tell me step by step how I must to do to install it? Thanks in advance!

At the moment I access to Handbrake cointainer web interface directly. Thanks.

Dis you see https://github.com/jlesage/docker-handbrake/blob/master/README.md#security?
Basically you need to enable the secure connection via the proper environment variable and then copy your certificate to the correct location.
Tell me which step you need more details.

Yes, I saw it. But I'd need more accurate information about how to copy the certifcate to the correct location.

To which folder on the Synology did you map /config?  Suppose it is mapped to /volume1/docker/appdata/handbrake.  You need to copy your certificate there:

/volume1/docker/appdata/handbrake/certs/web-privkey.pem
/volume1/docker/appdata/handbrake/certs/web-fullchain.pem

I'm sorry but I don't know what you are referring to with /config mapping. Where is this mapping? In my "Environment" tab are set XDG_DATA_HOME as /config/xdg/data; XDG_CONFIG_HOME as /config/xdg/config and XDG_CACHE_HOME as /config/xdg/cache. Are these? I also tried to find a handbrake directory at whole disks and I can't find no one.

On Synology I think it's called shared folders.
Basically, with docker containers, you can "map" a folder inside the container to a folder on the host (in your case the Synology).
Container folders that can be mapped are defined here: https://github.com/jlesage/docker-handbrake#data-volumes

Great! I haven't mapped paths on tab "Volumes"!
Thanks a lot!

Hi,
Certificates are right installed. I can connect via web without problem. But I'm trying to connect via VNC with RealVNC and I find it impossible. The vnc certificate that I'm using is the one that the program creates automatically. I tried to bundle my web certificates but the program crashes. What  am I doing wrong? Thanks in advance!

For VNC, you need to use a client that supports VNC over SSL.  I don't think RealVNC support this.  SSVNC (http://www.karlrunge.com/x11vnc/ssvnc.html) has the proper support.  However, while the Linux version works well, it seems that the Windows version has a bug and doesn't work.

Closing this issue.  Please re-open if needed.


hyperdrive: Default to port 5432 if not specified

And also remove an unneeded protocol !== "" check while I'm here.
What this PR solves / how to test:
Avoids the need to add a port to your Hyperdrive connection string in the common case that it's running at the default port for postgres databases. This is particularly helpful for users of Neon, which doesn't include the port in their connection strings.
Note that if port 5432 is incorrect, the Hyperdrive config service will return an error because it will be unable to verify connectivity to the database.
Author has included the following, where applicable:

[x] Tests
[x] Changeset (Changeset guidelines)

@OilyLime @elithrar

🙏

Looks like the checks are all happy now :)
And I've already confirmed (both via the test and manually trying it out) that the new logic works correctly, so this should be fully ready for review.

Ok, @RamIdeas , the tests have been updated. The failing CI checks ("Add PR to project" and "Quarantined tests") appear to be unrelated to this change and happening on other PRs as well.


When opening a new file using neovim-fuzzy the cwd is changed for the current tab to the git root

This happens when fuzzy_opencmd is set to tabe (or tab drop or any other command that opens the result in a new tab).
e.g. say I am in a project called project inside subdirectory subdir which contains two files, file1 and file2.
When I open the first file with neovim-fuzzy, say file1 then the file1 tab corrrectly has project/subdir as its cwd. Now if I open a second file, say file2 then the new tab with file2 in it has the correct cwd of project/subdir but the file1 tab now has a cwd of project.
Then if I were to open a third file with neovim-fuzzy, while looking at the file2 tab, now that tab will also have a cwd of the project root. It always sets the cwd of the "current" tab to the project root.

BTW tested this with neovim-fuzzy as the only plugin enabled, and it still happened.

Here is my workaround:
fun s:FuzzyOpener(val)
  let prev_tabpage = tabpagenr()
  exe "tabe" a:val
  let next_tabpage = tabpagenr()
  exe "tabnext" prev_tabpage
  lcd -
  let dir = getcwd()
  exe "tabnext" next_tabpage
  exe "lcd" dir
  " neovim-fuzzy will execute "lcd -" so ensure the previous directory is the
  " one we want
  lcd /tmp
endfun

command! -nargs=1 FuzzyOpener call s:FuzzyOpener(<q-args>)

let g:fuzzy_opencmd = 'FuzzyOpener'

It is dirty but it works.

The correct fix would be to change this bit of code: https://github.com/cloudhead/neovim-fuzzy/blob/53383395befafce802c902c21b54847074454491/plugin/neovim-fuzzy.vim#L221
It would have to store the current tab before running the open command, and then check if the tab has changed. When it has, then it should switch to the previous tab and run lcd to the directory of the new tab, before switching back to the new tab.

Or alternatively it could just not lcd at all and instead resolve the path to open with respect to self.root.


sync: blocks are not synced when tortoise verifies the layer

Description
When layer is verfied after the sync tortoise doesn't always receive all blocks that were produced in that layer. For example compare the amount of blocks that were received by the miner-5 that was participating from the genesis and miner-90 that was started after a day - http://<IP_ADDRESS>:5601/goto/b9d7302d425f9924600f861996433b4c. The miner got stuck at layer 322, because received 324 and 325 didn't have enough weight for 323 to pass the threshold.
Somehow we managed to sync those blocks later, i downloaded state from miner-90 and all necessary blocks exist in the database. So if i manually trigger re-run starting from 324 layer it works as expected. Note that by manually i mean downloading state and executing HandleIncomingLayer for each new layer.
This problem can't be fixed by self-healing since we do not re-index the internal tortoise data structure. This issue would be fixed by re-run https://github.com/spacemeshos/go-spacemesh/issues/2846 but i don't know if it works as expected.

According to the timing and logs this error occurred exactly when connections were flaky. Based on the error handling in layers poller we need at least one successful response, probably we got a response from some not-fully synced peer and synced only known blocks.
We shouldn't ask for the layer is that layer is not yet processed, see https://github.com/spacemeshos/go-spacemesh/issues/2805 for options.
Also, we can error if the processed layer is lower than the requested layer.

This problem can't be fixed by self-healing since we do not re-index the internal tortoise data structure. This issue would be fixed by re-run #2846 but i don't know if it works as expected.

Right. To be clear, self-healing cannot fix a situation where block data is missing entirely. If the data arrive late, however, then healing should work.


Bad Request Exception - Attempting to set a bogus version

I am getting a Bad Request Exception - Attempting to set a bogus version when I try to publish an article to Adobe. Everything else seems to be working fine. Where there a file we need to change a version on?

This appears to be an issue where something gets updated within the AEM portal so the information coming from wordpress is out of date.

@darrinjillson we've just released a major version of the plugin. This new version handles article versions better. Install the update and see if this helps resolve the error.


#136 implement video source to loop video file

Not implemented "Make It possible to configure a random loss rate, the parameter which makes the adapter randomly drop certain frames (needed to stress the module)."

@dorgun Now it's implemented.


Air quality index

See https://www.airnow.gov/?city=Seattle&state=WA&country=USA

The AQI seems specific to the US (defined by EPA). EU has a different standard.  We could say that in the description that what is meant is the EPA one.
Also it's in principle possible for AQI to be fractional, so maybe use u16.16.
The EPA standard says you should average stuff over 1h, so not sure you'll get 1s update time.
See https://en.wikipedia.org/wiki/Air_quality_index#United_States

I've added a min/max register to capture the various ranges defined for each countries. I don't think we want a different service for each range.

Then maybe you should have a register that says which kind of measurement it is (and potentially change it). I don't think there's an easy conversion between different AQIs, but it seems easy to calculate different AQIs from the same PM2.5 etc data.


Adding ability for var to assign to attributes?

I mean something like this:
<a var:href="url"></a>

so that the url variable gets assigned to the href attribute.

Yeah, it would be a good idea💡, I'm busy with my other projects, but I'll try to do it. You can submit a PR if you want this feature more quickly.

Hello, it's been a long time... 😅. Please give me all attributes you were thinking about, inorder to put them in DisplayJS.


Versions of Raspberry PI OS tested on

Question:
Has this been used/tested on Bullseye or Buster based Raspberry PI OS ?
Thanks!

I haven't tested on those. Feel free to report back if you do 😃


Migrations/001_initial_database_creation.php - create_database with up()

At this stage it doesn't actually create the database schema, it's just commented out.
The functionality I want is for it to create a schema for the current server environment.  E.g. create ebsv2_development if we're in the development server environment.  This is configured before installation of the software.

fixes #1 - Actually this is silly.  The schema should be set up on installation of the software before the migrations are run in a separate process or manually.
Also, in the down() migration, we can't drop the schema because the table "migration" is updated at the end of the down() method and will throw an error because it no longer exists.  The schema should be dropped after the last down migration has taken place and the migration.php file cleaned up.


Enhancement Request: Check size of proteins prior to pipeline run creation

Rather than providing general guidance (screenshot below) for the need to increase memory/processing power for larger proteins, it would be nice if there was a step in the notebook that would analyze the .fasta file prior to kicking off the pipeline run.  This step could either throw an error if the memory/processing settings are likely too small, and/or provide recommended memory/processing settings.
New users will often hit errors when first processing larger proteins, and they are less familiar of where to find the logs, and when they do find them the errors can be a bit cryptic (screenshot below).
Existing General Guidance:

Common Error Message:

Suggestion accepted.
In order to implement this "recommendation engine" we will need to run several benchmarks  to determine the optimal hardware configuration.
I will start running these benchmarks next week and let you know as soon as we finish.
Thanks for the suggestions.


Pressing fullscreen before video loaded hides all controls permanently

I've noticed that when I'm first loading a page, when the full-screen button is pressed before the video is loaded in, the frame will expand to black and the controls get hidden. If you go back to the normal frame mode, the controls are still missing and the page requires a refresh to get them back.

I'll check this soon. Thanks for reporting it

Do you have a fiddle where I can see this issue please?

Will provide tomorrow.

Closing issue since no update has been posted in a week. If you like this to be reopened, please let us know


[mle] no delay between MGMT SET requests

Thread 1.1 Certification test 9.2.9 is failing for the Leader DUT on step 24 when an OpenThread based reference device is being used as Router_1 in the topology.
This is due to the fact that, when processing Child Id Response, Router_1 notices the Leader has both Active and Pending Datasets outdated and sends (DatasetManager::HandleDatasetUpdated()) MGMT_ACTIVE_SET.req and MGMT_PENDING_SET.req almost without delay (10-12 ms), leaving no room for the Leader to send MGMT_ACTIVE_SET.rsp, MGMT_PENDING_SET.rsp, and MGMT_DATASET_CHANGED.ntf.
https://github.com/openthread/openthread/blob/main/src/core/thread/mle.cpp#L2921-L2941
        // Active Dataset
        if (hasActiveTimestamp)
        {
            if (activeDatasetOffset > 0)
            {
                IgnoreError(aRxInfo.mMessage.Read(activeDatasetOffset, tlv));
                IgnoreError(Get<MeshCoP::ActiveDatasetManager>().Save(
                    activeTimestamp, aRxInfo.mMessage, activeDatasetOffset + sizeof(tlv), tlv.GetLength()));
            }
        }

        // Pending Dataset
        if (hasPendingTimestamp)
        {
            if (pendingDatasetOffset > 0)
            {
                IgnoreError(aRxInfo.mMessage.Read(pendingDatasetOffset, tlv));
                IgnoreError(Get<MeshCoP::PendingDatasetManager>().Save(
                    pendingTimestamp, aRxInfo.mMessage, pendingDatasetOffset + sizeof(tlv), tlv.GetLength()));
            }
        }

The test is passing when using Kirale device as Router_1 since it allows for around 200 ms between both MGMT SET requests.
Similar delay should be implemented in OpenThread as well.

The issue is already fixed in https://github.com/openthread/openthread/pull/6813
But the 1.1 golden device is using 202008 reference release, which does not have this fix.

Creating a new OT 1.1 reference release using latest OpenThread code can fix this issue, but it may have unexpected impact on the Thread 1.1 certification.
I would suggest to create a branch based on 202008 reference release, and fix the issue on that branch.
Thoughts? @edmont @librasungirl @jwhui

I would suggest to create a branch based on 202008 reference release, and fix the issue on that branch.

SGTM.

@jwhui any thoughts about @simonlingoogle's proposition?


date format exception

When sending mail or parsing webhook I get the following exception:-
The nano seconds in the timestamp are causing an issue.
com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of java.util.Date from String value ("2018-03-14T19:11:00.5478435-04:00"): not a valid representation (error: Failed to parse Date value '2018-03-14T19:11:00.5478435-04:00': Can not parse date "2018-03-14T19:11:00.5478435-0400": while it seems to fit format 'yyyy-MM-dd'T'HH:mm:ss.SSSZ', parsing fails (leniency? null))

Hi
this happens with older versions of Jackson library. Please update it to 2.9.4 or newer and it should work ok.
Let me know how it goes


Seaice windstress 001

Please check that the PR fulfils our requirements

[x] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

What changes does this PR introduce?
Cleaner pkg/seaice code
What is the current behaviour?
A hack (CPP option: SEAICE_EXCLUDE_WIND_STRESS ) was
added in June 2016 to allow to compile pkg/dic/dic_fields_update.F
What is the new behaviour
Wind-stress over seaice is moved out of SEAICE.h (hack no longer needed)
Does this PR introduce a breaking change?
none
Other information:

Merging with one vote since from trusted source.

@christophernhill did you mean to squash merge this?

@edoddridge it is a monolithic change - so yes squash merge was deliberate.

Cool.


Godot 4 Beta 15 sampler2D parameters are not copied when using 'ShaderMaterial.duplicate()'

Godot version
4.0 beta 15
System information
Windows 11
Issue description
sampler2D parameters are lost when using the following function, other ones like float is copied correctly:
ShaderMaterial.duplicate()

With the Minimal reproduction project:
Beta 14 output:
shader_float: 1
shader_texture: <ImageTexture#-9223372009390472792>
clone_float: 1
clone_texture: <ImageTexture#-9223372009390472792>

Beta 15/16 output:
shader_float: 1
shader_texture: <ImageTexture#-9223372010346773480>
clone_float: 1
clone_texture: <null>

Steps to reproduce
Run the sample project in Beta14 to see correct result and Beta15/16 for wrong result.
Minimal reproduction project
shader_duplicate.zip

It's working correctly in RC3, didn't find a direct PR to this but should be fixed by #73552.


[Model Update]: Request for Quotation v2.0.0

Resiliency Domain / Manufacturing as a Service
Description

Standardization of Request for Quotation exclusively for individual parts.
Result: No longer a need for a detailed parts list.

Closes https://github.com/eclipse-tractusx/sldt-semantic-models/issues/486
Sample Data
{
  "rfqConfiguration": {
    "firstDeliveryDate": "2023-10-24",
    "additionalFiles": {
      "fileName": "fraesteil",
      "fileObject": {},
      "fileType": "STEP, stl, jt",
      "filePath": "digitaltwinregistry"
    },
    "cadFile": {
      "fileName": "fraesteil",
      "fileObject": {},
      "fileType": "STEP, stl, jt",
      "filePath": "digitaltwinregistry"
    },
    "additionalComments": "this is a prototype, recommendations towards design for manufacturing are highly welcome",
    "parts": {
      "generalTolerance": "ISO 2768-1 (m), Rough DIN ISO 2768 cL, Medium DIN ISO 2768 mK, Fine DIN ISO 2768 fH",
      "processes": {
        "processStepIdentifier": "heat treatment, surface treatment, surface finishing, coloring,...",
        "subProcessSteps": "coloring",
        "processProperties": {
          "value": "2.7 or black",
          "propertyName": "density or color",
          "valueType": "g/cm3 or string"
        }
      },
      "manufacturingDomain": "additive manufacturing",
      "material": {
        "materialFamily": "aluminum, steel, ...",
        "materialProperties": {
          "value": "2.7 or black",
          "propertyName": "density or color",
          "valueType": "g/cm3 or string"
        }
      },
      "partId": "Drehteil",
      "additionalRequirements": "premium quality check, standard quality check",
      "partQuantity": {
        "quantityNumber": 2.5,
        "measurementUnit": "unit:litre"
      },
      "partName": "Drehteil"
    },
    "orderQuantity": {
      "quantityNumber": 2.5,
      "measurementUnit": "unit:litre"
    },
    "lastDeliveryDate": "2023-12-24"
  },
  "rfqIdentification": {
    "rfqVersion": "1.0.0",
    "rfqName": "Drehteil",
    "rfqDateTime": "2023-10-24T14:48:54.709Z",
    "rfqSource": "https://maasportal.mendixcloud.com/",
    "rfqId": "Drehteil_02_0815"
  },
  "cxHeader": {
    "senderBpn": "BPNL7588787849VQ",
    "relatedMessageId": "d9452f24-3bf3-4134-b3eb-68858f1b2362",
    "expectedResponseBy": "2023-06-19T21:24:00+07:00",
    "context": "urn:samm:io.catenax.<ASPECT-MODEL-NAME>:1.x.x",
    "messageId": "3b4edc05-e214-47a1-b0c2-1d831cdd9ba9",
    "receiverBpn": "BPNL6666787765VQ",
    "sentDateTime": "2023-06-19T21:24:00+07:00",
    "version": "urn:samm:io.catenax.message_header:1.0.0"
  },
  "rfqSender": {
    "deliveryRequirements": "no plastic for packaging",
    "senderName": "John Doe",
    "senderAddress": "Sunstreet 1, 5555 Sunstate",
    "senderPhoneNumber": "555 123456",
    "senderEMail"<EMAIL_ADDRESS>    "senderDeliveryAddress": "Mystreet 1, 1234 Mystate",
    "senderAccountAddress": "Accountstreet 1, 1234 Accountstate",
    "senderCompanyName": "ManufactureEnterprise"
  }
}

Model Overview

MS2 Criteria
(to be filled out by PR reviewer)

[x] the model validates with the SAMM SDS SDK in the version specified in the Readme.md of this repository by the time of the MS2 check  (e.g., 'java -jar samm-cli.jar aspect <path-to-aspect-model> validate ). The  SAMM CLI is available here and in GitHub
[x] use Camel-Case (e.g., "MyModelElement" or "TimeDifferenceGmtId", when in doubt follow https://google.github.io/styleguide/javaguide.html#s5.3-camel-case)
[x] the identifiers for all model elements start with a capital letter except for properties
[x] the identifier for properties starts with a small letter
[x] all model elements at least contain the fields "preferred name" and "description" in English language. The description must be comprehensible. It is not required to write full sentences but style should be consistent over the whole model
[x] Property and the referenced Characteristic should not have the same name
[x] the versioning in the URN follows semantic versioning, where minor version bumps are backwards compatible and major version bumps are not backwards compatible.
[x] use abbreviations only when necessary and if these are sufficiently common
[x] avoid redundant prefixes in property names (consider adding properties to an enclosing Entity or even adapt the namespace of the model elements, e.g., instead of having two properties DismantlerId and DismantlerName use an Entity Dismantler with the properties name and id or use a URN like io.catenax.dismantler:0.0.1)
[x] fields preferredName and description are not the same
[x] preferredName should be human readable and follow normal orthography (e.g., no camel case but normal word separation)
[x] name of aspect is singular except if it only has one property which is a Collection, List or Set. In theses cases, the aspect name is plural.
[x] units are referenced from the SAMM unit catalog whenever possible
[x] use constraints to make known constraints from the use case explicit in the aspect model
[x] when relying on external standards, they are referenced through a "see" element
[x] all properties with an simple type have an example value
[x] metadata.json exists with status "release"
[x] generated json schema validates against example json payload
[x] file RELEASE_NOTES.md exists and contains entries for proposed model changes
[x] all contributors to this model are mentioned in copyright header of model file

MS3 Criteria
(to be filled out by semantic modeling team before merge to main-branch)

[ ] All required reviewers have approved this PR (see reviewers section)
[ ] The new aspect (version) will be implemented by at least one data provider
[ ] The new aspect (version) will be consumed by at least one data consumer
[ ] There exists valid test data
[ ] In case of a new (incompatible) major version to an existing version, a migration strategy has been developed
[ ] The model has at least version '1.0.0'
[ ] If a previous model exists, model deprecation has been checked for previous model
[ ] The release date in the Release Note is set to the date of the MS3 approval

modeling_team

Please check if you can use this shared aspect model: https://github.com/eclipse-tractusx/sldt-semantic-models/blob/main/io.catenax.shared.address_characteristic/3.0.0/AddressAspect.ttl


contrib.graph_editor.transform.copy_op_handler: fix for pruning

tf.contrib.graph_editor.transform.copy_op_handler: change default copy_shape to False so graph_replace can work for network pruning where new weight shape does not match old weight shape

signed it.
On Thu, Jun 14, 2018 at 4:27 PM, googlebot<EMAIL_ADDRESS>wrote:

Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project (if not, look below for help).
Before we can look at your pull request, you'll need to sign a Contributor
License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/
https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here (e.g. I
signed it!) and we'll verify it.
What to do if you already signed the CLA Individual signers

It's possible we don't have your GitHub username or you're using a
different email address on your commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.

Corporate signers

Your company has a Point of Contact who decides which employees are
authorized to participate. Ask your POC to be added to the group of
authorized contributors. If you don't know who your Point of Contact is,
direct the Google project maintainer to go/cla#troubleshoot (Public
version https://opensource.google.com/docs/cla/#troubleshoot).
The email used to register you as an authorized contributor must be
the email used for the Git commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
The email used to register you as an authorized contributor must
also be attached to your GitHub account
https://github.com/settings/emails.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/20039#issuecomment-397426220,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOfPMhkaXOOFrJhVBd2UTDPLhvpzfk5pks5t8scggaJpZM4UomhK
.

signed it again.

resolves #20026

Nagging Assignee @caisq: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @caisq: It has been 44 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.


Add required quota info to session delivery resources

Please add a section Required Quota to README.md in the Session Delivery folder. This should give any required information about the quota required to be available in a new tenant to set up the resources needed for session delivery.

Quota information added @revodavid  @cole-g-johnson


Switch to fog-aws

The fog project broke out aws from the greater fog codebase into fog-aws, which includes just what you need for fog. Requiring fog actually brings in 28 other gems. Requiring fog-aws only brings in 4. fog-aws also loads about 3-4 times faster.

Fixed by #34


Add running Rails app workflow initialiser

Both #38 and #39 depend on having a running Rails App in the background. We need a generator to establish a running web server on a known port (eg. 3000) so that they can append their workflow jobs to it. It should create apps in general (starting with Rails) and perhaps read the database.yml to work out the type of database (if any).

This is underway as part of #39.


BS4 navbar always has .bg-light class regardless of given type

If I make a dark Bootstrap 4 navbar like this:
{{#bs-navbar type="dark" as |navbar|}}
  #stuff
{{/bs-navbar}}

Then I get invisible light text on a light bg, with HTML that includes the .bg-light class like this:
<nav class="navbar navbar-dark navbar-expand-lg bg-light ember-view" id="ember685">

If I make a light navbar (or if I don't set the type property at all), like this:
{{#bs-navbar type="light" as |navbar|}}
  #stuff
{{/bs-navbar}}

...then I get dark text on a light background with this HTML:
<nav class="navbar navbar-light navbar-expand-lg bg-light ember-view" id="ember685">

In short, it seems the navbar type property isn't working because it should set a .bg-dark class if type="dark".
Manually setting a bg-dark class like this...
{{#bs-navbar type="dark" class="bg-dark" as |navbar|}}

...doesn't override the automatically-set bg-light either.

You should use the backgroundColor property to set the bg-*class: http://www.ember-bootstrap.com/api/classes/Components.Navbar.html#property_backgroundColor

Thanks, I totally missed the backgroundColour property. I still think it would make sense to set a sensible bg class when type is dark, but I can appreciate it's not a top priority. Thanks for your great work on this add-on.


fix removed attribute

@ref has been replaced by @altsym, fixing this in the remarks.
What I'm not sure about is the meaning of @startid. How is that supposed to be used, if <symbol> cant't be used as a free controlEvent?

The <symbol> element occurs in 2 different contexts --

within the 'music' context where it marks a graphical symbol that can't be/isn't drawn based on the markup; and
within the symbol definition context (i.e. inside <symbolDef>) where a custom symbol can be defined

The @startid attribute is only used in the symbol definition context.  It's necessary when attributes from the classes att.visualOffset.ho, att.visualOffset.to, and/or att.visualOffset.vo are used to define a symbol's position relative to another symbol.
I'll concede that the name 'startid' is somewhat confusing.  Perhaps 'relativeTo' would be a better name?  I'll also admit that the Schematron rules associated with <symbol> should be rewritten in order to better enforce these expectations.