Custom action not working

Rasa Core version:  0.11.7
Python version: 3.6.5
Operating system : ubuntu 16.04
Issue: Custom action not working
Content of actions.py :
from rasa_core_sdk import Action
from rasa_core_sdk.events import SlotSet

class ActionCheckRestaurants(Action):
   def name(self):
      return "action_check_restaurants"

   def run(self, dispatcher, tracker, domain):

     dispatcher.utter_message("nothing ")
     if tracker.get_slot('city'):
         dispatcher.utter_message("check restaurant action being called ..")
     else:
         dispatcher.utter_message("no restaurant being called")
     return  [ ]

Content of endpoints.yml file :
action_endpoint:
  url: "http://localhost:5055/webhook"

Output of debug mode
I am looking for restaurants in new york city
2018-10-04 15:58:58 DEBUG    rasa_core.tracker_store  - Recreating tracker for id 'default'
2018-10-04 15:58:58 DEBUG    rasa_core.processor  - Received user message 'I am looking for restaurants in new york city' with intent '{'name': 'findRestaurantsByCity', 'confidence': 0.8807270526885986}' and entities '[{'start': 32, 'end': 40, 'value': 'new york', 'entity': 'city', 'confidence': 0.895800285339971, 'extractor': 'ner_crf'}]'
2018-10-04 15:58:58 DEBUG    rasa_core.processor  - Logged UserUtterance - tracker now has 7 events
2018-10-04 15:58:58 DEBUG    rasa_core.processor  - Current slot values:
	city: new york
2018-10-04 15:58:58 DEBUG    rasa_core.policies.memoization  - Current tracker state [None, {}, {'slot_city_0': 1.0, 'intent_findRestaurantsByCity': 1.0, 'prev_action_listen': 1.0, 'entity_city': 1.0}, {'slot_city_0': 1.0, 'prev_action_check_restaurants': 1.0, 'intent_findRestaurantsByCity': 1.0, 'entity_city': 1.0}, {'slot_city_0': 1.0, 'intent_findRestaurantsByCity': 1.0, 'prev_action_listen': 1.0, 'entity_city': 1.0}]
2018-10-04 15:58:58 DEBUG    rasa_core.policies.memoization  - There is no memorised next action
2018-10-04 15:58:58 DEBUG    rasa_core.policies.ensemble  - Predicted next action using policy_1_KerasPolicy
2018-10-04 15:58:58 DEBUG    rasa_core.processor  - Predicted next action 'action_check_restaurants' with prob 0.61.
2018-10-04 15:58:58 ERROR    rasa_core.processor  - Encountered an exception while running action 'action_check_restaurants'. Bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code.
2018-10-04 15:58:58 ERROR    rasa_core.processor  - The model predicted the custom action 'action_check_restaurants' but you didn't configure an endpoint to run this custom action. Please take a look at the docs and set an endpoint configuration. https://rasa.com/docs/core/customactions/
Traceback (most recent call last):
  File "/home/ramesh/anaconda3/lib/python3.6/site-packages/rasa_core/processor.py", line 324, in _run_action
    events = action.run(dispatcher, tracker, self.domain)
  File "/home/ramesh/anaconda3/lib/python3.6/site-packages/rasa_core/actions/action.py", line 305, in run
    "".format(self.name(), DOCS_BASE_URL))
Exception: The model predicted the custom action 'action_check_restaurants' but you didn't configure an endpoint to run this custom action. Please take a look at the docs and set an endpoint configuration. https://rasa.com/docs/core/customactions/
2018-10-04 15:58:58 DEBUG    rasa_core.processor  - Action 'action_check_restaurants' ended with events '[]'
2018-10-04 15:58:58 DEBUG    rasa_core.policies.memoization  - Current tracker state [{}, {'slot_city_0': 1.0, 'intent_findRestaurantsByCity': 1.0, 'prev_action_listen': 1.0, 'entity_city': 1.0}, {'slot_city_0': 1.0, 'prev_action_check_restaurants': 1.0, 'intent_findRestaurantsByCity': 1.0, 'entity_city': 1.0}, {'slot_city_0': 1.0, 'intent_findRestaurantsByCity': 1.0, 'prev_action_listen': 1.0, 'entity_city': 1.0}, {'slot_city_0': 1.0, 'prev_action_check_restaurants': 1.0, 'intent_findRestaurantsByCity': 1.0, 'entity_city': 1.0}]
2018-10-04 15:58:58 DEBUG    rasa_core.policies.memoization  - There is no memorised next action
2018-10-04 15:58:58 DEBUG    rasa_core.policies.ensemble  - Predicted next action using policy_1_KerasPolicy
2018-10-04 15:58:58 DEBUG    rasa_core.processor  - Predicted next action 'action_listen' with prob 0.99.
2018-10-04 15:58:58 DEBUG    rasa_core.processor  - Action 'action_listen' ended with events '[]'
<IP_ADDRESS> - - [2018-10-04 15:58:58] "POST /webhooks/rest/webhook?stream=true&token= HTTP/1.1" 200 122 0.023412

I tried all the existing solutions, but nothing is working in my case. Can anyone please help with this?

are you passing the endpoints.yml file to rasa core when starting it?

I am doing following steps:
I am using trained model with the help of this code (use_core_model.py):
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals

import logging
import json
from rasa_core.agent import Agent
from rasa_core.policies.keras_policy import KerasPolicy
from rasa_core.policies.memoization import MemoizationPolicy
from rasa_core.interpreter import RasaNLUInterpreter
import sys
import argparse

import warnings
import ruamel.yaml as yaml

warnings.simplefilter('ignore', yaml.error.UnsafeLoaderWarning)

if __name__ == '__main__':

	parser = argparse.ArgumentParser(
            description='start chattting with bot')

	parser.add_argument('message')

	message = parser.parse_args().message
	# print ("message ", message)

	# message = sys.argv[1]
	# print ("message ", message)

	model_path = './models/dialogue'
	nlu_interpreter = RasaNLUInterpreter('./projects/default/default/Neo4jNlu')

	parsed_nlu_msg = nlu_interpreter.interpreter.parse(message)
	print(json.dumps(parsed_nlu_msg, indent=2))

	# print ("NLU response ", nlu_interpreter.parse(msg))
	print ("---------------------- chat bot response ------------------------------")
	agent = Agent.load(model_path, interpreter = nlu_interpreter)

	print (agent.handle_text(message))

In one terminal, I am executing
python use_core_model.py "I am looking for restaurants in new york city"

In second terminal, I am running action server
python -m rasa_core_sdk.endpoint --actions actions

I am not sure about to how to pass endpoints.yml to rasa core?

@akelad  custom action is working when I am running in one terminal:
python -m rasa_core.run \
    --enable_api \
    -d models/dialogue \
    -u models/nlu/current \
    --endpoints my_endpoints.yaml \
    -o out.log

second terminal running action server:
python -m rasa_core_sdk.endpoint --actions actions

But I have another doubt, when I execute python -m rasa_core_sdk.endpoint --actions actions why core response does not return anything. This is my updated actions.py
from rasa_core_sdk import Action
from rasa_core_sdk.events import SlotSet
# import logging

class ActionCheckRestaurants(Action):
   def name(self):
      # type: () -> Text
      return "action_check_restaurants"

   def run(self, dispatcher, tracker, domain):
      # type: (Dispatcher, DialogueStateTracker, Domain) -> List[Event]

    # logging.error("custom action being called")
    # tracker.get_slot('city')[bool(tracker.get_slot('city'))]
    dispatcher.utter_message("notthing ")
    if tracker.get_slot('city'):

        result = "It got executed"
        dispatcher.utter_message("check restaurant action being called ..")

    else:
        failure = "slot does not detected"
        dispatcher.utter_message("no restaurant being called")

    return [SlotSet("city", result if result is not None else failure)]

Thanks for your time :)

what do you mean it doesn't return anything? what happens?

when I execute python use_core_model.py "I am looking for restaurants in new york city" ,
(agent.handle_text(message))  returns [ ] even intent detected by NLU is correct.

My guess is because you haven't configured any endpoints for custom actions there in your python script. Is there any reason you would want to use this instead of starting core on the commandline?

I have the same problem. I guess it's endpoint problems. so how can I configure endpoints for action?

Please read the documentation here https://rasa.com/docs/core/customactions/#custom-actions
@rameshjesswani has your original issue been solved or do you need more help?

thanks very much. its resolved.

thanks very much. its resolved.

how did u resolve this issue?
I had the same issue.
i solved configuring the endpoint URL in the python script like that:

`from rasa_core.agent import Agent
from rasa_core.interpreter import RasaNLUInterpreter
from rasa_core.utils import EndpointConfig
core_endpoint_config = EndpointConfig(url='http://localhost:5055/webhook')
interpreter = RasaNLUInterpreter('models/current/nlu')
agent = Agent.load('models/current/dialogue', interpreter=interpreter,
action_endpoint = core_endpoint_config)
while True:
a = input("Eu: ")
messages.append(a)
if a == 'stop':
break
responses = agent.handle_message(a)
for r in responses:
answer = r.get("text")
messages.append(answer)
print("Bot: " + answer)
`
i hope that helps

thanks very much. its resolved.

how did u resolve this issue?

I had the same issue.
i solved configuring the endpoint URL in the python script like that:
from rasa_core.agent import Agent
from rasa_core.interpreter import RasaNLUInterpreter
from rasa_core.utils import EndpointConfig

core_endpoint_config = EndpointConfig(url='http://localhost:5055/webhook')

interpreter = RasaNLUInterpreter('models/current/nlu')
agent = Agent.load('models/current/dialogue', interpreter=interpreter,
                                    action_endpoint = core_endpoint_config)

while True:
    a = input("Eu: ")
    messages.append(a)
    if a == 'stop':
        break
    responses = agent.handle_message(a)
    for r in responses:
        answer = r.get("text")
        messages.append(answer)
        print("Bot: " + answer)

i hope that helps

Saved my day 👍


os/booting-on-digitalocean: Warn about "private" networking

Adopt @robszumski's version of changes suggested by @kevinsimper
to warn digital ocean users about implications of "private"
networking in the DO context.
Supersedes #724. Fixes #718.

LGTM


Workflow ci

fixes issue https://github.com/llaske/sugarizer-server/issues/293
@llaske @NikhilM98 I tested this workflow on my repository all test are passing, you can review this now

@NikhilM98 would you like to assign me some task to work upon

