Issue #1734:Add a "System Requirements" section to the "Getting Start…

…ed" page
Pull Request Description
This pull request closes #
Acceptance Test

[X] Building the code with mvn clean install -Dintegration.tests still works.
[X] Running mvn spring-boot:run in the strongbox-web-core still starts up the application correctly.
[X] Building the code and running the strongbox-distribution from a zip or tar.gz still works.
[X] The tests in the strongbox-web-integration-tests still run properly.

Questions

Does this pull request break backward compatibility?

[ ] Yes
[X] No

Does this pull request require other pull requests to be merged first?

[ ] Yes, please see #...
[X] No

Does this require an update of the documentation?

[ ] Yes, please see strongbox/strongbox-docs#{PR_NUMBER}
[X] No

Hi,
I meant adding this to the wiki via the strongbox-docs project.

Closing this in favor of strongbox/strongbox-docs#81


Is this library support both landscape and portrait modes simultaneously?

Hi Team,
Thanks for the great library which you provided.
We need help regarding the streaming modes issue.
Can this possible to make a whole video stream in both landscape and portrait mode?
Example: Initially we started streaming in portrait mode and then after some time I switched to landscape mode and the streaming is not working for now when we move from portrait to landscape mode. again If I switch to portrait mode it's working.
"The video streaming should work both in portrait and landscape mode depending on a user's preference while they are in streaming they can able to change the device orientation and continue the streaming without any issues.r"
Please help us to fix this issue. Thanks in advance.
Thanks,
Kumar

Hello,
You have an example related with your case:
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/tree/master/app/src/main/java/com/pedro/rtpstreamer/rotation
Did you test it?
If you have problems with the example. Can you explain exactly how to reproduce your case?


Add REVISED_JULIAN_CALENDAR

Add REVISED_JULIAN_CALENDAR constant for Christian holidays of Eastern Orthodox countries that use this calendar (Bulgaria, Cyprus, Greece, Romania, from Sep 2023 - Ukraine).

I believe this was resolved by https://github.com/vacanza/python-holidays/pull/1380


must not use deprecated lib64 - either use libdir or libexec

hardcoding /usr/lib64 is not nice. On many systems nothing uses /usr/lib64 anymore.
Please either use $(LIBDIR) (for shared libraries) or /usr/libexec (for plugins).
For example on Debian/Ubuntu, the multiarch locations are used for libdir such as /usr/lib/s390x-linux-gnu
/usr/libexec is nowadays commonly used as the location for dynamically loaded plugins.
Let's change /usr/lib64/zkey/zkey-ekmfweb.so to somthing more standard and modern. /usr/libexec would be a much nicer location for it, which a lot of applications use for plugins.

Installing the plugin (zkey-ekmfweb.so) into /usr/libexec (actually /usr/libexec/zkey/ I guess) is fine with me.
Regarding installing shared libraries into $(LIBDIR): I guess you are talking about libekmfweb.so(.*) ?
What exactly do you mean by 'use $(LIBDIR)' ? LIBDIR is defined in common.mak as '$(INSTALLDIR)/lib'. The default INSTALLDIR is empty, so it would be installed to /lib. Unfortunately /lib is not in LD_LIBRARY_PATH, at least not on my system, so it won't find libekmfweb.so.

Installing the plugin (zkey-ekmfweb.so) into /usr/libexec (actually /usr/libexec/zkey/ I guess) is fine with me.

Ack, yeap.

Regarding installing shared libraries into $(LIBDIR): I guess you are talking about libekmfweb.so(.*) ?
What exactly do you mean by 'use $(LIBDIR)' ? LIBDIR is defined in common.mak as '$(INSTALLDIR)/lib'. The default INSTALLDIR is empty, so it would be installed to /lib. Unfortunately /lib is not in LD_LIBRARY_PATH, at least not on my system, so it won't find libekmfweb.so.

So, with meson/autoconf/make etc. buildsystems debian build system would pass /usr/lib/s390x-linux-gnu which is in the ld.so searchpath. And rpmmacros would pass $rmproot/usr/lib64 as appropriate.
What is not ok, to hardcode "/lib64" which cannot be influenced from the buildsystem. Since LIBDIR variable can be passed to make invocation.
I'll try to submit patches for both issues above.

I do have a patch for the first part. If you could come up with a patch for the second part (that still allows us to run zkey after a local make install) that would be great.
From cb80019d3a034bb5a6893d2f1876ecc57afbd77c Mon Sep 17 00:00:00 2001
From: Ingo Franzki<EMAIL_ADDRESS>Date: Mon, 16 Nov 2020 14:38:41 +0100
Subject: [PATCH] zkey/zkey-ekmfweb: Install KMS plugins into /usr/libexec/zkey

Install KMS plugins into /usr/libexec/zkey/ instead of /usr/lib64/zkey,
since plugins should rather go to /usr/libexec.

Closes: https://github.com/ibm-s390-tools/s390-tools/issues/98

Signed-off-by: Ingo Franzki<EMAIL_ADDRESS>---
 common.mak            | 3 ++-
 zkey/ekmfweb/Makefile | 6 +++---
 zkey/kms.c            | 2 +-
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/common.mak b/common.mak
index ae6208d2f..c8713cd4b 100644
--- a/common.mak
+++ b/common.mak
@@ -164,6 +164,7 @@ USRBINDIR       = $(INSTALLDIR)/usr/bin
 BINDIR          = $(INSTALLDIR)/sbin
 LIBDIR          = $(INSTALLDIR)/lib
 USRLIB64DIR     = $(INSTALLDIR)/usr/lib64
+USRLIBEXECDIR   = $(INSTALLDIR)/usr/libexec
 SYSCONFDIR      = $(INSTALLDIR)/etc
 MANDIR          = $(INSTALLDIR)/usr/share/man
 VARDIR          = $(INSTALLDIR)/var
@@ -179,7 +180,7 @@ INSTDIRS        = $(USRSBINDIR) $(USRBINDIR) $(BINDIR) $(LIBDIR) $(MANDIR) \
 			$(SYSCONFDIR) $(SYSCONFDIR)/sysconfig \
 			$(TOOLS_LIBDIR) $(TOOLS_DATADIR) \
 			$(ZFCPDUMP_DIR) $(SYSTEMDSYSTEMUNITDIR) \
-			$(USRLIB64DIR) $(USRINCLUDEDIR)
+			$(USRLIB64DIR) $(USRINCLUDEDIR) $(USRLIBEXECDIR)
 OWNER           = $(shell id -un)
 GROUP		= $(shell id -gn)
 export INSTALLDIR BINDIR LIBDIR USRLIB64DIR MANDIR OWNER GROUP
diff --git a/zkey/ekmfweb/Makefile b/zkey/ekmfweb/Makefile
index 1a3a49775..8e48d26af 100644
--- a/zkey/ekmfweb/Makefile
+++ b/zkey/ekmfweb/Makefile
@@ -44,9 +44,9 @@ libekmfweb.dep:
 install: all install-libekmfweb.dep zkey-ekmfweb.so
 	$(INSTALL) -d -m 755 $(DESTDIR)$(MANDIR)/man1
 	$(INSTALL) -m 644 -c zkey-ekmfweb.1 $(DESTDIR)$(MANDIR)/man1
-	$(INSTALL) -d -m 755 $(DESTDIR)$(USRLIB64DIR)
-	$(INSTALL) -d -m 755 $(DESTDIR)$(USRLIB64DIR)/zkey
-	$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 -T zkey-ekmfweb.so $(DESTDIR)$(USRLIB64DIR)/zkey/zkey-ekmfweb.so
+	$(INSTALL) -d -m 755 $(DESTDIR)$(USRLIBEXECDIR)
+	$(INSTALL) -d -m 755 $(DESTDIR)$(USRLIBEXECDIR)/zkey
+	$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 -T zkey-ekmfweb.so $(DESTDIR)$(USRLIBEXECDIR)/zkey/zkey-ekmfweb.so

 clean:
 	rm -f *.o zkey-ekmfweb.so install-libekmfweb.dep libekmfweb.dep
diff --git a/zkey/kms.c b/zkey/kms.c
index 85e3ff26e..a32d7bfe0 100644
--- a/zkey/kms.c
+++ b/zkey/kms.c
@@ -40,7 +40,7 @@

 #define ENVVAR_ZKEY_KMS_PLUGINS		"ZKEY_KMS_PLUGINS"
 #define DEFAULT_KMS_PLUGINS		"/etc/zkey/kms-plugins.conf"
-#define KMS_PLUGIN_LOCATION		"/usr/lib64/zkey"
+#define KMS_PLUGIN_LOCATION		"/usr/libexec/zkey"

 #define KMS_CONFIG_FILE			"kms.conf"
 #define KMS_CONFIG_PROP_KMS		"kms"
--

As @sharkcz mentioned here https://github.com/ibm-s390-tools/s390-tools/issues/93#issuecomment-728850417 /usr/libexec is not prefered by Fedora. I think this needs to be considered before moving on. Especially because Debian/Ubuntu seems to be the only distribution that abandoned /usr/lib64 so far. So, this change would actually be very distro (Ubuntu) specific.
However, I'm not against /usr/libexec here, I just want to make sure all distros are being considered and that we have a generic solution for this.

@markkp what is Suses view on this topic?

IMO the plugin path can be passed from the compiler command line with -DKMS_PLUGIN_LOCATION, you can set a default, but distros can easily override.

OK, how about this?
The default would still remain /usr/lib64/zkey/, but you can pass/override ZKEYKMSPLUGINDIR to make to choose whatever location you want.
From 76a419523f18e840fcab83753b9b8b5c3e7317ac Mon Sep 17 00:00:00 2001
From: Ingo Franzki<EMAIL_ADDRESS>Date: Mon, 16 Nov 2020 14:38:41 +0100
Subject: [PATCH] zkey/zkey-ekmfweb: Install KMS plugins into configurable
 location

Install KMS plugins into a configurable location. The default KMS plugin
location is '/usr/lib64/zkey/', but one can set ZKEYKMSPLUGINDIR on the make
invocation to change the plugin location, e.g. to '/usr/libexec/zkey/'.

Closes: https://github.com/ibm-s390-tools/s390-tools/issues/98

Signed-off-by: Ingo Franzki<EMAIL_ADDRESS>---
 common.mak            | 3 ++-
 zkey/Makefile         | 2 ++
 zkey/ekmfweb/Makefile | 5 ++---
 zkey/kms.c            | 2 ++
 4 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/common.mak b/common.mak
index ae6208d2f..debc2d016 100644
--- a/common.mak
+++ b/common.mak
@@ -174,12 +174,13 @@ ZFCPDUMP_DIR    = $(TOOLS_LIBDIR)/zfcpdump
 # for SYSTEMDSYSTEMUNITDIR (e.g. /lib/systemd/system)
 SYSTEMDSYSTEMUNITDIR =
 USRINCLUDEDIR   = $(INSTALLDIR)/usr/include
+ZKEYKMSPLUGINDIR = $(USRLIB64DIR)/zkey

 INSTDIRS        = $(USRSBINDIR) $(USRBINDIR) $(BINDIR) $(LIBDIR) $(MANDIR) \
 			$(SYSCONFDIR) $(SYSCONFDIR)/sysconfig \
 			$(TOOLS_LIBDIR) $(TOOLS_DATADIR) \
 			$(ZFCPDUMP_DIR) $(SYSTEMDSYSTEMUNITDIR) \
-			$(USRLIB64DIR) $(USRINCLUDEDIR)
+			$(USRLIB64DIR) $(USRINCLUDEDIR) $(ZKEYKMSPLUGINDIR)
 OWNER           = $(shell id -un)
 GROUP		= $(shell id -gn)
 export INSTALLDIR BINDIR LIBDIR USRLIB64DIR MANDIR OWNER GROUP
diff --git a/zkey/Makefile b/zkey/Makefile
index 7411fd3d4..b28754824 100644
--- a/zkey/Makefile
+++ b/zkey/Makefile
@@ -36,6 +36,8 @@ endif

 libs = $(rootdir)/libutil/libutil.a

+CFLAGS += -DKMS_PLUGIN_LOCATION=\"$(ZKEYKMSPLUGINDIR)\"
+
 detect-libcryptsetup.dep:
 	echo "#include <libcryptsetup.h>" > detect-libcryptsetup.dep
 	echo "#ifndef CRYPT_LUKS2" >> detect-libcryptsetup.dep
