[BUG]

Title
openai.BadRequestError: Error code: 400 - {'error': {'code': 'invalid_type', 'param': 'messages[0].content', 'message': "Invalid type for 'messages[0].content': expected one of a string or array of objects, but got an object instead.", 'type': 'invalid_request_error'}}
Description
(Agent-E) D:\Platform\Agent-E>python -m ae.main

Creating AutogenWrapper with ['user', 'planner_agent', 'browser_nav_agent', 'browser_nav_executor'] and 1000 rounds.
INFO:ae.utils.logger:Using model qwen2-72b-instruct for AutoGen from the environment variables.
Created browser_nav_executor_agent: <ae.utils.autogen_sequential_function_call.UserProxyAgent_SequentialFunctionExecution object at 0x000002DE7D476750>
INFO:ae.utils.logger:User preferences loaded from: D:\Platform\Agent-E\ae\user_preferences\user_preferences.txt
INFO:ae.utils.logger:User preferences loaded from: D:\Platform\Agent-E\ae\user_preferences\user_preferences.txt
INFO:ae.utils.logger:User dir: C:\Users\xxhua\AppData\Local\Google\Chrome\User Data\Default
INFO:ae.utils.logger:Received command: open https://github.com/ and search agent-e
INFO:ae.utils.logger:Processing command: open https://github.com/ and search agent-e
INFO:ae.utils.logger:Prompt for command: Execute the user task "open https://github.com/ and search agent-e" Current Page: https://www.baidu.com/
user (to planner_agent):

Execute the user task "open https://github.com/ and search agent-e" Current Page: https://www.baidu.com/

planner_agent (to user):
{"plan": "1. Navigate to https://github.com/.
2. Confirm that you are on the github homepage.
3. Use the search bar on github to search for agent-e.",
"next_step": "Navigate to https://github.com/.",
"terminate":"no"}

WARNING:ae.utils.logger:LLM response was not properly formed JSON. Will try to use it as is. LLM response: "{"plan": "1. Navigate to https://github.com/.
2. Confirm that you are on the github homepage.
3. Use the search bar on github to search for agent-e.",
"next_step": "Navigate to https://github.com/.",
"terminate":"no"}". Error: Invalid control character at: line 1 column 46 (char 45)
WARNING:ae.utils.logger:LLM response was not properly formed JSON. Will try to use it as is. LLM response: "{"plan": "1. Navigate to https://github.com/.
2. Confirm that you are on the github homepage.
3. Use the search bar on github to search for agent-e.",
"next_step": "Navigate to https://github.com/.",
"terminate":"no"}". Error: Invalid control character at: line 1 column 46 (char 45)
Adding system message: "Plan:\n\n 1. Navigate to https://github.com/.2. Confirm that you are on the github homepage.3. Use the search bar on github to search for agent-e."
Adding system message: "Next step:  Navigate to https://github.com/."
WARNING:ae.utils.logger:LLM response was not properly formed JSON. Will try to use it as is. LLM response: "{"plan": "1. Navigate to https://github.com/.
2. Confirm that you are on the github homepage.
3. Use the search bar on github to search for agent-e.",
"next_step": "Navigate to https://github.com/.",
"terminate":"no"}". Error: Invalid control character at: line 1 column 46 (char 45)

Starting a new chat....

browser_nav_executor (to browser_navigation_agent):
: Navigate to https://github.com/., Current Page: https://www.baidu.com/,

USING AUTO REPLY...
browser_navigation_agent (to browser_nav_executor):

***** Suggested tool call (): openurl *****
Arguments:
{"url": "https://github.com/"}

