[Feature Request]: Multimodal Orchestration

Is your feature request related to a problem? Please describe.
Integrating multimodal and language-only agents presents significant challenges, as few tools currently support seamless inter-agent communication. For example, when one agent generates an image (through DALLE or code-based figure creation), a separate GPT-3 agent may encounter difficulties interpreting the visual content, leading to errors or simplifications like converting images into a <image> tag.
To ensure smooth operation, users must carefully design the agent workflow to avoid unexpected issues, such as the Plot-Critic scenarios in both the GPT-4V and DALLE notebook. Hence, group chat, graph chat, nested chat, sequential chat, or many other pre-designed workflows could not work out-of-the-box for multimodal features.
Our goal is to enable seamless interaction between multimodal and text-only agents, making it possible to include them in conversational agents regardless of their connection to multimodal models (llm_config).
Currently, the MultimodalConversableAgent specifically processes input message content to interpret images and format messages prior to client communication. However, this approach can complicate orchestration with other agents. For instance, the GroupChatManager lacks visual processing capabilities and thus cannot properly distribute tasks, or a Coder agent fails to read image and could not write matplotlib code.
The problem becomes more severe if we enable image generation, audio, OCR, and video (in the future).

Describe the solution you'd like
We suggest two major changes, categorized by their focus on accuracy and efficiency. Then, we have a few future changes to image generation, audio processing, and OCR capabilities.
Major Update 1: Full Vision Support inside Client

User Experience: Users simply include their multimodal API information in the config_list. No other code change needed.
Description: We aim to provide multimodal capabilities across all agents, allowing them to access visual content in conversation histories without data loss.
Implementation: Transferring the multimodal message processing feature from the "MultimodalConversableAgent" to the class OpenAIWrapper.  This involves adapting messages to a multimodal format based on the configuration.
Runtime Cost: $O(n) * Cost_{mm}$, where $n$ is the length of a conversation.
Limitation: As of now, GPT-4V's processing speed is significantly lower compared to GPT-4's, impacting efficiency if multimodal processing is overutilized.

Major Update 2: Efficient Vision Capability [ PR #1926 ]

User Experience: By integrating the "VisionCapability", agents can now transcribe images through text captions, requiring only a single line of code per agent.
Description: When the vision capability sees an image, it will transcribe the image into caption and answers related to the image.
Implementation: as in the PR, a hook to process_last_received_message is added to check if an image exists.
Runtime Cost: $O(m) * Cost_{mm} + O(n) * Cost_{lm}$, where $n$ is the length of the conversation and $m$ is the number of images (aka, multimodal inputs).
Limitation: This approach may result in the loss of detailed image information.

Why two different ways to enable the "vision" feature? Answer: We propose two distinct approaches for enabling "vision" to satisfy different requirements. The [Update 1], offering comprehensive multimodal support, allows all agents within a workflow to use multimodal client, ensuring no information loss but at a higher computational cost. The [Update 2], focusing on efficient vision capability, transcribes images into text captions, enabling broader application with text-only models at reduced costs but with potential information loss. This dual strategy provides flexibility, allowing users to choose the optimal balance between accuracy and efficiency based on their specific needs and resources.

Update 3: Image Generation Capability [ PR #1907 ]

User Experience: Agents can gain the ability to generate images with the "Image Generation Capability".
Description: this capability will process each received message, then allows agent to call DALLE or other image generation API to generate images.
Implementation: this capability will invoke text analyzer to decide should image be generated or not; if yes, it will rewrite the prompt and then call image generation API to generate images.
Runtime Cost: $O(m) * (Cost_{mm} + Cost_{mm}) + 2 * O(n) * Cost_{lm}$, where $n$ is the length of the conversation and $m$ is the number of images generated. Note that we have $2 *$ in the front because all messages will go through text analyzer.
Limitation: if an agent, with image generation capability enabled, does not generate images very often in its conversation, the API calls made in the text analyzer would be costly.

Update 4: Audio Capabilities

User Experience: Introducing "Audio Capability" allows agents to process and generate audio content, enhancing interaction with users.
Description: This feature adds capabilities for speech-to-text and text-to-speech conversions (e.g., with Whisper and TTS ).
Runtime Cost: $O(n) * Cost_{mm}$
Implementation: For audio inputs, convert to text using specific tags "" and activate Whisper for transcription from process_last_received_message. For outputs, integrate text-to-speech functionalities within process_message_before_send.
Limitation: connecting to user's input and output device (mic and speaker) might be hard and error prone for different operation systems.

Update 5: OCR capability

User perspective: when creating the “Vision Capability” mentioned above, user can setup the parameter perform_OCR=True or perform_OCR=’auto’
Description: GPT-4V, even as the state-of-the-art multimodal model, still struggles to recognize text in images. So, adding this capability to invoke a Python package to extract text could help LLM’s or LMM’s to improve Q&A accuracy.
Implementation Details: using tools in Adam’s AgentBench and GAIA branch to perform OCR.
Runtime Cost: 0 for API calls, $O(m)$ for OCR calls.
Implmentation: perform OCR directly in Vision Capability.
Limitation: invoking OCR functions may cause latency or runtime errors in different operation systems.

Additional context
@schauppi created an useful MM WebAgent for AutoGen.
Many other contributors also have great insights, and please feel free to comment below.

Limitation: if the agent does not generate images very often in its conversation, the API calls made in the text analyzer would be costly.

Just to verify, the text analyzer won't exist, and this cost won't be paid, unless the image generation capability is actually added to the agent.

Implementation: Transferring the multimodal message processing feature from the "MultimodalConversableAgent" to the class OpenAIWrapper. This involves adapting messages to a multimodal format based on the configuration.

IIRC, if you send a message that has content of images to an LLM that doesn't support image ingestion, the API request will fail (for OpenAI at least). So in the implementation, OpenAIWrapper must be aware of what modalities it can accept to generate the right message to send.
Each Agent could have a property where it lists out all the modalities it can accept, and must be mutable (in case we add custom capabilities).
class Agent(Protocol)
	@property
	def modalities(self) -> List[str]:
		"""The modalities the LLM can accept/understand etc.."""
   		...

	def add_modality(self, modal: str) -> None:
 		...

class ConversableAgent(LLMAgent):
	def __init__(self, ...):
		...
		self._modalities = ["text"]

	@property
	def modalities(self) -> List[str]:
		return self._modalities

	def add_modality(self, modal: str) -> None:
		self._modalities.append(modal)

However, this is a breaking change because the ModelClient interface now has to accept the list of modalities as an input to the create method
class ModelClient(Protocol):
	...
	def create(self, params: Dict[str, Any], modalities: List[str]) ->  ModelClientResponseProtocol:
	    ...

Probably there are better ways out there, but this is what I thought about doing recently

@WaelKarkoub  Thanks for your suggestions! Very helpful~
I am thinking about adding it to the Client, with some parameters in config_list. Let me try to create a PR and will tag you!!!

Feel free to give any suggestions!
@tomorrmato @deerleo @Josephrp @antoan @ViperVille007 @scortLi @ibishara

@awssenera

Come on Autogen we can't let Crew ai or Lang chain take over. Lets use chain of thought. We started this multi agent ish and this is the thanks we get. Lets go Full desktop full futuristic GUI Application call it "Autogen Studio X" created for advanced Genx users Lets stop playing around at the backdoor and just drop through the roof with this multi conversational, multi modal agent to agent invasion... Give the people what they want. "Slay the Sequence"

see 0.4 architecture


HA - Automatic Failover

Hi! First of all, thanks for the proxy, it has been really helpful :)
I'm in need of a decent solution for automatic failover and already stated that twemproxy doesn't support it. Any thoughts or ideas on it?
I was thinking on a external process that would leverage the use o redis-sentinel and on a master-switch event updates the IP address on nutcracker.conf and restarts the service.

Hi, I am stuck with same issue. I have 2 different redis cluster with master slave slave and sentinel is handling failover. I redis twemproxy agent is working fine with when I give single sentinl ip in cli.js
How can I handle failover for two cluster?

hi, all, try https://github.com/idning/redis-mgr please

What happened with that? I'm getting page not found.


Support JWT authentication for Metrics API scaler

Use-Case
Support JWT authentication for Metrics API scaler.
Reference
https://github.com/kedacore/keda/issues/929

Hello, I'd like to work on this ticket

@aman-bansal is this ticker still open? Don't we support JWT in #1137?

No, #1137 supports basic, apikKey and tls. This hasn't been implemented yet.

Thanks, I'll work on it!

Which is the state of this?
If you have abandoned it, I could continue from my side :)

@JorTurFer that's great! I think that you can work on that, thanks :)

I'm taking a look to this and I have some doubts :/
Is it not supported yet? I mean, it's already supported the use of API-KEY and the jwt token could be a specific config using it I think:
- type: metrics-api
  metadata:
    targetValue: "7"
    url: "http://api:3232/components/stats"
    valueLocation: 'components.worker.tasks'
    authMode: "apiKey"
    method: "header"
    keyParamName: "Authorization"
    apiKey: "bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjEiLCJuYW1lIjoiVGVzdCIsInN1cm5hbWUiOiJVc2VyIiwibmJmIjoxNjI4NjI5OTM3LCJleHAiOjE2MjkyMzQ3MzcsImlhdCI6MTYyODYyOTkzN30.mDLtQdEhK6Zj1kStKSQ_6BoI2cvtnTUBQ44P6Ic4dBY"

I have to try it tomorrow (today I have created the server authorized with jwt to test it) but I think that it will work without any change. Maybe it's more a solution that we can document than a problem which requires changes
WDYT? Maybe am I missing anything?

I have just tried and it works fine
This is the config that I used:
apiVersion: apps/v1
kind: Deployment
metadata:
  name: sut-deployment
  labels:
    deploy: workload-sut
spec:
  replicas: 0
  selector:
    matchLabels:
      pod: workload-sut
  template:
    metadata:
      labels:
        pod: workload-sut
    spec:
      containers:
        - name: nginx
          image: 'nginx'
---
apiVersion: v1
kind: Secret
metadata:
  name: keda-metric-api-secret
stringData:
  apiKey: "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Im5PbzNaRHJPRFhFSzFqS1doWHNsSFJfS1hFZyJ9.eyJhdWQiOiJmZTgzMTFkNS0xMTcwLTQwNDEtOWRlNy0wZjU0MzYwYWVhZTUiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vNmE0NWU4MTUtZWM5ZS00NTE1LTk2YTQtZmRlN2NkMDRiMzRjL3YyLjAiLCJpYXQiOjE2Mjg2MzgzNTEsIm5iZiI6MTYyODYzODM1MSwiZXhwIjoxNjI4NjQyMjUxLCJhaW8iOiJBVFFBeS84VEFBQUEvSG9uc1poZVZhNmtGWVlVd3lkWGZzNnhMbzkyUnh1djV5Qi9Ick9tSTljUEgzazlUYmdMV2JvbE96QlRISUpPIiwiYXpwIjoiZmU4MzExZDUtMTE3MC00MDQxLTlkZTctMGY1NDM2MGFlYWU1IiwiYXpwYWNyIjoiMCIsIm5hbWUiOiJqd3QiLCJvaWQiOiIwMzRhNjdmNS0yNTgxLTRjOWYtODA4ZS1lMDc1NzlhMTE1MmEiLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJqd3RAZGV2cGxhaW4ub25taWNyb3NvZnQuY29tIiwicmgiOiIwLkFWOEFGZWhGYXA3c0ZVV1dwUDNuelFTelROVVJnXzV3RVVGQW5lY1BWRFlLNnVWZkFIUS4iLCJzY3AiOiJSZWFkV3JpdGVBY2Nlc3MiLCJzdWIiOiJ4Zk9jT1dBNFVmSHdfcmIwaktOb0hqZ3d2WllkVG5yTFhNN2tPMWhRY29FIiwidGlkIjoiNmE0NWU4MTUtZWM5ZS00NTE1LTk2YTQtZmRlN2NkMDRiMzRjIiwidXRpIjoiZFc4YmhZeTlaMGVuWFlDS1JQNVdBZyIsInZlciI6IjIuMCJ9.EVB_UEUcRt0sdLjnTgp8oS2AsUT6zWH6B3WNvnt3TEKf-5w7sDFuKo9l9WCqch0_PMzLY2KWSe8K2MoUipf3posBewKvNFxAm4vESznIUHa7Y7NY_LLB_wYhcatYr79W7IkEyLGxMH5L7pKifNRahX4a4X9ujVQX3V1E8dmOohrEqy1gzvLo-H1nFI-7EZ2X6lcMIIr5102wQbQFqO0U3vN6ugBR1NNbZ_S7NbbxqdNT4vusBBcuGipUYVAwjeYWdFerx71oGWp4o8hWdaYK1cFmVxW-jEd1XN1gieizWCVvQd26zQy7cqr30KFWayMgqNV7rNxOXg7NECE92YzP2Q"
