How to pull images from the robots there are stored in public cluster

Main problem with OpenShift internal registry, accessible only via Authentication

Possible solution: quay

Problem: how to configure quay url in pipeline as code definition: https://github.com/cloud-native-robotz-hackathon/starter-app-python/blob/master/.tekton/release-tag.yaml#L115-L149

Possible solution: Update pipeline as part of the Lab Guide.

At the robot:
root@data:~# podman pull default-route-openshift-image-registry.apps.cluster-n2h68.n2h68.sandbox3269.opentlc.com/team-1-dev/starter-app-python:v99-arm64
Trying to pull default-route-openshift-image-registry.apps.cluster-n2h68.n2h68.sandbox3269.opentlc.com/team-1-dev/starter-app-python:v99-arm64...
Error: initializing source docker://default-route-openshift-image-registry.apps.cluster-n2h68.n2h68.sandbox3269.opentlc.com/team-1-dev/starter-app-python:v99-arm64: reading manifest v99-arm64 in default-route-openshift-image-registry.apps.cluster-n2h68.n2h68.sandbox3269.opentlc.com/team-1-dev/starter-app-python: unauthorized: authentication required
root@data:~#

Against the data center cluster
oc project team-1-dev
oc create sa image-puller
oc adm policy add-cluster-role-to-user system:image-puller -z image-puller
oc create token  image-puller
...

root@data:~# podman login --authfile test.json default-route-openshift-image-registry.apps.cluster-n2h68.n2h68.sandbox3269.opentlc.com
Username: sadf
Password: <PASTE TOKEN FROM image-puller>
Login Succeeded!
root@data:~# podman pull --authfile test.json default-route-openshift-image-registry.apps.cluster-n2h68.n2h68.sandbox3269.opentlc.com/team-1-dev/starter-app-python:v99-arm64
Trying to pull default-route-openshift-image-registry.apps.cluster-n2h68.n2h68.sandbox3269.opentlc.com/team-1-dev/starter-app-python:v99-arm64...
Getting image source signatures
Copying blob 068b82d4ee01 skipped: already exists
Copying blob c8b7ce9ed18f skipped: already exists
Copying blob 848de540f9c1 skipped: already exists
Copying blob 46bcfdc97903 skipped: already exists
^Croot@data:~#

https://docs.redhat.com/en/documentation/red_hat_build_of_microshift/4.12/html-single/installing/index#microshift-install-rpm-preparing_microshift-install-rpm
We have two options:

Rollout a global pull secret
Rollout a user / team specific pull secret. That could be part of the lab.

Quay deployment is not sooo easy, we have to take of user creation / identity provider. Bridge operator syncs basicly only namespaces and image streams...

Let's update start-app-deployment at the robot (gitops sync disabled)
As expected:
  Warning  Failed     17s (x3 over 55s)  kubelet            Failed to pull image "default-route-openshift-image-registry.apps.cluster-z8545.z8545.sandbox91.opentlc.com/team-1-dev/starter-app-python:dev3": rpc error: code = Unknown desc = Error reading manifest dev3 in default-route-openshift-image-registry.apps.cluster-z8545.z8545.sandbox91.opentlc.com/team-1-dev/starter-app-python: unauthorized: authentication required

Providing the pull secret at /etc/crio/openshift-pull-secret doesn't work
14s         Warning   Failed              pod/starterapp-python-679cdbf89-m6cvd    Failed to pull image "default-route-openshift-image-registry.apps.cluster-z8545.z8545.sandbox91.opentlc.com/team-1-dev/starter-app-python:dev3": rpc error: code = Unknown desc = Error reading manifest dev3 in default-route-openshift-image-registry.apps.cluster-z8545.z8545.sandbox91.opentlc.com/team-1-dev/starter-app-python: unauthorized: authentication required

Pull secrets works:
root@data:~# podman pull --authfile /etc/crio/openshift-pull-secret default-route-openshift-image-registry.apps.cluster-z8545.z8545.sandbox91.opentlc.com/team-1-dev/starter-app-python:dev3
Trying to pull default-route-openshift-image-registry.apps.cluster-z8545.z8545.sandbox91.opentlc.com/team-1-dev/starter-app-python:dev3...
Getting image source signatures
Copying blob a81277bf03b3 [--------------------------------------] 541.5KiB / 82.8MiB
Copying blob 679da2159f24 [>-------------------------------------] 303.5KiB / 16.6MiB
Copying blob c6f5847a7d5e [--------------------------------------] 290.5KiB / 73.6MiB
Copying blob 6057de35623c [--------------------------------------] 307.5KiB / 25.0MiB
Copying blob 7594a545ac0e [--------------------------------------] 271.6KiB / 190.1MiB
^Croot@data:~#

A file /etc/crio/crio.conf.d/99-data-center-auth
[crio.image]
global_auth_file = "/etc/crio/openshift-pull-secret"

should work as well.

Solution 4) Make all images in a namespace public via:
oc adm policy add-role-to-group system:image-puller system:unauthenticated -n team-1-dev

And it works:
root@data:~# podman pull default-route-openshift-image-registry.apps.cluster-z8545.z8545.sandbox91.opentlc.com/team-1-dev/starter-app-python:dev3
Trying to pull default-route-openshift-image-registry.apps.cluster-z8545.z8545.sandbox91.opentlc.com/team-1-dev/starter-app-python:dev3...
Error: initializing source docker://default-route-openshift-image-registry.apps.cluster-z8545.z8545.sandbox91.opentlc.com/team-1-dev/starter-app-python:dev3: reading manifest dev3 in default-route-openshift-image-registry.apps.cluster-z8545.z8545.sandbox91.opentlc.com/team-1-dev/starter-app-python: unauthorized: authentication required

oc adm policy add-role-to-group system:image-puller system:unauthenticated -n team-1-dev

root@data:~# podman pull default-route-openshift-image-registry.apps.cluster-z8545.z8545.sandbox91.opentlc.com/team-1-dev/starter-app-python:dev3
Trying to pull default-route-openshift-image-registry.apps.cluster-z8545.z8545.sandbox91.opentlc.com/team-1-dev/starter-app-python:dev3...
Getting image source signatures
Copying blob 6057de35623c [--------------------------------------] 289.1KiB / 25.0MiB
Copying blob a81277bf03b3 [--------------------------------------] 288.5KiB / 82.8MiB
Copying blob c6f5847a7d5e [--------------------------------------] 282.5KiB / 73.6MiB
Copying blob 7594a545ac0e [--------------------------------------] 270.5KiB / 190.1MiB
Copying blob 679da2159f24 [--------------------------------------] 118.6KiB / 16.6MiB
^Croot@data:~#

apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  creationTimestamp: "2024-08-16T20:32:47Z"
  name: system:image-puller-0
  namespace: team-1-dev
  resourceVersion: "411189"
  uid: a474f446-73ef-4207-898a-1a4e8849cfdb
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: system:image-puller
subjects:
- apiGroup: rbac.authorization.k8s.io
  kind: Group
  name: system:unauthenticated

Works like a charm!


Added a file to enable my school(ktu) to be added to jetbrains

@Leticiamkabu ktu.txt I am sorry, I have to close the request without merging, because you made a mistake in a request and did not specify any filepath. Please ensure that you are familiar with this repository rules located at the bottom of this page and make a new correct request. Thank you for your understanding!

thanks
On Wed, Sep 25, 2024 at 6:26 PM Philip Torchinsky @.***>
wrote:

Closed #23905 https://github.com/JetBrains/swot/pull/23905.
—
Reply to this email directly, view it on GitHub
https://github.com/JetBrains/swot/pull/23905#event-14403761825, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ALOWYCHXQTYOE4XLHQWFKT3ZYL553AVCNFSM6AAAAABO24B2ZOVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGQYDGNZWGE4DENI
.
You are receiving this because you were mentioned.Message ID:
@.***>


[dxut, effects11] ports updated for May 2022 releases

Upstream changes improve CMake project files, use SDL switch recommendations, and use GNUInstallDirs
Both ports now build with clang/LLVM via CMake as well as MSVC
dxut can also build with the MinGW community triplets

Validated locally with all supported triplets:
vcpkg install dxut:x86-windows
vcpkg install dxut:x86-windows-static
vcpkg install dxut:x86-windows-static-md
vcpkg install dxut:x64-windows
vcpkg install dxut:x64-windows-static
vcpkg install dxut:x64-windows-static-md
vcpkg install dxut:arm-windows
vcpkg install dxut:arm64-windows
vcpkg install dxut:arm64-windows-static
vcpkg install dxut:arm64-windows-static-md

vcpkg install dxut:x64-mingw-static
vcpkg install dxut:x86-mingw-static

vcpkg install effects11:x86-windows
vcpkg install effects11:x86-windows-static
vcpkg install effects11:x86-windows-static-md
vcpkg install effects11:x64-windows
vcpkg install effects11:x64-windows-static
vcpkg install effects11:x64-windows-static-md
vcpkg install effects11:arm-windows
vcpkg install effects11:arm64-windows
vcpkg install effects11:arm64-windows-static
vcpkg install effects11:arm64-windows-static-md
vcpkg install effects11:x86-uwp
vcpkg install effects11:x64-uwp
vcpkg install effects11:arm-uwp
vcpkg install effects11:arm64-uwp


[LOG4J2-2322] Custom async ContextSelectors disable location by default

AsyncLoggerContextSelector disables "includeLocation" on loggers
unless specified. Custom ContextSelector implementations will
trigger this logic as well.

merged


Bug: AttributeError: 'list' object has no attribute 'items'

Describe the bug
After each reboot I get the following error which I can't figure out what is missing
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 397, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 641, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 775, in add_to_platform_finish
    await self.async_added_to_hass()
  File "/config/custom_components/magic_areas/binary_sensor.py", line 266, in async_added_to_hass
    await self._initialize()
  File "/config/custom_components/magic_areas/binary_sensor.py", line 291, in _initialize
    self.load_attributes()
  File "/config/custom_components/magic_areas/binary_sensor.py", line 226, in load_attributes
    ).items()
AttributeError: 'list' object has no attribute 'items'

Additional context
I've 10 areas with different devices like lights, media_player, sensors etc. Does every area require a motion/occupancy sensor? As some of my areas don't have one yet.
In general it might be a good idea to do a sanity check before depending on the items().

Looks like your configuration is messed up. Are you coming up from 2.x?

I had the 3.0.x beta running before. I will try to reset my config and see if that halps.

Yeah 3.0 release broke the beta. Will need to recreate the areas

Let me know when you're able to test it, if this still an issue.


How to update floating instance state when reference updates?

I'm trying to use a modifier to update the state of the popper instance without success:
modifiers: [
                {
                  name: "setMaxWidth",
                  phase: "write",
                  enabled: true,
                  fn: ({ state, instance }) => {
                    console.log(state);
                    const refWidth = state.rects.reference.width;
                    state.rects.popper.width = refWidth;
                    // instance.update();
                    return state;
                  },
                },
              ],

What am I doing wrong?

