Calls and chats not working after 5 minutes of inactivity

Hi all,
we are building a videocall/chat app in RN 0.61.5 using connectycube-reactnative 1.8.1. But we have the issue that after around 5 minutes of inactivity, the app doesn't received chats or calls anymore, and there's no error message. We thought it was an issue with our app, so we downloaded the samples in this repo, and run the call sample with our credentials in the same devices we have our app installed, and the same issue happens, it works fine when you open the app, but after 5 minutes it doesn't receive calls anymore, so we're not sure what the issue is, maybe there's some setup that we need to do in our account and not the app?
or maybe a initial setup in the app is missing?
We've tried a lot of things but still nothing. Can someone help us please?

Same here, I have tested the the samples that they have here and this doesn't works after some minutes, it's weird.

@davidrenji @masmerino13 thank you guys for reporting the issue
I'm afraid it can be something related to chat connection keep alive settings
Anyway we need to check it on our end  @banshiAnton  @ccvlad and then get back you you asap

Thank you very much @DaveLomber, we really appreciate your help. Please keep us posted. Thanks.

Hi, I have signed up on ConnectCube and created app on dashboard. Now, I am running RNChat Repo with my auth_key. While trying to signup on app I am getting the following error from API.
[Response][8] {"errors": ["Unexpected signature"]}
LOG  error {"code": 422, "info": {"errors": ["Unexpected signature"]}}
LOG  [Request][9] POST https://api.connectycube.com/session.json {"data": {"application_id": ####, "auth_key": "########", "nonce": 2592, "signature": "c27243c9e131d531286221570e2c4719a5cbff9d", "timestamp":<PHONE_NUMBER>, "user": {"login": "Vendor1", "password": "12341234"}}, "type": "POST", "url": "https://api.connectycube.com/session.json"}
Please let me know what is missing...thanks

Hi, I have signed up on ConnectCube and created app on dashboard. Now, I am running RNChat Repo with my auth_key. While trying to signup on app I am getting the following error from API.
[Response][8] {"errors": ["Unexpected signature"]}
LOG error {"code": 422, "info": {"errors": ["Unexpected signature"]}}
LOG [Request][9] POST https://api.connectycube.com/session.json {"data": {"application_id": ####, "auth_key": "########", "nonce": 2592, "signature": "c27243c9e131d531286221570e2c4719a5cbff9d", "timestamp":<PHONE_NUMBER>, "user": {"login": "Vendor1", "password": "12341234"}}, "type": "POST", "url": "https://api.connectycube.com/session.json"}
Please let me know what is missing...thanks

Your issue doesn't related to this theme. Please, create separate issue.

Hi all,
we are building a videocall/chat app in RN 0.61.5 using connectycube-reactnative 1.8.1. But we have the issue that after around 5 minutes of inactivity, the app doesn't received chats or calls anymore, and there's no error message. We thought it was an issue with our app, so we downloaded the samples in this repo, and run the call sample with our credentials in the same devices we have our app installed, and the same issue happens, it works fine when you open the app, but after 5 minutes it doesn't receive calls anymore, so we're not sure what the issue is, maybe there's some setup that we need to do in our account and not the app?
or maybe a initial setup in the app is missing?
We've tried a lot of things but still nothing. Can someone help us please?

Hi there!
We should know few things to reproduce.
Does the issue present in foreground or background application state?
Android or iOS? Simulator/emulator or device?

