Make Woocommerce variables custom

A comment I made on commit 289c65e07833929d869489e005fe92c9c198848f:
Is it an idea to create custom variables, that call the Bootstrap variables? So if someone would want to change the colors in their child theme, they just need to change the variable definition.
Either that, or use the fallback in variable calling, so you call a variable that hadn't been made yet, and people can add to change the color easily.
I can write some examples if you want.

Yes, that seems to be a good idea! If you have already an idea in mind how to solve that, I am happy about your contribution.

Here is an example of how I imagined it. This way you don't get a long list of variables in the root, and as long as a bscore variable isn't defined it will fall back to the Bootstrap variable.
.woocommerce div.product p.price, .woocommerce div.product span.price, .card .price {
    color: var(--bscore-wc-price, --bs-gray);
}

I first tried it with a root and all custom variables, but it will just create a very long list of unnecessary variables if the user is not planning to change them.
If you think it's a good idea like this, I can make a pull request for this.

Yes please, PR is fine. Maybe this can be an option for other colors? Some users prefer CSS overrides instead of compiling an own  Bootstrap.

What exactly do you mean by that? That people can override default Bootstrap styling? Or do you just mean in parts in bootScore where you call Bootstrap variables?

I got this working with 2nd variable inside:
.woocommerce div.product p.price, .woocommerce div.product span.price, .card .price {
    color: var(--bscore-wc-price, var(--bs-gray));
}

What I mean in previous comment is that many users are not able or do not want to edit Bootstrap with Sass. Instead they using CSS overrides for colors and this can be tricky.
Whats about the idea to provide custom variables for more as a feature? I'm not sure if we should open this box, because possibilities are limited and it will be difficult to remove that later if that's not so good after all. But I'd like to share and love to hear what you think about.
Bootstrap does this:
.bg-primary {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important;
}

We can provide a fallback:
.bg-bscore-primary {
    background-color: var(--bscore-primary, var(--bs-primary)) !important;
}

Set root color in child
:root {
    --bscore-primary: #fe0130;
}

Change classes in theme
<p class="bg-bscore-primary p-3 text-white">
    bg-btscr-primary
</p>

bg-* classes are just used in header.php, footer.php and functions.php.
This work for all bg-* and text-* classes but not for Sass generated shades or rgb in form focus, checks and alerts. (Still) not work for buttons and body links.
Please check here: https://dev.bootscore.me/custom-color-variables/

Oops, yeah. For another variable as fallback, you need to indeed call var() again. Forgot about that.
And for the other classes, I think it's a nice idea, but it will be a start of a long list of different classes, and at the same time people will start to ask when things like buttons will be supported. I think that for basic classes, like bg-primary, it would be fine to override manually. The Woocommerce classes are often more than one, and more prone to changes. That way updates should also be easier to manage.

You're absolutely right. We stay with WooCommerce. 😉

Closed by https://github.com/crftwrk/bootscore/pull/14


Update aws-java-sdk-dynamodb to 1.12.286

Updates com.amazonaws:aws-java-sdk-dynamodb from 1.11.1034 to 1.12.286.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.amazonaws", artifactId = "aws-java-sdk-dynamodb" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "com.amazonaws", artifactId = "aws-java-sdk-dynamodb" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #327.


Add WASD functionality to keyboard

It allows to navigate into the scene where W = forward, S = backward, A = left and D = Right.

Ready for review.

There exists mouse and WASD movement support in https://github.com/google/bigwheels/blob/main/projects/20_camera_motion/main.cpp#L109. I wonder if the common parts may be lifted into ppx/?
If it makes sense. I haven't actually looked at the new implementation.

Thanks for the update. That was the reference I took to implement this PR but I added/modified some  parts for our needs, I am also in favor of adding the common parts into ppx. Also I noticed that the 20_camera_motion sample has the mouse movement capability incorporated, however, it moves only among the xz-plane (y = 0), so I am working on adding the 3D. Once I finish this part I think I can also add into ppx.

There exists mouse and WASD movement support in https://github.com/google/bigwheels/blob/main/projects/20_camera_motion/main.cpp#L109. I wonder if the common parts may be lifted into ppx/?
If it makes sense. I haven't actually looked at the new implementation.

Thanks for the update. That was the reference I took to implement this PR but I added/modified some parts for our needs, I am also in favor of adding the common parts into ppx. Also I noticed that the 20_camera_motion sample has the mouse movement capability incorporated, however, it moves only among the xz-plane (y = 0), so I am working on adding the 3D version of it. Once I finish this part I think I can also add into ppx.

Thanks!  To clarify my initial question: I'm not looking for this re-factor in this PR.  I was curious as to whether there is a possible re-factoring here, but it needs to (a) make sense, and (b) it can be done as a future addition.  No point blocking this PR unnecessarily.

Ready for review.

Ready for review and also I rebased it.


[DMS-56] Pass the correct context in dec_field'

In dec_field' in some places, we're passing the wrong context (e.g. ctxt instead of ctxt'). In this PR ctxt variables with ticks got stripped, let's use shadowing to get rid of this inconsistency.

And also do rebase instead of merge. It's not so important, but maybe for PR in a 1-2 commits it makes more sense and make less work for reviewing them later by Dfinity


Transaction Building/Signing/Verifying Test Vector Brainstorm

I now have a working implementation of adpator-based DLCs. I would like to begin brainstorming a list of cases we want to make sure are included in the transaction building test vectors I will be generating.
Things that come immediately to my mind:

"Vanilla" construction for n outcomes where n = 2, 3, 5, 8, 100 and various oracle signatures with computed completed CETs (Happy Path)
"Vanilla" construction with invalid oracle signature
"Vanilla" construction with valid oracle signature of invalid event
Invalid refund signature
Invalid DLEQ proof on one CET, all CETs
Invalid adaptor signature (with valid DLEQ proof)
Invalid adaptor signature and invalid DLEQ proof
Invalid funding signature
Non segwit funding input
Invalid final address
Invalid offer
Invalid accept
Sign message missing signatures

Please add to this list and/or critique it!

Closing #30 as this supersedes it

Negative outcome values
Incorrect fee rate
party did not fund the correct amount
invalid change address
invalid change amount
CET has extra inputs
CET has missing/no inputs
CET has extra outputs
CET has missing/no outputs
funding tx has extra inputs
funding tx has missing/no inputs
funding tx has extra outputs
funding tx has missing/no outputs
wrong nLocktimes
wrong sequence
wrong keys in funding output script
funding output has wrong script

* Negative outcome values

* Incorrect fee rate

* party did not fund the correct amount

* invalid change address

These I like

* invalid change amount

* CET has extra inputs

* CET has missing/no inputs

* CET has extra outputs

* CET has missing/no outputs

* funding tx has extra inputs

* funding tx has missing/no inputs

* funding tx has extra outputs

* funding tx has missing/no outputs

* wrong nLocktimes

* wrong sequence

* wrong keys in funding output script

* funding output has wrong script

These I'm a little unsure about as transactions are not actually communicated between parties so these cases will just result in invalid signatures right?

These I'm a little unsure about as transactions are not actually communicated between parties so these cases will just result in invalid signatures right?

Yeah, I guess these are more things to that people should testing with the test vectors

Good point, I guess I could generate a bunch of invalid signatures in this way with error messages about how they were generated to make life easier for people when debugging

Funding transactions with different kinds of exotic change output SPKs

Funding transactions with various numbers of inputs from each party


Update golang text library

Update golang.org/x/text to 0.3.7
Fix CVE-2021-38561 and CVE-2020-28852
Signed-off-by: Fred Rolland<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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 69.442%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
759

Relevant Lines:
1093

💛  - Coveralls

thanks @rollandf !


Request for Vertical (Stacked) Query Tabs Display Option in DBeaver

Hello DBeaver Team,
I am a frequent user of DBeaver and really appreciate the functionality it offers. However, I've been looking for a way to customize the layout of query tabs within the application to display vertically instead of horizontally, which would be particularly useful when working with numerous open queries or limited screen real estate.
Currently, it seems that DBeaver doesn't natively support a vertical orientation for its query tabs. This feature is often found in other IDEs and could greatly enhance the user experience by allowing more efficient navigation among multiple queries.
Could you please consider adding an option to configure the query tabs to stack vertically? It would help users who work on high-resolution monitors or have multi-monitor setups where space management is crucial.
Thank you very much for your consideration, and I look forward to any updates or solutions regarding this request.

I was looking for this same resource that @shaochangxing is asking for.

I don't believe this suggestion is what we need.

We would greatly appreciate it, if you could explain why.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=58945
https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/173778/14#message-396057146457f282afe0e4a2b76c01d9fb505022
代码满足不了要求，后面没人推进了

I don't believe this suggestion is what we need.

We would greatly appreciate it, if you could explain why.
I posted the idea here...
https://github.com/dbeaver/dbeaver/issues/23248#issuecomment-2025810640

Thank you for explanation. It's a duplicate of #14546, so I'm closing this issue.
You can vote for the mentioned issue with 👍 under the issue description to promote it to a higher priority.

The original poster there is only asking for the result tabs. We also want  the query/script tabs to be arrranged vertically.

Thank you for explanation. It's a duplicate of #14546, so I'm closing this issue. You can vote for the mentioned issue with 👍 under the issue description to promote it to a higher priority.

The original poster there is only asking for the result tabs. We also want the query/script tabs to be vertically arranged.

OK
So, for clarification: the issue is about placing SQL Editor (and probably Entity editor) tabs vertically.

OK So, for clarification: the issue is about placing SQL Editor (and probably Entity editor) tabs vertically.

Yes (SQL Editor). Me and @shaochangxing placed examples (scheenshots) displaying our examples/ideas that work in the way we explained.

Agreed on the need for vertical tabs. I would also add the alternative of allowing for customizing of the tab labels; when they all start with the current database name, that's all you see when you have multiple tabs open.

One way would be to have a flag in "Project" panel where scripts are displayed vertically.
Could be:

Not open = No flag
Opened but not modified = green check
Opened and unsaved changes = *

Just a suggestion

Same request. It's very convenient when many tabs are opened.
Microsoft Edge has this option. Here is what it looks like in ms edge.


fix: Update Gomix handler

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)

Checklist:

[x] Tested changes locally.
[x] Refers : https://github.com/freeCodeCamp/freeCodeCamp/pull/13166#issuecomment-277787474

Description

Updates the references to Hyperdev to Gomix in the handler

Stop sending me this all
On Feb 8, 2017 12:14 PM, "Berkeley Martinez"<EMAIL_ADDRESS>wrote:

Merged #13197 https://github.com/freeCodeCamp/freeCodeCamp/pull/13197.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/freeCodeCamp/freeCodeCamp/pull/13197#event-954301174,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWmXKRITL2IxRo5XmPTeueFfoYqdoLQhks5ragX2gaJpZM4L4qjH
.

