As an auditor, I can see that information about destination protocol …

…in map-route audit events
Root Issue: cloudfoundry/routing-release#200
Co-authored-by: Greg Cobb<EMAIL_ADDRESS>Co-authored-by: Michael Oleske<EMAIL_ADDRESS>Thanks for contributing to cloud_controller_ng. To speed up the process of reviewing your pull request please provide us with:

A short explanation of the proposed change:
When I map a route to an app then the requested destination protocol should appear in the audit event. The audit event should include the protocol request by the user. If the user does not specify a protocol (thereby using the default protocol for the mapped route), then the audit even should have null protocol.

An explanation of the use cases your change solves
Auditors can get http2 usage data through the monitoring the map route event

Links to any other associated PRs

[x] I have reviewed the contributing guide

[x] I have viewed, signed, and submitted the Contributor License Agreement

[x] I have made this pull request to the main branch

[x] I have run all the unit tests using bundle exec rake

[ ] I have run CF Acceptance Tests

cc @Gerg

Acceptance
Pushed dora on a bosh lite with this PR deployed
Created a new route on v8 edge build CLI
$ cf create-route bosh.lite.api --hostname cool-app Creating route cool-app.bosh.lite.api for org org / space space as admin... Route cool-app.bosh.lite.api has been created. OK
Map-route with http2 in edge CLI
cf map-route dora bosh.lite.api --hostname cool-app --destination-protocol http2 Mapping route cool-app.bosh.lite.api to app dora with protocol http2 in org org / space space as admin... OK
See event for map route with cf events
$ cf events dora Getting events for app dora in org org / space space as admin... time                          event                       actor   description 2021-09-09T18:37:16.00+0000   audit.app.map-route         admin 2021-09-09T18:35:30.00+0000   audit.app.restart           admin 2021-09-09T18:35:30.00+0000   audit.app.process.create    admin 2021-09-09T18:35:30.00+0000   audit.app.droplet.mapped    admin 2021-09-09T18:35:30.00+0000   audit.app.revision.create   admin 2021-09-09T18:35:23.00+0000   audit.app.droplet.create    admin 2021-09-09T18:34:52.00+0000   audit.app.build.create      admin 2021-09-09T18:34:49.00+0000   audit.app.package.create    admin 2021-09-09T18:34:49.00+0000   audit.app.package.upload    admin 2021-09-09T18:34:46.00+0000   audit.app.update            admin 2021-09-09T18:34:46.00+0000   audit.app.map-route         admin 2021-09-09T18:34:46.00+0000   audit.app.update            admin 2021-09-09T18:34:42.00+0000   audit.app.process.create    admin 2021-09-09T18:34:42.00+0000   audit.app.create            admin 2021-09-09T18:34:42.00+0000   audit.app.apply_manifest    admin
See http2 protocol field in map route event
cf events dora -v | grep http2 -C 10       "actor": {         "guid": "f1639818-b0f7-4386-bd58-0f26fa5973c3",         "name": "admin",         "type": "user"       },       "created_at": "2021-09-09T18:37:16Z",       "data": {         "app_port": 8080,         "destination_guid": "0e485045-2d7b-4daa-9725-5803d8cd8e16",         "process_type": "web",         "protocol": "http2",         "route_guid": "41855551-9f0e-4acf-a04f-94e775b7fa04",         "route_mapping_guid": "0e485045-2d7b-4daa-9725-5803d8cd8e16",         "weight": null       },       "guid": "492a8b7c-fa9b-47bf-8c2f-adca4c9338fe",       "links": {         "self": {           "href": "https://api.bosh.lite.api/v3/audit_events/492a8b7c-fa9b-47bf-8c2f-adca4c9338fe"         }       },
Looks great to me, thanks for the PR!
Merging


Iox #496 improve coverage for mq interface mq message in runtime component

Pre-Review Checklist for the PR Author

[x] Branch follows the naming format (iox-#123-this-is-a-branch)
[x] Commits messages are according to this guideline

[x] Commit messages have the issue ID (iox-#123 commit text)
[x] Commit messages are signed (git commit -s)
[x] Commit author matches Eclipse Contributor Agreement (and ECA is signed)

[x] Update the PR title

Follow the same conventions as for commit messages
Link to the relevant issue

[x] Relevant issues are linked
[x] Add sensible notes for the reviewer
[ ] All checks have passed
[ ] Assign PR to reviewer

Notes for Reviewer

code contributed by @manel94
aim of PR is to increase coverage for class message_queue_interface and message_queue_message
Checklist for the PR Reviewer

[ ] Commits are properly organized and messages are according to the guideline
[ ] Code according to our coding style and naming conventions
[ ] Unit tests have been written for new behavior
[ ] Public API changes are documented via doxygen
[ ] Copyright owner are updated in the changed files
[ ] PR title describes the changes

Post-review Checklist for the PR Author

[ ] All open points are addressed and tracked via issues

Post-review Checklist for the Eclipse Committer

[ ] All checkboxes in the PR checklist are checked or crossed out
[ ] Merge

References

Partly closes #496

@manel94 have you  signed ECA? http://www.eclipse.org/legal/ECA.php

@manel94 have you  signed ECA? http://www.eclipse.org/legal/ECA.php

@manel94 have you signed ECA? http://www.eclipse.org/legal/ECA.php

@nihalchari  yes i signed ECA

@manel94 have you signed ECA? http://www.eclipse.org/legal/ECA.php

@nihalchari  yes i signed ECA

2 first commits are not signed.

2 first commits are not signed.

@nihalchari Please do not check: Commit messages are signed (git commit -s) when you did not verified it. See comment from @JimmyBch : 2 first commits are not signed.

@nihalchari Please do not check: Commit messages are signed (git commit -s) when you did not verified it. See comment from @JimmyBch : 2 first commits are not signed.

2 first commits are not signed.

problem resolved now

2 first commits are not signed.

problem resolved now

We may refactor MqInterface and MqMessage soon. So please @nihalchari  try to coordinate with us so that you do not write tests for soon obsolete structures.
I would suggest to keep this PR on hold till we know if we actually want to keep MqInterface and MqMessage.
@elBoberido wasn't your plan to introduce some kind of serialization which would make the MqMessage obsolete.
And with the usage of UnixDomainSockets we should also rewrite the MqInterface.

We may refactor MqInterface and MqMessage soon. So please @nihalchari  try to coordinate with us so that you do not write tests for soon obsolete structures.
I would suggest to keep this PR on hold till we know if we actually want to keep MqInterface and MqMessage.
@elBoberido wasn't your plan to introduce some kind of serialization which would make the MqMessage obsolete.
And with the usage of UnixDomainSockets we should also rewrite the MqInterface.

yes, in order to get rid of std::string the serialization will be reworked and after that MqInterface and MqMessage will also massively be refactored to get rid of std::string

yes, in order to get rid of std::string the serialization will be reworked and after that MqInterface and MqMessage will also massively be refactored to get rid of std::string

We may refactor MqInterface and MqMessage soon. So please @nihalchari try to coordinate with us so that you do not write tests for soon obsolete structures.
I would suggest to keep this PR on hold till we know if we actually want to keep MqInterface and MqMessage.
@elBoberido wasn't your plan to introduce some kind of serialization which would make the MqMessage obsolete.
And with the usage of UnixDomainSockets we should also rewrite the MqInterface.

@elfenpiff  could you please provide me with list of soon obsolete structures, I was aware of ports that are under construction.
it would be great if you could post some details in #496 which part not to be touched.
Also if you have already identified areas where we need to add more integration tests, you could share it with us. As discussed in developers meet we would like to contribute for tests that can be covered easily.
@dkroenke  if you could also add some points here :)

We may refactor MqInterface and MqMessage soon. So please @nihalchari try to coordinate with us so that you do not write tests for soon obsolete structures.
I would suggest to keep this PR on hold till we know if we actually want to keep MqInterface and MqMessage.
@elBoberido wasn't your plan to introduce some kind of serialization which would make the MqMessage obsolete.
And with the usage of UnixDomainSockets we should also rewrite the MqInterface.

@elfenpiff  could you please provide me with list of soon obsolete structures, I was aware of ports that are under construction.
it would be great if you could post some details in #496 which part not to be touched.
Also if you have already identified areas where we need to add more integration tests, you could share it with us. As discussed in developers meet we would like to contribute for tests that can be covered easily.
@dkroenke  if you could also add some points here :)

@elfenpiff  @elBoberido  @MatthiasKillat , Hi guys, please  i would like to Know if this PR should be on hold, or should i refactoring mq interface test file according to @MatthiasKillat remarks.

@elfenpiff  @elBoberido  @MatthiasKillat , Hi guys, please  i would like to Know if this PR should be on hold, or should i refactoring mq interface test file according to @MatthiasKillat remarks.

Hi guys, please i would like to Know if this PR should be on hold, or should i refactoring mq interface test file according to @MatthiasKillat remarks.

I'm currently working on #381 and wrote down a plan on how to refactor the MqInterface* and its tests. What do you think?

@nihalchari

Also if you have already identified areas where we need to add more integration tests, you could share it with us. As discussed in developers meet we would like to contribute for tests that can be covered easily.
@dkroenke if you could also add some points here :)

These are the tickets i found related to the test topic:
https://github.com/eclipse-iceoryx/iceoryx/issues/449 (Write Posh_Runtime Mock)
https://github.com/eclipse-iceoryx/iceoryx/issues/529 (Remove private public defines from tests)
https://github.com/eclipse-iceoryx/iceoryx/issues/406 (Update tests for missed transitions in subscriber port state machine)

Had a quick chat with @manel94 I'm gonna close this issue as the units tests have to be completely refactored and discuss further steps in #381. My proposal is written down here.


feat(gestures): port use-gesture WIP

Closes #91

[x] drag
[ ] move
[ ] hover
[ ] scroll
[ ] wheel
[ ] pinch
[ ] multiple

you want to implement the other behavior in the same PR?

@tomalaforge I guess it doesn't have to be the same PR. I'll clean up the verbatim tsconfig then will update the PR with tests.

LGTM!
Can't wait to have all the helpers in the lib!


Some caffe op like augmentation  can not do backward  will cause error

some error
F0830 18:43:16.734480   558 downsample_layer.cu:135] DownsamplingLayer cannot do backward.
How to deal with this problem?

Caffe doesn't support it. Modify caffe or use other ops

I solved this problem by using a empty backward function and mx.sym.Block_Grad


Update zio, zio-test, zio-test-sbt to 1.0.6

Updates

dev.zio:zio
dev.zio:zio-test
dev.zio:zio-test-sbt

from 1.0.4-2 to 1.0.6.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

labels: library-update, semver-pre-release

Superseded by #255.


Update urfave/cli to v1.20.0

Signed-off-by: TomSweeneyRedHat<EMAIL_ADDRESS>Updates urfave/cli to v1.20.0.  Now when kpod has an error, it shows just the error and not the error and the stack dump.  Example below of the bad behaviour.
This Fixes #882
refusing to save to terminal. Use -o flag or redirect
main.saveCmd
	/builddir/build/BUILD/cri-o-bb1da978e30b3d32f988e30568b5161e8cfd700b/_build/src/github.com/kubernetes-incubator/cri-o/cmd/kpod/save.go:68
