Use ssl_mode instead of legacy require_ssl

The Google docs recommend to use ssl_mode instead of the legacy require_ssl attribute.
See:

https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#ipconfiguration
https://cloud.google.com/sql/docs/postgres/admin-api/rest/v1beta4/instances#sslmode

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for the PR but this improvement will need a change to the adapter itself here so that Trivy can find the correct attribute.

Hello! 👋
It seems this PR is blocking bumping hashicorp/google from 5.39.1 to 6.0.1 and requires this kind of workaround:
resource "google_sql_database_instance" "my_db" {
  ...
  settings {
    #tfsec:ignore:google-sql-encrypt-in-transit-data
    ip_configuration {
      ssl_mode = "TRUSTED_CLIENT_CERTIFICATE_REQUIRED"
      ...
    }
    ...
  }
}

Closed if favor of https://github.com/aquasecurity/trivy-checks/pull/258

Hi @fredrikaverpil ! Track https://github.com/aquasecurity/trivy/issues/7565


Allow pinch zoom on Android

Thank you for that great package. Is it possible to support pinch zoom into the iframe content?

Thanks, @razfazz . I'm not planning to implement this feature now, This package aims to display the HTML in the right size, so I want to minimize the operation on the iframe.
If you just want to expand contents, InteractiveViewer might be helpful for you.
I also welcome PRs of your ideas if you have the implementation.

@organic-nailer thank you for getting back to me so fast and your engagement.
i tried using InteractiveViewer already but it does scale the entire widget and not the content of the webview. i guess to support pinch zoom on android mobile there is additional js needed. potentially something like that https://stackoverflow.com/a/23368072/5525799. but i am not sure. anyway if you make that work you would have the only lib which supports pinch zoom on iframe on Flutter Web across all devices


Bluetooth: Mesh: split prov.c into two separate modules

Currently all provisioning procedure into common source
files call prov.c, that will not compile separately.
Add BT_MESH_NODE to control whether nodes are supported
and device provisioning is supported, this will be used in
provisioner role.
Signed-off-by: Lingao Meng<EMAIL_ADDRESS>

cc @tsvehagen

Marking as draft, as the diff keeps changing. Please take it out of draft state when it's ready for review.

Remove draft since conflict has been solved and ready for review.

okay
在 2020年10月23日星期五，Johan Hedberg<EMAIL_ADDRESS>写道：

@jhedberg commented on this pull request.
In subsys/bluetooth/mesh/Kconfig
https://github.com/zephyrproject-rtos/zephyr/pull/28457#discussion_r510929101
:

+config BT_MESH_PROVISIONEE

bool "Provisionee support"

prov_dev or prov_device sounds good to me. @LingaoM
https://github.com/LingaoM you might want to reflect that in the
c-filenames as well.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zephyrproject-rtos/zephyr/pull/28457#discussion_r510929101,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGJIC3RQFCEX4C3XYFL3T7LSMGIJJANCNFSM4RP45CFQ
.

Are there any other questions before the code is merged? @jhedberg

Are there any other questions before the code is merged? @jhedberg

@LingaoM GitHub will not let me merge this as long as the build is failing. Please fix that first.

Are there any other questions before the code is merged? @jhedberg

@LingaoM GitHub will not let me merge this as long as the build is failing. Please fix that first.

Done. All check passed.

@tsvehagen Do you have any comments?

@tsvehagen Do you have any comments?

LGTM :+1:


Revert back to Satoshi's True Vision path

https://github.com/Bitcoin-ABC/bitcoin-abc/pull/118

yeah no, clashic has a right to its own chain just fine :)


process.exitCode doesn't work or exist in node.d.ts file

TypeScript Version:  nightly (2.0.0-dev.201xxxxx)
Code ,,,
process.exitCode doesn't work or exist in node.d.ts file

Expected behavior: process.exitCode should work
Actual behavior:  process.exitCode doesn't work

Please send a pull request to https://github.com/DefinitelyTyped/DefinitelyTyped


Tukui site took down 3rd party addon :(

So, just realized that I can't update your addon through the Tukui app :| which is sad...
I would just like to know if you're gonna continue updating the  addon here (thus so I can change from Tukui app, now obselete, to WoWUp) or if you're gonna upload your addon to CurseForge :)
Thanks for your commitment in keeping this lovely, yet old and indispensable addon alive <3
EDIT: Tried now to get the addon through WoWUp, but it doesn't find it, sadly :|

The solution would be to create a GitHub action that would package new versions of the plugin into a GitHub release. That would be enough so WoWUp can download straight from here.

Hey guys as mentioned in #9 I will look to figure this out to avoid issues with updates


Ceylon Vert.x docs contain errors

The docs for using Vert.x in Ceylon docs have numerous omissions and errors.

The required imports are not listed (and the Ceylon Vert.x class names are often the same as the ceylon.http class names)
Imports need to be renamed currently (I'm not sure of the reason why) -- i.e. you can't use value vertx = vertx.vertx(); as suggested in the vertex.core docs, you need import io.vertx.ceylon.core { vertx_=vertx } then value vertx = vertx_.vertx();.
You can't use => and {} together in lambda expressions, e.g. (RoutingContext routingContext) => { } should actually be (RoutingContext routingContext) { }.
The code in the section "Handling requests and calling the next handler" is wrong -- only the handler defined for route1 is ever called, the timer that calls .next() never ends up calling the code for route2. I haven't figured out why yet.

Has anybody actually tried to work through these examples from beginning to end? It seems like there's something wrong with every example I have tried so far.

hi, the examples are generated by a generator from java examples. The other generators (for JavaScript, Groovy and Ruby) are better than the Ceylon one as of today and the Ceylon generator should be improved to fix the problem you are listing.

yes this could be done I think.
probably that the imported objects should be suffixed with _ for example as you are saying
good catch
the example is probably wrong indeed

btw the code translator can be found here if you are curious https://github.com/vert-x3/vertx-lang-ceylon/tree/master/vertx-lang-ceylon-doc/src/main/java/io/vertx/codetrans/lang/ceylon

Interesting approach to doc creation! Makes sense that these should be generated automatically from a set of canonical examples in Java.
I suggest working through the examples from top to bottom at some point... there are lots of gotchas!

I pushed improvements for the addressable points:

=> is now gone
type containing functions (like buffer or vertx) are now imported, when such import collides with a local declaration of the same name, the import is aliased with a trailing _ as you suggested.

Thanks for fixing these issues.
(I saw the trailing '_' notation in some Ceylon example code, so I assume it's idiomatic, but I'm new to Ceylon...)
Did try to reproduce the problem in my 4th point? I don't think it's a problem with the example code, I think it's a problem with the bindings themselves. (Sorry to list multiple bugs in one problem report...)

I haven't yet looked at it, as I focused on the cosmetic doc points. I will have a look now. I'll open an issue if needed.

and will ref it from this issue

I just tried the example and indeed I only see "timer1" (when corrected).
But if I add print() statements, then it works fine, see:
  shared actual void start() {

    value router_ = router.router(vertx);

    router_.route("/some/path/").handler((RoutingContext routingContext) {

      value response = routingContext.response();
      // enable chunked responses because we will be adding data as
      // we execute over other handlers. This is only required once and
      // only if several handlers do output.
      response.setChunked(true);

      print("route1");
      response.write("route1\n");

      // Call the next matching route after a 5 second delay
      routingContext.vertx().setTimer(500, (tid) {
        // response.write("timer1\n");
        print("timer1");
        routingContext.next();
      });
    });

    router_.route("/some/path/").handler((RoutingContext routingContext) {

      print("route2");
      value response = routingContext.response();
      response.write("route2\n");

      // Call the next matching route after a 5 second delay
      routingContext.vertx().setTimer(500, (tid) {
        // response.write("timer2\n");
        print("timer2");
        routingContext.next();
      });
    });

    router_.route("/some/path/").handler((RoutingContext routingContext) {

      print("route3");
      value response = routingContext.response();
      response.write("route3");

      // Now end the response
      routingContext.response().end();
    });

    vertx.createHttpServer().requestHandler(router_.accept).listen(8080);
  }

ok so the reason is that it does not work is that the generated code is wrong:
(tid) => {
  routingContext.next();
}

means actually : returns (=>) an Iterable ({ ... }) that is lazy evaluated.
so the correct code is to use:
(tid) => routingContext.next()

or
(tid) { routingContext.next(); }

so this is an issue related to the doc generator.

Makes sense.
BTW I suggest renaming the imports with underscore, not the local variables
-- this will make for cleaner code.

that's what I did

?  The example you pasted above has
value router_ = router.router(vertx);

instead of
value router = router_.router(vertx);

but maybe the code above does things differently than the code generator.

ah, this is real code I tried in Ceylon IDE, that's why it's not aliased like in the doc. When I'm done with improvements I'll repost here the result :-)

now the generated code is:
value route1 = router.route("/some/path/").handler((RoutingContext routingContext) {

  value response = routingContext.response();
  // enable chunked responses because we will be adding data as
  // we execute over other handlers. This is only required once and
  // only if several handlers do output.
  response.setChunked(true);

  response.write("route1\n");

  // Call the next matching route after a 5 second delay
  routingContext.vertx().setTimer(5000, (Integer tid) => routingContext.next());
});

value route2 = router.route("/some/path/").handler((RoutingContext routingContext) {

  value response = routingContext.response();
  response.write("route2\n");

  // Call the next matching route after a 5 second delay
  routingContext.vertx().setTimer(5000, (Integer tid) => routingContext.next());
});

value route3 = router.route("/some/path/").handler((RoutingContext routingContext) {

  value response = routingContext.response();
  response.write("route3");

  // Now end the response
  routingContext.response().end();
});

the website online doc has been updated with the refreshed docs : http://vertx.io/docs/vertx-web/ceylon/

