[WFLY-4880] Refactor the security manager permissions to be list

attributes
Since this has only been in WF 9 and no product releases, I am skipping the transformers since they will be slightly complicated.
https://issues.jboss.org/browse/WFLY-4880
The new output is:
[standalone@localhost:9990 /] /subsystem=security-manager/deployment-permissions=default:read-resource
{
    "outcome" => "success",
        "result" => {
    "maximum-permissions" => [{"class" => "java.security.AllPermission"}],
    "minimum-permissions" => undefined
}
}
[standalone@localhost:9990 /] /subsystem=security-manager/deployment-permissions=default:read-resource-description
{
    "outcome" => "success",
        "result" => {
    "description" => "The permissions that are to be granted to deployments",
            "attributes" => {
        "maximum-permissions" => {
            "type" => LIST,
                    "description" => "The maximum set of permissions that can be granted to a deployment or jars.",
                    "expressions-allowed" => false,
                    "nillable" => true,
                    "allowed" => [
            "class",
                    "name",
                    "actions",
                    "module"
            ],
            "value-type" => {
                "class" => {
                    "type" => STRING,
                            "description" => "The permission fully-qualified class name",
                            "expressions-allowed" => true,
                            "nillable" => false,
                            "min-length" => 1L,
                            "max-length" =><PHONE_NUMBER>L
                },
                "name" => {
                    "type" => STRING,
                            "description" => "The permission target name",
                            "expressions-allowed" => true,
                            "nillable" => true,
                            "min-length" => 1L,
                            "max-length" =><PHONE_NUMBER>L
                },
                "actions" => {
                    "type" => STRING,
                            "description" => "The permission actions",
                            "expressions-allowed" => true,
                            "nillable" => true,
                            "min-length" => 1L,
                            "max-length" =><PHONE_NUMBER>L
                },
                "module" => {
                    "type" => STRING,
                            "description" => "The module to load the permission from. If not specified it will be loaded using the class loader of the security manager subsystem.",
                            "expressions-allowed" => true,
                            "nillable" => true,
                            "min-length" => 1L,
                            "max-length" =><PHONE_NUMBER>L
                }
            },
            "access-type" => "read-write",
                    "storage" => "configuration",
                    "restart-required" => "all-services"
        },
        "minimum-permissions" => {
            "type" => LIST,
                    "description" => "The minimum set of permissions to be granted to a deployment or jars.",
                    "expressions-allowed" => false,
                    "nillable" => true,
                    "allowed" => [
            "class",
                    "name",
                    "actions",
                    "module"
            ],
            "value-type" => {
                "class" => {
                    "type" => STRING,
                            "description" => "The permission fully-qualified class name",
                            "expressions-allowed" => true,
                            "nillable" => false,
                            "min-length" => 1L,
                            "max-length" =><PHONE_NUMBER>L
                },
                "name" => {
                    "type" => STRING,
                            "description" => "The permission target name",
                            "expressions-allowed" => true,
                            "nillable" => true,
                            "min-length" => 1L,
                            "max-length" =><PHONE_NUMBER>L
                },
                "actions" => {
                    "type" => STRING,
                            "description" => "The permission actions",
                            "expressions-allowed" => true,
                            "nillable" => true,
                            "min-length" => 1L,
                            "max-length" =><PHONE_NUMBER>L
                },
                "module" => {
                    "type" => STRING,
                            "description" => "The module to load the permission from. If not specified it will be loaded using the class loader of the security manager subsystem.",
                            "expressions-allowed" => true,
                            "nillable" => true,
                            "min-length" => 1L,
                            "max-length" =><PHONE_NUMBER>L
                }
            },
            "access-type" => "read-write",
                    "storage" => "configuration",
                    "restart-required" => "all-services"
        }
    },
    "operations" => undefined,
            "notifications" => undefined,
            "children" => {}
}
}

Linux Build 7026 is now running using a merge of 734d96a699bfb2a5f8f01c6d8895a78863c7ef9c

Windows Build 2081 is now running using a merge of 734d96a699bfb2a5f8f01c6d8895a78863c7ef9c

Linux with security manager Build 1902 is now running using a merge of 734d96a699bfb2a5f8f01c6d8895a78863c7ef9c

Linux with security manager Build 1902 outcome was SUCCESS using a merge of 734d96a699bfb2a5f8f01c6d8895a78863c7ef9c
Summary: Tests passed: 871, ignored: 280 Build time: 0:06:16

Linux Build 7026 outcome was FAILURE using a merge of 226e750b48a92e0e5c4bc44dce1e59038cedf2fb
Summary: Tests failed: 1 (1 new), passed: 2942, ignored: 344, muted: 1 Build time: 0:50:42
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.ejb.remote.jndi.RemoteEJBJndiBasedInvocationTestCase.testRemoteSLSBInvocation: <no details avaliable>

Windows Build 2081 outcome was FAILURE using a merge of 226e750b48a92e0e5c4bc44dce1e59038cedf2fb
Summary: Tests failed: 109 (91 new), passed: 2678, ignored: 342, muted: 2 Build time: 0:51:44
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.clustering.messaging.ClusteredMessagingTestCase.testClusteredQueue: <no details avaliable>

org.jboss.as.test.clustering.messaging.ClusteredMessagingTestCase.testClusteredTopic: <no details avaliable>

org.jboss.as.test.clustering.xsite.XSiteSimpleTestCase.testPutToBackupNotRelayed: <no details avaliable>

org.jboss.as.test.manualmode.ejb.client.outbound.connection.RemoteOutboundConnectionReconnectTestCase.testRemoteServerRestarts: <no details avaliable>

org.jboss.as.test.manualmode.ejb.client.outbound.connection.RemoteOutboundConnectionReconnectTestCase.testRemoteServerStartsLate: <no details avaliable>

org.jboss.as.test.manualmode.layered.LayeredDistributionTestCase.testLayeredProductVersion: <no details avaliable>

org.jboss.as.test.manualmode.layered.LayeredDistributionTestCase.testLayeredDeployment: <no details avaliable>

org.jboss.as.test.manualmode.parse.ParseAndMarshalModelsTestCase.testEAP610StandaloneJtsXml: <no details avaliable>

org.jboss.as.test.manualmode.parse.ParseAndMarshalModelsTestCase.testEAP620StandaloneHornetQCollocatedXml: <no details avaliable>

org.jboss.as.test.manualmode.parse.ParseAndMarshalModelsTestCase.test720StandaloneMinimalisticXml: <no details avaliable>

org.jboss.as.test.manualmode.parse.ParseAndMarshalModelsTestCase.test713HostXml: <no details avaliable>

##### there are 99 more failed tests, see build details

Linux with security manager Build 1904 is now running using a merge of 226e750b48a92e0e5c4bc44dce1e59038cedf2fb

Linux Build 7028 is now running using a merge of 226e750b48a92e0e5c4bc44dce1e59038cedf2fb

Windows Build 2083 is now running using a merge of 226e750b48a92e0e5c4bc44dce1e59038cedf2fb

Linux with security manager Build 1904 outcome was SUCCESS using a merge of 226e750b48a92e0e5c4bc44dce1e59038cedf2fb
Summary: Tests passed: 871, ignored: 280 Build time: 0:06:24

Windows Build 2083 outcome was SUCCESS using a merge of 226e750b48a92e0e5c4bc44dce1e59038cedf2fb
Summary: Tests passed: 2944, ignored: 344 Build time: 0:48:44

Linux Build 7028 outcome was FAILURE using a merge of 226e750b48a92e0e5c4bc44dce1e59038cedf2fb
Summary: Tests failed: 1 (1 new), passed: 2941, ignored: 344, muted: 2 Build time: 0:50:09
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.management.deploy.runtime.StatelessEJBRemoteHomeRuntimeNameTestCase.testStatelessLocalHome: <no details avaliable>

Linux with security manager Build 1993 is now running using a merge of 5018612f017079e4df4601e9eb8bfe02e2c28234

Windows Build 2172 is now running using a merge of 5018612f017079e4df4601e9eb8bfe02e2c28234

Linux Build 7120 is now running using a merge of 5018612f017079e4df4601e9eb8bfe02e2c28234

Linux with security manager Build 1993 outcome was SUCCESS using a merge of 4c6daef248b6a49e2a6523aa6a764f87394f6a62
Summary: Tests passed: 877, ignored: 284 Build time: 0:06:36

@kabir :+1:
Please feel free to merge if the testsuite run looks good. If you don't get to it and the tests are good I'll put the read to merge label on it so it can get merged whenever.

Linux Build 7120 outcome was FAILURE using a merge of 4c6daef248b6a49e2a6523aa6a764f87394f6a62
Summary: Tests failed: 2 (2 new), passed: 2953, ignored: 355 Build time: 0:46:44
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.ejb.client.descriptor.EJBClientDescriptorTestCase.testClientInvocationTimeout: <no details avaliable>

org.jboss.as.test.integration.ejb.stateful.undeploy.RemoveSFSBOnUndeployTestCase.testSfsbDestroyedOnUndeploy: <no details avaliable>

Windows Build 2172 outcome was FAILURE using a merge of 4c6daef248b6a49e2a6523aa6a764f87394f6a62
Summary: Tests failed: 2 (2 new), passed: 2953, ignored: 355 Build time: 0:48:55
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.clustering.xsite.XSiteSimpleTestCase.testPutRelayedToBackups: <no details avaliable>

org.jboss.as.test.manualmode.ejb.client.cluster.EJBClientClusterConfigurationTestCase.testServerToServerClusterFormation: <no details avaliable>

Windows Build 2174 is now running using a merge of 4c6daef248b6a49e2a6523aa6a764f87394f6a62

Linux with security manager Build 1995 is now running using a merge of 4c6daef248b6a49e2a6523aa6a764f87394f6a62

Linux Build 7122 is now running using a merge of 4c6daef248b6a49e2a6523aa6a764f87394f6a62

Linux with security manager Build 1995 outcome was SUCCESS using a merge of 4c6daef248b6a49e2a6523aa6a764f87394f6a62
Summary: Tests passed: 877, ignored: 284 Build time: 0:06:36

Linux Build 7122 outcome was FAILURE using a merge of 4c6daef248b6a49e2a6523aa6a764f87394f6a62
Summary: Tests failed: 2 (2 new), passed: 2953, ignored: 355 Build time: 0:46:37
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.ejb.remote.suspend.EjbRemoteSuspendTestCase.testSuspendedCallRejected: <no details avaliable>

org.jboss.as.test.integration.ejb.timerservice.database.DatabasePersistentCalendarTimerManagementTestCase.testResourceExistence: <no details avaliable>

Windows Build 2174 outcome was FAILURE using a merge of 4c6daef248b6a49e2a6523aa6a764f87394f6a62
Summary: Tests failed: 2, passed: 2953, ignored: 355 Build time: 0:48:18
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.clustering.xsite.XSiteSimpleTestCase.testPutRelayedToBackups: <no details avaliable>

org.jboss.as.test.manualmode.ejb.client.cluster.EJBClientClusterConfigurationTestCase.testServerToServerClusterFormation: <no details avaliable>


Cleaning up