EXECUTING ASYNC FUNCTION openurl...
INFO:ae.utils.logger:Opening URL: https://github.com/
WARNING:ae.utils.logger:Initial navigation to https://github.com/ failed: BindingCall.call: Timeout 3000ms exceeded.
Call log:
navigating to "https://github.com/", waiting until "load"
. Will try to continue anyway.
Traceback (most recent call last):
File "D:\Platform\Agent-E\ae\core\skills\open_url.py", line 31, in openurl
await page.goto(url, timeout=timeout*1000) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Platform\Agent-E.venv\Lib\site-packages\playwright\async_api_generated.py", line 8657, in goto
await self._impl_obj.goto(
File "D:\Platform\Agent-E.venv\Lib\site-packages\playwright_impl_page.py", line 519, in goto
return await self._main_frame.goto(**locals_to_params(locals()))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Platform\Agent-E.venv\Lib\site-packages\playwright_impl_frame.py", line 145, in goto
await self._channel.send("goto", locals_to_params(locals()))
File "D:\Platform\Agent-E.venv\Lib\site-packages\playwright_impl_connection.py", line 59, in send
return await self._connection.wrap_api_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Platform\Agent-E.venv\Lib\site-packages\playwright_impl_connection.py", line 514, in wrap_api_call
raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None
playwright._impl._errors.TimeoutError: BindingCall.call: Timeout 3000ms exceeded.
Call log:
navigating to "https://github.com/", waiting until "load"

Adding system message: "Opened URL: https://github.com/"
browser_nav_executor (to browser_navigation_agent):
browser_nav_executor (to browser_navigation_agent):
***** Response from calling tool () *****
Page loaded: https://github.com/, Title: GitHub: Let’s build from here · GitHub

USING AUTO REPLY...
ERROR:ae.utils.logger:Unable to process command: "open https://github.com/ and search agent-e". Error code: 400 - {'error': {'code': 'invalid_type', 'param': 'messages[0].content', 'message': "Invalid type for 'messages[0].content': expected one of a string or array of objects, but got an object instead.", 'type': 'invalid_request_error'}}
Traceback (most recent call last):
File "D:\Platform\Agent-E\ae\core\autogen_wrapper.py", line 350, in process_command
result=await self.agents_map["user"].a_initiate_chat( # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Platform\Agent-E.venv\Lib\site-packages\autogen\agentchat\conversable_agent.py", line 1063, in a_initiate_chat
msg2send = await self.a_generate_reply(messages=self.chat_messages[recipient], sender=recipient)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Platform\Agent-E.venv\Lib\site-packages\autogen\agentchat\conversable_agent.py", line 2023, in a_generate_reply
final, reply = reply_func(self, messages=messages, sender=sender, config=reply_func_tuple["config"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Platform\Agent-E.venv\Lib\site-packages\autogen\agentchat\conversable_agent.py", line 397, in _summary_from_nested_chats
res = initiate_chats(chat_to_run)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Platform\Agent-E.venv\Lib\site-packages\autogen\agentchat\chat.py", line 200, in initiate_chats
chat_res = sender.initiate_chat(**chat_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Platform\Agent-E.venv\Lib\site-packages\autogen\agentchat\conversable_agent.py", line 1000, in initiate_chat
self.send(msg2send, recipient, request_reply=True, silent=silent)
File "D:\Platform\Agent-E.venv\Lib\site-packages\autogen\agentchat\conversable_agent.py", line 645, in send
recipient.receive(message, self, request_reply, silent)
File "D:\Platform\Agent-E.venv\Lib\site-packages\autogen\agentchat\conversable_agent.py", line 808, in receive
reply = self.generate_reply(messages=self.chat_messages[sender], sender=sender)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Platform\Agent-E.venv\Lib\site-packages\autogen\agentchat\conversable_agent.py", line 1949, in generate_reply
final, reply = reply_func(self, messages=messages, sender=sender, config=reply_func_tuple["config"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Platform\Agent-E.venv\Lib\site-packages\autogen\agentchat\conversable_agent.py", line 1315, in generate_oai_reply
extracted_response = self._generate_oai_reply_from_client(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Platform\Agent-E.venv\Lib\site-packages\autogen\agentchat\conversable_agent.py", line 1334, in _generate_oai_reply_from_client
response = llm_client.create(
^^^^^^^^^^^^^^^^^^
File "D:\Platform\Agent-E.venv\Lib\site-packages\autogen\oai\client.py", line 638, in create
response = client.create(params)
^^^^^^^^^^^^^^^^^^^^^
File "D:\Platform\Agent-E.venv\Lib\site-packages\autogen\oai\client.py", line 285, in create
response = completions.create(**params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Platform\Agent-E.venv\Lib\site-packages\openai_utils_utils.py", line 275, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "D:\Platform\Agent-E.venv\Lib\site-packages\openai\resources\chat\completions.py", line 663, in create
return self._post(
^^^^^^^^^^^
File "D:\Platform\Agent-E.venv\Lib\site-packages\openai_base_client.py", line 1200, in post
return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Platform\Agent-E.venv\Lib\site-packages\openai_base_client.py", line 889, in request
return self._request(
^^^^^^^^^^^^^^
File "D:\Platform\Agent-E.venv\Lib\site-packages\openai_base_client.py", line 980, in _request
raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - {'error': {'code': 'invalid_type', 'param': 'messages[0].content', 'message': "Invalid type for 'messages[0].content': expected one of a string or array of objects, but got an object instead.", 'type': 'invalid_request_error'}}
INFO:ae.utils.logger:Command "open https://github.com/ and search agent-e" took: 8.29 seconds.

@gitkitian this is a very interesting error as it worked for the first few steps of the plan then something happened seemingly in relation to conversation management in openai library. Is there a way for me to try this LLM? I tried hosting it on my mac, but I do not have enough memory.

In the absence of an access point that has 70B, I tried this with qwen2 7B running locally and I get as far as github is opened but nothing else. The key issue is that the model does not adhere to instructions and does not return the termination string requested. So we just sit there and do nothing.

If I try this in openai gpt4, I get something like this:
Page loaded: https://github.com/, Title: GitHub: Let’s build from here · GitHub

browser_navigation_agent (to browser_nav_executor):

The page has been successfully navigated to GitHub.

##TERMINATE TASK##

Notice ##TERMINATE TASK## at the end. That is what the code is looking for as a termination signal. I tried 5 iterations on the prompt including asking in the user command to add the termination string, but the model still never output it.
At this point we do not have a fix quite yet. If you have ideas on a different way to determine termination please share or make a PR. Meanwhile we are going to think about this.

Thanks for your attention and response. I am using the latest version of agent-e. You can reproduce this bug with the following LLM parameters configuration.
AUTOGEN_MODEL_NAME=qwen2-72b-instruct
AUTOGEN_MODEL_API_KEY=sk-343d2dca84a343a2a7d25abe2d4bf015
AUTOGEN_MODEL_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1

@gitkitian I removed your key. You can't put an API key like this in a public forum. It would have been better to share it in a direct message in Discord. I tried what you gave and I get an error from that endpoint. I do not know much about that service so I can't debug it. I suspect some parameters are missing. Here is the error:
httpx.HTTPStatusError: Client error '400 Bad Request' for url 'https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400
DEBUG:openai._base_client:Not retrying
DEBUG:openai._base_client:Re-raising status error
ERROR:ae.utils.logger:Unable to process command: "go to github  and search agent-e". Error code: 400 - {'error': {'code': 'invalid_parameter_error', 'param': None, 'message': 'field required: payload.parameters.tools.0.type & field required: payload.parameters.tools.1.type & field required: payload.parameters.tools.2.type & field required: payload.parameters.tools.3.type & field required: payload.parameters.tools.4.type & field required: payload.parameters.tools.5.type & field required: payload.parameters.tools.6.type & field required: payload.parameters.tools.7.type', 'type': 'invalid_request_error'}, 'id': 'chatcmpl-215d076a-0cac-9d8c-aa23-1ebb0464bb6f'}


Accessibility / a11y TalkBack descriptions

First up, thanks for this really interesting library! It's a challenging problem and your solution is neat.
Do you have any thoughts on how widgets using this could be made accessible with TalkBack?
The ideal case would be that individual components could have contentDescription etc props.
Failing that a reasonable fallback would be the ability to set a contentDescription on the widget root itself - that way a TalkBack user who taps anywhere on the widget could hear something like 'Music Widget. Currently playing all along the watchtower' etc.
For reference, at present when I tap my 'hello world' widget in TalkBack it reads out:
Unlabelled, double-tap to activate labels available use tap with three fingers to view
Thanks!

The problem is that this library renders the widget to an image, so there are no Android views to add contentDescription to.
I assume we can implement it in a similar way like the buttons, add an empty FrameLayout with contentDescription on the place of the components that have accessibility settings.
I'll take a look when I have some free time.

Thanks for the response. Aha - yeah that sounds like a great plan,  FrameLayouts would very likely do the trick.


Duplicate Class Error in 2.6.1

Hello,
After updating to 2.6.1, mentioned in #61, now I'm receiving Duplicate Class error as following:
Duplicate class a.a found in the following modules: jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1), jetified-core-2.6.1-runtime (co.pushe.plus:core:2.6.1), jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1), jetified-fcm-2.6.1-runtime (co.pushe.plus:fcm:2.6.1), jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1) and jetified-sentry-2.6.1-runtime (co.pushe.plus:sentry:2.6.1)
Duplicate class a.a$a found in the following modules: jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1), jetified-fcm-2.6.1-runtime (co.pushe.plus:fcm:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class a.a$b found in modules jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1) and jetified-fcm-2.6.1-runtime (co.pushe.plus:fcm:2.6.1)
Duplicate class a.a$c found in modules jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1) and jetified-fcm-2.6.1-runtime (co.pushe.plus:fcm:2.6.1)
Duplicate class a.a$d found in modules jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1) and jetified-fcm-2.6.1-runtime (co.pushe.plus:fcm:2.6.1)
Duplicate class a.a$e found in modules jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1) and jetified-fcm-2.6.1-runtime (co.pushe.plus:fcm:2.6.1)
Duplicate class a.a$f found in modules jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1) and jetified-fcm-2.6.1-runtime (co.pushe.plus:fcm:2.6.1)
Duplicate class a.a$g found in modules jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1) and jetified-fcm-2.6.1-runtime (co.pushe.plus:fcm:2.6.1)
Duplicate class a.b found in the following modules: jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1), jetified-core-2.6.1-runtime (co.pushe.plus:core:2.6.1), jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1), jetified-fcm-2.6.1-runtime (co.pushe.plus:fcm:2.6.1), jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1) and jetified-sentry-2.6.1-runtime (co.pushe.plus:sentry:2.6.1)
Duplicate class a.c found in the following modules: jetified-core-2.6.1-runtime (co.pushe.plus:core:2.6.1), jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1), jetified-fcm-2.6.1-runtime (co.pushe.plus:fcm:2.6.1), jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1) and jetified-sentry-2.6.1-runtime (co.pushe.plus:sentry:2.6.1)
Duplicate class a.d found in the following modules: jetified-core-2.6.1-runtime (co.pushe.plus:core:2.6.1), jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1), jetified-fcm-2.6.1-runtime (co.pushe.plus:fcm:2.6.1), jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1) and jetified-sentry-2.6.1-runtime (co.pushe.plus:sentry:2.6.1)
Duplicate class a.e found in the following modules: jetified-core-2.6.1-runtime (co.pushe.plus:core:2.6.1), jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1), jetified-fcm-2.6.1-runtime (co.pushe.plus:fcm:2.6.1), jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1) and jetified-sentry-2.6.1-runtime (co.pushe.plus:sentry:2.6.1)
Duplicate class a.f found in modules jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class a.g found in modules jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class a.h found in modules jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class a.i found in modules jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class a.j found in modules jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class a.k found in modules jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class a.l found in modules jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class a.m found in modules jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class b.a found in the following modules: jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1), jetified-core-2.6.1-runtime (co.pushe.plus:core:2.6.1), jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1), jetified-fcm-2.6.1-runtime (co.pushe.plus:fcm:2.6.1), jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1) and jetified-sentry-2.6.1-runtime (co.pushe.plus:sentry:2.6.1)
Duplicate class b.a$a found in the following modules: jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1), jetified-fcm-2.6.1-runtime (co.pushe.plus:fcm:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class b.a$b found in modules jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class b.a$c found in modules jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class b.a$d found in modules jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class b.a$e found in modules jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class b.a$f found in modules jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class b.a$g found in modules jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class b.a$h found in modules jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class b.a$i found in modules jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class b.b found in the following modules: jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1), jetified-core-2.6.1-runtime (co.pushe.plus:core:2.6.1), jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1), jetified-fcm-2.6.1-runtime (co.pushe.plus:fcm:2.6.1), jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1) and jetified-sentry-2.6.1-runtime (co.pushe.plus:sentry:2.6.1)
Duplicate class b.c found in the following modules: jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1), jetified-core-2.6.1-runtime (co.pushe.plus:core:2.6.1), jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class b.d found in modules jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1) and jetified-core-2.6.1-runtime (co.pushe.plus:core:2.6.1)
Duplicate class b.e found in modules jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1) and jetified-core-2.6.1-runtime (co.pushe.plus:core:2.6.1)
Duplicate class c.a found in the following modules: jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1), jetified-core-2.6.1-runtime (co.pushe.plus:core:2.6.1), jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1), jetified-fcm-2.6.1-runtime (co.pushe.plus:fcm:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class c.b found in the following modules: jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1), jetified-core-2.6.1-runtime (co.pushe.plus:core:2.6.1), jetified-fcm-2.6.1-runtime (co.pushe.plus:fcm:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class c.c found in the following modules: jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1), jetified-core-2.6.1-runtime (co.pushe.plus:core:2.6.1), jetified-fcm-2.6.1-runtime (co.pushe.plus:fcm:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class c.d found in the following modules: jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1), jetified-core-2.6.1-runtime (co.pushe.plus:core:2.6.1), jetified-fcm-2.6.1-runtime (co.pushe.plus:fcm:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class c.e found in modules jetified-core-2.6.1-runtime (co.pushe.plus:core:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class c.f found in modules jetified-core-2.6.1-runtime (co.pushe.plus:core:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class c.g found in modules jetified-core-2.6.1-runtime (co.pushe.plus:core:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class d.a found in the following modules: jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1), jetified-core-2.6.1-runtime (co.pushe.plus:core:2.6.1), jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class d.b found in the following modules: jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1), jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class d.c found in modules jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class d.d found in modules jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1) and jetified-notification-2.6.1-runtime (co.pushe.plus:notification:2.6.1)
Duplicate class e.a found in the following modules: jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1), jetified-core-2.6.1-runtime (co.pushe.plus:core:2.6.1) and jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1)
Duplicate class e.b found in modules jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1) and jetified-core-2.6.1-runtime (co.pushe.plus:core:2.6.1)
Duplicate class e.c found in modules jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1) and jetified-core-2.6.1-runtime (co.pushe.plus:core:2.6.1)
Duplicate class e.d found in modules jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1) and jetified-core-2.6.1-runtime (co.pushe.plus:core:2.6.1)
Duplicate class f.a found in modules jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1) and jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1)
Duplicate class f.b found in modules jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1) and jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1)
Duplicate class f.c found in modules jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1) and jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1)
Duplicate class f.d found in modules jetified-analytics-2.6.1-runtime (co.pushe.plus:analytics:2.6.1) and jetified-datalytics-2.6.1-runtime (co.pushe.plus:datalytics:2.6.1)

I have the same issue!

How to reproduce? You just run minified assembleRelease?

I think it happens when you have already using crisp in your project

@mahdi-malv I don't use minified release. I try to build debug apk.
Actually it happens when running gradlew checkDebugDuplicateClasses.
I guess some packages and classes might be mistakenly minified in the Pushe Library.

@mahdi-malv I don't use minified release. I try to build debug apk.
Actually it happens when running gradlew checkDebugDuplicateClasses.

@alirezaTaheri Thanks for repro case. I'll take a look at it ASAP.

2.6.2 should've fixed this. Please try it.

@mahdi-malv Thank you, it solved the problem.
But now there is no access to classes like NotificationData or PusheNotification.

Clone this source and try to reproduce it. I didn't manage to see this issue.

Looks like I had to upgrade gradle version.
With that being done, everything looks just fine.


[SPARK-4859][Core][Streaming] Refactor LiveListenerBus and StreamingListenerBus

This PR refactors LiveListenerBus and StreamingListenerBus and extracts the common codes to a parent class ListenerBus.
It also includes bug fixes in #3710:

Fix the race condition of queueFullErrorMessageLogged in LiveListenerBus and StreamingListenerBus to avoid outputing queue-full-error logs multiple times.
Make sure the SHUTDOWN message will be delivered to listenerThread, so that we can make sure listenerThread will always be able to exit.
Log the error from listener rather than crashing listenerThread in StreamingListenerBus.

During fixing the above bugs, we find it's better to make LiveListenerBus and StreamingListenerBus have the same bahaviors. Then there will be many duplicated codes in LiveListenerBus and StreamingListenerBus.
Therefore, I extracted their common codes to ListenerBus as a parent class: LiveListenerBus and StreamingListenerBus only need to extend ListenerBus and implement onPostEvent (how to process an event) and onDropEvent (do something when droppping an event).