Hi @ccvlad ,
It happens when the app is in foreground (we haven't tried it in background because we think it would happen the same).
Also we've tried it on android (version 9) and ios (iPhone 11) simulators,
and with android (sansumg galaxy s7 with android 8.0.0) and ios (iPhone 6s with 13.3.1) real devices.
If you need something else, please let me know

I was curious also and I have generated the APK of the RNVideo app and had installed it on my S8+ Android 9, seems there are no listeners working after some minutes (around 5 minutes in my case) after that I have to restart the app to have this working again

@davidrenji @masmerino13 thanks for details. Chat connection must to be stable. We will check and let you know

I got same issue, @ccvlad any update on this?

@renepls @davidrenji @masmerino13
ok so the repro steps are:

run an app
then wait 5 mins, app still in foreground
now try to call from other phone

Result: no incoming call events
Correct?
@ccvlad  @banshiAnton the steps are clear
we should be able to reproduce

@DaveLomber that's correct. As far as I remember this was not an issue before.

@davidrenji by before you mean which sdk version?

@DaveLomber, sorry by before I meant like it was working fine a few weeks ago, but we haven't change the version we are using.

hey guys, did you find anything?

Hello guys,
We have a social network www.jwperfectmatch.com that already use your Javascript SDK and now we have ready the mobile app, could you guys help us with that, since we needs to publish the app and this issue is critical for us.
Thank you.
cc: @DaveLomber @ccvlad

Do you guys, have any update about that? We are doing some work around trying to handle the issue.

Hi there!
We have tested and did not find the issue. Could you try the latest react-native-connectycube? The latest version uses promises instead of callbacks in API calls.
If you would see the same problem, try to set timer and send a message to your user after each minute to keep chat online.
Let us know about updates.

@ccvlad as I mentioned before the issue is not just our app, we downloaded your test app, added our account credentials and we see the same issue. So if you tested it and it looks good on your end, tha means our account has an issue. is it possible for you to test with our account?

It doesn't have a sens to test with your account.
I've tested also our RNVideoChat sample on Samsung S8 (9.0) with the web videochat sample. I logged in on the device - chat connection was staying in foreground about 7 mins and then I was able to receive call from the web client. Then I've tested 10-12 mins in foreground and 1h in background and always was being able to receive incoming calls.
Did you check this RNVideoChat sample? Is the issue present for you there? Do we check the same sample?
Could you provide steps to reproduce? I could miss something.

@davidrenji @masmerino13 could you please try one thing, this will help use identify the issue

once app in foreground - to setup a timer and send a system message to 'current' user each 1 min, with any data
then wait 5 mins and try to call a user

What I want to check is whether it relates to socket disconnect if no data is sent/received, so this message will just keep a socket as active.
If it will help - we will add a more handy API for this

thank guys.
@ccvlad We are testing the RNVideoChat sample on 2 different phone, on a Samsung S7 with android 8.0.0 and an iPhone 6s with ios 13.3.1
We are testing from one phone to the other and we still have the issue.
In the sample app, we just login with one user in a phone, and we login with a different user on the other phone. If we do a test call after that, it works just fine. Then if we hangout and left the phones there for 5 minutes, and then we try to make a call again, the call doesn't go through. We don't get any error, we just see that one phone is like dialing, but the other phone remains the same, it doesn't receive the call. We have tested this with other phones just to be sure that is not a problem with the ones we have, and still the same.
We are really frustrated because this is the only part we are missing that is preventing us to go live. If you want I can record the issue and upload a video if you would like to see it.
@DaveLomber Because we are almost going live with this app for our client, we have done a lot of workaround trying to solve the issue, like a timer every 5 minutes that will close session and reconnect again. But we get tons of weird issues after doing that. Sometimes we get the calls, sometimes we don't, some times we cannot chat, sometimes we cannot send push notifications, so it's kind of crazy.
But I don't understand the suggestion you made us about "send a system message to 'current' user", maybe you can give us more details, please?

@davidrenji  please find a code snippet:
setTimeout(() => {
   const userId = userCredentials.userId; // same 'userId' you use for connect  https://developers.connectycube.com/js/messaging?id=connect-to-chat
   const msg = {ping: 1}
   ConnectyCube.chat.sendSystemMessage(userId, msg);
}, 1000*60);

...

ConnectyCube.chat.onSystemMessageListener = function(msg) {
   if (msg.ping) {
       console.log("this is a self ping, ignore it");
       return;
   }
};

https://developers.connectycube.com/js/messaging?id=system-messages
So it will just send a system message each 1 min to self user, hence will keep a connection alive
Please try this workaround at your end and let us know

Thank you @DaveLomber we tried that and it looks like it fix the issue.
Now, the problem we have right is when the app is in background. It still loses the connection after 5min and because it's in background, the interval timer that is sending the system message doesn't run, so the connection is not kept alive. Any idea to solve this?
Thanks

We've added the AppChange event to know if 5 minutes have already passed when user opens the app again after going to background. But now, the question is how to "reconnect" so the chat and the calls can starting working again?
Any help would be appreciated.
Thanks.

@davidrenji great it works!
then please just use this solution as a workaround
We will provide a better solution for this issue later, something around XMPP ping https://xmpp.org/extensions/xep-0199.html or similar.

Re background - this is a normal situation. Do not need to do anything with it.
To receive calling in BG you need to send push notifications along with starting a call request ,
so end user will be receiving push if in background and will be able to answer.
If a user is in Foreground - then just ignore a push.
Please find a guide re how to integrate pushes in RN
https://developers.connectycube.com/reactnative/push-notifications

thanks @DaveLomber, but that's exactly what we are doing right now. We start the call process from the caller side and send a push. Then the receiver gets the push, clicks the notification and the apps opens and gets the call. But if 5 min have passed after app has gone to background (from the receiver side), and then receiver user taps the call push, but when the app opens, the ConnectyCube.videochat.onCallListener doesn't trigger, hence the receiver doesn't get the call.
That's why I was asking if there's a way to "reconnect". That way if the receiver gets the call but the onCallListener doesn't get trigger, we can try to do a "reconnect" or something similar in order to trigger the onCallListener.
Does that make sense?
Thanks again for your help.

A better way can be is not to wait for 'onCallListener ' here, but just to get all the needed info from a push payload and join into a call.
Or, regarding re-connect - you can connect to chat again when switch to foreground if it's disconnected and then receive a  'onCallListener'

Thanks @DaveLomber. When you said "join into a call", how can we do that? because I cannot find that in the documentation, the only way I see if using the onCallListener

@davidrenji ok you are right.. I just explained it in a bit wrong way
so correct - we need to connect to chat again on switching to foreground if a user is disconnected
Are you seeing any difficulties with it?

We can try that. I guess this is what you are referring to (connect to chat)
right?
Thanks.

Correct
this one is used to connect to chat https://developers.connectycube.com/js/messaging?id=connect-to-chat
In a case of chat disconnection - you will get a onDisconnectedListener  so you actually can track where you need to connect again
https://developers.connectycube.com/js/messaging?id=disconnect

@DaveLomber thanks. After some testing it worked doing the a chat re-connection.
But now we have another issue (any help would be much appreciated it) when getting a call in background on Android.
What we are doing is we send push notifications so the receiver knows he is getting a call and it works fine most of the time, but sometimes, when the user taps the push he gets when he is using another app, then the push opens our app but we see that our app reloads (we think the OS, for some reason kills the app when it's in background). And when this reload happens, then the app loads as it should be, but the onCallListener is never trigger, hence the user doesn't get the call.
And as I mentioned, it happens only when the app is like killed by the OS, because sometimes when tapping the push, it opens the app and if it doesn't reload, then the onCallListener works fine.

@davidrenji Technically it should not be any diffs whether an app is in killed state or not

when start a call, a call initiator started sending subsequent call messages, every 5 seconds
even if another user is at killed state, once a chat connect happened, a user should continue receive these subsequent calls requests

Pleas make sure that you really have chat connect implemented at app start app.
If nothing helps and an issue still persist - please provided SDK logs after you opened an app by push from a killed state, we will see what's happening with chat connection

Just for a future ref
https://developers.connectycube.com/js/videocalling?id=receive-a-call-in-background
Will be advancing the section

@DaveLomber thank you very much. We were able to fix the issue. We really appreciate your help.

A better way can be is not to wait for 'onCallListener ' here, but just to get all the needed info from a push payload and join into a call.
Or, regarding re-connect - you can connect to chat again when switch to foreground if it's disconnected and then receive a 'onCallListener'

Hi @DaveLomber my comment isn't particularly related to this issue but I would like to know how to implement what you mention here.
Are you suggesting that the session object be passed with the notification payload and the call can be accepted or rejected using session.accept({}) using the object in the payload? I have tried doing this but it seems I can't create a notification which includes a property that is not a primitive data type which I think is normal:
  const payload = JSON.stringify({
    message: profileFullName + '-' + callLength,
    notificationID: Number(usersCcId),
  });

  const pushParameters = {
    notification_type: 'push',
    user: { ids: [calleeId] }, // recipients.
    environment: 'production', // environment, can be 'production'.
    message: ConnectyCube.pushnotifications.base64Encode(payload)
  };

If this is possible would the user have to be authenticated with ConnectyCube before calling session.accept({}) and so on?

@whenmoon you are right,
I was writing it before I got it can't work like this
The only possible way is:
User1:

initiates a call
also send s a push to all participants about the call request

User2 (in background):

receives a push about an incoming call
accept it by clicking on a push
an app will start,
login user, connect to chat - all is automatic
receive an incoming call request session via 'onCallListener'
accept it via session.accept({})

As for a better solution  - we released 3.1.0 for both JS and RN sdks with a new feature to ping server
ConnectyCube.chat.ping().then(() => {

}).catch(error => {

});

https://github.com/ConnectyCube/connectycube-js-sdk-releases/releases/tag/3.1.0

I am still experiencing this issue. Leave the app in foreground for over 10 mins and calls are no longer possible. Same for app in background for >10 minutes and you can no longer make calls.
This should possibly be re-opened


Update README file

Fixed kubernetes service example

Solved by https://github.com/newrelic/nri-statsd/pull/8


[BUG]: addDocumentToNamespace Ollama Failed to embed: [undefined]: undefined

How are you running AnythingLLM?
Docker (local)
What happened?
i'm use ollama nomic-embed-text,upload word get errors.
Are there known steps to reproduce?
No response

Please post any relevant error logs as this is too non-descript to help debug.

INVALID OLLAMA SETUP. No embedding engine has been set. Go to instance settings and set up an embedding interface to use Ollama as your LLM.

This is pretty self-explainatory here. Please go to the embedder setting and select one and be sure to click save when done setting up the connection

I choose local ollama as the Embedding Providers and nomic-embed-text:last. In addition, the LLM Preference is correctly configured on ollma to enable normal dialogue
Chunks created from document: 1
[OllamaEmbedder] Embedding 1 chunks of text with nomic-embed-text:latest.
addDocumentToNamespace Ollama Failed to embed: [undefined]: undefined
Failed to vectorize search_jd.com-Search.html
[TELEMETRY SENT] {
event: 'documents_embedded_in_workspace',
distinctId: 'a96b4397-166e-423c-84a1-4c972833b6c3',
properties: {
LLMSelection: 'ollama',
Embedder: 'ollama',
VectorDbSelection: 'lancedb',
runtime: 'docker'
}
}

I had the same issue, even though i did not use Docker, and it was because the Ollama server wasn't running. I forgot to launch it. But as you are using docker, make sure your containers don't have a networking problem when they try to use the Ollama service locally.

That checks out. Will attempt to replicate it with that information now. If anything we should handle that error then


Relabelings

Hey
Just raising an idea that relabelings and metric relabelings should be configurable on the service monitor resource from the helm chart.
I need to relabel container and pod labels to match what kube state metrics provides.

Agree. I created a prerelease, 1.6.3-rc01, for you to test my changes.
https://github.com/jmcgrath207/k8s-ephemeral-storage-metrics/releases/tag/1.6.3-rc01
The changes I made are in https://github.com/jmcgrath207/k8s-ephemeral-storage-metrics/pull/76, which works with empty values.
Admittedly, I am not super familiar with this. If your change works, could you send me a test case? I want to add it to our e2e tests.
Thanks!

Thanks for implementing the change so quickly.
I'm trying to deploy the chart with the below values but there's an error, think it might be an indentation issue.
Error: UPGRADE FAILED: YAML parse error on k8s-ephemeral-storage-metrics/templates/metrics.yaml: error converting YAML to JSON: yaml: line 16: did not find expected key
serviceMonitor:
  relabelings:
    - sourceLabels: [pod_name]
      targetLabel: pod
    - sourceLabels: [pod_namespace]
      targetLabel: namespace
    # drop labels pod_.*
    - regex: "pod_(.*)"
      action: labeldrop

No worries. I see, you beat me to it :1st_place_medal: I merged. Thanks for your contribution. I will release it soon here.

1.6.3 was just released with our change.
In hindsight, I should have used those labels in your test case :sweat_smile:. I might do so for 2.0 after refactoring for unit testing.
If you see any other issues, feel free to raise an issue.
Thanks!


Add document for gPRC metrics with armeria-spring-boot

Motivation:
This explanation is useful for users who want to collect gRPC metrics with spring-boot-armeria
Result:

Closes #4197

Thanks a lot, @ta7uw 😄


Quick Reference

[x] if statements
[x] functions
[x] types and values
[x] variables
[x] imports
[x] blobs
[x] operators
[x] standard library

#422


Do not share config across tests

What happened?
Currently, the config object is passed as a reference across all the StepFunc of a feature. When running tests, it creates a number of issues where any test updating the config would also change it for all other tests leading to undesirable side effects.
What did you expect to happen?
I currently see 2 use cases where this is an issue:

creating a separate namespace for each test with -parallel. When using the envfuncs.CreateNamespace func, the namespace is stored in the config. However, when the tests are running in parallel, the cfg.namespace will be modified. There is an example going around the issue using the context however I feel like it is hacky compared to using the cfg object
changing the config for a specific test. For instance, if I want to enable FailFast on a specifc test (because I know that when it fails there is no point continuing it), I can't enable it for this specific test because when I do cfc.WithFailFast(), it is gonna apply to all the remaining tests running after.

How can we reproduce it (as minimally and precisely as possible)?
This code is enough to show the issue:
var testenv env.Environment

func TestMain(m *testing.M) {
	clusterName := envconf.RandomName("cluster", 16)
	testenv = env.New()

	testenv.
		Setup(envfuncs.CreateCluster(kind.NewProvider(), clusterName)).
		BeforeEachTest(
			func(ctx context.Context, cfg *envconf.Config, t *testing.T) (context.Context, error) {
				t.Parallel()
				namespace := envconf.RandomName("ns", 16)
				return envfuncs.CreateNamespace(namespace)(ctx, cfg)
			},
		).
		Finish(envfuncs.DestroyCluster(clusterName))

	os.Exit(testenv.Run(m))
}

func Test1(t *testing.T) {
	feat := features.New("Test1").Assess("Test1", func(ctx context.Context, t *testing.T, cfg *envconf.Config) context.Context {
		time.Sleep(1 * time.Second) // sleep to wait for test 2
		t.Log("Namespace 1: ", cfg.Namespace())
		return ctx
	}).Feature()

	testenv.Test(t, feat)
}

func Test2(t *testing.T) {
	feat := features.New("Test1").Assess("Test1", func(ctx context.Context, t *testing.T, cfg *envconf.Config) context.Context {
		t.Log("Namespace 2: ", cfg.Namespace())
		return ctx
	}).Feature()

	testenv.Test(t, feat)
}

Result:
=== RUN   Test1
=== PAUSE Test1
=== RUN   Test2
=== PAUSE Test2
=== CONT  Test1
=== CONT  Test2
=== RUN   Test2/Test1
=== RUN   Test1/Test1
=== RUN   Test2/Test1/Test1
=== RUN   Test1/Test1/Test1
=== NAME  Test2/Test1/Test1
    main_test.go:64: Namespace 2:  ns-6ef56304fde1a
--- PASS: Test2 (0.02s)
    --- PASS: Test2/Test1 (0.00s)
        --- PASS: Test2/Test1/Test1 (0.00s)
=== NAME  Test1/Test1/Test1
    main_test.go:55: Namespace 1:  ns-6ef56304fde1a
--- PASS: Test1 (1.02s)
    --- PASS: Test1/Test1 (1.00s)
        --- PASS: Test1/Test1/Test1 (1.00s)
PASS

Anything elese we need to know?
I think what we could do would be to make copies of the config at different steps of the tests (before each test, before each feature, before each assess) and only share the copy with the child element (test config -> feature config -> assess config). This way, each step could override the cfg without any risk of impacting the parent or cousins (what happens in the assess would not impact what happens in the other assess or the feature). However, modifying the feature config could impact all the assess in the feature.
What do you think about this?
E2E Provider Used
real cluster
e2e-framework Version
v0.3.0
OS version

# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here

Hi @Fricounet
Apologies for the late reply.
Originally the API was designed for one config per test.
As it evolves, it became apparent that folks would want to have different configurations for different tests.
So a fix may require a substantial redesign or introduce new methods to better share or create new config per tests if necessary.  Is that something you think you can help out with?
Referencing https://github.com/kubernetes-sigs/e2e-framework/pull/367 for reach.


Forgot password page design

Description
I can design forgot password page please assignment currently on clicking nothing its working.
Screenshots
No response
Additional information
No response
🥦 Browser
Google Chrome
👀 Have you checked if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

[X] I have read the Contributing Guidelines

Are you willing to work on this issue ?
Yes I am willing to submit a PR!

It's great having you contribute to Milan ! This is an auto-generated textThe maintainers/owner will look into the issue soon, add relevant tags and proceed further, please have paitence. Meanwhile feel free to support star the repo and share it with your friends. :nerd_face: :rocket:

Hi @nishtha53 , what is the design that you have in mind ?

Hi,
Layout will be same there will be one good illustration related to forgot password in left side.
In right side, Heading of forgot password,there will be one input field asking for mail and one forgot password button.

@nishtha53 next time someone ask you about what's on your mind, please try to present them at least a sketch with pen and paper. It will be even better if you can link some Figma/AdobeXD designs.

@chankruze okay sure thankyou for advice.

Layout will be same there will be one good illustration related to forgot password in left side.

Exactly.
Anyways @nishtha53 , feel free to come up with your design and make a PR - we will refactor them then !

@IAmTamal PR Raised. Please let me know if need any layout changes.


fix: paypal payment provider

#https://github.com/casdoor/casdoor/issues/1908

https://github.com/casdoor/casdoor/assets/54203997/e6e9cf88-bdfa-4c38-860f-e5596023d6d7


Add support for connecting CaaSP V4 endpoints

Codecov Report

Merging #191 into v2-master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##           v2-master     #191      +/-   ##
=============================================
- Coverage      53.28%   53.26%   -0.02%
=============================================
  Files            914      914
  Lines          25097    25097
  Branches        4309     4309
=============================================
- Hits           13374    13369       -5
- Misses         11723    11728       +5


Planner can use multiple indexes for a single query

https://github.com/cockroachdb/cockroach/pull/47094

I'm not sure that we need to document this. @mgartner Please re-open or reach out on Slack if you'd like to discuss.

I'm not sure that we need to document this. @mgartner Please re-open or reach out on Slack if you'd like to discuss.


Add an Output function (like EJS's outputFunctionName)

Is your feature request related to a problem? Please describe.
Often I'd like the ability to output code from a function rather than having to close / open the tags to do this. In EJS this is possible via the outputFunctionName option.
In short, I'd like to be able to write something like:
<% if (condition) { print(`string ${variable} string`) } %>

rather than:
<% if (condition) { %>string <%= variable %> string<% } %>
// or, more likely:
<% if (condition) { -%> string <%= variable %> string <%- } %>

Describe the solution you'd like
Either a function, or the documentation to make a function, that will allow me to output directly without opening and closing tags excessively. My IDE (WebStorm) doesn't support ETA with customised tags at all (I like <? / ?>), and provides terrible EJS support too, so I'm basically looking at monocoloured code files and find the first form far more familiar to me (and easier to type).
Describe alternatives you've considered
Opening and closing tags a lot! This is very annoying when refactoring EJS code that could take advantage of the outputFunctionName

@paul-norman I like this idea. If anyone wants to contribute a PR, let's call the output function output by default.


[cairo] cross build failure on arm64-linux in x64-linux machine

Host Environment

OS: github action ubuntu 22.04
Compiler: 11.3.0

To Reproduce
Steps to reproduce the behavior:
sudo apt install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu

# This is for let you know that I have arm64 libs that are needed
apt install -y libdbus-1-dev:arm64 libxi-dev:arm64 libxtst-dev:arm64 libx11-dev:arm64 libxft-dev:arm64 libxext-dev:arm64

# configure pkg config that it will find arm64 libs
export PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig/:$PKG_CONFIG_PATH

# also try to turn off warnings:
export CFLAGS=-w
export CMAKE_C_FLAGS=-w
export CXXFLAGS=-w
export CMAKE_CXX_FLAGS=-w

./vcpkg install wxwidgets[core] --triplet=arm64-linux --host-triplet=x64-linux

Failure logs
Installing 37/58 cairo:arm64-linux...
Building cairo[core,fontconfig,freetype,gobject,x11]:arm64-linux...
-- [OVERLAY] Loading triplet configuration from: /home/runner/work/boinc/boinc/3rdParty/vcpkg_ports/triplets/ci/arm64-linux.cmake
-- Downloading https://gitlab.freedesktop.org/cairo/cairo/-/archive/b43e7c6f3cf7855e16170a06d3a9c7234c60ca94/cairo-b43e7c6f3cf7855e16170a06d3a9c7234c60ca94.tar.gz -> cairo-cairo-b43e7c6f3cf7855e16170a06d3a9c7234c60ca94.tar.gz...
-- Extracting source /home/runner/work/boinc/boinc/3rdParty/linux/vcpkg/downloads/cairo-cairo-b43e7c6f3cf7855e16170a06d3a9c7234c60ca94.tar.gz
-- Applying patch cairo_static_fix.patch
-- Applying patch disable-atomic-ops-check.patch
-- Applying patch mingw-dllexport.patch
-- Applying patch fix-static-missing-lib-msimg32.patch
-- Using source at /home/runner/work/boinc/boinc/3rdParty/linux/vcpkg/buildtrees/cairo/src/234c60ca94-9d41ef1c86.clean
CMake Warning at ports/cairo/portfile.cmake:34 (message):
  You will need to install Xorg dependencies to use feature x11:

  sudo apt install libx11-dev libxft-dev libxext-dev

Call Stack (most recent call first):
  scripts/ports.cmake:147 (include)

-- Getting CMake variables for arm64-linux-rel
-- Configuring arm64-linux-rel
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: /usr/bin/python3 /home/runner/work/boinc/boinc/3rdParty/linux/vcpkg/installed/x64-linux/tools/meson/meson.py -Dfontconfig=enabled -Dfreetype=enabled -Dxlib=enabled -Dxcb=disabled -Dxlib-xcb=disabled -Dglib=enabled -Dtests=disabled -Dzlib=enabled -Dpng=enabled -Dspectre=auto -Dgtk2-utils=disabled -Dsymbol-lookup=disabled --buildtype plain --backend ninja --wrap-mode nodownload --native /home/runner/work/boinc/boinc/3rdParty/linux/vcpkg/scripts/buildsystems/meson/none.txt --libdir lib --cross /home/runner/work/boinc/boinc/3rdParty/linux/vcpkg/buildtrees/cairo/meson-arm64-linux-rel.log -Ddebug=false --prefix /home/runner/work/boinc/boinc/3rdParty/linux/vcpkg/packages/cairo_arm64-linux -Dcmake_prefix_path=['/home/runner/work/boinc/boinc/3rdParty/linux/vcpkg/installed/arm64-linux','/home/runner/work/boinc/boinc/3rdParty/linux/vcpkg/installed/arm64-linux/debug'] /home/runner/work/boinc/boinc/3rdParty/linux/vcpkg/buildtrees/cairo/src/234c60ca94-9d41ef1c86.clean
    Working Directory: /home/runner/work/boinc/boinc/3rdParty/linux/vcpkg/buildtrees/cairo/arm64-linux-rel
    Error code: 1
    See logs for more information:
      /home/runner/work/boinc/boinc/3rdParty/linux/vcpkg/buildtrees/cairo/config-arm64-linux-rel-meson-log.txt.log
      /home/runner/work/boinc/boinc/3rdParty/linux/vcpkg/buildtrees/cairo/config-arm64-linux-rel-out.log

config-arm64-linux-rel-out.log:
Run-time dependency x11 found: YES 1.7.5
Run-time dependency xext found: YES 1.3.4

../src/234c60ca94-9d41ef1c86.clean/meson.build:382:4: ERROR: Can not run test applications in this cross environment.

A full log can be found at /home/runner/work/boinc/boinc/3rdParty/linux/vcpkg/buildtrees/cairo/arm64-linux-rel/meson-logs/meson-log.txt

meason.build:
x11_dep = dependency('x11', required: get_option('xlib'))
xext_dep = dependency('xext', required: get_option('xlib'))
if x11_dep.found() and xext_dep.found()
  feature_conf.set('CAIRO_HAS_XLIB_SURFACE', 1)
  built_features += [{
    'name': 'cairo-xlib',
    'description': 'Xlib surface backend',
    'deps': [x11_dep, xext_dep],
  }]

  extra_headers = ['X11/Xlibint.h', 'X11/Xproto.h']
  check_headers += [
    ['X11/extensions/XShm.h', {'extra-headers': extra_headers}],
    ['X11/extensions/shmproto.h', {'extra-headers': extra_headers}],
    ['X11/extensions/shmstr.h', {'extra-headers': extra_headers}],
  ]
  deps += [x11_dep, xext_dep]

  # Can skip the run check by providing the result in a cross file or
  # native file as bool property value.
  prop = meson.get_external_property('ipc_rmid_deferred_release', 'auto')
  # We don't know the type of prop (bool, string) but need to differentiate
  # between a set value (bool) or the fallback value (string), so convert to
  # a string and chec the string value.
  prop_str = '@0@'.format(prop)
  if prop_str in ['true', 'false']
    ipc_rmid_deferred_release = (prop_str == 'true')
    message('IPC_RMID_DEFERRED_RELEASE:', ipc_rmid_deferred_release)
  elif prop_str == 'auto'
    res = cc.run(files('meson-cc-tests/ipc_rmid_deferred_release.c'),
      dependencies: [x11_dep, xext_dep],
      name: 'shmctl IPC_RMID allowes subsequent attaches')

    ipc_rmid_deferred_release = (res.returncode() == 0)
  else
    error('Unexpected value for external property ipc_rmid_deferred_release: @0@'.format(prop_str))
  endif ---> line 382

config-arm64-linux-rel-meson-log.txt.log:
env[PKG_CONFIG_PATH]: /home/runner/work/boinc/boinc/3rdParty/linux/vcpkg/installed/arm64-linux/lib/pkgconfig/:/home/runner/work/boinc/boinc/3rdParty/linux/vcpkg/installed/arm64-linux/share/pkgconfig/:/usr/lib/aarch64-linux-gnu/pkgconfig/
env[PKG_CONFIG]: /bin/pkg-config
env[PKG_CONFIG_ALLOW_SYSTEM_LIBS]: 1
Called `/bin/pkg-config --libs xext` -> 0
-L/usr/lib/aarch64-linux-gnu -lXext
env[PKG_CONFIG_PATH]: /home/runner/work/boinc/boinc/3rdParty/linux/vcpkg/installed/arm64-linux/lib/pkgconfig/:/home/runner/work/boinc/boinc/3rdParty/linux/vcpkg/installed/arm64-linux/share/pkgconfig/:/usr/lib/aarch64-linux-gnu/pkgconfig/
env[PKG_CONFIG]: /bin/pkg-config
Called `/bin/pkg-config --libs xext` -> 0
-L/usr/lib/aarch64-linux-gnu -lXext
Run-time dependency xext found: YES 1.3.4

../src/234c60ca94-9d41ef1c86.clean/meson.build:382:4: ERROR: Can not run test applications in this cross environment.

Cut and paste the appropriate build messages from the console output.
Attach every failure log file mentioned in the console output.

short logs
long logs

Additional context
When compiling x64-linux wxwidgets  on x64 machine is working.
When compiling arm64-linux wxwidgets on arm64 machine is working.
The problem is when doing cross compiling.
@dg0yt I will appreciate some directions how to turn off the warning, or other directions.

@Neumann-A Do you have some directions?

Make sure you are actually targeting arm64 with the compile flags? But maybe the upstream check is wrong.

Make sure you are actually targeting arm64 with the compile flags? But maybe the upstream check is wrong.

How I can check compile flags?

If I run this port with warning open, I get a warning that turn to error:
Compiler stderr:
 /home/runner/work/boinc/boinc/3rdParty/linux/vcpkg/buildtrees/cairo/arm64-linux-rel/meson-private/tmp313mqfol/testfile.cpp: In function 'int main()':
/home/runner/work/boinc/boinc/3rdParty/linux/vcpkg/buildtrees/cairo/arm64-linux-rel/meson-private/tmp313mqfol/testfile.cpp:3:65: error: narrowing conversion of '-1' from 'int' to 'long unsigned int' [-Wnarrowing]
    3 |         int main(void) { static int a[1-2*!(sizeof(void *) > 15)]; a[0]=0; return 0; }
      |                                                                 ^

I think I was miss leading for the error:
../src/234c60ca94-9d41ef1c86.clean/meson.build:382:4: ERROR: Can not run test applications in this cross environment.

Here is the test from `meason.build
  # Can skip the run check by providing the result in a cross file or
  # native file as bool property value.
  prop = meson.get_external_property('ipc_rmid_deferred_release', 'auto')
  # We don't know the type of prop (bool, string) but need to differentiate
  # between a set value (bool) or the fallback value (string), so convert to
  # a string and chec the string value.
  prop_str = '@0@'.format(prop)
  if prop_str in ['true', 'false']
    ipc_rmid_deferred_release = (prop_str == 'true')
    message('IPC_RMID_DEFERRED_RELEASE:', ipc_rmid_deferred_release)
  elif prop_str == 'auto'
    res = cc.run(files('meson-cc-tests/ipc_rmid_deferred_release.c'),
      dependencies: [x11_dep, xext_dep],
      name: 'shmctl IPC_RMID allowes subsequent attaches')

    ipc_rmid_deferred_release = (res.returncode() == 0)
  else
    error('Unexpected value for external property ipc_rmid_deferred_release: @0@'.format(prop_str))
  endif

It found x11 and xest, and it give the correct ld flags, but still fail.
I am not sure why.

I think I understand the problem: Can not run test applications in this cross environment
It compile arm64 binary and try to run it on x64 machine.
I set qemu environment, compile the test program that it want to test, and run it.
It run, but it still I get the same error.
test program:
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
int main()
{
    char *shmaddr;
    int id = shmget (IPC_PRIVATE, 4, IPC_CREAT | 0600);
    if (id == -1) return 2;
    shmaddr = shmat (id, 0, 0);
    shmctl (id, IPC_RMID, 0);
    if ((char*) shmat (id, 0, 0) == (char*) -1) {
  shmdt (shmaddr);
  return 1;
    }
    shmdt (shmaddr);
    shmdt (shmaddr);
    return 0;
}

Also give it the correct flags of x11 and xest and also give him -fpermissive
@dg0yt @Neumann-A
Any idea?

I notice in my logs that meson on cross build doesn't recognize the compiler on the build machine. aka x86_64, aka gcc/g++.
He recognize the host compiler, aka aarch64-linux-gnu-gcc, aarch64-linux-gnu-g++.
I try to configure it with environment variable:
export CC_FOR_BUILD=gcc
export CXX_FOR_BUILD=g++

But it still don't find it.
There is an option that vcpkg can set up build compiler for meson?

the build compiler is deactivated if vcpkg is crosscompiling.

the build compiler is deactivated if vcpkg is crosscompiling.

Maybe is causing this error that it don't want to run the tests that it compile?

Maybe is causing this error that it don't want to run the tests that it compile?

no.

Maybe is causing this error that it don't want to run the tests that it compile?

no.

Do you have idea what cause this error?

https://github.com/mesonbuild/meson/issues/7041
https://mesonbuild.com/Cross-compilation.html
@Neumann-A What about exe_wrapper and needs_exe_wrapper parameters?
What values vcpkg set them on cross compiling?

What values vcpkg set them on cross compiling?

None because vcpkg does not know about them.
You can however add your own cross stuff with VCPKG_MESON_CROSS_FILE from the triplet

What values vcpkg set them on cross compiling?

None because vcpkg does not know about them. You can however add your own cross stuff with VCPKG_MESON_CROSS_FILE from the triplet

Can you show me how?

Example for these two flags for meson.

I use VCPKG_MESON_CROSS_FILE as @Neumann-A suggested and insert my cross parameters for meson for the build.
Thanks again @Neumann-A !

I use VCPKG_MESON_CROSS_FILE as @Neumann-A suggested and insert my cross parameters for meson for the build. Thanks again @Neumann-A !

Hey @talregev , if it is open source, could you please send a link to your VCPKG_MESON_CROSS_FILE usage example? Thanks!

I use VCPKG_MESON_CROSS_FILE as @Neumann-A suggested and insert my cross parameters for meson for the build. Thanks again @Neumann-A !

Hey @talregev , if it is open source, could you please send a link to your VCPKG_MESON_CROSS_FILE usage example? Thanks!

[binaries]
c = '/usr/bin/aarch64-linux-gnu-gcc'
cpp = '/usr/bin/aarch64-linux-gnu-g++'
ar = '/usr/bin/aarch64-linux-gnu-ar'
strip = '/usr/bin/aarch64-linux-gnu-strip'


Indefinite loop

Command:
php sitemap.php file=sitemap.xml site=https://www.forum.2globalnomads.info
Output:

[+] Added: https://www.forum.2globalnomads.info/
[+] Added: https://www.forum.2globalnomads.info/./search.php?sid=522b2caac3959c510cf81dfa71395a08
[+] Added: https://www.forum.2globalnomads.info/./
[+] Added: https://www.forum.2globalnomads.info/././search.php?sid=29496a0b8ec0ea15213165add3ccfde1
[+] Added: https://www.forum.2globalnomads.info/././
[+] Added: https://www.forum.2globalnomads.info/./././search.php?sid=0eb538cef14c5efac802a5b86d31dc09
[+] Added: https://www.forum.2globalnomads.info/./././
[+] Added: https://www.forum.2globalnomads.info/././././search.php?sid=1e56e609ccae15b28e70f409780e8835
...

Interesting case.
../ and ./ are not covered cases yet. They should be simplified after the relative to absolute conversion.

I believe this is the problem you are talking about: Remove Dot Segments. There is a PHP gist that might be helpful here: https://gist.github.com/rdlowrey/5f56cc540099de9d5006

Great find! Woke up this morning thinking I would have to read RFCs again.
Shouldn't be hard to implement this.

I think I got it

I am not sure about that. In that forum there is only handful of of topics and posts, but the crawler is finding hundreds of URLs. Try and see: https://www.forum.2globalnomads.info/

That's because it's finding a lot of urls you should have blacklisted such as posting.php and search.php

I will let it run to the end to see that it's not in an indefinite loop.

It run out of memory and crashed before finishing. I am pretty sure there is still problems with PHPBB3 forums.

In the temp sitemap file there was 7565 lines when it crashed. That's pretty impossible without duplicates or looping.

I will take a closer look. There are too many safeguards against duplicate links. The issue is something else.

My closer look yielded results. The sid argument is at fault here, mostly. #31 would fix this.

sid (or similar functionality) is pretty common in systems that have session handling. If I am not completely wrong, it should be ignored by default. How about if  you do it so that it can be enabled with an option like
php sitemap.php --enable-sid

Sitemaps don't need sids, I assure you.
The sane default option is going to be to have all arguments ignored by default and a number of arguments will be whitelisted by default.

Sounds good to me.

For sake of interest, I analysed the data.
=> cat sitemap.xml.partial | grep "php?f=3" | tee >(wc -l) | cat

<loc>https://www.forum.2globalnomads.info/viewtopic.php?f=3&t=31&sid=9a0e59593d7f1a504e0556c92f59dc5e&view=print</loc>
........
<loc>https://www.forum.2globalnomads.info/viewforum.php?f=3&sid=793f5d0f359deb76f70c4be8e155bd41</loc>
62

The same page was indexed 62 times but with different sids and views.


tabbed output container shows labels twice

it should only show it in the tab, not again on the object.


Revert auto-channel detection that produced irrecoverable edge-cases

In more advanced usage scenarios, the guarantees of this code path
are never strong enough and the error produced is non-recoverable.
Sorry to lovers of "automagic".

Can you provide an example of such an irrecoverable error, to strengthen the argument for this change.

Can you provide an example of such an irrecoverable error, to strengthen the argument for this change.

filterAttrs (_: value: value ? legacyPackages && value.legacyPackages.x86_64-linux ? nix) inputs;
any item that unintentionally falls thogh that predicate will suffice.
With the current implementation, a repo that bears legacyPackages.x86_64-linux.nix.
But pushing this formally incorrect code further to the edges, just modifies the predicate for the failure scenario.
I'm in a situation a.t.m. for my own "safety" where I can't accept lingering regressions.

Here is another good one:
The expresivity to be able to canonically encode the intent to not use a nixpkgs type input also as a channel must be preserved for a low level lib.
Use case: don't encourage you users to use a channel you never intended to expose.

Just wanted to add that this currently happens when having the current version of agenix in the inputs. Was pretty hard to figure out what was actually causing it... 😅
error: attribute 'x86_64-linux' missing

       at /nix/store/i5ipw8rvj1fvdaj01bqzc0dpw9irrb4h-source/lib/mkFlake.nix:208:74:

          207|         # For some odd reason `devshell` contains `legacyPackages` out put as well
          208|         channelFlakes = filterAttrs (_: value: value ? legacyPackages && value.legacyPackages.x86_64-linux ? nix) inputs;
             |                                                                          ^
          209|         channelsFromFlakes = mapAttrs (name: input: { inherit input; }) channelFlakes;


Add adminsitration roles

What roles are required to make this change? Please add this information to this page so that we don't have to go do our own research. There are so many options, anything you can do to make is simpler for admins will be greatly appreciated. i.e., every AAD documentation page, should explicitly state which roles can perform the work.

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

ID: f6278919-974b-c2e1-bccb-0bc513baa5d1
Version Independent ID: 43db176b-3732-61c1-e57b-7c22e0949826
Content: System-preferred multifactor authentication (MFA) - Microsoft Entra
Content Source: articles/active-directory/authentication/concept-system-preferred-multifactor-authentication.md
Service: active-directory
Sub-service: authentication
GitHub Login: @Justinha
Microsoft Alias: justinha

@DeanGross
Thanks for your feedback! We will investigate and update as appropriate.

@DeanGross
I'm going to assign this to the document author so they can take a look at it accordingly.
@Justinha
Could you Please review this and update as appropriate.

@DeanGross thanks for the feedback and fully agree with you about citing role requirements. In this case, you only need the Graph permissions listed in the topic. #please-close


Remove deprecate IBMQ dependent functionality

Summary
This commit removes all the functionality in Qiskit that depended on the legacy qiskit-ibmq-provider package. This process was started in #10525 which removed the qiskit.IBMQ alias object but as was discovered in that PR there were many other places in qiskit that were relying on the qiskit-ibmq-provider package. This commit removes all of these places, which primarily include qiskit.test.decorators's online_test decorator, qiskit.tools.jupyter, qiskit.tools.monitor, qiskit.test.ibmq_mock, and qiskit.test.mock (which just referenced IBMQ and didn't actually use it). With these removals we're also no longer optionally dependent on ipywidgets, jupyter, or ipython and those are removed from the optional and development requirements lists.
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
To ensure accuracy in future PRs, please see these guidelines.
A quick fix for this PR: rebase it; your next report should be accurate.

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.7%) to 89.274%

Totals

Change from base Build<PHONE_NUMBER>:
1.7%

Covered Lines:
59302

Relevant Lines:
66427

💛  - Coveralls


3227 use unlocalize

This PR solves https://github.com/wagtail/wagtail/issues/3227

Do the tests still pass? [v]
Does the code comply with the style guide? [v]
For Python changes: Have you added tests to cover the new/fixed behaviour? [n/a]
For new features: Has the documentation been updated accordingly? [n/a]

Merged in 31f4ac18c651df0a6912bbd8769d623796dd72a5 - thanks @whyscream!


[bn] update files in tutorials

update files in tutorials  in bangla
related pr  : https://github.com/kubernetes/website/pull/45009
fixes issue : https://github.com/kubernetes/website/issues/44993
Tracking Issue: https://github.com/kubernetes/website/issues/31677

/lgtm


Addresses issue #42

Avoids parsing errors when an unknown number field with a decimal is encountered. See https://code.google.com/p/protobuf-java-format/issues/detail?id=42

This patch seems strange...
You check that you're looking at an Integer but then parse a Double. I think a better switch should be in place.


Di 1113 change to use aws

This version has been run on two workbooks to test.
Workbooks added to INCA_workbooks table:

Variants added to the INCA AWS table:

Variants submitted successfully to ClinVar:

This change is

Hello @kjwinfield! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file pandora.py:

Line 128:9: E122 continuation line missing indentation or outdented
Line 174:80: E501 line too long (80 > 79 characters)

In the file utils/clinvar.py:

Line 6:1: E302 expected 2 blank lines, found 1
Line 24:80: E501 line too long (90 > 79 characters)
Line 29:80: E501 line too long (80 > 79 characters)
Line 106:13: E122 continuation line missing indentation or outdented
Line 107:13: E122 continuation line missing indentation or outdented
Line 108:13: E122 continuation line missing indentation or outdented
Line 126:80: E501 line too long (86 > 79 characters)

In the file utils/database_actions.py:

Line 4:1: E302 expected 2 blank lines, found 1
Line 90:62: W291 trailing whitespace

In the file utils/utils.py:

Line 29:80: E501 line too long (85 > 79 characters)
Line 45:80: E501 line too long (91 > 79 characters)
Line 173:46: E261 at least two spaces before inline comment
Line 173:80: E501 line too long (83 > 79 characters)
Line 191:17: E251 unexpected spaces around keyword / parameter equals
Line 396:80: E501 line too long (82 > 79 characters)


DrawImage cant handle images' alpha correctly

the grey icon became black in smp.

Could you supply the required images and corresponding drawing code, please?

Could you supply the required images and corresponding drawing code, please?

... sorry, something was wrong in my code... i should check more carefully

:D


Data pipeline/bfr integration

Context
BFR logic needed to be added into the pre-processing pipeline once historic data has been run. The data table also needed defining for this
Change proposed in this pull request
BFR data table defined in SQL script, and in database.py. Some changes to the BFR logic to integrate it into the pre-processing pipeline.
Guidance to review
Check the logic of the BFR process, and the definition of the data table. Note, the pipeline is currently unable to run following the schema changes, and is in the process of being edited.
Checklist

[ ] Work items have been linked (use AB#)
[ ] Your code builds clean without any errors or warnings
[ ] You have run all unit/integration tests and they pass
[ ] Your branch has been rebased onto main
[ ] You have tested by running locally

Not sure if formatting/linting settings are different, but there seems to be a lot of changes that aren't changes?

Looks like its mostly formatting and stylising changes, shouldn't have any impact though


Where do we cover DevOps as a system of privileged access

The components we consider here (accounts, devices, intermediaries, interfaces) cover the "traditional" operational use cases where an operator is using an account on a device to access a system to execute privileged tasks.
What about the aspect of increased automation and usage of ADO and similar systems? There you have a privileged service principal operating from a deployment agent and accessing an API.
This needs to be discussed in the SPA guidance as well.

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

ID: db39f91f-f63d-bc58-bb38-bf9bd4316a3b
Version Independent ID: 30f1a43b-e220-209e-f36f-be3f76beef27
Content: Developing a privileged access strategy
Content Source: articles/active-directory/fundamentals/security/privileged-access-strategy.md
Service: active-directory
Sub-service: ****
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@sailando
Thanks for your feedback! We will investigate and update as appropriate.

#please-close

#please-close


Rainbow effect

In the Youtube vidéo, when you start typing, the text start to do a rainbow/rgb color effect which is pretty cool. But when I start, even with the font installed, all I got is just white text. How can I get the rainbow effect ?

Replace in code SHADER_FOR_TEXT with SHADER_FOR_EPICNESS in here: https://github.com/tsoding/ded/blob/6d4cbcce478157b67d2ca598c7527cadd0e9b0a5/src/editor.c#L245
Rainbow effect was disabled in this commit, because from start it was a temporary shader for testing and demonstration:
https://github.com/tsoding/ded/commit/f813754dd2e9c32b55adc4837dbf6b5ff1c2684d#diff-3fe5ce523684a7fca311fab0d09542552fbe3a28ddaa20ebc5a65c1904bc5e02L202

Ty, i will try to make this compilable on MacOS but some libraries are terrible to use.


Stop when traffic (views) go more than 120

Hello,
Thanks for sharing and i used it to launch my own player, but any one tried to stream to large audience, i mean i tried to stream to 200 viewers at a time, but the player started to cut off, sometimes showing error of no connections but when viewers decreased to 100 and less, the player was ok ?!
The server i used was : 6 GB ram , 2x core, 30TB bandwidth !!!!!!!!
and another server : 3 GB ram, 4 Core and 40TB bandwidth !!!!
and both of them showing the same results of cutting off or taking more than 1minute to lunch when there is more than 200 viewers at a time !!!!!
Any help in this regards ?

Looks like 100 Mbps network limits. For bigger audience you need bigger or
multiple links.
W dniu wt., 6.03.2018 o 23:22 Ibrahimfathi<EMAIL_ADDRESS>napisał(a):

Hello,
Thanks for sharing and i used it to launch my own player, but any one
tried to stream to large audience, i mean i tried to stream to 200 viewers
at a time, but the player started to cut off, sometimes showing error of no
connections but when viewers decreased to 100 and less, the player was ok ?!
The server i used was : 6 GB ram , 2x core, 30TB bandwidth !!!!!!!!
and another server : 3 GB ram, 4 Core and 40TB bandwidth !!!!
and both of them showing the same results of cutting off or taking more
than 1minute to lunch when there is more than 200 viewers at a time !!!!!
Any help in this regards ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/arut/nginx-rtmp-module/issues/1221, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAbp9uWFDCDd_cGxYC7Nqfg3jPxFhKHSks5tbww-gaJpZM4Sfic2
.


Notify Comments

For Feature Requests
Desired Feature:
Notify by mail the editors of a book when someone add a comment

Yes


Replace array_init with array::from_fn in zero publc input test

oh I guess that means array_init is still present in Cargo.toml files?


Add Floating Action Buttons

Changes description 🧑💻

Add new fresh component : FloatingActionButton
Also, fix some readme mistakes and some colors (validated with @Sabrinavigil)
Context 🤔

https://github.com/Decathlon/vitamin-android/issues/13
Checklist ✅

[x] I have reviewed the submitted code
[x] I have tested on a phone device/emulator
[x] I have tested on a tablet device/emulator
[x] I have tested on a kiosk device/emulator

Screenshots 📸
Phone

Tablet

Kiosk

Other info 👋

Could you add the fabs in project's readme list of artefacts ?

Disabled fab visible
As you can see in this screenshot, we can see what I think is elevation or shade of the disabled fab. Is it possible to remove it to match specs ?

Fix in progress

Could you add the fabs in project's readme list of artefacts ?

Will be fixed in the next PR update


[IOTDB-2446]fix deleting bug in a compaction

At present, if a file has some data deletions, and then this file is compacted. If the file has deletions during the compaction, these delete operations will not work, because the operation is written into the .mods file instead of .compaction.mods files, and .mods files will be deleted after compaction.

Coverage decreased (-0.007%) to 67.744% when pulling 191db66d02f56333ee272068b990e37f3beda2db on choubenson:refactorCompaction into 465fc88b21f1d25dc828b7e0aeef9223575c17b6 on apache:master.


Add default value case victim is nullptr

[2022.04.09-07.06.55:853][985]LogSquadTrace: [DedicatedServer]Wound(): Player:nullptr KillingDamage=176.295227 from BP_PlayerController_C_2146878680 caused by BP_BTR82A_RUS_2A72_AP_Desert_C_2146855463
[2022.04.09-07.19.59:417][898]LogSquadTrace: [DedicatedServer]Wound(): Player:nullptr KillingDamage=258.000000 from BP_PlayerController_C_2147165493 caused by BP_MG3_DoorGun_C_2146825055
[2022.04.09-07.20.49:605][150]LogSquadTrace: [DedicatedServer]Wound(): Player:nullptr KillingDamage=62.000004 from BP_PlayerController_C_2146904499 caused by BP_Minimi_MK1_SCROMEJ4_C_2146823536
[2022.04.09-07.22.52:064][639]LogSquadTrace: [DedicatedServer]Wound(): Player:nullptr KillingDamage=185.000000 from BP_PlayerController_C_2147129998 caused by BP_DRAGAR_GIAT_M811_AP_Desert_C_2146824927

As a side note, do we know why victim not being defined is being reported a lot more recently than it has in the past? Is it just because this plugin is relatively new and doesn't have handling for it, unlike the others?

As a side note, do we know why victim not being defined is being reported a lot more recently than it has in the past? Is it just because this plugin is relatively new and doesn't have handling for it, unlike the others?

I believe within the DBlog plugin unassigned values or missing properties are coerced to null by Sequalize; though I may be incorrect.
Discordjs, however does not; especially when the code in question is more or less just constructing an object in the raw and passing it along (so, I guess this could be phrased as nodejs itself?)
It is interesting.
As an aside, I've noticed many people are using newer versions of nodejs (>14) against the install guide, and this has made errors involving promise rejection halt the process which is much more noticable

As an aside, I've noticed many people are using newer versions of nodejs (>14) against the install guide, and this has made errors involving promise rejection halt the process which is much more noticable

To be fair, the reason for using that version of Node is probably no longer relevant. But yes, fixing the crashing is something that needs to be looked into - probably in the new major version as it might require larger structural changes to be robust.

If we do a version upgrade, currently we are missing
https://github.com/discordjs/discord.js/commit/9d2d60691eb4bde729f40fb633ae257cf5bc6545
From discordjs, which may explain another issue with the above plugin. Someone had mentioned on SQ RCON discord that it seamed they were getting rate limited on a channel or whatever, requiring a restart, but I'm hazy on the details.


Migrate to SDL3

I wanted to implement some of the features introduced in SDL3

[x] Initial migration

[x] Remove API calls related to Joystick trackballs (see libsdl-org/SDL#6766)

[ ] Bug testing

[ ] Build issue tied to removal of deprecated CFFI functions
[ ] Rendering issue causing only partial window to be visible

[ ] Implement a couple of new features using SDL3 features

[ ] PreciseKeyEvent: Implemented as a new event to avoid breaking changes. Provides an accurate timestamp (accurate to 100 μs or 0.1 ms on Windows) for each input.
[ ] SDL_GetTicksNS(): Expose as a function in a way that makes sense. Used for comparision with PreciseKeyEvent timestamps.
[ ] SDL_GetSystemTheme(): Returns an enum with either DARK, LIGHT, or UNKNOWN, representing the current system theme.

Please start from the 8.2.0-Dev branch, which has a lot of SDL-update-related work already done.

Moved to #1679


escape file paths in generated code

Looking through the codegen, it looks like if there's a quotation mark in the name of the directory or file, it will produce invalid code as paths aren't checked/escaped. A library like https://github.com/unjs/knitwork might help on this. Would happily submit a PR if you'd like to use it.

Are quotation marks the only problem? I don't think such filenames should be supported


Event raising/handling Issues

To keep the other issues clean and focused I have made this one to discuss changes to event propogation and handling (as mentioned in #17).
The events are mainly there for other things to hook into, as you can make a plugin and put anything into the DI/ECS eco system so some plugins (which track entities or whatever) may want to subscribe to events we would think fairly useless.
Also the issue around components being registered in certain orders shouldnt be an issue, as groups are inclusive, so if you make an entity and add components A, B, C or B ,C A it doesnt really matter, any systems listening to A,B and B,C would still trigger. The only thing that may be a hiccup for you would be if you wanted the B,C group to be triggered AFTER the A,B had been setup, but this is the reason the predicates exist on groups so you can enforce that you not only want Components but also want some state to be true within the entity.
Currently I do not see any problem with the implementation for events but if you can provide specific problem scenarios (and we can then potentially add them to the unit tests), we can see if changes would be needed but currently I don't think you are safe to just assume components will be loaded in a given order, if you do require an order you can use the predicate. The other point about events not being used/needed cause little overhead and make the system more pluggable.
Anyway have a think and if you get together some examples we can look into it further.

So I take it SystemExecutor.OnEntityAddedToPool(EntityAddedEvent args) is only there in case there are systems designed to process completely empty entities which as I've read in another issue may be even stripped of IDs at some point.

I can only suggest that systems expecting no components be kept separately as to not grind through all systems just cause there's a 0.001% chance one of them processes empty entities. It'll speed up creating fresh entities dramatically.

The ID bit is unrelated (assuming you mean #18) as it just means that the id count constantly goes up but never re-uses freed up IDs, as it mentions in the story it was a carry over from how other frameworks work but its still an unknown if we need them.
I will for the moment add some checks in so if there is no components on an entity it just wont run any systems, that way other plugins which do care about those events can still make use of empty entities. That should provide a small amount of speed up.

A few minor improvements have been made here but I dont think there needs to be much further changed in this area, as even if some of the events are not used right now, they may be later on. Feel free to re-open if you have more to discuss in this area.


Modularize scraper modules

We don't need this but I think it's a cool idea.
https://github.com/NikolaiT/se-scraper/blob/06d500f75c0dd38e9cabb36b041121852034db93/src/node_scraper.js#L35-L55
Instead of hardcoding the list of possible search engines, allow use of any class that extends the base class. Can be a polymorphic addition of the current codebase.
https://github.com/NikolaiT/se-scraper/blob/06d500f75c0dd38e9cabb36b041121852034db93/src/node_scraper.js#L353-L357
let obj;
if (typeof this.config.search_engine === 'string') {
  obj = getScraper(this.config.search_engine, {
     config: this.config,
     context: {},
     pluggable: this.pluggable,
 });
} else {
  obj = new this.config.search_engine({
    config: this.config,
    context: {},
    pluggable: this.pluggable
  })
}

Then it's possible for the community to write own scraper modules
const se_scraper = require('se-scraper');
const thirdPartyScraper = require('se-scraper-third-party')

(async () => {
    let scrape_job = {
        search_engine: thirdPartyScraper,
        keywords: ['lets go boys'],
        num_pages: 1,
    };

    var results = await se_scraper.scrape({}, scrape_job);

    console.dir(results, {depth: null, colors: true});
})();

Very good idea. Will implement tomorrow.
Often the maintenance of existing scrapers is tiresome because the html of search engines changes every now and then. This will give users the possibility to derive their own parsing logic.

Custom scrapers now implemented.
See an example for reference


When scrolling listview, images are recycled

I saw you clarification here:
https://github.com/luberda-molinet/FFImageLoading/wiki/FAQ#when-fling-or-scrolling-listview-images-are-recycled-user-can-see-the-old-image-before-the-new-one-loads-about-05-2-seconds-causing-flicker-and-unpleasant-artifacts-for-the-user-how-to-avoid-it
When fling or scrolling listview, images are recycled, user can see the old image before the new one loads (about 0.5 ~2 seconds), causing flicker and unpleasant artifacts for the user. How to avoid it?

But how I do that on binding? I've just bound image source to the URL, how would I set it to NULL while user is scrolling??

I think you are looking for this

@EmmanVazz +1 for your solution, also it's much more performant to use list views with a lot of items without bindings (it's noticeable) :) I am thinking of adding a new property which will define behaviour if the image should be cleared before assigning a new one, but it's not implemented yet.

For the next guy, that like me uses XAML everywhere, here is a solution:
public class MyViewCell : ViewCell
{
    private CachedImage _cachedImage = null;

    protected override void OnBindingContextChanged()
    {
        if (_cachedImage == null)
        {
            foreach (var child in ((StackLayout)((Frame)View).Content).Children)
            {
                if (child is CachedImage)
                {
                    _cachedImage = (CachedImage)child;
                    break;
                }
            }
        }

        _cachedImage.Source = null; // prevent showing old images occasionally

        var item = BindingContext as Feed;

        if (item == null)
            return;

        _cachedImage.HeightRequest = item.UrlSource.HasValue() ? 200 : 0;

        _cachedImage.Source = item.UrlSource;

        base.OnBindingContextChanged();
    }
}

Fix the Frame/Stack to match your UI, and if you are getting like me, weird row heights, the manual height helped me a lot.
For those interested, here is my view cell XAML:
<ListView.ItemTemplate>
	<DataTemplate>
		<design:iXingViewCell>
			<Frame
				Margin="10,10,10,0"
				CornerRadius="5"
				Padding="10"
				HasShadow="false"
				BackgroundColor="White">
				<StackLayout
					Spacing="0"
					Margin="3,3,3,15">
					<StackLayout
						Orientation="Horizontal"
						HorizontalOptions="FillAndExpand">
						<Label
							Text="{Binding Text}"
							HorizontalOptions="StartAndExpand"
							LineBreakMode="TailTruncation"
							FontSize="16" />
						<Label
							Text="{Binding TimeAgo}"
							HorizontalOptions="End"
							LineBreakMode="NoWrap"
							FontSize="13" />
					</StackLayout>
					<ffimageloading:CachedImage
						Margin="5"
						Aspect="AspectFill"
						HorizontalOptions="Start" />
					<Label
						Text="{Binding PostedBy}"
						Margin="0,0,0,5"
						LineBreakMode="WordWrap"
						FontSize="13" />
				</StackLayout>
			</Frame>
		</design:iXingViewCell>
	</DataTemplate>
</ListView.ItemTemplate>

Hope this can help someone in the future.

It's also described here: https://github.com/luberda-molinet/FFImageLoading/wiki/Xamarin.Forms-Advanced#usage-in-listview-with-listviewcachingstrategyrecycleelement-enabled
:)

@NightOwlCoder @daniel-luberda   I dont understand there "old image" story. why you guys are talking about old image. are you not caching it? it should get it from the cache and display it, I thought. my image in my datatemplate looks like as below, I expect this to cache image to the disk for the first time and later usage should grab it from the cache within 120 days. So it is always 1 image for me, No old or new image. I believe my problem occurs because of LoadingPlaceholder, as i see loading.png for 0.5sec-1sec till actual image is loaded. when I scroll fast, it freezes my UI. How can I resolve it? are we talking about same problem?
<ffimageloading:CachedImage  RetryCount="1"	  TransparencyEnabled = "false"   CacheDuration = "120"
                                                          LoadingPlaceholder="loading.png"   FadeAnimationEnabled="True"    CacheType="Disk"  InputTransparent="True"     ErrorPlaceholder="error.png" />

Yes that was my issue.. the listview locks up ONLY when I use a place holder... However using the above code to null out the image has fixed the lock ups...
As to the problems we were having.. Yes we cache our images too... You will see the issue if you remove your placeholder... you will then see the previous image displaying before the new one (which looks bad).. Using a place holder hides this though... but causes lock ups when scrolling quickly...

@EmilAlipiev No, we're not caching anything additionally. It's how bindings in Xamarin.Forms in a ListView like scenarios, where cells are reused, binding have some kind of lag which can be resolved by this: https://github.com/luberda-molinet/FFImageLoading/wiki/Xamarin.Forms-Advanced#usage-in-listview-with-listviewcachingstrategyrecycleelement-enabled
It's even mentioned in official docs: https://developer.xamarin.com/guides/xamarin-forms/user-interface/listview/performance/#RecycleElement

@gviddy  "However using the above code to null out the image has fixed the lock ups..." - what do you mean by that? can I give me example if you have done it using mvvm and xaml?
PS, even though still nice to know how you did this, it looks like 2.2.10 and above versions solves this problem. I havent had any lock up after updating

Hello @daniel-luberda
I change my binding concept and used your concept.
         ```

<ff:CachedImage x:Name="imge1" Source="{Binding ProductImage}" Aspect="AspectFit"
HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"/>

protected override void OnBindingContextChanged()
{
imge1.Source = null;
var item = BindingContext as ProductModel;
        if (item == null)
        {
            return;
        }
        imge1.Source = item.ProductImage;
        base.OnBindingContextChanged();
    }

image Flicking problem has gone but now image hide then show when ListView Scrolled.

Any solution for this problem


Add explanation for the loss function

One of the most confusing things about implementing the A3C paper is that the entropy is not mentioned in the pseudocode at https://arxiv.org/pdf/1602.01783.pdf#page=14. I was really confused about how the loss was defined. Hope this comment will clear things up.

Hello,
thank you for your PR. Small reformulation and we can merge it ;)

@araffin I suggest using the phrasing "suggest to add an entropy component in order to improve exploration". The "entropy bonus" seems a bit odd to me under this context.


update sandbox image from pause-3.4.1 to pause-3.6

Oops, duplicate of https://github.com/charmed-kubernetes/bundle/pull/826


Josh branch

if possible i'd like to merge these four commits, please let me know

There is a lot of progress here on getting a list of bands into the database and unit tests


 <Integration of Open Weather API and Google Pla…

…ce API for Gear Recommendation Backend>
As of right now I adjusted the fields that will be grabbed for the actual API (since the old fields are ones I made up), I also changed some of the logic so that backend can be incorporated easier

I forgot to mention that I changed the input from location to longitude and latitude for now because that is what the API required. I will fix this when the google places/maps API is fully implemented and i will grab the lon + lat through that instead.

Looks good, as long as we get the Google places all figured out


[SQL] Support CHECK TABLE Statement

What would you like to be added:
Why is this needed:
https://dev.mysql.com/doc/refman/8.0/en/check-table.html

assigness me

parser not support sql


Inconsistent error message for view command

Description:
When entering the view command with index 0 or negative indexes. It does not show a useful error message akin to when the index larger than the size of the list.
Expected:
For all scenarios above, a useful error message should be shown. Preferably, the message in the third attached image with better description (can refer to delete command.

I think this is okay (the delete command has similar behavior btw).
Reason:
view 0 and view -1 is an incorrect command format in general because it is not a positive integer, and this can never be correct.
view 1000 is an invalid index for this particular list, but could be valid for some other list.
Could be argued both ways, but I don't think the error messages here are incorrect (i.e. we don't need to fix for v1.4)

Thank you for the clarification. I will be closing this issue for now to be potentially reopened and worked on in the future.


[azure-storage-blob-nio] Support full configurable BlobEndpoint

Is your feature request related to a problem? Please describe.
When i want to use docker azurite for local development, i cannot configure the BlobEndpoint to be http://<IP_ADDRESS>:10000/devstoreaccount1 as recommended by guides in setting up azurite
Describe the solution you'd like
As the BlobEndpoint configuration is available when directly using the BlobServiceClient, it should be possible for the azure-storage-blob-nio FileSystem configuration as well

Hi, @hofficoffi. Thank you for opening this issue. I'll work on adding support for this feature soon.

Hi, @hofficoffi. Thank you for opening this issue. I'll work on adding support for this feature soon.

I think probably the best way to do this is to have a config option that accepts the endpoint and we just drop it in. Then customers can pass whatever they want. So one of the query parameters on the URI would be "?endpoint="http://<IP_ADDRESS>:10000/devstoraccount1". I think it's ok to put a query value in quotes like that. And then we just strip the quotes and put the whole value for the endpoint rather than parsing.
@gapra-msft @alzimmermsft thoughts?


Replace AA_KBC_PARAMS after enable initdata

initdata is enabled in https://github.com/confidential-containers/cloud-api-adaptor/issues/1895 via https://github.com/confidential-containers/cloud-api-adaptor/pull/1912 and we're still keeping AA_KBC_PARAMS approach. Initdata will not take effect if AA_KBC_PARAMS set.
In this story, we'll

[ ] Add the kbs e2e tests to use initdata

[ ] Migrate existing test cases
[ ] Considering use KBS cert
[ ] Considering measurements/runtime_data checks for initdata.digest.

[ ] Requires reconcile with upstream for digest comparing for TEE drivers

[ ] Remove the AA_KBC_PARAMS logic
[ ] Adjust documentation
[ ] Providing default initData via configMap to improve the UX
https://github.com/confidential-containers/cloud-api-adaptor/pull/2006#issuecomment-2295728211

CC @mkulke @stevenhorsman @liudalibj @bpradipt

@bpradipt @mkulke I noticed that the TEST_TRUSTEE_OPERATOR is used to test TestTrusteeOperatorKeyReleaseForSpecificKey for a pre-configured cluster in azure. Does the TrusteeOperator support https now? Considering the complexity when enable https in KBS, I think maybe we should use TrusteeOperator to test KBS https and the certificates in aa.toml and cdh.toml which will be passed in by initdata.  wdyt?

@bpradipt @mkulke I noticed that the TEST_TRUSTEE_OPERATOR is used to test TestTrusteeOperatorKeyReleaseForSpecificKey for a pre-configured cluster in azure. Does the TrusteeOperator support https now? Considering the complexity when enable https in KBS, I think maybe we should use TrusteeOperator to test KBS https and the certificates in aa.toml and cdh.toml which will be passed in by initdata. wdyt?

I used CA signed certificates with TrusteeOperator, however I think we should be able to use self-signed certificates as well. Let me know if you need any help.

I used CA signed certificates with TrusteeOperator, however I think we should be able to use self-signed certificates as well. Let me know if you need any help.

OK, I think e2e test will use self-signed certificate. I'll add it.

KBS cert depends on the KBS repo for support, but we can split this out into a separate issues for clarity if we want to test this in peer pods at all (rather than leave it to the attestation - kbs testing to cover).


React to connectivity changes when playing videos

Added Reachability, which seems to be the accepted method in iOS for querying the connection state of the device.
Also add UI to display when the device is offline.
Demo:

Note that the simulator picks up network changes correctly, but the iPad I am testing on does not. It also does not affect the application from functioning, and I don't have an iPhone to test with. I'd like to release this and fix it if necessary (it's possible that the iPad is just not picking up the changes correctly)

Just a thought, but the issue with connectivity changes not working on the iPad could possibly be an iOS 10 issue?

Do you definitely need to involve the reachability API given that the only thing that needs network access is the video - would it be possible to catch errors from the video view and show the UI instead?

@eoinkelly that exists at the moment, that error handling. The problem I ran into is that while error handling is built into the video player (there is a state change notification that can be subscribed to), the timeout for the video cannot be configured, and an error is not thrown until the video player times out (from memory this is 30 seconds or 1 minute). When I was researching solutions, there were a few that suggested subscribing to load state notifications on the player, and reacting if, for example the load state had not changed for 10 seconds, and honestly I didn't really try this route, but it is closest to what you are suggesting.
The reason I went with Reachability was that it was pretty widely suggested all over the place, so I thought if I had problems with it it would be easier to find StackOverflow answers. I also thought it would be better UX to show a view to the user stating that the video will not work because they are offline, before they try and play it.

Sweet - that sounds good. You will still need to update the min iOS version to 8.0 tho as Reachability.swift only supports that. Updating to iOS 8.0 isn't a big deal I think as it only cuts off iPhone 4 and iPad 1

@eoinkelly I have made some fairly significant changes:

I have switched the Swift version for the Objective C version. That was a nice spot you made about the Swift version supporting iOS 8, and I was having trouble with the Swift version not working on iOS 10 in any case. The Objective C version works on iOS 10 and is also backwards compatible as far back as our current minimum, iOS 7. I'm keen to support as old as possible as educational institutes, etc may use this app on older hardware.
I discovered that the iPad layout basically has the same code as the video view controller copy and pasted. I'd like to clean this up, but don't have the iOS skills to know how to do this right now (I suspect a custom view class is involved...?), so I have added similar behaviour as the iPhone layout. The only difference is that I just could not get a custom view to position correctly on the iPad - something to do with the frame of the split view controller I think. Instead, I disable the play button and change the text to reflect the error.

XCode 8 only supports back as far as iOS 8 so I think that change will have to happen. I'm sympathetic to keeping this working on older devices but  the iPad 2 and iPhone 4S went on sale in 2011 so any device purchased in the last 6 years should be fine and that seems like a reasonable cutoff.
Also the app store will continue to make the older versions of the app available to older devices so they won't be entirely cut off.


Communicate socket close reasons

After switching to engine.io, it seems that socket close reasons are not being received by the other side.  Investigate and fix.

Moot with engine.io removal


Reducing Title Tag size in template

Affected Components

[ ] Content & Marketing
[ ] Pricing
[ ] Test
[ ] Docs
[ X ] Learn
[ ] Other

Pre-Requisites

[ ] Code is linted (npm run lint)

Notes for the Reviewer
This first commit tries to fix the elongated Meta TItle Tags in our Hugo template
New Dependency Submission

Screenshots


Link to redux-saga docs is broken

The introduction.md links to the wrong page for redux-saga.
This one is linked: http://yelouafi.github.io/redux-saga/
I think this is the right one: https://redux-saga.github.io/redux-saga/

Thanks. Could you send a PR?

Thanks for the PR @gregoralbrecht, this is fixed! :tada:


Search in several indexes

Hello!
Is it possible to search in different ES  indexes with this cool packge? If it is possible, please give some examples.
Thanks!

Do you mean put the same model into mulitple indicies? If so, then not with this package. You want to look into the base php package that this extends.
If you mean search multiple different models at once, then just call search() multiple times and concatenate the results.

Thank you for a answer. I mean search multiple different models at once.

@jenya87
I'm just getting into this and running queries in Kibana. You can definitely search across multiple indexes in elasticsearch without having to concatenate the results. I don't see a way to do it with this package though.
This package targets searching in a given model and includes an "index" scope in the _payload (you can inspect that by calling refine() on your query).
This package might work to search across models https://github.com/matchish/laravel-scout-elasticsearch


Attempt frontend deploy

Hey @jaza-k I'm trying to merge something to production branch so that GitHub Action would be triggered to perform deploy frontend, as we want to know if the workflow is working and we could fix it if not. If you could quickly approve this pr and I'll merge it, that would be appreciated!


Issue Fixed #7158

issue #7158

@prabhatkumaroc082
Not fixed, still getting the UI issue if the special price is applied for any product, please find the below screenshot

@prabhatkumaroc082
Any update?

@Sanjaybhattwebkul review now.

@prabhatkumaroc082
Please Improve for the special price, please take a reference from the below screenshot.

@prabhatkumaroc082
Any update?

@prabhatkumaroc082
Still not as expected, please find the screenshot Here
Please find the expected result below.

@prabhatkumaroc082
Any update?

Closing this pull request as no activity from the last 2 months.
Feel free to open a new pull request once done.


VS Code Insider - Welcome tab is hung...

VSCode Version: Code - Insiders 1.10.0-insider<PHONE_NUMBER>1592cf5fe64fd911b1efe41b1ea732, 2017-02-20T07:13:27.765Z)
OS Version: Windows_NT ia32 10.0.15007
Extensions: N/A
|Extension|Author|Version|
|---|---|---|
|html-snippets|abusaidm|0.1.0|
|python|donjayamanne|0.5.8|
|code-runner|formulahendry|0.6.10|
|csharpextensions|jchannon|1.2.0|
|mssql|ms-mssql|0.2.1|
|csharp|ms-vscode|1.7.0|
|PowerShell|ms-vscode|0.9.0|
|vscode-icons|robertohuertasm|7.2.0|
|python|tht13|0.2.3|
|python-extended-snippets|tushortz|0.0.1|

Steps to Reproduce:

After "Close Folder" the Welcome tab is hung trying to refresh the screen".

I just hit this.

As of commit #9f9d79eb I'm seeing the Welcome page again, but I'm getting URI errors when I click on links, e.g. documentation:

@MartinSGill That is a limitation when running from sources, some of the URIs and their commands are only configured through the build servers. The bug only reproduces when running an insider build on Windows.

@chrmarti yeah sorry my bad. I was running insider build earlier today before switching to source, and got confused. Thanks for clearing up my issue though, hadn't realised that limitation existed in source builds.

Just an FYI
I update VS Code Insider Version 1.10.0-insider and I'm still getting a hung up Welcome tab.

Thanks,
:)

Thanks guys!!


Question: Bluetooth?

As I understand it the mower works with Bluetooth. How does that integrate with home assistant? Talking about Husqvarna Autmower 305.

See: https://github.com/Thomas55555/husqvarna_automower#supported-devices


candidates re-sorted on input with frecency.nvim

hey, there
great plugin y'all got going here. I use it everyday and it works real good
One thing I noticed is that, when used with https://github.com/nvim-telescope/telescope-frecency.nvim the candidates will get re-ordered as the user types an input.
I don't exactly know the sorting algorithm that gets used, but, while prioritizing basename as expected, the relative order of candidates won't stick.
I've tried this by inputting "wiki" to match the .wiki extension and the order between wiki files changes. Matching for my input works because I have no "wiki.something" path and "/some/path/file.wiki" has priority over "/wiki/path/file.something", but "/file/I/access/a/lot.wiki" will have lower priority "/other/file/I/have/visited/once.wiki"
I hope I've described the problem ok

@FelipeLema I took some time to read through the frecency and telescope repos. Here's what I learned. Telescope-frecency.nvim is a picker, not a sorter as I had assumed. Frecency is setting it's own sorter to be a default basic substring matcher, so telescope-zf-native is not even used at all for frecency.
I can see two solutions:

I'm not 100% sure I understand this code, but it appears to be someone wrapping the frecency results with the fzf sorter. You could probably adapt this to use zf. https://github.com/nvim-telescope/telescope-frecency.nvim/issues/49
Submit a PR or make an issue on frecency to allow using custom sorters.

So it looks like the solution is not something I can fix in this repo. Sorry about that! Please let me know what you think before I close this.

your proposed solutions sound about right. I'll take a look at the code in that issue thread and maybe do a PR.
I'm still not familiar with telescope concepts (which is why I asked for help here). Sorry for bothering

@FelipeLema good luck getting it working! Do let me know if there is anything else I can help with in the future! And you weren't a bother! :)


Update the logic for browser download popup when stop profiling or creating a dump file

There are two feature requests here:

When user clicks on "Stop Profiling" button, it may take few seconds or even minutes for the browser download popup to show up. During this time we want the text of the button to change to "Stopping Profiler..."

If "Stop Profiling" returns an error, we want to display that in a pop-up similar to what we do for "Start Profiling", currently nothing shows up unless user does F12 or uses fiddler and look at the response error.

@shrimpy

If no one started work on this one, @badescuga and I can have a go at it.

I got this!
On Oct 9, 2015 12:19 PM, "Adrian Calinescu"<EMAIL_ADDRESS>wrote:

If no one started work on this one, @badescuga
https://github.com/badescuga and I can have a go at it.
—
Reply to this email directly or view it on GitHub
https://github.com/projectkudu/kudu/issues/1632#issuecomment-146809840.

Go for it, thanks!

Fixed in https://github.com/projectkudu/kudu/commit/8a7739ec049fa46121976d392636731ace2466c0


Single/short-word intonation and pronuncation

I'm curious about the cause of short single-syllable words being difficult on the model(s) to pronounce alone (I'm using Ryan).  It might say a two-words fine, but many short words' intonation ends up really strange.  Basically all single-syllable words, and some multi.  Like [when used in separate runs]: what, yes, no, dog, ... busy, barbie,
So,

