PowerMateVolume: receive reliable notifications when the computer resumes from standby, so device settings can be reset

Problem
PowerMate devices do not persist their settings (like LED brightness) when the computer resumes from standby. On its own, the device will revert its brightness to the default value when the computer resumes, as if you had replugged it.
Broken workaround
#1: To work around this, PowerMateVolume listens for the SystemEvents.PowerModeChanged event, and uses that to reset the device settings when resuming from standby by setting all the HID features again based on the in-memory values. It also resets all the features on any device input (like rotation) if the expected and actual settings differ, but this relies on the user manually using the PowerMate to fix the settings.
Unfortunately, SystemEvents only fires the PowerModeChanged event on resume roughly 95% of the time. In the remaining occurrences, the event is not fired and PowerMateVolume does not reset the settings, so the LED brightness and other settings will be wrong.

Fail2Ban4Win has an example of programmatically listening for ETW records, although that's written for .NET Framework instead of .NET Core, so the dependencies may be different.
Standby and resume records are found in the System log, from the Kernel-Power source, with event IDs 42 (standby) and 107 (resume).

The Event Log listener solution seems to be working well so far.


Anastasiia/header component

Created new component files in src
Added a header to app.tsx file
Added font config to tailwindconfig file

Please implement the following changes as discussed:

Topnavbar is the header component
Remove unnecessary wrappers at this stage
Export modules from index.ts in each component directory
Remove LeftNavBar component into it's own directory secondary nav-menu
Rename files with all lowercases, and dashes instead of spaces

-sk


Nested .eslintrc

Hello,
I am having issues in my project with nested .eslintrc files.
I have a big project and each module has its own linting rules but all modules share some common rules configured in a .eslintrc file placed on the root of the project (eg. use sigle quotes).
When I run the eslint script it correctly evaluates the rules needed for each file but the plugin tells me that my strings should be double quoted. This makes me thing that the nesting is not supported/resoved.
Any ideas?
Thanks!

@MundakaZgz can you provide me with a GitHub repository I can clone that demos this. Since the ESLint extension is based on the ESLint npm module to read .eslintrc files all the features from ESLint standalone should be supported as well.

I have tried to reproduce it in a smaller project so I can share it with you but it is not happening there. I'll recheck what could be happening in my other project as I think it is misconfigured.
Thanks!!


Get-OneLoginUser doesn't work if custom_attributes is null

Currently I'm using custom cSharp classes to manage OneLogin objects. The custom objects returned by the REST api are simply cast to the custom types. This works in general but if type conversion fails for a property then no object is output. What's the solution to this?
Is the solution to use constructors instead of casts? If so, how should this be handled with a large number of possible properties?
Can I build these constructors into convertto-OneLoginObject?

This issue is no longer relevant.


Provider 0.11.27 fails with several errors