github.com/kubernetes-incubator/cri-o/vendor/github.com/urfave/cli.HandleAction
	/builddir/build/BUILD/cri-o-bb1da978e30b3d32f988e30568b5161e8cfd700b/_build/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/urfave/cli/app.go:485
github.com/kubernetes-incubator/cri-o/vendor/github.com/urfave/cli.Command.Run
	/builddir/build/BUILD/cri-o-bb1da978e30b3d32f988e30568b5161e8cfd700b/_build/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/urfave/cli/command.go:193
github.com/kubernetes-incubator/cri-o/vendor/github.com/urfave/cli.(*App).Run
	/builddir/build/BUILD/cri-o-bb1da978e30b3d32f988e30568b5161e8cfd700b/_build/src/github.com/kubernetes-incubator/cri-o/vendor/github.com/urfave/cli/app.go:250
main.main
	/builddir/build/BUILD/cri-o-bb1da978e30b3d32f988e30568b5161e8cfd700b/_build/src/github.com/kubernetes-incubator/cri-o/cmd/kpod/main.go:90
runtime.main
	/usr/lib/golang/src/runtime/proc.go:185
runtime.goexit
	/usr/lib/golang/src/runtime/asm_amd64.s:2197

LGTM
I would like to get this into Final Release.  Since the way kpod errors now is not good.

[retest]

LGTM


Remove individual image-based lighting parameters

As noted in #10232 , individual image-based lighting parameters were deprecated and to be removed in Cesium 1.94. This PR removes those from the constructor options in Model and Cesium3DTileset. It also updates the image-based lighting sandcastle and updates ModelVisualizer, which is relevant for creating models with the Entity class.
To test the entity changes, I added a field to this sandcastle to toggle the image based lighting factor. Seems to be the only IBL-related parameter to apply to models created with the Entity class. Maybe we should add the others in at a later time?

Thanks for the pull request @j9liu!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

@ptrgags Yeah I think there's a fundamental difference between Model and ModelExperimental's bounding spheres. For model, we need to do this
const center = Cesium.Matrix4.multiplyByPoint(
      model.modelMatrix,
      model.boundingSphere.center,
      new Cesium.Cartesian3()
    );

Because model.boundingSphere doesn't have the model matrix applied to it. But for ModelExperimental this is fine:
const center = model.boundingSphere.center;

so... I'm not sure how to resolve this. Do we need to revert the ModelExperimental changes to be consistent with Model?

@ptrgags thanks for the catch, updated!

Looks good now, thanks @j9liu!


MS KB List

I'm attempting to get a Complete List of MS KB's with details that include not only Security Updates but also Product Updates. I can't seems to find everything I'm looking for when using the MSRC API in Powershell.

@655321-Alex  You may want to check out the repo for the MRSC API to see if they would be able to assist.

Thank You, I'll check it out.


Architecture Board review.

Schema Registry

[ ] Rename endpoint to hostName in constructor (discuss with feature crew to decide on name)
[ ] Add read-only HostName property
[x] Add back Response for all methods and remove caching
[ ] Investigate using BinaryData instead of string as the type for the Content parameter and property type in SchemaRegistrySchema
[x] Rename content parameter to schemaDefinition
[ ] Once GA service version is available, add it to ServiceVersion enum and remove the preview, and 2017 ones
[ ] Rename SerializationType to SchemaFormat (property could be either Format or SchemaFormat - since we are already in the SchemaProperties)

Avro Serializer

[ ] Implement an LRU cache with 128 max entries - this does not need to be configurable for GA.
[ ] Make the groupName parameter optional in the constructor (discussed this offline with Ted)

Docs

[ ] Come up with guidance around the recommended use of AutoRegisterSchema and make sure it aligns with our default value.
[ ] Go through Ted's feedback on the .NET README (and give feedback where it is relevant for other languages)

Related https://github.com/Azure/azure-sdk-for-js/issues/17697

@conniey we should Rename endpoint to fullyQualifiedNamespace instead.


Fix e2e errors

Signed-off-by: flacatus<EMAIL_ADDRESS>What does this PR do?
Add 6 minutes to wait for pods to be ready and improve errors.
What issues does this PR fix or reference?
Is it tested? How?

/assign @sleshchenko

/retest


[WIP] use swift-cmark/gfm instead of /main

This is an exploratory PR to investigate whether swift-cmark can change its primary branch from main to gfm.

Resolves rdar://90461181

https://github.com/apple/swift-cmark/pull/27
@swift-ci Please test

https://github.com/apple/swift-cmark/pull/27
@swift-ci Please build toolchain

Build failed
Swift Test Linux Platform
Git Sha - d7d65c70996bae4546108a2a4b431ec23c5e641b

https://github.com/apple/swift-cmark/pull/27
@swift-ci Please build toolchain

It turns out i need to merge https://github.com/apple/swift-cmark/pull/30 so that make test can work. Alternately, i can extract just the commit that re-enables make test into a separate PR, since that PR does something unrelated and is based on top of https://github.com/apple/swift-cmark/pull/29. I'll try to do the latter first.

Update: some quick tests have revealed that both of those PRs are needed - the "merge upstream" one to enable footnotes to work, and the "add new extension points" one so that footnotes and inline attributes can work alongside each other.

https://github.com/apple/swift-cmark/pull/37
@swift-ci Please test

https://github.com/apple/swift-cmark/pull/37
@swift-ci Please test

https://github.com/apple/swift-cmark/pull/37
@swift-ci Please build toolchain

https://github.com/apple/swift-cmark/pull/37
@swift-ci Please test Linux

https://github.com/apple/swift-cmark/pull/37
@swift-ci Please build toolchain Linux

https://github.com/apple/swift-cmark/pull/37
@swift-ci Please test Linux

https://github.com/apple/swift-cmark/pull/37
@swift-ci Please test Linux

https://github.com/apple/swift-cmark/pull/37
@swift-ci Please test

https://github.com/apple/swift-cmark/pull/37
@swift-ci Please build toolchain

https://github.com/apple/swift-cmark/pull/37
@swift-ci Please test Linux

https://github.com/apple/swift-cmark/pull/37
@swift-ci Please build toolchain Linux

https://github.com/apple/swift-cmark/pull/37
@swift-ci Please test

https://github.com/apple/swift-cmark/pull/37
@swift-ci Please build toolchain

https://github.com/apple/swift-cmark/pull/37
@swift-ci Please test macOS

https://github.com/apple/swift-cmark/pull/37
@swift-ci Please build toolchain macOS

https://github.com/apple/swift-cmark/pull/37
@swift-ci Please test Windows

https://github.com/apple/swift-cmark/pull/37
@swift-ci Please build toolchain Windows

https://github.com/apple/swift-cmark/pull/37
@swift-ci Please build toolchain macOS

From what i can tell, the Linux toolchain failure is a broader CI issue, and the Windows toolchain failure is being fixed by https://github.com/apple/swift-package-manager/pull/4235. All the required swift-cmark PRs have been merged, so once the Mac toolchain build finishes (and/or the SwiftPM Windows fix lands) i'll run all the tests again.

@swift-ci Please build toolchain macOS

@swift-ci Please test

@swift-ci Please test Linux

@swift-ci Please test Linux

@swift-ci Please build toolchain Windows

@swift-ci Please test source compatibility

@swift-ci Please build toolchain macOS

@shahmishal @gottesmm @akyrtzi This PR is ready for a final review.

@swift-ci test


Assistant did not work after "17th nov 2020" update

I think offsets was changed. Should we patiently wait for the fix, gentlemen?

Lets wait 👍

however here is the log for an easier fix
Traceback (most recent call last):   File "assist.py", line 63, in <module>     aimer.start()   File "D:\mcbik\Desktop\xx4-bfv-aimassist-master\lib\aimer.py", line 64, in start     BFV.process(phandle, cnt)   File "D:\mcbik\Desktop\xx4-bfv-aimassist-master\lib\BFV.py", line 148, in process     pm = PointerManager(pHandle)   File "D:\mcbik\Desktop\xx4-bfv-aimassist-master\lib\PointerManager.py", line 30, in __init__     offsets.OBFUS_MGR = self.GetObfuscationMgr()   File "D:\mcbik\Desktop\xx4-bfv-aimassist-master\lib\PointerManager.py", line 61, in GetObfuscationMgr     buf = ss.read()   File "D:\mcbik\Desktop\xx4-bfv-aimassist-master\lib\MemAccess.py", line 684, in read     cbuff = (c_char * len(self.buffer)).from_buffer(self.buffer) TypeError: underlying buffer is not writable

Fixed in f9c3e2abdf1f9fda505fc97777660b41357d7e50


Bugfix szint 2696 remove low search text and search summary

/**
* Remove these fields, because the lead to errors on pages
* where several blog-posts were rendered.
*
* In our case it was the homepage were all blog-posts were rendered
* also some snippets (so called mediagalerys) were rendered on this page.
* This lead to a way to long searchSummary and lowSearchText because
* all contents of all articles and snippets were involved to this fields.
*
* Even worse is the fact, that some strings weren't escaped which lead to
* a destroyed js on client –> which leads to the fact that no one could
* add new pages for example...
*/

I understand your frustration, but throwing away useful data that helps
power the mongodb search and the summaries of search results is not the
answer. This would be a bc break. We need to improve the pruning that goes
on when making data about pages accessible on the front end. We also need
to look at why the escaping failed in this specific context.
On Wed, Dec 23, 2015 at 11:04 AM, Vispercept<EMAIL_ADDRESS>wrote:

Closed #396 https://github.com/punkave/apostrophe/pull/396.
—
Reply to this email directly or view it on GitHub
https://github.com/punkave/apostrophe/pull/396#event-499549443.

--
*THOMAS BOUTELL, *DEV & OPS
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

I am not able to reproduce this issue in the sandbox. Please provide more complete directions to reproduce the problem so I can work on a safe fix. Thanks!
...  Did you figure something out?

Hey Tom.
Yes I closed that pullrequest, because I didn't want to merge into the apostrophe-repository :-) I just wanted to merge in our branch. We had a very bad problem with this. All our data (yes nearly the whole database) were rendered to the frontend including all the information of all blog-posts in our database.
We found out that our problem was, that we passed all the blog-posts to the blogWidget as an option like so: {{ aposSingleton(page, 'blogWidget', 'blog', { sources: [ 'title' ], allTeaser: allTeaser }) }}. Surely this leads to the result, that the whole content of a blog-post were rendered in the frontend, because it was passed as an option...
We fixed this and now everything works fine.

Yes, you don't want to do that (:
In 0.6 we'll be more selective by default about what gets pushed into JSON.
On Wed, Feb 10, 2016 at 3:07 AM, Thomas König<EMAIL_ADDRESS>wrote:

Hey Tom.
Yes I closed that pullrequest, because I didn't want to merge into the
apostrophe-repository :-) I just wanted to merge in our branch. We had
a very bad problem with this. All our data (yes nearly the whole database)
were rendered to the frontend including all the information of all
blog-posts in our database.
We found out that our problem was, that we passed all the blog-posts to
the blogWidget as an option like so: {{ aposSingleton(page, 'blogWidget',
'blog', { sources: [ 'title' ], allTeaser: allTeaser }) }}. Surely this
leads to the result, that the whole content of a blog-post were rendered in
the frontend, because it was passed as an option...
We fixed this and now everything works fine.
—
Reply to this email directly or view it on GitHub
https://github.com/punkave/apostrophe/pull/396#issuecomment-182247045.

