[Bug]: windows could work, but for linux remote use , it stuck at prompt process

Describe the bug

I used windows local <IP_ADDRESS>:8081. it works
but when I change to linux remote, I use bellow command to stard

When I run the same demo, it stuck in this process , after 30 min, there release an error message connection time out
Steps to reproduce
No response
Expected Behavior
No response
Screenshots and logs

userproxy (to visualization_assistant):
hello

Traceback (most recent call last):
File "/aml/conda/lib/python3.10/site-packages/httpcore/_exceptions.py", line 10, in map_exceptions
yield
File "/aml/conda/lib/python3.10/site-packages/httpcore/backends/sync.py", line 94, in connect_tcp
sock = socket.create_connection(
File "/aml/conda/lib/python3.10/socket.py", line 845, in create_connection
raise err
File "/aml/conda/lib/python3.10/socket.py", line 833, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/aml/conda/lib/python3.10/site-packages/httpx/_transports/default.py", line 60, in map_httpcore_exceptions
yield
File "/aml/conda/lib/python3.10/site-packages/httpx/_transports/default.py", line 218, in handle_request
resp = self._pool.handle_request(req)
File "/aml/conda/lib/python3.10/site-packages/httpcore/_sync/connection_pool.py", line 256, in handle_request
raise exc
File "/aml/conda/lib/python3.10/site-packages/httpcore/_sync/connection_pool.py", line 240, in handle_request
response = connection.handle_request(request)
File "/aml/conda/lib/python3.10/site-packages/httpcore/_sync/connection.py", line 86, in handle_request
raise exc
File "/aml/conda/lib/python3.10/site-packages/httpcore/_sync/connection.py", line 63, in handle_request
stream = self._connect(request)
File "/aml/conda/lib/python3.10/site-packages/httpcore/_sync/connection.py", line 111, in _connect
stream = self._network_backend.connect_tcp(**kwargs)
File "/aml/conda/lib/python3.10/site-packages/httpcore/backends/sync.py", line 93, in connect_tcp
with map_exceptions(exc_map):
File "/aml/conda/lib/python3.10/contextlib.py", line 153, in exit
self.gen.throw(typ, value, traceback)
File "/aml/conda/lib/python3.10/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
raise to_exc(exc) from exc
httpcore.ConnectError: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/aml/conda/lib/python3.10/site-packages/openai/_base_client.py", line 882, in _request
response = self._client.send(
File "/aml/conda/lib/python3.10/site-packages/httpx/_client.py", line 901, in send
response = self._send_handling_auth(
File "/aml/conda/lib/python3.10/site-packages/httpx/_client.py", line 929, in _send_handling_auth
response = self._send_handling_redirects(
File "/aml/conda/lib/python3.10/site-packages/httpx/_client.py", line 966, in _send_handling_redirects
response = self._send_single_request(request)
File "/aml/conda/lib/python3.10/site-packages/httpx/_client.py", line 1002, in _send_single_request
response = transport.handle_request(request)
File "/aml/conda/lib/python3.10/site-packages/httpx/_transports/default.py", line 217, in handle_request
with map_httpcore_exceptions():
File "/aml/conda/lib/python3.10/contextlib.py", line 153, in exit
self.gen.throw(typ, value, traceback)
File "/aml/conda/lib/python3.10/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ConnectError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/aml/conda/lib/python3.10/site-packages/httpcore/_exceptions.py", line 10, in map_exceptions
yield
File "/aml/conda/lib/python3.10/site-packages/httpcore/backends/sync.py", line 94, in connect_tcp
sock = socket.create_connection(
File "/aml/conda/lib/python3.10/socket.py", line 845, in create_connection
raise err
File "/aml/conda/lib/python3.10/socket.py", line 833, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/aml/conda/lib/python3.10/site-packages/httpx/_transports/default.py", line 60, in map_httpcore_exceptions
yield
File "/aml/conda/lib/python3.10/site-packages/httpx/_transports/default.py", line 218, in handle_request
resp = self._pool.handle_request(req)
File "/aml/conda/lib/python3.10/site-packages/httpcore/_sync/connection_pool.py", line 256, in handle_request
raise exc
File "/aml/conda/lib/python3.10/site-packages/httpcore/_sync/connection_pool.py", line 240, in handle_request
response = connection.handle_request(request)
File "/aml/conda/lib/python3.10/site-packages/httpcore/_sync/connection.py", line 86, in handle_request
raise exc
File "/aml/conda/lib/python3.10/site-packages/httpcore/_sync/connection.py", line 63, in handle_request
stream = self._connect(request)
File "/aml/conda/lib/python3.10/site-packages/httpcore/_sync/connection.py", line 111, in _connect
stream = self._network_backend.connect_tcp(**kwargs)
File "/aml/conda/lib/python3.10/site-packages/httpcore/backends/sync.py", line 93, in connect_tcp
with map_exceptions(exc_map):
File "/aml/conda/lib/python3.10/contextlib.py", line 153, in exit
self.gen.throw(typ, value, traceback)
File "/aml/conda/lib/python3.10/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
raise to_exc(exc) from exc
httpcore.ConnectError: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/aml/conda/lib/python3.10/site-packages/openai/_base_client.py", line 882, in _request
response = self._client.send(
File "/aml/conda/lib/python3.10/site-packages/httpx/_client.py", line 901, in send
response = self._send_handling_auth(
File "/aml/conda/lib/python3.10/site-packages/httpx/_client.py", line 929, in _send_handling_auth
response = self._send_handling_redirects(
File "/aml/conda/lib/python3.10/site-packages/httpx/_client.py", line 966, in _send_handling_redirects
response = self._send_single_request(request)
File "/aml/conda/lib/python3.10/site-packages/httpx/_client.py", line 1002, in _send_single_request
response = transport.handle_request(request)
File "/aml/conda/lib/python3.10/site-packages/httpx/_transports/default.py", line 217, in handle_request
with map_httpcore_exceptions():
File "/aml/conda/lib/python3.10/contextlib.py", line 153, in exit
self.gen.throw(typ, value, traceback)
File "/aml/conda/lib/python3.10/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ConnectError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/aml/conda/lib/python3.10/site-packages/httpcore/_exceptions.py", line 10, in map_exceptions
yield
File "/aml/conda/lib/python3.10/site-packages/httpcore/backends/sync.py", line 94, in connect_tcp
sock = socket.create_connection(
File "/aml/conda/lib/python3.10/socket.py", line 845, in create_connection
raise err
File "/aml/conda/lib/python3.10/socket.py", line 833, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/aml/conda/lib/python3.10/site-packages/httpx/_transports/default.py", line 60, in map_httpcore_exceptions
yield
File "/aml/conda/lib/python3.10/site-packages/httpx/_transports/default.py", line 218, in handle_request
resp = self._pool.handle_request(req)
File "/aml/conda/lib/python3.10/site-packages/httpcore/_sync/connection_pool.py", line 256, in handle_request
raise exc
File "/aml/conda/lib/python3.10/site-packages/httpcore/_sync/connection_pool.py", line 240, in handle_request
response = connection.handle_request(request)
File "/aml/conda/lib/python3.10/site-packages/httpcore/_sync/connection.py", line 86, in handle_request
raise exc
File "/aml/conda/lib/python3.10/site-packages/httpcore/_sync/connection.py", line 63, in handle_request
stream = self._connect(request)
File "/aml/conda/lib/python3.10/site-packages/httpcore/_sync/connection.py", line 111, in _connect
stream = self._network_backend.connect_tcp(**kwargs)
File "/aml/conda/lib/python3.10/site-packages/httpcore/backends/sync.py", line 93, in connect_tcp
with map_exceptions(exc_map):
File "/aml/conda/lib/python3.10/contextlib.py", line 153, in exit
self.gen.throw(typ, value, traceback)
File "/aml/conda/lib/python3.10/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
raise to_exc(exc) from exc
httpcore.ConnectError: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/aml/conda/lib/python3.10/site-packages/openai/_base_client.py", line 882, in _request
response = self._client.send(
File "/aml/conda/lib/python3.10/site-packages/httpx/_client.py", line 901, in send
response = self._send_handling_auth(
File "/aml/conda/lib/python3.10/site-packages/httpx/_client.py", line 929, in _send_handling_auth
response = self._send_handling_redirects(
File "/aml/conda/lib/python3.10/site-packages/httpx/_client.py", line 966, in _send_handling_redirects
response = self._send_single_request(request)
File "/aml/conda/lib/python3.10/site-packages/httpx/_client.py", line 1002, in _send_single_request
response = transport.handle_request(request)
File "/aml/conda/lib/python3.10/site-packages/httpx/_transports/default.py", line 217, in handle_request
with map_httpcore_exceptions():
File "/aml/conda/lib/python3.10/contextlib.py", line 153, in exit
self.gen.throw(typ, value, traceback)
File "/aml/conda/lib/python3.10/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ConnectError: [Errno 111] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/aml/conda/lib/python3.10/site-packages/autogenstudio/web/app.py", line 68, in add_message
response_message: Message = chatmanager.chat(
File "/aml/conda/lib/python3.10/site-packages/autogenstudio/chatmanager.py", line 29, in chat
flow.run(message=f"{message_text}", clear_history=False)
File "/aml/conda/lib/python3.10/site-packages/autogenstudio/workflowmanager.py", line 191, in run
self.sender.initiate_chat(
File "/aml/conda/lib/python3.10/site-packages/autogen/agentchat/conversable_agent.py", line 672, in initiate_chat
self.send(self.generate_init_message(**context), recipient, silent=silent)
File "/aml/conda/lib/python3.10/site-packages/autogen/agentchat/conversable_agent.py", line 420, in send
recipient.receive(message, self, request_reply, silent)
File "/aml/conda/lib/python3.10/site-packages/autogen/agentchat/conversable_agent.py", line 578, in receive
reply = self.generate_reply(messages=self.chat_messages[sender], sender=sender)
File "/aml/conda/lib/python3.10/site-packages/autogen/agentchat/conversable_agent.py", line 1241, in generate_reply
final, reply = reply_func(self, messages=messages, sender=sender, config=reply_func_tuple["config"])
File "/aml/conda/lib/python3.10/site-packages/autogen/agentchat/conversable_agent.py", line 761, in generate_oai_reply
response = client.create(
File "/aml/conda/lib/python3.10/site-packages/autogen/oai/client.py", line 266, in create
response = self._completions_create(client, params)
File "/aml/conda/lib/python3.10/site-packages/autogen/oai/client.py", line 531, in _completions_create
response = completions.create(**params)
File "/aml/conda/lib/python3.10/site-packages/openai/_utils/_utils.py", line 301, in wrapper
return func(*args, **kwargs)
File "/aml/conda/lib/python3.10/site-packages/openai/resources/chat/completions.py", line 598, in create
return self._post(
File "/aml/conda/lib/python3.10/site-packages/openai/_base_client.py", line 1096, in post
return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
File "/aml/conda/lib/python3.10/site-packages/openai/_base_client.py", line 856, in request
return self._request(
File "/aml/conda/lib/python3.10/site-packages/openai/_base_client.py", line 929, in _request
return self._retry_request(
File "/aml/conda/lib/python3.10/site-packages/openai/_base_client.py", line 966, in _retry_request
return self._request(
File "/aml/conda/lib/python3.10/site-packages/openai/_base_client.py", line 929, in _request
return self._retry_request(
File "/aml/conda/lib/python3.10/site-packages/openai/_base_client.py", line 966, in _retry_request
return self._request(
File "/aml/conda/lib/python3.10/site-packages/openai/_base_client.py", line 938, in _request
raise APIConnectionError(request=request) from err
openai.APIConnectionError: Connection error.
Additional Information
No response

Hi,
Which llm are you using? How is it configured?

Hi,
Which llm are you using? How is it configured?

Azure GPT-35 not turbo

This looks correct.
As long as you have set all the values correctly, it should work with Azure OAI.
note that
model=gpt-35
base_url = ...
api_version= ...
api_key=...
Also confirm that you have set this for all agents in your workflow, and also there are no other model configs.

This looks correct. As long as you have set all the values correctly, it should work with Azure OAI. note that
model=gpt-35 base_url = ... api_version= ... api_key=...
Also confirm that you have set this for all agents in your workflow, and also there are no other model configs.

Hi Victor:
Linux agent configuration same as windows

@monuminu, any chance you can provide some insights here since you have gotten azure oai working well with autogenstudio?

ensure your model is the deployment name

ensure your model is the deployment name

same as gpt-35

It only occurs on linux

I saw the problem only occurs on remote neither Linux or windows
Below is windows error
C:\Users\bozho>autogenstudio ui --host <IP_ADDRESS> --port 8031
INFO:     Started server process [9492]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:8031 (Press CTRL+C to quit)
INFO:     <IP_ADDRESS>:52467 - "GET / HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:52467 - "GET /images/svgs/welcome.svg HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:52470 - "GET /app-e668c2f8516018ac0a1c.js HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:52473 - "GET /webpack-runtime-5401e0764f0827a2e223.js HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:52472 - "GET /framework-0e118549f33203964972.js HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:52470 - "GET /page-data/app-data.json HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:52472 - "GET /page-data/index/page-data.json HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:52473 - "GET /favicon-32x32.png?v=46131b614287332146ea078703a67d38 HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:52470 - "GET /318ce576f236b79fd96f75904c13f6e55c3eee57-bf26f3994740657e0089.js HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:52473 - "GET /component---src-pages-index-tsx-2342fef3effa18a4d864.js HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:52472 - "GET /6c05b3ab656a8bfc225a64b3d73a36a92f83c05e-6a87df80060a5da491fc.js HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:52470 - "GET<EMAIL_ADDRESS>HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:52472 - "GET<EMAIL_ADDRESS>HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:52472 - "GET /page-data/build/page-data.json HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:52470 - "GET<EMAIL_ADDRESS>HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:52470 - "GET<EMAIL_ADDRESS>HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:52472 - "GET /component---src-pages-build-tsx-58ddda806aafef1d02d8.js HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:52472 - "GET /page-data/gallery/page-data.json HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:52472 - "GET /component---src-pages-gallery-index-tsx-7370214343f4a0096492.js HTTP/1.1" 200 OK
agent_spec.config  LLMConfig(config_list=[{'model': 'gpt-35', 'api_key': '6f0e8a96694244339aa52b03d00bdfbe', 'base_url': 'https://rt.openai.azure.com/', 'api_type': 'azure', 'api_version': '2023-05-15'}], temperature=0.1, cache_seed=None, timeout=600)
userproxy (to visualization_assistant):
hello

userproxy (to visualization_assistant):
Plot a chart of NVDA and TESLA stock price for 2023. Save the result to a file named nvda_tesla.png

visualization_assistant (to userproxy):
Sure, I can help you with that. To plot the chart of NVDA and TESLA stock prices for 2023, we'll need to retrieve the stock price data first. Let's start by installing the necessary libraries and retrieving the data.
# filename: stock_price_chart.py
import pandas as pd
import matplotlib.pyplot as plt
import yfinance as yf

# Define the ticker symbols
tickers = ['NVDA', 'TSLA']

# Define the start and end dates
start_date = '2023-01-01'
end_date = '2023-12-31'

# Retrieve the stock price data
data = yf.download(tickers, start=start_date, end=end_date)['Adj Close']

# Plot the stock price chart
data.plot(figsize=(10, 6))

# Add a line of best fit and text on the slope for each line
for ticker in tickers:
    slope = (data[ticker][-1] - data[ticker][0]) / len(data[ticker])
    plt.annotate(f'Slope: {slope:.2f}', xy=(data.index[-1], data[ticker][-1]), xytext=(10, -30),
                 textcoords='offset points', arrowprops=dict(arrowstyle='->'))

# Add a title
plt.title('Stock Price Chart - NVDA and TESLA (2023)', fontweight='bold')

# Save the chart to a file
plt.savefig('nvda_tesla.png')

# Show the chart
plt.show()

Please make sure you have the following libraries installed: pandas, matplotlib, and yfinance. You can install them using pip:
pip install pandas matplotlib yfinance

After running the code, a file named "nvda_tesla.png" will be saved in the current directory, which contains the chart of NVDA and TESLA stock prices for 2023.
Let me know if you need any further assistance. TERMINATE

userproxy (to visualization_assistant):
Plot a chart of NVDA and TESLA stock price for 2023. Save the result to a file named nvda_tesla.png

visualization_assistant (to userproxy):
Sure, I can help you with that. To plot the chart of NVDA and TESLA stock prices for 2023, we'll need to retrieve the stock price data first. Let's start by installing the necessary libraries and retrieving the data.
# filename: stock_price_chart.py
import pandas as pd
import matplotlib.pyplot as plt
import yfinance as yf

# Define the ticker symbols
tickers = ['NVDA', 'TSLA']

# Define the start and end dates
start_date = '2023-01-01'
end_date = '2023-12-31'

# Retrieve the stock price data
data = yf.download(tickers, start=start_date, end=end_date)['Adj Close']

# Plot the stock price chart
data.plot(figsize=(10, 6))

# Add a line of best fit and text on the slope for each line
for ticker in tickers:
    slope = (data[ticker][-1] - data[ticker][0]) / len(data[ticker])
    plt.annotate(f'Slope: {slope:.2f}', xy=(data.index[-1], data[ticker][-1]), xytext=(10, -30),
                 textcoords='offset points', arrowprops=dict(arrowstyle='->'))

# Add a title
plt.title('Stock Price Chart - NVDA and TESLA (2023)', fontweight='bold')

# Save the chart to a file
plt.savefig('nvda_tesla.png')

# Show the chart
plt.show()

Please make sure you have the following libraries installed: pandas, matplotlib, and yfinance. You can install them using pip:
pip install pandas matplotlib yfinance

After running the code, a file named "nvda_tesla.png" will be saved in the current directory, which contains the chart of NVDA and TESLA stock prices for 2023.
Let me know if you need any further assistance. TERMINATE

userproxy (to visualization_assistant):
Plot a chart of NVDA and TESLA stock price for 2023. Save the result to a file named nvda_tesla.png

visualization_assistant (to userproxy):
Sure, I can help you with that. To plot the chart of NVDA and TESLA stock prices for 2023, we'll need to retrieve the stock price data first. Let's start by installing the necessary libraries and retrieving the data.
# filename: stock_price_chart.py
import pandas as pd
import matplotlib.pyplot as plt
import yfinance as yf

# Define the ticker symbols
tickers = ['NVDA', 'TSLA']

# Define the start and end dates
start_date = '2023-01-01'
end_date = '2023-12-31'

# Retrieve the stock price data
data = yf.download(tickers, start=start_date, end=end_date)['Adj Close']

# Plot the stock price chart
plt.figure(figsize=(10, 6))
plt.plot(data.index, data['NVDA'], label='NVDA')
plt.plot(data.index, data['TSLA'], label='TSLA')

# Add a line of best fit and text on the slope for each line
for ticker in tickers:
    slope = (data[ticker][-1] - data[ticker][0]) / len(data[ticker])
    plt.annotate(f'Slope: {slope:.2f}', xy=(data.index[-1], data[ticker][-1]), xytext=(10, -30),
                 textcoords='offset points', arrowprops=dict(arrowstyle='->'))

# Add a title
plt.title('Stock Price Chart - NVDA and TESLA (2023)', fontweight='bold')

# Add legend
plt.legend()

# Save the chart to a file
plt.savefig('nvda_tesla.png')

# Show the chart
plt.show()

Please make sure you have the following libraries installed: pandas, matplotlib, and yfinance. You can install them using pip:
pip install pandas matplotlib yfinance

After running the code, a file named "nvda_tesla.png" will be saved in the current directory, which contains the chart of NVDA and TESLA stock prices for 2023.
Let me know if you need any further assistance. TERMINATE

userproxy (to visualization_assistant):
Plot a chart of NVDA and TESLA stock price for 2023. Save the result to a file named nvda_tesla.png

visualization_assistant (to userproxy):
Sure, I can help you with that. To plot the chart of NVDA and TESLA stock prices for 2023, we'll need to retrieve the stock price data first. Let's start by installing the necessary libraries and retrieving the data.
# filename: stock_price_chart.py
import pandas as pd
import matplotlib.pyplot as plt
import yfinance as yf

# Define the ticker symbols
tickers = ['NVDA', 'TSLA']

# Define the start and end dates
start_date = '2023-01-01'
end_date = '2023-12-31'

# Retrieve the stock price data
data = yf.download(tickers, start=start_date, end=end_date)['Adj Close']

# Plot the stock price chart
plt.figure(figsize=(10, 6))
plt.plot(data.index, data['NVDA'], label='NVDA')
plt.plot(data.index, data['TSLA'], label='TSLA')

# Add a line of best fit and text on the slope for each line
for ticker in tickers:
    slope = (data[ticker][-1] - data[ticker][0]) / len(data[ticker])
    plt.annotate(f'Slope: {slope:.2f}', xy=(data.index[-1], data[ticker][-1]), xytext=(10, -30),
                 textcoords='offset points', arrowprops=dict(arrowstyle='->'))

# Add a title
plt.title('Stock Price Chart - NVDA and TESLA (2023)', fontweight='bold')

# Add legend
plt.legend()

# Save the chart to a file
plt.savefig('nvda_tesla.png')

# Show the chart
plt.show()

Please make sure you have the following libraries installed: pandas, matplotlib, and yfinance. You can install them using pip:
pip install pandas matplotlib yfinance

After running the code, a file named "nvda_tesla.png" will be saved in the current directory, which contains the chart of NVDA and TESLA stock prices for 2023.
Let me know if you need any further assistance. TERMINATE

userproxy (to visualization_assistant):
Plot a chart of NVDA and TESLA stock price for 2023. Save the result to a file named nvda_tesla.png

visualization_assistant (to userproxy):
Sure, I can help you with that. To plot the chart of NVDA and TESLA stock prices for 2023, we'll need to retrieve the stock price data first. Let's start by installing the necessary libraries and retrieving the data.
# filename: stock_price_chart.py
import pandas as pd
import matplotlib.pyplot as plt
import yfinance as yf

# Define the ticker symbols
tickers = ['NVDA', 'TSLA']

# Define the start and end dates
start_date = '2023-01-01'
end_date = '2023-12-31'

# Retrieve the stock price data
data = yf.download(tickers, start=start_date, end=end_date)['Adj Close']

# Plot the stock price chart
plt.figure(figsize=(10, 6))
plt.plot(data.index, data['NVDA'], label='NVDA')
plt.plot(data.index, data['TSLA'], label='TSLA')

# Add a line of best fit and text on the slope for each line
for ticker in tickers:
    slope = (data[ticker][-1] - data[ticker][0]) / len(data[ticker])
    plt.annotate(f'Slope: {slope:.2f}', xy=(data.index[-1], data[ticker][-1]), xytext=(10, -30),
                 textcoords='offset points', arrowprops=dict(arrowstyle='->'))

# Add a title
plt.title('Stock Price Chart - NVDA and TESLA (2023)', fontweight='bold')

# Add legend
plt.legend()

# Save the chart to a file
plt.savefig('nvda_tesla.png')

# Show the chart
plt.show()

Please make sure you have the following libraries installed: pandas, matplotlib, and yfinance. You can install them using pip:
pip install pandas matplotlib yfinance

After running the code, a file named "nvda_tesla.png" will be saved in the current directory, which contains the chart of NVDA and TESLA stock prices for 2023.
Let me know if you need any further assistance. TERMINATE

userproxy (to visualization_assistant):
Plot a chart of NVDA and TESLA stock price for 2023. Save the result to a file named nvda_tesla.png

visualization_assistant (to userproxy):
Sure, I can help you with that. To plot the chart of NVDA and TESLA stock prices for 2023, we'll need to retrieve the stock price data first. Let's start by installing the necessary libraries and retrieving the data.
# filename: stock_price_chart.py
import pandas as pd
import matplotlib.pyplot as plt
import yfinance as yf

# Define the ticker symbols
tickers = ['NVDA', 'TSLA']

# Define the start and end dates
start_date = '2023-01-01'
end_date = '2023-12-31'

# Retrieve the stock price data
data = yf.download(tickers, start=start_date, end=end_date)['Adj Close']

# Plot the stock price chart
plt.figure(figsize=(10, 6))
plt.plot(data.index, data['NVDA'], label='NVDA')
plt.plot(data.index, data['TSLA'], label='TSLA')

# Add a line of best fit and text on the slope for each line
for ticker in tickers:
    slope = (data[ticker][-1] - data[ticker][0]) / len(data[ticker])
    plt.annotate(f'Slope: {slope:.2f}', xy=(data.index[-1], data[ticker][-1]), xytext=(10, -30),
                 textcoords='offset points', arrowprops=dict(arrowstyle='->'))

# Add a title
plt.title('Stock Price Chart - NVDA and TESLA (2023)', fontweight='bold')

# Add legend
plt.legend()

# Save the chart to a file
plt.savefig('nvda_tesla.png')

# Show the chart
plt.show()

Please make sure you have the following libraries installed: pandas, matplotlib, and yfinance. You can install them using pip:
pip install pandas matplotlib yfinance

After running the code, a file named "nvda_tesla.png" will be saved in the current directory, which contains the chart of NVDA and TESLA stock prices for 2023.
Let me know if you need any further assistance. TERMINATE

userproxy (to visualization_assistant):
Write a python script to plot a sine wave and save it to disc as a png file sine_wave.png

visualization_assistant (to userproxy):
Certainly! Here's a Python script that plots a sine wave and saves it as a PNG file named "sine_wave.png":
# filename: sine_wave_plot.py
import numpy as np
import matplotlib.pyplot as plt

# Generate x values from 0 to 2*pi with a step of 0.1
x = np.arange(0, 2*np.pi, 0.1)

# Calculate y values as the sine of x
y = np.sin(x)

# Plot the sine wave
plt.plot(x, y)

# Add labels and title
plt.xlabel('x')
plt.ylabel('sin(x)')
plt.title('Sine Wave')

# Save the plot as a PNG file
plt.savefig('sine_wave.png')

# Show the plot
plt.show()

To run this script, make sure you have the numpy and matplotlib libraries installed. You can install them using pip:
pip install numpy matplotlib

After running the script, a file named "sine_wave.png" will be saved in the current directory, which contains the plot of the sine wave.
Let me know if you need any further assistance. TERMINATE

userproxy (to visualization_assistant):
automate run the code

visualization_assistant (to userproxy):
To automate the execution of the Python script, you can create a shell script that runs the Python script. Here's an example of how you can do it:
# filename: run_sine_wave_plot.sh
#!/bin/bash

# Activate the virtual environment if necessary
# source /path/to/your/virtualenv/bin/activate

# Run the Python script
python sine_wave_plot.py

# Deactivate the virtual environment if necessary
# deactivate

Make sure to replace /path/to/your/virtualenv with the actual path to your virtual environment if you're using one.
Save the above shell script in the same directory as the sine_wave_plot.py script. Then, open a terminal, navigate to the directory, and run the shell script using the following command:
sh run_sine_wave_plot.sh

This will execute the Python script and generate the sine_wave.png file.
Let me know if you need any further assistance. TERMINATE

userproxy (to visualization_assistant):
Plot a chart of NVDA and TESLA stock price for 2023. Save the result to a file named nvda_tesla.png

visualization_assistant (to userproxy):
Sure, I can help you with that. To plot the chart of NVDA and TESLA stock prices for 2023, we'll need to retrieve the stock price data first. Let's start by installing the necessary libraries and retrieving the data

userproxy (to visualization_assistant):
I apologize for the confusion, but as a language model AI, I don't have the capability to install libraries or retrieve real-time data. However, I can provide you with the code to plot the chart if you already have the stock price data for NVDA and TESLA for 2023.
Here's an example of how you can plot the chart using matplotlib:
import matplotlib.pyplot as plt

# Define the stock price data for NVDA and TESLA for 2023
nvda_prices = [100, 110, 120, ...]  # Replace with actual NVDA stock prices
tesla_prices = [200, 210, 220, ...]  # Replace with actual TESLA stock prices

# Define the x-axis values (e.g., dates)
dates = ['2023-01-01', '2023-01-02', '2023-01-03', ...]  # Replace with actual dates

# Plot the stock price chart
plt.plot(dates, nvda_prices, label='NVDA')
plt.plot(dates, tesla_prices, label='TESLA')

# Add labels and title
plt.xlabel('Date')
plt.ylabel('Stock Price')
plt.title('NVDA and TESLA Stock Prices in 2023')

# Add legend
plt.legend()

# Save the chart to a file
plt.savefig('nvda_tesla.png')

# Show the chart
plt.show()

In the code above, replace the nvda_prices and tesla_prices lists with the actual stock price data for NVDA and TESLA for each corresponding date in the dates list. Once you have the data, you can run the code to plot the chart and save it as nvda_tesla.png.
Let me know if you need any further assistance.

EXECUTING CODE BLOCK 0 (inferred language is python)...
execute_code was called without specifying a value for use_docker. Since the python docker package is not available, code will be run natively. Note: this fallback behavior is subject to change
SIGALRM is not supported on Windows. No timeout will be enforced.
visualization_assistant (to userproxy):

exitcode: 1 (execution failed)
Code output:
Traceback (most recent call last):
File "", line 11, in
plt.plot(dates, nvda_prices, label='NVDA')
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\matplotlib\pyplot.py", line 3575, in plot
return gca().plot(
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\matplotlib\axes_axes.py", line 1721, in plot
lines = [*self._get_lines(self, *args, data=data, **kwargs)]
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\matplotlib\axes_base.py", line 303, in call
yield from self._plot_args(
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\matplotlib\axes_base.py", line 494, in _plot_args
axes.xaxis.update_units(x)
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\matplotlib\axis.py", line 1712, in update_units
default = self.converter.default_units(data, self)
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\matplotlib\category.py", line 105, in default_units
axis.set_units(UnitData(data))
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\matplotlib\category.py", line 181, in init
self.update(data)
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\matplotlib\category.py", line 216, in update
api.check_isinstance((str, bytes), value=val)
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\matplotlib_api_init.py", line 91, in check_isinstance
raise TypeError(
TypeError: 'value' must be an instance of str or bytes, not a ellipsis

Traceback (most recent call last):
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\autogenstudio\web\app.py", line 74, in add_message
response_message: Message = chatmanager.chat(
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\autogenstudio\chatmanager.py", line 29, in chat
flow.run(message=f"{message_text}", clear_history=False)
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\autogenstudio\workflowmanager.py", line 197, in run
self.sender.initiate_chat(
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\autogen\agentchat\conversable_agent.py", line 672, in initiate_chat
self.send(self.generate_init_message(**context), recipient, silent=silent)
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\autogen\agentchat\conversable_agent.py", line 420, in send
recipient.receive(message, self, request_reply, silent)
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\autogen\agentchat\conversable_agent.py", line 580, in receive
self.send(reply, sender, silent=silent)
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\autogen\agentchat\conversable_agent.py", line 420, in send
recipient.receive(message, self, request_reply, silent)
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\autogen\agentchat\conversable_agent.py", line 580, in receive
self.send(reply, sender, silent=silent)
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\autogen\agentchat\conversable_agent.py", line 420, in send
recipient.receive(message, self, request_reply, silent)
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\autogen\agentchat\conversable_agent.py", line 580, in receive
self.send(reply, sender, silent=silent)
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\autogen\agentchat\conversable_agent.py", line 420, in send
recipient.receive(message, self, request_reply, silent)
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\autogen\agentchat\conversable_agent.py", line 578, in receive
reply = self.generate_reply(messages=self.chat_messages[sender], sender=sender)
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\autogen\agentchat\conversable_agent.py", line 1241, in generate_reply
final, reply = reply_func(self, messages=messages, sender=sender, config=reply_func_tuple["config"])
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\autogen\agentchat\conversable_agent.py", line 761, in generate_oai_reply
response = client.create(
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\autogen\oai\client.py", line 266, in create
response = self._completions_create(client, params)
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\autogen\oai\client.py", line 531, in _completions_create
response = completions.create(**params)
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\openai_utils_utils.py", line 299, in wrapper
return func(*args, **kwargs)
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\openai\resources\chat\completions.py", line 598, in create
return self._post(
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\openai_base_client.py", line 1055, in post
return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\openai_base_client.py", line 834, in request
return self._request(
File "C:\Users\bozho\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\openai_base_client.py", line 877, in _request
raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - {'error': {'message': "This model's maximum context length is 4096 tokens. However, your messages resulted in 4539 tokens. Please reduce the length of the messages.", 'type': 'invalid_request_error', 'param': 'messages', 'code': 'context_length_exceeded'}}
INFO:     <IP_ADDRESS>:52472 - "POST /api/messages HTTP/1.1" 200 OK


fix: update curric units params-incorrect error to 404

Description

Added 404 to params incorrect error

Issue(s)
Fixes #
How to test

Go to https://deploy-preview-1889--oak-web-application.netlify.thenational.academy
Click on /beta/teachers-2023/curriculum/NOT_A_VALID_PATH/units
You should see a 404 erro (rather than a 500 error)

:tada: This PR is included in version 1.238.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Two questions on feign.compression.request

This interface is shared by the server and the client (client is openfeign 10.10--httpclient in springboot,server is springboot2.3)：
@RequestMapping(value = "/user/get", method = {RequestMethod.GET})
 public User userGetByDesc(@SpringQueryMap User user);

The input parameter (@SpringQueryMap User user)   is very big ,and the size is dynamic, so I  compress the request in openfeign：
feign.compression.request.enabled: true
But it doesn't work.
I read these codes in FeignContentGzipEncodingInterceptor.requiresCompression():
return matchesMimeType(headers.get(HttpEncoding.CONTENT_TYPE))
				&& contentLengthExceedThreshold(headers.get(HttpEncoding.CONTENT_LENGTH));

I thought these two headers were added automatically.
But the request has not any header when I debug the code.
So:
My 1st question is : In the case ,how to add Content-Type & Content-Length in request header that is better?
My 2nd question is : If the request header has Content-Encoding: gzip,deflate,  which class does the compression work?
Thanks!
plus:
I change to POST instead:
    @RequestMapping(value = "/user/get", method = {RequestMethod.POST}, headers = {"Content-Type="+MediaType.APPLICATION_JSON_VALUE})
    public User userGet(@RequestBody  User user);

There are Content-Type & Content-Length in header, then feign adds: Content-Encoding gzip,deflate.
But through wireshark observation, the request content is not compressed.
How to let it work?
Thanks！

Hello, @childewuque, thank for submitting the question. Please learn how to properly format code and logs.
The Content-Length header is added by OpenFeign when the request contains a body, which is in keeping with the spec for this header. It refers to entity-body. Similarly, you can read there that the Content-Encoding header also refers to the entity-body. Unlike the body, the query map should not be huge and require compression. If it does, there are probably architecture changes required to improve the API. Moreover, the encoding headers added on request side do not cause anything to happen automatically - they indicate to the server that the client expects an encoded response, but it's the responsibility of the server to actually implement and handle the encoding when such headers are present.

Hello, @childewuque, thank for submitting the question. Please learn how to properly format code and logs. The Content-Length header is added by OpenFeign when the request contains a body, which is in keeping with the spec for this header. It refers to entity-body. Similarly, you can read there that the Content-Encoding header also refers to the entity-body. Unlike the body, the query map should not be huge and require compression. If it does, there are probably architecture changes required to improve the API. Moreover, the encoding headers added on request side do not cause anything to happen automatically - they indicate to the server that the client expects an encoded response, but it's the responsibility of the server to actually implement and handle the encoding when such headers are present.

Thank you very much.
But you said   "Moreover, the encoding headers added on request side do not cause anything to happen automatically"
By the openfeign doc https://docs.spring.io/spring-cloud-openfeign/docs/2.2.11.BUILD-SNAPSHOT/reference/html/#feign-requestresponse-compression
,I think openfeign will compress the request body. If NOT,then what does this configuration do?

feign.compression.request.enabled=true

@OlgaMaciaszek
Please help explain this configuration item:
feign.compression.request.enabled=true
Thank you!


remove client v2

@jamesmontemagno just curious, what is this

@jamesmontemagno  Should we merge this? (after conflict fixes obviously)

let me do this again, my thinking is that we don't need to have the client apps in both locations? unless we plan to do integration into azure services?


AUTO_DISC_RIPPER not working.

Hello,
I'm unable to get Auto_Disc_Ripper working. My issue is dissimilar to #87 in that makemkv can see the disc when I click "File > Open Disc" and I can manually proceed as expected.
unRAID docker config
Any ideas?

What is the issue exactly ?  The automatic disc ripper doesn't see the drive ?  Can you share the container's log ?

I'm having this issue as well. The eject button works but not the automatic feature.
 [makemkvcon] Copy complete. 14 titles saved., info string reallocated, size=571, [makemkvcon] Current progress - 100%, Total progress - 100%, [makemkvcon] 14 titles saved, [autodiscripper] Ejecting disc from drive 0 (/dev/sr0)..., [autodiscripper] Disc rip terminated successfully., [autodiscripper] ERROR: Failed to eject drive 0 (/dev/sr0).

You should try the latest image, where ejecting the drive should work better.
Closing this issue.  Please re-open if needed.


"SessionId" is a bit confusing

What we now call a session ID is a bit confusing. Each user has a session ID, even though they form one session together. It makes sense though that this is something like a user's websocket session ID.

Not enough ressources


Index of /pub/software/scm/

https://mirrors.edge.kernel.org/pub/software/scm/#3

Thanks for guide


The bot stops as soon as the user receives LvL.

The bot stops as soon as the user receives LvL.

Sorry for the late response. I somehow did not get any type of notification from this issue.
 I need to fix this is the future. You can bypass this issue by loading up the game before running the script, just to check if there are any pop-ups (maybe a new hero came out and Lilith really wants you to buy them), as well as collecting the AFK rewards once. This way you can check if a level-up actually happens or not, and take care of it yourself. Most likely running the script after collecting the rewards won't make you level-up.


Make distinguished name available as a object key

So that a user can reference dn in their KEY_MAP configuration setting.

👍


[incubator/azuremonitor-containers] updates for hotfix release ciprod07152020

Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

What this PR does / why we need it:
This PR updates the azuremonitor-containers chart to latest hotfix agent image ciprod07152020
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #
This has update for hotfix agent image:ciprod07152020 which has following changes

Fix for OOM issue during container startup which caused by  loading huge /pods response json file

Fix for ContainerHostName and Name fields in ContainerInventory Table

Fix for dropping of containers inventory incase of multi-container pods

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/ok-to-test

/approve
/lgtm


[offtop] inspiration

I was really inspired by default example with drake to give my dragula instances great names:
var drake = dragula({
  copy: true
});
drake.containers.push(container);

And now I'm having drake and rihanna doing lots of good work on my very complex UI, while DrDre with snoop still taking the time to perfect the drag.

Okay, now I'm gonna close it.


Enable 'type provider mode' using content negotiation

I appreciate that this project is very new and probably a number of things haven't even been thought about yet (all in good time!) but at a glance I don't see any way that a REST service is supposed to 'know' that it should return results in the expected type provider format. Therefore I suggest that a way of doing this would be through HTTP content negotiation, wherein the REST type provider passes an Accept header containing some special content type to indicate to the server that it expects results in type provider format. This would therefore be easy to switch on using an OWIN middleware component on the server, for example, and wouldn't affect the usefulness of the service for doing whatever job it is meant to do independent of creating type providers. This would then make the type provider library a useful way of making services self-documenting, while not limiting them to being consumed from clients that understand F# type providers

This sounds like a good idea. What would be idiomatic value for the Accept header, to follow best HTTP practices?

The answer to that question turns out to be somewhat more involved than I anticipated. As per RFC4288 discussing the registration of media types, I think at this time the best place for this to sit would be in the personal/vanity tree, denoted by prs.
Therefore my suggestion is that the appropriate media type would be application/prs.tpetricek.fsharp-type-provider+json. The RFC does imply that using a prs name requires registration with IANA - as you're the author I'd say it's your prerogative whether you'd like to do this under your own name. There do seem to be very few prs registrations on this list, so I'd wonder whether this is not commonly done.
Perhaps more research is required.


focus tooltip on keyboard focus of status/activity bar

This ask is from the Copilot team in response to feedback they've received.
When something is represented via only an icon, and is focused via keyboard, we should automatically focus the tooltip.

cc @sandy081

related #132344

we would also want to do this for all toolbars

Just out of curiosity, what does "focus the tooltip mean"? Does it mean "make the tooltip visible"? (sorry- the language is a bit confusing. tooltips are not actually focusable, right?)

@starball5 yes I think @meganrogge meant to show the hover, not focus it as that would break left/right navigation.


Update pipeline with resource_types

For review, make non built-in resource types explicit, rather than relying on them being installed in Concourse. Has been fly'd.
@18F/cloud-gov-ops

Ha, I wrote in my personal TODO list saying that we should move this direction. Glad we are!


chore: upgrade cosmiconfig

Summary
Upgrade to cosmiconfig 8.3.6, which fixes an unhandled exception when traversing parent directories looking for directories named .config. If a parent directory contained a file named .config, before this fix, generated React apps would fail to start. I documented this bug in https://github.com/facebook/create-react-app/issues/13355#issuecomment-1705159226 but I believe the issue originates from within this library.
Test plan
I followed the steps documented in CONTRIBUTING.md.

[x] pnpm install
[x] pnpm run dev still works
[x] pnpm run lint passes (All matched files use Prettier code style!)
[x] pnpm run test succeeds (245 passed, 245 total)

Also, here's the release notes for cosmiconfig 8.3.6 with details about the bug: https://github.com/cosmiconfig/cosmiconfig/releases/tag/cosmiconfig-v8.3.6


How to turn off hand tracking in holistic?

I want to turn off hand tracking feature because it causes performance problems. How to do that or whether custom solutions to do ?
Thank you in advance.

@justinduynguyen,
You can comment out everything related to hand_landmarks from below files, By commenting out the files you might be able to turn off the hand tracking part, But We do not recommend this.
/graphs/holistic_tracking/holistic_tracking_[X].pbtxt
/graphs/holistic_tracking/holistic_tracking_to_render_data.pbtxt
/modules/holistic_landmark/holistic_landmark_[X].pbtxt

Where [X] is cpu OR gpu.
Because, binarypb contains the graph that tells the solution what to do. If that binarypb were modified (it's in proto3 format) and the nodes that compute these outputs were removed, the overhead would no longer exist. but we don't support this at this time.
We have been experimenting with dynamically disabling sections of the graph based on options, And this might be a reasonable optimization. We can bring this up to the team, but we can not offer you a solution at this time.
Thank you

@justinduynguyen,
You can comment out everything related to hand_landmarks from below files, By commenting out the files you might be able to turn off the hand tracking part, But We do not recommend this.
/graphs/holistic_tracking/holistic_tracking_[X].pbtxt
/graphs/holistic_tracking/holistic_tracking_to_render_data.pbtxt
/modules/holistic_landmark/holistic_landmark_[X].pbtxt

Where [X] is cpu OR gpu.
Because, binarypb contains the graph that tells the solution what to do. If that binarypb were modified (it's in proto3 format) and the nodes that compute these outputs were removed, the overhead would no longer exist. but we don't support this at this time.
We have been experimenting with dynamically disabling sections of the graph based on options, And this might be a reasonable optimization. We can bring this up to the team, but we can not offer you a solution at this time.
Thank you

How to do that on web solution?
Thank you.

Hello @mhays-google,
Could you please look into this. Thank you

If I comment out these thing related to hand_landmarks, Graph.Initialize(config) would be failed


[on hold] Support Python-Sdk Python3.10

Description
closes: #760
What is the current behavior?

What is the new behavior?

Does this introduce a breaking change?
Checklist

[ ] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

The test runs fine with Python 3.10 but need to decide how ultimately we want to run it in CI. https://github.com/astronomer/astro-sdk/runs/8229308627

Instead of prefixing the PR title with [WIP] you could convert your PR to draft. That way it cannot be accidentally merged.

I understand, but what if you just tag @astronomer/dag-authoring-team and ask for feedback? This way it is clear for everyone or? For me it was not clear that I am supposed to look at it.

This makes sense.
We have slack a private slack discussion here just in case you like to check https://astronomer.slack.com/archives/C03868KGF2Q/p1662555025564629

Thanks, will check it 👍

@pankajastro will you extend the constraints approach #1304 to wrap up this ticket?

@pankajastro will you extend the constraints approach #1304 to wrap up this ticket?

@tatiana this is no hold since wanted to first decide on running a set of units/integrations tests for a different version of Python

closing this PR, will create new one since this very old branch

closing this PR, will create new one since this very old branch

PR: https://github.com/astronomer/astro-sdk/pull/1629


{Bp-13418} sched: add nxsched_remove_self

Summary
reason:
1In the scenario of active waiting, context switching is inevitable, and we can eliminate redundant judgments.
code size
before
hujun5@hujun5-OptiPlex-7070:~/downloads1/vela_sim/nuttx$ size nuttx
text    data     bss     dec     hex filename
262848   49985   63893  376726   5bf96 nuttx
after
hujun5@hujun5-OptiPlex-7070:~/downloads1/vela_sim/nuttx$ size nuttx
text    data     bss     dec     hex filename
263324   49985   63893  377202   5c172 nuttx
reduce code size by  -476
Configuring NuttX and compile:
$ ./tools/configure.sh -l qemu-armv8a:nsh_smp
$ make
Running with qemu
$ qemu-system-aarch64 -cpu cortex-a53 -smp 4 -nographic
-machine virt,virtualization=on,gic-version=3
-net none -chardev stdio,id=con,mux=on -serial chardev:con
-mon chardev=con,mode=readline -kernel ./nuttx
Impact
RELEASE
Testing
CI

[Experimental Bot, please feedback here]
NuttX PR Requirements Review
This PR does not meet the NuttX requirements.
Here's why:

Insufficient Summary: The summary lacks crucial information:

Unclear necessity: "eliminate redundant judgments" is vague. Explain what judgments are redundant and why.
Missing context: What is "active waiting" referring to? Which code section implements this?
No issue references: Are there related NuttX issues?

Incomplete Impact:

RELEASE Impact: This is not informative. State if this is a bug fix, enhancement, etc.
User impact: Will this change behavior for existing users?
Hardware/Architecture impact: Any specific architectures affected?
Security impact: Even if unlikely, address potential security implications.

Inadequate Testing:

CI is not enough: Local testing is mandatory. Specify build hosts and target details.
Missing logs: Provide relevant log snippets showing the issue before and the improvement after your change.

To improve this PR:

Expand the Summary: Clearly articulate the problem, solution, and relevant context.
Thoroughly address Impact: Analyze and document all potential impacts of the change.
Provide Detailed Testing Information: List your local setup, include relevant log snippets, and ensure CI passes.

https://github.com/apache/nuttx-apps/pull/2661 needed

@jerpelea and @xiaoxiang781216: I think we need https://github.com/apache/nuttx/pull/13806 to check out the right version of nuttx-apps. The log shows that we're building with the master branch of nuttx-apps:
Fetching the repository
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +refs/heads/master:refs/remotes/origin/master
  From https://github.com/apache/nuttx-apps
   * [new branch]      master     -> origin/master
Checking out the ref
  /usr/bin/git checkout --progress --force -B master refs/remotes/origin/master
  Reset branch 'master'
  branch 'master' set up to track 'origin/master'.

https://github.com/apache/nuttx/actions/runs/11252972889/job/31287274002

@lupyuen on it


python310Packages.xsdata: 22.5 -> 22.7

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.xsdata is: "Python XML Binding"
meta.homepage for python310Packages.xsdata is: "https://github.com/tefra/xsdata"
meta.changelog for python310Packages.xsdata is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 22.7 with grep in /nix/store/lyxrdvar5vb2vivi5ji2zsp0sqn4k358-python3.10-xsdata-22.7
found 22.7 in filename of file in /nix/store/lyxrdvar5vb2vivi5ji2zsp0sqn4k358-python3.10-xsdata-22.7

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
dmarc-metrics-exporter
python310Packages.xsdata
python39Packages.xsdata

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/lyxrdvar5vb2vivi5ji2zsp0sqn4k358-python3.10-xsdata-22.7 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.xsdata https://github.com/r-ryantm/nixpkgs/archive/85e3aebe204de907cae968474d8480de04b53d81.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/lyxrdvar5vb2vivi5ji2zsp0sqn4k358-python3.10-xsdata-22.7
ls -la /nix/store/lyxrdvar5vb2vivi5ji2zsp0sqn4k358-python3.10-xsdata-22.7/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

dmarc-metrics-exporter (prometheus-dmarc-exporter)
python310Packages.xsdata
python39Packages.xsdata

Maintainer pings
cc @dotlambda for testing.

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

3 packages built:

dmarc-metrics-exporter
python310Packages.xsdata
python39Packages.xsdata


JuliaMicroscopy?

Perhaps this would be a good fit for https://github.com/JuliaMicroscopy ?

Definitely worth considering, but let's determine the resolution of #2 first. If this generalizes to hyperspectral imaging then it would be useful for, e.g., geospatial imaging and that doesn't naturally fit in JuliaMicroscopy.

With the rename to MultiChannelColors and examples that use Landsat imaging in the docs, I don't think moving to JuliaMicroscopy makes as much sense as it did when the package focus was narrower.


autoconf v2.70 [v2]

This PR resurrects #31 and fixes the build failures (hopefully).

Checklist

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

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Is this still needed?
In PR ( https://github.com/conda-forge/autoconf-feedstock/pull/36 ), autoconf was updated to 2.71

Is this still needed?

I hope not, but there's only really one way to find out...


[Unexpected Behavior] Random Backgrounds option doesn't work the right way

Using 4.8.2. I might have mistaken this before (probably) with songs that have BGChanges but I tested it again and it seemed like there wasn't a fix at all.
Actual behaviour
The option Random Backgrounds at Song Options now sets some sort of pattern with the same Backgrounds for any song that has the option.
Expected behavior
There shouldn't be a pattern. Any song with the option should have random backgrounds.

Fixed in 4.8.3!


Profile header layout (skills, stats, additional)

From my tests everything seems to be working fine but if someone else can test too would be appreciated :)

Changing it to draft to improve the tablet version

Improved the responsiveness in tablet mode and changed the way used to rescale the icons (before I was using transform: scale(0.85), now I'm giving them the size 20x20px... to do this I had to change the svg code so that the size of the svg is not forced to 24x24px but instead 100%x100%... I also optimized them with svgo)
Here's the responsive preview:
https://user-images.githubusercontent.com/2744227/129792837-b0e59d4c-60aa-4d5b-ae33-4cb2fe636286.mp4

bump 👀


MINOR: Increase default waitTime in waitUntilTrue to 10 seconds

5 seconds is probably enough when running tests locally, but
doesn't seem to be so for Jenkins when it is overloaded.

Thoughts @ewencp and @guozhangwang? You both independently mentioned that the 5 second timeout may be too low for Jenkins when it's under load.

I'm definitely in favor, and in fact I'd prefer to increase it to 30 seconds :)

@ijuma Yeah, this has come up across a few different tests, so seems reasonable. Should we fire off a few builds repeatedly on Confluent's and Apache's Jenkins to make sure the selected value works?

I go with @guozhangwang. I think when I was running with these failures I once tried a 10 second wait and it still failed one of the tests. So 30 secs might be a safer choice.

We are using 15 seconds as the default in org.apache.kafka.test.TestUtils.waitForCondition, so we could perhaps make them both 15.
I am a bit reluctant to increase the default timeout all the way to 30 seconds (6 times the original value). If there are tests that need that much, they can override the timeout perhaps?

Sounds good.

Sounds good to me too.

BTW we should really make a pass over our unit test suits and try to cleanup some cases that have overlapping functional coverages, especially in our integration test suits (5 bucks we can at least find 10 of them :P ).

@guozhangwang, yes, I definitely agree.

testPatternUnsubscription failed in the PR build. It also failed in two trunk builds. @vahidhashemian, this seems to be happening more often since https://github.com/apache/kafka/commit/d7de59a579af5ba4ecb1aec8fed84054f8b86443 . Do we have a JIRA to investigate that?

@ijuma Some builds fail on this method, and some other on testPatternSubscription, so we are experiencing a consistent behavior. But I agree that these failures started after that commit. There is no JIRA opened for this specific issue but I see a few that seem to be failing where waitUntilTrue involved. I can create another one for this one if you think it's needed.

@vahidhashemian, waitUntilTrue will generally be involved in any transient failure. However, if a particular change causes some tests to start failing semi-regularly, then we need to understand why that is so. If we have a satisfactory explanation that requires a longer timeout, then the particular test can pass the required timeout to waitUntilTrue.

@ijuma That sounds reasonable. I'll open a JIRA and start looking into it further.

I am now consistently seeing kafka.api.PlaintextConsumerTest.testPatternUnsubscription failure in all PRs that I am reviewing now. Does the commit potentially increase the round trips for metadata-refresh and follow-up subscription?

I have been doing some more testing locally and I have even got one of the two tests (testPatternSubscription and testPatternUnsubscription) to fail with the wait time of 20 seconds (once in 10 or so runs). It seems in certain situations the metadata doesn't get updated and no matter how long the wait is it won't update.

@vahidhashemian Shouldn't testPatternUnsubscription not even need a metadata update to achieve its target state? It'll request one, but even if it got stale metadata, the unsubscription step would still work since it's really just a regex change for that particular case.
Given the way this fails, it seems like it would have to be that the update is getting stale metadata, right? The metadata update in the clients is blocking, so poll() wouldn't even return if the request itself was delayed. It looks more like it is getting old (in some of these cases empty) metadata and not recovering. But that also seems pretty weird since most of these tests use a really aggressive METADATA_MAX_AGE_CONFIG of 100ms, so they should be picking up updated metadata really quickly.
If someone is able to reproduce this consistently locally (I've yet to see any of these fail on my laptop), it'd be nice to get some logging on the metadata refreshes to get a better idea of what's happening during one of the failing tests.

@ewencp It's likely that the update is getting stale metadata. In my local test I have been able to get all three pattern tests (testPatternSubscription, testSubsequentPatternSubscription, testPatternUnsubscription) to fail after enough tries. There are a total of 5 subscribe calls in these methods and I have been able to get all of them fail the assertion in one try or another. What's more interesting is when I revert the changes to SubscriptionState.javaand use an alternate fix (as explained here) (note this alternative still uses the metadata update call) I am no longer able to reproduce the failures locally (that PR also passed jenkins tests twice). I'll try to enable logging as you suggested and will share if I find anything interesting.

@vahidhashemian Yeah, my concern is that we're not really fixing the underlying issue. The tests may just be fundamentally broken if they are relying on the topic creation to be propagated to all brokers before using the topics, but I don't think anything in the test actually puts that barrier in place. Certainly the large timeouts and low refresh interval seems like it should work, but it seems like something else is going unexpectedly wrong. I'd be wary of merging #1594 given that we don't really understand why it helps improve things.

I ran this branch on Confluent Jenkins a number of times and there were no timing-related failures. If either of the committers in this thread gives me a LGTM, I will merge it.

LGTM.

Thanks, merged to trunk.


trying to get the new command-gateway stuff into hawkular

PR #441 will be the PR to use.. closing this PR


[AzureGroup task] Improve error output for key parser

Hi there,
My customer and I were looking at an issue recently where a variable override for an Azure Resource Group deployment task did not seem to work as expected.
This is the error message we saw:

I noticed that the customer had put -> NEED TO UPDATE <- into some of the variable field that they were overriding in the resource task.

Here is the parameters that they chose to override:

This is what we had to do to change them:

Once the issue was resolved the reason for it seemed obvious, but it would help if the task could show a list of the keys it has recognised.
In this "missing quotation marks" scenario the logic in https://github.com/Microsoft/vsts-tasks/blob/master/Tasks/AzureResourceGroupDeployment/operations/ParameterParser.ts seems to split NEED TO UPDATE into several potential values, rendering the result of the parse with empty keys.
The ask here is to improve the error messaging in some way to make it clearer where empty keys could come from.
When trying to do the same in PowerShell locally the deployment fails because PowerShell tries to recognise TO UPDATE .... as the start of a new cmdlet which it obviously isn't. So a similar issue but a clearer error message to the user.

When a value has spaces, it is expected to be enclosed in quotes. We have handled this case in the dialog, you don't need to add quotes explicitly anymore, this won't cause any issues during runtime.
Closing this issue.


OpenSSL 3.4.0 crashes on arm64_32 devices (for example, Apple Watch)

arm64_32 is the architecture that can be used on the modern arm64 Apple Watch devices with 32-bit pointer size. The crash happens on the first call to ossl_ht_get, which is called from evp_generic_fetch, making impossible any use of OpenSSL. The cause of the issue seems to be the function apple_atomic_load_n_pvoid introduced in the commit f5b5a35c84626823364b0c8535b968c106690a56, which is implemented in assembly for 64-bit Apple devices and expecting pointers to be 64-bit.
To reproduce the crash the code
#include <openssl/evp.h>

void test_pbkdf2() {
  unsigned char buf[32];
  unsigned char salt[4];
  salt[0] = salt[1] = salt[2] = salt[3] = 's';
  PKCS5_PBKDF2_HMAC("password", 8, salt, 4, 2, EVP_sha256(), 32, buf);
}

can be built for watchOS and run on a real device (emulators use host architecture and will not crash).
The issue was initially found by @vincentneo, who created an example project that reproduces the issue at https://github.com/vincentneo/OpenSSL340Crash.
Also, see https://github.com/tdlib/td/issues/3171#issuecomment-2525212205 for the exact position of the crash.

Is there something like __aarch64_32__ defined on this platform?

Looking at https://reviews.llvm.org/D63131#change-RyFMReTm1DPr it appears possible that __ARM64_ARCH_8_32__ might be defined (otherwise it's some horrible combination of __APPLE__ && __aarch64__ && !__LP64__), but I'm not set up to test this

Fix in #26145, please test it.

@t8m, based on the example project, utilising #25145 works fine on my Apple Watch.


Current app.js will not run on azure web app

If current version is deployed to Azure deployment will result in a 500.
After troubleshooting I found that changing const express = require('express');
`app.listen(port);
};
// Start the express server.
start(9001);`
to `app.listen(process.env.PORT);
};
// Start the express server.
start(9001);`
Makes repo run on Azure but then npm run start will not produce a running site locally.
How do I make this run both local and on Azure?

Looks like Azure provides a PORT environment variable which you should use to start your express app.
An easy way for it work would be to write the line start(9001) like this.
start(process.env.PORT || 9001)
It would make sure that the server starts on the PORT env variable (if provided) and would fall back on 9001 if there is no such variable present (such as inside your local environment).

The solution is tested and I can confirm it works! Thanks a bunch.
Would it be possible to implement this in the upstream you are hosting?
Also it might be a good idea to add an echo when the server starts ( Server running on %port or env% with all pistons firing)
Thank you!

Yes, I'm going to put this in in my next commit. (And the server running log)
You're welcome!
Please feel free to close the issue now.

@MustansirZia I reopened this issue to share a small snippet with you for good azure working
In package.json please include the package cross-env
"scripts": {
    "build": "cd app && next build",
    "postinstall": "cd app && next build",
    "start": "cross-env NODE_ENV=production node app.js",
    "dev": "nodemon --ignore app/ app.js"
  },

Also adding the postinstall script is important otherwise Azure web app will not build before a start.


Sredjene usluge

👷 Deploy Preview for balkantransport processing.
🔨 Explore the source changes: a494a1c7019bac0a64aabd812d99ec382070c026
🔍 Inspect the deploy log: https://app.netlify.com/sites/balkantransport/deploys/614ef74fd0636100081093a7


Authorization error response mismatch with OAuth specification?

Whilst building on top of IdentityServer 4 we noticed what we believe to be a mismatch between what IdentityServer 4 does and the OAuth specification, specifically around error responses and the recommended redirect URI on the authorization endpoint.
According to the OAuth specification (in this case the new draft proposal, but it's the same in the older version) it says the following:

If the resource owner denies the access request or if the request
fails for reasons other than a missing or invalid redirect URI, the
authorization server informs the client by adding the following
parameters to the query component of the redirect URI using the
"application/x-www-form-urlencoded" format, per Appendix B:

However it appears that IdentityServer 4 redirects (see source here) the client to IdentityServer's error page as opposed to the client's redirect URI.
Is this intentional or am I misunderstood/missing something?

We implement these mitigations:
https://tools.ietf.org/html/draft-bradley-oauth-open-redirector

Great, thanks @brockallen, I had a suspicion I was missing something.


Further Documentation Improvements

I was able to take the time to go through each individual document and make final changes. I also corrected one of my own typos. Now, I probably could have been patient and waited to send them until I had done all of them, but I'm still pretty new to Git and wasn't sure I'd be able to get to the remainder of the documentation so soon, so apologies for doing this twice in a short period of time.
Hope the documentation changes help!

Thanks again <3

hey @Aurora-Eluvia, is there an email or discord account where I could reach you?

hey @Aurora-Eluvia, is there an email or discord account where I could reach you?

I'll get in touch on Discord.


Bump Dependencies #1859449506

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/1859449506

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jenkins-is-staging seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


[T5A1][T15-B4] Leow Zheng Yu

Ready for Review

@zhengyu92 Some comments added. Please close the PR after reading them.


Worried about new 2fa requirements?

Hey jlesage! So I noticed that Code42 is forcing folks to change their passwords and requiring 2FE (I'm doing via the Google Authenticator). Do I need to do anything special on this docker?
Also, I upgraded (via your instructions for Synology upgrades) and notice that the web gui says it's failing to upgrade and it will try in an hour (it shows I'm using v <IP_ADDRESS>...any suggestions?!

The 2FA requirement doesn't affect the application, only the web console.
As for your container, for some reason it is not running the latest image.  Maybe try to upgrade again ?

The 2FA requirement doesn't affect the application, only the web console.
As for your container, for some reason it is not running the latest image. Maybe try to upgrade again ?

Hello, I've been having issues logging into my docker container since adding 2FA to my account.  Just getting the generic "Unable to sign in" message.  I've also upgraded to the latest version (8.6 / 2.14) but that still hasn't helped.

I upgraded my docker container from something running 7.4.x — yeah, it's been a while — to 8.6.0.  When I tried to sign in on the NAS, I got an unknown error.  So I went to www.crashplanpro.com and logged in.  Immediately, it instructed me to set up 2FA.
After registering the 2FA token on my phone and signing into the web console, I tried to log in on the NAS once more.  This time it went straight through.
I don't know if 2FA is supported (or even required) within the NAS console, or if it allows the connection because I set up 2FA.  I should call Crashplan and ask if they don't require 2FA on docker containers if the admin registers 2FA.

I recently ran into this on the website.  It appears that computers doing
backups don't need 2fa, even though web logins do.
On Mon, Apr 12, 2021 at 2:59 PM bradtchapman @.***>
wrote:

I upgraded my docker container from something running 7.4.x — yeah, it's
been a while — to 8.6.0. When I tried to sign in on the NAS, I got an
unknown error. So I went to www.crashplanpro.com and logged in.
Immediately, it instructed me to set up 2FA.
After registering the 2FA token on my phone and signing into the web
console, I tried to log in on the NAS once more. This time it went straight
through.
I don't know if 2FA is supported (or even required) within the NAS
console, or if it allows the connection because I set up 2FA. I should call
Crashplan and ask if they don't require 2FA on docker containers if the
admin registers 2FA.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jlesage/docker-crashplan-pro/issues/290#issuecomment-818057088,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADCXPIVTBS7DL6ZOED7PFYTTIM7I3ANCNFSM4Y2CIYHQ
.

--
David Laidlaw, Professor, Brown Computer Science
Box 1910, Providence, RI 02912, +1-401-354-2819
http://www.cs.brown.edu/~dhl

Closing this issue.  Please re-open if needed.


Add NDCG to evaluate_all method

Added NDCG option to evaluate_all method, resolves https://github.com/joaopalotti/trectools/issues/20.

Thank you very much for your contribution, @PepijnBoers. Sorry that it took me so long to merge it.


A kind suggestion

Can you please make it explicit which Python version produces these "what the heck" results?
I have tested the very first example, named Skipping Lines and produces 32 instead of 11.
This behavior you produce is for Python 2.7.

The python version is mentioned over here (it's 3.4.5)

You won't be able to reproduce the first example with a standard keyboard. A copy-paste should work https://github.com/satwikkansal/wtfPython/blame/master/README.md#L174

Thanks, for reporting this, I'll update these details so that they are clearly visible :+1:

@stefanos82 I've addressed your suggestions in 82bbded commit. If that still doesn't work for you, feel free to reopen the issue :)

Very nice. I will test the entire thing as much as possible.
By the way, you have a typo; it should be file/shell, but you mistype an extra l that end of the the word.
Cheers.

Ugh.. another typo! Will fix it asap. Thanks for letting me know.
Cheers!


chore: use node 18 in the packaged cli

Description of changes

Issue #, if available

Description of how you validated changes
Checklist

[x] PR description included
[x] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies
[ ] Pull request labels are added

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #12043 (82e792b) into cdkv2 (379e360) will decrease coverage by 3.56%.
The diff coverage is 52.37%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##            cdkv2   #12043      +/-   ##
==========================================
- Coverage   50.18%   46.62%   -3.56%
==========================================
  Files         702      826     +124
  Lines       33976    37974    +3998
  Branches     6976     7752     +776
==========================================
+ Hits        17050    17706     +656
- Misses      15447    18601    +3154
- Partials     1479     1667     +188

Impacted Files
Coverage Δ

...sync-simulator/src/data-loader/opensearch/index.ts
45.45% <0.00%> (ø)

...s/amplify-appsync-simulator/src/type-definition.ts
100.00% <ø> (ø)

...sync-simulator/src/velocity/util/dynamodb-utils.ts
6.55% <0.00%> (ø)

...y-appsync-simulator/src/velocity/util/map-utils.ts
10.00% <ø> (ø)

...tor/src/velocity/util/transform/dynamodb-filter.ts
4.93% <0.00%> (ø)

...ync-simulator/src/velocity/util/transform/index.ts
21.05% <0.00%> (ø)

...appsync-simulator/src/velocity/value-mapper/map.ts
86.88% <ø> (ø)

...ackages/amplify-category-auth/src/commands/auth.ts
0.00% <0.00%> (ø)

...es/amplify-category-auth/src/commands/auth/help.ts
0.00% <0.00%> (ø)

.../amplify-category-auth/src/commands/auth/import.ts
0.00% <0.00%> (ø)

... and 523 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


chg: Workspace Edit Page

Details

Change the Form Input Field.
Added the error message.
Refactor to fix the issue.

Fixed Issues

$ https://github.com/Expensify/App/issues/5194
Tests | QA Steps

Navigate to settings
Click on a workspace
Click on the workspace avatar to edit
Delete the name and save.
You should error below the field.
Now add a new Name and save and save should happen smoothly.

Tested On

[x] Web
[x] Mobile Web
[x] Desktop
[x] iOS
[x] Android

Screenshots

Web | Desktop

Mobile Web

iOS

Android

Hi @parasharrajat, I've placed this issue on hold as per this update, as we are prioritising issues related to a feature release scheduled for 9/24. As an apology for the delay, we will add a $100 bonus as a thank you for waiting.


[CLI] Saltstack error 'EntryPoints' object has no attribute 'items' while running sift update

Hi,
I am on the latest release of SIFT desktop (v2022.01.22). While running the update feature I do get an error (apt-get autoremove) did not fix the issue. Any knowledge what is causing the error?
Saltstack log is attached.
p.s. I am trying to fix an issue where the desktop background image did not change to SIFT image even when the initial install was successful.
Ubuntu release information:
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.5 LTS
Release:	20.04
Codename:	focal

SIFT version information:
$ cat /etc/sift-version
v2022.01.22

Failed sift update:
$ sudo sift update --verbose
><EMAIL_ADDRESS>> sift-version: v2022.01.22

> mode: desktop
> downloading v2022.01.22
>> downloading sift-saltstack-v2022.01.22.tar.gz.asc
>> downloading sift-saltstack-v2022.01.22.tar.gz.sha256
>> downloading sift-saltstack-v2022.01.22.tar.gz.sha256.asc
>> downloading sift-saltstack-v2022.01.22.tar.gz
> validating file sift-saltstack-v2022.01.22.tar.gz
> validating signature for sift-saltstack-v2022.01.22.tar.gz.sha256
> extracting update sift-saltstack-v2022.01.22.tar.gz
> performing update v2022.01.22
>> Log file: /var/cache/sift/cli/v2022.01.22/saltstack.log

Update returned exit code not zero
Error: Update returned exit code not zero
    at ChildProcess.<anonymous> (/snapshot/sift-cli/sift-cli.js:556:23)
    at ChildProcess.emit (events.js:400:28)
    at maybeClose (internal/child_process.js:1058:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)

----- PLEASE READ ----------------------

A lot of failures are caused by the apt system being locked
or unhealthy.

Before opening an issue in GitHub, please check to see if
your apt system is healthy.

Try running 'apt-get update' then remove any packages that
aren't used by running 'apt-get autoremove']

saltstack.log

Hi @0xfaller , the issue lies with the latest version of Salt and one of the dependencies which was upgraded. To resolve the issue, you can run:
sudo python3 -m pip install "importlib-metadata<5.0.0"
Let me know how that goes!


Make new users listing real time

When new user is created, it is only visible to other users when the page is refreshed.
All clients need to be notified when new user creates an account.

Feature not feasible because accounts are created using a Rest API and not WebSocket events.


Flow trigger error - Apex error occurred: System.NullPointerException: Attempt to de-reference a null object

Hi @jamessimone - I am starting to get an error in the sandbox (which you have access to).   It just started occurring and don't know why.  I don't see any null values and the flow trigger had been working just fine recently.  I'm wondering if perhaps it is related to any changes you made?

COPIED AND PASTED INFO FROM EMAIL
Flow Error Details
Flow Details
Flow API Name: Billing_AS_CU_Trigger_Apex_Rollup
Type: Autolaunched Flow
Version: 2
Status: Active
Org: ServiceOne, Inc (00D7e00000JhepI)
Flow Interview Details
Interview Label: Billing - AS - CU - Trigger Apex Rollup 10/27/2023, 3:00 PM
Interview GUID: 9274a5791ffc5d87f44f364e965f18b72b2ae32-4cfc
Current User: Cloud Coastal (0054w00000AL5nm)
Start time: 10/27/2023, 3:00 PM
Duration: 1 seconds
How the Interview Started
Cloud Coastal (0054w00000AL5nm) started the flow interview.
API Version for Running the Flow: 58
Some of this flow's variables were set when the interview started.
$Record = AcctSeed__Billing__c (a0h7e000005EtwAAAS)
ASSIGNMENT: Add record to record collection variables
{!varR_ColRecords} Add {!$Record}
{!varR_ColOldRecords} Add {!$Record__Prior}
Result
{!varR_ColOldRecords} = "[AcctSeed__Billing__c (a0h7e000005EtwAAAS)]"
{!varR_ColRecords} = "[AcctSeed__Billing__c (a0h7e000005EtwAAAS)]"

To be safe, I would upgrade to the official version of 1.6.1 to be sure everything is up to date. I switched over to a scratch org while working on a few of the other issues you'd reported but it's possible that things in your sandbox were left in an incomplete state.

@baobao917 is this still an issue? I wasn't able to reproduce

@jamessimone No it was resolved when I upgraded to v1.6.1.  Thanks!  I'll close the issue.


Switch to clipboard.js

Switch from ZeroClipboard to clipboard.js for the documentation code copy button.

If anyone would like to add this into the docs to replace the former flash based one we'd love a PR.

+1 ;)

@zenorocha great JS plugin! That was a painless transition and I was able to reuse the code from ZeroClipboard with a couple small tweaks.

Awesome, that's great to hear ;)

Merged #7643 which implements this.

https://twitter.com/zenorocha/status/684424518782169088 ;)


Include the investments in the financial overview.

It would be nice, if the investments taken by the plugin are included in the "landscaping" row.
In German "landscaping" means "Landschaftsgestaltung" (fourth row)
Before:

After:

Nothing has changed except the amount of cash money.
If you place benches by hand, they are included in the landscape value:

That would be nice. Not sure how that would be implemented though.

On Sep 22, 2020 at 1:07 PM,  <RundesBalli (mailto:notifications@github.com)>  wrote:
It would be nice, if the investments taken by the plugin are included in the "landscaping" row.
In German "landscaping" means "Landschaftsgestaltung" (fourth row)
Before:
(https://user-images.githubusercontent.com/46271553/93913610-9c781280-fd05-11ea-9e9f-4131ee5c81bd.png)
After:
(https://user-images.githubusercontent.com/46271553/93913643-a9950180-fd05-11ea-9fde-df6e982b5e77.png)
Nothing has changed except the amount of cash money.
If you place benches by hand, they are included in the landscape value:
(https://user-images.githubusercontent.com/46271553/93914392-c67e0480-fd06-11ea-9a92-6dd748e9313c.png)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly,  view it on GitHub (https://github.com/tubbo/openrct2-benchwarmer/issues/20), or   unsubscribe (https://github.com/notifications/unsubscribe-auth/AAA3TAWDYLRJEFUJBH64JUDSHDKU5ANCNFSM4RWAYKZQ).

Hoping this will be fixed by #24.

Confirmed that this will be fixed by #51

I made a special build for this so we can test it on multiple machines:
benchwarmer.js.zip
@RundesBalli if you could give this a shot at your convenience, just wanted to make sure it covered all the bases.

Works fine! :-)

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

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Please add me as a member of the redhat-cop organization

I would like to become a general contributor to the Red Hat Communities of Practice GitHub Organization
I keep meaning to do this :)
Dan
Review request:
cc: @redhat-cop/container-cop-core

resolved by #131


project status

What's the status of this project? Do you plan on publishing this to NuGet? I would love to contribute to getting this project up-to-date and published in any way that I can.

@sheridanchris well, the status is that it isn't published but along with changes made by @pimbrouwers , it should be usable for the major/most/entire API of htmx. So publishing is missing? 😅
Thanks for reaching out!

I would like to submit a PR to add a few missing htmx attributes that were added in recent versions and a build script to publish this.

I was just needing this today.
I thought it was already published in NuGet it would be nice to have it published, just my 2 cents 😆

I think it would be great to catch the HTMX wave officially. @dpraimeyuu I am happy to shepherd this repo forward if you aren't able to. Otherwise, I'll remain a casual observer after my initial brain dump haha!

Thanks for summoning me.
Yeah, you definitely should surf htmx wave!
@AngelMunoz awesome to hear you needed it, but not awesome we're lagging...
...Because of me.
@pimbrouwers let me try to publish it and see how it goes then? :sweat_smile:

@pimbrouwers @AngelMunoz @sheridanchris @houstonhaynes
Falco.Htmx :eagle:

The package can be released by publishing a new release on github.
Note: sometimes it's important to get pushed in the positive fashion :-P

And sorry @sheridanchris that I kept you waiting...

Nice work!
On Thu, Jan 11, 2024, 4:05 AM Damian Płaza @.***> wrote:

Closed #2 https://github.com/dpraimeyuu/Falco.Htmx/issues/2 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/dpraimeyuu/Falco.Htmx/issues/2#event-11453630154, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDB57MKSEOOQHEPXBA6OIDYN6TM3AVCNFSM6AAAAAA5SWBF7KVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGQ2TGNRTGAYTKNA
.
You are receiving this because you were mentioned.Message ID:
@.***>


az image builder create ignores vmProfile

Describe the bug

Bug reported by the author of issue #13972, and verified by me.
When used with --image-template, the image template created doesn't contain vmProfile node.
Noted that when used with --debug, the json payload of PUT request doesn't contain the vmProfile (though the service will reject the request due to a required missing field that cli has not yet supported).
To Reproduce

prepare a local image template json payload with vmProfile fields
az image builder create -g rg -n rn --image-template /path/to/payload --debug
the PUT request payload doesn't contain vmProfile

Expected behavior

Expect that vmProfile is included in the image template
Environment summary

2.7.0
Additional context

hi @qwordy could you pls have a look? thanks

Hi Feiyu, I test it in Azure CLI 2.8.0. vmProfile appears in request body. Could you test it again? And could paste the template here?
Log:
msrest.http_logger : Request URL: 'https://management.azure.com/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/fy/providers/Microsoft.VirtualMachineImages/imageTemplates/template1?api-version=2020-02-14'
msrest.http_logger : Request method: 'PUT'
msrest.http_logger : Request headers:
msrest.http_logger :     'Accept': 'application/json'
msrest.http_logger :     'Content-Type': 'application/json; charset=utf-8'
msrest.http_logger :     'accept-language': 'en-US'
msrest.http_logger :     'Content-Length': '1757'
msrest.http_logger :     'User-Agent': 'python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-imagebuilder/0.4.0 Azure-SDK-For-Python AZURECLI/2.8.0 (PIP)'
msrest.http_logger : Request body:
msrest.http_logger : {"location": "westus", "tags": {"imagebuilderTemplate": "ubuntu1804"}, "properties": {"source": {"type": "PlatformImage", "publisher": "Canonical", "offer": "UbuntuServer", "sku": "18.04-LTS", "version": "18.04.201903060"}, "cu
stomize": [{"name": "RunScriptFromSource", "type": "Shell", "scriptUri": "https://raw.githubusercontent.com/danielsollondon/azvmimagebuilder/master/quickquickstarts/customizeScript.sh"}, {"name": "CheckSumCompareShellScript", "type": "Shell", "scri
ptUri": "https://raw.githubusercontent.com/danielsollondon/azvmimagebuilder/master/quickquickstarts/customizeScript2.sh", "sha256Checksum": "ade4c5214c3c675e92c66e2d067a870c5b81b9844b3de3cc72c49ff36425fc93"}, {"name": "downloadBuildArtifacts", "typ
e": "File", "sourceUri": "https://raw.githubusercontent.com/danielsollondon/azvmimagebuilder/master/quickquickstarts/exampleArtifacts/buildArtifacts/index.html", "destination": "/tmp/index.html"}, {"name": "setupBuildPath", "type": "Shell", "inline
": ["sudo mkdir /buildArtifacts", "sudo cp /tmp/index.html /buildArtifacts/index.html"]}, {"name": "InstallUpgrades", "type": "Shell", "inline": ["sudo apt install unattended-upgrades"]}], "distribute": [{"runOutputName": "runOutputName", "artifact
Tags": {"source": "azVmImageBuilder", "baseosimg": "ubuntu1804"}, "type": "ManagedImage", "imageId": "/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/fy/providers/Microsoft.Compute/images/image", "location": "westus"}], "buildTim
eoutInMinutes": 80, "vmProfile": {"vmSize": "Standard_D1_v2", "osDiskSizeGB": 30}}, "identity": {"type": "UserAssigned", "userAssignedIdentities": {"/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/fy/providers/Microsoft.ManagedId
entity/userAssignedIdentities/ide1": {}}}}

Template:
{
    "type": "Microsoft.VirtualMachineImages/imageTemplates",
    "apiVersion": "2020-02-14",
    "location": "westus",
    "dependsOn": [],
    "tags": {
        "imagebuilderTemplate": "ubuntu1804"
    },
    "identity": {
        "type": "UserAssigned",
        "userAssignedIdentities": {
          "/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/fy/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ide1": {}
        }
    },
    "properties": {

        "buildTimeoutInMinutes" : 80,

        "vmProfile": {
            "vmSize": "Standard_D1_v2",
            "osDiskSizeGB": 30
        },

        "source": {
            "type": "PlatformImage",
                "publisher": "Canonical",
                "offer": "UbuntuServer",
                "sku": "18.04-LTS",
                "version": "18.04.201903060"
        },
        "customize": [
            {
                "type": "Shell",
                "name": "RunScriptFromSource",
                "scriptUri": "https://raw.githubusercontent.com/danielsollondon/azvmimagebuilder/master/quickquickstarts/customizeScript.sh"
            },

            {
                "type": "Shell",
                "name": "CheckSumCompareShellScript",
                "scriptUri": "https://raw.githubusercontent.com/danielsollondon/azvmimagebuilder/master/quickquickstarts/customizeScript2.sh",
                "sha256Checksum": "ade4c5214c3c675e92c66e2d067a870c5b81b9844b3de3cc72c49ff36425fc93"
            },

            {
                "type": "File",
                "name": "downloadBuildArtifacts",
                "sourceUri": "https://raw.githubusercontent.com/danielsollondon/azvmimagebuilder/master/quickquickstarts/exampleArtifacts/buildArtifacts/index.html",
                "destination":"/tmp/index.html"
            },

            {
                "type": "Shell",
                "name": "setupBuildPath",
                "inline": [
                    "sudo mkdir /buildArtifacts",
                    "sudo cp /tmp/index.html /buildArtifacts/index.html"
                ]
            },

            {
                "type": "Shell",
                "name": "InstallUpgrades",
                "inline": [
                    "sudo apt install unattended-upgrades"
                ]
            }

        ],
        "distribute":
            [
                {   "type":"ManagedImage",
                    "imageId": "/subscriptions/1c638cf4-608f-4ee6-b680-c329e824c3a8/resourceGroups/fy/providers/Microsoft.Compute/images/image",
                    "location": "westus",
                    "runOutputName": "runOutputName",
                    "artifactTags": {
                        "source": "azVmImageBuilder",
                        "baseosimg": "ubuntu1804"
                    }
                }
            ]
        }
    }

Hi Feiyue, looks like it's fixed/good in the 2.8.0. Thanks for looking. Closing the issue.


Use batchPath from discovery-doc

Only falls back to hard-coded value if batchPath not in discovery-doc
Fixes #923. Fixes #620

Agreed. I've tried to remain consistent within each file!

Once this has been merged the daily auto-build will fail until the support libraries are upgraded and pushed to nuget. This is due to the change in BaseClientService.
We expect to do a new release imminently, so this shouldn't be a problem.


how to visualize the enviroment

Hello! I am wondering where i should put env.render() to visualize the environment?Thank you!

for the DQN agent

yes, same question.

yes, same question.
I find the answer:
add the following line in agents/Base_Agent.py line 190
        self.config.environment.render()

But this actually renders one frame per episode, not each step. To do so, that line of code should be put in step() in each Agent Class. Still trying it out...