0.11.27 fails to work. Errors around clusters, and service selectors:
0.11.26 works successfully, 0.11.27 produces this error:
Run terraform init -backend-config="hostname=***" -backend-config="organization=***" -backend-config="token=***"
terraform init -backend-config="hostname=***" -backend-config="organization=***" -backend-config="token=***"
shell: /usr/bin/bash -e {0}
 env:
    VES_P1[2](https://github.com/jmcalalang/lab/actions/runs/6835800927/job/18590012567#step:5:2)_PASSWORD: ***
    TF_VAR_wildcard-calalang-net-certificate: ***
    TF_VAR_wildcard-calalang-net-key: ***
    TERRAFORM_CLI_PATH: /home/runner/work/_temp/f9da8888-cd04-40e[3](https://github.com/jmcalalang/lab/actions/runs/6835800927/job/18590012567#step:5:3)-a18c-973eb706a23f
/home/runner/work/_temp/f9da8888-cd04-40e3-a18c-973eb706a23f/terraform-bin init -backend-config=hostname=*** -backend-config=organization=*** -backend-config=token=***

Initializing the backend...

Successfully configured the backend "remote"! Terraform will automatically
use this backend unless the backend configuration changes.

Initializing provider plugins...
- Finding volterraedge/volterra versions matching ">= 0.11.22"...
- Installing volterraedge/volterra v0.11.27...
- Installed volterraedge/volterra v0.11.27 (self-signed, key ID 4E459C1190590EE3)

Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/cli/plugins/signing.html

Terraform has created a lock file .terraform.lock.hcl to record the provider
selections it made above. Include this file in your version control repository
so that Terraform can guarantee to make the same selections by default when
you run "terraform init" in the future.

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
1s
Run terraform validate -no-color
  terraform validate -no-color
  shell: /usr/bin/bash -e {0}
  env:
    VES_P12_PASSWORD: ***
    TF_VAR_wildcard-calalang-net-certificate: ***
    TF_VAR_wildcard-calalang-net-key: ***
    TERRAFORM_CLI_PATH: /home/runner/work/_temp/f9da8888-cd0[4](https://github.com/jmcalalang/lab/actions/runs/6835800927/job/18590012567#step:5:4)-40e3-a18c-973eb706a23f
/home/runner/work/_temp/f9da8888-cd04-40e3-a18c-973eb706a23f/terraform-bin validate -no-color

Error: Insufficient cluster blocks

  on http-lb-bigip-calalang-net.tf line 21, in resource "volterra_http_loadbalancer" "http-lb-bigip-calalang-net":
  21:       origin_pools {

At least 1 "cluster" blocks are required.

Error: Insufficient cluster blocks

  on http-lb-bigip-calalang-net.tf line 44, in resource "volterra_http_loadbalancer" "http-lb-bigip-calalang-net":
  44:       origin_pools {

At least 1 "cluster" blocks are required.

Error: Missing required argument

  on http-lb-bigip-calalang-net.tf line 84, in resource "volterra_http_loadbalancer" "http-lb-bigip-calalang-net":
  84:   https_auto_cert {

The argument "port_ranges" is required, but no definition was found.

Error: Invalid reference

  on http-lb-discovery-calalang-net.tf line 62, in resource "volterra_http_loadbalancer" "http-lb-discovery-calalang-net":
  62:     client_ip_headers = [X-Forwarded-For]

A reference to a resource type must be followed by at least one attribute
access, specifying the resource name.

Error: Insufficient cluster blocks

  on http-lb-nginx-calalang-net.tf line 1[5](https://github.com/jmcalalang/lab/actions/runs/6835800927/job/18590012567#step:5:5), in resource "volterra_http_loadbalancer" "http-lb-nginx-calalang-net":
  15:   default_route_pools {

At least 1 "cluster" blocks are required.

Error: Missing required argument

  on http-lb-nginx-calalang-net.tf line 55, in resource "volterra_http_loadbalancer" "http-lb-nginx-calalang-net":
  55:   https {

The argument "port_ranges" is required, but no definition was found.

Error: Insufficient service_selector blocks

  on pool-svc-nginx-ingress.tf line 13, in resource "volterra_origin_pool" "pool-svc-nginx-ingress":
  13:     k[8](https://github.com/jmcalalang/lab/actions/runs/6835800927/job/18590012567#step:5:8)s_service {

At least 1 "service_selector" blocks are required.

Error: Insufficient service_selector blocks

  on pool-vk8s-nginx-unprivileged.tf line [13](https://github.com/jmcalalang/lab/actions/runs/6835800927/job/18590012567#step:5:14), in resource "volterra_origin_pool" "pool-vk8s-nginx-unprivileged":
  [1](https://github.com/jmcalalang/lab/actions/runs/6835800927/job/18590012567#step:6:1)[3](https://github.com/jmcalalang/lab/actions/runs/6835800927/job/18590012567#step:6:3):     k[8](https://github.com/jmcalalang/lab/actions/runs/6835800927/job/18590012567#step:6:8)s_service {

At least 1 "service_selector" blocks are required.
Error: Terraform exited with code 1.
Error: Process completed with exit code 1.

@abhinavgrover15 can u pls work with Sanjeet on this

Ack, Working on the fix for this.

11.28 was released a few hours ago, this issue seems resolved on that version now.
Thank you!


After running the container, it can only be accessed with a particular IP address

I've described this issue on stackoverflow. An answer says this is by design, so I'm posting here.
Short version
When I run ActiveMQ Artemis in docker I see this basically empty screen:

That doesn't look right... I was expecting this, like I get when using the zip file:

Regardless of whether I use docker or the zip file, it doesn't matter what username or password I enter, I just get logged in regardless, which is a little concerning...
Quickly deploy a basic Container image that runs the broker suggests I should now be able to access the console as: http://localhost:8161/console/ , but an answer on stackoverflow suggest that I must use the URL printed in the log: http://<IP_ADDRESS>:8161/console .
If that is true, that is a problem because that URL is not accessible using Docker for Windows. Only http://localhost:8161/console and using the IP of the windows host.
I'm guessing this restriction is because launch.sh line 16 has ... --http-host $BROKER_IP ... and a previous line has: export BROKER_IP=\hostname -I | cut -f 1 -d ' '`` :-(
It is also possible, that the empty screen has a completely different cause. But I think the empty screen is a problem whatever the cause.
Longer Version
I'm attempting a "Hello World" style installation of ActiveMQ. It sounds like ActiveMQ Artemis is what I should be using. We'll be using this on Kubernetes, so I found and have followed https://artemiscloud.io/. There is a Quickly deploy a basic Container image that runs the broker right there on the front page. It suggests:
docker run -e AMQ_USER=admin -e AMQ_PASSWORD=admin -p80:8161 --name artemis quay.io/artemiscloud/activemq-artemis-broker:dev.latest

I changed the port to -p8161:8161 and run it using Docker for Windows. Visiting http://localhost:8161/console/ shows me the first screenshot above.
If I instead download from https://activemq.apache.org/components/artemis/download/ and follow https://activemq.apache.org/components/artemis/documentation/latest/using-server.html I get the second screenshot.
Regardless of whether I use docker or the zip file, it doesn't matter what username or password I enter, I just get logged in regardless.
Full docker console log
» docker run -e AMQ_USER=admin -e AMQ_PASSWORD=admin -p8161:8161 --name artemis quay.io/artemiscloud/activemq-artemis-broker:latest
Creating Broker with args --user XXXXX --password XXXXX --role admin --name broker --allow-anonymous --http-host <IP_ADDRESS> --host <IP_ADDRESS>   --force
Creating ActiveMQ Artemis instance at: /home/jboss/broker

Auto tuning journal ...
done! Your system can make 1.44 writes per millisecond, your journal-buffer-timeout will be 696000

You can now start the broker by executing:

   "/home/jboss/broker/bin/artemis" run

Or you can run the broker in the background using:

   "/home/jboss/broker/bin/artemis-service" start

Running Broker
     _        _               _
    / \  ____| |_  ___ __  __(_) _____
   / _ \|  _ \ __|/ _ \  \/  | |/  __/
  / ___ \ | \/ |_/  __/ |\/| | |\___ \
 /_/   \_\|   \__\____|_|  |_|_|/___ /
 Apache ActiveMQ Artemis 2.17.0

2021-05-27 21:23:44,556 INFO  [org.apache.activemq.artemis.integration.bootstrap] AMQ101000: Starting ActiveMQ Artemis Server
2021-05-27 21:23:44,605 INFO  [org.apache.activemq.artemis.core.server] AMQ221000: live Message Broker is starting with configuration Broker Configuration (clustered=false,journalDirectory=data/journal,bindingsDirectory=data/bindings,largeMessagesDirectory=data/large-messages,pagingDirectory=data/paging)
2021-05-27 21:23:44,650 INFO  [org.apache.activemq.artemis.core.server] AMQ221012: Using AIO Journal
2021-05-27 21:23:44,694 INFO  [org.apache.activemq.artemis.core.server] AMQ221057: Global Max Size is being adjusted to 1/2 of the JVM max size (-Xmx). being defined as 1,073,741,824
2021-05-27 21:23:44,712 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-server]. Adding protocol support for: CORE
2021-05-27 21:23:44,712 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-amqp-protocol]. Adding protocol support for: AMQP
2021-05-27 21:23:44,713 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-hornetq-protocol]. Adding protocol support for: HORNETQ
2021-05-27 21:23:44,713 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-mqtt-protocol]. Adding protocol support for: MQTT
2021-05-27 21:23:44,713 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-openwire-protocol]. Adding protocol support for: OPENWIRE
2021-05-27 21:23:44,714 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-stomp-protocol]. Adding protocol support for: STOMP
2021-05-27 21:23:44,759 INFO  [org.apache.activemq.artemis.core.server] AMQ221034: Waiting indefinitely to obtain live lock
2021-05-27 21:23:44,760 INFO  [org.apache.activemq.artemis.core.server] AMQ221035: Live Server Obtained live lock
2021-05-27 21:23:44,832 INFO  [org.apache.activemq.artemis.core.server] AMQ221080: Deploying address DLQ supporting [ANYCAST]
2021-05-27 21:23:44,839 INFO  [org.apache.activemq.artemis.core.server] AMQ221003: Deploying ANYCAST queue DLQ on address DLQ
2021-05-27 21:23:44,880 INFO  [org.apache.activemq.artemis.core.server] AMQ221080: Deploying address ExpiryQueue supporting [ANYCAST]
2021-05-27 21:23:44,882 INFO  [org.apache.activemq.artemis.core.server] AMQ221003: Deploying ANYCAST queue ExpiryQueue on address ExpiryQueue
2021-05-27 21:23:45,148 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started EPOLL Acceptor at <IP_ADDRESS>:61616 for protocols [CORE,MQTT,AMQP,STOMP,HORNETQ,OPENWIRE]
2021-05-27 21:23:45,152 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started EPOLL Acceptor at <IP_ADDRESS>:5445 for protocols [HORNETQ,STOMP]
2021-05-27 21:23:45,155 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started EPOLL Acceptor at <IP_ADDRESS>:5672 for protocols [AMQP]
2021-05-27 21:23:45,158 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started EPOLL Acceptor at <IP_ADDRESS>:1883 for protocols [MQTT]
2021-05-27 21:23:45,162 INFO  [org.apache.activemq.artemis.core.server] AMQ221020: Started EPOLL Acceptor at <IP_ADDRESS>:61613 for protocols [STOMP]
2021-05-27 21:23:45,167 INFO  [org.apache.activemq.artemis.core.server] AMQ221007: Server is now live
2021-05-27 21:23:45,168 INFO  [org.apache.activemq.artemis.core.server] AMQ221001: Apache ActiveMQ Artemis Message Broker version 2.17.0 [broker, nodeID=d1043ae4-bf31-11eb-8c49-0242ac110003]
2021-05-27 21:23:45,379 INFO  [org.apache.activemq.hawtio.branding.PluginContextListener] Initialized activemq-branding plugin
2021-05-27 21:23:45,413 INFO  [org.apache.activemq.hawtio.plugin.PluginContextListener] Initialized artemis-plugin plugin
2021-05-27 21:23:45,625 INFO  [io.hawt.HawtioContextListener] Initialising hawtio services
2021-05-27 21:23:45,636 INFO  [io.hawt.system.ConfigManager] Configuration will be discovered via system properties
2021-05-27 21:23:45,638 INFO  [io.hawt.jmx.JmxTreeWatcher] Welcome to Hawtio 2.11.0
2021-05-27 21:23:45,643 INFO  [io.hawt.web.auth.AuthenticationConfiguration] Starting hawtio authentication filter, JAAS realm: "activemq" authorized role(s): "admin" role principal classes: "org.apache.activemq.artemis.spi.core.security.jaas.RolePrincipal"
2021-05-27 21:23:45,656 INFO  [io.hawt.web.proxy.ProxyServlet] Proxy servlet is disabled
2021-05-27 21:23:45,660 INFO  [io.hawt.web.servlets.JolokiaConfiguredAgentServlet] Jolokia overridden property: [key=policyLocation, value=file:/home/jboss/broker/etc/jolokia-access.xml]
2021-05-27 21:23:45,727 INFO  [org.apache.activemq.artemis] AMQ241001: HTTP Server started at http://<IP_ADDRESS>:8161
2021-05-27 21:23:45,727 INFO  [org.apache.activemq.artemis] AMQ241002: Artemis Jolokia REST API available at http://<IP_ADDRESS>:8161/console/jolokia
2021-05-27 21:23:45,728 INFO  [org.apache.activemq.artemis] AMQ241004: Artemis Console available at http://<IP_ADDRESS>:8161/console
2021-05-27 21:23:54,289 INFO  [io.hawt.web.auth.LoginServlet] Hawtio login is using 1800 sec. HttpSession timeout
2021-05-27 21:23:54,968 INFO  [io.hawt.web.auth.keycloak.KeycloakServlet] Keycloak integration is disabled
2021-05-27 21:24:00,270 INFO  [io.hawt.web.auth.LoginServlet] Logging in user: admin

Hmmm. I don't remember assigning @RoddieKieley . Sorry if I did.

Hi!
Any progress on this issue?
/Erik

@pmorch
For the anonymous login, if you are using the docker, just add additional environment variable as below:
AMQ_EXTRA_ARGS=--require-login, for the issue where any character you input, login is possible. There is similar configuration when you create your broker using zip file(windows) as well
For the blank screen issue, I have no idea though, hopefully someone can help on this :)

I am preparing a Docker Compose for local development and I found the same issue of @pmorch.
I have disabled the Jolokia restrictions with docker run -e AMQ_EXTRA_ARGS='--relax-jolokia' .... Obviously, this is not a solution for production environments but works for dev environments.
@sweeguan-ng solution setting AMQ_EXTRA_ARGS=--host <IP_ADDRESS> did not work for me.

I am preparing a Docker Compose for local development and I found the same issue of @pmorch.
I have disabled the Jolokia restrictions with docker run -e AMQ_EXTRA_ARGS='--relax-jolokia' .... Obviously, this is not a solution for production environments but works for dev environments.
@sweeguan-ng solution setting AMQ_EXTRA_ARGS=--host <IP_ADDRESS> did not work for me.

Hey, i typed it wrongly, it should be --http-host <IP_ADDRESS> instead of --host <IP_ADDRESS>

Hey, i typed it wrongly, it should be --http-host <IP_ADDRESS> instead of --host <IP_ADDRESS>

Tried both (combined and separated) without luck using WSL2 (Docker Desktop) since the redirection to <IP_ADDRESS> from Windows does not work. @pmorch commented this in Stackoverflow too.
I suppose that works when you are not using Docker Desktop. In the end, I just use --relax-jolokia for local development, that seems to fix the issue in my environment.

I'm unsubscribing from this issue, as I'm no longer considering use of activemq - primarily for this reason - but am using rabbitmq instead.
At least when I wrote the issue, it was valid, but if you want to close this issue because it no longer is an issue for me, for my sake feel free to do so.

Any news on that issue. The problem is still relevant when using Docker on Windows.

Hey, y'all!
This is my working command on Windows WSL2 (Docker Desktop)
docker run --rm -e AMQ_USER=admin -e AMQ_PASSWORD=admin123 -e AMQ_EXTRA_ARGS='--relax-jolokia --http-host <IP_ADDRESS>' -p8161:8161 --name artemis quay.io/artemiscloud/activemq-artemis-broker:latest

As you can see, I'm using --http-host and --relax-jolokia to have a working environment.

@hguerrero Works! Thank you very much.

@hguerrero thanks for your solution


Fix check for setController and lockController

This fixes an issue with the authorization checks that prevents the Validator from relaying calls to setController and lockController

@joewagner sorry i missed this tags on this PR when I was away. Looks like some of the tests are redundant... there's a bunch of controller tests in test/ITablelandController.ts. Mind if I clean it up a bit?

@joewagner sorry i missed this tags on this PR when I was away. Looks like some of the tests are redundant... there's a bunch of controller tests in test/ITablelandController.ts. Mind if I clean it up a bit?

Not at all!  Not sure why I had to do some refactoring to get the coverage above 96%, I'd guess there might be a better way.


fix a missing return

https://github.com/maple3142/GDIndex/blob/2d95552ed4d1f8d5955ee27738c845734649d1aa/worker/dist/worker.js#L703
Here a return is missing, and no error status will be returned.

Thanks


[UI] Add Responsive Helper Classes

I'm using semantic beta
I have an element That I only want to show in mobile view only. For example,
`
 Save
`
This element shows in computer, tablet, and mobile views.

+1 for this

I think it makes sense to support it in the menu at least.
Right now i'm looking for a solution to showing a large button for search on mobile while on the desktop showing the whole search bar and afaik i can't do that without manually adding a mediaquery

+1 for at least supporting it in the menu.

Would be a good feature, hiding things like icons or text as a page gets smaller is handy.

So, when this will be ready to use?

Haven't started any development

+1 for hidden-xx

Have we gotten anywhere on this? Need someone to develop it? I love Semantic UI, but this seems to be the one huge thing missing. I will implement it if it's not at the top of anyone else's priority list.

It would be great if Semantic UI has an equivalent for Zurb Foundation's Media Queries :) http://foundation.zurb.com/docs/media-queries.html

Named breakpoint variables are built into Semantic UI, you can use them in your own custom less.
https://github.com/Semantic-Org/Semantic-UI/blob/next/src/themes/default/globals/site.variables#L143

+1

+1

+1

+1

+1 ~~~

+1 On this, would be really helpful

+10000 on this!

+1

+1

+1 would be a great addition

+1

+1

+1

+1

+1

+1

I have made my own super simple responsive css(only css)
/* Mobile */

@media only screen and (max-width: 767px) {
	.mobile-hide{
		display: none !important;
	}
}

/* Tablet */

@media only screen and (min-width: 768px) and (max-width: 991px) {
	.tablet-hide{
		display: none !important;
	}
}

/* Small Monitor */

@media only screen and (min-width: 992px) and (max-width: 1199px) {
	.small-hide{
		display: none !important;
	}
}

/* Large Monitor */

@media only screen and (min-width: 1200px) {
	.large-hide{
		display: none !important;
	}
}

Whn you youse one of this class element is hiden on specific screen size. Simple, but works for me :)

Hey, this works pretty well! Thanks for sharing

+99999 on this.

+1

+1 as well. Taking @JOJOManLV's lead, I've changed the class names to be more "Semantic UI'ish" and expanded the "* only" classes to work for everything.
@media only screen and (max-width: 767px) {
	.mobile.hidden,
	.tablet.only,
	.small.monitor.only,
	.large.monitor.only {
		display: none !important;
	}
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
	.mobile.only,
	.tablet.hidden,
	.small.monitor.only,
	.large.monitor.only {
		display: none !important;
	}
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
	.mobile.only,
	.tablet.only,
	.small.monitor.hidden,
	.large.monitor.only {
		display: none !important;
	}
}
@media only screen and (min-width: 1200px) {
	.mobile.only,
	.tablet.only,
	.small.monitor.only,
	.large.monitor.hidden {
		display: none !important;
	}
}

+1

+1 I've used @Panman8201 's classes for a project. Works superb.

+1 and thanks @Panman8201

+1

0.5 * 2

Thanks @Panman8201!

+1

+√ 1

+1!!
thank you @Panman8201 and @Jur4iks for the snippet! Works great.

Updating the snippet to match the latest version. It adds a widescreen monitor, and changes small monitor to computer.
/* Mobile */
@media only screen and (max-width: 767px) {
    .mobile.hidden,
    .tablet.only,
    .computer.only,
    .large.monitor.only,
    .widescreen.monitor.only {
        display: none !important;
    }
}

/* Tablet / iPad Portrait */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .mobile.only,
    .tablet.hidden,
    .computer.only,
    .large.monitor.only,
    .widescreen.monitor.only {
        display: none !important;
    }
}

/* Computer / Desktop / iPad Landscape */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .mobile.only,
    .tablet.only,
    .computer.hidden,
    .large.monitor.only,
    .widescreen.monitor.only {
        display: none !important;
    }
}

/* Large Monitor */
@media only screen and (min-width: 1200px) and (max-width: 1919px) {
    .mobile.only,
    .tablet.only,
    .computer.only,
    .large.monitor.hidden,
    .widescreen.monitor.only {
        display: none !important;
    }
}

/* Widescreen Monitor */
@media only screen and (min-width: 1920px) {
    .mobile.only,
    .tablet.only,
    .computer.only,
    .large.monitor.only,
    .widescreen.monitor.hidden  {
        display: none !important;
    }
}

:+1: These classes would be an incredibly pragmatic addition.

Why hasn't this been implemented yet? I've never seen an issue with that much thumbs up :)

Here is a new version, this time it adds a new class:

screen or lower hidden

Screen can be: mobile, tablet, computer, large monitor, widescreen monitor
e.g.: "tablet or lower hidden" will hide in everything but computer, large monitor, or widescreen monitor. You can get the idea. I also changed the css selectors so you can do things like: "mobile only tablet only" to show the element only on those two screens. Keep in mind: "mobile tablet only" is not equal to "mobile only tablet only". Also, due to how semantic is coded, the choosen words in "large monitor" interferes with some elements which has sizes. e.g.:
 will give you a "large label". The oposite is not true, where
 will give you a large label only visible in a widescreen monitor.
jsFiddle: https://jsfiddle.net/8LkLoxcx/
The workaround is to enclose the label in a div like so:

/* Mobile */

@media only screen and (max-width: 767px) {
  [class*="mobile hidden"],
  [class*="tablet only"]:not(.mobile),
  [class*="computer only"]:not(.mobile),
  [class*="large monitor only"]:not(.mobile),
  [class*="widescreen monitor only"]:not(.mobile),
  [class*="or lower hidden"] {
    display: none !important;
  }
}

/* Tablet / iPad Portrait */

@media only screen and (min-width: 768px) and (max-width: 991px) {
  [class*="mobile only"]:not(.tablet),
  [class*="tablet hidden"],
  [class*="computer only"]:not(.tablet),
  [class*="large monitor only"]:not(.tablet),
  [class*="widescreen monitor only"]:not(.tablet),
  [class*="or lower hidden"]:not(.mobile) {
    display: none !important;
  }
}

/* Computer / Desktop / iPad Landscape */

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  [class*="mobile only"]:not(.computer),
  [class*="tablet only"]:not(.computer),
  [class*="computer hidden"],
  [class*="large monitor only"]:not(.computer),
  [class*="widescreen monitor only"]:not(.computer),
  [class*="or lower hidden"]:not(.tablet):not(.mobile) {
    display: none !important;
  }
}