Great, thanks for your work on this.
On Jan 4, 2016 7:13 AM, "Julien Viet"<EMAIL_ADDRESS>wrote:

the website online doc has been updated with the refreshed docs :
http://vertx.io/docs/vertx-web/ceylon/
—
Reply to this email directly or view it on GitHub
https://github.com/vert-x3/vertx-lang-ceylon/issues/2#issuecomment-168702587
.


failed to update all images: failed to walk image manifests: unexpected media type for digest

I installed spegel 0.0.9 from Helm. It started on most of the nodes, but on some it failed:

{"level":"error","ts":1691505526.569151,"caller":"build/main.go:68","msg":"","error":"failed to update all images: failed to walk image manifests: unexpected media type  for digest: sha256:17e484fedc7ecaa8c83404aa85f0b615743ce723c05d3735436426f12d9e9c77","stacktrace":"main.main\n\t/build/main.go:68\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:250"}

I don't know how to troubleshoot this further.

I realize that Spegel should probably not exit because of this, and instead just log and error. I will fix that so that Spegel keeps working.
Having said that I fixed a similar issue in #141 which was released as part of v0.0.9. Is this image public or private? If it is a public image could you share a link to it so I can have a look at the manifest.

crictl images --digests doesn't list any such digest, I am not sure how to find which image it's from.

It is probably not the digest of an image manifest but rather some other layer stored in /var/lib/containerd/io.containerd.content.v1.content/blobs/sha256/.
I have created #174 to minimize the effects of this error, as it is a reasonable solution for future issues. In that change I have also added some more information to the error message. It is getting a bit late here but I will try to get v0.0.11 released before I call it a night. Could you then upgrade and share the information that you see in the new logs?

Yes I can try a new version. Take your time, I am not yet using spegel, this is not blocking or breaking anything on my end.

There was a feature I wanted released anyways so you should be able to try it as soon as the release build completes.

0.0.11 seems to work

Here's the full log, there is still something in there about that digest, but it doesn't block successful operation:

{"level":"info","ts":1692412796.6450324,"logger":"p2p","caller":"routing/p2p.go:63","msg":"starting p2p router","id":"/ip4/<IP_ADDRESS>/tcp/5001/p2p/12D3KooWFHxqXB3HfvvfRUSCNr7M3gUgWq7LD4JaUepTTcNx9jRe"}
{"level":"info","ts":1692412796.6452665,"caller":"build/main.go:169","msg":"running registry","addr":":5000"}
I0819 02:39:56.645347       1 leaderelection.go:245] attempting to acquire leader lease spegel/spegel-leader-election...
{"level":"info","ts":1692412796.6465182,"caller":"state/state.go:42","msg":"running scheduled image state update"}
{"level":"error","ts":1692412796.8146071,"caller":"state/state.go:45","msg":"received errors when updating all images","error":"could not get digests for image quay.io/kubevirt/virtio-container-disk:latest@sha256:17e484fedc7ecaa8c83404aa85f0b615743ce723c05d3735436426f12d9e9c77: failed to walk image manifests: unexpected media type  for digest: sha256:17e484fedc7ecaa8c83404aa85f0b615743ce723c05d3735436426f12d9e9c77","stacktrace":"github.com/xenitab/spegel/internal/state.Track\n\t/build/internal/state/state.go:45\nmain.registryCommand.func4\n\t/build/main.go:150\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\t/go/pkg/mod/golang.org/x/sync@v0.3.0/errgroup/errgroup.go:75"}
{"level":"info","ts":1692413336.6467876,"caller":"state/state.go:42","msg":"running scheduled image state update"}
{"level":"error","ts":1692413336.8190713,"caller":"state/state.go:45","msg":"received errors when updating all images","error":"could not get digests for image quay.io/kubevirt/virtio-container-disk:latest@sha256:17e484fedc7ecaa8c83404aa85f0b615743ce723c05d3735436426f12d9e9c77: failed to walk image manifests: unexpected media type  for digest: sha256:17e484fedc7ecaa8c83404aa85f0b615743ce723c05d3735436426f12d9e9c77","stacktrace":"github.com/xenitab/spegel/internal/state.Track\n\t/build/internal/state/state.go:45\nmain.registryCommand.func4\n\t/build/main.go:150\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\t/go/pkg/mod/golang.org/x/sync@v0.3.0/errgroup/errgroup.go:75"}
{"level":"info","ts":1692413876.6466143,"caller":"state/state.go:42","msg":"running scheduled image state update"}
{"level":"error","ts":1692413876.813888,"caller":"state/state.go:45","msg":"received errors when updating all images","error":"could not get digests for image quay.io/kubevirt/virtio-container-disk:latest@sha256:17e484fedc7ecaa8c83404aa85f0b615743ce723c05d3735436426f12d9e9c77: failed to walk image manifests: unexpected media type  for digest: sha256:17e484fedc7ecaa8c83404aa85f0b615743ce723c05d3735436426f12d9e9c77","stacktrace":"github.com/xenitab/spegel/internal/state.Track\n\t/build/internal/state/state.go:45\nmain.registryCommand.func4\n\t/build/main.go:150\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\t/go/pkg/mod/golang.org/x/sync@v0.3.0/errgroup/errgroup.go:75"}
{"level":"error","ts":1692413968.7060966,"caller":"gin@v0.0.9/logger.go:62","msg":"","path":"/v2/remram44/test20230818/manifests/2258","status":404,"method":"HEAD","latency":5.000618155,"ip":"<IP_ADDRESS>","handler":"mirror","error":"could not resolve mirror for key: quay.io/remram44/test20230818:2258","stacktrace":"github.com/xenitab/pkg/gin.Logger.func1\n\t/go/pkg/mod/github.com/xenitab/pkg/gin@v0.0.9/logger.go:62\ngithub.com/gin-gonic/gin.(*Context).Next\n\t/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174\ngithub.com/gin-gonic/gin.(*Engine).handleHTTPRequest\n\t/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620\ngithub.com/gin-gonic/gin.(*Engine).ServeHTTP\n\t/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576\nnet/http.serverHandler.ServeHTTP\n\t/usr/local/go/src/net/http/server.go:2936\nnet/http.(*conn).serve\n\t/usr/local/go/src/net/http/server.go:1995"}
{"level":"info","ts":1692413969.179677,"caller":"state/state.go:49","msg":"received image event","image":"quay.io/remram44/test20230818:2258@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee"}
{"level":"info","ts":1692413969.270584,"caller":"state/state.go:49","msg":"received image event","image":"quay.io/remram44/test20230818:2258@sha256:023917ec6a886d0e8e15f28fb543515a5fcd8d938edb091e8147db4efed388ee"}
{"level":"info","ts":1692413969.295542,"caller":"state/state.go:49","msg":"received image event","image":"quay.io/remram44/test20230818"}
{"level":"info","ts":1692413997.1634712,"caller":"gin@v0.0.9/logger.go:53","msg":"","path":"/v2/remram44/test20230818/manifests/2258","status":200,"method":"HEAD","latency":0.002628289,"ip":"<IP_ADDRESS>","handler":"manifest"}

I'm facing a similar error. In my case, the manifest is an OCI index, which does not have a top-level mediaType property that the code expects: https://github.com/XenitAB/spegel/blob/34817359ef2a99d1e1698066e7a74d0d820904ab/internal/oci/containerd.go#L146

So I think I found the issue to this problem, the solution seems to be simple while the problem is a bit tricky. Thank you @avtakkar for the detail about media type it put me on the right track.
The issue originates from not reading the OCI spec properly. I assumed that mediaType was a required field in the index file, which is not.

This property SHOULD be used and remain compatible with earlier versions of this specification and with other similar external formats. When used, this field MUST contain the media type application/vnd.oci.image.index.v1+json. This field usage differs from the descriptor use of mediaType.

https://github.com/opencontainers/image-spec/blob/main/image-index.md
This differs from the media type in the descriptor fields.

This REQUIRED property contains the media type of the referenced content. Values MUST comply with RFC 6838, including the naming requirements in its section 4.2.

https://github.com/opencontainers/image-spec/blob/main/descriptor.md
I have not encountered index files that do not have the media type set, so I am a very interested to learn which tool neglects adding it.
The issue as stated is that my "naive" solution assumes that the media type is set in both index and manifest files. If you compare my solution to a similar one in Containerd you can see that the descriptor object is used instead to get the media type.
https://github.com/containerd/containerd/blob/738c15357380a6b7beb84be854fdd873a247ca56/images/image.go#L150
This means that Containerd is storing the media type of the "first" index of manifest for each image in its metadata db instead. As it is not possible to get that information another way.
I will create PR that fixes this issue, I just need to create an image that is missing the manifest type.

I have a pretty good idea of how to work around reading content type from the file, my issue right now is finding or producing an image that lacks a manifest type. @avtakkar could you share the image that you were seeing the issue with?

Sure, here's one.
curl -s -H "Accept: application/vnd.oci.image.index.v1+json" https://mcr.microsoft.com/v2/containernetworking/azure-cns/manifests/v<IP_ADDRESS> | jq
{
  "schemaVersion": 2,
  "manifests": [
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "digest": "sha256:6629ffde9bb46006b4920583e79787d38ebae15b09101b6e3d6c58acb2308c39",
      "size": 665,
      "platform": {
        "architecture": "amd64",
        "os": "linux"
      }
    },
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "digest": "sha256:84287d603bc35b68ca54fb52baad613a34afe3962a2eb4635bc7db91454590c1",
      "size": 664,
      "platform": {
        "architecture": "arm64",
        "os": "linux"
      }
    },
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "digest": "sha256:6114cc24bd5c45fd8d30140616b8a7b8f57fa32d0f66048ba89b492559f3dc70",
      "size": 819,
      "platform": {
        "architecture": "amd64",
        "os": "windows",
        "os.version": "10.0.20348.643"
      }
    },
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "digest": "sha256:7a3488b824c94f013bbf14dfedbd7414e3746b562b370af6c3dec98d37affb48",
      "size": 819,
      "platform": {
        "architecture": "amd64",
        "os": "windows",
        "os.version": "10.0.17763.4010"
      }
    }
  ]
}