--
*THOMAS BOUTELL, *DEV & OPS
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com


Minor improvements to check_versions

[x] Avoid shelling out to uname.
[x] Avoid reading and parsing /etc/os-release multiple times

bors try

bors try

Looks like platform.system() is more reliable: https://docs.python.org/3/library/platform.html#platform.system

Correction: it's not more reliable. It's that sys.platform is sometimes <os name><major version>.
However, it's specified at compile time, so avoids shelling out. Unlike platform.system() — so you were right, but it needs .startswith(...) not == ...

bors try

bors r+


Can we use WinRT with Direct3D applications without any specializations?

I'm not sure what you mean by specializations. C++/WinRT provides a language projection for types that are described by WinRT metadata. Direct3D APIs are currently not described in that manner. Of course, you can still write Direct2D and Direct3D applications with C++/WinRT as we interop very well with COM APIs.

@kennykerr  Thank you very Kenny for your reply.I take this opportunity for thank you for another thing.I learnt lot of Win32/C++ stuff from your Pluralsight  lectures.Awesome!.

Thanks!

When we able to get WinRT release with VS2017 update ?

We're working on direct Visual Studio support. I'm not yet sure when that will land.

You developed Win2D project right? do you have an idea to develop Win3D project like that in near future?

No, I didn't write Win2D. I worked on other DX projects aimed at C++ developers. Win2D is a very impressive WinRT component, however it is ultimately a wrapper around Direct2D and friends. My job is to make it easier to write high-performance APIs and then hopefully the folks that own Direct2D and Direct3D will be more inclined to deliver an official set of WinRT APIs that speak directly to the GPU.

@kennykerr  and @walbourn  Please correct me if I have got wrong idea here(Since I am new to the hood ;) ) I really eager to learn and build applications(simple 3D games) for PC (x64 machines) using D3D and Vulkan APIs with WinRT native C/C++ support,
Can you give me instructions/advice(kick start-up) how to integrate these technologies properly in order to build such clean and efficient program ?

GPU Vendor(Driver) support + D3D 12 + WinRT C/C++

GPU Vendor(Driver) support + Vulkan 1.xx + WinRT C/C++

If you are new to Direct3D, you should strongly consider learning DirectX 11 first.  DirectX 12 is a challenging API to use and is intended for professional graphics developers who already fully understand the existing DirectX technology. Both DirectX 11 and DirectX 12 essentially drive the same hardware and expose the same hardware features, but manage the GPU differently.
One challenge with learning DirectX 11 is that a lot of the material online and in books is a little dated in terms of use of the legacy DirectX SDK components (D3DX11 for example), and uses older-style C++ (i.e. not "Modern C++" C++11/C++14 style). The DirectX Tool Kit tutorials do use modern C++ style and avoid the legacy components, and it can be used as a starting-point since the abstractions for the DX11 and DX12 versions are similar.
The Direct3D APIs when used from native C++ are the same whether you are using them in them in the context of a Win32 desktop app, a C++/CX UWP or Xbox One app, or a C++/WinRT UWP or Xbox One app. I provide some useful starting Visual C++ templates here.

I can't speak to Vulkan here other than to say that neither OpenGL nor Vulkan are supported for UWP or Xbox One apps.

Typically for a Direct3D-based game, the Windows Runtime APIs are only used for CoreWindow interactions, some data storage functionality, and if you are using Xbox LIVE. Core rendering, game logic, threading, etc. are all pure, native C++ code.

@walbourn  wow.. Thank you for the great valuable information...

(D3DX11 for example), and uses older-style C++ (i.e. not "Modern C++" C++11/C++14 style). The DirectX Tool Kit tutorials do use modern C++ style and avoid the legacy components, and the DirectX 11 version can serve as a good starting-point for eventually learning DirectX 12 since the abstractions for the DX11 and DX12 versions are

As  you mentioned,Learn DX11 pipeline and implement DX11 with Modern C++ is the better starting point !!! before jump in DX12 and Vulkan ,I think DX12 and Vulkan APIs conceptually similar but core and implementation wise widely differ.


gcolab when GPU is enabled gets out_of_memory or crashes saying it needs 11gb of memory

Gotten from readme.md, use issues, they're literally meant for tracking bugs w

wwwwwwww

wwwwwwwwwwwwwwwwwwwwwwww

it seems this problem is because batch_size is too big, which consumes too much GPU memory.
set batch_size=20 can solve the problem in gcolab.


Plugin does not correctly show describe statement for skipped dynamically generated tests

The mocha intellij plugin will not correctly show describe statements for skipped tests.
For example:
const assert = require('assert');

describe.only('Mocha issues with skipped tests', function() {
  describe('Skip one, not the other', function() {
    it.skip('Skip', function() {
      //this.skip();
    });

    it('Do not skip', function() {
      assert.equal(true, true);
    });
  })
});

Generates the following output in mocha:
> mocha

  Mocha issues with skipped tests
    Skip one, not the other
      - Skip
      ✓ Do not skip

  1 passing (6ms)
  1 pending

However the UI does not show the Skip test.
See the following image:

I would expect to see the skipped tests as well. This can be problematic when tests are dynamically generated. For example:

const assert = require('assert');

describe('Mocha issues with generated tests', function () {

    let tests = ['one', 'two'];

    // generate tests
    tests.forEach(function (test) {
        describe(`Test for -> ${test}`, function () {

            it(`it() statement on ${test}`, function () {
                if (test === 'two') {
                    this.skip();
                }
                assert.equal(true, true);
            });
        });
    });
});

The seconds describe (Test for -> two) will not even show as a node.

To show the Skip test, toggle on "Show Ignored" button:

Missed that button! Thanks!


[ConstraintSystem] Remove implementation of operator designated types in the solver.

Remove the -solver-enable-operator-designated-types flag and implementation in the solver. This experimental feature is no longer being explored, and we're implementing other approaches to improving constraint solver performance that break this feature.
There's a little more to remove (the -enable-operator-designated-types flag enables designated types in the parser, and designated type syntax is adopted in the standard library) but this lets me make more progress on chipping away at solver performance hacks.

@swift-ci please smoke test

@swift-ci please smoke test


Wemod Patcher does not work after wemod update <IP_ADDRESS>

I used the patcher to put the reject method, after that the wemod executable stopped responding, meaning I can't open it anymore.

[!Warning]
Wrong Repository
Please use the forum cs.rin.ru for more information related to this subject

Here is only related with "GSE Generator", thanks!


Fix select scroll behaviour

Related to #2625
useListNavigation tries to scroll the item into view when the list opens, witch collides with the useInnerOffset, resulting in items further down the list won't end up in the correct position.
The removal of onScroll event makes the down arrow appear when the list opens, even if you are at the end of the list.

Thanks for that, great contribution. Any interest in doing some contract work ongoing lmk you can DM me on discord foobully or email me.


Avoid JSON-Parse error in on/dim/offURL by parsing before saving

it would be great if typed in JSON (i.e. multiple http-requests in on/offURL fields) would be parsed before saving. I've had some issues with non-visible characters (\u001d \u001b), which were found only when manually editing the database file using vi.

I'm thinking about expanding the hex encoding that is available for tcp and udp commands. That would fix this.

So now that I think about this, this happens more from cut and paste requests instead of actually typing in the UI, correct?


Enable ‘casing’ config setting for Text Widgets

This PR adds a new configuration setting for text-type widgets that allows per-widget case styling. The valid options are "lower", "upper", "title", and "capitalize", and leverage Python's native string methods by the same names.
This setting is ideal for using string-type player variables on slides while maintaining both the variable casing convention (all lowercase snake_case) and "pretty" slide text.
Corresponding updates to MPF config_spec.py and MPF Docs will get PRs if this change is approved.

I guess you should add it to config_specs as well. Some test fail because of a missing config item.

Looks like I did not read all the text up there. Just triggered the tests again. Will merge if they pass

Still get this error (also locally with latest dev):
======================================================================
ERROR: test_text_input (test_TextInput.TestText)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/data/home/jan/cloud/flipper/src/mpf-mc/mpfmc/tests/test_TextInput.py", line 13, in test_text_input
    self.advance_time(1)
  File "/data/home/jan/cloud/flipper/src/mpf-mc/mpfmc/tests/MpfMcTestCase.py", line 94, in advance_time
    EventLoop.idle()
  File "/data/home/jan/cloud/flipper/src/kivy/kivy/base.py", line 337, in idle
    Clock.tick()
  File "/data/home/jan/cloud/flipper/src/kivy/kivy/clock.py", line 581, in tick
    self._process_events()
  File "kivy/_clock.pyx", line 367, in kivy._clock.CyClockBase._process_events (/data/home/jan/cloud/flipper/src/kivy/kivy/_clock.c:7410)
  File "kivy/_clock.pyx", line 397, in kivy._clock.CyClockBase._process_events (/data/home/jan/cloud/flipper/src/kivy/kivy/_clock.c:7285)
  File "kivy/_clock.pyx", line 395, in kivy._clock.CyClockBase._process_events (/data/home/jan/cloud/flipper/src/kivy/kivy/_clock.c:7207)
  File "kivy/_clock.pyx", line 167, in kivy._clock.ClockEvent.tick (/data/home/jan/cloud/flipper/src/kivy/kivy/_clock.c:3211)
  File "/data/home/jan/cloud/flipper/src/mpf-mc/mpfmc/widgets/text_input.py", line 78, in find_linked_text_widget
    self.jump(self.config['initial_char'])
  File "/data/home/jan/cloud/flipper/src/mpf-mc/mpfmc/widgets/text_input.py", line 137, in jump
    self.shift(0, True)
  File "/data/home/jan/cloud/flipper/src/mpf-mc/mpfmc/widgets/text_input.py", line 155, in shift
    self.update_text(self.char_list[0])
  File "/data/home/jan/cloud/flipper/src/mpf-mc/mpfmc/widgets/text.py", line 212, in update_text
    if self.config['casing'] in ('lower', 'upper', 'title', 'capitalize'):
KeyError: 'casing

Can you have a look?

Yeah, I saw that test error and was a bit confused.
From what I understand, config dicts reference config_spec.py and look for default values to return if the key doesn't exist in the dict. That's what happens just a few lines above' with if self.config['min_digits']: and if self.config['number_grouping'], which is why I went with that convention instead of what I'd usually do, if self.config.get('casing') (which suppresses errors).
The addition of casing: single|str|None in config_spec.py should return None instead of a KeyError, shouldn't it?

That would at least be the case in MPF. I don't see any config_validator in that code. I think we could add that. MC codebase could use some improvements in a lot of areas.


I am getting an error. What is with access rights?

docker-compose up
Starting backupChecker ... done
Attaching to backupChecker
backupChecker    | Durable folder: /ISC/install does not exists, or cannot be createdbackupChecker exited with code 1

Red Hat Enterprise Linux Server release 7.9 (Maipo)

Hi Sergey,
This looks like a permission problem with the directory rather than a problem with the container. I have yet to test it on Linux 7.9, but it works with other OS.
Can you try this simple command:
docker run --volume ./iris:/ISC --env ISC_DATA_DIRECTORY=/ISC/install  --name iristest intersystemsdc/iris-community
If it doesn't work, please open a WRC problem and follow it from there, since the problem will be in this particular environment and not related to the backupChecker application.