---
apiVersion: keda.sh/v1alpha1
kind: TriggerAuthentication
metadata:
  name: keda-metric-api-creds
spec:
  secretTargetRef:
    - parameter: apiKey
      name: keda-metric-api-secret
      key: apiKey
---
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
  name: sut-scaledobject
spec:
  scaleTargetRef:
    name: sut-deployment
  minReplicaCount: 0
  maxReplicaCount: 10
  triggers:
  - type: metrics-api
    metadata:
      targetValue: "7"
      url: "https://jwt.fixedbuffer.com/WeatherForecast"
      valueLocation: 'temperatureC'
      authMode: "apiKey"
      method: "header"
      keyParamName: "Authorization"
    authenticationRef:
      name: keda-metric-api-creds

I think that update the documentation to explain it explicitly could be enough

Hmm, sorry for confusion. @aman-bansal could you please confirm?

This is more of a user-friendly thingy imo - JWT will always use Authorization header and choosing apiKey authentication while it's JWT instead is fairly confusing imo.
I think a dedicated authMode that uses the fixed Authorization header would be a nice addition.

so it's a more cosmetic change that a real feature gap, right?
I feel that if we have a specific mode, it could be more user-friendly (probably some users don't know that JWT is a specific case of apiKey). I have asked only to be at same page
I will do it ASAP if you agree

Maybe can this ticket be closed? :P


Circular dependency

I used Rollup to bundle the lit-html.js output into a single file, and it warned of a circular dependency:
$ rollup lit-html.js --file lit-html-bundle.js --format esm
(!) Circular dependency: lib/template-result.js -> lib/template-processor.js -> lib/parts.js -> lib/template-result.js

This is a consequence of splitting up the codebase into multiple files. It's not a problem, everything still works as intended. The way to get rid of this warning is to have the whole library defined in a single file which is not beneficial for maintenance.

Circular dependencies are fine in JS modules. I'm not sure why Rollup warns by default, but it's fairly easy to turn off. See the Rollup config in this repo.


Fixed audio on Windows

Should fix #140.
Could you check if this fixes the problem, @varomix?

Hi Etienne
I just tried it but I still get the same error
 go get -u github.com/paked/engi
package golang.org/x/mobile/exp/audio/al: no buildable Go source files in C:\media\PROJECTx\mixgo\src\golang.org\x\mobile\exp\audio\al

Should I clean up the folder first or something?
thanks for the help

@varomix Try again now, I hadn't merged the PR into master :smile:.

@paked I tried again I still get the same error
I tried deleting everything and still same result
$ go get -u github.com/paked/engi
package golang.org/x/mobile/exp/audio/al: no buildable Go source files in C:\media\PROJECTx\mixgo\src\golang.org\x\mobile\exp\audio\al

Last night I read that this might be a windows issue with the audio it might not work for windows yet
this might have something to do
https://github.com/golang/go/issues/12261
thanks

Any of you have it working on windows?
I'll switch to linux but the issue will still be there :)

@varomix The problem doesn't actually doesn't exist on OSX/Linux, it was caused by the golang.org/x/mobile/exp/audio/al not supporting Windows straight up. Now that I've merged this pull request in it should no longer be an issue.

ok so I installed on my desktop computer on windows as well to see if it was some kind of issue on my laptop, I got another error and the previous one as well
$ go get -u github.com/paked/engi
package golang.org/x/image/math/f32: unrecognized import path "golang.org/x/image/math/f32"
package golang.org/x/mobile/exp/audio/al: no buildable Go source files in C:\gowork\src\golang.org\x\mobile\exp\audio\al

I just did this on a fresh windows computer with no previous Go stuff on it
so I guess the issue is still there.
This is on windows 8.1 64 bit
Thanks

@EtienneBruines I don't have access to a Windows PC currently, so it looks like you're going to have to take this.

Getting this error while go getting the engi. Also cant compile anything:
package golang.org/x/mobile/exp/audio/al: no buildable Go source files in C:\gospace\src\golang.org\x\mobile\exp\audio\al


feat: support uploading local geo data

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #308738592 🦕

The mypy tests failed. Could you please help to fix that? nox -r -s mypy can help to reproduce tests locally.

Merging. doctest and Samples test failures appear to be unrelated.


Saving model choice

I have created a roster and generated code, loaded into TTS and selected the appropriate models for my units and generated army.  My only problem is how to save the model selection for future uses in other rosters.
I'm sure it is something simple I am missing.
Thanks in advance.

Just Ctrl+C Copy them back to your army setup table.
I just started using it so I am taking 5-6 units at a time from the complete army, load data into them, and inspect if they are all working correctly before copy/pasting them back into a final working table of figures.

Thanks @karmington! Sounds like there's not a bug here, just some unfamiliarity with TTS. You can join the Discord server and get more direct help with this kind of thing: https://discord.gg/EZ6GzW


conf_unfolder not working with list and grid params together.

Hi,
the last commit that added the debug convenience features, I ran into an issue when trying to use both list and grid parameters in the configuration yaml that worked before.
After some digging I found that the issue seems to be caused during expand_experiments in conf_unfolder.py where the expansion of the experiment_configs in line 65-66 is conditioned on whether debug is True or False but the list splicing returns an empty list if debug is set to False as conditioning in the indicing process does not seem to work as the author expected (at least on my system):
experiment_configs += params_combine(
                config, key, iter_func)[:1 if debug else 0:]

I resolved this issue locally by doing it the same way it is done in the other cases by factoring it out and conditioning later:
expansion = params_combine(config, key, iter_func)

experiment_configs += expansion[:1] if debug else expansion

Thanks for opening this issue!
Let me make a small fix. Do you have time to try and test it afterwards?

Could you test the branch fix/issue66 ?

I tested the fix on branch fix/issue66 and it resolved the issue that was occuring for me.
Now all combinations of list/grid work fine again.
Thanks for your fast response.


fix(sensors): mitigate cap sensor configuration issues

The capacitive sensor seems to be having issues that stem from the initial register configuration. One issue seems to be that we are enabling a single channel at a time, but doing it twice in a row on startup. We may also be losing I2C messages in the flurry of bus traffic on startup, which may be exacerbated by the I2C tasks now releasing the CPU during transactions and therefore allowing other tasks to try to write more messages.
This PR does a couple of things which, in conjunction, seem to fix the issue of bad capacitive sensor data:

Instead of directly polling the data registers, check the Reading Ready flags in the FDC register first.
Always enable readings from both Reading 1 and Reading 2, and let them just run continuously forever
Only configure one channel's readings at a time
Add some vTaskDelay calls during startup to both 1) avoid I2C queue overflow 2) maybe give the sensor enough time to initialize?
Removed the SMA filter, which had a few problems with fixed point conversions and also seems unnecessary with these fixes

Todo:

[ ] Test on single channel
[ ] Test on 96 channel
[ ] Test on gripper
[x] Fix the capacitive sensor tests

Tested on 96, testing on gripper

Tested on gripper

Tested on single, still works fine


Update page for azkms.core.windows.net endpoint.

Azure KMS now has two endpoints are documented here:
https://docs.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-activation-problems#understanding-azure-kms-endpoints-for-windows-product-activation-of-azure-virtual-machines
Please update this page to reflect the new endpoint azkms.core.windows.net.
Thanks!
[Enter feedback here]

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

ID: 35f3cda3-0175-ff45-6933-cafb8badd13c
Version Independent ID: a316db39-073a-72db-a9a1-cd34ca6ed9b3
Content: Use Azure custom routes to enable KMS activation with forced tunneling - Virtual Machines
Content Source: support/azure/virtual-machines/custom-routes-enable-kms-activation.md
Service: virtual-machines
GitHub Login: @genlin
Microsoft Alias: genli

@pebarrer, thanks for the feedback. I will submit a PR to update the article.


panic: qtls.ConnectionState not compatible with tls.ConnectionState

Look forward to your reply。when i start a program, it shows:
panic: qtls.ConnectionState not compatible with tls.ConnectionState
goroutine 1 [running]:
github.com/lucas-clemente/quic-go/internal/handshake.init.0()
/home/lizh/go/src/github.com/lucas-clemente/quic-go/internal/handshake/unsafe.go:17 +0x12f

Which Go version are you using?

As the README says:

We currently support Go 1.12+, with Go modules support enabled.

ok，i'll try it. thank you


Implement "Back To Home Button"

Hey @thestarsahil
I would like to Design and implement "Back To Home" Button
Like this

In Following Pages:

Missing pages Such as in Blogs and Our Contributors Page

Enhance Back to home in Blog, Help, Privacy, Terms Pages so that the users can navigate back to the Home Page

@thestarsahil could you pls assign this issue to me under GSSOC

Make sure , Raise more PR as possible !

Make sure , Raise more PR as possible !

I didn't get it by raise more PR as possible part?


bolt stuck since yesteday night.

Describe the bug
Good morning. I have tried since yesterday night to keep going with the development of my code but i got stuck as when i ask to do something the ai start and stop almost immidiatelly. I have paid for a package of another 10 milions token and I lost almost 2 of them with asking the same think again and again and getting stuck. Can you please help me with this issue and if possible refund me the token that i lost for this bugs? thank you in advance for all the possible help you would give me.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-jmfgd5
Steps to reproduce

go to the link attached above and check what's happening an why.
tell me why i got stuck even with almost 7 milion tokens (now 5 because i lost several token try to push the ai to complete the task)
if it is possible to fix the problem and also refund me the token that i lost with this issue please. Thank you

Expected behavior
if you could please tell me why it is getting stuck even if i reduced my prompt at the minimum and i had over 5 milion tokens (actually 7 when it started to getting stuck). Moreover if you can at least refund me about the token that i lost for this issue.
Screen Recording / Screenshot

Platform

OS: [Windows 10]
Browser: [Chrome]
Version: [Chrome 130.0.6723.91]

Additional context
No response

Your project + chat length is to large for the AI.


Web socket sends wrong order book data

Why doesn't your socket send a full orderbook? There are always wrong asks and bids, WebSocket prices often doesn't match web interface prices and amounts never match. Please make it work like in other exchanges, for example as in FTX.