Thanks this is great for creating a test. I can see that for a matter of fact none of the layers has a media type set. Will use this image to verify image pulling works even with this image.


Configure Investments Portfolio

[ ] users should be able to input investments into their portfolio
[ ] Portfolio should display updates/additions


Add a CONTRIBUTING.md

A CONTRIBUTING.md will give a clear expectation and starting point for new developers of gflownet. I've found that the tensorflow-addons CONTRIBUTING.md is a great template for a project like this.

Addressed by #126


How can we set default value for Formsy Select

@tonysam In the future, please refer questions like this to StackOverflow. The issue tracker is for bugs and features. To answer your question though, use the value prop on the Select component and set it equal to a value prop on one of its nested MenuItem elements.


Refactor (most) traitlets out of buildpacks

This is a 'pure' refactor in the traditional sense of the word. We will
change the internals of how buildpacks are done from Traitlets
to using simple methods in classes + (possibly) inheritance,
but will not touch our tests - this should give us a high degree
of confidence that it won't change behavior. This will thus
be a straight port of current behavior from traitlets to classes,
with no new added functionality or ancillary cleanup.
See #191 for more discussion.
The two traitlets left are name and components. The former is
used for logging and the latter for chaining detect methods together.
After this PR is merged, I'll make another one that replaces our
composing with simple linear inheritance. At that point, we can get rid
of both these traitlets. I wanted to make this PR be purely 'mechanical'
refactors, to make it easier to review.

All tests are green!


Failed to cancel Alarm -- certification case [Alarm-cancel]

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.

Provide the steps to reproduce the issue, if applicable:

set alarm for one minute
->alexa said that, "1 minute, starting now"
cancel alarm (before alarm arrives)
->alexa said that, "Your alarm is not set."

Tell us about your environment:

What version of the AVS Device SDK are you using?
  <x.y.z> = 1.24.0

Tell us what hardware you're using:

[ ] Desktop / Laptop
[ ] Raspberry Pi
[* ] Other - tell us more: RK3326/PX30

Tell us about your OS (Type & version):

[* ] Linux
[ ] MacOS
[ ] Raspbian Stretch
[ ] Raspbian Jessy
[ ] Other - tell us more:

screenshot from Review Voice History

Hi @xlb767923274,
The problem here is due to the nuance between Alarms and Timers. When you said set an alarm for one minute, Alexa created a Timer for you (Timers are duration based, Alarms are timestamp based).
I just tested this, and saying "Alexa, cancel the timer" successful stops it. If these are the exact wording on the certification test that is expected, please reach out to the certification team to further clarify this.

Hi @xlb767923274,
The problem here is due to the nuance between Alarms and Timers. When you said set an alarm for one minute, Alexa created a Timer for you (Timers are duration based, Alarms are timestamp based).
I just tested this, and saying "Alexa, cancel the timer" successful stops it. If these are the exact wording on the certification test that is expected, please reach out to the certification team to further clarify this.

thanks for reply， we will check the case with certification team.


Don't add arrow reactions if remove delay is 0, effectively disabling swipe behavior

Simple PR that just disables the auto-reactions if remove delay is 0. Maybe someone else will find this behavior useful, as I would have.
Tested and works

Thanks for contributing. Still, 0 delay is supposed not to disable swipes, but to disable removing of these. I fixed id in 6943a16


Fails with newer versions of flake8

Hi there, the code for the lib is no longer supported by flake8:
There was a critical error during execution of Flake8:
plugin code for `flake8-dunder-all[DALL]` does not match ^[A-Z]{1,3}[0-9]{0,3}$

To reproduce, execute:
  - repo: https://github.com/PyCQA/flake8
    rev: 6.0.0
    hooks:
      - id: flake8
        additional_dependencies:
          [
            "flake8-dunder-all",
          ]

Duplicate of #44
The fix is already committed to master, but hasn't been released to PyPi yet (see #48)

It's not clear.  There have been recent commits, but no interaction on issues/PRs in a long time.

Yea, as I mentioned in my issue I"m very sure the community would very much appreciate a new release.
Failing that, I'd say our other option is to fork.

Lets give it one more week and hope the maintainer steps up.
If not, I'm interested in a collab to spread workload and will fork in a week from now.
If anyone else is interested please let us know.

Sounds good.
I opened this in Ruff: https://github.com/charliermarsh/ruff/issues/3482

Sounds good.
I opened this in Ruff: charliermarsh/ruff#3482

Not forgotten about this ... I was looking at PyPi and if there is not a release in 12 months we can submit a takeover request for an abandoned project.
Alternatively if anyone else has a name suggestion for the fork, please let me know... I've been thinking long and hard and just cannot come up with anything that makes sense.

Sorry for the slow response, I've been busy with my PhD thesis recently.
@silasary, @Goldziher, @nkukard and others, can you confirm the master branch works fine with the latest Flake 8? If so I will make a release ASAP.
(I have no objection to integrating this into Ruff, though. It sounds like an excellent tool.)

Yes, master works perfectly

Sorry for the slow response, I've been busy with my PhD thesis recently.
@silasary, @Goldziher, @nkukard and others, can you confirm the master branch works fine with the latest Flake 8? If so I will make a release ASAP.
(I have no objection to integrating this into Ruff, though. It sounds like an excellent tool.)

Working for me too. Thanks for responding, its very much appreciated and a new release would be well received. :)

@domdfcoding cheers, can i also ask that you update from using list to using a tuple for dunders? We use your utility (not the flake8 rule) in Starlite, but we use tuples for __all__, so perhaps a configuration argument?

@domdfcoding cheers, can i also ask that you update from using list to using a tuple for dunders? We use your utility (not the flake8 rule) in Starlite, but we use tuples for __all__, so perhaps a configuration argument?

Configuration option would be best imho.
PEP8 seems to only show lists used and I'd guess that is more commonly accepted. I've never seen anyone using tuples. Nothing wrong with it though, everyone to their own ;)

@Goldziher I've opened #51 to add a --use-tuples option

I have released version 0.3.0 which should fix this. Please reopen if you continue to have issues.


Order book endpoint (/v1/orderbook/WSTX_SUSDT) returns a blank page

Description
I'm attempting to fetch order book data from the endpoint https://api.alexgo.io//v1/orderbook/WSTX_SUSDT. However, the response is a blank page with no data and no error messages.
Here's what I've tried:
Other endpoints: I've successfully used other endpoints within the API (/v1/pairs etc), which indicates the issue might be specific to the order book endpoint.
Could you please provide guidance on the following:
Is there a known issue with the /v1/orderbook/WSTX_SUSDT endpoint?
Are there specific requirements or limitations for this endpoint that I might be missing?

@LabiKyo is on this.


Use GitHub actions for tests

replace all tests by GitHub actions
fix some tests failing in real fs due to different environment

Travis.CI has been so slow lately (several hours to wait for a build) to be basically unusable.
GitHub actions are generally faster, and easier to configure for both Windows and Linux/MacOs - sorry Travis!
@jmcgeheeiv - before this can be merged, it would be good to switch off AppVeyor for this repo, otherwise the tests will fail because the config file has been removed. This is done in the AppVeyor project options, by selecting "Delete Project".

Very, very well done, @mrbean-bremen. I deleted the project in Appveyor.

Thank you!


[ConstraintSolver] Prioritize certain type variables while looking for bindings

Presence of some constraints (Subtype at least) requires a certain
contextual ranking of the type variables associated with them when
it comes to picking bindings, otherwise it might lead to no or
invalid solutions, because only a set of the bindings for the best
type variable is attempted.
Resolves: rdar://problem/22898292

@swift-ci please smoke test

@swift-ci please test source compatibility

@swift-ci please test source compatibility

@swift-ci please smoke test

@swift-ci please test source compatibility

@swift-ci please test source compatibility


fix(kibbeh): change css prop to fix text rendering error

changed transform prop of the modal so it can render text properly
fix #2779

Closed due to dogehouse EOL.


Feature request: Split formatting options "Settings" pane into a child pane

As we add more options and features, the "Settings" pane becomes more and more unwieldy. It would make sense
to split away "Formatting Options" and "Miscellaneous Settings" into their own child pane.
Relevant documentation can be found in the official docs.

I'll take it!


Sparse texture support

So, as an addition to #24 thread, I'll add that D3D11 also supports sparse (or tiled) textures, and all of the D3D12/Vulkan GPUs already support them (more info).

Despite that all GAPIs expose tiled textures, I would prefer to start with a separate extension. IMO, it would be easier to discuss and progress. There is a big chance that it will have gone into core by the time of the release. IMO, tiled resources are tricky:

API is badly designed, especially UpdateTileMappings
finding a suitable and comfortable to use interface for all GAPIs requires some patience
tiled resources usually imply "reserved resources" and "sampler feedback", what adds complexity

While I'm learning specs, I would be happy to see a draft proposal in any form :)

I thought a little longer and looked into the API for working with tiles, and what can I say:

It will take too much effort to unify the work with tile and regular resources (and it will not be possible not to unify them because of API problems, the resource must be accessed as a regular resource). I thought about solving the problem through an additional allocator, but I think a total change of approach to working with resources is needed here

The differences between D3D11 and D3D12 in this case are quite big. Since D3D11 does not directly access GPU memory, it is necessary to create a separate pool for textures, which works as a separate memory.

