version 4.94 monitor view throw exception on value.reduce is not a function

Describe the Bug with repro steps
I am trying to adopt latest version 4.94. I noticed a weird error. In monitor view, if I open operation panel, click it, then switch to a different action to open operation panel. it throws exception value.reduce is not a function. It sounds like a regression as I didn't see this behavior in previous version 4.51.5 we used
copypaste.ts:56 Uncaught (in promise) TypeError: value.reduce is not a function
at onRunRepetitionsSuccess (copypaste.ts:56:37)
at notifyManager.mjs:49:1
at notifyFn (notifyManager.mjs:8:1)
at notifyManager.mjs:62:1
at Array.forEach ()
at notifyManager.mjs:61:1
at batchNotifyFn (notifyManager.mjs:12:1)
at notifyManager.mjs:60:1

What type of Logic App Is this happening in?
Consumption (Portal)
Which operating system are you using?
Windows
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
No response
Screenshots or Videos
No response
Browser
Edge
Additional context
No response

issue on host side, the scopepetition call returns a wrong schema


upcoming: [DI-20595] - ACLP Supported regions per service type

Description 📝
ACLP supports a limited set of regions per service type and capability based on LaunchDarkly config.
Changes  🔄

Regions are correctly filtered according to the capability they belong to and the supported regions fetched from launchDarkly.

Target release date 🗓
<>
Preview 📷

Before
After

📷
📷

How to test 🧪
Verification steps

Navigate to monitor tab.
Select a dashboard.
Open networks tab, find the launchDarkly config, see supported region ids in aclpServiceTypeMap, verify that these are same as the region ids listed in 'regions' autocomplete popper list. Note: ids are listed at the end of region option label in autcomplete list.

 Author Checklists
As an Author, to speed up the review process, I considered 🤔
Check all that apply

[ ] Use React components instead of HTML Tags
[ ] Proper naming conventions like cameCase for variables & Function & snake_case for constants
[ ] Use appropriate types & avoid using "any"
[ ] No type casting & non-null assertions
[ ] Adding a changeset
[ ] Providing/Improving test coverage
[ ] Use sx props to pass styles instead of style prop
[ ] Add JSDoc comments for interface properties & functions
[ ] Use strict equality (===) instead of double equal (==)
[ ] Use of named arguments (interfaces) if function argument list exceeds size 2
[ ] Destructure the props
[ ] Keep component size small & move big computing functions to separate utility
[ ] 📱 Providing mobile support

[x] I have read and considered all applicable items listed above.

As an Author, before moving this PR from Draft to Open, I confirmed ✅

[x] All unit tests are passing
[x] TypeScript compilation succeeded without errors
[x] Code passes all linting rules

1 UT in resources.test file is broken due to latest upstream sync merge, will push that again in the end, not related to these changes..


Cascading updates when using usePagination

I've noticed that in some cases the table is rendered twice after some events like sorting or filtering, after some debugging it seems that this happens only when usePagination is present.
Example with sorting: https://codesandbox.io/s/tannerlinsleyreact-table-sorting-t47hd
Example with filters: https://codesandbox.io/s/bold-bose-1mx7l
There is a console.log, when the usePagination is present, it is called twice on sort/filtering, when there is no pagination, only once.
In the perf dev tools the second render is visible and seems to be caused by the cascading update:

This is probably a bug somewhere in the pagination code? For larger tables I imagine this can make some actions be less responsive than it could be.

This happens when the auto reset effect is triggered. It’s by design and should be a relatively cheap render.
Tanner Linsley
On Dec 13, 2019, 3:12 AM -0700, Roman Komarov<EMAIL_ADDRESS>wrote:

I've noticed that in some cases the table is rendered twice after some events like sorting or filtering, after some debugging it seems that this happens only when usePagination is present.
Example with sorting: https://codesandbox.io/s/tannerlinsleyreact-table-sorting-t47hd
Example with filters: https://codesandbox.io/s/bold-bose-1mx7l
There is a console.log, when the usePagination is present, it is called twice on sort/filtering, when there is no pagination, only once.
In the perf dev tools the second render is visible and seems to be caused by the cascading update:
This is probably a bug somewhere in the pagination code? For larger tables I imagine this can make some actions be less responsive than it could be.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