Hey, has this issue been fixed looked into?
when i request orderbook data via the websocket,im only receiving an offset for one single level.  Does this make sense? I thought for each offset, i will get the full orderbook


[SPARK-40976][BUILD] Upgrade sbt to 1.7.3

What changes were proposed in this pull request?
This pr aims to re-upgrade sbt to 1.7.3 due to SPARK-40996 has solved the issue of dev/sbt-checkstyle execution failure.
Why are the changes needed?
The release note as follows, this version just updates sbt underlying Coursier from 2.1.0-M2 to 2.1.0-M7-18-g67daad6a9:

https://github.com/sbt/sbt/releases/tag/v1.7.3

Does this PR introduce any user-facing change?
No
How was this patch tested?

Pass GitHub Actions
Manual test: Run dev/sbt-checkstyle with this pr

Checkstyle checks passed.

I revised the PR title because it's okay for us to reuse the JIRA ID and title.

Thanks @dongjoon-hyun

Merged to master.

@linhongliu-db Please ping me if you encounter any problems


[Feature Request]: Creating "Add to Cart" Page to the agroshop

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
We need to implement an "Add to Cart" page for the AgroShop application. This feature will allow users to easily add items to their shopping cart and view their selections before proceeding to checkout.
Proposed Features for the "Add to Cart" Page:

Cart Summary:

Show a summary of items added to the cart, including the quantity and total price.

Quantity Adjustment:

Allow users to adjust the quantity of items in their cart.

Remove Items:

Provide an option to remove items from the cart.

Proceed to Checkout:

Include a button to proceed to the checkout page.

Use Case

Allows users to manage their selected products easily, leading to a more intuitive shopping experience.
well-designed "Add to Cart" feature can lead to higher conversion rates as users are more likely to complete their purchases.

Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

I would like to work on this, kindly assign me this issue.


[5.1]Introduce SyntaxVisitorBase

This is useful if you intend to have subclasses overriding specific methods of a common base SyntaxVisitor class.
master: https://github.com/apple/swift-syntax/pull/133

@swift-ci Please test


Purpose of crate?

I see this crate contains GLSL parsing logic, but it's unclear how it relates to the rest of unrust.

The main and only reason right now is to support #include and #define macro.

to be able to write GLSL that works for both native and wasm

Cool - feel free to close, though I think it may be helpful to add this information to the readme first.

@bwasty Thanks for the feedback, we just added this information to the readme.


Issue with /docs/getting-started-guides/minikube/

This is a...

[ ] Feature Request
[x] Bug Report

Problem:
Minikube quickstart documentation has an issue. The URL for echo server container is incorrect. The suggested commandline:
$ kubectl run hello-minikube --image=gcr.io/google_containers/echoserver:1.4 --port=8080
leads to error:
Error from server: the server could not find the requested resource
Proposed Solution:
Page to Update:
http://kubernetes.io/...

This command line seems to work fine. There was an issue but it seems it's fixed now.

Agreed. This is no longer an issue.


chore(blog): new post about asyncapi status after 2022

don't worry about all the other changes, most important is the article

other article changes I did was to cleanup featured flag. We had it in so many articles that it no longer made sense to use
images for my article are of course small and webp

@fmvilas I replaced all tables with charts to be consistent across entire article
@fmvilas @alequetzalli ready for final approval

oh wait.. this is a NEW blog post, right?? I don't think I see any actual review done before, sorry I think I got messed up on this one.. lemme review it then 😄✌🏽

BTW, is it just me or most of the images look really bad on a laptop-size screen? They look blurry for me. Not all of them though. Maybe you have to export them with a bit higher quality.

@alequetzalli I knew your initial approval was too beautiful to be true 😆

bahahahahahahaha poor lukasz 😂😂😂😂😂

@fmvilas since you requested changes I cannot merge without your explicit approval.

/rtm


HTTPS transport

The OpenRTB spec still "recommends" against use of HTTPS (2.2 Security). DoubleClick Ad Exchange is moving fast to requiring HTTPS for all RTB, I guess other exchanges should also be working on that, and this part of the spec is feeling obsolete. If and when we move to support OpenRTB natively, this will have to be HTTPS-only. The part "These are server-to-server calls, which can be protected in other ways" doesn't look very good anymore, now with more people deploying bidders on public cloud platforms.
Can we change this in the next release?  Suggestion for something simple:

TLS (Transport Layer Security) is not required for compliance, but recommended for RTB traffic that's routed through the public internet (i.e, bidders not hosted inside the exchange's network, or equivalent arrangement).

I feel that the spec could go a little further, in particular recommending to take advantage of improvements in HTTP 2.0 which makes TLS more secure and lower overhead. Not my area of expertise, I don't know if it's too early to expect everybody's serving platforms to already implement HTTP2 well, etc., just a suggestion.
Additionally, the DoubleClick protocol always had some fields that are encrypted because they carry sensitive information. The OpenRTB doesn't have any encrypted field; it has some hashed fields, e.g. for device IDs, and while these are useful, they are not as good as an encrypted ADID that can be fully decrypted by the bidder. Using encryption at the transport level would allow the protocol to carry sensitive fields without the complication of encrypting individual fields.

We haven't seen anyone really pushing SSL in RTB besides Google.  That
said, I wouldn't object to simply removing the non-SSL recommendation and
let the spec focus on content rather than infrastructure.
:JB
On Fri, May 8, 2015 at 12:40 PM, Osvaldo Pinali Doederlein <
<EMAIL_ADDRESS>wrote:

The OpenRTB spec still "recommends" against use of HTTPS (2.2 Security).
DoubleClick Ad Exchange is moving fast to requiring HTTPS for all RTB, I
guess other exchanges should also be working on that, and this part of the
spec is feeling obsolete. If and when we move to support OpenRTB natively,
this will have to be HTTPS-only. The part "These are server-to-server
calls, which can be protected in other ways" doesn't look very good
anymore, now with more people deploying bidders on public cloud platforms.
Can we change this in the next release? Suggestion for something simple:

TLS (Transport Layer Security) is not required for compliance, but
recommended for RTB traffic that's routed through the public internet (i.e,
bidders not hosted inside the exchange's network, or equivalent
arrangement).

I feel that the spec could go a little further, in particular recommending
to take advantage of improvements in HTTP 2.0 which makes TLS more secure
and lower overhead. Not my area of expertise, I don't know if it's too
early to expect everybody's serving platforms to already implement HTTP2
well, etc., just a suggestion.
Additionally, the DoubleClick protocol always had some fields that are
encrypted because they carry sensitive information. The OpenRTB doesn't
have any encrypted field; it has some hashed fields, e.g. for device IDs,
and while these are useful, they are not as good as an encrypted ADID that
can be fully decrypted by the bidder. Using encryption at the transport
level would allow the protocol to carry sensitive fields without the
complication of encrypting individual fields.
—
Reply to this email directly or view it on GitHub
https://github.com/openrtb/OpenRTB/issues/17.

--
James M. Butler, Ph.D.* | *SVP Technology
millennial media
Mobile:<PHONE_NUMBER>
Email<EMAIL_ADDRESS>Web: www.millennialmedia.com
Twitter: @millennialmedia
Facebook: Facebook/millennialmedia

I would like to revisit this issue and strongly suggest that SSL be not only recommended but mandated. There are several reasons to support this choice.
The first is SSL performance. The idea that SSL is inherently slow has been extensively debunked in the Web tech world, and I'm surprised to see it still alive here. A naïve SSL configuration could be a little bit slow but anything professionally configured for performance would not be. HTTP 2, cert validity caching, session caching, ECC, etc.: there are tons of options for high performance with SSL. That part of the spec certainly feels like it's just repeated unverified rumours.
The second is compliance with the GDPR. Bid payloads contain personal data. Failing to secure personal data is a failure to comply. I would expect anyone working on compliance to phase out working with partners that do not take reasonable steps towards data protection.
Finally, the lack of secure transport opens ad markup to MITM attacks in which the payload would be replaced with malicious content. That is a non-negligible threat.

I agree with @darobin. And let's be honest, the SSL impact is nothing compared to encoding/decoding huge JSON blobs.

+1 on requiring TLS. Encryption functions are already embedded in CPU instruction sets so there's no performance impact compared to the rest of the bid processing. HTTP/2 would also make it much more efficient with multiplexed binary streams compared to the overhead of HTTP/1.

+1, at this point allowing a plaintext protocol only serves to create bad
incentives.
On Thu, Feb 8, 2018 at 3:40 PM Mani Gandham<EMAIL_ADDRESS>wrote:

+1 on requiring TLS. Encryption functions are already embedded in CPU
instruction sets so there's no performance impact compared to the rest of
the bid processing. HTTP/2 would also make it much more efficient with
multiplexed binary streams compared to the overhead of HTTP/1.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/openrtb/OpenRTB/issues/17#issuecomment-364241538, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AC4MMAHs-YYe96sLLhdJDv_Na_AcLtGaks5tS1vRgaJpZM4ET9HJ
.

--
Osvaldo Doederlein |  Software Engineer, DoubleClick Ad Exchange |
<EMAIL_ADDRESS>

This has been addressed in ORTB 3. Closing (finally)!


Request user information from Ghidra

For UX, it would be beneficial to know what permissions a user has in the repository. This especially pertains to new users, where the lack of access is not immediately clear.

Done in v0.1.1


Reimplement ping-pong animation and reverse playback

This is a resend of #48332.
Once approved before, but temporarily reverted due to conflicts with a huge overhaul of the animation features.
Until that overhaul is finished, it will be left as a draft PR to check and resolve conflicts.
Bugsquad edit: Fixes #50636. Fixes #54619. Supersedes #51576.

Ah it's not ready yet, I was pinged.

@reduz @fire Rebased. I did a quick test using a previous project but Blendshape and compressed tracks were not tested (for some reason, the mesh instance with Blendshape crashes, and I don't know much about compression tracks in terms of how they are generated), but the code seems to be fine.
ping-pong_demo_re.zip

Thanks!

Can fix the bug of 3.X?

We need to cherry-pick #51576 to fix #50636 and #54619.

Ah, I tested those issues and they were resolved by this PR. I thought this would be backported... Should I reopen my PR?

This PR is large, so it is difficult to backport it. So, smaller fixes should be cherry-picked separately for 3.x.


tristate support

CheckboxListTile.tristate support please!
Thank you for this, looks great :)

@caniko can you please explain the issue

@caniko can you please explain the issue

The checkbox should also be null when tristate is on. So three states: true, false, null.

can you share me your code then am resolving that’s issue ok @caniko


GitHub Action to publish ASV HTML and copy to rich-benchmarks

Type of changes

[ ] Bug fix
[x] New feature
[ ] Documentation / docstrings
[ ] Tests
[ ] Other

Checklist

[ ] I've run the latest black with default args on new code.
[ ] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
[ ] I've added tests for new code.
[x] I accept that @willmcgugan may be pedantic in the code review.

Description
Benchmarks can be run on any machine. Result data included in rich repo. When a release is made, new HTML will be published.

Codecov Report

Merging #2074 (39a5fe6) into master (91e0146) will decrease coverage by 0.00%.
The diff coverage is 93.61%.

@@            Coverage Diff             @@
##           master    #2074      +/-   ##
==========================================
- Coverage   99.49%   99.49%   -0.01%
==========================================
  Files          73       72       -1
  Lines        7361     7336      -25
==========================================
- Hits         7324     7299      -25
  Misses         37       37

Flag
Coverage Δ

unittests
99.49% <93.61%> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

rich/__init__.py
100.00% <ø> (ø)

