Translate meeting types legend

Meeting types legend is output in English, regardless of language chosen.

@Hiro-Toko
I am working on enabling Japanese translation for this service and need a Japanese meeting feed (json, like what would be used for tsml-ui). Would you have a public one I could use to ensure things work properly?

@anchovie91471
Thank you for reaching me out.
Please explain more detail for this.
Like this? This is like a part of guideline for Japanese service entity and members.
https://lavish-wedge-66e.notion.site/86858694221542abb72ee4743933ff60?v=bddd79da42b2408c95e8bf3919915477&pvs=4

@Hiro-Tokyo, I apologize, I thought I had responded.
This was very helpful in working on fully translating the PDF generator.
In the next update, All the text in the PDF should now generate in Japanese. I appreciate your help with it!


✅ Complete actions for OptionsHandler

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (9cb4fea) 79.82% compared to head (1dc47b2) 79.82%.

Files
Patch %
Lines

src/ClarityMarkets.sol
0.00%
1 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #28   +/-   ##
=======================================
  Coverage   79.82%   79.82%
=======================================
  Files          10       10
  Lines         466      466
  Branches      102      102
=======================================
  Hits          372      372
  Misses         75       75
  Partials       19       19

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


support Kubernetes 1.25 + Ginkgo v2

Kubernetes 1.25 is switching to Ginkgo v2 for the e2e.test suite.
This has two implications:

we must built a matching ginkgo binary because communication
between the ginkgo binary and library changed, affecting for
example running of parallel tests: this is done by using the
Kubernetes make rules to build the binary when using the Kubernetes
e2e.test suite
the ginkgo v2 JUnit file is slightly different: filter-junit.go
now first tries the old format, then the new one

I verified locally that this works with Kubernetes master.

/release-note-none

/lgtm
/approve


Account refresh is not working.

https://github.com/bithyve/bitcointribe/assets/62699947/34a5ff7d-8723-4a21-8945-f6cb8ede0d61

I have sent some amount to test account n checking account but both the accounts are not showing the transaction. I pull down to refresh the account screen but nothing is showing up.
Tested on Tribe app v 2.1.8(573)

Verified this issue on dev app v 2.2.4(599)


feat: allow multiple KMS keys to create CMEK database/backup

Add kms_key_names field to create database/create backup code snippets.

Samples are missing Integration tests . Please add corresponding integration test for these samples.

@surbhigarg92 , Added integration tests. I have ran my test using 'span-cloud-testing' project and it passed. When you have approved the merge request and kokoro presubmit uses a different project, test cases will fail. Then, I will leave a todo and skip the test.

Had an offline discussion with @hwin16 . We will remove skipping tests and the PR will fail.
We will merge this once the backend is ready.


Updating python versions on travis

Codecov Report

Merging #60 (7482a5d) into development (da24ec6) will increase coverage by 1.19%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           development      #60      +/-   ##
===============================================
+ Coverage        62.85%   64.05%   +1.19%
===============================================
  Files                8        8
  Lines             1217     1338     +121
===============================================
+ Hits               765      857      +92
- Misses             452      481      +29

Impacted Files
Coverage Δ

ebmlite/util.py
68.91% <0.00%> (+4.51%)
: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 da24ec6...7482a5d. Read the comment docs.


Adding the AOSP9

Adding the AOSP9 ArtMethod.

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


Functions.createNewWorkspace fails with exception ModuleNotFoundError: No module named 'azure.identity'.

Describe the bug
When running an end-to-end request in the shared dev environment, the createNewWorkspace function fails to process the messages from the new workspace queue, causing the messages to be sent to dead-letters and no workspace is created as a restult.
Reviewing the app insights logs for the execution reveals error message:
2021-06-29 10:12:51.450
Result: Failure Exception: ModuleNotFoundError: No module named 'azure.identity'. Troubleshooting Guide: https://aka.ms/functions-modulenotfound Stack: File "/azure-functions-host/workers/python/3.6/LINUX/X64/azure_functions_worker/dispatcher.py", line 305, in _handle__function_load_request func_request.metadata.entry_point) File "/azure-functions-host/workers/python/3.6/LINUX/X64/azure_functions_worker/utils/wrappers.py", line 42, in call raise extend_exception_message(e, message) File "/azure-functions-host/workers/python/3.6/LINUX/X64/azure_functions_worker/utils/wrappers.py", line 40, in call return func(*args, **kwargs) File "/azure-functions-host/workers/python/3.6/LINUX/X64/azure_functions_worker/loader.py", line 83, in load_function mod = importlib.import_module(fullmodname) File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/home/site/wwwroot/createNewWorkspace/__init__.py", line 6, in <module> from shared.cnab_builder import CNABBuilder File "/home/site/wwwroot/shared/cnab_builder.py", line 18, in <module> from shared.azure_identity_credential_adapter import AzureIdentityCredentialAdapter File "/home/site/wwwroot/shared/azure_identity_credential_adapter.py", line 15, in <module> from azure.identity import DefaultAzureCredential
Error
2021-06-29 10:12:51.450
Executed 'Functions.createNewWorkspace' (Failed, Id=37f38831-a64d-472f-bf45-16e1d6f75a2c, Duration=6ms)
Error

Might be resolved by #374

Yes  @christoferlof looks like resolved in https://github.com/microsoft/AzureTRE/pull/374

Tested and working in the dev environment. @sachinkundu @christoferlof I will close the issue.


Error thrown when re-starting kernel

Description
What steps will reproduce the problem?

In the hamburg menu of the interpreter press "Restart kernel"

