KAFKA-9110: Improve efficiency of disk reads when TLS is enabled

Avoid a buffer allocation and a buffer copy per file read.
Ensure we flush netWriteBuffer successfully before reading from
disk to avoid wasted disk reads.
64k reads instead of 8k reads to reduce the number of disk reads
(improves efficiency for magnetic drives and reduces the number of
system calls).
Update SslTransportLayer.write(ByteBuffer) to loop until the socket
buffer is full or the src buffer has no remaining bytes.
Renamed MappedByteBuffers to ByteBufferUnmapper since it's also
applicable for direct byte buffers.
Skip empty RecordsSend
Some minor clean-ups for readability.

I ran a simple consumer perf benchmark on a 6 partition topic (large
enough not to fit into page cache) starting from the beginning of the
log with TLS enabled on my 6 core MacBook Pro as a sanity check.
This laptop has fast SSDs so it benefits less from the larger reads
than the case where magnetic disks are used. Consumer throughput
was ~260 MB/s before the changes and ~300 MB/s after
(~15% improvement).
Credit to @junrao  for pointing out that this code could be more efficient.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@junrao, I ran a simple consumer perf benchmark on a 6 partition topic (large enough not to fit into page cache) starting from the beginning of the log with TLS enabled on my 6 core MacBook Pro as a sanity check. Consumer throughput was ~260 MB/s before the changes and ~300 MB/s after (~15% improvement). I also tried increasing transfer size to 64k since the default send socket buffer size for the broker is actually 100k. That increased consumer throughput to ~320 MB/s. This was more of a sanity check than a reliable benchmark though. Given that, do you think we stick to 32k or go with 64k for the transfer size?

retest this please

All tests passed, rebased against master to include https://github.com/apache/kafka/commit/7bdbdf19009709e83cb8c679a0c1c0972746555c.

Reduced the transfer size to 32k again after some more testing. The benefit of going to 64k is not clear after running the consumer perf tool more times so it makes sense to be conservative. Checked with Jun that he's fine with that. Two jobs passed, one had a couple of flaky tests:

kafka.api.UserClientIdQuotaTest.testThrottledProducerConsumer
kafka.api.UserClientIdQuotaTest.testQuotaOverrideDelete

Merging to trunk.


Add a way to disable TLS verification for certain hosts only

From OkHttp 4.7.0:

HandshakeCertificates.Builder.addInsecureHost() makes it easy to turn off security in private development environments that only carry test data. Prefer this over creating an all-trusting TrustManager because only hosts on the allowlist are insecure. From our DevServer sample:
val clientCertificates = HandshakeCertificates.Builder()
    .addPlatformTrustedCertificates()
    .addInsecureHost("localhost")
    .build()

val client = OkHttpClient.Builder()
    .sslSocketFactory(clientCertificates.sslSocketFactory(), clientCertificates.trustManager)
    .build()

Hi, I just opened a PR to address this issue. Please check it out. Thanks!


Adding README and cdevents-visulaiser project under poc

Adding README content for reference implementation details, before we start.
This PoC is as per the presentation made on the Workgroup meetings, https://github.com/cdevents/presentations/pull/25

Is there anything preventing this from merging (apart from the DOC check)?

@rjalander it would be nice to merge this PR - if you have a chance could you squash the commits and fix the DCO check, so we can merge it?

@afrittoli fixed DCO check and squashed commits, can we merge this poc project

@rjalander - the commit is not signed, but I'll bypass this time :)


Improve cloud CPU specification

The cloud section of the site does not indicate how CPU usage scales. This would be a great addition. Independent CPU/RAM allocation may be cool as well.

Done with resources section in service manifest.
In the end of the week we'll update docs and describe that on special sections.


handle null useragent version

All PRs:

[X] Has tests
[X] Documentation updated (Not applicable)

This is a potential fix for #299, I'm not too familiar with useragent versioning but this seems like it will work. I've tested it against 0.10.0 which is mentioned in the issue.
I'm also not really loving VERSION_NIL as a constant name but couldn't think of anything better. 🤔

I'm happy with the VERSION_NIL thing. Support always means that you're on at least version X, not at most.
Can you add a similar guard to https://github.com/twitter/secureheaders/blob/df0364633e6fd3b638dc3f5238b5a009204a96ba/lib/secure_headers/headers/policy_management.rb#L220 as well? It might be good guarding against all missing attributes, but we should handle all of the known bad attributes.

I add a check to PolicyManagement and also renamed the constant to FALLBACK_VERSION (I prefer that especially since Version.new("0") doesn't really define nil.

🙇

Nice work guys!


k8s nodes and localhost not able to reach service DNS

Current Behavior
I have set up a k8s cluster with kubespray version v2.20.0 and container_manager docker. Kubespray code ran fine. But k8s cluster nodes are not able to reach service dns ..svc.cluster.local and localhost is not able to reach service ip as well as service dns.
docker_options: "--ip-masq=false --bridge=none"
docker_storage_options: -s overlay2
resolvconf_mode: docker_dns
docker_iptables_enabled: "false
Your Environment

Calico version  : v3.23.3
Orchestrator version (e.g. kubernetes, mesos, rkt):  k8s v.124
Operating System and version:  rhel 8.4
docker version 20.10.14

Looking for immediate help. Thanks in advance

@piugoyal can you give some more details on how your ip routes and iptables rules look like in your setup?

Closing due to inactivity. Feel free to re-open if you still need support.


Calculate compressed mipmap sizes correctly

While investigating https://forum.playcanvas.com/t/problem-concerning-none-pot-textures/22862/7 I noticed the engine specifies mipmap sizes incorrectly for the deep mipmaps of some odd-sized textures.
With this PR we fix that, however the resulting odd-sized textures are still not renderable. (Presumably because DXT compression doesn't support the odd size anyway, but still investigating).

I have no idea if this has any relevance - but I'm dropping it here just in case: https://github.com/BinomialLLC/crunch/issues/40

Though I'm using WebGL via three.js, I think we have the same underlying issue with DXT (or mipmapped textures in general):
WebGL seems to not like mipmapped textures unless they have all levels up to 1x1.
Even if you have a nonsquare but power of two resolution like 64 *16, the mips should be:
32 * 8
16 * 4
8 * 2
4 * 1
2 * 1
1  * 1

Hi headsup @willeastcott and @bunnybones1, thanks for the headsup.
From the textures I've tested basis seems to generate mips down to 1x1, but I'll definitely keep and eye our for this.


Synced item rendered multiple times as it is updated

I've been creating a very simple chat application with threaded discussions.
The object models contains Message objects in a tree, shown in a synced list.
When a child object is created that belongs to another message (let's call it "OP"), the OP is listed twice in the view. When another reply is posted, OP is now listed three times.
I'm not familiar with the internals of sync gem, so I have no idea what is going on.
I suspected that by using another model as a child model, I could work around this. But now that I tried saving the replies to a distinct Reply object, the same behaviour remains: whenever a Reply is created that belongs to a Message, the Message appears twice in the synced view. In this variant I'm executing "sync_update reply.message" to update the view after a new reply has been posted.
All symptoms disappear when page is reloaded, so this is not an issue in the underlying data model. Sync gem is somehow rendering duplicates of the same object in the list. Here's the list code:
      = sync_new partial: 'message', resource: Message.new, direction: :prepend
      - @messages.each do |msg|
        = sync partial: 'message', resource: msg

Any idea on how this might be fixed? I would love keep using sync gem as opposed to finding another solution for real-time updates. :)

Have you taken a look at our caveats section? https://github.com/chrismccord/sync#current-caveats
Do you have a parent DOM node in your partial?

I had taken a look at it previously, but I didn't really undestand it (I mainly looked at the code examples)... my partial looked like this:
 .message{:id => "message-#{message.id}"}
   .body
     = process_message_body(message.content) if message && message.content
   .replies
     = message.replies.size

 .reply-form{:id => "reply-form-#{message.id}"}

It must have worked fine until I added the reply-form element on the same level as the message. Adding a container element fixed this in one line:
  .message-container
    .message{:id => "message-#{message.id}"}
      .body
        = process_message_body(message.content) if message && message.content
      .replies
        = message.replies.size

    .reply-form{:id => "reply-form-#{message.id}"}

Thanks for a quick reply - problem solved!
Would it make sense to reword the documentation to say that the synced partial must only contain a single root level element? My malfunctioning code was "wrapped in a root level element" as instructed, the problem was that there were more than one root level element in the partial. Or that's how I understand it anyway :)

Would it make sense to reword the documentation to say that the synced partial must only contain a single root level element?

Please send a PR. The wording could definitely be improved :)

PR sent :)
Pirkka
On 20 March 2015 at 01:09, Chris McCord<EMAIL_ADDRESS>wrote:

Would it make sense to reword the documentation to say that the synced
partial must only contain a single root level element?
Please send a PR. The wording could definitely be improved :)
—
Reply to this email directly or view it on GitHub
https://github.com/chrismccord/sync/issues/178#issuecomment-83797829.

This bug not occurs in "rails 3.2", but only in >= 4.0. (With me)


Enhancement: Add check for package version between kcl.mod and version in command

Enhancement
Add check for package version between kcl.mod and version in command.
The package version in kcl.mod:
[pacakge]
name=mykcl
version=0.1.0
edition-0.5.6

The package version in command
$ kpm add --tag 0.1.0 --git https://xxx/xxx/xx.git

There should be a check to make sure they are consistent.

I would like to work on this

Hey @Peefy
Will the check be performed between the value of --tag arg and version field of the manifest file ?
I believe, the value of the --tag refers to "git repository tag" of the dependency we want to add.

cc @zong-zhe

@zong-zhe I guess its b/w the package name in kcl.mod file and the -- tag version? One query, the tag is taking the image version inside it or the package version?

Hi, @octonawish-akcodes 😃
You are welcome to participate in KCL community.
Let me add more details to this issue.
In a KCL package, the version of a package can be specified through the version field in the kcl.mod file.
If a KCL package is uploaded to the OCI Registry as an OCI artifact via kpm push, the value of this version field will be used as the version of the OCI artifact.
Taking the k8s package as an example,
When adding the k8s package from the OCI Registry as a dependency via the kpm add command, in the command kpm add k8s:1.27, the version number 1.27 is consistent with the version field in the kcl.mod of the downloaded k8s package. There is no problem with this process.
However, kpm supports using the KCL repository from public git repo as a third-party library dependency. Here, there is a problem of inconsistency between the git tag and the version field in the kcl.mod file in the KCL package. Because we can not control the way used by users to push the KCL package to git repo. In some cases, this may introduce security risks.
Therefore, we hope to add a check. During the process of adding dependencies or compiling, if the version field in the kcl.mod file cloned from the git repo is inconsistent, a warning needs to be displaying to notify the user that the git tag of the third-party library dependency actually used is different from the version number in kcl.mod. Of course, an environment variable switch is also needed to control whether to perform this check.
If you have any other questions, let me know. 😊😊😊

