Url in background-image are not encoded

Some background images define SVG threw data:image.
This URL should be better encoded (at least replace spaces with %20 to prevent related issues such as https://github.com/yui/yuicompressor/issues/274)

Here is a pull request that should make such URLs more readable in the Sassy CSS variables file using a simple sunction. https://github.com/twbs/bootstrap/pull/26529

This is a duplicate issue. Please check your PR, for the aforementioned issue

duplicate https://github.com/twbs/bootstrap/issues/25211


Karavan Runner - Camel version in use

Currently it uses 3.21.0-SNAPSHOT which is hardcoded in the dockerfile.
I think we should find a way to configure this, and also find a way to use the same Camel version as the project uses.
So if you create a Q or SB project then this version that they use as Camel, we should make the same version for the runner.
It will be easier when those projects are on 3.21 or better.
Also you may want to be able to configure a specific version, so maybe you can set the runner version in application.properties

It is hard-coded for development purposes only. It will be synchronized with Camel version across Karavan as soon as camel-jbang reload and upload released.

Also runner and builder images will be merged into one

And they will use camel-jbang as a BASE instead of pure jbang

okay perfect, yeah we need 3.21 SNAPSHOT due to changes needed in camel-core - so it will take a month or so still before its released. Let me just close this ticket then


what version of microsoft rdp is xrdp compatible with

I've searched but I can't find anything on the github or the sourceforge forum that definitively says what version of microsoft rdp the xrdp server supports?
I did see a couple issues that had been filed that mentioned an RDP 8.1.x release.
I am asking because I use Guacamole v0.9.14 and in its "connection" configuration screen it references a setting Guacamole calls "Display Update Virtual Channel (RDP 8.1+).
So I am wondering if xrdp supports that?
thanks in advance
brian

All features in RDP are negotiated so some RDP 7.1 features are supported and some RDP 4.0 features are not supported.
As far the display, 8.1(GFX channel) is not done yet so the xrdp only support RDP 7.1


Hello  Can I install passwall plug-in or SSR plug-in for istore

Hello  Can I install passwall plug-in or SSR plug-in for istore
Thanks

https://github.com/AUK9527/Are-u-ok

Thanks


ensure all system attributes are properly indexed by ArangoSearch view

Please note that for legal reasons we require you to sign the
Contributor Agreement
before we can accept your pull requests.

http://jenkins01.arangodb.biz:8080/job/arangodb-matrix-pr/2533/

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/2559/


ERROR: Unable to calculate checksum of <<inputfile.sql>> 4/9/2020 4:11:38 PMInput length = 1

Which version and edition of Flyway are you using?
Flyway 6.3.3
If this is not the latest version, can you reproduce the issue with the latest one as well(Many bugs are fixed in newer releases and upgrading will often resolve the issue)
This issue was not there in 4.2.0 but when we tried to upgrade to 6.2.2 this issue appeared. Upgraded with the latest version i.e. 6.3.3 but the issue still persists
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Command-line
Which database are you using (type & version)?
PostgreSQL 11.6
Which operating system are you using?
RHEL 7.5
What did you do?
Upgraded the docker image which has flyway bundle as the migration tool. Image is having SQL files which are checked in by our engineering team members. They uses different types of editor such as pgadmin,dbeaver,notepad++
All was good in 4.2.0 until we decided to upgrade to 6.2.2 to fix a security issue which popped up due to 2 of the DB drivers present in the flyway db. Once we upgraded, the security issue was resolved as the 6.2.2 version of flyway was using latest versions of the drivers but we started facing this "unable to calculate checksum" issue. Then we had to downgrade it back to 4.2.0 and decided to remove the drivers from the pack which were causing the security issues. Removal of the drivers from the image solved the problem but we want to upgrade the flyway now so that we don't have to remove the drivers
What did you expect to see?
The expectation is that this issue should not pop up as we can't go and correct the type conversion to UTF-8 for each and every file. For lot of files used for different engines and modules we are facing this. Even we tried to convert one problematic file to UTF-8 in notepad++ but we were still receiving the same error. We have lot of SQL files checked in for last few years and now they have grown up so much that we can't go and correct each of them or ask our engineers to correct them and also we don't even know how the file changes will impact the upgrade process in customer environments using our product and also as I said we are not sure also that the issue will be resolved post the changes of UTF-8 conversion. Any configuration tweak may also help if there is a way so that this error can be bypassed.
What did you see instead?
The expectation is that the issue should not pop up and the latest version of flyway and it should behave like 4.2.0 so that we can upgrade the latest flyway db in our database image

Can you share the file that is causing the issue?

@MikielAgutu We are speaking with our legal team on sharing the file. I will get back to you

What character encoding are you using? Is it consistent across your migration files?

@Sourav1407 Any news?

@juliahayward Most of them are UTF-8. We thought the problematic file might be having a different encoding and we tried to even convert that to UTF-8 in notepad++ but still the issue was not resolved

@MikielAgutu Awaiting response from our legal team. As soon as we get a reply will share the file. Thanks for your support on the same

@MikielAgutu  PFB one of the problematic file. I have modified the format to .txt from .sql
DB_sql_V3_20190813_27__Portuguese_Generic_Utterances.txt

@MikielAgutu Tried with the latest one 6.4.4. Got similar errors for the same files

6/12/2020 12:34:31 PMFlyway Community Edition 6.4.4 by Redgate
6/12/2020 12:34:31 PMDatabase: jdbc:postgresql://postgreslb.postgresql:6432/cri (PostgreSQL 11.7)
6/12/2020 12:34:31 PMERROR: Unable to calculate checksum of V2_20171108_2__ActionScript.sql
6/12/2020 12:34:31 PMInput length = 1
6/12/2020 12:34:31 PMCaused by: java.nio.charset.MalformedInputException: Input length = 1
6/12/2020 12:34:31 PMFlyway Community Edition 6.4.4 by Redgate
6/12/2020 12:34:31 PMDatabase: jdbc:postgresql://postgreslb.postgresql:6432/cri (PostgreSQL 11.7)
6/12/2020 12:34:37 PMERROR: Unable to calculate checksum of V3_20190813_27__Portuguese_Generic_Utterances.sql
6/12/2020 12:34:37 PMInput length = 1
6/12/2020 12:34:37 PMCaused by: java.nio.charset.MalformedInputException: Input length = 1

It looks like an issue with the file encoding. If you set in the configuration file:
flyway.encoding=ISO_8859_1
does that make the migrations run?

@juliahayward Though flyway.ignoreMissingMigrations=true is enabled but getting this error now after setting flyway.encoding=ISO_8859_1
6/12/2020 7:51:55 PMERROR: Validate failed:
6/12/2020 7:51:55 PMMigration checksum mismatch for migration version 1.20170802.1
6/12/2020 7:51:55 PM-> Applied to database : -1527526515
6/12/2020 7:51:55 PM-> Resolved locally    :<PHONE_NUMBER>
6/12/2020 7:51:55 PMMigration checksum mismatch for migration version 2.20171108.2
6/12/2020 7:51:55 PM-> Applied to database : 102437194
6/12/2020 7:51:55 PM-> Resolved locally    : -635328017
6/12/2020 7:51:55 PMMigration checksum mismatch for migration version 2.20171121.8
6/12/2020 7:51:55 PM-> Applied to database : 529062811
6/12/2020 7:51:55 PM-> Resolved locally    : -844667126
6/12/2020 7:51:55 PMMigration checksum mismatch for migration version 2.20171121.9
6/12/2020 7:51:55 PM-> Applied to database : -1773929542
6/12/2020 7:51:55 PM-> Resolved locally    :<PHONE_NUMBER>
6/12/2020 7:51:55 PMMigration checksum mismatch for migration version 2.20171121.12
6/12/2020 7:51:55 PM-> Applied to database : -92622635
6/12/2020 7:51:55 PM-> Resolved locally    : -260531534
6/12/2020 7:51:55 PMMigration checksum mismatch for migration version 2.20171121.14
6/12/2020 7:51:55 PM-> Applied to database :<PHONE_NUMBER>
6/12/2020 7:51:55 PM-> Resolved locally    : -290451099
6/12/2020 7:51:55 PMMigration checksum mismatch for migration version 2.20171121.15
6/12/2020 7:51:55 PM-> Applied to database : -1435124649
6/12/2020 7:51:55 PM-> Resolved locally    : 693197688
6/12/2020 7:51:55 PMMigration checksum mismatch for migration version 2.20180103.1
6/12/2020 7:51:55 PM-> Applied to database :<PHONE_NUMBER>
6/12/2020 7:51:55 PM-> Resolved locally    :<PHONE_NUMBER>
6/12/2020 7:51:55 PMMigration checksum mismatch for migration version 2.20180103.2
6/12/2020 7:51:55 PM-> Applied to database :<PHONE_NUMBER>
6/12/2020 7:51:55 PM-> Resolved locally    :<PHONE_NUMBER>
6/12/2020 7:51:55 PMMigration checksum mismatch for migration version 2.20180103.5
6/12/2020 7:51:55 PM-> Applied to database : -757105328
6/12/2020 7:51:55 PM-> Resolved locally    :<PHONE_NUMBER>
6/12/2020 7:51:55 PMMigration checksum mismatch for migration version 2.20180105.6
6/12/2020 7:51:55 PM-> Applied to database : -1745480510
6/12/2020 7:51:55 PM-> Resolved locally    : -1638382870
6/12/2020 7:51:55 PMMigration checksum mismatch for migration version 2.20180105.10
6/12/2020 7:51:55 PM-> Applied to database :<PHONE_NUMBER>
6/12/2020 7:51:55 PM-> Resolved locally    : -1249201146

@juliahayward Got this for ~100+ files

OK, then remove that encoding setting... we will need to expand the encoding functionality so that you can override it on a per-script basis rather than all or nothing. I'll try to implement that in the next patch version, which should be out next week.

@juliahayward Sure Thanks

@juliahayward @Lyeeedar Closing comments please. If I upgrade to latest version, will the issue be resolved? Any encoding I have to provide in config?

Yes. You will need to add a file DB_sql_V3_20190813_27__Portuguese_Generic_Utterances.sql.conf next to the relevant migration that contains simply:
encoding=ISO_8859_1
and then all should be good. You don't need to alter any previous scripts and the encoding change is not required in the main configuration.


Remove the parallel feature for cc

There's only a single file being compiled by the build script so there isn't really any need for parallelism. Removing the parallel feature prevents rayon and it's dependencies from being included and actually builds slightly faster.

Thanks!


Latent Encoder and Decoder: log_sigma transformation

Hi,
I was wondering what the reasoning behind the specific parameterizations of the standard deviation in the latent encoder is, i.e. why is it bounded?
I usually just use a softplus in such settings.
Also, they are different between the encoder and decoder, not sure if that is intentional.
I'd assume both should be with tf.sigmoid?
(Latent) Encoder: Bounds SD between 0.1 and 1
    # Compute sigma
    sigma = 0.1 + 0.9 * tf.sigmoid(log_sigma)

Decoder: Bounds SD to be higher than 0.1 and...?
    # Bound the variance
    sigma = 0.1 + 0.9 * tf.nn.softplus(log_sigma)

And thank you for that well-documented repository :).