/* Large Monitor */

@media only screen and (min-width: 1200px) and (max-width: 1919px) {
  [class*="mobile only"]:not([class*="large monitor"]),
  [class*="tablet only"]:not([class*="large monitor"]),
  [class*="computer only"]:not([class*="large monitor"]),
  [class*="large monitor hidden"],
  [class*="widescreen monitor only"]:not([class*="large monitor"]),
  [class*="or lower hidden"]:not(.computer):not(.tablet):not(.mobile) {
    display: none !important;
  }
}

/* Widescreen Monitor */

@media only screen and (min-width: 1920px) {
  [class*="mobile only"]:not([class*="widescreen monitor"]),
  [class*="tablet only"]:not([class*="widescreen monitor"]),
  [class*="computer only"]:not([class*="widescreen monitor"]),
  [class*="large monitor only"]:not([class*="widescreen monitor"]),
  [class*="widescreen monitor hidden"],
  [class*="widescreen monitor or lower hidden"] {
    display: none !important;
  }
}

`

@suhaboncukcu look at milestone, @jlukic marked into 2.x Changes milestone, we are working on it. There's a lot of requests and changes, be patiente :smile:

@scumie Thanks for the contribution :+1:

here is the @scumie 's snippet with class names consistent with Semantic UI. (ie. large monitor --> large screen, widescreen monitor --> widescreen)
// Semantic UI has these classes, however they're only applicable to
// grids, containers, rows and columns.
// plus, there isn't any `mobile hidden`, `X hidden` class.
// this snippet is using the same class names and same approach
// plus a bit more but to all elements.
//
// see https://github.com/Semantic-Org/Semantic-UI/issues/1114

/* Mobile */
@media only screen and (max-width: 767px) {
  [class*="mobile hidden"],
  [class*="tablet only"]:not(.mobile),
  [class*="computer only"]:not(.mobile),
  [class*="large screen only"]:not(.mobile),
  [class*="widescreen only"]:not(.mobile),
  [class*="or lower hidden"] {
    display: none !important;
  }
}

/* Tablet / iPad Portrait */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  [class*="mobile only"]:not(.tablet),
  [class*="tablet hidden"],
  [class*="computer only"]:not(.tablet),
  [class*="large screen only"]:not(.tablet),
  [class*="widescreen only"]:not(.tablet),
  [class*="or lower hidden"]:not(.mobile) {
    display: none !important;
  }
}

/* Computer / Desktop / iPad Landscape */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  [class*="mobile only"]:not(.computer),
  [class*="tablet only"]:not(.computer),
  [class*="computer hidden"],
  [class*="large screen only"]:not(.computer),
  [class*="widescreen only"]:not(.computer),
  [class*="or lower hidden"]:not(.tablet):not(.mobile) {
    display: none !important;
  }
}

/* Large Monitor */
@media only screen and (min-width: 1200px) and (max-width: 1919px) {
  [class*="mobile only"]:not([class*="large screen"]),
  [class*="tablet only"]:not([class*="large screen"]),
  [class*="computer only"]:not([class*="large screen"]),
  [class*="large screen hidden"],
  [class*="widescreen only"]:not([class*="large screen"]),
  [class*="or lower hidden"]:not(.computer):not(.tablet):not(.mobile) {
    display: none !important;
  }
}

/* Widescreen Monitor */
@media only screen and (min-width: 1920px) {
  [class*="mobile only"]:not([class*="widescreen"]),
  [class*="tablet only"]:not([class*="widescreen"]),
  [class*="computer only"]:not([class*="widescreen"]),
  [class*="large screen only"]:not([class*="widescreen"]),
  [class*="widescreen hidden"],
  [class*="widescreen or lower hidden"] {
    display: none !important;
  }
}

You saved my life guys

+1 :)

+1, especially to match bootstrap functionality
Here's that same snippet with the Semantic variables used. If you include in the site vars you can use this....
// Semantic UI has these classes, however they're only applicable to
// grids, containers, rows and columns.
// plus, there isn't any `mobile hidden`, `X hidden` class.
// this snippet is using the same class names and same approach
// plus a bit more but to all elements.
//
// see https://github.com/Semantic-Org/Semantic-UI/issues/1114

/* Mobile */
@media only screen and (max-width: (@tabletBreakpoint - 1)) {
  [class*="mobile hidden"],
  [class*="tablet only"]:not(.mobile),
  [class*="computer only"]:not(.mobile),
  [class*="large screen only"]:not(.mobile),
  [class*="widescreen only"]:not(.mobile),
  [class*="or lower hidden"] {
    display: none !important;
  }
}

/* Tablet / iPad Portrait */
@media only screen and (min-width: @tabletBreakpoint) and (max-width: (@computerBreakpoint - 1)) {
  [class*="mobile only"]:not(.tablet),
  [class*="tablet hidden"],
  [class*="computer only"]:not(.tablet),
  [class*="large screen only"]:not(.tablet),
  [class*="widescreen only"]:not(.tablet),
  [class*="or lower hidden"]:not(.mobile) {
    display: none !important;
  }
}

/* Computer / Desktop / iPad Landscape */
@media only screen and (min-width: @computerBreakpoint) and (max-width: (@largeMonitorBreakpoint - 1)) {
  [class*="mobile only"]:not(.computer),
  [class*="tablet only"]:not(.computer),
  [class*="computer hidden"],
  [class*="large screen only"]:not(.computer),
  [class*="widescreen only"]:not(.computer),
  [class*="or lower hidden"]:not(.tablet):not(.mobile) {
    display: none !important;
  }
}

/* Large Monitor */
@media only screen and (min-width: @largeMonitorBreakpoint) and (max-width: (@widescreenMonitorBreakpoint - 1)) {
  [class*="mobile only"]:not([class*="large screen"]),
  [class*="tablet only"]:not([class*="large screen"]),
  [class*="computer only"]:not([class*="large screen"]),
  [class*="large screen hidden"],
  [class*="widescreen only"]:not([class*="large screen"]),
  [class*="or lower hidden"]:not(.computer):not(.tablet):not(.mobile) {
    display: none !important;
  }
}

/* Widescreen Monitor */
@media only screen and (min-width: @widescreenMonitorBreakpoint) {
  [class*="mobile only"]:not([class*="widescreen"]),
  [class*="tablet only"]:not([class*="widescreen"]),
  [class*="computer only"]:not([class*="widescreen"]),
  [class*="large screen only"]:not([class*="widescreen"]),
  [class*="widescreen hidden"],
  [class*="widescreen or lower hidden"] {
    display: none !important;
  }
}

+1

Quoting @sstok:

Please use the GitHub Reactions to vote https://github.com/blog/2119-add-reactions-to-pull-requests-issues-and-comments instead of posting +1 it will prevent informing everyone over no usable update

:+1:

+1

+1

+1

Once you use the trick which wrote above, you will meet this problem:
ui large screen only button, now your button become larger.

@YamiOdymel That is intended... see my comment on Feb 9.

Any updates regarding this? It'd be really awesome if it's included in the next release :grin:

This is sooooooo needed.

@chrisinajar, thanks for the less.
can someone provide a practical example where
<root>

</root>

using the above css?

nm, got it
<root>

</root>

Seems like the authors (bless them) have a philosophical difference with something like this being included. Nevertheless it is handy is certain situations. For example I was able to use the above trick to turn off a sticky menu on mobile. very handy and I could find no other way to do it with built in styles.

+1

Bump, due to stale bot. Still needed for sure!

Somehow, I suspect if this wasn't done in the last 4 years, it probably isn't getting done.

All modifiers in SUI are scoped to UI components. This helps make sure class names for SUI dont leak into other CSS in people's projects and can apply to each component differently.
This is similar to linguistics with examples like  "small planet" vs "large ant". Neither define a particular objective size that can be defined in isolation, but only in context of the word they modify.

Just scope it as you see fit and get back to us with a proposal. When this was dropped here, the documentation was slim and confusing, needing a masters degree to implement some of it. At the time of writing this, semantic UI didn't have anything like this either and name schema was all over the place, and as the thread clearly shows, how the modifiers were at the beginning of this thread changed considerably with the years.

Any progress on this issue?

Any progress on this issue?


Examples dont work

What is Opt in actFunc := func(opt Opt) error {
?
thanks

Hey sorry about that. Try
actFunc := func(opt wmenu.Opt) error {}

This is what menu.Action() needs as a parameter. Basically, the next function to call if an option does not have an action set to it. In this case opt will be the option that was selected in the menu. This allows you to have a context passed through to the next function. Will fix readme shortly. Let me now if that helps. If not let me now of anything else I can do to clarify.


Add 'Subscription.test_iam_permissions' API wrapper.

Uses #1645 as a base.
Closes #1073.

@dhermes Rebased after merging #1645 to master.  PTAL

#1648 would cover the test_iam_permissions method name here, too.

@dhermes any further issues?

LGTM


Bug 2099864: Reorder static resources to create RBAC first

The privileged RBAC objects should be created first to make sure the CSI driver Deployment / DaemonSet can use privileged SCC.
cc @openshift/storage
/hold
for testing

/test all

/retest

/hold cancel
no errors seen in 3 tests

/retest

/retest-required


Support Unicode content in script and style blocks

@bjaskj found an issue where Unicode strings were garbled after running Prettier on Svelte templates.

Add tests for Unicode strings
Fix Buffer decoding to use UTF-8 instead of ASCII

Thanks for locating the issue. It's a bit frustrating when trying to work with some national characters.

great, thanks!


HIVE-26632: Update DelegationTokenSecretManager current key ID to pre…

…vent erroneous database updates.
What changes were proposed in this pull request?
Update DelegationTokenSecretManager current key ID to prevent erroneous database updates.
Why are the changes needed?
When multiple HiveMetaStore processes share a database for MASTER_KEYS, this bug can cause incorrect update attempts and increased database load.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Run multiple HiveMetaStore processes sharing the same database. To make it easier to expose the problem, downtune configuration properties related to master key rollover to artificially low values:

hive.cluster.delegation.token.gc-interval
hive.cluster.delegation.key.update-interval
hive.cluster.delegation.token.max-lifetime

WIthout the patch, stack traces like this are visible in the logs:
2022-08-03T00:09:48,744 ERROR [Thread[Thread-9,5,main]] thrift.TokenStoreDelegationTokenSecretManager: ExpiredTokenRemover thread received unexpected exception. org.apache.hadoop.hive.thrift.DelegationTokenStore$TokenStoreException: NoSuchObjectException(message:No key found with keyId: 1)
org.apache.hadoop.hive.thrift.DelegationTokenStore$TokenStoreException: NoSuchObjectException(message:No key found with keyId: 1)
	at org.apache.hadoop.hive.thrift.DBTokenStore.invokeOnTokenStore(DBTokenStore.java:170) ~[hive-exec-2.3.7.jar:2.3.7]
	at org.apache.hadoop.hive.thrift.DBTokenStore.updateMasterKey(DBTokenStore.java:51) ~[hive-exec-2.3.7.jar:2.3.7]
	at org.apache.hadoop.hive.thrift.TokenStoreDelegationTokenSecretManager.rollMasterKeyExt(TokenStoreDelegationTokenSecretManager.java:269) ~[hive-exec-2.3.7.jar:2.3.7]
	at org.apache.hadoop.hive.thrift.TokenStoreDelegationTokenSecretManager$ExpiredTokenRemover.run(TokenStoreDelegationTokenSecretManager.java:301) [hive-exec-2.3.7.jar:2.3.7]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_312]
Caused by: org.apache.hadoop.hive.metastore.api.NoSuchObjectException: No key found with keyId: 1
	at org.apache.hadoop.hive.metastore.ObjectStore.updateMasterKey(ObjectStore.java:7727) ~[hive-exec-2.3.7.jar:2.3.7]

After applying the patch, the problem goes away.
The exact timing makes it difficult to reproduce accurately in a unit test.

http://ci.hive.apache.org/blue/organizations/jenkins/hive-precommit/detail/PR-3673/1/tests
There are 2 CLI integration test failures that don't appear to be related to this patch.

@ayushtkn or @dengzhhu653 , would one of you be able to review this? Thank you.


Improve stats app resiliency

Improve stats app resiliency
Problem
Most of the stats app data come from the /v1/dashboard-data endpoint. This endpoint poorly handle exceptions so if any error occurs, the entire dashboard breaks. In this specific case, only the "Bonded token" loading failed, but all the tiles are missing.

Proposed solution
We need to make sure that the endpoint is resilient and won't break if some of the data loading fail:

[ ] In the /v1/dashboard-data endpoint. Make sure that if anything fail to load, the rest is still returned
[ ] In the getChainStats function. Make sure that if a query fail, the others are still returned
[ ] In the stats app. Make sure that if a row or tile data is missing from the api response, the others are still rendered

Hello @Redm4x I can handle this task

Hey @forbesus are you still up for this task?

Hello @baktun14 Will you assign this task to me?

@forbesus Do you need help with something?

Can we chat via discord for smoothly communication? @baktun14

@forbesus Ok I'll add you


🔄 Synced file(s) with BetaHuhn/github-files

Synced local file(s) with BetaHuhn/github-files.

Changed files

Synced local  .github/FUNDING.yml with remote  configs/FUNDING.yml

This PR was created automatically by the repo-file-sync-action workflow run #768123274

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


Improve docs

Attempt to improve our documentation around our CI system. Not meant to be final, this is always a WiP.
To view them in action: https://github.com/jwendell/test-infra-1/tree/improve-docs


Error: Use of undeclared type 'Timestamp'

You need to add import FirebaseFirestore into Restaurant.swift file to suppress this error.

@quangtqag I was able to build without this import. What version of CocoaPods are you using?

I am using v1.6.1

That should work fine. We can add the import anyway since it doesn't break anything.


Remove Python Specific Syntax - 2

NEEDS VALIDATING
Across the codebase we are using the python specific syntax seen below.
One example would be inside the select component.
{% for attribute, value in (params.attributes.items() if params.attributes is mapping and params.attributes.items else params.attributes) %}
Inside this same component we are using the following shorthand version. Could we remove the above line in favour of the shorthand?
{% for attribute, value in params.attributes %}{{ attribute }}="{{ value }}"{% endfor %}
Need to test this to see if it causes any issues inside a python application.

May need @rmccar support?

Will cause multiple breaking changes across 90% of the components - added low prio label.

Tasks for this ticket:

Investigate if making this change breaks anything in Python.
Discuss with the team to decide whether further works/tickets are required.
If so, create tickets to outline the work required.


Add crates.io categories to Cargo.toml

Added categories, so that this package shows up on the categories page.

Thank you


ComputeSideEffects: correct side effects for destroy_addr

A destroy_addr also involves a read from the address. It's equivalent to a %x = load [take] and destroy_value %x.
It's also a write, because the stored value is not available anymore after the destroy.
Fixes a compiler crash in SILMem2Reg.
rdar://103879105
Also, ignore side effects of debug_value with address operands.

@swift-ci test

@swift-ci benchmark

@swift-ci benchmark

@swift-ci test


Change all anchor and img tag with next?Link and next/Image tags

Description
I noticed by the observation that in some files there used anchor tag and img tag. So as we know for enhancement of performance there are features for that next/image and next/link. So, I replace all possible anchor tags with Link tags and all image tage with next/Image tag
Fixes #234
Type of change
Change a syntax and in the image tag add a default height and width accordingly.
As per next/Image feature I add hostname of the image provider in the Next.config.js file
Checklist:

[x] I have performed a self-review of my code

@rithviknishad please review my pr

@dgparmar14 fix the prettier issues

@rithviknishad I removed all eslint errors please review it

@rithviknishad @gsoc Okay I push all changes as per your instructions

it will now merged or any changes reuired?
@rithviknishad

Okk, all done as per your instruction. If still any cahnges please guide me.

@rithviknishad Can you please review agai.Thank you.


[WFLY-14599] Update ironjacamar to 4.0.30.Final

https://issues.redhat.com/browse/WFLY-14599
Update because of:
https://issues.redhat.com/browse/JBJCA-1418
Double update because I had to revert:
https://issues.redhat.com/browse/JBJCA-1397

/retest

@tadamski The "Linux with security manager" job failed in the same way twice.

I have fixed the security manager issues

Thanks @tadamski


AWS::Batch::ComputeEnvironment: Property "InstanceRole" can Ref to resources of types [AWS::IAM::Role]

cfn-lint version: 0.11.0
Description of issue.
InstanceRole in AWS::Batch::ComputeEnvironment should reference a AWS::IAM::InstanceProfile resource and not a AWS::IAM::Role.
Please provide as much information as possible:

Template linting issues:

Please provide a CloudFormation sample that generated the issue.
https://github.com/aws/aws-parallelcluster/blob/develop/cloudformation/batch-substack.cfn.json#L411

when using the Arn with Fn:GetAtt the error is: "InstanceRole" has no valid Fn::GetAtt options...
while InstanceProfile has a GetAtt option https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html#w2ab1c21c10d144c23c13
when using the Ref the error is: Property "InstanceRole" can Ref to resources of types [AWS::IAM::Role]
while the correct Property to reference is AWS::IAM::InstanceProfile

If present, please add links to the (official) documentation for clarification.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-computeenvironment-computeresources.html#cfn-batch-computeenvironment-computeresources-instancerole

Hi, your recent release re-opened this issue:
cfn-lint run-test: commands[1] | cfn-lint batch-substack.cfn.json
E3008 Property "InstanceRole" has no valid Fn::GetAtt options at Resources/ComputeEnvironment/Properties/ComputeResources/InstanceRole/Fn::GetAtt
batch-substack.cfn.json:415:13

You can see the travis failure here: https://travis-ci.org/enrico-usai/aws-parallelcluster/jobs/516121086
Could you help us?

I'm on it.  The fix is in and the patched release will be out there shortly.  Sorry we are bopping between this and another issue.  I think I have this cleared up for good now.  There seems to be a lot of issues with how certain resources handle these properties.  Some take the Arn, some take the name, some take both.  The documentation isn't always clear which makes it harder.  Either way we split apart the IamInstanceProfile to have an Arn type, Name type, and a both.  At this point I have set the Batch Compute Instances to use both as it looks like (from the documentation) the Ref will also work (I haven't tested this just basing it on the docs).

Hi, your recent release re-opened this issue:
E3008 Property "SpotIamFleetRole" has no valid Fn::GetAtt options at Resources/ComputeEnvironment/Properties/ComputeResources/SpotIamFleetRole/Fn::If/1/Fn::GetAtt
batch-substack.cfn.json:409:17

See travis failure: https://travis-ci.org/aws/aws-parallelcluster/jobs/577754327


Filter IPv6 resolvers from /etc/resolv.conf until we have V6 forwarding

We currently read all the 'nameserver' entries out of resolv.conf,
including the IPv6 and IPv4 entries.  However, the forwarding logic
in slirp does not handle the IPv6 case yet (primarily due to a lack
of testing), and so a user with an IPv6 resolver as the first entry
will have forwarding failures.
This patch filters for IPv4 resolvers to work around the issue so that
if the resolv.conf has at least one IPv4 server, it will get picked
up and used.  This is the minimal patch: we do need to support IPv6
forwarding as well but that will be a bigger change.
Reported in docker/for-mac#9.
Signed-off-by: Anil Madhavapeddy<EMAIL_ADDRESS>

LGTM

When we hook up the SC database we'll have to remember to apply the same rules to avoid a regression.


Cuter snake

The snake resolution is too low and it lacks character. You can barely see its eyes.
If anyone wants to contribute a cuter snake it would be welcome :heart:

Well, I can't ignore this one 😅. I'll make some drawings.

Basics are done, now working on animations.


Could not load dynamic library 'cudart64_100.dll

It is working but on CPu instead of GPU. I install CUDNN and CUDA with the Version in the Video.
Here the complete "Warning":
2020-06-24 17:48:16.336891: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_100.dll'; dlerror: cudart64_100.dll not found 2020-06-24 17:48:16.836656: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.

You can try google "cudart64_100.dll" and download it. Then put it into tensorflow/stream_executor/platform/default dirctory.


Zabbix Agent not starting

Hi,
I'm running
OPNsense 17.1.8-i386
FreeBSD 11.0-RELEASE-p10
OpenSSL 1.0.2l  25 May 2017
in a VM and want to use the zabbix agent (Zabbix 3.2.3 (revision 64610)).
Plugin Version is: os-zabbix-agent | 1.1
After setting "Hostname" and "Listen Port" and "Zabbix Servers" i have to enter "Listen IPs".
In this field the only aaccpted format is: <IP_ADDRESS>:10050
but the  if i try to start the agent i get this error message:
48648:20170707:081114.098 listener | failed: cannot resolve address [[<IP_ADDRESS>:10050]:10050]: [8] hostname nor servname provided, or not known
Could you please help me with this problem?

OPNsense 17.1.8-i386

This version shipped with os-zabbix-agent 1.0 that contained a bug (#178). The current release OPNsense 17.1.9 updated os-zabbix-agent 1.1 to fix this issue.
Nevertheless I spotted another bug that is related to the validation of "Listen IPs" and fixed it in #196.


Add support for redirect filters

Adds support for gateway API Redirect Filters.
This is my first PR to the repo so feedback is greatly appreciated .
Fixes: https://github.com/envoyproxy/gateway/issues/159

Codecov Report

Merging #249 (91a8d4b) into main (d99f32f) will decrease coverage by 5.27%.
The diff coverage is 2.48%.

@@            Coverage Diff             @@
##             main     #249      +/-   ##
==========================================
- Coverage   57.62%   52.34%   -5.28%
==========================================
  Files          30       30
  Lines        2702     2980     +278
==========================================
+ Hits         1557     1560       +3
- Misses       1054     1328     +274
- Partials       91       92       +1

Impacted Files
Coverage Δ

internal/gatewayapi/translator.go
67.55% <0.00%> (-18.50%)
:arrow_down:

internal/ir/xds.go
76.04% <ø> (ø)

internal/ir/zz_generated.deepcopy.go
0.00% <0.00%> (ø)

internal/xds/translator/route.go
17.98% <13.46%> (-6.20%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@AliceProxy please rebase when you have a moment.

Sorry about the recent pushes. I thought I was done with this but realized there were some problems that I needed to fix and I added some better test coverage.

@skriss do you mind reviewing since you have a good understanding of this code?

@AliceProxy can you investigate the CI failure?

Yep it's on my list to review, just need to find some time!

@AliceProxy can you investigate the CI failure?

@danehans The most recent commit should resolve the CI failure.

One other note, just for future reference - our initial goal for EG is to meet "core" Gateway API conformance. As such, I think it'd be fine to start by only implementing the parts of these filters that are required for core conformance, and save "extended" features for later (that's the approach that's been taken with most of the existing Gateway API code). It might help keep the PRs a bit smaller.

@AliceProxy thanks for adding the tests in the IR and xDS libs ! LGTM from my end wrt code in those libs, hoping others can review the gatewayapi/translator diffs


node-gyp configure error "Python is not set from command line or npm configuration"

Node Version: Node 17.4.0 npm 8.3.1
Platform: Darwin Kernel Version 18.7.0
Compiler: Apple LLVM version 10.0.1 (clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
Module: Gatsby Website

node-gyp configure
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| darwin | x64
gyp ERR! find Python
gyp ERR! find Python Python is not set from command line or npm configuration
gyp ERR! find Python Python is not set from environment variable PYTHON
gyp ERR! find Python checking if "python3" can be used
gyp ERR! find Python - "python3" is not in PATH or produced an error
gyp ERR! find Python checking if "python" can be used
gyp ERR! find Python - executable path is "/usr/bin/python"
gyp ERR! find Python - version is "2.7.16"
gyp ERR! find Python - version is 2.7.16 - should be >=3.6.0
gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
gyp ERR! find Python
gyp ERR! find Python **********************************************************
gyp ERR! find Python You need to install the latest version of Python.
gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
gyp ERR! find Python you can try one of the following options:
gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
gyp ERR! find Python   (accepted by both node-gyp and npm)
gyp ERR! find Python - Set the environment variable PYTHON
gyp ERR! find Python - Set the npm configuration variable python:
gyp ERR! find Python   npm config set python "/path/to/pythonexecutable"
gyp ERR! find Python For more information consult the documentation at:
gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
gyp ERR! find Python **********************************************************
gyp ERR! find Python
gyp ERR! configure error
gyp ERR! stack Error: Could not find any Python installation to use
gyp ERR! stack     at PythonFinder.fail (/Users/marie-luce/.nvm/versions/node/v17.4.0/lib/node_modules/node-gyp/lib/find-python.js:330:47)
gyp ERR! stack     at PythonFinder.runChecks (/Users/marie-luce/.nvm/versions/node/v17.4.0/lib/node_modules/node-gyp/lib/find-python.js:159:21)
gyp ERR! stack     at PythonFinder.<anonymous> (/Users/marie-luce/.nvm/versions/node/v17.4.0/lib/node_modules/node-gyp/lib/find-python.js:266:16)
gyp ERR! stack     at PythonFinder.execFileCallback (/Users/marie-luce/.nvm/versions/node/v17.4.0/lib/node_modules/node-gyp/lib/find-python.js:297:7)
gyp ERR! stack     at ChildProcess.exithandler (node:child_process:390:7)
gyp ERR! stack     at ChildProcess.emit (node:events:520:28)
gyp ERR! stack     at maybeClose (node:internal/child_process:1090:16)
gyp ERR! stack     at Socket.<anonymous> (node:internal/child_process:449:11)
gyp ERR! stack     at Socket.emit (node:events:520:28)
gyp ERR! stack     at Pipe.<anonymous> (node:net:687:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/Users/marie-luce/.nvm/versions/node/v17.4.0/bin/node" "/Users/marie-luce/.nvm/versions/node/v17.4.0/bin/node-gyp" "configure"
gyp ERR! cwd /Users/marie-luce/Documents/projets/projet/2022/website.com gatsby contentful
gyp ERR! node -v v17.4.0
gyp ERR! node-gyp -v v9.0.0
gyp ERR! not ok ```

