Support for multiple ReduceLROnPlateau schedulers

What does this PR do?
Fixes #1037.
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Hello @darwinkim! Thanks for opening this PR.

In the file pytorch_lightning/trainer/training_loop.py:

Line 369:101: E501 line too long (101 > 100 characters)

Do see the Hitchhiker's guide to code style


Alpine linux 3.15 on pypy3 test_52_numeric_ops_float fails

ERROR: test_52_numeric_ops_float (__main__.test_pyprotect)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_pyprotect.py", line 1137, in test_52_numeric_ops_float
    assert(ceil(w1) == 101)
  File "Proxy.pxi", line 114, in pyprotect.protected.Proxy.__ceil__
AttributeError: 'CF' object has no attribute '__ceil__'. Did you mean: __bool__?

Not yet ivnestigated.
The same test does not fail on PY3 / PY2 / PYPY2 on ubuntu jammy

Temporarily worked around by not executing this test on PYPY3

Implemented (more) correct answer in pyprotct/Proxy.pxi: c127f2a
--- a/pyprotect/Proxy.pxi
+++ b/pyprotect/Proxy.pxi
@@ -108,10 +108,10 @@ cdef class Proxy(object):
         return self.pvt_o.__trunc__()

     def __floor__(self):
-        return self.pvt_o.__floor__()
+        return math.floor(self.pvt_o)

     def __ceil__(self):
-        return self.pvt_o.__ceil__()
+        return math.ceil(self.pvt_o)

Keeping this issue open.
This is a surprising behavior in pypy3, and a behavior that specifically manifests on Alpine Linux (and not Ubuntu). This cannot be written off as "Python2 - will not fix".


Image size not right when placed in Container

When place image in Container, image width and height prop does not work.
Widget build(BuildContext context){
    return new Container(
        width: 44.0,
        height: 44.0,
        color: Color(0xFF007AFF),
        child: new Image.asset('assets/back.png',width:24.0,height:24.0)
      )
}

inside image width and height should not be it's parent's size.
Is this a bug?
But it could write as, It's no nessary wrap another container for image.
Widget build(BuildContext context){
    return new Container(
        width: 44.0,
        height: 44.0,
        color: Color(0xFF007AFF),
        child: new Center(
            widthFactor: 24.0,
            heightFactor: 24.0,
            child: new Image.asset('assets/back.png',width:24.0,height:24.0)
        )
      )
}

I think this is working as intended.
You don't need widthFactor and heightFactor.

/cc @Hixie

How should I implement this function

@Lillls - You may be able to get the effect you want by wrapping the child in a Center widget, because of the constraints the Center imposes on its child.  For more details on why, see this Flutter article.

@zoechi  how to fit small image in big container in flutter ? Please suggest. Thanks.


create landing page with button to configuration page

Add link to "on click" eventlistener once config page is commited


TCP CLIENT :. 🚨 Failed to connect to the TCP server.:

🚨 Failed to connect to the TCP server
ℹ  Trying to connect to the TCP server...

Please provide more information. Such as the report from the leon check command.

When run "leon check" brings red message:"Cannot start TCP server:/bin/sh:1:tcp_server/dist/linux-x86_64/leon-tcp-server:not found"

When run "leon check" brings red message:"Cannot start TCP server:/bin/sh:1:tcp_server/dist/linux-x86_64/leon-tcp-server:not found"

Anything else? No report link?

There is a zip file in the directory. When I unzip it, it reports:"End-of-central-directory signature not found....."

There is a zip file in the directory. When I unzip it, it reports:"End-of-central-directory signature not found....."

When run "leon check" brings red message:"Cannot start TCP server:/bin/sh:1:tcp_server/dist/linux-x86_64/leon-tcp-server:not found"

Anything else? No report link?

There is a zip file in the directory. When I unzip it, it reports:"End-of-central-directory signature not found....."

There is a zip file in the directory. When I unzip it, it reports:"End-of-central-directory signature not found....."

You should not unzip it yourself, it is automatic during the setup process.
Please share a complete screenshot of the output from the leon check command.

End-o

There is a zip file in the directory. When I unzip it, it reports:"End-of-central-directory signature not found....."

You should not unzip it yourself, it is automatic during the setup process.
Please share a complete screenshot of the output from the leon check command.

How about the logs before that?
Does the process stop like this without any other info?

The picture is the first screen by pipe with "less" command. I have another picture followed.

How about the logs before that?
Does the process stop like this without any other info?

When I run "leon create birth", everything is normal, no error message.

Look at your report: https://report.getleon.ai/raw/exomuvuseg
It seems that you have less than 2 GB of total RAM. Leon needs at least ~ 4 GB. Also, I'm not sure about your disk space, but it may also be possible that the TCP server cannot be extracted properly because you don't have enough space there too.

Look at your report: https://report.getleon.ai/raw/exomuvuseg
It seems that you have less than 2 GB of total RAM. Leon needs at least ~ 4 GB. Also, I'm not sure about your disk space, but it may also be possible that the TCP server cannot be extracted properly because you don't have enough space there too.

Thank you. I am doing it again with a computer with Windows 10 and 16GB RAM.

There is something wrong with my trial in window.
When I run "leon create birth" ,it comes the screen followed.

There is something wrong with my trial in window. When I run "leon create birth" ,it comes the screen followed.

Here is screen with "leon check"

Hi @xuguoliang1964,  I figured out the problem. As you can see from the error, Node.js returns a ECONNRESET, it means that the connection suddenly closed, so the Node.js bridge, TCP server and Python bridge cannot be downloaded. Hence, when you run Leon, Leon does not have them and can't run properly.
If I believe your screenshots, it seems that you are located in China. I'm also based in China and I've seen similar issue in the past. To fix it, try to change the location of your VPN so these binaries can correctly be downloaded.
Once you tried other VPN server, then do leon delete, then retry.

node_modules/lodash.trimend
@microsoft/recognizers-text-number  >=1.0.0-rc.30.0
Depends on vulnerable versions of lodash.trimend
node_modules/@microsoft/recognizers-text-number
@microsoft/recognizers-text-date-time  >=1.0.0-rc.30.0
Depends on vulnerable versions of @microsoft/recognizers-text-number
Depends on vulnerable versions of @microsoft/recognizers-text-number-with-unit
node_modules/@microsoft/recognizers-text-date-time
@microsoft/recognizers-text-number-with-unit  >=1.0.0-rc.30.0
Depends on vulnerable versions of @microsoft/recognizers-text-number
node_modules/@microsoft/recognizers-text-number-with-unit
@microsoft/recognizers-text-suite  >=1.0.0-rc.30.0
Depends on vulnerable versions of @microsoft/recognizers-text-date-time
Depends on vulnerable versions of @microsoft/recognizers-text-number
Depends on vulnerable versions of @microsoft/recognizers-text-number-with-unit
node_modules/@microsoft/recognizers-text-suite
@nlpjs/builtin-microsoft  *
Depends on vulnerable versions of @microsoft/recognizers-text-suite
node_modules/@nlpjs/builtin-microsoft