Hi, the difference in the parameterisation of the sigma is not intentional - in this particular 1D regression case, either choice should be fine. In general the range of the sigma should be problem-dependent, but it usually helps to lower bound it by some small value >0 for stability in optimisation. Hope that helps!


feat(controller): Add support for Docker workflow executor for Windows nodes

Argoexec already works with Windows Containers but didn't support docker workflow executor yet as Windows Containers require a different way of mounting the Docker socket (see https://github.com/kubernetes/kubernetes/pull/69484):

Path: \\.\pipe\docker_engine
Type: null
ReadOnly: false

I adapted the workflow controller to allow for different volume setups for Windows or Linux Steps of a workflow. When the following nodeSelector entry is present for a step in a workflow, then the volume setup for Windows is used, else the setup for Linux is used:
nodeSelector:
  kubernetes.io/os: windows

I also adapted the documentation as you not longer need to use the kubelet workflow executor.
Checklist:

[x] Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
[x] The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
[x] I've signed the CLA.
[x] I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.

not needed

[x] My builds are green. Try syncing with master if they are not.
[x] My organization is added to USERS.md.

Thanks for reviewing, I fixed all conflicts now.


CUSP calculates incorrect number of connected components

Hi,
I am trying to use cusp to calculate the number of connected components in large graphs. I am using csr file format to read matrix market graph files. I have encountered the following issues.
Issue 1: CUSP outputs different(no. of components) results when I run the code with same dataset on different runs.
Run1 : command: ./cusp_cc_mtx in-2004.mtx
Output: Connected Components - [CUSP]
Input filename - in-2004.mtx
Number of Connected Components : 542
Run2 : command: ./cusp_cc_mtx in-2004.mtx
output: Connected Components - [CUSP]
Input filename - in-2004.mtx
Number of Connected Components : 526
Run3 : command: ./cusp_cc_mtx in-2004.mtx
output: Connected Components - [CUSP]
Input filename - in-2004.mtx
Number of Connected Components : 519
None of the above calculated number of connected components is correct. The actual number of components for the above mentioned dataset is 134 which I verified it with a serial code. I re-ran it for different datasets and faced the same issue.
Issue 2: For some matrix market graphs, I am not able to run cusp. I get the following error,
"[/home/jayadharini/cusp/cusplibrary-0.5.1/cusp/system/cuda/detail/graph/b40c/graph/bfs/enactor_hybrid.cuh, 538] Frontier queue overflow.  Please increase queue-sizing factor.  (CUDA error 9: invalid configuration argument)"
Is there any limit on the input dataset's size?  I ran the cusp code for various datasets and I noticed that I get this error for datasets with large number of connected components. I am able to run it for larger datasets with less number of connected components. Please clarify!
I am using,
CUDA   v7.5
Thrust v1.8
Cusp   v0.5
I also tried using cusp - 5.1 and the current development version in github. I am compiling with sm_30. Since I am a student working on university server, I cannot upgrade to CUDA 8.0.
Please help me fix this.
Thanks,
Dharini

I have the exact same problem.
The connected components algorithm does not output the correct number of connected components.


Setting secure data in the test authenticator

I have an acceptance test which relies on information stored in session.content.secure.uid in order to function properly, but I'm having issues gaining access to the secure key in testing.
A bit of research led me to a commit (https://github.com/simplabs/ember-simple-auth/commit/85e9808973b1a034eb36ae74978ac0c78fc9739f) stating that setting values on the secure keyword is not allowed, which makes it impossible for me to set what I need using currentSession().
What is the accepted means of setting secure data on the session for testing, if there is one?

Usually the content of the secure property is maintained by the session itself and is retrieved from the authenticator and/or store. For testing reasons it should be fine to set specific values in the secure property, you should just not set the secure property itself, e.g. currentSession().set('secure.value', 'test') should be fine.

If you attempt to set a value to content.secure or any of its children the request is simply ignored; I've tested this fairly extensively and have been able to set any other property on session except for content.secure or any child.
Part of my code sets a user profile on the session based off of the uid being passed back to me from a Firebase oAuth request. I don't want to actually make an external network call (and as far as I know I couldn't even if I wanted to) so I'd like to just set the session data that the authenticator would give me back manually.

You'd have to use a custom authenticator then that you authenticate the session with and that resolves with the correct data you need for the test from the authenticate method.

Any idea how you set a custom authenticator for testing only? It already seems to be overriding the production authenticator with a "test" authenticator.

It doesn't override the actual authenticator, it just adds one for testing - an application can have multiple authenticators. You could authenticate the session with a custom authenticator in a test with currentSession().authenticate('authenticator:custom').

Ah, I don't know why that didn't occur to me. Thanks!


[Minor][Test] Enhance the test instruction of ThriftServerQueryTestSuite

What changes were proposed in this pull request?

Enhance the test instruction of ThriftServerQueryTestSuite:

how to run a single test case
how to regenerate golden file for a single test

Why are the changes needed?

Better documentation.
Does this PR introduce any user-facing change?

No
How was this patch tested?

No, just enhance the comments.

Test build #137275 has started for PR 32141 at commit acc8108.

I am not sure is there a strict rule about the case of the tags. Should be [MINOR][TEST]?

Test build #137275 has finished for PR 32141 at commit acc8108.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/137275/

@gengliangwang  [TEST] -> [TESTS]

Test build #137279 has started for PR 32141 at commit 590632c.

Test build #137279 has finished for PR 32141 at commit 590632c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41854/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41854/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41854/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/137279/

Merging to master

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41859/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41859/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41859/


conf/proxies-soap.xml - Change config to soapSampleService

Wait till sampleSOAPService is exposed from azure-proxy


assert block != LFS_BLOCK_NULL in lfs_bd_read failing in lfs_ctz_traverse

Hi,
Currently working on getting Littlefs running on a NAND flash.
The flash is 256MB, with erase pages of 128K and and read/write sizes of 2048 bytes.
Running into an issue, were after a long running series of reads and writes to the flash, something is becoming unhappy and the assert here is failing.
When this assert fails, this is the current call stack:

lfs_bd_read
lfs_ctz_traverse
lfs_alloc
lfs_dir_alloc
lfs_dir_split
lfs_dir_compact
lfs_dir_commit
lfs_file_opencfg

Looking in lfs_ctz_traverse, at the time of the read call before the one that fails the assert, the read is from block 1820 (head), and the result that is read into the buffer is all 0xFF (validated read is correct by manually reading this block as well).
Any ideas on what could have lead to this?
This appears to be showing up on all units after a decent number of file actions, (around 100 files created and then deleted). Files are mix of small (2k) and large (25MB).
I can look into dumping the entire flash memory out if that would be of use?
This is the config structure:

const struct lfs_config Filesystem::LittleFScfg = {
// block device operations
		context:0, //
		read : Filesystem::raw_read,  //
		prog : Filesystem::raw_prog,  //
		erase : Filesystem::raw_erase,  //
		sync : Filesystem::raw_sync,  //

		// block device configuration
		read_size : RawFlash::get_read_size(),  //minimum read size
		prog_size : RawFlash::get_program_size(),  // minimum programming size
		block_size : RawFlash::get_erase_size(),  //Erase block size
		block_count : RawFlash::size() / RawFlash::get_erase_size(),  // Number of eraseable blocks
		block_cycles:1000,  // Cycle blocks around every 1k writes
		cache_size :LFS_BUFFER_SIZE,  //Size of the cache buffer
		lookahead_size : LFS_LOOKAHEAD_SIZE,  // Size of the lookahead scratch buffer
		read_buffer : lfs_read_buffer,  // Static read buffer
		prog_buffer : lfs_prog_buffer,  // Static programming buffer
		lookahead_buffer:lfs_lookahead_buffer,  // Static lookahead buffer
		name_max: 65,  // Max length of file names
		file_max:LFS_FILE_MAX,  //Max fileSize
		attr_max:LFS_ATTR_MAX, };

I have a very similar issue.

I get the same assertion at lfs_bd_read :    LFS_ASSERT(block != LFS_BLOCK_NULL); but with a different call. It just happens some times when my system reboots and inspect a file directory after mounting the file system without problem:
lfs_bd_read (ASSERT)
lfs_dir_getslice
lfs_dir_get
lfs_dir_getinfo
lfs_dir_read
Once I get the assertion and my system reboots, I don't get the problem anymore. I will update this message with the value of block, as I can't intentionally reproduce the failure as it happens just some times after booting (with a previous use of creation/deletion of files regularly)

I am going to test it, I will post again with more info then, thank u Ralim for referencing it.

Hi again, it seems that despite I get an assertion message " assertion in lfs.c line 32", the assertion occurs on line 75 :
// load to cache, first condition can no longer fail  LFS_ASSERT(block < lfs->cfg->block_count);
I am using Nuttx RTOS, I updated the lfs.c/h  to the version  v2.1.2 and then I updated it to the fix.
Here I attach some screenshots of each frame just before I get the assertion in case it is useful:

Hi guys, thanks for creating an issue.
Some notes on this: This assertion is the same as assert(block != 0xffffffff) in previous versions and similar to the assert(block < lfs->cfg->block_count). There are a few other posts though I don't think they are related (https://github.com/ARMmbed/littlefs/issues/12, https://github.com/ARMmbed/littlefs/issues/142, https://github.com/ARMmbed/littlefs/issues/12, https://github.com/ARMmbed/littlefs/issues/271)
Both  LFS_ASSERT(block != LFS_BLOCK_NULL) and LFS_ASSERT(block < lfs->cfg->block_count) indicate the same thing: that littlefs attempted to read from an invalid block address.
Unfortunately this is sort of like a hard fault, there's not much info to go on without more context.
This stack trace should help quite a bit, and if you are able to get a filesystem dump that would help. Especially if you're able to consistently trigger the assertion through mounting the same image.
It's also entirely possible your issues are unrelated even though you're both hitting the same assert.

Hi all, an update. These asserts are unfortunately very generic, and power-loss bug require the entire of the filesystem work correctly, so they can be difficult to track down.
My current plan is to take a step-back and rework the testing infrastructure to more aggressively cover these sort of power-resilience bugs. Once that is in place, it should be much easier to build reproducible test cases and work through these sort of bugs.
Hopefully most of the bugs will just fall out with the additional coverage.
Anyways, sorry I don't have much immediate help. I just wanted to give an update so you all know these issues aren't being ignored. All of these issues are valuable, I've just had to prioritize issues based on the time I have.

Thank you for your help! I understand that it is a very generic (and hard to reproduce as it is the case in my environment).
thanks a lot again for your work.

@raulmcriado  have you invoked lfs_rename in your code, i have reproduce the assertion, it's caused by lfs_rename, see 343


Api request for subscription on every renewal

Version of react-native-iap
Version of react-native
Platforms you faced the error (IOS or Android or both?)
Expected behavior
Actual behavior
Tested environment (Emulator? Real Device?)
Steps to reproduce the behavior
Hi, I want to know, how subscription renewal will work every month?.on every renewal, I want to call a api where I need to update user data

You can handle renewal information with server to server notification
Android
iOS


Version 0.0.2 bump & changelog update

v0.0.2 - 2024-03-17 - What type is that thingy in the window