</details>

Originally, I had an issue with node-gyp when trying to build a Gatsby Website. I tried node-gyp configure and got this error.

Python 2 died 862 days ago on 1/1/2020 so it is no longer supported.
You need a supported version of Python: https://devguide.python.org/#status-of-python-branches
On your Mac, please let us know what it says when you do:
% sw_vers

I installed Python3 with Brew but it either did not work or node-gyp does not seem to find it.
This is what I get when I type sw_vers on my terminal:
ProductName:	Mac OS X
ProductVersion:	10.14.6
BuildVersion:	18G9323

Mine says:
ProductName:	macOS
ProductVersion:	12.3.1
BuildVersion:	21E258

so you are on an older macOS.  What do you get when you type:
brew list | grep python
python3 --version

It says:
<EMAIL_ADDRESS>

Please try to add to your command:

--python=python3 or
--python=python3.10 or
<EMAIL_ADDRESS>

I tried the 3 commands listed but I always get the same error:
gyp ERR! find Python  gyp ERR! find Python checking Python explicitly set from command line or npm configuration gyp ERR! find Python - "--python=" or "npm config get python" is "python3" gyp ERR! find Python - "python3" is not in PATH or produced an error gyp ERR! find Python Python is not set from environment variable PYTHON gyp ERR! find Python checking if "python3" can be used gyp ERR! find Python - "python3" is not in PATH or produced an error gyp ERR! find Python checking if "python" can be used gyp ERR! find Python - executable path is "/usr/bin/python" gyp ERR! find Python - version is "2.7.16" gyp ERR! find Python - version is 2.7.16 - should be >=3.6.0 gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED gyp ERR! find Python  gyp ERR! find Python ********************************************************** gyp ERR! find Python You need to install the latest version of Python. gyp ERR! find Python Node-gyp should be able to find and use Python. If not, gyp ERR! find Python you can try one of the following options: gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable" gyp ERR! find Python   (accepted by both node-gyp and npm) gyp ERR! find Python - Set the environment variable PYTHON gyp ERR! find Python - Set the npm configuration variable python: gyp ERR! find Python   npm config set python "/path/to/pythonexecutable" gyp ERR! find Python For more information consult the documentation at: gyp ERR! find Python https://github.com/nodejs/node-gyp#installation gyp ERR! find Python ********************************************************** gyp ERR! find Python  gyp ERR! configure error  gyp ERR! stack Error: Could not find any Python installation to use gyp ERR! stack     at PythonFinder.fail (/Users/marie-luce/.nvm/versions/node/v17.4.0/lib/node_modules/node-gyp/lib/find-python.js:330:47) gyp ERR! stack     at PythonFinder.runChecks (/Users/marie-luce/.nvm/versions/node/v17.4.0/lib/node_modules/node-gyp/lib/find-python.js:159:21) gyp ERR! stack     at PythonFinder.<anonymous> (/Users/marie-luce/.nvm/versions/node/v17.4.0/lib/node_modules/node-gyp/lib/find-python.js:266:16) gyp ERR! stack     at PythonFinder.execFileCallback (/Users/marie-luce/.nvm/versions/node/v17.4.0/lib/node_modules/node-gyp/lib/find-python.js:297:7) gyp ERR! stack     at ChildProcess.exithandler (node:child_process:390:7) gyp ERR! stack     at ChildProcess.emit (node:events:520:28) gyp ERR! stack     at maybeClose (node:internal/child_process:1090:16) gyp ERR! stack     at Socket.<anonymous> (node:internal/child_process:449:11) gyp ERR! stack     at Socket.emit (node:events:520:28) gyp ERR! stack     at Pipe.<anonymous> (node:net:687:12) gyp ERR! System Darwin 18.7.0 gyp ERR! command "/Users/marie-luce/.nvm/versions/node/v17.4.0/bin/node" "/Users/marie-luce/.nvm/versions/node/v17.4.0/bin/node-gyp" "--python=python3" "configure" gyp ERR! cwd /Users/marie-luce/Documents/projets/paul-marie/2022/beraudo.com gatsby contentful gyp ERR! node -v v17.4.0 gyp ERR! node-gyp -v v9.0.0 gyp ERR! not ok
This is weird because I installed python3 but I cannot find the path to it on my mac. When I type which python3 on my terminal, I do not get any result.

