openai.error.ServiceUnavailableError: The server is overloaded or not ready yet.

My model is gpt-3.5-turbo,i find this error when i run game24/bfs .Following is my real input and output:
D:\Python310>python D:\ProgramFiles\JetBrains\tree-of-thought-llm\run.py --task game24 --task_start_index 900 --task_end_index 1000 --method_generate propose --method_evaluate value --method_select greedy --n_evaluate_sample 3 --n_select_sample 5
Namespace(backend='gpt-3.5-turbo', temperature=0.7, task='game24', task_start_index=900, task_end_index=1000, naive_run=False, prompt_sample=None, method_generate='propose', method_evaluate='value', method_select='greedy', n_generate_sample=1, n_evaluate_sample=3, n_select_sample=5)
functools.partial(<function gpt at 0x000001F4FF198C10>, model='gpt-3.5-turbo', temperature=0.7)
-- new_ys --: ('5 * 6 = 30 (left: 4 30 10)\n', '10 - 4 = 6 (left: 6 5 10)\n', '10 - 5 = 5 (left: 4 6 5)\n', '6 / 5 = 1.2 (left: 4 1.2 10)\n', '6 + 10 = 16 (left: 4 5 16)\n', '6 - 4 = 2
(left: 2 5 10)\n', '6 - 5 = 1 (left: 4 1 10)\n', '10 / 5 = 2 (left: 4 2 10)\n', '6 / 4 = 1.5 (left: 1.5 5 10)\n', '4 + 5 = 9 (left: 6 9 10)\n', '5 + 6 = 11 (left: 4 11 10)\n', '10 / 4
= 2.5 (left: 2.5 5 10)\n', '4 * 5 = 20 (left: 6 20 10)\n', '6 + 10 = 16 (left: 4 5 16)\n', '10 - 4 = 6 (left: 6 5 10)\n', '10 - 5 = 5 (left: 4 6 5)\n', '6 - 4 = 2 (left: 2 5 10)\n', '6 - 5 = 1 (left: 4 1 10)\n')
-- sol values --: (3.0, 3.0, 3.0, 3.0, 2.001, 2.001, 2.001, 2.001, 2.001, 2.0, 1.002, 1.002, 0.003, 0, 0, 0, 0, 0)
-- choices --: ['5 * 6 = 30 (left: 4 30 10)\n', '10 - 4 = 6 (left: 6 5 10)\n', '10 - 5 = 5 (left: 4 6 5)\n', '6 / 5 = 1.2 (left: 4 1.2 10)\n', '6 + 10 = 16 (left: 4 5 16)\n']
-- new_ys --: ('5 * 6 = 30 (left: 4 30 10)\n30 - 10 = 20 (left: 4 20)\n', '6 / 5 = 1.2 (left: 4 1.2 10)\n10 / 4 = 2.5 (left: 2.5 4)\n', '6 / 5 = 1.2 (left: 4 1.2 10)\n10 - 4 = 6 (left:
1.2 6)\n', '6 / 5 = 1.2 (left: 4 1.2 10)\n4 - 1.2 = 2.8 (left: 2.8 10)\n', '5 * 6 = 30 (left: 4 30 10)\n4 + 30 = 34 (left: 10 34)\n', '5 * 6 = 30 (left: 4 30 10)\n4 * 30 = 120 (left:
10 120)\n', '5 * 6 = 30 (left: 4 30 10)\n10 / 4 = 2.5 (left: 2.5 30)\n', '10 - 4 = 6 (left: 6 5 10)\n10 - 6 = 4 (left: 4 5)\n', '10 - 4 = 6 (left: 6 5 10)\n10 / 5 = 2 (left: 2 6)\n', '
10 - 5 = 5 (left: 4 6 5)\n6 - 5 = 1 (left: 1 6)\n', '10 - 5 = 5 (left: 4 6 5)\n5 + 4 = 9 (left: 6 9)\n', '10 - 5 = 5 (left: 4 6 5)\n4 / 5 = 0.8 (left: 0.8 5)\n', '6 / 5 = 1.2 (left: 4
1.2 10)\n4 + 1.2 = 5.2 (left: 5.2 10)\n', '6 / 5 = 1.2 (left: 4 1.2 10)\n4 / 1.2 = 3.33 (left: 3.33 10)\n', '6 / 5 = 1.2 (left: 4 1.2 10)\n4 * 1.2 = 4.8 (left: 4.8 10)\n', '6 / 5 = 1.2
(left: 4 1.2 10)\n10 - 1.2 = 8.8 (left: 4 8.8)\n', '6 + 10 = 16 (left: 4 5 16)\n16 - 4 = 12 (left: 5 12)\n', '6 + 10 = 16 (left: 4 5 16)\n16 / 4 = 4 (left: 5 4)\n', '6 + 10 = 16 (left
: 4 5 16)\n16 / 5 = 3 (left: 4 3)\n', '5 * 6 = 30 (left: 4 30 10)\n30 / 4 = 7.5 (left: 10 7.5)\n', '10 - 4 = 6 (left: 6 5 10)\n6 + 5 = 11 (left: 10 11)\n', '10 - 4 = 6 (left: 6 5 10)\n
5 + 10 = 15 (left: 6 15)\n', '10 - 5 = 5 (left: 4 6 5)\n4 + 6 = 10 (left: 5 10)\n', '10 - 5 = 5 (left: 4 6 5)\n6 - 4 = 2 (left: 2 5)\n', '10 - 5 = 5 (left: 4 6 5)\n4 - 5 = -1 (left: -1
5)\n', '6 / 5 = 1.2 (left: 4 1.2 10)\n10 + 4 = 14 (left: 1.2 14)\n', '10 - 5 = 5 (left: 4 6 5)\n4 * 6 = 24 (left: 5 24)\n', '10 - 5 = 5 (left: 4 6 5)\n6 / 4 = 1.5 (left: 1.5 5)\n', '1
0 - 5 = 5 (left: 4 6 5)\n5 * 6 = 30 (left: 4 30)\n', '10 - 5 = 5 (left: 4 6 5)\n6 / 5 = 1.2 (left: 1.2 5)\n', '10 - 5 = 5 (left: 4 6 5)\n5 + 6 = 11 (left: 4 11)\n', '6 + 10 = 16 (left:
4 5 16)\n16 - 5 = 11 (left: 4 11)\n', '5 * 6 = 30 (left: 4 30 10)\n30 - 4 = 26 (left: 10 26)\n', '5 * 6 = 30 (left: 4 30 10)\n10 + 4 = 14 (left: 14 30)\n', '5 * 6 = 30 (left: 4 30 10)
\n4 * 10 = 40 (left: 40 30)\n', '10 - 5 = 5 (left: 4 6 5)\n5 * 4 = 20 (left: 6 20)\n', '6 + 10 = 16 (left: 4 5 16)\n4 + 5 = 9 (left: 9 16)\n', '6 + 10 = 16 (left: 4 5 16)\n5 + 4 = 9 (l
eft: 9 16)\n', '6 + 10 = 16 (left: 4 5 16)\n4 * 5 = 20 (left: 20 16)\n', '6 + 10 = 16 (left: 4 5 16)\n5 * 4 = 20 (left: 20 16)\n', '10 - 4 = 6 (left: 6 5 10)\n6 * 5 = 30 (left: 10 30)\n')
-- sol values --: (40.001, 22.0, 21.001, 21.001, 20.002, 20.001, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 2.001, 2.001, 2.001, 2.001, 2.001, 2.0, 2.0, 1.002, 1.002, 1.002, 1.002, 1.001, 1.001, 0.003, 0.003, 0.003, 0.003, 0.003, 0.003, 0.003, 0.003, 0.002)
-- choices --: ['5 * 6 = 30 (left: 4 30 10)\n30 - 10 = 20 (left: 4 20)\n', '6 / 5 = 1.2 (left: 4 1.2 10)\n10 / 4 = 2.5 (left: 2.5 4)\n', '6 / 5 = 1.2 (left: 4 1.2 10)\n10 - 4 = 6 (left: 1.2 6)\n', '6 / 5 = 1.2 (left: 4 1.2 10)\n4 - 1.2 = 2.8 (left: 2.8 10)\n', '5 * 6 = 30 (left: 4 30 10)\n4 + 30 = 34 (left: 10 34)\n']
Traceback (most recent call last):
File "D:\ProgramFiles\JetBrains\tree-of-thought-llm\run.py", line 90, in
run(args)
File "D:\ProgramFiles\JetBrains\tree-of-thought-llm\run.py", line 44, in run
ys, info = solve(args, task, i)
File "D:\Python310\lib\site-packages\tot\methods\bfs.py", line 68, in solve
values = get_values(task, x, new_ys, args.n_evaluate_sample)
File "D:\Python310\lib\site-packages\tot\methods\bfs.py", line 23, in get_values
value = get_value(task, x, y, n_evaluate_sample, cache_value=cache_value)
File "D:\Python310\lib\site-packages\tot\methods\bfs.py", line 10, in get_value
value_outputs = gpt(value_prompt, n=n_evaluate_sample, stop=None)
File "D:\Python310\lib\site-packages\tot\models.py", line 28, in gpt
return chatgpt(messages, model=model, temperature=temperature, max_tokens=max_tokens, n=n, stop=stop)
File "D:\Python310\lib\site-packages\tot\models.py", line 36, in chatgpt
res = completions_with_backoff(model=model, messages=messages, temperature=temperature, max_tokens=max_tokens, n=cnt, stop=stop)
File "D:\Python310\lib\site-packages\backoff_sync.py", line 105, in retry
ret = target(*args, **kwargs)
File "D:\Python310\lib\site-packages\tot\models.py", line 24, in completions_with_backoff
return openai.ChatCompletion.create(**kwargs)
File "D:\Python310\lib\site-packages\openai\api_resources\chat_completion.py", line 25, in create
return super().create(*args, **kwargs)
File "D:\Python310\lib\site-packages\openai\api_resources\abstract\engine_api_resource.py", line 153, in create
response, _, api_key = requestor.request(
File "D:\Python310\lib\site-packages\openai\api_requestor.py", line 230, in request
resp, got_stream = self._interpret_response(result, stream)
File "D:\Python310\lib\site-packages\openai\api_requestor.py", line 624, in _interpret_response
self._interpret_response_line(
File "D:\Python310\lib\site-packages\openai\api_requestor.py", line 667, in _interpret_response_line
raise error.ServiceUnavailableError(
openai.error.ServiceUnavailableError: The server is overloaded or not ready yet.
Is this the model's reason? Should i use gpt-3.5-turbo-16 or gpt-4 to solve this error?

this seems more of an OpenAI issue instead of this repo's issue? maybe try run again some other time and see if it works?
also, try gpt-3.5-turbo and see if it works?

I used gpt-3.5-tuibo for the last question.It doesn't work .And  I also had this problem when I ran other game24's code

i want to know if i want to use llama2 instead of gpt how can i change the code

you can try, I haven't tried llama2 yet. but perf might not be as good as gpt-4.
if OpenAI error persists, maybe contact OpenAI support? or you can update here some newest error messages and see if people faced anything similar...

closing for now, feel free to open a new one


How to use Elasticsearch Aggregations to query data?

Hi:
I want to query elasticsearch data by Elasticsearch Aggregations,How would I do it?
Thinks!

http://elastalert.readthedocs.io/en/latest/ruletypes.html#metric-aggregation


Migration of existing db fails for persistent DB in Firefox

Copy of issue comment by @tanriol on #467: "... if you already have a "persistent" IndexedDB in Firefox, Dexie cannot open it in spite of what the tutorial says and migration requires copying the data manually."

@tanriol, Do you know if the migration tutorial is failing for persistent databases specifically, or is the guide not working for non-persistend databases as well? Could you explain what is happening when you tried it?

From my experience with persistent data everything works as expected. In Chrome and Firefox Dexie can open a database after transfer from temporary to persistent. Migration also works for persistent origins. But I may have used Nightly back then to check this.

Certainly I should have been more clear :-)
I was talking about databases created with the Firefox-specific storage: "persistent" option. As tested with the following html file, there are actually independent pools (namespaces) for different kinds of storage ("default", "temporary", "persistent"). As Dexie does not pass any storage value, databases initially created as storage: "persistent" cannot be opened with Dexie.

Ok, I didn't check that as I expect Firefox to deprecate this features soon.

Rather likely, but today on stable Firefox 56 the Storage API is not yet available and this interface is the only way to have a persistent DB.


Tags: Implementation of w3c correlation context format.

Updates #1667.
Blocked by PR #1800.

Rebased, PTAL.

Friendly ping @dinooliva @rghetia


Support for AST2500 flash registers needed.

We discovered that libflash / pflash do not currently support the new register layout for the AST2500.  Is this work planned to be done in the near future?  We have systems coming on-line soon that are going to require this support and we need to integrate it back into openbmc.
Please see openbmc/openbmc#538 and openbmc/openbmc#541 for additional background.

I've started writing a driver with the new layout. Shouldn't take too long I suppose, would it be best if I was assigned to it?

Oops. @williamspatrick I think @cyrilbur-ibm needs to be added to a group so I can assign the issue to him?

@cyrilbur-ibm - Any update on this?  Work seems to have ceased lately.

@cyrilbur-ibm has been working on this. The ast2500 involves the strapping registers in the mix, making it harder than the ast2400 to do from userspace

Can folks who work on this please drop me some comments re: https://lists.ozlabs.org/pipermail/openbmc/2016-September/004670.html ? Specifically, does this missing support only affect the "updating PNOR from host" case?

@GHF Sorry, I missed that email when you sent it. I will reply to it today.

We seem to have solved our problems with MTD devices and related fun. Going to close this out.


Update Pages “contact”

Automatically generated by Netlify CMS

👷 Deploy Preview for distracted-davinci-ed3898 processing.
🔨 Explore the source changes: 3ab2b54a1819d920326e069b25ba1063f96b3792
🔍 Inspect the deploy log: https://app.netlify.com/sites/distracted-davinci-ed3898/deploys/611d2ad10227200007473181


Photo step - TS bugfix

https://github.com/user-attachments/assets/3d14f2b4-9438-467d-a3d3-e25393a85ef2

Fix sonar issues


Need fine tuning?

First of all, Congrats on such a great work.
And I would like to test with fine tuning the minus-language model to custom data set.
I have tried with run_with_submitit.py, but it does not train and seems like it only assign job for submitit.
I am not very familiar with submitit, but could you share some way which I could do fine tuning.
Thanks again.

Hi @aungpaing98,
In order to fine-tune MDef-DETR Minus-Language model (equivalent to Def-DETR) using this repository, you need to convert your dataset into MDETR pretraining data format. Or otherwise, you will be modifying/writing your own data loader.
Further, you can also use the below simple SLURM script for running trainings.
#!/bin/sh
#SBATCH --job-name=<job_name>
#SBATCH --partition=<partition_name
#SBATCH --time=72:00:00
#SBATCH --nodes=8
#SBATCH --ntasks=32
#SBATCH --cpus-per-task=10
#SBATCH --gres=4
#SBATCH --mem-per-cpu=8000

srun python main.py --dataset_config configs/pretrain.json --ema --output-dir ./checkpoints/

Please have look at the main.py script if you are not using SLURM cluster for training. I hope this will help.
Thank you

Thanks you for your explanation.
I will check that.

@mmaaz60 , Thanks you so much for your explanation. I will check that.
Sorry, just one more question, Does that mean if we only need to do class-aware object detection, using Def-DETR model will be the same?

Hi @aungpaing98,
The MDef-DETR minus Language model is nothing but single-class Def-DETR trained using MDETR data loader (i.e. keeping the structure introduced by 1.3M captions intact).

Thanks for your answer.


fix: ensure contextual consistency

Recently I've been getting occasional out of range errors when using this plugin. After some deeper digging, I realized that there may be some issues with the asynchronous logic here, especially when switching buffers quickly. Since the parameters col and line were computed in the previous context, when the asynchronous logic is executed, there is no guarantee that the previous parameters will also apply to the current context, so it's a good idea to add a check.
After some testing, the error message will not appear. But I'm still a newbie in neovim, so what do you think about this modification @monkoose ?

It looks fine, but I think it's just better to expose api function to stop the timer and use it in autocmd BufLeave. I will look at it a little bit later today.

Actually we already stopping the timer, so some kind of race condition is happening.
I have never got that issue, but I guess your solution is good enough to prevent it.


The first parameter name of EndpointResource.CreateResourceIdentifier should be renamed to 'scope'

https://github.com/Azure/azure-sdk-for-net/pull/27556#discussion_r829659991
Rename the parameter will change too much, so expect service team to fix it from swagger
  - from: swagger-document
    where: $.parameters.ResourceUriParameter
    transform: >
      $["x-ms-client-name"] = "scope"

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Service Bus:0.19678317,Azure.Identity:0.1531437,ARM:0.08737438'
Label prediction was below confidence level 0.6 for Model:CategoryLabels: 'Mgmt:0.5495107,Client:0.43382183,Service:0.0127116395'

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Service Bus:0.19678317,Azure.Identity:0.1531437,ARM:0.08737438'
Label prediction was below confidence level 0.6 for Model:CategoryLabels: 'Mgmt:0.5495107,Client:0.43382183,Service:0.0127116395'


How do you do semantic versioning with Grape's path strategy?

I have a production Grape project which uses the path versioning strategy. Right now, everything is v1 using:
# /api/v1/users
class API::V1::Users::Root < Grape::API
  version 'v1', using: :path, vendor: 'api'
  format :json
  mount API::V1::Users::CurrentUser
  # ...
end

I'd like to continue using path-based versioning, and add a single new route to this API and call it v1.1. I'd also like to have requests cascade down to the v1 implementation if they are not reimplemented in v1.1.
Is this possible?  Thanks!

I think you're looking for http://code.dblock.org/2013/07/19/evolving-apis-using-grape-api-versioning.html.
Please use the mailing list for questions!


fix_instances: script added

In the fix module, we have a function to fix a font's fvar instances. This pr adds a script which can run this function. @emmamarichal needs this for a project,

Hey @m4rc1e!
Sorryyy I still don't see the fvar instances appear... 😞  I may missed something?
Repo: https://github.com/emmamarichal/makingbiorhyme

Here is my build script:
#!/bin/sh
set -e

echo "Build with gftools builder"
gftools builder config.yaml

echo "Build BioRhyme Expanded"
fonttools varLib.instancer "../fonts/variable/BioRhyme[wdth,wght].ttf" wdth=200 --update-name-table -o "../fonts/variable/BioRhymeExpanded[wght].ttf"

echo "Complete"

Add following command to your build script:
gftools fix-instances fonts/variable/BioRhyme\[wdth\,wght\].ttf --inplace


Feat: Add encodeBody option to openCompose function

Problem
When I call openCompose on Android, the body is encoded by default. I would like to have control over that behaviour to avoid having my email body looking like this:

Solution

Added for both iOS and Android an encodeBody flag in options to encode the body if set to true.
Fixed "Subject" input displaying "null" is no subject was provided.

Note: My linter has updated some of the code, just tell me if you want to revert these changes...
Fixes #76

Looks great, thanks for the contribution!

Released as 1.10.0


Fix: #632 'Does not render .svg properly' issue.

Reference Issue

Fixes #632.
What does this implement/fix? Explain your changes.

Use terms that can be parsed from beginning.
Any other comments?

Fixes in ExCSS.

Ah, and as always, could you add an entry in the release notes (something like "Added handling of invalid property in parser")?

Thanks!


Equation processing starts from wrong level.

<subseqitem key="cfr40v12_2019_000751" level="6">
<text>(g) The owner or operator of an existing source subject to the requirements of this subpart shall control emissions of organic HAP's to the level represented by the following equation:</text>
</subseqitem>
<subseqitem key="cfr40v12_2019_000752" level="6">
<text>EA = 0.02Σ EPV1 + Σ EPV2 + 0.05Σ ES1 + Σ ES2 + Σ EGLR1C + Σ EGLR2 + (R) Σ EMV1 + Σ EMV2 + Σ EWW1C + Σ EWW2</text>
</subseqitem>

Here the equation is part of (g) but is marked at same level. It should be level 7.

In general just searching for "equation:" in processed XML indicates issues.


Does the Exponea React Native SDK support Tracking Universal Linking

Hello,
We are using Universal Link in our react native app. Just want to make sure that the tracking of Universal Linking works in the app.
I don't see any documentation for the same in the React Native SDK. Though I can see the same in the iOS SDK https://github.com/exponea/exponea-ios-sdk/blob/develop/Documentation/UNIVERSAL_LINK.md#-tracking-universal-links
Can you please confirm what needs to be done in the case of implementing Universal Linking on the react native side?

Hi,
that's actually the last functionality that's available in native SDKs and missing in react native.
It's currently worked on and will be available in the next version(ETA end of this week)

Hi,
that's actually the last functionality that's available in native SDKs and missing in react native.
It's currently worked on and will be available in the next version(ETA end of this week)

Thanks Wassil,
Do you have any pointers how to do this tracking on the website. Once the universal linking would come in, the app side tracking will be using the RN SDK. But, what about the website part of tracking? Any clue or pointers regarding the same would be helpful.

Thanks Wassil,
Do you have any pointers how to do this tracking on the website. Once the universal linking would come in, the app side tracking will be using the RN SDK. But, what about the website part of tracking? Any clue or pointers regarding the same would be helpful.

I'm not really sure, I don't have much experience with Exponea JS SDK.
I briefly checked the documentation(https://docs.exponea.com/docs/tracking) but did not find a function that would do it.
I would ask your Exponea representative, they'll find the right person to answer this.

I'm not really sure, I don't have much experience with Exponea JS SDK.
I briefly checked the documentation(https://docs.exponea.com/docs/tracking) but did not find a function that would do it.
I would ask your Exponea representative, they'll find the right person to answer this.

I've just released 0.5.0 that supports universal links/app links.
Related doc: https://github.com/exponea/exponea-react-native-sdk/blob/master/documentation/LINKING.md
Commit that sets it up for our example app: https://github.com/exponea/exponea-react-native-sdk/commit/788ee2fa8ce565a13dcc0c1dcb727d8a97c96aae

I've just released 0.5.0 that supports universal links/app links.
Related doc: https://github.com/exponea/exponea-react-native-sdk/blob/master/documentation/LINKING.md
Commit that sets it up for our example app: https://github.com/exponea/exponea-react-native-sdk/commit/788ee2fa8ce565a13dcc0c1dcb727d8a97c96aae


support multiple master node groups

Describe the feature:
As a Helm Charts user I would like to have an option to specify multiple master node groups with different settings. Today, cluster.initial_master_nodes is set to a list of nodes from current node group instead of all master nodes which is what is advised in ES documentation

You must set cluster.initial_master_nodes to the same list of nodes on each node on which it is set in order to be sure that only a single cluster forms during bootstrapping and therefore to avoid the risk of data loss.

Describe a specific use case for the feature:
Let's assume a setup with 3 master/data nodes in 3 different AZs.
AZ1 :
master/data node (node attribute az:az1)

AZ2:
master/data node (node attribute az:az2)

AZ3:
master/data node (node attribute az:az3)

It's preferred to configure shard allocation awareness in such scenario:
cluster.routing.allocation.awareness.attributes: az
cluster.routing.allocation.awareness.force.zone.values: az1,az2,az3

To achieve this multiple node groups must be used but they do not work correctly with master node groups.

I have the same issue.
To support this I came with a hack
I have 3 separated helm chart deployment that together form one cluster (with different AZ and zone awareness as author did).
My "AZ1" master group is set up without any workaround.
But then to make the cluster AZ2 to form a cluster with AZ1, I have to remove initial_master_nodes with the following.
      extraEnvs:
        - name: cluster.initial_master_nodes
          value: ""

And the same for AZ3.
It works since Kubernetes takes the last occurence of a env variable. But still, in the final template, the variable cluster.initial_master_nodes is set twice and this cause issue when updating.
Being able to set cluster.initial_master_nodes to an arbitrary value (even an empty string) would be perfect. I think it could be achieved by using the tpl function from helm and using the current value "{{ template "elasticsearch.endpoints" . }}" as default in helm.
I also have the exact same problem with
            - name: discovery.seed_hosts
              value: "{{ template "elasticsearch.masterService" . }}-headless"

Transforming it to
            - name: discovery.seed_hosts
              value: "{{ tpl .value.seed_hosts }}"

The default values of seed_hosts being "{{ template "elasticsearch.masterService" . }}-headless".
That would help a lot people creating multiple AZ cluster in multiple Helm deployment.
I think I'll soon fork this chart to support my use case, but it would be pretty cool to see it (or an equivalent features) in the official chart.

Update on my side.
We've done a fork of this chart.
I can pass cluster.initial_master_nodes manually, it will default to templated value if I do not set anything.
I can open a Pull Request if needed.

I'll soon introduce a PR with the minimum change to make this possible.


BZ 63778: Jre7Compat cannot find getPseudoColumns with zero parameters

Solve the MethodNotFoundException.
Add log when the exception occurs.

Thanks for the PR. As written, it generates unnecessary WARN log messages. DEBUG level messages are fine to report - for example - Java 8 wasn't found but WARN is not. I have added some log messages but with a slightly different approach that logs an ERROR if a problem like BZ 63778 is detected but otherwise uses DEBUG logging.


microk8s enable rbac fails

I have a cluster of two Ubuntu 22 nodes & 2 Windows server 2022.
When I try to enable rbac, I get the following output:

Infer repository core for addon rbac
Enabling RBAC
Reconfiguring apiserver
Adding argument --authorization-mode to nodes.
Failed to reach node.
HTTPSConnectionPool(host='<IP_ADDRESS>', port=25000): Max retries exceeded with url: /cluster/api/v1.0/configure (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f54d5629668>: Failed to establish a new connection: [Errno 111] Connection refused',))

<IP_ADDRESS> is the IP of one of the two Windows nodes.
inspection-report-20230207_160135.tar.gz

Hi @SchwingSK, thank you for reporting this.
It seems like we should be more careful with how we select which K8s nodes the configuration should be applied at, we will have a look!
As a workaround, you can manually do the following on the two Ubuntu nodes:
echo '--authorization-mode=RBAC,Node' | sudo tee -a /var/snap/microk8s/current/args/kube-apiserver
sudo snap restart microk8s


error: redefinition of 'select_npy_type'

/Users/vagrawal/new/object_pose/include/matplotlibcpp.hpp:306:20: error: redefinition of 'select_npy_type<long long>'
template <> struct select_npy_type<long long> { const static NPY_TYPES type = NPY_INT64; };
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/vagrawal/new/object_pose/include/matplotlibcpp.hpp:297:20: note: previous definition is here
template <> struct select_npy_type<int64_t> { const static NPY_TYPES type = NPY_INT64; };
                   ^
/Users/vagrawal/new/object_pose/include/matplotlibcpp.hpp:307:46: warning: static_assert with no message is a C++17 extension [-Wc++17-extensions]
static_assert(sizeof(unsigned long long) == 8);
                                             ^
                                             , ""
/Users/vagrawal/new/object_pose/include/matplotlibcpp.hpp:308:20: error: redefinition of 'select_npy_type<unsigned long long>'
template <> struct select_npy_type<unsigned long long> { const static NPY_TYPES type = NPY_UINT64; };
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/vagrawal/new/object_pose/include/matplotlibcpp.hpp:301:20: note: previous definition is here
template <> struct select_npy_type<uint64_t> { const static NPY_TYPES type = NPY_UINT64; };
                   ^

I'm using cmake for building. I'm working on macOS Catalina. Do you have suggestions to fix this?

if I comment out those lines and run a simple
plt::plot({1,3,2,4});
plt::show();

I get this error:
libc++abi.dylib: terminating with uncaught exception of type std::runtime_error: Error loading module matplotlib.pyplot!

You need to uncomment a few lines, as noted in the code here:
https://github.com/lava/matplotlib-cpp/blob/60dcd64c8fd4766e5426f57decfb765422a1d3fe/matplotlibcpp.h#L303
(I'm running on Catalina, too)

works for me (macos catalina)

Hello,
I had the similar problem, but after commenting out the lines in matplotlibcpp.h. I am getting an error saying
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: cannot find : No such file or directory
collect2.exe: error: ld returned 1 exit status
Any suggestions?
Thank you.

Also had this issue in mingw_w64, and commenting out those lines fixed it.

@Cryoris Thx, this works for me.

Those asserts should be removed imo, can someone point out which platforms do not respect c++' data model ( as defined here https://en.cppreference.com/w/cpp/language/types ) so that we can handle those differently if required within CMake ?

I'm getting this error with a VCPKG installation of the library. Is it possible to update the port so that this no longer occurs?


Change nginx ciphers and make configurable via helm chart values

Codecov Report

Merging #4507 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #4507   +/-   ##
=======================================
  Coverage   58.85%   58.85%
=======================================
  Files         897      897
  Lines       29248    29248
  Branches     4220     4220
=======================================
  Hits        17214    17214
  Misses      12034    12034


Precision of pvalues

It would be useful to be able to increase the precision of the pvalues in pvalues.txt output file (similar to argument --result-precision for the means. At the moment, there is only 1 digit precision, so the significant interactions will be anything less than 0.1. Although perhaps I am missing something?

Hi,
In the latest release of CellphoneDB (https://pypi.org/project/CellphoneDB/) the procession of pvalues in pvalues.txt is up to 3 decimal places. Hope this should be enough for what you need.
Best wishes,
Robert.

Hi! I might misunderstand but I am a little bit confused.
In the Method2 notebook in the values field, it says

cell_a|cell_b: 1 if interaction is detected as significant, 0 if not.

So, the output is binary? But, my method2 output contains other numbers (0~1, such as 0.208, 0.004, etc.) in addition to 0 and 1. Or are the numbers actual values and 0 means 0.000XX...?
I am using CellphoneDB v4.0.0 in the conda environment
Thank you for your help!
Details are below:
deconvoluted, means, pvalues, significant_means = cpdb_statistical_analysis_method.call(
    cpdb_file_path = cpdb_file_path,                 # mandatory: CellPhoneDB database zip file.
    meta_file_path = meta_file_path,                 # mandatory: tsv file defining barcodes to cell label.
    counts_file_path = counts_file_path,             # mandatory: normalized count matrix.
    counts_data = 'hgnc_symbol',                     # defines the gene annotation in counts matrix.
    iterations = 1000,                               # denotes the number of shufflings performed in the analysis.
    threshold = 0.1,                                 # defines the min % of cells expressing a gene for this to be employed in the analysis.
    threads = 4,                                     # number of threads to use in the analysis.
    debug_seed = 42,                                 # debug randome seed. To disable >=0.
    result_precision = 3,                            # Sets the rounding for the mean values in significan_means.
    pvalue = 0.05,                                   # P-value threshold to employ for significance.
    subsampling = False,                             # To enable subsampling the data (geometri sketching).
    subsampling_log = False,                         # (mandatory) enable subsampling log1p for non log-transformed data inputs.
    subsampling_num_pc = 100,                        # Number of componets to subsample via geometric skectching (dafault: 100).
    subsampling_num_cells = 1000,                    # Number of cells to subsample (integer) (default: 1/3 of the dataset).
    separator = '|',                                 # Sets the string to employ to separate cells in the results dataframes "cellA|CellB".
    debug = False,                                   # Saves all intermediate tables employed during the analysis in pkl format.
    output_path = out_path,                          # Path to save results.
    output_suffix = 'XXX'                             # Replaces the timestamp in the output files by a user defined string $
    )

cellphoneDB.sbatch	Reading user files...
The following user files were loaded successfully:
mySeurat.h5ad
metadata.tsv
[ ][CORE][27/04/23-12:04:01][INFO] [Cluster Statistical Analysis] Threshold:0.1 Iterations:1000 Debug-seed:42 Threads:4 Precision:3
[ ][CORE][27/04/23-12:04:01][WARNING] Debug random seed enabled. Set to 42
[ ][CORE][27/04/23-12:04:07][INFO] Running Real Analysis
[ ][CORE][27/04/23-12:04:07][INFO] Running Statistical Analysis
^M  0%|          | 0/1000 [00:00<?, ?it/s]^M  0%|          | 1/1000 [00:02<37:59,  2.28s/it]^M  0%|          | 2/1000 [00:02<21:41,  1.30s/i$
[ ][CORE][27/04/23-12:14:06][INFO] Building results

Hi @stanaka6
You are right, for method 2 the pvalues file contains the actual p-value obtained from the permutation analysis. This description corresponds to the method 3.
Kind regards


Raise log level to debug to reduce log noise

What does this PR do?
Reduce logging noise
Motivation
Describe how to test/QA your changes
Test it manually. It is a tiny change
Possible Drawbacks / Trade-offs
Additional Notes

/merge


Trees getting sliced

It is because of the line of code below the comment.
Section* Full_Chunk::getSection(int32_t index, bool)
{
    //This causes trees and other structures to sometimes not work correctly!
    if (index < 0 || index > m_sectionCount) return nullptr;

    while (index > m_sectionCount - 1)
    {
        addSection();
    }

    return m_chunkSections[index].get();
}

Trees basically rely on the section existing.
So, when it tries to get the section to set a block, and the section is non-existent, the section is returned as a nullptr, thus no blocks get set.

fixed


Minor fixes to some comments in some examples.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


"Impfungen" objects filled with wrong values

I noticed, objects under "_Impfungen" are not filled with valid data today.
For example these objects are not filled or contain wrong data:
coronavirus-statistics.0.Germany._Impfungen.rkiErstimpfungenAstraZeneca
coronavirus-statistics.0.Germany._Impfungen.rkiErstimpfungenBioNTech
coronavirus-statistics.0.Germany._Impfungen.rkiErstimpfungenDifferenzVortag
coronavirus-statistics.0.Germany._Impfungen.rkiErstimpfungenImpfquote
coronavirus-statistics.0.Germany._Impfungen.rkiErstimpfungenModerna
coronavirus-statistics.0.Germany._Impfungen.rkiZweitimpfungenAstraZeneca
coronavirus-statistics.0.Germany._Impfungen.rkiZweitimpfungenBioNTech
coronavirus-statistics.0.Germany._Impfungen.rkiZweitimpfungenDifferenzVortag
coronavirus-statistics.0.Germany._Impfungen.rkiZweitimpfungenImpfquote
coronavirus-statistics.0.Germany._Impfungen.rkiZweitimpfungenModerna

also fields for vaccination doses in total contain old values from 2-3 days ago

Still the same issue.
Any update?

11 days and counting. Would be nice if we get to know if it will be fixed or we should seek for a workaround ourselves.
Thank you!

A workaround might be to use the following new source: https://corona-open-data.ckan.de/
For Germany, the following sources seem official and up-to-date:
https://impfdashboard.de/static/data/germany_vaccinations_timeseries_v2.tsv
https://impfdashboard.de/static/data/germany_vaccinations_by_state.tsv

11 days and counting

Where is your PR to fix it? Else you need to wait until the developer finds time to check and fix this issue

I solved this issue for now by using 'parser-adapter'. Source is rki website 'impfdashboard.de'. Objects:

Parser-Adapter settings:
iobroker_parser_rkidashboard.txt

11 days and counting

Where is your PR to fix it? Else you need to wait until the developer finds time to check and fix this issue

that would indeed help a lot I currently just have no time to do it for now, the code is pretty simple only these lines here :
https://github.com/DrozmotiX/ioBroker.coronavirus-statistics/blob/main/main.js#L352-L380

solved release v0.7.0-5


Add MIDI constants to remove the magic numbers from sendMessage calls

Using numbers like 144 for note on, or 38 to switch to a bass guitar, is a little opaque for my tastes so I've added all the names from the General MIDI spec to self-document my generative music.

I'm open to merging this, but I think the exports of the values need better names.
Perhaps this could exported from midi.js as:
Constants: {
  Instruments,
  Drums,
  Notes,
  Messages,
}

The instrument and drum lists are only valid for GM (General MIDI) instruments, so would need a designation. Would suggest GMDrums, instead of GeneralMIDIDrums to avoid making the names too long?

I feel like 'GM' doesn't convey enough meaning to explain anything.
Perhaps this would be better added as a comment on the export/documentation, that should be visible to users when looking to use the values

Bump for the above changes, as suggested.


Can't use

Shows on Load
Uncaught TypeError: Cannot read property 'width' of undefined
at UE.Editor.b (neditor.all.min.js:18)
at UE.Editor.fireEvent (neditor.all.min.js:5)
at c (neditor.all.min.js:6)
at neditor.all.min.js:6
at HTMLScriptElement.i.onload.i.onreadystatechange (neditor.all.min.js:5)

@ElderJames
I am getting the same error, as mentioned above by @MutatePat

Please put the uditor js files on top of the webassembly.js:
+   <script src="_content/UEditorBlazor/neditor.config.js"></script>
+   <script src="_content/UEditorBlazor/neditor.all.min.js" defer></script>
+   <script src="_content/UEditorBlazor/ueditor-blazor.js"></script>

    <script src="_framework/blazor.webassembly.js"></script>

@ElderJames
I just did that

I still get the same error

@shashikantx @MutatePat Sorry, it's my mistake, I have fixed it.


install fail in FreeBSD jail

This installed previously about 2 months ago as Mapbox Studio successfully
See error gist: https://gist.github.com/PeterSprague/c5a8ad574aadceff8f4f
All dependencies are installed including node 0.10.0, gmake, gcc, ....
Mapnik is built from master -> 3.0.11 using boost 1.60 (why in jail)
Here are my notes:
node-mapnik
install<EMAIL_ADDRESS>to match mapnik v3.0.11
see: https://github.com/mapnik/node-mapnik/
cd /usr/local/src
git clone https://github.com/mapnik/node-mapnik.git
cd node-mapnik
npm install g --build-from-source

Installed to /usr/local/lib/node_modules
install other dependences globally
found installing node dependencies prior to mapbox-studio created less errors (?)
pkg install py27-gdal
fixed python not found error
ln -s /usr/local/bin/python2 /usr/local/bin/python
cd /usr/local/src
git clone https://github.com/mapbox/mapbox-studio.git
cd mapbox-studio
mapnik-config -v -> works v3.0.11

also installed -g previously - thinking might fix errors
npm install node-gyp node-pre-gyp --fall-back-to-build
see https://github.com/naturalatlas/node-gdal
npm install gdal --build-from-source --shared_gdal
make sure sqlite3 is install in pkg
npm install sqlite3 --sqlite=/usr/local
was failing until installed directly
npm install<EMAIL_ADDRESS>npm install --build-from-source

Doesn't seem to be picking up global node-mapnik install
cd /usr/local/src/mapbox-studio-classic npm install mapnik --build-from-source
Returns same error as in gist

Nuked local & /usr/local/lib/node_modules in jail
rebuilt npm with node010
npm install -g node-gyp npm install -g node-pre-gyp cd /usr/local/src/mapbox-studio-classic npm install -g --build-from-source
Error:

<EMAIL_ADDRESS>preinstall /usr/local/lib/node_modules/mapbox-studio
node scripts/run.js scripts/vendor-node.sh

Running /usr/local/lib/node_modules/mapbox-studio/scripts/vendor-node.sh
NOTICE: NODE_VERSION environment variable not defined, defaulting to 0.10.33
NOTICE: TARGET_ARCH environment variable not defined, defaulting to x64
Requested node version: 0.10.33
Requested node platform+arch: freebsd-x64
Requested bin only: true
Not a valid platform+arch. Specify one of linux-x64|darwin-x64|win32-ia32|win32-x64
npm install --build-from-source

npm WARN package.json<EMAIL_ADDRESS>No license field.
npm WARN cannot run in wd<EMAIL_ADDRESS>node scripts/run.js scripts/vendor-node.sh (wd=/usr/local/src/mapbox-studio-classic)
npm WARN deprecated<EMAIL_ADDRESS>renamed to d3-queue
npm WARN deprecated<EMAIL_ADDRESS>this package has been reintegrated into npm and is now out of date with respect to npm
npm WARN deprecated<EMAIL_ADDRESS>renamed to d3-queue
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs version 3 and before will fail on newer node releases. Please update to<EMAIL_ADDRESS>as soon as possible.
npm WARN deprecated<EMAIL_ADDRESS>'native-or-bluebird' is deprecated. Please use 'any-promise' instead.
npm WARN deprecated<EMAIL_ADDRESS>'native-or-bluebird' is deprecated. Please use 'any-promise' instead.

Run as non-root jail account:

$ npm install --build-from-source
npm WARN package.json<EMAIL_ADDRESS>No license field.

<EMAIL_ADDRESS>preinstall /usr/local/src/mapbox-studio-classic
node scripts/run.js scripts/vendor-node.sh

Running /usr/local/src/mapbox-studio-classic/scripts/vendor-node.sh
NOTICE: NODE_VERSION environment variable not defined, defaulting to 0.10.33
NOTICE: TARGET_ARCH environment variable not defined, defaulting to x64
Requested node version: 0.10.33
Requested node platform+arch: freebsd-x64
Requested bin only: true
Not a valid platform+arch. Specify one of linux-x64|darwin-x64|win32-ia32|win32-x64
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100  2341  100  2341    0     0   3975      0 --:--:-- --:--:-- --:--:--  3974
npm ERR! FreeBSD 10.2-RELEASE-p15
npm ERR! argv "node" "/usr/local/bin/npm" "install" "--build-from-source"
npm ERR! node v0.10.40
npm ERR! npm  v2.14.7
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>preinstall: node scripts/run.js scripts/vendor-node.sh
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>preinstall script 'node scripts/run.js scripts/vendor-node.sh'.
npm ERR! This is most likely a problem with the mapbox-studio package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node scripts/run.js scripts/vendor-node.sh
npm ERR! You can get their info via:
npm ERR!     npm owner ls mapbox-studio
npm ERR! There is likely additional logging output above.
npm ERR! FreeBSD 10.2-RELEASE-p15
npm ERR! argv "node" "/usr/local/bin/npm" "install" "--build-from-source"
npm ERR! node v0.10.40
npm ERR! npm  v2.14.7
npm ERR! path npm-debug.log.5e5656bda100ed09bf642371e79f6030
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! Error: EACCES, open 'npm-debug.log.5e5656bda100ed09bf642371e79f6030'
npm ERR!  { [Error: EACCES, open 'npm-debug.log.5e5656bda100ed09bf642371e79f6030']
npm ERR!   errno: 3,
npm ERR!   code: 'EACCES',
npm ERR!   path: 'npm-debug.log.5e5656bda100ed09bf642371e79f6030' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR!     /usr/local/src/mapbox-studio-classic/npm-debug.log

git cloned to user directory
as user:
npm install --build-from-sources
Error as above:

$ npm install --build-from-source
npm WARN package.json<EMAIL_ADDRESS>No license field.

<EMAIL_ADDRESS>preinstall /usr/home/pms/mapbox-studio-classic
node scripts/run.js scripts/vendor-node.sh

Running /usr/home/pms/mapbox-studio-classic/scripts/vendor-node.sh
NOTICE: NODE_VERSION environment variable not defined, defaulting to 0.10.33
NOTICE: TARGET_ARCH environment variable not defined, defaulting to x64
Requested node version: 0.10.33
Requested node platform+arch: freebsd-x64
Requested bin only: true
Not a valid platform+arch. Specify one of linux-x64|darwin-x64|win32-ia32|win32-x64
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100  2341  100  2341    0     0   4901      0 --:--:-- --:--:-- --:--:--  4907
npm ERR! FreeBSD 10.2-RELEASE-p15
npm ERR! argv "node" "/usr/local/bin/npm" "install" "--build-from-source"
npm ERR! node v0.10.40
npm ERR! npm  v2.14.7
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>preinstall: node scripts/run.js scripts/vendor-node.sh
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>preinstall script 'node scripts/run.js scripts/vendor-node.sh'.
npm ERR! This is most likely a problem with the mapbox-studio package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node scripts/run.js scripts/vendor-node.sh
npm ERR! You can get their info via:
npm ERR!     npm owner ls mapbox-studio
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /usr/home/pms/mapbox-studio-classic/npm-debug.log


[JS / Get Started / (1) Reproduced The Bug]

protected SoundPlayer(
SerializationInfo serializationInfo,
StreamingContext context
)

protected SoundPlayer(
SerializationInfo serializationInfo,
StreamingContext context
)

Hey @VsTB I don't understand your description, please clarify


build(main): release 1.0.0

:robot: I have created a release beep boop
1.0.0 (2024-09-23)
⚠ BREAKING CHANGES

Initial release

Features

Initial release (b9d6464)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.0.0
:sunflower:


make dio null safety please

Please make dio null safety, while https parser is also a null safety upgrade it.

Supported! upgrade to 4.0 and try.


Update component reference with node callout

Make the note callout visible.
PR to the generator: https://github.com/kubernetes-sigs/reference-docs/pull/257

/hold
pending merge of https://github.com/kubernetes-sigs/reference-docs/pull/257


feat: add support for observation point ini file

Fixes #160.

Do you know why this PR doesn't show up on SonarCloud?

Created isse #263 263


TorchOn Brightness?

Is there a way to increase or decrease the brightness of the torch? I am looking for something like this in iOS -> [device setTorchModeOnWithLevel:0.5 error:NULL];
Thank You

Not currently possible.


WordPress.org screenshot

Your screenshot should be uploaded to the svn repo (they do not allow to embed them on wordpress.org).
Upload it to assets/screenshot-1.png file.
Together with my PR that changes some things - the screenshot will appear on the plugin page here: https://wordpress.org/plugins/spatie-ray/

Is this what you meant? https://github.com/spatie/wordpress-ray/commit/f6c241e7831a3bb97166bf4657aa79f628820390

Is this what you meant? https://github.com/spatie/wordpress-ray/commit/f6c241e7831a3bb97166bf4657aa79f628820390

No, you don't need to link to the file. If the file with the name screenshot-1.png is present in assets dir in SVN repo - it will be automatically picked up by wordpress.org and display in the Screenshots area of the plugin description. It matches the 1. Some screenshot description to screenshot-1.png, 2. Some other screenshot to screenshot-2.png etc.
Related doc: https://developer.wordpress.org/plugins/wordpress-org/plugin-assets/

No, you don't need to link to the file. If the file with the name screenshot-1.png is present in assets dir in SVN repo - it will be automatically picked up by wordpress.org and display in the Screenshots area of the plugin description. It matches the 1. Some screenshot description to screenshot-1.png, 2. Some other screenshot to screenshot-2.png etc.
Related doc: https://developer.wordpress.org/plugins/wordpress-org/plugin-assets/

@freekmurze I've added a lot more details ^ after my initial comment, so pinging you so that you won't miss it.

@freekmurze I've added a lot more details ^ after my initial comment, so pinging you so that you won't miss it.

@slaFFik it's a tad confusing to me, could you create a PR with the needed changes?

@slaFFik it's a tad confusing to me, could you create a PR with the needed changes?

I can't because the screenshots should be NOT in the git repo here, but in the SVN repo which I don't have access to.

I can't because the screenshots should be NOT in the git repo here, but in the SVN repo which I don't have access to.

But the files in this git repo will be pushed to the SVN repo right? So I'm thinking I should put them here in order to have them in SVN.

But the files in this git repo will be pushed to the SVN repo right? So I'm thinking I should put them here in order to have them in SVN.

In that case, you will need to manually relocate them before each release.
So, from assets/wporg/* inside this git repo to SVNRepo/assets.

In that case, you will need to manually relocate them before each release.
So, from assets/wporg/* inside this git repo to SVNRepo/assets.

So, I need to do that with a SVN client, directly on SVN?

So, I need to do that with a SVN client, directly on SVN?

On it 🙂

On it 🙂

Yes, correct.
Here is an example of the SVN repo of one of the plugins (wp-mail-smtp):

Check the path:
WordPressSVN is a directory with all of my WP.org plugins.
wp-mail-smtp is a directory where I ran svn co for one specific plugin (in your case that will be spatie-ray).
This plugin SVN repo has these directories:
assets/
branches/
tags/
trunk/

So that WordPressSVN\wp-mail-smtp\assets is a SVN dir that I'm talking about.

Yes, correct.
Here is an example of the SVN repo of one of the plugins (wp-mail-smtp):

Check the path:
WordPressSVN is a directory with all of my WP.org plugins.
wp-mail-smtp is a directory where I ran svn co for one specific plugin (in your case that will be spatie-ray).
This plugin SVN repo has these directories:
assets/
branches/
tags/
trunk/

So that WordPressSVN\wp-mail-smtp\assets is a SVN dir that I'm talking about.

Also, you version in the readme.txt should be equal to the tag in tags/.
So as you released 1.0.0 already (according to readme.txt), you next tag should be above that version. Also you need.
I'm saying that because I see 0.0.8 in the SVN repo on your screenshot.
BTW, updates to the plugin are live in several minutes at most, no review process. That's only the initial version that should be reviewed by a human.

Also, you version in the readme.txt should be equal to the tag in tags/.
So as you released 1.0.0 already (according to readme.txt), you next tag should be above that version. Also you need.
I'm saying that because I see 0.0.8 in the SVN repo on your screenshot.
BTW, updates to the plugin are live in several minutes at most, no review process. That's only the initial version that should be reviewed by a human.

@slaFFik do you know how to get rid of this message at https://wordpress.org/plugins/spatie-ray/?

@slaFFik do you know how to get rid of this message at https://wordpress.org/plugins/spatie-ray/?

I believe you should update the readme.txt file inside the trunk/ as well. I don't remember that by heart, but I usually have a copy of the plugin inside the latest /tags/X.X.X and trunk - both places with the same code.
Re:notice - yes, your current readme.txt in this repo will remove that notice :)

I believe you should update the readme.txt file inside the trunk/ as well. I don't remember that by heart, but I usually have a copy of the plugin inside the latest /tags/X.X.X and trunk - both places with the same code.
Re:notice - yes, your current readme.txt in this repo will remove that notice :)

@freekmurze You can also use a Github action to automatically publish releases from Github to SVN.
Here is an example of a plugin of mine: https://github.com/jeffreyvr/easy-liveblogs/blob/master/.github/workflows/release.yml
You can then also store your assets, like screenshots, on your repo. This way you don't have to use SVN anymore.

@freekmurze You can also use a Github action to automatically publish releases from Github to SVN.
Here is an example of a plugin of mine: https://github.com/jeffreyvr/easy-liveblogs/blob/master/.github/workflows/release.yml
You can then also store your assets, like screenshots, on your repo. This way you don't have to use SVN anymore.

@freekmurze There was a typo in the readme.txt, I fixed that in https://github.com/spatie/wordpress-ray/pull/16 so that will definitely remove the notice.

@freekmurze There was a typo in the readme.txt, I fixed that in https://github.com/spatie/wordpress-ray/pull/16 so that will definitely remove the notice.

Thanks!

Thanks!

We will add a screenshot later today! Thanks for all the help 👍

We will add a screenshot later today! Thanks for all the help 👍


Is this page relevant for Visual Studio 2022?

Is this page relevant for Visual Studio 2022?  If so the page clearly has a "doc bug" as it says "Visual Studio is only supported on devices using a x86 or AMD64/x64 based processor.".  But Visual Studio 2022 is not supported on an x86 device, right?

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

ID: e5a7fdd5-9d50-a1ee-62b3-ab6457e392d2
Version Independent ID: 81da91ce-8fe0-d919-2f91-123d4ec44430
Content: Visual Studio on ARM powered devices - Visual Studio (Windows)
Content Source: docs/install/visual-studio-on-arm-devices.md
Product: visual-studio-windows
Technology: vs-installation
GitHub Login: @anandmeg
Microsoft Alias: meghaanand

@kjlk2j3sd, thank you for the feedback. We've updated the page and it should be live later today.
Please let us know if you have any other questions or feedback. Thanks!


Separate sorting options and layout options

What's the Problem?
I just discovered yesterday that we can set layout options to global or to individual folders. this is helpful! However, now I discovered that I need sorting options to be separate in settings. In other words, I want to make sorting options  remembered for each folder, regardless when I make layout options global or individual in settings.
Example: I want my layout to be 'columns' globally. But for Folder A, I want it sorted alphabetically descending, Folder B sorted date created ascending, Folder C sorted by file type ascending, and so on. And the app should remember it per-folder.
Solution/Idea
a separate settings for sorting options (not to be joined with layout options)
Alternatives
none. it's bothersome to set individual sorting options everytime I come back and forth my regularly-used folders.
Priorities
| Separate sorting options settings | Must |
Files Version
Version: <IP_ADDRESS>
Windows Version
OS Version: 10.0.19044.1348
Additional comment
No response

Merging with #4155.

I saw you merging with another issue. But this is A DIFFERENT case since I'm not talking about layout options but SORTING options. Please take a look again. TY

@bebotette sorry about that, I missed the part about the sorting options. Can you edit this issue to be limited to the sorting options?

updated title and content.


Add unicode=false option

See https://ci.appveyor.com/project/felixfbecker/vscode-php-debug/build/122/job/f8s1rpn3qaf6tced
PowerShell scripts don't play well with Unicode in AppVeyor. I can set unicode to false for NPM with npm config or --unicode=false, which makes NPM only use ASCII characters. I would like to see the same in typings.

Sounds good. It's only the graph output right? If there's a dependency that supports this, or we can update the current one, it should be an easy fix.

Actually, it's a really easy update - just set unicode to the unicode option of the CLI in Archy (https://github.com/substack/node-archy#archyobj-prefix-opts).


Correct some errors in mutual tls over https.

/cc @geeknoid @wattli @myidpt

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: gyliu513
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: geeknoid
Assign the PR to them by writing /assign @geeknoid in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Commit House Estate App UI

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[✓ ] Manual testing

Checklist:

[✓] My code follows the style guidelines of this project
[✓] I have performed a self-review of my own code
[✓] I have commented my code, particularly in hard-to-understand areas
[✓] I have made corresponding changes to the documentation
[✓] My changes generate no new warnings
[✓] I have added tests that prove my fix is effective or that my feature works
[✓] New and existing unit tests pass locally with my changes
[✓] Any dependent changes have been merged and published in downstream modules

@KYKY62 you have deleted the amazon ui from the repo. please properly clone the project and add your folder and don't delete anything else.

okay i will changes and send it back

It is working fine but its a single paged ui , please add the other 3 pages. We want to merge UIs having multipage ui @KYKY62

added 3 page  :

home page
detail page
favorite page

Let me know your suggestions. Thanks.


Enabling Warnings as errors for test projects

Breaking off of here, as a first iteration let's fix all the warnings in test projects.
Future tasks would be to fix ClientRuntime SDK and then report and fix warnings in the customized SDKs and lastly fix the AutoRest code generator to actually generate SDKs without warnings.

Changes will be merged here

Reopening this since we need to make incremental commits here

Incremental commits are merged.
There are a few RPs tests that need specific fixes that need to come from the RPs themselves before we can enable this globally for all tests,
Tracking the effort here https://github.com/Azure/azure-sdk-for-net/issues/4827


Feat/add tx query test

https://p2pvalidator.atlassian.net/browse/LSC-126
please use the neutron interchain contract from here https://github.com/neutron-org/neutron-contracts/pull/13 in order to run the test
important note: there is race condition in tests due to relayer slowness, so sometimes the test fails because a query couldn't have been submitted on time even despite the huge update periods. the stateful relayer and async broadcast mode should make the trick

@pr0n00gler I guess your threads here are not relevant anymore and can be closed.

Wait, I have missed the part when we have started storing wasm artifacts in this repo. What is the reasoning to do so?

Wait, I have missed the part when we have started storing wasm artifacts in this repo. What is the reasoning to do so?

why not? to make the repo ready to use and keep the up to date contracts here, otherwise each of us will have to compile contracts each time he wants to run tests in this or that branch

otherwise each of us will have to compile contracts

they are already compiled, you only have to cp them.
also, we didn't ship compiled contracts in our previous integration tests framework anyway.

otherwise each of us will have to compile contracts

they are already compiled, you only have to cp them.
also, we didn't ship compiled contracts in our previous integration tests framework anyway.

yeah, sorry, I meant copy. you will have to switch to a possible branch that enhances the contract logic, copy the wasm file to the integration tests repo, etc. I frankly see no meaning in not having up to date contracts here and no harm in having them. you anyway store the latest contract you used in this repo, so why not push it so others will not have to do the copying if any occurred?

so why not push it so others will not have to do the copying if any occurred?

Then I at least ask you to store checksums.txt as well. It would simplify things further.

Apparently, the aforementioned race conditions are only reproducible on my machine (?). As much as I would love to see them fixed (it is enough just to apply my suggestions), I am approving this PR to prevent further review delays.

I've run the tests 25+ times and haven't encountered any race condition. Race conditions ceased to be my problem since stateful relayer came into play. But anyway I appreciate your request and I've increased the pause duration as you suggested. Please take a look now

After extensive testing I have discovered these fixes don't work :|
They just make fails more rare.


Some files with local contents are 0B on Dropbox

Describe the bug
I use Dropbox to sync my Scrivener projects. Each project file is a Mac OS "Bundle" (a directory which appears in the GUI as a single file). Inside this directory are a number of directories and files in various formats, such as XML, RTF, and PDF.
Recently, I've noticed that some of the files within a Scrivener project are not being synced. It's unpredictable which files will be affected, but for some of the files, their size on my Mac will be > 0B, but their size on Dropbox will be 0B. It is easiest to reproduce this by removing the project file (which, again, is actually a directory containing hundreds of small files) from my sync folder, waiting for Maestral to sync, and then moving the project file back into the sync folder. Each time I do this, some files will not get synced up to Dropbox properly, but it will be different ones each time. Occasionally this has caused me to lose some data, when I open the project on another machine and Dropbox thinks the 0B file has been touched, and then Maestral dutifully syncs that 0B file back down.
If, after Maestral has finished syncing the project with its hundreds of small files, I open an individual RTF file which did not properly sync, add a character or two, and save it, that file will then sync properly and Dropbox will have the full contents. But this requires me to constantly monitor my Dropbox for silent sync issues.
I saw the comment in #910 about running with log level DEBUG, so I tried that, and I got a great deal of logging, but one thing I noticed repeatedly in the log:
client DEBUG: Retrying call <function DropboxClient._upload_helper at 0x105773420> on <class 'maestral.exceptions.DataCorruptionError'>: 1/10

I have attached the full log, along with a sample Scrivener project.
To Reproduce
sync test.scriv.zip is a compressed copy of the Scrivener "Tutorial" project. Unzip it before using it to reproduce the bug.

Drag the Scrivener project file ("sync test.scriv") into the sync folder.
Check filesizes on dropbox.com (or the sync folder on another machine) and note that some of the files are 0B when they should be larger.

Expected behaviour

Maestral should sync all files, or at least should report a sync error when unable to do so.

System:

Maestral version: 1.7.3
OS: MacOS 13.4

Thanks for the detailed report, including the logs, and apologies for the slow response time. I was able to reproduce this in an isolated test case and should have a fix now which will be available in the next release.
The issue was indeed in the retry logic on data corruption issues during upload.

Apologies for commenting on a closed issue, but I've been having this exact same issue for the last year or so, up to the present day (ver. 1.9.4, running macOS Sonoma 14.5). I've set logging to debug so I can catch the issue in more detail when it next occurs, but sadly don't have any more detail to offer beyond what OP described.

Hi @JNGRichardson, thanks for the report and the logs. Just to confirm, in your case its the file /Writing/Space Novel.scriv/QuickLook/Preview.html that ended up with 0 bytes on Dropbox?

Hi @samschott cheers for following this up!
I'm afraid you'll understand what you're looking at much better than me, but the issue as it presents itself in Scrivener is probably linked to the various content.rtf files (e.g. Files/Data/0A7EDD9F-9DE0-4CC9-9AC1-EE0E3769B6A8/content.rtf). Sometimes, after an apparently successful sync, these will appear to be blank in the Scrivener editor.
I've followed up with Literature and Latte (Scrivener devs) and tested syncing through the Dropbox macOS app, and the issue doesn't present itself, for what that's worth. A few choice quotes from L&L, if this helps:

Maestral should be seeing nothing more unusual than a modification date uptick, same as ⌘S in TextEdit would do. It just gets a lot more of them at once from Scrivener, since you might have a dozen files pending auto-save at once.

On mobile, we're in fact using the same exact API that Maestral uses. It would be accurate to say that Scrivener has its own home brew Dropbox client built in, and it probably does a lot of the same things Maestral does---checking modification dates, uploading and downloading as needed, etc. It's just confined in its scope to that one sync folder. But that in and of itself should be irrelevant to Maestral, as the result of that operation will be updates on the server, no different than any other tool (even official) would do. Perhaps the only interesting aspect there is that we've never had a zero-byte problem with the API, so that would most likely indicate an implementation problem in Maestral rather than a problem with the Dropbox third-party API as a whole.

Happy to help if there's anything else you'd like me to try!


Allow non-gps activities to sync to Endomondo

It used to be true that Endomondo was dependent on GPS data but this was a long time ago.
Since Endomondo won't give new API KEYs, I obviously can't actually test the Tapiriik version of this process myself (unless you share the API keys with me) but I've tested using the non-official API (eg. https://github.com/kanekotic/endomondo-unofficial-api) and simply having the Lat/Long fields set to nothing empty strings and including all the rest of the data works just fine. Endomondo reads the trackpoints and saves all the rest of the sensors info (at least for cadence/speed/hr which are the ones exposed using that alternative "api").

Looks like github pull requests aren't as obvious as they look. Doing this again


Bump dependencies to last versions

Hi, we should keep our dependencies freshly
Also, this simple solution fix error below:
[SEVERE] select:select on lib/src/feature/app/bloc/initialization_bloc.dart:

@selectable can only be used on Class
package:purple_starter/src/feature/app/bloc/initialization_bloc.dart:47:7
   ╷
47 │ mixin _IndexedInitializationStateMixin {
   │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Closing as stale


chapter-make-read.lua Opening video file from NAS in large flat directory via SMB is very slow

Reproduction

Move chapter-make-read.lua into ~/.config/mpv/scripts/
Open a local video file → Opens local video file plus chapter sidecar file if existent → ✅ Works in an instant.
Open video file on NAS from folder which has 500+ video files → ❌ Takes 2-3 minutes to open and start playback!
Move chapter-make-read.lua from ~/.config/mpv/scripts/ to ~/.config/mpv/scripts-off/
Open video file on NAS → ✅ Takes the usual ca. 3 secs again. No chapter functionality ofc.
Move chapter-make-read.lua back to  ~/.config/mpv/scripts/ and move the video into a folder with no or only few sister files.
Open video file on NAS → ✅ Takes the usual ca. 3 secs again. The chapters are shown.

Suspicion

When mpv opens video-filename.videoSuffix the script looks for the existence of the sidecar file video-filename.videoSuffix.chp

But "just looking for a single file of a certain name" in the context of a network share, seems to get translated into multiple system calls:

Get a fresh directory listing (that may take long with all metadata and file thumbnail refreshing (loading in the first N bytes)!)
And among that listing search for the file.

From the lua script's perspective it is just using file access, it is likely not aware whether that file is locally or on a NAS.

Possible improvements

Make lua file access aware whether it is local or network. And if network, make a call which really only searches for the existence of a file and avoid a large flat directory refreshing. → I estimate this to be not possible at all, or too much effort to implement (especially multi platform!)
Workaround: Exclusion-list or inclusion-list of filepaths for loading chapter files.

Possibility to list multiple folder names and/or file names and/or filepaths for which to (not) open chapters:
Ideally this supports wildcards or RegEx, and has an easy way to distinguish file vs. folder,
e.g. the rsync include/exclude syntax would be a good existing syntax to use.

This is a very practical issue, and scripts should not significantly affect the normal use of network sharing.

Workaround: Exclusion-list or inclusion-list of filepaths for loading chapter files

This is actually not difficult to implement, but the problem with this solution is that users only realize the need to exclude paths in the script after experiencing a bad experience and conducting troubleshooting.

Make lua file access aware whether it is local or network.

Yes, we cannot achieve this, which is the real issue.

I have added a commit https://github.com/dyphire/mpv-scripts/commit/34d84e04c904a92ef302c4681dc6afd4d918e5a3 to try to improve this aspect of usage. Can you test if it would be helpful?

Before I test could you please tell me

What fix strategy your commit follows? (Detecting local vs. remote file access?)

So that I know what to test/look for in particular.

Whether this is supposed to work on macOS? (it's Unix, but still some tools / syscalls may be different)

One more idea

If we say detecting local vs. remote is not feasible, we could introduce this simple measure:
The script introduces time measurements. If opening the chapter sidecar file takes more then $duration-sidecar-open-max (default: 6secs) then we give a dialog:

Looking up the chapter file for this video took too long!

This can happen during lookup in large folders on network drives.
To avoid such slowdowns you can include / exclude certain filepath(s) for chapter file lookup.

✅ Commit 9de2740 fixed it really well!

Looking for the sidecar file right away without a previous directory refresh did the job!

What I tested

Added a chapter file to the remote directory with 500+ videos in it which is accessed via SMB in Finder.
Changed the filename of the chapter file from A.avi.chp to B.mkv.chp to C.mp4.chp via SSH on the NAS, and sporadically changed some chapter titles to be sure it really loads the latest (an no "caches" or "ghosts").
The Finder with the directory open in a window did not even show the filename change yet.
But opening the video file in mpv reliably opened the new corresponding chapter sidecar file.

The loading time of the videos varied between 2-20secs (network conditions and faststart moov atom I guess)
Adding/removing a chapter file did not change that loading time in any noticeable pattern.

So the kernel's SMB driver knows/polls/requests/refreshes the directory changes earlier than Finder.

So from my side we can close this as fixed 🙂

$ ssh nas
cd /path/to/video-dir/
nano video-file-autocompletion   then add .chp
create your chapters
ctrl-x → save buffer → yes

Double click corresponding video file in Finder to open it with mpv loads the chapters
Long before the .chp file gets visible in Finder

As expected, the problem lies in obtaining the directory list. fixed


Failed to initialize Origin, LSX Authentication Challenge failed

When I start Northstar it opens the game, but my screen freezes ( except for my mouse) shortly after and  i get this error message. I then have to Alt+F4. I have the latest version, v1.4.0 right now, installed. Beside of that I also had the corupted file error. Has anyone experienced the same problem or can someone help?  I already tried the solutions from the troubleshooting. Thanks in advance.

Did you have any luck with this section from the FAQ yet?

I have the exact same issue.

Yes, thank you very much. Adding the -northstar to your command line arguments/launch options field in Origin/Steam game options, as propossed by the faq, worked. But now when I try to join any server I get another error. I already tried different servers from different regions. Any ideas?

I was able to fix this issue by adding the -northstar to ns_startup_args, and forcing NorthstarLauncher.exe to run as admin.

Adding the -northstar also fixed it for me. Thanks!

Yeah for some reason I needed to force running as administrator in compatibility settings, as well as put the argument in ns_startup_args. The steam launch option didn't work for me personally.

 But now when I try to join any server I get another error. I already tried different servers from different regions. Any ideas?

Same here.

I started the game normally today and it looks like everything works fine, hope it will somehow work for you too.

@UPSimon78 @TheFartMaster69 "Authentication Failure" was caused by issues with the master server and should be fixed by now. Regarding "LSX Authentication Challenge failed", I'm gonna add it to the troubleshooting section in the wiki and then close this issue later.

Section is added to the wiki now.
Issue will stay pinned for the time being ^^

As the wiki states (and @GeckoEidechse mentioned before) running the game first with Steam solved my problem, seems that part of the install was pending until then. Thanks!

make sure that cloud save is off in origin, it really fs things up

Adding -northstar to the Launch Options in steam fixed it for me, thanks!

Make sure you're signed in. This might be super obvious, but for me the game wanted to run through Origin when I downloaded it through Steam. I fought with the program, even installed it twice more until I tried just running it normally. I had the exact same issue for hours. It signed me into an Origin account I forgot I even had and ran Northstar as it was supposed to.


Service Page, clear text box issue

Choose service clear button is not working,.
On click on Income Account , "No Account" should be  erased.

Its working on my side. Please recheck

now no need of this feature because market place import available soon.
so close this bug


cant login because Login sceen flickers

Describe the bug
when trying to log in, the login sceen starts flickering. On every device I tried its the same. F-Droid aswell as PlayStore. Sometimes the background image does the same.
To Reproduce
Steps to reproduce the behavior:

Go to the login screen
Log in with URL i cant show
See error

Expected behavior
Being able to type in the login Field
Screenshots
https://user-images.githubusercontent.com/80942857/161376535-98e02f14-439f-4bd6-9a24-9393aacfcee1.mov
Smartphone (please complete the following information):

Device: Xiaomi Mi 9, Windows Subsystem for Android
OS: Android 11 MIUI, Android 11
Version 2.5.4 F-Droid, GooglePlay

Additional context
Is it the BG?

stock xiaomi os?
what is windows subsystem? r u installing on windows subsystem emulator or a xiaomi device?

Yes, stock xiaomi os, WSA is a official microsoft tool to run APKs on Windows 11.

so you mean you tested both, and all of them have this issue?

from the screenshot, Les Pas is in the authentication screen, and it's loading pages from your server in a webview, seems like the webview can't hold it's background stable and keep showing some content from beneath it. Is that a distored version of your wallpaper?

from the screenshot, Les Pas is in the authentication screen, and it's loading pages from your server in a webview, seems like the webview can't hold it's background stable and keep showing some content from beneath it. Is that a distored version of your wallpaper?

A cropped version

so you mean you tested both, and all of them have this issue?

Right

seems to me there are conflicts between lespas's animation and your device's hardware graphic acceleration. further debuging requires that you install a test version of lespas. r u ready to help on this?

Yes

great. could you leave your address at<EMAIL_ADDRESS>

btw, have you theme your Nextcloud server? is it possible to send the output of the following command to my email mentioned above?
curl -X GET 'https://<your_nextcloud_server_url>/v2.php/cloud/capabilities?format=json' -H "OCS-APIRequest: true"

When I run the command I dont get any output:
https://i.imgur.com/CW9zPxu.png

on windows I get this:
https://i.imgur.com/FCGoO3o.png

ok, forget that. please just send me your address so that I can mail you a debug version for testing

ok, forget that. please just send me your address so that I can mail you a debug version for testing

<EMAIL_ADDRESS>

I have installed it, what should I do?

see if it fixes the flickering issue

see if it fixes the flickering issue

No, it doesn't

before the login page shown, there is a brief moment when a progress bar showing in the middle of screen, did you manage to see that? is the background flickering during that period of time?

https://user-images.githubusercontent.com/80942857/162585464-83035981-06e5-4a02-8807-a8f81f8a5507.mp4
Can you see anything there?

thank you. i can see the slogan from your server flash on screen for a second. that help to narrow down the cause of this issue  to webview implementation

thank you. i can see the slogan from your server flash on screen for a second. that help to narrow down the cause of this issue to webview implementation

can I fix that?

it's totally fine to clone and fix it on your side. it's hard for me to debug this one remotely.

I'm also having this issue on a fresh install of AOSP ROM using android 12L, tried using both the F-droid and play store package. Could this be an issue regarding not having chrome installed?

@Sewdohe have you tried the debug version i posted in this thread? in that version, i have removed all view animations of the login screen. i'm not sure if it's a chrome issue, i believe android webview is a build-in system service, although you can replace it in a rooted environment.

@scubajeff Just tried it, having the same issue. I am rooted, however, so I'll try switching my WebView and see if that helps. last I tried though bromite was crashing on 12L

@scubajeff Just tried it, having the same issue. I am rooted, however, so I'll try switching my WebView and see if that helps. last I tried though bromite was crashing on 12L

Tried with bromite sys WebView, that exhibited the same flickering issue

@Sewdohe let me get this clearly. 12L AOSP fresh install, both android webview and bromite webview suffered from this bug.

@Sewdohe let me get this clearly. 12L AOSP fresh install, both android webview and bromite webview suffered from this bug.

Yes sir, fresh install with no root or modules
then I tried it again after installing magisk and changing the webview to bromite with the same results.
If there is anything I can do to help, let me know. I'm not super familiar with android development, but I am a developer, so I'm sure I could be of some use. Could get a logcat or something

I thought this only affects oem rom like miui, but yours is AOSP. I will try to reproduct it in my environment. Logcat won't do much in this moment, since it's not a crash. Mind telling me what model of your phone is?

Just tested in a 12L android emulator, can't reproduce this issue.

I thought this only affects oem rom like miui, but yours is AOSP. I will try to reproduct it in my environment. Logcat won't do much in this moment, since it's not a crash. Mind telling me what model of your phone is?

It's a Pixel 5. Running ProtonAOSP rom, no gapps, sandboxed google play services, rooted, running protonKernel

@Sewdohe , Ok, that's a custom ROM, though it's based on ASOP. On Nextcloud server, you can enable an app called Theming, in that app, you can customized your instance's theme color, backgroud wallpaper and showing a slogan on login page. Have you done those modification? If not, could you try to set a theme color of your choice and test LesPas login again?

By the way, Bromite is also based on Chrome.

By the way, Bromite is also based on Chrome.

everything is based on chrome nowadays lmao

@Sewdohe could you please try this debug built?
LesPas-v2.5.5-debug.zip

@Sewdohe could you please try this debug built?
LesPas-v2.5.5-debug.zip

@Sewdohe could you please try this debug built? LesPas-v2.5.5-debug.zip

Updated current install with the debug package, still having flickering

Anything else I can do to help find the issue here? Really wanna try this app

@Sewdohe ,On Nextcloud server, you can enable an app called Theming, in that app, you can customized your instance's theme color, backgroud wallpaper and showing a slogan on login page. Have you done those modification? If not, could you try to set a theme color of your choice and test LesPas login again?

@Sewdohe ,On Nextcloud server, you can enable an app called Theming, in that app, you can customized your instance's theme color, backgroud wallpaper and showing a slogan on login page. Have you done those modification? If not, could you try to set a theme color of your choice and test LesPas login again?

I set the theme color to red. Still having the same issue though...I see the login screen color changed though. I noticed that I always have to click the login button twice to make it responsive if that's any indication of the issue

I suspect that this's an issue with some graphic performance acceleration settings in your specific ROM. It's hard to debug this one, especially not with the device in my hand. If you really want to try out LesPas, I would suggest you taking the QR code scanning method for authentication.

By clicking login with token at the bottom?
That gives me access forbidden invalid request error when clicking

would you mind give me a screenshot?

I have the same problem with a Samsung S21plus running the original firmware with Android 12 and the  current version of Les Pas (2.5.8 from F.Droid)
I tried also using login with QR code (new app password). It seems, the login/password was not used corrextly. See attached screenshot

@80G5q1 is it possible for you to get a screenshot in English?

Sure

what happen if you click login button here?

The normal login screen but flickering. So it is not possible to type in name/password

i understand that. what i'm asking is the other issue you mentioned, which is the qr code scanning didn't work neither. what happen after you scan the code?

The screen from the screen shot I sent.
And Nextcloud did not recognize the login attempt.

Les Pas shouldn't go to that screen after you scanned the QR code. Are you sure you were scanning the code from your server's security menu page?

Yes, I agree.  The QR code I scan is from the security page.

Regarding what happens after scanning the QR code I have to precise my answer:
DIrectly after scanning the QR code the first screen shows my nextcloud slogan flashing on my choosen colour. After one or two seconds it changes to the screenshot I sent.

@80G5q1 Confirmed there is a bug prevents scanning from working. Fix will be released in version 2.5.10.
Hope to push it out soon so that anybody who is facing this flickering situation can have a way out.
As for this issue itself, still have no clue what went wrong. Can't reproduce it at my side, it's not a crash so no log can be studied neither. Still suspect that it's related to specific implementation of webview and framework.

@80G5q1 @Sewdohe would you like to test this debug build?
LesPas-v2.5.9-debug.zip

Top, it works for me!

@80G5q1 @Sewdohe would you like to test this debug build? LesPas-v2.5.9-debug.zip

I'm still having the flickering issue :/

@80G5q1 no flickering or still? if you have login, to test again, you just need to click the re-login menu in Setting screen.

Same

@80G5q1 no flickering or still? if you have login, to test again, you just need to click the re-login menu in Setting screen.

Login with scanning QR works without flickering, also the re-login in the settings.
Login without scanning QR code is still not possible:

Flickering after using the "Log in" button
"Error - Access Forbidden - Invalid request" screen message after pressing "Alternative log in using app token" multiple times. Single press usually did not work at all

@80G5q1 you mean there is NO flickering in re-login screen?

re-login with scanning QR code works, re-login with "Log in" button flickers.

@80G5q1 One more thing need to be clarified, during re-login, the first screen you see will be your server's login landing page, where you click the "Log in" button. You mentioned Flickering after using the "Log in" button, so you mean you didn't see flickers on this page?

Correct, the landing page with the "Log in" button does not flicker.

@80G5q1 @SpeeterYT another try, could you please test this build?
LesPas-v2.5.10-debug.zip

@80G5q1 @SpeeterYT another try, could you please test this build?
LesPas-v2.5.10-debug.zip

login and re-login works with scanning QR code
login and re-login still not working. Landing page with "Log in" button ok, but flickering screen when pressed.

Login with token also not possible. Most times nothing happens when pressing the button. Sometimes the expected landing page appears for a fraction of a second.
I also double checked to login to my cloud manually (Log in button and app token) with another app (Souvenirs via F-droid). This worked without problems.
Souvenirs also uses the possibility to use the accounts from the (installed) Nextcloud app, which is quite comfortable. This could be a new feature for Les Pas.

@80G5q1 could you please post the output of this command:
 curl -X GET 'https://<your server's address>/ocs/v2.php/cloud/capabilities?format=json' -H "OCS-APIRequest: true"

I only replaced my server address:
{"ocs":{"meta":{"status":"ok","statuscode":200,"message":"OK"},"data":{"version":{"major":23,"minor":0,"micro":4,"string":"23.0.4","edition":"","extendedSupport":false},"capabilities":{"bruteforce":{"delay":0},"theming":{"name":"Nextcloud","url":"https://nextcloud.com","slogan":"The answer is 42","color":"#575A7C","color-text":"#ffffff","color-element":"#575A7C","color-element-bright":"#575A7C","color-element-dark":"#575A7C","logo":"https:///core/img/logo/logo.svg?v=10","background":"https:///index.php/apps/theming/image/background?v=10","background-plain":false,"background-default":false,"logoheader":"https:///core/img/logo/logo.svg?v=10","favicon":"https:///core/img/logo/logo.svg?v=10"}}}}}

@80G5q1 that's seem pretty legit, is it possible to grab a logcat output when it's flickering?

@80G5q1 that's seem pretty legit, is it possible to grab a logcat output when it's flickering?

Depends. I am not a SW developer. I guess I would have to connect the phone with a PC running some kind of Android development tool  - never really did this before.

then forget it, it's much more troublesome than you think. ;)

I gave it a try. Maybe it is what you wanted. Should be from starting app until flickering by pressing "Log in" button
LesPas-DEBUG.txt

So in fact, it's not that hard as what I thought it's. Welcome to the dev world!
I see a quite a few of this error in the log:
Refused to apply style from 'https://mydomain/apps/dicomviewer/css/sidebar.css?v=b0e8daa2-10' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

I couldn't reproduce this error message in my environment. I'm not a web developer myself, I suspect that means android webview can't render the CSS style, which is very much related to page losing it's background.
Are you self hosting your Nextcloud on-premise or using a cloud service instance? Are you accessing your server using ip address or name? Is the name a public domain name? What webserver are you using?

Got it!
I have no idea why, but disabling the DICOM viewer app in NC solves the flickering problem.
Btw: I am self hosting my own RPi4 NC instance with apache, accessible with a public domain name.

How did you manage to pinpoint this app? I found out by search that this mimetype checking issues in Nextcloud has been on and off for many years, many Nextcloud apps hit this one.

I see, it's in the link.

I installed DICOM viewer app on my NC, still can't reproduce flickering on all my testing devices, didn't see that error message in logcat neither. This is really an edge case when ill-functioning NC app meets special webview implementation

Here is another debug build, try to tell webview to ignore such css mime type error and continute to load the page. @80G5q1 @SpeeterYT @Sewdohe could you please have a try?
LesPas-v2.5.10-debug.zip

Here is another debug build, try to tell webview to ignore such css mime type error and continute to load the page. @80G5q1 @SpeeterYT @Sewdohe could you please have a try?
LesPas-v2.5.10-debug.zip

Still flickering when using Log In button. But I think my NC installation shouldn't be a reference. Initial installed as NC15 and continuesly upgraded since than incl. 2 server upgrades.

I see the same thing with the latest F-Droid build against my NC 25.0.1. It's impossible to enter anything, or even to press a button: screencast.webm

@nursoda It has been a long time since the last report of this issue. Is your NC instance accessible from internet? I need to give it a try from my side.

the  same for me. my instance is https://cloud.pesh.ch

Sure. Please self-register at
https://cloud.seyfarth.de/apps/registration/ Use a username matching /^[a-z-]+.[a-z-]+$/ and a Password ≥14 characters. You may keep that account until you're finished testing. You may then self-delete it from the settings menu.

@nursoda @palight Thank you very much for reporting. This long overdue bug fixed. I will release a new version asap.

Awesome to hear! Been wanting to try this app for a long time! Been watching this issue


Localization support

Hi.
It would be nice if there could be an option to replace the text for different languages. Perhaps like the way you specify themes.
Cheers

Hi. This issue repeat #45


Refactoring ContractWrapper proposal

Context:
When I was figuring out what was to be done for IBC, I faced a bit of a wall in the form of a ContractWrapper. As this structure works, it is a serious boilerplate that would quickly go out of control. At this moment, there are 13 generics and the same amount of non-trivial trait bounds (by non-trivial, I mean - more than one bound in a single line). For now, we have six supported entry points in MT, and IBC adds another 6, which makes me think the number of those generics with names in the form of letter-number would roughly double (maybe not entirely, as messages for IBC are not custom, but errors would double for sure).
Additionally, many types of aliases would also double in the count - https://github.com/CosmWasm/cw-multi-test/blob/main/src/contracts.rs#L45-L55.
Also the approach taken leads to severe limitations - as all the builder functions (new or with_sudo) are taking fn types instead of some generics, it is impossible to pass there any callable types not being trivial - obviously, for 99% cases it is ok, as we pass there entry point functions, but I can imagine one could like to use this utility to build ad-hoc fake/mock/stub contract passing there some closures - and it won't work if those closures capture any context.
The more severe limitation is related to how _empty functions are defined - they take functions which sometimes take Q being empty, sometimes C`, and sometimes both.
For example - the new_with_empty assumes all passed functions to have both C and Q an Empty, while migrate assumes C being empty, but Q already being of the expected type. I assume it is an oversight, but it leads to inconsistencies and messy API. We want some consistent API for this, but on the other hand - I would like to leave those functions mostly as they are to minimize API changes (or make them more generic so they still can be called the old way).
Proposal
I want to do a couple of things about the contract.rs. The first one is obvious - split the file. ContractWrapper in whatever form deserves its own module, as Contract trait is. Contract trait by its nature has to contain all the entry points and it is not a thing to be split in any way, but it will grow (now with IBC entry points, no one knows about the future).
The other thing is a bit more complex but should lead to way simpler maintenance of a ContractWrapper. I started POC of it on contract_wrapper_refactor branch. The core idea is to switch from Box<dyn Fn(...) -> ...> functions to generics. In the end ContractWrapper would be defined as something like:
pub struct ContractWrapper<ExecuteFn, InstantiateFn, QueryFn, SudoFn, ReplyFn, MigrateFn> {
  execute_fn: ExecuteFn,
  instantiate_fn: InstantiateFn,
  query_fn: QueryFn,
  sudo_fn: SudoFn,
  reply_fn: ReplyFn,
  migrate_fn: MigrateFn,
}

Then all bounds would be reduced in impl-block as follows:
impl<Q, C, ExecuteFn, InstantiateFn, QueryFn>
ContractWrapper<ExecuteFn, InstantiateFn, QueryFn, DefaultSudoFn<Q, C>, DefaultReplyFn<Q, C>, DefaultMigrateFn<Q, C>>
where:
    ExecuteFn: ContractFnT<Q, C>,
    InstantiateFn: ContractFnT<Q, C>,
    QueryFn: QueryFnT<Q>,
{
  pub fn new<Q, C>(exec_fn: ExecuteFn, instantiate_fn: InstantiateFn, query_fn: QueryFn) -> Self
  {
    Self {
      exec_fn,
      instantiate_fn,
      query_fn,
      // Defaults just returns an error
      sudo_fn: default_sudo_fn,
      reply_fn: default_reply_fn,
      migrate_fn: default_migrate_fn,
    }
  }
  // ...
}

impl<ExecuteFn, InstantiateFn, QueryFn, SudoFn, ReplyFn, MigrateFn>
ContractWrapper<ExecuteFn, InstantiateFn, QueryFn, SudoFn, ReplyFn, MigrateFn>
{
  pub fn with_sudo<NewSudoFnT, Q, C>(self, sudo_fn: NewSudoFnT) -> Self
  where:
    // This magic verifies we have some common Q and C, and in general - we don't mess up our type
    // after all
    ContractWrapper<ExecuteFn, InstantiateFn, QueryFn, NewSudoFn, ReplyFn, MigrateFn>: Contract<C, Q>,
  {
    let Self {
      exec_fn,
      instantiate_fn,
      query_fn,
      reply_fn,
      migrate_fn,
      ..
    } = self;

    ContractWrapper {
      exec_fn,
      instantiate_fn,
      query_fn,
      sudo_fn,
      reply_fn,
      migrate_fn,
    }default_migrate_fn
  }
  // ...
}

Because of trait bounds in impl-block it would be impossible to create an instance of an invalid wrapper, and it would look way clearer.
Before defining the function traits, I would like to point out a problem - the change is breaking. If at any point anyone used the ContractWrapper spelling out his generics, he will have to get rid of it - however, I doubt anyone did it. In our examples, we always box it and return it as Box<dyn Contract>, and it is how it should be used - and if one wants to avoid dynamic dispatch for his case (don't see a use case as this is only to be stored in MT which keeps it as trait object, but maybe), then he should use the wrapper as impl Contract. Therefore it is reasonable to do this break, and it is best to do it before IBC implementation because it would make it saner to work on doubling the entry points count.
Now let me move to the last important part of the refactor - the functions trait. Those fellows are just extension traits for Fn, which:

Makes usage of them cleaner (trait bounds are very verbose)
Takes care of commonizing error types into anyhow

The example trait is the ContractFnT:
pub trait ContractFnT<Q, C>
where:
  Q: CustomQuery
{
  type Msg;

  fn call(&self, deps: DepsMut<Q>, env: Env, info: MessageInfo, msg: Self::Msg) -> AnyResult<Response<C>>;
}

impl<T, Q, C, E> ContractFn<Q, C> for fn(DepsMut<Q>, Env, MessageInfo, Msg) -> Result<Response<C>, E>
where:
  E: Info<anyhow::Error>,
  Q: CustomQuery,
{
  fn call(...) -> AnyResult<Response<C>> {
    self(deps, env, info, msg).map_err(Into::into)
  }
}

This would allow passing any simple function (just like right now), but it still doesn't enable passing function-like objects. There is trickery to allow this also; the problem to overcome is that such an object could have multiple Fn implemented, in particular with different msg arguments - a rough idea of how to fix it by allowing passing arbitrary function-like argument by turbo fishing the msg-type if needed can be found here, on more straightforward example: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=7843098bcff9460cfd56aadf75f30375. With some GAT`s love this can be done even nicer, but not sure about updating MRCV for this (not sure if the current one is including GATs).
Finally Contract trait has to be defined on ContractWrapper, which is trivial.
The final touch is about commonizing the (C, Q) -> (Empty, Empty) generalization. I find that decostumize_deps and so are supposed to be extension traits for their types (Deps in this case). Reasoning for that is that it would enable trait-binding on the fact that casting from one Deps to another is possible. It should then provide a bit nicer APIs, and also allow for more generic transformation (as "I want to test my contract on different chain supporting superset of messages I use"). This would lead to adding functions on our contract function traits, let say:
pub trait ContractFnT<Q, C>
where:
  Q: CustomQuery
{
  // ...
  fn query<NewQ>(self) -> impl ContractFnT<NewQ, C, Msg = Self::Msg>
  where
    Deps<Q>: CustomizeDeps<NewQ>,
  {
    // Don't want to go into implementation - very much possible
    todo!()
  }

  fn msg<NewC>(self) -> impl ContractFnT<Q, NewC, Msg = Self::Msg>
  where
    Response<C>: CustomizeResponse<NewC>,
  {
    todo!()
  }

  fn custom<NewQ, NewC>(self) -> impl ContractFnT<NewQ, NewC, Msg = Self::Msg>
  where
    Deps<Q>: CustomizeDeps<NewQ>,
    Response<C>: CustomizeResponse<NewC>,
    {
      todo!()
    }
}

This is to be added later, but it would allow one to convert entry-point functions between compatible chains arbitrarily:
fn my_contract() -> Box<dyn Contract<CustomMsg, QueryMsg>> {
  // Here for some reason my `exec` already uses proper `QueryMsg`
  ContractWrapper::new(exec.msg(), instantiate.custom(), query.custom())
}

All the _with_empty functions would be left (possibly marked as deprecated at some point) to minimize any changes in code using MT right now.

@ethanfrey @webmaster128 @ueco-jb

I would like to point out a problem - the change is breaking. I

This is why multi-test is the only non-1.0 package we have in the CosmWasm rust stuff... it may need breaking.
I didn't follow all the details, but we can definitely think of a better formulation of this. In the end, all these generic things should be wrapped by Box<dyn Contract> when stored, so they don't need any more dyn inside them and can all be concrete instances of different types.

For now, we have six supported entry points in MT, and IBC adds another 6,

I envision a trait IbcContract that extends trait Contract, so those can usually be hidden.
And that means we will also need a different wrapper type that implements this (embedding the normal one), as many contracts will not fulfill IbcContract interface and should not have that. I see less of an issue with sudo, reply (internal detail) or migrate not being type-checked.

Makes sense.


Make card images clickable

Card images will be a hyperlink to the primary URL if available.

Checked locally and something seems to be work not as intended:

Ah, this is probably to do with how the CSS for the card images is implemented. I'll have a look at how it can be fixed.

Merged, thanks for the PR!


fix: autocleanup removes screenshots of other testing type

add test case to cover this scenario
add isImageOfTestType check
resolves #178
Signed-off-by: Jakub Freisler<EMAIL_ADDRESS>

Published under 3.1.6-alpha.0.

Published under 3.1.6-alpha.1.

Hi, there! Will this eventually be merged ?