Traceback
  File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder/plugins/ipythonconsole/widgets/client.py", line 642, in _restart_thread_main
    self.shellwidget.kernel_manager.restart_kernel(
  File "jupyter_client/manager.pyc", line 454, in restart_kernel
  File "jupyter_client/manager.pyc", line 314, in start_kernel
  File "qtconsole/manager.pyc", line 57, in post_start_kernel
  File "jupyter_client/manager.pyc", line 295, in post_start_kernel
  File "jupyter_client/manager.pyc", line 228, in _connect_control_socket
  File "jupyter_client/connect.pyc", line 545, in _create_connected_socket
  File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/zmq/sugar/context.py", line 234, in socket
    raise ZMQError(ENOTSUP)
zmq.error.ZMQError: Operation not supported
Traceback (most recent call last):
  File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder/plugins/ipythonconsole/widgets/client.py", line 629, in <lambda>
    lambda: self._finalise_restart(True))
  File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder/plugins/ipythonconsole/widgets/client.py", line 664, in _finalise_restart
    sw.spyder_kernel_comm.open_comm(sw.kernel_client)
  File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder/plugins/ipythonconsole/comms/kernelcomm.py", line 135, in open_comm
    kernel_client.comm_manager.new_comm(self._comm_name, data={
AttributeError: 'NoneType' object has no attribute 'new_comm'

Versions

Spyder version: 4.2.2
Python version: 3.9.1
Qt version: 5.12.10
PyQt5 version: 5.12.3
Operating System: Darwin 20.3.0

Dependencies

# Mandatory:
applaunchservices >=0.1.7       :  0.2.1 (OK)
atomicwrites >=1.2.0            :  1.4.0 (OK)
chardet >=2.0.0                 :  4.0.0 (OK)
cloudpickle >=0.5.0             :  1.6.0 (OK)
diff_match_patch >=20181111     :  20200713 (OK)
intervaltree >=3.0.2            :  3.1.0 (OK)
IPython >=7.6.0                 :  7.20.0 (OK)
jedi =0.17.2                    :  0.17.2 (OK)
jsonschema >=3.2.0              :  3.2.0 (OK)
keyring >=17.0.0                :  22.0.1 (OK)
nbconvert >=4.0                 :  6.0.7 (OK)
numpydoc >=0.6.0                :  1.1.0 (OK)
parso =0.7.0                    :  0.7.0 (OK)
pexpect >=4.4.0                 :  4.8.0 (OK)
pickleshare >=0.4               :  0.7.5 (OK)
psutil >=5.3                    :  5.8.0 (OK)
pygments >=2.0                  :  2.8.0 (OK)
pylint >=1.0                    :  2.7.0 (OK)
pyls >=0.36.2;<1.0.0            :  0.36.2 (OK)
pyls_black >=0.4.6              :  0.4.6 (OK)
pyls_spyder >=0.3.2             :  0.3.2 (OK)
qdarkstyle >=2.8                :  2.8.1 (OK)
qtawesome >=0.5.7               :  1.0.2 (OK)
qtconsole >=5.0.1               :  5.0.2 (OK)
qtpy >=1.5.0                    :  1.9.0 (OK)
setuptools >=39.0.0             :  52.0.0 (OK)
sphinx >=0.6.6                  :  3.5.1 (OK)
spyder_kernels >=1.10.2;<1.11.0 :  1.10.2 (OK)
textdistance >=4.2.0            :  4.2.1 (OK)
three_merge >=0.1.1             :  0.1.1 (OK)
watchdog >=0.10.3;<2.0.0        :  1.0.2 (OK)
zmq >=17                        :  22.0.3 (OK)

# Optional:
cython >=0.21                   :  0.29.22 (OK)
matplotlib >=2.0.0              :  3.3.4 (OK)
numpy >=1.7                     :  1.20.1 (OK)
pandas >=1.1.1                  :  1.2.2 (OK)
scipy >=0.17.0                  :  1.6.1 (OK)
sympy >=0.7.3                   :  1.7.1 (OK)

@b-a0, thanks for reporting. Did you connect Spyder to a kernel in another environment?

Yes, I tried to restart the kernel just after switching the environment with "Change default environment in Preferences"

Ok, thanks for the update.
@mrclary, can you reproduce this error?

@b-a0 and @ccordoba12, I cannot reproduce this error. I've tried with internal Python interpreter, external pyenv interpreter, and external conda interpreter. I've tried using the console menu as well as the keyboard shortcut. All attempts have successfully restarted the kernel.
I did notice one issue that does not seem to be related. When I started with an internal interpreter, changed to external conda interpreter in the preferences, but restarted the kernel before closing the internal interpreter IPython Console, I did get
Fatal Python error: initfsencoding: unable to load the file system codec
ModuleNotFoundError: No module named 'encodings'

Current thread 0x0000000112c04dc0 (most recent call first):
Fatal Python error: initfsencoding: unable to load the file system codec
ModuleNotFoundError: No module named 'encodings'

Current thread 0x000000010aacadc0 (most recent call first):
/Users/rclary/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder/plugins/ipythonconsole/scripts/conda‑activate.sh: line 14: 6136 Abort trap: 6 $CONDA_ENV_PYTHON ‑m spyder_kernels.console ‑f $SPYDER_KERNEL_SPEC

However, this was quickly remedied by closing the Console tab. This seems to be unrelated to the OP, and is an idiosyncrasy of restarting the kernel under these precise conditions that I stumbled upon.

@b-a0, are you on Big Sur?
Can you clarify under which of the following conditions the error occurs?
Option 1

IPython Console running with environment "A"
Environment "A" selected in Preferences
Restart the kernel.

Option 2

IPython Console running with environment "A"
Environment "B" selected in Preferences
Restart the kernel

Option 3

IPython Console running with environment "A"
Environment "B" selected in Preferences
Close all console tabs (a new tab in environment "B" should open)
Restart the kernel

Can you post the environment(s) that you are using for the IPython Console?

I have not been able to reproduce this issue on Big Sur either

Thanks for looking into this.
Yes, I'm on Big Sur (11.2.1 at the time of this issue, now on 11.2.2).
I've tried out the different options from this comment, restarting Spyder in between my tries, but can no longer reproduce this issue. Hence I'm closing it.

@b-a0 I'm glad it's working for you now. If the issue resurfaces, please reopen the issue with any new information.


Can we get some behavioral characteristics documented for this table?

How does this table behave?
Can records be updated once in? Or is it only inserts and drops (past retention date)?
How long is the retention?
Are currently running/tracked in play?
How often is it updated?
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 1ec16159-797c-9c71-b4c0-3bbc9a7f646b
Version Independent ID: 1ec16159-797c-9c71-b4c0-3bbc9a7f646b
Content: Billable usage system table reference - Azure Databricks
Content Source: databricks/administration-guide/system-tables/billing.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

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

Hi @railerb
The table described in the Azure Databricks Administration Guide for system tables under the "Billing" section is a system table that tracks the usage and billing information for Azure Databricks workspaces. Here are the answers to your questions:

Records in the table cannot be updated once they are inserted. The table only supports inserts and drops.
The retention period for the table is 60 days. After 60 days, the records in the table are automatically dropped.
The table tracks currently running and tracked usage for Azure Databricks workspaces.
The table is updated in near real-time as usage data is generated by Azure Databricks workspaces.

Note that the table is intended for billing and usage tracking purposes only and should not be used for other purposes. Additionally, the table is subject to the Azure Databricks privacy policy and data retention policies.
If there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

Thank you.
I do need some clarification.
You said both the below.

Records cannot be updated once inserted...
The table tracks currently running and tracked usage...

How are records only inserted for currently running clusters/warehouses?

@railerb
I apologize for the confusion. Let me clarify. The table mentioned in the document tracks currently running and tracked usage. The records in this table are inserted for currently running clusters/warehouses and tracked usage. The tracked usage is the usage that has already occurred and is not currently running. The usage is segmented based on the cluster/warehouse and the time period. Once the usage is tracked, it cannot be updated. I hope this helps.

@railerb
We are going to close this thread, if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.
#Please-close


[SPARK-21219][CORE] Task retry occurs on same executor due to race co…

…ndition with blacklisting
There's a race condition in the current TaskSetManager where a failed task is added for retry (addPendingTask), and can asynchronously be assigned to an executor prior to the blacklist state (updateBlacklistForFailedTask), the result is the task might re-execute on the same executor.  This is particularly problematic if the executor is shutting down since the retry task immediately becomes a lost task (ExecutorLostFailure).  Another side effect is that the actual failure reason gets obscured by the retry task which never actually executed.  There are sample logs showing the issue in the https://issues.apache.org/jira/browse/SPARK-21219
The fix is to change the ordering of the addPendingTask and updatingBlackListForFailedTask calls in TaskSetManager.handleFailedTask
Implemented a unit test that verifies the task is black listed before it is added to the pending task.  Ran the unit test without the fix and it fails.  Ran the unit test with the fix and it passes.
Please review http://spark.apache.org/contributing.html before opening a pull request.
Author: Eric Vandenberg<EMAIL_ADDRESS>Closes #18427 from ericvandenbergfb/blacklistFix.
What changes were proposed in this pull request?
This is a backport of the fix to SPARK-21219, already checked in as 96d58f2.
How was this patch tested?
Ran TaskSetManagerSuite tests locally.

Can one of the admins verify this patch?

Do we want to backport this to 2.2? @cloud-fan

ok to test

I don't see why we shouldn't backport a fix to 2.2.

Test build #79545 has started for PR 18604 at commit 2ea00a5.

Test build #79545 has finished for PR 18604 at commit 2ea00a5.

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

Merged build finished. Test PASSed.

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

My preference is to backport this and other blacklisting related fixes as far back as possible on Spark2 - meaning 2.1 and 2.0 as well, unless convinced otherwise. So, yes, @cloud-fan, I hope we do backport this!

merging to 2.2!

@jsoltren please close, this was merged but PRs to branches are not closed automatically.

👍


refactor(mempool): add method TryAddTx to reactor

Closes #3296

PR checklist

[X] Tests written/updated
[ ] Changelog entry added in .changelog (we use unclog to manage our changelog)
[ ] Updated relevant documentation (docs/ or spec/) and code comments
[X] Title follows the Conventional Commits spec

https://github.com/cometbft/cometbft/issues/3296#issuecomment-2205469441


Recovery

Recovery has been having a lot of conversations about their plan; for a lot of those, they expect avionics will do something. Until things get more fleshed out and we can make specific issues, this is a place to track information about the avionics integration with the recovery system.

Recovery meeting 2022/10/05

Tried (kinda) got a guarantee that if the nosecone is ejected, it will be entirely passive - no electronics in nosecone.
Reefing cutters will be totally independent of avionics systems (will support development)
RCS

Talk about a 2 axis RCS control system, where the pitch control is entirely pre-calculated.


Broadcast are stuck whilst running performance testing against 1.3.0-rc1

As part of https://github.com/hyperledger/firefly/issues/1470, I've noticed that the broadcast where not getting confirmed or just stuck.
I ran a first test and this first screenshot already shows something odd from  577e8c47680c6230209a74829921a9c427766af8:

The pending graph is negative, so we have more confirmed than sent odd.
I then pulled down 1.3.0-rc1 and run another test to see

It just gets stuck and again more confirmed than submitted.. I opened up the UI and all the broadcast messages were stuck in Pending but the private message were going through.
Digged into the logs and found the following:
[2024-03-27T15:05:42.508Z] DEBUG Pin<PHONE_NUMBER> batch unavailable: batch=2b81fa92-4bbe-4129-9b2f-0eaa6f0d971f pinIndex=0 hash=37a8eec1ce19687d132fe29051dca629d164e2c4958ba141d5f4133a33f0688f masked=false dbtx=BSehIPrl ns=default pid=1 role=aggregator

and
[2024-03-27T15:05:42.698Z] DEBUG Message b350b174-2d02-447d-9d65-0da0ce655860 pinned at sequence 173 blocked by earlier context 37a8eec1ce19687d132fe29051dca629d164e2c4958ba141d5f4133a33f0688f at sequence 166 dbtx=ZzYFZpfK ns=default pid=1 role=aggregator

Clearly there is a Batch that is stuck somewhere, I then traversed more logs and found:
[2024-03-27T15:05:03.388Z] DEBUG Pin<PHONE_NUMBER> batch unavailable: batch=08457241-5137-4ec6-bdd9-44a84b825810 pinIndex=0 hash=aeaccb6cb5744020c5d9988e99d55a3df1c3e25f647a8a31ab3feeaa56edc3d7 masked=false dbtx=HzZm9RND ns=default pid=1 role=aggregator

Unfortunately I cleared the above run, and ran the same commit of 1.3.0-rc1 and got the same problem, but found some news logs
[2024-03-27T17:32:54.440Z]  INFO -> BatchPinComplete batch=14c83d3e-3ba0-4e07-9d8c-88b0181e2e9f txn=000000000521/000000/000000 signingIdentity=0x11d2e10b90312f378b5925b2241fa06e68338706 dbtx=5W3OnAw0 ns=default pid=1 role=event-manager
[2024-03-27T17:32:54.441Z] DEBUG SQL<- query transactions (0.45ms) dbtx=5W3OnAw0 ns=default pid=1 role=event-manager
[2024-03-27T17:32:54.441Z] DEBUG Transaction '523d0362-0852-4d30-8073-b4d24b5d406e' not found dbtx=5W3OnAw0 ns=default pid=1 role=event-manager
[2024-03-27T17:32:54.442Z] DEBUG SQL<- insert transactions sequences=[9] (0.43ms) dbtx=5W3OnAw0 ns=default pid=1 role=event-manager
[2024-03-27T17:32:54.442Z]  INFO <- BatchPinComplete batch=14c83d3e-3ba0-4e07-9d8c-88b0181e2e9f txn=000000000521/000000/000000 signingIdentity=0x11d2e10b90312f378b5925b2241fa06e68338706 dbtx=5W3OnAw0 ns=default pid=1 role=event-manager
[2024-03-27T17:32:54.446Z] DEBUG SQL<- insert blockchainevents sequences=[49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69] (2.54ms) dbtx=5W3OnAw0 ns=default pid=1 role=event-manager
[2024-03-27T17:32:54.450Z] DEBUG SQL<- insert pins sequences=[264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340] (2.33ms) dbtx=5W3OnAw0 ns=default pid=1 role=event-manager
[2024-03-27T17:32:54.451Z] DEBUG SQL<- query batches (0.55ms) dbtx=5W3OnAw0 ns=default pid=1 role=event-manager
[2024-03-27T17:32:54.451Z] DEBUG Batch '14c83d3e-3ba0-4e07-9d8c-88b0181e2e9f' not found dbtx=5W3OnAw0 ns=default pid=1 role=event-manager

Two things that I then investigated:

Looked in the Postgres DB and the batch was there, so that not found could have been at creation? not sure...
I seem to notice that the Batch Pin event has less contexts than the amount of Pins associated to that BatchPin. I think this is where I would explore next!

Fixed by creating a token pool correctly in the Firefly Performance CLI https://github.com/hyperledger/firefly-perf-cli/pull/79

Actually fixed by https://github.com/hyperledger/firefly-transaction-manager/pull/116


Update CONTRIBUTING.md

Adding to CONTRIBUTING.md guidance on how PRs should be handled by contributors and maintainers.

This looks effective, particularly emphasis on clean history and presenting changes clearly.

I think what's been added makes sense. Looking at another open source project for reference, I have a few thoughts thought, not necessarily to do with the specific changes you made.

"If this is not a trivial fix, consider creating an issue to discuss first and later link to it from the PR." I think this would be a good policy, to make development more visible.
Moving the testing section to the top, to match the flow of development
Elaborating on the testing section -- I think mentioning what the Github Actions do, and how you can run them on your local machine, would be helpful too. Something worth mentioning might be how if your changes are confined to a directory, you generally only have to worry about tests/style checks passing within that directory. Maybe it would be enough to link to a relevant section in the user guide?

@MyApaulogies - I like those suggestions. I will try to incorporate.

Added changes to address @MyApaulogies suggestions.


Is the prop 'center' still a todo?

When I set the center prop to true the grid aligns all the items in the center, just as I expect.
The readme still states this to be a @TODO.
Is this still correct or is this feature implemented?

yep


Fix smoketest failure in Dockerfile

Codecov Report

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

@@           Coverage Diff           @@
##           master     #169   +/-   ##
=======================================
  Coverage   64.64%   64.64%
=======================================
  Files          46       46
  Lines        1782     1782
  Branches      195      195
=======================================
  Hits         1152     1152
  Misses        606      606
  Partials       24       24

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 fc75ae1...a299d03. Read the comment docs.

I will remove clouddebugger from the blacklist once https://github.com/googleapis/googleapis/pull/323 is merged.

LGTM. https://github.com/googleapis/googleapis/pull/323 is now merged


Update the light and dark theme icon

Description
-Replaced the sun image
-Implemented the light theme toggling properly
-added JavaScript to toggle the theme by switching the icon between moon and sun images on click and updating the body class to reflect the corresponding theme.
Related Issues
Fixes issue #1419

Closes #1419

Type of PR

[ x ] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)

Checklist

[ x ] I have gone through the contributing guide
[ x ] I have updated my branch and synced it with project main branch before making this PR
[ x ] I have performed a self-review of my code
[ x ] I have tested the changes thoroughly before submitting this pull request.
[ x ] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[ x ] I have commented my code, particularly in hard-to-understand areas.

Hi @khushi-joshi-05, I made the necessary changes if any changes are required, please do tell.

solve conflicts.

solve conflicts.

I did resolve the conflicts


Quickstart says use port 5002, but IIS Express doesn't allow that

Hello, the quickstart Interactive Applications with ASP.NET Core says

Once you've created the project, configure the application to run on port 5002.

However, the mvc demo template is configured to use IIS Express, and IIS Express only allows SSL on ports 44300 through 44399 (see Handling URL Binding Failures in IIS Express). I spent an hour or so trying to get the mvc app to run on 5002 but eventually gave up and used 44327 which worked fine.
Also, the instructions in the quickstart don't specify whether to configure the app to run http or https on port 5002. Based on the rest of the quickstart I'm assuming it means https.
Recommend changing the quickstart template to use Kestrel or change the documentation to suggest https and a port in the 44300-44399 range.

Thanks. I added a note to the docs.

Same here.. lost a good amount of time because of this error.
I used another port and ran it in another VS instance.


Updated DuckDB support?

When will support for DuckDB 0.9 be included? The 0.5 release of DuckDB was more than 1 year ago.

qStudio 2.53 released just now, includes DuckDB 0.9.2.
I've been testing it for a few days and it works great.
You will find the new right-click->close connection feature useful if you want to open it back and forth between multiple apps.
The slightly odd thing is you have to change server and then right-click on the unselected duckdb server to close it.
If you left click or try it while active, it may open the connection again. I will need to change that in future.

Awesome. Thanks. Just installed it and works great.


Fix #9 String#to_money in Ruby 1.9

This fixes #9 and makes all tests pass in Ruby 1.9.
I have not tested this in Ruby 1.8 but I expect it should work there as well.

Hi there! We're doing some open source maintenance work and closing old PRs. If you would still like this to be merged in, please re-open it by April 17, 2017. Thanks!


Added abbreviations for degree grades

This is a request from analytics folks who want to display degree grades, but don't want massive long names like "Upper Second Class Honours (2:1)"

I wonder if this should be short_name? they're not really abbreviations.


Some suggestions.

Thank you for sharing your benchmark, which is really meaningful.
I have some suggestions here:

Should the vertical coordinate in Figure 5 be the RMSE？
For the MAPE indicator in the table, can it be accurate to two decimal places? This would allow for a better comparison of the different models.

Thank you.

Thank you for your valuable suggestions. I'll make these changes to improve the presentation.

Hi, my brother. Here some discussions.
As for those models that use temporal embedding, such as STID and MLP, the index of the embedding should be multiplied by the corresponding temporal size, e.g., for time of day, it should be multiplied by 288 or 24, and for day of week, it should be multiplied by 7.
In addition, the DAAGCN in Table 2 should be DSTAGNN.
Please confirm. Thank you.


Rethink interface of baseline related derivations

Several tester indicated that they found the naming of derive_baseline() to be confusing as they expected it to derive the baseline flag. In addition, questions where raised whether there's a need to have derive_var_base() and derive_var_basec() if you can use the underlying function to create those witht the added benefit of more explicit code as you would have to specify the source_var and new_var when using derive_baseline().
My suggestion would be to rename derive_baseline() to derive_var_base() and remove derive_var_basec().

Fyi @Roche-GSK/admiral-devs

In addition we were asked to allow the input of a user specifyed baseline definition rather than hard-coding ABLFL == "Y".

Should we change the programming strategy? At the moment we have:

Please note that var prefix should be used only if the function name includes the name of the variable (e.g. derive_var_ady()). It should not be used if the variable name is supplied as an argument (e.g. derive_baseline(), which has a new_var argument).

I think so, yes. Probably we should use the var prefix for every function that creates a new variable, also those that have a new_var parameter.

Should we create a separate issue for updating the programming strategy and renaming the functions?


[BUG] Placement/Extrapolate Error part 2

https://streamable.com/p5lv34 I don't have extrapolate on, the ca placement tries to predict the movement??? but it still cant predict if we are behind enemy (same applies if we are using extrapolate)
also it weirdly multiplaces on stairs (started happening after you made changes to extrapolate) https://streamable.com/1gs78v
still not using extrapolate in the second clip

https://streamable.com/p5lv34 I don't have extrapolate on, the ca placement tries to predict the movement??? but it still cant predict if we are behind enemy (same applies if we are using extrapolate)

Its not trying to predict the player's movement. AutoCrystal places crystals on the closest and most damaging position, so its not really a bug.

https://streamable.com/p5lv34 I don't have extrapolate on, the ca placement tries to predict the movement??? but it still cant predict if we are behind enemy (same applies if we are using extrapolate)

Its not trying to predict the player's movement. AutoCrystal places crystals on the closest and most damaging position, so its not really a bug.

its still the same case while using extrapolate

https://streamable.com/p5lv34 I don't have extrapolate on, the ca placement tries to predict the movement??? but it still cant predict if we are behind enemy (same applies if we are using extrapolate)

Its not trying to predict the player's movement. AutoCrystal places crystals on the closest and most damaging position, so its not really a bug.

its still the same case while using extrapolate

oh ok i didnt notice that

https://streamable.com/0r6cyg using extrapolate

Do you have Pre-Calc on? If not send your AutoCrystal config. If yes, thats probably it.

It could also be that the FakePlayer does not get Extrapolated, let me check.

It could also be that the FakePlayer does not get Extrapolated, let me check.

other client's extrapolation works fine

https://streamable.com/auyjds

So basically it never really worked to begin with 😅 was a bit rushed


(🎁) Respect exclude, extend-exclude and include from pyproject.toml

BlackConnect is formatting files that are marked as exclude in the config file, this is very frustrating.

This is not a new request, see #27. I plan to include it into either next release or the one after.

Duplicate of #27

Duplicate of #27


java.net.UnknownHostException when ProxyServer has a upstream proxy and visit https url

I'm using selenium + browsermob to test a website (www.mysite.com). When visit this site, I need to use a upstream proxy ("myproxy:8080") or it will show "Server not found."
And here is my code:
@Test
public void test() throws Exception {
ProxyServer proxyServer = new ProxyServer(5368);
proxyServer.start();
Map<String, String> map = new HashMap<String, String>();
map.put("httpProxy", "myproxy:8080");
proxyServer.setOptions(map);
FirefoxProfile profile = new FirefoxProfile();
Proxy seleniumProxy = new Proxy();
seleniumProxy.setHttpProxy("localhost:5368");
seleniumProxy.setSslProxy("localhost:5368");

DesiredCapabilities dc = DesiredCapabilities.firefox();
dc.setCapability(FirefoxDriver.PROFILE, profile);
dc.setCapability(CapabilityType.PROXY, seleniumProxy);

WebDriver driver = new FirefoxDriver(dc);
// http request can work fine
driver.get("http://www.mysite.com");
Thread.sleep(2000);
// cannot open https page
driver.get("https://www.mysite.com/login.html");
driver.quit();

proxyServer.stop();

}
http requests can work fine, but when visit https url like ("https://www.mysite.com/login.html"), it will throw exception:
java.net.UnknownHostException: www.mysite.com
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:894)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1286)
at java.net.InetAddress.getAllByName0(InetAddress.java:1239)
at java.net.InetAddress.getAllByName(InetAddress.java:1155)
at java.net.InetAddress.getAllByName(InetAddress.java:1091)
at java.net.InetAddress.getByName(InetAddress.java:1041)
at net.lightbody.bmp.proxy.jetty.util.InetAddrPort.(InetAddrPort.java:88)
at net.lightbody.bmp.proxy.selenium.SeleniumProxyHandler.handleConnect(SeleniumProxyHandler.java:455)
at net.lightbody.bmp.proxy.BrowserMobProxyHandler.handleConnect(BrowserMobProxyHandler.java:76)
at net.lightbody.bmp.proxy.selenium.SeleniumProxyHandler.handle(SeleniumProxyHandler.java:158)
at net.lightbody.bmp.proxy.jetty.http.HttpContext.handle(HttpContext.java:1509)
at net.lightbody.bmp.proxy.jetty.http.HttpContext.handle(HttpContext.java:1461)
at net.lightbody.bmp.proxy.jetty.http.HttpServer.service(HttpServer.java:892)
at net.lightbody.bmp.proxy.jetty.http.HttpConnection.service(HttpConnection.java:815)
at net.lightbody.bmp.proxy.jetty.http.HttpConnection.handleNext(HttpConnection.java:981)
at net.lightbody.bmp.proxy.jetty.http.HttpConnection.handle(HttpConnection.java:832)
at net.lightbody.bmp.proxy.jetty.http.SocketListener.handleConnection(SocketListener.java:245)
at net.lightbody.bmp.proxy.jetty.util.ThreadedServer.handle(ThreadedServer.java:357)
at net.lightbody.bmp.proxy.jetty.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Please help to have a look, thanks in advance.