diff --git a/zkey/ekmfweb/Makefile b/zkey/ekmfweb/Makefile
index 1a3a49775..f63c6293f 100644
--- a/zkey/ekmfweb/Makefile
+++ b/zkey/ekmfweb/Makefile
@@ -44,9 +44,8 @@ libekmfweb.dep:
 install: all install-libekmfweb.dep zkey-ekmfweb.so
 	$(INSTALL) -d -m 755 $(DESTDIR)$(MANDIR)/man1
 	$(INSTALL) -m 644 -c zkey-ekmfweb.1 $(DESTDIR)$(MANDIR)/man1
-	$(INSTALL) -d -m 755 $(DESTDIR)$(USRLIB64DIR)
-	$(INSTALL) -d -m 755 $(DESTDIR)$(USRLIB64DIR)/zkey
-	$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 -T zkey-ekmfweb.so $(DESTDIR)$(USRLIB64DIR)/zkey/zkey-ekmfweb.so
+	$(INSTALL) -d -m 755 $(DESTDIR)$(ZKEYKMSPLUGINDIR)
+	$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 -T zkey-ekmfweb.so $(DESTDIR)$(ZKEYKMSPLUGINDIR)/zkey-ekmfweb.so

 clean:
 	rm -f *.o zkey-ekmfweb.so install-libekmfweb.dep libekmfweb.dep
diff --git a/zkey/kms.c b/zkey/kms.c
index 85e3ff26e..df026988b 100644
--- a/zkey/kms.c
+++ b/zkey/kms.c
@@ -40,7 +40,9 @@

 #define ENVVAR_ZKEY_KMS_PLUGINS		"ZKEY_KMS_PLUGINS"
 #define DEFAULT_KMS_PLUGINS		"/etc/zkey/kms-plugins.conf"
+#ifndef KMS_PLUGIN_LOCATION
 #define KMS_PLUGIN_LOCATION		"/usr/lib64/zkey"
+#endif

 #define KMS_CONFIG_FILE			"kms.conf"
 #define KMS_CONFIG_PROP_KMS		"kms"
--

works for me, I believe you could drop the whole #ifndef section from kms.c, -DKMS_PLUGIN_LOCATION is part of the compiler flags, so it should always work.

https://docs.fedoraproject.org/en-US/packaging-guidelines/#_libexecdir
Fedora uses libexec, and many upstream packages use it, and fedora packages them with libexec too....
E.g. fwupd that is install on all baremetal x86 installs
/usr/libexec/fwupd
/usr/libexec/fwupd/efi/fwupdx64.efi
/usr/libexec/fwupd/efi/fwupdx64.efi.signed
/usr/libexec/fwupd/fwupd
/usr/libexec/fwupd/fwupd-detect-cet
/usr/libexec/fwupd/fwupdoffline
there are lots of other examples too. My machine has 70+ packages that use /usr/libexec.
Unlike Fedora, Ubuntu/Debian supports arbitrary multiarch including installing and cross-building to ppc64le/arm64/x86_64 from s390x, hence /usr/lib64 is ambigious and worthless. All of that was upstreamed to gcc/python/etc. such that fedora could start using multiarch lib prefixes, but they don't for the time being. s390-tools zkey library is not a good enough argument to break all of that =)

BTW why is zkey-ekmfweb.so a public library? Is the ABI going to be maintined, with symbols versioned, public header compiled, and many userspace and 3rd party packages and apps expecting to use it?

zkey-ekmfweb.so is a plugin for zkey. I don't see that it will ever be used by anyone else than zkey.
And /usr/lib64/zkey/ (or /usr/libexec/zkey) is not in the ld path either.
Nevertheless, it uses versioned symbols, since the plugin interface may change (get enhanced) over time.

zkey-ekmfweb.so is a plugin for zkey. I don't see that it will ever be used by anyone else than zkey.
And /usr/lib64/zkey/ (or /usr/libexec/zkey) is not in the ld path either.
Nevertheless, it uses versioned symbols, since the plugin interface may change (get enhanced) over time.

right sure.
I was more about usr/lib64/libekmfweb.so.1.0 => which does have versioned symbols and looks very general purpose and useful, and making it private would be a shame. Thus getting shipped publicly is probably for the best.

Yes, libekmfweb.so1.0 is a public library by intention, and can be used by others, too.
How about the following change to allow to override the installation path for libekmfweb.so1.0?
From 3861b24e7c548c72d3ba9e93390dc374f65f6a08 Mon Sep 17 00:00:00 2001
From: Ingo Franzki<EMAIL_ADDRESS>Date: Wed, 18 Nov 2020 10:09:49 +0100
Subject: [PATCH] libekmfweb: Make install directory for shared library
 configurable

If LIBDIR is not passed to the make invocation, install shared libraries
to USRLIB64DIR (/usr/lib64/), even though LIBDIR defaults to /lib/. If
LIBDIR is overridden for the make invocation, install shared libraries to
whatever is specified as LIBDIR.

Signed-off-by: Ingo Franzki<EMAIL_ADDRESS>---
 common.mak          | 6 ++++++
 libekmfweb/Makefile | 6 +++---
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/common.mak b/common.mak
index debc2d016..ac0a73242 100644
--- a/common.mak
+++ b/common.mak
@@ -176,6 +176,12 @@ SYSTEMDSYSTEMUNITDIR =
 USRINCLUDEDIR   = $(INSTALLDIR)/usr/include
 ZKEYKMSPLUGINDIR = $(USRLIB64DIR)/zkey

+ifeq ($(LIBDIR),$(INSTALLDIR)/lib)
+SOINSTALLDIR = $(USRLIB64DIR)
+else
+SOINSTALLDIR = $(LIBDIR)
+endif
+
 INSTDIRS        = $(USRSBINDIR) $(USRBINDIR) $(BINDIR) $(LIBDIR) $(MANDIR) \
 			$(SYSCONFDIR) $(SYSCONFDIR)/sysconfig \
 			$(TOOLS_LIBDIR) $(TOOLS_DATADIR) \
diff --git a/libekmfweb/Makefile b/libekmfweb/Makefile
index 07d64e0f3..5d0b1b920 100644
--- a/libekmfweb/Makefile
+++ b/libekmfweb/Makefile
@@ -77,9 +77,9 @@ libekmfweb.so.$(VERSION): ekmfweb.o utilities.o cca.o
 	ln -srf libekmfweb.so.$(VERSION) libekmfweb.so

 install-libekmfweb.so.$(VERSION): libekmfweb.so.$(VERSION)
-	$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 -T libekmfweb.so.$(VERSION) $(DESTDIR)$(USRLIB64DIR)/libekmfweb.so.$(VERSION)
-	ln -srf $(DESTDIR)$(USRLIB64DIR)/libekmfweb.so.$(VERSION) $(DESTDIR)$(USRLIB64DIR)/libekmfweb.so.$(VERM)
-	ln -srf $(DESTDIR)$(USRLIB64DIR)/libekmfweb.so.$(VERSION) $(DESTDIR)$(USRLIB64DIR)/libekmfweb.so
+	$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 -T libekmfweb.so.$(VERSION) $(DESTDIR)$(SOINSTALLDIR)/libekmfweb.so.$(VERSION)
+	ln -srf $(DESTDIR)$(SOINSTALLDIR)/libekmfweb.so.$(VERSION) $(DESTDIR)$(SOINSTALLDIR)/libekmfweb.so.$(VERM)
+	ln -srf $(DESTDIR)$(SOINSTALLDIR)/libekmfweb.so.$(VERSION) $(DESTDIR)$(SOINSTALLDIR)/libekmfweb.so
 	$(INSTALL) -d -m 770 $(DESTDIR)$(USRINCLUDEDIR)/ekmfweb
 	$(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 $(rootdir)include/ekmfweb/ekmfweb.h $(DESTDIR)$(USRINCLUDEDIR)/ekmfweb

--

Yes, libekmfweb.so1.0 is a public library by intention, and can be used by others, too.
How about the following change to allow to override the installation path for libekmfweb.so1.0?

yeap, that looks good.

@markkp what is Suses view on this topic?

From what I can tell, neither SUSE nor openSUSE uses /usr/libexec at all. The directory doesn't even exist on my Leap 15.1 system.

@markkp what is Suses view on this topic?

From what I can tell, neither SUSE nor openSUSE uses /usr/libexec at all. The directory doesn't even exist on my Leap 15.1 system.

I see rpms that do use libexec in OBS for 15.2 Update for example.
I do agree that in the past libexec was not used at all, but all distros in question are using libexec in the development series across a wide array of packages. Even if they didn't use them in past. Lots of system utils, programmes, gnome components are using it.

if libexec is so controversion, should we not put the plugins into /usr/lib/s390-tools/zkey/ ?
given that s390-tools on all distros already ships many things in /usr/lib/s390-tools.


Helm chart is missing fields from registry operator

Which area/kind this issue is related to?

/area registry
Issue Description

The helm chart Chart.yaml is missing the following fields to sync with the registry operator CSV:

icon
description
keywords
sources - Should include all links to source repositories listed under links in the registry operator CSV

Parent Epic: #1446
Acceptance Criteria

[ ] Set icon under Chart.yaml to value set under registry operator CSV
[ ] Set description under Chart.yaml to value set under registry operator CSV
[ ] Set keywords under Chart.yaml to values set under registry operator CSV
[ ] Set sources under Chart.yaml to values set for links under registry operator CSV which are GitHub repositories (i.e. https://devfile.io is not included under sources)

Parent issue updated to https://github.com/devfile/api/issues/1446.


[backport] Raise better message when importing CPU array via DLPack

Backport of #6051 by @kmaehashi

/test mini

Jenkins CI test (for commit fc660e9c53d56dc6accbb921b759c1d8fc07d718, target branch v10) succeeded!


fix(client): fix Host header when using a Proxy

Closes #774

@shaleh do you mind testing that this works with your proxy?

This works for HTTP but fails for HTTPS. I get a response back from the proxy server telling me the request is invalid.
Response: 400 Bad Request
Headers:
Pragma: no-cache
Content-Length: 691
Cache-Control: no-cache
Content-Type: text/html; charset=utf-8
Proxy-Connection: close
Connection: close

To support https end points, I'll need to work in an initial CONNECT example.dom HTTP/1.1 dance before assuming the connection can be wrapped in SSL... Sigh, I was hoping this would just be a minor fix. Although, I think doing the CONNECT stuff may be doable outside of hyper...

This is the sequence that works via telnet/nc
`
CONNECT www.google.com:80 HTTP/1.0
User-Agent: simple/1.1
Host: www.google.com
GET / HTTP/1.0

`
Note the use of a port number instead of "http://". When I tried to use http://www.example.com I would get back an invalid request response.
Since you have the is_proxied boolean now, calling the CONNECT as a preamble should be easy enough. This is what other C based http libraries are doing. curl is here https://github.com/curl/curl/blob/master/lib/http_proxy.c

Exchanging the 80 for 443 should be enough to get SSL working.

Yea, the issue is that by the time the code in Http11Message is running to write the data, the connection has already been made. However, once CONNECT has been passed, then the ssl handshake should take place to access the site over HTTPS.
I'm now thinking of composing NetworkConnectors to get this.
struct Tunnel<C> {
    connector: C,
    proxy: (String, String, u16),
}

type HttpToHttpsProxy = HttpsConnector<Openssl, Tunnel<HttpConnector>>;

let http_to_https_proxy = HttpsConnector::new(
    Openssl::default(),
    Tunnel::new(
        HttpConnector, "http", "my-proxy", 8080
    )
);

Steps that would occur:

Client.get("https://www.google.com")
let tcp = tunnel.connector.connect(tunnel.proxy)
tcp.write_all("CONNECT www.google.com:443 HTTP/1.1\r\nHost: www.google.com:443\r\n\r\n")
Check for HTTP/1.1 20x response on tcp
https_connector.wrap_client(tcp, "www.google.com")
Carry on like normal.

Are you thinking for making a Client using something like Client.new_with_proxy(host, port)?

Or, HttpsConnector (and HttpConnector) could have a set_proxy() method that the Client could invoke when its own set_proxy is called.

It does seem that this is entirely implementable with the tools hyper provides, but I suppose this can be provided to ease usage of proxies for the easy cases. Those cases seem to be:

http to the proxy, and then https to the target
http to the proxy, http to the target
https to the proxy, and then http to the target
https to the proxy, http to the target

As before, any attempt to connect to the proxy or the target over https without the ssl feature would just result in an unknown scheme error.
Next, to set it up on the Client, it could look like this:
// if target-uri is https, tunnels over http to proxy, otherwise does absolute-uri as in current PR
// if ssl feature is disabled, requests to https would return `Err(unknown scheme)`
let client = Client::with_proxy("http", "my-proxy", 8080);

And thanks to a mistake in designing the Ssl trait, I cannot easily compose these connectors because I cannot make an SslStream<SslStream<HttpStream>> using the Ssl trait, since HttpStream is hard coded in.
Though just think of that sounds horrible. Double encryption yum.

Ah, seems that is a job for NPN...

NPN?

Next Protocol Negotiation, a recent addition to TLS. It allows converting a TLS connection into some other connection (it was originally created for SPDY/HTTP2 so clients can upgrade TLS to h2).
But that's a lot of work, and from my googling, the majority of people use HTTP proxies, not HTTPS, so I'm going to settle by only providing to HTTP out of the box (I want to get back to the async work).
Client::with_http_proxy("my-proxy", 8080)

It will always try the http scheme, being an http proxy.

But it still proxies for connections to HTTPS sites, right? Lots and lots of websites are HTTPS these days.

Yes, it will tunnel to the HTTP proxy, and negotiate TLS after the proxy has tunneled tcp.

Cool. Let me know when you need me to play QA again :-)

I'm not super pleased with the code, but it seems to work. Tests pass, and I edited the examples/client.rs to look for HTTP_PROXY env var, allowing me to to easily compare it's results with curl -x http://my-proxy:8080. My tests against real proxies seemed to work (or at least, if it worked with curl, it worked in hyper. Failures in hyper were also failures in curl, so... 🍌 ).

@shaleh does it work with your corporate proxy?
With this PR, you can do HTTP_PROXY=my-proxy:80 cargo run --example client -- https://www.google.com

I will check it tomorrow. I had planned today but was busy.

I get a failure:
thread '<main>' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Error { repr: Custom(Custom { kind: Other, error: StringError("failed to lookup address information: Name or service not known") }) })', ../src/libcore/result.rs:746