Thus, I concluded that this is probably not worth implementing because it requires overcomplicating the API for virtual mapping.

Giving up? :) As I said, I will look at the specs and discuss with colleagues. Finding a common denominator (even omitting or limiting D3D11 support) will be a nice achievement.

Giving up? :)
Just saying that it would be hard to implement this without breaking the whole resource API. So if you are okay with it - I can try to think how it can be implemented.

Finding a common denominator (even omitting or limiting D3D11 support) will be a nice achievement.
In D3D12 and Vulkan, it works as a separate resource type (i.e. "reserved" for D3D12), so it can be generalised. Also, it looks like in D3D11 API trying to match D3D12 Reserved Resource but with separate pools to manage memory allocations, so they can easily be combined.

The sad news is that I haven't found any official example for the D3D11 tiled resource, only for the reserved D3D12 resource (but I will refer to D3D12 as the most complete solution).

I find it funny though...
D3D11:
  void UpdateTileMappings(
    [in]           ID3D12Resource                        *pResource,
                   UINT                                  NumResourceRegions,
    [in, optional] const D3D12_TILED_RESOURCE_COORDINATE *pResourceRegionStartCoordinates,
    [in, optional] const D3D12_TILE_REGION_SIZE          *pResourceRegionSizes,
    [in, optional] ID3D12Heap                            *pHeap,
                   UINT                                  NumRanges,
    [in, optional] const D3D12_TILE_RANGE_FLAGS          *pRangeFlags,
    [in, optional] const UINT                            *pHeapRangeStartOffsets,
    [in, optional] const UINT                            *pRangeTileCounts,
                   D3D12_TILE_MAPPING_FLAGS              Flags
  );

D3D12
HRESULT UpdateTileMappings(
  [in]           ID3D11Resource                        *pTiledResource,
  [in]           UINT                                  NumTiledResourceRegions,
  [in, optional] const D3D11_TILED_RESOURCE_COORDINATE *pTiledResourceRegionStartCoordinates,
  [in, optional] const D3D11_TILE_REGION_SIZE          *pTiledResourceRegionSizes,
  [in, optional] ID3D11Buffer                          *pTilePool,
  [in]           UINT                                  NumRanges,
  [in, optional] const UINT                            *pRangeFlags,
  [in, optional] const UINT                            *pTilePoolStartOffsets,
  [in, optional] const UINT                            *pRangeTileCounts,
  [in]           UINT                                  Flags
);

No difference at all! I think that we maybe can implement heap emulation for D3D11 via resources, what do you think?

Heaps are already emulated in D3D11. It's not a real emulation, of course, heaps are dummy objects. So, yes, it's doable.

Can you update NRIFramework and NRISamples to the latest version? Or can I just use their current version?

I'm starting to update NRI and NRIFramework to the latest (including ReBAR support). ETA is 3-5 h.

Can you update NRIFramework and NRISamples to the latest version?

Updated.

While working on implementing sparse textures, I got to thinking about memory management for resources. I don't like the fact that you have to first bind a texture to allocate memory, because for sparse textures you have to first create a reserved resource and only then update the regions using the UpdateTilingMappings method. Maybe we should make a more advanced interface for memory management rather than just binding/unbinding logic? I'm very confused by this

In VK only this is possible:

create resource (a dummy object)
allocate memory
bind resource to memory

This fact dictates the API. No more comments for now because I'm still out of the topic...

So, my additional thoughts on sparse (info for PR #28).
D3D11 does not support allocating tile memory outside of the tile pool, whereas D3D12 and Vulkan allow it. For this reason, I decided to make a separate structure called TilePool which directly translates to a memory heap on D3D12 and a memory pointer on Vulkan. (I'm also thinking of making an additional translation layer for Metal to add support for sparse textures, because MoltenVK also doesn't support sparse resources since Metal has the same behaviour as D3D11).
I added a draft version of the tiling extension that tries to combine all the ways to handle sparse textures (Vulkan is more low-level than D3D12, so I decided to implicitly define all the necessary information for the bind function and simplify the function call). I can answer your questions on this topic here.
References:
General: https://github.com/gpuweb/gpuweb/issues/455
Vulkan: https://docs.vulkan.org/spec/latest/chapters/sparsemem.html
D3D11: https://learn.microsoft.com/en-us/windows/win32/api/d3d11_2/nf-d3d11_2-id3d11devicecontext2-updatetilemappings#remarks
D3D12: https://learn.microsoft.com/en-us/windows/win32/api/d3d12/nf-d3d12-id3d12commandqueue-updatetilemappings#remarks

Thank you, Anton. Please, give me more time (I would like to get feedback from colleagues, what will take additional time).

Thanks for solid baseline. Not looking at implementation details, here are my comments for the interface:
NRI_NAMESPACE_BEGIN

// DZ: better remove entity and use Memory
// It's a dummy entity for D3D11, so it can be used to store tile buffer natively
NRI_STRUCT(TilePool);

NRI_STRUCT(SubresourceTilingDesc)
{
    uint32_t widthInTiles; // DZ: uint32_t => Dim_t
    uint16_t heightInTiles; // DZ: uint16_t => Dim_t
    uint16_t depthInTiles; // // DZ: uint16_t => Dim_t
    uint32_t resourceOffsetInTiles;
};

NRI_STRUCT(TileBindDesc)
{
    // DZ: add "texture" here
    NRI_NAME(TextureRegionDesc) region;
    NRI_NAME(TilePool)* tilePool; // DZ: TilePool => Memory
    uint64_t offsetInTiles;
};

NRI_STRUCT(TextureTilingRequirementsDesc)
{
    NRI_NAME(Dim_t) tileWidth;
    NRI_NAME(Dim_t) tileHeight;
    NRI_NAME(Dim_t) tileDepth;
    NRI_NAME(Mip_t) mipStandardNum;
    NRI_NAME(Mip_t) mipPackedNum;
    uint32_t packedTileNum;
    uint32_t startPackedTileIndex;
};

NRI_STRUCT(TilingInterface)
{
    // DZ: Create/Destroy not needed if we replace "TilePool" with memory
    Result (NRI_CALL* CreateTilePool)(Device& device, uint32_t nodeMask, NRI_NAME(MemoryType) memoryType, uint64_t poolSize, NRI_NAME_REF(TilePool*) tilePool);
    void (NRI_CALL* DestroyTilePool)(Device& device, NRI_NAME_REF(TilePool) tilePool);

    // DZ: is "texture" missing?
    void (NRI_CALL* GetSubresourceTiling)(Device& device, uint32_t subresource, NRI_NAME_REF(SubresourceTilingDesc) subresourceTiling);
    void (NRI_CALL* GetTextureTilingRequirements)(Device & device, NRI_NAME_REF(TextureTilingRequirementsDesc) memoryRequirements);

    // DZ: better rephraze to achieve "BindTextureMemory"-like behavior: allow multiple textures in one call
    Result (NRI_CALL* BindTextureTiles)(Device& device, NRI_NAME_REF(CommandQueue) commandQueue, NRI_NAME_REF(Texture) texture, const NRI_NAME(TileBindDesc)* binds, uint32_t bindNum);

};

NRI_NAMESPACE_END

Thanks for docs! I'm still not an expert (VK doc is very long), but I believe this functionality will go into core. Also, currently I'm assuming that this API is implementable for all GAPIs (I trust you).

From the doc:

The operation is similar to ID3D11DeviceContext2::UpdateTileMappings with the one key difference that D3D12 allows a reserved resource to have tiles from multiple heaps.

I'm OK to ignore such weird functionality. Having a single sparse resource using tiles from several memory heaps looks like a bad engine design.


[Add] Coding Blocks IDE

Site URL
https://ide.codingblocks.com/
Description of the above provided site
In addition to the IDE with code completion, you can also create an account to save your code on the server, and also share it with others.
Category
Frontend
Sub Category
code editor
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)
[X] I am a GSSoC'23 contributor

You're assigned @S-ishita


return 0 if published count doesn't exists

Not sure if this makes sense to you.
If users aren't allowed to see items from a collection, I don't want them so see the count so I don't publish it.
I could handle this on the client, but imho this is the better place.

I think this makes sense. @dburles ?

lgtm

thanks @illmat


Streams fix

I removed write_offset getter, because I don't understand what will be the result of slice with offset + 1, could you explain, what it does?

So the write_offset getter was there to act as an abstraction on top of the getWriteOffset() method of uWS. I'm not sure what you mean by offset + 1 but If you asking why it returns -1 when completed, that is just to prevent discarded access errors.

I think I solved this issue by adding if condition that checks for completion, I haven't tested this code btw

Okay, I'm watching your repo, will update my package if you will find a bugs


Is the MixedFunctionSpace supported?

Hello, @IvanYashchuk.
I have tried this repository.
Is the MixedFunctioSpace supported? If this is supported, Please tell me how to define the return 'u' in forward function decorated by 'build_jax_solve_eval'.
Thanks.

Hi, @Naruki-Ichihara!
Yes, that should work, however, it may not seem straightforward.
You can pass an instance of a Function defined on MixedFunctionSpace and inside the function decorated by build_jax_solve_eval or build_jax_assemble_eval you can use fenics.split to use individual functions from mixed space to define the variational form.
Based on mixed Poisson example:
import jax
from jax.config import config
config.update("jax_enable_x64", True)
import jax.numpy as np

import fenics
import fdm # pip install fdm

from jaxfenics import solve_eval, vjp_solve_eval_impl
from jaxfenics import jvp_solve_eval
from jaxfenics import fenics_to_numpy, numpy_to_fenics

mesh = fenics.UnitSquareMesh(6, 5)
# Define finite elements spaces and build mixed space
BDM = fenics.FiniteElement("BDM", mesh.ufl_cell(), 1)
DG  = fenics.FiniteElement("DG", mesh.ufl_cell(), 0)
W = fenics.FunctionSpace(mesh, BDM * DG)