Thank you for your issue.
Unfortunately I can't answer to all the reported issues without a little help from you.
Please, make sure to follow the issues template when you submit a new issue, in this way I will already have all the informations needed to understand the problem and help you with it.
I'm closing this issue for now, but feel free to open a new one making sure to follow all the instructions!
Thank you for your understanding.


 Image preprocessor

https://github.com/deeplearning4j/deeplearning4j/issues/1665

You can now scale pixel values of an image to a certain range and give it the number of bits that are used to represent the pixels.
Added tests as well.


[PHPStan 2.0] replace instanceof usages

This pull request is on top of #345
I attempts to replace all deprecated usages of instaceof in favor of dedicated methods: https://phpstan.org/developing-extensions/type-system#querying-a-specific-type
It seems to work on the majority of cases, but it still fails in propagating the type outside of a method with no return type; I'm not sure if this is a change on PHPStan's side; maybe it now requires to declare the return type explicitly in the code, so that errors arise if it doesn't match?

@alexander-schranz I'm re-targeting this toward your PR so you can see only my diff.

It seems to work on the majority of cases, but it still fails in propagating the type outside of a method with no return type; I'm not sure if this is a change on PHPStan's side; maybe it now requires to declare the return type explicitly in the code, so that errors arise if it doesn't match?