Test build #25412 has started for   PR 4006 at commit 7cc04c3.

This patch merges cleanly.

cc @JoshRosen @tdas @andrewor14

Should I open another JIRA, or just update SPARK-4859 jira?

Test build #25412 has finished for   PR 4006 at commit 7cc04c3.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25412/
Test FAILed.

Test build #25418 has started for   PR 4006 at commit a9dccd3.

This patch merges cleanly.

Test build #25418 has finished for   PR 4006 at commit a9dccd3.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
abstract class ListenerBus[L <: AnyRef, E](name: String) extends ListenerHelper[L, E]
trait ListenerHelper[L <: AnyRef, E] extends Logging

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25418/
Test FAILed.

Hi @zsxwing the same JIRA is fine, but could you add more detail in the issue itself and in this PR description on each of the bugs you are trying to fix? Also, please add a quick motivation of why refactoring is needed in the same places. Thanks.

Updated the desription and jira

Do I need to make some change to passs MiMa tests?

Yeah, if you look at the test output it'll tell you the exact lines you'll need to add to MimaExcludes.scala

Test build #25508 has started for   PR 4006 at commit 4539f91.

This patch merges cleanly.

Test build #25508 has finished for   PR 4006 at commit 4539f91.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
abstract class ListenerBus[L <: AnyRef, E](name: String) extends ListenerHelper[L, E]
trait ListenerHelper[L <: AnyRef, E] extends Logging

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25508/
Test PASSed.

Test build #25597 has started for   PR 4006 at commit d2ef990.

This patch merges cleanly.

Test build #25597 has finished for   PR 4006 at commit d2ef990.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25597/
Test PASSed.

Test build #25631 has started for   PR 4006 at commit 0710364.

This patch merges cleanly.

Test build #25631 has finished for   PR 4006 at commit 0710364.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25631/
Test FAILed.

Test build #25646 has started for   PR 4006 at commit 4e85ffc.

This patch merges cleanly.

Test build #25646 has finished for   PR 4006 at commit 4e85ffc.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25646/
Test PASSed.

@tdas @andrewor14 is this PR good to go, or did you have further review comments?

I still need to do a close review. I will do so within the next day or two.

@zsxwing rather than making a ListenerHelper take in two type parameters, can we do the following two things: (1) make StreamingListenerEvent extend SparkListenerEvent, and (2) make a new trait Listener or ListensToSparkEvents  and have both SparkListener and StreamingListener extend it. Would that simplify things or not?

(1) make StreamingListenerEvent extend SparkListenerEvent

I don't like it because if so, we will get many meaningless "match may not be exhaustive." warnings from the compiler when we use pattern matching.
My original idea was that creating a parent trait for StreamingListenerEvent and SparkListenerEvent and also a parent trait for SparkListener and StreamingListener. However, it still needs ListenerHelper , an event process template, to remove duplicate codes.
When I was writing ListenerHelper, I found I need the type parameters to check the type at the compile time. If not using type parameters, E.g., assume Listener is the parent trait of SparkListener and StreamingListener, then the method signature of addListener will be def addListener(listener: Listener). The subclasses cannot change it to accept a more specific Listener, so they need to do the type check at the runtime to reject a wrong Listener.
Therefore, I added the type parameters and found I could remove the parent traits of StreamingListenerEvent/SparkListenerEvent and SparkListener/StreamingListener. I prefer less classes, so I removed them.

Test build #26079 has started for   PR 4006 at commit f0ef647.

This patch merges cleanly.

Test build #26079 has finished for   PR 4006 at commit f0ef647.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26079/
Test PASSed.

I see. That makes sense. However I still don't see the need for a separate ListenerHelper trait. In my mind SparkListenerBus should extend ListenerBus[L, E] instead of ListenerHelper directly. If that's the case, then the only class that's actually implementing ListenerHelper will be ListenerBus, at which point you can just merge the trait with the class itself. Is there a reason for keeping around the trait?

It's because ReplayListenerBus needs the functions in SparkListenerBus and ListenerHelper. But it doesn't need ListenerBus. That's why SparkListenerBus doesn't extend ListenerBus.

@zsxwing I looked at this in greater detail and I have a better understanding of the design choices you made here. The bottom line is that the common properties between LiveListenerBus and StreamingListenerBus include (1) they both post events in a separate thread asynchronously, and (2) they're both listener buses, but use different types of listeners and events. Therefore, your hierarchy is as follows:
                                     ListenerHelper[L, E]
                                      /                          \
                       SparkListenerBus      ListenerBus[L, E]
                          /                \                 /                 \
 ReplayListenerBus         LiveListenerBus      StreamingListenerBus

Although this placement of functionality makes sense, I find the naming of the classes very confusing. For instance, it's very strange that LiveListenerBus extends both ListenerBus and SparkListenerBus. From the name, it would appear that SparkListenerBus is also an instance of ListenerBus, but it is not. Similarly, I would imagine (from the name of the classes) that ReplayListenerBus also extends ListenerBus, but this is not the case.
So my proposal is the following. Rename your ListenerHelper to ListenerBus, and your ListenerBus to something else, maybe AsynchronousListenerBus or something because it posts events to listeners asynchronously in a separate thread.
Do you agree?

Test build #26279 has started for   PR 4006 at commit 5715061.

This patch merges cleanly.

Test build #26279 has finished for   PR 4006 at commit 5715061.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26279/
Test FAILed.

@andrewor14 The news names are pretty good to me. I have renamed them.

Test build #26280 has started for   PR 4006 at commit c8dade2.

This patch merges cleanly.

Test build #26280 has finished for   PR 4006 at commit c8dade2.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26280/
Test PASSed.

Ok, LGTM I will merge this and fix the override thing myself. Thanks @zsxwing!


Issue 90 unittest

Which changes (Bug/Feature):

Fixes #90 GitHub action 集成单测
Special notes for reviewers:
1. GitHub action增加单测&覆盖率流程
2. 单测覆盖率由codecov提供，待项目合并后会在codecov申请项目授权以加载徽章
3. 增加httpmock包

Codecov Report

:exclamation: No coverage uploaded for pull request base (v1.5.0-feat-app-refactor@0897f1a). Click here to learn what that means.
The diff coverage is n/a.

@@                    Coverage Diff                     @@
##             v1.5.0-feat-app-refactor    #104   +/-   ##
==========================================================
  Coverage                            ?   4.67%
==========================================================
  Files                               ?      10
  Lines                               ?    1454
  Branches                            ?       0
==========================================================
  Hits                                ?      68
  Misses                              ?    1384
  Partials                            ?       2

Continue to review full report at Codecov.

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


[Feature request]: Use multiple GetMaterialApp in app

I have an app has two seperate part: menu and content.
I don't want rewrite menu so i use two the blue MaterialApp inside the red GetMaterialApp.

I think you should add List GetStack; and add GetInterface to GetStack from interface param in GetMaterialApp.

@definev, after reading the comment a couple of times, i think i understand what you mean, yet i don't see any benefit on the request itself. Why would u want a separate GetMaterialApp? In my basic understanding, what you have is just Widgets, nesting multiple MaterialApps is unnecessary, most of times, and overkilling, memory-wise.
Beyond that i don not understand the GetStack / GetInterface concept in GetMaterialApp, would you mind explain that further?

Sorry for my bad english. I just want to use dependency injection in the second GetMaterialApp.
You can watch this video for more detail:
!(https://vimeo.com/user124600632/review/465659463/4cb8d19fa2)

Sorry for my bad english. I just want to use dependency injection in the second GetMaterialApp.
You can watch this video
for more detail

The link is broken

https://drive.google.com/file/d/1ZWn25KVb33LhuWq4W_ZGApXMGp4sIb7F/view?usp=sharing

Why is a part of your screen is an entirely new MaterialApp? What technical problem that you've faced that required this solution?

I think you wants to use Navigator widget，you can seehttps://github.com/jonataslaw/getx/blob/92e0ea0df686c29415c81d0d6213bbc652096324/documentation/zh_CN/route_management.md#%E5%B5%8C%E5%A5%97%E5%AF%BC%E8%88%AA

@definev, after reading the comment a couple of times, i think i understand what you mean, yet i don't see any benefit on the request itself. Why would u want a separate GetMaterialApp? In my basic understanding, what you have is just Widgets, nesting multiple MaterialApps is unnecessary, most of times, and overkilling, memory-wise. Beyond that i do not understand the GetStack / GetInterface concept in GetMaterialApp, would you mind explain that further?

The reason for multiple MaterialApps is that we don't want to rebuild the menu with routing! So for some routing we just handle them in nested MaterialApp. I have achieved that goal using Material app widget but can't do with GetMaterialApp. Do you have a better idea to not reload the menu with routing? thanks. @roipeker


Resolve go-imports meta tags

Maybe this is not the most elegant solution but it should work. We
always need to display the same meta tags, Now I'm rewriting the
requested route always to the main folder. This should be more dynamic
in the future.

Merged to fix the go get.


Add support for minimum heading level in TOC

Extract level parsing for TOC into separate method
Add support for minlevel for TOC directive

Resolves #323

I made minlevel the last keyword argument to try and make this as non-breaking as possible, but it might make more sense to put it before level.

Another thing to consider is that maybe minlevel isn't the best. I think the majority of minimum levels would be either 1 or 2. I doubt >=3 will be common. So it might make sense if this was a boolean value instead, like exclude_title=False.

@spenserblack I've refactored the directive. min and max level options are added.

Thank you!


Game Theory Easy - 1

Problem Tower Breakers- https://www.hackerrank.com/challenges/tower-breakers-1/problem
Problem Game of Stones - https://www.hackerrank.com/challenges/game-of-stones-1/problem
Problem A Chessboard Game - https://www.hackerrank.com/challenges/a-chessboard-game-1/problem
Category- Algorithms/Game Theory
Difficulty Level- All Easy
In Language:

[ ] C++
[ ] JAVA
[ ] Python

Assign me these in C++

I want to do it in python

Can I take these up in JAVA?


EURO DEMO Support localization

To support languages we will:

Add a parameter lang to infographics api.
Currently we will support two languages: en, he. If not supplied, default is he.
Update the infographics generating functions (up to RequestParams) to accept the new parameter
Update the cache generation to store in cache both languages.

I guess "infographics_dictionaries.py" should contain values for both languages.

@ziv17 please add this parameter to query (Any localized text is already handled using the lang param)
If it's not difficult - let's perform localization after cache extraction - for that I think that perhaps we should add per widget the localized fields (not all needs to be localized, some are numbers for example).
What do you think?

A few questions:

How will the lang parameter value reach the code the performs the choosing of the correct text?
What is the language that is currently produced?
Is currently all localization implemented with same mechanism?
Is all needed localization already implemented?

Lang parameter will be passed in query by FE - see following code handling it for the bable localizer and the following code using the lang param
@idosavion is there a default language? not sure what's in the app.config["LANGUAGES"]
We just started - but yes - that's the goal - see an examle pr
No - we just started - that's why that's a good point to stop and think what's best.

Also - it made me think - when we add a new news flash and calculate the Widgets data for this news flash - what's the language is used? Since this is not a request coming from the API, will it be just a default language?

If we do localization after the cache, then we generate the result of the widget in two stages. First, without a language. We just prepare the input for the localization, and the data that is not changed by localization. In the second stage, we generate the localized text to the result.

Current supported languages are LANGUAGES = {"en": "English", "he": "עברית"} - from config.py
I don't think we explicitly declaring a default language, this can be changed by providing a second parameter to best_match in localeselector.

In my recent PR, I set 'he' as default in the infographics-data api (in case lang parameter is not specified).


 And how and what do I have to test? :)