brew list | grep python

This is what I get when I run info<EMAIL_ADDRESS><EMAIL_ADDRESS>stable 3.10.4 [keg-only]
Interpreted, interactive, object-oriented programming language
https://www.python.org/
<EMAIL_ADDRESS>(7,968 files, 119.8MB)
  Built from source on 2022-05-12 at 09:33:27
From<EMAIL_ADDRESS>License: Python-2.0
==> Dependencies
Build: pkg-config ✔
Required: gdbm ✔, mpdecimal ✔<EMAIL_ADDRESS>✔, readline ✔, sqlite ✔, xz ✔
==> Caveats
Python has been installed as
<EMAIL_ADDRESS>
Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
<EMAIL_ADDRESS>
You can install Python packages with
<EMAIL_ADDRESS>install <package>
They will install into the site-package directory
  /usr/local/lib/python3.10/site-packages

tkinter is no longer included with this formula, but it is available separately:
  brew install<EMAIL_ADDRESS>
See: https://docs.brew.sh/Homebrew-and-Python

<EMAIL_ADDRESS>is keg-only, which means it was not symlinked into /usr/local,
because this is an alternate version of another formula.

If you need to have<EMAIL_ADDRESS>first in your PATH, run:
  echo 'export PATH="/usr/local/opt/python@3.10/bin:$PATH"' >> /Users/marie-luce/.bash_profile