Pull-request

[x] I have read the code of conduct.
[x] I have created a relating issue.

Changes

[x] Existing code
[ ] New feature

Closes Issue: NaN
Description
I am cleaning up the code

Codecov Report

Merging #33 (bfc4309) into master (2fb70b8) will not change coverage.
The diff coverage is 0.00%.

:exclamation: Current head bfc4309 differs from pull request most recent head cc6cd40. Consider uploading reports for the commit cc6cd40 to get more accurate results

@@          Coverage Diff           @@
##           master     #33   +/-   ##
======================================
  Coverage    0.00%   0.00%
======================================
  Files         232     232
  Lines        4468    4470    +2
  Branches      574     574
======================================
- Misses       4468    4470    +2

Impacted Files
Coverage Δ

...on/commands/slash/builder/SlashCommandBuilder.java
0.00% <ø> (ø)

...commands/slash/builder/SlashCommandBuilderReg.java
0.00% <0.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Use named keys instead of numbers when generating PlantUML output

Maybe it is related to another outputs too.
At the moment output look like:
Person_Ext(27, "API consumer", "")
Person(28, "Dashboard User", "")
System(30, "Upstream API", "")

However, in DSL these keys are defined, e.g. consumer = Person("API Consumer").
If output will use named keys like this:
Person_Ext(consumer, "API consumer", "")
Person(dashboard_user, "Dashboard User", "")
System(upstream, "Upstream API", "")

It will be possible to easilly extend the exported diagram with plantuml specific features, like notes, etc.

The CLI/DSL creates a JSON representation of a Structurizr workspace, which the exporter then uses to create PlantUML diagram definitions from. For that reason, the exporter doesn't know anything about identifiers used in the DSL. The exporter could generate unique IDs based upon element names (e.g. MySoftwareSystem.WebApplication.Component1) ... the DSL formatter does this, but they tend to be quite verbose. Here's an example of what this would look like:
@startuml
title API Application - Dynamic

top to bottom direction

skinparam {
  shadowing false
  arrowFontSize 10
  defaultTextAlignment center
  wrapWidth 200
  maxMessageSize 100
  PackageBorderColor<<group>> #cccccc
  PackageFontColor<<group>> #cccccc
}

hide stereotype

skinparam database<<InternetBankingSystem.Database>> {
  BackgroundColor #438dd5
  FontColor #ffffff
  BorderColor #2e6295
}
skinparam rectangle<<InternetBankingSystem.APIApplication.SecurityComponent>> {
  BackgroundColor #85bbf0
  FontColor #000000
  BorderColor #5d82a8
}
skinparam rectangle<<InternetBankingSystem.APIApplication.SignInController>> {
  BackgroundColor #85bbf0
  FontColor #000000
  BorderColor #5d82a8
}
skinparam rectangle<<InternetBankingSystem.SinglePageApplication>> {
  BackgroundColor #438dd5
  FontColor #ffffff
  BorderColor #2e6295
}

package "API Application\n[Container: Java and Spring MVC]" <<InternetBankingSystem.APIApplication>> {
  skinparam PackageBorderColor<<InternetBankingSystem.APIApplication>> #444444
  skinparam PackageFontColor<<InternetBankingSystem.APIApplication>> #444444

  rectangle "==Sign In Controller\n<size:10>[Component: Spring MVC Rest Controller]</size>\n\nAllows users to sign in to the Internet Banking System." <<InternetBankingSystem.APIApplication.SignInController>> as InternetBankingSystem.APIApplication.SignInController
  rectangle "==Security Component\n<size:10>[Component: Spring Bean]</size>\n\nProvides functionality related to signing in, changing passwords, etc." <<InternetBankingSystem.APIApplication.SecurityComponent>> as InternetBankingSystem.APIApplication.SecurityComponent
}

rectangle "==Single-Page Application\n<size:10>[Container: JavaScript and Angular]</size>\n\nProvides all of the Internet banking functionality to customers via their web browser." <<InternetBankingSystem.SinglePageApplication>> as InternetBankingSystem.SinglePageApplication
database "==Database\n<size:10>[Container: Oracle Database Schema]</size>\n\nStores user registration information, hashed authentication credentials, access logs, etc." <<InternetBankingSystem.Database>> as InternetBankingSystem.Database

