update readme.md

Small notes added which may throw off a noob. These small notes may save many hours of frustration.
Purpose

...

Pull Request Type
Added  few small issues clarification in the readme.md

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ x] Documentation content changes
[ ] Other... Please describe:

@rsarosh thank you for the great feedback and the suggested edits to the readme. I appreciate you spending time creating this PR making sure other developers benefit from your learnings.
Some of your notes should probably be mentioned directly in the "Run the sample code" section, instead of in a new Notes section at the end. For example, your clarification on subscription key and region, should be placed in "1. Your subscription key and region.".  You should mention that "East US" is just an example (at the moment it sounds like that's the only value that is supported). And point to this link which lists all the supported Azure regions for REST APIs: https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/regions#rest-apis
If you want to do another round of edits to this PR based on my feedback, feel free to do so. Otherwise, me or someone else from the Speech SDK team will do some edits and complete the PR.
Thanks!
Darren

sure, will send another PR.

Created a new PR, addressing @dargilco comments

Hi @rsarosh, thank you for your contribution, it is much appreciated. I'll make some edits and add them to the sample.

@rsarosh I merged your change. Thank you very much! Feel free to suggest other changes when you see the need.
Darren


Workaround for alpha to coverage state leaking on (Web)GL renderer

Plus, use Web hardware tier when rendering with GLES.
Fixes #1195
Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct

I'll fix my own comments


chore: clean up old, unused telemetry code

What this PR does / why we need it:
Since merging PR https://github.com/Kong/kubernetes-ingress-controller/pull/3552 in January the old, unused code related telemetry has been left in repository with annotation in PR's description

The existing code for anonymous reports was left as is in this PR but we can remove it if we decide that's the approach we'd like to take.

I think today it's obvious that using kubernetes-telemetry is the way of doing telemetry in KIC. Thus this PR removes old, unused code.
Special notes for your reviewer:
It's been spotted during work on https://github.com/Kong/kubernetes-ingress-controller/issues/3916. As you can see e.g. dead code in internal/meshdetect/detector.go contains CoreV1 Endpoints.

👍 I can see some knative related integration tests failures 🤔 Seem unrelated but worth looking into (or creating an issue to investigate later on.

+1 I can see some knative related integration tests failures thinking Seem unrelated but worth looking into (or creating an issue to investigate later on.

issue: https://github.com/Kong/kubernetes-ingress-controller/issues/3965


Funds never arrived on DFI Wallet

Hello guys,
I was using the BSC https://defichain-bridge.com/ Bridge today, one of my transactions went fine but the other one got stuck, I was trying to send funds to a Defichain wallet, the funds never arrived on Defichain' wallet.
I tried using the recovery option but I get this error message after entering the transaction ID:
"Broadcasted raw tx: undefined"
The BSC transaction ID is the following one : 0x86a76240caddd685c6ab13f6f2953148ed9b41fe4533b557abb6c9d149607530
The wallet where I was expecting the funds: dKTyfd2jcKib8WUFTo318ruTf7nHUtWZ9M
The transaction seems to have worked fine until they were burnt on Binance though: https://bscscan.com/tx/0x86a76240caddd685c6ab13f6f2953148ed9b41fe4533b557abb6c9d149607530
Thank you for your help.

Looking into it now for you
Sent from my iPhone
On 30 Apr 2022, at 12:03 pm, DEFICHAINFAN @.***> wrote:

Hello guys,
I was using the BSC https://defichain-bridge.com/ Bridge today, one of my transactions went fine but the other one got stuck, I was trying to send funds to a Defichain wallet, the funds never arrived on Defichain' wallet.
I tried using the recovery option but I get this error message after entering the transaction ID:
"Broadcasted raw tx: undefined"
The BSC transaction ID is the following one : 0x86a76240caddd685c6ab13f6f2953148ed9b41fe4533b557abb6c9d149607530
The wallet where I was expecting the funds: dKTyfd2jcKib8WUFTo318ruTf7nHUtWZ9M
The transaction seems to have worked fine until they were burnt on Binance though: https://bscscan.com/tx/0x86a76240caddd685c6ab13f6f2953148ed9b41fe4533b557abb6c9d149607530
—
Reply to this email directly, view it on GitHubhttps://github.com/muirglacier/bridge-ui/issues/23, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQVPOW6PEL2FIEALWOOHI5TVHSIHRANCNFSM5UXUVQUA.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Thank you muirglacier. I forgot to mention that as in the case of this gentleman 17 I got this error message:

Even though, the transaction does appear on the bscscan.

We will have it sorted for you by tomorrow!
Thanks for being part that early on, and helping to fix all the little issues!
By the way, you get a bug bounty because your funds got stuck and are not recoverable with the recovery function 🔥🔥
Sent from my iPhone
On 30 Apr 2022, at 1:07 pm, DEFICHAINFAN @.***> wrote:

Thank you muirglacier. I forgot to mention that as in the case of this gentleman 17https://github.com/muirglacier/bridge-ui/issues/17 I got this error message:
[image]https://user-images.githubusercontent.com/104662115/166088171-6ec76953-5d45-45d4-9e17-e15b427d14e2.png
Even though, the transaction does appear on the bscscan.
—
Reply to this email directly, view it on GitHubhttps://github.com/muirglacier/bridge-ui/issues/23#issuecomment-1113900494, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQVPOWZDIQMSOEZX37D56XDVHSPXPANCNFSM5UXUVQUA.
You are receiving this because you commented.Message ID: @.***>

Thank you my friend! Love the project and I did spend some time playing with it today! Was great and ended up in a really productive way for all! I'm glad!

Hi muirglacier,
On which address should I expect my DFI and bounty please? Dfi or Metamask?
(0x3EEeA69ae13b598ff536Eb857c1142700e353d1e)
So far I didn't receive anything.

Will be sorted today! I was at a wedding on Sunday. Back to work later today
Sent from my iPhone
On 1 May 2022, at 6:57 am, DEFICHAINFAN @.***> wrote:

Hi muirglacier,
On which address should I expect my DFI and bounty please? Dfi or Metamask?
(0x3EEeA69ae13b598ff536Eb857c1142700e353d1e)
So far I didn't receive anything.
—
Reply to this email directly, view it on GitHubhttps://github.com/muirglacier/bridge-ui/issues/23#issuecomment-1114052920, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQVPOWYLO7GBR6NSRKIJTULVHWNCRANCNFSM5UXUVQUA.
You are receiving this because you commented.Message ID: @.***>

Cool thanks!

Hmm, that is weird. I have simply used the recovery function and the funds were sent without any problem.
https://defiscan.live/transactions/737b0b100678a8886ac608d51ff9f0864754293c3bc876ee93d426cb3d2bb307
Can you maybe reproduce it somehow?

Interesting, I will try to reproduce it, in fact I tried using the recovery form many times but I got each time the error message I indicated above.

The other guy tried to put in the defichain deposit tx into the release recovery field - so that Naturally didn’t work!
Added a better error message now, let’s see
Sent from my iPhone
On 1 May 2022, at 3:12 pm, DEFICHAINFAN @.***> wrote:

Interesting, I will try to reproduce it, in fact I tried using the recovery form many times but I got each time the error message I indicated above.
[image]https://user-images.githubusercontent.com/104662115/166133158-031c33e0-67a6-41a3-9ce5-7b6d2f33564a.png
—
Reply to this email directly, view it on GitHubhttps://github.com/muirglacier/bridge-ui/issues/23#issuecomment-1114135927, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQVPOWYSXPBF6NQDYV7UOBLVHYHD7ANCNFSM5UXUVQUA.
You are receiving this because you commented.Message ID: @.***>

In my case as you can see in the screenshot above, I put the Binance TxID and got that error message.


Add Contribution Guidelines & CoC v.01

The first draft of the Contribution Guidelines and Code Of Conduct is added.
Contribution Guidelines requires technical inputs to be added regarding setting up the environment at their local to contribute to the project and more. Please do have a look at them and let me know about the instructions to be added.  One of the examples for missing info (indicated with ?) could be for the instructions for forking and keeping update the fork with the upstream
git remote add upstream https://github.com/neuroimaging-cookbook/neuroimaging-cookbook.github.io/?
Same ? is needed to be filled in many locations I believe they all should be the same but I was not able to know. Please do let me know about it I will add it to the necessary lines.
Code of Conduct requires contact point and your approval regarding the context, reporting, enforcement. Please take both as the first draft and let me know how we could improve on those.
Thank you 🤗

Hi @complexbrains!
Thank you so much for putting this together!! Just wanted to send a note that this is still on my radar. As my time frees up in May, I will plan on to revisit the Code of Conduct and the project as a whole! 😄
Will keep you in the loop!


remove action-cable

this part of rails is not currently used in our app
I left the Gemfile as
  gem 'rails'

and the config/application.rb as
require 'rails/all'

to make it easier to add back in case we use it in the future, but
this just removes all of the javascript files and directories so
people do not think they are being used for something

well, this doesn't look right: https://crimethinc-staging-pr-1227.herokuapp.com/2017/01/06/preparing-for-the-trump-era-midwest-tour


PR: Feature/branch

Fixes #21

Coverage decreased (-2.0%) to 70.769% when pulling 04b0a428c8161ef448ff3c0a13dd4c5e08cf5dcb on feature/branch into 210122f645e065c87e935972e27244fc655dc2bc on master.

Coverage decreased (-2.0%) to 70.769% when pulling 04b0a428c8161ef448ff3c0a13dd4c5e08cf5dcb on feature/branch into 210122f645e065c87e935972e27244fc655dc2bc on master.

Coverage decreased (-2.0%) to 70.769% when pulling 04b0a428c8161ef448ff3c0a13dd4c5e08cf5dcb on feature/branch into 210122f645e065c87e935972e27244fc655dc2bc on master.

Coverage decreased (-2.0%) to 70.769% when pulling 04b0a428c8161ef448ff3c0a13dd4c5e08cf5dcb on feature/branch into 210122f645e065c87e935972e27244fc655dc2bc on master.

Coverage decreased (-2.0%) to 70.769% when pulling 04b0a428c8161ef448ff3c0a13dd4c5e08cf5dcb on feature/branch into 210122f645e065c87e935972e27244fc655dc2bc on master.

Coverage decreased (-2.0%) to 70.769% when pulling 04b0a428c8161ef448ff3c0a13dd4c5e08cf5dcb on feature/branch into 210122f645e065c87e935972e27244fc655dc2bc on master.

Coverage increased (+0.6%) to 73.333% when pulling 06a3be438f01a13d02d7d0e8be1a5af40f748395 on feature/branch into 210122f645e065c87e935972e27244fc655dc2bc on master.

Coverage increased (+0.6%) to 73.333% when pulling 06a3be438f01a13d02d7d0e8be1a5af40f748395 on feature/branch into 210122f645e065c87e935972e27244fc655dc2bc on master.

Coverage increased (+0.6%) to 73.333% when pulling 06a3be438f01a13d02d7d0e8be1a5af40f748395 on feature/branch into 210122f645e065c87e935972e27244fc655dc2bc on master.


Monitoring stack - stats

Add monitoring stack, make stats command working

make build (needs to rebuild the amplifier local image)
amp start
docker tag appcelerator/amplifier:local localhost:5000/appcelerator/amplifier:local
docker push localhost:5000/appcelerator/amplifier:local
docker run -it --rm --network=hostnet -v $PWD/stacks:/stacks docker --host=m1 stack deploy -c /stacks/amplifier.stack.yml amplifier
docker run -it --rm --network=hostnet -v $PWD/stacks:/stacks docker --host=m1 stack deploy -c /stacks/monitoring.stack.yml monitoring
amp login ... if not already logged in
amp stats

amplifier and monitoring stacks can be launched independently, if monitoring stack is no launched we get a regular error on 'amp stats' command

@freignat91 Nice work, but let's hold off on this pending another architecture discussion tomorrow with you and @bquenin on the updated monitoring strategy. Also, I would to hold off on any major PRs anyway until the code cleanup is finished, all the lint checks are passing, and the refactored CLI is merged.

Close it, to be replaced by new monitoring


Azure OpenAI API Version Support

The app does not support 2023-06-01-preview.   How do I find out what versions it supports?

try 2023-05-15
https://learn.microsoft.com/en-us/azure/ai-services/openai/reference
for details, see: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/cognitiveservices/data-plane/AzureOpenAI/inference

Could you please give some information about how to support multiply version in different model ?
for example,
gpt-4o --> 2023-03-12-preview
dell --> 2022-02-12


Implement TryFrom<geo_types::Geometry> for GEOS Geometry

...and also TryFrom<geo_types::GeometryCollection>
I noticed that these two trait implementations were missing, and they seemed like they'd be useful inclusions. Each is sort of necessary to implement the other: a Geometry can wrap a GeometryCollection, and a GeometryCollection is made up of Geometrys (in order to wrap the heterogeneous members in a uniform type). The unit test I added exercises both conversions.
Feedback is very welcome.

Weird, it seems like building libgeos in the CI is not working anymore...


Add changelog entry about pull/525

I amended https://github.com/hashie/hashie/commit/1f1efdb14cf586880e7fd1b6ed1d608256889c30

Cool, thanks!


redis cluster support

请问改造redis 为 cluster模式该怎么处理呢？希望作者能提供一下，谢谢。

Currently, not all modules (e.g. blocking users/IPs) of servers support working with Redis cluster as some Lua scripts provided by servers are designed to work for standalone Redis instances efficiently, but cannot work with the Redis cluster.
I plan to add Redis cluster support soon and will try to publish it next weekend.
I will @ you once the support is published.

请问作者，redis cluster 这里改造的怎么样了，我这边看了官方的api，但是这里涉及到关于codec的一些功能，所以改造起来耗时了很长时间，也是不能很好的解决，请作者这里帮忙提供一些改造的思路，或者是伪代码，感谢支持。

Sorry about it. The task is deferred after research and there is no plan to support it in recent months (I am busy with turms-chat-demo currently, a complete demo client).
I found that supporting Turms in running with the Redis cluster should NOT use exactly the same logic and data in the standalone mode and cluster mode, which will take a great effort because:

When running in standalone mode, we design the data in Redis in an efficient way: We try to store data in a standalone Redis so that we can handle all related data in one request/script.
But when running in cluster mode, we should design the data in Redis in a distributed way to use the Redis cluster in a more robust way.

As they (the standalone and the cluster) are designed for different purposes and solving different problems, we need to use different logic and data in Redis, the following tasks should be addressed to support running with the Redis cluster:

Support im.turms.server.common.storage.redis.TurmsRedisClient in running with the Redis cluster. For example:
a. choosing different Redis instances to handle the Redis requests if the instances/topology of the Redis cluster have changed. This should be easy if you know how the Redis cluster works.
b. support using both keys and args in Redis scripts, as we only use keys currently. This should be easy too.
Design efficient logics and data to store data for different Turms modules (e.g. data for blocking users; data for online user sessions) in the Redis cluster. This take will take a great effort. You can choose the one you use to implement so that you don't have to support the Redis cluster for all modules at the first stage.
(Optional) Support migrating data from the standalone mode to the cluster mode.

For most applications, using one Redis standalone should be enough for performance, but you will get a big problem if the Redis instance crashes for any reason (btw, I did encounter a machine crash physically).
So you can either wait for me to support it after I finish current tasks, or support it by yourselves in the above way or your (maybe incompatible) way.


Button to soft-reload worker

When the worker freezes, it would be good to be able to terminate it, then re-start the worker. Not sure where the button could be though.
Suggested by「Takashi」#6110 in the Discord.

In a similar vein, it would be good to have a button to pause the worker when anticipating changes. Will need to display a message on the graphpaper as a reminder that the worker is disabled.

Want to work on #292 first to make this a little easier.

Performance info allows this.


Implement Option to Use RTOS Queue over CANQueue

RTOS has its own queue type, and CDH prefers this over the custom CANQueue structure. Therefore, implement the option to use an RTOS queue instead. The user can decide to use the RTOS queue by placing a #define statement above the #include for CAN Wrapper.
Like so:
#define CAN_WRAPPER_USE_RTOS_QUEUE
#include "tuk/can_wrapper.h"

Update: This will be a bit more work than anticipated. CDH uses a task scheduling system which complicates things a bit. I'm currently rethinking the design for processing messages. Bare with me!


Reproduce of training

Hi,
I am trying to train dlpacker from scratch. How did the learning rate been adjusted? In the paper, you mentioned a decrease when the loss is not improving, I am not sure there is a more strict definition.

I think Figure 1 in the paper illustrates this pretty well. Not sure what I can add here to answer your question!


Replace usage of deprecated StringUtils.isEmpty with !StringUtils.hasLength

As of Spring 5.3 StringUtils.isEmpty is deprecated. The official migration hint is to either use one of the following:

!StringUtils.hasLength
!StringUtils.hasText

To keep behaviour exactly the way it is, !StringUtils.hasLength can be used to replace the current usage of StringUtils.isEmpty.

Closed via 991cfbf


HBASE-23881 Ensure Netty client receives at least one response before…

… considering SASL negotiation complete
The PLAIN mechanism test added in the Shade authentication example has
different semantics than GSSAPI mechanism -- the client reports that the
handshake is done after the original challenge is computed. The javadoc
on SaslClient, however, tells us that we need to wait for a response
from the server before proceeding.
The client, best as I can see, does not receive any data from HBase;
however the application semantics (e.g. throw an exception on auth'n
error) do not work as we intend as a result of this bug.
Extra trace logging was also added to debug this, should a similar error
ever happen again with some other mechanism.
Closes #1260
Signed-off-by: Duo Zhang<EMAIL_ADDRESS>Signed-off-by: Bharath Vissapragada<EMAIL_ADDRESS>

backport of 23881 for branch-2, getting a QA run.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 13s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 42s
branch-2 passed

+1 :green_heart:
checkstyle
2m  3s
branch-2 passed

+1 :green_heart:
spotbugs
3m 45s
branch-2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 11s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 20s
the patch passed

-0 :warning:
checkstyle
0m 33s
hbase-client: The patch generated 4 new + 8 unchanged - 0 fixed = 12 total (was 8)

-0 :warning:
checkstyle
0m 12s
hbase-examples: The patch generated 4 new + 0 unchanged - 0 fixed = 4 total (was 0)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
11m 37s
Patch does not cause any errors with Hadoop 2.10.0 or 3.1.2.

+1 :green_heart:
spotbugs
4m 14s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 31s
The patch does not generate ASF License warnings.

40m 41s

Subsystem
Report/Notes

Docker
Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1502/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1502

Optional Tests
dupname asflicense spotbugs hadoopcheck hbaseanti checkstyle

uname
Linux 17402d469682 4.15.0-91-generic #92-Ubuntu SMP Fri Feb 28 11:09:48 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 91361ca999

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1502/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-client.txt

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1502/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-examples.txt

Max. process+thread count
84 (vs. ulimit of 12500)

modules
C: hbase-client hbase-server hbase-examples U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1502/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f) spotbugs=3.1.12

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 44s
Docker mode activated.

-0 :warning:
yetus
0m  7s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 27s
branch-2 passed

+1 :green_heart:
compile
1m 47s
branch-2 passed

+1 :green_heart:
shadedjars
4m 18s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 18s
branch-2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 14s
the patch passed

+1 :green_heart:
compile
1m 41s
the patch passed

+1 :green_heart:
javac
1m 41s
the patch passed

+1 :green_heart:
shadedjars
4m 17s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 15s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
2m  9s
hbase-client in the patch passed.

-1 :x:
unit
135m 48s
hbase-server in the patch failed.

+1 :green_heart:
unit
1m 54s
hbase-examples in the patch passed.

164m 52s

Subsystem
Report/Notes

Docker
Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1502/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1502

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 636ce8493dc9 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 91361ca999

Default Java
1.8.0_232

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1502/1/artifact/yetus-jdk8-hadoop2-check/output/patch-unit-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1502/1/testReport/

Max. process+thread count
3298 (vs. ulimit of 12500)

modules
C: hbase-client hbase-server hbase-examples U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1502/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 44s
Docker mode activated.

-0 :warning:
yetus
0m  5s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 59s
branch-2 passed

+1 :green_heart:
compile
2m  2s
branch-2 passed

+1 :green_heart:
shadedjars
5m  4s
branch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 30s
hbase-client in branch-2 failed.

-0 :warning:
javadoc
0m 23s
hbase-examples in branch-2 failed.

-0 :warning:
javadoc
0m 39s
hbase-server in branch-2 failed.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 18s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 45s
the patch passed

+1 :green_heart:
compile
2m  2s
the patch passed

+1 :green_heart:
javac
2m  2s
the patch passed

+1 :green_heart:
shadedjars
5m 16s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 28s
hbase-client in the patch failed.

-0 :warning:
javadoc
0m 48s
hbase-server in the patch failed.

-0 :warning:
javadoc
0m 25s
hbase-examples in the patch failed.

_ Other Tests _

+1 :green_heart:
unit
2m 37s
hbase-client in the patch passed.

-1 :x:
unit
135m 50s
hbase-server in the patch failed.

+1 :green_heart:
unit
1m 40s
hbase-examples in the patch passed.

169m 24s

Subsystem
Report/Notes

Docker
Client=19.03.8 Server=19.03.8 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1502/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1502

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 3efec22f2603 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 91361ca999

Default Java
2020-01-14

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1502/1/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-client.txt

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1502/1/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-examples.txt

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1502/1/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-server.txt

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1502/1/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-client.txt

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1502/1/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-server.txt

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1502/1/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-examples.txt

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1502/1/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1502/1/testReport/

Max. process+thread count
3343 (vs. ulimit of 12500)

modules
C: hbase-client hbase-server hbase-examples U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1502/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

The original issue has been closed. Close for now, can reopen or just create a new PR against HBASE-24179.


chore(vendor): update golang.org/x/crypto to v0.31.0

Which issue(s) this PR fixes:

Issue Longhorn/longhorn#9898
CVE-2024-45337 CRITICAL
usr/local/sbin/longhorn-manager (gobinary)
Total: 2 (HIGH: 2, CRITICAL: 0)

What this PR does / why we need it:
Special notes for your reviewer:
Additional documentation or context

renovate won't update the patch in the released branches, so this was missed. Not sure if renovate can have an advanced function to update CVE lib instead of following semver. Can check this later.


fix: Generate new action ID while updating schedule job

fixes #4883
Fixed the potential crashed issue while updating schedule action. Since there will be new actions being created after job updated, generating new action ID for each actions.

If your build fails  due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:

[x] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[x] I am not introducing a new dependency (add notes below if you are)
[ ] I have added unit tests for the new feature or bug fix (if not, why?)
[x] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[ ] I have opened a PR for the related docs change (if not, why?)

Testing Instructions

New Dependency Instructions (If applicable)

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 37.92%. Comparing base (6ac0180) to head (5ccf7c5).

Files with missing lines
Patch %
Lines

...l/support/cronscheduler/application/schedulejob.go
0.00%
2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4893      +/-   ##
==========================================
- Coverage   37.93%   37.92%   -0.01%
==========================================
  Files         122      122
  Lines       11775    11777       +2
==========================================
  Hits         4467     4467
- Misses       6925     6927       +2
  Partials      383      383

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


Implement refresh token for authorization code grant type

Unlike client credencials grant, access token can be renewed by client id and client secret, need refresh token for auth code grant.

Also add another module/service to manage refresh tokens.


feat: allow path encoding to be disabled

Before this PR, this library would encode all paths passed to either buildURL or buildSrcSet. This was a great default in a lot of scenarios, but this proved to be irritating when integrating with some data sources that provided already encoded URL paths. Thus, this PR allows this path encoding behavior to be disabled in the options parameter for both methods.

Current dependencies on/for this PR:

main

PR #314   (this PR)

This comment was auto-generated by Graphite.

@frederickfogerty I just realized that this change is probably not compatible with URL signing as it relies on the path being sanitized/encoded first.

@sherwinski I made the trailing slash fix/update here, btw

@frederickfogerty I haven't had chance to dig in more but I should have more time today to build out an example that confirms/denies my suspicion. I'll follow up

Does this mean that URL signing can't be used with already encoded URLs?

Yeah I'm saying it won't work unless the URL is encoded exactly as we would during the sanitizing step. To me that just seems like a bit of smell since from a user's perspective, it might not be that apparent that path encoding and URL signing are that tightly coupled.
For example, this test will fail (the expected value includes the signature if path encoding were true):
const client = new ImgixClient({
  domain: 'sdk-test.imgix.net',
  includeLibraryParam: false,
  secureURLToken: 'abc123',
});

const actual = client.buildURL(
  '/file+with%20some+crazy?things.jpg',
  {
    w: 100,
  },
  {
    disablePathEncoding: true,
  },
);

const expected =
  'https://sdk-test.imgix.net/file%2Bwith%2520some%2Bcrazy%3Fthings.jpg?w=100&s=0c4068b0df31a8a8b67dd79247063939';

assert.strictEqual(actual, expected);

Not sure if the best path here is to document this as a caveat or throw a warning if users attempt to sign a URL while also disabling the encoding step.


[TEST] Adding test for creating checkout from order core 0104

I want to merge this change because it adds a test for creating checkout from order core 0104

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are either absent or guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migrations are either absent or optimized for zero downtime
[ ] The changes are covered by test cases

Closed in favour of https://github.com/saleor/saleor/pull/13509


The getCurrentMessages method's logic

Hi.
I understand the difference between the getMessages and getCurrentMessages methods and how they work, but I don't get why these "current" messages could be accessed on the second request even if we haven't really added anything during it.
Is this the expected behaviour? If so, what makes them "current" then?
Here's a test:
public function testCurrentMessages()
{
    $helper = new FlashMessenger();

    $this->assertFalse($helper->hasCurrentMessages()); // OK

    $helper->addMessage('foo');

    $this->assertTrue($helper->hasCurrentMessages()); // OK
    $this->assertFalse($helper->hasMessages()); // OK

    unset($helper);

    $helper2 = new FlashMessenger();

    $this->assertFalse($helper2->hasCurrentMessages()); // Failure
    $this->assertTrue($helper2->hasMessages()); // OK
}

This repository has been closed and moved to laminas/laminas-mvc-plugin-flashmessenger; a new issue has been opened at https://github.com/laminas/laminas-mvc-plugin-flashmessenger/issues/1.


Update run.ps1

The current windows container releases appear to have fixed the "localhost" issue that was previously mentioned in the readme that referenced this ps1 script.  I've created a separate pull request in the article to also remove the docker inspect

do you want to merge this PR, @Thraka ?


Node calendar is empty

Node calendar is empty

The calendar is operating normally. Will close pending additional detail.


Fixed #34662 -- Translation strings of ArrayField length validators depend on wrong ngettext key

It seems that in ArrayMaxLengthValidator and ArrayMinLengthValidator ngettext's number argument depends on wrong key.
https://code.djangoproject.com/ticket/34662

@realsuayip Thanks, great catch :dart: Can you create a new ticket? All bugfixes require an accepted ticket. Please also add a regression test, e.g.
diff --git a/tests/postgres_tests/test_array.py b/tests/postgres_tests/test_array.py
index 5f8441ba1b..7bf02b82d3 100644
--- a/tests/postgres_tests/test_array.py
+++ b/tests/postgres_tests/test_array.py
@@ -990,6 +990,13 @@ class TestValidation(PostgreSQLSimpleTestCase):
             "List contains 4 items, it should contain no more than 3.",
         )

+    def test_with_size_message(self):
+        field = ArrayField(models.IntegerField(), size=1)
+        field.clean([1], None)
+        msg = "List contains 2 items, it should contain no more than 1."
+        with self.assertRaisesMessage(exceptions.ValidationError, msg) as cm:
+            field.clean([1, 2], None)
+
     def test_nested_array_mismatch(self):
         field = ArrayField(ArrayField(models.IntegerField()))
         field.clean([[1, 2], [3, 4]], None)

@felixxm Done.

@felixxm Done.

Thanks :+1: Can you also add a regression test for the second validator?

@felix Done 👌


Issue#1878: Upgrade the org.jacoco:jacoco-maven-plugin from 0.8.2 to 0.8.6

Pull Request Description
This pull request closes #1878
Acceptance Test

[x] Building the code with mvn clean install -Dintegration.tests still works.
[x] Running mvn spring-boot:run in the strongbox-web-core still starts up the application correctly.
[x] Building the code and running the strongbox-distribution from a zip or tar.gz still works.
[x] The tests in the strongbox-web-integration-tests still run properly.

Questions

Does this pull request break backward compatibility?

[ ] Yes
[x] No

Does this pull request require other pull requests to be merged first?

[x] Yes, please see strongbox/strongbox-parent#79
[ ] No

Does this require an update of the documentation?

[ ] Yes, please see strongbox/strongbox-docs#{PR_NUMBER}
[x] No

Update: This is now being build in Jenkins with our complete build pipeline here.

Thank you, the tests have passed and I will be closing this pull request as it proves it works!


Generates enclosing brackets always when entered after {

Sample code
else {

 }

When enter key is pressed after { another set of enclosing brackets is generated although there is already a pair existing

Same exists for resource as well


Update en-us.json

Punctuation correction and adding Mac keybind to the DevTools description.

This is inaccurate


Ghore for Windows 10 or 11 ?

Hello,
Is Ghore planned for Windows 10 or 11 ? Or is it only for Linux or macOS ? Thank you. I tried to install it from Windows 11 Enterprise Insider Preview Build 27686 and (Administrator rights) but it doesn't install with 'npm install'.
npm install
npm warn cleanup Failed to remove some directories [
npm warn cleanup   [
npm warn cleanup     '\\\\?\\C:\\Users\\My_Username\\Projets\\ghore\\node_modules\\send',
npm warn cleanup     [Error: EPERM: operation not permitted, rmdir 'C:\Users\My_Username\Projets\ghore\node_modules\send\node_modules\debug\node_modules\ms'] {
npm warn cleanup       errno: -4048,
npm warn cleanup       code: 'EPERM',
npm warn cleanup       syscall: 'rmdir',
npm warn cleanup       path: 'C:\\Users\\My_Username\\Projets\\ghore\\node_modules\\send\\node_modules\\debug\\node_modules\\ms'
npm warn cleanup     }
npm warn cleanup   ]
npm warn cleanup ]
npm error code 1
npm error path C:\Users\My_Username\Projets\ghore\node_modules\node
npm error command failed
npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node installArchSpecificPackage
npm error Le chemin d'acc�s sp�cifi� est introuvable.
npm error A complete log of this run can be found in: C:\Users\My_Username\AppData\Local\npm-cache\_logs\2024-08-20T09_49_37_642Z-debug-0.log

Hey,
So Ghore is planned for only Mac and Linux as of now, as one of the packages cmark-gfm is outdated and is not allowing the users to install the packages in Windows but any suggestions and pull requests are appreciated. Thank you.


Unhandled exception when launching

Full text:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at MCCBounceEnable.UIForm.timer1_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
MCCBounceEnable
Assembly Version: <IP_ADDRESS>
Win32 Version: <IP_ADDRESS>
CodeBase: file:///C:/Users/Luke/Downloads/MCCBounceEnable.exe
System.Windows.Forms
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Windows.Forms.dll
System
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.dll
System.Drawing
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Drawing.dll
SharpDX.XInput
Assembly Version: <IP_ADDRESS>
Win32 Version: <IP_ADDRESS>
CodeBase: file:///C:/Users/Luke/Downloads/MCCBounceEnable.exe
Process.NET
Assembly Version: <IP_ADDRESS>
Win32 Version: <IP_ADDRESS>
CodeBase: file:///C:/Users/Luke/Downloads/MCCBounceEnable.exe
SharpDX
Assembly Version: <IP_ADDRESS>
Win32 Version: <IP_ADDRESS>
CodeBase: file:///C:/Users/Luke/Downloads/MCCBounceEnable.exe
System.Core
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Core.dll
System.Configuration
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Configuration.dll
System.Xml
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Xml.dll
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

This is an issue caused by launching the program without a controller plugged in. I will hotfix this in the next release.

This is an issue caused by launching the program without a controller plugged in. I will hotfix this in the next release.


wine-staging: GTK3 Theming doesn't work

Describe the bug
WIne Staging has a feature that allows to set the GTK3 theme for its UI. However, it doesn't work.
Steps To Reproduce
Steps to reproduce the behavior:

Open winecfg;
In the "Staging" tab, check "Enable GTK3 Theming", and Apply;
Nothing happens.

Expected behavior
Wine would look like the GTK3 theme I set.
Screenshots

(Showing Thunar with Tela-dark theme in the background)
Notify maintainers
@avnik @7c6f434c @bendlas

Trying another computer with Fedora, the same thing happens.
Either I misunderstood what it does, or it's a bug upstream.
Closing.


support for "flipping" the color scheme

This is for when people use a dark map vs. a light map and sequential color schemes.
With a dark map, many times it is preferable to have the light = more to bring out contrast against the dark background whereas on a light map, light = less.
Is there something we can do to support this in the renderer?
This functionality is available in Builder forms but not a part of TurboCarto syntax. If a user clicks the arrow to flip, TC literally reads the scheme colors in backwards and that's how the hex values are listed in the CartoCSS.

inverse() is already there!

nice!!
so what category of operator would this be?
I know we had a category of Color Constructors -- being able to manipulate things like h,s,v channels... do you think this is part of that?

@davidmanzanares
So looking at this closer... do you mean that by default we read in the inverse() of a sequential scheme?
I ask because that is the default behavior I'm seeing.
For example, using the Airbnb data's price attribute the higher value listings, by default, are colored with the lightest color in the scheme Emrld:

color: ramp(quantiles($price,7),Emrld): result
with inverse():
color: ramp(quantiles($price,7),inverse(Emrld)): result
Let's discuss this because from a  "traditional" standpoint, people will expect the inverse() result as the default vs. the way we have it now.

Sorry for the delay, I forgot about this.
No, I don't think this could be considered part of Color Constructors. I would say this is part of palettes, I think it would be good to explain this after explaining how cartocolors can be used with ramps, also near custom palettes (something that hasn't been implemented yet).
About reading in the inverse order, we get the order from cartocolors, but it is certainly possible that that order was meant to be read in the other way.
Does this inversion happen in all cases (all cartocolos, numeric properties, categorical properties...)?
Inverting this is easy, but, if it doesn't need to be inverted in all cases, we would need more details.

@davidmanzanares no prob!
Let's talk about this next week... they were flipped in cartocolor.js for Builder (long story that I need to refresh myself on)

After looking deeper david thinks this might have to do specifically with quantiles as linear is giving the expected result:
Linear example

I found the bug, quantiles assigned incorrectly the last bucket. Should be already fixed on ghpages now. :rocket:

Nice, checked, and looks good to me!
thanks, david!


Overriding UITextDocumentProxy extension

I'm defining a special behavior for typing which includes changing certain characters to their contextual forms under some conditions. This requires examining the current word and reshaping it if necessary. I figured overriding the performTextContextSync would allow me to access the text in a synchronous manner, so I added the reshapeText function as follows:
    func reshapeText() {
        let text = self.textDocumentProxy.currentWord
        // replace ע by ع in text
        guard let newText = text?.replacingOccurrences(of: "ע", with: "ع") else { return }
        // update text
        if newText != text {
            self.textDocumentProxy.replaceCurrentWord(with: newText)
        }

    }

    override func performTextContextSync() {
        super.performTextContextSync()
        self.reshapeText()
    }

(The newText composition is just a dummy example for debugging)
This did work, but I then encountered errors when reshaping text with diacritic marks, not all characters are being properly deleted. This is because the replaceCurrentWords function uses String.count to calculate the number of deletion steps, but it uses extended grapheme clusters which leads to a smaller count than needed for deletion.
    func replaceCurrentWord(with replacement: String) {
        guard let word = currentWord else { return }
        let offset = currentWordPostCursorPart?.count ?? 0
        adjustTextPosition(byCharacterOffset: offset)
        **deleteBackward(times: word.count)**
        insertText(replacement)
    }

I looked into Swift documentation and it suggests using the length property of an NSString, which seems to overcome this issue. However, I'm not certain how to override the UITextDocumentProxy extension, or just the replaceCurrentWord function itself.

Hi @bensapirstein
I'm sorry for not replying, I completely missed this issue.
Did you do any more work on this? Do you have any examples of a word where the backwards count would fail.
I have added your suggested change to the v8.5 branch, if you want to test it.

Thanks, Daniel.
After updating to the latest version, I've observed that word replacement functions correctly. However, I've noticed a mishandling of diacritic marks by the autocompletion provider. When I position the text marker in the middle of a word with diacritic marks and select a suggested word or press space, it fails to delete all necessary letters, resulting in undeleted characters. For instance, when I place the marker after the letter א in אחׄי and choose the suggestion, the output includes the undeleted character י, yielding "אחׄי י". I suspect this issue stems from counting in extended grapheme representations.
Additionally, activating autocompletion by pressing space is not the desired behavior. Could you advise on how to modify this behavior? I'm using the Autocomplete provider implementation from the documentation.
Furthermore, I've noticed a change in the frequency of the performKeyboardContextSync function being called. Previously, it appeared to be invoked regularly during typing. However, currently, I find that I need to switch away from the app and return to it for the function to be called and the changes to take effect. I attempted to integrate the reshape method within textDidChange, but it seems that it's not triggered during typing. Could you please provide guidance on the optimal method for synchronizing with typing? My objective is to update contextual forms as text is being typed.
Thanks for your assistance 🙏

Hi @bensapirstein
Can you please separate issues for this to help us discussing them individually?

I posted 2 separate issues, I skipped the word replacement issue since it might be irrelevant if the autocompletion behavior will change.


PR: Use QProcess instead of subprocess for the LPS transport layer and server

This will allow us to have better control over those external processes. Specifically, Qt emits signals when they fail to start and when they crash, so we only need to connect to those signals and run our restart mechanism.
In particular, this fixes the infinite restarting-ready-starting sequence we have right now when the PyLS fails to start. That happens because subprocess doesn't have an option to check if the process started correctly (calling poll works if we wait a little bit for the process to start, but that little bit depends on the OS and user hardware).
Finally, this has some refactoring of the LSPClient code to make it more readable and easier to follow.

Fixes #12225.
TODO:

[x] Connect to QProcess errorOccurred and finished signals.
[x] Simplify hearbeat and restarting logic.
[x] Check if new_env needs to have the entire environment or just PYTHONPATH.

Hello @ccordoba12! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file spyder/plugins/completion/languageserver/client.py:

Line 240:9: E265 block comment should start with '# '

Really good idea @ccordoba12 !

Really good idea @ccordoba12 !

Thanks! It took several hours to figure it that this was the best move though.

The notebook plugin also uses subprocess.Popen() to start new servers. Would you recommend to use QProcess there too? I think I need to touch that code anyway.

@goanpeca, this is ready fo review.
@jitseniesen, yes, I think you should use QProcess because it allows you to better monitor if server started correctly in the background.

Will check tonight!

@goanpeca, @andfoy, this is ready for a final review.

@OverLordGoldDragon, could you help us to test Spyder with these changes? The thing is this PR supersedes PR #12771, but it's a better solution to start and monitor the Python language server than before.
I tested that the problem on issue #11506 doesn't appear on Windows with these changes. But since you're a heavy Spyder user, we'd really appreciate your help to be really sure things keep working as they were after #12771.

@ccordoba12 Sure, I'm down. Though, that's a fair bit of changes to insert manually - is there a quicker approach? Unsure if cloning would work, or whether Spyder has a nightly.

Right. In that case, I could create a conda package for you. Just let me know your Python version and I'll upload it here or in Dropbox.

@ccordoba12 Sounds good; Python 3.7.7, IPython 7.13.0, conda 4.8.3. Btw, I'm using two separate envs at once, one of them has Python 3.7.5; if it makes a difference, I could limit the new install to one of them.

@ccordoba12 Apparently I forgot about the "View file" feature in "Files changed"; would the test work as intended if just copy-pasting these 3 files over? I also figure I should undo the other PR (12771) to test if this one works instead.


add kwargs radius= to .touch_tip(); adds test

Small PR adding a kew-word argument radius= to touch-tip commands
pipette.touch_tip(radius=0.5)  # percentage of the well's radius to move within
pipette.touch_tip(radius=1.0)  # default is 1.0 (100%)

Coverage increased (+0.02%) to 96.079% when pulling 509ceea01d42f2f28a2dde46ade1737632090acc on radius-kwarg-for-touch-tip into 2159cdd1f913499271da74af1c9a9d88db0ee987 on master.

Coverage increased (+0.02%) to 96.079% when pulling 509ceea01d42f2f28a2dde46ade1737632090acc on radius-kwarg-for-touch-tip into 2159cdd1f913499271da74af1c9a9d88db0ee987 on master.


fix(dal) - drop span to debug level

via The Tonight Show Starring Jimmy Fallon on GIPHY

bors merge


Using sync-exec instead of execSync

Dropping execSync dependency (package no longer maintained) in favor of
sync-exec

This closes #30 and closes #34

+1 having problems with execSync since version 0.12

Omg, not yet another dead project =( 23 this PR is open ....

@soswow: #33


POP3EmailService.java error: cannot find symbol

After merged pull request #30, I got this error when I make run foam2.
src/foam/nanos/notification/email/POP3EmailService.java:103: error: cannot find symbol
            EQ(Ticket.EMAIL_ID)
                     ^
  symbol:   variable EMAIL_ID
  location: class Ticket
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error

Currently, I comment out the following lines of code to bypass this error.
try{
    ArraySink sink = (ArraySink) ticketDAO.where(
    AND(
    EQ(Ticket.EMAIL_ID)
    )
).select(new ArraySink());
    List ticketList = sink.getArray();
    System.out.println(ticketList);

}
catch ( Throwable e ) {

}

We need to put emailId back in Ticket.js


Add api swagger spec for shelley stake pools

Issue Number
#1718
Overview

[x] Added swagger spec for shelley pools
[x] The entire Api type is now parameterised over apiPool
[x] ⚠ Breaking: Make both the haskell and jormungadnr API require a wallet id to list stake pools

Comments

bors r+

bors try

bors r+


mmap() failed: Cannot allocate memory size

I try to save in my Realm a lot of data, but after downloading and saving some data I get this error:
Terminating app due to uncaught exception 'RLMException', reason: 'mmap() failed: Cannot allocate memory size: 738197504 offset: 0'
I tried to make another Realm path with writeCopyToPath method and use it, but have the same result.

Can you explain me, how can I compress data?
ViewController:
for (NSInteger i = 0; i < json.count; i++) {
     [Product parseWithData:((NSMutableArray *)json)[i]];
}

Product.m:
+ (NSString *)primaryKey
{
    return @"xml_id";
}

+ (Product *)parseWithData:(NSDictionary *)dictionary {

    Product *product = [[Product alloc] init];
    product.xml_id =  [dictionary[@"XML_ID"] isKindOfClass:[NSString class]] ? dictionary[@"XML_ID"] : @"";
    product.name = [dictionary[@"name"] isKindOfClass:[NSString class]] ? dictionary[@"name"] : @"";

    [[RLMRealm defaultRealm] beginWriteTransaction];
    [[RLMRealm defaultRealm] addOrUpdateObject:product];
    [[RLMRealm defaultRealm] commitWriteTransaction];

    return product;
}

Are you storing around 1GB of data in the Realm file, or is the ~1GB file size much larger than you expect?
Writing a copy of the Realm can reduce the file size in some cases, but typically only if the Realm contains unused space due to having deleted a large amount of data or having updated large objects.

Yes, i am storing around 1 GB.

One of Realm's current limitations is that a Realm file cannot be larger than the amount of memory your application would be allowed to map in iOS. The exception you're seeing occurs when iOS denies Realm's attempt to map further memory, indicating that you've reached the maximum file size we support for that device. There are a few ways you can attempt to work around this limitation:

Split your data across multiple Realms, being sure to close those you're not actively using to minimize memory usage.
Compress your data within the Realm (using zlib, for example) to reduce the amount of space consumed by larger properties.

If you can share further information about the types of data you're storing, or even a sample dataset, we can provide more specific advice. If you're not comfortable sharing this information publicly feel free to do so privately by emailing<EMAIL_ADDRESS>and referencing this GitHub issue.

@JSONValidator: Were you able to resolve the issue by what @bdash proposed here in his comment or by any other measures you took?

@JSONValidator we're closing this issue since we haven't heard back from you in a while.

I get this error too, the DB is about 200+M
fatal error: 'try!' expression unexpectedly raised an error: Error Domain=io.realm Code=1 "mmap() failed: Cannot allocate memory size: 234881024 offset: 0" UserInfo={NSLocalizedDescription=mmap() failed: Cannot allocate memory size: 234881024 offset: 0, Error Code=1}: file /Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-7<IP_ADDRESS>/src/swift/stdlib/public/core/ErrorType.swift, line 54

Guys, I think the issue is still open. We are using the newest version of Realm available and we still get:
CRASH_INFO_ENTRY_0 fatal error: 'try!' expression unexpectedly raised an error: Error Domain=io.realm Code=9 "mmap() failed: Cannot allocate memory size:<PHONE_NUMBER> offset: 0" UserInfo={NSLocalizedDescription=mmap() failed: Cannot allocate memory size:<PHONE_NUMBER> offset: 0, Error Code=9}: file /Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-800.0.63/src/swift/stdlib/public/core/ErrorType.swift, line 178

Our database is fairly small, few MB, Realm 2.4.4, Swift 3 project. Happened in earlier versions of Realm too.

Please file a new issue and provide all of the information requested in the new issue template.

This was also reported in https://github.com/realm/realm-cocoa/issues/4820 and https://github.com/realm/realm-cocoa/issues/4642 but no response from the Realm team yet


Updated some logos and favicons

Please carefully review. It's midnight and I might've missed something. Thanks.

Why are you using such strange background sizing instead of whole pixel values?
background-size: 117.12px 138.24px;

Also prefer if .svg is used instead of .png as it scales better

Also prefer if .svg is used instead of .png as it scales better

Agreed

Why are you using such strange background sizing instead of whole pixel values?
background-size: 117.12px 138.24px;

It's the 40% of the original size. I'll get the circle bigger and make the logo 50% to make the numbers integers.

It also makes sense to have a "dark mode" version available in the repo when needed.

Two versions of the wordmark exist both in the branding repo and the theme assets.

Also uploaded the svg versions and used them wherever I can.

One thing left is this grayscale BoxBilling logo in the footer of the boxbilling theme.
I don't know what to replace this with.

Another thing is this icon that comes from the branding module

One thing left is this grayscale BoxBilling logo in the footer of the boxbilling theme. I don't know what to replace this with.

I'd be tempted to use the logo with black text, and apply a CSS greyscale filter.

What about this

Just use one of the existing files and apply a grayscale filter if it needs to be without colour, otheriwse just use the logo with colour in the footer, then let's get it merged and rid of that old bb logo popping up everywhere.

With a full grayscale effect and 50% opacity, the footer logo looks like this:


Stream Prioritization implementation

I recently started studying about QUIC, and when I was reading https://datatracker.ietf.org/doc/html/rfc9000#name-stream-prioritization I found that AddActiveStream in framer.go does not implements any logic for prioritizing streams.
RFC9000 says

QUIC does not provide a mechanism for exchanging prioritization information. Instead, it relies on receiving priority information from the application.
A QUIC implementation SHOULD provide ways in which an application can indicate the relative priority of streams. An implementation uses information provided by the application to determine how to allocate resources to active streams.

and  in https://datatracker.ietf.org/doc/html/rfc9000#name-sending-stream-states

An implementation might choose to defer allocating a stream ID to a stream until it sends the first STREAM frame and enters this state, which can allow for better stream prioritization.

Please guide me if I am missing something here, or can we add Stream Prioritization in Feature Backlog ?

See #437 and #3470.


OpenCL segfault

Hardware is a Ubuntu 14.04 laptop with integrated Intel graphics.
./configure --enable-opencl --enable-debug
...
gdb api/.libs/lt-tesseract

(gdb) run testing/phototest.tif -

Starting program: api/.libs/lt-tesseract testing/phototest.tif -
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[DS] Profile file not available (tesseract_opencl_profile_devices.dat); performing profiling.

Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:106
106	../sysdeps/x86_64/strlen.S: No such file or directory.
(gdb) backtrace
#0  strlen () at ../sysdeps/x86_64/strlen.S:106
#1  0x00007ffff77fe549 in writeProfileToFile (profile=0x81c810,
    serializer=0x7ffff780752f <serializeScore(ds_device*, void**, unsigned int*)>, file=0x7ffff78aa5e0 "tesseract_opencl_profile_devices.dat")
    at opencl_device_selection.h:268
#2  0x00007ffff7807a09 in OpenclDevice::getDeviceSelection ()
    at openclwrapper.cpp:3427
#3  0x00007ffff7800356 in OpenclDevice::InitOpenclRunEnv_DeviceSelection (
    argc=0) at openclwrapper.cpp:527
#4  0x00007ffff7800074 in OpenclDevice::InitEnv () at openclwrapper.cpp:431
#5  0x00007ffff75f01af in tesseract::TessBaseAPI::Init (this=0x7fffffffda40,
    datapath=0x0, language=0x405a13 "eng", oem=tesseract::OEM_DEFAULT,
    configs=0x7fffffffe6a0, configs_size=0, vars_vec=0x7fffffffda00,
    vars_values=0x7fffffffda20, set_only_non_debug_params=false)
    at baseapi.cpp:299
