bug: iOS view transition animation broken

Type: bug
Platform: ios 8 webview
With introduction of 8ebde73d0b8afac1bf1c1787c90a72a28a88bc3a "iOS Swipe to Go Back" feature the animation of view transitions is broken in our app. During the transition there is a graphical glitch in the 'forward' animation. The new view does not slide in from the right and the old view is left partially visible for a short moment in the middle of the screen after the translated out to the left.
I could narrow it down to https://github.com/driftyco/ionic/commit/8ebde73d0b8afac1bf1c1787c90a72a28a88bc3a#diff-b1d18c92a01dbbcc0712f8ab85525838R362

Greetings @realityfilter!
My sensors indicate that I require more information in order to assist you.

Can you provide a detailed description of this issue?
How would a robot go about replicating this issue?
On which platform does this happen occur? (iOS, Android, all, etc.)
On which platform versions does this occur? (Android 4.2, iOS 8, all, etc.)
Is this an issue with the Ionic Framework or Ionic CLI?

Additionally, providing a codepen that replicates the issue is extremely helpful.
If you wish to get help using the framework itself, I recommended visiting the forum, where many humans will be able to offer wisdom and advice.
Thank you for allowing me to assist you.

To expand on what Ionitron said, can you provide a codepen example that recreates the issue so we're sure we're looking at the same thing.

I have tried to compile an example showing this bug. By now without any success.
But I can provide some more details:

This glitch can be seen in Safari on iOS, too. So it is not WebView specific.
Removing our app specific css in the debugger does not prevent this bug to happen.

Can the introduction of boxShadow be guarded with whether the feature swipeBackEnabled is enabled or not?
if (boxShadowOpacity > -1) {
        css.boxShadow = '0 0 10px rgba(0,0,0,' + (d.shouldAnimate ? boxShadowOpacity * 0.45 : 0.3) + ')';
}

I can workaround this problem with css alone:
[nav-view-transition="ios"] {

  [nav-view] {
    box-shadow: none !important;
  }

  [nav-view="entering"],
  [nav-view="leaving"] {
    -webkit-transition-property: opacity, -webkit-transform;
    transition-property: opacity, transform;
  }
}

I'm going to mark this as resolved then. Feel free to re-open if you can reproduce it in something we can inspect.

Hi, we have a similar issue, tried this css solution but didn't work.
Here's a video of the problem (password: bounce): https://vimeo.com/207952315
Any ideas? Thanks in advance.


Play around with QDQ Support

As mentioned in https://github.com/microsoft/onnxruntime/pull/7033 ORT added support for converting QDQ internally into the quantized equivalent. Since this is done via graph transform, it should work for Systolic -- we would need to change the assigned EP though I think
As also mentioned with https://github.com/microsoft/onnxruntime/issues/7144 this makes it easy to run quantize-aware-trained models. We can play around with this if we need more accuracy than post-training quantization can give us.

More info on QDQ is also seen in this presentation I found: https://gist.github.com/daquexian/4107a9c94038af3aa429b3a3371b332d

If this is done we also need to bump quantizer to take advantage of QAT export support: https://github.com/pranav-prakash/onnxruntime-riscv/blob/2021-04-02/systolic_runner/docs/quantizer.md#exporting-quantized-models


fix(chat): fix auto-scroll for message editing for desktop (Issue 1168)

Description:
fix auto-scroll for message editing for desktop
Issues:

Issue #1168

Checklist:

[x] the pull request name complies with Conventional Commits
[ ] the pull request name starts with fix(<scope>):, feat(<scope>):, feature(<scope>):, chore(<scope>):, hotfix(<scope>): or e2e(<scope>):. If contains breaking changes then the pull request name must start with fix(<scope>)!:, feat(<scope>)!:, feature(<scope>)!:, chore(<scope>)!:, hotfix(<scope>)!: or e2e(<scope>)!: where <scope> is name of affected project: chat, chat-e2e, overlay, shared, sandbox-overlay, etc.
[ ] the pull request name ends with (Issue #<TICKET_ID>) (comma-separated list of issues)
[ ] I confirm that do not share any confidential information like API keys or any other secrets and private URLs

/deploy-review


Header/AppBar in version 3.2.0

Is there Header or AppBar component in version 3.2.0? I couldn't find.

It's deprecated. There is a code snippet instead.
https://docs.nativebase.io/building-app-bar/


[Refactor] Refactor the code of task worker pool prepared to optimize the mem usage of task worker queue

What type of PR is this：

[ ] bugfix
[ ] feature
[ ] enhancement
[x] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #10388
Problem Summary(Required) ：

Abstract the specific worker pool type to prepare for the later optimization of task worker queue.
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

run starrocks_admit_test

run starrocks_admit_test


_reactLifecyclesCompat.polyfill is not a function

I did a yarn upgrade, and now though gatsby develop gives no errors, I get a blank page, and in the browser console I get:
"_reactLifecyclesCompat.polyfill is not a function"
TypeError: _reactLifecyclesCompat.polyfill is not a function
Stack trace:
./node_modules/react-form-validator-core/lib/ValidatorComponent.js@http://localhost:8000/commons.js:78564:3
__webpack_require__@http://localhost:8000/commons.js:585:12
fn@http://localhost:8000/commons.js:109:20
./node_modules/react-form-validator-core/lib/index.js@http://localhost:8000/commons.js:78786:28
__webpack_require__@http://localhost:8000/commons.js:585:12
fn@http://localhost:8000/commons.js:109:20

...
It seems to be coming from the Contact form.
gatsby build fails with a very similar message:
WebpackError: (0 , _reactLifecyclesCompat.polyfill) is not a function
 - ValidatorComponent.js:177 Object.componentWillMount.__suppressDeprecationWarning
~/react-form-validator-core/lib/ValidatorComponent.js:177:1
 - index.js:3 Object.defineProperty.value
~/react-form-validator-core/lib/index.js:3:1
 - index.js:3 Object.<anonymous>
~/react-material-ui-form-validator/lib/index.js:3:1
 - ContactForm.js:6 Object.defineProperty.value
src/components/ContactForm/ContactForm.js:6:1

I ended up here because I tried deploying to netlify, and they gave the same error, even though gatsby build had worked for me just before I pushed to github!

@DarrenCook
seams that the new version of react-material-ui-form-validator could be a source of that, my yarn outdated says that there was a 'Major Update backward-incompatible update'. So the ContactForm.js component probably needs to be updated in some way.

Thanks for the hint
yarn upgrade<EMAIL_ADDRESS>fixed it. It seems the damage was done somewhere between beta.4 and beta.9.
(I got it working that way before I saw your react-lifecycles-compat suggestion, so cannot say if that approach would also work.)

Installing 'react-lifecycles-compat' allowed localhost:8000 to load on my laptop in lieu of a blank page. Thanks


Converting self-referencing datasets to pydantic's dataset raises RecursionError: maximum recursion depth exceeded while calling a Python object

Checks

[X] I added a descriptive title to this issue
[X] I have searched (google, github) for similar issues and couldn't find anything
[X] I have read and followed the docs and still think this is a bug

Bug
Converting self-referencing datasets to pydantic's dataset raises RecursionError: maximum recursion depth exceeded while calling a Python object.
The expected behavior should be the one described in https://pydantic-docs.helpmanual.io/usage/dataclasses/#stdlib-dataclasses-and-pydantic-dataclasses .
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
             pydantic version: 1.9.1
            pydantic compiled: True
                 install path: /home/master/.../venv/lib/python3.9/site-packages/pydantic
               python version: 3.9.9 (main, Jan  7 2022, 10:36:15)  [GCC 11.1.0]
                     platform: Linux-5.16.15-arch1-1-x86_64-with-glibc2.35
     optional deps. installed: ['dotenv', 'email-validator', 'typing-extensions']

from __future__ import annotations

from dataclasses import dataclass
from pydantic.dataclasses import dataclass as pydantic_dataclass

@dataclass
class Node:
    node: Node

if __name__ == '__main__':
    Node2 = pydantic_dataclass(Node)

Output:
...
  File "pydantic/dataclasses.py", line 186, in pydantic.dataclasses._process_class
    # The name of an attribute on the class where we store the Field
  File "pydantic/main.py", line 988, in pydantic.main.create_model
  File "pydantic/main.py", line 205, in pydantic.main.ModelMetaclass.__new__
  File "pydantic/fields.py", line 491, in pydantic.fields.ModelField.infer
  File "pydantic/fields.py", line 421, in pydantic.fields.ModelField.__init__
  File "pydantic/fields.py", line 542, in pydantic.fields.ModelField.prepare
  File "pydantic/fields.py", line 804, in pydantic.fields.ModelField.populate_validators
  File "pydantic/validators.py", line 683, in find_validators
  File "pydantic/dataclasses.py", line 276, in make_dataclass_validator
    # https://www.python.org/dev/peps/pep-0487/#implementation-details.
  File "pydantic/dataclasses.py", line 265, in pydantic.dataclasses.dataclass
    f'init={self.init!r},'
  File "pydantic/dataclasses.py", line 260, in pydantic.dataclasses.dataclass.wrap
    return ('Field('
  File "pydantic/dataclasses.py", line 159, in pydantic.dataclasses._process_class
    # factory will be used.  This is given a nice repr() which will appear
  File "/home/user/.pyenv/versions/3.9.9/lib/python3.9/dataclasses.py", line 1021, in dataclass
    return wrap(cls)
  File "/home/user/.pyenv/versions/3.9.9/lib/python3.9/dataclasses.py", line 1013, in wrap
    return _process_class(cls, init, repr, eq, order, unsafe_hash, frozen)
  File "/home/user/.pyenv/versions/3.9.9/lib/python3.9/dataclasses.py", line 863, in _process_class
    cls_fields = [_get_field(cls, name, type)
  File "/home/user/.pyenv/versions/3.9.9/lib/python3.9/dataclasses.py", line 863, in <listcomp>
    cls_fields = [_get_field(cls, name, type)
  File "/home/user/.pyenv/versions/3.9.9/lib/python3.9/dataclasses.py", line 685, in _get_field
    f = field(default=default)
  File "/home/user/.pyenv/versions/3.9.9/lib/python3.9/dataclasses.py", line 340, in field
    return Field(default, default_factory, init, repr, hash, compare,
RecursionError: maximum recursion depth exceeded while calling a Python object

Duplicate of #659.
This is fixed in pydantic-core and will be fixed in v2, but it won't be fixed in pydantic v1.

@samuelcolvin , thank you for the help. I totally missed that one!


DRAFT project view

on-going draft to support project tree view for project builder.
Signed-off-by: SaeHie Park<EMAIL_ADDRESS>

For #273


Cannot connect to host error, ssl related

First timer with the tool.
Provided the credentials using a config file (as described in the readme file). Tried to pull the resources from datadog using the command:
$ datadog-sync import --config config

but got the following error:
2024-06-24 13:28:03,544 - ERROR - error while validating api key: Cannot connect to host api.datadoghq.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)')]
Traceback (most recent call last):
  File "aiohttp/connector.py", line 992, in _wrap_create_connection
  File "asyncio/base_events.py", line 1149, in create_connection
  File "asyncio/base_events.py", line 1182, in _create_connection_transport
  File "asyncio/sslproto.py", line 578, in _on_handshake_complete
  File "asyncio/sslproto.py", line 560, in _do_handshake
  File "ssl.py", line 917, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "datadog_sync/utils/configuration.py", line 67, in init_async
  File "datadog_sync/utils/configuration.py", line 194, in _validate_client
  File "datadog_sync/utils/configuration.py", line 188, in _validate_client
  File "datadog_sync/utils/custom_client.py", line 30, in wrapper
  File "aiohttp/client.py", line 1194, in __aenter__
  File "aiohttp/client.py", line 578, in _request
  File "aiohttp/connector.py", line 544, in connect
  File "aiohttp/connector.py", line 911, in _create_connection
  File "aiohttp/connector.py", line 1235, in _create_direct_connection
  File "aiohttp/connector.py", line 1204, in _create_direct_connection
  File "aiohttp/connector.py", line 994, in _wrap_create_connection
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host api.datadoghq.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "datadog_sync/commands/shared/utils.py", line 35, in run_cmd_async
  File "datadog_sync/utils/configuration.py", line 69, in init_async
AttributeError: 'Configuration' object has no attribute '_exit_cleanup'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "datadog_sync/cli.py", line 23, in <module>
  File "click/core.py", line 1157, in __call__
  File "click/core.py", line 1078, in main
  File "click/core.py", line 1688, in invoke
  File "click/core.py", line 1434, in invoke
  File "click/core.py", line 783, in invoke
  File "datadog_sync/commands/_import.py", line 18, in _import
  File "datadog_sync/commands/shared/utils.py", line 19, in run_cmd
  File "asyncio/runners.py", line 194, in run
  File "asyncio/runners.py", line 118, in run
  File "asyncio/base_events.py", line 687, in run_until_complete
  File "datadog_sync/commands/shared/utils.py", line 57, in run_cmd_async
AttributeError: 'NoneType' object has no attribute 'pbar'
[46242] Failed to execute script 'cli' due to unhandled exception!

Steps to reproduce the issue:

Downloaded the datadog-sync-cli-darwin-arm64 file.
Created the config file:

source_api_key="<API_KEY>"
source_app_key="<APP_KEY>"
source_api_url="https://api.datadoghq.com"

run the command:

$ datadog-sync import --config config

Running the tool on macbook pro, m1 chip

Hello, thanks for opening the issue. Looks like github has switched to using m1 runners and it seems the default cert locations are different between GA and locally. We are looking into fixing this.
In the meantime, here are some workarounds:

Set env var SSL_CERT_FILE

or

Install from source: https://github.com/DataDog/datadog-sync-cli?tab=readme-ov-file#installing-from-source

Hi @skarimo
when i set the env var: SSL_CERT_FILE, what should be its value?

This would be where-ever the certs are located. If using certifi, you can get it by running the python script:
import certifi
certifi.where()

It can also be grabbed from openssl, its typically located in its installation directory which can be found using:
openssl version -d

The file should be cert.pem

Assuming i've ran the:
$ export SSL_CERT_FILE=path/to/file/cert.pem
$ datadog-sync import --source-api-key="my_key" --source-app-key="my_app_key" --source-api-url="https://api.datadoghq.com"

i get the following:
2024-06-27 09:50:15,915 - INFO - clients validated successfully
2024-06-27 09:50:15,915 - INFO - Starting import...
2024-06-27 09:50:16,102 - INFO - Getting resources for dashboard_lists
2024-06-27 09:50:16,103 - INFO - Getting resources for dashboards
2024-06-27 09:50:16,104 - INFO - Getting resources for downtime_schedules
2024-06-27 09:50:16,104 - INFO - Getting resources for host_tags
2024-06-27 09:50:16,104 - INFO - Getting resources for logs_indexes
2024-06-27 09:50:16,104 - INFO - Getting resources for logs_indexes_order
2024-06-27 09:50:16,104 - INFO - Getting resources for logs_metrics
2024-06-27 09:50:16,105 - INFO - Getting resources for logs_pipelines
2024-06-27 09:50:16,105 - INFO - Getting resources for logs_pipelines_order
2024-06-27 09:50:16,105 - INFO - Getting resources for logs_restriction_queries
2024-06-27 09:50:16,105 - INFO - Getting resources for metric_percentiles
2024-06-27 09:50:16,105 - INFO - Getting resources for metric_tag_configurations
2024-06-27 09:50:16,106 - INFO - Getting resources for metrics_metadata
2024-06-27 09:50:16,106 - INFO - Getting resources for monitors
2024-06-27 09:50:16,106 - INFO - Getting resources for notebooks
2024-06-27 09:50:16,106 - INFO - Getting resources for powerpacks
2024-06-27 09:50:16,106 - INFO - Getting resources for restriction_policies
2024-06-27 09:50:16,106 - INFO - Getting resources for roles
2024-06-27 09:50:16,106 - INFO - Getting resources for service_level_objectives
2024-06-27 09:50:16,107 - INFO - Getting resources for slo_corrections
2024-06-27 09:50:16,107 - INFO - Getting resources for spans_metrics
2024-06-27 09:50:16,107 - INFO - Getting resources for synthetics_global_variables
2024-06-27 09:50:16,107 - INFO - Getting resources for synthetics_private_locations
2024-06-27 09:50:16,107 - INFO - Getting resources for synthetics_tests
2024-06-27 09:50:16,107 - INFO - Getting resources for teams
2024-06-27 09:50:16,107 - INFO - Getting resources for users
100%|████████████████████████████████████████████████████████████████████████| 26/26 [00:02<00:00, 11.02it/s]
2024-06-27 09:50:18,462 - INFO - Finished getting resources. Successes: 26, Failures: 0, Skipped: 0, Filtered: 0
2024-06-27 09:50:18,462 - INFO - Importing individual resource items
 35%|███████████████████████▋                                           | 1418/4016 [00:03<00:05, 446.92it/s]Usage: datadog-sync [OPTIONS] COMMAND [ARGS]...
Try 'datadog-sync --help' for help.

Error: No such option: -B
100%|████████████████████████████████████████████████████████████████████| 4016/4016 [00:42<00:00, 94.96it/s]
2024-06-27 09:51:00,753 - INFO - Finished importng individual resource items. Successes: 3275, Failures: 0, Skipped: 741, Filtered: 0.
2024-06-27 09:51:00,937 - INFO - Finished import
multiprocessing/resource_tracker.py:123: UserWarning: resource_tracker: process died unexpectedly, relaunching.  Some resources might leak.

it seems that this tool isn't quite ready for use..:/

Hello, we have released 0.11.0  which should resolve the above issues. Feel free to follow up if there are additional questions.


Issue 48 - Add custom assert message

Closes issue #48

@jonatask  I am not sure, how this allows adding custom msg?

@puneet0191 It improves the displayed message in the test report.
Beyond the mismatch percentage, now the message also says which is the baseline it compared against.

@jonatask thanks for the clarification, but issue https://github.com/codecept-js/codeceptjs-resemblehelper/issues/48 talks about custom assert message or ability to pass such message as parameter.
Also could you please fix merge conflict so I could merge it to 1.9.1 and prepare for release

@puneet0191 The conflict has been changed.


Update to mailbox auditing config doesn't work using Mac OS X powershell

Following recommendation from https://securescore.office.com/#!/dashboard I went to https://github.com/OfficeDev/O365-InvestigationTooling/blob/master/EnableMailboxAuditing.ps1 and then installed powershell for Mac. Would have been good if it mentioned that this doesn't work! I guess related to https://github.com/PowerShell/PowerShell/issues/3708 but not sure.

What is the specific error you are receiving?
Last I tried, you can connect to office365 EXO from pwsh on Mac/Linux as long as you are not using MFA.

@mcvic1rj that would be it. I just turned on MFA as part of the Secure Score work! Can I use an 'app password'..? as defined at https://account.activedirectory.windowsazure.com/AppPasswords.aspx

It does work with an 'app password'. Apart from the Out-Gridview bit, which said it was not recognised (but I don't think this matters).

Out-GridView was something that was not brought over to pwsh v6. With this script there are a few options to make it cross compatible:

Remove the “Verify” Section
Rebuild the “Verify” Section to support pwsh v6 (possibly exporting the list as a CSV)
Ignore this problem until Out-GridView is supported in pwsh v6 issue 3957

What option above do you think would fix this issue for you?

I just removed the | Out-GridView bit and it worked fine :)


Enable Diagnostic Settings for PubSec-Info-Assistant Resources in Terraform

Enable the diagnostic settings for the Azure Resources deployed by the PubSec-Info-Assistant solution via Terraform to allow troubleshooting and monitoring.

I am closing this PR as we already have this in our next release v1.2


array of result to result of array AND Result.mapError

convert array of result to result of array

I have tests that all pass but I couldn't figure out how to run them in your system. Tests like this. They were pretty trivial to write.
  test("when only error, take first", _ => {
    let input = [Error("a"), Error("b")]
    let res = input->ResultUtil.fromArray
    res->expect->toEqual(Error("a"))
  })

I have had to write this function MANY times. Writing it in functional style is a little tricky, requiring array.reduce. I finally tried to do it in imperative style for better performance, and here it is.

There's no reason a recursive version wouldn't be just as fast. There's also a couple other things we can do to make it significantly faster, 1. create the whole array uninitialized, and 2. use unchecked array get and set.
Haven't tested this for either performance or correctness, but have a look at the generated JavaScript. It might surprise you :)
@new external makeUninitializedUnsafe: int => array<'a> = "Array"

let fromArrayWith2 = (xs, f) => {
  let oks = makeUninitializedUnsafe(xs->Array.length)

  let rec loop = i =>
    if i >= xs->Array.length {
      Ok(oks)
    } else {
      switch xs->Array.getUnsafe(i)->f {
      | Ok(x) =>
        oks->Array.setUnsafe(i, x)
        loop(i + 1)
      | Error(_) as err => err
      }
    }

  loop(0)
}

I have tests that all pass but I couldn't figure out how to run them in your system. Tests like this. They were pretty trivial to write.
  test("when only error, take first", _ => {
    let input = [Error("a"), Error("b")]
    let res = input->ResultUtil.fromArray
    res->expect->toEqual(Error("a"))
  })

This is a translation of that test to the framework used here (given that eq is defined in the test module):
Test.run(__POS_OF__("when only error, take first"), [Error("a"), Error("b")]->Result.fromArray, eq, Error("a"))

Ok trying to incorporate tests. Also not compiling because I was using a different Array module that had a push method. Confusing. Will work it out.

I'm not too savvy with pull requests. My last two commits are for Result.mapError, a useful function for railway-oriented programming and getting all the errors in a consistent form. F# has this in their core library.

Do lists get used? For completeness maybe there should be a version for lists? What's a good name for this? Where will it get discovered?
Result.fromArray
Result.fromList
Result.fromArrayOfResults
Result.fromListOfResults
Result.collectFromArray
Result.collectFromList
Result.fromResultArray
Result.fromResultList
Result.fromManyInArray
Result.fromManyInList
And/Or flip side...
Array.toResult
Array.collectResults
Array.reduceResults

I also find mapError and fromArray useful. 👍 Not sure about the naming for fromArrayWith. With what? 🙂 Maybe it should be fromArrayWithMap? As we also have Array.fromWithMap.
I would not add more functions for now.

I feel very confident that Result.mapError should be included. This is in almost every other result module - F#, Rust, fp-ts.
I'm less confident in the fromArrayWith and fromArray. In the functional programming world these are traverse and sequence. fp-ts has a traverseWithIndex. The F# article below shows a good example of transforming an option, which you can think of as a list of 0 or 1 items, into a result. There are flavors of this kind of function where you get all the errors, which seems useful but less useful. F# doesn't have this. I think the terms "sequence" and "traverse" are a bit technical and prefer terms like fromArrayWithMap or fromMany or fromManyWithMap or invertArrayWithMap etc.
let fromOption: (option<'a>, 'a => result<'b, 'c>) => result<option<'b>, 'c>

https://fsharpforfunandprofit.com/posts/elevated-world-4/#traverse
https://gcanti.github.io/fp-ts/modules/Traversable.ts.html
https://stackoverflow.com/questions/50789065/turn-list-of-result-into-result-of-list-inside-a-computation-expression

I agree mapError looks useful and within scope, but fromArray doesn't feel broad enough. Would you split these up in separate PRs so it's easier to treat them individually?

Closing since I split this into two others.


Exception occured after minor modifications in the code

As I made minor changes in my project, I now have some runs, that throw a java.util.ConcurrentModificationException.
My changes were basically:

setting a fixture as sensor and

picking values from fixtures AABB

But as I mentioned before, I only get this exception in some runs and I use the modified code in all the runs.
Exception in thread "Thread-3" java.util.ConcurrentModificationException
	at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:711)
	at java.util.LinkedHashMap$LinkedValueIterator.next(LinkedHashMap.java:739)
	at dyn4j.collision.broadphase.DynamicAABBTree.detect(DynamicAABBTree.java:255)
	at dyn4j.dynamics.World.detect(World.java:732)
	at dyn4j.dynamics.World.step(World.java:663)
	at dyn4j.dynamics.World.update(World.java:395)
	at dyn4j.dynamics.World.update(World.java:290)
	at simulationframework.SimulationFrame.update(SimulationFrame.java:494)
	at simulationframework.SimulationFrame.gameLoop(SimulationFrame.java:266)
	at simulationframework.SimulationFrame.access$0(SimulationFrame.java:236)
	at simulationframework.SimulationFrame$2.run(SimulationFrame.java:208)

I have no idea which of my changes caused the appearence of the exception.
I would appreciate to get a idea what is going wrong here.
Thank you very much in advance for other ideas or some hints. :)

A ConcurrentModificationException should only occur in the DynamicAABBTree if you are modifying the broadphase while the detect method is executing.  That would include adding new bodies, removing bodies, adding new fixtures to bodies, or removing fixtures from bodies.
It's unlikely you are calling the DynamicAABBTree methods directly to cause this problem, but the following methods could if called from the wrong context: Body.removeFixture, Body.addFixture, Body.removeAllFixtures, Body.getFixtureIterator().remove, World.addBody, World.removeBody, World.getBodyIterator().remove, World.removeAllBodies, and World.removeAllBodiesAndJoints.
These methods should not be called from within the Listener methods and all from the same UI/gameloop thread.  The World can be built outside of the main thread, but once the render loop is running - all modifications must happen from within that thread.
Can you post any of the code that's generating this error?

Thank you for that hint. It seems that it was a incorrect use of the addFixture-method. I have modified the code and the exception did not occure since then.

The exception is unfortunately not yet definitively excluded. If the exception occurs in the debug-run, it is always between two nodes of a simulation body that was formed from a link convex.
The body is created using hte following code:
    	List<Link> pointLinks = Geometry.createLinks(pointList, false);
            SimulationBody body = new SimulationBody();
	for (Link link : pointLinks)
	{
		body.addFixture(link);
	}
	body.setMass(MassType.INFINITE);
	body.setColor(Color.BLACK);
	body.setUserData(new DataContainer("test"));
	world.addBody(body);

Did I make a mistake in creating this body?
Thank you very much in advance for other ideas or some hints. :)

@moleprogrammer Did you find your problem?  All signs point to either:

Modifying a list while iterating over it
Or running multiple threads and modifying the world (or anything related to it) on multiple threads.


Pagination for  Table

Could you please add pagination for Table.

Pagination can be implemented as a higher order component. I think it's not table reponsibility

Hi @javivelasco , how you will build an HOC for pagination ?
For example, you will merge the existing source with a new one ? In this way, the Table component will re-render the entire dataset... no ?
The visua effect is a full re-load of the table, right ?

Well, I did not wrote an example but I think that if you're willing to use a table providing a source, mutating that source should be enough to get a pagination. You can create a component that renders the Table and gets some props to render also buttons with prev and next. Tracking the current segment of the source you want to render would be the hoc responsibility. The visual effect depends on how you implement the source too.
If you use something like immutablejs each I think each row would compare the ref and would not get re-rendered. It all depends on what do you pass down to the Table. Maybe the terms I used were not correct, I was referring to a wrapper component that renders the table along with some controls, not exactly an hoc.

I found this cool react library which basically paginate your data.
https://github.com/AdeleD/react-paginate


Fix spark400 build in datagen and tests

Fixes #11372.  Adds expression shims for code that's trying to build Column from expressions or extract an expression from a Column.  Also unshims and removes an unnecessary base class that no longer needs to be shimmed.

build

the change would fail shims other than 400 like spark320,
[2024-08-22T00:01:16.183Z] [INFO] --- scala-maven-plugin:4.9.1:testCompile (scala-test-compile-first) @ rapids-4-spark-tests_2.12 ---
[2024-08-22T00:01:16.183Z] [INFO] Compiler bridge file: /home/jenkins/agent/workspace/jenkins-rapids_premerge-github-9916/target/spark320/.sbt/1.0/zinc/org.scala-sbt/org.scala-sbt-compiler-bridge_2.12-1.10.0-bin_2.12.15__52.0-1.10.0_20240505T232140.jar
[2024-08-22T00:01:28.363Z] [INFO] compiling 143 Scala sources and 2 Java sources to /home/jenkins/agent/workspace/jenkins-rapids_premerge-github-9916/tests/target/spark320/test-classes ...
[2024-08-22T00:01:28.363Z] [ERROR] [Error] /home/jenkins/agent/workspace/jenkins-rapids_premerge-github-9916/tests/src/test/scala/org/apache/spark/sql/rapids/ProjectExprSuite.scala:34: object DataGenExprShims is not a member of package org.apache.spark.sql.tests.datagen
[2024-08-22T00:01:28.363Z] [ERROR] [Error] /home/jenkins/agent/workspace/jenkins-rapids_premerge-github-9916/tests/src/test/scala/org/apache/spark/sql/rapids/ProjectExprSuite.scala:191: not found: value DataGenExprShims
[2024-08-22T00:01:28.363Z] [ERROR] [Error] /home/jenkins/agent/workspace/jenkins-rapids_premerge-github-9916/tests/src/test/scala/org/apache/spark/sql/rapids/ProjectExprSuite.scala:195: not found: value DataGenExprShims
[2024-08-22T00:01:28.363Z] [ERROR] [Error] /home/jenkins/agent/workspace/jenkins-rapids_premerge-github-9916/tests/src/test/scala/org/apache/spark/sql/rapids/ProjectExprSuite.scala:198: not found: value DataGenExprShims
[2024-08-22T00:01:28.363Z] [ERROR] [Error] /home/jenkins/agent/workspace/jenkins-rapids_premerge-github-9916/tests/src/test/scala/org/apache/spark/sql/rapids/ProjectExprSuite.scala:34: Unused import
[2024-08-22T00:01:28.363Z] [ERROR] [Error] /home/jenkins/agent/workspace/jenkins-rapids_premerge-github-9916/tests/src/test/scala/org/apache/spark/sql/timezone/TimeZonePerfUtils.scala:57: not found: value DataGenExprShims
[2024-08-22T00:01:28.364Z] [ERROR] [Error] /home/jenkins/agent/workspace/jenkins-rapids_premerge-github-9916/tests/src/test/scala/org/apache/spark/sql/timezone/TimeZonePerfUtils.scala:58: not found: value DataGenExprShims

the change would fail shims other than 400 like spark320

Weird, the github workflow matrix builds for 320 passed, so wonder how the blossom CI failed to build.  I also tested this locally before pushing the changes, and it compiled for spark320 and passed the test that is somehow failing to build in blossom CI.

The CI failure is due to a bug where CI ends up downloading nightly snapshot artifacts to test against rather than the artifacts built from the PR premerge build.  See #11382.

build


Requesting code with handling segmentation image

Hello, Thank u for sharing your great work.
I downloaded your segmentation images which is divided into 36 pieces.
I want to check these into panoramic image.
Is there any code with attaching 36 pieces to one panoramic image?
Could you please share code?
Thank you.

I do not have a stitching code in hand but I could provide the code that I generate these views.
The code to generate these segmentations is modified from the matterport3D repo. I am not an expert in Graphics thus I hack the code for rendering these images.
The code is here:
https://drive.google.com/file/d/1XghR5ymJGzIFvV5t1cOQwTR_HkBz6Lzo/view
The main hacked function is mpview::GLUTRedraw. I also modified many other parts to make it possible.

Thank u and sorry... I saw your reply too late


Calculate units of alcohol from wave-specific data

Unit estimation
This paper (Iparraguirre 2015) estimates the units drank based on information from the individual wave data files that is not then included in the harmonised data. Specifically, three variables are included from wave 4 onwards:

pints of beer consumed in the past week
glasses of wine consumed in the past week
measures of spirit consumed in the past week

The paper then uses 3 different calculators to work out the number of units from these three measures NHS, General Lifestyle Survey (GLS), and drinkaware. I think the NHS guidelines would be a good place to start.
In practical terms then, to use this information we would need another script to run during reshape_long.do, probably best to do this before the data is reshaped as I think it makes more sense that way. We would need to load in the datafiles 1 by 1 (which may mean copying the wave 4-9 wave_x_elsa_data_v3.dta files into input_data/, haven't decided on this yet), then use the information for each idauniq to calculate number of units and add this onto the harmonised wide format dataset. Makes sense to open a new issue for this problem.
Originally posted by @ld-archer in https://github.com/ld-archer/E_FEM/issues/77#issuecomment-959716849

[ ] Write script to be run in reshape_long.do and generate a separate value for each of pints of beer, glasses of wine, and measures of spirits

Variables are:

scdrspi: Number of measures of spirit the respondent had in the last 7 days
scdrwin: Number of glasses of wine the respondent had in the last 7 days
scdrpin: Number of pints of beer the respondent had in the last 7 days

[ ] Add the new units variable to the data reshape and check it has worked properly
[ ] Generate an ordinal variable for the type of drinker:

Abstainer
Moderate
Increasing-risk
High-risk

[ ] Create dummys for the ordinal variable for use in transition models
[ ] Go through the checklist and add the vars to all the scripts where they are needed (remove problem_drinker also)

Another thing to think about - this information is collected for the timespan of the week preceding the survey from waves 4 onwards, whereas waves 2&3 have this information for the heaviest day in the past week. I think the best way to deal with this is therefore to calculate the units from wave 4+ over the past week, then impute this variable for waves 1-3. Either using hotdecking or multiple imputation in stata.

[ ] Impute weekly units for waves 1-3

Produce some summary stats from the alcbase variable:

Mean units by drinking group (abstainer, moderate etc.)
% missing in each wave
% missing by:

gender
age group
education level

Produce regression estimates both WITH and WITHOUT including l2alcbase in prediction of alcbase. Look at coefficients here, I am assuming that the coefficient of l2alcbase will be close to 1 for alcbase but might be interesting.
Send this stuff to Bryan.

Need to do accounting of the alcbase variables in HealthModule.cpp
This means things like making sure drink == 1 if alcbase > 0. Check out the old code for smkint (and remove that at the same time) as well as exstat and adlstat.

Some progress since last update but also a lot of new questions raised. Additional wave specific variables with information about alcohol consumption have been included in the process to better categorise those with missing data on drinks, however this is only truly helpful in the identification of abstainers and has raised more issues. Those issues being:

How do we really know if someone abstains from all alcohol use or just had a week off drinking?
Those who are not true abstainers but drink infrequently are different to true abstainers in terms of health and social life, how do we identify those people and represent that in the model?
The alcohol consumption information is asked in the self-completion questionnaire and not the core ELSA survey. Does this introduce any bias in terms of people (or groups) that did not take part in the self-completion part of the survey?
How can we improve the prediction of alcbase, as the current iteration shows some regression to the mean.

Some answers and thoughts:
Abstainers
True abstainers are hard to identify in ELSA, but other variables can help to solve this problem. The scako variable reports how often a respondent has consumed alcohol over the past 12 months, ranging from 'not at all' to 'every day'. Those who answered 'not at all' can be considered true abstainers, whilst decisions have to be made regarding some groups (such as those who drink once or twice a year, up to once or twice a month).
Infrequent drinkers
Using the same variable (scako), we can identify people who report drinking 'once or twice a week' or more, and have reported zero units in the week leading up to the survey. In the current version of alcbase, we are saying these people are the same as abstainers in terms of alcohol consumption, but this is obviously incorrect. We therefore need a cleverer way of handling the infrequent drinkers. One solution here is to collect people into groups based on their response to scako, and impute their weekly based on values from others within the group. We could also do this annually (by multiplying the weekly by 52), which would help with the really infrequent drinkers (i.e. less than once or twice a month). We would have to convert back to a weekly consumption. This is difficult, and would probably introduce bias or error where someone has a heavy day once per month which just happens to be in the week before the survey, but could be an improvement as long as we check it thoroughly (potentially using data from Understanding Society or some other survey that reports alcohol consumption).

[ ] Handle the infrequent drinkers by imputing a yearly consumption and calculating weekly

Self-completion vs Core
Alcohol consumption is only asked in the self-completion questionnaire from wave 4 onwards (where the good data on this is). We need to check that this is not introducing too much bias, or at least be aware of what bias it does introduce. From very quick checks, response to the self-completion questionnaire is higher for younger age groups, higher education levels, married people, healthier people (srh of Good to Excellent), and non-disabled (anyadl == 0). We need to get a good idea of the bias involved so would probably be good to make an R Notebook detailing the differences between the core and self-completion samples.

[ ] Make R Notebook to highlight differences between the core and self-completion samples and therefore the biases we could be introducing using this data.

Improve Prediction of Alcbase
Prediction of alcbase currently shows some regression to the mean. High risk drinkers become less common over time until they completely disappear. Including l2alcbase in the transition model is a good start, but there is more to do. First step would be to turn the prediction of consumption into a 2 stage process, starting with whether the simulant drinks alcohol at all, and then how much. Another way to keep hold of the long right tail is to add 'knots' in the prediction of alcbase, similar to the work we did with BMI (BMI has a 'knot' at BMI == 30 to maintain those who are above this point). A good place to start in terms of knot points is the categories of abstainer, moderate, increasingRisk and highRisk, but these are gender specific values so will need to do something about that. Either have each term in the model be an interaction between male and term (i.e. male * hsless) or the better way is to have a separate model for each gender (more complicated but cleaner).

[ ] Convert prediction of alcohol into 2 stage process

[ ] New binary for drinks at all
[ ] If simulant does drink, predict how much

[ ] Add knots to alcbase values in the alcbase transition model

[ ] Turn alcbase prediction into a gender specific model using different values for knot points

Improve Prediction of Alcbase
Prediction of alcbase currently shows some regression to the mean. High risk drinkers become less common over time until they completely disappear. Including l2alcbase in the transition model is a good start, but there is more to do. First step would be to turn the prediction of consumption into a 2 stage process, starting with whether the simulant drinks alcohol at all, and then how much. Another way to keep hold of the long right tail is to add 'knots' in the prediction of alcbase, similar to the work we did with BMI (BMI has a 'knot' at BMI == 30 to maintain those who are above this point). A good place to start in terms of knot points is the categories of abstainer, moderate, increasingRisk and highRisk, but these are gender specific values so will need to do something about that. Either have each term in the model be an interaction between male and term (i.e. male * hsless) or the better way is to have a separate model for each gender (more complicated but cleaner).

[ ] Convert prediction of alcohol into 2 stage process

[ ] Use current drink variable as it is based on scako == 8 (not at all in last 12 months)
[ ] If simulant does drink, predict how much

[ ] This will require some accounting in HealthModule (i.e. going from drink==1 -> drink == 0 means alcbase->0

[ ] Add knots to alcbase values in the alcbase transition model

[ ] Turn alcbase prediction into a gender specific model using different values for knot points

This idea has now been superceded slightly. Instead of calculating alcbase for each wave and predicting this variable, I am going to try to include the variables for consumption of each individual drink type (beer, wine, spirits), and predict a value for each of these independently using poisson regression. The combined units drank will then be calculated after prediction. Therefore I'm closing this issue.


added installation of required dependencies

#141

PR-Codex overview
This PR focuses on updating the workflow file to install Python and its dependencies, and removing the installation of Ruby.
Detailed summary

Updated workflow file to install Python 3 and pip.
Removed installation of Ruby.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@yegor256 I forgot to install requests library. Could you please have a look?

@Graur thanks


approve_after_days  option is not available on approval_rule

Have a question? Please checkout our Slack Community or visit our Slack Archive.

Describe the Feature
approve_after_days  - The cutoff date for auto approval of released patches. Any patches released on or before this date are installed automatically. Date is formatted as YYYY-MM-DD
A clear and concise description of what the bug is.
approve_after_days   option is missing in creating patch base line rule
Expected Behavior
A clear and concise description of what you expected to happen.
Use Case
approve_after_days  - can help us to approve the update within the timeline. so that we can test patches in development and we can approve to production
Is your feature request related to a problem/challenge you are trying to solve? Please provide some additional context of why this feature or capability will be valuable.
Describe Ideal Solution
A clear and concise description of what you want to happen. If you don't know, that's okay.
Alternatives Considered
Explain what alternative solutions or features you've considered.
Additional Context
Add any other context or screenshots about the feature request here.

PRs are welcome, if you think you need this feature, please feel free to create a PR and we will review it.

Raised the PR but it got failed with some naming . so can you please help
https://github.com/cloudposse/terraform-aws-ssm-patch-manager/pull/9#event-5546856081


Bot not capturing lured pokemon (Is the API changed again? Are they banning bots now?)

Logs:
2016-08-08 12:09:08,492 [HandleSoftBan] [INFO] [softban_fix_done] Softban should be fixed
2016-08-08 12:09:15,664 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Hernshead Cove (e969a1f4238d415eb7f5a7025e7218f1.16)
2016-08-08 12:09:17,796 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Hernshead Cove (e969a1f4238d415eb7f5a7025e7218f1.16)
2016-08-08 12:09:20,121 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Hernshead Cove (e969a1f4238d415eb7f5a7025e7218f1.16)
2016-08-08 12:09:22,200 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Hernshead Cove (e969a1f4238d415eb7f5a7025e7218f1.16)
2016-08-08 12:09:24,298 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Hernshead Cove (e969a1f4238d415eb7f5a7025e7218f1.16)
2016-08-08 12:09:25,720 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Hernshead Cove (e969a1f4238d415eb7f5a7025e7218f1.16)
2016-08-08 12:09:26,858 [FollowSpiral] [INFO] [position_update] Walking from (40.77704273907468, -73.97311948659363, 0) to (40.776592433043376, -73.973119
2016-08-08 12:09:28,006 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Hernshead Cove (e969a1f4238d415eb7f5a7025e7218f1.16)
2016-08-08 12:09:29,802 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Hernshead Cove (e969a1f4238d415eb7f5a7025e7218f1.16)
2016-08-08 12:09:31,461 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Hernshead Cove (e969a1f4238d415eb7f5a7025e7218f1.16)
2016-08-08 12:09:33,523 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Hernshead Cove (e969a1f4238d415eb7f5a7025e7218f1.16)
2016-08-08 12:09:35,369 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Hernshead Cove (e969a1f4238d415eb7f5a7025e7218f1.16)
2016-08-08 12:09:37,191 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Hernshead Cove (e969a1f4238d415eb7f5a7025e7218f1.16)
2016-08-08 12:09:39,658 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Hernshead Cove (e969a1f4238d415eb7f5a7025e7218f1.16)
2016-08-08 12:09:41,438 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Hernshead Cove (e969a1f4238d415eb7f5a7025e7218f1.16)
2016-08-08 12:09:43,651 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Walk Through Life (34feb18cc0d94e3db6a14c8ac3942ace.16)
2016-08-08 12:09:45,874 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Walk Through Life (34feb18cc0d94e3db6a14c8ac3942ace.16)
2016-08-08 12:09:48,082 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Walk Through Life (34feb18cc0d94e3db6a14c8ac3942ace.16)
2016-08-08 12:09:49,845 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Walk Through Life (34feb18cc0d94e3db6a14c8ac3942ace.16)
2016-08-08 12:09:51,211 [FollowSpiral] [INFO] [position_update] Walking from (40.776592433043376, -73.97311948659363, 0) to (40.776592433043376, -73.97253
2016-08-08 12:09:52,200 [CatchLuredPokemon] [INFO] [lured_pokemon_found] Lured pokemon at fort Walk Through Life (34feb18cc0d94e3db6a14c8ac3942ace.16)

configs:
    "tasks": [
      {
        "type": "HandleSoftBan"
      },
      {
        "type": "IncubateEggs",
        "config": {
          "longer_eggs_first": true
        }
      },
      {
        "type": "CatchVisiblePokemon"
      },
      {
        "type": "CatchLuredPokemon"
      },
      {
        "type": "TransferPokemon"
      },
      {
        "type": "SpinFort"
      },
      {
        "type": "RecycleItems",
        "config": {
          "item_filter": {
            "Potion":         { "keep" : 0 },
            "Super Potion":   { "keep" : 50 },
            "Hyper Potion":   { "keep" : 50 },
            "Max Potion":     { "keep" : 50 },
            "Revive":         { "keep" : 0 },
            "Max Revive":     { "keep" : 50 },
            "Pokeball":       { "keep" : 100 }
          }
        }
      },
      {
        "type": "FollowSpiral",
        "config": {
          "diameter": 20,
          "step_size": 50
        }
      },
      {
        "type": "CollectLevelUpReward"
      }
    ],

Help!

Is your bag full?

No.
 Pokemon Bag: 282/400
 Items: 319/350

You are still walking?
Look at the and of your script
like
2016-08-08 10:51:30,891 [       cli] [INFO] Travelled 32.21km

It happens to me when i run more than 3 bots.

Mine works. You might need to proxy your connection.

#3103 Use this.

@JaroSound running on a ARM or something? Maybe lack of CPU? I've had this issue before...

@d0s000m It's not walking. Am I banned?

@TianCNCA I dont know i have the same problem #3019
he show only that iam walking but iam not walking
on my phone i can use my account normal

same problem in ubuntu 14.04
but it looks perfect in Mac OS
(That is , it just walk but no capture in ubntu.
But in MAC OS , it can walk and capture both.)

@rex5207
I have try this with other ip's and its working, so maybe your ip are blacklistet

@d0s000m
and........I don't know why but it works fine in my ubuntu now !!
anyway , thanks for your help : )

I have the same problem on Windows 10 64bit no idea what to do or how to fix sometimes its fixed by it self i see it capture pokemons but then 1min later same

Exactly the same problem on Mac. Same log file.

Problem solved. The first thing to check is whether the pokemon bag is full.


Added validation for Image bounds

Previously the Image element would allow passing in bounds which did not match the coordinates that were declared. This adds validation ensuring that if both bounds and coordinates are passed they are appropriately validated.

[x] Add unit test

Makes sense and I don't think there is any scope for problems regarding floating point precision matching issues...

Makes sense and I don't think there is any scope for problems regarding floating point precision matching issues...

Seems like that is not the case, I think this is too hairy to attempt right now. There are certain cases where the bounds indeed differ slightly, which would be fine but there are some cases using the ImageInterface where it is not and np.isclose does not work on datetimes.
The temporary solution I'm going to suggest is threefold:

I'm going to validate all interfaces except the ImageInterface
I'm not going to validate datetime types for the time being because I don't currently have an implementation akin to np.isclose
I'm going to de-prioritize the ImageInterface (which imo is the correct thing anyway), if you pass in a tuple of coordinates along with the array it should not throw away the coordinates and use bounds instead

This addresses the vast majority of cases but I'll file an issue to follow up later.

Steps 1 and 2 are sensible. Although I agree with step 3 as well, that is the riskiest step as it might have some impact on backwards compatibility.

I've now also addressed point 1, leaving just 2 and 3. I'd be okay postponing the change to the precedence order and merge it once 1.10.2 is out to give it some of testing. I do consider it a bug though and would prefer to switch it before 1.11.

This PR suffers from this issue: https://github.com/ioam/holoviews/issues/2619 forcing me to update the test data.

Ready to review/merge, I'll open a new issue about dropping the precedence of the image interface once this is merged.

Looks good and I am glad we aren't changing the precedence just yet.

I'll open a new issue about dropping the precedence of the image interface once this is merged.

Please do. Merging.


Nit: change wording of counter creation expect

Motivation
Was raised to my attention on https://github.com/linera-io/linera-protocol/pull/1133 that there's a preferred way to word these
Proposal
Word it in the preferred way
Test Plan
CI

Current dependencies on/for this PR:

main

PR #1135   👈

This comment was auto-generated by Graphite.


Removes the oci.test.exe binary.

Not sure why this was checked in from #2981.
Signed-off-by: Eric Hotinger<EMAIL_ADDRESS>

LGTM

Codecov Report

Merging #2989 into master will increase coverage by 2.78%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2989      +/-   ##
==========================================
+ Coverage   41.18%   43.96%   +2.78%
==========================================
  Files          71      102      +31
  Lines        9531    10881    +1350
==========================================
+ Hits         3925     4784     +859
- Misses       5044     5362     +318
- Partials      562      735     +173

Flag
Coverage Δ

#linux
47.58% <ø> (?)

#windows
41.18% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

mount/temp_unix.go
0% <0%> (ø)

sys/reaper_linux.go
0% <0%> (ø)

services/server/server_linux.go
0% <0%> (ø)

sys/env.go
100% <0%> (ø)

sys/stat_unix.go
0% <0%> (ø)

runtime/v2/shim/shim_unix.go
0% <0%> (ø)

sys/reaper.go
0% <0%> (ø)

sys/fds.go
0% <0%> (ø)

runtime/v2/shim/reaper_unix.go
0% <0%> (ø)

sys/proc.go
0% <0%> (ø)

... and 27 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 0b89d42...0190e5f. Read the comment docs.

Thanks guys. Sorry about that. I should probably update .gitignore to include all .exe's.


Pixi.js in isomorphic React app

I use React Starter Kit: https://github.com/kriasoft/react-starter-kit
I install Pixi.js and react-pixi-fiber packages and it is not working. After researching, there are problems cause isomorphic server side by Node.js.
Is it possible to use Pixi.js in React isomorphic app? Thanks.

PixiJS doesn't work server-side yet (pure node.js environments), but we have a plan to fix this. There are attempts out there to get SSR to work using shims for all the DOM bits in Pixi, but these solutions are probably not production quality.


Change or add simpler cache settings

While the Read Behind / Read Ahead cache settings are easy to understand and work fine for movies.  When dealing with image sequences, you want to maximize the memory (ie. set a specific value in GB and forget about it).

You can do a rough conversion using the timeline information:
4 GB of cache = 4,000,000,000 bytes
Number of frames = 4,000,000,000 / (videoWidth * videoHeight * videoPixelByteCount)
Number of seconds = frames / videoSpeed

However this doesn't necessarily work for .otio files which can have multiple tracks or transitions leading to multiple images per frame.
It also seems like the cache should account for audio data so the maximum amount of memory isn't exceeded.

@darbyjohnston I have two users already requesting this feature.  See:
https://github.com/ggarra13/mrv2/issues/6
I think this should be made a priority.

Here's code I wrote to check the memory use/amount physical and virtual on all platforms.  That may help you out.
memory.zip

Did you try my suggestion for calculating an estimate based on the video dimensions? You would need to do that each time a new file is loaded, and adjust the read ahead / read behind as necessary.

@darbyjohnston I just added the option now.  It works for most stuff pretty well.  However, even though in my new computer (yeah!  I bought one :) I have 32GB of RAM, when I set it to 24GB and tried it with SolLevante, the cache line displayed that it could handle it, but there were hiccups in the playback,  When I set it to default of 4.0 read ahead and 0.5 read behind it played fine all the way.

Nice, what kind of computer did you get?
Maybe try checking the system monitor and make sure it shows the memory usage you are expecting.

I got a gaming machiine, as that's the best I can get here in Argentina due to imports being blocked.  AMD Ryzen 7, NVidia GTX 3080, 32 GB Ram.  It can play 8K webm movies with mrv2 which is good at least.
After testing out the GB parameter, I think that will work, for my users.  The SolLevante issue seems to be a hard-disk issue, as the memory and read cache works fine, but the playback on the final titles stutters, for example.

Let's keep this issue open, using the video dimensions for calculating the size is just a temporary measure and a better caching system is definitely needed.
Sounds like a capable machine, what kind of hard-disk? My workstation has similar specs and seems to play back the Sol Levante movie OK. I am playing it back from a pair of SATA SSDs in RAID 0.
That's great to hear about the webms, I haven't really tested with 8K yet. Besides the movie decoding, allocating memory for the frames and uploading them to the GPU takes quite a bit of bandwidth.

Sorry for closing the issue.  I clicked on the wrong button.
I can play SolLevante with the default cache settings just fine.  They are roughly equivalent to 4Gb of my settings.   I tried it with 4Gb and 8Gb and with both it plays fine.
But when I crank the Gb setting to 16 or so, the playback of SolLevante suffers on the title credits.  The scrolling of the credits becomes jittery and the audio cache goes berserk caching many seconds (the higher the mem I use the more audio it preloads).
If you cannot reproduce it with tlplay, let me know what platform you use and I can send you a link to a copy of the latest mrv2 with the Gigabytes controls.

I apologyze for the incorrect bug report.  I had miscalculated the Read Ahead formula by 5 times, that's what was it over-allocating.  Now I find that it under-allocated the memory.  Even when I set it to 31GB, it uses about 8GB on Linux.

A user sent me a simple dummy sequence of 4K, with a pixel ratio of 2 (anamorphic).
https://1drv.ms/u/s!AlOpRG0iPvzdhKMZuZBy9KfbkZYk6w?e=6hXCI9
mrv2 plays it fine forwards, but it struggles to play it back backwards for a strange reason.  I am using the default PlaybackCache() settings with the following code:

        if (Gbytes > 0)
        {
            const size_t activeCount = p.filesModel->observeActive()->getSize();

            uint64_t bytes = Gbytes * 1024 * 1024 * 1024;
            auto player = p.timelinePlayers[0];

            const auto timeline = player->timeline();
            const auto ioInfo = timeline->getIOInfo();
            double seconds = 1.F;
            if (!ioInfo.video.empty())
            {
                const auto& video = ioInfo.video[0];
                auto pixelType = video.pixelType;
                uint8_t bitDepth = imaging::getBitDepth(pixelType);
                uint64_t size = video.size.w * video.size.h * bitDepth;
                double frames = bytes / (double)size;
                seconds = frames / player->defaultSpeed();
            }
            if (ioInfo.audio.isValid())
            {
                const auto& audio = ioInfo.audio;
                size_t channelCount = audio.channelCount;
                size_t byteCount = audio::getByteCount(audio.dataType);
                size_t sampleRate = audio.sampleRate;
                uint64_t size = sampleRate * byteCount * channelCount;
                seconds -= size / 1024.0 / 1024.0;
            }

            constexpr double defaultReadAhead =
                timeline::PlayerCacheOptions().readAhead.value();
            constexpr double defaultReadBehind =
                timeline::PlayerCacheOptions().readBehind.value();
            constexpr double totalTime = defaultReadAhead + defaultReadBehind;
            constexpr double readAhead = defaultReadAhead / totalTime;
            constexpr double readBehind = defaultReadBehind / totalTime;

            options.readAhead = otime::RationalTime(
                seconds * readAhead / static_cast<double>(activeCount), 1.0);
            options.readBehind = otime::RationalTime(
                seconds * readBehind / static_cast<double>(activeCount), 1.0);
        }

Sorry, the under-allocation is probably due to YUV frames, the conversion I mentioned above is for RGB. Use the function std::size_t tl::imaging::getDataByteCount(const Info&);, it will take into account all of the different pixel formats including YUV.


[Blazor] preview8 @ref codegen field does work in intellisense but not on build

Describe the bug
The automatic field generation for @ref does work inside visual studio intellisense but not when building the project.
To Reproduce
Steps to reproduce the behavior:

Using dotnet 3.0.100-preview8-013656 and VS 16.3.0 Preview 2.0
Create new blazor server-side project.
Add @ref="ele" to an element inside of the Counter component
Reference the field inside of @code. E.g. ele.ToString();
Intellisense is working fine.
Build results in error: Pages\Counter.razor(14,9,14,12): error CS0103: Der Name "ele" ist im aktuellen Kontext nicht vorhanden.

Expected behavior
Code should compile.
Screenshots

Additional context
Workaround is to @ref:suppressField="ele" and add the field manually.
.NET Core SDK (gemäß "global.json"):
 Version:   3.0.100-preview8-013656
 Commit:    8bf06ffc8d

Laufzeitumgebung:
 OS Name:     Windows
 OS Version:  10.0.18362
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\3.0.100-preview8-013656\

Host (useful for support):
  Version: 3.0.0-preview8-28405-07
  Commit:  d01b2fb7bc

.NET Core SDKs installed:
  2.1.701 [C:\Program Files\dotnet\sdk]
  2.1.801 [C:\Program Files\dotnet\sdk]
  3.0.100-preview8-013656 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.0.0-preview8.19405.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.0.0-preview8-28405-07 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.0.0-preview8-28405-07 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

@javiercn can you please look into this? Thanks!

Yes I can confirm the issue.  A workaround is needed as this will break a lot of projects.

Same here. Serious bug.

As a workaround you can add the @ref:suppressField to revert to the old behaviour

Yup. The feature doesn't work.

the workaround not work for (but i'm not really how to use it)
I precise i have a separate cs file for the controller of my razor components
<input type="password" class="form-control" @bind-value="this.Model.Password" @bind-value:event="oninput" @onkeydown="@OnKeyDownPassword" @ref:suppressField="@inputPassword" />
protected ElementReference inputPassword { get; set; }

It build, but when i launch it i have this error in the chrome console
Uncaught (in promise) DOMException: Failed to execute 'setAttribute' on 'Element': '@ref:suppressfield' is not a valid attribute name.
anybody success tu use the workaround ?
thanks !

@julienGrd
Use it like this
<Show @ref="_showRef"  @ref:suppressField Number="Number" />```

@julienGrd
Use it like this
<Show @ref="_showRef"  @ref:suppressField Number="Number" />

thanks it works ! i was pretty sure i was not using the good syntax :-)

Ya I can reproduce this, working on a fix. @shirhatti @danroth27 we should update the blog post (and anywhere else relevant) to mention that this feature does not work as intended.

Does anyone have a repro that causes a compiler crash?

Any chance for a patch/hotfix/new build ?

Sorry folks to do this, but here's the latest: https://github.com/aspnet/Announcements/issues/381

Lol, so no one tested this new feature before releasing it?


lib not working  as expected for iOS 13.3

hi have integrated lib with my project ,its working for for android and even for ios 12.4.5 (iPhone 6s) but not working in iPhone X (os 13.3),
error:
dyld: Library not loaded: @rpath/KontaktSDK.framework/KontaktSDK
Referenced from: /private/var/containers/Bundle/Application/18F90787-C083-4D06-9C58-9094014C7D50/BCnDemo.app/BCnDemo
Reason: no suitable image found.  Did find:
/private/var/containers/Bundle/Application/18F90787-C083-4D06-9C58-9094014C7D50/BCnDemo.app/Frameworks/KontaktSDK.framework/KontaktSDK: code signature invalid for '/private/var/containers/Bundle/Application/18F90787-C083-4D06-9C58-9094014C7D50/BCnDemo.app/Frameworks/KontaktSDK.framework/KontaktSDK'
any thing i am missing ?
same issue with ios native sample project i faced
thanks in advance

It works on my iPhone X (with OS 13.3)

How did you install it? Please try the new auto-linking install if you're using RN 0.60+ . I just updated the setup docs for Android and iOS -> It's part of the new version 2.7.2.

thanks for quick update . i thinks device not registered with profile, now every thing is working

@nikhilgatewaycorp can you expand? I get this error on IOS 13.3.1 but I do not on any simulators nor on a device with IOS 12.4.1.
Hope I'm not being slow AF 🙈

@nikhilgatewaycorp can you expand on "device not registered with profile"? I get this error on IOS 13.3.1 but I do not on any simulators nor on a device with IOS 12.4.1.
Hope I'm not being slow AF 🙈

please do this basic steps and let me know
1: use real device only
2 : check info.plist
3: register your device to your apple account (add device )
then unstall app and install app in device
let me know if still you face issue


how can i show more details about my training.such as miou,

how can i show more details about my training.such as miou,

sorry   i believe that i know what's going on


H3: Temporarily disable async tests in coverage

As a quick response to #673, let everyone use the CI as async tests are broken and tiemout or fail when run under tarpaulin.
Fixing the test is currently addressed in the mean time.

I think you want a ! in there to make the attribute apply to the whole module?

Fixed.


Need better way to commit build

Right now you need to run hugo in the /site directory which will dump the built site into /docs which is pretty messy and will likely make rebasing a pain.

I think this'll be solved by https://github.com/mattermost/mattermost-developer-documentation/issues/10, since once we do that, we won't need to actually commit the built site.
In the meantime, hopefully we don't have too much trouble with it while it's just us and merge contention is low.

Yeah, sounds good


Speed up grid view

I'm not sure exactly what this entails yet, but switching to grid view should be basically instant, especially if your selection criteria haven't changed (which in the current version is actually impossible).

This is a piece of #99 but recent frustration made me feel the need to enumerate it.

It's pretty fast with the new cache.


Adding meters for enums per granularity

What:
Changed rollup meter of enums to be per destination granularity to provide better insight into enum locators getting rolled up at each granularity.

+1


Contributing to the wiki

Currently pretty much every page in the wiki is outdated as hell. Mainly installation instructions, connection setup instructions and some notes in the camera page.
Is there anyway for us to overhaul and contribute to the wiki? AFAIK you can only toggle between "collaborators" or "everybody" for write permission in the GitHub repo settings.
It seems there isn't really a process like Pull Requests for GitHub wikis, but I'm not quite sure 🤔
Any ideas @KhaosT?

don't want to be pushy, but @KhaosT?


Generated Packages are not PEP8 compliant when initially created.

I need to go through and fix the templates so that they produce PEP8 compliant files and actually pass the pylint and pycodestyle checks via pytest and python setup.py pytest.

This is completed.


Fix user authentication

fix #6
-- fix auth api call
-- add Beared for all api calls

Thanks for providing this! The updates have been added to the latest 1.4.0 release.


Support optional returns of decoding operators

This is a bit of duplication, but I see a lot of users' code using .value to ignore the Decoded type. Is this something people would find useful?

I like it! I found myself using .value today, in fact.
Does this remove the ability to access the Decoded version? Is there any use case for that one?

@sidraval you can use both the Optional or Decoded versions of all those operators. As long as you type the return, type-inference will figure out which to use. Yes, the Decoded version has the use case of retaining information on why decoding failed.

Ah, I see. In that case, I'm definitely in favor :+1:

This removes the need to use value, but I'm concerned about the added complexity. Overloading operators comes at a performance cost as well as a cognitive overhead cost.
(god i wish we had monads)

So just for sanity, I ran this and looked at the 2 measureBlocks in the tests. There time was not significantly larger than without this. So I don't think there is a runtime performance hit. I also tried a full clean and build but also did not see a time difference between the branches.
So I think the Swift compiler is "OK" with the complexity ... at least for how the tests use it.
There is still the issue of the cognitive complexity. But I think this might be easier than to think you need to have .value in certain places. I think I'd like to try having this and we can see if we like it or not.


[test]more geospatial v2 integration tests

intermediate stage with literal

Codecov Report

Merging #11741 (05f0fa9) into master (d1021df) will decrease coverage by 48.66%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master   #11741       +/-   ##
=============================================
- Coverage     63.08%   14.43%   -48.66%
+ Complexity     1117      201      -916
=============================================
  Files          2342     2342
  Lines        125900   125898        -2
  Branches      19362    19362
=============================================
- Hits          79429    18175    -61254
- Misses        40823   106183    +65360
+ Partials       5648     1540     -4108

Flag
Coverage Δ

integration
?

integration1
?

integration2
?

java-11
?

java-17
?

java-20
14.43% <ø> (+0.01%)
:arrow_up:

temurin
14.43% <ø> (-48.66%)
:arrow_down:

unittests
14.43% <ø> (-48.65%)
:arrow_down:

unittests1
?

unittests2
14.43% <ø> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1515 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Macros on the custom hotbar can't be removed

If a macro is on both hotbars, the one from the core hotbar is removed, when the macro is only on the custom hotbar, nothing happens at all when trying to remove it.

I'm having the same issue. Is this module still being maintained?

Yep. Same as SalieriC.

I'm having the same issue. Is this module still being maintained? Would love to use it, but at the moment it doesn't seem possible.

@SalieriC @LukasPrism @CainesNyx Thanks for the report. My v9 update hadn't quite resolved the compatibility changes and then life has been crazy.
The good news is that things are calming down again and this module will be updated for v10 (and probably a final v9 release also) soon.

Oh that’s wonderful news. Thanks so much!

Resolved in the in-progress v10 compatible version.


Hypercode v10 doesn't pass secretKey correctly

I'm testing with hypercore-8 branch and I ran into a regression that passing secretKey in opts doesn't produce writable hyperdrive anymore.
Weird thing is that provide keypair test in test/basic.js works fine, but when you copy/paste the test code as a normal js file, it fails and shows the problem.
This code fails for me with Not writable error:
const sodium = require('sodium-universal')
const ram = require('random-access-memory')
const hyperdrive = require('hyperdrive')

function create(key, opts) {
  if (key && !(key instanceof Buffer)) {
    opts = key
    key = null
  }
  return hyperdrive((opts && opts.corestore) || ram, key, opts)
}

var publicKey = Buffer.allocUnsafe(sodium.crypto_sign_PUBLICKEYBYTES)
var secretKey = Buffer.allocUnsafe(sodium.crypto_sign_SECRETKEYBYTES)

sodium.crypto_sign_keypair(publicKey, secretKey)

var drive = create(publicKey, { secretKey: secretKey })

drive.on('ready', function () {
  t.ok(drive.writable)
  t.ok(drive.metadata.writable)
  t.ok(publicKey.equals(drive.key))

  drive.writeFile('/hello.txt', 'world', function (err) {
    t.error(err, 'no error')
    drive.readFile('/hello.txt', function (err, buf) {
      t.error(err, 'no error')
      t.same(buf, Buffer.from('world'))
      t.end()
    })
  })
})

P.S. Yes, I know there's tape's t method there but it doesn't matter because the code doesn't pass drive.on('ready').

Solved this. The test above was from master branch and not hypercore-8. In hypercore-8 you apparently need to pass keyPair from hypercore-crypto to opts and plain secretKey doesn't work anymore.

That's most likely a regression. Will take a look on Monday, but good you found a workaround.


Allow running rekt tests in namespace with enforced "restricted" pod security standard (#2774)

./hack/update-deps.sh --upgrade and update-codegen.sh

Change mode

OCF Webhook is merging this PR


Merge :class:~.OpenGLMobject and :class:~.Mobject

Overview / Explanation for Changes
Many functions are shared between OpenGLMobject and Mobject, and also most of the OpenGL classes are just redundant. Therefore, I am trying to combine them into one Mobject class. For now, the code looks really messy, but it works. Even this bug has been implicitly resolved!
SurfaceExample still doesn't run as expected, and I really would love to have some help here. All comments are most welcome.
Testing Status

None :/
Further Comments

VMobject and OpenGLVMobject still need to be combined when we finish here.
Acknowledgements

[x] I have read the Contributing Guidelines
[x] I have chosen a descriptive PR title (see top of PR template for examples)

Reviewer Checklist

[ ] Newly added functions/classes are either private or have a docstring
[ ] Newly added functions/classes have tests added and (optional) examples in the docs
[ ] Newly added documentation builds, looks correctly formatted, and adds no additional build warnings
[ ] The PR title is descriptive enough

All examples work now. Waiting for your feedback!

It looks like there was a regression in the ImageMobject class. Are you able to run the tests locally, git bisect for when it was introduced, and fix the bug?

All tests pass now and all OpenGL scenes work perfectly. I think this PR is ready to be merged.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@63735d3). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1167   +/-   ##
=========================================
  Coverage          ?   55.74%
=========================================
  Files             ?      108
  Lines             ?    14234
  Branches          ?        0
=========================================
  Hits              ?     7935
  Misses            ?     6299
  Partials          ?        0

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 63735d3...e5b2319. Read the comment docs.

Thank you for your feedback. OpenGLMobject has been removed along with all the comments in the Mobject class.

I take it that OpenGLMobject didn't have any important roles then?

I take it that OpenGLMobject didn't have any important roles then?

Yes, OpenGLMobject shares many functions with the regular Mobject. Even things listed under "self.opengl" now may be removed in the future, I wasn't 100% comfortable with removing them at this point. Once the tests are ready, I believe it will be the best time to really refactor Mobject.
I think the reason why there is a separate Mobject for OpenGL is just the need to quickly carry it over to the community version.
One thing, I am not sure how IntelliSense would work if there are functions that can only work with Cairo/OpenGL (users won't know until they play the scene).
Please note that I also removed _AnimationBuilder and OpenGLGroup classes.

This change breaks a lot of my work on porting Latex and Text to OpenGL, and the errors it caused are difficult to debug due to the interleaving of the inheritance chains. I think it'd be best to revert this until all of the OpenGL mobjects are working.


not able to import where there is around 20 issues in redmine 2.5.1

I've installed this plugin on 2.5.1.stable, however while importing issues from a 20+ issues; i see that the issues are not created.
But when i selected 3 rows; the plugin worked as a charm. Can you help me with this issue
i used a sample ms project file Upgrade Ms project to 2013 you can download this xml from http://www.filedropper.com/upgradetoprojectserver2013 ; and if you find the link expired let me know i shall try to host into one of my server.
Thanks

Same happening here. I'm running Redmine 2.6.0.stable.13840 and I'm trying to sync a project with 150+ issues with no luck. It says something like "uploading issues. You will be notified by email" but it actually never ends.
BTW is this plugin still being developed?

I'm sitting with the same problem. Running MS Project/Redmine sync plugin 0.3b
I can only import 100 lines at a time.
I know the plugin is written in Ruby.
Is there no file that I can edit to increase this limit??

@malanve just as a comment, I was finally able  to increase the limit and import the 150 issues that I needed. You have to:

edit the file https://github.com/m0n9oose/redmine_loader/blob/master/app/views/settings/_loader_settings.html.erb#L19 and change the 100 with any number you want (I picked 1000).
restart redmine.
log in with the admin account and edit the plugin options to any number you want.

Hope this helped!
ps. the side effect is that loading multiple issues takes a lot of time. When doing that, keep the page open for 15-30 seconds without refreshing.


Images blurry in preview

The bug is in the image viewing window the image is blurry, sometimes it fixes when reloading but most of the time it doesnt. The actual image isnt blurry when you check the downloaded image.
Open any image and 90% of the time it is blurry
Its supposed to not be blurry.
This Image shows how blurry it looks in the image viewing window
https://cdn.discordapp.com/attachments/118433598071242753/665180278750314497/unknown.png
This image shows how it actually looks fine.
https://cdn.discordapp.com/attachments/118433598071242753/665180355770449922/unknown.png

I can't reproduce on my end.
The image is blurry during loading, but as soon as it's loaded it's hi-res again. Same thing when the image is already saved on disk.
Can you share the log for when this happens?

Did you saved it before it finished loading?

Did you saved it before it finished loading?

yes, it automatically saves when I open it, do you think that might be the issue?

I've noticed a very similar issue with files that have an incorrect filetype.  ie; The source says it's a .jpg, when the file is actually formatted as a .png.   Could this possibly be the  issue?

Yeah experiencing same issue. auto-save make the image blurry unless you reload after it finish downloading.


Mono.subscribeOn(Scheduler) method not yielding span

[ ] Add a unit test to verify that the fix works.
[x] Explain briefly why the bug exists and how to fix it.
Since the subscribeOn(Scheduler) method of webflux uses a separate thread pool for processing, no trace will be generated without enabling jdk-threading-plugin, and multiple traces may be generated when jdk-threading-plugin is enabled.
E.g:

import reactor.core.publisher.Mono;
import reactor.core.scheduler.Schedulers;

   @GetMapping("/test")
    public Mono<Object> subscribeOn(String param) {
       return   Mono.just(param).subscribeOn(Schedulers.boundedElastic()).map(parm-> {return db.selectOne(param);})
   }

The above test code will generate two traces when using jdk-threading-plugin, including http["/test"] trace and Thread[db] trace. When jdk-threading-plugin is not used, only one http[" /test"] trace, lost trace of db

[ ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.
[ ] Update the CHANGES log.

If you want to submit a pull request, please provide a full description and test scenarios should be updated.
Document is much more important, at here, I can't know what is going on here.

If you want to submit a pull request, please provide a full description and test scenarios should be updated. Document is much more important, at here, I can't know what is going on here.

Ok,I will submit later

请按照插件测试文档，在本地运行测试，完成后提供输出屏幕截图。

@sivern Any update?

@sivern任何更新？

I'm watching a test document to update my test case

@sivern Any update?

I would like to ask, when running a test case for webflux-scenario, why go to the directory of /bootstrap-plugins to look for apm-spring-webflux-5.x-plugin-*.jar that should be under /optional-plugins?

optional plugin means wouldn't be activated, but some test scenarios require that, so it use configuration.yaml to activate them.
https://github.com/apache/skywalking-java/blob/main/test/plugin/scenarios/jdk-http-scenario/configuration.yml
You are writing webflux plugin, it can't be in optional plugin folder.

@sivern Any update?

No update in a week, close for now.


chore: remove support for old NGINX versions

Description
As stated in our README.md:

We provide support for NGINX versions up to their End Of Life, extended by one year. Aligned with the NGINX release cycle, this entails support for the four most recent NGINX versions.

Time to make this a reality.

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

Project coverage is 72.16%. Comparing base (c93eff0) to head (b12a1ed).

Additional details and impacted files

@@           Coverage Diff           @@
##           master     #143   +/-   ##
=======================================
  Coverage   72.16%   72.16%
=======================================
  Files          43       43
  Lines        6040     6040
  Branches      880      880
=======================================
  Hits         4359     4359
  Misses       1254     1254
  Partials      427      427


How to put a checkbox and text input horizontally

Sometime we provide multiple choices to users, with a last other option for user to input their own answer. In this case, a checkbox with an input is required. When the checkbox is unchecked, the input is disabled. The code below

            <input type="checkbox">

        <input
               class="form-input" type="text" placeholder="other answer" style="width:50px">

puts the checkbox and the input horizontally for version 0.5.1. Now for version 0.5.7, it does not.

@zwz It works in v0.5.7. If you want the input disabled next to the unchecked checkbox. You can use JS to control it.


operator registry-operator (0.3.0)

Thanks submitting your Operator. Please check below list before you create your Pull Request.
New Submissions

[ ] Are you familiar with our contribution guidelines?
[ ] Have you packaged and deployed your Operator for Operator Framework?

[ ] Have you tested your Operator in all supported installation modes?
[ ] Have you considered whether you want use semantic versioning order?
[ ] Is your submission signed?
[ ] Is operator icon set?

Updates to existing Operators

[ x] Did you create a ci.yaml file according to the update instructions?
[ ] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[ ] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[ ] Have you tested an update to your Operator when deployed via OLM?
[ ] Is your submission signed?

Your submission should not

[ ] Modify more than one operator
[ ] Modify an Operator you don't own
[ ] Rename an operator - please remove and add with a different name instead
[ ] Modify any files outside the above mentioned folders
[ ] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[ ] Description about the managed Application and where to find more information
[ ] Features and capabilities of your Operator and how to use it
[ ] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[ ] Human readable name and 1-liner description about your Operator
[ ] Valid category name1
[ ] One of the pre-defined capability levels2
[ ] Links to the maintainer, source code and documentation
[ ] Example templates for all Custom Resource Definitions intended to be used
[ ] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

https://github.com/k8s-operatorhub/community-operators/commit/31804b316edb31198059f6801916655448bf5ba4 should unblock @thepetk as a authorized contributor for the devfile registry operator.

31804b3 should unblock @thepetk as a authorized contributor for the devfile registry operator.

@thepetk Needs rebase to the change I did to include your user under ci.yaml.

@michael-valdron done

/merge possible

/merge possible

/merge possible

/merge possible


Summarization chain batching is not working with Replicate

System Info
LangChain version: 0.0.300
Python version: 3.10.12
Who can help?
@hwchase17 @agola11
Information

[ ] The official example notebooks/scripts
[X] My own modified scripts

Related Components

[X] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[X] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
Steps to reproduce:
# Prompt
prompt_text = """You are an assistant tasked with summarizing tables and text. \
Give a concise summary of the table or text. Table or text chunk: {element} """
prompt = PromptTemplate.from_template(prompt_text)

# Summary chain
model = Replicate(
    model="meta/llama-2-7b-chat:13c3cdee13ee059ab779f0291d29054dab00a47dad8261375654de5540165fb0",
    model_kwargs={"temperature": 0.75, "max_length": 3000, "top_p":0.25}
)
summarize_chain = {"element": lambda x: x} | prompt | model | StrOutputParser()

# Apply to text
texts = [i.text for i in text_elements]
text_summaries = summarize_chain.batch(texts, {"max_concurrency": 5})

Error:
ValueError: config must be a list of the same length as inputs, but got 27 configs for 5 inputs

With OpenAI, it is working as expected.
Expected behavior
The summarization chain (powered by Replicate) should process each chunks batch-wise.

I am facing exactly the same issue. it works as expected with open: Open AI:

Here is llama with Replicate:

i am getting another type of error on the same pie

ce of code


how to use fsck.mergerfs

feeling dumb. how do i actually execute fsck on my pool?

fsck.mergerfs -h
The tool needs more work but....
fsck.mergerfs -v -f manual <mergerfs_mount_point>

No module named xattr
On 11 Feb 2016 10:15 p.m., "Antonio SJ Musumeci"<EMAIL_ADDRESS>wrote:

fsck.mergerfs -h
The tool needs more work but....
fsck.mergerfs -v -f manual <mergerfs_mount_point>
—
Reply to this email directly or view it on GitHub
https://github.com/trapexit/mergerfs-tools/issues/9#issuecomment-183081654
.

You need to install the python xattr module.
On debian apt-get install python-xattr

I could've probably googled xattr thing. Sorry.
alex@epsilon:~/git/other/mergerfs-tools/src$ ./fsck.mergerfs -v -f manual /mnt/storage
/mnt/storage is not a mergerfs device
alex@epsilon:~/git/other/mergerfs-tools/src$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdb1        46G   16G   29G  36% /
udev             10M     0   10M   0% /dev
tmpfs           3.2G  9.2M  3.2G   1% /run
tmpfs           7.9G  1.6M  7.9G   1% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           7.9G     0  7.9G   0% /sys/fs/cgroup
/dev/sdb6       138G   44G   88G  34% /opt
mergerfs         14T  8.9T  4.9T  65% /mnt/storage

It blanket checks certain errors so it is probably a false positive of a ENOENT error being thrown. It should only really do that if a file suddenly disappeared but.... like I said... these tools are a work in progress.

No worries. Happy to test :)
On 11 Feb 2016 10:31 p.m., "Antonio SJ Musumeci"<EMAIL_ADDRESS>wrote:

It blanket checks certain errors so it is probably a false positive of a
ENOENT error being thrown. It should only really do that if a file suddenly
disappeared but.... like I said... these tools are a work in progress.
—
Reply to this email directly or view it on GitHub
https://github.com/trapexit/mergerfs-tools/issues/9#issuecomment-183086115
.

Take a look at the new version.

Do I need to run it with the --fix switch?

Not what exactly you're asking. The arguments are listed in the docs and usage.
https://github.com/trapexit/mergerfs-tools#mergerfsfsck

Yes... but it does not really define what the fix statement does in detail, and it doees not way what happens when you omit the fix statement
I just want a report.

The "fix" is defined in what it's checking as described. It says "metadata ... out of sync". "Permissions, ownership, etc." So a fix is ensuring that they are in sync. If you run without --fix it provides a report.


Add note on the scale of the gradient in multi-gpu setting

This PR fixes #1338

I wrote a comment.

LGTM!


Last-Modified header is not reliable

Race conditions, where several triggers flicker in one second, are possible.
We should consider moving to ETag.

v1.2.1 and up support ETags


feat(spark): add some numeric function mappings

@Blizzara @vbarua can this one be merged now?  Thanks :)

@Blizzara @vbarua can this one be merged now? Thanks :)

Ah yep, sorry for the delay!


Refine TFResource transform into DeployResource.

fix #243

@baixinsui We are doing these changes for HuaweiCloud only primarily but we must also consider openstack equally because openstack and Huaweicloud are the only two main plugins that are in our current RC2 scope. Could you please see if we can add these changes for openstack too? It is ideally not too different to your Huaweicloud changes.

Sure. No problem. Can you give me a resource.tfstate file or a OCL2.0 resource.yml file of Opanstack service?

this is one of the simple files. Please let me know if this is sufficient.
` variable vm_name {} variable flavor_flavor_name {}
data "openstack_networking_network_v2" "network" { name = "public" }
resource "openstack_compute_instance_v2" "vm_ordered" { name = var.vm_name flavor_name = var.flavor_flavor_name image_name = "cirros-0.5.2-x86_64-disk"
network { uuid = data.openstack_networking_network_v2.network.network_id } } `

I hava got  more resource info from  https://registry.terraform.io/providers/terraform-provider-openstack/openstack/latest/docs .


Web interface messed up

Hello
So I followed all of these steps:  http://www.pufferpanel.com/v0.8.0/docs/getting-started but when I go to IP/PufferPanel this is what I can see:

It would appear that something got messed up while setting URLs. Go ahead and follow the link to the admin CP, and then URL Settings. Make sure that the URLs start with http:// for everything.
pinging @LordRalex or @puffrfish for the installer which needs to patch this.

Thanks!

Closed in af30141107c3177238c118acff6b8bb045b82c7d


Multi-core CPU performance dropped for MKL TF build

System information
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04 LTS (64-bit)
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): Tensorflow r1.4
Python version: Python version: 2.7.12
Bazel version (if compiling from source): Bazel release 0.7.0
GCC/Compiler version (if compiling from source): gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
CUDA/cuDNN version: no CUDA
GPU model and memory: no GPU, but i7-6850K with 32Gb ddr4
Exact command to reproduce: run the script below

Tested on two machines:

i7-6850K with 32Gb ddr4
two Xeon x5650 with 24Gb ddr3

Describe the problem
When I build Tensorflow with MKL it dropped CPU performance in a strange way. Performance of individual core is much higher, but for multicore is much worse.
It's a big epic bottleneck for my project and I can't solve it by myself. I will appreciate any help!

TF installation from sources with MKL support

Tensorflow r1.4 installed from source. Configured with jemalloc as malloc support and other configure settings ignored.
$ bazel build --config=mkl -c opt //tensorflow/tools/pip_package:build_pip_package
$ bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg
$ pip install /tmp/tensorflow_pkg/tensorflow-1.4.1-cp27-cp27mu-linux_x86_64.whl

Run tests:
one core: 0.03s
all cores: 0.12s

TF installation with pip

$ pip install tensorflow
(tensorflow-1.4.1-cp27-cp27mu-manylinux1_x86_64.whl installed)

Run tests:
one core: 0.16s
all cores: 0.03s
Source code / logs
    import time
    import numpy as np
    import tensorflow as tf

    from tensorflow.contrib import slim
    from tensorflow.contrib.slim.python.slim.nets.inception_v1 import inception_v1, inception_v1_arg_scope

    input_shape = (1, 224, 224, 3)
    features = tf.placeholder(tf.float32, input_shape)

    with slim.arg_scope(inception_v1_arg_scope()):
        predictions, end_points = inception_v1(features, is_training=False)

    # remove to utilize all cores
    session_conf = tf.ConfigProto(intra_op_parallelism_threads=1,
                                  inter_op_parallelism_threads=1)

    with tf.Session(config=session_conf) as sess:
        sess.run(tf.global_variables_initializer())
        sess.run(tf.local_variables_initializer())

        images = np.random.random(input_shape)
        consumption = []
        for i in range(10):
            tick = time.time()
            sess.run(predictions, feed_dict={features: images})
            consumption.append(time.time() - tick)

        print np.mean(consumption)

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

Fixed issue template

So the problem in parallelization between cores (and maybe also between CPUs). I'm going to compile TF with OpenCL. Hope it will help.

Make sure you've set all the environment variables correctly. The TensorFlow performance guide has a section on "Tuning MKL for the best performance". I would strongly recommend taking a look. Once you try out these settings, I'd be happy to help with tuning. Do mention what settings you're using when replying.

@vivek-rane Thanks for your response.
I'm testing performance on another machine (two Xeon X5650, 6 physical cores per CPU), so my current measurements will not match to previously reported. I've tried these variables and get some performance gain.
Tested local variables:

KMP_BLOCKTIME=0 KMP_AFFINITY=granularity=fine,verbose,compact,1,0 KMP_SETTINGS=1

MKL Tensorflow:

Without local variables: 0.74s
With local variables: 0.27s

Also with OMP_NUM_THREADS=2 I have the best performance: 0.22s
With more or less threads performance dropped.

Pip Tensorflow (all cores): 0.04s

Still, pip installed Tensorflow achieve the best performance on all cores. Is it possible to outperform it?

Btw, I did the same tests for MKL Tensorflow compiled with OpenCL, and there is no difference in performance between this and pure MKL TF build.

Get Outlook for Androidhttps://aka.ms/ghei36

From: BogdanRuzh<EMAIL_ADDRESS>Sent: Wednesday, December 13, 2017 1:51:22 PM
To: tensorflow/tensorflow
Cc: Subscribed
Subject: Re: [tensorflow/tensorflow] Multi-core CPU performance dropped for MKL TF build (#15320)
Btw, I did the same tests for MKL Tensorflow compiled with OpenCL, and there is no difference in performance between this and pure MKL TF build.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/tensorflow/tensorflow/issues/15320#issuecomment-351501889, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AcpcMJBRBo_OtTYj2AjeTWp-mKqI2EZPks5tACq6gaJpZM4Q_hz4.

@vivek-rane
Sorry for late response. I did a bunch of tests and have good results with improving performance for MKL tf in comparison with pip tf - it's 3x faster for my segmentation model and 2x faster for inception v3.
Also, I'm curious about how it tf parallelize inception blocks. Check timelines below. So inception blocks can be processed much faster than straightforward cnn?
Segmentation model, very straightforward, no parallelization showed:

Best run with :

OMP_NUM_THREADS=8
KMP_BLOCKTIME=0
KMP_AFFINITY=granularity=fine,verbose,compact,1,0
KMP_SETTINGS=1
intra_op_parallelism_threads=8
inter_op_parallelism_threads=3

In comparison, Inception V3 have good parallelization because of Inception blocks:

Best run with :

OMP_NUM_THREADS=12
KMP_BLOCKTIME=0
KMP_AFFINITY=granularity=fine,verbose,compact,1,0
KMP_SETTINGS=1
intra_op_parallelism_threads=12
inter_op_parallelism_threads=3

Tested on i7-6850K (6 cores, 3.60GHz)

https://github.com/tensorflow/tensorflow/issues/14496