wget, curl, etc. all work. I have not had the time to debug this. Sorry.

@shaleh The value provided does not include the scheme, right? The code in the example doesn't do as much parsing as it could have the HTTP_PROXY env var.

Bingo. I have had problems with other software failing if the variable left off the http://.


Add [Paribu  Paribu.com] #memo-required GAOG7D…BKBRSC

Address: GAOG7DPEVNK7LPV6UER2GXQ7FRKZFRPGOZXLGZSSVGGHEHGBYHBKBRSC
Tags: memo-required
Title: **Paribu **  Domain: Paribu.com
Requested by @polat06

302766

@polat06 this issue is being combined with your first request. https://github.com/stellar-expert/public-directory/issues/502


Antimatter Engine Crates

This means that the station should be able to get power relatively easily.
Granted, magical generators mean that's not a concern right now, but still.
Also note that the AME seems to need at least 4 core tiles to be able to perform stable injection. I haven't adjusted this in case it's according to plan.
Price values are 1234 because I don't know what the conversion rate is.

Good PR, but please adjust the prices of the crates to something you think is sensible at least and put the descriptions on the cargo yaml as well.

I don't know what sensible prices are since I'm not sure of the unit scale relative to SS13 or what other guidelines to use. "1234" is thus an obvious placeholder.
Will fix descriptions immediately.

1.5k for engine parts 600 for jars 500 for controller :P

Ah, thanks. Done.


[ja] add kube-rs to operator.md's third-party content

en PR https://github.com/kubernetes/website/pull/33638/files
/assign @atoato88
/assign @nasa9084

/lgtm

tide is saying this PR is blocked by #36171 but I believe k/website has already been unfrozen
/approve


Roll Flutter Engine from b190f9015049 to f48bdba1c167 (17 revisions)