I tried to reproduce the mismatch but this command isn't adding this dependency

am I using the command correctly? @zong-zhe

Hi @octonawish-akcodes, I think that there are still some misunderstandings,
Let me add some more details,
Firstly, the problem is that kpm can currently add a git repo as a dependency of a third-party dependency through a tag, but this tag may not be consistent with the version field in the kcl.mod of the third-party dependency. When we add a dependency from git repo, if we find that the git repo tag is inconsistent with the version field in kcl.mod of the third-party dependency, we need to displaying a warning.
It means:
If package A depends on package B, and the version field in kcl.mod of package B is 0.1.0, but package B comes from a git repo, and the tag of package B’s git repo is 0.2.0, which inconsistent with the version field, a warning needs to be thrown out.
The misunderstanding in https://github.com/kcl-lang/kpm/pull/254 is checking the difference between the version field of A with the tag with B.

Hi @octonawish-akcodes
We have had some discussions about this issue, and there is some controversy. The content of this issue is outdated. I have created a new issue https://github.com/kcl-lang/kpm/issues/266 to provide more details. This issue will be closed soon, and the specific content will be updated in https://github.com/kcl-lang/kpm/issues/266.


Fix crash that occurs when same-DC peer goes down when query in flight

We incorrectly were forwarding errors when unable to connect to cross-rack
peers under DC_ONE. We should just log and ignore such errors under DC_ONE.
How this ultimately caused an issue was that the forwarded error
is serviced before any other replica can respond, which drops the request
from the client's out-q and frees it.
Then, once the replicas start responding, their server in-q's still have
a reference to the original request that got freed. Since the client has
already freed it, the other responses access garbage/repurposed memory,
hence causing a crash in a couple of places.
This patch just ignores such errors and does not forward them.

Thanks to @shailesh33 for help with debugging.


Implements buttons (#25)

Implements buttons, excluding an icon button (no design for an icon button yet).
Fixes #25

Deploy preview for pf-next ready!
Built with commit b871bb28631433dd8501daa85e08ea76f54e5587
https://deploy-preview-192--pf-next.netlify.com

Don't seem to be able to view the preview. Page just hangs in loading.

@kybaker please make sure this looks as it should

@srambach The text shifts to the right on hover for the active state in the preview section. Other than that good to go.

Looks good! I also noticed the text shifting.
I'm also curious about the following, but don't expect changes for this PR. I'm mainly just curious whether we would have other border radii.
$pf-global--BorderRadius:        30em !default;

Looks good! I don't see the text shifting issue anymore.

Do we want to be able to customize the disabled opacity as well? Often people simply adjust opacity as oppose to assign a separate color for disabled.
Also, should we change the cursor to not-allowed for the disabled button?

@srambach the bootstrap link is enough for me to agree that the default cursor is sufficient :)

@jgiardino I made the documentation changes you suggested and added the -is- classes to the documentation. I also removed the reference to using pf-c-button on an <a> because that is not yet defined or shown.

@jgiardino a random large radius is the only way to do a rounded ended btn without using css shapes and have good support. are you ok with it?

a random large radius is the only way to do a rounded ended btn without using css shapes and have good support. are you ok with it?

I'm ok with the method of using a really big radius to create the rounded end button.
I think what seems weird to me is that I expect global variables to be values that I would use throughout components, and that the names of the variables make it obvious what the purpose of the variable is. But the following variable doesn't fit nicely into my view of global variables. If I were looking at the list of global variables and saw this variable, I'd have no idea that it's purpose is to create a rounded end.
$pf-global--BorderRadius: 30em !default;
But I also don't have any great suggestions, and I don't think this is worth blocking this PR.

@jgiardino you are right, maybe that should be a component variable with a hardcoded magic number instead of a global variable.
@srambach @jgiardino What do you think?

@andresgalante I removed the layouts.
@jgiardino After talking with @andresgalante, we thought the magic number could stand as a global since it will probably be needed in at least 2 places. I added a comment explaining it.

@andresgalante @srambach Yeah I had a similar thought after seeing the Badges issue. I'm fine with that.


dropdown getting validated on the fly without user interaction

dropdown getting validated on the fly without user interaction
Detailed description
When any form is containing dropdown with required value and when we try to access the dropdown it shows validation error without even clicking on it.
This was working previously with older version of carbon.
The dropdown should not get validated without any user action.
This is happening in all browsers (chrome , Firefox)
For now we are using carbon 4.4.0.x version
This issue raised by tester was on 23rd dec and exists till the date .
Steps to reproduce
Use required='true' in dropdown to reproduce this issue.

The issue is reproduced in below codeSandox.
https://codesandbox.io/s/carbon-components-angular-forked-vxbgg

Please help provide resolution to this issue.


Mark dist YAMLs as generated

Excluded from stats, hidden in diffs

https://github.com/github-linguist/linguist/blob/master/docs/overrides.md#summary

If this suppresses dist files in diffs, it won't work. The statuses in the dist files are important to review, and we often attach review comments to them.

I see! Statuses are not coming from non-dist files.


Support download of template which are registered as Direct Download

ISSUE TYPE

Improvement Request

COMPONENT NAME

Component: template, kvm

CLOUDSTACK VERSION
4.18

SUMMARY
Support download of template which are registered as Direct Download
Steps to reproduce the issue

Register a qcow2 template > select the Direct Download option

Launch a vm from the registered template