Curious about cause,
Is there anything that can configure or affect it?
Is there something that can be done during training that can improve the quality of them?

Srsly? Nobody but me wants to figure out how to get single word intonation and pronunciation working well? (Or am I somehow the only one experiencing it?)

The training samples didn't have enough short lines so it wasn't able to learn short word intonation. You can extend the database with single word examples and fine-tune Ryan's voice to improve it. It can be either in other words with single words or single words converted to Ryan's voice with voice conversion.

Oh good. Thank you.
I bet I could whip up some code using silence detection to grab the first
word of each training sample to add to the set. (Would have to get more
elaborate to try to pick other words out. Silence detection to segment,
whisper to transcribe. Verify against original text. Verify against the
transcriptions of sample[i-1:i+1] etc.)
On Mon, Nov 13, 2023, 3:48 AM Nickolay V. Shmyrev @.***>
wrote:

The training samples didn't have enough short lines so it wasn't able to
learn short word intonation. You can extend the database with single word
examples and fine-tune Ryan's voice to improve it. It can be either in
other words with single words or single words converted to Ryan's voice
with voice conversion.
—
Reply to this email directly, view it on GitHub
https://github.com/rhasspy/piper/issues/252#issuecomment-1808009436, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AE3AV7LACCPYDGDDTSQRJX3YEICIJAVCNFSM6AAAAAA6RGUPZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBYGAYDSNBTGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