@mediga - did you get this resolved? If you pull the latest from master, you can try setting bmp.allowNativeDnsFallback to true as described in the Native DNS Resolution section of the README.md.
I also noticed from the stack trace that IPv6 is enabled. Unless you really need IPv6 for your use case, you can also try setting the java.net.preferIPv4Stack system property to true.

Closing this as it is most likely resolved by PR #45.

Sorry about delay in responding.
I tried both the settings without success.
Any debug that can enabled to see more details?


Update README.md, fix typo(s)

I really enjoyed using this project, nice work! Caught a couple of typos in the README.md though 😛

谢谢，已收到

想创业，开网店，低投资，高收入，叫你月月赚翻，美滋滋。本店诚招代理商，包教包会。QQ:2020633271旺旺:梦凌love13


createEffect seems to execute before node are actually inserted into the DOM in Storybook

Describe the bug
createEffect seems to execute before nodes are actually inserted into the DOM. This happens only in Storybook.
To Reproduce
Minimal repo to reproduce the behaviour https://github.com/grenierdev/solidjs-storybook-bug
Expected behaviour
When executing similar code through the playground, nodes referenced in the createEffect are in the DOM (document.body.contains(node) === true). When ran in Storybook, document.body.contains(node) returns false.
Reproduction
https://github.com/grenierdev/solidjs-storybook-bug
Additional context
I found an old pull request that described the configuration to make Solidjs works inside Storybook.