For me it is not that cheap for larger tables (same basic table, 100 rows — https://codesandbox.io/s/tannerlinsleyreact-table-sorting-80bee):

Basically, I see this second render taking 50-100% of the original time, so it is x1.5-2.0 increase. It is good to know that disabling auto-reset removes this second render, but I wonder if it is still possible to fit everything into one, hmm.
Looking at the profiler, yes, the useTable hook itself in this case is very small (30ms before, <1 after, but most of the time goes into all the other stuff happening — like Reconciliation etc.):

Are you measuring in production by chance?
Tanner Linsley
On Dec 13, 2019, 1:40 PM -0700, Roman Komarov<EMAIL_ADDRESS>wrote:

For me it is not that cheap for larger tables (same basic table, 100 rows — https://codesandbox.io/s/tannerlinsleyreact-table-sorting-80bee):
Basically, I see this second render taking 50-100% of the original time, so it is x1.5-2.0 increase. It is good to know that disabling auto-reset removes this second render, but I wonder if it is still possible to fit everything into one, hmm.
Looking at the profiler, yes, the useTable hook itself in this case is very small (30ms before, <1 after, but most of the time goes into all the other stuff happening — like Reconciliation etc.):
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

This is on codesandbox, thus it is in development, in a production build things are a bit better, but there is still overhead.
Here is it with autoResetPage: false:

Here it is with two renders, note how there is a bunch of stuff after the first onCommitFiberRoot:

Basically, when there is a second render, for this table with 100 rows there is another ~26ms of work, in that case this is close to 1/4–1/3 of the initial render. Not that drastic, but I imagine for larger roots and more complex components inside the cells this could be bigger just from all the extra reconciliation needed.

Yeah, the discussion around this has come up a lot in v7 but never really yielded a better approach thus far. Up to this point, I haven't been able to find a way to effectively update the internal table state during a render, instead of using a layout effect, while also keeping a relatively stable reducer model.
I would love any feedback on how to do this better, but for the "auto reset" functionality to work fluidly, I haven't been able to find a better way than placing it in a layout effect.

I'm not sure I would be able to look at the internals of all this, but maybe one day when I won't be busy with everything else :D Anyway, knowing that there is a way to opt-out of the auto-reset is already great, I'll see if this would be a real problem, or if the current state would be enough.

What's interesting is that if you opt-out, but need to achieve the same thing, most would just for the effect approach again in their component code. 🤷♂

Either way, feel free to keep commenting with more info or close the issue. Your call.

I think I'll close for now, thank you!

@tannerlinsley One small question: currently when the autoResetPage: true, the second render happens even when pageIndex is 0. If I understand correctly, the goal of autoResetPage is to reset the pageIndex to its initial value when there are changes. Is this correct?
If so, then I think we can make a small optimisation and do not reset when we're already at the initial page? This would mean that there would be 2 renders if we were, say, at the second page, as we would need to go to the first one anyway, but if we were already at the first page and we get new data/sort/filter, then we don't need to return to a different pageIndex, and so we don't need to do this second render?

Indeed. A small check on the page index would be good here. Likewise for all of the other auto reset flags too
Tanner Linsley
On Dec 16, 2019, 10:18 AM -0700, Roman Komarov<EMAIL_ADDRESS>wrote:

@tannerlinsley One small question: currently when the autoResetPage: true, the second render happens even when pageIndex is 0. If I understand correctly, the goal of autoResetPage is to reset the pageIndex to its initial value when there are changes. Is this correct?
If so, then I think we can make a small optimisation and do not reset when we're already at the initial page? This would mean that there would be 2 renders if we were, say, at the second page, as we would need to go to the first one anyway, but if we were already at the first page and we get new data/sort/filter, then we don't need to return to a different pageIndex, and so we don't need to do this second render?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


New version: Todesk.Todesk version <IP_ADDRESS>52055

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[X] Does your manifest conform to the 1.0 schema?

Microsoft Reviewers: Open in CodeFlow

/azp run


Mac OSX. only localhost

Hello i try to run home brige on my mac. its runs perfect!
but i can only acces with <IP_ADDRESS>. only local...
how can get acces in my network.
my router is the apple airport express

Sorry I didn't get that. What are you trying to do?
You should be able to see it from your iOS HomeKit app, like Elgato EVE or Insteon+; and not from other PCs.

Do a netstat -an from the command prompt and grep for 51826 and see if it is binding on <IP_ADDRESS>?

I don"t see homebridge on my iOS divices or apps,
So i try i can connect by web browser so i enterd
<IP_ADDRESS>:51826 And in the terminal he connects
I have tryd the same thing on an other pc
<IP_ADDRESS>:51826 in my browser.. "The page not found"
I thik that Some firewall it blocks .. But the firewall is disabled

Run a tcpdump on your Mac terminal window and see if requests are making it to port 51826 on <IP_ADDRESS>. You should be able to see requests and responses to/from Homebridge server.

Due to no updates in the past 2 years I am going to close the issue. If the issue is still occurs please reach out on Slack or create a new issue


AES GCM (128Bit and 256Bit) benefit with qat?

Trying to follow the instructions on this Intel reference page, and reproduce results reported by Intel with AES GCM having a (roughly) factor 2x over the baseline for 8kB blocks (without QAT) without success:
Is there any CPU or environment-related, i.e., openssl, setting missing? Or is it just the cipher no longer being implemented with/for QAT (as some other replies to similar issues in this repo hint to)?
I also tried creating a file /etc/sysconfig/qat based on this other Intel QAT reference, with different settings, and no change was observed.
Environment:
OS: RHEL 9.2
- Machine 01: qatengine rpm version 1.0.0-1.el9_2, CPU: Intel(R) Xeon(R) Platinum 8462Y+
- Machine 02: QAT_Engine built from this repo, CPU: Intel(R) Xeon(R) Platinum 8480+
QAT:
- Machine 01:
openssl engine -t -c -v qatengine
(qatengine) Reference implementation of QAT crypto engine(qat_hw) v1.0.0
[RSA, AES-128-CBC-HMAC-SHA256, AES-256-CBC-HMAC-SHA256, ChaCha20-Poly1305, SHA3-256, SHA3-384, SHA3-512]
[ available ]
ENABLE_EXTERNAL_POLLING, POLL, SET_INSTANCE_FOR_THREAD,
GET_NUM_OP_RETRIES, SET_MAX_RETRY_COUNT, SET_INTERNAL_POLL_INTERVAL,
GET_EXTERNAL_POLLING_FD, ENABLE_EVENT_DRIVEN_POLLING_MODE,
GET_NUM_CRYPTO_INSTANCES, DISABLE_EVENT_DRIVEN_POLLING_MODE,
SET_EPOLL_TIMEOUT, SET_CRYPTO_SMALL_PACKET_OFFLOAD_THRESHOLD,
ENABLE_INLINE_POLLING, ENABLE_HEURISTIC_POLLING,
GET_NUM_REQUESTS_IN_FLIGHT, INIT_ENGINE, SET_CONFIGURATION_SECTION_NAME,
ENABLE_SW_FALLBACK, HEARTBEAT_POLL, DISABLE_QAT_OFFLOAD, HW_ALGO_BITMAP
- Machine 02:
openssl engine -t -c -v qatengine
(qatengine) Reference implementation of QAT crypto engine(qat_hw) v1.2.0
[RSA, AES-128-CBC-HMAC-SHA256, AES-256-CBC-HMAC-SHA256, ChaCha20-Poly1305, SHA3-256, SHA3-384, SHA3-512, TLS1-PRF, X25519, X448]
[ available ]
ENABLE_EXTERNAL_POLLING, POLL, SET_INSTANCE_FOR_THREAD,
GET_NUM_OP_RETRIES, SET_MAX_RETRY_COUNT, SET_INTERNAL_POLL_INTERVAL,
GET_EXTERNAL_POLLING_FD, ENABLE_EVENT_DRIVEN_POLLING_MODE,
GET_NUM_CRYPTO_INSTANCES, DISABLE_EVENT_DRIVEN_POLLING_MODE,
SET_EPOLL_TIMEOUT, SET_CRYPTO_SMALL_PACKET_OFFLOAD_THRESHOLD,
ENABLE_INLINE_POLLING, ENABLE_HEURISTIC_POLLING,
GET_NUM_REQUESTS_IN_FLIGHT, INIT_ENGINE, SET_CONFIGURATION_SECTION_NAME,
ENABLE_SW_FALLBACK, HEARTBEAT_POLL, DISABLE_QAT_OFFLOAD, HW_ALGO_BITMAP
Openssl speed tests:
- Machine 01:
taskset 0x1 openssl speed -evp aes-128-gcm
type           16 bytes     64 bytes      256 bytes   1024 bytes   8192 bytes   16384 bytes
AES-128-GCM    1031977.31k  2447358.19k  4960747.43k  6953347.07k  7698314.58k  7777314.93k

taskset 0x1 openssl speed -engine qatengine -evp aes-128-gcm
type           16 bytes     64 bytes      256 bytes   1024 bytes   8192 bytes   16384 bytes
AES-128-GCM    1034648.31k  2460134.78k  4985995.95k  6963253.93k  7721680.57k  7777047.89k

Also obtained similar, i.e., same values, for aes-256-cbc
- Machine 02:
taskset 0x1 openssl speed -evp aes-128-gcm
type           16 bytes     64 bytes      256 bytes   1024 bytes   8192 bytes   16384 bytes
AES-128-GCM     943251.65k  2279441.22k  4627250.69k  6456699.12k  7145985.37k  7222886.40k

taskset 0x1 openssl speed -engine qatengine -evp aes-128-gcm
type           16 bytes     64 bytes      256 bytes   1024 bytes   8192 bytes   16384 bytes
AES-128-GCM     949183.69k  2278880.92k  4637970.26k  6496159.08k  7153216.17k  7228517.03k

Also obtained similar, i.e., same values, for aes-256-cbc
Detailed output:
- Machine 01:
taskset 0x1 openssl speed -evp aes-128-gcm
Doing AES-128-GCM for 3s on 16 size blocks: 192537514 AES-128-GCM's in 2.99s
Doing AES-128-GCM for 3s on 64 size blocks: 115424354 AES-128-GCM's in 3.00s
Doing AES-128-GCM for 3s on 256 size blocks: 58472809 AES-128-GCM's in 3.00s
Doing AES-128-GCM for 3s on 1024 size blocks: 20311076 AES-128-GCM's in 3.00s
Doing AES-128-GCM for 3s on 8192 size blocks: 2818695 AES-128-GCM's in 3.00s
Doing AES-128-GCM for 3s on 16384 size blocks: 1424309 AES-128-GCM's in 2.99s
version: 3.0.7
built on: Wed Mar  8 00:00:00 2023 UTC
options: bn(64,64)
compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-s
witches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redh
at-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -
fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wa,--noexecstack -Wa,--generate-missing-build-notes=yes
 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -DOPENSSL_USE_NODELETE -DL_ENDIA
N -DOPENSSL_PIC -DOPENSSL_BUILDING_OPENSSL -DZLIB -DNDEBUG -DPURIFY -DDEVRANDOM="\"/dev/urandom\"" -DREDHAT_FIPS_VERSION="\"3
.0.7-1f5987c2732dd431\"" -DSYSTEM_CIPHERS_FILE="/etc/crypto-policies/back-ends/openssl.config"
CPUINFO: OPENSSL_ia32cap=0x7ffef3ffffebffff:0xfb417ffef3bfb7ef
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
AES-128-GCM    1030301.08k  2462386.22k  4989679.70k  6932847.27k  7696916.48k  7804641.69k

taskset 0x1 openssl speed -engine qatengine -evp aes-128-gcm
Engine "qatengine" set.
Doing AES-128-GCM for 3s on 16 size blocks: 193996559 AES-128-GCM's in 3.00s
Doing AES-128-GCM for 3s on 64 size blocks: 115318818 AES-128-GCM's in 3.00s
Doing AES-128-GCM for 3s on 256 size blocks: 58429640 AES-128-GCM's in 3.00s
Doing AES-128-GCM for 3s on 1024 size blocks: 20400158 AES-128-GCM's in 3.00s
Doing AES-128-GCM for 3s on 8192 size blocks: 2818338 AES-128-GCM's in 2.99s
Doing AES-128-GCM for 3s on 16384 size blocks: 1424020 AES-128-GCM's in 3.00s
version: 3.0.7
built on: Wed Mar  8 00:00:00 2023 UTC
options: bn(64,64)
compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-s
witches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redh·
at-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -
fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wa,--noexecstack -Wa,--generate-missing-build-notes=yes
 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -DOPENSSL_USE_NODELETE -DL_ENDIA
N -DOPENSSL_PIC -DOPENSSL_BUILDING_OPENSSL -DZLIB -DNDEBUG -DPURIFY -DDEVRANDOM="\"/dev/urandom\"" -DREDHAT_FIPS_VERSION="\"3·
.0.7-1f5987c2732dd431\"" -DSYSTEM_CIPHERS_FILE="/etc/crypto-policies/back-ends/openssl.config"                               CPUINFO: OPENSSL_ia32cap=0x7ffef3ffffebffff:0xfb417ffef3bfb7ef
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
AES-128-GCM    1034648.31k  2460134.78k  4985995.95k  6963253.93k  7721680.57k  7777047.89k

- Machine 02:
taskset 0x1 openssl speed -evp aes-128-gcm
Doing AES-128-GCM for 3s on 16 size blocks: 176270152 AES-128-GCM's in 2.99s
Doing AES-128-GCM for 3s on 64 size blocks: 106848807 AES-128-GCM's in 3.00s
Doing AES-128-GCM for 3s on 256 size blocks: 54225594 AES-128-GCM's in 3.00s
Doing AES-128-GCM for 3s on 1024 size blocks: 18853057 AES-128-GCM's in 2.99s
Doing AES-128-GCM for 3s on 8192 size blocks: 2616938 AES-128-GCM's in 3.00s
Doing AES-128-GCM for 3s on 16384 size blocks: 1322550 AES-128-GCM's in 3.00s
version: 3.0.7
built on: Wed Mar  8 00:00:00 2023 UTC
options: bn(64,64)
compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wa,--noexecstack -Wa,--generate-missing-build-notes=yes -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_BUILDING_OPENSSL -DZLIB -DNDEBUG -DPURIFY -DDEVRANDOM="\"/dev/urandom\"" -DREDHAT_FIPS_VERSION="\"3.0.7-1f5987c2732dd431\"" -DSYSTEM_CIPHERS_FILE="/etc/crypto-policies/back-ends/openssl.config"
CPUINFO: OPENSSL_ia32cap=0x7ffef3ffffebffff:0xfb417ffef3bfb7ef
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
AES-128-GCM     943251.65k  2279441.22k  4627250.69k  6456699.12k  7145985.37k  7222886.40k

taskset 0x1 openssl speed -engine qatengine -evp aes-128-gcm
Engine "qatengine" set.
Doing AES-128-GCM for 3s on 16 size blocks: 177378703 AES-128-GCM's in 2.99s
Doing AES-128-GCM for 3s on 64 size blocks: 106822543 AES-128-GCM's in 3.00s
Doing AES-128-GCM for 3s on 256 size blocks: 54351214 AES-128-GCM's in 3.00s
Doing AES-128-GCM for 3s on 1024 size blocks: 18968277 AES-128-GCM's in 2.99s
Doing AES-128-GCM for 3s on 8192 size blocks: 2619586 AES-128-GCM's in 3.00s
Doing AES-128-GCM for 3s on 16384 size blocks: 1323581 AES-128-GCM's in 3.00s
version: 3.0.7
built on: Wed Mar  8 00:00:00 2023 UTC
options: bn(64,64)
compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wa,--noexecstack -Wa,--generate-missing-build-notes=yes -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_BUILDING_OPENSSL -DZLIB -DNDEBUG -DPURIFY -DDEVRANDOM="\"/dev/urandom\"" -DREDHAT_FIPS_VERSION="\"3.0.7-1f5987c2732dd431\"" -DSYSTEM_CIPHERS_FILE="/etc/crypto-policies/back-ends/openssl.config"
CPUINFO: OPENSSL_ia32cap=0x7ffef3ffffebffff:0xfb417ffef3bfb7ef
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
AES-128-GCM     949183.69k  2278880.92k  4637970.26k  6496159.08k  7153216.17k  7228517.03k

Other observations - testing with other ciphers (RSA2048):
Test with 1) openssl speed software, 2) QAT synch, and 3) QAT asynch (-asynch_jobs 8) gives a speed up factor of (sign/s):
openssl speed rsa2048
                  sign    verify    sign/s verify/s
rsa 2048 bits 0.000237s 0.000014s   4212.3  72485.9

2x:
openssl speed -engine qatengine rsa2048
                  sign    verify    sign/s verify/s
rsa 2048 bits 0.000124s 0.000017s   8074.0  57805.8

~10x:
openssl speed -engine qatengine -async_jobs 8 rsa2048
                  sign    verify    sign/s verify/s
rsa 2048 bits 0.000024s 0.000005s  41191.2 206077.2

It seems you have build target for QAT_HW only where the benefit is less compared to OpenSSL_SW. Can you try example 4 of  that builds for qat_sw  target https://github.com/intel/QAT_Engine#example-builds.
Please remove qatlib rpm if any from the system.  From the logs you shared AES-GCM is not enabled


Custom Wake Words

Hi,
Questions more than an issue or request.  Will the tflite files from https://github.com/fwartner/home-assistant-wakewords-collection work with micro-wake-words?  Be nice to just be able to add a json file and be on my way.  Also, can I store the tflite and json file local to ESPHOME folder?  Documentation doesn't seem to say that, but you never know until you ask.

Hi,
I think I have a similar question
I built a custom wakeword by using Google colab
And I got the following error when trying to compile the firmware:   "Not a valid model name, local path, http(s) url, or github shorthand."
I tried the following approaches:

Hosting the model JSON + tfilte flite locally:

micro_wake_word:
  model: https://domotique.maison.lan/statics/home-assistant/wakewords/eh_chou_pee.json
  on_wake_word_detected:
    then:
      - voice_assistant.start:
          wake_word: !lambda return wake_word;

Hosting the model JSON + tfilte flite on my github account:

micro_wake_word:
  model: https://github.com/jerome83136/homeassistant/blob/main/eh_chou_pee.json
  on_wake_word_detected:
    then:
      - voice_assistant.start:
          wake_word: !lambda return wake_word;