f = fenics.Expression(
    "10*exp(-(pow(x[0] - 0.5, 2) + pow(x[1] - 0.5, 2)) / 0.02)", degree=2
)

# Define function G such that G \cdot n = g
class BoundarySource(fenics.UserExpression):
    def __init__(self, mesh, **kwargs):
        self.mesh = mesh
        super().__init__(**kwargs)
    def eval_cell(self, values, x, ufc_cell):
        cell = fenics.Cell(self.mesh, ufc_cell.index)
        n = cell.normal(ufc_cell.local_facet)
        g = fenics.sin(5*x[0])
        values[0] = g*n[0]
        values[1] = g*n[1]
    def value_shape(self):
        return (2,)

G = BoundarySource(mesh, degree=2)

# Define essential boundary
def boundary(x):
    return x[1] < fenics.DOLFIN_EPS or x[1] > 1.0 - fenics.DOLFIN_EPS

def solve_fenics(w):
    sigma, u = fenics.split(w)
    (tau, v) = fenics.TestFunctions(W)

    # Define variational form
    dot, div, dx = fenics.dot, fenics.div, fenics.dx
    a = (dot(sigma, tau) + div(tau)*u + div(sigma)*v)*dx
    L = - f*v*dx
    F = a - L # create suitable form for F == 0 solving

    bcs = [fenics.DirichletBC(W.sub(0), G, boundary)]
    fenics.solve(F == 0, w, bcs=bcs)
    return w, F, bcs

templates = (fenics.Function(W), )

w_numpy = np.ones(W.dim())
numpy_output, _, _, _, _ = solve_eval(solve_fenics, templates, w_numpy)

# Now coupling with JAX, before that everything was only related to FEniCS
from jaxfenics import build_jax_solve_eval
jax_solve_eval = build_jax_solve_eval(templates)(solve_fenics)

jax_jac = jax.jacrev(jax_solve_eval)(w_numpy) # adjoint based jacobian (identity matrix for this example)
fdm_jac = fdm.jacobian(jax_solve_eval)(w_numpy) # finite-differencing based jacobian (takes a LOT of time)
assert np.allclose(fdm_jac, jax_jac)

Thanks, @IvanYashchuk .
This example looks like good. I will try it.
I will share my code if it works well.


Follow up with remaining Early Adopter candidates, towards setting target dates for onboarding

Describe the issue
We announced two Early Adopter teams at our sprint demo on November 17th. Several other candidates are still working towards preparing to join the EA Program - we promised to keep the conversation going with them.
Which Sprint Priority is this issue related to?
Additional context
Add any other context, attachments or screenshots
Definition of done

Connect with each remaining Early Adopter candidate and inquire as to their work towards completing our submission template
Update our spreadsheet with status of each and date for next meeting

Closed as complete.

Closed as complete.


CAMEL-21286 - Add a cache for JAXB ObjectFactory lookup

Description
Target

[x] I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

[x] If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

[x] I checked that each commit in the pull request has a meaningful subject line and body.
[x] I have run mvn clean install -DskipTests locally from root folder and I have committed all auto-generated changes.

@oscerd and how you'd configure that? There are other options on FallbackConverter, but they're implemented using Camel's global context options. Should I use a similar pattern?

I think there is no value in adding an arbitrary dimension here. It could work for your case but it could be useless for others. So we need to find a good way @davsclaus

This feature is only relevant if you turn on a special option so it will only affect a small set of users. And the cache will speedup in those cases. Setting a dimension is likely only needed in rare cases if you have a lot of different JAXB classes that you process by Camel, causing the cache to run out of space.


ctx not updated

Hi,
the context don't change after using kctx -.
I don't know if this is only a macos problem, I use fish version 2.7.1.
There is other init or configuration steps?
tx

probably is due to the stat problem

This works now, right?


Need information on how to pause a local process on launch until debugger attaches

The information I was looking for on this page but did not find is how I can launch an application and force it to wait for the debugger to attach before starting.  I know this is possible with Java by passing a specific set of options to the JVM.  Intellij describes this clearly in their docs:
https://www.jetbrains.com/help/idea/tutorial-remote-debug.html#host_rc
I didn't find this info in the VSCode docs for any language.

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

ID: 090c870a-9e10-7802-cc46-18b595864cb7
Version Independent ID: 71d3f80d-23e2-0542-c5b6-35e8b6b5060f
Content: Attach to running processes with the debugger - Visual Studio (Windows)
Content Source: docs/debugger/attach-to-running-processes-with-the-visual-studio-debugger.md
Product: visual-studio-windows
Technology: vs-ide-debug
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@mkistler -- Mike, thank you for your feedback.  Please consider these resources:

Visual Studio on Q&A
Visual Studio MSDN Forum
Stack Overflow
Reddit

@Mikejo5000 -- Mike, please look into this issue.


All inv src loops do name replacement, workflow docs

This should fix (for the last time) issue #302
Also, this is adding a substantial example for workflow creation, which is kind of the main reason that issue is relevant. This won't work until the other open PR is merged.

Coverage decreased (-0.06%) to 92.026% when pulling 005ed3c02c369da739c4d2c3507ccf82edf35425 on AlanCoding:is_name_wrk into 0d5eda2b77cdd3e2f476e0ad49b777e4c6e04219 on ansible:master.

Coverage decreased (-0.06%) to 92.026% when pulling 1de7e09465c69c00d278d02a44abad13eea9575e on AlanCoding:is_name_wrk into 0d5eda2b77cdd3e2f476e0ad49b777e4c6e04219 on ansible:master.

Coverage decreased (-0.06%) to 92.026% when pulling 1de7e09465c69c00d278d02a44abad13eea9575e on AlanCoding:is_name_wrk into 0d5eda2b77cdd3e2f476e0ad49b777e4c6e04219 on ansible:master.

Coverage decreased (-0.06%) to 92.026% when pulling 1de7e09465c69c00d278d02a44abad13eea9575e on AlanCoding:is_name_wrk into 0d5eda2b77cdd3e2f476e0ad49b777e4c6e04219 on ansible:master.


#1652 - Update Scheduler Cron Job

Update the Scheduler Cron Configuration
Updated scheduler Cron
As per the ticket, the scheduler cron values have been updated after converting the given PST time in the ticket to UTC time.

Scheduler
PST TIME
UTC TIME
CRON EXPRESSION

ier12-integration
-
-
15/30 * * * *

cra-process-integration
21:00
05:00
0 5 * * *

cra-response-integration
08:00
16:00
0 16 * * *

sin-validation-process-integration
06:00
14:00
0 14 * * *

sin-validation-response-integration
06:00
14:00
0 14 * * *

part-time-msfaa-process-integration
00:00
08:00
0 8 * * *

part-time-e-cert-integration
00:00
08:00
0 8 * * *

part-time-feedback-integration
04:00
12:00
0 12 * * *

full-time-msfaa-integration
01:00
09:00
0 9 * * *

full-time-e-cert-integration
22:00
06:00
0 6 * * *

full-time-feedback-integration
12:00
20:00
0 20 * * *

federal-restrictions-integration
05:00
13:00
0 13 * * *

full-time-disbursement-receipts-file-integration
10:30
18:30
30 18 * * *

ece-process-integration
22:00
06:00
0 6 * * *

ece-process-response-integration
01:45
09:45
45 09 * * *

part-time-msfaa-process-response-integration
04:00
12:00
0 12 * * *

full-time-msfaa-process-response-integration
09:15
17:15
15 17 * * *

student-loan-balances-part-time-integration
22:30
06:30
30 6 * * *

sfas-integration
-
-
15/30 * * * *

Existing cron

PR Highlights

[x] Updated a particular property of JSONB column using jsonb_set

[x] SIN validation response processing was using the queue name sin-validation-request-integration and respective scheduler name. Both queue names and scheduler names have been updated.

Migration Rollback

Great work and thanks for renaming the SIN scheduler. If possible (not part of this PR), we are missing the below schedulers in the wiki.

student-loan-balances-part-time-integration
cas-supplier-integration
application-changes-report-integration

@andrewsignori-aot Yes I was going to update the wiki with those schedulers and their respective information.


Update MD file on new branch 2017-37-16_09-12-04

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon.md
:white_check_mark:Succeeded

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.


[Documentation]: dogfooding request

Documentation Issue Description
Just a fun requirement: offer a UI backed by LlamaIndex to chat-search in the LlamaIndex documentation 🙂
Documenation Link
Could apply to all the documentation, from the architecture to the sample applications and tutorials

Just saw the documentation already has something similar. Delicious 👌🏻


Add support for TextToSpeech WebSockets

A WebSocket interface was added with the June 23, 2016 update:

The service now offers a WebSocket interface for synthesizing text to speech. The interface offers the same features as the synthesize method of the HTTP interface. It accepts plain text or text that is marked up with SSML. In addition, it also supports use of the SSML  element to identify the time in the audio at which it finishes synthesizing all text that precedes the mark. For more information, see Using the WebSocket interface.

See Using the WebSocket Interface.

This will be included in an upcoming major release (targeting October 2019)

Where are we with this @repjarms ?


release: cutting 1.15

DO NOT MERGE (until we are ready to kick off the release)
Risk Level: n/a
Testing: n/a
Docs Changes: yes
Release Notes: exactly

@envoyproxy/maintainers

cc @sunjayBhatia @wrowe for windows failures

cc @sunjayBhatia @wrowe for windows failures

//test/extensions/filters/http/router:auto_sni_integration_test is one of the tests we recently untagged as failing on Windows, but it and other integration tests seems to intermittently fail in CI the same way:
[2020-07-06 16:45:50.317][4396][critical][assert] [test/integration/integration.cc:489] assert failure: 0. Details: Timed out waiting for listeners.