As described in the repo's README, if I wrap the console.log inside a setTimeout(..., 0), the nodes are now part of the DOM.

I see why this happening. Im not sure if there are better suggestions in #430. But basically effects are scheduled synchronously at the end of any render. However the storybook setup seems to use createRoot to render which has no guarantees the nodes are ever attached. I assume they are but only after Solid's full render cycle occurs.

@ryansolid Thanks for the quick response. I'll close this issue for now and follow along on #430. Might even dig in to create a plugin for Storybook as I'm a big advocate for Test Driven Development and loves Storybook and Solidjs.


Add quick switcher feature

https://rambox.pro/#feature-details/quick_switcher

Overall functionality is implemented. The only problem is, that I cannot get the focus back to the search field when focus is inside a webview (This is a known issue).

Shipped in v5.3.4-beta.2


Merge branch 'branch-24.02' into main [skip ci]

1, update cudf submodule to v24.02.02
2, change spark-rapids-jni version to 24.02.1
Note: merge this change with "Create a merge commit"

build


[AbySStream] Add new extractor

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[x] New extractor
[ ] New feature

Description of your pull request and other information
I made this extractor for abysstream.com and akstream.video. I hope can be useful

There is something wrong in this extractor? I can edit if needed

both domains are no longer accessible.


wd_demo.au3 - Au3Check - compatibility

just added:
_WD_Demo()
moved some declaration to Global, some was not strictly defined by Local some was not used so I use #forceref

It was just that easier for me.


Android: Finding SensorTag when scanning fails if tag is recently disconnected

When running the example "TI SensorTag Demo" or "TI SensorTag Sensors" on Android, scanning does not find the SensorTag if it recently got disconnected.
How to reproduce:

Start app "TI SensorTag Sensors"
Press activate button on SensorTag
App finds the SensorTag as expected
Press RUN in Workbench to restart app
SensorTag goes into advertising mode but the app does not find it, expected the tag to be found.

Tested on Nexus 7 (2013). Tested working as expected on iOS.
Another way to reproduce:

Press activate button on SensorTag, it goes into advertising mode
Start app "TI SensorTag Sensors"
The app does not find the SensorTag, expected the tag to be found.

In example "TI SensorTag Demo" I have seen that scanning works but connecting fails using a procedure similar to the above (activating SensorTag before pressing START button in the app, or pressing STOP then START after successful run.)
Could this issue possibly be related to the following forum thread, which also reports problems scanning for the SensorTag?
http://evothings.com/forum/viewtopic.php?f=8&t=145&start=10

I believe I am running into this same issue, described here:
http://evothings.com/forum/viewtopic.php?f=8&t=1492
It appears that the device does get found during scanning, but for some reason it takes a very long time to connect.


feat: DIA-1725: add model-metadata endpoint

Add endpoint for getting metadata of a set of models

Codecov Report
Attention: Patch coverage is 44.00000% with 14 lines in your changes missing coverage. Please review.

Project coverage is 67.79%. Comparing base (bf4aa1e) to head (af90bf8).
Report is 8 commits behind head on master.

Files with missing lines
Patch %
Lines

adala/runtimes/_litellm.py
8.33%
11 Missing :warning:

server/app.py
76.92%
3 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #279      +/-   ##
==========================================
- Coverage   67.98%   67.79%   -0.19%
==========================================
  Files          47       47
  Lines        2511     2540      +29
==========================================
+ Hits         1707     1722      +15
- Misses        804      818      +14

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

/git merge master


HHH-10418 : test case

Test case for https://hibernate.atlassian.net/browse/HHH-10418.
This test case reproduces a failure on startup when a collection region uses the same name as an entity region.
A similar test case works on 4.2: https://github.com/gbadner/hibernate-core/tree/HHH-10418-4.2-test

Added test and fix to #2083


Qr Code Activity DropDown Button UI

Hey @llaske
In the QR activity
The Text dropdown Button is not properly alighned  with rest of the element in the Input Field.
alos there is a extra arrow in the image, which is slightly visible
Before

it should Look like this

Please do share your thought on this , if you think it can be improved.
Do let me Now, i have allready fixed it localy.

Hey @kanishkcs , This issue is already raised see https://github.com/llaske/sugarizer/issues/1253

Thanks @NischayGoyal1  , i didnt noticed it ,


Deprecate TrainerCallbackHookMixin

What does this PR do?
In #10575 I removed many methods of TrainerCallbackHookMixin, but we should keep them for BC until v1.8 so that Trainer.call_hook still works as it did before, i.e. if someone calls Trainer.call_hook("on_before_accelerator_backend_setup") that should still work.
This PR puts back the methods removed in #10575, and then deprecates the entire TrainerCallbackHookMixin class.
Does your PR introduce any breaking changes? If yes, please list them.

Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

still draft?

@Borda I am waiting for #11179 to be merged first

Ready for review!


AutoFocus problem

Hello! I tried your library on OnePlus 3. The maximum resolution of the preview was only 1280 * 720, although the standard camera gives out Full HD. In addition, autofocus does not work. You can only focus by touch.
Is there a solution?
I am using the latest version of the library from the last commit on the github.
Android - 7.1.1

I have fixed the BUG，but haven't update to Jcenter

I do not use it. I downloaded the latest version here, on github.

can you show me the log？

@CJT2325, yes, of course)
06-14 15:52:29.162 25777-25777/ru.vellrya.bigbrain I/CJT: surfaceCreated 06-14 15:52:29.490 25777-25834/ru.vellrya.bigbrain I/JCameraView: FocusMode supported auto 06-14 15:52:29.490 25777-25834/ru.vellrya.bigbrain I/JCameraView: Formats supported 256 06-14 15:52:29.665 25777-25834/ru.vellrya.bigbrain I/CJT: === Start Preview === 06-14 15:52:30.726 25777-25777/ru.vellrya.bigbrain E/ExtMediaPlayer-JNI: env->IsInstanceOf fails 06-14 15:52:30.726 25777-25777/ru.vellrya.bigbrain E/MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0 06-14 15:52:30.726 25777-25777/ru.vellrya.bigbrain E/ExtMediaPlayer-JNI: env->IsInstanceOf fails 06-14 15:52:30.726 25777-25777/ru.vellrya.bigbrain E/MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0 06-14 15:52:30.764 25777-25777/ru.vellrya.bigbrain D/MediaPlayer: setSubtitleAnchor in MediaPlayer 06-14 15:52:31.281 25777-25792/ru.vellrya.bigbrain E/Camera-JNI: copyAndPost: off=0, size=875863 msg=100 06-14 15:52:31.547 25777-25777/ru.vellrya.bigbrain D/Camera: app passed NULL surface 06-14 15:52:31.774 25777-25777/ru.vellrya.bigbrain I/CJT: === Stop Camera === 06-14 15:52:32.108 25777-25777/ru.vellrya.bigbrain I/Choreographer: Skipped 49 frames!  The application may be doing too much work on its main thread. 06-14 15:52:32.131 25777-25806/ru.vellrya.bigbrain D/AppTracker: App Event: stop 06-14 15:52:32.255 25777-25777/ru.vellrya.bigbrain D/CropIwaLog: LoadBitmapCommand for file:///storage/emulated/0/Android/data/ru.vellrya.bigbrain/files/data/captured_photo.jpg delayed, wrong dimensions {width=0, height=0} 06-14 15:52:32.261 25777-25824/ru.vellrya.bigbrain D/AppTracker: App Event: start 06-14 15:52:32.295 25777-25777/ru.vellrya.bigbrain D/CropIwaLog: load bitmap request for {file:///storage/emulated/0/Android/data/ru.vellrya.bigbrain/files/data/captured_photo.jpg} 06-14 15:52:32.326 25777-25777/ru.vellrya.bigbrain W/art: Before Android 4.1, method int android.support.v7.widget.ListViewCompat.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView 06-14 15:52:32.366 25777-25827/ru.vellrya.bigbrain D/CropIwaLog: loaded image with dimensions {width=1080, height=1920} 06-14 15:52:32.394 25777-25777/ru.vellrya.bigbrain D/CropIwaLog: {file:///storage/emulated/0/Android/data/ru.vellrya.bigbrain/files/data/captured_photo.jpg} loading completed, listener got the result 06-14 15:52:32.445 25777-25777/ru.vellrya.bigbrain I/CJT: surfaceDestroyed

