Unable to Convert annotations to Object Detections using HistomicsTK

I am facing issue,s particularly in the implementation suggested by HistomicsTK, from the code below
CWD = os.getcwd()

APIURL = 'http://candygram.neurology.emory.edu:8080/api/v1/'
SAMPLE_SLIDE_ID = '5d586d57bd4404c6b1f28640'
GTCODE_PATH = os.path.join(CWD, '../../tests/test_files/sample_GTcodes.csv')

# connect to girder client
gc = girder_client.GirderClient(apiUrl=APIURL)
# gc.authenticate(interactive=True)
gc.authenticate(apiKey='kri19nTIGOkWH01TbzRqfohaaDWb6kPecRqGmemb')

# just a temp directory to save masks for now
BASE_SAVEPATH = tempfile.mkdtemp()
SAVEPATHS = {
    'mask': os.path.join(BASE_SAVEPATH, 'masks'),
    'rgb': os.path.join(BASE_SAVEPATH, 'rgbs'),
    'contours': os.path.join(BASE_SAVEPATH, 'contours'),
    'visualization': os.path.join(BASE_SAVEPATH, 'vis'),
}
for _, savepath in SAVEPATHS.items():
    os.mkdir(savepath)

# What resolution do we want to get the images at?
# Microns-per-pixel / Magnification (either or)
MPP = 2.5  # <- this roughly translates to 4x magnification
MAG = None