@parteekcoder the PR that addresses the Eslint issues has been merged. The workflow can now be updated to include the Eslint checks.

@NikhilM98 I think lint script in package.json also have to be updated

@parteekcoder you need to run ‘npm ci’ before running ‘npm run lint’

hey @NikhilM98 give me some time , have to make some changes

Make sure to remove all the unnecessary changes and test how the pipeline works if an ESLint check fails. Also, make capitalization consistent.

Make sure to remove all the unnecessary changes and test how the pipeline works if an ESLint check fails. Also, make capitalization consistent.

sure

@llaske @NikhilM98 this is my report
passing test:
https://github.com/parteekcoder/sugarizer-server/pull/6
failing test:
https://github.com/parteekcoder/sugarizer-server/pull/5

@NikhilM98 plz tell me if you would like to change

@parteekcoder there are unresolved issues with this PR. Can you go through the comments left by me and Lionel and update the PR?

@NikhilM98 as I resolved one conversation
and for the other I said it necessary change in .eslintignore file which is to be made the reason I provided in the conversation I resolved

and for the other I said it necessary change in .eslintignore file which is to be made the reason I provided in the conversation I resolved

The changes you have made in .eslintignore should not be necessary. Can you show a case in which the workflow fails if you have not made the changes you did in the .eslintignore file?

@parteekcoder the sugarizer directory should not be inside the sugarizer-server project. The Moving Sugarizer Directory task does not moves Sugarizer, it makes a copy of the project.
Maybe you can try something like this:
...
      - name: Cloning Sugarizer Repository
        run: git clone https://github.com/llaske/sugarizer.git /home/runner/work/sugarizer-server/
      - name: Running Clean Install
        run: npm ci
...

yeah @NikhilM98 thanks for the help , I will look into it

done @NikhilM98 great cordination thanks for the help,
passing PR:
https://github.com/parteekcoder/sugarizer-server/actions/runs/4342422084
failing PR:
https://github.com/parteekcoder/sugarizer-server/actions/runs/4335641942/jobs/7584971453

@parteekcoder I don't see any point in having 2 steps for cloning and moving the Sugarizer project.
Doesn't something like git clone https://github.com/llaske/sugarizer.git /home/runner/work/sugarizer-server/ or git clone https://github.com/llaske/sugarizer.git ../ works?

@parteekcoder I don't see any point in having 2 steps for cloning and moving the Sugarizer project.
Doesn't something like git clone https://github.com/llaske/sugarizer.git /home/runner/work/sugarizer-server/ or git clone https://github.com/llaske/sugarizer.git ../ works?

i think that would also work , do you want me to do like that or is it fine

i think that would also work , do you want me to do like that or is it fine

It's be better to avoid unnecessary stages, so it'll be appreciated if you can do that.

@parteekcoder I don't see any point in having 2 steps for cloning and moving the Sugarizer project.
Doesn't something like git clone https://github.com/llaske/sugarizer.git /home/runner/work/sugarizer-server/ or git clone https://github.com/llaske/sugarizer.git ../ works?

it is not working as git clone only clone repo in empty directory , so have to go with 2 steps @NikhilM98

@parteekcoder I just noticed the CI failure. Try this git clone https://github.com/llaske/sugarizer.git ../sugarizer.

CI failure. Try thi

ok I will try it

yes @NikhilM98 It is working , I updated the PR
passing test
https://github.com/parteekcoder/sugarizer-server/actions/runs/4343459086/jobs/7585526465

Great, can you now squash your changes into a single commit?

It is not allowing me to sqaush  I squashed as much as I can

Maybe consider looking a bit more on the internet about squashing last N commits into a single commit.
Since parteekcoder:workflow_CI is a branch on your repository, it's not possible not to be "allowed" to compress multiple commits into one.

sure @NikhilM98 I will also explore that
Now this fix continue in #384


interactive_hist doesn't display actual histogram

Bug report
Bug summary
interactive_hist doesn't show the actual histogram.
Code for reproduction
import numpy as np
from mpl_interactions import interactive_hist

bot = np.linspace(0, 100, 100)
top = np.linspace(0, 100, 100)

def callback(bot, top):
    return np.random.randn(1000)

interactive_hist(callback, bot=bot, top=top)

Actual outcome
Matplotlib window with control sliders, but without actual histogram.

Expected outcome
Matplotlib histogram plot with bot and top control sliders.
Version Info

Operating system: Debian 12
Matplotlib version: 3.9.2
Matplotlib backend (print(matplotlib.get_backend())): tkagg, qtagg
Python version: 3.12.4

Hi @Tianmaru,
Can I asked what context you are runnign this in? e.g.: ipython, python script, python repl, jupyter etc...

If you add a plt.show() at the end of the script you will see the histogram

Hi @ianhi,
thanks for your answer! I don't know why I didn't try to call plt.show myself. I think I expected the controls and the plot to show up in the same window, below the plot like via IPython? It looks like this now:

Oh, and regarding your question: the code is run as a Python Script.

Ah, and I noticed something else: when trying to use a RangeSlide like described in the mpl-interactions documentation, I get
TypeError: 'tuple object does not support item assignment.
This seems to be an issue with the valinit argument being provided to RangeSlider as a tuple in create_mpl_range_selection_slider, which is then accessed in widget's set_val.
Code Example
import numpy as np
import matplotlib.pyplot as plt
from mpl_interactions import interactive_hist

xrange = ("range", 0, 100, 1)

def callback(xrange):
    return np.random.randn(1000)

interactive_hist(callback, xrange=xrange)
plt.show()

ahh good catch thank you! That is indeed a bug. I hope to have time today to fix it and will publish a new release as soon as i do.

@Tianmaru just fixed this in #294 and it is released in version 0.24.2 which is available on pypi now and should be on conda-forge before too long.
One other thing to note, the documentation was slightly incorrect in how it described the shorthand for generating a slider.
Where it said: ("range", min, max, [step])  it should have read ("range", min, max, [num]) i.e. using linspace not arange.
So to get the intended behavior in your last post you would need to write: xrange = ("range", 0, 100, 100) or alternatively xrange = ("range", np.arange(0,100,1))

Thank you for the helpful bug report!


Integrate camera flight with timeline