#6  0x0000000000404317 in main (argc=3, argv=0x7fffffffe688)
    at tesseractmain.cpp:181
...

Ray says,
I think there is a bug in InitDSProfile.
I suspect if you change if (status == SUCCESS) to if (status == SUCCESS && profile->numDevices > 0)
at openclwrapper.cpp:3426
then it will work. (You have no devices, and unlike the code here: https://docs.libreoffice.org/opencl/html/opencl__device__selection_8h_source.html
it doesn't correctly always add the native CPU as a device, and therefore attempts to write a null buffer, even though it has no devices.)

still trouble

note that if we get through this, I will probably enable OpenCL by default for Debian/Ubuntu

I'm in stuck. How this code (located at oclkernels.h:1086) can work:
pixels.v[i] = imageData[
    w*(BURSTS_PER_WORD*(PIXELS_PER_BURST*NUM_CHANNELS)/CHAR_VEC_WIDTH) +
    b*((PIXELS_PER_BURST*NUM_CHANNELS)/CHAR_VEC_WIDTH)  + i];

where maximum value of index can be 4x higher that size of imageData array
Variables are:
w in range [0 .. count of DWORDS in image),
b in range [0 .. BURSTS_PER_WORD),
i in range [0 .. (PIXELS_PER_BURST*NUM_CHANNELS)/CHAR_VEC_WIDTH )
Constants values:
#define NUM_CHANNELS 4
#define CHAR_VEC_WIDTH 8
#define PIXELS_PER_WORD 32
#define PIXELS_PER_BURST 8
#define BURSTS_PER_WORD (PIXELS_PER_WORD/PIXELS_PER_BURST)

I get a similar looking segfault (but I didn't confirm with gdb) even on a computer that contains a discrete graphics card. Is OpenCL working for anyone at all?

it worked for me on some images (there are some issues reported already - IMO 2 color tiff should work). Last week it segfault on linux. I will try windows today...
Also on forum there are some experiments[1]
[1] https://mail.google.com/mail/u/0/#search/opencl

I can't get fully worked OpenCL configuration. But I have a much different environment (without any other dependencies except leptonica). I've got errors like:
Access violation reading location 0x58B87000
That's a position after imageData host's buffer.

I am not sure what do you mean with  "any other dependencies except leptonica" - to run tesseract with opencl support you need libtiff and opencl sdk that support your hardware...

@jbreiden:
it works for me on windows:
tesseract-opencl.exe ....\testing\phototest.tif -
[OD] Load opencl.dll successful!
[DS] Profile file not available (tesseract_opencl_profile_devices.dat); performi
ng profiling.
[DS] Device: "Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz" (OpenCL) evaluation...
[OD] write<EMAIL_ADDRESS>succesfully
[DS] Device: "Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz" (OpenCL) evaluated
[DS]          composeRGBPixel: 0.038657 (w=1.2)
[DS]            HistogramRect: 0.325462 (w=2.4)
[DS]       ThresholdRectToPix: 0.042622 (w=4.5)
[DS]        getLineMasksMorph: 0.119543 (w=5.0)
[DS]                    Score: 1.617007
[DS] Device: "Intel(R) HD Graphics 4600" (OpenCL) evaluation...
[OD] write binary[kernel-Intel(R)_HD_Graphics_4600.bin] succesfully
[DS] Device: "Intel(R) HD Graphics 4600" (OpenCL) evaluated
[DS]          composeRGBPixel: 0.153912 (w=1.2)
[DS]            HistogramRect: 0.449184 (w=2.4)
[DS]       ThresholdRectToPix: 0.048737 (w=4.5)
[DS]        getLineMasksMorph: 0.027403 (w=5.0)
[DS]                    Score: 1.619068
[DS] Device: "(null)" (Native) evaluation...
[DS] Device: "(null)" (Native) evaluated
[DS]          composeRGBPixel: 0.088750 (w=1.2)
[DS]            HistogramRect: 0.388795 (w=2.4)
[DS]       ThresholdRectToPix: 0.182945 (w=4.5)
[DS]        getLineMasksMorph: 0.613772 (w=5.0)
[DS]                    Score: 4.931717
[DS] Scores written to file (tesseract_opencl_profile_devices.dat).
[DS] Device[1] 1:Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz score is 1.617007
[DS] Device[2] 1:Intel(R) HD Graphics 4600 score is 1.619068
[DS] Device[3] 0:(null) score is 4.931717
[DS] Selected Device[1]: "Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz" (OpenCL)
Page 1
This is a lot of 12 point text to test the
ocr code and see if it works on all types
of file format.

Just made a bit changes to exclude libtiff dependency.
I have my own input and output streams.
I see, that I can't request any attention without prepare reproducible error in your environment.

spSerg: you can request attention, but if we can't reproduce you need to supply more information, such as a backtrace from gdb or the output of valgrind (either works much better when ./configure is run with --enable-debug)

I'm having an unexpectedly hard time with this.

#0  strlen () at ../sysdeps/x86_64/strlen.S:106
#1  0x00007ffff77d3c5f in writeProfileToFile (profile=0x80ac20,
    serializer=0x7ffff77dcc45 <serializeScore(ds_device*, void**, unsigned int*)>,
    file=0x7ffff78a0b20 "tesseract_opencl_profile_devices.dat") at opencl_device_selection.h:268
#2  0x00007ffff77dd11f in OpenclDevice::getDeviceSelection () at openclwrapper.cpp:3427
#3  0x00007ffff77d5a6c in OpenclDevice::InitOpenclRunEnv_DeviceSelection (argc=0) at openclwrapper.cpp:527
#4  0x00007ffff77d578a in OpenclDevice::InitEnv () at openclwrapper.cpp:431
#5  0x00007ffff75efb2f in tesseract::TessBaseAPI::Init (this=0x7fffffffd9f0, datapath=0x0,
    language=0x405a13 "eng", oem=tesseract::OEM_DEFAULT, configs=0x7fffffffe650, configs_size=0,
    vars_vec=0x7fffffffd9b0, vars_values=0x7fffffffd9d0, set_only_non_debug_params=false) at baseapi.cpp:299