Fix iterators in CUDA

The recent refactoring to remove side-effects on import missed registering typing and lowering for iterators with CUDA. This PR adds the registration of them and appropriate tests.

Buildfarm ID: numba_smoketest_cuda_yaml_79.

Buildfarm ID: numba_smoketest_cuda_yaml_79.

Passed


[tests] ManagedLedgerFactoryChangeLedgerPathTest is flaky

Master Issue: #
Motivation
ManagedLedgerFactoryChangeLedgerPathTest sets the zk session timeout to 10 ms.
10ms is too low for a zookeeper client to connect to the zookeeper server.
Modifications
Remove zkSessionTimeout and use the default

run java8 tests

LGTM

run java8 tests


Tensorflow not working inside spyder IDE (Anaconda on Windows), even after activating it through command prompt .

System information
Windows 10 , Anaconda 3.6, 64 bit
Anaconda installed using anaconda page https://www.anaconda.com/download/#windows
Python version : 3.6.5
tensorflow version : 3.6

Tensorflow was installed using  command :  conda create -n tensorflow pip python=3.6

Describe the problem
I have installed the package tensorflow using conda. After installation and also activation I tried to use it in Spyder IDE but it was not working. In Spyder IDE,for command - import tensorflow as tf , it is throwing error : ModuleNotFoundError: No module named 'tensorflow'.
Source code / logs
Command used on CMD prompt : conda create -n tfp3.6 phyton=3.6
activate tfp3.6
spyder
command used in Spyder IDE: import tensorflow as tf
error : ModuleNotFoundError: No module named 'tensorflow'

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

You have mentioned wrong versions in the system information. There is no Tensorflow version 3.6, could you update the information. Thank you.

It has been 16 days with no activity and the awaiting response label was assigned. Is this still an issue?

It has been 31 days with no activity and the awaiting response label was assigned. Is this still an issue?


httpx_client.py code is broken?