ℹ  Installing spaCy models...
🚨 Failed to install the Python packages: Error: Command failed with exit code 1: pipenv run spacy download en_core_web_trf-3.4.0 --direct
Traceback (most recent call last):
File "/home/chard/leon/bridges/python/.venv/bin/spacy", line 5, in
from spacy.cli import setup_cli
File "/home/chard/leon/bridges/python/.venv/lib/python3.9/site-packages/spacy/init.py", line 14, in
from . import pipeline  # noqa: F401
File "/home/chard/leon/bridges/python/.venv/lib/python3.9/site-packages/spacy/pipeline/init.py", line 1, in
from .attributeruler import AttributeRuler
File "/home/chard/leon/bridges/python/.venv/lib/python3.9/site-packages/spacy/pipeline/attributeruler.py", line 6, in
from .pipe import Pipe
File "spacy/pipeline/pipe.pyx", line 1, in init spacy.pipeline.pipe
File "spacy/vocab.pyx", line 1, in init spacy.vocab
File "/home/chard/leon/bridges/python/.venv/lib/python3.9/site-packages/spacy/tokens/init.py", line 1, in
from .doc import Doc
File "spacy/tokens/doc.pyx", line 36, in init spacy.tokens.doc
File "/home/chard/leon/bridges/python/.venv/lib/python3.9/site-packages/spacy/schemas.py", line 222, in
class TokenPattern(BaseModel):
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 537, in pydantic.fields.ModelField.prepare
File "pydantic/fields.py", line 634, in pydantic.fields.ModelField._type_analysis
File "pydantic/fields.py", line 641, in pydantic.fields.ModelField._type_analysis
File "/root/.pyenv/versions/3.9.10/lib/python3.9/typing.py", line 851, in subclasscheck
return issubclass(cls, self.origin)
TypeError: issubclass() arg 1 must be a class
🚨 Error: Command failed with exit code 1: pipenv run spacy download en_core_web_trf-3.4.0 --direct
Traceback (most recent call last):
File "/home/chard/leon/bridges/python/.venv/bin/spacy", line 5, in
from spacy.cli import setup_cli
File "/home/chard/leon/bridges/python/.venv/lib/python3.9/site-packages/spacy/init.py", line 14, in
from . import pipeline  # noqa: F401
File "/home/chard/leon/bridges/python/.venv/lib/python3.9/site-packages/spacy/pipeline/init.py", line 1, in
from .attributeruler import AttributeRuler
File "/home/chard/leon/bridges/python/.venv/lib/python3.9/site-packages/spacy/pipeline/attributeruler.py", line 6, in
from .pipe import Pipe
File "spacy/pipeline/pipe.pyx", line 1, in init spacy.pipeline.pipe
File "spacy/vocab.pyx", line 1, in init spacy.vocab
File "/home/chard/leon/bridges/python/.venv/lib/python3.9/site-packages/spacy/tokens/init.py", line 1, in
from .doc import Doc
File "spacy/tokens/doc.pyx", line 36, in init spacy.tokens.doc
File "/home/chard/leon/bridges/python/.venv/lib/python3.9/site-packages/spacy/schemas.py", line 222, in
class TokenPattern(BaseModel):
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 537, in pydantic.fields.ModelField.prepare
File "pydantic/fields.py", line 634, in pydantic.fields.ModelField._type_analysis
File "pydantic/fields.py", line 641, in pydantic.fields.ModelField._type_analysis
File "/root/.pyenv/versions/3.9.10/lib/python3.9/typing.py", line 851, in subclasscheck
return issubclass(cls, self.origin)
TypeError: issubclass() arg 1 must be a class
at makeError (/home/chard/leon/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/chard/leon/node_modules/execa/index.js:114:26)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 0)
at installPythonPackages (/home/chard/leon/scripts/setup/setup-python-packages.js:47:9)
at /home/chard/leon/scripts/setup/setup-python-packages.js:64:13 {
shortMessage: 'Command failed with exit code 1: pipenv run spacy download en_core_web_trf-3.4.0 --direct',
command: 'pipenv run spacy download en_core_web_trf-3.4.0 --direct',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: '',
stderr: 'Traceback (most recent call last):\n' +
'  File "/home/chard/leon/bridges/python/.venv/bin/spacy", line 5, in \n' +
'    from spacy.cli import setup_cli\n' +
'  File "/home/chard/leon/bridges/python/.venv/lib/python3.9/site-packages/spacy/init.py", line 14, in \n' +
'    from . import pipeline  # noqa: F401\n' +
'  File "/home/chard/leon/bridges/python/.venv/lib/python3.9/site-packages/spacy/pipeline/init.py", line 1, in \n' +
'    from .attributeruler import AttributeRuler\n' +
'  File "/home/chard/leon/bridges/python/.venv/lib/python3.9/site-packages/spacy/pipeline/attributeruler.py", line 6, in \n' +
'    from .pipe import Pipe\n' +
'  File "spacy/pipeline/pipe.pyx", line 1, in init spacy.pipeline.pipe\n' +
'  File "spacy/vocab.pyx", line 1, in init spacy.vocab\n' +
'  File "/home/chard/leon/bridges/python/.venv/lib/python3.9/site-packages/spacy/tokens/init.py", line 1, in \n' +
'    from .doc import Doc\n' +
'  File "spacy/tokens/doc.pyx", line 36, in init spacy.tokens.doc\n' +
'  File "/home/chard/leon/bridges/python/.venv/lib/python3.9/site-packages/spacy/schemas.py", line 222, in \n' +
'    class TokenPattern(BaseModel):\n' +
'  File "pydantic/main.py", line 205, in pydantic.main.ModelMetaclass.new\n' +
'  File "pydantic/fields.py", line 491, in pydantic.fields.ModelField.infer\n' +
'  File "pydantic/fields.py", line 421, in pydantic.fields.ModelField.init\n' +
'  File "pydantic/fields.py", line 537, in pydantic.fields.ModelField.prepare\n' +
'  File "pydantic/fields.py", line 634, in pydantic.fields.ModelField._type_analysis\n' +
'  File "pydantic/fields.py", line 641, in pydantic.fields.ModelField._type_analysis\n' +
'  File "/root/.pyenv/versions/3.9.10/lib/python3.9/typing.py", line 851, in subclasscheck\n' +
'    return issubclass(cls, self.origin)\n' +
'TypeError: issubclass() arg 1 must be a class',
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}

Look at your report: https://report.getleon.ai/raw/exomuvuseg
It seems that you have less than 2 GB of total RAM. Leon needs at least ~ 4 GB. Also, I'm not sure about your disk space, but it may also be possible that the TCP server cannot be extracted properly because you don't have enough space there too.

enough memory and storage, just TCP server wont success installing and when check for errors wont show.. is there a way I could download and install the tcp server manually


Unify XML documentation and Resharper warning suppression

Fixes 2 small issues :

Use attributes instead of comments to disable R# warnings in SetWindowPosFlags #242
Use a consistent XML documentation text for nested types #241

LGTM


docs: Fix @mailty-to/core installation package name

The installation instructions previously used @maily.to instead of @maily-to scope, which resulted in not-found errors when attempting to install

Thank you 🙏


fix sync archived article

When I added the setting to sync archived articles, I wanted to keep the original behavior (sync non-archived articles) and add to it as a behavior to also sync archived articles.
I recently found that when the archived articles sync flag was enabled, only archived articles were synced. So here is a fix to apply the intended behavior.
I've also changed the parameter description to better reflect its usage.

Thanks for the fix!

@jeffbeaulieu @huseyz ah! that is exactly the opposite of what I need :p I rely on that setting to only sync archived articles. Am I understanding correctly that that is no longer possible now?

Oops, a good example where a bug becomes a feature.
I'll see what I can do to make the feature more flexible. Maybe add a 2nd flag to sync unread articles. It would probably be clearer if we had an indicator to synchronize unread articles, and an other indicator to synchronize archived articles? This would not break the current config, nor the behavior originally intended. And you would be able to find the behavior that suits you.
I would also like to take advantage of this moment to reorder and better organize the settings tab by grouping certain settings under a title (section).
@peterrus Would it suit you?
I'll see if I can do a PR for this in the next few days.

That sounds great @jeffbeaulieu ! 🚀


Public coord_at version

Hello. h3o has an internal function coord_at that "Computes the point on the sphere a specified azimuth and distance".
Is it possible to create a public version of this function to use outside?
Currently, I use this function. But maybe it'd be nice to have such functionality built in the h3o.
fn calculate_destination_point(lat: f64, lon: f64, azimuth: f64, length_m: f64) -> Result<LatLng> {
    // Convert azimuth to radians
    let azimuth_rad = azimuth.to_radians();

    // Convert latitude and longitude to radians
    let lat1_rad = lat.to_radians();
    let lon1_rad = lon.to_radians();

    // Calculate the destination point's latitude
    let lat2_rad = (lat1_rad.sin() * (length_m / EARTH_RADIUS).cos()
        + lat1_rad.cos() * (length_m / EARTH_RADIUS).sin() * azimuth_rad.cos())
    .asin();

    // Calculate the destination point's longitude
    let lon2_rad = lon1_rad
        + (azimuth_rad.sin() * (length_m / EARTH_RADIUS).sin() * lat1_rad.cos())
            .atan2((length_m / EARTH_RADIUS).cos() - lat1_rad.sin() * lat2_rad.sin());

    // Convert the destination latitude and longitude back to degrees
    let lat2 = lat2_rad.to_degrees();
    let lon2 = lon2_rad.to_degrees();
    Ok(LatLng::new(lat2, lon2)?)
}

Hello,
As you said, it's an internal function used for some internal calculations, so I'm not sure if it deserves to be part of the public API (with all the implications it brings) of h3o.
What is your use case?
Similarly, we currently have the LatLng::distance functions that kinda stand out...
If it weren't for the API compatibility with the C library they wouldn't exists in h3o.
IMHO, those kind of functions (not related to H3 per se) better fit in more generic geospatial library, like geo (e.g. for destination point).

Hello, thank you for your answer.

What is your use case?

My case described in presented function. I have: a point on the map (lat/l&t), azimuth, length and I need to calculate the second point.
destination point - It is exactly what I need. sorry for bothering you, thank you!


release: v0.0.49

Draft release: https://github.com/kythe/kythe/releases/edit/untagged-588cc1a02223c7034156

Draft release: https://github.com/kythe/kythe/releases/edit/untagged-588cc1a02223c7034156


Issues of Send confirmation screen.

-Alignment (Arrival Time) is not correct.
-It is always showing $ as a Fee currency.

There are few more places on the send confirmation screen