I'm experiencing the same issue. I trained a model 2000 epochs and when short words are synthesized alone it sounds garbled. The same words/phonemes sound fine when they are synthesized together usually with an additional word or two.
Were you able to fine-tune your model to get it working? If so, if you'd be so kind could you share your approach? (how many single phrases did you add to the dataset / how many additional epochs did you run it for until the issue resolved)?

It's best to have lots of short phrases in the dataset, including letters of the alphabet and some numbers.
For existing voices, I have a working solution for this problem over in the piper sample generator: https://github.com/rhasspy/piper-sample-generator/blob/master/generate_samples.py
It requires having access to the original PyTorch model for now, so I will have to re-export all of the current voices in the future. Basically, you have to repeat the short phrase until some minimum phoneme count is met. Then, you use the output phoneme timings (from the PyTorch model) to clip the audio and just grab the final repeated phrase.

Thanks for sharing that! After searching around it looks like others had similar issues with short phrases. I saw a similar issue in the VITS repo https://github.com/jaywalnut310/vits/issues/139
When doing inference on my model repeating the same word results in sort of gibberish output but putting the word in a medium sized sentence, then slicing the audio to grab the single word works. I noticed some other TTS models trained on the LJ Speech dataset have the same issue synthesizing single words.
Does anyone know if there is an open version of any of these widely used datasets that includes a sufficient amount of single words for training?


