MarkupMatches-Method records "Actual HTML" too late

Describe the bug
MarkupMatchesAssertExtensions.MarkupMatches records the actual HTML after the HTML comparison has failed - so if the DOM has changed in between, the results are very confusing (see example).
Example:
Please execute the CounterCSharpTests from https://github.com/Chris-D-Turk/BUnitActualHtmlBug
Note: The "Click me" button increments the count after a 10ms delay but the Test asserts that count is 1 immediately after clicking the button.
The test fails as expected (count still 0) but - according to the exception message - current count already is 1
Actual result
BUnitMarkupMatchesBug.Test.CounterCSharpTests.ClickingButtonIncrementsCounter:
    Outcome: Failed
    Error Message:
    Bunit.HtmlEqualException : HTML comparison failed.

The following errors were found:
  1: The expected text at p(0) > #text(0) and the actual text at p(1) > #text(0) is different.

Actual HTML:

Current count: 1
 <---- NOT TRUE

Expected HTML:

Current count: 1

Expected result
Actual HTML:

Current count: 0

Note: The test outputs the expected result, if you increase the delay in the Counter-Component to 100ms.
Version info:

bUnit version: 1.10.14
.NET Runtime and Blazor version: net6.0
OS type and version: Mac OS Monterey (12.6)

Thanks for reporting this @Chris-D-Turk.
I'm pretty sure this is indeed a bug, without even looking at the code.
Will investigate further and see what we can do about it.

Maybe as a low hanging fruit we could clone the original INode upon which MarkupMatches would be called.
PS: I could reproduce the behaviour. And code-wise it makes "sense" that we have that, as we update the INode from the Blazor renderer thread and simultaneously do assertions onto it.

Another option is to have the entire MarkupMatches run inside a InvokeAsync lambda, which means no renders should happen while it is executing. Might be the most straight forward solution, but wonder about edge cases and perf.

Another option is to have the entire MarkupMatches run inside a InvokeAsync lambda, which means no renders should happen while it is executing. Might be the most straight forward solution, but wonder about edge cases and perf.

Wouldn't it be weird if you have a long running task inside the component under test and MarkupMatches is scheduled afterwards, resulting in a test, which also runs a very long time? Sure passing in a timeout might do the trick, but also that feels strange for MarkupMatches.

Perhaps. Could be. Would have to experiment to understand all the implication.

@Chris-D-Turk this problem should actually go away if you use cut.WaitForAssertion(() => cut.MarkupMatches(....)), since the MarkupMatches check will run to completion without the renderer being allowed to continue and update the markup.
So if you have this problem currently, that is the recommended solution that exists currently.

I'd go so far to say that this is actually not a bug. We have the WaitForXxxx method that exists because if this, where the component under test has asynchronous renders happening. If we switch to having a shared dispatcher/syn context, this would not be an issue, but until then, this is expected behavior actually.
The problem is that we can do something with MarkupMatches because it is a 1st party assertion method, but all 3rd party assertion methods won't get that benefit and will behave differently.
I will close this issue, and link it to https://github.com/bUnit-dev/bUnit/issues/739, where we are tracking the possibility of a single synchronization context between test code and renderer code.


Could not detect version for vcpkg install (get 0.0.0 instead of 4.10.0)

Before reporting an issue please first check the
troubleshooting guide. If
the issue you're encountering is not solved thereby please state the following in your bugreport:

Operating system: Windows 11 23H2
The way you installed OpenCV: vcpkg
OpenCV version: opencv4:x64-windows-static-md 4.10.0#1
rustc version (rustc --version): rustc 1.83.0 (90b35a623 2024-11-26)
Attach the full output of the following command from your project directory: (too long for issue) https://pastebin.com/ecKUPtbrRUST_BACKTRACE=full cargo build -vv

Copying include\\opencv4\\opencv2 to include\\opencv2 will work, however this does not look like a good enough solution

For the linkage problem, the vcpkg must be installed with opencl feature:
- vcpkg install llvm opencv4[contrib,nonfree]
+ vcpkg install llvm opencv4[contrib,nonfree,opencl]

Please update the INSTALL.md.

Can you please tell me the git rev hash of the vcpkg repo you're using at the moment you install vcpkg?
It looks like there is a problem with that install. I could add some hacks to try to detect opencv4 inside the include_path detected by the vcpkg, but I wonder if it's needed. Your install will seemingly not work if you try to build the C++ app linking to OpenCV for example.
In the CI I'm testing with 2024.09.30 tag (https://github.com/microsoft/vcpkg/tree/2024.09.30) at the moment so I wonder if your version is older or newer.

Yep, it's definitely broken in the vcpkg on Windows on master and the 2024.11.16 tag. For now you can try rolling back to 2024.09.30 tag of vcpkg. I will investigate.

twistedfall the link error is really happening, it is not something directly related to the installation, in my case I need opencl too, I recommend updating the readme, but in my case I added additional libs such as world + ffmpeg + cuda


File__analyze_streams.cpp - Change for 2.39:1 DisplayAspectRatio/Stri…

…ng #612
This attempts to fix #612. I haven't tested this yet but I wanted to see if you thought this was sane.. It looks like two of us have a use case to have 2.39 display as intended anyhow..

I wanted to see if you thought this was sane..

It is sane, sure, and IMO it is bug fix so "breaking" (it should break nothing as I expect people to use the raw vvalue) old stuff is fine.

I wanted to see if you thought this was sane..

It is sane, sure, and IMO it is bug fix so "breaking" (it should break nothing as I expect people to use the raw vvalue) old stuff is fine.

Ha! Enjoy the AFK - I think @Sami32 and I both agree on the content of this particular pull request anyhow, perhaps the other comments can be resolved in the other PR by @Sami32 ?


Setup a collection mechanism for token requests

Create an electronic form to capture congregation requests for S3 credentials

Electronic form created.


feat: add what is a crate

This introduces users to crates and closes #44
It's a short and simple one. I don't think it's worth rewriting a copy of the scarb doc but tell me if you think something would be relevant here.

Thank you @enitrat, I added your changes

This item belongs to payment request #9F2785 on OnlyDust:

from 0xBenaparte to Th0rgal
2 items included
$188 for 3 hours of work


EntityOwnershipCard: Fix color to pick up from page theme for component type

Hey, I just made a Pull Request!
Another one of those white-text-on-white-background PRs, if your page theme has a white background.
I'm on a roll on those, https://github.com/backstage/backstage/pulls?q=is%3Apr+author%3APike+is%3Aclosed.
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)

This controls the font color in the Ownership cards on https://pr-18254-deployment-28519-backstage.app.uffizzi.com/catalog/default/group/team-a.


Add support of loading spinner and lazy-loading of google maps?

It seems that currently there are no solutions. Thanks.

Lazy loading is on by default.
Loading spinner you can add it's not a problem.


Memory Leak: PCRoomSubscription retaining strong reference to PCRoomDelegate

What?
When calling the following method on PCCurrentUser a delegate is passed to the method. However the declaration for the delegate on PCRoomSubscription is not marked as weak. This causing the deinit on the class assigned as the delegate to never be called.
func subscribeToRoom(room: PCRoom, roomDelegate: PCRoomDelegate, messageLimit: Int = 20)

The PCRoomDelegate should be marked as compliance with NSObjectProtocol to allow it to be defined a weak reference to avoid this happening.
As the subscription property is only able to be set internally by ChatKit it's not possible to sever that connection. The end() method on PCRoomSubscription should also likely set the delegate to nil to avoid that reference being kept.
Environment

PusherChatkit version: 0.7.2
Xcode version: 9.4
Swift version: 4.1
Platform(s) running PusherChatkit: iOS

CC @hamchapman

It seems that this may not be the only aspect causing the memory leak. I setup the weak link in my fork and it's still retaining a strong reference. Could this be because the PCRoom is never removed from memory because the PCCurrent user keeps a reference to it and all of its subscriptions? Is there a way to manually unsubscribe or keep a weak link to a room there?

Here's the memory graph for the retained instance of the delegate. PCRoomSubscription is no longer holding a reference to it in my fork but PPSubscriptionDelegate is. I think this is caused by the non-weak reference to the PCRoomDelegate on PCMessageSubscription.

Fixed in #77


How Can I open my Vault in Terminal?

Hi, @jdluque
I'd like to use this, but I don't know how to open the Vault in Terminal_? (mac)
please help.

Open a Terminal and then navigate to your vault's directory by running
cd /path/to/vault/
replacing /path/to/vault/ with the path to your vault. If you're not sure what the path is, have a look at this link.


How I start the web?

I have a vps, I follow all the steps, but I don't know how to start the web, the web service

Hey, you can actually just drop the archive into web directory of your web-server! To build it, you can just use your working computer(no need to build it on server)
😀

No responses from you, I will close the issue, if the question remains, please comment 👍


/UI : Improved UI of EditProfile full page,create blog page.

Improved UI for Blog Form and Profile Setting
Description
This pull request implements UI improvements for the blog submission form, including:

Updated background to a softer white and gray color scheme.
Enhanced placeholder styles for better visibility.
Consistent padding and full-width layout for all form elements.
Added mild shadows to inputs and the form.
Removed hover effects from buttons.

These changes aim to enhance usability and provide a more professional interface.
Type of change

[x] Bug fix
[x] New feature

Motivation and Context
These enhancements improve the user experience during the blog submission process.
Screenshots (if appropriate):
https://github.com/user-attachments/assets/2d9eca8d-1447-4aeb-b0a7-ef0edaa66e6b
Checklist:

[x] I have registered at Contrihub website.
[x] My code follows the project style.
[x] All new and existing tests passed.

@Codipk  ma'am this issue is expired from active issue section ,also i,m not able to request again for the same.

That's why I told u to request for approval within that time . Contact  abhishek sir

Okay mam i informed Abhishek sir
On Sat, 19 Oct, 2024, 1:49 pm Dipti Kumari, @.***>
wrote:

That's why I told u to request for approval within that time . Contact
abhishek sir
—
Reply to this email directly, view it on GitHub
https://github.com/ContriHUB/CREDLOCKS/pull/13#issuecomment-2423684193,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFBA5CCX3GR7UQIUZQ3ZWVLZ4IIYLAVCNFSM6AAAAABQFJSKKWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRTGY4DIMJZGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

@Ayush5071 send the approval req

@Codipk  done mam ThankYou


Training fails after encountering nan tensor