Try to download the template ( images> template> Download template

The download of template fails

Screenshot

Expected behavior
Currently we are storing the direct downloaded templates in primary storage
Cloudstack supports the download of templates only if they are present in the seconday storage.
There could be use-case scenario if a user wants to download the original template which is registered as direct download

Thanks @kiranchavala - we would need to think how we could achieve the download, currently the SSVM exposes a link from the file on secondary storage. In this case of direct download, we won't have the template file on secondary storage, but on some primary storage pools

agree with @nvazquez
this probably requires many changes

@kiranchavala @nvazquez @weizhouapache , wouldn't this entail just exposing the original url?
if it is no longer available i would advise creating a template from snapshot.

My thoughts too @DaanHoogland - the direct download template is presumably just available on some web server. Just grab the link and download!

Note that if the template is no longer available at its direct download URL, it is also "broken" as far as cloudstack is concerned - as soon as that template needs to be used with a primary storage that has never seen that template, it will need to download the image.

the original URL can be found in the API response or cloudstack UI.
any code changes needed ?

all that said, I think the only improvement to be made will be to expose the url as clickable in the UI. A small and feasible improvement.

all that said, I think the only improvement to be made will be to expose the url as clickable in the UI. A small and feasible improvement.

come to think of it, to really improve, we'd need to also make it marked as disabled if the url is broken.


Docs update - failover and failback are supported for Hyper-V VMs which are replicating to a managed disk

[Enter feedback here]
"Failback of managed disks isn't supported" should be changed to "supported". This is documented at https://azure.microsoft.com/en-us/updates/large-disk-hyperv-dr/
Same applies to the documentation at https://learn.microsoft.com/en-us/azure/site-recovery/hyper-v-azure-failback#before-you-start

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

ID: c721f5ae-ece4-58ab-d00d-65856907c364
Version Independent ID: 7912f48e-25be-6efb-e770-c30404d84c58
Content: Support for disaster recovery of Hyper-V VMs to Azure with Azure Site Recovery - Azure Site Recovery
Content Source: articles/site-recovery/hyper-v-azure-support-matrix.md
Service: site-recovery
GitHub Login: @ankitaduttaMSFT
Microsoft Alias: ankitadutta

@jonathan-vella -Thanks for bringing this to our attention. Just to confirm are you refering to this table right here :

Please provide us with more details so we can assist you accordingly. Thank you.

Correct. Looks good now! Thank you.
Best regards,
Jonathan

From: MonikaReddy-MSFT @.>
Sent: Thursday, September 14, 2023 3:10 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Mention @.>; Author @.>
Subject: Re: [MicrosoftDocs/azure-docs] Docs update - failover and failback are supported for Hyper-V VMs which are replicating to a managed disk (Issue #114722)
@jonathan-vellahttps://github.com/jonathan-vella -Thanks for bringing this to our attention. Just to confirm are you refering to this table right here :
[image]https://user-images.githubusercontent.com/47833949/267984626-3e416b34-6206-45cb-b6b4-ecf335e941f3.png
Please provide us with more details so we can assist you accordingly. Thank you.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/114722#issuecomment-1719423796 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGE3LI6Y42ACBXM7EMWKM6DX2L64FBFKMF2HI4TJMJ2XIZLTTCBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVE3DINRVGQ4DIMBTURXGC3LFVFUGC427NRQWEZLMQKSXMYLMOVS2SOBTGY3TAMRXGQZKI3TBNVS2S2DBONPWYYLCMVWIFJLWMFWHKZNJHAZTMNZQGMYTSM5ENZQW2ZNJNBQXGX3MMFRGK3ECUV3GC3DVMWVDCNBQGQ4DSNJVGYYKI3TBNVS2S2DBONPWYYLCMVWIFJLWMFWHKZNKGQYTSMJQG4YTKMBVURXGC3LFVFUGC427NRQWEZLMVRZXKYTKMVRXIX3UPFYGLLCJONZXKZKDN5WW2ZLOOSTHI33QNFRXHF4CUR2HS4DFVJZGK4DPONUXI33SPGSXMYLMOVS2QNZSGY4DKMBSG2BKI5DZOBS2K2LTON2WLJLWMFWHKZNKGE4DSNRRHE3TKOJZQKSHI6LQMWSWYYLCMVWKK5TBNR2WLKJWGQ3DKNBYGQYDHAVEOR4XAZNFNRQWEZLMUV3GC3DVMWUTQMZWG4YDENZUGKBKI5DZOBS2K3DBMJSWZJLWMFWHKZNJHAZTMNZQGMYTSM4CUR2HS4DFUVWGCYTFNSSXMYLMOVS2UMJUGA2DQOJVGU3DBAVEOR4XAZNFNRQWEZLMUV3GC3DVMWVDIMJZGEYDOMJVGA22O5DSNFTWOZLSUZRXEZLBORSQ.
You are receiving this email because you were mentioned.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Thanks @jonathan-vella,
the doc notes that managed disks are supported. Hence closing this issue.
#please-close


Mention how to add dragging for SpinBox's LineEdit

Resolves #30480
My previous comment was wrong, as I didn't know about drag forwarding then. This is actually trivial to do.

Thanks!

Cherry-picked for 3.5.


kube-prometheus: fix addon-resizer role binding

The addon resizer was referring to an incorrect role binding and was unable to access the API.  This changes the rolebinding name to refer to the actually defined rolebinding.
Without this change, you get a lot of messages like this after deploying to a cluster with rbac enabled:
monitoring/kube-state-metrics-5d8784b89d-qw9r2[addon-resizer]: E0426 02:02:19.908809       1 nanny_lib.go:95] pods "kube-state-metrics-5d8784b89d-qw9r2" is forbidden: User "system:serviceaccount:monitoring:kube-state-metrics" cannot get pods in the namespace "monitoring": Unknown user "system:serviceaccount:monitoring:kube-state-metrics"

Note that I couldn't easily get the ksonnet stuff building, so I just changed both the jsonnet file and the yaml manually.

It looks like this has been an issue since the jsonnet conversion: https://github.com/coreos/prometheus-operator/commit/8b54c34352020dda52fb69d2cba46b44a67cb36e#diff-e77d0212fa06aaf651e1b9c0e1a90771R9


Merge 2.1.0 Stabilization branch (2019/10/02) into dev branch

Ensure the mrtk_development branch has the latest v2.1.0 changes

/azp run


[HDInsight] Re-recording tests

Recording tests so CI passes for the auto-generated PR.

Can one of the admins verify this patch?

Can one of the admins verify this patch?


Can not find my twitter?

Says it will take hours. Hours to a email that's says not found? @ballisticyury same for both accounts.

is it public?


Raspberry PI (setting up Raspberry PIs, proof of concept)

The general hardware capabilities have been tested and the software solution that I am intending is possible. I would say that this part is complete. I have working raspberry pi nodes. The actual specific software design is still being worked on.


Both X button and B Crouches In Far Cry 4

Hello. It appears when i press the X button for interaction a signal is also sent for the B button and the player crouches when reading/interacting with object in far cry 4. Also The B button triggers the Y button and results in switching weapons... I reconfigured it and checked to no avail.

I guess Far Cry 4 use your real DInput gamepad. Try to play without XOutput. Does the game see your gamepad?

it does see the gamepad but incorrectly mapped and some buttons not working
On Wednesday, December 4, 2019, Sergey<EMAIL_ADDRESS>wrote:

I guess Far Cry 4 use your real DInput gamepad. Try to play without
XOutput. Does the game see your gamepad?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/csutorasa/XOutput/issues/134?email_source=notifications&email_token=AGKLAZM5ZI2WAX3CGEUTHNDQW7BSJA5CNFSM4JS7LE72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF5KQBY#issuecomment-561686535,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGKLAZLKK72JLGNQIQ7MVLLQW7BSJANCNFSM4JS7LE7Q
.

So, you have to install HidGuardian, you can see guide in Readme. And then add your real gamepad as "affected device"


feature request: add stub file

mypy stub file could provide useful type information

Yep!

#210

oh, it was an duplicate.


Typographical error on https://operationcode.org/code_schools

1st paragraph, last sentence reads: "Often dsirable from the employer standpoint"
Should read: "Often desirable from the employer's standpoint"
Line 134 in page source.

@rhall91 has this

Fixed in #385


BUG: The context menu flashes up and not functional after dragging on StatsDragInput in element stats editor

I went back and tested PRs. This issue has been there since the first release of editable element stats #6382
When you drag to change the value of a stat the context menu stops working. It flashes up on right-click, then disappears.
https://github.com/user-attachments/assets/74c1a3be-14d0-4b41-92ef-77ce8b2bd81d
https://github.com/user-attachments/assets/075cb798-cc37-493d-bae5-1db807ca5c24

This is the culprit. Why assign null to contextMenu here?
https://github.com/excalidraw/excalidraw/blob/fb4bb29aa5d9f03c60afc9984b01f25bcd117970/packages/excalidraw/components/App.tsx#L2217-L2233

Looking at this further, the root cause is probably here. Event listener POINTER_UP is never cleared.
https://github.com/excalidraw/excalidraw/blob/fb4bb29aa5d9f03c60afc9984b01f25bcd117970/packages/excalidraw/components/Stats/DragInput.tsx#L252-L272


Graceful crash or warning in android app when phone is out of memory

See fabric crash reports.
Fatal Exception: java.lang.OutOfMemoryError

 java.util.ArrayList.add (ArrayList.java:118)

 is.eyra.eyra.Recorder$1.run (Recorder.java:50)

 java.lang.Thread.run (Thread.java:841)

Need to get this working in the field to see if the user is notified at all. "He is not, guaranteed." - MP
If not a graceful crash at least find a  way to handle it


[BUG] No module named 'typing_extensions'

[X] I've checked docs and closed issues for possible solutions.
[X] I can't find my issue in the FAQ.

Describe the bug
Since rich 13.9.0 has been released, when I try to upload a package with twine, I'm getting the following error:
python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.9/site-packages/twine/__main__.py", line 54, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/site-packages/twine/__main__.py", line 33, in main
    error = cli.dispatch(sys.argv[1:])
  File "/usr/local/lib/python3.9/site-packages/twine/cli.py", line 121, in dispatch
    main = registered_commands[args.command].load()
  File "/usr/local/lib/python3.9/site-packages/importlib_metadata/__init__.py", line 189, in load
    module = import_module(match.group('module'))
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line [228](https://gitlab.com), in _call_with_frames_removed
  File "/usr/local/lib/python3.9/site-packages/twine/commands/upload.py", line 28, in <module>
    from twine import settings
  File "/usr/local/lib/python3.9/site-packages/twine/settings.py", line 23, in <module>
    from twine import repository
  File "/usr/local/lib/python3.9/site-packages/twine/repository.py", line 19, in <module>
    import rich.progress
  File "/usr/local/lib/python3.9/site-packages/rich/progress.py", line 45, in <module>
    from typing_extensions import Self  # pragma: no cover
ModuleNotFoundError: No module named 'typing_extensions'

When I manually install typing_extensions or when I fix rich version to 13.8.1 the problem doesn't appear.
It's pretty similar to #2979.

This specifically comes from this commit/change: https://github.com/Textualize/rich/commit/67e68f3722571688cab1bc569376b24231c62ba1#diff-77d13adf0fa7cbb6c2fa6adba6462b8d37e1797ab2f23229c8b6d84d7ba0fb6dR42
The project requires typing-extensions only if python < 3.9, but this change makes it a requirement for python < 3.11.

cc: @willmcgugan for visibility

I hit the same problem via the bandit tool (the tool depends on rich). I've submitted the PR which hopefully fixes the issue and appreciate any feedback.

Thank you @willmcgugan for the speedy hot fix ❤
I can confirm this has resolved our issue (using via twine).


iOS8 GM file input element does not allow files to be read client-side or uploaded to server

This is a serious bug that prevents any sort of file uploads in iOS8 Safari.  There is no known workaround.  Below is the content of the bug report I filed with Apple.

Summary:
It seems like there is some issue with access to the files associated with an <input type="file"> element.

A few big issues:

FileReader can't seem to read any files associated with a <input type="file">.

URL.createObjectURL with a file associated with the  element returns an object URL that has no content when loaded.

If files are uploaded to a server, even via a simple multipart-encoded form submit, no actual file bytes are sent with the request.

None of these issues occurs in Chrome on iOS8, only Safari.

Steps to Reproduce:

Create a simple form with a file input and a submit button
Create a simple PHP server that handles file uploads via a multipart encoded POST request.
Load the page, select a file, press submit

Expected Results:
File is saved to the server.

Actual Results:
Either an empty file is saved to the server, or the page loading indicator spins forever after clicking submit due to the lack of file bytes included in the request by Safari.

Version:
8.0 (12A365)

Configuration:
iPad

@rnicholus What's your feel on the issues with iOS8?  Have they been largely resolved with 8.latest, or are they still present?

This particular issue was resolved in iOS 8.0.1.


About the fine-tuned CDLM

Hi, may you provide the fine-tuned CDLM? thanks

Hi,
All trained models (including two CDLM models - one for DUC2004 and one for TAC2011) are in here.

Thank you very much!


Osra 448 display total number of records in list pages

Related to : https://osraav.atlassian.net/browse/OSRA-448

Add total number of sponsors and orphans in each index page based in the message displayed in the admin version.

Can we move the count to the top of the page, maybe just below "Currently sponsoring..."

Should we do the same with the rest of the lists? I mean "Users", "Partners" and  "Admin users" or there is any reason to avoid it?

@develaper If so, I think those would be different PRs.

:+1:  :shipit:


Allow user to specify failure mode for diagnostic libraries

This is about the Google.Cloud.Diagnostics.* libraries rather than the underlying API packages, so only blocks the release of those higher level libraries.
If calls to Stackdriver APIs fail, what should we do? Currently, we just let the exception propagate:

If that happens synchronously within a request, the request will fail. (Not sure when this would occur, but it could be interesting if Error Reporting middleware fails...)
If that happens asynchronously due to log buffering, it will bring down the process

In some cases that may be what the user wants. Other options the user may want:

Buffer for some time and retry periodically, failing if the diagnostic failure continues for a long time.
Buffer for some time but then start throwing away log entries and other requests to avoid failing
Don't even bother buffering - make diagnostics "best effort, but don't waste memory"

"If that happens asynchronously due to log buffering," Is this only for the background flushing?  I don't think bringing down the process is ever reasonable for the diag libs.
Do you think it's reasonable to allow the user to select the failure mode?
Should we selectively propagate certain errors? Auth or config errors but not timeouts, service unavailable, ect?

Ideally we'd expose some sort of health checking mechanism that diag can hook into and say "I'm not very healthy" - that would definitely be better than just taking down the process.
Until we have something like that, we probably want to just make sure it never takes down the process. How much failure buffering we provide is a different matter... I don't have firm opinions on that.

In the short term to avoid taking down the process do you think a silent failure in the timer is acceptable?
For the short term (and not GA) a request failing is okay with me but I want to process falling over.

Yes, I think a silenced failure would be a good short term fix.

@jskeet Thinking about a solution for this more:
Retry: I think for retry we should just point users to Google.Api.Gax.Grpc.CallSettings.
Failure:  Have an option on consumers to throw or swallow exceptions from Grpc calls.
Thoughts?

Do you mean add that option to CallSettings, or have it specifically for logging? I'm more in favour of the latter than the former.
But the retry for logging is somewhat different to the one in CallSettings, in that we'd be buffering the data on overall call failure - sure, we'd retry that, but we might need different policies, amounts of data to buffer etc.

I mean use call CallSettings for logging, trace and error reporting and have a well defined default.
As for the buffer I think the 3 options you mentioned when you opened the bug would be a good starting point.
Does that work?

Well, we can check that the defaults are set appropriately, certainly. But I think most of this issue is really about the situation when any "in-call" retries have already failed.

Leaving this open to track the unit and integration tests


Test #11 failing

Hi again,
After removing all installed packages and starting fresh, I run into a new issue.
I installed Matio with all its dependencies using vcpkg (as a Git submodule) for x64-windows in my project. Afterwards I installed MatioCpp using cmake for MSVC, pointing it to the just intalled Matio files.
My project (a Qt6 application) is building fine and I can include the MatioCpp library without issues. However when I try to read a .mat file, it does not open the file. I am completely sure the filename and path is correct. I have tried relative and absolute paths, but it does not open (checking with the File.isOpen() method).  I also tried to open the file readOnly, but no success.
To understand why, I rebuilt MatioCpp with tests and ran it using ctest -C Release in the build directory, yielding results below. It seems there is a problem in the fileUnitTests (test 11), which could perhaps explain my original problem.
How to go about solving this?
Cheers, Daan
Start testing: Apr 26 22:59 Central Europe Summer Time
----------------------------------------------------------
1/15 Testing: test_visit_struct
1/15 Test: test_visit_struct
Command: "C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/bin/Release/test_visit_struct.exe"
Directory: C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/_deps/visit_struct-build
"test_visit_struct" start time: Apr 26 22:59 Central Europe Summer Time
Output:
----------------------------------------------------------
1.0.0
C:\Users\Daan\source\repos\H2Analyst\H2Analyst\extern\matio-cpp-0.2.2\build\_deps\visit_struct-src\test_visit_struct.cpp
{
  a: 5
  b: 7.5
  c: asdf
}
{
  a: 0
  b: 0
  c: jkl
}
{
  d: -1
  i: 5
  b: 0
}
{
  d: 0.75
  i: -14
  b: 1
}
<end of output>
Test time =   0.02 sec
----------------------------------------------------------
Test Passed.
"test_visit_struct" end time: Apr 26 22:59 Central Europe Summer Time
"test_visit_struct" time elapsed: 00:00:00
----------------------------------------------------------

2/15 Testing: test_fully_visitable
2/15 Test: test_fully_visitable
Command: "C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/bin/Release/test_fully_visitable.exe"
Directory: C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/_deps/visit_struct-build
"test_fully_visitable" start time: Apr 26 22:59 Central Europe Summer Time
Output:
----------------------------------------------------------
<end of output>
Test time =   0.01 sec
----------------------------------------------------------
Test Passed.
"test_fully_visitable" end time: Apr 26 22:59 Central Europe Summer Time
"test_fully_visitable" time elapsed: 00:00:00
----------------------------------------------------------

3/15 Testing: test_visit_struct_intrusive
3/15 Test: test_visit_struct_intrusive
Command: "C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/bin/Release/test_visit_struct_intrusive.exe"
Directory: C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/_deps/visit_struct-build
"test_visit_struct_intrusive" start time: Apr 26 22:59 Central Europe Summer Time
Output:
----------------------------------------------------------
C:\Users\Daan\source\repos\H2Analyst\H2Analyst\extern\matio-cpp-0.2.2\build\_deps\visit_struct-src\test_visit_struct_intrusive.cpp
{
  b: 1
  i: 5
  f: 7.5
}
{
  b: 1
  i: 0
  f: 0
}
<end of output>
Test time =   0.02 sec
----------------------------------------------------------
Test Passed.
"test_visit_struct_intrusive" end time: Apr 26 22:59 Central Europe Summer Time
"test_visit_struct_intrusive" time elapsed: 00:00:00
----------------------------------------------------------

4/15 Testing: MatvarHandlerUnitTests
4/15 Test: MatvarHandlerUnitTests
Command: "C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/bin/Release/MatvarHandlerUnitTests.exe"
Directory: C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/test
"MatvarHandlerUnitTests" start time: Apr 26 22:59 Central Europe Summer Time
Output:
----------------------------------------------------------
Randomness seeded to:<PHONE_NUMBER>
[ERROR][matioCpp::WeakMatvar::importMatvar] Cannot import inputPtr. A WeakMatvar cannot modify the matvar pointer.
[ERROR][matioCpp::WeakMatvar::duplicateFromMatio] Cannot duplicate from inputPtr. A WeakMatvar cannot modify the matvar pointer.
===============================================================================
All tests passed (65 assertions in 10 test cases)

<end of output>
Test time =   0.05 sec
----------------------------------------------------------
Test Passed.
"MatvarHandlerUnitTests" end time: Apr 26 22:59 Central Europe Summer Time
"MatvarHandlerUnitTests" time elapsed: 00:00:00
----------------------------------------------------------

5/15 Testing: SpanUnitTests
5/15 Test: SpanUnitTests
Command: "C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/bin/Release/SpanUnitTests.exe"
Directory: C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/test
"SpanUnitTests" start time: Apr 26 22:59 Central Europe Summer Time
Output:
----------------------------------------------------------
Randomness seeded to:<PHONE_NUMBER>
===============================================================================
All tests passed (391 assertions in 30 test cases)

<end of output>
Test time =   0.02 sec
----------------------------------------------------------
Test Passed.
"SpanUnitTests" end time: Apr 26 22:59 Central Europe Summer Time
"SpanUnitTests" time elapsed: 00:00:00
----------------------------------------------------------

6/15 Testing: VariableUnitTests
6/15 Test: VariableUnitTests
Command: "C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/bin/Release/VariableUnitTests.exe"
Directory: C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/test
"VariableUnitTests" start time: Apr 26 22:59 Central Europe Summer Time
Output:
----------------------------------------------------------
Randomness seeded to: 773870483
===============================================================================
All tests passed (142 assertions in 6 test cases)

<end of output>
Test time =   0.02 sec
----------------------------------------------------------
Test Passed.
"VariableUnitTests" end time: Apr 26 22:59 Central Europe Summer Time
"VariableUnitTests" time elapsed: 00:00:00
----------------------------------------------------------

7/15 Testing: VectorUnitTests
7/15 Test: VectorUnitTests
Command: "C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/bin/Release/VectorUnitTests.exe"
Directory: C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/test
"VectorUnitTests" start time: Apr 26 22:59 Central Europe Summer Time
Output:
----------------------------------------------------------
Randomness seeded to:<PHONE_NUMBER>
===============================================================================
All tests passed (282 assertions in 6 test cases)

<end of output>
Test time =   0.02 sec
----------------------------------------------------------
Test Passed.
"VectorUnitTests" end time: Apr 26 22:59 Central Europe Summer Time
"VectorUnitTests" time elapsed: 00:00:00
----------------------------------------------------------

8/15 Testing: MultiDimensionalArrayUnitTests
8/15 Test: MultiDimensionalArrayUnitTests
Command: "C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/bin/Release/MultiDimensionalArrayUnitTests.exe"
Directory: C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/test
"MultiDimensionalArrayUnitTests" start time: Apr 26 22:59 Central Europe Summer Time
Output:
----------------------------------------------------------
Randomness seeded to:<PHONE_NUMBER>
===============================================================================
All tests passed (297 assertions in 6 test cases)

<end of output>
Test time =   0.02 sec
----------------------------------------------------------
Test Passed.
"MultiDimensionalArrayUnitTests" end time: Apr 26 22:59 Central Europe Summer Time
"MultiDimensionalArrayUnitTests" time elapsed: 00:00:00
----------------------------------------------------------

9/15 Testing: ElementUnitTests
9/15 Test: ElementUnitTests
Command: "C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/bin/Release/ElementUnitTests.exe"
Directory: C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/test
"ElementUnitTests" start time: Apr 26 22:59 Central Europe Summer Time
Output:
----------------------------------------------------------
Randomness seeded to:<PHONE_NUMBER>
===============================================================================
All tests passed (94 assertions in 6 test cases)

<end of output>
Test time =   0.02 sec
----------------------------------------------------------
Test Passed.
"ElementUnitTests" end time: Apr 26 22:59 Central Europe Summer Time
"ElementUnitTests" time elapsed: 00:00:00
----------------------------------------------------------

10/15 Testing: CellArrayUnitTests
10/15 Test: CellArrayUnitTests
Command: "C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/bin/Release/CellArrayUnitTests.exe"
Directory: C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/test
"CellArrayUnitTests" start time: Apr 26 22:59 Central Europe Summer Time
Output:
----------------------------------------------------------
Randomness seeded to: 434559880
===============================================================================
All tests passed (399 assertions in 4 test cases)

<end of output>
Test time =   0.02 sec
----------------------------------------------------------
Test Passed.
"CellArrayUnitTests" end time: Apr 26 22:59 Central Europe Summer Time
"CellArrayUnitTests" time elapsed: 00:00:00
----------------------------------------------------------

11/15 Testing: FileUnitTests
11/15 Test: FileUnitTests
Command: "C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/bin/Release/FileUnitTests.exe"
Directory: C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/test
"FileUnitTests" start time: Apr 26 22:59 Central Europe Summer Time
Output:
----------------------------------------------------------
Randomness seeded to:<PHONE_NUMBER>
[ERROR][matioCpp::File::Create] The path /shouldFail does not exists (input file name /shouldFail/test.mat).
[ERROR][matioCpp::File::write] The variable name can contain only alphanumeric characters or underscores (Variable name = "Should Fail").
[ERROR][matioCpp::File::Create] Failed to open the file named test73.mat.
[ERROR][matioCpp::File::write] The file is not open.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
FileUnitTests.exe is a Catch2 v3.3.2 host application.
Run with -? for options

-------------------------------------------------------------------------------
Write version 7.3
-------------------------------------------------------------------------------
C:\Users\Daan\source\repos\H2Analyst\H2Analyst\extern\matio-cpp-0.2.2\test\FileUnitTest.cpp(372)
...............................................................................

C:\Users\Daan\source\repos\H2Analyst\H2Analyst\extern\matio-cpp-0.2.2\test\FileUnitTest.cpp(379): FAILED:
  REQUIRE( file.write(doubleVar) )
with expansion:
  false

===============================================================================
test cases:  11 |  10 passed | 1 failed
assertions: 240 | 239 passed | 1 failed

<end of output>
Test time =   0.03 sec
----------------------------------------------------------
Test Failed.
"FileUnitTests" end time: Apr 26 22:59 Central Europe Summer Time
"FileUnitTests" time elapsed: 00:00:00
----------------------------------------------------------

12/15 Testing: StructUnitTests
12/15 Test: StructUnitTests
Command: "C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/bin/Release/StructUnitTests.exe"
Directory: C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/test
"StructUnitTests" start time: Apr 26 22:59 Central Europe Summer Time
Output:
----------------------------------------------------------
Randomness seeded to:<PHONE_NUMBER>
===============================================================================
All tests passed (252 assertions in 4 test cases)

<end of output>
Test time =   0.02 sec
----------------------------------------------------------
Test Passed.
"StructUnitTests" end time: Apr 26 22:59 Central Europe Summer Time
"StructUnitTests" time elapsed: 00:00:00
----------------------------------------------------------

13/15 Testing: StructArrayUnitTests
13/15 Test: StructArrayUnitTests
Command: "C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/bin/Release/StructArrayUnitTests.exe"
Directory: C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/test
"StructArrayUnitTests" start time: Apr 26 22:59 Central Europe Summer Time
Output:
----------------------------------------------------------
Randomness seeded to:<PHONE_NUMBER>
===============================================================================
All tests passed (436 assertions in 3 test cases)

<end of output>
Test time =   0.02 sec
----------------------------------------------------------
Test Passed.
"StructArrayUnitTests" end time: Apr 26 22:59 Central Europe Summer Time
"StructArrayUnitTests" time elapsed: 00:00:00
----------------------------------------------------------

14/15 Testing: StructArrayElementUnitTests
14/15 Test: StructArrayElementUnitTests
Command: "C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/bin/Release/StructArrayElementUnitTests.exe"
Directory: C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/test
"StructArrayElementUnitTests" start time: Apr 26 22:59 Central Europe Summer Time
Output:
----------------------------------------------------------
Randomness seeded to:<PHONE_NUMBER>
===============================================================================
All tests passed (62 assertions in 1 test case)

<end of output>
Test time =   0.02 sec
----------------------------------------------------------
Test Passed.
"StructArrayElementUnitTests" end time: Apr 26 22:59 Central Europe Summer Time
"StructArrayElementUnitTests" time elapsed: 00:00:00
----------------------------------------------------------

15/15 Testing: ExogenousConversionsUnitTests
15/15 Test: ExogenousConversionsUnitTests
Command: "C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/bin/Release/ExogenousConversionsUnitTests.exe"
Directory: C:/Users/Daan/source/repos/H2Analyst/H2Analyst/extern/matio-cpp-0.2.2/build/test
"ExogenousConversionsUnitTests" start time: Apr 26 22:59 Central Europe Summer Time
Output:
----------------------------------------------------------
Randomness seeded to:<PHONE_NUMBER>
===============================================================================
All tests passed (97 assertions in 1 test case)

<end of output>
Test time =   0.02 sec
----------------------------------------------------------
Test Passed.
"ExogenousConversionsUnitTests" end time: Apr 26 22:59 Central Europe Summer Time
"ExogenousConversionsUnitTests" time elapsed: 00:00:00
----------------------------------------------------------

End testing: Apr 26 22:59 Central Europe Summer Time

Hi,
After having laid down my project for a while, I decided to give it another shot. I am happy to say that I have finally got the library to work! In the end, I installed Matio and its dependencies using vcpkg. After manually installing matioCpp, things worked :)
Regarding what went wrong before, I suspect that I have been building dependencies with different compilers/versions without realizing. By doing the building in the same IDE as the rest, things worked.
Now I can finally start using the library!


Staticman roadmap

Is staticman still going to receive any love, it appears that issues are not being responded to?

Any communication please?

Let's discuss this on #243, if that's okay.


Bug: title tag in svg also includes in text

Hi,
First of all, thanks guys! You have built a great library!!
I think that I found a bug in jsoup - here is a simple code that simulate the bug:
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;

public class JsoupTextSVGTitleBug {

    public static void main(String[] args) {
        String html = """
                <html>
                <body>
                <div>
                Test text
                <svg viewBox="0 0 20 10" xmlns="http://www.w3.org/2000/svg">
                  <circle cx="5" cy="5" r="4">
                    <title>I'm a circle</title>
                  </circle>

                  <rect x="11" y="1" width="8" height="8">
                    <title>I'm a square</title>
                  </rect>
                </svg>
                More text
                </div>
                </body>
                </html>""";
        Document parse = Jsoup.parse(html);
        System.out.println(parse.body().text()); //print Test text I'm a circle I'm a square More text
    }
}

As I see that, the TextNode doesn't take the svg scoop in account.

It's not immediately clear to me why you want to exclude this text content from .text(). What's your use case?
I note that in comparing to Chrome, textContent (which is akin to jsoup's wholeText()) includes this text, while innerText (akin to jsoup's text()) does not. However, Chrome renders the SVG graphics, and jsoup doesn't. So including the text y default seems appropriate and useful, assuming that the text is requested for generating a text-only readable version of the page.

@jhy
First of all, thank you for replying to the message so quick. I am very appreciated.
I will try to explain myself better. If you take the HTML code above, open it with Chrome. And then you will get:
'Test text  More text'

But when you ran the code in Jsoup you got a different result ('Test text I'm a circle I'm a square More text')
The reason for this is due to the title tag inside the SVG. After reading the documentation carefully, I think that Chrome probably extract the text correctly:
"Text in a  element is not rendered as part of the graphic, but browsers usually display it as a tooltip. If an element can be described by visible text, it is recommended to reference that text with an aria-labelledby attribute rather than using the  element."
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/title

Yes, I understand the difference between Chrome and jsoup here. I am not sure of the relevance of the quote from Mozdev as that's talking about the context of a visual browser.
As I said, it seems appropriate and useful to include the text in the text() method. Can you clarify why you think it isn't? Stepping back, whats your use case -- what are you trying to do that is negatively impacted by this? What's your input source?

(Closing as no response from requestor. Happy to re-review with further input.)


About the environment.yaml

Could we have a requirement.txt to pip install? Using conda to install leap is very hard

Hi, thank you for interesting in our work. Have you tried install using "install_envs.sh". Once have a pytorch environment in conda, the leap is installed from source.

yes, I have tried it but the dependency has conflicts and it can not create the dolce in conda

Hi, can you please share your hardware/linux environment settings etc ? The current version tested well on NVIDIA V100, 3090 and A6000, with gcc 8.5 and CUDA 11.1.

Hello, is it possible to use this code in windows 10?

Hello, is it possible to use this code in windows 10?

I have tried but failed

Hi, the mpi might be the issue for environments inconsistency. Have you tried to run on singe GPU without using DDP at inference ?

I also tried to create the environment using install_envs.sh, but it shows conflicts then fails. Actually, there are many packages to be installed, I believe only a few is used. By any chance, Is it possible to pick out the most key packages, so that the installation might be more friendly @JiamingLiu-Jeremy ? Thank you.


refactor: simplify ssr flight stream

Copied from https://github.com/hi-ogawa/experiments/blob/b5937b470abc49d08c4626d1785d98bf1996801a/webpack-rsc/src/lib/ssr-stream.tsx

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#458  👈
#456 : 1 other dependent PR (#457 )
#454
main

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

Join @hi-ogawa and the rest of your teammates on  Graphite

Merge activity

Jun 29, 8:57 PM EDT: @hi-ogawa started a stack merge that includes this pull request via Graphite.


[integration-cli] changes syntax to support older version of jq

Fixes #27966
Fixes a bug where a test would fail due to jq syntax
not being supported on versions < 1.5. Changes the syntax
to an equivalent way also supported on older versions.
Related issue in jq reported here https://github.com/stedolan/jq/issues/273
Signed-off-by: Christopher Jones<EMAIL_ADDRESS>

LGTM


New parameters to set specific action trigger on the pencil icon

This allows, for instance, to trigger the apparition of the edition block:

when clicking on the pencil icon,
or
when double-clicking on the field itself

This way, it remains possible to select the field's value and to copy it to the clipboard without triggering edition block's apparition.

Hi @dosyfier
It's a great new feature, I'll merge the PR asap.
Thank you for your contributions to this project 👍


Text Presets (not text sets): Easier/smarter text font & color styling

Closing as duplicate of #7986 that's already in progress.


Cache it all

We already use cached_property, so why not use it everywhere? I believe all of these properties are in fact static and should not change, but please correct me if I am wrong

thinking about this all the day, it's probably good idea and safe. Generally speaking it looks dangerous as it creates singletons in fact, what could lead to unexpected behavior.


FlexHTx with Codegen

Thanks for the PR and sorry for the radio silence

NP, my bigger concern is the inability to actually create a binary for the RBPI...I'm hopeful that https://github.com/orgs/community/discussions/19197 will fix this by year end.

@danielhstahl try this out and let me know https://github.com/mrene/minidsp-rs/releases/tag/v0.1.10

@danielhstahl try this out and let me know https://github.com/mrene/minidsp-rs/releases/tag/v0.1.10

Beautiful!  Works perfectly, thank you!


from .cywinpty import Agent --> Error Python 3.6.4 and 2.7.x

It is impossible to use the library due to this error:

from .cywinpty import Agent
ImportError: DLL load failed: The specified procedure could not be found.

Executing
python setup.py install
I see this error but the procedure finishes without any problem:
winpty/cywinpty.pyx: cannot find cimported module 'winpty._winpty'

@padremayi How did you installed the package?

With
python setup.py install

From which directory are you trying to perform the import?

I wrote an application that uses pywinpty library. Simplifying I use the example in the main page:
# High level usage using `spawn`
from winpty import PtyProcess

proc = PtyProcess.spawn('python')
proc.write('print("hello, world!")\r\n')
proc.write('exit()\r\n')
while proc.isalive():
	print(proc.readline())

But are you doing the tests outside your pywinpty clone folder?

BTW, it is recommended to use pip install -U .

Yes, the error comes out during the first import:
C:\Users\MyPC\AppData\Local\Programs\Python\Python36-32\python.exe "C:/Users/MyPC/PycharmProjects/test_pywinpty/main.py"
Traceback (most recent call last):
  File "C:/Users/MyPC/PycharmProjects/test_pywinpty/main.py", line 1, in <module>
    from winpty import PtyProcess
  File "C:\Users\MyPC\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pywinpty-0.5.1-py3.6-win32.egg\winpty\__init__.py", line 11, in <module>
    from .ptyprocess import PtyProcess
  File "C:\Users\MyPC\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pywinpty-0.5.1-py3.6-win32.egg\winpty\ptyprocess.py", line 14, in <module>
    from .winpty_wrapper import PTY, PY2
  File "C:\Users\MyPC\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pywinpty-0.5.1-py3.6-win32.egg\winpty\winpty_wrapper.py", line 13, in <module>
    from .cywinpty import Agent
ImportError: DLL load failed: Impossibile trovare il modulo specificato.

@padremayi Please uninstall the package and install it using pip install -U .

I'll try right now and let you know.
Thanks

Ok, in this way it works!
I executed:
python setup.py build_ext -i --compiler=msvc
then
pip install -U pywinpty
Is the first step necessary or not?

Doing the same thing on another PC and... it doesn't work :-(

@padremayi They are included by using the pip command instead of the usual python setup.py install. We define additional packaging rules.

I'm glad that is working now for you

I found the problem; sometimes on .\Lib\site-packages\winpty folder inside Python folder these files are missing:

If you install pywinpty by source, you must have installed winpty binaries beforehand

Many thanks for your help on poiting me on the right direction. I confirm that with Python 3.4.x it doesn't work also compiling winpty from source.
Maybe when you resolve the problem for Python 2.7.x the fix will work also on Python 3.4.x


NUTCH-2631 KafkaIndexWriter

Update for the Indexer plugin in order to write to Kafka. Created a KafkaIndexWriter in order to produce the crawled documents into Kafka and have Kafka distribute the messages as necessary.

Hi @AyalCiobotaru, could you provide a PR for master? A PR against a release branch is useless, simply because 1.14 has already been released and cannot be changed afterwards. Thanks!

Working on it, getting some errors with the new Exchange class


Change bodyparser to built-in express alternative

Many examples are using bodyparser package which is no longer needed in favor of built-in express counterparts.
Could i work on this issue and will it count for this cool vonage socks? 😉

Stale issue


Add Slack notifications

Fix #3

Codecov Report

Merging #4 into master will increase coverage by 0.06%.
The diff coverage is 46.66%.

@@           Coverage Diff           @@
##           master    #4      +/-   ##
=======================================
+ Coverage   42.94%   43%   +0.06%
=======================================
  Files           6     6
  Lines         836   851      +15
=======================================
+ Hits          359   366       +7
- Misses        427   435       +8
  Partials       50    50

Impacted Files
Coverage Δ

pkg/controller/controller.go
5.88% <42.85%> (+2%)
:arrow_up:

pkg/controller/scheduler.go
15.48% <50%> (+1.87%)
:arrow_up:

Continue to review full report at Codecov.

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


Add testing

Fixing a couple of bugs (probably because the crates.io API was recently updated), I realized the need of testing to make sure a fix doesn't break other things.
Edit: I think I may want to add some tests and make this into a PR

I was thinking on having some tests to detect API changes in order to automatically check the received structures against the defined types. I think that would be useful for maintenance purposes.

We can add #[serde(deny_unknown_fields)] to the structs to fail when new unknown fields are added.
If fields are missing or change type, the tests would fail anyway.


Can't pool after withdraw all

Describe the bug
Can't pool after withdraw all
To reproduce the behavior
Pre-condition: A record exists that can withdraw all (active stake = 0)
Steps:

Go to the detail screen of the record above
Click on Withdraw button
Perform withdrawal successfully
Observe the Staking list displayed
Click on the + button to stake for another pool
Observe the screen displayed

Actual:

In step 4: Staking list displayed without record above
In step 6:

Still show the old pool
When a user enters data and clicks on the Stake button then shows the message "Exist unstaking request"

Notes: Reproduce the bug with address: 5CqUd153pVTUe3K12TJnpFzkpXGBhU3Z9SqqH5u2ifZ6u1x2 on WND

Expect: Stake for another pool successfully

Need to check:

[ ] Staking after withdrawing all
[ ] Stake with a new account
[ ] Stake more

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./upgrade-ui-pr-1331-build-1.0.3-2023-05-09T04-34-36UTC.zip
Validation passed!


Warning to install ruby in Mac OS X 10.5.8(PowerPC)

When I run command rbenv install 2.1.4 in my macmini(Mac OS X 10.5.8, PowerPC machine), I has this warning
-> % rbenv install 2.1.4
unknown option '-sha256'
options are
-c              to output the digest with separating colons
-d              to output debug info
-hex            output as hex dump
-binary         output in binary form
-sign   file    sign digest using private key in file
-verify file    verify a signature using public key in file
-prverify file  verify a signature using private key in file
-keyform arg    key file format (PEM or ENGINE)
-signature file signature to verify
-binary         output in binary form
-engine e       use engine e, possibly a hardware device.
-md5 to use the md5 message digest algorithm (default)
-md4 to use the md4 message digest algorithm
-md2 to use the md2 message digest algorithm
-sha1 to use the sha1 message digest algorithm
-sha to use the sha message digest algorithm
-mdc2 to use the mdc2 message digest algorithm
-ripemd160 to use the ripemd160 message digest algorithm
Downloading ruby-2.1.4.tar.gz...

But the ruby has installed success.
The rbenv and ruby-build source has lastest.

homebrew itself is a problem to install as 10.5.8 has outdated version of ruby and so it's failing on installation scripts.

The OpenSSL version shipped with OS X Leopard (10.5) doesn't support SHA-256. A workaround is to install a newer version of OpenSSL and put it in the $PATH (although might cause issues), or to install e.g. GNU coreutils via Homebrew. Instead of forcing users to symlink gsha256sum to sha256sum might consider extending the detection algorithm to look for gsha256sum?

Macports has the current openssl, and all its versions build successfully for ppc on 10.4.11, 10.5.8, 10.6 PPC and 10.6.8 and for ppc64 on 10.5.8.


Fix label-selector example

At present, the selector remains empty even after the sel.Add(req) call.
fmt.Printf("%v", sel) prints empty string.
This is because the mutated sel is not reveived and assigned to sel at the caller.
note: the signature of sel.Add function is Add(r ...Requirement) Selector
Signed-off-by: Nikhil Thomas<EMAIL_ADDRESS>

Good catch! The Add() behavior turns out to be quite confusing!


[Feature] Add project label on page

Description
As implemented in https://github.com/X-lab2017/open-digger/pull/1301 , the meta file for repos exported by OpenDigger contains label data too right now.
Just like in https://oss.x-lab.info/open_digger/github/X-lab2017/open-digger/meta.json , all labels for OpenDigger is listed in the file.
So I think we can add label data to project page as well due to the meta file content, like below:

Although we have more detail to discuss, I think the idea is feasible.

I think @Zzzzzhuzhiwei can look at this feature as your research interest include repo labeling and recommendation~

Hi @frank-zsy, good idea!
Just drew a draft, does it look good to you?

@tyn1998 Aggregate all labels into a single icon is fine too, but it will make it not that easy to see all the labels attached to current repo.
Another approach is what I draw above which is adding all labels directly on the page like below the repo name, and hover to a label should show a list with other repos/orgs with same label and users can click in the list to navigate to corresponding repos/orgs. Because I think for users maybe interested in investigating and exploring with label data like for certain technology.

and hover to a label should show a list with other repos/orgs with same label

@frank-zsy Is there a way to get all repos/orgs by label id?

@tyn1998 Not right now, I can add it to OpenDigger export task.

As implemented in https://github.com/X-lab2017/open-digger/pull/1358 , the label has been exported to OSS, we can acess the label data by https://oss.x-lab.info/open_digger/labels/{label_id}.json , like https://oss.x-lab.info/open_digger/label_data/:communities/xlab/data.json


Upgraded Blazor packages for Preview2 and corrected code

Upgraded the code based on the preview 2 changes. I also turned off the code that disables link on build for debug as that is now the default behaviour

Completed in https://github.com/IvanJosipovic/BlazorTable/pull/89


Uploaded images are missing file extension

Images uploaded by simpla-img (converted from base64) are missing a file extension when they're pulled back in as the img src. This breaks a lot of common browser behavior, eg:

No contextual menu items like 'open image in new tab' or 'copy image'
Downloading results in unknown filetype that can't be viewed unless you add appropriate extension

I imagine this should be a quick API patch? Just read the base64 type when we convert it to a blob and add the appropriate file extension to the filename.

Yup should be a relatively small fix. I think also mimetype might be missing? Anyway, I'll flag it on the API and close this once fixed upstream.

Closed upstream in the API


[Request - Product] OpenSSH

:grey_question: About
This first draft is an attempt to fix:

https://github.com/endoflife-date/endoflife.date/issues/4603

:link: Related ressources

I used the following page to put releases : https://www.openssh.com/openbsd.html
OpenBSD Errata and Patches
ReleaseNotes : https://www.openssh.com/releasenotes.html
Github repo candidate for automation : https://github.com/openssh/openssh-portable
https://www.openssh.com/security.html

:information_source:  I've added release links

Hi guys, is anything missing on this PR ?

Some time to review it ;)