Builder parameters not referenced in analysis code.

Finish up #1

The main addition was to remove all references to the params field in instances of Builder. Instead we use getattr and setattr. This is to allow any object with a build_wires and appropriate fields like freq to used.
The optimize procedure now returns a builder object (not a params dictionary). You can still reference the dictionary in tests, but it shouldn't be required in any internal code. To check this, there is a design that does not subclass from Builder. It is rawdipole and there is a corresponding test file.


Add Pin/Biometric to open app

We have decided to use a standard 4 digit pin rather than native device auth.
I have started a basic dummy implementation but it requires work.
Requirements:

If a PIN is not set, a user should be prompted to SET a PIN. When settings a new pin, the cubit should store 2 values, chosenPin and confirmedPin. Storage in hive should only be triggered when both match.

If a chosenPin value is set, SET button should disappear, and CONFIRM button should appear. Also the pinText should reset.

The Start component should also take in the PinCubit state and only be active if the PIN is set. It must otherwise be inactive. If PIN is set, then Set button should be inactive and only Start should be active and must check if text = pinCubit.state.value.

the basic flow is :

check if there is a pin model with some value, if not, user has to SET pin.
while chosing a pin, check if there is a chosenPin, if not let user SET a pin, if there is a chosenPin make user CONFIRM it
during pin Setup, CONFIRM should only change the state of cubit to isVerified TRUE and saveNewPin model, user then has to type PIN AGAIN and click on START which will check against the model, reset isVerified and navigate to the next page.