For compilers to find<EMAIL_ADDRESS>you may need to set:
  export<EMAIL_ADDRESS>
For pkg-config to find<EMAIL_ADDRESS>you may need to set:
  export<EMAIL_ADDRESS>
==> Analytics
install: 376,493 (30 days), 1,002,168 (90 days), 2,300,695 (365 days)
install-on-request: 102,499 (30 days), 261,181 (90 days), 394,530 (365 days)
build-error: 358 (30 days)

Do this...

If you need to have<EMAIL_ADDRESS>first in your PATH, run:
echo 'export PATH="/usr/local/opt/python@3.10/bin:$PATH"' >> /Users/marie-luce/.bash_profile

Opening a new terminal did make things better. When I enter python3 --version I get:
Python 3.10.4
When I run node-gyp configure,it gets better but I still have an error:
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| darwin | x64
gyp info find Python using Python version 3.10.4 found at<EMAIL_ADDRESS>gyp http GET https://nodejs.org/download/release/v17.4.0/node-v17.4.0-headers.tar.gz
gyp http 200 https://nodejs.org/download/release/v17.4.0/node-v17.4.0-headers.tar.gz
gyp http GET https://nodejs.org/download/release/v17.4.0/SHASUMS256.txt
gyp http 200 https://nodejs.org/download/release/v17.4.0/SHASUMS256.txt
gyp info spawn<EMAIL_ADDRESS>gyp info spawn args [
gyp info spawn args   '/Users/marie-luce/.nvm/versions/node/v17.4.0/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/marie-luce/Documents/projets/paul-marie/2022/beraudo.com gatsby contentful/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/marie-luce/.nvm/versions/node/v17.4.0/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/marie-luce/Library/Caches/node-gyp/17.4.0/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/marie-luce/Library/Caches/node-gyp/17.4.0',
gyp info spawn args   '-Dnode_gyp_dir=/Users/marie-luce/.nvm/versions/node/v17.4.0/lib/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/Users/marie-luce/Library/Caches/node-gyp/17.4.0/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/Users/marie-luce/Documents/projets/paul-marie/2022/beraudo.com gatsby contentful',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp: binding.gyp not found (cwd: /Users/marie-luce/Documents/projets/paul-marie/2022/beraudo.com gatsby contentful) while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/Users/marie-luce/.nvm/versions/node/v17.4.0/lib/node_modules/node-gyp/lib/configure.js:261:16)
gyp ERR! stack     at ChildProcess.emit (node:events:520:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/Users/marie-luce/.nvm/versions/node/v17.4.0/bin/node" "/Users/marie-luce/.nvm/versions/node/v17.4.0/bin/node-gyp" "configure"
gyp ERR! cwd /Users/marie-luce/Documents/projets/paul-marie/2022/beraudo.com gatsby contentful
gyp ERR! node -v v17.4.0
gyp ERR! node-gyp -v v9.0.0
gyp ERR! not ok

Much better.

gyp: binding.gyp not found

You need that file even if it is empty.

Thanks, it worked!

The<EMAIL_ADDRESS>thing is about https://stackoverflow.com/questions/70587544

How I fixed the issue.
$ brew install python3
Then fix .zshrc:
$ open ~/.zshrc
And add:
# Add python from brew
alias python3="/opt/homebrew/bin/python3"
# to fix NPM
export PYTHON="/opt/homebrew/bin/python3"

If you had to do alias python3="/opt/homebrew/bin/python3" the brew in not properly installed and you might want to brew doctor

binding.gyp

@cclauss where should I create this file?

gyp ERR! find Python Python is not set from command line or npm configuration                                                                   gyp ERR! find Python Python is not set from environment variable PYTHON                                                                         gyp ERR! find Python checking if "python3" can be used                                                                                gyp ERR! find Python - "python3" is not in PATH or produced an error                                                                          gyp ERR! find Python checking if "python" can be used                                                                                gyp ERR! find Python - "python" is not in PATH or produced an error                                                                           gyp ERR! find Python                                                                                gyp ERR! find Python **********************************************************                                                                 gyp ERR! find Python You need to install the latest version of Python.                                                                          gyp ERR! find Python Node-gyp should be able to find and use Python. If not,                                                                    gyp ERR! find Python you can try one of the following options:                                                                                gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"                                                                    gyp ERR! find Python   (accepted by both node-gyp and npm)                                                                                gyp ERR! find Python - Set the environment variable PYTHON                                                                                gyp ERR! find Python - Set the npm configuration variable python:                                                                               gyp ERR! find Python   npm config set python "/path/to/pythonexecutable"                                                                      gyp ERR! find Python For more information consult the documentation at:                                                                         gyp ERR! find Python https://github.com/nodejs/node-gyp#installation

In my case, I just had to downgrade node:
$ npm install -g n
$ n 14.21.3 // you need to figure out what specific version you need


MeasureInfo: Only display properties with values

PR Summary
Adding Item selection conditions to the list formatting info for MeasureInfo so that only the properties with values gets displayed
PR Checklist
Note: Please mark anything not applicable to this PR NA.

[X] PR has a meaningful title

[X] Use the present tense and imperative mood when describing your changes

[X] Summarized changes
[ ] User facing Documentation needed

[ ] Issue filed - Issue link:

[X] Change is not breaking
[X] Make sure you've added a new test if existing tests do not effectively test the code changed

[ ] Add [feature] if the change is significant or affects feature tests

[X] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.

@SteveL-MSFT The PR contains a public API change - PowerShell Committee conclusion needed.

@powercode Thanks! We are waiting PowerShell Committee.

@PowerShell/powershell-committee reviewed this and is ok with the public apis

Updating


Restore snapshot fails on multiple indices

Seems like Cerebro sends name as single entry:
{
  "error": {
    "root_cause": [
      {
        "type": "index_not_found_exception",
        "reason": "no such index",
        "index": "index1-2017.06.18index2-2017.06.18index3-2017.06.19"
      }
    ],
    "type": "index_not_found_exception",
    "reason": "no such index",
    "index": "index1-2017.06.18index2-2017.06.18index3-2017.06.19"
  },
  "status": 404
}

Restoring indices one-by-one works.
Version:  v0.6.5

@alkuzad thanks for reporting 👍


Investigate GitHub CLI dependency removal

Today GitHub CLI is only required for azd pipeline config when using GitHub Actions.

Explore any existing Go SDK options for removing GitHub CLI dependency.
Analyze existing CLI usage in Azd and map it to the Go SDK features.
Come up with rough estimates on the effort required. Based on that we can decide.

Context

#821

Estimation of time for replacing gh-cli with api (REST/GraphQL)
List of the current required operations from github interface:

secrets api:

ListSecrets()
SetSecret()
This is REST: https://docs.github.com/en/rest/actions/secrets?apiVersion=2022-11-28#list-organization-secrets
This is low cost. A ~2 days

authentication

Login()
GetAuthStatus()
Requires implementing device flow: https://docs.github.com/en/developers/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps#identifying-users-on-your-site
This is moderate to high cost. ~5 days

Repositories

ListRepositories()
ViewRepository()
CreatePrivateRepository()
This is REST: https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#list-organization-repositories
This is low cost. ~2 days

Actions

GitHubActionsExists()
This is REST: https://docs.github.com/en/rest/actions/workflows?apiVersion=2022-11-28
This is low cost. ~1 day

Others

GetGitProtocolType()
This is the protocol selected for talking to GitHub (either HTTPS or SSL).
This information might be discovered from the local files, as it depends on how the repo was cloned
This is low cost. ~1 day

Results:
The overall estimation for switching to GitHub api is ~10 days of work.
Notes:

A hybrid approach of consuming REST api + gh-cli for generating auth tokens and managing auth-flow will cost ~5 days. This approach would reduce the manual output parsing from gh-cli result.
Supporting authentication requires a plan for maintaining a OAuth application


ntr: C-rich strand telomeric DNA binding

Hi,
I'd like to request a new is_a child term of GO:0043047, single-stranded telomeric DNA binding:
GO:0043047 single-stranded telomeric DNA binding
-GO:new C-rich strand telomeric DNA binding
Suggested def: Interacting selectively and non-covalently with C-rich, single-stranded, telomere-associated DNA.
Reference: http://www.ncbi.nlm.nih.gov/pubmed/18329362
Thanks,
--Kimberly

[Term]
+id: GO:0061730
+name: C-rich strand telomeric DNA binding
+namespace: molecular_function
+def: "Interacting selectively and non-covalently with C-rich, single-stranded, telomere-associated DNA." [GOC:dph, GOC:kmv, PMID:18329362]
+is_a: GO:0043047 ! single-stranded telomeric DNA binding
+created_by: dph
+creation_date: 2015-08-20T09:08:27Z


mlp example bug

When I tried mlp_numpy.py in example/mnist with the latest mxnet, I got this error:
Traceback (most recent call last):
  File "mlp_numpy.py", line 35, in <module>
    train_iter = mx.io.NDArrayIter(data=train_data, label=train_label, batch_size=batch_size, shuffle=True)
  File "xxx/mxnet/python/mxnet/io.py", line 124, in __init__
    if isinstance(args[0], list) or isinstance(args[0], tuple):
IndexError: tuple index out of range

Is this a bug?

Please update the newest version of mxnet, there is not bug for this example here, the output is like this:
[wuwei@localhost mxnet]$ python example/mnist/mlp_numpy.py
INFO:root:Start training with [cpu(0)]
INFO:root:Epoch[0] Train-accuracy=0.643970
INFO:root:Epoch[0] Time cost=0.962
INFO:root:Epoch[1] Train-accuracy=0.949768
...

I've already update to the newest mxnet, but I still get the same bug. @tornadomeet
Traceback (most recent call last):
  File "mlp_numpy.py", line 35, in <module>
    train_iter = mx.io.NDArrayIter(data=train_data, label=train_label, batch_size=batch_size, shuffle=True)
  File "/home/wangg12/anaconda/lib/python2.7/site-packages/mxnet-0.5.0-py2.7.egg/mxnet/io.py", line 124, in __init__
    if isinstance(args[0], list) or isinstance(args[0], tuple):
IndexError: tuple index out of range

This is a bug due to recent dataiterator interface change.
Will be fixed after https://github.com/dmlc/mxnet/pull/505 is merged


Optional isolate scope bindings

Support for the ? suffix for optional isolate scope bindings should be added.

Added.


Cluster Utilization is empty

Describe the bug
In the overview section, Utilization is empty.
To Reproduce
Steps to reproduce the behavior:
Create a new cluster with k3d, setup metrics and open cluster in monokle.
Expected behavior
It show Utilization stats.
Screenshots

Desktop (please complete the following information):

OS: macOS
Version: 14.5

Additional context
When the same cluster is opened in Lens, it is showing Utilization stats.

My k3s cluster has same issue.


HHH-11288: get artifacts from project, not executionProject

https://hibernate.atlassian.net/browse/HHH-11288

I tried this change proposal and it was not working in my case. Check out the comment that I wrote on the Jira issue. There's also a new proposal there to accomodate both ways of getting the artefacts.

@vladmihalcea I suspect you need to test using 5.2.6-SNAPSHOT (currently master) because you need to have the fix for https://hibernate.atlassian.net/browse/HHH-11287 as well. That should remove the need to check executionProject making the change in this PR work correctly for you.

You're right. After using the previous fix, it works now.

Applied upstream. Thanks.


Updated ApiScope to ApiResource

I could not find any ApiScope variables in the project. I think the name has changed to ApiResource. have made the change above.
What issue does this PR address?
Its a simple class name change. It's the very first code addition and it does not work as per the existing document. its a quick fix.
Does this PR introduce a breaking change?
It does not.
Please check if the PR fulfills these requirements

[ ] The commit follows our guidelines
[ ] Unit Tests for the changes have been added (for bug fixes / features)

Other information:
I hope I am not missing something obvious here. I searched throughout the project and I have been using this identity server code for some time. there is no class called ApiScope anywhere in the project.

I'm pretty sure that the ApiScope is the minimum configuration that has to be done whereas the ApiResources are just a way of grouping ApiScopes. I don't think adding ApiResources without any ApiScopes will do anything.

I am only pointing out that ApiScope  is no longer available at that exact step. The only way to get the code working is to use ApiResources .
I must confess I know nothing about the specific roles played by either ApiScope and ApiResource in the overall project context.
The first step itself is a roadblock for someone following the tutorials for the first time. forcing them to spend endless hours trying to understand why ApiScope is not available in that step.

@Jay-study-nildana Maybe you have an outdated template? I just followed the tutorial and ApiScope is available. Did you maybe delete the namespace from the file? It should look like:
using IdentityServer4.Models;
using System.Collections.Generic;

namespace IdentityServer
{
    public static class Config
    {
        public static IEnumerable<ApiScope> ApiScopes =>
            new List<ApiScope>
            {
            new ApiScope("api1", "My API")
            };
    }
}

@bryantlikes
Not at all. I am prepping to use identity server for my students, so was running through the tutorial again, to revise myself for the class. I teach programming university and masters students professionally. so, take this stuff rather seriously :)
This happened just now, a few hours ago.
following every step to the dot without any assumptions or removals.