i got what do you mean，my lib's autofocus does work when recording video,  focus by touch does work when capture，and resolution is the resolution of a length to width ratio that is closest to the screen of a cell phone.

Thank you very much! I just turned on the autofocus for pictures by adding this code:
if (CameraParamUtil.getInstance().isSupportedFocusMode(                         mParams.getSupportedFocusModes(),                         Camera.Parameters.FOCUS_MODE_CONTINUOUS_PICTURE)) {                     mParams.setFocusMode(Camera.Parameters.FOCUS_MODE_CONTINUOUS_PICTURE);                 } else if (CameraParamUtil.getInstance().isSupportedFocusMode(                         mParams.getSupportedFocusModes(),                         Camera.Parameters.FOCUS_MODE_AUTO)) {                     mParams.setFocusMode(Camera.Parameters.FOCUS_MODE_AUTO);                 }
The problem is solved!


No way to dynamically add to a CSS mixins without destroying other values

Say, in a generic custom element, in Polymer 1.0.9, you have a mixin like this:
.name {
    @apply(--some-theme);
}

And, outside the element, styling it, you have:

If, in a click listener, for the element 'an-element', I try to modify the customStyle:
               var t = Polymer.dom(e).localTarget;
               t.customStyle['--some-theme'] = 'background-color:pink';
               t.updateStyles()

Then it will change the background color, but also remove the 'color: orange' style we specified.
Is there a way to only modify a single value in a CSS mixin, without obliterating the rest of the values in such?
Note: I can't see a way of grabbing the existing values for the CSS mixin to modify.
Full source:

            <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

            <link rel="import" href="bower_components/polymer/polymer.html">
            <dom-module id="an-element">

                <template>

some text here
                </template>
            </dom-module>

            <template id="app" is="dom-bind">
                <an-element on-tap="clicky">
                </an-element>
            </template>

We're planning to add an api to query your computed style properties (currently available on the private _styleProperties) which should make this easier.

https://jsfiddle.net/ghstahl/6w8sajnt/3/
Hopefully this is related.
What I want is the ability to swap out the entire paper-material mixins based upon a class change.
In my example, I compute a new class name based upon a toggle.  'is-hot', 'is-cold'.  You can see the class being swapped in and out.

I tried styling that looked like this.
paper-button.is-hot{
--shadow-elevation-2dp: {---}
}
from what I can tell, the paper-material styles only get updated when elevation changes.
So far the only success I have had to swap styles is doing what newfivefour did.

Sorvell how are things progressing with the API to obtain computed style properties?

Added in Release 1.2.2.
See also: https://github.com/Polymer/polymer/issues/2690

Thanks!

hi. I'm facing the same problem described in this issue and i'm still not able to change one style property without removing the others.
I have tried to use the getComputedStyle function but it returns a read only object and so i can't directly modify the value returned.
I think that i misunderstood the purpose of getComputedStyle().
Could you please explain how to achieve my goal

Need to modify mixin dynamically too. Is this problem solved?

Can't find anything in 2.0 to do this too. Right?

This is a known limitation of the @apply shim, as documented here: https://github.com/webcomponents/shadycss#status
The ApplyShim is provided for backwards compatibility for Polymer 1 and 2, and will only receive the most critical of bug fixes.
In this case, the effort required to allow for modifying mixins at runtime is prohibitively expensive, and will not be supported.


Restrict file selections based on MIME type

We want to add the option to restrict the files a user can select based on a supplied list of MIME types. For example we could restrict user's to only uploading ["application/pdf", "application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document"].

Moved to internal tracker: https://filestack.atlassian.net/browse/FS-3107


Staking rewards not received .

Hello,
I've had a balance in my atom wallet for over 7 days.
I still have not received any staking rewards.
using the listminting cmd , I see that I should have been receiving rewards. could someone check on this for me ? I have copied and pasted a few of the transactions found, there are many.
Copied from console :
"account": "Moon",
"address": "AbzoJ9JQSqRJZpP5KsqyddFCvgAa6y2kkh",
"txid": "d3136da6ee74d240f98229c8a2e9da4e97b51be67610e2caf9f29d8223c12800",
"vout": 1,
"time":<PHONE_NUMBER>,
"amount": 1.08427628,
"status": "mature",
"age-in-day": 5,
"coin-day-weight": 3,
"minting-probability-10min": 6.984810319021761e-007,
"minting-probability-24h": 0.0001005762456028902,
"minting-probability-30d": 0.01233502501255546,
"minting-probability-90d": 0.09127537090474258,
"attempts": 341055
},
{
"account": "Moon",
"address": "AbzoJ9JQSqRJZpP5KsqyddFCvgAa6y2kkh",
"txid": "65ad1d8ba48f3f37b693f85dcea02ac1d43f80673a5e4a8a8dc3603a5219570c",
"vout": 0,
"time":<PHONE_NUMBER>,
"amount": 1.01339508,
"status": "mature",
"age-in-day": 2,
"coin-day-weight": 0,
"minting-probability-10min": 1.396962457933526e-007,
"minting-probability-24h": 2.011605847573872e-005,
"minting-probability-30d": 0.009310448119577375,
"minting-probability-90d": 0.07992623794307441,
"attempts": 37444
"account": "Moon",
"address": "AbzoJ9JQSqRJZpP5KsqyddFCvgAa6y2kkh",
"txid": "e9c43f88d2653cfc50afe37f8966a1ae69db3ec9908d3b5b05b7ef4c02ac9863",
"vout": 0,
"time":<PHONE_NUMBER>,
"amount": 10.70979525,
"status": "mature",
"age-in-day": 7,
"coin-day-weight": 53,
"minting-probability-10min": 9.359605331993315e-006,
"minting-probability-24h": 0.001346881614906814,
"minting-probability-30d": 0.1257040916710075,
"minting-probability-90d": 0.6239800276754204,
"attempts": 460638

},
{
"account": "Moon",
"address": "AbzoJ9JQSqRJZpP5KsqyddFCvgAa6y2kkh",
"txid": "7dada163d545d29ec954e77c8bb59c429d4591890ccbb0d945343c3413328c68",
"vout": 0,
"time":<PHONE_NUMBER>,
"amount": 10.38071543,
"status": "mature",
"age-in-day": 7,
"coin-day-weight": 51,
"minting-probability-10min": 8.800825369026377e-006,
"minting-probability-24h": 0.001266521713433999,
"minting-probability-30d": 0.1211547043684648,
"minting-probability-90d": 0.6113757975735659,
"attempts": 446196

Same issue. Waited for a week - no reward.

Hi @jefferylabelle and @gonzzza007, please check out the minting-probability parameters - these describe the actual possibility of receiving staking rewards.
As per the atomd output provided above:
"minting-probability-10min": 8.800825369026377e-006,
"minting-probability-24h": 0.001266521713433999,
"minting-probability-30d": 0.1211547043684648,
"minting-probability-90d": 0.6113757975735659,
The staking probability in your case is still low, which is described by these values.
Closing the issue for now. Please reopen if needed.


Muting video stops system wide audio

A user of the library reports this issue: once a video is muted, the audio is muted globally.
Steps to reproduce:

Start music e.g. in Spotity or the music app
Run app that uses SRGMediaPlayer and programatically mute the sound ( playerController.muted = YES )

What happens:
All sounds are muted, incl. the sound of other apps.
Expected:
Sound of media player is muted, but Spotify continues to play
Tested with version:
SRGMediaPlayer 1.9.9
OS: iOS9.3.2
How play a muted video without impacting other audio apps?
Thanks

TL;DR: This is not a player issue, but merely an audio setup management issue.
Your application audio is most probably non-mixable when playing your inline content. This happens because your application is using a non-mixable category like AVAudioSessionCategorySoloAmbient, or AVAudioSessionCategoryPlayback with default options when navigating the news timeline. For more information about the available categories, you should have a look at the official documentation.
In your case, you must therefore switch between different audio session setups when appropriate:

When your application audio must be mixable with other contents (e.g. when navigating the news timeline with muted videos), use a mixable category like AVAudioSessionCategoryAmbient:

[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryAmbient withOptions:0 error:nil];

or a non-mixable category like AVAudioSessionCategoryPlayback with proper options (in your case AVAudioSessionCategoryOptionMixWithOthers):
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback withOptions:AVAudioSessionCategoryOptionMixWithOthers error:nil];

When your application audio must not be mixable (e.g. when watching a video with sound), use a non-mixable category like AVAudioSessionCategoryPlayback  with proper options:

[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback withOptions:0 error:nil];

How exactly you must choose your audio session categories and options, and when you need to change them, depend on your application needs. The official audio session documentation is a good start to understand everything you can achieve, but getting a perfect behaviour can be tricky.
In our application, for example, we usually setup the audio session category when the RTSMediaPlaybackStateReady state is reached, and reset it in some cases when playback ends. We also tweak sessions to restore audio from other apps, listen to notifications to properly deal with phone call interruptions, etc. There is a lot of potential in this area.


All error abouut the links solved

Closes: #815
Description of Changes
Succsessfully solved all the error about the Links and also the discord logo added with the appropriate link
Checklist:

[✔ ] I have conducted a self-review of my code.
[ ] I have included comments in areas that may be difficult to understand.
[ ] I have made corresponding updates to the project documentation.
[ ✔] My changes have not introduced any new warnings.

Screenshots

Original
Updated