#6  0x0000000000404327 in main (argc=3, argv=0x7fffffffe638) at tesseractmain.cpp:181

Please check master branch or commits f46dfdc29da2bbacf6635752d9f28133ad4e10fe and 5db760215fa05f8dd722f66bc6a3ac438a5cd8d4.


[?] A way to plug in my pytorch model in fiftyone?

Is there a way to load my PyTorch model (not from the model zoo) as fiftyone.utils.torch.TorchImageModel and get the embeddings with that wrapped model to compute the uniqueness?

Hi @Ayumu-J-S 👋
Absolutely! Here's how you can load and use a custom Torch model via the TorchImageModel class:
import os
import eta

import fiftyone as fo
import fiftyone.zoo as foz
import fiftyone.utils.torch as fout

labels_path = os.path.join(
    eta.constants.RESOURCES_DIR, "imagenet-labels-no-background.txt"
)

config = fout.TorchImageModelConfig(
    {
        "entrypoint_fcn": "torchvision.models.mobilenet.mobilenet_v2",
        "entrypoint_args": {"pretrained": True},
        "output_processor_cls": "fiftyone.utils.torch.ClassifierOutputProcessor",
        "labels_path": labels_path,
        "image_min_dim": 224,
        "image_max_dim": 2048,
        "image_mean": [0.485, 0.456, 0.406],
        "image_std": [0.229, 0.224, 0.225],
        "embeddings_layer": "<classifier.1",
    }
)
model = fout.TorchImageModel(config)