All gave me the error "Not a valid model name, local path, http(s) url, or github shorthand."
But ESPhome's documentation of microwakeword clearly states that we can use an URL pointing to a
"A full URL to a model JSON file. e.g. https://github.com/esphome/micro-wake-word-models/raw/main/models/okay_nabu.json"
So: how can we use our custom wakewords with microwakeword please ?
Thank you for your help
Best regards

Hi everyone
Anyone able to help here maybe? 🙏
Thank you
Best regards

I have the same problem: the link to the file posted on github works. The link must be attached to the raw json file, then the compilation is successful. But the created model gives an error when running ESP32: "Component micro_wake_word is marked FAILED"

I also encountered the same issue.

i also has the same
but i got the next error

you guys need to update de ESP device before using the new yaml pattern

I have the same issue (i think)
micro_wake_word:
  on_wake_word_detected:
    - voice_assistant.start:
        wake_word: !lambda return wake_word;
  vad:
  models:
    - model: https://public.swic.name/computer.json

I get the "Not a valid model name, local path, http(s) url, or github shorthand." too. Tried via the git repo link

Questions more than an issue or request. Will the tflite files from https://github.com/fwartner/home-assistant-wakewords-collection work with micro-wake-words?

Nope. You link to a repository that contains wake words for the openWakeWord engine. This repository contains files for microWakeWord engine (which runs inside ESPHome). They are not compatible.


⚠ Minecraft has degraded performance

In 7aee2c1, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 886 ms

Resolved: Minecraft performance has improved in 910455a.


Request for comments - Path to HAL files

Hi guys, and happy new year !
During e87 @lairdm told me that we're not configuring the path to access HAL files is not great at all (it's a euphemism). I think it's hard-coded at the moment. Instead, the path should be configured in the main configuration file, and the endpoint should tell the API "This is where you'll find the data".
Here I'm adding a parameter to to the configuration file and pass it to the Compara API (there is a matching change on our side).
I'd still like to keep the same directory structure as on the web server, which is /DATA/PATH/multi/hal_files/*.hal (/DATA/PATH is the bit that's changed in ensembl_rest.conf). Would that fit you ?
If that's OK, then you would just have to rsync Web's /DATA/PATH/multi/ with yours and all the file-based data would work on both sides.
Matthieu
PS: Web directory structure
├── anolis_carolinensis
│   └── AnoCar2.0
│       └── rnaseq
├── astyanax_mexicanus
│   └── AstMex102
│       └── rnaseq
...
├── homo_sapiens
│   ├── GRCh37
│   │   ├── compara
│   │   ├── dna_methylation_feature
│   │   ├── result_feature
│   │   ├── result_set
│   │   ├── rnaseq
│   │   ├── segmentation_file
│   │   └── variation_genotype
│   └── GRCh38
│       ├── compara
│       ├── dna_methylation_feature
│       ├── external_feature_file
│       ├── result_feature
│       ├── result_set
│       ├── rnaseq
│       ├── segmentation_file
│       └── variation_genotype
...
├── multi
│   └── hal_files (only contains murinae_genbank_835.hal at the moment)
...

One of the big differences in rest is we don't have the same swath of files as web. We don't rsync that large directory structure, and we'd rather group the files by functional sections of rest. Particularly with the plan to separate rest out in the multiple instances divided by functional components/endpoints.
For example our structure is:
/data/shared///
where endpoint_group = vep_cache, ga_data...
And in vep_cache, which that path is passed to vep in the config file, Will knows the layout of his directory, and it's however he wishes. He builds the _ names on the fly himself (ie. homo_sapiens_refseq). Also at deployment time he gives us a tarball that we simply untar in that directory and it lays things out as needed for vep. We tell him via config where his directory is, he manages the layout and poking around in it himself. We'd like to maintain that model, and especially keep configuration details out of code.
For example, we recently went from /mnt/data to /mnt/shared for the data directory root, because we were running out of space in the former. If we had to dig around modules to change all that, that would be bad. Similarly we don't want to have a global data directory everyone uses, for example eqtl data is under /mnt_eqtl_data, a totally different space, again because of space limitations on the rest servers. So being able to tell each functional division of rest independently where its data lives is important.
The two big changes coming with the rest rewrite are auto deployment/configuration, so the configuration file will be built on the fly. And when we move to ebi hardware we're contemplating asking data creators to deploy their data for a release in the appropriate location themselves similar to how groups deposit data for the production team to be rsynced. ie. we'd say release 88 will be ebi:/data/nfs/ensembl/rest/88/ and you'd know you use "compara" under that, you'd put your files there however your modules expect them to be laid out, and on release day the config is built saying "compara = /real-release-dir/rest/88/compara", the directory is rsynced and the service goes live.
So if you want to maintain this multi/, that's fine, but it will likely be under something like /mnt/shared//compara/, we'd pass in the config directory that as the compara root, and we'd hope to get a tarball that when untared in that directory creates the directory structure the compara endpoints expect.
Is that clearer?
Thanks.

Thank you @lairdm . Yes that is clearer. I like the plan whereby each group generates their own section of the data directory and we assume the responsibility of maintaining its structure and syncing it with the API / endpoint configuration options.
We may not want to keep "multi" hanging around, especially because it seems redundant with the "compara" you want to introduce. "multi/hal_files" was a way to pretend supporting multiple divisions (alongside "fungi", "plants", etc, -Ensembl is "multi" in the Registry-) and multiple file-types but currently the mouse-strains HAL file is the only file there :D
You mentioned the idea of splitting the REST server by component. Would this happen within each division ? Or would all the divisions be merged ?
I'll think about that on the way home. Regarding the new configuration option itself, it was really simple to implement in the end, but does that look ok to you ? I know that I'd have to make PRs to ensembl-rest_private as well
Thank you,
Matthieu

This was part of the discussion at the retreat rest session :)
The resource needs for the different endpoints are increasing and differ, the configurations are becoming more complex, and as we discovered with a bug from another team just before Christmas the endpoints can negatively effect each other in some situations. As well, as the data grows we might want to use different technology for different chunks of data or views (ie. tark, mongoose, advanced search, etc). So we have a rough plan to potentially break up the functional groups across different VMS.
As in, you might have a group of VEP rest servers that have a lot of cores, another chunk of compara ones that have lots of memory to deal with the HAL file needs, a group of VMs that do purely sequence lookups. This way we can isolate functional groups and spin up resources as needed for those different divisions. This is all still in the discussion phase as we go through the rest requirements gathering over the next few months.

Good to know, thank you !

So I think this is fine for now. I have rebased the commit and we'll update ensembl-rest-private later

We can work with this, right @lairdm ?

I like, merging. Thanks.

Super, thank you !


{Misc.} Add git pre commit hook for secrets scanning

Related command

Description

This is for integrating azdev scan with git commit to ensure that no more new secrets checked-in to our repo.
Developers need to manually copy this pre-commit file to their local $REPO_ROOT/.git/hooks folder for installation.
Testing Guide

Install

Copy this pre-commit file to local $REPO_ROOT/.git/hooks folder

Test

Update any file within repo with some secrets, eg. storage account key
Run git add . and git commit
There will be warning saying

Detected secrets from ..., You can run 'azdev mask' to remove secrets before commit.
If you want to skip that, run git commit -m 'your comment' --no-verify

And the commit will be blocked

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Misc.

.github folder is meant for GitHub specific files only.


Alarm notifications not received

I want to configure email alarms for Pinpoint, I have followed all steps mentioned here : https://github.com/naver/pinpoint/blob/master/doc/alarm.md
but alarms are not being received.
Environment:
Pinpoint version: 2.0.0-Snapshot. Downloaded latest code from github on 5th December 19 since the latest released version 1.8.5 is missing few Java classes(ex. DefaultAlarmMessageSender.java, MailSender.java) and xml configuration in web component.
OS Version :  CentOS Linux 7 (Core)
Apache-tomcat version: 8.0.30
MySQL version :  5.5.64-MariaDB MariaDB Server
HBase version : 1.4.10
Additional Information : The alarm configuration is being populated into db table - "alarm_rule" and alarm_history table is empty. The cron expression is set to be triggered every 3 minutes for batch job.
There are no errors in logs Please let me know if I need to share any other information.
Any help will be appreciated.

It is recommended that you do some debugging yourself.
When the alarm batch is run, show the full log and I will look at it as well.


Bump govuk_frontend_toolkit to 3.4.1

This is done to not fall too far behind the latest gem version.
The tests all pass, and rake asset:precompile runs successfully as well.

I've pushed this branch to preview, and ran a few manual tests (the homepage and a few different formats) with:

latest Chrome
latest FF
FF 3.6
mobile Safari (iOS8)
IE6
IE8

There weren't any noticeable regressions, so this should be ready to go.


Simplify logic for fixed tile url functions

Replaces #8749 and #8750.

fixedTileUrlFunction is still used in ol/source/WMTS, would it be possible to remove it as well?

@wallw-bits Yes, but fixedTileUrlFunction was never part of the API. Your PR had a more severe breaking change, i.e. when calling setUrl or setUrls on a WMS or ArcGisREST source, it would reconfigure the source with a template url function instead of the fixed one.

@fredj fixedTileUrlFunction logic from ol/source/WMTS removed.


Handle "expired_token" key for Fitbit error

Added code in errors loop to handle "expired_token".

thanks


CLOUDSTACK-8340: Adding test case for stop/start operation for VPC router

Adding basic start/stop VPC router test case as this scenario was absent in repository.
Steps:

Create a VPC network and add a tier to it.
Deploy a VM in the tier
List the VPC router
Stop router and check if the router is in stopped state
Start router and check if the router is in running state

Also fixed few already existing pep8 issues.
Log:
Test stop and start VPC router ... === TestName: test_stop_start_vpc_router | Status : SUCCESS ===
ok

Ran 1 test in 300.464s
OK

It will be easier to focus on the new tests if you keep pep8 issues separate from the intended patch.


AMBARI-24831 - Infra Manager: upgrade spring to 5.1.1

What changes were proposed in this pull request?
Upgrade spring, spring security and spring-boot dependencies.
How was this patch tested?
UTs and ITs passed

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Infra-Github-PR-Builder/14/
Test PASSed.


Localization change

For the proper translation in Russian I need different color names for "mariculture.lamps.format" string.

I'm not sure I understand? It uses the colours from mariculture.pearl.color.white etc

Yes, it so. BUT I need to change ending of colors for mariculture.lamps.format.

Can you give me examples . I am so confused xD.

White Pearl Block -> "Белый жемчужный блок" (In Russian)
White Neon Lamp -> "Белая неоновая лампа" (In Russian)
As you can see color words have different endings: "-ый" for block or brick, "-ая" for lamp.

So, can you do this?

Something I'll keep in mind for the future, but right now... I'd rather just let 1.X pass on. I'll do it when I have a bunch of bugs to fix :P

Ok. Will wait.