Please provide any necessary screenshots to illustrate the changes made.

@anmode is their any problem in this code?

Please pass the CI test and it is good to merge!
npx prettier --write


gce: bump worker to v4.5.1

I'm inclined  to apply & merge this, since it is working fine locally. We should figure out what is up with the GNU tar error though.


do multisig for royalties

what do you mean?

We should create a multisig wallet for the royalty recipient


[PR1] DEV-51 add PodData to Server

This PR adds the PodData struct to the Server that is sent to the front when connecting

I approved, but the PodData creation has to be handled somewhere else


Update README with more details

This PR updates the README with information about which commands are supported by which policy.

:shipit:

LGTM 🌮


Additionals: fixed the accept method regex, regex should be escaped

Fixes #1243

That looks decent. Could you add unit tests for this method? Even if they need to be wrapped in a feature detect for element.files, that would still be a big improvement over no coverage at all.

I tried to create test for it, but I'm not sure how to mock the file input functionality, since JS cannot update the value if the file input...
Do you have an idea how to test it?

You could start with an input of type file, select that from the DOM, then overwrite the files property. Not sure if its writable, but if it is, this might work (not tested):
<input type="file" id="accept-input">

var element = $( "#accept-input" )[0];
// Assign something here for each assertion, not sure what the right format is
element.files = [ "myfile.docx" ];
ok( $.validator.method.accept( null, element, "docx" ), "something something is valid" );

I have no idea what the right format for files and param are, but I hope this helps. Thanks for looking into it!

Hmmm, the input property files is readonly for security reasons.

Makes sense. Maybe we can mock the DOM element from scratch? Along with the files property it needs to be pass the this.optional() check and respond to $(element).attr("type") with "file".

I had the same idea.. I will try it :)

I've just created the tests, the last one is for invalid mime type. I'm not sure if the last one check for dependency-mismatch is ok...

Thanks for the update! This is promising, but needs a bit of refactoring and cleanup.

Yes, you are right, this is raw version, I will clean it up.

Never noticed the new commits until now - there are no notifications for pushes... reviewing again.

Still a few minor issues with the tests. Please let me know when you push new commits, so that I can review them immediately.

ping @jzaefferer

Hope thats more clear. I'll be away the next few days, will check again next week.

Sorry for the delay, I had urgent work to do.
ping @jzaefferer

@jzaefferer did you have a chance to see this?

Sorry for the delay. Could you rebase this against master? Thanks.

@mishal As @jzaefferer requested in #1512, I have squashed/rebased this PR into #1531. Authorship and the original diff should be maintained but now in 1 commit and on top of the latest master.

Thanks, closing, please merge #1531


lightning_getattr should raise AttributeError

🚀 ~Feature~ Enhancement
Currently, lightning_getattr(model, attribute) raises one of (ValueError, KeyError, AttributeError when attribute is not found in model, but I think it should raise AttributeError in all cases since Python built-in getattr() only raises AttributeError.
https://github.com/PyTorchLightning/pytorch-lightning/blob/4bdf2fe55f45c4cc8b397d4b45041265c402519f/pytorch_lightning/utilities/parsing.py#L241

makes sense :) same investigation could be done for the setter.


[Suggestion] Player-Only Radiation When Handling Ores/Fuels/Machines

Just a thought I had the other day while playing. I love the radiation mechanic, but it's not so much fun for my wife and friends when my radiation spills over into their farms with their fluffy animals and what not.
Sure, I could build far away, but I had an idea: What if you added an option so radiation is only player-based and you only get affected by handling radioactive materials without proper protection and maybe interacting with certain machines, rather than "dumping" the radiation in the chunk.
Another idea would be to a config option to allow for a player/UUID based whitelist so that only players that are whitlisted are affected by radiation. Everyone/everything else is unaffected by the radiation except the white listed players.

Hey there! There are a few configs you could play with to effectively get the desired effect:

Chunk Radiation Limit (radiation_chunk_limit) - setting this to zero would nullify all chunk radiation.
Chunk Radiation Spread Rate (radiation_spread_rate) - setting this to zero would stop radiation spreading between chunks entirely.
Chunk Radiation Decay Rate (radiation_decay_rate) - setting this to a very high value would cause chunk radiation to disappear very quickly.

Hopefully this helps :)

I've actually disabled it entirely for now to avoid unintentionally griefing my server-mates (especially my wife who shares the same base as me, but doesn't do any NuclearCraft related)
I could make the spread to zero and decay rate to something high, but then that still removes the challenge of having to deal with radiation for myself.
Essentially what I'd like is for a way for radiation only to affect myself (or other players who would want to "opt-in"). I know it's mostly an unreasonable suggestion, but I wanted to put it out there in case it gave you different ideas for how to implement radiation in the future.

I see what you mean - I think that could be done (via a config), but I am only working on the overhaul branch of the mod mow unfortunately.
There is another possibility though, which I think should do what you want, but it requires a bit of knowledge about CraftTweaker and GameStages, and I'm afraid I don't really know anything about the latter.
First, you need to define which stages will give players radiation immunity with this CT method. Then giving your wife, and whoever else, one of the stages defined using that method should give them radiation immunity :)

I've added a config to give certainb players radiation immunity. It's just gone up on CF :)


MessageTextArea in inbox doesn't shrink when extended it before with a long text

This was fixed in #677

I just found another edge case while testing something else. Will fix it now


Added new piracy tool

Kind of suprised this one isn't on there since another tool (that the tool in question recommends using instead) is.
NO NEW PULL REQUESTS ARE CURRENTLY BEING ACCEPTED!

Kurisu will soon go under several code changes to go with a major update discord.py
If adding words to the filter list in events.py, make sure all characters are lowercase.

Please submit PRs to the parent project. This fork will be kept up to date (when necessary) by pulling commits directly from upstream.

@chenzw95 - Sorry, didn't realize I was trying to get a merge onto another fork.  Made a proper pull request to ihavemacs repo.


Use nominatim viewbox to improve store location search

When setting a store location, the search bar returns locations in the whole world. Usually the store locations are in the same region as the group. Our geocoding service, Nominatim, has the optional viewbox parameter to prefer results in a given area.

Extend the geocoding service with an optional viewbox
Determine an appropriate viewbox in the storeEditCreateForm from the group location (Caution: the group location is optional!)

Is this open?. Can I make this change?.

Sure @ajay2507 :)
I haven't worked with viewboxing before, but I think we should make it rather large instead of too small.

@tiltec I think so we have to pass latitude and longitude parameters as viewbox parameter to our Our geocoding service.
Currently its showing like the below, Can you explain how it should be?

It will affect the locations search bar results while creating/editing a store. If you're looking for a street "Broadway 5", then it should show results close to the group location instead of more remote results.
Maybe we should try if viewboxing works as expected, i.e. has the desired effect?

It could make sense to viewbox by country, that could be a bit simpler than finding the proper viewbox size manually.

Doesn't seem very important and seems to be too complex for a starter task, so I'll close it to focus our issue tracker a bit more.


Can we use this for React Native, Windows 10 Phone too ?

Hello,
We have requirement for Android, iOS and Windows 10 app.
Does this component work on all three platforms ?
Any confirmation will be great!
Thanks.

No it does not. No plans to support it so far.


[Minor] Add missing interpolation in NettyRPCEnv

Exception in thread "main" org.apache.spark.rpc.RpcTimeoutException:
Cannot receive any reply in ${timeout.duration}. This timeout is controlled by spark.rpc.askTimeout
	at org.apache.spark.rpc.RpcTimeout.org$apache$spark$rpc$RpcTimeout$$createRpcTimeoutException(RpcTimeout.scala:48)
	at org.apache.spark.rpc.RpcTimeout$$anonfun$addMessageIfTimeout$1.applyOrElse(RpcTimeout.scala:63)
	at org.apache.spark.rpc.RpcTimeout$$anonfun$addMessageIfTimeout$1.applyOrElse(RpcTimeout.scala:59)
	at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33)

Test build #47842 has started for PR 10334 at commit a853e63.

LGTM

Test build #47842 has finished for PR 10334 at commit a853e63.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

retest this please

Test build #47857 has started for PR 10334 at commit a853e63.

Test build #47857 has finished for PR 10334 at commit a853e63.

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

Merged build finished. Test PASSed.

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

Merging to master and 1.6


Update gitkraken to 3.6.1

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Ah sorry.


Owners

added espen080 and Kristopy as code owners.

Seems it is not trivial to sign an existing unsigned remote commit, so because this PR has such a small change I am just going to close it, delete the branch and restart.


Zxyanliu/uxcopy/20201026

Description

Refined UI texts (help contents).
Updated some aka links (help links).
Ran yarn l10n script and committed resulting changes to en-US.json.

Task Item
https://github.com/microsoft/BotFramework-Composer/issues/4508
#minor
Screenshots
Home page - Menu

LU and LG

Learn more points to: https://aka.ms/lu-file-format

Learn more points to: https://aka.ms/lg-file-format
Settings page

Added learn more points to: https://aka.ms/composer-multilingual-support
Bot creation flow

Trigger creation flow

cc: @mareekuh @garypretty

Maybe too much to ask, but do you have a picture of before and after?

Coverage remained the same at 55.028% when pulling c8e5e3280ef8c0441326acf227c2161cb2d592a9 on zxyanliu/uxcopy/20201026 into 4d113c8801235d630e743368b33a62f329aaa85e on main.

Maybe too much to ask, but do you have a picture of before and after?

I can add them.

Closing this issue for now. Will reopen when necessary.


[webview_flutter] onWebResourceError Not Called in Obfuscated Apps

Steps to Reproduce

Create a new flutter project with the webview_flutter dependency
Use this as main.dart:

import 'dart:io';

import 'package:flutter/material.dart';
import 'package:webview_flutter/platform_interface.dart';
import 'package:webview_flutter/webview_flutter.dart';

void main() => runApp(MaterialApp(home: WebViewExample()));

class WebViewExample extends StatefulWidget {
  @override
  _WebViewExampleState createState() => _WebViewExampleState();
}

class _WebViewExampleState extends State<WebViewExample> {
  Color appBarColor = Colors.blue;