dataset = foz.load_zoo_dataset("quickstart")
embeddings = dataset.compute_embeddings(model)

Under the hood, the torch model is loaded via:
model = entrypoint_fcn(**entrypoint_args)

and the other parameters in the config allow you to specify any required preprocessing, post-processing, and, in the case of generating embeddings, the name of the layer to extract and use as embeddings.

Thank you for your quick reply. This seems like it is still using one of the torch vision pre-trained models. Is there a way to use a customized model (nn.module) that I created, which would have a unique CNN architecture trained with a unique dataset for extracting the embeddings? I was wondering if I could do this since I wanted to calculate the uniqueness from the distribution of the dataset that I am using.

I used a torchvision model for illustrative purposes, but:
model = entrypoint_fcn(**entrypoint_args)

can be any nn.module. This PR contains more documentation on this. Check it out!

Thank you for your reply. Sorry, this is such a back and forth, but I didn't get this very well.
From what I understand (and I also looked at the TorchImageModelConfig), the entrypoint_fcn has to be a string which specifies one of the models in manifest_torch.json, which if I am using something like PyTorch lightning, I am not able to use this.
How do I use my custom unique model implemented with nn.module (which has a unique architecture) that is not registered in manifest_torch.json but rather stored in a python file locally?
If this is not a functionality then that is fine, but I just wanted to know if that is possible.