Hey! I was trying to run examples for httpx_client.py  and http3_client.py
So if I run http3_client.py like
python http3_client.py -v --insecure https://quic.aiortc.org/ I get no issues (i.e. GET request completes ok)
but if I run httpx_client.py like
python httpx_client.py -v --insecure https://quic.aiortc.org/
I have this output:
2021-05-06 06:41:03,673 DEBUG asyncio Using selector: EpollSelector
2021-05-06 06:41:03,825 DEBUG quic [add5e0a5a0307fa1] TLS State.CLIENT_HANDSHAKE_START -> State.CLIENT_EXPECT_SERVER_HELLO
2021-05-06 06:41:03,880 DEBUG quic [add5e0a5a0307fa1] QuicConnectionState.FIRSTFLIGHT -> QuicConnectionState.CONNECTED
2021-05-06 06:41:03,883 DEBUG quic [add5e0a5a0307fa1] TLS State.CLIENT_EXPECT_SERVER_HELLO -> State.CLIENT_EXPECT_ENCRYPTED_EXTENSIONS
2021-05-06 06:41:03,885 DEBUG quic [add5e0a5a0307fa1] TLS State.CLIENT_EXPECT_ENCRYPTED_EXTENSIONS -> State.CLIENT_EXPECT_CERTIFICATE_REQUEST_OR_CERTIFICATE
2021-05-06 06:41:03,887 DEBUG quic [add5e0a5a0307fa1] Discarding epoch Epoch.INITIAL
2021-05-06 06:41:03,889 DEBUG quic [add5e0a5a0307fa1] TLS State.CLIENT_EXPECT_CERTIFICATE_REQUEST_OR_CERTIFICATE -> State.CLIENT_EXPECT_CERTIFICATE_VERIFY
2021-05-06 06:41:03,891 DEBUG quic [add5e0a5a0307fa1] TLS State.CLIENT_EXPECT_CERTIFICATE_VERIFY -> State.CLIENT_EXPECT_FINISHED
2021-05-06 06:41:03,894 DEBUG quic [add5e0a5a0307fa1] TLS State.CLIENT_EXPECT_FINISHED -> State.CLIENT_POST_HANDSHAKE
2021-05-06 06:41:03,895 INFO quic [add5e0a5a0307fa1] ALPN negotiated protocol h3
2021-05-06 06:41:03,896 INFO client New session ticket received
2021-05-06 06:41:03,897 DEBUG quic [add5e0a5a0307fa1] Stream 3 created by peer
2021-05-06 06:41:03,897 DEBUG quic [add5e0a5a0307fa1] Stream 7 created by peer
2021-05-06 06:41:03,898 DEBUG quic [add5e0a5a0307fa1] Stream 11 created by peer
2021-05-06 06:41:03,906 INFO quic [add5e0a5a0307fa1] Connection close sent (code 0x0, reason )
2021-05-06 06:41:03,906 DEBUG quic [add5e0a5a0307fa1] QuicConnectionState.CONNECTED -> QuicConnectionState.CLOSING
Traceback (most recent call last):
  File "/test/cujo/helpers/http3_client.py", line 291, in <module>
    loop.run_until_complete(
  File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/test/cujo/helpers/http3_client.py", line 188, in run
    response = await client.get(url)
  File "/usr/local/lib/python3.9/dist-packages/httpx/_client.py", line 1661, in get
    return await self.request(
  File "/usr/local/lib/python3.9/dist-packages/httpx/_client.py", line 1425, in request
    response = await self.send(
  File "/usr/local/lib/python3.9/dist-packages/httpx/_client.py", line 1510, in send
    response = await self._send_handling_auth(
  File "/usr/local/lib/python3.9/dist-packages/httpx/_client.py", line 1545, in _send_handling_auth
    response = await self._send_handling_redirects(
  File "/usr/local/lib/python3.9/dist-packages/httpx/_client.py", line 1579, in _send_handling_redirects
    response = await self._send_single_request(request, timeout)
  File "/usr/local/lib/python3.9/dist-packages/httpx/_client.py", line 1620, in _send_single_request
    ) = await transport.handle_async_request(
  File "/usr/local/lib/python3.9/dist-packages/httpcore/_async/base.py", line 105, in handle_async_request
    raise NotImplementedError()  # pragma: nocover
NotImplementedError

As you can see connection is terminated early

It looks like the HTTPX API changed again under my feet, feel free to submit a PR.

The API changes are pretty small, I've added PR #203 to fix this.


ui issue  in exchange rate  in mobile view

Bagisto Version

[ ] master branch

Steps To Reproduce

go to settings -> then exchange rate

Actual Result

working fine now


version upgrade to glpi 9.5

I have installed the image turgon37/glpi:nginx-72-latest
How can I upgrade from version to glpi 9.5 ?

Hello,
My git repository only build docker image on "releases", the 9.5 is currently only a release candidate, not a final release.
To upgrade to 9.5 you have to wait the 9.5 will be officially available and pull the new docker image once it will be available.
I suggest you to set the glpi version in image name when you pull the image in your infrastructure, I provide the tag nginx-72-9.4.6-latest in addition of the nginx-72-latest. It prevent unwanted upgrades

Hello @Turgon37 ,
now the GLPI 9.5 stable is available.
Regards

Hello version nginx-72-9.5.0-latest is available for download.

The new image is available here turgon37/glpi:nginx-72-9.5.0-latest Please take care of the indications shown by GLPI web page during the upgrade step. You have to execute some manual actions like
docker-compose exec -u www-data glpi bin/console glpi:migration:timestamps


Missing Parameter Explanation

Where is the explanation for --G (parameter)
*See attached file

Document Details
⚠ Do not edit this section. It is required f

or docs.microsoft.com ➟ GitHub issue linking.

ID: 65e0b6de-2cb2-2269-7926-01e915da9f6b
Version Independent ID: 2c8dec23-a5c8-237a-63d8-7732d162b761
Content: az sql db threat-policy
Content Source: latest/docs-ref-autogen/sql/db/threat-policy.yml
Service: sql-database
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

-g is the short name for --resource-group:

If you think short name should be included in the command summary, we can mark this issue as a feature request.


[FEATURE] BlueprintTweaks: Add resour inpute outpute calculation

Add calculation inpute reourse in example
Blueprint:
smelters MK1 x 60
prliferator MK2
reciept titan ignots
iron recipe 2s = in 2 ore, out 1 ignot
proliferator MK2 = 24 spreys
inpute:
titan ore = (base recept value in minute * smelter product speed * proliferater buff(if enable product speed up)) * smlter count
titan ore = (60 * 1.0) * 60 = 3600/min
outpute:
titan ignot =  (base recept value in minute * smelter product speed * proliferater buff(extra product)) * smlter count
titan ore = (30 * 1.0*1.20) * 60 = 2160/min
I think game alredy has final outpute calcucalition by smelter type and buff..
we can just get that namber and multyply all inpute recept and out put recept

First of all, can you please fix your grammar? Your issue text is not readable.
I'm not sure what exactly do you want. And even then this has nothing to do with Blueprint tweaks


Add support to update both legacy and default path for kubelet-extra-args for ubuntu

What did we have before?

We used /etc/sysconfig/kubelet to update kubelet extra args with credential provider arguments.
An upstream image-builder update added a new EnvironmentFile (/etc/default/kubelet).
For Ubuntu, this new file took precedence, causing credential provider arguments to be updated in the wrong place.
We reverted this change with a patch.

Changes Made:
Updated the path KUBELET_EXTRA_ARGS file path for Ubuntu to /etc/default/kubelet so that credential provider arguments are updated in the right file for Ubuntu, also added KUBELET_EXTRA_ARGS_LEGACY to support older image templates which would still read from /etc/sysconfig/kubelet
Once we do packages release, we will also revert the image-builder patch to make it consistent with upstream.
Testing

Created a cluster with Ubuntu image template
Installed credential provider package using helm

helm install credential-provider-package oci://public.ecr.aws/personalregistry/credential-provider-package --version 0.4.4-9b0192e048c510b9e3ce36087e992b6d0558a6d4 --set sourceRegistry=public.ecr.aws/personalregistry -n eksa-packages

Verified if KUBELET_EXTRA_ARGS are updated in correct path
Tested for cluster upgrade scenario(k8s version 1.29–1.30)

Kubelet args in both files before package installation:
root@mgmt-ubuntu-md-0-kczw7-mc289:/home/ec2-user# cat /etc/default/kubelet
KUBELET_EXTRA_ARGS=--pod-infra-container-image=public.ecr.aws/eks-distro/kubernetes/pause:v1.29.8-eks-1-29-22root@mgmt-ubuntu-md-0-kczw7-mc289:/home/ec2-user#

root@mgmt-ubuntu-md-0-kczw7-mc289:/home/ec2-user# cat /etc/sysconfig/kubelet
cat: /etc/sysconfig/kubelet: No such file or directory

Kubelet args in both files after credential provider package was installed:
root@mgmt-ubuntu-md-0-kczw7-mc289:/home/ec2-user# cat /etc/default/kubelet
KUBELET_EXTRA_ARGS=--pod-infra-container-image=public.ecr.aws/eks-distro/kubernetes/pause:v1.29.8-eks-1-29-22 --image-credential-provider-config=/eksa-packages/credential-provider-config.yaml --image-credential-provider-bin-dir=/eksa-packages/

root@mgmt-ubuntu-md-0-kczw7-mc289:/home/ec2-user# cat /etc/sysconfig/kubelet
KUBELET_EXTRA_ARGS= --image-credential-provider-config=/eksa-packages/credential-provider-config.yaml --image-credential-provider-bin-dir=/eksa-packages/

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

So these args can be functional in parallel? Also let's create an issue for the followup of removing the patch

Yes, both of these args will be functional in parallel and created the task for removing the patch: https://github.com/aws/eks-anywhere-internal/issues/2800

/lgtm


multi-panel timeseries view: improve vertical layout - allow specify relative height

Keep CompositeLayout as is. Create a new MultiTimeseriesLayout
Provide compact stacking of timeseries views
labels as rotated text on left of each panel
Only one (shared) time axis
remove zoom/pan controls -- or put them up top.

instead of C.add_figure() perhaps should be X.add_panel(F, label='...')

This is done except for the relative height per panel. Will open new issue.


There are untranslated strings in Rename dialog

Storage Explorer Version: 1.11.1
Build: 20191210.3
Branch: master
Language: Chinese(zh-CN)/ (zh-TW)
Platform/OS: Windows 10/ Linux Ubuntu 18.04/macOS High Sierra
Architecture: ia32/x64
Regression From: Previous build(20191206.2)
Steps to reproduce:

Launch Storage Explorer.
Open 'Settings' -> Application (Regional Settings) -> Select '中文(简体)' -> Restart Storage Explorer.
Expand one storage account -> Blob Containers.
Select one blob container and right click it -> Click localized 'Rename...'.
Check the Rename dialog.

Expect Experience:
All strings in Rename dialog are translated.
Actual Experience:
There are untranslated strings.

More Info:
This issue also reproduces for one file share/ table.

Updated string from yesterday. On translation.
File: loc\en\src\Standalone\resources\RenameDialog.json
ID: 0; "NewNameLabel"
SRC: Please specify the new name:
TGT: 請指定新名稱。

This issue has been fixed in build 20191219.2. So we close it.


Fix link to road in changelog

The old link 404s now.
I'm not going to be able to sign the OCA for this, so if there's no way to mark this as not needing the OCA, please just close this and treat this as an issue report.

Thanks! This is now fixed in https://github.com/oracle/graaljs/commit/09cba74ad8476496f5fd6db7a212d36f8884f916.


[AutoRelease] t2-rdbms-2022-07-11-58707(Do not merge)

https://github.com/Azure/sdk-release-request/issues/2986
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=1020

issue link:https://github.com/Azure/sdk-release-request/issues/2986

/check-enforcer override


Project with type Modules skips prompt

Hey everyone. I have a project that has type set to module in the package.json file.
We have been using Hygen for a while and we recently updated our entire app. The last thing we need to fix up is the Hygen generators.
It seems that with type: module in the package.json file, the prompt.js file is just skipped. This leads to errors where the templates are looking for the specific inputs that are not being requested.
Following some other issues here and there, I have tried renaming prompt.js to prompt.cjs and prompt.mjs. Both are skipped completely.
I had also tried to use export default in place of module.exports but all this doesn't matter as the file is skipped anyway.
Here is the error output
Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/kmul/code/temp/_templates/fake/with-prompt/prompt.js from /Users/kmul/code/temp/node_modules/hygen/dist/prompt.js not supported.
/Users/kmul/code/temp/_templates/fake/with-prompt/prompt.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules.
Instead rename /Users/kmul/code/temp/_templates/fake/with-prompt/prompt.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in /Users/kmul/code/temp/package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead)

My question is, what do I have to do to get Hygen to work with type:module?

I added a PR to fix this. I believe the only issue is just adding a prompt.cjs to the hooksfiles. I would have created a test to make sure, but didn't really know how the tests work in your repo.
PR: https://github.com/jondot/hygen/pull/407
If you want a test created, let me know how / where that would be handled and I will happily create one.

This issue is now resolved and can be closed


Enhancement: Have exceptions implement ExceptionInterface

This PR

[x] ensures that exceptions implement a common ExceptionInterface

Codecov Report

Merging #16 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #16   +/-   ##
=========================================
  Coverage     98.38%   98.38%
  Complexity       47       47
=========================================
  Files             4        4
  Lines           124      124
=========================================
  Hits            122      122
  Misses            2        2

Impacted Files
Coverage Δ
Complexity Δ

src/Exception/MultipleDefinitionsFound.php
100% <ø> (ø)
3 <0> (ø)
:arrow_down:

src/Exception/DirectoryDoesNotExist.php
100% <ø> (ø)
2 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


[WFLY-20039] Only use testsuite.full.galleon.pack.groupId|artifactId|…

…version in testsuite/integration/microprofile-tck
https://issues.redhat.com/browse/WFLY-20039

I added the 'hold' label as it looks like this broke something in the MP REST Client TCK wit -Dts.layers.

The CI results on this are wacky; there are continually new jobs being spun up for the same commit. When I dig into https://ci.wildfly.org/project.html?projectId=WF_PullRequest&branch_WF_PullRequest=pull%2F18462 I see that the current commit has a passing run on all the jobs. So I'll merge this and cancel the ones that are still running.

Thanks @jamezp


Update Program.cs

added await finishedTask;
Summary
Describe your changes here.
Fixes #Issue_Number (if available)

Closing as duplicate of #33378


chore(deps): replace lodash.get and lodash.set by lodash

Replace lodash.get and lodash.set by lodash which hasn't been updated in 8 years.
Actually, lodash.set has a high vulnerability and it must be fixed as soon as possible :
# npm audit report

lodash.set  *
Severity: high
Prototype Pollution in lodash - https://github.com/advisories/GHSA-p6mc-m468-83gw
No fix available
node_modules/lodash.set
  serverless-plugin-for-each  *
  Depends on vulnerable versions of lodash.set
  node_modules/serverless-plugin-for-each

2 high severity vulnerabilities

This issue close #112

Thanks for the contribution!


Add dropdowns to buttons section in the styleguide

Closes #889

Coverage increased (+0.006%) to 85.665% when pulling a31a4ac62cf3fda6c6dfd70a55231838fc978065 on briansteffens:dropdown-guide into bf5263b49182d780f42d82c9e8169646a2e01469 on linode:master.


ghc: compile with DWARF support by default

~This is blocked by https://gitlab.haskell.org/ghc/ghc/issues/17255~
Commit
This allows our GHCs to build programs with DWARF debug information
when -g is passed, see https://ghc.haskell.org/trac/ghc/wiki/DWARF.
Compiling with debug symbols is off by default until GHC ticket
https://gitlab.haskell.org/ghc/ghc/issues/15960
(Using -g causes differences in generated core) is fixed.

@peti this is finally ready, we can only enable dwarf on HEAD for now, as it needs a patch that was merged yesterday.

@GrahamcOfBorg build haskell.packages.ghcHEAD

@GrahamcOfBorg build haskell.compiler.ghcHEAD

It builds locally on linux.


High-Level Summary

Purpose, Problem, Solution, Components, Why Now? (Timing)

Completed

Can this be closed?

Yes, this issue is complete.


IIIF contact email

The current contact email is me at dp.la. Is there a IIIF help email where we could send gem users?

Not really. Maybe IIIF Discuss?


make sure metadata from formatting is saved to disk

Metadata such as indexing columns generated as columns in spatialdata shapes are ignored when written to file using SpatialData.write() in version spatialdata==0.0.15. For now bento-tools will also reindex when loading data with bt.io.read_zarr().
Solution may be as simple as upgrading to spatialdata>=0.1.0.

Looks like this is an open issue https://github.com/scverse/spatialdata/issues/311 that still needs to be addressed https://github.com/scverse/spatialdata/issues/293. Could also migrate all our annotations to Table elements and retrieve with get_values() instead but will be a significant refactor.

https://github.com/scverse/spatialdata/pull/542 will solve the issue of columns lost when saving shapes.

The linked PR is now ready 😊

closed by #149


Bug 2106449: Update containerd version

….13 (#970)
Bumps github.com/containerd/containerd from 1.4.11 to 1.5.13.

Release notes
Changelog
Commits

Upstream-repository: operator-registry
Upstream-commit: 0ceeecf14f9a507c4374efa061f2bc92fc30f180

updated-dependencies:

dependency-name: github.com/containerd/containerd
dependency-type: direct:production
...

Signed-off-by: dependabot[bot]<EMAIL_ADDRESS>Co-authored-by: dependabot[bot]<EMAIL_ADDRESS>

/bugzilla refresh

Note: this bug needs to be backported down to 4.10

/label qe-approved
/lgtm

/cherry-pick release-4.11


Add nuph.edu.ua domain

We are using JetBrains products for support and customization LMS Moodle

@DmitryBogaevsky Pull request merged.
Please notice that free educational subscription for JetBrains tools is for students and teachers only, and is valid for using the tools for educational purpose only. If employees of this Institute who are not students, nor teachers, also need a license for JetBrains tools, they are eligible for an academic discount for the tools. They can get the discount by email to<EMAIL_ADDRESS>The discount may be applied to development software for the university needs, such as support and customization LMS Moodle.
Thank you!


Turn off package completions in calls

When I am completing a functions arguments in a call I typically do not want to see the package completions as well. e.g. the last few completions in this screenshot.

For summary() there are a lot of arguments, but for many functions there are only a few and the completions are dominated by package completions (which are usually not useful in this context).
An option to suppress package completions entirely, or turn them off for this case would be great!

Thanks for the comment. I agree that it would be annoying and there should be an option to turn it off.
However, the package names are showing up because the nullness of the token was not checked. It should be fixed by 3646b6528d4b2e8c3bf43c7a6b014f596577be41.

Great that works for me!


qgis: 3.38.1 -> 3.38.2

Description of changes
Update QGIS to the latest patch version.
List of changes: https://github.com/qgis/QGIS/releases/tag/final-3_38_2

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

1 package built:

qgis


Remove contradicting comment

(e.g., restarting a read-modify-write sequence).

actually stands for retrying conditional update request, which is covered by (d) ... conflicting read-modify-write on the same resource

This is an appropriate example.

I do not understand how read-modify-write can be retried without read executed by the client.
This is clearly a «something else must happen prior to retrying the operation».
I suggest changing this to something more clear, i. e.: transient failure in a subsystem needed to perform the request.


SageMaker cannot hit the endpoint

Describe the bug

After deploying the dev endpoint (ref: bentoml/aws-sagemaker-deploy#13), I cannot get the response with this:
curl -i \
    -X POST \
    -F<EMAIL_ADDRESS>\
    https://123.execute-api.region.amazonaws.com/prod/predict

Looking at couldwatch: logs show this error:

To Reproduce

Deploy an API on SageMaker that takes an image as input.
Call the API by sending an Image

Expected behavior

Running the API by using bentoml server Model:latest works but is not reproducible for the deployed API on SageMaker.
Screenshots/Logs

Traceback (most recent call last):
  File "/opt/conda/lib/python3.8/site-packages/flask/app.py", line 2070, in wsgi_app
    response = self.full_dispatch_request()
  File "/opt/conda/lib/python3.8/site-packages/flask/app.py", line 1515, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/opt/conda/lib/python3.8/site-packages/flask/app.py", line 1513, in full_dispatch_request
    rv = self.dispatch_request()
  File "/opt/conda/lib/python3.8/site-packages/flask/app.py", line 1499, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
  File "/bento/wsgi.py", line 25, in view_function
    response = api.handle_request(req)
  File "/opt/conda/lib/python3.8/site-packages/bentoml/service/inference_api.py", line 294, in handle_request
    inf_task = self.input_adapter.from_http_request(request)
  File "/opt/conda/lib/python3.8/site-packages/bentoml/adapters/utils.py", line 129, in _method
    return method(self, req)
  File "/opt/conda/lib/python3.8/site-packages/bentoml/adapters/file_input.py", line 148, in from_http_request
    _, _, files = HTTPRequest.parse_form_data(req)
  File "/opt/conda/lib/python3.8/site-packages/bentoml/types.py", line 234, in parse_form_data
    stream, form, files = parse_form_data(environ, silent=False)
  File "/opt/conda/lib/python3.8/site-packages/werkzeug/formparser.py", line 126, in parse_form_data
    return FormDataParser(
  File "/opt/conda/lib/python3.8/site-packages/werkzeug/formparser.py", line 230, in parse_from_environ
    return self.parse(get_input_stream(environ), mimetype, content_length, options)
  File "/opt/conda/lib/python3.8/site-packages/werkzeug/formparser.py", line 265, in parse
    return parse_func(self, stream, mimetype, content_length, options)
  File "/opt/conda/lib/python3.8/site-packages/werkzeug/formparser.py", line 142, in wrapper
    return f(self, stream, *args, **kwargs)
  File "/opt/conda/lib/python3.8/site-packages/werkzeug/formparser.py", line 290, in _parse_multipart
    raise ValueError("Missing boundary")

Environment:

OS: Debian 10
Python Version: 3.7.10
BentoML Version: 0.13.1
Using Docker Image: bentoml/model-server:0.13.1-py38-gpu

Additional context

Here is the sample service I am using:
class Model(bentoml.BentoService):
    @bentoml.api(input=ImageInput(), batch=False)
    def predict(self, image):
        img = np.array(image)
        ...

I have met similar problem.
My understanding is that you will need to use FileInput() as input adapter.
But but but...
I tried to use FileInput() and code like below unfortunately still can't get it working on AWS Sagemaker + API Gateway (Local Running the API by using bentoml server Model:latest works well without any problems)
def predict(self, file_streams: List[BinaryIO]) -> List[str]:
        print('start to process')
        for fs in file_streams:
            image_pil = Image.open(fs)
            image_numpy = np.array(image_pil)
            ...

I did choose to change settings on API gateway to passthrough all binary input but still getting error information like:
AttributeError: 'FileLike' object has no attribute 'readline'

[2021-09-12 20:19:27,814] ERROR - Error caught in API function:
Traceback (most recent call last):  File "/opt/conda/lib/python3.8/site-packages/bentoml/service/inference_api.py",
line 176, in wrapped_func    return self._user_func(*args, **kwargs)  File "/bento/ImageClassifier/Image_classifier.py",
 line 83, in predict    image_pil = Image.open(fs)  File "/opt/conda/lib/python3.8/site-packages/PIL/Image.py",
line 2944, in open    im = _open_core(fp, filename, prefix, formats)  File "/opt/conda/lib/python3.8/site-packages/PIL/Image.py",
line 2930, in _open_core    im = factory(fp, filename)  File "/opt/conda/lib/python3.8/site-packages/PIL/ImageFile.py",
line 121, in __init__    self._open()  File "/opt/conda/lib/python3.8/site-packages/PIL/ImImagePlugin.py",
line 153, in _open    s = s + self.fp.readline()

I suspect AWS API gateway does something weird to binary data(maybe reformat it) and then pass to Sagemaker because obviously  this line "image_pil = Image.open(fs)" failed with fs not being a valid binaryIO handler
@jjmachan  Plz advise ty!

Firstly really sorry for the late reply. The issue seems to be a configuration error in the API Gateway. This only happens when you passing data as a multipart/form-data type but if you pass it in a binary format it will work.
I'm working on adding support for multipart/form-data too but in the meantime, you can refer https://stackoverflow.com/a/56132015 or https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-payload-encodings-configure-with-console.html to get an idea of how to solve it on your end.
Again really sorry for the late reply but I hope this helps : )

Unfortunately it is still not working(same errors) after I updated the API gateway with below:
1.Go to the API Gateway settings tab for your API and add multipart/form-data to the binary media types section.
2.Add Content-Type and Accept to the request headers for your proxy method
3.Add those same headers to the integration request headers
4.Re-deploy the API ====> (BTW How to re-deploy the API gateway only?)

If I use multipart input image like below
curl -i "https://xxxxxxxxxx.execute-api.us-east-1.amazonaws.com/prod/predict" -F<EMAIL_ADDRESS>
got
{"ErrorCode":"INTERNAL_FAILURE_FROM_MODEL","LogStreamArn":"arn:aws:logs:us-east-1:log-group:/aws/sagemaker/Endpoints/my-first-sagemaker-deployment-endpoint","Message":"Received server error (500) from model with message \"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2 Final//EN\">\n<title>500 Internal Server Error</title>\n
Internal Server Error
\n
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
\n\". See https://us-east-1.console.aws.amazon.com/cloudwatch/home?region=us-east-1#logEventViewer:group=/aws/sagemaker/Endpoints/my-first-sagemaker-deployment-endpoint in account  for more information.","OriginalMessage":"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2 Final//EN\">\n<title>500 Internal Server Error</title>\n
Internal Server Error
\n
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
\n","OriginalStatusCode":500}

If I call using below
curl -X POST "https://xxxxxxxx.execute-api.us-east-1.amazonaws.com/prod/predict" -H "Content-Type: image/*" --data-binary<EMAIL_ADDRESS>
I am getting below:
{"ErrorCode":"INTERNAL_FAILURE_FROM_MODEL","LogStreamArn":"arn:aws:logs:us-east-1::log-group:/aws/sagemaker/Endpoints/my-first-sagemaker-deployment-endpoint","Message":"Received server error (500) from model with message \"Exception happened in API function: 'FileLike' object has no attribute 'readline'\". See https://us-east-1.console.aws.amazon.com/cloudwatch/home?region=us-east-1#logEventViewer:group=/aws/sagemaker/Endpoints/my-first-sagemaker-deployment-endpoint in account  for more information.","OriginalMessage":"Exception happened in API function: 'FileLike' object has no attribute 'readline'","OriginalStatusCode":500}

This Inference API code is like below:
@bentoml.api(input=ImageInput(), mb_max_latency=10000, mb_max_batch_size=3, batch=True)
    def predict(self, image_list) -> List[str]:
        print('start to process')
        for image in image_list:
            image_numpy = image
            image_cv2 = cv2.cvtColor(image_numpy, cv2.COLOR_BGR2RGB)
            image_tensor, person_center, s, w, h = process_img(image_cv2, target_size=input_size[0])

Firstly really sorry for the late reply. The issue seems to be a configuration error in the API Gateway. This only happens when you passing data as a multipart/form-data type but if you pass it in a binary format it will work.
I'm working on adding support for multipart/form-data too but in the meantime, you can refer https://stackoverflow.com/a/56132015 or https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-payload-encodings-configure-with-console.html to get an idea of how to solve it on your end.
Again really sorry for the late reply but I hope this helps : )

Thanks @jjmachan , after following this, I was able to get it working. For folks who has problems still, plz make sure to click 'deploy' the API gateway manually to make all changes effective. See screenshot below

Thanks @cliu0507  for adding this step too 🙌🏽

hey, @NaxAlpha @cliu0507 We have added another method of dealing with ImageInputHandler and form-data and also adds support for multiple endpoints too. It would be really awesome if you can take a look at that and see if it solves these issues and also your feedback is appreciated too.

Just tested it for form/multipart and it seems to be working overall except for one thing which is that after redeploying, the first call gives this error  (Whether I call the API 1 minute after deployment or 10 minutes):
{
  "message": "Internal Server Error"
}

But right after this first call, if I call again, then it works perfectly. Also, I still could not test the ImageInput because of the GPU issue.

that is strange, can you get the logs from the API Gateway so that we can get a better idea may be as to what is happening. You can refer to this article https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-troubleshooting-lambda.html since the API gateway logs are not set up by default.
Also, I guess there are no logs from the sagemakers cloudwatch logs and this is a problem with the API Gateway?

yeah when the error message comes, no logs are visible neither in Lambda nor in Endpoint

then it some issue with the API Gateway, it would be really helpful if we can get the logs for the API gateway since I'm not able to reproduce the issue locally.

This is what I got for the first two requests where I got internal server error after enabling gateway logs:

Furthermore, it looks like the gateway IS calling the SageMaker and there are corresponding logs for every failed request in both Lambda and SageMaker but due to maybe bootstrapping request is failing after 3 seconds in lambda:

ok just tried the multipart and imageinput services after this update. Both are working 👍


provide a default FontPath

Prevent breaking previous API where this was not explicitly supplied. Fixes #16

Hey @kaushikgopal, this is super nice! I’m really sorry I’ve taken ages to take a proper look at it. I actually partially fixed this at some point in a simpler way, but I love your use of glob here to allow a wildcard in the font file path – I didn’t know how to do that, yet!
Thank you so much for your help!


Gettiing Error : 420 : FLOOD_WAIT_30 when calling getChats and getChatHistory

Hi, I'm building a program to download and save my old messages.
In particular, I'm running this Javascript code with Airgram:
 async function main() {
  let chatHistory = [];
  // Grab an array of chat Ids here
  let chatIds = await airgram.api.getChat({
    limit: 100,
    offsetOrder: "9223372036854775807"
  });

  //For each Chat ID, we take the last message in the chat
  let lastMessages = Promise.all(
    chatIds.map(chatId =>
      airgram.api.getChatHistory({
        chatId: chatId,
        limit: 1,
        fromMessageId: 0
      })
    )
  );

  // We make a new array with just the message ID for each message

  let lastMessagesIds = lastMessages.map(
    lastMsg => lastMsg.response.messages[0].id
  );

  // Now for every element of this array, so for every chat, we loop and fetch the last 500 messages.

  // The difference between 2 consecutive messageIds is always 2^20 (1048576)
  const tdLibStep = 1048576;
  lastMessagesIds.forEach((messageId, index) => {
    // We find the next 5 messageIds to call to get 500 messages, so we get the 100 newest message, the 201 newest one...
    let nextIds = Array.from(
      { length: 5 },
      (_, i) => messageId - i * tdLibStep * 100
    );

    // For each of the new Ids, we fetch the message History
    let chatMessages = nextIds.map(id =>
      airgram.api.getChatHistory({
        chatId: chatIds[index],
        fromMessageId: id,
        limit: 100
      })
    );
    chatHistory.push({ messages: chatMessages, chat: chatIds[index] });
  });
}

How can I do this without being rate limited? I understand I should get new Messages with updates, but I'm interested in fetching older messages and saving them to a database

You can't avoid server-side flood limits. There is no way to do that and getChatHistory requests currently are limited to at most 30 requests in 30 seconds. So, you can't get more than 100 messages per second. This is still much more than a user can read, so the limit is unlikely to be increased.
If you want to just download all your messages, it is better to do that through Telegram Desktop and Chat Export Tool.


SDR in HDR is very desaturated after updating to RC2

Just making note of it here - I believe it's related to whatever changes led to this upstream patch which presumably resolves the issue, although I have not tested that. I expect that everything will be fine in the final release.

A likely related problem is that I'm getting some really bad flickering on the desktop when HDR is enabled. Seems the refresh rate is very unstable, and judging from the monitor's fps overlay turning off adaptive sync in display settings seems to have no effect whatsoever.


Change the return values of the close method

Codecov Report

Merging #5 (5d846b0) into master (c0466be) will decrease coverage by 0.28%.
The diff coverage is 72.72%.

@@            Coverage Diff             @@
##           master       #5      +/-   ##
==========================================
- Coverage   90.60%   90.32%   -0.29%
==========================================
  Files           1        1
  Lines         149      155       +6
==========================================
+ Hits          135      140       +5
- Misses         14       15       +1

Flag
Coverage Δ

unittests
90.32% <72.72%> (-0.29%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/pipe.c
90.32% <72.72%> (-0.29%)
:arrow_down:

Continue to review full report at Codecov.

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


jsGrid Need to dynamically set Validation on a field when another field option is selected.

I have a jsGrid that has the following fields:
fields: [
                    {
                        name: "StatusId",
                        type: "select",
                        title: "Status",
                        align: "center",
                        editing: true,
                        width: 100,
                        selectedIndex: "StatusId",
                        items: selectStatusData,
                        textField: "Name"
                    },
                    {
                        name: "InSuitStartDate",
                        type: "date",
                        title: "Start Date",
                        align: "center",
                        width: 80,
                        editing: true,
                        validate: {
                            validator: "required"
                        }
                    },
                    {
                        name: "InSuitEndDate",
                        type: "date",
                        title: "End Date",
                        align: "center",
                        width: 80,
                        editing: true,
                        validate: {
                            validator: "required"
                        }
                    }

When ever I select a StatusId = Closed, I need to make sure the InSuitEndDate is required. If StatusId is not closed then InSuitEndDate should not be required.
I have invalidNotify implemented to display a message if required fields are not filled out but I am not sure how to toggle the required flag for InSuitEndDate. Any ideas?

The answer is to implement such a custom validation rule. validate supports custom function, where you can use current item to have validation depending on the data. Please checkout docs: http://js-grid.com/docs/#field-validation-config
Here is the source of the current required rule https://github.com/tabalinas/jsgrid/blob/master/src/jsgrid.validation.js#L76


Merges Master to Live. See commits for details.

Docs Build status updates of commit 33b8a31:
:clock10: Full build: the average full build time is 11 min(s) 47 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 33b8a31:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

teams/teams-ps/teams/Get-TeamsApp.md
:white_check_mark:Succeeded
View (teams-ps)

teams/teams-ps/teams/teams.md
:white_check_mark:Succeeded
View (teams-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit cd1f78f:
:clock10: Full build: the average full build time is 11 min(s) 47 sec(s), this is based on the last 1000 build(s) for this repository.

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

File
Status
Preview URL
Details

teams/teams-ps/teams/Get-TeamsApp.md
:white_check_mark:Succeeded
View (teams-ps)

teams/teams-ps/teams/teams.md
:white_check_mark:Succeeded
View (teams-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Navigate between password/login/otp using arrow keys

I think using arrow keys to select the desired field is way more intuitive then using ctrl/shift+c.
LastPass has this option and is very convenient.

If there is someone who's willing to implement this I'm willing to donate a few bucks as well for the effort :-)

We will implement this in v3. You don't need to pay us :-).

Hey thanks for such a quick reply! I saw the features planned for v3, but that might take a while and for me this feature would be so handy so get in it sooner would be great.

@rbuzatu90 Fair enough - have implemented this in v2 for you (#279).

@rbuzatu90 Also done for v3 in browserpass/browserpass-extension#23, if you want to try that version out.

Merged and released


createQueryClient function

Hello,
Readme file mentions createQueryClient function which should allow to register middlewares globally. The search repo result says that there is no any such functionality defined. Do you have any plans to implement this feature?
Thank you for this great package.

There already support  register middlewares globally but no typescript. You can simply add @ts-ignore to solve this problem
new QueryClient({
  defaultOptions: {
    queries: {
      use: [middleware],
    },
  },
})

You can try this
import { createQuery as createQueryFactory } from 'react-query-kit'

function createQuery<Response, Variables, Error>(
  options: Parameters<typeof createQueryFactory<Response, Variables, Error>>[0]
) {
  return createQueryFactory<Response, Variables, Error>({
    ...options,
    use: [requestIdAttacher, fetchQueryAttacher, ...options.use],
  })
}

const usePosts = createQuery({ queryKey: ..., queryFn: ..., })  // has additional features from pre-defined middleware

If you use default middleware using defaultOptions and ad middleware with createQuery as far as I understand, createQuery will replace the ones from defaults, not merge them.

If you use default middleware using defaultOptions and add middleware with createQuery as far as I understand, createQuery will replace the ones from defaults, not merge them.

It will merge them, only for middleware. Just like swr.

Oh interesting

doc updated.


set_cursor_state(CursorState::Grab) not working correctly on Windows 8.1

When I call display.gl_window().window().set_cursor_state(CursorState::Grab) every frame, at first it works, the cursor is hidden and can't be moved out of the window with the mouse.
But I can still ALT+TAB out of the Window, and then, when I move the cursor back over the window, it's not being grabbed even though I call that function every frame!
After that it behaves like Hide, i.e. the cursor is hidden while over the window, but it's not grabbed.

I'd assume this is caused by winit's cursor state being stale, so it probably just no-ops every time due to winit thinking it's still grabbed.
The simplest solution is just to query the state each time using GetClipCursor, though the entire set_cursor_state function could use some cleanup.


Migrate from Elasticsearch Service

Issue #, if available: https://github.com/aws-controllers-k8s/community/issues/991
Description of changes:
Uses the generator.yaml file from the elasticsearchservice-controller repository

Minor modifications to support newly named variables (elasticsearch to opensearch, for example)
Updated e2e tests to support new spec and status field names

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/approve


There are compatibility problems with BootstrapDialog

Problems with the current version were found during the use of BootstrapDialog, and the "content-wrapper" shrinks when a pop-up event is triggered

Can you create a jsfiddle showing this?

We cannot help without more info. Please open a new issue if the problem persists with all the necessary info such as adminlte version, screenshots and code.
Thanks!


Pools number should show up in links preview [100 USDC Reward!]

🐛  Bug Bounty: Fix Needed! 🛠
Reward: :trophy: 100 USDC 🏆
We are excited to announce a bug bounty for third-party developers! If you've got the skills and know-how, here's your chance to earn some 💸  and contribute to our project.
Issue Description 📄
Pools number should show up in links preview
Expected Behavior 💡
As a user, if I copy the link to a pools page and paste it on (e.g.) twitter, the pools number should show in the thumbnail preview
Current Behavior ❌
Currently, we do not have anything in the meta tags, so it just shows '#'

Requirements for the Bounty 🏁
Submit a pull request with a verified fix to the issue.
The fix should not introduce any new bugs or vulnerabilities.
Code should follow our project's style and contribution guidelines.
Your solution will be reviewed by our team, and the bounty will be awarded upon approval.
How to Claim Your Bounty 💰
Fork our repository.
Create a new branch for your fix.
Submit a pull request to our main branch.
Include detailed information about your fix and how it addresses the issue.
Once reviewed and merged, the 100 USDC will be transferred to your wallet.
We look forward to your contributions and thank you for helping improve our project!
Please Note: All bounty claimants must undergo a KYC (Know Your Customer) process with our finance team to receive the reward. This is a mandatory step to ensure compliance with financial regulations.

This should be doable with SSR.

This should be doable with SSR.
i just wonder if osmosis app is going to convert to ssr.

@gnujoow we already use SSR in a fair number of spots. Feels free to check it out!

Fixed by @fabryscript


Corrected initial credentials in quick start docs

Thanks for the patch!  The documentation will be automatically updated now, and it will reflect your corrections.


The function FlushFinalBlock cryptostream should be called for the se…

The serialization process during the encryption process works fine for AES but not for RijndaelManaged
In order to correct the issue, all that is needed is to call the function FlushFinalBlock on the CryptoStream used after serializing with the BsonWriter

Thanks. Is this documented by Microsoft or someplace that can be linked via a comment?


[opencollective] Add 4 open collective badges

The following badges have been added:

open collective backers
open collective sponsors
open collective backers and sponsors
open collective members by tier

API used: https://developer.opencollective.com/#/api/collectives
Closes #808

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @mbrandau!

  Generated by :no_entry_sign: dangerJS against 2a5187116ed7225815b027bf9bfacd6c281cd533

Just encountered a bug: I miss-spelled a property of namedParams in the example of the "members by tier"-badge. Fix is coming in a second

Would it be possible to create a base class for these Open Collective services? seems like there's some common content across these services that could be encapsulated in one place

Seems like a good idea. This would also simplify some tests.


Refactors and improved UX

Gee thanks! This came out of nowhere! I have to admit I am way to busy with my own work to get back into this extension. I really think I should be passing the flag onto someone else. If you would know of someone interested that is a fan and knows their way around please notify me!

I actually recently made another extension based on this fairly recently! I wanted the extension to be super tiny instead of having all of the music in the downloadable files, so that's why I went for making a new one instead of reworking all the things here. I'd love to see this continue to progress though, especially love the town tune system!

Yeah that is a valid point. With article 13 coming along too... We'll have to find a way. 🤔


[BUG] Backup stopped working after upgrade to 1.3.2

After yesterday's upgrade to version 1.3.2 (from 1.3.1 via Debian repo), backup fails with this error message:
influxd backup -database telegraf /tmp/influxbackup
2017/08/09 10:05:21 backing up db=telegraf since 0001-01-01 00:00:00 +0000 UTC
2017/08/09 10:05:21 backing up metastore to /tmp/influxbackup/meta.01
2017/08/09 10:05:21 backing up db=telegraf rp=autogen shard=169 to /tmp/influxbackup/telegraf.autogen.00169.00 since 0001-01-01 00:00:00 +0000 UTC
2017/08/09 10:05:21 Download shard 169 failed copy backup to file: err=<nil>, n=0.  Retrying (0)...
2017/08/09 10:05:22 Download shard 169 failed copy backup to file: err=<nil>, n=0.  Retrying (1)...
2017/08/09 10:05:23 Download shard 169 failed copy backup to file: err=<nil>, n=0.  Retrying (2)...
2017/08/09 10:05:24 Download shard 169 failed copy backup to file: err=<nil>, n=0.  Retrying (3)...
2017/08/09 10:05:25 Download shard 169 failed copy backup to file: err=<nil>, n=0.  Retrying (4)...
2017/08/09 10:05:26 Download shard 169 failed copy backup to file: err=<nil>, n=0.  Retrying (5)...
2017/08/09 10:05:27 Download shard 169 failed copy backup to file: err=<nil>, n=0.  Retrying (6)...
2017/08/09 10:05:28 Download shard 169 failed copy backup to file: err=<nil>, n=0.  Retrying (7)...
2017/08/09 10:05:29 Download shard 169 failed copy backup to file: err=<nil>, n=0.  Retrying (8)...
2017/08/09 10:05:30 Download shard 169 failed copy backup to file: err=<nil>, n=0.  Retrying (9)...
2017/08/09 10:05:31 backup failed: copy backup to file: err=<nil>, n=0
backup: copy backup to file: err=<nil>, n=0

Version: 1.3.2
OS: Debian jessie on x86_64

On another server, where influxdb was installed much later (thus a more recent version), backup still works after the upgrade.

I was able to successfully perform the backup after downgrading to 1.3.1-1 (from deb file luckily still in apt cache) and manually restarting influxdb daemon.
The failing influxdb instance was originally installed back in 2016, version 1.0.0:
Start-Date: 2016-09-29  16:17:27
Commandline: apt-get install influxdb
Install: influxdb:amd64 (1.0.0-1)

I have same problem with windows version 1.3.2 -1

We have ~10 databases we just upgraded to 1.3.2-1 today that we are now seeing the same issue on.

same issue here:
2017/08/11 15:42:54 backing up db=icinga2 since 2017-08-10 13:42:54 +0000 UTC
2017/08/11 15:42:54 backing up metastore to /srv/storage/influxdb-prebackup/tmp.o0B6CT8vC4/meta.00
2017/08/11 15:42:54 backing up db=icinga2 rp=6weeks shard=471 to /srv/storage/influxdb-prebackup/tmp.o0B6CT8vC4/icinga2.6weeks.00471.00 since 2017-08-10 13:42:54 +0000 UTC
2017/08/11 15:42:54 Download shard 471 failed copy backup to file: err=<nil>, n=0.  Retrying (0)...
2017/08/11 15:42:55 Download shard 471 failed copy backup to file: err=<nil>, n=0.  Retrying (1)...
2017/08/11 15:42:56 Download shard 471 failed copy backup to file: err=<nil>, n=0.  Retrying (2)...
2017/08/11 15:42:57 Download shard 471 failed copy backup to file: err=<nil>, n=0.  Retrying (3)...
2017/08/11 15:42:58 Download shard 471 failed copy backup to file: err=<nil>, n=0.  Retrying (4)...
2017/08/11 15:42:59 Download shard 471 failed copy backup to file: err=<nil>, n=0.  Retrying (5)...
2017/08/11 15:43:00 Download shard 471 failed copy backup to file: err=<nil>, n=0.  Retrying (6)...
2017/08/11 15:43:01 Download shard 471 failed copy backup to file: err=<nil>, n=0.  Retrying (7)...
2017/08/11 15:43:02 Download shard 471 failed copy backup to file: err=<nil>, n=0.  Retrying (8)...
2017/08/11 15:43:03 Download shard 471 failed copy backup to file: err=<nil>, n=0.  Retrying (9)...
2017/08/11 15:43:04 backup failed: copy backup to file: err=<nil>, n=0
backup: copy backup to file: err=<nil>, n=0

downgrade to 1.3.1 solved the issue.
looks like the fix from https://github.com/influxdata/influxdb/pull/8378/commits somehow got reverted

Works for me again since latest nightly: 1.4.0~n201708170800-0
Thank you!

Apparently the patch did not make it into 1.3.3.

Can confirm, that in 1.3.3 it's also not working for me.

It will be in 1.3.4.

This is broken in 1.3.3.
Metastore backup is fine but database backups produce errors. Can't get it to work on Mac or Ubuntu. I can also confirm that the backup directories have correct permissions, so it doesn't seem to be that.
2017/08/23 20:24:14 backing up db=test since 0001-01-01 00:00:00 +0000 UTC
2017/08/23 20:24:14 backing up metastore to /tmp/JIuZnHpa/test/meta.00
2017/08/23 20:24:14 backing up db=test rp=autogen shard=2 to /tmp/JIuZnHpa/test/test.autogen.00002.00 since 0001-01-01 00:00:00 +0000 UTC
2017/08/23 20:24:14 Download shard 2 failed copy backup to file: err=<nil>, n=0.  Retrying (0)...
2017/08/23 20:24:15 Download shard 2 failed copy backup to file: err=<nil>, n=0.  Retrying (1)...
2017/08/23 20:24:16 Download shard 2 failed copy backup to file: err=<nil>, n=0.  Retrying (2)...
2017/08/23 20:24:17 Download shard 2 failed copy backup to file: err=<nil>, n=0.  Retrying (3)...
2017/08/23 20:24:18 Download shard 2 failed copy backup to file: err=<nil>, n=0.  Retrying (4)...
2017/08/23 20:24:19 Download shard 2 failed copy backup to file: err=<nil>, n=0.  Retrying (5)...
2017/08/23 20:24:20 Download shard 2 failed copy backup to file: err=<nil>, n=0.  Retrying (6)...
2017/08/23 20:24:21 Download shard 2 failed copy backup to file: err=<nil>, n=0.  Retrying (7)...
2017/08/23 20:24:22 Download shard 2 failed copy backup to file: err=<nil>, n=0.  Retrying (8)...
2017/08/23 20:24:23 Download shard 2 failed copy backup to file: err=<nil>, n=0.  Retrying (9)...
2017/08/23 20:24:24 backup failed: copy backup to file: err=<nil>, n=0
backup: copy backup to file: err=<nil>, n=0

1.3.4 is out, backup works again. Thanks!

I am getting the same on 1.5.0. Are there any updates on this?
2018/03/23 05:01:23 Download shard 27 failed copy backup to file: err=<nil>, n=0.  Retrying (0)...
2018/03/23 05:01:24 Download shard 27 failed copy backup to file: err=<nil>, n=0.  Retrying (1)...
2018/03/23 05:01:25 Download shard 27 failed copy backup to file: err=<nil>, n=0.  Retrying (2)...
2018/03/23 05:01:26 Download shard 27 failed copy backup to file: err=<nil>, n=0.  Retrying (3)...
2018/03/23 05:01:27 Download shard 27 failed copy backup to file: err=<nil>, n=0.  Retrying (4)...
2018/03/23 05:01:28 Download shard 27 failed copy backup to file: err=<nil>, n=0.  Retrying (5)...
2018/03/23 05:01:29 Download shard 27 failed copy backup to file: err=<nil>, n=0.  Retrying (6)...
2018/03/23 05:01:30 Download shard 27 failed copy backup to file: err=<nil>, n=0.  Retrying (7)...
2018/03/23 05:01:31 Download shard 27 failed copy backup to file: err=<nil>, n=0.  Retrying (8)...
2018/03/23 05:01:32 Download shard 27 failed copy backup to file: err=<nil>, n=0.  Retrying (9)...
2018/03/23 05:01:33 backup failed: copy backup to file: err=<nil>, n=0
backup: copy backup to file: err=<nil>, n=0

@dgnorton Can you work on reproducing this David?

@iliketosneeze this looks like #9618. In your case, is the ifnluxd binary 1.5.0 and the running instance (the source) an older version of influxd?

@dgnorton We are using 1.5.0 for both the running instance and the backup.

@iliketosneeze is TSI enabled?

@dgnorton I'm having this issue on influxd-1.5.0-1 with TSI enabled.

@dgnorton Yes, we have TSI enabled as well.

I have been able to reproduce this. In the repro, it happens fairly often but not every time.
Setup using AWS

One m4.10xlarge instance with 100GB gp2 storage

ssh into InfluxDB instance and update config to use tsi1 index

sudo systemctl stop influxdb.service
sudo sed -i.bak 's/# bind-address = "<IP_ADDRESS>:8088"/bind-address = ":8088"/' /etc/influxdb/influxdb.conf
sudo sed -i.bak 's/# index-version = "inmem"/index-version = "tsi1"/' /etc/influxdb/influxdb.conf
sudo systemctl start influxdb.service

One m4.10xlarge instance running the inch tool to generate high cardinality load.

inch -host http://<IP_ADDRESS>:8086 -p 1000 -t "10,10,10,10,10,10,10"

Once inch is generating load, ssh into the InfluxDB instance and start creating backups.

rm bak/* && influxd backup -database stress bak/

@dgnorton  the above repro seems to occur if another snapshot is being taken at the same time, as in the case of periodic compactions.  I've seen it fail out after 10 attempts.  I've also seen it fail 5, 6 times and then succeed.  We could consider this to be a resource/locking error, but regardless this scenario doesn't seem to be a blocker.
@iliketosneeze   does the problem happen consistently, like 20/50/100% of the time?  Or more sporadically?  Could you share the influxd logs from the time of the backup?

@aanthony1243 It's not 100%, but it is very often. I also seems to depend on the size of the db/shards. Smaller ones don't seem to do it that often.
I have uploaded the logs from a time the backups were failing: https://gist.github.com/iliketosneeze/bc37b54f03219bba69266779185c9f61

@iliketosneeze   I don't see any of the errors in your gist that I saw when reproducing above, but the symptoms are still there. It happens more frequently on larger DB/shards because there's a resource competition when taking shard snapshots.  If another process holds the resource for too long the backup will fail.   We're looking into the root cause now.

@iliketosneeze   we've adjusted the backup to use an exponential backoff to give the server  more time to free resources.  It's out in the just-released 1.5.2.    If you continue to see frequent occurrence of this after upgrading, please open a new issue and we will follow up.

it sounds like you are prepared to tolerate some down time.  It should be safe to stop influxd, move the entire influxdb directory to a new location, and then update your influxdb config to use that new location.

This is true, that is safe enough, but how about back-up?  We'll ultimately want to bump these up to the latest release before long (there are a lot of features in the newer InfluxDB), but doing so without a good back-up is a risky proposition.
In the meantime we need to be able to back up that instance, and do so without disruption.  We do these backups on a daily basis, re-starting InfluxDB every 24 hours will likely not be welcome.  How do we safely back up the data without shutting down InfluxDB?

I misunderstood your issue. you can check the influxdb logs on the server side to see if an error is being logged when nothing is returned on the connection.  If you find something, perhaps we should open it as a new issue and continue from there?

I have the same issue. I found out that whenever I mount my volume under /var/lib/influxdb/ it fails to backup and when I restart my instance container it cannot read the data anymore.
When I mount my volume under /var/lib/backup where backup is my own folder the backup works. I have no clue how to fix this issue. I'm using Microsoft Azure with Instance containers and File Shares.


issue on getting values from configmap in kubernetes when the name of the configmap is different from application one

I have implemented a XXXconfigmap.yaml where i have values needed on different microservices.
In application.properties of each microservice i have specified the key spring.cloud.kubernetes.config.name with the name of the configmap but it doesn't find it , when i do the configmap the same name as the microservice everything works fine.
This is the configmap yaml:
apiVersion: v1
kind: ConfigMap
metadata:
name: XXXconfigmap
namespace: testName
data:
someData: "values"
in application.properties i have :
spring.cloud.kubernetes.config.namespace=testName
spring.cloud.kubernetes.config.name=XXXconfigmap

is the app in namespace testName also ?

yes also the app is in that namespace @Haybu

I have it working just fine with spring boot 2.3.1.RELEASE and spring cloud Hoxton.SR6 and the configuration for a service like the one below (notice app name is different than the cm name):
spring:
  application:
    name: backend
  cloud:
    kubernetes:
      enabled: true
      config:
        enabled: true
        name: mybackend

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.