rich/align.py
100.00% <ø> (ø)

rich/highlighter.py
100.00% <ø> (ø)

rich/layout.py
100.00% <ø> (ø)

rich/table.py
100.00% <ø> (ø)

rich/console.py
99.50% <80.00%> (-0.13%)
:arrow_down:

rich/segment.py
99.03% <93.75%> (-0.31%)
:arrow_down:

rich/_win32_console.py
91.48% <100.00%> (+1.48%)
:arrow_up:

rich/cells.py
100.00% <100.00%> (ø)

rich/control.py
100.00% <100.00%> (ø)

... and 4 more

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 65cb9bf...39a5fe6. Read the comment docs.


VSCode Javascript Debugger EACCESS Issue

Describe the bug
VSCode JS debugging no longer works due to a copyfile access issue. It works the very first time, but it appears to  copy a file from the nix store to a configuration location in the user home directory. However, on subsequent attempts, it can no longer execute that copy since the destination file already exists and retained the read-only permissions from the store.
Error activating auto attach: Error: EACCES: permission denied, copyfile '/nix/store/s81m8m4p355x54snv6fnc56pw75vlprs-vscode-1.58.0/lib/vscode/resources/app/extensions/ms-vscode.js-debug/src/bootloader.bundle.js' -> '/home/ldlework/.config/Code/User/workspaceStorage/ed6365eb04d72d5abb85f7871ffb763d/ms-vscode.js-debug/bootloader.js'

To Reproduce
Steps to reproduce the behavior:

Update to 1.58.2
Use VSCode to attach to a node process
Detach
Attempt to attach again