entrypoint_fcn can be any function. Like the name of a function in a module or package that you wrote. It just needs to return a nn.module.

Ah, I see. This does make sense and it seems to be working with my model. Thank you:)


Running tools\generate.cmd deletes the WinRT content in structs.g.dart

Something went wrong here when I added the structs used by Gamepad. Need to figure out what's going on here.

Oops, that's my bad. The problem is in the implementation of the generateWinRTStructs function. I'm sending a PR right now.


Issue while Running the squash website

Followed the Readme section of squash website, placed the pickle files properly in the respective folders and all scripts are running properly yet there is no output. How to solve this error?

These are the outputs of my scripts. Please suggest some solution to proceed further.

Hi Ajinkya, thanks for the terminal logs they look great to me. Can you run an ls in the folder squash-generation/squash and squash-generation/squash/generated_outputs? Also, a cat on squash-generation/squash/generated_outputs/queue/queue.txt and ls on squash-generation/squash/generated_outputs/inputs will be helpful.
Overall this seems like an I/O issue, the backend code seems to be running.

Hey, @martiansideofthemoon thank you for your prompt reply. It worked for me. Thank you so much


Fix wrong offense in Style/SymbolProc

While upgrading to rubocop 1.6.1, I noticed that the Style/SymbolProc was registering an offense on the following code:
array.map { _2.first }