Handle type conversion/passing more robustly
Support for setting backend properties/options.

/cc https://pypi.org/project/octodns-keyring/0.0.2/


[BUG] Frequent logs when a client connects to KoP with authentication enabled

Describe the bug
If a Kafka client connects to a KoP node that enables the authentication, the error logs are too frequent because connections are established and disconnected at a very frequent rate.
To Reproduce
Steps to reproduce the behavior:

Start KoP with authentication enabled. See here for tutorial
Connect to KoP without passing any authentication info.

$ ./bin/kafka-console-producer.sh --bootstrap-server localhost:9092 --topic my-topic
[2022-03-17 15:58:26,089] WARN [Producer clientId=console-producer] Bootstrap broker localhost:9092 (id: -1 rack: null) disconnected (org.apache.kafka.clients.NetworkClient)
l[2022-03-17 15:58:26,493] WARN [Producer clientId=console-producer] Bootstrap broker localhost:9092 (id: -1 rack: null) disconnected (org.apache.kafka.clients.NetworkClient)
[2022-03-17 15:58:26,901] WARN [Producer clientId=console-producer] Bootstrap broker localhost:9092 (id: -1 rack: null) disconnected (org.apache.kafka.clients.NetworkClient)
...

We can see frequent logs at Broker side:
2022-03-17T15:58:25,447+0800 [pulsar-io-18-1] INFO  io.streamnative.pulsar.handlers.kop.KafkaRequestHandler - channel active: [id: 0xea68d693, L:/<IP_ADDRESS>:9092 - R:/<IP_ADDRESS>:59759]
2022-03-17T15:58:25,782+0800 [pulsar-io-18-1] ERROR io.streamnative.pulsar.handlers.kop.KafkaCommandDecoder - Failed authentication with [/<IP_ADDRESS>:59759] (Unexpected Kafka request of type METADATA during SASL handshake.)
2022-03-17T15:58:26,083+0800 [pulsar-io-18-1] INFO  io.streamnative.pulsar.handlers.kop.KafkaCommandDecoder - close channel [id: 0xea68d693, L:/<IP_ADDRESS>:9092 - R:/<IP_ADDRESS>:59759] with 0 pending responses
2022-03-17T15:58:26,188+0800 [pulsar-io-18-3] INFO  io.streamnative.pulsar.handlers.kop.KafkaRequestHandler - channel active: [id: 0xb2aa8ee5, L:/<IP_ADDRESS>:9092 - R:/<IP_ADDRESS>:59763]
2022-03-17T15:58:26,192+0800 [pulsar-io-18-3] ERROR io.streamnative.pulsar.handlers.kop.KafkaCommandDecoder - Failed authentication with [/<IP_ADDRESS>:59763] (Unexpected Kafka request of type METADATA during SASL handshake.)
2022-03-17T15:58:26,492+0800 [pulsar-io-18-3] INFO  io.streamnative.pulsar.handlers.kop.KafkaCommandDecoder - close channel [id: 0xb2aa8ee5, L:/<IP_ADDRESS>:9092 - R:/<IP_ADDRESS>:59763] with 0 pending responses
...

Expected behavior
We should avoid too frequent reconnections from client side.