Thanks for the feedback @marcwrobel 🙏

@adriens, the support policy is entirely missing. In my opinion there is not much value in adding this page without this.
Moreover very old releases, such as 1 (last update 2000) are still marked as maintained. This can't be.

Hi @marcwrobel thanks a lot for reviewing the PR

@adriens, the support policy is entirely missing.

You mean the url that points the official one ?

In my opinion there is not much value in adding this page without this.

Totally agree with you.

Moreover very old releases, such as 1 (last update 2000) are still marked as maintained. This can't be.

i'm looking for fixing it :zap:

As per "Open SSH End-of-Life Schedule?" thread :
We don't do major releases or minor versions, and we don't offer support
for any version*. We just fix bugs, add requested features and note
incompatibilities (almost always minor) that arise as we go.
Every now and then we'll make a change that causes some incompatibility,
e.g. killing ssh1 or deprecating weak crypto. We tend to announce these
years in advance to give people a chance to act.
The most interesting thing is :

"I mean, you can report a bug in any version and we'll look it it and try
to fix it if it is still present, but there's no LTS-like version where
we collect these bugfixes."

So :

No LTS
No EOL

Moreover very old releases, such as 1 (last update 2000) are still marked as maintained. This can't be.

I did this beacause of Open SSH End-of-Life Schedule? thread :