Not very much, a lot of files are changed because of migration to Android Studio. You can review only last two commits. All the stuff that needs to be tested is listed in commit description.

I have decided to re-write Aglona Reader for modern Android from scratch on Kotlin, in a separate repository.
This may take an indefinite amount of time.
I'll probably use some parts of this original version (the rendering code) in the new version.
What I do want to add:

the ability to download books
smooth page scrolling based on background rendering of adjacent pages


Add support for the JSON.MGET command

Please refer to https://github.com/apache/kvrocks/issues/1805.

I want to pick up this issue

@skyitachi Assigned, thank you!

@skyitachi Thank you!


Typo (extra v) in change-package-repository.md

This is a Bug Report

Problem:
In section Switching to another Kubernetes package repository, under CentOS, RHEL or Fedora tab, there is an extra "v" in the baseurl and gpgkey URLs corresponding to the latest kubernetes version.
baseurl=https://pkgs.k8s.io/core:/stable:/vv1.29/rpm/ gpgkey=https://pkgs.k8s.io/core:/stable:/vv1.29/rpm/repodata/repomd.xml.key
Proposed Solution:
Correct vv1.29 to v1.29.
Page to Update:
https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/change-package-repository
https://kubernetes.io/zh-cn/docs/tasks/administer-cluster/kubeadm/change-package-repository/

I can contribute the fix - easy one.

/triage accepted
Thanks


Add DeviceUID.h to public headers

Hi @rebeccahughes
Hope all is going well.
This PR adds the DeviceUID.h file to the 'copy files' build phase, making it available to import and use at the Objective-C/Swift level in your app. This makes it possible to reuse the same code used at the react native level,  in the rest of your project, for example in extensions or other native code.
Cheers,
Marcus

thanks for the PR


how can I debug a react native app on mode offline ?

Ask your Question

Hello, I'm still using netinfo from react native, the problem is with ios app when I'm offline it launched sometimes it's opened and sometimes no still on the loading screen, but on android nothing is wrong and works well.
I want to debugg on mode offline but doesn't work. any help?
"react": "16.8.3",
"react-native": "0.59.0",

@hanaechahid  could you please share your views on #278


Support zero amounts and priority with finance update

The finance update command checks whether a parameter has been passed and only updates the value if it has. With the previous implementation an existence check is made. This masks out None values, but also masks out zero values. In order to support zero values, an explicit check for None is needed.
This changes the check in this way to allow for a zero amount or zero priority to be passed as a parameter.
Closes #24

Thanks for this @Iain-S. I should mention that I tested the "zero amount" pathway because I needed to do this on the production database, but I've not tested the "zero priority" pathway, because I didn't want to make changes on production.
Is there a non-production database I can test it on?


Add .js to ESM import in getting started

File ending like .js is required in ESM, only optional in eg TypeScript
/ Filed from my phone after Discord discussion

Never mind, there’s an export map that removed the .js


[F2 Create Asset] Add support for creating a new asset

Description

Add missing CRUD APIs for Asset model in BE.
Update NFTCollection's create, edit, delete buttons to be visible only when the collection belongs to the current logged in user.
Add AssetForm, NewAssetPage components
Update existing unit tests.
Add new unit tests to cover new changes in both FE & BE.
Update Postman API collections.

Trello

Link: https://trello.com/c/HlLPMCWu/39-f2-create-a-digital-asset-3

Extra Info

 F2 - create a digital asset 3


Update logging messages

Fixed the bug as mentioned in #148.

Codecov Report

Merging #206 (6301f10) into master (85bbb5f) will not change coverage.
The diff coverage is 12.50%.

@@            Coverage Diff            @@
##             master     #206   +/-   ##
=========================================
  Coverage     63.81%   63.81%
  Complexity      650      650
=========================================
  Files           105      105
  Lines          2432     2432
  Branches        324      324
=========================================
  Hits           1552     1552
  Misses          754      754
  Partials        126      126

Impacted Files
Coverage Δ

src/main/java/seedu/address/MainApp.java
0.00% <0.00%> (ø)

...rc/main/java/seedu/address/model/ModelManager.java
75.75% <100.00%> (ø)

Continue to review full report at Codecov.

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


Use it with GitLab

is it possible to use it with GitLab?
if yes, pls help me how to do it...
I installed it from npm
npm install -g github-changelog-generator
then, can't understood how to run it using gh-change-gen

@denis-peshkov This is another project. That project is Node.js, this one is Ruby.
And, no, no GitLab support.

Hope this helps!

I will add this generator to the Alternatives wiki page. :+1:


[BUG] - VR headsets unable to connect to master branch of infra

UE Version:
UE 5.5
Frontend Version:
Master
Problem component
Signalling Server + VR
Description
At the current stage, VR headsets are unable to connect to a local machine running the latest version of the infrastructure. Comparison test done with 5.3 infra and it's succeeded immediately.
Test was done on Quest 2 and Quest 3 headsets.
Steps to Reproduce:
1.Setup basic Pixel Streaming VR project
2.Setup master branch infra with basic https certificates + start stream
3.In your desired headset on the same wifi network, open the headset browser and connect to the signalling PC IP address.
4. Note failure
Expected behavior
VR headset browser should be able to connect to a local network signalling server without fail
Platform (please complete the following information):

OS: Windows + Quest 3
Browser: Meta Browser

Fixed in: https://github.com/EpicGamesExt/PixelStreamingInfrastructure/pull/177


Laravel session not setting after logging in from a session timeout

We're currently developing with Laravel but we are having issues when a user was logged out because of session timeout. What we did for debugging was:

Set the session timeout to one minute.
Simply login. (everything was fine)
Waited for a minute before the session expires.
After the session expires, the system logged out.
Upon logging in, the session wasn't set and returns no value.

Can you first please try one of the following support channels? If you can actually identify this as a bug, feel free to report back.

Laracasts Forums
Laravel.io Forums
Discord
Larachat
IRC
StackOverflow


Create ****vaultbank.io

A
On Wed, Nov 25, 2020 at 8:20 AM Vaultbank-ui<EMAIL_ADDRESS>wrote:

You can view, comment on, or merge this pull request online at:
https://github.com/BlackRock-jpg/MONERO/pull/1
Commit Summary

Create ****vaultbank.io

File Changes

A ****vaultbank.io
https://github.com/BlackRock-jpg/MONERO/pull/1/files#diff-9d8cccdfdf7e27b79217240be301583d65cc5e2a716e7f5ab18559c49c050f7d
(1)

Patch Links:

https://github.com/BlackRock-jpg/MONERO/pull/1.patch
https://github.com/BlackRock-jpg/MONERO/pull/1.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BlackRock-jpg/MONERO/pull/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARSN24DGOTTTYBGZW5RXBUDSRUABVANCNFSM4UCMPMRQ
.

Vaultbank.io

NNNN
On Wed, Nov 25, 2020 at 8:23 AM BlackRock-jpg<EMAIL_ADDRESS>wrote:

A
On Wed, Nov 25, 2020 at 8:20 AM Vaultbank-ui<EMAIL_ADDRESS>wrote:

You can view, comment on, or merge this pull request online at:
https://github.com/BlackRock-jpg/MONERO/pull/1
Commit Summary

Create ****vaultbank.io

File Changes

A ****vaultbank.io
<
https://github.com/BlackRock-jpg/MONERO/pull/1/files#diff-9d8cccdfdf7e27b79217240be301583d65cc5e2a716e7f5ab18559c49c050f7d

(1)
Patch Links:

https://github.com/BlackRock-jpg/MONERO/pull/1.patch
https://github.com/BlackRock-jpg/MONERO/pull/1.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BlackRock-jpg/MONERO/pull/1, or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ARSN24DGOTTTYBGZW5RXBUDSRUABVANCNFSM4UCMPMRQ
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/BlackRock-jpg/MONERO/pull/1#issuecomment-733703345,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARRIYECEA6SPBU2ORIEHUT3SRUALXANCNFSM4UCMPMRQ
.

A
On Wed, Nov 25, 2020 at 8:23 AM George Washington<EMAIL_ADDRESS>wrote:

Vaultbank.io
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/BlackRock-jpg/MONERO/pull/1#issuecomment-733703455,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARSN24C3JAWCTTCWVPEYR3DSRUAMHANCNFSM4UCMPMRQ
.

AA
On Wed, Nov 25, 2020 at 8:23 AM BlackRock-jpg<EMAIL_ADDRESS>wrote:

A
On Wed, Nov 25, 2020 at 8:20 AM Vaultbank-ui<EMAIL_ADDRESS>wrote:

You can view, comment on, or merge this pull request online at:
https://github.com/BlackRock-jpg/MONERO/pull/1
Commit Summary

Create ****vaultbank.io

File Changes

A ****vaultbank.io
<
https://github.com/BlackRock-jpg/MONERO/pull/1/files#diff-9d8cccdfdf7e27b79217240be301583d65cc5e2a716e7f5ab18559c49c050f7d

(1)
Patch Links:

https://github.com/BlackRock-jpg/MONERO/pull/1.patch
https://github.com/BlackRock-jpg/MONERO/pull/1.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BlackRock-jpg/MONERO/pull/1, or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ARSN24DGOTTTYBGZW5RXBUDSRUABVANCNFSM4UCMPMRQ
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/BlackRock-jpg/MONERO/pull/1#issuecomment-733703345,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARRIYECEA6SPBU2ORIEHUT3SRUALXANCNFSM4UCMPMRQ
.

Vaultbank.Io
On Wed, Nov 25, 2020 at 1:35 PM George Washington<EMAIL_ADDRESS>wrote:

AA
On Wed, Nov 25, 2020 at 8:23 AM BlackRock-jpg<EMAIL_ADDRESS>wrote:

A
On Wed, Nov 25, 2020 at 8:20 AM Vaultbank-ui<EMAIL_ADDRESS>wrote:

You can view, comment on, or merge this pull request online at:
https://github.com/BlackRock-jpg/MONERO/pull/1
Commit Summary

Create ****vaultbank.io

File Changes

A ****vaultbank.io
<

https://github.com/BlackRock-jpg/MONERO/pull/1/files#diff-9d8cccdfdf7e27b79217240be301583d65cc5e2a716e7f5ab18559c49c050f7d

(1)
Patch Links:

https://github.com/BlackRock-jpg/MONERO/pull/1.patch
https://github.com/BlackRock-jpg/MONERO/pull/1.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BlackRock-jpg/MONERO/pull/1, or unsubscribe
<

https://github.com/notifications/unsubscribe-auth/ARSN24DGOTTTYBGZW5RXBUDSRUABVANCNFSM4UCMPMRQ

.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/BlackRock-jpg/MONERO/pull/1#issuecomment-733703345,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ARRIYECEA6SPBU2ORIEHUT3SRUALXANCNFSM4UCMPMRQ
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/BlackRock-jpg/MONERO/pull/1#issuecomment-733882182,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARSN24BNYUG6PA3Z2QHWLZ3SRVE5JANCNFSM4UCMPMRQ
.

^^^.
On Wed, Nov 25, 2020 at 1:35 PM REPTILE MKULTRA<EMAIL_ADDRESS>wrote:

Vaultbank.Io
On Wed, Nov 25, 2020 at 1:35 PM George Washington <
<EMAIL_ADDRESS>wrote:

AA
On Wed, Nov 25, 2020 at 8:23 AM BlackRock-jpg<EMAIL_ADDRESS>wrote:

A
On Wed, Nov 25, 2020 at 8:20 AM Vaultbank-ui<EMAIL_ADDRESS>wrote:

You can view, comment on, or merge this pull request online at:
https://github.com/BlackRock-jpg/MONERO/pull/1
Commit Summary

Create ****vaultbank.io

File Changes

A ****vaultbank.io
<

https://github.com/BlackRock-jpg/MONERO/pull/1/files#diff-9d8cccdfdf7e27b79217240be301583d65cc5e2a716e7f5ab18559c49c050f7d

(1)
Patch Links:

https://github.com/BlackRock-jpg/MONERO/pull/1.patch
https://github.com/BlackRock-jpg/MONERO/pull/1.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BlackRock-jpg/MONERO/pull/1, or unsubscribe
<

https://github.com/notifications/unsubscribe-auth/ARSN24DGOTTTYBGZW5RXBUDSRUABVANCNFSM4UCMPMRQ

.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/BlackRock-jpg/MONERO/pull/1#issuecomment-733703345
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ARRIYECEA6SPBU2ORIEHUT3SRUALXANCNFSM4UCMPMRQ
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/BlackRock-jpg/MONERO/pull/1#issuecomment-733882182,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARSN24BNYUG6PA3Z2QHWLZ3SRVE5JANCNFSM4UCMPMRQ
.


Text link props

Re-structure TextLink component for different ergonomics with React Router.

 TextLink href/to props


[Feature] WebView2?

Hello,
I haven't used Playwright for awhile but from what I can remember it is not purely C#/.NET, it requires NodeJS and Chromium binaries.
I wonder, what would it take for Playwright to use WebView2?
One issue is that WebView2 doesn't support off screen (headless) but I think that for the .NET platform the use of WebView 2 would remove dependencies on NodeJS and it might be an idea for the future.
What do you think?

Playwright for .NET/Python/Java is a language port which internally relies on Node.js yes. We have all our core logic inside the Node.js version of Playwright and re-use it by that. Moving this business logic to each of the language ports would be technically possible, but we don't plan to do it, since it would be an erroneous effort to main it, introduce bugs etc.
You don't need to install Chromium if you e.g. connect via CDP to an existing CDP instance or use Stable Chrome/Edge channels.
Regarding your question, is WebView2 a replacement for a Chromium browser? Sort of but with limitations, we have a guide of how to use WebView2 here. If you want to see a minimal example, see e.g. this project which we use to run our tests inside WebView2 to make sure they pass there. You could copy this project and use it as your foundation of your testing harness. We don't recommend it tho, since you are testing something different to what your users are using, they are using a real browser.

Closing as per above and since its out of scope.


ZEVA - Add More Descriptive Email Body Text for Better Test Environment Clarity

Describe the task
The goal of this sprint ticket is to update the email notification methods to include additional descriptive text in the email body.
Purpose
This will improve the testing experience in the test environment by providing better context and understanding of which actions in the application are triggering specific emails.
Acceptance Criteria
(1) Given I am a test ZEVA user, when I get a system generated email, the email contains additional descriptive text specifying details such as the action that triggered the email, user or system events, and a timestamp.
(2) Given I am a production ZEVA user, when I get a system generated email, it should look the same as before - there should be no additional descriptive text.
Development Checklist

[x] Identify the current email notifications being used in the application.
[x] Figure out how to robustly condition code based on environment.
[x] Modify the email notification methods to include additional descriptive text in the email body.
[x] Ensure that the additional descriptive text is only added in the test environment, not affecting production emails.
[x] The descriptive text should include relevant information about the action that triggered the email, such as the name of the action, user or system events, and a timestamp.
[ ] Test the modified email method to confirm that the additional descriptive text is included in the email body and aids in understanding the context of the email.
[x] Update documentation and notify the testing team of the changes to the email method.

Additional context

Please remember to keep the changes isolated to the test environment to avoid any unintended consequences in the production environment.
Coordinate with the testing team to gather feedback on the effectiveness of the additional descriptive text and make any necessary adjustments before marking the ticket as complete.

Hey team! Please add your planning poker estimate with Zenhub @AlexZorkin @emi-hi @jig-patel @JulianForeman @tim738745 @vibhiquartech

No emails being received at all in testing.

This seems like an entirely new issue that is being caused by a portion of the code I did not modify.  I think we should create an estimate a new ticket on this for next sprint.

Not possible to test as ZEVA is no longer sending any emails. New card to fix that to be created.


Create /de/bayern/asv.txt

@swegertpa First stage of verification passed, official domain is asv.bayern.de as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.


bug(cdc): wrong output when mapping pg-numeric to varchar in postgres-cdc

Describe the bug
In https://github.com/risingwavelabs/risingwave/pull/16346, we allow mapping numeric to varchar in postgres-cdc to avoid the precision loss of pg-numeric to rw-numeric in some scenarios. However the spacial value are converted to wrong string. To be specific:

value
current output string
expected output string

nan
NAN
NaN

inf
POSITIVE_INFINITIY
Infinity

-inf
NEGATIVE_INFINITIY
-Infinity

See more discussion here.
Error message/log
No response
To Reproduce
No response
Expected behavior
No response
How did you deploy RisingWave?
No response
The version of RisingWave
No response
Additional context
No response

Caused by Debezium's PostgreSQL connector:
https://gist.github.com/xiangjinwu/e879234981b65b08a074f27f6bab54ff?permalink_comment_id=5033378#gistcomment-5033378

The default value of decimal.handling.mode is string in our config.
https://github.com/risingwavelabs/risingwave/blob/201f90301041657d47a88ff3560febde16d4f123/java/connector-node/risingwave-connector-service/src/main/resources/debezium.properties#L10

Now we use POSITIVE_INFINITIY, expected Infinity


Automatically update AUTHORS.md when building the dist archives

No review needed.

coverage: 26.405%. remained the same
when pulling 53cc2daabbb43f76b6abc10950dd73974dd9d4e3 on andy/fix-authors
into c5b538b52f3f988a4adedf14fdee718a07a34320 on master.


Improve DEBUG CONSOLE for program input

In Java Debug, we found user often uses the DEBUG CONSOLE for program input by mistake. I guess it's because other IDEs like eclipse/intellij both support in-place text input in CONSOLE. Is it possible to improve the DEBUG CONSOLE behavior? Or at least improve the user awareness.

@testforstephen you could make VS Code's "integrated terminal" the default for Java because a REPL is not that important for Java, correct?

lots of Java users are using evaluate feature correctly, not sure how much REPL counts. Changing the default console to "integrated terminal" feels a little aggressive.
Another helpful tip is support comments when generate initial debug config.
        {
            "type": "java",
            "name": "Debug (Launch)",
            "request": "launch",
            "cwd": "${workspaceFolder}",
            // To support console input, please switch console to integratedTerminal or externalTerminal.
            // "console": "integratedTerminal",
            "console": "internalConsole",
            "stopOnEntry": false,
            "mainClass": "",
            "args": ""
        },


[Feature] Improve README.md

Description
The clone repository section the username is of the repository owner. It would be good to change that to your_username.
Screenshots

Checklist

[X] I have checked the existing issues
[X] I have read the [Contributing Guidelines]
[X] I have read the discussion tab thoroughly and got the project idea
[X] I am willing to work on this issue (optional)
[X] I am a GSSoC'23 contributor

@roberanegussie It is fine


noise: signal value read during reset

Flip flops do not take signal input during reset. During reset a flip flop should just take a 1 or a 0, fixed. The logic you have in Verilog does not match your schematic either, where the reset signal forces a fixed value.
https://github.com/ika-musume/IKAOPM/blob/7cea2dfc242154f9aff333180f29f4a854454e76/HDL/IKAOPM_modules/IKAOPM_noise.v#L70