The way this will work it will look for a translation for
pearl.color.yellow.lamp
pearl.color.yellow.block
pearl.color.yellow.pearl
pearl.color.yellow.brick
and if it cannot find the relevant translation it will use the default of pearl.color.yellow
So feel free to add these translations. (They won't be in the english lang)

Ok, thanks.

Will just wait on this, then I'll upload the new version.

Few more requests for improving translation:

Pearls seems to be localized like: Color + mariculture.pearl. Can they use unique names? Like "mariculture.pearls.pearlwhite"?
Rings, Bracelets, Necklaces seems to be localized like: "Color" + Pearl + ring/bracelet/necklace. Can you add %s tag to item. name? I need swap item name with color and pearl.
Reopened for some time.

About release... well, can we at least fix all missing names in en_US.lang? There a lot of them.

What ones?

As for the pearls you already have "mariculture.pearl.format" and then you can edit "mariculture.pearl.color.yellow.pearl" etc.

I'll send a PR to fix missing names soon. Can you make something for rings/bracelets/necklaces?

Yes, working on that

I can't fix some of missing names. Better you should do it. I'll make a list for you:

mariculture.upgrade.format (I don't know for what it needed)
mariculture.plans.redstone (should be maritech.plans.redstone)
mariculture.string.water (just water)
mariculture.FishingRod (Wooden fishing rod?)
mariculture.net.net (don't know)
mariculture.RodBlood (should be fixed in .lang file)
mariculture.sands.gas
All corals
mariculture.MobMagnet
mirrors/rings/bracelets/necklaces names

Thanks, I knew there was some I had missed when I messed with everything xD

How to use rings/bracelets/necklaces formats? Provide an example if possible.


Any chance for a Typescript version?

Hey @AviFix, I'm afraid chances are near 0 :-). Well, unless you have very good reasons.


Analyzer doesn't handle mixin inference across opted in/opted out boundaries

The following example relies on mixin type argument inference in the definition of _StepperState.   If both files are opted in, or both opted out, then mixin inference works correctly.  However, if the first file is opted in and the second opted out (as shown below) the analyzer fails to infer the type argument to TickerProviderStateMixin.
opted_in.dart
// @dart = 2.9

abstract class State<T> {}
mixin TickerProviderStateMixin<T> on State<T> {}

opted_out.dart
// @dart = 2.8
// Opted-out library.

import 'opted_in.dart';

class Stepper { }
class _StepperState extends State<Stepper> with TickerProviderStateMixin { }

cc @a14n @scheglov

@scheglov - can you take a look at this?

@leafpetersen Is mixin type arguments inference specified somewhere?
I can reproduce the issue with the following test:
  solo_test_XXX() async {
    newFile('/test/lib/a.dart', content: r'''
// @dart = 2.8
abstract class A<T> {}
mixin M<T> on A<T> {}
''');
    await assertNoErrorsInCode(r'''
import 'a.dart';

class B extends A<int> with M {}
''');
  }

When we want to infer type arguments for M in B, we do subtype matching A<T*>* <# A<int> and A<int> <# A<T*>*. Solving these constraints gives us T = int. But then we do one more check:
    for (int i = 0; i < srcTypes.length; i++) {
      if (substitution.substituteType(srcTypes[i]) != destTypes[i]) {
        // Failed to find an appropriate substitution
        return null;
      }
    }

This check fails because when we apply T = int to on A<T*>* we get A<int*>*, but in the NullSafe library we require A<int>. It seems that equality is a wrong check here, what should we replace it with? Also, do we need it at all (this is why I'd like to see what the specification says about it)?

https://dart-review.googlesource.com/c/sdk/+/153482 should fix the issue for in-order migration, when the mixin is declared in NullSafe library, and the mixin application is in a legacy library.
The out-of-order case requires some spec work, if I understand it correctly.

flutter-analyze-try bot is failing with my CL, and still continues to fail.
But it fails for my other CLs too.
So, I landed my CL, and hope that it does not break anything new.

There is a slightly more complicated case that I think is still broken here:
a.dart
// @dart=2.10
class A<T> {}

mixin B<T> on A<T> {}
mixin C<T> on A<T> {}

b.dart
// @dart=2.8
import 'a.dart';

class D extends A<int> with B<int>, C {}

cc @scheglov

https://dart-review.googlesource.com/c/sdk/+/161322


events not working if m3u8  file dont have end tag ["#EXT-X-ENDLIST"]

HI, I am trying to implement network error handling.
I tried with :
player.listenTo(player, Clappr.Events.PLAYER_ERROR, function() { console.log("ERROR!") });
player.listenTo(player, Clappr.Events.PLAYBACK_ERROR, function() { console.log("playeback ERROR!") });
container.on(Clappr.Events.CONTAINER_ERROR, function() { alert('$$==>CONTAINER_ERROR'); });
but none of this working for me.
I am playing m3u8 file which is dynamically increasing.
In my case end tag is missing in m3u8 file.
So is it possible to get all these event without closing tag in m3u8 file?
Can you please help me out in this.....

@siddhesharolkar can you explain what kind of errors are you expecting to catch from PLAYER_ERROR ? What steps you followed to raise a error?

Hi leandromoreira,
Thanks for quick response.
I have downloaded clappr.js version - 0.2.56.
I have created sample HTML file :
play.txt
When i run this file i am able to get only "Inside PLAYER_PLAY event!" in console.
I have tried by putting invalid file source, still no error handled like 404.
I tried with editing .m3u8 file with invalid path for .ts files

@siddhesharolkar for some of the errors we'll try to recover (for instance 404) there is an open issue about this problem.
Abou the events you can:
// listen to player events within the player component

//via constructor (more reliable for once time event)
var player = new Clappr.Player({
  source: 'http://clappr.io/highline.mp4',
  baseUrl: '/latest',
  poster: 'http://clappr.io/poster.png',
  mute: true,
  height: 360,
  width: 640,
events: {
      onReady: () => console.log('ready'),
//      onResize: Events.PLAYER_RESIZE,
 //     onPlay: Events.PLAYER_PLAY,
  //    onPause: Events.PLAYER_PAUSE,
  //    onStop: Events.PLAYER_STOP,
  //    onEnded: Events.PLAYER_ENDED,
   //   onSeek: Events.PLAYER_SEEK,
   //   onError: Events.PLAYER_ERROR,
 //     onTimeUpdate: Events.PLAYER_TIMEUPDATE,
   //   onVolumeUpdate: Events.PLAYER_VOLUMEUPDATE
    }
});

//pos constructor
player.on(Clappr.Events.PLAYER_ENDED, () => console.log(''))
// listen to player events within the container component
var container = player.core.getCurrentContainer()
container.on(Clappr.Events.CONTAINER_ENDED, () => console.log(''))
// listen to player events within the playback component
var playback = container.playback
playback.on(Clappr.Events.PLAYBACK_ENDED, () => console.log(''))

Hi Leandro,
Thanks for your help. I am able to add temporary solution for this issue.
I really appreciate for your valuable help. Thanks once again.


Fix consensus::State *Ord impls

Right now there's an Ord impl on consensus::State which I think needs to be rewritten to better match the Tendermint consensus spec:
impl Ord for State {
    fn cmp(&self, other: &State) -> Ordering {
        if self.height < other.height {
            Ordering::Less
        } else if self.height == other.height {
            if self.round < other.round {
                Ordering::Less
            } else if self.round == other.round {
                self.step.cmp(&other.step)
            } else {
                Ordering::Greater
            }
        } else {
            Ordering::Greater
        }
    }
}

First, I think this should be changed to PartialOrd, and consensus::State shouldn't have or derive Ord. Namely there are some cases (particularly with the handling of <nil> block IDs) where the state comparison is invalid, and these are the specific cases we want to handle for double signing. Being able to allow a partial ordering while recognizing some comparisons are invalid is precisely why PartialOrd exists.
The current consensus::State has a block_id: Option<block::Id> field which I think should be changed to just block_id: block::Id. Namely, the block::Id type is already able to capture the case of the hash being <nil> in that the block hash can be Hash::Null. By leveraging this variant, it should be able to add the BlockID.IsZero() and BlockID.IsComplete() functions to tendermint-rs's block::Id type, and with those implement a PartialOrd that faithfully reflects the spec.

Pretty strongly agree with this approach but didn't have time to get around to it this weekend.


Fixes loading text issue

Fixes #1064
Description

Issue: loading..." string that gets visible sometimes

There was an issue with the setLoading state in the DynamicBanner.jsx component where it was not being set to false if the coverImage was not found. However, upon further investigation, i found that there is no need for the loading state in the DynamicBanner.jsx component. This is because the component receives a prop called randomPlay from its parent component PlayList.jsx, which contains the necessary data to load the coverImage.

In the parent component, a <Loader/> component is shown until the data has arrived. This loader is shared between both child components. Once the data has arrived, the state (randomPlay) is updated, and the DynamicBanner randomPlay={randomPlay}/> component is rendered.

If the image (cover) is not present, we import the image (randomPlay.slug) from the fs. If there is a concern that this may take some delay, we can add a <Loader/> component instead of
loading...
. However, i believe that this is not necessary because the image is bound to exist, and importing a single image should be swift and may not require a <Loader/>. However, if it is necessary, we must also have a <Loader/> for each <PlayThumbnail/> component.

Type of change

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
I have tested this in my local machine and it has fixed the required issue.
Checklist:

[x] I have performed a self-review of my own code

Screenshots or example output

Original size 20 mb, compressed using cildeo now 2mb.
https://user-images.githubusercontent.com/62259994/235495784-b435916c-2a98-4796-a62a-a9fddd10450a.mp4

Hello! I would like to contribute to this issue. Could you please confirm if this issue is still ongoing?

OK

Hey @mahabub-bd ,
Any update on my PR?

OK

Hey @mahabub-bd ,
Any update on my PR?

Yes will check soon

OK

Hey @mahabub-bd ,
Any update on my PR?

Yes will check soon
Hey @atapas,
Any update ?

Looks Good to me.


Make ClientConf parameters optional.

We should allow users to configure these parameters in ClientConf.

1

A case that will cause exception: one process create mutiple instances of LogProxyClient in one second, for now these client instances will contain the same ClientId, which is not allowed in oblogproxy and only one instance can connect successfully.
I found this when testing the tutorial of Flink CDC connector, an etl job will always create mutiple instances of LogProxyClient. I temporarily fixed it by set different values to ClientId but it didn't solve the root problem.
https://github.com/whhe/flink-cdc-connectors/blob/80f178f6b2cd9f5566454aadf838e55f47cd8784/flink-connector-oceanbase-cdc/src/main/java/com/ververica/cdc/connectors/oceanbase/source/OceanBaseRichSourceFunction.java#L292
Maybe this issue should be fixed sooner.


Add import react and React hooks

Add
Import react,{useState,useEffect,useContext} and also UseReducer and useMemo . I created a vscode extension inspired by your snippets.
Have a look at my snippets extension .

Your pull request has been merged, I'll update the extension as well shortly


Add SETI-Contracts from Kerbal Stuff

This pull request was automatically generated by Kerbal Stuff on behalf of Yemo, to add SETI-Contracts to CKAN.
Please direct questions about this pull request to Yemo.

Are these the same, or a continuation of, https://github.com/KSP-CKAN/NetKAN/blob/master/NetKAN/ContractConfigurator-InitialContracts.netkan ?

Hey, this is an entirely new entry, seperate from the InitialContracts!
I m not sure how to edit an existing pull request by the bot, but could you please add this mod under SETI-Contracts.netkan (instead of SETIContracts.netkan) to be in line with the SETI-Greenhouse?
This config should work:
{
"spec_version" : 1,
"$kref": "#/ckan/kerbalstuff/742",
"$vref" : "#/ckan/ksp-avc",
"identifier": "SETI-Contracts",
"x_netkan_license_ok" : true,
"depends"	: [ { "name" : "ContractConfigurator" }, { "name" : "ModuleManager" } ],
"install" : [ { "file" : "SETIcontracts",
"install_to" : "GameData" } ]
}
Thank you very much!

I usually just open a new PR, have no idea how to edit already existing ones either :p


Automatically infer cloud from node info

Instead of manually providing a cloud type with --cloud, we should automatically infer this from the cluster itself.

Can be done with https://github.com/tetrateio/xcp/blob/master/xcpd/pkg/provider/provider.go (internal tetrate)

closed by #25


Scroll the view horizontally with the scroll wheel when holding down shift

Maybe ctrl would be better? I don't get any input at all from shift-scrolling on the terminal I'm using, alt-scrolling does the same thing as scrolling with no modifiers held, but ctrl-scrolling does something different and looks useful.
You can see what input looks like in your terminal by hitting ctrl-e and then hitting keys / using the mouse.
On a side note, scrolling horizontally on my laptop's touchpad moves the cursor left or right, I wonder if it should scroll the view sideways instead?

Maybe ctrl would be better? I don't get any input at all from shift-scrolling on the terminal I'm using, alt-scrolling does the same thing as scrolling with no modifiers held, but ctrl-scrolling does something different and looks useful.

I’m thinking more about how browsers and text editors work.

Sure, just noting shift-scroll and alt-scroll don't seem to work on this particular terminal (Debian running under WSL; conhost.exe I guess). Not sure if support is better on other terminals.


fix: updated deps

:tada: This PR is included in version 1.2.5 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix CubeMove for rotated cubes

Resolves #4. Not bullet-proof because the rounding in get_rounded_center() can still cause issues, but it seems to work in practice.
A more robust fix would be to find the nearest neighbor of each of the new cube positions and match the old and new positions this way.

Rather than changing the axis of rotation, my eventual plan was to change from indexing based on rounded locations to using some index independent of world space. It's been a while since I've thought about it, so I can't remember my exact idea. Perhaps it was similar to what you proposed here:

A more robust fix would be to find the nearest neighbor of each of the new cube positions and match the old and new positions this way.

Would you like to try implementing this? If so, the goal of all code in this plugin (and yes, I know this hasn't been accomplished in practice as much as I'd like) is to be computationally efficient so that very large n-dimensional cubes aren't overly slow to work with.


Question about mdm_model.py

I am a newer of tensorflow. I got a problem on tf.image.extract_patches in mdm_model.py , and I can't found this function in my tensorflow1.10.0. Could you tell me what version of tensorflow you used in this Engineer and what is the function of this function.

hello,did you solve the problem? I have the same problem like you.
Could you tell me the version of the tensorflow?
Thank you.

sorry, I don't solve this problem, and my tensorflow version is 1.7. I used another face alignment method instead which is PRnet


Remove Component suffix from AutoComplete + directory organization

This PR removes the Component suffix from AutoComplete and AutoCompleteItem.
It also changes the file structure for this component:
auto_complete.rb
auto_complete/
├── auto_complete.html.erb
├── auto_complete.d.ts
├── auto_complete.js
├── auto_complete.ts
└── item.rb

This directory structure makes the project more organized and easier to navigate imo.
I'd really like to move the .rb file inside the folder, but I'm not sure how to do it without adding a new suffix since zeitwerk will expect the class to be Primer::AutoComplete::FileName. In the future we could also move preview and stories to be in the same folder!

thanks for the review @BlakeWilliams
you have any ideas how I could put the .rb file inside the directory without having the class be Primer::AutoComplete::AutoComplete? 😬

We chatted a bit in Slack, but I think https://github.com/fxn/zeitwerk#collapsing-directories might help here?
That might be more effort to maintain though.


Fix pvc alerts rhods 1.2 and 1.3

Includes all commits in #137
Uses the new Is RHODS Version Greater Or Equal Than to fix the PVC alarms for RHODS 1.2.0 and 1.3.0 simultaneously
Fixes dependency: robotframework-OpenShiftCLI==1.0.0
Adds prefix RequestsLibrary.GET to avoid future conflicts with this keyword

It's being tested right now:

RHODS 1.2: https://opendatascience-jenkins-csb-rhods.apps.ocp-c1.prod.psi.redhat.com/job/rhods-ci-pr-test/227/

Please rebase as the original PR is squashed and merged


Error Undefined symbol: _onUnityMessage

I get the following error when running. Can anyone help?
I run on ios.

Undefined symbols for architecture arm64:
"_onUnityMessage", referenced from:
_UnityMessageManager_onUnityMessage_m7B4D8327A829C74225344901D44A0287E49F65D5 in Assembly-CSharp.o
(maybe you meant: _UnityMessageManager_onUnityMessage_m7B4D8327A829C74225344901D44A0287E49F65D5)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

How did you solve it?


Add default platform versions

Fixes #38554.

Internal previews

📄 File
🔗 Preview link

docs/standard/frameworks.md
Target frameworks in SDK-style projects

This makes sense, although I can't vouch for the correctness of the suggested TPV -- so I take those on face value :-)


[BUG] Line chart xAxes Time scale extends past min value

Expected Behavior

The chart should cut off the line when data is below the defined min datetime.
Current Behavior

When using a line chart with xAxes time scale, the line is extending past the x origin.

Steps to Reproduce (for bugs)

The issue can be seen at this pen: http://codepen.io/anon/pen/KaaLLx

Environment

Chart.js version: latest
Browser name and version: Tested in IE11,Chrome,FF
Link to your project: NA

Was done in #3658 and will be released in v2.5
Closing as duplicate of #2873

Awesome, thanks etimberg,


Apps menu

Apps menu after the user already create a space. Including for personal and the business or organization.

Shortener URL
Link in bio

Start design the concept


where is postgres data for Retail business intelligence application?

I am trying to follow the Retail business intelligence application. I have the COS data in the sql file, but I cannot see the postgres data. Where should I look for it?

Hi @aplusshkim
We have updated the steps in the README file for this retail business use case. Please review the steps again and let us know if you encounter any challenges.
https://github.com/IBM/dsce-sample-apps/blob/main/retail-business-intelligence/readme.md
https://github.com/IBM/dsce-sample-apps/pull/71


Remove this is the description

It was funny to leave that in way back when, but change it now so it doesn't look as 💩

Fixed with 18f9425a47e2217ec40983b803998be2127e944e


added myself

You seem to have edited somebody else's details too, please add a commit to this pull request undoing that.


How do you monitor multiple collections?

In the description you say it's possible, but the .env file only has 1 collection as string?

@teebu the .env specifies the collection for doing client side searching.
Actually monitoring collections is specified in ‘references.ts’


[BSO] Make Kalphite King soloable if you have the full Gorajan Torva set

🚀 Feature Proposal
What the title says. This would give an option for those who don't like massing to solo it and this gives even more demand for the Gorajan set. The kills/hr should be considerably slower than massing.

I would prefer to have kk be soloable at a certain kc milestone instead and the gorajan armour have more dg boosts. Also add a dungeoneering level requirement to make the gorajan armour like how the new necklaces require 99 to make.


If you open the tooltip and the scroll the window, the tooltip doesn't hide

Try to open a tooltip and the scroll the window (solid or float). The tooltip stay and doesn't disappear
http://wwayne.com/react-tooltip/

It's pretty easy to handle this bug but i think is not a good behaviour.
anyway this solves the problem:
componentDidMount: function() {
    window.addEventListener("scroll", this.hideTooltip);
  },

  componentWillUnmount: function() {
    window.removeEventListener("scroll", this.hideTooltip);
  },

  hideTooltip: function() {
    ReactTooltip.hide();
  }

@scerelli
Thanks, just added scroll event listener when tooltip show and remove the listener after tooltip hide.
Sometimes the hide action is triggered late, I think it may have something to do with the mechanism of the browser's scroll(or maybe just because my computer is slow...), anyway, I think it's ok

I think the solution should not close the issue. It looks like a workaround that "fixes" a problem with eventOff="blur scroll"

The tooltip can be configured to hide or not on scroll. Take a look at the example page for Scrolling.

I had a problem similar to this, but after further debugging, project that I was working had no window scroll, only element scroll. so none of the solutions above worked.
I managed to fix? it by adding 'onScroll' event on the element that was scrolling
example:
`  public hideUpdateTooltip = () => {
Tooltip.hide()
}
<div onScroll={this.hideUpdateTooltip}>
//some codes...

`

To use with react-windowed-list
import WindowedList from 'react-windowed-list';
import ReactTooltip from 'react-tooltip';
import { useThrottledFn } from 'beautiful-react-hooks';

  const tooltipRefresh = useThrottledFn(
    () => {
      ReactTooltip.hide();
      ReactTooltip.rebuild();
    },
    500,
    null,
    [],
  );
  const renderItem = useCallback(index => {
    tooltipRefresh();
    return <>
...

<ReactTooltip />
<WindowedList


rtcp-fb inconsistent

trr-int is currently labelled as a push attribute, meaning it can be more than one per media stream, but this seems unlikely from reading rfc4585.
also, trr-int basically pass the normal rtcp-fb regex, maybe just join them?

rtcpFb is defined as a single object in the type definitions. This causes a crash as the writer code tries to iterate over it because it is labelled as push.
Could you either turn the 'push' to 'name' as the original issue suggests, or change the type definition to an array.


[SCTP] Optimize sctp packet marshalling

As discussed in #360 the marshalling code has become a bottle neck in high bandwidth sending situations. I found two places that had a big effect on the performance, the hot path for this situation is marshalling packets with exactly one data chunk in them.
After this PR the marshalling is largely dominated by the CRC32 calculation which is... not easy to speed up.

Just an FYI, I implemented a faster crc32 algorithm on the merged branch in my repo just as an PoC that make the crc calucations basically disappear in the profile and increases throughput even more. I'll try to port this to the crc crate to benefit the whole ecosystem. If they don't want it I'll make an PR to at least let this crate benefit :)


TC 2

Refer to this link for test case specifications. Attach a recording of the execution to this ticket. Report immediately if issues are encountered in the dev environment. Thanks!

Link to video recording:
https://drive.google.com/file/d/1dWXSVgFHH5jUCCjLipQpwXQs669CD_qe/view?usp=sharing


USB events thread - failed to set priority ... Number devices connected: 2

Hello, I got a problem when I tried to
roslaunch openni_launch openni.launch
with kinect v1 on my ubuntu16.04
#-------------------------------------------------------------------
The main problem is
Warning: USB events thread - failed to set priority. This might cause loss of data...
[ INFO] [1532144223.689084031]:  **Number devices connected: 2**
[ INFO] [1532144223.789816257]:  ** 1. device on bus 002:08 is a SensorKinect (2ae) from PrimeSense (45e) with serial id '0' **
[ INFO] [1532144223.789871737]:  ** 2. device on bus 002:08 is a SensorV2 (2ae) from PrimeSense (45e) with serial id 'A00366902406104A' **
[ INFO] [1532144223.790564154]: Searching for device with index = 2
[ INFO] [1532144223.826063687]: Opened 'SensorV2' on bus 2:8 with serial number 'A00366902406104A'
[ INFO] [1532144223.853133835]: rgb_frame_id = 'camera_rgb_optical_frame'
[ INFO] [1532144223.854356984]: depth_frame_id = 'camera_depth_optical_frame'
[ WARN] [1532144223.861493275]: Camera calibration file /home/neo/.ros/camera_info/rgb_A00366902406104A.yaml not found.
[ WARN] [1532144223.861670175]: Using default parameters for RGB camera calibration.
[ WARN] [1532144223.861811460]: Camera calibration file /home/neo/.ros/camera_info/depth_A00366902406104A.yaml not found.
[ WARN] [1532144223.861931850]: Using default parameters for IR camera calibration.
It showed the computer connected to two kinects. But I only had one kinect connected.
#------------------------------------------------------------------------------------------------------------------------
I Have asked on ROS ANSWER, here, but I get no reply.
#-----------------------------------------------------------------------------------------------------------------------
So I have to ask help from here.
I hope someone would help me with the issue. Thank you so much.

After a lot of struggle, I finally found an answer which solved the issue. Hope it helps you too.
In "SensorKinect/Platform/Linux/Redist/Sensor-Bin-Linux-x64-v<IP_ADDRESS>"
Uninstall the driver -  sudo ./install.sh -u
https://github.com/ros-drivers/openni_camera/issues/54#issuecomment-316579511

Thanks a lot @srisadhan for this solution.
After uninstalling the driver, openni_launch file started working.


add d47 SD for individual analyses before and after cycle removal to the 'analyses' table

Per discussion on Slack, this will help us understand long term trends in internal SD and see how cycle removal is changing values. This could replace the Nu SE that you recently added to the analyses table.

Added!


Should the docker image have bazel 0.12.0?

Title: Should the docker image have bazel 0.12.0?
Description:
I think the version of bazel in the docker image is stuck at 0.10.0, whereas locally I'm running 0.12.0. Do we intentionally pin the version at 0.10.0 somewhere? Or are we intending to keep the bazel version inside the image at the latest? We might need to rebuild the image.
I think this might account for a bit of testing weirdness I'm seeing locally where https://github.com/envoyproxy/envoy/commit/2d744738c8ba57c189ac5444b3e48f45c442c8ee extracts a bit of :logging_lib into :minimal_logging_lib in a way that breaks on local bazel.coverage runs but not on circleci.com.
jbuckland@ ~/gh/envoy
$ bazel version
Extracting Bazel installation...
 ...........
Build label: 0.12.0
Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Tue Aug 4 01:22:27 +50246<PHONE_NUMBER>747)
Build timestamp:<PHONE_NUMBER>747
Build timestamp as int:<PHONE_NUMBER>747

jbuckland@ ~/gh/envoy
$ ./ci/run_envoy_docker.sh 'bazel version'
.
Build label: 0.10.0
Build target: bazel-out/k8-fastbuild/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Thu Nov 9 04:43:10 +50056<PHONE_NUMBER>590)
Build timestamp:<PHONE_NUMBER>590
Build timestamp as int:<PHONE_NUMBER>590

I think this is because we haven't rebuilt the base image in a while, and we don't automagically bump when the Bazel latest changes. We should just do a force rebuild on CI and bump the CircleCI SHA.

Note that https://github.com/envoyproxy/envoy/issues/3177 will need to be fixed before we can build a new build imagine. Can you potentially look into that?

This is fixed.


Nothing Happened, must have missed something obvious?

Fedora 32, Firefox 79.  Using Dark Reader.  Flash picture taken when opening new tabs, as examples, google search
page and gmail.  Gave me a migraine also. No answer on the community forums asking for help with this.  (I had
heard that they had fixed this.)
What I would not give for a dark theme that did not give me headaches .. Of course this has been an issue for at least a decade with Firefox and Chrome.
I went to the installer,  and ran it in user space:

./shadowfox_linux_x64
Which Firefox profile ->  at8kpy8o.default  [OK]
What do you want to do? -> Install/Update [OK]
Would you like to auto-gen UUIDs  [Yes]
Would you like to auto set FF dark theme [No] (it is already on)
Shadowfox has been succesfully installed [OK]

Then I closed Firefox, and double checked by runnig ps.  It was not running.
Now I restart Firefox, and open gmail FLASH I get my picture taken. I disable Dark
Reader and restart, no dark mode, so I turn it back on.  It does not show me a dark
mode unless I enable Dark Reader.  It still does a flashbulb picture when I open gmail
(and many other pages).  There is are no new extentions or themes listed.
I probably am missing something obvious?

Shadowfox doesn't work at all until you enable this setting in about:config
toolkit.legacyUserProfileCustomizations.stylesheets = true
the installer should probably set this

This is a bug in the documentation, the information is not in the README but it is in the wiki for the main Shadow Fox repo.
https://github.com/overdodactyl/ShadowFox/wiki/Installation
It could perhaps be brought up to the main README under the "installation" header.

This is a bug in the documentation, the information is not in the README but it is in the wiki for the main Shadow Fox repo.
https://github.com/overdodactyl/ShadowFox/wiki/Installation
It could perhaps be brought up to the main README under the "installation" header.


Local wheel dependency fails on non-windows environments, WSL, Heroku

Expected result
Pipenv is able to install local wheel dependency and add to pipfile.
This pipfile can be used to install dependencies on other machines other machines.
Actual result
The generated pipfile works locally, but fails on other machines (eg linux)
Install fails with parse error
Invalid requirement, parse error at "'.\\vendor"

Steps to replicate

Install package from a local wheel
Eg. pipenv install vendor/stargate -0.14.2-py3-none-any.whl

A Pipfile is _automatically created:
# pipfile
stargate = {path = ".\\vendor\\stargate-0.14.2-py3-none-any.whl"}

(other packages omitted)
Everything runs fine locally, and the dependency is installed properly on new enviroments.
Running pipenv install on non-windows machines fails.
Traceback from running on WSL and Heroku below.
Notes
Local Pipenv: 2018.05.18
WSL: Pipenv: 2018.05.18
Heroku Pipenv: 11.8.2
Maybe it is a windows path issue, and the way the path is added on windows?
And Posix machines trip up when the read the requirement
Full tracebacks below:
WSL
gtalarico@GUI-STUDIO:~/dev/repos/genome$ pipenv install --dev
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
 341, in <listcomp>
    c for c in req.parse_requirements(t, session=pip_requests)
  File "/home/gtalarico/.pyenv/versions/3.6.5/lib/python3.6/site-packages/pipenv/vendor/pip9/req/req_file.py", line 93, in parse_requirements
    for req in req_iter:
  File "/home/gtalarico/.pyenv/versions/3.6.5/lib/python3.6/site-packages/pipenv/vendor/pip9/req/req_file.py", line 158, in process_line
    isolated=isolated, options=req_options, wheel_cache=wheel_cache
  File "/home/gtalarico/.pyenv/versions/3.6.5/lib/python3.6/site-packages/pipenv/vendor/pip9/req/req_install.py", line 235, in from_line
    wheel_cache=wheel_cache, constraint=constraint)
  File "/home/gtalarico/.pyenv/versions/3.6.5/lib/python3.6/site-packages/pipenv/vendor/pip9/req/req_install.py", line 91, in __init__
    "Invalid requirement: '%s'\n%s" % (req, add_msg))
pip9.exceptions.InstallationError: Invalid requirement: '.\vendor\stargate==0.14.2'
Traceback (most recent call last):
  File "/home/gtalarico/.pyenv/versions/3.6.5/lib/python3.6/site-packages/pipenv/vendor/pip9/_vendor/packaging/requirements.py", line 92, in __init__
    req = REQUIREMENT.parseString(requirement_string)
  File "/home/gtalarico/.pyenv/versions/3.6.5/lib/python3.6/site-packages/pipenv/vendor/pip9/_vendor/pyparsing.py", line 1617, in parseString
    raise exc
  File "/home/gtalarico/.pyenv/versions/3.6.5/lib/python3.6/site-packages/pipenv/vendor/pip9/_vendor/pyparsing.py", line 1607, in parseString
    loc, tokens = self._parse( instring, 0 )
  File "/home/gtalarico/.pyenv/versions/3.6.5/lib/python3.6/site-packages/pipenv/vendor/pip9/_vendor/pyparsing.py", line 1379, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "/home/gtalarico/.pyenv/versions/3.6.5/lib/python3.6/site-packages/pipenv/vendor/pip9/_vendor/pyparsing.py", line 3376, in parseImpl
    loc, exprtokens = e._parse( instring, loc, doActions )
  File "/home/gtalarico/.pyenv/versions/3.6.5/lib/python3.6/site-packages/pipenv/vendor/pip9/_vendor/pyparsing.py", line 1379, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "/home/gtalarico/.pyenv/versions/3.6.5/lib/python3.6/site-packages/pipenv/vendor/pip9/_vendor/pyparsing.py", line 3698, in parseImpl
    return self.expr._parse( instring, loc, doActions, callPreParse=False )
  File "/home/gtalarico/.pyenv/versions/3.6.5/lib/python3.6/site-packages/pipenv/vendor/pip9/_vendor/pyparsing.py", line 1379, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "/home/gtalarico/.pyenv/versions/3.6.5/lib/python3.6/site-packages/pipenv/vendor/pip9/_vendor/pyparsing.py", line 3359, in parseImpl
    loc, resultlist = self.exprs[0]._parse( instring, loc, doActions, callPreParse=False )
  File "/home/gtalarico/.pyenv/versions/3.6.5/lib/python3.6/site-packages/pipenv/vendor/pip9/_vendor/pyparsing.py", line 1383, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "/home/gtalarico/.pyenv/versions/3.6.5/lib/python3.6/site-packages/pipenv/vendor/pip9/_vendor/pyparsing.py", line 2670, in parseImpl
    raise ParseException(instring, loc, self.errmsg, self)
pip9._vendor.pyparsing.ParseException: Expected W:(abcd...) (at char 0), (line:1, col:1)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/gtalarico/.pyenv/versions/3.6.5/lib/python3.6/site-packages/pipenv/vendor/pip9/req/req_install.py", line 82, in __init__
    req = Requirement(req)
  File "/home/gtalarico/.pyenv/versions/3.6.5/lib/python3.6/site-packages/pipenv/vendor/pip9/_vendor/packaging/requirements.py", line 96, in __init__
    requirement_string[e.loc:e.loc + 8]))
