Date type for extra registration form fields

In an app I am creating I need to store the date of birth of the user however a date form element has not been defined and thus I figure the user would have to type their date of birth in and this can be processed and converted, on form submission, into a date type to be stored into the mongodb for later use as a date.
I would like to request you add a date form element/type that can be defined in the type field of the add field function to make adding date form elements easier.

Are you willing to play with this and come back with a PR?
I'd be happy to give you some pointers to make the process easier!
The hardest part at the moment is test it on all available frameworks...
Actually this is very similar to #230. Perhaps you and  @michelkeyaerts could join your efforts and collaborate on this?

I think this could be solved with what proposed in #273.
Could you please give it a try?

I have not tried your earlier suggestion as I have been quite busy recently. However when i tried the new recommendation you made from #273 i was given the below errors in the browser terminal.
W20150216-02:44:57.358(0)? (STDERR)                                             throw(ex);
W20150216-02:44:57.358(0)? (STDERR)                                                   ^
W20150216-02:44:57.375(0)? (STDERR) Error: field.type is not valid!
W20150216-02:44:57.375(0)? (STDERR)     at [object Object].AT.addField (packages/useraccounts:core/lib/core.js:338:1)
W20150216-02:44:57.375(0)? (STDERR)     at app/lib/at_config.js:50:19
W20150216-02:44:57.375(0)? (STDERR)     at app/lib/at_config.js:61:3
W20150216-02:44:57.375(0)? (STDERR)     at /home/action/qcDashboard/.meteor/local/build/programs/server/boot.js:205:10
W20150216-02:44:57.375(0)? (STDERR)     at Array.forEach (native)
W20150216-02:44:57.376(0)? (STDERR)     at Function..each..forEach (/home/action/.parts/packages/meteor/1.0/packages/meteor-tool/.1.0.40.kc4p9p++os.linux.x86_64+web.browser+web.cord
ova/meteor-tool-os.linux.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
W20150216-02:44:57.376(0)? (STDERR)     at /home/action/qcDashboard/.meteor/local/build/programs/server/boot.js:116:5
=> Exited with code: 8
=> Your application is crashing. Waiting for file change.

Lets try to tweak the configuration and pass text as field's type.
The following seems to work for me::
AccountsTemplates.addField({
  _id: 'birthday',
  type: 'text',
  template: "dateInput",
});

<template name="dateInput">

    {{displayName}}
    <input type="date" id="at-field-{{_id}}" name="at-field-{{_id}}" {{disabled}}>

</template>

Let me know!

The following is another working example (for bootstrap using rajit:bootstrap3-datepicker).
Custom template:
<template name="birthdayInput">

      {{displayName}} {{#unless required}}{{optionalText}}{{/unless}}

    <input type="{{type}}" class="form-control" id="at-field-{{_id}}" name="at-field-{{_id}}" placeholder="{{placeholder}}" autocapitalize="none" autocorrect="off">
    {{#if hasIcon}}

    {{/if}}
    {{errorText}}

</template>

Template.birthdayInput.rendered = function() {
  this.$('input').datepicker();
};

UserAccounts configuration:
AccountsTemplates.addField({
  _id: 'birthday',
  type: 'text',
  displayName: "Birthday",
  template:"birthdayInput"
});

See also customInputFields/bootstrap/datepicker on the wiki,

It's been a while since I have been able to get round to this but I attempted the workaround you suggested on Feb 16th due to using the semantic-ui flavour of useraccounts. Works perfectly with standard html date selector. Thanks

Good Answer  @splendido


chore: upgrade dependencies

Description

chore: upgrade dependencies

Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[X] 🗑 Chore

Closing since this predates our archiving the repo.


fix(cli): do not pay a paid invoice

The aim of this PR is to fix #608.
@justinmoon As you suggested in https://github.com/fedimint/fedimint/issues/608#issuecomment-1464758957, I've attempted to store the payment hash of paid invoices and refuse attempts to pay an invoice that has already been paid. I'm not sure if this is in the right place.
I may also need to allow for the case where something goes wrong further downstream when paying an invoice, such as in await_outgoing_contract_acceptance or await_outgoing_contract_execution, so that those parts can still be retried.
If you could take a look and let me know your thoughts, that would be great thanks.

Looks good so far

I may also need to allow for the case where something goes wrong further downstream when paying an invoice, such as in await_outgoing_contract_acceptance or await_outgoing_contract_execution, so that those parts can still be retried.

Yes, I think we should save to the database after await_outgoing_contract_acceptance. Then we should delete that key if try_refund_outgoing_contract succeeds (this happens when the gateway fails to make the payment). This would allow the user to try paying the invoice again with another gateway.

Thanks for your comments, @justinmoon.

Yes, I think we should save to the database after await_outgoing_contract_acceptance. Then we should delete that key if try_refund_outgoing_contract succeeds (this happens when the gateway fails to make the payment). This would allow the user to try paying the invoice again with another gateway.

I'll make this change and will let you know if I have any questions.

Codecov Report
Patch coverage: 51.85% and project coverage change: +0.22 :tada:

Comparison is base (9e4a43b) 62.92% compared to head (41a7536) 63.14%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1939      +/-   ##
==========================================
+ Coverage   62.92%   63.14%   +0.22%
==========================================
  Files         137      138       +1
  Lines       26522    27291     +769
==========================================
+ Hits        16690    17234     +544
- Misses       9832    10057     +225

Impacted Files
Coverage Δ

fedimint-dbtool/src/dump.rs
0.00% <0.00%> (ø)

client/client-lib/src/ln/db.rs
43.75% <50.00%> (+0.89%)
:arrow_up:

client/client-lib/src/lib.rs
77.61% <76.47%> (-0.05%)
:arrow_down:

... and 24 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

As per https://github.com/fedimint/fedimint/issues/608#issuecomment-1518386201, this is no longer required.


Error running spaGCN : Could not construct partition

Hello
I am trying to run spatial 10X visium data in sgaGCN on spatial dataset but it gives me following error at processing step :
#Search for suitable resolution
res=spg.search_res(adata, adj, l, n_clusters, start=0.7, step=0.1, tol=5e-3, lr=0.05, max_epochs=20, r_seed=r_seed, t_seed=t_seed, n_seed=n_seed)
BaseException: Could not construct partition: vector::_M_default_append
Same code was working before on single and integrated datasets.
But this time it gives me error for both integrated and single objects.
Please help me to fix this issue. I would appreciate all the suggestions.
Thanks in advance

I also meet this problem now.

hello, you can try the solution closed issue #43


ES2017: Handle non-identifier async method name for class element

Fix #1649

Current coverage is 100% (diff: 100%)

Merging #1650 into master will not change coverage

@@           master   #1650   diff @@
=====================================
  Files           1       1
  Lines        3943    3945     +2
  Methods         0       0
  Messages        0       0
  Branches      678     678
=====================================
+ Hits         3943    3945     +2
  Misses          0       0
  Partials        0       0

Powered by Codecov. Last update 1c97d55...8066302

👍


running server failing

Describe the bug
When server runned using pyhton it gives many errors
To Reproduce
Steps to reproduce the behavior:

install dependencies to run the server
run server using python3 run.py

Expected:
It should start the server
Actual:
Giving error of dependencies

@OWASPFoundation It is due the dependencies ,
python is installing newer versions of dependicies which doenot support some functions of their older version
So here I am not changing the whole codebase to adapt , for the now time being I propose a solution to restrict dependicies by mentioning their versions

@adeyosemanputra this issue can be closed now


Unregister in Android

Hi
Wondering if some one can answer:
unregister() is now deprecated:
https://developers.google.com/android/reference/com/google/android/gms/gcm/GoogleCloudMessaging.html#unregister()
we are use that  in react-native-azurenotification and notice errors
My issues is to any time when user update tags to update register method with new tags. for Android is not updated. is any way to solve this problem ?
hope for quick solution, direction

Please try again in the latest version and let me know if it still occurs.


Maven:  Jar file not downloaded.

Using Maven 3.5.2 (latest version, tried 3.3.9 also), the jar file for the artefact simply does not get downloaded.
I am using a settings.xml that is a described on the README.MD file as is (not merged with any other settings).  I deleted my "${HOME}/.m2/repository" directory and all artifacts used by my project where downloaded again, except for alphavintage4j.
There are no errors reported by Maven.  It is not clear if the problem is with Maven, my personal settings or alphavantage4j's repository.  But since all other artifacts jars are downloaded and I successfully built other projects not using alphavantage4j's artifact, it seams that the problem lies with alphavantage4j's repository.

I got the jar using this link here ...
https://dl.bintray.com/patriques82/maven/org/patriques/alphavantage4j/1.1/

@patriques82, thank you for fixing the issue and for your time on this project; it is appreciated.


⚠ Bofrost.at has degraded performance

In 2a3e338, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2935 ms

Resolved: Bofrost.at performance has improved in d11e5ce after 26 minutes.


Create external address setting for maas checks

New setting maas_external_ip_address defined with default value of
external_vip_address and existing remote maas checked migrated to
use the new setting.
Fixes #27

I don't understand maas enough to know why this is needed, but the change in itself is pretty safe.
:+1:

Looks good to me

Looks good to me! :+1: It might be worth noting (somewhere) that {maas_,}external_ip_address can be the same.


Create nl-NL.json

Dutch translation file

Please rebase and I will merge

done
Ciao,
Gideon
~~o
<#,
()/()
On Tue, Aug 2, 2016 at 3:28 PM, Samuel Attard<EMAIL_ADDRESS>wrote:

Please rebase and I will merge
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/pull/1304#issuecomment-236903649,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADv5RePt6gPArV3Mj0jRqk2kumygPDOKks5qb0XvgaJpZM4JJeC9
.


Update to 1.20.1?

Heya! I was wondering if you'd be up to updating this mod to 1.20.1!

I haven't done any mod dev for a while but I'll look into it, no guarantees


Cannot read package.json bug with filesizeq

Lost hours due to strange bug with different filesize, the files in "bug" folder which package.json with 1 byte less does work on any Electron version. Could you make it compatible or at least prompt for an error why it didn't read?
https://img42.com/4uEqE+
https://www.dropbox.com/s/gwfszwlbm2kcgxr/app.zip?dl=0
Mac OS X 11.10.x

Hi @wildfiremedia — it looks like your package.json file in "bug" contains "pretty" quotes, which aren't valid in JSON:

When I remove those it reads the file and runs fine.


Feature request: replace existing table columns

I totally understand if you decide this isn't worth the risk of someone wiping out their custom configuration and getting mad. 😄
However, it would be kind of nice to have this option:

Configure plugin settings
Button to "Replace existing table columns"
Confirmation modal: "Are you sure? This will overwrite your existing table configurations for [Assets]. Yes, replace existing columns/Cancel"
All table columns for that element type get updated to plugin settings
Uninstalling or disabling the plugin returns columns to either Craft defaults or previous configuration, whichever is easier/makes more sense to y'all

Yep, I think this is a great FR and super-useful! We'll implement this at some stage.

I know this is an old issue - I'm just waiting for Craft 4 which will (apparently) bring changes to the element indexes. Here's hoping we can handle this through defaults!


Have #pragma region create collapsible groups in the outline tab

The #pragma region/endregion directive should add groups to the outline tab on the activity bar so that you can collapse groups of like functions/variables in the outline view
For example, having the defines at the top of the outline collapsible to a "define" group similar to how the struct is collapsible

Previously requested in #203703, #107084, #51364


[Bugfix] Add random_seed to sample_hf_requests in benchmark_serving script

[Bugfix] Current sample_hf_requests() in benchmark_serving.py did not have a good reproducibility as it uses dataset.shuffle(), which causes the input prompts to be different between each run.
This PR adds random_seed=arg.seed argument to sample_hf_requests() and changes dataset.shuffle() to dataset.shuffle(seed=RANDOM_SEED) to ensure benchmark reproducibility.  After this fix, the Total input tokens is now fixed to 12428 as shown in the test logs below.
Test Log:
first run:
python ../benchmark_serving.py --backend openai-chat --base-url http://<IP_ADDRESS>:8000/v1 --endpoint /chat/completions --model meta-llama/Llama-3.2-11B-Vision-Instruct --dataset-path lmms-lab/LLaVA-OneVision-Data --dataset-name hf --hf-subset "chart2text(cauldron)" --hf-split train --save-result
Namespace(backend='openai-chat', base_url='http://<IP_ADDRESS>:8000/v1', host='localhost', port=8000, endpoint='/chat/completions', dataset=None, dataset_name='hf', dataset_path='lmms-lab/LLaVA-OneVision-Data', model='meta-llama/Llama-3.2-11B-Vision-Instruct', tokenizer=None, best_of=1, use_beam_search=False, num_prompts=1000, logprobs=None, request_rate=inf, seed=0, trust_remote_code=False, disable_tqdm=False, profile=False, save_result=True, metadata=None, result_dir=None, result_filename=None, percentile_metrics='ttft,tpot,itl', metric_percentiles='99', sonnet_input_len=550, sonnet_output_len=150, sonnet_prefix_len=200, sharegpt_output_len=None, random_input_len=1024, random_output_len=128, random_range_ratio=1.0, random_prefix_len=0, hf_subset='chart2text(cauldron)', hf_split='train', hf_output_len=None)
Downloading readme: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 46.3k/46.3k [00:00<00:00, 9.22MB/s]
Starting initial single prompt test run...
Initial test run completed. Starting main benchmark run...
Traffic request rate: inf
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1000/1000 [03:35<00:00,  4.63it/s]
============ Serving Benchmark Result ============
Successful requests:                     1000
Benchmark duration (s):                  215.79
Total input tokens:                      12428
Total generated tokens:                  63701
Request throughput (req/s):              4.63
Output token throughput (tok/s):         295.20
Total Token throughput (tok/s):          352.79
---------------Time to First Token----------------
Mean TTFT (ms):                          107762.34
Median TTFT (ms):                        107688.53
P99 TTFT (ms):                           210873.42
-----Time per Output Token (excl. 1st token)------
Mean TPOT (ms):                          101.65
Median TPOT (ms):                        103.52
P99 TPOT (ms):                           126.47
---------------Inter-token Latency----------------
Mean ITL (ms):                           101.39
Median ITL (ms):                         21.78
P99 ITL (ms):                            480.65
==================================================

second run:
python ../benchmark_serving.py --backend openai-chat --base-url http://<IP_ADDRESS>:8000/v1 --endpoint /chat/completions --model meta-llama/Llama-3.2-11B-Vision-Instruct --dataset-path lmms-lab/LLaVA-OneVision-Data --dataset-name hf --hf-subset "chart2text(cauldron)" --hf-split train --save-result
Namespace(backend='openai-chat', base_url='http://<IP_ADDRESS>:8000/v1', host='localhost', port=8000, endpoint='/chat/completions', dataset=None, dataset_name='hf', dataset_path='lmms-lab/LLaVA-OneVision-Data', model='meta-llama/Llama-3.2-11B-Vision-Instruct', tokenizer=None, best_of=1, use_beam_search=False, num_prompts=1000, logprobs=None, request_rate=inf, seed=0, trust_remote_code=False, disable_tqdm=False, profile=False, save_result=True, metadata=None, result_dir=None, result_filename=None, percentile_metrics='ttft,tpot,itl', metric_percentiles='99', sonnet_input_len=550, sonnet_output_len=150, sonnet_prefix_len=200, sharegpt_output_len=None, random_input_len=1024, random_output_len=128, random_range_ratio=1.0, random_prefix_len=0, hf_subset='chart2text(cauldron)', hf_split='train', hf_output_len=None)
Starting initial single prompt test run...
Initial test run completed. Starting main benchmark run...
Traffic request rate: inf
100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1000/1000 [03:43<00:00,  4.47it/s]
============ Serving Benchmark Result ============
Successful requests:                     1000
Benchmark duration (s):                  223.62
Total input tokens:                      12428
Total generated tokens:                  63680
Request throughput (req/s):              4.47
Output token throughput (tok/s):         284.77
Total Token throughput (tok/s):          340.35
---------------Time to First Token----------------
Mean TTFT (ms):                          112154.70
Median TTFT (ms):                        111527.32
P99 TTFT (ms):                           219165.63
-----Time per Output Token (excl. 1st token)------
Mean TPOT (ms):                          105.54
Median TPOT (ms):                        106.54
P99 TPOT (ms):                           136.76
---------------Inter-token Latency----------------
Mean ITL (ms):                           105.57
Median ITL (ms):                         22.22
P99 ITL (ms):                            489.19
==================================================

BEFORE SUBMITTING, PLEASE READ THE CHECKLIST BELOW AND FILL IN THE DESCRIPTION ABOVE

 PR Checklist (Click to Expand)
Thank you for your contribution to vLLM! Before submitting the pull request, please ensure the PR meets the following criteria. This helps vLLM maintain the code quality and improve the efficiency of the review process.
PR Title and Classification
Only specific types of PRs will be reviewed. The PR title is prefixed appropriately to indicate the type of change. Please use one of the following:

[Bugfix] for bug fixes.
[CI/Build] for build or continuous integration improvements.
[Doc] for documentation fixes and improvements.
[Model] for adding a new model or improving an existing model. Model name should appear in the title.
[Frontend] For changes on the vLLM frontend (e.g., OpenAI API server, LLM class, etc.)
[Kernel] for changes affecting CUDA kernels or other compute kernels.
[Core] for changes in the core vLLM logic (e.g., LLMEngine, AsyncLLMEngine, Scheduler, etc.)
[Hardware][Vendor] for hardware-specific changes. Vendor name should appear in the prefix (e.g., [Hardware][AMD]).
[Misc] for PRs that do not fit the above categories. Please use this sparingly.

Note: If the PR spans more than one category, please include all relevant prefixes.
Code Quality
The PR need to meet the following code quality standards:

We adhere to Google Python style guide and Google C++ style guide.
Pass all linter checks. Please use format.sh to format your code.
The code need to be well-documented to ensure future contributors can easily understand the code.
Include sufficient tests to ensure the project to stay correct and robust. This includes both unit tests and integration tests.
Please add documentation to docs/source/ if the PR modifies the user-facing behaviors of vLLM. It helps vLLM user understand and utilize the new features or changes.

Adding or changing kernels
Each custom kernel needs a schema and one or more implementations to be registered with PyTorch.

Make sure custom ops are registered following PyTorch guidelines: Custom C++ and CUDA Operators and The Custom Operators Manual
Custom operations that return Tensors require meta-functions. Meta-functions should be implemented and registered in python so that dynamic dims can be handled automatically. See above documents for a description of meta-functions.
Use torch.libary.opcheck() to test the function registration and meta-function for any registered ops.  See tests/kernels for examples.
When changing the C++ signature of an existing op, the schema must be updated to reflect the changes.
If a new custom type is needed, see the following document: Custom Class Support in PT2.

Notes for Large Changes
Please keep the changes as concise as possible. For major architectural changes (>500 LOC excluding kernel/data/config/test), we would expect a GitHub issue (RFC) discussing the technical design and justification. Otherwise, we will tag it with rfc-required and might not go through the PR.
What to Expect for the Reviews
The goal of the vLLM team is to be a transparent reviewing machine. We would like to make the review process transparent and efficient and make sure no contributor feel confused or frustrated. However, the vLLM team is small, so we need to prioritize some PRs over others. Here is what you can expect from the review process:

 After the PR is submitted, the PR will be assigned to a reviewer. Every reviewer will pick up the PRs based on their expertise and availability.
 After the PR is assigned, the reviewer will provide status update every 2-3 days. If the PR is not reviewed within 7 days, please feel free to ping the reviewer or the vLLM team.
 After the review, the reviewer will put an  action-required label on the PR if there are changes required. The contributor should address the comments and ping the reviewer to re-review the PR.
 Please respond to all comments within a reasonable time frame. If a comment isn't clear or you disagree with a suggestion, feel free to ask for clarification or discuss the suggestion.

Thank You
 Finally, thank you for taking the time to read these guidelines and for your interest in contributing to vLLM. Your contributions make vLLM a great tool for everyone!

@Isotr0py Thanks for your review. I run  format.sh and did not see any changed made by format.sh. I do not think my file has any lint error.
(vllm) [ ~/work/kai/vllm (main)]$ bash format.sh
vLLM yapf: Done
vLLM mypy:
Running mypy on
Success: no issues found in 128 source files
Running mypy on tests
Success: no issues found in 319 source files
Running mypy on vllm/assets
Success: no issues found in 5 source files
Running mypy on vllm/attention
Success: no issues found in 16 source files
Running mypy on vllm/distributed
Success: no issues found in 12 source files
Running mypy on vllm/engine
Success: no issues found in 17 source files
Running mypy on vllm/entrypoints
Success: no issues found in 24 source files
Running mypy on vllm/executor
Success: no issues found in 17 source files
Running mypy on vllm/logging
Success: no issues found in 2 source files
Running mypy on vllm/lora
Success: no issues found in 17 source files
Running mypy on vllm/model_executor
Success: no issues found in 88 source files
Running mypy on vllm/multimodal
Success: no issues found in 7 source files
Running mypy on vllm/platforms
Success: no issues found in 7 source files
Running mypy on vllm/plugins
Success: no issues found in 1 source file
Running mypy on vllm/prompt_adapter
Success: no issues found in 6 source files
Running mypy on vllm/spec_decode
Success: no issues found in 16 source files
Running mypy on vllm/transformers_utils
Success: no issues found in 30 source files
Running mypy on vllm/usage
Success: no issues found in 2 source files
Running mypy on vllm/worker
Success: no issues found in 23 source files
vLLM mypy: Done
vLLM codespell: Done
vLLM ruff: Done
vLLM isort: Done
vLLM clang-format: Done
vLLM actionlint:
vLLM actionlint: Done
(vllm) [ ~/work/kai/vllm (main)]$ git add .
(vllm) [ ~/work/kai/vllm (main)]$ git commit -m 'formated by format.sh'
On branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean
(vllm) [~/work/kai/vllm (main)]$ git log --raw
commit 50e093943da564a32d86b37d399a26b66b8bd83b (HEAD -> main, origin/main, origin/HEAD)
Merge: dc1cf2fb 5d264f4a
Author: Kai Wu<EMAIL_ADDRESS>Date:   Tue Oct 15 14:27:23 2024 -0700

    Merge branch 'vllm-project:main' into main

commit 5d264f4ab8d008f0ac5b7f0adb7189d70136f3ec
Author: Grace Ho<EMAIL_ADDRESS>Date:   Tue Oct 15 13:30:44 2024 -0700

    pass ignore_eos parameter to all benchmark_serving calls (#9349)

:100644<PHONE_NUMBER>9518 c1a396c8 M      benchmarks/benchmark_serving.py

commit e9d517f27673ec8736c026f2311d3c250d5f9061
Author: Nick Hill<EMAIL_ADDRESS>Date:   Tue Oct 15 07:19:48 2024 +0100

    [BugFix] Fix chat API continuous usage stats (#9357)

:100644 100644 0fbc4cca 3af0032f M      tests/entrypoints/openai/test_chat.py
:100644<PHONE_NUMBER>b6ea acb56e4a M      vllm/entrypoints/openai/serving_chat.py

commit 55e081fbad29c6710318e1715372cc927e44de8b

I see, you can refer to the output of the CI here: https://github.com/vllm-project/vllm/actions/runs/11354659097/job/31582376192?pr=9013#step:5:18


:wrech: trigger of XCM autoteleport on ill-logical cases

Thank you for your contribution to the Koda - Generative Art Marketplace.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Context
I have a "poor" account (sub 1 DOT)
and basically everytime I am trying to do a drop I will have an autoteleport that is asking me to get all my balance from Polkadot to AssetHub.
This fix basically decreases ED so cases like that are not triggered
Before submitting pull request, please make sure:

[ ] My contribution builds clean without any errors or warnings
[ ] I've merged recent default branch -- main and I've no conflicts
[ ] I've tried to respect high code quality standards
[ ] I've didn't break any original functionality

Optional

[ ] I've tested it at </ahp/collection>
[ ] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Did your issue had any of the "$" label on it?

[ ] Fill up your DOT address: Payout

Community participation

[ ] Are you at Koda Ecosystem Telegram?

Screenshot 📸

[ ] My fix has changed something on UI; a screenshot is best to understand changes for others.

cc @hassnian


[ECS] extending parameters from imported configuration

Hi, I am using ecs in version 7.3.18 and I am not sure if there is a bug or it is desired behaviour.
What is happening:
I work with 2 configuration files (first one as shared base between more project, second one for project). Sadly when in the base config I set parameters.set it is not used in final config.
Some code will do better than thousands words:

easy-coding-standard-base.yaml:parameters:
    sets:
        - 'clean-code'

easy-coding-standard.yamlimports:
    - { resource: 'easy-coding-standard-base.yaml' }

parameters:
    sets:
        - 'psr12'

My expectations were about having in final config both defined sets (clean-code and psr12). But unfortunatelly ecs knows only about the psr12 when running ecs check src.
Expected result
If it is bug it will be fixed so the sets from imported files are merged.
If it is desired behaviour it should be described (or more visible) in documentation.

Hi, this is due Symfony parameters limitations.
It's not a bug, It's a feature :)
It's better practice to keep your sets only in core config.
For other local configs, use imports.
Be sure to switch to ecs.php, as Symfony behaviour is slightly different there and might help you


feat(icons added): send and send alt with filled

Contributed to #33
Send, Send Alt, Send filled and Send alt fllled icons added.

@jagathgj thanks for the quick turnaround on this set! I made one tweak to the first 'send' icon so that the airplane moves forward 4 pixels at 10% then back to the original start position at 20%. Let me know if you want to make the same edits to the other 3 icons, otherwise I'm happy to do it. These look great and thanks again!!


Empty anchors aren't editable

When trying to edit an empty anchor by clicking on it, the edit popup isn't shown.

Any plan to work on this ticket


Degress and Radians callbacks

https://github.com/CodingTrain/Logo/blob/4ef832510536603e7649e7ddec4f55fa11966b18/commandList.js#L81
https://github.com/CodingTrain/Logo/blob/4ef832510536603e7649e7ddec4f55fa11966b18/commandList.js#L87
i think some this line 81 and 87 should be swaped just look at it

Indeed that doesn't look right!

Swapping these doesn't make sense as RADIANS is meant to set it to 2*math.Pi where DEGREES set its to a fixed 360

Fixed in #48

All set thank you!


Fix cf/env_test when STORAGE.URI is set

When STORAGE_URI env variable is set the test cf/env_test.go fails.
Solution is to unset the variable before the tests begin.

Coverage remained the same at 90.714% when pulling f6a73074b2fa98d5812d02c371f715a37c661c7f on fix_env_test into 0d118c51d27d52c59d40b7af7f061bda3f195c17 on master.

Fixes https://github.com/Peripli/service-manager/issues/243


WebAssembly support

Is your feature request related to a problem? Please describe.
Using wallet-core with Browser for web-based crypto wallets / operations with private keys
Describe the solution you'd like
Make a special build for WebAsm + examples of using at Browser
Additional context
Best option to start - made a research about compiling C++ to WebAsm. Trying to understands which parts of wallet-core are not supported. It is possible to replace them with WEB Crypto API Also this article can help to start compiling C++ to WebAsm

Wasm is very promising, we will research this later

Most similar browser-based wallets are Javascript based, but with that we would loose the synergy of wallet-core.  WebAsm is promising, but I have doubts because of thelibrary usage (boost) and heavy templating used.

I don't think that's possible at the moment, closing


How to test data in Jetson TX2?

Hi,
In your paper , you mentioned that you have successfully tested Memory efficiency and Sensitivity to GPU frequency in Jetson TX2. I' m quite new in TX2, and I just wonder that  how to do that?
BTW, for Power Consumption, did you externally connect a power meter to the TX2 or just use some magical commands to test?

@sacmehta

Hi,
To measure a sensitivity, you need to fix the frequency and then see the change in inference time. For example, if I am interested in seeing a senstivity to GPU frequency, what I will do is choose a set of GPU frequencies between min and max values supported by my hardware. Let us take we are interested in GPU_FREQ=[300, 500]. Now, I will fix these frequencies one by one and then measure inference time at these frequecies. The ratio of %age change in execution time to %age change in GPU freq is your sensitivity.
Each hardware has various performance counters that provide information about different components of the hardware, including CPU usage, memory usage, and power consumption. You need to read those counters to extract the required information. For more TX2 related details, please post in NVIDIA's forum.

Firstly, thanks for your prompt reply.

From what you said above, you mentioned that you can choose a set of GPU frequencies between min and max values . As far as I am concerned, the Jetson TX2  has 5 modes of operation corresponding to 3 GPU frequency(870 Mhz, 1147 MhZ, 1331Mhz). Did you mean we can use commands to set GPU frequency at any value between [870, 1331] ? Which command ?
We all know that Jetson TX2 do not support  nvidia-smi to watch CPU/GPU utilization and power consumption directly, instead, I use htop and sudo ~/tegrastats but still can not observe the data we need. So how did you solve the problem ?
3)What deeply bothered me is that how we counter power consumption (Watts) . I have tried applications like powertop, powerstatic and s-tui , but all of them only support device which is discharging. Which application or commands did you use ?

I was wondering if you could provide some more details . @sacmehta

1 use nvpmodel for setting GPU frequency.
‘’’
sudo nvpmodel -m [mode]‘’’

We measured power when device is in discharge mode i.e when connected to a battery. Please ensure that battery is fully charged during each experiment. PowerTop and other utilities are good for Intel-based processors, but I am not sure for ARM-based processors. We read performance counters directly from TX2. If you need more help with that, please check or post at NVIDIA’s forums.

Thanks again, I believe that your advice are very helpful.

Actually, I was confused about the definition of sensitivity you gave , which is that the ratio of %age change in execution time to %age change in GPU freq . Well, in your original papar, for ESPNet's inference speed, the FPS value  are almost 8 (0.125 s) and 9 (0.111 s)  corresponding to two different GPU freq, 1134 and 1300 . Next, we calculate the sensitivity , that is
[(0.125 - 0.111)/0.125] / [(1300 - 1134)/1300] = 87.8% <<  95% (original papar)

It is difficult for us to use htop or sudo ~/tegrastats  command to watch total CPU utilization and GPU utilization . Do you have another creative idea?

For Memory Efficiency, I am still curious about how to test Global Load , Shared Memory , etc . By some Linux magical commands ? or another way?

I really appreciate the advice you gave above and hope your reply soon .  :)

The difference in number is because you did not use the correct timing information, but the procedure is correct.

You need to create a bash script  that first starts your program and then launches tegrastats.

You need to use nvidia's profiler for memory efficiency statistics

Hi,
I want to test memory efficiency statistics as shown below .

As you mentioned above, I used the command **nvprof ./run.sh --csv --metrics warp_execution_efficiency** . Here, command "python3 eval_forwardTime.py" has already in run.sh.

Unexpectedly, we can not test anything with the warning that No CUDA application was profiled.
The reason might be that  run.sh or eval_forwardTime.py is not a cuda file. But, I wrote  the file which was based on pytorch and used cuda in it . In other words, should I write a cuda file to test memory efficiency statistics ?
So how do you test Global load , Global store, Shared Memory and warp_execution_efficiency ? which command ?
I just wondering if you could provide some more details . @sacmehta

You need to do “system-wide profiling” instead of application specific profiling to generate the trace on TX2. Once trace is generated, you need to analyze it.
I understand that you might be feeling annoyed, but please understand that your questions are beyond this repository and I won’t be able to answer them (for obvious reasons though). Please use NVIDIA forums for all hardware and tracing related questions. They have specialized teams that can help you resolve your issues.
If you have any questions related to our model, I would be happy to help you.
Good Luck!

I am closing this issue because this issue is beyond the scope of this repository.


Linux snapshot builds are failing

The latest weekly snapshot build failed for Linux.
The error is:
Post job cleanup.
/usr/bin/docker exec  60d5dd7350903409c23824b2aad1bab065e721a001a8440dc76361c23c8c1be4 sh -c "cat /etc/*release | grep ^ID"
/__e/node20/bin/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /__e/node20/bin/node)

... and so is our macOS builder. It looks like macOS 12 has been deprecated and now using it results in a hard error

The macOS-12 environment is deprecated, consider switching to macOS-13, macOS-14 (macos-latest) or macOS-15. For more details, see https://github.com/actions/runner-images/issues/10721

... and so is our macOS builder. It looks like macOS 12 has been deprecated and now using it results in a hard error

The macOS-12 environment is deprecated, consider switching to macOS-13, macOS-14 (macos-latest) or macOS-15. For more details, see actions/runner-images#10721

Thanks. Filed https://github.com/clangd/clangd/issues/2245 for this.


Cumulative time

A nice feature would be to have HCL able to report total cumulative booked time for a given period (default:  the current week), across all projects.
It would then be possible to ascertain, given a total number of hours required for the week, where one stands in relation to the total.

Seems like a duplicate of #15 .

@asymmetric agreed - closing in favor of #15.


Mark RandomGenerator as Obsolete

Mark RandomGenerator as Obsolete in preparations for removing it in next major release.
Resolves #112

I think github is on break

Since github won't let me merge this through the site, I manually merged it.
Thank you!


Bug fixs

Description
bug fixes and enhances error messages, more validation of catalog json added

Release required?

[ ] No release
[x] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

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


iOS can't compile on Xcode 10.2.1 Swift 5/4.2/4

Hi!
I can't compile this cordova plugin on Xcode 10.2.1 and I tried with Swift 5/4.2 and 4.
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:483:16: warning: unnecessary check for 'iOS'; enclosing scope ensures guard will always be true
            if #available(iOS 8.0, *) {
               ^
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:470:9: note: enclosing scope here
        if #available(iOS 10.0, *) {
        ^
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:33:37: error: value of optional type 'AVCaptureConnection?' must be unwrapped to refer to member 'videoOrientation' of wrapped base type 'AVCaptureConnection'
            self.videoPreviewLayer?.connection.videoOrientation = interfaceOrientationToVideoOrientation(UIApplication.shared.statusBarOrientation);
                                    ^
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:33:37: note: chain the optional using '?' to access member 'videoOrientation' only for non-'nil' base values
            self.videoPreviewLayer?.connection.videoOrientation = interfaceOrientationToVideoOrientation(UIApplication.shared.statusBarOrientation);
                                    ^
                                              ?
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:33:37: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
            self.videoPreviewLayer?.connection.videoOrientation = interfaceOrientationToVideoOrientation(UIApplication.shared.statusBarOrientation);
                                    ^
                                              !
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:89:64: error: argument of '#selector' refers to instance method 'pageDidLoad()' that is not exposed to Objective-C
        NotificationCenter.default.addObserver(self, selector: #selector(pageDidLoad), name: NSNotification.Name.CDVPageDidLoad, object: nil)
                                                               ^         ~~~~~~~~~~~
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:249:10: note: add '@objc' to expose this instance method to Objective-C
    func pageDidLoad() {
         ^
    @objc
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:124:57: error: incorrect argument label in call (have 'forMediaType:', expected 'for:')
        let status = AVCaptureDevice.authorizationStatus(forMediaType: AVMediaTypeVideo)
                                                        ^~~~~~~~~~~~~
                                                         for
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:136:68: error: incorrect argument label in call (have 'withMediaType:', expected 'for:')
                let availableVideoDevices = AVCaptureDevice.devices(withMediaType: AVMediaTypeVideo)
                                                                   ^~~~~~~~~~~~~~
                                                                    for
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:154:43: error: value of optional type 'AVCaptureMetadataOutput?' must be unwrapped to a value of type 'AVCaptureMetadataOutput'
                captureSession!.addOutput(metaOutput)
                                          ^
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:154:43: note: coalesce using '??' to provide a default when the optional value contains 'nil'
                captureSession!.addOutput(metaOutput)
                                          ^
                                                     ?? <#default value#>
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:154:43: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
                captureSession!.addOutput(metaOutput)
                                          ^
                                                    !
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:157:80: error: value of optional type 'AVCaptureSession?' must be unwrapped to a value of type 'AVCaptureSession'
                captureVideoPreviewLayer = AVCaptureVideoPreviewLayer(session: captureSession)
                                                                               ^
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:157:80: note: coalesce using '??' to provide a default when the optional value contains 'nil'
                captureVideoPreviewLayer = AVCaptureVideoPreviewLayer(session: captureSession)
                                                                               ^
                                                                                ?? <#default value#>
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:157:80: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
                captureVideoPreviewLayer = AVCaptureVideoPreviewLayer(session: captureSession)
                                                                               ^
                                                                                !
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:257:57: error: incorrect argument label in call (have 'forMediaType:', expected 'for:')
        let status = AVCaptureDevice.authorizationStatus(forMediaType: AVMediaTypeVideo)
                                                        ^~~~~~~~~~~~~
                                                         for
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:260:42: error: incorrect argument label in call (have 'forMediaType:completionHandler:', expected 'for:completionHandler:')
            AVCaptureDevice.requestAccess(forMediaType: AVMediaTypeVideo, completionHandler: { (granted) -> Void in
                                         ^~~~~~~~~~~~~
                                          for
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:308:35: error: value of optional type 'AVCaptureConnection?' must be unwrapped to refer to member 'isEnabled' of wrapped base type 'AVCaptureConnection'
        captureVideoPreviewLayer?.connection.isEnabled = false
                                  ^
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:308:35: note: chain the optional using '?' to access member 'isEnabled' only for non-'nil' base values
        captureVideoPreviewLayer?.connection.isEnabled = false
                                  ^
                                            ?
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:308:35: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        captureVideoPreviewLayer?.connection.isEnabled = false
                                  ^
                                            !
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:317:35: error: value of optional type 'AVCaptureConnection?' must be unwrapped to refer to member 'isEnabled' of wrapped base type 'AVCaptureConnection'
        captureVideoPreviewLayer?.connection.isEnabled = true
                                  ^
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:317:35: note: chain the optional using '?' to access member 'isEnabled' only for non-'nil' base values
        captureVideoPreviewLayer?.connection.isEnabled = true
                                  ^
                                            ?
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:317:35: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        captureVideoPreviewLayer?.connection.isEnabled = true
                                  ^
                                            !
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:398:70: error: incorrect argument label in call (have 'forMediaType:', expected 'for:')
        let authorizationStatus = AVCaptureDevice.authorizationStatus(forMediaType: AVMediaTypeVideo);
                                                                     ^~~~~~~~~~~~~
                                                                      for
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:422:52: error: value of optional type 'AVCaptureConnection?' must be unwrapped to refer to member 'isEnabled' of wrapped base type 'AVCaptureConnection'
            previewing = captureVideoPreviewLayer!.connection.isEnabled
                                                   ^
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:422:52: note: chain the optional using '?' to access member 'isEnabled' only for non-'nil' base values
            previewing = captureVideoPreviewLayer!.connection.isEnabled
                                                   ^
                                                             ?
/Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift:422:52: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
            previewing = captureVideoPreviewLayer!.connection.isEnabled
                                                   ^
                                                             !

** BUILD FAILED **

The following build commands failed:
	CompileSwift normal x86_64 /Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift
	CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(2 failures)
xcodebuild: Command failed with exit code 65

If I delete this plugin from cordova and compile again it will work perfectly fine.
I'm using the last version available on NPM (3.0.1) of this plugin.

Same issue. unable to compile it with Qr-scanner plugin(3.0.1) and Xcode(10.2.1)

Same issue.
            if #available(iOS 8.0, *) {
               ^
/Users/bruce/Documents/work/esky/app/esky-cordova/platforms/ios/eTracking/Plugins/cordova-plugin-qrscanner/QRScanner.swift:470:9: note: enclosing scope here
        if #available(iOS 10.0, *) {
        ^
/Users/bruce/Documents/work/esky/app/esky-cordova/platforms/ios/eTracking/Plugins/cordova-plugin-qrscanner/QRScanner.swift:136:62: warning: 'devices(for:)' was deprecated in iOS 10.0: Use AVCaptureDeviceDiscoverySession instead.
                let availableVideoDevices =  AVCaptureDevice.devices(for: AVMediaType.video)
                                                             ^
/Users/bruce/Documents/work/esky/app/esky-cordova/platforms/ios/eTracking/Plugins/cordova-plugin-qrscanner/QRScanner.swift:471:63: error: 'openSettingsURLString' has been renamed to 'UIApplicationOpenSettingsURLString'
            guard let settingsUrl = URL(string: UIApplication.openSettingsURLString) else {
                                                              ^~~~~~~~~~~~~~~~~~~~~
                                                              UIApplicationOpenSettingsURLString
UIKit.UIApplication:64:22: note: 'openSettingsURLString' was introduced in Swift 4.2
    public class let openSettingsURLString: String
                     ^
/Users/bruce/Documents/work/esky/app/esky-cordova/platforms/ios/eTracking/Plugins/cordova-plugin-qrscanner/QRScanner.swift:484:74: error: 'openSettingsURLString' has been renamed to 'UIApplicationOpenSettingsURLString'
                UIApplication.shared.openURL(NSURL(string: UIApplication.openSettingsURLString)! as URL)
                                                                         ^~~~~~~~~~~~~~~~~~~~~
                                                                         UIApplicationOpenSettingsURLString
UIKit.UIApplication:64:22: note: 'openSettingsURLString' was introduced in Swift 4.2
    public class let openSettingsURLString: String

ev

Hi Bruce,
Please change  UIApplication.openSettingsURLString to be  UIApplicationOpenSettingsURLString
and add this part

inside
#238

Hello! Does anyone has a solution for this issue?

@lennihanjohn Thanks, man! It solves my issue.

Hello, it's official @lennihanjohn , using Phonegap  to build with this configure:
<gap:plugin name="cordova-plugin-qrscanner" source="npm" spec="3.01" />
It throws error:
The following build commands failed: 	CompileSwift normal x86_64 /Users/user/Documents/Mobile/platforms/ios/project/Plugins/cordova-plugin-qrscanner/QRScanner.swift 	CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler (2 failures) xcodebuild: Command failed with exit code 65
Does anyone has a solution for this issue?

@lennihanjohn I have tried your solution, but I still get the error. Here are my development settings
ionic: 5.0.2
cordova: 9.0.0
swift: 5.0.1
xcode : 10.2.1
macOS : 10.14.3
Could you help me?

The only thing that solved the issue on my case was to downgrade my xcode version, so I could generate the build without issues.
Xcode Version: 10.1

@marcelomiura,
I will try to downgrade the version of xcode tonight. If works, you will get a thumb up.

Who is the maintainer on this project?
Open the Plugins/cordova-plugin-qrscanner/QRScanner.swift file.
Replace lines 469-490 with:
@objc func openSettings(_ command: CDVInvokedUrlCommand) {         if #available(iOS 10.0, *) {             guard let settingsUrl = URL(string: UIApplicationOpenSettingsURLString) else {             return         }         if UIApplication.shared.canOpenURL(settingsUrl) {             UIApplication.shared.open(settingsUrl, completionHandler: { (success) in                 self.getStatus(command)             })         } else {             self.sendErrorCode(command: command, error: QRScannerError.open_settings_unavailable)             }         } else {             // pre iOS 10.0             if #available(iOS 8.0, *) {                 UIApplication.shared.openURL(NSURL(string: UIApplicationOpenSettingsURLString)! as URL)                 self.getStatus(command)             } else {                 self.sendErrorCode(command: command, error: QRScannerError.open_settings_unavailable)             }         }     }
The key thing is fixing those two references to openSettingsURLString that cause issues.

Plugins/cordova-plugin-qrscanner/QRScanner.swift:471:63: error: 'openSettingsURLString' has been renamed to 'UIApplicationOpenSettingsURLString'

You'll see the altered lines on 484, 471.

Have submitted pull request, https://github.com/bitpay/cordova-plugin-qrscanner/pull/271

I opened the xcode project manually and corrected the following code for QRScanner someone would have to add this into the repo to work correctly.  Note this is not that great of Swift it should not force unwrap like I'm doing here, much better way to write this, but it got me rolling again.

Where to put?

<preference ` name="UseSwiftLanguageVersion" value="5" />

Where to put?

<preference ` name="UseSwiftLanguageVersion" value="5" />

This can be put in your config.xml file at the root of your project. This file is generated by Cordova.
<preference name="SplashScreen" value="screen" />
<preference name="SplashScreenDelay" value="3000" />
<preference name="StatusBarOverlaysWebView" value="true" />
<preference name="UseSwiftLanguageVersion" value="5" />

The right way to write the preference is:

otherwise it was not working for me.
Cordova 9

Please, check this thread https://github.com/bitpay/cordova-plugin-qrscanner/issues/238#issuecomment-523886099

I tried to execute following steps.
 ionic cordova plugin rm cordova-plugin-qrscanner
 ionic cordova plugin add<EMAIL_ADDRESS> ionic cordova platform rm ios
 ionic cordova platform add ios@5
 ionic cordova build its

No errors on my side.

kcmatsuiweew  solution worked for me!


feat: RPC Network Update Order and Network Update Loop Registration

This update provides the ability to specify at what network update stage an RPC will be invoked on the receiver side.
This also provides a way for any class to register an Action with the network update loop.

Networking Manager only registers for the PreUpdate and Update stages and now derives from the UpdateLoopBehaviour class (used for MonoBehaviour dependent classes).
RpcQueueContainer (formally RpcQueueManager) now registers for all network loop update stages and now derives from the GenericUpdateLoopSystem (for generic classes that don't have MonoBehaviour or NetworkedBehaviour dependencies)
There is also a NetworkUpdateLoopBehaviour class that is a Network Update Loop aware NetworkedBehaviour.

This also provides the ability to enable or disable RPC Batching in the event there is a need to do this for some reason in the future.

Added HotFix for MessageBatching: using different writers for different SendStreams.

Added HotFix for MessageBatching: using different writers for different SendStreams.


Fix OntonotesNerSpanBuffer so that it is populated after NER is run

When BasicOntonotesNER.process is run the document attr OntonotesNerSpanBuffer is always empty because of a bug in how that class is defined.  This pull request provides a simple fix to the class definition of OntonotesNerSpanBuffer that is modeled directly on how a similar class, ConllNerSpanBuffer, in the same source file (NerTag.scala) is implemented.  I have included a simple test that illustrates the problem.  The line that is commented in that test will compile and create a test failure without the provided changes to src/main/scala.  As it is, it illustrates that the code works correctly with the bug fix.  I have also tested this separately on an end-to-end run of an NER annotator and verified that the contents of OntonotesNerSpanBuffer are correct.  This contribution is covered by Oracle's corporate contributor's agreement. Thanks, Philip
This pull request includes the changes from my previous pull request.  I will try to be more careful about that!

Thanks! See inline comments.

Yeah - it's a silly test.  I will remove it.  I got a little emotionally attached to it because it's what helped me realize what was going wrong. :)
I will make the requested style changes.


OrderDetailsService Consumer re-processes the last commited record on restart

Steps to reproduce.

start OrderService
java -cp target/kafka-streams-examples-4.0.0-standalone.jar io.confluent.examples.streams.microservices.OrderService
start OrderDetailsService
java -cp target/kafka-streams-examples-4.0.0-standalone.jar io.confluent.examples.streams.microservices.OrderDetailsService

Post Order (valid one with id=17) via http OrderService endpoint
You can see in logs that that OrderDetailsService consumer correctly processes the order and producer inserts it in order-validated topic (within the same transaction)

[2017-11-30 15:05:04,633] DEBUG [pool-1-thread-1] process order 17 and order state CREATED (io.confluent.examples.streams.microservices.OrderDetailsService)
[2017-11-30 15:05:04,636] DEBUG [pool-1-thread-1] produced validation record for order 17, status PASS (io.confluent.examples.streams.microservices.OrderDetailsService)

Kill OrderDetailsService

^C
[2017-11-30 15:05:16,705] INFO [Thread-0] stopping service; running false (io.confluent.examples.streams.microservices.OrderDetailsService)
[2017-11-30 15:05:17,709] INFO [Thread-0] OrderDetailsService was stopped (io.confluent.examples.streams.microservices.OrderDetailsService)

and start it again. You will see that the order 17 is reprocessed twice (for order CREATED and VALIDATED).

java -cp target/kafka-streams-examples-4.0.0-standalone.jar io.confluent.examples.streams.microservices.OrderDetailsService
[2017-11-30 15:05:19,387] INFO [main] Connecting to Kafka cluster via bootstrap servers localhost:9092 (io.confluent.examples.streams.microservices.util.MicroserviceUtils)
[2017-11-30 15:05:19,387] INFO [main] Connecting to Confluent schema registry at http://localhost:8081 (io.confluent.examples.streams.microservices.util.MicroserviceUtils)
[2017-11-30 15:05:19,895] DEBUG [pool-1-thread-1] Started OrderDetailsService consumer (io.confluent.examples.streams.microservices.OrderDetailsService)
[2017-11-30 15:05:19,922] DEBUG [pool-1-thread-1] startService : producer and consumer, running true (io.confluent.examples.streams.microservices.OrderDetailsService)
[2017-11-30 15:05:20,442] DEBUG [pool-1-thread-1] process order 17 and order state CREATED (io.confluent.examples.streams.microservices.OrderDetailsService)
[2017-11-30 15:05:20,502] DEBUG [pool-1-thread-1] produced validation record for order 17, status PASS (io.confluent.examples.streams.microservices.OrderDetailsService)
[2017-11-30 15:05:20,798] DEBUG [pool-1-thread-1] process order 17 and order state VALIDATED (io.confluent.examples.streams.microservices.OrderDetailsService)

Kill again OrderDetailsService

^C[2017-11-30 15:06:01,413] INFO [Thread-0] stopping service; running false (io.confluent.examples.streams.microservices.OrderDetailsService)
[2017-11-30 15:06:02,415] INFO [Thread-0] OrderDetailsService was stopped (io.confluent.examples.streams.microservices.OrderDetailsService)

And start it again. You will see that the order 17 is reprocessed three times (for order CREATED and 2 times for order VALIDATED).

localhost:order-microservices agaton$ java -cp target/kafka-streams-examples-4.0.0-standalone.jar io.confluent.examples.streams.microservices.OrderDetailsService
[2017-11-30 15:06:03,695] INFO [main] Connecting to Kafka cluster via bootstrap servers localhost:9092 (io.confluent.examples.streams.microservices.util.MicroserviceUtils)
[2017-11-30 15:06:03,696] INFO [main] Connecting to Confluent schema registry at http://localhost:8081 (io.confluent.examples.streams.microservices.util.MicroserviceUtils)
[2017-11-30 15:06:04,202] DEBUG [pool-1-thread-1] Started OrderDetailsService consumer (io.confluent.examples.streams.microservices.OrderDetailsService)
[2017-11-30 15:06:04,230] DEBUG [pool-1-thread-1] startService : producer and consumer, running true (io.confluent.examples.streams.microservices.OrderDetailsService)
[2017-11-30 15:06:04,743] DEBUG [pool-1-thread-1] process order 17 and order state CREATED (io.confluent.examples.streams.microservices.OrderDetailsService)
[2017-11-30 15:06:04,802] DEBUG [pool-1-thread-1] produced validation record for order 17, status PASS (io.confluent.examples.streams.microservices.OrderDetailsService)
[2017-11-30 15:06:04,802] DEBUG [pool-1-thread-1] process order 17 and order state VALIDATED (io.confluent.examples.streams.microservices.OrderDetailsService)
[2017-11-30 15:06:05,136] DEBUG [pool-1-thread-1] process order 17 and order state VALIDATED (io.confluent.examples.streams.microservices.OrderDetailsService)

Really don't understand what is going on.
Any idea?

cc @bbejeck

ack

Any update on this?

Fixed via: https://github.com/confluentinc/kafka-streams-examples/pull/47


It always with slight shaking on rotating

hi, when I use your code to rotate the main camera on mobile device, the rotation results are correct. but it always with slight shaking, no matter I change samplePeriod, beta or rotateSpeed. what parameter should I change? or is it just my device's problem ? Thanks!!
Unity Version : 2021.3.61f1
Device : Galaxy A32 5G
Android Version : 11

Maybe should use LateUpdate


Added GLFW_ACCELERATION window hint for hardware acceleration

Add GLFW_ACCELERATION window hint to specify whether hardware acceleration is preferred or not. Default to GLFW_TRUE, only available on WGL currently.
Add GLFW_ACCELERATION window attribute to retrieve whether hardware acceleration is enabled.
Supports creating window when the Microsoft GDI software OpenGL ICD is the only available implementation by default.

> glfwinfo --no-acceleration
...
OpenGL context version string: "1.1.0"
OpenGL context version parsed by GLFW: 1.1.0
OpenGL context renderer string: "GDI Generic"
OpenGL context vendor string: "Microsoft Corporation"
...

Resolves #589.

Most of this already existed on https://github.com/glfw/glfw/compare/context-renderer - there should be a pull based on that? Would have saved me some time for mine too (#2571 )

Linked from #589

This seems to be equivalent to the context-renderer branch (which uses --renderer=sw instead)? Anyway, that branch is now inclusive (after some adjustment of 7 years of bitrot) in my #2571 .


Loading saves between devices?

I've been trying to find a way to transfer and load saves between devices via cloud storage and symlinks, but to mostly no success.
In particular, I'm trying to create a save on my PC and load it on my Steam Deck, and vice versa. I've also tried this between two normal PC's.
The problem is that the file names that are read and written to appear to be different between devices, making the process pretty difficult. I would essentially have to create a symlink for each profile, for each gamemode.
Is there any way this process could be made easier?

Hi, now there is. Just added config to enable using Steam/Epic cloud storage.


Expose underlying certificate and private key from SiaIdentityProvider

Extend ServiceIdentityProvider interface with new methods.
Add class that bundles certificate with private key.
Use Path instead of File for better compatibility with mocked file system in unit tests.
FYI @vekterli

The last commit fixes the JSON serialization issue that was observed in CD yesterday. The description definitions were reverted, and cannot be reapplied until this commits is completely rolled out in main.

@tokle  PTAL


Remove Map from Jobs search results

Trello card URL

https://trello.com/c/DZ6fcfvw

Changes in this PR:
Removes the map displayed when a job search includes a search keyword and a location.
Screenshots of UI changes:
Before

After

Next steps:

[ ] Terraform deployment required?

[ ] New development configuration to be shared?

 Remove the map from the 'Jobs' page


fix(catalog-backend): add entity ref within errors

Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

What

add entity ref into error when catalog processor validations fail

Why
transform this
Policy check failed; caused by Error: "metadata.name" is not valid; expected a string that is sequences of [a-zA-Z0-9] separated by any of [-_.], at most 63 characters in total but found "somthing-". To learn more about catalog file format, visit: https://github.com/backstage/backstage/blob/master/docs/architecture-decisions/adr002-default-catalog-file-format.md

into
Policy check failed for ENTITY_REF ; caused by Error: "metadata.name" is not valid; expected a string that is sequences of [a-zA-Z0-9] separated by any of [-_.], at most 63 characters in total but found "somthing-". To learn more about catalog file format, visit: https://github.com/backstage/backstage/blob/master/docs/architecture-decisions/adr002-default-catalog-file-format.md

It helps fix issues faster

Bringing in @backstage/catalog-core here for a review too 👍


Distribute Load to containers running on more than one VM

To be able to get better performance, we have to deploy the containers to multiple VMs. This should be done without additional user interaction.

Can be done using the new arm template and the new script.


Enable tests that use the metastore

Specifically, impala tests that depend on a non Derby metastore and tests enabled by --hdfs.

@wesm I'm going to merge on pass.

:+1:


(CXXODM-17, CXXODM-40, CXXODM-41) Update builder

Added update operators to the query builder, as well as query operators that don't translate to C++ operators (e.g.$nin).
This pull request also includes CXXODM-40 (accessing child fields) and CXXODM-41 (support for optional types)

per in person conversation.  After the last couple of nits: lgtm

@hanumantmk nits have been fixed. @Machyne any comments?

🚢 !!


[Feature request] Would it be possible to add support for Codeium?

https://github.com/Exafunction/codeium.nvim

This is a copilot specific plugin not a general AI plugin so I am sorry but I do not think this is the project for that. Hope the best for your search or development.


Bookmark workspace

Bookmark current head of all repositories and store this in anthology.
This will be used later to restore given bookmark.

done


Automatic Casting v2

@jagi
I think we need to have a way to enable basic automatic casting as we had in v1. I know the argument here is that Astro is just an ODM and automatically casting leads to unknowable results and causes confusion but alot of times it's a real pain in the ass to write 50+ lines casting strings etc to their proper types. In alot of cases you can't have them come in the proper object notation.
What are your thoughts on this, If this is done separately what should it be? Should it be a module. This might be trivial but without having access to the old documentation I am not sure.
If you can give me a few pointers, i would be interested in writing this, maybe i could just port the old code from v1 to create a opt-in sort of module.
Let me know your thoughts.

It will be definitely a separate module not something that is a part of the core. It should be fairly simple to implement. Just need to get a field definition Class.getField() and check its type. It could be solved in form of a new document method like:
doc.fromForm(dataFromForm);

or something similar

+1 to this, especially painful for anybody migrating from v1 - lots of hidden little issues.
Possibly related, is astronomy v2 supposed to instantiate nested classes on .set?
For example, say we have an "Endpoint" class, which has property that is an array of "Response" classes. Is the following supposed to instantiate the new endpoint class, and also instantiate response classes inside of it?
var endpoint = new Endpoint();
endpoint.set(endpointProps); // endpointProps has the plan responses array of objects inside of it

// are endpoint.responses[0..n] each instantiated to their Response astronomy class?

Yes I know that it may be a problem. I will prepare simple module for that before release.

For which, the automatic casting of values, or the instantiation of child classes? For the second (automatic instantiation of child classes), I think that should probably be default behavior no?

For both. I don't know if it should be a default behavior. Because it will be inconsistent. I want direct assignment and set method to have the same behavior.

Hmm, yeah I can see the merit in keeping those to assignments equivalent.
However, compared to v1, it's really a pain to have to make sure we build up entire objects everywhere we use them, so that nested defaults etc are set correctly. Curious to hear what others think?

Another possible solution, to keep assignment and set the same, is that the constructor could take care of instantiating nested classes, when passed an initial object.
new Post({...rawPostObject}) // when passed into the constructor, nested classes are taken care of, etc

Hmmm maybe I could make an exception only for nested documents, when used with set and in construction phase. Ok, I will do that this way.

Casting for set method implemented. Preparing to release 2.0. Closing this issue.


change domain name to cognitive endpoint

change domain name to cognitive endpoint
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Communication.CallAutomation


Add a match_path option for comparison against a full path.

It has been noted in issue #363 that match & match_dir are
unwieldy when attempting to match against full paths.  For
unexample if you have A.py in directories B & C and you only
want to run pydocstyle on one of them.
From my own experience trying to deploy pydocstyle against a
large legacy codebase it is unworkable as it would mean the
entire codebase being converted as a big bang change.
This commit adds a new option, match_path, to the config &
command lines which can be used to provide more nuanced
matching.  For example the following specification:
match_path = [AB]/[ab].py
             D/e.py

This defines two regexes.  If either match a given path,
relative to the directory specified, the file will be yielded
for comparison.  The is complimentary to match & match_dir and
the three can be used together.
A test has been added to test_integration to test & illustrate the feature.
tox was run on Linux (Ubuntu under the subsystem for Windows) and all tests were successful.
Fixes #363

@heoga thank you so much for this PR! Sorry for the late review. Would it be possible for you to rebase this PR against the latest changes in the master branch?

Yes, I'll get it updated against the latest changes and see how it looks.

Any updates on this PR? It would help me a lot. Can I somehow help?


Reports not getting generated properly

Have asked this question on StackOverflow but didn't get any responses. Here's the link http://stackoverflow.com/questions/28536755/protractor-coverage-not-generating-report
Hope to find the workaround.
Thanks
@softvar

The link you provided doesn't appear to be relevant to this project. Feel free to reopen the ticket with a bit more explanation if I am mistaken.

Sorry @r3b , seems I copied the wrong url.
Please see the updated one: http://stackoverflow.com/questions/28536755/protractor-coverage-not-generating-report

I'm having the same issue.

Hi,
@softvar @TammyN Did you guys find a solution to this issue?
I am facing this issue too. Please let me know, if you managed to come up with any solution.

Hey @garimamathur16 Nope, I didn't get the response from anywhere and I didn't struggle much afterwards. It seems there's no active community to look deep into it, please let me know if you'll happen to find a solution somehow.

@softvar @garimamathur16 @TammyN, you might want to change the makeReport config in Gruntfile.js
Point the src to the directory where json file placed not "coverage/**/*.json"
Worked for me.


Removes reference to old asset management route, replaces with new.

@DanielJMaher Review please.

Looks right to me


[tailwind] fix for postcss-import throwing errors when doing @import

closing #2094

Codecov Report

Merging #2095 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #2095   +/-   ##
=======================================
  Coverage   95.54%   95.54%
=======================================
  Files          15       15
  Lines         966      966
=======================================
  Hits          923      923
  Misses         43       43

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7b7f3a1...292c02e. Read the comment docs.

This PR is making assumptions that you aren't already using Sass, Less, or Stylus and that you want to use postcss-import instead which I worry makes it unnecessarily opinionated. We wouldn't make this change to the official Tailwind docs that have the same example file for example.

All CSS in a standard nuxt project is run through PostCSS. Since the example doesn't setup Sass, Less or Stylus, I assume that it will run through PostCSS. Pretty sure I'm right on this one :)

All Tailwind projects run through PostCSS; that doesn't mean you aren't also using Less, Sass, or Stylus. We use Less for the Tailwind documentation for example, which outputs CSS, which is then fed through Tailwind using PostCSS.
Not every PostCSS user necessarily wants to use postcss-import at all which is why we didn't bake that right into Tailwind as a dependency.

@adamwathan wow ok. I thought the choice was all or nothing. Hmm at least the comments should inform PostCSS users, which will be everyone, that if they want to use postcss-import they have to split tailwind.css up into seperate .css files before it will work.
Not sure if I should close this PR and just add a better description in the tailwind.css comments.

This example code that's currently in the docs works perfectly fine without postcss-import for example:
/**
* This injects Tailwind's base styles, which is a combination of
* Normalize.css and some additional base styles.
*
* You can see the styles here:
* https://github.com/tailwindcss/tailwindcss/blob/master/css/preflight.css
*/
@tailwind preflight;

.btn { /* snip */ }
.form-input { /* snip */ }

/**
 * This injects all of Tailwind's utility classes, generated based on your
 * config file.
 */
@tailwind utilities;

.bg-pattern-graph-paper { /* snip */ }
.skew-45 { /* snip */ }

That's the only code we promise will work without a preprocessor; if you want to process @import statement in a preprocessor-like fashion using PostCSS, you can choose to add postcss-import to your build chain.
@import statements are totally valid in CSS as is (as long as they come first like the spec suggests); they don't always have to be inlined.
You can read more about the rules here:
https://developer.mozilla.org/en-US/docs/Web/CSS/%40import
The @import statements are preserved in the output normally, and the browser will make separate HTTP requests to fetch any files that are imported.

So to be clear the reason I think it's a bad default to include postcss-import is because you take away the choice of whether or not to inline those imports from the user. If you add that plugin, you can't do a normal CSS import that does a separate HTTP request anymore.

Thanks for clarifying. I think the following is very confusing:
* Or if using a preprocessor:
*
* @import "components/buttons";
* @import "components/forms";
*/

Since PostCSS is a transpiler, which makes it a preprocessor in my book, not writing how to use PostCSS with tailwinds is very confusing. Can we agree to a different wording?

I've updated our docs to mention that you need to import @tailwind calls from separate files if using postcss-import:
https://github.com/tailwindcss/tailwindcss/commit/4cf2cfa649c9988ca169f3d516491a5f30bcc979
This is really a postcss-import conversation though; it's not about "how to use Tailwind with PostCSS", it's about "how to inline import statements with PostCSS", to which the answer is postcss-import, and that plugin happens to be strict about the CSS spec so you can't just put imports anywhere you want, they have to be at the top of the file.
Folks have been discussing this exact error with that plugin long before Tailwind even existed 😊
https://github.com/postcss/postcss-import/issues/257

Thank you!
Just one question, why have you to switched to @@ prefixes? I'm unaware of the syntax.

The templating language we use for the documentation uses @ to denote some of it's features, so we need to escape it with an extra @. It doesn't appear in the output:

@adamwathan Thank you for being so attending. I have imported your comments into PR #2096

Not sure that postcss.config.js is optimal for a nuxt project. It's hard to read the default postcss configuration since style-loader.js has a vastly different structure.


Add NSHipster/swift-log-github-actions to list of backends

Updates the list of SwiftLog backend implementations to include swift-log-github-actions.
Motivation:
In the development of SwiftDoc and other libraries, I've made extensive use of GitHub Actions for CI/CD. When executing Swift code in this context, I wanted an easy way to opt-in to workflow commands, which, for example, allow errors to be surfaced in GitHub's UI like this:

I thought that this functionality might be useful for anyone else developing on GitHub's infrastructure, and wanted to share it here for greater visibility.
Modifications:
Appended NSHipster/swift-log-github-actions to the list of implementations in the README.
Result:
This PR makes no changes to code, just the README.

@swift-server-bot  test the please

thanks @mattt could you please rebase on master, for whatever reason GitHub won't let me do that myself

@tomerd Done! (I thought clicking the Update this branch button on GitHub would do the trick, but it used a merge commit instead of rebasing. I rebased locally and force-pushed to my fork, which should resolve things.)

@swift-server-bot test this please


Fix #104: Crop background

When you put a background image to your view, it is streched to fit screen
dimension. With this patch, image is cropped to keep the aspect ratio.
Please @gliechtenstein, can you check the behavior on IPhone to be sure it's the same.
It's my first contribution to Jasonette, so don't hesitate to tell me if I do it wrong.

This pull request fix #104

@realitix Thanks for the PR! It works like a charm, but trying a gif image ends up with a blank. Do you think you could try to get it to work? thanks!

Indeed I didn't try with a gif, my bad! I will take a look tomorrow.

thanks!

After few tries. I noticed that it works but it's very long.
I think that glide resizes the gif for each frame which explains why it's so long.
When I restart the APP, it's very fast, so glide must have a cache.
When the gif is in background, animation is not played, I will check with a single frame gif but it should be fast. It's useless to put a multi-frame gif to the body background. (Unless animation plays for you ?)
Can you retry and wait 1 minute (it depends on the gif size and frame number) ?
I wait for your comment @gliechtenstein

Yes I think Glide does something like that.
That said, if you try switching to develop branch and try to render the same gif, it does display the gif (although we still have a problem of it only displaying the first frame)
I have played around with various configurations, and looks like it works if you use the default suggested approach of using asGif(), which JasonImageComponent but not when you try to run any sort of manipulation on it and then try to render.
Fortunately most images on Jasonette are rendered through JasonImageComponent so I think the only places we have problem are:

body.background
using data-uri to render gif

Maybe we should really try out Glide4?

I will try updating to Glide4 but I'm not sure that API is compatible. We'll see!

@gliechtenstein It this pull request working for you ?
From my point of view. Glide migration is another subject.

@realitix I agree we can separate out glide migration but this fix still breaks what wasn't broken before.
Is Gif working at all for you? At least in my case, the previous version used to show the gif even if it was freeze frame, but this fix doesn't show a gif at all. it's just a blank white screen.

You can try this https://jasonbase.com/things/o2Kw
It's just a simple view with background:
{
  "$jason": {
    "head": {
      "title": "background test"
    },
    "body": {
      "style": {
        "background": "https://lumiere-a.akamaihd.net/v1/images/smile_-_pooh_b9b622d6.gif"
      }
    }
  }
}

Ok @gliechtenstein.

On my android emulator (fast x86), it works (gif is loaded in 30 seconds).
On my samsung A5: I waited for 20 minutes but white screen. I saw each 4 minutes Called reconfigure on a bitmap that is in use! This may cause graphical corruption! in log. So maybe it's working but it's too long to be usable anyway.

Can you describe me the behavior of a gif background on IPhone ? Is it freezed or is it moving ?
Is it cropped or streched ?

I just borrowed an Iphone and with IOs it works like expected...
Gif plays and image is cropped.
I'm looking for a solution.

@gliechtenstein Can you try again ?
It's now fully working with animation support.
Background image is now displayed inside an ImageView.

@realitix I just tried this but still getting the problem. In fact it's both stretched and non-animated :(

👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏
It works! Thanks so much for this! 🙌

Nice !


If I use text-align:justify the short phrases are bad.

If I use text-align:justify, short sentences (for example a short list) are written like this:
- This                    is                               the                short                            phrase;

How to fix?

That's just how Word works sometimes with justified text, it will depend on your content. Try adding a new line or something after your sentence.
I added your sentence in a justified and it looked fine

No Cristina, now you're wrong. Because if I select that phrase in my Word document and then click on the justify button it justify it good, without spaces. How to? There are two types of justify?

How does your html look like?

It looks good. Without spaces.

syntax wise :) (share the html so that I can help)


Cv option

Description

suppress shuffle and n_splits parameters
introduce the cv parameters
reduce number of valid methods by redundancy of cv
update documentation
update unit tests

Type of change
Please check options that are relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Not tested yet, but many unit tests are impacted and updated.
Checklist:

[x] I have read the contributing guidelines
[ ] I have updated the HISTORY.rst and AUTHORS.rst files
[ ] Linting passes successfully : flake8 . --exclude=doc
[ ] Typing passes successfully : mypy mapie examples --strict --config-file mypy.ini
[ ] Unit tests pass successfully : pytest -vs --doctest-modules mapie
[ ] Coverage is 100% : pytest -vs --doctest-modules --cov-branch --cov=mapie --pyargs mapie
[ ] Documentation builds successfully : cd doc; make clean; make html

Hello @gmartinonQM! Thanks for opening this PR.

In the file mapie/tests/test_estimators.py:

Line 14:1: F401 'sklearn.base.RegressorMixin' imported but unused
Line 193:36: F821 undefined name 'all_methods'
Line 202:36: F821 undefined name 'jackknife_methods'
Line 202:56: F821 undefined name 'cv_methods'
Line 211:36: F821 undefined name 'cv_methods'
Line 227:36: F821 undefined name 'all_methods'
Line 250:36: F821 undefined name 'all_methods'
Line 259:54: F821 undefined name 'expected_widths'
Line 260:69: F821 undefined name 'expected_coverages'

Do see the Hitchhiker's guide to code style


Democracy weight

related to https://github.com/paritytech/substrate/issues/5596
DONE:
all weigh except on_initialize are done and reviewable
TODO:

[x] use new benchmark results
[x] wait for result of additional benchmarks: https://github.com/paritytech/substrate/pull/5897
[x] maybe refund some extrinsic (but this can be done in additional PR.) (see delegate extrinsics)
[x] polkadot PR: https://github.com/paritytech/polkadot/pull/1076
[x] fix some test in substrate

Most weight are done and reviewable

@jacogr
This change the transactions:

propose
second
reap_preimage

they all have on additional argument which is an upper bound on some on chain values

to anwser https://github.com/paritytech/substrate/pull/5828#discussion_r423056415
I tried figuring this out in this branch https://github.com/paritytech/substrate/compare/gui-democracy-weight...gui-democracy-weight-benchmark-o_p?expand=1
why the cost of propose is so much related to the number of proposal, because actually it does no computation in the runtime which cost O(P).
This branch result are weird:

for propose_light: Time ~=    7.945  + p  *0.114 µs
for propose_light_different_init: Time ~=    6.183 + p*0.008 µs

So the factor is 10 times different dependings on how the benchmark has been initialized.

So I changed propose to O(1).

configurable max vetoers removed in favor of a large constant upper bound.

bot merge


User request: Improve the way multiple eval digits are displayed

When more evaluation digits are enabled, the number of digits should stay constant, i.e. 2.20 should not be shown as 2.2

Implemented in v2.3.150


feat(python): Python sample application for e2e testing

Testing the e2e with a sample python app

Please squash/interactive rebase this PR into a single commit.


Update sbt-mdoc to 2.1.3

Updates org.scalameta:sbt-mdoc from 2.1.1 to 2.1.3.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "sbt-mdoc" } ]

labels: sbt-plugin-update, semver-patch

Codecov Report

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

@@          Coverage Diff          @@
##           master    #53   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          17     17
  Lines          90     90
=====================================
  Hits           90     90

Flag
Coverage Δ

#unittests
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 60fad53...d9f8183. Read the comment docs.


Be flexible with Route53 Hosted Zone IDs with /hostedzone/ prefix

We will continue to store just the unique ID, but since the AWS API
returns /hostedzone/<id>, we should accept attempts to pass that back.
For example, both just the ID as well as /hostedzone/<id> work for
specifying the HostedZoneId of a ResourceRecordSet in CloudFormation. So
we should support that too.
Signed-off-by: Scott Greene<EMAIL_ADDRESS>

Coverage decreased (-13.8%) to 79.633% when pulling 6346e44c9d83d83ac26a88178b9dba0d2157411a on 2rs2ts:flexible-route53-hostedzoneid-lookup into b81e427b996a49790492b5e377ce3e6b3dfa406f on spulec:master.

I'm not sure why the build is failing with DnsServerErrors. On my local machine the errors happen too but they are sporadic. I never get the same set of failures. Sometimes I get none.

@spulec Can you help me figure out why these tests are failing? I'm not sure why it would happen, but I'm starting to believe moto has race conditions in it because my tests in my own projects are intermittently failing when trying to look up hosted zones. Seems like a race condition. If you can't think of a reason why I'll try to make a minimal reproducible example...

Coverage increased (+0.02%) to 93.487% when pulling f2b7ba03b4cd8d46621dafbe4da98a69c1b775ee on 2rs2ts:flexible-route53-hostedzoneid-lookup into b81e427b996a49790492b5e377ce3e6b3dfa406f on spulec:master.

Coverage increased (+0.02%) to 93.487% when pulling f2b7ba03b4cd8d46621dafbe4da98a69c1b775ee on 2rs2ts:flexible-route53-hostedzoneid-lookup into b81e427b996a49790492b5e377ce3e6b3dfa406f on spulec:master.

Coverage increased (+0.02%) to 93.487% when pulling f2b7ba03b4cd8d46621dafbe4da98a69c1b775ee on 2rs2ts:flexible-route53-hostedzoneid-lookup into b81e427b996a49790492b5e377ce3e6b3dfa406f on spulec:master.

Looks great, thanks!


Proposed 0.33.0-b6

Current coverage is 71.58% (diff: 97.05%)

Merging #1819 into develop will increase coverage by 0.29%

@@            develop      #1819   diff @@
==========================================
  Files           871        871
  Lines         69944      69787   -157
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits          49866      49959    +93
+ Misses        20078      19828   -250
  Partials          0          0

Powered by Codecov. Last update d8b85c0...68e123a