@Fiyared1017, you can remove email notifications (https://github.com/settings/notifications) completely, or just unwatch the FreeCodeCamp repository. Sorry about that!


Feign timeout works but response is returned to the server after timeout + 60''

Hello,
I am using Ribbon + Feign in a project
@FeignClient(name = "test-proxy")
@RibbonClient(name = "test-proxy")
public interface TestProxy ...

I have set the Feign timeout to 10'' using the following bit of code:
@Bean
public Request.Options options() {
	return new Request.Options(10000, 10000);
}

The timeout works, I get a
feign.RetryableException: Read timed out executing POST...
but the response is not returned until 60'' afterwards (after about 70'' in total). The same thing happens if I set the timeout to 5'', the response is returned after about 65''.
It seems there is some thread that is running and stops the response from returning. I read that this might be due to Hystrix thread that waits to time out, but we do not use Hystrix (at least not explicitly).
I tried nevertheless to disable the Hystrix functionality using properties in the application.properties, but to no avail.
Any thoughts on this? Is this a bug or something I am missing?
These are the dependencies I use:
dependencies {
	compile('org.springframework.boot:spring-boot-starter-web')
	compile group: 'org.springframework.cloud', name: 'spring-cloud-starter-openfeign', version: '1.4.4.RELEASE'
	compile group: 'org.springframework.cloud', name: 'spring-cloud-starter-netflix-ribbon', version: '1.4.5.RELEASE'
	compile group: 'org.springframework.cloud', name: 'spring-cloud-starter-netflix-eureka-client', version: '1.4.4.RELEASE'
	compile group: 'org.springframework.cloud', name: 'spring-cloud-dependencies', version: 'Edgware.RELEASE', ext: 'pom'
	runtime('org.springframework.boot:spring-boot-devtools')
}

Thank you

I would first suggest using the latest Edgware release SR4.
The @RibbonClient(name = "test-proxy") seems unnecessary.
Since you are using Ribbon I would not set the Feign timeout but instead set the Ribbon timeout
ribbon:
  ConnectTimeout: yyy
  ReadTimeout: xxx

Hello Ryan, thank you for your prompt reply.
I have used the latest Edgware release:
compile group: 'org.springframework.cloud', name: 'spring-cloud-dependencies', version: 'Edgware.SR4', ext: 'pom'
I have removed the @RibbonClient so now my interface only has the @FeignClient annotation.
I have added the following properties in application.properties
ribbon.ReadTimeout=5000
ribbon.ConnectTimeout=5000
ribbon.MaxAutoRetries=0

but unfortunately I still have the same problem. Ribbon does timeout after 5'' but Postman does not return a response until after 66419 ms have passed.
Any more ideas? This is the bit of code that throws the read timeout exception
@PostMapping(value= "/proxy", consumes = "application/json", produces = "text/plain")
public ResponseEntity<String> test(@RequestBody final Map<String, Object> parameters) {
	ResponseEntity<String> res = null;

	try {
		res = proxy.test(parameters);
	} catch (final FeignException e) {
		LOGGER.error(e.getMessage(), e);
		res = ResponseEntity.status(e.status()).build();
	}

	return res ;
}

If I put a break point I can see that the exception is caught, the error is logged, the line return res ; is executed, but Postman does not return it immediately. There must be something that keeps the response from returning but I have no idea what.
Any more thoughts?
Thank you

Hello Ryan,
I have uploaded a stripped down version that indicates the problem: https://ufile.io/wq0fh
There are two projects in the rar. One is the actual service (with a 20'' delay), the other is the Ribbon balancer with a Feign client. I have set the timeout to 5'' (using Request.Options, the ribbon properties seem to be ignored) and although you can see the exception on the ribbon window, the request returns roughly after 60'' + the delay.
For building I used gradle 3.4.1 with Spring Boot 1.5.2 and Java 1.8.
Thank you

Hello @girionis I have tried reproducing it and it did work the way you describe it in Postman, however, while using different http clients, I got the response straight away, which is why I would assume the issue is with Postman rather than with Feign/ Ribbon. Please try using a different http client, such as httpie and let me know if you still have any issues.

Hello Olga, thanks for looking into it.
You are right, the httpie works as expected whereas Postman fails.
Can you shed some light on what's happening after a timeout occurs in Ribbon? This small app exhibits the same behaviour as Postman
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
import java.util.Date;

public class Main {
    public static void main(String[] args) {
        try {
        	URL url = new URL("http://<IP_ADDRESS>:8100/proxy/test");
        	URLConnection connection = url.openConnection();
        	System.out.println("Sending request on: " + new Date());
		    BufferedReader in = new BufferedReader(
		                            new InputStreamReader(
		                            connection.getInputStream()));
		    String inputLine;
		    System.out.println("Will try to read from the stream on: " + new Date());
		    while ((inputLine = in.readLine()) != null) {
				System.out.println(inputLine);
			}
		    in.close();
		    System.out.println("Read everything from the stream on: " + new Date());
        } catch (Exception e) {
        	System.out.println("Exception occured on: " + new Date());
        	e.printStackTrace();
        }
    }
}

the connection.getInputStream() does return after 10'' because of a read timeout, so this is the expected behaviour. However the flow waits for 60'' at while ((inputLine = in.readLine()) != null) {.
I manually need to check if there is data to read by using in.ready() in order to get the desired behaviour. I would have thought that connection.getInputStream() would have thrown an IOException if there was an error with Ribbon.
Of course it still works as expected if I add the timeout on the connection
connection.setConnectTimeout(10000);
connection.setReadTimeout(10000);

Does Ribbon throw an exception on timeout or it just returns an empty stream?

Hello @girionis I have tried reproducing it and it did work the way you describe it in Postman, however, while using different http clients, I got the response straight away, which is why I would assume the issue is with Postman rather than with Feign/ Ribbon. Please try using a different http client, such as httpie and let me know if you still have any issues.

I got the same problem . I set the test url  to return in 3s,and set the read-timeout value 2s.
the timeout mechanism is work but the exception will be thrown after about 10s.
So i think the reason is that feign have already retried a lot of times.
and the Exception will throw after 2s which i expected after I set the retryer Retryer.NEVER_RETRY.


Problem on showing 0 (zero) in the label, Swift 2.2 and Xcode7.3

After updating my project to Swift 2.2 in xcode 7.3 none of the following code showing 0 (zero) in the label.
myMorphingLabel.text = "0"

Or
let zeroValue = 0
myMorphingLabel.text = String(zeroValue)
myMorphingLabel.text = String(format: "\(zeroValue)")

But if I try with 1 or 0.0, it works.
Can please check this? Thanks.

How do you install this lib? CocoaPods or Carthage?

I just publish the latest version. Please upgrade and try again.


Add field name to schema load error

Before the change, when invalid data exists in a schema, the error doesn’t indicate which field contains the problem.
** (ArgumentError) cannot load `"[\"postal\", \"home\", \"work\"]"` as type {:array, :string} in schema MyModule.MyModel

after the change, the error message includes the field name (which is very useful when there are a lot of fields of a similar type in a schema)
** (ArgumentError) cannot load `"[\"postal\", \"home\", \"work\"]"` as type {:array, :string} for :my_array_field in schema MyModule.MyModel

Note  There are no tests for this change because I was not sure how to test this.

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:


chore: add back recipes on e2e tests

e2e tests still fail: https://github.com/kili-technology/kili-python-sdk/actions/runs/4265023074

@Jonas1312 I fixed the notebook and the tests are passing, but because of the plugin_workflow e2e test, the pipeline is very close to timeout now (14:12 and 14:58 minutes) : https://github.com/kili-technology/kili-python-sdk/actions/runs/4281011274/jobs/7454141381
Can I increase the timeout ? For context, that notebook tests the creation of a plugin, which takes around 3 minutes because of the build time

Yes I'm not against it! It's an important feature, so it's worth it


az network bastion tunnel crashes with "Unexpected internal error"

Describe the bug
I am attempting to tunnel to Azure Cosmos MongoDB with bastion. I believe I have the subnet and NSG setup correctly and have added cosmos to the bastion subnet correctly, but when I connect to the tunnel the process crashes with an "Unexpected internal error" and the tunnel fails.
Command Name
az network bastion tunnel
Errors:
Exception in thread Thread-1 (_start_tunnel):
Traceback (most recent call last):
  File<EMAIL_ADDRESS>line 1016, in _bootstrap_inner
    self.run()
  File<EMAIL_ADDRESS>line 953, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/Cellar/azure-cli/2.39.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/network/custom.py", line 8601, in _start_tunnel
    tunnel_server.start_server()
  File "/usr/local/Cellar/azure-cli/2.39.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/network/tunnel.py", line 184, in start_server
    self._listen()
  File "/usr/local/Cellar/azure-cli/2.39.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/network/tunnel.py", line 117, in _listen
    auth_token = self._get_auth_token()
  File "/usr/local/Cellar/azure-cli/2.39.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/network/tunnel.py", line 104, in _get_auth_token
    raise exp
msrestazure.azure_exceptions.CloudError: Unexpected internal error

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

Create Azure CosmosDB instance
Create Bastion, Subnet, NSG, etc.
Add Cosmos to the bastion subnet
Open a tunnel to the cosmos db resource
Get the connection string from the cosmosdb resource, change the hostname to localhost, connect using Mongo Compass (or any other desktop client).
az network bastion tunnel --name {} --resource-group {} --target-resource-id {} --resource-port {} --port {}

COSMOS_ID=$(az cosmosdb list --resource-group $RES_NAME | jq -r '.[] | .id')
az network bastion tunnel \
  --name "$RES_NAME" \
  --resource-group "$RES_NAME" \
  --target-resource-id "$COSMOS_ID" \
  --resource-port 10255 \
  --port 10255

Expected Behavior
I expect the tunnel to succeed, or a clear error message is printed out explaining why it didn't succeed. Optionally, if CosmosDB is not a supported target then I would expect the tunnel command to check the --target-resource-id resource type and give a useful error message and not open the tunnel port at all.
Environment Summary
macOS-10.15.7-x86_64-i386-64bit, Darwin 19.6.0
Python 3.10.6
Installer: HOMEBREW

azure-cli 2.39.0

Extensions:
account 0.2.3
blueprint 0.3.1

Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1

Additional Context
My company blocks all outbound network traffic that isn't port 443, so I need to tunnel to connect my local machine to the database for debugging and testing. I'm trying to utilize bastion for this purpose but its crashing and not giving appropriate feedback about whats going wrong.

route to CXP team

Similar issue with az network bastion ssh
Command group 'network bastion' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus Exception in thread Thread-1 (_start_tunnel): Traceback (most recent call last):   File<EMAIL_ADDRESS>line 1016, in _bootstrap_inner     self.run()   File<EMAIL_ADDRESS>line 953, in run     self._target(*self._args, **self._kwargs)   File "/usr/local/Cellar/azure-cli/2.40.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/network/custom.py", line 8475, in _start_tunnel     tunnel_server.start_server()   File "/usr/local/Cellar/azure-cli/2.40.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/network/tunnel.py", line 184, in start_server     self._listen()   File "/usr/local/Cellar/azure-cli/2.40.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/network/tunnel.py", line 117, in _listen     auth_token = self._get_auth_token()
Environment:
MacOS Version 12.5.1 Install: Homebrew

Similar here from MacOS to a WindowsVM
This works from Windows to Windows.
Error:
Command group 'network bastion' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
The command failed with an unexpected error. Here is the traceback:
cannot import name 'WinDLL' from 'ctypes'<EMAIL_ADDRESS>Traceback (most recent call last):
File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 663, in execute
raise ex
File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 697, in _run_job
result = cmd_copy(params)
File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 333, in call
return self.handler(*args, **kwargs)
File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/network/custom.py", line 8352, in rdp_bastion_host
from ._process_helper import launch_and_wait
File "/opt/homebrew/Cellar/azure-cli/2.42.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/network/_process_helper.py", line 9, in
from ctypes import WinDLL, c_int, c_size_t, Structure, WinError, sizeof, pointer
ImportError: cannot import name 'WinDLL' from 'ctypes'<EMAIL_ADDRESS>Environment:
ProductName:            macOS
ProductVersion:         13.0
BuildVersion:           22A380
Install: Homebrew
azure-cli                         2.42.0
core                              2.42.0
telemetry                          1.0.8
Extensions:
account                            0.2.3
Dependencies:
msal                              1.20.0
azure-mgmt-resource             21.1.0b1

@MarkDarwin Apologies for the late reply. You will see this issue if you try to run the command from the portal Azure cloud shell.
Please run the command from your local machine ( on PowerShell with AzCLI). Also, note that RDP command works best on Windows, for other OS’ you can do the tunnel command and then use the client of your choice.
Tagging another similar issue here. https://github.com/Azure/azure-cli/issues/23143 if that helps.

@MarkDarwin I wanted to do quick follow-up to check if you had a chance to look at my above comment. Please let us know if you had any updates on this. Awaiting your reply.

@MarkDarwin The action is currently pending on you to try the above plan. Please feel free to reopen this thread, once you have an update. We would be happy to help.

@navba-MSFT I am not running from the portal azure cloud shell, this was from the terminal on a mac.
az network bastion list -g  <my_rg_here> does work so at least querying is ok
I'm not aware of the command just to establish a tunnel. If you can supply it, I will test tomorrow.
The command I am trying to run is:
az network bastion rdp --name mybastionname --resource-group mybastionrgname --target-resource-id /subscriptions/xxx-2fac-4469-b0c2-xxx/resourceGroups/myvmrgname/providers/Microsoft.Compute/virtualMachines/my-vm-here
If it's possible to make a connection to the bastion then use e.g. 'Microsoft Remote Desktop' application to rdp, I'd be happy with the two step process.

I have the same issue with Linux azure-cli, 2.44.1

Create tunnel:

╰> az network bastion tunnel --name ${BASTION} --resource-group ${BRG} --target-resource-id ${RID} --resource-port 80 --port 8080
Command group 'network bastion' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Opening tunnel on port: 8080
Tunnel is ready, connect on port 8080
Ctrl + C to close

Launch a connection test from another terminal:

╰> nc -v localhost 8080
Connection to localhost (<IP_ADDRESS>) 8080 port [tcp/http-alt] succeeded!

Error + tunnel crash as soon as connection test is launched:

Exception in thread Thread-1 (_start_tunnel):
Traceback (most recent call last):
  File "/opt/az/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/opt/az/lib/python3.10/threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/network/custom.py", line 8404, in _start_tunnel
    tunnel_server.start_server()
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/network/tunnel.py", line 184, in start_server
    self._listen()
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/network/tunnel.py", line 117, in _listen
    auth_token = self._get_auth_token()
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/network/tunnel.py", line 104, in _get_auth_token
    raise exp
msrestazure.azure_exceptions.CloudError: Unexpected internal error

Target resource ID that I used here is a container instance. I got an "nc -l 80" running in it, port redirection is enabled in CI.

@navba-MSFT Why was this closed with no fix? Also the reproduction steps you seemed to list are not really relevant to the issue.
I just want to reiterate that this issue is specifically related to tunnelling to a resource that is not a VM (CosmosDB). The error message does not seem to check or make clear the reason why tunneling to an unsupported resource type fails.

@justinmchase

@justinmchase Thanks for getting back and clarifying the ask. I have reopened this issue and added Service team to look into this further.
@aznetsuppgithub Could you please look into this issue ? Thanks.

@justinmchase Please update your bastion extension by running the below command and check if that helps ?
> az extension update -n bastion
Hope this helps.

Hey,
This issue is still /unresolve
Tested steps before, eg. install powershell, update bastion extension, but these do not resolve error.
PS /Users/juho>  az network bastion rdp --name bastion-prod --resource-group prod --target-resource-id 1-prod      Command group 'az network' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus The command failed with an unexpected error. Here is the traceback: cannot import name 'WinDLL' from 'ctypes'<EMAIL_ADDRESS>Traceback (most recent call last):   File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke     cmd_result = self.invocation.execute(args)   File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 663, in execute     raise ex   File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially     results.append(self._run_job(expanded_arg, cmd_copy))   File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 697, in _run_job     result = cmd_copy(params)   File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 333, in __call__     return self.handler(*args, **kwargs)   File "/opt/homebrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler     return op(**command_args)   File "/Users/juho/.azure/cliextensions/bastion/azext_bastion/custom.py", line 232, in rdp_bastion_host     from ._process_helper import launch_and_wait   File "/Users/juho/.azure/cliextensions/bastion/azext_bastion/_process_helper.py", line 9, in <module>     from ctypes import WinDLL, c_int, c_size_t, Structure, WinError, sizeof, pointer ImportError: cannot import name 'WinDLL' from 'ctypes'<EMAIL_ADDRESS>To check existing issues, please visit: https://github.com/Azure/azure-cli/issues To open a new issue, please run az feedback``

ImportError: cannot import name 'WinDLL' from 'ctypes' is tracked by #23143

@deepforu47 where you able to fix it?
I am getting exactly the same issue in the same scenario.
My colleagues are able to execute all with the same data, but in my laptop i am getting the "authToken" issue and break my tunnel connection.


Give heads up to Rejuvenation Olympics organizers

I don't think they consider business a zero sum game, but I should notify them nevertheless to get ahead of any possibility of bad blood (pun intended)

Wait with this until https://github.com/nopara73/LongevityWorldCup/issues/2 is resolved.


[2.2] [Backport]  System project monitoring

Proposed changes
Do not allow users to enable Project Monitoring In System Project. Change was made in https://github.com/rancher/ui/commit/a224ed6a361a61dc6c5e1a0b67d1ee30dc9cbbdb
We would like to backport it to 2.2

Types of changes

Bugfix (non-breaking change which fixes an issue)

Linked Issues
https://github.com/rancher/rancher/issues/23445

Further comments

It looks like yarn.lock is incorrect in 2.2 branch. intl-format-cache 2.1.0 works for me


Wrangling of new dataset:GSE116113 (pre-converted by geo-to-hca.py)

Dataset/group this task is for:
GSE116113
Wrangler responsible for this dataset/lab:
A wrangler working on operations this sprint
Description of the task:

[ ] Complete conversion of the dataset by manual curation. The pre-converted version can be found here: https://drive.google.com/drive/folders/1RofJBNx2yJjRrTwzihNKf4UiiUKgqQ-U

[ ] Secondary review of dataset

[ ] Validate the dataset by uploading to ingest

[ ] Validate the dataset with graph validator?

[ ] Add to list of datasets 'Complete' for MVP: https://docs.google.com/spreadsheets/d/1DfRFfZpZEmWU6aubKwIZ4D0lfm038IW0fmHRigS8yBU/edit#gid=552473761

This dataset also has the same problem:
https://trace.ncbi.nlm.nih.gov/Traces/sra/?run=SRR7721684
Data files are not really available for public download.

Contacted the authors with the following questions:

In the publication Supplementary Table 1, there is a list of human donors, their age and sex, and HBV status. However, there is only 1 sample for which the raw single-cell expression data can be found in NCBI using the study accession SRP158389. The sample can be found here: https://www.ncbi.nlm.nih.gov/biosample/SAMN09464696 annotated with sex = "Male" and race = "Asian", cell type = "Hepatocyte-derived liver progenitor-like cells". Does this mean that single-cell expression analyses was performed on just 1 sample from 1 human donor, or were single cell libraries prepared for all human donors, but only the raw fastq for 1 of these was able to be made publically available? Alternatively, were the cell suspensions from each of the human donors pooled into 1 sample? This seems unlikely as the sample is annotated as derived from 1 male of Asian ethnicity.

I understand that 10X 3' technology was used to generate single cell libraries. Was this 10X 3' v2 or 10X 3' v3 technology?

There are many steps in the expansion and differentiation process. At what stage was Sample 1 (https://www.ncbi.nlm.nih.gov/biosample/SAMN09464696) dissociated into single cells for 10X library preparation? The sample is labelled with ""in the transition and expansion medium (Passage 5)", however I am unsure at which stage this was in the expansion and differentiation description in the Methods section.

Upload to this project to prevent duplicates in catalogue: https://contribute.data.humancellatlas.org/projects/detail?uuid=42b8e244-f7a4-402a-b71d-ed5aceeb8a63

I was able to get the 10X technology version from the GEO metadata based on the barcode lengths info. The metadata also describes it as being from 1 human male donor. Have requested the fastq files from NCBI cloud delivery as they are not available in the correct format from ENA.

Needs ontologies then @Wkt8 to secondary review

Have had a look at this now. It seems quite bizarre that there's only one cell suspension, but according to the GEO accession there is only one. They also have another GEO accession for seemingly total RNA sequencing, but that is less helpful. Did the authors never get back to you on your questions?
Anyway, just a few comments!
Project - Publications:
Could use the project.publications.official_hca_publication field but alternatively we could add that in the UI!
Specimen from organism tab
Should add Known diseases: Hepatic hemangioma
Cell Suspension:
The cell suspension is missing links for the dissociation, enrichment, and differentiation protocols
Analysis Protocol:
Analysis protocol content description doesn't have an ontology term
Is there a suitable content description from the ones newly pushed to the OLS?
processed matrix generation (might be good?)
raw matrix generation
analysis of matrices
Analysis File:
Maybe worth putting the full name of the single file inside the .tar file? There's only one file in the .tar

Thanks @Wkt8 !
I made most of your suggested changes. But a few points on what I didn't change:

The sample was taken from a normal part of the liver outside of the disease area, so I have kept the specimen_from_organism disease status as 'normal;.
I didn't change the name of the file because I have uploaded the tar file to an hca-util upload area already and it needs to match. I'm not sure what the real benefit of having the single file name instead would be.
I will add the hca_publication info. to the project in ingest production

@ami-day to submit the form and verify export

@ami-day will this be brokered into SCEA or can it be closed?


Summary does not reflect all history if you ask for fewer than 12 messages

The size of our prompt was leaving our AI slow. With doc stores and history our prompts were getting into the 1,000 token range and prompt eval time got up to 2 minutes.
When I tried to limit the history to the last 5 messages, I noticed that the summary was never returned until there were 12 messages in history. When the summary is returned, it is only a summary for the messages > 12.
<s>[INST] <<SYS>>
You are cordial, professional, honest and you do not make up answers. You avoid answers that make you sound like an AI or large language model.
You don't feel the need to introduce yourself or greet someone when starting a response.

Use the following context to help answer the question if it is available and relevant to the question asked.

Here is a memory of our conversation. My questions are labeled 'human' and your responses are labeled 'ai'. Use this to help answer questions if it is relevant.
Summary: The human asks about the state of the union in America. The AI responds by stating that the State of the Union is strong and provides examples of job creation and global cooperation. The human then asks about The Witcher, and the AI explains that it is a popular Netflix show based on a fantasy book series by Andrzej Sapkowski. The AI mentions the main character, Geralt of Rivia, and the talented cast of the show. The human further asks about the love interest in the book, and the AI identifies Yennefer as Geralt's love interest and provides background information on her character. The AI also mentions the actress who portrays Yennefer in the Netflix series. The human then asks about another character, Ciri. The AI responds by giving a detailed description of Ciri, her role in the book series and the Netflix adaptation, and her relationships with Geralt and Yennefer. The AI summarizes the book series, mentioning Geralt's role as a witcher, his encounters with mythical creatures and political intrigue, and the complex relationships between the main characters. The human then inquires about the reception of the Netflix series, and the AI explains that it has generally received positive reviews for its production values, acting, and faithfulness to the source material. The AI highlights the strong portrayal of the female characters and provides examples of praise from Variety and The New York Times. However, the AI acknowledges that some reviewers have mentioned pacing issues and confusion for viewers unfamiliar with the books. Overall, the Netflix series has been widely praised for its quality and faithfulness to the books.
ai:
Ah, Freya Allan! She portrays Ciri in the Netflix series "The Witcher" and has received positive reviews for her performance. Reviewers have praised her ability to bring depth and vulnerability to the character, particularly in her portrayal of Ciri's emotional struggles and relationships with the other characters.
For example, The Telegraph wrote, "Freya Allan shines as the young princess Ciri, bringing a sense of vulnerability and determination to the role." The Independent stated, "Allan delivers a standout performance as the fierce and determined Ciri."
However, some reviewers have noted that Allan's performance may not be to everyone's taste, particularly if viewers are familiar with the book series or previous adaptations of "The Witcher". Nevertheless, her portrayal of Ciri has been widely praised for its faithfulness to the source material and her ability to bring the character to life on screen.
human: Who is the villian in this book?
ai: Ah, the villain in "The Witcher" book series! That would be the sorceress, Yennefer of Vengerberg. She is a complex and multifaceted character who plays a pivotal role in the story as both a love interest of Geralt's and a powerful sorceress in her own right.
Yennefer is driven by a desire for power and control, and she will stop at nothing to achieve her goals. She is ruthless and cunning, and will use any means necessary to gain the upper hand. However, she is also a deeply conflicted character, struggling with her own moral ambiguity and the consequences of her actions.
In the Netflix series, Yennefer is portrayed by actress Anya Chalotra, who brings depth and nuance to the character. Her performance has been widely praised for its faithfulness to the source material and her ability to bring the character to life on screen.

<</SYS>>

Question: What books are similar that I might enjoy?[/INST]
</s>

In this instance, the summary does not reflect the questions about Henry Cavill or Freya Allen being good actors nor the answers when asking for only the last three memory messages.
This is easily replicated. Just load 10 messages into history and request the last 4. There will be no summary. Thanks.

@JasonMaggard This is by design. In general, the summarizer only summarizes messages beyond the message window. More about how it operates may be found here: https://docs.getzep.com/sdk/extractors/#summarizer-extractor
Rather than limiting the number of messages returned by passing the limit parameter, you may want to reduce the message window itself.
Configuration details may be found here: https://docs.getzep.com/deployment/config/

I have noticed the same behaviour using the env variable and using the limit parameter. ZEP_MEMORY_MESSAGE_WINDOW

@JasonMaggard Looks like you closed the issue before I could respond. Did you successfully set the message window ?


Core: adds Json value return type

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

have you tried using redis-rs support for the json module?
https://github.com/amazon-contributing/redis-rs/blob/c132727bb94cb5ec8a6df14053a154645aa1d0d1/README.md?plain=1#L159
so we wont need to implement a json parser

so we wont need to implement a json parser

+1. In general, you almost never want to implement a parser - someone, somewhere, wrote a library that does it better. Even if the redis-rs implementation isn't what we need, we could use some other ready-made crate.


shelly dimmer 2 not dimmable

This was working previously, but appears to have broken around version 1.0.0 or greater.
An error in the logs states:
:02:29.347] [InteractionServer]: Validation-Error 0x80 while invoking command: (ValidationMandatoryFieldMissingError/128) Missing mandatory field transitionTime in field transitionTime

Hi,
without more context, I would say that the error is generated from the controller (what controller are you using?) sending a command that is not compliant.
When you dimmer you should see something like this:

So the issue is not generated by matterbridge or shelly plugin.
If you want more info I need the full log of that part when your controller sends the command to matter.
My best.

I am using google home controller, with the Android google "home app". It was working ok previously.
I have captured the matter logs below:
[22:13:35.105] [SubscriptionHandler] [debug] Sending subscription update message for ID<PHONE_NUMBER> with 0 attributes and 0 events
[22:13:35.107] [MessageExchange] [debug] New exchange channel: udp://fe80::2680:4e2f:ee1:11f7%11:5540 on session secure/2453 protocol: 1 id: 23542 session: secure/2453 peerSessionId: 35253 active threshold ms: 4000 active interval ms: 300 idle interval ms: 500 maxTransmissions: 5 useMrp: true
[22:13:35.109] [ExchangeManager] [debug] Message » id: 35253/23542/211084599 type: 1/5 acked: undefined reqAck: true duplicate: false payload: 1526000f5cdf68290424ff0c18
[22:13:35.107] [SubscriptionHandler] [debug] Sending subscription changes for ID<PHONE_NUMBER>:
[22:13:35.109] [InteractionMessenger] [debug] Sending DataReport chunk with 0 attributes and 0 events: 13 bytes (moreChunkedMessages: false, suppressResponse: true)
[22:13:35.132] [MessageExchange] [debug] Message « id: 2453/23542/31452435 type: 0/16 acked: 211084599 reqAck: false duplicate: false payload:
[22:13:41.922] [MessageExchange] [debug] New exchange channel: udp://fe80::2680:4e2f:ee1:11f7%11:5540 on session secure/2453 protocol: 1 id: 55950 session: secure/2453 peerSessionId: 2453 active threshold ms: 4000 active interval ms: 300 idle interval ms: 500 maxTransmissions: 5 useMrp: true
[22:13:41.922] [MessageExchange] [debug] Message « id: 2453/55950/31452436 type: 1/8 acked: undefined reqAck: true duplicate: false payload:<PHONE_NUMBER>360215370024002624010824020418350124007518181824ff0b18
[22:13:41.925] [ExchangeManager] [debug] Message » id: 2453/55950/211084600 type: 1/9 acked: 31452436 reqAck: true duplicate: false payload:<PHONE_NUMBER>15350137002400262401082402041835012400851818181824ff0c18
[22:13:41.923] [InteractionServer] [debug] Received invoke request from udp://fe80::2680:4e2f:ee1:11f7%11:5540 on session secure/2453 with 1 commands: MA-dimmablelight(0x26)/LevelControl(0x8)/moveToLevelWithOnOff(0x4), suppressResponse=false
[22:13:41.924] [InteractionServer] [info] Validation-Error 0x80 while invoking command: (ValidationMandatoryFieldMissingError/128) Missing mandatory field transitionTime in field transitionTime
[22:13:41.934] [MessageExchange] [debug] Message « id: 2453/55950/31452437 type: 0/16 acked: 211084600 reqAck: false duplicate: false payload:
[22:14:00.897] [SubscriptionHandler] [debug] Sending subscription update message for ID<PHONE_NUMBER> with 0 attributes and 0 events
[22:14:00.897] [MessageExchange] [debug] New exchange channel: udp://fe80::2680:4e2f:ee1:11f7%11:5540 on session secure/2453 protocol: 1 id: 23543 session: secure/2453 peerSessionId: 35253 active threshold ms: 4000 active interval ms: 300 idle interval ms: 500 maxTransmissions: 5 useMrp: true
[22:14:00.898] [SubscriptionHandler] [debug] Sending subscription changes for ID<PHONE_NUMBER>:
[22:14:00.899] [ExchangeManager] [debug] Message » id: 35253/23543/211084601 type: 1/5 acked: undefined reqAck: true duplicate: false payload: 1526000f5cdf68290424ff0c18
[22:14:00.898] [InteractionMessenger] [debug] Sending DataReport chunk with 0 attributes and 0 events: 13 bytes (moreChunkedMessages: false, suppressResponse: true)
[22:14:00.908] [MessageExchange] [debug] Message « id: 2453/23543/31452438 type: 0/16 acked: 211084601 reqAck: false duplicate: false payload:

I could try removing and recommissioning the bridge.

For the log follow this please:
https://github.com/Luligu/matterbridge/blob/main/README.md#how-to-send-the-debug-log-files
The constraint on Matter specs are:

From the log made like I asked you, we can understand at least what is the controller sending...

matter (1).log
matterbridge (1).log
I've attached the logs for the scenario with just the dimmer in the whitelist. From what I can see the logs don't show much more than what I've posted.

Sorry you are right we need the console log like in the screenshot I posted.

I've captured the logs from the console with matterbridge.cmd --matterlogger debug --logger debug
but it still doesn't show too much.  I've also attached the shelly dimmer config capture.
shellydimmer2-EC64C9C669A1.json
[06:52:01.012] [MessageExchange] New exchange channel: udp://fd06:8df3:e47f:940:47c:8041:fa75:3c56:5540 on session secure/60275 protocol: 1 id: 52855 session: secure/60275 peerSessionId: 62109 active threshold ms: 4000 active interval ms: 300 idle interval ms: 500 maxTransmissions: 5 useMrp: true
[06:52:01.012] [SubscriptionHandler] Sending subscription changes for ID<PHONE_NUMBER>: MA-onoffswitch(0x23)/OnOff(0x6)/onOff(0x0)=true<PHONE_NUMBER>)
[06:52:01.012] [InteractionMessenger] Sending DataReport chunk with 1 attributes and 0 events: 41 bytes (moreChunkedMessages: false, suppressResponse: false)
[06:52:01.012] [ExchangeManager] Message » id: 62109/52855/250150751 type: 1/5 acked: undefined reqAck: true duplicate: false payload: 152600b2cefd9c36011535012600e1aafbc93701240223240306240400182902181818280424ff0c18
[06:52:01.013] [SubscriptionHandler] Sending subscription update message for ID<PHONE_NUMBER> with 1 attributes and 0 events
[06:52:01.013] [MessageExchange] New exchange channel: udp://fe80::2680:4e2f:ee1:11f7%11:5540 on session secure/60276 protocol: 1 id: 52856 session: secure/60276 peerSessionId: 16770 active threshold ms: 4000 active interval ms: 300 idle interval ms: 500 maxTransmissions: 5 useMrp: true
[06:52:01.013] [SubscriptionHandler] Sending subscription changes for ID<PHONE_NUMBER>: MA-onoffswitch(0x23)/OnOff(0x6)/onOff(0x0)=true<PHONE_NUMBER>)
[06:52:01.014] [InteractionMessenger] Sending DataReport chunk with 1 attributes and 0 events: 41 bytes (moreChunkedMessages: false, suppressResponse: false)
[06:52:01.014] [ExchangeManager] Message » id: 16770/52856/113228797 type: 1/5 acked: undefined reqAck: true duplicate: false payload: 152600b3cefd9c36011535012600e1aafbc93701240223240306240400182902181818280424ff0c18
[06:52:01.017] [MessageExchange] Message « id: 60275/52855/172053323 type: 1/1 acked: 250150751 reqAck: true duplicate: false payload:<PHONE_NUMBER>ff0b18
[06:52:01.017] [ExchangeManager] Message » id: 62109/52855/250150752 type: 0/16 acked: 172053323 reqAck: false duplicate: false payload:
[06:52:01.026] [MessageExchange] Message « id: 60276/52856/248939774 type: 1/1 acked: 113228797 reqAck: true duplicate: false payload:<PHONE_NUMBER>ff0b18
[06:52:01.027] [ExchangeManager] Message » id: 16770/52856/113228798 type: 0/16 acked: 248939774 reqAck: false duplicate: false payload:
[06:52:02.465] [MatterDevice] Announcing fabric:<PHONE_NUMBER>2343345540
[06:52:02.478] [MdnsBroadcaster] Announcement Generator: Fabric id: 950937b1b373e635/2247942442 qname: 950937B1B373E635-0000000085FCE12A._matter._tcp.local port: 5540 interface: Tailscale
[06:52:02.478] [MdnsBroadcaster] Announcement Generator: Fabric id: 950937b1b373e635/2247942442 qname: 950937B1B373E635-0000000085FCE12A._matter._tcp.local port: 5540 interface: Ethernet
[06:52:26.535] [MessageExchange] New exchange channel: udp://fe80::2680:4e2f:ee1:11f7%11:5540 on session secure/60276 protocol: 1 id: 46805 session: secure/60276 peerSessionId: 60276 active threshold ms: 4000 active interval ms: 300 idle interval ms: 500 maxTransmissions: 5 useMrp: true
[06:52:26.535] [MessageExchange] Message « id: 60276/46805/248939775 type: 1/8 acked: undefined reqAck: true duplicate: false payload:<PHONE_NUMBER>360215370024002624010824020418350124005918181824ff0b18
[06:52:26.536] [InteractionServer] Received invoke request from udp://fe80::2680:4e2f:ee1:11f7%11:5540 on session secure/60276 with 1 commands: MA-dimmablelight(0x26)/LevelControl(0x8)/moveToLevelWithOnOff(0x4), suppressResponse=false
[06:52:26.538] [InteractionServer] Validation-Error 0x80 while invoking command: (ValidationMandatoryFieldMissingError/128) Missing mandatory field transitionTime in field transitionTime
[06:52:26.539] [ExchangeManager] Message » id: 60276/46805/113228799 type: 1/9 acked: 248939775 reqAck: true duplicate: false payload:<PHONE_NUMBER>15350137002400262401082402041835012400851818181824ff0c18
[06:52:26.548] [MessageExchange] Message « id: 60276/46805/248939776 type: 0/16 acked: 113228799 reqAck: false duplicate: false payload:
[06:52:30.235] [SubscriptionHandler] Sending subscription update message for ID<PHONE_NUMBER> with 0 attributes and 0 events
[06:52:30.236] [MessageExchange] New exchange channel: udp://fe80::2680:4e2f:ee1:11f7%11:5540 on session secure/60276 protocol: 1 id: 52857 session: secure/60276 peerSessionId: 16770 active threshold ms: 4000 active interval ms: 300 idle interval ms: 500 maxTransmissions: 5 useMrp: true
[06:52:30.236] [SubscriptionHandler] Sending subscription changes for ID<PHONE_NUMBER>:
[06:52:30.237] [InteractionMessenger] Sending DataReport chunk with 0 attributes and 0 events: 13 bytes (moreChunkedMessages: false, suppressResponse: true
[06:52:30.237] [ExchangeManager] Message » id: 16770/52857/113228800 type: 1/5 acked: undefined reqAck: true duplicate: false payload: 152600b3cefd9c290424ff0c18
[06:52:30.247] [MessageExchange] Message « id: 60276/52857/248939777 type: 0/16 acked: 113228800 reqAck: false duplicate: false payload:
[06:52:31.264] [SubscriptionHandler] Sending subscription update message for ID<PHONE_NUMBER> with 0 attributes and 0 events
[06:52:31.264] [MessageExchange] New exchange channel: udp://fd06:8df3:e47f:940:47c:8041:fa75:3c56:5540 on session secure/60275 protocol: 1 id: 52858 session: secure/60275 peerSessionId: 62109 active threshold ms: 4000 active interval ms: 300 idle interval ms: 500 maxTransmissions: 5 useMrp: true
[06:52:31.264] [SubscriptionHandler] Sending subscription changes for ID<PHONE_NUMBER>:
[06:52:31.265] [InteractionMessenger] Sending DataReport chunk with 0 attributes and 0 events: 13 bytes (moreChunkedMessages: false, suppressResponse: true
[06:52:31.265] [ExchangeManager] Message » id: 62109/52858/250150753 type: 1/5 acked: undefined reqAck: true duplicate: false payload: 152600b2cefd9c290424ff0c18
[06:52:31.269] [MessageExchange] Message « id: 60275/52858/172053324 type: 0/16 acked: 250150753 reqAck: false duplicate: false payload:
[06:52:38.867] [Kitchen Pendant Lights] WebSocket update from device shelly1pmminig3-34B7DA908E68 host <IP_ADDRESS>
[06:52:38.868] [Kitchen Pendant Lights] switch:0:current updated from 0.228 to 0.227 in component switch:0 (Switch)
[06:52:38.868] [Kitchen Pendant Lights] Shelly message for device shelly1pmminig3-34B7DA908E68 Switch:switch:0:current:0.227

I've reconfigured my hub to leave the public preview programme - it's possibly an issue with the 20.20240530.3.18053 firmware. Will try again after it eventually rolls back.

I turned off the nest hub and only had the nest mini's running and lights were able to dim ok. Presumably it's a bug in the nest hub preview programme firmware. Hopefully it's not a change they plan to roll out to the production releases.
I'll stay on the public release rather than preview release train for the devices and apps from now on.

FYI I've had to resolve this with a hack in matter.js as the nest hub would not roll back to production firmware. I had to change LevelControlCluster.js from:
  LevelControl2.TlvMoveToLevelRequest = TlvObject({
    level: TlvField(0, TlvUInt8.bound({ max: 254 })),
    transitionTime: TlvField(1, TlvNullable(TlvUInt16)),
    optionsMask: TlvField(2, TlvBitmap(TlvUInt8, LevelControl2.Options)),
    optionsOverride: TlvField(3, TlvBitmap(TlvUInt8, LevelControl2.Options))
  });

to this
  LevelControl2.TlvMoveToLevelRequest = TlvObject({
    level: TlvField(0, TlvUInt8.bound({ max: 254 })),
    transitionTime: TlvOptionalField(1, TlvNullable(TlvUInt16)),
    optionsMask: TlvOptionalField(2, TlvBitmap(TlvUInt8, LevelControl2.Options)),
    optionsOverride: TlvOptionalField(3, TlvBitmap(TlvUInt8, LevelControl2.Options))
  });

I'm not sure if its a bug with matter.js or with the google controller. But I do believe the options fields are supposed to be optional.

After closer inspection, I think it might be this bug in matter.js: https://github.com/project-chip/matter.js/pull/848

Hi,
I understood you solved the issue since you closed...
Did you open an issue in matter.js ?

Thanks for bringing it to our attention with https://github.com/project-chip/matter.js/pull/1332 ... but please report to Google! They need to fix this not compliant behavior

As noted the nest hub would not update from the preview to production firmware so I had to hack in a temporary workaround. I have simply documented the workaround here for the paper trail and to help others.

@smhc The definition of the "default" values is mainly that way for attributes, but an mandatory field should be a mandatory field still, so basically from the current standpoint the implementation in matter.js seems correct.

Unfortunately this seems broken again with nest firmware 22.20240805.103.161, matterbridge 1.6.5 and matterbridge-shelly 1.0.11.
There isn't anything obvious in the logs like last time, I'll see if I can capture something.

Can you please post more log? like the invoke message itself and a bit afterwards? There could also be a chance of not being google related

There is nothing logged when performing the dim operation. The failure appears to occur on the client end with no messages sent. I theorise it may be a misconfiguration of the registration of the device itself. I tried "rediscovering" the device via mdns but it did not resolve the issue. This is the config listed in matterbridge:
10 (light:0)	LevelControl	0x08	currentLevel	0x00	254
10 (light:0)	LevelControl	0x08	maxLevel	0x03	254
10 (light:0)	LevelControl	0x08	options	0x0f	{ executeIfOff: false, coupleColorTempToLevel: false }
10 (light:0)	LevelControl	0x08	onLevel	0x11	null
10 (light:0)	LevelControl	0x08	clusterRevision	0xfffd	5
10 (light:0)	LevelControl	0x08	featureMap	0xfffc	{ onOff: true, lighting: false, frequency: false }
10 (light:0)	LevelControl	0x08	attributeList	0xfffb	[ 0, 2, 3, 15, 17, 65528, 65529, 65531, 65532, 65533 ]
10 (light:0)	LevelControl	0x08	acceptedCommandList	0xfff9	[ 0, 1, 2, 3, 4, 5, 6, 7 ]
10 (light:0)	LevelControl	0x08	generatedCommandList	0xfff8	[ ]
10 (light:0)	LevelControl	0x08	minLevel	0x02	0

The "lighting: false" looks a bit suspicious.

Any luck reproducing this, or did you want my shelly config to look at?
Perhaps it's related to the fact I have the shelly configured with a "one button mode" button type?
I can raise a new issue if you think this bug is legitimate instead of tracking it under this closed issue.

I updated the cluster but I will publish it like dev this late evening cause I’m traveling right now..
I don’t think it will solve but we will see… in any case it had to be done with a few more stuff to be compliant 100 with Matter 1.3 specs since we will start certification in January probably.
Thanks no need to open a new one.

Try with 1.6.6 if it is solved…

Thanks, this seems to have resolved it. I did need to reset and recommission, but perhaps it would have resolved itself if I waited long enough.

So you think was the cluster not fully compliant with the device type?
If it is this way is a really interesting discovery…

The 'lighting: true' took effect immediately, but the controllers (I guess?) weren't working with it until I recommissioned. As I said, they may have worked if I just waited long enough.
As for why it was an issue in the first place, I don't know. Probably just an effect of loading config from storage that was incompatible with newer versions of matterbridge/shelly. My setup itself isn't very complicated, it's just matterbridge-shelly and some stock shelly PMs and one stock shelly dimmer 2.


major: Update dependencies and improve component accessibility

Update dependencies to their latest versions and refactor components to enhance accessibility through better props destructuring.

Summary by CodeRabbit

New Features

Updated to Svelte 5.0
Enhanced component prop handling using new Svelte 5 syntax

Dependencies

Major version updates for multiple packages
Updated development and production dependencies

Chores

Removed pnpm-lock.yaml from .gitignore
Added pnpm-lock.yaml to .prettierignore
Bumped project version to 2.0.0

Accessibility

Added aria-label to GitHub logo component

@SocketSecurity ignore npm/<EMAIL_ADDRESS>


Feedback - MileStone 2

Well done!
The results are fine, and you have done all the sections properly!

Thanks Ali!


Throw specific exception when creating internal role

Description:
Now when creating internal role common UserStoreException is thrown for all kind of role creation failures even if the role already exists in the system. So from other components unable to differentiate the error. So need to throw specific exceptions.

In the latest kernel 4.4.x branch, we have already introduced an error code and error message for role already exists issue ([1]).
[1] https://github.com/wso2/carbon-kernel/blob/4.4.x/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/common/AbstractUserStoreManager.java#L3617
[2] https://github.com/wso2/carbon-kernel/blob/v4.4.36/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/constants/UserCoreErrorConstants.java#L48


iOS - Geocoder null result

When i try to use reverse Geocoder.geocode on iOS i get no result. ( result.length == 0 )
on Android it works great.
ive already checked the latitude and longitude and they look good.
iOS: 12
Cordova version: 8.1.1
cordova-plugin-googlemap : 2.5.2
my XCode console gives this output when i call the function Geocoder.geocode:

[BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C16.1:2][0x153e66460] get output frames failed, state 8196

is it some kind of request permission? should i allow googlemaps domain?

Result of reverse geocoding is depends on Google, not this plugin. Please ask to Google.

Result of reverse geocoding is depends on Google, not this plugin. Please ask to Google.

but as i mentioned the results are different on iOS/Android. It doesnt make sense to be googles issue if the same query on android works as expected

If you doubt, please debug the code by yourself using xcode. All source code is fully open.


Add /invite

BRUH WILLIAM IS ON PYRO V2 LOL KANGED MY IDEA 😂😂

??

BRUH WILLIAM IS ON PYRO V2 LOL KANGED MY IDEA 😂😂

then ?


Replace plain text a user handles with roles

This change is necessary so that we can drop the usernames from
allowlist in the changelog document.

I have some mixed feelings about this as it does reduce readability of plain text changelog and also github preview of markdown files. I am not yet sure if should -1 it or approve it. It diverges from an already known format that is common to most github users.

I have some mixed feelings about this as it does reduce readability of plain text changelog and also github preview of markdown files. I am not yet sure if should -1 it or approve it. It diverges from an already known format that is common to most github users.

FWIW GitHub doesn't highlight the handles anyway, they just look like plain text and it's not less ugly. But If we don't accept this, you'll be forcing every new contributor to add their handle to the dictionary for spellcheck to pass or avoid signing their contributions.


Deploy all hosts asynchronously rather than synchronously

I'm using the latest version of Deployer to deploy my Nuxt JS project to multiple ipv6 hosts. If I were to deploy one host individually, it wouldn't take no more than 5 minutes. But when defining multiple hosts, it seems that it deploys synchronously through each one, I'd like to be able to configure it to deploy to all at the same time because it takes over an hour right now, additionally, if something fails, then deployments to all hosts fail and are locked which is quite frustrating.
What are your thoughts?
This is my deployment hosts:
host('a420:c3d3:ba97:c042:deff:8a15:fbfd:6276', 'c7b3:ea23:e29f:2564:8187:13aa:d2f3:bf36', 'ae7c:af20:e51d:1449:cc45:7e07:644f:33ba')
    ->set('branch', 'main')
    ->stage('all')
    ->set('repository', 'git@fudge:company/project)
    ->user('root')
    ->set('deploy_path', '/var/www/include-forms/fudge');

And I deploy running:
dep deploy all

From the doc:

Deployer runs a task in parallel on each host. This is why the output is mixed. We can limit it to run only on one host at a time.

This should be the default. Are you saying this doesn’t work for you?
can you check -vvv?

It seems to take a long time. 41 minutes to deploy to around 20 - 25 hosts

Please try
dep deploy all -vvv

then you see wether it works parallel or not.

additionally, if something fails, then deployments to all hosts fail and are locked

This is a feature of Deployer ʕっ•ᴥ•ʔっ
Deployer tried to keep all deployment hosts in sync (as Deployer does not know if it is save to deploy only to one host and allow other to fail).
This feature was requested a few times and I think it will be nice to add a simple API to configure deploy to run deploys not in sync.
Right now you can do:

Create a separate bash script to start each deploy to each host simultaneously:

dep deploy host1 &
dep deploy host2 &
dep deploy host3 &

How do I know if parallel deploying is working with that flag?

@antonmedv It was working. Turned out I was looking at the wrong deployer version. Additionally though, linked to a newer Github issue. How can I deploy to one server in parallel model across many alias folders here:
$sites = ['site1', 'site2'];

// Site: Fudge
foreach ($sites as $site) {
    host("ipv6/$site")
        ->set('labels', ['stage' => 'forms', 'site' => $site])
        ->set('repository', 'git@application-fudge:company/application-fudge')
        ->set('branch', 'feature/fudge_v2')
        ->set('remote_user', 'root')
        ->set('deploy_path', "/var/www/forms/fudge/$site");
}


Support multiple accounts

I manage multiple Twitter accounts, so would be nice to be able to easily switch between them.
Like Twitcher but without the donation request spam.

Would you be wanting something like the mobile twitter app has for multiple accounts?

Yes, see Twitcher for how it could be implemented visually. The actual implementation would be to just record the login cookie when you log into a new account and when you click a different avatar to switch account, replace the current cookie with the correct stored one.

Closing as this extension is now deprecated: https://github.com/sindresorhus/refined-twitter/commit/8dd9df749d3a4e82c95b2bd6628c8d65f0f72e6c


cmake-mode: treat keywords as symbols

Symbols such as "CHECK_FUNCTION_EXISTS" should not trigger an open
block (due to containing "FUNCTION").

Thanks.  It looks like this was recently regressed.  Fix applied as commit a935745d0730cf1cd6c1a880d71e36a39ad86f8c.


Pf 6 migration

Description
Briefly describe the changes made in this Pull Request.
Additional context (optional)
Add any additional context or information about the changes made in this PR.
How to test
Provide clear and concise instructions on how to test the changes made in this PR.

Codecov Report
Attention: Patch coverage is 98.46154% with 1 line in your changes missing coverage. Please review.

Project coverage is 95.03%. Comparing base (86e08d6) to head (57bcaed).

Files with missing lines
Patch %
Lines

src/core/components/SkBasicTile/index.tsx
87.50%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##               v2     #516      +/-   ##
==========================================
- Coverage   95.12%   95.03%   -0.09%
==========================================
  Files         178      176       -2
  Lines        3752     3726      -26
  Branches      815      816       +1
==========================================
- Hits         3569     3541      -28
- Misses        178      179       +1
- Partials        5        6       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Start arktos-network-controller for kube-up

What type of PR is this?

/kind feature

What this PR does / why we need it:
add arktos-network-controller start for kube-up
Which issue(s) this PR fixes:

Fixes #1297
Special notes for your reviewer:
arktos-network-controller fully function need fix Issue #1279
metrics-server, kubernetes-dashboard, heapster pods failed with error:
failed to get DNS IP address: network system/default not found"

Does this PR introduce a user-facing change?:

I tried this PR with some minor modifications. For the most part, it does what I need. i.e Package and start arktos-network-controller container. There are some things that need to be done in addition for parity with arktos-up. (create system-default-network object and associated VPC/subnets). With that done, using operator running on tp-master I'm able to bring mizar objects to provisioned state and start pods, but pings don't work.  Creating tenant and getting pods running in the tenant is not working. I'm probably missing steps in the workflow.
Pending Arktos reviews, to me this is LGTM as far as the core purpose of PR is concerned.

Tested on top of PR #1310.
Scale-up:
$ kubectl  get network
NAME      TYPE   VPC   PHASE   DNS
default   flat         Ready   <IP_ADDRESS>

$ kubectl get crds
NAME                                    AGE
networks.arktos.futurewei.com           71s
scalingpolicies.scalingpolicy.kope.io   48s

$ kubectl get pods -A | grep arktos
kube-system   arktos-network-controller-sonyaperf1-012722-master<PHONE_NUMBER>954979909   1/1     Running             0          6s

Scale-out:
$ kubectl --kubeconfig=/home/sonyali/go/src/k8s.io/arktos/cluster/kubeconfig-proxy get network
NAME      TYPE   VPC   PHASE   DNS
default   flat         Ready   <IP_ADDRESS>

$ kubectl --kubeconfig=/home/sonyali/go/src/k8s.io/arktos/cluster/kubeconfig-proxy get crds
NAME                                    AGE
networks.arktos.futurewei.com           10m
scalingpolicies.scalingpolicy.kope.io   10m

$ kubectl --kubeconfig=/home/sonyali/go/src/k8s.io/arktos/cluster/kubeconfig-proxy get pods -A | grep network
kube-system   arktos-network-controller-sonyaperf1-012722-tp-1-master<PHONE_NUMBER>620962786   1/1     Running             0          10m

Tested kubemark with below config

Admin (scale-up) + kubemark (scale-up) 100 hollow-nodes can be started successfully

$ kubectl --kubeconfig=/home/sonyali/go/src/k8s.io/arktos/test/kubemark/resources/kubeconfig.kubemark get network
NAME      TYPE   VPC   PHASE   DNS
default   flat         Ready   <IP_ADDRESS>

$ kubectl --kubeconfig=/home/sonyali/go/src/k8s.io/arktos/test/kubemark/resources/kubeconfig.kubemark get crds
NAME                            AGE
networks.arktos.futurewei.com   8m9s

$ kubectl --kubeconfig=/home/sonyali/go/src/k8s.io/arktos/test/kubemark/resources/kubeconfig.kubemark get pods -A | grep arktos
kube-system   arktos-network-controller-sonyaperf1-012722-kubemark-master<PHONE_NUMBER>784634424   1/1     Running             0          6m28s

$ kubectl --kubeconfig=/home/sonyali/go/src/k8s.io/arktos/test/kubemark/resources/kubeconfig.kubemark get nodes | wc -l
102

Admin (scale-up) + kubemark (scale-out: 1tp*1rp) 100 hollow-nodes can be started successfully

$ kubectl --kubeconfig=/home/sonyali/go/src/k8s.io/arktos/test/kubemark/resources/kubeconfig.kubemark-proxy get crds
NAME                            AGE
networks.arktos.futurewei.com   11m

$ kubectl --kubeconfig=/home/sonyali/go/src/k8s.io/arktos/test/kubemark/resources/kubeconfig.kubemark-proxy get network
NAME      TYPE   VPC   PHASE   DNS
default   flat         Ready   <IP_ADDRESS>

$ kubectl --kubeconfig=/home/sonyali/go/src/k8s.io/arktos/test/kubemark/resources/kubeconfig.kubemark-proxy get pods -A | grep arktos
kube-system   arktos-network-controller-sonyaperf2-012722-kubemark-tp-1-master<PHONE_NUMBER>31186957    1/1     Running   0          10m

$ kubectl --kubeconfig=/home/sonyali/go/src/k8s.io/arktos/test/kubemark/resources/kubeconfig.kubemark-proxy get nodes | wc -l
102

Run perf-tests with below config

Admin (scale-up) + kubemark (scale-up) 100 hollow-nodes

I0128 01:11:27.970343   20238 clusterloader.go:218] --------------------------------------------------------------------------------
I0128 01:11:27.970349   20238 clusterloader.go:219] Test Finished
I0128 01:11:27.970354   20238 clusterloader.go:220]   Test: testing/density/config.yaml
I0128 01:11:27.970359   20238 clusterloader.go:221]   Status: Success
I0128 01:11:27.970364   20238 clusterloader.go:225] --------------------------------------------------------------------------------