We haven't observed the same patterns locally as far as I remember, so we may need to revisit this test setup, default 10s timeout, or otherwise

I think either fix would be fine as a short term workaround, but needing more than 5s to successfully listen probably indicates some other bug given the builds don't look extremely slow or otherwise machine contended.
You could try a "DO NOT SUBMIT" test run with -l trace on to see if that gets you any more info?   See https://github.com/envoyproxy/envoy/pull/11861 on LIzan turning up logs for coverage.   Feel free to tag me if you need help diagnosing the fascinating corner case failures of the integration tests :-P

I think either fix would be fine as a short term workaround, but needing more than 5s to successfully listen probably indicates some other bug given the builds don't look extremely slow or otherwise machine contended.
You could try a "DO NOT SUBMIT" test run with -l trace on to see if that gets you any more info? See #11861 on LIzan turning up logs for coverage. Feel free to tag me if you need help diagnosing the fascinating corner case failures of the integration tests :-P

Just submitted https://github.com/envoyproxy/envoy/pull/11904, we should hopefully get some more data soon


Upgrade Node.js version from v12 to v16

What
Closes https://github.com/Creepios/sftp-action/issues/18
Upgrade Node.js version from v12 to v16
References

GitHub Actions: All Actions will begin running on Node16 instead of Node12 | GitHub Changelog
GitHub Actions: All Actions will run on Node16 instead of Node12 | GitHub Changelog
Metadata syntax for GitHub Actions - GitHub Docs

Thanks you!


Core Files/Testing Update and introduce adapter-core

see https://forum.iobroker.net/post/237344 for more details

thanks a lot


Infiniband with tensorflow

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Linux Ubuntu 14.04
TensorFlow installed from (source or binary):
source
TensorFlow version (use command below):
commit 3bee923c9
Bazel version (if compiling from source):
0.4.5
CUDA/cuDNN version:
cuda 8.0/cudnn 5.1.5
GPU model and memory:
Titan Xp
Exact command to reproduce:

Describe the problem
I tried to use Infiniband with tensorflow using  server = tf.train.Server(cluster, job_name=FLAGS.job_name, task_index=FLAGS.task_index, protocol='grpc+verbs').
But the session is not hanged.
I used S1, and S2, the cluster is configured with the Infiniband ip address. Is there something that I missed?
ibdev2netdev
S1
mlx5_0 port 1 ==> ib0 (Down)
mlx5_1 port 1 ==> ib1 (Up)
S2
mlx5_0 port 1 ==> ib0 (Up)
mlx5_1 port 1 ==> ib1 (Up)
Source code / logs

This a known issue that when the first IB port is down, the verbs server wouldn't run. You could manually change it to the second port here.
Or you could wait a little bit more time to try my GDR patch when it is merged :)

Sorry for only addressing this now, did you try changing the environment variable RDMA_DEVICE?


CLI V2 Does not support "/" characters in build name for a BuildScan

Problem description:
When using the command with the deprecated syntax:
jf rt bs --fail=false ".../..." 1"
The scan runs properly, but when running the recommended syntax:
jf bs --fail=false ".../..." 1"
The scan returns a 404.
When removing the slash the scan runs properly as well
expected behavior?
Build Scan would properly run as it used to, slashes and other characters should still work in build names.
Steps to reproduce
On a Fresh Artifactory instance, simply create a build containing a '/' in the name and try running a 'jf bs' command.
I.E:

Create a python repository in Artifactory
Run the following:
jf pip install pandas --build-name="test/ting" --build-number=1
jf rt bp "test/ting" 1
jf bs "test/ting" 1

You should get the 404 from there.
Environment details
Tested on jf version 2.16.2
Artifactory 7.38.10
Xray 3.48.2
Possible workaround
Remove '/' from the build name. You can also use the "deprecated" jfrog rt bs (Not "jfrog bs").

This issue will be fixed on the Xray API side and tracked by Jira ticket XRAY-11984.


fix(*) cassandra contact points initialization

Summary
C* doesn't initialize contact points correctly when the contact points need to be resolved with DNS. DNS on the other hand uses Nginx cosockets that cannot be used with init phase. Nginx cosockets are not fully compatible with lua sockets. This PR is a quick fix for the issue.
This is based on next to prevent some merge conflicts. I can rebase on master if that is needed.

Wondering whether the cassandra code is the right place to fix this. Wouldn't the dns client be the right place to fix it?
Also wondering, doesn't this same issue exist for Postgres? Why do we connect to Cassandra in this phase, but not to Postgres?

@Tieske Based on my tests of rc1 postgres does not suffer the same issue

@tieske the question is that do we want to have this hack available anywhere or just here. I guess you could perhaps inject such hack at some point to your dns client if we need it work anywhere. Postgres does not run anything on init, not sure if it should test connection there(?).
Because we are about to release the rc2 soon, I wanted to isolate this hack so that it has a smaller surface base.

Also wondering, doesn't this same issue exist for Postgres? Why do we connect to Cassandra in this phase, but not to Postgres?

Both Postgres and Cassandra strategies will connect to their respective instances during init_by_lua. The former to retrieve the Postgres version, the latter to refresh the cluster topology and retrieve the peers' versions as well. However, both have mechanisms to fallback to LuaSocket for their queries in this phase. Both Postgres instances and Cassandra peers could be specified as hostname thanks to our globalpatches.lua or the LuaSocket fallback in the case of init_by_lua (this is, as far as I remember, not tested and involuntarily supported). However, since we updated the C* strategy to use our DNS client in init_by_lua, but the tests rely on /etc/hosts values (which do not yield), this slipped away.

(And the tests run in ngx.timer anyway because of rbusted (resty-cli) which supports yielding. Hence why the integration tests starting Kong itself in this PR).


Issues Running on Windows

Following the instructions I download with "npm install -g vtop". Node version is v6.11.3, npm version is 5.4.2. If I just type "vtop" from a command prompt with Admin permissions it will give me command not found. I have to cd into C:\Users\MyAccount\AppData\Roaming\npm\node_modules\vtop\bin and then type node vtop. I'm on Windows 10 Enterprise 64-bit.
Once this happens it shows but gets exception errors because it can't find ps. Wondering if there's a substitute for Windows. Also wondering how I can just type "vtop" from command prompt and go, I'm new to NodeJS and not sure if I need to configure anything on my system, I just downloaded NodeJS from the web site and installed. Really great program btw from the screenshots very much appreciated.

This is not for windows wtf..

@abratar looks like it is for windows if you look at #12

@abratar Which is windows only, thus windows support under cygwin.

@slow-down please slow down.... what is your prob with cygwin 0_o ? We are not asking if it supports windows... we just want to run it duh


PHP variables are shown incorrectly

In PHP files, only part of variable is highlighted. $ sign is always dimmed like comment.

That behavior is in all theme variations.

In PHP files, only part of variable is highlighted. $ sign is always dimmed like comment.

That behavior is in all theme variations.

did you find any solution?

yep, it will be fixed in 8.1 version :)

Done :)


Nested SubQueries do not work as expected

Description -
Nested subqueries leads to an error TypeError: Cannot read properties of undefined (reading '0')
I have created three tables like below:
alasql("CREATE TABLE cities (city string, population number)");
alasql("INSERT INTO cities VALUES ('Rome',2863223), ('Paris',2249975), ('Berlin',3517424),  ('Madrid',3041579),('Easingwold',4627)");

alasql("CREATE TABLE countries (name string, population number, city string)");
alasql("INSERT INTO countries VALUES ('Italy',<PHONE_NUMBER>9, 'Rome'), ('France', 165247191, 'Paris'), ('Germany', 346186257, 'Berlin')");

alasql("CREATE TABLE population (number int)");
alasql("INSERT INTO population VALUES<PHONE_NUMBER>9), (165247191)");

I use a SELECT query with nested subqueries, e.g -
SELECT * FROM cities WHERE city IN (SELECT DISTINCT city FROM countries WHERE population IN (SELECT DISTINCT number from population))

Expected output - Rome, Paris
Actual Output - TypeError: Cannot read properties of undefined (reading '0')

alasql("CREATE TABLE cities (city string, population number)");
alasql("INSERT INTO cities VALUES ('Rome',2863223), ('Paris',2249975), ('Berlin',3517424),  ('Madrid',3041579),('Easingwold',4627)");
alasql("CREATE TABLE countries (name string, population number, city string)");
^^^^^^ -> population column is declared as number which is not a valid type  replcaing it with int has yield the expected output
alasql("INSERT INTO countries VALUES ('Italy',<PHONE_NUMBER>9, 'Rome'), ('France', 165247191, 'Paris'), ('Germany', 346186257, 'Berlin')");
alasql("CREATE TABLE population (number int)");
alasql("INSERT INTO population VALUES<PHONE_NUMBER>9), (165247191)");
SELECT * FROM cities WHERE city IN (SELECT DISTINCT city FROM countries WHERE population IN (SELECT DISTINCT number from population))

@bc-saranya we can check this out.

@SuvitsonHarrese I tried by changing the data type to int, but still the same error occurs.
What did you try to resolve it?

yeah now i checked again I got the exact same error
dont know how it worked on that day

@paulrutter i think the problem is with the nesting in subqueries that means a query can have one subquery and no subquery within subquery of main query
alasql("CREATE TABLE t1 (points int)");
alasql("INSERT INTO  t1 (1),(2),(3),(4)");

alasql("CREATE TABLE t2 (height int)");

alasql("INSERT INTO t2 VALUES (2), (3), (4)");

alasql("CREATE TABLE t3 (breadth int)");
alasql("INSERT INTO t3 VALUES (3), (4)");
console.log(
  alasql("SELECT * FROM t2 WHERE height IN (SELECT breadth from t3)")
);