And suggesting to autocorrect to array.map(&:first), which is incorrect in such case.
I believe this was introduced in https://github.com/rubocop-hq/rubocop/pull/9127
I suggest changing the cop to only register offenses for the _1 numbered block argument.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[ ] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Thanks for catching this!
https://github.com/rubocop-hq/rubocop/blob/701468b5dfea527d991fba5ebd7b181d6750a1a8/lib/rubocop/cop/style/symbol_proc.rb#L25-L30
You can fix this more simply by changing line 28 to ${(args (arg _)) 1} (ie. match only numblocks with 1 numeric arg).

You can fix this more simply by changing line 28 to ${(args (arg _)) 1} (ie. match only numblocks with 1 numeric arg). Then the rest of the code doesn't need to be changed.
This is indeed a much better solution, thanks

Great, thanks!


Option to disable automatic triggering of the function help popup.

Is your feature request related to a problem? Please describe.
pyright shows the parameter help popup every time I write a opening bracket parenthesis after a function.
I don't need the parameter help of the functions I use regularly. But I need it sometimes.
Describe the solution you'd like
So... I want to have a option to disable the automatic triggering of the popup. But that option shouldn't permanently disable it. It should only disable the automatic triggering.
Additional context
OS: Windows 10
Text Editor: Sublime 4121
And yes I tried to set "show_definitions" from sublime settings to false but it has no effects.

You can add:
    "disabled_capabilities": {
        "signatureHelpProvider": true,
    },

in LSP-pyright options.

You can add:
    "disabled_capabilities": {
        "signatureHelpProvider": true,
    },

in LSP-pyright options.

But this is disabling it permanently. I also can't invoke it manually using ctrl-alt-space. I want to be able to invoke it manually.

I want to be able to invoke it manually.

This sounds like a LSP question then.

    "disabled_capabilities": {
        "signatureHelpProvider.triggerCharacters": true,
    },

Ohk thanks. Will try this. And is there any documentation for all the supported options. In the lsp-pyright settings the above mentioned options are not written anywhere.

Ohk thanks. Will try this. And is there any documentation for all the supported options. In the lsp-pyright settings the above mentioned options are not written anywhere.

it's not pyright's setting but lsp's.

Ohk thanks. Will try this. And is there any documentation for all the supported options. In the lsp-pyright settings the above mentioned options are not written anywhere.

it's not pyright's setting but lsp's.

Oh. The first one was lsp-pyright's. So I thought that it would also be for the same.

Oh. The first one was lsp-pyright's. So I thought that it would also be for the same.