Expected behavior
The file should be copied with writable permissions so that subsequent uses do not fail.
Additional context
It's possible this is only a problem when utilizing VSCode workspace feature.
Notify maintainers
@eadwu @synthetica @maxeaubrey
Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.48, NixOS, 21.11.git.53079ed9131 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.12`
 - channels(root): `"home-manager"`
 - channels(ldlework): `""`
 - nixpkgs: `/nixpkgs`

I'm not sure if this is something that's fixable if you want to change permissions of files in the Nix store.
Probably better to report upstream to not do duplicate copies or force overwrite the copy.

This issue was apparently fixed upstream, but I am having trouble testing it. https://github.com/microsoft/vscode-js-debug/issues/1057#issuecomment-892225358
They say that we need to use the Insider's version. This is as close as I've been able to manage:
  insiders = (pkgs.vscode.override { isInsiders = false; }).overrideAttrs(old: rec {
    src = pkgs.fetchurl {
      name = "VSCode_insiders.tar.gz";
      url = "https://code.visualstudio.com/sha/download?build=insider&os=linux-x64";
      sha256 = "18a75wh1h6b8nx47w4f5frif9nq1cnv5h14rvh6bjpiivq2z42jg";
    };
  });

  code = (pkgs.vscode-with-extensions.override {
    vscode = insiders;
    vscodeExtensions = extensions;
  });

But I run into the error:
building '/nix/store/c3hb0lahrhgvsass0fdvhjgrxm93myaw-vscode-1.58.2.drv'...
unpacking sources
unpacking source archive /nix/store/dbxyczlk5wlmag8lcx9id1h167s6sd9x-VSCode_insiders.tar.gz
source root is VSCode-linux-x64
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file VSCode-linux-x64/resources/app/node_modules.asar
patching sources
glibPreInstallPhase
installing
sed: can't read /nix/store/zfgrqshq6579a20knn2dbch7d8izcpxv-vscode-1.58.2/bin/code-insiders: No such file or directory
builder for '/nix/store/c3hb0lahrhgvsass0fdvhjgrxm93myaw-vscode-1.58.2.drv' failed with exit code 2

Which is strange because the archive does contain that file.

I added a bounty for anyone who can help me the Insider's version of VSCode installed, with the Nightly JS-Debug extension installed, from the linked issue: https://github.com/microsoft/vscode-js-debug/issues/1057

i'll try

you can try it with
apply this patch to your nixpkgs clone with git apply https://patch-diff.githubusercontent.com/raw/NixOS/nixpkgs/pull/132788.patch
create a vscode.nix which contains
{ lib, pkgs }:

let
  insiders = (pkgs.vscode.override { isInsiders = true;}).overrideAttrs (old: rec {
    sourceExecutableName = "code-insiders";
    src = pkgs.fetchurl {
      name = "VSCode_insiders.tar.gz";
      url = "https://code.visualstudio.com/sha/download?build=insider&os=linux-x64";
      sha256 = "sha256-Jq0gTGMZs+SMWf9W1dTS0UHY9+a+LCEGIrMdpUnGzis=";
    };
  });

  extensions = pkgs.vscode-utils.extensionsFromVscodeMarketplace ([
    {
      name = "js-debug-nightly";
      publisher = "ms-vscode";
      version = "2021.8.417";
      sha256 = "sha256-HaJbAFFiKWugzFiNMILYzPxQtI4gHafJy9N3IV9pCPA=";
    }
  ]);

in {

  code = (pkgs.vscode-with-extensions.override {
    vscode = insiders;
    vscodeExtensions = extensions;
  });

  }

and whatever else you want
build with
nix-build -E "with import <nixpkgs> {}; callPackage ./vscode.nix {}"  -I nixpkgs=/path/to/nixpkgs

run with
./result/bin/code-insiders

@Artturin Are you getting the same behavior as shown in https://github.com/microsoft/vscode-js-debug/issues/1057#issuecomment-893786367 ? Or are you able to successfully enable the extension and perform more than one debug attachment?

i can't enable it either, thought it was something i did wrong since i dont use vscode

Can you register as the bounty contributor?

FYI, just need you to accept the invite to the gitpay bounty as a contributor.

accepted it.
i can enable the plugin now
{ lib, pkgs }:

let
  insiders = (pkgs.vscode.override { isInsiders = true;}).overrideAttrs (old: rec {
    sourceExecutableName = "code-insiders";
    src = pkgs.fetchurl {
      name = "VSCode_insiders.tar.gz";
      url = "https://code.visualstudio.com/sha/download?build=insider&os=linux-x64";
      sha256 = "sha256-RpB7Gg2nSAt+Ym3l91DRBIhATr9/QK3VB3jodNpyr6A=";
    };
  });

  extensions = pkgs.vscode-utils.extensionsFromVscodeMarketplace ([
    {
      name = "js-debug-nightly";
      publisher = "ms-vscode";
      version = "2021.8.417";
      sha256 = "sha256-HaJbAFFiKWugzFiNMILYzPxQtI4gHafJy9N3IV9pCPA=";
    }
  ]);

in {

  code = (pkgs.vscode-with-extensions.override {
    vscode = insiders;
    vscodeExtensions = extensions;
  });

  }

Can you please verify you received the bounty?

hmm nope, i'll try "send the solution" on gitpay and for that i need to close this issue

"send the solution" thinks this issue isn't closed
i created an issue https://github.com/worknenjoy/gitpay/issues/850

FYI, I sent the payment and it's been taken from my account.

A maintainer of gitpay has contacted me via email so we're sorting it out

FYI, I sent the payment and it's been taken from my account.

Hello @dustinlacewell, I'm the Gitpay maintainer, now the destination account is updated, so can you repeat this process again? The transfer wasn't initiated, so now it should work and this screen will update with a transaction number.
I already added a task to better handle transfer with no activated accounts. Thanks for your patience and let me know if you have any further questions.

@alexanmtz I have done the same steps and got the same results. There should probably be some indication, or log, of payments sent.

i got email confirmation so i think it worked now

Thanks for the feedback @dustinlacewell , you should receive a confirmation e-mail now 🙏

@dustinlacewell @alexanmtz
I got the bounty in my bank, Thanks.
Feel free to make more bounty issues

That's great @Artturin 🎉


ciscoPacketTracer8 breaks nur-update

congrats, you broke nur-update ^^
NUR/actions has been failing since 58d57172126db67dbf831a590c90fe3bb04705da
2024-05-07T17:47:11.4644147Z + git -C nur-combined push origin HEAD:master
2024-05-07T17:47:12.5442050Z Git LFS upload failed:
2024-05-07T17:47:12.5443665Z   (missing) repos/nltch/pkgs/ciscoPacketTracer8/CiscoPacketTracer822_amd64_signed.deb (6cd2b8891df92d2cad8b6fdc47480fc089de085c4f3fe95eb80d5450a2a7f72d)
2024-05-07T17:47:12.5445294Z hint: Your push was rejected due to missing or corrupt local objects.
2024-05-07T17:47:12.5446290Z hint: You can disable this check with: `git config lfs.allowincompletepush true`
2024-05-07T17:47:12.5461575Z error: failed to push some refs to 'https://github.com/nix-community/nur-combined.git'
2024-05-07T17:47:12.5506826Z ##[error]Process completed with exit code 1.

problem: CiscoPacketTracer822_amd64_signed.deb has 270 MB
this does not belong into a nix repo...
this belongs to some binary cache, or a separate git repo
https://sourceforge.net/projects/cisco-packet-tracer/files/ has Packet_Tracer821
this has Packet_Tracer822
https://www.packettracernetwork.com/download//download-packet-tracer.html

Warning : We strongly advise you to not download Cisco Packet Tracer from any website or torrent source different than Netacad website as the software can be infected with viruses or malware. This website provides SHA and MD5 checksums of official Packet Tracer version to help you to check if the software you downloaded is valid.

https://www.computernetworkingnotes.com/ccna-study-guide/download-packet-tracer-for-windows-and-linux.html
https://archive.org/download/cpt822/CiscoPacketTracer822_amd64_signed.deb
related: https://github.com/nix-community/NUR/issues/133

thanks for the mention, fixed it.
reported back in https://github.com/nix-community/NUR/pull/707

nit: please squash the last 7 commits to remove 7e3bddecbc24cafdac617da8b8104f8f85b752e8 etc

done!


Add support of non-breaking spaces in Label nodes

Godot version:
Godot 3.1.1
Issue description:
In my current project I need to use non-breaking spaces in my Label nodes, but as I understand, Godot doesn't support them?
The spaces appear, but the line still breaks on them.
Steps to reproduce:

Create a Label node.
Enable autowrap
Type a sentence with a lot of words, but instead of normal spaces use non-breaking spaces.
Line still breaks on the spaces

I can't reproduce this on commit https://github.com/godotengine/godot/commit/584ca0f156cec64c259382895e105cf27566a987.
Demo project: test_nbsp.zip
In order of appearance, normal spaces, non-breaking space, thin non-breaking space, zero-width space:

Note that thin non-breaking spaces won't display with the default project font, but it will work with most custom fonts.

Oh... I don't know why, but when I copied the non-breaking space from the wikipedia, it didn't work, but when I copied it from your project it now works...
Sorry for bothering...


Update guide-startmany.md

changed collateral values, case unchanged as referring to coin in currency form, added placeholder for Genix explorer at line 131

ACK
with future changes needed to line 92, explorer URL


[Bug] SCSS Issues on COMPILE

Version
LATEST
Reproduction link
https://codepen.io/NExxT-Development/pen/NWjrOpL
Operating System
Windows 10 21H1 (Latest)
Device
Dell Inspire
Browser & Version
Brave (Lastest)
Steps to reproduce
Just compile the SCSS
What is expected?
Just a normal SCSS compilation
What is actually happening?
Compilation Error
Error: Top-level selectors may not contain the parent selector "&".
╷
15 │   &.bg-gradient-faded-#{$prop}-vertical{
│   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
assets\scss\soft-design-system_gradients.scss 15:3  @import
assets\scss\soft-design-system\theme.scss 34:9       @import
assets\scss\soft-design-system.scss 27:9             root stylesheet
Compilation Error
Error: Undefined variable.
╷
1 │ @each $state, $value in $theme-gradient-colors {
│                         ^^^^^^^^^^^^^^^^^^^^^^
╵
assets\scss\soft-design-system_alert.scss 1:25  @import
animehoard\assets\scss\soft-design-system\theme.scss 25:9   root stylesheet
Compilation Error
Error: Undefined variable.
╷
3 │     align-items: $card-bg-align-items;
│                  ^^^^^^^^^^^^^^^^^^^^
╵
assets\scss\soft-design-system\cards\card-background.scss 3:18  root stylesheet
Compilation Error
Error: Undefined variable.
╷
97 │   background-color: $white;
│                     ^^^^^^
╵

Solution
Additional comments

Hello @NWJ9PB,
Thank you for using our products, we have tested the product's SCSS compiling and everything works fine. We will ask you to provide us the steps to reproduce this issue. Did you change something or it's not working in the downloadable archive?
Please let us know if we can help you with anything else.
All the best,
Stefan

Thanks for replying back, @groovemen
I keep reproducing it, and still ended up on compilation errors that are stated above, Here is the custom variables.scss file on this CodePen, this file is the only modified in the scss package

Hello again,
I have checked your variables SCSS file and you are right that gives an error on compiling. You have erased some SCSS variables imports (at the bottom of the page - line 1568).
All the best,
Stefan


[WFLY-9168] test case

Tests if ERROR message is logged when org.jboss.security.annotation.SecurityDomain is used for specifying the JBoss security domain for EJBs

I don't think we want to go down the route of testing for specific log messages, its fragile and does not add much value IMHO.


In the [Bug Report] cascade selector, other items are selected at different option levels, and the parent of the current item is still selected.

Element UI version
2.10.1
OS/Browsers version
win10/谷歌73
Vue version
2.6.10
Reproduction Link
https://codepen.io/anon/pen/VojPYg
Steps to reproduce
选择“选项0”-》“选项1”-》“选项3”，切换选择，选择“选项13”，点击展示下拉框，可以看到“选项0”，“选项1”依然被选中
What is Expected?
切换选项时所有未选中的项清除选中状态，选中状态准确标识在当前选中项
What is actually happening?
切换选项时父级选项选中状态未清除

fixed in 2.11.1


Don't Merge! Regression pull request test

Docs Build status updates of commit 0dcbf9a:
:clock10: Pending: waiting for processors (7 builds ahead of you)
:warning: Docs Build is busy, currently there are 7 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 0dcbf9a:
:clock10: Full build: the average full build time is 6 min(s) 51 sec(s), this is based on the last 33 build(s) for this repository.

Docs Build status updates of commit 0dcbf9a:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-conceptual/TestingPullRequest.md
:warning:Warning
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)
Details

docs-ref-conceptual/TestingPullRequest.md

[Warning] Metadata with following name(s) are not allowed to be set in Yaml header, or as file level metadata in docfx.json, or as global metadata in docfx.json: content_type. They are generated by Docs platform, so the values set in these 3 places will be ignored. Please remove them from all 3 places to resolve the warning.
[Warning] Metadata with following name(s) are not allowed to be set in Yaml header, or as file level metadata in docfx.json, or as global metadata in docfx.json: content_type. They are generated by Docs platform, so the values set in these 3 places will be ignored. Please remove them from all 3 places to resolve the warning.
[Warning] Metadata with following name(s) are not allowed to be set in Yaml header, or as file level metadata in docfx.json, or as global metadata in docfx.json: content_type. They are generated by Docs platform, so the values set in these 3 places will be ignored. Please remove them from all 3 places to resolve the warning.
[Warning] the value invalid_type is undefined for metadata content_type
[Warning] the value invalid_type is undefined for metadata content_type
[Warning] the value invalid_type is undefined for metadata content_type
Line 7: [Warning] Invalid file link:(~/nonexisted1.md).
Line 7: [Warning] Invalid file link:(~/nonexisted1.md).
Line 7: [Warning] Invalid file link:(~/nonexisted1.md).
Line 8: [Warning] Invalid file link:(~/nonexisted2.md).
Line 8: [Warning] Invalid file link:(~/nonexisted2.md).
Line 8: [Warning] Invalid file link:(~/nonexisted2.md).
Line 9: [Warning] Invalid file link:(~/nonexisted3.md).
Line 9: [Warning] Invalid file link:(~/nonexisted3.md).
Line 9: [Warning] Invalid file link:(~/nonexisted3.md).

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.


MAINT: Install sparse.linalg._eigen tests and fix test failures

Presently, sparse.linalg._eigen.tests aren't installed and so the tests failures may go unnoticed. This was highlighted while I was working on https://github.com/rgommers/scipy/pull/93#issuecomment-973971066
cc @rgommers

So the test failures do reproduce in CI. The next step is looking at the test case, and if the input are really too small as the warning says, decide whether to update those tests to use larger input arrays, or to remove the tests or skip them for lobpcg. See https://github.com/scipy/scipy/pull/14868#issuecomment-964738134.

There were 93 test failures(user warnings which were added in gh-14868) in eigen/tests/test_svds.py. Also, referring from gh-14868, I added pytest.warns flags to suppress the user warnings.

That approach looks good to me.
Other test failures are relevant to fix up too. Mypy:
scipy/sparse/linalg/_eigen/tests/test_svds.py:652: error: List item 0 has incompatible type "float"; expected "int"  [list-item]
scipy/sparse/linalg/_eigen/tests/test_svds.py:652: error: List item 1 has incompatible type "str"; expected "int"  [list-item]

PROPACK tests:
E   TypeError: PROPACK complex-valued SVD methods not available for 32-bit builds

@rgommers Can you please restart the failing test since all other tests have passed? I guess that is some internal error again.

@rgommers Can you please restart the failing test since all other tests have passed? I guess that is some internal error again.

That's okay, that job regularly times out after 60 minutes. We can just ignore it here, all other jobs are green.

Can you make the matching change for Meson @Smit-create?

Can you make the matching change for Meson @Smit-create?

Yes, sure.


update headers for OpenCL 3.0

Updates headers for the OpenCL 3.0 provisional spec.

Notes:

I didn't change the default OpenCL version for the headers, since OpenCL 3.0 is still a provisional spec.  So, developers will need to explicitly opt-into OpenCL 3.0 by defining CL_TARGET_OPENCL_VERSION as 300, otherwise the default remains OpenCL 2.2.

I switched from the CL_EXPERIMENTAL define to CL_VERSION_3_0.

I didn't put an #ifdef around the new APIs in the the ICD dispatch table struct.  So, they'll always exist in the dispatch table, but they may be void*s for pre-OpenCL 3.0 headers.

I'm pretty sure (1) is the right thing to do but I'm less sure about (2) and (3).
Requesting a review from @alycm, to ensure these changes are compatible with the ICD loader changes in https://github.com/KhronosGroup/OpenCL-ICD-Loader/pull/108.  Thanks!

(1) Makes sense.
(2) Also makes sense to me and will make the transition from provisional to final smooth for anyone experimenting and implementers.
(3) This is very low risk and I have no objection to it.  The gain from it I suppose is that tools that are ICD loader aware would have the same smooth transition benefit that I noted for (2).

Thanks for the speedy review!
I've updated the tests to include OpenCL 3.0 testing, which I had missed previously.
I'll plan to merge these changes first thing tomorrow unless there are other review comments.

Thanks for the reviews!  Merging.


added favicon

added favicon to this site.

Great work on this @snahashisk , can you show us a screenshot of the favicon here? Rest lgtm :rocket:

screenshots


suggestion: rename vm.skip to vm.skipTest

Component
Forge
Describe the feature you would like
In https://github.com/foundry-rs/foundry/pull/5205 vm.skip(bool) cheat was added to skip tests. However for a long time forge-std has had skip which skips forward in time.
The latter has been around longer, and skipTest is more explicit, so I'd suggest renaming the vm.skip cheat to vm.skipTest
If people agree with this change, let's introduce vm.skipTest now and remove vm.skip as part of the v1 release
Additional context
No response

Agreed that it is confusing to use skip for both. In favor of using skipTest(). Can take this on if needed. lmk


Force parameter

PR for #452

Only addition would be a warning when force is used, would probably add more code but might be worth it.


Why is continuous branch not merged into master?

Why not merge it and put add a configuration flag to toggle between continuous and discrete

Hi,
The continuous version is still in development and the continuous branch is not up to date.
Also merging the two versions risks making the code more complicated to understand, especially since it's based on the pseudocode and the original version of MuZero is only discreet.

Hello, the authors of MuZero have recently published a follow-up paper where they created their own adaptation of MuZero for continuous action spaces (link: https://arxiv.org/abs/2104.06303). Are there plans to implement the changes highlighted in this paper for the continuous branch in this repo?


Force window to be in the foreground

Sorry for this potentially stupid issue but I have a very obscure use case where I trigger this very nice library from an electron app that communicates with a rust backend via rest/rocket. However the native file browser always opens in the background, making it hard or impossible to see. Is there a way to bring it to focus automatically?

Numerous commits are in the upstream nativefiledialog project devel branch as of today that have improved focus issues on MacOS and X/Linux/GTK targets.

Numerous commits are in the upstream nativefiledialog project devel branch as of today that have improved focus issues on MacOS and X/Linux/GTK targets.

It's still possible to get the file picker in the background. This is serious for full-screen games with a modal dialog. The user is stuck with a dead keyboard and mouse. CTL-ALT-DEL, or, if the window has a title bar, minimizing it, will expose the file picker, but that's about it.
Demo: https://github.com/John-Nagle/ui-mock
Look in the "development" menu for an open file menu option.


Outdated build instructions for Raspberry Pi - Ubuntu 20.10 is no longer supported

Problem
docs/BUILDING.md instructs to use rpi-imager to install Ubuntu 20.10 LTS 64-bit server.
However, Ubuntu 20.10 is no longer supported, the currently supported interim release is 21.04
This is also confusing because Ubuntu 20.10 is not an LTS version
Proposed Solution
Support building either on Ubuntu 20.04 LTS or Ubuntu 21.04
Related: #4640 which updated docs/BUILDING.md to point at Ubuntu 20.10

This has been fixed by #7650


feat: support Bom.compositions

Adds support for bom.compositions as part of fulfilling #581.

@madpah ,
Could you rebase on latest master and fix the conflicts.
I had to do some style-changes(https://github.com/CycloneDX/cyclonedx-python-lib/pull/643) to make the review easier.
Sorry for the inconvenience.


MIT CIT support for Orbital

@pierre Please review.

@daliwei FYI I've updated the base branch to backport-0.18.x as master is now used for Kill Bill 0.20.x (our current LTS).


Port to Spark 3

Update to Scala 2.12

Looking forward to Apache Solr team review this pull request and merge the code.

Any news on this? This would be super helpful!

Hello,
Any news on this? This would also help me as well

Any plans of merging this soon?

Any updates on this? We would really appreciate it if this is merged soon!


add .nvmrc and package.json node engine at 10.18.0

This should help users understand some of the node version issues without coming to github first

Great idea! Maybe it also worth mentioning the proper Node version and nvm use in the installation part of README? This may point users in the right direction even more.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[mgmt] sql release

https://github.com/Azure/sdk-release-request/issues/4471

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-arm-sql


Compatibility Issues and Error Messages When Installing Development Versions in Different Arduino IDEs

When installing using the same path https://github.com/ambiot/ambpro2_arduino/raw/dev/Arduino_package/package_realtek_amebapro2_early_index.json, the 4.0.6 development version can be seen in Arduino IDE version 1.0, but it's not visible in Arduino IDE 2.0. Also, when installing other development versions in Arduino 2.0, there are occasions where a 404 error message appears.

Hi @Oliver0804,
I tried on Arduino IDE 2.2.0 and 2.0.0, and the path works fine for me. May I know which IDE version you are using now?
We have changed the link to remove ".com" as the latest IDE version doesn't allow ".com" in the path.
Maybe you can try the old link if you are using the older version:
Old: https://github.com/ambiot/ambpro2_arduino/raw/main/Arduino_package/package_realtek.com_amebapro2_index.json
New: https://github.com/ambiot/ambpro2_arduino/raw/main/Arduino_package/package_realtek_amebapro2_index.json
Else, you can also try deleting the .json file in Arduino15 folder and it will be installed again when you open Arduino IDE and input the path in Preference.

404 server issue.
Looks like anything wrong with your internet? or GitHub server issue.

Close as there is no further issue.


Initial value of presentationTimeNs is shifted

For the case with overlay within in a certain interval, the initial value of the time coming to GlFilter.apply() is shifted by a certain time (X). And it turns out that overlays in the time range from 0 ns to X ns will not be drawn.
Sample filter:
class TimedOverlayBeforeFirstSec extends BitmapOverlayFilter {

    public TimedOverlayBeforeFirstSec(@NonNull Context context, @NonNull Uri bitmapUri, @NonNull Transform transform) {
        super(context, bitmapUri, transform);
    }

    @Override
    public void apply(long presentationTimeNs) {
        Log.d("TimedOverlay", "presentationTimeNs: " + presentationTimeNs);
        if (presentationTimeNs >= 1000L * 1_000_000L) return;
        super.apply(presentationTimeNs);
    }
}

The first presentationTimeNs value will be<PHONE_NUMBER>ns.
It looks like some MediaCodec components are returning the wrong presentationTime or sampleTime from MediaExtractor, but the duration of the output video is correct.
This behavior is observed for a certain video recorded on an emulator (Pixel 5, API 30).
Sample video: link
Logs:
D/MPEG4Writer: PreAllocation enabled
I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es
I/OMXClient: IOmx service obtained
W/OMXUtils: do not know color format 0x7f000789 =<PHONE_NUMBER>
I/ACodec: setupAVCEncoderParameters with [profile: Baseline] [level: Level41]
I/ACodec: [OMX.google.h264.encoder] cannot encode color aspects. Ignoring.
I/ACodec: [OMX.google.h264.encoder] cannot encode HDR static metadata. Ignoring.
    setupVideoEncoder succeeded
W/OMXUtils: do not know color format 0x7f000789 =<PHONE_NUMBER>
D/HostConnection: HostConnection::get() New Host Connection established 0xe81893f0, tid 10630
D/HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_sync_buffer_data ANDROID_EMU_read_color_buffer_dma GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_async_frame_commands ANDROID_EMU_gles_max_version_2
D/EGL_emulation: eglCreateContext: 0xe818bdf0: maj 2 min 0 rcv 2
D/EGL_emulation: eglMakeCurrent: 0xe818bdf0: ver 2 0 (tinfo 0xb87c8c10) (first time)
E/EGL_emulation: eglQueryContext 32c0  EGL_BAD_ATTRIBUTE
    tid 10630: eglQueryContext(2019): error 0x3004 (EGL_BAD_ATTRIBUTE)
I/OMXClient: IOmx service obtained
D/SurfaceUtils: connecting to surface 0xe2a864d8, reason connectToSurface
I/MediaCodec: [OMX.android.goldfish.h264.decoder] setting surface generation to 10836993
D/SurfaceUtils: disconnecting from surface 0xe2a864d8, reason connectToSurface(reconnect)
    connecting to surface 0xe2a864d8, reason connectToSurface(reconnect)
E/ACodec: [OMX.android.goldfish.h264.decoder] setPortMode on output to DynamicANWBuffer failed w/ err -1010
D/SurfaceUtils: disconnecting from surface 0xe2a864d8, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils: connecting to surface 0xe2a864d8, reason setNativeWindowSizeFormatAndUsage
    set up nativeWindow 0xe2a864d8 for 1280x720, color 0x13, rotation 90, usage 0x1002900
W/Gralloc4: allocator 3.x is not supported
W/ACodec: [OMX.android.goldfish.h264.decoder] BAD CODEC: Output format changed unexpectedly from (diff) AMessage(what = 0x00000000) = {
          int32_t color-standard = 1
        } to (diff) AMessage(what = 0x00000000) = {
          int32_t color-standard = 130817
        }
D/VideoTrackTranscoder: Decoder output format changed: {crop-right=1279, color-format=19, slice-height=720, mime=video/raw, stride=1280, color-standard=130817, color-transfer=3, crop-bottom=719, crop-left=0, width=1280, color-range=2, crop-top=0, height=720}
D/TimedOverlay: presentationTimeNs:<PHONE_NUMBER>
D/ACodec: dataspace changed to 0x10c10000 (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) (R:2(Limited), S:1(BT709), T:3(SMPTE_170M))
D/MediaMuxerMediaTarget: All tracks added, starting MediaMuxer, writing out 58 queued samples
D/MPEG4Writer: fpathconf _PC_FILESIZEBITS:64
    File size limit set to<PHONE_NUMBER>370495 bytes implicitly
    MP4WtrCtrlHlpLooper Started
I/MPEG4Writer: limits:<PHONE_NUMBER>370495/0 bytes/us, bit rate: -1 bps and the estimated moov size 3192 bytes
D/MPEG4Writer: kWhatNoIOErrorSoFar
I/MPEG4Writer: setStartTimestampUs: 0
    Earliest track starting time: 0
D/VideoTrackTranscoder: Encoder output format received {max-bitrate=3709160, csd-1=java.nio.HeapByteBuffer[pos=0 lim=10 cap=10], color-transfer=3, mime=video/avc, width=1280, bitrate=3709160, color-range=2, frame-rate=9, color-standard=1, height=720, csd-0=java.nio.HeapByteBuffer[pos=0 lim=23 cap=23]}
D/TimedOverlay: presentationTimeNs:<PHONE_NUMBER>
I/MPEG4Writer: setStartTimestampUs: 1129700
D/TimedOverlay: presentationTimeNs:<PHONE_NUMBER>
D/TimedOverlay: presentationTimeNs:<PHONE_NUMBER>
D/TimedOverlay: presentationTimeNs:<PHONE_NUMBER>
D/TimedOverlay: presentationTimeNs:<PHONE_NUMBER>
D/TimedOverlay: presentationTimeNs:<PHONE_NUMBER>
D/TimedOverlay: presentationTimeNs:<PHONE_NUMBER>
D/TimedOverlay: presentationTimeNs:<PHONE_NUMBER>
D/TimedOverlay: presentationTimeNs:<PHONE_NUMBER>
D/PassthroughTranscoder: Reach EoS on input stream
D/VideoTrackTranscoder: EoS reached on the input stream
D/VideoTrackTranscoder: EoS on decoder output stream
D/VideoTrackTranscoder: Encoder produced EoS, we are done
D/SurfaceUtils: disconnecting from surface 0xe2a864d8, reason disconnectFromSurface
E/Surface: getSlotFromBufferLocked: unknown buffer: 0x0
V/MediaWriter: Track event err/info msg:101, trackId:1, type:1000,val:-1011
I/MPEG4Writer: Received total/0-length (37/0) buffers and encoded 37 frames. - Video
D/MPEG4Writer: reset()
    Video track stopping. Stop source
    Video track source stopping
    Video track source stopped
D/MPEG4Writer: Video track stopped. Status:0. Stop source
V/MediaWriter: Track event err/info msg:101, trackId:2, type:1000,val:-1011
I/MPEG4Writer: Received total/0-length (63/0) buffers and encoded 63 frames. - Audio
    Audio track drift time: 0 us
D/MPEG4Writer: Audio track stopping. Stop source
    Audio track source stopping
    Audio track source stopped
    Audio track stopped. Status:0. Stop source
D/MPEG4Writer: Duration from tracks range is [1260000, 4030655] us
D/MPEG4Writer: 0 chunks are written in the last batch
D/MPEG4Writer: WriterThread stopped. Status:0
I/MPEG4Writer: Adjust the moov start time from 0 us -> 0 us
I/MPEG4Writer: MOOV atom was written to the file
D/MPEG4Writer: release()
    ftruncate mPreAllocateFileEndOffset:1301193 mOffset:2024 mMdatEndOffset:1297981 diff:3212
D/MPEG4Writer: MP4WtrCtrlHlpLooper stopped
    Top 5 write durations(microseconds): #1:108 #2:116 #3:173 #4:477 #5:597
    reset()
    Video track stopping. Stop source
E/MPEG4Writer: Stop() called but track is not started or stopped
D/MPEG4Writer: Audio track stopping. Stop source
E/MPEG4Writer: Stop() called but track is not started or stopped

Maybe it's just the emulator makes corrupted videos 🤔

So, first I-frame (keyframe) of video track has an offset 1.1297s and all frames before is just this keyframe.

As a possible solution we can take first keyframe and from 0 to X just copy it with some framefrate (fill decoder with same frame until next frame).


TypeError: string argument expected, got 'bytes'

Hi,
document.save() receives a file path or stream, right? What am I doing wrong?
This a flask application....
`@app.route('/doc')
def index():
document = Document()
document.add_heading('Document Title', 0)
document.add_paragraph('Some text')
buffer = io.StringIO()
document.save(buffer)
buffer.seek(0)
return Response(buffer, mimetype='application/vnd.openxmlformats-officedocument.wordprocessingml.document')`

ERROR:

Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit)
[2018-09-20 19:53:58,458] ERROR in app: Exception on /doc [GET]
Traceback (most recent call last):
File "C:\Users\chsdo\PycharmProjects\untitled\venv\lib\site-packages\flask\app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "C:\Users\chsdo\PycharmProjects\untitled\venv\lib\site-packages\flask\app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Users\chsdo\PycharmProjects\untitled\venv\lib\site-packages\flask\app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "C:\Users\chsdo\PycharmProjects\untitled\venv\lib\site-packages\flask_compat.py", line 35, in reraise
raise value
File "C:\Users\chsdo\PycharmProjects\untitled\venv\lib\site-packages\flask\app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Users\chsdo\PycharmProjects\untitled\venv\lib\site-packages\flask\app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "C:\Users\chsdo\PycharmProjects\untitled\app.py", line 26, in index
document.save(buffer)
File "C:\Users\chsdo\PycharmProjects\untitled\venv\lib\site-packages\docx\document.py", line 142, in save
self._part.save(path_or_stream)
File "C:\Users\chsdo\PycharmProjects\untitled\venv\lib\site-packages\docx\parts\document.py", line 130, in save
self.package.save(path_or_stream)
File "C:\Users\chsdo\PycharmProjects\untitled\venv\lib\site-packages\docx\opc\package.py", line 160, in save
PackageWriter.write(pkg_file, self.rels, self.parts)
File "C:\Users\chsdo\PycharmProjects\untitled\venv\lib\site-packages\docx\opc\pkgwriter.py", line 33, in write
PackageWriter._write_content_types_stream(phys_writer, parts)
File "C:\Users\chsdo\PycharmProjects\untitled\venv\lib\site-packages\docx\opc\pkgwriter.py", line 45, in _write_content_types_stream
phys_writer.write(CONTENT_TYPES_URI, cti.blob)
File "C:\Users\chsdo\PycharmProjects\untitled\venv\lib\site-packages\docx\opc\phys_pkg.py", line 155, in write
self._zipf.writestr(pack_uri.membername, blob)
File "C:\Users\chsdo\AppData\Local\Programs\Python\Python37\lib\zipfile.py", line 1762, in writestr
with self.open(zinfo, mode='w') as dest:
File "C:\Users\chsdo\AppData\Local\Programs\Python\Python37\lib\zipfile.py", line 1448, in open
return self._open_to_write(zinfo, force_zip64=force_zip64)
File "C:\Users\chsdo\AppData\Local\Programs\Python\Python37\lib\zipfile.py", line 1561, in _open_to_write
self.fp.write(zinfo.FileHeader(zip64))
TypeError: string argument expected, got 'bytes'
Exception ignored in: <function ZipFile.del at 0x000002DD5198C7B8>
Traceback (most recent call last):
File "C:\Users\chsdo\AppData\Local\Programs\Python\Python37\lib\zipfile.py", line 1767, in del
self.close()
File "C:\Users\chsdo\AppData\Local\Programs\Python\Python37\lib\zipfile.py", line 1785, in close
self._write_end_record()
File "C:\Users\chsdo\AppData\Local\Programs\Python\Python37\lib\zipfile.py", line 1888, in _write_end_record
self.fp.write(endrec)
TypeError: string argument expected, got 'bytes'
<IP_ADDRESS> - - [20/Sep/2018 19:53:58] "GET /doc HTTP/1.1" 500 -

Pretty sure you want io.BytesIO rather that io.StringIO because the saved file is binary, not unicode. Also, I'm not sure what Flask is looking for as the first parameter of the Response() call, but I expect it's bytes rather than a file-like object. You can get bytes from an io.BytesIO object with buffer.getvalue(), and there's no need to .seek(0) before that call.

@scanny thanks a lot!
I appreciate your help and many thanks for the incredible tool that you are building...
You gave me the solution. My code now works fine...
`
def index():
document = Document()
document.add_paragraph('A plain paragraph having some ')
document.add_heading('Heading, level 1')
document.add_paragraph('Intense quote')
buffer = io.BytesIO()
document.save(buffer)
buffer.seek(0)