There are few more places on the send confirmation screen where conversion unit is off(USD mode is on)

this isssue is still happening on dev app v.1.5.0(246)

-Verified this issue on dev app v1.5.0(248)


Deprecate bookmarklet

:tada: This issue has been resolved in version 6.44.0 :tada:
The release is available on:

GitHub release
v6.44.0

Your semantic-release bot :package::rocket:


"Authentication - Register PlayFab User" - contradictory information

The API documentaiton for Authentication - Register PlayFab User says this at the top of the page:

You must supply either a username or an email address.

However, under "Responses", it says this:

Each account must have a unique email address in the PlayFab service.

This information is contradictory; it's not clear if the email address is optional or required.

Updated documentation to clarify required fields.


Video is not recording in android 10+

E/CameraHelper: Couldn't find any suitable preview size
2020-09-03 01:21:36.533 6554-6554/com.wewill.steppie I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
2020-09-03 01:21:36.560 6554-6554/com.wewill.steppie D/InputTransport: Input channel destroyed: 'ClientS', fd=182
2020-09-03 01:21:36.562 6554-6554/com.wewill.steppie D/ViewRootImpl@b579bd5[Camera2Activity]: MSG_RESIZED: frame=(0,54,720,1520) ci=(0,0,0,84) vi=(0,0,0,84) or=1
2020-09-03 01:21:36.581 6554-26668/com.wewill.steppie V/FA: Connection attempt already in progress
2020-09-03 01:21:36.584 6554-26668/com.wewill.steppie V/FA: Connection attempt already in progress
2020-09-03 01:21:36.584 6554-26668/com.wewill.steppie D/FA: Connected to remote service
2020-09-03 01:21:36.585 6554-26668/com.wewill.steppie V/FA: Processing queued up service tasks: 4
2020-09-03 01:21:36.598 6554-6578/com.wewill.steppie I/CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPEN for client com.wewill.steppie API Level 2
2020-09-03 01:21:36.876 6554-6623/com.wewill.steppie W/libEGL: EGLNativeWindowType 0xb6eff088 disconnect failed
2020-09-03 01:21:36.884 6554-6554/com.wewill.steppie D/ViewRootImpl@60f8077[VideoDetails]: Relayout returned: old=(0,0,720,1520) new=(0,0,720,1520) req=(720,1520)8 dur=7 res=0x5 s={false 0} ch=true
2020-09-03 01:21:36.886 6554-6554/com.wewill.steppie D/ViewRootImpl@60f8077[VideoDetails]: stopped(true) old=false
2020-09-03 01:21:37.507 6554-6575/com.wewill.steppie I/CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_ACTIVE for client com.wewill.steppie API Level 2
2020-09-03 01:21:41.645 6554-26668/com.wewill.steppie V/FA: Inactivity, disconnecting from the service
2020-09-03 01:21:46.707 6554-6554/com.wewill.steppie D/ViewRootImpl@b579bd5[Camera2Activity]: ViewPostIme pointer 0
2020-09-03 01:21:46.802 6554-6554/com.wewill.steppie D/ViewRootImpl@b579bd5[Camera2Activity]: ViewPostIme pointer 1
2020-09-03 01:21:46.815 6554-6554/com.wewill.steppie E/SoundPool: error loading /product/media/audio/ui/VideoRecord.ogg
2020-09-03 01:21:46.817 6554-6554/com.wewill.steppie E/SoundPool: error loading /product/media/audio/ui/VideoRecord.ogg
2020-09-03 01:21:46.824 6554-6554/com.wewill.steppie D/CameraHelper: Failed to create directory.
2020-09-03 01:21:46.827 6554-26785/com.wewill.steppie I/MediaRecorderJNI: setup
2020-09-03 01:21:46.838 6554-26785/com.wewill.steppie I/MediaRecorderJNI: setAudioSource(5)
2020-09-03 01:21:46.849 6554-26785/com.wewill.steppie I/MediaRecorderJNI: setVideoSource(2)
2020-09-03 01:21:46.849 6554-26785/com.wewill.steppie I/MediaRecorderJNI: setVideoFrameRate(30)
2020-09-03 01:21:46.849 6554-26785/com.wewill.steppie I/MediaRecorderJNI: setVideoSize(720, 480)
2020-09-03 01:21:46.850 6554-26785/com.wewill.steppie I/MediaRecorderJNI: setParameter()
2020-09-03 01:21:46.850 6554-26785/com.wewill.steppie I/MediaRecorderJNI: setVideoEncoder(2)
2020-09-03 01:21:46.850 6554-26785/com.wewill.steppie I/MediaRecorderJNI: setParameter()
2020-09-03 01:21:46.850 6554-26785/com.wewill.steppie I/chatty: uid=10259(com.wewill.steppie) BaseCameraManag identical 1 line
2020-09-03 01:21:46.850 6554-26785/com.wewill.steppie I/MediaRecorderJNI: setParameter()
2020-09-03 01:21:46.850 6554-26785/com.wewill.steppie I/MediaRecorderJNI: setAudioEncoder(3)
2020-09-03 01:21:46.850 6554-26785/com.wewill.steppie E/Camera2Manager: Error during preparing MediaRecorder: Attempt to invoke virtual method 'java.lang.String java.io.File.toString()' on a null object reference
2020-09-03 01:21:46.850 6554-26785/com.wewill.steppie I/MediaRecorderJNI: native_reset
2020-09-03 01:21:46.853 6554-26785/com.wewill.steppie I/MediaRecorderJNI: release

@memfis19 Same here (android 10)

@kranthi0987 try adding android:requestLegacyExternalStorage="true" in the AndroidManifest.xml file (application tag)

Thanks @MH3sham  it is working fine now.


bug: hd_to_jsonschema_type minimum and maximum are rounded for numeric(18,7)

The method hd_to_jsonschema_type is returning minimum and maximum that have been rounded with given a numeric(18,7) column.
{"minimum": -100000000000.0, "maximum":<PHONE_NUMBER>00.0, "type": ["number"]}

This has to do with how float values are rounded.  I have tried a Decimal type but that isn't allowed.  Jsonschema validation will fail if I send a str value.
TypeError: '<' not supported between instances of 'float' and 'str'

This is what I would expect to see if all is working well.
"long": {"minimum": -99999999999.9999999, "maximum":<PHONE_NUMBER>9.9999999, "type": ["number"]},

This might be too simplistic of solution, but it has covered the few cases I came up with.  When the rounding happens since I am using all 9s in the strings float is rounding to a number that always starts with a 1, has 0s, and a decimal point . .  I played around and ended adding a second check to see if 1 is in the string version of str(float(maximum_as_number)) .
if "e+" not in str(float(maximum_as_number)) and "1" not in str(float(maximum_as_number)):

When this fails the else is to send over the minimum and maximum in scientific notation.


about 2.x migration to 5.x

Is there a migration plan from 2.x to 5.x?
Is there a relevant explanation?
I can see that have experienced refactoring. I think there are a lot of incompatible writings. I would like to ask about it.

There is no migration plan from 2.x to 5.x. OpenLayers 2 to 3 was a full rewrite of OpenLayers API: you can't reuse any OpenLayers 2 code. You need to rewrite all your OpenLayers 2 related code to new version. On the contrary, changes from OpenLayers 3 to 5 are only partially breaking but there is a path to upgrade by reading the releases notes.

OpenLayers was completely rewritten between version 2 and 3. Some concepts were kept, but a lot of things changed. Unfortunately there is no document with in-depth instructions for a migration. Feel free to ask migration on Stack Overflow, using the openlayers tag. Some migration topics have also been discussed there already. See https://stackoverflow.com/questions/tagged/openlayers.


Release 3.9.1

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge/core if anyone can merge this it would be great.

I don't have rights here, but other than my question about the skip condition, looks fine to me.

In next PR, I will attempt to not skip windows. This is required for cling.


Document what the score means

I have not been able to find any information on this. The problem I have with it is that it seems inconsistent with the rest of the output, yet the results of the famous CrystalDiskMark are based on it.
Example:
Total IO
thread |       bytes     |     I/Os     |     MB/s   |  I/O per s |  file
------------------------------------------------------------------------------
     0 |<PHONE_NUMBER> |        21172 |     529.36 |    4234.88 | cdm (1024MB)

------------------------------------------------------------------------------
total:<PHONE_NUMBER> |        21172 |     529.36 |    4234.88

Score: 5550740

It's as if the value in the column MB/s is actually MiB/s and the returned score is in MB/s... (And if that truly is the case, then it seems that the heading for the column should be corrected?)

It appears as if you're using an outdated version of the tool. This change was made in the commit cc454914210b568fcbad9a1587a0a77c083a1387. The latest update to Diskspd can be downloaded from https://aka.ms/diskspd.
I would also expect that any tools that use Diskspd would specify the -Rxml option and consume the results in XML format. The XmlResultParser would then display the value in bytes. The conventions used are documented under Size conventions for DiskSpd parameters.