@Jay-study-nildana  If you look at the IdentityServer.csproj file source, does it have a reference to the 4.0 version of IdentityServer4? ApiScope was added in 4.0.
I also ran through the steps and didn't have any issues which is why I was asking questions.
<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>netcoreapp3.1</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="IdentityServer4" Version="4.0.0" />

    <PackageReference Include="Serilog.AspNetCore" Version="3.2.0" />
  </ItemGroup>
</Project>

@bryantlikes
We found the culprit. You are correct. for some reason, this is what it says
    <PackageReference Include="IdentityServer4" Version="3.1.0" />

    <PackageReference Include="Serilog.AspNetCore" Version="3.2.0" />

its my mistake after all. :)


Laravel 5.4 support

Can't upgrade to Laravel 5.4 because MultiServerEvent is locked to 5.1, 5.2, and 5.3.
I haven't changed it and tried it in production, but I looked through the code and didn't see any breaking changes that might need to be changed. Taylor made some changes to Containers (binding, make method, resolving, after resolving, and now share is removed), but all your code really does is run the container so you should be good!

There actually are breaking changes - just released 2.0 which is Laravel 5.4 compatible.  Note the readme as to the change in the kernel file setup.


add logKind column and filter FB

Which issue this PR addresses:
https://dev.azure.com/msazure/AzureRedHatOpenShift/_workitems/edit/14781267
Fixes:
Currently asyncQoS data is in ServiceLogs on kusto. We want to separate this data to be in its own table instead by using fluentBit tags.
By using the rewrite_tag rule for fluentbit, we can search for the key LOGKIND, and search for the new log value of asyncQoS. It will then give it a new tag for that value. In another PR afterwards for the pipeline, mdsd will pick up this new tage and create a new table from it.

@carvalhe

Currently asyncQoS data is in ServiceLogs on kusto. We want to separate this data to be in its own table

Why? The workitem doesn't provide much insight here :)
cc @weinong

@carvalhe

Currently asyncQoS data is in ServiceLogs on kusto. We want to separate this data to be in its own table

Why? The workitem doesn't provide much insight here :)
cc @weinong

Ill update the ticket. Essentially Kusto tables are defined in geneva/namespace-configs/public/prod/arorplogs/main.xml where fluentBit tags are checked as an Mdsd event source. With matching tags, you can route that data to be a new table like we have for ServiceLogs. Since we want to have asyncQoS information in its own Kusto table, which is currently in ServiceLogs. To do this, data must be filtered in the fluentBit log collection on the journalD tag. A rewrite_tag filter will get current logs on a tag and filter it into a new table based on a value and can keep the old tag too. Let me know if you have any questions

Made changes in the mdsd.xml file specifically just for INT for testing purposes, so now the tags will be routed once this is merged.

@carvalhe lgtm, can you please squash commits to simplify history before we merge?

Moving to a different PR here https://github.com/Azure/ARO-RP/pull/2329 because of rebase issues.


$ argo-trading : No such file or directory

hello
I have installed Argo using npm install -g argo-trading - and it installs like normal npm applications.
But when I try to run it, using argo-trading I just get:
No such file or directory
Other node apps such as grunt and yo are working.
Any idea what I am doing wrong?
Im using Ubuntu 15.04

Thanks for the feedback.
If you give a look at the closed issues, there was a past issue about end of line, because the script contained Windows end of line. It seems this is not the case.
The shebang command #!/usr/bin/env node is the same used in the commands you said you installed, for instance yo. So I would discard it as the root of the problem, but, just in case, you may check it.
Another reason might be the executable permission: please, check if the command argo-trading is executable, with permissions 775.
If this is the reason, please, as workaround, fix it manually and if you confirm it, I would try to fix in the next major release.

Published v3.8.0 with the fix.


ArgumentError on Redmine 3.1.0

I know, this plugin is for 2.X, but maybe you can help :)
After install, reboot and configure I wanted go to Todo bookmark in project. Then I get 500 - Internal error.
ArgumentError (Unknown key: :order. Valid keys are: :class_name, :anonymous_class, :foreign_key, :validate, :autosave, :table_name, :before_add, :after_add, :before_remove, :after_remove, :extend, :primary_key, :dependent, :as, :through, :source, :source_type, :inverse_of, :counter_cache, :join_table, :foreign_type): lib/redmine/sudo_mode.rb:63:in 'sudo_mode'

I'm running the plugin with 3.1 without any problems.
Could you please provide the full stack trace from the log?

This is all from log. That error dont generate stack trace.

Maybe the is a connection with the Ruby version. I'm on 2.1.5 here

I'm using 2.2.1.


Sort legality list in some fashion

On both card and deck pages.

I assume this refers to the list of legal formats?

Right now, it's generated by the SQL order, which is influenced by the order they're inserted, which is influenced by... The alphabetical order of the first card legal in that format?

We have 5 and up seasons of PD to accommodate that most sites do not. But here's a quick survey of order elsewhere.
Scryfall:

magiccards.info:

Magidex:

combodeck.net:

mtg-hunter:

I think the scryfall version probably gives the most clarity.
But we are not a card search site. And we have additional past PD formats to account for. Maybe some kind of colored off/on graphic (with a middling color for restricted) for both PD formats and other formats?

One possible order is:
Penny
Old Pennies
Vintage
Legacy
Modern
Standard
Block(s)
Commander
This has the advantage of putting blocks near the end which in the case of some cards will be multiple entries. Reversing everything from Vintage-Block probably makes more sense but front loads the less-interesting block information.

1850fe5c.


[Masthead, login]: Change the Masthead, login functional specifications to include the new designs

User Story

As a [user role below]:
DDS developer

I need to:
have the Masthead, login functional specs

so that I can:
so that I can properly code the Masthead, login component that meets the Design functions and intent

Additional information