return send_file(buffer, as_attachment=True, attachment_filename='report.doc')`

Pretty sure you want io.BytesIO rather that io.StringIO because the saved file is binary, not unicode. Also, I'm not sure what Flask is looking for as the first parameter of the Response() call, but I expect it's bytes rather than a file-like object. You can get bytes from an io.BytesIO object with buffer.getvalue(), and there's no need to .seek(0) before that call.

Thank you so much!  help me a lot


Check changelogs

Summary
New command: npm run check-changelogs
I wrote a helper script to print out the unreleased changes listed in each package's change log. This can help releasers when judging whether to bump a package version by a patch, minor or major; when prompted by lerna they can review the printout. It helped me a lot, at least.
Example output:
packages/terra-action-footer has no unreleased changes.
packages/terra-alert has no unreleased changes.
packages/terra-arrange has no unreleased changes.
packages/terra-avatar has no unreleased changes.
packages/terra-badge has no unreleased changes.
packages/terra-base has no unreleased changes.
packages/terra-breakpoints has no unreleased changes.
packages/terra-button-group has no unreleased changes.
packages/terra-card has no unreleased changes.
packages/terra-cell-grid has no unreleased changes.
packages/terra-content-container has no unreleased changes.
packages/terra-demographics-banner has no unreleased changes.
packages/terra-dialog has no unreleased changes.
packages/terra-docs has no unreleased changes.
packages/terra-grid has no unreleased changes.
packages/terra-heading has no unreleased changes.
packages/terra-html-table has no unreleased changes.
packages/terra-hyperlink has no unreleased changes.
packages/terra-i18n has no unreleased changes.
packages/terra-icon has no unreleased changes.
packages/terra-image has no unreleased changes.
packages/terra-list has no unreleased changes.
packages/terra-mixins has no unreleased changes.
packages/terra-paginator has no unreleased changes.
packages/terra-profile-image has no unreleased changes.
packages/terra-progress-bar has no unreleased changes.
packages/terra-responsive-element has no unreleased changes.
packages/terra-scroll has no unreleased changes.
packages/terra-search-field has no unreleased changes.
packages/terra-section-header has no unreleased changes.
packages/terra-show-hide has no unreleased changes.
packages/terra-signature has no unreleased changes.
packages/terra-spacer has no unreleased changes.
packages/terra-status has no unreleased changes.
packages/terra-status-view has no unreleased changes.
packages/terra-switch has no unreleased changes.
packages/terra-table has no unreleased changes.
packages/terra-tag has no unreleased changes.
packages/terra-text has no unreleased changes.
packages/terra-toggle has no unreleased changes.
packages/terra-toggle-button has no unreleased changes.
packages/terra-toggle-section-header has no unreleased changes.
packages/terra-toolbar has no unreleased changes.
packages/terra-visually-hidden-text has no unreleased changes.

packages/terra-action-header has unreleased changes:
* Fixed
  * Added styles to ActionHeader to better support long non-breaking titles

packages/terra-button has unreleased changes:
* Changed
  * TabIndex is honored unless the button is disabled.

packages/terra-core-docs has unreleased changes:
* Added
  * Migrate docs from terra-dynamic-grid.
  * Migrate docs from terra-dropdown-button.
  * Migrate docs from terra-form-checkbox.
  * Migrate docs from terra-form-field.
  * Migrate docs from terra-divider.
  * Migrate docs from terra-form-fieldset.
  * Migrate docs from terra-form-select.
  * Migrate docs from terra-form-radio.
  * Migrate docs from terra-form-input.
  * Migrate docs from terra-form-textarea.

packages/terra-divider has unreleased changes:
* Changed
  * Migrate doc to terra-core-docs.

packages/terra-dropdown-button has unreleased changes:
* Changed
  * Migrate doc to terra-core-docs.

packages/terra-dynamic-grid has unreleased changes:
* Changed
  * Migrate doc to terra-core-docs.

packages/terra-form-checkbox has unreleased changes:
* Changed
  * Migrate docs to terra-core-docs.

packages/terra-form-field has unreleased changes:
* Changed
  * No longer assign tabIndex -1 to the error and help divs.
  * Migrate docs to terra-core-docs.

packages/terra-form-fieldset has unreleased changes:
* Changed
  * Migrate docs to terra-core-docs.

packages/terra-form-input has unreleased changes:
* Changed
  * Migrate doc to terra-core-docs.

packages/terra-form-radio has unreleased changes:
* Changed
  * Migrate doc to terra-core-docs.

packages/terra-form-select has unreleased changes:
* Changed
  * Help text div no longer has a tabIndex of -1.
  * Updated dependencies to not be hard-coded.
  * Migrate doc to terra-core-docs.

packages/terra-form-textarea has unreleased changes:
* Changed
  * Migrate docs to terra-core-docs.

packages/terra-overlay has unreleased changes:
* Changed
  * Updated dependencies to not be hard-coded.

There are unreleased changes. See above.

Deployment Link

https://terra-core-deployed-pr-#.herokuapp.com/
Testing

Additional Details

Thank you for contributing to Terra.
@cerner/terra

Closing, this isn't really that useful after all.


Suggestion: add 'exclude' filter

Amazing software, truly.  Some suggestions

Make the filter list accessible in the right docking bar under a "Filter" tab, alongside "Marked Logs", "Categories of timestamps", "Log analysis" and "Added log files". Then if each item has a checkbox next to it the user could "apply" them by checking box.
Give the ability to define a filter that excludes instead of includes. For example, I often want to exclude logs with a certain category, or message substring. Then let me AND them so I can filter like "Show all log lines except those that contain "foo" or "bar" etc. Or show me all logs except those with category="foo" or category="bar"

@acastruc Thanks for your suggestion, we wil take these into account in the future release.

@hamster620 I'd be happy to take a stab at this myself, do you have any dev setup documentation? Also, Im on mac but could virtualize Win if required. Thanks

@acastruc You can just clone this repositary and use master branch to develop. For IDE you can use Visual Studio Code, Rider or Visual Studio (on Windows). macOS is fine to develop and run ULogViewer.

For core log filtering function, you can refer to DisplayableLogFilter.cs

@hamster620 ok Ive got something working but I am unclear about the current behaviour of combination mode. See my other post.

@hamster620 I've got a branch I want to publish for inspection. How should I go about submitting?
When I try git push -u origin <mybranchname> I get
remote: Permission to carina-studio/ULogViewer.git denied to acastruc.
fatal: unable to access 'https://github.com/carina-studio/ULogViewer.git/': The requested URL returned error: 403

@acastruc You cannot push change to the repository directly. Please refer to Creating a pull request and create a pull request for merging chang to master branch.
To run and debug ULogViewer in VS Code, you need to edit launch.json and change the program attribute to correct framework:

Currently it should be net8.0 instead of net7.0.

@hamster620 understood. Done.

@hamster620 can you give a rough timeline for when/if the exclude pattern will be supported in a new release?
Thanks

@hamster620 can you give a rough timeline for when/if the exclude pattern will be supported in a new release?
Thanks

We can have a development release this week.

The feature included in <IP_ADDRESS>1-dev.


Needs update this page with VS2019 and TypeScript

'Run tests in Visual Studio 2017' should be updated to 2019
The table-of-contents on the left says "Unit testing JavaScript". But the title is "Unit testing JavaScript and TypeScript in Visual Studio".
According to my test. Breakpoints work well in "Debug Selected Tests". So the document may not mention this as a bug.
For TypeScript, the test result can not show the correct file&line. It seems the source mapping is not used. Should it be mentioned in the doc? https://github.com/kingsimba/NodeJS-TypeScript-in-VS2019#testing

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

ID: 32738a06-835b-5bd5-7a6c-942c681aca97
Version Independent ID: e715d12c-a4aa-eec3-c05f-1ff6243d209b
Content: Unit testing JavaScript and TypeScript - Visual Studio
Content Source: docs/javascript/unit-testing-javascript-with-visual-studio.md
Product: visual-studio-windows
Technology: vs-javascript
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@kingsimba Thanks for your feedback! I tested this using the steps in the doc and the Mocha Unit Test File, and I get the same result. The test appears to run against the generated .js files instead of the .ts files, and reports against the .js file. This behavior might be by design, but I'm not certain. Please use the Report a Problem tool to report the issue. That will help identify whether the feature is working like this by design or is a bug.
I will make the relevant doc fixes that you pointed out, and for now at least, add a note about TypeScript behavior when running the tests.

I believe it's indeed a problem. I found a report on
https://developercommunity.visualstudio.com/content/problem/1009131/typescript-test-file-go-to-definition-f12-should-g.html


[Roadmap] Add support for NLP Cloud

Why
With quite a few models available, great pricing, the ability to add your own models of fine-tunes, and a fairly simple API, NLP Cloud would be a great addition to big-AGI
Description
Add NLP Cloud (https://docs.nlpcloud.com/#introduction) as a supported service.
Requirements
Probably won't get added to the roadmap quickly but I think the requierments are fairly self-explanitory.

This is Julien from NLP Cloud. If you guys need help to integrate NLP Cloud into Big AGI please let me know, we'll be happy to get involved!

Thanks @evilalmus, hi @juliensalinas. What would be the best angle for the integration? Chat models support is good, but we have many providers already, I wonder if there's any unique angle (maybe starting from the Whisper ASR?).
Ideally one would enter information and every service of big-agi (tts, asr, chat, text-to-image, etc.) would auto-configure, but would love your opinion on what's the best possible product shape out of this.

Thank you @enricoros 👍🏻
Our most popular API endpoints are text generation (https://docs.nlpcloud.com/#generation), chatbots (https://docs.nlpcloud.com/#chatbot-and-conversational-ai), text summarization (https://docs.nlpcloud.com/#summarization), and ASR (https://docs.nlpcloud.com/#automatic-speech-recognition).
Maybe Whisper ASR would be a good start indeed!


fix dependency, rename files

Pull Request Test Coverage Report for Build 39

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 73.026%

Totals

Change from base Build 36:
0.0%

Covered Lines:
111

Relevant Lines:
152

💛  - Coveralls


ShowOperation should not add fields by default

By default, setFromDb() was called inside the SHOW operation, which added both fields and columns. That doesn't really make sense, since Show only uses columns. So I've added parameters to setFromDb() so that we can choose to add fields, columns or both.
This also inadvertently fixes https://github.com/Laravel-Backpack/CRUD/issues/3925 for the Show operation, since it was trying to add a Field that was impossible to add.

A new inspection was created.

I'm going to consider this a non-breaking change since:

I'm pretty sure nobody is using fields inside the ShowOperation; if they are doing something so custom, they probably have overwritten the setupShowOperation() too;
the way the signature has changed for setFromDb() is backwards-compatible; give parameters - good; no parameters - still good;

The inspection completed: No new issues


Updates for PureScript 0.12

Updated imports
Updated Bower dependencies
Removed effect rows

Could you please just update purescript and pulp versions in package.json? That should get Travis going again.

Indeed, good finds and thanks for the feedback @paf31!

Thanks!


Add Main Menu UI Updates from proposal

Fixes #213
This PR will add the changes needed from the SDL 0267 Proposal for Main Menu UI Updates

 (3) [SDL 0267] Main Menu UI Updates [0.25]


[BUG] Showing weird styles when creating RKE1 guest cluster

Describe the bug

To Reproduce
Steps to reproduce the behavior:

Install Harvester (v1.4.0-rc3).
Install Rancher (v2.8.5, v2.9.2 or v2.9.3-alpha4).
Import Harvester to Rancher.
Create a guest cluster with RKE1 GUI.

This is RKE2.

This is RKE1.

Console Logs:
harvester:1 Refused to apply style from 'https://<IP_ADDRESS>/assets/A.css?2.9-dev' because its MIME type ('text/plain') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
If you use 2.8.5 Rancher, it shows this url 'https://<IP_ADDRESS>/assets/A.css?2.8-dev' instead.
Network Tabs:

Expected behavior
The GUI style should be normal.
Environment

Harvester ISO version: 1.4.0-rc3
Rancher version: v2.8.5, v2.9.2 or v2.9.3-alpha4

Additional context

cc @a110605 @torchiaf

I can't reproduce it using Rancher v2.9.2 + Harvester ipxe master-head deployment.
https://github.com/user-attachments/assets/70631f83-3eaf-4846-bc25-d1899c9e465e
I will deploy harvester v1.4.0-rc3 and try reproduce it again.

Test again with Rancher 2.8.5 + Harvester v1.4.0-rc3 with chrome / edge /ff , still can't reproduce it.
https://github.com/user-attachments/assets/5295c3b4-ac65-4daf-ba14-e9f0b6c4c41c

I can't reproduce with v2.9.3-alpha3, GUI looks good.

It's really strange. I used v2.8.5 rancher alone, but the result is still the same ...

umm ... after trying with docker run -d --restart=unless-stopped -p 804:80 -p 4443:443 --privileged rancher/rancher:v2.8.5, it works. I have no ideas why it works when changing host port. I think we could close this issue due to personal environment issue.

double check by @albinsun and @FrankYang0529, can't reproduce the issue.


update to iOS 17

replace to ScrollView.scrollTargetBehavior(.paging) from TabView for Image

https://qiita.com/SNQ-2001/items/55ca01f85e0761808f63

replace to @Observable from ObservableObject
replace to SwiftData from CoreData

Animation

scrollTransition


Update storage version to use x-ms-error-code in logs

I noticed that storage version 2017-07-29 has "All error responses have an additional response header x-ms-error-code that contains the error code string"
This could be a useful debugging addition to log messages where the client relies heavily on errno

Actually if you call those APIs that is not in 'blob_client_wrapper', which are exception based APIs, it would contain more information.
However, I think it is generally a very good idea to bump up the version for such information. I'll put it in the backlog to see if we could prioritize it.


correctness and speed of TriFinger._safety_torque_check

Issue:

_safety_torque_check is slow and possibly incorrect

Proposed solution:

implement a fix speeds up the function (fix 1 or fix 2)
optionally also change logic (fix 2) of function (would break backward compatability)

I profiled causalworlld env.step() function.
It seems roughly 66% is speed in the robot apply action, whereas most in self.step_simulation()
https://github.com/rr-learning/CausalWorld/blob/7e2958a1db3af4f801d6d6df4fd1e507304ca537/causal_world/envs/robot/trifinger.py#L324-L371
Of that, 6% of the step time (40 mu s per call) is spent on this safety check implemented in numpy. I did not understand the current implementation of the torque check from a logical point and also believe its rather slow
https://github.com/rr-learning/CausalWorld/blob/7e2958a1db3af4f801d6d6df4fd1e507304ca537/causal_world/envs/robot/trifinger.py#L415-L438
First of all, this function performs exactly the same function in roughly 5-10 times faster. (5 mu s per call)
Reason is that self._max_motor_torque is broadcasted and np.clip is slow. step() Simulation time would speed up by ~4%
Fix 1
    def _safety_torque_check(self, desired_torques):
        """

        :param desired_torques: (nd.array) the desired torque commands to be applied
                                            to the robot.

        :return: (nd.array) the modified torque commands after applying a safety check.
        """
        applied_torques = np.maximum(
            np.minimum(
                np.asarray(desired_torques),
                +self._max_motor_torque,
            ),
            -self._max_motor_torque,
        )

        applied_torques -=  self._safety_kd * self._latest_full_state[
            'velocities']

        applied_torques = np.maximum(
            np.minimum(
                applied_torques,
                +self._max_motor_torque,
            ),
            -self._max_motor_torque,
        )

        return applied_torques.tolist()

In my opinion, this function in general does not implement a reasonable logic.
Currently, the safety factor _safety_kd is only applied where there are positive torques and positive velocities.
The torque limits are asymmetric, I don't understand how this makes sense on the robot. Maybe, the upper (or respectively; lower ) bounds should be tightened when moving with positive (or respectively; negative) velocity.
Fix 2
    def _safety_torque_check(self, desired_torques):
        applied_torques = np.asarray(desired_torques)

        # alternative
        # torque_bound = self._max_motor_torque - np.abs(self._safety_kd * self._latest_full_state['velocities'])

        torque_bound_upper = self._max_motor_torque - self._safety_kd * np.maximum(self._latest_full_state['velocities'],0.)
        torque_bound_lower = - self._max_motor_torque - self._safety_kd * np.minimum(self._latest_full_state['velocities'],0.)

        # clip upper torque
        applied_torques = np.minimum(
            applied_torques,
            torque_bound_upper,
        )
        # clip lower torque
        applied_torques = np.maximum(
            applied_torques,
            torque_bound_lower,
        )

        return applied_torques.tolist()
    ```