Hi,
Thank you for your work!
I'm trying to train from scratch, and at epoch 42 I encountered an assertion error for having the 'spine_rest_loc' tensor being nan.
Can you please assist?
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Epoch 41 | h36m err: 47.64674702400522 / 46.18705879641749 | 3dpw err: 61.5547851122922 / 57.69414353312088
############# Starting Epoch 42 | LR: 0.001 #############
loss: -2.84896647 | accuvd29: 0.7797 | acc17: 0.8761:  71%|██████████████▊      | 3446/4878 [22:06<09:11,  2.60it/s]
Traceback (most recent call last):
File "./scripts/train_smpl_cam.py", line 363, in
main()
File "./scripts/train_smpl_cam.py", line 209, in main
mp.spawn(main_worker, nprocs=ngpus_per_node, args=(opt, cfg))
File "/home/fou/anaconda3/envs/hybrik2/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 240, in spawn
return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
File "/home/orifou/anaconda3/envs/hybrik2/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 198, in start_processes
while not context.join():
File "/home/orifou/anaconda3/envs/hybrik2/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 160, in join
raise ProcessRaisedException(msg, error_index, failed_process.pid)
torch.multiprocessing.spawn.ProcessRaisedException:
-- Process 1 terminated with the following error:
Traceback (most recent call last):
File "/home/orifou/anaconda3/envs/hybrik2/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 69, in _wrap
fn(i, *args)
File "/home/orifou/HybrIK/scripts/train_smpl_cam.py", line 310, in main_worker
loss, acc17 = train(opt, train_loader, m, criterion, optimizer, writer, i)
File "/home/orifou/HybrIK/scripts/train_smpl_cam.py", line 59, in train
output = m(inps, trans_inv=trans_inv, intrinsic_param=intrinsic_param, joint_root=root, depth_factor=depth_factor)
File "/home/orifou/anaconda3/envs/hybrik2/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "/home/orifou/anaconda3/envs/hybrik2/lib/python3.8/site-packages/torch/nn/parallel/distributed.py", line 1008, in forward
output = self._run_ddp_forward(*inputs, **kwargs)
File "/home/orifou/anaconda3/envs/hybrik2/lib/python3.8/site-packages/torch/nn/parallel/distributed.py", line 969, in _run_ddp_forward
return module_to_run(*inputs[0], **kwargs[0])
File "/home/orifou/anaconda3/envs/hybrik2/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "/home/orifou/HybrIK/hybrik/models/simple3dposeSMPLWithCam.py", line 346, in forward
output = self.smpl.hybrik(
File "/home/orifou/HybrIK/hybrik/models/layers/smpl/SMPL.py", line 256, in hybrik
vertices, new_joints, rot_mats, joints_from_verts = hybrik(
File "/home/orifou/HybrIK/hybrik/models/layers/smpl/lbs.py", line 357, in hybrik
rot_mats, rotate_rest_pose = batch_inverse_kinematics_transform_naive(
File "/home/orifou/HybrIK/hybrik/models/layers/smpl/lbs.py", line 821, in batch_inverse_kinematics_transform_naive
global_orient_mat = batch_get_pelvis_orient(
File "/home/orifou/HybrIK/hybrik/models/layers/smpl/lbs.py", line 994, in batch_get_pelvis_orient
assert torch.sum(torch.isnan(spine_rest_loc)
AssertionError: ('spine_rest_loc', tensor([[[nan],

set batch_size:32  is normal, but batch_size:64 is nan, so strange

Anyone found solution for this error?

+1

+1


tools: add syz-expand

The syz-expand tools allows to parse a program and print it including all
the default values. This is mainly useful for debugging, like doing manual
program modifications while trying to come up with a reproducer for some
particular kernel behavior.

LGTM


Rendering Issues with itables

Solved with PR https://github.com/mwouts/itables/pull/318 of itables


CON-1200: Refactor Python Enclave test by replacing it with a Pytorch example

We replace the Python example with a more complex code representing a Pytorch example, which does a phase of training and testing on a set of images which are passed by the client to the enclave.
The test is not meant to produce an accurate result, but just to prove that Pytorch code can run successfully, hence some Pytorch parameters have been set to make the test run as quick as possible.

@shamsasari I have refactored this test with an example I have taken from Pytorch. With this, the we only add a file of 11MB. The result is obviously not accurate as I had to change Pytorch parameters to make things run as fast as possible (bash size to 5000 and only 1 epoch).
Is something like this what you had in mind?

It's a shame TC didn't run the test, but I think that's an existing issue. Not all the tests run, even though failFast is off.


Error on template using modules

When I put on my template, for example {{ui-checkbox checked=rememberMe}} I got this error in my console :
Cannot call compile without the template compiler loaded. Please load ember-template-compiler.js prior to calling compile.
And the application crash. However, when I'm not using your modules it's perfectly ok. Any idea ?
I use ember 1.13.3 and ember-cli 1.13.1

+1

+1

Try this on the latest version we just pushed out (version 0.9.0)

Closing no activity


webrtc::peer_connection fails to handle incoming RTCP ssrc.

!!!!!!! I did an nslookup to force the ip of the endpoint after clicking start stream ( the previous bug I was complaining about )  !!!!
String: {"type":"StartStream","pid":30303,"xid":134217729,"resolution":{"width":0,"height":0,"is_fixed":false},"framerate":60,"server_id":"1048070417161650186","user_id":"147892034932441088","token":"a328700fb10383f4","session_id":"d0a96ba751af9725e869d95df3cc98d6","rtc_connection_id":"adbb0f20-b943-4de7-8ee5-4c3626d9aedf","endpoint":"us-east2334.discord.media:443","ip":"<IP_ADDRESS>","ice":{"type":"IceData","urls":["stun:global.stun.twilio.com:3478?transport=udp","turn:global.turn.twilio.com:3478?transport=tcp","turn:global.turn.twilio.com:3478?transport=udp"],"username":"4aac1e53ade1a5473f8b5da67be3b591113cad11a9c75f957537026f628111fa","credential":"dyH2YPGFDI8rgDcaAl73jJOR7ga/st4/YpNxsVJ498A="}}
2022-12-02T02:57:40.079336Z  INFO tuxphones: [StartStream] Command received
2022-12-02T02:57:40.148489Z  INFO tuxphones::gstreamer: [WebRTC] Negotiation needed
2022-12-02T02:57:40.164483Z  INFO webrtc_ice::mdns: mDNS is using <IP_ADDRESS>:5353 as dest_addr
2022-12-02T02:57:40.165024Z  INFO webrtc_mdns::conn: Looping and listening Ok(<IP_ADDRESS>:5353)
2022-12-02T02:57:40.166304Z  INFO webrtc::peer_connection: signaling state changed to have-local-offer
2022-12-02T02:57:40.166392Z  INFO tuxphones::gstreamer: [WebRTC] Local description set
2022-12-02T02:57:40.166516Z  WARN webrtc_ice::agent::agent_gather: [controlled]: Unable to handle URL in gather_candidates_relay turn:global.turn.twilio.com:3478?transport=tcp
2022-12-02T02:57:40.195676Z  INFO new{endpoint="us-east2334.discord.media:443" max_framerate=60 max_resolution=StreamResolutionInformation { width: 0, height: 0, is_fixed: false } rtc_connection_id="adbb0f20-b943-4de7-8ee5-4c3626d9aedf" ip="<IP_ADDRESS>" server_id="1048070417161650186" session_id="d0a96ba751af9725e869d95df3cc98d6" token="a328700fb10383f4" user_id="147892034932441088" from_gst_rx=Receiver { chan: Rx { inner: Chan { tx: Tx { block_tail: 0x7f01fc0b9dd0, tail_position: 0 }, semaphore: (Semaphore { permits: 10 }, 10), rx_waker: AtomicWaker, tx_count: 1, rx_fields: "..." } } } to_gst_tx=Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7f01b005b7c0, tail_position: 0 }, semaphore: (Semaphore { permits: 10 }, 10), rx_waker: AtomicWaker, tx_count: 1, rx_fields: "..." } } } command_sender=Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x55d1bd30a470, tail_position: 75 }, semaphore: (Semaphore { permits: 1000 }, 1000), rx_waker: AtomicWaker, tx_count: 5, rx_fields: "..." } } }}: tuxphones::discord::websocket: WebSocket connection successful
2022-12-02T02:57:40.214892Z  WARN webrtc_ice::agent::agent_gather: [controlled]: failed to resolve stun host: global.turn.twilio.com:3478: io error: No available ipv6 IP address found!
2022-12-02T02:57:40.215812Z  WARN webrtc_ice::agent::agent_gather: [controlled]: failed to resolve stun host: global.stun.twilio.com:3478: io error: No available ipv6 IP address found!
2022-12-02T02:57:40.220699Z  WARN webrtc_ice::agent::agent_gather: [controlled]: failed to resolve stun host: global.turn.twilio.com:3478: io error: No available ipv6 IP address found!
2022-12-02T02:57:40.226923Z  WARN webrtc_ice::agent::agent_gather: [controlled]: Failed to allocate on turn.Client global.turn.twilio.com:3478 Allocate error response (error 401: Unauthorized)
2022-12-02T02:57:40.231152Z  INFO tuxphones: [StartStream] Command processed (stream started)
2022-12-02T02:57:40.231171Z  INFO tuxphones: Sending stream preview
2022-12-02T02:57:40.237877Z  INFO webrtc::peer_connection: signaling state changed to stable
2022-12-02T02:57:40.239171Z  INFO tuxphones::gstreamer: [WebRTC] Remote description set
2022-12-02T02:57:40.239338Z  INFO webrtc_ice::agent::agent_internal: [controlling]: Setting new connection state: Checking
2022-12-02T02:57:40.239393Z  INFO webrtc::peer_connection: ICE connection state changed: checking
2022-12-02T02:57:40.248251Z  INFO webrtc_ice::agent::agent_internal: [controlling]: Setting new connection state: Connected
2022-12-02T02:57:40.248366Z  INFO webrtc::peer_connection: ICE connection state changed: connected
2022-12-02T02:57:40.269851Z  INFO webrtc::peer_connection: peer connection state changed: connected
2022-12-02T02:57:40.690942Z  WARN webrtc::peer_connection::peer_connection_internal: Incoming unhandled RTCP ssrc(0), on_track will not be fired

That's likely a harmless error message as we don't currently care about incoming streams.


[#3286] Fix ESLint issues for JavaScript samples

Addresses # 3286
Description
This PR fixes existing lint issues for the majority of JavaScript and TypeScript bots, to prepare the new CI pipeline for the samples.
Detailed Changes

Remove trailing spaces
Remove trailing commas
Fix code blocks spacing
Reorder properties alphabetically
Remove unused imports

/promoted 3769


Getting involved

Hi @dhimmel @cgreene,
Just wanted to say that I really enjoyed the accompanying paper for this project in eLife and Daniel's related debate written up at: https://scholarlykitchen.sspnet.org/2019/04/16/researcher-to-reader-r2r-debate-is-sci-hub-good-or-bad-for-scholarly-communication/
If you all do something similar on this topic; or update the current study, I'd be interested in lending a hand, if needed and if there is a way I can be helpful.
Best,
Dan

Hi @dunldj. Thanks for getting in touch. I don't have much time to devote to this project at the moment. So you'd have to mostly take the lead with occasional input on my end.
One task I think would be helpful is to update the download visualization with the 2011-2013 download logs. Currently, the figure is:

You could then also update the wikipedia image based on this data
https://commons.wikimedia.org/wiki/File:Sci-hub_downloads.png


Issue with k8s.io/zh/docs/concepts/configuration/pod-overhead/

This is a Bug Report

Problem:
Hyperlink named "特性门"cannot be used normally, when clicked, jump to url as https://kubernetes.io/zh/docs/concepts/configuration/pod-overhead/%E9%BB%98%E8%AE%A4%E6%83%85%E5%86%B5%E4%B8%8B%E6%98%AF%E5%85%B3%E9%97%AD%E7%9A%84  and  get 404 page.
Proposed Solution:
Page to Update:
https://kubernetes.io/...

v1.17

/kind bug
/language zh

/assign


BEAM-7995: python PGBKCVOperation using wrong timestamp

python PGBKCVOperation is using closed interval end which is not acceptable for window calculation. Make a change to use window.max_timestamp() which uses open interval end for the window

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---

---
---

Java

Python

---

---
---

XLang
---
---
---

---
---
---

Pre-Commit Tests Status (on master branch)

---
Java
Python
Go
Website

Non-portable

Portable
---

---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

@robertwb

This is only tangential to this PR, but while we're here, can someone tell me what "PGBKCV" stands for? :sweat_smile: I'd like to see this documented. https://issues.apache.org/jira/browse/BEAM-8087

Run Python PreCommit

PGBKCV = PartialGroupByKeyCombineValues
represents the mappers side lifted combine
https://s.apache.org/beam-runner-api-combine-model
On Fri, Aug 23, 2019 at 4:23 PM Kyle Weaver<EMAIL_ADDRESS>wrote:

This is only tangential to this PR, but while we're here, can someone tell
me what "PGBKCV" stands for? 😅 I'd like to see this documented.
https://issues.apache.org/jira/browse/BEAM-8087
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/pull/9364?email_source=notifications&email_token=ACM4V3ABPBSYAVK2C5B74YTQGBWPDA5CNFSM4IMM4NOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5BRSRA#issuecomment-524491076,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACM4V3EDA54H42UT7GN323LQGBWPDANCNFSM4IMM4NOA
.

Run Python PreCommit

Run Portable_Python PreCommit

@aaltay  thank you so much for the lint fix.  It seems to have been broken for a while. I plan to send an email to ask about this but just in case that you have some info.

Test was failing with another lint error. I fixed it in github's UI and did not run linter on it. You can check the test logs to see there are other issues.

Run Portable_Python PreCommit

@aaltay  ah, thank you so much. Since now all checks have passed. Can you help merge this PR?


Laravel generating two different Signatures and causing a 403.

Laravel Version: 5.7.*
PHP Version: 7.2
Database Driver & Version: NA

Description:
I am generating a URL for someone to use to quickly access a page, but every time I generate a SignedRoute and navigate to it I get a 403 Invalid Signature
I've checked this by dumping out the variables within UrlGenerator
"5958bba0a1843035a7514bdb12240f5d87ad1414d2c18f8676d867116b1945cc" (original)
"0a62b4e9bee046c02c07136c10b5e1e1924b2ede7034c65966ff5103d507f5e9" (generated 2nd)
TargetURL: http://psgateway.eu.ngrok.io/autologin?cart=34&user=2
I've got nothing in place to modify the URL and I'm using a base install of Valet to serve the site, would anyone be able to provide some assistance with this? (i can't find anything referencing this issue on google, and larachat on slack is very slim on knowledge with SignedRoutes.)

Can you first please try one of the following support channels? If you can actually identify this as a bug, feel free to report back.

Laracasts Forums
Laravel.io Forums
Discord
Larachat
IRC
StackOverflow

@driesvints I have spent a lot of time in Larachat and StackOverflow today trying to figure this one out.

@agentmarine can you post some links to these discussions so we can gather some info from them?

https://larachat.slack.com/archives/C039F76DN/p1544701016284400
https://larachat.slack.com/archives/C039F76DN/p1544703189303200
I couldnt find any thing relevant on SO.

I'll need more info and/or code to debug this further. Please post relevant code like models, jobs, commands, notifications, events, listeners, controller methods, routes, etc. You may use https://paste.laravel.io to post larger snippets or just reply with shorter code snippets. Thanks!

app/Notifications/ShippingRateAssigned.php

public function toMail($notifiable)
  {
      return (new MailMessage)
          ->line('Thank you for placing your order with us!.')
          ->line('In order for us to continue with your order we require you to make a payment for the order!.')
          ->action('Make a payment', URL::SignedRoute('autologin', ['user' => $this->cart->user, 'cart' => $this->cart]))
  }

URL Generated

https://psgateway.eu.ngrok.io/autologin?cart=34&user=2&signature=5958bba0a1843035a7514bdb12240f5d87ad1414d2c18f8676d867116b1945cc

autologin.blade.php

Route: "http://psgateway.eu.ngrok.io/autologin?cart=34&user=2"
Key (I'll regen this after): "base64:HPRasXztNozDBzwmo6i5VsFiHX9cLic3J+GpGpktLms="
New Sig: "0a62b4e9bee046c02c07136c10b5e1e1924b2ede7034c65966ff5103d507f5e9"
Orig Sig: "5958bba0a1843035a7514bdb12240f5d87ad1414d2c18f8676d867116b1945cc"

This is just a wild guess but did you set the APP_URL to be the same as which is used which generated the signed route? Not 100% sure if it's relevant.

You've set it to https ut the route you posted above is http?

The route in question is the following
Route::get('/autologin', function (Request $request) {
    Auth::login($request->query('user'));

    return redirect()->route('order.checkout', $request->query('cart'));
    })->name('autologin')->middleware('signed');

All my routes are forced to HTTPS with \URL::forceScheme('https'); in the boot method of the AppServiceProvider.

Yeah but I think you need to change the APP_URL=https://psgateway.eu.ngrok.io to APP_URL=http://psgateway.eu.ngrok.io no?

doesnt make any difference, I've just tried it.

Have you tried disabling the URL::forceScheme('https'); and using APP_URL=http://psgateway.eu.ngrok.io ?

that seems to have worked, however, now the site isn't operating under HTTPS.

I did, and I run through valet share with a hostname.
the new Url generated by the urlGenerator was this http://psgateway.eu.ngrok.io/autologin?cart=34&user=2&signature=0a62b4e9bee046c02c07136c10b5e1e1924b2ede7034c65966ff5103d507f5e9
which of course would immediately take the user to a HTTP version with no redirect because im not enforcing HTTPS at this point.

I believe the issue is related with signedRoute(...) which actually uses $this->route() rather than $this->secureRoute()..
potentially a new method might be required for a securedSignedRoute(....) which uses SecureRoute() rather than route()

Ah, think I know what's going on. See the note at https://laravel.com/docs/5.7/valet#sharing-sites
I don't think this is currently possible, sorry.
Pissuble related: https://github.com/laravel/valet/issues/504

Thanks for the reply @driesvints I do think we can probably just expand the current functionality just to use the secureRoute function, which would allow us to enforce the use of HTTPS routes leaving the .env as http:// etc..

Okay, well I'm going to close this as this seems more a Valet issue than a framework issue. Hope you figure it out. Good luck!

Ok I think I've finally solved this issue, its related to the UrlGenerator. it seems that the $request->url() function doesnt respect https and will return a http based url. I would probably put forward a a change to use url()->current() to get the url that way which does enforce the protocol that is being passed through.
public function hasValidSignature(Request $request, $absolute = true)
  {

      $url = $absolute ? url()->current() : '/'.$request->path();

      $original = rtrim($url.'?'.Arr::query(
          Arr::except($request->query(), 'signature')
      ), '?');

      $expires = $request->query('expires');

      $signature = hash_hmac('sha256', $original, call_user_func($this->keyResolver));

      return  hash_equals($signature, (string) $request->query('signature', '')) &&
             ! ($expires && Carbon::now()->getTimestamp() > $expires);
  }

I have same problem on Laravel 7

I had the same issue. You can enforce the use of HTTPS, after which a signed route will always be prefixed with https:// instead of http://:
https://stackoverflow.com/a/62111949/6007740


using helm with kube-solo or kube-cluster on mac

Hi,
Did anybody succeed using helm with a kubernetes install on a mac? I used kube-cluster for this but keep getting errors using "helm init".
I think the config file is not in $HOME/.kube but in $HOME/kube-cluster/kube am I correct? So I'm setting $KUBECONFIG to that folder.
Unfortunately I get following error:
Error: error installing: Get http://localhost:8080/api: dial tcp [::1]:8080: getsockopt: connection refused
Can anybody help me out here?
Kind regards,
Peter

hey @ploef helm works with kube-solo, but not with kube-cluster yet.
CoroeOS does not come with socat anymore which is used by kubectl port-forward and helm.
I have added it kube-solo, and extra service for tiller, so helm now can communicate with tiller.
I'm going to add the helm support to kube-cluster next week.

Hi @rimusz,
Thanks for the quick response! I'll checkout kube-solo now and get back to kube-cluster next week.

@ploef I'm using helm (v2.0.0-beta.1) with kube-solo without any problem. Maybe you have a problem with your kubeconfig, make sure that you're in the proper context using: kubectl config use-context kube-solo. When you type ksolo shell the $KUBECONFIG is set to ~/kube-solo/kube/kubeconfig

@ploef Kube-Cluster lastest version got support for Helm too

Are we ready to close this one?


Allow zooming out beyond video boundaries while preserving aspect ratio

Currently, users cannot zoom out beyond the boundaries of the video. This means that if the video is in a 1:1 aspect ratio and the user selects a 9:16 aspect ratio, they cannot zoom out to see the full video without cropping the sides.
The expected behavior should be that the user can zoom out beyond the boundaries of the video, but only up to the point where at most one axis of the video exceeds the dimensions of the original video. This will allow the user to see more of the video without losing any content.


Failing test: Comma selectors are evaluated independently

Initial checklist

[x] I read the support docs
[x] I read the contributing guide
[x] I agree to follow the code of conduct
[x] I searched issues and couldn’t find anything (or linked relevant results below)
[x] If applicable, I’ve added docs and tests

Description of changes
This PR adds a failing test demonstrating what I think is a bug. I wanted to use hast-util-select to assign the correct heading path (h1.textContent → h2.textContent → p) to paragraphs on a document. But it looks like unist-util-select’s selectAll essentially evaluates selector.split(',').flatMap(selectAll), resulting in out-of-order results.
I noticed that wrapping my selector in :matches() causes results to be emitted in the correct order (although doing this prevents me from using nesting selector combinators like >, so it doesn’t work for my use case).
I think this should either be fixed (so that the ordering of results from :matches(a, b) and a, b are the same) or documented as a limitation.

Thanks for the repro. I think it might the same issue as https://github.com/syntax-tree/unist/discussions/66#discussioncomment-2389243.

Well, that was very hard to solve. The whole architecture had to be different.
I managed to solve it in hast-util-select, should soon land here.

Fixed!


Avatar URL changed

Describe the bug
The avatar URL is getting a PermanentRedirect from AWS
To Reproduce
Use whatever URL provided by Avatar
Example: https://s3.amazonaws.com/uifaces/faces/twitter/bradenhamm/128.jpg
Expected behavior
The URL should be updated
Versions:

Faker Version 1.5.0-SNAPSHOT

Thanks for reporting. What do you propose we use instead?

Fixed in 1f2802ee5d1bff2f83293367cc04b2694784aedd


[Icon] check all icons that are in the kit fimga are present in the kit

we are for sure missing this one, and i think more like and upload icon for the new Upload component

Stretch goal
it would be cool to have one story where all the icons are shown in a grid with their name handy to copy and paste

@BillyG83 Please don't close this yet.
I think I only completed the stretch goal 🤣 .
Did not find the upload icon in Figma.

Closed by monorepo #659


Enhance "More about types" section

The section "more about types" has a great organization for instructional purposes - hiding advanced information until the user is ready - but as a reference it might be confusing. For example, if one needs to look-up advanced topics about records they would not see them in the regular "records" category and would have to dig around.
Perhaps a solution might be just to remove the "More about types" category and make all of its subcategories unnested and at the forefront, or hide all topics related to types into an overarching category.

Thanks for the hint! A workaround (implemented in #744) is to move some sections to separate chapters and add cross-references.


Update deployment CI

IMPORTANT: Please search among the Pull requests before creating one.
Title

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] New feature (non-breaking change which adds functionality)

Description

Update deployment CI and CONTRIBUTING.rst based on a new branching structure.
How has this been tested?

N/A (TODO: make sure the merge action in deployment.yml is a merge commit)
Have release notes been modified?

N/A
Closes

closes #676
closes #674

@michalk8, is the release branch merged automatically immediately after creating it and if tests passed?

What if we still need to add changes? For example, imagine we are close to a new release and a feature is ready to be merged to cellrank@dev but should not be included in this release. In this case, I'd create the release branch, add some final touches and only then merge and add the tag.
What if someone random pushes a release branch? This is caught by the secret tokens?

Re 1.: right now, I can't imagine any final touches that should be on the release branch and (ultimately) not on dev (maybe you can give a small example of what you've had in mind? can't think of anything so release specific). In any case, there's a way to skip CI releases (and doing stuff manually) by doing:

create release/vX.X.X off dev
optionally modify release/vX.X.X
tag the last commit
merge release/vX.X.X into dev and master
push all the branches (important is the one on master, since it's where PyPI release will happen)

Alt. way of doing things is to trigger new release on merging release into master through a PR, not when release is created,
which is slightly more complex (I wanted to avoid making PR from release to ... as to make making new releases as simple as possible), although it gives you more control (adding changes) + better knowledge whether CI passes.
Re 2.: shouldn't really happen (I think/hope - how likely is that you will create a release/vX.X.X branch and push it), but there's alway to stop the CI manually.
I'd say let's discuss this on Wednesday with @Marius1311 and converge on the strategy.

Re 1.: right now, I can't imagine any final touches that should be on the release branch and (ultimately) not on dev (maybe you can give a small example of what you've had in mind? can't think of anything so release specific)

Sorry, I meant adding something to dev but not yet include it into the next release. For example, open release branch release/vX.X.X but release notes have not been added. The release branch acts as a pre-release. Now we can added new features, which we do not want to include in release vX.X.X, to dev. Prior to the release we can also fix some some newly found bugs on release/vX.X.X, add release notes, etc. release/X.X.X would evidently always be merged into dev before deleting it. The diagram in the article you cited in CONTRIBUTING.rst also shows this case in their diagram.


BUG: Index.union cannot handle array-likes

Closes #10149.

Added explicit tests for array-likes in set-ops, intersection, union, difference and sym_diff.

TimedeltaIndex previously did additional input check which is inconsistent with others. Made it work as the same manner as others.
MultiIndex set-ops should only accept list-likes of tuples. Implement the logic and add explicit test.

Changed to understandable error message for str which has __iter__ in py3.

# current error msg
idx.intersection('aaa')
# TypeError: Index(...) must be called with a collection of some kind, 'aaa' was passed

NOTE: This DOESN'T care the name attribute checks, which is being worked in #9965.

rebase / address comments when you have a chance

Rebased. I've added tests to Base, but it cannot work in all Index currently. I'll prepare separate issue about CategoricalIndex and TimedeltaIndex set ops behavior.
I'd like to confirm here is MultiIndex should accept list-likes of something? Currently, it raises error not understandable for users as below.
>>> midx = pd.MultiIndex.from_tuples([(1, 2), (3, 4)])
>>> midx
MultiIndex(levels=[[1, 3], [2, 4]],
           labels=[[0, 1], [0, 1]])
>>> midx.intersection([(1, 2)])
AttributeError: 'list' object has no attribute 'names'

Let me conform TimedeltaIndex behavior here (because simple than I initially thought).  On current master, DatetimeIndex.union performs additional check and it causes an error. Removed this check in and made it consistent with others in this PR.
idx1 = pd.timedelta_range('1 day', freq='D', periods=5)
idx2 = pd.timedelta_range('3 day', freq='D', periods=5)

idx1.intersection(idx2.asobject.tolist())
# TimedeltaIndex(['3 days', '4 days', '5 days'], dtype='timedelta64[ns]', freq=None)

idx1.union(idx2.asobject.tolist())
# AttributeError: 'list' object has no attribute 'inferred_type'

idx1.difference(idx2.asobject.tolist())
# TimedeltaIndex(['1 days', '2 days'], dtype='timedelta64[ns]', freq=None)

idx1.sym_diff(idx2.asobject.tolist())
# TimedeltaIndex(['1 days', '2 days', '6 days', '7 days'], dtype='timedelta64[ns]', freq=None)

Rebased, and updated top descriptions about TimedeltaIndex and MultiIndex behaviors.

thanks @sinhrks


ci: remove selenium grid from CI

This PR removes selenium grid-based tests from this pipeline and uses meta job to determine the version of Splunk the tests should target.

:tada: This PR is included in version 2.3.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[New Teams Regression]Not tooltip for close button of Task Module

Steps to reproduce

Open a task module.
Tab to mouse over the close button on the right-top.
Check the tooltip.
Actual: There is no tooltip shown.

Expected: There should be a tooltip.
In legacy teams, there is a tooltip. So this is a regression case.

Expected behavior
There should be a tooltip.
Actual behavior
There is no tooltip shown.
Error details
No response

Hello @qjkobe ,
Thanks for reporting your issue. We will test this and update you soon.

Hello @qjkobe ,
We are able to repro that issue, we have raised bug for the same. We will inform you once we get any update.


remove shift_stack.yml playbook

This playbook uses infrared for deploying OCP, but we no longer support it and is confusing for users while deploying with OCP. Please remove https://github.com/redhat-performance/jetpack/blob/master/shift_stack.yml

https://github.com/redhat-performance/jetpack/pull/300


Add Documentation via GH Pages

This PR adds a documentation generator project, based on statiqdev/Statiq.Docs. Documentation is uploaded to GH Pages for publishing.
Fixes #169

docfx (once finally implemented) has a much better rendition


Tech Empower Fortunes System.Data perf improvements

https://www.techempower.com/benchmarks/#section=data-r14&hw=ph&test=fortune
Tracking issue for :

(~10%) Fix system.data.sqlclient!System.Data.ProviderBase.DbConnectionPoolIdentity.GetCurrent on windows to cache the windows identity, or to mimic what Linux does
(~4%) There are hot locks in system.data.sqlclient
a.	(2.7%) system.data.sqlclient!System.Data.ProviderBase.DbConnectionPool.PrepareConnection
b.	(.3%) system.data.sqlclient!System.Data.SqlClient.SqlConnection+OpenAsyncRetry.Retry
c.	(.5%) system.private.corelib!System.Threading.TimerQueueTimer.Change

@vancem @mikeharder

CC: @sebastienros

As recently announced in the .NET Blog, focus on new SqlClient features an improvements is moving to the new Microsoft.Data.SqlClient package. For this reason, we are moving this issue to the new repo at https://github.com/dotnet/SqlClient. We will still use https://github.com/dotnet/corefx to track issues on other providers like System.Data.Odbc and System.Data.OleDB, and general ADO.NET and .NET data access issues.

I investigated and proposed changes to some of these items in https://github.com/dotnet/corefx/pull/37157 Ultimately it was closed because the benefits were small and only evident at startup, see the discussion for details.
The remaining item is to change PrepareConnection from locking to a RWLS which i've got a branch for but am waiting on code in this repo.
On linux identity is the hostname and this is safe because impersonation is not supported. On windows impersonation is possible and the hostname does not change when using it, so using th elinux mechanism on windows is insecure. The thing that can't be avoided is fetching the current user security identity. It might be possible to avoid some string allocations by caching the last identity seen and then comparing it to the fetched one.

Am curious, is impersonation supported on .NET Core?

yes, https://apisof.net/catalog/System.Security.Principal.WindowsIdentity.RunImpersonated<T>(SafeAccessTokenHandle,Func<T>)

That page is for .NET Framework but I can see impersonation seems to be available on .NET Core too.

the page is just for the api, the comment says .net framework for some reason but the important part is the table of support at the bottom.

Ah I see, thanks for pointing that out.

Closing as not planned.


Docs section: Security, Governance and Compliance - Resource Group Design

Page section: Design Recommendations
Fix:

Convert text code snippet for Resource Groups to a diagram or a bullet point list, to make it easier for users to consume.

Agree, have the same comments from Cognizant during engagement, diagram will be easier to understand.
Also, we need to follow diagram design guidelines from other accelerator teams like AVS, since marketing team has already vetted their docs.

PR #3125 submitted

PR #3125 submitted


Update SonarSlackPusher.java

creating a numberOfAttachments variable to use in all pushNotification method and works after attachments.clear() on line 282

Does not really provide any new functionality and from a clean code perspective I think it looks good like it is. The ArrayList size method is also constant (and cheap) in time so there is no gain there.


Missing Dependency JuliaPkgDownloader.jl Blocks Execution

Hi,
Thank you for this project! we encountered an issue when trying to run it as described in the README. It appears that one of the dependencies, JuliaPkgDownloader.jl, is missing from the provided link () .
When attempting to install JuliaPkgDownloader.jl, we found that the linked GitHub repository has been deleted or is no longer accessible. This missing dependency prevents the successful execution of the code.
Steps to Reproduce:

Follow the installation steps in the README.
Attempt to install JuliaPkgDownloader.jl from the provided link.
Encounter a 404 error indicating the repository no longer exists.

Expected Behavior: Successful installation of JuliaPkgDownloader.jl and execution of the project.
Actual Behavior: JuliaPkgDownloader.jl cannot be found, which blocks the installation process and project execution.
Suggested Solution: If possible, could you:

Provide an updated link to JuliaPkgDownloader.jl, or
Remove/replace the dependency if it is no longer necessary?

Thank you for your help and for making this project available!

Oops, thank you for letting me know! Please, try again: https://github.com/julbinb/JuliaPkgDownloader.jl


Place hideGlobalFilter() call within a useEffect

Due to changes in insights-chrome, we need to call this function within a useEffect in order to not have an infinite loop
To test that this works, load the app and refresh a few times.  On main you'll get an intermittent failure where you end up with a blank page.  On this branch, the page loads every time.

Codecov Report

Merging #16 (e53796a) into main (eeaf21c) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #16      +/-   ##
==========================================
+ Coverage   96.46%   96.47%   +0.01%
==========================================
  Files          27       27
  Lines         283      284       +1
  Branches       58       58
==========================================
+ Hits          273      274       +1
  Misses         10       10

Impacted Files
Coverage Δ

src/components/Authentication/Authentication.tsx
92.85% <100.00%> (+0.54%)
: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 eeaf21c...e53796a. Read the comment docs.


Add Couchdb logging receiver

Added logging receiver for couchdb.
A single receiver that supports 2 log formats as access logs or error logs:
Logs are received from a single source /var/log/couchdb/couchdb.log
Sample log example:
{
  "insertId": "152cslufvw01o4",
  "jsonPayload": {
    "message": "admin GET /forbidden 404 ok 1",
    "status_message": "ok",
    "remote_user": "admin",
    "pid": "0.25387.37",
    "path": "/forbidden",
    "host": "<IP_ADDRESS>",
    "node": "couchdb"
  },
  "httpRequest": {
    "requestMethod": "GET",
    "status": 404,
    "responseSize": "1",
    "remoteIp": "<IP_ADDRESS>",
    "serverIp": "localhost:5984"
  },
  "resource": {
    "type": "gce_instance",
    "labels": {
      "instance_id": "1314100884383110088",
      "project_id": "otel-agent-dev",
      "zone": "us-central1-a"
    }
  },
  "timestamp": "2022-02-10T20:34:32.105337Z",
  "severity": "NOTICE",
  "logName": "projects/otel-agent-dev/logs/couchdb",
  "receiveTimestamp": "2022-02-10T20:34:34.937004216Z"
}

The previous integration test run on commit [83bf0f8](https://github.com/GoogleCloudPlatform/ops-agent/pull/394/commits/83bf0f80ed2e6bc2ec95118b63e2e1acc97a85fc) only failed for sles 12:

        + sudo zypper --non-interactive --no-gpg-checks ref
        Error retrieving metadata for 'SLE-Module-Adv-Systems-Management12-Pool':
        Not ready to read within timeout.
        Skipping repository 'SLE-Module-Adv-Systems-Management12-Pool' because of the above error.
        Some of the repositories have not been refreshed because of an error.
2022/02/15 10:32:17 Attempt 4 of sles-12 test of hbase finished with err=<nil>, retryable=false
2022/02/15 10:34:17 Attempt 4 of sles-12 test of memcached finished with err=<nil>, retryable=false
2022/02/15 10:34:28 Attempt 4 of sles-12 test of hadoop finished with err=<nil>, retryable=false
2022/02/15 10:34:45 Attempt 4 of sles-12 test of zookeeper finished with err=<nil>, retryable=false
2022/02/15 10:38:23 Attempt 4 of sles-12 test of elasticsearch finished with err=<nil>, retryable=false
2022/02/15 10:39:26 Attempt 4 of sles-12 test of tomcat finished with err=<nil>, retryable=false
--- FAIL: TestThirdPartyApps (0.00s)
    --- FAIL: TestThirdPartyApps/sles-12 (0.00s)
        --- SKIP: TestThirdPartyApps/sles-12/wildfly (0.00s)
        --- SKIP: TestThirdPartyApps/sles-12/jvm (0.00s)
        --- SKIP: TestThirdPartyApps/sles-12/couchdb (0.00s)
        --- SKIP: TestThirdPartyApps/sles-12/cassandra (0.00s)
        --- SKIP: TestThirdPartyApps/sles-12/nginx (0.00s)
        --- SKIP: TestThirdPartyApps/sles-12/mysql (0.00s)
        --- SKIP: TestThirdPartyApps/sles-12/apache (0.00s)
        --- SKIP: TestThirdPartyApps/sles-12/redis (0.00s)
        --- FAIL: TestThirdPartyApps/sles-12/elasticsearch#01 (1293.23s)
        --- PASS: TestThirdPartyApps/sles-12/mongodb (1293.24s)
        --- FAIL: TestThirdPartyApps/sles-12/activemq (1310.84s)
        --- FAIL: TestThirdPartyApps/sles-12/solr (1321.11s)
        --- PASS: TestThirdPartyApps/sles-12/hbase (1346.48s)
        --- PASS: TestThirdPartyApps/sles-12/kafka (1552.88s)
        --- FAIL: TestThirdPartyApps/sles-12/postgresql (1607.29s)
        --- PASS: TestThirdPartyApps/sles-12/hbase#01 (1656.71s)
        --- PASS: TestThirdPartyApps/sles-12/memcached (1777.33s)
        --- PASS: TestThirdPartyApps/sles-12/hadoop (1790.50s)
        --- PASS: TestThirdPartyApps/sles-12/zookeeper (1802.26s)
        --- PASS: TestThirdPartyApps/sles-12/elasticsearch (2027.83s)
        --- PASS: TestThirdPartyApps/sles-12/tomcat (2094.11s)

And Couchdb is not supported on SLES 12.
So we are good integration tests wise. Additional syncing / rebasing off master does not need to trigger integration tests again, unless the change is significant.

Looks like the collectd submodule is still there. Perhaps just cherry pick https://github.com/GoogleCloudPlatform/ops-agent/pull/400, or rm -rf submodules/collectd?


Fix visible dimensions for plotting inducing points

Fixes bugs with plotting sparse GPs. Fixes issue https://github.com/SheffieldML/GPy/issues/582

Codecov Report

Merging #600 into devel will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##            devel     #600   +/-   ##
=======================================
  Coverage   53.17%   53.17%
=======================================
  Files         203      203
  Lines       20324    20324
  Branches     2726     2726
=======================================
  Hits        10807    10807
  Misses       9022     9022
  Partials      495      495

Good spotting! Thanks


Typescript: Actions in separate object resolve to wrong event type

Description
When setting actions in the state machine option object, the event type does not have the right property. It seems it uses the first event object from the Event type.
Expected Result
I expected I can use any event object that I have defined in my Event object type.
Actual Result
Typescript throws an error:
Property 'file' does not exist on type 'UploadFileEvent'.
  Property 'file' does not exist on type '{ type: "SUBMIT"; }'

Reproduction
import {
    Machine,
    sendParent,
    State,
    SingleOrArray,
    OmniEvent,
    assign
} from "xstate";

export interface UploadFileStateSchema {
    states: {
        idle: {};
        incomplete: {};
    };
}

// The events that the machine handles
export type UploadFileEvent =
    | {
          type: "ADD_FILE";
          file: File;
      }
    | {
          type: "SUBMIT";
      };

export type UploadFileStateMachineContext = {
    file: File;
};

export type UploadFileStateMachineState = State<
    UploadFileStateMachineContext,
    UploadFileEvent
>;
export type UploadFileStateMachineSend = (
    event: SingleOrArray<OmniEvent<UploadFileEvent>>,
    payload?: Record<string, any> & {
        type?: undefined;
    }
) => State<UploadFileStateMachineContext, UploadFileEvent>;

export const uploadFileStateMachine = Machine<
    UploadFileStateMachineContext,
    UploadFileStateSchema,
    UploadFileEvent
>(
    {
        initial: "idle",
        states: {
            idle: {
                on: {
                    ADD_FILE: {
                        actions: "addFile"
                    },
                    SUBMIT: [
                        {
                            cond: "checkFile",
                            actions: "submit"
                        },
                        { target: "incomplete" }
                    ]
                }
            },
            incomplete: {
                on: {
                    ADD_FILE: {
                        actions: "addFile"
                    },
                    SUBMIT: [
                        {
                            cond: "checkFile",
                            actions: "submit"
                        },
                        { target: "incomplete" }
                    ]
                }
            }
        }
    },
    {
        actions: {
            submit: sendParent((context, event) => ({
                type: "SUBMIT_UPLOAD_FILE",
                file: context.file
            })),
            addFile: assign({
                file: (context, event) => event.file
            })
        },
        guards: {
            checkFile: (context, event) => !!context.file
        }
    }
);

Additional context
xstate 4.7.2, same error 4.6

see https://github.com/davidkpiano/xstate/issues/836#issuecomment-560154725
I know it's not ideal in your case since that action is referred to more than once. You could do this (which also isn't ideal)
actions: {
            addFile: assign<UploadFileStateMachineContext , { type: "ADD_FILE", file: File }>({
                file: (context, event) => event.file
            })
        },

Not ideal obviously as you'd need to update your action if you later decide to make a change to your UploadFileEvent type

Okay, I hope this will work someday.
Here is my workaround for now:
export type UploadFileEvent = AddFileEvent | SubmitEvent;

type AddFileEvent = {
    type: "ADD_FILE";
    file: File;
};
type SubmitEvent = {
    type: "SUBMIT";
};

addFile: assign({
    file: (context, event: AddFileEvent) => event.file
})

At the moment TS inference fails us when it comes to inferring Context for assign and unfortunately once you specify a type argument you bail out from the inferring for all arguments imemdiately. So you cannot parametrize with Context, but leave Event to be inferred. There are issues about this on TS boards and they are figuring this out - but there is no ETA for this. So I'm afraid that at the moment there is no much we can do until that gets implemented in TS.

At the moment TS inference fails us when it comes to inferring Context for assign and unfortunately once you specify a type argument you bail out from the inferring for all arguments imemdiately. So you cannot parametrize with Context, but leave Event to be inferred. There are issues about this on TS boards and they are figuring this out - but there is no ETA for this. So I'm afraid that at the moment there is no much we can do until that gets implemented in TS.

Ok,  c'est la vie. Feel free to close this issue if you want to.

Any updates?

no updates on this?

no updates on this?

You can use Typegen to resolve to the correct event types: https://stately.ai/blog/introducing-typescript-typegen-for-xstate


flakey OS X integration test

Description:
test/integration:http2_integration_test is flakey on OS X.
I believe the exact test that hangs varies, so it's probably some timing issue in the test harness that OS X exposes as compared to Linux. I've not had any luck reproducing this outside of CI.

Tracking more data here (and @envoyproxy/maintainers please continue as you see more flakes)
https://pastebin.com/NJu7N5ri says Http2IntegrationTest took ~40s and the test timed out after 315 seconds so either some generic "bad expectation" or CookieRoutingNoCookieNoTtl failure.  I think I recall other tests flaking so I think it's some bad expectation but it'd be nice to confirm.

got that one to fail once (after a few thousand repetitions). It's stuck waiting in Envoy::FakeUpstream::waitForHttpConnection, but I don't know that this tells us much. I can reproduce it pretty reliably by running the test in a loop while building an unrelated project.
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  * frame #0: 0x00007fff7d68acee libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff7d7c7662 libsystem_pthread.dylib`_pthread_cond_wait + 732
    frame #2: 0x00007fff7b570d43 libc++.1.dylib`std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l,<PHONE_NUMBER>l> > >) + 93
    frame #3: 0x0000000105fb693b http2_integration_test`std::__1::cv_status std::__1::condition_variable::wait_for<long long, std::__1::ratio<1l, 1000000l> >(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000l> > const&) + 3771
    frame #4: 0x0000000105f9e68f http2_integration_test`std::__1::cv_status std::__1::condition_variable::wait_until<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000l> > >(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000l> > > const&) + 479
    frame #5: 0x0000000105fa9a19 http2_integration_test`Envoy::FakeUpstream::waitForHttpConnection(Envoy::Event::Dispatcher&, std::__1::vector<std::__1::unique_ptr<Envoy::FakeUpstream, std::__1::default_delete<Envoy::FakeUpstream> >, std::__1::allocator<std::__1::unique_ptr<Envoy::FakeUpstream, std::__1::default_delete<Envoy::FakeUpstream> > > >&) + 1609
    frame #6: 0x0000000105e5a274 http2_integration_test`Envoy::Http2RingHashIntegrationTest::sendMultipleRequests(int, Envoy::Http::TestHeaderMapImpl, std::__1::function<void (Envoy::IntegrationStreamDecoder&)>) + 4772
    frame #7: 0x0000000105e5cd03 http2_integration_test`Envoy::Http2RingHashIntegrationTest_CookieRoutingNoCookieNoTtl_Test::TestBody() + 2675
    frame #8: 0x0000000105e5d1fc http2_integration_test`non-virtual thunk to Envoy::Http2RingHashIntegrationTest_CookieRoutingNoCookieNoTtl_Test::TestBody() + 28
    frame #9: 0x000000010783ed6e http2_integration_test`void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) + 126
    frame #10: 0x0000000107814e9b http2_integration_test`void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) + 123
    frame #11: 0x0000000107814dc6 http2_integration_test`testing::Test::Run() + 198
    frame #12: 0x000000010781630d http2_integration_test`testing::TestInfo::Run() + 221
    frame #13: 0x00000001078178cc http2_integration_test`testing::TestCase::Run() + 236
    frame #14: 0x00000001078272db http2_integration_test`testing::internal::UnitTestImpl::RunAllTests() + 1019
    frame #15: 0x00000001078419be http2_integration_test`bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) + 126
    frame #16: 0x0000000107826c9b http2_integration_test`bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) + 123
    frame #17: 0x0000000107826b68 http2_integration_test`testing::UnitTest::Run() + 408
    frame #18: 0x0000000106eda9a1 http2_integration_test`RUN_ALL_TESTS() + 17
    frame #19: 0x0000000106eda814 http2_integration_test`Envoy::TestRunner::RunTests(int, char**) + 1076
    frame #20: 0x0000000106eda29f http2_integration_test`main + 1983
    frame #21: 0x00007fff7d53b115 libdyld.dylib`start + 1

Internally we have an injector for trickle-write tests one could (fairly) easily plug into general integration tests. I'm thinking of adding one to Envoy since I think the packetization has caused most of the macos behavioral differences and I'd be happy to work on debugging these if I could only repro.
Semi-related, we were discussing internally if there was any way to set things up for macos and/or as we add other build systems so other folks could repro.  Currently the only way is to send out a PR with debug logging which you tell folks to ignore, and open and close the issue a whole lot, which is clearly suboptimal :-P

Well interesting. I decided to take the hacky approach and overwrote
-int OwnedImpl::write(int fd) { return evbuffer_write(buffer_.get(), fd); }
+int OwnedImpl::write(int fd) { return evbuffer_write_atmost(buffer_.get(), fd, 10); }
This causes a LOT of tests to fail.  Sadly http2_integration_test is still pretty solid for me.  How many runs on average does it fail for you?  I can up my --runs_per_test if I'm not being aggressive enough.

https://circleci.com/gh/envoyproxy/envoy/24122?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
Another one with xfcc_integration_test.

Another one in proxy_protocol_test https://circleci.com/gh/envoyproxy/envoy/24528?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

@alyssawilk to get the stack traces I ran the test directly from the command line in a loop, so I wasn't using runs_per_test. I tried to get it to reproduce today with bazel and runs per test and it's not as reliable as it was before.

These continue to happen, e.g. https://circleci.com/gh/envoyproxy/envoy/29430?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

@zuercher any thoughts on how we can resolve this? We had some active confusion in https://github.com/envoyproxy/envoy/pull/2688 which led to the author rolling back a change due to perceived introduction of OS X hangs.

Every time I try to add extra logging to help me understand the problem, it disappears. I can try throwing dtrace at it. Maybe that will turn up something.

@zuercher I hate to propose this, but what if on OSX we retry the bazel test command once if it fails? (Or maybe there is something built-in to bazel to retest). This is obviously not great, but would probably cause almost all of the flakes to go away.

I think this test is still flaky on mac: https://circleci.com/gh/envoyproxy/envoy/48033

Per @mattklein123 we now retry integration tests on OS X once if they fail to make the flakiness less disruptive.

I'm closing this as it seems pretty stable w/ the retry.


Added Habitica

Added habitica.com with notes in english and brazilian portuguese.

Hello @DepressiveMe ,
This repo is not being maintained anymore, but we are trying to keep it alive on a fork here, would you kindly submit your PR there and close this one here? :)


Question about task query sidebar

👋Hi, thank you for writing this plugin! I have a question about how to automatically display my various task information in the right sidebar, such as TODO, DOING, DONE and so on?
After installing the plugin, the sidebar is blank with no information. Can you record a video to teach me how to set it up? Thanks!

I made a capture video today. https://github.com/YU000jp/Logseq-default-queries-journals/blob/main/README.md
On Logseq, edit config.edn file.
Once you've done that, create your own task and try it out.

Thx a lot!


Fix typo in documentation

The correct name seems to be PunktSentenceTokenizer, see https://www.nltk.org/api/nltk.tokenize.html#nltk.tokenize.punkt.PunktSentenceTokenizer

Good catch. Thanks!


Spacing across different pages / elements

There are several pages that seem to have display bugs with spacing. I think the best way to capture the issues I've seen thus far regarding spacing is to use this issue to document appearances of spacing issues and to keep track of where they were found. At this time I'm not sure if these are global issues or just isolated occurrences but the goal is to be as succinct as possible by using mockups.
Click links below to view marked up screenshots.
Consumer Help
Credit Card Data
Data and research
For communities and educators
Managing Credit
Planning for retirement
Protecting Against Credit Discrimination
Protecting Against Fraud
Sending Money Abroad
Information for Servicemembers
Money Tips for Servicemembers
Other languages - Sending Money Abroad All language pages have the same spacing issues.

Policy & Compliance page -
The space after the page content and the footer is too much, however the spacing on the rest of the page looks as expected. There is no link to the page because it is still a draft

For this issue, could you update the screenshots with what the intended spacing should be. Some are obvious, but there's a few on there that aren't.

Since the spacing patterns should be pretty consistent across the site between different molecules and organisms can we just have a discussion soon and outline our spacing standards instead?
It seems like showing the updated spacing for each page would lend itself to the idea that the spaces will be coded bespoke for each page which is not what we want. I mostly want to understand if there is a more efficient way for us to do this? Maybe we can have a pow-wow Monday?

I'll try to remember to bring this up on Monday, but I'm tagging @leejenni to add it to the agenda.
Spacing standards are fine/awesome. Since we're making changes at the template level, we definitely don't want bespoke spacing either.

We don't have scrum this Monday, but Jen and I are happy to arrange a meeting --- or we could discuss after scrum on Tuesday. Let me know which you prefer.

I collected some general spacing thoughts for spacing between molecules and organisms that are consistent across page types. I thought I would see if this helped and make sure we were all on the same page with these before we have more discussion
Standard spacing (no rule line)

30px above
This is true of mols/orgs under heroes as well
unless it is a text introduction under a breadcrumb which would be handled like this
60px after
This is true when the mol/org is the last piece to a section. The next element should be a rule line or mol/org of a new section.
These spacings are not additive! There should not be more than 60px between mol/orgs unless there is a rule line (see below)

Spacing with rule line divider between sections

The rule line acts a mol/org without spacing of it's own
mol/org before rule line has standard 60px after, the rule line, and the mol/org that follows the rule has the standard 30px above.

Spacing between multiple 25/75 molecules

The specs for the 25/75 do not reflect this but we use this molecule commonly without rule lines on top and bottom. The spacing in the spec is still generally correct without the rules.
An update that was made in build was allowing for 30px of space between 25/75 molecules where there were multiples of these in the same section stacked on top of each other.
The last 25/75 molecule should still have 60px of space after.
This spacing should not be used if the multiple 25/75 molecules are not part of the same section or are not intended to be grouped.
I do not think any other molecules abide by this spacing structure.

Other instances

Sidebar mol/orgs abide by the same spacing structure and the slug headings are considered part of a given sidebar mol/org.
Full width text molecules follow this structure when the mol/org  above or below is not another full width text molecule.
When multiple full width text molecules are next to each other the spacing should reflect the web type hierarchy spacing standards

@ajbush and @schaferjh - do these guidelines follow your thinking for our general approach to spacing elements on all page types? Are there things  that are missing or need to be added? Do any of these sound incorrect?

A lot of the spacing issues have been merged in. With the exception of anything on the browse-filterable page that is being addressed this sprint, any new spacing issues should get tagged with a new spacing issue!


GDPbyIndustry driver fails with TypeError: list indices must be integers or slices, not str

Dear datapungibea developper,
I could not manage to download any data from the GDPbyIndustry driver. For instance with the example from the doc:
>>> data.GDPbyIndustry('211','1','A','2018')
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "C:\Users\marcber\PycharmProjects\venv\lib\site-packages\datapungibea\api.py", line 36, in wrapper
    return(getattr(delegate_object, called_method)(*args, **kwargs))
  File "C:\Users\marcber\PycharmProjects\venv\lib\site-packages\datapungibea\drivers.py", line 890, in GDPbyIndustry
    output       = self._cleanOutput(query,retrivedData) #a dict of a df or df and meta (tablePretty)
  File "C:\Users\marcber\PycharmProjects\venv\lib\site-packages\datapungibea\drivers.py", line 904, in _cleanOutput
    df_output =  pd.DataFrame(retrivedData.json()['BEAAPI']['Results']['Data'])
TypeError: list indices must be integers or slices, not str

Please note that the other drivers I tested work fine.
Best regards,
Bertrand

Hi Bertrand, thank you very much for pointing this out.  I guess BEA changed the API. jdretz's patch solves this problem - thanks a lot jdretz!  Closing this issue.


Make an Iterable trait to make it quicker for a programmer to iterate over something

Currently when we want to iterate over an Array we always have to call .iter() on that array. I suggest that there should be a trait to standardize this:
pub trait Iterable<T> {
  fn iter(&self) -> Iterator<T>;
}

Now, rustc would check in for loops for instances of Iterable and automatically adding a .iter(). This would allow for code like this:
let a = ["a", "b", "c"];
for element in a {
  println!("Element: {}", element);
}

The old way would obviously still work, this would only be syntactic sugar

I believe this was done via IntoIterator, so closing.


Fix: pygeoapi grass script inputs

Pygeoapi grass script could'nt run successfully, due to wrong input definition and wrong input.
This will fix the issue.
Renaming of cogUrl was done to be in line with the gdal script.
@JakobMiksch @weskamm please review.

Thx for testing will have a look!

@JakobMiksch please test again :pray:


In RootConfig::contains, check against canonicalized version of root path

In RootConfig::contains, check against canonicalized version of root path since OS may hand us data that uses the canonical form rather than the root as specified by the user.
This is a step towards a resolution of issue #734 but does not completely fix the problem there.

r? @matklad

Looks like code formatting check has failed. You might want to run cargo format-hook in the root of the repository once to install a pre-commit hook to do rustfmt.

r=me with formatting fixed

NOTE: canonicalize may cause some problems on Windows. This may not be an issue in this case.
see #821

bors r+


ASM-4806  Device Discovery Logging

Added the --output argument for printing facts to json file.
Print puppet logs to stdout for logging

@gavin-scott updated


keybase update check failing

The JSON file it's looking for is 404ing.
✔ ~/build
17:22 $ keybase update check
▶ INFO Checking for update, current version is 1.0.15-20160404130015+8ac9934
▶ INFO Using updater source: Remote (https://s3.amazonaws.com/prerelease.keybase.io)
▶ INFO Request "https://s3.amazonaws.com/prerelease.keybase.io/update-darwin-prod.json"
▶ ERROR Updater remote returned bad status 404 Not Found

@rodbegbie Thanks -- we've pulled the next build intentionally after noticing breakage in it, causing the 404. Will have a new one out soon!

No probs!

(New build is out now, keybase update check to get it.)


Crash in intializer with Docker container 1.14.1 (investigating)

Bug description
Try to upgrade to 1.14.1 from 1.12.1 by modifying docker-compose definition file.
Steps to reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Deployment method
Docker
Environment information

Operating System: [e.g. Ubuntu 18.04]
DefectDojo Commit Message: [use git show -s --format="[%ci] %h: %s [%d]"]

Sample scan files (optional)
If applicable, add sample scan files to help reproduce your problem.
Screenshots (optional)
If applicable, add screenshots to help explain your problem.
Console logs (optional)
Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.6/site-packages/django/core/management/__init__.py", line 357, in execute
    django.setup()
  File "/usr/local/lib/python3.6/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/local/lib/python3.6/site-packages/django/apps/registry.py", line 91, in populate
    app_config = AppConfig.create(entry)
  File "/usr/local/lib/python3.6/site-packages/django/apps/config.py", line 90, in create
    module = import_module(entry)
  File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'drf_yasg2'

Additional context (optional)
Add any other context about the problem here.

had an out-of-date settings file

always try to use local_settings.py to customize your instance ;-) it survives upgrades :-)

yeah. I think it's the time to switch to it!


support all types of LocationNotes

See src/util/locations.js, line 40 to 58.
There are all kinds of LocationNotes used by the HAFAS /trip endpoint. Find a documentation/list or collect them all and support them.

They are used in leg.Notes as well as in leg.Origin.Notes and log.Destination.Notes.

Thse seem to be used for leg.Origin.Notes and leg.Destination.Notes:
{
	value: 'Ebenerdiger Zugang Gleis 1',
	key: 'E5',
	type: 'A',
	priority: 300
}

{
	value: 'Fahrplanbuch Online',
	key: 'FO',
	type: 'A',
	priority: 920
}

{
	value: 'DELFI-Sperrattribut für Haltestellen',
	key: 'GD',
	type: 'A',
	priority: 920
}

These seem to be used for leg.Notes:
{
	value: 'Fahrzeuggebundene Einstiegshilfe vorhanden',
	key: 'EH',
	type: 'A',
	priority: 560
}

{
	value: 'Fahrradmitnahme möglich',
	key: 'FB',
	type: 'A',
	priority: 350
}

Moved to derhuerst/vbb-util#2.


Fix: ucwords -> title

Fix: Method Illuminate\Support\Str::ucwords does not exist.
https://laravel.com/docs/11.x/strings#method-title-case

The method exists as a macro - https://github.com/filamentphp/filament/blob/3.x/packages/support/src/SupportServiceProvider.php#L129-L134


Game crashes as soon as i open the mod menu

so i enter the game, open mod menu, and it STRAIGHT UP crashes!!

For me, when I open the game it crashes.
I see a terminal prompt open up but it crashes instantly and the game just does not launch.

For me, when I open the game it crashes. I see a terminal prompt open up but it crashes instantly and the game just does not launch.

Same for me :(

so i enter the game, open mod menu, and it STRAIGHT UP crashes!!

Me too, it's just that the game doesn't open directly

same

I pressed TAB and game crashed


Decouple the authentication framework logic from the transport layer

Is your feature request related to a problem? Please describe.
Currently authentication framework logic coupled to http servlet requests, this limits its capabilities to work with other transports.
Also authentication framework is coupled with the need of browser involvement. Need to separate the need of the UI interaction with the authentication framework execution.
This need new architecture design.
This will also helps on centralizing current capabilities like,

claim-transformation
role-transformation
jit-provisioning
consent-handling
also be centralized and available (as applicable) for pure back channel flows such as password grant.

Tasks

[ ] API for decoupled backchannel authentication - https://github.com/wso2/product-is/issues/8986

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Data Structure to store the routing table

A data structure to optimize the routing decisions of #6 should be considered as a support object entity. The data structure should map nodes which are connected through a channel to identify the shortest path based on any optimization mechanism within the class.

This issue has been solved. The output of the solution is displayed below:
public List<Node> getDirections(Node sourceNode, Node destinationNode) {
		//Initialization.
		Map<Node, Node> nextNodeMap = new HashMap<Node, Node>();
		Node currentNode = sourceNode;

		//Queue
		Queue<Node> queue = new LinkedList<Node>();
		queue.add(currentNode);

		/*
		 * The set of visited nodes doesn't have to be a Map, and, since order
		 * is not important, an ordered collection is not needed. HashSet is
		 * fast for add and lookup, if configured properly.
		 */
		Set<Node> visitedNodes = new HashSet<Node>();
		visitedNodes.add(currentNode);

		//Search.
		while (!queue.isEmpty()) {
			currentNode = queue.remove();
			if (currentNode.equals(destinationNode)) {
				break;
			} else {
//				for (Node nextNode : getChildNodes(currentNode)) {
//					if (!visitedNodes.contains(nextNode)) {
//						queue.add(nextNode);
//						visitedNodes.add(nextNode);
//
//						//Look up of next node instead of previous.
//						nextNodeMap.put(currentNode, nextNode);
//					}
//				}
			}
		}

		//If all nodes are explored and the destination node hasn't been found.
		if (!currentNode.equals(destinationNode)) {
			throw new RuntimeException("No feasible path.");
		}

		//Reconstruct path. No need to reverse.
		List<Node> directions = new LinkedList<Node>();
		for (Node node = sourceNode; node != null; node = nextNodeMap.get(node)) {
			directions.add(node);
		}

		return directions;
	}
}


2 different "no module" errors in two different versions

System information

I wrote custom code
Google Colab
TensorFlow installed from default, then I tried multiple versions using Pip
TensorFlow version (use command below):
1.4, 1.9, 1.11, 2.0
Python version: 3.6

Describe the current behavior
If I use a version of Tensorflow 1, I get the error "tensorflow.data has no attribute: experimental" and if I use tensorflow 2 I get: tensorflow has no atrribute: placeholder.
Describe the expected behavior
I was hoping for the script to work without errors.
Standalone code to reproduce the issue
https://colab.research.google.com/drive/1N0CtpO6VZvcyE72r3eEkBQthQsUlm6Hf

Tensorflow 1.x uses graph mode by default, and placeholders can only be run in sessions. But Tensorflow 2.x eagerly executes by default hence no need to manage sessions, so no need to manage placeholders.
 The functions inside experimental that are frequently used by users, they are included in tensorflow. others are removed from there.
as name suggests experimental

Thank you for your help!  I'm sorry for my ignorance, but how do I use the tensorflow.compat.v1.placeholder in the above colab notebook?

Have a look at the documentation here. And pick up the use case which suits your needs.
But it's highly reccomended to use Tensorflow 2.x
Have a look if you wanna migrate from Tensorflow 1.x to Tensorflow 2.x here here

@Tylersuard
Any update on this issue please. Please, close this thread if it solves your question.Thanks!


Vagrant Package is not supported?

Hello!
I just give it a try, and it works pretty well. The only issue I've found so far is it doesn't support the package command:
DEBUG command: Packaging VM: default
 INFO machine: Calling action: package on provider QEMU (VZKGb7Fgz-I)
DEBUG environment: Attempting to acquire process-lock: machine-action-0fe12d35dde59fdd50f349c52d5c59db
DEBUG environment: Attempting to acquire process-lock: dotlock
 INFO environment: Acquired process lock: dotlock
 INFO environment: Released process lock: dotlock
 INFO environment: Acquired process lock: machine-action-0fe12d35dde59fdd50f349c52d5c59db
 INFO interface: Machine: action ["package", "start", {:target=>:default}]
 INFO runner: Running action: machine_action_package #<Proc:0x00007f7b2a84ac18 /Users/zmingxie/.vagrant.d/gems/2.7.4/gems/vagrant-qemu-0.1.7/lib/vagrant-qemu/action.rb:12 (lambda)>
 INFO warden: Calling IN action: #<Proc:0x00007f7b492b7340 /opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:126 (lambda)>
ERROR warden: Error occurred: Function not supported.
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO environment: Released process lock: machine-action-0fe12d35dde59fdd50f349c52d5c59db
 INFO environment: Running hook: environment_unload
 INFO runner: Running action: environment_unload #<Vagrant::Action::Builder:0x00007f7b2a928658>
ERROR vagrant: Vagrant experienced an error! Details:
ERROR vagrant: #<VagrantPlugins::QEMU::Errors::NotSupportedError: Function not supported.>
ERROR vagrant: Function not supported.
ERROR vagrant: /Users/zmingxie/.vagrant.d/gems/2.7.4/gems/vagrant-qemu-0.1.7/lib/vagrant-qemu/action.rb:13:in `block in action_package'
/opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:127:in `block in finalize_action'
/opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:48:in `call'
/opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/builder.rb:149:in `call'
/opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/runner.rb:89:in `block in run'
/opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/util/busy.rb:19:in `busy'
/opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/action/runner.rb:89:in `run'
/opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/machine.rb:246:in `action_raw'
/opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/machine.rb:215:in `block in action'
/opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/environment.rb:614:in `lock'
/opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/machine.rb:201:in `call'
/opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/machine.rb:201:in `action'
/opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/commands/package/command.rb:94:in `package_vm'
/opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/commands/package/command.rb:83:in `block in package_target'
/opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/plugin/v2/command.rb:243:in `block in with_target_vms'
/opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/plugin/v2/command.rb:232:in `each'
/opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/plugin/v2/command.rb:232:in `with_target_vms'
/opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/commands/package/command.rb:81:in `package_target'
/opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/plugins/commands/package/command.rb:49:in `execute'
/opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/cli.rb:67:in `execute'
/opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/lib/vagrant/environment.rb:290:in `cli'
/opt/vagrant/embedded/gems/2.2.19/gems/vagrant-2.2.19/bin/vagrant:231:in `<main>'
 INFO interface: error: Function not supported.
Function not supported.
 INFO interface: Machine: error-exit ["VagrantPlugins::QEMU::Errors::NotSupportedError", "Function not supported."]

Are you planning to add this soon?
Thanks again for putting this plugin together!

Yes, the next goal is 'package'.


Fix git reference

In this PR we fix the git repository reference in the update-gh-pages.gradle, as well as adding more output if the build fails.

@armiol, PTAL.


wlroots_0_16: 0.16.0 -> 0.16.1

Description of changes

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@NobbZ done

@NobbZ @primeos I don't know how to undo what I did with the Merge branch and fix this PR without creating a new PR (I don't mind to do it but not sure if you guys will be fine with that). So, either I create a new PR or you guys can do the commit into this repo for me.

I talked to @budimanjojo in the Discord and agreed to do the rebase for them.
Other than the rebase woes, the PR looks fine to me now.
I will run a quick review for x86_64-linux and if that suceeds I will approve, though be warned, as I do not use wayland, I can't say anything about whether the subject actually works.

Result of nixpkgs-review pr 212110 run on x86_64-linux 1

1 package failed to build:

nwg-panel

9 packages built:

labwc
river
rivercarro
sway
sway-contrib.grimshot
sway-unwrapped
waybar
wlprop
wlroots_0_16

Sorry it takes so long to clone the repo locally and do the test. I have the same result:
this path will be fetched (0.03 MiB download, 0.13 MiB unpacked):
  /nix/store/yfxddhxprdld16lbirk71j3b9ny240vw-nixpkgs-review-2.6.4
copying path '/nix/store/yfxddhxprdld16lbirk71j3b9ny240vw-nixpkgs-review-2.6.4' from 'https://cache.nixos.org'...
$ git -c fetch.prune=false fetch --no-tags --force https://github.com/NixOS/nixpkgs master:refs/nixpkgs-review/0
From https://github.com/NixOS/nixpkgs
 * [new branch]              master     -> refs/nixpkgs-review/0
$ git worktree add /home/budiman/.cache/nixpkgs-review/rev-2446b2d24deb7f1417848eefdd8d035b1d230b7b/nixpkgs c24fb332623e5d5fffc550379da43de8c01f5229
Preparing worktree (detached HEAD c24fb332623)
Updating files: 100% (33335/33335), done.
HEAD is now at c24fb332623 Merge pull request #211521 from r-ryantm/auto-update/kubeseal
$ nix-env --option system x86_64-linux -f /home/budiman/.cache/nixpkgs-review/rev-2446b2d24deb7f1417848eefdd8d035b1d230b7b/nixpkgs -qaP --xml --out-path --show-trace
$ git merge --no-commit --no-ff 2446b2d24deb7f1417848eefdd8d035b1d230b7b
Automatic merge went well; stopped before committing as requested
$ nix-env --option system x86_64-linux -f /home/budiman/.cache/nixpkgs-review/rev-2446b2d24deb7f1417848eefdd8d035b1d230b7b/nixpkgs -qaP --xml --out-path --show-trace --meta
derivation 'systemd-252.4' has invalid meta attribute 'badPlatforms'
derivation 'systemd-minimal-252.4' has invalid meta attribute 'badPlatforms'
derivation 'systemd-stage-1-252.4' has invalid meta attribute 'badPlatforms'
derivation 'systemd-stage-1-network-252.4' has invalid meta attribute 'badPlatforms'
10 packages updated:
grimshot labwc nwg-panel river rivercarro sway sway-unwrapped waybar wlprop-unstable wlroots_0_16 (0.16.0 → 0.16.1)

$ nix --experimental-features nix-command build --no-link --keep-going --option build-use-sandbox relaxed -f /home/budiman/.cache/nixpkgs-review/rev-2446b2d24deb7f1417848eefdd8d035b1d230b7b/build.nix
error: builder for '/nix/store/z0v185bmk3ljbin3i289gf4ynac1jj9l-python3.10-dasbus-1.7.drv' failed with exit code 1;
       last 10 log lines:
       >   File "/build/dasbus-1.7/tests/lib_dbus.py", line 194, in _run_test
       >     self.assertEqual(client.exitcode, 0, msg)
       > AssertionError: 1 != 0 : _call_hello_sync has finished with 1
       >
       > ----------------------------------------------------------------------
       > Ran 232 tests in 683.199s
       >
       > FAILED (failures=4)
       > Test failed: <unittest.runner.TextTestResult run=232 errors=0 failures=4>
       > error: Test failed: <unittest.runner.TextTestResult run=232 errors=0 failures=4>
       For full logs, run 'nix log /nix/store/z0v185bmk3ljbin3i289gf4ynac1jj9l-python3.10-dasbus-1.7.drv'.
error: 1 dependencies of derivation '/nix/store/q2az7chakh2hz64h9ixm4k9dba772vzn-nwg-panel-0.7.11.drv' failed to build
error: 1 dependencies of derivation '/nix/store/ih2x9sqvvlykm3yb7akbpca1ihd1kn2g-review-shell.drv' failed to build
1 package failed to build:
nwg-panel

9 packages built:
labwc river rivercarro sway sway-contrib.grimshot sway-unwrapped waybar wlprop wlroots_0_16

$ nix-shell /home/budiman/.cache/nixpkgs-review/rev-2446b2d24deb7f1417848eefdd8d035b1d230b7b/shell.nix
this path will be fetched (0.06 MiB download, 0.31 MiB unpacked):
  /nix/store/1f1k3nl1v1qwv6jh9bawyr1f7m4wj1a8-bash-interactive-5.2-p15-dev
copying path '/nix/store/1f1k3nl1v1qwv6jh9bawyr1f7m4wj1a8-bash-interactive-5.2-p15-dev' from 'https://cache.nixos.org'...

[nix-shell:~/.cache/nixpkgs-review/rev-2446b2d24deb7f1417848eefdd8d035b1d230b7b]$


Splitted windows and File Explorer (It doesn't change directory in other window)

Hi all, I don't know if this could be a bug of netrw.
I'm trying to have a splitted session in vim with a window that keep sticky the File Explorer.
so I do this with:
:vsplit
:vertical resize 30
:Ex

So I can open a file in the right window clicking 'P'.
It works the first time. After, if I try to open a file in another directory it does't work.
Affected versions: 7.4.273 (Gentoo), 7.4 (Included patches: 1-488, 576) (Debian)
For example:
I'm in home and open the file /home/aleskandro/test.
Next I go back to the left window and open the /home/aleskandro/testdir clicking P in the file /home/aleskandro/testdir/testotherdir.
In the status bar vim return that it try to opening testotherdir in the same previous directory (in this example it opens a new file in /home/aleskandro/testotherdir

See:
https://groups.google.com/d/msg/vim_dev/W4KTuJ0ksYU/4gUZ1fFvAwAJ
Please discuss runtime issues with the maintainer of the file.


Question: Spin Orbit Coupling Matrix Elements

Hello,
I'm interested in computing spin orbit coupling matrix elements using PySCF. Is this doable in PySCF?

There is no black-box functions for SOC. Depending on the methods you are interested, you may need to write some code to compute SOC integrals (like examples/gto/20-soc_ao_integrals.py), the excited states (examples/tddft, examples/mcscf) and their transition density matrices (examples/mcscf/15-transition_dm.py)

Hello, I'm updating this issue, I have just opened a similar question on spin-orbit coupling matrices, #1483
Maybe a guide about how to obtain the matrices (for example between a singlet and triplet state calculated with CASSCF) would be really useful for more people. I don't know if a simple black box implementation could be easily achieved either.
Best regards

More discussions can be found in #1483


Update functions-timeout-duration.md

Submitted via Learn Editor.

@ggailey777

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

PR review team emailed author today


Should caniuse-api be a dependency?

I ended-up installing caniuse-api to make the inline-style-prefixer/generator module works.

Yeah I think so! Forgot to add that as I got it installed locally anyways. Thanks :) Feel free to PR

I won't have time for it. I wanted to raise that concern in case someone else might have it. It's linked to https://github.com/callemall/material-ui/pull/6343. Thanks for you hard work here!

I guess I'll add it as a peerDep. Installing th whole caniuse-api is a mess for basic users. Only ppl using the generator should need to download that beast :P

FWIW, I experienced this problem too. Might be worth considering re-supporting older browsers by default for a while longer

@necolas @oliviertassinari Would it be fine to just add the install note to the docs? I feel bad to install that for every user

Sure

Perhaps this should have been put in optionalDependencies instead?
Libraries like aphrodite depend on inline-style-prefixer but only uses the generator in a build step, so now a warning appears about unmet peer dependencies for every aphrodite user.

It also appears as a warning for everyone using Material-UI. Just a tad annoying.


Support APIspec v3.3.0

MarshmallowPlugin.resolver requires converter during initialization after Apispec v3.3.0
https://github.com/marshmallow-code/apispec/commit/c41b4de5310306320aa2b3d3154954c90442616e#diff-6ec22ad2b9c5e5b000109f1accac51dfR125
So we need to add some line below, into https://github.com/timakro/apispec-oneofschema/blob/master/apispec_oneofschema/plugin.py#L63
self.resolver = self.Resolver(openapi_version=spec.openapi_version, converter=self.converter)

I didn't touch this project for a long time and am very rusty with the apispec ecosystem. Well tested PRs are welcome though, is the solution proposed backward compatible?

Same/similar issue here. We decided to simply use our variant of the plugin class:
class OneOfMarshmallowPlugin(MarshmallowPlugin):
    # see https://github.com/timakro/apispec-oneofschema/issues/8
    def init_spec(self, spec):
        super().init_spec(spec)
        openapi = OneofOpenAPIConverter(
            openapi_version=spec.openapi_version,
            schema_name_resolver=self.schema_name_resolver,
            spec=spec,
        )
        self.converter = openapi  # Fix for the openapi attribute being renamed in apispec 3.0.0
        self.resolver = self.Resolver(
            openapi_version=spec.openapi_version, converter=self.converter
        )


Mutating webhook should handle only relevant requests

What would you like to be added:
I would like Kupid's mutating webhook to only handle the requests that are relevant to it by using an ObjectSelector in the webhook configuration. The object selector can be set based on the PSPs and CPSPs that Kupid uses to mutate these resources.
Why is this needed:
Today Kupid receives every request in the cluster, while it only wishes to mutate specific resources (like etcd statefulset) based on resource labels. This allows for low resource consumption by Kupid (by avoiding irrelevant requests to it) and reduces log load by getting rid of unnecessary Handling request... logs.

Quoted from https://github.com/gardener/kupid/pull/54#discussion_r1151818191 and https://github.com/gardener/kupid/pull/54#discussion_r1153199430
@unmarshall raised a valid point about setting object selectors in webhooks:
Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels.

For the gardener use case, we are the end-users of Kupid as well. So we control what labels we set on the pod-groups (statefulsets, deployments, etc) that Kupid is to mutate.
This can be achieved using the helm charts. We can read the {{ .Values.policies.*.podLabels }} section from each policy and pass that as a set to Kupid as a command-line argument. Kupid can simply set these on the webhooks that it creates.
Now, external users of Kupid can choose to leave this empty, in which case Kupid will not add any object selector to the webhooks, which means all resources will be considered (no change in behavior).

/unassign