JUnit report was created: /home/sonyali/logs/perf-test/gce-100/arktos/sonyaperf1-012722/junit.xml

Admin (scale-up) + kubemark (scale-out) 100 hollow-nodes

I0128 01:05:39.316806   24609 clusterloader.go:218] --------------------------------------------------------------------------------
I0128 01:05:39.316814   24609 clusterloader.go:219] Test Finished
I0128 01:05:39.316819   24609 clusterloader.go:220]   Test: testing/density/config.yaml
I0128 01:05:39.316824   24609 clusterloader.go:221]   Status: Success
I0128 01:05:39.316829   24609 clusterloader.go:225] --------------------------------------------------------------------I0128 01:05:39.316829   24609 clusterloader.go:225] --------------------------------------------------------------------------------

JUnit report was created: /home/sonyali/logs/perf-test/gce-100/arktos/sonyaperf2-012722/arktos/junit.xml


Updated the Tutorial

The current version has the following updates:

Dataset integration verified
Attention mechanism added
tfa.seq2seq is used

Solves queries added in #986

@seanpmorgan please review and add this, the changes proposed in #986 have been made

@seanpmorgan did the changes, yeah ... I mentioned the problems with TF 2.1 installation earlier too.
Anyways, if there is anything required LMK! Thanks!