If pin is already set, and user is returning to the app, the value in the cubit will not be null, so do not show SET or CONFIRM, only show START.

Currently we are using a StatefulWidget, it might be better that we update to use a stateless widget and move all the pin value entry logic into the cubit.

Requires some testing. Could use a refactor. Basically, functional.
Requires updating to store PIN hash rather than PIN Value.


Different results for dgst -verify with different OpenSSL versions

I found this behaviour in PHP 7.4.0 which uses OpenSSL 1.1.1c (Linux) and OpenSSL 1.1.1d (Windows) under the hood and tracked it down to a reproducible issue on the command line, too.
I downloaded 3 versions from here: http://slproweb.com/products/Win32OpenSSL.html
And tried to verify a signature with the openssl dgst command:
c:\OpenSSL-Win64-1.0.2t\bin\openssl.exe dgst -sha256 -verify pubkey.pem -signature signatureValue.bin data.der
Verified OK

All well but for newer versions this happens:
c:\OpenSSL-Win64-1.1.0L\bin\openssl.exe dgst -sha256 -verify pubkey.pem -signature signatureValue.bin data.der
Verification Failure

Failed
c:\OpenSSL-Win64-1.1.1d\bin\openssl.exe dgst -sha256 -verify pubkey.pem -signature signatureValue.bin data.der
Verification Failure