I was not able to find better schedule data :sweat:

We cannot drop them any issue nor discussion :

:bulb: I could use OpenSSH Removes SSHv1 Support :

In practical terms this means that starting with OpenBSD-current and snapshots as they will be very soon (and further down the road OpenBSD 6.2 with OpenSSH 7.6), the arcane options you used with ssh to connect to some end-of-life gear in a derelict data centre you don't want to visit anymore will no longer work and you will be forced do the reasonable thing. Upgrade.

WOuld it make sense to flag pre 7.6 all as eol @marcwrobel ?


Backstop test for Bold Label uses the wrong url and reference images

Bug Report

What is the issue?
{
  "label": "Label",
  "url": `${TEST_HOST}/components/label/index.html`
 },
{
  "label": "Label with bold text",
  "url": `${TEST_HOST}/components/label/index.html`
}

bold text test should use http://localhost:3000/components/label/bold.html
The tests pass because reference images for bold label are the same as those of regular label

Fixed in 2.2.1


Implemented configuration change resolving issue #10

Fixed issue number #10
All changes requested were implementation and documentation was updated. Changes here are extensive and may cause merge conflicts with other commits related to pre-processor.

Pull Request Test Coverage Report for Build 97

11 of 11 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 89:
0.0%

Covered Lines:
1003

