Stuck on Step 0

I can open the webpage at http://localhost:3001/

But, I will stucking at this step, and can't output anything else.

Are you on a Mac?

yes, m2

So am I, and there's a problem that is being fixed just now, we need this branch: #891
Can you restart docker, then pull that branch to run it?

sry, it is still sticking at this step, I don't know why

What is the last commit shown in  git log?

What is the last commit shown in git log?

commit 55760ec4ddc669daf4a0b8b36028d2e73c9ab17a
Author: Xingyao Wang<EMAIL_ADDRESS>Date:   Mon Apr 8 12:59:18 2024 +0800
feat(sandbox): Support sshd-based stateful docker session (#847)

* support sshd-based stateful docker session

* use .getLogger to avoid same logging message to get printed twice

* update poetry lock for dependency

* fix ruff

* bump docker image version with sshd

* set-up random user password and only allow localhost connection for sandbox

* fix poetry

* move apt install up

commit 6e3b554317de7bc5d96ef81b4097287e05c0c4d0
Author: RaGe<EMAIL_ADDRESS>Date:   Sun Apr 7 15:57:31 2024 -0400

Please do git pull again, and restart docker. It will update with a hotfix, worth trying.
But the full fix is on the branch I linked, and you need to pull it specifically.

No, it is still not working. Actually, I have git pull from your linked branch, but it is still will be stuck in this step.

<EMAIL_ADDRESS>start
vite --port 3001

VITE v5.2.8  ready in 357 ms
➜  Local:   http://localhost:3001/
➜  Network: use --host to expose
➜  press h + enter to show help
INFO:     ('<IP_ADDRESS>', 63890) - "WebSocket /ws?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzaWQiOiJlMzk5MWFkZS0xZWRlLTRlZDctYjFlYS04MjNjMWJkMWQzYjQifQ.XYFIdAi8Vhbw7n0iEEWhzZdue9WIJ4TqsKY68s5DFoc" [accepted]
Starting loop_recv for sid: e3991ade-1ede-4ed7-b1ea-823c1bd1d3b4, False
INFO:     connection open
INFO:     ('<IP_ADDRESS>', 63902) - "WebSocket /ws?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzaWQiOiJiNTU4MDg3Zi00NGFhLTQwOWItOWUyYy04YmI0MmE5NDEwMmMifQ.D4JH7BYER9ttOiKlsswN61kf1wYHz_aHt_WYQgunQ1Y" [accepted]
Starting loop_recv for sid: b558087f-44aa-409b-9e2c-8bb42a94102c, False
INFO:     connection open
INFO:     ('<IP_ADDRESS>', 63904) - "WebSocket /ws?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzaWQiOiJiNTU4MDg3Zi00NGFhLTQwOWItOWUyYy04YmI0MmE5NDEwMmMifQ.D4JH7BYER9ttOiKlsswN61kf1wYHz_aHt_WYQgunQ1Y" [accepted]
Starting loop_recv for sid: b558087f-44aa-409b-9e2c-8bb42a94102c, False
INFO:     connection open
INFO:     <IP_ADDRESS>:63910 - "GET /messages/total HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:63906 - "GET /refresh-files HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:63909 - "GET /configurations HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:63913 - "GET /refresh-files HTTP/1.1" 200 OK
21:23:39 - opendevin:INFO: sandbox.py:119 - Using workspace directory: /Users/zhouxiaolun/Projects/OpenDevin/workspace
21:23:39 - opendevin:INFO: sandbox.py:320 - Container stopped
Darwin
21:23:39 - opendevin:WARNING: sandbox.py:336 - Using port forwarding for Mac OS. Server started by OpenDevin will not be accessible from the host machine at the moment. See https://github.com/OpenDevin/OpenDevin/issues/897 for more information.
21:23:39 - opendevin:INFO: sandbox.py:356 - Container started
21:23:40 - opendevin:INFO: sandbox.py:372 - waiting for container to start: 1, container status: running
21:23:40 - opendevin:INFO: sandbox.py:198 - Connecting to opendevin@localhost via ssh. If you encounter any issues, you can try ssh -v -p 2222 opendevin@localhost with the password '5c04f12b-b7a3-4c9b-9c19-d5ff35b12f8b' and report the issue on GitHub.

FYI, the llm in logs is empty (response and prompt), and the opendevin_xxx.log as shown:
21:25:42 - opendevin:INFO: sandbox.py:119 - Using workspace directory: /Users/zhouxiaolun/Projects/OpenDevin/workspace
21:25:42 - opendevin:INFO: sandbox.py:320 - Container stopped
21:25:42 - opendevin:WARNING: sandbox.py:336 - Using port forwarding for Mac OS. Server started by OpenDevin will not be accessible from the host machine at the moment. See https://github.com/OpenDevin/OpenDevin/issues/897 for more information.
21:25:42 - opendevin:INFO: sandbox.py:356 - Container started
21:25:43 - opendevin:INFO: sandbox.py:372 - waiting for container to start: 1, container status: running
21:25:44 - opendevin:INFO: sandbox.py:198 - Connecting to opendevin@localhost via ssh. If you encounter any issues, you can try ssh -v -p 2222 opendevin@localhost with the password 'b0df15b7-d8dc-4b2d-baaa-eecdc7196354' and report the issue on GitHub.

That... looks good? If there's no error when it tries to ssh, it's good news... it connects when the frontend starts a task. If you attempt to access localhost:3001?

That... looks good? If there's no error when it tries to ssh, it's good news... it connects when the frontend starts a task. If you attempt to access localhost:3001?

But it. still not move to the next step, i mean i am still stop at the first step , not new plan output, not new response...

After using the new version, Password refuse is fixed.but a new error log appeared.
command is sudo make run. btw, my os is Mac M1.

[plugin:vite:import-analysis] Failed to resolve import "../i18n/declaration" from "src/components/Workspace.tsx". Does the file exist?
C:/Users/xprat/PycharmProjects/devin ai/OpenDevin/frontend/src/components/ChatInterface.tsx:8:24C:/Users/xprat/PycharmProjects/devin ai/OpenDevin/frontend/src/components/SettingModal.tsx:27:24C:/Users/xprat/PycharmProjects/devin ai/OpenDevin/frontend/src/components/Workspace.tsx:7:24
22 |  import Earth from "../assets/earth";
23 |  import Pencil from "../assets/pencil";
24 |  import { I18nKey } from "../i18n/declaration";
|                           ^
25 |  import { AllTabs, TabOption } from "../types/TabOption";
26 |  import Browser from "./Browser";
at formatError (file:///C:/Users/xprat/PycharmProjects/devin%20ai/OpenDevin/frontend/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:50863:46)
at TransformContext.error (file:///C:/Users/xprat/PycharmProjects/devin%20ai/OpenDevin/frontend/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:50857:19)
at normalizeUrl (file:///C:/Users/xprat/PycharmProjects/devin%20ai/OpenDevin/frontend/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:66092:33)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///C:/Users/xprat/PycharmProjects/devin%20ai/OpenDevin/frontend/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:66247:47
at async Promise.all (index 10)
at async TransformContext.transform (file:///C:/Users/xprat/PycharmProjects/devin%20ai/OpenDevin/frontend/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:66168:13)
at async Object.transform (file:///C:/Users/xprat/PycharmProjects/devin%20ai/OpenDevin/frontend/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:51172:30)
at async loadAndTransform (file:///C:/Users/xprat/PycharmProjects/devin%20ai/OpenDevin/frontend/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:53923:29    at formatError (file:///C:/Users/xprat/PycharmProjects/devin%20ai/OpenDevin/frontend/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:50863:46)
at TransformContext.error (file:///C:/Users/xprat/PycharmProjects/devin%20ai/OpenDevin/frontend/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:50857:19)
at normalizeUrl (file:///C:/Users/xprat/PycharmProjects/devin%20ai/OpenDevin/frontend/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:66092:33)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///C:/Users/xprat/PycharmProjects/devin%20ai/OpenDevin/frontend/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:66247:47
at async Promise.all (index 8)
at async TransformContext.transform (file:///C:/Users/xprat/PycharmProjects/devin%20ai/OpenDevin/frontend/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:66168:13)
at async Object.transform (file:///C:/Users/xprat/PycharmProjects/devin%20ai/OpenDevin/frontend/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:51172:30)
at async loadAndTransform (file:///C:/Users/xprat/PycharmProjects/devin%20ai/OpenDevin/frontend/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:53923:29)
at async viteTransformMiddleware (file:///C:/Users/xprat/PycharmProjects/devin%20ai/OpenDevin/frontend/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:63775:32    at formatError (file:///C:/Users/xprat/PycharmProjects/devin%20ai/OpenDevin/frontend/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:50863:46)
at TransformContext.error (file:///C:/Users/xprat/PycharmProjects/devin%20ai/OpenDevin/frontend/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:50857:19)
at normalizeUrl (file:///C:/Users/xprat/PycharmProjects/devin%20ai/OpenDevin/frontend/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:66092:33)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///C:/Users/xprat/PycharmProjects/devin%20ai/OpenDevin/frontend/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:66247:47
at async Promise.all (index 9)
at async TransformContext.transform (file:///C:/Users/xprat/PycharmProjects/devin%20ai/OpenDevin/frontend/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:66168:13)
at async Object.transform (file:///C:/Users/xprat/PycharmProjects/devin%20ai/OpenDevin/frontend/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:51172:30)
at async loadAndTransform (file:///C:/Users/xprat/PycharmProjects/devin%20ai/OpenDevin/frontend/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:53923:29)
at async viteTransformMiddleware (file:///C:/Users/xprat/PycharmProjects/devin%20ai/OpenDevin/frontend/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js:63775:32
Click outside, press Esc key, or fix the code to dismiss.
You can also disable this overlay by setting server.hmr.overlay to false in vite.config.ts.

Still exist

@hongdongyue2012 at that stage, I would make sure to wipe the container and even the image in docker, then run make build : it will redownload and rebuild.
@JayLZhou ssh daemon is started?
I would refresh the page and try to send a task, to see if the container gets more activity or errors. But maybe the best is the same: try to clear image and redo, just to be sure: there have been successive updates today, both to the image and code, until it worked on Mac. Worth also, like in the screenshot above: when you see the message about the password to test with, to do that.

: try to clear image and redo, just to be sure: there have been successive updates today, both to the i

DO you mean, we need to repull and rebuild our repo?

: try to clear image and redo, just to be sure: there have been successive updates today, both to the i

DO you mean, we need to repull and rebuild our repo?

Remove the container and image, then execute follows.
1. make build
2. make setup-config
3. make run

Yes, after clearing the docker image

Yes, after clearing the docker image

Let me try it again

@enyst @SmartManoj Actually, I have (1) cleared our image and rebuilt the repo and (2) separately run the backend and frontend. But it still does not work.....

have same question here

Run this to check LLM is working correctly.
import warnings
warnings.filterwarnings("ignore")

import tomllib as toml
from litellm import completion

file_path=r'config.toml'
config = toml.load(open(file_path,'rb'))

messages = [{ "content": "What is the meaning of life?","role": "user"}]

response = completion(model=config['LLM_MODEL'],
                        api_key=config['LLM_API_KEY'],
                        base_url=config.get('LLM_BASE_URL'),
                      messages=messages)
print(response.choices[0].message.content)

Run this to check LLM response time.
import warnings
warnings.filterwarnings("ignore")

import tomllib as toml
from litellm import completion

file_path=r'config.toml'
config = toml.load(open(file_path,'rb'))

messages = [{ "content": "What is the meaning of life?","role": "user"}]

response = completion(model=config['LLM_MODEL'],
                        api_key=config['LLM_API_KEY'],
                        base_url=config.get('LLM_BASE_URL'),
                      messages=messages)
print(response.choices[0].message.content)

I think our api-key is good, since I can use my api-key in METAGPT

运行此命令来检查 LLM 响应时间。
import warnings
warnings.filterwarnings("ignore")

import tomllib as toml
from litellm import completion
from datetime import datetime
file_path=r'config.toml'
config = toml.load(open(file_path,'rb'))

messages = [{ "content": "What is the meaning of life?","role": "user"}]
dt = datetime.now()
response = completion(model=config['LLM_MODEL'],
                        api_key=config['LLM_API_KEY'],
                        base_url=config.get('LLM_BASE_URL'),
                      messages=messages)

print(response.choices[0].message.content)

dt2 = datetime.now()
print(f"Time taken: {(dt2-dt).total_seconds():.1f}s")

I have the same question as also stuck in the step 0 in #908 , and this script can run successfully:
The meaning of life is a deep and complex philosophical question that has been debated for centuries. Different people and cultures have different beliefs about the purpose and meaning of life. Some may find meaning in relationships, personal achievements, or spiritual fulfillment, while others may find meaning in contributing to the well-being of others or pursuing knowledge and understanding. Ultimately, the meaning of life is a deeply personal and subjective concept that each individual must explore and define for themselves.
Time taken: 2.9s

Add the following code to opendevin\llm\llm.py and run
if __name__ == '__main__':
    llm = LLM()
    messages = [{"content": "42?", "role": "user"}]
    response = llm.completion(messages=messages)
    print('\n' * 4 + '--' * 20)
    print(response['choices'][0]['message']['content'])

@enyst In some low-end devices with 8GB RAM, even to generate "Hello", it took around ~3 mins for a ~6GB model.

Add the following code to opendevin\llm\llm.py and run
if __name__ == '__main__':
    llm = LLM()
    messages = [{"content": "42?", "role": "user"}]
    response = llm.completion(messages=messages)
    print('\n' * 4 + '--' * 20)
    print(response['choices'][0]['message']['content'])

Wrongly commented here instead of in #908 for @DEM1TASSE

@enyst In some low-end devices with 8GB RAM, even to generate "Hello", it took around ~3 mins for a ~6GB model.

Was the browser window used before, in this example? Or... the browser, simply, was it used for multiple messages? There is a history saving feature recently, which attempts to restore sessions if it has them. It ends up taking a lot of time, because I think it's adding embeddings to the local vector store...
If you experience that yourself, can you make sure to clear the browser local storage, and close all tabs used with the frontend.

@enyst In some low-end devices with 8GB RAM, even to generate "Hello", it took around ~3 mins for a ~6GB model.

When testing the LLM manually.
So, I thought the user might stop the program after certain minutes by thinking it is stuck.

That makes sense. That makes me curious about the difference in duration between running llm.py for a completion call, as you suggested in issues, and the first completion call with opendevin when it starts a task... if we can do that, off-hand I wonder there may be some interference from the container. I mean, we can log the completion call, but the long starting time that you mention includes more. And I'd like to exclude the container, and include the rest. Not at my machine atm but it will be an interesting data point. 😅
My guess is that it does embeddings for history, meaning probably useless (?) work. And potentially a lot of work, depending on how the user used the browser with history.

@JayLZhou
add some debug statements after https://github.com/OpenDevin/OpenDevin/blob/707ab7b3f84fb5664ff63da0b52e7b0d2e4df545/opendevin/controller/agent_controller.py#L125

I can open the webpage at http://localhost:3001/
But, I will stucking at this step, and can't output anything else.

我也一样，你解决了吗

@Mason-zy  Which LLM Model?
Check Gemini 1.5 Pro
https://developers.googleblog.com/2024/04/gemini-15-pro-in-public-preview-with-new-features.html

@Mason-zy Which LLM Model?
Check Gemini 1.5 Pro
Check this troubleshooting #995 (comment)

@Mason-zy

Check this troubleshooting #995 (comment)

@Mason-zy
I also tried, but he is still stuck in the console to prevent network issues, I am now trying to deploy local llm

Run this poetry run python opendevin/main.py -d ./workspace/ -t "write a bash script that prints hi"
and after stuck press Ctrl + C to stop it and share the screenshot


Endpoint error: api-staging.pma2020.org/v1/data

Description
Haven't investigated further yet to see what error code. Just get generic Heroku error. Not sure if is specific to staging. Other endpoints appear to be working.

This is now a duplicate of another issue.


Handle false as a key correctly

Before this change, I18n.t(false) was always returning false.

Is there something I can do to work towards getting this merged?

Sorry about the delay. I've been busy!
Pinging about it was the right thing to do here. I will now look at doing a new gem release.

Thanks, @radar!

@radar I think this PR or somewhere >= 0.8.3 broke this:
Handle :default => false correctly
https://github.com/svenfuchs/i18n/commit/3312ed9edd597f7906db0b81dfde541de4339d4c

Hey @andrewyoo. Can you please give more details on how to reproduce the issue? It doesn't seem to be broken, all tests are passing for me.

Might be a rails issue, but here's some detail:
v0.8.3:
[1] pry(main)> I18n.t('key', default: false)
=> false
[2] pry(main)> helper.t('key', default: false)
I18n::MissingTranslationData: translation missing: en.false
from /Users/ayoo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/bundler/gems/i18n-2a388d2d835a/lib/i18n.rb:311:in `handle_exception'

v0.8.2:
[1] pry(main)> I18n.t('key', default: false)
=> false
[2] pry(main)> helper.t('key', default: false)
=> false


Support any @Documentation

Hi,
idea is to be able to put @Documentation on the resource and method and integrate the value() automatically as the description of the decorated resource. Package shouldn't be important and up to the project. Only constraint would be to be @Retention(RUNTIME) and to have a String value() method.

The idea was to use JavaDoc for this -- which basically works, but introduced quite some issues, all due to the (horrible) JavaDoc parser. The JavaDoc parser needs to be replaced by a more stable solution...
Also see #109
I'd vote for not adding custom annotations that projects have to include, this would introduce dependencies to our tool. The same was my intention for not supporting Swagger annotations btw.
Thoughts?

Well intention was not to introduce a jaxrs-analyzer annotation but just use any @Documentation#value found on the methods/classes.

Ah, I see!
Well, I would say, providing JavaDoc is even a cleaner fit for projects, rather than using that annotation, right?

Hmm, 2 points then:

i didnt use javadoc since years since it is bound to a particular techno
javadoc has an intendez usage which is not this one so better to keep it split IMO. You can argue we can add a specific tag bit then we are at the same stage. Add it is easier for apps to use reflection to generate their doc and then supporting @Doc would enable more usages than javadoc :)

Hi guys, just my opinion below:

"I didnt use javadoc since years since it is bound to a particular techno"

isn't this project tied to a particular tech (Java/JaxRS)? or It  can be used with other stack?

javadoc has an intendez usage which is not this one so better to keep it split IMO

I really think it is a great place for JavaDoc and that's one of the main advantages of this plugin IMO, to not polute your API with documentation tags. With JavaDoc it is clear that it is not part of the API.
On the other hand if you use Swagger annotations e.g @Api you need to filter/Ignore those annotations while reading code and the oposite is also true when you want to focus on Api Docs with need look only into Docs annotations, for me a complete mess.

This project is bound to a techno but javadoc is used for another usage (clearly not http doc but java doc ;)). If you put it in jdoc the filteeing is way harder since you need to filter a single location vs some explicit ones.
Thinking about it, just being able to insert a placeholder the build can replace (like a unique adoc attribute for adoc rendering, comment for html etc..) can be enough and avoid any particular API support. This way apps can just set the placeholder value at rendering time.

Please see update in #109

Please nothing related to javadoc :).
Was more thinking about a variable in the generated adoc wich can be valorised through the adoc rendering (using attributes)


Conditional requirements markers are evaluated instead of being copied

If my requirements.in file contains something like:
importlib_resources==5.4.0 #; python_version < '3.9'

When I run pip-compile to generate the requirements.txt file on Python 3.9, the importlib_resources entry is missing completely.
It appears that the conditional is being evaluated to determine the output, rather than just copying it.
Environment Versions

Linux
Python 3.9.9
pip 21.3.1
pip-tools version: 6.4.0

Steps to replicate
echo "importlib_resources==5.4.0; python_version < '3.9'" >> requirements.in
pip-compile --generate-hashes --output-file requirements.txt requirements.in

Expected result
The requirements.txt file should contain:
importlib_resources==5.4.0; python_version < '3.9' --hash=sha256:xxxxblah

Actual result
No entry for importlib_resources
...

The output file is suitable just for the environment type in which pip-compile was run.
Might this discussion fit the existing issue #1326?

I guess that's what it's trying to do yeah, but it seems less useful than copying the filter markers. Also looking at #1326 this is probably a dupe.

Alright, I'm going to close this in favor of continuing at #1326.


Hubble: Adding structured format to configure Hubble Metrics

Draft PR for intial changes to bring structured format to static string-based metrics enablement.
First PR in the series to implement, https://github.com/cilium/design-cfps/blob/main/cilium/CFP-30788-managing-hubble-metrics-cardinality.md
CFP: https://github.com/cilium/design-cfps/pull/29
Todo:
2) Adding tests to the new structures

Please ensure your pull request adheres to the following guidelines:

[x] For first time contributors, read Submitting a pull request
[ ] All code is covered by unit and/or runtime tests where feasible.
[x] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[x] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[ ] All commits are signed off. See the section Developer’s Certificate of Origin
[ ] Provide a title or release-note blurb suitable for the release notes.
[x] Are you a user of Cilium? Please add yourself to the Users doc
[x] Thanks for contributing!

Fixes: #30788
<!-- Enter the release note text here if needed or remove this section! -->

FYI @chancez I'm picking this up from Vamsi. I'll reach out to you on Slack with some questions.


[Designer]Bug 37671664: [ActivityUpdate.json]: Luminosity ratio of focused placeholder text 'Add a comment' is 3.1:1 with respect to the background, which is less than 4.5:1.

Problem Description
Bug 37671664: [ActivityUpdate.json]: Luminosity ratio of focused placeholder text 'Add a comment' is 3.1:1 with respect to the background, which is less than 4.5:1.
Test Environment:
Application: Adaptive Cards
OS version: Dev (OS Build 22499.1010)
Application Version: 3.0.2111.24001
Tool: Color Contrast Analyzer
Repro steps:

Launch the Adaptive Card application.

Adaptive Card UWP Visualizer screen starts appearing.

Navigate to ActivityUpdate.Json button by using Tab key and activate it.

Navigate to "Add a comment" edit box by using Tab key..

Observe the issue with the tool.

Actual Result:
Luminosity ratio of focused placeholder text 'Add a comment' is 3.1:1 with respect to the background, which is less than 4.5:1.
Expected Result:
Luminosity ratio of focused placeholder text 'Add a comment' with respect to the background should be greater or equal to 4.5:1
User Experience:
Low vision users will be impacted if with out keyboard focus luminosity contrast ratio of focused 'Add a comment' placeholder text with respect to background is less than as per expected.
"Have feedback to share on Bugs ? Please help fill Trusted Tester Bug Feedback (office.com) “,
Card JSON
Designer Bug. Repro on UWP Adaptive Card visualizer

Screenshot
No response

Now this UI is not appearing hence closing this issue.


Empty commit to verify windows conformance test

Signed-off-by: Quan Tian<EMAIL_ADDRESS>

/test-windows-conformance


Delete no_kwargs! macro

Looks like the failure is from a new clippy lint for rust 1.49

Looks like the failure is from a new clippy lint for rust 1.49


python3Packages.zeep: 4.0.0 -> 4.1.0

Motivation for this change
Update to latest upstream release 4.1.0
Change log: https://github.com/mvantellingen/python-zeep/releases/tag/4.1.0
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

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

[x] Fits CONTRIBUTING.md.

Depends on #134674

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

3 packages failed to build:

lexicon
python38Packages.sunpy
python39Packages.sunpy

7 packages built:

home-assistant
python38Packages.platformdirs
python38Packages.total-connect-client
python38Packages.zeep
python39Packages.platformdirs
python39Packages.total-connect-client
python39Packages.zeep

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 134667 run on x86_64-linux 1

2 packages failed to build and already failed to build on hydra master:

python38Packages.sunpy: log was empty
python39Packages.sunpy: log was empty

8 packages built:

home-assistant
lexicon
python38Packages.platformdirs
python38Packages.total-connect-client
python38Packages.zeep
python39Packages.platformdirs
python39Packages.total-connect-client
python39Packages.zeep

nixpkgs-review happy macos 10.15 & nixos x86_64 (skipped homeassistant though)


remove debug build restriction from gas profiling

Description
This removes the restriction that the gas profiler can only be used in debug builds
Test Plan
How did you test the new or updated feature?

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ ] protocol change
[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

I would definitely be in favor of enabling this in the CLI builds (even in release mode)! The first idea that comes to mind here is we would need to add a feature flag for this so you could compile with e.g., something like --local-features which may enable both the gas profiler code along with other debug/test-coverage related code as well but there may be other (better) ways as well.
I generally agree with Ashok here on enabling this everywhere -- enabling this on validator and fullnode release builds would worry me quite a bit actually -- it would add a whole new set of things that were previously only enabled in debug builds (i.e., not on-node) to the critical path of execution.

What we want is to have a new feature, gas-profiler, wrap the profiling code instead of wrapping with debug-assertions. Additionally, we want the CLI builds to always include the feature gas-profiler, also we would need to have the original sui-tool


Wrong path to derivatives of dwi masks

The script looks for the derivatives of dwi masks in this folder
FILESEGMANUAL="${PATH_DATA}"/derivatives/labels/"${SUBJECT}"/anat/"${FILESEG}".nii.gz
I guess there should be another path pointing to "dwi".
Otherwise, the pipeline is working well!

Oops! Good catch. Problematic line to adapt:
https://github.com/sct-pipeline/spine-park/blob/46499f4fa7e7ad2bf6663763736af9863461cc58/batch_processing.sh#L90
This will be an easy fix


frontend: Improve handling of an edgecase in useKubeObject useKubeObjectList hooks

So we don't have a different key when a function uses the namespace as undefined and another as ''.

btw, speaking of namespaces... Did you check about that useList used to take namespace[]?


io.github.takahirom.roborazzi:roborazzi-gradle-plugin:1.0.0 isn't published

The Gradle plugin for Roborazzi 1.0.0 isn't published:
> Could not resolve all files for configuration ':classpath'.
   > Could not find io.github.takahirom.roborazzi:roborazzi-gradle-plugin:1.0.0.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/io/github/takahirom/roborazzi/roborazzi-gradle-plugin/1.0.0/roborazzi-gradle-plugin-1.0.0.pom
       - https://repo.maven.apache.org/maven2/io/github/takahirom/roborazzi/roborazzi-gradle-plugin/1.0.0/roborazzi-gradle-plugin-1.0.0.pom
       - https://plugins.gradle.org/m2/io/github/takahirom/roborazzi/roborazzi-gradle-plugin/1.0.0/roborazzi-gradle-plugin-1.0.0.pom
     Required by:
         project :

Thank you for the update. Sonatype is processing the release, and it should be available within an hour.


Expose prefill method to user

Expose prefill method to user
Writing prefill code is tedious and error-prone (as the tree might have
been partially constructed). Exposing the inner functionality of
PrefillSI, we can use the same key/value pairs as is used in the prefill
json.
E.g.
   public async Task DataCreation(Instance instance, object data, Dictionary<string, string> prefill) {
       prefillService.PrefillDataModel(data, new Dictionary<string, string> {
           { "a.value", "a" },
           { "b.value", "b" },
           // ..
       });
       await Task.CompletedTask;
   }

Verification

[X] Your code builds clean without any errors or warnings
[X] Manual testing done (required)
[ ] Relevant automated test added (if you find this hard, leave it and we'll help out)
[ ] All tests run green

Documentation

[ ] User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)
[ ] Changelog is updated with a separate linked PR

[ ] altinn-app-frontend- (if applicable)
[ ] nuget-packages - (if applicable)

PR copied from altinn-studio, https://github.com/Altinn/altinn-studio/pull/8128
Ref https://github.com/Altinn/altinn-studio/pull/8128#issuecomment-1051822998

Can wait for https://github.com/Altinn/app-template-dotnet/pull/51 as it will require a small change.


Add an option for uncredentialed mongo

France isn't credentialed. This script won't run if mongo isn't credentialed. Fix this using Mook's if then format.

Fixed with https://github.com/bitslabsyr/STACKzip/commit/3bc233647492a85231e3a34490078d3452f3b750


refactor: home blocks table

Summary
https://app.clickup.com/t/861n1ttem
requires #495 to be merged
todo:

[x] stan
[x] tests
[x] disable loading state when polling after initial load

Note: also adds polling for transactions

Checklist

[ ] I checked my UI changes against the design and there are no notable differences
[ ] I checked my UI changes for any responsiveness issues
[ ] I checked my UI changes in light AND dark mode
[ ] I checked my (code) changes for obvious issues, debug statements and commented code
[ ] I opened a corresponding card on Clickup for any remaining TODOs in my code
[ ] I added a short description on how to test this PR (if necessary)
[ ] Documentation (if necessary)
[ ] Tests (if necessary)
[ ] Ready to be merged

good point :thinking: will sort it


chore(package): update eslint-plugin-react to version 7.9.1

Closes #322

Codecov Report

Merging #327 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #327   +/-   ##
======================================
  Coverage    27.9%   27.9%
======================================
  Files          11      11
  Lines         129     129
  Branches       10      10
======================================
  Hits           36      36
  Misses         92      92
  Partials        1       1

Continue to review full report at Codecov.

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


annotation file

Hello,
i would like to try out riboWaltz. Is there an easy way to generate the annotation file using gtf file downloaded from ensembl.
tks
JF

Hi,
the answer unfortunately is no. The annotation file  provided in the example was generated starting from a GTF from gencode and manually computing the length of the three regions on the basis of the exsons length. To solve this issue we are currently working on a new function for generating the required annotation file directly from a GTF file.
Meanwhile the functions makeTxDbFromGFF, cdsBy, fiveUTRsByTranscript and threeUTRsByTranscript from the GenomicFeatures package can be of some help.
Bests
Fabio

tks for answering back. I will take a look at the genomicfeature package.
JF
On Fri, Oct 20, 2017 at 9:02 AM, fabiolauria<EMAIL_ADDRESS>wrote:

Hi,
the answer unfortunately is no. The annotation file provided in the
example was generated starting from a GTF from gencode and manually
computing the length of the three regions on the basis of the exsons
length. To solve this issue we are currently working on a new function for
generating the required annotation file directly from a GTF file.
Meanwhile the functions makeTxDbFromGFF, cdsBy, fiveUTRsByTranscript and
threeUTRsByTranscript from the GenomicFeatures package can be of some help.
Bests
Fabio
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/LabTranslationalArchitectomics/riboWaltz/issues/1#issuecomment-338199973,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADV9oMQBeg9RrLnzNEAlZneVIk_aTjgOks5suJnkgaJpZM4P7aJo
.

Hi,
I have similar problem converting ensembl's GTF to annotation file. I wonder do you solved this problem?
Cheers,
TM

Hi,
we solved this problem by adding the create_annotation function that takes as input a GTF file or a TxDb object and returns a data frame with the required information. As previously mentioned, it is based on the GenomicFeature package.
Bests,
Fabio


Firewalls and virtual network blob on a storage account show authentication error rather than firewall error

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az storage container create
Errors:
The command failed with an unexpected error. Here is the traceback:

'CommandResultItem' object is not iterable
Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 212, in invoke
    self.output.out(cmd_result, formatter=formatter, out_file=out_file)
  File "/opt/az/lib/python3.6/site-packages/knack/output.py", line 132, in out
    output = formatter(obj)
  File "/opt/az/lib/python3.6/site-packages/knack/output.py", line 38, in format_json
    input_dict = dict(result) if hasattr(result, '__dict__') else result
TypeError: 'CommandResultItem' object is not iterable

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az storage container create --name {} --account-name {}

Expected Behavior
Environment Summary
Linux-4.15.0-1059-azure-x86_64-with-debian-stretch-sid
Python 3.6.5
Shell: bash

azure-cli 2.0.74

Extensions:
aks-preview 0.4.5
storage-preview 0.2.8

Additional Context

"Storage Blob Data Contributor" role is assigned to the user. Containers create without firewall rules, but are blocked when locked by firewall. Error message is not accurate.

Hi @lufussel, thanks for your feedback. What you said is really right. I think you are unblocked now with root cause found, right? We will improve error message for firewall scenario.

Hi @lufussel, given there is no response for a long time, I will close the issue and error message should already be update. If there is any issue, feel free to create a new one.


Shared emails list when large font

Description:
2.1.0
Emails list on share sensors page becomes almost unscrollable if user is using large font. Maybe this could be improved somehow.
https://user-images.githubusercontent.com/50437378/225554832-9711ae4c-0310-4c4a-ba31-7a0ff33df0cc.mp4

Added a little bit more space for bottom part of this screen

This will do for now, moving to done. Let's consider the redesign at a later point.


Add option to disable uploading images to homeserver

As far as I can see there's no way to not upload images to the homeserver (and instead just put the Discord CDN link in the message). I don't really want every single Discord image I receive to be stored on my homeserver.
(here?)

Tracked by https://gitlab.com/mx-puppet/discord/mx-puppet-discord/-/issues/181


Theme does not respect RequestedThemeVariant

It looks like the dark theme is hardcoded: https://github.com/egorozh/Tabalonia/blob/develop/Tabalonia/Themes/FluentTheme.cs#L28
In my application, I have RequestedThemeVariant="Light" (which will be controlled by a user setting later). However, Tabalonia seems to be only dark theme (see below). Can this be be changed to reflect the parent RequestedThemeVariant? If not, how do I configure Tabalonia's theme as well?

I didn't support the light theme. I'll do it soon)

Added new Fluent theme with supporting light theme. Old theme renamed to "Custom".
Also, an example of using your theme has been added to the demo.


Double Click on text does not select the text while using sortable

Code:
el = document.getElementById('main-list');
sortable = Sortable.create(el, {
sort: false,
dataIdAttr: 'data-id'
});

Text Data
Text Data
Text Data

Double Click on text "Text Data" does not select the text while using sortable. Any data which is present inside sortable list is not selectable. can you please help on how to resolve this.

I have the same problem. Please, help.

@gesero You should use handle in this scenerio: https://github.com/SortableJS/Sortable#handle-option


retry doc - update outdated references

update references to EF and Transient Fault Handling Application Block outdated versions

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/patterns/retry.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/patterns/retry.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Character-level Candidate Definitions

A mention should be defined across a character span within the candidate. By default, this would include all characters and be equivalent to the current implementation. But this would also let us define a sub-token matcher object. For instance, many compound modifiers ("cancer-free", "aspirin-induced", etc.) are treated as single tokens by parsers. Other matchers are incorrectly tokenized ("ATM/AT"). Rather than changing tokenization, we should be able to define a regex matcher that operates on tokens but only the matched span is treated as as the candidate That way we can pull out "cancer", "aspirin", etc. with minimal hassle.

Already being implemented this way :). Will be done this week
On Wed, Jun 29, 2016 at 12:23 PM Jason Alan Fries<EMAIL_ADDRESS>wrote:

Assigned #277 https://github.com/HazyResearch/ddlite/issues/277 to
@ajratner https://github.com/ajratner.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/HazyResearch/ddlite/issues/277#event-708004753, or mute
the thread
https://github.com/notifications/unsubscribe/ABgw_f7fk_AIoaQGz2ELMD3q1KXH_jXsks5qQpv4gaJpZM4JBUSM
.

Awesome! This change alone will boost candidate recall in the chemical mention task rather nicely.

Awesome. I'm sure we'll need to discuss and tune but should be simple
change, great!
On Wed, Jun 29, 2016 at 12:49 PM Jason Alan Fries<EMAIL_ADDRESS>wrote:

Awesome! This change alone will boost candidate recall in the chemical
mention task rather nicely.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/HazyResearch/ddlite/issues/277#issuecomment-229417414,
or mute the thread
https://github.com/notifications/unsubscribe/ABgw_feIRtu3WuTp5m43mAAnhHRWNusUks5qQqIDgaJpZM4JBUSM
.


Revise image handling

save resized images to original folder, then point to resized image

This makes me wonder where we should really store images.
The banner images are all in story-specific folders, but it would be DRYer to keep them in static/images and use .params.image to have an absolute reference to the image url. We do re-use a lot of images - very few are specific to a data story (and we could keep those in the page bundle - the content folder).

I changed this issue title to be more general. Let's address two things:

[ ] resize header / card images (CG)
[ ] Change data story images - keeping them in static/images and updating the reference to the banner image
[ ] Give images descriptive names (for seo)

This might be a reach but is there any way that this merge may have affected the search? Entering a search term yields nothing but this console error - a baseURL issue

Yeah, I'm on it.

From: M. Montesano @.>
Sent: Monday, September 19, 2022 12:09 PM
To: nychealth/EH-dataportal @.>
Cc: Chris Gettings @.>; Author @.>
Subject: [EXTERNAL] Re: [nychealth/EH-dataportal] Revise image handling (Issue #43)
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.  Forward suspect email to<EMAIL_ADDRESS>as an attachment (Click the More button, then forward as attachment).
This might be a reach but is there any way that this merge may have affected the search? Entering a search term yields nothing but this console error - a baseURL issue
[image]https://user-images.githubusercontent.com/55593359/191062892-6039ce8e-fd33-42b0-afaa-e255387ed73c.png
—
Reply to this email directly, view it on GitHubhttps://github.com/nychealth/EH-dataportal/issues/43#issuecomment-1251231333, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADAZMQCBDF2OWHN3ODJPJTLV7CF33ANCNFSM56ITLGCQ.
You are receiving this because you authored the thread.Message ID: @.***>
Sent from the New York City Department of Health & Mental Hygiene. This email and any files transmitted with it may contain confidential information and are intended solely for the use of the individual or entity to whom they are addressed. This footnote also confirms that this email message has been swept for the presence of computer viruses.

this is currently on hotfix-ds-default btw.

Closed to consider dealing with later.


TypeError: div(): argument 'other' (position 1) must be Tensor, not numpy.bool_

Hi, sir! Trying to get some results on different data of similar to the one you have tested. This error appeared in the process:

Would be very thankful if you look into it.

Hi, sir! Trying to get some results on different data of similar to the one you have tested. This error appeared in the process:

Would be very thankful if you look into it.

Actually the error was due to our data set format. The Warwick data set annotations are not binary images like ours. The code is designed for that type. So, we need to change our annotation to that type. We did and it worked.
we just added mask = np.array(mask, dtype='float') in the dataloader.py file, before the line to which the error indicates.
Thanks a lot for the code.


Update to discord.js v14

discord.js dev builds of v14 are ongoing, and it looks like a lot of stuff is in place, so I've started the process of upgrading, though of course I'll be keeping it a draft until it releases. This version seems to work, but it looks like there's some things like enums vs unions that are in flux still, so definitely expect this branch to receive some retcons in the future.

 Meant to keep that as a separate commit... oops.


Wiki update

Issue Description:
The wiki is incredibly out of date.
What happens:
I'm used to the old version of Ender IO (best mod ever btw) and want to know more about this new iteration.
What you expected to happen:
I go to the wiki and it tells me how things work.
Steps to reproduce:

Go to the wiki.
Read the self-aware footnote from half a year ago saying it's out of date.
Weep silently.
...

Affected Versions (Do not use "latest"):

EnderIO:
EnderCore:
Minecraft:
Forge:
SpongeForge? yes/no
Optifine? yes/no
Single Player and/or Server?

Your most recent log file where the issue was present:
[pastebin/gist/etc link here]

Read the self-aware footnote from half a year ago saying it's out of date.
Weep silently.

reading this in context with the cited text:

here are directions on how to Contribute to the wiki.

makes me think if you ever visited the link
https://github.com/SleepyTrousers/EnderIO/wiki/Contributing-to-the-Wiki
and concider adding content, instead of complaining about nobody else doing it :)

While I appreciate your original and completely unexpected response, I find it hard to believe that asking players to write the official documentation for something they did not create is the best solution.
Especially in this new, more complex iteration of Ender IO I can't help but think that there are a ton of intricacies that are best described by the people who wrote the code for it.

What would you prefer. No new content and bug fixes or a updated wiki? Because that wiki would take weeks or months to update


Missing all Go lang standard library packages

Hello!
Thanks for the project, but there is an issue:
https://pkg.go.dev/std - all those packages (from standard library) are missing on https://deps.dev/.

Duplicate of #86

@sarnesjo-google sorry for duplicate) thanks!


I'm not too sure what I'm looking at. Could you possibly add comments in your code please so its easier to integrate into our own code

This is not a library of some sort that you add in your own project, it's just an app. If you want some help with adding some of my code to your project reply with what you need help with.

So, I'm trying to make a discord bot and I'm mainly intrested in the notifications part

Check this out: https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.notifyicon?view=net-5.0

Hi, sorry for not clarifying. I just need to hook into the event when somone went live. I'm not trying to post notifications to the desktop. I'm making a bot for discord that would notify that server in a specific channel when someone went live.

I'm using this lib (https://github.com/TwitchLib/TwitchLib) to check if someone is live or not.


Remap Gyro to Mouse

So I am looking at the code and can see that the macro recorder can take in and spit out GyroX and GyroY. I'm trying to judge the possibility of instead of sending left stick, right stick commands using the mouse sending Gyro X and Y instead.
The reason I feel this will be helpful is in titles such as Dreams, the inspiration for me picking up PS4Macro in the first place.
In Dreams, it seems the gyro values themselves don't matter as they can be "recentered" - so I assume it's possible to do a GyroX++ / GyroY++ with a clamp or something along those lines.
(As an example, I recorded a macro out of GyroX, GyroY and GyroZ and the values range from 2197 - 1830)
Does anybody know the ideal place to put this code? I assume introduce a chunk in the "IsLeftStick" or "IsRightStick" and send the gyro data there? I took a look at the remapper class and it's a little confusing in terms of how to send GyroX, GyroY based on the X and Y of the mouse due to the map of the button inputs being more abstract that I anticipated.
This is more of a soapbox to drop suggestions and whatnot as I try to work on this but if anybody else wanted to help, it would be greatly appreciated. The best way I could recieve help at the moment is a general idea of how I'd form the GyroX call in the remapper class to be treated like a PS4 controller input ala the left stick and right stick.
Cheers!

I have tried the approach of using a macro script (based on mouse position) but I can't seem to get the gyro working reliably. Attached is the current script as it stands.
`using PS4MacroAPI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
namespace KitGyro
{
public class Script : ScriptBase
{
[StructLayout(LayoutKind.Sequential)]
public struct POINT
{
public int X;
public int Y;
}
    [DllImport("user32.dll")]
    static extern bool GetCursorPos(out POINT lpPoint);
    POINT point;

    public Script()
    {
        Config.Name = "KitGyro";
    }

    public override void Start()
    {
        base.Start();
    }

    public override void Update()
    {

        int X = Cursor.Position.X * 1000;
        int Y = Cursor.Position.Y * 1000;

        base.Update();

        Press(new DualShockState() { GyroX = (short)X });
        Press(new DualShockState() { GyroX = (short)Y });

    }
}

}
`
After this, I tried giving just standard Gyro values, with:
            Press(new DualShockState() { GyroX = 0 });             Press(new DualShockState() { GyroY = 0 });             Sleep(10);             Press(new DualShockState() { GyroX = 1000 });             Press(new DualShockState() { GyroY = 100 });             Sleep(10);             Press(new DualShockState() { GyroX = 0 });             Press(new DualShockState() { GyroY = 0 });             Sleep(10);             Press(new DualShockState() { GyroX = 1000 });             Press(new DualShockState() { GyroY = 1000 });             Sleep(10);             Press(new DualShockState() { GyroX = 0 });             Press(new DualShockState() { GyroY = 0 });             Sleep(10);             Press(new DualShockState() { GyroX = -500 });             Press(new DualShockState() { GyroY = -500 });             Sleep(10);             Press(new DualShockState() { GyroX = 0 });             Press(new DualShockState() { GyroY = 0 });             Sleep(10);             Press(new DualShockState() { GyroX = 100 });             Press(new DualShockState() { GyroY = -100 });
But even then the script was acting unreliably, which worries in terms of if the Gyro functionality is working correctly in the first place.


[Coverity CID :196635]Error handling issues in /tests/net/mld/src/main.c

Static code scan issues seen in File: /tests/net/mld/src/main.c
Category: Error handling issues
Function: send_query
Component: Tests
CID: 196635
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

PR merged and close the bug


error downloading yolo

while runing detect_and_draw_box() in part-1, It is throwing below error:
Downloading yolov3-tiny.cfg from https://github.com/pjreddie/darknet/raw/master/cfg/yolov3-tiny.cfg
Could not establish connection. Download failed
Downloading yolov3_classes.txt from https://github.com/arunponnusamy/object-detection-opencv/raw/master/yolov3.txt
Could not establish connection. Download failed
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\karri.anusha\.cvlib\object_detection\yolo\yolov3\yolov3_classes.txt'
please assist

Hi @anusha1110 ! As mentioned in the pinned thread, our learner support and community-building activities have moved to Discourse. Please repost this there to get support from the course mentors and also your fellow learners. They will be happy to help you! You can join it through this link. If you’re already a part of Discourse through the other DeepLearning.AI specializations (e.g. Deep Learning), then you can simply log-in to your Discourse account and choose the category before posting. Hope to see you there!
I think this thread addresses your question!


0x800B010A_Installation failed!

Hey Philip,
Congrats on Buddy and I'm so excited to try it. However, I got the following error when trying to install different versions into Win10.
.
Many thanks in advance.
Cheers,
Maz

Managed to do it.... Thanks


ci: Add github workflow example

This is the very first attempt to get self-hosted CI runners going. There's a bit of a "chicken and egg" situation here. Github won't try to execute a workflow until its been merged to main. So I think we need to merge this PR. Then I can submit another PR where we can start to see if I configured everything correctly.

n/m - i'm seeing the webhooks now. I have something misconfigured somewhere. I'll get this check passing once its fixed

@mynameistechno


example code gives AttributeError

Since the recent update (for which, many thanks), the example code in the phpember.py comment
    Example usage: t =<EMAIL_ADDRESS>'mypasswd')
                   t.getZoneTemperature('myzone') # Get temperature

gives AttributeError: 'EphEmber' object has no attribute 'getZoneTemperature'.

It should be t.get_zone_temperature('myzone'). I change dto pascal case a few updates ago. 'll update the comment.

I appreciate all your job and input into this while I'm just looking from the side. Do you have any idea when that will be included in home-assistant update as yesterday's 101.3 ver didn't have it?

The fixes have been accepted into the dev branch of home-assistant. I'm not 100% sure on the current release process of home-assistant but it looks like the 102 beta may be due next Wednesday with the full release of 102 on the 20th. I'd hope the changes will be included in that.
If you wanted to use them now you could take the changes I've pushed to home-assistant and create a custom component with a slightly different name.

Thanks once more time, I'll probably do that this weekend.

fixed this now.
From checking with the HA devs on discord, my fix should be in the 102 version scheduled for beta next week.


Deploying Sysbox to a new RKE node containing Longhorn results in CrashLoopBackOff for rke2-ingress-nginx-controller pod

Hi Rodny, we noticed a CrashLoopBackOff issue with the rke2-ingress-nginx-controller-xxxxx pod after labelling a new Ubuntu 20.04 node with sysbox-install=yes for the first time (sysbox-ee:0.4.1 + RKE2 v1.21.10+rke2r2 + Longhorn 1.2.4).

Given that the rke2-ingress-nginx-controller is not a Sysbox pod, I suspect the problem is due to some interaction between CRI-O and the rke2-ingress-nginx-controller pod, possibly triggered by the presence of longhorn.


Update test.py

Adds test of drawlsmask method to catch changes to NumPy functionality, which have broken drawlsmask recently. Recent changes to NumPy concatenate disallowed the concatenation of arrays on axes that don't exist. An IndexError is now raised when this is attempted. To test if drawlsmask functionality is working, the proposed addition is the TestLSMask class, which will fail the test if drawlsmask fails.

In the test code, please use 4 spaces for indents. I know it isn't followed correctly everywhere, but that'll get fixed at some point.

The error you are getting is because the unittests are running in headless mode, but the default backend is, in this case, tkagg. We need to have these tests run using the 'agg' backend. Add to the beginning of the test script:
import matplotlib
matplotlib.use('agg')

Also, because we don't have a proper test framework set up, this particular test needs to close the figure when cleaning up so that other they don't contaminate other (future) unit tests.


Move base classes for testing to embulk-junit4 from embulk-core:tests

Some plugins have needed embulk-core:tests in their testCompile dependencies to test the plugins. But, that is not very healthy, nor reasonable.
This pull request moves classes that can be needed from plugin's tests to embulk-junit4 from embulk-core:tests. It became possible after the Guice removal.

Thanks!


Fix for example: Request format is mandatory

The example in Talking-To-Servers.md is missing an mandatory parameter.
Like documented in the example: https://github.com/Day8/re-frame-http-fx#step-2-registration-and-use

Thanks!


up c# syntax, make cli defaults in one style

Updating c# syntax

file scope namespace
arrow method/property body
Making defaults for CommandLineOptions in one style (using attribute parameter Default)

Added .editorconfig. I can also add dotnet format step to CICD

please do add linting in the C# CI - style changes should be accompanied by a linter that will catch such style violations in the future.
Additionally, please rebase over https://github.com/aws/glide-for-redis/pull/904 - this PR introduced new warnings to the code, and by the same rule, I want the CI to catch such warnings.

@Sa1Gur we'd love to know whether you're planning on advancing the C# prototype and move towards a full working wrapper, or whether you were just interested in fixing the existing code.

Yes, I'm planning to advanced C# prototype.


Prometheus annotations are misplaced

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What version of the Traefik's Helm Chart are you using?
10.1.1
What version of Traefik are you using?
2.4.9
What did you do?
Installing v10.1.1 with the default values that should enable Prometheus scraping on port 9100, but since the annotations are misplaced, scraping never happens.
What did you see instead?
The Prometheus annotations are misplaced, they should be placed on pods not on the deployment.
What is your environment & configuration?
Kubernetes Kind
Additional Information
Workaround here: https://github.com/fluxcd/flagger/pull/960

Also reported at https://github.com/traefik/traefik-helm-chart/pull/452#issuecomment-883169697

It's also sort of annoying that Prometheus has been configured in the default values.yaml so even if a user isn't making use of Prometheus it configures Traefik to expose (and collect) the metrics.

It also looks like the metrics port is created in such a way that it is always there whether you want it or not...
https://github.com/traefik/traefik-helm-chart/blob/master/traefik/values.yaml#L298-L311

Indeed, having Prometheus enabled by default in values sounds wrong.
Setting up Prometheus integration used to be doable, just configuring proper annotations (.Values.deployment.podAnnotations, .Values.service.annotations), labels (.Values.deployment.podLabels, .Values.service.labels) and extra arguments (.Values.globalArguments), documentation was clear enough what needed to be done, ...
Not long ago, #415 was reminding us how those ports can not be disabled, once added into the Charts defaults.
Nowadays, in addition to the web / websecure / traefik ports, which we could argue should always be installed: we have a new prometheus port, that can't be removed. Setting .Values.metrics.prometheus=false, you would still end up generating a container with a Prometheus entrypoint and containerPort declared.
And while on that topic, another matter would be whether relying on Prometheus pod discovery is relevant.
IMHO, it only makes sense probing containers that may expose metrics while unready. Otherwise: services/endpoints roles are safer, as they would automatically discard unhealthy pods. Dealing with larger Prometheus deployments, it's going to have an impact on the time required for Prometheus to iterate over all its probes.
If anything, Prometheus integration samples should have been left commented out, giving both pod & service label samples, maybe explaining why use one or the other.

I think the initial issue is fixed now, right?
For @faust64 comments:
Setting up Prometheus integration used to be doable, just configuring proper annotations (.Values.deployment.podAnnotations, .Values.service.annotations), labels (.Values.deployment.podLabels, .Values.service.labels) and extra arguments (.Values.globalArguments), documentation was clear enough what needed to be done, ...

While I agree, we saw that people didn't figure it. So I guess, that's an easy way to enable it now :)
Not long ago, #415 was reminding us how ports from the default values file can not be disabled.
Nowadays, in addition to the web / websecure / traefik ports, which we could argue should always be installed: we have a new prometheus port, that can't be removed. Setting .Values.metrics.prometheus=false, you would still end up generating a container with a Prometheus entrypoint and containerPort declared.

I think, that's a general discussion we will need to take at one point soon :)

The issue has been fixed in the PR #478


NewPDBLimits fails in 1.25+ k8s

If we try to use karpenter-core on k8s 1.25+ we encouter the following problem when a new node is provisioned:
2022-11-24T08:53:42.773Z	ERROR	controller	Reconciler error	{"controller": "inflightchecks", "controllerGroup": "", "controllerKind": "Node", "Node": {"name":"kazoo5-first-db-kazoo5-first-couchdb-kazoodb-9ef87341"}, "namespace": "", "name": "kazoo5-first-db-kazoo5-first-couchdb-kazoodb-9ef87341", "reconcileID": "2720caef-d6e2-4802-88b6-9ef9693a4e7c", "error": "no matches for kind \"PodDisruptionBudget\" in version \"policy/v1beta1\""}

Reason: https://kubernetes.io/blog/2022/04/07/upcoming-changes-in-kubernetes-1-24/#looking-ahead (v1beta1 has been removed)
It looks like the problem is in this place: https://github.com/aws/karpenter-core/blob/23060db5957f34c547dd8d28c8653482fa3a396a/pkg/controllers/deprovisioning/pdblimits.go#L40
Actually it is policyv1 "k8s.io/api/policy/v1beta1"
I would suggest to fetch stable v1 policy first and if there is no such kind, fallback to v1beta1.
Thanks.

See: https://github.com/aws/karpenter/pull/2354


Version 0.6.1 not available in Typst Universe

$ typst c sample-usage.typ
downloading @preview/in-dexter:0.6.1
error: package found, but version 0.6.1 does not exist (latest is 0.5.3)
  ┌─ sample-usage.typ:1:8
  │
1 │ #import "@preview/in-dexter:0.6.1": *

See https://typst.app/universe/package/in-dexter

The upload to the Typst Universe is in preparation. Sorry for taking so long.


Implement the core feature and add some basic tests for it

@huazhikui @xcaptain please review.

Is there any plan providing a more lightweight DI extension method just serve a casbin service without authorization middleware.Casbin
may acts as a pure resource permission storage service for querying resource list user can access. In this scenario, people cares about the permission they have ,not challenging the authorization.Should I open a new issue to describe ?

open a new issue to describe

Please open a new issue and describe it. I'd like to work on it later.

open a new issue to describe

Please open a new issue and describe it. I'd like to work on it later.

ok.

I found my implementation for my asp dotnet 2 project

Create an authentication schame
Create an authorization schema
Create an authorization handler and in this handler can invoke casbin to check permission.

Since this handler is totally writted by user, so no need to worry use a name or a user_id to represent a user.

I found my implementation for my asp dotnet 2 project

Create an authentication schame
Create an authorization schema
Create an authorization handler and in this handler can invoke casbin to check permission.

Since this handler is totally writted by user, so no need to worry use a name or a user_id to represent a user.

The authentication scheme is unnecessary.
I have implemented a similar pattern, I will commit them later.

How about add a NameIdentifierKey in options? By default ,we can define a const string for common usage.

@arthuridea It is supported at the new commit. You can set it at CasbinAuthorizationCoreOptions or CasbinAuthorizationData.

@Sagilio I this project I have 2 authentication scheme, one for the api and one for the admin, I only use casbin for the admin, I think this way is quite convinent :smile:

@xcaptain  Yes, The security part of ASP.NET Core is very flexible and convenient. I will provide some attributes which implement by ICasbinAuthorizationData to use the casbin like this.


rootless: require subids to be present

Most images won't work without multiple ids/gids.  Error out
immediately if there are no multiple ids available.
The error code when the user is not present in /etc/sub{g,u}ids looks
like:
$ bin/podman run --rm -ti alpine echo hello
ERRO[0000] No subuid ranges found for user "gscrivano"
Closes: https://github.com/projectatomic/libpod/issues/1087
Signed-off-by: Giuseppe Scrivano<EMAIL_ADDRESS>

If podman knows that it is running as non root, can it look for the current UID of the user in /etc/subuid and /etc/subgid, and report the problem if they don't exist.
grep dwalsh /etc/subuid || echo "This will not work"

LGTM

If podman knows that it is running as non root, can it look for the current UID of the user in /etc/subuid and /etc/subgid, and report the problem if they don't exist.
grep dwalsh /etc/subuid || echo "This will not work"

yes, this is what we currently do, before we re-exec into the user namespace we retrieve the subuids/subgids for the user.  Before we didn't raise an error to accomodate the CI, but this PR changes it to be an error (something like "ERRO[0000] No subuid ranges found for user "gscrivano"), the env variable that allows a single user to be mapped inside the container is used and should be used only by the CI.

Ok thanks for the explanation.
@rh-atomic-bot r+


WebPackError: ENOENT: no such file or directory /public/.iconstats.json'

I've just installed the gatsby-plugin-favicon but I get this  WebpackError: ENOENT: no such file or directory, open '/home/daniel/Projects/personal_blog/public/.iconstats.json' error when I try to build the project?
module.exports = {
	plugins: [
		{
			resolve: `gatsby-plugin-favicon`,
			options: {
				logo: "./src/images/rev4_cropped.png",

				// WebApp Manifest Configuration
				appName: 'Gatsby site',
				appDescription: null,
				developerName: null,
				developerURL: null,
				dir: 'auto',
				lang: 'en-US',
				background: '#fff',
				theme_color: '#fff',
				display: 'standalone',
				orientation: 'any',
				start_url: '/',
				version: '1.0',

				icons: {
					android: true,
					appleIcon: true,
					appleStartup: true,
					coast: false,
					favicons: true,
					firefox: true,
					opengraph: false,
					twitter: false,
					yandex: false,
					windows: false
				}
			}
		},
		'gatsby-plugin-robots-txt',
		'gatsby-remark-copy-linked-files',
		'gatsby-transformer-sharp',
		'gatsby-plugin-sharp',
		'gatsby-plugin-styled-components',
		{
			resolve: 'gatsby-transformer-remark',
			options: {
				plugins: [
					'gatsby-remark-katex',
					{
						resolve: 'gatsby-remark-images',
						options: {
							maxWidth: 1080
						}
					},
					{
						resolve: 'gatsby-remark-prismjs',
						options: {
							// Class prefix for <pre> tags containing syntax highlighting;
							// defaults to 'language-' (eg <pre class="language-js">).
							// If your site loads Prism into the browser at runtime,
							// (eg for use with libraries like react-live),
							// you may use this to prevent Prism from re-processing syntax.
							// This is an uncommon use-case though;
							// If you're unsure, it's best to use the default value.
							classPrefix: "language-",
							// This is used to allow setting a language for inline code
							// (i.e. single backticks) by creating a separator.
							// This separator is a string and will do no white-space
							// stripping.
							// A suggested value for English speakers is the non-ascii
							// character '›'.
							inlineCodeMarker: null,
							// This lets you set up language aliases.  For example,
							// setting this to '{ sh: "bash" }' will let you use
							// the language "sh" which will highlight using the
							// bash highlighter.
							aliases: {sh: "bash"},
						}
					}
				]
			}
		},
		'gatsby-plugin-react-helmet',
		'gatsby-plugin-sass',
		{
			resolve: 'gatsby-source-filesystem',
			options: {
				path: `${__dirname}/src/pages`,
				name: 'pages'
			}
		},
		{
			resolve: 'gatsby-source-filesystem',
			options: {
				path: `${__dirname}/src/images`,
				name: 'images'
			}
		},
		{
			resolve: 'gatsby-plugin-eslint',
			options: {
				test: /\.js$|\.jsx$/,
				exclude: /(node_modules|cache|public)/,
				options: {
					emitWarning: true,
					failOnError: false
				}
			}
		},
		{
			resolve: `gatsby-plugin-google-analytics`,
			options: {
				trackingId: "UA-xxxxxxxxxxxxxxxxx-2",
				// Puts tracking script in the head instead of the body
				head: true,
				// Setting this parameter is optional
				anonymize: true,
				// Setting this parameter is also optional
				respectDNT: true,
				// Avoids sending pageview hits from custom paths
				exclude: ["/preview/**", "/do-not-track/me/too/"],
			},
		},
		{
			resolve: 'gatsby-plugin-sitemap'
		},
	],

	siteMetadata: {
		author: 'xxxxxxxxxxxxxxxxx',
		title: 'xxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxx',
		name:"google-site-verification",
		content:"Ji_Q-xxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxx",
		siteUrl: "https://xxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxx"
	},
	// pathPrefix: '/personal_blog'
};

I doesn't look like .iconstats.json is in my build dir.
find ./ -name ".iconstats.json"  didn't find anything

So I did a rm -rf .cache/* and rm -rf .public/* and I do still get the same result

Are you using Gatsby v2? The last major version of this plugin is only compatible with Gatsby v2.

Had the same issue, looked at some other Gatsby Projects I had and I went back to 2.1.1 which doesn't have that issue. @julien1619 Do you know which version was the last one for the current (not V2) version of Gatsby?

@julien1619 thanks! That was the issue, I'm currently running version 1.9.277

However I think it would be a good idea to make it clear which version that the plugin works with. It looks like 3.1.1 should work with 1.9.277 (see Runkit+npm).

In fact you should have a warning issued by npm while installing this dependency thanks to the peerDependencies configuration. Do you confirm?

I can, I missed that one sry.

No problem, thank you for the report anyway. I'll check how to quickly improve the information about it.

Simple is good ;)
will the update support v1 ?

@julien1619 how do i use this for the latest gatsby and not the alpha version?

@notaduck In fact another user and my colleague tested it and I'm still having a bug because of the way Gatsby was building things on v1. Can't see for now how to fix it.
@ToJen In your package.json you just have to remove the plugin and add it again at the right version.
npm remove gatsby-plugin-favicon
npm install<EMAIL_ADDRESS>--save


Does this work with Jazzy??

Does this work with Jazzy??
If not what needs to be changed to get it working?

Anyone???

I think it doesn't :(

See my response for getting this working with Iron for ideas on required changes: https://github.com/tiiuae/rclgo/issues/24

There is a fork of this that works on Jazzy.  https://github.com/PolibaX/rclgo Could do a diff.  I actually had to backport this to Humble as I cant run jazzy yes on my laptop since jazzy requires 24.04 and I'm on PopOS 22.04.  But I got that working as well.  Maybe we can do a PR to sync them all?


One more down

<!-- Make sure you have read http://napalm.readthedocs.io/en/latest/contributing/index.html --!>

Closes #34
Closes #33
Closes #27
Closes #19

Coverage decreased (-0.2%) to 90.726% when pulling 7ed54b61c0449017fc0b6e0d900428be8138b884 on mirceaulinic:TSTFW-PY3-TOX into 70cc1d871c24e7e596b048400f9a13c412f281ef on napalm-automation:develop.

Coverage decreased (-0.2%) to 90.726% when pulling 7ed54b61c0449017fc0b6e0d900428be8138b884 on mirceaulinic:TSTFW-PY3-TOX into 70cc1d871c24e7e596b048400f9a13c412f281ef on napalm-automation:develop.

We must be very careful with this one... it might break the environment of many users :D

Coverage decreased (-0.2%) to 90.726% when pulling 990178fa737f607a03f3b78507866eb4b0bdcab2 on mirceaulinic:TSTFW-PY3-TOX into 70cc1d871c24e7e596b048400f9a13c412f281ef on napalm-automation:develop.


Stuck at thinking

After using it for a while the bot stuck at thinking, and i can't use it anymore until i restart the bot , I'm using it on a vps

And this error everttime the bot send a msg.
https://pastebin.com/GJeQSjWr

Maybe your token is invalid, you can use /token new_token to replace the token.

It is also possible that your account is invalid, please go to the web version to confirm. Because this usage is not legal, it can easily lead to being banned.

The account is still working, the bot will work normally after I restart

poe-poe-bot-e20be64b-05b0-4edc-91bb-ca3a2450a6af.txt

Seems to be caused by ws randomly failing without an effective reconnection mechanism. I can try to fix it later.

I added a command to /reconnect so the conversation can continue.

I added a command to /reconnect so the conversation can continue.

can add all bot commands in readme.md file please and update the repo its so useful as we connot get gpt4 api through open ai but we can use it through poe its a lot easier and about multi user support for bot ?

can add update the repo as many users cannot get gpt4 api through open ai but we can use it through poe its a lot easier beacuse of your bot ?
Amazing work !!

POE free users can only use GPT4 once a day, you can use /models to get the ID of GPT4 bot. then use /model bot_name to switch.


[WIP] Icinga2 integration

Icinga2
Status

new pack, work in progress.

Description
This is a new pack, based upon https://github.com/StackStorm/st2contrib/pull/469. Have taken it over, and starting by fixing the linting issues
Checklist (tick everything that applies)

[X] Metadata: pack.yaml, icon, structure (required for new packs)
[ ] Code linting (required, can be done after the PR checks)
[ ] Tests (not required but really recommended)

Note - as per the comments on #469, this should be switched over to use requests. But goal for now is to get tests passing, so it can be merged, and then later improved.

https://stackstorm.slack.com/archives/community/p1472529654000067

All tests pass, and have updated README to include notes that this should be changed to use requests.
Let's get it into master so others can see


modify Robot interface to return RobotInterface

Modify Robot interface to return RobotInterface to allow for method chaining. RobotInterface methods return RobotInterface and Robot class methods return Robot.

Project does not compile without updating examples/Driver.java and examples/DriverKt, since these two classes must be updated to comply with the changes in RobotInterface. For Driver.java, make following changes everywhere
    @Override
    public Driver addKeyboardAdapter(KeyboardAdapter adapter) {
        robot.addKeyboardAdapter(adapter);
        return this;
    }

For Driver.kt
    override fun setRandomPenColor(): DriverKt {
        val shade = 5 * Random().nextInt(50)
        robot.setPenColor(shade, shade, shade)
        return this
    }

This will let the code compile, but I'm not sure the chaining will work as intended.

Suggestion: Add a new example or update the existing ones to show how chaining works.

Make sure that the doc strings in RobotInterface are updated to refelct your changes. Regenerate the javadoc. Regenerate the jar file and make sure to include the source code and the javadoc in the jar.


Support for custom Cargo profiles, #2

This allows creating custom profiles that inherit from other profiles.
For example, one can have a release-lto profile that looks like this:
[profile.custom.release-lto]
inherits = "release"
lto = true

The profile name will also carry itself into the output directory name
so that the different build outputs can be cached independently from
one another.
So in effect, at the target directory, a name will be created for
the new profile, in addition to the 'debug' and 'release' builds:
    $ cargo build --profile release-lto
    $ ls -l target
    debug release release-lto

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

This is my working version for supporting custom profiles in Cargo, implementing https://github.com/rust-lang/cargo/issues/2007 . It is revamps from 10 months ago for the current version of Cargo. My previous PR was https://github.com/rust-lang/cargo/pull/5326 .
I saw that "workflows" are still unstable, and people are asking for a custom profile solution. For instance - https://github.com/tikv/tikv/issues/4189 . The previous PR was more complete in terms of coverage over the various Cargo commands, documentation and more, and I can revamp that as well if needed.

:umbrella: The latest upstream changes (presumably #6687) made this pull request unmergeable. Please resolve the merge conflicts.

Thanks for the PR! I've flagged this to be discussed during our weekly meeting later today.

Hey sorry for the late reply, but we did indeed discuss this last week and the conclusion is that we're not quite ready to merge this yet. While this has had some design discussion we felt that there's still enough open questions that we'd prefer for a design discussion ahead of a PR. This is a large enough feature that we felt and RFC was an appropriate venue for designing this in particular.
Thanks regardless for the PR though! I'm gonna go ahead and close this but if you've got any questions don't hesitate to ask

Internals forum Pre-RFC.


[BUG] No CPU / Memory metrics available for k3s based imported cluster

Rancher Server Setup

Rancher version: 2.8.3
Installation option (Docker install/Helm Chart):

Helm Chart
Cluster:1.26.14-gke.1133000

Proxy/Cert Details:

Information about the Cluster

Kubernetes version: k3s v1.27.11+k3s1
Cluster Type (Local/Downstream): Downstream, Imported.

User Information

What is the role of the user logged in? Cluster Owner

Describe the bug
There is no data for CPU and Memory usage chart in grafana for namespace scoped compute resource such as "General / Kubernetes / Compute Resources / Namespace (Pods)"
To Reproduce

Setup downstream cluster:

Option 1: Use the following command on Ubuntu 22.04 LTSsudo /usr/local/bin/k3s-uninstall.sh; curl -sfL https://get.k3s.io/ | INSTALL_K3S_VERSION="v1.27.11+k3s1" sh -s - --write-kubeconfig-mode=644 --kubelet-arg=cgroup-driver=systemd --kube-apiserver-arg=service-node-port-range=1-60000 --disable=traefik,servicelb --docker --resolv-conf=/run/systemd/resolve/resolv.conf

Option 2: Use Rancher Desktop, select k3s version v1.27.11+k3s1

Import the downstream cluster to Rancher
In Rancher dashboard, open the cluster explorer for the new cluster
Go to Cluster Tools, click "Install" on Monitoring

Select version: 103.0.4+up45.31.1, click Next. Leaving Install into Project empty.
Edit Options as:

Leave as default in General

Enable Persistent Storage for Prometheus

Leave Alerting as default

Enable Grafana Storage using PVC Template

Click Install

Once installed, reload the dashboard, we can already see the cluster level CPU, Memory and network metrics.

Goes into Grafana, check Graph: General / Rancher / Cluster (Nodes), same result.

But if we goes to Namespace scoped computing resources, no usage data is showed:

General / Kubernetes / Compute Resources / Namespace (Pods)

General / Kubernetes / Compute Resources / Namespace (Workloads)

Result
Realtime CPU / Memory usage data was not available for pods / workloads by default after installing monitoring tools
Expected Result

Realtime CPU / Memory usage data should be available for pods / workloads by default after installing monitoring tools
Screenshots

Additional context

We have confirmed this is a bug. We will prioritize it appropriately.

Any update on this? We are having the same issue.


Added babel present & npm start command

So it is easier to try the example..

Thanks for the PR! I know that npm start is a node convention but as far as I can tell, there is no benefit in the babel upgrade right now. If you'd like, feel free to move babel-node server.js into the start command.  Then this pull request is pointless, is it me that has to remove it?

I'm still open to moving babel-node server.js into start, so feel free to do so. Alternatively, you should be able to close the PR with the "Close pull request" button, but if that's not there, let me know and I'll close it out.

Okay, then I have updatet the start command and removed babel 6 presets

LGTM, thanks!


The import component does not allow to import GPX

GPX file import works using drag'n'drop but not using the import dialog.

could be solved after https://github.com/kalisio/kdk/issues/483

fix with https://github.com/kalisio/kdk/issues/483


Sprint Backlog 4 and Sprint Retrospective 3

I've added the sprint documents. Please lemme know if there is something missing.
(I cannot get rid of the green color and I don't know who fill the cell with green ಠ_ಠ )

It looks good, just as we discussed during the meeting, green? Doesn't it look nice?

I didn't know if it was on purpose or not.

Nope, element of surprise there, :P

Since you guys don't like the green, no taste of art.... I had to remove it. :disappointed:

I liked the green tbh, adds some colour to a world so drab elseways.

"There is no reason not to follow your heart" - Steve job
Ziet er goed uit zoals besproken dus ik merge


Conditional breakpoints for numba-dpex doesn't work

The following breakpoint is expected to stop when param_a == 5:
(gdb) b side-by-side.py:17 if param_a==5
No source file named side-by-side.py.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (side-by-side.py:17 if param_a==5) pending.
(gdb) r side-by-side.py --api=numba-ndpx-kernel

But the code doesn't stop for numba-dpex at at the breakpoint as expected. This works for --api=numba.

read: https://github.com/IntelPython/numba-dpex/issues/1232


flip equation

https://github.com/nexlabs22/Nex-Dex-Contracts/blob/c7b8a4164694afa61cabd8f3e642e94c8fc30a5e/contracts/Exchange.sol#L845
Again here probably flip the equation $ per APE = dollar amount / APE amount.

This is another occurence:
Line 932:    uint256 currentPrice = vBaycPoolSize / vUsdPoolSize;
can you also change all indexPrice -> currentPrice
for consistency of function names

https://github.com/nexlabs22/Nex-Dex-Contracts/blob/5bcffba4faa11376b4b01c2875af207113015b6c/contracts/Exchange.sol#L862

nice, I see you also did
SafeERC20.safeTransfer(IERC20...


[Fabric] Add DetailsList, GroupItem, and MarqueeSelection components (#37)

[Fabric] Add DetailsList, GroupItem, and MarqueeSelection components (#37)
Also created changeable-item and changeable-items for ease of adding directives in the future

@xjerwa Approved. Feel free to merge whenever.


Revert "Remove requirement to run action on Linux only"

@bot-gradle test and merge

I've triggered a build for you.


Launch discomode will have such error

2022-12-09T08:05:27.019899982Z requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2022-12-09T08:06:27.019404037Z DEBUG:root:Check message
2022-12-09T08:06:27.029302869Z DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): discomode.io:443
2022-12-09T08:06:27.486941277Z DEBUG:urllib3.connectionpool:https://discomode.io:443 "GET /api/msg?id=<DEVICE_EUI> HTTP/1.1" 200 0
2022-12-09T08:06:27.497808759Z ERROR:root:disco_id not found
I configure disco_id as device EUI I applied in Helium Console, is it a right configuration?

The public backend was shut down with heroku in November sorry


Beginnings of s3 support

@sgillies Here's the beginnings of some progress on #425.  You can open a Collection with vsi=http or vsi=zip+http and it all works.  I'm pointing at remote files in gdal's SVN repo in the couple of tests I added, not totally sure how you want to handle tests that live off the machine, particularly when I get to the S3 stuff.
Before I started, I made the test I wrote in #423 conform to the fixture style used in master (1st commit) and I had a test that was failing for me that I fixed (2nd commit).
Let me know what you think and I'll continue chipping away.

My http tests are failing because travis is sandboxing the http calls, not quite sure what to do about it.  I tried serving it locally via the pytest-localhttp plugin,
def test_open_zip_http_local(httpserver, bytes_coutwildrnp_zip):
    httpserver.serve_content(bytes_coutwildrnp_zip)
    ds = fiona.open('zip+' + httpserver.url)

but no luck getting that to read, even from ogr.

@youngpm I tried fio info zip+http://svn.osgeo.org/gdal/trunk/autotest/ogr/data/poly.zip and got a result that looks great. This file is smaller than the VSI chunk size, however, and doesn't demonstrate any benefits other than not writing to disk. I've uploaded Fiona's coutwildrnp.zip to the Mapbox bucket and you're welcome to use that. If you do
CPL_CURL_VERBOSE=1 fio info zip+https://s3.amazonaws.com/mapbox/rasterio/coutwildrnp.zip
You'll see that it makes 6 partial GET requests for a total of 88470 bytes, about half of the zip file's total bytes.
I'll give the code a closer look now.

@youngpm your changes look good to me. I don't see anything I'd do differently.

@sgillies Thanks!  I was thinking of the sandboxing because I am seeing this in Travis,
fiona.errors.FionaValueError: No dataset found at path '/vsizip/vsicurl/http://svn.osgeo.org/gdal/trunk/autotest/ogr/data/poly.zip' using drivers: *

which works locally for both of us.  I'll take a closer look at what rasterio is doing!  Should have time this week to keep at it, excited to get this in there!

@sgillies The latest commit should let you do
fio info s3://your-bucket/your-key

It was surprisingly easy to enable this!  I haven't put any tests in around this yet.
In rasterio, the env stuff is doing a lot more, I just subclassed GDALEnv, and I did it in sort of a weird place.  Do you want to expose all the aws overrides like in rasterio?  I personally like forcing folks to pull it from envvars/iam roles/creds file rather than directly specifying it to avoid credentials accidentally getting committed.  Let me know what you think.

Sorry I've been out most of the week, but should have time to refine this weekend.

This would be a great addition to Fiona! :clap: cc @slava-kerner @luciotorre

@youngpm I'm making a plan for the 1.8.0 release and would love to get this in. Any chance you could resolve the conflict above?

@sgillies yeah I'll get on it today :)

@sgillies I think this is ready, but the test failures in Travis are confusing me.  The network tests work fine for me locally but are failing in Travis.  The appveyor ones are even weirder, not sure whats going on there.  Any thoughts?

@sgillies could it be that gdal isn't being built with curl?
https://github.com/Toblerity/Fiona/blob/master/scripts/travis_gdal_install.sh#L35

@youngpm I'll take a close look at the build on Travis tomorrow.

@youngpm we've got a sufficient GDAL build, the only problem is that we'd cached an insufficient build and that was getting picked. Once I deleted Travis's master branch, all the curl tests pass.

Nice work!
$ fio cat zip+s3://mapbox/rasterio/coutwildrnp.zip | fio collect | geojsonio

@sgillies thanks for the review!  I'll clean this up tonight!

Coverage increased (+0.6%) to 76.489% when pulling f121726685486f58f4dce267b6edb67ecbd6fa0f on youngpm:s3-support into add77511751976ad45373068d6cd6ba0ddda9650 on Toblerity:master.


Asc patch 11

First part of incorporating *Def classes

Fixed x-extensbile-enum
GenderDef is only used twice, thus I'd argue that's acceptable


Package request: passageExtensions.passage-otp

Project description
It's the exact same thing as pass-opt, except instead of storing the extension file in /usr/lib/password-store/extensions it shall be passage where password-store originally is.
Metadata

homepage URL: https://github.com/tadfisher/pass-otp
source URL: https://github.com/tadfisher/pass-otp
license: GPL3
platforms: unix

Noticed the script would need modifications to work, so closing.


Update search index with deleted properties

Coverage increased (+0.0004%) to 95.136% when pulling 4c11401d683e8c120d9673eecd9fb21cb57208b0 on cody-deleted-properties into e100bcb059e343c90d7cf8f8046592d44440d396 on main.


Update android player to 3.41.0

Automated android player version update to 3.41.0

The version of the android player contains the bitmovin analytics directly. Before merging the upgrade, we also have to align the analytics integration.


Question about Matrix.setTransform

As far as i know, pic shear use matrix like below:
1                    tan(skewX)
tan(skewY)                   1
but at Matrix.setTransform() like this
this.a = Math.cos(rotation + skewY) * scaleX;
I can't find any about 'tan(skewY)'.

We ignore scale first , apply skew and rotation , we can get value like below：
                          1               tan(sx)
                          tan(sy)     1
cos(r)  -sin(r)    cos(r)-sin(r)*tan(sy)    cos(r)*tan(sx)-sin(r)
sin(r)   cos(r)     sin(r)+tan(sy)*cos(r)   tan(sx)*sin(r)+cos(r)

then , apply scale , this.a like below
this.a=(cos(r)-sin(r)*tan(sy))*scaleX
compare with pixi.js code
(cos(r)-sin(r)*tan(sy))*scalX  and cos(r+sy)*scaleX
at the same time to cut scaleX
the left multiply cos(sy)
cos(r)*cos(sy)-sin(r)*sin(sy)===cos(r+sy)
but, why multiply cos(sy)?


test_pathdreamer.py does not work

https://github.com/google-research/pathdreamer/blob/dc607faf3a6d3011ddd2e4723d53122235774167/test_pathdreamer.py#L15
Running the "test_pathdreamer.py" gets the following result. How to get through this?
ModuleNotFoundError: No module named 'pathdreamer'

I made a mistake on adding the Pathdreamer library to PYTHONPATH. Now it is fixed.


chore(main): release 0.40.0

:robot: I have created a release beep boop
0.40.0 (2024-12-31)
Features

Add additional snippets (3dda6ce)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.40.0
:sunflower:


MqttServerConnectionValidator incorrect to handling of the ReasonCode

Describe the bug
When the username and password are verified, clientA{clientId:id001,username:user001}has been connected and subscribed successfully, and then clientB {clientId: id001, username: someErrorUsername} request connection is rejected by NotAuthorized ReasonCode, but the subscription of clientA is affected, and clientA can no longer receive any messages.
Which project is your bug related to?

MQTTnet.AspNetCore v3.08

To Reproduce
Steps to reproduce the behavior:

clientA connnect
clientB with the same id but an error username or paaword to connnect
rejecte clientB  by NotAuthorized ReasonCode,
query clientStatus by IMqttServer.GetClientStatusAsync
0 client found in the server, but the clientA has a tcp connection with the server

Expected behavior
clientA is not affected

I'm not sure if this is a bug. In my understanding, both clients should be disconnected if another client with the same client id connects. What's your opinion on this @chkr1011 @JanEggers?

In some scenarios, the clientId is self increasing, and the validation rules depend on username and password. Other clientIds can be inferred based on the existing clientId ..

In some scenarios, the clientId is self increasing, and the validation rules depend on username and password.

Sure, but where's the problem? The client id should be unique in this scenario, I would say?

Other clientIds can be inferred based on the existing clientId ..

What do you mean by that exactly? Do you have a concrete example?
I'm not really sure if it's possible to distinguish clients if their client id is the same... This is a question for someone else...

The problem is that when you guess someone else's client id without knowing its account and password, you can make this client Id inoperative

The problem is that when you guess someone else's client id without knowing its username and password, you can make this client Id inoperative

Good point. That's true...


Backport: UI unable to launch project level app with custom rancher versions

https://github.com/rancher/rancher/issues/21008

Backend issue: https://github.com/rancher/rancher/issues/20629
Backend PR: https://github.com/rancher/rancher/pull/21408

Closing as the backend issue was closed as not going to implement for 2.2.x.


Update questions.rst

sidebar on the right

Coverage remained the same at 82.13% when pulling e4844156c94bd749ded1e61f4acc51817f61ceae on skelligan:patch-5 into 1d9ad735ff0d7aa7123c5a7261183c872624d3eb on rdmorganiser:master.

Thanks!


crashkernel= in the RHEL-9.4 Azure image

Description of problem:
"crashkernel=" value is empty in the Azure RHEL-9.4 image(rhel-azure-9.4-xxx.vhd.xz)
Version-Release number of selected components (if applicable):
RHEL-9.4 Azure image(built by image builder team)
How reproducible:
100%
Steps to Reproduce:
1 Download the image in the description and check the kernel parameters
# virt-customize --run-command "grubby --info=ALL >/tmp/1" -a rhel-azure-9.4-xxx.x86_64.vhd
# virt-cat -a rhel-azure-9.4-xxx.x86_64.vhd /tmp/1

Actual results:
args="ro console=tty1 console=ttyS0 earlyprintk=ttyS0 rootdelay=300 crashkernel= $tuned_params"...
Expected results:
crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M
Additional info:

Have the same issue in RHEL-9.4 aarch64 image
No such issue in RHEL-8.10 images

According to commit eb36b86161c23b435e2c6694b9a8f810a35a9a0e crashkernel is now set by kexec-tools, and I do not see any code in osbuild-composer, images, or osbuild that sets it.

Thanks @bcl ! I just checked the latest RHEL-9.4 image and this issue is fixed. Close it now.


New terms: POLR3B- and POLR1C-related disorder

Closes #8102
Closes #8103

also updated incorrect SC annotation for MONDO:0013722

Note: I did not assert the SC parentage, instead I relied on reasoner.

@sabrinatoro I ran into issues sorting out the merge conflict. I can either re-do this PR but prefer to sort out if your process can fix this so I can switch to that in the future.


Some typos in the Slowly Changing Dimension topic.

12 months in the code, but variable name is sixmonths, name of tables don't seem to match different parts of the text and code.

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

ID: 16923b34-9fbb-86a2-071d-c4fa47e639ff
Version Independent ID: 83127f7a-a6cd-0b63-a723-ee72f7511a6a
Content: Temporal Table Usage Scenarios - SQL Server
Content Source: docs/relational-databases/tables/temporal-table-usage-scenarios.md
Service: sql
Sub-service: table-view-index
GitHub Login: @rwestMSFT
Microsoft Alias: randolphwest

@mbarbieri77 Thank you for your feedback. I would encourage you to submit a pull request to make the changes, as it is likely to get fixed sooner that way.

@mbarbieri77 -- Marcelo, thank you for finding these discrepancies.  A very effective option that many customers like is to edit our documentation directly through a Pull Request (PR), instead of describing the fix in an Issue. If you are ever interested, you can click the Edit pencil icon at the top-right on the article's webpage, and then click the pencil icon on the GitHub webpage.
@rwestMSFT -- Randoph, thank you for your suggestion.
I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.