Neither of them belongs to lsp-pyrght. all lsp.

I see. But can I get the list of available options from somewhere?

See https://lsp.sublimetext.io/guides/client_configuration/

:)

See https://lsp.sublimetext.io/guides/client_configuration/

:) Thanks.


General flakiness of our end-to-end suite

For example, you have a 35% chance of having the following test to fail:
[Conformance] Certificates with issuer type ACME HTTP01 ClusterIssuer (Gateway) Creating a Gateway with annotations for issuerRef and other Certificate fields

Failure count
Failure rate
Test name

10
35%
[Conformance] Certificates with issuer type ACME HTTP01 ClusterIssuer (Gateway) Creating a Gateway with annotations for issuerRef and other Certificate fields

10
35%
[Conformance] Certificates with External Account Binding with issuer type ACME HTTP01 ClusterIssuer (Gateway) Creating a Gateway with annotations for issuerRef and other Certificate fields

10
35%
[Conformance] Certificates with issuer type ACME HTTP01 Issuer (Gateway) Creating a Gateway with annotations for issuerRef and other Certificate fields

10
35%
[Conformance] Certificates with External Account Binding with issuer type ACME HTTP01 Issuer (Gateway) Creating a Gateway with annotations for issuerRef and other Certificate fields

8
29%
[Conformance] Certificates with issuer type CA Issuer Creating a Gateway with annotations for issuerRef and other Certificate fields

8
29%
[Conformance] Certificates with issuer type ACME HTTP01 ClusterIssuer (Ingress) Creating a Gateway with annotations for issuerRef and other Certificate fields

8
29%
[Conformance] Certificates with issuer type ACME DNS01 ClusterIssuer Creating a Gateway with annotations for issuerRef and other Certificate fields

8
29%
[Conformance] Certificates with issuer type VaultAppRole Issuer Creating a Gateway with annotations for issuerRef and other Certificate fields

8
29%
[Conformance] Certificates with issuer type SelfSigned Issuer Creating a Gateway with annotations for issuerRef and other Certificate fields

8
29%
[Conformance] Certificates with External Account Binding with issuer type ACME DNS01 ClusterIssuer Creating a Gateway with annotations for issuerRef and other Certificate fields

8
29%
[Conformance] Certificates with External Account Binding with issuer type ACME DNS01 Issuer Creating a Gateway with annotations for issuerRef and other Certificate fields

8
29%
[Conformance] Certificates with issuer type ACME DNS01 Issuer Creating a Gateway with annotations for issuerRef and other Certificate fields

8
29%
[Conformance] Certificates with issuer type CA ClusterIssuer Creating a Gateway with annotations for issuerRef and other Certificate fields

8
29%
[Conformance] Certificates with issuer type SelfSigned ClusterIssuer Creating a Gateway with annotations for issuerRef and other Certificate fields

8
27%
[Conformance] Certificates with External Account Binding with issuer type ACME HTTP01 Issuer (Gateway) should allow updating an existing certificate with a new DNS Name

8
29%
[Conformance] Certificates with issuer type External ClusterIssuer Creating a Gateway with annotations for issuerRef and other Certificate fields

8
29%
[Conformance] Certificates with issuer type VaultAppRole ClusterIssuer Creating a Gateway with annotations for issuerRef and other Certificate fields

8
29%
[Conformance] Certificates with issuer type External Issuer Creating a Gateway with annotations for issuerRef and other Certificate fields

8
29%
[Conformance] Certificates with issuer type ACME HTTP01 Issuer (Ingress) Creating a Gateway with annotations for issuerRef and other Certificate fields

8
29%
[Conformance] Certificates with External Account Binding with issuer type ACME HTTP01 ClusterIssuer (Ingress) Creating a Gateway with annotations for issuerRef and other Certificate fields

8
27%
[Conformance] Certificates with issuer type ACME HTTP01 ClusterIssuer (Gateway) should allow updating an existing certificate with a new DNS Name

8
29%
[Conformance] Certificates with External Account Binding with issuer type ACME HTTP01 Issuer (Ingress) Creating a Gateway with annotations for issuerRef and other Certificate fields

6
22%
[Conformance] Certificates with External Account Binding with issuer type ACME HTTP01 ClusterIssuer (Gateway) should allow updating an existing certificate with a new DNS Name

5
19%
[Conformance] Certificates with issuer type ACME HTTP01 Issuer (Gateway) should allow updating an existing certificate with a new DNS Name

5
19%
[Conformance] Certificates with issuer type ACME HTTP01 ClusterIssuer (Gateway) should issue a certificate that defines a long domain

5
17%
[cert-manager] Certificate SecretTemplate if values are modified on the Certificate's SecretTemplate, than those values should be reflected on the Secret

5
17%
[Conformance] Certificates with issuer type ACME HTTP01 Issuer (Ingress) should allow updating an existing certificate with a new DNS Name

5
18%
[cert-manager] Certificate AdditionalCertificateOutputFormats renewing a Certificate should have output format values reflect the new certificate and private key

5
17%
[cert-manager] Certificate SecretTemplate should add cert-manager manager to existing Annotation and Labels fields which are added to SecretTemplate, should not be removed if they are removed by the third party

4
16%
[Conformance] Certificates with External Account Binding with issuer type ACME HTTP01 ClusterIssuer (Gateway) should issue an Ed25519, defaulted certificate for a single distinct DNS Name

4
16%
[Conformance] Certificates with issuer type ACME HTTP01 ClusterIssuer (Gateway) should issue another certificate with the same private key if the existing certificate and CertificateRequest are deleted

4
16%
[Conformance] Certificates with External Account Binding with issuer type ACME HTTP01 ClusterIssuer (Gateway) should issue a basic, defaulted certificate for a single distinct DNS Name

4
16%
[Conformance] Certificates with External Account Binding with issuer type ACME HTTP01 Issuer (Gateway) should issue a basic, defaulted certificate for a single distinct DNS Name

4
16%
[Conformance] Certificates with External Account Binding with issuer type ACME HTTP01 ClusterIssuer (Gateway) should issue an ECDSA, defaulted certificate for a single distinct DNS Name

4
16%
[Conformance] Certificates with issuer type ACME HTTP01 ClusterIssuer (Gateway) should issue an Ed25519, defaulted certificate for a single distinct DNS Name

4
16%
[Conformance] Certificates with issuer type ACME HTTP01 Issuer (Gateway) should issue an Ed25519, defaulted certificate for a single distinct DNS Name

4
16%
[Conformance] Certificates with External Account Binding with issuer type ACME HTTP01 Issuer (Gateway) should issue a certificate that defines a long domain

4
16%
[Conformance] Certificates with External Account Binding with issuer type ACME HTTP01 ClusterIssuer (Gateway) should issue a certificate that defines a long domain

4
16%
[Conformance] Certificates with External Account Binding with issuer type ACME HTTP01 Issuer (Gateway) should issue an ECDSA, defaulted certificate for a single distinct DNS Name

4
16%
[Conformance] Certificates with External Account Binding with issuer type ACME HTTP01 ClusterIssuer (Gateway) should issue another certificate with the same private key if the existing certificate and CertificateRequest are deleted

4
14%
[cert-manager] CA Injector for validating webhooks should update data when the certificate changes

4
16%
[Conformance] Certificates with issuer type ACME HTTP01 ClusterIssuer (Gateway) should issue an ECDSA, defaulted certificate for a single distinct DNS Name

4
16%
[Conformance] Certificates with issuer type ACME HTTP01 Issuer (Gateway) should issue a basic, defaulted certificate for a single distinct DNS Name

4
16%
[Conformance] Certificates with External Account Binding with issuer type ACME HTTP01 Issuer (Gateway) should issue an Ed25519, defaulted certificate for a single distinct DNS Name

4
16%
[Conformance] Certificates with issuer type ACME HTTP01 ClusterIssuer (Gateway) should issue a basic, defaulted certificate for a single distinct DNS Name

4
14%
[cert-manager] CA Injector for api services should update data when the certificate changes

4
16%
[Conformance] Certificates with External Account Binding with issuer type ACME HTTP01 Issuer (Gateway) should issue another certificate with the same private key if the existing certificate and CertificateRequest are deleted

4
16%
[Conformance] Certificates with issuer type ACME HTTP01 Issuer (Gateway) should issue another certificate with the same private key if the existing certificate and CertificateRequest are deleted

4
16%
[Conformance] Certificates with issuer type ACME HTTP01 Issuer (Gateway) should issue an ECDSA, defaulted certificate for a single distinct DNS Name

4
16%
[Conformance] Certificates with issuer type ACME HTTP01 Issuer (Gateway) should issue a certificate that defines a long domain

3
11%
[cert-manager] Certificate SecretTemplate should add Annotations and Labels to the Secret when the Certificate's SecretTemplate is updated, then remove Annotations and Labels when removed from the SecretTemplate

3
11%
[Conformance] Certificates with issuer type CA ClusterIssuer should allow updating an existing certificate with a new DNS Name

3
11%
[cert-manager] Certificate SecretTemplate should update the values of keys that have been modified in the SecretTemplate

2
7%
[Conformance] Certificates with issuer type VaultAppRole ClusterIssuer should allow updating an existing certificate with a new DNS Name

2
8%
[cert-manager] Certificate AdditionalCertificateOutputFormats should add additional output formats to the Secret when the Certificate's AdditionalOutputFormats is updated, then removed when removed from AdditionalOutputFormats

2
7%
[Conformance] Certificates with External Account Binding with issuer type ACME DNS01 ClusterIssuer should allow updating an existing certificate with a new DNS Name

2
7%
[Conformance] Certificates with issuer type ACME HTTP01 ClusterIssuer (Ingress) should allow updating an existing certificate with a new DNS Name

2
7%
[Conformance] Certificates with issuer type External ClusterIssuer should allow updating an existing certificate with a new DNS Name

2
7%
[Conformance] Certificates with External Account Binding with issuer type ACME HTTP01 ClusterIssuer (Ingress) should allow updating an existing certificate with a new DNS Name

1
4%
[Conformance] CertificateSigningRequests CertificateSigningRequest with issuer type SelfSigned ClusterIssuer should issue an Ed25519 certificate for a single distinct DNS Name

1
4%
[Conformance] Certificates with issuer type SelfSigned ClusterIssuer should allow updating an existing certificate with a new DNS Name

1
4%
[Conformance] CertificateSigningRequests CertificateSigningRequest with issuer type SelfSigned ClusterIssuer should issue a certificate that defines a Common Name, DNS Name, and sets a duration