Relevant Lines:
1003

💛  - Coveralls


Pass active conditions to tasks visit questionnaires

Fixes #1484
Checklist

[ ] I have written Unit tests for any new feature(s) and edge cases for bug fixes
[ ] I have added any strings visible on UI components to the strings.xml file
[ ] I have updated the  CHANGELOG.md file for any notable changes to the codebase
[ ] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the project's style guide
[ ] I have built and run the fhircore app to verify my change fixes the issue and/or does not break the app

Changes in this PR, have been merged through https://github.com/opensrp/fhircore/pull/1506#pullrequestreview-1063258308


[Android 15][http]SocketException: Connection timed out (OS Error: Connection timed out, errno = 110)

Issue:
2024-08-13T16:14:21.838249 - [ERROR] [NET] NoNetworkError - ClientException with SocketException: Connection timed out (OS Error: Connection timed out, errno = 110), address =xxx.com.cn, port = 56160, uri=https://xxx/v1/enrollment/upload-img on Request: POST https://xxx/enrollment/upload-img  CorrelationId: a259e1f3-a541-416d-9097-4c34d7a640e0
Description:
Recently, I am doing Flutter compatibility verification on Android 15(<15 is OK), I have this issue with http:v1.2.2, my flutter version is 3.19.5, my scenario is upload image, it occurs problem sometimes.
I have looked for many similiar issues in StackOverflow/Github Flutter Repo/Github Http Repo, however, no solution to this issue.
Is there more infomation about this issue, can someone help me, thanks a lot?