Dual Stack IPv4/IPv6 Configuration

Describe the bug
If the address used in the YAML as the VIP address is a dual stack address (k8s.breepriv.lothlorien.net as an example) then the outcome is random.  What is the proper method to setup kube-vip as a VIP listener for both stacks?  I have tried the documentation, but it seems a bit vague on the matter.
To Reproduce
Steps to reproduce the behavior:
Use the setup command:
sudo docker run --network host --rm plndr/kube-vip:v0.3.8 manifest pod
--interface ens192
--address k8s.breepriv.lothlorien.net
--namespace kube-vip6
--arp
--leaderElection | sudo tee /etc/kubernetes/manifests/vip.yaml
Which produces the correct output.  The resulting configuration seems to cause the VIP to respond on IPv6 only.
Expected behavior
VIP would respond on both IPv4 and IPv6
Environment (please complete the following information):

OS/Distro: Fedora Core 7.9
Kubernetes Version: v1.21.5
Kube-vip Version: v0.3.9

Kube-vip.yaml:
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: null
name: kube-vip
namespace: kube-system
spec:
containers:

args:

start
env:
name: vip_arp
value: "true"
name: vip_interface
value: ens192
name: vip_leaderelection
value: "true"
name: vip_leaseduration
value: "5"
name: vip_renewdeadline
value: "3"
name: vip_retryperiod
value: "1"
name: address
value: k8s.breepriv.lothlorien.net
image: plndr/kube-vip:v0.3.8
imagePullPolicy: Always
name: kube-vip
resources: {}
securityContext:
capabilities:
add:

NET_ADMIN
SYS_TIME
volumeMounts:

mountPath: /etc/kubernetes/admin.conf
name: kubeconfig
mountPath: /etc/ssl/certs
name: ca-certs
readOnly: true
hostNetwork: true
volumes:

hostPath:
path: /etc/kubernetes/admin.conf
name: kubeconfig
hostPath:
path: /etc/ssl/certs
name: ca-certs
status: {}

Is this a duplicate of #269?

I do not believe so, because I already referenced that article to get it setup.  It is actually is working (see my follow up post) initially,
but then failovers between hosts on IPv6  seem not  to work and we have persistent errors about failed to update lock in the logs.

On Dec 15, 2021, at 12:42 PM, Marques Johansson @.***> wrote:
Is this a duplicate of #269 https://github.com/kube-vip/kube-vip/issues/269?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/kube-vip/kube-vip/issues/279#issuecomment-995018337, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIBX4OHNXM2UHUFF7BWDIDURDHQVANCNFSM5FMWTNTA.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Testing this on v0.4.4 again and I am able to bring up the nodes with IPv4 and IPv6 dual stack per the information above.  I did generate a new set of manifests to make sure I was using the latest version of everything.  I am not using the service load balancer.
I am still seeing this in the log (not sure if it is important) on the IPv6 side:
E0713 17:02:15.211343       1 leaderelection.go:367] Failed to update lock: Operation cannot be fulfilled on leases.coordination.k8s.io "plndr-cp-lock": the object has been modified; please apply your changes to the latest version and try again
After the initial update to v0.4.4 my k8s-2 node was master for both IPv4 and IPv6 correctly.  I then drained that node and rebooted it.  It seems now on v0.4.4 both the IPv4 and IPv6 addresses did move correctly to the same node.
Is the message above about leader election anything to worry about?