InternetBankingSystem.SinglePageApplication .[#707070,thickness=2].> InternetBankingSystem.APIApplication.SignInController : "<color:#707070>1. Submits credentials to\n<color:#707070><size:8>[JSON/HTTPS]</size>"
InternetBankingSystem.APIApplication.SignInController .[#707070,thickness=2].> InternetBankingSystem.APIApplication.SecurityComponent : "<color:#707070>2. Validates credentials using"
InternetBankingSystem.APIApplication.SecurityComponent .[#707070,thickness=2].> InternetBankingSystem.Database : "<color:#707070>3. select * from users where username = ?\n<color:#707070><size:8>[JDBC]</size>"
InternetBankingSystem.APIApplication.SecurityComponent <.[#707070,thickness=2]. InternetBankingSystem.Database : "<color:#707070>4. Returns user data to\n<color:#707070><size:8>[JDBC]</size>"
InternetBankingSystem.APIApplication.SignInController <.[#707070,thickness=2]. InternetBankingSystem.APIApplication.SecurityComponent : "<color:#707070>5. Returns true if the hashed password matches"
InternetBankingSystem.SinglePageApplication <.[#707070,thickness=2]. InternetBankingSystem.APIApplication.SignInController : "<color:#707070>6. Sends back an authentication token to\n<color:#707070><size:8>[JSON/HTTPS]</size>"
@enduml


Streets to Labs transit is never active

The transit from Streets to Labs is always disabled (Assuming due to dumps being done without a keycard in the player inventory).
Due to this, the transit never shows up in the extracts menu.
Even if we were to enable the transit, at a glance there is no functionality in the server or client to consume the required item for a transit, and no data in the map JSON to actually tell the server or client what item is required for the transit, only a text description of the item

Originally written by DrakiaXYZ.

I lied, GClass1642::method_15 handles calling GClass1641::method_8 which gets the list of item(s) required from the target map, and verifies the players inventory contains them, and denies access if they lack them.
Will test to see if this also handles removing the required item and update issue with the results

Originally written by DrakiaXYZ.

Confirmed the client already handles everything, we just need to enable the transit
Should be fixed with https://dev.sp-tarkov.com/SPT/Server/pulls/432

Originally written by DrakiaXYZ.


chore(deps): update common-dev-assets digest to c0378db

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
a7e01fe -> c0378db

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

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


Manually change selection in mr-image-selector

I used only mr-image-selector directive. When I change coords in 'mr-model', I want to see new position of crop. But it's no work. Could you help me?
http://plnkr.co/edit/7IFgfB?p=preview

I second this. I want to pre set selector to specified coordinated, looks like setting
$scope.selector = {x1: 10, x2: 40, y1: 10, y2: 40}
does not work. Can you please advise


Remove unused member variable in EditorInspectorSection

dropping was added in #41138 to mark whether a section has any property that is able to accept the drop.
It has been abandoned (and always false) since #70148, as all sections can now be unfolded regardless of their content.

Thanks!


Serializer

Writing a serializer isn't high on my TODO list, but it's on it.
Feel free to like/comment this issue if it's something you would like to see.

I would be particularly interested in said serializer. If I can help in any way, please let me now!

I happened to start in this recently! Not sure when I'll get around to completing it though, holidays and all. :)

I might be interested in helping to speed up this development branch as I am starting to need a serializer rather soon. Can I contact you on discord for a discussion perhaps (my tag is GrizzlT#4595)? @owengage

@GrizzlT the branch dev/serializer (commit e00417f8a0df8a3787ce9a8dfd8a6d9f82fe4ffc) has a mostly complete serializer on it. There's the more obscure Rust types it doesn't yet serialize but I think it covers a lot at the moment.
Do you think you can test it out at all? Or are you needing snbt support for what you're doing?

When I have some time on my hands I'll definitely try this out!!
As you might know, chunk packets contain a heightmap encoded in NBT-format. That will be my first case to test it on.

The current serializer in version 2.0.0-alpha is working for me in rustmatica. Would appreciate it being in a stable release soon

fastnbt-2.0.0 is now available. Thank you for testing it out folks. :)


Set up intro page in js.org

Issue: #52
Preview: https://lukasjhan.github.io/sd-jwt-js/
Once it's done, I will add our docs here. Our domain will be https://sdjwt.js.org

Todo:

[x] set up CNAME

I think I can set up CNAME after this PR merged.

@lukasjhan check this out


Matcha how to start

Hi !
I'm not sure what you specifically inquired, but checkout https://matcha.mizu.sh/#usage
You basically just need to add the following to your html document
<link rel="stylesheet" href="https://matcha.mizu.sh/matcha.css">


no output from BAT-cli, hadros instance, support for large files, documentation help

Hello, and thanks for providing this promising tool.
I cannot run BAT-cli on large files (250 MB), never get past 0%, after which the terminal crashes. I tried 96 kHz Audiomoth-derived WAV files from a German forest edge, as well as its time-expanded conversions (factor 0.1). I don't get any result from the hadros web interface either.
Using shorter, time-expanded 10 MB files (3 seconds long) extracted from these longer recordings, I get no output from BAT-cli but it runs until the end (in 2 minutes). I get no output from hadros but the online examples work well.
For the BAT-cli, no information is visible as to whether ultrasound files can be input of time expansion has to be done by ourselves, and I cannot find the "comprehensive documentation provided on the GitHub page". Maybe I am doing something wrong - appreciate any help.
I did install all required python packages. I use Ubuntu 22.04. My numpy version is slightly above the max that numpy supports - is this the culprit?

Hello,
sorry for the inconvenience. I will look into this as soon as I can find the time for it! Until then, maybe try our newer (yet unpublished) version: https://github.com/FrankFundel/BigBAT-GUI
It has a graphical interface and it was built for longer sequences. If you encounter any problems, let me know!
Thank you for your interest in the project and have a nice evening!
Sincerely
Frank


Added benchmark, Moved minio-deps to fork without race fix we don't need.

Fixes: https://github.com/thanos-io/thanos/issues/3917
Long term fix: https://github.com/thanos-io/thanos/issues/3967
Performed some benchmarks:
	// Uploading 100MB with:
	// PartSize: 1024 * 1024 * 100 = BenchmarkUpload-12    	      84	 416025119 ns/op	421129826 B/op	     946 allocs/op  (400MB allocated for single op)
	// ParSize:  1024 * 1024 * 25  = BenchmarkUpload-12    	     100	 273648888 ns/op	106639830 B/op	    1576 allocs/op (100MB overallocated).
	// PartSize: 1024 * 1024 * 8   = BenchmarkUpload-12    	      97	 254052232 ns/op	35392395 B/op	    3078 allocs/op (Still 33MB allocated [8x4])

I reverted the race fix locally on my branch and the result is:
// PartSize: 1024 * 1024 * 100 = BenchmarkUpload-12    	      88	 282906636 ns/op	 1671249 B/op	     907 allocs/op
// PartSize: 1024 * 1024 * 8 =BenchmarkUpload-12    	     100	 300660587 ns/op	 2195440 B/op	    3044 allocs/op

Signed-off-by: Bartlomiej Plotka<EMAIL_ADDRESS>

Done!


Embedded Contribution Flows Broken

Describe the bug
It seems that starting recently the embedded contribution flows are broken.
To Reproduce
Steps to reproduce the behavior:

Go to any embedded contribution flow. Such as, https://opencollective.com/embed/hapu-comms/contribute/t-shirt-sales-payments-34722
See error

Expected behavior
The embedded contribution flow should show up the contribution flow without any issue
Screenshots
When  going to an embedded contribution flow we get,

Reported in Fresh-desk at, https://opencollective.freshdesk.com/a/tickets/244808

Thanks Suds, fixing that right away


Sysname not recognized as data type

Azure Data Studio Version: Insiders
OS Version: Windows Enterprise

Steps to Reproduce:

Open new table in Table Designer
In the "Type" field, select the drop down and search for "sysname" data type

Expected:
User should be able to find this data type
Actual:
User is not able to find this data type right away. They have to scroll to the bottom of the list against alphabetical order and sysname is denoted as "sys.sysname"
Impact: Since the data types are listed in alphabetical order, user may be led to believe that this data type is not supported

Does this issue occur when all extensions are disabled?: Yes/No

This exists in the dropdown as sys.sysname - it doesn't appear "alphabetically" in the list.


Release 3.5.2

Release PR ready for review

Hold for #402

@cocojoe - Merged in #402, ready for final review 👍

@cocojoe - Thank you!
Waiting on https://github.com/auth0/docs/pull/5707 to merge and deploy.

@cocojoe - Updated the changelog which nuked your review. Can you reapprove this please and I'll release this tomorrow AM?


[4.0.x] Updated source translation catalogs.

I'm not always convinced it's worth updating files when only source code line numbers are updated.

Agreed, that's why I only included files with actual changes.

@claudep Thanks for checking :+1: Updated.


.active element conflicts with Bootstrap

The active <li> gets class="textcomplete-item active", but the .active class conflicts with Bootstrap styling. It should be changed to .textcomplete-item-active or something

Ignore the commit, obviously not the right fix. Issue still remains though.

You can change the dropdown element's class attribute using dropdownClassName option.
If you are still using the jquery-textcomplete.css (it was removed), please stop loading the file.

I am not loading the file.
You are applying .active to the <li> element and that does not conform with bootstrap .dropdown-menu: http://getbootstrap.com/components/#dropdowns
I cannot change the .active class in config.

Bootstrap's dropdown uses .dropdown-menu > .active > a, NOT .active.
https://github.com/twbs/bootstrap/blob/v3.3.6/less/dropdowns.less#L86-L96
In addition, this plugin does not provide CSS. This means that if bootstrap dropdown is broken in your site, it is caused by another CSS written or loaded by you. Please learn the basics of CSS ahead.

Wow, awesome attitude. I know CSS. You are adding CSS classes through JavaScript, hence the problem.
The fact is that if you go through the Bootstrap documentation, .active is not used in .dropdown-menu, instead the <a> element is used for coloring.
Notice how the Bootstrap dropdowns on http://getbootstrap.com/components/#dropdowns do not look like yours, because you are adding the .active element to <li>. Can we agree these are not consistent? Nowhere is .active in .dropdown-menu documented.

Please let me see your CSS which is causing the problem.

I'm using nothing but default Bootstrap from Bower.
Even your .gif on https://github.com/yuku-t/jquery-textcomplete and the demo on http://yuku-t.com/jquery-textcomplete/ shows the selected item as blue, because of .active, and not grey, as seen in the official documentation on how .dropdown-menu is suppose to look.

a element in .active in .dropdown-menu has blue background-color is official behavior, even though it is not documented. It is implemented here
↓ I manually added active class to li using developer tool.

If you think it is a bug, you can open an issue at https://github.com/twbs/bootstrap

not grey

If you want to change the background-color of selected item to grey, use the css:
.textcomplete-dropdown > .active > a {
  background-color: #f5f5f5 !important;
}

#f5f5f5 came from https://github.com/twbs/bootstrap/blob/v3.3.6/less/variables.less#L248
OR if you build bootstrap css by yourself, change the @dropdown-link-active-bg: variable to #f5f5f5.


Can't compile old contract using old version of compiler

Hi,
I've been trying to compile and analyze the so-called "Block King" contract, which can be found on Etherscan. However, I can't find a way to run the compiler which is claimed to have produced the EVM code currently on the blockchain, namely version v0.2.1-2016-02-10-7b5d96c. I have tried to specify this version in the remix IDE but nothing happens when I try to compile it.

this fix should do the trick https://github.com/ethereum/solc-js/pull/168

Hi, thanks for the quick response! Has the fix been pushed to https://remix.ethereum.org/? It still has the same behaviour as previously.

it has been pushed for sure by now


[BUG] 1.0.x have issues BWC/rolling upgrade to 2.x

I have talked to @qreshi @ohltyler on this extensively.
When using opensearch 1.0.x artifacts doing bwc test, as odfe is deprecated right now, we see this:
Caused by: java.lang.IllegalStateException: Received message from unsupported version: [2.1.0] minimal compatible version is: [6.8.0]
»       at org.opensearch.transport.TransportHandshaker$HandshakeResponseHandler.handleResponse(TransportHandshaker.java:168) ~[opensearch-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]

This exception getting thrown due to min compat version for OS 1.0.0 is ES 6.8.0 and it thinks 2.0.0 is ES 2.0.0 which is not on or after 6.8.0 as a number.
This issue was initially raised by @cliu123 here: https://github.com/opensearch-project/OpenSearch/issues/3001
It later get fixed by @nknize in this commit: https://github.com/opensearch-project/OpenSearch/commit/7f524c76b8d6188995a49faed7406805074fd701

The issue is, when we release bundle 1.0.1 we did not update the opensearch-min code but rather using min 1.0.0 + <IP_ADDRESS>/<IP_ADDRESS> plugins to produce the bundle 1.0.1 release:
https://opensearch.org/versions/opensearch-1-0-1.html
https://opensearch.org/docs/1.0/opensearch/install/plugins/
https://opensearch.org/docs/1.0/dashboards/install/plugins/
This means, no 1.0.1 core standalone tarball, so @nknize fix did not get released until 1.1.0.
This also means the possible concern of no 1.0.x version available for users to rolling upgrade from 1.0.x to 2.x.

I welcome more discussion on this so we can get more information on this issue.
As of now, the bwc tests we are switching are using 1.1.0 instead of 1.0.0.
cc: @CEHENKLE @bbarani @saratvemulapalli @dblock
Thanks.

Thanks @peterzhuamazon for the context.
Trying to understand how to learn from this, couple of questions:

did we miss including 1.0.1 min in the bundle or was it intentional?
Was this caught by automation ?
Why did this surface now? (plugins should have already been testing 1.0.0 to 2.x prior to 2.2 release and opendistro) archival.

That said, I agree moving forward with 1.1.0 is the probably the right call for plugins to test against.
But we should document a path forward for customers who are on OpenSearch 1.0 and call it out explicitly the upgrade path doesnt exist.

Thanks @peterzhuamazon for the context.
Trying to understand how to learn from this, couple of questions:
* did we miss including `1.0.1` min in the bundle or was it intentional?

* Was this caught by automation ?

* Why did this surface now? (plugins should have already been testing 1.0.0 to 2.x prior to 2.2 release and opendistro archival).

That said, I agree moving forward with 1.1.0 is the probably the right call for plugins to test against. But we should document a path forward for customers who are on OpenSearch 1.0 and call it out explicitly the upgrade path doesnt exist.

Hi @saratvemulapalli

We did not miss it was purely a decision to only update plugins as a patch version release, therefore no core changes and we did not realize this was a problem back then due to BWC test was running on ODFE.
It was caught due to ODFE deprecated and plugin owners tried to use OpenSearch 1.0.0 for BWC and failed.
See 2.
Thanks.

Thanks @peterzhuamazon
Ideally with/without ODFE, our plugins should have tested OpenSearch 1.0 to 2.x, probably a learning.
Anyway I am ok with plugins testing with 1.1.0, but we need to document it in our docs explaining why OpenSearch 1.0 is not directly upgradable to 2.x. Let me know if you guys have any other suggestions.

I think you got this right @saratvemulapalli. Care to open an issue in docs or just PR the caveat?

Opened up an issue, if its not getting attention I'll PR it.


non-wheel mouse

game crashes on startup with a non scroll-wheel mouse
Imported from trac ticket #217,  created by busybee on 08-11-2010 at 19:56, last modified: 08-12-2010 at 05:34

try r961 +
Trac comment by Imago on 08-12-2010 at 05:34

http://build.alleg.net/Dumps/Reports/CrashHang_Report__Allegiance.exe__08112010123100332.mht
Trac comment by Imago on 08-11-2010 at 21:56


Support OpenTelementry Logs

Description
This change enables support for OpenTelemetry Logs #252
Note: this branch is based on the OpenTelemetry Metrics branch due to the more recent OpenTelemetry proto support.
Check List

[x ] New functionality includes testing.
[ x] New functionality has been documented.
[ x] New functionality has javadoc added
[ x] Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

What is status of this PR? I'm very much interested in using it to standarize on otel in infra

I'm trying to make a logs gathering pipeline, but getting java.lang.RuntimeException: No valid pipeline is available for execution, exiting whenever I enable opensearch sink, stdout works fine and other pipelines work fine too (eg: otel-trace-raw-pipeline)

pipelines.yaml
### START TRACES
otel-trace-pipeline:
  workers: 2
  delay: "100"
  buffer:
    bounded_blocking:
      buffer_size: 512
      batch_size: 32
  source:
    otel_trace_source:
      # common
      port: 21890
      health_check_service: true
      thread_count: 200
      max_connection_count: 500
      # TODO: ssl
      ssl: false
      authentication:
        unauthenticated:
  sink:
    - stdout:
    - pipeline:
        name: otel-trace-raw-pipeline
    - pipeline:
        name: otel-trace-service-map-pipeline
otel-trace-raw-pipeline:
  workers: 2
  delay: "3000"
  buffer:
    bounded_blocking:
      buffer_size: 512
      batch_size: 64
  source:
    pipeline:
      name: otel-trace-pipeline
  processor:
    - otel_trace_raw:
    - otel_trace_group:
        # see https://github.com/opensearch-project/data-prepper/blob/a72025e028c6925436d55bd92ff2392b367155b5/data-prepper-plugins/opensearch/README.md
        hosts:
          - https://vpc-account-opensearch-s3REDACTED5y.eu-north-1.es.amazonaws.com
        aws_sigv4: true
  sink:
    - opensearch:
        # see https://github.com/opensearch-project/data-prepper/blob/a72025e028c6925436d55bd92ff2392b367155b5/data-prepper-plugins/opensearch/README.md
        insecure: false
        hosts:
          - https://vpc-account-opensearch-s3REDACTED5y.eu-north-1.es.amazonaws.com
        aws_region: eu-north-1
        aws_sigv4: true
        index_type: trace-analytics-raw
otel-trace-service-map-pipeline:
  workers: 2
  delay: "100"
  buffer:
    bounded_blocking:
      buffer_size: 512
      batch_size: 32
  source:
    pipeline:
      name: otel-trace-pipeline
  processor:
    - service_map_stateful:
        # The window duration is the maximum length of time the data prepper stores the most recent trace data to evaluvate service-map relationships.
        # The default is 3 minutes, this means we can detect relationships between services from spans reported in last 3 minutes.
        # Set higher value if your applications have higher latency.
        window_duration: 360
  sink:
    - opensearch:
        # see https://github.com/opensearch-project/data-prepper/blob/a72025e028c6925436d55bd92ff2392b367155b5/data-prepper-plugins/opensearch/README.md
        insecure: false
        hosts:
          - https://vpc-account-opensearch-s3REDACTED5y.eu-north-1.es.amazonaws.com
        aws_region: eu-north-1
        aws_sigv4: true
        index_type: trace-analytics-service-map
### END TRACES

#### START METRICS
#otel-metrics-pipeline:
#  workers: 2
#  delay: "100"
#  buffer:
#    bounded_blocking:
#      buffer_size: 512
#      batch_size: 32
#  source:
#    otel_metrics_source:
#      # common
#      health_check_service: true
#      port: 21891
#      # TODO: ssl
#      ssl: false
#      authentication:
#        unauthenticated:
#  processor:
#    - otel_metrics_raw_processor:
#        calculate_histogram_buckets: true
#        calculate_exponential_histogram_buckets: true
#        exponential_histogram_max_allowed_scale: 10
#  sink:
#    - stdout:
#### END METRICS

### START LOGS
otel-logs-pipeline:
  workers: 2
  delay: "100"
  buffer:
    bounded_blocking:
      buffer_size: 512
      batch_size: 32
  source:
    otel_logs_source:
      # see https://github.com/opensearch-project/data-prepper/blob/00d7ec690ab8034a013f12b9fc0e78aa75087f82/data-prepper-plugins/otel-logs-source/README.md#L23-L23
      # common
      port: 21892
      health_check_service: true
      thread_count: 200
      max_connection_count: 500
      # TODO: ssl
      ssl: false
      authentication:
        unauthenticated:
  processor:
    - otel_logs_raw_processor:
  sink:
    - stdout:
    - opensearch:
        # see https://github.com/opensearch-project/data-prepper/blob/a72025e028c6925436d55bd92ff2392b367155b5/data-prepper-plugins/opensearch/README.md
        insecure: false
        hosts:
          - https://vpc-account-opensearch-s3REDACTED5y.eu-north-1.es.amazonaws.com
        aws_region: eu-north-1
        aws_sigv4: true
        index_type: custom
        # index by <YEAR>-<MONTH>-W<WEEK_OF_MONTH>:
        index: 'otel-v1-logs-%{yyyy-MM}-W%{W}'
### END LOGS

Tried splitting up into 2 pipelines, but didn't help either

@nazarewk According to the OpenTelemetry project documentation (Logging part), several components are still under development and may have changes, such as the API and SDK.  I believe that @kmssap is waiting to reach a stable level before finalizing this PR.
I too am looking forward to that happening.

@nazarewk @rafael-gumiero This PR is indeed based on an outdated version of the OTel logs spec, so for the time being it will only be compatible with opentelemetry-proto v0.16.0-alpha. The outdated OTel proto dependency issue will be addressed separately after this PR is merged because updating the dependency will also affect metrics and traces.

@nazarewk are you sure about your index name ? It looks like it contains two patterns (otel-v1-logs-%{yyyy-MM}-W%{W}), but only one is allowed. Could you try with only one ?

Thanks @kmssap for this PR!
I have a high level question about the pipeline design.
The OTel Log Source outputs the request to the Buffer. Then the OTel Log Processor creates events. I think the current pipeline structure would be:
OTel Log Source -> Buffer -> OTel Log Processor -> Grok
We have been changing Data Prepper to use the Event model and with that our current log pipeline (via FluentBit) would have a structure like the following:
HTTP Source -> Buffer -> Grok
Should we use this approac for OTel Logs as well? If the OTel Log Source parsed the message and wrote Event objects, pipeline authors could define structures like the following:
OTel Log Source -> Buffer -> Grok

@dlvenable Thank you for pointing out the recent architectural changes. It absolutely makes sense to align the Otel Logs Plugin to support this pipeline structure in order to have a consistent architecture. I believe it would then be necessary to move the mapping logic from the processor to the source, so the source outputs mapped events and the processor merely forwards records, right ? Also, If we move the mapping to the source we'd have the additional benefit of failing earlier in case of invalid input data.

I believe it would then be necessary to move the mapping logic from the processor to the source, so the source outputs mapped events and the processor merely forwards records, right ?

Yes, that mapping would end up in the source. We do something similar now for OTel trace as you can see below.
https://github.com/opensearch-project/data-prepper/blob/590ee21fe2c4ceb8e99626d87f5672919d7ca6a5/data-prepper-plugins/otel-trace-source/src/main/java/org/opensearch/dataprepper/plugins/source/oteltrace/OTelTraceGrpcService.java#L95

Also, If we move the mapping to the source we'd have the additional benefit of failing earlier in case of invalid input data.

Yes, this is an additional benefit to this approach. Thanks for pointing it out!

I believe it would then be necessary to move the mapping logic from the processor to the source, so the source outputs mapped events and the processor merely forwards records, right ?

Yes, that mapping would end up in the source. We do something similar now for OTel trace as you can see below.
https://github.com/opensearch-project/data-prepper/blob/590ee21fe2c4ceb8e99626d87f5672919d7ca6a5/data-prepper-plugins/otel-trace-source/src/main/java/org/opensearch/dataprepper/plugins/source/oteltrace/OTelTraceGrpcService.java#L95

Also, If we move the mapping to the source we'd have the additional benefit of failing earlier in case of invalid input data.

Yes, this is an additional benefit to this approach. Thanks for pointing it out!

Thanks for the confirmation @dlvenable, I'm on it...

After fixing logging (rebasing this myself) I managed to get the logs forwarding to work to Opensearch sink, had to set up some extra fields etc.
see https://github.com/nazarewk/kmssap-opensearch-data-prepper/tree/feature_OTEL_logs

Thanks for pointing out the issue with the rebase @nazarewk. This PR will be rebased against main again and available when the above mentioned refactoring is done.

Hello @dlvenable the PR has been adapted to the new architecture. Also, health metrics have been improved.

Not sure what is the cause, but I'm observing large amounts (10-50x) of duplicate messages on occasion in my pipeline.
Will have to look at it at some point.
I have following pipeline:

(>loadbalancing/otlp) per-node OTEL collector reading containerd logs
(<otlp >loadbalancing/otlp) 2x "router" OTEL collector (adding k8s metadata)
(<otel_logs_source >opensearch) 3x Data Prepper with
Elasticsearch

Not sure what is the cause, but I'm quite often (not always) observing large amounts (10-50x) of duplicate messages on occasion in my pipeline. Every piece of data is the same except _id
Will have to look into it at some point (getting crazy amount of storage used).
I have following pipeline:

(>loadbalancing/otlp) per-node OTEL collector reading containerd logs
(<otlp >loadbalancing/otlp) 2x "router" OTEL collector (adding k8s metadata)
(<otel_logs_source >opensearch) 3x Data Prepper with
Elasticsearch

Thanks for making note of this. Are you using any sort of aggregations in Data Prepper (e.g. aggregate processor)? Do you have any sense of the source of the duplication?

Not sure what is the cause, but I'm quite often (not always) observing large amounts (10-50x) of duplicate messages on occasion in my pipeline. Every piece of data is the same except _id
Will have to look into it at some point (getting crazy amount of storage used).
I have following pipeline:

(>loadbalancing/otlp) per-node OTEL collector reading containerd logs
(<otlp >loadbalancing/otlp) 2x "router" OTEL collector (adding k8s metadata)
(<otel_logs_source >opensearch) 3x Data Prepper with
Elasticsearch

Thanks for making note of this. Are you using any sort of aggregations in Data Prepper (e.g. aggregate processor)? Do you have any sense of the source of the duplication?

No, I am doing all the processing in OTel Collector before feeding it to the Data Prepper.
Also I did not observe any duplicates when feeding logs through fluent-bit in my old setup.

this is my pipeline config
### START LOGS
otel-logs-pipeline:
  workers: 4
  delay: "100"
  buffer:
    bounded_blocking:
      buffer_size: 512
      batch_size: 64
  source:
    otel_logs_source:
      # see https://github.com/opensearch-project/data-prepper/blob/00d7ec690ab8034a013f12b9fc0e78aa75087f82/data-prepper-plugins/otel-logs-source/README.md#L23-L23
      # common
      port: 21892
      health_check_service: true
      thread_count: 200
      max_connection_count: 500
      # TODO: ssl
      ssl: false
      authentication:
        unauthenticated:
  processor:
    - otel_logs_raw_processor:
  sink:
    - opensearch:
        # see https://github.com/opensearch-project/data-prepper/blob/a72025e028c6925436d55bd92ff2392b367155b5/data-prepper-plugins/opensearch/README.md
        insecure: false
        hosts:
          - https://OPENSEARCH_HOST
        aws_region: OPENSEARCH_AWS_REGION
        aws_sigv4: true
        # size of bulk request in MiB
        bulk_size: 10
        index_type: custom
        index: otel-v1-logs-%{YYYY.ww}
        number_of_replicas: 0
### END LOGS

looks like this might not be an issue with data prepper itself, this is the same message observed >300 times over the period of 5 min 10 sec (gotta investigate where is observedTime set) routed through different collectors on OTel level
On_demand_report_2023-01-27T07 30 11.977Z_6f27d790-9e14-11ed-aae1-19f933fe8886.csv

Duplicates were caused by large fingerprint_size on filelog receiver on OTLP size resulting in sending duplicates of entries until container log reached the (configured) 64kb of fingerprint size. Lowered it to 40 bytes (enough to cover log timestamp) and all seems fine.

Nice!


Switching from Selenium

Hey, it's a nice script. However, I would recommend moving away from Selenium to cfscrape (a library build on requests package).
Reason being; Selenium is slower and then handling a headless browser is hard and has its own restrictions. This makes the overall script a bit heavy. I would recommend switching from Selenium.

Thanks for the suggestion. I'll look into it.


[BUG] The team manager has already been setup

Describe the bug
Can't load the plugin within minecraft when I try to run the command /teama reload
ERROR
[15:30:33] [Server thread/WARN]: Unexpected exception while parsing console command "teama reload"
org.bukkit.command.CommandException: Unhandled exception executing 'teama reload' in com.booksaw.betterTeams.BooksawCommand(teamadmin)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:150) ~[SimpleCommandMap.class:git-CatServer-1.12.2-83bb041]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:710) ~[CraftServer.class:git-CatServer-1.12.2-83bb041]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchServerCommand(CraftServer.java:695) [CraftServer.class:git-CatServer-1.12.2-83bb041]
at net.minecraft.server.dedicated.DedicatedServer.func_71333_ah(DedicatedServer.java:517) [nz.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:475) [nz.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:770) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:630) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_291]
Caused by: java.lang.IllegalArgumentException: The team manager has already been setup
at com.booksaw.betterTeams.Team.setupTeamManager(Team.java:55) ~[?:?]
at com.booksaw.betterTeams.Main.setupStorage(Main.java:432) ~[?:?]
at com.booksaw.betterTeams.Main.onEnable(Main.java:168) ~[?:?]
at com.booksaw.betterTeams.Main.reload(Main.java:287) ~[?:?]
at com.booksaw.betterTeams.commands.teama.ReloadTeama.onCommand(ReloadTeama.java:17) ~[?:?]
at com.booksaw.betterTeams.commands.ParentCommand.onCommand(ParentCommand.java:135) ~[?:?]
at com.booksaw.betterTeams.BooksawCommand.execute(BooksawCommand.java:56) ~[?:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:146) ~[SimpleCommandMap.class:git-CatServer-1.12.2-83bb041]
... 7 more
I hope I have a solution because the plugin is very good and I would like to use it on my server, I mean my server is a server (catserver) with mods and plugins 1.12.2.

This bug has been fixed and the patch will be included in the next update. Thank you for reporting.


Update Diagnostic Settings PowerShell Command

Set-AzDiagnosticSetting is older version command. Update the document to use New-AzDiagnostic Setting.
Reference articles:

https://learn.microsoft.com/en-us/powershell/module/az.monitor/new-azdiagnosticsettinglogsettingsobject?view=azps-9.0.1
https://learn.microsoft.com/en-us/powershell/module/az.monitor/new-azdiagnosticsetting?view=azps-9.0.1

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

ID: aa60fa41-f753-9c55-c799-a870bdb219a4
Version Independent ID: 786b27ec-7f4d-ad35-e26d-5832c072536e
Content: Diagnostic logging in Azure Databricks - Azure Databricks
Content Source: databricks/administration-guide/account-settings/azure-diagnostic-logs.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@mssaperla Can you please update the document with latest information?

Thanks for your dedication to our documentation. Unfortunately, we have been unable to review your issue and apologize for the delayed response. The requested updates have not yet been made. The timeline for resolution varies based on resourcing. We've created an internal work item (DOC-7736) to incorporate your suggestions. We are closing this issue for now, but feel free to comment here as necessary.
#please-close

#please-close


Has anyone tried to reproduce for the celeba dataset？

When I change some file paths, I get RuntimeError: Given groups=1, weight of size [64, 15, 3, 3], expected input[2, 3, 258, 258] to have 15 channels, but got 3 channels instead problems

i got the same problem

Have you solved this problem, I think it's a problem with the model channel, but haven't found a way

    self.encoder_kv = FeatureGenerator(opt.semantic_nc, opt.ngf, opt.max_multi, norm='instance') this line ;
    semantic_nc change 3 channel  or pix2pix_model.py preprocess_input change Cut off 3 channels ex : [:,:3, :, :],

of course,
self.encoder_q = FeatureGenerator(opt.semantic_nc, opt.ngf, opt.max_multi, norm='instance')
self.encoder_kv = FeatureGenerator(opt.semantic_nc+3, opt.ngf, opt.max_multi, norm='instance')
ref_input = torch.cat((ref_img, ref_seg_map), dim=1)
out['warp_out'] = []
adaptive_feature_seg = self.encoder_q(seg_map)
adaptive_feature_img = self.encoder_kv(ref_input)
    for i in range(len(adaptive_feature_seg)):
        adaptive_feature_seg[i] = util.feature_normalize(adaptive_feature_seg[i])
        adaptive_feature_img[i] = util.feature_normalize(adaptive_feature_img[i])

    if self.opt.isTrain and self.opt.weight_novgg_featpair > 0:
        real_input = torch.cat((real_img, seg_map), dim=1)
        adaptive_feature_img_pair = self.encoder_kv(real_input)
        loss_novgg_featpair = 0
        weights = [1.0, 1.0, 1.0, 1.0]
        for i in range(len(adaptive_feature_img_pair)):
            adaptive_feature_img_pair[i] = util.feature_normalize(adaptive_feature_img_pair[i])
            loss_novgg_featpair += F.l1_loss(adaptive_feature_seg[i], adaptive_feature_img_pair[i]) * weights[i]
        out['loss_novgg_featpair'] = loss_novgg_featpair * self.opt.weight_novgg_featpair

i fond that the train code is runable, but the test code has this problem

if  you use this code train  labelnc 3. use pretrain model or train labelnc  15  use celeba generator.py
---- Replied Message ----
| From | @.> |
| Date | 01/30/2024 14:45 |
| To | AiArt-HDU/MATEBIT @.> |
| Cc | aiartjc666 @.>,
Comment @.> |
| Subject | Re: [AiArt-HDU/MATEBIT] Has anyone tried to reproduce for the celeba dataset？ (Issue #7) |
i fond that the train code is runable, but the test code has this problem
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

thanks, i tried use generator_celebahqedge.py and i can train now, but the test code got some new promblem

you use hed  algorithms to get edge like metfaces
---- Replied Message ----
| From | @.> |
| Date | 01/30/2024 18:07 |
| To | AiArt-HDU/MATEBIT @.> |
| Cc | aiartjc666 @.>,
Comment @.> |
| Subject | Re: [AiArt-HDU/MATEBIT] Has anyone tried to reproduce for the celeba dataset？ (Issue #7) |
by the way, can i train on my own face dataset like vox which does not have segment labels?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

how should i set the parameters if i have 1 channel label and 3channel image,  if i set label_nc=3, it doesn't work: adaptive_feature_img = self.encoder_kv(ref_img) Given groups=1, weight of size [64, 1, 3, 3], expected input[4, 3, 258, 258] to have 1 channels, but got 3 channels instead

how should i set the parameters if i have 1 channel label and 3channel image, if i set label_nc=1, it doesn't work: adaptive_feature_img = self.encoder_kv(ref_img) Given groups=1, weight of size [64, 1, 3, 3], expected input[4, 3, 258, 258] to have 1 channels, but got 3 channels instead

this is channel error .
you can label read 3 channels, such as image.open(path).convert("RGB") # this label_nc 3
or init modules
encoder_kv (self.semantic_nc + input_channels) # this label_nc 1
forward :
....
self.encoder_kv(torch.cat((ref_img, seg_label),dim=1),

generator_celebahqedge

how to use generator_celebahqedge.py


Tell pip to install latest Rally on newer Pythons

Currently, running pip install esrally on Python 3.10 installs Rally
1.4.0. Installing the latest version is much more likely to be helpful.

Why does this happen?

Because we only added python_requires in Rally 1.4.1

Ahh, got it. Thanks.

Sorry for the terse explanation above, by the way! I did not want to imply this was obvious, I certainly scratched my head quite a bit when I got 1.4.0 with Python 3.10.


No Output

Describe the bug
Created a helm package using hem package from the hem official repository
ran ./chartsec /path/to/file
received no output

The expected outcome is to not to receive anything if there aren't any detected issues. Maybe this could be extended with a basic output that displays "Everything was fine."

Not returning an output and exiting with 0 is an accepted pattern in check and lint tools.

When running with the older version of artifactory I am not getting any output whereas when I tested with other tools (helm snyk test) I was able to gather 100+ vulnerabilities
Tar URL Used: https://kubernetes-charts.storage.googleapis.com/artifactory-5.4.1.tgz


fix-action-id

added validation for actionID in command response
fixes #14
fixes #22

hi, I was finally able to solve the command collision problem without adding an event broker: added a mutex in the "send" and "requestList" functions.
you can reproduce the command collision with the following example:
	go func() {
		for {
			time.Sleep(300 * time.Millisecond)
			if err := ami.Ping(ctx, amiSocket, ""); err != nil {
				log.Error().Err(err).Msg("Error en Ping")
			}
			log.Debug().Msg("Ping Ok")

		}
	}()
	go func() {
		for {
			time.Sleep(200 * time.Millisecond)
			if err := ami.Ping(ctx, amiSocket, ""); err != nil {
				log.Error().Err(err).Msg("Error en Ping")
			}
			log.Debug().Msg("Ping Ok")

		}
	}()

The goami connection is single threaded.
If you reuse a single connection between multiple threads and commands it will block other threads until one thread complete with connection.
So, the easy solution is create a separate goami connection to each thread, that could overhead the asterisk server.
The hard solution it's create a connection pool.
I believe that what we have with your implementation partly fix that,  but I'd like to suggest  this Object Pool Design Pattern.
keeping the fix in requestList method:
responses := make([]Response, 0)
for {
  response, err := read(ctx, client)
  if err != nil {
    return nil, err
  }
  if response.Get("ActionID") != id {
    continue
  }
  e := response.Get("Event")
  r := response.Get("Response")
  if e == event {
    responses = append(responses, response)
   } else if e == complete || r != "" && r != "Success" {
     break
  }
}
return responses, nil

Suggestion:
Modify your PR to just to fix the actionID (like described in the title).
And in this mean create another patch with connection pool only.

Hi, thanks for your time!
i've followed your suggestion, and reverted the last change (mutex).
i will create a PR with connection pool for reviewing


Adding power support

Enabling power builds for this repository via travis jobs.

Coverage decreased (-0.01%) to 95.322% when pulling c517e58c713d5ff9fd84da53cd250f37704a90c7 on lysannef:adding_power_support into 765c56344e43019b6262a3aa909f561b86eb0251 on apache:master.

All checks passing, can this be merged?


DrupalVM - BLT feature request

Issue Type

Feature Idea

Your Environment

Vagrant 1.9.4
VirtualBox 5.1.22r115126
ansible <IP_ADDRESS>

Your OS

Linux (Ubuntu 16.04LTS)

Full console output

Summary

I would like to start a DrupalVM box with nothing inside and to ssh into the box and create a BLT project or a drupal-composer project, or anything i would like, with different drupal_core_path...  or even symfony, magento, etc
It would be nice to have the possibility to run BLT inside DrupalVM - BLT as a composer package - something like http://docs.drupalvm.com/en/latest/deployment/composer-package/ for lightning-project...

I would like to start a DrupalVM box with nothing inside and to ssh into the box and create a BLT project or a drupal-composer project, or anything i would like, with different drupal_core_path... or even symfony, magento, etc

There are some docs on doing this with Drupal VM as a composer dependency with Wordpress as an example.
If you just want to build a VM without Drupal being installed create a config.yml with:
# Disable Drupal specific features.
drupal_build_composer_project: false
drupal_install_site: false
configure_drush_aliases: false

# Disable synced folders
vagrant_synced_folders: []

# Used by the default apache virtual host.
drupal_core_path: "/var/www/magento/web"

Not sure if apache can point to directories that do not exist though... You can of course disable (or modify) the virtual hosts with apache_vhosts: [].
Alternatively if you want to write code on your machine and sync it to the VM you can create an empty magento/ directory next to your Vagrantfile and then use:
# Disable Drupal specific features.
drupal_build_composer_project: false
drupal_install_site: false
configure_drush_aliases: false

# Used by the default apache virtual host.
drupal_core_path: "/var/www/drupalvm/magento"

It would be nice to have the possibility to run BLT inside DrupalVM - BLT as a composer package - something like http://docs.drupalvm.com/en/latest/deployment/composer-package/ for lightning-project...

This is not purpose of BLT as it's listed as a composer-plugin rather than project. It doesn't scaffold a working site automatically, instead it's a command line tool to build and manage a site, eg. with Drupal VM. You can still use BLT manually within the VM but I don't believe that's BLT's intended use case.

@marceldobrica - And also note that I have a pretty detailed guide for how to do exactly what you're asking (use Drupal VM to contain a BLT install entirely): https://www.jeffgeerling.com/blog/2017/use-drupal-8-blt-project-drupal-vm-on-windows-7-or-windows-8
That guide is written from the perspective of a Windows 7/8 user, but it applies the same to anyone who would want to build a Drupal VM project that then builds BLT internally.
In any case, that's not a usage scenario that I think the BLT devs would want to support by default, and I'm not sure I'd like to devote more time (definitely not unpaid time—I was paid to work on that depressing Win7/8 post!) to trying to describe/help with upstream unsupported use cases.


PLCRVoting edge case

Let’s assume that PLCR(DLL + AttributeStore) for my account contains the following data { 1(1)-2(2) }. This means that for voting with id=1 : 1 token has been committed, for voting with id=2 : 2 tokens have been committed, correspondingly.
Then I call  commitVote in voting with id=3 and bet 10 tokens.
To get the value of _prevPollID we use method PLCRVoting.getInsertPointForNumTokens. In our case the result will be _prevPollID = 2.
So, now after commitVote, data will be set to { 1(1)-2(2)-3(10) }
But then, during the commit period, I decided to change my vote and rise my bet to 100 tokens. I call commitVote in voting with id=3 and bet 100 tokens.
Method PLCRVoting.getInsertPointForNumTokens will return _prevPollID = 3 that why I have to call PLCRVoting.commitVote with the following parameters commitVote(3, _secretHash, 100, 3).
In the current implementation of PLCRVoting и DLL for the current example there will be a call of DLL.insert(3, 3, 0) that will remove voting with id=3 and lead to exception.
As a side effect, the PLCRVoting.hasBeenRevealed method will return true for voting with id=3, despite the fact that PLCRVoting.revealVote was not called.
In the implementation of DLL from the commit https://github.com/skmgoldin/tcr/tree/b963a652b71097222087c62666e3edb1867511a1
there will also be an attempt to call DLL.insert (3, 3, 0) which will "corrupt" the DLL’s state and result in a vote for my account being impossible.

This is partially addressed upstream in the DLL repo: https://github.com/skmgoldin/sol-dll/issues/2
But it looks like you may have found another bug in getInsertPointForNumTokens. We will take a look!

This is great.
Tests here: https://github.com/ConsenSys/PLCRVoting/pull/31
@hodkov 's PR makes the failing test pass.
@skmgoldin , how would you like to proceed? should we have @hodkov  move this PR to the PLCRVoting repo?

Yes.

Resolved using getInsertPointForNumTokens:
6ec8fcc6a098e8fc61b67539980fc0fe1c31f9f4


Add auth support for azure, exec, oidc, openstack

Description

Fixes #314
Type of change

[x] Bug fix :bug:
[ ] New feature :sparkles:
[ ] This change requires a documentation update :book:
[ ] Breaking changes :warning:

Checklist:

[ ] I have :tophat: my changes (A 🎩 specifically includes pulling down changes, setting them up, and manually testing the changed features and potential side effects to make sure nothing is broken)
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] The test coverage did not decrease
[ ] I have signed the appropriate Contributor License Agreement

Hi @clavoillotte, I've made a prelease with the changes in this PR. Would you mind trying it out and seeing if OIDC auth works for you now?

Hi @clavoillotte, I've made a prelease with the changes in this PR. Would you mind trying it out and seeing if OIDC auth works for you now?

Hi @clavoillotte, I've made a prelease with the changes in this PR. Would you mind trying it out and seeing if OIDC auth works for you now?

Sorry I missed your message. I don't have access to the environment I encountered #314 on anymore, but I'll give it a try next time I get access to one with OIDC authentication and report here.
Many thanks for the fix!

Hi @clavoillotte, I've made a prelease with the changes in this PR. Would you mind trying it out and seeing if OIDC auth works for you now?

Sorry I missed your message. I don't have access to the environment I encountered #314 on anymore, but I'll give it a try next time I get access to one with OIDC authentication and report here.
Many thanks for the fix!

No problem, if you have a chance to try it out in the future and it doesn't work feel free to open a new issue. Cheers!

No problem, if you have a chance to try it out in the future and it doesn't work feel free to open a new issue. Cheers!

A teammate was able to test the latest release (0.12.0) on an environment with OIDC authentication, and it worked perfectly. Thanks again!

Awesome, thanks for the update!


graph_localizer GTSAM Fixes

Behavior: catkin build fails due to incorrect syntax of GTSAM Pose3
Fix: Use Pose3() instead of Pose3::identity()
Outcome: Successful build.
Notes: Activating the CMAKE flag GTSAM_ALLOW_DEPRECATED_SINCE_V41 doesn't fix this issue -- also this is already a default option on the current implementation
--ZBFT

Hi, can you tell me a little more about your build environment (Ubuntu version, etc)? Are you following the NASA install instructions or are you linking to a more recent GTSAM repo?

Hello Ryan,
I am following the tutorial from the doxyfiles documentation, which builds GTSAM and dependencies using the Debian scripts.
My libgtsam deb package name/version is 4.1.0-1+focal1.
Regarding my environment,
Ubuntu 20.04 Kernel 5.15.0-100-generic, Source build.
About linking a newer version of GTSAM, I believe it is feasible with minimal syntax correction, but this is not my intended goal for this pull request.
Thanks for reviewing,
--ZBFT


[fix] Fields hec_host and hec_port in splunk example

Q
A

Bug fix?
yes

New feature?
no

API breaks?
no

Deprecations?
no

Related tickets
N/A

License
Apache 2.0

What's in this PR?
Updates the example in the Splunk docu to be correct.
Why?
The field names were wrong and not consistent with the rest of the docu
Additional context
N/A
Checklist

[ ] Code meets the Developer Guide
[x] User guide and development docs updated (if needed)
[ ] Related Helm chart(s) updated (if needed)

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

Relates to https://github.com/banzaicloud/logging-operator-docs/pull/80


Remove Cilium SLO alerts

Towards: https://github.com/giantswarm/...
This PR ...
Checklist

[ ] Update CHANGELOG.md
[ ] Add Unit tests
[ ] Follow Alert structure
[ ] Consider creating a dashboard (guidelines) (if it does not exist already) to help oncallers monitor the status of the issue.
[ ] Request review from oncall area, as well as team (e.g: oncall-kaas-cloud GitHub group).

Can you explain why in the description? :D

@QuentinBisson updated comment


[WIP] Add stacking delegation instructions

This PR adds instructions for stacking delegation

I keep seeing this error in staging where the whole screen is taken over by the first image on a page:
https://blockstack-docs-git-feat-pox-delegation.blockstack.vercel.app/stacks-blockchain/stacking

I've seen this issue as well at some point. refreshing the page did the trick for me. @aulneau is there some CSS issue you noticed?

Please rebase off of master and check if the error still exists. I fixed some things with my latest release.


[Beta Only]: After a while, VM gets paused and can not be unpaused

Describe the issue
After a while (maybe around a day), the VM's screen gets frozen and can't be unfrozen. All operations in the VM also freezes, so it's not a graphical issue. The VM must be restarted. 4.2.5 does not have this problem.
Configuration

UTM Version: 4.3.2
macOS Version: 11
Mac Chip (Intel, M1, ...): M1

Crash log
Debug log
debug.log
Upload VM

Posted debug log: it seems the problem might be here:
If one of the threads is != io-thread && != vcpu-thread, this might be a BUG

Do you have a way to reproduce this issue?

That's the problem, I'm not sure exactly what causes it. However, it seems to occur whenever some CPU- and RAM- intensive operation is happening in the VM and the window is not focused.

This sounds a lot like #5477, similar symptom and same log message.

If that's true, then it should be fixed in the next (beta) release.

I also noticed that just before "the Freeze", Memory Pressure spikes briefly into the yellow. Maybe that has something to do with it?

This happened a few more times, and I noticed that the window does not to be unfocused for the VM to freeze.

To make things even more interesting, the last time this happened to me, I experienced what I think was (my first) kernel panic --- my screen had jagged pink lines, then my computer restarted.

@DUOLabs333 can you test the latest beta? Also if it happens again, would it be possible to provide a clean copy of your VM without any personal data that can be used to reproduce the bug? Right now I have an ubuntu 22.04 installation I left on for multiple days and am not able to witness this issue.

It looks like this has not happened, though I will use it for one more day to confirm.

The freeze happened again mere minutes after I started the VM.

Please provide some more info since I can’t reproduce it.

Possibly #5505 is related?

I don’t think so, why

No --- it's weird, it seems to happen randomly, and I can't find what causes it (on the bright side, it seems that the Memory Pressure doesn't rise too much anymore over time).

Can you build a new VM with a similar configuration and post it?

Post the utm file or the config.plist?

Linux VM hangs, I think, after about 15mins. At that time, when I try to enter something in the console, it says the port is not opened.
Here is the debug log:
qemu_debug.log
I'm on M2

@DUOLabs333 for clarification, did you see the error popup "The port is not opened"? Because I think other people are conflating issues here.

No, I'm actually surprised: I never got that error (now I'm scared that somehow the app didn't update, even though I see 4.3.3 in About).

I'm digging into it more and it may be the same bug although I don't know why you aren't getting the error. That message shows up when a SPICE channel gets disconnected unexpectedly which of course would also mean everything would seem to freeze.

btw, I also didn't get that error popup (port not opened) while using the display window, unless I click in the terminal window and try to write something there. I thought that error was just a side effect of the freezing..

I see, thanks for the clarification

I've noticed that 4.3.3 freezes VMs much faster than 4.3.2. I donwgraded back to 4.3.2, but this change in behavior persisted.

Can you try https://github.com/utmapp/UTM/suites/14668665657/artifacts/832453260 it should have more verbose logging which may help pin point the issue.

Interesting --- the fork you provided does not seem to have the problem.

I was finally able to reproduce this issue after digging out a M1 Macbook with 8GB of RAM. I'll write up the process in case someone finds this through a search engine in the future and is wondering WTF is going on.
So basically, the effect people observed is that SPICE, the UI backend, was getting disconnected. Usually, this only happens if the server (owned by QEMU) closes the connection but after extensive logging, it seems like it wasn't following the "normal" connection termination path (i.e. when a VM shuts down). To figure out where the socket was being closed, I added an abort() before the shutdown() call in libspice which forces the QEMU process to crash when it tries to close the socket (for some reason as we'll see soon, hooking a debugger on QEMULauncher mitigates the bug). This triggers a crash and a stack trace when the socket is about to be closed and I saw that it was getting called by deconstructor call triggered by the exit() in https://github.com/utmapp/UTM/blob/main/QEMULauncher/Bootstrap.c#L50
That function exists to make sure the QEMULauncher process is always terminated when the parent (QEMUHelper, an XPC service) exits. Why? Because previously we witnessed a lot of zombie processes because it seems like macOS doesn't properly clean up the children of XPC processes.
So now the question is why QEMUHelper was being terminated. Turns out it is because Jetsam (part of XNU's memory management) will terminate and process it deems "idle" when the system is low on memory and an XPC process that isn't doing anything is considered "idle". This explains why it was impossible for me to reproduce the bug on my system with ample RAM. Why did this only start showing up in the beta? Because of this commit: https://github.com/utmapp/UTM/commit/03d200422f78707320ea27af88ab73dc8334ea85 as part of the refactor, the way the QEMU process termination event handling was changed. Previously, the startQemu XPC call returned (via callback) only after QEMU terminates. That was problematic because it was impossible to know "when" QEMU has launched leading to a bunch of race conditions between QEMU launching and SPICE launching. The change was to return after the NSTask was started and to have the XPC process make a reverse call when QEMU terminates. This works great except now the XPC service sits idle for the entire time QEMULauncher is running and XNU can decide to randomly kill it when low on memory.
So the fix is simple: we make a new XPC service call which holds on to the callback (just like before) until QEMU exits. This allows the XPC service to essentially lie to its parent about it still waiting to give a response and therefore cannot be marked idle. It seems like this is the only way to lie to Jetsam without root privilege or entitlements. Calling proc_track_dirty(getpid(), 0) does not seem to work. I would be curious to know if anyone has a less hacky way of going about this.

Just an update: I do get "port is not opened" in the log now, but still not in a dialog.

@DUOLabs333 this is with the fix?

No (I don't have enough space for XCode), but with the debug fork.

https://github.com/utmapp/UTM/suites/14685729939/artifacts/833666921

It seems to work well --- as a bonus, it seems the memory leak got fixed.

I'm trying to install Ubuntu server and it VM freezes after 10-15 minutes during install.


OCPBUGS-4147: Enforce single Cluster in openshift-cluster-api namespace

We want only one Cluster in the openshift-cluster-api namespace that creates machines for the cluster we are running on. To prevent creation of multiple clusters, this PR adds webhook that allows only clusters named  that is obtained from the InfrastructureObject.

/jira refresh

/jira refresh

/approve
/lgtm

/retest-required

/retest-required


feat(android): change WebViewMessage::Eval to run specific script

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Docs
[ ] New Binding issue #___
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes, and the changes were approved in issue #___
[ ] No

Checklist

[ ] When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
[x] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
[ ] I have added a convincing reason for adding this feature, if necessary

Other information

Needs #528


Fix TabBarView with no animation not navigating

Fixes #110970 - TabBarView with no animation not navigating after skipping tabs.
Issue was introduced in https://github.com/flutter/flutter/commit/082ad11422dae822c47808337e18a9d2af5734eb - it's a logic issue where _warpUnderwayCount and the children weren't updated with a zero animation duration, due to the method returning early.
I think this should be a cherry-pick for 3.3, it's quite a major issue and broke two of our production apps.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Hi @Piinks!
It would be great if you could review this PR.
It fixes a regression I introduced with https://github.com/flutter/flutter/pull/105442 (I falsely assumed that there were existing tests covering this basic use case, lesson learned).

@HansMuller thanks, could I propose this as a cherrypick for 3.3?
It's a pretty major regression; it broke three different production apps for us (apparently we really love tabs without animation 😁).
It's also easy to miss - if you happen to run an app on 3.3 and test by going through each tab one by one, you could not spot it.

@tomgilder - I agree, we should try and cherry pick this into a "hot fix" 3.3 release. I'll get the process started.


Add rot90

The dask docstrings for flip, fliplr, and flipud are inherited from numpy and contain a "See also" note that references rot90, not yet implemented in dask. e.g:
See also

`fliplr`
  Flip array in the left/right direction.
`rot90`
  Rotate array counterclockwise.

This PR adds rot90, which is nearly an exact copy of the numpy implementation (except composed of da.flip and da.transpose).

[x] Tests added / passed
[x] Passes black dask / flake8 dask
[ ] Update checklist in #2911

Thanks Trevor! 😄


Transitive Closure of Directed Graph

Is your feature request related to a problem? Please describe.
Given a directed graph of vertices v, our task is to find  all the vertices reachable from vertex i for 0<=i<=v-1. Vertex j is reachable from vertex i if there is a path from i to j.  The matrix that contains this reachability information is known as transitive closure of the graph.
Describe the solution you'd like
I can do this using Floyd Warshall Algorithm.
Additional context
We can add this in graph folder.
I can do this in C++. Please assign it to me.

Could you implement this in all four languages

Yes I can. Please assign it to me.

Yes I can. Please assign it to me.

@Kumar-laxmi Please assign it to me in all four languages.

@Kumar-laxmi I can do this in C and C++. Please assign it to me.


GridContextMenu with submenu

Hello,
When I try to test a click on a submenu of the GridContextMenu and I've got this error:
java.lang.AssertionError: Unexpected parent GridMenuItem[text='Affaires']
	at kotlin.test.DefaultAsserter.fail(DefaultAsserter.kt:16)
at kotlin.test.AssertionsKt__AssertionsKt.fail(Assertions.kt:91)
at kotlin.test.AssertionsKt.fail(Unknown Source)
at com.github.mvysny.kaributesting.v10.ContextMenuKt.checkMenuItemVisible(ContextMenu.kt:97)
at com.github.mvysny.kaributesting.v10.ContextMenuKt._click(ContextMenu.kt:71)
I think hierarchical GridMenuItem is a new feature of vaadin 13 and in ContextMenu.kt the function checkMenuItemVisible does not check if parent is a GridMenuItem (I tried to read Kotlin code but I'm not sure if I understand correctly :))
Thanks,

Good catch, thank you! It seems that I forgot to test this case of clicking a submenu of a Grid.

That's a fast feedback :).
Thank you (for the feedback and this nice project ;) )

Thanks ;) Should be fixed now. Please let me know if there is anything else to fix; if not, I'll release a new version today :)

I don't see anything else for today. thanks


MOO-1686 | main Listview/Gallery rendering bug in Mendix Native

I close this pr since it will be look by WTF team.


Tiles 20740 and 20867 on 2023-09-09 have strings of outlier redshift in petals 1 and 3

BRIGHT tile 20740 observed on 20230909 marked unsure, clumps of fibers at z=1.1 in petal 1 and 3 on Z v. FIBER plot.
BRIGHT tile 20867 observed on 20230909 marked unsure, clumps of fibers at z=1.1 in petal 1 on Z v. FIBER plot.
Likely linked to z1, z3 CTE issues. Similar to what was signaled in issue #138

Agreed, this is the usual z1/z3 CTE issue.  We're accepting these; let's re-VI as good and close.


Configure the design system to be deployed on the AsyncAPI Netlify account

We should use the AsyncAPI Netlify account and decide on a domain where we want to make it available. Dropping some ideas:

atoms.asyncapi.com
atoms.studio.asyncapi.com (too long and nested?)
design-system.asyncapi.com (there may be other design systems for AsyncAPI in the future)
studio.asyncapi.com/design-system (hard to manage given that it's a separate app from Studio?)

Related to #636

atoms.asyncapi.com is good, I guess.


Time Zone set to America/Chicago by default

The Time Zone is set to America/Chicago by default in the docker-compose file that's created by the script. It's simple enough to fix manually, but wasn't noticed on my first run so I had to re-run the script after editing.

You should be able to edit the docker-compose.yml file that is created by the script to change the time zone without having to edit the script to do it. I'll add a note in the notes for this, so people know to change it if needed, but if someone doesn't know the syntax for docker time zones, it doesn't bork their docker-compose file and at least has a general time zone. Perhaps I should change it to UTC time.

That's almost exactly what I did to fix, but instead I just did a search for "TZ=America/Chicago" on the script and changed it there rather than directly on the docker-compose file. Maybe there could be another question in the script to specify the timezone in IANA format?


fix mockapi of getting datetime

For fixing below problem:
Currently, the result of get operation on datetime in packages property-optional and property-types varies depending on the sequence of the executing of testcases:

If the put datetime is executed before get datetime, then the result of the get is "2022-08-26T18:38:00.000Z";
If the get datetime invoked ahead of put datetime, then the result of the get is "2022-08-26T18:38:00Z".

Fix
This PR make the result of the get solid to be "2022-08-26T18:38:00.000Z".
Cadl Ranch Contribution Checklist:

[ ] I have written a scenario spec
[ ] I have meaningful @scenario names. Someone can look at the list of scenarios and understand what I'm covering.
[ ] I have written a mock API
[ ] I have used @scenarioDocs for extra scenario description and to tell people how to pass my mock api check.

Thanks changlong for the fix we also met the issue.


fix(quay): Format date, size and Manifest information to be same as on the quay UI

The "LAST MODIFIED" field is showing a full timestamp  "Thu, 23 Jun 2022 20:31:28 -0000" and should be like this "Jun 23, 2022, 4:31 PM" as the Quay interface show.
The SIZE is on bytes like this "1656016288" and should be MB or GB according to a calculation.
MANIFEST value should be a substring(0, 19) instead of the all value

Resolved via #101


Edit Developer Guide for our corresponding parts

Do for our allocated components

@LoneGunman001 Can help add in the new UML diagrams as well?


wouldn't let me set the id

didn't let me set a window with id and substituted some left one, how to change it?


Support all car and track mods

Test with all mods that I can find.
Not currently supported:

Mods split into directories (each with the root content)
More than one record in the readme file

Closed by #2.


[Device support] RT-AC88U

Anything you want to mention?
Unable to setup RT-AC88U router with the latest Merlin firmware 386.13_0:
Unknown error of type '<class 'asusrouter.error.AsusRouterConnectionError'>' during connection to `<IP_ADDRESS>`: ('Cannot connect to <IP_ADDRESS>. Failed in `_send_request`', None)

Downgraded to 386.12_2 setup went ok but unable to initialize the device.
Cannot get clients for <IP_ADDRESS>: ('Cannot connect to <IP_ADDRESS>. Failed in `_send_request`', None)
Cannot get available network interfaces for <IP_ADDRESS>: ('Cannot connect to <IP_ADDRESS>. Failed in `_send_request`', None)

Removed the device, reinstalled the integration and rebooted everything, now the same as the initial error: unable to add integration.
Logger: custom_components.asusrouter.config_flow
Source: custom_components/asusrouter/config_flow.py:269
Unknown error of type '<class 'asusrouter.error.AsusRouterConnectionError'>' during connection to `<IP_ADDRESS>`: ('Cannot connect to <IP_ADDRESS>. Failed in `_send_request`', None)

Authentication Method HTTP, Port 80, Login Captcha OFF, WAN Access OFF, SSH Lan only.
HA 2024.5.4 running in a VM (OS 12.3) on the same subnet as the router.
Your device model
RT-AC88U
Firmware type
Merlin
Firmware version
<IP_ADDRESS>.386.13_0
<IP_ADDRESS>.386.12_2
Does everything work well?
No

Switched to Authentication Method to BOTH (HTTP + HTTPS). Now it works as expected when using SSL.

Debug logs of the following flow: ERROR -> Use SSL connection [ON] -> OK -> Use SSL connection [OFF] -> ERROR
logs.log

Hello, @ijavid,
can you please check whether you get any more info when trying to connect on HTTP with the newer integration version 0.32.0? The exception logging was improved, so it should say more now instead of just Cannot connect to xxx.xxx.xxx.xxx

Hello. Please, reopen this issue (or create a new one) if you want to continue troubleshooting. If the integration works fine for you - that would be good


Timbod/wip/camus2 renaming

LGTM
I've updated select to start in gh-pages, so no need to update it


help: Document<EMAIL_ADDRESS>contact email.

Current: https://zulip.com/help/contact-support#product-feedback
Updated:

Merged, thanks @alya!


Travis cleanup

This script is no longer necessary now that travis is built using a docker image.

Adding cla: yes label, as the PR author is a googler at the time of this PR was created.


Update Authentication From Trunk Branch.

Updated the UI from Master and the authentication from trunk.
Registration Page with updated UI

After Successful Registration

Email Verification

Home Page UI Updated

Update UI for the test config page.


armcord: 3.1.6 -> 3.1.7

Description of changes
Updated Electron
Disabled automatic Wayland checks
This update may fix some of the issues that you might've encountered when using screenshare in past ArmCord versions (v3.1.5-6).
Things done
aarch64 just compiled for shasum, amd64 tested and used
https://github.com/NixOS/nixpkgs/pull/224587 author is MIA so making new PR.

Built on platform(s)

[X] x86_64-linux
[X] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

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

[X] Fits CONTRIBUTING.md.

Could ofborg automatically make a pr to backport this when it gets merged?

Could ofborg automatically make a pr to backport this when it gets merged?

Yes, but someone with commit rights would need to use the backport flag.

Yes, but someone with commit rights would need to use the backport flag.

You don't need to be a committer to set the backport label.

Yes, but someone with commit rights would need to use the backport flag.

You don't need to be a committer to set the backport label.

I need to be at least member of the org, otherwise I can't touch labels myself

I need to be at least member of the org, otherwise I can't touch labels myself

Yes that's true, but all package maintainers can be members of the org, and it's easy to become a package maintainer.


Add Carp language

This PR adds syntax support for the Carp programming language!
I’m guessing Carp is not popular enough as of yet (Harvest shows a measly 63 unique repositories by just 23 people); people seem to be excited about the language, but not using it enough just yet! I’ve done the work for adding the language anyway, understanding that you’ll defer merging this.
Checklist:

[x] I am adding a new language.

[x] The extension of the new language is used in hundreds of repositories on GitHub.com.

Search results for each extension:

https://github.com/search?utf8=✓&type=Code&ref=searchresults&q=extension%3Acarp+KEYWORDS+NOT+nothack

[x] I have included a real-world usage sample for all extensions added in this PR:

Sample source(s): from the Carp compiler source
Sample license(s): APache

[x] I have included a syntax highlighting grammar: https://github-lightshow.herokuapp.com/
[ ] I have updated the heuristics to distinguish my language from others using the same extension.

Cheers

Also, I’m open for any and all color suggestions. The current one doesn’t work apparently, which is fine by me.

Update: We’ve moved up to 69 repos and 27 users. Still measly, but 6 repos and 4 people isn’t too bad for 9 days!

Thanks for the pull request @hellerve! I'll add this to #4219 to monitor usage.

Alright, then I’ll stop coming back to check usage every once in a while :) Thanks!

Closing in favor of #4219. We'll monitor the popularity of the extension there.


Main function recognition

Description
If I add a space after the function identifier main rust-script will not use the function.
Example

This example was taken from the example script in this repository's main readme.
The only change was that I added a space between main and ():

#!/usr/bin/env rust-script
//! Dependencies can be specified in the script file itself as follows:
//!
//! ```cargo
//! [dependencies]
//! rand = "0.8.0"
//! ```

use rand::prelude::*;

fn main () {
    let x: u64 = random();
    println!("A random number: {}", x);
}

This can be seen this in the following compiler warnings:
» rust-script script2.rs
warning: unused doc comment
  --> script2.rs:3:5
   |
2  | /      {
3  | |      //! Dependencies can be specified in the script file itself as follows:
   | | _____^
4  | || //!
5  | || //! ```cargo
6  | || //! [dependencies]
7  | || //! rand = "0.8.0"
8  | || //! ```
   | ||_______^
...  |
15 | |  }
16 | |      }
   | |______- rustdoc does not generate documentation for expressions
   |
   = help: use `//` for a plain comment
   = note: `#[warn(unused_doc_comments)]` on by default

warning: function `main` is never used
  --> script2.rs:12:4
   |
12 | fn main () {
   |    ^^^^
   |
   = note: `#[warn(dead_code)]` on by default

Why is this an issue?
In my case, I generate rust scripts externally using quote, which injects these errant spaces into the output TokenStream.
As seen above, this is valid Rust code. I am opening this issue here because I assume it's relevant, but please let me know if I should close it and look somewhere else.
Notes
If you feel this is worth changing, I can try to fix it and open a PR. I'm not sure where to look for this problem though, tbh.

@plasticartsshow Thanks! This should be fixed by https://github.com/fornwall/rust-script/pull/96, which is a part of the just released 0.25.0 version.
Let me know how it works!


travis testinga

Hi @chuchivic do you want us to review your tests?

If you do it I would appreciate it, I've copied the file from master branch and works perfetly, but I didn't find the error performing the click.
Seems that the list is empty, but I can't find the exact bug

In my machine the error is:
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.karumi.katasuperheroes.model.SuperHero.getPhoto()' on a null object reference
at com.karumi.katasuperheroes.ui.view.SuperHeroDetailActivity.showSuperHero(SuperHeroDetailActivity.java:55)
at com.karumi.katasuperheroes.ui.presenter.SuperHeroDetailPresenter$1.onSuperHeroLoaded(SuperHeroDetailPresenter.java:43)
at com.karumi.katasuperheroes.usecase.GetSuperHeroByName$2.run(GetSuperHeroByName.java:45)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)

Thanks for your PR @chuchivic As I said before, we are not going to merge this kind of PR, but for sure we are going to give you feedback. Thanks for your time!!


Replace runtime / form data with Framework7 solution

Cancelled - Solved now with page object which is restored entirely


Wrapped SOL stuck in warmhole

Hey there my wrapped sol is stuck in the wormhole and I cannot redeem on wormholebridge.com
I sent wSOL from Polygon and when I try to 'redeem' in my Phantom wallet and transaction goes through:
https://solscan.io/tx/2hVAhnzyZgVhpbSgJgKf3YGEFLyD1vF6vVfE7DknbgMUJnKG761XfQougpHjtkSghuT2cUWBD3isKSv587SCVuTW
But new Phantom 'redeem' confirmation follows straight after and tokens never arrive to my wallet. I tried multiple times throughout the day, but this behaviour persists.

resolved. I had to keep confirming trx in wallet for like 4-6 times, and then it finally went trough.


Fixed error from atoi in numeric_between.

Now there is a type assertion switch checking if the value is govalidator.Int or govalidator.Float64.

@riccardo1991 Can you please fix the code, it seems broken

Closing the PR as it is not passing the CI test. Please fix the issue and send PR.


Issue while adding DD-SDK to my project

Thanks in advance for your help.
I'm trying to add DD RUM to my company's Android project, but I keep getting the following errors:
org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'dd-sdk-android-gradle-plugin'] was not found in any of the following sources:
The relevant part of my build.gradle is like this:
buildscript {
    ext.kotlin_version = '1.5.31'
    ext.clay_odata_version = '0.1.12'
    ext.compose_version = '1.1.0-beta02'
    ext.sonarqube_version = "3.2.0"

    repositories {
        google()
        jcenter()
        mavenCentral()
        maven {
            url = uri("https://plugins.gradle.org/m2/")
        }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:7.1.0-alpha02'
        // the latest version of the android-apt plugin
        classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
        // google analytics
        classpath 'com.google.gms:google-services:4.3.8'
        // gradle plugin for AppCenter
        classpath 'gradle.plugin.com.betomorrow.gradle:appcenter-plugin:1.3.0'
        // Google Protocol Buffers
        classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.12'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
        classpath "io.realm:realm-gradle-plugin:10.7.0"
        // retrolambda
        classpath 'me.tatarka:gradle-retrolambda:3.7.0'
        // Kotlin
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        // SonarQube
        classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:$sonarqube_version"
        // KTLint
        classpath("org.jmailen.gradle:kotlinter-gradle:2.4.1")
        // Sentry
        classpath 'io.sentry:sentry-android-gradle-plugin:1.7.36'
        classpath 'com.android.tools.build:gradle:7.1.0-alpha02'
        classpath("com.datadoghq:dd-sdk-android-gradle-plugin:x.x.x")
    }
}

plugins {
    id "org.sonarqube" version "$sonarqube_version"
    id "org.jmailen.kotlinter" version "2.4.1"
    id("dd-sdk-android-gradle-plugin")
}

Using:
Android Studio Bumblebee 2021.1.1 Canary 1
Android Build Tools 32.0.0-rc1
Gradle 7.0

Hello @victorlsn. Which plugin version are you using? The latest one is 1.1.0(you can check it here https://mvnrepository.com/artifact/com.datadoghq/dd-sdk-android-gradle-plugin). Also do you apply it in the application module?

Hello @0xnm. Thanks for your answer.
The point is (was) that gradle would not even sync when adding these on the project-level build.gradle:        classpath("com.datadoghq:dd-sdk-android-gradle-plugin:x.x.x") to dependencies
id("dd-sdk-android-gradle-plugin") to  plugins

I just get this error:
Build file '/Users/victor/Documents/Projects/Android/app_android_v3/build.gradle' line: 46
Plugin [id: 'dd-sdk-android-gradle-plugin'] was not found in any of the following sources:

@victorlsn Our plugin is not on Gradle Plugin portal yet (only Maven Central), so since plugin { } block is working only with Gradle Plugin portal by default unlike apply plugin, you can add the following to your settings.gradle file:
pluginManagement {
    resolutionStrategy {
        eachPlugin {
            if (requested.id.id == "dd-sdk-android-gradle-plugin") {
                useModule("com.datadoghq:dd-sdk-android-gradle-plugin:${requested.version}")
            }
        }
    }
    repositories {
        gradlePluginPortal()
        mavenCentral()
    }
}

Also make sure to specify the version in the plugins block.

Thanks a lot @0xnm, this worked perfectly.!

so @0xnm is there a way to import the android plugin without the settings.gradle hack above?

Hi @boldijar. Yes, we now have it published on Gradle Plugin portal, check instructions there.


fix resultsize for GHCR

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 4 (75.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.07%) to 15.435%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/extended_registry/ghcr.go
3
4
75.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.07%

Covered Lines:
497

Relevant Lines:
3220

💛  - Coveralls