Overview and scope of the engineering work should be included in the linked epic (#6335)

Acceptance criteria

[ ] Documented Masthead, login functional specifications
[ ] Sent and/or presented the specs to Design and Engineering for their review and comments
[ ] Comment is added with link to functional specs

In review updated func spec

@shixiedesign Can this issue be closed?  It is the last open issue in sprint 21-22
cc:  @skuruvil

Yes! We will upload to box shortly.

Completed functional spec in Box:
https://ibm.ent.box.com/folder/59063660753?s=mgb8c6urxlvgpfsbxqvqifb1bj9tm6n1


Updating version of cce compiler for rocm build compatibility

@kab163 @davidbeckingsale
We now have to be conscious that there is another "production branch" in this repo, and that is the spack-0.18.0. Umpire CI points to that branch since the spack update.
It is likely that all project will point to that branch sooner or later, but I think we will have to stick to the following workflow:

When spack introduces breaking changes, and a projects needs to update spack, create a new production branch in radiuss-spack-config
When a change to the spack config is done in main (should not be specific to a spack version*), merge it to the existing production branches.

*Note: updating a dependency version in the config may in facts require a newer spack... so it’s not that easy...

What we may very well consider would be to automate the test of the update of radiuss-spack-config in RAJA, Umpire, CHAI and such when a change is pushed here.
If we automatically update it in every project, then we don’t need to maintain various branches. I think that’s David’s vision: always have those third party repo up-to-date to be sure all projects are in sync regarding spack config.


Add "Launch in AWS Studio Lab" to readme.md?

Not sure if you want to add this, but I've been loving AWS Studio Lab, and launching it worked perfectly -- it discovered the environment.yml, built the environment, I ran the notebook without problems.    And now the "bitinfo" env and repo are there for me to run again (on AWS Studio Lab, your stuff is persisted, and you have 12 hours of CPU time every time you fire it up.
Launch in SageMaker Studio Lab
If you have an AWS SageMaker Studio Lab account, you can open in Studio Lab using the button below, then when prompted, choose to download the whole repo and to build the conda environment.   If you don't have an account, you can sign up for free (no AWS account required).

Whatever makes it easy to try is welcome


Cannot click on a marker.

After I have created a marker, I cant click on a marker instead new marker is getting created.
Event "leafletDirectiveMarker.click" is not getting triggered.
Steps to reproduce it,

create a marker and the marker should not have any popup message
now click on the same marker

Event "leafletDirectiveMarker.click" triggering is expected.
What happens is, new marker will be created.

Same problem.

encountered the same

try leafletDirectiveMarker.[yourMapInstanceName].click event
for eg.: leafletDirectiveMarker.map.click

Hello guys,
I had the same problem few weeks ago. You have to define event on newly created layers separately! Do this after you draw them.
Use this as an example:
// Defining behaviour of newly created layers!
leafletData.getMap('mapId').then(function(map) {
map.on('draw:created', function(e) {
var layer = e.layer;
layer.on('click', function(args) {
console.log('Clicked!');
});
});
});


error: unpack requires a buffer of 10 bytes

I get random disconnections.

I do not understand why it randomly receives as incomplete packets leading to incorrect parsing and thus disconnection.
Is it possible that the reason is because the wifi stick also sends data to the Zucchetti ZCS cloud?
Solarman version: 1.5.1
HA:
Core 2024.4.2
Supervisor 2024.04.0
Operating System 12.1
Frontend 20240404.1

Hi,
Are you sure that the registers in the range 10-16 are readable. Anyway, check your documentation for error 167, this is the number returned in both cases:
2024-04-11 12:20:28.781 ... Querying [10 - 10]...
2024-04-11 12:20:28.781 ... SENT: a5 17 00 10 45 aa 00 12 60 9e 8d 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 03 00 0a 00 01 a4 08 70 15
2024-04-11 12:20:29.860 ... RECD: a5 15 00 10 15 aa 55 12 60 9e 8d 02 01 4e ce 29 00 89 03 00 00 1f eb ed 65 01 03 02 00 a7 f9 fe aa 15
2024-04-11 12:20:29.860 ... Querying [10 - 10] succeeded
2024-04-11 12:20:29.861 ... Querying [12 - 16]...
2024-04-11 12:20:29.861 ...  RECD: a5 15 00 10 15 ab 56 12 60 9e 8d 02 01 4e ce 29 00 89 03 00 00 1f eb ed 65 01 03 02 00 a7 f9 fe ac 15

It is not detected in the first attempt as only one register is requested which satisfies the packet length of the response. The error is raised directly from the umodbus lib.

Is it possible that the reason is because the wifi stick also sends data to the Zucchetti ZCS cloud?

Highly unlikely. You should see something like:
Querying [<start> - <end>] failed with exception [V5FrameError: V5 frame contains invalid sequence number]

if responses to requests not generated by the current pysolrmanv5 instance are received on the socket.


Docker image

Hey,
Thank you for this great project, really easier to install the stack compared to the workshop, (which I failed in early steps).
I've still struggled a little with pre-requisites (and still have some unit tests failed on Ubuntu for Windows), and wonder how I will automate the process for CI/CD.
Do you have any docker image somewhere, containing all needed tools to run Nephos ? Or would you consider building one ?
Thanks 😃

Thanks @bcouetil good point.
At the moment we are installing requirements locally, and Travis is in place to process PRs.
Having a docker image to split up prerequisites would be a great add, if you would have time to contribute, please feel free to open a PR!

We have been playing with Nephos for a few days, we were planning to contribute, and will surely do, when more confident with the tool 😉


(PUP-6753) Ensure that log functions return undef

This commit changes the helper method for all puppet log functions so
that it returns nil. A return_type of 'Undef' is also added to the
dispatcher for the log functions

CLA signed by all contributors.

Actually, before I merge: is this a breaking change? It seems unlikely that many would be using the return value of these functions, but is it possible that someone is?

The returned object, when auto converted to a String, yields it's message. This statement compiles without problems:
notify { 'hello': message => notice('world') }

and the catalog contains the property 'message' => 'world' (the value is converted to a string). It's unlikely, but who knows?

Could possibly affect Ruby code, if someone calls these functions from templates and they have figured out that they get a string.
Not sure what to do, an alternative is to do a to_s and return String - then it is at least compliant in terms of what is meaningful to do from Puppet.
Change to return String?

That's an option. Another would be to simply leave things as they are and introduce this change in 5.0.

While this is in theory a breaking change since puppet during 4.x have been leaking the Log object into Puppet, this would not have been the case earlier because the log functions where all of the :statement kind and from the 3.x Puppet language you could not get a value from them. Since we never told anyone or specified that they return a log the risk is minimal. While technically you could have called these functions to log from Ruby, there are easier ways to do so (there is no code in Puppet that expects the return to be a Log). Changing to Undef return type is the sane thing to do, and I consider this to be a bug.
If we take the super conservative approach; we could specify that the function returns a Log, and add that to the type system. But that is a lot of work for a non valuable feature.
I am leaning towards merging as is (that is, that undef is returned).


Masking high width stroke

Hi!
I have a bit of an issue trying to figure out. I am trying to mask a stroke with a width of over 200px. Masking it with a rectangle but somehow I see only a few pixel height. Attached the aep file and few screenshots can anybody see what am i missing?
This is how it looks in AE

This is how it looks in the browser

StrokeFail.aep.zip

how are you masking it? using a track matte?

Yes, just Alpha Matte

Browsers don't mask strokes correctly, so a workaround for this is creating a transparent rectangle in the contents of the masked shape layer that covers the whole surface of the stroke.
Let me know if it makes sense.

it makes sense theoretically, but couldn't make it work.
Tried these below

try including a transparent fill to it.
Tr going with option 1 so the trim path won't affect it and add it right below the Transparent Rect property.

yay! it worked. yeah by just adding the rect I thought I have added a transparent path. Obviously needs a fill with 0 percent opacity..
Thanks!
So one more question; does stroke paths supposed to work with zig zag and such things? Seems like it doesn't work or I need to figure out how it works

zig zag and those kind of modifiers are not supported yet.
I'm working on supporting them right now.
Only rounded corners and trim paths are supported for now.

that's perfect, thank you very much. Looking forward to it. if you ever need a beta tester, count me in.
Cheers!

thanks!

I'm stuck with the same problem. Tried adding transparrent rectangle, but it didn't work. Can you upload the file, that made it work for you @laygir ?

@jacobsorensen can you share the .aep project so I can take a look?

Of course! Thanks for helping.
Bodymovin_Issue.aep.zip

Hi, the rectangle you added fixes the issue already.
Where are you seeing it incorrectly?

It "works", but it doesn't mask out the entire shape. I'm only seeing a think stroke, like Laygir, initially did in this post. (I'm using version 5.1.7). This is what I'm seeing:

what renderer are you using?

I'm using SVG

can you share a link? I see it fine here with the correct width

I'm running locally. But heres a link for the project: https://we.tl/2FohK7GdCh

I have no idea why. But I think it is working now.


Fix Undertow schema that still references removed element

Linux with security manager Build 2118 is now running using a merge of 562c96fd0a691b73ac2466e3a764f4bfcf962bc9

Windows Build 2302 is now running using a merge of 562c96fd0a691b73ac2466e3a764f4bfcf962bc9

Linux Build 7249 is now running using a merge of 562c96fd0a691b73ac2466e3a764f4bfcf962bc9

Linux with security manager Build 2118 outcome was SUCCESS using a merge of 562c96fd0a691b73ac2466e3a764f4bfcf962bc9
Summary: Tests passed: 897, ignored: 285 Build time: 0:06:25

Linux Build 7249 outcome was SUCCESS using a merge of 562c96fd0a691b73ac2466e3a764f4bfcf962bc9
Summary: Tests passed: 2983, ignored: 358 Build time: 0:47:45

Windows Build 2302 outcome was SUCCESS using a merge of 562c96fd0a691b73ac2466e3a764f4bfcf962bc9
Summary: Tests passed: 2981, ignored: 359, muted: 1 Build time: 0:47:52


Suggested wiki change

https://github.com/ryandotclair/Vagrant_Docker_Enterprise/wiki

Accepted & merged. Thx


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-k8s-23-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1006

Questions ?
Please refer to the Backport tool documentation


User signedIn false after successful login request and session token?

I followed the objective c sample code for cognito ios user pools and can successfully register, confirm a user and get a session, but [pool currentUser].signedIn) is always false even after i get a token back from [[pool currentUser] getSession:email password:password ...].
Any suggestions on what my be going wrong?
Update: Works on my device but not in the simulator... shouldnt this be able to work in the simulator also?

Enable the keychain sharing entitlement and it should work in the simulator.  https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/AddingCapabilities/AddingCapabilities.html

@behrooziAWS thank you that worked perfectly..


Switch to base32 implementation from rfc4648

This should address this issue over at dat-gateway. It's a breaking change, because RFC-4648 gives a different output than the other module apparently. To account for that I've already upped the version number.

Does the length of a dat key change with this change? Would you mind updating the README to mention the RFC?

The dat keys I tried are still 52 chars yes.
I updated the README, and I also tweaked the encode method a bit to return the base32 string lowercase instead of uppercase, because I reckoned that's cleaner for usage in URLs.

Awesome! Looks good to me :D

Published


Add Additional Patient Field to eICR -> FHIR Template

Description
The following fields may be included in eICR messages (some only in v3.0 others in both v1.1 and v3.0). If it turns out that this data is available in LAC's data it would allow us make our analysis of eICR data much richer and potentially increase our opportunities to demonstrate the value of eICR and by extension the value of our BBs by making this data accessible. The first step is ensuring that our template for eICR to FHIR conversion covers these fields so that if they are present in messages received by LAC we can extract them.
Additional eICR fields:

[x] Patient administrative sex - this is what we currently have as 'Gender'
[ ] Patient birth sex
[ ] Homelessness Status
[ ] Disability Status
[ ] Tribal Affiliation
[ ] Tribal Enrollment Status
[ ] Current Job Title
[ ] Present/Usual Industry
[ ] Present/Usual Occupation
[ ] Preferred Language
[ ] Pregnancy Status

Acceptance Criteria
GIVEN an eICR
WHEN the DIBBs EICR template is used to convert it to FHIR
THEN all of the fields listed above are included in the resulting FHIR in a manner that complies with the eICR FHIR spec from HL7, if they are present in the eICR.

Link to document to map all these items:
https://docs.google.com/spreadsheets/d/1puur_o_4Fz7gDFA2s8mRZDgFj4V4LhT_a9Cu3cIpE5k/edit#gid=0


Error with stack build intero on macOS

Error is like https://github.com/chrisdone/intero/issues/592 but I'm using macOS 10.14.4.
Funny thing is that stack build intero WILL build successfully within certain stack projects. Its just when I try to do this for purescript (master branch) (see https://github.com/purescript/purescript ) I get the following error.
stack build intero
intero> configure
intero> Configuring intero-0.1.39...
intero> build
intero> Preprocessing executable 'intero' for intero-0.1.39..
intero> Building executable 'intero' for intero-0.1.39..
intero> [ 1 of 10] Compiling Intero.Compat
intero> [ 2 of 10] Compiling GhciTypes
intero> [ 3 of 10] Compiling GhciMonad
intero> [ 4 of 10] Compiling GhciTags
intero> [ 5 of 10] Compiling GhciInfo
intero> [ 6 of 10] Compiling GhciFind
intero> [ 7 of 10] Compiling Completion
intero> [ 8 of 10] Compiling Paths_intero
intero> [ 9 of 10] Compiling InteractiveUI
intero>
intero> /private/var/folders/6p/1_r2fngs3vxf5832ff5kk5t40000gn/T/stack81257/intero-0.1.39/src/InteractiveUI.hs:116:1: error:
intero>     Could not find module ‘Network’
intero>     Use -v to see a list of the files searched for.
intero>     |
intero> 116 | import qualified Network
intero>     | ^^^^^^^^^^^^^^^^^^^^^^^^
intero>
intero> /private/var/folders/6p/1_r2fngs3vxf5832ff5kk5t40000gn/T/stack81257/intero-0.1.39/src/InteractiveUI.hs:117:1: error:
intero>     Could not find module ‘Network.BSD’
intero>     Use -v to see a list of the files searched for.
intero>     |
intero> 117 | import Network.BSD
intero>     | ^^^^^^^^^^^^^^^^^^
intero>

--  While building package intero-0.1.39 using:
      /Users/abc123/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_<IP_ADDRESS>_ghc-8.6.4 --builddir=.stack-work/dist/x86_64-osx/Cabal-<IP_ADDRESS> build --ghc-options " -fdiagnostics-color=always"
    Process exited with code: ExitFailure 1

Related #599