In most cases leaderElections will just happen first time, sometimes the election can bounce and you'll get an error followed by a retry.

I am seeing that error constantly in the logs after the elections...it seems that having both an IPv4 and IPv6 copy running at once is the cause.

On Jul 13, 2022, at 4:12 PM, Daniel Finneran @.***> wrote:
In most cases leaderElections will just happen first time, sometimes the election can bounce and you'll get an error followed by a retry.
—
Reply to this email directly, view it on GitHub https://github.com/kube-vip/kube-vip/issues/279#issuecomment-1183632660, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIBX4J4CCNR4UTQ2DKVM73VT4PJ3ANCNFSM5FMWTNTA.
You are receiving this because you authored the thread.

Ah! I bet I know what is happening! Both allocations are causing a leaderElection vote each. We're overloading the election! This is a bug 😔

OK, it seems to be functioning for dual stack and they are ending up on the same host, but it does seem to fight a lot.
Anything I can do to assist in the debug and fix?

On Jul 13, 2022, at 4:24 PM, Daniel Finneran @.***> wrote:
Ah! I bet I know what is happening! Both allocations are causing a leaderElection vote each. We're overloading the election! This is a bug 😔
—
Reply to this email directly, view it on GitHub https://github.com/kube-vip/kube-vip/issues/279#issuecomment-1183642424, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIBX4IWUGIQZUPOUCBNIRLVT4QWZANCNFSM5FMWTNTA.
You are receiving this because you authored the thread.