pip9._vendor.packaging.requirements.InvalidRequirement: Invalid requirement, parse error at "'.\\vendor'"
gtalarico@GUI-STUDIO:~/dev/repos/genome$

Heroku TB
remote: -----> Installing dependencies with Pipenv 11.8.2…
remote:        Installing dependencies from Pipfile.lock (58b73d)…
remote:        WARNING: Invalid requirement, parse error at "'.\\vendor'"
remote:        ABORTING INSTALL... You will have to reinstall any packages that failed to install.
remote:        You may have to manually run pipenv lock when you are finished.

@gtalarico it backslashes it locally on windows? that's really silly.  that will never work on linux, we should fix


displayName is not set for the component of "@yamada-ui/breadcrumb"

script: component-display-name
package: @yamada-ui/breadcrumb
Description
The component "@yamada-ui/breadcrumb" uses forwardRef, but displayName is not set, making it difficult to see the display in React Developer Tools.
Additional Information
Set displayName and __ui__ after each component definition.
For example, like this.
const Component = forwardRef((props, ref) => {
  ...
})

Component.displayName = 'Component'
Component.__ui__ = 'Component'

Replace 'component' with the name of the component. For example, for a Select component, it is 'Select'.
__ui__ is an identifier required for internal use by Yamada UI. Be sure to set it together with displayName.