1
4%
[Conformance] Certificates with External Account Binding with issuer type ACME DNS01 Issuer should allow updating an existing certificate with a new DNS Name

1
4%
[cert-manager] Approval CertificateRequests a service account with the approve permissions for cluster scoped issuers.example.io/test-issuer should be able to deny requests

1
4%
[Conformance] CertificateSigningRequests CertificateSigningRequest with issuer type SelfSigned Issuer should issue an Ed25519 certificate for a single Common Name

1
4%
[Conformance] CertificateSigningRequests CertificateSigningRequest with issuer type SelfSigned Issuer should issue an ECDSA certificate for a single distinct DNS Name

1
4%
[Conformance] CertificateSigningRequests CertificateSigningRequest with issuer type SelfSigned ClusterIssuer should issue a signing CA certificate that has a large duration

1
4%
[Conformance] Certificates with issuer type ACME DNS01 ClusterIssuer should allow updating an existing certificate with a new DNS Name

1
4%
[Conformance] CertificateSigningRequests CertificateSigningRequest with issuer type SelfSigned ClusterIssuer should issue a certificate that defines a Common Name and IP Address

1
4%
[cert-manager] Approval CertificateRequests a service account with the approve permissions for namespaced scoped issuers.example.io/.test-issuer should be able to deny requests

1
4%
[cert-manager] Approval CertificateRequests a service account with the approve permissions for cluster scoped issuers.example.io/test-issuer should be able to approve requests

1
4%
[Conformance] CertificateSigningRequests CertificateSigningRequest with issuer type SelfSigned Issuer should issue a certificate that includes only a URISANs name

1
4%
[Conformance] Certificates with External Account Binding with issuer type ACME DNS01 ClusterIssuer should issue a certificate that defines a wildcard DNS Name and its apex DNS Name

1
4%
[Conformance] Certificates with External Account Binding with issuer type ACME HTTP01 Issuer (Ingress) should allow updating an existing certificate with a new DNS Name

1
4%
[cert-manager] Certificate AdditionalCertificateOutputFormats if a third party set additional output formats, they then get added to the Certificate, when they are removed again they should persist as they are still owned by a third party

1
4%
[Conformance] Certificates with issuer type ACME DNS01 Issuer should allow updating an existing certificate with a new DNS Name

How these numbers are computed:

Count of failures is the absolute number of failures in the last ~30 tests (--limit=10 is confusing! I need to look at that)
Failure rate = (Count of failures)/(Count of failures + Count of passed)

The data comes from this command, run on March 16th 2022 15:00 CET:
go install github.com/maelvls/prowdig@75dc0b96
prowdig tests most-failures --limit=10

/kind cleanup

/kind flake

The Gateway flakiness appears whenever, in Contour's logs, the following message appears over and over:
20:2022-03-22T15:24:17.051444021Z stderr F time="2022-03-22T15:24:17Z" level=info msg="Gateway not found in cache." context=GatewayAPIProcessor

This has shown up in:

https://prow.build-infra.jetstack.net/view/gs/jetstack-logs/pr-logs/pull/cert-manager_cert-manager/4983/pull-cert-manager-e2e-v1-23/1507057031587041280

Not sure if this is related, but I've encountered a lot of flakiness when trying to use cert-manager (in Gateway API mode) to provision SSL certificates for my kubernetes cluster/website. Except that for me it's reversed! (generally 4 of the 10 "challenges" resolve/become-valid, but then the rest become and stay "pending" from then on)
It might be a different issue than what you're seeing above, but I figured I would link it just in case: https://github.com/cert-manager/cert-manager/issues/5260


TypeError: 'NoneType' object is not subscriptable

Untitled 1.docx
ATTACH WHOLE ERROR AND MY SCRIPT DOCUMENT WITH THIS
Hello,
I am trying to display form fields in report but following error occur.
Error:
odoo.addons.base.ir.ir_qweb.qweb.QWebException: 'NoneType' object is not subscriptable
Traceback (most recent call last):
File "/usr/local/sampada/eclipse-workspace/odoo11/odoo/addons/base/ir/ir_qweb/qweb.py", line 343, in _compiled_fn
return compiled(self, append, new, options, log)
File "

Hi @dwarkab, I think you have the wrong repository here - this looks related to odoo and not response


Add --prefix arg to enable prefix in QnA

Proposed Changes
Add --prefix arg to enable prefix in messages in QnAMaker.
Testing
Three new tests were added to validate the correct use of the prefix:

Test for no prefixing without --prefix
Test for normal logging with --prefix
Test for error logging with --prefix

Pull Request Test Coverage Report for Build 445

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 64.035%

Totals

Change from base Build 424:
0.03%

Covered Lines:
3627

Relevant Lines:
5394

💛  - Coveralls

Replaced with https://github.com/Microsoft/botbuilder-tools/pull/558


Add graphviz in setup_pash

Does anyone suspect why CI is not running at all? Here and at #542 ( @dkarnikis if you have any idea that would be helpful)


Update Readme.md

Changed description how to use a relative filepath as iso location.

Referencing #272

Referencing #272


offline access

need a way of viewing all a users content - both the single-page app and their pdf's etc offline.

Would a service worker be any use? for notifications too ? https://developers.google.com/web/fundamentals/primers/service-workers/


Font changes not saved in configuration file

On both Debian & Arch, font changes made in qt6ct gui are not saved on exit.
Restarting qt6ct, the original font definition is still there.
This relates to .config/qt6ct/qt6ct.conf  not  fonts.conf
Maybe a recent regression (0.7?) as I'm sure this used to work fine

Not a recent regression, same issue with 0.6.
Can't build 0.5 with current Qt6 libraries.

Problem seems intermittent. If [OK] is pressed after the font change, it is usually saved.
However, if [Apply] is pressed first, it is usually lost.

I'm enable to reproduce (manjaro + gnome + wayland). Please, provide your qt6ct.conf and "export" output.

I guess you meant unable to reproduce... ;-)
I'm using Xfce with Xorg.
I've noticed that font settings are saved after hitting [Apply], but the changes are then overwritten on hitting [OK] after waiting a few seconds (for the change to appear on screen).
If qt6ct is closed, after hitting [Apply], or if [OK] hit immediately, the new settings are preserved.
output.txt
qt6ct.conf.txt

Try latest version from git. Looks like it works fine with your config.

For test purposes try to disable all style sheets.

Well done!
Disabling 'Sytle Sheets' fixes the problem

I have tested version 0.8 on Debian and Arch, and with a style sheet enabled, the bug is still there.


Provide methods from System.Math

Methods like sine, cosine, min, max and other elementary functions as well as fields like Pi should be available in AL.

Thank you for the suggestion! Do you have any scenarios in mind? We are interested in knowing about the use cases you have for these.

I'm trying to migrate a BingMaps solution to AL.
One feature of the solution is to calculate the bounding box around a contact (by latitude/longitude) and show other contacts in this bounding box. For calculating the bounding box I need some of the trigonometric functions and constants (http://aboutsqlserver.com/2013/09/03/optimizing-sql-server-spatial-queries-with-bounding-box/ fig. 11).

Any update on this?
A NumberManagement Codeunit (like COD41 TextManagement) with mathematical functions would be very useful.
The first 2 functions can already be moved from COD5780 "Whse. Cross-Dock Management" Maximum and Minimum.

Well, I would say MAX and MIN should be implemented as global functions rather than in a CU.
If implementing in a CU, I need to declare a variable of type codeunit to use it.

I have a requirement for old functionality in our ISV I am bringing forward to allow user entered formulas be parsed and it allows a user to enter almost every function inside of the System.Math library.  We need these function exposed if possible Abs, Ceiling, Exp, Floor, IEEERemainder, Min, Max, Sqrt, Truncate, Pow.
I think that this functionality would make most sense as a codeunit. Just like System.Math is a library, a codeunit is the AL equivalent. If we cannot get System.Math features we lose a core feature in our software.


Usage

[x] It'd be nice if the readme explicitly stated that this needs Dyalog APL and how to do so.
[x] Use the Dyalog's standard file extensions (.aplf/.apln/.apls for functions, namespaces, shell scripts etc.) instead of GNU APL's .apl
[ ] Move ⎕IO←0 inside the namespace so it doesn't pollute the environment. This will also make it possible to use the code from other APL code.

Hello,
Thank you for your feedback. I've addressed the first two points in the latest commit, but the reason ⎕IO←0 was kept outside the namespace is that Co-dfns doesn't support system functions (besides ⎕NC, ⎕SIGNAL, and ⎕DR), so compiling TRANSFORMER wouldn't have been possible were the index origin set therein. However, ⎕IO←0 can be removed altogether, especially since Co-dfns is by default 0-based, and the README would be updated accordingly to specify the indexing. What do you think?

That could work, but maybe even better is to move the actual namespace into APLSource/TRANSFORMER.apln (file names should match contents) and add APLSource/⎕IO.apla containing just 0. This way, one can Link into # with the same effect. This also allows you to include instructions on how to actually import the namespace into one's APL session:
      ]Import # /path/to/APLSource
Imported: # ← /path/to/APLSource

In fact, one can launch directly from the shell with dyalog LOAD=/path/to/APLSource and it'll auto-Link to #.

I see, that makes sense. I'll make these changes and release the commit later today.

I've done as you recommended. Please let me know if you have any other related suggestions, and we can reopen this issue if need be.


Bitbucket server does not send X-Hook-UUID header

Looks like all other interfaces are the same, but the X-Hook-UUID header never gets set in bitbucket server.
Bitbucket: https://confluence.atlassian.com/bitbucket/event-payloads-740262817.html
Bitbucketserver: https://confluence.atlassian.com/bitbucketserver/event-payload-938025882.html#Eventpayload-httpheadersHTTPheaders
It appears the X-Hook-UUID is only used as a comparison if the UUID is actually set.
I'm proposing that we validate that the X-Hook-UUID header exists only if a user sets a value to the secret UUID in the bitbucket config.

@jadunham1 solved in release v5.1.0

Can you reference a commit/PR for this fix? It's not apparent to me in the code.


Copilot randomly creating 20 new files

Does this issue occur when all extensions are disabled?: No

VS Code Version: 1.95.3
OS Version: macOs Sequoia 15.1.1 (24B91)

Steps to Reproduce:

Load any vscode project
Ask a question in chat, 20 files Untitled-1 - Untitled-20 are created

After

Please try starting a new chat via the + in the top right.