The error I am getting is below
---------------------------------------------------------------------------
TimeoutError                              Traceback (most recent call last)
File [/usr/lib/python3/dist-packages/urllib3/connection.py:169](https://vscode-remote+ssh-002dremote-002bec2-002d3-002d145-002d1-002d239-002eus-002deast-002d2-002ecompute-002eamazonaws-002ecom.vscode-resource.vscode-cdn.net/usr/lib/python3/dist-packages/urllib3/connection.py:169), in HTTPConnection._new_conn(self)
    [168](https://vscode-remote+ssh-002dremote-002bec2-002d3-002d145-002d1-002d239-002eus-002deast-002d2-002ecompute-002eamazonaws-002ecom.vscode-resource.vscode-cdn.net/usr/lib/python3/dist-packages/urllib3/connection.py:168) try:
--> [169](https://vscode-remote+ssh-002dremote-002bec2-002d3-002d145-002d1-002d239-002eus-002deast-002d2-002ecompute-002eamazonaws-002ecom.vscode-resource.vscode-cdn.net/usr/lib/python3/dist-packages/urllib3/connection.py:169)     conn = connection.create_connection(
    [170](https://vscode-remote+ssh-002dremote-002bec2-002d3-002d145-002d1-002d239-002eus-002deast-002d2-002ecompute-002eamazonaws-002ecom.vscode-resource.vscode-cdn.net/usr/lib/python3/dist-packages/urllib3/connection.py:170)         (self._dns_host, self.port), self.timeout, **extra_kw
    [171](https://vscode-remote+ssh-002dremote-002bec2-002d3-002d145-002d1-002d239-002eus-002deast-002d2-002ecompute-002eamazonaws-002ecom.vscode-resource.vscode-cdn.net/usr/lib/python3/dist-packages/urllib3/connection.py:171)     )
    [173](https://vscode-remote+ssh-002dremote-002bec2-002d3-002d145-002d1-002d239-002eus-002deast-002d2-002ecompute-002eamazonaws-002ecom.vscode-resource.vscode-cdn.net/usr/lib/python3/dist-packages/urllib3/connection.py:173) except SocketTimeout:

File [/usr/lib/python3/dist-packages/urllib3/util/connection.py:96](https://vscode-remote+ssh-002dremote-002bec2-002d3-002d145-002d1-002d239-002eus-002deast-002d2-002ecompute-002eamazonaws-002ecom.vscode-resource.vscode-cdn.net/usr/lib/python3/dist-packages/urllib3/util/connection.py:96), in create_connection(address, timeout, source_address, socket_options)
     [95](https://vscode-remote+ssh-002dremote-002bec2-002d3-002d145-002d1-002d239-002eus-002deast-002d2-002ecompute-002eamazonaws-002ecom.vscode-resource.vscode-cdn.net/usr/lib/python3/dist-packages/urllib3/util/connection.py:95) if err is not None:
---> [96](https://vscode-remote+ssh-002dremote-002bec2-002d3-002d145-002d1-002d239-002eus-002deast-002d2-002ecompute-002eamazonaws-002ecom.vscode-resource.vscode-cdn.net/usr/lib/python3/dist-packages/urllib3/util/connection.py:96)     raise err
     [98](https://vscode-remote+ssh-002dremote-002bec2-002d3-002d145-002d1-002d239-002eus-002deast-002d2-002ecompute-002eamazonaws-002ecom.vscode-resource.vscode-cdn.net/usr/lib/python3/dist-packages/urllib3/util/connection.py:98) raise socket.error("getaddrinfo returns an empty list")

File [/usr/lib/python3/dist-packages/urllib3/util/connection.py:86](https://vscode-remote+ssh-002dremote-002bec2-002d3-002d145-002d1-002d239-002eus-002deast-002d2-002ecompute-002eamazonaws-002ecom.vscode-resource.vscode-cdn.net/usr/lib/python3/dist-packages/urllib3/util/connection.py:86), in create_connection(address, timeout, source_address, socket_options)
     [85](https://vscode-remote+ssh-002dremote-002bec2-002d3-002d145-002d1-002d239-002eus-002deast-002d2-002ecompute-002eamazonaws-002ecom.vscode-resource.vscode-cdn.net/usr/lib/python3/dist-packages/urllib3/util/connection.py:85)     sock.bind(source_address)
---> [86](https://vscode-remote+ssh-002dremote-002bec2-002d3-002d145-002d1-002d239-002eus-002deast-002d2-002ecompute-002eamazonaws-002ecom.vscode-resource.vscode-cdn.net/usr/lib/python3/dist-packages/urllib3/util/connection.py:86) sock.connect(sa)
     [87](https://vscode-remote+ssh-002dremote-002bec2-002d3-002d145-002d1-002d239-002eus-002deast-002d2-002ecompute-002eamazonaws-002ecom.vscode-resource.vscode-cdn.net/usr/lib/python3/dist-packages/urllib3/util/connection.py:87) return sock

TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

ConnectTimeoutError                       Traceback (most recent call last)
File [/usr/lib/python3/dist-packages/urllib3/connectionpool.py:700](https://vscode-remote+ssh-002dremote-002bec2-002d3-002d145-002d1-002d239-002eus-002deast-002d2-002ecompute-002eamazonaws-002ecom.vscode-resource.vscode-cdn.net/usr/lib/python3/dist-packages/urllib3/connectionpool.py:700), in HTTPConnectionPool.urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
...
--> [507](https://vscode-remote+ssh-002dremote-002bec2-002d3-002d145-002d1-002d239-002eus-002deast-002d2-002ecompute-002eamazonaws-002ecom.vscode-resource.vscode-cdn.net/home/ubuntu/~/.local/lib/python3.10/site-packages/requests/adapters.py:507)         raise ConnectTimeout(e, request=request)
    [509](https://vscode-remote+ssh-002dremote-002bec2-002d3-002d145-002d1-002d239-002eus-002deast-002d2-002ecompute-002eamazonaws-002ecom.vscode-resource.vscode-cdn.net/home/ubuntu/~/.local/lib/python3.10/site-packages/requests/adapters.py:509) if isinstance(e.reason, ResponseError):
    [510](https://vscode-remote+ssh-002dremote-002bec2-002d3-002d145-002d1-002d239-002eus-002deast-002d2-002ecompute-002eamazonaws-002ecom.vscode-resource.vscode-cdn.net/home/ubuntu/~/.local/lib/python3.10/site-packages/requests/adapters.py:510)     raise RetryError(e, request=request)

ConnectTimeout: HTTPConnectionPool(host='candygram.neurology.emory.edu', port=8080): Max retries exceeded with url: [/api/v1/user/authentication](https://vscode-remote+ssh-002dremote-002bec2-002d3-002d145-002d1-002d239-002eus-002deast-002d2-002ecompute-002eamazonaws-002ecom.vscode-resource.vscode-cdn.net/api/v1/user/authentication) (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f831ac64340>, 'Connection to candygram.neurology.emory.edu timed out. (connect timeout=None)'))

How to fix this?

http://candygram.neurology.emory.edu:8080 isn't reachable.  You probably meant some other address.  Maybe the https address without a specified port?

No even with https it does not work

Aaah we had to remove port 8080 so we could use ssl... which document or
tutorial are you using and we can update the links.
On Wed, Nov 29, 2023, 5:02 PM David Manthey @.***>
wrote:

http://candygram.neurology.emory.edu:8080 isn't reachable. You probably
meant some other address. Maybe the https address without a specified port?
—
Reply to this email directly, view it on GitHub
https://github.com/DigitalSlideArchive/HistomicsTK/issues/1080#issuecomment-1832771035,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFODTTVRR7B7OV2MIW7IVDYG6WF5AVCNFSM6AAAAAA7VFZRLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSG43TCMBTGU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hi, I am using this portal
https://digitalslidearchive.github.io/HistomicsTK/examples/semantic_segmentation_superpixel_approach.html
Best Regards,
Digvijay Yadav
On Wed, Nov 29, 2023 at 4:03 PM dgutman @.***> wrote:

Aaah we had to remove port 8080 so we could use ssl... which document or
tutorial are you using and we can update the links.
On Wed, Nov 29, 2023, 5:02 PM David Manthey @.***>
wrote:

http://candygram.neurology.emory.edu:8080 isn't reachable. You probably
meant some other address. Maybe the https address without a specified
port?
—
Reply to this email directly, view it on GitHub
<
https://github.com/DigitalSlideArchive/HistomicsTK/issues/1080#issuecomment-1832771035>,

or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AAFODTTVRR7B7OV2MIW7IVDYG6WF5AVCNFSM6AAAAAA7VFZRLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSG43TCMBTGU>

.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

—
Reply to this email directly, view it on GitHub
https://github.com/DigitalSlideArchive/HistomicsTK/issues/1080#issuecomment-1832773346,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMPSKXBMMMNECWBLZIUVL63YG6WMPAVCNFSM6AAAAAA7VFZRLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSG43TGMZUGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

What port do you guys recommend I should use?
On Wed, Nov 29, 2023 at 4:05 PM Digvijay Yadav @.***>
wrote:

Hi, I am using this portal
https://digitalslidearchive.github.io/HistomicsTK/examples/semantic_segmentation_superpixel_approach.html
Best Regards,
Digvijay Yadav
On Wed, Nov 29, 2023 at 4:03 PM dgutman @.***> wrote:

Aaah we had to remove port 8080 so we could use ssl... which document or
tutorial are you using and we can update the links.
On Wed, Nov 29, 2023, 5:02 PM David Manthey @.***>
wrote:

http://candygram.neurology.emory.edu:8080 isn't reachable. You
probably
meant some other address. Maybe the https address without a specified
port?
—
Reply to this email directly, view it on GitHub
<
https://github.com/DigitalSlideArchive/HistomicsTK/issues/1080#issuecomment-1832771035>,

or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AAFODTTVRR7B7OV2MIW7IVDYG6WF5AVCNFSM6AAAAAA7VFZRLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSG43TCMBTGU>

.
You are receiving this because you are subscribed to this
thread.Message
ID: @.***>

—
Reply to this email directly, view it on GitHub
https://github.com/DigitalSlideArchive/HistomicsTK/issues/1080#issuecomment-1832773346,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMPSKXBMMMNECWBLZIUVL63YG6WMPAVCNFSM6AAAAAA7VFZRLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSG43TGMZUGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

I'll have to update the image reference, the URL / ImageID has changed
and/or the image has moved.. sorry for that.
On Wed, Nov 29, 2023 at 5:06 PM Digvijay Yadav @.***>
wrote:

Hi, I am using this portal
https://digitalslidearchive.github.io/HistomicsTK/examples/semantic_segmentation_superpixel_approach.html
Best Regards,
Digvijay Yadav
On Wed, Nov 29, 2023 at 4:03 PM dgutman @.***> wrote:

Aaah we had to remove port 8080 so we could use ssl... which document or
tutorial are you using and we can update the links.
On Wed, Nov 29, 2023, 5:02 PM David Manthey @.***>
wrote:

http://candygram.neurology.emory.edu:8080 isn't reachable. You
probably
meant some other address. Maybe the https address without a specified
port?
—
Reply to this email directly, view it on GitHub
<

https://github.com/DigitalSlideArchive/HistomicsTK/issues/1080#issuecomment-1832771035>,

or unsubscribe
<

https://github.com/notifications/unsubscribe-auth/AAFODTTVRR7B7OV2MIW7IVDYG6WF5AVCNFSM6AAAAAA7VFZRLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSG43TCMBTGU>

.
You are receiving this because you are subscribed to this
thread.Message
ID: @.***>

—
Reply to this email directly, view it on GitHub
<
https://github.com/DigitalSlideArchive/HistomicsTK/issues/1080#issuecomment-1832773346>,

or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AMPSKXBMMMNECWBLZIUVL63YG6WMPAVCNFSM6AAAAAA7VFZRLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSG43TGMZUGY>

.
You are receiving this because you authored the thread.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/DigitalSlideArchive/HistomicsTK/issues/1080#issuecomment-1832776383,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFODTT4YCY5ELKQWR3ERXDYG6WVTAVCNFSM6AAAAAA7VFZRLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSG43TMMZYGM
.
You are receiving this because you commented.Message ID:
@.***>

--
David A Gutman, M.D. Ph.D.
Associate Professor of Pathology
Emory University School of Medicine

Ok, no problem.
On Wed, Nov 29, 2023 at 17:19 dgutman @.***> wrote:

I'll have to update the image reference, the URL / ImageID has changed
and/or the image has moved.. sorry for that.
On Wed, Nov 29, 2023 at 5:06 PM Digvijay Yadav @.***>
wrote:

Hi, I am using this portal

https://digitalslidearchive.github.io/HistomicsTK/examples/semantic_segmentation_superpixel_approach.html

Best Regards,
Digvijay Yadav
On Wed, Nov 29, 2023 at 4:03 PM dgutman @.***> wrote:

Aaah we had to remove port 8080 so we could use ssl... which document
or
tutorial are you using and we can update the links.
On Wed, Nov 29, 2023, 5:02 PM David Manthey @.***>
wrote:

http://candygram.neurology.emory.edu:8080 isn't reachable. You
probably
meant some other address. Maybe the https address without a
specified
port?
—
Reply to this email directly, view it on GitHub
<

https://github.com/DigitalSlideArchive/HistomicsTK/issues/1080#issuecomment-1832771035>,

or unsubscribe
<

https://github.com/notifications/unsubscribe-auth/AAFODTTVRR7B7OV2MIW7IVDYG6WF5AVCNFSM6AAAAAA7VFZRLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSG43TCMBTGU>

.
You are receiving this because you are subscribed to this
thread.Message
ID: @.***>

—
Reply to this email directly, view it on GitHub
<

https://github.com/DigitalSlideArchive/HistomicsTK/issues/1080#issuecomment-1832773346>,

or unsubscribe
<

https://github.com/notifications/unsubscribe-auth/AMPSKXBMMMNECWBLZIUVL63YG6WMPAVCNFSM6AAAAAA7VFZRLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSG43TGMZUGY>

.
You are receiving this because you authored the thread.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
<
https://github.com/DigitalSlideArchive/HistomicsTK/issues/1080#issuecomment-1832776383>,

or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AAFODTT4YCY5ELKQWR3ERXDYG6WVTAVCNFSM6AAAAAA7VFZRLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSG43TMMZYGM>

.
You are receiving this because you commented.Message ID:
@.***>

--
David A Gutman, M.D. Ph.D.
Associate Professor of Pathology
Emory University School of Medicine
—
Reply to this email directly, view it on GitHub
https://github.com/DigitalSlideArchive/HistomicsTK/issues/1080#issuecomment-1832853229,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMPSKXHMIKTZW6XRGBUMLDLYG67GJAVCNFSM6AAAAAA7VFZRLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSHA2TGMRSHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

It would be great if you could give me an update on when you expect it to
be resolved.
Thanks
On Wed, Nov 29, 2023 at 5:40 PM Digvijay Yadav @.***>
wrote:

Ok, no problem.
On Wed, Nov 29, 2023 at 17:19 dgutman @.***> wrote:

I'll have to update the image reference, the URL / ImageID has changed
and/or the image has moved.. sorry for that.
On Wed, Nov 29, 2023 at 5:06 PM Digvijay Yadav @.***>
wrote:

Hi, I am using this portal

https://digitalslidearchive.github.io/HistomicsTK/examples/semantic_segmentation_superpixel_approach.html

Best Regards,
Digvijay Yadav
On Wed, Nov 29, 2023 at 4:03 PM dgutman @.***> wrote:

Aaah we had to remove port 8080 so we could use ssl... which document
or
tutorial are you using and we can update the links.
On Wed, Nov 29, 2023, 5:02 PM David Manthey @.***>
wrote:

http://candygram.neurology.emory.edu:8080 isn't reachable. You
probably
meant some other address. Maybe the https address without a
specified
port?
—
Reply to this email directly, view it on GitHub
<

https://github.com/DigitalSlideArchive/HistomicsTK/issues/1080#issuecomment-1832771035>,

or unsubscribe
<

https://github.com/notifications/unsubscribe-auth/AAFODTTVRR7B7OV2MIW7IVDYG6WF5AVCNFSM6AAAAAA7VFZRLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSG43TCMBTGU>

.
You are receiving this because you are subscribed to this
thread.Message
ID: @.***>

—
Reply to this email directly, view it on GitHub
<

https://github.com/DigitalSlideArchive/HistomicsTK/issues/1080#issuecomment-1832773346>,

or unsubscribe
<

https://github.com/notifications/unsubscribe-auth/AMPSKXBMMMNECWBLZIUVL63YG6WMPAVCNFSM6AAAAAA7VFZRLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSG43TGMZUGY>

.
You are receiving this because you authored the thread.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
<
https://github.com/DigitalSlideArchive/HistomicsTK/issues/1080#issuecomment-1832776383>,

or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AAFODTT4YCY5ELKQWR3ERXDYG6WVTAVCNFSM6AAAAAA7VFZRLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSG43TMMZYGM>

.
You are receiving this because you commented.Message ID:
@.***>

--
David A Gutman, M.D. Ph.D.
Associate Professor of Pathology
Emory University School of Medicine
—
Reply to this email directly, view it on GitHub
https://github.com/DigitalSlideArchive/HistomicsTK/issues/1080#issuecomment-1832853229,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMPSKXHMIKTZW6XRGBUMLDLYG67GJAVCNFSM6AAAAAA7VFZRLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSHA2TGMRSHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hello Professor David,
I hope you had a great weekend.
Just wanted to check if you were able to get time to resolve it by updating
the image reference, URL image-id, etc.
Best Regards,
Digvijay Yadav
On Wed, Nov 29, 2023 at 8:31 PM Digvijay Yadav @.***>
wrote:

It would be great if you could give me an update on when you expect it to
be resolved.
Thanks
On Wed, Nov 29, 2023 at 5:40 PM Digvijay Yadav @.***>
wrote:

Ok, no problem.
On Wed, Nov 29, 2023 at 17:19 dgutman @.***> wrote:

I'll have to update the image reference, the URL / ImageID has changed
and/or the image has moved.. sorry for that.
On Wed, Nov 29, 2023 at 5:06 PM Digvijay Yadav @.***>
wrote:

Hi, I am using this portal

https://digitalslidearchive.github.io/HistomicsTK/examples/semantic_segmentation_superpixel_approach.html

Best Regards,
Digvijay Yadav
On Wed, Nov 29, 2023 at 4:03 PM dgutman @.***> wrote:

Aaah we had to remove port 8080 so we could use ssl... which
document or
tutorial are you using and we can update the links.
On Wed, Nov 29, 2023, 5:02 PM David Manthey @.***>
wrote:

http://candygram.neurology.emory.edu:8080 isn't reachable. You
probably
meant some other address. Maybe the https address without a
specified
port?
—
Reply to this email directly, view it on GitHub
<

https://github.com/DigitalSlideArchive/HistomicsTK/issues/1080#issuecomment-1832771035>,

or unsubscribe
<

https://github.com/notifications/unsubscribe-auth/AAFODTTVRR7B7OV2MIW7IVDYG6WF5AVCNFSM6AAAAAA7VFZRLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSG43TCMBTGU>

.
You are receiving this because you are subscribed to this
thread.Message
ID: @.***>

—
Reply to this email directly, view it on GitHub
<

https://github.com/DigitalSlideArchive/HistomicsTK/issues/1080#issuecomment-1832773346>,

or unsubscribe
<

https://github.com/notifications/unsubscribe-auth/AMPSKXBMMMNECWBLZIUVL63YG6WMPAVCNFSM6AAAAAA7VFZRLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSG43TGMZUGY>

.
You are receiving this because you authored the thread.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
<
https://github.com/DigitalSlideArchive/HistomicsTK/issues/1080#issuecomment-1832776383>,

or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AAFODTT4YCY5ELKQWR3ERXDYG6WVTAVCNFSM6AAAAAA7VFZRLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSG43TMMZYGM>

.
You are receiving this because you commented.Message ID:
@.***>

--
David A Gutman, M.D. Ph.D.
Associate Professor of Pathology
Emory University School of Medicine
—
Reply to this email directly, view it on GitHub
https://github.com/DigitalSlideArchive/HistomicsTK/issues/1080#issuecomment-1832853229,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMPSKXHMIKTZW6XRGBUMLDLYG67GJAVCNFSM6AAAAAA7VFZRLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSHA2TGMRSHE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Revert "two upgraded example notebooks"

Reverts kbase/data_api#146
Tests are not passing here, not sure why that didn't show before I merged, reverting.

Current coverage is 70.03%

Merging #148 into develop will not affect coverage as of 68a50a4

@@            develop    #148   diff @@
=======================================
  Files            12      12
  Stmts          2466    2466
  Branches          0       0
  Methods           0       0
=======================================
  Hit            1727    1727
  Partial           0       0
  Missed          739     739

Review entire Coverage Diff as of 68a50a4

Powered by Codecov. Updated on successful CI builds.


Broken links on blog post

It looks like this commit broke at least two of the links on the "What, exactly, is dbt?" blog post
Just FYI.

thanks @tayloramurphy!

Thanks for the heads up! I just fixed both links. I should be more careful in the future :D


feat: add separate watchOS device support

Description
Adds dedicated support for watchOS physical devices, separating them from iOS devices for better handling and visibility.
Changes

UI Changes:

Added dedicated watchOS Devices group in tree view
Added watchOS device status indicators (connected/disconnected)
Proper icons and labels for watchOS devices

Current:

Updated:

Core Functionality:

Added watchOSDevice type definition
Implemented watchOS device tree item handling
Added watchOS device support in build system
Updated destination manager to handle watchOS devices separately

Build System:

Added proper platform specification for watchOS devices
Updated xcodebuild command generation for watchOS
Added watchOS device handling in launch/run commands

Implementation Details

destination/types.ts: Added watchOSDevice type definitions
destination/tree.ts: Added watchOSDeviceTreeItem implementation
destination/manager.ts: Added watchOS device management methods
destination/constants.ts: Updated device type priorities
build/commands.ts: Added watchOS device build support

Testing Steps

Connect a watchOS device
Open a watchOS app project
Verify:

watchOS device appears in separate group
Build/run commands work correctly
Device status is properly displayed
Build configuration targets correct platform

Thanks! Great job! 😍


Dev ani

blocks, directional animation, compatible with most existing functions/blocks, ...

Batch update to main branch.
Blocks, directional animation, compatible with most existing functions/blocks, ...


chore(release): v0.10.2 🎉

:robot: I have created a release beep boop
0.10.2 (2024-05-25)
Bug Fixes

practs: upgrade to latest best (#12) (acbed8c)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ehmpathy/simple-dynamodb-client/releases/tag/v0.10.2 :sunflower:


add python-mechanize-pip

this adds a rosdep key for the pip version of mechanize (https://pypi.org/project/mechanize/)
officital python-mechanize/python3-mechanize are already available, but python3-mechanize is not available for debian:buster and thus results in problematic release of e.g. https://github.com/ipa320/cob_command_tools
(read more about it in https://github.com/ipa320/cob_command_tools/issues/289

In addition to @tfoote's points above about not mixing keys. Pip packages can't be used to resolve dependencies for packages released via bloom. Based on the comment here: https://github.com/ipa320/cob_command_tools/issues/289#issuecomment-766696766 it seems like this dependency has been worked around. If that's the case @fmessmer can we close this PR as unnecessary?
Thanks for iterating on the solution with us!

In addition to @tfoote's points above about not mixing keys. Pip packages can't be used to resolve dependencies for packages released via bloom. Based on the comment here: https://github.com/ipa320/cob_command_tools/issues/289#issuecomment-766696766 it seems like this dependency has been worked around. If that's the case @fmessmer can we close this PR as unnecessary?
Thanks for iterating on the solution with us!

yes, I guess I won't need this anymore once the following PRs are merged:

https://github.com/ros/rosdistro/pull/28071
https://github.com/ros/rosdistro/pull/28072
https://github.com/ros-infrastructure/ros_buildfarm_config/pull/196

yes, I guess I won't need this anymore once the following PRs are merged:

https://github.com/ros/rosdistro/pull/28071
https://github.com/ros/rosdistro/pull/28072
https://github.com/ros-infrastructure/ros_buildfarm_config/pull/196

https://github.com/ros-infrastructure/ros_buildfarm_config/pull/196 is merged and the release does not issue any warnings anymore...so I guess this key is not needed anymore....

https://github.com/ros-infrastructure/ros_buildfarm_config/pull/196 is merged and the release does not issue any warnings anymore...so I guess this key is not needed anymore....


Add TAPI memory improvements in release notes

Notes
https://builds.gradle.org/repository/download/Gradle_Release_Check_BuildDistributions/68052065:id/distributions/gradle-8.2-docs.zip!/gradle-8.2-20230704105702%2B0000/docs/release-notes.html

@bot-gradle test BD

@bot-gradle test BD

I've triggered the following builds for you:

BuildDistributions build

@bot-gradle test BD

I've triggered the following builds for you:

BuildDistributions build

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

I've triggered a build for you. Click here to see all failures if there's any.


Mention Angular 2.0 on Contribute page

On angular.io's Contribute page, there is no mention/link to Angular 2.0.
This might be intentional, since atm it is in alpha, but it is confusing for people that spot issues in the ng2 docs and are then directed to the ng1 repo (example).
It might make sense to add something about ng2 on the Contribute page (or at least make it more explicit that the current links refer to ng1).

Closed by PR


H9A3TCBEXS-S

With this model dryer i have the numbers in place of names for the following sensors: Machine Status (2) and Program (35 or unknown program 0)

Hi, should be fixed now checkout the latest version :slightly_smiling_face:

with new version 1.7 i have this error: Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/hon/init.py", line 31, in async_setup_entry
hon = await Hon(
File "/usr/local/lib/python3.10/site-packages/pyhon/hon.py", line 41, in create
await self.setup()
File "/usr/local/lib/python3.10/site-packages/pyhon/hon.py", line 67, in setup
await self._create_appliance(appliance)
File "/usr/local/lib/python3.10/site-packages/pyhon/hon.py", line 52, in _create_appliance
await asyncio.gather(
File "/usr/local/lib/python3.10/site-packages/pyhon/appliance.py", line 203, in load_commands
await self._recover_last_command_states()
File "/usr/local/lib/python3.10/site-packages/pyhon/appliance.py", line 149, in _recover_last_command_states
command.category = parameters.pop("category")
KeyError: 'category'

Please test v0.7.1

With 0.7.1 it works but many sensors are missing, upgrading to the latest version 0.7.3 only Program is missing

thanks for the great work :)


new name of file. Server part. #6

@dronmdf please, pay attention to this pull request

Job gh:dronmdf/telebot#31 is in scope.

Bug was reported: +15 points just awarded to @sminux, total is +30.

Job gh:dronmdf/telebot#31 assigned to @yuran8shon, please go ahead (policy).

@yuran8shon this job was assigned to you 8 days ago.
It will be taken away from you after 10 days from start (this is our policy).

@yuran8shon resigned from gh:dronmdf/telebot#31, please stop working.

Oops! Job gh:dronmdf/telebot#31 is not assigned to anyone.

Oops! Job gh:dronmdf/telebot#31 is not assigned to anyone.

Oops! Job gh:dronmdf/telebot#31 is not assigned to anyone.

@0crat out

@0crat out (here)

@DronMDF Job gh:dronmdf/telebot#31 is now out of scope.


cargo-public-api: 0.5.30 -> 0.5.31

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

I think the commit message should be cargo-llvm-cov: 0.5.30 -> 0.5.31

Woopsi, that happens when you move to fast! :laughing:


No need for the name of the directory to exactly match the project name

I like this change very much. Please merge this Pull Request so that we can all have a nice experience <3

Can any of you change the readme to include this functionality?


Initially wrong and empty files in the online code editor

Describe the bug
In exams with multiple programming exercises, the files in the first programming exercise are often buggy:

Usually, the bug appears in the first programming exercise. In one case, the first programming exercise was broken (see below), there this big appeared in the second programming exercise.
The files in the file browser are those of the subsequent exercise.
When opening a file, the content is not shown. (You can see a 404 error in the browser's developer tools)
Pressing "Submit" in the broken exercise triggers the build for the exercise, from which the files are shown in the file browser.
Pressing "Refresh files" fixes the issue.

There was an exam with a broken programming exercise, that allowed to recreate the buggy state, even after fixing the issue with the "Refresh files" button. Here, it was necessary to press the "Retry" button to break the other programming exercise again. Nadine knows more about the broken programming exercise.
To Reproduce

Prepare an exam with multiple programming exercises.
Take that exam and work on the programming exercises with the online code editor.

Expected behavior
The online code editor should show the correct files, non-empty files should not be displayed as empty and submitting shoult work for the selected exercise.
Screenshots
The broken programming exercise looked like this during the exam:

Environment
Tested with multiple Browsers on multiple operating systems.
Chrome on Windows
Firefox on MacOS
Safari on MacOS

Does this only occur when the instructor did not click on "Prepare exercise start" before the exam starts?

We have tested it in both situations. However, the exam, in which we clicked the "Prepare exercise start" was the one with the broken exercise. However, the issue also occured from the very beginning and not only when clicking on "Retry" in the broken exercise. So we concluded, that this was a valid test and that the issue is independent of whether "Prepare exercise start" was clicked.

Ok, that's weird. Then it seems, that some changes in the last release broke something here. In my last tests this morning, I could not find such a strange behavior like this, that's why I am confused now.
The screenshot should definitely only occur if the exercise was not prepared yet.
Can you provide additional screenshots for the behavior when the exercise was prepared? E.g. screenshots that show the file browser and the empty files?
It would also help to see entries of the browser console

Here is a little comic strip about what happens with this bug:
We used an exam with two programming exercises and without clicking on "Prepare exercise start". The screenshots are done with Firefox on MacOS from an account with instructor rights. Similar observations were made with Chrome on Windows with instructor and with student rights.
When starting the exam, the first programming exercise looks as expected. The filebrowser shows the correct files and opening a file works:

When selecting the second exercise, everything is looking good, too.

When going back to the first exercise, the file browser shows the files from the second exercise.

Also, when attempting to open the files, the files are shown as empty (404 error in the browser console).

Pressing the "Submit" button works, and it seems to be working on the correct exercise (note how the question marks in the instructions became red crosses).

There is also a screenshot of the browser console when clicking on the incorrectly displayed files in the file browser.

This looks like cloning the repository on the Artemis server did not work properly.

Just looked into the server logs: there are many exceptions when you have created the programming exercises.
I assume that something in the setup did not work properly. Here is an example:
2020-07-10 12:51:11.753  WARN 8578 --- [io-8080-exec-12] d.t.in.www1.artemis.service.ExamService  : Start exercise for student exam 2900 and exercise 1648 and student 9170
Jul 10 12:51:11 node1 java[8578]: 2020-07-10 12:51:11.762  INFO 8578 --- [io-8080-exec-12] d.t.i.w.a.s.connectors.BitbucketService  : Try to copy repository ATESTPROXYPASDDASASD/repos/atestproxypasddasasd-exercise into atestproxypasddasasd-ge97vez
Jul 10 12:51:11 node1 java[8578]: 2020-07-10 12:51:11.771 ERROR 8578 --- [io-8080-exec-12] d.t.i.w.a.s.connectors.BitbucketService  : Could not fork base repository on https://bitbucket.ase.in.tum.de/rest/api/1.0/projects/ATESTPROXYPASDDASASD/repos/atestproxypasddasasd-exercise using name=atestproxypasddasasd-ge97vez,project={key=ATESTPROXYPASDDASASD}
I am not sure what happened here, but this means that something really went wrong here.
Can you share some information which exercises (course id, exam id, exercise id) have this problem?

Here is an example

The status "not active" means that something went wrong when "starting" the exercise

About the many exceptions in the server logs: Those might have been caused by issue #1857. We assume, that the broken programming exercises, that are mentioned in the description are also caused by that issue. However, the screenshots have been made with an exam, where this issue did not occur.

I tested this and could not reproduce it. I am pretty sure the problem is related to a wrong configuration of the programming exercises due to https://github.com/ls1intum/Artemis/issues/1857
Feel free to reopen the issue in case the error appears again after https://github.com/ls1intum/Artemis/issues/1857 has been fixed and deployed.


How to show/disable sidemenu based on current screen?

Hi guys,
How can i disable ENSwiftSideMenu from being shown (dragged in from the edge) if they're on a given screen? For example i don't want to show the sidemenu on login screen but other screens user can use the sidemenu. Any ideas?

Hi,
use function sideMenuShouldOpenSideMenu () from  ENSideMenuDelegate
to set your VC as a delegate of side menu use:
self.sideMenuController()?.sideMenu?.delegate = self

Thanks @evnaz
I tired that, I've added
class ViewController: UIViewController, ENSideMenuDelegate {
....
override func viewDidLoad() {
        super.viewDidLoad()

        self.sideMenuController()?.sideMenu?.delegate = self
      ...
}

    func sideMenuShouldOpenSideMenu() -> Bool {
         print("sideMenuShouldOpenSideMenu")
        return false
    }

}

the function is getting called (sideMenuShouldOpenSideMenu) but i can still slide from left to see the menu! Any suggestions?

Does menu opens by toggleMenu()?

@evnaz  I can see some inconsistent behaviour. I noticed that "resume" was printed where i was sliding so that's coming from
extension ENSideMenu: UIDynamicAnimatorDelegate {
    public func dynamicAnimatorDidPause(animator: UIDynamicAnimator) {
        if (self.isMenuOpen) {
            self.delegate?.sideMenuDidOpen?()
        } else {
            self.delegate?.sideMenuDidClose?()
        }
    }

    public func dynamicAnimatorWillResume(animator: UIDynamicAnimator) {
        print("resume")
    }
}

If i keep trying to slide, sometimes the side menu does not open and that's when i don't see "resume". but when it does slide i can see the word "resume" printed.


ODP-1923: IMPALA-11871: Skip permissions loading and check on HDFS if Ranger is enabled

This is a partial cherry-pick of https://gerrit.cloudera.org/#/c/20221/16/fe/src/main/java/org/apache/impala/catalog/HdfsTable.java which is already present in <IP_ADDRESS>-1


Update job example yaml

The perl command in the job example yaml file fails at image version >5.34:
> docker run -it perl:5.36 bash
...
root@783a8ea24899:/# perl -Mbignum=bpi -wle "print bpi(2000)"
Can't use an undefined value as an ARRAY reference at /usr/local/lib/perl5/5.36.0/Math/BigInt/Calc.pm line 1049.```

> docker run -it perl:5.35 bash
...
docker: Error response from daemon: manifest for perl:5.35 not found: manifest unknown: manifest unknown.```

> docker run -it perl:5.34 bash
...
root@d4efc70c15b5:/# perl -Mbignum=bpi -wle "print bpi(2000)"
3.141592653589793238...

Thanks for proposing the fix!
But there is someone already made PR #34070 to fix the root cause, please take a look.

#34070

I like this fix better: pinning the container image constrains what gets run.
/retitle Fix manifest for example Job to calculate π


Capture JSON RPC errors that presently get swallowed

Description
json_rpc_2 swallows exceptions. This can hide bugs in our callbacks, e.g. type conversion issues, which can result in an RPC call not doing what is expected.
This change hooks into a new parameter available that informs the caller of unhandled exceptions.  For now, we just print them and assert(false).  For Fuchsia debug protocol, we only print them.
Related Issues
Fixes #28531
Tests
The tests for this functionality exist upstream in the PR I wrote for json_rpc_2.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read Handling breaking changes). Replace this with a link to the e-mail where you asked for input on this proposed change.
[x] No, this is not a breaking change.

@jonahwilliams any idea on the  builderOptions failures?  Do we need to pin build_runner?

We can pin it for now and I can handle rolling the changes

This spiked our tech debt benchmark for package deps, but didn't add any new deps...

It's because of the pinned dependency.  That will go back down once we unpin the dep.


Route::macro webauthn issue

profile-filament-plugin Version
latest
Laravel Version
latest
Bug description
Latest version profile-filament-plugin not register Route::macro i use previous and all working fine
i use also stancl laravel tenants and this working before fine but now Route [profile-filament::webauthn.assertion_pk] not defined.
Steps to reproduce
No response
Relevant log output
No response

If you run php artisan route:list in your project, do the routes show up?
I have v0.5.0 in an app right now and the routes are showing up correctly for me.

yes route show correct
POST       sessions/webauthn/assertion-pk/{user} ...................................................................................................................................... profile-filament::webauthn.assertion_pk › Rawilk\ProfileFilament\Http\Controllers\WebauthnPublicKeysController@assertionPublicKey
POST       sessions/webauthn/attestation-pk ....................................................................................................................................... profile-filament::webauthn.attestation_pk › Rawilk\ProfileFilament\Http\Controllers\WebauthnPublicKeysController@attestationPublicKey
POST       sessions/webauthn/passkey-assertion-pk ....................................................................................................................................... profile-filament::webauthn.passkey_assertion_pk › Rawilk\ProfileFilament\Http\Controllers\PasskeysController@assertionPublicKey
POST       sessions/webauthn/passkey-attestation-pk ................................................................................................................................. profile-filament::webauthn.passkey_attestation_pk › Rawilk\ProfileFilament\Http\Controllers\PasskeysController@attestationPublicKey
I sometimes have the same problem but never found out what fixed it

I haven't ever used the multi-tenancy package you're using, but it's possible it could be causing issues with these routes. However, if the routes are showing up when you list all routes, I'm not really sure what the issue would be.
Without knowing much else about your project, it's hard to say for sure what the issue is. For my project, I added the webauthn routes at the very end of my routes/web.php file.

little more debug if help
  protected function webauthnOptionsUrl(): string
    {

        $routes = Route::getRoutes();

        dd($routes);

        return URL::temporarySignedRoute(
            name: 'profile-filament::webauthn.assertion_pk',
            expiration: now()->addHour(),
            parameters: [
                'user' => $this->user->getRouteKey(),
                's' => MfaSession::AssertionPublicKey->value,
            ],
        );
    }

all routes:
"GET|HEADtimeline" => Illuminate\Routing\Route {#2762 …18}
"POSTsessions/webauthn/assertion-pk/{user}" => Illuminate\Routing\Route {#2768 …18}
"POSTsessions/webauthn/passkey-assertion-pk" => Illuminate\Routing\Route {#2769 …18}
"POSTsessions/webauthn/attestation-pk" => Illuminate\Routing\Route {#2770 …18}
"POSTsessions/webauthn/passkey-attestation-pk" => Illuminate\Routing\Route {#2771 …18}

but issue found possible next
#nameList: array:115 [▼
  "filament.admin.pending_email.revert" => Illuminate\Routing\Route {#2723 …18}
"filament.tenant.auth.mfa.challenge" => Illuminate\Routing\Route {#2724 …18}
"filament.tenant.auth.mfa.recovery-codes.print" => Illuminate\Routing\Route {#2725 …18}
"filament.tenant.auth.sudo-challenge" => Illuminate\Routing\Route {#2726 …18}
"filament.tenant.pending_email.verify" => Illuminate\Routing\Route {#2727 …18}
"filament.tenant.pending_email.revert" => Illuminate\Routing\Route {#2728 …18}
**"profile-filament::" => Illuminate\Routing\Route {#2771 …18}**


[docs] mobx-persist-store example added

Just thought it would be cool to have an example for mobx as well :)

done :)

Does mobx' getItem actually work like that? Does it always return an object?

Does mobx' getItem actually work like that? Does it always return an object?

Actually, it also surprised me but this is the only way I could make it work. But I have checked right now on the working app and it seems to be working without JSON.parse and JSON.stringify is not necessary in setItem. Will also change || to ?? 👌

done :)

Thank you! 🖤


bart_lfqa: content has to be taken into account and a message is to be uttered if no reply is being found instead of going freestyle.

Describe the bug
When using https://huggingface.co/vblagoje/bart_lfqa, it does not seem to matter, which content you serve, you can pass documents of length 0 or 1B. Expected behaviour: Content has to be taken into account and a message is to be uttered if no reply is being found instead of going freestyle.
Reproduction
No response
Logs
No response
System info
- huggingface_hub version: 0.12.0
- Platform: Windows-10-10
- Python version: 3.8.16
- Running in iPython ?: No
- Running in notebook ?: No
- Running in Google Colab ?: No
- Has saved token ?: False
- Configured git credential helpers: manager-core
- FastAI: N/A
- Tensorflow: N/A
- Torch: 1.13.1
- Jinja2: 3.1.2
- Graphviz: N/A
- Pydot: N/A
- Pillow: 9.4.0
- hf_transfer: N/A
- ENDPOINT: https://huggingface.co
- HF_HUB_OFFLINE: False
- HF_HUB_DISABLE_PROGRESS_BARS: None
- HF_HUB_DISABLE_SYMLINKS_WARNING: False
- HF_HUB_DISABLE_IMPLICIT_TOKEN: False
- HF_HUB_ENABLE_HF_TRANSFER: False

@ErfolgreichCharismatisch I'm not sure to understand the issue but it seems to be related to the transformers library itself, isn't it? I think you should open an issue there instead.
For the record, huggingface_hub is focused on the python client (with same name) that interact with the Hub.

You are right, can be closed.

You are right, can be closed.


Possible Model IO Issue when Saving XGBoostRegressionModel in Scala Spark

I am training XGBoost Regression using XGBoost4j-Spark version 1.1.1 (patch distribution). I am seeing the following error when trying to save model to a file:
2020-10-28 12:40:25 ERROR Booster:730 - [12:40:25] /workspace/src/tree/tree_model.cc:673: Check failed: fi->Read(dmlc::BeginPtr(stats_), sizeof(RTreeNodeStat) * stats_.size()) == sizeof(RTreeNodeStat) * stats_.size() (1900432 vs. 4748784) :
Stack trace:
  [bt] (0) /mnt/tmp/libxgboost4j6080941118636887534.so(dmlc::LogMessageFatal::~LogMessageFatal()+0x57) [0x7f3022339947]
  [bt] (1) /mnt/tmp/libxgboost4j6080941118636887534.so(xgboost::RegTree::Load(dmlc::Stream*)+0x327) [0x7f30225269a7]
  [bt] (2) /mnt/tmp/libxgboost4j6080941118636887534.so(xgboost::gbm::GBTreeModel::Load(dmlc::Stream*)+0xee5) [0x7f3022441065]
  [bt] (3) /mnt/tmp/libxgboost4j6080941118636887534.so(xgboost::gbm::GBTree::Load(dmlc::Stream*)+0x1a) [0x7f302242b34a]
  [bt] (4) /mnt/tmp/libxgboost4j6080941118636887534.so(xgboost::LearnerIO::LoadModel(dmlc::Stream*)+0x420) [0x7f302246d8a0]
  [bt] (5) /mnt/tmp/libxgboost4j6080941118636887534.so(XGBoosterLoadModelFromBuffer+0x4c) [0x7f302233d43c]
  [bt] (6) /mnt/tmp/libxgboost4j6080941118636887534.so(Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGBoosterLoadModelFromBuffer+0x41) [0x7f3022333191]
  [bt] (7) [0x7f3271018427]

After searching online, I found the following discussion which seems related.

This is a model IO issue (unfortunately).  The model returned by pruner has process_type=update.  Putting it into the next training is a full copy with all hyper-parameters.   A quick workaround is setting:
param_dict['process_type'] = 'default'

Before the last training.

Originally posted by @trivialfis in https://github.com/dmlc/xgboost/issues/5376#issuecomment-597792349
Does process_type work in XGBoost4j-spark? I don't see this parameter mentioned in the API doc.
BTW, this error occurred when I trained a model with large number of rounds (937) and deep trees (max depth 22). Other smaller models did not have this issue.

I'm not sure if it applies on scala binding.

am seeing the following error when trying to save model to a file:

The error message shows that you are loading a model.


Handle URI-encoded tags when signing requests

Hashtags with characters that require URI encoding (e.g. #señor) need to be signed un-encoded.
Credit to Gagan Jain @ Sprinklr for the original fix.
Fixes #168

Coverage decreased (-9.0%) to 58.644% when pulling 96679a20b18b9f3b8b10626f7228d444e978385e on worrel:worrel/handle-special-chars-in-tags into 367287b2400349ea36fbf475d3e075d58440c3c4 on sachin-handiekar:master.


Aliases are broken

Aliases are broken.
Example :
@vendor -> src/vendor
Additional info

Q
A

Yii version
2.1.x-dev

PHP version
7.2

Operating system
*nix

Yii-Asset, Yii-Captcha extensions are referenced to the @yii alias instead of the @yii-asset or @yii-captcha.


Promote better commit messages by example

References:
http://chris.beams.io/posts/git-commit/
https://robots.thoughtbot.com/5-useful-tips-for-a-better-commit-message

Hi, thanks for the suggestion!
Even though it's hard to find a person who's a bigger nerd about git commit messages than myself, I feel that this change doesn't improve the documentation too much, as the commit message in question is a minor detail meant for illustration purposes. Also, I think saying "done" in the example better indicates that work has been done on this feture and that it's ready for publish.


Footer is displayed incorrectly - Angular

Hello,
I have a problem with the Angular template. When I add a login screen to it, it doesn't use the layout. The routes:

The login component and its route. It's fine.

The layout.

The problem seems to occur when there is a <router-outlet></router-outlet> at a top level.

Thank you!

Hi,
We will fix it.
Thank you

Hi,
Can you please refer to the sample Angular project?
https://github.com/keenthemes/metronic-tailwind-html-integration/tree/main/metronic-tailwind-angular/src/app/layouts/footer

Hello,
The application was created with the example files, the footer has not been modified.
The problem arises when adding a login without using the layout. I attach a video:
https://github.com/user-attachments/assets/34a7995d-39c8-4e6a-8f39-3293efec0ff9


CI Dart and Flutter clusters

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 88.954%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3052

Relevant Lines:
3431

💛  - Coveralls


Fix runs beforeAll/afterAll in excluded suites (#4820)

Disable run of beforeAll when test suite is desactivated

Summary

Test plan

describe('ROOT', () => {
  describe('SUB_1', () => {
    beforeAll(() => {
      console.log('SUB_1: beforeAll')
    });
    it('test 1', () => {
      console.log('SUB_1: test 1');
    });
  });

  describe('SUB_2', () => {
    beforeAll(() => {
      console.log('SUB_2: beforeAll')
    });
    it('test 2', () => {
      console.log('SUB_2: test 2');
    });
  });
});

run using jest test.js --testNamePattern="test 1"
Logs before the modification:
 PASS  ./test.js
  ROOT
    SUB_1
      ✓ test 1 (1ms)
    SUB_2
      ○ skipped 1 test

  console.log test.js:4
    SUB_1: beforeAll

  console.log test.js:7
    SUB_1: test 1

  console.log test.js:14
    SUB_2: beforeAll

Logs after the modification:
 PASS  ./test.js
  ROOT
    SUB_1
      ✓ test 1 (1ms)

  console.log test.js:4
    SUB_1: beforeAll

  console.log test.js:7
    SUB_1: test 1

Heh, nice!
Mind adding an integration test?

I wanted to add an integration test, but I didn't find how to, and I had no time to dig how those tests worked, I'll try to take the time by the end of the week

@SimenB Sorry, but I really have no idea of where / how to test it, right now, I still have not undestood how tests works in jest :(

All the directories in https://github.com/facebook/jest/tree/master/e2e are integration tests. They each have a corresponding test in https://github.com/facebook/jest/tree/master/e2e/tests which spawns up a jest instance.
You can look at e.g, https://github.com/facebook/jest/tree/master/e2e/before-each-queue for an example of a test with hooks and assertions on the output.

@rickhanlonii any progress on that contributing guide? :)

arf, I was trying to play in the folder /Users/jbd/git/reboot/jest/packages/jest-jasmine2/src/__tests__

I'm confused, it seems to work on my machine (as usual) but fails on the CI

We're in the process of replacing jasmine as the underlying runner with jest-circus (#6295).
If you run JEST_CIRCUS=1 ./jest before-all-filtered.js you should see the failure locally as well 🙂

I had no clue there were two different runner :)

It's quite fresh, don't tell anyone 😉

wait.. it should already work in jest-circus! i remember i worked on it last year! :)

ah yeah.. i see! we do still run hooks even if it's skipped.
that fix looks great!


Make ConsulConfigProperties bean conditional

I read the contribution guidelines and did the best I could! If you find something that you think I should change, feel free to mention it :)
Feedback would be awesome
Fixes GH-377
cc @spencergibb

I found another case where we also need a conditional.
https://github.com/spring-cloud/spring-cloud-consul/blob/master/spring-cloud-consul-discovery/src/main/java/org/springframework/cloud/consul/discovery/ConsulDiscoveryClientConfiguration.java#L64
Would you be okay with me adding a conditional there as well? If so, can I do it in this PR?
I found this one too in the bootstrap context but we don't currently need to configure in that context as of now (Might change as we are building this out): https://github.com/spring-cloud/spring-cloud-consul/blob/master/spring-cloud-consul-discovery/src/main/java/org/springframework/cloud/consul/discovery/configclient/ConsulDiscoveryClientConfigServiceBootstrapConfiguration.java#L42


Promote location in MEntity

For some unknown historical reasons, the location was only provided to some specific model entities. By extending it to all entities, this simplify clients that need to process, visit or filter entities.
The unresolved question is: what is the best behavior for entities that lack a location? (eg fictive ones or those created internally without relation with source-code. There is not a lot of them but there is some).

location is nullable for all entities. This is simple but will cause boring null management. Eg. most of previous location attributes where not nullable, thus clients should be changed (not a lot I think).
location is not nullable for all entities. This is simpler but need some place-holder object for fictive location. ie some location objects that mean "no location".
location is nullable for some entities and not nullable for others (covariant redefinition). This is complex and have the combined drawbacks of the two previous without any of the advantages. But this is the simpler to implement on the existing code base; thus this is the one currently presented by the PR ;)

My choice goes to the not nullable + fictive location, but I would like to have your opinion before hacking all the clients.

ping @xymus and @Morriar for the API issue.

test this please

test this please

+1 for the not nullable + placeholder

reroll: solve conflicts and location is not nullable


User Story #6 - concise, descriptive title

GIVEN a webpage meets accessibility standards
WHEN I view the title element
THEN I find a concise, descriptive title

A title of "Marketing Optimization" was given.


Floating textures outside of Dragonborn Gallery

Dirt and ground are floating above Dragonborn gallery entrance.

Seems to be caused by one of the holds patches being out of date. Not likely to fix this for the time being


feat: add find-in-page, closes #585

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Docs
[ ] New Binding issue #___
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes, and the changes were approved in issue #___
[x] No

Checklist

[x] When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
[x] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
[x] I have added a convincing reason for adding this feature, if necessary

Other information

This feature highlight the search text automatically.
Also electron has this feature.
Searching word on browser by using JavaScript is too heavy process. And I think we should provide this feature from wry if it is possible.

Ah I see, I didn't know it highlights it too. I see that electron has this event https://www.electronjs.org/docs/latest/api/web-contents#event-found-in-page with information about the matched text, can we provide some of these?

I want to provide these information but I can't find API to do it :(

Additionally wkwebview.findString API has restriction that text is not highlighted on macOS (but text is selected like window.find).
This is the issue in webkit: https://bugs.webkit.org/show_bug.cgi?id=140210.

Also electron has this feature.

If electron has it, it should be possible for webview2 perhaps (since they are both chromium)? This method will be really awkward if it doesn't support Windows which is the major desktop most users use

Webview2 builtin these feature with search box. But webview2 doesn't provide the API to find text in page :(

Maybe worth opening a feature request at webview2 feedback repo and hold this PR  until it happens?

How about using window.find through evaluate_script as a fallback for WebView2?

I sill don't see much value in this API

Many projects are using the same functionality in Electron.
https://github.com/search?l=TypeScript&q=findInPage+electron&type=Code
This functionality is useful for some document viewer to search its content.


Unexpected Error

Question
`g0pn1k-laptop:leon-develop Admin$ npm build
Unknown command: "build"
Did you mean this?
npm run build # run the "build" package script
To see a list of supported npm commands, run:
npm help
g0pn1k-laptop:leon-develop Admin$ npm start

<EMAIL_ADDRESS>start
cross-env LEON_NODE_ENV=production node ./server/dist/index.js

.: INITIALIZATION :.
✔ The current env is production
✔ The current version is 1.0.0-beta.5+dev
✔ The current language is en-US
✔ The current time zone is Singapore
✔ Collaborative logger enabled
✔ Server is available at http://localhost:1337

.: CLIENT :.
✔ Connected
➡ Type: webapp
➡ Socket id: RhBf4Td3N721oPsLAAAB

.: BRAIN :.
✔ New instance

.: NER :.
✔ New instance

.: NLU :.
✔ New instance

.: ASR :.
✔ New instance

.: INITIALIZATION :.
✔ STT disabled
✔ TTS disabled

.: NLU :.
✔ NLP model loaded

.: REQUESTING :.
➡ GET /

.: REQUESTING :.
➡ GET /assets/index.77f1e308.css

.: REQUESTING :.
➡ GET /assets/index.d5093598.js

.: REQUESTING :.
➡ GET /assets/vendor.8374a2ad.js

.: REQUESTING :.
➡ GET /assets/logo.0679f287.svg

.: REQUESTING :.
➡ GET /assets/mic.d8267246.svg

.: REQUESTING :.
➡ GET /v1/info

.: GET /INFO :.
✔ Information pulled.

.: REQUESTING :.
➡ GET /assets/favicon.e9708100.png

.: CLIENT :.
✔ Connected
➡ Type: webapp
➡ Socket id: 1yEdb01rQK4oJyR7AAAD

.: BRAIN :.
✔ New instance

.: NER :.
✔ New instance

.: NLU :.
✔ New instance

.: ASR :.
✔ New instance

.: INITIALIZATION :.
✔ STT disabled
✔ TTS disabled

.: NLU :.
✔ NLP model loaded

.: SOCKET :.
➡ webapp emitted: hi leon?

.: NLU :.
➡ Processing...

.: NLU :.
✔ Query found

.: NER :.
➡ Searching for entities...
➡ No entity found

.: LEON PACKAGE :.
➡

.: LEON :.
➡ Talking...
✖ Failed to delete query object file: Error: ENOENT: no such file or directory, unlink '/leon-develop/server/dist/core/../tmp/1638106838542-1j9o.json'

.: LEON :.
   `

How do i solve this issue

im quite new so i dont think this was supposed to happen

Hi @yeetus-maximus :wave:,
Thanks for reporting this.
To build the project, you should execute npm run build. You are currently doing npm build which is wrong.
Regarding the "Failed to delete query object file" error, that isn't a blocking issue. It just means the temporary file containing the query cannot be deleted due to the asynchronous aspect of Leon. I'll check to fix this or replace it with a warning in the next versions.

Closing this issue as the answer has been provided.


Pieces tutorial covers auto-setting the title property badly

The way it's done now, you'll wind up with bad slugs. It ought to be a client side solution, demonstrating how to customize the editor for pieces, allowing users to manually or automagically set title. cc: @jth-

(The slugs will be lame, not actually broken.)


Async event handlers

There should be documentation about how async event handlers work, best practices and pitfalls.
One issue is this documentation from DevExpress that instructs developers to use .GetAwaiter().GetResult();. This which would likely cause deadlocks, and I wanted to point DevExpress to documentation that shows them why this is bad, but cannot find anything official on why it is bad or what the workarounds may be.
There are countless more SO posts about various async issues when using WinForms.

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

ID: 22b39d53-11ec-d923-2041-434e1561c6d3
Version Independent ID: 4d5076d1-338f-1d67-c72a-09e71f62c15c
Content: Events Overview - Windows Forms .NET
Content Source: dotnet-desktop-guide/net/winforms/forms/events.md
Product: dotnet-desktop
Technology: dotnet-winforms
GitHub Login: @adegeo
Microsoft Alias: adegeo

Thank you for this feedback! We'll look at getting this issue prioritized.


jedi.api.environment.InvalidPythonEnvironment: Could not get version information for '.\venv\Scripts\python.exe': OSError(22, 'The parameter is incorrect', None, 87, None)

I am picking up work on a Python project again and now I get an exception in the pylsp service. From what I remember everything was working just fine two months ago, during I did not touch this environment. However, there obviously were package updates on the Sublime Text side.
Anyways, any ideas on how to debug and figure out what could be going wrong? Maybe this issue should be reported on the jedi side of things?

Windows 10
Python version 3.9.5 en 3.9.6 (tested both)
Sublime Text 4 (4113)

// Settings in here override those in "LSP-pylsp/LSP-pylsp.sublime-settings"
{
	"settings": {
		"pylsp.plugins.autopep8.enabled": false,
		"pylsp.plugins.pylsp_black.enabled": true,
		"pylsp.plugins.pyls_isort.enabled": true,
		"pylsp.plugins.jedi.environment": ".\\venv",

		// Pycodestyle settings
		"pylsp.plugins.pycodestyle.ignore": ["E501", "W503", "E203"],
		"pylsp.plugins.pycodestyle.exclude": ["venv\\**"]
	}
}

::  -> LSP-pylsp textDocument/didChange: <params with 14255 characters>
LSP-pylsp: 2021-08-23 09:32:02,756 W. Europe Daylight Time - ERROR - pylsp_jsonrpc.endpoint - Failed to handle request 219
LSP-pylsp: Traceback (most recent call last):
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\jedi\cache.py", line 110, in wrapper
LSP-pylsp:     return dct[key]
LSP-pylsp: KeyError: ((), frozenset())
LSP-pylsp:
LSP-pylsp: During handling of the above exception, another exception occurred:
LSP-pylsp:
LSP-pylsp: Traceback (most recent call last):
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\jedi\api\environment.py", line 77, in _get_subprocess
LSP-pylsp:     info = self._subprocess._send(None, _get_info)
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\jedi\inference\compiled\subprocess\__init__.py", line 237, in _send
LSP-pylsp:     pickle_dump(data, self._get_process().stdin, PICKLE_PROTOCOL)
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\jedi\cache.py", line 112, in wrapper
LSP-pylsp:     result = method(self, *args, **kwargs)
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\jedi\inference\compiled\subprocess\__init__.py", line 193, in _get_process
LSP-pylsp:     process = _GeneralizedPopen(
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\jedi\inference\compiled\subprocess\__init__.py", line 43, in _GeneralizedPopen
LSP-pylsp:     return subprocess.Popen(*args, **kwargs)
LSP-pylsp:   File "C:\ProgramData\pyenv\pyenv-win\versions\3.9.6\lib\subprocess.py", line 951, in __init__
LSP-pylsp:     self._execute_child(args, executable, preexec_fn, close_fds,
LSP-pylsp:   File "C:\ProgramData\pyenv\pyenv-win\versions\3.9.6\lib\subprocess.py", line 1420, in _execute_child
LSP-pylsp:     hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
LSP-pylsp: OSError: [WinError 87] The parameter is incorrect
LSP-pylsp:
LSP-pylsp: During handling of the above exception, another exception occurred:
LSP-pylsp:
LSP-pylsp: Traceback (most recent call last):
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\pylsp_jsonrpc\endpoint.py", line 116, in consume
LSP-pylsp:     self._handle_request(message['id'], message['method'], message.get('params'))
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\pylsp_jsonrpc\endpoint.py", line 185, in _handle_request
LSP-pylsp:     handler_result = handler(params)
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\pylsp_jsonrpc\dispatchers.py", line 25, in handler
LSP-pylsp:     return method(**(params or {}))
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\pylsp\python_lsp.py", line 356, in m_text_document__document_highlight
LSP-pylsp:     return self.highlight(textDocument['uri'], position)
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\pylsp\python_lsp.py", line 287, in highlight
LSP-pylsp:     return flatten(self._hook('pylsp_document_highlight', doc_uri, position=position)) or None
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\pylsp\python_lsp.py", line 156, in _hook
LSP-pylsp:     return hook_handlers(config=self.config, workspace=workspace, document=doc, **kwargs)
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\pluggy\hooks.py", line 286, in __call__
LSP-pylsp:     return self._hookexec(self, self.get_hookimpls(), kwargs)
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\pluggy\manager.py", line 93, in _hookexec
LSP-pylsp:     return self._inner_hookexec(hook, methods, kwargs)
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\pluggy\manager.py", line 337, in traced_hookexec
LSP-pylsp:     return outcome.get_result()
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\pluggy\callers.py", line 80, in get_result
LSP-pylsp:     raise ex[1].with_traceback(ex[2])
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\pluggy\callers.py", line 52, in from_call
LSP-pylsp:     result = func()
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\pluggy\manager.py", line 335, in <lambda>
LSP-pylsp:     outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs))
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\pluggy\manager.py", line 84, in <lambda>
LSP-pylsp:     self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\pluggy\callers.py", line 208, in _multicall
LSP-pylsp:     return outcome.get_result()
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\pluggy\callers.py", line 80, in get_result
LSP-pylsp:     raise ex[1].with_traceback(ex[2])
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\pluggy\callers.py", line 187, in _multicall
LSP-pylsp:     res = hook_impl.function(*args)
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\pylsp\plugins\highlight.py", line 13, in pylsp_document_highlight
LSP-pylsp:     usages = document.jedi_script().get_references(**code_position)
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\pylsp\workspace.py", line 27, in wrapper
LSP-pylsp:     return method(self, *args, **kwargs)
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\pylsp\workspace.py", line 265, in jedi_script
LSP-pylsp:     environment = self.get_enviroment(environment_path, env_vars=env_vars) if environment_path else None
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\pylsp\workspace.py", line 294, in get_enviroment
LSP-pylsp:     environment = jedi.api.environment.create_environment(path=environment_path,
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\jedi\api\environment.py", line 367, in create_environment
LSP-pylsp:     return Environment(_get_executable_path(path, safe=safe), env_vars=env_vars)
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\jedi\api\environment.py", line 68, in __init__
LSP-pylsp:     self._get_subprocess()
LSP-pylsp:   File "<sublime path>\data\package storage\lsp-pylsp\lib\site-packages\jedi\api\environment.py", line 79, in _get_subprocess
LSP-pylsp:     raise InvalidPythonEnvironment(
LSP-pylsp: jedi.api.environment.InvalidPythonEnvironment: Could not get version information for '.\\venv\\Scripts\\python.exe': OSError(22, 'The parameter is incorrect', None, 87, None)
:: <~~ LSP-pylsp 219: {'message': "jedi.api.environment.InvalidPythonEnvironment: Could not get version information for '.\\\\venv\\\\Scripts\\\\python.exe': OSError(22, 'The parameter is incorrect', None, 87, None)", 'code': -32602, 'data': {'traceback': ['  File "<sublime path>\\data\\package storage\\lsp-pylsp\\lib\\site-packages\\pylsp_jsonrpc\\endpoint.py", line 116, in consume\n    self._handle_request(message[\'id\'], message[\'method\'], message.get(\'params\'))\n', '  File "<sublime path>\\data\\package storage\\lsp-pylsp\\lib\\site-packages\\pylsp_jsonrpc\\endpoint.py", line 185, in _handle_request\n    handler_result = handler(params)\n', '  File "<sublime path>\\data\\package storage\\lsp-pylsp\\lib\\site-packages\\pylsp_jsonrpc\\dispatchers.py", line 25, in handler\n    return method(**(params or {}))\n', '  File "<sublime path>\\data\\package storage\\lsp-pylsp\\lib\\site-packages\\pylsp\\python_lsp.py", line 356, in m_text_document__document_highlight\n    return self.highlight(textDocument[\'uri\'], position)\n', '  File "<sublime path>\\data\\package storage\\lsp-pylsp\\lib\\site-packages\\pylsp\\python_lsp.py", line 287, in highlight\n    return flatten(self._hook(\'pylsp_document_highlight\', doc_uri, position=position)) or None\n', '  File "<sublime path>\\data\\package storage\\lsp-pylsp\\lib\\site-packages\\pylsp\\python_lsp.py", line 156, in _hook\n    return hook_handlers(config=self.config, workspace=workspace, document=doc, **kwargs)\n', '  File "<sublime path>\\data\\package storage\\lsp-pylsp\\lib\\site-packages\\pluggy\\hooks.py", line 286, in __call__\n    return self._hookexec(self, self.get_hookimpls(), kwargs)\n', '  File "<sublime path>\\data\\package storage\\lsp-pylsp\\lib\\site-packages\\pluggy\\manager.py", line 93, in _hookexec\n    return self._inner_hookexec(hook, methods, kwargs)\n', '  File "<sublime path>\\data\\package storage\\lsp-pylsp\\lib\\site-packages\\pluggy\\manager.py", line 337, in traced_hookexec\n    return outcome.get_result()\n', '  File "<sublime path>\\data\\package storage\\lsp-pylsp\\lib\\site-packages\\pluggy\\callers.py", line 80, in get_result\n    raise ex[1].with_traceback(ex[2])\n', '  File "<sublime path>\\data\\package storage\\lsp-pylsp\\lib\\site-packages\\pluggy\\callers.py", line 52, in from_call\n    result = func()\n', '  File "<sublime path>\\data\\package storage\\lsp-pylsp\\lib\\site-packages\\pluggy\\manager.py", line 335, in <lambda>\n    outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs))\n', '  File "<sublime path>\\data\\package storage\\lsp-pylsp\\lib\\site-packages\\pluggy\\manager.py", line 84, in <lambda>\n    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(\n', '  File "<sublime path>\\data\\package storage\\lsp-pylsp\\lib\\site-packages\\pluggy\\callers.py", line 208, in _multicall\n    return outcome.get_result()\n', '  File "<sublime path>\\data\\package storage\\lsp-pylsp\\lib\\site-packages\\pluggy\\callers.py", line 80, in get_result\n    raise ex[1].with_traceback(ex[2])\n', '  File "<sublime path>\\data\\package storage\\lsp-pylsp\\lib\\site-packages\\pluggy\\callers.py", line 187, in _multicall\n    res = hook_impl.function(*args)\n', '  File "<sublime path>\\data\\package storage\\lsp-pylsp\\lib\\site-packages\\pylsp\\plugins\\highlight.py", line 13, in pylsp_document_highlight\n    usages = document.jedi_script().get_references(**code_position)\n', '  File "<sublime path>\\data\\package storage\\lsp-pylsp\\lib\\site-packages\\pylsp\\workspace.py", line 27, in wrapper\n    return method(self, *args, **kwargs)\n', '  File "<sublime path>\\data\\package storage\\lsp-pylsp\\lib\\site-packages\\pylsp\\workspace.py", line 265, in jedi_script\n    environment = self.get_enviroment(environment_path, env_vars=env_vars) if environment_path else None\n', '  File "<sublime path>\\data\\package storage\\lsp-pylsp\\lib\\site-packages\\pylsp\\workspace.py", line 294, in get_enviroment\n    environment = jedi.api.environment.create_environment(path=environment_path,\n', '  File "<sublime path>\\data\\package storage\\lsp-pylsp\\lib\\site-packages\\jedi\\api\\environment.py", line 367, in create_environment\n    return Environment(_get_executable_path(path, safe=safe), env_vars=env_vars)\n', '  File "<sublime path>\\data\\package storage\\lsp-pylsp\\lib\\site-packages\\jedi\\api\\environment.py", line 68, in __init__\n    self._get_subprocess()\n', '  File "<sublime path>\\data\\package storage\\lsp-pylsp\\lib\\site-packages\\jedi\\api\\environment.py", line 79, in _get_subprocess\n    raise InvalidPythonEnvironment(\n']}}
:: <<< LSP-pylsp 220: []

It's looking for .\\venv\\Scripts\\python.exe. Is the path specified in pylsp.plugins.jedi.environment correct? Where is python.exe actually located within your venv?
It's also a possibility that it's not able to resolve a relative path to the projects root but first let's verify where the python.exe actually is.

Yes, should have mentioned. Double checked everything path wise. Even went as far as hard coding paths, adding debug messages, changing slashes and relative path.
From the command line in the root of the project (from which I also open Sublime Text) I can run the following command:
.\\venv\\Scripts\\python.exe "<path sublime>\\data\\package storage\\lsp-pylsp\\lib\\site-packages\\jedi\\inference\\compiled\\subprocess\\__main__.py" '<path sublime>\\data\\package storage\\lsp-pylsp\\lib\\site-packages' '3.9.6'

This is the same command as jedi runs (with some modifications on the runtime properties). However, when running it this way, I get no errors (just a blank screen of the sub process waiting for communication I guess).

I suppose specifying absolute path works?

Mmm, I should really be more pedantic in my tickets...
No, no matter how I specify paths, executable, slashes, relative, absolute, I cannot get pylsps to work. Because the The parameter is incorrect , I suspect the main executable (.\venv\Scripts\python.exe) is "working". At first I thought the arguments passed to python.exe were wrong. However, as mentioned in my comment above, that seems to be fine.
So maybe the way the subprocess is created (stdin, buffer size, creation parameters, etc) is wrong. But that I believe is something on the JEDI part.
Any other thoughts that could be the problem?

Perhaps the actual error is the key error at the top? Can you try removing that cache? Alternatively try deleting the whole LSP-pylsp dir in \package storage\ so it reinstalls.

I think disabling LSP-pylsp and re-enabling it (as ST package) also removes those dirs.

Removed Package Storage/LSP-pylsp to trigger new LSP-pylsp installing message. Same error....
You mentioned JEDI cache error (good catch), purged directories:

AppData\Roaming\Jedi
AppData\Local\Jedi
https://github.com/davidhalter/jedi/blob/dcea842ac237b51263c29a252dba9b650fc799ff/jedi/settings.py#L71

Thought that would solve it, alas, same error...

Lots of debugging later I've figured out that subprocess.Popen crashes on Windows when passed empty dict for the env parameter (env={}).
So you need to override the:
"pylsp.plugins.jedi.env_vars": {},

setting to:
"pylsp.plugins.jedi.env_vars": null,

until this is fixed in this package.

Nice work figuring that out 🥇! That indeed fixes the problem.
Thanks a lot for the quick debugging.


I can't start the USB stick

Good morning, could you give me a hand? I created the stick with OpenCore Unfortunately it doesn't start, it remains stuck on the Windows logo and the open red padlock.

Hi @drakengard780,
If it remains stuck on the Windows logo with the red padlock, it means that your SGO2 is not even able to boot the OpenCore bootloader...
You'll find a whole lot of troubleshooting info about such problems at https://dortania.github.io/OpenCore-Install-Guide/troubleshooting/extended/opencore-issues.html
But first of all, please be aware that this repo will only work with the "high-end" Intel Core m3-8100Y version of the Surface Go 2.
Then make sure you created your USB stick with one of the methods described in the https://dortania.github.io/OpenCore-Install-Guide/installer-guide/ and that you filled your own PlatformInfo generated with CorpNewt's GenSMBIOS tool in the config.plist file as described in https://dortania.github.io/OpenCore-Install-Guide/config.plist/kaby-lake.html#platforminfo
If the above troubleshooting steps won't fix your problem, you'll need to enable verbose booting in your config.plist file in order to see what's going on during your boot process. To do so, set Misc -> Boot -> PickerMode to Builtin and add -v to the boot-args line in NVRAM -> Add -> 7C436110-AB2A-4BBB-A880-FE41995C9F82. Save your config.plist file and reboot. That should show you where the boot process gets stuck and hopefully you'll find a solution to your problem in https://dortania.github.io/OpenCore-Install-Guide/troubleshooting/extended/opencore-issues.html

One thing that comes to mind is that the folder structure in your EFI partition is wrong. Make sure that the BOOT and OC folders both reside in an EFI folder in your EFI partition!

Closed due to no feedback


[Question]: How to handle realtime downtime?

General info

[X] I checked the troubleshooting page for similar problems

What is your question?
When realtime disconnects unexpectedly, e.g. slow / no connection, how do I handle this downtime?
For example on a chat app, I get the initial messages that are already in the database by a fetch query. Then I listen to the messages by postgresChangeFlow<PostgresAction.Insert>.
While listening to messages, if there is a downtime for a few seconds, should I fetch a query filtered by created_at > *start of the downtime timestamp* and then re-establish realtime connectivity, or is there any more convenient way to keep this up to date?

I don't know of any built in functionality to receive missed events, you probably have to fetch missed messages yourself.

I faced this issue before in an app that's being used mainly on spotty connection. There are basically two ways you can go about it.

Ignore it - Is small state desync gonna cause any real problems? You can always fetch the data before doing anything critical.
Fetch on every connection issue. This in theory should help minimize issues the user sees. In practice, if you're on spotty connection already, forcing a refresh might not be the best approach. And this won't ensure you didn't miss any events anyway.

Personally I fetch data when the app opens/wakes (you have to do that anyway) and start observing everything. Average user interaction time of the app in question is around two minutes. There's not gonna be that many desyncs in that time. Works really well for my use cases. For sure is not a solution that's gonna fit all.

Thanks!


r2.11 cherry-pick: [oneDNN] Fix AvgPool3d Floating point exception

Original PR: https://github.com/tensorflow/tensorflow/pull/57998
Original commit: https://github.com/tensorflow/tensorflow/commit/4553398e4ec290209577a832140d4b260f4c3373

Closing this PR as I forgot that I made additional changes to the PR during merge, so we can't just use the original commit. Creating a new one soon.


Moves AsyncStep construction to StepsRunner.

For #262 (for part of refactoring BuildImageSteps and BuildDockerSteps)
After merging #306

After this, I'm planning to move AsyncStep,AsyncSteps,NonBlockingSteps to .jib.async package and move the steps along with StepRunner to .jib.builder.steps package and make the steps package-private.


Functions decorated with validate_call are not detected by inspect.isfunction

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
If a function is decorated with the pydantic.validate_call decorator, it is being considered as an instance of pydantic._internal._validate_call.ValidateCallWrapper. Thus, trying to list all functions present in a function or package using inspect.getmembers with predicate inspect.isfunction is failing.
Example Code
>>>
>>> import pydantic
>>>
>>> @pydantic.validate_call
... def f(x: int) -> int:
...     return x
...
>>>
>>> import inspect
>>>
>>> inspect.isfunction(f)
False
>>>

Python, Pydantic & OS Version
pydantic version: 2.4.2
pydantic-core version: 2.10.1
pydantic-core build: profile=release pgo=true
install path: /home/anirban/conda-environments/packaging/lib/python3.10/site-packages/pydantic
python version: 3.10.12 (main, Jul  5 2023, 18:54:27) [GCC 11.2.0]
platform: Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.35
related packages: typing_extensions-4.7.1 mypy-1.6.1 pyright-1.1.334

Well technically validate_call is implemented as a class.
I'm not convinced this is a bug as we don't claim otherwise, and it should be relatively simple to add some custom logic to detect validate_call decorated items.
Is there a particular problem this is causing.

Thanks for the quick response.
What I was trying to do is list all members in a package (and recursively in sub-packages not all of which uses pydantic because of different authours etc.), and then create functions, classes, etc. as boolean labels (based on the inspect.is* functions) and few other details. This will then be used to create a dataset for a langchain use case.
Having detected these as function simply would have made this labelling easier.

makes sense, I can imagine it's annoying.
I definitely don't think we can change this in a minor release as others will already be relying on the current implementation.
I would suggest this is the way to detect a validate_call decorated method:
from pydantic import validate_call

# Get the type to use later to detect a `validate_call` decorated function
ValidateCallType = type(validate_call(lambda x: x))

@validate_call
def my_function(a: int, b: str) -> int:
    return a + len(b)

print(isinstance(my_function, ValidateCallType))  # True

For anyone who thinks that looks like an ugly hack, it's exactly how the types module of CPython works.


Improve Duration.toMillis()

As a follow up of https://github.com/census-instrumentation/opencensus-java/pull/1114.

Codecov Report

Merging #1132 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #1132      +/-   ##
============================================
- Coverage     82.48%   82.48%   -0.01%
  Complexity     1211     1211
============================================
  Files           187      187
  Lines          5768     5767       -1
  Branches        523      523
============================================
- Hits           4758     4757       -1
  Misses          878      878
  Partials        132      132

Impacted Files
Coverage Δ
Complexity Δ

.../io/opencensus/implcore/stats/MutableViewData.java
97.98% <100%> (ø)
15 <0> (ø)
:arrow_down:

...ts/signalfx/SignalFxStatsExporterWorkerThread.java
75% <100%> (ø)
6 <0> (ø)
:arrow_down:

...r/stats/stackdriver/StackdriverExporterWorker.java
68.57% <100%> (ø)
12 <0> (ø)
:arrow_down:

...a/io/opencensus/implcore/stats/IntervalBucket.java
100% <100%> (ø)
11 <0> (ø)
:arrow_down:

...i/src/main/java/io/opencensus/common/Duration.java
100% <100%> (ø)
15 <1> (ø)
:arrow_down:

...census/implcore/trace/export/SpanExporterImpl.java
98.33% <100%> (ø)
7 <0> (ø)
:arrow_down:

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 3e4352b...3d18269. Read the comment docs.


experiments should load dynamically on page from github without page reload

This is the largest of the repos, expfactory-experiments:

and compared time for surveys and games (small, more realistically sized repos). Note that selecting an already selected repo (experiments) does not trigger the function:

data structure to parse looks like this:

User should be limited (still) to installing 5 at once.


HDDS-5746. EC: ECBlockOutputstream commitKey should create one keyLocationInfo per logical block

What changes were proposed in this pull request?
HDDS-5477 is pending due to a larger refactor effort. This change is therefore a temporary fix to the problem described in HDDS-5477, and will be superseded when HDDS-5477 is ready.
Currently at the time of commitKey, client creates the KeyLocationInfo for each individual instance of EC blocks. But when committing we should create one KeyLocationInfo per block as OM required to save one block info per block group in EC
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-5745
How was this patch tested?
Existing tests

Closing this as @umamaheswararao has another PR in #2648 which resolves the same problem in a slightly different way.


add a release property to appender and use it to set the release on the event

I would like this, too. It's nice to be able to suppress exceptions until next release.


How to set mem limit for Selenoid process itself

How to set limit for selenoid process itself? We find that selenoid process has memory leak if it lives very long time:
 systemctl status selenoid
● selenoid.service - Selenoid
     Loaded: loaded (/etc/systemd/system/selenoid.service; enabled; vendor preset: enabled)
     Active: active (running) since Mon 2022-05-23 15:41:25 MSK; 7 months 24 days ago
   Main PID: 1328 (selenoid)
      Tasks: 17 (limit: 28789)
     Memory: 11.2G

Selenoid has the following flags but for container not for selenoid process:
-cpu value
    Containers cpu limit as float e.g. 0.2 or 1.0

-mem value
    Containers memory limit e.g. 128m or 1g

@sergey-chechaev use operating system tools to do this. E.g. when running Selenoid in Docker you have exactly the same flag for docker run command.

@sergey-chechaev use operating system tools to do this. E.g. when running Selenoid in Docker you have exactly the same flag for docker run command.

Yes, I know but system will kill the process if it exceeds the limit.

@sergey-chechaev obviously no, this is how Linux kernel works. But Selenoid should not be killed because of OOM. If it's consuming too much memory, you can send SIGQUIT to the process and paste goroutines dump here that will be output to Selenoid logs imediately.


build: small improvements for package.json run scripts

After sorting, they have become a bit more evident:

Remove unneeded ng run script
Add validate run script to run all validations
Rename from scripts:tsc to build:scripts. Same for associated IDE task
Also removes Lint staged IDE run configuration. That can be ran by CLI, no need a run config for that.

#812  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @davidlj95 and the rest of your teammates on  Graphite


Are multiple cameras w/ hardware sync supported?

Hi,
I have multiple cameras working right now via separate nodelets. I see there's an option for enable_sync but this seems more like it's related to synchronizing input streams from one camera.
I know that hardware sync, i.e. identical frame capture, is possible because I saw this: https://www.intelrealsense.com/wp-content/uploads/2019/02/Intel_RealSense_Multi-camera_Webinar.pdf
Is this functionality enabled / exposed by ros-realsense?
Also: Is there a better place to ask these sorts of questions besides the GH issues? I'd be happy to use such a forum if I knew where to look
Thanks!

Yes, It is.
You can see it using rqt_reconfigure: camera->stereo_module->inter_cam_sync_mode

Great! I'll close this now


Update New-UnifiedAuditLogRetentionPolicy.md

@LauraWi @lindalu-MSFT we need to urgently revert this back as the documentation as originally intended should be the correct behavior and we should treat this as a code bug.

Docs Build status updates of commit dee125e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-UnifiedAuditLogRetentionPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@Chris Davis @.***> – can we approve this ASAP?  We need to urgently revert this back as the documentation as originally intended should be the correct behavior and we should treat this as a code bug instead of a doc bug.
From: opbld32 @.>
Sent: Sunday, April 24, 2022 5:19 PM
To: MicrosoftDocs/office-docs-powershell @.>
Cc: Huy Phung @.>; Author @.>
Subject: Re: [MicrosoftDocs/office-docs-powershell] Update New-UnifiedAuditLogRetentionPolicy.md (PR #9336)
Docs Build status updates of commit dee125ehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbrucehuy%2Foffice-docs-powershell%2Fcommits%2Fdee125e650305294d41b27e9c871f4bfae703be6&data=05|01|huyphung%40microsoft.com|cafa2cc5d5eb43b12cb508da26512dff|72f988bf86f141af91ab2d7cd011db47|1|0|637864427355791063|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=ntNRokBlr0lE5c7mAJ5QCCVEpdL9fZlTiCbP6IJWQmk%3D&reserved=0:
✅ Validation status: passed
File
Status
Preview URL
Details
exchange/exchange-ps/exchange/New-UnifiedAuditLogRetentionPolicy.mdhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbrucehuy%2Foffice-docs-powershell%2Fblob%2Fpatch-5%2Fexchange%2Fexchange-ps%2Fexchange%2FNew-UnifiedAuditLogRetentionPolicy.md&data=05|01|huyphung%40microsoft.com|cafa2cc5d5eb43b12cb508da26512dff|72f988bf86f141af91ab2d7cd011db47|1|0|637864427355841054|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=xaBGe%2FUn1PgLRpGNcDTwzz77Te82BkzNH2PNOJZKroA%3D&reserved=0
✅Succeeded
Viewhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Freview.docs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fexchange%2Fnew-unifiedauditlogretentionpolicy%3Fview%3Dexchange-ps%26branch%3Dpr-en-us-9336&data=05|01|huyphung%40microsoft.com|cafa2cc5d5eb43b12cb508da26512dff|72f988bf86f141af91ab2d7cd011db47|1|0|637864427355841054|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=5mqMJThIYhplPeH3ITfMQBMQqBVOhhtwT5cYQCpt8Yc%3D&reserved=0 (exchange-ps)
For more details, please refer to the build reporthttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fopbuilduserstoragepublic.blob.core.windows.net%2Freport%2F2022%255C4%255C25%255C3603fd28-efce-f87f-e986-fc8a694fc312%255CPullRequest%255C202204250016109193-9336%255Cworkflow_report.html%3Fsv%3D2021-04-10%26se%3D2022-05-26T00%253A18%253A40Z%26sr%3Db%26sp%3Dr%26sig%3Dvi%252FpCgV4vvmrVQgWOQLB8Mr35FNVKaFK15hvJZc%252Bz8E%253D&data=05|01|huyphung%40microsoft.com|cafa2cc5d5eb43b12cb508da26512dff|72f988bf86f141af91ab2d7cd011db47|1|0|637864427355841054|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=L%2FPxCgdvFw79seTjlpOlDASEfoBRn2G60S%2BxOjt0ang%3D&reserved=0.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link reporthttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fops.microsoft.com%2F%23%2Frepos%2F3603fd28-efce-f87f-e986-fc8a694fc312%3FtabName%3Dbrokenlinks&data=05|01|huyphung%40microsoft.com|cafa2cc5d5eb43b12cb508da26512dff|72f988bf86f141af91ab2d7cd011db47|1|0|637864427355841054|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=vNyYiZvQCld3noDG299kuu9Oeub73Ye%2FAx2ULp5a7BY%3D&reserved=0.
For any questions, please:

Try searching the docs.microsoft.com contributor guideshttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Freview.docs.microsoft.com%2Fen-us%2Fhelp%2F%3Fbranch%3Dmain&data=05|01|huyphung%40microsoft.com|cafa2cc5d5eb43b12cb508da26512dff|72f988bf86f141af91ab2d7cd011db47|1|0|637864427355841054|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=ke8EjvZYXASAMUcStmtDISGcMhUx9kAV0GBOsKiXxQI%3D&reserved=0
Post your question in the Docs support channelhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fteams.microsoft.com%2Fl%2Fchannel%2F19%253a7ecffca1166a4a3986fed528cf0870ee%2540thread.skype%2FGeneral%3FgroupId%3Dde9ddba4-2574-4830-87ed-41668c07a1ca%26tenantId%3D72f98bf-86f1-41af-91ab-2d7cd011db47&data=05|01|huyphung%40microsoft.com|cafa2cc5d5eb43b12cb508da26512dff|72f988bf86f141af91ab2d7cd011db47|1|0|637864427355841054|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=IUHiu0v68H3CRb%2F7pO55GTniaZ3BC3StUwv3%2FAAqG6E%3D&reserved=0

—
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Foffice-docs-powershell%2Fpull%2F9336%23issuecomment-1107949152&data=05|01|huyphung%40microsoft.com|cafa2cc5d5eb43b12cb508da26512dff|72f988bf86f141af91ab2d7cd011db47|1|0|637864427355841054|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=4ulobEnzdaXDgjfuAfVOIpAa5MDAz5%2BaMk9TY7ESDns%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQV5VGPNAJU7AHBHP47UKIDVGXQGZANCNFSM5UG7SCQA&data=05|01|huyphung%40microsoft.com|cafa2cc5d5eb43b12cb508da26512dff|72f988bf86f141af91ab2d7cd011db47|1|0|637864427355991025|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=AXMuQXpklXpFcYNHK2iWeo0lyEOCbo5VLKXVt0WLbCI%3D&reserved=0.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

I don’t have permissions in this repo, sorry I can’t help.
Get Outlook for iOShttps://aka.ms/o0ukef

@brucehuy, always be mindful that 99% of the time, a change to a parameter in a New- cmdlet is also required in the corresponding Set- cmdlet.
I took care of this in PR #9340

Docs Build status updates of commit 3495820:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-UnifiedAuditLogRetentionPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Autoplay stopped after nav button being clicked

Issue description:
Hello, first of all - thank you for this really nice library.
I checked the source code and realized that stopping autoplay after user interaction is intentional.
So I tried to use play function to start the timer but apparently this does not work. You can see the code below.
The problem may be the fact that you have click events attached to those buttons already.
Demo link/slider setting:
var slider = tns({
container: '.tiny-slider',
controls: false,
autoplay: true,
autoplayTimeout: 2500,
autoplayButtonOutput: false
});
var elem = document.querySelector('.tns-nav');
var buttons = elem.querySelectorAll('button');
buttons.forEach(function(but) {
but.addEventListener('click', function(e) {
slider.play();
});
});
Tiny-slider version:   2.6.0
Browser name && version:  Google Chrome 66.0.3359.170
OS name && version:   Windows 7

Okay, to make it work the way I need - I did some nasty thing like this:
var play_again = function(){setTimeout(slider.play, 1)}
slider.events.on('indexChanged', play_again);

Yes, that's expected.
When a user clicks the controls/nav, I suppose he/she wants to manually check the slides, so I stop the autoplay. On the contrary, if the autoplay continues after the user clicks the controls/nav, he/she may find the slide he/she is watching suddenly slide away, I guess that's not he/she really wants.

Close for now.
Feel free to reopen it if you think differently.

It would be nice to have this as an option?

This behavior should definitely be optional. Slider can stop while the user is hovering on it (if you want to avoid the described UX case), but it should not be permanent in any case.
The way slider works with autoplay and buttons right now is not right at all. It should not be default and only option.

Here's an easy workaround for this issue.
Just copy/paste it after slider initialization:

var buttons = document.querySelectorAll('.tns-nav button')
	buttons.forEach(function() {
		this.addEventListener('click', function(e) {
			slider.play()
		})
	})

I feel like this behavior is not consistent. While the slider stops once the user interacts with the buttons, if the option mouseDrag is turned on, and the user interacts with the slider that way, it doesn't stop.
Wouldn't it be better to make the "stop after interacting" behavior optional and have it affect every interaction case?

Agree with others that this behaviour should ideally be optional.

sliderBlock.addEventListener("mouseleave", function () {
slider.play();
});