It's duplicated with https://github.com/streamnative/kop/issues/668 and already fixed by https://github.com/streamnative/kop/pull/709.
We can reduce the frequency by configuring failedAuthenticationDelayMs (see configuration.md#network) with a large value, like:
failedAuthenticationDelayMs=3000

Then the logs at Broker side will be like:
2022-03-17T16:16:13,270+0800 [pulsar-io-18-17] INFO  io.streamnative.pulsar.handlers.kop.KafkaCommandDecoder - close channel [id: 0xd677be3c, L:/<IP_ADDRESS>:9092 ! R:/<IP_ADDRESS>:62547] with 0 pending responses
2022-03-17T16:16:13,372+0800 [pulsar-io-18-18] INFO  io.streamnative.pulsar.handlers.kop.KafkaRequestHandler - channel active: [id: 0x5be934d1, L:/<IP_ADDRESS>:9092 - R:/<IP_ADDRESS>:62552]
2022-03-17T16:16:13,374+0800 [pulsar-io-18-18] ERROR io.streamnative.pulsar.handlers.kop.KafkaCommandDecoder - Failed authentication with [/<IP_ADDRESS>:62552] (Unexpected Kafka request of type METADATA during SASL handshake.)
2022-03-17T16:16:16,376+0800 [pulsar-io-18-18] INFO  io.streamnative.pulsar.handlers.kop.KafkaCommandDecoder - close channel [id: 0x5be934d1, L:/<IP_ADDRESS>:9092 - R:/<IP_ADDRESS>:62552] with 0 pending responses
2022-03-17T16:16:16,479+0800 [pulsar-io-18-19] INFO  io.streamnative.pulsar.handlers.kop.KafkaRequestHandler - channel active: [id: 0xde927c88, L:/<IP_ADDRESS>:9092 - R:/<IP_ADDRESS>:62561]
2022-03-17T16:16:16,482+0800 [pulsar-io-18-19] ERROR io.streamnative.pulsar.handlers.kop.KafkaCommandDecoder - Failed authentication with [/<IP_ADDRESS>:62561] (Unexpected Kafka request of type METADATA during SASL handshake.)
2022-03-17T16:16:17,983+0800 [pulsar-io-18-19] INFO  io.streamnative.pulsar.handlers.kop.KafkaCommandDecoder - close channel [id: 0xde927c88, L:/<IP_ADDRESS>:9092 ! R:/<IP_ADDRESS>:62561] with 0 pending responses


fail to store algorithim with node selector '{"error":{"code":500,"message":"key kubernetes.io/hostname must not contain '.'"}}'

HKube micro-service
To which micro-service the bug related to, Dashboard ,Monitor-Server etc.
Describe the bug
when trying to store algorithm with node selector
{
algorithmImage:'tamir321/algoversion:v1'
cpu:1
gpu:0
mem:'256Mi'
minHotWorkers:1
name:'qn8ebtxu'
nodeSelector:{kubernetes.io/hostname: 'ip-172-22-1-153.eu-west-1.compute.internal'}
options:{debug: false, pending: false}
type:'Image'}

getting error
'{"error":{"code":500,"message":"key kubernetes.io/hostname must not contain '.'"}}'
the api server fails to save tomongodb
Expected behavior
A clear and concise description of what you expected to happen.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

tested on version
systemVersion: "v2.0.55",
fullSystemVersion: "v2.0.55-1610028130079",

tested on version
systemVersion: "v2.0.55",
fullSystemVersion: "v2.0.55-1610028130079",


TypeError: Cannot read property 'n-ui' of undefined

We're seeing the following in our CircleCI build.
OK: Config file is located in: ./whitesource.config.json
OK: Running whitesource...
OK: Done calculation dependencies!
OK: Building dependencies report
INFO: Missing : express-handlebars
TypeError: Cannot read property 'n-ui' of undefined
    at eval (eval at WsNodeReportBuilder.traverseLsJson (/home/ubuntu/next-stream-page/node_modules/whitesource/bin/ws_node_report_builder.js:212:14), <anonymous>:1:46)
    at Object.WsNodeReportBuilder.traverseLsJson (/home/ubuntu/next-stream-page/node_modules/whitesource/bin/ws_node_report_builder.js:212:14)
    at buildReport (/home/ubuntu/next-stream-page/node_modules/whitesource/bin/whitesource.js:194:40)
    at /home/ubuntu/next-stream-page/node_modules/whitesource/bin/whitesource.js:244:16
    at /home/ubuntu/next-stream-page/node_modules/shelljs/src/exec.js:107:7
    at ChildProcess.exithandler (child_process.js:262:7)
    at emitTwo (events.js:125:13)
    at ChildProcess.emit (events.js:213:7)
    at maybeClose (internal/child_process.js:921:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
INFO: Missing : ft-next-stream-page
INFO: Total shasum found: 2739
INFO: Missing shasum: 2
INFO: Total project dependencies: 2741
OK: Saving dependencies report
OK: Getting ready to post report to WhiteSource...
OK: Check Policies: Posting to :https://saas.whitesourcesoftware.com:443/agent
OK: Code: 200 Message: OK
INFO: Checking Policies
undefined:1
Invalid NPM dependency info, DependencyInfo@661f7770[groupId= fsevents,artifactId= null,version= null,filename= null,dependencyType= null ]
^

SyntaxError: Unexpected token I in JSON at position 0
    at JSON.parse (<anonymous>)
    at getRejections (/home/ubuntu/next-stream-page/node_modules/whitesource/bin/whitesource.js:58:26)
    at checkPolicyCallback (/home/ubuntu/next-stream-page/node_modules/whitesource/bin/whitesource.js:108:21)
    at Request.optionalCallback [as _callback] (/home/ubuntu/next-stream-page/node_modules/whitesource/bin/ws_post.js:200:4)
    at Request.self.callback (/home/ubuntu/next-stream-page/node_modules/request/request.js:188:22)
    at emitTwo (events.js:125:13)
    at Request.emit (events.js:213:7)
    at Request.<anonymous> (/home/ubuntu/next-stream-page/node_modules/request/request.js:1171:10)
    at emitOne (events.js:115:13)
    at Request.emit (events.js:210:7)
make: *** [_verify_whitesource] Error 1

Hi,
Thanks for your feedback.
Please make sure you are on the latest WhiteSource version (1.0.7).
If so, please contact<EMAIL_ADDRESS>with the following log, and please attach all ws-log-* files in your project directory.
Thanks again!


(GH-2148) Fix JSON ordering in pester test

The ConvertTo-JSON cmdlet respects JSON ordering in Powershell 5.1 and
7.1, but not version 7.0. This caused the test that verifies passing a
JSON object to Invoke-BoltTask to fail, as the ordering of JSON
parameters was wrong and the test simply verifies the resulting Bolt
command as a string. This updates the test to accept the JSON object
elements in any order. Because users and their tasks don't care about
the order, it doesn't make sense to fix this in the code itself - just
to update the test to also not care about the order.
Closes #2148
!no-release-note

CLA signed by all contributors.


Conflict between drag distance and elevation ruler

Causes the drag distance to display " @NaN [@NaN] when both are enabled. Previously these two modules worked fine together.

Closing pending https://github.com/manuelVo/foundryvtt-drag-ruler/issues/99. Compatibility is something we are working on for both modules.


Set imagePullPolicy

Set the imagePullPolicy to Always if the image tag contains latest. Related to this issue: https://github.com/ManageIQ/manageiq-pods/issues/518

Jansa backport details:
$ git log -1
commit faa1746811f8c8c153d3f3e94325f89175839e28
Author: Nick Carboni<EMAIL_ADDRESS>Date:   Thu May 28 16:11:43 2020 -0400

    Merge pull request #20220 from bennett-white/pullpolicy

    Set imagePullPolicy

    (cherry picked from commit 565e20ec70dc24e72ca113675840f903fcc4cdab)


[metricsadvisor] fix live tests

/azp run python - metricsadvisor - tests

API change check
API changes are not detected in this pull request.


Box predefined styling was not updating correctly

It is now using the same method as for Button. Besides, there was no reason for box_style or button_style to allow None. There is also a couple of docstring re-formatting.

This is ready for review.

As soon as it is merged, I will rebase the default value stuff on it. Actually, I find a ton of minor issues when going over all the default values of all the widgets.


pull_request.yml upgrade actions/cache from v2 to v3

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1462

Relevant Lines:
2012

💛  - Coveralls

I think there are a bunch of actions that need to be updated in all the workflows if we want to get the deprecated warnings resolved , but this is a start.  I think #684 will fix the actual issue with the check failing though.


help: Document "Unstar all messages in topic" feature.

Notes:

Puts documentation of new feature after "view starred messages" and before "Toggle starred messages counter".
Notes that the option may not be present in the topic actions menu if there are no starred messages in the selected topic.
Updates tabs to be Desktop/Web.
Didn't add a description of the feature because it felt self-explanatory. Note there are no descriptions for "Star a message" or "View starred messages" either.

Fixes #29512.

Screenshots and screen captures:
Current documentation

Zoomed in to new "unstar all messages" section

Full article screenshot

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Looks great, merged, thanks @laurynmm!


Add support for Firefox

Add support to make this a firefox extension

[x] Fix CSS issue in Firefox
[ ] Test storage
[ ] Fix reload issue


cuda/without cuda doesn't work for bulk conversion (outputting to a file)

24GB VRAM doesn't seem to be enough for it, can you suggest a workaround?

any suggestion?


Feature Request: Conditional Filters

This might be possible but I haven't seen any examples of this anywhere and I'm not a great coder. Ideally what I'd like to do is create conditional filters so that if I select option A on the first filter I'd get the second set of filters that relate to it.
Example
Shape: Square, Circle, Diamond
if Square
Color: red, blue, green
if Circle:
Color: orange, white, black
if Diamond
Color: teal, pink, yellow
Any direction?

Sorry but this is out of the scope of MixItUp. You can always build your own custom UI with this behavior which can interterface with MixItUp via its API.


Can't run Location, Organization, Practitioner, PractitionerRole tests without "running all tests"

Even though Location, Organization, Practitioner, PractitionerRole tests are not dependent on patient ids, we can't run these tests with selecting "RUN ALL TESTS".
This will not support implementers who intend to test the above Profiles and interactions only e.g. a Provider Directory system.
Also, to support implementers using the test kit, should we consider an initial "search all" for these resource types to ensure subsequent tests aren't skipped?

@StephThaoOng Hello Steph.
Indeed, these tests are not dependent on the patient IDs, but unfortunately, in the current implementation, they are dependent on the resources from the previous tests.
I don't like this solution, but it is implemented this way in the US-Core-Test-Kit. I think we can try to implement other methods to work with this scope of tests. Maybe we can suggest that the user write IDs for these resources to check, as is done for the patient. However, I don't think it can be implemented before the 25th.

Ok, thanks for explaining @projkov
I'll relabel to an enhancement with medium priority.

@StephThaoOng hello Steph
Now users can run tests for Location, Organization, Practitioner, and PractitionerRole resources independently from previous tests using specific IDs.
In general, the mechanism is next:

If the user runs all tests, then these tests will try to use resources from previous tests (it's how it was implemented from the start)
If the user runs a single test group for Location, Organization, Practitioner, and PractitionerRole, then this group will get data from the server for a specific ID.

You can check these reports as an example or you can try to run it by yourself.

Location
Organization
Practitioner
PractitionerRole
All resources

Also, you can notice that we have default values for these ID inputs. I found that their resources are filled with data, so in our case, it helps to keep all tests successful with less number of used resources.

@projkov Thanks Pavel!
We had to make a few changes to the AU Core test data set as we were instructed to use Services Australia derived where possible.
Therefore, can you please update the default ids for these tests. Suggestions below which I've checked but please choose different ones if I've missed something (thanks):
PractitionerRole

midwife-kendall-dallas
surgeongeneral-fryer-chau
audiologist-bradley-jill

Practitioner

guthridge-jarred
kendall-dallas

Organization

murrabit-public-hopsital
elimbah-medical-centre

Location

renal-dialysis-unit
elimbah-medical-centre


[HotROD] Support for custom basepath

Which problem is this PR solving?

With this PR, HotROD frontend app can be served at custom URL like localhost:8080/hotrod
Resolves https://github.com/jaegertracing/jaeger/issues/1340

Short description of the changes

Added a new basepath argument to cmd/root.go
Adjusted index.html to use relative path for ajax requests

TODO

May need to add this to the docs somewhere?

@albertteoh Thanks for the review! I like your idea about using path library, I'll make those changes.

Hi @pavolloffay @yurishkuro! could you please review this? This is a simple change :)


Overlapping settings in Advanced Settings

The Bug
Under Settings > Advanced Settings, the two top settings a rendered on top of each other. See attached screenshot.

Steps to reproduce the behavior:

Go to Settings > Advanced Settings
See error

Expected Behavior
That the settings are not rendered on top of each other :)
System
Please complete the following information:

Linux distribution: Pop!_OS 21.04
Fly-Pie version: 11
GNOME Shell version: 3.38

Thanks for the report! Things like this happen, if you try to support GTK3 and GTK4 at the same time... I'll release a new version of Fly-Pie rather soonishly, as there seem to be some bugs which need to be fixed.


[1.13.0] Bump Mesos to nightly 1.8.x d2a3683

High-level description
This is a routine bump to the latest Mesos and mesos-modules.
Related JIRA Issues
Checklist for all PRs

[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Changelog:
https://github.com/apache/mesos/compare/424a1931062936c00113185a6492465c251d036b...d2a368363c6738d83c721e5c7eb5e1f2ebc9cb07

[ ] Test Results: [link to CI job test results for component]

[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot bump-ee

@mesosphere-mergebot label Ready For Review

@mesosphere-mergebot sync

@mesosphere-mergebot label ship it

@mesosphere-mergebot merge-it

@mesosphere-mergebot label ship it

@mesosphere-mergebot merge-it


Delete by tag not filtering correctly

This may be specific to server-client usage, but running syl d -t $tag asks to delete all bookmarks, not just ones with that tag.

Fixed in aa12706bb893f0d81230082ac37302614daf2304


feat(CardRadio): refactoring and apply theming #195

Description

Adding the CardRadio Component to the components library.
Huge thanks to @soumyaloka for her help.
I will aim to respond to feedback quickly.
References

Testing

Automation

Checklist

[ ] all commented code has been removed
[ ] any new console issues have been resolved
[ ] code linter and formatter has been run
[ ] test coverage meets repo requirements
[ ] PR name matches the expected semantic-commit syntax

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: soumyaloka:x: SandersSanders seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Possible typo in quintus_ui.js comments

Hi,
I was wondering if there is a typo in the comments of the Container. The properties x and y refer to the top left corner but I've tried it and I believe those properties refer to the center of container and not the top left. Am I missing something?
Thanks!

No you are right, they refer to the middle of the container unless you override cx and cy.


Negative number type changed to positive

Seems like types with prefix unary expressions become positive...
type test = -1 | 1;

Formats as:
type test = 1 | 1;

Opened https://github.com/swc-project/swc/issues/708


Compilation instructions under Chromium OS somewhat unclear

In the readme it says that you should make a directory under the src directory of the Chrome OS source tree after checking it out and that you should "place the contents of this package there" (if one were to follow the linked Developer's Guide, this would be ~/chromiumos/src?) . After setting the correct board and building all other packages, then running the provided command  "in the directory where this package is kept" (outside of chroot) does not appear to add the packages to the build image. Have I missed something?

It will produce the binaries in that directory, utilizing the chroot to do so.  It does not generate a package.  You will have to manually copy the binaries onto a Chromebook that is in developer mode.   Apologies for the unclear instructions.

I see. Thank you for the clarification :)


Is it possible to add a simple Edit Value function?

Is it possible to add a simple Edit Value function?

At a first glance this really sounds trivial. This application was made for files with gigabytes in size.
This can also mean that the value you want to edit can be some MB of size. At the moment I'm truncating very long strings. I'd need to consider line wrapping etc. This would probably involve calculating pixel length of text, which gets slow soon.
Long text values may cause all kind of trouble like other editors have like Notepad++ or even paid ones like 010 Editor "the worlds best hex editor" have problems with that (note how line breaking is broken at 100014 characters):

Sorry, from my side, this feature has too much impact.


Static rendering

I replaced many occurrences of MonadWidget and El t with DomBuilder and Element EventResult (DomBuilderSpace m) t respectively, and added a statically rendered version of the page to index.html.
I didn't to much to  prettify anything, please let me know if you'd prefer I do.

Much appreciated.


iOS: Unable to pan image taken with camera

When I snap a photo (vs getting it from my photo library) and then see the screen where I can pan/crop the image to the given rectangle, I am unable to pan my photo.
When I take it from the photo library, I can pan the photo without any problem.
Using 0.18.3

I can't reproduce. I just took a photo and was able to pan/zoom the photo in the subsequent edit mode. I specified allowsEditing: true in my options.

I meet the same problem. when I take a photo I cannot move the crop box. It seems the photo is treated like a 1:1 one.  But I can zoom it. when I zoom in, I can move the crop box. when I user photo from the library everything is ok
I'm using 0.18.5

+1
When I take a picture w/ the camera, I can zoom, but I can't pan the full range of the image.

Guys, I don't know what to tell you here...everything is working correctly as far as I can tell.
@spicylobster "when I zoom in, I can move the crop box"...yeah...this makes sense because your iPhone photos in portrait are the width of the screen. Of course you can't pan when the photo is already displayed at full width. When you zoom in, the photo is larger than the width of the screen, allowing you to pan.
Am I just totally missing something here?

The photo preview box, because it is square, is smaller than the height of
the screen.  So if I want to reposition the photo within the square, I am
unable to.  I'm forced to have the square in the exact center of my photo.
On Tue, Apr 19, 2016 at 7:23 AM, Marc Shilling<EMAIL_ADDRESS>wrote:

Guys, I don't know what to tell you here...everything is working correctly
as far as I can tell.
@spicylobster https://github.com/spicylobster "when I zoom in, I can
move the crop box"...yeah...this makes sense because your iPhone photos in
portrait are the width of the screen. Of course you can't pan when the
photo is already displayed at full width. When you zoom in, the photo is
larger than the width of the screen, allowing you to pan.
Am I just totally missing something here?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/marcshilling/react-native-image-picker/issues/159#issuecomment-211943348

--
Noah Lively
Founder/CEO
KoreMedia Productions
Website solutions, mobile apps and more since 2001
Website: http://www.koremedia.net
Email<EMAIL_ADDRESS>Office:<PHONE_NUMBER>
Toll-Free:<PHONE_NUMBER>
Cell:<PHONE_NUMBER>
Skype: noahlively
"Do things that have never been done before."

Same problem here.

On Apr 19, 2016, at 10:36 AM, Noah Lively<EMAIL_ADDRESS>wrote:
The photo preview box, because it is square, is smaller than the height of
the screen. So if I want to reposition the photo within the square, I am
unable to. I'm forced to have the square in the exact center of my photo.
On Tue, Apr 19, 2016 at 7:23 AM, Marc Shilling<EMAIL_ADDRESS>wrote:

Guys, I don't know what to tell you here...everything is working correctly
as far as I can tell.
@spicylobster https://github.com/spicylobster "when I zoom in, I can
move the crop box"...yeah...this makes sense because your iPhone photos in
portrait are the width of the screen. Of course you can't pan when the
photo is already displayed at full width. When you zoom in, the photo is
larger than the width of the screen, allowing you to pan.
Am I just totally missing something here?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/marcshilling/react-native-image-picker/issues/159#issuecomment-211943348

--
Noah Lively
Founder/CEO
KoreMedia Productions
Website solutions, mobile apps and more since 2001
Website: http://www.koremedia.net
Email<EMAIL_ADDRESS>Office:<PHONE_NUMBER>
Toll-Free:<PHONE_NUMBER>
Cell:<PHONE_NUMBER>
Skype: noahlively
"Do things that have never been done before."
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub

Ok. I understand now.
Apparently, this is a bug in iOS. See here
The top answer here has a solution for accomplishing this without the built in allowsEditing option of UIImagePickerController. I welcome anyone to attempt this change and submit a PR. Since I don't have this immediate need in my apps, I won't be working on it.

+1

Unfortunately that is the native behavior too

This is still an issue... Been hoping this would get resolved over 2019 but images taken with the camera are not able to pan to the top (bottom stuck under pan area). Images from the picker work fine.
The current IOS camera crops fine, maybe there needs to be an update?


[Bugs]Nausf_UEAU Authenticate Request Error: 404 is not a valid status code in UeAuthenticationsPost

Hello, I tried to replace the AUSF of OAI with the AUSF of Free5GC, but the terminal could not access it, so the problem occurred
The free5GC version I use is 3.0.6。
2022-07-06T13:53:47Z [ERRO][AMF][GMM][AMF_UE_NGAP_ID:3] Nausf_UEAU Authenticate Request Error: 404 is not a valid status code in UeAuthenticationsPost

Hello @xiaobinggan-zmh . I see 404 in the error message. I think that SBI producer doesn't response, you can check whether the IP address and port are set correctly. If it is convenient for you, can you provide the configuration or log files? Thanks.


Write test scripts

Write test cases for the contract

For the tests do you prefer typescript ? I can only code it javascript.

TypeScript would be best cuz the project is setup using typescript but feel free to use any I'll migrate it to typeScript, Once I implement the EIP-2535

Ok sure thing 👍🏽

Thanks, appreciate it.


Update schema.py, crash patch

@SeanCole02 The issue has been addressed in the latest version.

@SeanCole02 The issue has been resolved in the latest version.


Context Menu

Hi,
I couldn't get the context menu running, here is my configurations:
$scope.i_treeConfig = {
...
contextmenu: {
items: function(node, callback){
var rename = {
label: "Rename",
action: function(node){
$scope.i_treeInstance.edit(node);
},
shortcut: '113',
shortcut_label: "F2"
};
var actions = {rename: rename};
callback(actions);
return actions;
}
},
...
plugins: ["wholerow", "dnd", "types", "contextmenu"]
};
...
some where in the HTML

the contextmenu won't appear, have i miss something?
Thanks
Ahmad

The context menu plugin is working fine. Please write a plunker that reproduces your problem and I will try to fix it.

@ahmadigbaryia any updates?

http://plnkr.co/edit/noaPgzEKjjSWueciCTgQ?p=preview
it works!


argdict

I get an error while pre-processing the data by command wmt14en-de.sh. Upon investigation, the error is caused by the argument srcdict not being written in the parameters of the python command.
Traceback (most recent call last):
File "preprocess.py", line 359, in
cli_main()
File "preprocess.py", line 355, in cli_main
main(args)
File "preprocess.py", line 64, in main
raise FileExistsError(dict_path(args.source_lang))
FileExistsError: ../data-bin/wmt14_en_de_joined_dict/dict.en.txt
if not args.srcdict and os.path.exists(dict_path(args.source_lang)):
    raise FileExistsError(dict_path(args.source_lang))_

Where is srcdict? Is it necessary? Should I change the code for it to work?
EDIT: I changed the code from:
python preprocess.py --source-lang en --target-lang de
--trainpref $prep/train --validpref $prep/valid --testpref $prep/test
--destdir ../data-bin/wmt14_en_de_joined_dict
--joined-dictionary
to
fairseq-preprocess --source-lang en --target-lang de
--trainpref $prep/train --validpref $prep/valid --testpref $prep/test
--destdir ../data-bin/wmt14_en_de_joined_dict
--srcdict ../data-bin/wmt14_en_de_joined_dict/dict.en.txt --tgtdict ../data-bin/wmt14_en_de_joined_dict/dict.de.txt
was that right?

thanks for reaching out, it seems that the error is file  ../data-bin/wmt14_en_de_joined_dict/dict.en.txt already exists.
You can fix this by: 1) delete the folder ../data-bin/wmt14_en_de_joined_dict, and 2) ensure the folder ../data-bin exists.
BTW, the preprocess bash file is designed to run at the pre-process folder.


SSH-key generation is not work

Hi All,
I am trying to install RancherOS on my VirtualBox before that I tried to login ssh via ISO and created the ssh-keygen in the rancher id and I copied the id.rsa.pub key into my laptop .ssh/authorized_keys and If I try the SSH the ISO still its asking the username password for the rancher users.
Even I tried installation into HDD after passing cloud-config-file after successful installation still when I try to ssh its asking the password.
cat cloud-config-file
#cloud-config
ssh_authorized_keys:
ssh-rsa
AAAB3NzaC1yc2EAAAADAQABAAACAPVl9tlKCFr2bz8bVxRTvbY/GCbMENek7dLOmZpR57b8PWUdVx1eqBo72RIyzwm5zvYq5w== rancher
What really I am missing here.

you need the format of your cloud config file to look like this. Please look at the spacing near the ssh key. It needs to be indented and have a dash.
#cloud-config

ssh_authorized_keys:
  - ssh-rsa
AAAB3NzaC1yc2EAAAADAQABAAACAPVl9tlKCFr2bz8bVxRTvbY/GCbMENek7dLOmZpR57b8PWUdVx1eqBo72RIyzwm5zvYq5w== rancher

After successful install of RacherOS and then added rancher agent to access via UI but still I could not see in the host list

I ran below in my RancherOS still I don't see the Host in the UI

are you using the same RancherOS instance for your rancher/server and rancher/agent? If so, you'll need to add in -e CATTLE_AGENT_IP=<server_ip> into the docker command to have the rancher/agent select the correct IP.
http://rancherio.github.io/rancher/docs/infrastructure/hosts/custom/#adding-hosts-to-the-same-machine-as-rancher-server

Nope My RancherOS is running on my VirtualBox with Bridge Interface and Rancher is running on my Laptop.

Same I tried with CoreOS its working where I could able to view the CoreOS into Hosts list.
Still in RancherOS its not working. Do I need to start anything on RancherOS

Can you try adding the -e CATTLE_AGENT_IP=<rancherOS_IP> to the command?

Should I have to give this command from RAncherOS or on RacherUI

From my RancherOS I can see the status of docker ps
CONTAINER ID        IMAGE                  COMMAND             CREATED              STATUS              PORTS               NAMES
4a5531789478        rancher/agent:v0.7.9   "/run.sh run"       About a minute ago   Up About a minute                       rancher-agent
Still the from the Rancher Management I could not able to view the host yet I ran as many times.

I tried by Adding the agent again from my RancherOS with below parameter but still I could not see the Host in my Rancher Management UI
<IP_ADDRESS>  : RancherOS IP ( Which Runs on my VIrtualBox)
<IP_ADDRESS>    : Rancher Management IP ( Which Runs in my Local Laptop)
sudo docker run -d --privileged -e CATTLE_AGENT_IP=<IP_ADDRESS> -v /var/run/docker.sock:/var/run/docker.sock rancher/agent:v0.7.9 http://<IP_ADDRESS>:8080/v1/scripts/E6AE49FA28D96B299ECF:1434970800000:z3AZLRbGC8tTJfajT2zv4fgrjcI

@sjkeerthi sorry for the delay. can you provide the logs from the rancher/agent?
If <IP_ADDRESS> is your rancher management IP, then the command should be something like
sudo docker run -d --privileged -e CATTLE_AGENT_IP=<IP_ADDRESS> -v /var/run/docker.sock:/var/run/docker.sock rancher/agent:v0.7.9 http://<IP_ADDRESS>:8080/v1/scripts/E6AE49FA28D96B299ECF:1434970800000:z3AZLRbGC8tTJfajT2zv4fgrjcI

Can you also make sure your host registration is set up for <IP_ADDRESS>:8080?

@sjkeerthi Please re-open if you are still having issues. Revisiting the comments, you can look at our troubleshooting guide on what could have been the issue. http://docs.rancher.com/rancher/faqs/troubleshooting/


docs: typo in oauth2-proxy.md

Which Problems Are Solved
This PR fixes a typo in the documentation
How the Problems Are Solved
N/A
Additional Changes
N/A
Additional Context
N/A

Hi @Cubox
Thanks for your contribution.
If you want to get a small present from us, please reach out to<EMAIL_ADDRESS>

@hifabienne I updated my branch, but one GH Action job failed above (not from me)


fix logo image in the coins section

Description

Waiting for https://github.com/iotaledger/iota/issues/3687


COSMOS DB - MongoDB regex query Issue on contains ignore case

Project Overview:
I have spring boot project using MongoDB for storage. Added Spring-data-mongodb-2.0.6.RELEASE.jar as mongodb dependency. Having http:///{contextpath}/findAll rest service API's,  using QueryDsl predicate for filter, sort and search functionalities. Using predicate contains, containsIgnoreCase, startsWithIgnoreCase ,endsWithIgnoreCase functions/operation for mongo document fields. Its generating regex for correponding functionalities as below:
Ex: Searching "Offers" string in name field from "offers" collection entries. { "name" : { "$regex" : ".\DOffers\E."}} .
Everything working fine for Standalone Mongo server.
Issue:
When We are connecting our spring boot application with Azure Cosmos DB multi-model database with MongoDB driver facing some issues regarding regex engine. Standalone Mongo Server using PCRE(Perl compatible regular expressions) but Cosmos DB using ECMAScript based regex engine. So QueryDsl generated regex doesn't support in Cosmos due to incompatible syntax issues while running against Cosmos database.
Solution Tried:

Changed contains functions to matches but matches function is case sensitive. Need a case-insensitive search. MATCHES_IC operation available in predicate operation model but don't have an exposed API/Method for machesIgnoreCases.
Don't have an option to combine the custom query with a predicate object.

Solution Expected:

Need an option for the case-insensitive search for Azure CosmosDB.
Any other way to achieve this from a custom query.

Please Refer below docs for reference:
Azure Doc
MongoDB Doc

Looks like Azure is on it.


controllers: Generate events for the storagesystem and storagecluster

Signed-off-by: Nitin Goyal<EMAIL_ADDRESS>

/override ci/prow/odf-operator-bundle-e2e-aws

/test images

/override ci/prow/ci-index-fixed-dependencies


API client

Changes
Takes some basic API classes & the user provider from Aurora and refactors them to remove their dependency on any Laravel-specific packages. Then sets up a service provider that allows API class to be resolved from the service container and wraps exceptions in their Laravel equivalents.
How should this be reviewed?
There's a decent amount of code, so I'm not sure how easy reading the diff will be. :grimacing: If you check out the src/ folder on the branch it should be pretty easy to step through things.

For review: @angaither or @weerd

yaiiis

seems good! :+1:

:bow:


Problem with flow analysis and recursion

TypeScript Version:  2.0.3
Code
I have a recursion which has one useless code path which will never be hit but confuses the flow analysis:
let res = false;
const id = "bla";
var hierarchyRecursion = function (h) {
    if (h.__id === id) {
        res = true;
        return;
    }

    /* useless code */
    if (res === true) {
        return;
    }
    /* end of useless code */

    for (let i: number = 0, ii: number = h.children_hierarchy.length; i < ii; i++) {
        var childHierarchy = h.children_hierarchy[i];
        hierarchyRecursion(childHierarchy);     // This can change res to true!
        if (res === true) {
            return;
        }
    }
};

Typescript 2.0.3 thinks that res can not be true because of the early return. I will remove the useless code, but probably there is valid code which trigger this issue.

See #9998


Fix null ref exception in CC commands

This fixes 2 problems:

File.Move() was failing on the 2nd build because the destination file already existed.
Two catch blocks that issue a warning were blowing up trying to use ex.InnerException when it was null

Looks good. :)