@aaluyi
You will most probably need to report this in dedicated repo. See another similar issue for your reference: https://github.com/dart-lang/http/issues/551
Closing from here.
Also check https://stackoverflow.com/questions/60155822/i-flutter-30720-socketexception-os-error-connection-timed-out-errno-110

It has nothing to do with the http network library, but with the flutter library image_picker that I use. I just changed the image library. As for why image_picker's image selection affects the network, it is still under investigation.

but with the flutter library image_picker that I use. I just changed the image library

Please provide us complete reproducible code sample without third party package implementations, steps to replicate so that we can properly address the issue.


Update sdc-cryptography & dependencies

What is the context of this PR?
This updates sdc-cryptography to version 1.0.9 as per requirement on this Trello card. All unpinned dependencies were also updated when using pipenv update command.
How to review
Check if tests pass and updated packages are working as expected.

 Update Runner (non Census) to use 1.0.9 of sdc-cryptography


[SPARK-31743][CORE] Add spark_info metric into PrometheusResource

What changes were proposed in this pull request?
This PR aims to add spark_info metric into PrometheusResource.
Why are the changes needed?
This is exposed Apache Spark version and its revision like the following.

Does this PR introduce any user-facing change?
Yes, but it's exposed as an additional metric.
How was this patch tested?
Manual.
$ bin/spark-shell --driver-memory 4G -c spark.ui.prometheus.enabled=true

$ curl -s http://localhost:4041/metrics/executors/prometheus/ | head -n1
spark_info{version="3.1.0", revision="097d5098cca987e5f7bbb8394783c01517ebed0f"} 1.0

Test build #122773 has started for PR 28563 at commit a0aff8a.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/27425/
Test PASSed.

Thank you all. This is a pretty minor, I'll merge this to branch-3.0 to complete the 3.0 feature.

Test build #122773 has finished for PR 28563 at commit a0aff8a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122773/
Test PASSed.


Missing Type: AttendeePicker

Where did you get the code?
Downloaded and followed instructions.
Describe the bug
Type AttendeePicker is not found.
To Reproduce
Follow the instructions for the tutorial.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Dependency versions

Authentication library (MSAL, etc.) version:
Graph library (Graph SDK, REST library, etc.) version:

Additional context
Add any other context about the problem here.

Possibly a duplicate of #40. Can you try Clean Solution and then Rebuild Solution?

That worked. But found other issues as well #61


Update OpenAL-soft for OS X to version 1.17.2

This PR attempts to fix #900 and #1000.
The first one seems to run fine on my machine. However, since I haven't yet upgraded my computer to 10.11, I can't test the second one. In any case, third party testing would be nice.
Note: it is known that OpenAL-soft might emit a warning regarding SSE on OS X 10.11 such as this one:

AL lib: (WW) UpdateDeviceParams: SSE performs best with multiple of 4 update sizes (1114)

So is this good to go? Can any other OS X user test this?

It was only partially tested. Regarding #1000, @willm127 did test this 10 days ago. Apart from a warning (kcat/openal-soft#32), it seemed fine.
But it remains to test whether #900 is fixed or not...

Due to the lack of testers on OS X, I move this PR to accepted and ready to be merged.

This PR has been added to my merge list, meaning it will be merged soon, unless someone raises any concerns.

Wouldn't it be a good idea to update all OpenAL libraries to 1.17.2, not just on OSX? Looking through the changlog there are a few interessting things that everybody could benefit from. Mainly bugfixes (like UTF8 fixes for windows) or performance improvments using SSE extensions. There were also a whole range of effects added (Chorus, Flanger, Distortion, Equalizer, and Compressor) which could be interessting.

I'm not against it, but through a different PR.


Ability to change log's output

Not thread safe. However, no need to redesign all the code.

Sorry for toooo late reply. It will be close.


Ionic io init

While executing this command the following error. I'm getting
cd> ionic io init

Sorry could you provide a little more detail on this issue.  Are you saying that your password is correct but not being identified as being correct?
Thanks

Thanks jthoms1. Now it is working on for me.

Thanks!

How did you solve it? Can't make it work on cli.

Ok, i managed it to work just by creating a new account....


C++ refactoring: Type and Form classes

Types Checklist:

Type superclass

[ ] parameters property
[ ] typestr property
[ ] private helper function(s) for "categorical" handling

UnknownType

[ ] __init__
[ ] __str__
[ ] __repr__

NumpyType (renamed from PrimitiveType)

[ ] __init__
[ ] primitive property (renamed from dtype)
[ ] __str__ with special handling for datetime64/timedelta64, char, and byte
[ ] __repr__

RegularType

[ ] __init__ (complain about negative size)
[ ] content property (renamed from type)
[ ] size property
[ ] __str__ with special handling for string and bytestring
[ ] __repr__

ListType

[ ] __init__
[ ] content property (renamed from type)
[ ] __str__ with special handling for string and bytestring
[ ] __repr__

RecordType

[ ] __init__
[ ] contents property (renamed from types)
[ ] recordlookup property
[ ] __str__ with special handling for unnamed/named, recordlookup is None
[ ] __repr__

OptionType

[ ] __init__
[ ] content property (renamed from type)
[ ] __str__ with special handling for nested RegularType/ListType
[ ] __repr__

UnionType

[ ] __init__
[ ] contents property (renamed from types)
[ ] __str__
[ ] __repr__

ArrayType (not a subclass of Type)

[ ] __init__ (complain about negative length)
[ ] content property (renamed from type)
[ ] length property
[ ] __str__
[ ] __repr__

Forms checklist:

[ ] from_iter function
[ ] from_json just calls from_iter(json.loads(data))
[ ] numpyform.from_dtype function
Form superclass

[ ] has_identities property
[ ] parameters property
[ ] form_key property
[ ] __str__ method returns json.dumps(self.tolist(verbose=False), indent="    ")
[ ] tolist method starts recursion into _tolist_part so that toplevel=False can be handled specially
[ ] to_list is a synonym for tolist (historical)
[ ] to_json just calls json.dumps(self.tolist())

EmptyForm

[ ] __init__
[ ] __repr__
[ ] _tolist_part

NumpyForm

[ ] __init__
[ ] primitive property (replaces itemsize, format, and dtype from C++)
[ ] inner_shape
[ ] __repr__
[ ] _tolist_part with special handling when not verbose and not toplevel

RegularForm

[ ] __init__
[ ] content property
[ ] size property
[ ] __repr__
[ ] _tolist_part

ListForm

[ ] __init__
[ ] starts property
[ ] stops property
[ ] content property
[ ] __repr__
[ ] _tolist_part

ListOffsetForm

[ ] __init__
[ ] offsets property
[ ] content property
[ ] __repr__
[ ] _tolist_part

RecordForm

[ ] __init__
[ ] contents property
[ ] recordlookup property
[ ] __repr__
[ ] _tolist_part

IndexedForm

[ ] __init__
[ ] index property
[ ] content property
[ ] __repr__
[ ] _tolist_part

IndexedOptionForm

[ ] __init__
[ ] index property
[ ] content property
[ ] __repr__
[ ] _tolist_part

ByteMaskedForm

[ ] __init__
[ ] mask property
[ ] content property
[ ] valid_when property
[ ] __repr__
[ ] _tolist_part

BitMaskedForm

[ ] __init__
[ ] mask property
[ ] content property
[ ] valid_when property
[ ] lsb_order property
[ ] __repr__
[ ] _tolist_part

UnmaskedForm

[ ] __init__
[ ] content property
[ ] __repr__
[ ] _tolist_part

UnionForm

[ ] __init__
[ ] tags property
[ ] index property
[ ] contents property
[ ] __repr__
[ ] _tolist_part

VirtualForm

[ ] __init__
[ ] form property
[ ] has_length property
[ ] __repr__
[ ] _tolist_part

@ioanaif I'm done setting up this PR. I think you won't have to write any tests at all, and the implementation will be considerably shorter than these tests.
Use the original C++ as a guide, with the translations described in the checklist. Those translations should be enforced by the tests. The dependency or is: UnknownType and NumpyType first, then the rest; EmptyForm, NumpyForm, and RegularForm first, then the rest.
If any test looks odd, like it breaks the pattern in a non-natural way, it might be a typo from me. Please ask me about any test you're unsure of!