Thanks a lot for tracking this down!
Regarding fix 1:
I did some quick benchmark and can confirm that np.clip is indeed much slower than calling np.minimum and np.maximum (factor 8 on my machine...), so fixing this makes a lot of sense.  From a discussion on the numpy repo I learned that there is also np.core.umath.clip which has overall best performance, so I would suggest using that instead of np.minimum/maximum (it also gives more readable code).
Regarding fix 2: I'm not sure about this change, let's discuss it in the meeting tomorrow.

Thanks for your comment! I was not aware of np.core.umath.clip. It seems like from numpy version 1.16 to 1.17 this got ~11 times slower
timeit.timeit("np.clip(a, -3, +3)",setup="import numpy as np;a=np.asarray([1,1,2,4,-5])", number=1000000)

np.core.umath.clip is not part of the public api of numpy and not available for versions before numpy 1.17. It has comparable speed to np.minimum/maximum (around 5% faster) and is more readable.
For speed across versions, I think the np.minimum/maximum might be still the way to go.

Hm, how about something like
try:
    clip = np.core.umath.clip
except AttributeError:
    clip = np.clip

at the top of the file?  For <=1.16 np.clip should still be good and for later versions there is np.core.umath.clip.
I'd really prefer to avoid minimum/maxium as I think it makes the code much less readable (and thus easier to miss mistakes).