  @override
  void initState() {
    super.initState();
    if (Platform.isAndroid) WebView.platform = SurfaceAndroidWebView();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Flutter WebView example'),
        backgroundColor: appBarColor,
      ),
      body: WebView(
          initialUrl: 'https://google.com/',
          onWebResourceError: (WebResourceError error) {
            print("WebresourceError occured!");
            setState(() {
              appBarColor = Colors.red;
            });
          },
        )
    );
  }
}

Add <uses-permission android:name="android.permission.INTERNET" /> to the android manifest
Build an obfuscated apk with flutter build apk --obfuscate --split-debug-info=dbginfo (as explained in https://flutter.dev/docs/deployment/obfuscate)
Install the apk on your device
Open the app without an internet connection to intentionally trigger a WebResourceError

Expected results:
The code in the onWebResourceError function should be called and therefore WebresourceError occured! should be printed and the appbar should turn red.
When building the app without the --obfuscate flag, this is the case.
Actual results:
The code in the onWebResourceError function doesn't get called and therefore the appbar doesn't turn red and nothing is printed.
Not sure how to easily test if this issue occurs on iOS too, as I'm not familiar with the app installation process there.

Logs
Not sure how to provide a log, you cant use --obfuscate with flutter run.
flutter doctor -v
[√] Flutter (Channel stable, 1.22.5, on Microsoft Windows [Version 10.0.19042.685], locale de-DE)
    • Flutter version 1.22.5 at D:\Programme\Flutter\flutter
    • Framework revision<PHONE_NUMBER> (5 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at D:\Programme\AndroidSDK
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = D:\Programme\AndroidSDK
    • ANDROID_SDK_ROOT = D:\Programme\AndroidSDK
    • Java binary at: D:\Programme\AndroidStudio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[!] Android Studio (version 4.1.0)
    • Android Studio at D:\Programme\AndroidStudio
     X Flutter plugin not installed; this adds Flutter specific functionality. # Just checked - it is installed. Not sure why it's not detected
    X Dart plugin not installed; this adds Dart specific functionality. # Just checked - it is installed. Not sure why it's not detected
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] Connected device (1 available)
    • Mi 9T Pro (mobile) • f7813226 • android-arm64 • Android 10 (API 29)

! Doctor found issues in 1 category.

flutter analyze
Analyzing webviewbug...
No issues found! (ran in 2.8s)

@Aulig
Can you check out this issue and see if it resembles or help why onWebResourceError is not called ?

@Aulig
Can you check out this issue and see if it resembles or help why onWebResourceError is not called ?

Hi @darshankawar thanks for letting me know about that issue, as I've experienced that problem too. However this is a different problem, as onwebresourceerror is called as expected when the app is built without obfuscation, but not at all, when it is built with obfuscation.

Hi @darshankawar thanks for letting me know about that issue, as I've experienced that problem too. However this is a different problem, as onwebresourceerror is called as expected when the app is built without obfuscation, but not at all, when it is built with obfuscation.

@Aulig
I tried your code sample and built app-release.apk with and without --obfuscate flag. But I see same behavior for both, ie,  appbar stayed blue.

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-IN)
    • Flutter version 1.22.5 at /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision<PHONE_NUMBER> (5 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.9.3

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (2 available)
    • SM A260G (mobile)                • 5200763ebcfa861f • android-arm •
      Android 8.1.0 (API 27)
    • sdk gphone x86 64 arm64 (mobile) • emulator-5554    • android-x64 •
      Android 11 (API 30) (emulator)

! Doctor found issues in 1 category.

Can you provide screenshots of what is looks like at your end ?

@Aulig
I tried your code sample and built app-release.apk with and without --obfuscate flag. But I see same behavior for both, ie,  appbar stayed blue.

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-IN)
    • Flutter version 1.22.5 at /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision<PHONE_NUMBER> (5 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.9.3

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (2 available)
    • SM A260G (mobile)                • 5200763ebcfa861f • android-arm •
      Android 8.1.0 (API 27)
    • sdk gphone x86 64 arm64 (mobile) • emulator-5554    • android-x64 •
      Android 11 (API 30) (emulator)

! Doctor found issues in 1 category.

Can you provide screenshots of what is looks like at your end ?

Just mentioning that this issue still persists with webview_flutter 2.0.4 and nullsafety. I've also simplified the code with the steps to reproduce.

Issue can be reproduced on master 2.5.0-7.0.pre.65 and stable 2.2.3 with webview_flutter: ^2.0.12. See attached videos
obfuscated.zip
regular.zip

code sample
import 'dart:io';

import 'package:flutter/material.dart';
import 'package:webview_flutter/platform_interface.dart';
import 'package:webview_flutter/webview_flutter.dart';

void main() => runApp(MaterialApp(home: WebViewExample()));

class WebViewExample extends StatefulWidget {
  @override
  _WebViewExampleState createState() => _WebViewExampleState();
}

class _WebViewExampleState extends State<WebViewExample> {
  Color appBarColor = Colors.blue;

  @override
  void initState() {
    super.initState();
    if (Platform.isAndroid) WebView.platform = SurfaceAndroidWebView();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Flutter WebView example'),
        backgroundColor: appBarColor,
      ),
      body: WebView(
        initialUrl: 'https://google.com/',
        onWebResourceError: (WebResourceError error) {
          print("WebresourceError occured!");
          setState(() {
            appBarColor = Colors.red;
          });
        },
      ),
    );
  }
}

 flutter doctor -v
[✓] Flutter (Channel master, 2.5.0-7.0.pre.65, on macOS 11.5.1 20G80 darwin-arm,
    locale en-GH)
    • Flutter version 2.5.0-7.0.pre.65 at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4bd8b288bb (5 hours ago), 2021-08-12 18:02:02 -0700
    • Engine revision 670a681c1d
    • Dart version 2.15.0 (build 2.15.0-6.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.59.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.25.0

[✓] Connected device (3 available)
    • Nexus’ IPhone (mobile) • 00008020-001875E83A38002E            • ios
      • iOS 14.6 18F72
    • iPhone 12 (mobile)     • F2592D43-5FE3-46BB-8A2B-A38BA468DCE9 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • Chrome (web)           • chrome                               •
      web-javascript • Google Chrome 92.0.4515.131

• No issues found!

[✓] Flutter (Channel stable, 2.2.3, on macOS 11.5.1 20G80 darwin-arm, locale
    en-GH)
    • Flutter version 2.2.3 at /Users/nexus/dev/sdks/flutter
    • Framework revision f4abaa0735 (6 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.59.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.25.0

[✓] Connected device (3 available)
    • Nexus’ IPhone (mobile) • 00008020-001875E83A38002E            • ios
      • iOS 14.6
    • iPhone 12 (mobile)     • F2592D43-5FE3-46BB-8A2B-A38BA468DCE9 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • Chrome (web)           • chrome                               •
      web-javascript • Google Chrome 92.0.4515.131

• No issues found!

I encounter the same problem which is it doesn't call onWebResourceError in release build.

New main.dart for webview_flutter 4.0.7
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';

void main() => runApp(MaterialApp(home: WebViewExample()));

class WebViewExample extends StatefulWidget {
  @override
  _WebViewExampleState createState() => _WebViewExampleState();
}

class _WebViewExampleState extends State<WebViewExample> {
  Color appBarColor = Colors.blue;

  WebViewController controller = WebViewController();

  @override
  void initState() {
    super.initState();

    controller.setNavigationDelegate(NavigationDelegate(
      onWebResourceError: (WebResourceError error) {
        print("WebresourceError occured!");
        setState(() {
          appBarColor = Colors.red;
        });
      },
    ));

    controller.loadRequest(Uri.parse("https://google.com/"));
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: const Text('Flutter WebView example'),
          backgroundColor: appBarColor,
        ),
        body: WebViewWidget(
          controller: controller,
        ));
  }
}

Seems to no longer reproduce the issue :)


declare in TsImportEqualsDecl is not necessary

Describe the bug
https://github.com/swc-project/swc/blob/afe94b72e5c3ad49c465bc8cb7efbc32d6b51db0/crates/swc_ecma_ast/src/typescript.rs#L977-L987
It's impossible to construct a TsImportEqualsDecl with declare.
Input code
import x = require('foo');

declare import y = require('foo'); // wrong

namespace Foo{
    export declare var foo: number;
}

import x = Foo.foo;

declare import y = Foo.foo; // wrong

Config
No response
Playground link
No response
Expected behavior
N/A
Actual behavior
No response
Version
all
Additional context
No response

I found that it is always false
https://github.com/swc-project/swc/blob/afe94b72e5c3ad49c465bc8cb7efbc32d6b51db0/crates/swc_ecma_parser/src/parser/typescript.rs#L1152-L1159