https://github.com/ika-musume/IKAOPM/blob/7cea2dfc242154f9aff333180f29f4a854454e76/HDL/IKAOPM_modules/IKAOPM_noise.v#L65-L68
where noise_lfsr[15] is padded with zeros and shifted during reset. The minimum reset cycle of the actual chip is more than 64 cycles of phiM, which is the twice of the phi1 cycles. If i_IC_n is held for 32 phi1 cycles, a 16-bit long noise_lfsr will reset all flip-flops.
https://github.com/ika-musume/IKAOPM/blob/7cea2dfc242154f9aff333180f29f4a854454e76/HDL/IKAOPM_modules/IKAOPM_noise.v#L70-L71
After 16 cycles of phi1, the value of XOR_FLAG will set to zero. This is possible because all bits of noise_lfsr have been filled with zeros.
This is a real chip behavior. DFFs in an FPGA will have random values immediately after configuration.
I would expect the dynamic shift registers on the chip to have a consistent value immediately after reset, since the charge on a poly-metal capacitor is thought to be zero.

For synthesis, I think it's better to use the logic in the FPGA, where all flip flops have reset inputs. I understand that you want to make the translation as close as possible to the original, though.
Thank you for your explanation.


<EMAIL_ADDRESS>

Issue Type: Bug
Hi my file can not be open in normal writtings but comes out with dimonds numbers  squares and all sorts. Would you mind helping please.
Regards
Soandro
PS I tryed to copy it here bellow but that's what came out
PK
VS Code version: Code 1.30.1 (dea8705087adb1b5e5ae1d9123278e178656186a, 2018-12-18T18:12:07.165Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
AMD A8-4555M APU with Radeon(tm) HD Graphics    (4 x 1597)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: unavailable_softwarevideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
7.19GB (3.61GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

This means that the file is saved in a different encoding than the default one.
Please try to reopen the file with another encoding by running the command 'Change File Encoding' which is available in the Command Palette or from the status line.


HTML email addresses get rendered as nested links, ignoring href attribute

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Prerequisites

[X] I'm using the latest version of Docusaurus.
[X] I have tried the npm run clear or yarn clear command.
[X] I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
[X] I have tried creating a repro with https://new.docusaurus.io.
[X] I have read the console error message carefully (if applicable).

Description
When directing users to our support email address, we do so with a link that includes a suggested subject line: <a<EMAIL_ADDRESS>Docs inquiry%E2%80%9D"<EMAIL_ADDRESS>In v2.4.3, the rendered HTML was <a<EMAIL_ADDRESS>Docs inquiry%E2%80%9D" target="_blank" rel="noopener noreferrer"<EMAIL_ADDRESS>In 3.2.0, the rendered HTML is:
<a<EMAIL_ADDRESS>Docs inquiry%E2%80%9D" class="email">
  <a<EMAIL_ADDRESS>target="_blank" rel="noopener<EMAIL_ADDRESS></a>

Reproducible demo
https://codesandbox.io/p/devbox/holy-cdn-f2t8nd?file=%2Fdocs%2Femail-bug-demo.md%3A5%2C119
Steps to reproduce
Add an HTML email link to any topic, like in my example: <a<EMAIL_ADDRESS>Docs inquiry%E2%80%9D"<EMAIL_ADDRESS>To reproduce, there should be an email address in the text of the link, not just in the href attribute.
Expected behavior
There should only be one link, and it should go to whatever was in the href attribute, including both the email address and the specified subject line. The link text should be for display only.
Actual behavior
Regardless of what is in the href attribute, Docusaurus seems to be parsing the link text as the email address it's supposed to show, and is ignoring the href attribute in its favour, nesting the bad link inside the good link for some reason.
Your environment

Public source code:
Public site URL:
Docusaurus version used: 3.2.0
Environment name and version (e.g. Chrome 89, Node.js 16.4):
Operating system and version (e.g. Ubuntu 20.04.2 LTS):

Self-service

[ ] I'd be willing to fix this bug myself.

This is apparently a behavior of GitHub Flavored Markdown, and we use it by default through remark-gfm:
<a<EMAIL_ADDRESS>Docs inquiry%E2%80%9D"<EMAIL_ADDRESS>
This gets rendered as this on GitHub:
<EMAIL_ADDRESS>The email string gets auto-linked which produce a double link. Just writing<EMAIL_ADDRESS>leads to a link<EMAIL_ADDRESS>Notice that in the mdx playground (https://mdxjs.com/playground/), if you keep remark-gfm off, it works as you expect, but not when it's on. Docusaurus uses GFM and we won't plan to diverge from this behavior so I'm going to close.
Apparently you can opt-out of this behavior in MDX by using:
<a<EMAIL_ADDRESS>Docs inquiry%E2%80%9D"<EMAIL_ADDRESS>

Thanks, @slorber , that opt-out syntax was exactly what I needed!


Update review email templates (fixes #1316)

Moved a couple of lines to the base template for consistency, removed
references to editors, and tried to soften the language in a couple of
places. Also updated the review policy URL.

r? @wagnerand for content

Can you please replace editor by reviewer in notify_update.ltxt (line 1) as well?

r+wc

squish commits into a single one?

I think I just made it worse, heh. I'll start over.


Insane CPU usage

The demo page (http://romainberger.github.io/react-portal-tooltip/) is bringing my CPU usage up to 80% immediately.

I think it's something to do with timers, but I couldn't profile it properly when my PC is freezing every few seconds.
Update: can't reproduce on another PC, will check again.

What are the specs of that machine?

Closing as stale


Failed to detect the target database version when loading collection and items

I am trying to create/migrate and utilize a PostreSQL in a Google Cloud Platform. I want to load my STAC items and collections into the database. However, I am confronted with error when loading the collections. Below is the traceback error. It says it failed to detect the target database version.
I am using the pypgstac v0.9.0. Besides the error, I think there are also other errors when migrating such as permission denied to set role "pgstac_ingest". I thought it was similar to this issue: https://github.com/stac-utils/pgstac/issues/239. But I think its different.
pypgstac-loader      | DEBUG:pypgstac.db:PG VERSION: 14.12.
pypgstac-loader      | INFO:pypgstac.migrate:Migrating PgSTAC on PostgreSQL Version 14.12
pypgstac-loader      | DEBUG:pypgstac.db:PgSTAC is not installed.
pypgstac-loader      | INFO:pypgstac.migrate:No pgstac version set, installing 0.9.1 from scratch.
pypgstac-loader      | DEBUG:pypgstac.migrate:Running migration file /usr/local/lib/python3.11/site-packages/pypgstac/migrations/pgstac.0.9.1.sql.
pypgstac-loader      | DEBUG:smart_open.smart_open_lib:{'uri': '/usr/local/lib/python3.11/site-packages/pypgstac/migrations/pgstac.0.9.1.sql', 'mode': 'r', 'buffering': -1, 'encoding': None, 'errors': None, 'newline': None, 'closefd': True, 'opener': None, 'compression': 'infer_from_extension', 'transport_params': None}

pypgstac-loader      | INFO:pypgstac.db:NOTICE - role "pgstac_admin" already exists, skipping
pypgstac-loader      | INFO:pypgstac.db:NOTICE - role "pgstac_read" already exists, skipping
pypgstac-loader      | INFO:pypgstac.db:NOTICE - role "pgstac_ingest" already exists, skipping
pypgstac-loader      | INFO:pypgstac.db:NOTICE - role "pgstac_ingest" is already a member of role "pgstac_read"
pypgstac-loader      | Traceback (most recent call last):
pypgstac-loader      |   File "/usr/local/bin/pypgstac", line 8, in <module>
pypgstac-loader      |     sys.exit(cli())
pypgstac-loader      |              ^^^^^
pypgstac-loader      |   File "/usr/local/lib/python3.11/site-packages/pypgstac/pypgstac.py", line 125, in cli
pypgstac-loader      |     fire.Fire(PgstacCLI)
pypgstac-loader      |   File "/usr/local/lib/python3.11/site-packages/fire/core.py", line 141, in Fire
pypgstac-loader      |     component_trace = _Fire(component, args, parsed_flag_args, context, name)
pypgstac-loader      |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pypgstac-loader      |   File "/usr/local/lib/python3.11/site-packages/fire/core.py", line 466, in _Fire
pypgstac-loader      |     component, remaining_args = _CallAndUpdateTrace(
pypgstac-loader      |                                 ^^^^^^^^^^^^^^^^^^^^
pypgstac-loader      |   File "/usr/local/lib/python3.11/site-packages/fire/core.py", line 681, in _CallAndUpdateTrace
pypgstac-loader      |     component = fn(*varargs, **kwargs)
pypgstac-loader      |                 ^^^^^^^^^^^^^^^^^^^^^^
pypgstac-loader      |   File "/usr/local/lib/python3.11/site-packages/pypgstac/pypgstac.py", line 61, in migrate
pypgstac-loader      |     return migrator.run_migration(toversion=toversion)
pypgstac-loader      |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pypgstac-loader      |   File "/usr/local/lib/python3.11/site-packages/pypgstac/migrate.py", line 149, in run_migration
pypgstac-loader      |     cur.execute(migration_sql)
pypgstac-loader      |   File "/usr/local/lib/python3.11/site-packages/psycopg/cursor.py", line 732, in execute
pypgstac-loader      |     raise ex.with_traceback(None)
pypgstac-loader      | psycopg.errors.InsufficientPrivilege: permission denied to set role "pgstac_ingest"
pypgstac-loader      | Traceback (most recent call last):
pypgstac-loader      |   File "/usr/local/bin/pypgstac", line 8, in <module>
pypgstac-loader      |     sys.exit(cli())
pypgstac-loader      |              ^^^^^
pypgstac-loader      |   File "/usr/local/lib/python3.11/site-packages/pypgstac/pypgstac.py", line 125, in cli
pypgstac-loader      |     fire.Fire(PgstacCLI)
pypgstac-loader      |   File "/usr/local/lib/python3.11/site-packages/fire/core.py", line 141, in Fire
pypgstac-loader      |     component_trace = _Fire(component, args, parsed_flag_args, context, name)
pypgstac-loader      |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pypgstac-loader      |   File "/usr/local/lib/python3.11/site-packages/fire/core.py", line 466, in _Fire
pypgstac-loader      |     component, remaining_args = _CallAndUpdateTrace(
pypgstac-loader      |                                 ^^^^^^^^^^^^^^^^^^^^
pypgstac-loader      |   File "/usr/local/lib/python3.11/site-packages/fire/core.py", line 681, in _CallAndUpdateTrace
pypgstac-loader      |     component = fn(*varargs, **kwargs)
pypgstac-loader      |                 ^^^^^^^^^^^^^^^^^^^^^^
pypgstac-loader      |   File "/usr/local/lib/python3.11/site-packages/pypgstac/pypgstac.py", line 74, in load
pypgstac-loader      |     loader.load_collections(file, method)
pypgstac-loader      |   File "/usr/local/lib/python3.11/site-packages/pypgstac/load.py", line 200, in load_collections
pypgstac-loader      |     self.check_version()
pypgstac-loader      |   File "/usr/local/lib/python3.11/site-packages/pypgstac/load.py", line 160, in check_version
pypgstac-loader      |     raise Exception("Failed to detect the target database version.")
pypgstac-loader      | Exception: Failed to detect the target database version.

Update:
I tried to use pypgstac from a local computer not running in docker. I tried to use migrate with --dsn tag.
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\HP\anaconda3\envs\dpad\Scripts\pypgstac.exe\__main__.py", line 7, in <module>
  File "C:\Users\HP\anaconda3\envs\dpad\Lib\site-packages\pypgstac\pypgstac.py", line 125, in cli
    fire.Fire(PgstacCLI)
  File "C:\Users\HP\anaconda3\envs\dpad\Lib\site-packages\fire\core.py", line 141, in Fire
    component_trace = _Fire(component, args, parsed_flag_args, context, name)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\HP\anaconda3\envs\dpad\Lib\site-packages\fire\core.py", line 466, in _Fire
    component, remaining_args = _CallAndUpdateTrace(
                                ^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\HP\anaconda3\envs\dpad\Lib\site-packages\fire\core.py", line 681, in _CallAndUpdateTrace
    component = fn(*varargs, **kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\HP\anaconda3\envs\dpad\Lib\site-packages\pypgstac\pypgstac.py", line 61, in migrate
    return migrator.run_migration(toversion=toversion)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\HP\anaconda3\envs\dpad\Lib\site-packages\pypgstac\migrate.py", line 148, in run_migration
    migration_sql = get_sql(file)
                    ^^^^^^^^^^^^^
  File "C:\Users\HP\anaconda3\envs\dpad\Lib\site-packages\pypgstac\migrate.py", line 104, in get_sql
    sqlstrs.extend(fd.readlines())
                   ^^^^^^^^^^^^^^
  File "C:\Users\HP\anaconda3\envs\dpad\Lib\encodings\cp1252.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 1085: character maps to <undefined>

What permissions does the role that you are using with pypgstac migrate have? Is it the same role that was used to install pypgstac in the first place? Those first errors that you are getting just look like you are trying to migrate with a role that does not have the right permissions. I think that GRANT pgstac_admin TO <role that you are using>; should allow things to work for you, if not, try running it with a user with SUPERUSER permissions.
As to the Windows issue, I don't have a Windows environment that I can debug with, so I can't replicate that issue to track down.

I'm also running into this issue, my database (also running on Google Cloud, within CloudSQL) is running 0.7.10 currently.
Using pypgstac migrate, it seems 0.7.10 to 0.8.0 is fine, so is 0.8.0 to 0.8.1, but an exception occurs while trying to upgrade from 0.8.1 to 0.8.2.
I'm also running into permission denied to set role "pgstac_ingest".
My user, postgres, has both pgstac_admin, and cloudsqlsuperuser, on CloudSQL it seems not possible to set a user to full SUPERUSER permissions.
I'm certain this is the user that created these tables as well.
Reporting the above findings here while I'm currently looking into fixing this, hopefully will report back with a fix shortly!

Managed to fix it!
Although my user had pgstac_admin, and cloudsqlsuperuser, I believe it was failing to SET ROLE to pgstac_ingest.
I think pgstac_admin in my roles was not setup for some reason to inherit any subsequent roles? It seems like pgstac_ingest inherited pgstac_read, but pgstac_admin inherited nothing.  Not sure if this is a red herring, or if due to my own fault mucking up the state of my database in a previous migration or something else...

Anyways, TL;DR, fix for me was:
GRANT pgstac_ingest TO postgres

And upgraded to 0.9.1 without any more issues :)

Was there a pgstac issue here then?
Should we move this to discussion (with a more explicit name) ?


Complete fields for AnswerCallbackQuery

This pull request fixes #86 and adds few more fields according to telegram official API documentation.
I added a [Can]AnswerCallbackQuery#acknowledge method to generate an AnswerCallbackQuery reques twith empty answer. CanAnswerCallbackQuery#answer and AnswerCallbackQuery#new will still work as before for backward compatibility.
If not considering backward compatibility, I think the best way is to refactor the struct's constructor by returning the struct representing empty answer and add a specific method for setting the text.

Thanks for you pr! I've just cherry picked relevant commits to the master.


Integration testing: sentry

Branched from #6340
PR allows the port and healthz port to be configured on sentry.
Adds integration tests covering healthz and port for sentry.

Closed in favor of https://github.com/dapr/dapr/pull/6463


Kill helm client (no longer used)

Looks like go.mod here conflicts with master, you might want to rebase and go mod tidy.


Bug fix: Why is there a bias towards the top of the screen in army routing?

I think that in general, routing favours the left and the top, because of how get_neighbours works. Then when two move towards each other, they will repeatedly cycle up towards the top. Could possibly be stopped by making them not route to the target until they are maybe 5 steps away from the target.


List of listings

Summary
Provide a list of listings similar to the already existing list of figures and list of tables.

Thanks for requesting this. The listings package already provided a list of listings through the command \lstlistoflistings; I have now customised the style of this list of listings so that it is similar to the existing list of figures/tables. Moreover, I added two aliases: \listoflistings and \listoflstlistings. Now any of these command will print a list of listings. I've also added an example in the documentation.


api: objectInfo filtering should include more headers.

Fixes https://github.com/minio/mc/issues/2193

This patch also solved the problem for my production/preproduction set up as well.


modules/misc: include assertions and meta modules in the repo

Based on the modules we previously imported from NixOS. I've re-formatted the files, removed with lib and re-wrote a couple things to better fit the code-style in nixvim. You can view the upstream files for comparison:

https://github.com/NixOS/nixpkgs/blob/814a4e48/nixos/modules/misc/assertions.nix
https://github.com/NixOS/nixpkgs/blob/814a4e48/nixos/modules/misc/meta.nix

This will allow us to drop the defaultPkgs specialArg and avoids needing the proposed pkgsPath specialArg.
It could also lead to future divergence from upstream (intended or otherwise), for example as suggested in #2309.

@mergifyio queue


help

Expected Behavior

Actual Behavior

not able to start the bot
using ./run.sh
Your FULL config.json (remove your username, password, gmapkey and any other private info)

Output when issue occurred

tele@tele-desktop165:~/Desktop/a$ ./run.sh
Traceback (most recent call last):
File "pokecli.py", line 43, in
from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException, NoPlayerPositionSetException
ImportError: No module named pgoapi.exceptions
Tue Aug 30 17:06:34 IST 2016 Pokebot  Stopped.
Press any button or wait 20 seconds to continue.
Steps to Reproduce

Other Information
OS:

Branch:

Git Commit:

Python Version:

Any other relevant files/configs (eg: path files)

pip install -r requirements.txt --upgrade


Patching exception in method null when patching Railroader 2024.4.2

I've reinstalled the mod a couple of times with previous Railroader update versions, but was not successful with the latest version released this afternoon (May 24, 2024).
I'm bummed, this mod has been magnificent and I've become seriously dependent on it.
railloader.log

Oops, nevermind. The problem is apparently RailLoader, not this mod.

I take it back, it looks like the problem isn't really RailLoader. I've updated it properly but still get the error when launching the game with this mod (and no others). I see someone else has also reported it but in case my log file is somehow helpful I'm reopening this issue.

Just a postscript (I should have included before closing this) - I hope whatever RailDriver knowledge you used to implement this mod is known by the folks that developed and still market the RailDriver. I doubt that they realize there's an opportunity here to get some of those units out of the warehouse! I sincerely appreciate your work on this.


Create sample extension using SolidJS

Sample Extension Description
Implement the default hello-world sample extension using SolidJs to demonstrate how extension authors can scaffold a SolidJs-based webview extension and use the toolkit with that extension.

Awesome! Thank you @hawkticehurst! Great work getting these samples together, actually lead me to clean up a bit of my code now. Hope you have an awesome weekend 🥳

You're welcome and thank you! Hope it's helpful!
Have a great weekend as well 😁


Return to self-destruct

I really like the idea of fin self-destruct, it server more meaning compared to fisher self-uninstall, @bucaran is there any chance to change it to fisher self-destruct?

It was self-destroy in fin. In fisherman I changed it to self-uninstall. It's exactly the same code and I don't see any point of changing that now.
@jethrokuan ?

@bucaran not exactly something I do often, but self-uninstall seems to relate to how the code is written: self-update for example.
I'm unopinionated as to what it's called.

self-destroy was a "cool" term, but I feel "self-uninstall" is a bit more serious, without losing the general vibe.
Closing as wontfix. Sorry @pickfire :)

No problem!


Is it possible to have a custom width stretch and shrink on the x axis (like height) instead of acting as a delimiter?

I.e. if I have 20 data points, the plot is 20 characters max in width and increasing that does nothing to the graph, decreasing just limits the maximum amount of rendered characters. Whereas de/increasing height stretches and compress on the Y-Axis, why the difference and would it be possible to have width behave the same as heights?
P.S.
I looked at plot_fill_canvas and answered part of my question, there is no easy way, at least not for me :-)  I think it would be nice to have ratio work on both axis if you ever get around to it. For now I'll figure out how I can "pad" my data to get at least terminal wide graphs.

This would be possible, but it would require a minor overhaul.  The difference is mainly in what I originally designed plot designed for, which was to display as many datapoints as could fit on the screen for hourly weather data.
If I implemented this, I'm guessing it would be activated by -d :auto to maintain backwards compatibility.

If you fell it would be worth your time, I thinks it's a great feature, but I'm biased :-D
Maybe appending a letter to the width, e.g. s for stretch / shrink would be easier and maybe a for auto if you want to detect the terminal width? But hey, the actual ux of the argument isn't too important. Thanks for the consideration!

An update on this issue.  The problem is more difficult than I previously thought, since it requires resampling the data.  I probably won't have time to look at it for awhile, but implementing this is on my todo list :).


Can't get started

package;

using tink.CoreApi;

class Main implements await.Await{
	public static function main() {
		new Main();
	}

	public function new() {
		bar().handle(function(o) trace(o.sure()));
	}

	@:async function bar():Surprise<Null<Int>, Error> {
		var str = @:await foo();
		var i = Std.parseInt(str);
		return i;
	}
	function foo():Surprise<String, Error> return Future.sync(Success('1'));

}

I am trying this code but it fails with:
src/Main.hx:19: characters 48-58 : tink.core.Future<tink.core.Outcome<String, Unknown<1>>> should be tink.core.Future<tink.core.Outcome<tink.Surprise<String, tink.Error>, Unknown<0>>>
src/Main.hx:19: characters 48-58 : Type parameters are invariant
src/Main.hx:19: characters 48-58 : String should be tink.Surprise<String, tink.Error>
src/Main.hx:19: characters 48-58 : String should be tink.core.Surprise<String, tink.Error>
src/Main.hx:19: characters 48-58 : String should be tink.core.Future<tink.core.Outcome<String, tink.Error>>
src/Main.hx:16: characters 23-26 : tink.Surprise<String, tink.Error> should be String
src/Main.hx:16: characters 23-26 : tink.core.Surprise<String, tink.Error> should be String
src/Main.hx:16: characters 23-26 : tink.core.Future<tink.core.Outcome<String, tink.Error>> should be String
src/Main.hx:16: characters 23-26 : For function argument 'x'
Build failed

The type gets transformed as well. So this should work:
 @:async function bar(): Null<Int> {...}

Do you think the type transform is overkill here?

oops, I see!
Hm... I think it is okay. Just missed that piece of doc 😛

Just got another problem, the following code fails to compile
package;

using tink.CoreApi;

class Main implements await.Await{
	public static function main() {
		new Main();
	}

	public function new() {
		bar().handle(function(o) trace(o.sure()));
	}

	@:async function bar():Int {
		var str:MyString = switch foo() {
			case Success(str):
				str;

			default:
				"2";
		}
		return Std.parseInt(str);
	}
	function foo():Outcome<String, Error> return Success('1');

}

abstract MyString(String) from String to String {}

Should be fixed in 0.0.4

Getting back to the return type issue, I am not sure if one day someone wants to explicitly specify the Failure type, maybe adding an optional meta @:throws(Error) which will become the type of a Failure, how does it sound?

There's currently no way to guarantee the type of a failure. Because exceptions in other methods which are not caught are also passed down the line as failures. I was thinking of passing all failures as tink.core.Error, but it does makes catch() in an async method kind of useless for other types.

How about this:
try {...}
catch(e:Error) __return(Failure(e))
catch(e:Dynamic) __return(Failure(Error.withData('Other error', e)));

Yes, that's what I'd do, but I mean handling the error aftwards:
try
  @:await asyncMethod()
catch(e: Error)
  //...

You can't differentiate by throwing a different type, all would be of type Error. But on the other hand it's probably better than not knowing the type anyway.

I think I prefer having all failures typed as Error, that would preserve the error position and stack

Alright, I'll get this done in the next update.

Conversation continues here: https://github.com/haxetink/tink_await/issues/4


lib/news_data.dart   (Inverted Commas Missed)

class NewsArticle {
final String title;
final String description;
final String? articleText;
NewsArticle({
required this.title,
required this.description,
this.articleText = "loremIpsum",                    // here you missed to insert inverted commas
});

Hi @dev-aliawan
When opening an issue, please try to provide all or some of the information indicated in the template so that we can address this issue properly.
More specifically, please provide the information indicated below:

A completed and minimal reproducible code sample
The output of flutter doctor -v
Reproduction steps

Please update the issue with these information and write in the comments for further discussion.
Thanks!

Hi @dev-aliawan. Are you making reference to News Toolkit?? If yes, I can't seem to find an exact file with the path lib/news_data.dart. Please when filing an issue, kindly try to provide complete and all information needed for the issue to be workable.


reversion or polymorphic bug?

I modified the example pexp/admin.py. According to the documentation, connect to Django- reversion. I added data in admin to "ModelC". When I go into the history of a way to view and choose the right time, I can only see a Field1. But it's not possible to see Field2, Field3! This is normal? Whose mistake?
Made the following changes:
--- example/pexp/admin.py.orig	2015-04-30 12:40:14.000000000 +0300
+++ example/pexp/admin.py	2015-05-07 19:23:12.000000000 +0300
@@ -4,2 +4,4 @@

+import reversion
+from reversion import VersionAdmin

@@ -32,3 +34,9 @@

-class ModelAAdmin(PolymorphicParentModelAdmin):
+class ModelBAdmin(VersionAdmin, ModelAChildAdmin):
+  pass
+
+class ModelCAdmin(ModelBAdmin):
+  pass
+
+class ModelAAdmin(VersionAdmin,PolymorphicParentModelAdmin):
     base_model = ModelA
@@ -37,6 +45,8 @@
         (ModelA, ModelAChildAdmin),
-        (ModelB, ModelAChildAdmin),
-        (ModelC, ModelAChildAdmin),
+        (ModelB, ModelBAdmin),
+        (ModelC, ModelCAdmin),
     )

+reversion.register(ModelB, follow=['modela_ptr'])
+reversion.register(ModelC, follow=['modelb_ptr'])
 admin.site.register(ModelA, ModelAAdmin)

I had the same problem. It was caused by an outdated version of django-reversion. Django-reversion and django-polymorphic only work together as expected on latest versions.
If you are constrained on a specific django version (like me django 1.4.x) you can e.g. only use django-reversion 1.6.6. In that case you have to overwrite some methods of VersionAdmin in your own admin class to circumvent these shortcomings. In detail you have to provide the real admin class to the corresponding views.
I had to consider the following methods/views in my case:
def recoverlist_view(self, request, extra_context=None):
   ...

def recover_view(self, request, version_id, extra_context=None):
   ...

def revision_view(self, request, object_id, version_id, extra_context=None):
   ...

def history_view(self, request, object_id, extra_context=None):
   ...

Hi @milkomeda : could you include the body of those views?
I presume the revision_view looked like this:
        def revision_view(self, request, object_id, version_id, extra_context=None):
            real_admin = self._get_real_admin(object_id)
            return real_admin.recoverlist_view(request, object_id, version_id, extra_context=extra_context)

However I'd love to know what else you had to override.

I had to override the following methods to get polymorphic working with reversion. You have to extend the recoverlist_view method if there are more than two child models.
Your revision_view seems broken cause you are returning real_admin.recoverlist_view(...) instead of real_admin.revision_view(...).
def recoverlist_view(self, request, extra_context=None):
    if extra_context is None:
        extra_context = {}
    deleted1 = self.revision_manager.get_deleted(ModelB)
    deleted2 = self.revision_manager.get_deleted(ModelC)
    extra_context['deleted'] = self._order_version_queryset(deleted1 | deleted2)
    return super(ModelAAdmin, self).recoverlist_view(request, extra_context=extra_context)

def recover_view(self, request, version_id, extra_context=None):
    version = get_object_or_404(Version, pk=version_id)
    real_admin = self._get_real_admin_by_ct(version.content_type_id)
    return real_admin.recover_view(request, version_id, extra_context=extra_context)

def revision_view(self, request, object_id, version_id, extra_context=None):
    real_admin = self._get_real_admin(object_id)
    return real_admin.revision_view(request, object_id, version_id, extra_context=extra_context)

def history_view(self, request, object_id, extra_context=None):
    real_admin = self._get_real_admin(object_id)
    return real_admin.history_view(request, object_id, extra_context=extra_context)


Integration Test - Release - 2018/06/07 09:55:25

Auto create for integration test. AnotherAuthorUpdatedArticleFlow

@PRMergerTest3 : Thanks for your contribution! The author, @v-caxian, has been notified to review your proposed change.


[Collapse] content should exist in DOM before expanded

Based on the discussion for ExpansionPanel: https://github.com/mui-org/material-ui/issues/10569 the contents of the Collapse element should also be in the DOM before it is expanded. For SEO reasons and the other reasons outlined in that thread.

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
The Card component demo uses Collapse and the content of the collapse does not appear in the DOM until it is expanded.
Expected Behavior 🤔
The Collapse element should render the content in the DOM like the ExpansionPanel does: https://material-ui.com/components/expansion-panels/#performance
Steps to Reproduce 🕹
Card component demo

Thanks for taking the time to look at my issue Olivier,
Ah, then I misunderstood that other issue. It sounded like SEO was important based on your comment on the issue and https://github.com/mui-org/material-ui/issues/10569#issuecomment-515659151. I understand that ~15% use it and it's not a priority, though it's great that the team has made it an option for those who need it, thanks for that!
I see that unmountOnExit on the Collapse does exactly what I was expecting. That's good to know! If that's the default you want I'm happy to modify the docs to make it the default.
Could we also add unmountOnExit to the Collapse API (https://material-ui.com/api/collapse/)? Then others could find it as well

@mlenser The prop is already documented (in react-transition-group) in the API page. But it's not visible enough. I think that the most important concern here is to better explain the situation in /components/transitions/.
Well, I used to work on an SEO intensive product using Material-UI when designing v1. So, I was forced to consider it, hence my bias. The good news is that with technologies like Next.js and Gatsby and the flow of plain JS, HTML and CSS users to React, this is a growing concern :).

The prop is already documented (in react-transition-group) in the API page

I never seem to get there. I now see that there is a link from the Collapse component so I probably should've found it but somehow I never do. I generally just look at Props and CSS and ignore everything else.
The ideal situation would be to add props to the props table, but then that'd requiring querying another library and that'd be crazy to expect. I'm surely a lazy developer so this can be ignored as I have no meaningful ways to improve its visibility.

I think that the most important concern here is to better explain the situation in /components/transitions/

I rarely end up on that page. What you have now is sufficient and developers should just be better about reading.
Thanks again for your time! I'll close the issue as everything works as expected once I meaningfully look at the docs.


add kube api exporter or better kube state metrics

To get more metrics around deployments, pods, nodes etc from the API we should also run
https://github.com/kubernetes/kube-state-metrics
ping @webwurst

Fixed by https://github.com/giantswarm/kubernetes-prometheus/commit/1b7ed09b472a338af00efeff074070b1cfa3c275


Refactor "Background Mode" to HTML Form

ref #4171

Moved "Background Mode" from "Advanced" menu to "Repo Settings"
Changed Bckg Setting and Bckg Run to new HTML page format

Looks to be working well but should be tested by someone who uses BG Mode frequently.
Note: Diff looks strange since GH see it as a rename although I created a new class and deleted the old one.

thanks 👍