Is resolved, the logic with 2x clipping works as damping for higher velocities and #102


Removed keyword argument "force" from logging.basicConfig.

This pull request fixes https://github.com/opencybersecurityalliance/kestrel-lang/issues/97.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

I see. I have added that functionality. Please take a look @subbyte. Also, I apologize in advance if there are mistakes. It's my first time dealing with Python logging!


Add concepts section

I propose to create a concepts section using the same style as in ROS 2 docs (https://docs.ros.org/en/rolling/Concepts.html). Here we can document different issues to take into account when developing a real-time capable application using ROS 2. This issue can work as place to discuss which topics we want to cover.  We can open specific issues for each concept once we decide what to include.
Proposal:

Memory management

Real-time capable containers: https://gitlab.com/ApexAI/apex_containers
Static Memory Allocation in DDS and rmw implementations
Bounded or fixed-sized data types
Memory allocations in ROS 2 and middleware
Real-time capable memory allocator
- https://www.youtube.com/watch?v=l14Zkx5OXr4&ab_channel=CppCon
- https://docs.ros.org/en/foxy/Tutorials/Allocator-Template-Tutorial.html
- https://github.com/ros2/rosidl/issues/566
Memory locking:
- https://design.ros2.org/articles/realtime_background.html
- https://wiki.linuxfoundation.org/realtime/documentation/howto/applications/memory
Detection of memory allocation and blocking system calls
- https://github.com/osrf/osrf_testing_tools_cpp
- https://gitlab.com/ApexAI/apex_test_tools
- https://github.com/ros-realtime/community/issues/8

Logging
Blocking calls
Executor

ROS 2 callback groups
Executor Design https://docs.google.com/document/d/1O53xOVlk4zwsfNukLaDbSWfT64wnoD9xh2EjWwX43qo/edit
RCLC executor: https://micro.ros.org//docs/concepts/client_library/execution_management/

Exceptions safety in C++

https://github.com/safety-critical-cpp/papers/blob/master/telecon/Exceptions_in_safety_critical_code.pdf
https://github.com/ApexAI/static_exception
https://drive.google.com/file/d/1nOhV2pHv24lRDlP5_UnAjwpwhzVLKIi8/view

Concurrency and synchronization primitives

Priority inversion
Mutex, lock free, etc

Moved to https://github.com/ros-realtime/ros-realtime.github.io/issues/10


Infinite Repeating by Daft Punk

Song Name
Infinite Repeating
Artist Name
Daft Punk
Source
Youtube
Youtube Link
https://www.youtube.com/watch?v=imBlPXbAv6E
Direct File Link
No response
Song ID
1000000
Extra
Created from Auto Nong.
Created for level: 106228687
UwU

accept

I

accept