I think we should roll-up this change with another breaking change (Maybe #7316 )


fix: suppress deployment bucket type and root stack fixes

Description of changes

suppress bucket name from root stack types
Minor fixes in root stack template

Issue #, if available

Description of how you validated changes
Checklist

[ ] PR description included
[ ] yarn test passes
[ ] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #8861 (6aca2fe) into master (86467d6) will decrease coverage by 0.94%.
The diff coverage is 20.00%.

@@            Coverage Diff             @@
##           master    #8861      +/-   ##
==========================================
- Coverage   56.55%   55.60%   -0.95%
==========================================
  Files         837      868      +31
  Lines       47358    48595    +1237
  Branches     9505     9643     +138
==========================================
+ Hits        26781    27019     +238
- Misses      19766    20706     +940
- Partials      811      870      +59

Impacted Files
Coverage Δ

...n/auth-stack-builder/auth-cognito-stack-builder.ts
68.61% <ø> (-3.47%)
:arrow_down:

...rmation/auth-stack-builder/auth-stack-transform.ts
83.12% <ø> (ø)

...tack-builder/auth-user-pool-group-stack-builder.ts
55.67% <ø> (ø)

...li-core/src/overrides-manager/migration-message.ts
42.85% <0.00%> (ø)

...lify-provider-awscloudformation/src/initializer.ts
48.44% <0.00%> (+0.29%)
:arrow_up:

...ion/src/root-stack-builder/root-stack-transform.ts
79.72% <0.00%> (ø)

packages/amplify-util-mock/src/storage/storage.ts
0.00% <0.00%> (ø)

...rmation/src/override-manager/transform-resource.ts
27.02% <11.11%> (-2.01%)
:arrow_down:

...formation/src/override-manager/root-stack-utils.ts
28.57% <28.57%> (ø)

...ry-custom/src/utils/dependency-management-utils.ts
78.18% <50.00%> (-0.35%)
:arrow_down:

... and 32 more

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 87811fc...6aca2fe. Read the comment docs.


fix: upgrade everything so it works on mac

fixes #90
I tried everything but upgrading Revery 😅
It's finally working and running again on Big Sur 🎉

Sweet Timber as well

Ci fails on formatting it seems. Could you run esy format and check in the changes as well?

Ci fails on formatting it seems. Could you run esy format and check in the changes as well?

@glennsl done!

@glennsl done!

Not sure why but the merge build failed on Windows
https://dev.azure.com/revery-ui/revery/_build/results?buildId=6977&view=logs&j=2d2b3007-3c5c-5840-9bb0-2b1ea49925f3&t=aa4c65f3-1696-5d74-b54b-04dd48a5c31f

Not sure why but the merge build failed on Windows
https://dev.azure.com/revery-ui/revery/_build/results?buildId=6977&view=logs&j=2d2b3007-3c5c-5840-9bb0-2b1ea49925f3&t=aa4c65f3-1696-5d74-b54b-04dd48a5c31f

It's just Windows. It does that sometimes :shrug: Nothing to worry about, but thanks for the heads up!

It's just Windows. It does that sometimes :shrug: Nothing to worry about, but thanks for the heads up!


Monitor crashes on Stats tab using the min.js file.

I'm testing out the Video Room Monitor and using it by pulling the twilio-video-room-monitor.min.js file directly into my web app and loading it with a

@sarahcstringer thank you for the bug report!
We were able to reproduce this issue and fixed it by upgrading the package parcel-bundler to parcel 2.0.0. You can check out this PR #40 for more info!

Was this confirmed to be fixed @sarahcstringer?
I'm still seeing this issue (or a very close one) on my end. I confirmed that im on v1.0.0 and I do see that parcel is set to 2.0.0 in the dev dependencies of the package. I get the first error on load of the video monitor and the similar missing function errors + a crash when clicking the Stats tab. See below screenshot (difference being it looks like its a different set of similar functions missing):

Hey @Chigsy thanks for reaching out!
I just tried to reproduce the issue and was unable to do so. Here are the steps that I took:

Cloned the repo
Ran npm i in the terminal
Ran npm run build in the terminal
Copied the twilio-video-room-monitor.min.js file from the dist/browser directory and added it to my video web app
Added <script src='/twilio-video-room-monitor.min.js'></script> to the index.html file in my web app (note, my minified file was in the same directory as my index.html file. You'll need to include the exact path to the minified file in your own web app.)
Started my video app and ran the following in the browser console:

window.Twilio.VideoRoomMonitor.registerVideoRoom(room);
window.Twilio.VideoRoomMonitor.openMonitor();

Opened the Stats tab without error.
Note, the Error: <path> attribute d... is a known error and should not have any noticeable impact on the Video Monitor's functionality.

Do you mind replying to this issue with the information below? This will help us reproduce your issue and understand where the error is coming from:
To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
A clear and concise description of what you expected to happen.
Environment (please complete the following information):

OS: [e.g. Ubuntu 18.04]
Browser: [e.g. Chrome 80, Firefox 72]
App Version: [e.g. 0.1.0]
SDK Version: [e.g 2.1.0]
Node.js version: [e.g. 12.14.1]

Additional context
Add any other context about the problem here.
Thank you and have a happy new year!


Own bot does not receive events

Hello, in my code i don't receive the events from the modules.
here is my code :
const TicTacToe = require('discord-tictactoe');
new TicTacToe({ language: 'fr', command: 'ttt', commandOptionName: "user", }).attach(this.client);

The command and tictactoe is fully working
There is nothing else, except the event that we are trying to receive
module.exports = class {
    constructor(client) {
        this.client = client;
    }

    async run(data) {
        console.log(data);
    }
};

(when emitting this event with this.client.emit('win') it is received)

Hello! Did you follow this guide to listen for internal events? It should works with that piece of code for example:
const TicTacToe = require('discord-tictactoe');
const bot = new TicTacToe({ language: 'fr', command: 'ttt', commandOptionName: "user", });

bot.attach(this.client)
bot.on('win', data => {
  console.log(data.winner + ' wins the TicTacToe game!');
  console.log(data.loser + ' loses the TicTacToe game!');
});

Hello, yes i tried everything that is in the guide and i didn't manage to get the event.

Will it be possible to emit the events to the discord client ? Instead of the TTT Client ?

Yes I can work on that :+1: I will also do some tests to understand why the events are not issued.

Hey, again ? any news on this issue ?

Hello! Sorry I did not have time to deal with this issue, I'll look into it soon

After few tests, I can confirm that events mentionned in the wiki are fired without issue using versions 2 or 3.
I tried to emit these events on the Discord.js client, but I am not sure about this solution, for two reasons:

As the module is written in Typescript, there is a predefined list of events on the client, I cannot change it
I cannot easily get the Discord.js client object, as the module can be used without being directly attached to a client

Which version of the module do you use? Can you post me your code to help me identify the problem?

I think the issue was because there was no events sent to the discord client but only on the TTT one. I saw you made some changes, did they includes events emitted to the actual discord client or not ?

I don't understand why this is an issue to only send events to the TTT module.. Yesterday's changes do not affect the events.


examples/Inference failed

File "/home/meisme/PiPPy/examples/inference/hf_generate.py", line 12, in
import pippy.fx
ModuleNotFoundError: No module named 'pippy.fx'
The pippy.fx seems appear nowhere.

Hi sorry about the stale example. Please refer to examples/huggingface for any inference example of your interest. Thanks.

Thank you, but are there any available TP+PP examples?


docker-compose up error

Linked to #77 but decided to create a new ticket because that was resolved, and subsequently closed.
Thanks for the help @fbartels and @anderspitman but now I get a different error. It seems to successfully build but on docker-compose up:
docker-compose up
Creating network "boringproxy_default" with the default driver
Creating boringproxy_boringproxy_1 ... done
Attaching to boringproxy_boringproxy_1
boringproxy_1  | standard_init_linux.go:211: exec user process caused "exec format error"
boringproxy_boringproxy_1 exited with code 1

After some more research, seems like an architecture issue. I'm running Ubuntu Server 64-bit. Also tried on a Pi though, didn't work either.

Hi @nickshanks347,
the error message indeed suggests an architecture issue, but that should only happen if you run the image on another architecture than it was built for (which cannot really be the case if you build and run on the same machine). Additionally for me on my amd64 desktop there is no problem.

Yeah, cloning from source and then just running docker-compose, weird stuff because it's bUilt and run on the same machine. What OS do you use because I'll make a VM on my PC and try it out.

Ubuntu 20.04

Hmm, that's what I'm using too. Know of a way to specify a build architecture in the docker file?

Interestingly, this commit https://github.com/boringproxy/boringproxy/tree/ada81bae62ca18f8b3e004a97c03d0f1d6d24431 seems to work, what has changed since then which stops it building the correct architecture?

I've done a compare myself and I can't see anything which stands out, apart from some changes to the scripts/ directory but I don't think these are used anyway. I've always tried a ubuntu and Debian builder, neither worked same issue. I've also tried adding GOOS and GOARCH to the go build command. Nothing.

Know of a way to specify a build architecture in the docker file?

That is afaik not possible in the dockerfile itself, but can be passed along with the docker build command (but also not with docker-compose). The command could look like this: docker buildx build --platform amd64 .
My own experiments with boringproxy did not progress any further after my pr with the Dockerfile. So if @anderspitman does not use it, or there are no other users interested in picking it up, its probably best to remove this code again.

I'll try and build with the docker command, and I'd pick it up but I need to learn Docker first :)

Yeah I think usage of boringproxy is still low and nobody really using Docker. I don't think it's really ready for a proper Docker deployment, because people expect Docker images to just work, and boringproxy isn't at that level regardless of how it's packaged.

Yeah, I get what you're saying. Boringproxy is sounds pretty amazing, and I am yet to use it but I haven't found anything that does what boringproxy does. I managed to build the release then stick that in a docker container.

Where in the src code can you change which ports it listens on?

@anderspitman can you think of any solution which runs in docker that is like boringproxy? I have looked but boringproxy seems by far the best

You've checked my list here, right? https://github.com/anderspitman/awesome-tunneling
Some of those probably provide docker. If you find any let me know and I'll add it to the notes so they're easier to find for others.
Have you tried deploying boringproxy without docker? It's pretty dang easy. I don't like making people depend on docker so I tried to keep it as simple as possible.

Yeah, I've seen your list but I'll have a proper read of it later. I have tried deploying without Docker but the machine I want it to live on already has a webmail service listening on 80 and 443. I can either use docker on that server or find a dirt cheap VPS to host boringproxy on. With that being said, I wrote reddit post here and someone got the Dockerfile to work. I'll make a fork and send a PR.

Ahhh yes the problem is very clear now. Thanks facilitating tracking it down.

Fixed in #81.


MacOS: Possibility of infinite loop when resizing while configuring

Calling move/resize view functions while inside a configure event from calling code causes an infinite loop ...
[window dispatchCurrentConfiguration];
dispatchCurrentChildViewConfiguration(view);

... these get called from puglSetFrame and related functions which in turn sends another configure event in the same stroke... and down it goes!
I'm avoiding this with simple bool flag here, and handling later in puglUpdate:
https://gitlab.com/lvtk/pugl/-/commit/3a3ede7f3f2e9571fc59230c36be60cebec02e19
Kind of a scratch pad solution, but the infinite loop is real.

I can see what led you here, but you probably never want to actually do that, it's going to be a nightmare in all kinds of ways, and different kinds of ways of different platforms for extra fun.
It should probably fail gracefully when called in this and other inappropriate contexts, as should a bunch of other things.  I've been working on improving the internal state tracking for this among other things, but there's still a lot of checks needed to make things resilient.

Good call.  Things like this can easily become a nightmare... especially when just "going for it" and it gets baked in the code base forever.