Having a problem with get a Answer body

Thanks for these libraries,
But i have a problem with get a Answer's body
class Answer(JSONModel):
    """Describes an answer on a StackExchange site."""

    transfer = ('is_accepted', 'locked_date', 'question_id', 'up_vote_count', 'down_vote_count', 'view_count', 'score',
        'community_owned', 'title', 'body')

Here is the implementation of Answer class
As you can see the "transfer" statement, the code include "body" json object
But, "body" python class variable isn't exit
How to get a Answers body?

Thanks @lucjon. Is there any way I can pre-load the answers from a question ID? I think I may have figured out the filter for this, but I'm not sure if that functionality is available in this.
Cheers,
Miles

As a side note, it seems it is impossible to load the body as markdown (body_markdown), even though it is possible to request it, and the dict for the object shows that it was requested. Where should I look to solve this?

Hello, apologies for the delayed response.
Both of the above are indeed possible: the main thing is to ensure that the filter you choose includes both the question.answers field and the answer.body and question.body_markdown fields (see e.g. this demo on the API page, with filter !-*f(6rktpIY5). Supplying this filter to the library, we get the following results:
>>> import stackexchange
>>> so = stackexchange.Site(stackexchange.StackOverflow)
>>> q = so.question(4, filter = '!-*f(6rktpIY5')
>>> q
<Question 'While applying opacity to a form should we use a decimal or double value?' @ 7fcf39f9b198>
>>> q.body_markdown
'I want to use a track-bar to change a form's opacity.\r\n\r\nHere goes my code:\r\n\r\n    decimal trans = trackBar1.Value / 5000;\r\n    this.Opacity = trans;\r\n\r\nWhen I build the application, It gives following error:\r\n\r\n> Cannot implicitly convert type 'decimal' to 'double'.\r\n\r\nI tried using `trans` a `double`, but then the control doesn't work. This code worked fine in past VB.NET project. \r\n\r\n'
>>> q.answers[0].body
"
An explicit cast to double isn't necessary.
\n\n
double trans = (double)trackBar1.Value / 5000.0;\n
\n\n
Identifying the constant as 5000.0 (or as 5000d) is sufficient:
\n\n
double trans = trackBar1.Value / 5000.0;\ndouble trans = trackBar1.Value / 5000d;\n
\n"

The above is all performed with one request. If running the above code yourself does not give the expected results, try upgrading to the latest version of the library — if you still have any problems, don't hesitate to get back in touch.

Thanks, @lucjon, I will try it out! Here's the plugin I'm working on if you're curious: (made with your API): https://github.com/MilesCranmer/gso. There's no multi-answer support right now but I hope to add it soon after reading the demo you linked.
Cheers,
Miles

That looks neat, I'll need to give it a go! I'm glad you found the library
useful.
2017-06-27 5:51 GMT+01:00 Miles Cranmer<EMAIL_ADDRESS>
Thanks, @lucjon https://github.com/lucjon, I will try it out! Here's
the plugin I'm working on if you're curious: (made with your API):
https://github.com/MilesCranmer/gso. There's no multi-answer support
right now but I hope to add it soon after reading the demo you linked.
Cheers,
Miles
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lucjon/Py-StackExchange/issues/31#issuecomment-311252446,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAClWJS737u8BUTlr3ToB02PMuTcnFG1ks5sIIpagaJpZM4C1umC
.


⚠ Bofrost.es has degraded performance

In de1b886, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1694 ms

Resolved: Bofrost.es performance has improved in 27eac53 after 6 minutes.


question about which ECO code to use

I'm working on curating literature about Fanconi Anemia and have a question about the best ECO code to use.
There is a study (PMID:20603073) that did a high throughput screen of siRNAs against various genes, and inferred potential gene candidates as being implicated in Fanconi Anemia. My question is, is 'high throughput cell biology evidence used in automatic assertion' (ECO:0006060) an appropriate code for this- as it is just hypothetical evidence but has not been validated by further studies.
Thanks!
cc @jmcmurry

This is great, thanks for your help!


Rebar generate not work if erlang compile manualy (Ubuntu)

I`am clone erlang from github and compile it. In my erlang folder in lib directory no version erlang library. Only simpe name (asn, common_test, ... reltool (not reltool-0.6.6) etc).  If i run
rebar compile generate

i see error:
ERROR: Reltool support requires at least reltool-0.5.2; this VM is using reltool

Sorry for my english.

@Slavenin does #418 work for you?

@Slavenin does #418 work for you?

Fixed in #418.


Pool popover

moved popover element into tokenavatarset
weight is optional
backward compatible for when there is only an array with addresses available

Hydration error when loading the pools page

you have a type error here


license

Can we add a license to this package? https://help.github.com/articles/licensing-a-repository/ MIT perhaps?

Release 1.0.1 includes a license file


until

Like R.unless but applies function until predicate is satisfied and passes new values to predicate each step.
Or while which is the same but with complement pred
R.until(
    R.gt(R.__, 100),
    R.multiply(2)
)(1) === 128

What do you see as the use case for this? It feels a little imperative, like while as you said.
What is the type of until? Looks like
(a -> Boolean) -> (a -> a) -> a -> a
is that correct?

... and would we just assume caveat emptor for
R.until(
    R.gt(R.__, 100),
    R.identity
); // this might take a while...

?

What do you see as the use case for this?

Use cases similar to native while and R.unfold. In comparison with unfold - it seems weird to do predicate and modificator in one function with mixed type [a] | bool.
Example I've provided is similar to what I have now in my code.

(a -> Boolean) -> (a -> a) -> a -> a

Yes

and would we just assume caveat emptor for

Yeah, actually I just ran with it. I don't know how to reliably solve this. But it obvious when running (if pred doesn't depend on externals that can be very different depending on use cases), it just hangs :)
Also unfold have this.

It feels a little imperative

I don't see anything imperative here

well, i'm persuaded that this is worth a look. I'm pretty sure we can't guard against the (halting) problem @CrossEye pointed out.

Agreed.  This could be useful.
@iofjuupasli: Do you have an implementation in mind?

This could be handy for implementing a poor-man's tail call via trampolining with an Either type.
const until = curry(function until(pred, step, init) {
  var val = init;
  while (!pred(val)) {
    val = step(val);
  }
  return val;
});

Left signifies the function should terminate, while Right signifies there is more recursion necessary.
// Simple recursive factorial
//:: Either Int [Int, Int] -> Either Int [Int, Int]
const factE = chain(([n, x]) =>
  n === 0 ? S.Left(x)
          : S.Right([n - 1, n * x]))

// `S.either(identity, identity)` is used to extract the value from the final `Left`
const fact = n =>
  S.either(identity, identity, until(S.either(T, F), factE, S.Right([n, 1])));

fact(4); // 24

Very interesting, @scott-christopher!
S.isLeft could be used in place of S.either(T, F) (though it's thrilling to see that isLeft can be defined so simply in terms of either).

S.isLeft could be used in place of S.either(T, F)

Ah, I somehow missed that and thought it only existed as a property of the instance. :)
It reads much nicer as until(S.isLeft, ...) too.

We could potentially include a stack-safe trampoline function without depending on an external Either type too. This would just require the use of some continuations to take the place of Left and Right.
function trampoline(fn, initVal) {
  const done = val => (l, r) => l(val);
  const next = val => (l, r) => r(val);
  const step = e => e(void 0, a => fn(done, next, a));
  const isDone = e => e(T, F);

  return until(isDone, step, next(initVal))(identity, void 0);
}

Which could be used like so:
const sum = list => trampoline(
  (done, next, [sum, xs]) => isEmpty(xs) ? done(sum) : next([sum + head(xs), tail(xs)]),
  [0, list]
);

Alternatively, the continuations could be exposed via left, right and choice, rather than passing them as arguments to the trampolining function.
const left  = val => (l, r) => l(val);
const right = val => (l, r) => r(val);
const choice = curry((whenL, whenR, e) => e(whenL, whenR));

const trampoline = (fn, initVal) =>
  until(choice(T, F), choice(void 0, fn), right(initVal))(identity, void 0);

const sum = list => trampoline(
  ([sum, xs]) => isEmpty(xs) ? left(sum) : right([sum + head(xs), tail(xs)]),
  [0, list]
);


Clean up bundle config generation for Samza Runner

Refactor the samza runner configs into a new function with consideration of autosizing configs. Also add unit test for it.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @mynameborat please review. Thanks.

@xinyuiscool Can you look into the test failure before you merge?

@xinyuiscool Can you look into the test failure before you merge?

Yup, seems some env issues in the windows OS test. Will wait till Java PreCommit pass.

Run Java PreCommit


pin dependencies to version

I keep getting this error which I think is due to not pinning a version in the gemspec file.  This PR fixes the problem below by pinning the version.
WARN: Unresolved specs during Gem::Specification.reset:
      httparty (>= 0)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.

Merged manually, thanks. 8e4f8d23ed102932a18eeff2343c97a6892c05b9


Querying users crashes in Windows

I can pretty consistently get a crash from this code snippet while querying the users on Windows (Windows 10 Enterprise, Version 1903. Build: 18362.239):
    let mut users = heim::host::users();
    while let Some(user) = users.next().await {
    }

I can only reproduce this when running in release mode. It doesn't seem to repro in debug mode.

I believe that it might be the same problem as in #32. By crash you mean an error returned, not the panic, right?
And thanks for a thorough testing, Windows implementation definitely needs some more attention :)

For this one, it's a real crash. The option to run in the VS Debugger pops up and points at the heim Session area (though beyond that it's hard to say what code is causing it)

Hey, @jonathandturner!
I was able to reproduce this issue, pointer arithmetic is hard, as usual :) Fix is in issue-93 branch, it works for me, maybe you will find time to test it too before merge?

Yup, that works good. Thanks, @svartalf!

Awesome, thanks for bug reports and testing once again!
I'll publish a new release in a few days if nothing new will come up.

Quick follow-up: heim = "0.0.6" was published with these fixes included


Proposal: add links to repos in "Releases" tab

right now it only lists the repos with latest as version, it might be a good idea to add links to the repos in one place.
The page under References > Repo structure doesn't have it in a list format and isn't an obvious location a user would look, but Releases tab seems like a good place to have those links there

@djosborne I thought you made this change, but don't see it in master. Did you PR it?

This is already done. Closing the issue


JS: Group PRs for tightly couple monorepo deps (currently just Vue)

Some dependencies require they are kept in lock-step with other dependencies. In these cases, grouping is easy.
Initially this will only handle Vue, but can be expanded later. Note that only dependencies where the grouping is obligatory (rather than just possibly a preference some users may have) should be handled in this way.

@feelepxyz - FYI.

Dependabot already handles grouping for Ruby gems that need to be updated together. (It's only really JS where we have this problem, because the ecosystem doesn't use flat resolution, and the peerDependencies specifier is underused.)


Default message name

Two years old, still one of my most linked article: http://verraes.net/2013/09/sensible-interfaces/
One of the points here (which I agree with) is that Default means nothing. Default what?
Although it is a default implementation, I think PlainMessage sounds better. WDYT?

:+1:

I am assuming this BC feature will stick around for some time then:
class DefaultMessage extends PlainMessage {}
?

Given there is no stable release, not sure if it is necessary.

It will if somebody does the PR for this :)

Although I agree @sagikazarmark, we're already using bernard in two different production environments already.. So, I would appreciate some form of semver.. (although semver does indicate that 0.y.z is non-stable until 1.0.0).
I guess it's up to @henrikbjorn :dancer:

Worst case scenario is to manually alias the class (or even do that in bernard?)

My point is that starting 1.0 with already deprecated features is not really a good communication of semver.

Worst case? class DefaultMessage extends PlainMessage {} should like an OK solution for releases up to, but not including, 1.0.0.
As already stated, we're using bernard heavily, and we can provide much better testing of new versions if we don't have to fix our code for every release.

Worst case?

I meant you can just add a class_alias somewhere at the beginning of your application. Problem solved :wink:

Well, I could imagine a solution, like maintaining BC until 1.0 (although as you also said, that's not semver).

Whaaa.... class_alias should never be a feature in production php.. It's acceptable for mocking, yes...
I could rant on this for some while.

Why? And how is it related to mocking? Not the best solution I admit that, but I don't see why it couldn't be a temporary one, even in production. (Many frameworks actually did it in the past, before DI started to spread)

Just the point that it doesn't get picked up by auto completions/code intels is a good enough reason for me to drop it. But anywho, it's not a big update for me to change DefaultMessage to PlainMessage anyways, as we have our own message containers (that just extends DefaultMessage). So it's maximum 10 updates.
I just remember when I updated our code base to match the newest bernard, with events.. That was a lot more work.

I just remember when I updated our code base to match the newest bernard, with events.. That was a lot more work.

Well, yeah I can understand that. Kind of hard to work without a BC promise, but at this phase, it is also hard to have one.

Sooner, rather than later, bernard should be 1.0.0 anyways. If it keeps going non-stable for months to come, I would assume that people opt not to use it (for the reasons already mentioned).
This discussion can probably continue in another issue.

I would be happy to release a 1.0 as is. The only problem is that i don't use it much anymore myself. So if someone can convince me its a good enough ill tag a 1.0

I would not. :smile:
Take a look at the list of issues and PRs. Many of them contain BC breaking stuff. Also, I would do some redesign regarding driver interfaces as mentioned in #224, etc.


Scroll bug on iPhone 6 / iOS 8

Regularly when scrolling on the menu, the menu doesn't move but the page content does instead. It is as if the focus is still on the content and not on the menu.
Only way to get the menu to scroll when this happen is to close and reopen the menu or to keep scrolling until the menu randomly get the focus.
Does only happen on iPhone/iPods with iOS 8, not on Android.
I have no min-height set, nor changed the css of mmenu.
Happens also on the demo page: http://mmenu.frebsite.nl/demo/index.html?demo=menu-onepage
(Even if the menu is not long enough to be scrollable, I think it is the same issue)
Any ideas ?

If the menu is not long enough to be scrollable, touch-screens might start scrolling the page. If they wouldn't, you'd probably get a lot of issues in other parts of websites. There is not much I can do about that without introducing a whole new range of issues.
If the menu is long enough to be scrollable, the menu should scroll. But again, there is not much I can do to stop the page from scrolling.
FYI, all examples on the website seem to scroll as expected on my iPhone 6 with iOS 8.

Same happens to me. I'm pretty sure it has something to do with the -webkit-overflow-scrolling "bug".
(as in here https://github.com/scottjehl/Device-Bugs/issues/14)

iOS5 doesn't support scrolling in a fixed div. iOS5 is really old, even an iPhone 3Gs can be updated to iOS6. So if that indead is the issue, I'm not going to spend time to fix it (couldn't do any testing anyway).

Im testing it on a iPhone 6 and Samsung S5 and the problem is on both, but its easier to reproduce on the iphone 6. I can reproduce the same behavior on the mmenu demos online (just open the page http://mmenu.frebsite.nl/demo/index.html?demo=menu-onepage on a iphone 6, and you can see the vertical scroll problem). If you need more info, os PS I can help.
It looks like the problem disappears when the menu activates the vertical scroll.

I tested that demo on my iPhone 6 but could not reproduce the issue.
If you find anything that might help, please let me know.

this is an issue for me as well!

Same here.  Looks like the mmenu is loosing focus after it is open.

Menu is open and it's long enough that scroll is applied.
Move the menu up and down few times, it might take few finger swipes for it to mess up.  At first menu might move up and down, then the menu gets stuck and page moves up and down.  The only way to regain focus is press and hold on the menu for a moment and then you can scroll it again.

Many times issue happens as soon as the menu is loaded, sometimes it takes a moment for the bug to appear.
Using iOS 8 / iPhone 6 / Safari.  I was unable to recreate this in Chrome browser on the same device.
If there's anything else I can do to help, let me know.

I fixed it on my end. Let me know if you want me to contribute to the repo

Great news! Please can you publish or send the fix? I really need that problem fixed on my project.
Thanks
Enviado do meu Windows Phone
-----Original Message-----
From: "nolawi"<EMAIL_ADDRESS>Sent: 23/06/2015 19:28
To: "BeSite/jQuery.mmenu"<EMAIL_ADDRESS>Cc: "Master-Oliveira"<EMAIL_ADDRESS>Subject: Re: [jQuery.mmenu] Scroll bug on iPhone 6 / iOS 8 (#332)
I fixed it on my end. Let me know if you want me to contribute to the repo
—
Reply to this email directly or view it on GitHub.

Any progress on this? I noticed this on Android Phones.

hi @nolawi did you push the fix to the repo? That fix would help us.

hi. any body fix this issue? please help.

@xpur I am not sure, but I had to move away from mmenu due to this weird issue. Sorry :(
I love this mmenu but until its fixed or pushed to stable version can't use it. I moved to use menu from foundation

Same problem hereon an iPhone 5S & iPhone 6 running iOS8, any progress? I might have to implement another menu too. :(

I'm having issues with this too.

Hi, is there any news?

Why close it while it still happens?

This is my dirty workaround but seems work well.
$(function(){
	var isMenuOpened = false;
	var menuScrollElementId = "#mm-1";

	var menu = $("Your mmenu element").data("mmenu");

	//do not use Open the menu
   	$("Your menu button element").click(function(){
		isMenuOpened = true;
		menu.open();
		$(menuScrollElementId).scrollTop(0);
		return false;
    });

	menu.bind("opened", function () {
		isMenuOpened = true;
	});
	menu.bind("closed", function () {
		isMenuOpened = false;
	});

	//prevent body scroll
	$(document).on("touchmove", function(e) {
		if (isMenuOpened) e.preventDefault();
	});
	$("body").on("touchstart", menuScrollElementId, function(e) {
		if (!isMenuOpened) return;
		if (e.currentTarget.scrollTop === 0) {
			e.currentTarget.scrollTop = 1;
		}
		else if (e.currentTarget.scrollHeight === e.currentTarget.scrollTop + e.currentTarget.offsetHeight) {
	    	e.currentTarget.scrollTop -= 1;
	    }
	});
	$("body").on("touchmove", menuScrollElementId, function(e) {
		if (!isMenuOpened) return;
		if ($(this)[0].scrollHeight > $(this).innerHeight()) e.stopPropagation();
	});

	//fix issue after device rotation change
	$(window).on("orientationchange", function() {
		$(menuScrollElementId).scrollTop(0);
		$(menuScrollElementId).css({ "-webkit-overflow-scrolling":"auto" });
		$(menuScrollElementId).css({ "-webkit-overflow-scrolling":"touch" });
	});
});

based on http://stackoverflow.com/a/14244680/3743119

It works!!!
Thank a lot @hirokimu!!!!!

Thanks for taking the time to find a solution.
I'll see if I can create an add-on out of this.

Could anyone confirm this issue ONLY appears on iOS ?
If so, it could be included by default and used on iOS only.

Im testing it on a iPhone 6 and Samsung S5 and the problem is on both, but its easier to reproduce on the iphone 6. I can reproduce the same behavior on the mmenu demos online (just open the page http://mmenu.frebsite.nl/demo/index.html?demo=menu-onepage on a iphone 6, and you can see the vertical scroll problem)

I've just tested the demos ios, safari and chrome and it does happen in both and on android in chrome but not firefox but I think this may be because the demos menus are not long enough to scroll.
It did not happen on the main menu on http://mmenu.frebsite.nl on any of them.
I think to be sure it needs to be tested on pages that have both long menus and content long enough to scroll.

@FrDH Thank you for your nice project. I could reproduce this issue on mmenu.frebsite.nl with my Nexus6/Chrome. But iOS is much easier to reproduce.

FWIW, I found that using the scrollBugFix add-on helped, but it had a bug in it. See https://github.com/FrDH/jQuery.mmenu/issues/532


[Customer Support Chat] 'Name' text field allows 1 character instead of 2

Environment
Google Chrome - v. 97.0.4692.71
OS - Windows 10 Pro 64bit v. 21H1
Preconditions
Go to https://horondi-front-staging.azurewebsites.net/login
Steps to reproduce

Click on the 'Customer support' icon on the right corner
Click on the 'Email icon'
Set into the 'Name' text field one letter (e.g 'A')
Set valid Email into the 'Email' field (e.g<EMAIL_ADDRESS>Set into the 'Your message' field 2 characters (e.g qw)
Click on the 'Send' button

Actual result
The system allowed 1 character and sent a message
https://user-images.githubusercontent.com/86916836/151431081-8ac1f7ef-8f5a-4b44-b33b-c421c375abee.mp4
Expected result
Error message with the text “Field should contain from 2 to 30 characters” is displayed below the 'Name' field

Link to user story
https://github.com/ita-social-projects/horondi_client_fe/issues/151


Subscribtion TIMEOUT for topics starting with $aws

Describe the bug
Am sure this is not a bug but rather a silly mistake from my end.
It seems that whenever i try to subscribe to $aws/certificates/create/json i get an error with timeout, i am trying to setup the provisioning by claim and everything is going well upto this point.
So i have done a few tests to narrow down my findings, below should should help:

I setup the provisioning policy and got the certs as per the guide here.
I coded a quick python script to check if the template and AWS server side is setup correctly, all is well and i get the official certs and token.
To make sure that my ESP code is correct i added a new topic and topicfilter to my provisioning policy and ran the python script for the topic, as expected it subscribed and was able to push to the test topic, i then changed the topic of subscription on rtos to the test and my device ran perfectly, connected, subscribed and pushed.
So know i tried changing the topic to the original endpoint $aws/certificates/create/json but again TIMEOUT is what i get. if i change it to anything else say test/9 it works fine.

System information

Device: ESP32
IDE: VSCode
OS: Windows
Version of FreeRTOS: 201912.00-396-g314275376
Project: Custom Application

Expected behavior
When trying to subscribe to a topic filter of $aws/certificates/create/json the device subscribes, same would apply to making a mqtt push.
Screenshots or console output
GAP procedure initiated: stop advertising.
5 513 [iot_thread] [INFO ][MQTT][5130] MQTT library successfully initialized.
6 513 [iot_thread] [INFO ][Shadow][5130] Shadow library successfully initialized.
7 513 [iot_thread] [INFO ][DEMO][5130] Thing Name is PROV5130 (length 8).
E (5726) PKCS11: failed nvs get file size 4354 0
8 1042 [iot_thread] [INFO ][MQTT][10420] Establishing new MQTT connection.
9 1042 [iot_thread] [INFO ][MQTT][10420] (MQTT connection 0x3ffb34f4, CONNECT operation 0x3ffb3618) Waiting for operation completion.
I (10736) AWS PROV => : Filter Length = 29
10 1072 [iot_thread] [INFO ][MQTT][10720] (MQTT connection 0x3ffb34f4, CONNECT operation 0x3ffb3618) Wait complete with result SUCCESS.
11 1072 [iot_thread] [INFO ][MQTT][10720] New MQTT connection 0x3ffb5038 established.
12 1072 [iot_thread] [INFO ][MQTT][10720] (MQTT connection 0x3ffb34f4) SUBSCRIBE operation scheduled.
13 1072 [iot_thread] [INFO ][MQTT][10720] (MQTT connection 0x3ffb34f4, SUBSCRIBE operation 0x3ffb3618) Waiting for operation completion.
14 1572 [iot_thread] [INFO ][MQTT][15720] (MQTT connection 0x3ffb34f4, SUBSCRIBE operation 0x3ffb3618) Wait complete with result TIMEOUT.
15 1572 [iot_thread] [INFO ][DEMO][15720] Subscribtion topic timed out.
16 1572 [iot_thread] [INFO ][MQTT][15720] (MQTT connection 0x3ffb34f4) MQTT PUBLISH operation queued.
17 1573 [iot_thread] [ERROR][NET][15730] Error -27648 while sending data.
18 1573 [iot_thread] [ERROR][DEMO][15730] MQTT PUBLISH 1 could not be sent. Error NETWORK ERROR.
19 7073 [iot_thread] [ERROR][NET][70730] Error -27648 while sending data.
20 7073 [iot_thread] [ERROR][MQTT][70730] (MQTT connection 0x3ffb34f4) Failed to send PINGREQ.
21 7073 [iot_thread] [INFO ][MQTT][70730] (MQTT connection 0x3ffb34f4) Network connection closed.

To reproduce
Steps to reproduce the behavior:
You can run the original MQTT Demo but modify the demo main.c, adding the code below to handle subscription or making a mqtt push
Code to reproduce the bug
The code is longer than 30 lines so please review here.
Thank you!

Hello @AbdeenM,
I notice the publish operation after the subscribe fails with a network error. If you remove the subscribe, does the publish succeed? If so, then it's possible the server could be closing the network connection due to unexpected data in the subscribe packet. You could try adding a log statements before the subscribe operation, to make sure the topic filter is correct, as well as enabling debug logs for MQTT, so you can view the logs for the subscribe operation.
Second, are you sure you need to subscribe to $aws/certificates/create/json? In the AWS blog you referred to, as well as the Python reference client linked in it, there didn't seem to be step for subscribing to that topic, only publishing to it. The Python client looked like it only subscribed to the topic with a /rejected suffix. As $aws topics are reserved by the broker, it's possible the broker will send the messages without the client actually subscribing to the topic. If the broker isn't expecting a subscription on one of these topics, it could result in the errors you're seeing.
Also, have you looked at the beta Fleet Provisioning library in the v4_beta branch of the Embedded C SDK? This seems to be what you're trying to do, and might be helpful for reference.

Hello @muneebahmed10 !
Thank you for replying.
Yes correct, the push operation always yields a network error, if i remove the subscribe it still fails with the network error.
Okay i just tried what you suggested, i logged the data before subscription and push operations to check if the topic string is correct and it was correct for the subscription but wrong for the push. i fixed it but still got the network error for push operation.
I should mention i dont think this is the issue as i actually had them statically defined before my gist (as in publishInfo.pTopicName = "$aws/certificates/create/%s"; and pSubscriptions.pTopicFilter = "$aws/certificates/create/%s"; and i was still getting these TIMEOUT and NETWORK ERROR respectively.
Could you guide me on how to enable the debugging MQTT logs you mentioned, thank you.
No i don't need to subscribe to $aws/certificates/create/json this was just for testing. i only need to make the push operation to get the token and certs. Originally i didn't have the subscribe code you see in the gist and i was getting the network error a few steps down the line of debugging and i started testing for subscription as well.
My python script is different from the one on the blog (see below). am using a different library paho and it works as expected with the suffix of $aws
No i haven't seen the library you shared thank you, i will review the code base and maybe find something interesting, I will update with a comment after.
Python Code
import sys
import ssl
import paho.mqtt.client as mqtt
import json
import time

def on_connect(mqtt, obj, flags, rc):
    if rc == 0:
        print('Subscriber Connection Status Code: ' + str(rc) + ' | Connection Status: Successful')
    elif rc == 1:
        print('Subscriber Connection Status COde: ' + str(rc) + ' | Connection Status: Refused')

def on_subscribe(mqtt, obj, mid, granted_qos):
    print('Subscribed: ' + str(mid) + ' ' + str(granted_qos) + 'data' + str(obj))

def on_message(mqtt, obj, msg):
    print('Recieved Message From Topic: ' + msg.topic + ' | QOS: ' + str(msg.qos) + ' | Data Received: ' + str(msg.payload))

mqttc = mqtt.Client(client_id='ProvTest')

mqttc.on_connect = on_connect
mqttc.on_message = on_message
mqttc.on_subscribe = on_subscribe

mqttc.tls_set('./AmazonRootCA1.crt',
certfile='./648f37da4a-certificate.pem.crt',
keyfile='./648f37da4a-private.pem.key',
tls_version=ssl.PROTOCOL_TLSv1_2,
ciphers=None)

mqttc.connect('a214zveo184gfp-ats.iot.us-east-1.amazonaws.com', port=8883)

time.sleep(5)

mqttc.loop_start()

# Not needed, was testing...
mqttc.subscribe('$aws/certificates/create/json')

mqttc.publish('$aws/certificates/create/json', '{}', 0)

while 1==1:
	time.sleep(0.5)

Hello Again @muneebahmed10 !
I managed to getting working, the push operation is successful! am attaching the new code here.
Only thing is am not sure how to handle the response to the push operation, how can i handle the response and get the payload?
Thanks again!

Hi @AbdeenM, I am glad to know that you were able to resolve the PUBLISH operation issue!
The response from the $aws/certificates/create/json topic comes on either of the $aws/certificates/create/json/rejected OR ``$aws/certificates/create/json/accepted` topics. Both of these topics can be subscribed to by the application along with a common subscription handler OR separate subscription callback for each topic to process the incoming response from the server.
( As mentioned earlier by @muneebahmed10), you can refer to the Fleet Provisioning library in the v4_beta_deprecated branch of Embedded C SDK repository on how the response is handled. The library registers a common subscription callback for both the "rejected" and "accepted" response topic filters, and then parses the topic when invoked for an incoming server response on either of those topics. (You can refer to the implementation of the AwsIotProvisioning_CreateKeysAndCertificate API function here for example on handling the server response using callbacks. Note: As this is a library API, it does takes the "handler" from the caller, and calls it within the subscription callbacks it registers with the MQTT library for the "accepted" and "rejected" topics. )
If the server response is on the "accepted" topic, then it would contain the new credentials (device cert and device private key in PEM format), certificate ID and ownership token (reference to the API doc: https://docs.aws.amazon.com/iot/latest/developerguide/fleet-provision-api.html#create-keys-cert). In your case, he subscription callback/handler can write the credentials to Non-volatile storage in your device.  If the server response is on the "rejected", the subscription callback can notify the application about the request failure.

Thank you so much @aggarw13 it is all well now.
I thought the payload was suppose to be handled within the publish operation itself, rather than from subscribing to the accept and reject.
Closing now and thanks again.


Merge from external

This was a failure! This PR is not correct!

This was a failure! This PR is not correct!


Add gitlab as a social link

As title, minor improvement

Maybe you can send a PR.

Looks like they already exist, #352 and also related to #333.
I'll wait for them to be actually merged in.

Closing this as this is a duplicate of #352


Test IdP test failure

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (2efde4c) 26.44% compared to head (4ff0fde) 23.10%.
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1992      +/-   ##
==========================================
- Coverage   26.44%   23.10%   -3.35%
==========================================
  Files         248       48     -200
  Lines       28984     9372   -19612
  Branches     5150        0    -5150
==========================================
- Hits         7664     2165    -5499
+ Misses      21074     7084   -13990
+ Partials      246      123     -123

Flag
Coverage Δ

adapter
24.42% <ø> (ø)

common-controller
4.61% <ø> (-0.01%)
:arrow_down:

config-deployer-service
?

idp-domain-service
?

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

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


$img->text() should allow a fixed height

I'm having an issue where I'm trying to print several lines (paragraph that contains 3 lines).
$lines = array('this is a nice first line', 'Hey! This is a second line', 'Perhaps this time it will work fine.');
$num = 0;
foreach($lines as $line) {
	$img->text($line, 'arvo.ttf', 25, '#ffffff', 'top left', 25, $padding['line']*$num);
	$num++;
}

The idea is to have a nicely printed paragraph with lines that have a fixed height.
The issue is that since SimpleImage's text box is automatically calculated, the height varies because some letters and signs are taller than others, as a result (in this particularly example) I get a not so nice-to-see paragraph with chaotic line separations.
It would be great to have a fixed height parameter.

We'd have to measure each box size and try to adjust positioning manually from there. Note that the box height will be different depending on the font, angle, sizes, and even letters being used. Complicated.
A better approach might be for the function to wrap the text inside a set boundary, but even this doesn't seem like a great workaround (i.e. using number of chars instead of pixel boundaries).
Since it doesn't appear to be possible in GD (at least without a huge amount of logic), I don't think we'll be able to implement it.