This question came up on the forum and I was surprised that there was no way to hook a camera flight into the timeline. I posted what I think would be a possible workaround there. But since doing this properly might take a bit of restructuring of the camera code, I thought it might be worth having the library itself handle this.
It is a bit strange that the camera uses TweenJS to provide access to common easing functions, but this is not available or exposed to the entity system (https://github.com/AnalyticalGraphicsInc/cesium/issues/7597). Entities instead rely on interpolating a path defined by control points, as opposed to easing between individual points. Is the reason for this just that the camera was written before entities existed?
I think this is a good opportunity to suggest making this API more consistent. Since we already ship with TweenJS it might be nice to expose it to entities too. Or we could just remove the TweenJS dependency and have the camera use the same dynamic property system as entities.
Thoughts?

I like this feature to be implemented so that we have more control of the camera flight path together with the timeline.
Best!

A camera tied to the timeline is a useful thing to have, particularly for recording movies where the camera motion is intended to be part of the recorded movie.
Of course an interactive user still needs a mode where the camera is free of the timeline.  For example the user may click the "fly home" button when the timeline is paused or running backwards, and still expect the interactive camera to fly home.
In typical 3D software, for example Blender, there are one or more "camera" objects that are controlled by the animation keyframe system, tied to the timeline, for recording movies.  But there is also an interactive viewport, that has basically an anonymous camera that is not tied to the timeline, and can be moved around even when the time is paused.  Sometimes, for example when the user clicks "front view" or such, this anonymous camera runs a very short flight to get from its previous location to the requested location (independent from the paused timeline).  The flight in Blender is much, much faster than the default flight in Cesium.  I've always felt the Cesium flights are wayyy too long, slowly and gracefully meandering around to where the user asked.  Really I think they should be much snappier, arriving at the user's requested location within a quarter-second or less.
But I digress.  No, the separation of Camera and Entities is not just legacy, it's required for interactive usage.  But timeline-based camera views need to be added for the sake of recording movies.

I think you hit the nail on the head there - just have multiple cameras. The PlayCanvas editor does this really nice thing where by default you're in the "editor camera" so moving around the scene doesn't change anything, but you can switch to one of the camera's in the scene, and you can position it by moving the view itself.
The Camera constructor could take an option like followTimeline or updateWithTimeline that defaults to false to keep the current behavior. But then maybe you can override it by passing in your own camera object, or creating one and toggling between them programmatically.
This would also be really nice because I think a lot of the issues with the Camera now come from it trying to handle all situations. For example, it would be nice to be able to create a new OrbitCamera for when you want to have the user just orbit around a specific object/tileset.

But I digress. No, the separation of Camera and Entities is not just legacy, it's required for interactive usage. But timeline-based camera views need to be added for the sake of recording movies.

This is the inconsistency I was talking about it. The camera has a way to move outside the timeline, but entities don't (unless you "cheat" by using a callback property that updates its position, which is what I see most people on the forum doing). It just seems strange that the (1) easier to use API for creating objects and (2) time dynamic properties are coupled together like that, when they're two separate concepts.
For example, it'd be really cool to be able to use the time dynamic properties at the primitive level. I recently needed a way to do this for a project, and had to hack the Entity system to just expose the underlying primitive so I could get what I needed.


Ensure TokenCredentials are serializable to JSON

See also #2670.
Currently, the second test will fail unless additional typing information is introduced. Happy to tweak as needed.

Good. What's your fix proposal?

https://github.com/pac4j/pac4j/pull/2692/commits/c2cff70ad78995ffae92b448875529f52a644361 provides a fix for the first test, which otherwise fails.
https://github.com/pac4j/pac4j/pull/2692/commits/16d55922b2a424b9703152100e835024ca857fbd addresses the latter, by explicitly annotating UserProfile with @JsonTypeInfo. I also added @EqualsAndHashCode on BasicUserProfile, because otherwise equality checking on TokenCredentials doesn't work, but this is optional - I can either check that the tokens match between the original and the deserialized credentials, or set callSuper to false on TokenCredentials. My sense is that, semantically, it doesn't make sense to say that two TokenCredentials objects are equal simply if their tokens are equal, even if they contain differing UserProfiles.

Can you check why the build fails: https://github.com/pac4j/pac4j/actions/runs/6470734206/job/17595797077?pr=2692?

Ah yes, needed to also override equals on CasProxyProfile

The build still fails: Error:  Medium: org.pac4j.kerberos.profile.KerberosProfile doesn't override org.pac4j.core.profile.BasicUserProfile.equals(Object) [org.pac4j.kerberos.profile.KerberosProfile] At KerberosProfile.java:[line 1] EQ_DOESNT_OVERRIDE_EQUALS

good points; changes made. I was able to run the tests locally by excluding the SAML test suite, which appears to expect some service to be running that I do not have.

Can you sync with master? I have excluded two failing SAML tests.

Done; tests all pass for me now.


Justfiles > makefiles?

Will evaluate first, but make was only added as a command runner, and its syntax and idiosyncrasies get exposed when looking at makem.sh
Justfiles is a purpose built command runner.  I think it might be a better fit for this project.  The Emacs integrations look useful for doing IDE-ish things from within Emacs in a generic way whenever command interfaces are not available.

Elisp.  Elisp is the way.


Clean up temp table naming, introduce new functions for readability

Description

Reorganize queryenvironment.c to have better separation of different families of functions (ENR catalog search/insertion, cleanup, invalidation messages, rollback handling).
Refactored some function names to have consistent naming
Introduced new functions to clean up commonly used temp table checks across engine code

Check List

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Details

2 of 2 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 74.467%

Totals

Change from base Build<PHONE_NUMBER>1:
0.0%

Covered Lines:
44948

Relevant Lines:
60360

💛  - Coveralls


feat: Implement store model

JSON storage
Pattern define
Store implement

a validation solution

Can you take an example?

a validation solution

Can you take an example?

sorry, point wrong
serialization of nest https://docs.nestjs.com/techniques/serialization https://github.com/typestack/class-validator

a validation solution

Can you take an example?

sorry, point wrong
serialization of nest https://docs.nestjs.com/techniques/serialization https://github.com/typestack/class-validator

Actual, it has valid the params for serialize and deserialize, and I add some test cases for it with https://github.com/ckb-js/kuai/pull/51/commits/b51e1f66b1df1242269e681265c8af8cd51f14c8.

I have a question, how can I instance the Store object from database, by using type script or lock script or both?

I have a question, how can I instance the Store object from database, by using type script or lock script or both?

Store is a mapping of cells specified by pattern, pattern is a combination of conditions as SQL(designed in https://github.com/ckb-js/kuai/issues/2#issuecomment-1305222823), e.g. lock.code_hash eq A and lock.hash_type eq B and lock.args eq C and type.code_hash eq D and type.hash_type eq F and type.args eq G and data like '%H%'

We will review this PR later because manipulation on type script and lock script is going to be implemented along with this feature.
Ref: https://github.com/ckb-js/kuai/issues/41#issuecomment-1366360802

lock and type schema have been added. @Keith-CY @Daryl-L @zhengjianhui @PainterPuppets

Here're 2 approvals so this PR is ready to merge once conflicts are resolved


Missing token option

openai --token "sk-..."
Usage: openai [OPTIONS] COMMAND [ARGS]...
Try 'openai --help' for help.
Error: No such option: --token
openai -t "sk-..."
Usage: openai [OPTIONS] COMMAND [ARGS]...
Try 'openai --help' for help.
Error: No such option: --token

when I do openai --help I get this:
openai --help
Usage: openai [OPTIONS] COMMAND [ARGS]...
Options:
--help  Show this message and exit.
Commands:
complete  Return OpenAI completion for a prompt from SOURCE.
repl      Start interactive shell session for OpenAI completion API.
No idea how to get full list of commands as documented.

That is the full list.

And btw you commented on an unrelated issue instead of creating a new one, which is confusing

you have to include the repl subprocess, so
[tjs@paradox ]$ openai repl -t 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 Prompt: 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
which because of the age of this module written for openapi v1, might drop you a py traceback with the error...
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://api.openai.com/v1/completions


Import problem with poetry install

Report
Bug is occurring on server and on my laptop (M1). Both use conda. Python version 3.10.6.
I create a new environment following the directions in the contributor guide. poetry install doesn't install pyomo, so I get an error when running poetry run pertpy from that, then conda install pyomo, run poetry install again, which seems like it works, and then when I try to actually import and use the package I get:
``
Installed version 0.4.0 of pertpy is newer than the latest release 0.3.0! You are running a nightly version and features may break! ryp2 is not installed. Install with pip install rpy2 to run tools with R support. To use sccoda or tasccoda please install ete3 with pip install ete3 Traceback (most recent call last):   File "<string>", line 1, in <module>   File "/n/groups/marks/software/anaconda_o2/envs/pertpy-dev/lib/python3.10/importlib/__init__.py", line 126, in import_module     return _bootstrap._gcd_import(name[level:], package, level)   File "<frozen importlib._bootstrap>", line 1050, in _gcd_import   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load   File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked ModuleNotFoundError: No module named 'pertpy.__main__'
I tried installing from github via pip, which will load into python but won't let me run nox without erroring ("  The Poetry configuration is invalid" error when running tests or attempting make poetry install again
Version information
No response

I've seen this before and have no idea why it's happening. Think it could be circumvented by installing it with pip instead of poetry
-->
instead of
poetry install

pip install .

I'll try to see whether I can find something. This is not good.

I'll replace the make install command with pip install which should not require Poetry


Unknown parameter structure error when using RequestType in VS Code Extension

I am working on a VS Code extension. This extension uses a language server which is shipped as a separate npm package.
In an effort to keep the server/client types in sync, the language server package exports custom requests, i.e.
import { RequestType } from "vscode-languageserver";

export declare const FooRequest: RequestType<string, string[], void>;
export declare const BarRequest: RequestType<string, string[], void>;

I'd like to reuse these in the client, i.e:
import { FooRequest } from '@foo/bar/requests';
...

client
  .start()
  .then(() => {
    void client
      .sendRequest(FooRequest, 'test')
      .then((res) => console.log(res));
  });

However, when running the extension, an error is thrown: Unknown parameter structure auto
I'm guessing that this is because the injected vscode module is providing an instance of vscode-jsonrpc which conflicts with the one that gets bundled.
Is there an easy way to share request types between server/client for type safety?

Hmm, seems my suspicion was right... I "fixed" it by modifying webpack config to include all of the vscode-* packages in externals.
    externals: {
      vscode: 'commonjs vscode',
      'vscode-languageserver': 'commonjs vscode-languageserver',
      'vscode-jsonrpc': 'commonjs vscode-jsonrpc',
      'vscode-languageserver-protocol': 'commonjs vscode-languageserver-protocol',
      'vscode-languageserver-types': 'commonjs vscode-languageserver-types',
    },

would this be a recommended way of fixing this?

Frustratingly, this doesn't work in non dev environments. VSCode provides these external packages when running with --extensionDevelopmentPath, but not when running a packaged vsix.

There are two ways to address this:

have your own npm packages for the requests. I do this in this repository for the whole protocol package. However that might be an overkill
share the code between client and server using symbolic links and compile them twice. I do this here https://insiders.vscode.dev/github.com/microsoft/vscode-eslint/blob/4b92c12af15d41f76417bde9571cb56f08ec3d0f/$shared/customMessages.ts#L1 as well and I recommend this for your setup.


feat: separate blockchain versioning

This PR builds up the environment for the new Postage Stamp feature of Bee.
All Bee nodes will connect to the deployed Postage Stamp and Price Oracle contracts.
Until the 0.6.0 Bee release, it is going to pull the latest image from ethersphere/bee, so if you want to build it again with a newer commit which's Docker image was pushed as latest as well, you have to remove your pulled latest bee image with docker image rm ethersphere/bee:latest and download it again.

I built the images, and for commit 631c8d8 I've got an inifinite-loop like behaviour on bee-starts

Does someone have the same problem?

I built the image against their latest docker image (digest 228353c8eacc94c2afd3172f7e4bef8b70a24106c38fa6e43635ab6f168bb89a, last master commit 631c8d8)

But as I see on the Docker site the image was pushed one hour later than the referred commit.

I have tried to run your setup and I am running into same issue like you do 😳 Maybe lets reach out to the Bee team regarding what could be wrong?


Bump Docker-Registry

Description
Changes proposed in this pull request:

...
...
...

Related issue(s)

https://github.com/kyma-project/kyma/issues/16208

/retest


[release-0.18] Remove config-logging volume and add server config for the sink (#288)

Fixes #287

Proposed Changes

Backport remove config-logging volume and add server config for the sink (#288)

I'm not 100% sure we should do this, because we're modifying the release manifests of a previous release. @matzew wdyt about this one?

I‘ll take a look after lunch
On Tue 13. Oct 2020 at 12:14, Francesco Guardiani<EMAIL_ADDRESS>wrote:

I'm not 100% sure we should do this, because we're modifying the release
manifests of a previous release. @matzew https://github.com/matzew wdyt
about this one?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/knative-sandbox/eventing-kafka-broker/pull/291#issuecomment-707640316,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABGPTS3ICKW4RQJDFPGFDTSKQR7NANCNFSM4SOJPANA
.

--
Sent from Gmail Mobile

/cc @matzew

Do we really need this?  I guess I do have a bit of reservations...

Let's not do this! Closing ...


Render "*.feature"-files

Hi @tdreyno,
I would like to build an extension to render "gherkin"-files my-feature.feature into HTML. The idea behind this is the use some of the feature-files as documentation. First and foremost I would like to use the extension to generate the documentation for aruba and some internal gems I use at work.
features
  |
  +- doc
  |   |
  |   - my-feature.feature
  |
  +- tests
      |
      - my-feature.feature

The result should be something similar to http://www.relishapp.com/cucumber/aruba/v/0-11-0 but more integrated into the project's website.
The extension should have some configuration options settable via config.rb.
activate :middleman_gherkin do |e|
  e.path     = File.expand_path('../features/doc', __FILE__)       # default
  e.template = File.expand_path('../source/feature.erb', __FILE__) # default
end

Since v4.x you cannot render files into HTML which does not contain .html.format in their file names. I don't want to force users to write my-feature.html.feature files, but would like to use .feature instead. In some other issue the problem with the "missing" .html-extension was already discussed. You mentioned something about hardcoding values.
Would be possible for an extension, to tell the renderer that the result is always HTML even if the .html-part is missing.
This question is more about your experience in writing middleman-extensions: How would you implement the parser/HTML-generator. I have not decided yet how to do this. One idea is to implement it as tilt-gem, but since it requires another renderer, e.g. ERB, I'm not sure if this is the best way to go. At best I would like to leave the choice to the user which template language to use for converting feature files. This should be possible, but is there a middleman helper I can use in the extension?
Thanks a lot.
Cheers
Dennis

I would create a custom Resource type and have the extension replace any resource that is a .gerkin with a GerkinResource. That class would then have it's own render method to do whatever it wants and can set the destination_path to include .html

Thanks.

I'm doing some issue-gardening 🌿🌷🌾 and came across this issue.
Sorry that this has lingered for quite a while! I'd suggest either closing this (it can be solved using the method described by tdreyno).


fahrenheit?

i've got the Node-RED Alexa Home Skill Bridge working :)
however, i would like to change the units used by the thermostat functions from Celcius to Fahrenheit.  could you point me in the right direction?
Thanks!

You can set the temperatureReading.scale field in the response to either CELSIUS or
FAHRENHEIT

cool!  thanks.  how does that apply to the msg.payload=false (failure) response?
On Monday, December 11, 2017, 8:42:48 AM MST, Ben Hardill<EMAIL_ADDRESS>wrote:

You can set the temperatureReading.scale field in the response to either CELSIUS or
FAHRENHEIT
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

It doesn't make sense for a failure as the temperatures are not reported iirc

If you mean the range response (for out of range values) these have to be in Celsius

sorry, would you happen to know what to ask the Echo to query a thermostat's setpoint?  it always responds with the temperature reading...  :-/
On Monday, December 11, 2017, 11:31:37 AM MST, Ben Hardill<EMAIL_ADDRESS>wrote:

If you mean the range response (for out of range values) these have to be in Celsius
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

The doc covers both, for GetTemperatureReading and GetTargetTemperature.
Or do you mean how to actually ask Alexa as in what words to say?


If ConsoleWindow not available, try to find a window handle from the …

Try to find a window handle on parent process

Just meant as an example, for people running this from e.g a Windows Forms application and running CredentialProvider.Microsoft.exe with no console window, causing the interactive provider to fail on the broker.

@microsoft-github-policy-service agree [company="Microsoft"]

Closing - please see comment on issue for more details and discussion https://github.com/microsoft/artifacts-credprovider/issues/472#issuecomment-1967597439 .


Performance Improvements through Web Workers: Lack of Firefox support?

Webaverse uses web worker features that are not (currently) available on Firefox. I wonder then, the features that we want to use, will this also have an issue on Firefox and will we have to have diverging pathways to support both platforms? Ideally we would not have to do that. It causes code maintenance issues and overhead, also it will have a degraded experience in comparison to Chromium users.

Web Workers are generally well supported, including in Firefox: https://caniuse.com/?search=Web Worker
We can make sure that we don't use Chrome-specific features.


Move to maintained if-addrs crate

Pro: mips should work now
Con: The mips pipeline no longer runs because of https://github.com/rust-lang/compiler-team/issues/648
Not really sure of the best action here...
I'll add the link-local stuff in another PR so there's a clear chain of commits.

Thoughts on MIPS solutions:

just use an older rustc instead of stable
Wait until this is fixed: https://github.com/rust-lang/rust/issues/120655 and cross re-enables their MIPS targets, then add -Zbuild-std to the pipeline

Any thoughts? Not in a hurry to merge, I just remember it every now and then 😅

Hey there! I'm not ignoring this PR, but my MIPS setup is completely broken, and it's been taking a while to update and fix due to upstream lack pre-compiled libstd now.
I really appreciate the update, and as soon as I have more time, and can actually fix my local setup, I'll be landing this change

Excellent, thanks! Good luck fixing your local setup, I don't envy you...

I've been able to validate the changes on Windows amd64, Linux amd64 and Linux MIPS :)
Thanks for the contribution!

Excellent news, thanks! How'd you fix your MIPS setup in the end? Just using an older rustc, or did you massage std to compile?


Laravel Trust Proxies * not working as expected with getClientIp() method of Request.

Laravel Version
10.24
PHP Version
8.2
Database Driver & Version
No response
Description
Suppose you have a chain of Proxies/Load Balancers for your application.
Now when I set $proxies = '*'; in the TrustProxies middleware, It should trust all the Load Balancers, But it doesn't.
In my case, I have:

CloudFront -> Traefik -> Docker Swarm -> Nginx -> Laravel Octane Application.

As per docs of getClientIp(), it says:

Returns the client IP address.
This method can read the client IP address from the "X-Forwarded-For" header when trusted proxies were set via "setTrustedProxies()". The "X-Forwarded-For" header value is a comma+space separated list of IP addresses, the left-most being the original client, and each successive proxy that passed the request adding the IP address where it received the request from.
If your reverse proxy uses a different header name than "X-Forwarded-For", ("Client-Ip" for instance), configure it via the $trustedHeaderSet argument of the Request::setTrustedProxies() method instead.

Notice the statement the left-most being the original client bolded above. As per this when I've X-Forwarded-For with values like ["1**. 1**. 1**. 1**", 2**. 2**. 2**. 2**, 3**. 3**. 3**. 3**, 4**. 4**. 4**. 4**, 5**. 5**. 5**. 5**], The left most being "1**. 1**. 1**. 1**" should be the result of getClientIp() but it doesn't instead it just trusts the last proxy (5**. 5**. 5**. 5**) and think all the others (1, 2, 3, 4) as Client Ips and it doesn't just stop there but it returns 4**. 4**. 4**. 4** when I call getClientIp().
As per the docs (https://laravel.com/docs/10.x/requests#trusting-all-proxies) it says when when $proxies = '*' that means it will trust all proxies but it doesn't. As per my investigation I've found the Middleware only trust the last proxy when $proxies = '*'.

Steps To Reproduce
It's not reproducible using code.

I'm not sure I understand though. If the REMOTE_ADDR is the one coming in and is being trusted, why would you still need to trust all the others? This is set at runtime so it just accepts the REMOTE_ADDR coming in and that's it?

@iamriajul is the issue just that you don't get the correct IP? Because taking the first IP is exactly what getClientIp does:
https://github.com/symfony/symfony/blob/0d9562ff6cdda11c71f0eb2bce0076f0d3a8ea9f/src/Symfony/Component/HttpFoundation/Request.php#L755
If you need to inspect multiple forwarded IP's you need to use getClientIps:
https://github.com/symfony/symfony/blob/0d9562ff6cdda11c71f0eb2bce0076f0d3a8ea9f/src/Symfony/Component/HttpFoundation/Request.php#L732

I've sent in a PR for the ips method: https://github.com/laravel/docs/pull/9196

I think it's a bug, because when I add all proxies ip addresses (prefixes) to the &proxies property as array then the getClientIp() resolves to the correct user IP address (which is is the left most IP address in the X-Forwarded-For header).

@iamriajul does the discussion from https://github.com/laravel/framework/issues/44271 help?

When $proxies = '*', all proxies should be trusted. And about https://github.com/laravel/framework/issues/44271 , it is about not forwarding the actual header, currently my proxies and nginx forward proper X-Forwarded-* headers to the application.

Currently, I don't have any problem because I've configured to trust actual IP addresses of Load Balancers (It is recommended and secure), but for new users it might be an issue. Because isn't so much of automation for this kind of things, previously I only found package for Cloudflare Trust Proxies in the Laravel Community, but none for Cloudfront.
So I had to code it myself.
Here is my solution, Posting it here for now. Planning to maintain a new package for this kind TrustProxies issue.
Only works with Octane with Swoole.
TrustProxies.php
class TrustProxies extends Middleware
{
    protected $proxies = [
        '<IP_ADDRESS>/8' // Docker Swarm global scope (overlay) networks,
    ];

    public function handle(Request $request, Closure $next)
    {
        if ($request->hasHeader('x-amz-cf-id')) {
            // Remember Cloudfront proxies for a day
            $cloudfrontProxies = Cache::store('octane')->get('cloudfront_proxies', []);
            $this->proxies = array_merge($this->proxies, $cloudfrontProxies);
        } else if ($request->hasHeader('cf-ray')) {
            // Remember Cloudflare proxies for a day
            $cloudflareProxies = Cache::store('octane')->get('cloudflare_proxies', []);
            $this->proxies = array_merge($this->proxies, $cloudflareProxies);
        }

        return parent::handle($request, $next);
    }
}

AppProvider.php (or any other provider)
class CoreServiceProvider extends ServiceProvider
{
    public function boot()
    {
        /**
         * @var OctaneStore $octaneCache
         */
        $octaneCache = Cache::store('octane');

        // Update CloudFront Proxies every 1 hour
        $octaneCache->interval('cloudfront_proxies', function () {
            $response = Http::get('https://ip-ranges.amazonaws.com/ip-ranges.json');
            return collect($response->json()['prefixes'])
                ->filter(fn ($prefix) => Str::startsWith($prefix['service'], 'CLOUDFRONT'))
                ->map(fn ($prefix) => $prefix['ip_prefix'])
                ->values()
                ->toArray();
        }, seconds: 60 * 60);

        // Update CloudFlare Proxies every 1 hour
        $octaneCache->interval('cloudflare_proxies', function () {
            return LaravelCloudflare::getProxies();
        }, seconds: 60 * 60);

      // More code...
   }
}

So, my understanding of how trusted proxies should work is this:
The general way to get the real IP securely is to move "backwards" (Right to Left) through the IPs in the http-x-forwarded-for comparing each to the the trusted proxies list and then taking the next one as the actual IP.

So each proxy should, ideally, be in the list of trusted IP's, and Laravel/Symfony should iterate through each IP and see if it's a trusted proxy. As far as I can tell, Symfony does this (it's...complexish).
The problem is that we often don't know the IP of each proxy in the chain (thanks to public clouds, automated infrastructure, yadda yadda yadda).
I personally think the whole idea of a trusted proxy should be opt-in and we should choose to just trust the left-most item in the x-forwarded-for header if we want to. Symfony (and I'm sure others) leans the other way in that opinion.
A backwards-compatible way to do this might be to allow the double star ** value to automatically work by setting any IP other than the left-most IP address and adding it to the list of trusted proxies (right now we only set the REMOTE_ADDR IP address as a trusted proxy, resulting in only one "layer" of IP addresses being given back as the client IP).
Altho Taylor's initial idea of making a more complex case be up to the user to implement makes sense too.
Here's my custom middleware that "fixes" this for me in a way I'm happy enough about. This adjusts the stock middleware and over-rides protected function setTrustedProxyIpAddressesToTheCallingIp()
<?php

namespace App\Http\Middleware;

use Illuminate\Http\Middleware\TrustProxies as Middleware;
use Illuminate\Http\Request;

class TrustProxies extends Middleware
{
    /**
     * The trusted proxies for this application.
     *
     * @var array<int, string>|string|null
     */
    protected $proxies = "*";

    /**
     * The headers that should be used to detect proxies.
     *
     * @var int
     */
    protected $headers =
        Request::HEADER_X_FORWARDED_FOR |
        Request::HEADER_X_FORWARDED_HOST |
        Request::HEADER_X_FORWARDED_PORT |
        Request::HEADER_X_FORWARDED_PROTO |
        Request::HEADER_X_FORWARDED_AWS_ELB;

    /**
     * Overriding the core functionality
     * @param Request $request
     * @return void
     */
    protected function setTrustedProxyIpAddressesToTheCallingIp(Request $request)
    {
        // Add REMOTE_ADDR as a trusted proxy
        $trustedIps = [$request->server->get('REMOTE_ADDR')];
        // Parse x-forwarded-for IP addresses
        $forwardedIps = collect(explode(',', $request->headers->get('x-forwarded-for')))
            ->map(function($item) {
                return trim($item);
            })->filter()->toArray();

        // Remove real client IP (left-most IP address, and the first item in this array),
        // leaving behind any proxy IP addresses
        if (count($forwardedIps) > 1) {
            array_shift($forwardedIps);
        }

        $request->setTrustedProxies(array_merge($trustedIps, $forwardedIps), $this->getTrustedHeaderNames());
    }
}

I'm not totally sure I parsed x-forwarded-for in a way that's bug-free, and it definitely gives a middle finger to the idea of trusted proxies. That's the trade off I make on a header that's already full of trade-offs and isn't really "perfect" for security (but is "forced" on us by underlying Symfony HTTP setup with getting the client IP address).
I hope that doesn't come off as negative to Symfony, the work everyones done there is amazing.

Hi @iamriajul. It seems we can conclude that this is more a Symfony issue than a Laravel issue so feel free to open an issue on their tracker, thanks!

Instead of protected $proxies = '*'; // not working you can try protected $proxies = '<IP_ADDRESS>/0'; // working
For some reason it worked for me, though I don't see it documented anywhere...

Worked for us!

Instead of protected $proxies = '*'; // not working you can try protected $proxies = '<IP_ADDRESS>/0'; // working
For some reason it worked for me, though I don't see it documented anywhere...

Worked for me too, thank you very much!


Unable to specify multiple providers in gradle.build

I have 2 different providers with the same consumer. I'm trying the following configuration in gradle.build:
pact {
serviceProviders {

	provider-1 {
         //All the provider properties are optional, and have sensible defaults (shown below)
        			protocol = 'http'
        			host = 'localhost'
        			port = 8080
        			path = '/'

         //Again, you can define as many consumers for each provider as you need, but each must have a unique name
        			hasPactWith('consumer-1') {

        				// currently supports a file path using file() or a URL using url()
        				pactFile = file('src/test/consumer-pacts/consumer-1-provider-1.json')

        			}
        }

	provider-2 {
         //All the provider properties are optional, and have sensible defaults (shown below)
        			protocol = 'http'
        			host = 'localhost'
        			port = 8080
        			path = '/'

         //Again, you can define as many consumers for each provider as you need, but each must have a unique name
        			hasPactWith('consumer-1') {

        				// currently supports a file path using file() or a URL using url()
        				pactFile = file('src/test/consumer-pacts/consumer-1-provider-2.json')

        			}
	}

}

my plugin version: id "au.com.dius.pact" version "3.3.6"
It is either a bug or I can't find the correct way to specify more than 1 provider.
Error I get:
FAILURE: Build failed with an exception.

What went wrong:
java.lang.UnsupportedClassVersionError: au/com/dius/pact/provider/gradle/PactPlugin : Unsupported major.minor version 52.0

au/com/dius/pact/provider/gradle/PactPlugin : Unsupported major.minor version 52.0

The 3.x versions of pact jvm require Java 8. Refer to https://github.com/DiUS/pact-jvm#supported-jdk-and-specification-versions for more info.


OS X: Mouse wheel doesn't work on resource exporter

To reproduce just hover the mouse pointer on the Resources to Export: list and rotate the mouse wheel.

It's working fine now, thanks.


feat: dotenv

:sparkles: Enhancement
Closes #34.

:white_check_mark: Checklist

[x] Following CODE_OF_CONDUCT.md.
[x] Checked for duplicate pull requests
[x] Title is a summary of the change, in present tense, ideally < 50 characters
[x] Pulling from a branch (right side), not master.
[x] Pulling into master branch (left side).
[x] Fixing a bug? An open bug report exists.
[x] Breaking API changes? Migration notes attached.
[x] Changed relevant files in templates directory.
[x] Ready for review

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


ZEPPELIN-4081. when the python process is killed,the task state is still running

What is this PR for?
This PR will break python code execution if the python process is existed. Besides that, I also improve the error message for ipython interpreter although it doesn't have such issue.
What type of PR is it?
[Bug Fix]
Todos

[ ] - Task

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-4081

How should this be tested?

Unit test is added

Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

For Ipython, there is a potential issue where the ipython server does not die, but the ipython kernel does.
I just open a PR: https://github.com/apache/zeppelin/pull/3339
it is not ready yet because need to do some cleanup, but wanted to bring it because those 2 pr could be related.

@felixcheung I have added it in LICENCE. @AyWa Thanks for your caring on ipython.

Will merge if no more comments

Sorry @AyWa  I just reverted this PR, because I found it may cause travis CI failed.

Hey,
you mean https://github.com/apache/zeppelin/pull/3339 ? No worries should I looks to something ?

@AyWa Sorry again, I merge your PR again, because I found the Ci fail is due to JVM memory setting. I have fixed it in https://github.com/apache/zeppelin/commit/1a8667c655bb848fd2d07e1fe94092190454a5dd


Update for Pre-patch/Shadowlands

Looks like this addon is throwing an error on load. Would be great to have this working again as I prefer it to ElitismHelper.
Message: Interface\AddOns\Details_Elitism\Core.lua:797: Usage: SecureHook([object], method, [handler]): Attempting to hook a non existing target
Time: Wed Oct 21 10:16:04 2020
Count: 1
Stack: Interface\AddOns\Details_Elitism\Core.lua:797: Usage: SecureHook([object], method, [handler]): Attempting to hook a non existing target
[string "=[C]"]: ?
[string "@Interface\AddOns\Details_Elitism\Libs\AceHook-3.0\AceHook-3.0.lua"]:211: in function <...Ons\Details_Elitism\Libs\AceHook-3.0\AceHook-3.0.lua:118>
[string "@Interface\AddOns\Details_Elitism\Libs\AceHook-3.0\AceHook-3.0.lua"]:341: in function `SecureHook'
[string "@Interface\AddOns\Details_Elitism\Core.lua"]:797: in function <Interface\AddOns\Details_Elitism\Core.lua:782>
[string "=[C]"]: ?
[string "@Interface\AddOns\Details\Libs\AceAddon-3.0\AceAddon-3.0.lua"]:70: in function <...ce\AddOns\Details\Libs\AceAddon-3.0\AceAddon-3.0.lua:65>
[string "@Interface\AddOns\Details\Libs\AceAddon-3.0\AceAddon-3.0.lua"]:498: in function `InitializeAddon'
[string "@Interface\AddOns\Details\Libs\AceAddon-3.0\AceAddon-3.0.lua"]:623: in function <...ce\AddOns\Details\Libs\AceAddon-3.0\AceAddon-3.0.lua:615>

Locals: <none>

Hey @timmywil . My girlfriend and I have been banned for unknown reasons (we've been banned with a difference of minutes but were given different reasons) and our appeals pretty much fell flat. So unless blizzard decides to unban us I won't be able to fix it until December when the ban expires. Sorry!

@timmywil - made some recent changes that should fix the issue: https://github.com/edusperoni/Details_Elitism/pull/2

Seems to work again. Thanks! 🎉


Vibration stops after 5 seconds

Hi, I'm actually not sure if this is an issue with the DS4 or DS4 for windows, but upon a little testing (I'm writing a game) I have found that the controller stops vibrating after 5 seconds even when recieving continuous commands to do so. Actually, the controller will pause for 5 seconds and then resume vibrating again for 5 seconds, pause again, etc in a continuous loop.  I've tested my script on both a DS4 and an Xbox One controller and the XB works as expected, vibrating until told otherwise.
Not a big issue to me, but was more or less curious and trying to get to the cause.

Spotted same behavior. Any idea is this a bug or not?


add clearAll for cacheDir

When my custom cache directory , I want to delete all , but can not. Please forgive me for not English , it is translated out, thanks

Thanks!


improve the footer

The footer UI is not good. improve the footer UI by making responesiveness
please assign me @pa under the gssoc ext and hacktoberfest

Pls assign me this issue?

I wanna work on this . Please assign it to me

hey assign it to me i want to work on this issue

@jayanththalla   please assign me this as this is not resolved yet. I have good knowledge of frontend development.


User with UPN suffix changed will not able to login (enter ADFS authentication loop)

Storage Explorer Version: 1.2.0
Platform/OS Version: Windows 10 Version 1703 (OS Build : 15063.1155)
Architecture: ia32
Regression From: n/a
Steps to Reproduce:

Setup a AAD : e.g. vilinlab1.onmicrosoft.com
Setup two custom domain:

vilin.msftonlinelab.com
vilinlab1.cu.cc

Setup AAD Connect to federate with On-Prem's ADFS server with custom domain (vilin.msftonlinelab.com)
Setup one user so the UPN is like  - e.g<EMAIL_ADDRESS>Install Azure Storage Explorer and login with<EMAIL_ADDRESS>---> it works fine
Run AAD Connect again to change the federation domain to vilinlab1.cu.cc
Change the user UPN suffix -- e.g<EMAIL_ADDRESS>to<EMAIL_ADDRESS>Confirm the modification has been synced to Azure AD
When the access/refresh token expired, open Azure Storage Explorer again. in account tab , it will be  prompted to reenter the credentials. However when we reenter the credential. It will enter the following loop:
a.  enter<EMAIL_ADDRESS>b.  it will redirect to ADFS for authentication & enter password
c.  wait for a while, it will still show redirecting to your organization then redirect to ADFS again.
d. after enter credential, it will still be redirected to ADFS again.
If we login the user -<EMAIL_ADDRESS>on other windows machine. It works fine so it should not be Azure AD or ADFS issue
try to uninstall/reinstall Azure Storage Explorer on problematic client. The issue still occurs.

Expected Experience:
After we change the user's UPN suffix, we should still able to login with new UPN
Actual Experience:

User will not able to login with new UPN and it enters loop for ADFS authentication

Could you help on this issue? I also try to perform the below actions but I can only perform the #1/#2.
I cannot find the files in #3 so the issue still occurs, please advise it. Thanks
Cleaning up Cache files (Windows)

Make sure you have installed latest version of Storage Explorer.
Navigate to %appData%/StorageExplorer.  Delete the contents of the cache folders.
Delete the contents of sign-in cache files if the issue is related to sign in.  They are in:
C:\users\username.adalcache
c:\users\username.devaccounts
c:\users\username.extaccounts

If the users UPN has changed then the identity cache needs to be cleared since AAD will send the same identity GUID but different ID token content. ADAL does not note the updated UPN information and therefore does not handle updating the cache correctly.
To clear the identity cache, close Storage Explorer and then delete %localappdata%.identityservice. This will delete the account store and the adal cache, at which point you can try adding the account again.

After clearing the files in %localappdata%.identityservice, we can add the account without issue. Thanks for the information.

Closing since you became unblocked. 😄


[css] react-select only in theme

@graceguo-supercat

Coverage remained the same at 69.39% when pulling 86921aa6658a2f01f95718c460b656bc9ea661bb on mistercrunch:fix_style into 254645773ccfcf5693237a15a8f123a4b0fd208a on apache:master.

Coverage remained the same at 69.39% when pulling 86921aa6658a2f01f95718c460b656bc9ea661bb on mistercrunch:fix_style into 254645773ccfcf5693237a15a8f123a4b0fd208a on apache:master.

LGTM!


Load autorest command line args

Previously, we only loaded a single argument "packageName", but really, we should be loading all supported autorest arguments. This will allow us to customize code generation based on command line args and/or use of the README.md file.

/check-enforcer evaluate

/check-enforcer evaluate


Fixed TypeError: Assignment to constant variable

Fixed TypeError: Assignment to constant variable when auto-detection of kind of variables is inserted const variables for controlFlowStorage nodes

Coverage increased (+0.0004%) to 98.463% when pulling 1277acea20c1e5c1b4c822e8e44c885b5a640404 on prevailing-kind-of-variables-control-flow-fix into f39b8a99fe1ae49858e7a4d8da5f86d44c2a5b30 on master.


Use targetVersion to decide which Generated annotation to add

Closes #1474, closes #1473, closes #1361

Would it possibly close https://github.com/joelittlejohn/jsonschema2pojo/issues/1255 as well ?


enhancement - Angelist

We should have the ability to toggle names/images on off on angelist the same way we currently have for linkedin with individual settings

Closing as @bhavyaSA has tackled this already


where is file named train_ssd.py ?

my environment is
jetpack 4.4 , python 3.6.9, torch1.6.0, torchvision 0.7.0a0+78ed10c
======================
I would like to train my detection dataset.  So, I found train_ssd.py to train after collecting my pictures taken by camera-capture program. below url is what I saw.
https://github.com/dusty-nv/jetson-inference/blob/master/docs/pytorch-collect-detection.md
But,, there is no train_ssd.py in jetson-inference/python/training/detection/ssd
How can I get train_ssd.py ? I built the project from source not docker

@bskkim1999 when you cloned the repo, did you use --recursive ?
If not, you can use git submodule update --init
https://github.com/dusty-nv/jetson-inference/blob/master/docs/building-repo-2.md#cloning-the-repo

@dusty-nv
I used "git submodule update --init" not "--recursive".
But I can execute "train_ssd.py" by clone "pytorch-ssd" you uploaded.
https://github.com/dusty-nv/pytorch-ssd/tree/6accaa88845ec135a7d6fe25e9a26afd4698639d
anyway, thank you for your help!!


Optimize or analyse colocate group can easily got into unstable state

Enhancement
A single unhealthy tablet can make the entire colocate group unstable, further making colocate join unavailable which will have a big impact on query performance.

won't do


Update popover.js

Short description of what this resolves:
Changes proposed in this pull request:

Ionic Version: 1.x / 2.x
Fixes: #
changed a verb to an adjective since it was in front of a noun and makes sense within the context

Thanks @silvermanj7!
Thanks,
Dan


ci: Add automatic versioning

Also:

Update workflow node version
Remove generated artifact from workflow

Probably more realistic to just manually bump version before releases instead due to course setup


Add Xamarin.Mac.NET (xamarinmacnet) TFM

This simply adds recognition of the xamarinmacnet TFM to NuGet 2.x.
The analogous change in NuGet 3.x is here: https://github.com/NuGet/NuGet.Client/pull/562
Some additional work to be done is to add compatibility mappings to NuGet 2.x for xamarinmacnet, dotnet, netstandard, netstandardapp, and netcoreapp.
@emgarten @yishaigalatzer @xavierdecoster @alpaix

Hi @joelverhagen, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

:shipit:

Note that this will go into the 2.12 branch, not 2.11.

Closing this PR as there has been no traction from the Xamarin folks. This can be reopened, if needed.


How to delete an app if you are not the owner?

I've been searching and searching!

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 7874276c-511b-487b-ae04-41177088e68f
Version Independent ID: fa9093d6-5fa9-12f8-8ad3-e6c8fdc8e552
Content: Delete a canvas app - PowerApps
Content Source: powerapps-docs/maker/canvas-apps/delete-app.md
Service: powerapps
GitHub Login: @linhtranms
Microsoft Alias: litran

Thank you for the follow up, content is updated including deletion of an app when owner is unavailable and share permission. Please allow some time for the content to reflect the changes.


Port to Sailfish?

Reported by zeip on 28 Dec 2013 23:43 UTC
It'd be great if FreeOTP was ported for Sailfish also; currently there's no native app for TOTP authentication and FreeOTP is the best app there is for that :)

Sorry, no.


Duplicated page

This page is duplicated, there is another page with the same name in this path

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 589d117b-63dd-8a9c-974a-6423c301ce27
Version Independent ID: 9bd34c82-a8fa-1d48-e4b4-f271f0d6f15e
Content: Custom model lifecycle- Document Intelligence (formerly Form Recognizer) - Azure AI services
Content Source: articles/ai-services/document-intelligence/concept-custom-lifecycle.md
Service: azure-ai-document-intelligence
GitHub Login: @laujan
Microsoft Alias: lajanuar

@MahdiSheikhi
Thanks for your feedback! We will investigate and update as appropriate.

Hi @MahdiSheikhi
Could you please provide similar page for this duplicate page.

Hi @Naveenommi-MSFT
You can find it on left menu

@laujan
Could you please review add comments on this, update as appropriate.


Added method to download attachment into byte array

Made it possible to download attachments into a byte array, so you are no longer forced to write them to a file.
For example when you want to send an attachment from one guild to another one.

This will already be addressed in experimental/message-rw

Oh, let me take a look at that.

Yeah, should grant me access to what I want in the future.


Adding PX4 precompiled 1.6.5 Firmwares

Feature Request
As the Firmware 1.7.0 is in release candidate phase; it might be good to publish all the precompiled Firmware 1.6.5 release in the release as it is one of the widely used.

We still have them in the CI system. I'll look at posting them to the github releases.

How's that? https://github.com/PX4/Firmware/releases/tag/v1.6.5

Wonderful, thanks :)

The CI system is currently in flux, but once it settles we can automate this.


Add tuple utility functions from rdf4cpp

Specifically those from namespace rdf4cpp::rdf::storage::node::reference_node_storage::specialization_detail

#34


Fix build and update examples

li needed to Output in its type before it could build.
I've updated the examples to the latest version.

No, those are unintentional. I commented those out to check if the type annotation was preventing it from type checking correctly, but I think they're the correct type. I can check in a bit.

Thanks a lot @andrew-lei. The PR looks really good 👍  All the examples are correctly adapted to the changes in Turbine and Hareactive.
There's just two type annotations that have been commented out? Was that intentional?
May I ask how you found purescript-turbine? Please ask any questions that you may have with regards to the framework. I'm currently working on finishing the TodoMVC example and a small personal project based on purescript-turbine. Once they're done and issues have been ironed out I plan to write some documentation.

I was looking up PureScript frameworks, and this was on a list that was the first Google result for that: https://github.com/passy/awesome-purescript

Ah. I didn't no Turbine was on that list :smile: But, the project isn't really ready for general usage yet. It'll probably get there in a couple of months.

I think it looks complete enough for my purposes. I was wanting to try and do the 'Excel 365 in 60 minutes' talk (which was in F#/Fable), and I think all the ingredients are there. I'll let you know how it goes.

OK those have now been uncommented.

The biggest thing missing right now is probably routing. But yes, all the fundamentals are in place.

I'll let you know how it goes.

Definitely, do that. And let me know if you have any questions!


Find n’th Fibonacci number

This is a(n):

[x] New algorithm
[ ] Update to an existing algorithm
[ ] Error

Details:

Find n’th Fibonacci number in /Code/math/ section

Sure @Aaryan2808

Sure @Aaryan2808

@Princeton21 i've create the issue for the same, please assign it to me

Hi @Princeton21, I worked on this issue via the #373 PR.


Archive labels

Feature Description
Sometimes, old labels should not be used anymore.
For Gitea, for example, those are the backport/v* labels.
Currently, the only way to stop them from polluting the search results when trying to assign labels to an issue or PR is to delete them completely.
However, this has the drawback that any old issue/PR that had that label loses it, thus losing information.
Instead, it would probably be better to filter out archived labels from the search results and keep them for anything that already has these labels.
So, in a sense, what I propose is a sort of soft deletion for labels (except instead of a boolean we store a timestamp that means unarchived when 0 and displays when this label was archived).
This also aligns with milestones and projects as you can close both already, which is their equivalent of archiving.
Labels are currently an outlier in their behavior among the "three scrum tools".
Proposed Approach

Add a checkbox archive(d) on the edit label screen (and to the PATCH API route /repos/{owner}/{repo}/labels/{id})
when editing a label and it is newly archived, store ArchivedUnix timestamp(now) inside the db
when a label is edited and no longer archived, set the archived timestamp to 0
when viewing a specific issue/ the issue list, display all labels on all issues
Behavior unclear yet:

when assigning labels to an issue, should we only suggest unarchived labels?
when viewing the issue list, should we suggest searching by archived labels as well?
in both these cases, these are the available approaches:

add a checkbox include archived labels inside the suggestion box that is de-selected by default, and re-triggers the search when changed. Needs a lot of UI changes
do not suggest them unless they are entered exactly into the search field. Doesn't need a lot of UI changes except it should only be shown when the name matches exactly

do we count the number of unarchived labels or the number of all labels as the number of labels?

 Please assign this to me.

Yes, of course.
However, I'd like to know your opinion regarding the

Behavior unclear yet

paragraph before you start implementing it.

want to enhance the web skills

By the way, what do you mean with web skills? The feature as I've described it is rather a backend feature than a frontend feature.

I work on majorly golang and js. Just got started in open source contribution. 💯

Due to time shortage, I will share my initial finding soon, tomorrrow!.

Understanding the requirements→
Understanding of ISSUES/LABELS/PROJECTS/MILESTONES

Labels are independents of ISSUES, PROJECTS and MILESTONES.
Issues are independents of Labels, PROJECTS and MILESTONES.

What I mean by independent is, they can be individually exist.

Milestone can be a part of project or as  independent defined.
Similarly Project can be a independently defined.
Both milestone and project contains issues.
So Labels are the independent entity among all.

About milestone →
a. If any milestone is closed explicitly it does not mean the attached issues are closed automatically.
b. If all the issues and pr are completed or closed then the mile stone will automatically or implicitly completed.

That means from point a and b if mile stone is closed, then we need to archive the labels. No matter is issues are completed or closed state.

About project→
a. If any project is closed explicitly it does not mean the attached issues are closed automatically.

That means from point a  is closed, then we need to archive the labels.

From point 1 and 2 above if any milestone and project close, then we need to also set in the prompt to archive the labels attached to them.

About Labels→

These are the independent entity can be attached to PR, ISSUES, MILESTONES and PROJECTS.
So we can individually archive each and every label explicitly if we want. It will not make affect on the status [open/close] of  PR, ISSUES, MILESTONES and PROJECTS.
That means PR, ISSUES, MILESTONES and PROJECTS can have archived labels. But in search functionality we have to check the “Include Archive Option”.

Solution Proposed →

Backend side →

Add a checkbox archive(d) on the edit label screen (and to the PATCH API route /repos/{owner}/{repo}/labels/{id})
When editing a label and it is newly archived, store ArchivedUnix timestamp(now) inside the db
When a label is edited and no longer archived, set the archived timestamp to 0

2 Frontend side →

Add a archive checkbox in the add label modal box. Similarly with edit modal box.

Issues Listing on the UI →

when viewing a specific issue/ the issue list, display all labels on all issues  #1

Yes, by default all the issues should be populated in the list including archived labels tagged issues too.
Motivation → we are on the landing page of issues and we should show all the issues including archived labeled.

Behaviour unclear yet:
when assigning labels to an issue, should we only suggest unarchived labels? #2

Yes, by default we should only suggest the unarchived label. We should provide an option “Exclude Archive Label” enabled by default. If the “Exclude Archive Label” is set unchecked we should display the archived labels as well.
Special use case to keep “Exclude Archive Label” in the search list of label as below. As we have currently 3 version of Gitea to maintain 1.19, 1.20 and 1.21rc, there will be bug fixes in we need to release the minor version . So taking the “backport/*” labels,  if any new maintainer comes and he/she doesn’t have understanding of labels , which label should be tagged to the issue or pr. Obviously we have archived the labels of old versions. So if we select couple of issues in the issue-action menu we should give this option to user to see the unarchived labels as well.

in both these cases, these are the available approaches: #3

add a checkbox include archived labels inside the suggestion box that is de-selected by default, and re-triggers the search when changed. Needs a lot of UI changes
do not suggest them unless they are entered exactly into the search field. Doesn't need a lot of UI changes except it should only be shown when the name matches exactly

In this case lets go with option 2. Yes UI changes will be less and but we give the user an option to “Exclude Archive Label” in the search list as well as in issue-action menu to ease the work. Motivation is the same as #2.

do we count the number of unarchived labels or the number of all labels as the number of labels?

No, we don’t need count number of unarchived labels or total labels. But if we want we can put a filter in label screen to filter this number. But I am highly encourage not to put in ISSUE/Milestone/PR/Project screen. It will be overkill. And we count the number of issues/pr tagged a particular label. Not the label itself.
PS:
I have two more scenario.

If any milestone reopen then do we need to provide the option to unarchive the labels as well or it should be implicit that we should unarchive the label of those milestone.
Similar goes with project.

I am open for all suggestions and feedback. will be grateful.

Okay, I think I got the gist of what you're trying to say.
As I understand your message, you basically reference two different states at the same time, namely the optimal behavior you expect projects, milestones, and labels to have, and the solution you want implemented.
Here are my thoughts about that:
1.

No, we don’t need count number of unarchived labels or total labels

I meant this counter:

But apparently, I was too used to GitHubs appearance when writing the original message as I thought of this label counter that Gitea doesn't have (yet?):

That has also shown me an edge case I haven't considered yet:
We should show archived labels on the labels page in a subsection that is hidden by default (i.e. a Archived labels…) as you rarely want to edit them once they are archived.

Behaviour unclear yet:
when assigning labels to an issue, should we only suggest unarchived labels? https://github.com/go-gitea/gitea/pull/2

Yes, by default we should only suggest the unarchived label. We should provide an option “Exclude Archive Label” enabled by default. If the “Exclude Archive Label” is set unchecked we should display the archived labels as well.

Special use case to keep “Exclude Archive Label” in the search list of label as below. As we have currently 3 version of Gitea to maintain 1.19, 1.20 and 1.21rc, there will be bug fixes in we need to release the minor version . So taking the “backport/*” labels, if any new maintainer comes and he/she doesn’t have understanding of labels , which label should be tagged to the issue or pr. Obviously we have archived the labels of old versions. So if we select couple of issues in the issue-action menu we should give this option to user to see the unarchived labels as well.

in both these cases, these are the available approaches: https://github.com/go-gitea/gitea/pull/3
add a checkbox include archived labels inside the suggestion box that is de-selected by default, and re-triggers the search when changed. Needs a lot of UI changes
do not suggest them unless they are entered exactly into the search field. Doesn't need a lot of UI changes except it should only be shown when the name matches exactly

In this case lets go with option 2. Yes UI changes will be less and but we give the user an option to “Exclude Archive Label” in the search list as well as in issue-action menu to ease the work. Motivation is the same as https://github.com/go-gitea/gitea/pull/2.

I think something got "lost in translation" there:
I meant that as "we have 2 cases to consider with the same 2 available solutions each time".
I don't quite understand why you are suggesting both UIs for different situations (I think? I have huge problems understanding these paragraphs)

You won't implement the auto-archival in the initial PR, correct?
After all, the smaller a PR, the more likely it is to get merged.
Additionally, reviewers will likely oppose your proposed automation (which in the worst case blocks a PR from being merged forever) and requires a lot of further discussion before being implemented.
So, it's better to extract it into a follow-up PR, if at all.

I haven't quite understood how exactly you define which labels should be archived once a milestone is closed.
You of course don't want to close all labels that appear in any issue of the milestone.
So, you would probably need to store a list of milestone-specific labels to close once the milestone is closed., or what do you suggest there?

Phew, I think I got everything.

I appreciate your feedback, and I agree with points 1, 3, and 4 as you mentioned. Regarding point 2, I should have attach the screenshots earlier. It would have been helpful to provide visual evidence from my side.
I have carefully considered your feedback and taken into account your points, along with my own thoughts. Together, we have reached the following approach or conclusion.

According to the github ui on issues and pr view we can add the labels count.
Github ui:

If you see the milestone only open milestone count are there.

Github does not have archival label feature yet for labels.
For Gitea UI :
Total number of labels will be good to show. Issue/Pr screen.
Current screen of gitea:

After added count:

The count is total number of labels including archived.

In the current label screen in gitea →

Github UI:

There is no count on label button, and total count is down.
After archival labels features in gitea →

Label title will remain same.

We will categories the label count into non archived label and archived label.

Non archived label →  <count> label , where is count is the number of non archived labels and "label" as the text for count.
Archived label  →  <count> archived,  where is count is the number of  archived labels and "archived" as the text.

For example

Will be anchor tag grey in color. “2 archived” will be a separate tab in Label window in gitea as below screen shot

Current label drop down in gitea when not selecting any issue/pr →

When adding archive functionality when not selecting any issue  →

When clicking on issue and then inside “Label” menu we will list the archived labels at the end.

Implementation Proposed →

Backend side →

Add a checkbox archive(d) on the edit label screen (and to the PATCH API route /repos/{owner}/{repo}/labels/{id})
When editing a label and it is newly archived, store ArchivedUnix timestamp(now) inside the db
When a label is edited and no longer archived, set the archived timestamp to 0

2 Frontend side →

Add a archive checkbox in the add label modal box. Similarly with edit modal box.

New Label→

Edit Label→

I am open for further discussion.
cc// @delvh

I dont think we need a filter for issues based on archived labels ... rather just use as is but sort them with lower prio ...

Also i would not add a lable counter as this has no helpfull information but will take space in ui. we dont have to port bad stuff from gh over to us

Also i would not add a lable counter as this has no helpfull information but will take space in ui. we dont have to port bad stuff from gh over to us

It was suggested by delvh. whatever suits the best on the issue screen as ui point of view.
Feedback Noted.

I dont think we need a filter for issues based on archived labels ... rather just use as is but sort them with lower prio ...

Which screen shot you are referring, Could you please help me on that?

Uh yes if this is a button to filter the displayed lables to select, then its an awesome feature but should be visible distinguish from the other "issue pre filters"

Your understanding is correct. Let me rephrase this with intuitive way. I am gonna make some changes in UI.

By default we will not show any "Archived Label" in the label filter list. Ui will be as below.

We are providing a filter

When the filter is enabled. Archived labels will be included in archive label list, as per below screenshot.

When you search the label, that can be an archived  or non archived, as per below screenshot.

Remaining functionalities will remain the same as current version.

awesome ui mockup!!! - ACK :)

cc// @puni9869

New Label→

I haven't quite understood yet why we should display it on the new label screen.
Who wants to create a label and immediately archive it?
That sounds too rare to me to clutter up the UI here.
This is one of the rare instances where I think that omitting (this) functionality is better than including it.

Feedback Noted.  I thought we are sharing the same modal for editing and new label stuff.
Will remove it from New Label. 💯

Updates in designs:
Addding a info button on edit label model.

resolved by #26478

Erm, no.
Only the backend structure exists yet, they are not yet handled specially.

cc/ @delvh
Screenshots Updated
When no labels

When all labels are unarchived/active

When we have archived and unarchived labels both but unarchived/active label tab is active

When we have archived and unarchived labels both but unarchived label tab is active

Marking again archived label unarchive.

Sort Archived Label reversealphabetically

Tool Tip added for new feature indication near Archived Label Count on both archived and active/unarchived page

I need your feedback on the UI  for archiving label functionality

Please see this pull request description, there are screenshot attached to it. This is approach number 1.
https://github.com/go-gitea/gitea/pull/26502

Please see these screenshots in the commends as below , approach2
https://github.com/go-gitea/gitea/pull/26511#discussion_r1302145199

I  have one more approach that, we will not show  the below option Show archived labels to user for now.

We will give the entire list of labels with a hint Archived  adjacent to label name.

On hovering over the  Archived   I will show the tooltip.

and in upcoming PR I will research and try to find the perfect UI for label screen where we can put this on screen.
These are the option I have implemented or came so far.
Open for suggestions.

Do labels actually hide currently on latest dev commit? Or just label status=archives is implemented as a flag? Because we have org-level labels, which are marked as archived, but I can see them everywhere still (on the issue list filter, at issue page in labels select).

Both:
The flag is implemented, but the labels are not really hidden yet.
The commit above your message brought the first step of hiding them with the rest yet to follow.

Both: The flag is implemented, but the labels are not really hidden yet. The commit above your message brought the first step of "hiding" them with the rest yet to follow.

Alright, thank you

Do labels actually hide currently on latest dev commit? Or just label status=archives is implemented as a flag? Because we have org-level labels, which are marked as archived, but I can see them everywhere still (on the issue list filter, at issue page in labels select).

Currently this is WIP, will be out in stable release 1.21. Less work is left to support this feature. 😄


Mention core-designsystem module in the modularization journey docs

Closes #189

@dturner thanks for the updated wording 👍
Although backticks should not be used since we are writing inside an html table.
I'll update it on HEAD if that's ok.

#801


contract not responds to any action after uploading to local node

dawn 2.0
this simple contract not responds to any action called to it, no output to console that smth is working there even with   --contracts-console  option for nodeos

#include <eosiolib/eosio.hpp>
#include <eosiolib/print.hpp>

class membrana : public eosio::contract {
  public:
    membrana(account_name self)
      :eosio::contract(self),
      todos(_self, _self)
      {}

    // @abi action
    void create(account_name author, const uint32_t id, const std::string& description) {
      todos.emplace(author, [&](auto& new_todo) {
        new_todo.id  = id;
        new_todo.description = description;
        new_todo.completed = 0;
      });

      eosio::print("todo#", id, " created");
    }

    // @abi action
    void destroy(account_name author, const uint32_t id) {
      auto todo_lookup = todos.find(id);
      todos.erase(todo_lookup);

      eosio::print("todo#", id, " destroyed");
    }

    // @abi action
    void complete(account_name author, const uint32_t id) {
      auto todo_lookup = todos.find(id);
      eosio_assert(todo_lookup != todos.end(), "Todo does not exist");

      todos.modify(todo_lookup, author, [&](auto& modifiable_todo) {
        modifiable_todo.completed = 1;
      });

      eosio::print("todo#", id, " marked as complete");
    }

  private:
    // @abi table todos i64
    struct todo {
      uint64_t id;
      std::string description;
      uint64_t completed;

      uint64_t primary_key() const { return id; }
      EOSLIB_SERIALIZE(todo, (id)(description)(completed))
    };

    typedef eosio::multi_index<N(todos), todo> todo_table;
    todo_table todos;
};

EOSIO_ABI(membrana, (create)(complete)(destroy))

i tried
cleos push action membrana create '["dev", 1, "feed cat"]' -p dev
it is not working
here is how contract compiled and uploded

Created a fresh account
cleos create account eosio newaccount EOS79TwoaKtEtMCCcBh7Jq8CJDyxAmiMwA5AckvWPARFGvQFTXL1c EOS79TwoaKtEtMCCcBh7Jq8CJDyxAmiMwA5AckvWPARFGvQFTXL1c
Then deployed the contract
cleos set contract mynewaccount /tmp/build/contracts/membrana/ -p mynewaccount
Then pushed a create action over,
cleos push action newaccount create '["newaccount", 1, "feed cat"]'
returned
#    newaccount <= newaccount::create           {"author":"newaccount","id":1,"description":"feed cat"}
>> todo#1 created
warning: transaction executed locally, but may not be confirmed by the network yet

Looks good on this end.

ok thanks, can you please share config.ini of nodeos ?
and how you launch nodeos maybe something is wrong on my side

John is it dawn 4.2 u are using?

You need to add --contracts-console to see print statements.

It is not solved issue @heifner @Velua
trying --contracts-console not works, reinstalling eosio not helps
the problem here is that in some reason contract that was published to to local blockchain node is not visible
so I publish contract cleos set contract developer ./hello -p developer
then cleos push action hello hi '["user"]' -p user
Error 3060004: Contract Query Exception
Most likely, the given contract doesnt' exist in the blockchain.
Error Details:
Contract can't be found hello

trying cleos get code -a hello.abi hello
2809933ms thread-0   main.cpp:2584                 main                 ] Failed with error: unspecified (0)
unknown key

may it be it is some problem with keosd on my side ?

@alzozov Not sure if you have solved the problem. If you deploy the contract by cleos set contract developer ./hello -p developer, you need to replace the hello in the contract execution with developer. This is a bit confusing to me as the manual of cleos push action says cleos push action [OPTIONS] contract action data. Obviously, the contract should be account which deployed the smart contract.

@yunjiali yes it worked, thx.
Had you implemented sending eos coins from contract account (inside from contract) to other user ?

@alzozov Not yet. I am still new to EOS and trying to learn the basic concepts :)


Adding FavIcon to the Website

Can I work on this issue?

Can I work on this issue?

yup sure @Grace-Hephzibah .....pls add ss before adding a pr

Sure.


Create a podspec

Would be really nice to have a podspec the same way react-native-fbsdk (https://github.com/facebook/react-native-fbsdk/blob/master/react-native-fbsdklogin/react-native-fbsdklogin.podspec) does.
To install the project in an IOS app with cocoapods woud be as simple as:
pod 'react-native-material-kit', :path => 'node_modules/react-native-material-kit'

Thanks for the advice. Will look into it.

If you want I could do a PR :)

Sure, thank you!


Task type does only change visually

Describe the bug
User tasks can be converted to a service task. At least the icon of the task changes from a human to a gear. But if you check the properties of the newly converted service task, you will see that they belong to a user task and not to a service task. An example for a property is the Asynchronous continuations. Normally, a user task has only two checkboxes (Before, After) as Asynchronous continuations options. A service task has three (Before, After, Exclusive). But the newly converted service task only displays two of three as if it is a user task. This behaviour also exists when you convert a service task to a user task
Steps to reproduce

Add user task
Add service task
Compare the properties from both of them --> you will see that they have different options for asynchronous continuations property
Convert user task to service task

Expected behavior
E.g. a user task should be converted visually and more important technically to a service task or vice versa.
Environment

OS: Windows 10
Camunda Modeler Version: 5.9.0
Execution Platform: Camunda Platform 7
Installed plug-ins: Transaction Boundaries

Additional context
No response

Hi @mxsenel ,
I can not reproduce this issue. Both Service and User Tasks have the async continuation options of Before/After/Exclusive.
Can you please share a screenshot or recoding of the bug to help us understand what problem you are facing?
Thank you!

Let's close this due to inactivity and re-open there are any updates


Listed products in CVE upconversion is not the same

Our CVEs usually show the main version number as a product on it's own where as the new JSON5.0 upconversion combines it all together. We would like to change the JSON file behind the JSON5.0 to reflect this.

Can you please share examples?

@KarmzL I don't think I fully follow what is being asked for here. Would you provide an example that shows the original JSON 5.0 data and how you would like the data to be expressed instead?

No updates or additional examples provided. Closing


jq missing from client - Lab 0 - step 2.2 fails

When attempting to run bash check_my_answer.sh it fails because jq is not installed on the client.
Once installed via: sudo apt install jq
The tests work as expected.
Note: Do not install jq with sudo snap install jq - permissions issues will prevent jq from opening the files for testing.

@dober-man, can you confirm if you were leveraging version 5 of the UDF blueprint? Thank you

confirmed ty


Revert "Merge #8386"

This reverts commit 31d2b3b9cb75a09c93655b38377ed5f4144ebaf0, reversing
changes made to 1643d1534b92eef1cf55631aba3ca9289c3cea72.
(Testing the accidentally quadratic test)
bors try

Science works!


Image height and width is not getting rendered

Describe the bug
When the height and width attributes appear in an image, they do not get rendered in the HTML.
The delta code which generates the Problem
Example:
{"ops":[{"attributes":{"height":"141","width":"210","color":"#000000","background":"transparent"},"insert":{"image":"https://lh6.googleusercontent.com/XhTtDRQlxIzcbEk-lQ38XDV0p4Gg7A0vYrP-r6huUZXyoGDMdKcb7jkl5i31BfQPGAhK3Yk_AEUrw1e8fEdCxWLVCl2UCzPHoAXDg4HqK_KlUGH4IdnZKyPqVLkyCm5PFFJ-AAEEclxnQX7jvnxm7aw"}},{"insert":"\n"}]}

The expected html output the delta should produce
Example (Expected)

Actual:

Expected behavior
height="141px" width="210px" should appear when "height":"141","width":"210" appears in the attributes.
Screenshots
Actual:

Expected:

Additional context
These attributes appear in quill after pasting from a Google doc with a resized image.

👍 i will take a look asap

Thanks for the quick fix!

Welcome, its no released s version 3.2.0