My apologies - the above is based on CrystalDiskMark 6.0.1 (which also uses the fact that you used to output the score as exit code). I didn't realize that this has already been addressed...

No worries! Please let us know if you find any issues in the future or if you have any suggestions for improvements.


The co mocha is a bit incompiatble with browser.

    Initialization
        should initialize the main object ‣

        "use strict";
                let contestData = {
                    question1: 'How Are you?',
                    answer1: 'Fine, thanks.',
                    question2: 'Status',
                    answer2: 'Great',
                    question3: 'Who is the greatest painter?',
                    answer3: 'Raphael'
                };
                expect(contestData.question1).to.equal('How Are you?');
                expect(GetSystemThemeName()).to.equal('aero');
                expect(testSystemInformation()).to.be.true;

        should do something ‣

        return co.call(this, fn.apply(this, arguments));

The result content of should do something ‣ exposeed co.call`
We may need more specific function content.

I'm not sure what you're asking/saying? Do you have more code examples or something? Where is return co.call(this, fn.apply(this, arguments)) coming from?

@blakeembrey  It's comes from the co-mocha,
Cause co-mocha wrappign the orignal testing function.
So the fn.toString() return return co.call(this, fn.apply(this, arguments));
But the original function content.

Ok, I think I understand what you're having trouble with now. The language barrier made it extremely difficult to understand what issue you were having, since I already know the function is wrapped. I'll see if I can patch and release a new version tonight.

Patched and released with 1.1.2 :+1:

Great work, tested and verified.


feat(scheduler): add metrics

Current coverage is 87.70% (diff: 100%)

Merging #34 into master will increase coverage by 1.41%

@@             master        #34   diff @@
==========================================
  Files             2          2
  Lines           124        122     -2
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            107        107
+ Misses           14         13     -1
+ Partials          3          2     -1

Powered by Codecov. Last update 8ec25ba...d575997


[ios] Propose to connect metro server programmatically

Summary
nowadays, we could only specify metro server by either dev settings or building time ip.txt.
this pr adds a new way to specify metro server programmatically which makes rn launcher or testing more feasible.
Changelog
[Internal] [iOS] [Added] - Propose to connect metro server programmatically
Test Plan
just exposing a public interface for RCTPackagerConnection without much code change.
test to call this interface success locally.

Not on Android? 😅


Replace the prev/next and document list patterns with components gem on "latest" view

What
Adds 2 components to the "latest" view:

The prev/next component
The document list component

Why
This is part of work by the govuk accessibility team to replace bespoke components with our supported publishing components in frontend apps to reduce the risk of tech debt, bugs and accessibility issues creeping into our apps.
Page developed against
Card
Visual changes
Before

After

Just need an integration link for this review


Generate the openrpc.json specification file in this repo

Initially, I put together my own repo to manage and build the specfile. However, it makes more sense to bring it under the umbrella here.

Preview is available here:http://soroban-docs-pr692.previews.kube001.services.stellar-ops.com/

Preview is available here:http://soroban-docs-pr692.previews.kube001.services.stellar-ops.com/

Preview is available here:http://soroban-docs-pr692.previews.kube001.services.stellar-ops.com/

Preview is available here:http://soroban-docs-pr692.previews.kube001.services.stellar-ops.com/

Preview is available here:http://soroban-docs-pr692.previews.kube001.services.stellar-ops.com/

Preview is available here:http://soroban-docs-pr692.previews.kube001.services.stellar-ops.com/

Preview is available here:http://soroban-docs-pr692.previews.kube001.services.stellar-ops.com/


Can't send email to speakers only.

Would be nice to be able to send emails to speakers only.

This is already possible: https://ep2016.europython.eu/admin/conference/conference/ep2016/stats/details?code=conference_speakers.accepted_speakers
More options are available on this page: https://ep2016.europython.eu/admin/conference/conference/ep2016/stats/

Ok, I couldn't find it. Thanks! I will have a look.


Saving changes to email format does not take effect until F5 hard refresh

go to login/sign up page
generate one alias
change email format in extension
generate again

Expected: new alias should reflect the saved format
Actual: new alias is from the previous format. need to F5 hard refresh for change to take effect

#8


first click in settings is ignored

Windows Terminal version
'wt' is not recognized as an internal or external command, operable program or batch file.
Windows build number
Microsoft Windows [Version 10.0.22000.739]
Other Software
n.a.
Steps to reproduce
click window system icon
move mouse down to Settings option
click
move mouse to any option in the settings tab
click the option
click it again
Expected Behavior
the first click works
Actual Behavior
the first click does not work
https://www.youtube.com/watch?v=dyfAAZnYHxk

This is weird. I think I was briefly able to repro this by making sure to keep the mouse in the leftmost are of the window, like, where the nav view is. But it was very fragile - it was very easy to snap out of that bugged state. And of course, as soon as I tried to get a screen recording, I could no longer repro.
 It's hard to describe.
Without a super consistent repro, I suspect we won't be able to investigate this fully 😕

do you have animations enabled in windows

Windows Terminal version
1.16.2352.0
Windows build number
10.0.22973.0
Other Software
No response
Steps to reproduce

Launch Terminal with a profile tab and an unfocused settings UI tab
Reorder the tabs
Open settings UI tab
Settings UI page elements are unclickable, but nav view items are

Expected Behavior
Should be able to click items on the settings UI after reordering.
Actual Behavior
Nav view is clickable, but content in the page and the save buttons aren't. Looks like it's because the page isn't initialized properly if the elements aren't loaded before reordering tabs?

This one is kinda weird. If you leave the bounds of the window with the pointer and come back it prevents that. Seems that none of the ui items in the settings page are actually focused and setting it manually doesnt seem to help.


wip: split table metadata

Currently contains migrations to pull out fields from existing rows, this means this PR would not be a breaking change
If we want to keep this non-breaking, we'll have to keep writing the metadata as jsonb for another release.
#33

closed in favor of #478


flaky vm/dart_2/isolates/fast_object_copy_test turned Timeout on dartk-linux-release-simarm64

on https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/vm-kernel-linux-release-simarm64/12186/overview
--- Command "vm_compile_to_kernel" (took 01.000433s):
DART_CONFIGURATION=ReleaseSIMARM64 /b/s/w/ir/pkg/vm/tool/gen_kernel --no-aot --platform=out/ReleaseSIMARM64/vm_platform_strong.dill -o /b/s/w/ir/out/ReleaseSIMARM64/generated_compilations/dartk-linux-release-simarm64/runtime_tests_vm_dart_2_isolates_fast_object_copy_test/out.dill /b/s/w/ir/runtime/tests/vm/dart_2/isolates/fast_object_copy_test.dart --packages=/b/s/w/ir/.packages -Ddart.vm.product=false

exit code:
0

--- Command "vm" (took 16:00.000441s):
DART_CONFIGURATION=ReleaseSIMARM64 out/ReleaseSIMARM64/dart --ignore-unrecognized-flags --packages=/b/s/w/ir/.packages /b/s/w/ir/out/ReleaseSIMARM64/generated_compilations/dartk-linux-release-simarm64/runtime_tests_vm_dart_2_isolates_fast_object_copy_test/out.dill

exit code:
null

diagnostics:
Process list including children: [19687]
Trying to capture stack trace for pid 19687
PID 19687 - process
TID 19687:
#0  0x00007f8861193ad3 pthread_cond_wait@@GLIBC_2.3.2
#1  0x0000564f28b29f68 dart::Monitor::WaitMicros(long)
#2  0x0000564f28fb6dca Dart_RunLoop
#3  0x0000564f288abe59 dart::bin::RunMainIsolate(char const*, char const*, dart::bin::CommandLineOptions*)
#4  0x0000564f288acbb7 dart::bin::main(int, char**)
#5  0x0000564f288ad989 main
#6  0x00007f8860a18bf7 __libc_start_main
#7  0x0000564f288a64e9 _start
TID 19688:
#0  0x00007f8860b18a47 epoll_wait
#1  0x0000564f288bc598 dart::bin::EventHandlerImplementation::Poll(unsigned long)
#2  0x0000564f289ee090 dart::bin::ThreadStart(void*)
#3  0x00007f886118d6db start_thread
#4  0x00007f8860b1871f __clone
TID 19689:
#0  0x00007f8861193ad3 pthread_cond_wait@@GLIBC_2.3.2
#1  0x0000564f28b29f68 dart::Monitor::WaitMicros(long)
#2  0x0000564f28bd9150 dart::BackgroundCompiler::Run()
#3  0x0000564f28bc66b8 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)
#4  0x0000564f28bc6aec dart::ThreadPool::Worker::Main(unsigned long)
#5  0x0000564f28b29818 dart::ThreadStart(void*)
#6  0x00007f886118d6db start_thread
#7  0x00007f8860b1871f __clone
TID 19694:
#0  0x0000564f28ba6d31 dart::Simulator::DecodeLoadStore(dart::Instr*)
#1  0x0000564f28ba3523 dart::Simulator::InstructionDecode(dart::Instr*)
#2  0x0000564f28baa74b dart::Simulator::Execute()
#3  0x0000564f28baab04 dart::Simulator::Call(long, long, long, long, long, bool, bool)
#4  0x0000564f28a4ac2c dart::DartEntry::InvokeCode(dart::Code const&, unsigned long, dart::Array const&, dart::Array const&, dart::Thread*)
#5  0x0000564f28a4aa6d dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned long)
#6  0x0000564f28a4d06d dart::DartLibraryCalls::HandleMessage(dart::Object const&, dart::Instance const&)
#7  0x0000564f28a75611 dart::IsolateMessageHandler::HandleMessage(std::__2::unique_ptr<dart::Message, std::__2::default_delete<dart::Message> >)
#8  0x0000564f28aa001c dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool)
#9  0x0000564f28aa073f dart::MessageHandler::TaskCallback()
#10 0x0000564f28bc66b8 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)
#11 0x0000564f28bc6aec dart::ThreadPool::Worker::Main(unsigned long)
#12 0x0000564f28b29818 dart::ThreadStart(void*)
#13 0x00007f886118d6db start_thread
#14 0x00007f8860b1871f __clone

stdout:
testTransferrable
testTransferrable2
testTransferrable3
testTransferrable4
testTransferrable5
testExternalTypedData
testExternalTypedData2
testExternalTypedData3
testExternalTypedData4
testExternalTypedData5
testExternalTypedData6
testInternalTypedDataView
testInternalTypedDataView2
testInternalTypedDataView3
testInternalTypedDataView4
testExternalTypedDataView
testExternalTypedDataView2
testExternalTypedDataView3
testExternalTypedDataView4
testArray
testMapRehash
testMapRehash2
testMapRehash3
testSetRehash
testSetRehash2
testSetRehash3
testFastOnly
testSlowOnly

--- Re-run this test:
python3 tools/test.py -n dartk-linux-release-simarm64 vm/dart_2/isolates/fast_object_copy_test/0

This is toggling between timeout and flaky:
current results: https://dart-ci.firebaseapp.com/current_results/#/filter=vm/dart/isolates/fast_object_copy_test/2&showAll (1x simarm64 flaky, 1x simarm64 timeout)
history: https://dart-ci.firebaseapp.com/#showLatestFailures=false&test=vm/dart/isolates/fast_object_copy_test/2&configurations=dartk-weak-asserts-linux-release-simarm64
log: https://dart-ci.appspot.com/log/vm-kernel-nnbd-linux-release-simarm64/dartk-weak-asserts-linux-release-simarm64/380/vm/dart/isolates/fast_object_copy_test/2
log 2: https://dart-ci.appspot.com/log/vm-kernel-nnbd-linux-release-simarm64/dartk-weak-asserts-linux-release-simarm64/380/vm/dart/isolates/fast_object_copy_test/3

Turned Timeout again in https://dart-ci.appspot.com/log/vm-kernel-linux-release-simarm64/dartk-linux-release-simarm64/13497/vm/dart_2/isolates/fast_object_copy_test/4

On simarm64, isolates/fast_object_copy_test times out after 15 minutes, but isolates/fast_object_copy2_test passes in 5 seconds.
Because it is very consistently timing out on the jit simarm64 platforms, I think it should be skipped on those platforms.  There have been occasional timeouts on simarm, but not consistently.
Even on simarm, the fast_object_copy_test is taking 11 minutes for each variation, and the fast_object_copy2_test is only taking 3 seconds. So skipping the test on simarm would also save a lot of builder time, even though it is not timing out.
Skip CL: https://dart-review.googlesource.com/c/sdk/+/237320
I suspect the long runtime is due to a few loops that send 20 MB typed data between isolates, and they each run 10 times.  Maybe 10 times is not needed.
expensive loop

Thanks @whesse !


Had to install opentelemetry instrumentation packages manually for FastAPI support.

Description
I did a pip install logfire but after trying to setup integration with FastAPI I got errors that opentelemetry-instrumentation-asgi and opentelemetry-instrumentation-fastapi weren't installed.
I probably didn't follow/find the instructions to a "t".  Regards,
Python, Logfire & OS Versions, related packages (not required)
No response

pip install logfire[fastapi]

@jimkring Is there anything else we can help, or can we close this issue?

All good thanks

Reopening because the same mistake was made in https://github.com/pydantic/logfire/issues/96#issuecomment-2094969072 so we need to show a clearer error message in these cases.

Thanks @alexmojaki. Yes, if log fire could detect that a dependency is missing and provide a nice message on how to fix it, that would be extremely helpful.


is it possible to stream m3u ?

every time I tried to play a m3u files it closes the app, without any warning / error. this is what adb logcat says

Does it work with native vlc ?
On Sun, 28 Feb 2021 at 12:03 PM, Jose Valera<EMAIL_ADDRESS>wrote:

every time I tried to play a m3u files it closes the app, without any
warning / error. this is what adb logcat says
[image: image]
https://user-images.githubusercontent.com/48603039/109402707-57987d80-792e-11eb-9f83-299d3461dac3.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/razorRun/react-native-vlc-media-player/issues/59, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AFB72EBIRSPBV64VCIXSSATTBF22JANCNFSM4YKMYFNA
.

Does it work with native vlc ?
…
On Sun, 28 Feb 2021 at 12:03 PM, Jose Valera @.***> wrote: every time I tried to play a m3u files it closes the app, without any warning / error. this is what adb logcat says [image: image] https://user-images.githubusercontent.com/48603039/109402707-57987d80-792e-11eb-9f83-299d3461dac3.png — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#59>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFB72EBIRSPBV64VCIXSSATTBF22JANCNFSM4YKMYFNA .

Yes, It works with native VLC.

Any Updates on this? Getting the same issue.


Add FlutterDesktopViewGetContainer

Makes all tizen view types be able to get target container handle.

Is the name Container appropriate? How about NativeHandle? I think we can come up with a better name.

When I read and thought about what you said, Container seemed to have a strong content of the Container Object of the view elementary. But NativeHandle seems to be more suitable in the sense of the handle of container and window.

Is the tool side PR ready? Make sure to remove FlutterDesktopPluginRegistrarGetNativeWindow from the C# embedding's Interop.cs.

Is the tool side PR ready? Make sure to remove FlutterDesktopPluginRegistrarGetNativeWindow from the C# embedding's Interop.cs.

When this PR enters, a PR that applies modifications to the flutter-tizen repo is prepared.

Change Engine hash
Remove FlutterDesktopPluginRegistrarGetNativeWindow
Add FlutterDesktopPluginRegistrarGetView
Add FlutterDesktopViewGetNativeHandle


OrangeCrab, bootloader and QSPI

Coming from #98.

https://github.com/stnolting/neorv32/pull/98#issuecomment-875487952
And one problem for me to work on is that I have not tested anything to do with the flash (in this case, W25Q128JVP). Does this core/bootloader support QSPI? I ask because I think the default USB bootloader on the OrangeCrab switches the flash to QSPI mode, so if this original bootloader is kept, then the neorv32 core will not be able to communicate with the flash if it can't do QSPI. As far as I can tell there is no way to reset the flash back to normal SPI from the FPGA, it must be power cycled (which will then invoke the original bootloader to switch the flash into QSPI, etc).
Ideally I would like to keep the USB bootloader, and then store the neorv32 bit file at an offset in the flash past this bootloader, and then store the actual executable at a further offset in the flash (it's a 16MByte flash, so there should be plenty of room for all of this). I assume that the steps to do this are something like the following

Adjust the bootloader code to read/write into an offset of the flash (which will be original bootloader size + FPGA bitfile size)
and/or adjust the core to add this offset to all flash read/writes

Any ideas, suggestions or pointers here would be appreciated.

https://github.com/stnolting/neorv32/pull/98#issuecomment-875502965
I see that I should have read the documentation closer around the flash offset: https://stnolting.github.io/neorv32/ug/#_customizing_the_internal_bootloader

https://github.com/stnolting/neorv32/pull/98#issuecomment-875509983
I should have also read the flash datasheet further as well… it seems that SPI commands are always accepted. So I’m thinking that all I need to do to get application loading from flash is to rebuild the bootloader with the correct flash offset, then copy that newly built executable into the vhd file which contains the bootloader, and it should work from there?

/cc @jeremyherbert

https://github.com/stnolting/neorv32/pull/98#issuecomment-875671484:

@jeremyherbert

Ok, I fetched all of these changes and built it, loaded the newly generated svf and it works great:

Good to hear! 👍 🎉

it seems that SPI commands are always accepted.

I think that all SPI flashs always support "normal" (= single-bit) SPI as a fallback.

So I’m thinking that all I need to do to get application loading from flash is to rebuild the bootloader with the correct flash offset, then copy that newly built executable into the vhd file which contains the bootloader, and it should work from there?

That's right! But you do not need to copy anything - the makefile will take care of all that.
You can do the following:
neorv32/sw/bootloader$ make USER_FLAGS+=-DSPI_BOOT_BASE_ADDR=0x12345678 clean_all bootloader

This will override the default SPI boot address with 0x12345678, re-compile the bootloader sources and also install the executable image to the according VHDL file. You just need to re-synthesize the design.
ℹ All default defines that shall be overridden have to be added to the USER_FLAGS variable using the -D prefix.

Btw, qSPI support sounds interesting. Maybe this is something we could add to the default NEORV32 SPI module.

Yes, my mistake on the flash (sorry, it was late at night and my brain had already gone to sleep). QSPI in the core itself would make a lot of sense, especially if this could eventually be used for execute-in-place.

QSPI in the core itself would make a lot of sense, especially if this could eventually be used for execute-in-place.

QSPI should be no problem I think. SPI is just a shift register, classic SPI uses 1 bit and shifts by 1 position and QSPI uses 4 bits and shifts by 4 positions. So I think this could be also supported via a new configuration flag in the module.
Directly executing code "in-place" via SPI is not supported as the SPI controller is a peripheral. Hence, any CPU-SPI access is not "transparent" for CPU (CPU accesses are not directly transformed into SPI transmissions). This could be emulated in software via some virtualization approach.
Anyway, an external component that directly transforms bus accesses into SPI transactions seem to be a nice idea. Especially in combination with the instruction cache.

I have implemented a Wishbone-to-SPI bridge supporting XIP: -> #224
It only implements "single-bit" SPI mode so far (no dSPI/qSPI).


pygame xbox controller module

http://www.pygame.org/hifi.html
Use a wireless xbox controller to controll the rover.
Here is the input library that supports python 3.5: https://pypi.python.org/pypi/inputs/0.1

We probably won't use this anymore as the web server works for gamepad data.


Broadcaster/Observer state synchronization for spectator devices

The code within this review enables synchronizing unity scene content across devices. It specifically enables a main user (broadcaster) to relay their scene content to spectator devices (observers). It DOES NOT enable state synchronization for multiple users interacting/supplying input to a shared scene.
Within this review you can find the following:

IComponentBroadcaster and IComponentObserver interfaces. For each synchronized type, an implementation of said interfaces is required. Many standard unity types (transforms, meshes, etc) already have these classes implemented. These interfaces are managed by IComponentBroadcasterServices that register with the StateSynchronizationSceneManager

Editor functionality for updating AssetCaches. AssetCaches need to be configured at compile time so that different scene/resource content have shared ids across devices.

A StateSynchronization demo scene. This scene shows what MonoBehaviours and function calls are required for setting up a synchronize experience.

Hey Chris,
This is a truly massive PR. Do you think it makes sense to break this up into smaller chunks? You already stated that this contains 3 main topics.

@provencher for more context, this code has existed for a while internally and has undergone reviews prior to this first public PR. It was used in the build demo and is fairly stable. We could split it into multiple PRs, but sticking to this single PR may be preferred based on how eager folks are to get out a formal spectator view release.

This folder has a lot of new meta files, is it possible you moved the corresponding classes out of this folder and the meta files just didn't get moved with them?

Refers to: Assets/MixedRealityToolkit.Extensions/SpectatorView/Scripts/StateSynchronization/NetworkedComponents/AudioSource.meta:11 in 741b644. [](commit_id = 741b644f1818054f88a1032826342b13ca795b1e, deletion_comment = False)

Nevermind, I realized these are meta files for directories!

In reply to: 492872589 [](ancestors = 492872589)

Refers to: Assets/MixedRealityToolkit.Extensions/SpectatorView/Scripts/StateSynchronization/NetworkedComponents/AudioSource.meta:11 in 741b644. [](commit_id = 741b644f1818054f88a1032826342b13ca795b1e, deletion_comment = False)

using UnityEngine;

nit: Copyright

Refers to: Assets/MixedRealityToolkit.Extensions/SpectatorView/Scripts/StateSynchronization/Demo/Spin.cs:1 in f08c7d5. [](commit_id = f08c7d531419426f9187c34a1ff40639d5210062, deletion_comment = False)

using Microsoft.MixedReality.Toolkit.Extensions.Experimental.Socketer;

nit: Copyright

Refers to: Assets/MixedRealityToolkit.Extensions/SpectatorView/Scripts/StateSynchronization/NetworkedComponents/Mask/MaskBroadcaster.cs:1 in f08c7d5. [](commit_id = f08c7d531419426f9187c34a1ff40639d5210062, deletion_comment = False)


Fixed args typo for timeout arg

@ric-evans Was looking into using the command-line interface of file-catalog-indexer for the Indexer component on jade03.
Found this typo.

:facepalm: good catch. Pylint has a nifty functionality for catching these kinds of typos, but it fails if you're accessing it via a namespace


Error when adding an issue without component status

When you add an issue and select a component, but don't select a component status, you get a Whoops, looks like something went wrong. 500 internal error. I would expect to get a normal error message saying I should select a component status, just like when you don't select an issue status.

Is this on the master branch or L5?

This doesn't happen under L5, could you update please.

This one seems to be fixed indeed, thanks :)


Parameters for a JAR job both in Job Create and Run Submit

The doc should explain what happens if you specify parameters for a JAR job both in the "parameters" attribute of the Job Create operation, and in the "jar_params" attribute of the Run Submit operation for the job. Which takes precedence?

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

ID: 94757e87-8be2-3279-4a7e-51fbbaf7d678
Version Independent ID: 9cfad152-bba2-390c-edce-63d3aba3f4fa
Content: Jobs API - Azure Databricks
Content Source: databricks/dev-tools/api/latest/jobs.md
Service: azure-databricks
GitHub Login: @mamccrea
Microsoft Alias: mamccrea

@algattik Thanks for the feedback. We are currently investigating into the issue and will update you shortly.

@algattik Understand the difference between parameters and jar_params.

For example, assuming the JAR is uploaded to DBFS, you can run SparkPi by setting the following parameters.
{
  "parameters": [
    "--class",
    "org.apache.spark.examples.SparkPi",
    "dbfs:/path/to/examples.jar",
    "10"
  ]
}

Note: . Only one of jar_params, python_params, or notebook_params should be specified in the run-now request, depending on the type of job task. Jobs with Spark JAR task or Python task take a list of position-based parameters, and jobs with notebook tasks take a key value map.
An example request for a JAR job:
{
  "job_id": 2,
  "jar_params": ["param1", "param2"]
}

Hope this helps.

@algattik  We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


[cryptopp] build failure

Host Environment

OS: Ubuntu 22.04
Compiler: GCC 11

Failure logs
#22 65.03 -- Using source at /cache/vcpkg-src/buildtrees/cryptopp/src/6df92864a6-b4419a9589.clean
#22 65.08 -- Configuring x64-linux-dynamic-release
#22 72.58 -- Building x64-linux-dynamic-release-rel
#22 91.21 CMake Error at buildtrees/versioning_/versions/cryptopp/7e3fcbde366bc4af8cc2082053b671352963410d/portfile.cmake:75 (file):
#22 91.21   file RENAME failed to rename
#22 91.21
#22 91.21     /cache/vcpkg-src/packages/cryptopp_x64-linux-dynamic-release/debug/share/pkgconfig/cryptopp.pc
#22 91.21
#22 91.21   to
#22 91.21
#22 91.21     /cache/vcpkg-src/packages/cryptopp_x64-linux-dynamic-release/lib/pkgconfig/cryptopp.pc
#22 91.21
#22 91.21   because: No such file or directory
#22 91.21
#22 91.21 Call Stack (most recent call first):
#22 91.21   scripts/ports.cmake:147 (include)
#22 91.21
#22 91.21
#22 91.21 error: building cryptopp:x64-linux-dynamic-release failed with: BUILD_FAILED
Additional context
the problem in
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/share/pkgconfig/cryptopp.pc" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/cryptopp.pc")
There is no debug folder in case of release only build

Confirmed, reproduced locally.


Bug when running python code in console after running it using the "run the selection" feature

Issue Type: Bug
1- Write print('hello') in a new python file
2- Select the chunk of code and run it with run selection (shift+enter)
3- Run the code again, but using run python file in terminal.
expected: hello
actual:
File "", line 1
& C:/Users/me/AppData/Local/Programs/Python/Python37-32/python.exe "mypath/test.py"
^
SyntaxError: invalid syntax
Extension version: 2019.9.34911
VS Code version: Code 1.38.1 (b37e54c98e1a74ba89e03073e5a3761284e3ffb0, 2019-09-11T13:35:15.005Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz (8 x 1896)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.85GB (1.00GB free)

Process Argv

Screen Reader
no

VM
0%

Hi @P-mir 👋 This is a duplicate of #2997. As a workaround you can either close the Python Debug Console that was created when you ran the selection, or type exit() to quit that REPL and be able to execute files in the terminal.


Game UI is messed up

As you probably can see in the picture, I can't get the game to run properly. The menu UI can be seen, as well as a screenshot of how the game itself looks.

looks like you got outdated ddraw.dll


Using streaming/defer with prisma

What version of Remix are you using?
1.11.0
Steps to Reproduce
Using the new defer function with a prisma call breaks the Await component.
When logging the render prop value its just an empty object i.e {}
After a bit of debugging I noticed that the promise return type of a prisma call is a PrismaPromise, it seems the Await component doesn't like this.
Wrapping the prisma call in Promise seems to solve the issue:
  const users = new Promise(async (resolve) => {
    db.user
      .findMany()
      .then(resolve)
  })
  return defer({ otherThings, users })

Even after the fix above, I also get this error in the browser console
Error: This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition.
Expected Behavior
Defers loading prisma call
Actual Behavior
Blows up

Was just about to start an issue on this, but saw that @JClackett already did.
I created a demo that replicates the error:
https://github.com/xHomu/remix-defer-indie-stack/blob/main/app/routes/index.tsx

I have a similar issue and the same error message.
It's working great when I navigate to the page were the defer is used but I receive the same error message in the browser console when I reload the page.
I tried to reproduce the bug with a basic example but it's working as expected. I think it's something that is coming from my stack, maybe i18n...

I don't use prisma or i18n but have the same issue. Even when deferring something like this for testing:
export async function getCurrentUser() {
  await new Promise((r) => setTimeout(r, 2000));
  return {
    email<EMAIL_ADDRESS>    first_name: "First Name",
    last_name: "Last Name",
  };
}

So I just had the same problem come up and if anyone is interested, I've been building out an ensuredPromise for any time I want to defer something... If wrapping in a promise solves the issue you can just do it once and not have to worry again:
export async function ensuredPromise<T, P extends string | number | null>(promiseFunction: (prop: NonNullable<P>) => Promise<T>, prop: P) {
	return !!prop
		? new Promise(async resolve => {
				const res = await promiseFunction(prop);
				return resolve(res);
		  })
		: (async () => null)();
}

It's messy, but i've only needed to pass a single string or number through because I make helper functions, it's also handling the scenario where you pass through a potentially undefined prop, defer always needs a promise that resolves null (undefined will break it)

In the meanwhile, you can use either of the following:
// .then(result => result)
return defer({
  users: db.user.findMany({ ... }).then(u => u)
});

return defer({
  users: Promise.resolve().then(() => db.user.findMany({ ... })
});

This likely happens because Prisma doesn't actually return a Promise until you call .then.
You could build a small wrapper for it:
// I have NOT tested this

import { defer as remixDefer } from "@remix-run/node";

export function defer<Data extends Record<string, unknown>>(data: Data) {
  return Object.fromEntries(
    Object.entries()(
      ([key, value]) => [key, "then" in value ? value.then(r => r) : value]
    )
  );
}

Just want to inform the problem still exists and it is not related to prisma. It's related to <Await> component and it's conflict with React's <Suspense> component.

@mikkpokk Can You provide some more details or a link to a discussion about this problem? We do have the very same problem. The problem appears when a page is server side rendered and the page's loader returns deferred data.
This issue appeared also in @kentcdodds "Advanced Remix" course in Frontend Masters.

@gforro Unfortunately, I didn't had chance to dig deeper and I wrote my own hook instead to resolve the issue in my project.
Usage inside component:
...
const [deferred_data, deferred_loading, deferred_error] = useResolveDeferredData(data?.deferred_data)
...

Hook itself:
const isPromise = (input) => input && typeof input.then === 'function'

const useResolveDeferredData = (input, emptyDataState = {}) => {
    const [data, setData] = useState<any>(isPromise(input) ? emptyDataState : input)
    const [loading, setLoading] = useState<boolean>(isPromise(input))
    const [error, setError] = useState<string|null>(null)

    useEffect(() => {
        if (isPromise(input)) {
            setLoading(true)

            Promise.resolve(input).then(data => {
                setData(data)
                setLoading(false)
            }).catch((error) => {
                if (error.message !== 'Deferred data aborted') {
                    // This should fire only in case of unexpected or expected server error
                    setData(emptyDataState)
                    setError(error.message)
                    setLoading(false)
                }
            })
        } else {
            setData(input)
        }

        // eslint-disable-next-line react-hooks/exhaustive-deps
    }, [input])

    return [
        data,
        loading,
        error,
    ]
}

export default useResolveDeferredData

I also have this issue.

It’s Prisma who needs to abide to a standard Promise format. This is not a remix issue.

I think it's not prisma related. A few people in this thread including myself have this issue without using prisma.

It’s Prisma who needs to abide to a standard Promise format. This is not a remix issue.

I think it's not prisma related. A few people in this thread including myself have this issue without using prisma.

may I have a non-prisma example? this thread is about prisma

https://github.com/remix-run/remix/issues/5153#issuecomment-1399336828
https://github.com/remix-run/remix/issues/5153#issuecomment-1594905571
https://github.com/remix-run/remix/issues/5153#issuecomment-1703494238

we are facing the same issue, with mock data as described by @adanielyan

Is there any update on this regarding non-prisma calls?

If you're getting hydration issues on the initial page load, this will break defer and streaming results. This is because React re-renders your app after a hydration mismatch, so Remix no longer handles the streamed results. This affects any deferred promises, not just those from Prisma.
This is a known issue with how React 18.2 handles the hydration of the entire document vs a single div. This is primarily due to browser extensions that mutate the DOM before hydration.
The current solution is to use React Canary (currently the pre-release of v19).
Please take a look at my example. This uses the new Single Data Fetch feature (v2.9), enabling you to return promises directly (including nested promises) without using defer. It also shows how to use React Canary and overrides.
https://github.com/kiliman/remix-single-fetch

@kiliman Hey, no, I don't have any hydration issues. What breaks it is simply using await sleep(1000) in an async function that returns DB query (no prisma)

@jansedlon Do you have an example repo that I can check out?

@kiliman Uhhh, I'll try to make one

I think the issue is similar to https://github.com/remix-run/remix/issues/9440, remix judges whether the deferred data instance is Promise based on instanceof Promise, but some data may wrap Promise, resulting in the destruction of the subsequent process

Fixing Prisma + Remix <Await> Issues
If you're running into issues with Prisma queries not being properly deferred in Remix's <Await> component, here's a solution that worked for me.
The issue occurs because Prisma's promises don't play nicely with Remix's defer mechanism, because of the reason above . You can fix this by creating a proxy around your Prisma client that automatically wraps all query results in Promise.resolve(), which fixes this problem.
The Solution
Here's the implementation:
function createPromiseWrappedProxy(target: any): any {
  return new Proxy(target, {
    get(target, prop) {
      const value = target[prop];
      if (typeof value === 'function') {
        return (...args: any[]) => Promise.resolve().then(() => value.apply(target, args));
      }
      if (typeof value === 'object' && value !== null) {
        return createPromiseWrappedProxy(value);
      }
      return value;
    }
  });
}

Apply it to your Prisma client in your context setup:
export function getLoadContext({ context }: GetLoadContextArgs) {
  const db = createPromiseWrappedProxy(getDB(context.cloudflare.env)); // or wherever you create the database
  return { ...context, db };
}

Now you can use Prisma queries directly with <Await> without manually wrapping them in Promise.resolve():
export async function loader({ context }: LoaderFunctionArgs) {
  return {
    posts: context.db.post.findMany(), // Just works!
  };
}

This proxy recursively wraps all Prisma model methods, ensuring that any query you make will work properly with Remix's defer/await pattern. It's a clean solution that doesn't require modifying each loader individually.
Why This Works
The proxy intercepts all method calls to your Prisma client and ensures they return promises that are compatible with the Worker environment.
Hope this helps others who run into the same issue! 🚀


vlc: change name for library only version

Motivation for this change
Very minor cleanup, but it does make nix-store --query --referrers
easier to grok when both the library and actual application are showing.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

won't this break the download below since it uses pname for the archive?

Absolutely - what on earth did I compile then....
Fixed.

Absolutely - what on earth did I compile then....

Fixed.

The archive isn't re-downloaded when the url changes; only when the sha256 changes.


Different results depending on architecture

Based on failing tests in Herbie, different architectures actually create different results, specifically Ubuntu 24.04 on x86 and MacOS 14.5 on arm64 (both with Rust version 1.80). Created a unit test to run with the same expressions and rules. Used GitHub Actions to run on multiple platforms.
Reproduce:

checkout Herbie at nondeterminism
in egg-herbie/ run RUST_LOG=info cargo test --release --package egg-herbie --lib -- bug::repro --nocapture

(h/t @zaneenders for the find)

@bksaiki is this still true?


Compression setting not effective if HTTP2 enabled

Compression
Environment Details

Helidon Version: 2.4.0
Helidon SE
JDK version: 17
OS: linux

#2334 Enabled http compression, this works for HTTP1 but once http2 is enabled, the setting is not applied.
see: https://github.com/oracle/helidon/blob/c4958dd87a0ecd484c6cd0a6c6b06dae10515b7b/webserver/webserver/src/main/java/io/helidon/webserver/HttpInitializer.java#L180-L210

PR #3705 PR #3700


GPU version

Are you considering a GPU version of the classification routine? Right now you have to wait several seconds for the classification of the unseen regions.

Hi @lmiroslaw,
If your GPU is not already in use by another program, CNTK should automatically use the device both during training and inference. If ArcGIS Pro, the training script, or another notebook that imports CNTK are running when you start the inference notebook, then these scripts may have locked the GPU, forcing the inference notebook to default to execution on CPU. An extra CNTK command can help check which device is being used:
>>> cntk.device.use_default_device()
Selected CPU as the process wide default device.

If you find that the inference notebook cannot make use of the GPU, we recommend closing ArcGIS Pro and any open notebooks (using the "Close and Halt" option, so that no kernels which imported CNTK are left running).
Another reason that inference may be slower than expected is that the neural network's output size is 128 pixels x 128 pixels, so we have used a tiling strategy to perform predictions on large regions. It's possible to achieve speedups by changing the I/O dimensions of the network (which doesn't require retraining since the network is fully convolutional) or by implementing minibatching to perform inference on multiple "tiles" at once. Currently we don't have plans to include sample code for those techniques in this repository, however.

Closing this issue as it appears to have been due to the GPU being locked by a separate process, and no reply has been received for a few weeks.


add reference to export

🚀 Deployed on https://62f3ca7dd9a6876aee047a7e--cozy-fox-0defec.netlify.app


Run pre-commit hooks as a GitHub Action

It’s easy to forget to install pre-commit. Adding a GitHub Action that runs pre-commit will work as a fallback to lint commits that have already been pushed. It could also check pull requests which would be nice.

This was implemented in 9eecc9b (Create GitHub action that runs pre-commit hooks, 2022-08-19).


EnvoyExtensionPolicy: WASM config with no sha256 results in non-user-visible error

Description:
When loading a WASM blob over http, the docs say of EnvoyExtensionPolicy::spec.wasm.code.http.sha256 "If not specified, Envoy Gateway will not verify the downloaded Wasm code."
However, when I omit that field

The CR is accepted, but
The WASM doesn't load, and the controlplane logs contain the following

2024-10-01T11:39:52.810Z        INFO    xds-translator  runner/runner.go:55     received an update      {"runner": "xds-translator"}
2024-10-01T11:39:52.811Z        ERROR   xds-translator  runner/runner.go:85     failed to translate xds ir      {"runner": "xds-translator", "error": "invalid Wasm.Config: embedded message failed validation | caused by: invalid PluginConfig.VmConfig: embedded message failed validation | caused by: invalid VmConfig.Code: embedded message failed validation | caused by: invalid AsyncDataSource.Remote: embedded message failed validation | caused by: invalid RemoteDataSource.Sha256: value length must be at least 1 runes"}
2024-10-01T11:39:52.811Z        INFO    xds-server      runner/runner.go:140    received an update      {"runner": "xds-server"}
2024-10-01T11:39:52.812Z        ERROR   watchable       message/watchutil.go:56 observed an error       {"runner": "xds-translator", "error": "invalid Wasm.Config: embedded message failed validation | caused by: invalid PluginConfig.VmConfig: embedded message failed validation | caused by: invalid VmConfig.Code: embedded message failed validation | caused by: invalid AsyncDataSource.Remote: embedded message failed validation | caused by: invalid RemoteDataSource.Sha256: value length must be at least 1 runes"}

So it seems like a non-empty sha256 is needed (I confirmed: supplying one fixes the issue). Worse, the docs are mis-leading, and the user-facing statuses say everything's ok.
What do we want to do? I guess either
a) Change the docs, and enforce a non-missing, non-empty sha256 field on the CRD, or
b) Change the code so that it doesn't try to produce RemoteDataSource.Sha256 and provides any other Envoy config necessary to skip sha256 validation

cc @zhaohuabing

I wonder is there any update with this issue?I just met the same problem.


[CORE-786] Disable ServiceAccount Automounting of Token on pods without Pachd

It looks like loki does need the same treatment, but there doesn't appear to be a way to handle it via the values file, which means customizing those two charts too...

That's fine.  Bob is working on upgrading Loki and making it installed by default, so I'll update those tickets to make sure we come back and audit its k8s access.


Update info and actions cards

Codecov Report

Merging #102 (8e95ee2) into main (c858ff3) will increase coverage by 0.48%.
The diff coverage is 79.79%.

@@            Coverage Diff             @@
##             main     #102      +/-   ##
==========================================
+ Coverage   74.92%   75.41%   +0.48%
==========================================
  Files          27       29       +2
  Lines        1428     1672     +244
  Branches      193      237      +44
==========================================
+ Hits         1070     1261     +191
- Misses        277      297      +20
- Partials       81      114      +33

Impacted Files
Coverage Δ

...m/alexvanyo/composelife/ui/CellUniverseInfoCard.kt
78.34% <78.34%> (ø)

...m/alexvanyo/composelife/ui/CellUniverseInfoItem.kt
79.31% <79.31%> (ø)

...lexvanyo/composelife/ui/InteractiveCellUniverse.kt
82.75% <86.04%> (-3.45%)
:arrow_down:

...exvanyo/composelife/algorithm/HashLifeAlgorithm.kt
83.25% <0.00%> (+0.22%)
:arrow_up:

Continue to review full report at Codecov.

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


Fix SW registration

What kind of change does this PR introduce?
bugfix, Closes #622
Summary
The previous code was producing this within preact build output:
navigator.serviceWorker.register(n.p+!1?"sw-esm.js":"sw.js")

It is now this:
navigator.serviceWorker.register(n.p+"sw.js");

WHAT!!!!
btw is esm SW working fine too?

:laughing: yup, checked both

Thank you so much.... 😊


Integration Test - Release - 2019/08/01 23:04:52

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#pri3'

#pri2

#pri3

#assign PRMergerTest1

#assign NonAllowedUser

NonAllowedUser is not a valid GitHub ID, or is not a collaborator on this repo.

#reassign PRMergerTest2

GitHub user PRMergerTest1 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#reassign NonAllowedUser

NonAllowedUser is not a valid GitHub ID, or is not a collaborator on this repo.

#please-close


error

Hello, thank you very much for opening the code.
I met a problem in the process of using it. I ran train. Py directly and reported an error：
File "C:\Users\cc\Desktop\DL-based-Intelligent-Diagnosis-Benchmark-master\utils\train_utils.py", line 67, in setup
self.model = getattr(models, args.model_name)(in_channel=Dataset.inputchannel, out_channel=Dataset.num_classes)
TypeError: 'module' object is not callable

We should change the model_name (we have not designed Inception2d). Thus, I help you change 'Inception2d' to 'cnn_2d'.

I am also getting the same error ,i couldnot get how to solve.I am new in this field ,so thanks in advance .File "D:\DL-based-Intelligent-Diagnosis-Benchmark-master\utils\train_utils.py", line 63, in setup
self.model = getattr(models, args.model_name)(in_channel=Dataset.inputchannel, out_channel=Dataset.num_classes)
TypeError: 'module' object is not callable


Fix NIODeadline.Value deprecation message typo

Fixes a typo doesn't server any purpose -> doesn't serve any purpose
Motivation:
Typos are bad.
Modifications:
Simple correction to the deprecation message for typealias Value = UInt64
Result:
No downstream impact and no patch release required. Can be rolled out with the next release.

@swift-nio-bot add to whitelist


I want to add comments to all the files

Comments are very necessary to any of the source file,
Moreover, comments are considered as an important element in coding tests of many companies,
Hence, I want to add comments to all the files present in the repo irrespective of the language of the files

hey changing to any of code file is not needed in this repo

you can work on the different opened issues

kya batayen,
sab bahut hard issue hai
phir bhi dekhte hain
thank you


Item Hover Text Not Working

Whenever I load my game and get an item and hover over it, the hover text doesn't appear! Why is that? How can I fix it?

Hi,
I'm not actively working on the project anymore. Feel free to take it over if you want, the source code is there, but I won't be available to help on how to fix bugs or implement new features, unfortunately. 😞
I'll put this repository as archived so that it's clear for the next readers.