It is caused by level 10 (PHPStan 2's new max level)
I got green with  --level=9 on your Jean85:feature/phpstan-2-replace-instanceof branch
vendor/bin/phpstan analyse --configuration=phpstan-with-extension.neon --level=9
 14/14 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

 [OK] No errors

when debugging with
diff --git a/test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php b/test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php
index edcc659..7d3d20f 100644
--- a/test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php
+++ b/test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php
@@ -29,10 +29,12 @@ final class ProphesizeTest extends Framework\TestCase
     protected function setUp(): void
     {
         $this->prophecy = $this->prophesize(Src\BaseModel::class);
+        \PHPStan\dumpType($this->prophecy);
     }

     public function testCreateProphecyInSetUp(): void
     {
+        \PHPStan\dumpType($this->prophecy);
         $this->prophecy
             ->getFoo()
             ->willReturn('bar');

got ( both master and Jean85:feature/phpstan-2-replace-instanceof)
vendor/bin/phpstan analyse --configuration=phpstan-with-extension.neon --level=9
 14/14 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

 ------ -----------------------------------------------------------------------------------------------------
  Line   test/StaticAnalysis/Test/ObjectProphecy/ProphesizeTest.php
 ------ -----------------------------------------------------------------------------------------------------
  32     Dumped type: Prophecy\Prophecy\ObjectProphecy<JanGregor\Prophecy\Test\StaticAnalysis\Src\BaseModel>
  37     Dumped type: mixed
 ------ -----------------------------------------------------------------------------------------------------

Thanks @sasezaki for the suggestion!
It now works, the test failure seems unrelated and probably it's failing on master too.

@Jean85 please see & review #348. I submitted another pull request.

close in favor of #348 thx @sasezaki @Jean85


is there way to increase the font size of title and secondary text?

@NULLPointerGuy https://developer.android.com/guide/topics/ui/themes.html


Quality KIT Release 23.12 Operations View Acceptance Criteria

Release 23.12 KIT Operations View

[ ] Quick Setup Guide and Deployment Scripts in Repository

Documentation for the operations view must be available in Eclipse Tractus-X as MD files.
A reference implementation must be deployable via versioned and released HelmCharts with ArgoCD and as local deployment. In addition, a quick setup guide must be provided.

Quick Setup Guides
Deployment Scripts (e.g. local, helm charts, terraform)

Best Practice:

eclipse tractusx-docs-artefacts
How-to-create-a-KIT-website

Artifact Repository:

eclipse-tractusx

Contacts:

Responsible: PO/BO (from relevant Domain)
Responsible for Process: PO / BO (from relevant Domain)
Consult: KIT-CONTACT1, KIT-CONTACT2 + System Team
Review by: PCA/BDA

No changes for Release 23.12 - KIT Release 1.1.0

Approved by PCA/BDA in QG Review.


Move continued tickets from azure-indigent-defense

Move the tickets from this repo to this one.
You can leave the tickets related to Azure there if that component of the project is ever picked up later.

I wanted to prioritize which tickets to take next, so I went ahead and moved all of the tickets that needed moving.


Add Server Administrator as an appointed officer

Add the position of Server Administrator to the constitution. This position will be in charge of the Open Source Club's server.

Should we add any requirements for this position (e.g. prior experience)?

Should we add any requirements for this position (e.g. prior experience)?

My personal view on this is that that can be left up to the President. The constitution makes no note of any requirements or lack of requirements that a President can have when getting applicants. It only says

The Server Administrator shall be appointed by the President.

So the president can literally makeup whatever requirements they want to have.

I would also add they should maintain a common record of any server settings they change (so it would be easy to create a new server or let future people figure out bugs) like this one.

Should we add any requirements for this position (e.g. prior experience)?

My personal view on this is that that can be left up to the President. The constitution makes no note of any requirements or lack of requirements that a President can have when getting applicants. It only says

The Server Administrator shall be appointed by the President.

So the president can literally makeup whatever requirements they want to have.

That's a fair point. We don't have any explicit requirements for other positions.

Approved at GBM 2/20/2018


Carthage support and restructuring

This adds carthage support and restructures the project to enable this. There is an actual framework target now. The demo app is a subproject of the main project. The tests are running on OS X now, which doesn't require the simulator to be started.

Great work, this is much better! Thanks @Infinisil for contributing!
(There was a problem with the demo app, it wouldn't compile and work correctly, but i fixed that.)

I’m glad I could help :D

On 24 Jul 2016, at 09:25, Radek Pietruszewski<EMAIL_ADDRESS>wrote:
Great work, this is much better! Thanks @Infinisil https://github.com/Infinisil for contributing!
(There was a problem with the demo app, it wouldn't compile and work correctly, but i fixed that.)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/radex/DiffyTables/pull/7#issuecomment-234762597, or mute the thread https://github.com/notifications/unsubscribe-auth/ATkxOiM9wai_gTLDarpRgD-IPRSVNQYdks5qYxN9gaJpZM4JTYqE.

Ohh, one thing you need to do still. Somehow tags don't get pulled I just found out, but for Carthage to work you need a tagged release. To do this just
git tag -a v1.0 -m "Version 1.0"

And push

Done, thanks @Kametrixom ! https://github.com/radex/DiffyTables/releases


Use quotes around interpolation

This resolves a Sass deprecation warning for when using interpolation without quotes in certain ways.
More info: https://github.com/sass/sass/blob/3.4.20/doc-src/SASS_CHANGELOG.md#3420-09-december-2015
Fixes #810

Is the unquote() function doing anything here? I couldn't get it to produce any difference in Sassmeister.

When will this be merged ? any ideas ?

I’d say you can safely omit the unquote(..). Other than that, it looks good.


Missing reuters-allcats.csv in the Example page

I cannot find reuters-allcats.csv file link in https://uber.github.io/ludwig/examples/ .
I think the Example page should contain this file, so a user can actually follow the example to try Ludwig out.
Thanks for open sourcing this project.

It looks like I raised an issue that is similar to https://github.com/uber/ludwig/issues/40 .
If #40 is solved, please close this issue.

Thanks for sending this issue.
Unfortunately that dataset was a reformatted file of the Reuters dataset, but as it has its own license we ended up not including it.
I will replace it with something that looks like that and has no strings attached.

I found a link to a csv file with the same name here:
http://boston.lti.cs.cmu.edu/classes/95-865-K/HW/HW2/
I downloaded this file and used to to test the ludwig example and the program ran fine.  I did not get the exact same result, so it might be a different subset, but it allows you to play with ludwig using this example.

Thanks for pointing it out @lee-geyer ! I may add the link to the example and that should work around the issue in including the dataset in our repo.

I found a link to a csv file with the same name here:
http://boston.lti.cs.cmu.edu/classes/95-865-K/HW/HW2/
I downloaded this file and used to to test the ludwig example and the program ran fine. I did not get the exact same result, so it might be a different subset, but it allows you to play with ludwig using this example.

Which file did you take, please? I ended up with couple of texts, and sgm files...

Reuters-allcat-6.zip
Sent from my iPhone
On Feb 17, 2019, at 3:46 PM, michalmar <notifications<EMAIL_ADDRESS>wrote:
I found a link to a csv file with the same name here:
http://boston.lti.cs.cmu.edu/classes/95-865-K/HW/HW2/
I downloaded this file and used to to test the ludwig example and the program ran fine. I did not get the exact same result, so it might be a different subset, but it allows you to play with ludwig using this example.
Which file did you take, please? I ended up with couple of texts, and sgm files...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/uber/ludwig/issues/65#issuecomment-464506816, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AhqXnhzPtSRWMRwiuSShbVEBkUsjh3H2ks5vOb-9gaJpZM4a4uuN.

I found a link to a csv file with the same name here:
http://boston.lti.cs.cmu.edu/classes/95-865-K/HW/HW2/
I downloaded this file and used to to test the ludwig example and the program ran fine. I did not get the exact same result, so it might be a different subset, but it allows you to play with ludwig using this example.

Which file did you take, please? I ended up with couple of texts, and sgm files...

I've found that already (reuters-allcat-6.zip)

This commit: https://github.com/uber/ludwig/commit/29298f0795297fb9fb5ec2b5263af1969022f816 solves it.


Translations Update advanced/otp-supervisors.md

PR #716 Added restart values to the supervisors lesson.
Translation
Translation progress:

[x] en
[x]  ru /cc @nscyclone
[x]  ko /cc @devleoper
[ ]  jp /cc @3100
[ ]  no /cc @therobinsj
[ ]  pl /cc @Koziolek
[ ]  sk /cc @michalvalasek
[ ]  fr /cc @julienXX
[ ]  cn /cc @cizixs
[ ]  es /cc @aleandros / @jonahoffline / @eze1981
[ ]  pt /cc @pragmaticivan
[ ]  vi /cc @joneslee85
[ ]  it /cc @apeacox / @sformisano
[ ]  my /cc @alkaha
[ ]  id /cc @rezaprima

I'm working on the russian version.

By the way. Thanks, @devleoper for creating this task. For some reason I thought that it's already in place.


Gnoscan Development Updates

Hi all,
I've made this issue to share the development status of Gnoscan, a blockchain explorer being built by Onbloc for Gnoland. Gnoscan has supported the basic information of the Gnoland blockchain since testnet 2, now supporting testnet3, check out here: http://gnoscan.io/
We are doing a major upgrade for Gnoscan this month to be able to provide more gno-ish data in the main UI, such as;

Showing a dashboard of Active Accounts & Active Board and Total Gas Share by Realms & Newst Realms
Showing basic information about Gnoland such as Total Supply, Block Height, Transactions, and Total addresses.
UI/UX improvements such as searching by the name of Address, Block, Realm, Token, /r/user, and providing intuitive UI for the Realm pages.
Here's the main UIs for the night and day versions of Gnoscan:

I believe this update will be helpful for the whole Gnoland community, In fact, I'm very excited about helping the upcoming Game of Realms with Gnoscan. Being able to provide dashboards, where community members can see who are actively contributing & which realms are being used often, will be needed and It'll mean a lot for Onbloc as well.
I'll update the development status of Gnoscan here, meanwhile, if you have a suggestion or any feedback, please leave a comment.

Thank you for sharing this.
We need to find a better way to manage updates; what do you suggest?

We need to find a better way to manage updates; what do you suggest?

I suggest we keep the updates of non-core related projects (Adena, Gnoscan, Gnoland Space, and more) in awesome-gno issues until it makes sense to move all to on-chain (i.g. /r/gnoland/contributions or something) when we define the DAO system.  What do you think?


[StableHLO] Add onnx.Dim lowering to StableHLO

Lower onnx.Dim to shape.get_extent or constant.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@jenkins-droid test this please

@Connor-XY could you help take a look on this patch? and also some recent PRs about stablehlo. Thanks!

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@jenkins-droid test this please

LGTM! Thanks for adding support for Onnx.Dim conversion. It is fine to use shape or tensor dialect. No worries!

Thank you!

Can one of the admins verify this patch?

Jenkins Linux s390x Build #14340 [push] [StableHLO] Add `onnx.Di... started at 02:37

Jenkins Linux ppc64le Build #13335 [push] [StableHLO] Add `onnx.Di... started at 02:46

Jenkins Linux amd64 Build #14310 [push] [StableHLO] Add `onnx.Di... started at 01:37

Jenkins Linux amd64 Build #14310 [push] [StableHLO] Add `onnx.Di... passed after 1 hr 18 min

Jenkins Linux s390x Build #14340 [push] [StableHLO] Add `onnx.Di... passed after 1 hr 22 min

Jenkins Linux ppc64le Build #13335 [push] [StableHLO] Add `onnx.Di... passed after 1 hr 54 min


[VL] offload table scan when filter need fallback

Description
currently when a filter has UDF and fallback, the table scan is also fallback. We should offload table scan since it can benefit from native and much more expensive than filter and new C2R.
In this query, parquet scan output int and string only.

There is a pending PR possibly related to this topic https://github.com/apache/incubator-gluten/pull/7215
@zml1206 Would we still be able to optimize against such issues after that PR get landed?

Should be. Let me do a quick test once @zml1206 resolve conflicts

Conflicts resolved. But I'm sorry I don't understand why scan will fallback. Is it because RAS is enabled?

Can we determine whether expression supports offload? @zhztheplayer There are three layers of filters here. The first layer is pushedDownFilters of FileSourceScanExec, which is also used by vanilla spark scan. The second layer is the dataFilters of FileSourceScanExec, which is used to generate the pushedDownFilters of FileSourceScanExec, as well as the filters used after the current offload. The third layer is the condition of the filter. In theory, the filter condition contains dataFilters, and dataFilters contains pushedDownFilters.
The current implementation will push down dataFilters or condition filters. Simply rewrite dataFilters to pushedDownFilters may cause dataFilters to be pushed down before, but only pushedDownFilters can be pushed down.

@zml1206 Thanks for explanation.

Can we determine whether expression supports offload?
Let's see if https://github.com/apache/incubator-gluten/pull/6754 on which @rui-mo is working could finally help here.


feat: Added support for Cloudwatch metric stream

Description
Adds a module for cloudwatch metric streams.
Motivation and Context
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Metric-Streams.html
Breaking Changes
No.
How Has This Been Tested?

[x] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[x] I have tested and validated these changes using one or more of the provided examples/* projects

[x] I have executed pre-commit run -a on my pull request

This PR is included in version 5.1.0 :tada:


add a  stackoverflow template

I added how many accepted answers are they and it can also give the code of the accepted answer.

yeah ill try to work with the api

I just read what you've done with #85, I'm unsure about the fact that the StackExchange API needs a token, I'll look into it more but judging by this thread I don't think a token is needed

i worked with stackoverflow api

We shouldn't use insertAdjacentHTML or insert any raw HTML code in the DOM for sanity reasons. Also if we do that the extension won't get accepted on the firefox store. Don't worry I'm currently working on the StackExchange integration using what you've already done and I'm nearly finished

i can replace it with createTextnode and remove the html from the data

Well this is what I'm working on right now, I will push it to your PR don't worry

Could you test this ^ ? What do you think of it ? I've moved everything to files named StackExchanges so we can keep consistency and add more sites like math.stackexchange or apple.stackexchange later. I'm also requesting both the question and answers so we can display some data even if there are no answers.

I guess that looks good but for the question with answer accepted at least, you should display the most upvoted answer right?
yea that's all
other than that I'm satisfied with this version

I'm using the answer marked as "accepted answer" on stackoverflow, that could easily be changed by changing the condition here. I'll think I'll merge this tomorrow then as I still want to test some things before merging


Mobile menu

Mobile menu popup.
In this exercise we:

Added JavaScript function to the mobile menu button.
Used querySelector and addEventListener properties to get details of the nav options.
Added some styles in the CSS and some transition effects.

Hi team,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.

Invalid Code Review Request
⚠  Please remove the templated texts below to have professional README.

🔴 You have submitted a project, that has no Eslint linter setup. Since we start to use JavaScript for this project, now we need to set up HTML&CSS&JavaScript linters. Kindly check the project requirements.

Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


Cherry-pick to 4.13: add control property (#5943)

add control property

disable fragile test

#minor

Pull Request Test Coverage Report for Build 275096

0 of 0   changed or added relevant lines in 0 files are covered.
49 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.05%) to 78.678%

Files with Coverage Reduction
New Missed Lines
%

/libraries/Microsoft.Bot.Builder.LanguageGeneration/Evaluator.cs
6
95.21%

/libraries/Microsoft.Bot.Builder.LanguageGeneration/Templates.cs
9
96.27%

/libraries/Microsoft.Bot.Builder.LanguageGeneration/Expander.cs
34
70.87%

Totals

Change from base Build 263794:
0.05%

Covered Lines:
18063

Relevant Lines:
22958

💛  - Coveralls


Add initial support for Markdown

Issue-6

Added the feature to read .md file types in the SSG
Parse out all the bold data from the .md file and convert it to html5.
Fixed some other issue as dissused on  Discord/Slack such it was not reading the file properly.

Description
In the Issue-6 branch I have created the readBookFileMD function similar to your readBookFile function, which will read and extract all the bold letters. Used the Regx to parsed the data from the md file and pushed into the array.
Thanks

Added markdown feature

Approved.


Skip packages

Hi,
In our project we have auto generated files (for example created by wsd2java). We prefer not to format auto generated files. Based on the README and a quick look at the code I believe there is no option to skip certain packages (or files) to apply the formatting to, corrrect?
In my opinion it would be helpful to add something like this to the configuration:
<configuration>
    <skipPackages>
        <skipPackage>[Path of package]</skipPackage>
        <skipPackage>[Path of package]</skipPackage>
    </skipPackages>
</configuration>

As I like to apply the plugin to our project I would be very happy with this feature.
What is your opinion?

Hi,
The plugin only formats source files (e.g. src/main/java ).
Your generated files are expected to reside in the maven output directory (e.g. target ).
If you use wsd2java maven plugin that should be implicitly the case.

If you need this nonetheless, you can use globPattern property in the plugin configuration section.
Its usage is partially described in https://github.com/Cosium/git-code-format-maven-plugin#manual-code-formatting .

Hi @reda-alaoui
Thanks for your quick answers. We are not (or actually partially) using the maven plugin for wsdl2java. I will play around with the globPattern today and see whether it works as suitable for us.
Thanks!


@Timestamp should support meta-annotations

It should be possible to write a meta-annotation for @org.axonframework.eventhandling.Timestamp.
@SequenceNumber, @MetaDataValue, @MessageIdentifier and @ConcludesBatch already support meta-annotations.

I agree with you @JohT, it should be possible to write a meta-annotation for this. Thanks for filing an issue and contributing a pull request for it.


call wakeupReflection() after loadClassMetadata event has been dispatched

linked to this issue : http://www.doctrine-project.org/jira/browse/DDC-1610

I'm closing it, fixed by this commit https://github.com/doctrine/doctrine2/commit/1d46d2b9afabbd69e6953ef0a9582dbfa79a0292

except you did not close the PR :)


Top Tech News Generator

First make an issue,only then I will be able to merge it @Anurag-05-prog

Added a screenshot of the working extension.


Refactor fetching latest CDI version

We have noticed frequent failures in getting the latest version of CDI but we lack information to debug it so here we store the JSON of the latest CDI version in a variable so it would be printed and also extract the tag_name using 'jq' instead of grep+sed

oh there we go:
LATEST_CDI='{"message":"API rate limit exceeded for <IP_ADDRESS>. (But here'\''s the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}'

I'll handle the api rate limit separately


Checking for existence of instance of a class not working?

I want to check whether in the Data graph, there is at least one instance of dcat:Catalog. I followed this example from the SHACL wiki.
tl;dr: It does not work in Zazuko, it works in SHACL Play!, but I am not sure which behavior is the correct one.
Data graph - note that there is one instance of dcat:Catalog:
@prefix dcat:    <http://www.w3.org/ns/dcat#> .
@prefix dct:     <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix vcard2006: <http://www.w3.org/2006/vcard/ns#> .

<https://data.gov.cz/lkod/mdcr/katalog> a dcat:Catalog ;
    dct:title "Katalog otevřených dat Ministerstva dopravy"@cs, "Open Data Catalog of the Ministry of Transport"@en ;
    dct:description "Otevřená data Ministerstva dopravy. Obsahuje datové sady o jízdních řádech a liniových vedeních veřejné dopravy."@cs;
    dct:description "Open data of the Ministry of Transport. It contains datasets regarding timetables of public transport."@en ;
    dct:publisher <https://rpp-opendata.egon.gov.cz/odrpp/zdroj/orgán-veřejné-moci/66003008> ;
    foaf:homepage <https://data.gov.cz/datové-sady?poskytovatel=Ministerstvo%20dopravy> ;
    dcat:contactPoint [
        a vcard2006:Organization ;
        vcard2006:fn "Ministerstvo dopravy, Odbor veřejné dopravy"@cs, "Ministry of Transport"@en ;
        vcard2006:hasEmail<EMAIL_ADDRESS>    ] ;
    dcat:dataset  <https://data.gov.cz/lkod/mdcr/datové-sady/seznam-zastavky> ,

Shapes graph:
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix ex: <https://example.org/> .

# Shapes graph
ex:CatalogExistence
    a sh:NodeShape ;
    sh:targetNode dcat:Catalog ;
    sh:property [
      sh:path [ sh:inversePath rdf:type ];
      sh:minCount 1;
    ] .

Like this, it validates in Zazuko. However, if I remove the dcat:Catalog, e.g., by emptying the data graph, it still validates, which is not what I want. According to the example, and also in SHACL Play! it does not validate, which is what I want. However, I am not sure that the example is correct, since the targetNode cannot target anything, when there is no dcat:Dataset in the data graph, and therefore there is nothing to validate, and therefore the data graph seems valid. 🤷🏻♂

Indeed, that is a know issue. If nothing in the data graph matches any shape targets (ie. in your example there is no resource with type dcat:Catalog), then no validation takes place. I think this is according to the spec and the wiki is a little misleading.
SHACL Play! shows a different message, not equivalent to failed validation. That may be a UI-only feature

A shape with sh:targetNode will always be executed, regardless of whether the graph contains that node, or any node. It will simply set the target to the given targetNode even if it doesn't "exist". So - from my superficial look - the validation engine should report a violation if there is no instance of that class.

That does make sense but isn't it the opposite of what you said on Discord and also to how the engines behave?
I don't know which version of SHACL_TQ weso.es uses, but all engines report success when the shape has no target or target which is not present in data graph
https://rdfshape.weso.es/link/16789515368
By the way @jakubklimek, I noticed only now that you should change sh: targetNode to sh:targetClass

@tpluscode Actually, if I understand the Wiki example correctly, having sh:targetNode pointing to the class instead of sh:targetClass and supplementing it with the inverse of rdf:type are parts of the whole trick here.

ah ok, I failed to really understand before.
Yes, without a logic as described by Holger this cannot work. Otherwise it does assume that no targets found => no validation

I propose we revert #81 because we misunderstood the spec (and the example to check there is at least one instance is useful)

Can you link to the spec where this is scenario mentioned?

https://www.w3.org/TR/shacl/#targets

RDF terms produced by targets are not required to exist as nodes in the data graph.


bug: compaction task stuck for hours

Describe the bug
Rencently we have seen a small cg3 (MV compaction group) L0->L0 compaction task getting stuck for hours, which cause L0->base level compaction to block for the corresponding compaction group.
Compactor is alive and can handle tasks from both the same and different compaction groups as usual.
We saw "Ready to handle compaction task" log but not "Finished compaction task" log. This means compactor indeed received the task but not finished it.
The task progress and heartbeat of the stuck task is continously reported to meta node. We use a guard to make sure the task progress is cleared if the task finishes or errors out so that means the task is indeed stuck in the compactor side.
Metric "Compacting SSTable Count" reported by meta node stays at 60 for cg3 level0. This means meta indeed didn't receive ReportCompactionTasksRequest from the compactor.

To Reproduce
No response
Expected behavior
No response
Additional context

log.csv

cc @Li0k @Little-Wallace

We have temporarily fixed this issue by cancel a long task by https://github.com/risingwavelabs/risingwave/pull/10183.
but we have not found why the task hung out.

We have temporarily fixed this issue by cancel a long task by #10183. but we have not found why the task hung out.

Might fixed by https://github.com/risingwavelabs/risingwave/pull/10584 ?


refactor(share): Move shareWithProof to share pkg

Based on https://github.com/celestiaorg/celestia-node/pull/3012

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

:exclamation: No coverage uploaded for pull request base (protocol_v2@82150f2). Click here to learn what that means.

Additional details and impacted files
@@              Coverage Diff               @@
##             protocol_v2    #3013   +/-   ##
==============================================
  Coverage               ?   50.87%
==============================================
  Files                  ?      168
  Lines                  ?    11106
  Branches               ?        0
==============================================
  Hits                   ?     5650
  Misses                 ?     4942
  Partials               ?      514

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


Fix file mtime display when ufs mtime is not null

What changes are proposed in this pull request?
https://github.com/Alluxio/alluxio/issues/18357
Why are the changes needed?
mtime display error when ufs is hdfs

after this commit:

Does this PR introduce any user facing changes?
Please list the user-facing changes introduced by your change, including

change in user-facing APIs. no
addition or removal of property keys. no
webui. no

@elega Do you know who to look for this?

Thanks for the great work.. Can merge this once the CICD tests pass

alluxio-bot, merge this please

alluxio-bot, merge this please


Guide how to encode a simple sentence

Hello, I'm new and I trying to use this tool. I have downloaded the google word2vec pre-trained file (GoogleNews-vectors-negative300.bin.gz). Then, I use the example code
import tensorflow as tf
from gensim.models import KeyedVectors

from skip_thoughts import SkipThoughts

# Initialize the word2vec and skip-thoughts models only once:
word2vec_model = KeyedVectors.load('GoogleNews-vectors-negative300.bin.gz', mmap='r')
graph = tf.Graph()
with graph.as_default():
  # Refer to the constructor docstring for more information on the arguments.
  model = SkipThoughts(word2vec_model, **kwargs) # What params have to put ?

with tf.Session(graph=graph):
  # Restore the model only once.
  # Here, `save_dir` is the directory where the .ckpt files live. Typically
  # this would be "output/mymodel" where --model_name=mymodel in train.py.
  model.restore(save_dir)

  # Run the model like this as many times as desired.
  print(model.encode(sentence_strings))

Put in keyVectorload the file downloaded, but then when I run, got errors.
I need some basic tutorial for test the example. please.
I'm trying to enconde simple sentences and then I want to use that for train a classifier.
And I read that with skip-thoughts are obtained good results and I want to test.
My question are:
Where I put sentences?
I need train some model or pre-trained file is enough ?
Please, I need help.
Thanks !

@djmv could you please dump your error log?
I can see that the word2vec loading line will crash because of the mmap keyword argument. You  should use KeyedVectors.load_word2vec_format("GoogleNews-vectors-negative300.bin.gz", binary=True).
This will load the word2vec more slowly. You can load them way faster with the mmap option as above, but sacrifice disk space by converting the unzipped word2vec.bin into two word2vec and word2vec.syn0.npy files with this (you only need to run it once):
path = "GoogleNews-vectors-negative300.bin.gz"
w2v = KeyedVectors.load_word2vec_format(path, binary=True)
w2v.init_sims(replace=True)
w2v.save("word2vec")

@djmv could you please dump your error log?
I can see that the word2vec loading line will crash because of the mmap keyword argument. You should use KeyedVectors.load_word2vec_format("GoogleNews-vectors-negative300.bin.gz", binary=True).
This will load the word2vec more slowly. You can load them way faster with the mmap option as above, but sacrifice disk space by converting the unzipped word2vec.bin into two word2vec and word2vec.syn0.npy files with this (you only need to run it once):
path = "GoogleNews-vectors-negative300.bin.gz"
w2v = KeyedVectors.load_word2vec_format(path, binary=True)
w2v.init_sims(replace=True)
w2v.save("word2vec")

Thanks!, now I have two files word2vec and word2vec.vectors.npy then I re-run the script with the changes
import tensorflow as tf
from gensim.models import KeyedVectors

from skip_thoughts import SkipThoughts

# Initialize the word2vec and skip-thoughts models only once:
word2vec_model = KeyedVectors.load('word2vec', mmap='r')
graph = tf.Graph()
with graph.as_default():
  # Refer to the constructor docstring for more information on the arguments.
  model = SkipThoughts(word2vec_model) # <-- What params have to put ? or for simplicity left default ?

with tf.Session(graph=graph):
  # Restore the model only once.
  # Here, `save_dir` is the directory where the .ckpt files live. Typically
  # this would be "output/mymodel" where --model_name=mymodel in train.py.
  model.restore(save_dir)  # <-- What model I should restore ?

  # Run the model like this as many times as desired.
  print(model.encode(sentence_strings))

what is the next step ? Also, some additional info
Intel core i5-8250U
ubuntu 18.04
python 3.6.9
tensorboard (1.14.0)
tensorflow (1.14.0)
tensorflow-estimator (1.14.0)

Thanks! for reply.
The errors I got:
2020-05-06 08:20:21.095301: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2020-05-06 08:20:21.118819: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency:<PHONE_NUMBER> Hz
2020-05-06 08:20:21.119188: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x6c7f4f0 executing computations on platform Host. Devices:
2020-05-06 08:20:21.119235: I tensorflow/compiler/xla/service/service.cc:175]   StreamExecutor device (0): <undefined>, <undefined>
WARNING:tensorflow:From /home/Documents/practices/python/skip-thoughts/skip_thoughts.py:250: The name tf.get_default_session is deprecated. Please use tf.compat.v1.get_default_session instead.

2020-05-06 08:20:21.172960: W tensorflow/compiler/jit/mark_for_compilation_pass.cc:1412] (One-time warning): Not using XLA:CPU for cluster because envvar TF_XLA_FLAGS=--tf_xla_cpu_global_jit was not set.  If you want XLA:CPU, either set that envvar, or use experimental_jit_scope to enable XLA:CPU.  To confirm that XLA is active, pass --vmodule=xla_compilation_cache=1 (as a proper command-line flag, not via TF_XLA_FLAGS) or set the envvar XLA_FLAGS=--xla_hlo_profile.
Traceback (most recent call last):
  File "/home/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1356, in _do_call
    return fn(*args)
  File "/home/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1341, in _run_fn
    options, feed_dict, fetch_list, target_list, run_metadata)
  File "/home/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1429, in _call_tf_sessionrun
    run_metadata)
tensorflow.python.framework.errors_impl.FailedPreconditionError: Attempting to use uninitialized value bidirectional_rnn/bw/cudnn_compatible_gru_cell/candidate/input_projection/bias
	 [[{{node bidirectional_rnn/bw/cudnn_compatible_gru_cell/candidate/input_projection/bias/read}}]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "encoder_example.py", line 26, in <module>
    print(model.encode("sentence_strings"))
  File "/home/Documents/practices/python/skip-thoughts/skip_thoughts.py", line 254, in encode
    return sess.run(self._get_thought, feed_dict={self._inputs: sequences})
  File "/home/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 950, in run
    run_metadata_ptr)
  File "/home/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1173, in _run
    feed_dict_tensor, options, run_metadata)
  File "/home/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1350, in _do_run
    run_metadata)
  File "/home/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1370, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.FailedPreconditionError: Attempting to use uninitialized value bidirectional_rnn/bw/cudnn_compatible_gru_cell/candidate/input_projection/bias
	 [[node bidirectional_rnn/bw/cudnn_compatible_gru_cell/candidate/input_projection/bias/read (defined at /home/Documents/practices/python/skip-thoughts/skip_thoughts.py:141) ]]

Original stack trace for 'bidirectional_rnn/bw/cudnn_compatible_gru_cell/candidate/input_projection/bias/read':
  File "encoder_example.py", line 17, in <module>
    model = SkipThoughts(word2vec_model)
  File "/home/Documents/practices/python/skip-thoughts/skip_thoughts.py", line 117, in __init__
    self._get_thought = self._thought(self._inputs)
  File "/home/Documents/practices/python/skip-thoughts/skip_thoughts.py", line 141, in _thought
    dtype=tf.float32, time_major=self._time_major)[1]
  File "/home/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 324, in new_func
    return func(*args, **kwargs)
  File "/home/lib/python3.6/site-packages/tensorflow/python/ops/rnn.py", line 503, in bidirectional_dynamic_rnn
    scope=bw_scope)
  File "/home/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 324, in new_func
    return func(*args, **kwargs)
  File "/home/lib/python3.6/site-packages/tensorflow/python/ops/rnn.py", line 707, in dynamic_rnn
    dtype=dtype)
  File "/home/lib/python3.6/site-packages/tensorflow/python/ops/rnn.py", line 916, in _dynamic_rnn_loop
    swap_memory=swap_memory)
  File "/home/lib/python3.6/site-packages/tensorflow/python/ops/control_flow_ops.py", line 3501, in while_loop
    return_same_structure)
  File "/home/lib/python3.6/site-packages/tensorflow/python/ops/control_flow_ops.py", line 3012, in BuildLoop
    pred, body, original_loop_vars, loop_vars, shape_invariants)
  File "/home/lib/python3.6/site-packages/tensorflow/python/ops/control_flow_ops.py", line 2937, in _BuildLoop
    body_result = body(*packed_vars_for_body)
  File "/home/lib/python3.6/site-packages/tensorflow/python/ops/control_flow_ops.py", line 3456, in <lambda>
    body = lambda i, lv: (i + 1, orig_body(*lv))
  File "/home/lib/python3.6/site-packages/tensorflow/python/ops/rnn.py", line 882, in _time_step
    skip_conditionals=True)
  File "/home/lib/python3.6/site-packages/tensorflow/python/ops/rnn.py", line 283, in _rnn_step
    new_output, new_state = call_cell()
  File "/home/lib/python3.6/site-packages/tensorflow/python/ops/rnn.py", line 870, in <lambda>
    call_cell = lambda: cell(input_t, state)
  File "/home/lib/python3.6/site-packages/tensorflow/python/ops/rnn_cell_impl.py", line 385, in __call__
    self, inputs, state, scope=scope, *args, **kwargs)
  File "/home/lib/python3.6/site-packages/tensorflow/python/layers/base.py", line 537, in __call__
    outputs = super(Layer, self).__call__(inputs, *args, **kwargs)
  File "/home/lib/python3.6/site-packages/tensorflow/python/keras/engine/base_layer.py", line 591, in __call__
    self._maybe_build(inputs)
  File "/home/lib/python3.6/site-packages/tensorflow/python/keras/engine/base_layer.py", line 1881, in _maybe_build
    self.build(input_shapes)
  File "/home/lib/python3.6/site-packages/tensorflow/contrib/cudnn_rnn/python/ops/cudnn_rnn_ops.py", line 154, in build
    init_ops.zeros_initializer(dtype=self.dtype)))
  File "/home/lib/python3.6/site-packages/tensorflow/python/keras/engine/base_layer.py", line 1484, in add_variable
    return self.add_weight(*args, **kwargs)
  File "/home/lib/python3.6/site-packages/tensorflow/python/layers/base.py", line 450, in add_weight
    **kwargs)
  File "/home/lib/python3.6/site-packages/tensorflow/python/keras/engine/base_layer.py", line 384, in add_weight
    aggregation=aggregation)
  File "/home/lib/python3.6/site-packages/tensorflow/python/training/tracking/base.py", line 663, in _add_variable_with_custom_getter
    **kwargs_for_getter)
  File "/home/lib/python3.6/site-packages/tensorflow/python/ops/variable_scope.py", line 1496, in get_variable
    aggregation=aggregation)
  File "/home/lib/python3.6/site-packages/tensorflow/python/ops/variable_scope.py", line 1239, in get_variable
    aggregation=aggregation)
  File "/home/lib/python3.6/site-packages/tensorflow/python/ops/variable_scope.py", line 562, in get_variable
    aggregation=aggregation)
  File "/home/lib/python3.6/site-packages/tensorflow/python/ops/variable_scope.py", line 514, in _true_getter
    aggregation=aggregation)
  File "/home/lib/python3.6/site-packages/tensorflow/python/ops/variable_scope.py", line 929, in _get_single_variable
    aggregation=aggregation)
  File "/home/lib/python3.6/site-packages/tensorflow/python/ops/variables.py", line 259, in __call__
    return cls._variable_v1_call(*args, **kwargs)
  File "/home/lib/python3.6/site-packages/tensorflow/python/ops/variables.py", line 220, in _variable_v1_call
    shape=shape)
  File "/home/lib/python3.6/site-packages/tensorflow/python/ops/variables.py", line 198, in <lambda>
    previous_getter = lambda **kwargs: default_variable_creator(None, **kwargs)
  File "/home/lib/python3.6/site-packages/tensorflow/python/ops/variable_scope.py", line 2511, in default_variable_creator
    shape=shape)
  File "/home/lib/python3.6/site-packages/tensorflow/python/ops/variables.py", line 263, in __call__
    return super(VariableMetaclass, cls).__call__(*args, **kwargs)
  File "/home/lib/python3.6/site-packages/tensorflow/python/ops/variables.py", line 1568, in __init__
    shape=shape)
  File "/home/lib/python3.6/site-packages/tensorflow/python/ops/variables.py", line 1752, in _init_from_args
    self._snapshot = array_ops.identity(self._variable, name="read")
  File "/home/lib/python3.6/site-packages/tensorflow/python/util/dispatch.py", line 180, in wrapper
    return target(*args, **kwargs)
  File "/home/lib/python3.6/site-packages/tensorflow/python/ops/array_ops.py", line 86, in identity
    ret = gen_array_ops.identity(input, name=name)
  File "/home/lib/python3.6/site-packages/tensorflow/python/ops/gen_array_ops.py", line 4253, in identity
    "Identity", input=input, name=name)
  File "/home/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 788, in _apply_op_helper
    op_def=op_def)
  File "/home/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 507, in new_func
    return func(*args, **kwargs)
  File "/home/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3616, in create_op
    op_def=op_def)
  File "/home/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 2005, in __init__
    self._traceback = tf_stack.extract_stack()


get_team_players_stats returns error

get_team_players_stats returns error
understatr::get_team_players_stats(team = "Chelsea", 2019)
#> Error in type.convert(players_data, as.is = TRUE): the first argument must be of mode character

Just tried this and it worked. Maybe re-install and try again?


net: LookupHost show incorrect results on Mac (darwin)

What version of Go are you using (go version)?
go version go1.9.2 darwin/amd64
What did you do?
package main

import (
	"net"
	"fmt"
)

func main() {
	fmt.Println(net.LookupHost("10.256"))
	fmt.Println(net.LookupHost("10.256.1"))
	fmt.Println(net.LookupHost("10.10.256"))
	fmt.Println(net.LookupHost("10.10.256.1"))
	fmt.Println(net.LookupHost("<IP_ADDRESS>6"))
}

What did you expect to see?
This program works fine on both Linux & Windows and does show below output, but not on Mac
[] lookup 10.256: no such host
[] lookup 10.256.1: no such host
[] lookup 10.10.256: no such host
[] lookup 10.10.256.1: no such host
[] lookup <IP_ADDRESS>6: no such host

What did you see instead?
[<IP_ADDRESS>] <nil>
[] lookup 10.256.1: no such host
[<IP_ADDRESS>] <nil>
[] lookup 10.10.256.1: no such host
[] lookup <IP_ADDRESS>6: no such host

Its correct behaviour and it same for both linux and mac.
Plase see inet_aton(3) man page for more details:
 The address supplied in cp can have one of the following forms:
....

a.b.c

Parts a and b specify the first two bytes of the binary address. Part c is interpreted
as a 16-bit value that defines the rightmost two bytes of the binary address.
This notation is suitable for specifying (outmoded) Class B network addresses.

a.b

Part a specifies the first byte of the binary address. Part b is interpreted as a 24-bit
value that defines the rightmost three bytes of the binary address. This notation is
suitable for specifying (outmoded) Class C network addresses.

Thank you.

Thanks Gregory.
I still confused with difference in output between Linux & Mac. Looks like Mac is showing correct output and it should be like that, not Linux.

Linux probably does the same when using the cgo resolver.

When GODEBUG=netdns=cgo, general name resolution depends on external functionality provided by userspace stuff such as libc (the behavior is different between implementation, for example, libc on BSD variants vs. libc on macOS/iOS vs. glibc vs. Windows API vs. Plan 9), and when GODEBUG=netdns=go, DNS name resolution uses only package internal helpers.
I think it's fine to align IP literal address handling with the existing GODEUG=netdns=go behavior basically (because no one never uses classful IPv4 routing), though I'm still wondering whether we should deal with IP address synthesis as described in RFC 7050. Without application context, it's very hard to determine what's correct and what's not.


In Using a Publisher docs, call out that GitHub Actions permissions also need contents: read to checkout private repositories

What's the problem this feature will solve?
https://docs.pypi.org/trusted-publishers/using-a-publisher/ gives examples of how to change a GitHub Actions workflow to use Trusted Publishing. There's an IMPORTANT comment that we add permissions to the job for writing OIDC tokens. I thought these permissions were merged with the default permissions. That's not true though, the permissions must be complete because they will override any defaults.
Users who publish source distributions from a checkout of the GitHub repository, will also need the contents: read permission. Without it, the checkout fails with remote: Repository not found. For more complete error output, see the bottom code block of https://github.com/orgs/community/discussions/57621 .
Describe the solution you'd like
I'd like to see the documentation call out that contents: read is also required in the permissions to use actions/checkout. I think the practice is common enough that it's worth clarifying. I expect most packages would publish using either a source distribution from actions/checkout, or wheels that are either built in the same job from actions/checkout or downloaded from a previous job with actions/download-artifact. Downloading artifacts doesn't need any extra permissions, but the other two use cases will.

Thanks for filing an issue.

Users who publish source distributions from a checkout of the GitHub repository, will also need the content: read permission.

I don't think this is exactly true. For example, here's a workflow for sampleproject that only has a job-level id-token: write permission, but it's able to successfully run actions/checkout (example run) without additional permissions.
At https://docs.pypi.org/trusted-publishers/using-a-publisher/ , we recommend adding a job-level permission, not a workflow-level permission:
jobs:
  pypi-publish:
    name: upload release to PyPI
    runs-on: ubuntu-latest
    # Specifying a GitHub environment is optional, but strongly encouraged
    environment: pypi
    permissions:
      # IMPORTANT: this permission is mandatory for trusted publishing
      id-token: write
    steps:
      # retrieve your distributions here

      - name: Publish package distributions to PyPI
        uses: pypa/gh-action-pypi-publish@release/v1

The docs at https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token says:

When you add the permissions key within a specific job, all actions and run commands within that job that use the GITHUB_TOKEN gain the access rights you specify.

My read of this is that job-level permissions are additive to default or specified workflow permissions, which seems to be the case based on that example.
Here's another example that explicitly sets contents: read as a workflow-level permission and then later sets only id-token: write as a job-level permission, which also runs  actions/download-artifact without any problem (example run).
If you have an example workflow & run that is failing when only setting id-token: wrote as a job-level permission, can you share it here so we can take a closer look?
(PS, note that you have a typo, it's contents: read, not content: read)

Thanks for the quick response! You're right about the typo, that was a mistake in the issue but not my code. Sorry about that.
I have been using a job-level permission. I think the issue could be that I'm attempting to checkout a private repository, whereas the examples you've seen are public.
Here's the job contents if it helps. There's a custom action as the second step, but I saw failures in the first.
jobs:
  deploy:
    environment: release  # requires approvals for this job to run
    permissions:
      # contents: read # required for cloning the repository # TODO: add this back so actions/checkout doesn't fail.
      id-token: write # required for trusted publishing
    runs-on: ubuntu-latest
    timeout-minutes: 6
    steps:
      - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
      - uses: ./.github/actions/setup
        with:
          python-version: '3.12'
          build: 'true'
      - name: Deploy to PyPI
        uses: pypa/gh-action-pypi-publish@release/v1

I can confirm that after I added the contents: read permission, everything worked perfectly. I didn't need to make any other changes.
If this is only an issue for private repositories, I understand if that's less prevalent and doesn't meet the bar for a documentation update.

Indeed, seems like this is an undocumented behavior of private repositories: https://github.com/actions/checkout/issues/445#issuecomment-1957886916
And it's been identified here: https://github.com/pypa/gh-action-pypi-publish/issues/237
Based on that, my understanding is that you would need to specify contents: read regardless of whether you've set additional permissions on the job, is that the case?

Oh, good find! If I'd seen that https://github.com/pypa/gh-action-pypi-publish/issues/237 I wouldn't have opened this issue 😅
I didn't need the contents: read permission before, when I hadn't specified any permissions at the workflow or job level. Without permissions specified, I see this in the output of the "Set up job" section
GITHUB_TOKEN Permissions
  Contents: read
  Metadata: read
  Packages: read

So I think those are the defaults. Once I set the id-token: write permission, the output becomes
GITHUB_TOKEN Permissions
  Metadata: read

I was surprised to see the Metadata permission is still present.
I'll keep investigating on my end. It's clear I jumped to conclusions before opening this issue. Thank you for your patience and help refining the problem.

I'm also happy to close this and follow https://github.com/pypa/gh-action-pypi-publish/issues/237 if they're better owners.

Huh, quite odd behavior. I think whatever the outcome in https://github.com/pypa/gh-action-pypi-publish/issues/237 we'll want to do something similar in our docs, so OK to leave this open in addition.

This docs page matches what I've been seeing: https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
Notably, the default "restricted" permissions set give read access to contents, metadata and packages like I saw without any permissions fields defined in my workflow at the top level or job level.
Then we modified permissions, which is explained in https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token (emphasis mine)

You can use the permissions key in your workflow file to modify permissions for the GITHUB_TOKEN for an entire workflow or for individual jobs. This allows you to configure the minimum required permissions for a workflow or job. When the permissions key is used, all unspecified permissions are set to no access, with the exception of the metadata scope, which always gets read access.

So while I was surprised that read permission for metadata was still present, it seems to be a documented special case. No other permissions are available though unless they're explicitly set, which explains why I needed to add contents: read.

FWIW I've also opened a PyPUG issue based on that https://github.com/pypa/packaging.python.org/issues/1627. It's a good first-time issue.

I didn't catch this at first but the underlying issue is that you're attempting to build the dists within the publishing job.
It has been discouraged for as long as I can remember, because one mustn't elevate privileges of the transitive deps (supply chain, identity impersonation et al.)
So my official position is that sticking this privilege into the publishing job is incorrect and building should be moved out instead. Please let me know if there's any obvious places in the docs where it would be helpful to have this spelled out additionally.

https://github.com/marketplace/actions/pypi-publish#non-goals
https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/


Song title sanitizing before folder creation

If a song title has a special character in it which Windows does not support inside of directory names, the folder for the song fails to be created and therefore the song cannot be downloaded within Beatlist. At least that's what I'm assuming.
As a work around, I can install via ModAssistant by using the suggested workaround for changing the beatsaver:// handler temporarily mentioned here . After doing this, beatlist does recognize the song is installed. It just cant install it on its own.
Workaround may just be doing a quick search of the string for any characters not allowed in Windows directories if you're not already:
< (less than)
> (greater than)
: (colon - sometimes works, but is actually NTFS Alternate Data Streams)
" (double quote)
/ (forward slash)
\ (backslash)
| (vertical bar or pipe)
? (question mark)
* (asterisk)

If this is something you are already doing then I'm not sure why the folder is failing to create, as any other song I've tried so far has been working without issue.
The song in question that I had noticed the issue with is https://beatsaver.com/beatmap/ebb
Edit: Formatting

You also need to add : as i just opened up in #35

To be honest in this issue I prefered to whitelist a set of character instead of blacklisting. That was just easier.
https://github.com/Alaanor/beatlist/blob/4b19b18fd59479df6babce71641f2b9c296e2380/src/libraries/os/beatSaber/BeatSaber.ts#L76-L92
Closing this issue as it now fixed, implemented and released :)


Web Portal for Remote Assistance no longer works with latest version of Quick Assist <IP_ADDRESS>

The following page requires an 8 digit code:
https://remoteassistance.support.services.microsoft.com
Since Quick Assist <IP_ADDRESS> codes are now 6 digits and alphanumeric.

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

ID: bfcd14cd-f887-660f-8a4c-465b3495e90e
Version Independent ID: 121eead7-eb87-f033-024a-f688866c58a0
Content: Use Quick Assist to help users - Windows Client Management
Content Source: windows/client-management/quick-assist.md
Product: w10
Technology: windows
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

@aczechowski Please help us in resolving this issue. Thanks

Thanks @ckh-rcit for taking the time to provide feedback on Windows! I want to make sure it gets directly into the hands of the engineering team. Fortunately, we've got dedicated channels for that very purpose. :) For more info, see Send feedback to Microsoft with the Feedback Hub app. I think it’s important that you submit it directly, because that allows you to receive notifications and more closely monitor the progress. I'm closing this issue as there's nothing actionable for docs at this time.
For more immediate response, I suggest raising a case with Microsoft Support through your most appropriate channel.


synonym search for comicgen characters

To dos :

[x] move synonym.js to docs as json
[x] script.js should load synonym.json via ajax
[ ] dynamically generate urls using file.json
[ ] separate template to create image panel in index.html (html not in js)
[ ] one character of each type in a row. mix of characters

@kriti21 I've added a number of review comments to this. Could you please answer those? We can do this over a call if you prefer.

@sanand0 I have made changes to this merge request to remove unnecessary code changes .
Please review it again.

[ ] Match only the emotion, not the poses. Otherwise, searching for "angry" also matches the "angryfrustrated" pose with a "happy" emotion
[ ] Fix eslint errors

Closed via ef77e1b


Issue 901 - Fix inconsistent table meta

Closes https://github.com/gregnb/mui-datatables/issues/901

Coverage increased (+0.1%) to 76.524% when pulling 9122e526f0873810af064911d4d221546d49dd70 on bugfix/issue-901-fix-inconsistent-table-meta into 3032a7c22cdbbafbc53409d797a179215a40f6ad on master.


Add POSTGRES_PASSWORD to environment example file

Closes #557

Add POSTGRES_PASSWORD to environment example file

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.886%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
874

Relevant Lines:
875

💛  - Coveralls


how to pass object from one changeset to another

I wanna pass object from one changeset to another. This is my solution but I don't know if it's correct.
I will be grateful if you could share your proposition.
@ChangeLog(order = "001")
public class DatabaseChangelock {

    private Map<String, ObjectId> myIdMap = new HashMap<>();

    @ChangeSet(order = "001", id = "logs001", author = "Me")
    public void userTest(UserEntityRepo user) {
        UserEntity userEntity = new UserEntity;

        userEntity.setName("Mike");
        userEntity.setSurname("Smith");

        user.save(userEntity);
        myIdMap.put("test",userEntity.getId());

    }
    @ChangeSet(order = "002", id = "logs002", author = "Me")
    public void factoryTest(FactoryEntityRepo factory) {
        FactoryEntity factoryEntity = new FactoryEntity;

        factoryEntity.setName("BigCompany");
        factoryEntity.setBossId(myIdMap.get("test"));
        factory.save(factoryEntity);
    }
}

Hi @BeeTrojan,
I don't really recommend stateful chanteLogs. However, if you really need so, the way you are doing would wok.
However, as this seems to be part of the same operation, I'd do it in the same changeSet.

Hi @BeeTrojan , did you resolved your issue?

Hi @dieppa
I'm trying to find a solution, but it isn't easy. My idea turned out to be bad. :( I tried to do it in the same changeSet, but when
subsequent operations in changeset didn't work, there was an error with all earlier operations being saved in mongodb. I need something like transaction for changeset.

Hi @BeeTrojan , what do you mean with "transaction for changeset"?

When I made a mistake in one line in my changeset I would like the whole changeset to be complete or not at all. I tried to solve my problem with https://www.mongock.io/transactions#how-to-use-transactions, but i can't add this bean

If you are considering to use transactions, I assume your MongoDB database is 4.0 or higher.
In that case I suggest you to follow the official MongoDB and Spring documentation and then just follow the Mongock documentation to tell it to use  transactions.
Please notice that right now, Mongock only supports all-or-nothing transactions, this means that just one transaction is created to the entire migration.
We are working to provide different levels of transactions as well as other mechanisms to help in non-transactional environments.

Thanks for help. I solved my problem :)


podman play kube from deleted working directory errors out

/kind bug
Trying to run podman play kube from a non existing working directory results in the following error:
ERRO[0002] error starting some container dependencies
ERRO[0002] "unable to determine if \"\" is mounted: unable to get absolute path for : getwd: no such file or directory"
Error: error starting some containers: internal libpod error

Output of podman version:
Version:            1.8.0
RemoteAPI Version:  1
Go Version:         go1.13.6
OS/Arch:            linux/amd64

@Komic Would you expect it to throw an  error or create the working dir?  What does kubernetes do?

That I don't know. Why is the working dir even relevant here, is it used internally? If not, as a user I guess I just expected it to run.

Workingdir, is the location where the executable is launched from.  Apps tend to do getpwd() call and I guess if this fails, then the app could fail.

@Komic Can I close this issue now?

If you don't think a fix is needed sure!


UnicodeEncodeError 'ascii' codec can't encode character '\xa9' in position 5: ordinal not in range(128)

Problems dispatching email we received.
https://github.com/scanner/as_email_service/blob/main/app/as_email/models.py#L319
        del msg["X-PM-Message-Stream"]
        msg["X-PM-Message-Stream"] = "outbound"

        smtp_server, port = self.provider.smtp_server.split(":")
        smtp_client = smtplib.SMTP(smtp_server, int(port))
        try:
            smtp_client.starttls()
            smtp_client.login(token, token)
            smtp_client.send_message(
                msg, from_addr=email_from, to_addrs=rcpt_tos
            )

so.. we got a message with binary in it, but smtplib was not able to handle it.

https://apricot-systematic.sentry.io/issues/4927484180/?alert_rule_id=14754796&alert_timestamp=1706605226029&alert_type=email&environment=production&notification_uuid=47f813da-ee97-4de6-aa4c-ae657bd3b7dc&project=4506107525005312&referrer=alert_email

Fixed in GH-126

Need to add UTF-8 to our encodings list.


mcProcessesWorkflow require is causing an error

Some components need access to mcProcessesWorkflow component but because the component isn't above the element in the tree it can't be required. This causes the loading of the component to fail.

Added a service and removed the require for components outside of the inheritance hierarchy..


Update unittest-e2etest.md

Fix grammar and syntax errors.

Docs Build status updates of commit 0284e03:
:warning: Validation status: warnings

File
Status
Preview URL
Details

Odata-docs/webapi/unittest-e2etest.md
:warning:Warning
View
Details

Odata-docs/odatalib/v7/fluent-writer-api.md
:warning:Warning
View
Details

Odata-docs/webapi/unittest-e2etest.md

[Warning] Missing attribute: author. Add the current author's GitHub ID.

Odata-docs/odatalib/v7/fluent-writer-api.md

Line 22: [Warning] Link 'https://msdn.microsoft.com/en-us/library/system.action(v=vs.110).aspx' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.

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.


[WFCORE-3868] EE executor shutdown domain test

Automated test case for [ WFCORE-3868].
The test case schedules an instance of task ReSchedulingTask. Each instance of ReSchedulingTask sleeps for 10 seconds and then re-schedules another instance of its own class. After the CLI command /host=master/server-config=server-one:stop() is invoked the server should stop.

@yersan please review

@dcihak I have added the fixme label. @mention me when you have addressed the issues

@yersan  Thanks a lot for the review. I incorporated most of the changes. I just had a problem when using @Resource annotation without the lookup parameter as it fails during the deployment adding:
"WFLYCTL0412: Required services that are not installed:" => ["jboss.naming.context.java.module.test.test.DefaultManagedExecutorService"],             "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.test.test.env.\"org.jboss.as.test.integration.domain.TaskSchedulerServletContextListener\".executor is missing [jboss.naming.context.java.module.test.test.DefaultManagedExecutorService. I can send the full stacktrace.
Regarding the manual adding/removing test resources, will it be ok when other tests use the configuration file with subsystems specific for the given test case? I saw most of the tests using this approach manually adding the resources during the test preparation.
I would really appreciate if you could have a look at the test a bit deeper, I just think there could be a problem in the EEConcurrencyExecutorShutdownTestCase.stopServer() metod, but we didn't find any other way how to simulate the cli command used in the reproducer.

@dcihak I've reviewed the test again. See my previous notes.
About your last notes:

Cannot use convention over configuration in @Resource annotation. The reason is you have also to configure the default-bindings for ee subsystem /profile=default/subsystem=ee/service=default-bindings, if we do not configure them, then we will not be able to use convention over configuration. I did not know that. Anyway, I think it is better to use convention over configuration, but I let it up to you.

Regarding the manual adding/removing test resources, as I said I don't have a strong opinion. In general, I believe we could add them in the configuration file if they are standard configurations and do not affect to other tests.

My arguments in favor are: it will reduce the test code, we will not need to execute operations that could fail after testing that the test pass (I mean, that we are able to stop the server), those configurations are the standard configurations included in a standard wildfly dist and there is no penalty in time for any other test using same settings. But of course, if you see an advantage of configuring them in the test instead of in the configuration file, please, write your reasons so we can find the best possible solution.

EEConcurrencyExecutorShutdownTestCase.stopServer() looks fine to me but testing it in a deep, we will need to add the request-controller subsystem to be able to reproduce the test case.

@yersan Thanks for the review. I agree, the resources can be added into a domain configuration file. I had some problems adding the ee subsystem resources into the existing configuration file, so I created a new one (domain-standard-ee.xml) used for this test case. I also added request-controller subsystem into this configuration file.

@kabir Can we merge this, please?

@dcihak I am currently testing it together with a bunch of other stuff, if/when it passes I will merge


Error getting active endpoint: revision.serving.knative.dev "" not found when doing Serverless InferenceServing

Bug Description
I have created a Serverless Kserve InferenceService and tried performing inference, but instead of getting a prediction, I get:
Error getting active endpoint: revision.serving.knative.dev "" not found
* Connection #0 to host <IP_ADDRESS> left intact

To Reproduce

juju deploy kubeflow 1.8/stable --trust
Apply the following InferenceService in a Profile namespace or on default (the result is the same)

apiVersion: "serving.kserve.io/v1beta1"
kind: "InferenceService"
metadata:
  name: "sklearn-iris-ckf-1-8"
spec:
  predictor:
    model:
      modelFormat:
        name: sklearn
      storageUri: "gs://kfserving-examples/models/sklearn/1.0/model"

Wait for the isvc to be ready `

$ kubectl get isvc -ndaniela
NAME                   URL                                                       READY   PREV   LATEST   PREVROLLEDOUTREVISION   LATESTREADYREVISION                    AGE
sklearn-iris-ckf-1-8   http://sklearn-iris-ckf-1-8.daniela.<IP_ADDRESS>.nip.io   True           100                              sklearn-iris-ckf-1-8-predictor-00001   21m

Perform inference on the ClusterIP and on the isvc URL

The `iris-output.json comes from here

# Using the ClusterIP
ubuntu@charm-dev-jammy:~$ kubectl get svc -ndaniela | grep sklearn
sklearn-iris-ckf-1-8-predictor-00001           ClusterIP      <IP_ADDRESS>    <none>
ubuntu@charm-dev-jammy:~$ curl -v -H "Content-Type: application/json" <IP_ADDRESS>/v1/models/sklearn-iris:predict -d @./iris-input.json
*   Trying <IP_ADDRESS>:80...
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 80 (#0)
> POST /v1/models/sklearn-iris:predict HTTP/1.1
> Host: <IP_ADDRESS>
> User-Agent: curl/7.81.0
> Accept: */*
> Content-Type: application/json
> Content-Length: 76
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 404 Not Found
< Content-Type: text/plain; charset=utf-8
< X-Content-Type-Options: nosniff
< Date: Thu, 30 Nov 2023 13:04:59 GMT
< Content-Length: 73
<
Error getting active endpoint: revision.serving.knative.dev "" not found
* Connection #0 to host <IP_ADDRESS> left intact

# Using the isvc URL
ubuntu@charm-dev-jammy:~$ kubectl get isvc -ndaniela
NAME                   URL                                                       READY   PREV   LATEST   PREVROLLEDOUTREVISION   LATESTREADYREVISION                    AGE
sklearn-iris-ckf-1-8   http://sklearn-iris-ckf-1-8.daniela.<IP_ADDRESS>.nip.io   True           100                              sklearn-iris-ckf-1-8-predictor-00001   24m

ubuntu@charm-dev-jammy:~$ curl -v -H "Content-Type: application/json" http://sklearn-iris-ckf-1-8.daniela.<IP_ADDRESS>.nip.io/v1/models/sklearn-iris:predict -d @./iris-input.json
*   Trying <IP_ADDRESS>:80...
* Connected to sklearn-iris-ckf-1-8.daniela.<IP_ADDRESS>.nip.io (<IP_ADDRESS>) port 80 (#0)
> POST /v1/models/sklearn-iris:predict HTTP/1.1
> Host: sklearn-iris-ckf-1-8.daniela.<IP_ADDRESS>.nip.io
> User-Agent: curl/7.81.0
> Accept: */*
> Content-Type: application/json
> Content-Length: 76
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 302 Found
< location: http://<IP_ADDRESS>.nip.io/dex/auth?client_id=authservice-oidc&redirect_uri=%2Fauthservice%2Foidc%2Fcallback&response_type=code&scope=openid+profile+email+groups&state=MTcwMTM0OTU4NnxOd3dBTkZkVVdrWk9UVnBIV1VGRVExSk1Uak5ZV1RjeVRsazBOMVZHVjAxUU4wOUJUVm95UmtSTlJUTkdRVGRVV2taTlZVUklOVUU9fMEGXL81whT_EM5vSRMamOezFLz9hr5HMxsb-7Az2PlD
< set-cookie: oidc_state_csrf=MTcwMTM0OTU4NnxOd3dBTkZkVVdrWk9UVnBIV1VGRVExSk1Uak5ZV1RjeVRsazBOMVZHVjAxUU4wOUJUVm95UmtSTlJUTkdRVGRVV2taTlZVUklOVUU9fMEGXL81whT_EM5vSRMamOezFLz9hr5HMxsb-7Az2PlD; Path=/; Expires=Thu, 21 May 2054 13:59:55 GMT; Max-Age=1200000000000
< date: Thu, 30 Nov 2023 13:06:26 GMT
< x-envoy-upstream-service-time: 4
< server: istio-envoy
< content-length: 0
<
* Connection #0 to host sklearn-iris-ckf-1-8.daniela.<IP_ADDRESS>.nip.io left intact

Environment

Microk8s 1.25-strict/stable
juju 3.1
Charmed Kubeflow 1.8/stable

Relevant Log Output
Checking the knative-serving activator pod logs:

{"severity":"ERROR","timestamp":"2023-11-30T13:09:55.657583568Z","logger":"activator","caller":"handler/context_handler.go:74","message":"Error while getting revision","commit":"500756c","knative.dev/controller":"activator","knative.dev/pod":"activator-6dd4b8cc79-zb6lv","knative.dev/key":"/","error":"revision.serving.knative.dev \"\" not found","stacktrace":"knative.dev/serving/pkg/activator/handler.(*contextHandler).ServeHTTP\n\tknative.dev/serving/pkg/activator/handler/context_handler.go:74\nknative.dev/serving/pkg/activator/handler.(*ProbeHandler).ServeHTTP\n\tknative.dev/serving/pkg/activator/handler/probe_handler.go:46\nknative.dev/networking/pkg/http/probe.(*handler).ServeHTTP\n\tknative.dev/networking@v0.0.0-20230419144338-e5d04e805e50/pkg/http/probe/handler.go:39\nknative.dev/serving/pkg/activator/handler.(*HealthHandler).ServeHTTP\n\tknative.dev/serving/pkg/activator/handler/healthz_handler.go:44\ngolang.org/x/net/http2/h2c.h2cHandler.ServeHTTP\n\tgolang.org/x/net@v0.7.0/http2/h2c/h2c.go:125\nnet/http.serverHandler.ServeHTTP\n\tnet/http/server.go:2936\nnet/http.(*conn).serve\n\tnet/http/server.go:1995"}

Additional Context

The isvc's readiness is True
The ksvc's readiness is True
I can see the isvc Pod present in the namespace, but no ksvc one

The issue describes about hitting the SVC directly of the ISVC, but this should not be the way to reach the ISVC. We should always use the high level SVC, which is an ExternalName one, that handles the redirections via VirtualServices and the IGWs.
@DnPlas I propose that we close this issue, since it doesn't follow the standard way for reaching KServe ISVCs. Let's ensure we document the process users should hit KServe in https://github.com/canonical/kserve-operators/issues/205 and in a new one for explaining internal traffic.
Then if in the future we see the same message, but from hitting the ExternalName Service then we can re-open

@kimwnasptd totally agree, I was going to add a comment similar to what you posted. Closing because of this.


Update mp3tag.rb

brew cask install mp3tag succeeds.

brew cask install mp3tag succeeds.

Please run the commands from and fill the template that was there.


Id or annotation issue in gene selection post DGE

Hello @federicomarini
Here is the problem I get when using the gene selected from the left menu.
This is the table from below and you can see that the Id column seems fine but that the table also has rownames (I guess).

On the left menu, I get this:

My guess is that the selection is based on the rownames of the table instead of the id column.
I'm trying to look for the bug myself but I'm having a hard time navigating the code since I'm not that used to shiny app code.
I think I'm trying to find where ths variable is instantiated: https://github.com/federicomarini/ideal/blob/f9931316eab54e4fa8ee385da0bc31a4752a7d66/R/ideal.R#L2875
EDIT: for context, I use gene_symbol as my main ID. I guess you use Ensembl ID by default and that is where this is problematic.

Adding also that in the functional analysis tab and try to run a GO analysis, I get this warning:
Warning: Error in .testForValidKeys: 'keys' must be a character vector
I guess this stems from the same issue. Something linked to the ID used.

Update: if you don't load the annotation data, this does not occur. Hope this helps

Hi Patrick.
You are right in guessing it is something with the annotation format.
Indeed the format has to follow these rules:

see https://github.com/federicomarini/ideal/blob/master/inst/extdata/datainput.md
a screenshot for that can be found in pcaExplorer's documentation - link here: https://github.com/federicomarini/pcaExplorer/blob/master/inst/www/help_dataformats.png

In summary: just edit slightly the annotation format and it should work

So my next question is, would you enforce ensembl IDs as the main ID used in the count matrix? I'm ok with making the change in our pipeline.

I'd strongly recommend it because of the uniqueness feature that they kind of guarantee + stability across released versions

@federicomarini Tried with having ensembl IDs as the main ID in my counts and now the bug is gone.
Would be wise to "force" users to use ensembl ids by checking if the count columns actually match ensembl ids, fix the bug if the users choose otherwise or make some tools unavailable if using something other than ensembl ids?

I have been thinking of enforcing this, but it could cut out some users, or also situations where the dataset cannot have these type of identifiers.
Therefore I opted for a more liberal "high recommendation" 😄
Glad you fixed the issue, anyway!
F


Make m3u8 parsing methods check to make sure that the file is actually a m3u8 file

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm requesting a feature unrelated to a specific site
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2023.06.22 (update instructions) or later (specify commit)
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
In the InfoExtractor class (extractor/common.py) neither the methods that parse m3u8 nor the methods that extract m3u8 files have any sort of verification that what they're downloading actually is an m3u8 file. If something gets downloaded that isn't an m3u8 file, the parser will still do whatever it can to parse it, leading to very confusing errors.
In my case (see CBC Player PR, coming in a bit), this check is necessary, and the CBCPlayerIE has to check it, because sometimes the file can be a m3u8 file, sometimes an mp3 of similar. I'm thinking, though, that this isn't the only place this check might be necessary, and it might help other devs in debugging.
I'm OK with doing a PR for this, please let me know.
(Commit I'm working with: 8f05fbae2a79ce0713077ccc68b354e63216bf20)
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

It's not clear to me what you are proposing - can you elaborate? How are you proposing we confirm m3u8 in an extractor independant way? Or are you suggesting a helper for extractors? Or something else?
The linked commit don't appear to have anything to do with m3u8 parsing.

First off, sorry about the confusing title, had too many things in my mind at once, and I put in a title from a different issue.
As to your question: My idea is that _parse_m3u8_formats_and_subtitles and similar methods check to ensure that it's a valid m3u8 file. According to [https://developer.apple.com/documentation/http-live-streaming/video-on-demand-playlist-construction](this document) an m3u8 must begin with the EXTM3U tag. Checking that (with a seperate method in the InfoExtractor class) seems like the most senseful measure in my eyes, but I'm open to other ideas. If the tag isn't at the beginning of the file, I'm figuring the _parse_m3u8_formats_and_subtitles (or similar) method should return an error if it's not a valid m3u8 file and Fatal=true. Or does that run the risk of breaking too much stuff? (Or test and see?)
As to the commit: that was in regard to checklist item 3 - that's the commit from the master branch I was working with - only a couple of days old.

because sometimes the file can be a m3u8 file, sometimes an mp3 of similar.

Expanding from my PR comment here: https://github.com/yt-dlp/yt-dlp/pull/7484#discussion_r1248923831
if the extractor has downloaded the non-m3u8 file (mp3/mp4), then the damage has already been done IMO. It should be the extractor's burden to check that the URL it's requesting is actually an m3u8 (e.g. via HEADRequest) before downloading it

Agreed. But ig adding a warning by checking EXTM3U tag couldn't hurt and might actually help debugging.

Maybe a new Exception class that could be raised by _parse_m3u8_formats_and_subtitles() if it finds that the m3u8_doc isn't one would be better than a new method to test that?

The idea with the new method was because there are multiple methods that parse m3u8 files - AFAIK _parse_m3u8_formats_and_subtitles() and `_parse_m3u8_formats(), maybe more. By implementing this as a new method we could just call that method. Unless that's too little to create a new method?


image_pipeline: 1.15.2-1 in 'noetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository image_pipeline to 1.15.2-1:

upstream repository: https://github.com/ros-perception/image_pipeline.git
release repository: https://github.com/ros-gbp/image_pipeline-release.git
distro file: noetic/distribution.yaml
bloom version: 0.9.7
previous version for package: 1.15.1-1

camera_calibration

No changes

depth_image_proc

No changes

image_pipeline

No changes

image_proc

No changes

image_publisher

No changes

image_rotate

No changes

image_view

No changes

stereo_image_proc

No changes

Well, we can debug when it fails on OpenCV2 for another platform :wink:


DDPM sampling code

Dear Authors,
I noticed that you also omplemented DDPM sampling method in your paper. Could you upload those codes as well.
Sincerely.

Hey @SliencerX, we just pushed the DDPM code to a new ddpm branch.
Best,
The authors


ImportError: cannot import name solve_ivp

Description
What steps will reproduce the problem?

What is the expected output? What do you see instead?
Please provide any additional information below
Version and main components

Spyder Version: 3.0.0
Python Version: 2.7.12
Qt Versions: 5.6.0, PyQt5 5.6 on Darwin

Dependencies
pyflakes >=0.5.0 :  1.3.0 (OK)
pep8 >=0.6       :  1.7.0 (OK)
pygments >=2.0   :  2.1.3 (OK)
qtconsole >=4.2.0:  4.2.1 (OK)
nbconvert >=4.0  :  4.2.0 (OK)
pandas >=0.13.1  :  0.18.1 (OK)
numpy >=1.7      :  1.11.1 (OK)
sphinx >=0.6.6   :  1.4.6 (OK)
rope >=0.9.4     :  0.9.4 (OK)
jedi >=0.8.1     :  0.9.0 (OK)
psutil >=0.3     :  4.3.1 (OK)
matplotlib >=1.0 :  1.5.3 (OK)
sympy >=0.7.3    :  1.0 (OK)
pylint >=0.25    :  1.5.4 (OK)

Hi @jpmimoso, seems like you are using a quite out of date version of Spyder (3.0.0) as well as Python 2.7 which is unsupported too. Could it be possible for you to update to a more recent Spyder and Python versions? Let us know!

Closing due to lack of response


Added signing with entropy specified to JNI

This is required for Low R signing.

Can you elaborate on what this is useful for? Can this be used to implement this suggestion: https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2020-February/017655.html
It would be nice if there was a more descriptive javadoc

It is really for any protocol that requires adding specified entropy to an ECDSA sig, as the PR description mentions I've introduced it now specifically for implementing low R signatures in https://github.com/bitcoin-s/bitcoin-s/pull/1342 but it certainly has a wide range of uses. It is provided by the actual secp256k1 public-facing signing function and not in ours so I figured I'd add it to ours (in C you pass in NULL to get our existing call which is why I left it rather than replacing it)


Create ecole-multimedia.txt

@Mehdi-Zouaoui Please provide us with an URL of a page on the official website where an IT-related long-term (>1 year) course is offered by the school. Thank you.

Hello.
Here's the link you needed.
https://www.ecole-multimedia.com/fr/nos-formations/formation-post-bac/
Have a nice day :).
Envoyé depuis l'application Mail Orange
----------------Le 09/09/2019, à 09:50, Philip Torchinsky a écrit :@Mehdi-Zouaoui Please provide us with an URL of a page on the official website where an IT-related long-term (>1 year) course is offered by the school. Thank you.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.

@Mehdi-Zouaoui Thank you for the clarification. Pull request merged.


What exactly is Federated in Teams?

This article assumes someone understands or has set up Federation. What exactly does that mean in Teams today?
"must be correctly set up for hybrid and moved to Skype for Business Online." Ok, so, if some is in Teams only then they are not in Hybrid and they didn't move to SfB then how can they make this work?
Then with this sentence "If you can only exchange text in your chat with an external user, then you're in a standard external-access (federated) chat" Ok. it may be true but this article makes a lot of assumptions. How did you get there "external-access (federated)? It'd be helpful to have a link from this page to another page that explains federation in Teams.

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

ID: 1ac8f101-bdb5-2b55-d5f4-e070b70768d4
Version Independent ID: 964d836e-d00b-b585-8f02-e03c5ec8dab9
Content: Native chat experience for external (federated) users in Microsoft Teams - Microsoft Teams
Content Source: Teams/native-chat-for-external-users.md
Service: msteams
GitHub Login: @LolaJacobsen
Microsoft Alias: lolaj

@Jmartinez589 Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@Jmartinez589 thank you for reaching out and helping improve MS Docs. Please have a look at these articles and let me know if they help at all. https://docs.microsoft.com/microsoftteams/communicate-with-users-from-other-organizations and https://docs.microsoft.com/microsoftteams/manage-external-access  I see this article has also been updated in the interim.

@Jmartinez589 Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Treat warnings as errors

Normalized Warning Level for the test projects to Warning Level 4 as well.

Clicking too fast, I didn't realize the code needed to be changed until after I pushed the change.


Kubernetes clusters supplier through secrets watchers

Signed-off-by: Manuel Santos<EMAIL_ADDRESS>Hey, I just made a Pull Request!
Feature Request
:heavy_check_mark: Checklist

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

Pinging @mclarke47 here too!
I wonder if this has some potential interaction with having entities of kind: Resource and type: kubernetes-cluster or somesuch in the future. Just thinking out loud.

Pinging @mclarke47 here too!
I wonder if this has some potential interaction with having entities of kind: Resource and type: kubernetes-cluster or somesuch in the future. Just thinking out loud.

Sounds a good idea 👍  my only concern is how we can encrypt the service account token being added to the resource spec. I don't know if it exists already but  probably some sort of encryption and decryption mechanism is required on the catalog entities.

Just added a comment to the issue