I'll try it


List does not contain a definition for Changed

List<string> names = new List<string>();
names.Changed += new EventHandler(ListChanged);
List<T> does not contain a definition for Changed.

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

ID: 8181f41d-b6ce-ad66-084e-8d2b514b87e2
Version Independent ID: 494c4344-b752-4f86-5b66-1ef4b81c1e75
Content: Classes and Objects in C# - A tour of the C# Language
Content Source: docs/csharp/tour-of-csharp/classes-and-objects.md
Product: dotnet-csharp
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

@solaomosola it's not the perfect naming. The List class used is not the standard .NET class, but the one defined earlier in the topic:
https://docs.microsoft.com/en-us/dotnet/csharp/tour-of-csharp/classes-and-objects#other-function-members

Okay, I understand now. That should be changed or a little note added to explain that. Thank you.

Agreed. I think we should actually change the name of the class to MyList or something else. We shouldn't use an extremely common class name like List.

@BillWagner I know you're out this week but I'm assigning this to you. I "triaged" it the best I could so feel free to adjust anything and everything when you get back.


Euro12 Data is missing.

The data for Euro 12 is not there within the Filtering and Sorting Exercise

Thanks, it was updated.


Derive tester/testee based on block hash behind checkpoints

Nodes on different forks will derive different tester/testee pairs if we use the latest block hash. If these nodes test one another, this could result in test being recorded as failed, which would be incorrect.