https://github.com/flutter/engine/compare/b190f9015049...f48bdba1c167
2023-08-23<EMAIL_ADDRESS>FontVariation.lerp, custom FontVariation constructors, and more documentation (flutter/engine#43750)
2023-08-23<EMAIL_ADDRESS>Make web tests start with an empty title (flutter/engine#43846)
2023-08-23<EMAIL_ADDRESS>Revert "Roll Dart SDK from ab417bc74bb1 to c162b4979562 (1 revision)" (flutter/engine#44989)
2023-08-23<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from G25oJMO5jbUi-UN4F... to DoQ8KUxSk-5EU6VQ1... (flutter/engine#44988)
2023-08-23<EMAIL_ADDRESS>Revert "Make FontWeight an enum, Remove unused text classes" (flutter/engine#44987)
2023-08-23<EMAIL_ADDRESS>Roll Dart SDK from ab417bc74bb1 to c162b4979562 (1 revision) (flutter/engine#44986)
2023-08-23<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from kKI09su99b0AKs8b3... to VSvpNFoFjqXIQTcs6... (flutter/engine#44984)
2023-08-23<EMAIL_ADDRESS>Enable clang-tidy for pre-push (opt-out), exclude performance-unnecessary-value-param (flutter/engine#44936)
2023-08-22<EMAIL_ADDRESS>Restore old SurfaceTextureExternal drawing code (flutter/engine#44979)
2023-08-22<EMAIL_ADDRESS>Roll Skia from d0918de21c1a to aa208c8a2d60 (2 revisions) (flutter/engine#44981)
2023-08-22<EMAIL_ADDRESS>Initialize the texture destruction callback in the Metal embedder test harness (flutter/engine#44973)
2023-08-22<EMAIL_ADDRESS>Further filter/clear <SkPaint>.setDither(true), this time in DlSkPaintDispatchHelper (flutter/engine#44912)
2023-08-22<EMAIL_ADDRESS>Roll Dart SDK from 3ebf0fedfceb to ab417bc74bb1 (1 revision) (flutter/engine#44977)
2023-08-22<EMAIL_ADDRESS>Roll Skia from bf6019be75ef to d0918de21c1a (3 revisions) (flutter/engine#44975)
2023-08-22<EMAIL_ADDRESS>Roll Skia from c675298ddeda to bf6019be75ef (3 revisions) (flutter/engine#44974)
2023-08-22<EMAIL_ADDRESS>Make FontWeight an enum, Remove unused text classes (flutter/engine#44960)
2023-08-22<EMAIL_ADDRESS>Roll Skia from 9f4b81aac175 to c675298ddeda (2 revisions) (flutter/engine#44971)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from kKI09su99b0A to VSvpNFoFjqXI
fuchsia/sdk/core/mac-amd64 from G25oJMO5jbUi to DoQ8KUxSk-5E
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jimgraham@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


cmd: crio: catch and ignore SIGPIPE

@mrunalp PTAL

/test all

/retest

@mrunalp I've updated this PR to also include your dump stack feature. PTAL
/test all

Is this rebased to master?

/test e2e_fedora

/lgtm


Make bevy_app's optional bevy_reflect dependency actually optional

Objective

Make bevy_app's optional bevy_reflect dependency actually optional
Because bevy_ecs has a default dependency on bevy_reflect, bevy_app includes bevy_reflect transitively even with default-features=false, despite the optional dependency indicating that it was intended to be able to leave out bevy_reflect.

Solution

Make bevy_app not enable bevy_ecs's default features, and then use the dep: syntax introduced in 1.60 to make the default bevy_reflect feature enable bevy_ecs's bevy_reflect feature/dependency.

Changelog

bevy_app no longer enables bevy_ecs's bevy_reflect feature when included without its own bevy_reflect feature (which is on by default).

bors r+


When will Android version?

When will the Android Geode version be released?

no estimate for now.


generate_srt_captions is not working

I'm using your pytubefix and testing the captions with this youtube video: https://www.youtube.com/watch?v=AbyJignbSj0&ab_channel=ParamountPictures
I'm doing this print(caption.generate_srt_captions())  and it's not printing anything. xml_captions works but not generate_srt_captions Any idea what I could be doing wrong please?
full code:

from pytubefix import YouTube
yt = YouTube("https://www.youtube.com/watch?v=AbyJignbSj0")
yt.bypass_age_gate()
caption = yt.captions['en-US']
print(caption.generate_srt_captions())

issue has been resolved, thank you very much

Version  with  the fix released ->  https://pypi.org/project/pytubefix/1.8.3/


styling doesn't work

same repo https://github.com/intergleam/test-ng2-completer, added some styling in app.component.css and it doesn't work

I would add that most mentionned CSS classes don't work. I only managed to remove basic input field borders.

I think the solution will be to set ViewEncapsulation to none - need to check that

Hi Herman, thanks for replyinng. I'll have a look at this.

Setting ViewEncapsulation to none will globally pollute your css though.

@rangelke you are right, on side is that it will be very easy to change ng2-completer styles the but on the other side it can cause unintended override of other styles.
That's the reason I haven't done that so far but it seems like a lot of people out there find it hard to override styles and this should make it simpler.

I'm having the same issue, can't use the available css classes for the component. My way out was to grab the element inside the component code and manually add styling.
Is there any update on this?

@renanpdp  using >>> doesn't work for you?

@renanpdp @intergleam @oferh
I didn't really knew how to use the percing selectors in order to change classes inside the ng2-completer from outside. However after a lot of banging my head against the wall, I discovered how it worked for me at least.
I have component, which uses the ng2-completer. In that component's scss I targeted the class used by the ng2-completer with

/deep/ .completer-dropdown {
    width: 32% !important;
    overflow-y: auto;
    overflow-x: hidden;
    height: 10rem;
}

This prevents the dropdown from displaying a massive dropdown when loading loads of data and shows a scrollbutton to scroll down inside the dropdown.
Note: .scss will complain about the /deep/, but ignored it.

@rangelke thanks, there's a sample in the demo and another one in this plunk

@oferh Can you elaborate on :host >>> .some-class {}
I tried this before finding my solution, but it didn't work and I'm not sure how shadow DOM and shadow piercing work.
What's the difference between my and your solution?

there's a good description on special css selectors in angular styling documentation

for others looking for a solution, have a look at https://www.primefaces.org/primeng

:host /deep/ .completer-input {
width: 100%;
height: 40px;
}
/deep/ .completer-dropdown {
width: 100% !important;
max-width: 515px;
overflow-y: auto;
overflow-x: hidden;
max-height: 100px;
}


Add support for Heizkries 2+

The doc shows the IDs for muliple Heizkris. I myself have 2. The first one works from the current version. Just need the second. Perhaps others have more (upto 5 is possible it seams)
BTW great work!

Thanks for the hint! It should be easily possible to do this by copying and modifying the corresponding lines in hpconst.py. Could you add the lines and test it, since I only have one?

Will do. Already made the edit yesterday on my hpconst.py but did not work will check this tomorrow when I find time. Likely have to reinstall again.
To confirm what needs to be edited:
Devices needs to be edited to add the new HZ
class DeviceConstants:
    SYS = "System"
    WP = "Wärmepumpe"
    WW = "Warmwasser"
    HZ1 = "Heizkreis 1"
    HZ2 = "Heizkreis 2"
    W2 = "2. Wärmeerzeuger"
    ST = "Statistik"

And MODBUS_SYS_ITEMS needs to be edited (HZ1) and HZ2 added with the new IDs.
MODBUS_SYS_ITEMS = [
...
    ModbusItem(31101,"Raumsolltemperatur",FORMATS.TEMPERATUR,TYPES.SENSOR,DEVICES.HZ1, TEMPRANGE_ROOM),
    ModbusItem(31102,"Raumtemperatur",FORMATS.TEMPERATUR,TYPES.SENSOR,DEVICES.HZ1, TEMPRANGE_ROOM),
    ModbusItem(31103,"Raumfeuchte",FORMATS.PERCENTAGE,TYPES.SENSOR,DEVICES.HZ1),
    ModbusItem(31104,"Vorlaufsolltemperatur",FORMATS.TEMPERATUR,TYPES.SENSOR,DEVICES.HZ1, TEMPRANGE_STD),
    ModbusItem(31105,"HZ_Vorlauftemperatur",FORMATS.TEMPERATUR,TYPES.SENSOR,DEVICES.HZ1, TEMPRANGE_STD),
    ModbusItem(41101,"HZ_Konfiguration",FORMATS.STATUS,TYPES.NUMBER_RO,DEVICES.HZ1, HZ_KONFIGURATION),
    ModbusItem(41102,"Anforderung Typ",FORMATS.STATUS,TYPES.NUMBER_RO,DEVICES.HZ1, HZ_ANFORDERUNG),
    ModbusItem(41103,"Betriebsart",FORMATS.STATUS,TYPES.SELECT,DEVICES.HZ1, HZ_BETRIEBSART),
    ModbusItem(41104,"Pause / Party",FORMATS.STATUS,TYPES.SELECT,DEVICES.HZ1, HZ_PARTY_PAUSE),
    ModbusItem(41105,"Raumsolltemperatur Komfort",FORMATS.TEMPERATUR,TYPES.NUMBER,DEVICES.HZ1,TEMPRANGE_ROOM),
    ModbusItem(41106,"Raumsolltemperatur Normal",FORMATS.TEMPERATUR,TYPES.NUMBER,DEVICES.HZ1,TEMPRANGE_ROOM),
    ModbusItem(41107,"Raumsolltemperatur Absenk",FORMATS.TEMPERATUR,TYPES.NUMBER,DEVICES.HZ1,TEMPRANGE_ROOM),
    ModbusItem(41108,"Heizkennlinie",FORMATS.KENNLINIE,TYPES.NUMBER,DEVICES.HZ1,RANGE_HZKENNLINIE),
    ModbusItem(41109,"Sommer Winter Umschaltung",FORMATS.TEMPERATUR,TYPES.NUMBER,DEVICES.HZ1,TEMPRANGE_ROOM),
    ModbusItem(41110,"Heizen Konstanttemperatur",FORMATS.TEMPERATUR,TYPES.NUMBER_RO,DEVICES.HZ1,TEMPRANGE_ROOM),
    ModbusItem(41111,"Heizen Konstanttemp Absenk",FORMATS.TEMPERATUR,TYPES.NUMBER_RO,DEVICES.HZ1,TEMPRANGE_ROOM),
    ModbusItem(41112,"Kühlen Konstanttemperatur",FORMATS.TEMPERATUR,TYPES.NUMBER_RO,DEVICES.HZ1,TEMPRANGE_ROOM),

    ModbusItem(31201,"Raumsolltemperatur",FORMATS.TEMPERATUR,TYPES.SENSOR,DEVICES.HZ2, TEMPRANGE_ROOM),
    ModbusItem(31202,"Raumtemperatur",FORMATS.TEMPERATUR,TYPES.SENSOR,DEVICES.HZ2, TEMPRANGE_ROOM),
    ModbusItem(31203,"Raumfeuchte",FORMATS.PERCENTAGE,TYPES.SENSOR,DEVICES.HZ2),
    ModbusItem(31204,"Vorlaufsolltemperatur",FORMATS.TEMPERATUR,TYPES.SENSOR,DEVICES.HZ2, TEMPRANGE_STD),
    ModbusItem(31205,"HZ_Vorlauftemperatur",FORMATS.TEMPERATUR,TYPES.SENSOR,DEVICES.HZ2, TEMPRANGE_STD),
    ModbusItem(41201,"HZ_Konfiguration",FORMATS.STATUS,TYPES.NUMBER_RO,DEVICES.HZ2, HZ_KONFIGURATION),
    ModbusItem(41202,"Anforderung Typ",FORMATS.STATUS,TYPES.NUMBER_RO,DEVICES.HZ2, HZ_ANFORDERUNG),
    ModbusItem(41203,"Betriebsart",FORMATS.STATUS,TYPES.SELECT,DEVICES.HZ2, HZ_BETRIEBSART),
    ModbusItem(41204,"Pause / Party",FORMATS.STATUS,TYPES.SELECT,DEVICES.HZ2, HZ_PARTY_PAUSE),
    ModbusItem(41205,"Raumsolltemperatur Komfort",FORMATS.TEMPERATUR,TYPES.NUMBER,DEVICES.HZ2,TEMPRANGE_ROOM),
    ModbusItem(41206,"Raumsolltemperatur Normal",FORMATS.TEMPERATUR,TYPES.NUMBER,DEVICES.HZ2,TEMPRANGE_ROOM),
    ModbusItem(41207,"Raumsolltemperatur Absenk",FORMATS.TEMPERATUR,TYPES.NUMBER,DEVICES.HZ2,TEMPRANGE_ROOM),
    ModbusItem(41208,"Heizkennlinie",FORMATS.KENNLINIE,TYPES.NUMBER,DEVICES.HZ2,RANGE_HZKENNLINIE),
    ModbusItem(41209,"Sommer Winter Umschaltung",FORMATS.TEMPERATUR,TYPES.NUMBER,DEVICES.HZ2,TEMPRANGE_ROOM),
    ModbusItem(41210,"Heizen Konstanttemperatur",FORMATS.TEMPERATUR,TYPES.NUMBER_RO,DEVICES.HZ2,TEMPRANGE_ROOM),
    ModbusItem(41211,"Heizen Konstanttemp Absenk",FORMATS.TEMPERATUR,TYPES.NUMBER_RO,DEVICES.HZ2,TEMPRANGE_ROOM),
    ModbusItem(41212,"Kühlen Konstanttemperatur",FORMATS.TEMPERATUR,TYPES.NUMBER_RO,DEVICES.HZ2,TEMPRANGE_ROOM),
...

Any other thing I missed?

I see the issue: The names of different entities are the same, so you‘ll also see errors in the log, I guess.
The Names of the entities should be different, also if they belong to different devices..

What about adding ALL possible ModbusItems.
Before creating the entitys check if they are responding, if not remove them from the list.
This would solve the problem of "Raumtemperatur, Raumfeuchte, HZ_Vorlauftemperatur....) witch most users wont have.

What about adding ALL possible ModbusItems. Before creating the entitys check if they are responding, if not remove them from the list.
This would solve the problem of "Raumtemperatur, Raumfeuchte, HZ_Vorlauftemperatur....) witch most users wont have.

Yes, when the async reading is stable we should do this. Maybe when building (BuildEntityList) the list try to read it and if not accessible discard it..

This looks weerd.
There can't be any Raumtemperatur2 or Raumfeuchte2.
Raumsolltemperatur2 should be either 21°C(Komfort) or 20°C(Normal) or 18°C(Absenk) as the sliders show.

WEM Portal only gives me 1 Heiskreis.

@eddiewardoo : Can you post a screenshot of your values?

Same here. The oonly difference I see is "HZ-Konfiguratio2" = aus. Maybe we have to check this?

Otherwise, this is what we get back from the device. A user should know how many "Heizkreise" he has, so it should be possible to simply ignore them..

Well i myself was not sure if i have one or two.
Whats the point in having more than one? A screenshot or History of an active HK2 would help.

Usually you have 2 or more, when you have different types of equipment in your house (radiators on one circuit, floor heater on the other) or if you have a house with some apartments. The plumber should have told you when doing the acceptance..

Done in next version. Due to time reasons this version will have the possibility to select the number of "Heizkreise" during installation. Automatic detection will perhaps integrated in a future version.

Sorry for the delay if still interested, here is the screen shot

@eddiewardoo :
Can you please check if HK 2 HZ_Konfiguration ever changes the value?

@MadOne does not change so far. Only become unavailable every once and a while.
Mischkreis

Same with HM 1 HZ_Konfiguration
Sollwert (Pumpe M1)

I think the „Konfiguration“ values are all parameters that you can set on the heatpump in expert mode. So they probably will not change by themselves.
Perhaps there‘s a timeout when they get unavailable..

Thats right. But i print them out for debugging. So i can change the configuration and get values in HA. I am currently working on the status items for them. So you can see what is configured for the input/output.

@OStrama @MadOne Can confirm. These can be changed when in Service or OEM mode on the controller.

So we could check if it is set to anything but out  and then add the Heizkreis entities.


Updating to use base image from master

Use the base image from master.
Signed-off-by: Mary Anthony<EMAIL_ADDRESS>

LGTM


withOnlyOneExpandedItem causes clicks on SubItems to collapse all sections

Hi,
I implemented expandable sections with items provided in the example application:
SimpleSubExpandableItem, SimpleSubItem
Adding withOnlyOneExpandedItem to the adapter, causes that any click, on a SimpleSubItem item, collapses the opened section.
Regards.

@marbat87 the withOnlyOneExpandedItem was properly designed for a single level. If you have deeper nesting you may want to do some logic on your side, as handling all those scenario in the lib would make it to huge. And I believe the FastAdapter itself should be as slim as possible.

I was talking about a single level implementation.
Step to reproduce:

Click on a SimpleSubExpandableItem >> the section is expanded
Click on  SimpleSubItem >> the previously expanded section is collapsed!

I think you can replicate  the issue, just adding withOnlyOneExpandedItem(true)  on your adapter in ExpandableSampleActivity.

@mikepenz When will you release a new version with this fix?
Regards

I have no ETA for it.
If you already need it jitpack might work, or building the library from source


How to Implement the Assigned Identity Generator？

The version I am using is Hypersistence-Utils-hibernate-63: 3.8.3
I want to implement the Assigned Identity Generator. I have browsed through your previous blog about its implementation, but the current version is no longer applicable. I am trying to implement the function, but I am not sure if it is correct. I hope to receive your reply. Thank you very much.
Here is the code for the previous blog implementation, blog address: https://vladmihalcea.com/how-to-combine-the-hibernate-assigned-generator-with-a-sequence-or-an-identity-column/
public class AssignedIdentityGenerator
    extends IdentityGenerator {

    @Override
    public Serializable generate(SessionImplementor session,
        Object obj) {
        if(obj instanceof Identifiable) {
            Identifiable identifiable = (Identifiable) obj;
            Serializable id = identifiable.getId();
            if(id != null) {
                return id;
            }
        }
        return super.generate(session, obj);
    }
}

Here is a partial code I have implemented:
public class AssignedIdentityGenerator extends Assigned {

    @Override
    public Object generate(SharedSessionContractImplementor s, Object obj) {
        if (obj instanceof SysBase t && t.getId() == null) {
            return IdentifierGeneratorHelper.getGeneratedIdentity(xxx);
        }

        return super.generate(s, obj);
    }
}

@hell0w0orld You can ask the question on the Hibernate forum. The Hibernate developers can better help you with this since they are more familiar with the changes that were done lately on the entity identifiers.


How to incorporate react-router?

Can someone suggest how one would go about adding react-router v4 to the mix so that react handles all the routes other than /api/*.

@xiaoyunyang Your project is quite big. Not sure where to look for the react-router incorporation. Can you point me in the right direction?

@borisyordanov I suggest you start with this starter project repo, which is a lot smaller and easier to follow.  There's an tutorial I wrote on this repo to walk through how to set up this project.
This starter project does not have create-react-app hookup. If you want to see how to incorporate it into the create-react-app project, what you want to do is to make sure your entrypoint for the client application is index.js and moved the shared folder into the create-react-app src folder. In my big project, this is where you want to start looking: /client/src/index.js.
Let me know if this helps!


Update VS Code development screenshots

At the moment they still show old "anesowa" references instead of "taconez".

Done. https://github.com/eulersson/taconez/wiki/4.-Development-Workflow


Rs/rasters jl

A bunch of perfromance fixes and code simplification
Often its faster to use a Raster than a RasterStack - e.g. for downsample a Raster is just one call to GDAL

Sorry PR to the wrong repo! will add this here later


Is there no English document?

No English documents?
it would be good.

As it is, the readme is written in English & Chinese : )
The QQ群 thing is a chat room in China, don't care about it XD


Need option to disable cmocka

Hello!
Mosen.build set the unit-test programs to build_by_default: false, but the test section made them must to be build.
Would you please add something, so that I could ignore them by command line?
I don't know how to modify the meson.build to do this. And there is no cmocka in my target-sdk (for cross-compile).

Hi @zeerd, I believe the issue you're reporting has been already fixed by https://github.com/Avnu/libavtp/pull/24. Make sure you're using that latest 'master' branch.
Feel free to reopen this issue if it still doesn't work for you.


Second round of refactoring

One other comment from my side: It might be required as we are dealing with way more than just sliders, but I'm not a fan of folder named src inside an app. I don't see a logic of separation here. Both are two ways of defining that this is "our/the core" content, but then, why on two levels? I would not like to have it on one level either, but then, I could even think of two packages importer and chart/panel/graph/viz as another, to have a clearer "navigation path".

Thanks for the suggestion, @MRigal! It's much better now, I think. Now it looks like this:
app
|__importer
|    |__config_importer.py
|    |__data_importer.py
|    |__mapping.py
|    |__parser.py
|__plot
|    |__layout.py
|    |__plotter.py
|__config
|    |__config_custom.yaml
|    |__config_default.yaml
|__main.py


Pin Carbon dependencies

This library is intended to be an all-in-one package - everything needed to develop a React application for IBM Watson IoT. As such, this library proxies a series of Carbon components and re-exports them.
Carbon dependencies are currently hard dependencies with caret ranges. In the event a consumer isn't using a lockfile or deletes/regenerates their lockfile, the version of Carbon used could change to be an entire minor version difference on install.

[x] Modify Carbon dependencies to be exact versions in package.json.

The version to pin will need to come from what's currently in the yarn.lock.

:tada: This issue has been resolved in version 2.10.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[QSLPrint] Added profile name. Fixed table columns when adding QSOs

Profile name added to columns.
Fixed a long outstanding bug when searching for additional QSOs and adding them to the table.
We had a column mismatch here.

Thanks a lot for adding the "Profile name" column! :-)

@m0urs no problem. Some things are quick to add. It also lead to a bugfix as well :)


Updated to layer 145

Can you please update layer to 145, because login not work for old layers.

Updated layer to 158, sorry for long delay.


Monaco editor

Added @bentley/monaco-editor to the project. The package allows for live code viewing via a button on the left side of the screen. As the user switches through the different samples, the code viewer will also update with the code related to that sample. The code editor is size adjustable, with the minimum width being 500px.
Note the changes to the SampleSpec interface: Each sample spec should also include the files to load in the code viewer, which will be loaded via a raw-loader. Files that are provided to the code viewer should include a name, without any slashes or indication of directory and an import statement that is relative to the sample spec's location.
Note that when each file is loaded into the code viewer, each of the relative imports in the code provided will be unnested.
Known Issues:

If the user switches between multiple samples quickly, the application crashes. This issue is related to validation occurring within the editor package.
On occasion, when switching the samples, an error message appears in the console related to not finding a file related to the sample. This issue is also related to code model handling within the editor package.

Related changes: This Pull request has several changes related to the sample spec for the existing samples. All sample specs have been moved from the index.tsx file in each sample, into their own sampleSpec.tsx file. 50 out of 59 file changes are related to moving the sample spec

@BaoTon @Josh-Schifter @Ellord207 Could you sign the CLA for this branch? Hoping to get this PR in before it gets too stale


Line graph problem in the Dashboard

The graph is taking into account times without episodes, which cause it to be noisy and hard to interpolate

This is how Grafana works - in most cases the X-axis is a time series. You are naturally free to configure Grafana however you like, it is only a sample dashboard provided.


[Bug]: 🐞 Fixes Leetcode Solutions Hyperlink not mapped to their respective solution (300-350) - 13 such problems

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug

Apparently some of the leetcode problem's solution links are not mapped to their solution.
Although the correct solutions for respective problems are uploaded by the contributors in the solution folder, but it is not linked to the corresponding problem.
The following problems have unmapped solutions (for leetcode 300-350) -
301, 307, 313, 314, 326, 327, 330, 334, 342, 345, 346, 349, 350

Expected behavior
I can map the solutions to corresponding Leetcode Problem for 300-350 Leetcode questions
Add ScreenShots

On which device are you experiencing this bug?
Android, iPhone, Linux, Chrome, Windows
Record

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

Kindly assign me this issue so that I can fix that asap.

Thank you for assigning me the issue. Starting right away.


System.Security.Authentication.AuthenticationException: Unable to obtain configuration

Hello,
I recognize that different flavors of this issue have been posted in the issues list for IdentityServer, but of course, I think this is distinct. ;-)
We have an API that is configured to work with IdentityServer 4 that is randomly throwing an exception when it is trying to access the configuration at //oursite/.well-known/openid-configuration. When I say "randomly," I mean that it occurs once every 12-24 hours. Once it happens, it gets "stuck" with that behavior until the app services are restarted (this is in Azure).
Here is the exception message:
Unable to obtain configuration from: 'https://oursite/.well-known/openid-configuration'. IDX10804: Unable to retrieve document from: 'https://oursite/.well-known/openid-configuration'. An error occurred while sending the request. The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. The remote certificate is invalid according to the validation procedure.
Steps that we have taken to date:

Update the TLS on the SSL certs to 1.2 (it was previously set at 1.0).
We realized that the IdentityServer service setup at startup was using the Temporary Signing Credential (.AddTemporarySigningCredential()). Here is where things get interesting. In our QA environment, we deployed a change to use a proper signing credential and since that time, we have not experienced the problem in that environment. That was 4 days ago.
Ran a load test on the QA environment with the fix in #2 to see if we could generate the issue. We could not.

RE: #2 above, it's worth noting that the environment is not set up for autoscaling and there is only 1 instance for the app service.
We would like to believe that no longer using the temporary signing credential is the fix, but we currently do not have the means of confirming this with a test, documentation, etc. Also, the fact that this is an intermittent issue confuses things as well.
Any thoughts?

Our signing cert has noting to do with the cert for TLS. So no, not really any thoughts. It sounds more like a bug in the consumer side (meaning Microsoft's code) if they choke on a TLS issue and can't re-request the discovery document (if that's really how it's failing).

Brock,
Thanks for the reply. It seems like there have been several occurrences of issues that smell like this one. But from what I have gathered, most/all of these are in the realm of "it's not working at all." Our issue is particularly perplexing given the erratic/unpredictable nature of it.
Hoping someone out there has experienced something similar or have any thoughts in this regard?

Can you hit the discovery document in your browser without TLS errors?

Yes.  I am able to access it through the browser with no TLS errors event when the error is manifesting in the back end.

So then I'm at a loss. Are there logs somewhere in your servers for the error?

@brockallen , right now most of our available logging for this issue is via Application Insights. I've seen other issues posted here (like this one: https://github.com/IdentityServer/IdentityServer4/issues/727) where users expressed that a similar issue is "fixed" when the temporary signing credential (.AddTemporarySigningCredential) is replaced with a fixed signing cert (.AddSigningCredential).  I am assuming in those cases, the requests were ALWAYS failing which is different from my case, where it is intermittent. However, has any connection been found between the .AddTemporarySigningCredential approach and the request for the configuration endpoint in IdentityServer?

That's odd, because as I said the signing credentials is unrelated to the TLS certificate.

Yes, I understand that. But there seems to be enough anecdotal evidence that smells like there is some relation for some reason-- given that several people have had the problem, made that change, and no longer had the problem...

Ok, well keep investigating please. If you discover anything, let us know.

Any update?

Nothing solid.
The only interesting thing is that our production environment was getting the same issue (albeit less frequently than our QA environment was), when we deployed the change to production (no longer using the temporary signing cert), we stopped getting the exceptions in that environment as well. It has been almost a week now. It is intellectually tough to draw the conclusion that the issue is now fixed since there is neither firm logic or a good test to prove this out. However, the passage of time and the anecdotal evidence seen in other issue posts lends some weight...

FYI-- the issue crept up again in both environments. Looks like the temporary signing cert change was not the fix. Interesting that it seemed to "fix" the issue for a relatively long period of time. However, still no good...

any update?

@leastprivilege -- unfortunately no. I found this issue: https://github.com/IdentityServer/IdentityServer4/issues/2195
It smells similar but I am unclear what the problem/solution was.

Hi,
I was getting the same error message:
"Unable to obtain configuration from: 'https://.../.well-known/openid-configuration"
In my case I was using Visual Studio and noticed that I could browse the URL from Postman or other browsers.
What happens is that Postman and browsers use the system proxy, but .NET does not.
So to fix the issue I have to provide the proxy, like so:
            public void Configure(string name, JwtBearerOptions options)
            {
                options.BackchannelHttpHandler = new HttpClientHandler() { Proxy = new WebProxy(_config["System:Proxy"]) };
                options.Authority = $"{_azureOptions.Instance}{_azureOptions.TenantId}";
                ...
            }

Robson,
Were you getting the error message intermittently or all the time? If intermittently, do you know the root cause for this?
Frank

Any update?

I was getting it all the time.

Any update on the issue? closing for now - feel free to re-open if it needs further discussion.

I have solved the problem. This problem is happening for proxy address which is not resolving with OIDC connection.
So, Instead of
options.Authority = "http://app.mycompany:5959/";
I am now using IP address.
options.Authority = "http://<IP_ADDRESS>:5959/";

@debchy that didn't help.
I have spent hours trying to solve this issue, no solution yet.


Pdip 1114 mfa polish

Added Password and MFA reset under profile dropdown.
FAQ added for "How do I reset my MFA".
Removed space between the BC and provider.
Replaced bullets in the reset process steps with numbers.
changed Multifactor to multi-factor.

@AdityaMantripragada I think update was asked only for the MFA page. If we have to update in the remaining places then we will create a new ticket and will address in another PR.

Could you kindly ensure ‘BCProvider’ is updated consistently across all instances, including the BC provider application page, breadcrumbs, and the card

Since its a small text change we can include in this PR

@AdityaMantripragada I think update was asked only for the MFA page. If we have to update in the remaining places then we will create a new ticket and will address in another PR.

Could you kindly ensure ‘BCProvider’ is updated consistently across all instances, including the BC provider application page, breadcrumbs, and the card

Will address in a PR today


fix: master

This originally failed without this, but then seems to be causing problems now. Experimenting, but something bigger may be broken here

Benchmark results
No metrics with a significant change found.

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit 26918de4 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,700
180,580
720,100

l1_rollup_calldata_gas
222,796
870,772
3,465,856

l1_rollup_execution_gas
315,987
989,220
3,686,234

l2_block_processing_time_in_ms
1,153 (+1%)
4,373
17,346 (+1%)

note_successful_decrypting_time_in_ms
313 (-1%)
991
3,783 (+3%)

note_trial_decrypting_time_in_ms
24.8 (-4%)
120 (-2%)
154 (+8%)

l2_block_building_time_in_ms
18,039
71,297
286,171

l2_block_rollup_simulation_time_in_ms
13,236
52,241
210,169

l2_block_public_tx_process_time_in_ms
4,780
18,978
75,741

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
13,812 (-3%)
26,458 (-5%)

note_history_successful_decrypting_time_in_ms
2,373 (-1%)
4,674

note_history_trial_decrypting_time_in_ms
109 (+23%)
186 (+18%)

node_database_size_in_bytes
17,330,256
33,034,320

pxe_database_size_in_bytes
29,923
59,478

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
307
44,528
25,825

private-kernel-ordering
192
44,145
16,193

base-rollup
1,423
130,286
933

root-rollup
82.4
4,192
729

private-kernel-inner
431
71,331
25,825

public-kernel-private-input
245
34,687
27,457

public-kernel-non-first-iteration
244
34,729
27,457

merge-rollup
7.83
2,712
933

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
16,827
40,279

Transaction processing duration by data writes.

Metric
0 new commitments
1 new commitments

tx_pxe_processing_time_ms
547
1,295

Metric
0 public data writes
1 public data writes

tx_sequencer_processing_time_ms
0.504 (+1%)
588


Angulartics + Heap Analytics?

Is there a plugin for heap analytics? and works with bower?

Per your first question, there's a very basic one at /src/angulartics-heap.js- see a usage example in the /samples folder: https://github.com/angulartics/angulartics/blob/master/samples/heap.html

@chrissom as for bower configuration, check out this comment in another issue: https://github.com/angulartics/angulartics/issues/451#issuecomment-280766248


Is there any interest in converting this library to using fetch?

Hi all! Love the library and have been using it a bunch for a personal project. I tried to use it with Cloudflare Workers and, weirdly, Superagent does not seem to work in that runtime. One thing lead to another and I started converting it to using Node's built in fetch (tho should be polyfillable in Node versions < 18). Is there any interest in this library becoming dependency free?
The one breaking change in doing this that I would recommend is that this library exposes the underlying response headers as an object and I think it should return Node's builtin in Headers object as objects are case sensitive and headers, by definition, are not.
This could squash #490

If I have some free time soon I was thinking about doing this as a seperate project

Hey
https://github.com/Benny-Nottonson/node-spotify-api

Hi, @eligundry! I started working on my own wrapper for the API. Although, I have to say, it's not based on this repo, as I haven't really looked into the source code, after looking for a lib to use for my project, and noticing the last update being 2 years ago, I decided to start working on my own.
It would align with what you're looking for, it's going to be dependency-free, and uses fetch (see: server.js)

I love that people are invested in this! I have opened up PR #492 that accomplishes the goal of replacing superagent while keeping API compatibility with the existing library (and it's well maintained test suite). It's in @thelinmichael's court now to decide what they want to do with this library.
In the meantime, I think I might take my fork, renamespace it to spotify-web-api-fetch and start updating it to meet my code standards (proper Typescript support, vitest, etc.)

I love that people are invested in this! I have opened up PR #492 that accomplishes the goal of replacing superagent while keeping API compatibility with the existing library (and it's well maintained test suite). It's in @thelinmichael's court now to decide what they want to do with this library.
In the meantime, I think I might take my fork, renamespace it to spotify-web-api-fetch and start updating it to meet my code standards (proper Typescript support, vitest, etc.)

Any update on this? There are a couple more things this library would benefit from. Like for example I can't find how to use etags

@EduardsE so, I got through updating it and using it AND THEN Spotify released an official Typescript SDK without any dependencies. Sadly, all the arguments to the methods are positional instead of easy to use objects, but I would encourage you to check it out. It has middleware and the ability to provide custom fetch methods.
https://github.com/spotify/spotify-web-api-ts-sdk

@eligundry thanks for the quick reply, I'll check it out.

If you are looking to write an app with a newly written and updated SDK, take a look - https://github.com/Abdullah-Malik/spotified.
The SDK that I wrote does not have any dependencies and uses fetch to make API calls. That SDK works for both browser and Node.js environments


Adding support for CMake

I'm just exploring the possibility of adding support for CMake (while keeping support for Jam),
in order to export the library for use in other CMake projects (something similar to this project or maybe more like this one):

as a standalone external dependency or
as a git submodule

At the moment I have a preliminary basic CMake file, but I could expand it and include running of unit tests as well.
Would a PR like that be considered?

If you are still interested, PR #18 adds installation of CMake config file, which allows using the project via find_package (see here for an example).

Hey, sorry for the long delay in replying. Although I don't actively use this project anymore, I'll have a look at this PR soonish.

The cmake exports are non-relocatable.

Indeed. I believe, I have the fix in the works, but first I need to come up with a good way to test for exports being relocatable.


envoy: Keep original destination hosts alive as long as needed

Keep the representation of the desination host stable within Envoy as long as any connection pools have open connections to the host by setting the runtime feature
envoy.reloadable_features.original_dst_rely_on_idle_timeout. This helps avoid rate '503' errors due to Envoy creating a new connection to the destination while already having an open connection the same destination for a given pod source address and port.
Related-to: https://github.com/envoyproxy/envoy/pull/22371

/test

This Envoy runtime feature is true by default, so this PR is not needed :-)


On changing page without refresh animation not loading

So having an issue at moment and was wondering if there is a solution for it.
Basically when I open a page it works perfect scrolls down and loads when should but then if I go to another page by route and scroll the first parts dont work and then works at bottom but only if my page is longer then the previous page. It requires me to refresh to get it to work correctly so seems to be a route issue but tried a few things and nothing helps.

I have a similar issue. It works perfectly fine on the initial render but after my animating component rerenders, it does not work. It's not even a routing issue. It seems like it can not keep up with the scroll position state after React renders the animating component.

I have a similar issue. It works perfectly fine on the initial render but after my animating component rerenders, it does not work. It's not even a routing issue. It seems like it can not keep up with the scroll position state after React renders the animating component.

I am facing the same issue with this. It does not work when the page is re-renders.


Network, Battery, and Search Issue

Issue
These menus won't work at all if Cario Shell is set as default shell. I've included screenshots bellow.
Set-Up
OS: Windows 10 Home
Cairo Version: v0.3.7028
Cairo Shell Set As Default: No
Screenshots

The network/battery issue is related to #365, but search should definitely work. What issue do you see with search?

Closing due to lack of response as duplicate of #365


Cereal external library causes compile failure with MSVC

Platform Toolset: Visual Studio 2019 (v142)
Win SDK Version: 10.0.18362.0
Build Config: Debug
Architecture: x64

The error:
FlingEngine\external\cereal\include\cereal/external/rapidjson/prettywriter.h(145,1): error C2061:  syntax error: identifier 'level_stack_'

This was because of a new keyword redefine


Added Alma Media

https://github.com/scope3data/methodology/issues/69

Don't mind me, just poking through a few PRs and getting the tooling setup locally.


High Battery Usage (some Samsung Devices)

Hi.
Are there known problems with some Samsung devices (e.g. Samsung S10e, A40, Note9, S9)?
We found that the battery consumption is quite high.
Android 11
SDK: 30
pushy_flutter: ^2.0.5
Logcat of our App:
2022-05-17 13:13:54.891 4284-4414/? D/ActivityManager: Received BROADCAST intent 0x3fa0758 Key{broadcastIntent pkg=com.*.* intent=cmp=com.*.*/me.pushy.sdk.receivers.PushyUpdateReceiver flags=0x4000000 u=0} requestCode=0 sent=0 from uid 1000 2022-05-17 13:13:54.995 4284-6980/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T131410 now=51252158 - CU:10259/CP:29505/OP:PendingIntent{5fab56e: PendingIntentRecord{1af40f com.*.* broadcastIntent}} 2022-05-17 13:14:10.032 4284-6260/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T131426 now=51267195 - CU:10259/CP:29505/OP:PendingIntent{78c11b8: PendingIntentRecord{59cb91 com.*.* broadcastIntent}} 2022-05-17 13:14:25.094 4284-6260/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T131441 now=51282257 - CU:10259/CP:29505/OP:PendingIntent{3a6fdda: PendingIntentRecord{eb20b com.*.* broadcastIntent}} 2022-05-17 13:14:40.160 4284-6260/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T131456 now=51297323 - CU:10259/CP:29505/OP:PendingIntent{843f8ad: PendingIntentRecord{d83c7e2 com.*.* broadcastIntent}} 2022-05-17 13:14:56.153 4284-4414/? V/SamsungAlarmManager: Sending to uid : 10259 action=null alarm=Alarm{16ac7cf type 0 when<PHONE_NUMBER>152 com.*.*} 2022-05-17 13:14:56.154 4284-4414/? D/ActivityManager: Received BROADCAST intent 0xd83c7e2 Key{broadcastIntent pkg=com.*.* intent=cmp=com.*.*/me.pushy.sdk.receivers.PushyUpdateReceiver flags=0x4000000 u=0} requestCode=0 sent=0 from uid 1000 2022-05-17 13:14:56.234 4284-6224/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T131512 now=51313397 - CU:10259/CP:29505/OP:PendingIntent{252713a: PendingIntentRecord{87611eb com.*.* broadcastIntent}} 2022-05-17 13:15:11.282 4284-6818/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T131527 now=51328445 - CU:10259/CP:29505/OP:PendingIntent{12bf05f: PendingIntentRecord{b6c7aac com.*.* broadcastIntent}} 2022-05-17 13:15:26.358 4284-4301/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T131542 now=51343521 - CU:10259/CP:29505/OP:PendingIntent{861821a: PendingIntentRecord{144814b com.*.* broadcastIntent}} 2022-05-17 13:15:41.406 4284-6318/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T131557 now=51358569 - CU:10259/CP:29505/OP:PendingIntent{833eeb3: PendingIntentRecord{2495c70 com.*.* broadcastIntent}} 2022-05-17 13:15:57.401 4284-4414/? V/SamsungAlarmManager: Sending to uid : 10259 action=null alarm=Alarm{644812b type 0 when<PHONE_NUMBER>401 com.*.*} 2022-05-17 13:15:57.403 4284-4414/? D/ActivityManager: Received BROADCAST intent 0x2495c70 Key{broadcastIntent pkg=com.*.* intent=cmp=com.*.*/me.pushy.sdk.receivers.PushyUpdateReceiver flags=0x4000000 u=0} requestCode=0 sent=0 from uid 1000 2022-05-17 13:15:57.498 4284-6980/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T131613 now=51374661 - CU:10259/CP:29505/OP:PendingIntent{64e0f46: PendingIntentRecord{e080507 com.*.* broadcastIntent}} 2022-05-17 13:16:12.558 4284-4817/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T131628 now=51389721 - CU:10259/CP:29505/OP:PendingIntent{d16adce: PendingIntentRecord{6f0f4ef com.*.* broadcastIntent}} 2022-05-17 13:16:27.613 4284-6318/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T131643 now=51404776 - CU:10259/CP:29505/OP:PendingIntent{f557683: PendingIntentRecord{dd19000 com.*.* broadcastIntent}} 2022-05-17 13:16:42.658 4284-6980/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T131658 now=51419821 - CU:10259/CP:29505/OP:PendingIntent{268f930: PendingIntentRecord{dbee9a9 com.*.* broadcastIntent}} 2022-05-17 13:16:58.650 4284-4414/? V/SamsungAlarmManager: Sending to uid : 10259 action=null alarm=Alarm{a7354bc type 0 when<PHONE_NUMBER>649 com.*.*} 2022-05-17 13:16:58.651 4284-4414/? D/ActivityManager: Received BROADCAST intent 0xdbee9a9 Key{broadcastIntent pkg=com.*.* intent=cmp=com.*.*/me.pushy.sdk.receivers.PushyUpdateReceiver flags=0x4000000 u=0} requestCode=0 sent=0 from uid 1000 2022-05-17 13:16:58.765 4284-4817/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T131714 now=51435928 - CU:10259/CP:29505/OP:PendingIntent{c9520cb: PendingIntentRecord{37f00a8 com.*.* broadcastIntent}} 2022-05-17 13:17:13.831 4284-4817/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T131729 now=51450994 - CU:10259/CP:29505/OP:PendingIntent{96a1d7c: PendingIntentRecord{1128605 com.*.* broadcastIntent}} 2022-05-17 13:17:28.870 4284-4817/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T131744 now=51466033 - CU:10259/CP:29505/OP:PendingIntent{2585bb9: PendingIntentRecord{5a79bfe com.*.* broadcastIntent}} 2022-05-17 13:17:43.918 4284-6318/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T131759 now=51481081 - CU:10259/CP:29505/OP:PendingIntent{d3a09dc: PendingIntentRecord{cdf6ae5 com.*.* broadcastIntent}} 2022-05-17 13:17:59.910 4284-4414/? V/SamsungAlarmManager: Sending to uid : 10259 action=null alarm=Alarm{5fc7786 type 0 when<PHONE_NUMBER>909 com.*.*} 2022-05-17 13:17:59.912 4284-4414/? D/ActivityManager: Received BROADCAST intent 0xcdf6ae5 Key{broadcastIntent pkg=com.*.* intent=cmp=com.*.*/me.pushy.sdk.receivers.PushyUpdateReceiver flags=0x4000000 u=0} requestCode=0 sent=0 from uid 1000 2022-05-17 13:18:00.020 4284-4817/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T131816 now=51497183 - CU:10259/CP:29505/OP:PendingIntent{c988612: PendingIntentRecord{9b6c1e3 com.*.* broadcastIntent}} 2022-05-17 13:18:15.070 4284-4817/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T131831 now=51512233 - CU:10259/CP:29505/OP:PendingIntent{1403fc5: PendingIntentRecord{3275d1a com.*.* broadcastIntent}} 2022-05-17 13:18:30.116 4284-4817/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T131846 now=51527279 - CU:10259/CP:29505/OP:PendingIntent{dd9d717: PendingIntentRecord{813c704 com.*.* broadcastIntent}} 2022-05-17 13:18:45.364 4284-4817/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T131901 now=51542527 - CU:10259/CP:29505/OP:PendingIntent{381a46: PendingIntentRecord{808b407 com.*.* broadcastIntent}} 2022-05-17 13:19:00.402 4284-4817/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T131916 now=51557565 - CU:10259/CP:29505/OP:PendingIntent{6ed9583: PendingIntentRecord{d08c300 com.*.* broadcastIntent}} 2022-05-17 13:19:15.494 4284-4810/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T131931 now=51572657 - CU:10259/CP:29505/OP:PendingIntent{533bde2: PendingIntentRecord{9aee573 com.*.* broadcastIntent}} 2022-05-17 13:19:31.485 4284-4414/? V/SamsungAlarmManager: Sending to uid : 10259 action=null alarm=Alarm{981938c type 0 when<PHONE_NUMBER>485 com.*.*} 2022-05-17 13:19:31.486 4284-4414/? D/ActivityManager: Received BROADCAST intent 0x9aee573 Key{broadcastIntent pkg=com.*.* intent=cmp=com.*.*/me.pushy.sdk.receivers.PushyUpdateReceiver flags=0x4000000 u=0} requestCode=0 sent=0 from uid 1000 2022-05-17 13:19:31.578 4284-6318/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T131947 now=51588741 - CU:10259/CP:29505/OP:PendingIntent{35849db: PendingIntentRecord{d7a5c78 com.*.* broadcastIntent}} 2022-05-17 13:19:46.678 4284-6318/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132002 now=51603841 - CU:10259/CP:29505/OP:PendingIntent{5f70e4a: PendingIntentRecord{7c7d1bb com.*.* broadcastIntent}} 2022-05-17 13:20:01.750 4284-4810/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132017 now=51618913 - CU:10259/CP:29505/OP:PendingIntent{7738b87: PendingIntentRecord{21fbab4 com.*.* broadcastIntent}} 2022-05-17 13:20:16.798 4284-4810/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132032 now=51633961 - CU:10259/CP:29505/OP:PendingIntent{9078676: PendingIntentRecord{8706477 com.*.* broadcastIntent}} 2022-05-17 13:20:31.856 4284-4817/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132047 now=51649019 - CU:10259/CP:29505/OP:PendingIntent{6e701b2: PendingIntentRecord{48c2503 com.*.* broadcastIntent}} 2022-05-17 13:20:47.850 4284-4414/? V/SamsungAlarmManager: Sending to uid : 10259 action=null alarm=Alarm{6972175 type 0 when<PHONE_NUMBER>849 com.*.*} 2022-05-17 13:20:47.852 4284-4414/? D/ActivityManager: Received BROADCAST intent 0x48c2503 Key{broadcastIntent pkg=com.*.* intent=cmp=com.*.*/me.pushy.sdk.receivers.PushyUpdateReceiver flags=0x4000000 u=0} requestCode=0 sent=0 from uid 1000 2022-05-17 13:20:47.978 4284-4817/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132103 now=51665141 - CU:10259/CP:29505/OP:PendingIntent{7096a57: PendingIntentRecord{3b2f944 com.*.* broadcastIntent}} 2022-05-17 13:20:48.046 4284-4817/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132104 now=51665209 - CU:10259/CP:29505/OP:PendingIntent{73f3b62: PendingIntentRecord{9d054f3 com.*.* broadcastIntent}} 2022-05-17 13:21:03.107 4284-6318/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132119 now=51680270 - CU:10259/CP:29505/OP:PendingIntent{1de5c5e: PendingIntentRecord{a86283f com.*.* broadcastIntent}} 2022-05-17 13:21:18.160 4284-4810/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132134 now=51695323 - CU:10259/CP:29505/OP:PendingIntent{d4812c2: PendingIntentRecord{17348d3 com.*.* broadcastIntent}} 2022-05-17 13:21:33.223 4284-6318/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132149 now=51710386 - CU:10259/CP:29505/OP:PendingIntent{deb0940: PendingIntentRecord{164a079 com.*.* broadcastIntent}} 2022-05-17 13:21:48.282 4284-4810/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132204 now=51725445 - CU:10259/CP:29505/OP:PendingIntent{d258a04: PendingIntentRecord{c212bed com.*.* broadcastIntent}} 2022-05-17 13:22:03.357 4284-4817/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132219 now=51740520 - CU:10259/CP:29505/OP:PendingIntent{a9f92ef: PendingIntentRecord{89091fc com.*.* broadcastIntent}} 2022-05-17 13:22:18.421 4284-6318/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132234 now=51755584 - CU:10259/CP:29505/OP:PendingIntent{b61b483: PendingIntentRecord{debf600 com.*.* broadcastIntent}} 2022-05-17 13:22:33.489 4284-4817/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132249 now=51770652 - CU:10259/CP:29505/OP:PendingIntent{c87bc1d: PendingIntentRecord{c8a1e92 com.*.* broadcastIntent}} 2022-05-17 13:22:48.550 4284-6318/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132304 now=51785713 - CU:10259/CP:29505/OP:PendingIntent{4b43651: PendingIntentRecord{cedfeb6 com.*.* broadcastIntent}} 2022-05-17 13:23:03.608 4284-6318/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132319 now=51800771 - CU:10259/CP:29505/OP:PendingIntent{9a11c43: PendingIntentRecord{f07a2c0 com.*.* broadcastIntent}} 2022-05-17 13:23:18.671 4284-6980/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132334 now=51815834 - CU:10259/CP:29505/OP:PendingIntent{2b19c33: PendingIntentRecord{5a93bf0 com.*.* broadcastIntent}} 2022-05-17 13:23:33.735 4284-6318/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132349 now=51830898 - CU:10259/CP:29505/OP:PendingIntent{999f823: PendingIntentRecord{e3b8120 com.*.* broadcastIntent}} 2022-05-17 13:23:48.930 4284-6318/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132404 now=51846093 - CU:10259/CP:29505/OP:PendingIntent{afa684d: PendingIntentRecord{f40f02 com.*.* broadcastIntent}} 2022-05-17 13:24:03.962 4284-6980/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132419 now=51861125 - CU:10259/CP:29505/OP:PendingIntent{6e5c9b9: PendingIntentRecord{16371fe com.*.* broadcastIntent}} 2022-05-17 13:24:19.004 4284-4810/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132434 now=51876167 - CU:10259/CP:29505/OP:PendingIntent{18346e6: PendingIntentRecord{637427 com.*.* broadcastIntent}} 2022-05-17 13:24:34.058 4284-4810/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132450 now=51891221 - CU:10259/CP:29505/OP:PendingIntent{d9732ed: PendingIntentRecord{b331522 com.*.* broadcastIntent}} 2022-05-17 13:24:50.051 4284-4414/? V/SamsungAlarmManager: Sending to uid : 10259 action=null alarm=Alarm{63be2b type 0 when<PHONE_NUMBER>050 com.*.*} 2022-05-17 13:24:50.053 4284-4414/? D/ActivityManager: Received BROADCAST intent 0xb331522 Key{broadcastIntent pkg=com.*.* intent=cmp=com.*.*/me.pushy.sdk.receivers.PushyUpdateReceiver flags=0x4000000 u=0} requestCode=0 sent=0 from uid 1000 2022-05-17 13:24:50.141 4284-6318/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132506 now=51907304 - CU:10259/CP:29505/OP:PendingIntent{8303046: PendingIntentRecord{75e1207 com.*.* broadcastIntent}} 2022-05-17 13:25:05.239 4284-6318/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132521 now=51922402 - CU:10259/CP:29505/OP:PendingIntent{e3d1fe7: PendingIntentRecord{3692794 com.*.* broadcastIntent}} 2022-05-17 13:25:20.283 4284-4810/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132536 now=51937446 - CU:10259/CP:29505/OP:PendingIntent{c602ffb: PendingIntentRecord{ab51818 com.*.* broadcastIntent}} 2022-05-17 13:25:35.343 4284-6105/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132551 now=51952506 - CU:10259/CP:29505/OP:PendingIntent{7a2e15c: PendingIntentRecord{a2c2c65 com.*.* broadcastIntent}} 2022-05-17 13:25:51.336 4284-4414/? V/SamsungAlarmManager: Sending to uid : 10259 action=null alarm=Alarm{bd7fff4 type 0 when<PHONE_NUMBER>335 com.*.*} 2022-05-17 13:25:51.337 4284-4414/? D/ActivityManager: Received BROADCAST intent 0xa2c2c65 Key{broadcastIntent pkg=com.*.* intent=cmp=com.*.*/me.pushy.sdk.receivers.PushyUpdateReceiver flags=0x4000000 u=0} requestCode=0 sent=0 from uid 1000 2022-05-17 13:25:51.432 4284-6318/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132607 now=51968595 - CU:10259/CP:29505/OP:PendingIntent{d74f63: PendingIntentRecord{f6f2760 com.*.* broadcastIntent}} 2022-05-17 13:25:57.319 4284-4329/? I/PowerManagerService: [PWL]       PARTIAL_WAKE_LOCK              'pushy:MqttConnectionWakeLock' ACQ=-5s962ms (uid=10259 pid=29505 pkg=com.*.*) 2022-05-17 13:26:07.436 4284-4414/? V/SamsungAlarmManager: Sending to uid : 10259 action=null alarm=Alarm{9799886 type 0 when<PHONE_NUMBER>430 com.*.*} 2022-05-17 13:26:07.439 4284-4414/? D/ActivityManager: Received BROADCAST intent 0xf6f2760 Key{broadcastIntent pkg=com.*.* intent=cmp=com.*.*/me.pushy.sdk.receivers.PushyUpdateReceiver flags=0x4000000 u=0} requestCode=0 sent=0 from uid 1000 2022-05-17 13:26:07.569 4284-4695/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132623 now=51984732 - CU:10259/CP:29505/OP:PendingIntent{f6d669d: PendingIntentRecord{146b712 com.*.* broadcastIntent}} 2022-05-17 13:26:12.322 4284-4329/? I/PowerManagerService: [PWL]       PARTIAL_WAKE_LOCK              'pushy:MqttConnectionWakeLock' ACQ=-4s859ms (uid=10259 pid=29505 pkg=com.*.*) 2022-05-17 13:26:22.639 4284-6224/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132638 now=51999802 - CU:10259/CP:29505/OP:PendingIntent{340ee1a: PendingIntentRecord{d4d7d4b com.*.* broadcastIntent}} 2022-05-17 13:26:37.691 4284-4810/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132653 now=52014854 - CU:10259/CP:29505/OP:PendingIntent{5285615: PendingIntentRecord{5a53d2a com.*.* broadcastIntent}} 2022-05-17 13:26:52.737 4284-4817/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132708 now=52029900 - CU:10259/CP:29505/OP:PendingIntent{c8bee85: PendingIntentRecord{a1f44da com.*.* broadcastIntent}} 2022-05-17 13:27:07.811 4284-4817/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132723 now=52044973 - CU:10259/CP:29505/OP:PendingIntent{ec3ab18: PendingIntentRecord{4015971 com.*.* broadcastIntent}} 2022-05-17 13:27:22.864 4284-4817/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132738 now=52060027 - CU:10259/CP:29505/OP:PendingIntent{2fd045c: PendingIntentRecord{8371365 com.*.* broadcastIntent}} 2022-05-17 13:27:37.916 4284-6105/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132753 now=52075079 - CU:10259/CP:29505/OP:PendingIntent{205e4af: PendingIntentRecord{689e0bc com.*.* broadcastIntent}} 2022-05-17 13:27:52.971 4284-6105/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132808 now=52090134 - CU:10259/CP:29505/OP:PendingIntent{e8b5a43: PendingIntentRecord{9a808c0 com.*.* broadcastIntent}} 2022-05-17 13:28:08.050 4284-4810/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132824 now=52105213 - CU:10259/CP:29505/OP:PendingIntent{da75a33: PendingIntentRecord{42f21f0 com.*.* broadcastIntent}} 2022-05-17 13:28:23.101 4284-6105/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132839 now=52120264 - CU:10259/CP:29505/OP:PendingIntent{e5f469b: PendingIntentRecord{cf67a38 com.*.* broadcastIntent}} 2022-05-17 13:28:38.159 4284-6980/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132854 now=52135322 - CU:10259/CP:29505/OP:PendingIntent{7586f: PendingIntentRecord{4eca97c com.*.* broadcastIntent}} 2022-05-17 13:28:53.358 4284-6318/? D/SamsungAlarmManager: setExact (T:0/F:5/AC:false) 20220517T132909 now=52150521 - CU:10259/CP:29505/OP:PendingIntent{cdbf1f3: PendingIntentRecord{2503eb0 com.*.* broadcastIntent}}

Hi @systemtechnikfey,
Thanks for reaching out. We'd be glad to assist.

Is your app whitelisted from battery optimizations on the affected device(s), or is it consuming large amounts of battery even though it isn't whitelisted from Android/Samsung battery optimizations?

Is high battery usage occurring with your app in the foreground or background, or both?

The logcat provided does not contain any Pushy SDK logs. If you could please follow these instructions to send us the Pushy SDK logcat from one of the affected devices, that would be greatly appreciated:

Open a terminal prompt on your computer
Run adb logcat -d *:S Pushy > logcat.txt
Upload logcat.txt to this issue.

Thanks for your help!

OK, we'll try that.  The Google Play Vitals also indicate very bad behavior.  Which value would you recommend and which value should not be exceeded?
We cannot run the method directly from the Flutter main.dart.  Will there be an integration in the near future?
Where in the Flutter SDK could we put the value?

Hi @systemtechnikfey,
Thanks for bringing this to our attention.
We've just updated the Pushy Flutter SDK to add support for calling the native Pushy.setJobServiceInterval() method.

Please install version 2.0.7 of our Flutter SDK by editing the pubspec.yaml in the root directory of your project and updating the pushy_flutter dependency version:

pushy_flutter: 2.0.7

Run flutter pub get to fetch the new version.

Add the following code before Pushy.listen() to modify the default JobService maintenance interval:

Pushy.setJobServiceInterval(120);

As per your inquiry, we recommend starting off with 120 as the new interval, as this will ensure the connection is checked up on every 2 minutes. You can also experiment with other values based on how much you value battery life over immediate notification delivery. There is no maximum value to exceed.


Need to specify the link in nav-bar

Hi
I saw some issue about this. The original code using "hard coded" .html url. Then someone change it to non hard code.
It took me long time to read the issue and searching the web. Till I find this solution
It works after I specify
TAGS_URL = 'tags.html'
CATEGORIES_URL = 'categories.html'
ARCHIVES_URL = 'archives.html'

Why it doesn't work by default, at least for me ? Am I missing something ?
Thank you for this beloved theme :)

@azzamsa that's strange. You should not have to add these settings. See our code here
https://github.com/Pelican-Elegant/elegant/blob/master/templates/base.html#L70-L72
Notice the defaults function. For example,
 CATEGORIES_URL|default('categories')

The code should have worked outside the box.
Can you please,

Make sure you have the latest HEAD from elegant repo?
If it is, then please create a repo with your source and we will try to reproduce it at our end.

See our code here

@talha131 Sure I read those code carefully. So that I opened the issue here. I am using the latest version of this repo. I read the code carefully, even I modify archives.html, categories.html  and other to have ability for hiding page with my custom metadata.

If it is, then please create a repo with your source and we will try to reproduce it at our end.

This is my source

glad you like the theme!

@silverhook yes. it's very neat and beautiful :). I migrated from octopress this morning after using it for about 2 year. Very happy today, because I understand what every files are doing.  Have more control now with pelican :)

We have also set up a new website for Elegant,

This conf and article examples help me a lot in this migration. It easier to see the real world example. Those "real" source really helped A LOT.

Since you’ve done some research on this already, but weren’t involved with writing the change in the first place, you’d be a perfect candidate to write that little piece. If you’re willing to volunteer, of course wink

Sure, I love python, I may take a look at this.

@azzamsa Thanks for the quick response. I need the source code of your blog. What you have pointed me towards, is the generated html.
I need the repository which has your markdown files and pelican configuration in order to reproduce the issue at my end.

@talha131 Indeed that was the "source".
I put them together with the output in Github, in different branch. One for source files, another for output


Minikore outer

@daejunpark @msaxena2 @cos
Please review, don't merge.
First rough cut for interface for outer kore.
Made outer.scala files at implementation and interfaces level.
Put basic derived operations at trait level for Definition, Module, Sentence.
Can't build Definition, Module, Sentence abstractly, currently need to rely on implementation. Perhaps build methods can be added to the traits to fix this.

Overall, it makes sense. It seems reasonable to add the sorts and symbols members.
Suggestion:

Add interface for each sentence types, and implement onAttributes method there.
Put back outer.scala in MiniKore.scala.

Please let me know (by leaving a message here with mentioning my name) once it is ready to review, so that I can quickly review and we can merge.

Same here, let me know when I can review it.  We should merge this asap, especially because it is not difficult.  The difficult part is probably to ensure test coverage.  Let us please give this some priority.

Please take a look at the changes we made. We addressed your comments from
before, and did some refactoring as well. We still have to add
comments/tests, and make K work with the refactoring.
On Mon, Apr 3, 2017 at 8:02 PM, Daejun Park<EMAIL_ADDRESS>wrote:

Please let me know (by leaving a message here with mentioning my name)
once it is ready to review, so that I can quickly review and we can merge.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kframework/kore/pull/15#issuecomment-291355354, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AD1ZLk3-BvjftoAmGRPx_57BZm9R2BDHks5rsZahgaJpZM4Mncyb
.

--
Lucas Peña
University of Illinois at Urbana-Champaign
<EMAIL_ADDRESS>(954) 882-7070

This pull request started to be outdated.  Lots of the discussions are not clearly actual anymore, such as those about the distinction between the Outer and Pattern.
@lucaspena , can you take the lead on this and either get this ready to merge, or alternatively split it in smaller PRs?

Looking through this pull request, it seems the brunt of it was adapted in the pull request Main + Extended Split. It seems the main thing originally present in this pull request that was not factored into another pull request yet was our DSL for programmatically defining KORE data structures in Scala. @ehildenb and I will work on getting this into its own pull request soon.


Added missing logging import/assignment.

LOG is used in tiller.py without prior assignment. How were you able to use/test this code ? Or am I missing something ?

thanks 🤘


Add logwriter role

related: #598

yeah, I can't exactly put both changes into the same PR.

Actually I just noticed that the docs are already updated.


increase test coverage of cairo-native-run

Checklist

[ ] Linked to Github Issue
[ ] Unit tests added
[ ] Integration tests added.
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

@edg-l Concerning check_compiler_path, shouldn't we check also that, if the path leads to a file, the extension of this file should be .cairo?

Codecov Report
Attention: Patch coverage is 99.66102% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 88.94%. Comparing base (4ca09c2) to head (98fc75a).

Files
Patch %
Lines

src/bin/cairo-native-run.rs
99.66%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #593      +/-   ##
==========================================
+ Coverage   88.54%   88.94%   +0.39%
==========================================
  Files         109      109
  Lines       34905    35175     +270
==========================================
+ Hits        30906    31285     +379
+ Misses       3999     3890     -109

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


SQL validation errors on Redshift don't have line numbers

We don't currently show line numbers with query validation errors for Redshift. The redshift console shows position (which we don't), so it looks like we are potentially missing part of the error message in what we display.
Example Query:
select
1 ast test

Dataform error message:
error: syntax error at or near "test"
Redshift console error message:
[Amazon](500310) Invalid operation: syntax error at or near "test" Position: 14;

from @lewish in the other issue:
Redshift seems to split errors into the top level error and then additional details. These additional details don't get propagated anywhere, and leaves some high level messages such as the following that are hard to debug:
Assert
deadlock detected

Additionally, it appears line/column number information is available, but we don't show it.
We should look at all the fields that redshift errors might have and make sure they get added to the overall error message.


Anyway to make the bar on the bottom and horizontal?

Oh, yes but you might need to reconfigure the margins and layout in bar/init.lua

Got it working


Remove unused imports

Remove all of the unused imports in the project to get rid of Java warnings

Shoutout github actions and the Google Java code formatter https://github.com/rudiejd/vaadin-chartjs/commit/6f0158223d435f84add1d8ab6f067789b9690031

nevermind it actually didn't fix all of them


Vechicle unavailable issue in opentcs

Hi,I am using agv vehicle ,gazeboo,rviz in ros1 and opentcs in ros2 and connection done by ros1 bridge and while running open tcs in facing vehicle unavailable under ros2 adapter

That's probably because the vehicle is at a position that is unknown to OpenTCS. Instead of dispatching the robot to a coordinate, you should dispatch the vehicle to a point on the plant model. Once the vehicle is at an OpenTCS point, it becomes available to pickup transport orders.
An example is shown on the video reference listed in the README.
Best regards,
Niels Tiben

From: Aravindharajan<EMAIL_ADDRESS>Sent: Thursday, February 11, 2021, 16:10
To: nielstiben/openTCS-NeNa
Cc: Subscribed
Subject: [nielstiben/openTCS-NeNa] Vechicle unavailable issue in opentcs (#2)
Hi,I am using agv vehicle ,gazeboo,rviz in ros1 and opentcs in ros2 and connection done by ros1 bridge and while running open tcs in facing vehicle unavailable under ros2 adapter
[IMG-20210211-WA0002]https://user-images.githubusercontent.com/30440317/107655131-43efe480-6ca9-11eb-8211-bd14981f8eec.jpg
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/nielstiben/openTCS-NeNa/issues/2, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGDYI4LXJ3EP3VWKQ6JRHXLS6PXOZANCNFSM4XO74YZA.

Thanks for the quick response
Is it possible to connect opentcs to ros1 using ros1bridge?

Hello,
The goal of developing OpenTCS-NeNa was to support robots running on ROS 2. For that reason, I have never tried to connect it to ROS 1 vehicles. In the current state, OpenTCS-NeNa does not support ROS 1 as it uses different communication protocols. To support ROS 1, I think you need the to implement rosjava (linkhttp://wiki.ros.org/rosjava) in OpenTCS-NeNa. The OpenTCS-NeNa software is dynamically defined into packages, so most likely you only need to update the Node and NodeManager classes for that. Also, have a look at the Development Guide which is listed in the readme, it explains about how the software is developed.
Best regards,
Niels Tiben
rosjava - ROS Wikihttp://wiki.ros.org/rosjava
RosJava. Rosjava provides both a client library for ros communications in java as well as growing list of core tools (e.g. tf, geometry) and drivers (e.g. hokuyo).. Official source code for rosjava projects can be found on github in the rosjava organisation.. Documentation. The documentation on the wiki here provides a general overview of the rosjava ecosystem and install/build instructions.
wiki.ros.org
Best Regards,
Niels Tiben

From: Aravindharajan<EMAIL_ADDRESS>Sent: Thursday, February 11, 2021 4:18:55 PM
To: nielstiben/openTCS-NeNa<EMAIL_ADDRESS>Cc: Niels Tiben<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [nielstiben/openTCS-NeNa] Vechicle unavailable issue in opentcs (#2)
Thanks for the quick response
Is it possible to connect opentcs to ros1 using ros1bridge?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/nielstiben/openTCS-NeNa/issues/2#issuecomment-777568979, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGDYI4OQCSSKIVKIVH74KKDS6PYN7ANCNFSM4XO74YZA.

Hi, I'm new to openTCS. @nielstiben Thanks for your reply, seems it actually helps on turtlebot3 simulation! But I encounter another similar issue when I'd like to use OpenTCS-NeNa on my robot.
env:

ros version: ros2 galactic
OpenTCS-NeNa version: Release 2.0.1

You can see the robot state is unavaliable instead of IDLE when no task in the video. And the robot won't response a pending transport order too.
https://user-images.githubusercontent.com/57881019/155093926-873521ea-4b5e-49a1-912d-faef323f53d4.mp4

@nielstiben The issue of @SaschR is quite a critical point for us. could you give us any hint how to debug this? if you think there's somewhere in the code where we could apply a fix, please point us to there. we are happy to contribute actively to the project.
Just for reference, we are working for the Japanese/Chinese company LP-Research (lp-research.com) and are working on a complete solution demonstration with our VSLAM https://github.com/lp-research/lpslam_node .
@SaschR Maybe a good idea to also post this issue also on #questions on the NAV2 slack. maybe someone there has some similar experience.

@nielstiben The issue of @SaschR is quite a critical point for us. could you give us any hint how to debug this? if you think there's somewhere in the code where we could apply a fix, please point us to there. we are happy to contribute actively to the project.
Just for reference, we are working for the Japanese/Chinese company LP-Research (lp-research.com) and are working on a complete solution demonstration with our VSLAM https://github.com/lp-research/lpslam_node .
@SaschR Maybe a good idea to also post this issue also on #questions on the NAV2 slack. maybe someone there has some similar experience.

Good idea! Thanks!


Missing field ref in type definition for Attributes-Based fields

Currently, the code-generator allows ACK devleopers to generate code that allows field references across multiple resource/controllers. However, we have identified an issue with the generated code Attributes-based fields.
While building a controller (sns for example) with field references, the code generator outputs the code that handles reference resolving, but doesn't correctly generate the Spec type definition (Ref fields are missing)

NVM, worked when i added type: string:
      Policy:
        is_attribute: true
        type: string
        references:
          service_name: iam
          resource: Policy
          path: Spec.PolicyDocument

/close


vm_manager: add software Trusted Platform Module to CIV

install libtpms and swtpm library
start swtpm service when using start_flash_usb.sh
start swtpm service when launching android

Tracked-On: OAM-91814
Signed-off-by: Chen Gang G<EMAIL_ADDRESS>

Please change the patch title label from "vm_manager:" to "scripts:"