console.log(alasql("SELECT * FROM t2 WHERE height IN (SELECT points from t1)"));

console.log(
  alasql("SELECT * FROM t3 WHERE breadth IN (SELECT points from t1)")
);
console.log(
  alasql("SELECT * FROM t3 WHERE breadth IN (SELECT breadth from t3)")
);

console.log(
  alasql(
    "SELECT * FROM t3 WHERE breadth IN (SELECT * FROM t3 WHERE breadth IN (SELECT breadth from t3))"
  )
);

hi, I was wondering if this issue got resolved. If not, can I pick it up?

It's not resolved as far as i know, so you can work on it for sure. @choia4

Verify Subqueries Individually:
Subquery 1:
SELECT DISTINCT city FROM countries WHERE population IN (
SELECT DISTINCT number FROM population
);
Ensure this subquery returns expected city values.
Subquery 2:
SELECT DISTINCT number FROM population;
Ensure this subquery returns the correct numbers.
Execute the Main Query:
With verified subqueries, combine them into the main query:
alasql("CREATE TABLE cities (city string, population number)");
alasql("INSERT INTO cities VALUES ('Rome',2863223), ('Paris',2249975), ('Berlin',3517424),  ('Madrid',3041579),('Easingwold',4627)");
alasql("CREATE TABLE countries (name string, population number, city string)");
alasql("INSERT INTO countries VALUES ('Italy',<PHONE_NUMBER>9, 'Rome'), ('France', 165247191, 'Paris'), ('Germany', 346186257, 'Berlin')");
alasql("CREATE TABLE population (number int)");
alasql("INSERT INTO population VALUES<PHONE_NUMBER>9), (165247191)");
// Execute the query
let result = alasql(    SELECT * FROM cities WHERE city IN (         SELECT DISTINCT city FROM countries WHERE population IN (             SELECT DISTINCT number FROM population         )     ));
console.log(result);  // Expected to show 'Rome' and 'Paris'


Performance issue with synchronized methods in ClassInfo

I have done some performance tests with multiple threads that load huge amounts of data from the database. The performance with 10 threads was significant slower than using one thread.
So I looked into some details with Java Misson Control and some threads are blocked in the synchronized methods in ClassInfo. In my case the method initIdentityField was the problem.

I checked the  code and from my perspective this method is called very often and and each call ends up in a small synchronized block. As far as I understand the code, we can remove this very easy by doing this initialization inside the constructor or by using a double check together with the synchronized block.
I can create a PR for this when you direct me in the right direction. And maybe we should apply this change also to other synchronized blocks, what do you think?
Expected Behavior

Remove the synchronized on method level for a better performance.
Current Behavior

Each call ends up in a small synchronized block that can have an impact on performance when using multiple threads.
Context

Performance loss when using multiple threads.
Your Environment

Java version:
Neo4j version (The version of the database): 4.3.7
OGM Version (The version of this software): 3.2.27
OGM Transport used (One of Bolt, HTTP or embedded): Bolt
Neo4j Java Driver version (in case of Bolt transport): 4.4.1
Link to your project: ./.

Yep, that's a mess, but I completely agree with you it should be a rather easy fix.
I would not add it to the constructor, but rather go with a double-check-pattern.
I can do this for this issue and we look together to apply it in other places where necessary when your testing shows it improves things?

Sounds good to me! :-)
I did a quick check and moved to code to the constructor but didn't find the time to get some numbers with this version.

I have added a PR that avoids the lock on each request to the field and keeps the behavior intact (not initializing it during construction).

I will give it a try today or tomorrow. And thank you for the very fast solution and feedback :-)

@michael-simons great job :-) The section "Monitors/Locks" was completely removed from Missing Control diagnostics and the overall throughput of our application is significant better :-)

Great! Than I'll polish this a bit and see that I can remove a couple of the remaining broader locks as well, merge it to 3.2 and push out a release.

3.2.28 should land on central soon:
https://github.com/neo4j/neo4j-ogm/releases/tag/v3.2.28


fix wasm compile error

Codecov Report

:exclamation: No coverage uploaded for pull request base (v1.5@1053f3c). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             v1.5     #675   +/-   ##
=======================================
  Coverage        ?   79.80%
=======================================
  Files           ?       95
  Lines           ?    11007
  Branches        ?        0
=======================================
  Hits            ?     8784
  Misses          ?     1741
  Partials        ?      482

Continue to review full report at Codecov.

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


Getting error "AI provider openai not specified in configuration. Please run k8sgpt auth" while using k8sgpt cli with Azureopenai as backend

Checklist

[X] I've searched for similar issues and couldn't find anything matching
[X] I've included steps to reproduce the behavior

Affected Components

[X] K8sGPT (CLI)
[ ] K8sGPT Operator

K8sGPT Version
v0.3.29
Kubernetes Version
v1.29.1
Host OS and its Version
Windows
Steps to reproduce

k8sgpt auth default -p azureopenai
k8sgpt auth add --backend azureopenai --baseurl https://xxxxxx.openai.azure.com --engine gpt3-5 --model gpt-35-turbo

k8sgpt analyze --explain --filter=Pod

Expected behaviour
K8sgpt should give analyze results
Actual behaviour
Error: AI provider openai not specified in configuration. Please run k8sgpt auth
Additional Information
I checked this issue : https://github.com/k8sgpt-ai/k8sgpt-operator/issues/98 but didnt help

Tested it on version 0.3.24 and it is working but not on 0.3.29

would you move this issue to k8sgpt repository?

Hi JuHyung-son, I dont have rights to transfer the issue to other repo. I think only the Org/repo owner can do it.


Work Perfect...

Hello, thank you for expanding the adapter. This works great. I updated version 1.0.6 and it works fine. I will observe this over the next few days and give you feedback again. Thanks for the quick help ... have a nice evening ... Bandit500

One more question: Usually the oven have some kind of type number like 519.08 or 534.08:

HSP 6 PALLAZZA-III 519.08 (V5.12)
HSP 6 PALLAZZA-III 534.08 (V6.02)

Does yours have one too?

Hello, I have the pellet stove PELLETTO II 434.08-C. The adapter works
great with my oven. Thank you again ...
Am Mo., 15. Nov. 2021 um 20:20 Uhr schrieb Marvin Grieger <
@.***>:

One more question: Usually the oven have some kind of type number like
519.08 or 534.08:

HSP 6 PALLAZZA-III 519.08 (V5.12)
HSP 6 PALLAZZA-III 534.08 (V6.02)

Does yours have one too?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/marvingrieger/ioBroker.haassohn/issues/43#issuecomment-969238670,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWQFQLP5WMQ5IDUA7FM5KGLUMFMRFANCNFSM5ICOG2JQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Transaction and header version is signed int

Seems like it's missing some description/motiviation. Is this because that's how it is in Bitcoin Core or are there any other reasons for it?

See protocol documentation at:

https://en.bitcoin.it/wiki/Protocol_documentation#tx
https://en.bitcoin.it/wiki/Protocol_documentation#Block_Headers

Out of curiosity - are there any practical reasons for it, or is that just legacy arbitrary choices?

Currently it's not being used for anything consensus related (afaik). If the version was ><PHONE_NUMBER> or < 0 and >= -2147483648 there would be incompatibility.

I don't think there would be any observable change in behavior under any circumstances.
But concept ACK, we ought to formally match the data structures in Core.

@sgeisler I've added test cases for en/decoding. I checked the decoding result matches Bitcoin Core using the RPC method decoderawtransaction and a custom method for decoding blocks.


Cleanup migrations

See #141 and #140.
CC @czlee @marcofvera @gonvaled
I cannot seem to reproduce the issue you are facing using the example project.
here is what I do:
cd /tmp
git clone git@github.com:EliotBerriot/django-dynamic-preferences.git
cd django-dynamic-preferences
git checkout cleanup-migrations
# create a virtualen env (I use vex, but you can use something else)
vex -m --python=python3.6 django-dynamic-preferences
# install the package
pip install -e .
pip install -r requirements.txt
cd example
python manage.py migrate

On the migrate part, this is the output I get:
Operations to perform:
  Apply all migrations: admin, auth, contenttypes, dynamic_preferences, dynamic_preferences_users, example, sessions, sites
Running migrations:
  Applying contenttypes.0001_initial... OK
  Applying auth.0001_initial... OK
  Applying admin.0001_initial... OK
  Applying admin.0002_logentry_remove_auto_add... OK
  Applying contenttypes.0002_remove_content_type_name... OK
  Applying auth.0002_alter_permission_name_max_length... OK
  Applying auth.0003_alter_user_email_max_length... OK
  Applying auth.0004_alter_user_username_opts... OK
  Applying auth.0005_alter_user_last_login_null... OK
  Applying auth.0006_require_contenttypes_0002... OK
  Applying auth.0007_alter_validators_add_error_messages... OK
  Applying auth.0008_alter_user_username_max_length... OK
  Applying auth.0009_alter_user_last_name_max_length... OK
  Applying dynamic_preferences.0001_initial... OK
  Applying dynamic_preferences.0002_auto_20150712_0332... OK
  Applying dynamic_preferences.0003_auto_20151223_1407... OK
  Applying dynamic_preferences.0004_move_user_model... OK
  Applying dynamic_preferences_users.0001_initial... OK
  Applying example.0001_initial... OK
  Applying sessions.0001_initial... OK
  Applying sites.0001_initial... OK
  Applying sites.0002_alter_domain_unique... OK