Test heights are now derived as block_height_ - TEST_BLOCKS_BUFFER (the latter == 4), and although that often isn't before a checkpoint, it still causes problems because we select random indices into the current SN list: this ends up causing an ocassional "we are NOT the testee" warning, presumably because of new registrations/decommissions/activations resulting in different selection lists between tester and testee.


ninja: error: unknown target 'libWebRTC_objc'

getting this during dance

can you attach the build output? not sure where it is failing

now I see below error for all architectures
________ running 'download_from_google_storage --no_resume --platform=darwin --no_auth --bucket chromium-luci -d src/tools/luci-go/mac64' in '/Users/divyam/pristineio/webrtc-build-scripts/ios/webrtc/src/chromium'
Error: Command 'download_from_google_storage --no_resume --platform=darwin --no_auth --bucket chromium-luci -d src/tools/luci-go/mac64' returned non-zero exit status 1 in /Users/divyam/pristineio/webrtc-build-scripts/ios/webrtc/src/chromium
/Users/divyam/pristineio/webrtc-build-scripts/ios/depot_tools/external_bin/gsutil/gsutil_4.7/gsutil/third_party/boto/boto/pyami/config.py:72: UserWarning: Unable to load AWS_CREDENTIAL_FILE ()
warnings.warn('Unable to load AWS_CREDENTIAL_FILE (%s)' % full_path)
Copying gs://chromium-luci/e3a5852f682eeb31cef1c887c2a84777d7fae53d...
OSError: Permission denied.
0> Downloading src/tools/luci-go/mac64/isolate...
0> /Users/divyam/pristineio/webrtc-build-scripts/ios/depot_tools/external_bin/gsutil/gsutil_4.7/gsutil/third_party/boto/boto/pyami/config.py:72: UserWarning: Unable to load AWS_CREDENTIAL_FILE ()
warnings.warn('Unable to load AWS_CREDENTIAL_FILE (%s)' % full_path)
Copying gs://chromium-luci/e3a5852f682eeb31cef1c887c2a84777d7fae53d...
OSError: Permission denied.
Error: Command '/usr/bin/python -u src/sync_chromium.py --target-revision f8d6ba9efdddfb3aa0dfc01cd579f500a2de0b8d' returned non-zero exit status 2 in /Users/divyam/pristineio/webrtc-build-scripts/ios/webrtc
Hook '/usr/bin/python -u src/sync_chromium.py --target-revision f8d6ba9efdddfb3aa0dfc01cd579f500a2de0b8d' took 15.59 secs
Running ninja
ninja: Entering directory `out_ios_arm64_v8a/Release-iphoneos/'
ninja: fatal: chdir to 'out_ios_arm64_v8a/Release-iphoneos/' - No such file or directory
Running libtool
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/divyam/pristineio/webrtc-build-scripts/ios/webrtc/src/out_ios_arm64_v8a/Release-iphoneos/*.a (No such file or directory)
Running strip
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: can't open file: /Users/divyam/pristineio/webrtc-build-scripts/ios/webrtc/libjingle_peerconnection_builds/libWebRTC-9716-ios-arm64_v8a-Release.a (No such file or directory)
.gclient file in parent directory /Users/divyam/pristineio/webrtc-build-scripts/ios/webrtc might not be the file you want to use

It seem to be some permission error. I recommend you completely remove your current directory of WebRTC, update the scripts and try again.

it's same as https://groups.google.com/forum/#!topic/discuss-webrtc/PZZsXDXBpNM
it might not be at my end, anyways will clean and retry

That's a very old issue, I'll be surprised if it is still relevant

I'm getting the same error although I think I have a slightly different log. Completely removing the WebRTC directory and running dance again did not help.
This is what I get when running build_apprtc.
_______ running '/usr/bin/python -c import os,sys;script = os.path.join("trunk","check_root_dir.py");_ = os.system("%s %s" % (sys.executable,script)) if os.path.exists(script) else 0' in '/Users/hanet/Documents/WebRTC/webrtc-build-scripts/ios/webrtc'
________ running '/usr/bin/python -u src/sync_chromium.py --target-revision f8d6ba9efdddfb3aa0dfc01cd579f500a2de0b8d' in '/Users/hanet/Documents/WebRTC/webrtc-build-scripts/ios/webrtc'
Chromium already up to date:  f8d6ba9efdddfb3aa0dfc01cd579f500a2de0b8d
________ running '/usr/bin/python src/setup_links.py' in '/Users/hanet/Documents/WebRTC/webrtc-build-scripts/ios/webrtc'
________ running '/usr/bin/python src/third_party/instrumented_libraries/scripts/download_binaries.py' in '/Users/hanet/Documents/WebRTC/webrtc-build-scripts/ios/webrtc'
________ running 'download_from_google_storage --directory --recursive --num_threads=10 --no_auth --bucket chromium-webrtc-resources src/resources' in '/Users/hanet/Documents/WebRTC/webrtc-build-scripts/ios/webrtc'
________ running '/usr/bin/python src/webrtc/build/gyp_webrtc -Dextra_gyp_flag=0' in '/Users/hanet/Documents/WebRTC/webrtc-build-scripts/ios/webrtc'
Updating projects from gyp files...
Hook '/usr/bin/python src/webrtc/build/gyp_webrtc -Dextra_gyp_flag=0' took 17.57 secs
Running ninja
ninja: Entering directory `out_ios_armeabi_v7a/Debug-iphoneos/'
ninja: error: unknown target 'libWebRTC_objc'
Running libtool
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/hanet/Documents/WebRTC/webrtc-build-scripts/ios/webrtc/src/out_ios_armeabi_v7a/Debug-iphoneos/*.a (No such file or directory)

@mark-jimenez-outsourced can you try using the 2 step instructions (calling get_webrtc and build_webrtc)?

That doesn't work either.
Can you try a clean build and see if it works for you ?

Ditto with @divyamML , get_webrtc and build_webrtc doesn't work either. I'm on OSX 10.10.4 if that helps.

Can you let me know what are the reproduction steps? It's working for me

start a fresh new checkout and you will see the error when you'd try to build
if you use an existing (working) checkout then probably because of no absolute clean you don't see it

Any update on how to fix this? I am too getting this error.

I got this error today!

same here

https://github.com/pristineio/webrtc-build-scripts/blob/06c047a01f835c09618172cb823a9a01e4b31d37/ios/insert_two_lines_after_text.py#L7
The string FIND can not be found in $WEBRTC/src/webrtc/webrtc_examples.gyp
See pull requests for detail.

Again with revision 11025. I found the following lines in webrtc_examples.gyp:
['OS=="ios" or (OS=="mac" and target_arch!="ia32")', {
'targets': [
{
'target_name': 'apprtc_common',
'type': 'static_library',
'dependencies': [
'<(webrtc_root)/system_wrappers/system_wrappers.gyp:field_trial_default',
'../talk/libjingle.gyp:libjingle_peerconnection_objc',
],
That looks like the strings in FIND except for the target_name. Does that mean the file 'insert_two_lines_after_text.py' is not required anymore?

same error here, anyone can help on this issue.
thanks


fix: Update release.yml

Description

Release required?

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

Release notes content

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

Checklist for reviewers

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

For mergers

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

/run pipeline

:tada: This PR is included in version 1.0.14 :tada:
The release is available on:

GitHub release
v1.0.14

Your semantic-release bot :package::rocket:


Where could i found the model_best.pth.tar？

Thank you very much for your perfect work.
When I would like test your code, I could not find the model_best.pth.tar. Could you please provide the model for testing.
Thanks.

Thank you very much for your perfect work.
When I would like test your code, I could not find the model_best.pth.tar. Could you please provide the model for testing.
Thanks.

Hey, I have the same problem with you.
Have you solved the problem?
Thanks!

me too. i have the same problem.

me too. i have the same problem.
you need train youself model before test

Thanks for your interest in our work. We've modified the code and uploaded our pre-trained models. You can download the checkpoints on the current release webpage.


[TRIVIAL] Fix snprintf warning

Fix warning about possible truncation in snprintf

Codecov Report

Merging #2282 into develop will increase coverage by <.01%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #2282      +/-   ##
===========================================
+ Coverage    70.11%   70.11%   +<.01%
===========================================
  Files          689      689
  Lines        50800    50800
===========================================
+ Hits         35617    35618       +1
+ Misses       15183    15182       -1

Impacted Files
Coverage Δ

src/ripple/core/Stoppable.h
100% <0%> (+6.66%)
:arrow_up:

Continue to review full report at Codecov.

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

rebased onto 0.80.1

In 0.90.0-b1


Ability to ask for a specific namespace

~context in parse_html allows to specify the surrounding element. Instead of the surround element, I would like to ask for a specific namespace. ~context:(`Namespace Ns.html), for example.
Would it error out if elements are not in the namespace ? Like if I try to parse "<g></g>" with an html namespace ?

Closing this, as TyXML ended up dealing with this in a different way:
Except in the case of <a> elements, Markup.ml always infers the XML namespace. So, this can be done by letting Markup.ml parse, then checking the namespace of top-level elements against the expected namespace.
For <a> elements, HTML is the default, and SVG can be requested using ~context:(`Fragment "svg").


"Shift + Tab" in VS Code like Jupyter Notebook

Hi! I would like to recommend the "shift + tab" functionality into VS Code like the behavior from Jupyter Notebook. I like to hover the mouse on a function, but this "shift+tab" will be great! Thanks in advance

You can add following snippet to your Keybindings file (ctrl+k, ctrl+s and then open the text file from the editor toolbar)
	{
		"key": "shift+tab",
		"command": "editor.action.showHover",
		"when": "editorTextFocus"
	}


project build fails behind http proxy

During project build behind http proxy got error " Failed to execute goal com.qulice:qulice-maven-plugin:0.12:check (jcabi-check) on project takes: Failure: java.lang.IllegalArgumentException: 23 error(s)"
Steps for reproduce the issue:
use http-proxy internet access
export https_proxy=host:port
export http_proxy=host:port
git clone https://github.com/yegor256/takes.git
cd takes
mvn clean install -P qulice

console output:
 ....
[INFO] No Checkstyle violations found in 242 files
[INFO] No PMD violations found in 231 files
[INFO] /src/site/site.xml: to be validated
[ERROR] JSR-303 validator failed to initialize: Unable to create a Configuration, because no Bean      Validation provider could be found. Add a provider like  (see http://aspects.jcabi.com/jsr-303.html)
[WARNING] 23 XML validation error(s):
  -1:-1: schema_reference.4: Failed to read schema document      'http://maven.apache.org/xsd/decoration-1.3.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
 -1:-1: cvc-elt.1: Cannot find the declaration of element 'project'.
 ....
[ERROR] Failed to execute goal com.qulice:qulice-maven-plugin:0.12:check (jcabi-check) on project takes: Failure: java.lang.IllegalArgumentException: 23 error(s), see log above -> [Help 1]
...

Seems its qulice issue, some checks unable to access some xsd schemas. It not use maven or system proxy setting. I found workaround for the issue: set enviroment variable JAVA_TOOL_OPTIONS to -Dhttp.proxyHost=host -Dhttp.proxyPort=port


implemented EnumNode.eq

Pull Request Test Coverage Report for Build 685

7 of 7 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 680:
0.0%

Covered Lines:
1358

Relevant Lines:
1358

💛  - Coveralls


rqt_multiplot_plugin: 0.0.8-0 in 'melodic/distribution.yaml' [bloom]

first release for melodic

Merging but source and doc entries are highly recommended.


Epic-product type state does not match service tree current lifecycle stage

Bug/issue: There are data discrepancy between the epic (product type) State field and the Product Lifecycle Field.  The Service Tree metadata field "Current lifecycle stage" is the value for both of these ADO fields.
Here is example:

Epic product type state = "Closing Down"

Service Tree product lifecycle metadata indicates the product lifecycle is "In Development"

Also, I noticed that the Azure SDK bot account made an update on 01/31/2024 to the Data API Builder epic (product type) to update the State, Pub Prev Date, and GADate.  The Product Lifecycle data should have also been changed and has the same value as the State.

Here is query that can be used to find the data discrepancies that need to be resolved - https://dev.azure.com/azure-sdk/Release/_queries/query/?tempQueryId=31d4fab9-535d-45c4-9b16-7140c8c50f3a

[ ] Validate that the Release Planner automation is continuing to validate and sync the service tree lifecycle metadata to ADO.  The state of the epic-product type should be the same as the "Current Lifecycle Stage" in the service tree metadata.

@ladonnaq  We already have automatic synchronization of product's current lifecycle to Product state and Product life cycle fields in work item. I checked the work item in question. It seems you have manually modified the state to Closing Down on Fri 3/29/2024 11:01 AM.
I will check few more work items in the query mentioned above.

@ladonnaq   Release planner was earlier getting product metadata from CLC kusto tables. We had made a change few months back to pull the data from service tree tables instead of CLC table and the problem is that this service tree table does not have the current life cycle metadata in some cases. I assume this is something that needs to be updated in the DB by product owner so we will get the data to synchronize it with DevOps work item.  Release planner already has sync state mechanism to ensure that state is synchronized whenever we get the state information from product service tree metadata table.
Metadata is fetched from DataStudio_ServiceTree_ProductMetadata_Snapshot table.


v2.0: Remove settings.compress_request and compess_response parameters

This PR depends on https://github.com/SAML-Toolkits/ruby-saml/pull/685. Please merge it first.
Fixes https://github.com/SAML-Toolkits/ruby-saml/issues/676
Remove the settings.compress_request and settings.compress_response parameters. Set their behavior automatically based on settings.idp_sso_service_binding and settings.idp_slo_service_binding respectively. HTTP-Redirect will always use compression, while HTTP-POST will not.
(Compressing HTTP-POST is non-sensical, while most SAML services will fail if you don't compress redirects, and you may even hit the 2048 char URL limit.)

Im worried about other libraries using settings.compress_request and settings.compress_response for building its own bindings, not covered by RubySaml.
Can we instead of removing the settings, give the "default" binding behavior if no settings.compress_request and settings.compress_response was set?

@pitbulk how about we keep the parameters but remove their functionality and simply have them display a "deprecated" message?
The problem with these parameters is that POST binding should never be compressed, and Redirect binding should always be compressed. Any other configuration is invalid, so continuing to support these will only cause issues.

(Another option is to do the above deprecation on 1.7.0, and remove entirely in 2.0.0)

My proposal:
At settings.rb, set the default values as:
:compress_request => nil,
:compress_response => nil,

Create at utils.rb an auxiliary like:
     # Calculates if compression is required
     # @param type [String] SAMLRequest | SAMLResponse
     # @param service [String] sso | slo
     # @param settings [OneLogin::RubySaml::Settings|nil] Toolkit settings
    def may_compress_message(type, service, settings):
      if settings.compress_request.present? and type == "SAMLRequest"  # Old behavior
        compress = settings.compress_request
      else if settings.compress_response.present? and type == "SAMLResponse"  # Old behavior
        compress = settings.compress_response
      else if service == "sso"
         compress = is_binding_redirect(settings.idp_sso_service_binding)
      else if service == "slo"
          compress = is_binding_redirect(settings.idp_slo_service_binding)
      else
          compress = false
       return compress

    def is_binding_redirect(settings_binding):
      return settings_binding == Utils::BINDINGS[:redirect]

Then in authrequest.rb for example:
  request = deflate(request) if Utils::may_compress_message("SAMLRequest" , "sso", settings)

  ...

  if Utils::is_binding_redirect(settings.idp_sso_service_binding) && settings.security[:authn_requests_signed] && sp_signing_key

Or at slo_logoutresponse.rb
response = deflate(response) if Utils::may_compress_message("SAMLResponse" , "slo", settings)

  ...

  if Utils::is_binding_redirect(settings.idp_slo_service_binding) && settings.security[:logout_responses_signed] && sp_signing_key

Also, Leave but add a deprecation warning to:
      # Deflate, base64 encode and url-encode a SAML Message (To be used in the HTTP-redirect binding)
      # @param saml [String] The plain SAML Message
      # @param settings [OneLogin::RubySaml::Settings|nil] Toolkit settings
      # @return [String] The deflated and encoded SAML Message (encoded if the compression is requested)
      #
      def encode_raw_saml(saml, settings)
        saml = deflate(saml) if settings.compress_request

        CGI.escape(encode(saml))
      end

And create a new
      # Deflate (or not), base64 encode and url-encode a SAML Message (To be used in the HTTP-redirect binding)
      # @param saml [String] The plain SAML Message
      # @param compress [true|false] Whether or not the SAML should be deflated.
      # @return [String] The SAML Message (deflated if requested) base64 encode and url-encode
      #
      def encode_raw_saml_message(saml, compress)
        saml = deflate(saml) if compress

        CGI.escape(encode(saml))
      end

@pitbulk Is your concern is specifically about the encode_raw_saml method?
How about this:

Leave in Settings.compress_request, but make it do nothing.

def encode_raw_saml_message(saml, settings_or_compress)
  saml = deflate(saml) if settings_or_compress.is_a?(TrueClass)

  unless settings_or_compress.compress_request.nil?
    log_deprecation_warning("[WARNING] Please change the second argument of `encode_raw_saml_message` to a boolean indicating whether or not to use compression. Using a boolean will be required in RubySaml 2.1.0")
    saml = deflate(saml) if settings_or_compress.compress_request
  end

  CGI.escape(encode(saml))
end

Remove Settings.compress_response as it does not affect encode_raw_saml_message at all.

My concern is that people could be using Settings.compress_request and Settings.compress_response at its code.
We can mark it as deprecated in 2.0 and maybe remove in future 2.1
Are you against the use of the aux may_compress_message?
I'm ok with the encode_raw_saml idea you proposed, but maybe:
def encode_raw_saml(saml, settings_or_compress)
  if settings_or_compress.is_a?(TrueClass)
    saml = deflate(saml) if settings_or_compress
  else
    log_deprecation_warning("[DEPRECATION WARNING] Please change the second argument of `encode_raw_saml_message` to a boolean indicating whether or not to use compression. Using a boolean will be required in RubySaml 2.1.0.")

    if settings_or_compress.respond_to?(:compress_request)
      saml = deflate(saml) if settings_or_compress.compress_request
    end
  end
  CGI.escape(encode(saml))
end

And later in 2.1, we simply:
def encode_raw_saml(compress)
  saml = deflate(saml) if compress
  CGI.escape(encode(saml))
end

Are you against using the aux may_compress_message
Yes, I really think it's not needed. We should simply inform people to use the existing idp_sso/slo_service_binding params, rather than making a new may_compress_message that requires them to think about legacy params. Nothing will break regardless.

I'm ok with the encode_raw_saml idea you proposed, but maybe
Your code raises a dep message if settings_or_compress is false or nil. Correcting my proposed code here:

def encode_raw_saml(saml, settings_or_compress)
  saml = deflate(saml) if settings_or_compress.is_a?(TrueClass)

  if settings_or_compress.respond_to?(:compress_request)
    log_deprecation_warning("[DEPRECATION WARNING] Please change the second argument of `encode_raw_saml_message` to a boolean indicating whether or not to use compression. Using a boolean will be required in RubySaml 2.1.0.")
    saml = deflate(saml) if settings_or_compress.compress_request
  end

  CGI.escape(encode(saml))
end

And later in 2.1
Yes agreed to this

Moved to #695


added l-prefixed commands

includes functionalities for LSET, LPOP, LINDEX, LPUSH, LLEN

@ChukwuEmekaAjah is this PR still valid lol 😅


First header position

Hello,
I'm testing your library with the sample application.
I noticed that if i remove the first element of the dataset (Animals Below!) the first header is drawn after the first element of the list.
In this case I have :  Abyssinian [A header] Adelie Penguin ... whereas the header was expected first.
Does that mean we always need to add a dummy elementto get the header well positioned ?
Thanks

Try removing the condition to return -1.
https://github.com/timehop/sticky-headers-recyclerview/blob/master/sample/src/main/java/com/timehop/stickyheadersrecyclerview/sample/MainActivity.java#L97
@Override
    public long getHeaderId(int position) {
      if (position == 0) {
        return -1;
      } else {
        return getItem(position).charAt(0);
      }
    }


[RFC] Use HKDF to expand group strings

Watson Ladd said on the CFRG list that if I wrote the code and the text for this, it'd go in. This initial posting probably shouldn't go in as-is, for the following reasons:

I do not know where the text of the draft is to make those changes
The HKDF library I used was not detected properly by setup.py after I installed it with pip; as it's a single .py file, it may be worthwhile to simply vendor it in.

Do note, though, that when I manually put it in $PWD to run setup.py test, the tests passed.

There are other cases beyond the group strings, such as transcript -> key, that really ought to use HKDF in my opinion.

Also, I go a bit beyond simply switching to HKDF - the commits are probably in ascending order of controversy.
Review would be greatly appreciated.

Thanks for the patches! I've rebased some, fixed others, and added some new work on top, in PR #6. Let me know what you think. I ended up deleting the scalar-hasher entirely, and simplified the Group constructor a bit in the process.