Failed, too.
The used files are available in this file.

Can confirm "Verification Failure" occurs on v1.1.0L and above, but not on v1.0.2u. Investigating further.

This error seems to be related to your priv or pub key.
While I indeed get the error with your files (between a gentoo 1.1.1k and a centos7 1.0.2k-fips), I don't have it with locally generated 2048 keys.
typeset binVers="$(openssl version|awk '{print $2}')"
typeset dataFile="signatureValue.bin"
# Create priv/pub keys
openssl genrsa -out key-${binVers}.prv 2048
openssl rsa -in "key-${binVers}.prv" -out "key-${binVers}.pub" -pubout -outform PEM

# Sign file with local key
openssl dgst -sha256 -sign "key-${binVers}.prv" "$dataFile" > "sign-${binVers}"

Then, with each version, do the check
for signFile in sign-*; do
  signVers="${signFile#sign-}"
  echo "== Testing $signVers with $binVers"
  openssl dgst -sha256 -verify key-${signVers}.pub -signature "$signFile" "$dataFile"
done

Even if this bug is 2 years old, do you still have memory about the way you generated the priv or pubkeys ?

Puhh... IIRC this was nothing special (same as your snippets). But maybe this was a time where I may have ignored such output (don't blame me):

unable to write ‘random state'

As it "worked" I guess I ignored it. Could that be related?

Could it be related to #10610 or #410 ?
I tried by adding RANDFILE=/nonwritable before openssl genrsa, in 1.0.2k I indeed have the message

unable to write 'random state'
e is 65537 (0x10001)

but on 1.1.1k I only have

e is 65537 (0x10001)

In both cases, the verification is ok.
Testing with strace, I don't see 1.1.1k even trying to access/test the /nonwritable file, while 1.0.2k indeed tries and fails with EACCESS. Then it immediately fallbacks to /dev/urandom
Would it be a windows-specific case when RANDFILE is set to a bad value and there is no fallback ? It would generate an invalid RSA Key ?

I was on windows back then... I cannot comment on anything else, sorry.


[Feature] adjust iceberg table sink dop

What type of PR is this：

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
https://github.com/StarRocks/starrocks/issues/21502
In the first milestone of iceberg table sink, we want to support users manually config the sink dop. it mainly to used to increase concurrency and reducing small files by user. If user doesn't configure, we will use the current sink dop default value.  the default value is min(32, default_dop_by_cores).  32 is an empirical value for accessing S3, which is a turning point for the IO concurrency.
Session variable pipeline_sink_dop has been deprecated currently. In this patch, we cancel the deprecation. It only be used in iceberg table sink. We didn't modify any logic of the olap table sink.
We will make adaptive adjustments to the Iceberg sink DOP in the next milestone.
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[ ] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

[FE PR Coverage Check]
coverage check fail. please retry. :fearful:
Please let me know when error again.
com.naver.nid.cover.parser.coverage.exception.ParseException: java.nio.file.NoSuchFileException: /home/runner/_work/starrocks/starrocks/fe/fe-core/target/result

[FE PR Coverage Check]
:disappointed: fail : 36 / 53 (67.92%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/planner/PlanFragment.java
2
4
50.00%
[269, 270]

:large_blue_circle:
com/starrocks/qe/CoordinatorPreprocessor.java
17
29
58.62%
[1693, 1695, 1696, 1698, 1699, 1700, 1702, 1705, 1747, 1748, 1749, 1751]

:large_blue_circle:
com/starrocks/sql/InsertPlanner.java
6
8
75.00%
[218, 242]

:large_blue_circle:
com/starrocks/qe/Coordinator.java
7
8
87.50%
[925]

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
4
4
100.00%
[]