Actually, I take back the "seems to be functioning".  After a period of time running both the entire cluster became unstable.  Once I turned off the IPv6 secondary setup it went back to normal.

Is the method I used above still the best way to handle the dual stack setup or does v0.5.0 have another method to setup the dual stack control plane VIP?

The problem here is a bunch of nodes fighting between plndr-cp-lock whilst one is trying to do IPv4 and the other IPv6 and the healthchecks realising that something isn't right causing more leader Elections.

So would moving the IPv4 and IPv6 pods into separate namespaces help that at all?

On Aug 17, 2022, at 11:26 AM, Daniel Finneran @.***> wrote:
The problem here is a bunch of nodes fighting between plndr-cp-lock whilst one is trying to do IPv4 and the other IPv6 and the healthchecks realising that something isn't right causing more leader Elections.
—
Reply to this email directly, view it on GitHub https://github.com/kube-vip/kube-vip/issues/279#issuecomment-1218161470, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIBX4PLGPFB5Z7KOBTI753VZUAA3ANCNFSM5FMWTNTA.
You are receiving this because you authored the thread.

Good point, that might stop the lease collision. I can't remember (and I don't have the code open) but I think the namespaces flag is for leases.

When you have a chance to review let me know if I should try that.

On Aug 17, 2022, at 11:39 AM, Daniel Finneran @.***> wrote:
Good point, that might stop the lease collision. I can't remember (and I don't have the code open) but I think the namespaces flag is for leases.
—
Reply to this email directly, view it on GitHub https://github.com/kube-vip/kube-vip/issues/279#issuecomment-1218181667, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIBX4MIHNSVE2CFUEO3BATVZUBSVANCNFSM5FMWTNTA.
You are receiving this because you authored the thread.

Any updates that might have affected this situation?

Yes, I implemented the namespaces to handle this. I'll get the documentation updated!

OK, so jump to the latest build to resolve the issue hopefully?

On Nov 16, 2022, at 7:21 AM, Daniel Finneran @.***> wrote:
Yes, I implemented the namespaces to handle this. I'll get the documentation updated!
—
Reply to this email directly, view it on GitHub https://github.com/kube-vip/kube-vip/issues/279#issuecomment-1316927637, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIBX4JY4HX53RBAT4IJOXTWITGTLANCNFSM5FMWTNTA.
You are receiving this because you authored the thread.