If I remove db.sqlite3 and try this again, without dynamic_preferences.users.apps.UserPreferencesConfig in example/settings.py, I get the same output (without the dynamic_preferences_users part, of course).
python manage.py flush works as well.
I'm not saying there is no issue in the package. There is probably one, and having  the table lying around in the DB even if the user app is not installed is problematic.
However, I'm never encountering the same issues as you described in your comments (Here, for instance). Thus, I'm a bit blocked :/
By any chance, would someone facing the issue be able to share the complete and minimum set of instructions to reproduce this reliably?

Thanks for having a look at this! I'll have a look within the next week (hopefully).

I was too curious and ended up looking at it now. Turns out it's database backend-dependent. With SQLite it works fine; with PostgreSQL it fails (at least for me).
By the way, for me it works fine when 'dynamic_preferences.users.apps.UserPreferencesConfig' is in INSTALLED_APPS (as it is in the example project), so all commentary below assumes that line is removed/commented out.
Reproduction instructions
Perhaps annoyingly, since I've only got it to fail on PostgreSQL, reproducing it requires you to have PostgreSQL, and all the corresponding setup.
I put the offending configuration in a commit on my fork, on a branch called migrations-psql. You'll need to change <username> and <password> to relevant values for your PostgreSQL setup. (Sorry, I couldn't think of an easier way to do this.)
git clone git@github.com:czlee/django-dynamic-preferences.git
cd django-dynamic-preferences
git checkout migrations-psql
# Create and activate virtual environment (these are the commands I use, in case it matters)
# vex -m --python=python3.6 django-dynamic-preferences
python -m venv venv
source venv/bin/activate
# I think you have to use the requirements.txt in the example directory, right?
cd example
pip install -r requirements.txt
# Create database (if you haven't already); I called it 'preferences' in settings.py
createdb preferences
python manage.py migrate
python manage.py flush

What does flush do, and why does it work on SQLite but not PostgreSQL?
I did some more digging, and it turns out the offending SQL command (TRUNCATE) actually doesn't exist in SQLite.
With an SQLite backend, on the example project (with 'dynamic_preferences.users.apps.UserPreferencesConfig' removed from INSTALLED_APPS), python manage.py sqlflush (which prints the commands that would be run by python manage.py flush) shows this:
BEGIN;
DELETE FROM "auth_user";
DELETE FROM "django_content_type";
DELETE FROM "auth_permission";
DELETE FROM "auth_group";
DELETE FROM "django_site";
DELETE FROM "dynamic_preferences_globalpreferencemodel";
DELETE FROM "auth_user_groups";
DELETE FROM "example_mymodel";
DELETE FROM "auth_group_permissions";
DELETE FROM "django_admin_log";
DELETE FROM "django_session";
DELETE FROM "auth_user_user_permissions";
COMMIT;

When I inspected the SQLite database, the dynamic_preferences_users_userpreferencemodel table was still there (along with all the others). Presumably if you had data in it, it just stays untouched (and inconsequential), except that it might now have broken references to auth_user. Or maybe it cascade-deletes everything (to enforce foreign key consraints)—an operation I'm guessing is prohibited in the TRUNCATE command?
With a PostgreSQL backend, python manage.py sqlflush shows this:
BEGIN;
TRUNCATE "auth_user_groups", "example_mymodel", "django_site", "auth_group_permissions", "django_session", "dynamic_preferences_globalpreferencemodel", "auth_permission", "django_admin_log", "django_content_type", "auth_user", "auth_group", "auth_user_user_permissions";
SELECT setval(pg_get_serial_sequence('"django_admin_log"','id'), 1, false);
SELECT setval(pg_get_serial_sequence('"auth_permission"','id'), 1, false);
SELECT setval(pg_get_serial_sequence('"auth_group"','id'), 1, false);
SELECT setval(pg_get_serial_sequence('"auth_user"','id'), 1, false);
SELECT setval(pg_get_serial_sequence('"django_content_type"','id'), 1, false);
SELECT setval(pg_get_serial_sequence('"django_site"','id'), 1, false);
SELECT setval(pg_get_serial_sequence('"dynamic_preferences_globalpreferencemodel"','id'), 1, false);
SELECT setval(pg_get_serial_sequence('"example_mymodel"','id'), 1, false);
COMMIT;

As discussed in #140, that TRUNCATE command is where it fails.
(I haven't been able to reproduce #141, but I also haven't tried very hard.)
I realize this isn't a complete answer—I'm learning all this as I go—so I'm definitely open to further discussion, and appreciate your efforts with looking into this! Let me know if anything was unclear.

Well, this is a fantastic insight. I only tried on SQLite, and knowing it fails on postgres will help reproduce the issue, thanks!

@czlee I think I found a proper solution: I removed every remains of the user models from dynamic_preferences migrations, and made the initial migration for the dynamic_preferences_user app a real one.
Everything should work fine and consistently now. I tried it locally with a postgres database, and applying and reverting migrations work as expected.
Can you try this locally and tell me how it goes for you/review the PR if you have the time. I know it includes some unrelated CI/Django2 stuff, but it was blocking me while working on this.
If it works, I'll merge and publish a release and, hopefully, this will be behind us!

Thanks! This works when migrating a blank database, as in, the flush command works great and the dynamic_preferences_users_userpreferencemodel is nowhere to be found when the users app isn't listed.
As expected, it neither helps nor harms my existing installation. I agree with the approach you've taken and described in the changelog, that is, the manual workaround of dropping the dynamic_preferences_users_userpreferencemodel table from the database if you're not using the users app.
So it looks good to me with respect to #140. 😃 I tried it both with the example project, and my actual project.
Thanks again!

release 1.6 pushed on pypi :)


Factory::create_texture_immutable_u8() does not check length of input

Short info header:

GFX version: 0.17.1
OS: Linux
GPU: Any

Factory::create_texture_immutable_u8() actually segfaulted when I tried to pass it an input slice of a size different than what was described in the Kind.
This is pre-LL, so idk if we reeeeeeally care, but here it is.

I think this can be closed since it's pre-ll


update volume docs(Ja)

fixes #21307

I signed it

I signed it

I signed it

I signed it

I signed it

I signed it

I signed it

I signed it

@ytakaya please sign the CLA :)

I signed it

@ytakaya maybe your linux foundation account and github account do not match? 👀

/check-cla

@inductor I signed up for linux foundation with this github account...

@ytakaya what about email?

@ytakaya Note that you need to sign 2 types of CLA. Have you done them?

I signed it

@inductor @oke-py
Oh, I see.
I had only done individual signup, and now I have done Corporation signup.

/check-cla

@ytakaya Uh, probably only individual signup is enough.
Have you received a completion e-mail from Linux Foundation?
The 2nd CLA is CNCF's CLA.
Have you signed a form like this?
https://github.com/cncf/cla/blob/master/corporate-cla.pdf

@oke-py Yes, I signed it and received a e-mail with "You just signed CNCF Corporate Contributor License Agreement" in the subject line.

Corporate?
The account who signed CLA matches the account related to the commit?

@oke-py Yes, I signed by this account.
The two types of CLA mean the following??

Individual signup to sign up as an individual or as an employee of a signed organization.
Corporation signup to sign as a corporation representative and manage signups from your organization.

from this page.
https://git.k8s.io/community/CLA.md#the-contributor-license-agreement

@ytakaya 2 types means Linux Foundation CLA and CNCF CLA.
Actually, long time passed since I signed CLA, and I can't remember exactly.

/check-cla

@oke-py Maybe it's done now. Could you please confirm?

Good! I'll start review.
Now I found CNCF CLA's URL includes corporate. 2 types might mean individual and corporate. Umm

@inductor @oke-py Thank you so much for your help!!

Files Changedに出てこない箇所にも1つ"ポッド"がありますね。そちらも"Pod"に修正お願いいたします。

@oke-py 修正しました．確認よろしくお願いいたします．

@ytakaya Thank you for your contribution!


Issue: Bas64 Encoder/Decoder is not working for .zip files.

Description
Please look Bas64 Encoder/Decoder is not working for .zip files.
Steps To Reproduce
Choose .zip file
Expected behavior
should be convert like https://base64.guru/converter/encode/file
DevToys Version
Version <IP_ADDRESS> | X64 | RELEASE | c032ebb | c032ebb
Relevant Assets/Logs
It's showing this message.

Hello,
Thanks for your feedback. As of today, this is by design. It can only encode / decode text. Only text documents can be opened in this tool.
I admit the UX isn't clear. I will try to improve that :)


Fix: Cluster get wrong extension name

What is the purpose of the change
After the pr of distinguish usage of getUrl and getConsumerUrl (#5686), the adaptive extension of Cluster still use getUrl to get consumer's url which will cause properties of Reference lose when refer cluster. (#5966)
Brief changelog
Add custom AdaptiveCluster of Cluster which will use getConsumerUrl prefer when
get consumer's url.

This issue has been fixed with #6343


Add Event to Pallet Transaction Payment

Fixes #11595 .
And fix tests in Pallet Balance/Executive/Asset-tx-payment .
polkadot companion: https://github.com/paritytech/polkadot/pull/5677
cumulus companion: https://github.com/paritytech/cumulus/pull/1367
polkadot address: 15wPGN5vysDW1HYWfZRjQQhv2ktpfLMMuiJNMRKcodwPfM14

Should need a companion to add the event to the Polkadot runtimes?

@shawntabrizi  Ok, I will try to make a polkadot and cumulus companion.

bot merge

@shawntabrizi  OK, thanks for your help. I have added my polkadot address .

/tip small

/tip small


Increase space between two levels

hi,
How can we increase vertical space between two levels
PFA for better illustration.
https://user-images.githubusercontent.com/77266357/115686655-0c6f7980-a377-11eb-8c3b-d39d06e59bd6.png
Thanks

This is the relevant line I believe
https://github.com/bumbeishvili/d3-organization-chart/blob/master/index.js#L148

Thanks @bumbeishvili