Windows can be excluded from tests that involve float16, float128, and complex256, since its NumPy doesn't have these types, and Python 2.7 and 3.5 can be excluded from tests that involve string representations of multiple parameters, since they don't have stable dict keys.
There are booleans for checking these things:
>>> ak._util.win
False
>>> ak._util.py27
False
>>> ak._util.py35
False


[AMS][Bug]: When use native iceberg, update catalog properties does not take effect in terminal

What happened?
When use native iceberg, update catalog properties then use terminal to execute sql, properties does not take effect
Affects Versions
0.4.1
What engines are you seeing the problem on?
AMS
How to reproduce
step1: create native iceberg catalog
step2: use terminal to execute sql
step3: update catalog properties
step4: use terminal to execute SQL agian
Relevant log output
No response
Anything else
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

In the current local terminal backend, AMS holder spark context in the same process, and each catalog creates a spark session that shares the same spark context, and in the spark engine, the TableCatalog will be loaded once pre-context, so it is difficult to reload a native iceberg catalog.
In the long term, the local mode of terminal backend implementation should be sub-process and each process holds one spark context and the cancel action will kill the sub-process.


CSS data: elements are not being processed correctly

CSS elements that are using a data: attributes are not being processed correctly such as data:image/png. The data: is being pre-appended with path like /resources/css/data:image/png which is resulting in an error.

This fix resolved the data uri issues, but the underlying regex is causing stack overflow issues.

This also resolves issue [#25 Encountered StackOverflow error if CSS has Base64 encoded images] (https://code.google.com/p/granule/issues/detail?id=25) from Google Code project.


Consider separating the .write API and copying between buffers.

Currently, autocomplete is broken due to .write accepting either an inferred value, or a buffer of the same data-type.

If we instead separated these APIs into something like: .copyFrom, then this problem would disappear.

@mhawryluk @reczkok Thoughts? 🧠


Install error

Hi,
when I try to install the plugin homebridge-soundtouch, I already have this issue :
sudo npm install -g homebridge-soundtouch
`npm WARN deprecated<EMAIL_ADDRESS>This version is no longer maintained. Please upgrade to the latest version.

<EMAIL_ADDRESS>install /usr/lib/node_modules/homebridge-soundtouch/node_modules/mdns
node-gyp rebuild

gyp ERR! clean error
gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'
gyp ERR! System Linux 4.9.0-8-686-pae
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/homebridge-soundtouch/node_modules/mdns
gyp ERR! node -v v8.12.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-01-05T13_24_30_599Z-debug.log`
npm -v 6.5.0
node -v v8.12.0
Best regards

Same issue here. Can apparently be resolved if you check https://github.com/Adeptive/homebridge-soundtouch/issues/18 - but I've not yet tried. Project seems to be no longer maintained.


Documentation fix for krun -p option

The short form is just -p, not -cp like in the example in the --help text.

@dwightguth You can merge this, I'm just waiting because I'm not sure why it wasn't working for me or if more changes are needed to the description.


"How to" Guides are available here: https://cloud.google.com/domains/docs/how-to
Proposed solution
require 'vendor/autoload.php';

use Google\Cloud\Domains\V1Beta\CloudDomainsClient;

// Search for a domain
$client = new CloudDomainsClient();
$client->setProjectId('my-google-cloud-project-id');
$client->registrations->searchDomains('mydomain');
$client->registrations->domainName('mydomain.com');

// Zones
$client-> managedZones();

// Register a domain
$domainInformation = [
     'registration' => [
         'domainName' => 'mydomain.com',
         'dnsSettings' =>
              'customDns' =>
          ...
     ]
];
// or
$domainInformation = new DomainInformation();
$domainInformation->registration->setDomainName('mydomain.com');
$domainInformation->registration->dnsSettings->customDns(...)

// Register Domain
$client->registrations->registerDomain($domainInformation); // Returns Domain Object

This exists now: https://github.com/googleapis/google-cloud-php-domains/releases/tag/v0.1.0


CAPTCHA is not handled correctly

I use local stored keys.smile and stores.smile file to logon, but i found my socket is not connected.
I use wireshark to track socket data, i found server send fin ack to my client.
my code as following:
`
public static void main(String[] args) throws InterruptedException, ExecutionException, TimeoutException {
MobileTest rt = new MobileTest();
//        rt.createApi();
rt.createApiByUUID(UUID.fromString("eeaa936b-6562-45fd-a9ed-ab29838b37b4"));
api.connectAwaitingLogout();
latch = new CountDownLatch(3);
    rt.log("store: %s", api.store().toJson());
    rt.log("keys: %s", api.keys().toJson());
    rt.log("Connected:%s", api.isConnected());

    // test send message
    Chat chat = Chat.ofJid(ContactJid.of("__my_phone_no___"));
    api.sendMessage(chat, TextMessage.of("Hi,here is from test message!")).thenApply(messageInfo -> messageInfo.message());
    api.store().contacts().forEach(contact -> System.out.println(contact));
    List<Chat> chats = api.socketHandler().store().chats();
    chats.forEach(chat1 -> System.out.println(chat1));

    latch.await();
    rt.log("All threads have finished.");
}

`
my wireshark screenshot as following:

can you help me to figure out the reason? or is there any document to describe whatsapp risk rule?

and i always get response from whatsapp server following mesage.
VerificationCodeResponse[number=my_mobile_no, lid=0, status=ERROR, errorReason=CAPTCHA, method=null, codeLength=0, notifyAfter=0, retryAfter=0, voiceLength=0, voiceWait=0, smsWait=0, whatsappOtpWait=0, flashType=0, oldWait=0, securityCodeSet=false, whatsappOtpEligible=false, imageCaptcha=null, audioCaptcha=null]
how to login android when this no already logon my iphone client.

after register, i use following code to get my last connection.
        api = Whatsapp.mobileBuilder()
                .lastConnection()
                .registered()
                .get()
                .addListener(this);
    future = api.connectAwaitingLogout();

i found socket fire an event readMessage(), and this message was server fin request.
is that means the server address and server port should be change??
current address and port is hardcode in static class Whatsapp.
    public static final String APP_ENDPOINT_HOST = "g.whatsapp.net";
    public static final int APP_ENDPOINT_PORT = 443;

I use local stored keys.smile and stores.smile file to logon, but i found my socket is not connected.
I use wireshark to track socket data, i found server send fin ack to my client.
my code as following:
`
public static void main(String[] args) throws InterruptedException, ExecutionException, TimeoutException {
MobileTest rt = new MobileTest();
//        rt.createApi();
rt.createApiByUUID(UUID.fromString("eeaa936b-6562-45fd-a9ed-ab29838b37b4"));
api.connectAwaitingLogout();
latch = new CountDownLatch(3);
    rt.log("store: %s", api.store().toJson());
    rt.log("keys: %s", api.keys().toJson());
    rt.log("Connected:%s", api.isConnected());

    // test send message
    Chat chat = Chat.ofJid(ContactJid.of("__my_phone_no___"));
    api.sendMessage(chat, TextMessage.of("Hi,here is from test message!")).thenApply(messageInfo -> messageInfo.message());
    api.store().contacts().forEach(contact -> System.out.println(contact));
    List<Chat> chats = api.socketHandler().store().chats();
    chats.forEach(chat1 -> System.out.println(chat1));

    latch.await();
    rt.log("All threads have finished.");
}

`
my wireshark screenshot as following:

can you help me to figure out the reason? or is there any document to describe whatsapp risk rule?

Add a onNodeReceived and onNodeSent listener and send here the logs

I use local stored keys.smile and stores.smile file to logon, but i found my socket is not connected.
I use wireshark to track socket data, i found server send fin ack to my client.
my code as following:
`
public static void main(String[] args) throws InterruptedException, ExecutionException, TimeoutException {
MobileTest rt = new MobileTest();
//        rt.createApi();
rt.createApiByUUID(UUID.fromString("eeaa936b-6562-45fd-a9ed-ab29838b37b4"));
api.connectAwaitingLogout();
latch = new CountDownLatch(3);
    rt.log("store: %s", api.store().toJson());
    rt.log("keys: %s", api.keys().toJson());
    rt.log("Connected:%s", api.isConnected());

    // test send message
    Chat chat = Chat.ofJid(ContactJid.of("__my_phone_no___"));
    api.sendMessage(chat, TextMessage.of("Hi,here is from test message!")).thenApply(messageInfo -> messageInfo.message());
    api.store().contacts().forEach(contact -> System.out.println(contact));
    List<Chat> chats = api.socketHandler().store().chats();
    chats.forEach(chat1 -> System.out.println(chat1));

    latch.await();
    rt.log("All threads have finished.");
}

`
my wireshark screenshot as following:

can you help me to figure out the reason? or is there any document to describe whatsapp risk rule?

Add a onNodeReceived and onNodeSent listener and send here the logs

thanks for your response, i'll update code and test it.

Captcha is no longer necessary


v1.1.1

All Submissions Basics:

[ ] Have you followed the guidelines in our Contributing document?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[ ] Have you checked all Issues to tie the PR to a specific one?

All Submissions Cores:

[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your core changes, as applicable?
[ ] Have you successfully ran tests with your changes locally?
[ ] Does your submission pass tests, including CircleCI, Travis CI, and AppVeyor?
[ ] Does your submission have appropriate code coverage? The cutoff threshold is 95% by Coversall.

New Model Submissions:

[ ] Have you created a .py in ~/pyod/models/?
[ ] Have you created a _example.py in ~/examples/?
[ ] Have you created a test_.py in ~/pyod/test/?
[ ] Have you lint your code locally prior to submission?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

252 of 261 (96.55%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.1%) to 93.718%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pyod/test/test_dif.py
86
87
98.85%

pyod/models/dif.py
166
174
95.4%

Files with Coverage Reduction
New Missed Lines
%

pyod/models/sampling.py
1
97.87%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
9011

Relevant Lines:
9615

💛  - Coveralls


Align with stakeholders on new Okta Identity migration proposal

Problem statement
The new Okta Identity engine has improvements that could be useful to ReportStream over the Okta Classic engine. Before we upgrade, we want to review the plan with stakeholders for alignment and feedback.
What you need to know

Proposal/plan being developed here: #13769

Acceptance criteria

[x] Review with Platform team for feedback/concerns (perhaps All Teams Sync?)
[x] Review with DevOps team for feedback/concerns
[x] Review with Patrick for feedback/concerns

Patrick, Arnej, Jeremy, and Max all reviewed and had no concerns.