OK, so I need to put each IP stack in a separate namespace now?

On Nov 16, 2022, at 7:21 AM, Daniel Finneran @.***> wrote:
Yes, I implemented the namespaces to handle this. I'll get the documentation updated!
—
Reply to this email directly, view it on GitHub https://github.com/kube-vip/kube-vip/issues/279#issuecomment-1316927637, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIBX4JY4HX53RBAT4IJOXTWITGTLANCNFSM5FMWTNTA.
You are receiving this because you authored the thread.

Retested on v0.5.12 and everything seems to behave

Hi @jjschwarz when you set two IPs for apiserver, the certificate for apiserver needs to signed with both IP addresses I assume? did you use kubeadm to bootstrap k8s cluster? I think kubeadm only accepts 1 IP for control plane IP https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/. I assume you use something else?
Thank you

I have always just used a host name that has both the A and AAAA record for the value of control-plane-endpoint.

On Aug 28, 2023, at 8:29 PM, Lubron @.***> wrote:
Hi @jjschwarz https://github.com/jjschwarz when you set two IPs for apiserver, the certificate for apiserver needs to signed with both IP addresses I assume? did you use kubeadm to bootstrap k8s cluster? I think kubeadm only accepts 1 IP for control plane IP https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/. I assume you use something else?
Thank you
—
Reply to this email directly, view it on GitHub https://github.com/kube-vip/kube-vip/issues/279#issuecomment-1696600882, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIBX4JMMLDBJZGUXZOEN43XXUZWDANCNFSM5FMWTNTA.
You are receiving this because you were mentioned.

Hello here, I don't believe documentation has been updated on how to do dual stack with kube-vip for the control plane?
I'm trying to figure out whether I should use a dual-stack domain name or if I should deploy kube-vip twice (apparently in separate namespaces).


feature/http code 401

add libvirt error code 45 (ERR_AUTH_FAILED) then interpret as HTTP 401 (unauthorized).

Wrong target branch


[5.5] add assertDispatchedTimes for event fakes

Hey,
I find it useful to test how many times the event was dispatched. I exposed the method assertDispatchedTimes(), however you can pass ant int to assertDispatched() instead of a callback, so you can use Event::assertDispatched(SomeEvent::class, 3).

This is a change in a method signature and a breaking change.

Actually, there are no signature changes ;)

Actually, there are no signature changes ;)

There is, because the 2nd param's type signature has changed. There are just no static signature changes.

I am not sure why you count it as a breaking change. Actually, the param has not changed, just the new type of it was introduced. However, the functionality is 100% backwards compatible.

The problem is that someone extending the class, overriding the method, now suddenly has to support more types for that parameter, and that is what's technically breaking here.

Those sort of breaking changes are common place in laravel's patch releases though, so I wouldn't bother with reverting or retargetting 5.6, unless someone is actually burnt bad by this.


ENH: define Laplacian matrices with a public API for testing and benchmarking

Is your feature request related to a problem? Please describe.
The Laplacian is sometimes called a "fruit fly" for experiments in scientific computing due its popularity and importance in applications.
Adding examples of Laplacian matrices to scipy in various formats with a public API for testing and benchmarking would be very helpful, e.g., in https://github.com/scipy/scipy/blob/c8069d94d5b2eb33193977b3744ed36105cc4cf7/scipy/linalg/_special_matrices.py similar to [gh-18939]
Describe the solution you'd like.
There is a public MATLAB/Octave code https://github.com/lobpcg/blopex/blob/master/blopex_tools/matlab/laplacian/laplacian.m that I have helped writing a decade ago, but surprisingly there appears to be no similar Python code. SciPy appears to be a natural host for such a function in Python.
Describe alternatives you've considered.
No response
Additional context (e.g. screenshots, GIFs)
No response

I attempt to write the Laplacian implementation in https://github.com/lobpcg/scipy/blob/patch-1/scipy/linalg/_special_matrices.py and at the moment the code is 7/9 complete.
The current snapshot is
https://github.com/scipy/scipy/pull/18845/commits/ab41876cedac93de4c250a806b5d4f1d2d190cd3
The two currently missing parts are:

sparse matrix construction for the periodic boundary conditions
callable matrix-free implementation for the purely Neumann boundary conditions

I am soliciting help from the community - if you know how to nicely add the missing parts to the code please let me know.


add ce- for fmri data

added contrast enhancement as optional custom label for task fmri
added contrast enhancement as optional custom label for pepolar field maps
closes issue #69

Thanks. Could you also update the table in https://github.com/bids-standard/bids-specification/blob/master/src/99-appendices/04-entity-table.md?

Thx. Pinging @bids-standard/bep_leads for comments. If no one objects I will merge this on 2018-11-02.

I have no concrete use case but if ce admitted, and func runs complemented with dwi or other scans, shouldn't we allow ce (although I am not sure if it has effect or not) optional for all imaging modalities?

I personally would prefer the spec development to remain use case driven and add only features that are needed. This could be a topic for a new issue though.


Generating multiple TSs for a given set of reatants and products

Hello,
I am currently exploring the OAReactDiff for my research project and have found it extremely valuable. I began by using the tutorial ipynb file and was able to successfully generate a transition state (TS) for a specific set of reactants and products. However, the process is limited to creating only a single TS structure. Could you please assist me in modifying the existing code below to enable the generation of multiple TS structures for the given reactants and products?
out_samples, out_masks = ddpm_trainer.ddpm.inpaint(
n_samples=n_samples,
fragments_nodes=fragments_nodes,
conditions=conditions,
return_frames=1,
resamplings=5,
jump_length=5,
timesteps=None,
xh_fixed=xh_fixed,
frag_fixed=[0, 2],
)

Thanks for the interest! The same code should work for generating multiple TS structures in one run. It can be done by expanding the n_samples.


Fix counting already connected peers

In some cases we are not notified that a connection was dropped by the underlying network stack.
Thus, it can happen that we just replace a peer_info in the hashmap without removing it first.
Incrementing the gauge on every insert can thus lead to counting connections for one peer multiple times.
We now ensure that we only increment if the peer_info was not recorded already.

bors r+

bors r+


Allow use of an https agent

Allow use of an https agent, keep-alive would reduce socket usage in a high volume environment. Pull request incoming.

@rfink Thanks again for the PR. Can we close this issue?

Thanks for everything! Closing.


[FEAT] move increment calculation to release_version pipeline (#5561)

Pull request opened by the merge tool on behalf of #5561

Merged in 3e21140bf55e2f1fdded7ce3dc9af8ac237c61ff


Sign of Estimated FRF’s Phase Angle is Inverted

pyFRF reports conjugate of FRF as estimated FRF due to using wrong cross spectral density.
For example, when it calculates H1 estimator, the code use “S_XF / S_FF” instead of “S_FX / S_FF” as the estimator.

Thank you @a1hermit you are indeed right. Also in H2 estimator the phase looks inverted.
Please give me some time to check if there is a reason why we did it like this and to setup a proper test for this.

@a1hermit the issue should now be handled; @domengorjup made a throughout review and added tests with this PR: https://github.com/ladisk/pyFRF/pull/15
The PR is now merged into the main branch. I ask you to double check it and give feedback here.

I am closing this issue now.


large CER

Describe the bug
Hello, because I want to reason, I commented out the Training part in the train.py, only the test part, and found that I can reason, but the CER I get is very large, what should I do?

Expected behaviour
Also, can you tell me how CER is calculated in this project? Where is the code for the CER calculation?
To Reproduce
No response
Environment Details
No response
Relevant Log Output
No response
Additional Context
No response

Hi, I am not sure about what you are trying to achieve. You can perform only testing with the --test_only flag, no need for commenting. The code for CER calculation is, as visible in the yaml file, here: speechbrain.utils.metric_stats.ErrorRateStats

Sorry, I don't quite understand what you mean, can you be specific? I typed in the "python train.py hparams/train_ASR_transformer.yaml --data_folder=/localscratch/aishell/" command before and it did work with training, and the test_cer I got in the end was normal, and now I want to inference, and I see that train.py has "Testing" behind it, so I put the previous " Training" part is commented out, and the program can also run, but the CER value is obviously abnormal，what should I do?

Right, first thing to do then, have a look at our [inference tutorial](https://speechbrain.github.io/tutorial_advanced.html] that will give you more information about what you are doing and trying to do. For the flag, writing: python train.py hparams/train_ASR_transformer.yaml --data_folder=/localscratch/aishell/ --test_only should skip the training. If the training has been done fully, then the test should just work (if the checkpoints are loaded, this should be logged in the terminal).

Hello, I reasoned as you said using "python train.py hparams/train_ASR_transformer.yaml --data_folder=/localscratch/aishell/ --test_only", but ran into "Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/speechbrain/utils/checkpoints.py", line 1165, in average_state_dicts
running_sum = next(iterator)
StopIteration", how do I fix it?

Well it looks like your model hasn't been trained (i.e. no checkpoints to load)? Could you look into the results folder? There should be a save folder with CKPT-{smth} in it. If not, the model hasn't been trained. Also, I need to know what recipe does that. Is this a standard SB recipe? You need to let the training happen for at least one epoch to enable the test like this, because otherwise no checkpoints exist.

May I ask what the final test results were when you ran it on the AISHELL dataset? I used the speechbrain/asr-wav2vec2-ctc-aishell model and ran the --test_only command, and the results I got were:
speechbrain.core - Beginning experiment!
speechbrain.core - Experiment folder: results/ctc_wav2vec2/2
speechbrain.core - Info: precision arg from hparam file is used
speechbrain.core - Info: ckpt_interval_minutes arg from hparam file is used
speechbrain.core - Gradscaler enabled: False. Using precision: fp32.
speechbrain.core - ASR Model Statistics:
* Total Number of Trainable Parameters: 340.2M
* Total Number of Parameters: 340.2M
* Trainable Parameters represent 100.0000% of the total size.
speechbrain.decoders.ctc - space_token ` ` not found in the vocabulary.Using value -1 as `space_index`.Note: If your transcription is not expected to contain spaces, you can ignore this warning.
speechbrain.decoders.ctc - Found `space_token` at index -1.
speechbrain.core - Test only mode, skipping training and validation stages.
speechbrain.utils.checkpoints - Would load a checkpoint here, but none found yet.
torch.distributed.nn.jit.instantiator - Created a temporary directory at /tmp/tmp6l2e2f1l
torch.distributed.nn.jit.instantiator - Writing /tmp/tmp6l2e2f1l/_remote_module_non_scriptable.py
speechbrain.utils.train_logger - Epoch loaded: 0 - test loss: 1.44e+02, test CER: 1.33e+03

These results differ somewhat from those provided by the official model. Do you know what might be the reason for this?